@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251015.0 → 0.0.0-nightly-20251017.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/footnotes.js +1 -1
- 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/src/footnotesediting.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{Plugin as _0x1ab5b0}from'ckeditor5/src/core.js';import{isWidget as _0x56867c,toWidget as _0x3c65d7,toWidgetEditable as _0x2c030b}from'ckeditor5/src/widget.js';import{uid as _0x25dfb2}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3b1ac0,ClickObserver as _0x2db507}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x583e44}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x37fddf}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1ab5b0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x583e44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x27ca2f}=this;_0x27ca2f['config']['define']('footnotes.multiBlock',!0x0),_0x27ca2f['commands']['add']('insertFootnote',new _0x37fddf(_0x27ca2f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1583b8){const _0x59e15b=_0x3f5008([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]),_0xd6e7e8=0x47a28506,_0x5eaa00=0x47a5f346^_0xd6e7e8,_0xae72ad=window[_0x3f5008([0x44,0x61,0x74,0x65])][_0x3f5008([0x6e,0x6f,0x77])](),_0x3236d3=_0x1583b8[_0x3f5008([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1019b0=new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2b663a=>{_0x3236d3[_0x3f5008([0x6f,0x6e,0x63,0x65])](_0x3f5008([0x72,0x65,0x61,0x64,0x79]),_0x2b663a);}),_0x48b480={[_0x3f5008([0x6b,0x74,0x79])]:_0x3f5008([0x45,0x43]),[_0x3f5008([0x75,0x73,0x65])]:_0x3f5008([0x73,0x69,0x67]),[_0x3f5008([0x63,0x72,0x76])]:_0x3f5008([0x50,0x2d,0x32,0x35,0x36]),[_0x3f5008([0x78])]:_0x3f5008([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]),[_0x3f5008([0x79])]:_0x3f5008([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]),[_0x3f5008([0x61,0x6c,0x67])]:_0x3f5008([0x45,0x53,0x32,0x35,0x36])},_0x4cb9bc=_0x3236d3[_0x3f5008([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3f5008([0x67,0x65,0x74])](_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x55aa9d(){let _0xa44f94,_0x3d567d=null,_0x3e6a7a=null;try{if(_0x4cb9bc==_0x3f5008([0x47,0x50,0x4c]))return _0x3f5008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xa44f94=_0x56a911(),!_0xa44f94)return _0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xa44f94[_0x3f5008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3e6a7a=_0x4e79eb(_0xa44f94[_0x3f5008([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xa44f94[_0x3f5008([0x6a,0x74,0x69])])),await _0x87007c()?_0x34dfef()?_0x36ef26()?_0x3f5008([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2603c8()?(_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f5008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3d567d=_0x176a0c(_0x3f5008([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3f5008([0x74,0x72,0x69,0x61,0x6c])&&(_0x3d567d=_0x176a0c(_0x3f5008([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x68bbd3()):_0x3f5008([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3f5008([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3f5008([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x36ef26(){const _0x528065=[_0x3f5008([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3f5008([0x74,0x72,0x69,0x61,0x6c])][_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xae72ad/0x3e8:0xe10*_0x5eaa00;return _0xa44f94[_0x3f5008([0x65,0x78,0x70])]<_0x528065;}function _0x34dfef(){const _0x402af4=_0xa44f94[_0x3f5008([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x402af4&&(!!_0x402af4[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x2a]))||!!_0x402af4[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x46,0x4f,0x4f])));}function _0x2603c8(){const _0x2f6993=_0xa44f94[_0x3f5008([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2f6993||0x0==_0x2f6993[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4bf294}=new URL(window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2f6993[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4bf294))return!0x0;const _0x5a53c3=_0x4bf294[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e]));return _0x2f6993[_0x3f5008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x421b08=>_0x421b08[_0x3f5008([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f5008([0x2a])))[_0x3f5008([0x6d,0x61,0x70])](_0x210d4e=>_0x210d4e[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e])))[_0x3f5008([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4df317=>_0x4df317[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5a53c3[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f5008([0x6d,0x61,0x70])](_0x229305=>Array(_0x5a53c3[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x229305[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3f5008([0x66,0x69,0x6c,0x6c])](_0x229305[0x0]===_0x3f5008([0x2a])?_0x3f5008([0x2a]):'')[_0x3f5008([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x229305))[_0x3f5008([0x73,0x6f,0x6d,0x65])](_0x23dbc2=>_0x5a53c3[_0x3f5008([0x65,0x76,0x65,0x72,0x79])]((_0x5708bc,_0x2c32a9)=>_0x23dbc2[_0x2c32a9]===_0x5708bc||_0x23dbc2[_0x2c32a9]===_0x3f5008([0x2a])));}function _0x68bbd3(){return _0x3d567d&&_0x3e6a7a?new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a6be4,_0x2bf179)=>{_0x3d567d[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x1a6be4,_0x2bf179),_0x3e6a7a[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x8f4b37=>{_0x8f4b37!=_0x3f5008([0x56,0x61,0x6c,0x69,0x64])&&_0x1a6be4(_0x8f4b37);},_0x2bf179);}):_0x3d567d||_0x3e6a7a||_0x3f5008([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4e79eb(_0x2bef10,_0x282e05){return new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x199727=>{if(_0x205d46())return _0x199727(_0x3f5008([0x56,0x61,0x6c,0x69,0x64]));_0x3cee23(),_0x3236d3[_0x3f5008([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50ac36=!0x1;const _0x461866=_0x25dfb2();function _0x19d609(_0x5d59b2){return!!_0x5d59b2&&(typeof _0x5d59b2===_0x3f5008([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d59b2===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d59b2[_0x3f5008([0x74,0x68,0x65,0x6e])]===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d59b2[_0x3f5008([0x63,0x61,0x74,0x63,0x68])]===_0x3f5008([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4379c6(_0x141bc2){_0x2cffc4(_0x141bc2)[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x1d014f=>{if(!_0x1d014f||_0x1d014f[_0x3f5008([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3f5008([0x6f,0x6b]))return _0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x57251f(_0x2725e6(_0x461866+_0x282e05))!=_0x1d014f[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3f5008([0x56,0x61,0x6c,0x69,0x64]);})[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x4aa59c=>(_0x2d7c11(),_0x4aa59c),()=>{const _0x4d6a8d=_0x11f37e();return null==_0x4d6a8d?(_0x2d7c11(),_0x3f5008([0x56,0x61,0x6c,0x69,0x64])):_0x3f5008(_0xae72ad-_0x4d6a8d>(0x63ae0106^_0xd6e7e8)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x199727)[_0x3f5008([0x63,0x61,0x74,0x63,0x68])](()=>{_0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a38b0=0x47946b86^_0xd6e7e8;function _0x2d7c11(){const _0x55bc91=_0x3f5008([0x6c,0x6c,0x63,0x74,0x2d])+_0x57251f(_0x2725e6(_0x2bef10)),_0x337ea7=_0x434c77(_0x57251f(window[_0x3f5008([0x4d,0x61,0x74,0x68])][_0x3f5008([0x63,0x65,0x69,0x6c])](_0xae72ad/_0x4a38b0)));window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f5008([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55bc91,_0x337ea7);}function _0x11f37e(){const _0x2603cc=_0x3f5008([0x6c,0x6c,0x63,0x74,0x2d])+_0x57251f(_0x2725e6(_0x2bef10)),_0x189d91=window[_0x3f5008([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3f5008([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2603cc);return _0x189d91?window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x434c77(_0x189d91),0x10)*_0x4a38b0:null;}function _0x2cffc4(_0x38f311){return new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5c6213,_0x2c8362)=>{_0x38f311[_0x3f5008([0x74,0x68,0x65,0x6e])](_0x5c6213,_0x2c8362),window[_0x3f5008([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c8362,0x47a351c6^_0xd6e7e8);});}}_0x3236d3[_0x3f5008([0x6f,0x6e])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x17a016,_0x119691)=>{if(_0x119691[0x0]!=_0x2bef10)return _0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x119691[0x1]={..._0x119691[0x1],[_0x3f5008([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x461866};},{[_0x3f5008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f5008([0x68,0x69,0x67,0x68])}),_0x3236d3[_0x3f5008([0x6f,0x6e])](_0x3f5008([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x9ab668=>{_0x19d609(_0x9ab668[_0x3f5008([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50ac36=!0x0,_0x4379c6(_0x9ab668[_0x3f5008([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3f5008([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3f5008([0x6c,0x6f,0x77])}),_0x1019b0[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>{_0x50ac36||_0x199727(_0x3f5008([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x205d46(){return _0x3236d3[_0x3f5008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f5008([0x76,0x69,0x65,0x77])][_0x3f5008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3f5008([0x61,0x75,0x74,0x6f]);}function _0x3cee23(){_0x3236d3[_0x3f5008([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3f5008([0x76,0x69,0x65,0x77])][_0x3f5008([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3f5008([0x61,0x75,0x74,0x6f]);}}function _0x176a0c(_0x2f4022){const _0x2685db=[new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2896=>setTimeout(_0x5c2896,0x47abbbca^_0xd6e7e8)),_0x1019b0[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36c76d=>{let _0x4ebdea=0x0;_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x6f,0x6e])](_0x3f5008([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x4b7f10,_0x31c97f)=>{_0x31c97f[0x0][_0x3f5008([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ebdea++,_0x4ebdea==(0x47a284fe^_0xd6e7e8)&&(_0x36c76d(),_0x4b7f10[_0x3f5008([0x6f,0x66,0x66])]());});}))];return window[_0x3f5008([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3f5008([0x72,0x61,0x63,0x65])](_0x2685db)[_0x3f5008([0x74,0x68,0x65,0x6e])](()=>_0x2f4022);}async function _0x477154(){await _0x1019b0,_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2157ea,_0x3236d3[_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c])][_0x3f5008([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2157ea,_0x3236d3[_0x3f5008([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3f5008([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3084bf(_0x40feba){const _0x2802a8=_0x2d8885();_0x3236d3[_0x2802a8]=_0x3f5008([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x40feba,_0x40feba!=_0x3f5008([0x56,0x61,0x6c,0x69,0x64])&&_0x477154();}function _0x2d8885(){const _0x14ed9e=window[_0x3f5008([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3f5008([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3f5008([0x6e,0x6f,0x77])]())[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3f5008([0x2e]),'');let _0x18e5e3=_0x3f5008([0x75]);for(let _0x364441=0x0;_0x364441<_0x14ed9e[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x364441+=0x2){let _0x178edf=window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14ed9e[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x364441,_0x364441+0x2));_0x178edf>=_0x59e15b[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x178edf-=_0x59e15b[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x18e5e3+=_0x59e15b[_0x178edf];}return _0x18e5e3;}function _0x56a911(){const _0x428583=_0x4cb9bc[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e]));if(0x3!=_0x428583[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2f996b(_0x428583[0x1]);function _0x2f996b(_0x24c39f){const _0x26abc2=_0x2c5a26(_0x24c39f);return _0x26abc2&&_0x19a650()?_0x26abc2:null;function _0x19a650(){const _0x726b24=_0x26abc2[_0x3f5008([0x6a,0x74,0x69])],_0x47c25a=window[_0x3f5008([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x726b24[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x726b24[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x35f093={..._0x26abc2,[_0x3f5008([0x6a,0x74,0x69])]:_0x726b24[_0x3f5008([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x726b24[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x35f093[_0x3f5008([0x76,0x63])],_0x2725e6(_0x35f093)==_0x47c25a;}}}async function _0x87007c(){let _0x22b79e=!0x0;try{const _0x54b41e=_0x4cb9bc[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])](_0x3f5008([0x2e])),[_0x4712ad,_0x166092,_0x1019e4]=_0x54b41e;return _0x15b6e1(_0x4712ad),await _0x131f00(_0x4712ad,_0x166092,_0x1019e4),_0x22b79e;}catch{return!0x1;}function _0x15b6e1(_0x4653cc){const _0x409af4=_0x2c5a26(_0x4653cc);_0x409af4&&_0x409af4[_0x3f5008([0x61,0x6c,0x67])]==_0x3f5008([0x45,0x53,0x32,0x35,0x36])||(_0x22b79e=!0x1);}async function _0x131f00(_0x8643e3,_0x2f446b,_0x408881){const _0x557e05=window[_0x3f5008([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3f5008([0x66,0x72,0x6f,0x6d])](_0x40d299(_0x408881),_0x2fcf77=>_0x2fcf77[_0x3f5008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x25151d=new window[(_0x3f5008([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3f5008([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x8643e3+_0x3f5008([0x2e])+_0x2f446b),_0xfa5089=window[_0x3f5008([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3f5008([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xfa5089)return;const _0x591226=await _0xfa5089[_0x3f5008([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3f5008([0x6a,0x77,0x6b]),_0x48b480,{[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x45,0x43,0x44,0x53,0x41]),[_0x3f5008([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3f5008([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xfa5089[_0x3f5008([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x45,0x43,0x44,0x53,0x41]),[_0x3f5008([0x68,0x61,0x73,0x68])]:{[_0x3f5008([0x6e,0x61,0x6d,0x65])]:_0x3f5008([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x591226,_0x557e05,_0x25151d)||(_0x22b79e=!0x1);}}function _0x2c5a26(_0x594c69){return _0x594c69[_0x3f5008([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3f5008([0x65,0x79]))?JSON[_0x3f5008([0x70,0x61,0x72,0x73,0x65])](_0x40d299(_0x594c69)):null;}function _0x40d299(_0xccb3a6){return window[_0x3f5008([0x61,0x74,0x6f,0x62])](_0xccb3a6[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3f5008([0x2b]))[_0x3f5008([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3f5008([0x2f])));}function _0x2725e6(_0x1b233e){let _0x507d31=0x1505;function _0x2d1c79(_0x2503cc){for(let _0x1df340=0x0;_0x1df340<_0x2503cc[_0x3f5008([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1df340++){const _0x129c25=_0x2503cc[_0x3f5008([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1df340);_0x507d31=(_0x507d31<<0x5)+_0x507d31+_0x129c25,_0x507d31&=_0x507d31;}}function _0x112734(_0x13ca1b){Array[_0x3f5008([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x13ca1b)?_0x13ca1b[_0x3f5008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x112734):_0x13ca1b&&typeof _0x13ca1b==_0x3f5008([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3f5008([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x13ca1b)[_0x3f5008([0x73,0x6f,0x72,0x74])]()[_0x3f5008([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2c2159,_0x2ff185])=>{_0x2d1c79(_0x2c2159),_0x112734(_0x2ff185);}):_0x2d1c79(window[_0x3f5008([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x13ca1b));}return _0x112734(_0x1b233e),_0x507d31>>>0x0;}function _0x57251f(_0x106758){return _0x106758[_0x3f5008([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3f5008([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3f5008([0x30]));}function _0x434c77(_0x3382c3){return _0x3382c3[_0x3f5008([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3f5008([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3f5008([0x6a,0x6f,0x69,0x6e])]('');}function _0x2157ea(){}function _0x3f5008(_0x54dc6d){return _0x54dc6d['map'](_0x1f513a=>String['fromCharCode'](_0x1f513a))['join']('');}_0x3084bf(await _0x55aa9d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x27a15a){const {plugins:_0x1250ba,editing:_0x44a32d,model:_0x1cd987}=this['editor'],_0x5317a0=_0x1250ba['get'](_0x583e44)['getFootnote'](_0x27a15a);return!!_0x5317a0&&(_0x1cd987['change'](_0xf301fc=>{_0xf301fc['setSelection'](_0xf301fc['createPositionAt'](_0x5317a0['definition'],'end'));}),_0x44a32d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x39de4e){const {plugins:_0x1727ea,editing:_0x4dd4c3,model:_0x2a4a99}=this['editor'],_0x4b7ce7=_0x1727ea['get'](_0x583e44)['getFootnote'](_0x39de4e);return!!_0x4b7ce7&&(_0x2a4a99['change'](_0x5be815=>{_0x5be815['setSelection'](_0x4b7ce7['reference'],'on');}),_0x4dd4c3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x150fb8}=this['editor']['model'],_0x8f5c7d=this['editor']['config']['get']('footnotes.multiBlock');_0x150fb8['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x150fb8['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x150fb8['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x8f5c7d?_0x150fb8['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x150fb8['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x150fb8['addChildCheck'](_0x324815=>{for(const _0x10723e of _0x324815)if('footnoteDefinition'===_0x10723e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x100030}=this,{conversion:_0x59dfdf,editing:_0x335a0d}=_0x100030,{t:t}=_0x100030['locale'];_0x59dfdf['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x204f81,{writer:_0x5ab672,consumable:_0x58abe4})=>{const _0x58120e=_0x204f81['getChild'](0x0);if(!_0x58120e||!_0x58120e['is']('element','a'))return null;const _0x3be92d=_0x58120e['getAttribute']('href')||'';if(!_0x3be92d['startsWith']('#'))return null;const _0x34b2ea=_0x3be92d['replace'](/^#/,'');if(!_0x34b2ea)return null;_0x58abe4['consume'](_0x58120e,{'name':!0x0,'attributes':['href']});for(const {item:_0x844458}of _0x335a0d['view']['createRangeIn'](_0x58120e))_0x844458['is']('$textProxy')?_0x58abe4['consume'](_0x844458['textNode'],{'name':!0x0}):_0x844458['is']('element')&&_0x58abe4['consume'](_0x844458,{'name':!0x0});return _0x5ab672['createElement']('footnoteRef',{'footnoteId':_0x34b2ea});}}),_0x59dfdf['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48f372,{writer:_0xe95fc1})=>g(_0x48f372,_0xe95fc1)}),_0x59dfdf['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e7a9f,{writer:_0x8b4560})=>{const _0x407953=_0x5e7a9f['getAttribute']('footnoteCounter');return _0x3c65d7(g(_0x5e7a9f,_0x8b4560),_0x8b4560,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x407953)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1b09d0}=this,{t:t}=_0x1b09d0['locale'],{conversion:_0x1cd17a}=_0x1b09d0;_0x1cd17a['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x1cd17a['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x1cd17a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x22d715,{writer:_0x126dc0})=>{const _0x4b9133=_0x126dc0['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x126dc0['createContainerElement']('ol',{'class':'footnotes'},_0x126dc0['createSlot']())),_0x1d183f=_0x3c65d7(_0x4b9133,_0x126dc0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x126dc0['setCustomProperty']('footnotesDefinitions',!0x0,_0x1d183f),_0x1d183f;}});}['_defineDefinitionConverters'](){const {editor:_0x421728}=this,{conversion:_0xdfc5c3,locale:_0x4f822b}=_0x421728,_0x34ffa4=_0x421728['config']['get']('footnotes.multiBlock');_0xdfc5c3['for']('upcast')['add'](_0x46b342=>{_0x46b342['on']('element:li',(_0x3d7c0d,_0x486b50,_0x4be137)=>{const _0x13113b=_0x486b50['viewItem'];if(!_0x13113b['hasClass']('footnote-definition')||!_0x13113b['getAttribute']('id'))return;const _0xa0027f=_0x13113b['parent'];if(!_0xa0027f['is']('element','ol')||!_0xa0027f['hasClass']('footnotes'))return;if(!_0x4be137['consumable']['test'](_0x13113b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4b83e5=_0x4be137['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x13113b['getAttribute']('id')});if(!_0x4be137['safeInsert'](_0x4b83e5,_0x486b50['modelCursor']))return;_0x4be137['consumable']['consume'](_0x13113b,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2ebbe6=Array['from'](_0x13113b['getChildren']())['find'](_0xeb3181=>_0xeb3181['is']('element')&&_0xeb3181['hasClass']('footnote-content'));for(const _0x4f4c60 of _0x13113b['getChildren']())_0x4f4c60['is']('element')&&(_0x4be137['consumable']['consume'](_0x4f4c60,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4be137['consumable']['consume'](_0x4f4c60,{'name':!0x0,'classes':'footnote-content'}));if(_0x2ebbe6){if(_0x34ffa4)_0x4be137['convertChildren'](_0x2ebbe6,_0x4b83e5);else{const _0x48802a=_0x4be137['writer']['createElement']('footnoteInlineContent');_0x4be137['writer']['insert'](_0x48802a,_0x4b83e5),_0x4be137['convertChildren'](_0x2ebbe6,_0x48802a);}}_0x4be137['updateConversionResult'](_0x4b83e5,_0x486b50);});}),_0xdfc5c3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x52c566,{writer:_0x2a91c3})=>D(_0x52c566,_0x2a91c3,_0x4f822b,{'dataPipeline':!0x0})}),_0xdfc5c3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1463cd,{writer:_0x185f82})=>D(_0x1463cd,_0x185f82,_0x4f822b)});}['_defineBogusParagraphConverters'](){const {editor:_0x517d67}=this,{conversion:_0x201fd3}=_0x517d67;_0x517d67['config']['get']('footnotes.multiBlock')?(_0x201fd3['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x201fd3['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x517d67['model']['document'],'change:data',()=>{!function(_0x20b1e9,_0x451907){const _0x5b17c4=_0x20b1e9['document']['differ'],_0x1aaccd=new Set();for(const _0xe47e5f of _0x5b17c4['getChanges']()){const _0x42c00f='attribute'==_0xe47e5f['type']?_0xe47e5f['range']['start']['parent']:_0xe47e5f['position']['parent'];_0x42c00f['is']('element','footnoteDefinition')&&_0x1aaccd['add'](_0x42c00f);}for(const _0x11978e of _0x1aaccd['values']()){const _0x3835bd=Array['from'](_0x11978e['getChildren']())['filter'](_0x282d74=>p(_0x282d74,_0x451907['mapper']));for(const _0x5a003b of _0x3835bd)_0x451907['reconvertItem'](_0x5a003b);}}(_0x517d67['model'],_0x517d67['editing']);})):(_0x201fd3['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x201fd3['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x292e1f,{writer:_0x574ace})=>{const _0x5c3727=_0x574ace['createContainerElement']('span');return _0x574ace['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c3727),_0x5c3727;}}));}['_defineKeyboardHandlers'](){const {editor:_0x506118}=this,{editing:_0x86ec19,t:t}=_0x506118,_0x2d7664=_0x506118['model']['document']['selection'];_0x506118['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x506118['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0x86ec19['view']['document'],'enter',(_0x260663,_0x1643df)=>{const _0x18c746=function(_0x5a8f24){const _0x5be56d=_0x5a8f24['getSelectedElement']();if(_0x5be56d?.['is']('element','footnoteRef'))return _0x5be56d;return null;}(_0x2d7664);if(_0x18c746){const _0x17a9cd=_0x18c746['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x17a9cd),_0x1643df['preventDefault'](),_0x260663['stop']();}},{'context':_0x56867c});}['_defineClickHandlers'](){const {editor:_0x2fe7e5}=this,{editing:_0x4de9dc}=_0x2fe7e5;_0x2fe7e5['editing']['view']['addObserver'](_0x3b1ac0),_0x2fe7e5['editing']['view']['addObserver'](_0x2db507);let _0x7b7b8=!0x1;this['listenTo'](_0x4de9dc['view']['document'],'pointerdown',(_0x3d73d6,_0x58889d)=>{const {target:_0x3ef870}=_0x58889d,_0x163297=_0x4de9dc['view']['document']['selection'];_0x7b7b8=!(!_0x3ef870['is']('element','sup')||!_0x3ef870['hasClass']('footnote'))&&_0x163297['getSelectedElement']()===_0x3ef870;},{'priority':'high'}),this['listenTo'](_0x4de9dc['view']['document'],'click',(_0xeae346,_0x5506e3)=>{const {target:_0x30f1a3}=_0x5506e3,_0x3bc55a=_0x30f1a3['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x3bc55a['slice'](0x1)),_0xeae346['stop'](),_0x5506e3['preventDefault']();},{'priority':'high','context':_0x43025c=>_0x43025c['is']('element','sup')&&_0x43025c['hasClass']('footnote')&&_0x7b7b8}),this['listenTo'](_0x4de9dc['view']['document'],'click',(_0x50f7ff,_0x5ddb39)=>{const {target:_0x1c86b7}=_0x5ddb39;if(!_0x1c86b7['is']('element','a'))return;let _0x26d7e1=_0x1c86b7['getAttribute']('href');if(!_0x26d7e1?.['startsWith']('#'))return;_0x26d7e1=_0x26d7e1['slice'](0x1);let _0x54c7db=!0x1;(_0x26d7e1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x26d7e1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x26d7e1))&&(_0x54c7db=!0x0),_0x54c7db&&(_0x5ddb39['preventDefault'](),_0x50f7ff['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x28f17e}={}){return(_0x572206,{writer:_0x304adb})=>{if(!h(_0x572206))return null;if(!_0x28f17e)return _0x304adb['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xc10181=_0x304adb['createContainerElement']('p');return _0x304adb['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc10181),_0xc10181;};}function h(_0x4898d1){const {parent:_0x3e2a44}=_0x4898d1;if(!_0x3e2a44?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3e2a44['childCount'])return!0x1;for(const _0x1a1b37 of _0x4898d1['getAttributeKeys']())if(!_0x1a1b37['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a1b37)return!0x1;return!0x0;}function p(_0x16b9a8,_0x58d42a){if(!_0x16b9a8['is']('element','paragraph'))return!0x1;const _0x1886d1=_0x58d42a['toViewElement'](_0x16b9a8);return!!_0x1886d1&&h(_0x16b9a8)!==_0x1886d1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xd7bdf1){return _0x56867c(_0xd7bdf1)&&_0xd7bdf1['is']('containerElement')&&!!_0xd7bdf1['getCustomProperty']('footnotesDefinitions');}function g(_0x4b60b3,_0x33e0a2){const _0xf471b8=_0x4b60b3['getAttribute']('footnoteId'),_0x4c0849=_0x4b60b3['getAttribute']('footnoteCounter'),_0x366180=_0x33e0a2['createUIElement']('a',{'id':'ref-'+_0xf471b8,'href':'#'+_0xf471b8},function(_0x38869b){const _0x2eea87=this['toDomElement'](_0x38869b);return _0x2eea87['textContent']=_0x4c0849,_0x2eea87;}),_0x28e515=_0x33e0a2['createContainerElement']('sup',{'class':'footnote'},[_0x366180]);return _0x28e515['getFillerOffset']=()=>null,_0x28e515;}function D(_0x2d7c8a,_0xe010a7,_0x213210,{dataPipeline:_0x5b7df4}={}){const {t:t}=_0x213210,_0x1d350e=_0x2d7c8a['getAttribute']('footnoteId'),_0x441f65=_0xe010a7['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d350e},function(_0x48f702){const _0x23789a=this['toDomElement'](_0x48f702);return _0x23789a['innerText']='^',_0x23789a;}),_0x19d4d6=_0x5b7df4?_0xe010a7['createContainerElement']('div',{'class':'footnote-content'}):_0x2c030b(_0xe010a7['createEditableElement']('div',{'class':'footnote-content'}),_0xe010a7,{'label':t('Footnote\x20content.')});return _0xe010a7['insert'](_0xe010a7['createPositionAt'](_0x19d4d6,0x0),_0xe010a7['createSlot']()),_0xe010a7['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d350e},[_0x441f65,_0x19d4d6]);}
|
|
23
|
+
import{Plugin as _0x1a0332}from'ckeditor5/src/core.js';import{isWidget as _0x14b14a,toWidget as _0x3b6304,toWidgetEditable as _0x46fe99}from'ckeditor5/src/widget.js';import{uid as _0x586004}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4a2628,ClickObserver as _0x4e989a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x51c5e9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x251ec6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1a0332{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x51c5e9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9b6762}=this;_0x9b6762['config']['define']('footnotes.multiBlock',!0x0),_0x9b6762['commands']['add']('insertFootnote',new _0x251ec6(_0x9b6762)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1c06fb){const _0x24cb07=_0x5263fa([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0xa93d7d=0x47a28506,_0x28dab7=0x47a5f376^_0xa93d7d,_0x13091b=window[_0x5263fa([0x44,0x61,0x74,0x65])][_0x5263fa([0x6e,0x6f,0x77])](),_0x45c336=_0x1c06fb[_0x5263fa([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1a44d8=new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59329e=>{_0x45c336[_0x5263fa([0x6f,0x6e,0x63,0x65])](_0x5263fa([0x72,0x65,0x61,0x64,0x79]),_0x59329e);}),_0x4efacb={[_0x5263fa([0x6b,0x74,0x79])]:_0x5263fa([0x45,0x43]),[_0x5263fa([0x75,0x73,0x65])]:_0x5263fa([0x73,0x69,0x67]),[_0x5263fa([0x63,0x72,0x76])]:_0x5263fa([0x50,0x2d,0x32,0x35,0x36]),[_0x5263fa([0x78])]:_0x5263fa([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x5263fa([0x79])]:_0x5263fa([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x5263fa([0x61,0x6c,0x67])]:_0x5263fa([0x45,0x53,0x32,0x35,0x36])},_0x51c79e=_0x45c336[_0x5263fa([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5263fa([0x67,0x65,0x74])](_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x511ea9(){let _0x595360,_0x41a361=null,_0x5c19ac=null;try{if(_0x51c79e==_0x5263fa([0x47,0x50,0x4c]))return _0x5263fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x595360=_0x50389d(),!_0x595360)return _0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x595360[_0x5263fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5c19ac=_0x3a365d(_0x595360[_0x5263fa([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x595360[_0x5263fa([0x6a,0x74,0x69])])),await _0x2b71df()?_0x2e8670()?_0x263a66()?_0x5263fa([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4a1499()?(_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5263fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x41a361=_0x3f07f7(_0x5263fa([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5263fa([0x74,0x72,0x69,0x61,0x6c])&&(_0x41a361=_0x3f07f7(_0x5263fa([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x49b6f5()):_0x5263fa([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5263fa([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5263fa([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x263a66(){const _0x5f44ba=[_0x5263fa([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5263fa([0x74,0x72,0x69,0x61,0x6c])][_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13091b/0x3e8:0xe10*_0x28dab7;return _0x595360[_0x5263fa([0x65,0x78,0x70])]<_0x5f44ba;}function _0x2e8670(){const _0x4b7d07=_0x595360[_0x5263fa([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4b7d07&&(!!_0x4b7d07[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x2a]))||!!_0x4b7d07[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x46,0x4f,0x4f])));}function _0x4a1499(){const _0x528322=_0x595360[_0x5263fa([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x528322||0x0==_0x528322[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x54a773}=new URL(window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x528322[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54a773))return!0x0;const _0x4bf96f=_0x54a773[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e]));return _0x528322[_0x5263fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2c46e8=>_0x2c46e8[_0x5263fa([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5263fa([0x2a])))[_0x5263fa([0x6d,0x61,0x70])](_0x349144=>_0x349144[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e])))[_0x5263fa([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f4669=>_0x5f4669[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4bf96f[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5263fa([0x6d,0x61,0x70])](_0x86a109=>Array(_0x4bf96f[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x86a109[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5263fa([0x66,0x69,0x6c,0x6c])](_0x86a109[0x0]===_0x5263fa([0x2a])?_0x5263fa([0x2a]):'')[_0x5263fa([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x86a109))[_0x5263fa([0x73,0x6f,0x6d,0x65])](_0x403c93=>_0x4bf96f[_0x5263fa([0x65,0x76,0x65,0x72,0x79])]((_0x1c60f0,_0x3e576e)=>_0x403c93[_0x3e576e]===_0x1c60f0||_0x403c93[_0x3e576e]===_0x5263fa([0x2a])));}function _0x49b6f5(){return _0x41a361&&_0x5c19ac?new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x59d218,_0x571e61)=>{_0x41a361[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x59d218,_0x571e61),_0x5c19ac[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x2e09da=>{_0x2e09da!=_0x5263fa([0x56,0x61,0x6c,0x69,0x64])&&_0x59d218(_0x2e09da);},_0x571e61);}):_0x41a361||_0x5c19ac||_0x5263fa([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3a365d(_0x1f6632,_0x231d66){return new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e9c13=>{if(_0x4e81fb())return _0x4e9c13(_0x5263fa([0x56,0x61,0x6c,0x69,0x64]));_0x2749ae(),_0x45c336[_0x5263fa([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x242686=!0x1;const _0x235674=_0x586004();function _0x17d1f1(_0x51b77d){return!!_0x51b77d&&(typeof _0x51b77d===_0x5263fa([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x51b77d===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x51b77d[_0x5263fa([0x74,0x68,0x65,0x6e])]===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x51b77d[_0x5263fa([0x63,0x61,0x74,0x63,0x68])]===_0x5263fa([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27d0f7(_0x21b225){_0x1ed610(_0x21b225)[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x5069b1=>{if(!_0x5069b1||_0x5069b1[_0x5263fa([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5263fa([0x6f,0x6b]))return _0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x337cf2(_0x2fe162(_0x235674+_0x231d66))!=_0x5069b1[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5263fa([0x56,0x61,0x6c,0x69,0x64]);})[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x392738=>(_0x89483f(),_0x392738),()=>{const _0x181751=_0xef8b2();return null==_0x181751?(_0x89483f(),_0x5263fa([0x56,0x61,0x6c,0x69,0x64])):_0x5263fa(_0x13091b-_0x181751>(0x63ae0106^_0xa93d7d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x4e9c13)[_0x5263fa([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x127e46=0x47946b86^_0xa93d7d;function _0x89483f(){const _0x2ca429=_0x5263fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x337cf2(_0x2fe162(_0x1f6632)),_0x48a9=_0x14b67f(_0x337cf2(window[_0x5263fa([0x4d,0x61,0x74,0x68])][_0x5263fa([0x63,0x65,0x69,0x6c])](_0x13091b/_0x127e46)));window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5263fa([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ca429,_0x48a9);}function _0xef8b2(){const _0xdfc383=_0x5263fa([0x6c,0x6c,0x63,0x74,0x2d])+_0x337cf2(_0x2fe162(_0x1f6632)),_0x2ba32e=window[_0x5263fa([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5263fa([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xdfc383);return _0x2ba32e?window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14b67f(_0x2ba32e),0x10)*_0x127e46:null;}function _0x1ed610(_0x434814){return new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ba4d5,_0x40a806)=>{_0x434814[_0x5263fa([0x74,0x68,0x65,0x6e])](_0x3ba4d5,_0x40a806),window[_0x5263fa([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x40a806,0x47a351c6^_0xa93d7d);});}}_0x45c336[_0x5263fa([0x6f,0x6e])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xc28679,_0x55c0b4)=>{if(_0x55c0b4[0x0]!=_0x1f6632)return _0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x55c0b4[0x1]={..._0x55c0b4[0x1],[_0x5263fa([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x235674};},{[_0x5263fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5263fa([0x68,0x69,0x67,0x68])}),_0x45c336[_0x5263fa([0x6f,0x6e])](_0x5263fa([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x35bd01=>{_0x17d1f1(_0x35bd01[_0x5263fa([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x242686=!0x0,_0x27d0f7(_0x35bd01[_0x5263fa([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5263fa([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5263fa([0x6c,0x6f,0x77])}),_0x1a44d8[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>{_0x242686||_0x4e9c13(_0x5263fa([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4e81fb(){return _0x45c336[_0x5263fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5263fa([0x76,0x69,0x65,0x77])][_0x5263fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5263fa([0x61,0x75,0x74,0x6f]);}function _0x2749ae(){_0x45c336[_0x5263fa([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5263fa([0x76,0x69,0x65,0x77])][_0x5263fa([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5263fa([0x61,0x75,0x74,0x6f]);}}function _0x3f07f7(_0x1ca61f){const _0x2a0775=[new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x414cef=>setTimeout(_0x414cef,0x47abbbca^_0xa93d7d)),_0x1a44d8[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x59fa24=>{let _0x58d2ea=0x0;_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x6f,0x6e])](_0x5263fa([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19fa22,_0x4b83b6)=>{_0x4b83b6[0x0][_0x5263fa([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x58d2ea++,_0x58d2ea==(0x47a284fe^_0xa93d7d)&&(_0x59fa24(),_0x19fa22[_0x5263fa([0x6f,0x66,0x66])]());});}))];return window[_0x5263fa([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5263fa([0x72,0x61,0x63,0x65])](_0x2a0775)[_0x5263fa([0x74,0x68,0x65,0x6e])](()=>_0x1ca61f);}async function _0x1f5637(){await _0x1a44d8,_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xdca197,_0x45c336[_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c])][_0x5263fa([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xdca197,_0x45c336[_0x5263fa([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5263fa([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x2967d0(_0x5eb190){const _0x366cb7=_0xb29f01();_0x45c336[_0x366cb7]=_0x5263fa([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5eb190,_0x5eb190!=_0x5263fa([0x56,0x61,0x6c,0x69,0x64])&&_0x1f5637();}function _0xb29f01(){const _0xec7587=window[_0x5263fa([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5263fa([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5263fa([0x6e,0x6f,0x77])]())[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5263fa([0x2e]),'');let _0x1c9f2e=_0x5263fa([0x75]);for(let _0x293d7a=0x0;_0x293d7a<_0xec7587[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x293d7a+=0x2){let _0x1bd276=window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xec7587[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x293d7a,_0x293d7a+0x2));_0x1bd276>=_0x24cb07[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1bd276-=_0x24cb07[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c9f2e+=_0x24cb07[_0x1bd276];}return _0x1c9f2e;}function _0x50389d(){const _0x30cd25=_0x51c79e[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e]));if(0x3!=_0x30cd25[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4a21dd(_0x30cd25[0x1]);function _0x4a21dd(_0x57fcf3){const _0x3d7dec=_0x4a51d7(_0x57fcf3);return _0x3d7dec&&_0x17c437()?_0x3d7dec:null;function _0x17c437(){const _0x586309=_0x3d7dec[_0x5263fa([0x6a,0x74,0x69])],_0x3dc465=window[_0x5263fa([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x586309[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x586309[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x324582={..._0x3d7dec,[_0x5263fa([0x6a,0x74,0x69])]:_0x586309[_0x5263fa([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x586309[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x324582[_0x5263fa([0x76,0x63])],_0x2fe162(_0x324582)==_0x3dc465;}}}async function _0x2b71df(){let _0xf3cc4=!0x0;try{const _0x40f50a=_0x51c79e[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])](_0x5263fa([0x2e])),[_0x5bf257,_0x287197,_0x5a9c02]=_0x40f50a;return _0x585488(_0x5bf257),await _0x596f7f(_0x5bf257,_0x287197,_0x5a9c02),_0xf3cc4;}catch{return!0x1;}function _0x585488(_0x1179a2){const _0x259146=_0x4a51d7(_0x1179a2);_0x259146&&_0x259146[_0x5263fa([0x61,0x6c,0x67])]==_0x5263fa([0x45,0x53,0x32,0x35,0x36])||(_0xf3cc4=!0x1);}async function _0x596f7f(_0xa85c75,_0x501df4,_0x4a7002){const _0x4c9cec=window[_0x5263fa([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5263fa([0x66,0x72,0x6f,0x6d])](_0xa3546a(_0x4a7002),_0x249cce=>_0x249cce[_0x5263fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3be96e=new window[(_0x5263fa([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5263fa([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0xa85c75+_0x5263fa([0x2e])+_0x501df4),_0x51ff58=window[_0x5263fa([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5263fa([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x51ff58)return;const _0x3b67a9=await _0x51ff58[_0x5263fa([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5263fa([0x6a,0x77,0x6b]),_0x4efacb,{[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x45,0x43,0x44,0x53,0x41]),[_0x5263fa([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5263fa([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x51ff58[_0x5263fa([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x45,0x43,0x44,0x53,0x41]),[_0x5263fa([0x68,0x61,0x73,0x68])]:{[_0x5263fa([0x6e,0x61,0x6d,0x65])]:_0x5263fa([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3b67a9,_0x4c9cec,_0x3be96e)||(_0xf3cc4=!0x1);}}function _0x4a51d7(_0x53ae82){return _0x53ae82[_0x5263fa([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5263fa([0x65,0x79]))?JSON[_0x5263fa([0x70,0x61,0x72,0x73,0x65])](_0xa3546a(_0x53ae82)):null;}function _0xa3546a(_0x3853d6){return window[_0x5263fa([0x61,0x74,0x6f,0x62])](_0x3853d6[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5263fa([0x2b]))[_0x5263fa([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5263fa([0x2f])));}function _0x2fe162(_0x1a09d1){let _0x2cbc4c=0x1505;function _0x10a0bd(_0x153d96){for(let _0x42ea05=0x0;_0x42ea05<_0x153d96[_0x5263fa([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x42ea05++){const _0x4b17bb=_0x153d96[_0x5263fa([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x42ea05);_0x2cbc4c=(_0x2cbc4c<<0x5)+_0x2cbc4c+_0x4b17bb,_0x2cbc4c&=_0x2cbc4c;}}function _0x1dadb1(_0x4d07be){Array[_0x5263fa([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4d07be)?_0x4d07be[_0x5263fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1dadb1):_0x4d07be&&typeof _0x4d07be==_0x5263fa([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5263fa([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4d07be)[_0x5263fa([0x73,0x6f,0x72,0x74])]()[_0x5263fa([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x41f49a,_0x26492a])=>{_0x10a0bd(_0x41f49a),_0x1dadb1(_0x26492a);}):_0x10a0bd(window[_0x5263fa([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4d07be));}return _0x1dadb1(_0x1a09d1),_0x2cbc4c>>>0x0;}function _0x337cf2(_0x4f6296){return _0x4f6296[_0x5263fa([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5263fa([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5263fa([0x30]));}function _0x14b67f(_0x4cd3d9){return _0x4cd3d9[_0x5263fa([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5263fa([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5263fa([0x6a,0x6f,0x69,0x6e])]('');}function _0xdca197(){}function _0x5263fa(_0x3c9f6f){return _0x3c9f6f['map'](_0x3b5006=>String['fromCharCode'](_0x3b5006))['join']('');}_0x2967d0(await _0x511ea9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5e45f3){const {plugins:_0x1a06d4,editing:_0x4a713d,model:_0x2c2d16}=this['editor'],_0x172c71=_0x1a06d4['get'](_0x51c5e9)['getFootnote'](_0x5e45f3);return!!_0x172c71&&(_0x2c2d16['change'](_0xfd2074=>{_0xfd2074['setSelection'](_0xfd2074['createPositionAt'](_0x172c71['definition'],'end'));}),_0x4a713d['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xbaaad5){const {plugins:_0x2f3910,editing:_0x3c69e0,model:_0x1da416}=this['editor'],_0x290e8f=_0x2f3910['get'](_0x51c5e9)['getFootnote'](_0xbaaad5);return!!_0x290e8f&&(_0x1da416['change'](_0x415b83=>{_0x415b83['setSelection'](_0x290e8f['reference'],'on');}),_0x3c69e0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1062f4}=this['editor']['model'],_0x4d0477=this['editor']['config']['get']('footnotes.multiBlock');_0x1062f4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1062f4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1062f4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d0477?_0x1062f4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1062f4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1062f4['addChildCheck'](_0x20db7a=>{for(const _0x369b0e of _0x20db7a)if('footnoteDefinition'===_0x369b0e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x305486}=this,{conversion:_0x3bb804,editing:_0x3bb8d8}=_0x305486,{t:t}=_0x305486['locale'];_0x3bb804['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1b6193,{writer:_0x531b16,consumable:_0x4e7cc9})=>{const _0x576454=_0x1b6193['getChild'](0x0);if(!_0x576454||!_0x576454['is']('element','a'))return null;const _0x1ad5ae=_0x576454['getAttribute']('href')||'';if(!_0x1ad5ae['startsWith']('#'))return null;const _0x1e9883=_0x1ad5ae['replace'](/^#/,'');if(!_0x1e9883)return null;_0x4e7cc9['consume'](_0x576454,{'name':!0x0,'attributes':['href']});for(const {item:_0x116e1e}of _0x3bb8d8['view']['createRangeIn'](_0x576454))_0x116e1e['is']('$textProxy')?_0x4e7cc9['consume'](_0x116e1e['textNode'],{'name':!0x0}):_0x116e1e['is']('element')&&_0x4e7cc9['consume'](_0x116e1e,{'name':!0x0});return _0x531b16['createElement']('footnoteRef',{'footnoteId':_0x1e9883});}}),_0x3bb804['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3bf1f3,{writer:_0xdfc4b})=>g(_0x3bf1f3,_0xdfc4b)}),_0x3bb804['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4807eb,{writer:_0x417bf6})=>{const _0x723250=_0x4807eb['getAttribute']('footnoteCounter');return _0x3b6304(g(_0x4807eb,_0x417bf6),_0x417bf6,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x723250)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5928a0}=this,{t:t}=_0x5928a0['locale'],{conversion:_0x24db4f}=_0x5928a0;_0x24db4f['for']('upcast')['elementToElement']({'view':{'name':'ol','classes':['footnotes']},'model':'footnotesDefinitions','converterPriority':'high'}),_0x24db4f['for']('dataDowncast')['elementToElement']({'model':'footnotesDefinitions','view':{'name':'ol','classes':['footnotes']}}),_0x24db4f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x7ca2f0,{writer:_0x59e804})=>{const _0x42c6ec=_0x59e804['createContainerElement']('div',{'class':'footnotes-wrapper','data-footnotes-list-label':t('Footnotes')},_0x59e804['createContainerElement']('ol',{'class':'footnotes'},_0x59e804['createSlot']())),_0x4c256e=_0x3b6304(_0x42c6ec,_0x59e804,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x59e804['setCustomProperty']('footnotesDefinitions',!0x0,_0x4c256e),_0x4c256e;}});}['_defineDefinitionConverters'](){const {editor:_0x2f205a}=this,{conversion:_0x5be7ff,locale:_0x1549f6}=_0x2f205a,_0x14dbb8=_0x2f205a['config']['get']('footnotes.multiBlock');_0x5be7ff['for']('upcast')['add'](_0x4b3eca=>{_0x4b3eca['on']('element:li',(_0x393505,_0x8da47d,_0x1792e3)=>{const _0x15a441=_0x8da47d['viewItem'];if(!_0x15a441['hasClass']('footnote-definition')||!_0x15a441['getAttribute']('id'))return;const _0x79ce2f=_0x15a441['parent'];if(!_0x79ce2f['is']('element','ol')||!_0x79ce2f['hasClass']('footnotes'))return;if(!_0x1792e3['consumable']['test'](_0x15a441,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x54c682=_0x1792e3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x15a441['getAttribute']('id')});if(!_0x1792e3['safeInsert'](_0x54c682,_0x8da47d['modelCursor']))return;_0x1792e3['consumable']['consume'](_0x15a441,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xec4b1=Array['from'](_0x15a441['getChildren']())['find'](_0x345540=>_0x345540['is']('element')&&_0x345540['hasClass']('footnote-content'));for(const _0x24d41e of _0x15a441['getChildren']())_0x24d41e['is']('element')&&(_0x1792e3['consumable']['consume'](_0x24d41e,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1792e3['consumable']['consume'](_0x24d41e,{'name':!0x0,'classes':'footnote-content'}));if(_0xec4b1){if(_0x14dbb8)_0x1792e3['convertChildren'](_0xec4b1,_0x54c682);else{const _0xe60e68=_0x1792e3['writer']['createElement']('footnoteInlineContent');_0x1792e3['writer']['insert'](_0xe60e68,_0x54c682),_0x1792e3['convertChildren'](_0xec4b1,_0xe60e68);}}_0x1792e3['updateConversionResult'](_0x54c682,_0x8da47d);});}),_0x5be7ff['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c546c,{writer:_0x1796b5})=>D(_0x1c546c,_0x1796b5,_0x1549f6,{'dataPipeline':!0x0})}),_0x5be7ff['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x44d4c2,{writer:_0xb78929})=>D(_0x44d4c2,_0xb78929,_0x1549f6)});}['_defineBogusParagraphConverters'](){const {editor:_0x117a73}=this,{conversion:_0xa9eb41}=_0x117a73;_0x117a73['config']['get']('footnotes.multiBlock')?(_0xa9eb41['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0xa9eb41['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x117a73['model']['document'],'change:data',()=>{!function(_0x19bfbc,_0x32a82b){const _0x561cdb=_0x19bfbc['document']['differ'],_0x5b6a14=new Set();for(const _0x6aeca9 of _0x561cdb['getChanges']()){const _0x166542='attribute'==_0x6aeca9['type']?_0x6aeca9['range']['start']['parent']:_0x6aeca9['position']['parent'];_0x166542['is']('element','footnoteDefinition')&&_0x5b6a14['add'](_0x166542);}for(const _0x37a660 of _0x5b6a14['values']()){const _0x4d9697=Array['from'](_0x37a660['getChildren']())['filter'](_0x1a204d=>p(_0x1a204d,_0x32a82b['mapper']));for(const _0x26c347 of _0x4d9697)_0x32a82b['reconvertItem'](_0x26c347);}}(_0x117a73['model'],_0x117a73['editing']);})):(_0xa9eb41['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0xa9eb41['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x46b186,{writer:_0x540948})=>{const _0x3ed153=_0x540948['createContainerElement']('span');return _0x540948['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ed153),_0x3ed153;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2cc1b4}=this,{editing:_0xa46942,t:t}=_0x2cc1b4,_0x4de601=_0x2cc1b4['model']['document']['selection'];_0x2cc1b4['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x2cc1b4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0xa46942['view']['document'],'enter',(_0x4e1211,_0x46d757)=>{const _0x11238c=function(_0x5519d4){const _0x4dfd00=_0x5519d4['getSelectedElement']();if(_0x4dfd00?.['is']('element','footnoteRef'))return _0x4dfd00;return null;}(_0x4de601);if(_0x11238c){const _0x2bb9f9=_0x11238c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2bb9f9),_0x46d757['preventDefault'](),_0x4e1211['stop']();}},{'context':_0x14b14a});}['_defineClickHandlers'](){const {editor:_0x2cd436}=this,{editing:_0x21fdae}=_0x2cd436;_0x2cd436['editing']['view']['addObserver'](_0x4a2628),_0x2cd436['editing']['view']['addObserver'](_0x4e989a);let _0x419d3d=!0x1;this['listenTo'](_0x21fdae['view']['document'],'pointerdown',(_0xe181f3,_0x4396cb)=>{const {target:_0xfea8f0}=_0x4396cb,_0x1255c7=_0x21fdae['view']['document']['selection'];_0x419d3d=!(!_0xfea8f0['is']('element','sup')||!_0xfea8f0['hasClass']('footnote'))&&_0x1255c7['getSelectedElement']()===_0xfea8f0;},{'priority':'high'}),this['listenTo'](_0x21fdae['view']['document'],'click',(_0x22971d,_0x297f99)=>{const {target:_0xec14f6}=_0x297f99,_0x217f8d=_0xec14f6['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x217f8d['slice'](0x1)),_0x22971d['stop'](),_0x297f99['preventDefault']();},{'priority':'high','context':_0x281fec=>_0x281fec['is']('element','sup')&&_0x281fec['hasClass']('footnote')&&_0x419d3d}),this['listenTo'](_0x21fdae['view']['document'],'click',(_0x3087e3,_0x95bd15)=>{const {target:_0x56efc0}=_0x95bd15;if(!_0x56efc0['is']('element','a'))return;let _0x3abc1=_0x56efc0['getAttribute']('href');if(!_0x3abc1?.['startsWith']('#'))return;_0x3abc1=_0x3abc1['slice'](0x1);let _0x5ef10f=!0x1;(_0x3abc1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3abc1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3abc1))&&(_0x5ef10f=!0x0),_0x5ef10f&&(_0x95bd15['preventDefault'](),_0x3087e3['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x5bdbdf}={}){return(_0x38da3f,{writer:_0x208450})=>{if(!h(_0x38da3f))return null;if(!_0x5bdbdf)return _0x208450['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4e9864=_0x208450['createContainerElement']('p');return _0x208450['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4e9864),_0x4e9864;};}function h(_0x1c328a){const {parent:_0x1c2107}=_0x1c328a;if(!_0x1c2107?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1c2107['childCount'])return!0x1;for(const _0x3683b0 of _0x1c328a['getAttributeKeys']())if(!_0x3683b0['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3683b0)return!0x1;return!0x0;}function p(_0x5f508a,_0x1346af){if(!_0x5f508a['is']('element','paragraph'))return!0x1;const _0x206323=_0x1346af['toViewElement'](_0x5f508a);return!!_0x206323&&h(_0x5f508a)!==_0x206323['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x41d788){return _0x14b14a(_0x41d788)&&_0x41d788['is']('containerElement')&&!!_0x41d788['getCustomProperty']('footnotesDefinitions');}function g(_0x44def3,_0x4984da){const _0x2725fc=_0x44def3['getAttribute']('footnoteId'),_0x1e77d4=_0x44def3['getAttribute']('footnoteCounter'),_0x1ebec6=_0x4984da['createUIElement']('a',{'id':'ref-'+_0x2725fc,'href':'#'+_0x2725fc},function(_0x17d400){const _0x44d5ca=this['toDomElement'](_0x17d400);return _0x44d5ca['textContent']=_0x1e77d4,_0x44d5ca;}),_0xcae789=_0x4984da['createContainerElement']('sup',{'class':'footnote'},[_0x1ebec6]);return _0xcae789['getFillerOffset']=()=>null,_0xcae789;}function D(_0x5b73fd,_0xec3b75,_0x5ad3f3,{dataPipeline:_0x17393f}={}){const {t:t}=_0x5ad3f3,_0x43ef04=_0x5b73fd['getAttribute']('footnoteId'),_0xdd806b=_0xec3b75['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x43ef04},function(_0x390d1d){const _0x9f6b5f=this['toDomElement'](_0x390d1d);return _0x9f6b5f['innerText']='^',_0x9f6b5f;}),_0x45fd5e=_0x17393f?_0xec3b75['createContainerElement']('div',{'class':'footnote-content'}):_0x46fe99(_0xec3b75['createEditableElement']('div',{'class':'footnote-content'}),_0xec3b75,{'label':t('Footnote\x20content.')});return _0xec3b75['insert'](_0xec3b75['createPositionAt'](_0x45fd5e,0x0),_0xec3b75['createSlot']()),_0xec3b75['createContainerElement']('li',{'class':'footnote-definition','id':_0x43ef04},[_0xdd806b,_0x45fd5e]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x3690cd=_0x33a0;(function(_0x586ec5,_0x53fd2f){const _0x3c4e55=_0x33a0,_0x30bda1=_0x586ec5();while(!![]){try{const _0x2327ec=-parseInt(_0x3c4e55(0x76))/0x1+-parseInt(_0x3c4e55(0x71))/0x2*(-parseInt(_0x3c4e55(0x7a))/0x3)+parseInt(_0x3c4e55(0x88))/0x4*(-parseInt(_0x3c4e55(0x80))/0x5)+parseInt(_0x3c4e55(0x83))/0x6+-parseInt(_0x3c4e55(0x7e))/0x7+-parseInt(_0x3c4e55(0x77))/0x8+-parseInt(_0x3c4e55(0x85))/0x9*(-parseInt(_0x3c4e55(0x78))/0xa);if(_0x2327ec===_0x53fd2f)break;else _0x30bda1['push'](_0x30bda1['shift']());}catch(_0x3ef162){_0x30bda1['push'](_0x30bda1['shift']());}}}(_0x239a,0xa6369));import{Command as _0x3e8969}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x387a5f}from'../../footnotestracker.js';function _0x33a0(_0x43715c,_0x26b79d){const _0x239af8=_0x239a();return _0x33a0=function(_0x33a07,_0xa7606e){_0x33a07=_0x33a07-0x71;let _0x1e9334=_0x239af8[_0x33a07];return _0x1e9334;},_0x33a0(_0x43715c,_0x26b79d);}export class FootnotesStartCommand extends _0x3e8969{[_0x3690cd(0x7b)](){const _0x3fa477=_0x3690cd,{editor:_0x41d159}=this,_0x3f9473=_0x41d159[_0x3fa477(0x81)][_0x3fa477(0x86)](_0x387a5f)[_0x3fa477(0x79)]();this[_0x3fa477(0x87)]=!!_0x3f9473,this[_0x3fa477(0x75)]=_0x3f9473?.[_0x3fa477(0x82)](_0x3fa477(0x7f))??null;}[_0x3690cd(0x74)]({value:_0x5e33af}){const _0x440361=_0x3690cd,{editor:_0x1125fa}=this,_0x375ec1=_0x1125fa[_0x440361(0x81)][_0x440361(0x86)](_0x387a5f),_0x302d1b=_0x375ec1[_0x440361(0x79)]();_0x302d1b&&Number[_0x440361(0x73)](_0x5e33af)&&_0x1125fa[_0x440361(0x7c)][_0x440361(0x84)](_0x1dcd15=>{const _0x3edb6e=_0x440361;_0x1dcd15[_0x3edb6e(0x72)](_0x3edb6e(0x7f),_0x5e33af,_0x302d1b),_0x375ec1[_0x3edb6e(0x7d)](_0x1dcd15);});}}function _0x239a(){const _0x21b40e=['96044cKCeJD','setAttribute','isInteger','execute','value','1284797wkMbej','9714600MibaNP','10AjAidT','getFootnotesDefinitionsObjectElement','30pwlYCK','refresh','model','_updateFootnotesCounters','3762899RFthKg','footnotesListStart','3648340gZnQzf','plugins','getAttribute','2323734AzUjTz','change','32216823ePLxXL','get','isEnabled','4FBpUQZ'];_0x239a=function(){return _0x21b40e;};return _0x239a();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0x1f7419=_0x4d7b;(function(_0xbe195e,_0x4c738f){const _0x489416=_0x4d7b,_0x2ee255=_0xbe195e();while(!![]){try{const _0x4d2d06=-parseInt(_0x489416(0x1b6))/0x1*(-parseInt(_0x489416(0x1c0))/0x2)+-parseInt(_0x489416(0x1c1))/0x3*(parseInt(_0x489416(0x1bb))/0x4)+parseInt(_0x489416(0x1ca))/0x5+parseInt(_0x489416(0x1c2))/0x6+-parseInt(_0x489416(0x1c9))/0x7+-parseInt(_0x489416(0x1c7))/0x8+parseInt(_0x489416(0x1c5))/0x9;if(_0x4d2d06===_0x4c738f)break;else _0x2ee255['push'](_0x2ee255['shift']());}catch(_0x4f33fb){_0x2ee255['push'](_0x2ee255['shift']());}}}(_0x3716,0x19693));import{Command as _0x5ecc93}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x34db7a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x42702a}from'../../footnotestracker.js';function _0x4d7b(_0x207749,_0x2e63d7){const _0x3716f1=_0x3716();return _0x4d7b=function(_0x4d7b78,_0x360b20){_0x4d7b78=_0x4d7b78-0x1b5;let _0x50b570=_0x3716f1[_0x4d7b78];return _0x50b570;},_0x4d7b(_0x207749,_0x2e63d7);}function _0x3716(){const _0x4734a4=['1260952MtmEHs','292260lRNfPh','plugins','refresh','1555zMfVEn','execute','_updateFootnotesCounters','getAttribute','setAttribute','624892ZIkkTa','footnotesListStyle','includes','change','value','2hxFZzK','3mQBMks','288462MQQgJu','isEnabled','model','3569049PhXxSm','getFootnotesDefinitionsObjectElement','513624CIPyNy','get'];_0x3716=function(){return _0x4734a4;};return _0x3716();}export class FootnotesStyleCommand extends _0x5ecc93{[_0x1f7419(0x1b5)](){const _0x5c133d=_0x1f7419,{editor:_0xa9606b}=this,_0x36c68c=_0xa9606b[_0x5c133d(0x1cb)][_0x5c133d(0x1c8)](_0x42702a)[_0x5c133d(0x1c6)]();this[_0x5c133d(0x1c3)]=!!_0x36c68c,this[_0x5c133d(0x1bf)]=_0x36c68c?.[_0x5c133d(0x1b9)](_0x5c133d(0x1bc))??null;}[_0x1f7419(0x1b7)]({value:_0x516bd4}){const _0x50e81e=_0x1f7419,{editor:_0x4a9f0b}=this,_0x50d959=_0x4a9f0b[_0x50e81e(0x1cb)][_0x50e81e(0x1c8)](_0x42702a),_0x1752ae=_0x50d959[_0x50e81e(0x1c6)]();_0x1752ae&&_0x34db7a[_0x50e81e(0x1bd)](_0x516bd4)&&_0x4a9f0b[_0x50e81e(0x1c4)][_0x50e81e(0x1be)](_0x1f9076=>{const _0x429e4c=_0x50e81e;_0x1f9076[_0x429e4c(0x1ba)](_0x429e4c(0x1bc),_0x516bd4,_0x1752ae),_0x50d959[_0x429e4c(0x1b8)](_0x1f9076);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x287982=_0x2fa5;function _0x12a3(){const _0x5a26d5=['40329phRlSq','upper-roman','22LUYMls','2910AWPxZf','40388UKwRPS','decimal-leading-zero','decimal','1165WCApPS','upper-latin','lower-roman','lower-alpha','1869408dJWVOf','upper-alpha','7CLDAMg','12124136tEYLtT','35vynjRz','16403364gvqKUx','7322082TYkfJl','8764IJWitV','lower-latin'];_0x12a3=function(){return _0x5a26d5;};return _0x12a3();}(function(_0x3c9ed6,_0x31b0ac){const _0x4e3b6a=_0x2fa5,_0x5b6403=_0x3c9ed6();while(!![]){try{const _0x1de863=parseInt(_0x4e3b6a(0x172))/0x1*(-parseInt(_0x4e3b6a(0x17b))/0x2)+-parseInt(_0x4e3b6a(0x182))/0x3+-parseInt(_0x4e3b6a(0x175))/0x4*(-parseInt(_0x4e3b6a(0x17e))/0x5)+-parseInt(_0x4e3b6a(0x174))/0x6+-parseInt(_0x4e3b6a(0x170))/0x7*(-parseInt(_0x4e3b6a(0x171))/0x8)+-parseInt(_0x4e3b6a(0x177))/0x9*(parseInt(_0x4e3b6a(0x17a))/0xa)+-parseInt(_0x4e3b6a(0x179))/0xb*(-parseInt(_0x4e3b6a(0x173))/0xc);if(_0x1de863===_0x31b0ac)break;else _0x5b6403['push'](_0x5b6403['shift']());}catch(_0x386159){_0x5b6403['push'](_0x5b6403['shift']());}}}(_0x12a3,0xdd1c6));function _0x2fa5(_0x1ff967,_0xa8f410){const _0x12a372=_0x12a3();return _0x2fa5=function(_0x2fa54c,_0x576920){_0x2fa54c=_0x2fa54c-0x170;let _0x3ef675=_0x12a372[_0x2fa54c];return _0x3ef675;},_0x2fa5(_0x1ff967,_0xa8f410);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x287982(0x17d),_0x287982(0x17c),_0x287982(0x176),_0x287982(0x17f),_0x287982(0x181),_0x287982(0x183),_0x287982(0x180),_0x287982(0x178)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x45b55b=_0x3539;(function(_0x13bff9,_0x27a37d){const _0x54274c=_0x3539,_0x54ec1f=_0x13bff9();while(!![]){try{const _0xdc0c35=-parseInt(_0x54274c(0x1a9))/0x1+-parseInt(_0x54274c(0x1a4))/0x2*(-parseInt(_0x54274c(0x183))/0x3)+parseInt(_0x54274c(0x1da))/0x4*(-parseInt(_0x54274c(0x1b8))/0x5)+parseInt(_0x54274c(0x1d2))/0x6*(-parseInt(_0x54274c(0x1e1))/0x7)+parseInt(_0x54274c(0x1d0))/0x8+parseInt(_0x54274c(0x197))/0x9*(parseInt(_0x54274c(0x19d))/0xa)+parseInt(_0x54274c(0x1c0))/0xb*(parseInt(_0x54274c(0x1ad))/0xc);if(_0xdc0c35===_0x27a37d)break;else _0x54ec1f['push'](_0x54ec1f['shift']());}catch(_0x4acb26){_0x54ec1f['push'](_0x54ec1f['shift']());}}}(_0x49ea,0x74f2c));import{Plugin as _0x18f536}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x37e4a5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3c901b}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3ab7dd}from'../footnotestracker.js';function _0x3539(_0x1225a2,_0x3d8cac){const _0x49eaa9=_0x49ea();return _0x3539=function(_0x3539af,_0x4757e8){_0x3539af=_0x3539af-0x17d;let _0x3d0718=_0x49eaa9[_0x3539af];return _0x3d0718;},_0x3539(_0x1225a2,_0x3d8cac);}import{FootnotesEditing as _0x3c6e5a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x18f536{static get[_0x45b55b(0x1b6)](){const _0x26b182=_0x45b55b;return _0x26b182(0x1c6);}static get[_0x45b55b(0x1d4)](){return[_0x3c6e5a,_0x3ab7dd];}static get[_0x45b55b(0x1a8)](){return!0x0;}static get[_0x45b55b(0x1d8)](){return!0x0;}[_0x45b55b(0x1d6)](){const _0x459c68=_0x45b55b,{editor:_0x2b28ea}=this;_0x2b28ea[_0x459c68(0x1a7)][_0x459c68(0x1e2)](_0x459c68(0x19e),_0x459c68(0x19c)),_0x2b28ea[_0x459c68(0x1a7)][_0x459c68(0x1e2)](_0x459c68(0x1de),0x1),_0x2b28ea[_0x459c68(0x198)][_0x459c68(0x192)](_0x459c68(0x1b3),new _0x37e4a5(_0x2b28ea)),_0x2b28ea[_0x459c68(0x198)][_0x459c68(0x192)](_0x459c68(0x1cc),new _0x3c901b(_0x2b28ea)),this[_0x459c68(0x18e)](),this[_0x459c68(0x196)](),this[_0x459c68(0x193)](),this[_0x459c68(0x1b5)]();}[_0x45b55b(0x18e)](){const _0x5bca18=_0x45b55b,{editor:_0x4fc1c4}=this,{schema:_0xa7ab11}=_0x4fc1c4[_0x5bca18(0x1ab)];_0xa7ab11[_0x5bca18(0x1dd)](_0x5bca18(0x181),{'allowAttributes':[_0x5bca18(0x1d5),_0x5bca18(0x1ba)]});}[_0x45b55b(0x196)](){const _0xf5c6ab=_0x45b55b,{editor:_0x1f6a94}=this,{conversion:_0x7b869c,model:_0x3f9062}=_0x1f6a94,{schema:_0x741c32}=_0x3f9062;_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0xf5c6ab(0x1d5),'value':_0x18853e=>_0x18853e[_0xf5c6ab(0x187)](_0xf5c6ab(0x1b4))}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0xf5c6ab(0x1ba),'value':_0x54ed5f=>{const _0x531a7d=_0xf5c6ab,_0x4123c3=_0x54ed5f[_0x531a7d(0x185)](_0x531a7d(0x18d)),_0x552b0f=Number[_0x531a7d(0x1d7)](_0x4123c3,0xa);return Number[_0x531a7d(0x182)](_0x552b0f)?null:_0x552b0f;}}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x18b)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0xf5c6ab(0x1d5),'value':_0x250166=>({0x1:_0xf5c6ab(0x19c),'a':_0xf5c6ab(0x19b),'A':_0xf5c6ab(0x190),'i':_0xf5c6ab(0x17e),'I':_0xf5c6ab(0x1d3)}[_0x250166[_0xf5c6ab(0x185)](_0xf5c6ab(0x1bb))])}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x1db))[_0xf5c6ab(0x192)](_0x784b6a=>{const _0x3d3671=_0xf5c6ab;_0x784b6a['on'](_0x3d3671(0x1c2),(_0x372dd8,_0x47e65a,_0x1281c2)=>{const _0x54da4a=_0x3d3671,_0x2313da=_0x47e65a[_0x54da4a(0x1bf)]?.[_0x54da4a(0x18d)][_0x54da4a(0x1cb)];_0x2313da?.['is'](_0x54da4a(0x1be),_0x54da4a(0x181))&&(!_0x2313da[_0x54da4a(0x1c1)](_0x54da4a(0x1d5))&&_0x741c32[_0x54da4a(0x1ae)](_0x2313da,_0x54da4a(0x1d5))&&_0x1281c2[_0x54da4a(0x1af)][_0x54da4a(0x191)](_0x54da4a(0x1d5),_0x54da4a(0x19c),_0x2313da),!_0x2313da[_0x54da4a(0x1c1)](_0x54da4a(0x1ba))&&_0x741c32[_0x54da4a(0x1ae)](_0x2313da,_0x54da4a(0x1ba))&&_0x1281c2[_0x54da4a(0x1af)][_0x54da4a(0x191)](_0x54da4a(0x1ba),0x1,_0x2313da));},{'priority':_0x3d3671(0x1ac)});}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x19a))[_0xf5c6ab(0x18b)]({'model':{'name':_0xf5c6ab(0x181),'key':_0xf5c6ab(0x1ba)},'view':_0x31561a=>0x1===_0x31561a?null:{'key':_0xf5c6ab(0x18d),'value':String(_0x31561a)}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x19a))[_0xf5c6ab(0x18b)]({'model':{'name':_0xf5c6ab(0x181),'key':_0xf5c6ab(0x1d5)},'view':_0x4f2003=>_0xf5c6ab(0x19c)===_0x4f2003?null:{'key':_0xf5c6ab(0x19f),'value':{'list-style-type':_0x4f2003}}}),_0x7b869c[_0xf5c6ab(0x1a0)](_0xf5c6ab(0x180))[_0xf5c6ab(0x192)](_0x4ba432=>{const _0x2e2e12=_0xf5c6ab;_0x4ba432['on'](_0x2e2e12(0x17d),(_0x3239b1,_0x98df1d,_0x23df69)=>{const _0x23cdff=_0x2e2e12;if(!_0x23df69[_0x23cdff(0x18c)][_0x23cdff(0x188)](_0x98df1d[_0x23cdff(0x1c4)],_0x3239b1[_0x23cdff(0x1b2)]))return;const _0x2fd144=b(_0x98df1d[_0x23cdff(0x1c4)],_0x23df69[_0x23cdff(0x1c8)]);null===_0x98df1d[_0x23cdff(0x186)]||void 0x0===_0x98df1d[_0x23cdff(0x186)]||0x1===_0x98df1d[_0x23cdff(0x186)]?_0x23df69[_0x23cdff(0x1af)][_0x23cdff(0x1ca)](_0x23cdff(0x18d),_0x2fd144):_0x23df69[_0x23cdff(0x1af)][_0x23cdff(0x191)](_0x23cdff(0x18d),String(_0x98df1d[_0x23cdff(0x186)]),_0x2fd144);}),_0x4ba432['on'](_0x2e2e12(0x1aa),(_0x31a0f6,_0x5b872f,_0x5b0197)=>{const _0xb5af60=_0x2e2e12;if(!_0x5b0197[_0xb5af60(0x18c)][_0xb5af60(0x188)](_0x5b872f[_0xb5af60(0x1c4)],_0x31a0f6[_0xb5af60(0x1b2)]))return;const _0x2730fe=b(_0x5b872f[_0xb5af60(0x1c4)],_0x5b0197[_0xb5af60(0x1c8)]);_0x5b872f[_0xb5af60(0x186)]&&_0xb5af60(0x19c)!==_0x5b872f[_0xb5af60(0x186)]?_0x5b0197[_0xb5af60(0x1af)][_0xb5af60(0x199)](_0xb5af60(0x1b4),_0x5b872f[_0xb5af60(0x186)],_0x2730fe):_0x5b0197[_0xb5af60(0x1af)][_0xb5af60(0x18f)](_0xb5af60(0x1b4),_0x2730fe);});});}[_0x45b55b(0x1b5)](){const _0x5cd72b=_0x45b55b,{editor:_0x5c0293}=this,{model:_0x15173e}=_0x5c0293,_0x19e6bb=_0x5c0293[_0x5cd72b(0x1dc)][_0x5cd72b(0x184)](_0x3ab7dd),_0x142498=this[_0x5cd72b(0x1b9)](),_0x224a90=this[_0x5cd72b(0x1e3)]();_0x15173e[_0x5cd72b(0x1a5)][_0x5cd72b(0x1cf)](_0x5e6ec5=>{const _0x3db382=_0x5cd72b,_0x181d86=_0x15173e[_0x3db382(0x1a5)][_0x3db382(0x1c3)][_0x3db382(0x1e0)]();let _0x41e95b=!0x1;for(const _0x401d2e of _0x181d86){if(_0x3db382(0x189)!==_0x401d2e[_0x3db382(0x1bb)]||_0x3db382(0x1df)===_0x401d2e[_0x3db382(0x1b2)])continue;const _0x4b5603=_0x15173e[_0x3db382(0x1b7)](_0x401d2e[_0x3db382(0x1bc)][_0x3db382(0x1cb)]);for(const _0x206439 of _0x4b5603[_0x3db382(0x1bd)]())_0x206439['is'](_0x3db382(0x1be),_0x3db382(0x181))&&(_0x206439[_0x3db382(0x1c1)](_0x3db382(0x1ba))||(_0x5e6ec5[_0x3db382(0x191)](_0x3db382(0x1ba),_0x224a90,_0x206439),_0x41e95b=!0x0),_0x206439[_0x3db382(0x1c1)](_0x3db382(0x1d5))||(_0x5e6ec5[_0x3db382(0x191)](_0x3db382(0x1d5),_0x142498,_0x206439),_0x41e95b=!0x0));}return _0x41e95b&&_0x19e6bb[_0x3db382(0x195)](_0x5e6ec5),_0x41e95b;});}[_0x45b55b(0x193)](){const _0x6ad341=_0x45b55b,{editor:_0x3564b9}=this;_0x3564b9[_0x6ad341(0x1dc)][_0x6ad341(0x184)](_0x3ab7dd)[_0x6ad341(0x1cd)](_0x1ffb80=>this[_0x6ad341(0x1a2)](_0x1ffb80));}[_0x45b55b(0x1b9)](){const _0x1c2832=_0x45b55b;return this[_0x1c2832(0x1ce)][_0x1c2832(0x1a7)][_0x1c2832(0x184)](_0x1c2832(0x19e));}[_0x45b55b(0x1e3)](){const _0x548d10=_0x45b55b;return this[_0x548d10(0x1ce)][_0x548d10(0x1a7)][_0x548d10(0x184)](_0x548d10(0x1de));}[_0x45b55b(0x1a2)]({container:_0x5ad946,value:_0x44e8f4,digits:_0x3a9619}){const _0x598831=_0x45b55b,_0x54372c=_0x5ad946[_0x598831(0x185)](_0x598831(0x1d5)),_0x25a9ce=_0x5ad946[_0x598831(0x185)](_0x598831(0x1ba)),_0x52ec50=Math[_0x598831(0x1a1)](_0x44e8f4)+(_0x25a9ce-0x1);switch(_0x54372c){case _0x598831(0x19c):default:return String(_0x52ec50);case _0x598831(0x17f):return function(_0x5a25b3,_0x3ea825){const _0x524d97=_0x598831;return String(_0x5a25b3)[_0x524d97(0x1b0)](_0x3ea825,'0');}(_0x52ec50,Math[_0x598831(0x1c7)](0x2,_0x3a9619));case _0x598831(0x19b):case _0x598831(0x18a):return x(_0x52ec50,!0x1);case _0x598831(0x190):case _0x598831(0x1c9):return x(_0x52ec50,!0x0);case _0x598831(0x17e):return M(_0x52ec50,!0x1);case _0x598831(0x1d3):return M(_0x52ec50,!0x0);}}}function b(_0x41eaaa,_0x129f7a){const _0x33018c=_0x45b55b,_0x28c9ab=_0x129f7a[_0x33018c(0x1d1)](_0x41eaaa);return Array[_0x33018c(0x1a3)](_0x28c9ab[_0x33018c(0x194)]())[_0x33018c(0x1c5)](_0x53bf9b=>_0x53bf9b['is'](_0x33018c(0x1be),'ol'));}function x(_0x3ff127,_0x2984f1){const _0x4b6a26=_0x45b55b;let _0xd19e4c='',_0x417bfa=_0x3ff127;for(;_0x417bfa>0x0;){const _0x2a7787=(_0x417bfa-0x1)%0x1a;_0xd19e4c=String[_0x4b6a26(0x1b1)](0x61+_0x2a7787)+_0xd19e4c,_0x417bfa=Math[_0x4b6a26(0x1a1)]((_0x417bfa-0x1)/0x1a);}return _0x2984f1?_0xd19e4c[_0x4b6a26(0x1d9)]():_0xd19e4c;}const C=[{'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 M(_0x1ef171,_0x212fe1){const _0x552d82=_0x45b55b;let _0x1f6a27='',_0x2a80bf=_0x1ef171;for(const {value:_0x25ce62,numeral:_0x3ab6f0}of C)for(;_0x2a80bf>=_0x25ce62;)_0x1f6a27+=_0x3ab6f0,_0x2a80bf-=_0x25ce62;return _0x212fe1?_0x1f6a27:_0x1f6a27[_0x552d82(0x1a6)]();}function _0x49ea(){const _0x122728=['817118DtopjI','attribute:footnotesListStyle:footnotesDefinitions','model','low','12GGfFts','checkAttribute','writer','padStart','fromCharCode','name','footnotesStyle','list-style-type','_definePostfixer','pluginName','createRangeOn','26355oMHWpq','_getDefaultListStyle','footnotesListStart','type','position','getItems','element','modelRange','9142639GkCkbn','hasAttribute','element:ol','differ','item','find','FootnotesPropertiesEditing','max','mapper','upper-latin','removeAttribute','nodeAfter','footnotesStart','setFootnoteFormatter','editor','registerPostFixer','2042384nkPOVN','toViewElement','6jIusme','upper-roman','requires','footnotesListStyle','init','parseInt','isPremiumPlugin','toUpperCase','684tiGimO','upcast','plugins','extend','footnotes.footnotesProperties.defaultStartIndex','$text','getChanges','1154839ubuIYV','define','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','lower-roman','decimal-leading-zero','editingDowncast','footnotesDefinitions','isNaN','1473icBEyI','get','getAttribute','attributeNewValue','getStyle','consume','insert','lower-latin','attributeToAttribute','consumable','start','_defineSchema','removeStyle','upper-alpha','setAttribute','add','_defineFormatter','getChildren','_updateFootnotesCounters','_defineConverters','117VRoFLS','commands','setStyle','dataDowncast','lower-alpha','decimal','254110qRquvK','footnotes.footnotesProperties.defaultListStyle','style','for','floor','_formatFootnoteListValue','from','3852xxdQmI','document','toLowerCase','config','isOfficialPlugin'];_0x49ea=function(){return _0x122728;};return _0x49ea();}
|
|
23
|
+
const _0x2d091f=_0x5c59;(function(_0x55cbf8,_0x3d2d5c){const _0x36061c=_0x5c59,_0x854cbb=_0x55cbf8();while(!![]){try{const _0x3662b1=-parseInt(_0x36061c(0x16f))/0x1*(-parseInt(_0x36061c(0x19f))/0x2)+parseInt(_0x36061c(0x150))/0x3+parseInt(_0x36061c(0x1a0))/0x4*(-parseInt(_0x36061c(0x17c))/0x5)+-parseInt(_0x36061c(0x145))/0x6*(parseInt(_0x36061c(0x18a))/0x7)+parseInt(_0x36061c(0x18f))/0x8+parseInt(_0x36061c(0x15e))/0x9*(parseInt(_0x36061c(0x1a1))/0xa)+-parseInt(_0x36061c(0x16c))/0xb*(parseInt(_0x36061c(0x161))/0xc);if(_0x3662b1===_0x3d2d5c)break;else _0x854cbb['push'](_0x854cbb['shift']());}catch(_0x5ddae2){_0x854cbb['push'](_0x854cbb['shift']());}}}(_0x54dc,0xd2fd8));import{Plugin as _0x32d478}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2f44a5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3887f7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3ac1c3}from'../footnotestracker.js';import{FootnotesEditing as _0x407faf}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x32d478{static get[_0x2d091f(0x15c)](){const _0x170e87=_0x2d091f;return _0x170e87(0x16a);}static get[_0x2d091f(0x183)](){return[_0x407faf,_0x3ac1c3];}static get[_0x2d091f(0x17d)](){return!0x0;}static get[_0x2d091f(0x147)](){return!0x0;}[_0x2d091f(0x15f)](){const _0x17c7b4=_0x2d091f,{editor:_0xc5d6ae}=this;_0xc5d6ae[_0x17c7b4(0x190)][_0x17c7b4(0x1a3)](_0x17c7b4(0x151),_0x17c7b4(0x16e)),_0xc5d6ae[_0x17c7b4(0x190)][_0x17c7b4(0x1a3)](_0x17c7b4(0x155),0x1),_0xc5d6ae[_0x17c7b4(0x19b)][_0x17c7b4(0x16b)](_0x17c7b4(0x1ab),new _0x2f44a5(_0xc5d6ae)),_0xc5d6ae[_0x17c7b4(0x19b)][_0x17c7b4(0x16b)](_0x17c7b4(0x171),new _0x3887f7(_0xc5d6ae)),this[_0x17c7b4(0x14f)](),this[_0x17c7b4(0x180)](),this[_0x17c7b4(0x1a4)](),this[_0x17c7b4(0x19e)]();}[_0x2d091f(0x14f)](){const _0x48589b=_0x2d091f,{editor:_0x111d67}=this,{schema:_0x54ffb3}=_0x111d67[_0x48589b(0x14e)];_0x54ffb3[_0x48589b(0x163)](_0x48589b(0x173),{'allowAttributes':[_0x48589b(0x18c),_0x48589b(0x169)]});}[_0x2d091f(0x180)](){const _0x1869c4=_0x2d091f,{editor:_0x4a06f5}=this,{conversion:_0x415940,model:_0x4b5f28}=_0x4a06f5,{schema:_0x5440fd}=_0x4b5f28;_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','styles':{'list-style-type':/.+/}},'model':{'key':_0x1869c4(0x18c),'value':_0x5fbfc1=>_0x5fbfc1[_0x1869c4(0x178)](_0x1869c4(0x168))}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','attributes':{'start':/.+/}},'model':{'key':_0x1869c4(0x169),'value':_0x56cade=>{const _0x58079e=_0x1869c4,_0x8bfc03=_0x56cade[_0x58079e(0x148)](_0x58079e(0x15b)),_0x484772=Number[_0x58079e(0x179)](_0x8bfc03,0xa);return Number[_0x58079e(0x167)](_0x484772)?null:_0x484772;}}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x186)]({'view':{'name':'ol','attributes':{'type':/.+/}},'model':{'key':_0x1869c4(0x18c),'value':_0x117491=>({0x1:_0x1869c4(0x16e),'a':_0x1869c4(0x194),'A':_0x1869c4(0x17e),'i':_0x1869c4(0x170),'I':_0x1869c4(0x166)}[_0x117491[_0x1869c4(0x148)](_0x1869c4(0x197))])}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x1aa))[_0x1869c4(0x16b)](_0x5340b4=>{const _0x5d43f5=_0x1869c4;_0x5340b4['on'](_0x5d43f5(0x176),(_0x37b17d,_0x54e034,_0x195944)=>{const _0xec83fb=_0x5d43f5,_0x459e06=_0x54e034[_0xec83fb(0x199)]?.[_0xec83fb(0x15b)][_0xec83fb(0x196)];_0x459e06?.['is'](_0xec83fb(0x159),_0xec83fb(0x173))&&(!_0x459e06[_0xec83fb(0x187)](_0xec83fb(0x18c))&&_0x5440fd[_0xec83fb(0x152)](_0x459e06,_0xec83fb(0x18c))&&_0x195944[_0xec83fb(0x182)][_0xec83fb(0x17a)](_0xec83fb(0x18c),_0xec83fb(0x16e),_0x459e06),!_0x459e06[_0xec83fb(0x187)](_0xec83fb(0x169))&&_0x5440fd[_0xec83fb(0x152)](_0x459e06,_0xec83fb(0x169))&&_0x195944[_0xec83fb(0x182)][_0xec83fb(0x17a)](_0xec83fb(0x169),0x1,_0x459e06));},{'priority':_0x5d43f5(0x1a9)});}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x153))[_0x1869c4(0x186)]({'model':{'name':_0x1869c4(0x173),'key':_0x1869c4(0x169)},'view':_0x14fdd5=>0x1===_0x14fdd5?null:{'key':_0x1869c4(0x15b),'value':String(_0x14fdd5)}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x153))[_0x1869c4(0x186)]({'model':{'name':_0x1869c4(0x173),'key':_0x1869c4(0x18c)},'view':_0x2209fe=>_0x1869c4(0x16e)===_0x2209fe?null:{'key':_0x1869c4(0x189),'value':{'list-style-type':_0x2209fe}}}),_0x415940[_0x1869c4(0x19c)](_0x1869c4(0x191))[_0x1869c4(0x16b)](_0x5b78de=>{const _0x4a512d=_0x1869c4;_0x5b78de['on'](_0x4a512d(0x185),(_0x2d6748,_0x3dc542,_0x4f6ec0)=>{const _0x314f03=_0x4a512d;if(!_0x4f6ec0[_0x314f03(0x18d)][_0x314f03(0x165)](_0x3dc542[_0x314f03(0x198)],_0x2d6748[_0x314f03(0x1a5)]))return;const _0x5241f0=C(_0x3dc542[_0x314f03(0x198)],_0x4f6ec0[_0x314f03(0x16d)]);null===_0x3dc542[_0x314f03(0x18e)]||void 0x0===_0x3dc542[_0x314f03(0x18e)]||0x1===_0x3dc542[_0x314f03(0x18e)]?_0x4f6ec0[_0x314f03(0x182)][_0x314f03(0x192)](_0x314f03(0x15b),_0x5241f0):_0x4f6ec0[_0x314f03(0x182)][_0x314f03(0x17a)](_0x314f03(0x15b),String(_0x3dc542[_0x314f03(0x18e)]),_0x5241f0);}),_0x5b78de['on'](_0x4a512d(0x19a),(_0x3859ed,_0x4d9d75,_0x2ee396)=>{const _0x4fe85d=_0x4a512d;if(!_0x2ee396[_0x4fe85d(0x18d)][_0x4fe85d(0x165)](_0x4d9d75[_0x4fe85d(0x198)],_0x3859ed[_0x4fe85d(0x1a5)]))return;const _0x398e41=C(_0x4d9d75[_0x4fe85d(0x198)],_0x2ee396[_0x4fe85d(0x16d)]);_0x4d9d75[_0x4fe85d(0x18e)]&&_0x4fe85d(0x16e)!==_0x4d9d75[_0x4fe85d(0x18e)]?_0x2ee396[_0x4fe85d(0x182)][_0x4fe85d(0x18b)](_0x4fe85d(0x168),_0x4d9d75[_0x4fe85d(0x18e)],_0x398e41):_0x2ee396[_0x4fe85d(0x182)][_0x4fe85d(0x174)](_0x4fe85d(0x168),_0x398e41);});});}[_0x2d091f(0x19e)](){const _0x54e960=_0x2d091f,{editor:_0x2dbc0d}=this,{model:_0xe685b4}=_0x2dbc0d,_0x739417=_0x2dbc0d[_0x54e960(0x157)][_0x54e960(0x162)](_0x3ac1c3),_0x4c04e4=this[_0x54e960(0x14b)](),_0xd472cd=this[_0x54e960(0x19d)]();_0xe685b4[_0x54e960(0x17b)][_0x54e960(0x154)](_0x47db70=>{const _0x57a480=_0x54e960,_0x51158b=_0xe685b4[_0x57a480(0x17b)][_0x57a480(0x1a6)][_0x57a480(0x15a)]();let _0x17097a=!0x1;for(const _0x53c5fe of _0x51158b){if(_0x57a480(0x14d)!==_0x53c5fe[_0x57a480(0x197)]||_0x57a480(0x146)===_0x53c5fe[_0x57a480(0x1a5)])continue;const _0x105c03=_0xe685b4[_0x57a480(0x1a2)](_0x53c5fe[_0x57a480(0x156)][_0x57a480(0x196)]);for(const _0x292b44 of _0x105c03[_0x57a480(0x160)]())_0x292b44['is'](_0x57a480(0x159),_0x57a480(0x173))&&(_0x292b44[_0x57a480(0x187)](_0x57a480(0x169))||(_0x47db70[_0x57a480(0x17a)](_0x57a480(0x169),_0xd472cd,_0x292b44),_0x17097a=!0x0),_0x292b44[_0x57a480(0x187)](_0x57a480(0x18c))||(_0x47db70[_0x57a480(0x17a)](_0x57a480(0x18c),_0x4c04e4,_0x292b44),_0x17097a=!0x0));}return _0x17097a&&_0x739417[_0x57a480(0x175)](_0x47db70),_0x17097a;});}[_0x2d091f(0x1a4)](){const _0x4e90f1=_0x2d091f,{editor:_0x403d67}=this;_0x403d67[_0x4e90f1(0x157)][_0x4e90f1(0x162)](_0x3ac1c3)[_0x4e90f1(0x17f)](_0x3400df=>this[_0x4e90f1(0x1a7)](_0x3400df));}[_0x2d091f(0x14b)](){const _0x538477=_0x2d091f;return this[_0x538477(0x164)][_0x538477(0x190)][_0x538477(0x162)](_0x538477(0x151));}[_0x2d091f(0x19d)](){const _0x420fe2=_0x2d091f;return this[_0x420fe2(0x164)][_0x420fe2(0x190)][_0x420fe2(0x162)](_0x420fe2(0x155));}[_0x2d091f(0x1a7)]({container:_0x4b818d,value:_0xa759ee,digits:_0x7552a8}){const _0x211dd0=_0x2d091f,_0x172917=_0x4b818d[_0x211dd0(0x148)](_0x211dd0(0x18c)),_0x152ca4=_0x4b818d[_0x211dd0(0x148)](_0x211dd0(0x169)),_0xd3b308=Math[_0x211dd0(0x184)](_0xa759ee)+(_0x152ca4-0x1);switch(_0x172917){case _0x211dd0(0x16e):default:return String(_0xd3b308);case _0x211dd0(0x14c):return function(_0x522c8e,_0x43380d){const _0x234a6a=_0x211dd0;return String(_0x522c8e)[_0x234a6a(0x1a8)](_0x43380d,'0');}(_0xd3b308,Math[_0x211dd0(0x172)](0x2,_0x7552a8));case _0x211dd0(0x194):case _0x211dd0(0x14a):return M(_0xd3b308,!0x1);case _0x211dd0(0x17e):case _0x211dd0(0x177):return M(_0xd3b308,!0x0);case _0x211dd0(0x170):return A(_0xd3b308,!0x1);case _0x211dd0(0x166):return A(_0xd3b308,!0x0);}}}function _0x5c59(_0x6ab1c4,_0x27dbe9){const _0x54dc5b=_0x54dc();return _0x5c59=function(_0x5c59f5,_0xc727df){_0x5c59f5=_0x5c59f5-0x145;let _0x2b02f9=_0x54dc5b[_0x5c59f5];return _0x2b02f9;},_0x5c59(_0x6ab1c4,_0x27dbe9);}function C(_0x56e342,_0x500495){const _0x21a485=_0x2d091f,_0x3ebb00=_0x500495[_0x21a485(0x188)](_0x56e342);return Array[_0x21a485(0x181)](_0x3ebb00[_0x21a485(0x15d)]())[_0x21a485(0x195)](_0x16a861=>_0x16a861['is'](_0x21a485(0x159),'ol'));}function M(_0x8ce37,_0x34380a){const _0xaf3458=_0x2d091f;let _0x4348ff='',_0x3d1781=_0x8ce37;for(;_0x3d1781>0x0;){const _0x4559e7=(_0x3d1781-0x1)%0x1a;_0x4348ff=String[_0xaf3458(0x193)](0x61+_0x4559e7)+_0x4348ff,_0x3d1781=Math[_0xaf3458(0x184)]((_0x3d1781-0x1)/0x1a);}return _0x34380a?_0x4348ff[_0xaf3458(0x158)]():_0x4348ff;}const X=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x54dc(){const _0x3efab8=['nodeAfter','type','item','modelRange','attribute:footnotesListStyle:footnotesDefinitions','commands','for','_getDefaultStartIndex','_definePostfixer','513914lYMrvt','4oFkbBs','631840vWZhPg','createRangeOn','define','_defineFormatter','name','differ','_formatFootnoteListValue','padStart','low','upcast','footnotesStyle','6pfWoCa','$text','isPremiumPlugin','getAttribute','toLowerCase','lower-latin','_getDefaultListStyle','decimal-leading-zero','insert','model','_defineSchema','2530038tkazGb','footnotes.footnotesProperties.defaultListStyle','checkAttribute','dataDowncast','registerPostFixer','footnotes.footnotesProperties.defaultStartIndex','position','plugins','toUpperCase','element','getChanges','start','pluginName','getChildren','198WLdyjb','init','getItems','12IJTklI','get','extend','editor','consume','upper-roman','isNaN','list-style-type','footnotesListStart','FootnotesPropertiesEditing','add','14292399wQrlim','mapper','decimal','1RXGVSU','lower-roman','footnotesStart','max','footnotesDefinitions','removeStyle','_updateFootnotesCounters','element:ol','upper-latin','getStyle','parseInt','setAttribute','document','1445280QIBYEh','isOfficialPlugin','upper-alpha','setFootnoteFormatter','_defineConverters','from','writer','requires','floor','attribute:footnotesListStart:footnotesDefinitions','attributeToAttribute','hasAttribute','toViewElement','style','7432999buQJTO','setStyle','footnotesListStyle','consumable','attributeNewValue','8192696OyjbXK','config','editingDowncast','removeAttribute','fromCharCode','lower-alpha','find'];_0x54dc=function(){return _0x3efab8;};return _0x54dc();}function A(_0x1abfc1,_0x58a361){const _0x49f7c6=_0x2d091f;let _0x46f97a='',_0x451fb4=_0x1abfc1;for(const {value:_0x44ee4e,numeral:_0x107134}of X)for(;_0x451fb4>=_0x44ee4e;)_0x46f97a+=_0x107134,_0x451fb4-=_0x44ee4e;return _0x58a361?_0x46f97a:_0x46f97a[_0x49f7c6(0x149)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x46c689,ButtonView as _0x1c6799,ContextualBalloon as _0x76ef8c,createDropdown as _0x24cd96}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4b303f}from'ckeditor5/src/widget.js';import{Plugin as _0x4efae9}from'ckeditor5/src/core.js';import{IconFootnote as _0xa082fd,IconListStyleDecimal as _0x481301,IconListStyleDecimalLeadingZero as _0x3206ab,IconListStyleLowerLatin as _0x5573ef,IconListStyleLowerRoman as _0xfd893,IconListStyleUpperLatin as _0x35fa75,IconListStyleUpperRoman as _0x21e468}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x233d8e}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4830ba}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4efae9{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x76ef8c,_0x4b303f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf13242}=this,{componentFactory:_0x2e7b97}=_0xf13242['ui'];_0xf13242['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2e7b97['add']('footnotesStyle',function(_0x486376){return _0x2b11cd=>{const {t:t}=_0x2b11cd,_0x348139=_0x486376['commands']['get']('footnotesStyle'),_0x1f0db0=_0x24cd96(_0x2b11cd),{buttonView:_0x2d812e}=_0x1f0db0;return _0x1f0db0['class']='ck-footnotes-styles-dropdown',_0x1f0db0['bind']('isEnabled')['to'](_0x348139,'isEnabled'),_0x2d812e['set']({'label':t('Footnotes\x20style'),'icon':_0xa082fd,'tooltip':!0x0}),_0x1f0db0['once']('change:isOpen',()=>{const _0x195d83=function({editor:_0x36a251,dropdownView:_0x4764ff}){const {t:t}=_0x36a251['locale'],_0x4c96a5=t('Footnotes\x20definitions\x20styles'),_0x5835e3=function(_0x5d0251){const t=_0x5d0251['locale']['t'],_0x4c5ee8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x481301},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3206ab},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0xfd893},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x21e468},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5573ef},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x35fa75}];return _0x4c5ee8['map'](function(_0x3e674a){const _0xacb976=_0x3e674a['locale'];return({label:_0x4ee411,icon:_0x53633a,tooltip:_0x38236d,style:_0x37b326})=>{const _0x16b3da=_0x3e674a['commands']['get']('footnotesStyle'),_0x3264ab=new _0x1c6799(_0xacb976);return _0x3264ab['set']({'label':_0x4ee411,'icon':_0x53633a,'tooltip':_0x38236d}),_0x3264ab['bind']('isOn')['to'](_0x16b3da,'value',_0x2ca4c1=>_0x2ca4c1===_0x37b326),_0x3264ab['bind']('isEnabled')['to'](_0x16b3da,'isEnabled'),_0x3264ab['on']('execute',()=>{_0x3e674a['execute']('footnotesStyle',{'value':_0x37b326}),_0x3e674a['editing']['view']['focus']();}),_0x3264ab;};}(_0x5d0251));}(_0x36a251),_0x93cef5=new _0x233d8e(_0x36a251['locale'],{'styleGridAriaLabel':_0x4c96a5,'styleButtonViews':_0x5835e3});return _0x93cef5['delegate']('execute')['to'](_0x4764ff),_0x93cef5['on']('footnotesListStart',(_0x49e58a,_0x58d3e2)=>{_0x36a251['execute']('footnotesStart',{'value':_0x58d3e2['startIndex']});}),_0x93cef5;}({'editor':_0x486376,'dropdownView':_0x1f0db0});_0x1f0db0['panelView']['children']['add'](_0x195d83);}),_0x1f0db0;};}(_0xf13242));}['afterInit'](){const {editor:_0x92ea38}=this,{t:t}=_0x92ea38['locale'],_0x31b698=_0x92ea38['plugins']['get'](_0x4b303f),{defaultPositions:_0x4a5eb5}=_0x46c689;_0x31b698['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x92ea38['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4e618d=>{let _0x1122e0=_0x4e618d['getFirstPosition']()?.['parent'];return _0x1122e0?.['is']('$text')&&(_0x1122e0=_0x1122e0['parent']),_0x1122e0?.['is']('element')?_0x1122e0['findAncestor'](_0x4830ba):null;},'positions':[_0x4a5eb5['southArrowNorth'],_0x4a5eb5['southArrowNorthMiddleWest'],_0x4a5eb5['southArrowNorthMiddleEast'],_0x4a5eb5['southArrowNorthWest'],_0x4a5eb5['southArrowNorthEast'],_0x4a5eb5['northArrowSouth'],_0x4a5eb5['northArrowSouthMiddleWest'],_0x4a5eb5['northArrowSouthMiddleEast'],_0x4a5eb5['northArrowSouthWest'],_0x4a5eb5['northArrowSouthEast'],_0x4a5eb5['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4363dd,View as _0x15e1c8,ViewCollection as _0x56dfd8,FocusCycler as _0xc6f3a8,addKeyboardHandlingForGrid as _0xd0e08,CollapsibleView as _0x493b06,LabeledFieldView as tt,createLabeledInputNumber as st}from'ckeditor5/src/ui.js';import{FocusTracker as it,KeystrokeHandler as et,global as ot}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x15e1c8{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new it();['keystrokes']=new et();['focusables']=new _0x56dfd8();['focusCycler'];constructor(_0x5b6d8c,{styleButtonViews:_0x2829c7,styleGridAriaLabel:_0x2482fb}){super(_0x5b6d8c),(this['focusCycler']=new _0xc6f3a8({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2829c7,_0x2482fb),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x1d1480 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x1d1480['element']);_0xd0e08({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>ot['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4e3797=_0x53f96f=>_0x53f96f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4e3797),this['keystrokes']['set']('arrowleft',_0x4e3797),this['keystrokes']['set']('arrowup',_0x4e3797),this['keystrokes']['set']('arrowdown',_0x4e3797);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1ee908,_0x17ded4){const _0x3ff1e8=new _0x15e1c8(this['locale']);return _0x3ff1e8['children']=_0x3ff1e8['createCollection'](),_0x3ff1e8['children']['addMany'](_0x1ee908),_0x3ff1e8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x17ded4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3ff1e8['children']}),_0x3ff1e8['children']['delegate']('execute')['to'](this),_0x3ff1e8['focus']=function(){for(const _0x130d0d of this['children'])if(_0x130d0d instanceof _0x4363dd&&_0x130d0d['isOn'])return void _0x130d0d['focus']();this['children']['first']['focus']();},_0x3ff1e8['focusTracker']=new it(),_0x3ff1e8['keystrokes']=new et(),_0x3ff1e8['render'](),_0x3ff1e8['keystrokes']['listenTo'](_0x3ff1e8['element']),this['children']['add'](_0x3ff1e8),_0x3ff1e8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4b358=this['_createStartIndexPropertyView'](),_0x1c274b=[_0x4b358],_0x2d67b2=new _0x493b06(this['locale'],_0x1c274b);return _0x2d67b2['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2d67b2['buttonView']['bind']('isEnabled')['toMany'](_0x1c274b,'isEnabled',(..._0x4bb611)=>_0x4bb611['some'](_0x21f4a8=>_0x21f4a8)),_0x2d67b2['buttonView']['on']('change:isEnabled',(_0x27b334,_0x2250dc,_0x477440)=>{_0x477440||(_0x2d67b2['isCollapsed']=!0x0);}),this['children']['add'](_0x2d67b2),[_0x4b358,_0x2d67b2];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3d9aa7=new tt(this['locale'],st);return _0x3d9aa7['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3d9aa7['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3d9aa7['fieldView']['on']('input',()=>{const _0x5da3cd=_0x3d9aa7['fieldView']['element'],_0xcab862=_0x5da3cd['valueAsNumber'];Number['isNaN'](_0xcab862)?_0x3d9aa7['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5da3cd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xcab862}):_0x3d9aa7['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0x3d9aa7;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0xb5c563=_0x41e4;function _0x1571(){var _0x1bdae2=['29969291XEcKNQ','5928740TZnfcg','36mTzCwt','isPremiumPlugin','90bDdDwC','6955816veqoWY','1617039wZsHjI','2287528shdLTY','requires','17078ZgbrOk','pluginName','10TcvxCR','isOfficialPlugin','569472BUvCuD','FootnotesProperties','4vCfwRP'];_0x1571=function(){return _0x1bdae2;};return _0x1571();}(function(_0x5adb81,_0xaf862a){var _0x4ea5eb=_0x41e4,_0x1cda52=_0x5adb81();while(!![]){try{var _0x25d174=parseInt(_0x4ea5eb(0x127))/0x1*(parseInt(_0x4ea5eb(0x12c))/0x2)+parseInt(_0x4ea5eb(0x129))/0x3+-parseInt(_0x4ea5eb(0x132))/0x4*(parseInt(_0x4ea5eb(0x134))/0x5)+-parseInt(_0x4ea5eb(0x130))/0x6+-parseInt(_0x4ea5eb(0x128))/0x7+parseInt(_0x4ea5eb(0x12a))/0x8*(-parseInt(_0x4ea5eb(0x125))/0x9)+-parseInt(_0x4ea5eb(0x12e))/0xa*(-parseInt(_0x4ea5eb(0x133))/0xb);if(_0x25d174===_0xaf862a)break;else _0x1cda52['push'](_0x1cda52['shift']());}catch(_0x3c2f0e){_0x1cda52['push'](_0x1cda52['shift']());}}}(_0x1571,0x95e04));import{Plugin as _0x2a4b3a}from'ckeditor5/src/core.js';function _0x41e4(_0x1dc93d,_0x463773){var _0x157162=_0x1571();return _0x41e4=function(_0x41e477,_0x53d8d5){_0x41e477=_0x41e477-0x125;var _0x5ed1f6=_0x157162[_0x41e477];return _0x5ed1f6;},_0x41e4(_0x1dc93d,_0x463773);}import{FootnotesPropertiesEditing as _0x2bbf5d}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x30ade9}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2a4b3a{static get[_0xb5c563(0x12d)](){var _0x503c10=_0xb5c563;return _0x503c10(0x131);}static get[_0xb5c563(0x12b)](){return[_0x2bbf5d,_0x30ade9];}static get[_0xb5c563(0x12f)](){return!0x0;}static get[_0xb5c563(0x126)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0xd75a97=_0x5f4d;function _0x3078(){const _0x4ea700=['push','_insertEmptyFootnotesDefinitionsContainer','footnoteCounter','$graveyard','_ensureFootnotesDefinitionsContainerExists','has','footnoteRef','unshift','filter','some','splice','model','createPositionBefore','end','footnoteId','insert','rootName','_handleInsertedFootnoteReference','_footnotesDefinitions','remove','document','parent','createRangeIn','setAttribute','createRangeOn','getFootnotes','get','901686oCllJm','_handleFootnoteReferencesChanges','enqueueChange','from','FootnotesTracker','_handleRemoveFootnoteReferenceById','definition','findIndex','setFootnoteFormatter','_footnoteDefsTracker','registerPostFixer','add','footnotes.multiBlock','_handleFootnoteDefinitionsChanges','pluginName','move','paragraph','before','root','footnoteDefinition','getChanges','_sortFootnoteDefinitions','footnotesDefinitions','createPositionAt','_footnoteDefsContainerTracker','append','createElement','childCount','2TByqJX','listenTo','_handleMovedFootnoteReference','getFootnotesDefinitionsObjectElement','indexOf','3164511PGOOGv','_handleFootnotesDefinitionsObjectChanges','getFootnotesFormatter','_footnotes','find','_handleFootnotesDefinitionsObjectSync','getRootNames','1866040khECtm','singleton','low','_footnoteRefsTracker','1229020crtzJl','length','footnoteInlineContent','1539576tmBgrJ','getAttribute','reference','getChildren','init','1566690FQntLk','isEqual','config','min','differ','_updateFootnoteRefCounter','editor','change:data','after','_ensureFootnotesReferencesHaveProperOrder','compareWith','_footnoteFormatter','302069GPwNes','getFootnote','isOfficialPlugin','_updateFootnotesCounters','map','isPremiumPlugin'];_0x3078=function(){return _0x4ea700;};return _0x3078();}(function(_0x4ae2f5,_0x4d0cdc){const _0x2b0806=_0x5f4d,_0x25cd9a=_0x4ae2f5();while(!![]){try{const _0xae3748=parseInt(_0x2b0806(0x1e8))/0x1*(parseInt(_0x2b0806(0x1c4))/0x2)+-parseInt(_0x2b0806(0x1dc))/0x3+parseInt(_0x2b0806(0x1d7))/0x4+-parseInt(_0x2b0806(0x1d4))/0x5+parseInt(_0x2b0806(0x1a8))/0x6+parseInt(_0x2b0806(0x1c9))/0x7+-parseInt(_0x2b0806(0x1d0))/0x8;if(_0xae3748===_0x4d0cdc)break;else _0x25cd9a['push'](_0x25cd9a['shift']());}catch(_0x5aaa8e){_0x25cd9a['push'](_0x25cd9a['shift']());}}}(_0x3078,0x4651c));import{Plugin as _0x59bdf2}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x258d50}from'./modelelementtracker.js';export class FootnotesTracker extends _0x59bdf2{[_0xd75a97(0x1cc)]=[];[_0xd75a97(0x19f)]=null;[_0xd75a97(0x1e7)]=null;[_0xd75a97(0x1c0)];[_0xd75a97(0x1d3)];[_0xd75a97(0x1b1)];static get[_0xd75a97(0x1b6)](){const _0x155005=_0xd75a97;return _0x155005(0x1ac);}static get[_0xd75a97(0x1ea)](){return!0x0;}static get[_0xd75a97(0x1ed)](){return!0x0;}constructor(_0x531b20){const _0x42cba8=_0xd75a97;super(_0x531b20),this[_0x42cba8(0x1c0)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x1be),'getElementKey':()=>_0x42cba8(0x1d1)}),this[_0x42cba8(0x1d3)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x193),'getElementKey':_0x35f592=>_0x35f592[_0x42cba8(0x1d8)](_0x42cba8(0x19b))}),this[_0x42cba8(0x1b1)]=new _0x258d50(this[_0x42cba8(0x1e2)][_0x42cba8(0x198)],{'elementName':_0x42cba8(0x1bb),'getElementKey':_0x3bb181=>_0x3bb181[_0x42cba8(0x1d8)](_0x42cba8(0x19b))});}[_0xd75a97(0x1db)](){const _0xbaf4e=_0xd75a97,{editor:_0x7fba1f}=this,{model:_0x54a8b2}=_0x7fba1f;_0x54a8b2[_0xbaf4e(0x1a1)][_0xbaf4e(0x1b2)](_0x154d98=>{const _0x3762ce=_0xbaf4e,_0xfe89b7=_0x54a8b2[_0x3762ce(0x1a1)][_0x3762ce(0x1e0)][_0x3762ce(0x1bc)]();let _0x639d47=!0x1;return this[_0x3762ce(0x1ca)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1b5)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1a9)](_0x154d98,_0xfe89b7)&&(_0x639d47=!0x0),this[_0x3762ce(0x1e5)](_0x154d98)&&(_0x639d47=!0x0),this[_0x3762ce(0x1ce)](_0x154d98)&&(_0x639d47=!0x0),this[_0x3762ce(0x1bd)](_0x154d98)&&(_0x639d47=!0x0),_0x639d47;}),this[_0xbaf4e(0x1c5)](_0x54a8b2[_0xbaf4e(0x1a1)],_0xbaf4e(0x1e3),()=>{const _0x505c0d=_0xbaf4e;_0x54a8b2[_0x505c0d(0x1aa)]({'isUndoable':!0x1},_0xa9fff4=>{const _0x6d3709=_0x505c0d;this[_0x6d3709(0x191)](_0xa9fff4);});},{'priority':_0xbaf4e(0x1d2)});}[_0xd75a97(0x1c7)](){const _0x254f2f=_0xd75a97;return this[_0x254f2f(0x19f)];}[_0xd75a97(0x1e9)](_0x38c93a){const _0x1f7404=_0xd75a97;return this[_0x1f7404(0x1cc)][_0x1f7404(0x1cd)](_0xd451df=>_0xd451df['id']===_0x38c93a)||null;}[_0xd75a97(0x1a6)](){const _0x5d39a7=_0xd75a97;return Array[_0x5d39a7(0x1ab)](this[_0x5d39a7(0x1cc)]);}[_0xd75a97(0x1cb)](){const _0x5f1269=_0xd75a97;return this[_0x5f1269(0x1e7)];}[_0xd75a97(0x1b0)](_0x299d10){const _0x3384c8=_0xd75a97;this[_0x3384c8(0x1e7)]=_0x299d10;}[_0xd75a97(0x1eb)](_0x32ed81,_0x2bdbdc=0x0){const _0x35d1ab=_0xd75a97;let _0x210701=!0x1;for(let _0x3754cc=_0x2bdbdc;_0x3754cc<this[_0x35d1ab(0x1cc)][_0x35d1ab(0x1d5)];_0x3754cc++)this[_0x35d1ab(0x1e1)](_0x32ed81,_0x3754cc)&&(_0x210701=!0x0);return _0x210701;}[_0xd75a97(0x18e)](_0x46c1da,_0x47f9c2){const _0xda6f63=_0xd75a97,_0x58c992=_0x46c1da[_0xda6f63(0x1c2)](_0xda6f63(0x1be),{});return _0x46c1da[_0xda6f63(0x1c1)](_0x58c992,_0x47f9c2),this[_0xda6f63(0x19f)]=_0x58c992,_0x58c992;}[_0xd75a97(0x191)](_0x58da66){const _0x15b6f0=_0xd75a97;if(!this[_0x15b6f0(0x1cc)][_0x15b6f0(0x1d5)]||this[_0x15b6f0(0x19f)])return;const _0x49be7f=this[_0x15b6f0(0x1cc)][0x0][_0x15b6f0(0x1d9)][_0x15b6f0(0x1ba)],_0x1134e1=this[_0x15b6f0(0x18e)](_0x58da66,_0x49be7f);for(const _0x31d670 of this[_0x15b6f0(0x1cc)])_0x31d670[_0x15b6f0(0x1ae)][_0x15b6f0(0x1a2)]||_0x58da66[_0x15b6f0(0x19c)](_0x31d670[_0x15b6f0(0x1ae)],_0x1134e1,_0x15b6f0(0x19a));this[_0x15b6f0(0x1eb)](_0x58da66);}[_0xd75a97(0x1ca)](_0x1f63cf,_0x1722cc){const _0x4b3358=_0xd75a97;let _0x36c6e0=!0x1;const {inserted:_0x1ec428,removed:_0x58c5d5,moved:_0x243516}=this[_0x4b3358(0x1c0)][_0x4b3358(0x1bc)](_0x1722cc);if(_0x243516[_0x4b3358(0x1d5)]&&(this[_0x4b3358(0x19f)]=_0x243516[0x0]),_0x1ec428[_0x4b3358(0x1d5)]){if(_0x1ec428[_0x4b3358(0x1d5)]>0x1||this[_0x4b3358(0x19f)]&&_0x1ec428[_0x4b3358(0x196)](_0x2bf963=>_0x2bf963!==this[_0x4b3358(0x19f)])){const _0x56351d=_0x1f63cf[_0x4b3358(0x1c2)](_0x4b3358(0x1be),{}),_0x5c6407=[];this[_0x4b3358(0x19f)]&&_0x5c6407[_0x4b3358(0x18d)](this[_0x4b3358(0x19f)]),_0x5c6407[_0x4b3358(0x18d)](..._0x1ec428),_0x1f63cf[_0x4b3358(0x19c)](_0x56351d,_0x5c6407[0x0],_0x4b3358(0x1b9));for(const _0x4bd3d4 of _0x5c6407)_0x1f63cf[_0x4b3358(0x1b7)](_0x1f63cf[_0x4b3358(0x1a3)](_0x4bd3d4),_0x1f63cf[_0x4b3358(0x1bf)](_0x56351d,_0x4b3358(0x19a))),_0x1f63cf[_0x4b3358(0x1a0)](_0x4bd3d4);this[_0x4b3358(0x19f)]=_0x56351d,this[_0x4b3358(0x1eb)](_0x1f63cf),_0x36c6e0=!0x0;}else this[_0x4b3358(0x19f)]=_0x1ec428[0x0];}if(_0x58c5d5[_0x4b3358(0x1d5)]&&_0x4b3358(0x190)===this[_0x4b3358(0x19f)]?.[_0x4b3358(0x1ba)][_0x4b3358(0x19d)]){for(const _0x528ff3 of this[_0x4b3358(0x1cc)])_0x1f63cf[_0x4b3358(0x1a0)](_0x528ff3[_0x4b3358(0x1d9)]),_0x36c6e0=!0x0;this[_0x4b3358(0x1cc)]=[],this[_0x4b3358(0x19f)]=null;}return _0x36c6e0;}[_0xd75a97(0x1b5)](_0x2dbc53,_0xbefcd9){const _0x10cff9=_0xd75a97;let _0x2f64a0=!0x1;const _0x1c59f2=this[_0x10cff9(0x1e2)][_0x10cff9(0x1de)][_0x10cff9(0x1a7)](_0x10cff9(0x1b4)),{inserted:_0x8da60b,moved:_0x1934cf}=this[_0x10cff9(0x1b1)][_0x10cff9(0x1bc)](_0xbefcd9);for(const _0x10307a of[..._0x1934cf,..._0x8da60b]){const _0x10ac7e=_0x10307a[_0x10cff9(0x1d8)](_0x10cff9(0x19b)),_0x13d649=this[_0x10cff9(0x1e9)](_0x10ac7e);_0x13d649&&(_0x13d649[_0x10cff9(0x1ae)]=_0x10307a),_(_0x2dbc53,_0x1c59f2,_0x10307a)&&(_0x2f64a0=!0x0);}return _0x2f64a0;}[_0xd75a97(0x1a9)](_0x4f5c8a,_0x297565){const _0xf3cd95=_0xd75a97;let _0x1a5085=!0x1;const {removed:_0x522b3f,inserted:_0x58a5f1,moved:_0x541205}=this[_0xf3cd95(0x1d3)][_0xf3cd95(0x1bc)](_0x297565);for(const _0x4e5eb9 of _0x522b3f)this[_0xf3cd95(0x1ad)](_0x4f5c8a,_0x4e5eb9)&&(_0x1a5085=!0x0);for(const _0x2353e4 of _0x58a5f1)this[_0xf3cd95(0x19e)](_0x4f5c8a,_0x2353e4)&&(_0x1a5085=!0x0);for(const _0x4127ff of _0x541205)this[_0xf3cd95(0x1c6)](_0x4f5c8a,_0x4127ff)&&(_0x1a5085=!0x0);return _0x1a5085;}[_0xd75a97(0x1ce)](_0x4de8bc){const _0x12b91e=_0xd75a97;if(!this[_0x12b91e(0x19f)])return!0x1;let _0x303130=!0x1;if(this[_0x12b91e(0x19f)][_0x12b91e(0x1c3)]!==this[_0x12b91e(0x1cc)][_0x12b91e(0x1d5)]){const _0x2d156c=[];for(const _0x31c4d9 of this[_0x12b91e(0x19f)][_0x12b91e(0x1da)]()){const _0x3eb5fc=_0x31c4d9[_0x12b91e(0x1d8)](_0x12b91e(0x19b));this[_0x12b91e(0x1e9)](_0x3eb5fc)||(_0x2d156c[_0x12b91e(0x194)](_0x31c4d9),_0x303130=!0x0);}for(const _0x30b64d of _0x2d156c)_0x4de8bc[_0x12b91e(0x1a0)](_0x30b64d);}const _0xd26ee8=new Set(),_0x3a134d=[];for(const _0x503305 of this[_0x12b91e(0x19f)][_0x12b91e(0x1da)]()){const _0x55af4e=_0x503305[_0x12b91e(0x1d8)](_0x12b91e(0x19b));_0xd26ee8[_0x12b91e(0x192)](_0x55af4e)?(_0x3a134d[_0x12b91e(0x194)](_0x503305),_0x303130=!0x0):_0xd26ee8[_0x12b91e(0x1b3)](_0x55af4e);}for(const _0x572309 of _0x3a134d)_0x4de8bc[_0x12b91e(0x1a0)](_0x572309);return this[_0x12b91e(0x19f)][_0x12b91e(0x1c3)]||(_0x4de8bc[_0x12b91e(0x1a0)](this[_0x12b91e(0x19f)]),this[_0x12b91e(0x19f)]=null,_0x303130=!0x0),_0x303130;}[_0xd75a97(0x19e)](_0x8efb90,_0x494452){const _0x5eff92=_0xd75a97;if(this[_0x5eff92(0x1cc)][_0x5eff92(0x1cd)](_0x8579f1=>_0x8579f1[_0x5eff92(0x1d9)]===_0x494452))return!0x1;let _0x5641e0=!0x1;const _0x3b97f1=_0x494452[_0x5eff92(0x1d8)](_0x5eff92(0x19b)),_0x5b895c=this[_0x5eff92(0x1e9)](_0x3b97f1);_0x5b895c&&(_0x8efb90[_0x5eff92(0x1a0)](_0x5b895c[_0x5eff92(0x1d9)]),this[_0x5eff92(0x1cc)]=this[_0x5eff92(0x1cc)][_0x5eff92(0x195)](_0x42b9bb=>_0x42b9bb['id']!==_0x3b97f1),_0x5641e0=!0x0);let _0x398e0b=this[_0x5eff92(0x19f)]?function(_0x5f1fb2,_0x395a52){const _0x579680=_0x5eff92;for(const _0x45060f of _0x5f1fb2[_0x579680(0x1da)]())if(_0x45060f[_0x579680(0x1d8)](_0x579680(0x19b))===_0x395a52)return _0x45060f;return null;}(this[_0x5eff92(0x19f)],_0x3b97f1):null;_0x398e0b||(_0x398e0b=_0x8efb90[_0x5eff92(0x1c2)](_0x5eff92(0x1bb),{'footnoteId':_0x3b97f1}),this[_0x5eff92(0x19f)]&&(_0x8efb90[_0x5eff92(0x19c)](_0x398e0b,this[_0x5eff92(0x19f)],_0x5eff92(0x19a)),_0x5641e0=!0x0));const _0x56b3cb={'id':_0x3b97f1,'reference':_0x494452,'definition':_0x398e0b},_0xdb2baf=I(this[_0x5eff92(0x1e2)][_0x5eff92(0x198)],this[_0x5eff92(0x1cc)],_0x494452);return this[_0x5eff92(0x1cc)][_0x5eff92(0x197)](_0xdb2baf,0x0,_0x56b3cb),this[_0x5eff92(0x1eb)](_0x8efb90,_0xdb2baf)&&(_0x5641e0=!0x0),_0x5641e0;}[_0xd75a97(0x1ad)](_0x413a61,_0x17e0b1){const _0x326d17=_0xd75a97,_0x43b473=this[_0x326d17(0x1cc)][_0x326d17(0x1af)](_0xada931=>_0xada931['id']===_0x17e0b1);if(-0x1===_0x43b473)return!0x1;let _0x3ecbfd=!0x1;const _0x562367=this[_0x326d17(0x1cc)][_0x43b473];return _0x326d17(0x190)!==_0x562367[_0x326d17(0x1ae)][_0x326d17(0x1ba)][_0x326d17(0x19d)]&&(_0x413a61[_0x326d17(0x1a0)](_0x562367[_0x326d17(0x1ae)]),_0x3ecbfd=!0x0),this[_0x326d17(0x1cc)][_0x326d17(0x197)](_0x43b473,0x1),this[_0x326d17(0x1eb)](_0x413a61,_0x43b473)&&(_0x3ecbfd=!0x0),_0x3ecbfd;}[_0xd75a97(0x1c6)](_0x5d8c30,_0x547dfe){const _0x153f85=_0xd75a97,_0x818424=_0x547dfe[_0x153f85(0x1d8)](_0x153f85(0x19b)),_0x34c768=this[_0x153f85(0x1cc)][_0x153f85(0x1af)](_0x4666be=>_0x4666be['id']===_0x818424),_0x3a9014=this[_0x153f85(0x1cc)][_0x34c768];let _0xbbf175=!0x1;_0x3a9014[_0x153f85(0x1d9)]=_0x547dfe,this[_0x153f85(0x1cc)][_0x153f85(0x197)](_0x34c768,0x1);const _0x5b173a=I(this[_0x153f85(0x1e2)][_0x153f85(0x198)],this[_0x153f85(0x1cc)],_0x547dfe);return this[_0x153f85(0x1cc)][_0x153f85(0x197)](_0x5b173a,0x0,_0x3a9014),this[_0x153f85(0x1eb)](_0x5d8c30,Math[_0x153f85(0x1df)](_0x34c768,_0x5b173a))&&(_0xbbf175=!0x0),_0xbbf175;}[_0xd75a97(0x1e1)](_0x1fbd40,_0x2f5ac5){const _0x40d164=_0xd75a97;if(!this[_0x40d164(0x19f)])return!0x1;const _0x477c61=this[_0x40d164(0x1cc)][_0x2f5ac5];let _0x5f4271;return _0x5f4271=this[_0x40d164(0x1e7)]?this[_0x40d164(0x1e7)]({'footnote':_0x477c61,'container':this[_0x40d164(0x19f)],'digits':String(this[_0x40d164(0x1cc)][_0x40d164(0x1d5)])[_0x40d164(0x1d5)],'value':_0x2f5ac5+0x1}):String(_0x2f5ac5+0x1),_0x477c61[_0x40d164(0x1d9)][_0x40d164(0x1d8)](_0x40d164(0x18f))!=_0x5f4271&&(_0x1fbd40[_0x40d164(0x1a4)](_0x40d164(0x18f),_0x5f4271,_0x477c61[_0x40d164(0x1d9)]),!0x0);}[_0xd75a97(0x1bd)](_0x1459d4){const _0x16ee26=_0xd75a97;if(!this[_0x16ee26(0x19f)]||this[_0x16ee26(0x1cc)][_0x16ee26(0x1d5)]<0x2)return!0x1;if(function(_0x5d5074,_0x4b839b){const _0x42c0ad=_0x16ee26;if(_0x5d5074[_0x42c0ad(0x1d5)]!==_0x4b839b[_0x42c0ad(0x1d5)])return!0x1;for(let _0x4f9c37=0x0;_0x4f9c37<_0x5d5074[_0x42c0ad(0x1d5)];_0x4f9c37++)if(_0x5d5074[_0x4f9c37]!==_0x4b839b[_0x4f9c37])return!0x1;return!0x0;}(this[_0x16ee26(0x1cc)][_0x16ee26(0x1ec)](_0x15bc00=>_0x15bc00['id']),Array[_0x16ee26(0x1ab)](this[_0x16ee26(0x19f)][_0x16ee26(0x1da)]())[_0x16ee26(0x1ec)](_0x4cd36c=>_0x4cd36c[_0x16ee26(0x1d8)](_0x16ee26(0x19b)))))return!0x1;let _0x1b0a77=!0x1;for(let _0x34b56f=0x0;_0x34b56f<this[_0x16ee26(0x1cc)][_0x16ee26(0x1d5)];_0x34b56f++){const _0x4b23fc=this[_0x16ee26(0x1cc)][_0x34b56f],_0x56c333=_0x1459d4[_0x16ee26(0x199)](_0x4b23fc[_0x16ee26(0x1ae)]),_0x687c3c=_0x1459d4[_0x16ee26(0x1bf)](this[_0x16ee26(0x19f)],_0x34b56f);_0x56c333[_0x16ee26(0x1dd)](_0x687c3c)||(_0x1459d4[_0x16ee26(0x1b7)](_0x1459d4[_0x16ee26(0x1a5)](_0x4b23fc[_0x16ee26(0x1ae)]),_0x687c3c),_0x1b0a77=!0x0);}return _0x1b0a77;}[_0xd75a97(0x1e5)](_0x48acfd){const _0x53eb27=_0xd75a97;if(!this[_0x53eb27(0x1cc)][_0x53eb27(0x1d5)])return!0x1;const {model:_0x41657f}=this[_0x53eb27(0x1e2)];let _0x5ea9cf=!0x1;for(let _0x2e54c5=0x0;_0x2e54c5<this[_0x53eb27(0x1cc)][_0x53eb27(0x1d5)]-0x1;_0x2e54c5++){const _0x528aac=this[_0x53eb27(0x1cc)][_0x2e54c5],_0x475e11=this[_0x53eb27(0x1cc)][_0x2e54c5+0x1],_0x151208=_0x41657f[_0x53eb27(0x199)](_0x528aac[_0x53eb27(0x1d9)]),_0x3f208c=_0x41657f[_0x53eb27(0x199)](_0x475e11[_0x53eb27(0x1d9)]);_0x53eb27(0x1e4)===_0x151208[_0x53eb27(0x1e6)](_0x3f208c)&&(this[_0x53eb27(0x1c6)](_0x48acfd,_0x528aac[_0x53eb27(0x1d9)]),_0x2e54c5=-0x1,_0x5ea9cf=!0x0);}return _0x5ea9cf;}}function _(_0x439d13,_0x2b1b73,_0x3d9b22){const _0x472ac2=_0xd75a97;if(_0x3d9b22[_0x472ac2(0x1c3)])return!0x1;const _0x2cfc78=_0x2b1b73?_0x472ac2(0x1b8):_0x472ac2(0x1d6);return _0x439d13[_0x472ac2(0x19c)](_0x439d13[_0x472ac2(0x1c2)](_0x2cfc78),_0x3d9b22),!0x0;}function _0x5f4d(_0x2e0080,_0x5ce5d0){const _0x30789d=_0x3078();return _0x5f4d=function(_0x5f4da1,_0x5431cd){_0x5f4da1=_0x5f4da1-0x18d;let _0x3bb93a=_0x30789d[_0x5f4da1];return _0x3bb93a;},_0x5f4d(_0x2e0080,_0x5ce5d0);}function I(_0x6f1325,_0x46b2f9,_0x5d7588){const _0xa1c4eb=_0xd75a97;if(0x0===_0x46b2f9[_0xa1c4eb(0x1d5)])return 0x0;const _0x50854c=_0x6f1325[_0xa1c4eb(0x199)](_0x5d7588);for(let _0x51444f=0x0;_0x51444f<_0x46b2f9[_0xa1c4eb(0x1d5)];_0x51444f++){const _0x33293a=_0x46b2f9[_0x51444f],_0x11e366=_0x6f1325[_0xa1c4eb(0x199)](_0x33293a[_0xa1c4eb(0x1d9)]);if(_0xa1c4eb(0x1b9)===_0x50854c[_0xa1c4eb(0x1e6)](_0x11e366))return _0x51444f;}const _0x5ceb9a=_0x5d7588[_0xa1c4eb(0x1ba)];let _0x5b6906=-0x1;for(let _0x2937a7=_0x46b2f9[_0xa1c4eb(0x1d5)]-0x1;_0x2937a7>=0x0;_0x2937a7--)if(_0x46b2f9[_0x2937a7][_0xa1c4eb(0x1d9)][_0xa1c4eb(0x1ba)]===_0x5ceb9a){_0x5b6906=_0x2937a7;break;}if(-0x1!==_0x5b6906)return _0x5b6906+0x1;const _0x545c1c=_0x6f1325[_0xa1c4eb(0x1a1)][_0xa1c4eb(0x1cf)](),_0x4ef914=_0x545c1c[_0xa1c4eb(0x1c8)](_0x5ceb9a[_0xa1c4eb(0x19d)]),_0x43b743=_0x545c1c[_0x4ef914+0x1];if(_0x43b743){for(let _0x148924=0x0;_0x148924<_0x46b2f9[_0xa1c4eb(0x1d5)];_0x148924++)if(_0x46b2f9[_0x148924][_0xa1c4eb(0x1d9)][_0xa1c4eb(0x1ba)][_0xa1c4eb(0x19d)]===_0x43b743)return _0x148924;}return _0x46b2f9[_0xa1c4eb(0x1d5)];}
|
|
23
|
+
function _0x1ff2(_0x5054db,_0x21520b){const _0x39cbb3=_0x39cb();return _0x1ff2=function(_0x1ff272,_0xbbfb0){_0x1ff272=_0x1ff272-0x13f;let _0x26f68d=_0x39cbb3[_0x1ff272];return _0x26f68d;},_0x1ff2(_0x5054db,_0x21520b);}const _0x1f2cf1=_0x1ff2;function _0x39cb(){const _0x33a9b1=['before','footnoteCounter','_handleFootnoteReferencesChanges','config','footnoteInlineContent','124113tloLkv','12052824DuEQpv','change:data','differ','indexOf','footnotes.multiBlock','_footnoteRefsTracker','isOfficialPlugin','createRangeOn','_handleFootnoteDefinitionsChanges','18wCrHQi','editor','singleton','document','remove','paragraph','enqueueChange','init','_handleInsertedFootnoteReference','$graveyard','_footnoteFormatter','footnoteRef','append','_handleRemoveFootnoteReferenceById','min','534692JpyNtI','push','2090948OQzPOH','getFootnotesFormatter','_handleMovedFootnoteReference','insert','6ZXxpZF','getRootNames','_ensureFootnotesDefinitionsContainerExists','getChanges','_footnotes','footnoteId','_footnoteDefsTracker','_sortFootnoteDefinitions','1836duvZJK','getFootnote','1203010SGeOvn','model','listenTo','has','move','getFootnotesDefinitionsObjectElement','findIndex','FootnotesTracker','after','getChildren','pluginName','isEqual','footnotesDefinitions','get','_handleFootnotesDefinitionsObjectChanges','_footnotesDefinitions','root','isPremiumPlugin','getFootnotes','find','_ensureFootnotesReferencesHaveProperOrder','parent','createElement','_insertEmptyFootnotesDefinitionsContainer','5597744mFgUZp','from','rootName','23410ewuMjw','childCount','createRangeIn','registerPostFixer','_updateFootnoteRefCounter','splice','createPositionAt','5877SuvMyp','map','reference','_handleFootnotesDefinitionsObjectSync','definition','add','compareWith','getAttribute','length','_footnoteDefsContainerTracker','some','3KcJSfW','low','unshift','_updateFootnotesCounters','setFootnoteFormatter','createPositionBefore','filter','footnoteDefinition','setAttribute','end'];_0x39cb=function(){return _0x33a9b1;};return _0x39cb();}(function(_0x23cbb9,_0x186463){const _0xc2d922=_0x1ff2,_0x332163=_0x23cbb9();while(!![]){try{const _0x3eff7f=parseInt(_0xc2d922(0x14f))/0x1*(parseInt(_0xc2d922(0x149))/0x2)+parseInt(_0xc2d922(0x186))/0x3*(-parseInt(_0xc2d922(0x14b))/0x4)+-parseInt(_0xc2d922(0x159))/0x5*(-parseInt(_0xc2d922(0x19f))/0x6)+-parseInt(_0xc2d922(0x196))/0x7+parseInt(_0xc2d922(0x171))/0x8+-parseInt(_0xc2d922(0x17b))/0x9*(parseInt(_0xc2d922(0x174))/0xa)+-parseInt(_0xc2d922(0x195))/0xb*(-parseInt(_0xc2d922(0x157))/0xc);if(_0x3eff7f===_0x186463)break;else _0x332163['push'](_0x332163['shift']());}catch(_0x10d0f3){_0x332163['push'](_0x332163['shift']());}}}(_0x39cb,0xeeee1));import{Plugin as _0x58d154}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x31b12f}from'./modelelementtracker.js';export class FootnotesTracker extends _0x58d154{[_0x1f2cf1(0x153)]=[];[_0x1f2cf1(0x168)]=null;[_0x1f2cf1(0x144)]=null;[_0x1f2cf1(0x184)];[_0x1f2cf1(0x19b)];[_0x1f2cf1(0x155)];static get[_0x1f2cf1(0x163)](){const _0x2ff215=_0x1f2cf1;return _0x2ff215(0x160);}static get[_0x1f2cf1(0x19c)](){return!0x0;}static get[_0x1f2cf1(0x16a)](){return!0x0;}constructor(_0x201658){const _0x32564d=_0x1f2cf1;super(_0x201658),this[_0x32564d(0x184)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x165),'getElementKey':()=>_0x32564d(0x1a1)}),this[_0x32564d(0x19b)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x145),'getElementKey':_0x574cee=>_0x574cee[_0x32564d(0x182)](_0x32564d(0x154))}),this[_0x32564d(0x155)]=new _0x31b12f(this[_0x32564d(0x1a0)][_0x32564d(0x15a)],{'elementName':_0x32564d(0x18d),'getElementKey':_0x258f8b=>_0x258f8b[_0x32564d(0x182)](_0x32564d(0x154))});}[_0x1f2cf1(0x141)](){const _0x3edb58=_0x1f2cf1,{editor:_0xfac974}=this,{model:_0x10d906}=_0xfac974;_0x10d906[_0x3edb58(0x1a2)][_0x3edb58(0x177)](_0xb1434=>{const _0xb3ff0d=_0x3edb58,_0xb017e9=_0x10d906[_0xb3ff0d(0x1a2)][_0xb3ff0d(0x198)][_0xb3ff0d(0x152)]();let _0x3f232b=!0x1;return this[_0xb3ff0d(0x167)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x19e)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x192)](_0xb1434,_0xb017e9)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x16d)](_0xb1434)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x17e)](_0xb1434)&&(_0x3f232b=!0x0),this[_0xb3ff0d(0x156)](_0xb1434)&&(_0x3f232b=!0x0),_0x3f232b;}),this[_0x3edb58(0x15b)](_0x10d906[_0x3edb58(0x1a2)],_0x3edb58(0x197),()=>{const _0x38b01c=_0x3edb58;_0x10d906[_0x38b01c(0x140)]({'isUndoable':!0x1},_0x59db1f=>{const _0xb848b9=_0x38b01c;this[_0xb848b9(0x151)](_0x59db1f);});},{'priority':_0x3edb58(0x187)});}[_0x1f2cf1(0x15e)](){const _0x7f6dde=_0x1f2cf1;return this[_0x7f6dde(0x168)];}[_0x1f2cf1(0x158)](_0x334962){const _0x293743=_0x1f2cf1;return this[_0x293743(0x153)][_0x293743(0x16c)](_0x49cdf5=>_0x49cdf5['id']===_0x334962)||null;}[_0x1f2cf1(0x16b)](){const _0x2464b5=_0x1f2cf1;return Array[_0x2464b5(0x172)](this[_0x2464b5(0x153)]);}[_0x1f2cf1(0x14c)](){const _0x148893=_0x1f2cf1;return this[_0x148893(0x144)];}[_0x1f2cf1(0x18a)](_0xa02139){const _0x116198=_0x1f2cf1;this[_0x116198(0x144)]=_0xa02139;}[_0x1f2cf1(0x189)](_0x43ddf5,_0x46cbc1=0x0){const _0x160449=_0x1f2cf1;let _0x314a74=!0x1;for(let _0x352e6a=_0x46cbc1;_0x352e6a<this[_0x160449(0x153)][_0x160449(0x183)];_0x352e6a++)this[_0x160449(0x178)](_0x43ddf5,_0x352e6a)&&(_0x314a74=!0x0);return _0x314a74;}[_0x1f2cf1(0x170)](_0x211ccf,_0x47a39e){const _0x2e23e7=_0x1f2cf1,_0x5b9637=_0x211ccf[_0x2e23e7(0x16f)](_0x2e23e7(0x165),{});return _0x211ccf[_0x2e23e7(0x146)](_0x5b9637,_0x47a39e),this[_0x2e23e7(0x168)]=_0x5b9637,_0x5b9637;}[_0x1f2cf1(0x151)](_0x4ff033){const _0x1de29d=_0x1f2cf1;if(!this[_0x1de29d(0x153)][_0x1de29d(0x183)]||this[_0x1de29d(0x168)])return;const _0x1a9c2d=this[_0x1de29d(0x153)][0x0][_0x1de29d(0x17d)][_0x1de29d(0x169)],_0x23dfc7=this[_0x1de29d(0x170)](_0x4ff033,_0x1a9c2d);for(const _0x56225a of this[_0x1de29d(0x153)])_0x56225a[_0x1de29d(0x17f)][_0x1de29d(0x16e)]||_0x4ff033[_0x1de29d(0x14e)](_0x56225a[_0x1de29d(0x17f)],_0x23dfc7,_0x1de29d(0x18f));this[_0x1de29d(0x189)](_0x4ff033);}[_0x1f2cf1(0x167)](_0x389e27,_0x316194){const _0x5c3e4a=_0x1f2cf1;let _0x238d06=!0x1;const {inserted:_0x3becba,removed:_0x1a48d4,moved:_0x5b109a}=this[_0x5c3e4a(0x184)][_0x5c3e4a(0x152)](_0x316194);if(_0x5b109a[_0x5c3e4a(0x183)]&&(this[_0x5c3e4a(0x168)]=_0x5b109a[0x0]),_0x3becba[_0x5c3e4a(0x183)]){if(_0x3becba[_0x5c3e4a(0x183)]>0x1||this[_0x5c3e4a(0x168)]&&_0x3becba[_0x5c3e4a(0x185)](_0xf5d06c=>_0xf5d06c!==this[_0x5c3e4a(0x168)])){const _0x23f5bf=_0x389e27[_0x5c3e4a(0x16f)](_0x5c3e4a(0x165),{}),_0x1a2f8d=[];this[_0x5c3e4a(0x168)]&&_0x1a2f8d[_0x5c3e4a(0x14a)](this[_0x5c3e4a(0x168)]),_0x1a2f8d[_0x5c3e4a(0x14a)](..._0x3becba),_0x389e27[_0x5c3e4a(0x14e)](_0x23f5bf,_0x1a2f8d[0x0],_0x5c3e4a(0x190));for(const _0x1b90b6 of _0x1a2f8d)_0x389e27[_0x5c3e4a(0x15d)](_0x389e27[_0x5c3e4a(0x176)](_0x1b90b6),_0x389e27[_0x5c3e4a(0x17a)](_0x23f5bf,_0x5c3e4a(0x18f))),_0x389e27[_0x5c3e4a(0x1a3)](_0x1b90b6);this[_0x5c3e4a(0x168)]=_0x23f5bf,this[_0x5c3e4a(0x189)](_0x389e27),_0x238d06=!0x0;}else this[_0x5c3e4a(0x168)]=_0x3becba[0x0];}if(_0x1a48d4[_0x5c3e4a(0x183)]&&_0x5c3e4a(0x143)===this[_0x5c3e4a(0x168)]?.[_0x5c3e4a(0x169)][_0x5c3e4a(0x173)]){for(const _0x339aa4 of this[_0x5c3e4a(0x153)])_0x389e27[_0x5c3e4a(0x1a3)](_0x339aa4[_0x5c3e4a(0x17d)]),_0x238d06=!0x0;this[_0x5c3e4a(0x153)]=[],this[_0x5c3e4a(0x168)]=null;}return _0x238d06;}[_0x1f2cf1(0x19e)](_0x59533f,_0xc66b75){const _0x52cd47=_0x1f2cf1;let _0x3f0955=!0x1;const _0x2d3690=this[_0x52cd47(0x1a0)][_0x52cd47(0x193)][_0x52cd47(0x166)](_0x52cd47(0x19a)),{inserted:_0x1f88d1,moved:_0x58af16}=this[_0x52cd47(0x155)][_0x52cd47(0x152)](_0xc66b75);for(const _0x23088f of[..._0x58af16,..._0x1f88d1]){const _0x43a80f=_0x23088f[_0x52cd47(0x182)](_0x52cd47(0x154)),_0xeceaae=this[_0x52cd47(0x158)](_0x43a80f);_0xeceaae&&(_0xeceaae[_0x52cd47(0x17f)]=_0x23088f),_(_0x59533f,_0x2d3690,_0x23088f)&&(_0x3f0955=!0x0);}return _0x3f0955;}[_0x1f2cf1(0x192)](_0x93d424,_0x1b761c){const _0x1cf38c=_0x1f2cf1;let _0x5c647b=!0x1;const {removed:_0x442dab,inserted:_0x16052f,moved:_0x30aa51}=this[_0x1cf38c(0x19b)][_0x1cf38c(0x152)](_0x1b761c);for(const _0x2c3222 of _0x442dab)this[_0x1cf38c(0x147)](_0x93d424,_0x2c3222)&&(_0x5c647b=!0x0);for(const _0x5788e5 of _0x16052f)this[_0x1cf38c(0x142)](_0x93d424,_0x5788e5)&&(_0x5c647b=!0x0);for(const _0x3c7a27 of _0x30aa51)this[_0x1cf38c(0x14d)](_0x93d424,_0x3c7a27)&&(_0x5c647b=!0x0);return _0x5c647b;}[_0x1f2cf1(0x17e)](_0xece7de){const _0x22253d=_0x1f2cf1;if(!this[_0x22253d(0x168)])return!0x1;let _0x584c4b=!0x1;if(this[_0x22253d(0x168)][_0x22253d(0x175)]!==this[_0x22253d(0x153)][_0x22253d(0x183)]){const _0x32dc4c=[];for(const _0x138c0a of this[_0x22253d(0x168)][_0x22253d(0x162)]()){const _0x4d15f9=_0x138c0a[_0x22253d(0x182)](_0x22253d(0x154));this[_0x22253d(0x158)](_0x4d15f9)||(_0x32dc4c[_0x22253d(0x188)](_0x138c0a),_0x584c4b=!0x0);}for(const _0x22b203 of _0x32dc4c)_0xece7de[_0x22253d(0x1a3)](_0x22b203);}const _0x418049=new Set(),_0x5ba7c9=[];for(const _0x49107c of this[_0x22253d(0x168)][_0x22253d(0x162)]()){const _0x58007b=_0x49107c[_0x22253d(0x182)](_0x22253d(0x154));_0x418049[_0x22253d(0x15c)](_0x58007b)?(_0x5ba7c9[_0x22253d(0x188)](_0x49107c),_0x584c4b=!0x0):_0x418049[_0x22253d(0x180)](_0x58007b);}for(const _0x8fce22 of _0x5ba7c9)_0xece7de[_0x22253d(0x1a3)](_0x8fce22);return this[_0x22253d(0x168)][_0x22253d(0x175)]||(_0xece7de[_0x22253d(0x1a3)](this[_0x22253d(0x168)]),this[_0x22253d(0x168)]=null,_0x584c4b=!0x0),_0x584c4b;}[_0x1f2cf1(0x142)](_0x4368ad,_0x199841){const _0x4dfcb2=_0x1f2cf1;if(this[_0x4dfcb2(0x153)][_0x4dfcb2(0x16c)](_0x47b8a0=>_0x47b8a0[_0x4dfcb2(0x17d)]===_0x199841))return!0x1;let _0x5a476e=!0x1;const _0x23ed3c=_0x199841[_0x4dfcb2(0x182)](_0x4dfcb2(0x154)),_0x1226e1=this[_0x4dfcb2(0x158)](_0x23ed3c);_0x1226e1&&(_0x4368ad[_0x4dfcb2(0x1a3)](_0x1226e1[_0x4dfcb2(0x17d)]),this[_0x4dfcb2(0x153)]=this[_0x4dfcb2(0x153)][_0x4dfcb2(0x18c)](_0x204df3=>_0x204df3['id']!==_0x23ed3c),_0x5a476e=!0x0);let _0x5eade3=this[_0x4dfcb2(0x168)]?function(_0x319247,_0x43003b){const _0x1345f5=_0x4dfcb2;for(const _0x17ee79 of _0x319247[_0x1345f5(0x162)]())if(_0x17ee79[_0x1345f5(0x182)](_0x1345f5(0x154))===_0x43003b)return _0x17ee79;return null;}(this[_0x4dfcb2(0x168)],_0x23ed3c):null;_0x5eade3||(_0x5eade3=_0x4368ad[_0x4dfcb2(0x16f)](_0x4dfcb2(0x18d),{'footnoteId':_0x23ed3c}),this[_0x4dfcb2(0x168)]&&(_0x4368ad[_0x4dfcb2(0x14e)](_0x5eade3,this[_0x4dfcb2(0x168)],_0x4dfcb2(0x18f)),_0x5a476e=!0x0));const _0x5a9429={'id':_0x23ed3c,'reference':_0x199841,'definition':_0x5eade3},_0x3682f4=I(this[_0x4dfcb2(0x1a0)][_0x4dfcb2(0x15a)],this[_0x4dfcb2(0x153)],_0x199841);return this[_0x4dfcb2(0x153)][_0x4dfcb2(0x179)](_0x3682f4,0x0,_0x5a9429),this[_0x4dfcb2(0x189)](_0x4368ad,_0x3682f4)&&(_0x5a476e=!0x0),_0x5a476e;}[_0x1f2cf1(0x147)](_0x34d3cb,_0xba6cc5){const _0x2a5755=_0x1f2cf1,_0x310476=this[_0x2a5755(0x153)][_0x2a5755(0x15f)](_0x4c7e75=>_0x4c7e75['id']===_0xba6cc5);if(-0x1===_0x310476)return!0x1;let _0x4e77a7=!0x1;const _0x333706=this[_0x2a5755(0x153)][_0x310476];return _0x2a5755(0x143)!==_0x333706[_0x2a5755(0x17f)][_0x2a5755(0x169)][_0x2a5755(0x173)]&&(_0x34d3cb[_0x2a5755(0x1a3)](_0x333706[_0x2a5755(0x17f)]),_0x4e77a7=!0x0),this[_0x2a5755(0x153)][_0x2a5755(0x179)](_0x310476,0x1),this[_0x2a5755(0x189)](_0x34d3cb,_0x310476)&&(_0x4e77a7=!0x0),_0x4e77a7;}[_0x1f2cf1(0x14d)](_0x4c3b9f,_0x1a8b78){const _0x14e1b4=_0x1f2cf1,_0xd980be=_0x1a8b78[_0x14e1b4(0x182)](_0x14e1b4(0x154)),_0x54b64b=this[_0x14e1b4(0x153)][_0x14e1b4(0x15f)](_0x56f0c2=>_0x56f0c2['id']===_0xd980be),_0x52fd4e=this[_0x14e1b4(0x153)][_0x54b64b];let _0x582611=!0x1;_0x52fd4e[_0x14e1b4(0x17d)]=_0x1a8b78,this[_0x14e1b4(0x153)][_0x14e1b4(0x179)](_0x54b64b,0x1);const _0x3d7bd1=I(this[_0x14e1b4(0x1a0)][_0x14e1b4(0x15a)],this[_0x14e1b4(0x153)],_0x1a8b78);return this[_0x14e1b4(0x153)][_0x14e1b4(0x179)](_0x3d7bd1,0x0,_0x52fd4e),this[_0x14e1b4(0x189)](_0x4c3b9f,Math[_0x14e1b4(0x148)](_0x54b64b,_0x3d7bd1))&&(_0x582611=!0x0),_0x582611;}[_0x1f2cf1(0x178)](_0x3a81e2,_0x111a83){const _0x3a922c=_0x1f2cf1;if(!this[_0x3a922c(0x168)])return!0x1;const _0x3b0b8e=this[_0x3a922c(0x153)][_0x111a83];let _0x173696;return _0x173696=this[_0x3a922c(0x144)]?this[_0x3a922c(0x144)]({'footnote':_0x3b0b8e,'container':this[_0x3a922c(0x168)],'digits':String(this[_0x3a922c(0x153)][_0x3a922c(0x183)])[_0x3a922c(0x183)],'value':_0x111a83+0x1}):String(_0x111a83+0x1),_0x3b0b8e[_0x3a922c(0x17d)][_0x3a922c(0x182)](_0x3a922c(0x191))!=_0x173696&&(_0x3a81e2[_0x3a922c(0x18e)](_0x3a922c(0x191),_0x173696,_0x3b0b8e[_0x3a922c(0x17d)]),!0x0);}[_0x1f2cf1(0x156)](_0xf16b74){const _0x52f4e1=_0x1f2cf1;if(!this[_0x52f4e1(0x168)]||this[_0x52f4e1(0x153)][_0x52f4e1(0x183)]<0x2)return!0x1;if(function(_0x368b8c,_0x53985c){const _0x3dfd7a=_0x52f4e1;if(_0x368b8c[_0x3dfd7a(0x183)]!==_0x53985c[_0x3dfd7a(0x183)])return!0x1;for(let _0x23f8e2=0x0;_0x23f8e2<_0x368b8c[_0x3dfd7a(0x183)];_0x23f8e2++)if(_0x368b8c[_0x23f8e2]!==_0x53985c[_0x23f8e2])return!0x1;return!0x0;}(this[_0x52f4e1(0x153)][_0x52f4e1(0x17c)](_0x1bf63b=>_0x1bf63b['id']),Array[_0x52f4e1(0x172)](this[_0x52f4e1(0x168)][_0x52f4e1(0x162)]())[_0x52f4e1(0x17c)](_0x4b3478=>_0x4b3478[_0x52f4e1(0x182)](_0x52f4e1(0x154)))))return!0x1;let _0x39829d=!0x1;for(let _0x2d4c42=0x0;_0x2d4c42<this[_0x52f4e1(0x153)][_0x52f4e1(0x183)];_0x2d4c42++){const _0x2290ed=this[_0x52f4e1(0x153)][_0x2d4c42],_0xf75a8f=_0xf16b74[_0x52f4e1(0x18b)](_0x2290ed[_0x52f4e1(0x17f)]),_0x1c4daa=_0xf16b74[_0x52f4e1(0x17a)](this[_0x52f4e1(0x168)],_0x2d4c42);_0xf75a8f[_0x52f4e1(0x164)](_0x1c4daa)||(_0xf16b74[_0x52f4e1(0x15d)](_0xf16b74[_0x52f4e1(0x19d)](_0x2290ed[_0x52f4e1(0x17f)]),_0x1c4daa),_0x39829d=!0x0);}return _0x39829d;}[_0x1f2cf1(0x16d)](_0x3d2df6){const _0xbc3377=_0x1f2cf1;if(!this[_0xbc3377(0x153)][_0xbc3377(0x183)])return!0x1;const {model:_0x1a137b}=this[_0xbc3377(0x1a0)];let _0x253ed4=!0x1;for(let _0x42eef1=0x0;_0x42eef1<this[_0xbc3377(0x153)][_0xbc3377(0x183)]-0x1;_0x42eef1++){const _0xb12190=this[_0xbc3377(0x153)][_0x42eef1],_0x2b8c6a=this[_0xbc3377(0x153)][_0x42eef1+0x1],_0x361276=_0x1a137b[_0xbc3377(0x18b)](_0xb12190[_0xbc3377(0x17d)]),_0x3c5c3=_0x1a137b[_0xbc3377(0x18b)](_0x2b8c6a[_0xbc3377(0x17d)]);_0xbc3377(0x161)===_0x361276[_0xbc3377(0x181)](_0x3c5c3)&&(this[_0xbc3377(0x14d)](_0x3d2df6,_0xb12190[_0xbc3377(0x17d)]),_0x42eef1=-0x1,_0x253ed4=!0x0);}return _0x253ed4;}}function _(_0x3e0b5c,_0x2d7b2d,_0x69c810){const _0x487a5b=_0x1f2cf1;if(_0x69c810[_0x487a5b(0x175)])return!0x1;const _0x50aa95=_0x2d7b2d?_0x487a5b(0x13f):_0x487a5b(0x194);return _0x3e0b5c[_0x487a5b(0x14e)](_0x3e0b5c[_0x487a5b(0x16f)](_0x50aa95),_0x69c810),!0x0;}function I(_0x18d619,_0x3c6a7c,_0x55b905){const _0x22518d=_0x1f2cf1;if(0x0===_0x3c6a7c[_0x22518d(0x183)])return 0x0;const _0x261ab0=_0x18d619[_0x22518d(0x18b)](_0x55b905);for(let _0x523e32=0x0;_0x523e32<_0x3c6a7c[_0x22518d(0x183)];_0x523e32++){const _0x5b72a5=_0x3c6a7c[_0x523e32],_0x1d53f0=_0x18d619[_0x22518d(0x18b)](_0x5b72a5[_0x22518d(0x17d)]);if(_0x22518d(0x190)===_0x261ab0[_0x22518d(0x181)](_0x1d53f0))return _0x523e32;}const _0x14b024=_0x55b905[_0x22518d(0x169)];let _0x31d7c7=-0x1;for(let _0x195b88=_0x3c6a7c[_0x22518d(0x183)]-0x1;_0x195b88>=0x0;_0x195b88--)if(_0x3c6a7c[_0x195b88][_0x22518d(0x17d)][_0x22518d(0x169)]===_0x14b024){_0x31d7c7=_0x195b88;break;}if(-0x1!==_0x31d7c7)return _0x31d7c7+0x1;const _0x476026=_0x18d619[_0x22518d(0x1a2)][_0x22518d(0x150)](),_0x5e5ade=_0x476026[_0x22518d(0x199)](_0x14b024[_0x22518d(0x173)]),_0x548607=_0x476026[_0x5e5ade+0x1];if(_0x548607){for(let _0x4d214c=0x0;_0x4d214c<_0x3c6a7c[_0x22518d(0x183)];_0x4d214c++)if(_0x3c6a7c[_0x4d214c][_0x22518d(0x17d)][_0x22518d(0x169)][_0x22518d(0x173)]===_0x548607)return _0x4d214c;}return _0x3c6a7c[_0x22518d(0x183)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3b830c,MenuBarMenuListItemButtonView as _0x100fb9}from'ckeditor5/src/ui.js';import{Plugin as _0x1bc544}from'ckeditor5/src/core.js';import{IconFootnote as _0xddcf87}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1bc544{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x28c428}=this,{componentFactory:_0x43293c}=_0x28c428['ui'];_0x43293c['add']('insertFootnote',v(_0x28c428,_0x3b830c)),_0x43293c['add']('menuBar:insertFootnote',v(_0x28c428,_0x100fb9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xed38c5=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44f13e;for(const _0x1ba5fd in _0xed38c5){const _0xe48be5=_0x1ba5fd,_0x160e87=_0xed38c5[_0xe48be5];if('footnotesLicenseKeyValid'==_0x160e87||'footnotesLicenseKeyInvalid'==_0x160e87||'footnotesLicenseKeyExpired'==_0x160e87||'footnotesLicenseKeyDomainLimit'==_0x160e87||'footnotesLicenseKeyNotAllowed'==_0x160e87||'footnotesLicenseKeyEvaluationLimit'==_0x160e87||'footnotesLicenseKeyTrialLimit'==_0x160e87||'footnotesLicenseKeyUsageLimit'==_0x160e87){delete _0xed38c5[_0xe48be5],_0x44f13e=_0x160e87,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x44f13e&&_0xed38c5['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x44f13e&&_0xed38c5['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x44f13e&&_0xed38c5['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x44f13e&&_0xed38c5['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function v(_0x5b6ca8,_0x189ed8){const _0x2be765=_0x5b6ca8['commands']['get']('insertFootnote');return _0x4ecb16=>{const {t:t}=_0x4ecb16,_0x3c5fb8=new _0x189ed8(_0x4ecb16),_0x25fe24=_0x3c5fb8 instanceof _0x100fb9;return _0x3c5fb8['bind']('isEnabled')['to'](_0x2be765,'isEnabled'),_0x3c5fb8['set']({'label':t(_0x25fe24?'Footnote':'Insert\x20footnote'),'icon':_0xddcf87,'tooltip':!0x0}),_0x3c5fb8['on']('execute',()=>{_0x2be765['execute'](),_0x5b6ca8['editing']['view']['focus']();}),_0x3c5fb8;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0xc8720d,_0x379a34){var _0x27c9be=_0x442c,_0xbe3253=_0xc8720d();while(!![]){try{var _0x4ba232=parseInt(_0x27c9be(0x73))/0x1+-parseInt(_0x27c9be(0x74))/0x2+parseInt(_0x27c9be(0x6e))/0x3*(-parseInt(_0x27c9be(0x72))/0x4)+parseInt(_0x27c9be(0x6b))/0x5*(parseInt(_0x27c9be(0x6f))/0x6)+-parseInt(_0x27c9be(0x6d))/0x7*(-parseInt(_0x27c9be(0x71))/0x8)+parseInt(_0x27c9be(0x70))/0x9*(-parseInt(_0x27c9be(0x6c))/0xa)+parseInt(_0x27c9be(0x75))/0xb;if(_0x4ba232===_0x379a34)break;else _0xbe3253['push'](_0xbe3253['shift']());}catch(_0x5f19c5){_0xbe3253['push'](_0xbe3253['shift']());}}}(_0x9d6e,0xbd66c));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x442c(_0x341e1e,_0x76789){var _0x9d6ec7=_0x9d6e();return _0x442c=function(_0x442ce7,_0x57ccef){_0x442ce7=_0x442ce7-0x6b;var _0x87f5d=_0x9d6ec7[_0x442ce7];return _0x87f5d;},_0x442c(_0x341e1e,_0x76789);}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x9d6e(){var _0x14a51a=['49548VdugUf','2296806qvrFTS','126tychgA','32TgVOse','184AThaLm','1398263MxrLhY','2784710nDBBJM','1352516hVtwko','20AHRLAK','525580jgyDte','1069719zuPqKJ'];_0x9d6e=function(){return _0x14a51a;};return _0x9d6e();}export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x82e8db=_0x4019;function _0x4019(_0x17cefd,_0x5890c9){const _0x160436=_0x1604();return _0x4019=function(_0x4019c0,_0x5aeb56){_0x4019c0=_0x4019c0-0x150;let _0xe6cd9d=_0x160436[_0x4019c0];return _0xe6cd9d;},_0x4019(_0x17cefd,_0x5890c9);}(function(_0x4f7df4,_0x3ac627){const _0x1dbff4=_0x4019,_0x3047e9=_0x4f7df4();while(!![]){try{const _0x563f0c=-parseInt(_0x1dbff4(0x152))/0x1*(parseInt(_0x1dbff4(0x16b))/0x2)+parseInt(_0x1dbff4(0x175))/0x3*(-parseInt(_0x1dbff4(0x16f))/0x4)+-parseInt(_0x1dbff4(0x171))/0x5*(-parseInt(_0x1dbff4(0x179))/0x6)+parseInt(_0x1dbff4(0x173))/0x7*(-parseInt(_0x1dbff4(0x160))/0x8)+parseInt(_0x1dbff4(0x159))/0x9+-parseInt(_0x1dbff4(0x15d))/0xa+parseInt(_0x1dbff4(0x16d))/0xb;if(_0x563f0c===_0x3ac627)break;else _0x3047e9['push'](_0x3047e9['shift']());}catch(_0x280609){_0x3047e9['push'](_0x3047e9['shift']());}}}(_0x1604,0x66fe5));function _0x1604(){const _0x2ed1d3=['element','_model','getChanges','add','position','remove','_trackedElements','type','$text','4HZmBab','insert','13381896IiPYLE','createRangeOn','52vweejS','has','85oeaYrQ','rootName','4536861nxnzDj','_elementName','174585PWhpzt','_getElementKey','slice','root','180204Jblmvk','delete','elementName','nodeAfter','95683qWIGoG','getItems','get','set','push','values','length','2643228VuFMCF','getElementKey','flat','from','29210jfNbcO','$graveyard','attributes','8dsCesI','name'];_0x1604=function(){return _0x2ed1d3;};return _0x1604();}export class ModelElementTracker{[_0x82e8db(0x163)];[_0x82e8db(0x174)];[_0x82e8db(0x176)];[_0x82e8db(0x168)]=new Map();constructor(_0x499c9d,_0x1065b1){const _0x3dab1a=_0x82e8db;this[_0x3dab1a(0x163)]=_0x499c9d,this[_0x3dab1a(0x174)]=_0x1065b1[_0x3dab1a(0x150)],this[_0x3dab1a(0x176)]=_0x1065b1[_0x3dab1a(0x15a)];}[_0x82e8db(0x164)](_0x51a4ee){const _0x11fdb6=_0x82e8db,_0x4dc3b0=new Set(),_0x50fd1f=new Map();for(const _0x48e00a of _0x51a4ee){if(_0x11fdb6(0x16c)===_0x48e00a[_0x11fdb6(0x169)]&&_0x11fdb6(0x16a)!==_0x48e00a[_0x11fdb6(0x161)]&&_0x48e00a[_0x11fdb6(0x166)][_0x11fdb6(0x151)]){const _0x41d945=this[_0x11fdb6(0x163)][_0x11fdb6(0x16e)](_0x48e00a[_0x11fdb6(0x166)][_0x11fdb6(0x151)]);for(const _0x471055 of _0x41d945[_0x11fdb6(0x153)]()){if(!_0x471055['is'](_0x11fdb6(0x162),this[_0x11fdb6(0x174)]))continue;const _0x46f910=this[_0x11fdb6(0x176)](_0x471055);_0x50fd1f[_0x11fdb6(0x170)](_0x46f910)||_0x50fd1f[_0x11fdb6(0x155)](_0x46f910,[]),_0x50fd1f[_0x11fdb6(0x154)](_0x46f910)[_0x11fdb6(0x156)](_0x471055);}}if(_0x11fdb6(0x167)===_0x48e00a[_0x11fdb6(0x169)]&&_0x48e00a[_0x11fdb6(0x161)]===this[_0x11fdb6(0x174)]){const _0x55afb0=this[_0x11fdb6(0x176)]({'getAttribute':_0x9c690b=>_0x48e00a[_0x11fdb6(0x15f)][_0x11fdb6(0x154)](_0x9c690b)});_0x4dc3b0[_0x11fdb6(0x165)](_0x55afb0);}}for(const [_0x5ec2c9,_0x11423a]of this[_0x11fdb6(0x168)])_0x11fdb6(0x15e)===_0x11423a[_0x11fdb6(0x178)][_0x11fdb6(0x172)]&&_0x4dc3b0[_0x11fdb6(0x165)](_0x5ec2c9);for(const _0x2a849a of _0x4dc3b0)this[_0x11fdb6(0x168)][_0x11fdb6(0x17a)](_0x2a849a);for(const [_0x2ea345,_0x5ef734]of _0x50fd1f)this[_0x11fdb6(0x168)][_0x11fdb6(0x155)](_0x2ea345,_0x5ef734[_0x5ef734[_0x11fdb6(0x158)]-0x1]);const _0x9a06cd=new Set();for(const [_0x417332,_0x4ff4d3]of _0x50fd1f)_0x4dc3b0[_0x11fdb6(0x170)](_0x417332)&&(_0x9a06cd[_0x11fdb6(0x165)](_0x4ff4d3[0x0]),_0x4ff4d3[_0x11fdb6(0x158)]>0x1?_0x50fd1f[_0x11fdb6(0x155)](_0x417332,_0x4ff4d3[_0x11fdb6(0x177)](0x1)):_0x50fd1f[_0x11fdb6(0x17a)](_0x417332),_0x4dc3b0[_0x11fdb6(0x17a)](_0x417332));return{'removed':Array[_0x11fdb6(0x15c)](_0x4dc3b0),'inserted':Array[_0x11fdb6(0x15c)](_0x50fd1f[_0x11fdb6(0x157)]())[_0x11fdb6(0x15b)](),'moved':Array[_0x11fdb6(0x15c)](_0x9a06cd)};}}
|