@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251103.0 → 0.0.0-nightly-20251104.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 _0x370733}from'ckeditor5/src/core.js';import{isWidget as _0x5c6ff7,toWidget as _0x3697f5,toWidgetEditable as _0x1a7095}from'ckeditor5/src/widget.js';import{uid as _0x22f426}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5d03b0,ClickObserver as _0x57c99f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1ff412}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4f9786}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x370733{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1ff412];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52857c}=this;_0x52857c['config']['define']('footnotes.multiBlock',!0x0),_0x52857c['commands']['add']('insertFootnote',new _0x4f9786(_0x52857c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3c1f3e){const _0xf94c80=_0x324158([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]),_0x214046=0x47a28506,_0x37cd01=0x47a5fd0e^_0x214046,_0x190135=window[_0x324158([0x44,0x61,0x74,0x65])][_0x324158([0x6e,0x6f,0x77])](),_0x120a4d=_0x3c1f3e[_0x324158([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x91afac=new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d59a6=>{_0x120a4d[_0x324158([0x6f,0x6e,0x63,0x65])](_0x324158([0x72,0x65,0x61,0x64,0x79]),_0x4d59a6);}),_0x22d629={[_0x324158([0x6b,0x74,0x79])]:_0x324158([0x45,0x43]),[_0x324158([0x75,0x73,0x65])]:_0x324158([0x73,0x69,0x67]),[_0x324158([0x63,0x72,0x76])]:_0x324158([0x50,0x2d,0x32,0x35,0x36]),[_0x324158([0x78])]:_0x324158([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]),[_0x324158([0x79])]:_0x324158([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]),[_0x324158([0x61,0x6c,0x67])]:_0x324158([0x45,0x53,0x32,0x35,0x36])},_0x34922f=_0x120a4d[_0x324158([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x324158([0x67,0x65,0x74])](_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x54ec6f(){let _0x1c764,_0x37856d=null,_0x4d375f=null;try{if(_0x34922f==_0x324158([0x47,0x50,0x4c]))return _0x324158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1c764=_0x1f0f99(),!_0x1c764)return _0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1c764[_0x324158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4d375f=_0x24cf12(_0x1c764[_0x324158([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1c764[_0x324158([0x6a,0x74,0x69])])),await _0xd91870()?_0x45bd1b()?_0x596615()?_0x324158([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3caef7()?(_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x324158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37856d=_0x22bd9d(_0x324158([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x324158([0x74,0x72,0x69,0x61,0x6c])&&(_0x37856d=_0x22bd9d(_0x324158([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3fed44()):_0x324158([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x324158([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x324158([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x596615(){const _0x3b1ae6=[_0x324158([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x324158([0x74,0x72,0x69,0x61,0x6c])][_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x190135/0x3e8:0xe10*_0x37cd01;return _0x1c764[_0x324158([0x65,0x78,0x70])]<_0x3b1ae6;}function _0x45bd1b(){const _0x461dfa=_0x1c764[_0x324158([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x461dfa&&(!!_0x461dfa[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x2a]))||!!_0x461dfa[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x46,0x4f,0x4f])));}function _0x3caef7(){const _0x5e916f=_0x1c764[_0x324158([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5e916f||0x0==_0x5e916f[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x8a10e7}=new URL(window[_0x324158([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5e916f[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x8a10e7))return!0x0;const _0x45c6a9=_0x8a10e7[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e]));return _0x5e916f[_0x324158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x244cd1=>_0x244cd1[_0x324158([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x324158([0x2a])))[_0x324158([0x6d,0x61,0x70])](_0x5e7ee9=>_0x5e7ee9[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e])))[_0x324158([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2acdfb=>_0x2acdfb[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x45c6a9[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x324158([0x6d,0x61,0x70])](_0x1e8962=>Array(_0x45c6a9[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e8962[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x324158([0x66,0x69,0x6c,0x6c])](_0x1e8962[0x0]===_0x324158([0x2a])?_0x324158([0x2a]):'')[_0x324158([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e8962))[_0x324158([0x73,0x6f,0x6d,0x65])](_0x394964=>_0x45c6a9[_0x324158([0x65,0x76,0x65,0x72,0x79])]((_0x29959a,_0x2eae3b)=>_0x394964[_0x2eae3b]===_0x29959a||_0x394964[_0x2eae3b]===_0x324158([0x2a])));}function _0x3fed44(){return _0x37856d&&_0x4d375f?new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4cff37,_0x4b675f)=>{_0x37856d[_0x324158([0x74,0x68,0x65,0x6e])](_0x4cff37,_0x4b675f),_0x4d375f[_0x324158([0x74,0x68,0x65,0x6e])](_0x327b9a=>{_0x327b9a!=_0x324158([0x56,0x61,0x6c,0x69,0x64])&&_0x4cff37(_0x327b9a);},_0x4b675f);}):_0x37856d||_0x4d375f||_0x324158([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24cf12(_0x2f3656,_0x22a0e5){return new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x255203=>{if(_0xfcb2ef())return _0x255203(_0x324158([0x56,0x61,0x6c,0x69,0x64]));_0x3418ca(),_0x120a4d[_0x324158([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x31064f=!0x1;const _0x5ba893=_0x22f426();function _0x115f9b(_0x8bd8ac){return!!_0x8bd8ac&&(typeof _0x8bd8ac===_0x324158([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x8bd8ac===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x8bd8ac[_0x324158([0x74,0x68,0x65,0x6e])]===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x8bd8ac[_0x324158([0x63,0x61,0x74,0x63,0x68])]===_0x324158([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f5031(_0x32bd3c){_0x5e83f5(_0x32bd3c)[_0x324158([0x74,0x68,0x65,0x6e])](_0x26fecd=>{if(!_0x26fecd||_0x26fecd[_0x324158([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x324158([0x6f,0x6b]))return _0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c826f(_0x53beaa(_0x5ba893+_0x22a0e5))!=_0x26fecd[_0x324158([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x324158([0x56,0x61,0x6c,0x69,0x64]);})[_0x324158([0x74,0x68,0x65,0x6e])](_0x56d1e6=>(_0x50733f(),_0x56d1e6),()=>{const _0xcca71=_0x4624a0();return null==_0xcca71?(_0x50733f(),_0x324158([0x56,0x61,0x6c,0x69,0x64])):_0x324158(_0x190135-_0xcca71>(0x63ae0106^_0x214046)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x324158([0x74,0x68,0x65,0x6e])](_0x255203)[_0x324158([0x63,0x61,0x74,0x63,0x68])](()=>{_0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x13e105=0x47946b86^_0x214046;function _0x50733f(){const _0x825598=_0x324158([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c826f(_0x53beaa(_0x2f3656)),_0x24acb4=_0x4ffd7c(_0x3c826f(window[_0x324158([0x4d,0x61,0x74,0x68])][_0x324158([0x63,0x65,0x69,0x6c])](_0x190135/_0x13e105)));window[_0x324158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x324158([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x825598,_0x24acb4);}function _0x4624a0(){const _0x4cd0c7=_0x324158([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c826f(_0x53beaa(_0x2f3656)),_0x2fefb6=window[_0x324158([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x324158([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4cd0c7);return _0x2fefb6?window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ffd7c(_0x2fefb6),0x10)*_0x13e105:null;}function _0x5e83f5(_0x861e12){return new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x212d0d,_0x5288be)=>{_0x861e12[_0x324158([0x74,0x68,0x65,0x6e])](_0x212d0d,_0x5288be),window[_0x324158([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5288be,0x47a351c6^_0x214046);});}}_0x120a4d[_0x324158([0x6f,0x6e])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1fcbef,_0x357019)=>{if(_0x357019[0x0]!=_0x2f3656)return _0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x357019[0x1]={..._0x357019[0x1],[_0x324158([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ba893};},{[_0x324158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x324158([0x68,0x69,0x67,0x68])}),_0x120a4d[_0x324158([0x6f,0x6e])](_0x324158([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23e353=>{_0x115f9b(_0x23e353[_0x324158([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x31064f=!0x0,_0x4f5031(_0x23e353[_0x324158([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x324158([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x324158([0x6c,0x6f,0x77])}),_0x91afac[_0x324158([0x74,0x68,0x65,0x6e])](()=>{_0x31064f||_0x255203(_0x324158([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xfcb2ef(){return _0x120a4d[_0x324158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x324158([0x76,0x69,0x65,0x77])][_0x324158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x324158([0x61,0x75,0x74,0x6f]);}function _0x3418ca(){_0x120a4d[_0x324158([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x324158([0x76,0x69,0x65,0x77])][_0x324158([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x324158([0x61,0x75,0x74,0x6f]);}}function _0x22bd9d(_0x3bd85f){const _0x47d5e1=[new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x893830=>setTimeout(_0x893830,0x47abbbca^_0x214046)),_0x91afac[_0x324158([0x74,0x68,0x65,0x6e])](()=>new window[(_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x53baa9=>{let _0x34b422=0x0;_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x6f,0x6e])](_0x324158([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x46630a,_0xf39e81)=>{_0xf39e81[0x0][_0x324158([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x34b422++,_0x34b422==(0x47a284fe^_0x214046)&&(_0x53baa9(),_0x46630a[_0x324158([0x6f,0x66,0x66])]());});}))];return window[_0x324158([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x324158([0x72,0x61,0x63,0x65])](_0x47d5e1)[_0x324158([0x74,0x68,0x65,0x6e])](()=>_0x3bd85f);}async function _0x58ca8d(){await _0x91afac,_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1fd96a,_0x120a4d[_0x324158([0x6d,0x6f,0x64,0x65,0x6c])][_0x324158([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1fd96a,_0x120a4d[_0x324158([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x324158([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x31188f(_0x1235cf){const _0x490f3b=_0x288f6c();_0x120a4d[_0x490f3b]=_0x324158([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1235cf,_0x1235cf!=_0x324158([0x56,0x61,0x6c,0x69,0x64])&&_0x58ca8d();}function _0x288f6c(){const _0x47728a=window[_0x324158([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x324158([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x324158([0x6e,0x6f,0x77])]())[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x324158([0x2e]),'');let _0x3d231e=_0x324158([0x75]);for(let _0x5b7108=0x0;_0x5b7108<_0x47728a[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5b7108+=0x2){let _0xda896a=window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x47728a[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5b7108,_0x5b7108+0x2));_0xda896a>=_0xf94c80[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xda896a-=_0xf94c80[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3d231e+=_0xf94c80[_0xda896a];}return _0x3d231e;}function _0x1f0f99(){const _0x58f5fa=_0x34922f[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e]));if(0x3!=_0x58f5fa[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1d4ccc(_0x58f5fa[0x1]);function _0x1d4ccc(_0x3f2fb2){const _0x411dbf=_0x1afef1(_0x3f2fb2);return _0x411dbf&&_0x1d9fdd()?_0x411dbf:null;function _0x1d9fdd(){const _0xed0174=_0x411dbf[_0x324158([0x6a,0x74,0x69])],_0x39b342=window[_0x324158([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xed0174[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xed0174[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x358a24={..._0x411dbf,[_0x324158([0x6a,0x74,0x69])]:_0xed0174[_0x324158([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0xed0174[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x358a24[_0x324158([0x76,0x63])],_0x53beaa(_0x358a24)==_0x39b342;}}}async function _0xd91870(){let _0x538edd=!0x0;try{const _0x1b36d7=_0x34922f[_0x324158([0x73,0x70,0x6c,0x69,0x74])](_0x324158([0x2e])),[_0x263d47,_0x5b6815,_0x483610]=_0x1b36d7;return _0x145594(_0x263d47),await _0x9b3b55(_0x263d47,_0x5b6815,_0x483610),_0x538edd;}catch{return!0x1;}function _0x145594(_0x3a2f22){const _0x2c4bb0=_0x1afef1(_0x3a2f22);_0x2c4bb0&&_0x2c4bb0[_0x324158([0x61,0x6c,0x67])]==_0x324158([0x45,0x53,0x32,0x35,0x36])||(_0x538edd=!0x1);}async function _0x9b3b55(_0x2058e6,_0x3f61d1,_0x2d2a6f){const _0x2b3c9b=window[_0x324158([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x324158([0x66,0x72,0x6f,0x6d])](_0x200935(_0x2d2a6f),_0x1a7161=>_0x1a7161[_0x324158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x338680=new window[(_0x324158([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x324158([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2058e6+_0x324158([0x2e])+_0x3f61d1),_0x5a7848=window[_0x324158([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x324158([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5a7848)return;const _0x54185d=await _0x5a7848[_0x324158([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x324158([0x6a,0x77,0x6b]),_0x22d629,{[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x45,0x43,0x44,0x53,0x41]),[_0x324158([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x324158([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x324158([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5a7848[_0x324158([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x45,0x43,0x44,0x53,0x41]),[_0x324158([0x68,0x61,0x73,0x68])]:{[_0x324158([0x6e,0x61,0x6d,0x65])]:_0x324158([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x54185d,_0x2b3c9b,_0x338680)||(_0x538edd=!0x1);}}function _0x1afef1(_0x36a001){return _0x36a001[_0x324158([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x324158([0x65,0x79]))?JSON[_0x324158([0x70,0x61,0x72,0x73,0x65])](_0x200935(_0x36a001)):null;}function _0x200935(_0x1771d2){return window[_0x324158([0x61,0x74,0x6f,0x62])](_0x1771d2[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x324158([0x2b]))[_0x324158([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x324158([0x2f])));}function _0x53beaa(_0x29cede){let _0x107d0b=0x1505;function _0x1aeb08(_0x1e8b7a){for(let _0x19dd85=0x0;_0x19dd85<_0x1e8b7a[_0x324158([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19dd85++){const _0x4e9e1e=_0x1e8b7a[_0x324158([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x19dd85);_0x107d0b=(_0x107d0b<<0x5)+_0x107d0b+_0x4e9e1e,_0x107d0b&=_0x107d0b;}}function _0x31302c(_0x1b6b78){Array[_0x324158([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1b6b78)?_0x1b6b78[_0x324158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x31302c):_0x1b6b78&&typeof _0x1b6b78==_0x324158([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x324158([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1b6b78)[_0x324158([0x73,0x6f,0x72,0x74])]()[_0x324158([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x35d077,_0x3e7c87])=>{_0x1aeb08(_0x35d077),_0x31302c(_0x3e7c87);}):_0x1aeb08(window[_0x324158([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1b6b78));}return _0x31302c(_0x29cede),_0x107d0b>>>0x0;}function _0x3c826f(_0x52bcd2){return _0x52bcd2[_0x324158([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x324158([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x324158([0x30]));}function _0x4ffd7c(_0x35767f){return _0x35767f[_0x324158([0x73,0x70,0x6c,0x69,0x74])]('')[_0x324158([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x324158([0x6a,0x6f,0x69,0x6e])]('');}function _0x1fd96a(){}function _0x324158(_0x1fbbbb){return _0x1fbbbb['map'](_0x5713cb=>String['fromCharCode'](_0x5713cb))['join']('');}_0x31188f(await _0x54ec6f());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5e230a){const {plugins:_0x3eaf96,editing:_0xd601c0,model:_0x534226}=this['editor'],_0x29d150=_0x3eaf96['get'](_0x1ff412)['getFootnote'](_0x5e230a);return!!_0x29d150&&(_0x534226['change'](_0x15b3e5=>{_0x15b3e5['setSelection'](_0x15b3e5['createPositionAt'](_0x29d150['definition'],'end'));}),_0xd601c0['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x256da2){const {plugins:_0x471ad4,editing:_0x29eea2,model:_0x2cc4b5}=this['editor'],_0x265305=_0x471ad4['get'](_0x1ff412)['getFootnote'](_0x256da2);return!!_0x265305&&(_0x2cc4b5['change'](_0x2b3895=>{_0x2b3895['setSelection'](_0x265305['reference'],'on');}),_0x29eea2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xe3cb75}=this['editor']['model'],_0x49f29a=this['editor']['config']['get']('footnotes.multiBlock');_0xe3cb75['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xe3cb75['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xe3cb75['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x49f29a?_0xe3cb75['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xe3cb75['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xe3cb75['addChildCheck'](_0x30f137=>{for(const _0x55c22f of _0x30f137)if('footnoteDefinition'===_0x55c22f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x56fce3}=this,{conversion:_0x53e5b0,editing:_0x556448}=_0x56fce3,{t:t}=_0x56fce3['locale'];_0x53e5b0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x414311,{writer:_0x4160ca,consumable:_0x3dcdd4})=>{const _0x39cbe9=_0x414311['getChild'](0x0);if(!_0x39cbe9||!_0x39cbe9['is']('element','a'))return null;const _0x3a3246=_0x39cbe9['getAttribute']('href')||'';if(!_0x3a3246['startsWith']('#'))return null;const _0x27efff=_0x3a3246['replace'](/^#/,'');if(!_0x27efff)return null;_0x3dcdd4['consume'](_0x39cbe9,{'name':!0x0,'attributes':['href']});for(const {item:_0x1a39f5}of _0x556448['view']['createRangeIn'](_0x39cbe9))_0x1a39f5['is']('$textProxy')?_0x3dcdd4['consume'](_0x1a39f5['textNode'],{'name':!0x0}):_0x1a39f5['is']('element')&&_0x3dcdd4['consume'](_0x1a39f5,{'name':!0x0});return _0x4160ca['createElement']('footnoteRef',{'footnoteId':_0x27efff});}}),_0x53e5b0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x356de5,{writer:_0x43ec04})=>D(_0x356de5,_0x43ec04)}),_0x53e5b0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33dd0d,{writer:_0x8b60fe})=>{const _0x42cf36=_0x33dd0d['getAttribute']('footnoteCounter');return _0x3697f5(D(_0x33dd0d,_0x8b60fe),_0x8b60fe,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x42cf36)});}});}['_defineDefinitionsConverters'](){const {editor:_0x21bf98}=this,{t:t}=_0x21bf98['locale'],{conversion:_0x41e369}=_0x21bf98;_0x41e369['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x41e369['for']('upcast')['add'](_0x77ad2d=>{_0x77ad2d['on']('element:ol',(_0x3bab9a,_0x23bd4c,_0x1e0c0b)=>{const _0x4c05df=_0x23bd4c['viewItem'];if(!_0x4c05df['hasClass']('footnotes-list')||!_0x23bd4c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1e0c0b['consumable']['consume'](_0x4c05df,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x29e142,modelCursor:_0x518976}=_0x1e0c0b['convertChildren'](_0x23bd4c['viewItem'],_0x23bd4c['modelCursor']);_0x23bd4c['modelRange']=_0x29e142,_0x23bd4c['modelCursor']=_0x518976;}),_0x77ad2d['on']('element:hr',(_0x1c486d,_0x28c14d,_0x3bac76)=>{const _0x4c0108=_0x28c14d['viewItem'];_0x4c0108['hasClass']('footnotes-divider')&&_0x28c14d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3bac76['consumable']['consume'](_0x4c0108,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x41e369['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x500c63,{writer:_0x3d2664})=>g(_0x3d2664)}),_0x41e369['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x109639,{writer:_0x2dad7d})=>{const _0x2c2827=g(_0x2dad7d,{'data-footnotes-list-label':t('Footnotes')}),_0x2bf673=_0x3697f5(_0x2c2827,_0x2dad7d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2dad7d['setCustomProperty']('footnotesDefinitions',!0x0,_0x2bf673),_0x2bf673;}});}['_defineDefinitionConverters'](){const {editor:_0x417427}=this,{conversion:_0x2c84b0,locale:_0x4bc9cc}=_0x417427,_0x45ebb7=_0x417427['config']['get']('footnotes.multiBlock');_0x2c84b0['for']('upcast')['add'](_0x40ef1b=>{_0x40ef1b['on']('element:li',(_0x47def6,_0x2cf723,_0x489ddf)=>{const _0x65398a=_0x2cf723['viewItem'];if(!_0x65398a['hasClass']('footnote-definition')||!_0x65398a['getAttribute']('id'))return;const _0x2e7abf=_0x65398a['parent'];if(!_0x2e7abf['is']('element','ol')||!_0x2e7abf['hasClass']('footnotes-list'))return;if(!_0x489ddf['consumable']['test'](_0x65398a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5b8a49=_0x489ddf['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x65398a['getAttribute']('id')});if(!_0x489ddf['safeInsert'](_0x5b8a49,_0x2cf723['modelCursor']))return;_0x489ddf['consumable']['consume'](_0x65398a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x34974a=Array['from'](_0x65398a['getChildren']())['find'](_0x3f230f=>_0x3f230f['is']('element')&&_0x3f230f['hasClass']('footnote-content'));for(const _0x14749f of _0x65398a['getChildren']())_0x14749f['is']('element')&&(_0x489ddf['consumable']['consume'](_0x14749f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x489ddf['consumable']['consume'](_0x14749f,{'name':!0x0,'classes':'footnote-content'}));if(_0x34974a){if(_0x45ebb7)_0x489ddf['convertChildren'](_0x34974a,_0x5b8a49);else{const _0x173fd0=_0x489ddf['writer']['createElement']('footnoteInlineContent');_0x489ddf['writer']['insert'](_0x173fd0,_0x5b8a49),_0x489ddf['convertChildren'](_0x34974a,_0x173fd0);}}_0x489ddf['updateConversionResult'](_0x5b8a49,_0x2cf723);});}),_0x2c84b0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x57527e,{writer:_0x500a75})=>v(_0x57527e,_0x500a75,_0x4bc9cc,{'dataPipeline':!0x0})}),_0x2c84b0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3e8e22,{writer:_0x54a4c4})=>v(_0x3e8e22,_0x54a4c4,_0x4bc9cc)});}['_defineBogusParagraphConverters'](){const {editor:_0x2adfd8}=this,{conversion:_0x4aaf0f}=_0x2adfd8;_0x2adfd8['config']['get']('footnotes.multiBlock')?(_0x4aaf0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x4aaf0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x2adfd8['model']['document'],'change:data',()=>{!function(_0x2d7afb,_0x4565f3){const _0x3727de=_0x2d7afb['document']['differ'],_0xd4995b=new Set();for(const _0x72287d of _0x3727de['getChanges']()){const _0x58af88='attribute'==_0x72287d['type']?_0x72287d['range']['start']['parent']:_0x72287d['position']['parent'];_0x58af88['is']('element','footnoteDefinition')&&_0xd4995b['add'](_0x58af88);}for(const _0xc1cc58 of _0xd4995b['values']()){const _0x348eed=Array['from'](_0xc1cc58['getChildren']())['filter'](_0x59573a=>p(_0x59573a,_0x4565f3['mapper']));for(const _0x480b87 of _0x348eed)_0x4565f3['reconvertItem'](_0x480b87);}}(_0x2adfd8['model'],_0x2adfd8['editing']);})):(_0x4aaf0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x4aaf0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd44651,{writer:_0x59bb5a})=>{const _0x12ff14=_0x59bb5a['createContainerElement']('span');return _0x59bb5a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x12ff14),_0x12ff14;}}));}['_defineKeyboardHandlers'](){const {editor:_0x419770}=this,{editing:_0x1de057,t:t}=_0x419770,_0x4c89f6=_0x419770['model']['document']['selection'];_0x419770['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x419770['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x1de057['view']['document'],'enter',(_0x1bb257,_0x421946)=>{const _0x18c71b=function(_0x257cc8){const _0x3e0d62=_0x257cc8['getSelectedElement']();if(_0x3e0d62?.['is']('element','footnoteRef'))return _0x3e0d62;return null;}(_0x4c89f6);if(_0x18c71b){const _0x475cc7=_0x18c71b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x475cc7),_0x421946['preventDefault'](),_0x1bb257['stop']();}},{'context':_0x5c6ff7});}['_defineClickHandlers'](){const {editor:_0x2ffb99}=this,{editing:_0x3de9b4}=_0x2ffb99;_0x2ffb99['editing']['view']['addObserver'](_0x5d03b0),_0x2ffb99['editing']['view']['addObserver'](_0x57c99f);let _0x1812cb=!0x1;this['listenTo'](_0x3de9b4['view']['document'],'pointerdown',(_0x4ea6f6,_0x41b841)=>{const {target:_0x38722e}=_0x41b841,_0x42fde1=_0x3de9b4['view']['document']['selection'];_0x1812cb=!!(_0x38722e['is']('element','a')&&_0x38722e['parent']?.['is']('element','sup')&&_0x38722e['parent']['hasClass']('footnote'))&&_0x42fde1['getSelectedElement']()===_0x38722e['parent'];},{'priority':'high'}),this['listenTo'](_0x3de9b4['view']['document'],'click',(_0x1cb8f4,_0x124b94)=>{const {target:_0x5b3936}=_0x124b94;if(!_0x5b3936['is']('element','a'))return;if(_0x5b3936['parent']?.['is']('element','sup')&&_0x5b3936['parent']['hasClass']('footnote')&&!_0x1812cb)return void _0x124b94['preventDefault']();let _0x59b916=_0x5b3936['getAttribute']('href');if(!_0x59b916?.['startsWith']('#'))return;_0x59b916=_0x59b916['slice'](0x1);let _0x584286=!0x1;(_0x59b916['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x59b916['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x59b916))&&(_0x584286=!0x0),_0x584286&&(_0x124b94['preventDefault'](),_0x1cb8f4['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x1725b8}={}){return(_0xe02696,{writer:_0x5ba04d})=>{if(!h(_0xe02696))return null;if(!_0x1725b8)return _0x5ba04d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x48f464=_0x5ba04d['createContainerElement']('p');return _0x5ba04d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x48f464),_0x48f464;};}function h(_0x14698b){const {parent:_0x11d79a}=_0x14698b;if(!_0x11d79a?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x11d79a['childCount'])return!0x1;for(const _0x33a8ee of _0x14698b['getAttributeKeys']())if(!_0x33a8ee['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x33a8ee)return!0x1;return!0x0;}function p(_0x2ac117,_0x477164){if(!_0x2ac117['is']('element','paragraph'))return!0x1;const _0x6cd3f5=_0x477164['toViewElement'](_0x2ac117);return!!_0x6cd3f5&&h(_0x2ac117)!==_0x6cd3f5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5d2043){return _0x5c6ff7(_0x5d2043)&&_0x5d2043['is']('containerElement')&&!!_0x5d2043['getCustomProperty']('footnotesDefinitions');}function g(_0x18c810,_0x17a200={}){const _0x7a547c=_0x18c810['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x55240b=_0x18c810['createContainerElement']('ol',{'class':'footnotes-list'},_0x18c810['createSlot']());return _0x18c810['createContainerElement']('div',{'class':'footnotes',..._0x17a200},[_0x7a547c,_0x55240b]);}function D(_0x3cb16f,_0x2cb27b){const _0x156ba4=_0x3cb16f['getAttribute']('footnoteId'),_0x22fdbd=_0x3cb16f['getAttribute']('footnoteCounter'),_0x5e04f8=_0x2cb27b['createUIElement']('a',{'href':'#'+_0x156ba4},function(_0xc8c7b6){const _0xd7cb58=this['toDomElement'](_0xc8c7b6);return _0xd7cb58['textContent']=_0x22fdbd,_0xd7cb58;}),_0x24243f=_0x2cb27b['createContainerElement']('sup',{'id':'ref-'+_0x156ba4,'class':'footnote'},[_0x5e04f8]);return _0x24243f['getFillerOffset']=()=>null,_0x24243f;}function v(_0x5d250e,_0xd2e345,_0xb24bbe,{dataPipeline:_0x24cbd0}={}){const {t:t}=_0xb24bbe,_0x788011=_0x5d250e['getAttribute']('footnoteId'),_0x1961f3=_0xd2e345['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x788011},function(_0x1c110a){const _0x274f18=this['toDomElement'](_0x1c110a);return _0x274f18['innerText']='^',_0x274f18;}),_0x2b7544=_0x24cbd0?_0xd2e345['createContainerElement']('div',{'class':'footnote-content'}):_0x1a7095(_0xd2e345['createEditableElement']('div',{'class':'footnote-content'}),_0xd2e345,{'label':t('Footnote\x20content.')});return _0xd2e345['insert'](_0xd2e345['createPositionAt'](_0x2b7544,0x0),_0xd2e345['createSlot']()),_0xd2e345['createContainerElement']('li',{'class':'footnote-definition','id':_0x788011},[_0x1961f3,_0x2b7544]);}
|
|
23
|
+
import{Plugin as _0xfa9777}from'ckeditor5/src/core.js';import{isWidget as _0x5e6b60,toWidget as _0xaea5c9,toWidgetEditable as _0x2c5e10}from'ckeditor5/src/widget.js';import{uid as _0x42e057}from'ckeditor5/src/utils.js';import{PointerObserver as _0xe4f03d,ClickObserver as _0x52e289}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1ef26f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5ad3c0}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xfa9777{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1ef26f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x33c556}=this;_0x33c556['config']['define']('footnotes.multiBlock',!0x0),_0x33c556['commands']['add']('insertFootnote',new _0x5ad3c0(_0x33c556)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2d675b){const _0x1ee73d=_0x226b48([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]),_0x22a2f2=0x47a28506,_0x4e74ce=0x47a5fd26^_0x22a2f2,_0x51967f=window[_0x226b48([0x44,0x61,0x74,0x65])][_0x226b48([0x6e,0x6f,0x77])](),_0x4bf303=_0x2d675b[_0x226b48([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x57ef1d=new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x29f894=>{_0x4bf303[_0x226b48([0x6f,0x6e,0x63,0x65])](_0x226b48([0x72,0x65,0x61,0x64,0x79]),_0x29f894);}),_0x14c9fc={[_0x226b48([0x6b,0x74,0x79])]:_0x226b48([0x45,0x43]),[_0x226b48([0x75,0x73,0x65])]:_0x226b48([0x73,0x69,0x67]),[_0x226b48([0x63,0x72,0x76])]:_0x226b48([0x50,0x2d,0x32,0x35,0x36]),[_0x226b48([0x78])]:_0x226b48([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]),[_0x226b48([0x79])]:_0x226b48([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]),[_0x226b48([0x61,0x6c,0x67])]:_0x226b48([0x45,0x53,0x32,0x35,0x36])},_0x4f10c0=_0x4bf303[_0x226b48([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x226b48([0x67,0x65,0x74])](_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1cebb0(){let _0x4a3602,_0x313167=null,_0x29ed8c=null;try{if(_0x4f10c0==_0x226b48([0x47,0x50,0x4c]))return _0x226b48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x4a3602=_0x1633eb(),!_0x4a3602)return _0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x4a3602[_0x226b48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x29ed8c=_0x59bb6d(_0x4a3602[_0x226b48([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x4a3602[_0x226b48([0x6a,0x74,0x69])])),await _0x41470e()?_0x40fd80()?_0x1edc42()?_0x226b48([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30f61a()?(_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226b48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x313167=_0x573876(_0x226b48([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x226b48([0x74,0x72,0x69,0x61,0x6c])&&(_0x313167=_0x573876(_0x226b48([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1dd7c8()):_0x226b48([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x226b48([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x226b48([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1edc42(){const _0x1b4855=[_0x226b48([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x226b48([0x74,0x72,0x69,0x61,0x6c])][_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x51967f/0x3e8:0xe10*_0x4e74ce;return _0x4a3602[_0x226b48([0x65,0x78,0x70])]<_0x1b4855;}function _0x40fd80(){const _0x1bbdf5=_0x4a3602[_0x226b48([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1bbdf5&&(!!_0x1bbdf5[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x2a]))||!!_0x1bbdf5[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x46,0x4f,0x4f])));}function _0x30f61a(){const _0x483017=_0x4a3602[_0x226b48([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x483017||0x0==_0x483017[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x39708d}=new URL(window[_0x226b48([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x483017[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x39708d))return!0x0;const _0x29a73c=_0x39708d[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e]));return _0x483017[_0x226b48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5ddac2=>_0x5ddac2[_0x226b48([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x226b48([0x2a])))[_0x226b48([0x6d,0x61,0x70])](_0x3af1b5=>_0x3af1b5[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e])))[_0x226b48([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1510ec=>_0x1510ec[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29a73c[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226b48([0x6d,0x61,0x70])](_0x3c640f=>Array(_0x29a73c[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c640f[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x226b48([0x66,0x69,0x6c,0x6c])](_0x3c640f[0x0]===_0x226b48([0x2a])?_0x226b48([0x2a]):'')[_0x226b48([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c640f))[_0x226b48([0x73,0x6f,0x6d,0x65])](_0x3cd926=>_0x29a73c[_0x226b48([0x65,0x76,0x65,0x72,0x79])]((_0x370433,_0x4db73e)=>_0x3cd926[_0x4db73e]===_0x370433||_0x3cd926[_0x4db73e]===_0x226b48([0x2a])));}function _0x1dd7c8(){return _0x313167&&_0x29ed8c?new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31c632,_0x8222ed)=>{_0x313167[_0x226b48([0x74,0x68,0x65,0x6e])](_0x31c632,_0x8222ed),_0x29ed8c[_0x226b48([0x74,0x68,0x65,0x6e])](_0x2c6661=>{_0x2c6661!=_0x226b48([0x56,0x61,0x6c,0x69,0x64])&&_0x31c632(_0x2c6661);},_0x8222ed);}):_0x313167||_0x29ed8c||_0x226b48([0x56,0x61,0x6c,0x69,0x64]);}}function _0x59bb6d(_0x202464,_0x28072d){return new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x366781=>{if(_0x1683ed())return _0x366781(_0x226b48([0x56,0x61,0x6c,0x69,0x64]));_0x1b5411(),_0x4bf303[_0x226b48([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x639300=!0x1;const _0x230222=_0x42e057();function _0x2986fd(_0x1def94){return!!_0x1def94&&(typeof _0x1def94===_0x226b48([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1def94===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1def94[_0x226b48([0x74,0x68,0x65,0x6e])]===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1def94[_0x226b48([0x63,0x61,0x74,0x63,0x68])]===_0x226b48([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18db29(_0x55df7e){_0x14b0c8(_0x55df7e)[_0x226b48([0x74,0x68,0x65,0x6e])](_0x4f0489=>{if(!_0x4f0489||_0x4f0489[_0x226b48([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x226b48([0x6f,0x6b]))return _0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4e650e(_0x36a085(_0x230222+_0x28072d))!=_0x4f0489[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x226b48([0x56,0x61,0x6c,0x69,0x64]);})[_0x226b48([0x74,0x68,0x65,0x6e])](_0x21558=>(_0x3fe5a6(),_0x21558),()=>{const _0x2aa4fc=_0x127aa1();return null==_0x2aa4fc?(_0x3fe5a6(),_0x226b48([0x56,0x61,0x6c,0x69,0x64])):_0x226b48(_0x51967f-_0x2aa4fc>(0x63ae0106^_0x22a2f2)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x226b48([0x74,0x68,0x65,0x6e])](_0x366781)[_0x226b48([0x63,0x61,0x74,0x63,0x68])](()=>{_0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2e3ff1=0x47946b86^_0x22a2f2;function _0x3fe5a6(){const _0x21721e=_0x226b48([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e650e(_0x36a085(_0x202464)),_0x3bee1a=_0x1f8314(_0x4e650e(window[_0x226b48([0x4d,0x61,0x74,0x68])][_0x226b48([0x63,0x65,0x69,0x6c])](_0x51967f/_0x2e3ff1)));window[_0x226b48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226b48([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x21721e,_0x3bee1a);}function _0x127aa1(){const _0x530d2a=_0x226b48([0x6c,0x6c,0x63,0x74,0x2d])+_0x4e650e(_0x36a085(_0x202464)),_0x558e92=window[_0x226b48([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x226b48([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x530d2a);return _0x558e92?window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1f8314(_0x558e92),0x10)*_0x2e3ff1:null;}function _0x14b0c8(_0x5bf854){return new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ae598,_0x124361)=>{_0x5bf854[_0x226b48([0x74,0x68,0x65,0x6e])](_0x4ae598,_0x124361),window[_0x226b48([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x124361,0x47a351c6^_0x22a2f2);});}}_0x4bf303[_0x226b48([0x6f,0x6e])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x20618c,_0x2fed7e)=>{if(_0x2fed7e[0x0]!=_0x202464)return _0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2fed7e[0x1]={..._0x2fed7e[0x1],[_0x226b48([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x230222};},{[_0x226b48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226b48([0x68,0x69,0x67,0x68])}),_0x4bf303[_0x226b48([0x6f,0x6e])](_0x226b48([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38d623=>{_0x2986fd(_0x38d623[_0x226b48([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x639300=!0x0,_0x18db29(_0x38d623[_0x226b48([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x226b48([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x226b48([0x6c,0x6f,0x77])}),_0x57ef1d[_0x226b48([0x74,0x68,0x65,0x6e])](()=>{_0x639300||_0x366781(_0x226b48([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1683ed(){return _0x4bf303[_0x226b48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226b48([0x76,0x69,0x65,0x77])][_0x226b48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x226b48([0x61,0x75,0x74,0x6f]);}function _0x1b5411(){_0x4bf303[_0x226b48([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x226b48([0x76,0x69,0x65,0x77])][_0x226b48([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x226b48([0x61,0x75,0x74,0x6f]);}}function _0x573876(_0x5f33c2){const _0x311842=[new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xba869f=>setTimeout(_0xba869f,0x47abbbca^_0x22a2f2)),_0x57ef1d[_0x226b48([0x74,0x68,0x65,0x6e])](()=>new window[(_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x173f5e=>{let _0x47acf2=0x0;_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x6f,0x6e])](_0x226b48([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x585e9a,_0x3d3c34)=>{_0x3d3c34[0x0][_0x226b48([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x47acf2++,_0x47acf2==(0x47a284fe^_0x22a2f2)&&(_0x173f5e(),_0x585e9a[_0x226b48([0x6f,0x66,0x66])]());});}))];return window[_0x226b48([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x226b48([0x72,0x61,0x63,0x65])](_0x311842)[_0x226b48([0x74,0x68,0x65,0x6e])](()=>_0x5f33c2);}async function _0x585bcd(){await _0x57ef1d,_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x52b556,_0x4bf303[_0x226b48([0x6d,0x6f,0x64,0x65,0x6c])][_0x226b48([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x52b556,_0x4bf303[_0x226b48([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x226b48([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x23be11(_0x4a125b){const _0x588f95=_0x26d0a2();_0x4bf303[_0x588f95]=_0x226b48([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4a125b,_0x4a125b!=_0x226b48([0x56,0x61,0x6c,0x69,0x64])&&_0x585bcd();}function _0x26d0a2(){const _0x25c72a=window[_0x226b48([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x226b48([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x226b48([0x6e,0x6f,0x77])]())[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x226b48([0x2e]),'');let _0x21a4e8=_0x226b48([0x75]);for(let _0x2e6f3e=0x0;_0x2e6f3e<_0x25c72a[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2e6f3e+=0x2){let _0x172507=window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25c72a[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2e6f3e,_0x2e6f3e+0x2));_0x172507>=_0x1ee73d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x172507-=_0x1ee73d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x21a4e8+=_0x1ee73d[_0x172507];}return _0x21a4e8;}function _0x1633eb(){const _0x5b3160=_0x4f10c0[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e]));if(0x3!=_0x5b3160[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2c1d0c(_0x5b3160[0x1]);function _0x2c1d0c(_0x1ad88d){const _0x1bece0=_0x5f5d93(_0x1ad88d);return _0x1bece0&&_0x1f8f9a()?_0x1bece0:null;function _0x1f8f9a(){const _0x25f585=_0x1bece0[_0x226b48([0x6a,0x74,0x69])],_0x587cdd=window[_0x226b48([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25f585[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x25f585[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4ad11c={..._0x1bece0,[_0x226b48([0x6a,0x74,0x69])]:_0x25f585[_0x226b48([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x25f585[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4ad11c[_0x226b48([0x76,0x63])],_0x36a085(_0x4ad11c)==_0x587cdd;}}}async function _0x41470e(){let _0x39767b=!0x0;try{const _0x3e67d3=_0x4f10c0[_0x226b48([0x73,0x70,0x6c,0x69,0x74])](_0x226b48([0x2e])),[_0x942ca,_0x13f477,_0x582692]=_0x3e67d3;return _0x479e4a(_0x942ca),await _0x2d44fa(_0x942ca,_0x13f477,_0x582692),_0x39767b;}catch{return!0x1;}function _0x479e4a(_0x167d9f){const _0x112d28=_0x5f5d93(_0x167d9f);_0x112d28&&_0x112d28[_0x226b48([0x61,0x6c,0x67])]==_0x226b48([0x45,0x53,0x32,0x35,0x36])||(_0x39767b=!0x1);}async function _0x2d44fa(_0x3fd342,_0x2fe272,_0x14cc15){const _0x4b1f0f=window[_0x226b48([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x226b48([0x66,0x72,0x6f,0x6d])](_0x3e357f(_0x14cc15),_0x610a0e=>_0x610a0e[_0x226b48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x16feeb=new window[(_0x226b48([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x226b48([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3fd342+_0x226b48([0x2e])+_0x2fe272),_0x52af49=window[_0x226b48([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x226b48([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x52af49)return;const _0x20fd38=await _0x52af49[_0x226b48([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x226b48([0x6a,0x77,0x6b]),_0x14c9fc,{[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x45,0x43,0x44,0x53,0x41]),[_0x226b48([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x226b48([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x52af49[_0x226b48([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x45,0x43,0x44,0x53,0x41]),[_0x226b48([0x68,0x61,0x73,0x68])]:{[_0x226b48([0x6e,0x61,0x6d,0x65])]:_0x226b48([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x20fd38,_0x4b1f0f,_0x16feeb)||(_0x39767b=!0x1);}}function _0x5f5d93(_0x174ce8){return _0x174ce8[_0x226b48([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x226b48([0x65,0x79]))?JSON[_0x226b48([0x70,0x61,0x72,0x73,0x65])](_0x3e357f(_0x174ce8)):null;}function _0x3e357f(_0x3b66e6){return window[_0x226b48([0x61,0x74,0x6f,0x62])](_0x3b66e6[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x226b48([0x2b]))[_0x226b48([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x226b48([0x2f])));}function _0x36a085(_0x380769){let _0x588486=0x1505;function _0x192d96(_0x51910d){for(let _0x56acbd=0x0;_0x56acbd<_0x51910d[_0x226b48([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x56acbd++){const _0x285f3e=_0x51910d[_0x226b48([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x56acbd);_0x588486=(_0x588486<<0x5)+_0x588486+_0x285f3e,_0x588486&=_0x588486;}}function _0x353206(_0x47e8ec){Array[_0x226b48([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x47e8ec)?_0x47e8ec[_0x226b48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x353206):_0x47e8ec&&typeof _0x47e8ec==_0x226b48([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x226b48([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x47e8ec)[_0x226b48([0x73,0x6f,0x72,0x74])]()[_0x226b48([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5ee7f9,_0x44b118])=>{_0x192d96(_0x5ee7f9),_0x353206(_0x44b118);}):_0x192d96(window[_0x226b48([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x47e8ec));}return _0x353206(_0x380769),_0x588486>>>0x0;}function _0x4e650e(_0x15f42c){return _0x15f42c[_0x226b48([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x226b48([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x226b48([0x30]));}function _0x1f8314(_0x4a5c5d){return _0x4a5c5d[_0x226b48([0x73,0x70,0x6c,0x69,0x74])]('')[_0x226b48([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x226b48([0x6a,0x6f,0x69,0x6e])]('');}function _0x52b556(){}function _0x226b48(_0x517f5e){return _0x517f5e['map'](_0x3babd6=>String['fromCharCode'](_0x3babd6))['join']('');}_0x23be11(await _0x1cebb0());}(this);}['_moveSelectionToFootnoteDefinition'](_0x33437c){const {plugins:_0xfcac70,editing:_0x29c0c5,model:_0x5c8b77}=this['editor'],_0x502d82=_0xfcac70['get'](_0x1ef26f)['getFootnote'](_0x33437c);return!!_0x502d82&&(_0x5c8b77['change'](_0x2afa62=>{_0x2afa62['setSelection'](_0x2afa62['createPositionAt'](_0x502d82['definition'],'end'));}),_0x29c0c5['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x599a3b){const {plugins:_0x25d561,editing:_0x2f2432,model:_0x56e361}=this['editor'],_0x1b3032=_0x25d561['get'](_0x1ef26f)['getFootnote'](_0x599a3b);return!!_0x1b3032&&(_0x56e361['change'](_0x5a7506=>{_0x5a7506['setSelection'](_0x1b3032['reference'],'on');}),_0x2f2432['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1607af}=this['editor']['model'],_0x269cc6=this['editor']['config']['get']('footnotes.multiBlock');_0x1607af['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1607af['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1607af['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x269cc6?_0x1607af['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1607af['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1607af['addChildCheck'](_0x3e9ace=>{for(const _0x5ace40 of _0x3e9ace)if('footnoteDefinition'===_0x5ace40['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2929ce}=this,{conversion:_0x34706e,editing:_0x5cec5d}=_0x2929ce,{t:t}=_0x2929ce['locale'];_0x34706e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x21d475,{writer:_0x37bc6d,consumable:_0x3fb77d})=>{const _0x58e614=_0x21d475['getChild'](0x0);if(!_0x58e614||!_0x58e614['is']('element','a'))return null;const _0x541c75=_0x58e614['getAttribute']('href')||'';if(!_0x541c75['startsWith']('#'))return null;const _0x570aac=_0x541c75['replace'](/^#/,'');if(!_0x570aac)return null;_0x3fb77d['consume'](_0x58e614,{'name':!0x0,'attributes':['href']});for(const {item:_0x1f3f3f}of _0x5cec5d['view']['createRangeIn'](_0x58e614))_0x1f3f3f['is']('$textProxy')?_0x3fb77d['consume'](_0x1f3f3f['textNode'],{'name':!0x0}):_0x1f3f3f['is']('element')&&_0x3fb77d['consume'](_0x1f3f3f,{'name':!0x0});return _0x37bc6d['createElement']('footnoteRef',{'footnoteId':_0x570aac});}}),_0x34706e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1213b2,{writer:_0x1ba3ba})=>D(_0x1213b2,_0x1ba3ba)}),_0x34706e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9af69b,{writer:_0xf0348f})=>{const _0x23f52e=_0x9af69b['getAttribute']('footnoteCounter');return _0xaea5c9(D(_0x9af69b,_0xf0348f),_0xf0348f,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x23f52e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x382467}=this,{t:t}=_0x382467['locale'],{conversion:_0x30330f}=_0x382467;_0x30330f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x30330f['for']('upcast')['add'](_0x51f8e8=>{_0x51f8e8['on']('element:ol',(_0x27ef88,_0x1db206,_0x160073)=>{const _0x555c55=_0x1db206['viewItem'];if(!_0x555c55['hasClass']('footnotes-list')||!_0x1db206['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x160073['consumable']['consume'](_0x555c55,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x137a08,modelCursor:_0x1bcf81}=_0x160073['convertChildren'](_0x1db206['viewItem'],_0x1db206['modelCursor']);_0x1db206['modelRange']=_0x137a08,_0x1db206['modelCursor']=_0x1bcf81;}),_0x51f8e8['on']('element:hr',(_0x437795,_0x3ffec1,_0x27db0c)=>{const _0x19095c=_0x3ffec1['viewItem'];_0x19095c['hasClass']('footnotes-divider')&&_0x3ffec1['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27db0c['consumable']['consume'](_0x19095c,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x30330f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xdcdd19,{writer:_0x2d825f})=>g(_0x2d825f)}),_0x30330f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x568958,{writer:_0x587b11})=>{const _0x161c24=g(_0x587b11,{'data-footnotes-list-label':t('Footnotes')}),_0x44ac6c=_0xaea5c9(_0x161c24,_0x587b11,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x587b11['setCustomProperty']('footnotesDefinitions',!0x0,_0x44ac6c),_0x44ac6c;}});}['_defineDefinitionConverters'](){const {editor:_0x597460}=this,{conversion:_0xc7a3b3,locale:_0x50e888}=_0x597460,_0x3379bb=_0x597460['config']['get']('footnotes.multiBlock');_0xc7a3b3['for']('upcast')['add'](_0x34c102=>{_0x34c102['on']('element:li',(_0x2a6e69,_0x3f9475,_0x3351a7)=>{const _0x3bd5af=_0x3f9475['viewItem'];if(!_0x3bd5af['hasClass']('footnote-definition')||!_0x3bd5af['getAttribute']('id'))return;const _0x4be28f=_0x3bd5af['parent'];if(!_0x4be28f['is']('element','ol')||!_0x4be28f['hasClass']('footnotes-list'))return;if(!_0x3351a7['consumable']['test'](_0x3bd5af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x30fb11=_0x3351a7['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3bd5af['getAttribute']('id')});if(!_0x3351a7['safeInsert'](_0x30fb11,_0x3f9475['modelCursor']))return;_0x3351a7['consumable']['consume'](_0x3bd5af,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x57cce1=Array['from'](_0x3bd5af['getChildren']())['find'](_0x1ba101=>_0x1ba101['is']('element')&&_0x1ba101['hasClass']('footnote-content'));for(const _0x418a46 of _0x3bd5af['getChildren']())_0x418a46['is']('element')&&(_0x3351a7['consumable']['consume'](_0x418a46,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3351a7['consumable']['consume'](_0x418a46,{'name':!0x0,'classes':'footnote-content'}));if(_0x57cce1){if(_0x3379bb)_0x3351a7['convertChildren'](_0x57cce1,_0x30fb11);else{const _0x3db143=_0x3351a7['writer']['createElement']('footnoteInlineContent');_0x3351a7['writer']['insert'](_0x3db143,_0x30fb11),_0x3351a7['convertChildren'](_0x57cce1,_0x3db143);}}_0x3351a7['updateConversionResult'](_0x30fb11,_0x3f9475);});}),_0xc7a3b3['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xeb470a,{writer:_0x2f7c22})=>v(_0xeb470a,_0x2f7c22,_0x50e888,{'dataPipeline':!0x0})}),_0xc7a3b3['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x448761,{writer:_0x4d8969})=>v(_0x448761,_0x4d8969,_0x50e888)});}['_defineBogusParagraphConverters'](){const {editor:_0x9367b4}=this,{conversion:_0x12bf31}=_0x9367b4;_0x9367b4['config']['get']('footnotes.multiBlock')?(_0x12bf31['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x12bf31['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x9367b4['model']['document'],'change:data',()=>{!function(_0x38c0ce,_0x450602){const _0x1b5814=_0x38c0ce['document']['differ'],_0xbc8cc3=new Set();for(const _0x545710 of _0x1b5814['getChanges']()){const _0x158fb9='attribute'==_0x545710['type']?_0x545710['range']['start']['parent']:_0x545710['position']['parent'];_0x158fb9['is']('element','footnoteDefinition')&&_0xbc8cc3['add'](_0x158fb9);}for(const _0x22151e of _0xbc8cc3['values']()){const _0x2a1278=Array['from'](_0x22151e['getChildren']())['filter'](_0x493afe=>p(_0x493afe,_0x450602['mapper']));for(const _0x3e0299 of _0x2a1278)_0x450602['reconvertItem'](_0x3e0299);}}(_0x9367b4['model'],_0x9367b4['editing']);})):(_0x12bf31['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x12bf31['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x47ba2d,{writer:_0x55e49c})=>{const _0xfc5845=_0x55e49c['createContainerElement']('span');return _0x55e49c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xfc5845),_0xfc5845;}}));}['_defineKeyboardHandlers'](){const {editor:_0x43d3ed}=this,{editing:_0x330890,t:t}=_0x43d3ed,_0x152e92=_0x43d3ed['model']['document']['selection'];_0x43d3ed['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x43d3ed['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x330890['view']['document'],'enter',(_0x76290c,_0xd87ad5)=>{const _0x3effe6=function(_0x4f022b){const _0x367253=_0x4f022b['getSelectedElement']();if(_0x367253?.['is']('element','footnoteRef'))return _0x367253;return null;}(_0x152e92);if(_0x3effe6){const _0xd6c33b=_0x3effe6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xd6c33b),_0xd87ad5['preventDefault'](),_0x76290c['stop']();}},{'context':_0x5e6b60});}['_defineClickHandlers'](){const {editor:_0x4009e7}=this,{editing:_0x2c097a}=_0x4009e7;_0x4009e7['editing']['view']['addObserver'](_0xe4f03d),_0x4009e7['editing']['view']['addObserver'](_0x52e289);let _0x3ee11c=!0x1;this['listenTo'](_0x2c097a['view']['document'],'pointerdown',(_0x48a56a,_0x226298)=>{const {target:_0x26e343}=_0x226298,_0x4cc3e2=_0x2c097a['view']['document']['selection'];_0x3ee11c=!!(_0x26e343['is']('element','a')&&_0x26e343['parent']?.['is']('element','sup')&&_0x26e343['parent']['hasClass']('footnote'))&&_0x4cc3e2['getSelectedElement']()===_0x26e343['parent'];},{'priority':'high'}),this['listenTo'](_0x2c097a['view']['document'],'click',(_0x228513,_0x3151ab)=>{const {target:_0x1fbe71}=_0x3151ab;if(!_0x1fbe71['is']('element','a'))return;if(_0x1fbe71['parent']?.['is']('element','sup')&&_0x1fbe71['parent']['hasClass']('footnote')&&!_0x3ee11c)return void _0x3151ab['preventDefault']();let _0x2af00c=_0x1fbe71['getAttribute']('href');if(!_0x2af00c?.['startsWith']('#'))return;_0x2af00c=_0x2af00c['slice'](0x1);let _0x413e77=!0x1;(_0x2af00c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2af00c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2af00c))&&(_0x413e77=!0x0),_0x413e77&&(_0x3151ab['preventDefault'](),_0x228513['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x2bde54}={}){return(_0x1da994,{writer:_0x390315})=>{if(!h(_0x1da994))return null;if(!_0x2bde54)return _0x390315['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4c645f=_0x390315['createContainerElement']('p');return _0x390315['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4c645f),_0x4c645f;};}function h(_0x3131fa){const {parent:_0x22def2}=_0x3131fa;if(!_0x22def2?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22def2['childCount'])return!0x1;for(const _0x51ac25 of _0x3131fa['getAttributeKeys']())if(!_0x51ac25['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x51ac25)return!0x1;return!0x0;}function p(_0x48fa59,_0x364a5e){if(!_0x48fa59['is']('element','paragraph'))return!0x1;const _0x4d153b=_0x364a5e['toViewElement'](_0x48fa59);return!!_0x4d153b&&h(_0x48fa59)!==_0x4d153b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xac8dd2){return _0x5e6b60(_0xac8dd2)&&_0xac8dd2['is']('containerElement')&&!!_0xac8dd2['getCustomProperty']('footnotesDefinitions');}function g(_0x2481fa,_0x309b7c={}){const _0x1912c2=_0x2481fa['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x190b25=_0x2481fa['createContainerElement']('ol',{'class':'footnotes-list'},_0x2481fa['createSlot']());return _0x2481fa['createContainerElement']('div',{'class':'footnotes',..._0x309b7c},[_0x1912c2,_0x190b25]);}function D(_0x348f8e,_0x3ac7de){const _0x3baafc=_0x348f8e['getAttribute']('footnoteId'),_0xd616b9=_0x348f8e['getAttribute']('footnoteCounter'),_0x24f593=_0x3ac7de['createUIElement']('a',{'href':'#'+_0x3baafc},function(_0x12dc45){const _0x3cc7fb=this['toDomElement'](_0x12dc45);return _0x3cc7fb['textContent']=_0xd616b9,_0x3cc7fb;}),_0x4a70a8=_0x3ac7de['createContainerElement']('sup',{'id':'ref-'+_0x3baafc,'class':'footnote'},[_0x24f593]);return _0x4a70a8['getFillerOffset']=()=>null,_0x4a70a8;}function v(_0x151d62,_0x56729a,_0x26d4d7,{dataPipeline:_0x15a86f}={}){const {t:t}=_0x26d4d7,_0x4d7967=_0x151d62['getAttribute']('footnoteId'),_0x54b004=_0x56729a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d7967},function(_0x48f42b){const _0x5accc4=this['toDomElement'](_0x48f42b);return _0x5accc4['innerText']='^',_0x5accc4;}),_0x37195b=_0x15a86f?_0x56729a['createContainerElement']('div',{'class':'footnote-content'}):_0x2c5e10(_0x56729a['createEditableElement']('div',{'class':'footnote-content'}),_0x56729a,{'label':t('Footnote\x20content.')});return _0x56729a['insert'](_0x56729a['createPositionAt'](_0x37195b,0x0),_0x56729a['createSlot']()),_0x56729a['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d7967},[_0x54b004,_0x37195b]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x2ef229=_0x5483;(function(_0x47cda3,_0x2a866b){const _0x13e39e=_0x5483,_0x241d9c=_0x47cda3();while(!![]){try{const _0x3234d0=parseInt(_0x13e39e(0xa1))/0x1*(parseInt(_0x13e39e(0xa4))/0x2)+-parseInt(_0x13e39e(0x95))/0x3*(-parseInt(_0x13e39e(0x90))/0x4)+parseInt(_0x13e39e(0x94))/0x5+-parseInt(_0x13e39e(0xa2))/0x6*(parseInt(_0x13e39e(0x9c))/0x7)+-parseInt(_0x13e39e(0xa3))/0x8+-parseInt(_0x13e39e(0x96))/0x9+parseInt(_0x13e39e(0x91))/0xa;if(_0x3234d0===_0x2a866b)break;else _0x241d9c['push'](_0x241d9c['shift']());}catch(_0x2f9d98){_0x241d9c['push'](_0x241d9c['shift']());}}}(_0x6a6f,0xd70a3));import{Command as _0x3e5be5}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x4dc8e3}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x3e5be5{[_0x2ef229(0xa0)](){const _0x59851d=_0x2ef229,{editor:_0x1c7951}=this,_0xa71409=_0x1c7951[_0x59851d(0x9f)][_0x59851d(0x9b)](_0x4dc8e3)[_0x59851d(0xa5)]();this[_0x59851d(0xa6)]=!!_0xa71409,this[_0x59851d(0x97)]=_0xa71409?.[_0x59851d(0x99)](_0x59851d(0x9a))??null;}[_0x2ef229(0x9d)]({value:_0xe160bf}){const _0x1711f5=_0x2ef229,{editor:_0x32a2e8}=this,_0xde0f8a=_0x32a2e8[_0x1711f5(0x9f)][_0x1711f5(0x9b)](_0x4dc8e3),_0x4c5393=_0xde0f8a[_0x1711f5(0xa5)]();_0x4c5393&&Number[_0x1711f5(0x93)](_0xe160bf)&&_0x32a2e8[_0x1711f5(0x98)][_0x1711f5(0x8f)](_0x1467f0=>{const _0x1fe5b0=_0x1711f5;_0x1467f0[_0x1fe5b0(0x92)](_0x1fe5b0(0x9a),_0xe160bf,_0x4c5393),_0xde0f8a[_0x1fe5b0(0x9e)](_0x1467f0);});}}function _0x5483(_0x31908f,_0xcae0f9){const _0x6a6f2c=_0x6a6f();return _0x5483=function(_0x5483a1,_0x45763d){_0x5483a1=_0x5483a1-0x8f;let _0x54a8a2=_0x6a6f2c[_0x5483a1];return _0x54a8a2;},_0x5483(_0x31908f,_0xcae0f9);}function _0x6a6f(){const _0x34ab97=['change','262796NjrMYh','13081990FEMhVt','setAttribute','isInteger','8570825qteQbM','3hdYXaL','8878689UmUPiC','value','model','getAttribute','footnotesListStart','get','7MpSwan','execute','_updateFootnotesCounters','plugins','refresh','1068xQwWtZ','10254732IMeIHu','7430824Wfjkpi','2654qldrsu','getFootnotesDefinitionsObjectElement','isEnabled'];_0x6a6f=function(){return _0x34ab97;};return _0x6a6f();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
const _0xb897de=_0x46cb;(function(_0x11e413,_0x4c7652){const _0x8df81c=_0x46cb,_0x42945b=_0x11e413();while(!![]){try{const _0x174878=parseInt(_0x8df81c(0x19e))/0x1*(-parseInt(_0x8df81c(0x1a8))/0x2)+-parseInt(_0x8df81c(0x1a6))/0x3*(parseInt(_0x8df81c(0x19d))/0x4)+-parseInt(_0x8df81c(0x19f))/0x5*(-parseInt(_0x8df81c(0x1b0))/0x6)+-parseInt(_0x8df81c(0x1ae))/0x7+parseInt(_0x8df81c(0x1a7))/0x8+parseInt(_0x8df81c(0x1af))/0x9*(parseInt(_0x8df81c(0x1aa))/0xa)+parseInt(_0x8df81c(0x198))/0xb*(parseInt(_0x8df81c(0x19c))/0xc);if(_0x174878===_0x4c7652)break;else _0x42945b['push'](_0x42945b['shift']());}catch(_0x5a1120){_0x42945b['push'](_0x42945b['shift']());}}}(_0x3f53,0xeafca));function _0x3f53(){const _0x5acdc7=['setAttribute','value','getFootnotesDefinitionsObjectElement','8261239VIcpSz','3034062rLCPoX','115974SeYlnI','get','11DfeyWf','execute','plugins','footnotesListStyle','33744516gaFiTV','4ETMcJz','1pfVlfU','380aPrNmm','isEnabled','_updateFootnotesCounters','change','getAttribute','model','refresh','5088882pKxhdu','6248488eKNNMQ','3794734nNVPYs','includes','20HucWeD'];_0x3f53=function(){return _0x5acdc7;};return _0x3f53();}import{Command as _0x45fcd9}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x40561e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x360499}from'../../footnotestracker.js';function _0x46cb(_0x4eb9f7,_0x7b569b){const _0x3f53b7=_0x3f53();return _0x46cb=function(_0x46cbae,_0xa70ec2){_0x46cbae=_0x46cbae-0x197;let _0x202c59=_0x3f53b7[_0x46cbae];return _0x202c59;},_0x46cb(_0x4eb9f7,_0x7b569b);}export class FootnotesStyleCommand extends _0x45fcd9{[_0xb897de(0x1a5)](){const _0x2b45f2=_0xb897de,{editor:_0x29a1d4}=this,_0x244d8b=_0x29a1d4[_0x2b45f2(0x19a)][_0x2b45f2(0x197)](_0x360499)[_0x2b45f2(0x1ad)]();this[_0x2b45f2(0x1a0)]=!!_0x244d8b,this[_0x2b45f2(0x1ac)]=_0x244d8b?.[_0x2b45f2(0x1a3)](_0x2b45f2(0x19b))??null;}[_0xb897de(0x199)]({value:_0x4053fa}){const _0x45e856=_0xb897de,{editor:_0x39e1b8}=this,_0xaeda59=_0x39e1b8[_0x45e856(0x19a)][_0x45e856(0x197)](_0x360499),_0xfe1bef=_0xaeda59[_0x45e856(0x1ad)]();_0xfe1bef&&_0x40561e[_0x45e856(0x1a9)](_0x4053fa)&&_0x39e1b8[_0x45e856(0x1a4)][_0x45e856(0x1a2)](_0x44e71a=>{const _0x19cd7d=_0x45e856;_0x44e71a[_0x19cd7d(0x1ab)](_0x19cd7d(0x19b),_0x4053fa,_0xfe1bef),_0xaeda59[_0x19cd7d(0x1a1)](_0x44e71a);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x20ca(_0x1d7984,_0x3681bd){const _0x539304=_0x5393();return _0x20ca=function(_0x20cad2,_0x3a7f7f){_0x20cad2=_0x20cad2-0x1e0;let _0x44ce56=_0x539304[_0x20cad2];return _0x44ce56;},_0x20ca(_0x1d7984,_0x3681bd);}const _0x134379=_0x20ca;(function(_0x2ae3bd,_0x1b63b5){const _0x1e285f=_0x20ca,_0x20e8ef=_0x2ae3bd();while(!![]){try{const _0x3af8ad=parseInt(_0x1e285f(0x1ec))/0x1*(parseInt(_0x1e285f(0x1e6))/0x2)+-parseInt(_0x1e285f(0x1f1))/0x3+parseInt(_0x1e285f(0x1e7))/0x4*(parseInt(_0x1e285f(0x1e9))/0x5)+-parseInt(_0x1e285f(0x1e1))/0x6*(parseInt(_0x1e285f(0x1e3))/0x7)+parseInt(_0x1e285f(0x1eb))/0x8+parseInt(_0x1e285f(0x1ed))/0x9+-parseInt(_0x1e285f(0x1ea))/0xa;if(_0x3af8ad===_0x1b63b5)break;else _0x20e8ef['push'](_0x20e8ef['shift']());}catch(_0x31acc3){_0x20e8ef['push'](_0x20e8ef['shift']());}}}(_0x5393,0x76961));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x134379(0x1e2),_0x134379(0x1e0),_0x134379(0x1e8),_0x134379(0x1e4),_0x134379(0x1f0),_0x134379(0x1e5),_0x134379(0x1ef),_0x134379(0x1ee)];function _0x5393(){const _0x2e8d3b=['decimal','1974JVfVbq','upper-latin','upper-alpha','1195170FUvogf','160pyYVDM','lower-latin','104450RaILdS','10234940cITtto','805432lTCjaf','1QaltXO','8492166GUpktD','upper-roman','lower-roman','lower-alpha','2699067FQzjJQ','decimal-leading-zero','1458AmZRyq'];_0x5393=function(){return _0x2e8d3b;};return _0x5393();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function _0x1c06(_0x3b21f3,_0x45839d){const _0xa3ae61=_0xa3ae();return _0x1c06=function(_0x1c065f,_0x22eed6){_0x1c065f=_0x1c065f-0x6b;let _0x532200=_0xa3ae61[_0x1c065f];return _0x532200;},_0x1c06(_0x3b21f3,_0x45839d);}const _0x5a5d33=_0x1c06;(function(_0x2cf897,_0xf0b692){const _0x332c80=_0x1c06,_0x3255b3=_0x2cf897();while(!![]){try{const _0x1e3033=parseInt(_0x332c80(0x82))/0x1*(-parseInt(_0x332c80(0xcf))/0x2)+parseInt(_0x332c80(0xb6))/0x3+-parseInt(_0x332c80(0xbd))/0x4+parseInt(_0x332c80(0xc2))/0x5*(-parseInt(_0x332c80(0xa4))/0x6)+parseInt(_0x332c80(0xcc))/0x7+parseInt(_0x332c80(0x99))/0x8*(parseInt(_0x332c80(0xc6))/0x9)+parseInt(_0x332c80(0xb7))/0xa;if(_0x1e3033===_0xf0b692)break;else _0x3255b3['push'](_0x3255b3['shift']());}catch(_0xa01f92){_0x3255b3['push'](_0x3255b3['shift']());}}}(_0xa3ae,0xf14c0));import{Plugin as _0x2c8189}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xabd851}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x48ea7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x49f6e4}from'../footnotestracker.js';import{FootnotesEditing as _0x34fd7d}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2c8189{static get[_0x5a5d33(0x7e)](){const _0x468630=_0x5a5d33;return _0x468630(0x96);}static get[_0x5a5d33(0xac)](){return[_0x34fd7d,_0x49f6e4];}static get[_0x5a5d33(0xa6)](){return!0x0;}static get[_0x5a5d33(0x72)](){return!0x0;}[_0x5a5d33(0x9d)](){const _0x10f048=_0x5a5d33,{editor:_0x55c062}=this;_0x55c062[_0x10f048(0xa9)][_0x10f048(0x7f)](_0x10f048(0xc4),_0x10f048(0x88)),_0x55c062[_0x10f048(0xa9)][_0x10f048(0x7f)](_0x10f048(0x84),0x1),_0x55c062[_0x10f048(0xa7)][_0x10f048(0xb5)](_0x10f048(0xbf),new _0xabd851(_0x55c062)),_0x55c062[_0x10f048(0xa7)][_0x10f048(0xb5)](_0x10f048(0xa2),new _0x48ea7(_0x55c062)),this[_0x10f048(0x9e)](),this[_0x10f048(0x91)](),this[_0x10f048(0xb1)](),this[_0x10f048(0xaf)]();}[_0x5a5d33(0x9e)](){const _0x5e1882=_0x5a5d33,{editor:_0x5984ca}=this,{schema:_0x225ba4}=_0x5984ca[_0x5e1882(0xae)];_0x225ba4[_0x5e1882(0xc1)](_0x5e1882(0xbc),{'allowAttributes':[_0x5e1882(0xc5),_0x5e1882(0xa5)]});}[_0x5a5d33(0x91)](){const _0x5471a8=_0x5a5d33,{editor:_0x241d94}=this,{conversion:_0x12e976,model:_0x1b30fb}=_0x241d94,{schema:_0x28ce08}=_0x1b30fb;_0x12e976[_0x5471a8(0xa3)](_0x5471a8(0xb3))[_0x5471a8(0xb5)](_0x57a10a=>{const _0x1e6beb=_0x5471a8;_0x57a10a['on'](_0x1e6beb(0x8d),(_0x51ad26,_0x5cd837,_0x4746b2)=>{const _0x439067=_0x1e6beb,_0x1e2d9f=_0x5cd837[_0x439067(0xbb)],_0x6faa87=_0x5cd837[_0x439067(0xa8)]?.[_0x439067(0xb2)];_0x1e2d9f[_0x439067(0x74)](_0x439067(0x79))&&_0x6faa87?.['is'](_0x439067(0xc3),_0x439067(0xbc))&&(function(_0x49e3ad,_0x1ff163,_0xcec147,_0x360f2a){const _0x343672=_0x439067;if(!_0x360f2a[_0x343672(0x73)](_0x1ff163,_0x343672(0xa5)))return;let _0x171335=0x1;const _0x31f235=_0xcec147[_0x343672(0x7a)][_0x343672(0x98)](_0x49e3ad,{'attributes':_0x343672(0xc9)});if(_0x31f235){const _0x4512d0=Number[_0x343672(0x6f)](_0x49e3ad[_0x343672(0xc8)](_0x343672(0xc9)),0xa);Number[_0x343672(0xcb)](_0x4512d0)||(_0x171335=_0x4512d0);}!_0x31f235&&_0x1ff163[_0x343672(0x93)](_0x343672(0xa5))||_0xcec147[_0x343672(0x70)][_0x343672(0xad)](_0x343672(0xa5),_0x171335,_0x1ff163);}(_0x1e2d9f,_0x6faa87,_0x4746b2,_0x28ce08),function(_0xeae86f,_0x253a71,_0x2cfe71,_0x521b44){const _0x4694ab=_0x439067;if(!_0x521b44[_0x4694ab(0x73)](_0x253a71,_0x4694ab(0xc5)))return;let _0x1b68b4=_0x4694ab(0x88),_0x52df6d=!0x1;if(_0x2cfe71[_0x4694ab(0x7a)][_0x4694ab(0x98)](_0xeae86f,{'attributes':_0x4694ab(0x71)})){const _0x4292f3={0x1:_0x4694ab(0x88),'a':_0x4694ab(0x9a),'A':_0x4694ab(0xa0),'i':_0x4694ab(0xb0),'I':_0x4694ab(0x94)}[_0xeae86f[_0x4694ab(0xc8)](_0x4694ab(0x71))];_0x4292f3&&(_0x1b68b4=_0x4292f3),_0x52df6d=!0x0;}_0x2cfe71[_0x4694ab(0x7a)][_0x4694ab(0x98)](_0xeae86f,{'styles':_0x4694ab(0x77)})&&(_0x1b68b4=_0xeae86f[_0x4694ab(0x9f)](_0x4694ab(0x77)),_0x52df6d=!0x0),!_0x52df6d&&_0x253a71[_0x4694ab(0x93)](_0x4694ab(0xc5))||_0x2cfe71[_0x4694ab(0x70)][_0x4694ab(0xad)](_0x4694ab(0xc5),_0x1b68b4,_0x253a71);}(_0x1e2d9f,_0x6faa87,_0x4746b2,_0x28ce08));});}),_0x12e976[_0x5471a8(0xa3)](_0x5471a8(0x90))[_0x5471a8(0xb5)](_0x4954a7=>{const _0x18a8d5=_0x5471a8;_0x4954a7['on'](_0x18a8d5(0x85),(_0x1fd47d,_0x538bd4,_0x248c2f)=>{const _0x560a51=_0x18a8d5;if(!_0x248c2f[_0x560a51(0x7a)][_0x560a51(0x98)](_0x538bd4[_0x560a51(0x7c)],_0x1fd47d[_0x560a51(0x78)]))return;const _0x2b281b=C(_0x538bd4[_0x560a51(0x7c)],_0x248c2f[_0x560a51(0xaa)]),{attributeNewValue:_0x536620}=_0x538bd4;null==_0x536620||0x1===_0x536620?_0x248c2f[_0x560a51(0x70)][_0x560a51(0x83)](_0x560a51(0xc9),_0x2b281b):_0x248c2f[_0x560a51(0x70)][_0x560a51(0xad)](_0x560a51(0xc9),String(_0x536620),_0x2b281b);}),_0x4954a7['on'](_0x18a8d5(0xce),(_0x5eac22,_0x3787a1,_0x41a511)=>{const _0x46ed8d=_0x18a8d5;if(!_0x41a511[_0x46ed8d(0x7a)][_0x46ed8d(0x98)](_0x3787a1[_0x46ed8d(0x7c)],_0x5eac22[_0x46ed8d(0x78)]))return;const _0x3dd6f3=C(_0x3787a1[_0x46ed8d(0x7c)],_0x41a511[_0x46ed8d(0xaa)]),{attributeNewValue:_0x824ca5}=_0x3787a1;_0x824ca5&&_0x46ed8d(0x88)!==_0x824ca5?_0x41a511[_0x46ed8d(0x70)][_0x46ed8d(0x8f)](_0x46ed8d(0x77),_0x824ca5,_0x3dd6f3):_0x41a511[_0x46ed8d(0x70)][_0x46ed8d(0x7d)](_0x46ed8d(0x77),_0x3dd6f3);});});}[_0x5a5d33(0xaf)](){const _0x343ff8=_0x5a5d33,{editor:_0xeb5e4b}=this,{model:_0x387b40}=_0xeb5e4b,_0x45d8a4=_0xeb5e4b[_0x343ff8(0x86)][_0x343ff8(0x9c)](_0x49f6e4),_0x26996e=this[_0x343ff8(0x8c)](),_0x4106bf=this[_0x343ff8(0x8b)]();_0x387b40[_0x343ff8(0xb8)][_0x343ff8(0xcd)](_0x25a577=>{const _0x18a605=_0x343ff8,_0x378760=_0x387b40[_0x18a605(0xb8)][_0x18a605(0x6b)][_0x18a605(0x81)]();let _0x2f7dca=!0x1;for(const _0x787b45 of _0x378760){if(_0x18a605(0x97)!==_0x787b45[_0x18a605(0x71)]||_0x18a605(0x92)===_0x787b45[_0x18a605(0x78)])continue;const _0x2cec42=_0x387b40[_0x18a605(0xb4)](_0x787b45[_0x18a605(0x9b)][_0x18a605(0x8e)]);for(const _0x46084f of _0x2cec42[_0x18a605(0x80)]())_0x46084f['is'](_0x18a605(0xc3),_0x18a605(0xbc))&&(!_0x46084f[_0x18a605(0x93)](_0x18a605(0xa5))&&_0x387b40[_0x18a605(0x8a)][_0x18a605(0x73)](_0x46084f,_0x18a605(0xa5))&&(_0x25a577[_0x18a605(0xad)](_0x18a605(0xa5),_0x4106bf,_0x46084f),_0x2f7dca=!0x0),!_0x46084f[_0x18a605(0x93)](_0x18a605(0xc5))&&_0x387b40[_0x18a605(0x8a)][_0x18a605(0x73)](_0x46084f,_0x18a605(0xc5))&&(_0x25a577[_0x18a605(0xad)](_0x18a605(0xc5),_0x26996e,_0x46084f),_0x2f7dca=!0x0));}return _0x2f7dca&&_0x45d8a4[_0x18a605(0xa1)](_0x25a577),_0x2f7dca;});}[_0x5a5d33(0xb1)](){const _0x3d2aa2=_0x5a5d33,{editor:_0x5e732a}=this;_0x5e732a[_0x3d2aa2(0x86)][_0x3d2aa2(0x9c)](_0x49f6e4)[_0x3d2aa2(0x76)](_0x52503e=>this[_0x3d2aa2(0xc7)](_0x52503e));}[_0x5a5d33(0x8c)](){const _0x64fc21=_0x5a5d33;return this[_0x64fc21(0x6c)][_0x64fc21(0xa9)][_0x64fc21(0x9c)](_0x64fc21(0xc4));}[_0x5a5d33(0x8b)](){const _0x5e3f86=_0x5a5d33;return this[_0x5e3f86(0x6c)][_0x5e3f86(0xa9)][_0x5e3f86(0x9c)](_0x5e3f86(0x84));}[_0x5a5d33(0xc7)]({container:_0x3b08a1,value:_0x5e66d1,digits:_0x6e3a21}){const _0x986a72=_0x5a5d33,_0x19b7d5=_0x3b08a1[_0x986a72(0xc8)](_0x986a72(0xc5)),_0x353b4d=_0x3b08a1[_0x986a72(0xc8)](_0x986a72(0xa5)),_0x7e7f3f=Math[_0x986a72(0x75)](_0x5e66d1)+(_0x353b4d??0x1)-0x1;switch(_0x19b7d5){case _0x986a72(0x6e):return function(_0x377196,_0x576daf){const _0x14315b=_0x986a72;return String(_0x377196)[_0x14315b(0x89)](_0x576daf,'0');}(_0x7e7f3f,Math[_0x986a72(0xba)](0x2,_0x6e3a21));case _0x986a72(0x9a):case _0x986a72(0x6d):return M(_0x7e7f3f,!0x1);case _0x986a72(0xa0):case _0x986a72(0xc0):return M(_0x7e7f3f,!0x0);case _0x986a72(0xb0):return V(_0x7e7f3f,!0x1);case _0x986a72(0x94):return V(_0x7e7f3f,!0x0);default:return String(_0x7e7f3f);}}}function C(_0x6b37bf,_0x4b3bd0){const _0x5ea19f=_0x5a5d33,_0x388c1e=_0x4b3bd0[_0x5ea19f(0x87)](_0x6b37bf);return Array[_0x5ea19f(0x95)](_0x388c1e[_0x5ea19f(0xbe)]())[_0x5ea19f(0xca)](_0x4b8464=>_0x4b8464['is'](_0x5ea19f(0xc3),'ol')&&_0x4b8464[_0x5ea19f(0x74)](_0x5ea19f(0x79)));}function M(_0x20ecc0,_0x758ab1){const _0xa625b4=_0x5a5d33;let _0x44a21d='',_0x32eadf=_0x20ecc0;for(;_0x32eadf>0x0;){const _0xadaca=(_0x32eadf-0x1)%0x1a;_0x44a21d=String[_0xa625b4(0xb9)](0x61+_0xadaca)+_0x44a21d,_0x32eadf=Math[_0xa625b4(0x75)]((_0x32eadf-0x1)/0x1a);}return _0x758ab1?_0x44a21d[_0xa625b4(0xab)]():_0x44a21d;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x354dd0,_0x4ce10a){const _0x2846ca=_0x5a5d33;let _0x563fd7='',_0x317b86=_0x354dd0;for(const {value:_0x5ec764,numeral:_0x5079f7}of N)for(;_0x317b86>=_0x5ec764;)_0x563fd7+=_0x5079f7,_0x317b86-=_0x5ec764;return _0x4ce10a?_0x563fd7:_0x563fd7[_0x2846ca(0x7b)]();}function _0xa3ae(){const _0x8d4183=['_updateFootnotesCounters','footnotesStart','for','2966982eGorjt','footnotesListStart','isOfficialPlugin','commands','modelCursor','config','mapper','toUpperCase','requires','setAttribute','model','_definePostfixer','lower-roman','_defineFormatter','parent','upcast','createRangeOn','add','1101243qMLkOc','9845080NXcPgd','document','fromCharCode','max','viewItem','footnotesDefinitions','249632kSJIct','getChildren','footnotesStyle','upper-latin','extend','10quEYBW','element','footnotes.footnotesProperties.defaultListStyle','footnotesListStyle','9UaYfGM','_formatFootnoteListValue','getAttribute','start','find','isNaN','7643706yAeQSo','registerPostFixer','attribute:footnotesListStyle:footnotesDefinitions','3234vmpvoH','differ','editor','lower-latin','decimal-leading-zero','parseInt','writer','type','isPremiumPlugin','checkAttribute','hasClass','floor','setFootnoteFormatter','list-style-type','name','footnotes-list','consumable','toLowerCase','item','removeStyle','pluginName','define','getItems','getChanges','917ErqQcF','removeAttribute','footnotes.footnotesProperties.defaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','plugins','toViewElement','decimal','padStart','schema','_getDefaultStartIndex','_getDefaultListStyle','element:ol','nodeAfter','setStyle','downcast','_defineConverters','$text','hasAttribute','upper-roman','from','FootnotesPropertiesEditing','insert','consume','8631968GLikEL','lower-alpha','position','get','init','_defineSchema','getStyle','upper-alpha'];_0xa3ae=function(){return _0x8d4183;};return _0xa3ae();}
|
|
23
|
+
const _0x9cedec=_0x1799;(function(_0x476a2a,_0x595827){const _0x5c129e=_0x1799,_0x18a751=_0x476a2a();while(!![]){try{const _0x694f6c=-parseInt(_0x5c129e(0x154))/0x1*(-parseInt(_0x5c129e(0x147))/0x2)+-parseInt(_0x5c129e(0x182))/0x3+parseInt(_0x5c129e(0x167))/0x4+parseInt(_0x5c129e(0x18d))/0x5+-parseInt(_0x5c129e(0x190))/0x6*(parseInt(_0x5c129e(0x143))/0x7)+-parseInt(_0x5c129e(0x155))/0x8+parseInt(_0x5c129e(0x176))/0x9;if(_0x694f6c===_0x595827)break;else _0x18a751['push'](_0x18a751['shift']());}catch(_0x3e9657){_0x18a751['push'](_0x18a751['shift']());}}}(_0x38a4,0x4e61c));import{Plugin as _0x597c76}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4b7007}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x53cc3c}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x146576}from'../footnotestracker.js';import{FootnotesEditing as _0xd05cd1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x597c76{static get[_0x9cedec(0x15d)](){const _0x1342fb=_0x9cedec;return _0x1342fb(0x196);}static get[_0x9cedec(0x18c)](){return[_0xd05cd1,_0x146576];}static get[_0x9cedec(0x171)](){return!0x0;}static get[_0x9cedec(0x153)](){return!0x0;}[_0x9cedec(0x150)](){const _0x2a0ddc=_0x9cedec,{editor:_0x9793b1}=this;_0x9793b1[_0x2a0ddc(0x17e)][_0x2a0ddc(0x18f)](_0x2a0ddc(0x170),_0x2a0ddc(0x160)),_0x9793b1[_0x2a0ddc(0x17e)][_0x2a0ddc(0x18f)](_0x2a0ddc(0x145),0x1),_0x9793b1[_0x2a0ddc(0x14e)][_0x2a0ddc(0x19c)](_0x2a0ddc(0x179),new _0x4b7007(_0x9793b1)),_0x9793b1[_0x2a0ddc(0x14e)][_0x2a0ddc(0x19c)](_0x2a0ddc(0x164),new _0x53cc3c(_0x9793b1)),this[_0x2a0ddc(0x191)](),this[_0x2a0ddc(0x198)](),this[_0x2a0ddc(0x15a)](),this[_0x2a0ddc(0x18a)]();}[_0x9cedec(0x191)](){const _0x4fc862=_0x9cedec,{editor:_0x405f43}=this,{schema:_0x3b8cf0}=_0x405f43[_0x4fc862(0x194)];_0x3b8cf0[_0x4fc862(0x189)](_0x4fc862(0x16d),{'allowAttributes':[_0x4fc862(0x172),_0x4fc862(0x199)]});}[_0x9cedec(0x198)](){const _0x119f83=_0x9cedec,{editor:_0x20dd8d}=this,{conversion:_0x1df43c,model:_0x58ef9d}=_0x20dd8d,{schema:_0x432336}=_0x58ef9d;_0x1df43c[_0x119f83(0x17b)](_0x119f83(0x156))[_0x119f83(0x19c)](_0x2376fc=>{const _0x42c22b=_0x119f83;_0x2376fc['on'](_0x42c22b(0x152),(_0x1d459f,_0x41bbc0,_0x57b04c)=>{const _0x62a529=_0x42c22b,_0xef49d2=_0x41bbc0[_0x62a529(0x15c)],_0x27b21a=_0x41bbc0[_0x62a529(0x14a)]?.[_0x62a529(0x19a)];_0xef49d2[_0x62a529(0x184)](_0x62a529(0x157))&&_0x27b21a?.['is'](_0x62a529(0x165),_0x62a529(0x16d))&&(function(_0xe12086,_0x4c5955,_0x59a338,_0x219ea9){const _0x2acf01=_0x62a529;if(!_0x219ea9[_0x2acf01(0x1a0)](_0x4c5955,_0x2acf01(0x199)))return;let _0x51173a=0x1;const _0x582c78=_0x59a338[_0x2acf01(0x186)][_0x2acf01(0x173)](_0xe12086,{'attributes':_0x2acf01(0x163)});if(_0x582c78){const _0x3000f8=Number[_0x2acf01(0x14b)](_0xe12086[_0x2acf01(0x192)](_0x2acf01(0x163)),0xa);Number[_0x2acf01(0x14f)](_0x3000f8)||(_0x51173a=_0x3000f8);}!_0x582c78&&_0x4c5955[_0x2acf01(0x151)](_0x2acf01(0x199))||_0x59a338[_0x2acf01(0x17a)][_0x2acf01(0x146)](_0x2acf01(0x199),_0x51173a,_0x4c5955);}(_0xef49d2,_0x27b21a,_0x57b04c,_0x432336),function(_0x2fd089,_0x240cad,_0x4016a1,_0x3ba938){const _0x41a5e3=_0x62a529;if(!_0x3ba938[_0x41a5e3(0x1a0)](_0x240cad,_0x41a5e3(0x172)))return;let _0x18b893=_0x41a5e3(0x160),_0x37cff7=!0x1;if(_0x4016a1[_0x41a5e3(0x186)][_0x41a5e3(0x173)](_0x2fd089,{'attributes':_0x41a5e3(0x16f)})){const _0x2f5aba={0x1:_0x41a5e3(0x160),'a':_0x41a5e3(0x175),'A':_0x41a5e3(0x16a),'i':_0x41a5e3(0x16b),'I':_0x41a5e3(0x19d)}[_0x2fd089[_0x41a5e3(0x192)](_0x41a5e3(0x16f))];_0x2f5aba&&(_0x18b893=_0x2f5aba),_0x37cff7=!0x0;}_0x4016a1[_0x41a5e3(0x186)][_0x41a5e3(0x173)](_0x2fd089,{'styles':_0x41a5e3(0x178)})&&(_0x18b893=_0x2fd089[_0x41a5e3(0x144)](_0x41a5e3(0x178)),_0x37cff7=!0x0),!_0x37cff7&&_0x240cad[_0x41a5e3(0x151)](_0x41a5e3(0x172))||_0x4016a1[_0x41a5e3(0x17a)][_0x41a5e3(0x146)](_0x41a5e3(0x172),_0x18b893,_0x240cad);}(_0xef49d2,_0x27b21a,_0x57b04c,_0x432336));});}),_0x1df43c[_0x119f83(0x17b)](_0x119f83(0x1a1))[_0x119f83(0x19c)](_0x3b1b2d=>{const _0x3100a9=_0x119f83;_0x3b1b2d['on'](_0x3100a9(0x17d),(_0x407fde,_0x11c33d,_0x953114)=>{const _0x4b7127=_0x3100a9;if(!_0x953114[_0x4b7127(0x186)][_0x4b7127(0x173)](_0x11c33d[_0x4b7127(0x183)],_0x407fde[_0x4b7127(0x15b)]))return;const _0x25145e=C(_0x11c33d[_0x4b7127(0x183)],_0x953114[_0x4b7127(0x149)]),{attributeNewValue:_0x3155a8}=_0x11c33d;null==_0x3155a8||0x1===_0x3155a8?_0x953114[_0x4b7127(0x17a)][_0x4b7127(0x180)](_0x4b7127(0x163),_0x25145e):_0x953114[_0x4b7127(0x17a)][_0x4b7127(0x146)](_0x4b7127(0x163),String(_0x3155a8),_0x25145e);}),_0x3b1b2d['on'](_0x3100a9(0x168),(_0x290dba,_0x4300ce,_0x439789)=>{const _0x1a17d7=_0x3100a9;if(!_0x439789[_0x1a17d7(0x186)][_0x1a17d7(0x173)](_0x4300ce[_0x1a17d7(0x183)],_0x290dba[_0x1a17d7(0x15b)]))return;const _0x1f2df4=C(_0x4300ce[_0x1a17d7(0x183)],_0x439789[_0x1a17d7(0x149)]),{attributeNewValue:_0x587f0a}=_0x4300ce;_0x587f0a&&_0x1a17d7(0x160)!==_0x587f0a?_0x439789[_0x1a17d7(0x17a)][_0x1a17d7(0x17f)](_0x1a17d7(0x178),_0x587f0a,_0x1f2df4):_0x439789[_0x1a17d7(0x17a)][_0x1a17d7(0x1a2)](_0x1a17d7(0x178),_0x1f2df4);});});}[_0x9cedec(0x18a)](){const _0x2e64d3=_0x9cedec,{editor:_0x38441f}=this,{model:_0x3ee0d3}=_0x38441f,_0x50ee6a=_0x38441f[_0x2e64d3(0x14c)][_0x2e64d3(0x19b)](_0x146576),_0x54e75f=this[_0x2e64d3(0x158)](),_0xdded37=this[_0x2e64d3(0x162)]();_0x3ee0d3[_0x2e64d3(0x166)][_0x2e64d3(0x197)](_0x4120c3=>{const _0x3a07e3=_0x2e64d3,_0x9653c1=_0x3ee0d3[_0x3a07e3(0x166)][_0x3a07e3(0x1a5)][_0x3a07e3(0x195)]();let _0x12de08=!0x1;for(const _0x231ccb of _0x9653c1){if(_0x3a07e3(0x15f)!==_0x231ccb[_0x3a07e3(0x16f)]||_0x3a07e3(0x17c)===_0x231ccb[_0x3a07e3(0x15b)])continue;const _0x2e01cf=_0x3ee0d3[_0x3a07e3(0x142)](_0x231ccb[_0x3a07e3(0x1a4)][_0x3a07e3(0x174)]);for(const _0x4858e0 of _0x2e01cf[_0x3a07e3(0x188)]())_0x4858e0['is'](_0x3a07e3(0x165),_0x3a07e3(0x16d))&&(!_0x4858e0[_0x3a07e3(0x151)](_0x3a07e3(0x199))&&_0x3ee0d3[_0x3a07e3(0x1a3)][_0x3a07e3(0x1a0)](_0x4858e0,_0x3a07e3(0x199))&&(_0x4120c3[_0x3a07e3(0x146)](_0x3a07e3(0x199),_0xdded37,_0x4858e0),_0x12de08=!0x0),!_0x4858e0[_0x3a07e3(0x151)](_0x3a07e3(0x172))&&_0x3ee0d3[_0x3a07e3(0x1a3)][_0x3a07e3(0x1a0)](_0x4858e0,_0x3a07e3(0x172))&&(_0x4120c3[_0x3a07e3(0x146)](_0x3a07e3(0x172),_0x54e75f,_0x4858e0),_0x12de08=!0x0));}return _0x12de08&&_0x50ee6a[_0x3a07e3(0x177)](_0x4120c3),_0x12de08;});}[_0x9cedec(0x15a)](){const _0x59c45f=_0x9cedec,{editor:_0x32f7ad}=this;_0x32f7ad[_0x59c45f(0x14c)][_0x59c45f(0x19b)](_0x146576)[_0x59c45f(0x15e)](_0x595e05=>this[_0x59c45f(0x16c)](_0x595e05));}[_0x9cedec(0x158)](){const _0x892a48=_0x9cedec;return this[_0x892a48(0x193)][_0x892a48(0x17e)][_0x892a48(0x19b)](_0x892a48(0x170));}[_0x9cedec(0x162)](){const _0x44b5aa=_0x9cedec;return this[_0x44b5aa(0x193)][_0x44b5aa(0x17e)][_0x44b5aa(0x19b)](_0x44b5aa(0x145));}[_0x9cedec(0x16c)]({container:_0x43f53c,value:_0x67c34c,digits:_0x1d99f3}){const _0xc5079f=_0x9cedec,_0x12902d=_0x43f53c[_0xc5079f(0x192)](_0xc5079f(0x172)),_0x44061f=_0x43f53c[_0xc5079f(0x192)](_0xc5079f(0x199)),_0x312aae=Math[_0xc5079f(0x161)](_0x67c34c)+(_0x44061f??0x1)-0x1;switch(_0x12902d){case _0xc5079f(0x187):return function(_0x4c5f2b,_0x93f1c2){const _0x1b9dd0=_0xc5079f;return String(_0x4c5f2b)[_0x1b9dd0(0x181)](_0x93f1c2,'0');}(_0x312aae,Math[_0xc5079f(0x18b)](0x2,_0x1d99f3));case _0xc5079f(0x175):case _0xc5079f(0x14d):return M(_0x312aae,!0x1);case _0xc5079f(0x16a):case _0xc5079f(0x16e):return M(_0x312aae,!0x0);case _0xc5079f(0x16b):return V(_0x312aae,!0x1);case _0xc5079f(0x19d):return V(_0x312aae,!0x0);default:return String(_0x312aae);}}}function _0x1799(_0x2fbd8a,_0x3d6593){const _0x38a47e=_0x38a4();return _0x1799=function(_0x1799c1,_0x1c767a){_0x1799c1=_0x1799c1-0x142;let _0x15991b=_0x38a47e[_0x1799c1];return _0x15991b;},_0x1799(_0x2fbd8a,_0x3d6593);}function C(_0x52414a,_0x4a1452){const _0x125333=_0x9cedec,_0x1cff3c=_0x4a1452[_0x125333(0x19e)](_0x52414a);return Array[_0x125333(0x148)](_0x1cff3c[_0x125333(0x185)]())[_0x125333(0x19f)](_0x2a5d8d=>_0x2a5d8d['is'](_0x125333(0x165),'ol')&&_0x2a5d8d[_0x125333(0x184)](_0x125333(0x157)));}function M(_0x1081ab,_0x164d7b){const _0x27c048=_0x9cedec;let _0x184c8c='',_0xd50909=_0x1081ab;for(;_0xd50909>0x0;){const _0x3af949=(_0xd50909-0x1)%0x1a;_0x184c8c=String[_0x27c048(0x18e)](0x61+_0x3af949)+_0x184c8c,_0xd50909=Math[_0x27c048(0x161)]((_0xd50909-0x1)/0x1a);}return _0x164d7b?_0x184c8c[_0x27c048(0x159)]():_0x184c8c;}function _0x38a4(){const _0x178187=['getChanges','FootnotesPropertiesEditing','registerPostFixer','_defineConverters','footnotesListStart','parent','get','add','upper-roman','toViewElement','find','checkAttribute','downcast','removeStyle','schema','position','differ','createRangeOn','1329013HWCVzW','getStyle','footnotes.footnotesProperties.defaultStartIndex','setAttribute','96098QgDlnc','from','mapper','modelCursor','parseInt','plugins','lower-latin','commands','isNaN','init','hasAttribute','element:ol','isPremiumPlugin','4MAbAmv','2857904XxlBUj','upcast','footnotes-list','_getDefaultListStyle','toUpperCase','_defineFormatter','name','viewItem','pluginName','setFootnoteFormatter','insert','decimal','floor','_getDefaultStartIndex','start','footnotesStart','element','document','1291644tTySnR','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','upper-alpha','lower-roman','_formatFootnoteListValue','footnotesDefinitions','upper-latin','type','footnotes.footnotesProperties.defaultListStyle','isOfficialPlugin','footnotesListStyle','consume','nodeAfter','lower-alpha','5599278szcBma','_updateFootnotesCounters','list-style-type','footnotesStyle','writer','for','$text','attribute:footnotesListStart:footnotesDefinitions','config','setStyle','removeAttribute','padStart','1045815mIQLUC','item','hasClass','getChildren','consumable','decimal-leading-zero','getItems','extend','_definePostfixer','max','requires','397525EgDFeR','fromCharCode','define','6gCnuau','_defineSchema','getAttribute','editor','model'];_0x38a4=function(){return _0x178187;};return _0x38a4();}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x118374,_0x3ed339){const _0x46cd87=_0x9cedec;let _0x1ea15d='',_0x8a168=_0x118374;for(const {value:_0x4ee425,numeral:_0x390ac4}of N)for(;_0x8a168>=_0x4ee425;)_0x1ea15d+=_0x390ac4,_0x8a168-=_0x4ee425;return _0x3ed339?_0x1ea15d:_0x1ea15d[_0x46cd87(0x169)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x5d5ab7,ButtonView as _0x407267,ContextualBalloon as _0x25cea9,createDropdown as _0x4ff9d6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x40952c}from'ckeditor5/src/widget.js';import{Plugin as _0x49bd39}from'ckeditor5/src/core.js';import{IconFootnote as _0x17cf0a,IconListStyleDecimal as _0x3cc4e8,IconListStyleDecimalLeadingZero as _0x4ed7c1,IconListStyleLowerLatin as _0x13bd3c,IconListStyleLowerRoman as _0x72ec9f,IconListStyleUpperLatin as _0x37de74,IconListStyleUpperRoman as _0x303c8d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3d07b4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xcb89c4}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x49bd39{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x25cea9,_0x40952c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5474f0}=this,{componentFactory:_0x2ced5a}=_0x5474f0['ui'];_0x5474f0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x2ced5a['add']('footnotesStyle',function(_0x25a287){return _0x4e1005=>{const {t:t}=_0x4e1005,_0x3606a2=_0x25a287['commands']['get']('footnotesStyle'),_0x24945c=_0x4ff9d6(_0x4e1005),{buttonView:_0x2587d7}=_0x24945c;return _0x24945c['class']='ck-footnotes-styles-dropdown',_0x24945c['bind']('isEnabled')['to'](_0x3606a2,'isEnabled'),_0x2587d7['set']({'label':t('Footnotes\x20style'),'icon':_0x17cf0a,'tooltip':!0x0}),_0x24945c['once']('change:isOpen',()=>{const _0x3ce877=function({editor:_0x3f84dc,dropdownView:_0x172ff5}){const {t:t}=_0x3f84dc['locale'],_0x2fa46b=t('Footnotes\x20definitions\x20styles'),_0x10be7f=function(_0x557412){const t=_0x557412['locale']['t'],_0x102985=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3cc4e8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4ed7c1},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x72ec9f},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x303c8d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x13bd3c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x37de74}];return _0x102985['map'](function(_0x2e8133){const _0x5e4653=_0x2e8133['locale'];return({label:_0x429622,icon:_0xb7f3b9,tooltip:_0x4d2366,style:_0x42325a})=>{const _0x3123db=_0x2e8133['commands']['get']('footnotesStyle'),_0x56c704=new _0x407267(_0x5e4653);return _0x56c704['set']({'label':_0x429622,'icon':_0xb7f3b9,'tooltip':_0x4d2366}),_0x56c704['bind']('isOn')['to'](_0x3123db,'value',_0x5d3a2b=>_0x5d3a2b===_0x42325a),_0x56c704['bind']('isEnabled')['to'](_0x3123db,'isEnabled'),_0x56c704['on']('execute',()=>{_0x2e8133['execute']('footnotesStyle',{'value':_0x42325a}),_0x2e8133['editing']['view']['focus']();}),_0x56c704;};}(_0x557412));}(_0x3f84dc),_0x14cf0d=new _0x3d07b4(_0x3f84dc['locale'],{'styleGridAriaLabel':_0x2fa46b,'styleButtonViews':_0x10be7f});return _0x14cf0d['delegate']('execute')['to'](_0x172ff5),_0x14cf0d['on']('footnotesListStart',(_0x5aac9a,_0x5aaad6)=>{_0x3f84dc['execute']('footnotesStart',{'value':_0x5aaad6['startIndex']});}),_0x14cf0d;}({'editor':_0x25a287,'dropdownView':_0x24945c});_0x24945c['panelView']['children']['add'](_0x3ce877);}),_0x24945c;};}(_0x5474f0));}['afterInit'](){const {editor:_0x44fc90}=this,{t:t}=_0x44fc90['locale'],_0x34bfb5=_0x44fc90['plugins']['get'](_0x40952c),{defaultPositions:_0x1bae00}=_0x5d5ab7;_0x34bfb5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x44fc90['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x48600d=>{let _0x4cd3c3=_0x48600d['getFirstPosition']()?.['parent'];return _0x4cd3c3?.['is']('$text')&&(_0x4cd3c3=_0x4cd3c3['parent']),_0x4cd3c3?.['is']('element')?_0x4cd3c3['findAncestor'](_0xcb89c4):null;},'positions':[_0x1bae00['southArrowNorth'],_0x1bae00['southArrowNorthMiddleWest'],_0x1bae00['southArrowNorthMiddleEast'],_0x1bae00['southArrowNorthWest'],_0x1bae00['southArrowNorthEast'],_0x1bae00['northArrowSouth'],_0x1bae00['northArrowSouthMiddleWest'],_0x1bae00['northArrowSouthMiddleEast'],_0x1bae00['northArrowSouthWest'],_0x1bae00['northArrowSouthEast'],_0x1bae00['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x4c79bb,View as _0x475ed1,ViewCollection as _0x5ab793,FocusCycler as _0x34837a,addKeyboardHandlingForGrid as _0x3fd6de,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x475ed1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x5ab793();['focusCycler'];constructor(_0x2ac788,{styleButtonViews:_0x5eb3c2,styleGridAriaLabel:_0x31ad97}){super(_0x2ac788),(this['focusCycler']=new _0x34837a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5eb3c2,_0x31ad97),[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 _0x22a6f7 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x22a6f7['element']);_0x3fd6de({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5f37b4=_0x2f45cf=>_0x2f45cf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5f37b4),this['keystrokes']['set']('arrowleft',_0x5f37b4),this['keystrokes']['set']('arrowup',_0x5f37b4),this['keystrokes']['set']('arrowdown',_0x5f37b4);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1fe876,_0x377795){const _0x33112e=new _0x475ed1(this['locale']);return _0x33112e['children']=_0x33112e['createCollection'](),_0x33112e['children']['addMany'](_0x1fe876),_0x33112e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x377795,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x33112e['children']}),_0x33112e['children']['delegate']('execute')['to'](this),_0x33112e['focus']=function(){for(const _0x460e50 of this['children'])if(_0x460e50 instanceof _0x4c79bb&&_0x460e50['isOn'])return void _0x460e50['focus']();this['children']['first']['focus']();},_0x33112e['focusTracker']=new et(),_0x33112e['keystrokes']=new ot(),_0x33112e['render'](),_0x33112e['keystrokes']['listenTo'](_0x33112e['element']),this['children']['add'](_0x33112e),_0x33112e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4aac79=this['_createStartIndexPropertyView'](),_0x4763d3=[_0x4aac79],_0x5ce3d4=new tt(this['locale'],_0x4763d3);return _0x5ce3d4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5ce3d4['buttonView']['bind']('isEnabled')['toMany'](_0x4763d3,'isEnabled',(..._0x1a327a)=>_0x1a327a['some'](_0x303bea=>_0x303bea)),_0x5ce3d4['buttonView']['on']('change:isEnabled',(_0x27aa5,_0x2e35e9,_0x4cd0a2)=>{_0x4cd0a2||(_0x5ce3d4['isCollapsed']=!0x0);}),this['children']['add'](_0x5ce3d4),[_0x4aac79,_0x5ce3d4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x177f91=new st(this['locale'],it);return _0x177f91['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x177f91['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x177f91['fieldView']['on']('input',()=>{const _0x428684=_0x177f91['fieldView']['element'],_0x5332ae=_0x428684['valueAsNumber'];Number['isNaN'](_0x5332ae)?_0x177f91['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x428684['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5332ae}):_0x177f91['errorText']=t(_0x5332ae<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x177f91;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
var
|
|
23
|
+
var _0x51454e=_0x9a51;(function(_0x4527f7,_0xb78ba4){var _0x3ca4ac=_0x9a51,_0x20328e=_0x4527f7();while(!![]){try{var _0x129c2f=-parseInt(_0x3ca4ac(0xeb))/0x1*(parseInt(_0x3ca4ac(0xf0))/0x2)+parseInt(_0x3ca4ac(0xef))/0x3+parseInt(_0x3ca4ac(0xf2))/0x4+-parseInt(_0x3ca4ac(0xf1))/0x5*(parseInt(_0x3ca4ac(0xee))/0x6)+parseInt(_0x3ca4ac(0xec))/0x7+-parseInt(_0x3ca4ac(0xf7))/0x8+parseInt(_0x3ca4ac(0xf6))/0x9;if(_0x129c2f===_0xb78ba4)break;else _0x20328e['push'](_0x20328e['shift']());}catch(_0x5b2249){_0x20328e['push'](_0x20328e['shift']());}}}(_0x96e1,0x2057e));import{Plugin as _0x2ee600}from'ckeditor5/src/core.js';function _0x96e1(){var _0x50d6f6=['19275fvVdCZ','424032uwODep','isPremiumPlugin','requires','pluginName','42435dRWOCZ','729808HPQYye','isOfficialPlugin','3SGFROc','1839334GPHsfW','FootnotesProperties','174ydrewy','476361hkVpzm','131182gAFSGV'];_0x96e1=function(){return _0x50d6f6;};return _0x96e1();}import{FootnotesPropertiesEditing as _0xaed56e}from'./footnotesproperties/footnotespropertiesediting.js';function _0x9a51(_0x4f81a2,_0x54582c){var _0x96e11d=_0x96e1();return _0x9a51=function(_0x9a519e,_0x5b0828){_0x9a519e=_0x9a519e-0xea;var _0xd7dc76=_0x96e11d[_0x9a519e];return _0xd7dc76;},_0x9a51(_0x4f81a2,_0x54582c);}import{FootnotesPropertiesUI as _0x223546}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2ee600{static get[_0x51454e(0xf5)](){var _0xb8c92=_0x51454e;return _0xb8c92(0xed);}static get[_0x51454e(0xf4)](){return[_0xaed56e,_0x223546];}static get[_0x51454e(0xea)](){return!0x0;}static get[_0x51454e(0xf3)](){return!0x0;}}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x28ff21=_0x366b;(function(_0x26a6b7,_0x18edba){const _0x38b7c0=_0x366b,_0x1b62c1=_0x26a6b7();while(!![]){try{const _0x192102=parseInt(_0x38b7c0(0xc0))/0x1+-parseInt(_0x38b7c0(0x9b))/0x2*(parseInt(_0x38b7c0(0xb6))/0x3)+-parseInt(_0x38b7c0(0xad))/0x4*(parseInt(_0x38b7c0(0xf4))/0x5)+parseInt(_0x38b7c0(0xec))/0x6*(parseInt(_0x38b7c0(0xc8))/0x7)+parseInt(_0x38b7c0(0xc1))/0x8*(parseInt(_0x38b7c0(0xba))/0x9)+parseInt(_0x38b7c0(0x9c))/0xa*(-parseInt(_0x38b7c0(0x9d))/0xb)+-parseInt(_0x38b7c0(0xa3))/0xc*(-parseInt(_0x38b7c0(0xd7))/0xd);if(_0x192102===_0x18edba)break;else _0x1b62c1['push'](_0x1b62c1['shift']());}catch(_0x573794){_0x1b62c1['push'](_0x1b62c1['shift']());}}}(_0x38e9,0x2f708));import{Plugin as _0x3f3c7d}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5dc8fd}from'./modelelementtracker.js';export class FootnotesTracker extends _0x3f3c7d{[_0x28ff21(0xca)]=[];[_0x28ff21(0xbc)]=null;[_0x28ff21(0xcb)]=null;[_0x28ff21(0xc4)];[_0x28ff21(0xed)];[_0x28ff21(0xf1)];static get[_0x28ff21(0xc9)](){const _0x372dfd=_0x28ff21;return _0x372dfd(0xd5);}static get[_0x28ff21(0xa1)](){return!0x0;}static get[_0x28ff21(0xbf)](){return!0x0;}constructor(_0x37c519){const _0x3c4a0f=_0x28ff21;super(_0x37c519),this[_0x3c4a0f(0xc4)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xaf),'getElementKey':()=>_0x3c4a0f(0xa7)}),this[_0x3c4a0f(0xed)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xe5),'getElementKey':_0x29ba16=>_0x29ba16[_0x3c4a0f(0xd6)](_0x3c4a0f(0xf2))}),this[_0x3c4a0f(0xf1)]=new _0x5dc8fd(this[_0x3c4a0f(0xd1)][_0x3c4a0f(0xbe)],{'elementName':_0x3c4a0f(0xb0),'getElementKey':_0x2b9415=>_0x2b9415[_0x3c4a0f(0xd6)](_0x3c4a0f(0xf2))});}[_0x28ff21(0xe0)](){const _0x1a3da2=_0x28ff21,{editor:_0x50bde1}=this,{model:_0xf34a9a,data:_0x1b4401}=_0x50bde1;_0xf34a9a[_0x1a3da2(0xb9)][_0x1a3da2(0xb5)](_0x5f1ba3=>{const _0x2962c8=_0x1a3da2,_0x2a773f=_0xf34a9a[_0x2962c8(0xb9)][_0x2962c8(0xf3)][_0x2962c8(0xb7)]();let _0x4a834a=!0x1;return this[_0x2962c8(0x93)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xea)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xdf)](_0x5f1ba3,_0x2a773f)&&(_0x4a834a=!0x0),this[_0x2962c8(0xb2)](_0x5f1ba3)&&(_0x4a834a=!0x0),this[_0x2962c8(0x90)](_0x5f1ba3)&&(_0x4a834a=!0x0),this[_0x2962c8(0xcd)](_0x5f1ba3)&&(_0x4a834a=!0x0),_0x4a834a;}),this[_0x1a3da2(0xae)](_0xf34a9a[_0x1a3da2(0xb9)],_0x1a3da2(0x9e),()=>{const _0x1e7978=_0x1a3da2;_0xf34a9a[_0x1e7978(0xe3)]({'isUndoable':!0x1},_0x38f116=>{const _0x3c43d0=_0x1e7978;this[_0x3c43d0(0xf6)](_0x38f116);});},{'priority':_0x1a3da2(0x9f)}),this[_0x1a3da2(0xae)](_0x1b4401,_0x1a3da2(0xe4),()=>{const _0x8d0889=_0x1a3da2;this[_0x8d0889(0xca)]=[],this[_0x8d0889(0xc4)][_0x8d0889(0xce)](),this[_0x8d0889(0xed)][_0x8d0889(0xce)](),this[_0x8d0889(0xf1)][_0x8d0889(0xce)]();},{'priority':_0x1a3da2(0xbd)});}[_0x28ff21(0xe1)](){const _0x217a97=_0x28ff21;return this[_0x217a97(0xbc)];}[_0x28ff21(0xa9)](_0x276083){const _0xa5055b=_0x28ff21;return this[_0xa5055b(0xca)][_0xa5055b(0xa6)](_0x2e2b49=>_0x2e2b49['id']===_0x276083)||null;}[_0x28ff21(0xcc)](){const _0x3a9355=_0x28ff21;return Array[_0x3a9355(0xc3)](this[_0x3a9355(0xca)]);}[_0x28ff21(0xf7)](){const _0x325ea7=_0x28ff21;return this[_0x325ea7(0xcb)];}[_0x28ff21(0x92)](_0x480b83){const _0x293e97=_0x28ff21;this[_0x293e97(0xcb)]=_0x480b83;}[_0x28ff21(0xcf)](_0x67564,_0x161f31=0x0){const _0x840cf6=_0x28ff21;let _0x58abbb=!0x1;for(let _0xc98d0e=_0x161f31;_0xc98d0e<this[_0x840cf6(0xca)][_0x840cf6(0x9a)];_0xc98d0e++)this[_0x840cf6(0xc6)](_0x67564,_0xc98d0e)&&(_0x58abbb=!0x0);return _0x58abbb;}[_0x28ff21(0xc5)](_0x1a5ec0,_0x98765b){const _0x41df72=_0x28ff21,_0x4ed274=_0x1a5ec0[_0x41df72(0xf0)](_0x41df72(0xaf),{});return _0x1a5ec0[_0x41df72(0xd3)](_0x4ed274,_0x98765b),this[_0x41df72(0xbc)]=_0x4ed274,_0x4ed274;}[_0x28ff21(0xf6)](_0x48b699){const _0x18fe52=_0x28ff21;if(!this[_0x18fe52(0xca)][_0x18fe52(0x9a)]||this[_0x18fe52(0xbc)])return;const _0x147fda=this[_0x18fe52(0xca)][0x0][_0x18fe52(0x98)][_0x18fe52(0xe7)],_0x8427b=this[_0x18fe52(0xc5)](_0x48b699,_0x147fda);for(const _0x4fcbe3 of this[_0x18fe52(0xca)])_0x4fcbe3[_0x18fe52(0xb4)][_0x18fe52(0x96)]||_0x48b699[_0x18fe52(0xd8)](_0x4fcbe3[_0x18fe52(0xb4)],_0x8427b,_0x18fe52(0xb8));this[_0x18fe52(0xcf)](_0x48b699);}[_0x28ff21(0x93)](_0x4bcda0,_0x138deb){const _0x2e1230=_0x28ff21;let _0x5344c6=!0x1;const {inserted:_0x2df622,removed:_0x256b20,moved:_0xd36007}=this[_0x2e1230(0xc4)][_0x2e1230(0xb7)](_0x138deb);if(_0xd36007[_0x2e1230(0x9a)]&&(this[_0x2e1230(0xbc)]=_0xd36007[0x0]),_0x2df622[_0x2e1230(0x9a)]){if(_0x2df622[_0x2e1230(0x9a)]>0x1||this[_0x2e1230(0xbc)]&&_0x2df622[_0x2e1230(0xd2)](_0x433f80=>_0x433f80!==this[_0x2e1230(0xbc)])){const _0x9476ff=_0x4bcda0[_0x2e1230(0xf0)](_0x2e1230(0xaf),{}),_0x417e8d=[];this[_0x2e1230(0xbc)]&&_0x417e8d[_0x2e1230(0xdd)](this[_0x2e1230(0xbc)]),_0x417e8d[_0x2e1230(0xdd)](..._0x2df622),_0x4bcda0[_0x2e1230(0xd8)](_0x9476ff,_0x417e8d[0x0],_0x2e1230(0x95));for(const _0x5f0495 of _0x417e8d)_0x4bcda0[_0x2e1230(0xb1)](_0x4bcda0[_0x2e1230(0xde)](_0x5f0495),_0x4bcda0[_0x2e1230(0xf5)](_0x9476ff,_0x2e1230(0xb8))),_0x4bcda0[_0x2e1230(0xd9)](_0x5f0495);this[_0x2e1230(0xbc)]=_0x9476ff,this[_0x2e1230(0xcf)](_0x4bcda0),_0x5344c6=!0x0;}else this[_0x2e1230(0xbc)]=_0x2df622[0x0];}if(_0x256b20[_0x2e1230(0x9a)]&&_0x2e1230(0xdc)===this[_0x2e1230(0xbc)]?.[_0x2e1230(0xe7)][_0x2e1230(0xd4)]){for(const _0x134c19 of this[_0x2e1230(0xca)])_0x4bcda0[_0x2e1230(0xd9)](_0x134c19[_0x2e1230(0x98)]),_0x5344c6=!0x0;this[_0x2e1230(0xca)]=[],this[_0x2e1230(0xbc)]=null;}return _0x5344c6;}[_0x28ff21(0xea)](_0x4cc1cb,_0xa14422){const _0x5c45b5=_0x28ff21;let _0x2af03c=!0x1;const _0x1cff08=this[_0x5c45b5(0xd1)][_0x5c45b5(0xbb)][_0x5c45b5(0x99)](_0x5c45b5(0xa2)),{inserted:_0x118428,moved:_0x23a890}=this[_0x5c45b5(0xf1)][_0x5c45b5(0xb7)](_0xa14422);for(const _0x1d382f of[..._0x23a890,..._0x118428]){const _0x4e9dce=_0x1d382f[_0x5c45b5(0xd6)](_0x5c45b5(0xf2)),_0x2a5b64=this[_0x5c45b5(0xa9)](_0x4e9dce);_0x2a5b64&&(_0x2a5b64[_0x5c45b5(0xb4)]=_0x1d382f),_(_0x4cc1cb,_0x1cff08,_0x1d382f)&&(_0x2af03c=!0x0);}return _0x2af03c;}[_0x28ff21(0xdf)](_0x4acf36,_0x5dd3ad){const _0x2dd28b=_0x28ff21;let _0x603b65=!0x1;const {removed:_0x2fe55e,inserted:_0x24e046,moved:_0x1c17c2}=this[_0x2dd28b(0xed)][_0x2dd28b(0xb7)](_0x5dd3ad);for(const _0x548394 of _0x2fe55e)this[_0x2dd28b(0xef)](_0x4acf36,_0x548394)&&(_0x603b65=!0x0);for(const _0x6d32a of _0x24e046)this[_0x2dd28b(0xa8)](_0x4acf36,_0x6d32a)&&(_0x603b65=!0x0);for(const _0x5bcd8a of _0x1c17c2)this[_0x2dd28b(0xee)](_0x4acf36,_0x5bcd8a)&&(_0x603b65=!0x0);return _0x603b65;}[_0x28ff21(0x90)](_0x46f6ef){const _0x1cd220=_0x28ff21;if(!this[_0x1cd220(0xbc)])return!0x1;let _0x2ee8a3=!0x1;if(this[_0x1cd220(0xbc)][_0x1cd220(0x94)]!==this[_0x1cd220(0xca)][_0x1cd220(0x9a)]){const _0x36f52a=[];for(const _0x1f0a69 of this[_0x1cd220(0xbc)][_0x1cd220(0xab)]()){const _0x4f1291=_0x1f0a69[_0x1cd220(0xd6)](_0x1cd220(0xf2));this[_0x1cd220(0xa9)](_0x4f1291)||(_0x36f52a[_0x1cd220(0xda)](_0x1f0a69),_0x2ee8a3=!0x0);}for(const _0x3d313d of _0x36f52a)_0x46f6ef[_0x1cd220(0xd9)](_0x3d313d);}const _0x380acd=new Set(),_0x28f6ea=[];for(const _0x52eb4b of this[_0x1cd220(0xbc)][_0x1cd220(0xab)]()){const _0x361185=_0x52eb4b[_0x1cd220(0xd6)](_0x1cd220(0xf2));_0x380acd[_0x1cd220(0xa4)](_0x361185)?(_0x28f6ea[_0x1cd220(0xda)](_0x52eb4b),_0x2ee8a3=!0x0):_0x380acd[_0x1cd220(0xdb)](_0x361185);}for(const _0x27d983 of _0x28f6ea)_0x46f6ef[_0x1cd220(0xd9)](_0x27d983);return this[_0x1cd220(0xbc)][_0x1cd220(0x94)]||(_0x46f6ef[_0x1cd220(0xd9)](this[_0x1cd220(0xbc)]),this[_0x1cd220(0xbc)]=null,_0x2ee8a3=!0x0),_0x2ee8a3;}[_0x28ff21(0xa8)](_0x2545a3,_0x50fecc){const _0xd0ca8d=_0x28ff21;if(this[_0xd0ca8d(0xca)][_0xd0ca8d(0xa6)](_0x3cf561=>_0x3cf561[_0xd0ca8d(0x98)]===_0x50fecc))return!0x1;let _0x158d58=!0x1;const _0xd9c1a7=_0x50fecc[_0xd0ca8d(0xd6)](_0xd0ca8d(0xf2)),_0x28a7a=this[_0xd0ca8d(0xca)][_0xd0ca8d(0x97)](_0x134e6f=>_0x134e6f['id']===_0xd9c1a7);-0x1!==_0x28a7a&&(_0x2545a3[_0xd0ca8d(0xd9)](this[_0xd0ca8d(0xca)][_0x28a7a][_0xd0ca8d(0x98)]),this[_0xd0ca8d(0xca)][_0xd0ca8d(0x91)](_0x28a7a,0x1),_0x158d58=!0x0);let _0xeccb33=this[_0xd0ca8d(0xbc)]?function(_0x32629a,_0x495580){const _0x45c8a1=_0xd0ca8d;for(const _0x27ecbc of _0x32629a[_0x45c8a1(0xab)]())if(_0x27ecbc[_0x45c8a1(0xd6)](_0x45c8a1(0xf2))===_0x495580)return _0x27ecbc;return null;}(this[_0xd0ca8d(0xbc)],_0xd9c1a7):null;_0xeccb33||(_0xeccb33=_0x2545a3[_0xd0ca8d(0xf0)](_0xd0ca8d(0xb0),{'footnoteId':_0xd9c1a7}),this[_0xd0ca8d(0xbc)]&&(_0x2545a3[_0xd0ca8d(0xd8)](_0xeccb33,this[_0xd0ca8d(0xbc)],_0xd0ca8d(0xb8)),_0x158d58=!0x0));const _0x56d00b={'id':_0xd9c1a7,'reference':_0x50fecc,'definition':_0xeccb33},_0xdca657=I(this[_0xd0ca8d(0xd1)][_0xd0ca8d(0xbe)],this[_0xd0ca8d(0xca)],_0x50fecc);this[_0xd0ca8d(0xca)][_0xd0ca8d(0x91)](_0xdca657,0x0,_0x56d00b);let _0x19a0ce=_0xdca657;return-0x1!==_0x28a7a&&(_0x19a0ce=Math[_0xd0ca8d(0xc2)](_0xdca657,_0x28a7a)),this[_0xd0ca8d(0xcf)](_0x2545a3,_0x19a0ce)&&(_0x158d58=!0x0),_0x158d58;}[_0x28ff21(0xef)](_0x3c2f59,_0x1e143c){const _0x34e855=_0x28ff21,_0x9362d0=this[_0x34e855(0xca)][_0x34e855(0x97)](_0x38a925=>_0x38a925['id']===_0x1e143c);if(-0x1===_0x9362d0)return!0x1;let _0xba66ed=!0x1;const _0x151784=this[_0x34e855(0xca)][_0x9362d0];return _0x34e855(0xdc)!==_0x151784[_0x34e855(0xb4)][_0x34e855(0xe7)][_0x34e855(0xd4)]&&(_0x3c2f59[_0x34e855(0xd9)](_0x151784[_0x34e855(0xb4)]),_0xba66ed=!0x0),this[_0x34e855(0xca)][_0x34e855(0x91)](_0x9362d0,0x1),this[_0x34e855(0xcf)](_0x3c2f59,_0x9362d0)&&(_0xba66ed=!0x0),_0xba66ed;}[_0x28ff21(0xee)](_0x1a1bdb,_0x5472f3){const _0x5dc373=_0x28ff21,_0x8055ff=_0x5472f3[_0x5dc373(0xd6)](_0x5dc373(0xf2)),_0x49e416=this[_0x5dc373(0xca)][_0x5dc373(0x97)](_0x490462=>_0x490462['id']===_0x8055ff),_0x48ff49=this[_0x5dc373(0xca)][_0x49e416];let _0x408dc9=!0x1;_0x48ff49[_0x5dc373(0x98)]=_0x5472f3,this[_0x5dc373(0xca)][_0x5dc373(0x91)](_0x49e416,0x1);const _0x1eb99a=I(this[_0x5dc373(0xd1)][_0x5dc373(0xbe)],this[_0x5dc373(0xca)],_0x5472f3);return this[_0x5dc373(0xca)][_0x5dc373(0x91)](_0x1eb99a,0x0,_0x48ff49),this[_0x5dc373(0xcf)](_0x1a1bdb,Math[_0x5dc373(0xc2)](_0x49e416,_0x1eb99a))&&(_0x408dc9=!0x0),_0x408dc9;}[_0x28ff21(0xc6)](_0x584262,_0x77c424){const _0x5a8c43=_0x28ff21;if(!this[_0x5a8c43(0xbc)])return!0x1;const _0x288ddf=this[_0x5a8c43(0xca)][_0x77c424];let _0x2b66be;return _0x2b66be=this[_0x5a8c43(0xcb)]?this[_0x5a8c43(0xcb)]({'footnote':_0x288ddf,'container':this[_0x5a8c43(0xbc)],'digits':String(this[_0x5a8c43(0xca)][_0x5a8c43(0x9a)])[_0x5a8c43(0x9a)],'value':_0x77c424+0x1}):String(_0x77c424+0x1),_0x288ddf[_0x5a8c43(0x98)][_0x5a8c43(0xd6)](_0x5a8c43(0xe8))!=_0x2b66be&&(_0x584262[_0x5a8c43(0xaa)](_0x5a8c43(0xe8),_0x2b66be,_0x288ddf[_0x5a8c43(0x98)]),!0x0);}[_0x28ff21(0xcd)](_0x225da0){const _0x5f5af3=_0x28ff21;if(!this[_0x5f5af3(0xbc)]||this[_0x5f5af3(0xca)][_0x5f5af3(0x9a)]<0x2)return!0x1;if(function(_0x3dbe36,_0x573203){const _0x2b9a23=_0x5f5af3;if(_0x3dbe36[_0x2b9a23(0x9a)]!==_0x573203[_0x2b9a23(0x9a)])return!0x1;for(let _0x5745c2=0x0;_0x5745c2<_0x3dbe36[_0x2b9a23(0x9a)];_0x5745c2++)if(_0x3dbe36[_0x5745c2]!==_0x573203[_0x5745c2])return!0x1;return!0x0;}(this[_0x5f5af3(0xca)][_0x5f5af3(0xa0)](_0x203f23=>_0x203f23['id']),Array[_0x5f5af3(0xc3)](this[_0x5f5af3(0xbc)][_0x5f5af3(0xab)]())[_0x5f5af3(0xa0)](_0x5a0fb8=>_0x5a0fb8[_0x5f5af3(0xd6)](_0x5f5af3(0xf2)))))return!0x1;let _0x3fcfbf=!0x1;for(let _0x340bf8=0x0;_0x340bf8<this[_0x5f5af3(0xca)][_0x5f5af3(0x9a)];_0x340bf8++){const _0x1e2173=this[_0x5f5af3(0xca)][_0x340bf8],_0x292cf9=_0x225da0[_0x5f5af3(0xeb)](_0x1e2173[_0x5f5af3(0xb4)]),_0x3a369a=_0x225da0[_0x5f5af3(0xf5)](this[_0x5f5af3(0xbc)],_0x340bf8);_0x292cf9[_0x5f5af3(0xa5)](_0x3a369a)||(_0x225da0[_0x5f5af3(0xb1)](_0x225da0[_0x5f5af3(0xe9)](_0x1e2173[_0x5f5af3(0xb4)]),_0x3a369a),_0x3fcfbf=!0x0);}return _0x3fcfbf;}[_0x28ff21(0xb2)](_0xefc44c){const _0x5f0974=_0x28ff21;if(!this[_0x5f0974(0xca)][_0x5f0974(0x9a)])return!0x1;const {model:_0x551576}=this[_0x5f0974(0xd1)];let _0xdfd9db=!0x1;for(let _0x48357a=0x0;_0x48357a<this[_0x5f0974(0xca)][_0x5f0974(0x9a)]-0x1;_0x48357a++){const _0x1a54f2=this[_0x5f0974(0xca)][_0x48357a],_0xd90f4a=this[_0x5f0974(0xca)][_0x48357a+0x1],_0x4d29ea=_0x551576[_0x5f0974(0xeb)](_0x1a54f2[_0x5f0974(0x98)]),_0x5d04ad=_0x551576[_0x5f0974(0xeb)](_0xd90f4a[_0x5f0974(0x98)]);_0x5f0974(0xe2)===_0x4d29ea[_0x5f0974(0xb3)](_0x5d04ad)&&(this[_0x5f0974(0xee)](_0xefc44c,_0x1a54f2[_0x5f0974(0x98)]),_0x48357a=-0x1,_0xdfd9db=!0x0);}return _0xdfd9db;}}function _0x366b(_0x40a0c8,_0x2fd65b){const _0x38e92b=_0x38e9();return _0x366b=function(_0x366b94,_0xac4709){_0x366b94=_0x366b94-0x90;let _0x54e73b=_0x38e92b[_0x366b94];return _0x54e73b;},_0x366b(_0x40a0c8,_0x2fd65b);}function _0x38e9(){const _0x128b45=['createPositionBefore','33240tSMOMG','_footnoteRefsTracker','_handleMovedFootnoteReference','_handleRemoveFootnoteReferenceById','createElement','_footnoteDefsTracker','footnoteId','differ','353315jHoZAg','createPositionAt','_ensureFootnotesDefinitionsContainerExists','getFootnotesFormatter','_handleFootnotesDefinitionsObjectSync','splice','setFootnoteFormatter','_handleFootnotesDefinitionsObjectChanges','childCount','before','parent','findIndex','reference','get','length','214NiugWL','10BOeymQ','1722655OliCjf','change:data','low','map','isOfficialPlugin','footnotes.multiBlock','59808thasXU','has','isEqual','find','singleton','_handleInsertedFootnoteReference','getFootnote','setAttribute','getChildren','paragraph','8rbBgCB','listenTo','footnotesDefinitions','footnoteDefinition','move','_ensureFootnotesReferencesHaveProperOrder','compareWith','definition','registerPostFixer','10239rWWfYd','getChanges','end','document','27wlWhUE','config','_footnotesDefinitions','high','model','isPremiumPlugin','198461kkPUGk','126904aJwWne','min','from','_footnoteDefsContainerTracker','_insertEmptyFootnotesDefinitionsContainer','_updateFootnoteRefCounter','footnoteInlineContent','42lYYmRF','pluginName','_footnotes','_footnoteFormatter','getFootnotes','_sortFootnoteDefinitions','reset','_updateFootnotesCounters','getRootNames','editor','some','append','rootName','FootnotesTracker','getAttribute','1508xuCHey','insert','remove','unshift','add','$graveyard','push','createRangeIn','_handleFootnoteReferencesChanges','init','getFootnotesDefinitionsObjectElement','after','enqueueChange','set','footnoteRef','indexOf','root','footnoteCounter','createRangeOn','_handleFootnoteDefinitionsChanges'];_0x38e9=function(){return _0x128b45;};return _0x38e9();}function _(_0x593b89,_0x5da5b3,_0x3d8db4){const _0x12c163=_0x28ff21;if(_0x3d8db4[_0x12c163(0x94)])return!0x1;const _0x34d1c7=_0x5da5b3?_0x12c163(0xac):_0x12c163(0xc7);return _0x593b89[_0x12c163(0xd8)](_0x593b89[_0x12c163(0xf0)](_0x34d1c7),_0x3d8db4),!0x0;}function I(_0x480c1e,_0x178103,_0x4d77b0){const _0x450c01=_0x28ff21;if(0x0===_0x178103[_0x450c01(0x9a)])return 0x0;const _0x1328df=_0x480c1e[_0x450c01(0xeb)](_0x4d77b0);for(let _0x1c85b2=0x0;_0x1c85b2<_0x178103[_0x450c01(0x9a)];_0x1c85b2++){const _0x5de4ad=_0x178103[_0x1c85b2],_0x4c8790=_0x480c1e[_0x450c01(0xeb)](_0x5de4ad[_0x450c01(0x98)]);if(_0x450c01(0x95)===_0x1328df[_0x450c01(0xb3)](_0x4c8790))return _0x1c85b2;}const _0x371b7e=_0x4d77b0[_0x450c01(0xe7)];let _0x1345ec=-0x1;for(let _0x1ed828=_0x178103[_0x450c01(0x9a)]-0x1;_0x1ed828>=0x0;_0x1ed828--)if(_0x178103[_0x1ed828][_0x450c01(0x98)][_0x450c01(0xe7)]===_0x371b7e){_0x1345ec=_0x1ed828;break;}if(-0x1!==_0x1345ec)return _0x1345ec+0x1;const _0x482f75=_0x480c1e[_0x450c01(0xb9)][_0x450c01(0xd0)](),_0x344000=_0x482f75[_0x450c01(0xe6)](_0x371b7e[_0x450c01(0xd4)]),_0x9e857f=_0x482f75[_0x344000+0x1];if(_0x9e857f){for(let _0x38de16=0x0;_0x38de16<_0x178103[_0x450c01(0x9a)];_0x38de16++)if(_0x178103[_0x38de16][_0x450c01(0x98)][_0x450c01(0xe7)][_0x450c01(0xd4)]===_0x9e857f)return _0x38de16;}return _0x178103[_0x450c01(0x9a)];}
|
|
23
|
+
const _0x5db7df=_0x25cc;(function(_0x4d2ead,_0x3605d7){const _0x5773d0=_0x25cc,_0x5c08f2=_0x4d2ead();while(!![]){try{const _0xc955b2=parseInt(_0x5773d0(0x9e))/0x1+-parseInt(_0x5773d0(0xbc))/0x2+-parseInt(_0x5773d0(0x95))/0x3+-parseInt(_0x5773d0(0xa0))/0x4+parseInt(_0x5773d0(0xb9))/0x5+parseInt(_0x5773d0(0x72))/0x6+-parseInt(_0x5773d0(0xb6))/0x7;if(_0xc955b2===_0x3605d7)break;else _0x5c08f2['push'](_0x5c08f2['shift']());}catch(_0x25a0e0){_0x5c08f2['push'](_0x5c08f2['shift']());}}}(_0x4d7a,0x70d19));import{Plugin as _0x2e3cc5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x47072e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2e3cc5{[_0x5db7df(0xa3)]=[];[_0x5db7df(0x71)]=null;[_0x5db7df(0xb2)]=null;[_0x5db7df(0x74)];[_0x5db7df(0x6b)];[_0x5db7df(0xc0)];static get[_0x5db7df(0xa9)](){const _0x59d032=_0x5db7df;return _0x59d032(0x82);}static get[_0x5db7df(0xc3)](){return!0x0;}static get[_0x5db7df(0xb1)](){return!0x0;}constructor(_0x3515d5){const _0xd9f8e1=_0x5db7df;super(_0x3515d5),this[_0xd9f8e1(0x74)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xbf),'getElementKey':()=>_0xd9f8e1(0x6a)}),this[_0xd9f8e1(0x6b)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0x77),'getElementKey':_0x240660=>_0x240660[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))}),this[_0xd9f8e1(0xc0)]=new _0x47072e(this[_0xd9f8e1(0x7e)][_0xd9f8e1(0xc4)],{'elementName':_0xd9f8e1(0xa6),'getElementKey':_0x1fb072=>_0x1fb072[_0xd9f8e1(0x6f)](_0xd9f8e1(0xc6))});}[_0x5db7df(0x9a)](){const _0x3d8f65=_0x5db7df,{editor:_0x1990a1}=this,{model:_0x419e86,data:_0x3e7a60}=_0x1990a1;_0x419e86[_0x3d8f65(0x6e)][_0x3d8f65(0xbe)](_0x56652b=>{const _0x5e0d42=_0x3d8f65,_0x30bc2b=_0x419e86[_0x5e0d42(0x6e)][_0x5e0d42(0x87)][_0x5e0d42(0xc8)]();let _0x369826=!0x1;return this[_0x5e0d42(0xa4)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0xcb)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x76)](_0x56652b,_0x30bc2b)&&(_0x369826=!0x0),this[_0x5e0d42(0x96)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0x73)](_0x56652b)&&(_0x369826=!0x0),this[_0x5e0d42(0xae)](_0x56652b)&&(_0x369826=!0x0),_0x369826;}),this[_0x3d8f65(0x79)](_0x419e86[_0x3d8f65(0x6e)],_0x3d8f65(0x70),()=>{const _0x3e0540=_0x3d8f65;_0x419e86[_0x3e0540(0xbd)]({'isUndoable':!0x1},_0x3e171f=>{const _0x22add1=_0x3e0540;this[_0x22add1(0x9d)](_0x3e171f);});},{'priority':_0x3d8f65(0xb7)}),this[_0x3d8f65(0x79)](_0x3e7a60,_0x3d8f65(0xb3),()=>{const _0x113d15=_0x3d8f65;this[_0x113d15(0xa3)]=[],this[_0x113d15(0x74)][_0x113d15(0xaf)](),this[_0x113d15(0x6b)][_0x113d15(0xaf)](),this[_0x113d15(0xc0)][_0x113d15(0xaf)]();},{'priority':_0x3d8f65(0x7a)});}[_0x5db7df(0x8f)](){const _0x26105d=_0x5db7df;return this[_0x26105d(0x71)];}[_0x5db7df(0xc2)](_0x434c72){const _0x4987b9=_0x5db7df;return this[_0x4987b9(0xa3)][_0x4987b9(0xc9)](_0x590464=>_0x590464['id']===_0x434c72)||null;}[_0x5db7df(0xa1)](){const _0x514818=_0x5db7df;return Array[_0x514818(0xca)](this[_0x514818(0xa3)]);}[_0x5db7df(0xc7)](){const _0x3230d3=_0x5db7df;return this[_0x3230d3(0xb2)];}[_0x5db7df(0x75)](_0x47280f){const _0x3872db=_0x5db7df;this[_0x3872db(0xb2)]=_0x47280f;}[_0x5db7df(0xc5)](_0x5f2e18,_0x14464e=0x0){const _0x470c18=_0x5db7df;let _0x3100eb=!0x1;for(let _0x10f9b2=_0x14464e;_0x10f9b2<this[_0x470c18(0xa3)][_0x470c18(0xb5)];_0x10f9b2++)this[_0x470c18(0x99)](_0x5f2e18,_0x10f9b2)&&(_0x3100eb=!0x0);return _0x3100eb;}[_0x5db7df(0x6c)](_0x57c15f,_0x196683){const _0x11e068=_0x5db7df,_0x4aa928=_0x57c15f[_0x11e068(0x91)](_0x11e068(0xbf),{});return _0x57c15f[_0x11e068(0x94)](_0x4aa928,_0x196683),this[_0x11e068(0x71)]=_0x4aa928,_0x4aa928;}[_0x5db7df(0x9d)](_0x5aa735){const _0x4f471d=_0x5db7df;if(!this[_0x4f471d(0xa3)][_0x4f471d(0xb5)]||this[_0x4f471d(0x71)])return;const _0x48665c=this[_0x4f471d(0xa3)][0x0][_0x4f471d(0x97)][_0x4f471d(0x9c)],_0x183115=this[_0x4f471d(0x6c)](_0x5aa735,_0x48665c);for(const _0x2c669f of this[_0x4f471d(0xa3)])_0x2c669f[_0x4f471d(0xa2)][_0x4f471d(0x9b)]||_0x5aa735[_0x4f471d(0xaa)](_0x2c669f[_0x4f471d(0xa2)],_0x183115,_0x4f471d(0xac));this[_0x4f471d(0xc5)](_0x5aa735);}[_0x5db7df(0xa4)](_0x150e21,_0x6678ac){const _0x4ce29b=_0x5db7df;let _0x5d7585=!0x1;const {inserted:_0x4d70e3,removed:_0x5a2aaa,moved:_0x398397}=this[_0x4ce29b(0x74)][_0x4ce29b(0xc8)](_0x6678ac);if(_0x398397[_0x4ce29b(0xb5)]&&(this[_0x4ce29b(0x71)]=_0x398397[0x0]),_0x4d70e3[_0x4ce29b(0xb5)]){if(_0x4d70e3[_0x4ce29b(0xb5)]>0x1||this[_0x4ce29b(0x71)]&&_0x4d70e3[_0x4ce29b(0x81)](_0x52f214=>_0x52f214!==this[_0x4ce29b(0x71)])){const _0x9ad3e4=_0x150e21[_0x4ce29b(0x91)](_0x4ce29b(0xbf),{}),_0x276426=[];this[_0x4ce29b(0x71)]&&_0x276426[_0x4ce29b(0xb0)](this[_0x4ce29b(0x71)]),_0x276426[_0x4ce29b(0xb0)](..._0x4d70e3),_0x150e21[_0x4ce29b(0xaa)](_0x9ad3e4,_0x276426[0x0],_0x4ce29b(0x7f));for(const _0x4daf2a of _0x276426)_0x150e21[_0x4ce29b(0x86)](_0x150e21[_0x4ce29b(0x8e)](_0x4daf2a),_0x150e21[_0x4ce29b(0x8d)](_0x9ad3e4,_0x4ce29b(0xac))),_0x150e21[_0x4ce29b(0x90)](_0x4daf2a);this[_0x4ce29b(0x71)]=_0x9ad3e4,this[_0x4ce29b(0xc5)](_0x150e21),_0x5d7585=!0x0;}else this[_0x4ce29b(0x71)]=_0x4d70e3[0x0];}if(_0x5a2aaa[_0x4ce29b(0xb5)]&&_0x4ce29b(0xb8)===this[_0x4ce29b(0x71)]?.[_0x4ce29b(0x9c)][_0x4ce29b(0xba)]){for(const _0x4c4a47 of this[_0x4ce29b(0xa3)])_0x150e21[_0x4ce29b(0x90)](_0x4c4a47[_0x4ce29b(0x97)]),_0x5d7585=!0x0;this[_0x4ce29b(0xa3)]=[],this[_0x4ce29b(0x71)]=null;}return _0x5d7585;}[_0x5db7df(0xcb)](_0x55731e,_0x5d75c2){const _0x13309f=_0x5db7df;let _0x46327a=!0x1;const _0x5b6d44=this[_0x13309f(0x7e)][_0x13309f(0x7d)][_0x13309f(0xb4)](_0x13309f(0x8a)),{inserted:_0x372c75,moved:_0x296d76}=this[_0x13309f(0xc0)][_0x13309f(0xc8)](_0x5d75c2);for(const _0x4de5b7 of[..._0x296d76,..._0x372c75]){const _0x3a30e8=_0x4de5b7[_0x13309f(0x6f)](_0x13309f(0xc6)),_0x15badd=this[_0x13309f(0xc2)](_0x3a30e8);_0x15badd&&(_0x15badd[_0x13309f(0xa2)]=_0x4de5b7),_(_0x55731e,_0x5b6d44,_0x4de5b7)&&(_0x46327a=!0x0);}return _0x46327a;}[_0x5db7df(0x76)](_0x200f55,_0x4f6505){const _0x250f2f=_0x5db7df;let _0x3c9096=!0x1;const {removed:_0x5ba280,inserted:_0x972541,moved:_0x48b2d3}=this[_0x250f2f(0x6b)][_0x250f2f(0xc8)](_0x4f6505);for(const _0x1bcd41 of _0x5ba280)this[_0x250f2f(0xa8)](_0x200f55,_0x1bcd41)&&(_0x3c9096=!0x0);for(const _0x2368e7 of _0x972541)this[_0x250f2f(0x7b)](_0x200f55,_0x2368e7)&&(_0x3c9096=!0x0);for(const _0x2af8e7 of _0x48b2d3)this[_0x250f2f(0x6d)](_0x200f55,_0x2af8e7)&&(_0x3c9096=!0x0);return _0x3c9096;}[_0x5db7df(0x73)](_0x1b461e){const _0x262b19=_0x5db7df;if(!this[_0x262b19(0x71)])return!0x1;let _0x3e33c1=!0x1;if(this[_0x262b19(0x71)][_0x262b19(0xad)]!==this[_0x262b19(0xa3)][_0x262b19(0xb5)]){const _0x23babe=[];for(const _0x45a4f1 of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x2cf04e=_0x45a4f1[_0x262b19(0x6f)](_0x262b19(0xc6));this[_0x262b19(0xc2)](_0x2cf04e)||(_0x23babe[_0x262b19(0x8c)](_0x45a4f1),_0x3e33c1=!0x0);}for(const _0x517637 of _0x23babe)_0x1b461e[_0x262b19(0x90)](_0x517637);}const _0x159b65=new Set(),_0x135d5f=[];for(const _0xc208fa of this[_0x262b19(0x71)][_0x262b19(0x85)]()){const _0x261ead=_0xc208fa[_0x262b19(0x6f)](_0x262b19(0xc6));_0x159b65[_0x262b19(0x88)](_0x261ead)?(_0x135d5f[_0x262b19(0x8c)](_0xc208fa),_0x3e33c1=!0x0):_0x159b65[_0x262b19(0x92)](_0x261ead);}for(const _0x89f1ec of _0x135d5f)_0x1b461e[_0x262b19(0x90)](_0x89f1ec);return this[_0x262b19(0x71)][_0x262b19(0xad)]||(_0x1b461e[_0x262b19(0x90)](this[_0x262b19(0x71)]),this[_0x262b19(0x71)]=null,_0x3e33c1=!0x0),_0x3e33c1;}[_0x5db7df(0x7b)](_0x362181,_0x386f7d){const _0x511ffb=_0x5db7df;if(this[_0x511ffb(0xa3)][_0x511ffb(0xc9)](_0x167313=>_0x167313[_0x511ffb(0x97)]===_0x386f7d))return!0x1;let _0x518439=!0x1;const _0x1095a5=_0x386f7d[_0x511ffb(0x6f)](_0x511ffb(0xc6)),_0x4de705=this[_0x511ffb(0xa3)][_0x511ffb(0x80)](_0x3a0555=>_0x3a0555['id']===_0x1095a5);-0x1!==_0x4de705&&(_0x362181[_0x511ffb(0x90)](this[_0x511ffb(0xa3)][_0x4de705][_0x511ffb(0x97)]),this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x4de705,0x1),_0x518439=!0x0);let _0x742b55=this[_0x511ffb(0x71)]?function(_0x51d78a,_0x490029){const _0x2848bb=_0x511ffb;for(const _0x1276cb of _0x51d78a[_0x2848bb(0x85)]())if(_0x1276cb[_0x2848bb(0x6f)](_0x2848bb(0xc6))===_0x490029)return _0x1276cb;return null;}(this[_0x511ffb(0x71)],_0x1095a5):null;_0x742b55||(_0x742b55=_0x362181[_0x511ffb(0x91)](_0x511ffb(0xa6),{'footnoteId':_0x1095a5}),this[_0x511ffb(0x71)]&&(_0x362181[_0x511ffb(0xaa)](_0x742b55,this[_0x511ffb(0x71)],_0x511ffb(0xac)),_0x518439=!0x0));const _0x456249={'id':_0x1095a5,'reference':_0x386f7d,'definition':_0x742b55},_0x3d9121=I(this[_0x511ffb(0x7e)][_0x511ffb(0xc4)],this[_0x511ffb(0xa3)],_0x386f7d);this[_0x511ffb(0xa3)][_0x511ffb(0xc1)](_0x3d9121,0x0,_0x456249);let _0x584999=_0x3d9121;return-0x1!==_0x4de705&&(_0x584999=Math[_0x511ffb(0x89)](_0x3d9121,_0x4de705)),this[_0x511ffb(0xc5)](_0x362181,_0x584999)&&(_0x518439=!0x0),_0x518439;}[_0x5db7df(0xa8)](_0x364ba6,_0x297d1e){const _0x4f7600=_0x5db7df,_0x12a18f=this[_0x4f7600(0xa3)][_0x4f7600(0x80)](_0x30f252=>_0x30f252['id']===_0x297d1e);if(-0x1===_0x12a18f)return!0x1;let _0x53a221=!0x1;const _0x6d7042=this[_0x4f7600(0xa3)][_0x12a18f];return _0x4f7600(0xb8)!==_0x6d7042[_0x4f7600(0xa2)][_0x4f7600(0x9c)][_0x4f7600(0xba)]&&(_0x364ba6[_0x4f7600(0x90)](_0x6d7042[_0x4f7600(0xa2)]),_0x53a221=!0x0),this[_0x4f7600(0xa3)][_0x4f7600(0xc1)](_0x12a18f,0x1),this[_0x4f7600(0xc5)](_0x364ba6,_0x12a18f)&&(_0x53a221=!0x0),_0x53a221;}[_0x5db7df(0x6d)](_0x177ad3,_0x1b059d){const _0x567244=_0x5db7df,_0x36b608=_0x1b059d[_0x567244(0x6f)](_0x567244(0xc6)),_0x4917d1=this[_0x567244(0xa3)][_0x567244(0x80)](_0xbecd17=>_0xbecd17['id']===_0x36b608),_0x411236=this[_0x567244(0xa3)][_0x4917d1];let _0x3202a5=!0x1;_0x411236[_0x567244(0x97)]=_0x1b059d,this[_0x567244(0xa3)][_0x567244(0xc1)](_0x4917d1,0x1);const _0x43b435=I(this[_0x567244(0x7e)][_0x567244(0xc4)],this[_0x567244(0xa3)],_0x1b059d);return this[_0x567244(0xa3)][_0x567244(0xc1)](_0x43b435,0x0,_0x411236),this[_0x567244(0xc5)](_0x177ad3,Math[_0x567244(0x89)](_0x4917d1,_0x43b435))&&(_0x3202a5=!0x0),_0x3202a5;}[_0x5db7df(0x99)](_0x35d1d2,_0x4e0b89){const _0x5a71fb=_0x5db7df;if(!this[_0x5a71fb(0x71)])return!0x1;const _0x58e2ac=this[_0x5a71fb(0xa3)][_0x4e0b89];let _0x4201c3;return _0x4201c3=this[_0x5a71fb(0xb2)]?this[_0x5a71fb(0xb2)]({'footnote':_0x58e2ac,'container':this[_0x5a71fb(0x71)],'digits':String(this[_0x5a71fb(0xa3)][_0x5a71fb(0xb5)])[_0x5a71fb(0xb5)],'value':_0x4e0b89+0x1}):String(_0x4e0b89+0x1),_0x58e2ac[_0x5a71fb(0x97)][_0x5a71fb(0x6f)](_0x5a71fb(0x8b))!=_0x4201c3&&(_0x35d1d2[_0x5a71fb(0xbb)](_0x5a71fb(0x8b),_0x4201c3,_0x58e2ac[_0x5a71fb(0x97)]),!0x0);}[_0x5db7df(0xae)](_0x166ffc){const _0x4f7f3a=_0x5db7df;if(!this[_0x4f7f3a(0x71)]||this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)]<0x2)return!0x1;if(function(_0x42db99,_0x3dfd7b){const _0x405105=_0x4f7f3a;if(_0x42db99[_0x405105(0xb5)]!==_0x3dfd7b[_0x405105(0xb5)])return!0x1;for(let _0x4ef21a=0x0;_0x4ef21a<_0x42db99[_0x405105(0xb5)];_0x4ef21a++)if(_0x42db99[_0x4ef21a]!==_0x3dfd7b[_0x4ef21a])return!0x1;return!0x0;}(this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xa5)](_0x12db7b=>_0x12db7b['id']),Array[_0x4f7f3a(0xca)](this[_0x4f7f3a(0x71)][_0x4f7f3a(0x85)]())[_0x4f7f3a(0xa5)](_0x28c7c4=>_0x28c7c4[_0x4f7f3a(0x6f)](_0x4f7f3a(0xc6)))))return!0x1;let _0x2f1ba0=!0x1;for(let _0x4d8be1=0x0;_0x4d8be1<this[_0x4f7f3a(0xa3)][_0x4f7f3a(0xb5)];_0x4d8be1++){const _0x1ba26a=this[_0x4f7f3a(0xa3)][_0x4d8be1],_0x52dec8=_0x166ffc[_0x4f7f3a(0x7c)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4=_0x166ffc[_0x4f7f3a(0x8d)](this[_0x4f7f3a(0x71)],_0x4d8be1);_0x52dec8[_0x4f7f3a(0x83)](_0x5c0fd4)||(_0x166ffc[_0x4f7f3a(0x86)](_0x166ffc[_0x4f7f3a(0xab)](_0x1ba26a[_0x4f7f3a(0xa2)]),_0x5c0fd4),_0x2f1ba0=!0x0);}return _0x2f1ba0;}[_0x5db7df(0x96)](_0x3f1dcc){const _0x23d095=_0x5db7df;if(!this[_0x23d095(0xa3)][_0x23d095(0xb5)])return!0x1;const {model:_0x115add}=this[_0x23d095(0x7e)];let _0x3e6efa=!0x1;for(let _0x54ceb4=0x0;_0x54ceb4<this[_0x23d095(0xa3)][_0x23d095(0xb5)]-0x1;_0x54ceb4++){const _0x2ede01=this[_0x23d095(0xa3)][_0x54ceb4],_0x1c339b=this[_0x23d095(0xa3)][_0x54ceb4+0x1],_0x516388=_0x115add[_0x23d095(0x7c)](_0x2ede01[_0x23d095(0x97)]),_0x85ef77=_0x115add[_0x23d095(0x7c)](_0x1c339b[_0x23d095(0x97)]);_0x23d095(0x93)===_0x516388[_0x23d095(0x98)](_0x85ef77)&&(this[_0x23d095(0x6d)](_0x3f1dcc,_0x2ede01[_0x23d095(0x97)]),_0x54ceb4=-0x1,_0x3e6efa=!0x0);}return _0x3e6efa;}}function _(_0x5ad4e2,_0x33ace2,_0x4495bb){const _0x23e46a=_0x5db7df;if(_0x4495bb[_0x23e46a(0xad)])return!0x1;const _0x17836b=_0x33ace2?_0x23e46a(0x78):_0x23e46a(0x9f);return _0x5ad4e2[_0x23e46a(0xaa)](_0x5ad4e2[_0x23e46a(0x91)](_0x17836b),_0x4495bb),!0x0;}function _0x4d7a(){const _0x56d83f=['unshift','createPositionAt','createRangeIn','getFootnotesDefinitionsObjectElement','remove','createElement','add','after','append','1174626LQONlI','_ensureFootnotesReferencesHaveProperOrder','reference','compareWith','_updateFootnoteRefCounter','init','parent','root','_ensureFootnotesDefinitionsContainerExists','719512LIWKSP','footnoteInlineContent','1006680FyuhoJ','getFootnotes','definition','_footnotes','_handleFootnotesDefinitionsObjectChanges','map','footnoteDefinition','indexOf','_handleRemoveFootnoteReferenceById','pluginName','insert','createRangeOn','end','childCount','_sortFootnoteDefinitions','reset','push','isPremiumPlugin','_footnoteFormatter','set','get','length','2421027lTSRYG','low','$graveyard','1178995QGGrNj','rootName','setAttribute','725790vwOoum','enqueueChange','registerPostFixer','footnotesDefinitions','_footnoteDefsTracker','splice','getFootnote','isOfficialPlugin','model','_updateFootnotesCounters','footnoteId','getFootnotesFormatter','getChanges','find','from','_handleFootnoteDefinitionsChanges','singleton','_footnoteRefsTracker','_insertEmptyFootnotesDefinitionsContainer','_handleMovedFootnoteReference','document','getAttribute','change:data','_footnotesDefinitions','5152572RcJadk','_handleFootnotesDefinitionsObjectSync','_footnoteDefsContainerTracker','setFootnoteFormatter','_handleFootnoteReferencesChanges','footnoteRef','paragraph','listenTo','high','_handleInsertedFootnoteReference','createPositionBefore','config','editor','before','findIndex','some','FootnotesTracker','isEqual','getRootNames','getChildren','move','differ','has','min','footnotes.multiBlock','footnoteCounter'];_0x4d7a=function(){return _0x56d83f;};return _0x4d7a();}function _0x25cc(_0x2aff1a,_0x1fb0f0){const _0x4d7a9b=_0x4d7a();return _0x25cc=function(_0x25cc25,_0x1ba94e){_0x25cc25=_0x25cc25-0x6a;let _0x22bd7e=_0x4d7a9b[_0x25cc25];return _0x22bd7e;},_0x25cc(_0x2aff1a,_0x1fb0f0);}function I(_0xf01f10,_0x3f1eab,_0x63af74){const _0x573d14=_0x5db7df;if(0x0===_0x3f1eab[_0x573d14(0xb5)])return 0x0;const _0x3f9712=_0xf01f10[_0x573d14(0x7c)](_0x63af74);for(let _0x1c025f=0x0;_0x1c025f<_0x3f1eab[_0x573d14(0xb5)];_0x1c025f++){const _0x51513a=_0x3f1eab[_0x1c025f],_0x1da0ef=_0xf01f10[_0x573d14(0x7c)](_0x51513a[_0x573d14(0x97)]);if(_0x573d14(0x7f)===_0x3f9712[_0x573d14(0x98)](_0x1da0ef))return _0x1c025f;}const _0x2ce4ec=_0x63af74[_0x573d14(0x9c)];let _0x285ae1=-0x1;for(let _0x46d058=_0x3f1eab[_0x573d14(0xb5)]-0x1;_0x46d058>=0x0;_0x46d058--)if(_0x3f1eab[_0x46d058][_0x573d14(0x97)][_0x573d14(0x9c)]===_0x2ce4ec){_0x285ae1=_0x46d058;break;}if(-0x1!==_0x285ae1)return _0x285ae1+0x1;const _0xcecd3=_0xf01f10[_0x573d14(0x6e)][_0x573d14(0x84)](),_0x1389b3=_0xcecd3[_0x573d14(0xa7)](_0x2ce4ec[_0x573d14(0xba)]),_0x516dcb=_0xcecd3[_0x1389b3+0x1];if(_0x516dcb){for(let _0x2712b1=0x0;_0x2712b1<_0x3f1eab[_0x573d14(0xb5)];_0x2712b1++)if(_0x3f1eab[_0x2712b1][_0x573d14(0x97)][_0x573d14(0x9c)][_0x573d14(0xba)]===_0x516dcb)return _0x2712b1;}return _0x3f1eab[_0x573d14(0xb5)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x3318ce,MenuBarMenuListItemButtonView as _0x2b3d18}from'ckeditor5/src/ui.js';import{Plugin as _0x31a4ef}from'ckeditor5/src/core.js';import{IconFootnote as _0x1eecc1}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x31a4ef{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x184735}=this,{componentFactory:_0x323f4f}=_0x184735['ui'];_0x323f4f['add']('insertFootnote',x(_0x184735,_0x3318ce)),_0x323f4f['add']('menuBar:insertFootnote',x(_0x184735,_0x2b3d18)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f516a=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x56dd2c;for(const _0xb1824 in _0x3f516a){const _0x3f969c=_0xb1824,_0x256ca6=_0x3f516a[_0x3f969c];if('footnotesLicenseKeyValid'==_0x256ca6||'footnotesLicenseKeyInvalid'==_0x256ca6||'footnotesLicenseKeyExpired'==_0x256ca6||'footnotesLicenseKeyDomainLimit'==_0x256ca6||'footnotesLicenseKeyNotAllowed'==_0x256ca6||'footnotesLicenseKeyEvaluationLimit'==_0x256ca6||'footnotesLicenseKeyTrialLimit'==_0x256ca6||'footnotesLicenseKeyUsageLimit'==_0x256ca6){delete _0x3f516a[_0x3f969c],_0x56dd2c=_0x256ca6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x56dd2c&&_0x3f516a['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x56dd2c&&_0x3f516a['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x56dd2c&&_0x3f516a['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x56dd2c&&_0x3f516a['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2a4d64,_0x24b21c){const _0x3d6834=_0x2a4d64['commands']['get']('insertFootnote');return _0x617de4=>{const {t:t}=_0x617de4,_0x68684a=new _0x24b21c(_0x617de4),_0x5cf499=_0x68684a instanceof _0x2b3d18;return _0x68684a['bind']('isEnabled')['to'](_0x3d6834,'isEnabled'),_0x68684a['set']({'label':t(_0x5cf499?'Footnote':'Insert\x20footnote'),'icon':_0x1eecc1,'tooltip':!0x0}),_0x68684a['on']('execute',()=>{_0x3d6834['execute'](),_0x2a4d64['editing']['view']['focus']();}),_0x68684a;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x5ec001,_0x5db83f){var _0x2529d4=_0x1f49,_0x48f697=_0x5ec001();while(!![]){try{var _0x31e98b=-parseInt(_0x2529d4(0x157))/0x1+parseInt(_0x2529d4(0x155))/0x2*(parseInt(_0x2529d4(0x156))/0x3)+parseInt(_0x2529d4(0x15a))/0x4*(-parseInt(_0x2529d4(0x15b))/0x5)+-parseInt(_0x2529d4(0x154))/0x6+parseInt(_0x2529d4(0x152))/0x7*(-parseInt(_0x2529d4(0x151))/0x8)+-parseInt(_0x2529d4(0x159))/0x9+-parseInt(_0x2529d4(0x153))/0xa*(-parseInt(_0x2529d4(0x158))/0xb);if(_0x31e98b===_0x5db83f)break;else _0x48f697['push'](_0x48f697['shift']());}catch(_0x179064){_0x48f697['push'](_0x48f697['shift']());}}}(_0x22a3,0xe33ab));import'./augmentation.js';function _0x1f49(_0x31e397,_0x4431c4){var _0x22a310=_0x22a3();return _0x1f49=function(_0x1f490a,_0x5f2992){_0x1f490a=_0x1f490a-0x151;var _0x5ae60a=_0x22a310[_0x1f490a];return _0x5ae60a;},_0x1f49(_0x31e397,_0x4431c4);}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x22a3(){var _0xf0ab2f=['4939HFvPWu','16160274RvSywY','1880UXcSeD','12275AKPCdo','232fAAmGZ','85295PCpvlT','100260KcdUhl','1223970MXyojM','2115938tWVUQh','3QHAYqL','1122116tJnJnM'];_0x22a3=function(){return _0xf0ab2f;};return _0x22a3();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
const _0x8cf7c2=_0x27b3;function _0x4a8d(){const _0x419673=['insert','slice','values','clear','_model','rootName','elementName','element','75inMGCB','push','getElementKey','name','from','get','reset','590584AMdyMJ','nodeAfter','$text','attributes','flat','_elementName','length','remove','_getElementKey','4308ldUwCQ','add','type','getChanges','27agKfWx','34441LEkOhH','$graveyard','getItems','root','_trackedElements','896210OFOhbE','delete','set','131178QGQaOg','createRangeOn','position','has','423703eOEXgq','841608QTQHFO','3LuAjyM'];_0x4a8d=function(){return _0x419673;};return _0x4a8d();}(function(_0x257a88,_0x2ebf2f){const _0x1265d4=_0x27b3,_0x21c08b=_0x257a88();while(!![]){try{const _0x11032e=parseInt(_0x1265d4(0xc4))/0x1+-parseInt(_0x1265d4(0xcc))/0x2+-parseInt(_0x1265d4(0xd2))/0x3*(parseInt(_0x1265d4(0xd1))/0x4)+-parseInt(_0x1265d4(0xdb))/0x5*(parseInt(_0x1265d4(0xbf))/0x6)+parseInt(_0x1265d4(0xd0))/0x7+-parseInt(_0x1265d4(0xe2))/0x8*(-parseInt(_0x1265d4(0xc3))/0x9)+parseInt(_0x1265d4(0xc9))/0xa;if(_0x11032e===_0x2ebf2f)break;else _0x21c08b['push'](_0x21c08b['shift']());}catch(_0x1d50e2){_0x21c08b['push'](_0x21c08b['shift']());}}}(_0x4a8d,0x1d203));function _0x27b3(_0x275ab9,_0x23c550){const _0x4a8dc5=_0x4a8d();return _0x27b3=function(_0x27b329,_0xc0d632){_0x27b329=_0x27b329-0xba;let _0x27902c=_0x4a8dc5[_0x27b329];return _0x27902c;},_0x27b3(_0x275ab9,_0x23c550);}export class ModelElementTracker{[_0x8cf7c2(0xd7)];[_0x8cf7c2(0xbb)];[_0x8cf7c2(0xbe)];[_0x8cf7c2(0xc8)]=new Map();constructor(_0x1eac85,_0x1b39dc){const _0x43d85f=_0x8cf7c2;this[_0x43d85f(0xd7)]=_0x1eac85,this[_0x43d85f(0xbb)]=_0x1b39dc[_0x43d85f(0xd9)],this[_0x43d85f(0xbe)]=_0x1b39dc[_0x43d85f(0xdd)];}[_0x8cf7c2(0xe1)](){const _0x283e55=_0x8cf7c2;this[_0x283e55(0xc8)][_0x283e55(0xd6)]();}[_0x8cf7c2(0xc2)](_0x21f5bc){const _0x42eab3=_0x8cf7c2,_0xebabb1=new Set(),_0x37a23d=new Map();for(const _0x218598 of _0x21f5bc){if(_0x42eab3(0xd3)===_0x218598[_0x42eab3(0xc1)]&&_0x42eab3(0xe4)!==_0x218598[_0x42eab3(0xde)]&&_0x218598[_0x42eab3(0xce)][_0x42eab3(0xe3)]){const _0x28eebf=this[_0x42eab3(0xd7)][_0x42eab3(0xcd)](_0x218598[_0x42eab3(0xce)][_0x42eab3(0xe3)]);for(const _0x279b6a of _0x28eebf[_0x42eab3(0xc6)]()){if(!_0x279b6a['is'](_0x42eab3(0xda),this[_0x42eab3(0xbb)]))continue;const _0x3d1fd2=this[_0x42eab3(0xbe)](_0x279b6a);_0x37a23d[_0x42eab3(0xcf)](_0x3d1fd2)||_0x37a23d[_0x42eab3(0xcb)](_0x3d1fd2,[]),_0x37a23d[_0x42eab3(0xe0)](_0x3d1fd2)[_0x42eab3(0xdc)](_0x279b6a);}}if(_0x42eab3(0xbd)===_0x218598[_0x42eab3(0xc1)]&&_0x218598[_0x42eab3(0xde)]===this[_0x42eab3(0xbb)]){const _0x19e340=this[_0x42eab3(0xbe)]({'getAttribute':_0x35635c=>_0x218598[_0x42eab3(0xe5)][_0x42eab3(0xe0)](_0x35635c)});_0xebabb1[_0x42eab3(0xc0)](_0x19e340);}}for(const [_0x317b4e,_0x15b809]of this[_0x42eab3(0xc8)])_0x42eab3(0xc5)===_0x15b809[_0x42eab3(0xc7)][_0x42eab3(0xd8)]&&_0xebabb1[_0x42eab3(0xc0)](_0x317b4e);for(const _0xe8949a of _0xebabb1)this[_0x42eab3(0xc8)][_0x42eab3(0xca)](_0xe8949a);for(const [_0x1a45d2,_0x250a9b]of _0x37a23d)this[_0x42eab3(0xc8)][_0x42eab3(0xcb)](_0x1a45d2,_0x250a9b[_0x250a9b[_0x42eab3(0xbc)]-0x1]);const _0x196881=new Set();for(const [_0x20521a,_0x48cb66]of _0x37a23d)_0xebabb1[_0x42eab3(0xcf)](_0x20521a)&&(_0x196881[_0x42eab3(0xc0)](_0x48cb66[0x0]),_0x48cb66[_0x42eab3(0xbc)]>0x1?_0x37a23d[_0x42eab3(0xcb)](_0x20521a,_0x48cb66[_0x42eab3(0xd4)](0x1)):_0x37a23d[_0x42eab3(0xca)](_0x20521a),_0xebabb1[_0x42eab3(0xca)](_0x20521a));return{'removed':Array[_0x42eab3(0xdf)](_0xebabb1),'inserted':Array[_0x42eab3(0xdf)](_0x37a23d[_0x42eab3(0xd5)]())[_0x42eab3(0xba)](),'moved':Array[_0x42eab3(0xdf)](_0x196881)};}}
|