@ckeditor/ckeditor5-footnotes 47.6.0-alpha.0 → 47.6.0-alpha.1
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 _0x3fbfc0}from'ckeditor5/src/core.js';import{isWidget as _0x2b3bd5,toWidget as _0x3dda52,toWidgetEditable as _0x2c036f}from'ckeditor5/src/widget.js';import{uid as _0xf6c479}from'ckeditor5/src/utils.js';import{PointerObserver as _0x207a7c,ClickObserver as _0x170f8a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x153a50}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x251a1a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3fbfc0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x153a50];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x32ad0d}=this;_0x32ad0d['config']['define']('footnotes.multiBlock',!0x0),_0x32ad0d['commands']['add']('insertFootnote',new _0x251a1a(_0x32ad0d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x16ddf1){const _0x438499=_0x2125df([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]),_0x2f5ac9=0x47a28506,_0x2e3d73=0x47a507be^_0x2f5ac9,_0x17e80a=window[_0x2125df([0x44,0x61,0x74,0x65])][_0x2125df([0x6e,0x6f,0x77])](),_0x48d746=_0x16ddf1[_0x2125df([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x44a646=new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4efb60=>{_0x48d746[_0x2125df([0x6f,0x6e,0x63,0x65])](_0x2125df([0x72,0x65,0x61,0x64,0x79]),_0x4efb60);}),_0x1dc980={[_0x2125df([0x6b,0x74,0x79])]:_0x2125df([0x45,0x43]),[_0x2125df([0x75,0x73,0x65])]:_0x2125df([0x73,0x69,0x67]),[_0x2125df([0x63,0x72,0x76])]:_0x2125df([0x50,0x2d,0x32,0x35,0x36]),[_0x2125df([0x78])]:_0x2125df([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]),[_0x2125df([0x79])]:_0x2125df([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]),[_0x2125df([0x61,0x6c,0x67])]:_0x2125df([0x45,0x53,0x32,0x35,0x36])},_0x2ecbe9=_0x48d746[_0x2125df([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2125df([0x67,0x65,0x74])](_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1d752c(){let _0x2da452,_0x32a6e=null,_0x2525e7=null;try{if(_0x2ecbe9==_0x2125df([0x47,0x50,0x4c]))return _0x2125df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2da452=_0x36a54a(),!_0x2da452)return _0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2da452[_0x2125df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2525e7=_0x515088(_0x2da452[_0x2125df([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2da452[_0x2125df([0x6a,0x74,0x69])])),await _0x26a5e1()?_0x26d5be()?_0x2404ed()?_0x2125df([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4cbdec()?(_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2125df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x32a6e=_0x5c91c9(_0x2125df([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12e4c1()):_0x2125df([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2125df([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2125df([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2404ed(){const _0x4d9402=[_0x2125df([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2125df([0x74,0x72,0x69,0x61,0x6c])][_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x17e80a/0x3e8:0xe10*_0x2e3d73;return _0x2da452[_0x2125df([0x65,0x78,0x70])]<_0x4d9402;}function _0x26d5be(){const _0x2c0941=_0x2da452[_0x2125df([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c0941&&(!!_0x2c0941[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x2a]))||!!_0x2c0941[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x46,0x4f,0x4f])));}function _0x4cbdec(){const _0x339202=_0x2da452[_0x2125df([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x339202||0x0==_0x339202[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x289e05}=new URL(window[_0x2125df([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x339202[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x289e05))return!0x0;const _0x459965=_0x289e05[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e]));return _0x339202[_0x2125df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4a1851=>_0x4a1851[_0x2125df([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2125df([0x2a])))[_0x2125df([0x6d,0x61,0x70])](_0x22f1a7=>_0x22f1a7[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e])))[_0x2125df([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x362149=>_0x362149[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x459965[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2125df([0x6d,0x61,0x70])](_0x34c1b4=>Array(_0x459965[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x34c1b4[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2125df([0x66,0x69,0x6c,0x6c])](_0x34c1b4[0x0]===_0x2125df([0x2a])?_0x2125df([0x2a]):'')[_0x2125df([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x34c1b4))[_0x2125df([0x73,0x6f,0x6d,0x65])](_0x13db57=>_0x459965[_0x2125df([0x65,0x76,0x65,0x72,0x79])]((_0x48f365,_0x1d5ddc)=>_0x13db57[_0x1d5ddc]===_0x48f365||_0x13db57[_0x1d5ddc]===_0x2125df([0x2a])));}function _0x12e4c1(){return _0x32a6e&&_0x2525e7?new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x542f53,_0x27b089)=>{_0x32a6e[_0x2125df([0x74,0x68,0x65,0x6e])](_0x542f53,_0x27b089),_0x2525e7[_0x2125df([0x74,0x68,0x65,0x6e])](_0x363b5b=>{_0x363b5b!=_0x2125df([0x56,0x61,0x6c,0x69,0x64])&&_0x542f53(_0x363b5b);},_0x27b089);}):_0x32a6e||_0x2525e7||_0x2125df([0x56,0x61,0x6c,0x69,0x64]);}}function _0x515088(_0x1a78eb,_0x1a1372){return new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b3acc=>{if(_0x4dc665())return _0x1b3acc(_0x2125df([0x56,0x61,0x6c,0x69,0x64]));_0x57a70b(),_0x48d746[_0x2125df([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e6a42=!0x1;const _0x2db9a9=_0xf6c479();function _0x40362e(_0x1471b8){return!!_0x1471b8&&(typeof _0x1471b8===_0x2125df([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1471b8===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1471b8[_0x2125df([0x74,0x68,0x65,0x6e])]===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1471b8[_0x2125df([0x63,0x61,0x74,0x63,0x68])]===_0x2125df([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f8a54(_0x3ff668){_0x4713d8(_0x3ff668)[_0x2125df([0x74,0x68,0x65,0x6e])](_0x4bbae5=>{if(!_0x4bbae5||_0x4bbae5[_0x2125df([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2125df([0x6f,0x6b]))return _0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3b32c9(_0x57843d(_0x2db9a9+_0x1a1372))!=_0x4bbae5[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2125df([0x56,0x61,0x6c,0x69,0x64]);})[_0x2125df([0x74,0x68,0x65,0x6e])](_0x522ef7=>(_0x2d21f3(),_0x522ef7),()=>{const _0x361da8=_0x307b7e();return null==_0x361da8?(_0x2d21f3(),_0x2125df([0x56,0x61,0x6c,0x69,0x64])):_0x2125df(_0x17e80a-_0x361da8>(0x63ae0106^_0x2f5ac9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2125df([0x74,0x68,0x65,0x6e])](_0x1b3acc)[_0x2125df([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2b7a9f=0x47946b86^_0x2f5ac9;function _0x2d21f3(){const _0x189c9d=_0x2125df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b32c9(_0x57843d(_0x1a78eb)),_0x4c9e98=_0xbf35f2(_0x3b32c9(window[_0x2125df([0x4d,0x61,0x74,0x68])][_0x2125df([0x63,0x65,0x69,0x6c])](_0x17e80a/_0x2b7a9f)));window[_0x2125df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2125df([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x189c9d,_0x4c9e98);}function _0x307b7e(){const _0x2dc42a=_0x2125df([0x6c,0x6c,0x63,0x74,0x2d])+_0x3b32c9(_0x57843d(_0x1a78eb)),_0x842668=window[_0x2125df([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2125df([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dc42a);return _0x842668?window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xbf35f2(_0x842668),0x10)*_0x2b7a9f:null;}function _0x4713d8(_0x5ed671){return new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x337a4f,_0x384de4)=>{_0x5ed671[_0x2125df([0x74,0x68,0x65,0x6e])](_0x337a4f,_0x384de4),window[_0x2125df([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x384de4,0x47a351c6^_0x2f5ac9);});}}_0x48d746[_0x2125df([0x6f,0x6e])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x51d858,_0x38b950)=>{if(_0x38b950[0x0]!=_0x1a78eb)return _0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x38b950[0x1]={..._0x38b950[0x1],[_0x2125df([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2db9a9};},{[_0x2125df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2125df([0x68,0x69,0x67,0x68])}),_0x48d746[_0x2125df([0x6f,0x6e])](_0x2125df([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3d846a=>{_0x40362e(_0x3d846a[_0x2125df([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e6a42=!0x0,_0x3f8a54(_0x3d846a[_0x2125df([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2125df([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2125df([0x6c,0x6f,0x77])}),_0x44a646[_0x2125df([0x74,0x68,0x65,0x6e])](()=>{_0x4e6a42||_0x1b3acc(_0x2125df([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4dc665(){return _0x48d746[_0x2125df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2125df([0x76,0x69,0x65,0x77])][_0x2125df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2125df([0x61,0x75,0x74,0x6f]);}function _0x57a70b(){_0x48d746[_0x2125df([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2125df([0x76,0x69,0x65,0x77])][_0x2125df([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2125df([0x61,0x75,0x74,0x6f]);}}function _0x5c91c9(_0xf0333f){const _0x40974f=[new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf1a760=>setTimeout(_0xf1a760,0x47abbbca^_0x2f5ac9)),_0x44a646[_0x2125df([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x39c484=>{let _0x54921f=0x0;_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x6f,0x6e])](_0x2125df([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x98fe7e,_0x28098e)=>{_0x28098e[0x0][_0x2125df([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x54921f++,_0x54921f==(0x47a280ee^_0x2f5ac9)&&(_0x39c484(),_0x98fe7e[_0x2125df([0x6f,0x66,0x66])]());});}))];return window[_0x2125df([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2125df([0x72,0x61,0x63,0x65])](_0x40974f)[_0x2125df([0x74,0x68,0x65,0x6e])](()=>_0xf0333f);}async function _0x5c89ec(){await _0x44a646,_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x440a20,_0x48d746[_0x2125df([0x6d,0x6f,0x64,0x65,0x6c])][_0x2125df([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x440a20,_0x48d746[_0x2125df([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2125df([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5b3fab(_0x25c54a){const _0x591874=_0x36f257();_0x48d746[_0x591874]=_0x2125df([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x25c54a,_0x25c54a!=_0x2125df([0x56,0x61,0x6c,0x69,0x64])&&_0x5c89ec();}function _0x36f257(){const _0x494d10=window[_0x2125df([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2125df([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2125df([0x6e,0x6f,0x77])]())[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2125df([0x2e]),'');let _0x42053a=_0x2125df([0x75]);for(let _0xb736d2=0x0;_0xb736d2<_0x494d10[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xb736d2+=0x2){let _0x8f1c26=window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x494d10[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xb736d2,_0xb736d2+0x2));_0x8f1c26>=_0x438499[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8f1c26-=_0x438499[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x42053a+=_0x438499[_0x8f1c26];}return _0x42053a;}function _0x36a54a(){const _0x593291=_0x2ecbe9[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e]));if(0x3!=_0x593291[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x768ca7(_0x593291[0x1]);function _0x768ca7(_0x59ec4a){const _0x16e0ac=_0x43089f(_0x59ec4a);return _0x16e0ac&&_0x5425a5()?_0x16e0ac:null;function _0x5425a5(){const _0x555221=_0x16e0ac[_0x2125df([0x6a,0x74,0x69])],_0x55ca64=window[_0x2125df([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x555221[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x555221[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x266fce={..._0x16e0ac,[_0x2125df([0x6a,0x74,0x69])]:_0x555221[_0x2125df([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x555221[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x266fce[_0x2125df([0x76,0x63])],_0x57843d(_0x266fce)==_0x55ca64;}}}async function _0x26a5e1(){let _0x2ade9d=!0x0;try{const _0x2b0a8d=_0x2ecbe9[_0x2125df([0x73,0x70,0x6c,0x69,0x74])](_0x2125df([0x2e])),[_0x162a4f,_0x52de95,_0x4f3873]=_0x2b0a8d;return _0x12cca6(_0x162a4f),await _0x2b25a4(_0x162a4f,_0x52de95,_0x4f3873),_0x2ade9d;}catch{return!0x1;}function _0x12cca6(_0xa3ffb8){const _0x2ac7d6=_0x43089f(_0xa3ffb8);_0x2ac7d6&&_0x2ac7d6[_0x2125df([0x61,0x6c,0x67])]==_0x2125df([0x45,0x53,0x32,0x35,0x36])||(_0x2ade9d=!0x1);}async function _0x2b25a4(_0x5cfea3,_0x123b0a,_0x28bcbb){const _0x22e96a=window[_0x2125df([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2125df([0x66,0x72,0x6f,0x6d])](_0x3575a9(_0x28bcbb),_0x1789de=>_0x1789de[_0x2125df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3dac3a=new window[(_0x2125df([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2125df([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5cfea3+_0x2125df([0x2e])+_0x123b0a),_0x5cd3f5=window[_0x2125df([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2125df([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5cd3f5)return;const _0x288118=await _0x5cd3f5[_0x2125df([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2125df([0x6a,0x77,0x6b]),_0x1dc980,{[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x45,0x43,0x44,0x53,0x41]),[_0x2125df([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2125df([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5cd3f5[_0x2125df([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x45,0x43,0x44,0x53,0x41]),[_0x2125df([0x68,0x61,0x73,0x68])]:{[_0x2125df([0x6e,0x61,0x6d,0x65])]:_0x2125df([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x288118,_0x22e96a,_0x3dac3a)||(_0x2ade9d=!0x1);}}function _0x43089f(_0x19c3ec){return _0x19c3ec[_0x2125df([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2125df([0x65,0x79]))?JSON[_0x2125df([0x70,0x61,0x72,0x73,0x65])](_0x3575a9(_0x19c3ec)):null;}function _0x3575a9(_0x4fcc48){return window[_0x2125df([0x61,0x74,0x6f,0x62])](_0x4fcc48[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2125df([0x2b]))[_0x2125df([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2125df([0x2f])));}function _0x57843d(_0x25fdb8){let _0x538bad=0x1505;function _0x13399e(_0x256729){for(let _0x395fdf=0x0;_0x395fdf<_0x256729[_0x2125df([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x395fdf++){const _0x486d99=_0x256729[_0x2125df([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x395fdf);_0x538bad=(_0x538bad<<0x5)+_0x538bad+_0x486d99,_0x538bad&=_0x538bad;}}function _0x262757(_0x256c3a){Array[_0x2125df([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x256c3a)?_0x256c3a[_0x2125df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x262757):_0x256c3a&&typeof _0x256c3a==_0x2125df([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2125df([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x256c3a)[_0x2125df([0x73,0x6f,0x72,0x74])]()[_0x2125df([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x44668b,_0x1a4bc5])=>{_0x13399e(_0x44668b),_0x262757(_0x1a4bc5);}):_0x13399e(window[_0x2125df([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x256c3a));}return _0x262757(_0x25fdb8),_0x538bad>>>0x0;}function _0x3b32c9(_0x4a271f){return _0x4a271f[_0x2125df([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2125df([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2125df([0x30]));}function _0xbf35f2(_0x57b15a){return _0x57b15a[_0x2125df([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2125df([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2125df([0x6a,0x6f,0x69,0x6e])]('');}function _0x440a20(){}function _0x2125df(_0x33ee47){return _0x33ee47['map'](_0x41d964=>String['fromCharCode'](_0x41d964))['join']('');}_0x5b3fab(await _0x1d752c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1067df){const {plugins:_0xa9c384,editing:_0x40dc7e,model:_0x1c92cd}=this['editor'],_0xd85b1=_0xa9c384['get'](_0x153a50)['getFootnote'](_0x1067df);return!!_0xd85b1&&(_0x1c92cd['change'](_0x214ad9=>{_0x214ad9['setSelection'](_0x214ad9['createPositionAt'](_0xd85b1['definition'],'end'));}),_0x40dc7e['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5517ee){const {plugins:_0x30b92e,editing:_0x84a551,model:_0xca0940}=this['editor'],_0x5fc136=_0x30b92e['get'](_0x153a50)['getFootnote'](_0x5517ee);return!!_0x5fc136&&(_0xca0940['change'](_0x4334e6=>{_0x4334e6['setSelection'](_0x5fc136['reference'],'on');}),_0x84a551['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x38bfa8}=this['editor']['model'],_0x56998e=this['editor']['config']['get']('footnotes.multiBlock');_0x38bfa8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x38bfa8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x38bfa8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x56998e?_0x38bfa8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x38bfa8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x38bfa8['addChildCheck'](_0x577625=>{for(const _0x18995c of _0x577625)if('footnoteDefinition'===_0x18995c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ccd3c}=this,{conversion:_0x32f18b,editing:_0x10093c}=_0x4ccd3c,{t:t}=_0x4ccd3c['locale'];_0x32f18b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x392ffd,{writer:_0x45e846,consumable:_0x185ac4})=>{const _0x57f929=_0x392ffd['getChild'](0x0);if(!_0x57f929||!_0x57f929['is']('element','a'))return null;const _0x12d7b1=_0x57f929['getAttribute']('href')||'';if(!_0x12d7b1['startsWith']('#'))return null;const _0x260a74=_0x12d7b1['replace'](/^#/,'');if(!_0x260a74)return null;_0x185ac4['consume'](_0x57f929,{'name':!0x0,'attributes':['href']});for(const {item:_0x191c3a}of _0x10093c['view']['createRangeIn'](_0x57f929))_0x191c3a['is']('$textProxy')?_0x185ac4['consume'](_0x191c3a['textNode'],{'name':!0x0}):_0x191c3a['is']('element')&&_0x185ac4['consume'](_0x191c3a,{'name':!0x0});return _0x45e846['createElement']('footnoteRef',{'footnoteId':_0x260a74});}}),_0x32f18b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5231f1,{writer:_0x296830})=>b(_0x5231f1,_0x296830)}),_0x32f18b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c6b2f,{writer:_0x1bd661})=>{const _0x4845b1=_0x5c6b2f['getAttribute']('footnoteCounter');return _0x3dda52(b(_0x5c6b2f,_0x1bd661),_0x1bd661,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4845b1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x594fbd}=this,{t:t}=_0x594fbd['locale'],{conversion:_0x376f2e}=_0x594fbd;_0x376f2e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x376f2e['for']('upcast')['add'](_0x182442=>{_0x182442['on']('element:ol',(_0x13afa3,_0x4175a5,_0xa8ec79)=>{const _0x5721d0=_0x4175a5['viewItem'];if(!_0x5721d0['hasClass']('footnotes-list')||!_0x4175a5['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0xa8ec79['consumable']['consume'](_0x5721d0,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3792c3,modelCursor:_0x205e43}=_0xa8ec79['convertChildren'](_0x4175a5['viewItem'],_0x4175a5['modelCursor']);_0x4175a5['modelRange']=_0x3792c3,_0x4175a5['modelCursor']=_0x205e43;}),_0x182442['on']('element:hr',(_0x544864,_0x53f1c8,_0x5cdf38)=>{const _0x4c3a4b=_0x53f1c8['viewItem'];_0x4c3a4b['hasClass']('footnotes-divider')&&_0x53f1c8['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5cdf38['consumable']['consume'](_0x4c3a4b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x376f2e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2ef9ad,{writer:_0x3e5db2})=>D(_0x3e5db2)}),_0x376f2e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24d0d5,{writer:_0x2a7308})=>{const _0x572b66=D(_0x2a7308,{'data-footnotes-list-label':t('Footnotes')}),_0x504660=_0x3dda52(_0x572b66,_0x2a7308,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2a7308['setCustomProperty']('footnotesDefinitions',!0x0,_0x504660),_0x504660;}});}['_defineDefinitionConverters'](){const {editor:_0x19a531}=this,{conversion:_0x5d2584,locale:_0x53e293}=_0x19a531,_0x490d2d=_0x19a531['config']['get']('footnotes.multiBlock');_0x5d2584['for']('upcast')['add'](_0x2aaa96=>{_0x2aaa96['on']('element:li',(_0x455e2d,_0x9664db,_0x84a4d)=>{const _0x162c88=_0x9664db['viewItem'];if(!_0x162c88['hasClass']('footnote-definition')||!_0x162c88['getAttribute']('id'))return;const _0x49be9a=_0x162c88['parent'];if(!_0x49be9a['is']('element','ol')||!_0x49be9a['hasClass']('footnotes-list'))return;if(!_0x84a4d['consumable']['test'](_0x162c88,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0xb7060a=_0x84a4d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x162c88['getAttribute']('id')});if(!_0x84a4d['safeInsert'](_0xb7060a,_0x9664db['modelCursor']))return;_0x84a4d['consumable']['consume'](_0x162c88,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x52755f=Array['from'](_0x162c88['getChildren']())['find'](_0x416475=>_0x416475['is']('element')&&_0x416475['hasClass']('footnote-content'));for(const _0x5ad34b of _0x162c88['getChildren']())_0x5ad34b['is']('element')&&(_0x84a4d['consumable']['consume'](_0x5ad34b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x84a4d['consumable']['consume'](_0x5ad34b,{'name':!0x0,'classes':'footnote-content'}));if(_0x52755f){if(_0x490d2d)_0x84a4d['convertChildren'](_0x52755f,_0xb7060a);else{const _0x101432=_0x84a4d['writer']['createElement']('footnoteInlineContent');_0x84a4d['writer']['insert'](_0x101432,_0xb7060a),_0x84a4d['convertChildren'](_0x52755f,_0x101432);}}_0x84a4d['updateConversionResult'](_0xb7060a,_0x9664db);});}),_0x5d2584['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3f41dd,{writer:_0x200866})=>y(_0x3f41dd,_0x200866,_0x53e293,{'dataPipeline':!0x0})}),_0x5d2584['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3c1422,{writer:_0x1393b0})=>y(_0x3c1422,_0x1393b0,_0x53e293)});}['_defineBogusParagraphConverters'](){const {editor:_0x3c286a}=this,{conversion:_0x3e9725}=_0x3c286a;_0x3c286a['config']['get']('footnotes.multiBlock')?(_0x3e9725['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x3e9725['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3c286a['model']['document'],'change:data',()=>{!function(_0x3e7637,_0x1801c8){const _0xa0701=_0x3e7637['document']['differ'],_0x37bb25=new Set();for(const _0x4ad33c of _0xa0701['getChanges']()){const _0x1d56e5='attribute'==_0x4ad33c['type']?_0x4ad33c['range']['start']['parent']:_0x4ad33c['position']['parent'];_0x1d56e5['is']('element','footnoteDefinition')&&_0x37bb25['add'](_0x1d56e5);}for(const _0x59853e of _0x37bb25['values']()){const _0x46469c=Array['from'](_0x59853e['getChildren']())['filter'](_0x115507=>v(_0x115507,_0x1801c8['mapper']));for(const _0x3f6799 of _0x46469c)_0x1801c8['reconvertItem'](_0x3f6799);}}(_0x3c286a['model'],_0x3c286a['editing']);})):(_0x3e9725['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x3e9725['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x46a718,{writer:_0x3bb676})=>{const _0x1c6f90=_0x3bb676['createContainerElement']('span');return _0x3bb676['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1c6f90),_0x1c6f90;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ee8a6}=this,{editing:_0x52f302,t:t}=_0x2ee8a6,_0x2eb4f4=_0x2ee8a6['model']['document']['selection'];_0x2ee8a6['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ee8a6['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x52f302['view']['document'],'enter',(_0x551f69,_0xacc9ad)=>{const _0x3186ba=function(_0x1a3d26){const _0x2ecb29=_0x1a3d26['getSelectedElement']();if(_0x2ecb29?.['is']('element','footnoteRef'))return _0x2ecb29;return null;}(_0x2eb4f4);if(_0x3186ba){const _0x2e2c67=_0x3186ba['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2e2c67),_0xacc9ad['preventDefault'](),_0x551f69['stop']();}},{'context':_0x2b3bd5});}['_defineClickHandlers'](){const {editor:_0x5bc6a3}=this,{editing:_0x5ea3e0}=_0x5bc6a3;_0x5bc6a3['editing']['view']['addObserver'](_0x207a7c),_0x5bc6a3['editing']['view']['addObserver'](_0x170f8a);let _0x1291d4=!0x1;this['listenTo'](_0x5ea3e0['view']['document'],'pointerdown',(_0xaf001f,_0x1bcec1)=>{const {target:_0x2512a9}=_0x1bcec1,_0x520eac=_0x5ea3e0['view']['document']['selection'];_0x1291d4=!!(_0x2512a9?.['is']('element','a')&&_0x2512a9['parent']?.['is']('element','sup')&&_0x2512a9['parent']['hasClass']('footnote'))&&_0x520eac['getSelectedElement']()===_0x2512a9['parent'];},{'priority':'high'}),this['listenTo'](_0x5ea3e0['view']['document'],'click',(_0x149ca6,_0x512228)=>{const {target:_0x4fd947}=_0x512228;if(!_0x4fd947?.['is']('element','a'))return;if(_0x4fd947['parent']?.['is']('element','sup')&&_0x4fd947['parent']['hasClass']('footnote')&&!_0x1291d4)return void _0x512228['preventDefault']();let _0x26eb2f=_0x4fd947['getAttribute']('href');if(!_0x26eb2f?.['startsWith']('#'))return;_0x26eb2f=_0x26eb2f['slice'](0x1);let _0x25528a=!0x1;(_0x26eb2f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x26eb2f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x26eb2f))&&(_0x25528a=!0x0),_0x25528a&&(_0x512228['preventDefault'](),_0x149ca6['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x298a4b}={}){return(_0x43575e,{writer:_0x39d2bc})=>{if(!g(_0x43575e))return null;if(!_0x298a4b)return _0x39d2bc['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1bf452=_0x39d2bc['createContainerElement']('p');return _0x39d2bc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1bf452),_0x1bf452;};}function g(_0x4283eb){const {parent:_0x3aca5d}=_0x4283eb;if(!_0x3aca5d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3aca5d['childCount'])return!0x1;for(const _0x591444 of _0x4283eb['getAttributeKeys']())if(!_0x591444['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x591444)return!0x1;return!0x0;}function v(_0x29a349,_0x42a26a){if(!_0x29a349['is']('element','paragraph'))return!0x1;const _0x2ee994=_0x42a26a['toViewElement'](_0x29a349);return!!_0x2ee994&&g(_0x29a349)!==_0x2ee994['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1d8c26){return _0x2b3bd5(_0x1d8c26)&&_0x1d8c26['is']('containerElement')&&!!_0x1d8c26['getCustomProperty']('footnotesDefinitions');}function D(_0x58fb91,_0x690c6b={}){const _0x3d1aaf=_0x58fb91['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x120b17=_0x58fb91['createContainerElement']('ol',{'class':'footnotes-list'},_0x58fb91['createSlot']());return _0x58fb91['createContainerElement']('div',{'class':'footnotes',..._0x690c6b},[_0x3d1aaf,_0x120b17]);}function b(_0x1c700a,_0x3cc76f){const _0x18730d=_0x1c700a['getAttribute']('footnoteId'),_0x5d6f07=_0x1c700a['getAttribute']('footnoteCounter'),_0x274cc5=_0x3cc76f['createUIElement']('a',{'href':'#'+_0x18730d},function(_0x299203){const _0x17a448=this['toDomElement'](_0x299203);return _0x17a448['textContent']=_0x5d6f07,_0x17a448;}),_0x25c640=_0x3cc76f['createContainerElement']('sup',{'id':'ref-'+_0x18730d,'class':'footnote'},[_0x274cc5]);return _0x25c640['getFillerOffset']=()=>null,_0x25c640;}function y(_0x4a116c,_0x195e2f,_0x202b5b,{dataPipeline:_0x54b83f}={}){const {t:t}=_0x202b5b,_0x4a7bcd=_0x4a116c['getAttribute']('footnoteId'),_0x34fffe=_0x195e2f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4a7bcd},function(_0x422fdd){const _0x45d48e=this['toDomElement'](_0x422fdd);return _0x45d48e['innerText']='^',_0x45d48e;}),_0x44bdb3=_0x54b83f?_0x195e2f['createContainerElement']('div',{'class':'footnote-content'}):_0x2c036f(_0x195e2f['createEditableElement']('div',{'class':'footnote-content'}),_0x195e2f,{'label':t('Footnote\x20content.')});return _0x195e2f['insert'](_0x195e2f['createPositionAt'](_0x44bdb3,0x0),_0x195e2f['createSlot']()),_0x195e2f['createContainerElement']('li',{'class':'footnote-definition','id':_0x4a7bcd},[_0x34fffe,_0x44bdb3]);}
|
|
23
|
+
import{Plugin as _0x47565d}from'ckeditor5/src/core.js';import{isWidget as _0x410f66,toWidget as _0x204337,toWidgetEditable as _0x134163}from'ckeditor5/src/widget.js';import{uid as _0x5df650}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5d00db,ClickObserver as _0x1d0585}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x57994d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xb080f1}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x47565d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x57994d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2ce4d1}=this;_0x2ce4d1['config']['define']('footnotes.multiBlock',!0x0),_0x2ce4d1['commands']['add']('insertFootnote',new _0xb080f1(_0x2ce4d1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x13ce60){const _0x803675=_0x195a72([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]),_0x12fcf5=0x47a28506,_0x4d17ab=0x47a507d6^_0x12fcf5,_0x4b71aa=window[_0x195a72([0x44,0x61,0x74,0x65])][_0x195a72([0x6e,0x6f,0x77])](),_0x5ac854=_0x13ce60[_0x195a72([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c6c03=new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38782e=>{_0x5ac854[_0x195a72([0x6f,0x6e,0x63,0x65])](_0x195a72([0x72,0x65,0x61,0x64,0x79]),_0x38782e);}),_0xe4fb23={[_0x195a72([0x6b,0x74,0x79])]:_0x195a72([0x45,0x43]),[_0x195a72([0x75,0x73,0x65])]:_0x195a72([0x73,0x69,0x67]),[_0x195a72([0x63,0x72,0x76])]:_0x195a72([0x50,0x2d,0x32,0x35,0x36]),[_0x195a72([0x78])]:_0x195a72([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]),[_0x195a72([0x79])]:_0x195a72([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]),[_0x195a72([0x61,0x6c,0x67])]:_0x195a72([0x45,0x53,0x32,0x35,0x36])},_0x1c5ea7=_0x5ac854[_0x195a72([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x195a72([0x67,0x65,0x74])](_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4d29f5(){let _0x51c9f5,_0x35cbdb=null,_0x8e923c=null;try{if(_0x1c5ea7==_0x195a72([0x47,0x50,0x4c]))return _0x195a72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x51c9f5=_0x29d1cb(),!_0x51c9f5)return _0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x51c9f5[_0x195a72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x8e923c=_0x3a81be(_0x51c9f5[_0x195a72([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x51c9f5[_0x195a72([0x6a,0x74,0x69])])),await _0x233618()?_0x2fef2f()?_0x3f48eb()?_0x195a72([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x40bd01()?(_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x195a72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x35cbdb=_0x350fe1(_0x195a72([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x41219b()):_0x195a72([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x195a72([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x195a72([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3f48eb(){const _0x417426=[_0x195a72([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x195a72([0x74,0x72,0x69,0x61,0x6c])][_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4b71aa/0x3e8:0xe10*_0x4d17ab;return _0x51c9f5[_0x195a72([0x65,0x78,0x70])]<_0x417426;}function _0x2fef2f(){const _0x42fc3a=_0x51c9f5[_0x195a72([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x42fc3a&&(!!_0x42fc3a[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x2a]))||!!_0x42fc3a[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x46,0x4f,0x4f])));}function _0x40bd01(){const _0x116240=_0x51c9f5[_0x195a72([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x116240||0x0==_0x116240[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x22cf5b}=new URL(window[_0x195a72([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x116240[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x22cf5b))return!0x0;const _0x5470a9=_0x22cf5b[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e]));return _0x116240[_0x195a72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3719ad=>_0x3719ad[_0x195a72([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x195a72([0x2a])))[_0x195a72([0x6d,0x61,0x70])](_0x270e94=>_0x270e94[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e])))[_0x195a72([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3234b8=>_0x3234b8[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5470a9[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x195a72([0x6d,0x61,0x70])](_0x30be76=>Array(_0x5470a9[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x30be76[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x195a72([0x66,0x69,0x6c,0x6c])](_0x30be76[0x0]===_0x195a72([0x2a])?_0x195a72([0x2a]):'')[_0x195a72([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x30be76))[_0x195a72([0x73,0x6f,0x6d,0x65])](_0x31abbc=>_0x5470a9[_0x195a72([0x65,0x76,0x65,0x72,0x79])]((_0x4923bc,_0x52d77f)=>_0x31abbc[_0x52d77f]===_0x4923bc||_0x31abbc[_0x52d77f]===_0x195a72([0x2a])));}function _0x41219b(){return _0x35cbdb&&_0x8e923c?new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5cf0bc,_0x1b374d)=>{_0x35cbdb[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5cf0bc,_0x1b374d),_0x8e923c[_0x195a72([0x74,0x68,0x65,0x6e])](_0x58b321=>{_0x58b321!=_0x195a72([0x56,0x61,0x6c,0x69,0x64])&&_0x5cf0bc(_0x58b321);},_0x1b374d);}):_0x35cbdb||_0x8e923c||_0x195a72([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a81be(_0x1bc7c5,_0xc5cb01){return new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20e1bb=>{if(_0x22ce9f())return _0x20e1bb(_0x195a72([0x56,0x61,0x6c,0x69,0x64]));_0x41057a(),_0x5ac854[_0x195a72([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2dc11e=!0x1;const _0x4cff57=_0x5df650();function _0x5ea899(_0x22fd5d){return!!_0x22fd5d&&(typeof _0x22fd5d===_0x195a72([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22fd5d===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22fd5d[_0x195a72([0x74,0x68,0x65,0x6e])]===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22fd5d[_0x195a72([0x63,0x61,0x74,0x63,0x68])]===_0x195a72([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x38f512(_0x480777){_0x4f7156(_0x480777)[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5ab97d=>{if(!_0x5ab97d||_0x5ab97d[_0x195a72([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x195a72([0x6f,0x6b]))return _0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1de71c(_0x2c12cc(_0x4cff57+_0xc5cb01))!=_0x5ab97d[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x195a72([0x56,0x61,0x6c,0x69,0x64]);})[_0x195a72([0x74,0x68,0x65,0x6e])](_0x5afbdb=>(_0xa34a52(),_0x5afbdb),()=>{const _0x2d896d=_0x2c7323();return null==_0x2d896d?(_0xa34a52(),_0x195a72([0x56,0x61,0x6c,0x69,0x64])):_0x195a72(_0x4b71aa-_0x2d896d>(0x63ae0106^_0x12fcf5)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x195a72([0x74,0x68,0x65,0x6e])](_0x20e1bb)[_0x195a72([0x63,0x61,0x74,0x63,0x68])](()=>{_0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a6671=0x47946b86^_0x12fcf5;function _0xa34a52(){const _0x3cf30b=_0x195a72([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de71c(_0x2c12cc(_0x1bc7c5)),_0x55cdee=_0x3afcfc(_0x1de71c(window[_0x195a72([0x4d,0x61,0x74,0x68])][_0x195a72([0x63,0x65,0x69,0x6c])](_0x4b71aa/_0x4a6671)));window[_0x195a72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x195a72([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3cf30b,_0x55cdee);}function _0x2c7323(){const _0x19c09b=_0x195a72([0x6c,0x6c,0x63,0x74,0x2d])+_0x1de71c(_0x2c12cc(_0x1bc7c5)),_0x4ccb95=window[_0x195a72([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x195a72([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19c09b);return _0x4ccb95?window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3afcfc(_0x4ccb95),0x10)*_0x4a6671:null;}function _0x4f7156(_0x3e3cb6){return new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c3d2c,_0x1c2ac1)=>{_0x3e3cb6[_0x195a72([0x74,0x68,0x65,0x6e])](_0x2c3d2c,_0x1c2ac1),window[_0x195a72([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c2ac1,0x47a351c6^_0x12fcf5);});}}_0x5ac854[_0x195a72([0x6f,0x6e])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3ed135,_0x3a361c)=>{if(_0x3a361c[0x0]!=_0x1bc7c5)return _0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3a361c[0x1]={..._0x3a361c[0x1],[_0x195a72([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4cff57};},{[_0x195a72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x195a72([0x68,0x69,0x67,0x68])}),_0x5ac854[_0x195a72([0x6f,0x6e])](_0x195a72([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x546f66=>{_0x5ea899(_0x546f66[_0x195a72([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2dc11e=!0x0,_0x38f512(_0x546f66[_0x195a72([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x195a72([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x195a72([0x6c,0x6f,0x77])}),_0x5c6c03[_0x195a72([0x74,0x68,0x65,0x6e])](()=>{_0x2dc11e||_0x20e1bb(_0x195a72([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x22ce9f(){return _0x5ac854[_0x195a72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x195a72([0x76,0x69,0x65,0x77])][_0x195a72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x195a72([0x61,0x75,0x74,0x6f]);}function _0x41057a(){_0x5ac854[_0x195a72([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x195a72([0x76,0x69,0x65,0x77])][_0x195a72([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x195a72([0x61,0x75,0x74,0x6f]);}}function _0x350fe1(_0x4a94ce){const _0x18a05b=[new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e9473=>setTimeout(_0x2e9473,0x47abbbca^_0x12fcf5)),_0x5c6c03[_0x195a72([0x74,0x68,0x65,0x6e])](()=>new window[(_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x168432=>{let _0x4c336f=0x0;_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x6f,0x6e])](_0x195a72([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x179912,_0x1e4f4e)=>{_0x1e4f4e[0x0][_0x195a72([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c336f++,_0x4c336f==(0x47a280ee^_0x12fcf5)&&(_0x168432(),_0x179912[_0x195a72([0x6f,0x66,0x66])]());});}))];return window[_0x195a72([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x195a72([0x72,0x61,0x63,0x65])](_0x18a05b)[_0x195a72([0x74,0x68,0x65,0x6e])](()=>_0x4a94ce);}async function _0x1f1e77(){await _0x5c6c03,_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x47fbb7,_0x5ac854[_0x195a72([0x6d,0x6f,0x64,0x65,0x6c])][_0x195a72([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x47fbb7,_0x5ac854[_0x195a72([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x195a72([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41a150(_0x46b5e5){const _0x1baba2=_0x4ff160();_0x5ac854[_0x1baba2]=_0x195a72([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x46b5e5,_0x46b5e5!=_0x195a72([0x56,0x61,0x6c,0x69,0x64])&&_0x1f1e77();}function _0x4ff160(){const _0x30080a=window[_0x195a72([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x195a72([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x195a72([0x6e,0x6f,0x77])]())[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x195a72([0x2e]),'');let _0x591777=_0x195a72([0x75]);for(let _0x5c5061=0x0;_0x5c5061<_0x30080a[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c5061+=0x2){let _0x225c2f=window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30080a[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c5061,_0x5c5061+0x2));_0x225c2f>=_0x803675[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x225c2f-=_0x803675[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x591777+=_0x803675[_0x225c2f];}return _0x591777;}function _0x29d1cb(){const _0x57f2c7=_0x1c5ea7[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e]));if(0x3!=_0x57f2c7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f6bd5(_0x57f2c7[0x1]);function _0x2f6bd5(_0x4c5025){const _0x3384eb=_0x4e4173(_0x4c5025);return _0x3384eb&&_0x1a88b2()?_0x3384eb:null;function _0x1a88b2(){const _0x13a0a7=_0x3384eb[_0x195a72([0x6a,0x74,0x69])],_0x533874=window[_0x195a72([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x13a0a7[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13a0a7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x1d578f={..._0x3384eb,[_0x195a72([0x6a,0x74,0x69])]:_0x13a0a7[_0x195a72([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x13a0a7[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x1d578f[_0x195a72([0x76,0x63])],_0x2c12cc(_0x1d578f)==_0x533874;}}}async function _0x233618(){let _0x163a08=!0x0;try{const _0x2b0bee=_0x1c5ea7[_0x195a72([0x73,0x70,0x6c,0x69,0x74])](_0x195a72([0x2e])),[_0x4d47dd,_0x5401cc,_0x55bf45]=_0x2b0bee;return _0x471c89(_0x4d47dd),await _0x34d878(_0x4d47dd,_0x5401cc,_0x55bf45),_0x163a08;}catch{return!0x1;}function _0x471c89(_0x1a2fbe){const _0xfc4ee9=_0x4e4173(_0x1a2fbe);_0xfc4ee9&&_0xfc4ee9[_0x195a72([0x61,0x6c,0x67])]==_0x195a72([0x45,0x53,0x32,0x35,0x36])||(_0x163a08=!0x1);}async function _0x34d878(_0x1b376b,_0x3a8a83,_0x187cd6){const _0x501c31=window[_0x195a72([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x195a72([0x66,0x72,0x6f,0x6d])](_0x39797a(_0x187cd6),_0x40a653=>_0x40a653[_0x195a72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x294b0b=new window[(_0x195a72([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x195a72([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1b376b+_0x195a72([0x2e])+_0x3a8a83),_0x377923=window[_0x195a72([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x195a72([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x377923)return;const _0x1a4794=await _0x377923[_0x195a72([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x195a72([0x6a,0x77,0x6b]),_0xe4fb23,{[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x45,0x43,0x44,0x53,0x41]),[_0x195a72([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x195a72([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x377923[_0x195a72([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x45,0x43,0x44,0x53,0x41]),[_0x195a72([0x68,0x61,0x73,0x68])]:{[_0x195a72([0x6e,0x61,0x6d,0x65])]:_0x195a72([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1a4794,_0x501c31,_0x294b0b)||(_0x163a08=!0x1);}}function _0x4e4173(_0x5b57b8){return _0x5b57b8[_0x195a72([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x195a72([0x65,0x79]))?JSON[_0x195a72([0x70,0x61,0x72,0x73,0x65])](_0x39797a(_0x5b57b8)):null;}function _0x39797a(_0x495d78){return window[_0x195a72([0x61,0x74,0x6f,0x62])](_0x495d78[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x195a72([0x2b]))[_0x195a72([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x195a72([0x2f])));}function _0x2c12cc(_0xf62dce){let _0x3443b2=0x1505;function _0x46ecbe(_0x40a214){for(let _0x737d50=0x0;_0x737d50<_0x40a214[_0x195a72([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x737d50++){const _0x41dd31=_0x40a214[_0x195a72([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x737d50);_0x3443b2=(_0x3443b2<<0x5)+_0x3443b2+_0x41dd31,_0x3443b2&=_0x3443b2;}}function _0x265701(_0x1d9ac2){Array[_0x195a72([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1d9ac2)?_0x1d9ac2[_0x195a72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x265701):_0x1d9ac2&&typeof _0x1d9ac2==_0x195a72([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x195a72([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1d9ac2)[_0x195a72([0x73,0x6f,0x72,0x74])]()[_0x195a72([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1555e5,_0x331357])=>{_0x46ecbe(_0x1555e5),_0x265701(_0x331357);}):_0x46ecbe(window[_0x195a72([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1d9ac2));}return _0x265701(_0xf62dce),_0x3443b2>>>0x0;}function _0x1de71c(_0x171b3a){return _0x171b3a[_0x195a72([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x195a72([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x195a72([0x30]));}function _0x3afcfc(_0x9bbf4f){return _0x9bbf4f[_0x195a72([0x73,0x70,0x6c,0x69,0x74])]('')[_0x195a72([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x195a72([0x6a,0x6f,0x69,0x6e])]('');}function _0x47fbb7(){}function _0x195a72(_0x42015f){return _0x42015f['map'](_0x591b7a=>String['fromCharCode'](_0x591b7a))['join']('');}_0x41a150(await _0x4d29f5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x6b23f3){const {plugins:_0x1ab6bb,editing:_0x2c1ec,model:_0x13bbe5}=this['editor'],_0x5f3f51=_0x1ab6bb['get'](_0x57994d)['getFootnote'](_0x6b23f3);return!!_0x5f3f51&&(_0x13bbe5['change'](_0x376edd=>{_0x376edd['setSelection'](_0x376edd['createPositionAt'](_0x5f3f51['definition'],'end'));}),_0x2c1ec['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xfe640f){const {plugins:_0x49d920,editing:_0x3d7343,model:_0xaf5e23}=this['editor'],_0x4bdba5=_0x49d920['get'](_0x57994d)['getFootnote'](_0xfe640f);return!!_0x4bdba5&&(_0xaf5e23['change'](_0x5cc251=>{_0x5cc251['setSelection'](_0x4bdba5['reference'],'on');}),_0x3d7343['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ef0d3}=this['editor']['model'],_0x33022e=this['editor']['config']['get']('footnotes.multiBlock');_0x4ef0d3['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ef0d3['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ef0d3['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33022e?_0x4ef0d3['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ef0d3['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ef0d3['addChildCheck'](_0x4dbe57=>{for(const _0x1b42bc of _0x4dbe57)if('footnoteDefinition'===_0x1b42bc['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x273d9c}=this,{conversion:_0x1d906b,editing:_0x6df265}=_0x273d9c,{t:t}=_0x273d9c['locale'];_0x1d906b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x441545,{writer:_0x197748,consumable:_0x4fb994})=>{const _0x3ad60d=_0x441545['getChild'](0x0);if(!_0x3ad60d||!_0x3ad60d['is']('element','a'))return null;const _0x523962=_0x3ad60d['getAttribute']('href')||'';if(!_0x523962['startsWith']('#'))return null;const _0x48096f=_0x523962['replace'](/^#/,'');if(!_0x48096f)return null;_0x4fb994['consume'](_0x3ad60d,{'name':!0x0,'attributes':['href']});for(const {item:_0x5a8a37}of _0x6df265['view']['createRangeIn'](_0x3ad60d))_0x5a8a37['is']('$textProxy')?_0x4fb994['consume'](_0x5a8a37['textNode'],{'name':!0x0}):_0x5a8a37['is']('element')&&_0x4fb994['consume'](_0x5a8a37,{'name':!0x0});return _0x197748['createElement']('footnoteRef',{'footnoteId':_0x48096f});}}),_0x1d906b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x50308c,{writer:_0x38b045})=>b(_0x50308c,_0x38b045)}),_0x1d906b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5c6313,{writer:_0x9c5451})=>{const _0x19d1dd=_0x5c6313['getAttribute']('footnoteCounter');return _0x204337(b(_0x5c6313,_0x9c5451),_0x9c5451,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x19d1dd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1a142f}=this,{t:t}=_0x1a142f['locale'],{conversion:_0x5e98ff}=_0x1a142f;_0x5e98ff['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5e98ff['for']('upcast')['add'](_0x3a1edd=>{_0x3a1edd['on']('element:ol',(_0x162340,_0xfce473,_0x2ae48d)=>{const _0x2a65a7=_0xfce473['viewItem'];if(!_0x2a65a7['hasClass']('footnotes-list')||!_0xfce473['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2ae48d['consumable']['consume'](_0x2a65a7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x48893d,modelCursor:_0x113a15}=_0x2ae48d['convertChildren'](_0xfce473['viewItem'],_0xfce473['modelCursor']);_0xfce473['modelRange']=_0x48893d,_0xfce473['modelCursor']=_0x113a15;}),_0x3a1edd['on']('element:hr',(_0x36da79,_0x2e57a4,_0x4e90fe)=>{const _0x505a4c=_0x2e57a4['viewItem'];_0x505a4c['hasClass']('footnotes-divider')&&_0x2e57a4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4e90fe['consumable']['consume'](_0x505a4c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5e98ff['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x9b747d,{writer:_0x37a1d0})=>D(_0x37a1d0)}),_0x5e98ff['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x28fedd,{writer:_0x2b30e9})=>{const _0x21820f=D(_0x2b30e9,{'data-footnotes-list-label':t('Footnotes')}),_0x12f550=_0x204337(_0x21820f,_0x2b30e9,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2b30e9['setCustomProperty']('footnotesDefinitions',!0x0,_0x12f550),_0x12f550;}});}['_defineDefinitionConverters'](){const {editor:_0x15bca3}=this,{conversion:_0x13c208,locale:_0x341592}=_0x15bca3,_0x8e02ea=_0x15bca3['config']['get']('footnotes.multiBlock');_0x13c208['for']('upcast')['add'](_0xba6272=>{_0xba6272['on']('element:li',(_0x4a651e,_0x39eb92,_0x4dc33c)=>{const _0x14b1c3=_0x39eb92['viewItem'];if(!_0x14b1c3['hasClass']('footnote-definition')||!_0x14b1c3['getAttribute']('id'))return;const _0xd43f9a=_0x14b1c3['parent'];if(!_0xd43f9a['is']('element','ol')||!_0xd43f9a['hasClass']('footnotes-list'))return;if(!_0x4dc33c['consumable']['test'](_0x14b1c3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x31ffdb=_0x4dc33c['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x14b1c3['getAttribute']('id')});if(!_0x4dc33c['safeInsert'](_0x31ffdb,_0x39eb92['modelCursor']))return;_0x4dc33c['consumable']['consume'](_0x14b1c3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x39b5d3=Array['from'](_0x14b1c3['getChildren']())['find'](_0x209e05=>_0x209e05['is']('element')&&_0x209e05['hasClass']('footnote-content'));for(const _0x44377a of _0x14b1c3['getChildren']())_0x44377a['is']('element')&&(_0x4dc33c['consumable']['consume'](_0x44377a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4dc33c['consumable']['consume'](_0x44377a,{'name':!0x0,'classes':'footnote-content'}));if(_0x39b5d3){if(_0x8e02ea)_0x4dc33c['convertChildren'](_0x39b5d3,_0x31ffdb);else{const _0x51ddd4=_0x4dc33c['writer']['createElement']('footnoteInlineContent');_0x4dc33c['writer']['insert'](_0x51ddd4,_0x31ffdb),_0x4dc33c['convertChildren'](_0x39b5d3,_0x51ddd4);}}_0x4dc33c['updateConversionResult'](_0x31ffdb,_0x39eb92);});}),_0x13c208['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1fa688,{writer:_0x3ba088})=>y(_0x1fa688,_0x3ba088,_0x341592,{'dataPipeline':!0x0})}),_0x13c208['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5afb68,{writer:_0x1b9c9c})=>y(_0x5afb68,_0x1b9c9c,_0x341592)});}['_defineBogusParagraphConverters'](){const {editor:_0xd1bf4d}=this,{conversion:_0x2633fe}=_0xd1bf4d;_0xd1bf4d['config']['get']('footnotes.multiBlock')?(_0x2633fe['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2633fe['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xd1bf4d['model']['document'],'change:data',()=>{!function(_0x2a0450,_0x37f6e6){const _0x327d95=_0x2a0450['document']['differ'],_0x4e8a85=new Set();for(const _0x5c58a3 of _0x327d95['getChanges']()){const _0x1cd6a1='attribute'==_0x5c58a3['type']?_0x5c58a3['range']['start']['parent']:_0x5c58a3['position']['parent'];_0x1cd6a1['is']('element','footnoteDefinition')&&_0x4e8a85['add'](_0x1cd6a1);}for(const _0x2087a8 of _0x4e8a85['values']()){const _0x4b80da=Array['from'](_0x2087a8['getChildren']())['filter'](_0x47882b=>v(_0x47882b,_0x37f6e6['mapper']));for(const _0x323f7b of _0x4b80da)_0x37f6e6['reconvertItem'](_0x323f7b);}}(_0xd1bf4d['model'],_0xd1bf4d['editing']);})):(_0x2633fe['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2633fe['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x10b68c,{writer:_0x1abfa2})=>{const _0x4c091d=_0x1abfa2['createContainerElement']('span');return _0x1abfa2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c091d),_0x4c091d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1bda46}=this,{editing:_0x33123c,t:t}=_0x1bda46,_0x383094=_0x1bda46['model']['document']['selection'];_0x1bda46['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1bda46['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x33123c['view']['document'],'enter',(_0x21e209,_0x520d02)=>{const _0x37333b=function(_0x576022){const _0x342ed9=_0x576022['getSelectedElement']();if(_0x342ed9?.['is']('element','footnoteRef'))return _0x342ed9;return null;}(_0x383094);if(_0x37333b){const _0x4c6fe0=_0x37333b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4c6fe0),_0x520d02['preventDefault'](),_0x21e209['stop']();}},{'context':_0x410f66});}['_defineClickHandlers'](){const {editor:_0x485d01}=this,{editing:_0x481d56}=_0x485d01;_0x485d01['editing']['view']['addObserver'](_0x5d00db),_0x485d01['editing']['view']['addObserver'](_0x1d0585);let _0x2e8140=!0x1;this['listenTo'](_0x481d56['view']['document'],'pointerdown',(_0x16d3a3,_0x5626ed)=>{const {target:_0x319176}=_0x5626ed,_0x4b0e77=_0x481d56['view']['document']['selection'];_0x2e8140=!!(_0x319176?.['is']('element','a')&&_0x319176['parent']?.['is']('element','sup')&&_0x319176['parent']['hasClass']('footnote'))&&_0x4b0e77['getSelectedElement']()===_0x319176['parent'];},{'priority':'high'}),this['listenTo'](_0x481d56['view']['document'],'click',(_0x49078d,_0x129361)=>{const {target:_0x2c4141}=_0x129361;if(!_0x2c4141?.['is']('element','a'))return;if(_0x2c4141['parent']?.['is']('element','sup')&&_0x2c4141['parent']['hasClass']('footnote')&&!_0x2e8140)return void _0x129361['preventDefault']();let _0x5dd631=_0x2c4141['getAttribute']('href');if(!_0x5dd631?.['startsWith']('#'))return;_0x5dd631=_0x5dd631['slice'](0x1);let _0x12ccc0=!0x1;(_0x5dd631['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5dd631['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5dd631))&&(_0x12ccc0=!0x0),_0x12ccc0&&(_0x129361['preventDefault'](),_0x49078d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1e87f8}={}){return(_0x42d356,{writer:_0x261688})=>{if(!g(_0x42d356))return null;if(!_0x1e87f8)return _0x261688['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x34639f=_0x261688['createContainerElement']('p');return _0x261688['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x34639f),_0x34639f;};}function g(_0x196e3c){const {parent:_0x35c7f3}=_0x196e3c;if(!_0x35c7f3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x35c7f3['childCount'])return!0x1;for(const _0x118736 of _0x196e3c['getAttributeKeys']())if(!_0x118736['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x118736)return!0x1;return!0x0;}function v(_0xc435,_0x436d9b){if(!_0xc435['is']('element','paragraph'))return!0x1;const _0x2778ed=_0x436d9b['toViewElement'](_0xc435);return!!_0x2778ed&&g(_0xc435)!==_0x2778ed['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x34517a){return _0x410f66(_0x34517a)&&_0x34517a['is']('containerElement')&&!!_0x34517a['getCustomProperty']('footnotesDefinitions');}function D(_0x1a765e,_0x544502={}){const _0x42c31f=_0x1a765e['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x29fd2d=_0x1a765e['createContainerElement']('ol',{'class':'footnotes-list'},_0x1a765e['createSlot']());return _0x1a765e['createContainerElement']('div',{'class':'footnotes',..._0x544502},[_0x42c31f,_0x29fd2d]);}function b(_0x417ddd,_0x39fc6b){const _0x191e85=_0x417ddd['getAttribute']('footnoteId'),_0x31adb4=_0x417ddd['getAttribute']('footnoteCounter'),_0x152397=_0x39fc6b['createUIElement']('a',{'href':'#'+_0x191e85},function(_0xe1db4a){const _0x3e1ee0=this['toDomElement'](_0xe1db4a);return _0x3e1ee0['textContent']=_0x31adb4,_0x3e1ee0;}),_0x48f35d=_0x39fc6b['createContainerElement']('sup',{'id':'ref-'+_0x191e85,'class':'footnote'},[_0x152397]);return _0x48f35d['getFillerOffset']=()=>null,_0x48f35d;}function y(_0x244454,_0x366de3,_0x3c4ae9,{dataPipeline:_0x5babfe}={}){const {t:t}=_0x3c4ae9,_0x39a6f3=_0x244454['getAttribute']('footnoteId'),_0x3cd54e=_0x366de3['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x39a6f3},function(_0x379262){const _0x3adfab=this['toDomElement'](_0x379262);return _0x3adfab['innerText']='^',_0x3adfab;}),_0x493bc7=_0x5babfe?_0x366de3['createContainerElement']('div',{'class':'footnote-content'}):_0x134163(_0x366de3['createEditableElement']('div',{'class':'footnote-content'}),_0x366de3,{'label':t('Footnote\x20content.')});return _0x366de3['insert'](_0x366de3['createPositionAt'](_0x493bc7,0x0),_0x366de3['createSlot']()),_0x366de3['createContainerElement']('li',{'class':'footnote-definition','id':_0x39a6f3},[_0x3cd54e,_0x493bc7]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x3724a8=_0x4a05;(function(_0x24dea4,_0x354ef9){const _0x4c3b0f=_0x4a05,_0x192ec6=_0x24dea4();while(!![]){try{const _0xac879f=-parseInt(_0x4c3b0f(0x1e9))/0x1+parseInt(_0x4c3b0f(0x1dd))/0x2*(parseInt(_0x4c3b0f(0x1e7))/0x3)+-parseInt(_0x4c3b0f(0x1df))/0x4*(parseInt(_0x4c3b0f(0x1da))/0x5)+parseInt(_0x4c3b0f(0x1d6))/0x6+-parseInt(_0x4c3b0f(0x1e1))/0x7+parseInt(_0x4c3b0f(0x1e4))/0x8+-parseInt(_0x4c3b0f(0x1e3))/0x9;if(_0xac879f===_0x354ef9)break;else _0x192ec6['push'](_0x192ec6['shift']());}catch(_0x3e68b7){_0x192ec6['push'](_0x192ec6['shift']());}}}(_0x5d4d,0x9a598));function _0x5d4d(){const _0x52448a=['footnotesListStart','value','3919980qHlaHm','refresh','execute','isEnabled','10565YcdkUT','get','model','70OpTaRS','getFootnotesDefinitionsObjectElement','2152btWMLb','setAttribute','3958332QYBsZy','_updateFootnotesCounters','2914767EJlKQM','8895648EJddZL','change','plugins','90108GmWLvl','isInteger','158197XYQNan','getAttribute'];_0x5d4d=function(){return _0x52448a;};return _0x5d4d();}import{Command as _0x3b7790}from'ckeditor5/src/core.js';function _0x4a05(_0xb0e871,_0x263634){const _0x5d4d52=_0x5d4d();return _0x4a05=function(_0x4a055c,_0x30bf3e){_0x4a055c=_0x4a055c-0x1d6;let _0x531ff4=_0x5d4d52[_0x4a055c];return _0x531ff4;},_0x4a05(_0xb0e871,_0x263634);}import{FootnotesTracker as _0x16ea5c}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3b7790{[_0x3724a8(0x1d7)](){const _0x2c61db=_0x3724a8,{editor:_0x23fc41}=this,_0x4687f2=_0x23fc41[_0x2c61db(0x1e6)][_0x2c61db(0x1db)](_0x16ea5c)[_0x2c61db(0x1de)]();this[_0x2c61db(0x1d9)]=!!_0x4687f2,this[_0x2c61db(0x1ec)]=_0x4687f2?.[_0x2c61db(0x1ea)](_0x2c61db(0x1eb))??null;}[_0x3724a8(0x1d8)]({value:_0x1a103a}){const _0x188212=_0x3724a8,{editor:_0x48b006}=this,_0x3f7296=_0x48b006[_0x188212(0x1e6)][_0x188212(0x1db)](_0x16ea5c),_0x263dbf=_0x3f7296[_0x188212(0x1de)]();_0x263dbf&&Number[_0x188212(0x1e8)](_0x1a103a)&&_0x48b006[_0x188212(0x1dc)][_0x188212(0x1e5)](_0x5cc9e8=>{const _0x33f532=_0x188212;_0x5cc9e8[_0x33f532(0x1e0)](_0x33f532(0x1eb),_0x1a103a,_0x263dbf),_0x3f7296[_0x33f532(0x1e2)](_0x5cc9e8);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x386c4a=_0x39ec;(function(_0x1d18f0,_0x23da61){const _0x36df6b=_0x39ec,_0x44d1e4=_0x1d18f0();while(!![]){try{const _0x898a5a=-parseInt(_0x36df6b(0x113))/0x1+-parseInt(_0x36df6b(0x11b))/0x2+-parseInt(_0x36df6b(0x120))/0x3+-parseInt(_0x36df6b(0x121))/0x4*(-parseInt(_0x36df6b(0x117))/0x5)+parseInt(_0x36df6b(0x11a))/0x6*(-parseInt(_0x36df6b(0x118))/0x7)+parseInt(_0x36df6b(0x124))/0x8*(-parseInt(_0x36df6b(0x111))/0x9)+parseInt(_0x36df6b(0x112))/0xa;if(_0x898a5a===_0x23da61)break;else _0x44d1e4['push'](_0x44d1e4['shift']());}catch(_0x9c32ec){_0x44d1e4['push'](_0x44d1e4['shift']());}}}(_0x3e25,0x88565));import{Command as _0x52dd08}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2cb139}from'../footnotespropertiesconfig.js';function _0x3e25(){const _0x4a819f=['50IecqIv','3601864bMeyZP','setAttribute','6pFUmpD','204538UEbMOB','plugins','isEnabled','includes','get','24747JKBdeL','153152VnoyPO','model','value','304lieWKs','execute','footnotesListStyle','refresh','change','154845PBhFLC','20453330dvHhYa','590916YdRPYH','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','getAttribute'];_0x3e25=function(){return _0x4a819f;};return _0x3e25();}function _0x39ec(_0x586388,_0x27a9ab){const _0x3e25ff=_0x3e25();return _0x39ec=function(_0x39ec8d,_0x5c310b){_0x39ec8d=_0x39ec8d-0x111;let _0x45358c=_0x3e25ff[_0x39ec8d];return _0x45358c;},_0x39ec(_0x586388,_0x27a9ab);}import{FootnotesTracker as _0x3b8045}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x52dd08{[_0x386c4a(0x127)](){const _0x207307=_0x386c4a,{editor:_0x45092a}=this,_0x11fde0=_0x45092a[_0x207307(0x11c)][_0x207307(0x11f)](_0x3b8045)[_0x207307(0x115)]();this[_0x207307(0x11d)]=!!_0x11fde0,this[_0x207307(0x123)]=_0x11fde0?.[_0x207307(0x116)](_0x207307(0x126))??null;}[_0x386c4a(0x125)]({value:_0x2fac4d}){const _0x547bfe=_0x386c4a,{editor:_0x2aedc3}=this,_0x46647e=_0x2aedc3[_0x547bfe(0x11c)][_0x547bfe(0x11f)](_0x3b8045),_0x4c7df6=_0x46647e[_0x547bfe(0x115)]();_0x4c7df6&&_0x2cb139[_0x547bfe(0x11e)](_0x2fac4d)&&_0x2aedc3[_0x547bfe(0x122)][_0x547bfe(0x128)](_0x4004d5=>{const _0x1da041=_0x547bfe;_0x4004d5[_0x1da041(0x119)](_0x1da041(0x126),_0x2fac4d,_0x4c7df6),_0x46647e[_0x1da041(0x114)](_0x4004d5);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x15d18f=_0x5240;function _0x47be(){const _0x5ce7c1=['lower-latin','6993905YAWNAp','4pMpVvB','6804900OXnEdy','5841GgPpAd','lower-roman','upper-latin','4426503wVSXRe','upper-roman','2788261jPHnFS','80364SaqAmN','lower-alpha','upper-alpha','8JxiwNi','68ZabEgK','decimal','30537OCvKSD','2740iGKFwQ','25463pHpQzu','decimal-leading-zero'];_0x47be=function(){return _0x5ce7c1;};return _0x47be();}(function(_0x2c6f47,_0x4dbca9){const _0x385ce5=_0x5240,_0x1bdfa9=_0x2c6f47();while(!![]){try{const _0x4daa32=-parseInt(_0x385ce5(0x132))/0x1*(parseInt(_0x385ce5(0x12e))/0x2)+-parseInt(_0x385ce5(0x127))/0x3*(-parseInt(_0x385ce5(0x136))/0x4)+parseInt(_0x385ce5(0x135))/0x5+parseInt(_0x385ce5(0x137))/0x6+-parseInt(_0x385ce5(0x129))/0x7*(-parseInt(_0x385ce5(0x12d))/0x8)+parseInt(_0x385ce5(0x130))/0x9*(parseInt(_0x385ce5(0x131))/0xa)+-parseInt(_0x385ce5(0x138))/0xb*(parseInt(_0x385ce5(0x12a))/0xc);if(_0x4daa32===_0x4dbca9)break;else _0x1bdfa9['push'](_0x1bdfa9['shift']());}catch(_0x145850){_0x1bdfa9['push'](_0x1bdfa9['shift']());}}}(_0x47be,0xdf49c));function _0x5240(_0x24d29d,_0x2830a7){const _0x47be29=_0x47be();return _0x5240=function(_0x5240ef,_0x1cd402){_0x5240ef=_0x5240ef-0x125;let _0x229ec7=_0x47be29[_0x5240ef];return _0x229ec7;},_0x5240(_0x24d29d,_0x2830a7);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x15d18f(0x12f),_0x15d18f(0x133),_0x15d18f(0x134),_0x15d18f(0x126),_0x15d18f(0x12b),_0x15d18f(0x12c),_0x15d18f(0x125),_0x15d18f(0x128)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x248a1=_0x4769;(function(_0x4e442b,_0x54e107){const _0x282aea=_0x4769,_0x2878d1=_0x4e442b();while(!![]){try{const _0x2be37f=parseInt(_0x282aea(0x135))/0x1+-parseInt(_0x282aea(0x145))/0x2*(parseInt(_0x282aea(0x166))/0x3)+parseInt(_0x282aea(0x122))/0x4*(parseInt(_0x282aea(0x156))/0x5)+parseInt(_0x282aea(0x158))/0x6+parseInt(_0x282aea(0x171))/0x7*(-parseInt(_0x282aea(0x11c))/0x8)+parseInt(_0x282aea(0x116))/0x9*(-parseInt(_0x282aea(0x124))/0xa)+parseInt(_0x282aea(0x160))/0xb*(parseInt(_0x282aea(0x137))/0xc);if(_0x2be37f===_0x54e107)break;else _0x2878d1['push'](_0x2878d1['shift']());}catch(_0x2764b7){_0x2878d1['push'](_0x2878d1['shift']());}}}(_0x4a62,0xd16dc));import{Plugin as _0x1992dc}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3aa9d0}from'./commands/footnotesstylecommand.js';function _0x4a62(){const _0x41b2f0=['_getDefaultListStyle','position','item','FootnotesPropertiesEditing','2732545OYXoYC','$text','7991880ZKghMR','requires','_defineConverters','getItems','removeAttribute','toLowerCase','consumable','decimal-leading-zero','11LWmtDY','commands','differ','nodeAfter','footnotes-list','footnotes.footnotesProperties.defaultListStyle','249PAQNsr','element','_definePostfixer','isPremiumPlugin','getAttribute','upper-alpha','_updateFootnotesCounters','lower-alpha','_formatFootnoteListValue','upcast','max','7CXDCgx','getChildren','removeStyle','createRangeOn','type','padStart','footnotesListStyle','_defineSchema','model','add','fromCharCode','element:ol','837693kllIwj','_defineFormatter','isNaN','_getDefaultStartIndex','registerPostFixer','floor','13544312rrYLjV','isOfficialPlugin','setFootnoteFormatter','hasClass','footnotesStyle','from','8sXMgzq','for','50GpLiwP','define','upper-latin','attribute:footnotesListStyle:footnotesDefinitions','extend','getChanges','get','consume','editor','toViewElement','init','schema','toUpperCase','footnotes.footnotesProperties.defaultStartIndex','config','downcast','mapper','528366MKGBTc','footnotesDefinitions','19930548IOxlAt','plugins','insert','getStyle','start','lower-latin','viewItem','document','upper-roman','attribute:footnotesListStart:footnotesDefinitions','footnotesStart','parent','setAttribute','setStyle','38506YfjRhI','footnotesListStart','hasAttribute','writer','name','decimal','lower-roman','pluginName','list-style-type','parseInt','checkAttribute','modelCursor','find'];_0x4a62=function(){return _0x41b2f0;};return _0x4a62();}import{FootnotesStartCommand as _0xc81902}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x270c84}from'../footnotestracker.js';import{FootnotesEditing as _0x5c7a70}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1992dc{static get[_0x248a1(0x14c)](){const _0x2d979c=_0x248a1;return _0x2d979c(0x155);}static get[_0x248a1(0x159)](){return[_0x5c7a70,_0x270c84];}static get[_0x248a1(0x11d)](){return!0x0;}static get[_0x248a1(0x169)](){return!0x0;}[_0x248a1(0x12e)](){const _0x36c6c6=_0x248a1,{editor:_0x2ab409}=this;_0x2ab409[_0x36c6c6(0x132)][_0x36c6c6(0x125)](_0x36c6c6(0x165),_0x36c6c6(0x14a)),_0x2ab409[_0x36c6c6(0x132)][_0x36c6c6(0x125)](_0x36c6c6(0x131),0x1),_0x2ab409[_0x36c6c6(0x161)][_0x36c6c6(0x113)](_0x36c6c6(0x120),new _0x3aa9d0(_0x2ab409)),_0x2ab409[_0x36c6c6(0x161)][_0x36c6c6(0x113)](_0x36c6c6(0x141),new _0xc81902(_0x2ab409)),this[_0x36c6c6(0x178)](),this[_0x36c6c6(0x15a)](),this[_0x36c6c6(0x117)](),this[_0x36c6c6(0x168)]();}[_0x248a1(0x178)](){const _0x5c0db1=_0x248a1,{editor:_0x1a2e24}=this,{schema:_0x4c1e56}=_0x1a2e24[_0x5c0db1(0x112)];_0x4c1e56[_0x5c0db1(0x128)](_0x5c0db1(0x136),{'allowAttributes':[_0x5c0db1(0x177),_0x5c0db1(0x146)]});}[_0x248a1(0x15a)](){const _0x50f895=_0x248a1,{editor:_0x51351e}=this,{conversion:_0x24e4f6,model:_0x17dcd5}=_0x51351e,{schema:_0x4a686d}=_0x17dcd5;_0x24e4f6[_0x50f895(0x123)](_0x50f895(0x16f))[_0x50f895(0x113)](_0x382790=>{const _0x51b19d=_0x50f895;_0x382790['on'](_0x51b19d(0x115),(_0xc174b9,_0x2ee9fe,_0x2a4792)=>{const _0x332eef=_0x51b19d,_0x4762c0=_0x2ee9fe[_0x332eef(0x13d)],_0x4778bd=_0x2ee9fe[_0x332eef(0x150)]?.[_0x332eef(0x142)];_0x4762c0[_0x332eef(0x11f)](_0x332eef(0x164))&&_0x4778bd?.['is'](_0x332eef(0x167),_0x332eef(0x136))&&(function(_0x4344e8,_0x8fed6b,_0x39499d,_0x3a723c){const _0x2c564f=_0x332eef;if(!_0x3a723c[_0x2c564f(0x14f)](_0x8fed6b,_0x2c564f(0x146)))return;let _0x5a7c49=0x1;const _0xd6efb9=_0x39499d[_0x2c564f(0x15e)][_0x2c564f(0x12b)](_0x4344e8,{'attributes':_0x2c564f(0x13b)});if(_0xd6efb9){const _0x5b58ce=Number[_0x2c564f(0x14e)](_0x4344e8[_0x2c564f(0x16a)](_0x2c564f(0x13b)),0xa);Number[_0x2c564f(0x118)](_0x5b58ce)||(_0x5a7c49=_0x5b58ce);}!_0xd6efb9&&_0x8fed6b[_0x2c564f(0x147)](_0x2c564f(0x146))||_0x39499d[_0x2c564f(0x148)][_0x2c564f(0x143)](_0x2c564f(0x146),_0x5a7c49,_0x8fed6b);}(_0x4762c0,_0x4778bd,_0x2a4792,_0x4a686d),function(_0x4798a4,_0x2d2564,_0x382ba5,_0x18124e){const _0xe561c3=_0x332eef;if(!_0x18124e[_0xe561c3(0x14f)](_0x2d2564,_0xe561c3(0x177)))return;let _0x14dd50=_0xe561c3(0x14a),_0x44028e=!0x1;if(_0x382ba5[_0xe561c3(0x15e)][_0xe561c3(0x12b)](_0x4798a4,{'attributes':_0xe561c3(0x175)})){const _0x56f12c={0x1:_0xe561c3(0x14a),'a':_0xe561c3(0x16d),'A':_0xe561c3(0x16b),'i':_0xe561c3(0x14b),'I':_0xe561c3(0x13f)}[_0x4798a4[_0xe561c3(0x16a)](_0xe561c3(0x175))];_0x56f12c&&(_0x14dd50=_0x56f12c),_0x44028e=!0x0;}_0x382ba5[_0xe561c3(0x15e)][_0xe561c3(0x12b)](_0x4798a4,{'styles':_0xe561c3(0x14d)})&&(_0x14dd50=function(_0x159839){const _0x4ce783=_0xe561c3;switch(_0x159839){case _0x4ce783(0x16d):return _0x4ce783(0x13c);case _0x4ce783(0x16b):return _0x4ce783(0x126);default:return _0x159839;}}(_0x4798a4[_0xe561c3(0x13a)](_0xe561c3(0x14d))),_0x44028e=!0x0),!_0x44028e&&_0x2d2564[_0xe561c3(0x147)](_0xe561c3(0x177))||_0x382ba5[_0xe561c3(0x148)][_0xe561c3(0x143)](_0xe561c3(0x177),_0x14dd50,_0x2d2564);}(_0x4762c0,_0x4778bd,_0x2a4792,_0x4a686d));});}),_0x24e4f6[_0x50f895(0x123)](_0x50f895(0x133))[_0x50f895(0x113)](_0x48afb2=>{const _0x4185c2=_0x50f895;_0x48afb2['on'](_0x4185c2(0x140),(_0x4bb2f3,_0x402abc,_0x4e743a)=>{const _0x3f7dd9=_0x4185c2;if(!_0x4e743a[_0x3f7dd9(0x15e)][_0x3f7dd9(0x12b)](_0x402abc[_0x3f7dd9(0x154)],_0x4bb2f3[_0x3f7dd9(0x149)]))return;const _0xca707a=M(_0x402abc[_0x3f7dd9(0x154)],_0x4e743a[_0x3f7dd9(0x134)]),{attributeNewValue:_0x19ff47}=_0x402abc;null==_0x19ff47||0x1===_0x19ff47?_0x4e743a[_0x3f7dd9(0x148)][_0x3f7dd9(0x15c)](_0x3f7dd9(0x13b),_0xca707a):_0x4e743a[_0x3f7dd9(0x148)][_0x3f7dd9(0x143)](_0x3f7dd9(0x13b),String(_0x19ff47),_0xca707a);}),_0x48afb2['on'](_0x4185c2(0x127),(_0x30c732,_0x4aa3cf,_0x18c7cd)=>{const _0x3e2fea=_0x4185c2;if(!_0x18c7cd[_0x3e2fea(0x15e)][_0x3e2fea(0x12b)](_0x4aa3cf[_0x3e2fea(0x154)],_0x30c732[_0x3e2fea(0x149)]))return;const _0x5a8658=M(_0x4aa3cf[_0x3e2fea(0x154)],_0x18c7cd[_0x3e2fea(0x134)]),{attributeNewValue:_0x30d46d}=_0x4aa3cf;_0x30d46d&&_0x3e2fea(0x14a)!==_0x30d46d?_0x18c7cd[_0x3e2fea(0x148)][_0x3e2fea(0x144)](_0x3e2fea(0x14d),_0x30d46d,_0x5a8658):_0x18c7cd[_0x3e2fea(0x148)][_0x3e2fea(0x173)](_0x3e2fea(0x14d),_0x5a8658);});});}[_0x248a1(0x168)](){const _0x57002f=_0x248a1,{editor:_0x16d847}=this,{model:_0x243c9c}=_0x16d847,_0x473a90=_0x16d847[_0x57002f(0x138)][_0x57002f(0x12a)](_0x270c84),_0x219902=this[_0x57002f(0x152)](),_0x2455a5=this[_0x57002f(0x119)]();_0x243c9c[_0x57002f(0x13e)][_0x57002f(0x11a)](_0x3855bb=>{const _0x200c45=_0x57002f,_0x12aedc=_0x243c9c[_0x200c45(0x13e)][_0x200c45(0x162)][_0x200c45(0x129)]();let _0x49de3f=!0x1;for(const _0x1054fa of _0x12aedc){if(_0x200c45(0x139)!==_0x1054fa[_0x200c45(0x175)]||_0x200c45(0x157)===_0x1054fa[_0x200c45(0x149)])continue;const _0x117571=_0x243c9c[_0x200c45(0x174)](_0x1054fa[_0x200c45(0x153)][_0x200c45(0x163)]);for(const _0x1a7521 of _0x117571[_0x200c45(0x15b)]())_0x1a7521['is'](_0x200c45(0x167),_0x200c45(0x136))&&(!_0x1a7521[_0x200c45(0x147)](_0x200c45(0x146))&&_0x243c9c[_0x200c45(0x12f)][_0x200c45(0x14f)](_0x1a7521,_0x200c45(0x146))&&(_0x3855bb[_0x200c45(0x143)](_0x200c45(0x146),_0x2455a5,_0x1a7521),_0x49de3f=!0x0),!_0x1a7521[_0x200c45(0x147)](_0x200c45(0x177))&&_0x243c9c[_0x200c45(0x12f)][_0x200c45(0x14f)](_0x1a7521,_0x200c45(0x177))&&(_0x3855bb[_0x200c45(0x143)](_0x200c45(0x177),_0x219902,_0x1a7521),_0x49de3f=!0x0));}return _0x49de3f&&_0x473a90[_0x200c45(0x16c)](_0x3855bb),_0x49de3f;});}[_0x248a1(0x117)](){const _0x50b992=_0x248a1,{editor:_0x47a061}=this;_0x47a061[_0x50b992(0x138)][_0x50b992(0x12a)](_0x270c84)[_0x50b992(0x11e)](_0x4e0c7d=>this[_0x50b992(0x16e)](_0x4e0c7d));}[_0x248a1(0x152)](){const _0xd99b90=_0x248a1;return this[_0xd99b90(0x12c)][_0xd99b90(0x132)][_0xd99b90(0x12a)](_0xd99b90(0x165));}[_0x248a1(0x119)](){const _0x2e1ebb=_0x248a1;return this[_0x2e1ebb(0x12c)][_0x2e1ebb(0x132)][_0x2e1ebb(0x12a)](_0x2e1ebb(0x131));}[_0x248a1(0x16e)]({container:_0x178680,value:_0x4956dd,digits:_0x5c8dd4}){const _0x59f046=_0x248a1,_0x3295d4=_0x178680[_0x59f046(0x16a)](_0x59f046(0x177)),_0x14275c=_0x178680[_0x59f046(0x16a)](_0x59f046(0x146)),_0x4e2ac2=Math[_0x59f046(0x11b)](_0x4956dd)+(_0x14275c??0x1)-0x1;switch(_0x3295d4){case _0x59f046(0x15f):return function(_0x1af2c7,_0x5abd0b){const _0x5d0bcf=_0x59f046;return String(_0x1af2c7)[_0x5d0bcf(0x176)](_0x5abd0b,'0');}(_0x4e2ac2,Math[_0x59f046(0x170)](0x2,_0x5c8dd4));case _0x59f046(0x16d):case _0x59f046(0x13c):return N(_0x4e2ac2,!0x1);case _0x59f046(0x16b):case _0x59f046(0x126):return N(_0x4e2ac2,!0x0);case _0x59f046(0x14b):return X(_0x4e2ac2,!0x1);case _0x59f046(0x13f):return X(_0x4e2ac2,!0x0);default:return String(_0x4e2ac2);}}}function M(_0x561171,_0x19d311){const _0xeea2c9=_0x248a1,_0x364cc1=_0x19d311[_0xeea2c9(0x12d)](_0x561171);return Array[_0xeea2c9(0x121)](_0x364cc1[_0xeea2c9(0x172)]())[_0xeea2c9(0x151)](_0x10efde=>_0x10efde['is'](_0xeea2c9(0x167),'ol')&&_0x10efde[_0xeea2c9(0x11f)](_0xeea2c9(0x164)));}function N(_0x4add4c,_0x3d50e7){const _0x30b7b6=_0x248a1;let _0x45ff50='',_0x573065=_0x4add4c;for(;_0x573065>0x0;){const _0x5ac0b3=(_0x573065-0x1)%0x1a;_0x45ff50=String[_0x30b7b6(0x114)](0x61+_0x5ac0b3)+_0x45ff50,_0x573065=Math[_0x30b7b6(0x11b)]((_0x573065-0x1)/0x1a);}return _0x3d50e7?_0x45ff50[_0x30b7b6(0x130)]():_0x45ff50;}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 _0x4769(_0x2710d3,_0x918410){const _0x4a626=_0x4a62();return _0x4769=function(_0x476985,_0x109355){_0x476985=_0x476985-0x112;let _0x5d5fca=_0x4a626[_0x476985];return _0x5d5fca;},_0x4769(_0x2710d3,_0x918410);}function X(_0x2941af,_0x3decf7){const _0x5be0b7=_0x248a1;let _0x46f9b4='',_0x16ce95=_0x2941af;for(const {value:_0x47ccdc,numeral:_0x4fde3e}of V)for(;_0x16ce95>=_0x47ccdc;)_0x46f9b4+=_0x4fde3e,_0x16ce95-=_0x47ccdc;return _0x3decf7?_0x46f9b4:_0x46f9b4[_0x5be0b7(0x15d)]();}
|
|
23
|
+
function _0x150f(_0x28316f,_0xc79deb){const _0x2ec080=_0x2ec0();return _0x150f=function(_0x150f8b,_0x4c3508){_0x150f8b=_0x150f8b-0x14e;let _0x338939=_0x2ec080[_0x150f8b];return _0x338939;},_0x150f(_0x28316f,_0xc79deb);}const _0x276583=_0x150f;(function(_0x25f5f1,_0x8bea32){const _0x3dea88=_0x150f,_0x409ecc=_0x25f5f1();while(!![]){try{const _0x43e873=-parseInt(_0x3dea88(0x16c))/0x1+parseInt(_0x3dea88(0x157))/0x2+parseInt(_0x3dea88(0x189))/0x3*(-parseInt(_0x3dea88(0x1ad))/0x4)+-parseInt(_0x3dea88(0x195))/0x5+-parseInt(_0x3dea88(0x17e))/0x6*(parseInt(_0x3dea88(0x166))/0x7)+parseInt(_0x3dea88(0x187))/0x8+parseInt(_0x3dea88(0x17c))/0x9*(parseInt(_0x3dea88(0x178))/0xa);if(_0x43e873===_0x8bea32)break;else _0x409ecc['push'](_0x409ecc['shift']());}catch(_0x8ec8a){_0x409ecc['push'](_0x409ecc['shift']());}}}(_0x2ec0,0x4b421));import{Plugin as _0x221393}from'ckeditor5/src/core.js';function _0x2ec0(){const _0x6e08b9=['find','4878jULNXI','footnotesStyle','6jKDBib','consumable','writer','schema','model','removeAttribute','setStyle','name','downcast','2337712KXgnEw','footnotes-list','6paedOa','toLowerCase','_updateFootnotesCounters','differ','attribute:footnotesListStart:footnotesDefinitions','nodeAfter','setFootnoteFormatter','_formatFootnoteListValue','getChildren','isNaN','get','footnotesStart','1378500VvLODg','lower-latin','extend','from','isOfficialPlugin','decimal-leading-zero','parent','pluginName','lower-alpha','floor','insert','toViewElement','getItems','$text','editor','mapper','define','element','footnotes.footnotesProperties.defaultListStyle','_getDefaultListStyle','upper-latin','attribute:footnotesListStyle:footnotesDefinitions','_definePostfixer','hasClass','145568zcqyPx','config','upper-alpha','position','upcast','fromCharCode','requires','getChanges','getAttribute','FootnotesPropertiesEditing','_defineSchema','removeStyle','consume','footnotesDefinitions','lower-roman','955796JCybKJ','add','isPremiumPlugin','hasAttribute','type','item','registerPostFixer','parseInt','max','for','_defineConverters','viewItem','_getDefaultStartIndex','setAttribute','_defineFormatter','2364586mFVplF','padStart','plugins','createRangeOn','toUpperCase','element:ol','472585UDZNio','commands','upper-roman','checkAttribute','list-style-type','init','footnotesListStyle','getStyle','footnotesListStart','start','decimal','footnotes.footnotesProperties.defaultStartIndex','12860CYyCSi','document','modelCursor'];_0x2ec0=function(){return _0x6e08b9;};return _0x2ec0();}import{FootnotesStyleCommand as _0x5ed06e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x26ea4b}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x528a77}from'../footnotestracker.js';import{FootnotesEditing as _0x32bd94}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x221393{static get[_0x276583(0x19c)](){const _0x582f61=_0x276583;return _0x582f61(0x151);}static get[_0x276583(0x14e)](){return[_0x32bd94,_0x528a77];}static get[_0x276583(0x199)](){return!0x0;}static get[_0x276583(0x159)](){return!0x0;}[_0x276583(0x171)](){const _0x453089=_0x276583,{editor:_0x43361d}=this;_0x43361d[_0x453089(0x1ae)][_0x453089(0x1a5)](_0x453089(0x1a7),_0x453089(0x176)),_0x43361d[_0x453089(0x1ae)][_0x453089(0x1a5)](_0x453089(0x177),0x1),_0x43361d[_0x453089(0x16d)][_0x453089(0x158)](_0x453089(0x17d),new _0x5ed06e(_0x43361d)),_0x43361d[_0x453089(0x16d)][_0x453089(0x158)](_0x453089(0x194),new _0x26ea4b(_0x43361d)),this[_0x453089(0x152)](),this[_0x453089(0x161)](),this[_0x453089(0x165)](),this[_0x453089(0x1ab)]();}[_0x276583(0x152)](){const _0x368a38=_0x276583,{editor:_0x15807c}=this,{schema:_0x2c319c}=_0x15807c[_0x368a38(0x182)];_0x2c319c[_0x368a38(0x197)](_0x368a38(0x155),{'allowAttributes':[_0x368a38(0x172),_0x368a38(0x174)]});}[_0x276583(0x161)](){const _0x1d019f=_0x276583,{editor:_0x33ff0e}=this,{conversion:_0x22ce5a,model:_0x27950f}=_0x33ff0e,{schema:_0x5dba07}=_0x27950f;_0x22ce5a[_0x1d019f(0x160)](_0x1d019f(0x1b1))[_0x1d019f(0x158)](_0x5691b4=>{const _0x47b7d1=_0x1d019f;_0x5691b4['on'](_0x47b7d1(0x16b),(_0x49e93e,_0x40b460,_0x83840b)=>{const _0x5bdd8c=_0x47b7d1,_0x103472=_0x40b460[_0x5bdd8c(0x162)],_0x251893=_0x40b460[_0x5bdd8c(0x17a)]?.[_0x5bdd8c(0x19b)];_0x103472[_0x5bdd8c(0x1ac)](_0x5bdd8c(0x188))&&_0x251893?.['is'](_0x5bdd8c(0x1a6),_0x5bdd8c(0x155))&&(function(_0x5025f5,_0x5b1d87,_0x3e40a5,_0x477c4a){const _0x1c8ef7=_0x5bdd8c;if(!_0x477c4a[_0x1c8ef7(0x16f)](_0x5b1d87,_0x1c8ef7(0x174)))return;let _0x447078=0x1;const _0x1f8787=_0x3e40a5[_0x1c8ef7(0x17f)][_0x1c8ef7(0x154)](_0x5025f5,{'attributes':_0x1c8ef7(0x175)});if(_0x1f8787){const _0x4dacda=Number[_0x1c8ef7(0x15e)](_0x5025f5[_0x1c8ef7(0x150)](_0x1c8ef7(0x175)),0xa);Number[_0x1c8ef7(0x192)](_0x4dacda)||(_0x447078=_0x4dacda);}!_0x1f8787&&_0x5b1d87[_0x1c8ef7(0x15a)](_0x1c8ef7(0x174))||_0x3e40a5[_0x1c8ef7(0x180)][_0x1c8ef7(0x164)](_0x1c8ef7(0x174),_0x447078,_0x5b1d87);}(_0x103472,_0x251893,_0x83840b,_0x5dba07),function(_0x66e00b,_0x3c1cc5,_0x209b28,_0x4eba94){const _0x560926=_0x5bdd8c;if(!_0x4eba94[_0x560926(0x16f)](_0x3c1cc5,_0x560926(0x172)))return;let _0x237249=_0x560926(0x176),_0x49a59f=!0x1;if(_0x209b28[_0x560926(0x17f)][_0x560926(0x154)](_0x66e00b,{'attributes':_0x560926(0x15b)})){const _0x1e4c22={0x1:_0x560926(0x176),'a':_0x560926(0x19d),'A':_0x560926(0x1af),'i':_0x560926(0x156),'I':_0x560926(0x16e)}[_0x66e00b[_0x560926(0x150)](_0x560926(0x15b))];_0x1e4c22&&(_0x237249=_0x1e4c22),_0x49a59f=!0x0;}_0x209b28[_0x560926(0x17f)][_0x560926(0x154)](_0x66e00b,{'styles':_0x560926(0x170)})&&(_0x237249=function(_0x5e20e1){const _0x4565d7=_0x560926;switch(_0x5e20e1){case _0x4565d7(0x19d):return _0x4565d7(0x196);case _0x4565d7(0x1af):return _0x4565d7(0x1a9);default:return _0x5e20e1;}}(_0x66e00b[_0x560926(0x173)](_0x560926(0x170))),_0x49a59f=!0x0),!_0x49a59f&&_0x3c1cc5[_0x560926(0x15a)](_0x560926(0x172))||_0x209b28[_0x560926(0x180)][_0x560926(0x164)](_0x560926(0x172),_0x237249,_0x3c1cc5);}(_0x103472,_0x251893,_0x83840b,_0x5dba07));});}),_0x22ce5a[_0x1d019f(0x160)](_0x1d019f(0x186))[_0x1d019f(0x158)](_0x3f7c7c=>{const _0x4622b5=_0x1d019f;_0x3f7c7c['on'](_0x4622b5(0x18d),(_0x51e130,_0x516562,_0x4c28e8)=>{const _0x57455d=_0x4622b5;if(!_0x4c28e8[_0x57455d(0x17f)][_0x57455d(0x154)](_0x516562[_0x57455d(0x15c)],_0x51e130[_0x57455d(0x185)]))return;const _0x41d156=M(_0x516562[_0x57455d(0x15c)],_0x4c28e8[_0x57455d(0x1a4)]),{attributeNewValue:_0x2d0d22}=_0x516562;null==_0x2d0d22||0x1===_0x2d0d22?_0x4c28e8[_0x57455d(0x180)][_0x57455d(0x183)](_0x57455d(0x175),_0x41d156):_0x4c28e8[_0x57455d(0x180)][_0x57455d(0x164)](_0x57455d(0x175),String(_0x2d0d22),_0x41d156);}),_0x3f7c7c['on'](_0x4622b5(0x1aa),(_0x15b744,_0x41e17a,_0x19df16)=>{const _0x5d9631=_0x4622b5;if(!_0x19df16[_0x5d9631(0x17f)][_0x5d9631(0x154)](_0x41e17a[_0x5d9631(0x15c)],_0x15b744[_0x5d9631(0x185)]))return;const _0x1d7230=M(_0x41e17a[_0x5d9631(0x15c)],_0x19df16[_0x5d9631(0x1a4)]),{attributeNewValue:_0x534825}=_0x41e17a;_0x534825&&_0x5d9631(0x176)!==_0x534825?_0x19df16[_0x5d9631(0x180)][_0x5d9631(0x184)](_0x5d9631(0x170),_0x534825,_0x1d7230):_0x19df16[_0x5d9631(0x180)][_0x5d9631(0x153)](_0x5d9631(0x170),_0x1d7230);});});}[_0x276583(0x1ab)](){const _0x314e65=_0x276583,{editor:_0x13deb8}=this,{model:_0x42e3c6}=_0x13deb8,_0x584498=_0x13deb8[_0x314e65(0x168)][_0x314e65(0x193)](_0x528a77),_0x1036eb=this[_0x314e65(0x1a8)](),_0x6aef2b=this[_0x314e65(0x163)]();_0x42e3c6[_0x314e65(0x179)][_0x314e65(0x15d)](_0x246d18=>{const _0x21b51a=_0x314e65,_0x46f998=_0x42e3c6[_0x21b51a(0x179)][_0x21b51a(0x18c)][_0x21b51a(0x14f)]();let _0x27679b=!0x1;for(const _0x1b4455 of _0x46f998){if(_0x21b51a(0x19f)!==_0x1b4455[_0x21b51a(0x15b)]||_0x21b51a(0x1a2)===_0x1b4455[_0x21b51a(0x185)])continue;const _0xc00bc0=_0x42e3c6[_0x21b51a(0x169)](_0x1b4455[_0x21b51a(0x1b0)][_0x21b51a(0x18e)]);for(const _0x575a4c of _0xc00bc0[_0x21b51a(0x1a1)]())_0x575a4c['is'](_0x21b51a(0x1a6),_0x21b51a(0x155))&&(!_0x575a4c[_0x21b51a(0x15a)](_0x21b51a(0x174))&&_0x42e3c6[_0x21b51a(0x181)][_0x21b51a(0x16f)](_0x575a4c,_0x21b51a(0x174))&&(_0x246d18[_0x21b51a(0x164)](_0x21b51a(0x174),_0x6aef2b,_0x575a4c),_0x27679b=!0x0),!_0x575a4c[_0x21b51a(0x15a)](_0x21b51a(0x172))&&_0x42e3c6[_0x21b51a(0x181)][_0x21b51a(0x16f)](_0x575a4c,_0x21b51a(0x172))&&(_0x246d18[_0x21b51a(0x164)](_0x21b51a(0x172),_0x1036eb,_0x575a4c),_0x27679b=!0x0));}return _0x27679b&&_0x584498[_0x21b51a(0x18b)](_0x246d18),_0x27679b;});}[_0x276583(0x165)](){const _0x386f9b=_0x276583,{editor:_0x2d8374}=this;_0x2d8374[_0x386f9b(0x168)][_0x386f9b(0x193)](_0x528a77)[_0x386f9b(0x18f)](_0x32ac0f=>this[_0x386f9b(0x190)](_0x32ac0f));}[_0x276583(0x1a8)](){const _0x2f693a=_0x276583;return this[_0x2f693a(0x1a3)][_0x2f693a(0x1ae)][_0x2f693a(0x193)](_0x2f693a(0x1a7));}[_0x276583(0x163)](){const _0x26ab47=_0x276583;return this[_0x26ab47(0x1a3)][_0x26ab47(0x1ae)][_0x26ab47(0x193)](_0x26ab47(0x177));}[_0x276583(0x190)]({container:_0x13871a,value:_0x1d677e,digits:_0x4fef6b}){const _0x26c409=_0x276583,_0x1ef458=_0x13871a[_0x26c409(0x150)](_0x26c409(0x172)),_0x2f239b=_0x13871a[_0x26c409(0x150)](_0x26c409(0x174)),_0x307284=Math[_0x26c409(0x19e)](_0x1d677e)+(_0x2f239b??0x1)-0x1;switch(_0x1ef458){case _0x26c409(0x19a):return function(_0x294b17,_0x2541e4){const _0xc63a69=_0x26c409;return String(_0x294b17)[_0xc63a69(0x167)](_0x2541e4,'0');}(_0x307284,Math[_0x26c409(0x15f)](0x2,_0x4fef6b));case _0x26c409(0x19d):case _0x26c409(0x196):return N(_0x307284,!0x1);case _0x26c409(0x1af):case _0x26c409(0x1a9):return N(_0x307284,!0x0);case _0x26c409(0x156):return X(_0x307284,!0x1);case _0x26c409(0x16e):return X(_0x307284,!0x0);default:return String(_0x307284);}}}function M(_0x1a5f40,_0x176a93){const _0x4d1d30=_0x276583,_0x52d390=_0x176a93[_0x4d1d30(0x1a0)](_0x1a5f40);return Array[_0x4d1d30(0x198)](_0x52d390[_0x4d1d30(0x191)]())[_0x4d1d30(0x17b)](_0x4763aa=>_0x4763aa['is'](_0x4d1d30(0x1a6),'ol')&&_0x4763aa[_0x4d1d30(0x1ac)](_0x4d1d30(0x188)));}function N(_0x5db746,_0x53d053){const _0x2e89fa=_0x276583;let _0x269604='',_0x3d6d4e=_0x5db746;for(;_0x3d6d4e>0x0;){const _0x126250=(_0x3d6d4e-0x1)%0x1a;_0x269604=String[_0x2e89fa(0x1b2)](0x61+_0x126250)+_0x269604,_0x3d6d4e=Math[_0x2e89fa(0x19e)]((_0x3d6d4e-0x1)/0x1a);}return _0x53d053?_0x269604[_0x2e89fa(0x16a)]():_0x269604;}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(_0x24f549,_0x33a147){const _0x3d734a=_0x276583;let _0x37808d='',_0x169d0a=_0x24f549;for(const {value:_0x487373,numeral:_0xd16967}of V)for(;_0x169d0a>=_0x487373;)_0x37808d+=_0xd16967,_0x169d0a-=_0x487373;return _0x33a147?_0x37808d:_0x37808d[_0x3d734a(0x18a)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x4333d5,ButtonView as _0x511c50,ContextualBalloon as _0x7d93b6,createDropdown as _0x6296a8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x323918}from'ckeditor5/src/widget.js';import{Plugin as _0x3a7d3b}from'ckeditor5/src/core.js';import{IconFootnote as _0x9be71e,IconListStyleDecimal as _0x3948b8,IconListStyleDecimalLeadingZero as _0x1513eb,IconListStyleLowerLatin as _0x595851,IconListStyleLowerRoman as _0x3ada85,IconListStyleUpperLatin as _0x81318f,IconListStyleUpperRoman as _0x34cb5a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4f2a21}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3aa7eb}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3a7d3b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x7d93b6,_0x323918];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f110b}=this,{componentFactory:_0x4b7bc0}=_0x3f110b['ui'];_0x3f110b['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4b7bc0['add']('footnotesStyle',function(_0x3558d4){return _0x157f9=>{const {t:t}=_0x157f9,_0x5b13cb=_0x3558d4['commands']['get']('footnotesStyle'),_0x53a7cc=_0x6296a8(_0x157f9),{buttonView:_0x463775}=_0x53a7cc;return _0x53a7cc['class']='ck-footnotes-styles-dropdown',_0x53a7cc['bind']('isEnabled')['to'](_0x5b13cb,'isEnabled'),_0x463775['set']({'label':t('Footnotes\x20style'),'icon':_0x9be71e,'tooltip':!0x0}),_0x53a7cc['once']('change:isOpen',()=>{const _0x193e68=function({editor:_0x299611,dropdownView:_0x48e83f}){const {t:t}=_0x299611['locale'],_0x271361=t('Footnotes\x20definitions\x20styles'),_0x5f5237=function(_0xecf92d){const t=_0xecf92d['locale']['t'],_0x555414=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3948b8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1513eb},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3ada85},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34cb5a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x595851},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x81318f}];return _0x555414['map'](function(_0xd6373a){const _0xc19448=_0xd6373a['locale'];return({label:_0x4da9fd,icon:_0x171b7a,tooltip:_0x25b9c3,style:_0x1a2dc2})=>{const _0x3974a9=_0xd6373a['commands']['get']('footnotesStyle'),_0x152f83=new _0x511c50(_0xc19448);return _0x152f83['set']({'label':_0x4da9fd,'icon':_0x171b7a,'tooltip':_0x25b9c3}),_0x152f83['bind']('isOn')['to'](_0x3974a9,'value',_0x425858=>_0x425858===_0x1a2dc2),_0x152f83['bind']('isEnabled')['to'](_0x3974a9,'isEnabled'),_0x152f83['on']('execute',()=>{_0xd6373a['execute']('footnotesStyle',{'value':_0x1a2dc2}),_0xd6373a['editing']['view']['focus']();}),_0x152f83;};}(_0xecf92d));}(_0x299611),_0x585d9c=new _0x4f2a21(_0x299611['locale'],{'styleGridAriaLabel':_0x271361,'styleButtonViews':_0x5f5237}),_0x1f8fe0=_0x299611['commands']['get']('footnotesStart');return _0x585d9c['startIndexFieldView']['bind']('isEnabled')['to'](_0x1f8fe0),_0x585d9c['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1f8fe0),_0x585d9c['on']('footnotesListStart',(_0x3a8d5e,_0x8501ae)=>{_0x299611['execute']('footnotesStart',{'value':_0x8501ae['startIndex']});}),_0x585d9c['delegate']('execute')['to'](_0x48e83f),_0x585d9c;}({'editor':_0x3558d4,'dropdownView':_0x53a7cc});_0x53a7cc['panelView']['children']['add'](_0x193e68);}),_0x53a7cc;};}(_0x3f110b));}['afterInit'](){const {editor:_0x5371d1}=this,{t:t}=_0x5371d1['locale'],_0x594902=_0x5371d1['plugins']['get'](_0x323918),{defaultPositions:_0x2449ab}=_0x4333d5;_0x594902['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5371d1['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2da0ab=>{let _0x20dff7=_0x2da0ab['getFirstPosition']()?.['parent'];return _0x20dff7?.['is']('$text')&&(_0x20dff7=_0x20dff7['parent']),_0x20dff7?.['is']('element')?_0x20dff7['findAncestor'](_0x3aa7eb):null;},'positions':[_0x2449ab['southArrowNorth'],_0x2449ab['southArrowNorthMiddleWest'],_0x2449ab['southArrowNorthMiddleEast'],_0x2449ab['southArrowNorthWest'],_0x2449ab['southArrowNorthEast'],_0x2449ab['northArrowSouth'],_0x2449ab['northArrowSouthMiddleWest'],_0x2449ab['northArrowSouthMiddleEast'],_0x2449ab['northArrowSouthWest'],_0x2449ab['northArrowSouthEast'],_0x2449ab['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x1b3447,View as _0x1e686b,ViewCollection as _0x27e4e7,FocusCycler as _0x537fac,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 _0x1e686b{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x27e4e7();['focusCycler'];constructor(_0xe1703f,{styleButtonViews:_0x3140a3,styleGridAriaLabel:_0xfad730}){super(_0xe1703f),(this['focusCycler']=new _0x537fac({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3140a3,_0xfad730),[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 _0x28ec50 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x28ec50['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 _0x32172a=_0x2d539a=>_0x2d539a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32172a),this['keystrokes']['set']('arrowleft',_0x32172a),this['keystrokes']['set']('arrowup',_0x32172a),this['keystrokes']['set']('arrowdown',_0x32172a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x48d0f1,_0x3690c6){const _0x46c7e3=new _0x1e686b(this['locale']);return _0x46c7e3['children']=_0x46c7e3['createCollection'](),_0x46c7e3['children']['addMany'](_0x48d0f1),_0x46c7e3['setTemplate']({'tag':'div','attributes':{'aria-label':_0x3690c6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x46c7e3['children']}),_0x46c7e3['children']['delegate']('execute')['to'](this),_0x46c7e3['focus']=function(){for(const _0x1d30f4 of this['children'])if(_0x1d30f4 instanceof _0x1b3447&&_0x1d30f4['isOn'])return void _0x1d30f4['focus']();this['children']['first']['focus']();},_0x46c7e3['focusTracker']=new ot(),_0x46c7e3['keystrokes']=new rt(),_0x46c7e3['render'](),_0x46c7e3['keystrokes']['listenTo'](_0x46c7e3['element']),this['children']['add'](_0x46c7e3),_0x46c7e3;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x27fe86=this['_createStartIndexPropertyView'](),_0x43ffc8=[_0x27fe86],_0x365747=new st(this['locale'],_0x43ffc8);return _0x365747['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x365747['buttonView']['bind']('isEnabled')['toMany'](_0x43ffc8,'isEnabled',(..._0x2f93e1)=>_0x2f93e1['some'](_0x4cfe7d=>_0x4cfe7d)),_0x365747['buttonView']['on']('change:isEnabled',(_0x3cb8f0,_0x1d66bf,_0x320d5c)=>{_0x320d5c||(_0x365747['isCollapsed']=!0x0);}),this['children']['add'](_0x365747),[_0x27fe86,_0x365747];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x35fbab=new it(this['locale'],et);return _0x35fbab['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x35fbab['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x35fbab['fieldView']['on']('input',()=>{const _0x52c810=_0x35fbab['fieldView']['element'],_0x4c627c=_0x52c810['valueAsNumber'];Number['isNaN'](_0x4c627c)?_0x35fbab['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x52c810['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4c627c}):_0x35fbab['errorText']=t(_0x4c627c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x35fbab;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x1541(_0x4daaed,_0x2d253e){var _0x4b7c51=_0x4b7c();return _0x1541=function(_0x154163,_0x94a07a){_0x154163=_0x154163-0x123;var _0x1055ad=_0x4b7c51[_0x154163];return _0x1055ad;},_0x1541(_0x4daaed,_0x2d253e);}function _0x4b7c(){var _0x32273a=['requires','pluginName','858308lHdRbj','1954295mRKfzj','6WnnXGD','60985GkxIwu','1189035isZKSt','8CLTbsz','384962AWuLkJ','94929DFNLUd','2IyyIJP','12jtBMgq','3993100oCXclL','72WIPEXM','isOfficialPlugin','FootnotesProperties','isPremiumPlugin'];_0x4b7c=function(){return _0x32273a;};return _0x4b7c();}var _0x462f9c=_0x1541;(function(_0x3d39d5,_0x4a1b51){var _0x1a74a7=_0x1541,_0x2566db=_0x3d39d5();while(!![]){try{var _0x486178=parseInt(_0x1a74a7(0x126))/0x1*(parseInt(_0x1a74a7(0x124))/0x2)+-parseInt(_0x1a74a7(0x125))/0x3+-parseInt(_0x1a74a7(0x129))/0x4*(parseInt(_0x1a74a7(0x132))/0x5)+-parseInt(_0x1a74a7(0x131))/0x6*(parseInt(_0x1a74a7(0x130))/0x7)+parseInt(_0x1a74a7(0x123))/0x8*(-parseInt(_0x1a74a7(0x133))/0x9)+parseInt(_0x1a74a7(0x128))/0xa+-parseInt(_0x1a74a7(0x12f))/0xb*(-parseInt(_0x1a74a7(0x127))/0xc);if(_0x486178===_0x4a1b51)break;else _0x2566db['push'](_0x2566db['shift']());}catch(_0x5a61b2){_0x2566db['push'](_0x2566db['shift']());}}}(_0x4b7c,0x30c83));import{Plugin as _0xc7b04d}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x5d27e1}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4e4afb}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xc7b04d{static get[_0x462f9c(0x12e)](){var _0x6e29a=_0x462f9c;return _0x6e29a(0x12b);}static get[_0x462f9c(0x12d)](){return[_0x5d27e1,_0x4e4afb];}static get[_0x462f9c(0x12a)](){return!0x0;}static get[_0x462f9c(0x12c)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x5223(){const _0x6c601c=['_updateFootnotesCounters','root','createRangeOn','definition','unshift','splice','isEqual','childCount','pluginName','end','indexOf','footnotes.multiBlock','FootnotesTracker','rootName','change:data','isPremiumPlugin','_updateFootnoteRefCounter','getAttribute','editor','config','isOfficialPlugin','setAttribute','some','find','133119RUZfDJ','createPositionBefore','171141pxJIcQ','_handleFootnotesDefinitionsObjectChanges','before','parent','_footnotes','findIndex','427225oRCSqT','set','after','add','_handleFootnoteDefinitionsChanges','listenTo','4YLPFqs','_handleInsertedFootnoteReference','registerPostFixer','4207379Ryxpss','append','334629kTjUmr','document','high','model','footnotesDefinitions','_handleFootnotesDefinitionsObjectSync','low','footnoteId','setFootnoteFormatter','getFootnotesDefinitionsObjectElement','4uRpcED','_footnoteDefsTracker','footnoteCounter','getChildren','reset','move','getFootnote','8TxzvDh','_insertEmptyFootnotesDefinitionsContainer','push','min','10UYLKlB','getRootNames','map','get','footnoteRef','_handleFootnoteReferencesChanges','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','footnoteDefinition','_handleRemoveFootnoteReferenceById','_footnoteRefsTracker','remove','singleton','reference','$graveyard','_footnoteDefsContainerTracker','_sortFootnoteDefinitions','insert','has','createPositionAt','from','getFootnotes','_footnoteFormatter','110312tUgBXh','paragraph','compareWith','createRangeIn','getFootnotesFormatter','footnoteInlineContent','length','_handleMovedFootnoteReference','init','_ensureFootnotesDefinitionsContainerExists','enqueueChange','createElement','getChanges','912714qDYFdp','differ'];_0x5223=function(){return _0x6c601c;};return _0x5223();}function _0x2712(_0x1eae39,_0x135dd7){const _0x522381=_0x5223();return _0x2712=function(_0x271233,_0x59f533){_0x271233=_0x271233-0x13c;let _0x3dce8f=_0x522381[_0x271233];return _0x3dce8f;},_0x2712(_0x1eae39,_0x135dd7);}const _0x597d15=_0x2712;(function(_0x348205,_0x162f80){const _0x238d12=_0x2712,_0x320264=_0x348205();while(!![]){try{const _0x646e06=parseInt(_0x238d12(0x192))/0x1*(parseInt(_0x238d12(0x14e))/0x2)+parseInt(_0x238d12(0x177))/0x3*(parseInt(_0x238d12(0x183))/0x4)+parseInt(_0x238d12(0x17d))/0x5+parseInt(_0x238d12(0x15b))/0x6+parseInt(_0x238d12(0x175))/0x7*(parseInt(_0x238d12(0x199))/0x8)+parseInt(_0x238d12(0x188))/0x9*(-parseInt(_0x238d12(0x19d))/0xa)+-parseInt(_0x238d12(0x186))/0xb;if(_0x646e06===_0x162f80)break;else _0x320264['push'](_0x320264['shift']());}catch(_0x5c64cb){_0x320264['push'](_0x320264['shift']());}}}(_0x5223,0x1bf96));import{Plugin as _0x48a776}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x29162a}from'./modelelementtracker.js';export class FootnotesTracker extends _0x48a776{[_0x597d15(0x17b)]=[];[_0x597d15(0x13e)]=null;[_0x597d15(0x14d)]=null;[_0x597d15(0x146)];[_0x597d15(0x141)];[_0x597d15(0x193)];static get[_0x597d15(0x165)](){const _0x1148f7=_0x597d15;return _0x1148f7(0x169);}static get[_0x597d15(0x171)](){return!0x0;}static get[_0x597d15(0x16c)](){return!0x0;}constructor(_0x3aa28f){const _0x2ff751=_0x597d15;super(_0x3aa28f),this[_0x2ff751(0x146)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x18c),'getElementKey':()=>_0x2ff751(0x143)}),this[_0x2ff751(0x141)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x1a1),'getElementKey':_0x58689b=>_0x58689b[_0x2ff751(0x16e)](_0x2ff751(0x18f))}),this[_0x2ff751(0x193)]=new _0x29162a(this[_0x2ff751(0x16f)][_0x2ff751(0x18b)],{'elementName':_0x2ff751(0x13f),'getElementKey':_0x1a1451=>_0x1a1451[_0x2ff751(0x16e)](_0x2ff751(0x18f))});}[_0x597d15(0x156)](){const _0x4b961e=_0x597d15,{editor:_0x2ef299}=this,{model:_0x4ac2ef,data:_0x15e58a}=_0x2ef299;_0x4ac2ef[_0x4b961e(0x189)][_0x4b961e(0x185)](_0x2bbc72=>{const _0x100afe=_0x4b961e,_0x41a501=_0x4ac2ef[_0x100afe(0x189)][_0x100afe(0x15c)][_0x100afe(0x15a)]();let _0x3ae616=!0x1;return this[_0x100afe(0x178)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x181)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x13c)](_0x2bbc72,_0x41a501)&&(_0x3ae616=!0x0),this[_0x100afe(0x13d)](_0x2bbc72)&&(_0x3ae616=!0x0),this[_0x100afe(0x18d)](_0x2bbc72)&&(_0x3ae616=!0x0),this[_0x100afe(0x147)](_0x2bbc72)&&(_0x3ae616=!0x0),_0x3ae616;}),this[_0x4b961e(0x182)](_0x4ac2ef[_0x4b961e(0x189)],_0x4b961e(0x16b),()=>{const _0x11c653=_0x4b961e;_0x4ac2ef[_0x11c653(0x158)]({'isUndoable':!0x1},_0x5614fa=>{const _0x224055=_0x11c653;this[_0x224055(0x157)](_0x5614fa);});},{'priority':_0x4b961e(0x18e)}),this[_0x4b961e(0x182)](_0x15e58a,_0x4b961e(0x17e),()=>{const _0x505742=_0x4b961e;this[_0x505742(0x17b)]=[],this[_0x505742(0x146)][_0x505742(0x196)](),this[_0x505742(0x141)][_0x505742(0x196)](),this[_0x505742(0x193)][_0x505742(0x196)]();},{'priority':_0x4b961e(0x18a)});}[_0x597d15(0x191)](){const _0x268388=_0x597d15;return this[_0x268388(0x13e)];}[_0x597d15(0x198)](_0x9559b1){const _0x27e158=_0x597d15;return this[_0x27e158(0x17b)][_0x27e158(0x174)](_0x50c9f0=>_0x50c9f0['id']===_0x9559b1)||null;}[_0x597d15(0x14c)](){const _0x52f477=_0x597d15;return Array[_0x52f477(0x14b)](this[_0x52f477(0x17b)]);}[_0x597d15(0x152)](){const _0x586068=_0x597d15;return this[_0x586068(0x14d)];}[_0x597d15(0x190)](_0x2c180b){const _0x69284b=_0x597d15;this[_0x69284b(0x14d)]=_0x2c180b;}[_0x597d15(0x15d)](_0x46229c,_0x49da7e=0x0){const _0x316f1b=_0x597d15;let _0x4d7070=!0x1;for(let _0x6609af=_0x49da7e;_0x6609af<this[_0x316f1b(0x17b)][_0x316f1b(0x154)];_0x6609af++)this[_0x316f1b(0x16d)](_0x46229c,_0x6609af)&&(_0x4d7070=!0x0);return _0x4d7070;}[_0x597d15(0x19a)](_0x28c7d0,_0x142467){const _0x3d73c7=_0x597d15,_0x4d3dda=_0x28c7d0[_0x3d73c7(0x159)](_0x3d73c7(0x18c),{});return _0x28c7d0[_0x3d73c7(0x187)](_0x4d3dda,_0x142467),this[_0x3d73c7(0x13e)]=_0x4d3dda,_0x4d3dda;}[_0x597d15(0x157)](_0x3f6d62){const _0x498fec=_0x597d15;if(!this[_0x498fec(0x17b)][_0x498fec(0x154)]||this[_0x498fec(0x13e)])return;const _0x34d312=this[_0x498fec(0x17b)][0x0][_0x498fec(0x144)][_0x498fec(0x15e)],_0x336591=this[_0x498fec(0x19a)](_0x3f6d62,_0x34d312);for(const _0xfe1fb4 of this[_0x498fec(0x17b)])_0xfe1fb4[_0x498fec(0x160)][_0x498fec(0x17a)]||_0x3f6d62[_0x498fec(0x148)](_0xfe1fb4[_0x498fec(0x160)],_0x336591,_0x498fec(0x166));this[_0x498fec(0x15d)](_0x3f6d62);}[_0x597d15(0x178)](_0xd9d4bf,_0x1ca2a8){const _0x35ecdc=_0x597d15;let _0x2c0b81=!0x1;const {inserted:_0x148575,removed:_0x106c1c,moved:_0x44208a}=this[_0x35ecdc(0x146)][_0x35ecdc(0x15a)](_0x1ca2a8);if(_0x44208a[_0x35ecdc(0x154)]&&(this[_0x35ecdc(0x13e)]=_0x44208a[0x0]),_0x148575[_0x35ecdc(0x154)]){if(_0x148575[_0x35ecdc(0x154)]>0x1||this[_0x35ecdc(0x13e)]&&_0x148575[_0x35ecdc(0x173)](_0x5162e5=>_0x5162e5!==this[_0x35ecdc(0x13e)])){const _0x36d71d=_0xd9d4bf[_0x35ecdc(0x159)](_0x35ecdc(0x18c),{}),_0xe1941b=[];this[_0x35ecdc(0x13e)]&&_0xe1941b[_0x35ecdc(0x19b)](this[_0x35ecdc(0x13e)]),_0xe1941b[_0x35ecdc(0x19b)](..._0x148575),_0xd9d4bf[_0x35ecdc(0x148)](_0x36d71d,_0xe1941b[0x0],_0x35ecdc(0x179));for(const _0x346b11 of _0xe1941b)_0xd9d4bf[_0x35ecdc(0x197)](_0xd9d4bf[_0x35ecdc(0x151)](_0x346b11),_0xd9d4bf[_0x35ecdc(0x14a)](_0x36d71d,_0x35ecdc(0x166))),_0xd9d4bf[_0x35ecdc(0x142)](_0x346b11);this[_0x35ecdc(0x13e)]=_0x36d71d,this[_0x35ecdc(0x15d)](_0xd9d4bf),_0x2c0b81=!0x0;}else this[_0x35ecdc(0x13e)]=_0x148575[0x0];}if(_0x106c1c[_0x35ecdc(0x154)]&&_0x35ecdc(0x145)===this[_0x35ecdc(0x13e)]?.[_0x35ecdc(0x15e)][_0x35ecdc(0x16a)]){for(const _0x62d3b2 of this[_0x35ecdc(0x17b)])_0xd9d4bf[_0x35ecdc(0x142)](_0x62d3b2[_0x35ecdc(0x144)]),_0x2c0b81=!0x0;this[_0x35ecdc(0x17b)]=[],this[_0x35ecdc(0x13e)]=null;}return _0x2c0b81;}[_0x597d15(0x181)](_0x2b59c4,_0x1c195b){const _0x42769f=_0x597d15;let _0x18cb20=!0x1;const _0x3c77bb=this[_0x42769f(0x16f)][_0x42769f(0x170)][_0x42769f(0x1a0)](_0x42769f(0x168)),{inserted:_0x5bd45e,moved:_0x35b783}=this[_0x42769f(0x193)][_0x42769f(0x15a)](_0x1c195b);for(const _0x1ed230 of[..._0x35b783,..._0x5bd45e]){const _0x1be4da=_0x1ed230[_0x42769f(0x16e)](_0x42769f(0x18f)),_0x146891=this[_0x42769f(0x198)](_0x1be4da);_0x146891&&(_0x146891[_0x42769f(0x160)]=_0x1ed230),_(_0x2b59c4,_0x3c77bb,_0x1ed230)&&(_0x18cb20=!0x0);}return _0x18cb20;}[_0x597d15(0x13c)](_0xbcff22,_0x33ec6e){const _0x53a455=_0x597d15;let _0x3e8e4d=!0x1;const {removed:_0x5590c1,inserted:_0x361f8c,moved:_0x3b7e47}=this[_0x53a455(0x141)][_0x53a455(0x15a)](_0x33ec6e);for(const _0xa71a15 of _0x5590c1)this[_0x53a455(0x140)](_0xbcff22,_0xa71a15)&&(_0x3e8e4d=!0x0);for(const _0x25e9fd of _0x361f8c)this[_0x53a455(0x184)](_0xbcff22,_0x25e9fd)&&(_0x3e8e4d=!0x0);for(const _0x846258 of _0x3b7e47)this[_0x53a455(0x155)](_0xbcff22,_0x846258)&&(_0x3e8e4d=!0x0);return _0x3e8e4d;}[_0x597d15(0x18d)](_0x3abac1){const _0x17613a=_0x597d15;if(!this[_0x17613a(0x13e)])return!0x1;let _0x3430c9=!0x1;if(this[_0x17613a(0x13e)][_0x17613a(0x164)]!==this[_0x17613a(0x17b)][_0x17613a(0x154)]){const _0x32f4e=[];for(const _0x48666f of this[_0x17613a(0x13e)][_0x17613a(0x195)]()){const _0x527801=_0x48666f[_0x17613a(0x16e)](_0x17613a(0x18f));this[_0x17613a(0x198)](_0x527801)||(_0x32f4e[_0x17613a(0x161)](_0x48666f),_0x3430c9=!0x0);}for(const _0x5bbe5a of _0x32f4e)_0x3abac1[_0x17613a(0x142)](_0x5bbe5a);}const _0x5e43d5=new Set(),_0x5365de=[];for(const _0x1494d5 of this[_0x17613a(0x13e)][_0x17613a(0x195)]()){const _0x5e60a5=_0x1494d5[_0x17613a(0x16e)](_0x17613a(0x18f));_0x5e43d5[_0x17613a(0x149)](_0x5e60a5)?(_0x5365de[_0x17613a(0x161)](_0x1494d5),_0x3430c9=!0x0):_0x5e43d5[_0x17613a(0x180)](_0x5e60a5);}for(const _0x14ba58 of _0x5365de)_0x3abac1[_0x17613a(0x142)](_0x14ba58);return this[_0x17613a(0x13e)][_0x17613a(0x164)]||(_0x3abac1[_0x17613a(0x142)](this[_0x17613a(0x13e)]),this[_0x17613a(0x13e)]=null,_0x3430c9=!0x0),_0x3430c9;}[_0x597d15(0x184)](_0x59f807,_0x31cdd7){const _0x365f3e=_0x597d15;if(this[_0x365f3e(0x17b)][_0x365f3e(0x174)](_0x3e0139=>_0x3e0139[_0x365f3e(0x144)]===_0x31cdd7))return!0x1;let _0x5c70d7=!0x1;const _0x1a0304=_0x31cdd7[_0x365f3e(0x16e)](_0x365f3e(0x18f)),_0x293d24=this[_0x365f3e(0x17b)][_0x365f3e(0x17c)](_0x8aacd7=>_0x8aacd7['id']===_0x1a0304);-0x1!==_0x293d24&&(_0x59f807[_0x365f3e(0x142)](this[_0x365f3e(0x17b)][_0x293d24][_0x365f3e(0x144)]),this[_0x365f3e(0x17b)][_0x365f3e(0x162)](_0x293d24,0x1),_0x5c70d7=!0x0);let _0x3fe470=this[_0x365f3e(0x13e)]?function(_0x2e6efb,_0xa34c8a){const _0x3d461b=_0x365f3e;for(const _0x333bd2 of _0x2e6efb[_0x3d461b(0x195)]())if(_0x333bd2[_0x3d461b(0x16e)](_0x3d461b(0x18f))===_0xa34c8a)return _0x333bd2;return null;}(this[_0x365f3e(0x13e)],_0x1a0304):null;_0x3fe470||(_0x3fe470=_0x59f807[_0x365f3e(0x159)](_0x365f3e(0x13f),{'footnoteId':_0x1a0304}),this[_0x365f3e(0x13e)]&&(_0x59f807[_0x365f3e(0x148)](_0x3fe470,this[_0x365f3e(0x13e)],_0x365f3e(0x166)),_0x5c70d7=!0x0));const _0xe3532f={'id':_0x1a0304,'reference':_0x31cdd7,'definition':_0x3fe470},_0x3e8877=I(this[_0x365f3e(0x16f)][_0x365f3e(0x18b)],this[_0x365f3e(0x17b)],_0x31cdd7);this[_0x365f3e(0x17b)][_0x365f3e(0x162)](_0x3e8877,0x0,_0xe3532f);let _0x494311=_0x3e8877;return-0x1!==_0x293d24&&(_0x494311=Math[_0x365f3e(0x19c)](_0x3e8877,_0x293d24)),this[_0x365f3e(0x15d)](_0x59f807,_0x494311)&&(_0x5c70d7=!0x0),_0x5c70d7;}[_0x597d15(0x140)](_0xf0eb76,_0x1c47d5){const _0x3db561=_0x597d15,_0x16d838=this[_0x3db561(0x17b)][_0x3db561(0x17c)](_0x551359=>_0x551359['id']===_0x1c47d5);if(-0x1===_0x16d838)return!0x1;let _0x46c1f7=!0x1;const _0x51ee92=this[_0x3db561(0x17b)][_0x16d838];return _0x3db561(0x145)!==_0x51ee92[_0x3db561(0x160)][_0x3db561(0x15e)][_0x3db561(0x16a)]&&(_0xf0eb76[_0x3db561(0x142)](_0x51ee92[_0x3db561(0x160)]),_0x46c1f7=!0x0),this[_0x3db561(0x17b)][_0x3db561(0x162)](_0x16d838,0x1),this[_0x3db561(0x15d)](_0xf0eb76,_0x16d838)&&(_0x46c1f7=!0x0),_0x46c1f7;}[_0x597d15(0x155)](_0x1a3f5e,_0xa4f7e0){const _0x86e031=_0x597d15,_0x47541c=_0xa4f7e0[_0x86e031(0x16e)](_0x86e031(0x18f)),_0x1c47ac=this[_0x86e031(0x17b)][_0x86e031(0x17c)](_0x467a59=>_0x467a59['id']===_0x47541c),_0x444cb3=this[_0x86e031(0x17b)][_0x1c47ac];let _0x5c46dd=!0x1;_0x444cb3[_0x86e031(0x144)]=_0xa4f7e0,this[_0x86e031(0x17b)][_0x86e031(0x162)](_0x1c47ac,0x1);const _0x4bcf32=I(this[_0x86e031(0x16f)][_0x86e031(0x18b)],this[_0x86e031(0x17b)],_0xa4f7e0);return this[_0x86e031(0x17b)][_0x86e031(0x162)](_0x4bcf32,0x0,_0x444cb3),this[_0x86e031(0x15d)](_0x1a3f5e,Math[_0x86e031(0x19c)](_0x1c47ac,_0x4bcf32))&&(_0x5c46dd=!0x0),_0x5c46dd;}[_0x597d15(0x16d)](_0x462678,_0x4fd95b){const _0x31b197=_0x597d15;if(!this[_0x31b197(0x13e)])return!0x1;const _0x56f336=this[_0x31b197(0x17b)][_0x4fd95b];let _0x5d79e5;return _0x5d79e5=this[_0x31b197(0x14d)]?this[_0x31b197(0x14d)]({'footnote':_0x56f336,'container':this[_0x31b197(0x13e)],'digits':String(this[_0x31b197(0x17b)][_0x31b197(0x154)])[_0x31b197(0x154)],'value':_0x4fd95b+0x1}):String(_0x4fd95b+0x1),_0x56f336[_0x31b197(0x144)][_0x31b197(0x16e)](_0x31b197(0x194))!=_0x5d79e5&&(_0x462678[_0x31b197(0x172)](_0x31b197(0x194),_0x5d79e5,_0x56f336[_0x31b197(0x144)]),!0x0);}[_0x597d15(0x147)](_0x40f1c6){const _0x3eb80d=_0x597d15;if(!this[_0x3eb80d(0x13e)]||this[_0x3eb80d(0x17b)][_0x3eb80d(0x154)]<0x2)return!0x1;if(function(_0x544614,_0x54f872){const _0x142ab8=_0x3eb80d;if(_0x544614[_0x142ab8(0x154)]!==_0x54f872[_0x142ab8(0x154)])return!0x1;for(let _0x1cd6ef=0x0;_0x1cd6ef<_0x544614[_0x142ab8(0x154)];_0x1cd6ef++)if(_0x544614[_0x1cd6ef]!==_0x54f872[_0x1cd6ef])return!0x1;return!0x0;}(this[_0x3eb80d(0x17b)][_0x3eb80d(0x19f)](_0x20f681=>_0x20f681['id']),Array[_0x3eb80d(0x14b)](this[_0x3eb80d(0x13e)][_0x3eb80d(0x195)]())[_0x3eb80d(0x19f)](_0x9b98fb=>_0x9b98fb[_0x3eb80d(0x16e)](_0x3eb80d(0x18f)))))return!0x1;let _0x44ce7b=!0x1;for(let _0x415138=0x0;_0x415138<this[_0x3eb80d(0x17b)][_0x3eb80d(0x154)];_0x415138++){const _0x3fb03c=this[_0x3eb80d(0x17b)][_0x415138],_0x48ba7d=_0x40f1c6[_0x3eb80d(0x176)](_0x3fb03c[_0x3eb80d(0x160)]),_0xb1c21f=_0x40f1c6[_0x3eb80d(0x14a)](this[_0x3eb80d(0x13e)],_0x415138);_0x48ba7d[_0x3eb80d(0x163)](_0xb1c21f)||(_0x40f1c6[_0x3eb80d(0x197)](_0x40f1c6[_0x3eb80d(0x15f)](_0x3fb03c[_0x3eb80d(0x160)]),_0xb1c21f),_0x44ce7b=!0x0);}return _0x44ce7b;}[_0x597d15(0x13d)](_0xb47338){const _0x4e5a40=_0x597d15;if(!this[_0x4e5a40(0x17b)][_0x4e5a40(0x154)])return!0x1;const {model:_0x550c79}=this[_0x4e5a40(0x16f)];let _0x4efc06=!0x1;for(let _0x5edc33=0x0;_0x5edc33<this[_0x4e5a40(0x17b)][_0x4e5a40(0x154)]-0x1;_0x5edc33++){const _0x21be02=this[_0x4e5a40(0x17b)][_0x5edc33],_0x5a29b0=this[_0x4e5a40(0x17b)][_0x5edc33+0x1],_0x10879e=_0x550c79[_0x4e5a40(0x176)](_0x21be02[_0x4e5a40(0x144)]),_0x23d07e=_0x550c79[_0x4e5a40(0x176)](_0x5a29b0[_0x4e5a40(0x144)]);_0x4e5a40(0x17f)===_0x10879e[_0x4e5a40(0x150)](_0x23d07e)&&(this[_0x4e5a40(0x155)](_0xb47338,_0x21be02[_0x4e5a40(0x144)]),_0x5edc33=-0x1,_0x4efc06=!0x0);}return _0x4efc06;}}function _(_0x3de1ec,_0x1bf9db,_0x1eea40){const _0x28229e=_0x597d15;if(_0x1eea40[_0x28229e(0x164)])return!0x1;const _0x203071=_0x1bf9db?_0x28229e(0x14f):_0x28229e(0x153);return _0x3de1ec[_0x28229e(0x148)](_0x3de1ec[_0x28229e(0x159)](_0x203071),_0x1eea40),!0x0;}function I(_0x29e1b8,_0x45bef4,_0x5a8c81){const _0x44ab09=_0x597d15;if(0x0===_0x45bef4[_0x44ab09(0x154)])return 0x0;const _0x1f51cc=_0x29e1b8[_0x44ab09(0x176)](_0x5a8c81);for(let _0x2d6e21=0x0;_0x2d6e21<_0x45bef4[_0x44ab09(0x154)];_0x2d6e21++){const _0x8e72c0=_0x45bef4[_0x2d6e21],_0x11053=_0x29e1b8[_0x44ab09(0x176)](_0x8e72c0[_0x44ab09(0x144)]);if(_0x44ab09(0x179)===_0x1f51cc[_0x44ab09(0x150)](_0x11053))return _0x2d6e21;}const _0x218b22=_0x5a8c81[_0x44ab09(0x15e)];let _0x481870=-0x1;for(let _0xd9e23b=_0x45bef4[_0x44ab09(0x154)]-0x1;_0xd9e23b>=0x0;_0xd9e23b--)if(_0x45bef4[_0xd9e23b][_0x44ab09(0x144)][_0x44ab09(0x15e)]===_0x218b22){_0x481870=_0xd9e23b;break;}if(-0x1!==_0x481870)return _0x481870+0x1;const _0x10ef5c=_0x29e1b8[_0x44ab09(0x189)][_0x44ab09(0x19e)](),_0xaeb2bc=_0x10ef5c[_0x44ab09(0x167)](_0x218b22[_0x44ab09(0x16a)]),_0x1cc2bf=_0x10ef5c[_0xaeb2bc+0x1];if(_0x1cc2bf){for(let _0x43c2b6=0x0;_0x43c2b6<_0x45bef4[_0x44ab09(0x154)];_0x43c2b6++)if(_0x45bef4[_0x43c2b6][_0x44ab09(0x144)][_0x44ab09(0x15e)][_0x44ab09(0x16a)]===_0x1cc2bf)return _0x43c2b6;}return _0x45bef4[_0x44ab09(0x154)];}
|
|
23
|
+
const _0x482b29=_0x4a01;(function(_0x4769c5,_0x2d81e1){const _0x290db2=_0x4a01,_0x262bdb=_0x4769c5();while(!![]){try{const _0xe85e91=-parseInt(_0x290db2(0x7e))/0x1*(-parseInt(_0x290db2(0xc4))/0x2)+-parseInt(_0x290db2(0xc7))/0x3*(parseInt(_0x290db2(0x81))/0x4)+-parseInt(_0x290db2(0xbc))/0x5*(-parseInt(_0x290db2(0xcd))/0x6)+parseInt(_0x290db2(0xe3))/0x7*(-parseInt(_0x290db2(0xbb))/0x8)+parseInt(_0x290db2(0xad))/0x9+-parseInt(_0x290db2(0xb4))/0xa+-parseInt(_0x290db2(0xc1))/0xb*(-parseInt(_0x290db2(0xbf))/0xc);if(_0xe85e91===_0x2d81e1)break;else _0x262bdb['push'](_0x262bdb['shift']());}catch(_0x14b24c){_0x262bdb['push'](_0x262bdb['shift']());}}}(_0x14fb,0x847af));import{Plugin as _0x2d4f10}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x15e515}from'./modelelementtracker.js';function _0x4a01(_0x4ae157,_0x5603c9){const _0x14fb27=_0x14fb();return _0x4a01=function(_0x4a01c2,_0x5913f0){_0x4a01c2=_0x4a01c2-0x7e;let _0x431cac=_0x14fb27[_0x4a01c2];return _0x431cac;},_0x4a01(_0x4ae157,_0x5603c9);}export class FootnotesTracker extends _0x2d4f10{[_0x482b29(0x99)]=[];[_0x482b29(0xa9)]=null;[_0x482b29(0xc6)]=null;[_0x482b29(0x95)];[_0x482b29(0xa0)];[_0x482b29(0xc0)];static get[_0x482b29(0xd0)](){const _0x3f2695=_0x482b29;return _0x3f2695(0x98);}static get[_0x482b29(0x82)](){return!0x0;}static get[_0x482b29(0xd3)](){return!0x0;}constructor(_0x372a73){const _0x285723=_0x482b29;super(_0x372a73),this[_0x285723(0x95)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0x8e),'getElementKey':()=>_0x285723(0xcb)}),this[_0x285723(0xa0)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0x9f),'getElementKey':_0x5e31f1=>_0x5e31f1[_0x285723(0xdb)](_0x285723(0xdf))}),this[_0x285723(0xc0)]=new _0x15e515(this[_0x285723(0xa6)][_0x285723(0x8d)],{'elementName':_0x285723(0xb8),'getElementKey':_0x23b8b0=>_0x23b8b0[_0x285723(0xdb)](_0x285723(0xdf))});}[_0x482b29(0x83)](){const _0xc2a880=_0x482b29,{editor:_0x5aa66c}=this,{model:_0x23545e,data:_0x5bfa07}=_0x5aa66c;_0x23545e[_0xc2a880(0xb9)][_0xc2a880(0x93)](_0x4c5c3a=>{const _0x112f6c=_0xc2a880,_0x1fff14=_0x23545e[_0x112f6c(0xb9)][_0x112f6c(0x8c)][_0x112f6c(0xd9)]();let _0x1f1dbd=!0x1;return this[_0x112f6c(0x97)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xa3)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xd2)](_0x4c5c3a,_0x1fff14)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xaa)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xc3)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),this[_0x112f6c(0xcc)](_0x4c5c3a)&&(_0x1f1dbd=!0x0),_0x1f1dbd;}),this[_0xc2a880(0x88)](_0x23545e[_0xc2a880(0xb9)],_0xc2a880(0x85),()=>{const _0x3460aa=_0xc2a880;_0x23545e[_0x3460aa(0x9b)]({'isUndoable':!0x1},_0xffc7d5=>{const _0x4d69da=_0x3460aa;this[_0x4d69da(0x9d)](_0xffc7d5);});},{'priority':_0xc2a880(0xc8)}),this[_0xc2a880(0x88)](_0x5bfa07,_0xc2a880(0xaf),()=>{const _0x5044bb=_0xc2a880;this[_0x5044bb(0x99)]=[],this[_0x5044bb(0x95)][_0x5044bb(0xb6)](),this[_0x5044bb(0xa0)][_0x5044bb(0xb6)](),this[_0x5044bb(0xc0)][_0x5044bb(0xb6)]();},{'priority':_0xc2a880(0x8b)});}[_0x482b29(0xba)](){const _0x4e3273=_0x482b29;return this[_0x4e3273(0xa9)];}[_0x482b29(0xa2)](_0x14edb9){const _0x33233a=_0x482b29;return this[_0x33233a(0x99)][_0x33233a(0xe2)](_0x49e3ee=>_0x49e3ee['id']===_0x14edb9)||null;}[_0x482b29(0xce)](){const _0x36316f=_0x482b29;return Array[_0x36316f(0x86)](this[_0x36316f(0x99)]);}[_0x482b29(0xe1)](){const _0x1fef77=_0x482b29;return this[_0x1fef77(0xc6)];}[_0x482b29(0xd4)](_0x564bc9){const _0x1bef83=_0x482b29;this[_0x1bef83(0xc6)]=_0x564bc9;}[_0x482b29(0xb0)](_0x3c29db,_0x594857=0x0){const _0x39ee41=_0x482b29;let _0x48e524=!0x1;for(let _0x5c2958=_0x594857;_0x5c2958<this[_0x39ee41(0x99)][_0x39ee41(0xdd)];_0x5c2958++)this[_0x39ee41(0xb2)](_0x3c29db,_0x5c2958)&&(_0x48e524=!0x0);return _0x48e524;}[_0x482b29(0xae)](_0x478b2b,_0x9c2580){const _0x20e473=_0x482b29,_0x1fa378=_0x478b2b[_0x20e473(0x91)](_0x20e473(0x8e),{});return _0x478b2b[_0x20e473(0xd6)](_0x1fa378,_0x9c2580),this[_0x20e473(0xa9)]=_0x1fa378,_0x1fa378;}[_0x482b29(0x9d)](_0x57cff6){const _0x752984=_0x482b29;if(!this[_0x752984(0x99)][_0x752984(0xdd)]||this[_0x752984(0xa9)])return;const _0x19d36e=this[_0x752984(0x99)][0x0][_0x752984(0x7f)][_0x752984(0xb5)],_0x3645bc=this[_0x752984(0xae)](_0x57cff6,_0x19d36e);for(const _0x829c4b of this[_0x752984(0x99)])_0x829c4b[_0x752984(0x94)][_0x752984(0xa4)]||_0x57cff6[_0x752984(0x8f)](_0x829c4b[_0x752984(0x94)],_0x3645bc,_0x752984(0xd8));this[_0x752984(0xb0)](_0x57cff6);}[_0x482b29(0x97)](_0x193f52,_0x3653b5){const _0x919f23=_0x482b29;let _0x38d0ad=!0x1;const {inserted:_0x3c457d,removed:_0x3a1cbb,moved:_0x5e1884}=this[_0x919f23(0x95)][_0x919f23(0xd9)](_0x3653b5);if(_0x5e1884[_0x919f23(0xdd)]&&(this[_0x919f23(0xa9)]=_0x5e1884[0x0]),_0x3c457d[_0x919f23(0xdd)]){if(_0x3c457d[_0x919f23(0xdd)]>0x1||this[_0x919f23(0xa9)]&&_0x3c457d[_0x919f23(0x96)](_0x33848b=>_0x33848b!==this[_0x919f23(0xa9)])){const _0x234a48=_0x193f52[_0x919f23(0x91)](_0x919f23(0x8e),{}),_0x775cde=[];this[_0x919f23(0xa9)]&&_0x775cde[_0x919f23(0xac)](this[_0x919f23(0xa9)]),_0x775cde[_0x919f23(0xac)](..._0x3c457d),_0x193f52[_0x919f23(0x8f)](_0x234a48,_0x775cde[0x0],_0x919f23(0x92));for(const _0x2ab926 of _0x775cde)_0x193f52[_0x919f23(0xcf)](_0x193f52[_0x919f23(0xd1)](_0x2ab926),_0x193f52[_0x919f23(0x87)](_0x234a48,_0x919f23(0xd8))),_0x193f52[_0x919f23(0xc2)](_0x2ab926);this[_0x919f23(0xa9)]=_0x234a48,this[_0x919f23(0xb0)](_0x193f52),_0x38d0ad=!0x0;}else this[_0x919f23(0xa9)]=_0x3c457d[0x0];}if(_0x3a1cbb[_0x919f23(0xdd)]&&_0x919f23(0xdc)===this[_0x919f23(0xa9)]?.[_0x919f23(0xb5)][_0x919f23(0xbd)]){for(const _0x23f164 of this[_0x919f23(0x99)])_0x193f52[_0x919f23(0xc2)](_0x23f164[_0x919f23(0x7f)]),_0x38d0ad=!0x0;this[_0x919f23(0x99)]=[],this[_0x919f23(0xa9)]=null;}return _0x38d0ad;}[_0x482b29(0xa3)](_0x30f436,_0x130826){const _0x37e6fa=_0x482b29;let _0x29ac31=!0x1;const _0x306d9b=this[_0x37e6fa(0xa6)][_0x37e6fa(0x89)][_0x37e6fa(0x8a)](_0x37e6fa(0xa8)),{inserted:_0x115ca5,moved:_0x955f8b}=this[_0x37e6fa(0xc0)][_0x37e6fa(0xd9)](_0x130826);for(const _0x2c7312 of[..._0x955f8b,..._0x115ca5]){const _0x409831=_0x2c7312[_0x37e6fa(0xdb)](_0x37e6fa(0xdf)),_0x4bbc3b=this[_0x37e6fa(0xa2)](_0x409831);_0x4bbc3b&&(_0x4bbc3b[_0x37e6fa(0x94)]=_0x2c7312),_(_0x30f436,_0x306d9b,_0x2c7312)&&(_0x29ac31=!0x0);}return _0x29ac31;}[_0x482b29(0xd2)](_0x4b5f9b,_0x2af047){const _0x3c12d6=_0x482b29;let _0x144d3b=!0x1;const {removed:_0x553d49,inserted:_0x1196be,moved:_0x439082}=this[_0x3c12d6(0xa0)][_0x3c12d6(0xd9)](_0x2af047);for(const _0x11a822 of _0x553d49)this[_0x3c12d6(0xa7)](_0x4b5f9b,_0x11a822)&&(_0x144d3b=!0x0);for(const _0x3674b3 of _0x1196be)this[_0x3c12d6(0xc9)](_0x4b5f9b,_0x3674b3)&&(_0x144d3b=!0x0);for(const _0x5d4fab of _0x439082)this[_0x3c12d6(0xa1)](_0x4b5f9b,_0x5d4fab)&&(_0x144d3b=!0x0);return _0x144d3b;}[_0x482b29(0xc3)](_0x30717d){const _0x231d3c=_0x482b29;if(!this[_0x231d3c(0xa9)])return!0x1;let _0xbd446f=!0x1;if(this[_0x231d3c(0xa9)][_0x231d3c(0xbe)]!==this[_0x231d3c(0x99)][_0x231d3c(0xdd)]){const _0x504883=[];for(const _0x1d4dc4 of this[_0x231d3c(0xa9)][_0x231d3c(0xb3)]()){const _0x377d1d=_0x1d4dc4[_0x231d3c(0xdb)](_0x231d3c(0xdf));this[_0x231d3c(0xa2)](_0x377d1d)||(_0x504883[_0x231d3c(0xe4)](_0x1d4dc4),_0xbd446f=!0x0);}for(const _0x50a68a of _0x504883)_0x30717d[_0x231d3c(0xc2)](_0x50a68a);}const _0x5d6446=new Set(),_0x30ed52=[];for(const _0x2a051a of this[_0x231d3c(0xa9)][_0x231d3c(0xb3)]()){const _0x180383=_0x2a051a[_0x231d3c(0xdb)](_0x231d3c(0xdf));_0x5d6446[_0x231d3c(0x9c)](_0x180383)?(_0x30ed52[_0x231d3c(0xe4)](_0x2a051a),_0xbd446f=!0x0):_0x5d6446[_0x231d3c(0x9a)](_0x180383);}for(const _0x5d40d5 of _0x30ed52)_0x30717d[_0x231d3c(0xc2)](_0x5d40d5);return this[_0x231d3c(0xa9)][_0x231d3c(0xbe)]||(_0x30717d[_0x231d3c(0xc2)](this[_0x231d3c(0xa9)]),this[_0x231d3c(0xa9)]=null,_0xbd446f=!0x0),_0xbd446f;}[_0x482b29(0xc9)](_0x34aa79,_0x61c62f){const _0x43f295=_0x482b29;if(this[_0x43f295(0x99)][_0x43f295(0xe2)](_0x381321=>_0x381321[_0x43f295(0x7f)]===_0x61c62f))return!0x1;let _0xd7c0a4=!0x1;const _0x2893f3=_0x61c62f[_0x43f295(0xdb)](_0x43f295(0xdf)),_0x4e6d5c=this[_0x43f295(0x99)][_0x43f295(0x84)](_0x1f65b4=>_0x1f65b4['id']===_0x2893f3);-0x1!==_0x4e6d5c&&(_0x34aa79[_0x43f295(0xc2)](this[_0x43f295(0x99)][_0x4e6d5c][_0x43f295(0x7f)]),this[_0x43f295(0x99)][_0x43f295(0xd5)](_0x4e6d5c,0x1),_0xd7c0a4=!0x0);let _0x225ab5=this[_0x43f295(0xa9)]?function(_0x5da84d,_0x351040){const _0x4624bb=_0x43f295;for(const _0x249a96 of _0x5da84d[_0x4624bb(0xb3)]())if(_0x249a96[_0x4624bb(0xdb)](_0x4624bb(0xdf))===_0x351040)return _0x249a96;return null;}(this[_0x43f295(0xa9)],_0x2893f3):null;_0x225ab5||(_0x225ab5=_0x34aa79[_0x43f295(0x91)](_0x43f295(0xb8),{'footnoteId':_0x2893f3}),this[_0x43f295(0xa9)]&&(_0x34aa79[_0x43f295(0x8f)](_0x225ab5,this[_0x43f295(0xa9)],_0x43f295(0xd8)),_0xd7c0a4=!0x0));const _0x4c30d0={'id':_0x2893f3,'reference':_0x61c62f,'definition':_0x225ab5},_0x564dda=I(this[_0x43f295(0xa6)][_0x43f295(0x8d)],this[_0x43f295(0x99)],_0x61c62f);this[_0x43f295(0x99)][_0x43f295(0xd5)](_0x564dda,0x0,_0x4c30d0);let _0x370be4=_0x564dda;return-0x1!==_0x4e6d5c&&(_0x370be4=Math[_0x43f295(0xda)](_0x564dda,_0x4e6d5c)),this[_0x43f295(0xb0)](_0x34aa79,_0x370be4)&&(_0xd7c0a4=!0x0),_0xd7c0a4;}[_0x482b29(0xa7)](_0x26509a,_0x21dde7){const _0x4ac046=_0x482b29,_0x4620d0=this[_0x4ac046(0x99)][_0x4ac046(0x84)](_0x49d86e=>_0x49d86e['id']===_0x21dde7);if(-0x1===_0x4620d0)return!0x1;let _0x4df11e=!0x1;const _0x29e0eb=this[_0x4ac046(0x99)][_0x4620d0];return _0x4ac046(0xdc)!==_0x29e0eb[_0x4ac046(0x94)][_0x4ac046(0xb5)][_0x4ac046(0xbd)]&&(_0x26509a[_0x4ac046(0xc2)](_0x29e0eb[_0x4ac046(0x94)]),_0x4df11e=!0x0),this[_0x4ac046(0x99)][_0x4ac046(0xd5)](_0x4620d0,0x1),this[_0x4ac046(0xb0)](_0x26509a,_0x4620d0)&&(_0x4df11e=!0x0),_0x4df11e;}[_0x482b29(0xa1)](_0x583317,_0x2d5770){const _0x539260=_0x482b29,_0x5086d5=_0x2d5770[_0x539260(0xdb)](_0x539260(0xdf)),_0x1cd99a=this[_0x539260(0x99)][_0x539260(0x84)](_0x306130=>_0x306130['id']===_0x5086d5),_0x1a7c57=this[_0x539260(0x99)][_0x1cd99a];let _0x4819a6=!0x1;_0x1a7c57[_0x539260(0x7f)]=_0x2d5770,this[_0x539260(0x99)][_0x539260(0xd5)](_0x1cd99a,0x1);const _0x12dca6=I(this[_0x539260(0xa6)][_0x539260(0x8d)],this[_0x539260(0x99)],_0x2d5770);return this[_0x539260(0x99)][_0x539260(0xd5)](_0x12dca6,0x0,_0x1a7c57),this[_0x539260(0xb0)](_0x583317,Math[_0x539260(0xda)](_0x1cd99a,_0x12dca6))&&(_0x4819a6=!0x0),_0x4819a6;}[_0x482b29(0xb2)](_0x37dec3,_0x32ecf8){const _0x5230d1=_0x482b29;if(!this[_0x5230d1(0xa9)])return!0x1;const _0x3262da=this[_0x5230d1(0x99)][_0x32ecf8];let _0x2be89a;return _0x2be89a=this[_0x5230d1(0xc6)]?this[_0x5230d1(0xc6)]({'footnote':_0x3262da,'container':this[_0x5230d1(0xa9)],'digits':String(this[_0x5230d1(0x99)][_0x5230d1(0xdd)])[_0x5230d1(0xdd)],'value':_0x32ecf8+0x1}):String(_0x32ecf8+0x1),_0x3262da[_0x5230d1(0x7f)][_0x5230d1(0xdb)](_0x5230d1(0xd7))!=_0x2be89a&&(_0x37dec3[_0x5230d1(0xb1)](_0x5230d1(0xd7),_0x2be89a,_0x3262da[_0x5230d1(0x7f)]),!0x0);}[_0x482b29(0xcc)](_0x1d3f75){const _0x502965=_0x482b29;if(!this[_0x502965(0xa9)]||this[_0x502965(0x99)][_0x502965(0xdd)]<0x2)return!0x1;if(function(_0x487951,_0x22c590){const _0x306d36=_0x502965;if(_0x487951[_0x306d36(0xdd)]!==_0x22c590[_0x306d36(0xdd)])return!0x1;for(let _0x4808d0=0x0;_0x4808d0<_0x487951[_0x306d36(0xdd)];_0x4808d0++)if(_0x487951[_0x4808d0]!==_0x22c590[_0x4808d0])return!0x1;return!0x0;}(this[_0x502965(0x99)][_0x502965(0xe0)](_0x3524fa=>_0x3524fa['id']),Array[_0x502965(0x86)](this[_0x502965(0xa9)][_0x502965(0xb3)]())[_0x502965(0xe0)](_0x3cfc4c=>_0x3cfc4c[_0x502965(0xdb)](_0x502965(0xdf)))))return!0x1;let _0x46c72b=!0x1;for(let _0x19d897=0x0;_0x19d897<this[_0x502965(0x99)][_0x502965(0xdd)];_0x19d897++){const _0x27005e=this[_0x502965(0x99)][_0x19d897],_0x1949f7=_0x1d3f75[_0x502965(0x90)](_0x27005e[_0x502965(0x94)]),_0x345a44=_0x1d3f75[_0x502965(0x87)](this[_0x502965(0xa9)],_0x19d897);_0x1949f7[_0x502965(0xde)](_0x345a44)||(_0x1d3f75[_0x502965(0xcf)](_0x1d3f75[_0x502965(0xca)](_0x27005e[_0x502965(0x94)]),_0x345a44),_0x46c72b=!0x0);}return _0x46c72b;}[_0x482b29(0xaa)](_0x4930c4){const _0x41dcbd=_0x482b29;if(!this[_0x41dcbd(0x99)][_0x41dcbd(0xdd)])return!0x1;const {model:_0x4a8772}=this[_0x41dcbd(0xa6)];let _0x56beea=!0x1;for(let _0x1e2857=0x0;_0x1e2857<this[_0x41dcbd(0x99)][_0x41dcbd(0xdd)]-0x1;_0x1e2857++){const _0x196a77=this[_0x41dcbd(0x99)][_0x1e2857],_0x5ef4ab=this[_0x41dcbd(0x99)][_0x1e2857+0x1],_0x3f878a=_0x4a8772[_0x41dcbd(0x90)](_0x196a77[_0x41dcbd(0x7f)]),_0x3c4eb8=_0x4a8772[_0x41dcbd(0x90)](_0x5ef4ab[_0x41dcbd(0x7f)]);_0x41dcbd(0xa5)===_0x3f878a[_0x41dcbd(0xc5)](_0x3c4eb8)&&(this[_0x41dcbd(0xa1)](_0x4930c4,_0x196a77[_0x41dcbd(0x7f)]),_0x1e2857=-0x1,_0x56beea=!0x0);}return _0x56beea;}}function _(_0xe59d10,_0x4f11ca,_0x2331c1){const _0x23e3fb=_0x482b29;if(_0x2331c1[_0x23e3fb(0xbe)])return!0x1;const _0x15fabc=_0x4f11ca?_0x23e3fb(0x9e):_0x23e3fb(0xb7);return _0xe59d10[_0x23e3fb(0x8f)](_0xe59d10[_0x23e3fb(0x91)](_0x15fabc),_0x2331c1),!0x0;}function _0x14fb(){const _0x1f9afb=['createRangeIn','_handleFootnoteReferencesChanges','isPremiumPlugin','setFootnoteFormatter','splice','append','footnoteCounter','end','getChanges','min','getAttribute','$graveyard','length','isEqual','footnoteId','map','getFootnotesFormatter','find','3759819TBQHGy','unshift','711TrEujE','reference','indexOf','1011848wFtVdk','isOfficialPlugin','init','findIndex','change:data','from','createPositionAt','listenTo','config','get','high','differ','model','footnotesDefinitions','insert','createPositionBefore','createElement','before','registerPostFixer','definition','_footnoteDefsContainerTracker','some','_handleFootnotesDefinitionsObjectChanges','FootnotesTracker','_footnotes','add','enqueueChange','has','_ensureFootnotesDefinitionsContainerExists','paragraph','footnoteRef','_footnoteRefsTracker','_handleMovedFootnoteReference','getFootnote','_handleFootnoteDefinitionsChanges','parent','after','editor','_handleRemoveFootnoteReferenceById','footnotes.multiBlock','_footnotesDefinitions','_ensureFootnotesReferencesHaveProperOrder','getRootNames','push','6102315iXRzAl','_insertEmptyFootnotesDefinitionsContainer','set','_updateFootnotesCounters','setAttribute','_updateFootnoteRefCounter','getChildren','10699180oFvtUQ','root','reset','footnoteInlineContent','footnoteDefinition','document','getFootnotesDefinitionsObjectElement','8kHsffQ','4955QxrCfG','rootName','childCount','708gMRqyl','_footnoteDefsTracker','190333xNAwfo','remove','_handleFootnotesDefinitionsObjectSync','146wKSGrh','compareWith','_footnoteFormatter','6MgUvqF','low','_handleInsertedFootnoteReference','createRangeOn','singleton','_sortFootnoteDefinitions','5478zVZKZm','getFootnotes','move','pluginName'];_0x14fb=function(){return _0x1f9afb;};return _0x14fb();}function I(_0x51b22e,_0x59c036,_0x188994){const _0x2cc7c5=_0x482b29;if(0x0===_0x59c036[_0x2cc7c5(0xdd)])return 0x0;const _0x29e879=_0x51b22e[_0x2cc7c5(0x90)](_0x188994);for(let _0x1ab575=0x0;_0x1ab575<_0x59c036[_0x2cc7c5(0xdd)];_0x1ab575++){const _0x582b91=_0x59c036[_0x1ab575],_0x4e09dd=_0x51b22e[_0x2cc7c5(0x90)](_0x582b91[_0x2cc7c5(0x7f)]);if(_0x2cc7c5(0x92)===_0x29e879[_0x2cc7c5(0xc5)](_0x4e09dd))return _0x1ab575;}const _0x58e857=_0x188994[_0x2cc7c5(0xb5)];let _0x35b11d=-0x1;for(let _0x40116b=_0x59c036[_0x2cc7c5(0xdd)]-0x1;_0x40116b>=0x0;_0x40116b--)if(_0x59c036[_0x40116b][_0x2cc7c5(0x7f)][_0x2cc7c5(0xb5)]===_0x58e857){_0x35b11d=_0x40116b;break;}if(-0x1!==_0x35b11d)return _0x35b11d+0x1;const _0x25c710=_0x51b22e[_0x2cc7c5(0xb9)][_0x2cc7c5(0xab)](),_0x34a287=_0x25c710[_0x2cc7c5(0x80)](_0x58e857[_0x2cc7c5(0xbd)]),_0x4fd740=_0x25c710[_0x34a287+0x1];if(_0x4fd740){for(let _0x307be3=0x0;_0x307be3<_0x59c036[_0x2cc7c5(0xdd)];_0x307be3++)if(_0x59c036[_0x307be3][_0x2cc7c5(0x7f)][_0x2cc7c5(0xb5)][_0x2cc7c5(0xbd)]===_0x4fd740)return _0x307be3;}return _0x59c036[_0x2cc7c5(0xdd)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0xa31829,MenuBarMenuListItemButtonView as _0xc8a26b}from'ckeditor5/src/ui.js';import{Plugin as _0x26f14d}from'ckeditor5/src/core.js';import{IconFootnote as _0x175af0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x26f14d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28c650}=this,{componentFactory:_0x3f0f47}=_0x28c650['ui'];_0x3f0f47['add']('insertFootnote',E(_0x28c650,_0xa31829)),_0x3f0f47['add']('menuBar:insertFootnote',E(_0x28c650,_0xc8a26b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x991555=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x430625;for(const _0x5c4e70 in _0x991555){const _0x3864f9=_0x5c4e70,_0x5872df=_0x991555[_0x3864f9];if('footnotesLicenseKeyValid'==_0x5872df||'footnotesLicenseKeyInvalid'==_0x5872df||'footnotesLicenseKeyExpired'==_0x5872df||'footnotesLicenseKeyDomainLimit'==_0x5872df||'footnotesLicenseKeyNotAllowed'==_0x5872df||'footnotesLicenseKeyEvaluationLimit'==_0x5872df||'footnotesLicenseKeyUsageLimit'==_0x5872df){delete _0x991555[_0x3864f9],_0x430625=_0x5872df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x430625&&_0x991555['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x430625&&_0x991555['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x430625&&_0x991555['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x430625&&_0x991555['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x430625&&_0x991555['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x430625&&_0x991555['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x8a8c37,_0x1057a0){const _0x6d4a6=_0x8a8c37['commands']['get']('insertFootnote');return _0x2903cb=>{const {t:t}=_0x2903cb,_0x15183f=new _0x1057a0(_0x2903cb),_0xb0a2d0=_0x15183f instanceof _0xc8a26b;return _0x15183f['bind']('isEnabled')['to'](_0x6d4a6,'isEnabled'),_0x15183f['set']({'label':t(_0xb0a2d0?'Footnote':'Insert\x20footnote'),'icon':_0x175af0,'tooltip':!0x0}),_0x15183f['on']('execute',()=>{_0x6d4a6['execute'](),_0x8a8c37['editing']['view']['focus']();}),_0x15183f;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ad460,_0xbdeaf5){var _0xcd95f0=_0x18b6,_0x2a55c7=_0x5ad460();while(!![]){try{var _0x26d239=-parseInt(_0xcd95f0(0x120))/0x1+-parseInt(_0xcd95f0(0x11d))/0x2+-parseInt(_0xcd95f0(0x122))/0x3+parseInt(_0xcd95f0(0x11e))/0x4+parseInt(_0xcd95f0(0x11b))/0x5*(parseInt(_0xcd95f0(0x11f))/0x6)+-parseInt(_0xcd95f0(0x121))/0x7+parseInt(_0xcd95f0(0x11c))/0x8;if(_0x26d239===_0xbdeaf5)break;else _0x2a55c7['push'](_0x2a55c7['shift']());}catch(_0x4081be){_0x2a55c7['push'](_0x2a55c7['shift']());}}}(_0x551b,0xcb8d1));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x18b6(_0x387419,_0x5eb8cb){var _0x551b09=_0x551b();return _0x18b6=function(_0x18b6ca,_0x3c317b){_0x18b6ca=_0x18b6ca-0x11b;var _0x369030=_0x551b09[_0x18b6ca];return _0x369030;},_0x18b6(_0x387419,_0x5eb8cb);}function _0x551b(){var _0x33bf2b=['2660818wIWAvJ','3772680OAOCtC','7642050JHXjbj','661470VDfNmC','6025369zEwkxf','1959459MlIWms','5iWwruJ','16981592GbkbxM'];_0x551b=function(){return _0x33bf2b;};return _0x551b();}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';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 _0x590bca=_0xb6ff;function _0x36eb(){const _0x566667=['_elementName','remove','39080HaFpXi','getItems','_trackedElements','_model','from','position','clear','slice','get','11580620ahtHKL','getChanges','set','add','name','rootName','402561URWJSK','$graveyard','root','54FIyvtP','1401224vgVUvC','flat','95132BnQGkt','length','push','2139809FfeTbk','nodeAfter','has','delete','_getElementKey','reset','elementName','insert','element','createRangeOn','7VuLqVA','values','type','$text','252YHmjVf','getElementKey','attributes','93634NiyfQp'];_0x36eb=function(){return _0x566667;};return _0x36eb();}(function(_0x48f6cd,_0x3a8c8c){const _0x2f6435=_0xb6ff,_0x3c241d=_0x48f6cd();while(!![]){try{const _0x27c04e=parseInt(_0x2f6435(0x161))/0x1*(parseInt(_0x2f6435(0x13c))/0x2)+parseInt(_0x2f6435(0x151))/0x3*(-parseInt(_0x2f6435(0x154))/0x4)+-parseInt(_0x2f6435(0x13f))/0x5*(parseInt(_0x2f6435(0x139))/0x6)+-parseInt(_0x2f6435(0x157))/0x7+-parseInt(_0x2f6435(0x152))/0x8+parseInt(_0x2f6435(0x14e))/0x9+parseInt(_0x2f6435(0x148))/0xa;if(_0x27c04e===_0x3a8c8c)break;else _0x3c241d['push'](_0x3c241d['shift']());}catch(_0x15f7fd){_0x3c241d['push'](_0x3c241d['shift']());}}}(_0x36eb,0x479b8));function _0xb6ff(_0x3cd5ea,_0x395e0d){const _0x36ebd6=_0x36eb();return _0xb6ff=function(_0xb6fff1,_0x4e6de9){_0xb6fff1=_0xb6fff1-0x138;let _0x4be2c9=_0x36ebd6[_0xb6fff1];return _0x4be2c9;},_0xb6ff(_0x3cd5ea,_0x395e0d);}export class ModelElementTracker{[_0x590bca(0x142)];[_0x590bca(0x13d)];[_0x590bca(0x15b)];[_0x590bca(0x141)]=new Map();constructor(_0x3e45a6,_0x3a8a88){const _0x5eedd7=_0x590bca;this[_0x5eedd7(0x142)]=_0x3e45a6,this[_0x5eedd7(0x13d)]=_0x3a8a88[_0x5eedd7(0x15d)],this[_0x5eedd7(0x15b)]=_0x3a8a88[_0x5eedd7(0x13a)];}[_0x590bca(0x15c)](){const _0x4bc273=_0x590bca;this[_0x4bc273(0x141)][_0x4bc273(0x145)]();}[_0x590bca(0x149)](_0x1fded6){const _0x526888=_0x590bca,_0x418504=new Set(),_0x355c23=new Map();for(const _0xef5800 of _0x1fded6){if(_0x526888(0x15e)===_0xef5800[_0x526888(0x163)]&&_0x526888(0x138)!==_0xef5800[_0x526888(0x14c)]&&_0xef5800[_0x526888(0x144)][_0x526888(0x158)]){const _0x58a2bc=this[_0x526888(0x142)][_0x526888(0x160)](_0xef5800[_0x526888(0x144)][_0x526888(0x158)]);for(const _0x8e1a7e of _0x58a2bc[_0x526888(0x140)]()){if(!_0x8e1a7e['is'](_0x526888(0x15f),this[_0x526888(0x13d)]))continue;const _0x3c272e=this[_0x526888(0x15b)](_0x8e1a7e);_0x355c23[_0x526888(0x159)](_0x3c272e)||_0x355c23[_0x526888(0x14a)](_0x3c272e,[]),_0x355c23[_0x526888(0x147)](_0x3c272e)[_0x526888(0x156)](_0x8e1a7e);}}if(_0x526888(0x13e)===_0xef5800[_0x526888(0x163)]&&_0xef5800[_0x526888(0x14c)]===this[_0x526888(0x13d)]){const _0x25b07f=this[_0x526888(0x15b)]({'getAttribute':_0x2a05e0=>_0xef5800[_0x526888(0x13b)][_0x526888(0x147)](_0x2a05e0)});_0x418504[_0x526888(0x14b)](_0x25b07f);}}for(const [_0x40a5da,_0x5480a6]of this[_0x526888(0x141)])_0x526888(0x14f)===_0x5480a6[_0x526888(0x150)][_0x526888(0x14d)]&&_0x418504[_0x526888(0x14b)](_0x40a5da);for(const _0x506bce of _0x418504)this[_0x526888(0x141)][_0x526888(0x15a)](_0x506bce);for(const [_0x195a34,_0x389c06]of _0x355c23)this[_0x526888(0x141)][_0x526888(0x14a)](_0x195a34,_0x389c06[_0x389c06[_0x526888(0x155)]-0x1]);const _0x57e36f=new Set();for(const [_0x5c4c2f,_0x2e4096]of _0x355c23)_0x418504[_0x526888(0x159)](_0x5c4c2f)&&(_0x57e36f[_0x526888(0x14b)](_0x2e4096[0x0]),_0x2e4096[_0x526888(0x155)]>0x1?_0x355c23[_0x526888(0x14a)](_0x5c4c2f,_0x2e4096[_0x526888(0x146)](0x1)):_0x355c23[_0x526888(0x15a)](_0x5c4c2f),_0x418504[_0x526888(0x15a)](_0x5c4c2f));return{'removed':Array[_0x526888(0x143)](_0x418504),'inserted':Array[_0x526888(0x143)](_0x355c23[_0x526888(0x162)]())[_0x526888(0x153)](),'moved':Array[_0x526888(0x143)](_0x57e36f)};}}
|