@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251119.0 → 0.0.0-nightly-20251120.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 _0x546941}from'ckeditor5/src/core.js';import{isWidget as _0x1e492a,toWidget as _0x5657c0,toWidgetEditable as _0x440508}from'ckeditor5/src/widget.js';import{uid as _0x32740c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x551087,ClickObserver as _0x232a39}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1bb690}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3f6c03}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x546941{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1bb690];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3703bf}=this;_0x3703bf['config']['define']('footnotes.multiBlock',!0x0),_0x3703bf['commands']['add']('insertFootnote',new _0x3f6c03(_0x3703bf)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x451825){const _0x4bf573=_0x4a2142([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]),_0x3b2c4f=0x47a28506,_0x1b9cfa=0x47a5fc8e^_0x3b2c4f,_0x13f764=window[_0x4a2142([0x44,0x61,0x74,0x65])][_0x4a2142([0x6e,0x6f,0x77])](),_0x6bccf9=_0x451825[_0x4a2142([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ca6d2=new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x221124=>{_0x6bccf9[_0x4a2142([0x6f,0x6e,0x63,0x65])](_0x4a2142([0x72,0x65,0x61,0x64,0x79]),_0x221124);}),_0xc24643={[_0x4a2142([0x6b,0x74,0x79])]:_0x4a2142([0x45,0x43]),[_0x4a2142([0x75,0x73,0x65])]:_0x4a2142([0x73,0x69,0x67]),[_0x4a2142([0x63,0x72,0x76])]:_0x4a2142([0x50,0x2d,0x32,0x35,0x36]),[_0x4a2142([0x78])]:_0x4a2142([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]),[_0x4a2142([0x79])]:_0x4a2142([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]),[_0x4a2142([0x61,0x6c,0x67])]:_0x4a2142([0x45,0x53,0x32,0x35,0x36])},_0x2eeb9d=_0x6bccf9[_0x4a2142([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a2142([0x67,0x65,0x74])](_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1610a5(){let _0x5cf1e0,_0x1566dd=null,_0x136b8a=null;try{if(_0x2eeb9d==_0x4a2142([0x47,0x50,0x4c]))return _0x4a2142([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cf1e0=_0x5442a6(),!_0x5cf1e0)return _0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cf1e0[_0x4a2142([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x136b8a=_0x24e80b(_0x5cf1e0[_0x4a2142([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cf1e0[_0x4a2142([0x6a,0x74,0x69])])),await _0x449350()?_0xd8a730()?_0x212207()?_0x4a2142([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19d682()?(_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2142([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1566dd=_0x3e5076(_0x4a2142([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2142([0x74,0x72,0x69,0x61,0x6c])&&(_0x1566dd=_0x3e5076(_0x4a2142([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330005()):_0x4a2142([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2142([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212207(){const _0x538e6f=[_0x4a2142([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a2142([0x74,0x72,0x69,0x61,0x6c])][_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13f764/0x3e8:0xe10*_0x1b9cfa;return _0x5cf1e0[_0x4a2142([0x65,0x78,0x70])]<_0x538e6f;}function _0xd8a730(){const _0x43d297=_0x5cf1e0[_0x4a2142([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43d297&&(!!_0x43d297[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x2a]))||!!_0x43d297[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x46,0x4f,0x4f])));}function _0x19d682(){const _0x4bcafa=_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bcafa||0x0==_0x4bcafa[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd51cac}=new URL(window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bcafa[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd51cac))return!0x0;const _0x206e5e=_0xd51cac[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e]));return _0x4bcafa[_0x4a2142([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325566=>_0x325566[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x2a])))[_0x4a2142([0x6d,0x61,0x70])](_0xb4e4ac=>_0xb4e4ac[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e])))[_0x4a2142([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x323afa=>_0x323afa[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x206e5e[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2142([0x6d,0x61,0x70])](_0x581e17=>Array(_0x206e5e[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x581e17[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2142([0x66,0x69,0x6c,0x6c])](_0x581e17[0x0]===_0x4a2142([0x2a])?_0x4a2142([0x2a]):'')[_0x4a2142([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x581e17))[_0x4a2142([0x73,0x6f,0x6d,0x65])](_0x389cb0=>_0x206e5e[_0x4a2142([0x65,0x76,0x65,0x72,0x79])]((_0x2d983f,_0x4e10cb)=>_0x389cb0[_0x4e10cb]===_0x2d983f||_0x389cb0[_0x4e10cb]===_0x4a2142([0x2a])));}function _0x330005(){return _0x1566dd&&_0x136b8a?new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd28e3f,_0x58c349)=>{_0x1566dd[_0x4a2142([0x74,0x68,0x65,0x6e])](_0xd28e3f,_0x58c349),_0x136b8a[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x2d67f1=>{_0x2d67f1!=_0x4a2142([0x56,0x61,0x6c,0x69,0x64])&&_0xd28e3f(_0x2d67f1);},_0x58c349);}):_0x1566dd||_0x136b8a||_0x4a2142([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24e80b(_0x3a9dd1,_0x3dc9f6){return new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c05da=>{if(_0x3a1bc1())return _0x5c05da(_0x4a2142([0x56,0x61,0x6c,0x69,0x64]));_0x13e2f5(),_0x6bccf9[_0x4a2142([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a563a=!0x1;const _0x5ecb5b=_0x32740c();function _0x1ce0f6(_0x22fa8b){return!!_0x22fa8b&&(typeof _0x22fa8b===_0x4a2142([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22fa8b===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22fa8b[_0x4a2142([0x74,0x68,0x65,0x6e])]===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22fa8b[_0x4a2142([0x63,0x61,0x74,0x63,0x68])]===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f60de(_0x18003b){_0x4294d0(_0x18003b)[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x2b48fe=>{if(!_0x2b48fe||_0x2b48fe[_0x4a2142([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a2142([0x6f,0x6b]))return _0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x237c24(_0x23da5e(_0x5ecb5b+_0x3dc9f6))!=_0x2b48fe[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2142([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x3439dd=>(_0x46dc72(),_0x3439dd),()=>{const _0x55ba17=_0x19c221();return null==_0x55ba17?(_0x46dc72(),_0x4a2142([0x56,0x61,0x6c,0x69,0x64])):_0x4a2142(_0x13f764-_0x55ba17>(0x63ae0106^_0x3b2c4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x5c05da)[_0x4a2142([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43c654=0x47946b86^_0x3b2c4f;function _0x46dc72(){const _0x7b6c88=_0x4a2142([0x6c,0x6c,0x63,0x74,0x2d])+_0x237c24(_0x23da5e(_0x3a9dd1)),_0x5ea9c6=_0x2527cb(_0x237c24(window[_0x4a2142([0x4d,0x61,0x74,0x68])][_0x4a2142([0x63,0x65,0x69,0x6c])](_0x13f764/_0x43c654)));window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2142([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b6c88,_0x5ea9c6);}function _0x19c221(){const _0x4d827d=_0x4a2142([0x6c,0x6c,0x63,0x74,0x2d])+_0x237c24(_0x23da5e(_0x3a9dd1)),_0x4b20d2=window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2142([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d827d);return _0x4b20d2?window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2527cb(_0x4b20d2),0x10)*_0x43c654:null;}function _0x4294d0(_0x16e35b){return new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e0c3,_0x2594b2)=>{_0x16e35b[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x34e0c3,_0x2594b2),window[_0x4a2142([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2594b2,0x47a351c6^_0x3b2c4f);});}}_0x6bccf9[_0x4a2142([0x6f,0x6e])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x396952,_0x2c2c0a)=>{if(_0x2c2c0a[0x0]!=_0x3a9dd1)return _0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c2c0a[0x1]={..._0x2c2c0a[0x1],[_0x4a2142([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ecb5b};},{[_0x4a2142([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2142([0x68,0x69,0x67,0x68])}),_0x6bccf9[_0x4a2142([0x6f,0x6e])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa2e358=>{_0x1ce0f6(_0xa2e358[_0x4a2142([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a563a=!0x0,_0x4f60de(_0xa2e358[_0x4a2142([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a2142([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2142([0x6c,0x6f,0x77])}),_0x1ca6d2[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>{_0x3a563a||_0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a1bc1(){return _0x6bccf9[_0x4a2142([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2142([0x76,0x69,0x65,0x77])][_0x4a2142([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a2142([0x61,0x75,0x74,0x6f]);}function _0x13e2f5(){_0x6bccf9[_0x4a2142([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2142([0x76,0x69,0x65,0x77])][_0x4a2142([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a2142([0x61,0x75,0x74,0x6f]);}}function _0x3e5076(_0x35bb82){const _0x2f1eb9=[new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c709b=>setTimeout(_0x2c709b,0x47abbbca^_0x3b2c4f)),_0x1ca6d2[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d422b=>{let _0x2d0fe9=0x0;_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x6f,0x6e])](_0x4a2142([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11d4cd,_0x52f942)=>{_0x52f942[0x0][_0x4a2142([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d0fe9++,_0x2d0fe9==(0x47a284fe^_0x3b2c4f)&&(_0x1d422b(),_0x11d4cd[_0x4a2142([0x6f,0x66,0x66])]());});}))];return window[_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a2142([0x72,0x61,0x63,0x65])](_0x2f1eb9)[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>_0x35bb82);}async function _0x50f27d(){await _0x1ca6d2,_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fe0c9,_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fe0c9,_0x6bccf9[_0x4a2142([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24d603(_0x1893b8){const _0x724ae5=_0x341ccc();_0x6bccf9[_0x724ae5]=_0x4a2142([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1893b8,_0x1893b8!=_0x4a2142([0x56,0x61,0x6c,0x69,0x64])&&_0x50f27d();}function _0x341ccc(){const _0x55c396=window[_0x4a2142([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a2142([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a2142([0x6e,0x6f,0x77])]())[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a2142([0x2e]),'');let _0x88f39b=_0x4a2142([0x75]);for(let _0x4abd32=0x0;_0x4abd32<_0x55c396[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4abd32+=0x2){let _0x554c19=window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55c396[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4abd32,_0x4abd32+0x2));_0x554c19>=_0x4bf573[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x554c19-=_0x4bf573[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x88f39b+=_0x4bf573[_0x554c19];}return _0x88f39b;}function _0x5442a6(){const _0x517965=_0x2eeb9d[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e]));if(0x3!=_0x517965[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5943bc(_0x517965[0x1]);function _0x5943bc(_0x150760){const _0x56222d=_0x839386(_0x150760);return _0x56222d&&_0x2b2465()?_0x56222d:null;function _0x2b2465(){const _0x4c7964=_0x56222d[_0x4a2142([0x6a,0x74,0x69])],_0x2fcd4d=window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c7964[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c7964[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x516ee4={..._0x56222d,[_0x4a2142([0x6a,0x74,0x69])]:_0x4c7964[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c7964[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x516ee4[_0x4a2142([0x76,0x63])],_0x23da5e(_0x516ee4)==_0x2fcd4d;}}}async function _0x449350(){let _0x55389d=!0x0;try{const _0x528d52=_0x2eeb9d[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e])),[_0x1dc44b,_0x573624,_0x57dd29]=_0x528d52;return _0x529e09(_0x1dc44b),await _0x4a5eb9(_0x1dc44b,_0x573624,_0x57dd29),_0x55389d;}catch{return!0x1;}function _0x529e09(_0x369212){const _0x50d91d=_0x839386(_0x369212);_0x50d91d&&_0x50d91d[_0x4a2142([0x61,0x6c,0x67])]==_0x4a2142([0x45,0x53,0x32,0x35,0x36])||(_0x55389d=!0x1);}async function _0x4a5eb9(_0x1306c4,_0x37fdde,_0x257527){const _0x303793=window[_0x4a2142([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a2142([0x66,0x72,0x6f,0x6d])](_0x52c006(_0x257527),_0x43bccd=>_0x43bccd[_0x4a2142([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5049a0=new window[(_0x4a2142([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a2142([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1306c4+_0x4a2142([0x2e])+_0x37fdde),_0x33ad11=window[_0x4a2142([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a2142([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33ad11)return;const _0x2c70e7=await _0x33ad11[_0x4a2142([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a2142([0x6a,0x77,0x6b]),_0xc24643,{[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x45,0x43,0x44,0x53,0x41]),[_0x4a2142([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a2142([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33ad11[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x45,0x43,0x44,0x53,0x41]),[_0x4a2142([0x68,0x61,0x73,0x68])]:{[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c70e7,_0x303793,_0x5049a0)||(_0x55389d=!0x1);}}function _0x839386(_0x10e621){return _0x10e621[_0x4a2142([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a2142([0x65,0x79]))?JSON[_0x4a2142([0x70,0x61,0x72,0x73,0x65])](_0x52c006(_0x10e621)):null;}function _0x52c006(_0xae6e49){return window[_0x4a2142([0x61,0x74,0x6f,0x62])](_0xae6e49[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a2142([0x2b]))[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a2142([0x2f])));}function _0x23da5e(_0x2c6f93){let _0x178b45=0x1505;function _0x7e85fa(_0x487dcb){for(let _0x2172d8=0x0;_0x2172d8<_0x487dcb[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2172d8++){const _0x32ac7c=_0x487dcb[_0x4a2142([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2172d8);_0x178b45=(_0x178b45<<0x5)+_0x178b45+_0x32ac7c,_0x178b45&=_0x178b45;}}function _0x490f0e(_0x5c0d26){Array[_0x4a2142([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c0d26)?_0x5c0d26[_0x4a2142([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x490f0e):_0x5c0d26&&typeof _0x5c0d26==_0x4a2142([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a2142([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c0d26)[_0x4a2142([0x73,0x6f,0x72,0x74])]()[_0x4a2142([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x503cdc,_0x5760f1])=>{_0x7e85fa(_0x503cdc),_0x490f0e(_0x5760f1);}):_0x7e85fa(window[_0x4a2142([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c0d26));}return _0x490f0e(_0x2c6f93),_0x178b45>>>0x0;}function _0x237c24(_0xbf236f){return _0xbf236f[_0x4a2142([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a2142([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a2142([0x30]));}function _0x2527cb(_0xd9253f){return _0xd9253f[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a2142([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a2142([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fe0c9(){}function _0x4a2142(_0x281237){return _0x281237['map'](_0x45050f=>String['fromCharCode'](_0x45050f))['join']('');}_0x24d603(await _0x1610a5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10471d){const {plugins:_0x382381,editing:_0x364f96,model:_0x54ba6a}=this['editor'],_0x1661d7=_0x382381['get'](_0x1bb690)['getFootnote'](_0x10471d);return!!_0x1661d7&&(_0x54ba6a['change'](_0x564f70=>{_0x564f70['setSelection'](_0x564f70['createPositionAt'](_0x1661d7['definition'],'end'));}),_0x364f96['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x40d172){const {plugins:_0x352f54,editing:_0x555204,model:_0x1f9596}=this['editor'],_0x47b5ba=_0x352f54['get'](_0x1bb690)['getFootnote'](_0x40d172);return!!_0x47b5ba&&(_0x1f9596['change'](_0x1261b9=>{_0x1261b9['setSelection'](_0x47b5ba['reference'],'on');}),_0x555204['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4f4fb2}=this['editor']['model'],_0x2e0b64=this['editor']['config']['get']('footnotes.multiBlock');_0x4f4fb2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4f4fb2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4f4fb2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2e0b64?_0x4f4fb2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4f4fb2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4f4fb2['addChildCheck'](_0xba6681=>{for(const _0x8e554a of _0xba6681)if('footnoteDefinition'===_0x8e554a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x22ebd4}=this,{conversion:_0x4c190a,editing:_0x5c3046}=_0x22ebd4,{t:t}=_0x22ebd4['locale'];_0x4c190a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x46465b,{writer:_0x4551ae,consumable:_0xd49c84})=>{const _0x24ca84=_0x46465b['getChild'](0x0);if(!_0x24ca84||!_0x24ca84['is']('element','a'))return null;const _0x46e448=_0x24ca84['getAttribute']('href')||'';if(!_0x46e448['startsWith']('#'))return null;const _0x1f3db8=_0x46e448['replace'](/^#/,'');if(!_0x1f3db8)return null;_0xd49c84['consume'](_0x24ca84,{'name':!0x0,'attributes':['href']});for(const {item:_0x40561b}of _0x5c3046['view']['createRangeIn'](_0x24ca84))_0x40561b['is']('$textProxy')?_0xd49c84['consume'](_0x40561b['textNode'],{'name':!0x0}):_0x40561b['is']('element')&&_0xd49c84['consume'](_0x40561b,{'name':!0x0});return _0x4551ae['createElement']('footnoteRef',{'footnoteId':_0x1f3db8});}}),_0x4c190a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f67bc,{writer:_0xc4c043})=>D(_0x4f67bc,_0xc4c043)}),_0x4c190a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d3529,{writer:_0x1bc763})=>{const _0x5b546d=_0x2d3529['getAttribute']('footnoteCounter');return _0x5657c0(D(_0x2d3529,_0x1bc763),_0x1bc763,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5b546d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x24b731}=this,{t:t}=_0x24b731['locale'],{conversion:_0x423c10}=_0x24b731;_0x423c10['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x423c10['for']('upcast')['add'](_0x1e6d34=>{_0x1e6d34['on']('element:ol',(_0x4c4197,_0x5d45ad,_0x256637)=>{const _0xfdec2c=_0x5d45ad['viewItem'];if(!_0xfdec2c['hasClass']('footnotes-list')||!_0x5d45ad['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x256637['consumable']['consume'](_0xfdec2c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1f965d,modelCursor:_0x36392b}=_0x256637['convertChildren'](_0x5d45ad['viewItem'],_0x5d45ad['modelCursor']);_0x5d45ad['modelRange']=_0x1f965d,_0x5d45ad['modelCursor']=_0x36392b;}),_0x1e6d34['on']('element:hr',(_0x17f173,_0x39b81e,_0x2e6f1f)=>{const _0xc9d244=_0x39b81e['viewItem'];_0xc9d244['hasClass']('footnotes-divider')&&_0x39b81e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e6f1f['consumable']['consume'](_0xc9d244,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x423c10['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x419a33,{writer:_0x589231})=>v(_0x589231)}),_0x423c10['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x255c6f,{writer:_0x328842})=>{const _0x5da7f0=v(_0x328842,{'data-footnotes-list-label':t('Footnotes')}),_0x584f3c=_0x5657c0(_0x5da7f0,_0x328842,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x328842['setCustomProperty']('footnotesDefinitions',!0x0,_0x584f3c),_0x584f3c;}});}['_defineDefinitionConverters'](){const {editor:_0x31f7ca}=this,{conversion:_0x3d6f39,locale:_0x1b430c}=_0x31f7ca,_0x414ead=_0x31f7ca['config']['get']('footnotes.multiBlock');_0x3d6f39['for']('upcast')['add'](_0x1eb016=>{_0x1eb016['on']('element:li',(_0xf5aed9,_0x46ffa6,_0x43bad3)=>{const _0x463dbf=_0x46ffa6['viewItem'];if(!_0x463dbf['hasClass']('footnote-definition')||!_0x463dbf['getAttribute']('id'))return;const _0x2ed8e5=_0x463dbf['parent'];if(!_0x2ed8e5['is']('element','ol')||!_0x2ed8e5['hasClass']('footnotes-list'))return;if(!_0x43bad3['consumable']['test'](_0x463dbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1f3cea=_0x43bad3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x463dbf['getAttribute']('id')});if(!_0x43bad3['safeInsert'](_0x1f3cea,_0x46ffa6['modelCursor']))return;_0x43bad3['consumable']['consume'](_0x463dbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x181513=Array['from'](_0x463dbf['getChildren']())['find'](_0x390636=>_0x390636['is']('element')&&_0x390636['hasClass']('footnote-content'));for(const _0xe78889 of _0x463dbf['getChildren']())_0xe78889['is']('element')&&(_0x43bad3['consumable']['consume'](_0xe78889,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x43bad3['consumable']['consume'](_0xe78889,{'name':!0x0,'classes':'footnote-content'}));if(_0x181513){if(_0x414ead)_0x43bad3['convertChildren'](_0x181513,_0x1f3cea);else{const _0x5e5ebf=_0x43bad3['writer']['createElement']('footnoteInlineContent');_0x43bad3['writer']['insert'](_0x5e5ebf,_0x1f3cea),_0x43bad3['convertChildren'](_0x181513,_0x5e5ebf);}}_0x43bad3['updateConversionResult'](_0x1f3cea,_0x46ffa6);});}),_0x3d6f39['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3959a6,{writer:_0x1249a1})=>b(_0x3959a6,_0x1249a1,_0x1b430c,{'dataPipeline':!0x0})}),_0x3d6f39['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x12c295,{writer:_0x506cb7})=>b(_0x12c295,_0x506cb7,_0x1b430c)});}['_defineBogusParagraphConverters'](){const {editor:_0x462a35}=this,{conversion:_0x235719}=_0x462a35;_0x462a35['config']['get']('footnotes.multiBlock')?(_0x235719['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x235719['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x462a35['model']['document'],'change:data',()=>{!function(_0x53a993,_0x4d4c22){const _0x295119=_0x53a993['document']['differ'],_0x414221=new Set();for(const _0x524a98 of _0x295119['getChanges']()){const _0x38fa93='attribute'==_0x524a98['type']?_0x524a98['range']['start']['parent']:_0x524a98['position']['parent'];_0x38fa93['is']('element','footnoteDefinition')&&_0x414221['add'](_0x38fa93);}for(const _0x17135a of _0x414221['values']()){const _0x24dd0f=Array['from'](_0x17135a['getChildren']())['filter'](_0x265571=>g(_0x265571,_0x4d4c22['mapper']));for(const _0x99a7c8 of _0x24dd0f)_0x4d4c22['reconvertItem'](_0x99a7c8);}}(_0x462a35['model'],_0x462a35['editing']);})):(_0x235719['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x235719['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4f82d5,{writer:_0x54c69b})=>{const _0x2b2128=_0x54c69b['createContainerElement']('span');return _0x54c69b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2b2128),_0x2b2128;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1ca6b3}=this,{editing:_0x3598e6,t:t}=_0x1ca6b3,_0x19bcc4=_0x1ca6b3['model']['document']['selection'];_0x1ca6b3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1ca6b3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3598e6['view']['document'],'enter',(_0x18f04b,_0x36ee19)=>{const _0x515fe5=function(_0x383ec4){const _0x47fe7d=_0x383ec4['getSelectedElement']();if(_0x47fe7d?.['is']('element','footnoteRef'))return _0x47fe7d;return null;}(_0x19bcc4);if(_0x515fe5){const _0x396a2c=_0x515fe5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x396a2c),_0x36ee19['preventDefault'](),_0x18f04b['stop']();}},{'context':_0x1e492a});}['_defineClickHandlers'](){const {editor:_0x2668f1}=this,{editing:_0x43e8ee}=_0x2668f1;_0x2668f1['editing']['view']['addObserver'](_0x551087),_0x2668f1['editing']['view']['addObserver'](_0x232a39);let _0x5e2d0f=!0x1;this['listenTo'](_0x43e8ee['view']['document'],'pointerdown',(_0x1c3343,_0x49867c)=>{const {target:_0x1ce55a}=_0x49867c,_0x62d72a=_0x43e8ee['view']['document']['selection'];_0x5e2d0f=!!(_0x1ce55a?.['is']('element','a')&&_0x1ce55a['parent']?.['is']('element','sup')&&_0x1ce55a['parent']['hasClass']('footnote'))&&_0x62d72a['getSelectedElement']()===_0x1ce55a['parent'];},{'priority':'high'}),this['listenTo'](_0x43e8ee['view']['document'],'click',(_0x6f7506,_0x1deeee)=>{const {target:_0x29e8fa}=_0x1deeee;if(!_0x29e8fa?.['is']('element','a'))return;if(_0x29e8fa['parent']?.['is']('element','sup')&&_0x29e8fa['parent']['hasClass']('footnote')&&!_0x5e2d0f)return void _0x1deeee['preventDefault']();let _0x1341fb=_0x29e8fa['getAttribute']('href');if(!_0x1341fb?.['startsWith']('#'))return;_0x1341fb=_0x1341fb['slice'](0x1);let _0x5424ab=!0x1;(_0x1341fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1341fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1341fb))&&(_0x5424ab=!0x0),_0x5424ab&&(_0x1deeee['preventDefault'](),_0x6f7506['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x513f74}={}){return(_0x766f6f,{writer:_0x5bf9d8})=>{if(!p(_0x766f6f))return null;if(!_0x513f74)return _0x5bf9d8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5df64b=_0x5bf9d8['createContainerElement']('p');return _0x5bf9d8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5df64b),_0x5df64b;};}function p(_0x4391db){const {parent:_0x2fec95}=_0x4391db;if(!_0x2fec95?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2fec95['childCount'])return!0x1;for(const _0xa1521b of _0x4391db['getAttributeKeys']())if(!_0xa1521b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xa1521b)return!0x1;return!0x0;}function g(_0x264dc4,_0x255966){if(!_0x264dc4['is']('element','paragraph'))return!0x1;const _0x507f80=_0x255966['toViewElement'](_0x264dc4);return!!_0x507f80&&p(_0x264dc4)!==_0x507f80['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xdca5fc){return _0x1e492a(_0xdca5fc)&&_0xdca5fc['is']('containerElement')&&!!_0xdca5fc['getCustomProperty']('footnotesDefinitions');}function v(_0x4e6852,_0x286ee6={}){const _0x2f720a=_0x4e6852['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x46cc15=_0x4e6852['createContainerElement']('ol',{'class':'footnotes-list'},_0x4e6852['createSlot']());return _0x4e6852['createContainerElement']('div',{'class':'footnotes',..._0x286ee6},[_0x2f720a,_0x46cc15]);}function D(_0xcf3d4b,_0x16f758){const _0x51b7db=_0xcf3d4b['getAttribute']('footnoteId'),_0x5159f1=_0xcf3d4b['getAttribute']('footnoteCounter'),_0x214f72=_0x16f758['createUIElement']('a',{'href':'#'+_0x51b7db},function(_0x24b88c){const _0x58ea7a=this['toDomElement'](_0x24b88c);return _0x58ea7a['textContent']=_0x5159f1,_0x58ea7a;}),_0x308402=_0x16f758['createContainerElement']('sup',{'id':'ref-'+_0x51b7db,'class':'footnote'},[_0x214f72]);return _0x308402['getFillerOffset']=()=>null,_0x308402;}function b(_0x48789d,_0x387dee,_0x680fee,{dataPipeline:_0x51cc48}={}){const {t:t}=_0x680fee,_0x47dc8e=_0x48789d['getAttribute']('footnoteId'),_0x5689d1=_0x387dee['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x47dc8e},function(_0x2bdada){const _0x5ae7af=this['toDomElement'](_0x2bdada);return _0x5ae7af['innerText']='^',_0x5ae7af;}),_0x4440d3=_0x51cc48?_0x387dee['createContainerElement']('div',{'class':'footnote-content'}):_0x440508(_0x387dee['createEditableElement']('div',{'class':'footnote-content'}),_0x387dee,{'label':t('Footnote\x20content.')});return _0x387dee['insert'](_0x387dee['createPositionAt'](_0x4440d3,0x0),_0x387dee['createSlot']()),_0x387dee['createContainerElement']('li',{'class':'footnote-definition','id':_0x47dc8e},[_0x5689d1,_0x4440d3]);}
|
|
23
|
+
import{Plugin as _0x192a91}from'ckeditor5/src/core.js';import{isWidget as _0x18c4cb,toWidget as _0x9ea284,toWidgetEditable as _0x325df6}from'ckeditor5/src/widget.js';import{uid as _0x5ccbf2}from'ckeditor5/src/utils.js';import{PointerObserver as _0x46643b,ClickObserver as _0x4b2338}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x3f2ef7}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5a1880}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x192a91{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x3f2ef7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x38039e}=this;_0x38039e['config']['define']('footnotes.multiBlock',!0x0),_0x38039e['commands']['add']('insertFootnote',new _0x5a1880(_0x38039e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4d8ed3){const _0x238f5d=_0x2ae9a8([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]),_0x36e74e=0x47a28506,_0x27116=0x47a5fca6^_0x36e74e,_0x5a944b=window[_0x2ae9a8([0x44,0x61,0x74,0x65])][_0x2ae9a8([0x6e,0x6f,0x77])](),_0x48efaa=_0x4d8ed3[_0x2ae9a8([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a5c54=new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d02ae=>{_0x48efaa[_0x2ae9a8([0x6f,0x6e,0x63,0x65])](_0x2ae9a8([0x72,0x65,0x61,0x64,0x79]),_0x2d02ae);}),_0x4fef17={[_0x2ae9a8([0x6b,0x74,0x79])]:_0x2ae9a8([0x45,0x43]),[_0x2ae9a8([0x75,0x73,0x65])]:_0x2ae9a8([0x73,0x69,0x67]),[_0x2ae9a8([0x63,0x72,0x76])]:_0x2ae9a8([0x50,0x2d,0x32,0x35,0x36]),[_0x2ae9a8([0x78])]:_0x2ae9a8([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]),[_0x2ae9a8([0x79])]:_0x2ae9a8([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]),[_0x2ae9a8([0x61,0x6c,0x67])]:_0x2ae9a8([0x45,0x53,0x32,0x35,0x36])},_0x4afe0c=_0x48efaa[_0x2ae9a8([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ae9a8([0x67,0x65,0x74])](_0x2ae9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x56053a(){let _0x3ccd3a,_0xec227a=null,_0x5d8074=null;try{if(_0x4afe0c==_0x2ae9a8([0x47,0x50,0x4c]))return _0x2ae9a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3ccd3a=_0x357ce8(),!_0x3ccd3a)return _0x2ae9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3ccd3a[_0x2ae9a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5d8074=_0x4c44ee(_0x3ccd3a[_0x2ae9a8([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3ccd3a[_0x2ae9a8([0x6a,0x74,0x69])])),await _0x194172()?_0x483b0c()?_0x376b7c()?_0x2ae9a8([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xcecf09()?(_0x3ccd3a[_0x2ae9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ae9a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xec227a=_0x3c1e10(_0x2ae9a8([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3ccd3a[_0x2ae9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ae9a8([0x74,0x72,0x69,0x61,0x6c])&&(_0xec227a=_0x3c1e10(_0x2ae9a8([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x58c9ea()):_0x2ae9a8([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ae9a8([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ae9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ae9a8([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x376b7c(){const _0x319480=[_0x2ae9a8([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ae9a8([0x74,0x72,0x69,0x61,0x6c])][_0x2ae9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3ccd3a[_0x2ae9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5a944b/0x3e8:0xe10*_0x27116;return _0x3ccd3a[_0x2ae9a8([0x65,0x78,0x70])]<_0x319480;}function _0x483b0c(){const _0x2d15c5=_0x3ccd3a[_0x2ae9a8([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2d15c5&&(!!_0x2d15c5[_0x2ae9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae9a8([0x2a]))||!!_0x2d15c5[_0x2ae9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae9a8([0x46,0x4f,0x4f])));}function _0xcecf09(){const _0x307ed0=_0x3ccd3a[_0x2ae9a8([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x307ed0||0x0==_0x307ed0[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x50cbc6}=new URL(window[_0x2ae9a8([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x307ed0[_0x2ae9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x50cbc6))return!0x0;const _0x40b64f=_0x50cbc6[_0x2ae9a8([0x73,0x70,0x6c,0x69,0x74])](_0x2ae9a8([0x2e]));return _0x307ed0[_0x2ae9a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x11efb4=>_0x11efb4[_0x2ae9a8([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ae9a8([0x2a])))[_0x2ae9a8([0x6d,0x61,0x70])](_0x3d481e=>_0x3d481e[_0x2ae9a8([0x73,0x70,0x6c,0x69,0x74])](_0x2ae9a8([0x2e])))[_0x2ae9a8([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x585dfa=>_0x585dfa[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x40b64f[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ae9a8([0x6d,0x61,0x70])](_0x269133=>Array(_0x40b64f[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x269133[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ae9a8([0x66,0x69,0x6c,0x6c])](_0x269133[0x0]===_0x2ae9a8([0x2a])?_0x2ae9a8([0x2a]):'')[_0x2ae9a8([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x269133))[_0x2ae9a8([0x73,0x6f,0x6d,0x65])](_0x55cd57=>_0x40b64f[_0x2ae9a8([0x65,0x76,0x65,0x72,0x79])]((_0x208214,_0x5fffd1)=>_0x55cd57[_0x5fffd1]===_0x208214||_0x55cd57[_0x5fffd1]===_0x2ae9a8([0x2a])));}function _0x58c9ea(){return _0xec227a&&_0x5d8074?new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2dd818,_0x29ab3a)=>{_0xec227a[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x2dd818,_0x29ab3a),_0x5d8074[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x4789c4=>{_0x4789c4!=_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64])&&_0x2dd818(_0x4789c4);},_0x29ab3a);}):_0xec227a||_0x5d8074||_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c44ee(_0x35d323,_0x4c23f6){return new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56b95d=>{if(_0x32a772())return _0x56b95d(_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64]));_0x1012af(),_0x48efaa[_0x2ae9a8([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ae9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x475558=!0x1;const _0x2c5924=_0x5ccbf2();function _0x583a6c(_0x57f9fd){return!!_0x57f9fd&&(typeof _0x57f9fd===_0x2ae9a8([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x57f9fd===_0x2ae9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x57f9fd[_0x2ae9a8([0x74,0x68,0x65,0x6e])]===_0x2ae9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x57f9fd[_0x2ae9a8([0x63,0x61,0x74,0x63,0x68])]===_0x2ae9a8([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f4c34(_0x38e557){_0x599f97(_0x38e557)[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x4d242c=>{if(!_0x4d242c||_0x4d242c[_0x2ae9a8([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ae9a8([0x6f,0x6b]))return _0x2ae9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a2702(_0x51c918(_0x2c5924+_0x4c23f6))!=_0x4d242c[_0x2ae9a8([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ae9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x30489d=>(_0x1c33ae(),_0x30489d),()=>{const _0x395258=_0x45aa89();return null==_0x395258?(_0x1c33ae(),_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64])):_0x2ae9a8(_0x5a944b-_0x395258>(0x63ae0106^_0x36e74e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x56b95d)[_0x2ae9a8([0x63,0x61,0x74,0x63,0x68])](()=>{_0x56b95d(_0x2ae9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5088d5=0x47946b86^_0x36e74e;function _0x1c33ae(){const _0x11a0cb=_0x2ae9a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2702(_0x51c918(_0x35d323)),_0x546e41=_0x4b5eb7(_0x4a2702(window[_0x2ae9a8([0x4d,0x61,0x74,0x68])][_0x2ae9a8([0x63,0x65,0x69,0x6c])](_0x5a944b/_0x5088d5)));window[_0x2ae9a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ae9a8([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x11a0cb,_0x546e41);}function _0x45aa89(){const _0x2b1a1a=_0x2ae9a8([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a2702(_0x51c918(_0x35d323)),_0x3b20ae=window[_0x2ae9a8([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ae9a8([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2b1a1a);return _0x3b20ae?window[_0x2ae9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b5eb7(_0x3b20ae),0x10)*_0x5088d5:null;}function _0x599f97(_0x1a0cde){return new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2b0cdb,_0x1c60c0)=>{_0x1a0cde[_0x2ae9a8([0x74,0x68,0x65,0x6e])](_0x2b0cdb,_0x1c60c0),window[_0x2ae9a8([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1c60c0,0x47a351c6^_0x36e74e);});}}_0x48efaa[_0x2ae9a8([0x6f,0x6e])](_0x2ae9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ea4db,_0x37b90b)=>{if(_0x37b90b[0x0]!=_0x35d323)return _0x56b95d(_0x2ae9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37b90b[0x1]={..._0x37b90b[0x1],[_0x2ae9a8([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2c5924};},{[_0x2ae9a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ae9a8([0x68,0x69,0x67,0x68])}),_0x48efaa[_0x2ae9a8([0x6f,0x6e])](_0x2ae9a8([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x1edac3=>{_0x583a6c(_0x1edac3[_0x2ae9a8([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x475558=!0x0,_0x3f4c34(_0x1edac3[_0x2ae9a8([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ae9a8([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ae9a8([0x6c,0x6f,0x77])}),_0x4a5c54[_0x2ae9a8([0x74,0x68,0x65,0x6e])](()=>{_0x475558||_0x56b95d(_0x2ae9a8([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x32a772(){return _0x48efaa[_0x2ae9a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ae9a8([0x76,0x69,0x65,0x77])][_0x2ae9a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ae9a8([0x61,0x75,0x74,0x6f]);}function _0x1012af(){_0x48efaa[_0x2ae9a8([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ae9a8([0x76,0x69,0x65,0x77])][_0x2ae9a8([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ae9a8([0x61,0x75,0x74,0x6f]);}}function _0x3c1e10(_0x40cff7){const _0x2cff44=[new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x477c40=>setTimeout(_0x477c40,0x47abbbca^_0x36e74e)),_0x4a5c54[_0x2ae9a8([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9ba7ea=>{let _0x45652f=0x0;_0x48efaa[_0x2ae9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ae9a8([0x6f,0x6e])](_0x2ae9a8([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3a03f5,_0x56efd8)=>{_0x56efd8[0x0][_0x2ae9a8([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x45652f++,_0x45652f==(0x47a284fe^_0x36e74e)&&(_0x9ba7ea(),_0x3a03f5[_0x2ae9a8([0x6f,0x66,0x66])]());});}))];return window[_0x2ae9a8([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ae9a8([0x72,0x61,0x63,0x65])](_0x2cff44)[_0x2ae9a8([0x74,0x68,0x65,0x6e])](()=>_0x40cff7);}async function _0x2efcaa(){await _0x4a5c54,_0x48efaa[_0x2ae9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ae9a8([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xb594ae,_0x48efaa[_0x2ae9a8([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ae9a8([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xb594ae,_0x48efaa[_0x2ae9a8([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ae9a8([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2d9c30(_0x58e996){const _0x2bed08=_0x8c1f88();_0x48efaa[_0x2bed08]=_0x2ae9a8([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x58e996,_0x58e996!=_0x2ae9a8([0x56,0x61,0x6c,0x69,0x64])&&_0x2efcaa();}function _0x8c1f88(){const _0x5a65f9=window[_0x2ae9a8([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ae9a8([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ae9a8([0x6e,0x6f,0x77])]())[_0x2ae9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ae9a8([0x2e]),'');let _0x15d88a=_0x2ae9a8([0x75]);for(let _0x35ad41=0x0;_0x35ad41<_0x5a65f9[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35ad41+=0x2){let _0x2bd079=window[_0x2ae9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a65f9[_0x2ae9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x35ad41,_0x35ad41+0x2));_0x2bd079>=_0x238f5d[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2bd079-=_0x238f5d[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x15d88a+=_0x238f5d[_0x2bd079];}return _0x15d88a;}function _0x357ce8(){const _0x30597f=_0x4afe0c[_0x2ae9a8([0x73,0x70,0x6c,0x69,0x74])](_0x2ae9a8([0x2e]));if(0x3!=_0x30597f[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x525c0c(_0x30597f[0x1]);function _0x525c0c(_0x34c0d9){const _0x212ba9=_0x30958b(_0x34c0d9);return _0x212ba9&&_0x47f0d4()?_0x212ba9:null;function _0x47f0d4(){const _0x6760d8=_0x212ba9[_0x2ae9a8([0x6a,0x74,0x69])],_0x2fcb4b=window[_0x2ae9a8([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x6760d8[_0x2ae9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x6760d8[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18df44={..._0x212ba9,[_0x2ae9a8([0x6a,0x74,0x69])]:_0x6760d8[_0x2ae9a8([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x6760d8[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18df44[_0x2ae9a8([0x76,0x63])],_0x51c918(_0x18df44)==_0x2fcb4b;}}}async function _0x194172(){let _0x1ca5d4=!0x0;try{const _0x5d7cdb=_0x4afe0c[_0x2ae9a8([0x73,0x70,0x6c,0x69,0x74])](_0x2ae9a8([0x2e])),[_0x2aa578,_0x2454cf,_0x9a7510]=_0x5d7cdb;return _0x3aa565(_0x2aa578),await _0x18c467(_0x2aa578,_0x2454cf,_0x9a7510),_0x1ca5d4;}catch{return!0x1;}function _0x3aa565(_0x5325d4){const _0xde7ede=_0x30958b(_0x5325d4);_0xde7ede&&_0xde7ede[_0x2ae9a8([0x61,0x6c,0x67])]==_0x2ae9a8([0x45,0x53,0x32,0x35,0x36])||(_0x1ca5d4=!0x1);}async function _0x18c467(_0x229446,_0x80ce1c,_0x21c7a0){const _0x617ff4=window[_0x2ae9a8([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ae9a8([0x66,0x72,0x6f,0x6d])](_0xe53b47(_0x21c7a0),_0x36b531=>_0x36b531[_0x2ae9a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x337d7d=new window[(_0x2ae9a8([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ae9a8([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x229446+_0x2ae9a8([0x2e])+_0x80ce1c),_0x24c6d8=window[_0x2ae9a8([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ae9a8([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x24c6d8)return;const _0xd2b4f7=await _0x24c6d8[_0x2ae9a8([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ae9a8([0x6a,0x77,0x6b]),_0x4fef17,{[_0x2ae9a8([0x6e,0x61,0x6d,0x65])]:_0x2ae9a8([0x45,0x43,0x44,0x53,0x41]),[_0x2ae9a8([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ae9a8([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ae9a8([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x24c6d8[_0x2ae9a8([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ae9a8([0x6e,0x61,0x6d,0x65])]:_0x2ae9a8([0x45,0x43,0x44,0x53,0x41]),[_0x2ae9a8([0x68,0x61,0x73,0x68])]:{[_0x2ae9a8([0x6e,0x61,0x6d,0x65])]:_0x2ae9a8([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xd2b4f7,_0x617ff4,_0x337d7d)||(_0x1ca5d4=!0x1);}}function _0x30958b(_0x4f9d){return _0x4f9d[_0x2ae9a8([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ae9a8([0x65,0x79]))?JSON[_0x2ae9a8([0x70,0x61,0x72,0x73,0x65])](_0xe53b47(_0x4f9d)):null;}function _0xe53b47(_0x35345e){return window[_0x2ae9a8([0x61,0x74,0x6f,0x62])](_0x35345e[_0x2ae9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ae9a8([0x2b]))[_0x2ae9a8([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ae9a8([0x2f])));}function _0x51c918(_0x2b955b){let _0x959380=0x1505;function _0x5f28ad(_0x1340f5){for(let _0x23571c=0x0;_0x23571c<_0x1340f5[_0x2ae9a8([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x23571c++){const _0x4d85c6=_0x1340f5[_0x2ae9a8([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x23571c);_0x959380=(_0x959380<<0x5)+_0x959380+_0x4d85c6,_0x959380&=_0x959380;}}function _0x5b8ffc(_0x731921){Array[_0x2ae9a8([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x731921)?_0x731921[_0x2ae9a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5b8ffc):_0x731921&&typeof _0x731921==_0x2ae9a8([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ae9a8([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x731921)[_0x2ae9a8([0x73,0x6f,0x72,0x74])]()[_0x2ae9a8([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xc13709,_0x3cb6da])=>{_0x5f28ad(_0xc13709),_0x5b8ffc(_0x3cb6da);}):_0x5f28ad(window[_0x2ae9a8([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x731921));}return _0x5b8ffc(_0x2b955b),_0x959380>>>0x0;}function _0x4a2702(_0x28dda1){return _0x28dda1[_0x2ae9a8([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ae9a8([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ae9a8([0x30]));}function _0x4b5eb7(_0x5f1d84){return _0x5f1d84[_0x2ae9a8([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ae9a8([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ae9a8([0x6a,0x6f,0x69,0x6e])]('');}function _0xb594ae(){}function _0x2ae9a8(_0x507d88){return _0x507d88['map'](_0x4d22d8=>String['fromCharCode'](_0x4d22d8))['join']('');}_0x2d9c30(await _0x56053a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2d70a2){const {plugins:_0x363e85,editing:_0xa6ee9b,model:_0x143a18}=this['editor'],_0x28f981=_0x363e85['get'](_0x3f2ef7)['getFootnote'](_0x2d70a2);return!!_0x28f981&&(_0x143a18['change'](_0x191e21=>{_0x191e21['setSelection'](_0x191e21['createPositionAt'](_0x28f981['definition'],'end'));}),_0xa6ee9b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x102ca9){const {plugins:_0x82c135,editing:_0x257ca5,model:_0x545b38}=this['editor'],_0x1a73bf=_0x82c135['get'](_0x3f2ef7)['getFootnote'](_0x102ca9);return!!_0x1a73bf&&(_0x545b38['change'](_0x1a5a67=>{_0x1a5a67['setSelection'](_0x1a73bf['reference'],'on');}),_0x257ca5['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ac0f0}=this['editor']['model'],_0xbc2b5c=this['editor']['config']['get']('footnotes.multiBlock');_0x4ac0f0['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ac0f0['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ac0f0['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xbc2b5c?_0x4ac0f0['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ac0f0['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ac0f0['addChildCheck'](_0x14801d=>{for(const _0x477794 of _0x14801d)if('footnoteDefinition'===_0x477794['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5bb664}=this,{conversion:_0x35dc75,editing:_0x52b262}=_0x5bb664,{t:t}=_0x5bb664['locale'];_0x35dc75['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2ac11d,{writer:_0x452b53,consumable:_0x7a118c})=>{const _0x223d0b=_0x2ac11d['getChild'](0x0);if(!_0x223d0b||!_0x223d0b['is']('element','a'))return null;const _0x5e59be=_0x223d0b['getAttribute']('href')||'';if(!_0x5e59be['startsWith']('#'))return null;const _0x513732=_0x5e59be['replace'](/^#/,'');if(!_0x513732)return null;_0x7a118c['consume'](_0x223d0b,{'name':!0x0,'attributes':['href']});for(const {item:_0x29fcd4}of _0x52b262['view']['createRangeIn'](_0x223d0b))_0x29fcd4['is']('$textProxy')?_0x7a118c['consume'](_0x29fcd4['textNode'],{'name':!0x0}):_0x29fcd4['is']('element')&&_0x7a118c['consume'](_0x29fcd4,{'name':!0x0});return _0x452b53['createElement']('footnoteRef',{'footnoteId':_0x513732});}}),_0x35dc75['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x937ba6,{writer:_0x1e2728})=>D(_0x937ba6,_0x1e2728)}),_0x35dc75['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3f555f,{writer:_0x5848ca})=>{const _0x1aa6a1=_0x3f555f['getAttribute']('footnoteCounter');return _0x9ea284(D(_0x3f555f,_0x5848ca),_0x5848ca,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1aa6a1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1c058e}=this,{t:t}=_0x1c058e['locale'],{conversion:_0x4a6989}=_0x1c058e;_0x4a6989['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4a6989['for']('upcast')['add'](_0x185c6c=>{_0x185c6c['on']('element:ol',(_0x39cc59,_0x489b1b,_0x4aab3c)=>{const _0x2778e8=_0x489b1b['viewItem'];if(!_0x2778e8['hasClass']('footnotes-list')||!_0x489b1b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4aab3c['consumable']['consume'](_0x2778e8,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x26e875,modelCursor:_0x17ee3d}=_0x4aab3c['convertChildren'](_0x489b1b['viewItem'],_0x489b1b['modelCursor']);_0x489b1b['modelRange']=_0x26e875,_0x489b1b['modelCursor']=_0x17ee3d;}),_0x185c6c['on']('element:hr',(_0x2ee5f7,_0x300ac0,_0x373278)=>{const _0x543047=_0x300ac0['viewItem'];_0x543047['hasClass']('footnotes-divider')&&_0x300ac0['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x373278['consumable']['consume'](_0x543047,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4a6989['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x517d41,{writer:_0x3dea31})=>v(_0x3dea31)}),_0x4a6989['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x482d21,{writer:_0x5317ee})=>{const _0x58f21f=v(_0x5317ee,{'data-footnotes-list-label':t('Footnotes')}),_0x18895f=_0x9ea284(_0x58f21f,_0x5317ee,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5317ee['setCustomProperty']('footnotesDefinitions',!0x0,_0x18895f),_0x18895f;}});}['_defineDefinitionConverters'](){const {editor:_0x412422}=this,{conversion:_0x1f2672,locale:_0x19e8a4}=_0x412422,_0x2f36c0=_0x412422['config']['get']('footnotes.multiBlock');_0x1f2672['for']('upcast')['add'](_0x560fee=>{_0x560fee['on']('element:li',(_0x3b9f36,_0x1289ba,_0x19d4ce)=>{const _0x49f64f=_0x1289ba['viewItem'];if(!_0x49f64f['hasClass']('footnote-definition')||!_0x49f64f['getAttribute']('id'))return;const _0x2b34d5=_0x49f64f['parent'];if(!_0x2b34d5['is']('element','ol')||!_0x2b34d5['hasClass']('footnotes-list'))return;if(!_0x19d4ce['consumable']['test'](_0x49f64f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x28286e=_0x19d4ce['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x49f64f['getAttribute']('id')});if(!_0x19d4ce['safeInsert'](_0x28286e,_0x1289ba['modelCursor']))return;_0x19d4ce['consumable']['consume'](_0x49f64f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2f303f=Array['from'](_0x49f64f['getChildren']())['find'](_0x4a4420=>_0x4a4420['is']('element')&&_0x4a4420['hasClass']('footnote-content'));for(const _0x34cb52 of _0x49f64f['getChildren']())_0x34cb52['is']('element')&&(_0x19d4ce['consumable']['consume'](_0x34cb52,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19d4ce['consumable']['consume'](_0x34cb52,{'name':!0x0,'classes':'footnote-content'}));if(_0x2f303f){if(_0x2f36c0)_0x19d4ce['convertChildren'](_0x2f303f,_0x28286e);else{const _0x2b1613=_0x19d4ce['writer']['createElement']('footnoteInlineContent');_0x19d4ce['writer']['insert'](_0x2b1613,_0x28286e),_0x19d4ce['convertChildren'](_0x2f303f,_0x2b1613);}}_0x19d4ce['updateConversionResult'](_0x28286e,_0x1289ba);});}),_0x1f2672['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16e473,{writer:_0x24858d})=>b(_0x16e473,_0x24858d,_0x19e8a4,{'dataPipeline':!0x0})}),_0x1f2672['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x279288,{writer:_0x352f79})=>b(_0x279288,_0x352f79,_0x19e8a4)});}['_defineBogusParagraphConverters'](){const {editor:_0x1734fb}=this,{conversion:_0x186e8a}=_0x1734fb;_0x1734fb['config']['get']('footnotes.multiBlock')?(_0x186e8a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x186e8a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1734fb['model']['document'],'change:data',()=>{!function(_0x2cc911,_0x32b020){const _0x2b9152=_0x2cc911['document']['differ'],_0xee046=new Set();for(const _0x4cf6fb of _0x2b9152['getChanges']()){const _0xd2642a='attribute'==_0x4cf6fb['type']?_0x4cf6fb['range']['start']['parent']:_0x4cf6fb['position']['parent'];_0xd2642a['is']('element','footnoteDefinition')&&_0xee046['add'](_0xd2642a);}for(const _0xdec2ee of _0xee046['values']()){const _0x18fbb9=Array['from'](_0xdec2ee['getChildren']())['filter'](_0x50cc4e=>g(_0x50cc4e,_0x32b020['mapper']));for(const _0x1076a2 of _0x18fbb9)_0x32b020['reconvertItem'](_0x1076a2);}}(_0x1734fb['model'],_0x1734fb['editing']);})):(_0x186e8a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x186e8a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3a0437,{writer:_0x4a15da})=>{const _0x12f232=_0x4a15da['createContainerElement']('span');return _0x4a15da['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x12f232),_0x12f232;}}));}['_defineKeyboardHandlers'](){const {editor:_0x14eca7}=this,{editing:_0x3c1afd,t:t}=_0x14eca7,_0x458fdf=_0x14eca7['model']['document']['selection'];_0x14eca7['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x14eca7['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3c1afd['view']['document'],'enter',(_0xf2520f,_0x1235e4)=>{const _0x1e20fb=function(_0x2f7ccb){const _0x5f1062=_0x2f7ccb['getSelectedElement']();if(_0x5f1062?.['is']('element','footnoteRef'))return _0x5f1062;return null;}(_0x458fdf);if(_0x1e20fb){const _0x5a815f=_0x1e20fb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5a815f),_0x1235e4['preventDefault'](),_0xf2520f['stop']();}},{'context':_0x18c4cb});}['_defineClickHandlers'](){const {editor:_0x3c85cc}=this,{editing:_0x47c570}=_0x3c85cc;_0x3c85cc['editing']['view']['addObserver'](_0x46643b),_0x3c85cc['editing']['view']['addObserver'](_0x4b2338);let _0x13d8b9=!0x1;this['listenTo'](_0x47c570['view']['document'],'pointerdown',(_0x1756b8,_0x499e81)=>{const {target:_0x42a8f6}=_0x499e81,_0x5dde6c=_0x47c570['view']['document']['selection'];_0x13d8b9=!!(_0x42a8f6?.['is']('element','a')&&_0x42a8f6['parent']?.['is']('element','sup')&&_0x42a8f6['parent']['hasClass']('footnote'))&&_0x5dde6c['getSelectedElement']()===_0x42a8f6['parent'];},{'priority':'high'}),this['listenTo'](_0x47c570['view']['document'],'click',(_0x3d0536,_0x487cf3)=>{const {target:_0x5d7804}=_0x487cf3;if(!_0x5d7804?.['is']('element','a'))return;if(_0x5d7804['parent']?.['is']('element','sup')&&_0x5d7804['parent']['hasClass']('footnote')&&!_0x13d8b9)return void _0x487cf3['preventDefault']();let _0x29860d=_0x5d7804['getAttribute']('href');if(!_0x29860d?.['startsWith']('#'))return;_0x29860d=_0x29860d['slice'](0x1);let _0x402021=!0x1;(_0x29860d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x29860d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x29860d))&&(_0x402021=!0x0),_0x402021&&(_0x487cf3['preventDefault'](),_0x3d0536['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xfae027}={}){return(_0x38f7df,{writer:_0x4d357d})=>{if(!p(_0x38f7df))return null;if(!_0xfae027)return _0x4d357d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3d4a3a=_0x4d357d['createContainerElement']('p');return _0x4d357d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3d4a3a),_0x3d4a3a;};}function p(_0x170806){const {parent:_0x424bff}=_0x170806;if(!_0x424bff?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x424bff['childCount'])return!0x1;for(const _0x38acfe of _0x170806['getAttributeKeys']())if(!_0x38acfe['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x38acfe)return!0x1;return!0x0;}function g(_0x566964,_0x30618a){if(!_0x566964['is']('element','paragraph'))return!0x1;const _0x4aa3ef=_0x30618a['toViewElement'](_0x566964);return!!_0x4aa3ef&&p(_0x566964)!==_0x4aa3ef['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2e7e1e){return _0x18c4cb(_0x2e7e1e)&&_0x2e7e1e['is']('containerElement')&&!!_0x2e7e1e['getCustomProperty']('footnotesDefinitions');}function v(_0x5a6b83,_0x39f606={}){const _0x147e8c=_0x5a6b83['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5afa53=_0x5a6b83['createContainerElement']('ol',{'class':'footnotes-list'},_0x5a6b83['createSlot']());return _0x5a6b83['createContainerElement']('div',{'class':'footnotes',..._0x39f606},[_0x147e8c,_0x5afa53]);}function D(_0x12711e,_0x3247bf){const _0x1d5a21=_0x12711e['getAttribute']('footnoteId'),_0x4f37f8=_0x12711e['getAttribute']('footnoteCounter'),_0x362bb3=_0x3247bf['createUIElement']('a',{'href':'#'+_0x1d5a21},function(_0x2f1636){const _0xdd9a4=this['toDomElement'](_0x2f1636);return _0xdd9a4['textContent']=_0x4f37f8,_0xdd9a4;}),_0x550098=_0x3247bf['createContainerElement']('sup',{'id':'ref-'+_0x1d5a21,'class':'footnote'},[_0x362bb3]);return _0x550098['getFillerOffset']=()=>null,_0x550098;}function b(_0x495720,_0x1eb84e,_0x1a0ff9,{dataPipeline:_0x58ef42}={}){const {t:t}=_0x1a0ff9,_0x1ef951=_0x495720['getAttribute']('footnoteId'),_0x1d58ec=_0x1eb84e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1ef951},function(_0x30c28c){const _0x256bd2=this['toDomElement'](_0x30c28c);return _0x256bd2['innerText']='^',_0x256bd2;}),_0x1950e6=_0x58ef42?_0x1eb84e['createContainerElement']('div',{'class':'footnote-content'}):_0x325df6(_0x1eb84e['createEditableElement']('div',{'class':'footnote-content'}),_0x1eb84e,{'label':t('Footnote\x20content.')});return _0x1eb84e['insert'](_0x1eb84e['createPositionAt'](_0x1950e6,0x0),_0x1eb84e['createSlot']()),_0x1eb84e['createContainerElement']('li',{'class':'footnote-definition','id':_0x1ef951},[_0x1d58ec,_0x1950e6]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x301911=_0xa1dd;function _0x549c(){const _0x502547=['891153Ldwslp','936279PcfACa','get','1982376iifoGG','model','value','plugins','962DECkQJ','1950606recPiD','refresh','154716JIUYFx','24MoffrU','getAttribute','5MeyhlS','execute','change','88drVdmF','getFootnotesDefinitionsObjectElement','isInteger','50790OIgFDa','footnotesListStart','isEnabled','2inPetz','_updateFootnotesCounters','198236ugxlRn','setAttribute','6UTynoK'];_0x549c=function(){return _0x502547;};return _0x549c();}(function(_0x124eec,_0x21b4a8){const _0x1a0ea7=_0xa1dd,_0x223f45=_0x124eec();while(!![]){try{const _0x35cc65=-parseInt(_0x1a0ea7(0x6a))/0x1*(-parseInt(_0x1a0ea7(0x68))/0x2)+-parseInt(_0x1a0ea7(0x6e))/0x3+-parseInt(_0x1a0ea7(0x70))/0x4*(parseInt(_0x1a0ea7(0x7a))/0x5)+-parseInt(_0x1a0ea7(0x6c))/0x6*(-parseInt(_0x1a0ea7(0x75))/0x7)+-parseInt(_0x1a0ea7(0x78))/0x8*(parseInt(_0x1a0ea7(0x6d))/0x9)+-parseInt(_0x1a0ea7(0x65))/0xa*(parseInt(_0x1a0ea7(0x7d))/0xb)+parseInt(_0x1a0ea7(0x77))/0xc*(parseInt(_0x1a0ea7(0x74))/0xd);if(_0x35cc65===_0x21b4a8)break;else _0x223f45['push'](_0x223f45['shift']());}catch(_0x4413f0){_0x223f45['push'](_0x223f45['shift']());}}}(_0x549c,0x45ba6));import{Command as _0x327dc9}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2c6af8}from'../../footnotestracker.js';function _0xa1dd(_0x750e63,_0x56a686){const _0x549c8d=_0x549c();return _0xa1dd=function(_0xa1ddba,_0x2b5cb8){_0xa1ddba=_0xa1ddba-0x64;let _0x538c13=_0x549c8d[_0xa1ddba];return _0x538c13;},_0xa1dd(_0x750e63,_0x56a686);}export class FootnotesStartCommand extends _0x327dc9{[_0x301911(0x76)](){const _0x34b1b8=_0x301911,{editor:_0x24e071}=this,_0x5c4ad3=_0x24e071[_0x34b1b8(0x73)][_0x34b1b8(0x6f)](_0x2c6af8)[_0x34b1b8(0x7e)]();this[_0x34b1b8(0x67)]=!!_0x5c4ad3,this[_0x34b1b8(0x72)]=_0x5c4ad3?.[_0x34b1b8(0x79)](_0x34b1b8(0x66))??null;}[_0x301911(0x7b)]({value:_0xbbe0d8}){const _0xc804bb=_0x301911,{editor:_0x123178}=this,_0x224eb1=_0x123178[_0xc804bb(0x73)][_0xc804bb(0x6f)](_0x2c6af8),_0x323938=_0x224eb1[_0xc804bb(0x7e)]();_0x323938&&Number[_0xc804bb(0x64)](_0xbbe0d8)&&_0x123178[_0xc804bb(0x71)][_0xc804bb(0x7c)](_0x2d2c88=>{const _0x358ceb=_0xc804bb;_0x2d2c88[_0x358ceb(0x6b)](_0x358ceb(0x66),_0xbbe0d8,_0x323938),_0x224eb1[_0x358ceb(0x69)](_0x2d2c88);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0xf0133c=_0x31c9;function _0x31c9(_0x202b9e,_0x5b1b44){const _0x570edb=_0x570e();return _0x31c9=function(_0x31c9b6,_0x191209){_0x31c9b6=_0x31c9b6-0xf8;let _0x23498e=_0x570edb[_0x31c9b6];return _0x23498e;},_0x31c9(_0x202b9e,_0x5b1b44);}(function(_0x33af04,_0x581f43){const _0x31c7d0=_0x31c9,_0x242a9c=_0x33af04();while(!![]){try{const _0x4a5162=-parseInt(_0x31c7d0(0x109))/0x1+-parseInt(_0x31c7d0(0xf8))/0x2*(-parseInt(_0x31c7d0(0x104))/0x3)+-parseInt(_0x31c7d0(0xfb))/0x4*(parseInt(_0x31c7d0(0xfe))/0x5)+-parseInt(_0x31c7d0(0xfa))/0x6+-parseInt(_0x31c7d0(0xfd))/0x7*(-parseInt(_0x31c7d0(0xfc))/0x8)+parseInt(_0x31c7d0(0x10f))/0x9+parseInt(_0x31c7d0(0x108))/0xa;if(_0x4a5162===_0x581f43)break;else _0x242a9c['push'](_0x242a9c['shift']());}catch(_0x4ef247){_0x242a9c['push'](_0x242a9c['shift']());}}}(_0x570e,0xdbd4e));import{Command as _0x36ca64}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xc10b3a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5e8fc4}from'../../footnotestracker.js';function _0x570e(){const _0x46ceaa=['7691460TZqnFb','2880468yJpyPk','288832ZgOgiM','35PBAFek','5oocxVp','getFootnotesDefinitionsObjectElement','refresh','footnotesListStyle','model','_updateFootnotesCounters','822627VcPtTo','isEnabled','value','includes','18094390Uoatra','1538627lsgUJy','setAttribute','getAttribute','plugins','change','execute','14656482ZOkKkV','6bCquHP','get'];_0x570e=function(){return _0x46ceaa;};return _0x570e();}export class FootnotesStyleCommand extends _0x36ca64{[_0xf0133c(0x100)](){const _0x570ba3=_0xf0133c,{editor:_0x326eb2}=this,_0x159d02=_0x326eb2[_0x570ba3(0x10c)][_0x570ba3(0xf9)](_0x5e8fc4)[_0x570ba3(0xff)]();this[_0x570ba3(0x105)]=!!_0x159d02,this[_0x570ba3(0x106)]=_0x159d02?.[_0x570ba3(0x10b)](_0x570ba3(0x101))??null;}[_0xf0133c(0x10e)]({value:_0x266e19}){const _0x1d3d28=_0xf0133c,{editor:_0x3b83e0}=this,_0x542435=_0x3b83e0[_0x1d3d28(0x10c)][_0x1d3d28(0xf9)](_0x5e8fc4),_0x3400c1=_0x542435[_0x1d3d28(0xff)]();_0x3400c1&&_0xc10b3a[_0x1d3d28(0x107)](_0x266e19)&&_0x3b83e0[_0x1d3d28(0x102)][_0x1d3d28(0x10d)](_0x2d84c6=>{const _0x760b88=_0x1d3d28;_0x2d84c6[_0x760b88(0x10a)](_0x760b88(0x101),_0x266e19,_0x3400c1),_0x542435[_0x760b88(0x103)](_0x2d84c6);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x4f27c8=_0x24dd;function _0x24dd(_0xd8c82d,_0x1e5769){const _0x17f787=_0x17f7();return _0x24dd=function(_0x24dd2,_0x5b070c){_0x24dd2=_0x24dd2-0xda;let _0x2d1db5=_0x17f787[_0x24dd2];return _0x2d1db5;},_0x24dd(_0xd8c82d,_0x1e5769);}(function(_0x4028a8,_0x16322c){const _0x1cbb0a=_0x24dd,_0x5a7a56=_0x4028a8();while(!![]){try{const _0x124f3d=parseInt(_0x1cbb0a(0xde))/0x1+parseInt(_0x1cbb0a(0xeb))/0x2*(-parseInt(_0x1cbb0a(0xe1))/0x3)+-parseInt(_0x1cbb0a(0xdb))/0x4+parseInt(_0x1cbb0a(0xe9))/0x5*(parseInt(_0x1cbb0a(0xe6))/0x6)+parseInt(_0x1cbb0a(0xea))/0x7*(-parseInt(_0x1cbb0a(0xdf))/0x8)+parseInt(_0x1cbb0a(0xe2))/0x9+parseInt(_0x1cbb0a(0xe0))/0xa;if(_0x124f3d===_0x16322c)break;else _0x5a7a56['push'](_0x5a7a56['shift']());}catch(_0x4f2ded){_0x5a7a56['push'](_0x5a7a56['shift']());}}}(_0x17f7,0x453f0));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4f27c8(0xda),_0x4f27c8(0xe5),_0x4f27c8(0xe3),_0x4f27c8(0xdc),_0x4f27c8(0xe7),_0x4f27c8(0xe4),_0x4f27c8(0xe8),_0x4f27c8(0xdd)];function _0x17f7(){const _0x5e255b=['807324wFPFRP','upper-latin','upper-roman','556546AgDwbN','3888ryBySU','2602100YOTilR','690981FpZKTp','2653884bfpKQN','lower-latin','upper-alpha','decimal-leading-zero','951882VNhVHR','lower-alpha','lower-roman','5vtHZeb','4669OBYvmV','4ojTmef','decimal'];_0x17f7=function(){return _0x5e255b;};return _0x17f7();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x30d648=_0xfcd4;(function(_0x3bcad4,_0x1a097c){const _0x32bc94=_0xfcd4,_0x26fbee=_0x3bcad4();while(!![]){try{const _0x28c956=parseInt(_0x32bc94(0x1f9))/0x1*(-parseInt(_0x32bc94(0x225))/0x2)+-parseInt(_0x32bc94(0x1f4))/0x3+-parseInt(_0x32bc94(0x1ea))/0x4+parseInt(_0x32bc94(0x1cc))/0x5*(parseInt(_0x32bc94(0x20e))/0x6)+-parseInt(_0x32bc94(0x1ca))/0x7*(parseInt(_0x32bc94(0x1dd))/0x8)+-parseInt(_0x32bc94(0x21e))/0x9+parseInt(_0x32bc94(0x200))/0xa*(parseInt(_0x32bc94(0x226))/0xb);if(_0x28c956===_0x1a097c)break;else _0x26fbee['push'](_0x26fbee['shift']());}catch(_0x3fa9dc){_0x26fbee['push'](_0x26fbee['shift']());}}}(_0x5806,0x45ff7));function _0x5806(){const _0x23fbb1=['extend','list-style-type','410863cMfrsk','hasAttribute','mapper','differ','parent','footnotesDefinitions','start','660280VEXQHh','viewItem','setAttribute','isPremiumPlugin','_getDefaultStartIndex','padStart','config','upper-latin','lower-latin','_getDefaultListStyle','model','toUpperCase','position','toViewElement','6gOoGQO','isNaN','_updateFootnotesCounters','setStyle','floor','footnotesStyle','toLowerCase','nodeAfter','registerPostFixer','add','_formatFootnoteListValue','upper-roman','writer','from','find','removeAttribute','1780155EEnTwd','document','for','insert','schema','getStyle','FootnotesPropertiesEditing','2enzwCj','319wGViEd','removeStyle','footnotesListStart','footnotesStart','footnotes-list','hasClass','max','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','createRangeOn','339689wYVQKh','get','479075UQxpjH','element','footnotes.footnotesProperties.defaultListStyle','type','downcast','define','getAttribute','name','decimal','consume','attribute:footnotesListStyle:footnotesDefinitions','decimal-leading-zero','plugins','element:ol','attribute:footnotesListStart:footnotesDefinitions','init','_defineSchema','8MvPTXb','$text','modelCursor','getChanges','getChildren','parseInt','getItems','lower-alpha','requires','consumable','lower-roman','commands','editor','2219952YCMZlN','checkAttribute','fromCharCode','_definePostfixer','upcast','_defineFormatter','_defineConverters','upper-alpha','pluginName','isOfficialPlugin','1535229pXDgvy','setFootnoteFormatter','item'];_0x5806=function(){return _0x23fbb1;};return _0x5806();}function _0xfcd4(_0x2b61c2,_0x550fd6){const _0x5806f8=_0x5806();return _0xfcd4=function(_0xfcd480,_0x9ce69b){_0xfcd480=_0xfcd480-0x1c3;let _0x4fd35e=_0x5806f8[_0xfcd480];return _0x4fd35e;},_0xfcd4(_0x2b61c2,_0x550fd6);}import{Plugin as _0x495bf6}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x25e742}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3b39e1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x40f23d}from'../footnotestracker.js';import{FootnotesEditing as _0x449c53}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x495bf6{static get[_0x30d648(0x1f2)](){const _0x1194ca=_0x30d648;return _0x1194ca(0x224);}static get[_0x30d648(0x1e5)](){return[_0x449c53,_0x40f23d];}static get[_0x30d648(0x1f3)](){return!0x0;}static get[_0x30d648(0x203)](){return!0x0;}[_0x30d648(0x1db)](){const _0x2a6dec=_0x30d648,{editor:_0x253560}=this;_0x253560[_0x2a6dec(0x206)][_0x2a6dec(0x1d1)](_0x2a6dec(0x1ce),_0x2a6dec(0x1d4)),_0x253560[_0x2a6dec(0x206)][_0x2a6dec(0x1d1)](_0x2a6dec(0x1c7),0x1),_0x253560[_0x2a6dec(0x1e8)][_0x2a6dec(0x217)](_0x2a6dec(0x213),new _0x25e742(_0x253560)),_0x253560[_0x2a6dec(0x1e8)][_0x2a6dec(0x217)](_0x2a6dec(0x1c3),new _0x3b39e1(_0x253560)),this[_0x2a6dec(0x1dc)](),this[_0x2a6dec(0x1f0)](),this[_0x2a6dec(0x1ef)](),this[_0x2a6dec(0x1ed)]();}[_0x30d648(0x1dc)](){const _0x4ce49e=_0x30d648,{editor:_0x29f017}=this,{schema:_0x10d5ad}=_0x29f017[_0x4ce49e(0x20a)];_0x10d5ad[_0x4ce49e(0x1f7)](_0x4ce49e(0x1fe),{'allowAttributes':[_0x4ce49e(0x1c8),_0x4ce49e(0x228)]});}[_0x30d648(0x1f0)](){const _0x3a6109=_0x30d648,{editor:_0x245920}=this,{conversion:_0x584275,model:_0x4b2a37}=_0x245920,{schema:_0x55363b}=_0x4b2a37;_0x584275[_0x3a6109(0x220)](_0x3a6109(0x1ee))[_0x3a6109(0x217)](_0x419ff5=>{const _0xadbb59=_0x3a6109;_0x419ff5['on'](_0xadbb59(0x1d9),(_0x3a6047,_0x57fbeb,_0x36df35)=>{const _0x4a5cb8=_0xadbb59,_0x57cf48=_0x57fbeb[_0x4a5cb8(0x201)],_0x3a0c00=_0x57fbeb[_0x4a5cb8(0x1df)]?.[_0x4a5cb8(0x1fd)];_0x57cf48[_0x4a5cb8(0x1c5)](_0x4a5cb8(0x1c4))&&_0x3a0c00?.['is'](_0x4a5cb8(0x1cd),_0x4a5cb8(0x1fe))&&(function(_0x56eb6c,_0x2fd7fb,_0x1709a4,_0x7fc8e0){const _0x1431ec=_0x4a5cb8;if(!_0x7fc8e0[_0x1431ec(0x1eb)](_0x2fd7fb,_0x1431ec(0x228)))return;let _0x41c5f7=0x1;const _0x4eaaaa=_0x1709a4[_0x1431ec(0x1e6)][_0x1431ec(0x1d5)](_0x56eb6c,{'attributes':_0x1431ec(0x1ff)});if(_0x4eaaaa){const _0x254ee6=Number[_0x1431ec(0x1e2)](_0x56eb6c[_0x1431ec(0x1d2)](_0x1431ec(0x1ff)),0xa);Number[_0x1431ec(0x20f)](_0x254ee6)||(_0x41c5f7=_0x254ee6);}!_0x4eaaaa&&_0x2fd7fb[_0x1431ec(0x1fa)](_0x1431ec(0x228))||_0x1709a4[_0x1431ec(0x21a)][_0x1431ec(0x202)](_0x1431ec(0x228),_0x41c5f7,_0x2fd7fb);}(_0x57cf48,_0x3a0c00,_0x36df35,_0x55363b),function(_0x43f0b5,_0x8a958c,_0x29c47e,_0x55f29b){const _0x3b31a6=_0x4a5cb8;if(!_0x55f29b[_0x3b31a6(0x1eb)](_0x8a958c,_0x3b31a6(0x1c8)))return;let _0x404c26=_0x3b31a6(0x1d4),_0x46d026=!0x1;if(_0x29c47e[_0x3b31a6(0x1e6)][_0x3b31a6(0x1d5)](_0x43f0b5,{'attributes':_0x3b31a6(0x1cf)})){const _0x3c8e0d={0x1:_0x3b31a6(0x1d4),'a':_0x3b31a6(0x1e4),'A':_0x3b31a6(0x1f1),'i':_0x3b31a6(0x1e7),'I':_0x3b31a6(0x219)}[_0x43f0b5[_0x3b31a6(0x1d2)](_0x3b31a6(0x1cf))];_0x3c8e0d&&(_0x404c26=_0x3c8e0d),_0x46d026=!0x0;}_0x29c47e[_0x3b31a6(0x1e6)][_0x3b31a6(0x1d5)](_0x43f0b5,{'styles':_0x3b31a6(0x1f8)})&&(_0x404c26=_0x43f0b5[_0x3b31a6(0x223)](_0x3b31a6(0x1f8)),_0x46d026=!0x0),!_0x46d026&&_0x8a958c[_0x3b31a6(0x1fa)](_0x3b31a6(0x1c8))||_0x29c47e[_0x3b31a6(0x21a)][_0x3b31a6(0x202)](_0x3b31a6(0x1c8),_0x404c26,_0x8a958c);}(_0x57cf48,_0x3a0c00,_0x36df35,_0x55363b));});}),_0x584275[_0x3a6109(0x220)](_0x3a6109(0x1d0))[_0x3a6109(0x217)](_0x4f53a4=>{const _0x4670f9=_0x3a6109;_0x4f53a4['on'](_0x4670f9(0x1da),(_0x4dddf3,_0x96b4fe,_0x4196c7)=>{const _0x3fb7dc=_0x4670f9;if(!_0x4196c7[_0x3fb7dc(0x1e6)][_0x3fb7dc(0x1d5)](_0x96b4fe[_0x3fb7dc(0x1f6)],_0x4dddf3[_0x3fb7dc(0x1d3)]))return;const _0x1f3900=M(_0x96b4fe[_0x3fb7dc(0x1f6)],_0x4196c7[_0x3fb7dc(0x1fb)]),{attributeNewValue:_0x3f022e}=_0x96b4fe;null==_0x3f022e||0x1===_0x3f022e?_0x4196c7[_0x3fb7dc(0x21a)][_0x3fb7dc(0x21d)](_0x3fb7dc(0x1ff),_0x1f3900):_0x4196c7[_0x3fb7dc(0x21a)][_0x3fb7dc(0x202)](_0x3fb7dc(0x1ff),String(_0x3f022e),_0x1f3900);}),_0x4f53a4['on'](_0x4670f9(0x1d6),(_0x101b96,_0x269bc8,_0x3b9b0)=>{const _0x2c70fe=_0x4670f9;if(!_0x3b9b0[_0x2c70fe(0x1e6)][_0x2c70fe(0x1d5)](_0x269bc8[_0x2c70fe(0x1f6)],_0x101b96[_0x2c70fe(0x1d3)]))return;const _0x3113eb=M(_0x269bc8[_0x2c70fe(0x1f6)],_0x3b9b0[_0x2c70fe(0x1fb)]),{attributeNewValue:_0x95cd69}=_0x269bc8;_0x95cd69&&_0x2c70fe(0x1d4)!==_0x95cd69?_0x3b9b0[_0x2c70fe(0x21a)][_0x2c70fe(0x211)](_0x2c70fe(0x1f8),_0x95cd69,_0x3113eb):_0x3b9b0[_0x2c70fe(0x21a)][_0x2c70fe(0x227)](_0x2c70fe(0x1f8),_0x3113eb);});});}[_0x30d648(0x1ed)](){const _0x52c08c=_0x30d648,{editor:_0x442e9d}=this,{model:_0x43edf0}=_0x442e9d,_0x2874f4=_0x442e9d[_0x52c08c(0x1d8)][_0x52c08c(0x1cb)](_0x40f23d),_0x235878=this[_0x52c08c(0x209)](),_0x2a3ea3=this[_0x52c08c(0x204)]();_0x43edf0[_0x52c08c(0x21f)][_0x52c08c(0x216)](_0x578f2f=>{const _0x7a60be=_0x52c08c,_0x548dd0=_0x43edf0[_0x7a60be(0x21f)][_0x7a60be(0x1fc)][_0x7a60be(0x1e0)]();let _0x1e98b6=!0x1;for(const _0x121f1a of _0x548dd0){if(_0x7a60be(0x221)!==_0x121f1a[_0x7a60be(0x1cf)]||_0x7a60be(0x1de)===_0x121f1a[_0x7a60be(0x1d3)])continue;const _0x16bd93=_0x43edf0[_0x7a60be(0x1c9)](_0x121f1a[_0x7a60be(0x20c)][_0x7a60be(0x215)]);for(const _0x59fd50 of _0x16bd93[_0x7a60be(0x1e3)]())_0x59fd50['is'](_0x7a60be(0x1cd),_0x7a60be(0x1fe))&&(!_0x59fd50[_0x7a60be(0x1fa)](_0x7a60be(0x228))&&_0x43edf0[_0x7a60be(0x222)][_0x7a60be(0x1eb)](_0x59fd50,_0x7a60be(0x228))&&(_0x578f2f[_0x7a60be(0x202)](_0x7a60be(0x228),_0x2a3ea3,_0x59fd50),_0x1e98b6=!0x0),!_0x59fd50[_0x7a60be(0x1fa)](_0x7a60be(0x1c8))&&_0x43edf0[_0x7a60be(0x222)][_0x7a60be(0x1eb)](_0x59fd50,_0x7a60be(0x1c8))&&(_0x578f2f[_0x7a60be(0x202)](_0x7a60be(0x1c8),_0x235878,_0x59fd50),_0x1e98b6=!0x0));}return _0x1e98b6&&_0x2874f4[_0x7a60be(0x210)](_0x578f2f),_0x1e98b6;});}[_0x30d648(0x1ef)](){const _0x3e71e9=_0x30d648,{editor:_0x5f400b}=this;_0x5f400b[_0x3e71e9(0x1d8)][_0x3e71e9(0x1cb)](_0x40f23d)[_0x3e71e9(0x1f5)](_0x21d91d=>this[_0x3e71e9(0x218)](_0x21d91d));}[_0x30d648(0x209)](){const _0x56bb3c=_0x30d648;return this[_0x56bb3c(0x1e9)][_0x56bb3c(0x206)][_0x56bb3c(0x1cb)](_0x56bb3c(0x1ce));}[_0x30d648(0x204)](){const _0x5bcc33=_0x30d648;return this[_0x5bcc33(0x1e9)][_0x5bcc33(0x206)][_0x5bcc33(0x1cb)](_0x5bcc33(0x1c7));}[_0x30d648(0x218)]({container:_0x22760f,value:_0x1679d6,digits:_0x3ddab3}){const _0x4c10f4=_0x30d648,_0x5811fb=_0x22760f[_0x4c10f4(0x1d2)](_0x4c10f4(0x1c8)),_0x17f5d1=_0x22760f[_0x4c10f4(0x1d2)](_0x4c10f4(0x228)),_0x5b8edc=Math[_0x4c10f4(0x212)](_0x1679d6)+(_0x17f5d1??0x1)-0x1;switch(_0x5811fb){case _0x4c10f4(0x1d7):return function(_0x43a296,_0x5e4e1d){const _0x43e0e8=_0x4c10f4;return String(_0x43a296)[_0x43e0e8(0x205)](_0x5e4e1d,'0');}(_0x5b8edc,Math[_0x4c10f4(0x1c6)](0x2,_0x3ddab3));case _0x4c10f4(0x1e4):case _0x4c10f4(0x208):return N(_0x5b8edc,!0x1);case _0x4c10f4(0x1f1):case _0x4c10f4(0x207):return N(_0x5b8edc,!0x0);case _0x4c10f4(0x1e7):return X(_0x5b8edc,!0x1);case _0x4c10f4(0x219):return X(_0x5b8edc,!0x0);default:return String(_0x5b8edc);}}}function M(_0x56675b,_0x4bfe92){const _0x507f41=_0x30d648,_0x2e8ba9=_0x4bfe92[_0x507f41(0x20d)](_0x56675b);return Array[_0x507f41(0x21b)](_0x2e8ba9[_0x507f41(0x1e1)]())[_0x507f41(0x21c)](_0x5eb21f=>_0x5eb21f['is'](_0x507f41(0x1cd),'ol')&&_0x5eb21f[_0x507f41(0x1c5)](_0x507f41(0x1c4)));}function N(_0x217317,_0x436ff3){const _0x344d5d=_0x30d648;let _0x1ad536='',_0x4925c7=_0x217317;for(;_0x4925c7>0x0;){const _0x3947c7=(_0x4925c7-0x1)%0x1a;_0x1ad536=String[_0x344d5d(0x1ec)](0x61+_0x3947c7)+_0x1ad536,_0x4925c7=Math[_0x344d5d(0x212)]((_0x4925c7-0x1)/0x1a);}return _0x436ff3?_0x1ad536[_0x344d5d(0x20b)]():_0x1ad536;}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(_0x579719,_0xe7af2e){const _0xe8f2c1=_0x30d648;let _0x2f9a3f='',_0x508cd5=_0x579719;for(const {value:_0x26c7d9,numeral:_0x2b926b}of V)for(;_0x508cd5>=_0x26c7d9;)_0x2f9a3f+=_0x2b926b,_0x508cd5-=_0x26c7d9;return _0xe7af2e?_0x2f9a3f:_0x2f9a3f[_0xe8f2c1(0x214)]();}
|
|
23
|
+
const _0x1f711d=_0x20d2;(function(_0x49e691,_0x4bba4b){const _0x419532=_0x20d2,_0x59776c=_0x49e691();while(!![]){try{const _0x4fc860=parseInt(_0x419532(0x1ea))/0x1+parseInt(_0x419532(0x206))/0x2*(-parseInt(_0x419532(0x208))/0x3)+-parseInt(_0x419532(0x1c9))/0x4*(-parseInt(_0x419532(0x1a9))/0x5)+parseInt(_0x419532(0x1dc))/0x6*(-parseInt(_0x419532(0x1d7))/0x7)+parseInt(_0x419532(0x1ae))/0x8*(parseInt(_0x419532(0x1d0))/0x9)+-parseInt(_0x419532(0x1d3))/0xa+-parseInt(_0x419532(0x1c8))/0xb;if(_0x4fc860===_0x4bba4b)break;else _0x59776c['push'](_0x59776c['shift']());}catch(_0x489605){_0x59776c['push'](_0x59776c['shift']());}}}(_0x5ecb,0x3fd9c));import{Plugin as _0x2ace5a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xb62a87}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x267d42}from'./commands/footnotesstartcommand.js';function _0x5ecb(){const _0x216e6a=['commands','differ','start','setAttribute','3054RZopKe','getChanges','_getDefaultStartIndex','writer','_updateFootnotesCounters','getAttribute','viewItem','lower-latin','fromCharCode','element','attribute:footnotesListStart:footnotesDefinitions','type','registerPostFixer','element:ol','218073arCBKs','add','requires','attribute:footnotesListStyle:footnotesDefinitions','parent','consumable','floor','FootnotesPropertiesEditing','document','toUpperCase','footnotes-list','list-style-type','decimal','find','extend','decimal-leading-zero','insert','hasAttribute','_definePostfixer','init','item','lower-alpha','config','_defineConverters','pluginName','createRangeOn','nodeAfter','footnotesDefinitions','2NpXaHh','_defineFormatter','500883sBznSn','setStyle','for','toLowerCase','name','get','setFootnoteFormatter','969130jkHsPF','plugins','footnotesStart','parseInt','footnotes.footnotesProperties.defaultStartIndex','633208hsChoa','isPremiumPlugin','removeAttribute','getStyle','toViewElement','hasClass','getItems','mapper','checkAttribute','footnotes.footnotesProperties.defaultListStyle','upper-roman','downcast','position','footnotesListStart','_getDefaultListStyle','$text','footnotesListStyle','consume','modelCursor','editor','from','upcast','max','padStart','getChildren','removeStyle','1911877LnjLPX','8NqwZhc','upper-alpha','footnotesStyle','define','isNaN','lower-roman','schema','36sqmDhu','isOfficialPlugin','_defineSchema','390610FfJjSb','_formatFootnoteListValue','upper-latin','model','3864JXhPty'];_0x5ecb=function(){return _0x216e6a;};return _0x5ecb();}import{FootnotesTracker as _0x309f9b}from'../footnotestracker.js';import{FootnotesEditing as _0x360ee3}from'../footnotesediting.js';function _0x20d2(_0x17330d,_0x41b152){const _0x5ecbc1=_0x5ecb();return _0x20d2=function(_0x20d20b,_0xc21f0d){_0x20d20b=_0x20d20b-0x1a8;let _0x218b5b=_0x5ecbc1[_0x20d20b];return _0x218b5b;},_0x20d2(_0x17330d,_0x41b152);}export class FootnotesPropertiesEditing extends _0x2ace5a{static get[_0x1f711d(0x202)](){const _0x40d6f8=_0x1f711d;return _0x40d6f8(0x1f1);}static get[_0x1f711d(0x1ec)](){return[_0x360ee3,_0x309f9b];}static get[_0x1f711d(0x1d1)](){return!0x0;}static get[_0x1f711d(0x1af)](){return!0x0;}[_0x1f711d(0x1fd)](){const _0x1bea28=_0x1f711d,{editor:_0xaa982}=this;_0xaa982[_0x1bea28(0x200)][_0x1bea28(0x1cc)](_0x1bea28(0x1b7),_0x1bea28(0x1f6)),_0xaa982[_0x1bea28(0x200)][_0x1bea28(0x1cc)](_0x1bea28(0x1ad),0x1),_0xaa982[_0x1bea28(0x1d8)][_0x1bea28(0x1eb)](_0x1bea28(0x1cb),new _0xb62a87(_0xaa982)),_0xaa982[_0x1bea28(0x1d8)][_0x1bea28(0x1eb)](_0x1bea28(0x1ab),new _0x267d42(_0xaa982)),this[_0x1bea28(0x1d2)](),this[_0x1bea28(0x201)](),this[_0x1bea28(0x207)](),this[_0x1bea28(0x1fc)]();}[_0x1f711d(0x1d2)](){const _0x5df764=_0x1f711d,{editor:_0x3e94b6}=this,{schema:_0x538790}=_0x3e94b6[_0x5df764(0x1d6)];_0x538790[_0x5df764(0x1f8)](_0x5df764(0x205),{'allowAttributes':[_0x5df764(0x1be),_0x5df764(0x1bb)]});}[_0x1f711d(0x201)](){const _0x50df8e=_0x1f711d,{editor:_0x24965b}=this,{conversion:_0x1eac4a,model:_0x5ce75b}=_0x24965b,{schema:_0x201a1e}=_0x5ce75b;_0x1eac4a[_0x50df8e(0x20a)](_0x50df8e(0x1c3))[_0x50df8e(0x1eb)](_0x533212=>{const _0x4c84f5=_0x50df8e;_0x533212['on'](_0x4c84f5(0x1e9),(_0x192d95,_0x43872c,_0x56a8a2)=>{const _0x14ccca=_0x4c84f5,_0x362be8=_0x43872c[_0x14ccca(0x1e2)],_0x44e2be=_0x43872c[_0x14ccca(0x1c0)]?.[_0x14ccca(0x1ee)];_0x362be8[_0x14ccca(0x1b3)](_0x14ccca(0x1f4))&&_0x44e2be?.['is'](_0x14ccca(0x1e5),_0x14ccca(0x205))&&(function(_0x40ed79,_0x259568,_0x28cf0d,_0x4dc9b4){const _0x468c3d=_0x14ccca;if(!_0x4dc9b4[_0x468c3d(0x1b6)](_0x259568,_0x468c3d(0x1bb)))return;let _0x4be0c2=0x1;const _0x3b95e2=_0x28cf0d[_0x468c3d(0x1ef)][_0x468c3d(0x1bf)](_0x40ed79,{'attributes':_0x468c3d(0x1da)});if(_0x3b95e2){const _0x35ea39=Number[_0x468c3d(0x1ac)](_0x40ed79[_0x468c3d(0x1e1)](_0x468c3d(0x1da)),0xa);Number[_0x468c3d(0x1cd)](_0x35ea39)||(_0x4be0c2=_0x35ea39);}!_0x3b95e2&&_0x259568[_0x468c3d(0x1fb)](_0x468c3d(0x1bb))||_0x28cf0d[_0x468c3d(0x1df)][_0x468c3d(0x1db)](_0x468c3d(0x1bb),_0x4be0c2,_0x259568);}(_0x362be8,_0x44e2be,_0x56a8a2,_0x201a1e),function(_0x85ea86,_0x5d8c36,_0x4dac1a,_0x51645b){const _0x5ba747=_0x14ccca;if(!_0x51645b[_0x5ba747(0x1b6)](_0x5d8c36,_0x5ba747(0x1be)))return;let _0x1c4812=_0x5ba747(0x1f6),_0x5d12d0=!0x1;if(_0x4dac1a[_0x5ba747(0x1ef)][_0x5ba747(0x1bf)](_0x85ea86,{'attributes':_0x5ba747(0x1e7)})){const _0xbcd3d4={0x1:_0x5ba747(0x1f6),'a':_0x5ba747(0x1ff),'A':_0x5ba747(0x1ca),'i':_0x5ba747(0x1ce),'I':_0x5ba747(0x1b8)}[_0x85ea86[_0x5ba747(0x1e1)](_0x5ba747(0x1e7))];_0xbcd3d4&&(_0x1c4812=_0xbcd3d4),_0x5d12d0=!0x0;}_0x4dac1a[_0x5ba747(0x1ef)][_0x5ba747(0x1bf)](_0x85ea86,{'styles':_0x5ba747(0x1f5)})&&(_0x1c4812=_0x85ea86[_0x5ba747(0x1b1)](_0x5ba747(0x1f5)),_0x5d12d0=!0x0),!_0x5d12d0&&_0x5d8c36[_0x5ba747(0x1fb)](_0x5ba747(0x1be))||_0x4dac1a[_0x5ba747(0x1df)][_0x5ba747(0x1db)](_0x5ba747(0x1be),_0x1c4812,_0x5d8c36);}(_0x362be8,_0x44e2be,_0x56a8a2,_0x201a1e));});}),_0x1eac4a[_0x50df8e(0x20a)](_0x50df8e(0x1b9))[_0x50df8e(0x1eb)](_0x2186d1=>{const _0x18d92f=_0x50df8e;_0x2186d1['on'](_0x18d92f(0x1e6),(_0x2e7f7d,_0x224ddb,_0x47f651)=>{const _0x5bdc80=_0x18d92f;if(!_0x47f651[_0x5bdc80(0x1ef)][_0x5bdc80(0x1bf)](_0x224ddb[_0x5bdc80(0x1fe)],_0x2e7f7d[_0x5bdc80(0x20c)]))return;const _0x3acb12=M(_0x224ddb[_0x5bdc80(0x1fe)],_0x47f651[_0x5bdc80(0x1b5)]),{attributeNewValue:_0x900081}=_0x224ddb;null==_0x900081||0x1===_0x900081?_0x47f651[_0x5bdc80(0x1df)][_0x5bdc80(0x1b0)](_0x5bdc80(0x1da),_0x3acb12):_0x47f651[_0x5bdc80(0x1df)][_0x5bdc80(0x1db)](_0x5bdc80(0x1da),String(_0x900081),_0x3acb12);}),_0x2186d1['on'](_0x18d92f(0x1ed),(_0x56b986,_0x37586b,_0x5412a3)=>{const _0x154cea=_0x18d92f;if(!_0x5412a3[_0x154cea(0x1ef)][_0x154cea(0x1bf)](_0x37586b[_0x154cea(0x1fe)],_0x56b986[_0x154cea(0x20c)]))return;const _0x478cf6=M(_0x37586b[_0x154cea(0x1fe)],_0x5412a3[_0x154cea(0x1b5)]),{attributeNewValue:_0x27e209}=_0x37586b;_0x27e209&&_0x154cea(0x1f6)!==_0x27e209?_0x5412a3[_0x154cea(0x1df)][_0x154cea(0x209)](_0x154cea(0x1f5),_0x27e209,_0x478cf6):_0x5412a3[_0x154cea(0x1df)][_0x154cea(0x1c7)](_0x154cea(0x1f5),_0x478cf6);});});}[_0x1f711d(0x1fc)](){const _0x442622=_0x1f711d,{editor:_0x2a9055}=this,{model:_0x4c4b4f}=_0x2a9055,_0x1adfc8=_0x2a9055[_0x442622(0x1aa)][_0x442622(0x20d)](_0x309f9b),_0x184e7f=this[_0x442622(0x1bc)](),_0x4331fd=this[_0x442622(0x1de)]();_0x4c4b4f[_0x442622(0x1f2)][_0x442622(0x1e8)](_0x5ae545=>{const _0x4339a6=_0x442622,_0x3ce80f=_0x4c4b4f[_0x4339a6(0x1f2)][_0x4339a6(0x1d9)][_0x4339a6(0x1dd)]();let _0x28cc27=!0x1;for(const _0x23a1cb of _0x3ce80f){if(_0x4339a6(0x1fa)!==_0x23a1cb[_0x4339a6(0x1e7)]||_0x4339a6(0x1bd)===_0x23a1cb[_0x4339a6(0x20c)])continue;const _0x231315=_0x4c4b4f[_0x4339a6(0x203)](_0x23a1cb[_0x4339a6(0x1ba)][_0x4339a6(0x204)]);for(const _0x436bc1 of _0x231315[_0x4339a6(0x1b4)]())_0x436bc1['is'](_0x4339a6(0x1e5),_0x4339a6(0x205))&&(!_0x436bc1[_0x4339a6(0x1fb)](_0x4339a6(0x1bb))&&_0x4c4b4f[_0x4339a6(0x1cf)][_0x4339a6(0x1b6)](_0x436bc1,_0x4339a6(0x1bb))&&(_0x5ae545[_0x4339a6(0x1db)](_0x4339a6(0x1bb),_0x4331fd,_0x436bc1),_0x28cc27=!0x0),!_0x436bc1[_0x4339a6(0x1fb)](_0x4339a6(0x1be))&&_0x4c4b4f[_0x4339a6(0x1cf)][_0x4339a6(0x1b6)](_0x436bc1,_0x4339a6(0x1be))&&(_0x5ae545[_0x4339a6(0x1db)](_0x4339a6(0x1be),_0x184e7f,_0x436bc1),_0x28cc27=!0x0));}return _0x28cc27&&_0x1adfc8[_0x4339a6(0x1e0)](_0x5ae545),_0x28cc27;});}[_0x1f711d(0x207)](){const _0x1bced7=_0x1f711d,{editor:_0x465eee}=this;_0x465eee[_0x1bced7(0x1aa)][_0x1bced7(0x20d)](_0x309f9b)[_0x1bced7(0x1a8)](_0x3af445=>this[_0x1bced7(0x1d4)](_0x3af445));}[_0x1f711d(0x1bc)](){const _0x375b45=_0x1f711d;return this[_0x375b45(0x1c1)][_0x375b45(0x200)][_0x375b45(0x20d)](_0x375b45(0x1b7));}[_0x1f711d(0x1de)](){const _0xe9522=_0x1f711d;return this[_0xe9522(0x1c1)][_0xe9522(0x200)][_0xe9522(0x20d)](_0xe9522(0x1ad));}[_0x1f711d(0x1d4)]({container:_0x2c2ca9,value:_0x2f2e87,digits:_0x4f4396}){const _0x3db1a1=_0x1f711d,_0x48e037=_0x2c2ca9[_0x3db1a1(0x1e1)](_0x3db1a1(0x1be)),_0x480f13=_0x2c2ca9[_0x3db1a1(0x1e1)](_0x3db1a1(0x1bb)),_0x144366=Math[_0x3db1a1(0x1f0)](_0x2f2e87)+(_0x480f13??0x1)-0x1;switch(_0x48e037){case _0x3db1a1(0x1f9):return function(_0x24c8d7,_0x4bd4d5){const _0x4c995d=_0x3db1a1;return String(_0x24c8d7)[_0x4c995d(0x1c5)](_0x4bd4d5,'0');}(_0x144366,Math[_0x3db1a1(0x1c4)](0x2,_0x4f4396));case _0x3db1a1(0x1ff):case _0x3db1a1(0x1e3):return N(_0x144366,!0x1);case _0x3db1a1(0x1ca):case _0x3db1a1(0x1d5):return N(_0x144366,!0x0);case _0x3db1a1(0x1ce):return X(_0x144366,!0x1);case _0x3db1a1(0x1b8):return X(_0x144366,!0x0);default:return String(_0x144366);}}}function M(_0x3de968,_0xb4bd77){const _0x55ac02=_0x1f711d,_0x4b6148=_0xb4bd77[_0x55ac02(0x1b2)](_0x3de968);return Array[_0x55ac02(0x1c2)](_0x4b6148[_0x55ac02(0x1c6)]())[_0x55ac02(0x1f7)](_0x4e98f8=>_0x4e98f8['is'](_0x55ac02(0x1e5),'ol')&&_0x4e98f8[_0x55ac02(0x1b3)](_0x55ac02(0x1f4)));}function N(_0x17c72d,_0x41d898){const _0x452ee1=_0x1f711d;let _0x309889='',_0x46f60a=_0x17c72d;for(;_0x46f60a>0x0;){const _0x347339=(_0x46f60a-0x1)%0x1a;_0x309889=String[_0x452ee1(0x1e4)](0x61+_0x347339)+_0x309889,_0x46f60a=Math[_0x452ee1(0x1f0)]((_0x46f60a-0x1)/0x1a);}return _0x41d898?_0x309889[_0x452ee1(0x1f3)]():_0x309889;}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(_0x2be3ce,_0x303525){const _0x1a6cc2=_0x1f711d;let _0x49a2a5='',_0x55e353=_0x2be3ce;for(const {value:_0x1c5f0b,numeral:_0x361038}of V)for(;_0x55e353>=_0x1c5f0b;)_0x49a2a5+=_0x361038,_0x55e353-=_0x1c5f0b;return _0x303525?_0x49a2a5:_0x49a2a5[_0x1a6cc2(0x20b)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x3e77c,ButtonView as _0x205f7f,ContextualBalloon as _0x78b258,createDropdown as _0x496df5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x396f29}from'ckeditor5/src/widget.js';import{Plugin as _0xdc154}from'ckeditor5/src/core.js';import{IconFootnote as _0x171188,IconListStyleDecimal as _0x2bfb06,IconListStyleDecimalLeadingZero as _0x4e8749,IconListStyleLowerLatin as _0x167722,IconListStyleLowerRoman as _0x1f9aea,IconListStyleUpperLatin as _0x9f47c4,IconListStyleUpperRoman as _0x4617a6}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3b98bf}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5cf1e5}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xdc154{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x78b258,_0x396f29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52d66e}=this,{componentFactory:_0x52c06b}=_0x52d66e['ui'];_0x52d66e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x52c06b['add']('footnotesStyle',function(_0x1e1df0){return _0x55e6d3=>{const {t:t}=_0x55e6d3,_0x4a10e=_0x1e1df0['commands']['get']('footnotesStyle'),_0x47f970=_0x496df5(_0x55e6d3),{buttonView:_0x3d0e14}=_0x47f970;return _0x47f970['class']='ck-footnotes-styles-dropdown',_0x47f970['bind']('isEnabled')['to'](_0x4a10e,'isEnabled'),_0x3d0e14['set']({'label':t('Footnotes\x20style'),'icon':_0x171188,'tooltip':!0x0}),_0x47f970['once']('change:isOpen',()=>{const _0x49fb81=function({editor:_0x5ed11f,dropdownView:_0x3f22e}){const {t:t}=_0x5ed11f['locale'],_0x3b6830=t('Footnotes\x20definitions\x20styles'),_0x137a00=function(_0x339450){const t=_0x339450['locale']['t'],_0x48590f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2bfb06},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4e8749},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1f9aea},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4617a6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x167722},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x9f47c4}];return _0x48590f['map'](function(_0x2486fc){const _0x81ba54=_0x2486fc['locale'];return({label:_0x3b661b,icon:_0x515a9a,tooltip:_0xbb23f0,style:_0x589722})=>{const _0x3852b7=_0x2486fc['commands']['get']('footnotesStyle'),_0x370c3f=new _0x205f7f(_0x81ba54);return _0x370c3f['set']({'label':_0x3b661b,'icon':_0x515a9a,'tooltip':_0xbb23f0}),_0x370c3f['bind']('isOn')['to'](_0x3852b7,'value',_0x15006d=>_0x15006d===_0x589722),_0x370c3f['bind']('isEnabled')['to'](_0x3852b7,'isEnabled'),_0x370c3f['on']('execute',()=>{_0x2486fc['execute']('footnotesStyle',{'value':_0x589722}),_0x2486fc['editing']['view']['focus']();}),_0x370c3f;};}(_0x339450));}(_0x5ed11f),_0x19a84d=new _0x3b98bf(_0x5ed11f['locale'],{'styleGridAriaLabel':_0x3b6830,'styleButtonViews':_0x137a00});return _0x19a84d['delegate']('execute')['to'](_0x3f22e),_0x19a84d['on']('footnotesListStart',(_0x20dc0f,_0x4d6015)=>{_0x5ed11f['execute']('footnotesStart',{'value':_0x4d6015['startIndex']});}),_0x19a84d;}({'editor':_0x1e1df0,'dropdownView':_0x47f970});_0x47f970['panelView']['children']['add'](_0x49fb81);}),_0x47f970;};}(_0x52d66e));}['afterInit'](){const {editor:_0x913189}=this,{t:t}=_0x913189['locale'],_0x305d17=_0x913189['plugins']['get'](_0x396f29),{defaultPositions:_0x2e3fa7}=_0x3e77c;_0x305d17['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x913189['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5f3787=>{let _0x4edd7f=_0x5f3787['getFirstPosition']()?.['parent'];return _0x4edd7f?.['is']('$text')&&(_0x4edd7f=_0x4edd7f['parent']),_0x4edd7f?.['is']('element')?_0x4edd7f['findAncestor'](_0x5cf1e5):null;},'positions':[_0x2e3fa7['southArrowNorth'],_0x2e3fa7['southArrowNorthMiddleWest'],_0x2e3fa7['southArrowNorthMiddleEast'],_0x2e3fa7['southArrowNorthWest'],_0x2e3fa7['southArrowNorthEast'],_0x2e3fa7['northArrowSouth'],_0x2e3fa7['northArrowSouthMiddleWest'],_0x2e3fa7['northArrowSouthMiddleEast'],_0x2e3fa7['northArrowSouthWest'],_0x2e3fa7['northArrowSouthEast'],_0x2e3fa7['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x216b87,View as _0x22a9ef,ViewCollection as _0x15812d,FocusCycler as _0x180fc3,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 _0x22a9ef{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x15812d();['focusCycler'];constructor(_0x3d6681,{styleButtonViews:_0x39c2e5,styleGridAriaLabel:_0x11bc58}){super(_0x3d6681),(this['focusCycler']=new _0x180fc3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x39c2e5,_0x11bc58),[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 _0x45339f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x45339f['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 _0x3e3840=_0x5b2aa6=>_0x5b2aa6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3e3840),this['keystrokes']['set']('arrowleft',_0x3e3840),this['keystrokes']['set']('arrowup',_0x3e3840),this['keystrokes']['set']('arrowdown',_0x3e3840);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xcdd40f,_0x443eaf){const _0x362ffc=new _0x22a9ef(this['locale']);return _0x362ffc['children']=_0x362ffc['createCollection'](),_0x362ffc['children']['addMany'](_0xcdd40f),_0x362ffc['setTemplate']({'tag':'div','attributes':{'aria-label':_0x443eaf,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x362ffc['children']}),_0x362ffc['children']['delegate']('execute')['to'](this),_0x362ffc['focus']=function(){for(const _0x5780b9 of this['children'])if(_0x5780b9 instanceof _0x216b87&&_0x5780b9['isOn'])return void _0x5780b9['focus']();this['children']['first']['focus']();},_0x362ffc['focusTracker']=new ot(),_0x362ffc['keystrokes']=new rt(),_0x362ffc['render'](),_0x362ffc['keystrokes']['listenTo'](_0x362ffc['element']),this['children']['add'](_0x362ffc),_0x362ffc;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x47d668=this['_createStartIndexPropertyView'](),_0x274cca=[_0x47d668],_0x7ffd96=new st(this['locale'],_0x274cca);return _0x7ffd96['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x7ffd96['buttonView']['bind']('isEnabled')['toMany'](_0x274cca,'isEnabled',(..._0x2dc235)=>_0x2dc235['some'](_0x4d75eb=>_0x4d75eb)),_0x7ffd96['buttonView']['on']('change:isEnabled',(_0x25e449,_0x2c6a8d,_0x19ebdb)=>{_0x19ebdb||(_0x7ffd96['isCollapsed']=!0x0);}),this['children']['add'](_0x7ffd96),[_0x47d668,_0x7ffd96];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x75a7c7=new it(this['locale'],et);return _0x75a7c7['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x75a7c7['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x75a7c7['fieldView']['on']('input',()=>{const _0x59ecef=_0x75a7c7['fieldView']['element'],_0x3084fc=_0x59ecef['valueAsNumber'];Number['isNaN'](_0x3084fc)?_0x75a7c7['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x59ecef['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3084fc}):_0x75a7c7['errorText']=t(_0x3084fc<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x75a7c7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x1ca8(){var _0x599081=['4730RrmiuO','FootnotesProperties','1586210cgMlDe','2506670PgwSKQ','99PjlJNV','requires','759776tnPWjB','63nYMIBw','isPremiumPlugin','1141WOVYJn','4437660msjexM','222741epLZpy','3186NAQoEV','isOfficialPlugin','48OxiqeN','pluginName','1Bucwjc'];_0x1ca8=function(){return _0x599081;};return _0x1ca8();}var _0x3335c5=_0xd994;(function(_0x43809e,_0x719d3c){var _0x497bed=_0xd994,_0x5a0e85=_0x43809e();while(!![]){try{var _0x473ea8=parseInt(_0x497bed(0x157))/0x1*(-parseInt(_0x497bed(0x149))/0x2)+parseInt(_0x497bed(0x152))/0x3*(-parseInt(_0x497bed(0x155))/0x4)+-parseInt(_0x497bed(0x14a))/0x5+-parseInt(_0x497bed(0x153))/0x6*(-parseInt(_0x497bed(0x150))/0x7)+parseInt(_0x497bed(0x14d))/0x8*(-parseInt(_0x497bed(0x14e))/0x9)+-parseInt(_0x497bed(0x158))/0xa+parseInt(_0x497bed(0x14b))/0xb*(parseInt(_0x497bed(0x151))/0xc);if(_0x473ea8===_0x719d3c)break;else _0x5a0e85['push'](_0x5a0e85['shift']());}catch(_0x2f6e2c){_0x5a0e85['push'](_0x5a0e85['shift']());}}}(_0x1ca8,0x89b96));import{Plugin as _0x1c5322}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1aebef}from'./footnotesproperties/footnotespropertiesediting.js';function _0xd994(_0x4cabac,_0x3ecd93){var _0x1ca85f=_0x1ca8();return _0xd994=function(_0xd99493,_0x41411a){_0xd99493=_0xd99493-0x148;var _0x4a5cf8=_0x1ca85f[_0xd99493];return _0x4a5cf8;},_0xd994(_0x4cabac,_0x3ecd93);}import{FootnotesPropertiesUI as _0x5947af}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1c5322{static get[_0x3335c5(0x156)](){var _0x3ae39d=_0x3335c5;return _0x3ae39d(0x148);}static get[_0x3335c5(0x14c)](){return[_0x1aebef,_0x5947af];}static get[_0x3335c5(0x154)](){return!0x0;}static get[_0x3335c5(0x14f)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x54db(_0x535659,_0x26e749){const _0x3ec784=_0x3ec7();return _0x54db=function(_0x54db7e,_0x4b8e62){_0x54db7e=_0x54db7e-0xc7;let _0x446c26=_0x3ec784[_0x54db7e];return _0x446c26;},_0x54db(_0x535659,_0x26e749);}const _0x3cc163=_0x54db;(function(_0x42db0f,_0x47fa76){const _0x16b393=_0x54db,_0x6a26e3=_0x42db0f();while(!![]){try{const _0x5c4e69=-parseInt(_0x16b393(0x102))/0x1*(-parseInt(_0x16b393(0xe9))/0x2)+-parseInt(_0x16b393(0xf1))/0x3+-parseInt(_0x16b393(0xdf))/0x4+-parseInt(_0x16b393(0xfd))/0x5+-parseInt(_0x16b393(0x127))/0x6*(-parseInt(_0x16b393(0x10e))/0x7)+-parseInt(_0x16b393(0xd3))/0x8*(-parseInt(_0x16b393(0x121))/0x9)+parseInt(_0x16b393(0x111))/0xa*(parseInt(_0x16b393(0x10f))/0xb);if(_0x5c4e69===_0x47fa76)break;else _0x6a26e3['push'](_0x6a26e3['shift']());}catch(_0x4bed57){_0x6a26e3['push'](_0x6a26e3['shift']());}}}(_0x3ec7,0x5ef2e));import{Plugin as _0x40ddf5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x20ecae}from'./modelelementtracker.js';export class FootnotesTracker extends _0x40ddf5{[_0x3cc163(0xe3)]=[];[_0x3cc163(0xe1)]=null;[_0x3cc163(0xd0)]=null;[_0x3cc163(0x105)];[_0x3cc163(0x119)];[_0x3cc163(0xf2)];static get[_0x3cc163(0x103)](){const _0x1b945b=_0x3cc163;return _0x1b945b(0xc9);}static get[_0x3cc163(0x109)](){return!0x0;}static get[_0x3cc163(0x106)](){return!0x0;}constructor(_0x460f49){const _0x108afc=_0x3cc163;super(_0x460f49),this[_0x108afc(0x105)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0x10d),'getElementKey':()=>_0x108afc(0x110)}),this[_0x108afc(0x119)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0x101),'getElementKey':_0x5a1b64=>_0x5a1b64[_0x108afc(0xec)](_0x108afc(0xd9))}),this[_0x108afc(0xf2)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0xd4),'getElementKey':_0x4d8a81=>_0x4d8a81[_0x108afc(0xec)](_0x108afc(0xd9))});}[_0x3cc163(0x108)](){const _0x1473dc=_0x3cc163,{editor:_0xa5d0ff}=this,{model:_0x18d48c,data:_0x388a3a}=_0xa5d0ff;_0x18d48c[_0x1473dc(0xe2)][_0x1473dc(0xda)](_0x368359=>{const _0x7c8064=_0x1473dc,_0x5d9cd4=_0x18d48c[_0x7c8064(0xe2)][_0x7c8064(0x125)][_0x7c8064(0x11d)]();let _0x2c53e1=!0x1;return this[_0x7c8064(0xfa)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0x114)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf7)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf4)](_0x368359)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf5)](_0x368359)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xca)](_0x368359)&&(_0x2c53e1=!0x0),_0x2c53e1;}),this[_0x1473dc(0x11a)](_0x18d48c[_0x1473dc(0xe2)],_0x1473dc(0x12a),()=>{const _0x342c56=_0x1473dc;_0x18d48c[_0x342c56(0xe4)]({'isUndoable':!0x1},_0x3306c1=>{const _0x3ecb40=_0x342c56;this[_0x3ecb40(0xe0)](_0x3306c1);});},{'priority':_0x1473dc(0xcb)}),this[_0x1473dc(0x11a)](_0x388a3a,_0x1473dc(0xef),()=>{const _0x593bc3=_0x1473dc;this[_0x593bc3(0xe3)]=[],this[_0x593bc3(0x105)][_0x593bc3(0xf6)](),this[_0x593bc3(0x119)][_0x593bc3(0xf6)](),this[_0x593bc3(0xf2)][_0x593bc3(0xf6)]();},{'priority':_0x1473dc(0x10b)});}[_0x3cc163(0xe7)](){const _0x57c1f8=_0x3cc163;return this[_0x57c1f8(0xe1)];}[_0x3cc163(0xd6)](_0x632318){const _0x30f4b7=_0x3cc163;return this[_0x30f4b7(0xe3)][_0x30f4b7(0x129)](_0x4e596a=>_0x4e596a['id']===_0x632318)||null;}[_0x3cc163(0xea)](){const _0x287cbf=_0x3cc163;return Array[_0x287cbf(0xfe)](this[_0x287cbf(0xe3)]);}[_0x3cc163(0xd5)](){const _0x4b84ab=_0x3cc163;return this[_0x4b84ab(0xd0)];}[_0x3cc163(0x117)](_0x28cc95){const _0x5c8ee5=_0x3cc163;this[_0x5c8ee5(0xd0)]=_0x28cc95;}[_0x3cc163(0x112)](_0xf559d5,_0x1c8e10=0x0){const _0x93228f=_0x3cc163;let _0x248a71=!0x1;for(let _0x3d102d=_0x1c8e10;_0x3d102d<this[_0x93228f(0xe3)][_0x93228f(0xff)];_0x3d102d++)this[_0x93228f(0xd1)](_0xf559d5,_0x3d102d)&&(_0x248a71=!0x0);return _0x248a71;}[_0x3cc163(0x128)](_0x3c522b,_0x45c28c){const _0xf3158a=_0x3cc163,_0x3e58d3=_0x3c522b[_0xf3158a(0x12b)](_0xf3158a(0x10d),{});return _0x3c522b[_0xf3158a(0xe8)](_0x3e58d3,_0x45c28c),this[_0xf3158a(0xe1)]=_0x3e58d3,_0x3e58d3;}[_0x3cc163(0xe0)](_0x15bf9a){const _0x305b2a=_0x3cc163;if(!this[_0x305b2a(0xe3)][_0x305b2a(0xff)]||this[_0x305b2a(0xe1)])return;const _0x26d2a9=this[_0x305b2a(0xe3)][0x0][_0x305b2a(0xfc)][_0x305b2a(0x100)],_0xb07896=this[_0x305b2a(0x128)](_0x15bf9a,_0x26d2a9);for(const _0x4384d4 of this[_0x305b2a(0xe3)])_0x4384d4[_0x305b2a(0xc7)][_0x305b2a(0xd2)]||_0x15bf9a[_0x305b2a(0xde)](_0x4384d4[_0x305b2a(0xc7)],_0xb07896,_0x305b2a(0xf8));this[_0x305b2a(0x112)](_0x15bf9a);}[_0x3cc163(0xfa)](_0x285af5,_0x4678cb){const _0x8286f0=_0x3cc163;let _0x565672=!0x1;const {inserted:_0x47dc1,removed:_0x54526b,moved:_0x7d47da}=this[_0x8286f0(0x105)][_0x8286f0(0x11d)](_0x4678cb);if(_0x7d47da[_0x8286f0(0xff)]&&(this[_0x8286f0(0xe1)]=_0x7d47da[0x0]),_0x47dc1[_0x8286f0(0xff)]){if(_0x47dc1[_0x8286f0(0xff)]>0x1||this[_0x8286f0(0xe1)]&&_0x47dc1[_0x8286f0(0xd8)](_0x2c841b=>_0x2c841b!==this[_0x8286f0(0xe1)])){const _0x3e5b6e=_0x285af5[_0x8286f0(0x12b)](_0x8286f0(0x10d),{}),_0x19abd8=[];this[_0x8286f0(0xe1)]&&_0x19abd8[_0x8286f0(0x120)](this[_0x8286f0(0xe1)]),_0x19abd8[_0x8286f0(0x120)](..._0x47dc1),_0x285af5[_0x8286f0(0xde)](_0x3e5b6e,_0x19abd8[0x0],_0x8286f0(0x123));for(const _0x4309fa of _0x19abd8)_0x285af5[_0x8286f0(0x10a)](_0x285af5[_0x8286f0(0xdc)](_0x4309fa),_0x285af5[_0x8286f0(0xcc)](_0x3e5b6e,_0x8286f0(0xf8))),_0x285af5[_0x8286f0(0xeb)](_0x4309fa);this[_0x8286f0(0xe1)]=_0x3e5b6e,this[_0x8286f0(0x112)](_0x285af5),_0x565672=!0x0;}else this[_0x8286f0(0xe1)]=_0x47dc1[0x0];}if(_0x54526b[_0x8286f0(0xff)]&&_0x8286f0(0x11e)===this[_0x8286f0(0xe1)]?.[_0x8286f0(0x100)][_0x8286f0(0x104)]){for(const _0x55ba5b of this[_0x8286f0(0xe3)])_0x285af5[_0x8286f0(0xeb)](_0x55ba5b[_0x8286f0(0xfc)]),_0x565672=!0x0;this[_0x8286f0(0xe3)]=[],this[_0x8286f0(0xe1)]=null;}return _0x565672;}[_0x3cc163(0x114)](_0x656eba,_0x5927e3){const _0x3b9923=_0x3cc163;let _0xc242a5=!0x1;const _0x58484c=this[_0x3b9923(0x118)][_0x3b9923(0xf9)][_0x3b9923(0xc8)](_0x3b9923(0x124)),{inserted:_0x5a6617,moved:_0x17f3ba}=this[_0x3b9923(0xf2)][_0x3b9923(0x11d)](_0x5927e3);for(const _0x25ce37 of[..._0x17f3ba,..._0x5a6617]){const _0x43a334=_0x25ce37[_0x3b9923(0xec)](_0x3b9923(0xd9)),_0x56feb3=this[_0x3b9923(0xd6)](_0x43a334);_0x56feb3&&(_0x56feb3[_0x3b9923(0xc7)]=_0x25ce37),_(_0x656eba,_0x58484c,_0x25ce37)&&(_0xc242a5=!0x0);}return _0xc242a5;}[_0x3cc163(0xf7)](_0x5cc55b,_0x10c4b6){const _0x56ec87=_0x3cc163;let _0x478b55=!0x1;const {removed:_0x28e30e,inserted:_0x58c7d6,moved:_0x1be633}=this[_0x56ec87(0x119)][_0x56ec87(0x11d)](_0x10c4b6);for(const _0x4dcc34 of _0x28e30e)this[_0x56ec87(0xce)](_0x5cc55b,_0x4dcc34)&&(_0x478b55=!0x0);for(const _0x50103b of _0x58c7d6)this[_0x56ec87(0x11f)](_0x5cc55b,_0x50103b)&&(_0x478b55=!0x0);for(const _0x2c4dfa of _0x1be633)this[_0x56ec87(0x11c)](_0x5cc55b,_0x2c4dfa)&&(_0x478b55=!0x0);return _0x478b55;}[_0x3cc163(0xf5)](_0x1318b9){const _0x1b6ee5=_0x3cc163;if(!this[_0x1b6ee5(0xe1)])return!0x1;let _0x58a84f=!0x1;if(this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x113)]!==this[_0x1b6ee5(0xe3)][_0x1b6ee5(0xff)]){const _0x2bb8c1=[];for(const _0x142fba of this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x116)]()){const _0x5063c4=_0x142fba[_0x1b6ee5(0xec)](_0x1b6ee5(0xd9));this[_0x1b6ee5(0xd6)](_0x5063c4)||(_0x2bb8c1[_0x1b6ee5(0xe6)](_0x142fba),_0x58a84f=!0x0);}for(const _0x32bfc2 of _0x2bb8c1)_0x1318b9[_0x1b6ee5(0xeb)](_0x32bfc2);}const _0x26a444=new Set(),_0x463a6d=[];for(const _0x5c0e0f of this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x116)]()){const _0x1f0bd1=_0x5c0e0f[_0x1b6ee5(0xec)](_0x1b6ee5(0xd9));_0x26a444[_0x1b6ee5(0xfb)](_0x1f0bd1)?(_0x463a6d[_0x1b6ee5(0xe6)](_0x5c0e0f),_0x58a84f=!0x0):_0x26a444[_0x1b6ee5(0x11b)](_0x1f0bd1);}for(const _0x3c2e10 of _0x463a6d)_0x1318b9[_0x1b6ee5(0xeb)](_0x3c2e10);return this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x113)]||(_0x1318b9[_0x1b6ee5(0xeb)](this[_0x1b6ee5(0xe1)]),this[_0x1b6ee5(0xe1)]=null,_0x58a84f=!0x0),_0x58a84f;}[_0x3cc163(0x11f)](_0x28df9f,_0x1b8ba0){const _0x2cb204=_0x3cc163;if(this[_0x2cb204(0xe3)][_0x2cb204(0x129)](_0x573cbf=>_0x573cbf[_0x2cb204(0xfc)]===_0x1b8ba0))return!0x1;let _0xd5d18d=!0x1;const _0x18ae2e=_0x1b8ba0[_0x2cb204(0xec)](_0x2cb204(0xd9)),_0x1f0b12=this[_0x2cb204(0xe3)][_0x2cb204(0xd7)](_0x556bf9=>_0x556bf9['id']===_0x18ae2e);-0x1!==_0x1f0b12&&(_0x28df9f[_0x2cb204(0xeb)](this[_0x2cb204(0xe3)][_0x1f0b12][_0x2cb204(0xfc)]),this[_0x2cb204(0xe3)][_0x2cb204(0xf3)](_0x1f0b12,0x1),_0xd5d18d=!0x0);let _0x3d7dd3=this[_0x2cb204(0xe1)]?function(_0x58fb5b,_0x38b3cd){const _0x1a5dc9=_0x2cb204;for(const _0x51db78 of _0x58fb5b[_0x1a5dc9(0x116)]())if(_0x51db78[_0x1a5dc9(0xec)](_0x1a5dc9(0xd9))===_0x38b3cd)return _0x51db78;return null;}(this[_0x2cb204(0xe1)],_0x18ae2e):null;_0x3d7dd3||(_0x3d7dd3=_0x28df9f[_0x2cb204(0x12b)](_0x2cb204(0xd4),{'footnoteId':_0x18ae2e}),this[_0x2cb204(0xe1)]&&(_0x28df9f[_0x2cb204(0xde)](_0x3d7dd3,this[_0x2cb204(0xe1)],_0x2cb204(0xf8)),_0xd5d18d=!0x0));const _0xefbb8d={'id':_0x18ae2e,'reference':_0x1b8ba0,'definition':_0x3d7dd3},_0x59fde8=I(this[_0x2cb204(0x118)][_0x2cb204(0xcd)],this[_0x2cb204(0xe3)],_0x1b8ba0);this[_0x2cb204(0xe3)][_0x2cb204(0xf3)](_0x59fde8,0x0,_0xefbb8d);let _0x1a78ce=_0x59fde8;return-0x1!==_0x1f0b12&&(_0x1a78ce=Math[_0x2cb204(0xee)](_0x59fde8,_0x1f0b12)),this[_0x2cb204(0x112)](_0x28df9f,_0x1a78ce)&&(_0xd5d18d=!0x0),_0xd5d18d;}[_0x3cc163(0xce)](_0x1ee14a,_0x3f56ea){const _0x78d323=_0x3cc163,_0x5b8243=this[_0x78d323(0xe3)][_0x78d323(0xd7)](_0x35a0fe=>_0x35a0fe['id']===_0x3f56ea);if(-0x1===_0x5b8243)return!0x1;let _0xa2effe=!0x1;const _0xe89765=this[_0x78d323(0xe3)][_0x5b8243];return _0x78d323(0x11e)!==_0xe89765[_0x78d323(0xc7)][_0x78d323(0x100)][_0x78d323(0x104)]&&(_0x1ee14a[_0x78d323(0xeb)](_0xe89765[_0x78d323(0xc7)]),_0xa2effe=!0x0),this[_0x78d323(0xe3)][_0x78d323(0xf3)](_0x5b8243,0x1),this[_0x78d323(0x112)](_0x1ee14a,_0x5b8243)&&(_0xa2effe=!0x0),_0xa2effe;}[_0x3cc163(0x11c)](_0x43efaa,_0x1c3dc2){const _0x4d1a17=_0x3cc163,_0x51f229=_0x1c3dc2[_0x4d1a17(0xec)](_0x4d1a17(0xd9)),_0x5af475=this[_0x4d1a17(0xe3)][_0x4d1a17(0xd7)](_0x518101=>_0x518101['id']===_0x51f229),_0x1ae9fe=this[_0x4d1a17(0xe3)][_0x5af475];let _0x122a80=!0x1;_0x1ae9fe[_0x4d1a17(0xfc)]=_0x1c3dc2,this[_0x4d1a17(0xe3)][_0x4d1a17(0xf3)](_0x5af475,0x1);const _0x3cc989=I(this[_0x4d1a17(0x118)][_0x4d1a17(0xcd)],this[_0x4d1a17(0xe3)],_0x1c3dc2);return this[_0x4d1a17(0xe3)][_0x4d1a17(0xf3)](_0x3cc989,0x0,_0x1ae9fe),this[_0x4d1a17(0x112)](_0x43efaa,Math[_0x4d1a17(0xee)](_0x5af475,_0x3cc989))&&(_0x122a80=!0x0),_0x122a80;}[_0x3cc163(0xd1)](_0x20f6c3,_0x37e895){const _0x473e3d=_0x3cc163;if(!this[_0x473e3d(0xe1)])return!0x1;const _0x19c1de=this[_0x473e3d(0xe3)][_0x37e895];let _0x335c57;return _0x335c57=this[_0x473e3d(0xd0)]?this[_0x473e3d(0xd0)]({'footnote':_0x19c1de,'container':this[_0x473e3d(0xe1)],'digits':String(this[_0x473e3d(0xe3)][_0x473e3d(0xff)])[_0x473e3d(0xff)],'value':_0x37e895+0x1}):String(_0x37e895+0x1),_0x19c1de[_0x473e3d(0xfc)][_0x473e3d(0xec)](_0x473e3d(0xdd))!=_0x335c57&&(_0x20f6c3[_0x473e3d(0xdb)](_0x473e3d(0xdd),_0x335c57,_0x19c1de[_0x473e3d(0xfc)]),!0x0);}[_0x3cc163(0xca)](_0x583821){const _0xe1ecb2=_0x3cc163;if(!this[_0xe1ecb2(0xe1)]||this[_0xe1ecb2(0xe3)][_0xe1ecb2(0xff)]<0x2)return!0x1;if(function(_0x578b1d,_0x150ff9){const _0x8af6ec=_0xe1ecb2;if(_0x578b1d[_0x8af6ec(0xff)]!==_0x150ff9[_0x8af6ec(0xff)])return!0x1;for(let _0x3c4275=0x0;_0x3c4275<_0x578b1d[_0x8af6ec(0xff)];_0x3c4275++)if(_0x578b1d[_0x3c4275]!==_0x150ff9[_0x3c4275])return!0x1;return!0x0;}(this[_0xe1ecb2(0xe3)][_0xe1ecb2(0x122)](_0x3fa312=>_0x3fa312['id']),Array[_0xe1ecb2(0xfe)](this[_0xe1ecb2(0xe1)][_0xe1ecb2(0x116)]())[_0xe1ecb2(0x122)](_0x2e9903=>_0x2e9903[_0xe1ecb2(0xec)](_0xe1ecb2(0xd9)))))return!0x1;let _0x7ebe62=!0x1;for(let _0x4e6da7=0x0;_0x4e6da7<this[_0xe1ecb2(0xe3)][_0xe1ecb2(0xff)];_0x4e6da7++){const _0x139d40=this[_0xe1ecb2(0xe3)][_0x4e6da7],_0x5c7df6=_0x583821[_0xe1ecb2(0x126)](_0x139d40[_0xe1ecb2(0xc7)]),_0x2f035d=_0x583821[_0xe1ecb2(0xcc)](this[_0xe1ecb2(0xe1)],_0x4e6da7);_0x5c7df6[_0xe1ecb2(0x10c)](_0x2f035d)||(_0x583821[_0xe1ecb2(0x10a)](_0x583821[_0xe1ecb2(0xcf)](_0x139d40[_0xe1ecb2(0xc7)]),_0x2f035d),_0x7ebe62=!0x0);}return _0x7ebe62;}[_0x3cc163(0xf4)](_0x34db16){const _0x7304dd=_0x3cc163;if(!this[_0x7304dd(0xe3)][_0x7304dd(0xff)])return!0x1;const {model:_0xaee5b3}=this[_0x7304dd(0x118)];let _0x4668c2=!0x1;for(let _0x1a44ce=0x0;_0x1a44ce<this[_0x7304dd(0xe3)][_0x7304dd(0xff)]-0x1;_0x1a44ce++){const _0x3f19f0=this[_0x7304dd(0xe3)][_0x1a44ce],_0x5ca48f=this[_0x7304dd(0xe3)][_0x1a44ce+0x1],_0xe6309d=_0xaee5b3[_0x7304dd(0x126)](_0x3f19f0[_0x7304dd(0xfc)]),_0x511070=_0xaee5b3[_0x7304dd(0x126)](_0x5ca48f[_0x7304dd(0xfc)]);_0x7304dd(0x115)===_0xe6309d[_0x7304dd(0xf0)](_0x511070)&&(this[_0x7304dd(0x11c)](_0x34db16,_0x3f19f0[_0x7304dd(0xfc)]),_0x1a44ce=-0x1,_0x4668c2=!0x0);}return _0x4668c2;}}function _0x3ec7(){const _0x246c81=['document','_footnotes','enqueueChange','indexOf','unshift','getFootnotesDefinitionsObjectElement','append','12682AwVDcH','getFootnotes','remove','getAttribute','footnoteInlineContent','min','set','compareWith','673812RCkLhS','_footnoteDefsTracker','splice','_ensureFootnotesReferencesHaveProperOrder','_handleFootnotesDefinitionsObjectSync','reset','_handleFootnoteReferencesChanges','end','config','_handleFootnotesDefinitionsObjectChanges','has','reference','2591845vhMhTq','from','length','root','footnoteRef','109gvlCcr','pluginName','rootName','_footnoteDefsContainerTracker','isPremiumPlugin','paragraph','init','isOfficialPlugin','move','high','isEqual','footnotesDefinitions','166922nFEeSw','77brrAoX','singleton','403400dmovZQ','_updateFootnotesCounters','childCount','_handleFootnoteDefinitionsChanges','after','getChildren','setFootnoteFormatter','editor','_footnoteRefsTracker','listenTo','add','_handleMovedFootnoteReference','getChanges','$graveyard','_handleInsertedFootnoteReference','push','4311RhqsOk','map','before','footnotes.multiBlock','differ','createPositionBefore','108grMDoq','_insertEmptyFootnotesDefinitionsContainer','find','change:data','createElement','getRootNames','definition','get','FootnotesTracker','_sortFootnoteDefinitions','low','createPositionAt','model','_handleRemoveFootnoteReferenceById','createRangeOn','_footnoteFormatter','_updateFootnoteRefCounter','parent','4280RUWXXa','footnoteDefinition','getFootnotesFormatter','getFootnote','findIndex','some','footnoteId','registerPostFixer','setAttribute','createRangeIn','footnoteCounter','insert','2108636mUTJyc','_ensureFootnotesDefinitionsContainerExists','_footnotesDefinitions'];_0x3ec7=function(){return _0x246c81;};return _0x3ec7();}function _(_0x139dfb,_0x12e2d7,_0x453261){const _0x2099dc=_0x3cc163;if(_0x453261[_0x2099dc(0x113)])return!0x1;const _0x20424a=_0x12e2d7?_0x2099dc(0x107):_0x2099dc(0xed);return _0x139dfb[_0x2099dc(0xde)](_0x139dfb[_0x2099dc(0x12b)](_0x20424a),_0x453261),!0x0;}function I(_0x6dd9ff,_0x509704,_0x135e20){const _0x71d56f=_0x3cc163;if(0x0===_0x509704[_0x71d56f(0xff)])return 0x0;const _0x443204=_0x6dd9ff[_0x71d56f(0x126)](_0x135e20);for(let _0x84357c=0x0;_0x84357c<_0x509704[_0x71d56f(0xff)];_0x84357c++){const _0x38f945=_0x509704[_0x84357c],_0x1579ec=_0x6dd9ff[_0x71d56f(0x126)](_0x38f945[_0x71d56f(0xfc)]);if(_0x71d56f(0x123)===_0x443204[_0x71d56f(0xf0)](_0x1579ec))return _0x84357c;}const _0x22301a=_0x135e20[_0x71d56f(0x100)];let _0x1828e2=-0x1;for(let _0x2757cf=_0x509704[_0x71d56f(0xff)]-0x1;_0x2757cf>=0x0;_0x2757cf--)if(_0x509704[_0x2757cf][_0x71d56f(0xfc)][_0x71d56f(0x100)]===_0x22301a){_0x1828e2=_0x2757cf;break;}if(-0x1!==_0x1828e2)return _0x1828e2+0x1;const _0x236919=_0x6dd9ff[_0x71d56f(0xe2)][_0x71d56f(0x12c)](),_0x579eae=_0x236919[_0x71d56f(0xe5)](_0x22301a[_0x71d56f(0x104)]),_0x310fa4=_0x236919[_0x579eae+0x1];if(_0x310fa4){for(let _0x2834ec=0x0;_0x2834ec<_0x509704[_0x71d56f(0xff)];_0x2834ec++)if(_0x509704[_0x2834ec][_0x71d56f(0xfc)][_0x71d56f(0x100)][_0x71d56f(0x104)]===_0x310fa4)return _0x2834ec;}return _0x509704[_0x71d56f(0xff)];}
|
|
23
|
+
function _0x237a(_0x2330d6,_0x42fd0a){const _0x10b9c6=_0x10b9();return _0x237a=function(_0x237a76,_0x3bba93){_0x237a76=_0x237a76-0x1d2;let _0x4fce00=_0x10b9c6[_0x237a76];return _0x4fce00;},_0x237a(_0x2330d6,_0x42fd0a);}const _0x3e01e2=_0x237a;(function(_0x2b99ae,_0x575c33){const _0xb60899=_0x237a,_0x59f4b1=_0x2b99ae();while(!![]){try{const _0x5efd34=-parseInt(_0xb60899(0x1d2))/0x1*(-parseInt(_0xb60899(0x1dc))/0x2)+parseInt(_0xb60899(0x223))/0x3+parseInt(_0xb60899(0x1f2))/0x4*(parseInt(_0xb60899(0x213))/0x5)+parseInt(_0xb60899(0x1f0))/0x6*(-parseInt(_0xb60899(0x1f8))/0x7)+-parseInt(_0xb60899(0x1da))/0x8*(parseInt(_0xb60899(0x1de))/0x9)+-parseInt(_0xb60899(0x1ee))/0xa*(parseInt(_0xb60899(0x1d9))/0xb)+parseInt(_0xb60899(0x20d))/0xc*(parseInt(_0xb60899(0x205))/0xd);if(_0x5efd34===_0x575c33)break;else _0x59f4b1['push'](_0x59f4b1['shift']());}catch(_0x5d02c2){_0x59f4b1['push'](_0x59f4b1['shift']());}}}(_0x10b9,0x1bdc2));import{Plugin as _0x3d00ae}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1206b5}from'./modelelementtracker.js';function _0x10b9(){const _0x3b5a36=['getFootnotesDefinitionsObjectElement','footnotes.multiBlock','isEqual','35PranVG','singleton','indexOf','from','document','remove','parent','high','getAttribute','setAttribute','getChanges','_footnoteFormatter','createPositionBefore','createRangeOn','footnotesDefinitions','getFootnote','350151fKxtOm','length','model','reference','config','footnoteInlineContent','_updateFootnoteRefCounter','differ','registerPostFixer','unshift','find','_handleRemoveFootnoteReferenceById','createRangeIn','insert','FootnotesTracker','paragraph','set','listenTo','$graveyard','_ensureFootnotesDefinitionsContainerExists','_handleFootnotesDefinitionsObjectChanges','move','rootName','3CqqWwu','footnoteCounter','_footnoteDefsContainerTracker','_handleFootnoteDefinitionsChanges','childCount','reset','change:data','484LhLeck','29448ELJIAZ','get','44698FmMbJu','some','387LYoWKg','min','splice','init','after','getChildren','editor','_handleMovedFootnoteReference','_footnoteRefsTracker','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','pluginName','_footnotes','getFootnotesFormatter','_updateFootnotesCounters','_handleFootnotesDefinitionsObjectSync','21220ApTway','push','9162xuSLyk','getRootNames','1372YlrZsK','end','definition','before','_footnoteDefsTracker','_handleInsertedFootnoteReference','21HryyKI','isOfficialPlugin','low','getFootnotes','footnoteDefinition','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','createElement','_insertEmptyFootnotesDefinitionsContainer','append','enqueueChange','add','isPremiumPlugin','13jwuOOV','findIndex','has','createPositionAt','compareWith','footnoteId','map','footnoteRef','2210172Yyiiss','setFootnoteFormatter','root'];_0x10b9=function(){return _0x3b5a36;};return _0x10b9();}export class FootnotesTracker extends _0x3d00ae{[_0x3e01e2(0x1ea)]=[];[_0x3e01e2(0x1e8)]=null;[_0x3e01e2(0x21e)]=null;[_0x3e01e2(0x1d4)];[_0x3e01e2(0x1e6)];[_0x3e01e2(0x1f6)];static get[_0x3e01e2(0x1e9)](){const _0x5cf947=_0x3e01e2;return _0x5cf947(0x231);}static get[_0x3e01e2(0x1f9)](){return!0x0;}static get[_0x3e01e2(0x204)](){return!0x0;}constructor(_0x280951){const _0x3223fe=_0x3e01e2;super(_0x280951),this[_0x3223fe(0x1d4)]=new _0x1206b5(this[_0x3223fe(0x1e4)][_0x3223fe(0x225)],{'elementName':_0x3223fe(0x221),'getElementKey':()=>_0x3223fe(0x214)}),this[_0x3223fe(0x1e6)]=new _0x1206b5(this[_0x3223fe(0x1e4)][_0x3223fe(0x225)],{'elementName':_0x3223fe(0x20c),'getElementKey':_0x4481cb=>_0x4481cb[_0x3223fe(0x21b)](_0x3223fe(0x20a))}),this[_0x3223fe(0x1f6)]=new _0x1206b5(this[_0x3223fe(0x1e4)][_0x3223fe(0x225)],{'elementName':_0x3223fe(0x1fc),'getElementKey':_0x20d242=>_0x20d242[_0x3223fe(0x21b)](_0x3223fe(0x20a))});}[_0x3e01e2(0x1e1)](){const _0x17fc52=_0x3e01e2,{editor:_0x39fd31}=this,{model:_0x21d4c3,data:_0x2c647e}=_0x39fd31;_0x21d4c3[_0x17fc52(0x217)][_0x17fc52(0x22b)](_0x42f681=>{const _0x2bc433=_0x17fc52,_0x27f9df=_0x21d4c3[_0x2bc433(0x217)][_0x2bc433(0x22a)][_0x2bc433(0x21d)]();let _0x3948e0=!0x1;return this[_0x2bc433(0x237)](_0x42f681,_0x27f9df)&&(_0x3948e0=!0x0),this[_0x2bc433(0x1d5)](_0x42f681,_0x27f9df)&&(_0x3948e0=!0x0),this[_0x2bc433(0x1fd)](_0x42f681,_0x27f9df)&&(_0x3948e0=!0x0),this[_0x2bc433(0x1e7)](_0x42f681)&&(_0x3948e0=!0x0),this[_0x2bc433(0x1ed)](_0x42f681)&&(_0x3948e0=!0x0),this[_0x2bc433(0x1fe)](_0x42f681)&&(_0x3948e0=!0x0),_0x3948e0;}),this[_0x17fc52(0x234)](_0x21d4c3[_0x17fc52(0x217)],_0x17fc52(0x1d8),()=>{const _0x1f0a07=_0x17fc52;_0x21d4c3[_0x1f0a07(0x202)]({'isUndoable':!0x1},_0x8937be=>{const _0x346e54=_0x1f0a07;this[_0x346e54(0x236)](_0x8937be);});},{'priority':_0x17fc52(0x1fa)}),this[_0x17fc52(0x234)](_0x2c647e,_0x17fc52(0x233),()=>{const _0x306bf1=_0x17fc52;this[_0x306bf1(0x1ea)]=[],this[_0x306bf1(0x1d4)][_0x306bf1(0x1d7)](),this[_0x306bf1(0x1e6)][_0x306bf1(0x1d7)](),this[_0x306bf1(0x1f6)][_0x306bf1(0x1d7)]();},{'priority':_0x17fc52(0x21a)});}[_0x3e01e2(0x210)](){const _0x57040f=_0x3e01e2;return this[_0x57040f(0x1e8)];}[_0x3e01e2(0x222)](_0xe1b0d8){const _0x1cc83a=_0x3e01e2;return this[_0x1cc83a(0x1ea)][_0x1cc83a(0x22d)](_0x4e7940=>_0x4e7940['id']===_0xe1b0d8)||null;}[_0x3e01e2(0x1fb)](){const _0x1ccf43=_0x3e01e2;return Array[_0x1ccf43(0x216)](this[_0x1ccf43(0x1ea)]);}[_0x3e01e2(0x1eb)](){const _0x7da938=_0x3e01e2;return this[_0x7da938(0x21e)];}[_0x3e01e2(0x20e)](_0x19ff49){const _0x170b9b=_0x3e01e2;this[_0x170b9b(0x21e)]=_0x19ff49;}[_0x3e01e2(0x1ec)](_0x5a0121,_0x56d78b=0x0){const _0x2f29a9=_0x3e01e2;let _0x550c7b=!0x1;for(let _0x3ab8e9=_0x56d78b;_0x3ab8e9<this[_0x2f29a9(0x1ea)][_0x2f29a9(0x224)];_0x3ab8e9++)this[_0x2f29a9(0x229)](_0x5a0121,_0x3ab8e9)&&(_0x550c7b=!0x0);return _0x550c7b;}[_0x3e01e2(0x200)](_0x4ba488,_0x4c4af9){const _0x3acbf0=_0x3e01e2,_0x935b31=_0x4ba488[_0x3acbf0(0x1ff)](_0x3acbf0(0x221),{});return _0x4ba488[_0x3acbf0(0x201)](_0x935b31,_0x4c4af9),this[_0x3acbf0(0x1e8)]=_0x935b31,_0x935b31;}[_0x3e01e2(0x236)](_0x2b4585){const _0x5a9918=_0x3e01e2;if(!this[_0x5a9918(0x1ea)][_0x5a9918(0x224)]||this[_0x5a9918(0x1e8)])return;const _0x2702f7=this[_0x5a9918(0x1ea)][0x0][_0x5a9918(0x226)][_0x5a9918(0x20f)],_0x38f185=this[_0x5a9918(0x200)](_0x2b4585,_0x2702f7);for(const _0x114816 of this[_0x5a9918(0x1ea)])_0x114816[_0x5a9918(0x1f4)][_0x5a9918(0x219)]||_0x2b4585[_0x5a9918(0x230)](_0x114816[_0x5a9918(0x1f4)],_0x38f185,_0x5a9918(0x1f3));this[_0x5a9918(0x1ec)](_0x2b4585);}[_0x3e01e2(0x237)](_0x431606,_0x4812ac){const _0x38cf7a=_0x3e01e2;let _0x3d0700=!0x1;const {inserted:_0x40cfdf,removed:_0x1d6db0,moved:_0x5ddb4b}=this[_0x38cf7a(0x1d4)][_0x38cf7a(0x21d)](_0x4812ac);if(_0x5ddb4b[_0x38cf7a(0x224)]&&(this[_0x38cf7a(0x1e8)]=_0x5ddb4b[0x0]),_0x40cfdf[_0x38cf7a(0x224)]){if(_0x40cfdf[_0x38cf7a(0x224)]>0x1||this[_0x38cf7a(0x1e8)]&&_0x40cfdf[_0x38cf7a(0x1dd)](_0x4b35c0=>_0x4b35c0!==this[_0x38cf7a(0x1e8)])){const _0x48330e=_0x431606[_0x38cf7a(0x1ff)](_0x38cf7a(0x221),{}),_0x9592c=[];this[_0x38cf7a(0x1e8)]&&_0x9592c[_0x38cf7a(0x1ef)](this[_0x38cf7a(0x1e8)]),_0x9592c[_0x38cf7a(0x1ef)](..._0x40cfdf),_0x431606[_0x38cf7a(0x230)](_0x48330e,_0x9592c[0x0],_0x38cf7a(0x1f5));for(const _0x3616a1 of _0x9592c)_0x431606[_0x38cf7a(0x238)](_0x431606[_0x38cf7a(0x22f)](_0x3616a1),_0x431606[_0x38cf7a(0x208)](_0x48330e,_0x38cf7a(0x1f3))),_0x431606[_0x38cf7a(0x218)](_0x3616a1);this[_0x38cf7a(0x1e8)]=_0x48330e,this[_0x38cf7a(0x1ec)](_0x431606),_0x3d0700=!0x0;}else this[_0x38cf7a(0x1e8)]=_0x40cfdf[0x0];}if(_0x1d6db0[_0x38cf7a(0x224)]&&_0x38cf7a(0x235)===this[_0x38cf7a(0x1e8)]?.[_0x38cf7a(0x20f)][_0x38cf7a(0x239)]){for(const _0x4f8c63 of this[_0x38cf7a(0x1ea)])_0x431606[_0x38cf7a(0x218)](_0x4f8c63[_0x38cf7a(0x226)]),_0x3d0700=!0x0;this[_0x38cf7a(0x1ea)]=[],this[_0x38cf7a(0x1e8)]=null;}return _0x3d0700;}[_0x3e01e2(0x1d5)](_0x3e52d5,_0x47a165){const _0x291696=_0x3e01e2;let _0x2b0f08=!0x1;const _0x568144=this[_0x291696(0x1e4)][_0x291696(0x227)][_0x291696(0x1db)](_0x291696(0x211)),{inserted:_0x5ee343,moved:_0x3b135c}=this[_0x291696(0x1f6)][_0x291696(0x21d)](_0x47a165);for(const _0x388096 of[..._0x3b135c,..._0x5ee343]){const _0x4caf6e=_0x388096[_0x291696(0x21b)](_0x291696(0x20a)),_0x355f6e=this[_0x291696(0x222)](_0x4caf6e);_0x355f6e&&(_0x355f6e[_0x291696(0x1f4)]=_0x388096),_(_0x3e52d5,_0x568144,_0x388096)&&(_0x2b0f08=!0x0);}return _0x2b0f08;}[_0x3e01e2(0x1fd)](_0x31267d,_0x201306){const _0x4cf4ad=_0x3e01e2;let _0x211d20=!0x1;const {removed:_0x11ebc3,inserted:_0x41a2ab,moved:_0x34e408}=this[_0x4cf4ad(0x1e6)][_0x4cf4ad(0x21d)](_0x201306);for(const _0x294fb8 of _0x11ebc3)this[_0x4cf4ad(0x22e)](_0x31267d,_0x294fb8)&&(_0x211d20=!0x0);for(const _0x14579c of _0x41a2ab)this[_0x4cf4ad(0x1f7)](_0x31267d,_0x14579c)&&(_0x211d20=!0x0);for(const _0x2d1766 of _0x34e408)this[_0x4cf4ad(0x1e5)](_0x31267d,_0x2d1766)&&(_0x211d20=!0x0);return _0x211d20;}[_0x3e01e2(0x1ed)](_0x21643a){const _0x5b2b00=_0x3e01e2;if(!this[_0x5b2b00(0x1e8)])return!0x1;let _0x567ac6=!0x1;if(this[_0x5b2b00(0x1e8)][_0x5b2b00(0x1d6)]!==this[_0x5b2b00(0x1ea)][_0x5b2b00(0x224)]){const _0x258131=[];for(const _0x461a28 of this[_0x5b2b00(0x1e8)][_0x5b2b00(0x1e3)]()){const _0x1242c5=_0x461a28[_0x5b2b00(0x21b)](_0x5b2b00(0x20a));this[_0x5b2b00(0x222)](_0x1242c5)||(_0x258131[_0x5b2b00(0x22c)](_0x461a28),_0x567ac6=!0x0);}for(const _0x449a60 of _0x258131)_0x21643a[_0x5b2b00(0x218)](_0x449a60);}const _0x52e405=new Set(),_0x6508f8=[];for(const _0x1f7b63 of this[_0x5b2b00(0x1e8)][_0x5b2b00(0x1e3)]()){const _0x2b12e1=_0x1f7b63[_0x5b2b00(0x21b)](_0x5b2b00(0x20a));_0x52e405[_0x5b2b00(0x207)](_0x2b12e1)?(_0x6508f8[_0x5b2b00(0x22c)](_0x1f7b63),_0x567ac6=!0x0):_0x52e405[_0x5b2b00(0x203)](_0x2b12e1);}for(const _0xadb407 of _0x6508f8)_0x21643a[_0x5b2b00(0x218)](_0xadb407);return this[_0x5b2b00(0x1e8)][_0x5b2b00(0x1d6)]||(_0x21643a[_0x5b2b00(0x218)](this[_0x5b2b00(0x1e8)]),this[_0x5b2b00(0x1e8)]=null,_0x567ac6=!0x0),_0x567ac6;}[_0x3e01e2(0x1f7)](_0x1f7c57,_0x367ee8){const _0x4a25d3=_0x3e01e2;if(this[_0x4a25d3(0x1ea)][_0x4a25d3(0x22d)](_0x1cd96c=>_0x1cd96c[_0x4a25d3(0x226)]===_0x367ee8))return!0x1;let _0xdc682d=!0x1;const _0x2e3e45=_0x367ee8[_0x4a25d3(0x21b)](_0x4a25d3(0x20a)),_0x3aa198=this[_0x4a25d3(0x1ea)][_0x4a25d3(0x206)](_0x47d79d=>_0x47d79d['id']===_0x2e3e45);-0x1!==_0x3aa198&&(_0x1f7c57[_0x4a25d3(0x218)](this[_0x4a25d3(0x1ea)][_0x3aa198][_0x4a25d3(0x226)]),this[_0x4a25d3(0x1ea)][_0x4a25d3(0x1e0)](_0x3aa198,0x1),_0xdc682d=!0x0);let _0x24fb6d=this[_0x4a25d3(0x1e8)]?function(_0x509378,_0x3a7493){const _0x4b81f=_0x4a25d3;for(const _0x19c4a6 of _0x509378[_0x4b81f(0x1e3)]())if(_0x19c4a6[_0x4b81f(0x21b)](_0x4b81f(0x20a))===_0x3a7493)return _0x19c4a6;return null;}(this[_0x4a25d3(0x1e8)],_0x2e3e45):null;_0x24fb6d||(_0x24fb6d=_0x1f7c57[_0x4a25d3(0x1ff)](_0x4a25d3(0x1fc),{'footnoteId':_0x2e3e45}),this[_0x4a25d3(0x1e8)]&&(_0x1f7c57[_0x4a25d3(0x230)](_0x24fb6d,this[_0x4a25d3(0x1e8)],_0x4a25d3(0x1f3)),_0xdc682d=!0x0));const _0x340e8a={'id':_0x2e3e45,'reference':_0x367ee8,'definition':_0x24fb6d},_0x534726=I(this[_0x4a25d3(0x1e4)][_0x4a25d3(0x225)],this[_0x4a25d3(0x1ea)],_0x367ee8);this[_0x4a25d3(0x1ea)][_0x4a25d3(0x1e0)](_0x534726,0x0,_0x340e8a);let _0x372ead=_0x534726;return-0x1!==_0x3aa198&&(_0x372ead=Math[_0x4a25d3(0x1df)](_0x534726,_0x3aa198)),this[_0x4a25d3(0x1ec)](_0x1f7c57,_0x372ead)&&(_0xdc682d=!0x0),_0xdc682d;}[_0x3e01e2(0x22e)](_0x1d957e,_0x532619){const _0x4acbbb=_0x3e01e2,_0x321ca1=this[_0x4acbbb(0x1ea)][_0x4acbbb(0x206)](_0x280a92=>_0x280a92['id']===_0x532619);if(-0x1===_0x321ca1)return!0x1;let _0x4d131b=!0x1;const _0x3ccf83=this[_0x4acbbb(0x1ea)][_0x321ca1];return _0x4acbbb(0x235)!==_0x3ccf83[_0x4acbbb(0x1f4)][_0x4acbbb(0x20f)][_0x4acbbb(0x239)]&&(_0x1d957e[_0x4acbbb(0x218)](_0x3ccf83[_0x4acbbb(0x1f4)]),_0x4d131b=!0x0),this[_0x4acbbb(0x1ea)][_0x4acbbb(0x1e0)](_0x321ca1,0x1),this[_0x4acbbb(0x1ec)](_0x1d957e,_0x321ca1)&&(_0x4d131b=!0x0),_0x4d131b;}[_0x3e01e2(0x1e5)](_0x58a91f,_0x16c292){const _0x51e197=_0x3e01e2,_0x3a19cc=_0x16c292[_0x51e197(0x21b)](_0x51e197(0x20a)),_0x74042a=this[_0x51e197(0x1ea)][_0x51e197(0x206)](_0x320ec1=>_0x320ec1['id']===_0x3a19cc),_0x31dcea=this[_0x51e197(0x1ea)][_0x74042a];let _0x26e2a1=!0x1;_0x31dcea[_0x51e197(0x226)]=_0x16c292,this[_0x51e197(0x1ea)][_0x51e197(0x1e0)](_0x74042a,0x1);const _0x30770d=I(this[_0x51e197(0x1e4)][_0x51e197(0x225)],this[_0x51e197(0x1ea)],_0x16c292);return this[_0x51e197(0x1ea)][_0x51e197(0x1e0)](_0x30770d,0x0,_0x31dcea),this[_0x51e197(0x1ec)](_0x58a91f,Math[_0x51e197(0x1df)](_0x74042a,_0x30770d))&&(_0x26e2a1=!0x0),_0x26e2a1;}[_0x3e01e2(0x229)](_0x300860,_0xd6b841){const _0x5b0950=_0x3e01e2;if(!this[_0x5b0950(0x1e8)])return!0x1;const _0x206bc4=this[_0x5b0950(0x1ea)][_0xd6b841];let _0x82f41d;return _0x82f41d=this[_0x5b0950(0x21e)]?this[_0x5b0950(0x21e)]({'footnote':_0x206bc4,'container':this[_0x5b0950(0x1e8)],'digits':String(this[_0x5b0950(0x1ea)][_0x5b0950(0x224)])[_0x5b0950(0x224)],'value':_0xd6b841+0x1}):String(_0xd6b841+0x1),_0x206bc4[_0x5b0950(0x226)][_0x5b0950(0x21b)](_0x5b0950(0x1d3))!=_0x82f41d&&(_0x300860[_0x5b0950(0x21c)](_0x5b0950(0x1d3),_0x82f41d,_0x206bc4[_0x5b0950(0x226)]),!0x0);}[_0x3e01e2(0x1fe)](_0x5055c1){const _0x567aae=_0x3e01e2;if(!this[_0x567aae(0x1e8)]||this[_0x567aae(0x1ea)][_0x567aae(0x224)]<0x2)return!0x1;if(function(_0x3d86fd,_0x39a120){const _0x2dfa56=_0x567aae;if(_0x3d86fd[_0x2dfa56(0x224)]!==_0x39a120[_0x2dfa56(0x224)])return!0x1;for(let _0x599ac6=0x0;_0x599ac6<_0x3d86fd[_0x2dfa56(0x224)];_0x599ac6++)if(_0x3d86fd[_0x599ac6]!==_0x39a120[_0x599ac6])return!0x1;return!0x0;}(this[_0x567aae(0x1ea)][_0x567aae(0x20b)](_0x2efd5a=>_0x2efd5a['id']),Array[_0x567aae(0x216)](this[_0x567aae(0x1e8)][_0x567aae(0x1e3)]())[_0x567aae(0x20b)](_0x20cec3=>_0x20cec3[_0x567aae(0x21b)](_0x567aae(0x20a)))))return!0x1;let _0xa3e804=!0x1;for(let _0x58e733=0x0;_0x58e733<this[_0x567aae(0x1ea)][_0x567aae(0x224)];_0x58e733++){const _0x2088e7=this[_0x567aae(0x1ea)][_0x58e733],_0x309776=_0x5055c1[_0x567aae(0x21f)](_0x2088e7[_0x567aae(0x1f4)]),_0x45bbae=_0x5055c1[_0x567aae(0x208)](this[_0x567aae(0x1e8)],_0x58e733);_0x309776[_0x567aae(0x212)](_0x45bbae)||(_0x5055c1[_0x567aae(0x238)](_0x5055c1[_0x567aae(0x220)](_0x2088e7[_0x567aae(0x1f4)]),_0x45bbae),_0xa3e804=!0x0);}return _0xa3e804;}[_0x3e01e2(0x1e7)](_0x17364c){const _0x271dba=_0x3e01e2;if(!this[_0x271dba(0x1ea)][_0x271dba(0x224)])return!0x1;const {model:_0x3cb11e}=this[_0x271dba(0x1e4)];let _0x5410c8=!0x1;for(let _0x294ea8=0x0;_0x294ea8<this[_0x271dba(0x1ea)][_0x271dba(0x224)]-0x1;_0x294ea8++){const _0x5c27ba=this[_0x271dba(0x1ea)][_0x294ea8],_0x5781f9=this[_0x271dba(0x1ea)][_0x294ea8+0x1],_0x37a75d=_0x3cb11e[_0x271dba(0x21f)](_0x5c27ba[_0x271dba(0x226)]),_0x1ac0b5=_0x3cb11e[_0x271dba(0x21f)](_0x5781f9[_0x271dba(0x226)]);_0x271dba(0x1e2)===_0x37a75d[_0x271dba(0x209)](_0x1ac0b5)&&(this[_0x271dba(0x1e5)](_0x17364c,_0x5c27ba[_0x271dba(0x226)]),_0x294ea8=-0x1,_0x5410c8=!0x0);}return _0x5410c8;}}function _(_0x52b718,_0xbdae88,_0x9c2bce){const _0x183f13=_0x3e01e2;if(_0x9c2bce[_0x183f13(0x1d6)])return!0x1;const _0x2a8c37=_0xbdae88?_0x183f13(0x232):_0x183f13(0x228);return _0x52b718[_0x183f13(0x230)](_0x52b718[_0x183f13(0x1ff)](_0x2a8c37),_0x9c2bce),!0x0;}function I(_0x242e5a,_0x35e4e5,_0x3696e7){const _0x2d8433=_0x3e01e2;if(0x0===_0x35e4e5[_0x2d8433(0x224)])return 0x0;const _0x5ef674=_0x242e5a[_0x2d8433(0x21f)](_0x3696e7);for(let _0x4a967b=0x0;_0x4a967b<_0x35e4e5[_0x2d8433(0x224)];_0x4a967b++){const _0x3b792b=_0x35e4e5[_0x4a967b],_0x1c610f=_0x242e5a[_0x2d8433(0x21f)](_0x3b792b[_0x2d8433(0x226)]);if(_0x2d8433(0x1f5)===_0x5ef674[_0x2d8433(0x209)](_0x1c610f))return _0x4a967b;}const _0x126333=_0x3696e7[_0x2d8433(0x20f)];let _0x37675=-0x1;for(let _0x1e62d8=_0x35e4e5[_0x2d8433(0x224)]-0x1;_0x1e62d8>=0x0;_0x1e62d8--)if(_0x35e4e5[_0x1e62d8][_0x2d8433(0x226)][_0x2d8433(0x20f)]===_0x126333){_0x37675=_0x1e62d8;break;}if(-0x1!==_0x37675)return _0x37675+0x1;const _0xc68fe8=_0x242e5a[_0x2d8433(0x217)][_0x2d8433(0x1f1)](),_0x7f039=_0xc68fe8[_0x2d8433(0x215)](_0x126333[_0x2d8433(0x239)]),_0xda23db=_0xc68fe8[_0x7f039+0x1];if(_0xda23db){for(let _0x384e7f=0x0;_0x384e7f<_0x35e4e5[_0x2d8433(0x224)];_0x384e7f++)if(_0x35e4e5[_0x384e7f][_0x2d8433(0x226)][_0x2d8433(0x20f)][_0x2d8433(0x239)]===_0xda23db)return _0x384e7f;}return _0x35e4e5[_0x2d8433(0x224)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x2a469d,MenuBarMenuListItemButtonView as _0x283dae}from'ckeditor5/src/ui.js';import{Plugin as _0x4b42e}from'ckeditor5/src/core.js';import{IconFootnote as _0x81b814}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4b42e{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x11777f}=this,{componentFactory:_0x559d64}=_0x11777f['ui'];_0x559d64['add']('insertFootnote',x(_0x11777f,_0x2a469d)),_0x559d64['add']('menuBar:insertFootnote',x(_0x11777f,_0x283dae)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3958d1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x3c4a66;for(const _0x26d6d5 in _0x3958d1){const _0x3fb85b=_0x26d6d5,_0xff2b7e=_0x3958d1[_0x3fb85b];if('footnotesLicenseKeyValid'==_0xff2b7e||'footnotesLicenseKeyInvalid'==_0xff2b7e||'footnotesLicenseKeyExpired'==_0xff2b7e||'footnotesLicenseKeyDomainLimit'==_0xff2b7e||'footnotesLicenseKeyNotAllowed'==_0xff2b7e||'footnotesLicenseKeyEvaluationLimit'==_0xff2b7e||'footnotesLicenseKeyTrialLimit'==_0xff2b7e||'footnotesLicenseKeyUsageLimit'==_0xff2b7e){delete _0x3958d1[_0x3fb85b],_0x3c4a66=_0xff2b7e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x3c4a66&&_0x3958d1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x3c4a66&&_0x3958d1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x3c4a66&&_0x3958d1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x3c4a66&&_0x3958d1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x3c4a66&&_0x3958d1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x3c4a66&&_0x3958d1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x3c4a66&&_0x3958d1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4f2348,_0x967428){const _0x4c05ad=_0x4f2348['commands']['get']('insertFootnote');return _0x2fcd04=>{const {t:t}=_0x2fcd04,_0x4134b4=new _0x967428(_0x2fcd04),_0x20cb17=_0x4134b4 instanceof _0x283dae;return _0x4134b4['bind']('isEnabled')['to'](_0x4c05ad,'isEnabled'),_0x4134b4['set']({'label':t(_0x20cb17?'Footnote':'Insert\x20footnote'),'icon':_0x81b814,'tooltip':!0x0}),_0x4134b4['on']('execute',()=>{_0x4c05ad['execute'](),_0x4f2348['editing']['view']['focus']();}),_0x4134b4;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xab38df,_0xb00a26){var _0x1c1e5f=_0x5758,_0x468fb8=_0xab38df();while(!![]){try{var _0x3b31ce=-parseInt(_0x1c1e5f(0x1e8))/0x1+-parseInt(_0x1c1e5f(0x1e7))/0x2+-parseInt(_0x1c1e5f(0x1e9))/0x3+-parseInt(_0x1c1e5f(0x1e4))/0x4+parseInt(_0x1c1e5f(0x1ea))/0x5+-parseInt(_0x1c1e5f(0x1e5))/0x6*(parseInt(_0x1c1e5f(0x1e6))/0x7)+parseInt(_0x1c1e5f(0x1ec))/0x8*(parseInt(_0x1c1e5f(0x1eb))/0x9);if(_0x3b31ce===_0xb00a26)break;else _0x468fb8['push'](_0x468fb8['shift']());}catch(_0xd8aa5d){_0x468fb8['push'](_0x468fb8['shift']());}}}(_0x553a,0xd2b2b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x553a(){var _0x452401=['6049880RwNegB','2898zcToaf','14973bBsWTi','546374nXwmUr','1554154ohBtTO','5110890uYosnN','5427890SOODcj','9kMmmva','46832152jUdTXv'];_0x553a=function(){return _0x452401;};return _0x553a();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x5758(_0x58ccf7,_0x127806){var _0x553ae5=_0x553a();return _0x5758=function(_0x575885,_0x535e3e){_0x575885=_0x575885-0x1e4;var _0x1cc1f2=_0x553ae5[_0x575885];return _0x1cc1f2;},_0x5758(_0x58ccf7,_0x127806);}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
|
-
|
|
23
|
+
function _0x4c40(){const _0x58c676=['element','1153070xHahho','_model','4300210IdWqte','flat','name','length','type','2165994YGRSnB','get','_getElementKey','getChanges','reset','root','1063659RVrArh','remove','attributes','_trackedElements','2VKXTCT','values','set','$text','3164QPKaWp','createRangeOn','position','elementName','clear','_elementName','159500RRWtdE','has','insert','5742sXXyOc','push','from','$graveyard','getItems','getElementKey','add','rootName','delete','nodeAfter','314200fQfGda','slice','16VNnOEN'];_0x4c40=function(){return _0x58c676;};return _0x4c40();}const _0x565240=_0x44d8;(function(_0x389a50,_0x598862){const _0x30d55f=_0x44d8,_0x8e6ed3=_0x389a50();while(!![]){try{const _0x228024=-parseInt(_0x30d55f(0x159))/0x1+-parseInt(_0x30d55f(0x14f))/0x2*(parseInt(_0x30d55f(0x14b))/0x3)+parseInt(_0x30d55f(0x13a))/0x4+parseInt(_0x30d55f(0x13e))/0x5+parseInt(_0x30d55f(0x130))/0x6*(parseInt(_0x30d55f(0x153))/0x7)+parseInt(_0x30d55f(0x13c))/0x8*(parseInt(_0x30d55f(0x145))/0x9)+-parseInt(_0x30d55f(0x140))/0xa;if(_0x228024===_0x598862)break;else _0x8e6ed3['push'](_0x8e6ed3['shift']());}catch(_0x50a041){_0x8e6ed3['push'](_0x8e6ed3['shift']());}}}(_0x4c40,0x441ca));function _0x44d8(_0x93d704,_0x2ab6e3){const _0x4c40bb=_0x4c40();return _0x44d8=function(_0x44d805,_0x139888){_0x44d805=_0x44d805-0x12f;let _0x3ee2da=_0x4c40bb[_0x44d805];return _0x3ee2da;},_0x44d8(_0x93d704,_0x2ab6e3);}export class ModelElementTracker{[_0x565240(0x13f)];[_0x565240(0x158)];[_0x565240(0x147)];[_0x565240(0x14e)]=new Map();constructor(_0x5dcf6a,_0x70bf7b){const _0x9a1578=_0x565240;this[_0x9a1578(0x13f)]=_0x5dcf6a,this[_0x9a1578(0x158)]=_0x70bf7b[_0x9a1578(0x156)],this[_0x9a1578(0x147)]=_0x70bf7b[_0x9a1578(0x135)];}[_0x565240(0x149)](){const _0x1cb60f=_0x565240;this[_0x1cb60f(0x14e)][_0x1cb60f(0x157)]();}[_0x565240(0x148)](_0x19a681){const _0x37c64d=_0x565240,_0x532429=new Set(),_0xd4f604=new Map();for(const _0x258495 of _0x19a681){if(_0x37c64d(0x12f)===_0x258495[_0x37c64d(0x144)]&&_0x37c64d(0x152)!==_0x258495[_0x37c64d(0x142)]&&_0x258495[_0x37c64d(0x155)][_0x37c64d(0x139)]){const _0x89d8b3=this[_0x37c64d(0x13f)][_0x37c64d(0x154)](_0x258495[_0x37c64d(0x155)][_0x37c64d(0x139)]);for(const _0x31964d of _0x89d8b3[_0x37c64d(0x134)]()){if(!_0x31964d['is'](_0x37c64d(0x13d),this[_0x37c64d(0x158)]))continue;const _0x340e66=this[_0x37c64d(0x147)](_0x31964d);_0xd4f604[_0x37c64d(0x15a)](_0x340e66)||_0xd4f604[_0x37c64d(0x151)](_0x340e66,[]),_0xd4f604[_0x37c64d(0x146)](_0x340e66)[_0x37c64d(0x131)](_0x31964d);}}if(_0x37c64d(0x14c)===_0x258495[_0x37c64d(0x144)]&&_0x258495[_0x37c64d(0x142)]===this[_0x37c64d(0x158)]){const _0x366ef7=this[_0x37c64d(0x147)]({'getAttribute':_0x359fc9=>_0x258495[_0x37c64d(0x14d)][_0x37c64d(0x146)](_0x359fc9)});_0x532429[_0x37c64d(0x136)](_0x366ef7);}}for(const [_0x51ac9e,_0x329ea2]of this[_0x37c64d(0x14e)])_0x37c64d(0x133)===_0x329ea2[_0x37c64d(0x14a)][_0x37c64d(0x137)]&&_0x532429[_0x37c64d(0x136)](_0x51ac9e);for(const _0x537d78 of _0x532429)this[_0x37c64d(0x14e)][_0x37c64d(0x138)](_0x537d78);for(const [_0x53dbbe,_0x435e7a]of _0xd4f604)this[_0x37c64d(0x14e)][_0x37c64d(0x151)](_0x53dbbe,_0x435e7a[_0x435e7a[_0x37c64d(0x143)]-0x1]);const _0x1c7167=new Set();for(const [_0x4b0eb8,_0x38bca1]of _0xd4f604)_0x532429[_0x37c64d(0x15a)](_0x4b0eb8)&&(_0x1c7167[_0x37c64d(0x136)](_0x38bca1[0x0]),_0x38bca1[_0x37c64d(0x143)]>0x1?_0xd4f604[_0x37c64d(0x151)](_0x4b0eb8,_0x38bca1[_0x37c64d(0x13b)](0x1)):_0xd4f604[_0x37c64d(0x138)](_0x4b0eb8),_0x532429[_0x37c64d(0x138)](_0x4b0eb8));return{'removed':Array[_0x37c64d(0x132)](_0x532429),'inserted':Array[_0x37c64d(0x132)](_0xd4f604[_0x37c64d(0x150)]())[_0x37c64d(0x141)](),'moved':Array[_0x37c64d(0x132)](_0x1c7167)};}}
|