@ckeditor/ckeditor5-footnotes 0.0.0-nightly-next-20251216.0 → 0.0.0-nightly-20251217.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index.js +1 -1
- package/dist/translations/af.js +1 -1
- package/dist/translations/af.umd.js +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/ar.umd.js +1 -1
- package/dist/translations/ast.js +1 -1
- package/dist/translations/ast.umd.js +1 -1
- package/dist/translations/az.js +1 -1
- package/dist/translations/az.umd.js +1 -1
- package/dist/translations/be.js +1 -1
- package/dist/translations/be.umd.js +1 -1
- package/dist/translations/bg.js +1 -1
- package/dist/translations/bg.umd.js +1 -1
- package/dist/translations/bn.js +1 -1
- package/dist/translations/bn.umd.js +1 -1
- package/dist/translations/bs.js +1 -1
- package/dist/translations/bs.umd.js +1 -1
- package/dist/translations/ca.js +1 -1
- package/dist/translations/ca.umd.js +1 -1
- package/dist/translations/cs.js +1 -1
- package/dist/translations/cs.umd.js +1 -1
- package/dist/translations/da.js +1 -1
- package/dist/translations/da.umd.js +1 -1
- package/dist/translations/de-ch.js +1 -1
- package/dist/translations/de-ch.umd.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/de.umd.js +1 -1
- package/dist/translations/el.js +1 -1
- package/dist/translations/el.umd.js +1 -1
- package/dist/translations/en-au.js +1 -1
- package/dist/translations/en-au.umd.js +1 -1
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en-gb.umd.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/en.umd.js +1 -1
- package/dist/translations/eo.js +1 -1
- package/dist/translations/eo.umd.js +1 -1
- package/dist/translations/es-co.js +1 -1
- package/dist/translations/es-co.umd.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/es.umd.js +1 -1
- package/dist/translations/et.js +1 -1
- package/dist/translations/et.umd.js +1 -1
- package/dist/translations/eu.js +1 -1
- package/dist/translations/eu.umd.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fa.umd.js +1 -1
- package/dist/translations/fi.js +1 -1
- package/dist/translations/fi.umd.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/fr.umd.js +1 -1
- package/dist/translations/gl.js +1 -1
- package/dist/translations/gl.umd.js +1 -1
- package/dist/translations/gu.js +1 -1
- package/dist/translations/gu.umd.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/he.umd.js +1 -1
- package/dist/translations/hi.js +1 -1
- package/dist/translations/hi.umd.js +1 -1
- package/dist/translations/hr.js +1 -1
- package/dist/translations/hr.umd.js +1 -1
- package/dist/translations/hu.js +1 -1
- package/dist/translations/hu.umd.js +1 -1
- package/dist/translations/hy.js +1 -1
- package/dist/translations/hy.umd.js +1 -1
- package/dist/translations/id.js +1 -1
- package/dist/translations/id.umd.js +1 -1
- package/dist/translations/it.js +1 -1
- package/dist/translations/it.umd.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/ja.umd.js +1 -1
- package/dist/translations/jv.js +1 -1
- package/dist/translations/jv.umd.js +1 -1
- package/dist/translations/kk.js +1 -1
- package/dist/translations/kk.umd.js +1 -1
- package/dist/translations/km.js +1 -1
- package/dist/translations/km.umd.js +1 -1
- package/dist/translations/kn.js +1 -1
- package/dist/translations/kn.umd.js +1 -1
- package/dist/translations/ko.js +1 -1
- package/dist/translations/ko.umd.js +1 -1
- package/dist/translations/ku.js +1 -1
- package/dist/translations/ku.umd.js +1 -1
- package/dist/translations/lt.js +1 -1
- package/dist/translations/lt.umd.js +1 -1
- package/dist/translations/lv.js +1 -1
- package/dist/translations/lv.umd.js +1 -1
- package/dist/translations/ms.js +1 -1
- package/dist/translations/ms.umd.js +1 -1
- package/dist/translations/nb.js +1 -1
- package/dist/translations/nb.umd.js +1 -1
- package/dist/translations/ne.js +1 -1
- package/dist/translations/ne.umd.js +1 -1
- package/dist/translations/nl.js +1 -1
- package/dist/translations/nl.umd.js +1 -1
- package/dist/translations/no.js +1 -1
- package/dist/translations/no.umd.js +1 -1
- package/dist/translations/oc.js +1 -1
- package/dist/translations/oc.umd.js +1 -1
- package/dist/translations/pl.js +1 -1
- package/dist/translations/pl.umd.js +1 -1
- package/dist/translations/pt-br.js +1 -1
- package/dist/translations/pt-br.umd.js +1 -1
- package/dist/translations/pt.js +1 -1
- package/dist/translations/pt.umd.js +1 -1
- package/dist/translations/ro.js +1 -1
- package/dist/translations/ro.umd.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/ru.umd.js +1 -1
- package/dist/translations/si.js +1 -1
- package/dist/translations/si.umd.js +1 -1
- package/dist/translations/sk.js +1 -1
- package/dist/translations/sk.umd.js +1 -1
- package/dist/translations/sl.js +1 -1
- package/dist/translations/sl.umd.js +1 -1
- package/dist/translations/sq.js +1 -1
- package/dist/translations/sq.umd.js +1 -1
- package/dist/translations/sr-latn.js +1 -1
- package/dist/translations/sr-latn.umd.js +1 -1
- package/dist/translations/sr.js +1 -1
- package/dist/translations/sr.umd.js +1 -1
- package/dist/translations/sv.js +1 -1
- package/dist/translations/sv.umd.js +1 -1
- package/dist/translations/th.js +1 -1
- package/dist/translations/th.umd.js +1 -1
- package/dist/translations/ti.js +1 -1
- package/dist/translations/ti.umd.js +1 -1
- package/dist/translations/tk.js +1 -1
- package/dist/translations/tk.umd.js +1 -1
- package/dist/translations/tr.js +1 -1
- package/dist/translations/tr.umd.js +1 -1
- package/dist/translations/tt.js +1 -1
- package/dist/translations/tt.umd.js +1 -1
- package/dist/translations/ug.js +1 -1
- package/dist/translations/ug.umd.js +1 -1
- package/dist/translations/uk.js +1 -1
- package/dist/translations/uk.umd.js +1 -1
- package/dist/translations/ur.js +1 -1
- package/dist/translations/ur.umd.js +1 -1
- package/dist/translations/uz.js +1 -1
- package/dist/translations/uz.umd.js +1 -1
- package/dist/translations/vi.js +1 -1
- package/dist/translations/vi.umd.js +1 -1
- package/dist/translations/zh-cn.js +1 -1
- package/dist/translations/zh-cn.umd.js +1 -1
- package/dist/translations/zh.js +1 -1
- package/dist/translations/zh.umd.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x4e69fc}from'ckeditor5/src/core.js';import{isWidget as _0x2f0975,toWidget as _0x5381bf,toWidgetEditable as _0x1d6c5f}from'ckeditor5/src/widget.js';import{uid as _0x2fde9d}from'ckeditor5/src/utils.js';import{PointerObserver as _0x1c4793,ClickObserver as _0x10d0be}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x204428}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x39cf2c}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4e69fc{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x204428];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x77f750}=this;_0x77f750['config']['define']('footnotes.multiBlock',!0x0),_0x77f750['commands']['add']('insertFootnote',new _0x39cf2c(_0x77f750)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2b0d13){const _0x501e20=_0x995a61([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]),_0x1b071d=0x47a28506,_0x149e88=0x47a5f916^_0x1b071d,_0xaaf703=window[_0x995a61([0x44,0x61,0x74,0x65])][_0x995a61([0x6e,0x6f,0x77])](),_0x346c91=_0x2b0d13[_0x995a61([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2175b8=new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3f0580=>{_0x346c91[_0x995a61([0x6f,0x6e,0x63,0x65])](_0x995a61([0x72,0x65,0x61,0x64,0x79]),_0x3f0580);}),_0x253395={[_0x995a61([0x6b,0x74,0x79])]:_0x995a61([0x45,0x43]),[_0x995a61([0x75,0x73,0x65])]:_0x995a61([0x73,0x69,0x67]),[_0x995a61([0x63,0x72,0x76])]:_0x995a61([0x50,0x2d,0x32,0x35,0x36]),[_0x995a61([0x78])]:_0x995a61([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]),[_0x995a61([0x79])]:_0x995a61([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]),[_0x995a61([0x61,0x6c,0x67])]:_0x995a61([0x45,0x53,0x32,0x35,0x36])},_0x507999=_0x346c91[_0x995a61([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x995a61([0x67,0x65,0x74])](_0x995a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x41c764(){let _0x20a160,_0x3a89ed=null,_0x2c7df2=null;try{if(_0x507999==_0x995a61([0x47,0x50,0x4c]))return _0x995a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x20a160=_0x49a7b6(),!_0x20a160)return _0x995a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x20a160[_0x995a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2c7df2=_0x16c6f4(_0x20a160[_0x995a61([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x20a160[_0x995a61([0x6a,0x74,0x69])])),await _0x46fe4f()?_0x53beb2()?_0x3927bc()?_0x995a61([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x6c0949()?(_0x20a160[_0x995a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x995a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3a89ed=_0x42250c(_0x995a61([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x20a160[_0x995a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x995a61([0x74,0x72,0x69,0x61,0x6c])&&(_0x3a89ed=_0x42250c(_0x995a61([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x488f2c()):_0x995a61([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x995a61([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x995a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x995a61([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3927bc(){const _0x2f6062=[_0x995a61([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x995a61([0x74,0x72,0x69,0x61,0x6c])][_0x995a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a160[_0x995a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaaf703/0x3e8:0xe10*_0x149e88;return _0x20a160[_0x995a61([0x65,0x78,0x70])]<_0x2f6062;}function _0x53beb2(){const _0x2c1b78=_0x20a160[_0x995a61([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2c1b78&&(!!_0x2c1b78[_0x995a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x995a61([0x2a]))||!!_0x2c1b78[_0x995a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x995a61([0x46,0x4f,0x4f])));}function _0x6c0949(){const _0x4237d8=_0x20a160[_0x995a61([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4237d8||0x0==_0x4237d8[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x25f732}=new URL(window[_0x995a61([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4237d8[_0x995a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x25f732))return!0x0;const _0xa7bc73=_0x25f732[_0x995a61([0x73,0x70,0x6c,0x69,0x74])](_0x995a61([0x2e]));return _0x4237d8[_0x995a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1e1177=>_0x1e1177[_0x995a61([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x995a61([0x2a])))[_0x995a61([0x6d,0x61,0x70])](_0x3c47f2=>_0x3c47f2[_0x995a61([0x73,0x70,0x6c,0x69,0x74])](_0x995a61([0x2e])))[_0x995a61([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b5e27=>_0x4b5e27[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xa7bc73[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x995a61([0x6d,0x61,0x70])](_0x21841b=>Array(_0xa7bc73[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x21841b[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x995a61([0x66,0x69,0x6c,0x6c])](_0x21841b[0x0]===_0x995a61([0x2a])?_0x995a61([0x2a]):'')[_0x995a61([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x21841b))[_0x995a61([0x73,0x6f,0x6d,0x65])](_0x112577=>_0xa7bc73[_0x995a61([0x65,0x76,0x65,0x72,0x79])]((_0x3d977e,_0x596765)=>_0x112577[_0x596765]===_0x3d977e||_0x112577[_0x596765]===_0x995a61([0x2a])));}function _0x488f2c(){return _0x3a89ed&&_0x2c7df2?new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x322294,_0x4ee689)=>{_0x3a89ed[_0x995a61([0x74,0x68,0x65,0x6e])](_0x322294,_0x4ee689),_0x2c7df2[_0x995a61([0x74,0x68,0x65,0x6e])](_0x509015=>{_0x509015!=_0x995a61([0x56,0x61,0x6c,0x69,0x64])&&_0x322294(_0x509015);},_0x4ee689);}):_0x3a89ed||_0x2c7df2||_0x995a61([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16c6f4(_0x5dc36e,_0x2679d3){return new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3bca33=>{if(_0x46a5a7())return _0x3bca33(_0x995a61([0x56,0x61,0x6c,0x69,0x64]));_0x46b7f6(),_0x346c91[_0x995a61([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x995a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dc407=!0x1;const _0x3743a7=_0x2fde9d();function _0x5ed772(_0x2988f4){return!!_0x2988f4&&(typeof _0x2988f4===_0x995a61([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2988f4===_0x995a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2988f4[_0x995a61([0x74,0x68,0x65,0x6e])]===_0x995a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2988f4[_0x995a61([0x63,0x61,0x74,0x63,0x68])]===_0x995a61([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x52cbcc(_0x35ce49){_0x22f4aa(_0x35ce49)[_0x995a61([0x74,0x68,0x65,0x6e])](_0x4fa4d2=>{if(!_0x4fa4d2||_0x4fa4d2[_0x995a61([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x995a61([0x6f,0x6b]))return _0x995a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2f8811(_0x13db6a(_0x3743a7+_0x2679d3))!=_0x4fa4d2[_0x995a61([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x995a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x995a61([0x56,0x61,0x6c,0x69,0x64]);})[_0x995a61([0x74,0x68,0x65,0x6e])](_0x4cf2f9=>(_0x30e8b0(),_0x4cf2f9),()=>{const _0x4f326e=_0xcfffac();return null==_0x4f326e?(_0x30e8b0(),_0x995a61([0x56,0x61,0x6c,0x69,0x64])):_0x995a61(_0xaaf703-_0x4f326e>(0x63ae0106^_0x1b071d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x995a61([0x74,0x68,0x65,0x6e])](_0x3bca33)[_0x995a61([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3bca33(_0x995a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e291b=0x47946b86^_0x1b071d;function _0x30e8b0(){const _0x1ed16d=_0x995a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f8811(_0x13db6a(_0x5dc36e)),_0x3589a7=_0x5d33a4(_0x2f8811(window[_0x995a61([0x4d,0x61,0x74,0x68])][_0x995a61([0x63,0x65,0x69,0x6c])](_0xaaf703/_0x5e291b)));window[_0x995a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x995a61([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1ed16d,_0x3589a7);}function _0xcfffac(){const _0x432998=_0x995a61([0x6c,0x6c,0x63,0x74,0x2d])+_0x2f8811(_0x13db6a(_0x5dc36e)),_0x9700fc=window[_0x995a61([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x995a61([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x432998);return _0x9700fc?window[_0x995a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d33a4(_0x9700fc),0x10)*_0x5e291b:null;}function _0x22f4aa(_0x8c638){return new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b8206,_0x67506a)=>{_0x8c638[_0x995a61([0x74,0x68,0x65,0x6e])](_0x3b8206,_0x67506a),window[_0x995a61([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x67506a,0x47a351c6^_0x1b071d);});}}_0x346c91[_0x995a61([0x6f,0x6e])](_0x995a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3e6033,_0x5c6e74)=>{if(_0x5c6e74[0x0]!=_0x5dc36e)return _0x3bca33(_0x995a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5c6e74[0x1]={..._0x5c6e74[0x1],[_0x995a61([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3743a7};},{[_0x995a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x995a61([0x68,0x69,0x67,0x68])}),_0x346c91[_0x995a61([0x6f,0x6e])](_0x995a61([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bf478=>{_0x5ed772(_0x3bf478[_0x995a61([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dc407=!0x0,_0x52cbcc(_0x3bf478[_0x995a61([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x995a61([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x995a61([0x6c,0x6f,0x77])}),_0x2175b8[_0x995a61([0x74,0x68,0x65,0x6e])](()=>{_0x3dc407||_0x3bca33(_0x995a61([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x46a5a7(){return _0x346c91[_0x995a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x995a61([0x76,0x69,0x65,0x77])][_0x995a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x995a61([0x61,0x75,0x74,0x6f]);}function _0x46b7f6(){_0x346c91[_0x995a61([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x995a61([0x76,0x69,0x65,0x77])][_0x995a61([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x995a61([0x61,0x75,0x74,0x6f]);}}function _0x42250c(_0x407e39){const _0x281a55=[new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4228f6=>setTimeout(_0x4228f6,0x47abbbca^_0x1b071d)),_0x2175b8[_0x995a61([0x74,0x68,0x65,0x6e])](()=>new window[(_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x429269=>{let _0x2b1c1a=0x0;_0x346c91[_0x995a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x995a61([0x6f,0x6e])](_0x995a61([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57eae5,_0x191e19)=>{_0x191e19[0x0][_0x995a61([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b1c1a++,_0x2b1c1a==(0x47a284fe^_0x1b071d)&&(_0x429269(),_0x57eae5[_0x995a61([0x6f,0x66,0x66])]());});}))];return window[_0x995a61([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x995a61([0x72,0x61,0x63,0x65])](_0x281a55)[_0x995a61([0x74,0x68,0x65,0x6e])](()=>_0x407e39);}async function _0x175c3b(){await _0x2175b8,_0x346c91[_0x995a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x995a61([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xcf747f,_0x346c91[_0x995a61([0x6d,0x6f,0x64,0x65,0x6c])][_0x995a61([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xcf747f,_0x346c91[_0x995a61([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x995a61([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x550135(_0x5f09b1){const _0x16e9e9=_0x6a62e8();_0x346c91[_0x16e9e9]=_0x995a61([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5f09b1,_0x5f09b1!=_0x995a61([0x56,0x61,0x6c,0x69,0x64])&&_0x175c3b();}function _0x6a62e8(){const _0x34d947=window[_0x995a61([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x995a61([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x995a61([0x6e,0x6f,0x77])]())[_0x995a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x995a61([0x2e]),'');let _0x5d9e9c=_0x995a61([0x75]);for(let _0x3d69ae=0x0;_0x3d69ae<_0x34d947[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d69ae+=0x2){let _0x513075=window[_0x995a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x34d947[_0x995a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3d69ae,_0x3d69ae+0x2));_0x513075>=_0x501e20[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x513075-=_0x501e20[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5d9e9c+=_0x501e20[_0x513075];}return _0x5d9e9c;}function _0x49a7b6(){const _0x11d2cd=_0x507999[_0x995a61([0x73,0x70,0x6c,0x69,0x74])](_0x995a61([0x2e]));if(0x3!=_0x11d2cd[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x193892(_0x11d2cd[0x1]);function _0x193892(_0x418cfb){const _0x39e60a=_0x487ca0(_0x418cfb);return _0x39e60a&&_0x1cf438()?_0x39e60a:null;function _0x1cf438(){const _0x25d01a=_0x39e60a[_0x995a61([0x6a,0x74,0x69])],_0x439ebb=window[_0x995a61([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25d01a[_0x995a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25d01a[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x190a37={..._0x39e60a,[_0x995a61([0x6a,0x74,0x69])]:_0x25d01a[_0x995a61([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25d01a[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x190a37[_0x995a61([0x76,0x63])],_0x13db6a(_0x190a37)==_0x439ebb;}}}async function _0x46fe4f(){let _0xa5eb24=!0x0;try{const _0x3f6b20=_0x507999[_0x995a61([0x73,0x70,0x6c,0x69,0x74])](_0x995a61([0x2e])),[_0x384f3e,_0x12e582,_0x48aa8c]=_0x3f6b20;return _0x8aa998(_0x384f3e),await _0x196746(_0x384f3e,_0x12e582,_0x48aa8c),_0xa5eb24;}catch{return!0x1;}function _0x8aa998(_0x152f73){const _0x36d572=_0x487ca0(_0x152f73);_0x36d572&&_0x36d572[_0x995a61([0x61,0x6c,0x67])]==_0x995a61([0x45,0x53,0x32,0x35,0x36])||(_0xa5eb24=!0x1);}async function _0x196746(_0x491655,_0x5cb976,_0x50fb1e){const _0x5bc368=window[_0x995a61([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x995a61([0x66,0x72,0x6f,0x6d])](_0x2acc26(_0x50fb1e),_0x4528a1=>_0x4528a1[_0x995a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x410cf5=new window[(_0x995a61([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x995a61([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x491655+_0x995a61([0x2e])+_0x5cb976),_0x3edebd=window[_0x995a61([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x995a61([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3edebd)return;const _0x577a4c=await _0x3edebd[_0x995a61([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x995a61([0x6a,0x77,0x6b]),_0x253395,{[_0x995a61([0x6e,0x61,0x6d,0x65])]:_0x995a61([0x45,0x43,0x44,0x53,0x41]),[_0x995a61([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x995a61([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x995a61([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3edebd[_0x995a61([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x995a61([0x6e,0x61,0x6d,0x65])]:_0x995a61([0x45,0x43,0x44,0x53,0x41]),[_0x995a61([0x68,0x61,0x73,0x68])]:{[_0x995a61([0x6e,0x61,0x6d,0x65])]:_0x995a61([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x577a4c,_0x5bc368,_0x410cf5)||(_0xa5eb24=!0x1);}}function _0x487ca0(_0x37df0c){return _0x37df0c[_0x995a61([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x995a61([0x65,0x79]))?JSON[_0x995a61([0x70,0x61,0x72,0x73,0x65])](_0x2acc26(_0x37df0c)):null;}function _0x2acc26(_0x56c23b){return window[_0x995a61([0x61,0x74,0x6f,0x62])](_0x56c23b[_0x995a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x995a61([0x2b]))[_0x995a61([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x995a61([0x2f])));}function _0x13db6a(_0x138a52){let _0x493fa5=0x1505;function _0x1b31af(_0x2c3737){for(let _0x36b69e=0x0;_0x36b69e<_0x2c3737[_0x995a61([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36b69e++){const _0x1c5d39=_0x2c3737[_0x995a61([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36b69e);_0x493fa5=(_0x493fa5<<0x5)+_0x493fa5+_0x1c5d39,_0x493fa5&=_0x493fa5;}}function _0x1fcd17(_0x49e320){Array[_0x995a61([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x49e320)?_0x49e320[_0x995a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fcd17):_0x49e320&&typeof _0x49e320==_0x995a61([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x995a61([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x49e320)[_0x995a61([0x73,0x6f,0x72,0x74])]()[_0x995a61([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5bf33b,_0x594ecb])=>{_0x1b31af(_0x5bf33b),_0x1fcd17(_0x594ecb);}):_0x1b31af(window[_0x995a61([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x49e320));}return _0x1fcd17(_0x138a52),_0x493fa5>>>0x0;}function _0x2f8811(_0x585829){return _0x585829[_0x995a61([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x995a61([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x995a61([0x30]));}function _0x5d33a4(_0x248b27){return _0x248b27[_0x995a61([0x73,0x70,0x6c,0x69,0x74])]('')[_0x995a61([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x995a61([0x6a,0x6f,0x69,0x6e])]('');}function _0xcf747f(){}function _0x995a61(_0x5f251d){return _0x5f251d['map'](_0x3215b1=>String['fromCharCode'](_0x3215b1))['join']('');}_0x550135(await _0x41c764());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4fe492){const {plugins:_0x1e172e,editing:_0x4606aa,model:_0x501dd4}=this['editor'],_0xe27d53=_0x1e172e['get'](_0x204428)['getFootnote'](_0x4fe492);return!!_0xe27d53&&(_0x501dd4['change'](_0x233d86=>{_0x233d86['setSelection'](_0x233d86['createPositionAt'](_0xe27d53['definition'],'end'));}),_0x4606aa['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3ba139){const {plugins:_0x753a11,editing:_0x222d35,model:_0x486f9e}=this['editor'],_0x5ec602=_0x753a11['get'](_0x204428)['getFootnote'](_0x3ba139);return!!_0x5ec602&&(_0x486f9e['change'](_0x26482c=>{_0x26482c['setSelection'](_0x5ec602['reference'],'on');}),_0x222d35['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x292195}=this['editor']['model'],_0x2a1db8=this['editor']['config']['get']('footnotes.multiBlock');_0x292195['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x292195['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x292195['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2a1db8?_0x292195['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x292195['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x292195['addChildCheck'](_0x5d76ea=>{for(const _0x282eb7 of _0x5d76ea)if('footnoteDefinition'===_0x282eb7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x591b77}=this,{conversion:_0x516d81,editing:_0x2ad633}=_0x591b77,{t:t}=_0x591b77['locale'];_0x516d81['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x42dcb3,{writer:_0x573459,consumable:_0x3f29f1})=>{const _0x211106=_0x42dcb3['getChild'](0x0);if(!_0x211106||!_0x211106['is']('element','a'))return null;const _0x35ec58=_0x211106['getAttribute']('href')||'';if(!_0x35ec58['startsWith']('#'))return null;const _0x12c7d0=_0x35ec58['replace'](/^#/,'');if(!_0x12c7d0)return null;_0x3f29f1['consume'](_0x211106,{'name':!0x0,'attributes':['href']});for(const {item:_0x20113d}of _0x2ad633['view']['createRangeIn'](_0x211106))_0x20113d['is']('$textProxy')?_0x3f29f1['consume'](_0x20113d['textNode'],{'name':!0x0}):_0x20113d['is']('element')&&_0x3f29f1['consume'](_0x20113d,{'name':!0x0});return _0x573459['createElement']('footnoteRef',{'footnoteId':_0x12c7d0});}}),_0x516d81['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x513fbe,{writer:_0x5cb549})=>D(_0x513fbe,_0x5cb549)}),_0x516d81['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4b3501,{writer:_0x1da7ef})=>{const _0x156d24=_0x4b3501['getAttribute']('footnoteCounter');return _0x5381bf(D(_0x4b3501,_0x1da7ef),_0x1da7ef,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x156d24)});}});}['_defineDefinitionsConverters'](){const {editor:_0x10c89a}=this,{t:t}=_0x10c89a['locale'],{conversion:_0x5884d7}=_0x10c89a;_0x5884d7['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5884d7['for']('upcast')['add'](_0x54bc43=>{_0x54bc43['on']('element:ol',(_0x176940,_0x2d6b93,_0x34bd65)=>{const _0x330606=_0x2d6b93['viewItem'];if(!_0x330606['hasClass']('footnotes-list')||!_0x2d6b93['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x34bd65['consumable']['consume'](_0x330606,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x434677,modelCursor:_0x12bde9}=_0x34bd65['convertChildren'](_0x2d6b93['viewItem'],_0x2d6b93['modelCursor']);_0x2d6b93['modelRange']=_0x434677,_0x2d6b93['modelCursor']=_0x12bde9;}),_0x54bc43['on']('element:hr',(_0x49aad5,_0x26340e,_0x233233)=>{const _0x51c642=_0x26340e['viewItem'];_0x51c642['hasClass']('footnotes-divider')&&_0x26340e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x233233['consumable']['consume'](_0x51c642,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5884d7['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x214db3,{writer:_0x44b309})=>v(_0x44b309)}),_0x5884d7['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x20fdd7,{writer:_0x2c87d0})=>{const _0x15a197=v(_0x2c87d0,{'data-footnotes-list-label':t('Footnotes')}),_0xc89f9d=_0x5381bf(_0x15a197,_0x2c87d0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2c87d0['setCustomProperty']('footnotesDefinitions',!0x0,_0xc89f9d),_0xc89f9d;}});}['_defineDefinitionConverters'](){const {editor:_0x5e2f7a}=this,{conversion:_0xb0eaad,locale:_0x1264e8}=_0x5e2f7a,_0x502079=_0x5e2f7a['config']['get']('footnotes.multiBlock');_0xb0eaad['for']('upcast')['add'](_0x35cc13=>{_0x35cc13['on']('element:li',(_0x3f228c,_0x570b38,_0x1dc939)=>{const _0xcda13c=_0x570b38['viewItem'];if(!_0xcda13c['hasClass']('footnote-definition')||!_0xcda13c['getAttribute']('id'))return;const _0x4f6123=_0xcda13c['parent'];if(!_0x4f6123['is']('element','ol')||!_0x4f6123['hasClass']('footnotes-list'))return;if(!_0x1dc939['consumable']['test'](_0xcda13c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1f2d92=_0x1dc939['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xcda13c['getAttribute']('id')});if(!_0x1dc939['safeInsert'](_0x1f2d92,_0x570b38['modelCursor']))return;_0x1dc939['consumable']['consume'](_0xcda13c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3ba414=Array['from'](_0xcda13c['getChildren']())['find'](_0x7c5839=>_0x7c5839['is']('element')&&_0x7c5839['hasClass']('footnote-content'));for(const _0x3263ac of _0xcda13c['getChildren']())_0x3263ac['is']('element')&&(_0x1dc939['consumable']['consume'](_0x3263ac,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1dc939['consumable']['consume'](_0x3263ac,{'name':!0x0,'classes':'footnote-content'}));if(_0x3ba414){if(_0x502079)_0x1dc939['convertChildren'](_0x3ba414,_0x1f2d92);else{const _0x3f480c=_0x1dc939['writer']['createElement']('footnoteInlineContent');_0x1dc939['writer']['insert'](_0x3f480c,_0x1f2d92),_0x1dc939['convertChildren'](_0x3ba414,_0x3f480c);}}_0x1dc939['updateConversionResult'](_0x1f2d92,_0x570b38);});}),_0xb0eaad['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x78e8e2,{writer:_0x4df8be})=>b(_0x78e8e2,_0x4df8be,_0x1264e8,{'dataPipeline':!0x0})}),_0xb0eaad['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1dd79c,{writer:_0xa10318})=>b(_0x1dd79c,_0xa10318,_0x1264e8)});}['_defineBogusParagraphConverters'](){const {editor:_0x2bd6b2}=this,{conversion:_0x2546c2}=_0x2bd6b2;_0x2bd6b2['config']['get']('footnotes.multiBlock')?(_0x2546c2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2546c2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2bd6b2['model']['document'],'change:data',()=>{!function(_0x9b82f9,_0x194bc0){const _0x2de902=_0x9b82f9['document']['differ'],_0x22fa0e=new Set();for(const _0x5c1ad1 of _0x2de902['getChanges']()){const _0xcd16ad='attribute'==_0x5c1ad1['type']?_0x5c1ad1['range']['start']['parent']:_0x5c1ad1['position']['parent'];_0xcd16ad['is']('element','footnoteDefinition')&&_0x22fa0e['add'](_0xcd16ad);}for(const _0x5dce99 of _0x22fa0e['values']()){const _0x44721c=Array['from'](_0x5dce99['getChildren']())['filter'](_0x471336=>g(_0x471336,_0x194bc0['mapper']));for(const _0x33553c of _0x44721c)_0x194bc0['reconvertItem'](_0x33553c);}}(_0x2bd6b2['model'],_0x2bd6b2['editing']);})):(_0x2546c2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2546c2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5a3664,{writer:_0x336340})=>{const _0x5402dc=_0x336340['createContainerElement']('span');return _0x336340['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5402dc),_0x5402dc;}}));}['_defineKeyboardHandlers'](){const {editor:_0x753733}=this,{editing:_0x37f49b,t:t}=_0x753733,_0x35d347=_0x753733['model']['document']['selection'];_0x753733['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x753733['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x37f49b['view']['document'],'enter',(_0xb64409,_0x53f9c8)=>{const _0x10bc7e=function(_0x2e4c73){const _0x36813c=_0x2e4c73['getSelectedElement']();if(_0x36813c?.['is']('element','footnoteRef'))return _0x36813c;return null;}(_0x35d347);if(_0x10bc7e){const _0x4b91aa=_0x10bc7e['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4b91aa),_0x53f9c8['preventDefault'](),_0xb64409['stop']();}},{'context':_0x2f0975});}['_defineClickHandlers'](){const {editor:_0x1edaf1}=this,{editing:_0xf7b79e}=_0x1edaf1;_0x1edaf1['editing']['view']['addObserver'](_0x1c4793),_0x1edaf1['editing']['view']['addObserver'](_0x10d0be);let _0x40cf29=!0x1;this['listenTo'](_0xf7b79e['view']['document'],'pointerdown',(_0x19033d,_0x1e6e62)=>{const {target:_0x3a4720}=_0x1e6e62,_0xdec53b=_0xf7b79e['view']['document']['selection'];_0x40cf29=!!(_0x3a4720?.['is']('element','a')&&_0x3a4720['parent']?.['is']('element','sup')&&_0x3a4720['parent']['hasClass']('footnote'))&&_0xdec53b['getSelectedElement']()===_0x3a4720['parent'];},{'priority':'high'}),this['listenTo'](_0xf7b79e['view']['document'],'click',(_0x20c119,_0x373c38)=>{const {target:_0x15fc5f}=_0x373c38;if(!_0x15fc5f?.['is']('element','a'))return;if(_0x15fc5f['parent']?.['is']('element','sup')&&_0x15fc5f['parent']['hasClass']('footnote')&&!_0x40cf29)return void _0x373c38['preventDefault']();let _0x14d8be=_0x15fc5f['getAttribute']('href');if(!_0x14d8be?.['startsWith']('#'))return;_0x14d8be=_0x14d8be['slice'](0x1);let _0x3b6285=!0x1;(_0x14d8be['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x14d8be['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x14d8be))&&(_0x3b6285=!0x0),_0x3b6285&&(_0x373c38['preventDefault'](),_0x20c119['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1e5bd0}={}){return(_0x5c41d5,{writer:_0x148abd})=>{if(!p(_0x5c41d5))return null;if(!_0x1e5bd0)return _0x148abd['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c1ff7=_0x148abd['createContainerElement']('p');return _0x148abd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c1ff7),_0x4c1ff7;};}function p(_0x45626d){const {parent:_0x2f3597}=_0x45626d;if(!_0x2f3597?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2f3597['childCount'])return!0x1;for(const _0x2b002f of _0x45626d['getAttributeKeys']())if(!_0x2b002f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x2b002f)return!0x1;return!0x0;}function g(_0x11e41f,_0x1a875f){if(!_0x11e41f['is']('element','paragraph'))return!0x1;const _0x31be2e=_0x1a875f['toViewElement'](_0x11e41f);return!!_0x31be2e&&p(_0x11e41f)!==_0x31be2e['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4e8285){return _0x2f0975(_0x4e8285)&&_0x4e8285['is']('containerElement')&&!!_0x4e8285['getCustomProperty']('footnotesDefinitions');}function v(_0x3cabcb,_0x33bfc6={}){const _0x2427a1=_0x3cabcb['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x387c84=_0x3cabcb['createContainerElement']('ol',{'class':'footnotes-list'},_0x3cabcb['createSlot']());return _0x3cabcb['createContainerElement']('div',{'class':'footnotes',..._0x33bfc6},[_0x2427a1,_0x387c84]);}function D(_0x35ddbf,_0x20092a){const _0x46b182=_0x35ddbf['getAttribute']('footnoteId'),_0x2719b1=_0x35ddbf['getAttribute']('footnoteCounter'),_0x3485c5=_0x20092a['createUIElement']('a',{'href':'#'+_0x46b182},function(_0x5a3c78){const _0x55bb8d=this['toDomElement'](_0x5a3c78);return _0x55bb8d['textContent']=_0x2719b1,_0x55bb8d;}),_0x309bb8=_0x20092a['createContainerElement']('sup',{'id':'ref-'+_0x46b182,'class':'footnote'},[_0x3485c5]);return _0x309bb8['getFillerOffset']=()=>null,_0x309bb8;}function b(_0x1c54e5,_0x4d43f8,_0x3ee125,{dataPipeline:_0x14a443}={}){const {t:t}=_0x3ee125,_0x375045=_0x1c54e5['getAttribute']('footnoteId'),_0x3f37a4=_0x4d43f8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x375045},function(_0x161720){const _0x5f38f9=this['toDomElement'](_0x161720);return _0x5f38f9['innerText']='^',_0x5f38f9;}),_0x3ff73a=_0x14a443?_0x4d43f8['createContainerElement']('div',{'class':'footnote-content'}):_0x1d6c5f(_0x4d43f8['createEditableElement']('div',{'class':'footnote-content'}),_0x4d43f8,{'label':t('Footnote\x20content.')});return _0x4d43f8['insert'](_0x4d43f8['createPositionAt'](_0x3ff73a,0x0),_0x4d43f8['createSlot']()),_0x4d43f8['createContainerElement']('li',{'class':'footnote-definition','id':_0x375045},[_0x3f37a4,_0x3ff73a]);}
|
|
23
|
+
import{Plugin as _0x45188e}from'ckeditor5/src/core.js';import{isWidget as _0x1584e5,toWidget as _0xbb7b,toWidgetEditable as _0x5b1148}from'ckeditor5/src/widget.js';import{uid as _0x432d86}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdd4942,ClickObserver as _0x1b3d36}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x131dd8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x8009e2}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x45188e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x131dd8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5eb9bd}=this;_0x5eb9bd['config']['define']('footnotes.multiBlock',!0x0),_0x5eb9bd['commands']['add']('insertFootnote',new _0x8009e2(_0x5eb9bd)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x141370){const _0x29384b=_0x45a558([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]),_0x404c18=0x47a28506,_0x15f63e=0x47a5f92e^_0x404c18,_0xc8230=window[_0x45a558([0x44,0x61,0x74,0x65])][_0x45a558([0x6e,0x6f,0x77])](),_0x4599d6=_0x141370[_0x45a558([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x28fb44=new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e510=>{_0x4599d6[_0x45a558([0x6f,0x6e,0x63,0x65])](_0x45a558([0x72,0x65,0x61,0x64,0x79]),_0x51e510);}),_0x30f343={[_0x45a558([0x6b,0x74,0x79])]:_0x45a558([0x45,0x43]),[_0x45a558([0x75,0x73,0x65])]:_0x45a558([0x73,0x69,0x67]),[_0x45a558([0x63,0x72,0x76])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36]),[_0x45a558([0x78])]:_0x45a558([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]),[_0x45a558([0x79])]:_0x45a558([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]),[_0x45a558([0x61,0x6c,0x67])]:_0x45a558([0x45,0x53,0x32,0x35,0x36])},_0x5b942b=_0x4599d6[_0x45a558([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x45a558([0x67,0x65,0x74])](_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4639ef(){let _0x127415,_0x11d5d6=null,_0x1d9de9=null;try{if(_0x5b942b==_0x45a558([0x47,0x50,0x4c]))return _0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x127415=_0x7f63d1(),!_0x127415)return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1d9de9=_0x2b4508(_0x127415[_0x45a558([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x127415[_0x45a558([0x6a,0x74,0x69])])),await _0x177735()?_0x146a45()?_0x393cf8()?_0x45a558([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1682e6()?(_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x11d5d6=_0x131821(_0x45a558([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x45a558([0x74,0x72,0x69,0x61,0x6c])&&(_0x11d5d6=_0x131821(_0x45a558([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2c9ece()):_0x45a558([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x45a558([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x393cf8(){const _0x57afc9=[_0x45a558([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x45a558([0x74,0x72,0x69,0x61,0x6c])][_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xc8230/0x3e8:0xe10*_0x15f63e;return _0x127415[_0x45a558([0x65,0x78,0x70])]<_0x57afc9;}function _0x146a45(){const _0x2b5c4f=_0x127415[_0x45a558([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b5c4f&&(!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a]))||!!_0x2b5c4f[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x46,0x4f,0x4f])));}function _0x1682e6(){const _0x52128b=_0x127415[_0x45a558([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x52128b||0x0==_0x52128b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1d840f}=new URL(window[_0x45a558([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x52128b[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d840f))return!0x0;const _0x2b0932=_0x1d840f[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));return _0x52128b[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2aded4=>_0x2aded4[_0x45a558([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45a558([0x2a])))[_0x45a558([0x6d,0x61,0x70])](_0x31e309=>_0x31e309[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])))[_0x45a558([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x126223=>_0x126223[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x6d,0x61,0x70])](_0x5979dc=>Array(_0x2b0932[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5979dc[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x45a558([0x66,0x69,0x6c,0x6c])](_0x5979dc[0x0]===_0x45a558([0x2a])?_0x45a558([0x2a]):'')[_0x45a558([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5979dc))[_0x45a558([0x73,0x6f,0x6d,0x65])](_0x4a5677=>_0x2b0932[_0x45a558([0x65,0x76,0x65,0x72,0x79])]((_0x28e4fb,_0x5220dd)=>_0x4a5677[_0x5220dd]===_0x28e4fb||_0x4a5677[_0x5220dd]===_0x45a558([0x2a])));}function _0x2c9ece(){return _0x11d5d6&&_0x1d9de9?new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x25c929,_0x2c92e2)=>{_0x11d5d6[_0x45a558([0x74,0x68,0x65,0x6e])](_0x25c929,_0x2c92e2),_0x1d9de9[_0x45a558([0x74,0x68,0x65,0x6e])](_0x254122=>{_0x254122!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x25c929(_0x254122);},_0x2c92e2);}):_0x11d5d6||_0x1d9de9||_0x45a558([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2b4508(_0x3f6176,_0x275a95){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xffd810=>{if(_0x5062c1())return _0xffd810(_0x45a558([0x56,0x61,0x6c,0x69,0x64]));_0x41d5c9(),_0x4599d6[_0x45a558([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2073da=!0x1;const _0xcb3411=_0x432d86();function _0x36b00d(_0x1e71c9){return!!_0x1e71c9&&(typeof _0x1e71c9===_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1e71c9===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1e71c9[_0x45a558([0x74,0x68,0x65,0x6e])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1e71c9[_0x45a558([0x63,0x61,0x74,0x63,0x68])]===_0x45a558([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x36b95c(_0x32f7af){_0x541564(_0x32f7af)[_0x45a558([0x74,0x68,0x65,0x6e])](_0x1e8413=>{if(!_0x1e8413||_0x1e8413[_0x45a558([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x45a558([0x6f,0x6b]))return _0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x392b61(_0x1208c6(_0xcb3411+_0x275a95))!=_0x1e8413[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x45a558([0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xd5756=>(_0x158344(),_0xd5756),()=>{const _0x367810=_0x495fe7();return null==_0x367810?(_0x158344(),_0x45a558([0x56,0x61,0x6c,0x69,0x64])):_0x45a558(_0xc8230-_0x367810>(0x63ae0106^_0x404c18)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x45a558([0x74,0x68,0x65,0x6e])](_0xffd810)[_0x45a558([0x63,0x61,0x74,0x63,0x68])](()=>{_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x59eb6e=0x47946b86^_0x404c18;function _0x158344(){const _0x1063a1=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x480d9e=_0x1692bf(_0x392b61(window[_0x45a558([0x4d,0x61,0x74,0x68])][_0x45a558([0x63,0x65,0x69,0x6c])](_0xc8230/_0x59eb6e)));window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1063a1,_0x480d9e);}function _0x495fe7(){const _0x4c67d7=_0x45a558([0x6c,0x6c,0x63,0x74,0x2d])+_0x392b61(_0x1208c6(_0x3f6176)),_0x275c4b=window[_0x45a558([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x45a558([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4c67d7);return _0x275c4b?window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1692bf(_0x275c4b),0x10)*_0x59eb6e:null;}function _0x541564(_0x1ceaa5){return new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e79db,_0x577513)=>{_0x1ceaa5[_0x45a558([0x74,0x68,0x65,0x6e])](_0x2e79db,_0x577513),window[_0x45a558([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x577513,0x47a351c6^_0x404c18);});}}_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x91ebb0,_0x31246f)=>{if(_0x31246f[0x0]!=_0x3f6176)return _0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31246f[0x1]={..._0x31246f[0x1],[_0x45a558([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0xcb3411};},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x68,0x69,0x67,0x68])}),_0x4599d6[_0x45a558([0x6f,0x6e])](_0x45a558([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3bd047=>{_0x36b00d(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2073da=!0x0,_0x36b95c(_0x3bd047[_0x45a558([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x45a558([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x45a558([0x6c,0x6f,0x77])}),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>{_0x2073da||_0xffd810(_0x45a558([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5062c1(){return _0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x45a558([0x61,0x75,0x74,0x6f]);}function _0x41d5c9(){_0x4599d6[_0x45a558([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x45a558([0x76,0x69,0x65,0x77])][_0x45a558([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x45a558([0x61,0x75,0x74,0x6f]);}}function _0x131821(_0x42f639){const _0x1a5b8d=[new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b7704=>setTimeout(_0x4b7704,0x47abbbca^_0x404c18)),_0x28fb44[_0x45a558([0x74,0x68,0x65,0x6e])](()=>new window[(_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x17088d=>{let _0x40264d=0x0;_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x6f,0x6e])](_0x45a558([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x190ea9,_0x377307)=>{_0x377307[0x0][_0x45a558([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x40264d++,_0x40264d==(0x47a284fe^_0x404c18)&&(_0x17088d(),_0x190ea9[_0x45a558([0x6f,0x66,0x66])]());});}))];return window[_0x45a558([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x45a558([0x72,0x61,0x63,0x65])](_0x1a5b8d)[_0x45a558([0x74,0x68,0x65,0x6e])](()=>_0x42f639);}async function _0x99e313(){await _0x28fb44,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x6d,0x6f,0x64,0x65,0x6c])][_0x45a558([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x134b7e,_0x4599d6[_0x45a558([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x45a558([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xb0ed9b(_0x461ce3){const _0x56d6f7=_0x597fc7();_0x4599d6[_0x56d6f7]=_0x45a558([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x461ce3,_0x461ce3!=_0x45a558([0x56,0x61,0x6c,0x69,0x64])&&_0x99e313();}function _0x597fc7(){const _0x26c957=window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x45a558([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x45a558([0x6e,0x6f,0x77])]())[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x45a558([0x2e]),'');let _0xd5867b=_0x45a558([0x75]);for(let _0x4310b5=0x0;_0x4310b5<_0x26c957[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4310b5+=0x2){let _0x1d59dc=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26c957[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4310b5,_0x4310b5+0x2));_0x1d59dc>=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1d59dc-=_0x29384b[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xd5867b+=_0x29384b[_0x1d59dc];}return _0xd5867b;}function _0x7f63d1(){const _0x5e9a35=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e]));if(0x3!=_0x5e9a35[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x498ad4(_0x5e9a35[0x1]);function _0x498ad4(_0x20a0c5){const _0x149505=_0x438df4(_0x20a0c5);return _0x149505&&_0x4aa2f8()?_0x149505:null;function _0x4aa2f8(){const _0x1096c0=_0x149505[_0x45a558([0x6a,0x74,0x69])],_0x32dbf1=window[_0x45a558([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x383ea4={..._0x149505,[_0x45a558([0x6a,0x74,0x69])]:_0x1096c0[_0x45a558([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1096c0[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x383ea4[_0x45a558([0x76,0x63])],_0x1208c6(_0x383ea4)==_0x32dbf1;}}}async function _0x177735(){let _0x47f608=!0x0;try{const _0xa2a35d=_0x5b942b[_0x45a558([0x73,0x70,0x6c,0x69,0x74])](_0x45a558([0x2e])),[_0x4310d4,_0x41766d,_0x3f195f]=_0xa2a35d;return _0x4726b7(_0x4310d4),await _0x250b5e(_0x4310d4,_0x41766d,_0x3f195f),_0x47f608;}catch{return!0x1;}function _0x4726b7(_0x3aecac){const _0x3e48de=_0x438df4(_0x3aecac);_0x3e48de&&_0x3e48de[_0x45a558([0x61,0x6c,0x67])]==_0x45a558([0x45,0x53,0x32,0x35,0x36])||(_0x47f608=!0x1);}async function _0x250b5e(_0x41e511,_0x609283,_0x61be47){const _0x1c130f=window[_0x45a558([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x45a558([0x66,0x72,0x6f,0x6d])](_0x38c79e(_0x61be47),_0x3c78c7=>_0x3c78c7[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x43728d=new window[(_0x45a558([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x45a558([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x41e511+_0x45a558([0x2e])+_0x609283),_0x2aafcb=window[_0x45a558([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x45a558([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2aafcb)return;const _0x52a654=await _0x2aafcb[_0x45a558([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x45a558([0x6a,0x77,0x6b]),_0x30f343,{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x45a558([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2aafcb[_0x45a558([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x45,0x43,0x44,0x53,0x41]),[_0x45a558([0x68,0x61,0x73,0x68])]:{[_0x45a558([0x6e,0x61,0x6d,0x65])]:_0x45a558([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x52a654,_0x1c130f,_0x43728d)||(_0x47f608=!0x1);}}function _0x438df4(_0x437219){return _0x437219[_0x45a558([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x45a558([0x65,0x79]))?JSON[_0x45a558([0x70,0x61,0x72,0x73,0x65])](_0x38c79e(_0x437219)):null;}function _0x38c79e(_0x159ba3){return window[_0x45a558([0x61,0x74,0x6f,0x62])](_0x159ba3[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x45a558([0x2b]))[_0x45a558([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x45a558([0x2f])));}function _0x1208c6(_0x4422cb){let _0xac705c=0x1505;function _0x3ff5d0(_0x45efb4){for(let _0x5388ce=0x0;_0x5388ce<_0x45efb4[_0x45a558([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5388ce++){const _0x2920f7=_0x45efb4[_0x45a558([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x5388ce);_0xac705c=(_0xac705c<<0x5)+_0xac705c+_0x2920f7,_0xac705c&=_0xac705c;}}function _0x220d04(_0x191c2a){Array[_0x45a558([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x191c2a)?_0x191c2a[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x220d04):_0x191c2a&&typeof _0x191c2a==_0x45a558([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x45a558([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x191c2a)[_0x45a558([0x73,0x6f,0x72,0x74])]()[_0x45a558([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30b113,_0x4597f1])=>{_0x3ff5d0(_0x30b113),_0x220d04(_0x4597f1);}):_0x3ff5d0(window[_0x45a558([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x191c2a));}return _0x220d04(_0x4422cb),_0xac705c>>>0x0;}function _0x392b61(_0x172db9){return _0x172db9[_0x45a558([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x45a558([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x45a558([0x30]));}function _0x1692bf(_0x366fd0){return _0x366fd0[_0x45a558([0x73,0x70,0x6c,0x69,0x74])]('')[_0x45a558([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x45a558([0x6a,0x6f,0x69,0x6e])]('');}function _0x134b7e(){}function _0x45a558(_0xdd7b83){return _0xdd7b83['map'](_0x1c2dab=>String['fromCharCode'](_0x1c2dab))['join']('');}_0xb0ed9b(await _0x4639ef());}(this);}['_moveSelectionToFootnoteDefinition'](_0x514d48){const {plugins:_0x294d5d,editing:_0x5b6aa5,model:_0x3b1d83}=this['editor'],_0x429276=_0x294d5d['get'](_0x131dd8)['getFootnote'](_0x514d48);return!!_0x429276&&(_0x3b1d83['change'](_0x1aadb9=>{_0x1aadb9['setSelection'](_0x1aadb9['createPositionAt'](_0x429276['definition'],'end'));}),_0x5b6aa5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd1c567){const {plugins:_0x17de9b,editing:_0xb124a8,model:_0x41434a}=this['editor'],_0x3868e9=_0x17de9b['get'](_0x131dd8)['getFootnote'](_0xd1c567);return!!_0x3868e9&&(_0x41434a['change'](_0x4c5635=>{_0x4c5635['setSelection'](_0x3868e9['reference'],'on');}),_0xb124a8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x41ea62}=this['editor']['model'],_0x2f7388=this['editor']['config']['get']('footnotes.multiBlock');_0x41ea62['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x41ea62['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x41ea62['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2f7388?_0x41ea62['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x41ea62['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x41ea62['addChildCheck'](_0x34255d=>{for(const _0xb1d750 of _0x34255d)if('footnoteDefinition'===_0xb1d750['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x59b28b}=this,{conversion:_0x20f65d,editing:_0x34fd97}=_0x59b28b,{t:t}=_0x59b28b['locale'];_0x20f65d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x257910,{writer:_0x2fdc44,consumable:_0x391238})=>{const _0x1f5dfa=_0x257910['getChild'](0x0);if(!_0x1f5dfa||!_0x1f5dfa['is']('element','a'))return null;const _0x3894c3=_0x1f5dfa['getAttribute']('href')||'';if(!_0x3894c3['startsWith']('#'))return null;const _0xbbf3e=_0x3894c3['replace'](/^#/,'');if(!_0xbbf3e)return null;_0x391238['consume'](_0x1f5dfa,{'name':!0x0,'attributes':['href']});for(const {item:_0x4d6ad2}of _0x34fd97['view']['createRangeIn'](_0x1f5dfa))_0x4d6ad2['is']('$textProxy')?_0x391238['consume'](_0x4d6ad2['textNode'],{'name':!0x0}):_0x4d6ad2['is']('element')&&_0x391238['consume'](_0x4d6ad2,{'name':!0x0});return _0x2fdc44['createElement']('footnoteRef',{'footnoteId':_0xbbf3e});}}),_0x20f65d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2bfe56,{writer:_0x3c02ea})=>D(_0x2bfe56,_0x3c02ea)}),_0x20f65d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25946b,{writer:_0x5b969e})=>{const _0xede677=_0x25946b['getAttribute']('footnoteCounter');return _0xbb7b(D(_0x25946b,_0x5b969e),_0x5b969e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0xede677)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d301c}=this,{t:t}=_0x6d301c['locale'],{conversion:_0x1e7c1a}=_0x6d301c;_0x1e7c1a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e7c1a['for']('upcast')['add'](_0x21169b=>{_0x21169b['on']('element:ol',(_0x4a9796,_0x1c91bd,_0x3e8dd7)=>{const _0x4d9011=_0x1c91bd['viewItem'];if(!_0x4d9011['hasClass']('footnotes-list')||!_0x1c91bd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3e8dd7['consumable']['consume'](_0x4d9011,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3b705f,modelCursor:_0x3a07a5}=_0x3e8dd7['convertChildren'](_0x1c91bd['viewItem'],_0x1c91bd['modelCursor']);_0x1c91bd['modelRange']=_0x3b705f,_0x1c91bd['modelCursor']=_0x3a07a5;}),_0x21169b['on']('element:hr',(_0x45d480,_0x5d8071,_0x2782f6)=>{const _0x288187=_0x5d8071['viewItem'];_0x288187['hasClass']('footnotes-divider')&&_0x5d8071['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2782f6['consumable']['consume'](_0x288187,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e7c1a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x6d7994,{writer:_0x166550})=>v(_0x166550)}),_0x1e7c1a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38e4d2,{writer:_0x1947a7})=>{const _0x58cbbb=v(_0x1947a7,{'data-footnotes-list-label':t('Footnotes')}),_0x3eceed=_0xbb7b(_0x58cbbb,_0x1947a7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1947a7['setCustomProperty']('footnotesDefinitions',!0x0,_0x3eceed),_0x3eceed;}});}['_defineDefinitionConverters'](){const {editor:_0x253b2b}=this,{conversion:_0x24e820,locale:_0x3ffb62}=_0x253b2b,_0x3c7583=_0x253b2b['config']['get']('footnotes.multiBlock');_0x24e820['for']('upcast')['add'](_0x1b9a70=>{_0x1b9a70['on']('element:li',(_0x404ed1,_0x3443a7,_0x327fbb)=>{const _0x45740a=_0x3443a7['viewItem'];if(!_0x45740a['hasClass']('footnote-definition')||!_0x45740a['getAttribute']('id'))return;const _0x197f66=_0x45740a['parent'];if(!_0x197f66['is']('element','ol')||!_0x197f66['hasClass']('footnotes-list'))return;if(!_0x327fbb['consumable']['test'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2365f4=_0x327fbb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45740a['getAttribute']('id')});if(!_0x327fbb['safeInsert'](_0x2365f4,_0x3443a7['modelCursor']))return;_0x327fbb['consumable']['consume'](_0x45740a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x12fae6=Array['from'](_0x45740a['getChildren']())['find'](_0x2a2fae=>_0x2a2fae['is']('element')&&_0x2a2fae['hasClass']('footnote-content'));for(const _0x58d745 of _0x45740a['getChildren']())_0x58d745['is']('element')&&(_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x327fbb['consumable']['consume'](_0x58d745,{'name':!0x0,'classes':'footnote-content'}));if(_0x12fae6){if(_0x3c7583)_0x327fbb['convertChildren'](_0x12fae6,_0x2365f4);else{const _0x53ecce=_0x327fbb['writer']['createElement']('footnoteInlineContent');_0x327fbb['writer']['insert'](_0x53ecce,_0x2365f4),_0x327fbb['convertChildren'](_0x12fae6,_0x53ecce);}}_0x327fbb['updateConversionResult'](_0x2365f4,_0x3443a7);});}),_0x24e820['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2d940f,{writer:_0x586a26})=>b(_0x2d940f,_0x586a26,_0x3ffb62,{'dataPipeline':!0x0})}),_0x24e820['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x225d98,{writer:_0x462904})=>b(_0x225d98,_0x462904,_0x3ffb62)});}['_defineBogusParagraphConverters'](){const {editor:_0x2d1984}=this,{conversion:_0x4fcc4f}=_0x2d1984;_0x2d1984['config']['get']('footnotes.multiBlock')?(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2d1984['model']['document'],'change:data',()=>{!function(_0x1146f2,_0x5c44af){const _0x2d1f8c=_0x1146f2['document']['differ'],_0x1539fc=new Set();for(const _0x54e929 of _0x2d1f8c['getChanges']()){const _0x29ecac='attribute'==_0x54e929['type']?_0x54e929['range']['start']['parent']:_0x54e929['position']['parent'];_0x29ecac['is']('element','footnoteDefinition')&&_0x1539fc['add'](_0x29ecac);}for(const _0x470da4 of _0x1539fc['values']()){const _0x1e59e5=Array['from'](_0x470da4['getChildren']())['filter'](_0x57a617=>g(_0x57a617,_0x5c44af['mapper']));for(const _0x13fe96 of _0x1e59e5)_0x5c44af['reconvertItem'](_0x13fe96);}}(_0x2d1984['model'],_0x2d1984['editing']);})):(_0x4fcc4f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4fcc4f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5989db,{writer:_0x1e16bd})=>{const _0x310d74=_0x1e16bd['createContainerElement']('span');return _0x1e16bd['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x310d74),_0x310d74;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e00ea}=this,{editing:_0x169d1e,t:t}=_0x3e00ea,_0x2df9d7=_0x3e00ea['model']['document']['selection'];_0x3e00ea['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e00ea['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x169d1e['view']['document'],'enter',(_0xe9c214,_0x342e5d)=>{const _0x2d3681=function(_0x21dcec){const _0x202bf2=_0x21dcec['getSelectedElement']();if(_0x202bf2?.['is']('element','footnoteRef'))return _0x202bf2;return null;}(_0x2df9d7);if(_0x2d3681){const _0x24fe92=_0x2d3681['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x24fe92),_0x342e5d['preventDefault'](),_0xe9c214['stop']();}},{'context':_0x1584e5});}['_defineClickHandlers'](){const {editor:_0xa4e70b}=this,{editing:_0x78c9d1}=_0xa4e70b;_0xa4e70b['editing']['view']['addObserver'](_0xdd4942),_0xa4e70b['editing']['view']['addObserver'](_0x1b3d36);let _0x20398a=!0x1;this['listenTo'](_0x78c9d1['view']['document'],'pointerdown',(_0x41f261,_0x450f44)=>{const {target:_0x4a16e4}=_0x450f44,_0x40a68c=_0x78c9d1['view']['document']['selection'];_0x20398a=!!(_0x4a16e4?.['is']('element','a')&&_0x4a16e4['parent']?.['is']('element','sup')&&_0x4a16e4['parent']['hasClass']('footnote'))&&_0x40a68c['getSelectedElement']()===_0x4a16e4['parent'];},{'priority':'high'}),this['listenTo'](_0x78c9d1['view']['document'],'click',(_0x1a3c22,_0x30a7ef)=>{const {target:_0x38b6fb}=_0x30a7ef;if(!_0x38b6fb?.['is']('element','a'))return;if(_0x38b6fb['parent']?.['is']('element','sup')&&_0x38b6fb['parent']['hasClass']('footnote')&&!_0x20398a)return void _0x30a7ef['preventDefault']();let _0x5bf084=_0x38b6fb['getAttribute']('href');if(!_0x5bf084?.['startsWith']('#'))return;_0x5bf084=_0x5bf084['slice'](0x1);let _0x17e904=!0x1;(_0x5bf084['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x5bf084['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x5bf084))&&(_0x17e904=!0x0),_0x17e904&&(_0x30a7ef['preventDefault'](),_0x1a3c22['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xe7d800}={}){return(_0x5103c9,{writer:_0x4d2f94})=>{if(!p(_0x5103c9))return null;if(!_0xe7d800)return _0x4d2f94['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x587ff4=_0x4d2f94['createContainerElement']('p');return _0x4d2f94['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x587ff4),_0x587ff4;};}function p(_0x1dd390){const {parent:_0x329d20}=_0x1dd390;if(!_0x329d20?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x329d20['childCount'])return!0x1;for(const _0x1899bb of _0x1dd390['getAttributeKeys']())if(!_0x1899bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1899bb)return!0x1;return!0x0;}function g(_0x3a1a7e,_0x4eb388){if(!_0x3a1a7e['is']('element','paragraph'))return!0x1;const _0x572095=_0x4eb388['toViewElement'](_0x3a1a7e);return!!_0x572095&&p(_0x3a1a7e)!==_0x572095['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x341b9c){return _0x1584e5(_0x341b9c)&&_0x341b9c['is']('containerElement')&&!!_0x341b9c['getCustomProperty']('footnotesDefinitions');}function v(_0x4c458f,_0x12610b={}){const _0x23bba6=_0x4c458f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x11df36=_0x4c458f['createContainerElement']('ol',{'class':'footnotes-list'},_0x4c458f['createSlot']());return _0x4c458f['createContainerElement']('div',{'class':'footnotes',..._0x12610b},[_0x23bba6,_0x11df36]);}function D(_0x10c8cd,_0x182894){const _0x59819a=_0x10c8cd['getAttribute']('footnoteId'),_0x306e77=_0x10c8cd['getAttribute']('footnoteCounter'),_0x1d70f6=_0x182894['createUIElement']('a',{'href':'#'+_0x59819a},function(_0x3fe945){const _0x2a1fba=this['toDomElement'](_0x3fe945);return _0x2a1fba['textContent']=_0x306e77,_0x2a1fba;}),_0x4035eb=_0x182894['createContainerElement']('sup',{'id':'ref-'+_0x59819a,'class':'footnote'},[_0x1d70f6]);return _0x4035eb['getFillerOffset']=()=>null,_0x4035eb;}function b(_0x37ceb4,_0x5c5e14,_0x5ad746,{dataPipeline:_0x40498d}={}){const {t:t}=_0x5ad746,_0x81f756=_0x37ceb4['getAttribute']('footnoteId'),_0x333610=_0x5c5e14['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x81f756},function(_0x2f2563){const _0x5db2c4=this['toDomElement'](_0x2f2563);return _0x5db2c4['innerText']='^',_0x5db2c4;}),_0x40a7cf=_0x40498d?_0x5c5e14['createContainerElement']('div',{'class':'footnote-content'}):_0x5b1148(_0x5c5e14['createEditableElement']('div',{'class':'footnote-content'}),_0x5c5e14,{'label':t('Footnote\x20content.')});return _0x5c5e14['insert'](_0x5c5e14['createPositionAt'](_0x40a7cf,0x0),_0x5c5e14['createSlot']()),_0x5c5e14['createContainerElement']('li',{'class':'footnote-definition','id':_0x81f756},[_0x333610,_0x40a7cf]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
function _0xd9eb(_0x3dc4ef,_0x46e101){const _0xd77df8=_0xd77d();return _0xd9eb=function(_0xd9eb1f,_0x45c606){_0xd9eb1f=_0xd9eb1f-0x12e;let _0x1eb577=_0xd77df8[_0xd9eb1f];return _0x1eb577;},_0xd9eb(_0x3dc4ef,_0x46e101);}const _0x41dede=_0xd9eb;(function(_0x27df39,_0x24c200){const _0x26ec3f=_0xd9eb,_0x234209=_0x27df39();while(!![]){try{const _0x276e05=-parseInt(_0x26ec3f(0x134))/0x1+-parseInt(_0x26ec3f(0x12f))/0x2+-parseInt(_0x26ec3f(0x137))/0x3+parseInt(_0x26ec3f(0x133))/0x4*(parseInt(_0x26ec3f(0x13a))/0x5)+-parseInt(_0x26ec3f(0x142))/0x6+-parseInt(_0x26ec3f(0x12e))/0x7+parseInt(_0x26ec3f(0x130))/0x8;if(_0x276e05===_0x24c200)break;else _0x234209['push'](_0x234209['shift']());}catch(_0x1e815c){_0x234209['push'](_0x234209['shift']());}}}(_0xd77d,0x59537));import{Command as _0x401d78}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5f36a7}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x401d78{[_0x41dede(0x13e)](){const _0x45c74d=_0x41dede,{editor:_0x5964ff}=this,_0x537a83=_0x5964ff[_0x45c74d(0x135)][_0x45c74d(0x136)](_0x5f36a7)[_0x45c74d(0x13f)]();this[_0x45c74d(0x141)]=!!_0x537a83,this[_0x45c74d(0x140)]=_0x537a83?.[_0x45c74d(0x131)](_0x45c74d(0x139))??null;}[_0x41dede(0x13b)]({value:_0xede50}){const _0x706e49=_0x41dede,{editor:_0x2278e2}=this,_0x2b2b77=_0x2278e2[_0x706e49(0x135)][_0x706e49(0x136)](_0x5f36a7),_0x10e3ad=_0x2b2b77[_0x706e49(0x13f)]();_0x10e3ad&&Number[_0x706e49(0x143)](_0xede50)&&_0x2278e2[_0x706e49(0x132)][_0x706e49(0x13c)](_0x1f3fd4=>{const _0xff0188=_0x706e49;_0x1f3fd4[_0xff0188(0x13d)](_0xff0188(0x139),_0xede50,_0x10e3ad),_0x2b2b77[_0xff0188(0x138)](_0x1f3fd4);});}}function _0xd77d(){const _0xa20203=['_updateFootnotesCounters','footnotesListStart','1075455IwjRWn','execute','change','setAttribute','refresh','getFootnotesDefinitionsObjectElement','value','isEnabled','4374162tNNKhM','isInteger','1558326PhcgCB','63214HAEodE','11019024umZezZ','getAttribute','model','4lHtjmZ','70055bXoMVU','plugins','get','519849qFWmAL'];_0xd77d=function(){return _0xa20203;};return _0xd77d();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xbb9cff=_0x65fe;(function(_0x3305cc,_0x193600){const _0x2ce89e=_0x65fe,_0x41a2d6=_0x3305cc();while(!![]){try{const _0x514b23=-parseInt(_0x2ce89e(0x89))/0x1*(-parseInt(_0x2ce89e(0x84))/0x2)+-parseInt(_0x2ce89e(0x82))/0x3*(parseInt(_0x2ce89e(0x77))/0x4)+-parseInt(_0x2ce89e(0x81))/0x5+-parseInt(_0x2ce89e(0x72))/0x6+parseInt(_0x2ce89e(0x75))/0x7+-parseInt(_0x2ce89e(0x88))/0x8+parseInt(_0x2ce89e(0x76))/0x9*(parseInt(_0x2ce89e(0x87))/0xa);if(_0x514b23===_0x193600)break;else _0x41a2d6['push'](_0x41a2d6['shift']());}catch(_0x46ca28){_0x41a2d6['push'](_0x41a2d6['shift']());}}}(_0x5027,0x8a6e0));import{Command as _0x550784}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x25e829}from'../footnotespropertiesconfig.js';function _0x65fe(_0x44f033,_0x2720bb){const _0x5027a2=_0x5027();return _0x65fe=function(_0x65fe0f,_0x508151){_0x65fe0f=_0x65fe0f-0x72;let _0x52325e=_0x5027a2[_0x65fe0f];return _0x52325e;},_0x65fe(_0x44f033,_0x2720bb);}import{FootnotesTracker as _0x39eb74}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x550784{[_0xbb9cff(0x7a)](){const _0x4bd314=_0xbb9cff,{editor:_0x380340}=this,_0x190d91=_0x380340[_0x4bd314(0x73)][_0x4bd314(0x80)](_0x39eb74)[_0x4bd314(0x78)]();this[_0x4bd314(0x86)]=!!_0x190d91,this[_0x4bd314(0x74)]=_0x190d91?.[_0x4bd314(0x7d)](_0x4bd314(0x83))??null;}[_0xbb9cff(0x7c)]({value:_0x135887}){const _0xa8590c=_0xbb9cff,{editor:_0x514258}=this,_0x2c14a1=_0x514258[_0xa8590c(0x73)][_0xa8590c(0x80)](_0x39eb74),_0x4c58d7=_0x2c14a1[_0xa8590c(0x78)]();_0x4c58d7&&_0x25e829[_0xa8590c(0x7e)](_0x135887)&&_0x514258[_0xa8590c(0x7b)][_0xa8590c(0x79)](_0x2a9985=>{const _0x5c32ee=_0xa8590c;_0x2a9985[_0x5c32ee(0x85)](_0x5c32ee(0x83),_0x135887,_0x4c58d7),_0x2c14a1[_0x5c32ee(0x7f)](_0x2a9985);});}}function _0x5027(){const _0x474c2a=['get','4683255kxyyIH','96yYTuTW','footnotesListStyle','5626EjgWTV','setAttribute','isEnabled','178490UmKoMS','2943312VRvGPE','167gplWem','6555858FrcTWo','plugins','value','7216188Zgzlok','1017XPvliG','69172YcTpJR','getFootnotesDefinitionsObjectElement','change','refresh','model','execute','getAttribute','includes','_updateFootnotesCounters'];_0x5027=function(){return _0x474c2a;};return _0x5027();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x47256f=_0x4200;(function(_0x16dccd,_0x2a778a){const _0x20ea57=_0x4200,_0x18e2de=_0x16dccd();while(!![]){try{const _0x512ccd=-parseInt(_0x20ea57(0x123))/0x1*(-parseInt(_0x20ea57(0x116))/0x2)+parseInt(_0x20ea57(0x124))/0x3+-parseInt(_0x20ea57(0x11b))/0x4*(-parseInt(_0x20ea57(0x11f))/0x5)+parseInt(_0x20ea57(0x11d))/0x6+-parseInt(_0x20ea57(0x125))/0x7+parseInt(_0x20ea57(0x122))/0x8+-parseInt(_0x20ea57(0x118))/0x9*(parseInt(_0x20ea57(0x11c))/0xa);if(_0x512ccd===_0x2a778a)break;else _0x18e2de['push'](_0x18e2de['shift']());}catch(_0x26a0c4){_0x18e2de['push'](_0x18e2de['shift']());}}}(_0x17da,0x7e469));function _0x4200(_0xbe61ca,_0x4be52c){const _0x17da62=_0x17da();return _0x4200=function(_0x4200cc,_0x4b88ae){_0x4200cc=_0x4200cc-0x115;let _0x5af122=_0x17da62[_0x4200cc];return _0x5af122;},_0x4200(_0xbe61ca,_0x4be52c);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x47256f(0x117),_0x47256f(0x120),_0x47256f(0x11e),_0x47256f(0x11a),_0x47256f(0x119),_0x47256f(0x121),_0x47256f(0x126),_0x47256f(0x115)];function _0x17da(){const _0xb1c9ea=['2974164cRtntC','366002uZyixR','lower-roman','upper-roman','6542JzejoZ','decimal','4952754PSUECf','lower-alpha','upper-latin','647156fgBfze','40HRzpXJ','821862ZYEGvw','lower-latin','20eFEGTK','decimal-leading-zero','upper-alpha','85144BSDvBX','301IrStfO'];_0x17da=function(){return _0xb1c9ea;};return _0x17da();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x2ebb08=_0x5848;(function(_0x15f106,_0xf8dce8){const _0x5054c7=_0x5848,_0x88ef88=_0x15f106();while(!![]){try{const _0x4b7ed3=parseInt(_0x5054c7(0x1ed))/0x1+-parseInt(_0x5054c7(0x1f5))/0x2*(parseInt(_0x5054c7(0x1f3))/0x3)+parseInt(_0x5054c7(0x236))/0x4+-parseInt(_0x5054c7(0x215))/0x5+parseInt(_0x5054c7(0x22d))/0x6+-parseInt(_0x5054c7(0x1d4))/0x7+parseInt(_0x5054c7(0x1f9))/0x8*(parseInt(_0x5054c7(0x1d6))/0x9);if(_0x4b7ed3===_0xf8dce8)break;else _0x88ef88['push'](_0x88ef88['shift']());}catch(_0x1f3032){_0x88ef88['push'](_0x88ef88['shift']());}}}(_0x40ef,0x8bce2));import{Plugin as _0x15653a}from'ckeditor5/src/core.js';function _0x5848(_0x3be13d,_0x58664f){const _0x40ef1a=_0x40ef();return _0x5848=function(_0x584842,_0x285b3c){_0x584842=_0x584842-0x1d4;let _0x4f69be=_0x40ef1a[_0x584842];return _0x4f69be;},_0x5848(_0x3be13d,_0x58664f);}import{FootnotesStyleCommand as _0x10671d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x7625f3}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0xc16c86}from'../footnotestracker.js';import{FootnotesEditing as _0x2f3fa1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x15653a{static get[_0x2ebb08(0x1df)](){const _0x403140=_0x2ebb08;return _0x403140(0x235);}static get[_0x2ebb08(0x1e7)](){return[_0x2f3fa1,_0xc16c86];}static get[_0x2ebb08(0x1f7)](){return!0x0;}static get[_0x2ebb08(0x222)](){return!0x0;}[_0x2ebb08(0x1ee)](){const _0x5c1641=_0x2ebb08,{editor:_0x3e9770}=this;_0x3e9770[_0x5c1641(0x219)][_0x5c1641(0x204)](_0x5c1641(0x1e1),_0x5c1641(0x1ef)),_0x3e9770[_0x5c1641(0x219)][_0x5c1641(0x204)](_0x5c1641(0x1fc),0x1),_0x3e9770[_0x5c1641(0x22f)][_0x5c1641(0x20b)](_0x5c1641(0x230),new _0x10671d(_0x3e9770)),_0x3e9770[_0x5c1641(0x22f)][_0x5c1641(0x20b)](_0x5c1641(0x1e3),new _0x7625f3(_0x3e9770)),this[_0x5c1641(0x1e0)](),this[_0x5c1641(0x20a)](),this[_0x5c1641(0x21c)](),this[_0x5c1641(0x234)]();}[_0x2ebb08(0x1e0)](){const _0x48c66f=_0x2ebb08,{editor:_0x4f6d}=this,{schema:_0x3bf4be}=_0x4f6d[_0x48c66f(0x1e5)];_0x3bf4be[_0x48c66f(0x1db)](_0x48c66f(0x1f2),{'allowAttributes':[_0x48c66f(0x1eb),_0x48c66f(0x1d9)]});}[_0x2ebb08(0x20a)](){const _0x2e41da=_0x2ebb08,{editor:_0x36c4c7}=this,{conversion:_0x455d7f,model:_0x10d3b5}=_0x36c4c7,{schema:_0x29d56c}=_0x10d3b5;_0x455d7f[_0x2e41da(0x1ec)](_0x2e41da(0x1e8))[_0x2e41da(0x20b)](_0x13ea35=>{const _0x22eebd=_0x2e41da;_0x13ea35['on'](_0x22eebd(0x201),(_0x16126b,_0x503962,_0x144379)=>{const _0x329299=_0x22eebd,_0x56c3e2=_0x503962[_0x329299(0x1fb)],_0x7559e1=_0x503962[_0x329299(0x1f8)]?.[_0x329299(0x226)];_0x56c3e2[_0x329299(0x221)](_0x329299(0x1e4))&&_0x7559e1?.['is'](_0x329299(0x211),_0x329299(0x1f2))&&(function(_0x57a162,_0x36f13c,_0x4028db,_0x4fa5de){const _0x49de4f=_0x329299;if(!_0x4fa5de[_0x49de4f(0x1f1)](_0x36f13c,_0x49de4f(0x1d9)))return;let _0x37d145=0x1;const _0x6f7c7f=_0x4028db[_0x49de4f(0x22b)][_0x49de4f(0x22c)](_0x57a162,{'attributes':_0x49de4f(0x206)});if(_0x6f7c7f){const _0x48d240=Number[_0x49de4f(0x229)](_0x57a162[_0x49de4f(0x1f0)](_0x49de4f(0x206)),0xa);Number[_0x49de4f(0x217)](_0x48d240)||(_0x37d145=_0x48d240);}!_0x6f7c7f&&_0x36f13c[_0x49de4f(0x21b)](_0x49de4f(0x1d9))||_0x4028db[_0x49de4f(0x231)][_0x49de4f(0x210)](_0x49de4f(0x1d9),_0x37d145,_0x36f13c);}(_0x56c3e2,_0x7559e1,_0x144379,_0x29d56c),function(_0x5c66bc,_0x656ca0,_0x45d265,_0x341fe8){const _0x1b7c1c=_0x329299;if(!_0x341fe8[_0x1b7c1c(0x1f1)](_0x656ca0,_0x1b7c1c(0x1eb)))return;let _0x3cc09c=_0x1b7c1c(0x1ef),_0x96294b=!0x1;if(_0x45d265[_0x1b7c1c(0x22b)][_0x1b7c1c(0x22c)](_0x5c66bc,{'attributes':_0x1b7c1c(0x21f)})){const _0x451bd4={0x1:_0x1b7c1c(0x1ef),'a':_0x1b7c1c(0x1d8),'A':_0x1b7c1c(0x1dc),'i':_0x1b7c1c(0x1e9),'I':_0x1b7c1c(0x1fe)}[_0x5c66bc[_0x1b7c1c(0x1f0)](_0x1b7c1c(0x21f))];_0x451bd4&&(_0x3cc09c=_0x451bd4),_0x96294b=!0x0;}_0x45d265[_0x1b7c1c(0x22b)][_0x1b7c1c(0x22c)](_0x5c66bc,{'styles':_0x1b7c1c(0x218)})&&(_0x3cc09c=function(_0x418cd1){const _0x909010=_0x1b7c1c;switch(_0x418cd1){case _0x909010(0x1d8):return _0x909010(0x1d7);case _0x909010(0x1dc):return _0x909010(0x1f6);default:return _0x418cd1;}}(_0x5c66bc[_0x1b7c1c(0x20f)](_0x1b7c1c(0x218))),_0x96294b=!0x0),!_0x96294b&&_0x656ca0[_0x1b7c1c(0x21b)](_0x1b7c1c(0x1eb))||_0x45d265[_0x1b7c1c(0x231)][_0x1b7c1c(0x210)](_0x1b7c1c(0x1eb),_0x3cc09c,_0x656ca0);}(_0x56c3e2,_0x7559e1,_0x144379,_0x29d56c));});}),_0x455d7f[_0x2e41da(0x1ec)](_0x2e41da(0x1d5))[_0x2e41da(0x20b)](_0x298e01=>{const _0x525f21=_0x2e41da;_0x298e01['on'](_0x525f21(0x207),(_0x192b07,_0x555013,_0x5cfd89)=>{const _0xf552e9=_0x525f21;if(!_0x5cfd89[_0xf552e9(0x22b)][_0xf552e9(0x22c)](_0x555013[_0xf552e9(0x213)],_0x192b07[_0xf552e9(0x21a)]))return;const _0x31f001=M(_0x555013[_0xf552e9(0x213)],_0x5cfd89[_0xf552e9(0x208)]),{attributeNewValue:_0x57344f}=_0x555013;null==_0x57344f||0x1===_0x57344f?_0x5cfd89[_0xf552e9(0x231)][_0xf552e9(0x1dd)](_0xf552e9(0x206),_0x31f001):_0x5cfd89[_0xf552e9(0x231)][_0xf552e9(0x210)](_0xf552e9(0x206),String(_0x57344f),_0x31f001);}),_0x298e01['on'](_0x525f21(0x20c),(_0x3b7696,_0x188dd6,_0x28fba0)=>{const _0x5432ec=_0x525f21;if(!_0x28fba0[_0x5432ec(0x22b)][_0x5432ec(0x22c)](_0x188dd6[_0x5432ec(0x213)],_0x3b7696[_0x5432ec(0x21a)]))return;const _0x27329d=M(_0x188dd6[_0x5432ec(0x213)],_0x28fba0[_0x5432ec(0x208)]),{attributeNewValue:_0x128c55}=_0x188dd6;_0x128c55&&_0x5432ec(0x1ef)!==_0x128c55?_0x28fba0[_0x5432ec(0x231)][_0x5432ec(0x21e)](_0x5432ec(0x218),_0x128c55,_0x27329d):_0x28fba0[_0x5432ec(0x231)][_0x5432ec(0x1fa)](_0x5432ec(0x218),_0x27329d);});});}[_0x2ebb08(0x234)](){const _0x485454=_0x2ebb08,{editor:_0x1f808b}=this,{model:_0x1b738e}=_0x1f808b,_0x587f65=_0x1f808b[_0x485454(0x20d)][_0x485454(0x203)](_0xc16c86),_0x50e19f=this[_0x485454(0x1fd)](),_0xdad741=this[_0x485454(0x209)]();_0x1b738e[_0x485454(0x227)][_0x485454(0x216)](_0x45dbf9=>{const _0x2845fd=_0x485454,_0x537d9=_0x1b738e[_0x2845fd(0x227)][_0x2845fd(0x20e)][_0x2845fd(0x1ea)]();let _0xe75d9a=!0x1;for(const _0x23ebb2 of _0x537d9){if(_0x2845fd(0x232)!==_0x23ebb2[_0x2845fd(0x21f)]||_0x2845fd(0x233)===_0x23ebb2[_0x2845fd(0x21a)])continue;const _0x1d8c21=_0x1b738e[_0x2845fd(0x1e6)](_0x23ebb2[_0x2845fd(0x200)][_0x2845fd(0x212)]);for(const _0x478de5 of _0x1d8c21[_0x2845fd(0x205)]())_0x478de5['is'](_0x2845fd(0x211),_0x2845fd(0x1f2))&&(!_0x478de5[_0x2845fd(0x21b)](_0x2845fd(0x1d9))&&_0x1b738e[_0x2845fd(0x214)][_0x2845fd(0x1f1)](_0x478de5,_0x2845fd(0x1d9))&&(_0x45dbf9[_0x2845fd(0x210)](_0x2845fd(0x1d9),_0xdad741,_0x478de5),_0xe75d9a=!0x0),!_0x478de5[_0x2845fd(0x21b)](_0x2845fd(0x1eb))&&_0x1b738e[_0x2845fd(0x214)][_0x2845fd(0x1f1)](_0x478de5,_0x2845fd(0x1eb))&&(_0x45dbf9[_0x2845fd(0x210)](_0x2845fd(0x1eb),_0x50e19f,_0x478de5),_0xe75d9a=!0x0));}return _0xe75d9a&&_0x587f65[_0x2845fd(0x1f4)](_0x45dbf9),_0xe75d9a;});}[_0x2ebb08(0x21c)](){const _0x4242cd=_0x2ebb08,{editor:_0x1c8fea}=this;_0x1c8fea[_0x4242cd(0x20d)][_0x4242cd(0x203)](_0xc16c86)[_0x4242cd(0x1ff)](_0x339d6d=>this[_0x4242cd(0x21d)](_0x339d6d));}[_0x2ebb08(0x1fd)](){const _0x3d01f1=_0x2ebb08;return this[_0x3d01f1(0x223)][_0x3d01f1(0x219)][_0x3d01f1(0x203)](_0x3d01f1(0x1e1));}[_0x2ebb08(0x209)](){const _0xa39a4c=_0x2ebb08;return this[_0xa39a4c(0x223)][_0xa39a4c(0x219)][_0xa39a4c(0x203)](_0xa39a4c(0x1fc));}[_0x2ebb08(0x21d)]({container:_0xb91af4,value:_0x53087c,digits:_0x44879f}){const _0x1e6963=_0x2ebb08,_0x538fbe=_0xb91af4[_0x1e6963(0x1f0)](_0x1e6963(0x1eb)),_0x28cc46=_0xb91af4[_0x1e6963(0x1f0)](_0x1e6963(0x1d9)),_0x174520=Math[_0x1e6963(0x237)](_0x53087c)+(_0x28cc46??0x1)-0x1;switch(_0x538fbe){case _0x1e6963(0x22e):return function(_0xc82231,_0x3e96ea){const _0xcc8e0a=_0x1e6963;return String(_0xc82231)[_0xcc8e0a(0x1de)](_0x3e96ea,'0');}(_0x174520,Math[_0x1e6963(0x220)](0x2,_0x44879f));case _0x1e6963(0x1d8):case _0x1e6963(0x1d7):return N(_0x174520,!0x1);case _0x1e6963(0x1dc):case _0x1e6963(0x1f6):return N(_0x174520,!0x0);case _0x1e6963(0x1e9):return X(_0x174520,!0x1);case _0x1e6963(0x1fe):return X(_0x174520,!0x0);default:return String(_0x174520);}}}function _0x40ef(){const _0x40f7aa=['registerPostFixer','isNaN','list-style-type','config','name','hasAttribute','_defineFormatter','_formatFootnoteListValue','setStyle','type','max','hasClass','isPremiumPlugin','editor','toUpperCase','getChildren','parent','document','fromCharCode','parseInt','find','consumable','consume','2019474cIIkbM','decimal-leading-zero','commands','footnotesStyle','writer','insert','$text','_definePostfixer','FootnotesPropertiesEditing','2800280QZdTBz','floor','5274122lZtXmJ','downcast','9JzghBG','lower-latin','lower-alpha','footnotesListStart','toLowerCase','extend','upper-alpha','removeAttribute','padStart','pluginName','_defineSchema','footnotes.footnotesProperties.defaultListStyle','toViewElement','footnotesStart','footnotes-list','model','createRangeOn','requires','upcast','lower-roman','getChanges','footnotesListStyle','for','134929PGMWZf','init','decimal','getAttribute','checkAttribute','footnotesDefinitions','1584333GtxhVw','_updateFootnotesCounters','2nwbPDI','upper-latin','isOfficialPlugin','modelCursor','12179200MDZQKu','removeStyle','viewItem','footnotes.footnotesProperties.defaultStartIndex','_getDefaultListStyle','upper-roman','setFootnoteFormatter','position','element:ol','from','get','define','getItems','start','attribute:footnotesListStart:footnotesDefinitions','mapper','_getDefaultStartIndex','_defineConverters','add','attribute:footnotesListStyle:footnotesDefinitions','plugins','differ','getStyle','setAttribute','element','nodeAfter','item','schema','4198895LcZrSj'];_0x40ef=function(){return _0x40f7aa;};return _0x40ef();}function M(_0x766c9b,_0x1f253f){const _0x237c5b=_0x2ebb08,_0x4abf44=_0x1f253f[_0x237c5b(0x1e2)](_0x766c9b);return Array[_0x237c5b(0x202)](_0x4abf44[_0x237c5b(0x225)]())[_0x237c5b(0x22a)](_0x484dc4=>_0x484dc4['is'](_0x237c5b(0x211),'ol')&&_0x484dc4[_0x237c5b(0x221)](_0x237c5b(0x1e4)));}function N(_0x2bf9d1,_0x1d05cd){const _0x30aa2e=_0x2ebb08;let _0x4bd6d3='',_0x4fcef6=_0x2bf9d1;for(;_0x4fcef6>0x0;){const _0x4cda14=(_0x4fcef6-0x1)%0x1a;_0x4bd6d3=String[_0x30aa2e(0x228)](0x61+_0x4cda14)+_0x4bd6d3,_0x4fcef6=Math[_0x30aa2e(0x237)]((_0x4fcef6-0x1)/0x1a);}return _0x1d05cd?_0x4bd6d3[_0x30aa2e(0x224)]():_0x4bd6d3;}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(_0x53b65d,_0x1f1812){const _0x3c86c1=_0x2ebb08;let _0x42b55b='',_0x3f831a=_0x53b65d;for(const {value:_0x1025f8,numeral:_0x1d7b45}of V)for(;_0x3f831a>=_0x1025f8;)_0x42b55b+=_0x1d7b45,_0x3f831a-=_0x1025f8;return _0x1f1812?_0x42b55b:_0x42b55b[_0x3c86c1(0x1da)]();}
|
|
23
|
+
const _0x4a0e94=_0x95cc;(function(_0x412b11,_0x44b65c){const _0x1cc6b4=_0x95cc,_0x5c90da=_0x412b11();while(!![]){try{const _0x3d4f78=parseInt(_0x1cc6b4(0x17f))/0x1*(-parseInt(_0x1cc6b4(0x157))/0x2)+-parseInt(_0x1cc6b4(0x169))/0x3+parseInt(_0x1cc6b4(0x16a))/0x4+parseInt(_0x1cc6b4(0x13a))/0x5*(-parseInt(_0x1cc6b4(0x142))/0x6)+parseInt(_0x1cc6b4(0x189))/0x7+parseInt(_0x1cc6b4(0x162))/0x8+-parseInt(_0x1cc6b4(0x15f))/0x9;if(_0x3d4f78===_0x44b65c)break;else _0x5c90da['push'](_0x5c90da['shift']());}catch(_0x240159){_0x5c90da['push'](_0x5c90da['shift']());}}}(_0x2ced,0xd241b));import{Plugin as _0xcb15cc}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x143d70}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x238e1a}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5093c7}from'../footnotestracker.js';function _0x2ced(){const _0x52d002=['registerPostFixer','name','4020YldAlW','start','padStart','schema','footnotes-list','getItems','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','5286kalbHP','viewItem','upper-latin','for','decimal-leading-zero','element','removeAttribute','document','consumable','lower-alpha','hasAttribute','footnotesStyle','mapper','setFootnoteFormatter','footnotesListStyle','_defineConverters','floor','footnotesStart','setStyle','toViewElement','lower-roman','12398dAELkw','_defineFormatter','add','getStyle','getAttribute','setAttribute','pluginName','max','6498729XpDbdA','init','getChildren','12964584jhnYny','type','element:ol','toLowerCase','upper-roman','position','requires','831369bnLREn','2916640AiVVpJ','upcast','get','find','writer','createRangeOn','_formatFootnoteListValue','config','_defineSchema','differ','$text','commands','footnotes.footnotesProperties.defaultStartIndex','hasClass','footnotesListStart','isNaN','item','attribute:footnotesListStyle:footnotesDefinitions','toUpperCase','insert','parent','40hQVJWw','_updateFootnotesCounters','modelCursor','isPremiumPlugin','FootnotesPropertiesEditing','isOfficialPlugin','extend','fromCharCode','_definePostfixer','lower-latin','3268762RDKHem','define','plugins','nodeAfter','footnotesDefinitions','model','upper-alpha','_getDefaultListStyle','footnotes.footnotesProperties.defaultListStyle','list-style-type','decimal','editor','getChanges','removeStyle','parseInt','checkAttribute','consume','from','downcast'];_0x2ced=function(){return _0x52d002;};return _0x2ced();}import{FootnotesEditing as _0x234908}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xcb15cc{static get[_0x4a0e94(0x15d)](){const _0x1d1799=_0x4a0e94;return _0x1d1799(0x183);}static get[_0x4a0e94(0x168)](){return[_0x234908,_0x5093c7];}static get[_0x4a0e94(0x184)](){return!0x0;}static get[_0x4a0e94(0x182)](){return!0x0;}[_0x4a0e94(0x160)](){const _0xe937b=_0x4a0e94,{editor:_0x16d269}=this;_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x12d),_0xe937b(0x12f)),_0x16d269[_0xe937b(0x171)][_0xe937b(0x18a)](_0xe937b(0x176),0x1),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x14d),new _0x143d70(_0x16d269)),_0x16d269[_0xe937b(0x175)][_0xe937b(0x159)](_0xe937b(0x153),new _0x238e1a(_0x16d269)),this[_0xe937b(0x172)](),this[_0xe937b(0x151)](),this[_0xe937b(0x158)](),this[_0xe937b(0x187)]();}[_0x4a0e94(0x172)](){const _0x5116e5=_0x4a0e94,{editor:_0xe30595}=this,{schema:_0x8bad88}=_0xe30595[_0x5116e5(0x18e)];_0x8bad88[_0x5116e5(0x185)](_0x5116e5(0x18d),{'allowAttributes':[_0x5116e5(0x150),_0x5116e5(0x178)]});}[_0x4a0e94(0x151)](){const _0xb803d4=_0x4a0e94,{editor:_0x425215}=this,{conversion:_0x4d7346,model:_0x2e4d1d}=_0x425215,{schema:_0x20341f}=_0x2e4d1d;_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x16b))[_0xb803d4(0x159)](_0x1cfe9f=>{const _0x36cc87=_0xb803d4;_0x1cfe9f['on'](_0x36cc87(0x164),(_0x5eb2d9,_0x22af7b,_0x5ec815)=>{const _0x24a4b2=_0x36cc87,_0x2f3e70=_0x22af7b[_0x24a4b2(0x143)],_0x276c3f=_0x22af7b[_0x24a4b2(0x181)]?.[_0x24a4b2(0x17e)];_0x2f3e70[_0x24a4b2(0x177)](_0x24a4b2(0x13e))&&_0x276c3f?.['is'](_0x24a4b2(0x147),_0x24a4b2(0x18d))&&(function(_0x29550b,_0x46b1b0,_0x4b6afc,_0x5805da){const _0x351e34=_0x24a4b2;if(!_0x5805da[_0x351e34(0x134)](_0x46b1b0,_0x351e34(0x178)))return;let _0x54c481=0x1;const _0x1f1d9b=_0x4b6afc[_0x351e34(0x14a)][_0x351e34(0x135)](_0x29550b,{'attributes':_0x351e34(0x13b)});if(_0x1f1d9b){const _0x197204=Number[_0x351e34(0x133)](_0x29550b[_0x351e34(0x15b)](_0x351e34(0x13b)),0xa);Number[_0x351e34(0x179)](_0x197204)||(_0x54c481=_0x197204);}!_0x1f1d9b&&_0x46b1b0[_0x351e34(0x14c)](_0x351e34(0x178))||_0x4b6afc[_0x351e34(0x16e)][_0x351e34(0x15c)](_0x351e34(0x178),_0x54c481,_0x46b1b0);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f),function(_0x5da673,_0x3a7f32,_0x467477,_0x2cfb9e){const _0x118e59=_0x24a4b2;if(!_0x2cfb9e[_0x118e59(0x134)](_0x3a7f32,_0x118e59(0x150)))return;let _0x422cb2=_0x118e59(0x12f),_0x29de40=!0x1;if(_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'attributes':_0x118e59(0x163)})){const _0x1e73fb={0x1:_0x118e59(0x12f),'a':_0x118e59(0x14b),'A':_0x118e59(0x18f),'i':_0x118e59(0x156),'I':_0x118e59(0x166)}[_0x5da673[_0x118e59(0x15b)](_0x118e59(0x163))];_0x1e73fb&&(_0x422cb2=_0x1e73fb),_0x29de40=!0x0;}_0x467477[_0x118e59(0x14a)][_0x118e59(0x135)](_0x5da673,{'styles':_0x118e59(0x12e)})&&(_0x422cb2=function(_0x414d0d){const _0x1e09a6=_0x118e59;switch(_0x414d0d){case _0x1e09a6(0x14b):return _0x1e09a6(0x188);case _0x1e09a6(0x18f):return _0x1e09a6(0x144);default:return _0x414d0d;}}(_0x5da673[_0x118e59(0x15a)](_0x118e59(0x12e))),_0x29de40=!0x0),!_0x29de40&&_0x3a7f32[_0x118e59(0x14c)](_0x118e59(0x150))||_0x467477[_0x118e59(0x16e)][_0x118e59(0x15c)](_0x118e59(0x150),_0x422cb2,_0x3a7f32);}(_0x2f3e70,_0x276c3f,_0x5ec815,_0x20341f));});}),_0x4d7346[_0xb803d4(0x145)](_0xb803d4(0x137))[_0xb803d4(0x159)](_0x4f1492=>{const _0x38c8c2=_0xb803d4;_0x4f1492['on'](_0x38c8c2(0x141),(_0x123ec9,_0x503cb9,_0xa4daec)=>{const _0x28b201=_0x38c8c2;if(!_0xa4daec[_0x28b201(0x14a)][_0x28b201(0x135)](_0x503cb9[_0x28b201(0x17a)],_0x123ec9[_0x28b201(0x139)]))return;const _0xf2b69e=M(_0x503cb9[_0x28b201(0x17a)],_0xa4daec[_0x28b201(0x14e)]),{attributeNewValue:_0x561aee}=_0x503cb9;null==_0x561aee||0x1===_0x561aee?_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x148)](_0x28b201(0x13b),_0xf2b69e):_0xa4daec[_0x28b201(0x16e)][_0x28b201(0x15c)](_0x28b201(0x13b),String(_0x561aee),_0xf2b69e);}),_0x4f1492['on'](_0x38c8c2(0x17b),(_0x2fa00,_0x58ee84,_0x3b6aaa)=>{const _0x2ba95c=_0x38c8c2;if(!_0x3b6aaa[_0x2ba95c(0x14a)][_0x2ba95c(0x135)](_0x58ee84[_0x2ba95c(0x17a)],_0x2fa00[_0x2ba95c(0x139)]))return;const _0x1bbb90=M(_0x58ee84[_0x2ba95c(0x17a)],_0x3b6aaa[_0x2ba95c(0x14e)]),{attributeNewValue:_0x4b25cb}=_0x58ee84;_0x4b25cb&&_0x2ba95c(0x12f)!==_0x4b25cb?_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x154)](_0x2ba95c(0x12e),_0x4b25cb,_0x1bbb90):_0x3b6aaa[_0x2ba95c(0x16e)][_0x2ba95c(0x132)](_0x2ba95c(0x12e),_0x1bbb90);});});}[_0x4a0e94(0x187)](){const _0x3f2abc=_0x4a0e94,{editor:_0x4d1fba}=this,{model:_0xdd415d}=_0x4d1fba,_0x187671=_0x4d1fba[_0x3f2abc(0x18b)][_0x3f2abc(0x16c)](_0x5093c7),_0x4747c4=this[_0x3f2abc(0x12c)](),_0x7cf0a1=this[_0x3f2abc(0x140)]();_0xdd415d[_0x3f2abc(0x149)][_0x3f2abc(0x138)](_0x5d7f3b=>{const _0x4517d9=_0x3f2abc,_0xd30187=_0xdd415d[_0x4517d9(0x149)][_0x4517d9(0x173)][_0x4517d9(0x131)]();let _0x59e545=!0x1;for(const _0x36d874 of _0xd30187){if(_0x4517d9(0x17d)!==_0x36d874[_0x4517d9(0x163)]||_0x4517d9(0x174)===_0x36d874[_0x4517d9(0x139)])continue;const _0x253f15=_0xdd415d[_0x4517d9(0x16f)](_0x36d874[_0x4517d9(0x167)][_0x4517d9(0x18c)]);for(const _0x1f0b39 of _0x253f15[_0x4517d9(0x13f)]())_0x1f0b39['is'](_0x4517d9(0x147),_0x4517d9(0x18d))&&(!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x178))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x178))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x178),_0x7cf0a1,_0x1f0b39),_0x59e545=!0x0),!_0x1f0b39[_0x4517d9(0x14c)](_0x4517d9(0x150))&&_0xdd415d[_0x4517d9(0x13d)][_0x4517d9(0x134)](_0x1f0b39,_0x4517d9(0x150))&&(_0x5d7f3b[_0x4517d9(0x15c)](_0x4517d9(0x150),_0x4747c4,_0x1f0b39),_0x59e545=!0x0));}return _0x59e545&&_0x187671[_0x4517d9(0x180)](_0x5d7f3b),_0x59e545;});}[_0x4a0e94(0x158)](){const _0x10445d=_0x4a0e94,{editor:_0xfa2045}=this;_0xfa2045[_0x10445d(0x18b)][_0x10445d(0x16c)](_0x5093c7)[_0x10445d(0x14f)](_0x1e4d8e=>this[_0x10445d(0x170)](_0x1e4d8e));}[_0x4a0e94(0x12c)](){const _0xc9db28=_0x4a0e94;return this[_0xc9db28(0x130)][_0xc9db28(0x171)][_0xc9db28(0x16c)](_0xc9db28(0x12d));}[_0x4a0e94(0x140)](){const _0x345817=_0x4a0e94;return this[_0x345817(0x130)][_0x345817(0x171)][_0x345817(0x16c)](_0x345817(0x176));}[_0x4a0e94(0x170)]({container:_0x5a0750,value:_0x4ae242,digits:_0x336d10}){const _0x2ce809=_0x4a0e94,_0x1e0658=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x150)),_0x3b74e9=_0x5a0750[_0x2ce809(0x15b)](_0x2ce809(0x178)),_0x49d0c7=Math[_0x2ce809(0x152)](_0x4ae242)+(_0x3b74e9??0x1)-0x1;switch(_0x1e0658){case _0x2ce809(0x146):return function(_0x4b49b7,_0x85c8a6){const _0x3fa476=_0x2ce809;return String(_0x4b49b7)[_0x3fa476(0x13c)](_0x85c8a6,'0');}(_0x49d0c7,Math[_0x2ce809(0x15e)](0x2,_0x336d10));case _0x2ce809(0x14b):case _0x2ce809(0x188):return N(_0x49d0c7,!0x1);case _0x2ce809(0x18f):case _0x2ce809(0x144):return N(_0x49d0c7,!0x0);case _0x2ce809(0x156):return X(_0x49d0c7,!0x1);case _0x2ce809(0x166):return X(_0x49d0c7,!0x0);default:return String(_0x49d0c7);}}}function M(_0x2985f4,_0x3928da){const _0xb74634=_0x4a0e94,_0x4663c3=_0x3928da[_0xb74634(0x155)](_0x2985f4);return Array[_0xb74634(0x136)](_0x4663c3[_0xb74634(0x161)]())[_0xb74634(0x16d)](_0x50e4a5=>_0x50e4a5['is'](_0xb74634(0x147),'ol')&&_0x50e4a5[_0xb74634(0x177)](_0xb74634(0x13e)));}function N(_0x2f1acf,_0x46b8fc){const _0x124e55=_0x4a0e94;let _0x54847d='',_0x181a39=_0x2f1acf;for(;_0x181a39>0x0;){const _0x3fdb74=(_0x181a39-0x1)%0x1a;_0x54847d=String[_0x124e55(0x186)](0x61+_0x3fdb74)+_0x54847d,_0x181a39=Math[_0x124e55(0x152)]((_0x181a39-0x1)/0x1a);}return _0x46b8fc?_0x54847d[_0x124e55(0x17c)]():_0x54847d;}function _0x95cc(_0x51853f,_0xe0105b){const _0x2ced09=_0x2ced();return _0x95cc=function(_0x95cc6c,_0xfe0af1){_0x95cc6c=_0x95cc6c-0x12c;let _0x130f44=_0x2ced09[_0x95cc6c];return _0x130f44;},_0x95cc(_0x51853f,_0xe0105b);}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(_0xaa2dd8,_0x5d9f8c){const _0x3f3800=_0x4a0e94;let _0xeab7cb='',_0x379ee5=_0xaa2dd8;for(const {value:_0x6aba76,numeral:_0x172298}of V)for(;_0x379ee5>=_0x6aba76;)_0xeab7cb+=_0x172298,_0x379ee5-=_0x6aba76;return _0x5d9f8c?_0xeab7cb:_0xeab7cb[_0x3f3800(0x165)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x51f7d5,ButtonView as _0x26fa87,ContextualBalloon as _0x302d0b,createDropdown as _0x94458a}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x157d95}from'ckeditor5/src/widget.js';import{Plugin as _0x4dd99b}from'ckeditor5/src/core.js';import{IconFootnote as _0x3d1c04,IconListStyleDecimal as _0x1f074b,IconListStyleDecimalLeadingZero as _0x71252e,IconListStyleLowerLatin as _0x5dbfbc,IconListStyleLowerRoman as _0x264aea,IconListStyleUpperLatin as _0x50140c,IconListStyleUpperRoman as _0x39b23a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x685fa}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xe28627}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4dd99b{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x302d0b,_0x157d95];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x693f2d}=this,{componentFactory:_0x5ce94d}=_0x693f2d['ui'];_0x693f2d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5ce94d['add']('footnotesStyle',function(_0x38f11b){return _0x1745aa=>{const {t:t}=_0x1745aa,_0xe0a7ec=_0x38f11b['commands']['get']('footnotesStyle'),_0x43864d=_0x94458a(_0x1745aa),{buttonView:_0x55cbeb}=_0x43864d;return _0x43864d['class']='ck-footnotes-styles-dropdown',_0x43864d['bind']('isEnabled')['to'](_0xe0a7ec,'isEnabled'),_0x55cbeb['set']({'label':t('Footnotes\x20style'),'icon':_0x3d1c04,'tooltip':!0x0}),_0x43864d['once']('change:isOpen',()=>{const _0x33f39f=function({editor:_0x11535c,dropdownView:_0x46da12}){const {t:t}=_0x11535c['locale'],_0x92bf95=t('Footnotes\x20definitions\x20styles'),_0x54c2a3=function(_0x16d7fc){const t=_0x16d7fc['locale']['t'],_0x64a49f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1f074b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x71252e},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x264aea},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x39b23a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5dbfbc},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x50140c}];return _0x64a49f['map'](function(_0x26ae4d){const _0x587d00=_0x26ae4d['locale'];return({label:_0x4e5d70,icon:_0x50a68c,tooltip:_0x34878d,style:_0x17b14f})=>{const _0x4660de=_0x26ae4d['commands']['get']('footnotesStyle'),_0x3e2bff=new _0x26fa87(_0x587d00);return _0x3e2bff['set']({'label':_0x4e5d70,'icon':_0x50a68c,'tooltip':_0x34878d}),_0x3e2bff['bind']('isOn')['to'](_0x4660de,'value',_0x4377f2=>_0x4377f2===_0x17b14f),_0x3e2bff['bind']('isEnabled')['to'](_0x4660de,'isEnabled'),_0x3e2bff['on']('execute',()=>{_0x26ae4d['execute']('footnotesStyle',{'value':_0x17b14f}),_0x26ae4d['editing']['view']['focus']();}),_0x3e2bff;};}(_0x16d7fc));}(_0x11535c),_0x19a909=new _0x685fa(_0x11535c['locale'],{'styleGridAriaLabel':_0x92bf95,'styleButtonViews':_0x54c2a3}),_0x266c7b=_0x11535c['commands']['get']('footnotesStart');return _0x19a909['startIndexFieldView']['bind']('isEnabled')['to'](_0x266c7b),_0x19a909['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x266c7b),_0x19a909['on']('footnotesListStart',(_0x5514ea,_0x1d9cd3)=>{_0x11535c['execute']('footnotesStart',{'value':_0x1d9cd3['startIndex']});}),_0x19a909['delegate']('execute')['to'](_0x46da12),_0x19a909;}({'editor':_0x38f11b,'dropdownView':_0x43864d});_0x43864d['panelView']['children']['add'](_0x33f39f);}),_0x43864d;};}(_0x693f2d));}['afterInit'](){const {editor:_0x26bc52}=this,{t:t}=_0x26bc52['locale'],_0x47846f=_0x26bc52['plugins']['get'](_0x157d95),{defaultPositions:_0x550780}=_0x51f7d5;_0x47846f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x26bc52['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2c3e35=>{let _0x3d8d03=_0x2c3e35['getFirstPosition']()?.['parent'];return _0x3d8d03?.['is']('$text')&&(_0x3d8d03=_0x3d8d03['parent']),_0x3d8d03?.['is']('element')?_0x3d8d03['findAncestor'](_0xe28627):null;},'positions':[_0x550780['southArrowNorth'],_0x550780['southArrowNorthMiddleWest'],_0x550780['southArrowNorthMiddleEast'],_0x550780['southArrowNorthWest'],_0x550780['southArrowNorthEast'],_0x550780['northArrowSouth'],_0x550780['northArrowSouthMiddleWest'],_0x550780['northArrowSouthMiddleEast'],_0x550780['northArrowSouthWest'],_0x550780['northArrowSouthEast'],_0x550780['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x467b3a,View as _0x2b33de,ViewCollection as _0x3d0586,FocusCycler as _0xcd5979,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 _0x2b33de{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3d0586();['focusCycler'];constructor(_0x1b78fa,{styleButtonViews:_0x250e0,styleGridAriaLabel:_0x1f49b9}){super(_0x1b78fa),(this['focusCycler']=new _0xcd5979({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x250e0,_0x1f49b9),[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 _0x3d96b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3d96b5['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 _0x13c4d3=_0x20ce3a=>_0x20ce3a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x13c4d3),this['keystrokes']['set']('arrowleft',_0x13c4d3),this['keystrokes']['set']('arrowup',_0x13c4d3),this['keystrokes']['set']('arrowdown',_0x13c4d3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x74c9db,_0x1bde04){const _0x6f5dc5=new _0x2b33de(this['locale']);return _0x6f5dc5['children']=_0x6f5dc5['createCollection'](),_0x6f5dc5['children']['addMany'](_0x74c9db),_0x6f5dc5['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1bde04,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x6f5dc5['children']}),_0x6f5dc5['children']['delegate']('execute')['to'](this),_0x6f5dc5['focus']=function(){for(const _0x2a009b of this['children'])if(_0x2a009b instanceof _0x467b3a&&_0x2a009b['isOn'])return void _0x2a009b['focus']();this['children']['first']['focus']();},_0x6f5dc5['focusTracker']=new ot(),_0x6f5dc5['keystrokes']=new rt(),_0x6f5dc5['render'](),_0x6f5dc5['keystrokes']['listenTo'](_0x6f5dc5['element']),this['children']['add'](_0x6f5dc5),_0x6f5dc5;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x222024=this['_createStartIndexPropertyView'](),_0x2f662f=[_0x222024],_0x25dad8=new st(this['locale'],_0x2f662f);return _0x25dad8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x25dad8['buttonView']['bind']('isEnabled')['toMany'](_0x2f662f,'isEnabled',(..._0x1d336c)=>_0x1d336c['some'](_0x16afca=>_0x16afca)),_0x25dad8['buttonView']['on']('change:isEnabled',(_0x2429ed,_0x8769e3,_0x2b2ae9)=>{_0x2b2ae9||(_0x25dad8['isCollapsed']=!0x0);}),this['children']['add'](_0x25dad8),[_0x222024,_0x25dad8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2cd548=new it(this['locale'],et);return _0x2cd548['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2cd548['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2cd548['fieldView']['on']('input',()=>{const _0x5d6271=_0x2cd548['fieldView']['element'],_0x280669=_0x5d6271['valueAsNumber'];Number['isNaN'](_0x280669)?_0x2cd548['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5d6271['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x280669}):_0x2cd548['errorText']=t(_0x280669<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2cd548;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x153071=_0x8079;function _0x8079(_0x2ee67a,_0x33067d){var _0x595a69=_0x595a();return _0x8079=function(_0x8079da,_0x3d2b14){_0x8079da=_0x8079da-0x1e9;var _0x4996e0=_0x595a69[_0x8079da];return _0x4996e0;},_0x8079(_0x2ee67a,_0x33067d);}(function(_0x50226c,_0x24f316){var _0x504e14=_0x8079,_0x63ae63=_0x50226c();while(!![]){try{var _0x581f8a=parseInt(_0x504e14(0x1f8))/0x1+-parseInt(_0x504e14(0x1ed))/0x2*(-parseInt(_0x504e14(0x1e9))/0x3)+parseInt(_0x504e14(0x1ea))/0x4*(parseInt(_0x504e14(0x1ef))/0x5)+parseInt(_0x504e14(0x1ee))/0x6*(parseInt(_0x504e14(0x1f1))/0x7)+parseInt(_0x504e14(0x1f0))/0x8*(-parseInt(_0x504e14(0x1ec))/0x9)+-parseInt(_0x504e14(0x1f4))/0xa+parseInt(_0x504e14(0x1f2))/0xb;if(_0x581f8a===_0x24f316)break;else _0x63ae63['push'](_0x63ae63['shift']());}catch(_0x5cd37e){_0x63ae63['push'](_0x63ae63['shift']());}}}(_0x595a,0x87ad5));import{Plugin as _0x5bb93e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x21a0c4}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x40fbf0}from'./footnotesproperties/footnotespropertiesui.js';function _0x595a(){var _0x571359=['418056cbpWUV','579QdWlIh','4qRyZld','isPremiumPlugin','45918YdqNEz','478fhTZNK','1706892jaiiIv','4600635rAOlNh','928nipIVY','14NrsFCT','1227259ziSiTs','requires','9172780cPyLyH','FootnotesProperties','pluginName','isOfficialPlugin'];_0x595a=function(){return _0x571359;};return _0x595a();}export class FootnotesProperties extends _0x5bb93e{static get[_0x153071(0x1f6)](){var _0x3a9cfb=_0x153071;return _0x3a9cfb(0x1f5);}static get[_0x153071(0x1f3)](){return[_0x21a0c4,_0x40fbf0];}static get[_0x153071(0x1f7)](){return!0x0;}static get[_0x153071(0x1eb)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x3d58(_0x2b3ca2,_0x29fa07){const _0x17e23a=_0x17e2();return _0x3d58=function(_0x3d5884,_0x444163){_0x3d5884=_0x3d5884-0x153;let _0x5136df=_0x17e23a[_0x3d5884];return _0x5136df;},_0x3d58(_0x2b3ca2,_0x29fa07);}const _0x3db3df=_0x3d58;function _0x17e2(){const _0x4660fd=['_footnoteDefsTracker','definition','footnoteRef','add','8TIOaDq','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','footnoteId','setAttribute','reference','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','has','getChanges','set','compareWith','parent','footnotesDefinitions','before','footnoteCounter','move','getChildren','singleton','model','getFootnotesDefinitionsObjectElement','after','push','high','getFootnotes','11464SlreoC','_footnotes','_sortFootnoteDefinitions','document','$graveyard','2270073GBgXFN','listenTo','rootName','getFootnote','createPositionAt','find','editor','enqueueChange','isOfficialPlugin','reset','get','1770DYdHfZ','change:data','_handleFootnoteReferencesChanges','insert','remove','root','_updateFootnotesCounters','splice','registerPostFixer','findIndex','3085068eENmct','_ensureFootnotesDefinitionsContainerExists','footnoteInlineContent','append','unshift','footnoteDefinition','pluginName','indexOf','_footnoteDefsContainerTracker','config','low','createPositionBefore','some','_updateFootnoteRefCounter','paragraph','min','isEqual','isPremiumPlugin','createRangeIn','length','_footnoteFormatter','setFootnoteFormatter','from','getRootNames','43838rlRmVd','71598wTgjGI','5670yzNeKq','_handleMovedFootnoteReference','getFootnotesFormatter','1195388wuDlaK','_handleFootnotesDefinitionsObjectChanges','init','getAttribute','footnotes.multiBlock','_handleInsertedFootnoteReference','differ','_handleRemoveFootnoteReferenceById','createRangeOn','childCount','_handleFootnoteDefinitionsChanges','475wwMjzT','26576UGIIUR','createElement','FootnotesTracker','end','map','_footnoteRefsTracker'];_0x17e2=function(){return _0x4660fd;};return _0x17e2();}(function(_0x38a6a6,_0x2dd5db){const _0x5185ef=_0x3d58,_0x3f2440=_0x38a6a6();while(!![]){try{const _0x29e108=parseInt(_0x5185ef(0x1b6))/0x1*(parseInt(_0x5185ef(0x19b))/0x2)+parseInt(_0x5185ef(0x16e))/0x3+parseInt(_0x5185ef(0x1a0))/0x4+parseInt(_0x5185ef(0x1ab))/0x5*(parseInt(_0x5185ef(0x19c))/0x6)+-parseInt(_0x5185ef(0x183))/0x7+parseInt(_0x5185ef(0x169))/0x8*(-parseInt(_0x5185ef(0x19d))/0x9)+parseInt(_0x5185ef(0x179))/0xa*(-parseInt(_0x5185ef(0x1ac))/0xb);if(_0x29e108===_0x2dd5db)break;else _0x3f2440['push'](_0x3f2440['shift']());}catch(_0x28e8d){_0x3f2440['push'](_0x3f2440['shift']());}}}(_0x17e2,0x90de3));import{Plugin as _0x4d6ff3}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x3cf25e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4d6ff3{[_0x3db3df(0x16a)]=[];[_0x3db3df(0x157)]=null;[_0x3db3df(0x197)]=null;[_0x3db3df(0x18b)];[_0x3db3df(0x1b1)];[_0x3db3df(0x1b2)];static get[_0x3db3df(0x189)](){const _0x57d255=_0x3db3df;return _0x57d255(0x1ae);}static get[_0x3db3df(0x176)](){return!0x0;}static get[_0x3db3df(0x194)](){return!0x0;}constructor(_0x2ff7a6){const _0xb0436d=_0x3db3df;super(_0x2ff7a6),this[_0xb0436d(0x18b)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x15d),'getElementKey':()=>_0xb0436d(0x162)}),this[_0xb0436d(0x1b1)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x1b4),'getElementKey':_0x42fe75=>_0x42fe75[_0xb0436d(0x1a3)](_0xb0436d(0x153))}),this[_0xb0436d(0x1b2)]=new _0x3cf25e(this[_0xb0436d(0x174)][_0xb0436d(0x163)],{'elementName':_0xb0436d(0x188),'getElementKey':_0x4543da=>_0x4543da[_0xb0436d(0x1a3)](_0xb0436d(0x153))});}[_0x3db3df(0x1a2)](){const _0x587c88=_0x3db3df,{editor:_0x589719}=this,{model:_0x2d6d97,data:_0x407181}=_0x589719;_0x2d6d97[_0x587c88(0x16c)][_0x587c88(0x181)](_0x29fea6=>{const _0x4a878f=_0x587c88,_0x5a555e=_0x2d6d97[_0x4a878f(0x16c)][_0x4a878f(0x1a6)][_0x4a878f(0x159)]();let _0x53e612=!0x1;return this[_0x4a878f(0x1a1)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x1aa)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x17b)](_0x29fea6,_0x5a555e)&&(_0x53e612=!0x0),this[_0x4a878f(0x156)](_0x29fea6)&&(_0x53e612=!0x0),this[_0x4a878f(0x1b7)](_0x29fea6)&&(_0x53e612=!0x0),this[_0x4a878f(0x16b)](_0x29fea6)&&(_0x53e612=!0x0),_0x53e612;}),this[_0x587c88(0x16f)](_0x2d6d97[_0x587c88(0x16c)],_0x587c88(0x17a),()=>{const _0x56fc65=_0x587c88;_0x2d6d97[_0x56fc65(0x175)]({'isUndoable':!0x1},_0x35acca=>{const _0x28314a=_0x56fc65;this[_0x28314a(0x184)](_0x35acca);});},{'priority':_0x587c88(0x18d)}),this[_0x587c88(0x16f)](_0x407181,_0x587c88(0x15a),()=>{const _0x589288=_0x587c88;this[_0x589288(0x16a)]=[],this[_0x589288(0x18b)][_0x589288(0x177)](),this[_0x589288(0x1b1)][_0x589288(0x177)](),this[_0x589288(0x1b2)][_0x589288(0x177)]();},{'priority':_0x587c88(0x167)});}[_0x3db3df(0x164)](){const _0x5ed195=_0x3db3df;return this[_0x5ed195(0x157)];}[_0x3db3df(0x171)](_0x5944c4){const _0x3ada44=_0x3db3df;return this[_0x3ada44(0x16a)][_0x3ada44(0x173)](_0x55af5e=>_0x55af5e['id']===_0x5944c4)||null;}[_0x3db3df(0x168)](){const _0x53967f=_0x3db3df;return Array[_0x53967f(0x199)](this[_0x53967f(0x16a)]);}[_0x3db3df(0x19f)](){const _0x2f73b5=_0x3db3df;return this[_0x2f73b5(0x197)];}[_0x3db3df(0x198)](_0x21f246){const _0x122f0c=_0x3db3df;this[_0x122f0c(0x197)]=_0x21f246;}[_0x3db3df(0x17f)](_0x1f302e,_0x4f308c=0x0){const _0x5addc4=_0x3db3df;let _0x23ad8e=!0x1;for(let _0x356e13=_0x4f308c;_0x356e13<this[_0x5addc4(0x16a)][_0x5addc4(0x196)];_0x356e13++)this[_0x5addc4(0x190)](_0x1f302e,_0x356e13)&&(_0x23ad8e=!0x0);return _0x23ad8e;}[_0x3db3df(0x1b8)](_0x41f6f5,_0x3324ff){const _0x54ee36=_0x3db3df,_0xe63b36=_0x41f6f5[_0x54ee36(0x1ad)](_0x54ee36(0x15d),{});return _0x41f6f5[_0x54ee36(0x186)](_0xe63b36,_0x3324ff),this[_0x54ee36(0x157)]=_0xe63b36,_0xe63b36;}[_0x3db3df(0x184)](_0x3aa77f){const _0x583719=_0x3db3df;if(!this[_0x583719(0x16a)][_0x583719(0x196)]||this[_0x583719(0x157)])return;const _0x477282=this[_0x583719(0x16a)][0x0][_0x583719(0x155)][_0x583719(0x17e)],_0x5db94b=this[_0x583719(0x1b8)](_0x3aa77f,_0x477282);for(const _0x471478 of this[_0x583719(0x16a)])_0x471478[_0x583719(0x1b3)][_0x583719(0x15c)]||_0x3aa77f[_0x583719(0x17c)](_0x471478[_0x583719(0x1b3)],_0x5db94b,_0x583719(0x1af));this[_0x583719(0x17f)](_0x3aa77f);}[_0x3db3df(0x1a1)](_0x5be8ef,_0x50325b){const _0x141036=_0x3db3df;let _0x608e72=!0x1;const {inserted:_0x3fced7,removed:_0x1185dd,moved:_0x2c89ee}=this[_0x141036(0x18b)][_0x141036(0x159)](_0x50325b);if(_0x2c89ee[_0x141036(0x196)]&&(this[_0x141036(0x157)]=_0x2c89ee[0x0]),_0x3fced7[_0x141036(0x196)]){if(_0x3fced7[_0x141036(0x196)]>0x1||this[_0x141036(0x157)]&&_0x3fced7[_0x141036(0x18f)](_0x33e0c4=>_0x33e0c4!==this[_0x141036(0x157)])){const _0x201382=_0x5be8ef[_0x141036(0x1ad)](_0x141036(0x15d),{}),_0x13fd49=[];this[_0x141036(0x157)]&&_0x13fd49[_0x141036(0x166)](this[_0x141036(0x157)]),_0x13fd49[_0x141036(0x166)](..._0x3fced7),_0x5be8ef[_0x141036(0x17c)](_0x201382,_0x13fd49[0x0],_0x141036(0x15e));for(const _0x317ac8 of _0x13fd49)_0x5be8ef[_0x141036(0x160)](_0x5be8ef[_0x141036(0x195)](_0x317ac8),_0x5be8ef[_0x141036(0x172)](_0x201382,_0x141036(0x1af))),_0x5be8ef[_0x141036(0x17d)](_0x317ac8);this[_0x141036(0x157)]=_0x201382,this[_0x141036(0x17f)](_0x5be8ef),_0x608e72=!0x0;}else this[_0x141036(0x157)]=_0x3fced7[0x0];}if(_0x1185dd[_0x141036(0x196)]&&_0x141036(0x16d)===this[_0x141036(0x157)]?.[_0x141036(0x17e)][_0x141036(0x170)]){for(const _0x2fa025 of this[_0x141036(0x16a)])_0x5be8ef[_0x141036(0x17d)](_0x2fa025[_0x141036(0x155)]),_0x608e72=!0x0;this[_0x141036(0x16a)]=[],this[_0x141036(0x157)]=null;}return _0x608e72;}[_0x3db3df(0x1aa)](_0x7454dd,_0x48c44a){const _0x3ddc68=_0x3db3df;let _0x30991f=!0x1;const _0x27896d=this[_0x3ddc68(0x174)][_0x3ddc68(0x18c)][_0x3ddc68(0x178)](_0x3ddc68(0x1a4)),{inserted:_0x5e427a,moved:_0x1c745c}=this[_0x3ddc68(0x1b2)][_0x3ddc68(0x159)](_0x48c44a);for(const _0x5808a8 of[..._0x1c745c,..._0x5e427a]){const _0x1f4df4=_0x5808a8[_0x3ddc68(0x1a3)](_0x3ddc68(0x153)),_0xd69955=this[_0x3ddc68(0x171)](_0x1f4df4);_0xd69955&&(_0xd69955[_0x3ddc68(0x1b3)]=_0x5808a8),_(_0x7454dd,_0x27896d,_0x5808a8)&&(_0x30991f=!0x0);}return _0x30991f;}[_0x3db3df(0x17b)](_0x1b1664,_0x425d67){const _0x1fafbf=_0x3db3df;let _0xc5740e=!0x1;const {removed:_0x1dfa22,inserted:_0x1d19cd,moved:_0x5d4da0}=this[_0x1fafbf(0x1b1)][_0x1fafbf(0x159)](_0x425d67);for(const _0x4164c1 of _0x1dfa22)this[_0x1fafbf(0x1a7)](_0x1b1664,_0x4164c1)&&(_0xc5740e=!0x0);for(const _0x2a0ad4 of _0x1d19cd)this[_0x1fafbf(0x1a5)](_0x1b1664,_0x2a0ad4)&&(_0xc5740e=!0x0);for(const _0x1d2e0d of _0x5d4da0)this[_0x1fafbf(0x19e)](_0x1b1664,_0x1d2e0d)&&(_0xc5740e=!0x0);return _0xc5740e;}[_0x3db3df(0x1b7)](_0x56d291){const _0x2d9f95=_0x3db3df;if(!this[_0x2d9f95(0x157)])return!0x1;let _0x32fd37=!0x1;if(this[_0x2d9f95(0x157)][_0x2d9f95(0x1a9)]!==this[_0x2d9f95(0x16a)][_0x2d9f95(0x196)]){const _0x1a1423=[];for(const _0x3a7357 of this[_0x2d9f95(0x157)][_0x2d9f95(0x161)]()){const _0x395618=_0x3a7357[_0x2d9f95(0x1a3)](_0x2d9f95(0x153));this[_0x2d9f95(0x171)](_0x395618)||(_0x1a1423[_0x2d9f95(0x187)](_0x3a7357),_0x32fd37=!0x0);}for(const _0x2b0156 of _0x1a1423)_0x56d291[_0x2d9f95(0x17d)](_0x2b0156);}const _0x2a97ec=new Set(),_0x1175a3=[];for(const _0x177fb3 of this[_0x2d9f95(0x157)][_0x2d9f95(0x161)]()){const _0x131e04=_0x177fb3[_0x2d9f95(0x1a3)](_0x2d9f95(0x153));_0x2a97ec[_0x2d9f95(0x158)](_0x131e04)?(_0x1175a3[_0x2d9f95(0x187)](_0x177fb3),_0x32fd37=!0x0):_0x2a97ec[_0x2d9f95(0x1b5)](_0x131e04);}for(const _0x3cee1c of _0x1175a3)_0x56d291[_0x2d9f95(0x17d)](_0x3cee1c);return this[_0x2d9f95(0x157)][_0x2d9f95(0x1a9)]||(_0x56d291[_0x2d9f95(0x17d)](this[_0x2d9f95(0x157)]),this[_0x2d9f95(0x157)]=null,_0x32fd37=!0x0),_0x32fd37;}[_0x3db3df(0x1a5)](_0x43d554,_0x3f9685){const _0x1137d8=_0x3db3df;if(this[_0x1137d8(0x16a)][_0x1137d8(0x173)](_0x3414b3=>_0x3414b3[_0x1137d8(0x155)]===_0x3f9685))return!0x1;let _0xffd45f=!0x1;const _0x11b833=_0x3f9685[_0x1137d8(0x1a3)](_0x1137d8(0x153)),_0x3028de=this[_0x1137d8(0x16a)][_0x1137d8(0x182)](_0x8b4528=>_0x8b4528['id']===_0x11b833);-0x1!==_0x3028de&&(_0x43d554[_0x1137d8(0x17d)](this[_0x1137d8(0x16a)][_0x3028de][_0x1137d8(0x155)]),this[_0x1137d8(0x16a)][_0x1137d8(0x180)](_0x3028de,0x1),_0xffd45f=!0x0);let _0x41d6b7=this[_0x1137d8(0x157)]?function(_0x366d72,_0x5357bb){const _0x2e7464=_0x1137d8;for(const _0x5b0565 of _0x366d72[_0x2e7464(0x161)]())if(_0x5b0565[_0x2e7464(0x1a3)](_0x2e7464(0x153))===_0x5357bb)return _0x5b0565;return null;}(this[_0x1137d8(0x157)],_0x11b833):null;_0x41d6b7||(_0x41d6b7=_0x43d554[_0x1137d8(0x1ad)](_0x1137d8(0x188),{'footnoteId':_0x11b833}),this[_0x1137d8(0x157)]&&(_0x43d554[_0x1137d8(0x17c)](_0x41d6b7,this[_0x1137d8(0x157)],_0x1137d8(0x1af)),_0xffd45f=!0x0));const _0x34ec4b={'id':_0x11b833,'reference':_0x3f9685,'definition':_0x41d6b7},_0x4a631b=I(this[_0x1137d8(0x174)][_0x1137d8(0x163)],this[_0x1137d8(0x16a)],_0x3f9685);this[_0x1137d8(0x16a)][_0x1137d8(0x180)](_0x4a631b,0x0,_0x34ec4b);let _0x1bd7c6=_0x4a631b;return-0x1!==_0x3028de&&(_0x1bd7c6=Math[_0x1137d8(0x192)](_0x4a631b,_0x3028de)),this[_0x1137d8(0x17f)](_0x43d554,_0x1bd7c6)&&(_0xffd45f=!0x0),_0xffd45f;}[_0x3db3df(0x1a7)](_0x40ad57,_0x30a61f){const _0x487371=_0x3db3df,_0x2e70f6=this[_0x487371(0x16a)][_0x487371(0x182)](_0x32c25e=>_0x32c25e['id']===_0x30a61f);if(-0x1===_0x2e70f6)return!0x1;let _0x1b5d81=!0x1;const _0x3bca1a=this[_0x487371(0x16a)][_0x2e70f6];return _0x487371(0x16d)!==_0x3bca1a[_0x487371(0x1b3)][_0x487371(0x17e)][_0x487371(0x170)]&&(_0x40ad57[_0x487371(0x17d)](_0x3bca1a[_0x487371(0x1b3)]),_0x1b5d81=!0x0),this[_0x487371(0x16a)][_0x487371(0x180)](_0x2e70f6,0x1),this[_0x487371(0x17f)](_0x40ad57,_0x2e70f6)&&(_0x1b5d81=!0x0),_0x1b5d81;}[_0x3db3df(0x19e)](_0x5fa5d5,_0x138a9b){const _0x2dd35e=_0x3db3df,_0x9279af=_0x138a9b[_0x2dd35e(0x1a3)](_0x2dd35e(0x153)),_0x3828c7=this[_0x2dd35e(0x16a)][_0x2dd35e(0x182)](_0x4c8ef5=>_0x4c8ef5['id']===_0x9279af),_0x4bb191=this[_0x2dd35e(0x16a)][_0x3828c7];let _0x9ceac5=!0x1;_0x4bb191[_0x2dd35e(0x155)]=_0x138a9b,this[_0x2dd35e(0x16a)][_0x2dd35e(0x180)](_0x3828c7,0x1);const _0x5ee51e=I(this[_0x2dd35e(0x174)][_0x2dd35e(0x163)],this[_0x2dd35e(0x16a)],_0x138a9b);return this[_0x2dd35e(0x16a)][_0x2dd35e(0x180)](_0x5ee51e,0x0,_0x4bb191),this[_0x2dd35e(0x17f)](_0x5fa5d5,Math[_0x2dd35e(0x192)](_0x3828c7,_0x5ee51e))&&(_0x9ceac5=!0x0),_0x9ceac5;}[_0x3db3df(0x190)](_0x10674f,_0x61a5f2){const _0x8dd79=_0x3db3df;if(!this[_0x8dd79(0x157)])return!0x1;const _0x566dbb=this[_0x8dd79(0x16a)][_0x61a5f2];let _0x3f520c;return _0x3f520c=this[_0x8dd79(0x197)]?this[_0x8dd79(0x197)]({'footnote':_0x566dbb,'container':this[_0x8dd79(0x157)],'digits':String(this[_0x8dd79(0x16a)][_0x8dd79(0x196)])[_0x8dd79(0x196)],'value':_0x61a5f2+0x1}):String(_0x61a5f2+0x1),_0x566dbb[_0x8dd79(0x155)][_0x8dd79(0x1a3)](_0x8dd79(0x15f))!=_0x3f520c&&(_0x10674f[_0x8dd79(0x154)](_0x8dd79(0x15f),_0x3f520c,_0x566dbb[_0x8dd79(0x155)]),!0x0);}[_0x3db3df(0x16b)](_0x524382){const _0x116099=_0x3db3df;if(!this[_0x116099(0x157)]||this[_0x116099(0x16a)][_0x116099(0x196)]<0x2)return!0x1;if(function(_0x447a44,_0x231293){const _0x1f7ad3=_0x116099;if(_0x447a44[_0x1f7ad3(0x196)]!==_0x231293[_0x1f7ad3(0x196)])return!0x1;for(let _0x75cd34=0x0;_0x75cd34<_0x447a44[_0x1f7ad3(0x196)];_0x75cd34++)if(_0x447a44[_0x75cd34]!==_0x231293[_0x75cd34])return!0x1;return!0x0;}(this[_0x116099(0x16a)][_0x116099(0x1b0)](_0x47c8ea=>_0x47c8ea['id']),Array[_0x116099(0x199)](this[_0x116099(0x157)][_0x116099(0x161)]())[_0x116099(0x1b0)](_0x553e5d=>_0x553e5d[_0x116099(0x1a3)](_0x116099(0x153)))))return!0x1;let _0x48d608=!0x1;for(let _0x39b045=0x0;_0x39b045<this[_0x116099(0x16a)][_0x116099(0x196)];_0x39b045++){const _0x42f5d6=this[_0x116099(0x16a)][_0x39b045],_0x273b91=_0x524382[_0x116099(0x18e)](_0x42f5d6[_0x116099(0x1b3)]),_0x56b290=_0x524382[_0x116099(0x172)](this[_0x116099(0x157)],_0x39b045);_0x273b91[_0x116099(0x193)](_0x56b290)||(_0x524382[_0x116099(0x160)](_0x524382[_0x116099(0x1a8)](_0x42f5d6[_0x116099(0x1b3)]),_0x56b290),_0x48d608=!0x0);}return _0x48d608;}[_0x3db3df(0x156)](_0x4c11e6){const _0x33c7d5=_0x3db3df;if(!this[_0x33c7d5(0x16a)][_0x33c7d5(0x196)])return!0x1;const {model:_0x2e6acb}=this[_0x33c7d5(0x174)];let _0x256ade=!0x1;for(let _0x127314=0x0;_0x127314<this[_0x33c7d5(0x16a)][_0x33c7d5(0x196)]-0x1;_0x127314++){const _0x54d45f=this[_0x33c7d5(0x16a)][_0x127314],_0x4d703d=this[_0x33c7d5(0x16a)][_0x127314+0x1],_0x278f98=_0x2e6acb[_0x33c7d5(0x18e)](_0x54d45f[_0x33c7d5(0x155)]),_0x248ede=_0x2e6acb[_0x33c7d5(0x18e)](_0x4d703d[_0x33c7d5(0x155)]);_0x33c7d5(0x165)===_0x278f98[_0x33c7d5(0x15b)](_0x248ede)&&(this[_0x33c7d5(0x19e)](_0x4c11e6,_0x54d45f[_0x33c7d5(0x155)]),_0x127314=-0x1,_0x256ade=!0x0);}return _0x256ade;}}function _(_0x1c56c0,_0x2c8f90,_0x3c610b){const _0x4fa53a=_0x3db3df;if(_0x3c610b[_0x4fa53a(0x1a9)])return!0x1;const _0x5d7c2e=_0x2c8f90?_0x4fa53a(0x191):_0x4fa53a(0x185);return _0x1c56c0[_0x4fa53a(0x17c)](_0x1c56c0[_0x4fa53a(0x1ad)](_0x5d7c2e),_0x3c610b),!0x0;}function I(_0x504d08,_0x57ffe1,_0x9588b2){const _0xab3538=_0x3db3df;if(0x0===_0x57ffe1[_0xab3538(0x196)])return 0x0;const _0x2c7998=_0x504d08[_0xab3538(0x18e)](_0x9588b2);for(let _0x51279e=0x0;_0x51279e<_0x57ffe1[_0xab3538(0x196)];_0x51279e++){const _0x47c233=_0x57ffe1[_0x51279e],_0x29bf1d=_0x504d08[_0xab3538(0x18e)](_0x47c233[_0xab3538(0x155)]);if(_0xab3538(0x15e)===_0x2c7998[_0xab3538(0x15b)](_0x29bf1d))return _0x51279e;}const _0x3ef8eb=_0x9588b2[_0xab3538(0x17e)];let _0x16b696=-0x1;for(let _0x41e576=_0x57ffe1[_0xab3538(0x196)]-0x1;_0x41e576>=0x0;_0x41e576--)if(_0x57ffe1[_0x41e576][_0xab3538(0x155)][_0xab3538(0x17e)]===_0x3ef8eb){_0x16b696=_0x41e576;break;}if(-0x1!==_0x16b696)return _0x16b696+0x1;const _0x424833=_0x504d08[_0xab3538(0x16c)][_0xab3538(0x19a)](),_0x49445c=_0x424833[_0xab3538(0x18a)](_0x3ef8eb[_0xab3538(0x170)]),_0x4cca7e=_0x424833[_0x49445c+0x1];if(_0x4cca7e){for(let _0x52f04a=0x0;_0x52f04a<_0x57ffe1[_0xab3538(0x196)];_0x52f04a++)if(_0x57ffe1[_0x52f04a][_0xab3538(0x155)][_0xab3538(0x17e)][_0xab3538(0x170)]===_0x4cca7e)return _0x52f04a;}return _0x57ffe1[_0xab3538(0x196)];}
|
|
23
|
+
const _0x127bfe=_0x29c6;(function(_0x2b7f43,_0x31fb61){const _0x570d06=_0x29c6,_0x47d99c=_0x2b7f43();while(!![]){try{const _0x5b5620=parseInt(_0x570d06(0xf1))/0x1+-parseInt(_0x570d06(0xef))/0x2*(-parseInt(_0x570d06(0x107))/0x3)+-parseInt(_0x570d06(0x128))/0x4+-parseInt(_0x570d06(0xdf))/0x5*(parseInt(_0x570d06(0xd1))/0x6)+-parseInt(_0x570d06(0x10a))/0x7*(parseInt(_0x570d06(0xe5))/0x8)+-parseInt(_0x570d06(0xfb))/0x9*(parseInt(_0x570d06(0xde))/0xa)+parseInt(_0x570d06(0x11c))/0xb;if(_0x5b5620===_0x31fb61)break;else _0x47d99c['push'](_0x47d99c['shift']());}catch(_0x2c937b){_0x47d99c['push'](_0x47d99c['shift']());}}}(_0x44a2,0x8e175));function _0x29c6(_0x34da9b,_0x36c346){const _0x44a294=_0x44a2();return _0x29c6=function(_0x29c66e,_0x539b5f){_0x29c66e=_0x29c66e-0xca;let _0x181c4c=_0x44a294[_0x29c66e];return _0x181c4c;},_0x29c6(_0x34da9b,_0x36c346);}function _0x44a2(){const _0x432a1e=['document','unshift','map','compareWith','set','move','createRangeOn','_footnoteRefsTracker','6565473kpJmdh','enqueueChange','remove','pluginName','after','_footnotesDefinitions','definition','_handleFootnotesDefinitionsObjectChanges','_footnotes','_handleRemoveFootnoteReferenceById','change:data','createPositionBefore','42IRbjFA','_handleFootnotesDefinitionsObjectSync','isPremiumPlugin','224zlWlwX','footnoteId','find','setFootnoteFormatter','getFootnote','paragraph','$graveyard','_insertEmptyFootnotesDefinitionsContainer','getFootnotesFormatter','listenTo','parent','isEqual','_handleFootnoteDefinitionsChanges','getAttribute','_footnoteDefsTracker','min','low','_ensureFootnotesDefinitionsContainerExists','9503703zvpQCA','insert','getRootNames','reset','_updateFootnotesCounters','createElement','registerPostFixer','some','_handleMovedFootnoteReference','footnoteRef','singleton','editor','1158112pKlheD','_footnoteFormatter','config','footnoteInlineContent','footnoteDefinition','splice','length','getChanges','getFootnotes','_footnoteDefsContainerTracker','isOfficialPlugin','_handleFootnoteReferencesChanges','createRangeIn','push','createPositionAt','12spXyUu','footnoteCounter','getChildren','from','before','differ','_handleInsertedFootnoteReference','indexOf','setAttribute','FootnotesTracker','init','get','_updateFootnoteRefCounter','10cQVUNT','497885PXtskZ','footnotes.multiBlock','high','has','end','footnotesDefinitions','136272VDhQMg','_sortFootnoteDefinitions','add','model','_ensureFootnotesReferencesHaveProperOrder','append','childCount','reference','rootName','getFootnotesDefinitionsObjectElement','140188zQDcMI','root','499983axEJwM','findIndex'];_0x44a2=function(){return _0x432a1e;};return _0x44a2();}import{Plugin as _0x193722}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x52a234}from'./modelelementtracker.js';export class FootnotesTracker extends _0x193722{[_0x127bfe(0x103)]=[];[_0x127bfe(0x100)]=null;[_0x127bfe(0x129)]=null;[_0x127bfe(0xcb)];[_0x127bfe(0xfa)];[_0x127bfe(0x118)];static get[_0x127bfe(0xfe)](){const _0x349c36=_0x127bfe;return _0x349c36(0xda);}static get[_0x127bfe(0xcc)](){return!0x0;}static get[_0x127bfe(0x109)](){return!0x0;}constructor(_0x2f53c6){const _0x55abd2=_0x127bfe;super(_0x2f53c6),this[_0x55abd2(0xcb)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0xe4),'getElementKey':()=>_0x55abd2(0x126)}),this[_0x55abd2(0xfa)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x125),'getElementKey':_0x8cc3e9=>_0x8cc3e9[_0x55abd2(0x117)](_0x55abd2(0x10b))}),this[_0x55abd2(0x118)]=new _0x52a234(this[_0x55abd2(0x127)][_0x55abd2(0xe8)],{'elementName':_0x55abd2(0x12c),'getElementKey':_0x1d5025=>_0x1d5025[_0x55abd2(0x117)](_0x55abd2(0x10b))});}[_0x127bfe(0xdb)](){const _0x25440a=_0x127bfe,{editor:_0x443056}=this,{model:_0x46cf4f,data:_0x4c27a0}=_0x443056;_0x46cf4f[_0x25440a(0xf3)][_0x25440a(0x122)](_0x91d5cb=>{const _0xaa5b56=_0x25440a,_0x44c4b0=_0x46cf4f[_0xaa5b56(0xf3)][_0xaa5b56(0xd6)][_0xaa5b56(0x12f)]();let _0x488486=!0x1;return this[_0xaa5b56(0x102)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0x116)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xcd)](_0x91d5cb,_0x44c4b0)&&(_0x488486=!0x0),this[_0xaa5b56(0xe9)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0x108)](_0x91d5cb)&&(_0x488486=!0x0),this[_0xaa5b56(0xe6)](_0x91d5cb)&&(_0x488486=!0x0),_0x488486;}),this[_0x25440a(0x113)](_0x46cf4f[_0x25440a(0xf3)],_0x25440a(0x105),()=>{const _0x2e4a4e=_0x25440a;_0x46cf4f[_0x2e4a4e(0xfc)]({'isUndoable':!0x1},_0xf790f2=>{const _0x330e9d=_0x2e4a4e;this[_0x330e9d(0x11b)](_0xf790f2);});},{'priority':_0x25440a(0x11a)}),this[_0x25440a(0x113)](_0x4c27a0,_0x25440a(0xf7),()=>{const _0x4eecf5=_0x25440a;this[_0x4eecf5(0x103)]=[],this[_0x4eecf5(0xcb)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0xfa)][_0x4eecf5(0x11f)](),this[_0x4eecf5(0x118)][_0x4eecf5(0x11f)]();},{'priority':_0x25440a(0xe1)});}[_0x127bfe(0xee)](){const _0xdbed58=_0x127bfe;return this[_0xdbed58(0x100)];}[_0x127bfe(0x10e)](_0x25c391){const _0x46b571=_0x127bfe;return this[_0x46b571(0x103)][_0x46b571(0x10c)](_0x258161=>_0x258161['id']===_0x25c391)||null;}[_0x127bfe(0xca)](){const _0x1ae264=_0x127bfe;return Array[_0x1ae264(0xd4)](this[_0x1ae264(0x103)]);}[_0x127bfe(0x112)](){const _0x2a3867=_0x127bfe;return this[_0x2a3867(0x129)];}[_0x127bfe(0x10d)](_0xbdc89e){const _0x41d8b6=_0x127bfe;this[_0x41d8b6(0x129)]=_0xbdc89e;}[_0x127bfe(0x120)](_0x2e24c7,_0x31b857=0x0){const _0x24a16c=_0x127bfe;let _0x3e5457=!0x1;for(let _0x1a351c=_0x31b857;_0x1a351c<this[_0x24a16c(0x103)][_0x24a16c(0x12e)];_0x1a351c++)this[_0x24a16c(0xdd)](_0x2e24c7,_0x1a351c)&&(_0x3e5457=!0x0);return _0x3e5457;}[_0x127bfe(0x111)](_0x51814c,_0xeb58f){const _0x5d833a=_0x127bfe,_0x57155c=_0x51814c[_0x5d833a(0x121)](_0x5d833a(0xe4),{});return _0x51814c[_0x5d833a(0xea)](_0x57155c,_0xeb58f),this[_0x5d833a(0x100)]=_0x57155c,_0x57155c;}[_0x127bfe(0x11b)](_0x2805d6){const _0x32d858=_0x127bfe;if(!this[_0x32d858(0x103)][_0x32d858(0x12e)]||this[_0x32d858(0x100)])return;const _0x328a02=this[_0x32d858(0x103)][0x0][_0x32d858(0xec)][_0x32d858(0xf0)],_0x2486fd=this[_0x32d858(0x111)](_0x2805d6,_0x328a02);for(const _0xc40e48 of this[_0x32d858(0x103)])_0xc40e48[_0x32d858(0x101)][_0x32d858(0x114)]||_0x2805d6[_0x32d858(0x11d)](_0xc40e48[_0x32d858(0x101)],_0x2486fd,_0x32d858(0xe3));this[_0x32d858(0x120)](_0x2805d6);}[_0x127bfe(0x102)](_0x5e25f5,_0x125925){const _0x5ab2e0=_0x127bfe;let _0xc37130=!0x1;const {inserted:_0x108d1d,removed:_0x5a7b57,moved:_0x518beb}=this[_0x5ab2e0(0xcb)][_0x5ab2e0(0x12f)](_0x125925);if(_0x518beb[_0x5ab2e0(0x12e)]&&(this[_0x5ab2e0(0x100)]=_0x518beb[0x0]),_0x108d1d[_0x5ab2e0(0x12e)]){if(_0x108d1d[_0x5ab2e0(0x12e)]>0x1||this[_0x5ab2e0(0x100)]&&_0x108d1d[_0x5ab2e0(0x123)](_0xe1279b=>_0xe1279b!==this[_0x5ab2e0(0x100)])){const _0x40aedc=_0x5e25f5[_0x5ab2e0(0x121)](_0x5ab2e0(0xe4),{}),_0x5a1515=[];this[_0x5ab2e0(0x100)]&&_0x5a1515[_0x5ab2e0(0xcf)](this[_0x5ab2e0(0x100)]),_0x5a1515[_0x5ab2e0(0xcf)](..._0x108d1d),_0x5e25f5[_0x5ab2e0(0x11d)](_0x40aedc,_0x5a1515[0x0],_0x5ab2e0(0xd5));for(const _0x21702e of _0x5a1515)_0x5e25f5[_0x5ab2e0(0xf8)](_0x5e25f5[_0x5ab2e0(0xce)](_0x21702e),_0x5e25f5[_0x5ab2e0(0xd0)](_0x40aedc,_0x5ab2e0(0xe3))),_0x5e25f5[_0x5ab2e0(0xfd)](_0x21702e);this[_0x5ab2e0(0x100)]=_0x40aedc,this[_0x5ab2e0(0x120)](_0x5e25f5),_0xc37130=!0x0;}else this[_0x5ab2e0(0x100)]=_0x108d1d[0x0];}if(_0x5a7b57[_0x5ab2e0(0x12e)]&&_0x5ab2e0(0x110)===this[_0x5ab2e0(0x100)]?.[_0x5ab2e0(0xf0)][_0x5ab2e0(0xed)]){for(const _0x156f61 of this[_0x5ab2e0(0x103)])_0x5e25f5[_0x5ab2e0(0xfd)](_0x156f61[_0x5ab2e0(0xec)]),_0xc37130=!0x0;this[_0x5ab2e0(0x103)]=[],this[_0x5ab2e0(0x100)]=null;}return _0xc37130;}[_0x127bfe(0x116)](_0x768e50,_0x1a086a){const _0xfaa18f=_0x127bfe;let _0x3751e1=!0x1;const _0x51356a=this[_0xfaa18f(0x127)][_0xfaa18f(0x12a)][_0xfaa18f(0xdc)](_0xfaa18f(0xe0)),{inserted:_0x40fc51,moved:_0x40c111}=this[_0xfaa18f(0x118)][_0xfaa18f(0x12f)](_0x1a086a);for(const _0x3d406d of[..._0x40c111,..._0x40fc51]){const _0x52d383=_0x3d406d[_0xfaa18f(0x117)](_0xfaa18f(0x10b)),_0x1144f4=this[_0xfaa18f(0x10e)](_0x52d383);_0x1144f4&&(_0x1144f4[_0xfaa18f(0x101)]=_0x3d406d),_(_0x768e50,_0x51356a,_0x3d406d)&&(_0x3751e1=!0x0);}return _0x3751e1;}[_0x127bfe(0xcd)](_0x1968d8,_0x257f50){const _0x136f07=_0x127bfe;let _0x467f15=!0x1;const {removed:_0x3673f8,inserted:_0x4b0b46,moved:_0x46ebd0}=this[_0x136f07(0xfa)][_0x136f07(0x12f)](_0x257f50);for(const _0xae887a of _0x3673f8)this[_0x136f07(0x104)](_0x1968d8,_0xae887a)&&(_0x467f15=!0x0);for(const _0x28b20b of _0x4b0b46)this[_0x136f07(0xd7)](_0x1968d8,_0x28b20b)&&(_0x467f15=!0x0);for(const _0x21b622 of _0x46ebd0)this[_0x136f07(0x124)](_0x1968d8,_0x21b622)&&(_0x467f15=!0x0);return _0x467f15;}[_0x127bfe(0x108)](_0x2e0028){const _0x52a1d4=_0x127bfe;if(!this[_0x52a1d4(0x100)])return!0x1;let _0x38a04b=!0x1;if(this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]!==this[_0x52a1d4(0x103)][_0x52a1d4(0x12e)]){const _0x2fdd71=[];for(const _0x54e5d0 of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x520fbc=_0x54e5d0[_0x52a1d4(0x117)](_0x52a1d4(0x10b));this[_0x52a1d4(0x10e)](_0x520fbc)||(_0x2fdd71[_0x52a1d4(0xf4)](_0x54e5d0),_0x38a04b=!0x0);}for(const _0x561e00 of _0x2fdd71)_0x2e0028[_0x52a1d4(0xfd)](_0x561e00);}const _0x349862=new Set(),_0x514e1e=[];for(const _0x45edcd of this[_0x52a1d4(0x100)][_0x52a1d4(0xd3)]()){const _0x566ff6=_0x45edcd[_0x52a1d4(0x117)](_0x52a1d4(0x10b));_0x349862[_0x52a1d4(0xe2)](_0x566ff6)?(_0x514e1e[_0x52a1d4(0xf4)](_0x45edcd),_0x38a04b=!0x0):_0x349862[_0x52a1d4(0xe7)](_0x566ff6);}for(const _0xe7ba80 of _0x514e1e)_0x2e0028[_0x52a1d4(0xfd)](_0xe7ba80);return this[_0x52a1d4(0x100)][_0x52a1d4(0xeb)]||(_0x2e0028[_0x52a1d4(0xfd)](this[_0x52a1d4(0x100)]),this[_0x52a1d4(0x100)]=null,_0x38a04b=!0x0),_0x38a04b;}[_0x127bfe(0xd7)](_0x1e860e,_0x4ea1df){const _0x150c0d=_0x127bfe;if(this[_0x150c0d(0x103)][_0x150c0d(0x10c)](_0x43c4b7=>_0x43c4b7[_0x150c0d(0xec)]===_0x4ea1df))return!0x1;let _0x3ef6c7=!0x1;const _0x44072d=_0x4ea1df[_0x150c0d(0x117)](_0x150c0d(0x10b)),_0x45a994=this[_0x150c0d(0x103)][_0x150c0d(0xf2)](_0x413fdf=>_0x413fdf['id']===_0x44072d);-0x1!==_0x45a994&&(_0x1e860e[_0x150c0d(0xfd)](this[_0x150c0d(0x103)][_0x45a994][_0x150c0d(0xec)]),this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x45a994,0x1),_0x3ef6c7=!0x0);let _0x48a534=this[_0x150c0d(0x100)]?function(_0x19b81f,_0x3d0dff){const _0x5138c7=_0x150c0d;for(const _0x53269e of _0x19b81f[_0x5138c7(0xd3)]())if(_0x53269e[_0x5138c7(0x117)](_0x5138c7(0x10b))===_0x3d0dff)return _0x53269e;return null;}(this[_0x150c0d(0x100)],_0x44072d):null;_0x48a534||(_0x48a534=_0x1e860e[_0x150c0d(0x121)](_0x150c0d(0x12c),{'footnoteId':_0x44072d}),this[_0x150c0d(0x100)]&&(_0x1e860e[_0x150c0d(0x11d)](_0x48a534,this[_0x150c0d(0x100)],_0x150c0d(0xe3)),_0x3ef6c7=!0x0));const _0x3ba5ce={'id':_0x44072d,'reference':_0x4ea1df,'definition':_0x48a534},_0x53c4f9=I(this[_0x150c0d(0x127)][_0x150c0d(0xe8)],this[_0x150c0d(0x103)],_0x4ea1df);this[_0x150c0d(0x103)][_0x150c0d(0x12d)](_0x53c4f9,0x0,_0x3ba5ce);let _0x3bf466=_0x53c4f9;return-0x1!==_0x45a994&&(_0x3bf466=Math[_0x150c0d(0x119)](_0x53c4f9,_0x45a994)),this[_0x150c0d(0x120)](_0x1e860e,_0x3bf466)&&(_0x3ef6c7=!0x0),_0x3ef6c7;}[_0x127bfe(0x104)](_0x31594b,_0x374c75){const _0xe3be4f=_0x127bfe,_0x56a65a=this[_0xe3be4f(0x103)][_0xe3be4f(0xf2)](_0x2e1e4c=>_0x2e1e4c['id']===_0x374c75);if(-0x1===_0x56a65a)return!0x1;let _0x26a35a=!0x1;const _0x485d5d=this[_0xe3be4f(0x103)][_0x56a65a];return _0xe3be4f(0x110)!==_0x485d5d[_0xe3be4f(0x101)][_0xe3be4f(0xf0)][_0xe3be4f(0xed)]&&(_0x31594b[_0xe3be4f(0xfd)](_0x485d5d[_0xe3be4f(0x101)]),_0x26a35a=!0x0),this[_0xe3be4f(0x103)][_0xe3be4f(0x12d)](_0x56a65a,0x1),this[_0xe3be4f(0x120)](_0x31594b,_0x56a65a)&&(_0x26a35a=!0x0),_0x26a35a;}[_0x127bfe(0x124)](_0x3462aa,_0x5781db){const _0xfb600a=_0x127bfe,_0x3e179b=_0x5781db[_0xfb600a(0x117)](_0xfb600a(0x10b)),_0x3b8470=this[_0xfb600a(0x103)][_0xfb600a(0xf2)](_0x503295=>_0x503295['id']===_0x3e179b),_0x5ab071=this[_0xfb600a(0x103)][_0x3b8470];let _0x29d29a=!0x1;_0x5ab071[_0xfb600a(0xec)]=_0x5781db,this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3b8470,0x1);const _0x3f5bb8=I(this[_0xfb600a(0x127)][_0xfb600a(0xe8)],this[_0xfb600a(0x103)],_0x5781db);return this[_0xfb600a(0x103)][_0xfb600a(0x12d)](_0x3f5bb8,0x0,_0x5ab071),this[_0xfb600a(0x120)](_0x3462aa,Math[_0xfb600a(0x119)](_0x3b8470,_0x3f5bb8))&&(_0x29d29a=!0x0),_0x29d29a;}[_0x127bfe(0xdd)](_0x4337be,_0x11b1cd){const _0x4c895b=_0x127bfe;if(!this[_0x4c895b(0x100)])return!0x1;const _0x2b6f03=this[_0x4c895b(0x103)][_0x11b1cd];let _0x5da184;return _0x5da184=this[_0x4c895b(0x129)]?this[_0x4c895b(0x129)]({'footnote':_0x2b6f03,'container':this[_0x4c895b(0x100)],'digits':String(this[_0x4c895b(0x103)][_0x4c895b(0x12e)])[_0x4c895b(0x12e)],'value':_0x11b1cd+0x1}):String(_0x11b1cd+0x1),_0x2b6f03[_0x4c895b(0xec)][_0x4c895b(0x117)](_0x4c895b(0xd2))!=_0x5da184&&(_0x4337be[_0x4c895b(0xd9)](_0x4c895b(0xd2),_0x5da184,_0x2b6f03[_0x4c895b(0xec)]),!0x0);}[_0x127bfe(0xe6)](_0x5946fd){const _0x207d0f=_0x127bfe;if(!this[_0x207d0f(0x100)]||this[_0x207d0f(0x103)][_0x207d0f(0x12e)]<0x2)return!0x1;if(function(_0x1152ea,_0x43490a){const _0x5a7b45=_0x207d0f;if(_0x1152ea[_0x5a7b45(0x12e)]!==_0x43490a[_0x5a7b45(0x12e)])return!0x1;for(let _0x37a037=0x0;_0x37a037<_0x1152ea[_0x5a7b45(0x12e)];_0x37a037++)if(_0x1152ea[_0x37a037]!==_0x43490a[_0x37a037])return!0x1;return!0x0;}(this[_0x207d0f(0x103)][_0x207d0f(0xf5)](_0x206646=>_0x206646['id']),Array[_0x207d0f(0xd4)](this[_0x207d0f(0x100)][_0x207d0f(0xd3)]())[_0x207d0f(0xf5)](_0x2cb759=>_0x2cb759[_0x207d0f(0x117)](_0x207d0f(0x10b)))))return!0x1;let _0x5e8fb1=!0x1;for(let _0x1a9213=0x0;_0x1a9213<this[_0x207d0f(0x103)][_0x207d0f(0x12e)];_0x1a9213++){const _0x56c6ee=this[_0x207d0f(0x103)][_0x1a9213],_0x67b01a=_0x5946fd[_0x207d0f(0x106)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195=_0x5946fd[_0x207d0f(0xd0)](this[_0x207d0f(0x100)],_0x1a9213);_0x67b01a[_0x207d0f(0x115)](_0xfac195)||(_0x5946fd[_0x207d0f(0xf8)](_0x5946fd[_0x207d0f(0xf9)](_0x56c6ee[_0x207d0f(0x101)]),_0xfac195),_0x5e8fb1=!0x0);}return _0x5e8fb1;}[_0x127bfe(0xe9)](_0x52525){const _0x57c194=_0x127bfe;if(!this[_0x57c194(0x103)][_0x57c194(0x12e)])return!0x1;const {model:_0x4fc709}=this[_0x57c194(0x127)];let _0x7b3fef=!0x1;for(let _0x545460=0x0;_0x545460<this[_0x57c194(0x103)][_0x57c194(0x12e)]-0x1;_0x545460++){const _0x820092=this[_0x57c194(0x103)][_0x545460],_0x1e1e1e=this[_0x57c194(0x103)][_0x545460+0x1],_0x1e408c=_0x4fc709[_0x57c194(0x106)](_0x820092[_0x57c194(0xec)]),_0x1b5040=_0x4fc709[_0x57c194(0x106)](_0x1e1e1e[_0x57c194(0xec)]);_0x57c194(0xff)===_0x1e408c[_0x57c194(0xf6)](_0x1b5040)&&(this[_0x57c194(0x124)](_0x52525,_0x820092[_0x57c194(0xec)]),_0x545460=-0x1,_0x7b3fef=!0x0);}return _0x7b3fef;}}function _(_0x14db7e,_0x326bf5,_0x5c3698){const _0x388a61=_0x127bfe;if(_0x5c3698[_0x388a61(0xeb)])return!0x1;const _0x51c7ab=_0x326bf5?_0x388a61(0x10f):_0x388a61(0x12b);return _0x14db7e[_0x388a61(0x11d)](_0x14db7e[_0x388a61(0x121)](_0x51c7ab),_0x5c3698),!0x0;}function I(_0x5e7b92,_0x2c859a,_0x261fb6){const _0x1c9fb1=_0x127bfe;if(0x0===_0x2c859a[_0x1c9fb1(0x12e)])return 0x0;const _0x5bc849=_0x5e7b92[_0x1c9fb1(0x106)](_0x261fb6);for(let _0x308386=0x0;_0x308386<_0x2c859a[_0x1c9fb1(0x12e)];_0x308386++){const _0x15964b=_0x2c859a[_0x308386],_0x3dd3c4=_0x5e7b92[_0x1c9fb1(0x106)](_0x15964b[_0x1c9fb1(0xec)]);if(_0x1c9fb1(0xd5)===_0x5bc849[_0x1c9fb1(0xf6)](_0x3dd3c4))return _0x308386;}const _0x5a1dde=_0x261fb6[_0x1c9fb1(0xf0)];let _0x54266e=-0x1;for(let _0x1dc8d2=_0x2c859a[_0x1c9fb1(0x12e)]-0x1;_0x1dc8d2>=0x0;_0x1dc8d2--)if(_0x2c859a[_0x1dc8d2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)]===_0x5a1dde){_0x54266e=_0x1dc8d2;break;}if(-0x1!==_0x54266e)return _0x54266e+0x1;const _0xa34560=_0x5e7b92[_0x1c9fb1(0xf3)][_0x1c9fb1(0x11e)](),_0x3590b4=_0xa34560[_0x1c9fb1(0xd8)](_0x5a1dde[_0x1c9fb1(0xed)]),_0x19bf3a=_0xa34560[_0x3590b4+0x1];if(_0x19bf3a){for(let _0x2de4b2=0x0;_0x2de4b2<_0x2c859a[_0x1c9fb1(0x12e)];_0x2de4b2++)if(_0x2c859a[_0x2de4b2][_0x1c9fb1(0xec)][_0x1c9fb1(0xf0)][_0x1c9fb1(0xed)]===_0x19bf3a)return _0x2de4b2;}return _0x2c859a[_0x1c9fb1(0x12e)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4235bd,MenuBarMenuListItemButtonView as _0x4a1345}from'ckeditor5/src/ui.js';import{Plugin as _0x3a360e}from'ckeditor5/src/core.js';import{IconFootnote as _0x35eff2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3a360e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4908bd}=this,{componentFactory:_0x5cce6d}=_0x4908bd['ui'];_0x5cce6d['add']('insertFootnote',x(_0x4908bd,_0x4235bd)),_0x5cce6d['add']('menuBar:insertFootnote',x(_0x4908bd,_0x4a1345)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x294b83=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f373f;for(const _0x2ed987 in _0x294b83){const _0x1c3798=_0x2ed987,_0x40aefa=_0x294b83[_0x1c3798];if('footnotesLicenseKeyValid'==_0x40aefa||'footnotesLicenseKeyInvalid'==_0x40aefa||'footnotesLicenseKeyExpired'==_0x40aefa||'footnotesLicenseKeyDomainLimit'==_0x40aefa||'footnotesLicenseKeyNotAllowed'==_0x40aefa||'footnotesLicenseKeyEvaluationLimit'==_0x40aefa||'footnotesLicenseKeyTrialLimit'==_0x40aefa||'footnotesLicenseKeyUsageLimit'==_0x40aefa){delete _0x294b83[_0x1c3798],_0x2f373f=_0x40aefa,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2f373f&&_0x294b83['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2f373f&&_0x294b83['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2f373f&&_0x294b83['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2f373f&&_0x294b83['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2f373f&&_0x294b83['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2f373f&&_0x294b83['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2f373f&&_0x294b83['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x393f3c,_0x34e3ec){const _0x2ef558=_0x393f3c['commands']['get']('insertFootnote');return _0xe4dde7=>{const {t:t}=_0xe4dde7,_0x178e2e=new _0x34e3ec(_0xe4dde7),_0x611671=_0x178e2e instanceof _0x4a1345;return _0x178e2e['bind']('isEnabled')['to'](_0x2ef558,'isEnabled'),_0x178e2e['set']({'label':t(_0x611671?'Footnote':'Insert\x20footnote'),'icon':_0x35eff2,'tooltip':!0x0}),_0x178e2e['on']('execute',()=>{_0x2ef558['execute'](),_0x393f3c['editing']['view']['focus']();}),_0x178e2e;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x21e2(_0x310a16,_0x1a2981){var _0x18f377=_0x18f3();return _0x21e2=function(_0x21e2ed,_0x1f919e){_0x21e2ed=_0x21e2ed-0x146;var _0x548b6f=_0x18f377[_0x21e2ed];return _0x548b6f;},_0x21e2(_0x310a16,_0x1a2981);}function _0x18f3(){var _0x5bbd55=['1273491eCVNXB','4uxFQHv','48314ZYUSJF','1254765DBIUQH','45lmUIGT','2795832VslrXr','33YxppWG','122GAkUaA','1171784VhxgPE','6379LPnvcz','2338810zcoTWt'];_0x18f3=function(){return _0x5bbd55;};return _0x18f3();}(function(_0x1d8946,_0x1c8a97){var _0x318939=_0x21e2,_0x2dff2c=_0x1d8946();while(!![]){try{var _0x50ecc7=parseInt(_0x318939(0x14a))/0x1*(-parseInt(_0x318939(0x148))/0x2)+parseInt(_0x318939(0x14c))/0x3*(-parseInt(_0x318939(0x14d))/0x4)+parseInt(_0x318939(0x14f))/0x5+-parseInt(_0x318939(0x146))/0x6+-parseInt(_0x318939(0x14e))/0x7+-parseInt(_0x318939(0x149))/0x8*(-parseInt(_0x318939(0x150))/0x9)+-parseInt(_0x318939(0x14b))/0xa*(-parseInt(_0x318939(0x147))/0xb);if(_0x50ecc7===_0x1c8a97)break;else _0x2dff2c['push'](_0x2dff2c['shift']());}catch(_0x449b8a){_0x2dff2c['push'](_0x2dff2c['shift']());}}}(_0x18f3,0x61487));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';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 _0x5bfa86=_0x2d80;function _0x2d80(_0x5ea363,_0x8befc3){const _0x20cc52=_0x20cc();return _0x2d80=function(_0x2d809c,_0xb2feb3){_0x2d809c=_0x2d809c-0x1ed;let _0x1b5324=_0x20cc52[_0x2d809c];return _0x1b5324;},_0x2d80(_0x5ea363,_0x8befc3);}(function(_0x57c73a,_0x1ebc4b){const _0x515ef1=_0x2d80,_0x4cfd1e=_0x57c73a();while(!![]){try{const _0x53e16c=-parseInt(_0x515ef1(0x217))/0x1*(parseInt(_0x515ef1(0x1ff))/0x2)+parseInt(_0x515ef1(0x1f6))/0x3*(-parseInt(_0x515ef1(0x209))/0x4)+parseInt(_0x515ef1(0x20e))/0x5*(-parseInt(_0x515ef1(0x20c))/0x6)+parseInt(_0x515ef1(0x214))/0x7*(parseInt(_0x515ef1(0x1ed))/0x8)+-parseInt(_0x515ef1(0x1f1))/0x9+-parseInt(_0x515ef1(0x1f2))/0xa+parseInt(_0x515ef1(0x216))/0xb*(parseInt(_0x515ef1(0x218))/0xc);if(_0x53e16c===_0x1ebc4b)break;else _0x4cfd1e['push'](_0x4cfd1e['shift']());}catch(_0xea9e15){_0x4cfd1e['push'](_0x4cfd1e['shift']());}}}(_0x20cc,0xa1b99));export class ModelElementTracker{[_0x5bfa86(0x21a)];[_0x5bfa86(0x201)];[_0x5bfa86(0x203)];[_0x5bfa86(0x1f7)]=new Map();constructor(_0x14c512,_0x452521){const _0x42d1ea=_0x5bfa86;this[_0x42d1ea(0x21a)]=_0x14c512,this[_0x42d1ea(0x201)]=_0x452521[_0x42d1ea(0x208)],this[_0x42d1ea(0x203)]=_0x452521[_0x42d1ea(0x210)];}[_0x5bfa86(0x204)](){const _0x13e6d5=_0x5bfa86;this[_0x13e6d5(0x1f7)][_0x13e6d5(0x1ef)]();}[_0x5bfa86(0x206)](_0x3f71e5){const _0x39863b=_0x5bfa86,_0x454654=new Set(),_0x187cb8=new Map();for(const _0x1b8383 of _0x3f71e5){if(_0x39863b(0x20f)===_0x1b8383[_0x39863b(0x1f9)]&&_0x39863b(0x1fe)!==_0x1b8383[_0x39863b(0x1fb)]&&_0x1b8383[_0x39863b(0x1f3)][_0x39863b(0x207)]){const _0x17380a=this[_0x39863b(0x21a)][_0x39863b(0x1ee)](_0x1b8383[_0x39863b(0x1f3)][_0x39863b(0x207)]);for(const _0xaf25cf of _0x17380a[_0x39863b(0x202)]()){if(!_0xaf25cf['is'](_0x39863b(0x200),this[_0x39863b(0x201)]))continue;const _0x1e9a4c=this[_0x39863b(0x203)](_0xaf25cf);_0x187cb8[_0x39863b(0x215)](_0x1e9a4c)||_0x187cb8[_0x39863b(0x1f4)](_0x1e9a4c,[]),_0x187cb8[_0x39863b(0x1fa)](_0x1e9a4c)[_0x39863b(0x1fc)](_0xaf25cf);}}if(_0x39863b(0x1fd)===_0x1b8383[_0x39863b(0x1f9)]&&_0x1b8383[_0x39863b(0x1fb)]===this[_0x39863b(0x201)]){const _0x2c9740=this[_0x39863b(0x203)]({'getAttribute':_0x35e3d0=>_0x1b8383[_0x39863b(0x213)][_0x39863b(0x1fa)](_0x35e3d0)});_0x454654[_0x39863b(0x211)](_0x2c9740);}}for(const [_0x5f7ba0,_0x5a9d0b]of this[_0x39863b(0x1f7)])_0x39863b(0x205)===_0x5a9d0b[_0x39863b(0x212)][_0x39863b(0x1f5)]&&_0x454654[_0x39863b(0x211)](_0x5f7ba0);for(const _0x16487c of _0x454654)this[_0x39863b(0x1f7)][_0x39863b(0x20d)](_0x16487c);for(const [_0x769a7e,_0x1e3903]of _0x187cb8)this[_0x39863b(0x1f7)][_0x39863b(0x1f4)](_0x769a7e,_0x1e3903[_0x1e3903[_0x39863b(0x20a)]-0x1]);const _0x1ab622=new Set();for(const [_0x3d6d38,_0x422603]of _0x187cb8)_0x454654[_0x39863b(0x215)](_0x3d6d38)&&(_0x1ab622[_0x39863b(0x211)](_0x422603[0x0]),_0x422603[_0x39863b(0x20a)]>0x1?_0x187cb8[_0x39863b(0x1f4)](_0x3d6d38,_0x422603[_0x39863b(0x219)](0x1)):_0x187cb8[_0x39863b(0x20d)](_0x3d6d38),_0x454654[_0x39863b(0x20d)](_0x3d6d38));return{'removed':Array[_0x39863b(0x20b)](_0x454654),'inserted':Array[_0x39863b(0x20b)](_0x187cb8[_0x39863b(0x1f8)]())[_0x39863b(0x1f0)](),'moved':Array[_0x39863b(0x20b)](_0x1ab622)};}}function _0x20cc(){const _0x4a60d3=['$text','892916WJVfoS','element','_elementName','getItems','_getElementKey','reset','$graveyard','getChanges','nodeAfter','elementName','51176xfymWp','length','from','36YaVvYa','delete','376280deKChI','insert','getElementKey','add','root','attributes','9079oUoTBa','has','858dgToUb','1LwPVVQ','338448hBGlji','slice','_model','472buCWOR','createRangeOn','clear','flat','3940227ddGqyO','1118910kuRwNe','position','set','rootName','39GMXkkx','_trackedElements','values','type','get','name','push','remove'];_0x20cc=function(){return _0x4a60d3;};return _0x20cc();}
|