@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251016.0 → 0.0.0-nightly-20251017.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.
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x58d380}from'ckeditor5/src/core.js';import{isWidget as _0x3c9a62,toWidget as _0x58098e,toWidgetEditable as _0x2203ef}from'ckeditor5/src/widget.js';import{uid as _0x2b68c6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x224898,ClickObserver as _0xc788f8}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x314a79}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x29dbba}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x58d380{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x314a79];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x191520}=this;_0x191520['config']['define']('footnotes.multiBlock',!0x0),_0x191520['commands']['add']('insertFootnote',new _0x29dbba(_0x191520)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x49395b){const _0x3d00d9=_0x355425([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]),_0x56d2c9=0x47a28506,_0x5eaf66=0x47a5f35e^_0x56d2c9,_0x5864e9=window[_0x355425([0x44,0x61,0x74,0x65])][_0x355425([0x6e,0x6f,0x77])](),_0x430fb6=_0x49395b[_0x355425([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x299d74=new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc3f519=>{_0x430fb6[_0x355425([0x6f,0x6e,0x63,0x65])](_0x355425([0x72,0x65,0x61,0x64,0x79]),_0xc3f519);}),_0xd82b64={[_0x355425([0x6b,0x74,0x79])]:_0x355425([0x45,0x43]),[_0x355425([0x75,0x73,0x65])]:_0x355425([0x73,0x69,0x67]),[_0x355425([0x63,0x72,0x76])]:_0x355425([0x50,0x2d,0x32,0x35,0x36]),[_0x355425([0x78])]:_0x355425([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]),[_0x355425([0x79])]:_0x355425([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]),[_0x355425([0x61,0x6c,0x67])]:_0x355425([0x45,0x53,0x32,0x35,0x36])},_0x5bddad=_0x430fb6[_0x355425([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x355425([0x67,0x65,0x74])](_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x29980a(){let _0x1bf0f5,_0x5f37ec=null,_0x38bcc4=null;try{if(_0x5bddad==_0x355425([0x47,0x50,0x4c]))return _0x355425([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1bf0f5=_0x101654(),!_0x1bf0f5)return _0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1bf0f5[_0x355425([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x38bcc4=_0x2bcec0(_0x1bf0f5[_0x355425([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1bf0f5[_0x355425([0x6a,0x74,0x69])])),await _0xd19e5e()?_0x4ddec6()?_0x1a1f01()?_0x355425([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4b8f30()?(_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355425([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5f37ec=_0x283b02(_0x355425([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x355425([0x74,0x72,0x69,0x61,0x6c])&&(_0x5f37ec=_0x283b02(_0x355425([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x12049f()):_0x355425([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x355425([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x355425([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a1f01(){const _0xdb4b4a=[_0x355425([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x355425([0x74,0x72,0x69,0x61,0x6c])][_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5864e9/0x3e8:0xe10*_0x5eaf66;return _0x1bf0f5[_0x355425([0x65,0x78,0x70])]<_0xdb4b4a;}function _0x4ddec6(){const _0x234b00=_0x1bf0f5[_0x355425([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x234b00&&(!!_0x234b00[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x2a]))||!!_0x234b00[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x46,0x4f,0x4f])));}function _0x4b8f30(){const _0x502fd4=_0x1bf0f5[_0x355425([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x502fd4||0x0==_0x502fd4[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f26c8}=new URL(window[_0x355425([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x502fd4[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f26c8))return!0x0;const _0x22988d=_0x3f26c8[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e]));return _0x502fd4[_0x355425([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2963db=>_0x2963db[_0x355425([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x355425([0x2a])))[_0x355425([0x6d,0x61,0x70])](_0x417898=>_0x417898[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e])))[_0x355425([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcdd2de=>_0xcdd2de[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x22988d[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355425([0x6d,0x61,0x70])](_0x1db0ee=>Array(_0x22988d[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1db0ee[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x355425([0x66,0x69,0x6c,0x6c])](_0x1db0ee[0x0]===_0x355425([0x2a])?_0x355425([0x2a]):'')[_0x355425([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1db0ee))[_0x355425([0x73,0x6f,0x6d,0x65])](_0x47e472=>_0x22988d[_0x355425([0x65,0x76,0x65,0x72,0x79])]((_0x3d7f88,_0x3c140a)=>_0x47e472[_0x3c140a]===_0x3d7f88||_0x47e472[_0x3c140a]===_0x355425([0x2a])));}function _0x12049f(){return _0x5f37ec&&_0x38bcc4?new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x319222,_0x307282)=>{_0x5f37ec[_0x355425([0x74,0x68,0x65,0x6e])](_0x319222,_0x307282),_0x38bcc4[_0x355425([0x74,0x68,0x65,0x6e])](_0x3de43c=>{_0x3de43c!=_0x355425([0x56,0x61,0x6c,0x69,0x64])&&_0x319222(_0x3de43c);},_0x307282);}):_0x5f37ec||_0x38bcc4||_0x355425([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2bcec0(_0x144da4,_0x50d53){return new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4536cb=>{if(_0x194854())return _0x4536cb(_0x355425([0x56,0x61,0x6c,0x69,0x64]));_0x508051(),_0x430fb6[_0x355425([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3dd7f8=!0x1;const _0x46b6f4=_0x2b68c6();function _0x58e5b0(_0x236d10){return!!_0x236d10&&(typeof _0x236d10===_0x355425([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x236d10===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x236d10[_0x355425([0x74,0x68,0x65,0x6e])]===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x236d10[_0x355425([0x63,0x61,0x74,0x63,0x68])]===_0x355425([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3c3bf8(_0x507118){_0x1d4f12(_0x507118)[_0x355425([0x74,0x68,0x65,0x6e])](_0xe30044=>{if(!_0xe30044||_0xe30044[_0x355425([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x355425([0x6f,0x6b]))return _0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4d3371(_0x2abb47(_0x46b6f4+_0x50d53))!=_0xe30044[_0x355425([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x355425([0x56,0x61,0x6c,0x69,0x64]);})[_0x355425([0x74,0x68,0x65,0x6e])](_0x4b9683=>(_0x4cfd54(),_0x4b9683),()=>{const _0x130a82=_0x4b79e4();return null==_0x130a82?(_0x4cfd54(),_0x355425([0x56,0x61,0x6c,0x69,0x64])):_0x355425(_0x5864e9-_0x130a82>(0x63ae0106^_0x56d2c9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x355425([0x74,0x68,0x65,0x6e])](_0x4536cb)[_0x355425([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xd6d2a4=0x47946b86^_0x56d2c9;function _0x4cfd54(){const _0x3ef7db=_0x355425([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d3371(_0x2abb47(_0x144da4)),_0x2deaeb=_0x3b8bf6(_0x4d3371(window[_0x355425([0x4d,0x61,0x74,0x68])][_0x355425([0x63,0x65,0x69,0x6c])](_0x5864e9/_0xd6d2a4)));window[_0x355425([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355425([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3ef7db,_0x2deaeb);}function _0x4b79e4(){const _0x19ced6=_0x355425([0x6c,0x6c,0x63,0x74,0x2d])+_0x4d3371(_0x2abb47(_0x144da4)),_0x1c0ac2=window[_0x355425([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x355425([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x19ced6);return _0x1c0ac2?window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b8bf6(_0x1c0ac2),0x10)*_0xd6d2a4:null;}function _0x1d4f12(_0x5d5edc){return new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4d52c6,_0x112f86)=>{_0x5d5edc[_0x355425([0x74,0x68,0x65,0x6e])](_0x4d52c6,_0x112f86),window[_0x355425([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x112f86,0x47a351c6^_0x56d2c9);});}}_0x430fb6[_0x355425([0x6f,0x6e])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a37e0,_0x31cb4e)=>{if(_0x31cb4e[0x0]!=_0x144da4)return _0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x31cb4e[0x1]={..._0x31cb4e[0x1],[_0x355425([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46b6f4};},{[_0x355425([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355425([0x68,0x69,0x67,0x68])}),_0x430fb6[_0x355425([0x6f,0x6e])](_0x355425([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56a5b9=>{_0x58e5b0(_0x56a5b9[_0x355425([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3dd7f8=!0x0,_0x3c3bf8(_0x56a5b9[_0x355425([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x355425([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x355425([0x6c,0x6f,0x77])}),_0x299d74[_0x355425([0x74,0x68,0x65,0x6e])](()=>{_0x3dd7f8||_0x4536cb(_0x355425([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x194854(){return _0x430fb6[_0x355425([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355425([0x76,0x69,0x65,0x77])][_0x355425([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x355425([0x61,0x75,0x74,0x6f]);}function _0x508051(){_0x430fb6[_0x355425([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x355425([0x76,0x69,0x65,0x77])][_0x355425([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x355425([0x61,0x75,0x74,0x6f]);}}function _0x283b02(_0x3e4cd1){const _0x4e4070=[new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4159dd=>setTimeout(_0x4159dd,0x47abbbca^_0x56d2c9)),_0x299d74[_0x355425([0x74,0x68,0x65,0x6e])](()=>new window[(_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x24b711=>{let _0x25e90f=0x0;_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x6f,0x6e])](_0x355425([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5d6c19,_0x5883a2)=>{_0x5883a2[0x0][_0x355425([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x25e90f++,_0x25e90f==(0x47a284fe^_0x56d2c9)&&(_0x24b711(),_0x5d6c19[_0x355425([0x6f,0x66,0x66])]());});}))];return window[_0x355425([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x355425([0x72,0x61,0x63,0x65])](_0x4e4070)[_0x355425([0x74,0x68,0x65,0x6e])](()=>_0x3e4cd1);}async function _0x4328b0(){await _0x299d74,_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x28ed3c,_0x430fb6[_0x355425([0x6d,0x6f,0x64,0x65,0x6c])][_0x355425([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x28ed3c,_0x430fb6[_0x355425([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x355425([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3ad8e2(_0x3e3497){const _0x41cf08=_0x4c6e97();_0x430fb6[_0x41cf08]=_0x355425([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3e3497,_0x3e3497!=_0x355425([0x56,0x61,0x6c,0x69,0x64])&&_0x4328b0();}function _0x4c6e97(){const _0x5896cc=window[_0x355425([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x355425([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x355425([0x6e,0x6f,0x77])]())[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x355425([0x2e]),'');let _0x390dad=_0x355425([0x75]);for(let _0x422d69=0x0;_0x422d69<_0x5896cc[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x422d69+=0x2){let _0x53b978=window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5896cc[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x422d69,_0x422d69+0x2));_0x53b978>=_0x3d00d9[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x53b978-=_0x3d00d9[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x390dad+=_0x3d00d9[_0x53b978];}return _0x390dad;}function _0x101654(){const _0x2aa7bd=_0x5bddad[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e]));if(0x3!=_0x2aa7bd[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x33f37b(_0x2aa7bd[0x1]);function _0x33f37b(_0x3cd158){const _0x23c4aa=_0x24c44c(_0x3cd158);return _0x23c4aa&&_0x5e5c1d()?_0x23c4aa:null;function _0x5e5c1d(){const _0x48ca79=_0x23c4aa[_0x355425([0x6a,0x74,0x69])],_0x31561f=window[_0x355425([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x48ca79[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48ca79[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35a1b3={..._0x23c4aa,[_0x355425([0x6a,0x74,0x69])]:_0x48ca79[_0x355425([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x48ca79[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35a1b3[_0x355425([0x76,0x63])],_0x2abb47(_0x35a1b3)==_0x31561f;}}}async function _0xd19e5e(){let _0x33891b=!0x0;try{const _0x2e0d0a=_0x5bddad[_0x355425([0x73,0x70,0x6c,0x69,0x74])](_0x355425([0x2e])),[_0x2681d2,_0x16233b,_0x2ee8f0]=_0x2e0d0a;return _0x4aafa2(_0x2681d2),await _0x2e27af(_0x2681d2,_0x16233b,_0x2ee8f0),_0x33891b;}catch{return!0x1;}function _0x4aafa2(_0x3c6236){const _0x139ef5=_0x24c44c(_0x3c6236);_0x139ef5&&_0x139ef5[_0x355425([0x61,0x6c,0x67])]==_0x355425([0x45,0x53,0x32,0x35,0x36])||(_0x33891b=!0x1);}async function _0x2e27af(_0x193ce8,_0xc80115,_0x5237b8){const _0x3c8e7d=window[_0x355425([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x355425([0x66,0x72,0x6f,0x6d])](_0x204c99(_0x5237b8),_0x1506ac=>_0x1506ac[_0x355425([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3132f0=new window[(_0x355425([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x355425([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x193ce8+_0x355425([0x2e])+_0xc80115),_0x48e7cd=window[_0x355425([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x355425([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x48e7cd)return;const _0x4e701d=await _0x48e7cd[_0x355425([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x355425([0x6a,0x77,0x6b]),_0xd82b64,{[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x45,0x43,0x44,0x53,0x41]),[_0x355425([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x355425([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x355425([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x48e7cd[_0x355425([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x45,0x43,0x44,0x53,0x41]),[_0x355425([0x68,0x61,0x73,0x68])]:{[_0x355425([0x6e,0x61,0x6d,0x65])]:_0x355425([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x4e701d,_0x3c8e7d,_0x3132f0)||(_0x33891b=!0x1);}}function _0x24c44c(_0x3a6f83){return _0x3a6f83[_0x355425([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x355425([0x65,0x79]))?JSON[_0x355425([0x70,0x61,0x72,0x73,0x65])](_0x204c99(_0x3a6f83)):null;}function _0x204c99(_0x4bb049){return window[_0x355425([0x61,0x74,0x6f,0x62])](_0x4bb049[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x355425([0x2b]))[_0x355425([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x355425([0x2f])));}function _0x2abb47(_0x37d0f9){let _0x56587c=0x1505;function _0x4a5c80(_0x2e7870){for(let _0x263f80=0x0;_0x263f80<_0x2e7870[_0x355425([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x263f80++){const _0xf51477=_0x2e7870[_0x355425([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x263f80);_0x56587c=(_0x56587c<<0x5)+_0x56587c+_0xf51477,_0x56587c&=_0x56587c;}}function _0x405e09(_0x5985ba){Array[_0x355425([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5985ba)?_0x5985ba[_0x355425([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x405e09):_0x5985ba&&typeof _0x5985ba==_0x355425([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x355425([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5985ba)[_0x355425([0x73,0x6f,0x72,0x74])]()[_0x355425([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xe3d904,_0x8c9696])=>{_0x4a5c80(_0xe3d904),_0x405e09(_0x8c9696);}):_0x4a5c80(window[_0x355425([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5985ba));}return _0x405e09(_0x37d0f9),_0x56587c>>>0x0;}function _0x4d3371(_0x31769f){return _0x31769f[_0x355425([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x355425([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x355425([0x30]));}function _0x3b8bf6(_0x2ce61d){return _0x2ce61d[_0x355425([0x73,0x70,0x6c,0x69,0x74])]('')[_0x355425([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x355425([0x6a,0x6f,0x69,0x6e])]('');}function _0x28ed3c(){}function _0x355425(_0x4fc185){return _0x4fc185['map'](_0x22748c=>String['fromCharCode'](_0x22748c))['join']('');}_0x3ad8e2(await _0x29980a());}(this);}['_moveSelectionToFootnoteDefinition'](_0x49db09){const {plugins:_0x2817d2,editing:_0x57d6be,model:_0x252606}=this['editor'],_0x4f3594=_0x2817d2['get'](_0x314a79)['getFootnote'](_0x49db09);return!!_0x4f3594&&(_0x252606['change'](_0x3a5af0=>{_0x3a5af0['setSelection'](_0x3a5af0['createPositionAt'](_0x4f3594['definition'],'end'));}),_0x57d6be['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4ab0da){const {plugins:_0x17af9,editing:_0x2dcfc9,model:_0x106093}=this['editor'],_0x4e100f=_0x17af9['get'](_0x314a79)['getFootnote'](_0x4ab0da);return!!_0x4e100f&&(_0x106093['change'](_0xe87c60=>{_0xe87c60['setSelection'](_0x4e100f['reference'],'on');}),_0x2dcfc9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x121f06}=this['editor']['model'],_0xc53101=this['editor']['config']['get']('footnotes.multiBlock');_0x121f06['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x121f06['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x121f06['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xc53101?_0x121f06['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x121f06['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x121f06['addChildCheck'](_0x1911a1=>{for(const _0x37a8d9 of _0x1911a1)if('footnoteDefinition'===_0x37a8d9['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x34a1c6}=this,{conversion:_0x41c084,editing:_0x500f1c}=_0x34a1c6,{t:t}=_0x34a1c6['locale'];_0x41c084['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x228ee8,{writer:_0x34ed71,consumable:_0x5f4fce})=>{const _0x4b050d=_0x228ee8['getChild'](0x0);if(!_0x4b050d||!_0x4b050d['is']('element','a'))return null;const _0x3250b5=_0x4b050d['getAttribute']('href')||'';if(!_0x3250b5['startsWith']('#'))return null;const _0x469162=_0x3250b5['replace'](/^#/,'');if(!_0x469162)return null;_0x5f4fce['consume'](_0x4b050d,{'name':!0x0,'attributes':['href']});for(const {item:_0x2c2faf}of _0x500f1c['view']['createRangeIn'](_0x4b050d))_0x2c2faf['is']('$textProxy')?_0x5f4fce['consume'](_0x2c2faf['textNode'],{'name':!0x0}):_0x2c2faf['is']('element')&&_0x5f4fce['consume'](_0x2c2faf,{'name':!0x0});return _0x34ed71['createElement']('footnoteRef',{'footnoteId':_0x469162});}}),_0x41c084['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcb1d4,{writer:_0x4a9e8b})=>g(_0xcb1d4,_0x4a9e8b)}),_0x41c084['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xbdf89f,{writer:_0x5ed677})=>{const _0x17b4bb=_0xbdf89f['getAttribute']('footnoteCounter');return _0x58098e(g(_0xbdf89f,_0x5ed677),_0x5ed677,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x17b4bb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x149348}=this,{t:t}=_0x149348['locale'],{conversion:_0x224b91}=_0x149348;_0x224b91['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x224b91['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x224b91['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x53545c,{writer:_0x53f447})=>{const _0xfbfc0d=_0x53f447['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x53f447['createContainerElement']('ol',{'class':'footnotes'},_0x53f447['createSlot']())),_0x411740=_0x58098e(_0xfbfc0d,_0x53f447,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x53f447['setCustomProperty']('footnotesDefinitions',!0x0,_0x411740),_0x411740;}});}['_defineDefinitionConverters'](){const {editor:_0x5ced4f}=this,{conversion:_0x1b6966,locale:_0x46b043}=_0x5ced4f,_0x704b74=_0x5ced4f['config']['get']('footnotes.multiBlock');_0x1b6966['for']('upcast')['add'](_0x125ada=>{_0x125ada['on']('element:li',(_0x25b6fe,_0x292ca7,_0x3bfaaa)=>{const _0x153051=_0x292ca7['viewItem'];if(!_0x153051['hasClass']('footnote-definition')||!_0x153051['getAttribute']('id'))return;const _0x4eee32=_0x153051['parent'];if(!_0x4eee32['is']('element','ol')||!_0x4eee32['hasClass']('footnotes'))return;if(!_0x3bfaaa['consumable']['test'](_0x153051,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2b6ef0=_0x3bfaaa['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x153051['getAttribute']('id')});if(!_0x3bfaaa['safeInsert'](_0x2b6ef0,_0x292ca7['modelCursor']))return;_0x3bfaaa['consumable']['consume'](_0x153051,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x452e34=Array['from'](_0x153051['getChildren']())['find'](_0x4ee22e=>_0x4ee22e['is']('element')&&_0x4ee22e['hasClass']('footnote-content'));for(const _0x30da2c of _0x153051['getChildren']())_0x30da2c['is']('element')&&(_0x3bfaaa['consumable']['consume'](_0x30da2c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3bfaaa['consumable']['consume'](_0x30da2c,{'name':!0x0,'classes':'footnote-content'}));if(_0x452e34){if(_0x704b74)_0x3bfaaa['convertChildren'](_0x452e34,_0x2b6ef0);else{const _0x5d058e=_0x3bfaaa['writer']['createElement']('footnoteInlineContent');_0x3bfaaa['writer']['insert'](_0x5d058e,_0x2b6ef0),_0x3bfaaa['convertChildren'](_0x452e34,_0x5d058e);}}_0x3bfaaa['updateConversionResult'](_0x2b6ef0,_0x292ca7);});}),_0x1b6966['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x51ec02,{writer:_0x454042})=>D(_0x51ec02,_0x454042,_0x46b043,{'dataPipeline':!0x0})}),_0x1b6966['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xa1dc57,{writer:_0x2d4036})=>D(_0xa1dc57,_0x2d4036,_0x46b043)});}['_defineBogusParagraphConverters'](){const {editor:_0x38da9d}=this,{conversion:_0x2ee263}=_0x38da9d;_0x38da9d['config']['get']('footnotes.multiBlock')?(_0x2ee263['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x2ee263['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x38da9d['model']['document'],'change:data',()=>{!function(_0x20dee2,_0x56d69f){const _0x45797d=_0x20dee2['document']['differ'],_0x157372=new Set();for(const _0x305895 of _0x45797d['getChanges']()){const _0x5d63f3='attribute'==_0x305895['type']?_0x305895['range']['start']['parent']:_0x305895['position']['parent'];_0x5d63f3['is']('element','footnoteDefinition')&&_0x157372['add'](_0x5d63f3);}for(const _0x3c0e1f of _0x157372['values']()){const _0x49ad26=Array['from'](_0x3c0e1f['getChildren']())['filter'](_0x135fb7=>p(_0x135fb7,_0x56d69f['mapper']));for(const _0x1843f0 of _0x49ad26)_0x56d69f['reconvertItem'](_0x1843f0);}}(_0x38da9d['model'],_0x38da9d['editing']);})):(_0x2ee263['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x2ee263['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x198f43,{writer:_0x271e5d})=>{const _0x560a25=_0x271e5d['createContainerElement']('span');return _0x271e5d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x560a25),_0x560a25;}}));}['_defineKeyboardHandlers'](){const {editor:_0x51225f}=this,{editing:_0x25fd21,t:t}=_0x51225f,_0x1399f4=_0x51225f['model']['document']['selection'];_0x51225f['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x51225f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0x25fd21['view']['document'],'enter',(_0xd50685,_0x5d0a61)=>{const _0x16ff40=function(_0x3e5251){const _0x2d5f89=_0x3e5251['getSelectedElement']();if(_0x2d5f89?.['is']('element','footnoteRef'))return _0x2d5f89;return null;}(_0x1399f4);if(_0x16ff40){const _0x188d34=_0x16ff40['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x188d34),_0x5d0a61['preventDefault'](),_0xd50685['stop']();}},{'context':_0x3c9a62});}['_defineClickHandlers'](){const {editor:_0x1edad4}=this,{editing:_0x4c404c}=_0x1edad4;_0x1edad4['editing']['view']['addObserver'](_0x224898),_0x1edad4['editing']['view']['addObserver'](_0xc788f8);let _0x25013c=!0x1;this['listenTo'](_0x4c404c['view']['document'],'pointerdown',(_0x4fe333,_0x50eac1)=>{const {target:_0x35d5f0}=_0x50eac1,_0x450ce4=_0x4c404c['view']['document']['selection'];_0x25013c=!(!_0x35d5f0['is']('element','sup')||!_0x35d5f0['hasClass']('footnote'))&&_0x450ce4['getSelectedElement']()===_0x35d5f0;},{'priority':'high'}),this['listenTo'](_0x4c404c['view']['document'],'click',(_0x566c6e,_0x5199cd)=>{const {target:_0x3a9116}=_0x5199cd,_0xfe007f=_0x3a9116['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0xfe007f['slice'](0x1)),_0x566c6e['stop'](),_0x5199cd['preventDefault']();},{'priority':'high','context':_0x4a3132=>_0x4a3132['is']('element','sup')&&_0x4a3132['hasClass']('footnote')&&_0x25013c}),this['listenTo'](_0x4c404c['view']['document'],'click',(_0x336f44,_0x373d95)=>{const {target:_0x5bd81c}=_0x373d95;if(!_0x5bd81c['is']('element','a'))return;let _0x579ad0=_0x5bd81c['getAttribute']('href');if(!_0x579ad0?.['startsWith']('#'))return;_0x579ad0=_0x579ad0['slice'](0x1);let _0x315302=!0x1;(_0x579ad0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x579ad0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x579ad0))&&(_0x315302=!0x0),_0x315302&&(_0x373d95['preventDefault'](),_0x336f44['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x1b8b15}={}){return(_0x9c5fd7,{writer:_0x162f69})=>{if(!h(_0x9c5fd7))return null;if(!_0x1b8b15)return _0x162f69['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x8eee75=_0x162f69['createContainerElement']('p');return _0x162f69['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8eee75),_0x8eee75;};}function h(_0x5ade0c){const {parent:_0x157f17}=_0x5ade0c;if(!_0x157f17?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x157f17['childCount'])return!0x1;for(const _0x1fc06f of _0x5ade0c['getAttributeKeys']())if(!_0x1fc06f['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1fc06f)return!0x1;return!0x0;}function p(_0x3c83f2,_0x4777e3){if(!_0x3c83f2['is']('element','paragraph'))return!0x1;const _0x488d3e=_0x4777e3['toViewElement'](_0x3c83f2);return!!_0x488d3e&&h(_0x3c83f2)!==_0x488d3e['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x334b54){return _0x3c9a62(_0x334b54)&&_0x334b54['is']('containerElement')&&!!_0x334b54['getCustomProperty']('footnotesDefinitions');}function g(_0x38648f,_0x2e74db){const _0x2eba40=_0x38648f['getAttribute']('footnoteId'),_0x5e484b=_0x38648f['getAttribute']('footnoteCounter'),_0x4e6194=_0x2e74db['createUIElement']('a',{'id':'ref-'+_0x2eba40,'href':'#'+_0x2eba40},function(_0x459856){const _0x42075b=this['toDomElement'](_0x459856);return _0x42075b['textContent']=_0x5e484b,_0x42075b;}),_0x3e7ad2=_0x2e74db['createContainerElement']('sup',{'class':'footnote'},[_0x4e6194]);return _0x3e7ad2['getFillerOffset']=()=>null,_0x3e7ad2;}function D(_0x60293,_0x27810b,_0x126907,{dataPipeline:_0x36b31a}={}){const {t:t}=_0x126907,_0x3a579f=_0x60293['getAttribute']('footnoteId'),_0x273e8a=_0x27810b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3a579f},function(_0x498ee7){const _0x1689ad=this['toDomElement'](_0x498ee7);return _0x1689ad['innerText']='^',_0x1689ad;}),_0x43bc98=_0x36b31a?_0x27810b['createContainerElement']('div',{'class':'footnote-content'}):_0x2203ef(_0x27810b['createEditableElement']('div',{'class':'footnote-content'}),_0x27810b,{'label':t('Footnote\x20content.')});return _0x27810b['insert'](_0x27810b['createPositionAt'](_0x43bc98,0x0),_0x27810b['createSlot']()),_0x27810b['createContainerElement']('li',{'class':'footnote-definition','id':_0x3a579f},[_0x273e8a,_0x43bc98]);}
23
+ import{Plugin as _0x1a0332}from'ckeditor5/src/core.js';import{isWidget as _0x14b14a,toWidget as _0x3b6304,toWidgetEditable as _0x46fe99}from'ckeditor5/src/widget.js';import{uid as _0x586004}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4a2628,ClickObserver as _0x4e989a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x51c5e9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x251ec6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1a0332{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x51c5e9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9b6762}=this;_0x9b6762['config']['define']('footnotes.multiBlock',!0x0),_0x9b6762['commands']['add']('insertFootnote',new _0x251ec6(_0x9b6762)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1c06fb){const _0x24cb07=_0x5263fa([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]),_0xa93d7d=0x47a28506,_0x28dab7=0x47a5f376^_0xa93d7d,_0x13091b=window[_0x5263fa([0x44,0x61,0x74,0x65])][_0x5263fa([0x6e,0x6f,0x77])](),_0x45c336=_0x1c06fb[_0x5263fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a44d8=new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59329e=>{_0x45c336[_0x5263fa([0x6f,0x6e,0x63,0x65])](_0x5263fa([0x72,0x65,0x61,0x64,0x79]),_0x59329e);}),_0x4efacb={[_0x5263fa([0x6b,0x74,0x79])]:_0x5263fa([0x45,0x43]),[_0x5263fa([0x75,0x73,0x65])]:_0x5263fa([0x73,0x69,0x67]),[_0x5263fa([0x63,0x72,0x76])]:_0x5263fa([0x50,0x2d,0x32,0x35,0x36]),[_0x5263fa([0x78])]:_0x5263fa([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]),[_0x5263fa([0x79])]:_0x5263fa([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]),[_0x5263fa([0x61,0x6c,0x67])]:_0x5263fa([0x45,0x53,0x32,0x35,0x36])},_0x51c79e=_0x45c336[_0x5263fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5263fa([0x67,0x65,0x74])](_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x511ea9(){let _0x595360,_0x41a361=null,_0x5c19ac=null;try{if(_0x51c79e==_0x5263fa([0x47,0x50,0x4c]))return _0x5263fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x595360=_0x50389d(),!_0x595360)return _0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x595360[_0x5263fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c19ac=_0x3a365d(_0x595360[_0x5263fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x595360[_0x5263fa([0x6a,0x74,0x69])])),await _0x2b71df()?_0x2e8670()?_0x263a66()?_0x5263fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a1499()?(_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5263fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41a361=_0x3f07f7(_0x5263fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5263fa([0x74,0x72,0x69,0x61,0x6c])&&(_0x41a361=_0x3f07f7(_0x5263fa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49b6f5()):_0x5263fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5263fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x263a66(){const _0x5f44ba=[_0x5263fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5263fa([0x74,0x72,0x69,0x61,0x6c])][_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13091b/0x3e8:0xe10*_0x28dab7;return _0x595360[_0x5263fa([0x65,0x78,0x70])]<_0x5f44ba;}function _0x2e8670(){const _0x4b7d07=_0x595360[_0x5263fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b7d07&&(!!_0x4b7d07[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x2a]))||!!_0x4b7d07[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x46,0x4f,0x4f])));}function _0x4a1499(){const _0x528322=_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x528322||0x0==_0x528322[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54a773}=new URL(window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x528322[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a773))return!0x0;const _0x4bf96f=_0x54a773[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e]));return _0x528322[_0x5263fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c46e8=>_0x2c46e8[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x2a])))[_0x5263fa([0x6d,0x61,0x70])](_0x349144=>_0x349144[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e])))[_0x5263fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f4669=>_0x5f4669[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bf96f[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5263fa([0x6d,0x61,0x70])](_0x86a109=>Array(_0x4bf96f[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x86a109[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5263fa([0x66,0x69,0x6c,0x6c])](_0x86a109[0x0]===_0x5263fa([0x2a])?_0x5263fa([0x2a]):'')[_0x5263fa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x86a109))[_0x5263fa([0x73,0x6f,0x6d,0x65])](_0x403c93=>_0x4bf96f[_0x5263fa([0x65,0x76,0x65,0x72,0x79])]((_0x1c60f0,_0x3e576e)=>_0x403c93[_0x3e576e]===_0x1c60f0||_0x403c93[_0x3e576e]===_0x5263fa([0x2a])));}function _0x49b6f5(){return _0x41a361&&_0x5c19ac?new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59d218,_0x571e61)=>{_0x41a361[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x59d218,_0x571e61),_0x5c19ac[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x2e09da=>{_0x2e09da!=_0x5263fa([0x56,0x61,0x6c,0x69,0x64])&&_0x59d218(_0x2e09da);},_0x571e61);}):_0x41a361||_0x5c19ac||_0x5263fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a365d(_0x1f6632,_0x231d66){return new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e9c13=>{if(_0x4e81fb())return _0x4e9c13(_0x5263fa([0x56,0x61,0x6c,0x69,0x64]));_0x2749ae(),_0x45c336[_0x5263fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x242686=!0x1;const _0x235674=_0x586004();function _0x17d1f1(_0x51b77d){return!!_0x51b77d&&(typeof _0x51b77d===_0x5263fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51b77d===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51b77d[_0x5263fa([0x74,0x68,0x65,0x6e])]===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51b77d[_0x5263fa([0x63,0x61,0x74,0x63,0x68])]===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27d0f7(_0x21b225){_0x1ed610(_0x21b225)[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x5069b1=>{if(!_0x5069b1||_0x5069b1[_0x5263fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5263fa([0x6f,0x6b]))return _0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x337cf2(_0x2fe162(_0x235674+_0x231d66))!=_0x5069b1[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5263fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x392738=>(_0x89483f(),_0x392738),()=>{const _0x181751=_0xef8b2();return null==_0x181751?(_0x89483f(),_0x5263fa([0x56,0x61,0x6c,0x69,0x64])):_0x5263fa(_0x13091b-_0x181751>(0x63ae0106^_0xa93d7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x4e9c13)[_0x5263fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x127e46=0x47946b86^_0xa93d7d;function _0x89483f(){const _0x2ca429=_0x5263fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x337cf2(_0x2fe162(_0x1f6632)),_0x48a9=_0x14b67f(_0x337cf2(window[_0x5263fa([0x4d,0x61,0x74,0x68])][_0x5263fa([0x63,0x65,0x69,0x6c])](_0x13091b/_0x127e46)));window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5263fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ca429,_0x48a9);}function _0xef8b2(){const _0xdfc383=_0x5263fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x337cf2(_0x2fe162(_0x1f6632)),_0x2ba32e=window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5263fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdfc383);return _0x2ba32e?window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14b67f(_0x2ba32e),0x10)*_0x127e46:null;}function _0x1ed610(_0x434814){return new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ba4d5,_0x40a806)=>{_0x434814[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x3ba4d5,_0x40a806),window[_0x5263fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a806,0x47a351c6^_0xa93d7d);});}}_0x45c336[_0x5263fa([0x6f,0x6e])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc28679,_0x55c0b4)=>{if(_0x55c0b4[0x0]!=_0x1f6632)return _0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55c0b4[0x1]={..._0x55c0b4[0x1],[_0x5263fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x235674};},{[_0x5263fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5263fa([0x68,0x69,0x67,0x68])}),_0x45c336[_0x5263fa([0x6f,0x6e])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35bd01=>{_0x17d1f1(_0x35bd01[_0x5263fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x242686=!0x0,_0x27d0f7(_0x35bd01[_0x5263fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5263fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5263fa([0x6c,0x6f,0x77])}),_0x1a44d8[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>{_0x242686||_0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e81fb(){return _0x45c336[_0x5263fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5263fa([0x76,0x69,0x65,0x77])][_0x5263fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5263fa([0x61,0x75,0x74,0x6f]);}function _0x2749ae(){_0x45c336[_0x5263fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5263fa([0x76,0x69,0x65,0x77])][_0x5263fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5263fa([0x61,0x75,0x74,0x6f]);}}function _0x3f07f7(_0x1ca61f){const _0x2a0775=[new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x414cef=>setTimeout(_0x414cef,0x47abbbca^_0xa93d7d)),_0x1a44d8[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59fa24=>{let _0x58d2ea=0x0;_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x6f,0x6e])](_0x5263fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19fa22,_0x4b83b6)=>{_0x4b83b6[0x0][_0x5263fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58d2ea++,_0x58d2ea==(0x47a284fe^_0xa93d7d)&&(_0x59fa24(),_0x19fa22[_0x5263fa([0x6f,0x66,0x66])]());});}))];return window[_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5263fa([0x72,0x61,0x63,0x65])](_0x2a0775)[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>_0x1ca61f);}async function _0x1f5637(){await _0x1a44d8,_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdca197,_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdca197,_0x45c336[_0x5263fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2967d0(_0x5eb190){const _0x366cb7=_0xb29f01();_0x45c336[_0x366cb7]=_0x5263fa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eb190,_0x5eb190!=_0x5263fa([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5637();}function _0xb29f01(){const _0xec7587=window[_0x5263fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5263fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5263fa([0x6e,0x6f,0x77])]())[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5263fa([0x2e]),'');let _0x1c9f2e=_0x5263fa([0x75]);for(let _0x293d7a=0x0;_0x293d7a<_0xec7587[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x293d7a+=0x2){let _0x1bd276=window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xec7587[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x293d7a,_0x293d7a+0x2));_0x1bd276>=_0x24cb07[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bd276-=_0x24cb07[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c9f2e+=_0x24cb07[_0x1bd276];}return _0x1c9f2e;}function _0x50389d(){const _0x30cd25=_0x51c79e[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e]));if(0x3!=_0x30cd25[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a21dd(_0x30cd25[0x1]);function _0x4a21dd(_0x57fcf3){const _0x3d7dec=_0x4a51d7(_0x57fcf3);return _0x3d7dec&&_0x17c437()?_0x3d7dec:null;function _0x17c437(){const _0x586309=_0x3d7dec[_0x5263fa([0x6a,0x74,0x69])],_0x3dc465=window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586309[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x586309[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x324582={..._0x3d7dec,[_0x5263fa([0x6a,0x74,0x69])]:_0x586309[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x586309[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x324582[_0x5263fa([0x76,0x63])],_0x2fe162(_0x324582)==_0x3dc465;}}}async function _0x2b71df(){let _0xf3cc4=!0x0;try{const _0x40f50a=_0x51c79e[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e])),[_0x5bf257,_0x287197,_0x5a9c02]=_0x40f50a;return _0x585488(_0x5bf257),await _0x596f7f(_0x5bf257,_0x287197,_0x5a9c02),_0xf3cc4;}catch{return!0x1;}function _0x585488(_0x1179a2){const _0x259146=_0x4a51d7(_0x1179a2);_0x259146&&_0x259146[_0x5263fa([0x61,0x6c,0x67])]==_0x5263fa([0x45,0x53,0x32,0x35,0x36])||(_0xf3cc4=!0x1);}async function _0x596f7f(_0xa85c75,_0x501df4,_0x4a7002){const _0x4c9cec=window[_0x5263fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5263fa([0x66,0x72,0x6f,0x6d])](_0xa3546a(_0x4a7002),_0x249cce=>_0x249cce[_0x5263fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3be96e=new window[(_0x5263fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5263fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa85c75+_0x5263fa([0x2e])+_0x501df4),_0x51ff58=window[_0x5263fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5263fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51ff58)return;const _0x3b67a9=await _0x51ff58[_0x5263fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5263fa([0x6a,0x77,0x6b]),_0x4efacb,{[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x45,0x43,0x44,0x53,0x41]),[_0x5263fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5263fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51ff58[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x45,0x43,0x44,0x53,0x41]),[_0x5263fa([0x68,0x61,0x73,0x68])]:{[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b67a9,_0x4c9cec,_0x3be96e)||(_0xf3cc4=!0x1);}}function _0x4a51d7(_0x53ae82){return _0x53ae82[_0x5263fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5263fa([0x65,0x79]))?JSON[_0x5263fa([0x70,0x61,0x72,0x73,0x65])](_0xa3546a(_0x53ae82)):null;}function _0xa3546a(_0x3853d6){return window[_0x5263fa([0x61,0x74,0x6f,0x62])](_0x3853d6[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5263fa([0x2b]))[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5263fa([0x2f])));}function _0x2fe162(_0x1a09d1){let _0x2cbc4c=0x1505;function _0x10a0bd(_0x153d96){for(let _0x42ea05=0x0;_0x42ea05<_0x153d96[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ea05++){const _0x4b17bb=_0x153d96[_0x5263fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42ea05);_0x2cbc4c=(_0x2cbc4c<<0x5)+_0x2cbc4c+_0x4b17bb,_0x2cbc4c&=_0x2cbc4c;}}function _0x1dadb1(_0x4d07be){Array[_0x5263fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d07be)?_0x4d07be[_0x5263fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dadb1):_0x4d07be&&typeof _0x4d07be==_0x5263fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5263fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d07be)[_0x5263fa([0x73,0x6f,0x72,0x74])]()[_0x5263fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41f49a,_0x26492a])=>{_0x10a0bd(_0x41f49a),_0x1dadb1(_0x26492a);}):_0x10a0bd(window[_0x5263fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d07be));}return _0x1dadb1(_0x1a09d1),_0x2cbc4c>>>0x0;}function _0x337cf2(_0x4f6296){return _0x4f6296[_0x5263fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5263fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5263fa([0x30]));}function _0x14b67f(_0x4cd3d9){return _0x4cd3d9[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5263fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5263fa([0x6a,0x6f,0x69,0x6e])]('');}function _0xdca197(){}function _0x5263fa(_0x3c9f6f){return _0x3c9f6f['map'](_0x3b5006=>String['fromCharCode'](_0x3b5006))['join']('');}_0x2967d0(await _0x511ea9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5e45f3){const {plugins:_0x1a06d4,editing:_0x4a713d,model:_0x2c2d16}=this['editor'],_0x172c71=_0x1a06d4['get'](_0x51c5e9)['getFootnote'](_0x5e45f3);return!!_0x172c71&&(_0x2c2d16['change'](_0xfd2074=>{_0xfd2074['setSelection'](_0xfd2074['createPositionAt'](_0x172c71['definition'],'end'));}),_0x4a713d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xbaaad5){const {plugins:_0x2f3910,editing:_0x3c69e0,model:_0x1da416}=this['editor'],_0x290e8f=_0x2f3910['get'](_0x51c5e9)['getFootnote'](_0xbaaad5);return!!_0x290e8f&&(_0x1da416['change'](_0x415b83=>{_0x415b83['setSelection'](_0x290e8f['reference'],'on');}),_0x3c69e0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1062f4}=this['editor']['model'],_0x4d0477=this['editor']['config']['get']('footnotes.multiBlock');_0x1062f4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1062f4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1062f4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d0477?_0x1062f4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1062f4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1062f4['addChildCheck'](_0x20db7a=>{for(const _0x369b0e of _0x20db7a)if('footnoteDefinition'===_0x369b0e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x305486}=this,{conversion:_0x3bb804,editing:_0x3bb8d8}=_0x305486,{t:t}=_0x305486['locale'];_0x3bb804['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1b6193,{writer:_0x531b16,consumable:_0x4e7cc9})=>{const _0x576454=_0x1b6193['getChild'](0x0);if(!_0x576454||!_0x576454['is']('element','a'))return null;const _0x1ad5ae=_0x576454['getAttribute']('href')||'';if(!_0x1ad5ae['startsWith']('#'))return null;const _0x1e9883=_0x1ad5ae['replace'](/^#/,'');if(!_0x1e9883)return null;_0x4e7cc9['consume'](_0x576454,{'name':!0x0,'attributes':['href']});for(const {item:_0x116e1e}of _0x3bb8d8['view']['createRangeIn'](_0x576454))_0x116e1e['is']('$textProxy')?_0x4e7cc9['consume'](_0x116e1e['textNode'],{'name':!0x0}):_0x116e1e['is']('element')&&_0x4e7cc9['consume'](_0x116e1e,{'name':!0x0});return _0x531b16['createElement']('footnoteRef',{'footnoteId':_0x1e9883});}}),_0x3bb804['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3bf1f3,{writer:_0xdfc4b})=>g(_0x3bf1f3,_0xdfc4b)}),_0x3bb804['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4807eb,{writer:_0x417bf6})=>{const _0x723250=_0x4807eb['getAttribute']('footnoteCounter');return _0x3b6304(g(_0x4807eb,_0x417bf6),_0x417bf6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x723250)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5928a0}=this,{t:t}=_0x5928a0['locale'],{conversion:_0x24db4f}=_0x5928a0;_0x24db4f['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x24db4f['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x24db4f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x7ca2f0,{writer:_0x59e804})=>{const _0x42c6ec=_0x59e804['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x59e804['createContainerElement']('ol',{'class':'footnotes'},_0x59e804['createSlot']())),_0x4c256e=_0x3b6304(_0x42c6ec,_0x59e804,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x59e804['setCustomProperty']('footnotesDefinitions',!0x0,_0x4c256e),_0x4c256e;}});}['_defineDefinitionConverters'](){const {editor:_0x2f205a}=this,{conversion:_0x5be7ff,locale:_0x1549f6}=_0x2f205a,_0x14dbb8=_0x2f205a['config']['get']('footnotes.multiBlock');_0x5be7ff['for']('upcast')['add'](_0x4b3eca=>{_0x4b3eca['on']('element:li',(_0x393505,_0x8da47d,_0x1792e3)=>{const _0x15a441=_0x8da47d['viewItem'];if(!_0x15a441['hasClass']('footnote-definition')||!_0x15a441['getAttribute']('id'))return;const _0x79ce2f=_0x15a441['parent'];if(!_0x79ce2f['is']('element','ol')||!_0x79ce2f['hasClass']('footnotes'))return;if(!_0x1792e3['consumable']['test'](_0x15a441,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x54c682=_0x1792e3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x15a441['getAttribute']('id')});if(!_0x1792e3['safeInsert'](_0x54c682,_0x8da47d['modelCursor']))return;_0x1792e3['consumable']['consume'](_0x15a441,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xec4b1=Array['from'](_0x15a441['getChildren']())['find'](_0x345540=>_0x345540['is']('element')&&_0x345540['hasClass']('footnote-content'));for(const _0x24d41e of _0x15a441['getChildren']())_0x24d41e['is']('element')&&(_0x1792e3['consumable']['consume'](_0x24d41e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1792e3['consumable']['consume'](_0x24d41e,{'name':!0x0,'classes':'footnote-content'}));if(_0xec4b1){if(_0x14dbb8)_0x1792e3['convertChildren'](_0xec4b1,_0x54c682);else{const _0xe60e68=_0x1792e3['writer']['createElement']('footnoteInlineContent');_0x1792e3['writer']['insert'](_0xe60e68,_0x54c682),_0x1792e3['convertChildren'](_0xec4b1,_0xe60e68);}}_0x1792e3['updateConversionResult'](_0x54c682,_0x8da47d);});}),_0x5be7ff['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c546c,{writer:_0x1796b5})=>D(_0x1c546c,_0x1796b5,_0x1549f6,{'dataPipeline':!0x0})}),_0x5be7ff['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x44d4c2,{writer:_0xb78929})=>D(_0x44d4c2,_0xb78929,_0x1549f6)});}['_defineBogusParagraphConverters'](){const {editor:_0x117a73}=this,{conversion:_0xa9eb41}=_0x117a73;_0x117a73['config']['get']('footnotes.multiBlock')?(_0xa9eb41['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0xa9eb41['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x117a73['model']['document'],'change:data',()=>{!function(_0x19bfbc,_0x32a82b){const _0x561cdb=_0x19bfbc['document']['differ'],_0x5b6a14=new Set();for(const _0x6aeca9 of _0x561cdb['getChanges']()){const _0x166542='attribute'==_0x6aeca9['type']?_0x6aeca9['range']['start']['parent']:_0x6aeca9['position']['parent'];_0x166542['is']('element','footnoteDefinition')&&_0x5b6a14['add'](_0x166542);}for(const _0x37a660 of _0x5b6a14['values']()){const _0x4d9697=Array['from'](_0x37a660['getChildren']())['filter'](_0x1a204d=>p(_0x1a204d,_0x32a82b['mapper']));for(const _0x26c347 of _0x4d9697)_0x32a82b['reconvertItem'](_0x26c347);}}(_0x117a73['model'],_0x117a73['editing']);})):(_0xa9eb41['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0xa9eb41['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x46b186,{writer:_0x540948})=>{const _0x3ed153=_0x540948['createContainerElement']('span');return _0x540948['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ed153),_0x3ed153;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2cc1b4}=this,{editing:_0xa46942,t:t}=_0x2cc1b4,_0x4de601=_0x2cc1b4['model']['document']['selection'];_0x2cc1b4['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x2cc1b4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0xa46942['view']['document'],'enter',(_0x4e1211,_0x46d757)=>{const _0x11238c=function(_0x5519d4){const _0x4dfd00=_0x5519d4['getSelectedElement']();if(_0x4dfd00?.['is']('element','footnoteRef'))return _0x4dfd00;return null;}(_0x4de601);if(_0x11238c){const _0x2bb9f9=_0x11238c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2bb9f9),_0x46d757['preventDefault'](),_0x4e1211['stop']();}},{'context':_0x14b14a});}['_defineClickHandlers'](){const {editor:_0x2cd436}=this,{editing:_0x21fdae}=_0x2cd436;_0x2cd436['editing']['view']['addObserver'](_0x4a2628),_0x2cd436['editing']['view']['addObserver'](_0x4e989a);let _0x419d3d=!0x1;this['listenTo'](_0x21fdae['view']['document'],'pointerdown',(_0xe181f3,_0x4396cb)=>{const {target:_0xfea8f0}=_0x4396cb,_0x1255c7=_0x21fdae['view']['document']['selection'];_0x419d3d=!(!_0xfea8f0['is']('element','sup')||!_0xfea8f0['hasClass']('footnote'))&&_0x1255c7['getSelectedElement']()===_0xfea8f0;},{'priority':'high'}),this['listenTo'](_0x21fdae['view']['document'],'click',(_0x22971d,_0x297f99)=>{const {target:_0xec14f6}=_0x297f99,_0x217f8d=_0xec14f6['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x217f8d['slice'](0x1)),_0x22971d['stop'](),_0x297f99['preventDefault']();},{'priority':'high','context':_0x281fec=>_0x281fec['is']('element','sup')&&_0x281fec['hasClass']('footnote')&&_0x419d3d}),this['listenTo'](_0x21fdae['view']['document'],'click',(_0x3087e3,_0x95bd15)=>{const {target:_0x56efc0}=_0x95bd15;if(!_0x56efc0['is']('element','a'))return;let _0x3abc1=_0x56efc0['getAttribute']('href');if(!_0x3abc1?.['startsWith']('#'))return;_0x3abc1=_0x3abc1['slice'](0x1);let _0x5ef10f=!0x1;(_0x3abc1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3abc1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3abc1))&&(_0x5ef10f=!0x0),_0x5ef10f&&(_0x95bd15['preventDefault'](),_0x3087e3['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x5bdbdf}={}){return(_0x38da3f,{writer:_0x208450})=>{if(!h(_0x38da3f))return null;if(!_0x5bdbdf)return _0x208450['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4e9864=_0x208450['createContainerElement']('p');return _0x208450['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4e9864),_0x4e9864;};}function h(_0x1c328a){const {parent:_0x1c2107}=_0x1c328a;if(!_0x1c2107?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1c2107['childCount'])return!0x1;for(const _0x3683b0 of _0x1c328a['getAttributeKeys']())if(!_0x3683b0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3683b0)return!0x1;return!0x0;}function p(_0x5f508a,_0x1346af){if(!_0x5f508a['is']('element','paragraph'))return!0x1;const _0x206323=_0x1346af['toViewElement'](_0x5f508a);return!!_0x206323&&h(_0x5f508a)!==_0x206323['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x41d788){return _0x14b14a(_0x41d788)&&_0x41d788['is']('containerElement')&&!!_0x41d788['getCustomProperty']('footnotesDefinitions');}function g(_0x44def3,_0x4984da){const _0x2725fc=_0x44def3['getAttribute']('footnoteId'),_0x1e77d4=_0x44def3['getAttribute']('footnoteCounter'),_0x1ebec6=_0x4984da['createUIElement']('a',{'id':'ref-'+_0x2725fc,'href':'#'+_0x2725fc},function(_0x17d400){const _0x44d5ca=this['toDomElement'](_0x17d400);return _0x44d5ca['textContent']=_0x1e77d4,_0x44d5ca;}),_0xcae789=_0x4984da['createContainerElement']('sup',{'class':'footnote'},[_0x1ebec6]);return _0xcae789['getFillerOffset']=()=>null,_0xcae789;}function D(_0x5b73fd,_0xec3b75,_0x5ad3f3,{dataPipeline:_0x17393f}={}){const {t:t}=_0x5ad3f3,_0x43ef04=_0x5b73fd['getAttribute']('footnoteId'),_0xdd806b=_0xec3b75['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x43ef04},function(_0x390d1d){const _0x9f6b5f=this['toDomElement'](_0x390d1d);return _0x9f6b5f['innerText']='^',_0x9f6b5f;}),_0x45fd5e=_0x17393f?_0xec3b75['createContainerElement']('div',{'class':'footnote-content'}):_0x46fe99(_0xec3b75['createEditableElement']('div',{'class':'footnote-content'}),_0xec3b75,{'label':t('Footnote\x20content.')});return _0xec3b75['insert'](_0xec3b75['createPositionAt'](_0x45fd5e,0x0),_0xec3b75['createSlot']()),_0xec3b75['createContainerElement']('li',{'class':'footnote-definition','id':_0x43ef04},[_0xdd806b,_0x45fd5e]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3b3da3=_0x5856;function _0x5856(_0x365311,_0x1b53a0){const _0x28a12d=_0x28a1();return _0x5856=function(_0x5856e2,_0x33d090){_0x5856e2=_0x5856e2-0x18d;let _0x8dba56=_0x28a12d[_0x5856e2];return _0x8dba56;},_0x5856(_0x365311,_0x1b53a0);}function _0x28a1(){const _0x1ab990=['get','36672vAZGUn','4852134OcmEIu','value','getAttribute','getFootnotesDefinitionsObjectElement','plugins','execute','185580LrIEKc','change','3492Aeoxfk','setAttribute','4560738SCkwKn','footnotesListStart','isInteger','_updateFootnotesCounters','5qvbOrX','refresh','573111tkACEM','649490OJbTUt','isEnabled','model','2768889EgWAnK'];_0x28a1=function(){return _0x1ab990;};return _0x28a1();}(function(_0xa4f643,_0x5cbf67){const _0x46ede8=_0x5856,_0x19a681=_0xa4f643();while(!![]){try{const _0x161e3f=-parseInt(_0x46ede8(0x199))/0x1+parseInt(_0x46ede8(0x19a))/0x2+-parseInt(_0x46ede8(0x19d))/0x3+parseInt(_0x46ede8(0x18f))/0x4*(parseInt(_0x46ede8(0x197))/0x5)+-parseInt(_0x46ede8(0x193))/0x6+parseInt(_0x46ede8(0x1a0))/0x7+parseInt(_0x46ede8(0x19f))/0x8*(parseInt(_0x46ede8(0x191))/0x9);if(_0x161e3f===_0x5cbf67)break;else _0x19a681['push'](_0x19a681['shift']());}catch(_0x47c00c){_0x19a681['push'](_0x19a681['shift']());}}}(_0x28a1,0x8f3c9));import{Command as _0x205ca3}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x23f7cb}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x205ca3{[_0x3b3da3(0x198)](){const _0x27982b=_0x3b3da3,{editor:_0x3acdc8}=this,_0x427d7a=_0x3acdc8[_0x27982b(0x18d)][_0x27982b(0x19e)](_0x23f7cb)[_0x27982b(0x1a3)]();this[_0x27982b(0x19b)]=!!_0x427d7a,this[_0x27982b(0x1a1)]=_0x427d7a?.[_0x27982b(0x1a2)](_0x27982b(0x194))??null;}[_0x3b3da3(0x18e)]({value:_0x575e13}){const _0x18b6cf=_0x3b3da3,{editor:_0x487b06}=this,_0x3d6067=_0x487b06[_0x18b6cf(0x18d)][_0x18b6cf(0x19e)](_0x23f7cb),_0x3fd919=_0x3d6067[_0x18b6cf(0x1a3)]();_0x3fd919&&Number[_0x18b6cf(0x195)](_0x575e13)&&_0x487b06[_0x18b6cf(0x19c)][_0x18b6cf(0x190)](_0x42a367=>{const _0x3d3213=_0x18b6cf;_0x42a367[_0x3d3213(0x192)](_0x3d3213(0x194),_0x575e13,_0x3fd919),_0x3d6067[_0x3d3213(0x196)](_0x42a367);});}}
23
+ const _0x3690cd=_0x33a0;(function(_0x586ec5,_0x53fd2f){const _0x3c4e55=_0x33a0,_0x30bda1=_0x586ec5();while(!![]){try{const _0x2327ec=-parseInt(_0x3c4e55(0x76))/0x1+-parseInt(_0x3c4e55(0x71))/0x2*(-parseInt(_0x3c4e55(0x7a))/0x3)+parseInt(_0x3c4e55(0x88))/0x4*(-parseInt(_0x3c4e55(0x80))/0x5)+parseInt(_0x3c4e55(0x83))/0x6+-parseInt(_0x3c4e55(0x7e))/0x7+-parseInt(_0x3c4e55(0x77))/0x8+-parseInt(_0x3c4e55(0x85))/0x9*(-parseInt(_0x3c4e55(0x78))/0xa);if(_0x2327ec===_0x53fd2f)break;else _0x30bda1['push'](_0x30bda1['shift']());}catch(_0x3ef162){_0x30bda1['push'](_0x30bda1['shift']());}}}(_0x239a,0xa6369));import{Command as _0x3e8969}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x387a5f}from'../../footnotestracker.js';function _0x33a0(_0x43715c,_0x26b79d){const _0x239af8=_0x239a();return _0x33a0=function(_0x33a07,_0xa7606e){_0x33a07=_0x33a07-0x71;let _0x1e9334=_0x239af8[_0x33a07];return _0x1e9334;},_0x33a0(_0x43715c,_0x26b79d);}export class FootnotesStartCommand extends _0x3e8969{[_0x3690cd(0x7b)](){const _0x3fa477=_0x3690cd,{editor:_0x41d159}=this,_0x3f9473=_0x41d159[_0x3fa477(0x81)][_0x3fa477(0x86)](_0x387a5f)[_0x3fa477(0x79)]();this[_0x3fa477(0x87)]=!!_0x3f9473,this[_0x3fa477(0x75)]=_0x3f9473?.[_0x3fa477(0x82)](_0x3fa477(0x7f))??null;}[_0x3690cd(0x74)]({value:_0x5e33af}){const _0x440361=_0x3690cd,{editor:_0x1125fa}=this,_0x375ec1=_0x1125fa[_0x440361(0x81)][_0x440361(0x86)](_0x387a5f),_0x302d1b=_0x375ec1[_0x440361(0x79)]();_0x302d1b&&Number[_0x440361(0x73)](_0x5e33af)&&_0x1125fa[_0x440361(0x7c)][_0x440361(0x84)](_0x1dcd15=>{const _0x3edb6e=_0x440361;_0x1dcd15[_0x3edb6e(0x72)](_0x3edb6e(0x7f),_0x5e33af,_0x302d1b),_0x375ec1[_0x3edb6e(0x7d)](_0x1dcd15);});}}function _0x239a(){const _0x21b40e=['96044cKCeJD','setAttribute','isInteger','execute','value','1284797wkMbej','9714600MibaNP','10AjAidT','getFootnotesDefinitionsObjectElement','30pwlYCK','refresh','model','_updateFootnotesCounters','3762899RFthKg','footnotesListStart','3648340gZnQzf','plugins','getAttribute','2323734AzUjTz','change','32216823ePLxXL','get','isEnabled','4FBpUQZ'];_0x239a=function(){return _0x21b40e;};return _0x239a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x283953=_0x2e50;(function(_0x3b2909,_0x5c8967){const _0x5af05b=_0x2e50,_0x4a7f5d=_0x3b2909();while(!![]){try{const _0x1c0aa4=-parseInt(_0x5af05b(0x1ce))/0x1*(parseInt(_0x5af05b(0x1c5))/0x2)+-parseInt(_0x5af05b(0x1c1))/0x3*(parseInt(_0x5af05b(0x1c6))/0x4)+-parseInt(_0x5af05b(0x1c3))/0x5*(parseInt(_0x5af05b(0x1bd))/0x6)+-parseInt(_0x5af05b(0x1ca))/0x7+parseInt(_0x5af05b(0x1c0))/0x8*(-parseInt(_0x5af05b(0x1b8))/0x9)+-parseInt(_0x5af05b(0x1b9))/0xa*(parseInt(_0x5af05b(0x1c9))/0xb)+parseInt(_0x5af05b(0x1c2))/0xc;if(_0x1c0aa4===_0x5c8967)break;else _0x4a7f5d['push'](_0x4a7f5d['shift']());}catch(_0x22d126){_0x4a7f5d['push'](_0x4a7f5d['shift']());}}}(_0xc491,0x82975));import{Command as _0x12aa63}from'ckeditor5/src/core.js';function _0xc491(){const _0xed0406=['_updateFootnotesCounters','execute','get','1801518XHfzSP','getAttribute','change','1047176hTdQJZ','27ilXVFc','48674328PwtDAu','15gzTYyi','footnotesListStyle','29558hrmYFy','146144gOmoyl','refresh','isEnabled','5273466navpQD','5459216egwkdE','setAttribute','getFootnotesDefinitionsObjectElement','model','61jBiurn','plugins','value','includes','9oOMVyw','10bdIztJ'];_0xc491=function(){return _0xed0406;};return _0xc491();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x189964}from'../footnotespropertiesconfig.js';function _0x2e50(_0x4e3d72,_0x212825){const _0xc4917f=_0xc491();return _0x2e50=function(_0x2e507c,_0x43b18c){_0x2e507c=_0x2e507c-0x1b7;let _0x3c04d4=_0xc4917f[_0x2e507c];return _0x3c04d4;},_0x2e50(_0x4e3d72,_0x212825);}import{FootnotesTracker as _0x2dfdf9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x12aa63{[_0x283953(0x1c7)](){const _0x5b8633=_0x283953,{editor:_0x50abf1}=this,_0x745cdc=_0x50abf1[_0x5b8633(0x1cf)][_0x5b8633(0x1bc)](_0x2dfdf9)[_0x5b8633(0x1cc)]();this[_0x5b8633(0x1c8)]=!!_0x745cdc,this[_0x5b8633(0x1d0)]=_0x745cdc?.[_0x5b8633(0x1be)](_0x5b8633(0x1c4))??null;}[_0x283953(0x1bb)]({value:_0x1197a0}){const _0x596c0e=_0x283953,{editor:_0x3aba82}=this,_0xcd65a=_0x3aba82[_0x596c0e(0x1cf)][_0x596c0e(0x1bc)](_0x2dfdf9),_0x51ec5b=_0xcd65a[_0x596c0e(0x1cc)]();_0x51ec5b&&_0x189964[_0x596c0e(0x1b7)](_0x1197a0)&&_0x3aba82[_0x596c0e(0x1cd)][_0x596c0e(0x1bf)](_0x25b03e=>{const _0x16c6ff=_0x596c0e;_0x25b03e[_0x16c6ff(0x1cb)](_0x16c6ff(0x1c4),_0x1197a0,_0x51ec5b),_0xcd65a[_0x16c6ff(0x1ba)](_0x25b03e);});}}
23
+ const _0x1f7419=_0x4d7b;(function(_0xbe195e,_0x4c738f){const _0x489416=_0x4d7b,_0x2ee255=_0xbe195e();while(!![]){try{const _0x4d2d06=-parseInt(_0x489416(0x1b6))/0x1*(-parseInt(_0x489416(0x1c0))/0x2)+-parseInt(_0x489416(0x1c1))/0x3*(parseInt(_0x489416(0x1bb))/0x4)+parseInt(_0x489416(0x1ca))/0x5+parseInt(_0x489416(0x1c2))/0x6+-parseInt(_0x489416(0x1c9))/0x7+-parseInt(_0x489416(0x1c7))/0x8+parseInt(_0x489416(0x1c5))/0x9;if(_0x4d2d06===_0x4c738f)break;else _0x2ee255['push'](_0x2ee255['shift']());}catch(_0x4f33fb){_0x2ee255['push'](_0x2ee255['shift']());}}}(_0x3716,0x19693));import{Command as _0x5ecc93}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x34db7a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x42702a}from'../../footnotestracker.js';function _0x4d7b(_0x207749,_0x2e63d7){const _0x3716f1=_0x3716();return _0x4d7b=function(_0x4d7b78,_0x360b20){_0x4d7b78=_0x4d7b78-0x1b5;let _0x50b570=_0x3716f1[_0x4d7b78];return _0x50b570;},_0x4d7b(_0x207749,_0x2e63d7);}function _0x3716(){const _0x4734a4=['1260952MtmEHs','292260lRNfPh','plugins','refresh','1555zMfVEn','execute','_updateFootnotesCounters','getAttribute','setAttribute','624892ZIkkTa','footnotesListStyle','includes','change','value','2hxFZzK','3mQBMks','288462MQQgJu','isEnabled','model','3569049PhXxSm','getFootnotesDefinitionsObjectElement','513624CIPyNy','get'];_0x3716=function(){return _0x4734a4;};return _0x3716();}export class FootnotesStyleCommand extends _0x5ecc93{[_0x1f7419(0x1b5)](){const _0x5c133d=_0x1f7419,{editor:_0xa9606b}=this,_0x36c68c=_0xa9606b[_0x5c133d(0x1cb)][_0x5c133d(0x1c8)](_0x42702a)[_0x5c133d(0x1c6)]();this[_0x5c133d(0x1c3)]=!!_0x36c68c,this[_0x5c133d(0x1bf)]=_0x36c68c?.[_0x5c133d(0x1b9)](_0x5c133d(0x1bc))??null;}[_0x1f7419(0x1b7)]({value:_0x516bd4}){const _0x50e81e=_0x1f7419,{editor:_0x4a9f0b}=this,_0x50d959=_0x4a9f0b[_0x50e81e(0x1cb)][_0x50e81e(0x1c8)](_0x42702a),_0x1752ae=_0x50d959[_0x50e81e(0x1c6)]();_0x1752ae&&_0x34db7a[_0x50e81e(0x1bd)](_0x516bd4)&&_0x4a9f0b[_0x50e81e(0x1c4)][_0x50e81e(0x1be)](_0x1f9076=>{const _0x429e4c=_0x50e81e;_0x1f9076[_0x429e4c(0x1ba)](_0x429e4c(0x1bc),_0x516bd4,_0x1752ae),_0x50d959[_0x429e4c(0x1b8)](_0x1f9076);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1825(){const _0x548a6f=['1295chViNF','23643SRacAm','decimal','decimal-leading-zero','179158exEEIg','3794703oDbwGR','upper-alpha','lower-alpha','258765IEDaea','upper-latin','upper-roman','10BtuWMB','584kBAPCf','2764PXrVDG','613902najLBT','lower-latin','lower-roman','3HZuUxt','12738Qangrh'];_0x1825=function(){return _0x548a6f;};return _0x1825();}function _0x486d(_0x4b63c9,_0x2907f9){const _0x1825ef=_0x1825();return _0x486d=function(_0x486db7,_0x5cf2f9){_0x486db7=_0x486db7-0x1a6;let _0x3b079a=_0x1825ef[_0x486db7];return _0x3b079a;},_0x486d(_0x4b63c9,_0x2907f9);}const _0x5cecd9=_0x486d;(function(_0x5dc6bd,_0x385fb5){const _0xb21173=_0x486d,_0xbfaf50=_0x5dc6bd();while(!![]){try{const _0x46295b=parseInt(_0xb21173(0x1ae))/0x1*(parseInt(_0xb21173(0x1af))/0x2)+parseInt(_0xb21173(0x1b8))/0x3+parseInt(_0xb21173(0x1aa))/0x4*(-parseInt(_0xb21173(0x1b0))/0x5)+parseInt(_0xb21173(0x1ab))/0x6+-parseInt(_0xb21173(0x1b4))/0x7+-parseInt(_0xb21173(0x1a9))/0x8*(parseInt(_0xb21173(0x1b1))/0x9)+parseInt(_0xb21173(0x1a8))/0xa*(parseInt(_0xb21173(0x1b5))/0xb);if(_0x46295b===_0x385fb5)break;else _0xbfaf50['push'](_0xbfaf50['shift']());}catch(_0x56f9f4){_0xbfaf50['push'](_0xbfaf50['shift']());}}}(_0x1825,0x2629e));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5cecd9(0x1b2),_0x5cecd9(0x1b3),_0x5cecd9(0x1ac),_0x5cecd9(0x1a6),_0x5cecd9(0x1b7),_0x5cecd9(0x1b6),_0x5cecd9(0x1ad),_0x5cecd9(0x1a7)];
23
+ const _0x287982=_0x2fa5;function _0x12a3(){const _0x5a26d5=['40329phRlSq','upper-roman','22LUYMls','2910AWPxZf','40388UKwRPS','decimal-leading-zero','decimal','1165WCApPS','upper-latin','lower-roman','lower-alpha','1869408dJWVOf','upper-alpha','7CLDAMg','12124136tEYLtT','35vynjRz','16403364gvqKUx','7322082TYkfJl','8764IJWitV','lower-latin'];_0x12a3=function(){return _0x5a26d5;};return _0x12a3();}(function(_0x3c9ed6,_0x31b0ac){const _0x4e3b6a=_0x2fa5,_0x5b6403=_0x3c9ed6();while(!![]){try{const _0x1de863=parseInt(_0x4e3b6a(0x172))/0x1*(-parseInt(_0x4e3b6a(0x17b))/0x2)+-parseInt(_0x4e3b6a(0x182))/0x3+-parseInt(_0x4e3b6a(0x175))/0x4*(-parseInt(_0x4e3b6a(0x17e))/0x5)+-parseInt(_0x4e3b6a(0x174))/0x6+-parseInt(_0x4e3b6a(0x170))/0x7*(-parseInt(_0x4e3b6a(0x171))/0x8)+-parseInt(_0x4e3b6a(0x177))/0x9*(parseInt(_0x4e3b6a(0x17a))/0xa)+-parseInt(_0x4e3b6a(0x179))/0xb*(-parseInt(_0x4e3b6a(0x173))/0xc);if(_0x1de863===_0x31b0ac)break;else _0x5b6403['push'](_0x5b6403['shift']());}catch(_0x386159){_0x5b6403['push'](_0x5b6403['shift']());}}}(_0x12a3,0xdd1c6));function _0x2fa5(_0x1ff967,_0xa8f410){const _0x12a372=_0x12a3();return _0x2fa5=function(_0x2fa54c,_0x576920){_0x2fa54c=_0x2fa54c-0x170;let _0x3ef675=_0x12a372[_0x2fa54c];return _0x3ef675;},_0x2fa5(_0x1ff967,_0xa8f410);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x287982(0x17d),_0x287982(0x17c),_0x287982(0x176),_0x287982(0x17f),_0x287982(0x181),_0x287982(0x183),_0x287982(0x180),_0x287982(0x178)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x314942=_0x4685;(function(_0x2d8f96,_0x2ff43a){const _0x159ee8=_0x4685,_0x34b5cc=_0x2d8f96();while(!![]){try{const _0xf7a67a=parseInt(_0x159ee8(0x147))/0x1+-parseInt(_0x159ee8(0x1aa))/0x2+-parseInt(_0x159ee8(0x14a))/0x3*(parseInt(_0x159ee8(0x18d))/0x4)+-parseInt(_0x159ee8(0x195))/0x5*(-parseInt(_0x159ee8(0x16f))/0x6)+parseInt(_0x159ee8(0x18e))/0x7*(-parseInt(_0x159ee8(0x165))/0x8)+parseInt(_0x159ee8(0x16c))/0x9*(parseInt(_0x159ee8(0x167))/0xa)+parseInt(_0x159ee8(0x14b))/0xb;if(_0xf7a67a===_0x2ff43a)break;else _0x34b5cc['push'](_0x34b5cc['shift']());}catch(_0x3204dc){_0x34b5cc['push'](_0x34b5cc['shift']());}}}(_0x270e,0x6c7c5));function _0x270e(){const _0x338f47=['isPremiumPlugin','editor','_defineSchema','low','element','_getDefaultListStyle','start','differ','toUpperCase','fromCharCode','_getDefaultStartIndex','toViewElement','upper-roman','add','define','footnotesListStyle','getAttribute','814902fyprUC','extend','footnotes.footnotesProperties.defaultListStyle','194666XxVjtV','insert','item','339zOIMQW','9001058mfugWX','footnotes.footnotesProperties.defaultStartIndex','isOfficialPlugin','removeAttribute','getChildren','dataDowncast','upcast','createRangeOn','$text','FootnotesPropertiesEditing','attributeToAttribute','removeStyle','type','requires','consumable','hasAttribute','commands','find','style','nodeAfter','footnotesListStart','setAttribute','_defineConverters','attribute:footnotesListStyle:footnotesDefinitions','element:ol','getChanges','16SfWcBY','footnotesDefinitions','2354350CdQcZk','footnotesStart','footnotesStyle','from','upper-latin','27sPmyap','lower-roman','attribute:footnotesListStart:footnotesDefinitions','228QEETNc','floor','lower-alpha','getStyle','document','setStyle','config','decimal','decimal-leading-zero','_formatFootnoteListValue','isNaN','modelRange','setFootnoteFormatter','for','pluginName','max','init','_updateFootnotesCounters','writer','checkAttribute','parseInt','toLowerCase','plugins','mapper','upper-alpha','editingDowncast','registerPostFixer','model','padStart','list-style-type','29804jxxylD','129339JStxkF','consume','name','attributeNewValue','_defineFormatter','position','getItems','1510ThEigP','_definePostfixer','get','lower-latin'];_0x270e=function(){return _0x338f47;};return _0x270e();}import{Plugin as _0x1cc63c}from'ckeditor5/src/core.js';function _0x4685(_0x31750a,_0x15db7e){const _0x270e3a=_0x270e();return _0x4685=function(_0x4685ea,_0x6d5a57){_0x4685ea=_0x4685ea-0x146;let _0x1f3a6b=_0x270e3a[_0x4685ea];return _0x1f3a6b;},_0x4685(_0x31750a,_0x15db7e);}import{FootnotesStyleCommand as _0x5ab95e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3b227d}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5d7667}from'../footnotestracker.js';import{FootnotesEditing as _0xc66c59}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1cc63c{static get[_0x314942(0x17d)](){const _0x26518d=_0x314942;return _0x26518d(0x154);}static get[_0x314942(0x158)](){return[_0xc66c59,_0x5d7667];}static get[_0x314942(0x14d)](){return!0x0;}static get[_0x314942(0x199)](){return!0x0;}[_0x314942(0x17f)](){const _0xc99c6=_0x314942,{editor:_0x577b96}=this;_0x577b96[_0xc99c6(0x175)][_0xc99c6(0x1a7)](_0xc99c6(0x146),_0xc99c6(0x176)),_0x577b96[_0xc99c6(0x175)][_0xc99c6(0x1a7)](_0xc99c6(0x14c),0x1),_0x577b96[_0xc99c6(0x15b)][_0xc99c6(0x1a6)](_0xc99c6(0x169),new _0x5ab95e(_0x577b96)),_0x577b96[_0xc99c6(0x15b)][_0xc99c6(0x1a6)](_0xc99c6(0x168),new _0x3b227d(_0x577b96)),this[_0xc99c6(0x19b)](),this[_0xc99c6(0x161)](),this[_0xc99c6(0x192)](),this[_0xc99c6(0x196)]();}[_0x314942(0x19b)](){const _0x3491fa=_0x314942,{editor:_0x47815e}=this,{schema:_0x91e134}=_0x47815e[_0x3491fa(0x18a)];_0x91e134[_0x3491fa(0x1ab)](_0x3491fa(0x166),{'allowAttributes':[_0x3491fa(0x1a8),_0x3491fa(0x15f)]});}[_0x314942(0x161)](){const _0x4beb40=_0x314942,{editor:_0x5f3411}=this,{conversion:_0x5936a0,model:_0x41c860}=_0x5f3411,{schema:_0x4b3f21}=_0x41c860;_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0x4beb40(0x1a8),'value':_0x4b8449=>_0x4b8449[_0x4beb40(0x172)](_0x4beb40(0x18c))}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0x4beb40(0x15f),'value':_0x2a05f3=>{const _0x1771d2=_0x4beb40,_0x51101b=_0x2a05f3[_0x1771d2(0x1a9)](_0x1771d2(0x19f)),_0x452537=Number[_0x1771d2(0x183)](_0x51101b,0xa);return Number[_0x1771d2(0x179)](_0x452537)?null:_0x452537;}}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x155)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0x4beb40(0x1a8),'value':_0x2f40d5=>({0x1:_0x4beb40(0x176),'a':_0x4beb40(0x171),'A':_0x4beb40(0x187),'i':_0x4beb40(0x16d),'I':_0x4beb40(0x1a5)}[_0x2f40d5[_0x4beb40(0x1a9)](_0x4beb40(0x157))])}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x151))[_0x4beb40(0x1a6)](_0x349ca6=>{const _0x168065=_0x4beb40;_0x349ca6['on'](_0x168065(0x163),(_0x4edca9,_0x5a6047,_0x28a545)=>{const _0x4340d0=_0x168065,_0x69a0f4=_0x5a6047[_0x4340d0(0x17a)]?.[_0x4340d0(0x19f)][_0x4340d0(0x15e)];_0x69a0f4?.['is'](_0x4340d0(0x19d),_0x4340d0(0x166))&&(!_0x69a0f4[_0x4340d0(0x15a)](_0x4340d0(0x1a8))&&_0x4b3f21[_0x4340d0(0x182)](_0x69a0f4,_0x4340d0(0x1a8))&&_0x28a545[_0x4340d0(0x181)][_0x4340d0(0x160)](_0x4340d0(0x1a8),_0x4340d0(0x176),_0x69a0f4),!_0x69a0f4[_0x4340d0(0x15a)](_0x4340d0(0x15f))&&_0x4b3f21[_0x4340d0(0x182)](_0x69a0f4,_0x4340d0(0x15f))&&_0x28a545[_0x4340d0(0x181)][_0x4340d0(0x160)](_0x4340d0(0x15f),0x1,_0x69a0f4));},{'priority':_0x168065(0x19c)});}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x150))[_0x4beb40(0x155)]({'model':{'name':_0x4beb40(0x166),'key':_0x4beb40(0x15f)},'view':_0x14e97a=>0x1===_0x14e97a?null:{'key':_0x4beb40(0x19f),'value':String(_0x14e97a)}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x150))[_0x4beb40(0x155)]({'model':{'name':_0x4beb40(0x166),'key':_0x4beb40(0x1a8)},'view':_0x12165e=>_0x4beb40(0x176)===_0x12165e?null:{'key':_0x4beb40(0x15d),'value':{'list-style-type':_0x12165e}}}),_0x5936a0[_0x4beb40(0x17c)](_0x4beb40(0x188))[_0x4beb40(0x1a6)](_0x1134de=>{const _0x340a94=_0x4beb40;_0x1134de['on'](_0x340a94(0x16e),(_0x10a5c2,_0xf9c9cf,_0x34dd82)=>{const _0xf66238=_0x340a94;if(!_0x34dd82[_0xf66238(0x159)][_0xf66238(0x18f)](_0xf9c9cf[_0xf66238(0x149)],_0x10a5c2[_0xf66238(0x190)]))return;const _0x1f5e64=C(_0xf9c9cf[_0xf66238(0x149)],_0x34dd82[_0xf66238(0x186)]);null===_0xf9c9cf[_0xf66238(0x191)]||void 0x0===_0xf9c9cf[_0xf66238(0x191)]||0x1===_0xf9c9cf[_0xf66238(0x191)]?_0x34dd82[_0xf66238(0x181)][_0xf66238(0x14e)](_0xf66238(0x19f),_0x1f5e64):_0x34dd82[_0xf66238(0x181)][_0xf66238(0x160)](_0xf66238(0x19f),String(_0xf9c9cf[_0xf66238(0x191)]),_0x1f5e64);}),_0x1134de['on'](_0x340a94(0x162),(_0x1db7fa,_0x55cd57,_0x3037cf)=>{const _0x12429d=_0x340a94;if(!_0x3037cf[_0x12429d(0x159)][_0x12429d(0x18f)](_0x55cd57[_0x12429d(0x149)],_0x1db7fa[_0x12429d(0x190)]))return;const _0x1dd0fe=C(_0x55cd57[_0x12429d(0x149)],_0x3037cf[_0x12429d(0x186)]);_0x55cd57[_0x12429d(0x191)]&&_0x12429d(0x176)!==_0x55cd57[_0x12429d(0x191)]?_0x3037cf[_0x12429d(0x181)][_0x12429d(0x174)](_0x12429d(0x18c),_0x55cd57[_0x12429d(0x191)],_0x1dd0fe):_0x3037cf[_0x12429d(0x181)][_0x12429d(0x156)](_0x12429d(0x18c),_0x1dd0fe);});});}[_0x314942(0x196)](){const _0x2ff88f=_0x314942,{editor:_0x4c358e}=this,{model:_0x453bf6}=_0x4c358e,_0x2a923a=_0x4c358e[_0x2ff88f(0x185)][_0x2ff88f(0x197)](_0x5d7667),_0x211a08=this[_0x2ff88f(0x19e)](),_0x5f196b=this[_0x2ff88f(0x1a3)]();_0x453bf6[_0x2ff88f(0x173)][_0x2ff88f(0x189)](_0x43b8dd=>{const _0x3eeeca=_0x2ff88f,_0x47efd5=_0x453bf6[_0x3eeeca(0x173)][_0x3eeeca(0x1a0)][_0x3eeeca(0x164)]();let _0xa0ca42=!0x1;for(const _0x53cf87 of _0x47efd5){if(_0x3eeeca(0x148)!==_0x53cf87[_0x3eeeca(0x157)]||_0x3eeeca(0x153)===_0x53cf87[_0x3eeeca(0x190)])continue;const _0x39eaeb=_0x453bf6[_0x3eeeca(0x152)](_0x53cf87[_0x3eeeca(0x193)][_0x3eeeca(0x15e)]);for(const _0x48c667 of _0x39eaeb[_0x3eeeca(0x194)]())_0x48c667['is'](_0x3eeeca(0x19d),_0x3eeeca(0x166))&&(_0x48c667[_0x3eeeca(0x15a)](_0x3eeeca(0x15f))||(_0x43b8dd[_0x3eeeca(0x160)](_0x3eeeca(0x15f),_0x5f196b,_0x48c667),_0xa0ca42=!0x0),_0x48c667[_0x3eeeca(0x15a)](_0x3eeeca(0x1a8))||(_0x43b8dd[_0x3eeeca(0x160)](_0x3eeeca(0x1a8),_0x211a08,_0x48c667),_0xa0ca42=!0x0));}return _0xa0ca42&&_0x2a923a[_0x3eeeca(0x180)](_0x43b8dd),_0xa0ca42;});}[_0x314942(0x192)](){const _0x57aa14=_0x314942,{editor:_0xd98af7}=this;_0xd98af7[_0x57aa14(0x185)][_0x57aa14(0x197)](_0x5d7667)[_0x57aa14(0x17b)](_0x4f5bd8=>this[_0x57aa14(0x178)](_0x4f5bd8));}[_0x314942(0x19e)](){const _0x4eb91a=_0x314942;return this[_0x4eb91a(0x19a)][_0x4eb91a(0x175)][_0x4eb91a(0x197)](_0x4eb91a(0x146));}[_0x314942(0x1a3)](){const _0x1daae3=_0x314942;return this[_0x1daae3(0x19a)][_0x1daae3(0x175)][_0x1daae3(0x197)](_0x1daae3(0x14c));}[_0x314942(0x178)]({container:_0x1d2526,value:_0x37aa36,digits:_0xcf84c5}){const _0x1e9e1b=_0x314942,_0x5652e0=_0x1d2526[_0x1e9e1b(0x1a9)](_0x1e9e1b(0x1a8)),_0x45a275=_0x1d2526[_0x1e9e1b(0x1a9)](_0x1e9e1b(0x15f)),_0x543999=Math[_0x1e9e1b(0x170)](_0x37aa36)+(_0x45a275-0x1);switch(_0x5652e0){case _0x1e9e1b(0x176):default:return String(_0x543999);case _0x1e9e1b(0x177):return function(_0x21a7bc,_0x15d0be){const _0x3b0a75=_0x1e9e1b;return String(_0x21a7bc)[_0x3b0a75(0x18b)](_0x15d0be,'0');}(_0x543999,Math[_0x1e9e1b(0x17e)](0x2,_0xcf84c5));case _0x1e9e1b(0x171):case _0x1e9e1b(0x198):return M(_0x543999,!0x1);case _0x1e9e1b(0x187):case _0x1e9e1b(0x16b):return M(_0x543999,!0x0);case _0x1e9e1b(0x16d):return A(_0x543999,!0x1);case _0x1e9e1b(0x1a5):return A(_0x543999,!0x0);}}}function C(_0x104bc7,_0x25824c){const _0x310856=_0x314942,_0x4ade33=_0x25824c[_0x310856(0x1a4)](_0x104bc7);return Array[_0x310856(0x16a)](_0x4ade33[_0x310856(0x14f)]())[_0x310856(0x15c)](_0x15c1ae=>_0x15c1ae['is'](_0x310856(0x19d),'ol'));}function M(_0xaddd78,_0x5c6ee0){const _0x14d8cc=_0x314942;let _0x3c205e='',_0x553f21=_0xaddd78;for(;_0x553f21>0x0;){const _0x95c4c=(_0x553f21-0x1)%0x1a;_0x3c205e=String[_0x14d8cc(0x1a2)](0x61+_0x95c4c)+_0x3c205e,_0x553f21=Math[_0x14d8cc(0x170)]((_0x553f21-0x1)/0x1a);}return _0x5c6ee0?_0x3c205e[_0x14d8cc(0x1a1)]():_0x3c205e;}const X=[{'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 A(_0x5a7002,_0x163962){const _0x949e9a=_0x314942;let _0xc3c701='',_0x4b33ef=_0x5a7002;for(const {value:_0x429a18,numeral:_0x252c19}of X)for(;_0x4b33ef>=_0x429a18;)_0xc3c701+=_0x252c19,_0x4b33ef-=_0x429a18;return _0x163962?_0xc3c701:_0xc3c701[_0x949e9a(0x184)]();}
23
+ const _0x2d091f=_0x5c59;(function(_0x55cbf8,_0x3d2d5c){const _0x36061c=_0x5c59,_0x854cbb=_0x55cbf8();while(!![]){try{const _0x3662b1=-parseInt(_0x36061c(0x16f))/0x1*(-parseInt(_0x36061c(0x19f))/0x2)+parseInt(_0x36061c(0x150))/0x3+parseInt(_0x36061c(0x1a0))/0x4*(-parseInt(_0x36061c(0x17c))/0x5)+-parseInt(_0x36061c(0x145))/0x6*(parseInt(_0x36061c(0x18a))/0x7)+parseInt(_0x36061c(0x18f))/0x8+parseInt(_0x36061c(0x15e))/0x9*(parseInt(_0x36061c(0x1a1))/0xa)+-parseInt(_0x36061c(0x16c))/0xb*(parseInt(_0x36061c(0x161))/0xc);if(_0x3662b1===_0x3d2d5c)break;else _0x854cbb['push'](_0x854cbb['shift']());}catch(_0x5ddae2){_0x854cbb['push'](_0x854cbb['shift']());}}}(_0x54dc,0xd2fd8));import{Plugin as _0x32d478}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2f44a5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3887f7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3ac1c3}from'../footnotestracker.js';import{FootnotesEditing as _0x407faf}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x32d478{static get[_0x2d091f(0x15c)](){const _0x170e87=_0x2d091f;return _0x170e87(0x16a);}static get[_0x2d091f(0x183)](){return[_0x407faf,_0x3ac1c3];}static get[_0x2d091f(0x17d)](){return!0x0;}static get[_0x2d091f(0x147)](){return!0x0;}[_0x2d091f(0x15f)](){const _0x17c7b4=_0x2d091f,{editor:_0xc5d6ae}=this;_0xc5d6ae[_0x17c7b4(0x190)][_0x17c7b4(0x1a3)](_0x17c7b4(0x151),_0x17c7b4(0x16e)),_0xc5d6ae[_0x17c7b4(0x190)][_0x17c7b4(0x1a3)](_0x17c7b4(0x155),0x1),_0xc5d6ae[_0x17c7b4(0x19b)][_0x17c7b4(0x16b)](_0x17c7b4(0x1ab),new _0x2f44a5(_0xc5d6ae)),_0xc5d6ae[_0x17c7b4(0x19b)][_0x17c7b4(0x16b)](_0x17c7b4(0x171),new _0x3887f7(_0xc5d6ae)),this[_0x17c7b4(0x14f)](),this[_0x17c7b4(0x180)](),this[_0x17c7b4(0x1a4)](),this[_0x17c7b4(0x19e)]();}[_0x2d091f(0x14f)](){const _0x48589b=_0x2d091f,{editor:_0x111d67}=this,{schema:_0x54ffb3}=_0x111d67[_0x48589b(0x14e)];_0x54ffb3[_0x48589b(0x163)](_0x48589b(0x173),{'allowAttributes':[_0x48589b(0x18c),_0x48589b(0x169)]});}[_0x2d091f(0x180)](){const _0x1869c4=_0x2d091f,{editor:_0x4a06f5}=this,{conversion:_0x415940,model:_0x4b5f28}=_0x4a06f5,{schema:_0x5440fd}=_0x4b5f28;_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0x1869c4(0x18c),'value':_0x5fbfc1=>_0x5fbfc1[_0x1869c4(0x178)](_0x1869c4(0x168))}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0x1869c4(0x169),'value':_0x56cade=>{const _0x58079e=_0x1869c4,_0x8bfc03=_0x56cade[_0x58079e(0x148)](_0x58079e(0x15b)),_0x484772=Number[_0x58079e(0x179)](_0x8bfc03,0xa);return Number[_0x58079e(0x167)](_0x484772)?null:_0x484772;}}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0x1869c4(0x18c),'value':_0x117491=>({0x1:_0x1869c4(0x16e),'a':_0x1869c4(0x194),'A':_0x1869c4(0x17e),'i':_0x1869c4(0x170),'I':_0x1869c4(0x166)}[_0x117491[_0x1869c4(0x148)](_0x1869c4(0x197))])}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x16b)](_0x5340b4=>{const _0x5d43f5=_0x1869c4;_0x5340b4['on'](_0x5d43f5(0x176),(_0x37b17d,_0x54e034,_0x195944)=>{const _0xec83fb=_0x5d43f5,_0x459e06=_0x54e034[_0xec83fb(0x199)]?.[_0xec83fb(0x15b)][_0xec83fb(0x196)];_0x459e06?.['is'](_0xec83fb(0x159),_0xec83fb(0x173))&&(!_0x459e06[_0xec83fb(0x187)](_0xec83fb(0x18c))&&_0x5440fd[_0xec83fb(0x152)](_0x459e06,_0xec83fb(0x18c))&&_0x195944[_0xec83fb(0x182)][_0xec83fb(0x17a)](_0xec83fb(0x18c),_0xec83fb(0x16e),_0x459e06),!_0x459e06[_0xec83fb(0x187)](_0xec83fb(0x169))&&_0x5440fd[_0xec83fb(0x152)](_0x459e06,_0xec83fb(0x169))&&_0x195944[_0xec83fb(0x182)][_0xec83fb(0x17a)](_0xec83fb(0x169),0x1,_0x459e06));},{'priority':_0x5d43f5(0x1a9)});}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x153))[_0x1869c4(0x186)]({'model':{'name':_0x1869c4(0x173),'key':_0x1869c4(0x169)},'view':_0x14fdd5=>0x1===_0x14fdd5?null:{'key':_0x1869c4(0x15b),'value':String(_0x14fdd5)}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x153))[_0x1869c4(0x186)]({'model':{'name':_0x1869c4(0x173),'key':_0x1869c4(0x18c)},'view':_0x2209fe=>_0x1869c4(0x16e)===_0x2209fe?null:{'key':_0x1869c4(0x189),'value':{'list-style-type':_0x2209fe}}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x191))[_0x1869c4(0x16b)](_0x5b78de=>{const _0x4a512d=_0x1869c4;_0x5b78de['on'](_0x4a512d(0x185),(_0x2d6748,_0x3dc542,_0x4f6ec0)=>{const _0x314f03=_0x4a512d;if(!_0x4f6ec0[_0x314f03(0x18d)][_0x314f03(0x165)](_0x3dc542[_0x314f03(0x198)],_0x2d6748[_0x314f03(0x1a5)]))return;const _0x5241f0=C(_0x3dc542[_0x314f03(0x198)],_0x4f6ec0[_0x314f03(0x16d)]);null===_0x3dc542[_0x314f03(0x18e)]||void 0x0===_0x3dc542[_0x314f03(0x18e)]||0x1===_0x3dc542[_0x314f03(0x18e)]?_0x4f6ec0[_0x314f03(0x182)][_0x314f03(0x192)](_0x314f03(0x15b),_0x5241f0):_0x4f6ec0[_0x314f03(0x182)][_0x314f03(0x17a)](_0x314f03(0x15b),String(_0x3dc542[_0x314f03(0x18e)]),_0x5241f0);}),_0x5b78de['on'](_0x4a512d(0x19a),(_0x3859ed,_0x4d9d75,_0x2ee396)=>{const _0x4fe85d=_0x4a512d;if(!_0x2ee396[_0x4fe85d(0x18d)][_0x4fe85d(0x165)](_0x4d9d75[_0x4fe85d(0x198)],_0x3859ed[_0x4fe85d(0x1a5)]))return;const _0x398e41=C(_0x4d9d75[_0x4fe85d(0x198)],_0x2ee396[_0x4fe85d(0x16d)]);_0x4d9d75[_0x4fe85d(0x18e)]&&_0x4fe85d(0x16e)!==_0x4d9d75[_0x4fe85d(0x18e)]?_0x2ee396[_0x4fe85d(0x182)][_0x4fe85d(0x18b)](_0x4fe85d(0x168),_0x4d9d75[_0x4fe85d(0x18e)],_0x398e41):_0x2ee396[_0x4fe85d(0x182)][_0x4fe85d(0x174)](_0x4fe85d(0x168),_0x398e41);});});}[_0x2d091f(0x19e)](){const _0x54e960=_0x2d091f,{editor:_0x2dbc0d}=this,{model:_0xe685b4}=_0x2dbc0d,_0x739417=_0x2dbc0d[_0x54e960(0x157)][_0x54e960(0x162)](_0x3ac1c3),_0x4c04e4=this[_0x54e960(0x14b)](),_0xd472cd=this[_0x54e960(0x19d)]();_0xe685b4[_0x54e960(0x17b)][_0x54e960(0x154)](_0x47db70=>{const _0x57a480=_0x54e960,_0x51158b=_0xe685b4[_0x57a480(0x17b)][_0x57a480(0x1a6)][_0x57a480(0x15a)]();let _0x17097a=!0x1;for(const _0x53c5fe of _0x51158b){if(_0x57a480(0x14d)!==_0x53c5fe[_0x57a480(0x197)]||_0x57a480(0x146)===_0x53c5fe[_0x57a480(0x1a5)])continue;const _0x105c03=_0xe685b4[_0x57a480(0x1a2)](_0x53c5fe[_0x57a480(0x156)][_0x57a480(0x196)]);for(const _0x292b44 of _0x105c03[_0x57a480(0x160)]())_0x292b44['is'](_0x57a480(0x159),_0x57a480(0x173))&&(_0x292b44[_0x57a480(0x187)](_0x57a480(0x169))||(_0x47db70[_0x57a480(0x17a)](_0x57a480(0x169),_0xd472cd,_0x292b44),_0x17097a=!0x0),_0x292b44[_0x57a480(0x187)](_0x57a480(0x18c))||(_0x47db70[_0x57a480(0x17a)](_0x57a480(0x18c),_0x4c04e4,_0x292b44),_0x17097a=!0x0));}return _0x17097a&&_0x739417[_0x57a480(0x175)](_0x47db70),_0x17097a;});}[_0x2d091f(0x1a4)](){const _0x4e90f1=_0x2d091f,{editor:_0x403d67}=this;_0x403d67[_0x4e90f1(0x157)][_0x4e90f1(0x162)](_0x3ac1c3)[_0x4e90f1(0x17f)](_0x3400df=>this[_0x4e90f1(0x1a7)](_0x3400df));}[_0x2d091f(0x14b)](){const _0x538477=_0x2d091f;return this[_0x538477(0x164)][_0x538477(0x190)][_0x538477(0x162)](_0x538477(0x151));}[_0x2d091f(0x19d)](){const _0x420fe2=_0x2d091f;return this[_0x420fe2(0x164)][_0x420fe2(0x190)][_0x420fe2(0x162)](_0x420fe2(0x155));}[_0x2d091f(0x1a7)]({container:_0x4b818d,value:_0xa759ee,digits:_0x7552a8}){const _0x211dd0=_0x2d091f,_0x172917=_0x4b818d[_0x211dd0(0x148)](_0x211dd0(0x18c)),_0x152ca4=_0x4b818d[_0x211dd0(0x148)](_0x211dd0(0x169)),_0xd3b308=Math[_0x211dd0(0x184)](_0xa759ee)+(_0x152ca4-0x1);switch(_0x172917){case _0x211dd0(0x16e):default:return String(_0xd3b308);case _0x211dd0(0x14c):return function(_0x522c8e,_0x43380d){const _0x234a6a=_0x211dd0;return String(_0x522c8e)[_0x234a6a(0x1a8)](_0x43380d,'0');}(_0xd3b308,Math[_0x211dd0(0x172)](0x2,_0x7552a8));case _0x211dd0(0x194):case _0x211dd0(0x14a):return M(_0xd3b308,!0x1);case _0x211dd0(0x17e):case _0x211dd0(0x177):return M(_0xd3b308,!0x0);case _0x211dd0(0x170):return A(_0xd3b308,!0x1);case _0x211dd0(0x166):return A(_0xd3b308,!0x0);}}}function _0x5c59(_0x6ab1c4,_0x27dbe9){const _0x54dc5b=_0x54dc();return _0x5c59=function(_0x5c59f5,_0xc727df){_0x5c59f5=_0x5c59f5-0x145;let _0x2b02f9=_0x54dc5b[_0x5c59f5];return _0x2b02f9;},_0x5c59(_0x6ab1c4,_0x27dbe9);}function C(_0x56e342,_0x500495){const _0x21a485=_0x2d091f,_0x3ebb00=_0x500495[_0x21a485(0x188)](_0x56e342);return Array[_0x21a485(0x181)](_0x3ebb00[_0x21a485(0x15d)]())[_0x21a485(0x195)](_0x16a861=>_0x16a861['is'](_0x21a485(0x159),'ol'));}function M(_0x8ce37,_0x34380a){const _0xaf3458=_0x2d091f;let _0x4348ff='',_0x3d1781=_0x8ce37;for(;_0x3d1781>0x0;){const _0x4559e7=(_0x3d1781-0x1)%0x1a;_0x4348ff=String[_0xaf3458(0x193)](0x61+_0x4559e7)+_0x4348ff,_0x3d1781=Math[_0xaf3458(0x184)]((_0x3d1781-0x1)/0x1a);}return _0x34380a?_0x4348ff[_0xaf3458(0x158)]():_0x4348ff;}const X=[{'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 _0x54dc(){const _0x3efab8=['nodeAfter','type','item','modelRange','attribute:footnotesListStyle:footnotesDefinitions','commands','for','_getDefaultStartIndex','_definePostfixer','513914lYMrvt','4oFkbBs','631840vWZhPg','createRangeOn','define','_defineFormatter','name','differ','_formatFootnoteListValue','padStart','low','upcast','footnotesStyle','6pfWoCa','$text','isPremiumPlugin','getAttribute','toLowerCase','lower-latin','_getDefaultListStyle','decimal-leading-zero','insert','model','_defineSchema','2530038tkazGb','footnotes.footnotesProperties.defaultListStyle','checkAttribute','dataDowncast','registerPostFixer','footnotes.footnotesProperties.defaultStartIndex','position','plugins','toUpperCase','element','getChanges','start','pluginName','getChildren','198WLdyjb','init','getItems','12IJTklI','get','extend','editor','consume','upper-roman','isNaN','list-style-type','footnotesListStart','FootnotesPropertiesEditing','add','14292399wQrlim','mapper','decimal','1RXGVSU','lower-roman','footnotesStart','max','footnotesDefinitions','removeStyle','_updateFootnotesCounters','element:ol','upper-latin','getStyle','parseInt','setAttribute','document','1445280QIBYEh','isOfficialPlugin','upper-alpha','setFootnoteFormatter','_defineConverters','from','writer','requires','floor','attribute:footnotesListStart:footnotesDefinitions','attributeToAttribute','hasAttribute','toViewElement','style','7432999buQJTO','setStyle','footnotesListStyle','consumable','attributeNewValue','8192696OyjbXK','config','editingDowncast','removeAttribute','fromCharCode','lower-alpha','find'];_0x54dc=function(){return _0x3efab8;};return _0x54dc();}function A(_0x1abfc1,_0x58a361){const _0x49f7c6=_0x2d091f;let _0x46f97a='',_0x451fb4=_0x1abfc1;for(const {value:_0x44ee4e,numeral:_0x107134}of X)for(;_0x451fb4>=_0x44ee4e;)_0x46f97a+=_0x107134,_0x451fb4-=_0x44ee4e;return _0x58a361?_0x46f97a:_0x46f97a[_0x49f7c6(0x149)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x51bb80,ButtonView as _0xad4135,ContextualBalloon as _0x40b4f8,createDropdown as _0x5b386a}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3e27c9}from'ckeditor5/src/widget.js';import{Plugin as _0x1c642e}from'ckeditor5/src/core.js';import{IconFootnote as _0x5b0dad,IconListStyleDecimal as _0x72ca5e,IconListStyleDecimalLeadingZero as _0x4d7c70,IconListStyleLowerLatin as _0xecd272,IconListStyleLowerRoman as _0x4862c7,IconListStyleUpperLatin as _0x5ca49a,IconListStyleUpperRoman as _0x329960}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3905fb}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2f7b0b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1c642e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x40b4f8,_0x3e27c9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x413c88}=this,{componentFactory:_0x57ab9a}=_0x413c88['ui'];_0x413c88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x57ab9a['add']('footnotesStyle',function(_0xa62b36){return _0x26f489=>{const {t:t}=_0x26f489,_0x8e20be=_0xa62b36['commands']['get']('footnotesStyle'),_0x5e1356=_0x5b386a(_0x26f489),{buttonView:_0x184ddb}=_0x5e1356;return _0x5e1356['class']='ck-footnotes-styles-dropdown',_0x5e1356['bind']('isEnabled')['to'](_0x8e20be,'isEnabled'),_0x184ddb['set']({'label':t('Footnotes\x20style'),'icon':_0x5b0dad,'tooltip':!0x0}),_0x5e1356['once']('change:isOpen',()=>{const _0x2e8cea=function({editor:_0x423dcc,dropdownView:_0x5766eb}){const {t:t}=_0x423dcc['locale'],_0x3a0cd3=t('Footnotes\x20definitions\x20styles'),_0x55b981=function(_0x4711b6){const t=_0x4711b6['locale']['t'],_0x5c206f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x72ca5e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4d7c70},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4862c7},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x329960},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xecd272},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5ca49a}];return _0x5c206f['map'](function(_0xd7ae22){const _0x385481=_0xd7ae22['locale'];return({label:_0x3e6221,icon:_0x18e738,tooltip:_0x4af965,style:_0x1add73})=>{const _0x560642=_0xd7ae22['commands']['get']('footnotesStyle'),_0x5933a3=new _0xad4135(_0x385481);return _0x5933a3['set']({'label':_0x3e6221,'icon':_0x18e738,'tooltip':_0x4af965}),_0x5933a3['bind']('isOn')['to'](_0x560642,'value',_0x387e02=>_0x387e02===_0x1add73),_0x5933a3['bind']('isEnabled')['to'](_0x560642,'isEnabled'),_0x5933a3['on']('execute',()=>{_0xd7ae22['execute']('footnotesStyle',{'value':_0x1add73}),_0xd7ae22['editing']['view']['focus']();}),_0x5933a3;};}(_0x4711b6));}(_0x423dcc),_0x1741c1=new _0x3905fb(_0x423dcc['locale'],{'styleGridAriaLabel':_0x3a0cd3,'styleButtonViews':_0x55b981});return _0x1741c1['delegate']('execute')['to'](_0x5766eb),_0x1741c1['on']('footnotesListStart',(_0x316bba,_0x389084)=>{_0x423dcc['execute']('footnotesStart',{'value':_0x389084['startIndex']});}),_0x1741c1;}({'editor':_0xa62b36,'dropdownView':_0x5e1356});_0x5e1356['panelView']['children']['add'](_0x2e8cea);}),_0x5e1356;};}(_0x413c88));}['afterInit'](){const {editor:_0x4152d9}=this,{t:t}=_0x4152d9['locale'],_0x568661=_0x4152d9['plugins']['get'](_0x3e27c9),{defaultPositions:_0x646e80}=_0x51bb80;_0x568661['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4152d9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x311087=>{let _0x163759=_0x311087['getFirstPosition']()?.['parent'];return _0x163759?.['is']('$text')&&(_0x163759=_0x163759['parent']),_0x163759?.['is']('element')?_0x163759['findAncestor'](_0x2f7b0b):null;},'positions':[_0x646e80['southArrowNorth'],_0x646e80['southArrowNorthMiddleWest'],_0x646e80['southArrowNorthMiddleEast'],_0x646e80['southArrowNorthWest'],_0x646e80['southArrowNorthEast'],_0x646e80['northArrowSouth'],_0x646e80['northArrowSouthMiddleWest'],_0x646e80['northArrowSouthMiddleEast'],_0x646e80['northArrowSouthWest'],_0x646e80['northArrowSouthEast'],_0x646e80['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x46c689,ButtonView as _0x1c6799,ContextualBalloon as _0x76ef8c,createDropdown as _0x24cd96}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4b303f}from'ckeditor5/src/widget.js';import{Plugin as _0x4efae9}from'ckeditor5/src/core.js';import{IconFootnote as _0xa082fd,IconListStyleDecimal as _0x481301,IconListStyleDecimalLeadingZero as _0x3206ab,IconListStyleLowerLatin as _0x5573ef,IconListStyleLowerRoman as _0xfd893,IconListStyleUpperLatin as _0x35fa75,IconListStyleUpperRoman as _0x21e468}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x233d8e}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4830ba}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4efae9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x76ef8c,_0x4b303f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf13242}=this,{componentFactory:_0x2e7b97}=_0xf13242['ui'];_0xf13242['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2e7b97['add']('footnotesStyle',function(_0x486376){return _0x2b11cd=>{const {t:t}=_0x2b11cd,_0x348139=_0x486376['commands']['get']('footnotesStyle'),_0x1f0db0=_0x24cd96(_0x2b11cd),{buttonView:_0x2d812e}=_0x1f0db0;return _0x1f0db0['class']='ck-footnotes-styles-dropdown',_0x1f0db0['bind']('isEnabled')['to'](_0x348139,'isEnabled'),_0x2d812e['set']({'label':t('Footnotes\x20style'),'icon':_0xa082fd,'tooltip':!0x0}),_0x1f0db0['once']('change:isOpen',()=>{const _0x195d83=function({editor:_0x36a251,dropdownView:_0x4764ff}){const {t:t}=_0x36a251['locale'],_0x4c96a5=t('Footnotes\x20definitions\x20styles'),_0x5835e3=function(_0x5d0251){const t=_0x5d0251['locale']['t'],_0x4c5ee8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x481301},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3206ab},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xfd893},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x21e468},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5573ef},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x35fa75}];return _0x4c5ee8['map'](function(_0x3e674a){const _0xacb976=_0x3e674a['locale'];return({label:_0x4ee411,icon:_0x53633a,tooltip:_0x38236d,style:_0x37b326})=>{const _0x16b3da=_0x3e674a['commands']['get']('footnotesStyle'),_0x3264ab=new _0x1c6799(_0xacb976);return _0x3264ab['set']({'label':_0x4ee411,'icon':_0x53633a,'tooltip':_0x38236d}),_0x3264ab['bind']('isOn')['to'](_0x16b3da,'value',_0x2ca4c1=>_0x2ca4c1===_0x37b326),_0x3264ab['bind']('isEnabled')['to'](_0x16b3da,'isEnabled'),_0x3264ab['on']('execute',()=>{_0x3e674a['execute']('footnotesStyle',{'value':_0x37b326}),_0x3e674a['editing']['view']['focus']();}),_0x3264ab;};}(_0x5d0251));}(_0x36a251),_0x93cef5=new _0x233d8e(_0x36a251['locale'],{'styleGridAriaLabel':_0x4c96a5,'styleButtonViews':_0x5835e3});return _0x93cef5['delegate']('execute')['to'](_0x4764ff),_0x93cef5['on']('footnotesListStart',(_0x49e58a,_0x58d3e2)=>{_0x36a251['execute']('footnotesStart',{'value':_0x58d3e2['startIndex']});}),_0x93cef5;}({'editor':_0x486376,'dropdownView':_0x1f0db0});_0x1f0db0['panelView']['children']['add'](_0x195d83);}),_0x1f0db0;};}(_0xf13242));}['afterInit'](){const {editor:_0x92ea38}=this,{t:t}=_0x92ea38['locale'],_0x31b698=_0x92ea38['plugins']['get'](_0x4b303f),{defaultPositions:_0x4a5eb5}=_0x46c689;_0x31b698['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x92ea38['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4e618d=>{let _0x1122e0=_0x4e618d['getFirstPosition']()?.['parent'];return _0x1122e0?.['is']('$text')&&(_0x1122e0=_0x1122e0['parent']),_0x1122e0?.['is']('element')?_0x1122e0['findAncestor'](_0x4830ba):null;},'positions':[_0x4a5eb5['southArrowNorth'],_0x4a5eb5['southArrowNorthMiddleWest'],_0x4a5eb5['southArrowNorthMiddleEast'],_0x4a5eb5['southArrowNorthWest'],_0x4a5eb5['southArrowNorthEast'],_0x4a5eb5['northArrowSouth'],_0x4a5eb5['northArrowSouthMiddleWest'],_0x4a5eb5['northArrowSouthMiddleEast'],_0x4a5eb5['northArrowSouthWest'],_0x4a5eb5['northArrowSouthEast'],_0x4a5eb5['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3b12f1,View as _0x23e150,ViewCollection as _0x54bff8,FocusCycler as _0x14e013,addKeyboardHandlingForGrid as _0x39b038,CollapsibleView as _0x506e7e,LabeledFieldView as _0x461423,createLabeledInputNumber as tt}from'ckeditor5/src/ui.js';import{FocusTracker as st,KeystrokeHandler as it,global as et}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x23e150{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new st();['keystrokes']=new it();['focusables']=new _0x54bff8();['focusCycler'];constructor(_0x1eb8fb,{styleButtonViews:_0x211bf4,styleGridAriaLabel:_0x3f6338}){super(_0x1eb8fb),(this['focusCycler']=new _0x14e013({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x211bf4,_0x3f6338),[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 _0x5cc1c6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5cc1c6['element']);_0x39b038({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>et['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 _0x436629=_0x1be072=>_0x1be072['stopPropagation']();this['keystrokes']['set']('arrowright',_0x436629),this['keystrokes']['set']('arrowleft',_0x436629),this['keystrokes']['set']('arrowup',_0x436629),this['keystrokes']['set']('arrowdown',_0x436629);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x67dd61,_0x472fed){const _0x2b800b=new _0x23e150(this['locale']);return _0x2b800b['children']=_0x2b800b['createCollection'](),_0x2b800b['children']['addMany'](_0x67dd61),_0x2b800b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x472fed,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2b800b['children']}),_0x2b800b['children']['delegate']('execute')['to'](this),_0x2b800b['focus']=function(){for(const _0x3060c8 of this['children'])if(_0x3060c8 instanceof _0x3b12f1&&_0x3060c8['isOn'])return void _0x3060c8['focus']();this['children']['first']['focus']();},_0x2b800b['focusTracker']=new st(),_0x2b800b['keystrokes']=new it(),_0x2b800b['render'](),_0x2b800b['keystrokes']['listenTo'](_0x2b800b['element']),this['children']['add'](_0x2b800b),_0x2b800b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1ebc4f=this['_createStartIndexPropertyView'](),_0x2cc6f7=[_0x1ebc4f],_0x2e33b6=new _0x506e7e(this['locale'],_0x2cc6f7);return _0x2e33b6['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2e33b6['buttonView']['bind']('isEnabled')['toMany'](_0x2cc6f7,'isEnabled',(..._0x3bc949)=>_0x3bc949['some'](_0x49d1e8=>_0x49d1e8)),_0x2e33b6['buttonView']['on']('change:isEnabled',(_0x34f2b4,_0x472776,_0x55127c)=>{_0x55127c||(_0x2e33b6['isCollapsed']=!0x0);}),this['children']['add'](_0x2e33b6),[_0x1ebc4f,_0x2e33b6];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3dd62a=new _0x461423(this['locale'],tt);return _0x3dd62a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3dd62a['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3dd62a['fieldView']['on']('input',()=>{const _0x4f7aae=_0x3dd62a['fieldView']['element'],_0x57316e=_0x4f7aae['valueAsNumber'];Number['isNaN'](_0x57316e)?_0x3dd62a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4f7aae['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x57316e}):_0x3dd62a['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3dd62a;}}
23
+ import{ButtonView as _0x4363dd,View as _0x15e1c8,ViewCollection as _0x56dfd8,FocusCycler as _0xc6f3a8,addKeyboardHandlingForGrid as _0xd0e08,CollapsibleView as _0x493b06,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x15e1c8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x56dfd8();['focusCycler'];constructor(_0x5b6d8c,{styleButtonViews:_0x2829c7,styleGridAriaLabel:_0x2482fb}){super(_0x5b6d8c),(this['focusCycler']=new _0xc6f3a8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2829c7,_0x2482fb),[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 _0x1d1480 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1d1480['element']);_0xd0e08({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['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 _0x4e3797=_0x53f96f=>_0x53f96f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4e3797),this['keystrokes']['set']('arrowleft',_0x4e3797),this['keystrokes']['set']('arrowup',_0x4e3797),this['keystrokes']['set']('arrowdown',_0x4e3797);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1ee908,_0x17ded4){const _0x3ff1e8=new _0x15e1c8(this['locale']);return _0x3ff1e8['children']=_0x3ff1e8['createCollection'](),_0x3ff1e8['children']['addMany'](_0x1ee908),_0x3ff1e8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x17ded4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ff1e8['children']}),_0x3ff1e8['children']['delegate']('execute')['to'](this),_0x3ff1e8['focus']=function(){for(const _0x130d0d of this['children'])if(_0x130d0d instanceof _0x4363dd&&_0x130d0d['isOn'])return void _0x130d0d['focus']();this['children']['first']['focus']();},_0x3ff1e8['focusTracker']=new it(),_0x3ff1e8['keystrokes']=new et(),_0x3ff1e8['render'](),_0x3ff1e8['keystrokes']['listenTo'](_0x3ff1e8['element']),this['children']['add'](_0x3ff1e8),_0x3ff1e8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4b358=this['_createStartIndexPropertyView'](),_0x1c274b=[_0x4b358],_0x2d67b2=new _0x493b06(this['locale'],_0x1c274b);return _0x2d67b2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2d67b2['buttonView']['bind']('isEnabled')['toMany'](_0x1c274b,'isEnabled',(..._0x4bb611)=>_0x4bb611['some'](_0x21f4a8=>_0x21f4a8)),_0x2d67b2['buttonView']['on']('change:isEnabled',(_0x27b334,_0x2250dc,_0x477440)=>{_0x477440||(_0x2d67b2['isCollapsed']=!0x0);}),this['children']['add'](_0x2d67b2),[_0x4b358,_0x2d67b2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3d9aa7=new tt(this['locale'],st);return _0x3d9aa7['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3d9aa7['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3d9aa7['fieldView']['on']('input',()=>{const _0x5da3cd=_0x3d9aa7['fieldView']['element'],_0xcab862=_0x5da3cd['valueAsNumber'];Number['isNaN'](_0xcab862)?_0x3d9aa7['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5da3cd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xcab862}):_0x3d9aa7['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3d9aa7;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6f24(_0xc502e3,_0x112b6f){var _0x4abbab=_0x4abb();return _0x6f24=function(_0x6f24ef,_0x5acb26){_0x6f24ef=_0x6f24ef-0x16f;var _0xc564ce=_0x4abbab[_0x6f24ef];return _0xc564ce;},_0x6f24(_0xc502e3,_0x112b6f);}function _0x4abb(){var _0x324e86=['requires','5569820bjtwAR','3209324auXnkc','12627312FjLDsA','4584440rOqJjO','21gnvBPb','isOfficialPlugin','isPremiumPlugin','478098geAGTg','FootnotesProperties','943237BOudks','3414645nYMebk','pluginName'];_0x4abb=function(){return _0x324e86;};return _0x4abb();}var _0x10ebe7=_0x6f24;(function(_0x13d3a5,_0xe3342e){var _0x10256e=_0x6f24,_0x39bff7=_0x13d3a5();while(!![]){try{var _0x18a7f4=-parseInt(_0x10256e(0x171))/0x1+parseInt(_0x10256e(0x176))/0x2+-parseInt(_0x10256e(0x172))/0x3+parseInt(_0x10256e(0x178))/0x4+-parseInt(_0x10256e(0x175))/0x5+-parseInt(_0x10256e(0x16f))/0x6*(parseInt(_0x10256e(0x179))/0x7)+parseInt(_0x10256e(0x177))/0x8;if(_0x18a7f4===_0xe3342e)break;else _0x39bff7['push'](_0x39bff7['shift']());}catch(_0x275625){_0x39bff7['push'](_0x39bff7['shift']());}}}(_0x4abb,0xda701));import{Plugin as _0x6a3d8f}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x334034}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3a64f9}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x6a3d8f{static get[_0x10ebe7(0x173)](){var _0x3c07ef=_0x10ebe7;return _0x3c07ef(0x170);}static get[_0x10ebe7(0x174)](){return[_0x334034,_0x3a64f9];}static get[_0x10ebe7(0x17a)](){return!0x0;}static get[_0x10ebe7(0x17b)](){return!0x0;}}
23
+ var _0xb5c563=_0x41e4;function _0x1571(){var _0x1bdae2=['29969291XEcKNQ','5928740TZnfcg','36mTzCwt','isPremiumPlugin','90bDdDwC','6955816veqoWY','1617039wZsHjI','2287528shdLTY','requires','17078ZgbrOk','pluginName','10TcvxCR','isOfficialPlugin','569472BUvCuD','FootnotesProperties','4vCfwRP'];_0x1571=function(){return _0x1bdae2;};return _0x1571();}(function(_0x5adb81,_0xaf862a){var _0x4ea5eb=_0x41e4,_0x1cda52=_0x5adb81();while(!![]){try{var _0x25d174=parseInt(_0x4ea5eb(0x127))/0x1*(parseInt(_0x4ea5eb(0x12c))/0x2)+parseInt(_0x4ea5eb(0x129))/0x3+-parseInt(_0x4ea5eb(0x132))/0x4*(parseInt(_0x4ea5eb(0x134))/0x5)+-parseInt(_0x4ea5eb(0x130))/0x6+-parseInt(_0x4ea5eb(0x128))/0x7+parseInt(_0x4ea5eb(0x12a))/0x8*(-parseInt(_0x4ea5eb(0x125))/0x9)+-parseInt(_0x4ea5eb(0x12e))/0xa*(-parseInt(_0x4ea5eb(0x133))/0xb);if(_0x25d174===_0xaf862a)break;else _0x1cda52['push'](_0x1cda52['shift']());}catch(_0x3c2f0e){_0x1cda52['push'](_0x1cda52['shift']());}}}(_0x1571,0x95e04));import{Plugin as _0x2a4b3a}from'ckeditor5/src/core.js';function _0x41e4(_0x1dc93d,_0x463773){var _0x157162=_0x1571();return _0x41e4=function(_0x41e477,_0x53d8d5){_0x41e477=_0x41e477-0x125;var _0x5ed1f6=_0x157162[_0x41e477];return _0x5ed1f6;},_0x41e4(_0x1dc93d,_0x463773);}import{FootnotesPropertiesEditing as _0x2bbf5d}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x30ade9}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2a4b3a{static get[_0xb5c563(0x12d)](){var _0x503c10=_0xb5c563;return _0x503c10(0x131);}static get[_0xb5c563(0x12b)](){return[_0x2bbf5d,_0x30ade9];}static get[_0xb5c563(0x12f)](){return!0x0;}static get[_0xb5c563(0x126)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2924(_0x459cd1,_0x4205ca){const _0x149e00=_0x149e();return _0x2924=function(_0x29242b,_0x549854){_0x29242b=_0x29242b-0x67;let _0x1a56fa=_0x149e00[_0x29242b];return _0x1a56fa;},_0x2924(_0x459cd1,_0x4205ca);}const _0x2a0438=_0x2924;(function(_0x4ef276,_0x3d9c23){const _0x4e13ce=_0x2924,_0x111e56=_0x4ef276();while(!![]){try{const _0x15a778=parseInt(_0x4e13ce(0xac))/0x1*(parseInt(_0x4e13ce(0x68))/0x2)+-parseInt(_0x4e13ce(0x6d))/0x3*(parseInt(_0x4e13ce(0x78))/0x4)+-parseInt(_0x4e13ce(0xbd))/0x5*(parseInt(_0x4e13ce(0xb9))/0x6)+-parseInt(_0x4e13ce(0xb4))/0x7+parseInt(_0x4e13ce(0x90))/0x8*(-parseInt(_0x4e13ce(0xa2))/0x9)+parseInt(_0x4e13ce(0x85))/0xa+parseInt(_0x4e13ce(0xc0))/0xb*(parseInt(_0x4e13ce(0xbe))/0xc);if(_0x15a778===_0x3d9c23)break;else _0x111e56['push'](_0x111e56['shift']());}catch(_0x2b8e29){_0x111e56['push'](_0x111e56['shift']());}}}(_0x149e,0xb319e));import{Plugin as _0x1729e4}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31185f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1729e4{[_0x2a0438(0xaf)]=[];[_0x2a0438(0x70)]=null;[_0x2a0438(0xa5)]=null;[_0x2a0438(0x6a)];[_0x2a0438(0xbc)];[_0x2a0438(0xbf)];static get[_0x2a0438(0xc1)](){const _0x464a19=_0x2a0438;return _0x464a19(0xa8);}static get[_0x2a0438(0x72)](){return!0x0;}static get[_0x2a0438(0x84)](){return!0x0;}constructor(_0x561779){const _0x4e7966=_0x2a0438;super(_0x561779),this[_0x4e7966(0x6a)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0x6c),'getElementKey':()=>_0x4e7966(0xc6)}),this[_0x4e7966(0xbc)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0x9d),'getElementKey':_0x599b8c=>_0x599b8c[_0x4e7966(0xc5)](_0x4e7966(0x8a))}),this[_0x4e7966(0xbf)]=new _0x31185f(this[_0x4e7966(0x89)][_0x4e7966(0x6f)],{'elementName':_0x4e7966(0xca),'getElementKey':_0x50d74b=>_0x50d74b[_0x4e7966(0xc5)](_0x4e7966(0x8a))});}[_0x2a0438(0x8d)](){const _0x2dd8f9=_0x2a0438,{editor:_0x5b1e17}=this,{model:_0x5b28e0}=_0x5b1e17;_0x5b28e0[_0x2dd8f9(0xa7)][_0x2dd8f9(0x97)](_0x1cd2ec=>{const _0x3e3494=_0x2dd8f9,_0x25dc6f=_0x5b28e0[_0x3e3494(0xa7)][_0x3e3494(0x91)][_0x3e3494(0xb8)]();let _0x6b4a06=!0x1;return this[_0x3e3494(0xb2)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x77)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x76)](_0x1cd2ec,_0x25dc6f)&&(_0x6b4a06=!0x0),this[_0x3e3494(0x67)](_0x1cd2ec)&&(_0x6b4a06=!0x0),this[_0x3e3494(0xba)](_0x1cd2ec)&&(_0x6b4a06=!0x0),this[_0x3e3494(0xb0)](_0x1cd2ec)&&(_0x6b4a06=!0x0),_0x6b4a06;}),this[_0x2dd8f9(0xb6)](_0x5b28e0[_0x2dd8f9(0xa7)],_0x2dd8f9(0x9f),()=>{const _0x1c7c78=_0x2dd8f9;_0x5b28e0[_0x1c7c78(0xa0)]({'isUndoable':!0x1},_0x28846e=>{const _0x25d466=_0x1c7c78;this[_0x25d466(0x9e)](_0x28846e);});},{'priority':_0x2dd8f9(0x87)});}[_0x2a0438(0x74)](){const _0x559daf=_0x2a0438;return this[_0x559daf(0x70)];}[_0x2a0438(0x7c)](_0x35fb2e){const _0x35e1d8=_0x2a0438;return this[_0x35e1d8(0xaf)][_0x35e1d8(0xab)](_0x356bc1=>_0x356bc1['id']===_0x35fb2e)||null;}[_0x2a0438(0x7b)](){const _0x12b449=_0x2a0438;return Array[_0x12b449(0x6e)](this[_0x12b449(0xaf)]);}[_0x2a0438(0x7d)](){const _0x289969=_0x2a0438;return this[_0x289969(0xa5)];}[_0x2a0438(0x75)](_0x54ff03){const _0x40c37c=_0x2a0438;this[_0x40c37c(0xa5)]=_0x54ff03;}[_0x2a0438(0x73)](_0x468b32,_0x155012=0x0){const _0x279753=_0x2a0438;let _0x53faf0=!0x1;for(let _0x550b6b=_0x155012;_0x550b6b<this[_0x279753(0xaf)][_0x279753(0x8e)];_0x550b6b++)this[_0x279753(0xad)](_0x468b32,_0x550b6b)&&(_0x53faf0=!0x0);return _0x53faf0;}[_0x2a0438(0x7e)](_0x5dded0,_0x261dbe){const _0x33854a=_0x2a0438,_0x5ea66e=_0x5dded0[_0x33854a(0x95)](_0x33854a(0x6c),{});return _0x5dded0[_0x33854a(0xc7)](_0x5ea66e,_0x261dbe),this[_0x33854a(0x70)]=_0x5ea66e,_0x5ea66e;}[_0x2a0438(0x9e)](_0x44b0c2){const _0x32ca01=_0x2a0438;if(!this[_0x32ca01(0xaf)][_0x32ca01(0x8e)]||this[_0x32ca01(0x70)])return;const _0x1e8180=this[_0x32ca01(0xaf)][0x0][_0x32ca01(0xbb)][_0x32ca01(0xc2)],_0x4f738b=this[_0x32ca01(0x7e)](_0x44b0c2,_0x1e8180);for(const _0x5e06fd of this[_0x32ca01(0xaf)])_0x5e06fd[_0x32ca01(0x86)][_0x32ca01(0xa1)]||_0x44b0c2[_0x32ca01(0xa6)](_0x5e06fd[_0x32ca01(0x86)],_0x4f738b,_0x32ca01(0x9c));this[_0x32ca01(0x73)](_0x44b0c2);}[_0x2a0438(0xb2)](_0x1eae17,_0x905ef9){const _0x5ea311=_0x2a0438;let _0x21b668=!0x1;const {inserted:_0xaec386,removed:_0x18d0fe,moved:_0xca4611}=this[_0x5ea311(0x6a)][_0x5ea311(0xb8)](_0x905ef9);if(_0xca4611[_0x5ea311(0x8e)]&&(this[_0x5ea311(0x70)]=_0xca4611[0x0]),_0xaec386[_0x5ea311(0x8e)]){if(_0xaec386[_0x5ea311(0x8e)]>0x1||this[_0x5ea311(0x70)]&&_0xaec386[_0x5ea311(0xc9)](_0x1c1fba=>_0x1c1fba!==this[_0x5ea311(0x70)])){const _0x5eb433=_0x1eae17[_0x5ea311(0x95)](_0x5ea311(0x6c),{}),_0x3ebdd0=[];this[_0x5ea311(0x70)]&&_0x3ebdd0[_0x5ea311(0x96)](this[_0x5ea311(0x70)]),_0x3ebdd0[_0x5ea311(0x96)](..._0xaec386),_0x1eae17[_0x5ea311(0xa6)](_0x5eb433,_0x3ebdd0[0x0],_0x5ea311(0xcb));for(const _0x4596bf of _0x3ebdd0)_0x1eae17[_0x5ea311(0x8f)](_0x1eae17[_0x5ea311(0x8c)](_0x4596bf),_0x1eae17[_0x5ea311(0x79)](_0x5eb433,_0x5ea311(0x9c))),_0x1eae17[_0x5ea311(0xb7)](_0x4596bf);this[_0x5ea311(0x70)]=_0x5eb433,this[_0x5ea311(0x73)](_0x1eae17),_0x21b668=!0x0;}else this[_0x5ea311(0x70)]=_0xaec386[0x0];}if(_0x18d0fe[_0x5ea311(0x8e)]&&_0x5ea311(0xb1)===this[_0x5ea311(0x70)]?.[_0x5ea311(0xc2)][_0x5ea311(0x7f)]){for(const _0x1f0018 of this[_0x5ea311(0xaf)])_0x1eae17[_0x5ea311(0xb7)](_0x1f0018[_0x5ea311(0xbb)]),_0x21b668=!0x0;this[_0x5ea311(0xaf)]=[],this[_0x5ea311(0x70)]=null;}return _0x21b668;}[_0x2a0438(0x77)](_0x19a624,_0x457c51){const _0x821ffb=_0x2a0438;let _0xb32f58=!0x1;const _0xa3439b=this[_0x821ffb(0x89)][_0x821ffb(0x6b)][_0x821ffb(0x80)](_0x821ffb(0x9a)),{inserted:_0x2ee4f3,moved:_0x2070c4}=this[_0x821ffb(0xbf)][_0x821ffb(0xb8)](_0x457c51);for(const _0x110737 of[..._0x2070c4,..._0x2ee4f3]){const _0x3b0460=_0x110737[_0x821ffb(0xc5)](_0x821ffb(0x8a)),_0x4f5e8e=this[_0x821ffb(0x7c)](_0x3b0460);_0x4f5e8e&&(_0x4f5e8e[_0x821ffb(0x86)]=_0x110737),_(_0x19a624,_0xa3439b,_0x110737)&&(_0xb32f58=!0x0);}return _0xb32f58;}[_0x2a0438(0x76)](_0x3c8d78,_0x3e14b3){const _0x165c24=_0x2a0438;let _0x4c8155=!0x1;const {removed:_0x3ee52e,inserted:_0x4f45b7,moved:_0x343810}=this[_0x165c24(0xbc)][_0x165c24(0xb8)](_0x3e14b3);for(const _0x3e8d26 of _0x3ee52e)this[_0x165c24(0xc3)](_0x3c8d78,_0x3e8d26)&&(_0x4c8155=!0x0);for(const _0x4eb4ec of _0x4f45b7)this[_0x165c24(0xa4)](_0x3c8d78,_0x4eb4ec)&&(_0x4c8155=!0x0);for(const _0x3fa69f of _0x343810)this[_0x165c24(0x7a)](_0x3c8d78,_0x3fa69f)&&(_0x4c8155=!0x0);return _0x4c8155;}[_0x2a0438(0xba)](_0x506846){const _0x482e2c=_0x2a0438;if(!this[_0x482e2c(0x70)])return!0x1;let _0x45caa5=!0x1;if(this[_0x482e2c(0x70)][_0x482e2c(0x8b)]!==this[_0x482e2c(0xaf)][_0x482e2c(0x8e)]){const _0x32f4c8=[];for(const _0x54823d of this[_0x482e2c(0x70)][_0x482e2c(0x9b)]()){const _0xb04651=_0x54823d[_0x482e2c(0xc5)](_0x482e2c(0x8a));this[_0x482e2c(0x7c)](_0xb04651)||(_0x32f4c8[_0x482e2c(0x93)](_0x54823d),_0x45caa5=!0x0);}for(const _0x2c23e2 of _0x32f4c8)_0x506846[_0x482e2c(0xb7)](_0x2c23e2);}const _0x436416=new Set(),_0x121ad9=[];for(const _0x1bc137 of this[_0x482e2c(0x70)][_0x482e2c(0x9b)]()){const _0x35919b=_0x1bc137[_0x482e2c(0xc5)](_0x482e2c(0x8a));_0x436416[_0x482e2c(0xb5)](_0x35919b)?(_0x121ad9[_0x482e2c(0x93)](_0x1bc137),_0x45caa5=!0x0):_0x436416[_0x482e2c(0xae)](_0x35919b);}for(const _0x2ff27a of _0x121ad9)_0x506846[_0x482e2c(0xb7)](_0x2ff27a);return this[_0x482e2c(0x70)][_0x482e2c(0x8b)]||(_0x506846[_0x482e2c(0xb7)](this[_0x482e2c(0x70)]),this[_0x482e2c(0x70)]=null,_0x45caa5=!0x0),_0x45caa5;}[_0x2a0438(0xa4)](_0x557420,_0x265abb){const _0x27e50e=_0x2a0438;if(this[_0x27e50e(0xaf)][_0x27e50e(0xab)](_0x5942ca=>_0x5942ca[_0x27e50e(0xbb)]===_0x265abb))return!0x1;let _0x4929fd=!0x1;const _0x3475ff=_0x265abb[_0x27e50e(0xc5)](_0x27e50e(0x8a)),_0x16187b=this[_0x27e50e(0x7c)](_0x3475ff);_0x16187b&&(_0x557420[_0x27e50e(0xb7)](_0x16187b[_0x27e50e(0xbb)]),this[_0x27e50e(0xaf)]=this[_0x27e50e(0xaf)][_0x27e50e(0x92)](_0x59a55a=>_0x59a55a['id']!==_0x3475ff),_0x4929fd=!0x0);let _0x25f6a9=this[_0x27e50e(0x70)]?function(_0x3d550c,_0x446f85){const _0x54cde7=_0x27e50e;for(const _0x577645 of _0x3d550c[_0x54cde7(0x9b)]())if(_0x577645[_0x54cde7(0xc5)](_0x54cde7(0x8a))===_0x446f85)return _0x577645;return null;}(this[_0x27e50e(0x70)],_0x3475ff):null;_0x25f6a9||(_0x25f6a9=_0x557420[_0x27e50e(0x95)](_0x27e50e(0xca),{'footnoteId':_0x3475ff}),this[_0x27e50e(0x70)]&&(_0x557420[_0x27e50e(0xa6)](_0x25f6a9,this[_0x27e50e(0x70)],_0x27e50e(0x9c)),_0x4929fd=!0x0));const _0x42286b={'id':_0x3475ff,'reference':_0x265abb,'definition':_0x25f6a9},_0x1a33b3=I(this[_0x27e50e(0x89)][_0x27e50e(0x6f)],this[_0x27e50e(0xaf)],_0x265abb);return this[_0x27e50e(0xaf)][_0x27e50e(0xaa)](_0x1a33b3,0x0,_0x42286b),this[_0x27e50e(0x73)](_0x557420,_0x1a33b3)&&(_0x4929fd=!0x0),_0x4929fd;}[_0x2a0438(0xc3)](_0x1f96b5,_0x29e890){const _0x2d412f=_0x2a0438,_0x1331bb=this[_0x2d412f(0xaf)][_0x2d412f(0x88)](_0x2f7e22=>_0x2f7e22['id']===_0x29e890);if(-0x1===_0x1331bb)return!0x1;let _0x12240f=!0x1;const _0x43d6a5=this[_0x2d412f(0xaf)][_0x1331bb];return _0x2d412f(0xb1)!==_0x43d6a5[_0x2d412f(0x86)][_0x2d412f(0xc2)][_0x2d412f(0x7f)]&&(_0x1f96b5[_0x2d412f(0xb7)](_0x43d6a5[_0x2d412f(0x86)]),_0x12240f=!0x0),this[_0x2d412f(0xaf)][_0x2d412f(0xaa)](_0x1331bb,0x1),this[_0x2d412f(0x73)](_0x1f96b5,_0x1331bb)&&(_0x12240f=!0x0),_0x12240f;}[_0x2a0438(0x7a)](_0x45440c,_0x6dd1d){const _0x1e1f8f=_0x2a0438,_0x3c6a21=_0x6dd1d[_0x1e1f8f(0xc5)](_0x1e1f8f(0x8a)),_0x1a5b91=this[_0x1e1f8f(0xaf)][_0x1e1f8f(0x88)](_0x548f45=>_0x548f45['id']===_0x3c6a21),_0x50ac5b=this[_0x1e1f8f(0xaf)][_0x1a5b91];let _0x4a9c01=!0x1;_0x50ac5b[_0x1e1f8f(0xbb)]=_0x6dd1d,this[_0x1e1f8f(0xaf)][_0x1e1f8f(0xaa)](_0x1a5b91,0x1);const _0x43f5f8=I(this[_0x1e1f8f(0x89)][_0x1e1f8f(0x6f)],this[_0x1e1f8f(0xaf)],_0x6dd1d);return this[_0x1e1f8f(0xaf)][_0x1e1f8f(0xaa)](_0x43f5f8,0x0,_0x50ac5b),this[_0x1e1f8f(0x73)](_0x45440c,Math[_0x1e1f8f(0x69)](_0x1a5b91,_0x43f5f8))&&(_0x4a9c01=!0x0),_0x4a9c01;}[_0x2a0438(0xad)](_0x1eb44f,_0x518f66){const _0x41a204=_0x2a0438;if(!this[_0x41a204(0x70)])return!0x1;const _0x796947=this[_0x41a204(0xaf)][_0x518f66];let _0x227f2a;return _0x227f2a=this[_0x41a204(0xa5)]?this[_0x41a204(0xa5)]({'footnote':_0x796947,'container':this[_0x41a204(0x70)],'digits':String(this[_0x41a204(0xaf)][_0x41a204(0x8e)])[_0x41a204(0x8e)],'value':_0x518f66+0x1}):String(_0x518f66+0x1),_0x796947[_0x41a204(0xbb)][_0x41a204(0xc5)](_0x41a204(0x81))!=_0x227f2a&&(_0x1eb44f[_0x41a204(0x83)](_0x41a204(0x81),_0x227f2a,_0x796947[_0x41a204(0xbb)]),!0x0);}[_0x2a0438(0xb0)](_0x480cc5){const _0x3d9b70=_0x2a0438;if(!this[_0x3d9b70(0x70)]||this[_0x3d9b70(0xaf)][_0x3d9b70(0x8e)]<0x2)return!0x1;if(function(_0x1b4042,_0x25bc8f){const _0x2f4850=_0x3d9b70;if(_0x1b4042[_0x2f4850(0x8e)]!==_0x25bc8f[_0x2f4850(0x8e)])return!0x1;for(let _0x2f1e4d=0x0;_0x2f1e4d<_0x1b4042[_0x2f4850(0x8e)];_0x2f1e4d++)if(_0x1b4042[_0x2f1e4d]!==_0x25bc8f[_0x2f1e4d])return!0x1;return!0x0;}(this[_0x3d9b70(0xaf)][_0x3d9b70(0xc4)](_0x2ad5b0=>_0x2ad5b0['id']),Array[_0x3d9b70(0x6e)](this[_0x3d9b70(0x70)][_0x3d9b70(0x9b)]())[_0x3d9b70(0xc4)](_0x235d3f=>_0x235d3f[_0x3d9b70(0xc5)](_0x3d9b70(0x8a)))))return!0x1;let _0x435012=!0x1;for(let _0x37f313=0x0;_0x37f313<this[_0x3d9b70(0xaf)][_0x3d9b70(0x8e)];_0x37f313++){const _0x38de67=this[_0x3d9b70(0xaf)][_0x37f313],_0x530b54=_0x480cc5[_0x3d9b70(0x99)](_0x38de67[_0x3d9b70(0x86)]),_0x49790a=_0x480cc5[_0x3d9b70(0x79)](this[_0x3d9b70(0x70)],_0x37f313);_0x530b54[_0x3d9b70(0x82)](_0x49790a)||(_0x480cc5[_0x3d9b70(0x8f)](_0x480cc5[_0x3d9b70(0x71)](_0x38de67[_0x3d9b70(0x86)]),_0x49790a),_0x435012=!0x0);}return _0x435012;}[_0x2a0438(0x67)](_0x1b67bb){const _0x48ea7d=_0x2a0438;if(!this[_0x48ea7d(0xaf)][_0x48ea7d(0x8e)])return!0x1;const {model:_0x52f343}=this[_0x48ea7d(0x89)];let _0x5aae37=!0x1;for(let _0x567fc4=0x0;_0x567fc4<this[_0x48ea7d(0xaf)][_0x48ea7d(0x8e)]-0x1;_0x567fc4++){const _0x46c8d8=this[_0x48ea7d(0xaf)][_0x567fc4],_0x204635=this[_0x48ea7d(0xaf)][_0x567fc4+0x1],_0x38fd44=_0x52f343[_0x48ea7d(0x99)](_0x46c8d8[_0x48ea7d(0xbb)]),_0x55657f=_0x52f343[_0x48ea7d(0x99)](_0x204635[_0x48ea7d(0xbb)]);_0x48ea7d(0xa3)===_0x38fd44[_0x48ea7d(0xc8)](_0x55657f)&&(this[_0x48ea7d(0x7a)](_0x1b67bb,_0x46c8d8[_0x48ea7d(0xbb)]),_0x567fc4=-0x1,_0x5aae37=!0x0);}return _0x5aae37;}}function _(_0x44fdd5,_0x243506,_0x834593){const _0x1c9b60=_0x2a0438;if(_0x834593[_0x1c9b60(0x8b)])return!0x1;const _0x30c086=_0x243506?_0x1c9b60(0x98):_0x1c9b60(0x94);return _0x44fdd5[_0x1c9b60(0xa6)](_0x44fdd5[_0x1c9b60(0x95)](_0x30c086),_0x834593),!0x0;}function _0x149e(){const _0x144de4=['unshift','footnoteInlineContent','createElement','push','registerPostFixer','paragraph','createPositionBefore','footnotes.multiBlock','getChildren','end','footnoteRef','_ensureFootnotesDefinitionsContainerExists','change:data','enqueueChange','parent','1415277EqFZSf','after','_handleInsertedFootnoteReference','_footnoteFormatter','insert','document','FootnotesTracker','indexOf','splice','find','57325gqRFSY','_updateFootnoteRefCounter','add','_footnotes','_sortFootnoteDefinitions','$graveyard','_handleFootnotesDefinitionsObjectChanges','getRootNames','9395561UBkQha','has','listenTo','remove','getChanges','6FpQWcs','_handleFootnotesDefinitionsObjectSync','reference','_footnoteRefsTracker','5657105uLkylt','12WCPLop','_footnoteDefsTracker','45097789SnWkJh','pluginName','root','_handleRemoveFootnoteReferenceById','map','getAttribute','singleton','append','compareWith','some','footnoteDefinition','before','_ensureFootnotesReferencesHaveProperOrder','10xoOvkC','min','_footnoteDefsContainerTracker','config','footnotesDefinitions','3YqRuVO','from','model','_footnotesDefinitions','createRangeOn','isOfficialPlugin','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','setFootnoteFormatter','_handleFootnoteReferencesChanges','_handleFootnoteDefinitionsChanges','4890712bnnJyv','createPositionAt','_handleMovedFootnoteReference','getFootnotes','getFootnote','getFootnotesFormatter','_insertEmptyFootnotesDefinitionsContainer','rootName','get','footnoteCounter','isEqual','setAttribute','isPremiumPlugin','13015200kMUDrl','definition','low','findIndex','editor','footnoteId','childCount','createRangeIn','init','length','move','64QRgHpu','differ','filter'];_0x149e=function(){return _0x144de4;};return _0x149e();}function I(_0x34ab34,_0x3f71dc,_0x5aef8a){const _0x3bfeaa=_0x2a0438;if(0x0===_0x3f71dc[_0x3bfeaa(0x8e)])return 0x0;const _0xcd5c6b=_0x34ab34[_0x3bfeaa(0x99)](_0x5aef8a);for(let _0x1bb739=0x0;_0x1bb739<_0x3f71dc[_0x3bfeaa(0x8e)];_0x1bb739++){const _0x46092f=_0x3f71dc[_0x1bb739],_0x2b1abe=_0x34ab34[_0x3bfeaa(0x99)](_0x46092f[_0x3bfeaa(0xbb)]);if(_0x3bfeaa(0xcb)===_0xcd5c6b[_0x3bfeaa(0xc8)](_0x2b1abe))return _0x1bb739;}const _0x5a4165=_0x5aef8a[_0x3bfeaa(0xc2)];let _0xb76d8e=-0x1;for(let _0x52cb54=_0x3f71dc[_0x3bfeaa(0x8e)]-0x1;_0x52cb54>=0x0;_0x52cb54--)if(_0x3f71dc[_0x52cb54][_0x3bfeaa(0xbb)][_0x3bfeaa(0xc2)]===_0x5a4165){_0xb76d8e=_0x52cb54;break;}if(-0x1!==_0xb76d8e)return _0xb76d8e+0x1;const _0xcee133=_0x34ab34[_0x3bfeaa(0xa7)][_0x3bfeaa(0xb3)](),_0x449ed4=_0xcee133[_0x3bfeaa(0xa9)](_0x5a4165[_0x3bfeaa(0x7f)]),_0xeb73b1=_0xcee133[_0x449ed4+0x1];if(_0xeb73b1){for(let _0x59b265=0x0;_0x59b265<_0x3f71dc[_0x3bfeaa(0x8e)];_0x59b265++)if(_0x3f71dc[_0x59b265][_0x3bfeaa(0xbb)][_0x3bfeaa(0xc2)][_0x3bfeaa(0x7f)]===_0xeb73b1)return _0x59b265;}return _0x3f71dc[_0x3bfeaa(0x8e)];}
23
+ function _0x1ff2(_0x5054db,_0x21520b){const _0x39cbb3=_0x39cb();return _0x1ff2=function(_0x1ff272,_0xbbfb0){_0x1ff272=_0x1ff272-0x13f;let _0x26f68d=_0x39cbb3[_0x1ff272];return _0x26f68d;},_0x1ff2(_0x5054db,_0x21520b);}const _0x1f2cf1=_0x1ff2;function _0x39cb(){const _0x33a9b1=['before','footnoteCounter','_handleFootnoteReferencesChanges','config','footnoteInlineContent','124113tloLkv','12052824DuEQpv','change:data','differ','indexOf','footnotes.multiBlock','_footnoteRefsTracker','isOfficialPlugin','createRangeOn','_handleFootnoteDefinitionsChanges','18wCrHQi','editor','singleton','document','remove','paragraph','enqueueChange','init','_handleInsertedFootnoteReference','$graveyard','_footnoteFormatter','footnoteRef','append','_handleRemoveFootnoteReferenceById','min','534692JpyNtI','push','2090948OQzPOH','getFootnotesFormatter','_handleMovedFootnoteReference','insert','6ZXxpZF','getRootNames','_ensureFootnotesDefinitionsContainerExists','getChanges','_footnotes','footnoteId','_footnoteDefsTracker','_sortFootnoteDefinitions','1836duvZJK','getFootnote','1203010SGeOvn','model','listenTo','has','move','getFootnotesDefinitionsObjectElement','findIndex','FootnotesTracker','after','getChildren','pluginName','isEqual','footnotesDefinitions','get','_handleFootnotesDefinitionsObjectChanges','_footnotesDefinitions','root','isPremiumPlugin','getFootnotes','find','_ensureFootnotesReferencesHaveProperOrder','parent','createElement','_insertEmptyFootnotesDefinitionsContainer','5597744mFgUZp','from','rootName','23410ewuMjw','childCount','createRangeIn','registerPostFixer','_updateFootnoteRefCounter','splice','createPositionAt','5877SuvMyp','map','reference','_handleFootnotesDefinitionsObjectSync','definition','add','compareWith','getAttribute','length','_footnoteDefsContainerTracker','some','3KcJSfW','low','unshift','_updateFootnotesCounters','setFootnoteFormatter','createPositionBefore','filter','footnoteDefinition','setAttribute','end'];_0x39cb=function(){return _0x33a9b1;};return _0x39cb();}(function(_0x23cbb9,_0x186463){const _0xc2d922=_0x1ff2,_0x332163=_0x23cbb9();while(!![]){try{const _0x3eff7f=parseInt(_0xc2d922(0x14f))/0x1*(parseInt(_0xc2d922(0x149))/0x2)+parseInt(_0xc2d922(0x186))/0x3*(-parseInt(_0xc2d922(0x14b))/0x4)+-parseInt(_0xc2d922(0x159))/0x5*(-parseInt(_0xc2d922(0x19f))/0x6)+-parseInt(_0xc2d922(0x196))/0x7+parseInt(_0xc2d922(0x171))/0x8+-parseInt(_0xc2d922(0x17b))/0x9*(parseInt(_0xc2d922(0x174))/0xa)+-parseInt(_0xc2d922(0x195))/0xb*(-parseInt(_0xc2d922(0x157))/0xc);if(_0x3eff7f===_0x186463)break;else _0x332163['push'](_0x332163['shift']());}catch(_0x10d0f3){_0x332163['push'](_0x332163['shift']());}}}(_0x39cb,0xeeee1));import{Plugin as _0x58d154}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31b12f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x58d154{[_0x1f2cf1(0x153)]=[];[_0x1f2cf1(0x168)]=null;[_0x1f2cf1(0x144)]=null;[_0x1f2cf1(0x184)];[_0x1f2cf1(0x19b)];[_0x1f2cf1(0x155)];static get[_0x1f2cf1(0x163)](){const _0x2ff215=_0x1f2cf1;return _0x2ff215(0x160);}static get[_0x1f2cf1(0x19c)](){return!0x0;}static get[_0x1f2cf1(0x16a)](){return!0x0;}constructor(_0x201658){const _0x32564d=_0x1f2cf1;super(_0x201658),this[_0x32564d(0x184)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x165),'getElementKey':()=>_0x32564d(0x1a1)}),this[_0x32564d(0x19b)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x145),'getElementKey':_0x574cee=>_0x574cee[_0x32564d(0x182)](_0x32564d(0x154))}),this[_0x32564d(0x155)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x18d),'getElementKey':_0x258f8b=>_0x258f8b[_0x32564d(0x182)](_0x32564d(0x154))});}[_0x1f2cf1(0x141)](){const _0x3edb58=_0x1f2cf1,{editor:_0xfac974}=this,{model:_0x10d906}=_0xfac974;_0x10d906[_0x3edb58(0x1a2)][_0x3edb58(0x177)](_0xb1434=>{const _0xb3ff0d=_0x3edb58,_0xb017e9=_0x10d906[_0xb3ff0d(0x1a2)][_0xb3ff0d(0x198)][_0xb3ff0d(0x152)]();let _0x3f232b=!0x1;return this[_0xb3ff0d(0x167)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x19e)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x192)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x16d)](_0xb1434)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x17e)](_0xb1434)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x156)](_0xb1434)&&(_0x3f232b=!0x0),_0x3f232b;}),this[_0x3edb58(0x15b)](_0x10d906[_0x3edb58(0x1a2)],_0x3edb58(0x197),()=>{const _0x38b01c=_0x3edb58;_0x10d906[_0x38b01c(0x140)]({'isUndoable':!0x1},_0x59db1f=>{const _0xb848b9=_0x38b01c;this[_0xb848b9(0x151)](_0x59db1f);});},{'priority':_0x3edb58(0x187)});}[_0x1f2cf1(0x15e)](){const _0x7f6dde=_0x1f2cf1;return this[_0x7f6dde(0x168)];}[_0x1f2cf1(0x158)](_0x334962){const _0x293743=_0x1f2cf1;return this[_0x293743(0x153)][_0x293743(0x16c)](_0x49cdf5=>_0x49cdf5['id']===_0x334962)||null;}[_0x1f2cf1(0x16b)](){const _0x2464b5=_0x1f2cf1;return Array[_0x2464b5(0x172)](this[_0x2464b5(0x153)]);}[_0x1f2cf1(0x14c)](){const _0x148893=_0x1f2cf1;return this[_0x148893(0x144)];}[_0x1f2cf1(0x18a)](_0xa02139){const _0x116198=_0x1f2cf1;this[_0x116198(0x144)]=_0xa02139;}[_0x1f2cf1(0x189)](_0x43ddf5,_0x46cbc1=0x0){const _0x160449=_0x1f2cf1;let _0x314a74=!0x1;for(let _0x352e6a=_0x46cbc1;_0x352e6a<this[_0x160449(0x153)][_0x160449(0x183)];_0x352e6a++)this[_0x160449(0x178)](_0x43ddf5,_0x352e6a)&&(_0x314a74=!0x0);return _0x314a74;}[_0x1f2cf1(0x170)](_0x211ccf,_0x47a39e){const _0x2e23e7=_0x1f2cf1,_0x5b9637=_0x211ccf[_0x2e23e7(0x16f)](_0x2e23e7(0x165),{});return _0x211ccf[_0x2e23e7(0x146)](_0x5b9637,_0x47a39e),this[_0x2e23e7(0x168)]=_0x5b9637,_0x5b9637;}[_0x1f2cf1(0x151)](_0x4ff033){const _0x1de29d=_0x1f2cf1;if(!this[_0x1de29d(0x153)][_0x1de29d(0x183)]||this[_0x1de29d(0x168)])return;const _0x1a9c2d=this[_0x1de29d(0x153)][0x0][_0x1de29d(0x17d)][_0x1de29d(0x169)],_0x23dfc7=this[_0x1de29d(0x170)](_0x4ff033,_0x1a9c2d);for(const _0x56225a of this[_0x1de29d(0x153)])_0x56225a[_0x1de29d(0x17f)][_0x1de29d(0x16e)]||_0x4ff033[_0x1de29d(0x14e)](_0x56225a[_0x1de29d(0x17f)],_0x23dfc7,_0x1de29d(0x18f));this[_0x1de29d(0x189)](_0x4ff033);}[_0x1f2cf1(0x167)](_0x389e27,_0x316194){const _0x5c3e4a=_0x1f2cf1;let _0x238d06=!0x1;const {inserted:_0x3becba,removed:_0x1a48d4,moved:_0x5b109a}=this[_0x5c3e4a(0x184)][_0x5c3e4a(0x152)](_0x316194);if(_0x5b109a[_0x5c3e4a(0x183)]&&(this[_0x5c3e4a(0x168)]=_0x5b109a[0x0]),_0x3becba[_0x5c3e4a(0x183)]){if(_0x3becba[_0x5c3e4a(0x183)]>0x1||this[_0x5c3e4a(0x168)]&&_0x3becba[_0x5c3e4a(0x185)](_0xf5d06c=>_0xf5d06c!==this[_0x5c3e4a(0x168)])){const _0x23f5bf=_0x389e27[_0x5c3e4a(0x16f)](_0x5c3e4a(0x165),{}),_0x1a2f8d=[];this[_0x5c3e4a(0x168)]&&_0x1a2f8d[_0x5c3e4a(0x14a)](this[_0x5c3e4a(0x168)]),_0x1a2f8d[_0x5c3e4a(0x14a)](..._0x3becba),_0x389e27[_0x5c3e4a(0x14e)](_0x23f5bf,_0x1a2f8d[0x0],_0x5c3e4a(0x190));for(const _0x1b90b6 of _0x1a2f8d)_0x389e27[_0x5c3e4a(0x15d)](_0x389e27[_0x5c3e4a(0x176)](_0x1b90b6),_0x389e27[_0x5c3e4a(0x17a)](_0x23f5bf,_0x5c3e4a(0x18f))),_0x389e27[_0x5c3e4a(0x1a3)](_0x1b90b6);this[_0x5c3e4a(0x168)]=_0x23f5bf,this[_0x5c3e4a(0x189)](_0x389e27),_0x238d06=!0x0;}else this[_0x5c3e4a(0x168)]=_0x3becba[0x0];}if(_0x1a48d4[_0x5c3e4a(0x183)]&&_0x5c3e4a(0x143)===this[_0x5c3e4a(0x168)]?.[_0x5c3e4a(0x169)][_0x5c3e4a(0x173)]){for(const _0x339aa4 of this[_0x5c3e4a(0x153)])_0x389e27[_0x5c3e4a(0x1a3)](_0x339aa4[_0x5c3e4a(0x17d)]),_0x238d06=!0x0;this[_0x5c3e4a(0x153)]=[],this[_0x5c3e4a(0x168)]=null;}return _0x238d06;}[_0x1f2cf1(0x19e)](_0x59533f,_0xc66b75){const _0x52cd47=_0x1f2cf1;let _0x3f0955=!0x1;const _0x2d3690=this[_0x52cd47(0x1a0)][_0x52cd47(0x193)][_0x52cd47(0x166)](_0x52cd47(0x19a)),{inserted:_0x1f88d1,moved:_0x58af16}=this[_0x52cd47(0x155)][_0x52cd47(0x152)](_0xc66b75);for(const _0x23088f of[..._0x58af16,..._0x1f88d1]){const _0x43a80f=_0x23088f[_0x52cd47(0x182)](_0x52cd47(0x154)),_0xeceaae=this[_0x52cd47(0x158)](_0x43a80f);_0xeceaae&&(_0xeceaae[_0x52cd47(0x17f)]=_0x23088f),_(_0x59533f,_0x2d3690,_0x23088f)&&(_0x3f0955=!0x0);}return _0x3f0955;}[_0x1f2cf1(0x192)](_0x93d424,_0x1b761c){const _0x1cf38c=_0x1f2cf1;let _0x5c647b=!0x1;const {removed:_0x442dab,inserted:_0x16052f,moved:_0x30aa51}=this[_0x1cf38c(0x19b)][_0x1cf38c(0x152)](_0x1b761c);for(const _0x2c3222 of _0x442dab)this[_0x1cf38c(0x147)](_0x93d424,_0x2c3222)&&(_0x5c647b=!0x0);for(const _0x5788e5 of _0x16052f)this[_0x1cf38c(0x142)](_0x93d424,_0x5788e5)&&(_0x5c647b=!0x0);for(const _0x3c7a27 of _0x30aa51)this[_0x1cf38c(0x14d)](_0x93d424,_0x3c7a27)&&(_0x5c647b=!0x0);return _0x5c647b;}[_0x1f2cf1(0x17e)](_0xece7de){const _0x22253d=_0x1f2cf1;if(!this[_0x22253d(0x168)])return!0x1;let _0x584c4b=!0x1;if(this[_0x22253d(0x168)][_0x22253d(0x175)]!==this[_0x22253d(0x153)][_0x22253d(0x183)]){const _0x32dc4c=[];for(const _0x138c0a of this[_0x22253d(0x168)][_0x22253d(0x162)]()){const _0x4d15f9=_0x138c0a[_0x22253d(0x182)](_0x22253d(0x154));this[_0x22253d(0x158)](_0x4d15f9)||(_0x32dc4c[_0x22253d(0x188)](_0x138c0a),_0x584c4b=!0x0);}for(const _0x22b203 of _0x32dc4c)_0xece7de[_0x22253d(0x1a3)](_0x22b203);}const _0x418049=new Set(),_0x5ba7c9=[];for(const _0x49107c of this[_0x22253d(0x168)][_0x22253d(0x162)]()){const _0x58007b=_0x49107c[_0x22253d(0x182)](_0x22253d(0x154));_0x418049[_0x22253d(0x15c)](_0x58007b)?(_0x5ba7c9[_0x22253d(0x188)](_0x49107c),_0x584c4b=!0x0):_0x418049[_0x22253d(0x180)](_0x58007b);}for(const _0x8fce22 of _0x5ba7c9)_0xece7de[_0x22253d(0x1a3)](_0x8fce22);return this[_0x22253d(0x168)][_0x22253d(0x175)]||(_0xece7de[_0x22253d(0x1a3)](this[_0x22253d(0x168)]),this[_0x22253d(0x168)]=null,_0x584c4b=!0x0),_0x584c4b;}[_0x1f2cf1(0x142)](_0x4368ad,_0x199841){const _0x4dfcb2=_0x1f2cf1;if(this[_0x4dfcb2(0x153)][_0x4dfcb2(0x16c)](_0x47b8a0=>_0x47b8a0[_0x4dfcb2(0x17d)]===_0x199841))return!0x1;let _0x5a476e=!0x1;const _0x23ed3c=_0x199841[_0x4dfcb2(0x182)](_0x4dfcb2(0x154)),_0x1226e1=this[_0x4dfcb2(0x158)](_0x23ed3c);_0x1226e1&&(_0x4368ad[_0x4dfcb2(0x1a3)](_0x1226e1[_0x4dfcb2(0x17d)]),this[_0x4dfcb2(0x153)]=this[_0x4dfcb2(0x153)][_0x4dfcb2(0x18c)](_0x204df3=>_0x204df3['id']!==_0x23ed3c),_0x5a476e=!0x0);let _0x5eade3=this[_0x4dfcb2(0x168)]?function(_0x319247,_0x43003b){const _0x1345f5=_0x4dfcb2;for(const _0x17ee79 of _0x319247[_0x1345f5(0x162)]())if(_0x17ee79[_0x1345f5(0x182)](_0x1345f5(0x154))===_0x43003b)return _0x17ee79;return null;}(this[_0x4dfcb2(0x168)],_0x23ed3c):null;_0x5eade3||(_0x5eade3=_0x4368ad[_0x4dfcb2(0x16f)](_0x4dfcb2(0x18d),{'footnoteId':_0x23ed3c}),this[_0x4dfcb2(0x168)]&&(_0x4368ad[_0x4dfcb2(0x14e)](_0x5eade3,this[_0x4dfcb2(0x168)],_0x4dfcb2(0x18f)),_0x5a476e=!0x0));const _0x5a9429={'id':_0x23ed3c,'reference':_0x199841,'definition':_0x5eade3},_0x3682f4=I(this[_0x4dfcb2(0x1a0)][_0x4dfcb2(0x15a)],this[_0x4dfcb2(0x153)],_0x199841);return this[_0x4dfcb2(0x153)][_0x4dfcb2(0x179)](_0x3682f4,0x0,_0x5a9429),this[_0x4dfcb2(0x189)](_0x4368ad,_0x3682f4)&&(_0x5a476e=!0x0),_0x5a476e;}[_0x1f2cf1(0x147)](_0x34d3cb,_0xba6cc5){const _0x2a5755=_0x1f2cf1,_0x310476=this[_0x2a5755(0x153)][_0x2a5755(0x15f)](_0x4c7e75=>_0x4c7e75['id']===_0xba6cc5);if(-0x1===_0x310476)return!0x1;let _0x4e77a7=!0x1;const _0x333706=this[_0x2a5755(0x153)][_0x310476];return _0x2a5755(0x143)!==_0x333706[_0x2a5755(0x17f)][_0x2a5755(0x169)][_0x2a5755(0x173)]&&(_0x34d3cb[_0x2a5755(0x1a3)](_0x333706[_0x2a5755(0x17f)]),_0x4e77a7=!0x0),this[_0x2a5755(0x153)][_0x2a5755(0x179)](_0x310476,0x1),this[_0x2a5755(0x189)](_0x34d3cb,_0x310476)&&(_0x4e77a7=!0x0),_0x4e77a7;}[_0x1f2cf1(0x14d)](_0x4c3b9f,_0x1a8b78){const _0x14e1b4=_0x1f2cf1,_0xd980be=_0x1a8b78[_0x14e1b4(0x182)](_0x14e1b4(0x154)),_0x54b64b=this[_0x14e1b4(0x153)][_0x14e1b4(0x15f)](_0x56f0c2=>_0x56f0c2['id']===_0xd980be),_0x52fd4e=this[_0x14e1b4(0x153)][_0x54b64b];let _0x582611=!0x1;_0x52fd4e[_0x14e1b4(0x17d)]=_0x1a8b78,this[_0x14e1b4(0x153)][_0x14e1b4(0x179)](_0x54b64b,0x1);const _0x3d7bd1=I(this[_0x14e1b4(0x1a0)][_0x14e1b4(0x15a)],this[_0x14e1b4(0x153)],_0x1a8b78);return this[_0x14e1b4(0x153)][_0x14e1b4(0x179)](_0x3d7bd1,0x0,_0x52fd4e),this[_0x14e1b4(0x189)](_0x4c3b9f,Math[_0x14e1b4(0x148)](_0x54b64b,_0x3d7bd1))&&(_0x582611=!0x0),_0x582611;}[_0x1f2cf1(0x178)](_0x3a81e2,_0x111a83){const _0x3a922c=_0x1f2cf1;if(!this[_0x3a922c(0x168)])return!0x1;const _0x3b0b8e=this[_0x3a922c(0x153)][_0x111a83];let _0x173696;return _0x173696=this[_0x3a922c(0x144)]?this[_0x3a922c(0x144)]({'footnote':_0x3b0b8e,'container':this[_0x3a922c(0x168)],'digits':String(this[_0x3a922c(0x153)][_0x3a922c(0x183)])[_0x3a922c(0x183)],'value':_0x111a83+0x1}):String(_0x111a83+0x1),_0x3b0b8e[_0x3a922c(0x17d)][_0x3a922c(0x182)](_0x3a922c(0x191))!=_0x173696&&(_0x3a81e2[_0x3a922c(0x18e)](_0x3a922c(0x191),_0x173696,_0x3b0b8e[_0x3a922c(0x17d)]),!0x0);}[_0x1f2cf1(0x156)](_0xf16b74){const _0x52f4e1=_0x1f2cf1;if(!this[_0x52f4e1(0x168)]||this[_0x52f4e1(0x153)][_0x52f4e1(0x183)]<0x2)return!0x1;if(function(_0x368b8c,_0x53985c){const _0x3dfd7a=_0x52f4e1;if(_0x368b8c[_0x3dfd7a(0x183)]!==_0x53985c[_0x3dfd7a(0x183)])return!0x1;for(let _0x23f8e2=0x0;_0x23f8e2<_0x368b8c[_0x3dfd7a(0x183)];_0x23f8e2++)if(_0x368b8c[_0x23f8e2]!==_0x53985c[_0x23f8e2])return!0x1;return!0x0;}(this[_0x52f4e1(0x153)][_0x52f4e1(0x17c)](_0x1bf63b=>_0x1bf63b['id']),Array[_0x52f4e1(0x172)](this[_0x52f4e1(0x168)][_0x52f4e1(0x162)]())[_0x52f4e1(0x17c)](_0x4b3478=>_0x4b3478[_0x52f4e1(0x182)](_0x52f4e1(0x154)))))return!0x1;let _0x39829d=!0x1;for(let _0x2d4c42=0x0;_0x2d4c42<this[_0x52f4e1(0x153)][_0x52f4e1(0x183)];_0x2d4c42++){const _0x2290ed=this[_0x52f4e1(0x153)][_0x2d4c42],_0xf75a8f=_0xf16b74[_0x52f4e1(0x18b)](_0x2290ed[_0x52f4e1(0x17f)]),_0x1c4daa=_0xf16b74[_0x52f4e1(0x17a)](this[_0x52f4e1(0x168)],_0x2d4c42);_0xf75a8f[_0x52f4e1(0x164)](_0x1c4daa)||(_0xf16b74[_0x52f4e1(0x15d)](_0xf16b74[_0x52f4e1(0x19d)](_0x2290ed[_0x52f4e1(0x17f)]),_0x1c4daa),_0x39829d=!0x0);}return _0x39829d;}[_0x1f2cf1(0x16d)](_0x3d2df6){const _0xbc3377=_0x1f2cf1;if(!this[_0xbc3377(0x153)][_0xbc3377(0x183)])return!0x1;const {model:_0x1a137b}=this[_0xbc3377(0x1a0)];let _0x253ed4=!0x1;for(let _0x42eef1=0x0;_0x42eef1<this[_0xbc3377(0x153)][_0xbc3377(0x183)]-0x1;_0x42eef1++){const _0xb12190=this[_0xbc3377(0x153)][_0x42eef1],_0x2b8c6a=this[_0xbc3377(0x153)][_0x42eef1+0x1],_0x361276=_0x1a137b[_0xbc3377(0x18b)](_0xb12190[_0xbc3377(0x17d)]),_0x3c5c3=_0x1a137b[_0xbc3377(0x18b)](_0x2b8c6a[_0xbc3377(0x17d)]);_0xbc3377(0x161)===_0x361276[_0xbc3377(0x181)](_0x3c5c3)&&(this[_0xbc3377(0x14d)](_0x3d2df6,_0xb12190[_0xbc3377(0x17d)]),_0x42eef1=-0x1,_0x253ed4=!0x0);}return _0x253ed4;}}function _(_0x3e0b5c,_0x2d7b2d,_0x69c810){const _0x487a5b=_0x1f2cf1;if(_0x69c810[_0x487a5b(0x175)])return!0x1;const _0x50aa95=_0x2d7b2d?_0x487a5b(0x13f):_0x487a5b(0x194);return _0x3e0b5c[_0x487a5b(0x14e)](_0x3e0b5c[_0x487a5b(0x16f)](_0x50aa95),_0x69c810),!0x0;}function I(_0x18d619,_0x3c6a7c,_0x55b905){const _0x22518d=_0x1f2cf1;if(0x0===_0x3c6a7c[_0x22518d(0x183)])return 0x0;const _0x261ab0=_0x18d619[_0x22518d(0x18b)](_0x55b905);for(let _0x523e32=0x0;_0x523e32<_0x3c6a7c[_0x22518d(0x183)];_0x523e32++){const _0x5b72a5=_0x3c6a7c[_0x523e32],_0x1d53f0=_0x18d619[_0x22518d(0x18b)](_0x5b72a5[_0x22518d(0x17d)]);if(_0x22518d(0x190)===_0x261ab0[_0x22518d(0x181)](_0x1d53f0))return _0x523e32;}const _0x14b024=_0x55b905[_0x22518d(0x169)];let _0x31d7c7=-0x1;for(let _0x195b88=_0x3c6a7c[_0x22518d(0x183)]-0x1;_0x195b88>=0x0;_0x195b88--)if(_0x3c6a7c[_0x195b88][_0x22518d(0x17d)][_0x22518d(0x169)]===_0x14b024){_0x31d7c7=_0x195b88;break;}if(-0x1!==_0x31d7c7)return _0x31d7c7+0x1;const _0x476026=_0x18d619[_0x22518d(0x1a2)][_0x22518d(0x150)](),_0x5e5ade=_0x476026[_0x22518d(0x199)](_0x14b024[_0x22518d(0x173)]),_0x548607=_0x476026[_0x5e5ade+0x1];if(_0x548607){for(let _0x4d214c=0x0;_0x4d214c<_0x3c6a7c[_0x22518d(0x183)];_0x4d214c++)if(_0x3c6a7c[_0x4d214c][_0x22518d(0x17d)][_0x22518d(0x169)][_0x22518d(0x173)]===_0x548607)return _0x4d214c;}return _0x3c6a7c[_0x22518d(0x183)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2557b7,MenuBarMenuListItemButtonView as _0x3eb056}from'ckeditor5/src/ui.js';import{Plugin as _0x44427c}from'ckeditor5/src/core.js';import{IconFootnote as _0xd71e05}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x44427c{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x25c161}=this,{componentFactory:_0x2cc04e}=_0x25c161['ui'];_0x2cc04e['add']('insertFootnote',v(_0x25c161,_0x2557b7)),_0x2cc04e['add']('menuBar:insertFootnote',v(_0x25c161,_0x3eb056)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x33eb7e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x443701;for(const _0x5e6ac7 in _0x33eb7e){const _0x136062=_0x5e6ac7,_0x5a71df=_0x33eb7e[_0x136062];if('footnotesLicenseKeyValid'==_0x5a71df||'footnotesLicenseKeyInvalid'==_0x5a71df||'footnotesLicenseKeyExpired'==_0x5a71df||'footnotesLicenseKeyDomainLimit'==_0x5a71df||'footnotesLicenseKeyNotAllowed'==_0x5a71df||'footnotesLicenseKeyEvaluationLimit'==_0x5a71df||'footnotesLicenseKeyTrialLimit'==_0x5a71df||'footnotesLicenseKeyUsageLimit'==_0x5a71df){delete _0x33eb7e[_0x136062],_0x443701=_0x5a71df,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x443701&&_0x33eb7e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x443701&&_0x33eb7e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x443701&&_0x33eb7e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x443701&&_0x33eb7e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x66b4ea,_0x13d1f2){const _0x50f5c5=_0x66b4ea['commands']['get']('insertFootnote');return _0x2e22c5=>{const {t:t}=_0x2e22c5,_0x394617=new _0x13d1f2(_0x2e22c5),_0x183787=_0x394617 instanceof _0x3eb056;return _0x394617['bind']('isEnabled')['to'](_0x50f5c5,'isEnabled'),_0x394617['set']({'label':t(_0x183787?'Footnote':'Insert\x20footnote'),'icon':_0xd71e05,'tooltip':!0x0}),_0x394617['on']('execute',()=>{_0x50f5c5['execute'](),_0x66b4ea['editing']['view']['focus']();}),_0x394617;};}
23
+ import{ButtonView as _0x3b830c,MenuBarMenuListItemButtonView as _0x100fb9}from'ckeditor5/src/ui.js';import{Plugin as _0x1bc544}from'ckeditor5/src/core.js';import{IconFootnote as _0xddcf87}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1bc544{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28c428}=this,{componentFactory:_0x43293c}=_0x28c428['ui'];_0x43293c['add']('insertFootnote',v(_0x28c428,_0x3b830c)),_0x43293c['add']('menuBar:insertFootnote',v(_0x28c428,_0x100fb9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xed38c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44f13e;for(const _0x1ba5fd in _0xed38c5){const _0xe48be5=_0x1ba5fd,_0x160e87=_0xed38c5[_0xe48be5];if('footnotesLicenseKeyValid'==_0x160e87||'footnotesLicenseKeyInvalid'==_0x160e87||'footnotesLicenseKeyExpired'==_0x160e87||'footnotesLicenseKeyDomainLimit'==_0x160e87||'footnotesLicenseKeyNotAllowed'==_0x160e87||'footnotesLicenseKeyEvaluationLimit'==_0x160e87||'footnotesLicenseKeyTrialLimit'==_0x160e87||'footnotesLicenseKeyUsageLimit'==_0x160e87){delete _0xed38c5[_0xe48be5],_0x44f13e=_0x160e87,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x44f13e&&_0xed38c5['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x44f13e&&_0xed38c5['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x44f13e&&_0xed38c5['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x5b6ca8,_0x189ed8){const _0x2be765=_0x5b6ca8['commands']['get']('insertFootnote');return _0x4ecb16=>{const {t:t}=_0x4ecb16,_0x3c5fb8=new _0x189ed8(_0x4ecb16),_0x25fe24=_0x3c5fb8 instanceof _0x100fb9;return _0x3c5fb8['bind']('isEnabled')['to'](_0x2be765,'isEnabled'),_0x3c5fb8['set']({'label':t(_0x25fe24?'Footnote':'Insert\x20footnote'),'icon':_0xddcf87,'tooltip':!0x0}),_0x3c5fb8['on']('execute',()=>{_0x2be765['execute'](),_0x5b6ca8['editing']['view']['focus']();}),_0x3c5fb8;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x570b(_0x184a15,_0x2ba9ae){var _0x5eeed1=_0x5eee();return _0x570b=function(_0x570b0e,_0x29b834){_0x570b0e=_0x570b0e-0x1f3;var _0x52059b=_0x5eeed1[_0x570b0e];return _0x52059b;},_0x570b(_0x184a15,_0x2ba9ae);}(function(_0x3e86d8,_0x437f76){var _0x46e4d2=_0x570b,_0x3f3ac6=_0x3e86d8();while(!![]){try{var _0x3c469f=parseInt(_0x46e4d2(0x1f4))/0x1+parseInt(_0x46e4d2(0x1fc))/0x2*(parseInt(_0x46e4d2(0x1f6))/0x3)+-parseInt(_0x46e4d2(0x1f3))/0x4*(parseInt(_0x46e4d2(0x1f9))/0x5)+-parseInt(_0x46e4d2(0x1f5))/0x6*(parseInt(_0x46e4d2(0x1fe))/0x7)+-parseInt(_0x46e4d2(0x1f7))/0x8+-parseInt(_0x46e4d2(0x1f8))/0x9*(-parseInt(_0x46e4d2(0x1fd))/0xa)+-parseInt(_0x46e4d2(0x1fa))/0xb*(-parseInt(_0x46e4d2(0x1fb))/0xc);if(_0x3c469f===_0x437f76)break;else _0x3f3ac6['push'](_0x3f3ac6['shift']());}catch(_0x47dea9){_0x3f3ac6['push'](_0x3f3ac6['shift']());}}}(_0x5eee,0x32632));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x5eee(){var _0x2d5634=['1502485NVHDEE','2414533BsGpiQ','12exreHZ','579754VTLExu','28790Quhqeu','5733IEpqhj','4HsJqsE','64626qAfPfJ','558XfsyDQ','3fGFvrE','1148344olTHji','477hTouyP'];_0x5eee=function(){return _0x2d5634;};return _0x5eee();}
23
+ (function(_0xc8720d,_0x379a34){var _0x27c9be=_0x442c,_0xbe3253=_0xc8720d();while(!![]){try{var _0x4ba232=parseInt(_0x27c9be(0x73))/0x1+-parseInt(_0x27c9be(0x74))/0x2+parseInt(_0x27c9be(0x6e))/0x3*(-parseInt(_0x27c9be(0x72))/0x4)+parseInt(_0x27c9be(0x6b))/0x5*(parseInt(_0x27c9be(0x6f))/0x6)+-parseInt(_0x27c9be(0x6d))/0x7*(-parseInt(_0x27c9be(0x71))/0x8)+parseInt(_0x27c9be(0x70))/0x9*(-parseInt(_0x27c9be(0x6c))/0xa)+parseInt(_0x27c9be(0x75))/0xb;if(_0x4ba232===_0x379a34)break;else _0xbe3253['push'](_0xbe3253['shift']());}catch(_0x5f19c5){_0xbe3253['push'](_0xbe3253['shift']());}}}(_0x9d6e,0xbd66c));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x442c(_0x341e1e,_0x76789){var _0x9d6ec7=_0x9d6e();return _0x442c=function(_0x442ce7,_0x57ccef){_0x442ce7=_0x442ce7-0x6b;var _0x87f5d=_0x9d6ec7[_0x442ce7];return _0x87f5d;},_0x442c(_0x341e1e,_0x76789);}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x9d6e(){var _0x14a51a=['49548VdugUf','2296806qvrFTS','126tychgA','32TgVOse','184AThaLm','1398263MxrLhY','2784710nDBBJM','1352516hVtwko','20AHRLAK','525580jgyDte','1069719zuPqKJ'];_0x9d6e=function(){return _0x14a51a;};return _0x9d6e();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2964(_0x3a7703,_0x268bee){const _0x63418e=_0x6341();return _0x2964=function(_0x296432,_0x3c4e94){_0x296432=_0x296432-0x1a3;let _0x51e7a2=_0x63418e[_0x296432];return _0x51e7a2;},_0x2964(_0x3a7703,_0x268bee);}const _0x39a3f0=_0x2964;(function(_0x6a6d04,_0x26cfbe){const _0x5c8f7a=_0x2964,_0x20815f=_0x6a6d04();while(!![]){try{const _0x4a1493=parseInt(_0x5c8f7a(0x1c6))/0x1+-parseInt(_0x5c8f7a(0x1bf))/0x2*(-parseInt(_0x5c8f7a(0x1ad))/0x3)+parseInt(_0x5c8f7a(0x1ba))/0x4+-parseInt(_0x5c8f7a(0x1b7))/0x5+parseInt(_0x5c8f7a(0x1c3))/0x6+parseInt(_0x5c8f7a(0x1a7))/0x7+-parseInt(_0x5c8f7a(0x1bd))/0x8;if(_0x4a1493===_0x26cfbe)break;else _0x20815f['push'](_0x20815f['shift']());}catch(_0x21a547){_0x20815f['push'](_0x20815f['shift']());}}}(_0x6341,0x999a4));function _0x6341(){const _0x161d11=['name','element','has','getChanges','_elementName','getElementKey','_model','4770095YFXyWN','insert','attributes','1803488RLPNpF','flat','$text','16075976upWgds','rootName','55202vrbmlI','root','get','remove','5838672vYEDxX','_trackedElements','values','956287orrZDh','type','add','push','length','from','position','_getElementKey','slice','565320ORKUgi','delete','elementName','set','$graveyard','nodeAfter','123GXzgrT','getItems','createRangeOn'];_0x6341=function(){return _0x161d11;};return _0x6341();}export class ModelElementTracker{[_0x39a3f0(0x1b6)];[_0x39a3f0(0x1b4)];[_0x39a3f0(0x1a5)];[_0x39a3f0(0x1c4)]=new Map();constructor(_0x1b1e35,_0x53fc52){const _0x4c72a9=_0x39a3f0;this[_0x4c72a9(0x1b6)]=_0x1b1e35,this[_0x4c72a9(0x1b4)]=_0x53fc52[_0x4c72a9(0x1a9)],this[_0x4c72a9(0x1a5)]=_0x53fc52[_0x4c72a9(0x1b5)];}[_0x39a3f0(0x1b3)](_0x39686b){const _0x1bec57=_0x39a3f0,_0x892d95=new Set(),_0x26856b=new Map();for(const _0x28bb6a of _0x39686b){if(_0x1bec57(0x1b8)===_0x28bb6a[_0x1bec57(0x1c7)]&&_0x1bec57(0x1bc)!==_0x28bb6a[_0x1bec57(0x1b0)]&&_0x28bb6a[_0x1bec57(0x1a4)][_0x1bec57(0x1ac)]){const _0x55004b=this[_0x1bec57(0x1b6)][_0x1bec57(0x1af)](_0x28bb6a[_0x1bec57(0x1a4)][_0x1bec57(0x1ac)]);for(const _0x1e61d9 of _0x55004b[_0x1bec57(0x1ae)]()){if(!_0x1e61d9['is'](_0x1bec57(0x1b1),this[_0x1bec57(0x1b4)]))continue;const _0x171ec0=this[_0x1bec57(0x1a5)](_0x1e61d9);_0x26856b[_0x1bec57(0x1b2)](_0x171ec0)||_0x26856b[_0x1bec57(0x1aa)](_0x171ec0,[]),_0x26856b[_0x1bec57(0x1c1)](_0x171ec0)[_0x1bec57(0x1c9)](_0x1e61d9);}}if(_0x1bec57(0x1c2)===_0x28bb6a[_0x1bec57(0x1c7)]&&_0x28bb6a[_0x1bec57(0x1b0)]===this[_0x1bec57(0x1b4)]){const _0x8a8bda=this[_0x1bec57(0x1a5)]({'getAttribute':_0x212574=>_0x28bb6a[_0x1bec57(0x1b9)][_0x1bec57(0x1c1)](_0x212574)});_0x892d95[_0x1bec57(0x1c8)](_0x8a8bda);}}for(const [_0x4633df,_0x3dcad6]of this[_0x1bec57(0x1c4)])_0x1bec57(0x1ab)===_0x3dcad6[_0x1bec57(0x1c0)][_0x1bec57(0x1be)]&&_0x892d95[_0x1bec57(0x1c8)](_0x4633df);for(const _0x2e9acf of _0x892d95)this[_0x1bec57(0x1c4)][_0x1bec57(0x1a8)](_0x2e9acf);for(const [_0x20f4ff,_0x4db793]of _0x26856b)this[_0x1bec57(0x1c4)][_0x1bec57(0x1aa)](_0x20f4ff,_0x4db793[_0x4db793[_0x1bec57(0x1ca)]-0x1]);const _0x6bcaf9=new Set();for(const [_0x382093,_0x1bbffc]of _0x26856b)_0x892d95[_0x1bec57(0x1b2)](_0x382093)&&(_0x6bcaf9[_0x1bec57(0x1c8)](_0x1bbffc[0x0]),_0x1bbffc[_0x1bec57(0x1ca)]>0x1?_0x26856b[_0x1bec57(0x1aa)](_0x382093,_0x1bbffc[_0x1bec57(0x1a6)](0x1)):_0x26856b[_0x1bec57(0x1a8)](_0x382093),_0x892d95[_0x1bec57(0x1a8)](_0x382093));return{'removed':Array[_0x1bec57(0x1a3)](_0x892d95),'inserted':Array[_0x1bec57(0x1a3)](_0x26856b[_0x1bec57(0x1c5)]())[_0x1bec57(0x1bb)](),'moved':Array[_0x1bec57(0x1a3)](_0x6bcaf9)};}}
23
+ const _0x82e8db=_0x4019;function _0x4019(_0x17cefd,_0x5890c9){const _0x160436=_0x1604();return _0x4019=function(_0x4019c0,_0x5aeb56){_0x4019c0=_0x4019c0-0x150;let _0xe6cd9d=_0x160436[_0x4019c0];return _0xe6cd9d;},_0x4019(_0x17cefd,_0x5890c9);}(function(_0x4f7df4,_0x3ac627){const _0x1dbff4=_0x4019,_0x3047e9=_0x4f7df4();while(!![]){try{const _0x563f0c=-parseInt(_0x1dbff4(0x152))/0x1*(parseInt(_0x1dbff4(0x16b))/0x2)+parseInt(_0x1dbff4(0x175))/0x3*(-parseInt(_0x1dbff4(0x16f))/0x4)+-parseInt(_0x1dbff4(0x171))/0x5*(-parseInt(_0x1dbff4(0x179))/0x6)+parseInt(_0x1dbff4(0x173))/0x7*(-parseInt(_0x1dbff4(0x160))/0x8)+parseInt(_0x1dbff4(0x159))/0x9+-parseInt(_0x1dbff4(0x15d))/0xa+parseInt(_0x1dbff4(0x16d))/0xb;if(_0x563f0c===_0x3ac627)break;else _0x3047e9['push'](_0x3047e9['shift']());}catch(_0x280609){_0x3047e9['push'](_0x3047e9['shift']());}}}(_0x1604,0x66fe5));function _0x1604(){const _0x2ed1d3=['element','_model','getChanges','add','position','remove','_trackedElements','type','$text','4HZmBab','insert','13381896IiPYLE','createRangeOn','52vweejS','has','85oeaYrQ','rootName','4536861nxnzDj','_elementName','174585PWhpzt','_getElementKey','slice','root','180204Jblmvk','delete','elementName','nodeAfter','95683qWIGoG','getItems','get','set','push','values','length','2643228VuFMCF','getElementKey','flat','from','29210jfNbcO','$graveyard','attributes','8dsCesI','name'];_0x1604=function(){return _0x2ed1d3;};return _0x1604();}export class ModelElementTracker{[_0x82e8db(0x163)];[_0x82e8db(0x174)];[_0x82e8db(0x176)];[_0x82e8db(0x168)]=new Map();constructor(_0x499c9d,_0x1065b1){const _0x3dab1a=_0x82e8db;this[_0x3dab1a(0x163)]=_0x499c9d,this[_0x3dab1a(0x174)]=_0x1065b1[_0x3dab1a(0x150)],this[_0x3dab1a(0x176)]=_0x1065b1[_0x3dab1a(0x15a)];}[_0x82e8db(0x164)](_0x51a4ee){const _0x11fdb6=_0x82e8db,_0x4dc3b0=new Set(),_0x50fd1f=new Map();for(const _0x48e00a of _0x51a4ee){if(_0x11fdb6(0x16c)===_0x48e00a[_0x11fdb6(0x169)]&&_0x11fdb6(0x16a)!==_0x48e00a[_0x11fdb6(0x161)]&&_0x48e00a[_0x11fdb6(0x166)][_0x11fdb6(0x151)]){const _0x41d945=this[_0x11fdb6(0x163)][_0x11fdb6(0x16e)](_0x48e00a[_0x11fdb6(0x166)][_0x11fdb6(0x151)]);for(const _0x471055 of _0x41d945[_0x11fdb6(0x153)]()){if(!_0x471055['is'](_0x11fdb6(0x162),this[_0x11fdb6(0x174)]))continue;const _0x46f910=this[_0x11fdb6(0x176)](_0x471055);_0x50fd1f[_0x11fdb6(0x170)](_0x46f910)||_0x50fd1f[_0x11fdb6(0x155)](_0x46f910,[]),_0x50fd1f[_0x11fdb6(0x154)](_0x46f910)[_0x11fdb6(0x156)](_0x471055);}}if(_0x11fdb6(0x167)===_0x48e00a[_0x11fdb6(0x169)]&&_0x48e00a[_0x11fdb6(0x161)]===this[_0x11fdb6(0x174)]){const _0x55afb0=this[_0x11fdb6(0x176)]({'getAttribute':_0x9c690b=>_0x48e00a[_0x11fdb6(0x15f)][_0x11fdb6(0x154)](_0x9c690b)});_0x4dc3b0[_0x11fdb6(0x165)](_0x55afb0);}}for(const [_0x5ec2c9,_0x11423a]of this[_0x11fdb6(0x168)])_0x11fdb6(0x15e)===_0x11423a[_0x11fdb6(0x178)][_0x11fdb6(0x172)]&&_0x4dc3b0[_0x11fdb6(0x165)](_0x5ec2c9);for(const _0x2a849a of _0x4dc3b0)this[_0x11fdb6(0x168)][_0x11fdb6(0x17a)](_0x2a849a);for(const [_0x2ea345,_0x5ef734]of _0x50fd1f)this[_0x11fdb6(0x168)][_0x11fdb6(0x155)](_0x2ea345,_0x5ef734[_0x5ef734[_0x11fdb6(0x158)]-0x1]);const _0x9a06cd=new Set();for(const [_0x417332,_0x4ff4d3]of _0x50fd1f)_0x4dc3b0[_0x11fdb6(0x170)](_0x417332)&&(_0x9a06cd[_0x11fdb6(0x165)](_0x4ff4d3[0x0]),_0x4ff4d3[_0x11fdb6(0x158)]>0x1?_0x50fd1f[_0x11fdb6(0x155)](_0x417332,_0x4ff4d3[_0x11fdb6(0x177)](0x1)):_0x50fd1f[_0x11fdb6(0x17a)](_0x417332),_0x4dc3b0[_0x11fdb6(0x17a)](_0x417332));return{'removed':Array[_0x11fdb6(0x15c)](_0x4dc3b0),'inserted':Array[_0x11fdb6(0x15c)](_0x50fd1f[_0x11fdb6(0x157)]())[_0x11fdb6(0x15b)](),'moved':Array[_0x11fdb6(0x15c)](_0x9a06cd)};}}