@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251026.0 → 0.0.0-nightly-20251028.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- package/dist/index-editor.css +0 -3
- package/dist/index.css +0 -3
- package/dist/index.js +1 -1
- package/package.json +9 -9
- package/src/commands/insertfootnotecommand.js +1 -1
- package/src/footnotes.js +1 -1
- package/src/footnotesclipboard.js +1 -1
- package/src/footnotesediting.js +1 -1
- package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
- package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
- package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
- package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
- package/src/footnotesproperties/footnotespropertiesui.js +1 -1
- package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
- package/src/footnotesproperties.js +1 -1
- package/src/footnotestracker.js +1 -1
- package/src/footnotesui.js +1 -1
- package/src/index.js +1 -1
- package/src/modelelementtracker.js +1 -1
- package/theme/footnotes.css +0 -4
package/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x5bd6aa}from'ckeditor5/src/core.js';import{isWidget as _0x45e7ca,toWidget as _0x1f0949,toWidgetEditable as _0x5cfdc7}from'ckeditor5/src/widget.js';import{uid as _0x20db9b}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3139b1,ClickObserver as _0x129df2}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5ce8d9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2334ee}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5bd6aa{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5ce8d9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x151750}=this;_0x151750['config']['define']('footnotes.multiBlock',!0x0),_0x151750['commands']['add']('insertFootnote',new _0x2334ee(_0x151750)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5a9bf6){const _0x29ddf=_0xec3fa3([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]),_0x5780c8=0x47a28506,_0xcef18f=0x47a5f24e^_0x5780c8,_0x16e721=window[_0xec3fa3([0x44,0x61,0x74,0x65])][_0xec3fa3([0x6e,0x6f,0x77])](),_0x2e5d0f=_0x5a9bf6[_0xec3fa3([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5a8180=new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc603a3=>{_0x2e5d0f[_0xec3fa3([0x6f,0x6e,0x63,0x65])](_0xec3fa3([0x72,0x65,0x61,0x64,0x79]),_0xc603a3);}),_0x541e2d={[_0xec3fa3([0x6b,0x74,0x79])]:_0xec3fa3([0x45,0x43]),[_0xec3fa3([0x75,0x73,0x65])]:_0xec3fa3([0x73,0x69,0x67]),[_0xec3fa3([0x63,0x72,0x76])]:_0xec3fa3([0x50,0x2d,0x32,0x35,0x36]),[_0xec3fa3([0x78])]:_0xec3fa3([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]),[_0xec3fa3([0x79])]:_0xec3fa3([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]),[_0xec3fa3([0x61,0x6c,0x67])]:_0xec3fa3([0x45,0x53,0x32,0x35,0x36])},_0x173172=_0x2e5d0f[_0xec3fa3([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xec3fa3([0x67,0x65,0x74])](_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x97d266(){let _0x2de4c6,_0x49e1c5=null,_0x2d06d5=null;try{if(_0x173172==_0xec3fa3([0x47,0x50,0x4c]))return _0xec3fa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2de4c6=_0x2dbe13(),!_0x2de4c6)return _0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2de4c6[_0xec3fa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d06d5=_0x756480(_0x2de4c6[_0xec3fa3([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2de4c6[_0xec3fa3([0x6a,0x74,0x69])])),await _0x3a2307()?_0x329eaf()?_0x48cb72()?_0xec3fa3([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46b682()?(_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xec3fa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x49e1c5=_0x5a24bc(_0xec3fa3([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xec3fa3([0x74,0x72,0x69,0x61,0x6c])&&(_0x49e1c5=_0x5a24bc(_0xec3fa3([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5233da()):_0xec3fa3([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xec3fa3([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xec3fa3([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x48cb72(){const _0x5b3aec=[_0xec3fa3([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xec3fa3([0x74,0x72,0x69,0x61,0x6c])][_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x16e721/0x3e8:0xe10*_0xcef18f;return _0x2de4c6[_0xec3fa3([0x65,0x78,0x70])]<_0x5b3aec;}function _0x329eaf(){const _0x396625=_0x2de4c6[_0xec3fa3([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x396625&&(!!_0x396625[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x2a]))||!!_0x396625[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x46,0x4f,0x4f])));}function _0x46b682(){const _0x3f8b2c=_0x2de4c6[_0xec3fa3([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f8b2c||0x0==_0x3f8b2c[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2fbc2a}=new URL(window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f8b2c[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fbc2a))return!0x0;const _0x461ffc=_0x2fbc2a[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e]));return _0x3f8b2c[_0xec3fa3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x54a60d=>_0x54a60d[_0xec3fa3([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xec3fa3([0x2a])))[_0xec3fa3([0x6d,0x61,0x70])](_0x3829d7=>_0x3829d7[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e])))[_0xec3fa3([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1f2b05=>_0x1f2b05[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x461ffc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xec3fa3([0x6d,0x61,0x70])](_0xd77d4b=>Array(_0x461ffc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xd77d4b[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xec3fa3([0x66,0x69,0x6c,0x6c])](_0xd77d4b[0x0]===_0xec3fa3([0x2a])?_0xec3fa3([0x2a]):'')[_0xec3fa3([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xd77d4b))[_0xec3fa3([0x73,0x6f,0x6d,0x65])](_0x4fc27c=>_0x461ffc[_0xec3fa3([0x65,0x76,0x65,0x72,0x79])]((_0x25ab07,_0x23c7a7)=>_0x4fc27c[_0x23c7a7]===_0x25ab07||_0x4fc27c[_0x23c7a7]===_0xec3fa3([0x2a])));}function _0x5233da(){return _0x49e1c5&&_0x2d06d5?new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c10d9,_0x51e21d)=>{_0x49e1c5[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x5c10d9,_0x51e21d),_0x2d06d5[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x5532aa=>{_0x5532aa!=_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])&&_0x5c10d9(_0x5532aa);},_0x51e21d);}):_0x49e1c5||_0x2d06d5||_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]);}}function _0x756480(_0x280e70,_0x2a50e4){return new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x591595=>{if(_0x9e1c92())return _0x591595(_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]));_0x5f349b(),_0x2e5d0f[_0xec3fa3([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x95c4b0=!0x1;const _0x1b2cf3=_0x20db9b();function _0x5b790e(_0x35ff4e){return!!_0x35ff4e&&(typeof _0x35ff4e===_0xec3fa3([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x35ff4e===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x35ff4e[_0xec3fa3([0x74,0x68,0x65,0x6e])]===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x35ff4e[_0xec3fa3([0x63,0x61,0x74,0x63,0x68])]===_0xec3fa3([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4317b6(_0x3b8b37){_0x40003b(_0x3b8b37)[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x58887b=>{if(!_0x58887b||_0x58887b[_0xec3fa3([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xec3fa3([0x6f,0x6b]))return _0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x38001d(_0x2fbb9d(_0x1b2cf3+_0x2a50e4))!=_0x58887b[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xec3fa3([0x56,0x61,0x6c,0x69,0x64]);})[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x25e46e=>(_0x5088ba(),_0x25e46e),()=>{const _0x1979f8=_0x1d665c();return null==_0x1979f8?(_0x5088ba(),_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])):_0xec3fa3(_0x16e721-_0x1979f8>(0x63ae0106^_0x5780c8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0x591595)[_0xec3fa3([0x63,0x61,0x74,0x63,0x68])](()=>{_0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2a41bf=0x47946b86^_0x5780c8;function _0x5088ba(){const _0x419fea=_0xec3fa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38001d(_0x2fbb9d(_0x280e70)),_0x38bbb6=_0x498fa2(_0x38001d(window[_0xec3fa3([0x4d,0x61,0x74,0x68])][_0xec3fa3([0x63,0x65,0x69,0x6c])](_0x16e721/_0x2a41bf)));window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xec3fa3([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x419fea,_0x38bbb6);}function _0x1d665c(){const _0x1185d7=_0xec3fa3([0x6c,0x6c,0x63,0x74,0x2d])+_0x38001d(_0x2fbb9d(_0x280e70)),_0x82b384=window[_0xec3fa3([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xec3fa3([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1185d7);return _0x82b384?window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x498fa2(_0x82b384),0x10)*_0x2a41bf:null;}function _0x40003b(_0x294cec){return new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xe13104,_0x502f0c)=>{_0x294cec[_0xec3fa3([0x74,0x68,0x65,0x6e])](_0xe13104,_0x502f0c),window[_0xec3fa3([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x502f0c,0x47a351c6^_0x5780c8);});}}_0x2e5d0f[_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xce6b65,_0x1efb9a)=>{if(_0x1efb9a[0x0]!=_0x280e70)return _0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1efb9a[0x1]={..._0x1efb9a[0x1],[_0xec3fa3([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b2cf3};},{[_0xec3fa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xec3fa3([0x68,0x69,0x67,0x68])}),_0x2e5d0f[_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x36ed41=>{_0x5b790e(_0x36ed41[_0xec3fa3([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x95c4b0=!0x0,_0x4317b6(_0x36ed41[_0xec3fa3([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xec3fa3([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xec3fa3([0x6c,0x6f,0x77])}),_0x5a8180[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>{_0x95c4b0||_0x591595(_0xec3fa3([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9e1c92(){return _0x2e5d0f[_0xec3fa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xec3fa3([0x76,0x69,0x65,0x77])][_0xec3fa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xec3fa3([0x61,0x75,0x74,0x6f]);}function _0x5f349b(){_0x2e5d0f[_0xec3fa3([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xec3fa3([0x76,0x69,0x65,0x77])][_0xec3fa3([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xec3fa3([0x61,0x75,0x74,0x6f]);}}function _0x5a24bc(_0xac373a){const _0x2dd0a8=[new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30694e=>setTimeout(_0x30694e,0x47abbbca^_0x5780c8)),_0x5a8180[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>new window[(_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x236e70=>{let _0x1fedc2=0x0;_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x6f,0x6e])](_0xec3fa3([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x33ef79,_0x3a3512)=>{_0x3a3512[0x0][_0xec3fa3([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fedc2++,_0x1fedc2==(0x47a284fe^_0x5780c8)&&(_0x236e70(),_0x33ef79[_0xec3fa3([0x6f,0x66,0x66])]());});}))];return window[_0xec3fa3([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xec3fa3([0x72,0x61,0x63,0x65])](_0x2dd0a8)[_0xec3fa3([0x74,0x68,0x65,0x6e])](()=>_0xac373a);}async function _0x130676(){await _0x5a8180,_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x290253,_0x2e5d0f[_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c])][_0xec3fa3([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x290253,_0x2e5d0f[_0xec3fa3([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xec3fa3([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1eabc7(_0x2130a7){const _0x46a49c=_0x13baff();_0x2e5d0f[_0x46a49c]=_0xec3fa3([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2130a7,_0x2130a7!=_0xec3fa3([0x56,0x61,0x6c,0x69,0x64])&&_0x130676();}function _0x13baff(){const _0x5cca3f=window[_0xec3fa3([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xec3fa3([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xec3fa3([0x6e,0x6f,0x77])]())[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xec3fa3([0x2e]),'');let _0x344e09=_0xec3fa3([0x75]);for(let _0xcb40c8=0x0;_0xcb40c8<_0x5cca3f[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xcb40c8+=0x2){let _0x1bbe0d=window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5cca3f[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xcb40c8,_0xcb40c8+0x2));_0x1bbe0d>=_0x29ddf[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bbe0d-=_0x29ddf[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x344e09+=_0x29ddf[_0x1bbe0d];}return _0x344e09;}function _0x2dbe13(){const _0x3b1a46=_0x173172[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e]));if(0x3!=_0x3b1a46[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b644e(_0x3b1a46[0x1]);function _0x1b644e(_0x5a1d0c){const _0x3f7997=_0x1cd60a(_0x5a1d0c);return _0x3f7997&&_0x3f61fc()?_0x3f7997:null;function _0x3f61fc(){const _0x5508bc=_0x3f7997[_0xec3fa3([0x6a,0x74,0x69])],_0x3095a8=window[_0xec3fa3([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5508bc[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5508bc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2f87a2={..._0x3f7997,[_0xec3fa3([0x6a,0x74,0x69])]:_0x5508bc[_0xec3fa3([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5508bc[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2f87a2[_0xec3fa3([0x76,0x63])],_0x2fbb9d(_0x2f87a2)==_0x3095a8;}}}async function _0x3a2307(){let _0x2e8570=!0x0;try{const _0x107f86=_0x173172[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])](_0xec3fa3([0x2e])),[_0x740836,_0x452643,_0x4ba37d]=_0x107f86;return _0x41615b(_0x740836),await _0x4632ba(_0x740836,_0x452643,_0x4ba37d),_0x2e8570;}catch{return!0x1;}function _0x41615b(_0x5bce93){const _0x4c1d29=_0x1cd60a(_0x5bce93);_0x4c1d29&&_0x4c1d29[_0xec3fa3([0x61,0x6c,0x67])]==_0xec3fa3([0x45,0x53,0x32,0x35,0x36])||(_0x2e8570=!0x1);}async function _0x4632ba(_0x18fbf7,_0x19f15a,_0x15bbaa){const _0x81c5d9=window[_0xec3fa3([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xec3fa3([0x66,0x72,0x6f,0x6d])](_0x4857ff(_0x15bbaa),_0x5804d7=>_0x5804d7[_0xec3fa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x11eb1d=new window[(_0xec3fa3([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xec3fa3([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x18fbf7+_0xec3fa3([0x2e])+_0x19f15a),_0x4d7680=window[_0xec3fa3([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xec3fa3([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4d7680)return;const _0x5457a5=await _0x4d7680[_0xec3fa3([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xec3fa3([0x6a,0x77,0x6b]),_0x541e2d,{[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x45,0x43,0x44,0x53,0x41]),[_0xec3fa3([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xec3fa3([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4d7680[_0xec3fa3([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x45,0x43,0x44,0x53,0x41]),[_0xec3fa3([0x68,0x61,0x73,0x68])]:{[_0xec3fa3([0x6e,0x61,0x6d,0x65])]:_0xec3fa3([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x5457a5,_0x81c5d9,_0x11eb1d)||(_0x2e8570=!0x1);}}function _0x1cd60a(_0x35ab02){return _0x35ab02[_0xec3fa3([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xec3fa3([0x65,0x79]))?JSON[_0xec3fa3([0x70,0x61,0x72,0x73,0x65])](_0x4857ff(_0x35ab02)):null;}function _0x4857ff(_0x25bdc4){return window[_0xec3fa3([0x61,0x74,0x6f,0x62])](_0x25bdc4[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xec3fa3([0x2b]))[_0xec3fa3([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xec3fa3([0x2f])));}function _0x2fbb9d(_0x45a32d){let _0x19f795=0x1505;function _0x16ef62(_0x5c45c1){for(let _0x58c1f=0x0;_0x58c1f<_0x5c45c1[_0xec3fa3([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x58c1f++){const _0x580f21=_0x5c45c1[_0xec3fa3([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x58c1f);_0x19f795=(_0x19f795<<0x5)+_0x19f795+_0x580f21,_0x19f795&=_0x19f795;}}function _0x403f8c(_0x254402){Array[_0xec3fa3([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x254402)?_0x254402[_0xec3fa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x403f8c):_0x254402&&typeof _0x254402==_0xec3fa3([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xec3fa3([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x254402)[_0xec3fa3([0x73,0x6f,0x72,0x74])]()[_0xec3fa3([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2fbbd5,_0x3610a1])=>{_0x16ef62(_0x2fbbd5),_0x403f8c(_0x3610a1);}):_0x16ef62(window[_0xec3fa3([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x254402));}return _0x403f8c(_0x45a32d),_0x19f795>>>0x0;}function _0x38001d(_0x8a596d){return _0x8a596d[_0xec3fa3([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xec3fa3([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xec3fa3([0x30]));}function _0x498fa2(_0x2d69b2){return _0x2d69b2[_0xec3fa3([0x73,0x70,0x6c,0x69,0x74])]('')[_0xec3fa3([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xec3fa3([0x6a,0x6f,0x69,0x6e])]('');}function _0x290253(){}function _0xec3fa3(_0x45b4b5){return _0x45b4b5['map'](_0x11fe0e=>String['fromCharCode'](_0x11fe0e))['join']('');}_0x1eabc7(await _0x97d266());}(this);}['_moveSelectionToFootnoteDefinition'](_0xcfcff6){const {plugins:_0x3febfd,editing:_0x53c0a6,model:_0x354a9e}=this['editor'],_0x5e8afc=_0x3febfd['get'](_0x5ce8d9)['getFootnote'](_0xcfcff6);return!!_0x5e8afc&&(_0x354a9e['change'](_0x18d553=>{_0x18d553['setSelection'](_0x18d553['createPositionAt'](_0x5e8afc['definition'],'end'));}),_0x53c0a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x53e64a){const {plugins:_0x4a3b52,editing:_0x9ef6dd,model:_0x2472c9}=this['editor'],_0x29a90c=_0x4a3b52['get'](_0x5ce8d9)['getFootnote'](_0x53e64a);return!!_0x29a90c&&(_0x2472c9['change'](_0x4dd944=>{_0x4dd944['setSelection'](_0x29a90c['reference'],'on');}),_0x9ef6dd['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x43714f}=this['editor']['model'],_0x4d3118=this['editor']['config']['get']('footnotes.multiBlock');_0x43714f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x43714f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x43714f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d3118?_0x43714f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x43714f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x43714f['addChildCheck'](_0xea7f3f=>{for(const _0x5b47e0 of _0xea7f3f)if('footnoteDefinition'===_0x5b47e0['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x889749}=this,{conversion:_0x232070,editing:_0x7e9365}=_0x889749,{t:t}=_0x889749['locale'];_0x232070['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1f0628,{writer:_0x3ca6cc,consumable:_0x59c9b5})=>{const _0x2802bc=_0x1f0628['getChild'](0x0);if(!_0x2802bc||!_0x2802bc['is']('element','a'))return null;const _0x3847e2=_0x2802bc['getAttribute']('href')||'';if(!_0x3847e2['startsWith']('#'))return null;const _0x1d5ff9=_0x3847e2['replace'](/^#/,'');if(!_0x1d5ff9)return null;_0x59c9b5['consume'](_0x2802bc,{'name':!0x0,'attributes':['href']});for(const {item:_0x5695f6}of _0x7e9365['view']['createRangeIn'](_0x2802bc))_0x5695f6['is']('$textProxy')?_0x59c9b5['consume'](_0x5695f6['textNode'],{'name':!0x0}):_0x5695f6['is']('element')&&_0x59c9b5['consume'](_0x5695f6,{'name':!0x0});return _0x3ca6cc['createElement']('footnoteRef',{'footnoteId':_0x1d5ff9});}}),_0x232070['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x229188,{writer:_0x46e8ff})=>D(_0x229188,_0x46e8ff)}),_0x232070['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x27d1d1,{writer:_0x556c5a})=>{const _0x299f4b=_0x27d1d1['getAttribute']('footnoteCounter');return _0x1f0949(D(_0x27d1d1,_0x556c5a),_0x556c5a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x299f4b)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4acd33}=this,{t:t}=_0x4acd33['locale'],{conversion:_0x3b9f82}=_0x4acd33;_0x3b9f82['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b9f82['for']('upcast')['add'](_0x533f2f=>{_0x533f2f['on']('element:ol',(_0x35ac9e,_0xa0eea5,_0x182f62)=>{const _0x1492fa=_0xa0eea5['viewItem'];if(!_0x1492fa['hasClass']('footnotes-list')||!_0xa0eea5['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x182f62['consumable']['consume'](_0x1492fa,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3e285a,modelCursor:_0x47b3de}=_0x182f62['convertChildren'](_0xa0eea5['viewItem'],_0xa0eea5['modelCursor']);_0xa0eea5['modelRange']=_0x3e285a,_0xa0eea5['modelCursor']=_0x47b3de;}),_0x533f2f['on']('element:hr',(_0x1b0b76,_0x565f53,_0x180401)=>{const _0x42e09f=_0x565f53['viewItem'];_0x42e09f['hasClass']('footnotes-divider')&&_0x565f53['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x180401['consumable']['consume'](_0x42e09f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b9f82['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e091a,{writer:_0x50f84c})=>g(_0x50f84c)}),_0x3b9f82['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x310fbc,{writer:_0x5dab4})=>{const _0x3b2fab=g(_0x5dab4,{'data-footnotes-list-label':t('Footnotes')}),_0xa5fc94=_0x1f0949(_0x3b2fab,_0x5dab4,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5dab4['setCustomProperty']('footnotesDefinitions',!0x0,_0xa5fc94),_0xa5fc94;}});}['_defineDefinitionConverters'](){const {editor:_0xd5adfe}=this,{conversion:_0x39b1e5,locale:_0x15655e}=_0xd5adfe,_0x5664a2=_0xd5adfe['config']['get']('footnotes.multiBlock');_0x39b1e5['for']('upcast')['add'](_0x1b37a9=>{_0x1b37a9['on']('element:li',(_0x1cda48,_0x123b99,_0x5cd47d)=>{const _0x4e72ad=_0x123b99['viewItem'];if(!_0x4e72ad['hasClass']('footnote-definition')||!_0x4e72ad['getAttribute']('id'))return;const _0x102045=_0x4e72ad['parent'];if(!_0x102045['is']('element','ol')||!_0x102045['hasClass']('footnotes-list'))return;if(!_0x5cd47d['consumable']['test'](_0x4e72ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d4102=_0x5cd47d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e72ad['getAttribute']('id')});if(!_0x5cd47d['safeInsert'](_0x3d4102,_0x123b99['modelCursor']))return;_0x5cd47d['consumable']['consume'](_0x4e72ad,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4dba03=Array['from'](_0x4e72ad['getChildren']())['find'](_0x5a3d29=>_0x5a3d29['is']('element')&&_0x5a3d29['hasClass']('footnote-content'));for(const _0x143f88 of _0x4e72ad['getChildren']())_0x143f88['is']('element')&&(_0x5cd47d['consumable']['consume'](_0x143f88,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5cd47d['consumable']['consume'](_0x143f88,{'name':!0x0,'classes':'footnote-content'}));if(_0x4dba03){if(_0x5664a2)_0x5cd47d['convertChildren'](_0x4dba03,_0x3d4102);else{const _0x48ca97=_0x5cd47d['writer']['createElement']('footnoteInlineContent');_0x5cd47d['writer']['insert'](_0x48ca97,_0x3d4102),_0x5cd47d['convertChildren'](_0x4dba03,_0x48ca97);}}_0x5cd47d['updateConversionResult'](_0x3d4102,_0x123b99);});}),_0x39b1e5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3149d4,{writer:_0x4c1620})=>v(_0x3149d4,_0x4c1620,_0x15655e,{'dataPipeline':!0x0})}),_0x39b1e5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x33ea4a,{writer:_0x2e67d9})=>v(_0x33ea4a,_0x2e67d9,_0x15655e)});}['_defineBogusParagraphConverters'](){const {editor:_0x19257d}=this,{conversion:_0x31fba2}=_0x19257d;_0x19257d['config']['get']('footnotes.multiBlock')?(_0x31fba2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x31fba2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x19257d['model']['document'],'change:data',()=>{!function(_0x4e44c8,_0xe7b162){const _0x8d9cc4=_0x4e44c8['document']['differ'],_0x149775=new Set();for(const _0x4312ed of _0x8d9cc4['getChanges']()){const _0x5cf403='attribute'==_0x4312ed['type']?_0x4312ed['range']['start']['parent']:_0x4312ed['position']['parent'];_0x5cf403['is']('element','footnoteDefinition')&&_0x149775['add'](_0x5cf403);}for(const _0x2a094c of _0x149775['values']()){const _0x525f68=Array['from'](_0x2a094c['getChildren']())['filter'](_0x1a76bf=>p(_0x1a76bf,_0xe7b162['mapper']));for(const _0x28477f of _0x525f68)_0xe7b162['reconvertItem'](_0x28477f);}}(_0x19257d['model'],_0x19257d['editing']);})):(_0x31fba2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x31fba2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3655b3,{writer:_0x17ae48})=>{const _0x878486=_0x17ae48['createContainerElement']('span');return _0x17ae48['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x878486),_0x878486;}}));}['_defineKeyboardHandlers'](){const {editor:_0x358daf}=this,{editing:_0x3797de,t:t}=_0x358daf,_0x30a617=_0x358daf['model']['document']['selection'];_0x358daf['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x358daf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x3797de['view']['document'],'enter',(_0x43b8b5,_0x3539d1)=>{const _0x2540c7=function(_0x40c5a9){const _0x295968=_0x40c5a9['getSelectedElement']();if(_0x295968?.['is']('element','footnoteRef'))return _0x295968;return null;}(_0x30a617);if(_0x2540c7){const _0x1a5c45=_0x2540c7['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1a5c45),_0x3539d1['preventDefault'](),_0x43b8b5['stop']();}},{'context':_0x45e7ca});}['_defineClickHandlers'](){const {editor:_0x2b2ef8}=this,{editing:_0x445dd3}=_0x2b2ef8;_0x2b2ef8['editing']['view']['addObserver'](_0x3139b1),_0x2b2ef8['editing']['view']['addObserver'](_0x129df2);let _0x6d0e55=!0x1;this['listenTo'](_0x445dd3['view']['document'],'pointerdown',(_0x5d9f25,_0x1bc9a4)=>{const {target:_0x3e0f37}=_0x1bc9a4,_0x2c3c47=_0x445dd3['view']['document']['selection'];_0x6d0e55=!(!_0x3e0f37['is']('element','sup')||!_0x3e0f37['hasClass']('footnote'))&&_0x2c3c47['getSelectedElement']()===_0x3e0f37;},{'priority':'high'}),this['listenTo'](_0x445dd3['view']['document'],'click',(_0x2a8354,_0x46ab8c)=>{const {target:_0x373b54}=_0x46ab8c,_0x124a94=_0x373b54['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x124a94['slice'](0x1)),_0x2a8354['stop'](),_0x46ab8c['preventDefault']();},{'priority':'high','context':_0x4ee784=>_0x4ee784['is']('element','sup')&&_0x4ee784['hasClass']('footnote')&&_0x6d0e55}),this['listenTo'](_0x445dd3['view']['document'],'click',(_0x6c310a,_0x5c199c)=>{const {target:_0x5d5efa}=_0x5c199c;if(!_0x5d5efa['is']('element','a'))return;let _0x3bf33d=_0x5d5efa['getAttribute']('href');if(!_0x3bf33d?.['startsWith']('#'))return;_0x3bf33d=_0x3bf33d['slice'](0x1);let _0x24efc6=!0x1;(_0x3bf33d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3bf33d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3bf33d))&&(_0x24efc6=!0x0),_0x24efc6&&(_0x5c199c['preventDefault'](),_0x6c310a['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x13fb77}={}){return(_0x4b2f45,{writer:_0xb68572})=>{if(!h(_0x4b2f45))return null;if(!_0x13fb77)return _0xb68572['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5cd54c=_0xb68572['createContainerElement']('p');return _0xb68572['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cd54c),_0x5cd54c;};}function h(_0x4d9d42){const {parent:_0x499aed}=_0x4d9d42;if(!_0x499aed?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x499aed['childCount'])return!0x1;for(const _0x34dc23 of _0x4d9d42['getAttributeKeys']())if(!_0x34dc23['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x34dc23)return!0x1;return!0x0;}function p(_0x501ea3,_0x15a793){if(!_0x501ea3['is']('element','paragraph'))return!0x1;const _0x31a12c=_0x15a793['toViewElement'](_0x501ea3);return!!_0x31a12c&&h(_0x501ea3)!==_0x31a12c['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x434591){return _0x45e7ca(_0x434591)&&_0x434591['is']('containerElement')&&!!_0x434591['getCustomProperty']('footnotesDefinitions');}function g(_0x1988f3,_0x2b3781={}){const _0x1296a0=_0x1988f3['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x46e444=_0x1988f3['createContainerElement']('ol',{'class':'footnotes-list'},_0x1988f3['createSlot']());return _0x1988f3['createContainerElement']('div',{'class':'footnotes',..._0x2b3781},[_0x1296a0,_0x46e444]);}function D(_0x187933,_0x36ebd1){const _0x5d6df3=_0x187933['getAttribute']('footnoteId'),_0x5d6e9b=_0x187933['getAttribute']('footnoteCounter'),_0x3bd2f3=_0x36ebd1['createUIElement']('a',{'href':'#'+_0x5d6df3},function(_0x12c736){const _0x8d5b8c=this['toDomElement'](_0x12c736);return _0x8d5b8c['textContent']=_0x5d6e9b,_0x8d5b8c;}),_0x4f0dc1=_0x36ebd1['createContainerElement']('sup',{'id':'ref-'+_0x5d6df3,'class':'footnote'},[_0x3bd2f3]);return _0x4f0dc1['getFillerOffset']=()=>null,_0x4f0dc1;}function v(_0x56a759,_0x6898f8,_0x5abe45,{dataPipeline:_0x66d810}={}){const {t:t}=_0x5abe45,_0x5758d5=_0x56a759['getAttribute']('footnoteId'),_0x12f6d0=_0x6898f8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5758d5},function(_0x39c13a){const _0x1b720d=this['toDomElement'](_0x39c13a);return _0x1b720d['innerText']='^',_0x1b720d;}),_0x5223c8=_0x66d810?_0x6898f8['createContainerElement']('div',{'class':'footnote-content'}):_0x5cfdc7(_0x6898f8['createEditableElement']('div',{'class':'footnote-content'}),_0x6898f8,{'label':t('Footnote\x20content.')});return _0x6898f8['insert'](_0x6898f8['createPositionAt'](_0x5223c8,0x0),_0x6898f8['createSlot']()),_0x6898f8['createContainerElement']('li',{'class':'footnote-definition','id':_0x5758d5},[_0x12f6d0,_0x5223c8]);}
|
|
23
|
+
import{Plugin as _0xb1947e}from'ckeditor5/src/core.js';import{isWidget as _0x11f49d,toWidget as _0x397288,toWidgetEditable as _0x572246}from'ckeditor5/src/widget.js';import{uid as _0x393ee6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x419972,ClickObserver as _0x263000}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1d03da}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x23bb79}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xb1947e{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1d03da];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2353c7}=this;_0x2353c7['config']['define']('footnotes.multiBlock',!0x0),_0x2353c7['commands']['add']('insertFootnote',new _0x23bb79(_0x2353c7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4a4ae7){const _0x3e4137=_0x4f50a7([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]),_0x38be54=0x47a28506,_0x11898a=0x47a5f27e^_0x38be54,_0x1f29e8=window[_0x4f50a7([0x44,0x61,0x74,0x65])][_0x4f50a7([0x6e,0x6f,0x77])](),_0x5aa9e4=_0x4a4ae7[_0x4f50a7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4de196=new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46ba8d=>{_0x5aa9e4[_0x4f50a7([0x6f,0x6e,0x63,0x65])](_0x4f50a7([0x72,0x65,0x61,0x64,0x79]),_0x46ba8d);}),_0x575b1e={[_0x4f50a7([0x6b,0x74,0x79])]:_0x4f50a7([0x45,0x43]),[_0x4f50a7([0x75,0x73,0x65])]:_0x4f50a7([0x73,0x69,0x67]),[_0x4f50a7([0x63,0x72,0x76])]:_0x4f50a7([0x50,0x2d,0x32,0x35,0x36]),[_0x4f50a7([0x78])]:_0x4f50a7([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]),[_0x4f50a7([0x79])]:_0x4f50a7([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]),[_0x4f50a7([0x61,0x6c,0x67])]:_0x4f50a7([0x45,0x53,0x32,0x35,0x36])},_0x45a79d=_0x5aa9e4[_0x4f50a7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4f50a7([0x67,0x65,0x74])](_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x499e99(){let _0x23339c,_0x57e9ab=null,_0x427d92=null;try{if(_0x45a79d==_0x4f50a7([0x47,0x50,0x4c]))return _0x4f50a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x23339c=_0x911977(),!_0x23339c)return _0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x23339c[_0x4f50a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x427d92=_0x16a89d(_0x23339c[_0x4f50a7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x23339c[_0x4f50a7([0x6a,0x74,0x69])])),await _0x47cee3()?_0x309722()?_0x3d0c53()?_0x4f50a7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2c1c41()?(_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f50a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x57e9ab=_0x2466a1(_0x4f50a7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4f50a7([0x74,0x72,0x69,0x61,0x6c])&&(_0x57e9ab=_0x2466a1(_0x4f50a7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1ce74d()):_0x4f50a7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4f50a7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4f50a7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3d0c53(){const _0x50ce79=[_0x4f50a7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4f50a7([0x74,0x72,0x69,0x61,0x6c])][_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1f29e8/0x3e8:0xe10*_0x11898a;return _0x23339c[_0x4f50a7([0x65,0x78,0x70])]<_0x50ce79;}function _0x309722(){const _0x418f2d=_0x23339c[_0x4f50a7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x418f2d&&(!!_0x418f2d[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x2a]))||!!_0x418f2d[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x46,0x4f,0x4f])));}function _0x2c1c41(){const _0x503fb0=_0x23339c[_0x4f50a7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x503fb0||0x0==_0x503fb0[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43b169}=new URL(window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x503fb0[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b169))return!0x0;const _0x52cc29=_0x43b169[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e]));return _0x503fb0[_0x4f50a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x240ff2=>_0x240ff2[_0x4f50a7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4f50a7([0x2a])))[_0x4f50a7([0x6d,0x61,0x70])](_0x2cb2c7=>_0x2cb2c7[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e])))[_0x4f50a7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3a90d4=>_0x3a90d4[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x52cc29[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f50a7([0x6d,0x61,0x70])](_0x47609c=>Array(_0x52cc29[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x47609c[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4f50a7([0x66,0x69,0x6c,0x6c])](_0x47609c[0x0]===_0x4f50a7([0x2a])?_0x4f50a7([0x2a]):'')[_0x4f50a7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x47609c))[_0x4f50a7([0x73,0x6f,0x6d,0x65])](_0x43586c=>_0x52cc29[_0x4f50a7([0x65,0x76,0x65,0x72,0x79])]((_0x544374,_0x3ad348)=>_0x43586c[_0x3ad348]===_0x544374||_0x43586c[_0x3ad348]===_0x4f50a7([0x2a])));}function _0x1ce74d(){return _0x57e9ab&&_0x427d92?new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4df67e,_0x492310)=>{_0x57e9ab[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x4df67e,_0x492310),_0x427d92[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x367fec=>{_0x367fec!=_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])&&_0x4df67e(_0x367fec);},_0x492310);}):_0x57e9ab||_0x427d92||_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x16a89d(_0x1fd1c7,_0x173fa7){return new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c070c=>{if(_0x519de2())return _0x3c070c(_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]));_0x311b4e(),_0x5aa9e4[_0x4f50a7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b2b35=!0x1;const _0x3eec3f=_0x393ee6();function _0x3ccb88(_0x4d10e2){return!!_0x4d10e2&&(typeof _0x4d10e2===_0x4f50a7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d10e2===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d10e2[_0x4f50a7([0x74,0x68,0x65,0x6e])]===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d10e2[_0x4f50a7([0x63,0x61,0x74,0x63,0x68])]===_0x4f50a7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x315d74(_0x1fee6b){_0x3b1d26(_0x1fee6b)[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x413b83=>{if(!_0x413b83||_0x413b83[_0x4f50a7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4f50a7([0x6f,0x6b]))return _0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2ccf92(_0x27bdab(_0x3eec3f+_0x173fa7))!=_0x413b83[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4f50a7([0x56,0x61,0x6c,0x69,0x64]);})[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x10f34b=>(_0x442ed3(),_0x10f34b),()=>{const _0xeba2de=_0x34a992();return null==_0xeba2de?(_0x442ed3(),_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])):_0x4f50a7(_0x1f29e8-_0xeba2de>(0x63ae0106^_0x38be54)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x3c070c)[_0x4f50a7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x11f551=0x47946b86^_0x38be54;function _0x442ed3(){const _0x4e2697=_0x4f50a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccf92(_0x27bdab(_0x1fd1c7)),_0x31e6cb=_0xcecd76(_0x2ccf92(window[_0x4f50a7([0x4d,0x61,0x74,0x68])][_0x4f50a7([0x63,0x65,0x69,0x6c])](_0x1f29e8/_0x11f551)));window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f50a7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e2697,_0x31e6cb);}function _0x34a992(){const _0x3297e1=_0x4f50a7([0x6c,0x6c,0x63,0x74,0x2d])+_0x2ccf92(_0x27bdab(_0x1fd1c7)),_0x547914=window[_0x4f50a7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4f50a7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3297e1);return _0x547914?window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xcecd76(_0x547914),0x10)*_0x11f551:null;}function _0x3b1d26(_0x207a2b){return new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34c5ae,_0x418faa)=>{_0x207a2b[_0x4f50a7([0x74,0x68,0x65,0x6e])](_0x34c5ae,_0x418faa),window[_0x4f50a7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x418faa,0x47a351c6^_0x38be54);});}}_0x5aa9e4[_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x13799e,_0x1c704d)=>{if(_0x1c704d[0x0]!=_0x1fd1c7)return _0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c704d[0x1]={..._0x1c704d[0x1],[_0x4f50a7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3eec3f};},{[_0x4f50a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f50a7([0x68,0x69,0x67,0x68])}),_0x5aa9e4[_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x333c5f=>{_0x3ccb88(_0x333c5f[_0x4f50a7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b2b35=!0x0,_0x315d74(_0x333c5f[_0x4f50a7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4f50a7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4f50a7([0x6c,0x6f,0x77])}),_0x4de196[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>{_0x4b2b35||_0x3c070c(_0x4f50a7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x519de2(){return _0x5aa9e4[_0x4f50a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f50a7([0x76,0x69,0x65,0x77])][_0x4f50a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4f50a7([0x61,0x75,0x74,0x6f]);}function _0x311b4e(){_0x5aa9e4[_0x4f50a7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4f50a7([0x76,0x69,0x65,0x77])][_0x4f50a7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4f50a7([0x61,0x75,0x74,0x6f]);}}function _0x2466a1(_0x5ddf14){const _0x32cc41=[new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2ab0=>setTimeout(_0x1d2ab0,0x47abbbca^_0x38be54)),_0x4de196[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ffb62=>{let _0x511b8d=0x0;_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x6f,0x6e])](_0x4f50a7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x54c9f4,_0x2f5781)=>{_0x2f5781[0x0][_0x4f50a7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x511b8d++,_0x511b8d==(0x47a284fe^_0x38be54)&&(_0x1ffb62(),_0x54c9f4[_0x4f50a7([0x6f,0x66,0x66])]());});}))];return window[_0x4f50a7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4f50a7([0x72,0x61,0x63,0x65])](_0x32cc41)[_0x4f50a7([0x74,0x68,0x65,0x6e])](()=>_0x5ddf14);}async function _0x45d13a(){await _0x4de196,_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12b541,_0x5aa9e4[_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c])][_0x4f50a7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12b541,_0x5aa9e4[_0x4f50a7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4f50a7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x33fbfa(_0x265cbd){const _0x289fba=_0x1dde58();_0x5aa9e4[_0x289fba]=_0x4f50a7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x265cbd,_0x265cbd!=_0x4f50a7([0x56,0x61,0x6c,0x69,0x64])&&_0x45d13a();}function _0x1dde58(){const _0x5f4268=window[_0x4f50a7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4f50a7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4f50a7([0x6e,0x6f,0x77])]())[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4f50a7([0x2e]),'');let _0x614624=_0x4f50a7([0x75]);for(let _0x494404=0x0;_0x494404<_0x5f4268[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x494404+=0x2){let _0x2c5b18=window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f4268[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x494404,_0x494404+0x2));_0x2c5b18>=_0x3e4137[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2c5b18-=_0x3e4137[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x614624+=_0x3e4137[_0x2c5b18];}return _0x614624;}function _0x911977(){const _0x349774=_0x45a79d[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e]));if(0x3!=_0x349774[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1c591d(_0x349774[0x1]);function _0x1c591d(_0x3d7981){const _0x3c1369=_0x42b35e(_0x3d7981);return _0x3c1369&&_0xe9683d()?_0x3c1369:null;function _0xe9683d(){const _0x5a5b90=_0x3c1369[_0x4f50a7([0x6a,0x74,0x69])],_0x2fb43c=window[_0x4f50a7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5a5b90[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a5b90[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34b271={..._0x3c1369,[_0x4f50a7([0x6a,0x74,0x69])]:_0x5a5b90[_0x4f50a7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5a5b90[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34b271[_0x4f50a7([0x76,0x63])],_0x27bdab(_0x34b271)==_0x2fb43c;}}}async function _0x47cee3(){let _0x1edf36=!0x0;try{const _0x1b838e=_0x45a79d[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])](_0x4f50a7([0x2e])),[_0x4cea6a,_0xa3eb81,_0x508147]=_0x1b838e;return _0x110586(_0x4cea6a),await _0x5db337(_0x4cea6a,_0xa3eb81,_0x508147),_0x1edf36;}catch{return!0x1;}function _0x110586(_0x4dc9b3){const _0x5d8925=_0x42b35e(_0x4dc9b3);_0x5d8925&&_0x5d8925[_0x4f50a7([0x61,0x6c,0x67])]==_0x4f50a7([0x45,0x53,0x32,0x35,0x36])||(_0x1edf36=!0x1);}async function _0x5db337(_0x1e454a,_0x6dd7ba,_0xeb3eb5){const _0x29a276=window[_0x4f50a7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4f50a7([0x66,0x72,0x6f,0x6d])](_0x185836(_0xeb3eb5),_0x4786ef=>_0x4786ef[_0x4f50a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2516ad=new window[(_0x4f50a7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4f50a7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1e454a+_0x4f50a7([0x2e])+_0x6dd7ba),_0xf4e221=window[_0x4f50a7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4f50a7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xf4e221)return;const _0x20b853=await _0xf4e221[_0x4f50a7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4f50a7([0x6a,0x77,0x6b]),_0x575b1e,{[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x45,0x43,0x44,0x53,0x41]),[_0x4f50a7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4f50a7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xf4e221[_0x4f50a7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x45,0x43,0x44,0x53,0x41]),[_0x4f50a7([0x68,0x61,0x73,0x68])]:{[_0x4f50a7([0x6e,0x61,0x6d,0x65])]:_0x4f50a7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20b853,_0x29a276,_0x2516ad)||(_0x1edf36=!0x1);}}function _0x42b35e(_0x1b3ecd){return _0x1b3ecd[_0x4f50a7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4f50a7([0x65,0x79]))?JSON[_0x4f50a7([0x70,0x61,0x72,0x73,0x65])](_0x185836(_0x1b3ecd)):null;}function _0x185836(_0x2c783e){return window[_0x4f50a7([0x61,0x74,0x6f,0x62])](_0x2c783e[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4f50a7([0x2b]))[_0x4f50a7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4f50a7([0x2f])));}function _0x27bdab(_0x1cc409){let _0x52715b=0x1505;function _0x2b029e(_0x517c55){for(let _0x51d298=0x0;_0x51d298<_0x517c55[_0x4f50a7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x51d298++){const _0x16e0b0=_0x517c55[_0x4f50a7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x51d298);_0x52715b=(_0x52715b<<0x5)+_0x52715b+_0x16e0b0,_0x52715b&=_0x52715b;}}function _0x331ef8(_0x4a1d1f){Array[_0x4f50a7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4a1d1f)?_0x4a1d1f[_0x4f50a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x331ef8):_0x4a1d1f&&typeof _0x4a1d1f==_0x4f50a7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4f50a7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4a1d1f)[_0x4f50a7([0x73,0x6f,0x72,0x74])]()[_0x4f50a7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x53f5cb,_0x4423e3])=>{_0x2b029e(_0x53f5cb),_0x331ef8(_0x4423e3);}):_0x2b029e(window[_0x4f50a7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4a1d1f));}return _0x331ef8(_0x1cc409),_0x52715b>>>0x0;}function _0x2ccf92(_0x3a543d){return _0x3a543d[_0x4f50a7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4f50a7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4f50a7([0x30]));}function _0xcecd76(_0x5193f0){return _0x5193f0[_0x4f50a7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4f50a7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4f50a7([0x6a,0x6f,0x69,0x6e])]('');}function _0x12b541(){}function _0x4f50a7(_0x1f7747){return _0x1f7747['map'](_0x513b3e=>String['fromCharCode'](_0x513b3e))['join']('');}_0x33fbfa(await _0x499e99());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc7f6d){const {plugins:_0x2aa1c2,editing:_0x32f3ca,model:_0x584e4c}=this['editor'],_0x318050=_0x2aa1c2['get'](_0x1d03da)['getFootnote'](_0xc7f6d);return!!_0x318050&&(_0x584e4c['change'](_0x2e635f=>{_0x2e635f['setSelection'](_0x2e635f['createPositionAt'](_0x318050['definition'],'end'));}),_0x32f3ca['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x441bc7){const {plugins:_0x52a517,editing:_0x41ce36,model:_0x2cc4d8}=this['editor'],_0x4770dc=_0x52a517['get'](_0x1d03da)['getFootnote'](_0x441bc7);return!!_0x4770dc&&(_0x2cc4d8['change'](_0x237a5b=>{_0x237a5b['setSelection'](_0x4770dc['reference'],'on');}),_0x41ce36['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x504f2c}=this['editor']['model'],_0x5e1621=this['editor']['config']['get']('footnotes.multiBlock');_0x504f2c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x504f2c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x504f2c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5e1621?_0x504f2c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x504f2c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x504f2c['addChildCheck'](_0x35387a=>{for(const _0x65f5f4 of _0x35387a)if('footnoteDefinition'===_0x65f5f4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x386395}=this,{conversion:_0x51992f,editing:_0x4ce75e}=_0x386395,{t:t}=_0x386395['locale'];_0x51992f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5c9773,{writer:_0x5c5293,consumable:_0x7f6513})=>{const _0x4d2dfb=_0x5c9773['getChild'](0x0);if(!_0x4d2dfb||!_0x4d2dfb['is']('element','a'))return null;const _0x399ab8=_0x4d2dfb['getAttribute']('href')||'';if(!_0x399ab8['startsWith']('#'))return null;const _0x59a51b=_0x399ab8['replace'](/^#/,'');if(!_0x59a51b)return null;_0x7f6513['consume'](_0x4d2dfb,{'name':!0x0,'attributes':['href']});for(const {item:_0x9e302a}of _0x4ce75e['view']['createRangeIn'](_0x4d2dfb))_0x9e302a['is']('$textProxy')?_0x7f6513['consume'](_0x9e302a['textNode'],{'name':!0x0}):_0x9e302a['is']('element')&&_0x7f6513['consume'](_0x9e302a,{'name':!0x0});return _0x5c5293['createElement']('footnoteRef',{'footnoteId':_0x59a51b});}}),_0x51992f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4d83be,{writer:_0x4620e4})=>D(_0x4d83be,_0x4620e4)}),_0x51992f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x464eef,{writer:_0x4ba94e})=>{const _0x5d7997=_0x464eef['getAttribute']('footnoteCounter');return _0x397288(D(_0x464eef,_0x4ba94e),_0x4ba94e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5d7997)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6d04c4}=this,{t:t}=_0x6d04c4['locale'],{conversion:_0x37277f}=_0x6d04c4;_0x37277f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x37277f['for']('upcast')['add'](_0x42475b=>{_0x42475b['on']('element:ol',(_0x575de7,_0x4196e2,_0x58088c)=>{const _0x17192f=_0x4196e2['viewItem'];if(!_0x17192f['hasClass']('footnotes-list')||!_0x4196e2['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x58088c['consumable']['consume'](_0x17192f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2b5aaa,modelCursor:_0x2da286}=_0x58088c['convertChildren'](_0x4196e2['viewItem'],_0x4196e2['modelCursor']);_0x4196e2['modelRange']=_0x2b5aaa,_0x4196e2['modelCursor']=_0x2da286;}),_0x42475b['on']('element:hr',(_0x3ac27b,_0x818c7c,_0x1953cd)=>{const _0xef33b5=_0x818c7c['viewItem'];_0xef33b5['hasClass']('footnotes-divider')&&_0x818c7c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x1953cd['consumable']['consume'](_0xef33b5,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x37277f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x49677e,{writer:_0x3b6c3e})=>g(_0x3b6c3e)}),_0x37277f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x976cfd,{writer:_0x23e22f})=>{const _0x42a4e1=g(_0x23e22f,{'data-footnotes-list-label':t('Footnotes')}),_0x1e9b2e=_0x397288(_0x42a4e1,_0x23e22f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x23e22f['setCustomProperty']('footnotesDefinitions',!0x0,_0x1e9b2e),_0x1e9b2e;}});}['_defineDefinitionConverters'](){const {editor:_0x4f6401}=this,{conversion:_0x1b71d9,locale:_0x4ca9b8}=_0x4f6401,_0x14ca04=_0x4f6401['config']['get']('footnotes.multiBlock');_0x1b71d9['for']('upcast')['add'](_0x4bd306=>{_0x4bd306['on']('element:li',(_0x4d13a2,_0x561484,_0x5c3420)=>{const _0x20f9c4=_0x561484['viewItem'];if(!_0x20f9c4['hasClass']('footnote-definition')||!_0x20f9c4['getAttribute']('id'))return;const _0x5bfe76=_0x20f9c4['parent'];if(!_0x5bfe76['is']('element','ol')||!_0x5bfe76['hasClass']('footnotes-list'))return;if(!_0x5c3420['consumable']['test'](_0x20f9c4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2b4ede=_0x5c3420['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x20f9c4['getAttribute']('id')});if(!_0x5c3420['safeInsert'](_0x2b4ede,_0x561484['modelCursor']))return;_0x5c3420['consumable']['consume'](_0x20f9c4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x15f454=Array['from'](_0x20f9c4['getChildren']())['find'](_0xe63a7=>_0xe63a7['is']('element')&&_0xe63a7['hasClass']('footnote-content'));for(const _0x1f3472 of _0x20f9c4['getChildren']())_0x1f3472['is']('element')&&(_0x5c3420['consumable']['consume'](_0x1f3472,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5c3420['consumable']['consume'](_0x1f3472,{'name':!0x0,'classes':'footnote-content'}));if(_0x15f454){if(_0x14ca04)_0x5c3420['convertChildren'](_0x15f454,_0x2b4ede);else{const _0x51b8c6=_0x5c3420['writer']['createElement']('footnoteInlineContent');_0x5c3420['writer']['insert'](_0x51b8c6,_0x2b4ede),_0x5c3420['convertChildren'](_0x15f454,_0x51b8c6);}}_0x5c3420['updateConversionResult'](_0x2b4ede,_0x561484);});}),_0x1b71d9['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x50a116,{writer:_0x15b051})=>v(_0x50a116,_0x15b051,_0x4ca9b8,{'dataPipeline':!0x0})}),_0x1b71d9['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x16a566,{writer:_0x51dc35})=>v(_0x16a566,_0x51dc35,_0x4ca9b8)});}['_defineBogusParagraphConverters'](){const {editor:_0xd6c33f}=this,{conversion:_0x4dc1f0}=_0xd6c33f;_0xd6c33f['config']['get']('footnotes.multiBlock')?(_0x4dc1f0['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4dc1f0['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xd6c33f['model']['document'],'change:data',()=>{!function(_0x3043c9,_0x85fcb){const _0x42bc02=_0x3043c9['document']['differ'],_0x2741d1=new Set();for(const _0x3d2f8a of _0x42bc02['getChanges']()){const _0x42385b='attribute'==_0x3d2f8a['type']?_0x3d2f8a['range']['start']['parent']:_0x3d2f8a['position']['parent'];_0x42385b['is']('element','footnoteDefinition')&&_0x2741d1['add'](_0x42385b);}for(const _0x1f32e0 of _0x2741d1['values']()){const _0x55ab72=Array['from'](_0x1f32e0['getChildren']())['filter'](_0x5c272f=>p(_0x5c272f,_0x85fcb['mapper']));for(const _0x158727 of _0x55ab72)_0x85fcb['reconvertItem'](_0x158727);}}(_0xd6c33f['model'],_0xd6c33f['editing']);})):(_0x4dc1f0['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4dc1f0['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x8899a2,{writer:_0x21f95e})=>{const _0x3bf4af=_0x21f95e['createContainerElement']('span');return _0x21f95e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3bf4af),_0x3bf4af;}}));}['_defineKeyboardHandlers'](){const {editor:_0x192eb0}=this,{editing:_0x57e9da,t:t}=_0x192eb0,_0x56fd77=_0x192eb0['model']['document']['selection'];_0x192eb0['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x192eb0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x57e9da['view']['document'],'enter',(_0x619ee8,_0x4b8134)=>{const _0x45f751=function(_0x20af2c){const _0x2e0757=_0x20af2c['getSelectedElement']();if(_0x2e0757?.['is']('element','footnoteRef'))return _0x2e0757;return null;}(_0x56fd77);if(_0x45f751){const _0x48cd27=_0x45f751['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x48cd27),_0x4b8134['preventDefault'](),_0x619ee8['stop']();}},{'context':_0x11f49d});}['_defineClickHandlers'](){const {editor:_0x57cbc9}=this,{editing:_0x54a217}=_0x57cbc9;_0x57cbc9['editing']['view']['addObserver'](_0x419972),_0x57cbc9['editing']['view']['addObserver'](_0x263000);let _0x19e677=!0x1;this['listenTo'](_0x54a217['view']['document'],'pointerdown',(_0x1967d9,_0x319577)=>{const {target:_0x55b3cc}=_0x319577,_0xaaca87=_0x54a217['view']['document']['selection'];_0x19e677=!!(_0x55b3cc['is']('element','a')&&_0x55b3cc['parent']?.['is']('element','sup')&&_0x55b3cc['parent']['hasClass']('footnote'))&&_0xaaca87['getSelectedElement']()===_0x55b3cc['parent'];},{'priority':'high'}),this['listenTo'](_0x54a217['view']['document'],'click',(_0x507016,_0x999f51)=>{const {target:_0x3586fa}=_0x999f51;if(!_0x3586fa['is']('element','a'))return;if(_0x3586fa['parent']?.['is']('element','sup')&&_0x3586fa['parent']['hasClass']('footnote')&&!_0x19e677)return void _0x999f51['preventDefault']();let _0x19b469=_0x3586fa['getAttribute']('href');if(!_0x19b469?.['startsWith']('#'))return;_0x19b469=_0x19b469['slice'](0x1);let _0xc74219=!0x1;(_0x19b469['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19b469['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19b469))&&(_0xc74219=!0x0),_0xc74219&&(_0x999f51['preventDefault'](),_0x507016['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x18677d}={}){return(_0x4b27ad,{writer:_0x4e7ef2})=>{if(!h(_0x4b27ad))return null;if(!_0x18677d)return _0x4e7ef2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x202f7f=_0x4e7ef2['createContainerElement']('p');return _0x4e7ef2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x202f7f),_0x202f7f;};}function h(_0x509a50){const {parent:_0x422f49}=_0x509a50;if(!_0x422f49?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x422f49['childCount'])return!0x1;for(const _0x45b919 of _0x509a50['getAttributeKeys']())if(!_0x45b919['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x45b919)return!0x1;return!0x0;}function p(_0x50536a,_0x2b66fc){if(!_0x50536a['is']('element','paragraph'))return!0x1;const _0x222e00=_0x2b66fc['toViewElement'](_0x50536a);return!!_0x222e00&&h(_0x50536a)!==_0x222e00['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1ac1e0){return _0x11f49d(_0x1ac1e0)&&_0x1ac1e0['is']('containerElement')&&!!_0x1ac1e0['getCustomProperty']('footnotesDefinitions');}function g(_0x4fbced,_0x3db734={}){const _0x40e6d3=_0x4fbced['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xad29cb=_0x4fbced['createContainerElement']('ol',{'class':'footnotes-list'},_0x4fbced['createSlot']());return _0x4fbced['createContainerElement']('div',{'class':'footnotes',..._0x3db734},[_0x40e6d3,_0xad29cb]);}function D(_0x38e9e7,_0x1a4854){const _0x15ba03=_0x38e9e7['getAttribute']('footnoteId'),_0x2ff0ce=_0x38e9e7['getAttribute']('footnoteCounter'),_0x1f4b17=_0x1a4854['createUIElement']('a',{'href':'#'+_0x15ba03},function(_0x55ba20){const _0x429a78=this['toDomElement'](_0x55ba20);return _0x429a78['textContent']=_0x2ff0ce,_0x429a78;}),_0x2d882b=_0x1a4854['createContainerElement']('sup',{'id':'ref-'+_0x15ba03,'class':'footnote'},[_0x1f4b17]);return _0x2d882b['getFillerOffset']=()=>null,_0x2d882b;}function v(_0x5a7516,_0x38a182,_0x4da221,{dataPipeline:_0x3a3ec2}={}){const {t:t}=_0x4da221,_0x10913b=_0x5a7516['getAttribute']('footnoteId'),_0x1e8cda=_0x38a182['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x10913b},function(_0x29faff){const _0x279a2d=this['toDomElement'](_0x29faff);return _0x279a2d['innerText']='^',_0x279a2d;}),_0x4c850e=_0x3a3ec2?_0x38a182['createContainerElement']('div',{'class':'footnote-content'}):_0x572246(_0x38a182['createEditableElement']('div',{'class':'footnote-content'}),_0x38a182,{'label':t('Footnote\x20content.')});return _0x38a182['insert'](_0x38a182['createPositionAt'](_0x4c850e,0x0),_0x38a182['createSlot']()),_0x38a182['createContainerElement']('li',{'class':'footnote-definition','id':_0x10913b},[_0x1e8cda,_0x4c850e]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x27b584=_0x5c66;function _0x4f73(){const _0x40178c=['_updateFootnotesCounters','3719221IyzZNt','372652eWbwGe','change','execute','10hmdoCk','isInteger','607560aUnZWj','model','getFootnotesDefinitionsObjectElement','31136qykMHv','getAttribute','get','8464YffdXW','isEnabled','6CpRRCX','1emsBLw','footnotesListStart','249110mygwus','setAttribute','1719TVZjCM','176180zGbDlR','value','plugins','refresh'];_0x4f73=function(){return _0x40178c;};return _0x4f73();}(function(_0x10f426,_0x121f16){const _0x1be5b1=_0x5c66,_0x5037df=_0x10f426();while(!![]){try{const _0x144dc3=parseInt(_0x1be5b1(0x1da))/0x1*(-parseInt(_0x1be5b1(0x1dc))/0x2)+-parseInt(_0x1be5b1(0x1d1))/0x3+parseInt(_0x1be5b1(0x1d4))/0x4+-parseInt(_0x1be5b1(0x1df))/0x5+parseInt(_0x1be5b1(0x1d9))/0x6*(-parseInt(_0x1be5b1(0x1e5))/0x7)+parseInt(_0x1be5b1(0x1d7))/0x8*(parseInt(_0x1be5b1(0x1de))/0x9)+-parseInt(_0x1be5b1(0x1cf))/0xa*(-parseInt(_0x1be5b1(0x1e4))/0xb);if(_0x144dc3===_0x121f16)break;else _0x5037df['push'](_0x5037df['shift']());}catch(_0x2bafa7){_0x5037df['push'](_0x5037df['shift']());}}}(_0x4f73,0x2054a));function _0x5c66(_0x409e95,_0x321f52){const _0x4f73fb=_0x4f73();return _0x5c66=function(_0x5c66bd,_0x21d3e5){_0x5c66bd=_0x5c66bd-0x1cf;let _0x2fdc23=_0x4f73fb[_0x5c66bd];return _0x2fdc23;},_0x5c66(_0x409e95,_0x321f52);}import{Command as _0x4b3254}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x4c98f2}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4b3254{[_0x27b584(0x1e2)](){const _0x4b099e=_0x27b584,{editor:_0x3f01bd}=this,_0x2afaa3=_0x3f01bd[_0x4b099e(0x1e1)][_0x4b099e(0x1d6)](_0x4c98f2)[_0x4b099e(0x1d3)]();this[_0x4b099e(0x1d8)]=!!_0x2afaa3,this[_0x4b099e(0x1e0)]=_0x2afaa3?.[_0x4b099e(0x1d5)](_0x4b099e(0x1db))??null;}[_0x27b584(0x1e7)]({value:_0xad943c}){const _0x12acdf=_0x27b584,{editor:_0x5ed815}=this,_0x323833=_0x5ed815[_0x12acdf(0x1e1)][_0x12acdf(0x1d6)](_0x4c98f2),_0x1bdebe=_0x323833[_0x12acdf(0x1d3)]();_0x1bdebe&&Number[_0x12acdf(0x1d0)](_0xad943c)&&_0x5ed815[_0x12acdf(0x1d2)][_0x12acdf(0x1e6)](_0x139363=>{const _0x837056=_0x12acdf;_0x139363[_0x837056(0x1dd)](_0x837056(0x1db),_0xad943c,_0x1bdebe),_0x323833[_0x837056(0x1e3)](_0x139363);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x527936=_0x44de;function _0x4e2a(){const _0x2d38c5=['36oIbPHz','refresh','2419030dXmZBN','11oDQRtQ','3850023XEgAaO','change','278585PSnkua','includes','getFootnotesDefinitionsObjectElement','getAttribute','isEnabled','11292AADnXW','setAttribute','44222748wFbsgE','footnotesListStyle','640hNDZts','execute','value','826Covmbc','2807srhaST','plugins','get','model','3709vkHplU','127647EaSqog','_updateFootnotesCounters'];_0x4e2a=function(){return _0x2d38c5;};return _0x4e2a();}function _0x44de(_0x529012,_0x46d607){const _0x4e2abf=_0x4e2a();return _0x44de=function(_0x44def1,_0x3762a5){_0x44def1=_0x44def1-0xa2;let _0x37b826=_0x4e2abf[_0x44def1];return _0x37b826;},_0x44de(_0x529012,_0x46d607);}(function(_0x2ace65,_0x4a4604){const _0x7329d4=_0x44de,_0x4feabf=_0x2ace65();while(!![]){try{const _0x241c64=parseInt(_0x7329d4(0xb8))/0x1*(-parseInt(_0x7329d4(0xb3))/0x2)+parseInt(_0x7329d4(0xa5))/0x3+-parseInt(_0x7329d4(0xbb))/0x4*(parseInt(_0x7329d4(0xa7))/0x5)+parseInt(_0x7329d4(0xac))/0x6*(-parseInt(_0x7329d4(0xb4))/0x7)+-parseInt(_0x7329d4(0xb0))/0x8*(parseInt(_0x7329d4(0xb9))/0x9)+-parseInt(_0x7329d4(0xa3))/0xa*(parseInt(_0x7329d4(0xa4))/0xb)+parseInt(_0x7329d4(0xae))/0xc;if(_0x241c64===_0x4a4604)break;else _0x4feabf['push'](_0x4feabf['shift']());}catch(_0x4a2f67){_0x4feabf['push'](_0x4feabf['shift']());}}}(_0x4e2a,0xc44eb));import{Command as _0x4b2ce1}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x544755}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x15a899}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4b2ce1{[_0x527936(0xa2)](){const _0x342af4=_0x527936,{editor:_0x323c3e}=this,_0x37ece2=_0x323c3e[_0x342af4(0xb5)][_0x342af4(0xb6)](_0x15a899)[_0x342af4(0xa9)]();this[_0x342af4(0xab)]=!!_0x37ece2,this[_0x342af4(0xb2)]=_0x37ece2?.[_0x342af4(0xaa)](_0x342af4(0xaf))??null;}[_0x527936(0xb1)]({value:_0x42658a}){const _0x530bc7=_0x527936,{editor:_0xfade40}=this,_0x2b44fd=_0xfade40[_0x530bc7(0xb5)][_0x530bc7(0xb6)](_0x15a899),_0x53117f=_0x2b44fd[_0x530bc7(0xa9)]();_0x53117f&&_0x544755[_0x530bc7(0xa8)](_0x42658a)&&_0xfade40[_0x530bc7(0xb7)][_0x530bc7(0xa6)](_0x502ea3=>{const _0x2e34bc=_0x530bc7;_0x502ea3[_0x2e34bc(0xad)](_0x2e34bc(0xaf),_0x42658a,_0x53117f),_0x2b44fd[_0x2e34bc(0xba)](_0x502ea3);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x35af(_0x5e0f84,_0x2e1b84){const _0x5062b4=_0x5062();return _0x35af=function(_0x35afd0,_0x48e133){_0x35afd0=_0x35afd0-0x1c6;let _0x1a6ae3=_0x5062b4[_0x35afd0];return _0x1a6ae3;},_0x35af(_0x5e0f84,_0x2e1b84);}function _0x5062(){const _0x2fc966=['upper-latin','lower-latin','1473328YUoolD','decimal-leading-zero','6UPCedA','upper-alpha','1717524hOSemF','upper-roman','944840NGDxKU','lower-alpha','decimal','134974gNiPig','2696716KFuYyU','lower-roman','3726RlgXNb','406392IwXScd','52080vxmxat'];_0x5062=function(){return _0x2fc966;};return _0x5062();}const _0x54749c=_0x35af;(function(_0x28c0ee,_0x41b36e){const _0x48f960=_0x35af,_0x3822e4=_0x28c0ee();while(!![]){try{const _0x29e1f8=parseInt(_0x48f960(0x1d0))/0x1+parseInt(_0x48f960(0x1d4))/0x2+parseInt(_0x48f960(0x1d2))/0x3*(parseInt(_0x48f960(0x1c9))/0x4)+-parseInt(_0x48f960(0x1d6))/0x5+parseInt(_0x48f960(0x1cc))/0x6+-parseInt(_0x48f960(0x1c8))/0x7+-parseInt(_0x48f960(0x1cd))/0x8*(parseInt(_0x48f960(0x1cb))/0x9);if(_0x29e1f8===_0x41b36e)break;else _0x3822e4['push'](_0x3822e4['shift']());}catch(_0x6c74dc){_0x3822e4['push'](_0x3822e4['shift']());}}}(_0x5062,0xce3f6));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x54749c(0x1c7),_0x54749c(0x1d1),_0x54749c(0x1cf),_0x54749c(0x1ce),_0x54749c(0x1c6),_0x54749c(0x1d3),_0x54749c(0x1ca),_0x54749c(0x1d5)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x18df81=_0x5d47;(function(_0x561894,_0x4e654b){const _0x392e0b=_0x5d47,_0x31d416=_0x561894();while(!![]){try{const _0x241032=-parseInt(_0x392e0b(0x139))/0x1*(parseInt(_0x392e0b(0x123))/0x2)+parseInt(_0x392e0b(0xf0))/0x3+-parseInt(_0x392e0b(0x117))/0x4+parseInt(_0x392e0b(0xfe))/0x5*(-parseInt(_0x392e0b(0x11a))/0x6)+-parseInt(_0x392e0b(0xfa))/0x7*(-parseInt(_0x392e0b(0x12f))/0x8)+-parseInt(_0x392e0b(0xe0))/0x9+parseInt(_0x392e0b(0x13e))/0xa*(parseInt(_0x392e0b(0x12d))/0xb);if(_0x241032===_0x4e654b)break;else _0x31d416['push'](_0x31d416['shift']());}catch(_0x718d03){_0x31d416['push'](_0x31d416['shift']());}}}(_0x4762,0xc0f77));import{Plugin as _0x227d6e}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x38bd63}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x19782d}from'./commands/footnotesstartcommand.js';function _0x4762(){const _0x507e99=['from','footnotes-list','createRangeOn','4954833xbIhsM','footnotesListStyle','toUpperCase','parent','position','list-style-type','start','getAttribute','upcast','upper-alpha','registerPostFixer','item','footnotesListStart','toViewElement','differ','define','1617729VENLcl','decimal','pluginName','editor','padStart','getStyle','find','type','_definePostfixer','attribute:footnotesListStyle:footnotesDefinitions','2547153BmCOjF','mapper','setStyle','footnotesStart','5KqPGzG','config','name','_getDefaultListStyle','setFootnoteFormatter','getChildren','isNaN','fromCharCode','lower-latin','nodeAfter','element','requires','lower-alpha','FootnotesPropertiesEditing','get','modelCursor','consumable','max','isPremiumPlugin','schema','init','commands','viewItem','hasClass','attribute:footnotesListStart:footnotesDefinitions','6261200mvYOhb','removeAttribute','footnotesDefinitions','413082AqONyN','consume','parseInt','removeStyle','downcast','floor','checkAttribute','extend','_defineConverters','152782ZgKheJ','$text','plugins','isOfficialPlugin','getItems','decimal-leading-zero','for','setAttribute','footnotesStyle','_updateFootnotesCounters','25710058czEFlp','insert','24WIBezK','upper-roman','_defineFormatter','element:ol','add','footnotes.footnotesProperties.defaultStartIndex','hasAttribute','lower-roman','model','_getDefaultStartIndex','13lxzTYc','footnotes.footnotesProperties.defaultListStyle','document','_formatFootnoteListValue','upper-latin','10BDPrRe','toLowerCase','getChanges','_defineSchema','writer'];_0x4762=function(){return _0x507e99;};return _0x4762();}import{FootnotesTracker as _0xf9464b}from'../footnotestracker.js';import{FootnotesEditing as _0x540bd7}from'../footnotesediting.js';function _0x5d47(_0x150a10,_0x58edb8){const _0x476275=_0x4762();return _0x5d47=function(_0x5d474c,_0x44f974){_0x5d474c=_0x5d474c-0xdb;let _0xf031bf=_0x476275[_0x5d474c];return _0xf031bf;},_0x5d47(_0x150a10,_0x58edb8);}export class FootnotesPropertiesEditing extends _0x227d6e{static get[_0x18df81(0xf2)](){const _0x593fb6=_0x18df81;return _0x593fb6(0x10b);}static get[_0x18df81(0x109)](){return[_0x540bd7,_0xf9464b];}static get[_0x18df81(0x126)](){return!0x0;}static get[_0x18df81(0x110)](){return!0x0;}[_0x18df81(0x112)](){const _0x4bb46c=_0x18df81,{editor:_0x321e61}=this;_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x13a),_0x4bb46c(0xf1)),_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x134),0x1),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0x12b),new _0x38bd63(_0x321e61)),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0xfd),new _0x19782d(_0x321e61)),this[_0x4bb46c(0xdb)](),this[_0x4bb46c(0x122)](),this[_0x4bb46c(0x131)](),this[_0x4bb46c(0xf8)]();}[_0x18df81(0xdb)](){const _0x343942=_0x18df81,{editor:_0x471181}=this,{schema:_0x33dc3a}=_0x471181[_0x343942(0x137)];_0x33dc3a[_0x343942(0x121)](_0x343942(0x119),{'allowAttributes':[_0x343942(0xe1),_0x343942(0xec)]});}[_0x18df81(0x122)](){const _0x290fb2=_0x18df81,{editor:_0xf73074}=this,{conversion:_0x49af31,model:_0x29570e}=_0xf73074,{schema:_0x43265e}=_0x29570e;_0x49af31[_0x290fb2(0x129)](_0x290fb2(0xe8))[_0x290fb2(0x133)](_0x591c08=>{const _0x4139c6=_0x290fb2;_0x591c08['on'](_0x4139c6(0x132),(_0x3da851,_0x25eb1e,_0x3cb188)=>{const _0x159bc2=_0x4139c6,_0x10994e=_0x25eb1e[_0x159bc2(0x114)],_0x26966e=_0x25eb1e[_0x159bc2(0x10d)]?.[_0x159bc2(0xe3)];_0x10994e[_0x159bc2(0x115)](_0x159bc2(0xde))&&_0x26966e?.['is'](_0x159bc2(0x108),_0x159bc2(0x119))&&(function(_0x2ed0ca,_0x46e14e,_0x21b38b,_0x33e40d){const _0x248e5c=_0x159bc2;if(!_0x33e40d[_0x248e5c(0x120)](_0x46e14e,_0x248e5c(0xec)))return;let _0x599add=0x1;const _0x51377a=_0x21b38b[_0x248e5c(0x10e)][_0x248e5c(0x11b)](_0x2ed0ca,{'attributes':_0x248e5c(0xe6)});if(_0x51377a){const _0x307263=Number[_0x248e5c(0x11c)](_0x2ed0ca[_0x248e5c(0xe7)](_0x248e5c(0xe6)),0xa);Number[_0x248e5c(0x104)](_0x307263)||(_0x599add=_0x307263);}!_0x51377a&&_0x46e14e[_0x248e5c(0x135)](_0x248e5c(0xec))||_0x21b38b[_0x248e5c(0xdc)][_0x248e5c(0x12a)](_0x248e5c(0xec),_0x599add,_0x46e14e);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e),function(_0x50f27b,_0x51834b,_0x5e8f90,_0x5228e1){const _0x433018=_0x159bc2;if(!_0x5228e1[_0x433018(0x120)](_0x51834b,_0x433018(0xe1)))return;let _0x3990c6=_0x433018(0xf1),_0x10b640=!0x1;if(_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'attributes':_0x433018(0xf7)})){const _0x338f60={0x1:_0x433018(0xf1),'a':_0x433018(0x10a),'A':_0x433018(0xe9),'i':_0x433018(0x136),'I':_0x433018(0x130)}[_0x50f27b[_0x433018(0xe7)](_0x433018(0xf7))];_0x338f60&&(_0x3990c6=_0x338f60),_0x10b640=!0x0;}_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'styles':_0x433018(0xe5)})&&(_0x3990c6=_0x50f27b[_0x433018(0xf5)](_0x433018(0xe5)),_0x10b640=!0x0),!_0x10b640&&_0x51834b[_0x433018(0x135)](_0x433018(0xe1))||_0x5e8f90[_0x433018(0xdc)][_0x433018(0x12a)](_0x433018(0xe1),_0x3990c6,_0x51834b);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e));});}),_0x49af31[_0x290fb2(0x129)](_0x290fb2(0x11e))[_0x290fb2(0x133)](_0x3d1611=>{const _0x5a07ad=_0x290fb2;_0x3d1611['on'](_0x5a07ad(0x116),(_0x18e911,_0x8b34f2,_0x2e92a0)=>{const _0x397de5=_0x5a07ad;if(!_0x2e92a0[_0x397de5(0x10e)][_0x397de5(0x11b)](_0x8b34f2[_0x397de5(0xeb)],_0x18e911[_0x397de5(0x100)]))return;const _0x54827d=C(_0x8b34f2[_0x397de5(0xeb)],_0x2e92a0[_0x397de5(0xfb)]),{attributeNewValue:_0x4b82f7}=_0x8b34f2;null==_0x4b82f7||0x1===_0x4b82f7?_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x118)](_0x397de5(0xe6),_0x54827d):_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x12a)](_0x397de5(0xe6),String(_0x4b82f7),_0x54827d);}),_0x3d1611['on'](_0x5a07ad(0xf9),(_0x4e745e,_0x119dd7,_0x4a82a5)=>{const _0x5bbef9=_0x5a07ad;if(!_0x4a82a5[_0x5bbef9(0x10e)][_0x5bbef9(0x11b)](_0x119dd7[_0x5bbef9(0xeb)],_0x4e745e[_0x5bbef9(0x100)]))return;const _0x5d46af=C(_0x119dd7[_0x5bbef9(0xeb)],_0x4a82a5[_0x5bbef9(0xfb)]),{attributeNewValue:_0x4ee698}=_0x119dd7;_0x4ee698&&_0x5bbef9(0xf1)!==_0x4ee698?_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0xfc)](_0x5bbef9(0xe5),_0x4ee698,_0x5d46af):_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0x11d)](_0x5bbef9(0xe5),_0x5d46af);});});}[_0x18df81(0xf8)](){const _0x1f9ba0=_0x18df81,{editor:_0x3f65b6}=this,{model:_0x40fcac}=_0x3f65b6,_0x4bf136=_0x3f65b6[_0x1f9ba0(0x125)][_0x1f9ba0(0x10c)](_0xf9464b),_0x6e6585=this[_0x1f9ba0(0x101)](),_0x442231=this[_0x1f9ba0(0x138)]();_0x40fcac[_0x1f9ba0(0x13b)][_0x1f9ba0(0xea)](_0x4a8c58=>{const _0x82027a=_0x1f9ba0,_0x408d75=_0x40fcac[_0x82027a(0x13b)][_0x82027a(0xee)][_0x82027a(0x140)]();let _0x3c0a0c=!0x1;for(const _0x23c064 of _0x408d75){if(_0x82027a(0x12e)!==_0x23c064[_0x82027a(0xf7)]||_0x82027a(0x124)===_0x23c064[_0x82027a(0x100)])continue;const _0xa82976=_0x40fcac[_0x82027a(0xdf)](_0x23c064[_0x82027a(0xe4)][_0x82027a(0x107)]);for(const _0x313222 of _0xa82976[_0x82027a(0x127)]())_0x313222['is'](_0x82027a(0x108),_0x82027a(0x119))&&(!_0x313222[_0x82027a(0x135)](_0x82027a(0xec))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xec))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xec),_0x442231,_0x313222),_0x3c0a0c=!0x0),!_0x313222[_0x82027a(0x135)](_0x82027a(0xe1))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xe1))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xe1),_0x6e6585,_0x313222),_0x3c0a0c=!0x0));}return _0x3c0a0c&&_0x4bf136[_0x82027a(0x12c)](_0x4a8c58),_0x3c0a0c;});}[_0x18df81(0x131)](){const _0x5f2c88=_0x18df81,{editor:_0x1f3807}=this;_0x1f3807[_0x5f2c88(0x125)][_0x5f2c88(0x10c)](_0xf9464b)[_0x5f2c88(0x102)](_0x1435a7=>this[_0x5f2c88(0x13c)](_0x1435a7));}[_0x18df81(0x101)](){const _0xa39ed3=_0x18df81;return this[_0xa39ed3(0xf3)][_0xa39ed3(0xff)][_0xa39ed3(0x10c)](_0xa39ed3(0x13a));}[_0x18df81(0x138)](){const _0x4f27eb=_0x18df81;return this[_0x4f27eb(0xf3)][_0x4f27eb(0xff)][_0x4f27eb(0x10c)](_0x4f27eb(0x134));}[_0x18df81(0x13c)]({container:_0x180ca6,value:_0x34f45f,digits:_0x9be6b6}){const _0x7e93f2=_0x18df81,_0x1a6b81=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xe1)),_0x53b3b5=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xec)),_0x2555db=Math[_0x7e93f2(0x11f)](_0x34f45f)+(_0x53b3b5??0x1)-0x1;switch(_0x1a6b81){case _0x7e93f2(0x128):return function(_0x32dcb5,_0x4be427){const _0x116a97=_0x7e93f2;return String(_0x32dcb5)[_0x116a97(0xf4)](_0x4be427,'0');}(_0x2555db,Math[_0x7e93f2(0x10f)](0x2,_0x9be6b6));case _0x7e93f2(0x10a):case _0x7e93f2(0x106):return M(_0x2555db,!0x1);case _0x7e93f2(0xe9):case _0x7e93f2(0x13d):return M(_0x2555db,!0x0);case _0x7e93f2(0x136):return V(_0x2555db,!0x1);case _0x7e93f2(0x130):return V(_0x2555db,!0x0);default:return String(_0x2555db);}}}function C(_0x4ba710,_0x3b4bf3){const _0x46e38d=_0x18df81,_0x23b8e4=_0x3b4bf3[_0x46e38d(0xed)](_0x4ba710);return Array[_0x46e38d(0xdd)](_0x23b8e4[_0x46e38d(0x103)]())[_0x46e38d(0xf6)](_0x554973=>_0x554973['is'](_0x46e38d(0x108),'ol')&&_0x554973[_0x46e38d(0x115)](_0x46e38d(0xde)));}function M(_0x5630cd,_0x2c525f){const _0x42bc51=_0x18df81;let _0x400422='',_0x5ca8d8=_0x5630cd;for(;_0x5ca8d8>0x0;){const _0x4852ef=(_0x5ca8d8-0x1)%0x1a;_0x400422=String[_0x42bc51(0x105)](0x61+_0x4852ef)+_0x400422,_0x5ca8d8=Math[_0x42bc51(0x11f)]((_0x5ca8d8-0x1)/0x1a);}return _0x2c525f?_0x400422[_0x42bc51(0xe2)]():_0x400422;}const N=[{'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 V(_0x5db919,_0x1012e5){const _0x260217=_0x18df81;let _0xe5e268='',_0x1a5248=_0x5db919;for(const {value:_0x1a88e7,numeral:_0x39cb1b}of N)for(;_0x1a5248>=_0x1a88e7;)_0xe5e268+=_0x39cb1b,_0x1a5248-=_0x1a88e7;return _0x1012e5?_0xe5e268:_0xe5e268[_0x260217(0x13f)]();}
|
|
23
|
+
const _0x452d7e=_0x37a6;(function(_0xac65ba,_0x3a3889){const _0x5ba21e=_0x37a6,_0x4f015d=_0xac65ba();while(!![]){try{const _0x244c7e=parseInt(_0x5ba21e(0x17e))/0x1*(parseInt(_0x5ba21e(0x1ab))/0x2)+parseInt(_0x5ba21e(0x1a1))/0x3*(-parseInt(_0x5ba21e(0x1cd))/0x4)+-parseInt(_0x5ba21e(0x1d8))/0x5+parseInt(_0x5ba21e(0x17b))/0x6+-parseInt(_0x5ba21e(0x1ce))/0x7*(parseInt(_0x5ba21e(0x17d))/0x8)+-parseInt(_0x5ba21e(0x18f))/0x9+parseInt(_0x5ba21e(0x1cb))/0xa;if(_0x244c7e===_0x3a3889)break;else _0x4f015d['push'](_0x4f015d['shift']());}catch(_0x378efe){_0x4f015d['push'](_0x4f015d['shift']());}}}(_0x4e86,0xe0067));import{Plugin as _0x40d1bd}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x82b6a1}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x18900f}from'./commands/footnotesstartcommand.js';function _0x37a6(_0x524b50,_0x5c5f26){const _0x4e86ae=_0x4e86();return _0x37a6=function(_0x37a634,_0x552e2a){_0x37a634=_0x37a634-0x177;let _0x5b516c=_0x4e86ae[_0x37a634];return _0x5b516c;},_0x37a6(_0x524b50,_0x5c5f26);}import{FootnotesTracker as _0x4e67a0}from'../footnotestracker.js';import{FootnotesEditing as _0x59d6a9}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x40d1bd{static get[_0x452d7e(0x194)](){const _0x5d03aa=_0x452d7e;return _0x5d03aa(0x1b9);}static get[_0x452d7e(0x1a6)](){return[_0x59d6a9,_0x4e67a0];}static get[_0x452d7e(0x1da)](){return!0x0;}static get[_0x452d7e(0x1a5)](){return!0x0;}[_0x452d7e(0x1bb)](){const _0x16ec67=_0x452d7e,{editor:_0x7f7327}=this;_0x7f7327[_0x16ec67(0x17a)][_0x16ec67(0x1ba)](_0x16ec67(0x1c6),_0x16ec67(0x1d7)),_0x7f7327[_0x16ec67(0x17a)][_0x16ec67(0x1ba)](_0x16ec67(0x185),0x1),_0x7f7327[_0x16ec67(0x189)][_0x16ec67(0x182)](_0x16ec67(0x1d2),new _0x82b6a1(_0x7f7327)),_0x7f7327[_0x16ec67(0x189)][_0x16ec67(0x182)](_0x16ec67(0x1d1),new _0x18900f(_0x7f7327)),this[_0x16ec67(0x1d9)](),this[_0x16ec67(0x183)](),this[_0x16ec67(0x1be)](),this[_0x16ec67(0x1ad)]();}[_0x452d7e(0x1d9)](){const _0xf5b070=_0x452d7e,{editor:_0x224185}=this,{schema:_0x5d06a2}=_0x224185[_0xf5b070(0x1b3)];_0x5d06a2[_0xf5b070(0x1d0)](_0xf5b070(0x1bf),{'allowAttributes':[_0xf5b070(0x1bd),_0xf5b070(0x1a2)]});}[_0x452d7e(0x183)](){const _0x3c5369=_0x452d7e,{editor:_0x464639}=this,{conversion:_0x5b5e1c,model:_0x9ff372}=_0x464639,{schema:_0x202c4f}=_0x9ff372;_0x5b5e1c[_0x3c5369(0x1d4)](_0x3c5369(0x199))[_0x3c5369(0x182)](_0x18d6f8=>{const _0x5046b7=_0x3c5369;_0x18d6f8['on'](_0x5046b7(0x1b7),(_0x4c5cca,_0x4773e1,_0x275bc4)=>{const _0x5c2c96=_0x5046b7,_0x1e88ec=_0x4773e1[_0x5c2c96(0x1a7)],_0x380d1f=_0x4773e1[_0x5c2c96(0x19a)]?.[_0x5c2c96(0x1a3)];_0x1e88ec[_0x5c2c96(0x18e)](_0x5c2c96(0x1b5))&&_0x380d1f?.['is'](_0x5c2c96(0x195),_0x5c2c96(0x1bf))&&(function(_0x2f9649,_0x2465f5,_0x1d11f3,_0x388168){const _0x179f6d=_0x5c2c96;if(!_0x388168[_0x179f6d(0x180)](_0x2465f5,_0x179f6d(0x1a2)))return;let _0x4e8b47=0x1;const _0x4f0560=_0x1d11f3[_0x179f6d(0x1c5)][_0x179f6d(0x188)](_0x2f9649,{'attributes':_0x179f6d(0x1c9)});if(_0x4f0560){const _0xf716f1=Number[_0x179f6d(0x1bc)](_0x2f9649[_0x179f6d(0x178)](_0x179f6d(0x1c9)),0xa);Number[_0x179f6d(0x1c0)](_0xf716f1)||(_0x4e8b47=_0xf716f1);}!_0x4f0560&&_0x2465f5[_0x179f6d(0x1c3)](_0x179f6d(0x1a2))||_0x1d11f3[_0x179f6d(0x192)][_0x179f6d(0x1a4)](_0x179f6d(0x1a2),_0x4e8b47,_0x2465f5);}(_0x1e88ec,_0x380d1f,_0x275bc4,_0x202c4f),function(_0x500fc3,_0x62fdf4,_0x960048,_0x24cf1c){const _0x5e9a04=_0x5c2c96;if(!_0x24cf1c[_0x5e9a04(0x180)](_0x62fdf4,_0x5e9a04(0x1bd)))return;let _0x2dffdd=_0x5e9a04(0x1d7),_0x41a254=!0x1;if(_0x960048[_0x5e9a04(0x1c5)][_0x5e9a04(0x188)](_0x500fc3,{'attributes':_0x5e9a04(0x181)})){const _0x2c110d={0x1:_0x5e9a04(0x1d7),'a':_0x5e9a04(0x18d),'A':_0x5e9a04(0x184),'i':_0x5e9a04(0x1ca),'I':_0x5e9a04(0x1c2)}[_0x500fc3[_0x5e9a04(0x178)](_0x5e9a04(0x181))];_0x2c110d&&(_0x2dffdd=_0x2c110d),_0x41a254=!0x0;}_0x960048[_0x5e9a04(0x1c5)][_0x5e9a04(0x188)](_0x500fc3,{'styles':_0x5e9a04(0x18b)})&&(_0x2dffdd=_0x500fc3[_0x5e9a04(0x1d5)](_0x5e9a04(0x18b)),_0x41a254=!0x0),!_0x41a254&&_0x62fdf4[_0x5e9a04(0x1c3)](_0x5e9a04(0x1bd))||_0x960048[_0x5e9a04(0x192)][_0x5e9a04(0x1a4)](_0x5e9a04(0x1bd),_0x2dffdd,_0x62fdf4);}(_0x1e88ec,_0x380d1f,_0x275bc4,_0x202c4f));});}),_0x5b5e1c[_0x3c5369(0x1d4)](_0x3c5369(0x19f))[_0x3c5369(0x182)](_0x3ad31d=>{const _0x5b9cc1=_0x3c5369;_0x3ad31d['on'](_0x5b9cc1(0x19b),(_0x1e8d58,_0x186fd7,_0x4cc2ae)=>{const _0x203081=_0x5b9cc1;if(!_0x4cc2ae[_0x203081(0x1c5)][_0x203081(0x188)](_0x186fd7[_0x203081(0x190)],_0x1e8d58[_0x203081(0x1c1)]))return;const _0xed8150=C(_0x186fd7[_0x203081(0x190)],_0x4cc2ae[_0x203081(0x193)]),{attributeNewValue:_0x29b2ce}=_0x186fd7;null==_0x29b2ce||0x1===_0x29b2ce?_0x4cc2ae[_0x203081(0x192)][_0x203081(0x17c)](_0x203081(0x1c9),_0xed8150):_0x4cc2ae[_0x203081(0x192)][_0x203081(0x1a4)](_0x203081(0x1c9),String(_0x29b2ce),_0xed8150);}),_0x3ad31d['on'](_0x5b9cc1(0x1a9),(_0x55264e,_0x59d504,_0x3739ed)=>{const _0xa05c02=_0x5b9cc1;if(!_0x3739ed[_0xa05c02(0x1c5)][_0xa05c02(0x188)](_0x59d504[_0xa05c02(0x190)],_0x55264e[_0xa05c02(0x1c1)]))return;const _0x1f941f=C(_0x59d504[_0xa05c02(0x190)],_0x3739ed[_0xa05c02(0x193)]),{attributeNewValue:_0x28ff98}=_0x59d504;_0x28ff98&&_0xa05c02(0x1d7)!==_0x28ff98?_0x3739ed[_0xa05c02(0x192)][_0xa05c02(0x18c)](_0xa05c02(0x18b),_0x28ff98,_0x1f941f):_0x3739ed[_0xa05c02(0x192)][_0xa05c02(0x187)](_0xa05c02(0x18b),_0x1f941f);});});}[_0x452d7e(0x1ad)](){const _0x21f3ef=_0x452d7e,{editor:_0x3e52dc}=this,{model:_0x48b7b3}=_0x3e52dc,_0x2b6657=_0x3e52dc[_0x21f3ef(0x1a8)][_0x21f3ef(0x1c8)](_0x4e67a0),_0x5a2ac6=this[_0x21f3ef(0x1b4)](),_0x5563a2=this[_0x21f3ef(0x1b1)]();_0x48b7b3[_0x21f3ef(0x1d3)][_0x21f3ef(0x1b6)](_0x5eed7f=>{const _0xc1aafe=_0x21f3ef,_0x191a37=_0x48b7b3[_0xc1aafe(0x1d3)][_0xc1aafe(0x19e)][_0xc1aafe(0x186)]();let _0x3e1033=!0x1;for(const _0x548aa5 of _0x191a37){if(_0xc1aafe(0x1af)!==_0x548aa5[_0xc1aafe(0x181)]||_0xc1aafe(0x1c4)===_0x548aa5[_0xc1aafe(0x1c1)])continue;const _0x1bde04=_0x48b7b3[_0xc1aafe(0x179)](_0x548aa5[_0xc1aafe(0x177)][_0xc1aafe(0x1b0)]);for(const _0x1ccc9a of _0x1bde04[_0xc1aafe(0x1b8)]())_0x1ccc9a['is'](_0xc1aafe(0x195),_0xc1aafe(0x1bf))&&(!_0x1ccc9a[_0xc1aafe(0x1c3)](_0xc1aafe(0x1a2))&&_0x48b7b3[_0xc1aafe(0x1aa)][_0xc1aafe(0x180)](_0x1ccc9a,_0xc1aafe(0x1a2))&&(_0x5eed7f[_0xc1aafe(0x1a4)](_0xc1aafe(0x1a2),_0x5563a2,_0x1ccc9a),_0x3e1033=!0x0),!_0x1ccc9a[_0xc1aafe(0x1c3)](_0xc1aafe(0x1bd))&&_0x48b7b3[_0xc1aafe(0x1aa)][_0xc1aafe(0x180)](_0x1ccc9a,_0xc1aafe(0x1bd))&&(_0x5eed7f[_0xc1aafe(0x1a4)](_0xc1aafe(0x1bd),_0x5a2ac6,_0x1ccc9a),_0x3e1033=!0x0));}return _0x3e1033&&_0x2b6657[_0xc1aafe(0x1c7)](_0x5eed7f),_0x3e1033;});}[_0x452d7e(0x1be)](){const _0xb1bc24=_0x452d7e,{editor:_0x2659a3}=this;_0x2659a3[_0xb1bc24(0x1a8)][_0xb1bc24(0x1c8)](_0x4e67a0)[_0xb1bc24(0x19c)](_0x13bfde=>this[_0xb1bc24(0x1b2)](_0x13bfde));}[_0x452d7e(0x1b4)](){const _0x4dca6c=_0x452d7e;return this[_0x4dca6c(0x19d)][_0x4dca6c(0x17a)][_0x4dca6c(0x1c8)](_0x4dca6c(0x1c6));}[_0x452d7e(0x1b1)](){const _0x4b6483=_0x452d7e;return this[_0x4b6483(0x19d)][_0x4b6483(0x17a)][_0x4b6483(0x1c8)](_0x4b6483(0x185));}[_0x452d7e(0x1b2)]({container:_0x587870,value:_0x3cf08f,digits:_0x2871fa}){const _0x186164=_0x452d7e,_0x406ee9=_0x587870[_0x186164(0x178)](_0x186164(0x1bd)),_0x3a9bb7=_0x587870[_0x186164(0x178)](_0x186164(0x1a2)),_0x3409c2=Math[_0x186164(0x17f)](_0x3cf08f)+(_0x3a9bb7??0x1)-0x1;switch(_0x406ee9){case _0x186164(0x1a0):return function(_0x59fd11,_0x8930d3){const _0x187ced=_0x186164;return String(_0x59fd11)[_0x187ced(0x1cc)](_0x8930d3,'0');}(_0x3409c2,Math[_0x186164(0x1ae)](0x2,_0x2871fa));case _0x186164(0x18d):case _0x186164(0x191):return M(_0x3409c2,!0x1);case _0x186164(0x184):case _0x186164(0x1cf):return M(_0x3409c2,!0x0);case _0x186164(0x1ca):return V(_0x3409c2,!0x1);case _0x186164(0x1c2):return V(_0x3409c2,!0x0);default:return String(_0x3409c2);}}}function C(_0x3d5a58,_0x2d0e62){const _0xa07fdf=_0x452d7e,_0x40440b=_0x2d0e62[_0xa07fdf(0x198)](_0x3d5a58);return Array[_0xa07fdf(0x196)](_0x40440b[_0xa07fdf(0x1ac)]())[_0xa07fdf(0x1d6)](_0x210a85=>_0x210a85['is'](_0xa07fdf(0x195),'ol')&&_0x210a85[_0xa07fdf(0x18e)](_0xa07fdf(0x1b5)));}function _0x4e86(){const _0xbeb524=['FootnotesPropertiesEditing','define','init','parseInt','footnotesListStyle','_defineFormatter','footnotesDefinitions','isNaN','name','upper-roman','hasAttribute','$text','consumable','footnotes.footnotesProperties.defaultListStyle','_updateFootnotesCounters','get','start','lower-roman','20755010HJmTqC','padStart','732cEGypo','63LhVMsA','upper-latin','extend','footnotesStart','footnotesStyle','document','for','getStyle','find','decimal','4107800zTRBpk','_defineSchema','isOfficialPlugin','toUpperCase','position','getAttribute','createRangeOn','config','10949658qyxAVI','removeAttribute','862232uhDnrr','18887OrtPVo','floor','checkAttribute','type','add','_defineConverters','upper-alpha','footnotes.footnotesProperties.defaultStartIndex','getChanges','removeStyle','consume','commands','fromCharCode','list-style-type','setStyle','lower-alpha','hasClass','13783275jRaxkF','item','lower-latin','writer','mapper','pluginName','element','from','toLowerCase','toViewElement','upcast','modelCursor','attribute:footnotesListStart:footnotesDefinitions','setFootnoteFormatter','editor','differ','downcast','decimal-leading-zero','21360jRbUyg','footnotesListStart','parent','setAttribute','isPremiumPlugin','requires','viewItem','plugins','attribute:footnotesListStyle:footnotesDefinitions','schema','174nwLBnT','getChildren','_definePostfixer','max','insert','nodeAfter','_getDefaultStartIndex','_formatFootnoteListValue','model','_getDefaultListStyle','footnotes-list','registerPostFixer','element:ol','getItems'];_0x4e86=function(){return _0xbeb524;};return _0x4e86();}function M(_0x32b7fe,_0x4a7ca4){const _0x5de371=_0x452d7e;let _0x970b2a='',_0x9fad9c=_0x32b7fe;for(;_0x9fad9c>0x0;){const _0x378d23=(_0x9fad9c-0x1)%0x1a;_0x970b2a=String[_0x5de371(0x18a)](0x61+_0x378d23)+_0x970b2a,_0x9fad9c=Math[_0x5de371(0x17f)]((_0x9fad9c-0x1)/0x1a);}return _0x4a7ca4?_0x970b2a[_0x5de371(0x1db)]():_0x970b2a;}const N=[{'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 V(_0x24b554,_0x221628){const _0x44ed99=_0x452d7e;let _0x4d2759='',_0x66c83c=_0x24b554;for(const {value:_0x1a1701,numeral:_0x1952b5}of N)for(;_0x66c83c>=_0x1a1701;)_0x4d2759+=_0x1952b5,_0x66c83c-=_0x1a1701;return _0x221628?_0x4d2759:_0x4d2759[_0x44ed99(0x197)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x434187,ButtonView as _0x48f674,ContextualBalloon as _0x5184b8,createDropdown as _0x2f6df2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2f3017}from'ckeditor5/src/widget.js';import{Plugin as _0xbb4325}from'ckeditor5/src/core.js';import{IconFootnote as _0x18c48f,IconListStyleDecimal as _0x1dc34f,IconListStyleDecimalLeadingZero as _0x50ccfd,IconListStyleLowerLatin as _0x18be42,IconListStyleLowerRoman as _0x67939f,IconListStyleUpperLatin as _0x27a9ef,IconListStyleUpperRoman as _0x3fd652}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x257700}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x13b2b0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xbb4325{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5184b8,_0x2f3017];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5aae92}=this,{componentFactory:_0xd94161}=_0x5aae92['ui'];_0x5aae92['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xd94161['add']('footnotesStyle',function(_0x4ef039){return _0x2cfb63=>{const {t:t}=_0x2cfb63,_0x4cb28d=_0x4ef039['commands']['get']('footnotesStyle'),_0x41951d=_0x2f6df2(_0x2cfb63),{buttonView:_0x293f22}=_0x41951d;return _0x41951d['class']='ck-footnotes-styles-dropdown',_0x41951d['bind']('isEnabled')['to'](_0x4cb28d,'isEnabled'),_0x293f22['set']({'label':t('Footnotes\x20style'),'icon':_0x18c48f,'tooltip':!0x0}),_0x41951d['once']('change:isOpen',()=>{const _0x15118c=function({editor:_0x1b520c,dropdownView:_0x1b2193}){const {t:t}=_0x1b520c['locale'],_0x5ef2ee=t('Footnotes\x20definitions\x20styles'),_0x2d3f11=function(_0x34746e){const t=_0x34746e['locale']['t'],_0x14e1ec=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1dc34f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x50ccfd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x67939f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3fd652},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x18be42},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x27a9ef}];return _0x14e1ec['map'](function(_0x2e32ea){const _0x3d77cc=_0x2e32ea['locale'];return({label:_0x8dd6d8,icon:_0x3e9329,tooltip:_0x3f1f66,style:_0x5317a6})=>{const _0xdcf642=_0x2e32ea['commands']['get']('footnotesStyle'),_0x19ee1a=new _0x48f674(_0x3d77cc);return _0x19ee1a['set']({'label':_0x8dd6d8,'icon':_0x3e9329,'tooltip':_0x3f1f66}),_0x19ee1a['bind']('isOn')['to'](_0xdcf642,'value',_0x40dbe3=>_0x40dbe3===_0x5317a6),_0x19ee1a['bind']('isEnabled')['to'](_0xdcf642,'isEnabled'),_0x19ee1a['on']('execute',()=>{_0x2e32ea['execute']('footnotesStyle',{'value':_0x5317a6}),_0x2e32ea['editing']['view']['focus']();}),_0x19ee1a;};}(_0x34746e));}(_0x1b520c),_0x54ae0e=new _0x257700(_0x1b520c['locale'],{'styleGridAriaLabel':_0x5ef2ee,'styleButtonViews':_0x2d3f11});return _0x54ae0e['delegate']('execute')['to'](_0x1b2193),_0x54ae0e['on']('footnotesListStart',(_0x208269,_0x4dfb57)=>{_0x1b520c['execute']('footnotesStart',{'value':_0x4dfb57['startIndex']});}),_0x54ae0e;}({'editor':_0x4ef039,'dropdownView':_0x41951d});_0x41951d['panelView']['children']['add'](_0x15118c);}),_0x41951d;};}(_0x5aae92));}['afterInit'](){const {editor:_0x32ca89}=this,{t:t}=_0x32ca89['locale'],_0x5329a8=_0x32ca89['plugins']['get'](_0x2f3017),{defaultPositions:_0x4c4ef1}=_0x434187;_0x5329a8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x32ca89['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x336301=>{let _0xf5eab8=_0x336301['getFirstPosition']()?.['parent'];return _0xf5eab8?.['is']('$text')&&(_0xf5eab8=_0xf5eab8['parent']),_0xf5eab8?.['is']('element')?_0xf5eab8['findAncestor'](_0x13b2b0):null;},'positions':[_0x4c4ef1['southArrowNorth'],_0x4c4ef1['southArrowNorthMiddleWest'],_0x4c4ef1['southArrowNorthMiddleEast'],_0x4c4ef1['southArrowNorthWest'],_0x4c4ef1['southArrowNorthEast'],_0x4c4ef1['northArrowSouth'],_0x4c4ef1['northArrowSouthMiddleWest'],_0x4c4ef1['northArrowSouthMiddleEast'],_0x4c4ef1['northArrowSouthWest'],_0x4c4ef1['northArrowSouthEast'],_0x4c4ef1['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x250263,View as _0x593653,ViewCollection as _0x54c822,FocusCycler as _0x1524b3,addKeyboardHandlingForGrid as _0x1fe1a2,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x593653{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x54c822();['focusCycler'];constructor(_0x373822,{styleButtonViews:_0x4acdc7,styleGridAriaLabel:_0x3e34a8}){super(_0x373822),(this['focusCycler']=new _0x1524b3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4acdc7,_0x3e34a8),[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 _0x4c3792 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4c3792['element']);_0x1fe1a2({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x2538bb=_0x467403=>_0x467403['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2538bb),this['keystrokes']['set']('arrowleft',_0x2538bb),this['keystrokes']['set']('arrowup',_0x2538bb),this['keystrokes']['set']('arrowdown',_0x2538bb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5eb542,_0x18b288){const _0x1b3486=new _0x593653(this['locale']);return _0x1b3486['children']=_0x1b3486['createCollection'](),_0x1b3486['children']['addMany'](_0x5eb542),_0x1b3486['setTemplate']({'tag':'div','attributes':{'aria-label':_0x18b288,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1b3486['children']}),_0x1b3486['children']['delegate']('execute')['to'](this),_0x1b3486['focus']=function(){for(const _0x3115d2 of this['children'])if(_0x3115d2 instanceof _0x250263&&_0x3115d2['isOn'])return void _0x3115d2['focus']();this['children']['first']['focus']();},_0x1b3486['focusTracker']=new et(),_0x1b3486['keystrokes']=new ot(),_0x1b3486['render'](),_0x1b3486['keystrokes']['listenTo'](_0x1b3486['element']),this['children']['add'](_0x1b3486),_0x1b3486;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x518a7f=this['_createStartIndexPropertyView'](),_0x45fb05=[_0x518a7f],_0x4e0aeb=new tt(this['locale'],_0x45fb05);return _0x4e0aeb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x4e0aeb['buttonView']['bind']('isEnabled')['toMany'](_0x45fb05,'isEnabled',(..._0x4d75ba)=>_0x4d75ba['some'](_0x476d4d=>_0x476d4d)),_0x4e0aeb['buttonView']['on']('change:isEnabled',(_0x421ed8,_0xa8b4c4,_0x47e506)=>{_0x47e506||(_0x4e0aeb['isCollapsed']=!0x0);}),this['children']['add'](_0x4e0aeb),[_0x518a7f,_0x4e0aeb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5a51f8=new st(this['locale'],it);return _0x5a51f8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5a51f8['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a51f8['fieldView']['on']('input',()=>{const _0x4c2ae0=_0x5a51f8['fieldView']['element'],_0x31e89d=_0x4c2ae0['valueAsNumber'];Number['isNaN'](_0x31e89d)?_0x5a51f8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4c2ae0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31e89d}):_0x5a51f8['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x5a51f8;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
function _0x520c(){var _0x57b0c2=['FootnotesProperties','49866McSufx','50859MLZpup','252175yGMEGA','isOfficialPlugin','pluginName','5043CzcrUD','92059XfZaCb','548OhdwaT','30280ouDPoq','isPremiumPlugin','296QZbsAX','3099440oGjuvR','requires','245HbetjW','4AajMFc'];_0x520c=function(){return _0x57b0c2;};return _0x520c();}var _0x4d0ab0=_0x6267;(function(_0x4f5215,_0x5eb00c){var _0x43bb24=_0x6267,_0x1c919f=_0x4f5215();while(!![]){try{var _0x544c24=parseInt(_0x43bb24(0xe9))/0x1*(parseInt(_0x43bb24(0xe1))/0x2)+-parseInt(_0x43bb24(0xe8))/0x3*(-parseInt(_0x43bb24(0xea))/0x4)+parseInt(_0x43bb24(0xeb))/0x5+-parseInt(_0x43bb24(0xe3))/0x6*(parseInt(_0x43bb24(0xf0))/0x7)+-parseInt(_0x43bb24(0xed))/0x8*(parseInt(_0x43bb24(0xe4))/0x9)+parseInt(_0x43bb24(0xee))/0xa+-parseInt(_0x43bb24(0xe5))/0xb;if(_0x544c24===_0x5eb00c)break;else _0x1c919f['push'](_0x1c919f['shift']());}catch(_0x139bba){_0x1c919f['push'](_0x1c919f['shift']());}}}(_0x520c,0x32a9e));function _0x6267(_0x3a19a1,_0x1fe849){var _0x520c74=_0x520c();return _0x6267=function(_0x626720,_0xbb6b57){_0x626720=_0x626720-0xe1;var _0x5a517a=_0x520c74[_0x626720];return _0x5a517a;},_0x6267(_0x3a19a1,_0x1fe849);}import{Plugin as _0xb136da}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x47bd4a}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3ea8e5}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xb136da{static get[_0x4d0ab0(0xe7)](){var _0x5531b6=_0x4d0ab0;return _0x5531b6(0xe2);}static get[_0x4d0ab0(0xef)](){return[_0x47bd4a,_0x3ea8e5];}static get[_0x4d0ab0(0xe6)](){return!0x0;}static get[_0x4d0ab0(0xec)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x5964fb=_0x3505;(function(_0x253648,_0x18f012){const _0xfe82d6=_0x3505,_0x159ab6=_0x253648();while(!![]){try{const _0x24c67e=-parseInt(_0xfe82d6(0x1e9))/0x1+-parseInt(_0xfe82d6(0x1c7))/0x2*(parseInt(_0xfe82d6(0x206))/0x3)+parseInt(_0xfe82d6(0x226))/0x4+-parseInt(_0xfe82d6(0x222))/0x5+-parseInt(_0xfe82d6(0x204))/0x6*(parseInt(_0xfe82d6(0x20b))/0x7)+-parseInt(_0xfe82d6(0x203))/0x8+parseInt(_0xfe82d6(0x1cc))/0x9;if(_0x24c67e===_0x18f012)break;else _0x159ab6['push'](_0x159ab6['shift']());}catch(_0x5b539b){_0x159ab6['push'](_0x159ab6['shift']());}}}(_0x225d,0x85b68));import{Plugin as _0x104998}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5e41b7}from'./modelelementtracker.js';export class FootnotesTracker extends _0x104998{[_0x5964fb(0x1d8)]=[];[_0x5964fb(0x1c5)]=null;[_0x5964fb(0x1ea)]=null;[_0x5964fb(0x207)];[_0x5964fb(0x1cf)];[_0x5964fb(0x1dc)];static get[_0x5964fb(0x1e0)](){const _0x263410=_0x5964fb;return _0x263410(0x1d0);}static get[_0x5964fb(0x1de)](){return!0x0;}static get[_0x5964fb(0x21f)](){return!0x0;}constructor(_0x1ea0d4){const _0x4c5c49=_0x5964fb;super(_0x1ea0d4),this[_0x4c5c49(0x207)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x211),'getElementKey':()=>_0x4c5c49(0x227)}),this[_0x4c5c49(0x1cf)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x201),'getElementKey':_0x563fd9=>_0x563fd9[_0x4c5c49(0x215)](_0x4c5c49(0x213))}),this[_0x4c5c49(0x1dc)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x1f0),'getElementKey':_0x30dded=>_0x30dded[_0x4c5c49(0x215)](_0x4c5c49(0x213))});}[_0x5964fb(0x1d2)](){const _0x53d016=_0x5964fb,{editor:_0xa1b42}=this,{model:_0x3eb93d,data:_0x4eff7d}=_0xa1b42;_0x3eb93d[_0x53d016(0x1fb)][_0x53d016(0x1c8)](_0x1a39dd=>{const _0x3f3b86=_0x53d016,_0xbd1527=_0x3eb93d[_0x3f3b86(0x1fb)][_0x3f3b86(0x220)][_0x3f3b86(0x20e)]();let _0x7d59c1=!0x1;return this[_0x3f3b86(0x1cb)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f3)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x210)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1c4)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1e8)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f6)](_0x1a39dd)&&(_0x7d59c1=!0x0),_0x7d59c1;}),this[_0x53d016(0x21d)](_0x3eb93d[_0x53d016(0x1fb)],_0x53d016(0x209),()=>{const _0x445f05=_0x53d016;_0x3eb93d[_0x445f05(0x1fc)]({'isUndoable':!0x1},_0x202f6f=>{const _0x3e197c=_0x445f05;this[_0x3e197c(0x1f2)](_0x202f6f);});},{'priority':_0x53d016(0x216)}),this[_0x53d016(0x21d)](_0x4eff7d,_0x53d016(0x1ca),()=>{const _0xbaa89e=_0x53d016;this[_0xbaa89e(0x1d8)]=[],this[_0xbaa89e(0x207)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1cf)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1dc)][_0xbaa89e(0x225)]();},{'priority':_0x53d016(0x20d)});}[_0x5964fb(0x1ee)](){const _0x288d9e=_0x5964fb;return this[_0x288d9e(0x1c5)];}[_0x5964fb(0x1d9)](_0x2bce0f){const _0x241a18=_0x5964fb;return this[_0x241a18(0x1d8)][_0x241a18(0x1e6)](_0x5bfe51=>_0x5bfe51['id']===_0x2bce0f)||null;}[_0x5964fb(0x1fa)](){const _0x310d30=_0x5964fb;return Array[_0x310d30(0x1e5)](this[_0x310d30(0x1d8)]);}[_0x5964fb(0x200)](){const _0x40100e=_0x5964fb;return this[_0x40100e(0x1ea)];}[_0x5964fb(0x1cd)](_0x1f392e){const _0x40649c=_0x5964fb;this[_0x40649c(0x1ea)]=_0x1f392e;}[_0x5964fb(0x1f5)](_0x331c9d,_0x127d58=0x0){const _0x566d0a=_0x5964fb;let _0x5723e1=!0x1;for(let _0x3f3dfa=_0x127d58;_0x3f3dfa<this[_0x566d0a(0x1d8)][_0x566d0a(0x1db)];_0x3f3dfa++)this[_0x566d0a(0x20a)](_0x331c9d,_0x3f3dfa)&&(_0x5723e1=!0x0);return _0x5723e1;}[_0x5964fb(0x1ef)](_0x28f0f2,_0x141e4d){const _0x595517=_0x5964fb,_0x5788aa=_0x28f0f2[_0x595517(0x1eb)](_0x595517(0x211),{});return _0x28f0f2[_0x595517(0x1ed)](_0x5788aa,_0x141e4d),this[_0x595517(0x1c5)]=_0x5788aa,_0x5788aa;}[_0x5964fb(0x1f2)](_0x3a6598){const _0x391c64=_0x5964fb;if(!this[_0x391c64(0x1d8)][_0x391c64(0x1db)]||this[_0x391c64(0x1c5)])return;const _0x4b8b97=this[_0x391c64(0x1d8)][0x0][_0x391c64(0x1d7)][_0x391c64(0x1f8)],_0x3cf401=this[_0x391c64(0x1ef)](_0x3a6598,_0x4b8b97);for(const _0x44be4b of this[_0x391c64(0x1d8)])_0x44be4b[_0x391c64(0x224)][_0x391c64(0x20c)]||_0x3a6598[_0x391c64(0x1dd)](_0x44be4b[_0x391c64(0x224)],_0x3cf401,_0x391c64(0x214));this[_0x391c64(0x1f5)](_0x3a6598);}[_0x5964fb(0x1cb)](_0x49a919,_0x22df7e){const _0x9742d=_0x5964fb;let _0x2c3b2c=!0x1;const {inserted:_0x1a90bc,removed:_0x46bd3f,moved:_0x103be2}=this[_0x9742d(0x207)][_0x9742d(0x20e)](_0x22df7e);if(_0x103be2[_0x9742d(0x1db)]&&(this[_0x9742d(0x1c5)]=_0x103be2[0x0]),_0x1a90bc[_0x9742d(0x1db)]){if(_0x1a90bc[_0x9742d(0x1db)]>0x1||this[_0x9742d(0x1c5)]&&_0x1a90bc[_0x9742d(0x1e1)](_0x48b104=>_0x48b104!==this[_0x9742d(0x1c5)])){const _0x1f52dc=_0x49a919[_0x9742d(0x1eb)](_0x9742d(0x211),{}),_0x42e7dc=[];this[_0x9742d(0x1c5)]&&_0x42e7dc[_0x9742d(0x21b)](this[_0x9742d(0x1c5)]),_0x42e7dc[_0x9742d(0x21b)](..._0x1a90bc),_0x49a919[_0x9742d(0x1dd)](_0x1f52dc,_0x42e7dc[0x0],_0x9742d(0x218));for(const _0x316095 of _0x42e7dc)_0x49a919[_0x9742d(0x208)](_0x49a919[_0x9742d(0x1e7)](_0x316095),_0x49a919[_0x9742d(0x1d3)](_0x1f52dc,_0x9742d(0x214))),_0x49a919[_0x9742d(0x1d5)](_0x316095);this[_0x9742d(0x1c5)]=_0x1f52dc,this[_0x9742d(0x1f5)](_0x49a919),_0x2c3b2c=!0x0;}else this[_0x9742d(0x1c5)]=_0x1a90bc[0x0];}if(_0x46bd3f[_0x9742d(0x1db)]&&_0x9742d(0x217)===this[_0x9742d(0x1c5)]?.[_0x9742d(0x1f8)][_0x9742d(0x1f1)]){for(const _0x4e442c of this[_0x9742d(0x1d8)])_0x49a919[_0x9742d(0x1d5)](_0x4e442c[_0x9742d(0x1d7)]),_0x2c3b2c=!0x0;this[_0x9742d(0x1d8)]=[],this[_0x9742d(0x1c5)]=null;}return _0x2c3b2c;}[_0x5964fb(0x1f3)](_0x355cc4,_0x3faeeb){const _0x3ffc5a=_0x5964fb;let _0x17afba=!0x1;const _0x2f2496=this[_0x3ffc5a(0x1f7)][_0x3ffc5a(0x1da)][_0x3ffc5a(0x1d4)](_0x3ffc5a(0x205)),{inserted:_0x14017c,moved:_0x198876}=this[_0x3ffc5a(0x1dc)][_0x3ffc5a(0x20e)](_0x3faeeb);for(const _0x164c47 of[..._0x198876,..._0x14017c]){const _0x3b0377=_0x164c47[_0x3ffc5a(0x215)](_0x3ffc5a(0x213)),_0xcd4a44=this[_0x3ffc5a(0x1d9)](_0x3b0377);_0xcd4a44&&(_0xcd4a44[_0x3ffc5a(0x224)]=_0x164c47),_(_0x355cc4,_0x2f2496,_0x164c47)&&(_0x17afba=!0x0);}return _0x17afba;}[_0x5964fb(0x210)](_0x2870a5,_0x291f4f){const _0x386f4a=_0x5964fb;let _0x15b975=!0x1;const {removed:_0x2b0121,inserted:_0x55f72d,moved:_0x5f88e9}=this[_0x386f4a(0x1cf)][_0x386f4a(0x20e)](_0x291f4f);for(const _0x4fa236 of _0x2b0121)this[_0x386f4a(0x1e2)](_0x2870a5,_0x4fa236)&&(_0x15b975=!0x0);for(const _0x4db458 of _0x55f72d)this[_0x386f4a(0x1ce)](_0x2870a5,_0x4db458)&&(_0x15b975=!0x0);for(const _0x5b2c27 of _0x5f88e9)this[_0x386f4a(0x21a)](_0x2870a5,_0x5b2c27)&&(_0x15b975=!0x0);return _0x15b975;}[_0x5964fb(0x1e8)](_0x1efd1e){const _0x3a9883=_0x5964fb;if(!this[_0x3a9883(0x1c5)])return!0x1;let _0x133b6d=!0x1;if(this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]!==this[_0x3a9883(0x1d8)][_0x3a9883(0x1db)]){const _0x5644f0=[];for(const _0x25112d of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0xb3105a=_0x25112d[_0x3a9883(0x215)](_0x3a9883(0x213));this[_0x3a9883(0x1d9)](_0xb3105a)||(_0x5644f0[_0x3a9883(0x1f9)](_0x25112d),_0x133b6d=!0x0);}for(const _0x460fad of _0x5644f0)_0x1efd1e[_0x3a9883(0x1d5)](_0x460fad);}const _0x2877a0=new Set(),_0x35d61a=[];for(const _0x42172b of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0x40f44b=_0x42172b[_0x3a9883(0x215)](_0x3a9883(0x213));_0x2877a0[_0x3a9883(0x21c)](_0x40f44b)?(_0x35d61a[_0x3a9883(0x1f9)](_0x42172b),_0x133b6d=!0x0):_0x2877a0[_0x3a9883(0x20f)](_0x40f44b);}for(const _0xa48948 of _0x35d61a)_0x1efd1e[_0x3a9883(0x1d5)](_0xa48948);return this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]||(_0x1efd1e[_0x3a9883(0x1d5)](this[_0x3a9883(0x1c5)]),this[_0x3a9883(0x1c5)]=null,_0x133b6d=!0x0),_0x133b6d;}[_0x5964fb(0x1ce)](_0x383fd5,_0x4e9158){const _0xc1ff7b=_0x5964fb;if(this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1e6)](_0x16013d=>_0x16013d[_0xc1ff7b(0x1d7)]===_0x4e9158))return!0x1;let _0x46c0eb=!0x1;const _0xb36a10=_0x4e9158[_0xc1ff7b(0x215)](_0xc1ff7b(0x213)),_0x1dfccd=this[_0xc1ff7b(0x1d9)](_0xb36a10);_0x1dfccd&&(_0x383fd5[_0xc1ff7b(0x1d5)](_0x1dfccd[_0xc1ff7b(0x1d7)]),this[_0xc1ff7b(0x1d8)]=this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1d6)](_0x4ad4dd=>_0x4ad4dd['id']!==_0xb36a10),_0x46c0eb=!0x0);let _0x3097ff=this[_0xc1ff7b(0x1c5)]?function(_0x3d6e71,_0x305d28){const _0x2179aa=_0xc1ff7b;for(const _0x1467f6 of _0x3d6e71[_0x2179aa(0x219)]())if(_0x1467f6[_0x2179aa(0x215)](_0x2179aa(0x213))===_0x305d28)return _0x1467f6;return null;}(this[_0xc1ff7b(0x1c5)],_0xb36a10):null;_0x3097ff||(_0x3097ff=_0x383fd5[_0xc1ff7b(0x1eb)](_0xc1ff7b(0x1f0),{'footnoteId':_0xb36a10}),this[_0xc1ff7b(0x1c5)]&&(_0x383fd5[_0xc1ff7b(0x1dd)](_0x3097ff,this[_0xc1ff7b(0x1c5)],_0xc1ff7b(0x214)),_0x46c0eb=!0x0));const _0x9cc9c={'id':_0xb36a10,'reference':_0x4e9158,'definition':_0x3097ff},_0x3b64c5=I(this[_0xc1ff7b(0x1f7)][_0xc1ff7b(0x221)],this[_0xc1ff7b(0x1d8)],_0x4e9158);return this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1ec)](_0x3b64c5,0x0,_0x9cc9c),this[_0xc1ff7b(0x1f5)](_0x383fd5,_0x3b64c5)&&(_0x46c0eb=!0x0),_0x46c0eb;}[_0x5964fb(0x1e2)](_0x5e7f72,_0x86b764){const _0x52a8ad=_0x5964fb,_0x47114a=this[_0x52a8ad(0x1d8)][_0x52a8ad(0x212)](_0x47d9df=>_0x47d9df['id']===_0x86b764);if(-0x1===_0x47114a)return!0x1;let _0x6ac6a2=!0x1;const _0xb2245d=this[_0x52a8ad(0x1d8)][_0x47114a];return _0x52a8ad(0x217)!==_0xb2245d[_0x52a8ad(0x224)][_0x52a8ad(0x1f8)][_0x52a8ad(0x1f1)]&&(_0x5e7f72[_0x52a8ad(0x1d5)](_0xb2245d[_0x52a8ad(0x224)]),_0x6ac6a2=!0x0),this[_0x52a8ad(0x1d8)][_0x52a8ad(0x1ec)](_0x47114a,0x1),this[_0x52a8ad(0x1f5)](_0x5e7f72,_0x47114a)&&(_0x6ac6a2=!0x0),_0x6ac6a2;}[_0x5964fb(0x21a)](_0x717b96,_0x3dafab){const _0x58a61a=_0x5964fb,_0x913b35=_0x3dafab[_0x58a61a(0x215)](_0x58a61a(0x213)),_0x546ca8=this[_0x58a61a(0x1d8)][_0x58a61a(0x212)](_0x2f31c5=>_0x2f31c5['id']===_0x913b35),_0xa31d82=this[_0x58a61a(0x1d8)][_0x546ca8];let _0x1d7ce2=!0x1;_0xa31d82[_0x58a61a(0x1d7)]=_0x3dafab,this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x546ca8,0x1);const _0x3f6ca5=I(this[_0x58a61a(0x1f7)][_0x58a61a(0x221)],this[_0x58a61a(0x1d8)],_0x3dafab);return this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x3f6ca5,0x0,_0xa31d82),this[_0x58a61a(0x1f5)](_0x717b96,Math[_0x58a61a(0x1df)](_0x546ca8,_0x3f6ca5))&&(_0x1d7ce2=!0x0),_0x1d7ce2;}[_0x5964fb(0x20a)](_0x506906,_0x2b7492){const _0x4639ac=_0x5964fb;if(!this[_0x4639ac(0x1c5)])return!0x1;const _0x3de6f6=this[_0x4639ac(0x1d8)][_0x2b7492];let _0x57c510;return _0x57c510=this[_0x4639ac(0x1ea)]?this[_0x4639ac(0x1ea)]({'footnote':_0x3de6f6,'container':this[_0x4639ac(0x1c5)],'digits':String(this[_0x4639ac(0x1d8)][_0x4639ac(0x1db)])[_0x4639ac(0x1db)],'value':_0x2b7492+0x1}):String(_0x2b7492+0x1),_0x3de6f6[_0x4639ac(0x1d7)][_0x4639ac(0x215)](_0x4639ac(0x1d1))!=_0x57c510&&(_0x506906[_0x4639ac(0x1f4)](_0x4639ac(0x1d1),_0x57c510,_0x3de6f6[_0x4639ac(0x1d7)]),!0x0);}[_0x5964fb(0x1f6)](_0x18ae92){const _0x57de31=_0x5964fb;if(!this[_0x57de31(0x1c5)]||this[_0x57de31(0x1d8)][_0x57de31(0x1db)]<0x2)return!0x1;if(function(_0x59b959,_0x7cfe88){const _0x48f874=_0x57de31;if(_0x59b959[_0x48f874(0x1db)]!==_0x7cfe88[_0x48f874(0x1db)])return!0x1;for(let _0xa23e45=0x0;_0xa23e45<_0x59b959[_0x48f874(0x1db)];_0xa23e45++)if(_0x59b959[_0xa23e45]!==_0x7cfe88[_0xa23e45])return!0x1;return!0x0;}(this[_0x57de31(0x1d8)][_0x57de31(0x1c9)](_0x3af83e=>_0x3af83e['id']),Array[_0x57de31(0x1e5)](this[_0x57de31(0x1c5)][_0x57de31(0x219)]())[_0x57de31(0x1c9)](_0x1c9e15=>_0x1c9e15[_0x57de31(0x215)](_0x57de31(0x213)))))return!0x1;let _0x415e1d=!0x1;for(let _0x294460=0x0;_0x294460<this[_0x57de31(0x1d8)][_0x57de31(0x1db)];_0x294460++){const _0x4040fb=this[_0x57de31(0x1d8)][_0x294460],_0x1c253e=_0x18ae92[_0x57de31(0x202)](_0x4040fb[_0x57de31(0x224)]),_0x12a324=_0x18ae92[_0x57de31(0x1d3)](this[_0x57de31(0x1c5)],_0x294460);_0x1c253e[_0x57de31(0x1e3)](_0x12a324)||(_0x18ae92[_0x57de31(0x208)](_0x18ae92[_0x57de31(0x223)](_0x4040fb[_0x57de31(0x224)]),_0x12a324),_0x415e1d=!0x0);}return _0x415e1d;}[_0x5964fb(0x1c4)](_0x50d1db){const _0x5b0b9b=_0x5964fb;if(!this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)])return!0x1;const {model:_0x44af50}=this[_0x5b0b9b(0x1f7)];let _0x468ecf=!0x1;for(let _0x59e85d=0x0;_0x59e85d<this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)]-0x1;_0x59e85d++){const _0x3e67c1=this[_0x5b0b9b(0x1d8)][_0x59e85d],_0x6f61c4=this[_0x5b0b9b(0x1d8)][_0x59e85d+0x1],_0x1ef689=_0x44af50[_0x5b0b9b(0x202)](_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x2e5d15=_0x44af50[_0x5b0b9b(0x202)](_0x6f61c4[_0x5b0b9b(0x1d7)]);_0x5b0b9b(0x1ff)===_0x1ef689[_0x5b0b9b(0x1fe)](_0x2e5d15)&&(this[_0x5b0b9b(0x21a)](_0x50d1db,_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x59e85d=-0x1,_0x468ecf=!0x0);}return _0x468ecf;}}function _0x225d(){const _0x412bad=['_updateFootnoteRefCounter','35QDXruL','parent','high','getChanges','add','_handleFootnoteReferencesChanges','footnotesDefinitions','findIndex','footnoteId','end','getAttribute','low','$graveyard','before','getChildren','_handleMovedFootnoteReference','push','has','listenTo','paragraph','isPremiumPlugin','differ','model','4896810BuTONK','createRangeOn','definition','reset','256612VqErwu','singleton','childCount','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','getRootNames','8LfViiX','registerPostFixer','map','set','_handleFootnotesDefinitionsObjectChanges','43116516rAtLZr','setFootnoteFormatter','_handleInsertedFootnoteReference','_footnoteRefsTracker','FootnotesTracker','footnoteCounter','init','createPositionAt','get','remove','filter','reference','_footnotes','getFootnote','config','length','_footnoteDefsTracker','insert','isOfficialPlugin','min','pluginName','some','_handleRemoveFootnoteReferenceById','isEqual','indexOf','from','find','createRangeIn','_handleFootnotesDefinitionsObjectSync','668235gwddYT','_footnoteFormatter','createElement','splice','append','getFootnotesDefinitionsObjectElement','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','rootName','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','setAttribute','_updateFootnotesCounters','_sortFootnoteDefinitions','editor','root','unshift','getFootnotes','document','enqueueChange','footnoteInlineContent','compareWith','after','getFootnotesFormatter','footnoteRef','createPositionBefore','8402024LGILhX','869394brJBKN','footnotes.multiBlock','663633TcTRYd','_footnoteDefsContainerTracker','move','change:data'];_0x225d=function(){return _0x412bad;};return _0x225d();}function _0x3505(_0x2fffa0,_0x511ae2){const _0x225dfd=_0x225d();return _0x3505=function(_0x35054b,_0x48774f){_0x35054b=_0x35054b-0x1c4;let _0x2f68db=_0x225dfd[_0x35054b];return _0x2f68db;},_0x3505(_0x2fffa0,_0x511ae2);}function _(_0x120539,_0x150c48,_0x579cb5){const _0x172325=_0x5964fb;if(_0x579cb5[_0x172325(0x228)])return!0x1;const _0x2e863c=_0x150c48?_0x172325(0x21e):_0x172325(0x1fd);return _0x120539[_0x172325(0x1dd)](_0x120539[_0x172325(0x1eb)](_0x2e863c),_0x579cb5),!0x0;}function I(_0x5e508b,_0x1fc3c7,_0x454504){const _0x7e3fa0=_0x5964fb;if(0x0===_0x1fc3c7[_0x7e3fa0(0x1db)])return 0x0;const _0x1fa99f=_0x5e508b[_0x7e3fa0(0x202)](_0x454504);for(let _0x24fa2d=0x0;_0x24fa2d<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x24fa2d++){const _0xa90d3d=_0x1fc3c7[_0x24fa2d],_0x39c6f2=_0x5e508b[_0x7e3fa0(0x202)](_0xa90d3d[_0x7e3fa0(0x1d7)]);if(_0x7e3fa0(0x218)===_0x1fa99f[_0x7e3fa0(0x1fe)](_0x39c6f2))return _0x24fa2d;}const _0x3cfcca=_0x454504[_0x7e3fa0(0x1f8)];let _0x1cc81b=-0x1;for(let _0x1801eb=_0x1fc3c7[_0x7e3fa0(0x1db)]-0x1;_0x1801eb>=0x0;_0x1801eb--)if(_0x1fc3c7[_0x1801eb][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)]===_0x3cfcca){_0x1cc81b=_0x1801eb;break;}if(-0x1!==_0x1cc81b)return _0x1cc81b+0x1;const _0x3877fe=_0x5e508b[_0x7e3fa0(0x1fb)][_0x7e3fa0(0x1c6)](),_0x12a102=_0x3877fe[_0x7e3fa0(0x1e4)](_0x3cfcca[_0x7e3fa0(0x1f1)]),_0x4b7810=_0x3877fe[_0x12a102+0x1];if(_0x4b7810){for(let _0x27815e=0x0;_0x27815e<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x27815e++)if(_0x1fc3c7[_0x27815e][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)][_0x7e3fa0(0x1f1)]===_0x4b7810)return _0x27815e;}return _0x1fc3c7[_0x7e3fa0(0x1db)];}
|
|
23
|
+
const _0x591aff=_0x38b2;(function(_0x13dfd7,_0x2df56b){const _0x4f5592=_0x38b2,_0x31d07d=_0x13dfd7();while(!![]){try{const _0x29fdfd=-parseInt(_0x4f5592(0x1a7))/0x1+parseInt(_0x4f5592(0x1b2))/0x2*(-parseInt(_0x4f5592(0x1a8))/0x3)+-parseInt(_0x4f5592(0x1b7))/0x4*(-parseInt(_0x4f5592(0x1ec))/0x5)+parseInt(_0x4f5592(0x198))/0x6+-parseInt(_0x4f5592(0x1a6))/0x7*(-parseInt(_0x4f5592(0x1a9))/0x8)+-parseInt(_0x4f5592(0x1f4))/0x9*(parseInt(_0x4f5592(0x1bc))/0xa)+-parseInt(_0x4f5592(0x1c9))/0xb;if(_0x29fdfd===_0x2df56b)break;else _0x31d07d['push'](_0x31d07d['shift']());}catch(_0x7b0370){_0x31d07d['push'](_0x31d07d['shift']());}}}(_0x5f35,0xd23ab));import{Plugin as _0x12d4be}from'ckeditor5/src/core.js';function _0x38b2(_0x1f9189,_0x26df77){const _0x5f356e=_0x5f35();return _0x38b2=function(_0x38b298,_0xd795d7){_0x38b298=_0x38b298-0x197;let _0x508be4=_0x5f356e[_0x38b298];return _0x508be4;},_0x38b2(_0x1f9189,_0x26df77);}import{ModelElementTracker as _0x38e46d}from'./modelelementtracker.js';function _0x5f35(){const _0x40ae7e=['getChildren','footnoteDefinition','init','_ensureFootnotesDefinitionsContainerExists','insert','getChanges','_handleRemoveFootnoteReferenceById','low','reset','set','has','pluginName','getFootnote','move','compareWith','findIndex','createPositionAt','get','find','config','getFootnotesDefinitionsObjectElement','footnoteInlineContent','root','createPositionBefore','_updateFootnotesCounters','end','getRootNames','setFootnoteFormatter','_footnoteRefsTracker','createElement','editor','_updateFootnoteRefCounter','_handleFootnoteDefinitionsChanges','childCount','5slMLdV','rootName','splice','footnoteCounter','getAttribute','_handleMovedFootnoteReference','append','map','27CmUreR','indexOf','getFootnotesFormatter','add','some','min','isEqual','_footnotesDefinitions','before','from','6392976gqdpqr','push','unshift','_insertEmptyFootnotesDefinitionsContainer','parent','_footnotes','footnotes.multiBlock','high','setAttribute','_footnoteDefsTracker','FootnotesTracker','footnoteId','getFootnotes','document','7BZEfXu','806465TuCjBc','3hXWYyE','9338432qMYPBu','isPremiumPlugin','_footnoteFormatter','enqueueChange','definition','remove','change:data','paragraph','_handleFootnoteReferencesChanges','2439182vJwDDP','length','singleton','createRangeIn','registerPostFixer','3913940GYvkip','_sortFootnoteDefinitions','$graveyard','isOfficialPlugin','reference','263870WuCCFJ','differ','_handleFootnotesDefinitionsObjectChanges','after','_handleFootnotesDefinitionsObjectSync','_ensureFootnotesReferencesHaveProperOrder','model','_footnoteDefsContainerTracker','footnoteRef','footnotesDefinitions','_handleInsertedFootnoteReference','createRangeOn','listenTo','2694659LPiLZL'];_0x5f35=function(){return _0x40ae7e;};return _0x5f35();}export class FootnotesTracker extends _0x12d4be{[_0x591aff(0x19d)]=[];[_0x591aff(0x1fb)]=null;[_0x591aff(0x1ab)]=null;[_0x591aff(0x1c3)];[_0x591aff(0x1e6)];[_0x591aff(0x1a1)];static get[_0x591aff(0x1d5)](){const _0x1424a7=_0x591aff;return _0x1424a7(0x1a2);}static get[_0x591aff(0x1ba)](){return!0x0;}static get[_0x591aff(0x1aa)](){return!0x0;}constructor(_0x187b75){const _0x11bc0c=_0x591aff;super(_0x187b75),this[_0x11bc0c(0x1c3)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1c5),'getElementKey':()=>_0x11bc0c(0x1b4)}),this[_0x11bc0c(0x1e6)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1c4),'getElementKey':_0x5a249c=>_0x5a249c[_0x11bc0c(0x1f0)](_0x11bc0c(0x1a3))}),this[_0x11bc0c(0x1a1)]=new _0x38e46d(this[_0x11bc0c(0x1e8)][_0x11bc0c(0x1c2)],{'elementName':_0x11bc0c(0x1cb),'getElementKey':_0x3f8b09=>_0x3f8b09[_0x11bc0c(0x1f0)](_0x11bc0c(0x1a3))});}[_0x591aff(0x1cc)](){const _0x37741b=_0x591aff,{editor:_0x2ad222}=this,{model:_0x573152,data:_0x267fc1}=_0x2ad222;_0x573152[_0x37741b(0x1a5)][_0x37741b(0x1b6)](_0x1e65ba=>{const _0x1eb02a=_0x37741b,_0x58b8c9=_0x573152[_0x1eb02a(0x1a5)][_0x1eb02a(0x1bd)][_0x1eb02a(0x1cf)]();let _0x473d08=!0x1;return this[_0x1eb02a(0x1be)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1ea)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1b1)](_0x1e65ba,_0x58b8c9)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1c1)](_0x1e65ba)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1c0)](_0x1e65ba)&&(_0x473d08=!0x0),this[_0x1eb02a(0x1b8)](_0x1e65ba)&&(_0x473d08=!0x0),_0x473d08;}),this[_0x37741b(0x1c8)](_0x573152[_0x37741b(0x1a5)],_0x37741b(0x1af),()=>{const _0x4ef135=_0x37741b;_0x573152[_0x4ef135(0x1ac)]({'isUndoable':!0x1},_0x4785ff=>{const _0x3fc965=_0x4ef135;this[_0x3fc965(0x1cd)](_0x4785ff);});},{'priority':_0x37741b(0x1d1)}),this[_0x37741b(0x1c8)](_0x267fc1,_0x37741b(0x1d3),()=>{const _0x2a504b=_0x37741b;this[_0x2a504b(0x19d)]=[],this[_0x2a504b(0x1c3)][_0x2a504b(0x1d2)](),this[_0x2a504b(0x1e6)][_0x2a504b(0x1d2)](),this[_0x2a504b(0x1a1)][_0x2a504b(0x1d2)]();},{'priority':_0x37741b(0x19f)});}[_0x591aff(0x1de)](){const _0x26929a=_0x591aff;return this[_0x26929a(0x1fb)];}[_0x591aff(0x1d6)](_0x3de7dd){const _0xdfb3c4=_0x591aff;return this[_0xdfb3c4(0x19d)][_0xdfb3c4(0x1dc)](_0x47f034=>_0x47f034['id']===_0x3de7dd)||null;}[_0x591aff(0x1a4)](){const _0x3f92a8=_0x591aff;return Array[_0x3f92a8(0x197)](this[_0x3f92a8(0x19d)]);}[_0x591aff(0x1f6)](){const _0x5999a8=_0x591aff;return this[_0x5999a8(0x1ab)];}[_0x591aff(0x1e5)](_0x2418f0){const _0x233541=_0x591aff;this[_0x233541(0x1ab)]=_0x2418f0;}[_0x591aff(0x1e2)](_0x2dbd06,_0x3f629a=0x0){const _0x1cc470=_0x591aff;let _0xe35cc4=!0x1;for(let _0xfdf221=_0x3f629a;_0xfdf221<this[_0x1cc470(0x19d)][_0x1cc470(0x1b3)];_0xfdf221++)this[_0x1cc470(0x1e9)](_0x2dbd06,_0xfdf221)&&(_0xe35cc4=!0x0);return _0xe35cc4;}[_0x591aff(0x19b)](_0x1376fe,_0x5a4265){const _0x1065ac=_0x591aff,_0x40dbe8=_0x1376fe[_0x1065ac(0x1e7)](_0x1065ac(0x1c5),{});return _0x1376fe[_0x1065ac(0x1f2)](_0x40dbe8,_0x5a4265),this[_0x1065ac(0x1fb)]=_0x40dbe8,_0x40dbe8;}[_0x591aff(0x1cd)](_0x564ab3){const _0x1640ba=_0x591aff;if(!this[_0x1640ba(0x19d)][_0x1640ba(0x1b3)]||this[_0x1640ba(0x1fb)])return;const _0x410c64=this[_0x1640ba(0x19d)][0x0][_0x1640ba(0x1bb)][_0x1640ba(0x1e0)],_0x53137a=this[_0x1640ba(0x19b)](_0x564ab3,_0x410c64);for(const _0x191492 of this[_0x1640ba(0x19d)])_0x191492[_0x1640ba(0x1ad)][_0x1640ba(0x19c)]||_0x564ab3[_0x1640ba(0x1ce)](_0x191492[_0x1640ba(0x1ad)],_0x53137a,_0x1640ba(0x1e3));this[_0x1640ba(0x1e2)](_0x564ab3);}[_0x591aff(0x1be)](_0xd8a327,_0x2ad4dc){const _0x547d54=_0x591aff;let _0x1ebe72=!0x1;const {inserted:_0x54dbdf,removed:_0x3be78c,moved:_0x1ef24c}=this[_0x547d54(0x1c3)][_0x547d54(0x1cf)](_0x2ad4dc);if(_0x1ef24c[_0x547d54(0x1b3)]&&(this[_0x547d54(0x1fb)]=_0x1ef24c[0x0]),_0x54dbdf[_0x547d54(0x1b3)]){if(_0x54dbdf[_0x547d54(0x1b3)]>0x1||this[_0x547d54(0x1fb)]&&_0x54dbdf[_0x547d54(0x1f8)](_0x2f4933=>_0x2f4933!==this[_0x547d54(0x1fb)])){const _0x20774b=_0xd8a327[_0x547d54(0x1e7)](_0x547d54(0x1c5),{}),_0x2bb4d1=[];this[_0x547d54(0x1fb)]&&_0x2bb4d1[_0x547d54(0x199)](this[_0x547d54(0x1fb)]),_0x2bb4d1[_0x547d54(0x199)](..._0x54dbdf),_0xd8a327[_0x547d54(0x1ce)](_0x20774b,_0x2bb4d1[0x0],_0x547d54(0x1fc));for(const _0x275c72 of _0x2bb4d1)_0xd8a327[_0x547d54(0x1d7)](_0xd8a327[_0x547d54(0x1b5)](_0x275c72),_0xd8a327[_0x547d54(0x1da)](_0x20774b,_0x547d54(0x1e3))),_0xd8a327[_0x547d54(0x1ae)](_0x275c72);this[_0x547d54(0x1fb)]=_0x20774b,this[_0x547d54(0x1e2)](_0xd8a327),_0x1ebe72=!0x0;}else this[_0x547d54(0x1fb)]=_0x54dbdf[0x0];}if(_0x3be78c[_0x547d54(0x1b3)]&&_0x547d54(0x1b9)===this[_0x547d54(0x1fb)]?.[_0x547d54(0x1e0)][_0x547d54(0x1ed)]){for(const _0x4fc97a of this[_0x547d54(0x19d)])_0xd8a327[_0x547d54(0x1ae)](_0x4fc97a[_0x547d54(0x1bb)]),_0x1ebe72=!0x0;this[_0x547d54(0x19d)]=[],this[_0x547d54(0x1fb)]=null;}return _0x1ebe72;}[_0x591aff(0x1ea)](_0x21de7d,_0x3016b9){const _0x1cc12a=_0x591aff;let _0x11d79c=!0x1;const _0x1fb188=this[_0x1cc12a(0x1e8)][_0x1cc12a(0x1dd)][_0x1cc12a(0x1db)](_0x1cc12a(0x19e)),{inserted:_0x1365f1,moved:_0x2242e3}=this[_0x1cc12a(0x1a1)][_0x1cc12a(0x1cf)](_0x3016b9);for(const _0x4fd6db of[..._0x2242e3,..._0x1365f1]){const _0x42bbab=_0x4fd6db[_0x1cc12a(0x1f0)](_0x1cc12a(0x1a3)),_0x4f0673=this[_0x1cc12a(0x1d6)](_0x42bbab);_0x4f0673&&(_0x4f0673[_0x1cc12a(0x1ad)]=_0x4fd6db),_(_0x21de7d,_0x1fb188,_0x4fd6db)&&(_0x11d79c=!0x0);}return _0x11d79c;}[_0x591aff(0x1b1)](_0x3a324d,_0x3b1c2c){const _0x235faf=_0x591aff;let _0x239862=!0x1;const {removed:_0x557e0c,inserted:_0x8780db,moved:_0x4db93e}=this[_0x235faf(0x1e6)][_0x235faf(0x1cf)](_0x3b1c2c);for(const _0x3880c8 of _0x557e0c)this[_0x235faf(0x1d0)](_0x3a324d,_0x3880c8)&&(_0x239862=!0x0);for(const _0x2e4335 of _0x8780db)this[_0x235faf(0x1c6)](_0x3a324d,_0x2e4335)&&(_0x239862=!0x0);for(const _0x338d7a of _0x4db93e)this[_0x235faf(0x1f1)](_0x3a324d,_0x338d7a)&&(_0x239862=!0x0);return _0x239862;}[_0x591aff(0x1c0)](_0xfcfeb){const _0xfc8fc=_0x591aff;if(!this[_0xfc8fc(0x1fb)])return!0x1;let _0xcbe734=!0x1;if(this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1eb)]!==this[_0xfc8fc(0x19d)][_0xfc8fc(0x1b3)]){const _0x17b26b=[];for(const _0x25539b of this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1ca)]()){const _0x4dde2c=_0x25539b[_0xfc8fc(0x1f0)](_0xfc8fc(0x1a3));this[_0xfc8fc(0x1d6)](_0x4dde2c)||(_0x17b26b[_0xfc8fc(0x19a)](_0x25539b),_0xcbe734=!0x0);}for(const _0x40ed3e of _0x17b26b)_0xfcfeb[_0xfc8fc(0x1ae)](_0x40ed3e);}const _0x1da5ff=new Set(),_0x2b985d=[];for(const _0x28fe63 of this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1ca)]()){const _0x1f5979=_0x28fe63[_0xfc8fc(0x1f0)](_0xfc8fc(0x1a3));_0x1da5ff[_0xfc8fc(0x1d4)](_0x1f5979)?(_0x2b985d[_0xfc8fc(0x19a)](_0x28fe63),_0xcbe734=!0x0):_0x1da5ff[_0xfc8fc(0x1f7)](_0x1f5979);}for(const _0x3ec1d3 of _0x2b985d)_0xfcfeb[_0xfc8fc(0x1ae)](_0x3ec1d3);return this[_0xfc8fc(0x1fb)][_0xfc8fc(0x1eb)]||(_0xfcfeb[_0xfc8fc(0x1ae)](this[_0xfc8fc(0x1fb)]),this[_0xfc8fc(0x1fb)]=null,_0xcbe734=!0x0),_0xcbe734;}[_0x591aff(0x1c6)](_0x35fc91,_0x3523fe){const _0xc761d5=_0x591aff;if(this[_0xc761d5(0x19d)][_0xc761d5(0x1dc)](_0x3ffe24=>_0x3ffe24[_0xc761d5(0x1bb)]===_0x3523fe))return!0x1;let _0x2a5f8a=!0x1;const _0x4fb923=_0x3523fe[_0xc761d5(0x1f0)](_0xc761d5(0x1a3)),_0x4ec90f=this[_0xc761d5(0x19d)][_0xc761d5(0x1d9)](_0x457917=>_0x457917['id']===_0x4fb923);-0x1!==_0x4ec90f&&(_0x35fc91[_0xc761d5(0x1ae)](this[_0xc761d5(0x19d)][_0x4ec90f][_0xc761d5(0x1bb)]),this[_0xc761d5(0x19d)][_0xc761d5(0x1ee)](_0x4ec90f,0x1),_0x2a5f8a=!0x0);let _0x2837f5=this[_0xc761d5(0x1fb)]?function(_0x2d8b5f,_0x423d43){const _0x145c04=_0xc761d5;for(const _0x59bb8e of _0x2d8b5f[_0x145c04(0x1ca)]())if(_0x59bb8e[_0x145c04(0x1f0)](_0x145c04(0x1a3))===_0x423d43)return _0x59bb8e;return null;}(this[_0xc761d5(0x1fb)],_0x4fb923):null;_0x2837f5||(_0x2837f5=_0x35fc91[_0xc761d5(0x1e7)](_0xc761d5(0x1cb),{'footnoteId':_0x4fb923}),this[_0xc761d5(0x1fb)]&&(_0x35fc91[_0xc761d5(0x1ce)](_0x2837f5,this[_0xc761d5(0x1fb)],_0xc761d5(0x1e3)),_0x2a5f8a=!0x0));const _0x478080={'id':_0x4fb923,'reference':_0x3523fe,'definition':_0x2837f5},_0x53d140=I(this[_0xc761d5(0x1e8)][_0xc761d5(0x1c2)],this[_0xc761d5(0x19d)],_0x3523fe);this[_0xc761d5(0x19d)][_0xc761d5(0x1ee)](_0x53d140,0x0,_0x478080);let _0x19e16c=_0x53d140;return-0x1!==_0x4ec90f&&(_0x19e16c=Math[_0xc761d5(0x1f9)](_0x53d140,_0x4ec90f)),this[_0xc761d5(0x1e2)](_0x35fc91,_0x19e16c)&&(_0x2a5f8a=!0x0),_0x2a5f8a;}[_0x591aff(0x1d0)](_0x49a96b,_0x252ed8){const _0x55a973=_0x591aff,_0xf4c332=this[_0x55a973(0x19d)][_0x55a973(0x1d9)](_0x5ba4a3=>_0x5ba4a3['id']===_0x252ed8);if(-0x1===_0xf4c332)return!0x1;let _0x327ea1=!0x1;const _0x550394=this[_0x55a973(0x19d)][_0xf4c332];return _0x55a973(0x1b9)!==_0x550394[_0x55a973(0x1ad)][_0x55a973(0x1e0)][_0x55a973(0x1ed)]&&(_0x49a96b[_0x55a973(0x1ae)](_0x550394[_0x55a973(0x1ad)]),_0x327ea1=!0x0),this[_0x55a973(0x19d)][_0x55a973(0x1ee)](_0xf4c332,0x1),this[_0x55a973(0x1e2)](_0x49a96b,_0xf4c332)&&(_0x327ea1=!0x0),_0x327ea1;}[_0x591aff(0x1f1)](_0x473f3c,_0x2677f1){const _0x22076a=_0x591aff,_0x5eb1c2=_0x2677f1[_0x22076a(0x1f0)](_0x22076a(0x1a3)),_0x1dc884=this[_0x22076a(0x19d)][_0x22076a(0x1d9)](_0x5a14bb=>_0x5a14bb['id']===_0x5eb1c2),_0x461d59=this[_0x22076a(0x19d)][_0x1dc884];let _0x47927a=!0x1;_0x461d59[_0x22076a(0x1bb)]=_0x2677f1,this[_0x22076a(0x19d)][_0x22076a(0x1ee)](_0x1dc884,0x1);const _0x862378=I(this[_0x22076a(0x1e8)][_0x22076a(0x1c2)],this[_0x22076a(0x19d)],_0x2677f1);return this[_0x22076a(0x19d)][_0x22076a(0x1ee)](_0x862378,0x0,_0x461d59),this[_0x22076a(0x1e2)](_0x473f3c,Math[_0x22076a(0x1f9)](_0x1dc884,_0x862378))&&(_0x47927a=!0x0),_0x47927a;}[_0x591aff(0x1e9)](_0x157b53,_0x58423b){const _0x334a6f=_0x591aff;if(!this[_0x334a6f(0x1fb)])return!0x1;const _0x205469=this[_0x334a6f(0x19d)][_0x58423b];let _0x272e62;return _0x272e62=this[_0x334a6f(0x1ab)]?this[_0x334a6f(0x1ab)]({'footnote':_0x205469,'container':this[_0x334a6f(0x1fb)],'digits':String(this[_0x334a6f(0x19d)][_0x334a6f(0x1b3)])[_0x334a6f(0x1b3)],'value':_0x58423b+0x1}):String(_0x58423b+0x1),_0x205469[_0x334a6f(0x1bb)][_0x334a6f(0x1f0)](_0x334a6f(0x1ef))!=_0x272e62&&(_0x157b53[_0x334a6f(0x1a0)](_0x334a6f(0x1ef),_0x272e62,_0x205469[_0x334a6f(0x1bb)]),!0x0);}[_0x591aff(0x1b8)](_0x3139da){const _0x36e2bc=_0x591aff;if(!this[_0x36e2bc(0x1fb)]||this[_0x36e2bc(0x19d)][_0x36e2bc(0x1b3)]<0x2)return!0x1;if(function(_0xbaa705,_0x1c615f){const _0x554acb=_0x36e2bc;if(_0xbaa705[_0x554acb(0x1b3)]!==_0x1c615f[_0x554acb(0x1b3)])return!0x1;for(let _0x5f3c32=0x0;_0x5f3c32<_0xbaa705[_0x554acb(0x1b3)];_0x5f3c32++)if(_0xbaa705[_0x5f3c32]!==_0x1c615f[_0x5f3c32])return!0x1;return!0x0;}(this[_0x36e2bc(0x19d)][_0x36e2bc(0x1f3)](_0x310e71=>_0x310e71['id']),Array[_0x36e2bc(0x197)](this[_0x36e2bc(0x1fb)][_0x36e2bc(0x1ca)]())[_0x36e2bc(0x1f3)](_0x37ee8c=>_0x37ee8c[_0x36e2bc(0x1f0)](_0x36e2bc(0x1a3)))))return!0x1;let _0x1d1121=!0x1;for(let _0x14536b=0x0;_0x14536b<this[_0x36e2bc(0x19d)][_0x36e2bc(0x1b3)];_0x14536b++){const _0x3d88d7=this[_0x36e2bc(0x19d)][_0x14536b],_0x41b39e=_0x3139da[_0x36e2bc(0x1e1)](_0x3d88d7[_0x36e2bc(0x1ad)]),_0xde0128=_0x3139da[_0x36e2bc(0x1da)](this[_0x36e2bc(0x1fb)],_0x14536b);_0x41b39e[_0x36e2bc(0x1fa)](_0xde0128)||(_0x3139da[_0x36e2bc(0x1d7)](_0x3139da[_0x36e2bc(0x1c7)](_0x3d88d7[_0x36e2bc(0x1ad)]),_0xde0128),_0x1d1121=!0x0);}return _0x1d1121;}[_0x591aff(0x1c1)](_0x283c79){const _0x5c37d2=_0x591aff;if(!this[_0x5c37d2(0x19d)][_0x5c37d2(0x1b3)])return!0x1;const {model:_0x16e6b4}=this[_0x5c37d2(0x1e8)];let _0x4b2acd=!0x1;for(let _0x9f5957=0x0;_0x9f5957<this[_0x5c37d2(0x19d)][_0x5c37d2(0x1b3)]-0x1;_0x9f5957++){const _0x29785a=this[_0x5c37d2(0x19d)][_0x9f5957],_0x4aea74=this[_0x5c37d2(0x19d)][_0x9f5957+0x1],_0x2ad7bd=_0x16e6b4[_0x5c37d2(0x1e1)](_0x29785a[_0x5c37d2(0x1bb)]),_0x25ffd1=_0x16e6b4[_0x5c37d2(0x1e1)](_0x4aea74[_0x5c37d2(0x1bb)]);_0x5c37d2(0x1bf)===_0x2ad7bd[_0x5c37d2(0x1d8)](_0x25ffd1)&&(this[_0x5c37d2(0x1f1)](_0x283c79,_0x29785a[_0x5c37d2(0x1bb)]),_0x9f5957=-0x1,_0x4b2acd=!0x0);}return _0x4b2acd;}}function _(_0x3cfa8c,_0x23ed11,_0x180111){const _0x272cf0=_0x591aff;if(_0x180111[_0x272cf0(0x1eb)])return!0x1;const _0x4fe6b0=_0x23ed11?_0x272cf0(0x1b0):_0x272cf0(0x1df);return _0x3cfa8c[_0x272cf0(0x1ce)](_0x3cfa8c[_0x272cf0(0x1e7)](_0x4fe6b0),_0x180111),!0x0;}function I(_0x3f6cdc,_0x5e78d7,_0x589f0c){const _0x236bf0=_0x591aff;if(0x0===_0x5e78d7[_0x236bf0(0x1b3)])return 0x0;const _0x4ca2c5=_0x3f6cdc[_0x236bf0(0x1e1)](_0x589f0c);for(let _0x5990a0=0x0;_0x5990a0<_0x5e78d7[_0x236bf0(0x1b3)];_0x5990a0++){const _0xebc371=_0x5e78d7[_0x5990a0],_0x35339f=_0x3f6cdc[_0x236bf0(0x1e1)](_0xebc371[_0x236bf0(0x1bb)]);if(_0x236bf0(0x1fc)===_0x4ca2c5[_0x236bf0(0x1d8)](_0x35339f))return _0x5990a0;}const _0x47facd=_0x589f0c[_0x236bf0(0x1e0)];let _0x51d3c3=-0x1;for(let _0x283000=_0x5e78d7[_0x236bf0(0x1b3)]-0x1;_0x283000>=0x0;_0x283000--)if(_0x5e78d7[_0x283000][_0x236bf0(0x1bb)][_0x236bf0(0x1e0)]===_0x47facd){_0x51d3c3=_0x283000;break;}if(-0x1!==_0x51d3c3)return _0x51d3c3+0x1;const _0xfe6a8b=_0x3f6cdc[_0x236bf0(0x1a5)][_0x236bf0(0x1e4)](),_0x268351=_0xfe6a8b[_0x236bf0(0x1f5)](_0x47facd[_0x236bf0(0x1ed)]),_0x8ae384=_0xfe6a8b[_0x268351+0x1];if(_0x8ae384){for(let _0x39ea93=0x0;_0x39ea93<_0x5e78d7[_0x236bf0(0x1b3)];_0x39ea93++)if(_0x5e78d7[_0x39ea93][_0x236bf0(0x1bb)][_0x236bf0(0x1e0)][_0x236bf0(0x1ed)]===_0x8ae384)return _0x39ea93;}return _0x5e78d7[_0x236bf0(0x1b3)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4d5b29,MenuBarMenuListItemButtonView as _0x5e90a6}from'ckeditor5/src/ui.js';import{Plugin as _0x398880}from'ckeditor5/src/core.js';import{IconFootnote as _0xaf4861}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x398880{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4741fd}=this,{componentFactory:_0x15eb22}=_0x4741fd['ui'];_0x15eb22['add']('insertFootnote',x(_0x4741fd,_0x4d5b29)),_0x15eb22['add']('menuBar:insertFootnote',x(_0x4741fd,_0x5e90a6)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x49dd02=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1de12b;for(const _0x4d23c8 in _0x49dd02){const _0xf4e7c1=_0x4d23c8,_0x95c782=_0x49dd02[_0xf4e7c1];if('footnotesLicenseKeyValid'==_0x95c782||'footnotesLicenseKeyInvalid'==_0x95c782||'footnotesLicenseKeyExpired'==_0x95c782||'footnotesLicenseKeyDomainLimit'==_0x95c782||'footnotesLicenseKeyNotAllowed'==_0x95c782||'footnotesLicenseKeyEvaluationLimit'==_0x95c782||'footnotesLicenseKeyTrialLimit'==_0x95c782||'footnotesLicenseKeyUsageLimit'==_0x95c782){delete _0x49dd02[_0xf4e7c1],_0x1de12b=_0x95c782,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1de12b&&_0x49dd02['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1de12b&&_0x49dd02['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1de12b&&_0x49dd02['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1de12b&&_0x49dd02['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x51a6dc,_0x77c1aa){const _0x162970=_0x51a6dc['commands']['get']('insertFootnote');return _0x14129d=>{const {t:t}=_0x14129d,_0x3c42ba=new _0x77c1aa(_0x14129d),_0x337dc7=_0x3c42ba instanceof _0x5e90a6;return _0x3c42ba['bind']('isEnabled')['to'](_0x162970,'isEnabled'),_0x3c42ba['set']({'label':t(_0x337dc7?'Footnote':'Insert\x20footnote'),'icon':_0xaf4861,'tooltip':!0x0}),_0x3c42ba['on']('execute',()=>{_0x162970['execute'](),_0x51a6dc['editing']['view']['focus']();}),_0x3c42ba;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
function _0x2e87(_0x152086,_0x3fbe85){var _0x36c336=_0x36c3();return _0x2e87=function(_0x2e87fd,_0x33b336){_0x2e87fd=_0x2e87fd-0x1dc;var _0x3e3440=_0x36c336[_0x2e87fd];return _0x3e3440;},_0x2e87(_0x152086,_0x3fbe85);}(function(_0x4d09d8,_0x1a9e02){var _0x5749e8=_0x2e87,_0x580b75=_0x4d09d8();while(!![]){try{var _0x37aa70=-parseInt(_0x5749e8(0x1de))/0x1+parseInt(_0x5749e8(0x1e6))/0x2*(parseInt(_0x5749e8(0x1e4))/0x3)+-parseInt(_0x5749e8(0x1e0))/0x4+parseInt(_0x5749e8(0x1e2))/0x5*(-parseInt(_0x5749e8(0x1e5))/0x6)+parseInt(_0x5749e8(0x1dc))/0x7+parseInt(_0x5749e8(0x1e1))/0x8*(-parseInt(_0x5749e8(0x1df))/0x9)+parseInt(_0x5749e8(0x1dd))/0xa*(parseInt(_0x5749e8(0x1e3))/0xb);if(_0x37aa70===_0x1a9e02)break;else _0x580b75['push'](_0x580b75['shift']());}catch(_0x23cd3b){_0x580b75['push'](_0x580b75['shift']());}}}(_0x36c3,0x46921));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';function _0x36c3(){var _0x5bfce2=['3215xTCari','438790pXVYKZ','57345fmbWCx','3720jGeMii','50XavgFp','633703pxbTXJ','340sVgeNP','413256RJAiQm','18tEfvyh','1788604SkgRgw','1506160kBzjDi'];_0x36c3=function(){return _0x5bfce2;};return _0x36c3();}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x10c0a1=_0x143d;(function(_0x390aa1,_0x4be141){const _0x4553f0=_0x143d,_0x295fce=_0x390aa1();while(!![]){try{const _0x38fbf2=-parseInt(_0x4553f0(0x13a))/0x1+-parseInt(_0x4553f0(0x133))/0x2+-parseInt(_0x4553f0(0x14c))/0x3*(parseInt(_0x4553f0(0x143))/0x4)+-parseInt(_0x4553f0(0x12a))/0x5+-parseInt(_0x4553f0(0x140))/0x6*(-parseInt(_0x4553f0(0x132))/0x7)+-parseInt(_0x4553f0(0x14a))/0x8+parseInt(_0x4553f0(0x151))/0x9*(parseInt(_0x4553f0(0x136))/0xa);if(_0x38fbf2===_0x4be141)break;else _0x295fce['push'](_0x295fce['shift']());}catch(_0x55c068){_0x295fce['push'](_0x295fce['shift']());}}}(_0x32dc,0xbcc13));function _0x143d(_0x2b97cb,_0x4ab793){const _0x32dcea=_0x32dc();return _0x143d=function(_0x143da9,_0x5e3808){_0x143da9=_0x143da9-0x126;let _0x498801=_0x32dcea[_0x143da9];return _0x498801;},_0x143d(_0x2b97cb,_0x4ab793);}export class ModelElementTracker{[_0x10c0a1(0x13c)];[_0x10c0a1(0x131)];[_0x10c0a1(0x12e)];[_0x10c0a1(0x135)]=new Map();constructor(_0x208ce4,_0x58825d){const _0x2b8588=_0x10c0a1;this[_0x2b8588(0x13c)]=_0x208ce4,this[_0x2b8588(0x131)]=_0x58825d[_0x2b8588(0x13d)],this[_0x2b8588(0x12e)]=_0x58825d[_0x2b8588(0x146)];}[_0x10c0a1(0x130)](){const _0x1b0d21=_0x10c0a1;this[_0x1b0d21(0x135)][_0x1b0d21(0x148)]();}[_0x10c0a1(0x137)](_0x1aecf3){const _0x5482ff=_0x10c0a1,_0x48a1df=new Set(),_0x3d804c=new Map();for(const _0x5c42fd of _0x1aecf3){if(_0x5482ff(0x142)===_0x5c42fd[_0x5482ff(0x126)]&&_0x5482ff(0x149)!==_0x5c42fd[_0x5482ff(0x12d)]&&_0x5c42fd[_0x5482ff(0x141)][_0x5482ff(0x150)]){const _0x273717=this[_0x5482ff(0x13c)][_0x5482ff(0x134)](_0x5c42fd[_0x5482ff(0x141)][_0x5482ff(0x150)]);for(const _0x17b0ca of _0x273717[_0x5482ff(0x127)]()){if(!_0x17b0ca['is'](_0x5482ff(0x129),this[_0x5482ff(0x131)]))continue;const _0x30d511=this[_0x5482ff(0x12e)](_0x17b0ca);_0x3d804c[_0x5482ff(0x14b)](_0x30d511)||_0x3d804c[_0x5482ff(0x138)](_0x30d511,[]),_0x3d804c[_0x5482ff(0x12b)](_0x30d511)[_0x5482ff(0x14d)](_0x17b0ca);}}if(_0x5482ff(0x144)===_0x5c42fd[_0x5482ff(0x126)]&&_0x5c42fd[_0x5482ff(0x12d)]===this[_0x5482ff(0x131)]){const _0x28776f=this[_0x5482ff(0x12e)]({'getAttribute':_0x425374=>_0x5c42fd[_0x5482ff(0x139)][_0x5482ff(0x12b)](_0x425374)});_0x48a1df[_0x5482ff(0x13f)](_0x28776f);}}for(const [_0x29571b,_0x21f439]of this[_0x5482ff(0x135)])_0x5482ff(0x13b)===_0x21f439[_0x5482ff(0x12f)][_0x5482ff(0x147)]&&_0x48a1df[_0x5482ff(0x13f)](_0x29571b);for(const _0x1d347d of _0x48a1df)this[_0x5482ff(0x135)][_0x5482ff(0x14f)](_0x1d347d);for(const [_0x233e32,_0x1f9ca7]of _0x3d804c)this[_0x5482ff(0x135)][_0x5482ff(0x138)](_0x233e32,_0x1f9ca7[_0x1f9ca7[_0x5482ff(0x14e)]-0x1]);const _0x36250f=new Set();for(const [_0x5ea0c2,_0x3ab8bf]of _0x3d804c)_0x48a1df[_0x5482ff(0x14b)](_0x5ea0c2)&&(_0x36250f[_0x5482ff(0x13f)](_0x3ab8bf[0x0]),_0x3ab8bf[_0x5482ff(0x14e)]>0x1?_0x3d804c[_0x5482ff(0x138)](_0x5ea0c2,_0x3ab8bf[_0x5482ff(0x13e)](0x1)):_0x3d804c[_0x5482ff(0x14f)](_0x5ea0c2),_0x48a1df[_0x5482ff(0x14f)](_0x5ea0c2));return{'removed':Array[_0x5482ff(0x145)](_0x48a1df),'inserted':Array[_0x5482ff(0x145)](_0x3d804c[_0x5482ff(0x12c)]())[_0x5482ff(0x128)](),'moved':Array[_0x5482ff(0x145)](_0x36250f)};}}function _0x32dc(){const _0x30e5e0=['flat','element','2191040vqTzNH','get','values','name','_getElementKey','root','reset','_elementName','10232278CPDTyR','1491428OCnGKI','createRangeOn','_trackedElements','190060LQuTKM','getChanges','set','attributes','1342255aesCdB','$graveyard','_model','elementName','slice','add','6GqNEqo','position','insert','600672fskERg','remove','from','getElementKey','rootName','clear','$text','8790096HaVgLt','has','15mXoaMy','push','length','delete','nodeAfter','1746pwZGQc','type','getItems'];_0x32dc=function(){return _0x30e5e0;};return _0x32dc();}
|