@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251023.0 → 0.0.0-nightly-20251025.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 _0xfc055d}from'ckeditor5/src/core.js';import{isWidget as _0xb3f1ad,toWidget as _0x3c7c04,toWidgetEditable as _0x3f6794}from'ckeditor5/src/widget.js';import{uid as _0x358357}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4dd17f,ClickObserver as _0xd238bf}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2af9fd}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5aae72}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0xfc055d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2af9fd];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5886fb}=this;_0x5886fb['config']['define']('footnotes.multiBlock',!0x0),_0x5886fb['commands']['add']('insertFootnote',new _0x5aae72(_0x5886fb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x653202){const _0x179662=_0x3cf7de([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]),_0x259d68=0x47a28506,_0x5e82f1=0x47a5f206^_0x259d68,_0x4815ae=window[_0x3cf7de([0x44,0x61,0x74,0x65])][_0x3cf7de([0x6e,0x6f,0x77])](),_0x1b3d7b=_0x653202[_0x3cf7de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x41afef=new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x93b016=>{_0x1b3d7b[_0x3cf7de([0x6f,0x6e,0x63,0x65])](_0x3cf7de([0x72,0x65,0x61,0x64,0x79]),_0x93b016);}),_0x44fe14={[_0x3cf7de([0x6b,0x74,0x79])]:_0x3cf7de([0x45,0x43]),[_0x3cf7de([0x75,0x73,0x65])]:_0x3cf7de([0x73,0x69,0x67]),[_0x3cf7de([0x63,0x72,0x76])]:_0x3cf7de([0x50,0x2d,0x32,0x35,0x36]),[_0x3cf7de([0x78])]:_0x3cf7de([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]),[_0x3cf7de([0x79])]:_0x3cf7de([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]),[_0x3cf7de([0x61,0x6c,0x67])]:_0x3cf7de([0x45,0x53,0x32,0x35,0x36])},_0x11f0bd=_0x1b3d7b[_0x3cf7de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3cf7de([0x67,0x65,0x74])](_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2a78a6(){let _0x1a7fad,_0x1b7d46=null,_0x23dd0a=null;try{if(_0x11f0bd==_0x3cf7de([0x47,0x50,0x4c]))return _0x3cf7de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1a7fad=_0x474f8d(),!_0x1a7fad)return _0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1a7fad[_0x3cf7de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x23dd0a=_0x3e34c0(_0x1a7fad[_0x3cf7de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1a7fad[_0x3cf7de([0x6a,0x74,0x69])])),await _0x24b16c()?_0xd8727d()?_0x3bfefe()?_0x3cf7de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20a3d9()?(_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cf7de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1b7d46=_0x15df5d(_0x3cf7de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cf7de([0x74,0x72,0x69,0x61,0x6c])&&(_0x1b7d46=_0x15df5d(_0x3cf7de([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bd2de()):_0x3cf7de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3cf7de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3cf7de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3bfefe(){const _0x570428=[_0x3cf7de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3cf7de([0x74,0x72,0x69,0x61,0x6c])][_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4815ae/0x3e8:0xe10*_0x5e82f1;return _0x1a7fad[_0x3cf7de([0x65,0x78,0x70])]<_0x570428;}function _0xd8727d(){const _0x459d5c=_0x1a7fad[_0x3cf7de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x459d5c&&(!!_0x459d5c[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x2a]))||!!_0x459d5c[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x46,0x4f,0x4f])));}function _0x20a3d9(){const _0x535f01=_0x1a7fad[_0x3cf7de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x535f01||0x0==_0x535f01[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c6120}=new URL(window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x535f01[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c6120))return!0x0;const _0x4f566d=_0x4c6120[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e]));return _0x535f01[_0x3cf7de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12a88e=>_0x12a88e[_0x3cf7de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cf7de([0x2a])))[_0x3cf7de([0x6d,0x61,0x70])](_0x402238=>_0x402238[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e])))[_0x3cf7de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x205c2b=>_0x205c2b[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4f566d[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cf7de([0x6d,0x61,0x70])](_0x59429c=>Array(_0x4f566d[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x59429c[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cf7de([0x66,0x69,0x6c,0x6c])](_0x59429c[0x0]===_0x3cf7de([0x2a])?_0x3cf7de([0x2a]):'')[_0x3cf7de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x59429c))[_0x3cf7de([0x73,0x6f,0x6d,0x65])](_0x2ddf21=>_0x4f566d[_0x3cf7de([0x65,0x76,0x65,0x72,0x79])]((_0x4e6c2e,_0x147256)=>_0x2ddf21[_0x147256]===_0x4e6c2e||_0x2ddf21[_0x147256]===_0x3cf7de([0x2a])));}function _0x5bd2de(){return _0x1b7d46&&_0x23dd0a?new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d712,_0x2a0b45)=>{_0x1b7d46[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x24d712,_0x2a0b45),_0x23dd0a[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x348fc5=>{_0x348fc5!=_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])&&_0x24d712(_0x348fc5);},_0x2a0b45);}):_0x1b7d46||_0x23dd0a||_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e34c0(_0x129e4e,_0x3bdef6){return new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x82adc7=>{if(_0x5bf83f())return _0x82adc7(_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]));_0x559789(),_0x1b3d7b[_0x3cf7de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2fa1ba=!0x1;const _0x542c04=_0x358357();function _0x42ef9b(_0x29b5b4){return!!_0x29b5b4&&(typeof _0x29b5b4===_0x3cf7de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x29b5b4===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x29b5b4[_0x3cf7de([0x74,0x68,0x65,0x6e])]===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x29b5b4[_0x3cf7de([0x63,0x61,0x74,0x63,0x68])]===_0x3cf7de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x460226(_0xad8bff){_0x2bc0ea(_0xad8bff)[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x340c53=>{if(!_0x340c53||_0x340c53[_0x3cf7de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3cf7de([0x6f,0x6b]))return _0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3c9a16(_0x397815(_0x542c04+_0x3bdef6))!=_0x340c53[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3cf7de([0x56,0x61,0x6c,0x69,0x64]);})[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x53dea3=>(_0x15eabf(),_0x53dea3),()=>{const _0x22b0d8=_0x29d89d();return null==_0x22b0d8?(_0x15eabf(),_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])):_0x3cf7de(_0x4815ae-_0x22b0d8>(0x63ae0106^_0x259d68)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0x82adc7)[_0x3cf7de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5c83a2=0x47946b86^_0x259d68;function _0x15eabf(){const _0x567b2b=_0x3cf7de([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c9a16(_0x397815(_0x129e4e)),_0x29b0ec=_0x93061(_0x3c9a16(window[_0x3cf7de([0x4d,0x61,0x74,0x68])][_0x3cf7de([0x63,0x65,0x69,0x6c])](_0x4815ae/_0x5c83a2)));window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cf7de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x567b2b,_0x29b0ec);}function _0x29d89d(){const _0x14bb84=_0x3cf7de([0x6c,0x6c,0x63,0x74,0x2d])+_0x3c9a16(_0x397815(_0x129e4e)),_0x6b9259=window[_0x3cf7de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cf7de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14bb84);return _0x6b9259?window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x93061(_0x6b9259),0x10)*_0x5c83a2:null;}function _0x2bc0ea(_0x4dffa7){return new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xef0c29,_0x363bba)=>{_0x4dffa7[_0x3cf7de([0x74,0x68,0x65,0x6e])](_0xef0c29,_0x363bba),window[_0x3cf7de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x363bba,0x47a351c6^_0x259d68);});}}_0x1b3d7b[_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5bd65c,_0x2eae1c)=>{if(_0x2eae1c[0x0]!=_0x129e4e)return _0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2eae1c[0x1]={..._0x2eae1c[0x1],[_0x3cf7de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x542c04};},{[_0x3cf7de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cf7de([0x68,0x69,0x67,0x68])}),_0x1b3d7b[_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x30d646=>{_0x42ef9b(_0x30d646[_0x3cf7de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2fa1ba=!0x0,_0x460226(_0x30d646[_0x3cf7de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3cf7de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cf7de([0x6c,0x6f,0x77])}),_0x41afef[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>{_0x2fa1ba||_0x82adc7(_0x3cf7de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5bf83f(){return _0x1b3d7b[_0x3cf7de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cf7de([0x76,0x69,0x65,0x77])][_0x3cf7de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3cf7de([0x61,0x75,0x74,0x6f]);}function _0x559789(){_0x1b3d7b[_0x3cf7de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cf7de([0x76,0x69,0x65,0x77])][_0x3cf7de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3cf7de([0x61,0x75,0x74,0x6f]);}}function _0x15df5d(_0x2153b9){const _0x2a4990=[new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3094ca=>setTimeout(_0x3094ca,0x47abbbca^_0x259d68)),_0x41afef[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xfb8031=>{let _0x2b2d7c=0x0;_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x6f,0x6e])](_0x3cf7de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1bfb1f,_0x17219e)=>{_0x17219e[0x0][_0x3cf7de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2b2d7c++,_0x2b2d7c==(0x47a284fe^_0x259d68)&&(_0xfb8031(),_0x1bfb1f[_0x3cf7de([0x6f,0x66,0x66])]());});}))];return window[_0x3cf7de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3cf7de([0x72,0x61,0x63,0x65])](_0x2a4990)[_0x3cf7de([0x74,0x68,0x65,0x6e])](()=>_0x2153b9);}async function _0x163472(){await _0x41afef,_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x50dc29,_0x1b3d7b[_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cf7de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x50dc29,_0x1b3d7b[_0x3cf7de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cf7de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1cc8bc(_0x52ceb9){const _0x493c1c=_0x2c9bd8();_0x1b3d7b[_0x493c1c]=_0x3cf7de([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x52ceb9,_0x52ceb9!=_0x3cf7de([0x56,0x61,0x6c,0x69,0x64])&&_0x163472();}function _0x2c9bd8(){const _0x5ef438=window[_0x3cf7de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3cf7de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cf7de([0x6e,0x6f,0x77])]())[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cf7de([0x2e]),'');let _0x4d9649=_0x3cf7de([0x75]);for(let _0x16bdf1=0x0;_0x16bdf1<_0x5ef438[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16bdf1+=0x2){let _0x17d071=window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ef438[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x16bdf1,_0x16bdf1+0x2));_0x17d071>=_0x179662[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x17d071-=_0x179662[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d9649+=_0x179662[_0x17d071];}return _0x4d9649;}function _0x474f8d(){const _0x14a861=_0x11f0bd[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e]));if(0x3!=_0x14a861[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x123a33(_0x14a861[0x1]);function _0x123a33(_0x34de3f){const _0x15390e=_0x141edf(_0x34de3f);return _0x15390e&&_0x3c719b()?_0x15390e:null;function _0x3c719b(){const _0x241de3=_0x15390e[_0x3cf7de([0x6a,0x74,0x69])],_0x333c17=window[_0x3cf7de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x241de3[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x241de3[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2916dd={..._0x15390e,[_0x3cf7de([0x6a,0x74,0x69])]:_0x241de3[_0x3cf7de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x241de3[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2916dd[_0x3cf7de([0x76,0x63])],_0x397815(_0x2916dd)==_0x333c17;}}}async function _0x24b16c(){let _0x25e660=!0x0;try{const _0x3c53a2=_0x11f0bd[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])](_0x3cf7de([0x2e])),[_0x5d83de,_0x33815b,_0x444754]=_0x3c53a2;return _0xbb7e17(_0x5d83de),await _0x4f39b1(_0x5d83de,_0x33815b,_0x444754),_0x25e660;}catch{return!0x1;}function _0xbb7e17(_0x2b1292){const _0x3dd72f=_0x141edf(_0x2b1292);_0x3dd72f&&_0x3dd72f[_0x3cf7de([0x61,0x6c,0x67])]==_0x3cf7de([0x45,0x53,0x32,0x35,0x36])||(_0x25e660=!0x1);}async function _0x4f39b1(_0x12040d,_0x925a22,_0x1d6c3a){const _0x577887=window[_0x3cf7de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3cf7de([0x66,0x72,0x6f,0x6d])](_0x2a07d0(_0x1d6c3a),_0x2d4392=>_0x2d4392[_0x3cf7de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x400457=new window[(_0x3cf7de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3cf7de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x12040d+_0x3cf7de([0x2e])+_0x925a22),_0x2b2d55=window[_0x3cf7de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3cf7de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b2d55)return;const _0x3e1e6c=await _0x2b2d55[_0x3cf7de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3cf7de([0x6a,0x77,0x6b]),_0x44fe14,{[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x45,0x43,0x44,0x53,0x41]),[_0x3cf7de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3cf7de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b2d55[_0x3cf7de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x45,0x43,0x44,0x53,0x41]),[_0x3cf7de([0x68,0x61,0x73,0x68])]:{[_0x3cf7de([0x6e,0x61,0x6d,0x65])]:_0x3cf7de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x3e1e6c,_0x577887,_0x400457)||(_0x25e660=!0x1);}}function _0x141edf(_0x48d83c){return _0x48d83c[_0x3cf7de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3cf7de([0x65,0x79]))?JSON[_0x3cf7de([0x70,0x61,0x72,0x73,0x65])](_0x2a07d0(_0x48d83c)):null;}function _0x2a07d0(_0x353812){return window[_0x3cf7de([0x61,0x74,0x6f,0x62])](_0x353812[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3cf7de([0x2b]))[_0x3cf7de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3cf7de([0x2f])));}function _0x397815(_0x51fdf1){let _0x2f1371=0x1505;function _0x16fc04(_0x4841bb){for(let _0xd9f1f5=0x0;_0xd9f1f5<_0x4841bb[_0x3cf7de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xd9f1f5++){const _0x591ff0=_0x4841bb[_0x3cf7de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0xd9f1f5);_0x2f1371=(_0x2f1371<<0x5)+_0x2f1371+_0x591ff0,_0x2f1371&=_0x2f1371;}}function _0x49b977(_0x1cc40a){Array[_0x3cf7de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1cc40a)?_0x1cc40a[_0x3cf7de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49b977):_0x1cc40a&&typeof _0x1cc40a==_0x3cf7de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3cf7de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1cc40a)[_0x3cf7de([0x73,0x6f,0x72,0x74])]()[_0x3cf7de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x5a356f,_0x5c95a7])=>{_0x16fc04(_0x5a356f),_0x49b977(_0x5c95a7);}):_0x16fc04(window[_0x3cf7de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1cc40a));}return _0x49b977(_0x51fdf1),_0x2f1371>>>0x0;}function _0x3c9a16(_0x24e215){return _0x24e215[_0x3cf7de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3cf7de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3cf7de([0x30]));}function _0x93061(_0x1c963a){return _0x1c963a[_0x3cf7de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3cf7de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3cf7de([0x6a,0x6f,0x69,0x6e])]('');}function _0x50dc29(){}function _0x3cf7de(_0x5847f0){return _0x5847f0['map'](_0x2348fc=>String['fromCharCode'](_0x2348fc))['join']('');}_0x1cc8bc(await _0x2a78a6());}(this);}['_moveSelectionToFootnoteDefinition'](_0x26ace9){const {plugins:_0x285440,editing:_0x54815a,model:_0x338bbe}=this['editor'],_0x8414e5=_0x285440['get'](_0x2af9fd)['getFootnote'](_0x26ace9);return!!_0x8414e5&&(_0x338bbe['change'](_0x2a45bd=>{_0x2a45bd['setSelection'](_0x2a45bd['createPositionAt'](_0x8414e5['definition'],'end'));}),_0x54815a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x11082c){const {plugins:_0x5d57b0,editing:_0x357038,model:_0x26d817}=this['editor'],_0x27fc57=_0x5d57b0['get'](_0x2af9fd)['getFootnote'](_0x11082c);return!!_0x27fc57&&(_0x26d817['change'](_0xa73a23=>{_0xa73a23['setSelection'](_0x27fc57['reference'],'on');}),_0x357038['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4ff96b}=this['editor']['model'],_0x7fa0c4=this['editor']['config']['get']('footnotes.multiBlock');_0x4ff96b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4ff96b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4ff96b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x7fa0c4?_0x4ff96b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4ff96b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4ff96b['addChildCheck'](_0x193559=>{for(const _0x52ace6 of _0x193559)if('footnoteDefinition'===_0x52ace6['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x12b9c9}=this,{conversion:_0x4281a0,editing:_0x5bfc46}=_0x12b9c9,{t:t}=_0x12b9c9['locale'];_0x4281a0['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x287f9c,{writer:_0x1989c0,consumable:_0x55b457})=>{const _0x56bc53=_0x287f9c['getChild'](0x0);if(!_0x56bc53||!_0x56bc53['is']('element','a'))return null;const _0x2895ad=_0x56bc53['getAttribute']('href')||'';if(!_0x2895ad['startsWith']('#'))return null;const _0x214fbd=_0x2895ad['replace'](/^#/,'');if(!_0x214fbd)return null;_0x55b457['consume'](_0x56bc53,{'name':!0x0,'attributes':['href']});for(const {item:_0x32125f}of _0x5bfc46['view']['createRangeIn'](_0x56bc53))_0x32125f['is']('$textProxy')?_0x55b457['consume'](_0x32125f['textNode'],{'name':!0x0}):_0x32125f['is']('element')&&_0x55b457['consume'](_0x32125f,{'name':!0x0});return _0x1989c0['createElement']('footnoteRef',{'footnoteId':_0x214fbd});}}),_0x4281a0['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x398116,{writer:_0x77d08c})=>D(_0x398116,_0x77d08c)}),_0x4281a0['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2e423c,{writer:_0x550900})=>{const _0x131bf0=_0x2e423c['getAttribute']('footnoteCounter');return _0x3c7c04(D(_0x2e423c,_0x550900),_0x550900,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x131bf0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x59f926}=this,{t:t}=_0x59f926['locale'],{conversion:_0x20fe5a}=_0x59f926;_0x20fe5a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x20fe5a['for']('upcast')['add'](_0x594fbf=>{_0x594fbf['on']('element:ol',(_0x282711,_0x37620b,_0x5116ac)=>{const _0x144cc3=_0x37620b['viewItem'];_0x144cc3['hasClass']('footnotes-list')&&_0x37620b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5116ac['consumable']['consume'](_0x144cc3,{'classes':'footnotes-list'});}),_0x594fbf['on']('element:hr',(_0x4dde21,_0x4021e3,_0x3e93b0)=>{const _0x3fb524=_0x4021e3['viewItem'];_0x3fb524['hasClass']('footnotes-divider')&&_0x4021e3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3e93b0['consumable']['consume'](_0x3fb524,{'classes':'footnotes-divider'});});}),_0x20fe5a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x36fa66,{writer:_0x473937})=>g(_0x473937)}),_0x20fe5a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50a843,{writer:_0x22fffc})=>{const _0x17aecb=g(_0x22fffc,{'data-footnotes-list-label':t('Footnotes')}),_0x59c7d9=_0x3c7c04(_0x17aecb,_0x22fffc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x22fffc['setCustomProperty']('footnotesDefinitions',!0x0,_0x59c7d9),_0x59c7d9;}});}['_defineDefinitionConverters'](){const {editor:_0x250787}=this,{conversion:_0x3b6ab7,locale:_0x1afbfa}=_0x250787,_0x238ab8=_0x250787['config']['get']('footnotes.multiBlock');_0x3b6ab7['for']('upcast')['add'](_0x4b31c4=>{_0x4b31c4['on']('element:li',(_0x24dc0,_0x3aa8be,_0x520521)=>{const _0x3caa15=_0x3aa8be['viewItem'];if(!_0x3caa15['hasClass']('footnote-definition')||!_0x3caa15['getAttribute']('id'))return;const _0x5a9fce=_0x3caa15['parent'];if(!_0x5a9fce['is']('element','ol')||!_0x5a9fce['hasClass']('footnotes-list'))return;if(!_0x520521['consumable']['test'](_0x3caa15,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1796ba=_0x520521['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3caa15['getAttribute']('id')});if(!_0x520521['safeInsert'](_0x1796ba,_0x3aa8be['modelCursor']))return;_0x520521['consumable']['consume'](_0x3caa15,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1f3176=Array['from'](_0x3caa15['getChildren']())['find'](_0x2382b1=>_0x2382b1['is']('element')&&_0x2382b1['hasClass']('footnote-content'));for(const _0xd075e1 of _0x3caa15['getChildren']())_0xd075e1['is']('element')&&(_0x520521['consumable']['consume'](_0xd075e1,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x520521['consumable']['consume'](_0xd075e1,{'name':!0x0,'classes':'footnote-content'}));if(_0x1f3176){if(_0x238ab8)_0x520521['convertChildren'](_0x1f3176,_0x1796ba);else{const _0xa64021=_0x520521['writer']['createElement']('footnoteInlineContent');_0x520521['writer']['insert'](_0xa64021,_0x1796ba),_0x520521['convertChildren'](_0x1f3176,_0xa64021);}}_0x520521['updateConversionResult'](_0x1796ba,_0x3aa8be);});}),_0x3b6ab7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x21cc48,{writer:_0x1e80e5})=>v(_0x21cc48,_0x1e80e5,_0x1afbfa,{'dataPipeline':!0x0})}),_0x3b6ab7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4dbc14,{writer:_0x4a0aaf})=>v(_0x4dbc14,_0x4a0aaf,_0x1afbfa)});}['_defineBogusParagraphConverters'](){const {editor:_0x26bc71}=this,{conversion:_0x2877c4}=_0x26bc71;_0x26bc71['config']['get']('footnotes.multiBlock')?(_0x2877c4['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x2877c4['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x26bc71['model']['document'],'change:data',()=>{!function(_0x34a045,_0x52a822){const _0x251788=_0x34a045['document']['differ'],_0x1959be=new Set();for(const _0xac698d of _0x251788['getChanges']()){const _0x107d74='attribute'==_0xac698d['type']?_0xac698d['range']['start']['parent']:_0xac698d['position']['parent'];_0x107d74['is']('element','footnoteDefinition')&&_0x1959be['add'](_0x107d74);}for(const _0xad6b90 of _0x1959be['values']()){const _0x1df3e2=Array['from'](_0xad6b90['getChildren']())['filter'](_0x133068=>p(_0x133068,_0x52a822['mapper']));for(const _0x50bda4 of _0x1df3e2)_0x52a822['reconvertItem'](_0x50bda4);}}(_0x26bc71['model'],_0x26bc71['editing']);})):(_0x2877c4['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x2877c4['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xa8f4ff,{writer:_0x316f8b})=>{const _0x3cd850=_0x316f8b['createContainerElement']('span');return _0x316f8b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3cd850),_0x3cd850;}}));}['_defineKeyboardHandlers'](){const {editor:_0x420cbe}=this,{editing:_0xaf09c4,t:t}=_0x420cbe,_0x9e2dfe=_0x420cbe['model']['document']['selection'];_0x420cbe['keystrokes']['set']('CTRL+Alt+D','insertFootnote'),_0x420cbe['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+D'}]}),this['listenTo'](_0xaf09c4['view']['document'],'enter',(_0x1dca8b,_0x7d3385)=>{const _0x35492f=function(_0x17d717){const _0x47e8a8=_0x17d717['getSelectedElement']();if(_0x47e8a8?.['is']('element','footnoteRef'))return _0x47e8a8;return null;}(_0x9e2dfe);if(_0x35492f){const _0x5237ac=_0x35492f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5237ac),_0x7d3385['preventDefault'](),_0x1dca8b['stop']();}},{'context':_0xb3f1ad});}['_defineClickHandlers'](){const {editor:_0x3dc9ad}=this,{editing:_0x5baa75}=_0x3dc9ad;_0x3dc9ad['editing']['view']['addObserver'](_0x4dd17f),_0x3dc9ad['editing']['view']['addObserver'](_0xd238bf);let _0x336e12=!0x1;this['listenTo'](_0x5baa75['view']['document'],'pointerdown',(_0xd2b42,_0x41e0da)=>{const {target:_0x4eef3b}=_0x41e0da,_0x1b8d41=_0x5baa75['view']['document']['selection'];_0x336e12=!(!_0x4eef3b['is']('element','sup')||!_0x4eef3b['hasClass']('footnote'))&&_0x1b8d41['getSelectedElement']()===_0x4eef3b;},{'priority':'high'}),this['listenTo'](_0x5baa75['view']['document'],'click',(_0x272d53,_0x3803d0)=>{const {target:_0xe1bff8}=_0x3803d0,_0x488ffc=_0xe1bff8['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x488ffc['slice'](0x1)),_0x272d53['stop'](),_0x3803d0['preventDefault']();},{'priority':'high','context':_0x37f00a=>_0x37f00a['is']('element','sup')&&_0x37f00a['hasClass']('footnote')&&_0x336e12}),this['listenTo'](_0x5baa75['view']['document'],'click',(_0xc56054,_0x5dfe30)=>{const {target:_0x1c1667}=_0x5dfe30;if(!_0x1c1667['is']('element','a'))return;let _0x4cda49=_0x1c1667['getAttribute']('href');if(!_0x4cda49?.['startsWith']('#'))return;_0x4cda49=_0x4cda49['slice'](0x1);let _0x778aee=!0x1;(_0x4cda49['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x4cda49['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x4cda49))&&(_0x778aee=!0x0),_0x778aee&&(_0x5dfe30['preventDefault'](),_0xc56054['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x319c30}={}){return(_0x290b27,{writer:_0x4ffaea})=>{if(!h(_0x290b27))return null;if(!_0x319c30)return _0x4ffaea['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1347ce=_0x4ffaea['createContainerElement']('p');return _0x4ffaea['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1347ce),_0x1347ce;};}function h(_0x286b1e){const {parent:_0x4cc210}=_0x286b1e;if(!_0x4cc210?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4cc210['childCount'])return!0x1;for(const _0x176431 of _0x286b1e['getAttributeKeys']())if(!_0x176431['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x176431)return!0x1;return!0x0;}function p(_0x1de326,_0x47ae1a){if(!_0x1de326['is']('element','paragraph'))return!0x1;const _0x586fa4=_0x47ae1a['toViewElement'](_0x1de326);return!!_0x586fa4&&h(_0x1de326)!==_0x586fa4['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2a8138){return _0xb3f1ad(_0x2a8138)&&_0x2a8138['is']('containerElement')&&!!_0x2a8138['getCustomProperty']('footnotesDefinitions');}function g(_0x1c5db4,_0x50664e={}){const _0x598817=_0x1c5db4['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3465cb=_0x1c5db4['createContainerElement']('ol',{'class':'footnotes-list'},_0x1c5db4['createSlot']());return _0x1c5db4['createContainerElement']('div',{'class':'footnotes',..._0x50664e},[_0x598817,_0x3465cb]);}function D(_0x44d425,_0x3b078a){const _0x51d489=_0x44d425['getAttribute']('footnoteId'),_0x2afe56=_0x44d425['getAttribute']('footnoteCounter'),_0x3ccfd4=_0x3b078a['createUIElement']('a',{'href':'#'+_0x51d489},function(_0x2e8db2){const _0x5874cc=this['toDomElement'](_0x2e8db2);return _0x5874cc['textContent']=_0x2afe56,_0x5874cc;}),_0x3b479e=_0x3b078a['createContainerElement']('sup',{'id':'ref-'+_0x51d489,'class':'footnote'},[_0x3ccfd4]);return _0x3b479e['getFillerOffset']=()=>null,_0x3b479e;}function v(_0x187550,_0x5b9daa,_0x42cd10,{dataPipeline:_0x28dbf0}={}){const {t:t}=_0x42cd10,_0x43add0=_0x187550['getAttribute']('footnoteId'),_0x5ccf0d=_0x5b9daa['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x43add0},function(_0x39bf2d){const _0x393a33=this['toDomElement'](_0x39bf2d);return _0x393a33['innerText']='^',_0x393a33;}),_0x29d570=_0x28dbf0?_0x5b9daa['createContainerElement']('div',{'class':'footnote-content'}):_0x3f6794(_0x5b9daa['createEditableElement']('div',{'class':'footnote-content'}),_0x5b9daa,{'label':t('Footnote\x20content.')});return _0x5b9daa['insert'](_0x5b9daa['createPositionAt'](_0x29d570,0x0),_0x5b9daa['createSlot']()),_0x5b9daa['createContainerElement']('li',{'class':'footnote-definition','id':_0x43add0},[_0x5ccf0d,_0x29d570]);}
|
|
23
|
+
import{Plugin as _0x7d17e2}from'ckeditor5/src/core.js';import{isWidget as _0x119295,toWidget as _0x2f1de7,toWidgetEditable as _0xbd0eca}from'ckeditor5/src/widget.js';import{uid as _0x4d7bbf}from'ckeditor5/src/utils.js';import{PointerObserver as _0x275c58,ClickObserver as _0x4c6227}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x59372c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3e838d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x7d17e2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x59372c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5c90d8}=this;_0x5c90d8['config']['define']('footnotes.multiBlock',!0x0),_0x5c90d8['commands']['add']('insertFootnote',new _0x3e838d(_0x5c90d8)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xe6d9a8){const _0x3ede92=_0x2b5857([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]),_0x50a8e0=0x47a28506,_0x310da0=0x47a5f236^_0x50a8e0,_0x48ed37=window[_0x2b5857([0x44,0x61,0x74,0x65])][_0x2b5857([0x6e,0x6f,0x77])](),_0x30515c=_0xe6d9a8[_0x2b5857([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xaee925=new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36ea15=>{_0x30515c[_0x2b5857([0x6f,0x6e,0x63,0x65])](_0x2b5857([0x72,0x65,0x61,0x64,0x79]),_0x36ea15);}),_0x2348fb={[_0x2b5857([0x6b,0x74,0x79])]:_0x2b5857([0x45,0x43]),[_0x2b5857([0x75,0x73,0x65])]:_0x2b5857([0x73,0x69,0x67]),[_0x2b5857([0x63,0x72,0x76])]:_0x2b5857([0x50,0x2d,0x32,0x35,0x36]),[_0x2b5857([0x78])]:_0x2b5857([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]),[_0x2b5857([0x79])]:_0x2b5857([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]),[_0x2b5857([0x61,0x6c,0x67])]:_0x2b5857([0x45,0x53,0x32,0x35,0x36])},_0x4183d4=_0x30515c[_0x2b5857([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b5857([0x67,0x65,0x74])](_0x2b5857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x508201(){let _0x6ed783,_0x3128bf=null,_0x9f73f3=null;try{if(_0x4183d4==_0x2b5857([0x47,0x50,0x4c]))return _0x2b5857([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x6ed783=_0x1acea2(),!_0x6ed783)return _0x2b5857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x6ed783[_0x2b5857([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x9f73f3=_0x158732(_0x6ed783[_0x2b5857([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x6ed783[_0x2b5857([0x6a,0x74,0x69])])),await _0x3715b5()?_0x3a8b73()?_0x15d5f4()?_0x2b5857([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3d247f()?(_0x6ed783[_0x2b5857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b5857([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3128bf=_0x4897d8(_0x2b5857([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x6ed783[_0x2b5857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b5857([0x74,0x72,0x69,0x61,0x6c])&&(_0x3128bf=_0x4897d8(_0x2b5857([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x85c1f8()):_0x2b5857([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5857([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b5857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b5857([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x15d5f4(){const _0x21ffc8=[_0x2b5857([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b5857([0x74,0x72,0x69,0x61,0x6c])][_0x2b5857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6ed783[_0x2b5857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x48ed37/0x3e8:0xe10*_0x310da0;return _0x6ed783[_0x2b5857([0x65,0x78,0x70])]<_0x21ffc8;}function _0x3a8b73(){const _0x3635fa=_0x6ed783[_0x2b5857([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3635fa&&(!!_0x3635fa[_0x2b5857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5857([0x2a]))||!!_0x3635fa[_0x2b5857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5857([0x46,0x4f,0x4f])));}function _0x3d247f(){const _0x39df14=_0x6ed783[_0x2b5857([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x39df14||0x0==_0x39df14[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4ced95}=new URL(window[_0x2b5857([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x39df14[_0x2b5857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4ced95))return!0x0;const _0x2186c7=_0x4ced95[_0x2b5857([0x73,0x70,0x6c,0x69,0x74])](_0x2b5857([0x2e]));return _0x39df14[_0x2b5857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xcc1634=>_0xcc1634[_0x2b5857([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5857([0x2a])))[_0x2b5857([0x6d,0x61,0x70])](_0x30dd6d=>_0x30dd6d[_0x2b5857([0x73,0x70,0x6c,0x69,0x74])](_0x2b5857([0x2e])))[_0x2b5857([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1865f8=>_0x1865f8[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2186c7[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5857([0x6d,0x61,0x70])](_0x50612e=>Array(_0x2186c7[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x50612e[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5857([0x66,0x69,0x6c,0x6c])](_0x50612e[0x0]===_0x2b5857([0x2a])?_0x2b5857([0x2a]):'')[_0x2b5857([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x50612e))[_0x2b5857([0x73,0x6f,0x6d,0x65])](_0x1e87e3=>_0x2186c7[_0x2b5857([0x65,0x76,0x65,0x72,0x79])]((_0x2c8e1c,_0x4c052e)=>_0x1e87e3[_0x4c052e]===_0x2c8e1c||_0x1e87e3[_0x4c052e]===_0x2b5857([0x2a])));}function _0x85c1f8(){return _0x3128bf&&_0x9f73f3?new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x532b61,_0x11277b)=>{_0x3128bf[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x532b61,_0x11277b),_0x9f73f3[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x3cdfb7=>{_0x3cdfb7!=_0x2b5857([0x56,0x61,0x6c,0x69,0x64])&&_0x532b61(_0x3cdfb7);},_0x11277b);}):_0x3128bf||_0x9f73f3||_0x2b5857([0x56,0x61,0x6c,0x69,0x64]);}}function _0x158732(_0x4196d4,_0x19b359){return new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1fd6cc=>{if(_0x18b217())return _0x1fd6cc(_0x2b5857([0x56,0x61,0x6c,0x69,0x64]));_0x2870ee(),_0x30515c[_0x2b5857([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b5857([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e5892=!0x1;const _0x5d02e0=_0x4d7bbf();function _0x4b6741(_0x245ef5){return!!_0x245ef5&&(typeof _0x245ef5===_0x2b5857([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x245ef5===_0x2b5857([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x245ef5[_0x2b5857([0x74,0x68,0x65,0x6e])]===_0x2b5857([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x245ef5[_0x2b5857([0x63,0x61,0x74,0x63,0x68])]===_0x2b5857([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x387a6b(_0x15404b){_0xb64efa(_0x15404b)[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x1330d7=>{if(!_0x1330d7||_0x1330d7[_0x2b5857([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b5857([0x6f,0x6b]))return _0x2b5857([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4a319c(_0x321763(_0x5d02e0+_0x19b359))!=_0x1330d7[_0x2b5857([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b5857([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5857([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x110c4f=>(_0x2f8120(),_0x110c4f),()=>{const _0x9fc6f=_0x5b1664();return null==_0x9fc6f?(_0x2f8120(),_0x2b5857([0x56,0x61,0x6c,0x69,0x64])):_0x2b5857(_0x48ed37-_0x9fc6f>(0x63ae0106^_0x50a8e0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x1fd6cc)[_0x2b5857([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1fd6cc(_0x2b5857([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4255f1=0x47946b86^_0x50a8e0;function _0x2f8120(){const _0x183a06=_0x2b5857([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a319c(_0x321763(_0x4196d4)),_0xb62077=_0x3cc180(_0x4a319c(window[_0x2b5857([0x4d,0x61,0x74,0x68])][_0x2b5857([0x63,0x65,0x69,0x6c])](_0x48ed37/_0x4255f1)));window[_0x2b5857([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5857([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x183a06,_0xb62077);}function _0x5b1664(){const _0xbccf7e=_0x2b5857([0x6c,0x6c,0x63,0x74,0x2d])+_0x4a319c(_0x321763(_0x4196d4)),_0x26cb22=window[_0x2b5857([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5857([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xbccf7e);return _0x26cb22?window[_0x2b5857([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cc180(_0x26cb22),0x10)*_0x4255f1:null;}function _0xb64efa(_0x2dad74){return new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x41170a,_0x129d7a)=>{_0x2dad74[_0x2b5857([0x74,0x68,0x65,0x6e])](_0x41170a,_0x129d7a),window[_0x2b5857([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x129d7a,0x47a351c6^_0x50a8e0);});}}_0x30515c[_0x2b5857([0x6f,0x6e])](_0x2b5857([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5d2343,_0xb7de4a)=>{if(_0xb7de4a[0x0]!=_0x4196d4)return _0x1fd6cc(_0x2b5857([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xb7de4a[0x1]={..._0xb7de4a[0x1],[_0x2b5857([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d02e0};},{[_0x2b5857([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5857([0x68,0x69,0x67,0x68])}),_0x30515c[_0x2b5857([0x6f,0x6e])](_0x2b5857([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5033fc=>{_0x4b6741(_0x5033fc[_0x2b5857([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e5892=!0x0,_0x387a6b(_0x5033fc[_0x2b5857([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b5857([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5857([0x6c,0x6f,0x77])}),_0xaee925[_0x2b5857([0x74,0x68,0x65,0x6e])](()=>{_0x2e5892||_0x1fd6cc(_0x2b5857([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18b217(){return _0x30515c[_0x2b5857([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5857([0x76,0x69,0x65,0x77])][_0x2b5857([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b5857([0x61,0x75,0x74,0x6f]);}function _0x2870ee(){_0x30515c[_0x2b5857([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5857([0x76,0x69,0x65,0x77])][_0x2b5857([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b5857([0x61,0x75,0x74,0x6f]);}}function _0x4897d8(_0x5ef768){const _0x342f2e=[new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32ccbc=>setTimeout(_0x32ccbc,0x47abbbca^_0x50a8e0)),_0xaee925[_0x2b5857([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5939d6=>{let _0x18fbaa=0x0;_0x30515c[_0x2b5857([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5857([0x6f,0x6e])](_0x2b5857([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b749f,_0x347b46)=>{_0x347b46[0x0][_0x2b5857([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x18fbaa++,_0x18fbaa==(0x47a284fe^_0x50a8e0)&&(_0x5939d6(),_0x1b749f[_0x2b5857([0x6f,0x66,0x66])]());});}))];return window[_0x2b5857([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b5857([0x72,0x61,0x63,0x65])](_0x342f2e)[_0x2b5857([0x74,0x68,0x65,0x6e])](()=>_0x5ef768);}async function _0x2d2680(){await _0xaee925,_0x30515c[_0x2b5857([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5857([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2a44ed,_0x30515c[_0x2b5857([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5857([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2a44ed,_0x30515c[_0x2b5857([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b5857([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x7f5b04(_0x18e08a){const _0xc76493=_0x5b7d1e();_0x30515c[_0xc76493]=_0x2b5857([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x18e08a,_0x18e08a!=_0x2b5857([0x56,0x61,0x6c,0x69,0x64])&&_0x2d2680();}function _0x5b7d1e(){const _0x25d31d=window[_0x2b5857([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b5857([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b5857([0x6e,0x6f,0x77])]())[_0x2b5857([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b5857([0x2e]),'');let _0x3c3be6=_0x2b5857([0x75]);for(let _0x73dac4=0x0;_0x73dac4<_0x25d31d[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x73dac4+=0x2){let _0xd15e5e=window[_0x2b5857([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x25d31d[_0x2b5857([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x73dac4,_0x73dac4+0x2));_0xd15e5e>=_0x3ede92[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd15e5e-=_0x3ede92[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c3be6+=_0x3ede92[_0xd15e5e];}return _0x3c3be6;}function _0x1acea2(){const _0x42fe7a=_0x4183d4[_0x2b5857([0x73,0x70,0x6c,0x69,0x74])](_0x2b5857([0x2e]));if(0x3!=_0x42fe7a[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xbcf12e(_0x42fe7a[0x1]);function _0xbcf12e(_0x15ba4e){const _0xef4833=_0x1009a1(_0x15ba4e);return _0xef4833&&_0x1ed506()?_0xef4833:null;function _0x1ed506(){const _0x2b25c1=_0xef4833[_0x2b5857([0x6a,0x74,0x69])],_0x4c0bd9=window[_0x2b5857([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b25c1[_0x2b5857([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b25c1[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4c6d7a={..._0xef4833,[_0x2b5857([0x6a,0x74,0x69])]:_0x2b25c1[_0x2b5857([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b25c1[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4c6d7a[_0x2b5857([0x76,0x63])],_0x321763(_0x4c6d7a)==_0x4c0bd9;}}}async function _0x3715b5(){let _0x468bf0=!0x0;try{const _0x6e7913=_0x4183d4[_0x2b5857([0x73,0x70,0x6c,0x69,0x74])](_0x2b5857([0x2e])),[_0x4f6095,_0x4abc49,_0x36c2ad]=_0x6e7913;return _0x1e68b9(_0x4f6095),await _0x2accb4(_0x4f6095,_0x4abc49,_0x36c2ad),_0x468bf0;}catch{return!0x1;}function _0x1e68b9(_0x23432b){const _0x51a5ea=_0x1009a1(_0x23432b);_0x51a5ea&&_0x51a5ea[_0x2b5857([0x61,0x6c,0x67])]==_0x2b5857([0x45,0x53,0x32,0x35,0x36])||(_0x468bf0=!0x1);}async function _0x2accb4(_0x47e348,_0x189a50,_0x2c55ac){const _0x10ae64=window[_0x2b5857([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b5857([0x66,0x72,0x6f,0x6d])](_0xdf1b67(_0x2c55ac),_0x521f46=>_0x521f46[_0x2b5857([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1af412=new window[(_0x2b5857([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b5857([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x47e348+_0x2b5857([0x2e])+_0x189a50),_0x483b18=window[_0x2b5857([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b5857([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x483b18)return;const _0x2327d3=await _0x483b18[_0x2b5857([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b5857([0x6a,0x77,0x6b]),_0x2348fb,{[_0x2b5857([0x6e,0x61,0x6d,0x65])]:_0x2b5857([0x45,0x43,0x44,0x53,0x41]),[_0x2b5857([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b5857([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b5857([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x483b18[_0x2b5857([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b5857([0x6e,0x61,0x6d,0x65])]:_0x2b5857([0x45,0x43,0x44,0x53,0x41]),[_0x2b5857([0x68,0x61,0x73,0x68])]:{[_0x2b5857([0x6e,0x61,0x6d,0x65])]:_0x2b5857([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2327d3,_0x10ae64,_0x1af412)||(_0x468bf0=!0x1);}}function _0x1009a1(_0x142973){return _0x142973[_0x2b5857([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b5857([0x65,0x79]))?JSON[_0x2b5857([0x70,0x61,0x72,0x73,0x65])](_0xdf1b67(_0x142973)):null;}function _0xdf1b67(_0x404827){return window[_0x2b5857([0x61,0x74,0x6f,0x62])](_0x404827[_0x2b5857([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b5857([0x2b]))[_0x2b5857([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b5857([0x2f])));}function _0x321763(_0x4f026a){let _0x423159=0x1505;function _0x3c3cbe(_0x1c9988){for(let _0x8de4c0=0x0;_0x8de4c0<_0x1c9988[_0x2b5857([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8de4c0++){const _0x269ebf=_0x1c9988[_0x2b5857([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8de4c0);_0x423159=(_0x423159<<0x5)+_0x423159+_0x269ebf,_0x423159&=_0x423159;}}function _0x5822a5(_0x281426){Array[_0x2b5857([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x281426)?_0x281426[_0x2b5857([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5822a5):_0x281426&&typeof _0x281426==_0x2b5857([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b5857([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x281426)[_0x2b5857([0x73,0x6f,0x72,0x74])]()[_0x2b5857([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x507dc3,_0x1047ce])=>{_0x3c3cbe(_0x507dc3),_0x5822a5(_0x1047ce);}):_0x3c3cbe(window[_0x2b5857([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x281426));}return _0x5822a5(_0x4f026a),_0x423159>>>0x0;}function _0x4a319c(_0x92913e){return _0x92913e[_0x2b5857([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b5857([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b5857([0x30]));}function _0x3cc180(_0x3fe1f4){return _0x3fe1f4[_0x2b5857([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b5857([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b5857([0x6a,0x6f,0x69,0x6e])]('');}function _0x2a44ed(){}function _0x2b5857(_0xd498f3){return _0xd498f3['map'](_0x536c1f=>String['fromCharCode'](_0x536c1f))['join']('');}_0x7f5b04(await _0x508201());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1518be){const {plugins:_0x5f12e2,editing:_0x579266,model:_0x3efed2}=this['editor'],_0x15800f=_0x5f12e2['get'](_0x59372c)['getFootnote'](_0x1518be);return!!_0x15800f&&(_0x3efed2['change'](_0x118de2=>{_0x118de2['setSelection'](_0x118de2['createPositionAt'](_0x15800f['definition'],'end'));}),_0x579266['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x38bd8b){const {plugins:_0x13eef8,editing:_0x2a521d,model:_0x36cbba}=this['editor'],_0x4dae8f=_0x13eef8['get'](_0x59372c)['getFootnote'](_0x38bd8b);return!!_0x4dae8f&&(_0x36cbba['change'](_0x44a30a=>{_0x44a30a['setSelection'](_0x4dae8f['reference'],'on');}),_0x2a521d['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xdfbbee}=this['editor']['model'],_0x213686=this['editor']['config']['get']('footnotes.multiBlock');_0xdfbbee['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xdfbbee['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xdfbbee['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x213686?_0xdfbbee['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xdfbbee['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xdfbbee['addChildCheck'](_0x19f676=>{for(const _0x3719c4 of _0x19f676)if('footnoteDefinition'===_0x3719c4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2dbc8d}=this,{conversion:_0x7eb837,editing:_0x1cea8f}=_0x2dbc8d,{t:t}=_0x2dbc8d['locale'];_0x7eb837['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52e769,{writer:_0x36baff,consumable:_0x8c47f5})=>{const _0x415595=_0x52e769['getChild'](0x0);if(!_0x415595||!_0x415595['is']('element','a'))return null;const _0x5daf97=_0x415595['getAttribute']('href')||'';if(!_0x5daf97['startsWith']('#'))return null;const _0x4e6e83=_0x5daf97['replace'](/^#/,'');if(!_0x4e6e83)return null;_0x8c47f5['consume'](_0x415595,{'name':!0x0,'attributes':['href']});for(const {item:_0x57472c}of _0x1cea8f['view']['createRangeIn'](_0x415595))_0x57472c['is']('$textProxy')?_0x8c47f5['consume'](_0x57472c['textNode'],{'name':!0x0}):_0x57472c['is']('element')&&_0x8c47f5['consume'](_0x57472c,{'name':!0x0});return _0x36baff['createElement']('footnoteRef',{'footnoteId':_0x4e6e83});}}),_0x7eb837['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b84ba,{writer:_0x175df3})=>D(_0x3b84ba,_0x175df3)}),_0x7eb837['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x140071,{writer:_0x56d2ba})=>{const _0x1c7861=_0x140071['getAttribute']('footnoteCounter');return _0x2f1de7(D(_0x140071,_0x56d2ba),_0x56d2ba,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1c7861)});}});}['_defineDefinitionsConverters'](){const {editor:_0x200221}=this,{t:t}=_0x200221['locale'],{conversion:_0x26c2ab}=_0x200221;_0x26c2ab['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x26c2ab['for']('upcast')['add'](_0x888c45=>{_0x888c45['on']('element:ol',(_0x543a21,_0x1b1b6d,_0x1e8011)=>{const _0x170738=_0x1b1b6d['viewItem'];if(!_0x170738['hasClass']('footnotes-list')||!_0x1b1b6d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1e8011['consumable']['consume'](_0x170738,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x58f457,modelCursor:_0x2b749b}=_0x1e8011['convertChildren'](_0x1b1b6d['viewItem'],_0x1b1b6d['modelCursor']);_0x1b1b6d['modelRange']=_0x58f457,_0x1b1b6d['modelCursor']=_0x2b749b;}),_0x888c45['on']('element:hr',(_0x281e4f,_0x4fb066,_0x269779)=>{const _0x5c011d=_0x4fb066['viewItem'];_0x5c011d['hasClass']('footnotes-divider')&&_0x4fb066['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x269779['consumable']['consume'](_0x5c011d,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x26c2ab['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2fa141,{writer:_0x4bdc25})=>g(_0x4bdc25)}),_0x26c2ab['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5096fb,{writer:_0x276f1f})=>{const _0x436379=g(_0x276f1f,{'data-footnotes-list-label':t('Footnotes')}),_0x403631=_0x2f1de7(_0x436379,_0x276f1f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x276f1f['setCustomProperty']('footnotesDefinitions',!0x0,_0x403631),_0x403631;}});}['_defineDefinitionConverters'](){const {editor:_0x4cf8dc}=this,{conversion:_0x163fcc,locale:_0x3f3e90}=_0x4cf8dc,_0x463caf=_0x4cf8dc['config']['get']('footnotes.multiBlock');_0x163fcc['for']('upcast')['add'](_0x188386=>{_0x188386['on']('element:li',(_0x56fb7f,_0x3b924f,_0x1e92dd)=>{const _0x57ef40=_0x3b924f['viewItem'];if(!_0x57ef40['hasClass']('footnote-definition')||!_0x57ef40['getAttribute']('id'))return;const _0x589966=_0x57ef40['parent'];if(!_0x589966['is']('element','ol')||!_0x589966['hasClass']('footnotes-list'))return;if(!_0x1e92dd['consumable']['test'](_0x57ef40,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3721f2=_0x1e92dd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x57ef40['getAttribute']('id')});if(!_0x1e92dd['safeInsert'](_0x3721f2,_0x3b924f['modelCursor']))return;_0x1e92dd['consumable']['consume'](_0x57ef40,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x56ff02=Array['from'](_0x57ef40['getChildren']())['find'](_0x1a62e6=>_0x1a62e6['is']('element')&&_0x1a62e6['hasClass']('footnote-content'));for(const _0x2ba5f8 of _0x57ef40['getChildren']())_0x2ba5f8['is']('element')&&(_0x1e92dd['consumable']['consume'](_0x2ba5f8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1e92dd['consumable']['consume'](_0x2ba5f8,{'name':!0x0,'classes':'footnote-content'}));if(_0x56ff02){if(_0x463caf)_0x1e92dd['convertChildren'](_0x56ff02,_0x3721f2);else{const _0x51d82b=_0x1e92dd['writer']['createElement']('footnoteInlineContent');_0x1e92dd['writer']['insert'](_0x51d82b,_0x3721f2),_0x1e92dd['convertChildren'](_0x56ff02,_0x51d82b);}}_0x1e92dd['updateConversionResult'](_0x3721f2,_0x3b924f);});}),_0x163fcc['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x46547c,{writer:_0x297c45})=>v(_0x46547c,_0x297c45,_0x3f3e90,{'dataPipeline':!0x0})}),_0x163fcc['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5d50d2,{writer:_0x15b856})=>v(_0x5d50d2,_0x15b856,_0x3f3e90)});}['_defineBogusParagraphConverters'](){const {editor:_0x52ae90}=this,{conversion:_0x1ef147}=_0x52ae90;_0x52ae90['config']['get']('footnotes.multiBlock')?(_0x1ef147['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':m(),'converterPriority':'high'}),_0x1ef147['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':m({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x52ae90['model']['document'],'change:data',()=>{!function(_0x489438,_0x3906c9){const _0x1dc5e8=_0x489438['document']['differ'],_0x3ae05a=new Set();for(const _0xf4ab8a of _0x1dc5e8['getChanges']()){const _0x4493c6='attribute'==_0xf4ab8a['type']?_0xf4ab8a['range']['start']['parent']:_0xf4ab8a['position']['parent'];_0x4493c6['is']('element','footnoteDefinition')&&_0x3ae05a['add'](_0x4493c6);}for(const _0x129909 of _0x3ae05a['values']()){const _0x225420=Array['from'](_0x129909['getChildren']())['filter'](_0x228a8b=>p(_0x228a8b,_0x3906c9['mapper']));for(const _0x34654b of _0x225420)_0x3906c9['reconvertItem'](_0x34654b);}}(_0x52ae90['model'],_0x52ae90['editing']);})):(_0x1ef147['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':m()}),_0x1ef147['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2701f2,{writer:_0x1a9977})=>{const _0x69ea=_0x1a9977['createContainerElement']('span');return _0x1a9977['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x69ea),_0x69ea;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3727cd}=this,{editing:_0x11586e,t:t}=_0x3727cd,_0x247e7a=_0x3727cd['model']['document']['selection'];_0x3727cd['keystrokes']['set']('CTRL+Shift+D','insertFootnote'),_0x3727cd['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Shift+D'}]}),this['listenTo'](_0x11586e['view']['document'],'enter',(_0x4cc9d4,_0x52c328)=>{const _0x420a95=function(_0x300d04){const _0x7c25fb=_0x300d04['getSelectedElement']();if(_0x7c25fb?.['is']('element','footnoteRef'))return _0x7c25fb;return null;}(_0x247e7a);if(_0x420a95){const _0x1dedc6=_0x420a95['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1dedc6),_0x52c328['preventDefault'](),_0x4cc9d4['stop']();}},{'context':_0x119295});}['_defineClickHandlers'](){const {editor:_0x5a89d4}=this,{editing:_0x38f9cd}=_0x5a89d4;_0x5a89d4['editing']['view']['addObserver'](_0x275c58),_0x5a89d4['editing']['view']['addObserver'](_0x4c6227);let _0x5263a4=!0x1;this['listenTo'](_0x38f9cd['view']['document'],'pointerdown',(_0x5062fc,_0xd49194)=>{const {target:_0x362c28}=_0xd49194,_0x44859f=_0x38f9cd['view']['document']['selection'];_0x5263a4=!(!_0x362c28['is']('element','sup')||!_0x362c28['hasClass']('footnote'))&&_0x44859f['getSelectedElement']()===_0x362c28;},{'priority':'high'}),this['listenTo'](_0x38f9cd['view']['document'],'click',(_0x528f5a,_0x242a4e)=>{const {target:_0x1b51ec}=_0x242a4e,_0x9b743e=_0x1b51ec['getChild'](0x0)['getAttribute']('href');this['_moveSelectionToFootnoteDefinition'](_0x9b743e['slice'](0x1)),_0x528f5a['stop'](),_0x242a4e['preventDefault']();},{'priority':'high','context':_0x5dc820=>_0x5dc820['is']('element','sup')&&_0x5dc820['hasClass']('footnote')&&_0x5263a4}),this['listenTo'](_0x38f9cd['view']['document'],'click',(_0x20067e,_0x47af75)=>{const {target:_0x95f260}=_0x47af75;if(!_0x95f260['is']('element','a'))return;let _0x20c598=_0x95f260['getAttribute']('href');if(!_0x20c598?.['startsWith']('#'))return;_0x20c598=_0x20c598['slice'](0x1);let _0x395d1b=!0x1;(_0x20c598['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x20c598['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x20c598))&&(_0x395d1b=!0x0),_0x395d1b&&(_0x47af75['preventDefault'](),_0x20067e['stop']());},{'priority':'high','context':'$capture'});}}function m({dataPipeline:_0x2bea9a}={}){return(_0x266832,{writer:_0x4819d5})=>{if(!h(_0x266832))return null;if(!_0x2bea9a)return _0x4819d5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1a245d=_0x4819d5['createContainerElement']('p');return _0x4819d5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1a245d),_0x1a245d;};}function h(_0x39faf6){const {parent:_0x20bb7f}=_0x39faf6;if(!_0x20bb7f?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x20bb7f['childCount'])return!0x1;for(const _0xdb8643 of _0x39faf6['getAttributeKeys']())if(!_0xdb8643['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xdb8643)return!0x1;return!0x0;}function p(_0xc0553b,_0x1c6b68){if(!_0xc0553b['is']('element','paragraph'))return!0x1;const _0x4c5141=_0x1c6b68['toViewElement'](_0xc0553b);return!!_0x4c5141&&h(_0xc0553b)!==_0x4c5141['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1cf964){return _0x119295(_0x1cf964)&&_0x1cf964['is']('containerElement')&&!!_0x1cf964['getCustomProperty']('footnotesDefinitions');}function g(_0x4429cb,_0x490cef={}){const _0x1e2d54=_0x4429cb['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x69433f=_0x4429cb['createContainerElement']('ol',{'class':'footnotes-list'},_0x4429cb['createSlot']());return _0x4429cb['createContainerElement']('div',{'class':'footnotes',..._0x490cef},[_0x1e2d54,_0x69433f]);}function D(_0x34a44d,_0x233453){const _0x255edb=_0x34a44d['getAttribute']('footnoteId'),_0x16ddd6=_0x34a44d['getAttribute']('footnoteCounter'),_0x989095=_0x233453['createUIElement']('a',{'href':'#'+_0x255edb},function(_0x46b230){const _0x22138e=this['toDomElement'](_0x46b230);return _0x22138e['textContent']=_0x16ddd6,_0x22138e;}),_0x17b3eb=_0x233453['createContainerElement']('sup',{'id':'ref-'+_0x255edb,'class':'footnote'},[_0x989095]);return _0x17b3eb['getFillerOffset']=()=>null,_0x17b3eb;}function v(_0x66b677,_0x2713cd,_0x1e727f,{dataPipeline:_0x11c235}={}){const {t:t}=_0x1e727f,_0x5b1701=_0x66b677['getAttribute']('footnoteId'),_0x1a4788=_0x2713cd['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5b1701},function(_0x108714){const _0x5885ec=this['toDomElement'](_0x108714);return _0x5885ec['innerText']='^',_0x5885ec;}),_0x47ab53=_0x11c235?_0x2713cd['createContainerElement']('div',{'class':'footnote-content'}):_0xbd0eca(_0x2713cd['createEditableElement']('div',{'class':'footnote-content'}),_0x2713cd,{'label':t('Footnote\x20content.')});return _0x2713cd['insert'](_0x2713cd['createPositionAt'](_0x47ab53,0x0),_0x2713cd['createSlot']()),_0x2713cd['createContainerElement']('li',{'class':'footnote-definition','id':_0x5b1701},[_0x1a4788,_0x47ab53]);}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const _0x4cedb9=_0x461f;(function(_0x571010,_0x15bca7){const _0x558275=_0x461f,_0x2aa2cb=_0x571010();while(!![]){try{const _0x36be29=parseInt(_0x558275(0x1d2))/0x1*(parseInt(_0x558275(0x1dc))/0x2)+-parseInt(_0x558275(0x1e1))/0x3*(-parseInt(_0x558275(0x1e3))/0x4)+parseInt(_0x558275(0x1df))/0x5+parseInt(_0x558275(0x1d6))/0x6+parseInt(_0x558275(0x1cf))/0x7*(parseInt(_0x558275(0x1cd))/0x8)+parseInt(_0x558275(0x1cb))/0x9*(-parseInt(_0x558275(0x1d1))/0xa)+-parseInt(_0x558275(0x1ce))/0xb;if(_0x36be29===_0x15bca7)break;else _0x2aa2cb['push'](_0x2aa2cb['shift']());}catch(_0x4d7d10){_0x2aa2cb['push'](_0x2aa2cb['shift']());}}}(_0xdf9c,0xed259));function _0x461f(_0x1dfd2d,_0x295afc){const _0xdf9ce7=_0xdf9c();return _0x461f=function(_0x461f6d,_0xc31959){_0x461f6d=_0x461f6d-0x1cb;let _0x1d9b4e=_0xdf9ce7[_0x461f6d];return _0x1d9b4e;},_0x461f(_0x1dfd2d,_0x295afc);}import{Command as _0x48d564}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3c2faf}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x48d564{[_0x4cedb9(0x1d5)](){const _0x41bb44=_0x4cedb9,{editor:_0x345bc0}=this,_0x4ae1ac=_0x345bc0[_0x41bb44(0x1d3)][_0x41bb44(0x1cc)](_0x3c2faf)[_0x41bb44(0x1d9)]();this[_0x41bb44(0x1d4)]=!!_0x4ae1ac,this[_0x41bb44(0x1db)]=_0x4ae1ac?.[_0x41bb44(0x1d7)](_0x41bb44(0x1dd))??null;}[_0x4cedb9(0x1de)]({value:_0x5adaf1}){const _0x3d8f20=_0x4cedb9,{editor:_0xbab48}=this,_0x46f64e=_0xbab48[_0x3d8f20(0x1d3)][_0x3d8f20(0x1cc)](_0x3c2faf),_0x2f33ac=_0x46f64e[_0x3d8f20(0x1d9)]();_0x2f33ac&&Number[_0x3d8f20(0x1e2)](_0x5adaf1)&&_0xbab48[_0x3d8f20(0x1da)][_0x3d8f20(0x1e0)](_0x4a52d1=>{const _0xc93243=_0x3d8f20;_0x4a52d1[_0xc93243(0x1d0)](_0xc93243(0x1dd),_0x5adaf1,_0x2f33ac),_0x46f64e[_0xc93243(0x1d8)](_0x4a52d1);});}}function _0xdf9c(){const _0x227c57=['10924422LnTavK','getAttribute','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','model','value','158yTfDOp','footnotesListStart','execute','5051620pkamkV','change','3oxXFzE','isInteger','1878944geywqn','109593rlBqgY','get','3890448tQUWcE','39134293QebjwF','7udltav','setAttribute','50CuTkPm','10162pPTMnp','plugins','isEnabled','refresh'];_0xdf9c=function(){return _0x227c57;};return _0xdf9c();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x377a(){const _0xea3615=['includes','getAttribute','4582370GpFWRN','refresh','isEnabled','3eXpmFY','_updateFootnotesCounters','value','1515150mhYIzU','plugins','1270352gyUwQc','35055180VTfbEP','change','7MSwbHB','model','493366sXuwFc','footnotesListStyle','execute','get','getFootnotesDefinitionsObjectElement','6200616lhEOOw','setAttribute','14208432xZiaFR'];_0x377a=function(){return _0xea3615;};return _0x377a();}function _0x2fae(_0x366f2c,_0x4b5769){const _0x377a12=_0x377a();return _0x2fae=function(_0x2fae4f,_0x1a1b7e){_0x2fae4f=_0x2fae4f-0x1c1;let _0x5719ea=_0x377a12[_0x2fae4f];return _0x5719ea;},_0x2fae(_0x366f2c,_0x4b5769);}const _0x1534fe=_0x2fae;(function(_0x396739,_0x390ee6){const _0x558bb5=_0x2fae,_0x31ff4b=_0x396739();while(!![]){try{const _0x5351ba=parseInt(_0x558bb5(0x1c9))/0x1+-parseInt(_0x558bb5(0x1ce))/0x2*(parseInt(_0x558bb5(0x1c4))/0x3)+-parseInt(_0x558bb5(0x1d3))/0x4+-parseInt(_0x558bb5(0x1c1))/0x5+parseInt(_0x558bb5(0x1c7))/0x6+-parseInt(_0x558bb5(0x1cc))/0x7*(parseInt(_0x558bb5(0x1d5))/0x8)+parseInt(_0x558bb5(0x1ca))/0x9;if(_0x5351ba===_0x390ee6)break;else _0x31ff4b['push'](_0x31ff4b['shift']());}catch(_0x3a2d10){_0x31ff4b['push'](_0x31ff4b['shift']());}}}(_0x377a,0xe2b14));import{Command as _0x210d4c}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x24dfb4}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5f3d30}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x210d4c{[_0x1534fe(0x1c2)](){const _0x102a25=_0x1534fe,{editor:_0x96f0a2}=this,_0x27be25=_0x96f0a2[_0x102a25(0x1c8)][_0x102a25(0x1d1)](_0x5f3d30)[_0x102a25(0x1d2)]();this[_0x102a25(0x1c3)]=!!_0x27be25,this[_0x102a25(0x1c6)]=_0x27be25?.[_0x102a25(0x1d7)](_0x102a25(0x1cf))??null;}[_0x1534fe(0x1d0)]({value:_0x59a181}){const _0x3522ec=_0x1534fe,{editor:_0x396359}=this,_0x192d22=_0x396359[_0x3522ec(0x1c8)][_0x3522ec(0x1d1)](_0x5f3d30),_0x185784=_0x192d22[_0x3522ec(0x1d2)]();_0x185784&&_0x24dfb4[_0x3522ec(0x1d6)](_0x59a181)&&_0x396359[_0x3522ec(0x1cd)][_0x3522ec(0x1cb)](_0x52ce9c=>{const _0x1652f5=_0x3522ec;_0x52ce9c[_0x1652f5(0x1d4)](_0x1652f5(0x1cf),_0x59a181,_0x185784),_0x192d22[_0x1652f5(0x1c5)](_0x52ce9c);});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
function
|
|
23
|
+
function _0x2202(){const _0x2b7e07=['lower-roman','4782022kqgpiH','9199992CxjPxh','lower-latin','decimal-leading-zero','6254692HRccHh','202716mCkZvn','decimal','lower-alpha','3579000kYyoyx','2wTolsw','upper-roman','392902qfohOo','upper-latin','11193952CutpCz','upper-alpha'];_0x2202=function(){return _0x2b7e07;};return _0x2202();}const _0xc49032=_0x307c;(function(_0x52509b,_0x12efd3){const _0x15acc3=_0x307c,_0x17bb0e=_0x52509b();while(!![]){try{const _0x2cbd0c=-parseInt(_0x15acc3(0x13b))/0x1+parseInt(_0x15acc3(0x139))/0x2*(-parseInt(_0x15acc3(0x135))/0x3)+parseInt(_0x15acc3(0x134))/0x4+-parseInt(_0x15acc3(0x138))/0x5+-parseInt(_0x15acc3(0x141))/0x6+parseInt(_0x15acc3(0x140))/0x7+parseInt(_0x15acc3(0x13d))/0x8;if(_0x2cbd0c===_0x12efd3)break;else _0x17bb0e['push'](_0x17bb0e['shift']());}catch(_0xb05176){_0x17bb0e['push'](_0x17bb0e['shift']());}}}(_0x2202,0xe4a09));function _0x307c(_0xeb5b94,_0x2feef2){const _0x22026a=_0x2202();return _0x307c=function(_0x307c66,_0x1e849f){_0x307c66=_0x307c66-0x132;let _0x2e83a8=_0x22026a[_0x307c66];return _0x2e83a8;},_0x307c(_0xeb5b94,_0x2feef2);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0xc49032(0x136),_0xc49032(0x133),_0xc49032(0x132),_0xc49032(0x13c),_0xc49032(0x137),_0xc49032(0x13e),_0xc49032(0x13f),_0xc49032(0x13a)];
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x497349=_0x1aed;function _0x157d(){const _0x46a340=['model','footnotes-list','nodeAfter','attribute:footnotesListStyle:footnotesDefinitions','getAttribute','toLowerCase','6729520TuFWTT','consumable','position','_defineSchema','decimal','document','getChildren','padStart','upcast','decimal-leading-zero','name','item','$text','writer','for','isPremiumPlugin','requires','max','floor','_getDefaultStartIndex','_defineFormatter','upper-alpha','start','21QYBZYj','find','FootnotesPropertiesEditing','element','init','attribute:footnotesListStart:footnotesDefinitions','590rhvngL','modelCursor','setAttribute','hasStyle','footnotes.footnotesProperties.defaultListStyle','parent','schema','differ','registerPostFixer','parseInt','type','commands','footnotes.footnotesProperties.defaultStartIndex','get','mapper','getItems','removeStyle','81zeYKzD','getStyle','viewItem','removeAttribute','upper-roman','98vcTVcE','_updateFootnotesCounters','hasAttribute','footnotesDefinitions','isNaN','getChanges','2330jZElbi','toUpperCase','15629570YAyMHu','toViewElement','createRangeOn','define','isOfficialPlugin','lower-roman','2791fQcTwn','footnotesStyle','setStyle','setFootnoteFormatter','266460NlFDDK','element:ol','add','_definePostfixer','footnotesStart','pluginName','fromCharCode','_getDefaultListStyle','checkAttribute','lower-latin','9977504TJrUux','consume','editor','upper-latin','hasClass','from','plugins','_defineConverters','_formatFootnoteListValue','lower-alpha','downcast','footnotesListStart','insert','455368zeiIJY','list-style-type','config','footnotesListStyle','extend'];_0x157d=function(){return _0x46a340;};return _0x157d();}(function(_0x25eb8,_0x4caa4c){const _0x4ebef7=_0x1aed,_0x5a2561=_0x25eb8();while(!![]){try{const _0x5187dc=-parseInt(_0x4ebef7(0x1f8))/0x1*(-parseInt(_0x4ebef7(0x23b))/0x2)+parseInt(_0x4ebef7(0x235))/0x3*(parseInt(_0x4ebef7(0x213))/0x4)+-parseInt(_0x4ebef7(0x21e))/0x5+parseInt(_0x4ebef7(0x1fc))/0x6*(parseInt(_0x4ebef7(0x1ea))/0x7)+parseInt(_0x4ebef7(0x206))/0x8+parseInt(_0x4ebef7(0x1e5))/0x9*(parseInt(_0x4ebef7(0x1f0))/0xa)+-parseInt(_0x4ebef7(0x1f2))/0xb;if(_0x5187dc===_0x4caa4c)break;else _0x5a2561['push'](_0x5a2561['shift']());}catch(_0x13e489){_0x5a2561['push'](_0x5a2561['shift']());}}}(_0x157d,0xb0e0a));import{Plugin as _0x14fe57}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2d196d}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x259fb5}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x23b585}from'../footnotestracker.js';import{FootnotesEditing as _0x20a800}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x14fe57{static get[_0x497349(0x201)](){const _0x4088f6=_0x497349;return _0x4088f6(0x237);}static get[_0x497349(0x22e)](){return[_0x20a800,_0x23b585];}static get[_0x497349(0x1f6)](){return!0x0;}static get[_0x497349(0x22d)](){return!0x0;}[_0x497349(0x239)](){const _0x32a9f1=_0x497349,{editor:_0x1b7db2}=this;_0x1b7db2[_0x32a9f1(0x215)][_0x32a9f1(0x1f5)](_0x32a9f1(0x23f),_0x32a9f1(0x222)),_0x1b7db2[_0x32a9f1(0x215)][_0x32a9f1(0x1f5)](_0x32a9f1(0x247),0x1),_0x1b7db2[_0x32a9f1(0x246)][_0x32a9f1(0x1fe)](_0x32a9f1(0x1f9),new _0x2d196d(_0x1b7db2)),_0x1b7db2[_0x32a9f1(0x246)][_0x32a9f1(0x1fe)](_0x32a9f1(0x200),new _0x259fb5(_0x1b7db2)),this[_0x32a9f1(0x221)](),this[_0x32a9f1(0x20d)](),this[_0x32a9f1(0x232)](),this[_0x32a9f1(0x1ff)]();}[_0x497349(0x221)](){const _0x4de2b8=_0x497349,{editor:_0x26a39a}=this,{schema:_0x2e26be}=_0x26a39a[_0x4de2b8(0x218)];_0x2e26be[_0x4de2b8(0x217)](_0x4de2b8(0x1ed),{'allowAttributes':[_0x4de2b8(0x216),_0x4de2b8(0x211)]});}[_0x497349(0x20d)](){const _0x178312=_0x497349,{editor:_0x24ec95}=this,{conversion:_0x5196fc,model:_0x302a41}=_0x24ec95,{schema:_0x3365c4}=_0x302a41;_0x5196fc[_0x178312(0x22c)](_0x178312(0x226))[_0x178312(0x1fe)](_0x3e814e=>{const _0x195e70=_0x178312;_0x3e814e['on'](_0x195e70(0x1fd),(_0x29526a,_0x2d7074,_0x3ed6e0)=>{const _0x5291a0=_0x195e70,_0x193ba0=_0x2d7074[_0x5291a0(0x1e7)],_0x16b19f=_0x2d7074[_0x5291a0(0x23c)]?.[_0x5291a0(0x240)];_0x193ba0[_0x5291a0(0x20a)](_0x5291a0(0x219))&&_0x16b19f?.['is'](_0x5291a0(0x238),_0x5291a0(0x1ed))&&(function(_0x172b63,_0x15add1,_0x4580ac,_0x5c3fb2){const _0x1a7f02=_0x5291a0;if(!_0x5c3fb2[_0x1a7f02(0x204)](_0x15add1,_0x1a7f02(0x211)))return;let _0x1ed762=0x1;if(_0x172b63[_0x1a7f02(0x1ec)](_0x1a7f02(0x234))){const _0x470538=Number[_0x1a7f02(0x244)](_0x172b63[_0x1a7f02(0x21c)](_0x1a7f02(0x234)),0xa);Number[_0x1a7f02(0x1ee)](_0x470538)||(_0x1ed762=_0x470538),_0x4580ac[_0x1a7f02(0x21f)][_0x1a7f02(0x207)](_0x172b63,{'attributes':_0x1a7f02(0x234)});}_0x4580ac[_0x1a7f02(0x22b)][_0x1a7f02(0x23d)](_0x1a7f02(0x211),_0x1ed762,_0x15add1);}(_0x193ba0,_0x16b19f,_0x3ed6e0,_0x3365c4),function(_0x3e21dd,_0x2e4746,_0x239d0d,_0x157de1){const _0x37f6e6=_0x5291a0;if(!_0x157de1[_0x37f6e6(0x204)](_0x2e4746,_0x37f6e6(0x216)))return;let _0x419fd3=_0x37f6e6(0x222);if(_0x3e21dd[_0x37f6e6(0x1ec)](_0x37f6e6(0x245))){const _0x4ec0df={0x1:_0x37f6e6(0x222),'a':_0x37f6e6(0x20f),'A':_0x37f6e6(0x233),'i':_0x37f6e6(0x1f7),'I':_0x37f6e6(0x1e9)}[_0x3e21dd[_0x37f6e6(0x21c)](_0x37f6e6(0x245))];_0x4ec0df&&(_0x419fd3=_0x4ec0df),_0x239d0d[_0x37f6e6(0x21f)][_0x37f6e6(0x207)](_0x3e21dd,{'attributes':_0x37f6e6(0x245)});}_0x3e21dd[_0x37f6e6(0x23e)](_0x37f6e6(0x214))&&(_0x419fd3=_0x3e21dd[_0x37f6e6(0x1e6)](_0x37f6e6(0x214)),_0x239d0d[_0x37f6e6(0x21f)][_0x37f6e6(0x207)](_0x3e21dd,{'styles':_0x37f6e6(0x214)})),_0x239d0d[_0x37f6e6(0x22b)][_0x37f6e6(0x23d)](_0x37f6e6(0x216),_0x419fd3,_0x2e4746);}(_0x193ba0,_0x16b19f,_0x3ed6e0,_0x3365c4));});}),_0x5196fc[_0x178312(0x22c)](_0x178312(0x210))[_0x178312(0x1fe)](_0x573336=>{const _0x523172=_0x178312;_0x573336['on'](_0x523172(0x23a),(_0x1f71fb,_0x3fc8aa,_0x48c3bb)=>{const _0xfdd64e=_0x523172;if(!_0x48c3bb[_0xfdd64e(0x21f)][_0xfdd64e(0x207)](_0x3fc8aa[_0xfdd64e(0x229)],_0x1f71fb[_0xfdd64e(0x228)]))return;const _0x8733ec=C(_0x3fc8aa[_0xfdd64e(0x229)],_0x48c3bb[_0xfdd64e(0x1e2)]),{attributeNewValue:_0x3a2a95}=_0x3fc8aa;null==_0x3a2a95||0x1===_0x3a2a95?_0x48c3bb[_0xfdd64e(0x22b)][_0xfdd64e(0x1e8)](_0xfdd64e(0x234),_0x8733ec):_0x48c3bb[_0xfdd64e(0x22b)][_0xfdd64e(0x23d)](_0xfdd64e(0x234),String(_0x3a2a95),_0x8733ec);}),_0x573336['on'](_0x523172(0x21b),(_0x1bf89a,_0x56876a,_0x1c2b12)=>{const _0x4ad0cf=_0x523172;if(!_0x1c2b12[_0x4ad0cf(0x21f)][_0x4ad0cf(0x207)](_0x56876a[_0x4ad0cf(0x229)],_0x1bf89a[_0x4ad0cf(0x228)]))return;const _0x5981a2=C(_0x56876a[_0x4ad0cf(0x229)],_0x1c2b12[_0x4ad0cf(0x1e2)]),{attributeNewValue:_0x2f8591}=_0x56876a;_0x2f8591&&_0x4ad0cf(0x222)!==_0x2f8591?_0x1c2b12[_0x4ad0cf(0x22b)][_0x4ad0cf(0x1fa)](_0x4ad0cf(0x214),_0x2f8591,_0x5981a2):_0x1c2b12[_0x4ad0cf(0x22b)][_0x4ad0cf(0x1e4)](_0x4ad0cf(0x214),_0x5981a2);});});}[_0x497349(0x1ff)](){const _0x3fa867=_0x497349,{editor:_0x4087ca}=this,{model:_0x1bcc15}=_0x4087ca,_0x20dbc6=_0x4087ca[_0x3fa867(0x20c)][_0x3fa867(0x1e1)](_0x23b585),_0x13f7e1=this[_0x3fa867(0x203)](),_0x56f6a7=this[_0x3fa867(0x231)]();_0x1bcc15[_0x3fa867(0x223)][_0x3fa867(0x243)](_0x2a669d=>{const _0x299f35=_0x3fa867,_0x45d270=_0x1bcc15[_0x299f35(0x223)][_0x299f35(0x242)][_0x299f35(0x1ef)]();let _0x45a6dc=!0x1;for(const _0x56f835 of _0x45d270){if(_0x299f35(0x212)!==_0x56f835[_0x299f35(0x245)]||_0x299f35(0x22a)===_0x56f835[_0x299f35(0x228)])continue;const _0x3c2239=_0x1bcc15[_0x299f35(0x1f4)](_0x56f835[_0x299f35(0x220)][_0x299f35(0x21a)]);for(const _0x8fa7a6 of _0x3c2239[_0x299f35(0x1e3)]())_0x8fa7a6['is'](_0x299f35(0x238),_0x299f35(0x1ed))&&(!_0x8fa7a6[_0x299f35(0x1ec)](_0x299f35(0x211))&&_0x1bcc15[_0x299f35(0x241)][_0x299f35(0x204)](_0x8fa7a6,_0x299f35(0x211))&&(_0x2a669d[_0x299f35(0x23d)](_0x299f35(0x211),_0x56f6a7,_0x8fa7a6),_0x45a6dc=!0x0),!_0x8fa7a6[_0x299f35(0x1ec)](_0x299f35(0x216))&&_0x1bcc15[_0x299f35(0x241)][_0x299f35(0x204)](_0x8fa7a6,_0x299f35(0x216))&&(_0x2a669d[_0x299f35(0x23d)](_0x299f35(0x216),_0x13f7e1,_0x8fa7a6),_0x45a6dc=!0x0));}return _0x45a6dc&&_0x20dbc6[_0x299f35(0x1eb)](_0x2a669d),_0x45a6dc;});}[_0x497349(0x232)](){const _0x1afe9c=_0x497349,{editor:_0x42a50e}=this;_0x42a50e[_0x1afe9c(0x20c)][_0x1afe9c(0x1e1)](_0x23b585)[_0x1afe9c(0x1fb)](_0x27ad89=>this[_0x1afe9c(0x20e)](_0x27ad89));}[_0x497349(0x203)](){const _0x39b91f=_0x497349;return this[_0x39b91f(0x208)][_0x39b91f(0x215)][_0x39b91f(0x1e1)](_0x39b91f(0x23f));}[_0x497349(0x231)](){const _0x501426=_0x497349;return this[_0x501426(0x208)][_0x501426(0x215)][_0x501426(0x1e1)](_0x501426(0x247));}[_0x497349(0x20e)]({container:_0x4e4ac8,value:_0x529935,digits:_0x3fa1d2}){const _0xad0279=_0x497349,_0x204990=_0x4e4ac8[_0xad0279(0x21c)](_0xad0279(0x216)),_0x501477=_0x4e4ac8[_0xad0279(0x21c)](_0xad0279(0x211)),_0x276586=Math[_0xad0279(0x230)](_0x529935)+(_0x501477??0x1)-0x1;switch(_0x204990){case _0xad0279(0x227):return function(_0x2ea0bb,_0xa6e60c){const _0x210b9d=_0xad0279;return String(_0x2ea0bb)[_0x210b9d(0x225)](_0xa6e60c,'0');}(_0x276586,Math[_0xad0279(0x22f)](0x2,_0x3fa1d2));case _0xad0279(0x20f):case _0xad0279(0x205):return M(_0x276586,!0x1);case _0xad0279(0x233):case _0xad0279(0x209):return M(_0x276586,!0x0);case _0xad0279(0x1f7):return V(_0x276586,!0x1);case _0xad0279(0x1e9):return V(_0x276586,!0x0);default:return String(_0x276586);}}}function C(_0x2d3b78,_0x47264b){const _0x14d022=_0x497349,_0x34e00f=_0x47264b[_0x14d022(0x1f3)](_0x2d3b78);return Array[_0x14d022(0x20b)](_0x34e00f[_0x14d022(0x224)]())[_0x14d022(0x236)](_0x26e669=>_0x26e669['is'](_0x14d022(0x238),'ol')&&_0x26e669[_0x14d022(0x20a)](_0x14d022(0x219)));}function M(_0x2d23d5,_0x4c60ee){const _0x3885ea=_0x497349;let _0x2ca15d='',_0x231c76=_0x2d23d5;for(;_0x231c76>0x0;){const _0x42df98=(_0x231c76-0x1)%0x1a;_0x2ca15d=String[_0x3885ea(0x202)](0x61+_0x42df98)+_0x2ca15d,_0x231c76=Math[_0x3885ea(0x230)]((_0x231c76-0x1)/0x1a);}return _0x4c60ee?_0x2ca15d[_0x3885ea(0x1f1)]():_0x2ca15d;}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 _0x1aed(_0x4d24d1,_0x251aed){const _0x157d1b=_0x157d();return _0x1aed=function(_0x1aed8a,_0x3cc3d9){_0x1aed8a=_0x1aed8a-0x1e1;let _0x4f536e=_0x157d1b[_0x1aed8a];return _0x4f536e;},_0x1aed(_0x4d24d1,_0x251aed);}function V(_0xfe4ca6,_0x47ffc6){const _0x3388da=_0x497349;let _0x15e19f='',_0x25b911=_0xfe4ca6;for(const {value:_0xe3b1c3,numeral:_0x411f35}of N)for(;_0x25b911>=_0xe3b1c3;)_0x15e19f+=_0x411f35,_0x25b911-=_0xe3b1c3;return _0x47ffc6?_0x15e19f:_0x15e19f[_0x3388da(0x21d)]();}
|
|
23
|
+
const _0x18df81=_0x5d47;(function(_0x561894,_0x4e654b){const _0x392e0b=_0x5d47,_0x31d416=_0x561894();while(!![]){try{const _0x241032=-parseInt(_0x392e0b(0x139))/0x1*(parseInt(_0x392e0b(0x123))/0x2)+parseInt(_0x392e0b(0xf0))/0x3+-parseInt(_0x392e0b(0x117))/0x4+parseInt(_0x392e0b(0xfe))/0x5*(-parseInt(_0x392e0b(0x11a))/0x6)+-parseInt(_0x392e0b(0xfa))/0x7*(-parseInt(_0x392e0b(0x12f))/0x8)+-parseInt(_0x392e0b(0xe0))/0x9+parseInt(_0x392e0b(0x13e))/0xa*(parseInt(_0x392e0b(0x12d))/0xb);if(_0x241032===_0x4e654b)break;else _0x31d416['push'](_0x31d416['shift']());}catch(_0x718d03){_0x31d416['push'](_0x31d416['shift']());}}}(_0x4762,0xc0f77));import{Plugin as _0x227d6e}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x38bd63}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x19782d}from'./commands/footnotesstartcommand.js';function _0x4762(){const _0x507e99=['from','footnotes-list','createRangeOn','4954833xbIhsM','footnotesListStyle','toUpperCase','parent','position','list-style-type','start','getAttribute','upcast','upper-alpha','registerPostFixer','item','footnotesListStart','toViewElement','differ','define','1617729VENLcl','decimal','pluginName','editor','padStart','getStyle','find','type','_definePostfixer','attribute:footnotesListStyle:footnotesDefinitions','2547153BmCOjF','mapper','setStyle','footnotesStart','5KqPGzG','config','name','_getDefaultListStyle','setFootnoteFormatter','getChildren','isNaN','fromCharCode','lower-latin','nodeAfter','element','requires','lower-alpha','FootnotesPropertiesEditing','get','modelCursor','consumable','max','isPremiumPlugin','schema','init','commands','viewItem','hasClass','attribute:footnotesListStart:footnotesDefinitions','6261200mvYOhb','removeAttribute','footnotesDefinitions','413082AqONyN','consume','parseInt','removeStyle','downcast','floor','checkAttribute','extend','_defineConverters','152782ZgKheJ','$text','plugins','isOfficialPlugin','getItems','decimal-leading-zero','for','setAttribute','footnotesStyle','_updateFootnotesCounters','25710058czEFlp','insert','24WIBezK','upper-roman','_defineFormatter','element:ol','add','footnotes.footnotesProperties.defaultStartIndex','hasAttribute','lower-roman','model','_getDefaultStartIndex','13lxzTYc','footnotes.footnotesProperties.defaultListStyle','document','_formatFootnoteListValue','upper-latin','10BDPrRe','toLowerCase','getChanges','_defineSchema','writer'];_0x4762=function(){return _0x507e99;};return _0x4762();}import{FootnotesTracker as _0xf9464b}from'../footnotestracker.js';import{FootnotesEditing as _0x540bd7}from'../footnotesediting.js';function _0x5d47(_0x150a10,_0x58edb8){const _0x476275=_0x4762();return _0x5d47=function(_0x5d474c,_0x44f974){_0x5d474c=_0x5d474c-0xdb;let _0xf031bf=_0x476275[_0x5d474c];return _0xf031bf;},_0x5d47(_0x150a10,_0x58edb8);}export class FootnotesPropertiesEditing extends _0x227d6e{static get[_0x18df81(0xf2)](){const _0x593fb6=_0x18df81;return _0x593fb6(0x10b);}static get[_0x18df81(0x109)](){return[_0x540bd7,_0xf9464b];}static get[_0x18df81(0x126)](){return!0x0;}static get[_0x18df81(0x110)](){return!0x0;}[_0x18df81(0x112)](){const _0x4bb46c=_0x18df81,{editor:_0x321e61}=this;_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x13a),_0x4bb46c(0xf1)),_0x321e61[_0x4bb46c(0xff)][_0x4bb46c(0xef)](_0x4bb46c(0x134),0x1),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0x12b),new _0x38bd63(_0x321e61)),_0x321e61[_0x4bb46c(0x113)][_0x4bb46c(0x133)](_0x4bb46c(0xfd),new _0x19782d(_0x321e61)),this[_0x4bb46c(0xdb)](),this[_0x4bb46c(0x122)](),this[_0x4bb46c(0x131)](),this[_0x4bb46c(0xf8)]();}[_0x18df81(0xdb)](){const _0x343942=_0x18df81,{editor:_0x471181}=this,{schema:_0x33dc3a}=_0x471181[_0x343942(0x137)];_0x33dc3a[_0x343942(0x121)](_0x343942(0x119),{'allowAttributes':[_0x343942(0xe1),_0x343942(0xec)]});}[_0x18df81(0x122)](){const _0x290fb2=_0x18df81,{editor:_0xf73074}=this,{conversion:_0x49af31,model:_0x29570e}=_0xf73074,{schema:_0x43265e}=_0x29570e;_0x49af31[_0x290fb2(0x129)](_0x290fb2(0xe8))[_0x290fb2(0x133)](_0x591c08=>{const _0x4139c6=_0x290fb2;_0x591c08['on'](_0x4139c6(0x132),(_0x3da851,_0x25eb1e,_0x3cb188)=>{const _0x159bc2=_0x4139c6,_0x10994e=_0x25eb1e[_0x159bc2(0x114)],_0x26966e=_0x25eb1e[_0x159bc2(0x10d)]?.[_0x159bc2(0xe3)];_0x10994e[_0x159bc2(0x115)](_0x159bc2(0xde))&&_0x26966e?.['is'](_0x159bc2(0x108),_0x159bc2(0x119))&&(function(_0x2ed0ca,_0x46e14e,_0x21b38b,_0x33e40d){const _0x248e5c=_0x159bc2;if(!_0x33e40d[_0x248e5c(0x120)](_0x46e14e,_0x248e5c(0xec)))return;let _0x599add=0x1;const _0x51377a=_0x21b38b[_0x248e5c(0x10e)][_0x248e5c(0x11b)](_0x2ed0ca,{'attributes':_0x248e5c(0xe6)});if(_0x51377a){const _0x307263=Number[_0x248e5c(0x11c)](_0x2ed0ca[_0x248e5c(0xe7)](_0x248e5c(0xe6)),0xa);Number[_0x248e5c(0x104)](_0x307263)||(_0x599add=_0x307263);}!_0x51377a&&_0x46e14e[_0x248e5c(0x135)](_0x248e5c(0xec))||_0x21b38b[_0x248e5c(0xdc)][_0x248e5c(0x12a)](_0x248e5c(0xec),_0x599add,_0x46e14e);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e),function(_0x50f27b,_0x51834b,_0x5e8f90,_0x5228e1){const _0x433018=_0x159bc2;if(!_0x5228e1[_0x433018(0x120)](_0x51834b,_0x433018(0xe1)))return;let _0x3990c6=_0x433018(0xf1),_0x10b640=!0x1;if(_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'attributes':_0x433018(0xf7)})){const _0x338f60={0x1:_0x433018(0xf1),'a':_0x433018(0x10a),'A':_0x433018(0xe9),'i':_0x433018(0x136),'I':_0x433018(0x130)}[_0x50f27b[_0x433018(0xe7)](_0x433018(0xf7))];_0x338f60&&(_0x3990c6=_0x338f60),_0x10b640=!0x0;}_0x5e8f90[_0x433018(0x10e)][_0x433018(0x11b)](_0x50f27b,{'styles':_0x433018(0xe5)})&&(_0x3990c6=_0x50f27b[_0x433018(0xf5)](_0x433018(0xe5)),_0x10b640=!0x0),!_0x10b640&&_0x51834b[_0x433018(0x135)](_0x433018(0xe1))||_0x5e8f90[_0x433018(0xdc)][_0x433018(0x12a)](_0x433018(0xe1),_0x3990c6,_0x51834b);}(_0x10994e,_0x26966e,_0x3cb188,_0x43265e));});}),_0x49af31[_0x290fb2(0x129)](_0x290fb2(0x11e))[_0x290fb2(0x133)](_0x3d1611=>{const _0x5a07ad=_0x290fb2;_0x3d1611['on'](_0x5a07ad(0x116),(_0x18e911,_0x8b34f2,_0x2e92a0)=>{const _0x397de5=_0x5a07ad;if(!_0x2e92a0[_0x397de5(0x10e)][_0x397de5(0x11b)](_0x8b34f2[_0x397de5(0xeb)],_0x18e911[_0x397de5(0x100)]))return;const _0x54827d=C(_0x8b34f2[_0x397de5(0xeb)],_0x2e92a0[_0x397de5(0xfb)]),{attributeNewValue:_0x4b82f7}=_0x8b34f2;null==_0x4b82f7||0x1===_0x4b82f7?_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x118)](_0x397de5(0xe6),_0x54827d):_0x2e92a0[_0x397de5(0xdc)][_0x397de5(0x12a)](_0x397de5(0xe6),String(_0x4b82f7),_0x54827d);}),_0x3d1611['on'](_0x5a07ad(0xf9),(_0x4e745e,_0x119dd7,_0x4a82a5)=>{const _0x5bbef9=_0x5a07ad;if(!_0x4a82a5[_0x5bbef9(0x10e)][_0x5bbef9(0x11b)](_0x119dd7[_0x5bbef9(0xeb)],_0x4e745e[_0x5bbef9(0x100)]))return;const _0x5d46af=C(_0x119dd7[_0x5bbef9(0xeb)],_0x4a82a5[_0x5bbef9(0xfb)]),{attributeNewValue:_0x4ee698}=_0x119dd7;_0x4ee698&&_0x5bbef9(0xf1)!==_0x4ee698?_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0xfc)](_0x5bbef9(0xe5),_0x4ee698,_0x5d46af):_0x4a82a5[_0x5bbef9(0xdc)][_0x5bbef9(0x11d)](_0x5bbef9(0xe5),_0x5d46af);});});}[_0x18df81(0xf8)](){const _0x1f9ba0=_0x18df81,{editor:_0x3f65b6}=this,{model:_0x40fcac}=_0x3f65b6,_0x4bf136=_0x3f65b6[_0x1f9ba0(0x125)][_0x1f9ba0(0x10c)](_0xf9464b),_0x6e6585=this[_0x1f9ba0(0x101)](),_0x442231=this[_0x1f9ba0(0x138)]();_0x40fcac[_0x1f9ba0(0x13b)][_0x1f9ba0(0xea)](_0x4a8c58=>{const _0x82027a=_0x1f9ba0,_0x408d75=_0x40fcac[_0x82027a(0x13b)][_0x82027a(0xee)][_0x82027a(0x140)]();let _0x3c0a0c=!0x1;for(const _0x23c064 of _0x408d75){if(_0x82027a(0x12e)!==_0x23c064[_0x82027a(0xf7)]||_0x82027a(0x124)===_0x23c064[_0x82027a(0x100)])continue;const _0xa82976=_0x40fcac[_0x82027a(0xdf)](_0x23c064[_0x82027a(0xe4)][_0x82027a(0x107)]);for(const _0x313222 of _0xa82976[_0x82027a(0x127)]())_0x313222['is'](_0x82027a(0x108),_0x82027a(0x119))&&(!_0x313222[_0x82027a(0x135)](_0x82027a(0xec))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xec))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xec),_0x442231,_0x313222),_0x3c0a0c=!0x0),!_0x313222[_0x82027a(0x135)](_0x82027a(0xe1))&&_0x40fcac[_0x82027a(0x111)][_0x82027a(0x120)](_0x313222,_0x82027a(0xe1))&&(_0x4a8c58[_0x82027a(0x12a)](_0x82027a(0xe1),_0x6e6585,_0x313222),_0x3c0a0c=!0x0));}return _0x3c0a0c&&_0x4bf136[_0x82027a(0x12c)](_0x4a8c58),_0x3c0a0c;});}[_0x18df81(0x131)](){const _0x5f2c88=_0x18df81,{editor:_0x1f3807}=this;_0x1f3807[_0x5f2c88(0x125)][_0x5f2c88(0x10c)](_0xf9464b)[_0x5f2c88(0x102)](_0x1435a7=>this[_0x5f2c88(0x13c)](_0x1435a7));}[_0x18df81(0x101)](){const _0xa39ed3=_0x18df81;return this[_0xa39ed3(0xf3)][_0xa39ed3(0xff)][_0xa39ed3(0x10c)](_0xa39ed3(0x13a));}[_0x18df81(0x138)](){const _0x4f27eb=_0x18df81;return this[_0x4f27eb(0xf3)][_0x4f27eb(0xff)][_0x4f27eb(0x10c)](_0x4f27eb(0x134));}[_0x18df81(0x13c)]({container:_0x180ca6,value:_0x34f45f,digits:_0x9be6b6}){const _0x7e93f2=_0x18df81,_0x1a6b81=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xe1)),_0x53b3b5=_0x180ca6[_0x7e93f2(0xe7)](_0x7e93f2(0xec)),_0x2555db=Math[_0x7e93f2(0x11f)](_0x34f45f)+(_0x53b3b5??0x1)-0x1;switch(_0x1a6b81){case _0x7e93f2(0x128):return function(_0x32dcb5,_0x4be427){const _0x116a97=_0x7e93f2;return String(_0x32dcb5)[_0x116a97(0xf4)](_0x4be427,'0');}(_0x2555db,Math[_0x7e93f2(0x10f)](0x2,_0x9be6b6));case _0x7e93f2(0x10a):case _0x7e93f2(0x106):return M(_0x2555db,!0x1);case _0x7e93f2(0xe9):case _0x7e93f2(0x13d):return M(_0x2555db,!0x0);case _0x7e93f2(0x136):return V(_0x2555db,!0x1);case _0x7e93f2(0x130):return V(_0x2555db,!0x0);default:return String(_0x2555db);}}}function C(_0x4ba710,_0x3b4bf3){const _0x46e38d=_0x18df81,_0x23b8e4=_0x3b4bf3[_0x46e38d(0xed)](_0x4ba710);return Array[_0x46e38d(0xdd)](_0x23b8e4[_0x46e38d(0x103)]())[_0x46e38d(0xf6)](_0x554973=>_0x554973['is'](_0x46e38d(0x108),'ol')&&_0x554973[_0x46e38d(0x115)](_0x46e38d(0xde)));}function M(_0x5630cd,_0x2c525f){const _0x42bc51=_0x18df81;let _0x400422='',_0x5ca8d8=_0x5630cd;for(;_0x5ca8d8>0x0;){const _0x4852ef=(_0x5ca8d8-0x1)%0x1a;_0x400422=String[_0x42bc51(0x105)](0x61+_0x4852ef)+_0x400422,_0x5ca8d8=Math[_0x42bc51(0x11f)]((_0x5ca8d8-0x1)/0x1a);}return _0x2c525f?_0x400422[_0x42bc51(0xe2)]():_0x400422;}const N=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function V(_0x5db919,_0x1012e5){const _0x260217=_0x18df81;let _0xe5e268='',_0x1a5248=_0x5db919;for(const {value:_0x1a88e7,numeral:_0x39cb1b}of N)for(;_0x1a5248>=_0x1a88e7;)_0xe5e268+=_0x39cb1b,_0x1a5248-=_0x1a88e7;return _0x1012e5?_0xe5e268:_0xe5e268[_0x260217(0x13f)]();}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{BalloonPanelView as
|
|
23
|
+
import{BalloonPanelView as _0x1fd303,ButtonView as _0x57f6c1,ContextualBalloon as _0x462665,createDropdown as _0x4c63b1}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4957cc}from'ckeditor5/src/widget.js';import{Plugin as _0x11aef6}from'ckeditor5/src/core.js';import{IconFootnote as _0x4367d8,IconListStyleDecimal as _0x4ec82e,IconListStyleDecimalLeadingZero as _0x51e432,IconListStyleLowerLatin as _0x292ab2,IconListStyleLowerRoman as _0x25cb39,IconListStyleUpperLatin as _0x5d7fbe,IconListStyleUpperRoman as _0x49c09c}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x57f9c8}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x33f9db}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x11aef6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x462665,_0x4957cc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x15abea}=this,{componentFactory:_0x36a145}=_0x15abea['ui'];_0x15abea['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x36a145['add']('footnotesStyle',function(_0x4ce6c8){return _0x199655=>{const {t:t}=_0x199655,_0x47d07e=_0x4ce6c8['commands']['get']('footnotesStyle'),_0x10ab85=_0x4c63b1(_0x199655),{buttonView:_0xdc385b}=_0x10ab85;return _0x10ab85['class']='ck-footnotes-styles-dropdown',_0x10ab85['bind']('isEnabled')['to'](_0x47d07e,'isEnabled'),_0xdc385b['set']({'label':t('Footnotes\x20style'),'icon':_0x4367d8,'tooltip':!0x0}),_0x10ab85['once']('change:isOpen',()=>{const _0x23d2d3=function({editor:_0x1007b5,dropdownView:_0x9adeb0}){const {t:t}=_0x1007b5['locale'],_0x486384=t('Footnotes\x20definitions\x20styles'),_0x2f9c32=function(_0x54c0f4){const t=_0x54c0f4['locale']['t'],_0x28e0e0=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x4ec82e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x51e432},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x25cb39},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x49c09c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x292ab2},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5d7fbe}];return _0x28e0e0['map'](function(_0x56192c){const _0x3b4ea4=_0x56192c['locale'];return({label:_0x57a985,icon:_0x4367b9,tooltip:_0x503f60,style:_0x18325f})=>{const _0x412b2b=_0x56192c['commands']['get']('footnotesStyle'),_0x5d5290=new _0x57f6c1(_0x3b4ea4);return _0x5d5290['set']({'label':_0x57a985,'icon':_0x4367b9,'tooltip':_0x503f60}),_0x5d5290['bind']('isOn')['to'](_0x412b2b,'value',_0x304dc0=>_0x304dc0===_0x18325f),_0x5d5290['bind']('isEnabled')['to'](_0x412b2b,'isEnabled'),_0x5d5290['on']('execute',()=>{_0x56192c['execute']('footnotesStyle',{'value':_0x18325f}),_0x56192c['editing']['view']['focus']();}),_0x5d5290;};}(_0x54c0f4));}(_0x1007b5),_0x271277=new _0x57f9c8(_0x1007b5['locale'],{'styleGridAriaLabel':_0x486384,'styleButtonViews':_0x2f9c32});return _0x271277['delegate']('execute')['to'](_0x9adeb0),_0x271277['on']('footnotesListStart',(_0x18c8b8,_0x18c9fa)=>{_0x1007b5['execute']('footnotesStart',{'value':_0x18c9fa['startIndex']});}),_0x271277;}({'editor':_0x4ce6c8,'dropdownView':_0x10ab85});_0x10ab85['panelView']['children']['add'](_0x23d2d3);}),_0x10ab85;};}(_0x15abea));}['afterInit'](){const {editor:_0x4bc8da}=this,{t:t}=_0x4bc8da['locale'],_0x176306=_0x4bc8da['plugins']['get'](_0x4957cc),{defaultPositions:_0x4e62f5}=_0x1fd303;_0x176306['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4bc8da['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xbd0c8f=>{let _0x587022=_0xbd0c8f['getFirstPosition']()?.['parent'];return _0x587022?.['is']('$text')&&(_0x587022=_0x587022['parent']),_0x587022?.['is']('element')?_0x587022['findAncestor'](_0x33f9db):null;},'positions':[_0x4e62f5['southArrowNorth'],_0x4e62f5['southArrowNorthMiddleWest'],_0x4e62f5['southArrowNorthMiddleEast'],_0x4e62f5['southArrowNorthWest'],_0x4e62f5['southArrowNorthEast'],_0x4e62f5['northArrowSouth'],_0x4e62f5['northArrowSouthMiddleWest'],_0x4e62f5['northArrowSouthMiddleEast'],_0x4e62f5['northArrowSouthWest'],_0x4e62f5['northArrowSouthEast'],_0x4e62f5['viewportStickyNorth']]});}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x40e18d,View as _0x1059b1,ViewCollection as _0xa811af,FocusCycler as _0xafd605,addKeyboardHandlingForGrid as _0x200d96,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 _0x1059b1{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0xa811af();['focusCycler'];constructor(_0x4eca91,{styleButtonViews:_0x45f872,styleGridAriaLabel:_0x34d1b6}){super(_0x4eca91),(this['focusCycler']=new _0xafd605({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x45f872,_0x34d1b6),[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 _0x207408 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x207408['element']);_0x200d96({'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 _0x2fa7a2=_0x5516bd=>_0x5516bd['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fa7a2),this['keystrokes']['set']('arrowleft',_0x2fa7a2),this['keystrokes']['set']('arrowup',_0x2fa7a2),this['keystrokes']['set']('arrowdown',_0x2fa7a2);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4cee7a,_0x233896){const _0x327963=new _0x1059b1(this['locale']);return _0x327963['children']=_0x327963['createCollection'](),_0x327963['children']['addMany'](_0x4cee7a),_0x327963['setTemplate']({'tag':'div','attributes':{'aria-label':_0x233896,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x327963['children']}),_0x327963['children']['delegate']('execute')['to'](this),_0x327963['focus']=function(){for(const _0x3444ff of this['children'])if(_0x3444ff instanceof _0x40e18d&&_0x3444ff['isOn'])return void _0x3444ff['focus']();this['children']['first']['focus']();},_0x327963['focusTracker']=new et(),_0x327963['keystrokes']=new ot(),_0x327963['render'](),_0x327963['keystrokes']['listenTo'](_0x327963['element']),this['children']['add'](_0x327963),_0x327963;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x155db2=this['_createStartIndexPropertyView'](),_0x3d47ad=[_0x155db2],_0x18bc12=new tt(this['locale'],_0x3d47ad);return _0x18bc12['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x18bc12['buttonView']['bind']('isEnabled')['toMany'](_0x3d47ad,'isEnabled',(..._0x36631a)=>_0x36631a['some'](_0x241b55=>_0x241b55)),_0x18bc12['buttonView']['on']('change:isEnabled',(_0x3c6356,_0x4cf541,_0x2d576c)=>{_0x2d576c||(_0x18bc12['isCollapsed']=!0x0);}),this['children']['add'](_0x18bc12),[_0x155db2,_0x18bc12];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xbc8206=new st(this['locale'],it);return _0xbc8206['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xbc8206['fieldView']['set']({'min':0x0,'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xbc8206['fieldView']['on']('input',()=>{const _0x5a9b9b=_0xbc8206['fieldView']['element'],_0x2492d1=_0x5a9b9b['valueAsNumber'];Number['isNaN'](_0x2492d1)?_0xbc8206['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5a9b9b['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2492d1}):_0xbc8206['errorText']=t('Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.');}),_0xbc8206;}}
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
var _0x27b190=_0x5593;(function(_0x48d586,_0x14d77e){var _0x3383e9=_0x5593,_0x4c0481=_0x48d586();while(!![]){try{var _0x521cea=parseInt(_0x3383e9(0x122))/0x1+-parseInt(_0x3383e9(0x125))/0x2*(-parseInt(_0x3383e9(0x129))/0x3)+parseInt(_0x3383e9(0x126))/0x4*(parseInt(_0x3383e9(0x12e))/0x5)+-parseInt(_0x3383e9(0x120))/0x6*(parseInt(_0x3383e9(0x12b))/0x7)+-parseInt(_0x3383e9(0x11f))/0x8*(parseInt(_0x3383e9(0x121))/0x9)+parseInt(_0x3383e9(0x123))/0xa*(-parseInt(_0x3383e9(0x124))/0xb)+parseInt(_0x3383e9(0x12c))/0xc;if(_0x521cea===_0x14d77e)break;else _0x4c0481['push'](_0x4c0481['shift']());}catch(_0x475ee6){_0x4c0481['push'](_0x4c0481['shift']());}}}(_0x57c1,0x94934));import{Plugin as _0x36838c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1e3fc7}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x391f22}from'./footnotesproperties/footnotespropertiesui.js';function _0x5593(_0x517540,_0x1da5b0){var _0x57c1f3=_0x57c1();return _0x5593=function(_0x559310,_0x391f3f){_0x559310=_0x559310-0x11e;var _0x177787=_0x57c1f3[_0x559310];return _0x177787;},_0x5593(_0x517540,_0x1da5b0);}export class FootnotesProperties extends _0x36838c{static get[_0x27b190(0x128)](){var _0x427241=_0x27b190;return _0x427241(0x11e);}static get[_0x27b190(0x12d)](){return[_0x1e3fc7,_0x391f22];}static get[_0x27b190(0x127)](){return!0x0;}static get[_0x27b190(0x12a)](){return!0x0;}}function _0x57c1(){var _0x2127a3=['10uDmKVv','FootnotesProperties','2408oFyKwD','266568QVFOqW','27414SSRQHC','1093176JeuDsj','3530CEBBrC','440srjyfK','2ZVFvxG','517744DzoauY','isOfficialPlugin','pluginName','993723KxMVlU','isPremiumPlugin','35FCWCaP','940572VWrDnM','requires'];_0x57c1=function(){return _0x2127a3;};return _0x57c1();}
|
package/src/footnotestracker.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
const _0x12b569=_0xc4e2;(function(_0x168ebf,_0x18b7d6){const _0x13adab=_0xc4e2,_0x43d004=_0x168ebf();while(!![]){try{const _0x4f1879=parseInt(_0x13adab(0x1bf))/0x1+parseInt(_0x13adab(0x1f0))/0x2*(parseInt(_0x13adab(0x1c4))/0x3)+-parseInt(_0x13adab(0x205))/0x4*(-parseInt(_0x13adab(0x1d0))/0x5)+parseInt(_0x13adab(0x20b))/0x6+parseInt(_0x13adab(0x1e7))/0x7+parseInt(_0x13adab(0x215))/0x8*(parseInt(_0x13adab(0x1c6))/0x9)+-parseInt(_0x13adab(0x1e9))/0xa;if(_0x4f1879===_0x18b7d6)break;else _0x43d004['push'](_0x43d004['shift']());}catch(_0x1d863c){_0x43d004['push'](_0x43d004['shift']());}}}(_0x5c53,0x504c9));import{Plugin as _0x2fb4a6}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x392041}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2fb4a6{[_0x12b569(0x1b7)]=[];[_0x12b569(0x1d6)]=null;[_0x12b569(0x1e3)]=null;[_0x12b569(0x1df)];[_0x12b569(0x1fa)];[_0x12b569(0x1bc)];static get[_0x12b569(0x1e5)](){const _0x5a8354=_0x12b569;return _0x5a8354(0x1c8);}static get[_0x12b569(0x1d4)](){return!0x0;}static get[_0x12b569(0x1b3)](){return!0x0;}constructor(_0x1e79e5){const _0x4cac6a=_0x12b569;super(_0x1e79e5),this[_0x4cac6a(0x1df)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x1ca),'getElementKey':()=>_0x4cac6a(0x207)}),this[_0x4cac6a(0x1fa)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x1e8),'getElementKey':_0x46f258=>_0x46f258[_0x4cac6a(0x20e)](_0x4cac6a(0x217))}),this[_0x4cac6a(0x1bc)]=new _0x392041(this[_0x4cac6a(0x1f5)][_0x4cac6a(0x209)],{'elementName':_0x4cac6a(0x202),'getElementKey':_0x725fad=>_0x725fad[_0x4cac6a(0x20e)](_0x4cac6a(0x217))});}[_0x12b569(0x1e6)](){const _0xd3bb27=_0x12b569,{editor:_0x56aef8}=this,{model:_0x5ed0fd,data:_0x1c6404}=_0x56aef8;_0x5ed0fd[_0xd3bb27(0x1b8)][_0xd3bb27(0x1f8)](_0x235cf6=>{const _0x3fba82=_0xd3bb27,_0x452a06=_0x5ed0fd[_0x3fba82(0x1b8)][_0x3fba82(0x20f)][_0x3fba82(0x203)]();let _0x8b17de=!0x1;return this[_0x3fba82(0x1ee)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1c7)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1d3)](_0x235cf6,_0x452a06)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1e1)](_0x235cf6)&&(_0x8b17de=!0x0),this[_0x3fba82(0x200)](_0x235cf6)&&(_0x8b17de=!0x0),this[_0x3fba82(0x1cf)](_0x235cf6)&&(_0x8b17de=!0x0),_0x8b17de;}),this[_0xd3bb27(0x1ce)](_0x5ed0fd[_0xd3bb27(0x1b8)],_0xd3bb27(0x1d8),()=>{const _0x5b7de9=_0xd3bb27;_0x5ed0fd[_0x5b7de9(0x214)]({'isUndoable':!0x1},_0x3e54c9=>{const _0x2229df=_0x5b7de9;this[_0x2229df(0x1c5)](_0x3e54c9);});},{'priority':_0xd3bb27(0x1e4)}),this[_0xd3bb27(0x1ce)](_0x1c6404,_0xd3bb27(0x1f2),()=>{const _0x2b9cc6=_0xd3bb27;this[_0x2b9cc6(0x1b7)]=[],this[_0x2b9cc6(0x1df)][_0x2b9cc6(0x1d9)](),this[_0x2b9cc6(0x1fa)][_0x2b9cc6(0x1d9)](),this[_0x2b9cc6(0x1bc)][_0x2b9cc6(0x1d9)]();},{'priority':_0xd3bb27(0x210)});}[_0x12b569(0x213)](){const _0x3b263a=_0x12b569;return this[_0x3b263a(0x1d6)];}[_0x12b569(0x1cc)](_0x4e842d){const _0x430162=_0x12b569;return this[_0x430162(0x1b7)][_0x430162(0x1ed)](_0x103260=>_0x103260['id']===_0x4e842d)||null;}[_0x12b569(0x201)](){const _0x4fa25d=_0x12b569;return Array[_0x4fa25d(0x1f7)](this[_0x4fa25d(0x1b7)]);}[_0x12b569(0x20a)](){const _0x55778f=_0x12b569;return this[_0x55778f(0x1e3)];}[_0x12b569(0x1bb)](_0x574243){const _0x5c05ef=_0x12b569;this[_0x5c05ef(0x1e3)]=_0x574243;}[_0x12b569(0x1dc)](_0x159512,_0x18ab0c=0x0){const _0x3393f1=_0x12b569;let _0x33bebf=!0x1;for(let _0x3b093f=_0x18ab0c;_0x3b093f<this[_0x3393f1(0x1b7)][_0x3393f1(0x1c0)];_0x3b093f++)this[_0x3393f1(0x218)](_0x159512,_0x3b093f)&&(_0x33bebf=!0x0);return _0x33bebf;}[_0x12b569(0x1b6)](_0x58cdd5,_0xecce48){const _0x4f3a3e=_0x12b569,_0xc9a07e=_0x58cdd5[_0x4f3a3e(0x1b5)](_0x4f3a3e(0x1ca),{});return _0x58cdd5[_0x4f3a3e(0x1f3)](_0xc9a07e,_0xecce48),this[_0x4f3a3e(0x1d6)]=_0xc9a07e,_0xc9a07e;}[_0x12b569(0x1c5)](_0x3a0556){const _0xafabc9=_0x12b569;if(!this[_0xafabc9(0x1b7)][_0xafabc9(0x1c0)]||this[_0xafabc9(0x1d6)])return;const _0x58bbbb=this[_0xafabc9(0x1b7)][0x0][_0xafabc9(0x208)][_0xafabc9(0x1cb)],_0x2aabc4=this[_0xafabc9(0x1b6)](_0x3a0556,_0x58bbbb);for(const _0x393909 of this[_0xafabc9(0x1b7)])_0x393909[_0xafabc9(0x216)][_0xafabc9(0x1ec)]||_0x3a0556[_0xafabc9(0x1d5)](_0x393909[_0xafabc9(0x216)],_0x2aabc4,_0xafabc9(0x1c3));this[_0xafabc9(0x1dc)](_0x3a0556);}[_0x12b569(0x1ee)](_0x146032,_0x14d92d){const _0x4552a8=_0x12b569;let _0x3206c9=!0x1;const {inserted:_0x123518,removed:_0x20775f,moved:_0x5db5ea}=this[_0x4552a8(0x1df)][_0x4552a8(0x203)](_0x14d92d);if(_0x5db5ea[_0x4552a8(0x1c0)]&&(this[_0x4552a8(0x1d6)]=_0x5db5ea[0x0]),_0x123518[_0x4552a8(0x1c0)]){if(_0x123518[_0x4552a8(0x1c0)]>0x1||this[_0x4552a8(0x1d6)]&&_0x123518[_0x4552a8(0x1cd)](_0xbb1c6d=>_0xbb1c6d!==this[_0x4552a8(0x1d6)])){const _0x388a75=_0x146032[_0x4552a8(0x1b5)](_0x4552a8(0x1ca),{}),_0x13aa5b=[];this[_0x4552a8(0x1d6)]&&_0x13aa5b[_0x4552a8(0x1be)](this[_0x4552a8(0x1d6)]),_0x13aa5b[_0x4552a8(0x1be)](..._0x123518),_0x146032[_0x4552a8(0x1d5)](_0x388a75,_0x13aa5b[0x0],_0x4552a8(0x204));for(const _0x22f763 of _0x13aa5b)_0x146032[_0x4552a8(0x1bd)](_0x146032[_0x4552a8(0x206)](_0x22f763),_0x146032[_0x4552a8(0x1c2)](_0x388a75,_0x4552a8(0x1c3))),_0x146032[_0x4552a8(0x1de)](_0x22f763);this[_0x4552a8(0x1d6)]=_0x388a75,this[_0x4552a8(0x1dc)](_0x146032),_0x3206c9=!0x0;}else this[_0x4552a8(0x1d6)]=_0x123518[0x0];}if(_0x20775f[_0x4552a8(0x1c0)]&&_0x4552a8(0x1f9)===this[_0x4552a8(0x1d6)]?.[_0x4552a8(0x1cb)][_0x4552a8(0x1dd)]){for(const _0x2c078e of this[_0x4552a8(0x1b7)])_0x146032[_0x4552a8(0x1de)](_0x2c078e[_0x4552a8(0x208)]),_0x3206c9=!0x0;this[_0x4552a8(0x1b7)]=[],this[_0x4552a8(0x1d6)]=null;}return _0x3206c9;}[_0x12b569(0x1c7)](_0x533eb7,_0x22b562){const _0xd1af60=_0x12b569;let _0x387c27=!0x1;const _0x33e1cb=this[_0xd1af60(0x1f5)][_0xd1af60(0x1ba)][_0xd1af60(0x20c)](_0xd1af60(0x1d7)),{inserted:_0x465487,moved:_0x35d616}=this[_0xd1af60(0x1bc)][_0xd1af60(0x203)](_0x22b562);for(const _0x28c913 of[..._0x35d616,..._0x465487]){const _0x33a877=_0x28c913[_0xd1af60(0x20e)](_0xd1af60(0x217)),_0x4917d3=this[_0xd1af60(0x1cc)](_0x33a877);_0x4917d3&&(_0x4917d3[_0xd1af60(0x216)]=_0x28c913),_(_0x533eb7,_0x33e1cb,_0x28c913)&&(_0x387c27=!0x0);}return _0x387c27;}[_0x12b569(0x1d3)](_0x4ea158,_0x5ee140){const _0x3c23b1=_0x12b569;let _0x200c38=!0x1;const {removed:_0x2734e3,inserted:_0x5a813e,moved:_0x2b2eab}=this[_0x3c23b1(0x1fa)][_0x3c23b1(0x203)](_0x5ee140);for(const _0x47ab43 of _0x2734e3)this[_0x3c23b1(0x1ea)](_0x4ea158,_0x47ab43)&&(_0x200c38=!0x0);for(const _0x15c6ab of _0x5a813e)this[_0x3c23b1(0x1c1)](_0x4ea158,_0x15c6ab)&&(_0x200c38=!0x0);for(const _0x1ea14c of _0x2b2eab)this[_0x3c23b1(0x1b9)](_0x4ea158,_0x1ea14c)&&(_0x200c38=!0x0);return _0x200c38;}[_0x12b569(0x200)](_0x5aa06c){const _0x1de0fa=_0x12b569;if(!this[_0x1de0fa(0x1d6)])return!0x1;let _0x3dcb64=!0x1;if(this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1f4)]!==this[_0x1de0fa(0x1b7)][_0x1de0fa(0x1c0)]){const _0x5e7416=[];for(const _0x5bc0b8 of this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1e2)]()){const _0x4e9501=_0x5bc0b8[_0x1de0fa(0x20e)](_0x1de0fa(0x217));this[_0x1de0fa(0x1cc)](_0x4e9501)||(_0x5e7416[_0x1de0fa(0x1f1)](_0x5bc0b8),_0x3dcb64=!0x0);}for(const _0x492c04 of _0x5e7416)_0x5aa06c[_0x1de0fa(0x1de)](_0x492c04);}const _0x2e4154=new Set(),_0x2c5dfb=[];for(const _0x32a41a of this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1e2)]()){const _0x7b4a29=_0x32a41a[_0x1de0fa(0x20e)](_0x1de0fa(0x217));_0x2e4154[_0x1de0fa(0x1ef)](_0x7b4a29)?(_0x2c5dfb[_0x1de0fa(0x1f1)](_0x32a41a),_0x3dcb64=!0x0):_0x2e4154[_0x1de0fa(0x1da)](_0x7b4a29);}for(const _0x37c917 of _0x2c5dfb)_0x5aa06c[_0x1de0fa(0x1de)](_0x37c917);return this[_0x1de0fa(0x1d6)][_0x1de0fa(0x1f4)]||(_0x5aa06c[_0x1de0fa(0x1de)](this[_0x1de0fa(0x1d6)]),this[_0x1de0fa(0x1d6)]=null,_0x3dcb64=!0x0),_0x3dcb64;}[_0x12b569(0x1c1)](_0xd6c351,_0xc57b5c){const _0x1e154e=_0x12b569;if(this[_0x1e154e(0x1b7)][_0x1e154e(0x1ed)](_0x336b00=>_0x336b00[_0x1e154e(0x208)]===_0xc57b5c))return!0x1;let _0x2f565c=!0x1;const _0x3e17f1=_0xc57b5c[_0x1e154e(0x20e)](_0x1e154e(0x217)),_0x473317=this[_0x1e154e(0x1cc)](_0x3e17f1);_0x473317&&(_0xd6c351[_0x1e154e(0x1de)](_0x473317[_0x1e154e(0x208)]),this[_0x1e154e(0x1b7)]=this[_0x1e154e(0x1b7)][_0x1e154e(0x1eb)](_0x2d43ec=>_0x2d43ec['id']!==_0x3e17f1),_0x2f565c=!0x0);let _0x47f33a=this[_0x1e154e(0x1d6)]?function(_0x4d3910,_0x305bbf){const _0x54086f=_0x1e154e;for(const _0x34e905 of _0x4d3910[_0x54086f(0x1e2)]())if(_0x34e905[_0x54086f(0x20e)](_0x54086f(0x217))===_0x305bbf)return _0x34e905;return null;}(this[_0x1e154e(0x1d6)],_0x3e17f1):null;_0x47f33a||(_0x47f33a=_0xd6c351[_0x1e154e(0x1b5)](_0x1e154e(0x202),{'footnoteId':_0x3e17f1}),this[_0x1e154e(0x1d6)]&&(_0xd6c351[_0x1e154e(0x1d5)](_0x47f33a,this[_0x1e154e(0x1d6)],_0x1e154e(0x1c3)),_0x2f565c=!0x0));const _0x3c719a={'id':_0x3e17f1,'reference':_0xc57b5c,'definition':_0x47f33a},_0x16fbe9=I(this[_0x1e154e(0x1f5)][_0x1e154e(0x209)],this[_0x1e154e(0x1b7)],_0xc57b5c);return this[_0x1e154e(0x1b7)][_0x1e154e(0x211)](_0x16fbe9,0x0,_0x3c719a),this[_0x1e154e(0x1dc)](_0xd6c351,_0x16fbe9)&&(_0x2f565c=!0x0),_0x2f565c;}[_0x12b569(0x1ea)](_0x53de96,_0x3052a2){const _0x1b5da9=_0x12b569,_0x57c3b3=this[_0x1b5da9(0x1b7)][_0x1b5da9(0x1fc)](_0x3a6dd1=>_0x3a6dd1['id']===_0x3052a2);if(-0x1===_0x57c3b3)return!0x1;let _0x5d9405=!0x1;const _0x35bd52=this[_0x1b5da9(0x1b7)][_0x57c3b3];return _0x1b5da9(0x1f9)!==_0x35bd52[_0x1b5da9(0x216)][_0x1b5da9(0x1cb)][_0x1b5da9(0x1dd)]&&(_0x53de96[_0x1b5da9(0x1de)](_0x35bd52[_0x1b5da9(0x216)]),_0x5d9405=!0x0),this[_0x1b5da9(0x1b7)][_0x1b5da9(0x211)](_0x57c3b3,0x1),this[_0x1b5da9(0x1dc)](_0x53de96,_0x57c3b3)&&(_0x5d9405=!0x0),_0x5d9405;}[_0x12b569(0x1b9)](_0x1d5c57,_0x18a3b6){const _0x5eaea8=_0x12b569,_0x2095ca=_0x18a3b6[_0x5eaea8(0x20e)](_0x5eaea8(0x217)),_0x311edf=this[_0x5eaea8(0x1b7)][_0x5eaea8(0x1fc)](_0x4b555f=>_0x4b555f['id']===_0x2095ca),_0x11c11b=this[_0x5eaea8(0x1b7)][_0x311edf];let _0x3c2135=!0x1;_0x11c11b[_0x5eaea8(0x208)]=_0x18a3b6,this[_0x5eaea8(0x1b7)][_0x5eaea8(0x211)](_0x311edf,0x1);const _0x1f946b=I(this[_0x5eaea8(0x1f5)][_0x5eaea8(0x209)],this[_0x5eaea8(0x1b7)],_0x18a3b6);return this[_0x5eaea8(0x1b7)][_0x5eaea8(0x211)](_0x1f946b,0x0,_0x11c11b),this[_0x5eaea8(0x1dc)](_0x1d5c57,Math[_0x5eaea8(0x1c9)](_0x311edf,_0x1f946b))&&(_0x3c2135=!0x0),_0x3c2135;}[_0x12b569(0x218)](_0x1a8d7a,_0x190b5f){const _0x2841ce=_0x12b569;if(!this[_0x2841ce(0x1d6)])return!0x1;const _0x46df67=this[_0x2841ce(0x1b7)][_0x190b5f];let _0x410421;return _0x410421=this[_0x2841ce(0x1e3)]?this[_0x2841ce(0x1e3)]({'footnote':_0x46df67,'container':this[_0x2841ce(0x1d6)],'digits':String(this[_0x2841ce(0x1b7)][_0x2841ce(0x1c0)])[_0x2841ce(0x1c0)],'value':_0x190b5f+0x1}):String(_0x190b5f+0x1),_0x46df67[_0x2841ce(0x208)][_0x2841ce(0x20e)](_0x2841ce(0x1fd))!=_0x410421&&(_0x1a8d7a[_0x2841ce(0x1db)](_0x2841ce(0x1fd),_0x410421,_0x46df67[_0x2841ce(0x208)]),!0x0);}[_0x12b569(0x1cf)](_0x57c24c){const _0x30abaa=_0x12b569;if(!this[_0x30abaa(0x1d6)]||this[_0x30abaa(0x1b7)][_0x30abaa(0x1c0)]<0x2)return!0x1;if(function(_0x5b4787,_0x23206f){const _0x3d474b=_0x30abaa;if(_0x5b4787[_0x3d474b(0x1c0)]!==_0x23206f[_0x3d474b(0x1c0)])return!0x1;for(let _0x18c62e=0x0;_0x18c62e<_0x5b4787[_0x3d474b(0x1c0)];_0x18c62e++)if(_0x5b4787[_0x18c62e]!==_0x23206f[_0x18c62e])return!0x1;return!0x0;}(this[_0x30abaa(0x1b7)][_0x30abaa(0x1d1)](_0x314aac=>_0x314aac['id']),Array[_0x30abaa(0x1f7)](this[_0x30abaa(0x1d6)][_0x30abaa(0x1e2)]())[_0x30abaa(0x1d1)](_0x107eb4=>_0x107eb4[_0x30abaa(0x20e)](_0x30abaa(0x217)))))return!0x1;let _0x314480=!0x1;for(let _0x2ec57f=0x0;_0x2ec57f<this[_0x30abaa(0x1b7)][_0x30abaa(0x1c0)];_0x2ec57f++){const _0x4786cc=this[_0x30abaa(0x1b7)][_0x2ec57f],_0x4736b7=_0x57c24c[_0x30abaa(0x1ff)](_0x4786cc[_0x30abaa(0x216)]),_0x16ed0e=_0x57c24c[_0x30abaa(0x1c2)](this[_0x30abaa(0x1d6)],_0x2ec57f);_0x4736b7[_0x30abaa(0x212)](_0x16ed0e)||(_0x57c24c[_0x30abaa(0x1bd)](_0x57c24c[_0x30abaa(0x20d)](_0x4786cc[_0x30abaa(0x216)]),_0x16ed0e),_0x314480=!0x0);}return _0x314480;}[_0x12b569(0x1e1)](_0x47a0e9){const _0x2af11b=_0x12b569;if(!this[_0x2af11b(0x1b7)][_0x2af11b(0x1c0)])return!0x1;const {model:_0x360e85}=this[_0x2af11b(0x1f5)];let _0x3096bd=!0x1;for(let _0x56387e=0x0;_0x56387e<this[_0x2af11b(0x1b7)][_0x2af11b(0x1c0)]-0x1;_0x56387e++){const _0x58c4a7=this[_0x2af11b(0x1b7)][_0x56387e],_0x43bd6e=this[_0x2af11b(0x1b7)][_0x56387e+0x1],_0x2946cb=_0x360e85[_0x2af11b(0x1ff)](_0x58c4a7[_0x2af11b(0x208)]),_0x3c61d2=_0x360e85[_0x2af11b(0x1ff)](_0x43bd6e[_0x2af11b(0x208)]);_0x2af11b(0x1d2)===_0x2946cb[_0x2af11b(0x1e0)](_0x3c61d2)&&(this[_0x2af11b(0x1b9)](_0x47a0e9,_0x58c4a7[_0x2af11b(0x208)]),_0x56387e=-0x1,_0x3096bd=!0x0);}return _0x3096bd;}}function _0xc4e2(_0x54143d,_0x53fca5){const _0x5c5303=_0x5c53();return _0xc4e2=function(_0xc4e218,_0x2fad8f){_0xc4e218=_0xc4e218-0x1b3;let _0x4f197d=_0x5c5303[_0xc4e218];return _0x4f197d;},_0xc4e2(_0x54143d,_0x53fca5);}function _(_0x129109,_0x1138fc,_0x527517){const _0x26fcda=_0x12b569;if(_0x527517[_0x26fcda(0x1f4)])return!0x1;const _0x1ab8d7=_0x1138fc?_0x26fcda(0x1fb):_0x26fcda(0x1b4);return _0x129109[_0x26fcda(0x1d5)](_0x129109[_0x26fcda(0x1b5)](_0x1ab8d7),_0x527517),!0x0;}function _0x5c53(){const _0x50e0ea=['listenTo','_sortFootnoteDefinitions','10Wjbccb','map','after','_handleFootnoteReferencesChanges','isOfficialPlugin','insert','_footnotesDefinitions','footnotes.multiBlock','change:data','reset','add','setAttribute','_updateFootnotesCounters','rootName','remove','_footnoteDefsContainerTracker','compareWith','_ensureFootnotesReferencesHaveProperOrder','getChildren','_footnoteFormatter','low','pluginName','init','2526580Hrlwvm','footnoteRef','17535430jLSivr','_handleRemoveFootnoteReferenceById','filter','parent','find','_handleFootnotesDefinitionsObjectChanges','has','1660JGsmNR','unshift','set','append','childCount','editor','getRootNames','from','registerPostFixer','$graveyard','_footnoteRefsTracker','paragraph','findIndex','footnoteCounter','indexOf','createPositionBefore','_handleFootnotesDefinitionsObjectSync','getFootnotes','footnoteDefinition','getChanges','before','927188LJVrHL','createRangeIn','singleton','reference','model','getFootnotesFormatter','858528fkiEFs','get','createRangeOn','getAttribute','differ','high','splice','isEqual','getFootnotesDefinitionsObjectElement','enqueueChange','984QkoOLM','definition','footnoteId','_updateFootnoteRefCounter','isPremiumPlugin','footnoteInlineContent','createElement','_insertEmptyFootnotesDefinitionsContainer','_footnotes','document','_handleMovedFootnoteReference','config','setFootnoteFormatter','_footnoteDefsTracker','move','push','578443MTPyNB','length','_handleInsertedFootnoteReference','createPositionAt','end','978cRxWuj','_ensureFootnotesDefinitionsContainerExists','19449LTOStj','_handleFootnoteDefinitionsChanges','FootnotesTracker','min','footnotesDefinitions','root','getFootnote','some'];_0x5c53=function(){return _0x50e0ea;};return _0x5c53();}function I(_0x198a1e,_0x9fa9f4,_0x4627bc){const _0x11b3d4=_0x12b569;if(0x0===_0x9fa9f4[_0x11b3d4(0x1c0)])return 0x0;const _0x43192b=_0x198a1e[_0x11b3d4(0x1ff)](_0x4627bc);for(let _0x46e984=0x0;_0x46e984<_0x9fa9f4[_0x11b3d4(0x1c0)];_0x46e984++){const _0x8a9cfc=_0x9fa9f4[_0x46e984],_0x5ce23b=_0x198a1e[_0x11b3d4(0x1ff)](_0x8a9cfc[_0x11b3d4(0x208)]);if(_0x11b3d4(0x204)===_0x43192b[_0x11b3d4(0x1e0)](_0x5ce23b))return _0x46e984;}const _0x41d8bf=_0x4627bc[_0x11b3d4(0x1cb)];let _0xc80c=-0x1;for(let _0x3cba80=_0x9fa9f4[_0x11b3d4(0x1c0)]-0x1;_0x3cba80>=0x0;_0x3cba80--)if(_0x9fa9f4[_0x3cba80][_0x11b3d4(0x208)][_0x11b3d4(0x1cb)]===_0x41d8bf){_0xc80c=_0x3cba80;break;}if(-0x1!==_0xc80c)return _0xc80c+0x1;const _0x13faa2=_0x198a1e[_0x11b3d4(0x1b8)][_0x11b3d4(0x1f6)](),_0x114c5a=_0x13faa2[_0x11b3d4(0x1fe)](_0x41d8bf[_0x11b3d4(0x1dd)]),_0x3525a2=_0x13faa2[_0x114c5a+0x1];if(_0x3525a2){for(let _0x5b66e9=0x0;_0x5b66e9<_0x9fa9f4[_0x11b3d4(0x1c0)];_0x5b66e9++)if(_0x9fa9f4[_0x5b66e9][_0x11b3d4(0x208)][_0x11b3d4(0x1cb)][_0x11b3d4(0x1dd)]===_0x3525a2)return _0x5b66e9;}return _0x9fa9f4[_0x11b3d4(0x1c0)];}
|
|
23
|
+
const _0x5964fb=_0x3505;(function(_0x253648,_0x18f012){const _0xfe82d6=_0x3505,_0x159ab6=_0x253648();while(!![]){try{const _0x24c67e=-parseInt(_0xfe82d6(0x1e9))/0x1+-parseInt(_0xfe82d6(0x1c7))/0x2*(parseInt(_0xfe82d6(0x206))/0x3)+parseInt(_0xfe82d6(0x226))/0x4+-parseInt(_0xfe82d6(0x222))/0x5+-parseInt(_0xfe82d6(0x204))/0x6*(parseInt(_0xfe82d6(0x20b))/0x7)+-parseInt(_0xfe82d6(0x203))/0x8+parseInt(_0xfe82d6(0x1cc))/0x9;if(_0x24c67e===_0x18f012)break;else _0x159ab6['push'](_0x159ab6['shift']());}catch(_0x5b539b){_0x159ab6['push'](_0x159ab6['shift']());}}}(_0x225d,0x85b68));import{Plugin as _0x104998}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5e41b7}from'./modelelementtracker.js';export class FootnotesTracker extends _0x104998{[_0x5964fb(0x1d8)]=[];[_0x5964fb(0x1c5)]=null;[_0x5964fb(0x1ea)]=null;[_0x5964fb(0x207)];[_0x5964fb(0x1cf)];[_0x5964fb(0x1dc)];static get[_0x5964fb(0x1e0)](){const _0x263410=_0x5964fb;return _0x263410(0x1d0);}static get[_0x5964fb(0x1de)](){return!0x0;}static get[_0x5964fb(0x21f)](){return!0x0;}constructor(_0x1ea0d4){const _0x4c5c49=_0x5964fb;super(_0x1ea0d4),this[_0x4c5c49(0x207)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x211),'getElementKey':()=>_0x4c5c49(0x227)}),this[_0x4c5c49(0x1cf)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x201),'getElementKey':_0x563fd9=>_0x563fd9[_0x4c5c49(0x215)](_0x4c5c49(0x213))}),this[_0x4c5c49(0x1dc)]=new _0x5e41b7(this[_0x4c5c49(0x1f7)][_0x4c5c49(0x221)],{'elementName':_0x4c5c49(0x1f0),'getElementKey':_0x30dded=>_0x30dded[_0x4c5c49(0x215)](_0x4c5c49(0x213))});}[_0x5964fb(0x1d2)](){const _0x53d016=_0x5964fb,{editor:_0xa1b42}=this,{model:_0x3eb93d,data:_0x4eff7d}=_0xa1b42;_0x3eb93d[_0x53d016(0x1fb)][_0x53d016(0x1c8)](_0x1a39dd=>{const _0x3f3b86=_0x53d016,_0xbd1527=_0x3eb93d[_0x3f3b86(0x1fb)][_0x3f3b86(0x220)][_0x3f3b86(0x20e)]();let _0x7d59c1=!0x1;return this[_0x3f3b86(0x1cb)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f3)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x210)](_0x1a39dd,_0xbd1527)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1c4)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1e8)](_0x1a39dd)&&(_0x7d59c1=!0x0),this[_0x3f3b86(0x1f6)](_0x1a39dd)&&(_0x7d59c1=!0x0),_0x7d59c1;}),this[_0x53d016(0x21d)](_0x3eb93d[_0x53d016(0x1fb)],_0x53d016(0x209),()=>{const _0x445f05=_0x53d016;_0x3eb93d[_0x445f05(0x1fc)]({'isUndoable':!0x1},_0x202f6f=>{const _0x3e197c=_0x445f05;this[_0x3e197c(0x1f2)](_0x202f6f);});},{'priority':_0x53d016(0x216)}),this[_0x53d016(0x21d)](_0x4eff7d,_0x53d016(0x1ca),()=>{const _0xbaa89e=_0x53d016;this[_0xbaa89e(0x1d8)]=[],this[_0xbaa89e(0x207)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1cf)][_0xbaa89e(0x225)](),this[_0xbaa89e(0x1dc)][_0xbaa89e(0x225)]();},{'priority':_0x53d016(0x20d)});}[_0x5964fb(0x1ee)](){const _0x288d9e=_0x5964fb;return this[_0x288d9e(0x1c5)];}[_0x5964fb(0x1d9)](_0x2bce0f){const _0x241a18=_0x5964fb;return this[_0x241a18(0x1d8)][_0x241a18(0x1e6)](_0x5bfe51=>_0x5bfe51['id']===_0x2bce0f)||null;}[_0x5964fb(0x1fa)](){const _0x310d30=_0x5964fb;return Array[_0x310d30(0x1e5)](this[_0x310d30(0x1d8)]);}[_0x5964fb(0x200)](){const _0x40100e=_0x5964fb;return this[_0x40100e(0x1ea)];}[_0x5964fb(0x1cd)](_0x1f392e){const _0x40649c=_0x5964fb;this[_0x40649c(0x1ea)]=_0x1f392e;}[_0x5964fb(0x1f5)](_0x331c9d,_0x127d58=0x0){const _0x566d0a=_0x5964fb;let _0x5723e1=!0x1;for(let _0x3f3dfa=_0x127d58;_0x3f3dfa<this[_0x566d0a(0x1d8)][_0x566d0a(0x1db)];_0x3f3dfa++)this[_0x566d0a(0x20a)](_0x331c9d,_0x3f3dfa)&&(_0x5723e1=!0x0);return _0x5723e1;}[_0x5964fb(0x1ef)](_0x28f0f2,_0x141e4d){const _0x595517=_0x5964fb,_0x5788aa=_0x28f0f2[_0x595517(0x1eb)](_0x595517(0x211),{});return _0x28f0f2[_0x595517(0x1ed)](_0x5788aa,_0x141e4d),this[_0x595517(0x1c5)]=_0x5788aa,_0x5788aa;}[_0x5964fb(0x1f2)](_0x3a6598){const _0x391c64=_0x5964fb;if(!this[_0x391c64(0x1d8)][_0x391c64(0x1db)]||this[_0x391c64(0x1c5)])return;const _0x4b8b97=this[_0x391c64(0x1d8)][0x0][_0x391c64(0x1d7)][_0x391c64(0x1f8)],_0x3cf401=this[_0x391c64(0x1ef)](_0x3a6598,_0x4b8b97);for(const _0x44be4b of this[_0x391c64(0x1d8)])_0x44be4b[_0x391c64(0x224)][_0x391c64(0x20c)]||_0x3a6598[_0x391c64(0x1dd)](_0x44be4b[_0x391c64(0x224)],_0x3cf401,_0x391c64(0x214));this[_0x391c64(0x1f5)](_0x3a6598);}[_0x5964fb(0x1cb)](_0x49a919,_0x22df7e){const _0x9742d=_0x5964fb;let _0x2c3b2c=!0x1;const {inserted:_0x1a90bc,removed:_0x46bd3f,moved:_0x103be2}=this[_0x9742d(0x207)][_0x9742d(0x20e)](_0x22df7e);if(_0x103be2[_0x9742d(0x1db)]&&(this[_0x9742d(0x1c5)]=_0x103be2[0x0]),_0x1a90bc[_0x9742d(0x1db)]){if(_0x1a90bc[_0x9742d(0x1db)]>0x1||this[_0x9742d(0x1c5)]&&_0x1a90bc[_0x9742d(0x1e1)](_0x48b104=>_0x48b104!==this[_0x9742d(0x1c5)])){const _0x1f52dc=_0x49a919[_0x9742d(0x1eb)](_0x9742d(0x211),{}),_0x42e7dc=[];this[_0x9742d(0x1c5)]&&_0x42e7dc[_0x9742d(0x21b)](this[_0x9742d(0x1c5)]),_0x42e7dc[_0x9742d(0x21b)](..._0x1a90bc),_0x49a919[_0x9742d(0x1dd)](_0x1f52dc,_0x42e7dc[0x0],_0x9742d(0x218));for(const _0x316095 of _0x42e7dc)_0x49a919[_0x9742d(0x208)](_0x49a919[_0x9742d(0x1e7)](_0x316095),_0x49a919[_0x9742d(0x1d3)](_0x1f52dc,_0x9742d(0x214))),_0x49a919[_0x9742d(0x1d5)](_0x316095);this[_0x9742d(0x1c5)]=_0x1f52dc,this[_0x9742d(0x1f5)](_0x49a919),_0x2c3b2c=!0x0;}else this[_0x9742d(0x1c5)]=_0x1a90bc[0x0];}if(_0x46bd3f[_0x9742d(0x1db)]&&_0x9742d(0x217)===this[_0x9742d(0x1c5)]?.[_0x9742d(0x1f8)][_0x9742d(0x1f1)]){for(const _0x4e442c of this[_0x9742d(0x1d8)])_0x49a919[_0x9742d(0x1d5)](_0x4e442c[_0x9742d(0x1d7)]),_0x2c3b2c=!0x0;this[_0x9742d(0x1d8)]=[],this[_0x9742d(0x1c5)]=null;}return _0x2c3b2c;}[_0x5964fb(0x1f3)](_0x355cc4,_0x3faeeb){const _0x3ffc5a=_0x5964fb;let _0x17afba=!0x1;const _0x2f2496=this[_0x3ffc5a(0x1f7)][_0x3ffc5a(0x1da)][_0x3ffc5a(0x1d4)](_0x3ffc5a(0x205)),{inserted:_0x14017c,moved:_0x198876}=this[_0x3ffc5a(0x1dc)][_0x3ffc5a(0x20e)](_0x3faeeb);for(const _0x164c47 of[..._0x198876,..._0x14017c]){const _0x3b0377=_0x164c47[_0x3ffc5a(0x215)](_0x3ffc5a(0x213)),_0xcd4a44=this[_0x3ffc5a(0x1d9)](_0x3b0377);_0xcd4a44&&(_0xcd4a44[_0x3ffc5a(0x224)]=_0x164c47),_(_0x355cc4,_0x2f2496,_0x164c47)&&(_0x17afba=!0x0);}return _0x17afba;}[_0x5964fb(0x210)](_0x2870a5,_0x291f4f){const _0x386f4a=_0x5964fb;let _0x15b975=!0x1;const {removed:_0x2b0121,inserted:_0x55f72d,moved:_0x5f88e9}=this[_0x386f4a(0x1cf)][_0x386f4a(0x20e)](_0x291f4f);for(const _0x4fa236 of _0x2b0121)this[_0x386f4a(0x1e2)](_0x2870a5,_0x4fa236)&&(_0x15b975=!0x0);for(const _0x4db458 of _0x55f72d)this[_0x386f4a(0x1ce)](_0x2870a5,_0x4db458)&&(_0x15b975=!0x0);for(const _0x5b2c27 of _0x5f88e9)this[_0x386f4a(0x21a)](_0x2870a5,_0x5b2c27)&&(_0x15b975=!0x0);return _0x15b975;}[_0x5964fb(0x1e8)](_0x1efd1e){const _0x3a9883=_0x5964fb;if(!this[_0x3a9883(0x1c5)])return!0x1;let _0x133b6d=!0x1;if(this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]!==this[_0x3a9883(0x1d8)][_0x3a9883(0x1db)]){const _0x5644f0=[];for(const _0x25112d of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0xb3105a=_0x25112d[_0x3a9883(0x215)](_0x3a9883(0x213));this[_0x3a9883(0x1d9)](_0xb3105a)||(_0x5644f0[_0x3a9883(0x1f9)](_0x25112d),_0x133b6d=!0x0);}for(const _0x460fad of _0x5644f0)_0x1efd1e[_0x3a9883(0x1d5)](_0x460fad);}const _0x2877a0=new Set(),_0x35d61a=[];for(const _0x42172b of this[_0x3a9883(0x1c5)][_0x3a9883(0x219)]()){const _0x40f44b=_0x42172b[_0x3a9883(0x215)](_0x3a9883(0x213));_0x2877a0[_0x3a9883(0x21c)](_0x40f44b)?(_0x35d61a[_0x3a9883(0x1f9)](_0x42172b),_0x133b6d=!0x0):_0x2877a0[_0x3a9883(0x20f)](_0x40f44b);}for(const _0xa48948 of _0x35d61a)_0x1efd1e[_0x3a9883(0x1d5)](_0xa48948);return this[_0x3a9883(0x1c5)][_0x3a9883(0x228)]||(_0x1efd1e[_0x3a9883(0x1d5)](this[_0x3a9883(0x1c5)]),this[_0x3a9883(0x1c5)]=null,_0x133b6d=!0x0),_0x133b6d;}[_0x5964fb(0x1ce)](_0x383fd5,_0x4e9158){const _0xc1ff7b=_0x5964fb;if(this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1e6)](_0x16013d=>_0x16013d[_0xc1ff7b(0x1d7)]===_0x4e9158))return!0x1;let _0x46c0eb=!0x1;const _0xb36a10=_0x4e9158[_0xc1ff7b(0x215)](_0xc1ff7b(0x213)),_0x1dfccd=this[_0xc1ff7b(0x1d9)](_0xb36a10);_0x1dfccd&&(_0x383fd5[_0xc1ff7b(0x1d5)](_0x1dfccd[_0xc1ff7b(0x1d7)]),this[_0xc1ff7b(0x1d8)]=this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1d6)](_0x4ad4dd=>_0x4ad4dd['id']!==_0xb36a10),_0x46c0eb=!0x0);let _0x3097ff=this[_0xc1ff7b(0x1c5)]?function(_0x3d6e71,_0x305d28){const _0x2179aa=_0xc1ff7b;for(const _0x1467f6 of _0x3d6e71[_0x2179aa(0x219)]())if(_0x1467f6[_0x2179aa(0x215)](_0x2179aa(0x213))===_0x305d28)return _0x1467f6;return null;}(this[_0xc1ff7b(0x1c5)],_0xb36a10):null;_0x3097ff||(_0x3097ff=_0x383fd5[_0xc1ff7b(0x1eb)](_0xc1ff7b(0x1f0),{'footnoteId':_0xb36a10}),this[_0xc1ff7b(0x1c5)]&&(_0x383fd5[_0xc1ff7b(0x1dd)](_0x3097ff,this[_0xc1ff7b(0x1c5)],_0xc1ff7b(0x214)),_0x46c0eb=!0x0));const _0x9cc9c={'id':_0xb36a10,'reference':_0x4e9158,'definition':_0x3097ff},_0x3b64c5=I(this[_0xc1ff7b(0x1f7)][_0xc1ff7b(0x221)],this[_0xc1ff7b(0x1d8)],_0x4e9158);return this[_0xc1ff7b(0x1d8)][_0xc1ff7b(0x1ec)](_0x3b64c5,0x0,_0x9cc9c),this[_0xc1ff7b(0x1f5)](_0x383fd5,_0x3b64c5)&&(_0x46c0eb=!0x0),_0x46c0eb;}[_0x5964fb(0x1e2)](_0x5e7f72,_0x86b764){const _0x52a8ad=_0x5964fb,_0x47114a=this[_0x52a8ad(0x1d8)][_0x52a8ad(0x212)](_0x47d9df=>_0x47d9df['id']===_0x86b764);if(-0x1===_0x47114a)return!0x1;let _0x6ac6a2=!0x1;const _0xb2245d=this[_0x52a8ad(0x1d8)][_0x47114a];return _0x52a8ad(0x217)!==_0xb2245d[_0x52a8ad(0x224)][_0x52a8ad(0x1f8)][_0x52a8ad(0x1f1)]&&(_0x5e7f72[_0x52a8ad(0x1d5)](_0xb2245d[_0x52a8ad(0x224)]),_0x6ac6a2=!0x0),this[_0x52a8ad(0x1d8)][_0x52a8ad(0x1ec)](_0x47114a,0x1),this[_0x52a8ad(0x1f5)](_0x5e7f72,_0x47114a)&&(_0x6ac6a2=!0x0),_0x6ac6a2;}[_0x5964fb(0x21a)](_0x717b96,_0x3dafab){const _0x58a61a=_0x5964fb,_0x913b35=_0x3dafab[_0x58a61a(0x215)](_0x58a61a(0x213)),_0x546ca8=this[_0x58a61a(0x1d8)][_0x58a61a(0x212)](_0x2f31c5=>_0x2f31c5['id']===_0x913b35),_0xa31d82=this[_0x58a61a(0x1d8)][_0x546ca8];let _0x1d7ce2=!0x1;_0xa31d82[_0x58a61a(0x1d7)]=_0x3dafab,this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x546ca8,0x1);const _0x3f6ca5=I(this[_0x58a61a(0x1f7)][_0x58a61a(0x221)],this[_0x58a61a(0x1d8)],_0x3dafab);return this[_0x58a61a(0x1d8)][_0x58a61a(0x1ec)](_0x3f6ca5,0x0,_0xa31d82),this[_0x58a61a(0x1f5)](_0x717b96,Math[_0x58a61a(0x1df)](_0x546ca8,_0x3f6ca5))&&(_0x1d7ce2=!0x0),_0x1d7ce2;}[_0x5964fb(0x20a)](_0x506906,_0x2b7492){const _0x4639ac=_0x5964fb;if(!this[_0x4639ac(0x1c5)])return!0x1;const _0x3de6f6=this[_0x4639ac(0x1d8)][_0x2b7492];let _0x57c510;return _0x57c510=this[_0x4639ac(0x1ea)]?this[_0x4639ac(0x1ea)]({'footnote':_0x3de6f6,'container':this[_0x4639ac(0x1c5)],'digits':String(this[_0x4639ac(0x1d8)][_0x4639ac(0x1db)])[_0x4639ac(0x1db)],'value':_0x2b7492+0x1}):String(_0x2b7492+0x1),_0x3de6f6[_0x4639ac(0x1d7)][_0x4639ac(0x215)](_0x4639ac(0x1d1))!=_0x57c510&&(_0x506906[_0x4639ac(0x1f4)](_0x4639ac(0x1d1),_0x57c510,_0x3de6f6[_0x4639ac(0x1d7)]),!0x0);}[_0x5964fb(0x1f6)](_0x18ae92){const _0x57de31=_0x5964fb;if(!this[_0x57de31(0x1c5)]||this[_0x57de31(0x1d8)][_0x57de31(0x1db)]<0x2)return!0x1;if(function(_0x59b959,_0x7cfe88){const _0x48f874=_0x57de31;if(_0x59b959[_0x48f874(0x1db)]!==_0x7cfe88[_0x48f874(0x1db)])return!0x1;for(let _0xa23e45=0x0;_0xa23e45<_0x59b959[_0x48f874(0x1db)];_0xa23e45++)if(_0x59b959[_0xa23e45]!==_0x7cfe88[_0xa23e45])return!0x1;return!0x0;}(this[_0x57de31(0x1d8)][_0x57de31(0x1c9)](_0x3af83e=>_0x3af83e['id']),Array[_0x57de31(0x1e5)](this[_0x57de31(0x1c5)][_0x57de31(0x219)]())[_0x57de31(0x1c9)](_0x1c9e15=>_0x1c9e15[_0x57de31(0x215)](_0x57de31(0x213)))))return!0x1;let _0x415e1d=!0x1;for(let _0x294460=0x0;_0x294460<this[_0x57de31(0x1d8)][_0x57de31(0x1db)];_0x294460++){const _0x4040fb=this[_0x57de31(0x1d8)][_0x294460],_0x1c253e=_0x18ae92[_0x57de31(0x202)](_0x4040fb[_0x57de31(0x224)]),_0x12a324=_0x18ae92[_0x57de31(0x1d3)](this[_0x57de31(0x1c5)],_0x294460);_0x1c253e[_0x57de31(0x1e3)](_0x12a324)||(_0x18ae92[_0x57de31(0x208)](_0x18ae92[_0x57de31(0x223)](_0x4040fb[_0x57de31(0x224)]),_0x12a324),_0x415e1d=!0x0);}return _0x415e1d;}[_0x5964fb(0x1c4)](_0x50d1db){const _0x5b0b9b=_0x5964fb;if(!this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)])return!0x1;const {model:_0x44af50}=this[_0x5b0b9b(0x1f7)];let _0x468ecf=!0x1;for(let _0x59e85d=0x0;_0x59e85d<this[_0x5b0b9b(0x1d8)][_0x5b0b9b(0x1db)]-0x1;_0x59e85d++){const _0x3e67c1=this[_0x5b0b9b(0x1d8)][_0x59e85d],_0x6f61c4=this[_0x5b0b9b(0x1d8)][_0x59e85d+0x1],_0x1ef689=_0x44af50[_0x5b0b9b(0x202)](_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x2e5d15=_0x44af50[_0x5b0b9b(0x202)](_0x6f61c4[_0x5b0b9b(0x1d7)]);_0x5b0b9b(0x1ff)===_0x1ef689[_0x5b0b9b(0x1fe)](_0x2e5d15)&&(this[_0x5b0b9b(0x21a)](_0x50d1db,_0x3e67c1[_0x5b0b9b(0x1d7)]),_0x59e85d=-0x1,_0x468ecf=!0x0);}return _0x468ecf;}}function _0x225d(){const _0x412bad=['_updateFootnoteRefCounter','35QDXruL','parent','high','getChanges','add','_handleFootnoteReferencesChanges','footnotesDefinitions','findIndex','footnoteId','end','getAttribute','low','$graveyard','before','getChildren','_handleMovedFootnoteReference','push','has','listenTo','paragraph','isPremiumPlugin','differ','model','4896810BuTONK','createRangeOn','definition','reset','256612VqErwu','singleton','childCount','_ensureFootnotesReferencesHaveProperOrder','_footnotesDefinitions','getRootNames','8LfViiX','registerPostFixer','map','set','_handleFootnotesDefinitionsObjectChanges','43116516rAtLZr','setFootnoteFormatter','_handleInsertedFootnoteReference','_footnoteRefsTracker','FootnotesTracker','footnoteCounter','init','createPositionAt','get','remove','filter','reference','_footnotes','getFootnote','config','length','_footnoteDefsTracker','insert','isOfficialPlugin','min','pluginName','some','_handleRemoveFootnoteReferenceById','isEqual','indexOf','from','find','createRangeIn','_handleFootnotesDefinitionsObjectSync','668235gwddYT','_footnoteFormatter','createElement','splice','append','getFootnotesDefinitionsObjectElement','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','rootName','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','setAttribute','_updateFootnotesCounters','_sortFootnoteDefinitions','editor','root','unshift','getFootnotes','document','enqueueChange','footnoteInlineContent','compareWith','after','getFootnotesFormatter','footnoteRef','createPositionBefore','8402024LGILhX','869394brJBKN','footnotes.multiBlock','663633TcTRYd','_footnoteDefsContainerTracker','move','change:data'];_0x225d=function(){return _0x412bad;};return _0x225d();}function _0x3505(_0x2fffa0,_0x511ae2){const _0x225dfd=_0x225d();return _0x3505=function(_0x35054b,_0x48774f){_0x35054b=_0x35054b-0x1c4;let _0x2f68db=_0x225dfd[_0x35054b];return _0x2f68db;},_0x3505(_0x2fffa0,_0x511ae2);}function _(_0x120539,_0x150c48,_0x579cb5){const _0x172325=_0x5964fb;if(_0x579cb5[_0x172325(0x228)])return!0x1;const _0x2e863c=_0x150c48?_0x172325(0x21e):_0x172325(0x1fd);return _0x120539[_0x172325(0x1dd)](_0x120539[_0x172325(0x1eb)](_0x2e863c),_0x579cb5),!0x0;}function I(_0x5e508b,_0x1fc3c7,_0x454504){const _0x7e3fa0=_0x5964fb;if(0x0===_0x1fc3c7[_0x7e3fa0(0x1db)])return 0x0;const _0x1fa99f=_0x5e508b[_0x7e3fa0(0x202)](_0x454504);for(let _0x24fa2d=0x0;_0x24fa2d<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x24fa2d++){const _0xa90d3d=_0x1fc3c7[_0x24fa2d],_0x39c6f2=_0x5e508b[_0x7e3fa0(0x202)](_0xa90d3d[_0x7e3fa0(0x1d7)]);if(_0x7e3fa0(0x218)===_0x1fa99f[_0x7e3fa0(0x1fe)](_0x39c6f2))return _0x24fa2d;}const _0x3cfcca=_0x454504[_0x7e3fa0(0x1f8)];let _0x1cc81b=-0x1;for(let _0x1801eb=_0x1fc3c7[_0x7e3fa0(0x1db)]-0x1;_0x1801eb>=0x0;_0x1801eb--)if(_0x1fc3c7[_0x1801eb][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)]===_0x3cfcca){_0x1cc81b=_0x1801eb;break;}if(-0x1!==_0x1cc81b)return _0x1cc81b+0x1;const _0x3877fe=_0x5e508b[_0x7e3fa0(0x1fb)][_0x7e3fa0(0x1c6)](),_0x12a102=_0x3877fe[_0x7e3fa0(0x1e4)](_0x3cfcca[_0x7e3fa0(0x1f1)]),_0x4b7810=_0x3877fe[_0x12a102+0x1];if(_0x4b7810){for(let _0x27815e=0x0;_0x27815e<_0x1fc3c7[_0x7e3fa0(0x1db)];_0x27815e++)if(_0x1fc3c7[_0x27815e][_0x7e3fa0(0x1d7)][_0x7e3fa0(0x1f8)][_0x7e3fa0(0x1f1)]===_0x4b7810)return _0x27815e;}return _0x1fc3c7[_0x7e3fa0(0x1db)];}
|
package/src/footnotesui.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
import{ButtonView as
|
|
23
|
+
import{ButtonView as _0x30c48e,MenuBarMenuListItemButtonView as _0x3a10bc}from'ckeditor5/src/ui.js';import{Plugin as _0x1e1eaa}from'ckeditor5/src/core.js';import{IconFootnote as _0x4afbe2}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1e1eaa{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13798c}=this,{componentFactory:_0x4a0697}=_0x13798c['ui'];_0x4a0697['add']('insertFootnote',x(_0x13798c,_0x30c48e)),_0x4a0697['add']('menuBar:insertFootnote',x(_0x13798c,_0x3a10bc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2a79a9=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1d9866;for(const _0x1e3f97 in _0x2a79a9){const _0x39ab3b=_0x1e3f97,_0x5a0e4f=_0x2a79a9[_0x39ab3b];if('footnotesLicenseKeyValid'==_0x5a0e4f||'footnotesLicenseKeyInvalid'==_0x5a0e4f||'footnotesLicenseKeyExpired'==_0x5a0e4f||'footnotesLicenseKeyDomainLimit'==_0x5a0e4f||'footnotesLicenseKeyNotAllowed'==_0x5a0e4f||'footnotesLicenseKeyEvaluationLimit'==_0x5a0e4f||'footnotesLicenseKeyTrialLimit'==_0x5a0e4f||'footnotesLicenseKeyUsageLimit'==_0x5a0e4f){delete _0x2a79a9[_0x39ab3b],_0x1d9866=_0x5a0e4f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1d9866&&_0x2a79a9['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1d9866&&_0x2a79a9['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1d9866&&_0x2a79a9['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1d9866&&_0x2a79a9['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2f5481,_0x42e090){const _0x15224e=_0x2f5481['commands']['get']('insertFootnote');return _0x2ce3b1=>{const {t:t}=_0x2ce3b1,_0x12e169=new _0x42e090(_0x2ce3b1),_0x1a3f92=_0x12e169 instanceof _0x3a10bc;return _0x12e169['bind']('isEnabled')['to'](_0x15224e,'isEnabled'),_0x12e169['set']({'label':t(_0x1a3f92?'Footnote':'Insert\x20footnote'),'icon':_0x4afbe2,'tooltip':!0x0}),_0x12e169['on']('execute',()=>{_0x15224e['execute'](),_0x2f5481['editing']['view']['focus']();}),_0x12e169;};}
|
package/src/index.js
CHANGED
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
(function(
|
|
23
|
+
(function(_0x288c34,_0x352630){var _0x840a78=_0x4884,_0x1b671f=_0x288c34();while(!![]){try{var _0xa47b51=parseInt(_0x840a78(0x166))/0x1*(-parseInt(_0x840a78(0x169))/0x2)+parseInt(_0x840a78(0x16b))/0x3*(parseInt(_0x840a78(0x167))/0x4)+parseInt(_0x840a78(0x168))/0x5*(-parseInt(_0x840a78(0x163))/0x6)+-parseInt(_0x840a78(0x164))/0x7+-parseInt(_0x840a78(0x161))/0x8+-parseInt(_0x840a78(0x165))/0x9+-parseInt(_0x840a78(0x162))/0xa*(-parseInt(_0x840a78(0x16a))/0xb);if(_0xa47b51===_0x352630)break;else _0x1b671f['push'](_0x1b671f['shift']());}catch(_0x2eb16f){_0x1b671f['push'](_0x1b671f['shift']());}}}(_0x2ecf,0x829bc));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x2ecf(){var _0xcfebb3=['6720826xMocfs','1868022arfLHj','1Aqxhdx','916ytpWSR','10NIFbFX','1525134qQRWOD','11HdDbNP','2931JvzDtA','7827112UmLBCc','37172810wRswSO','1492230fcPZVs'];_0x2ecf=function(){return _0xcfebb3;};return _0x2ecf();}function _0x4884(_0x35e75c,_0x501d1a){var _0x2ecfb6=_0x2ecf();return _0x4884=function(_0x488499,_0x45d6dc){_0x488499=_0x488499-0x161;var _0x52e1c1=_0x2ecfb6[_0x488499];return _0x52e1c1;},_0x4884(_0x35e75c,_0x501d1a);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
*
|
|
21
21
|
*
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
function _0x4ffd(){const _0x3fb191=['slice','position','$text','createRangeOn','4KeNqeS','1644237bGbxvX','136835dzzCTf','76770ISARHK','delete','_elementName','has','set','add','_trackedElements','86VNvBzn','$graveyard','rootName','from','flat','_model','elementName','values','root','837910rzOMfB','16FYIrDV','push','_getElementKey','nodeAfter','638890ZYqqxo','remove','getElementKey','insert','clear','127005hQrMxF','length','get','name','element','reset','8973omYMSw','getItems','attributes','type','getChanges'];_0x4ffd=function(){return _0x3fb191;};return _0x4ffd();}function _0x362b(_0x13f976,_0xa01640){const _0x4ffdb6=_0x4ffd();return _0x362b=function(_0x362b8f,_0x2803ee){_0x362b8f=_0x362b8f-0x1f3;let _0x3f7ebc=_0x4ffdb6[_0x362b8f];return _0x3f7ebc;},_0x362b(_0x13f976,_0xa01640);}const _0x739809=_0x362b;(function(_0x305721,_0x4da166){const _0x41b101=_0x362b,_0x3cc08c=_0x305721();while(!![]){try{const _0x447f62=parseInt(_0x41b101(0x216))/0x1+parseInt(_0x41b101(0x203))/0x2*(parseInt(_0x41b101(0x21c))/0x3)+parseInt(_0x41b101(0x1f9))/0x4*(-parseInt(_0x41b101(0x1fb))/0x5)+-parseInt(_0x41b101(0x1fc))/0x6+-parseInt(_0x41b101(0x211))/0x7*(parseInt(_0x41b101(0x20d))/0x8)+parseInt(_0x41b101(0x1fa))/0x9+-parseInt(_0x41b101(0x20c))/0xa;if(_0x447f62===_0x4da166)break;else _0x3cc08c['push'](_0x3cc08c['shift']());}catch(_0x1a7dec){_0x3cc08c['push'](_0x3cc08c['shift']());}}}(_0x4ffd,0x202ea));export class ModelElementTracker{[_0x739809(0x208)];[_0x739809(0x1fe)];[_0x739809(0x20f)];[_0x739809(0x202)]=new Map();constructor(_0x3fae7e,_0x3db26c){const _0x44d7fe=_0x739809;this[_0x44d7fe(0x208)]=_0x3fae7e,this[_0x44d7fe(0x1fe)]=_0x3db26c[_0x44d7fe(0x209)],this[_0x44d7fe(0x20f)]=_0x3db26c[_0x44d7fe(0x213)];}[_0x739809(0x21b)](){const _0x4bc7e8=_0x739809;this[_0x4bc7e8(0x202)][_0x4bc7e8(0x215)]();}[_0x739809(0x1f4)](_0x34d193){const _0x25d2a6=_0x739809,_0x2c8e3e=new Set(),_0x376b3f=new Map();for(const _0x12c5c7 of _0x34d193){if(_0x25d2a6(0x214)===_0x12c5c7[_0x25d2a6(0x1f3)]&&_0x25d2a6(0x1f7)!==_0x12c5c7[_0x25d2a6(0x219)]&&_0x12c5c7[_0x25d2a6(0x1f6)][_0x25d2a6(0x210)]){const _0x74bc30=this[_0x25d2a6(0x208)][_0x25d2a6(0x1f8)](_0x12c5c7[_0x25d2a6(0x1f6)][_0x25d2a6(0x210)]);for(const _0x4fb506 of _0x74bc30[_0x25d2a6(0x21d)]()){if(!_0x4fb506['is'](_0x25d2a6(0x21a),this[_0x25d2a6(0x1fe)]))continue;const _0x168dac=this[_0x25d2a6(0x20f)](_0x4fb506);_0x376b3f[_0x25d2a6(0x1ff)](_0x168dac)||_0x376b3f[_0x25d2a6(0x200)](_0x168dac,[]),_0x376b3f[_0x25d2a6(0x218)](_0x168dac)[_0x25d2a6(0x20e)](_0x4fb506);}}if(_0x25d2a6(0x212)===_0x12c5c7[_0x25d2a6(0x1f3)]&&_0x12c5c7[_0x25d2a6(0x219)]===this[_0x25d2a6(0x1fe)]){const _0xe1821a=this[_0x25d2a6(0x20f)]({'getAttribute':_0x458362=>_0x12c5c7[_0x25d2a6(0x21e)][_0x25d2a6(0x218)](_0x458362)});_0x2c8e3e[_0x25d2a6(0x201)](_0xe1821a);}}for(const [_0x368d8f,_0x560fbc]of this[_0x25d2a6(0x202)])_0x25d2a6(0x204)===_0x560fbc[_0x25d2a6(0x20b)][_0x25d2a6(0x205)]&&_0x2c8e3e[_0x25d2a6(0x201)](_0x368d8f);for(const _0x8b8178 of _0x2c8e3e)this[_0x25d2a6(0x202)][_0x25d2a6(0x1fd)](_0x8b8178);for(const [_0x8196bd,_0x25ea98]of _0x376b3f)this[_0x25d2a6(0x202)][_0x25d2a6(0x200)](_0x8196bd,_0x25ea98[_0x25ea98[_0x25d2a6(0x217)]-0x1]);const _0x4bc642=new Set();for(const [_0x395fe9,_0x573b3e]of _0x376b3f)_0x2c8e3e[_0x25d2a6(0x1ff)](_0x395fe9)&&(_0x4bc642[_0x25d2a6(0x201)](_0x573b3e[0x0]),_0x573b3e[_0x25d2a6(0x217)]>0x1?_0x376b3f[_0x25d2a6(0x200)](_0x395fe9,_0x573b3e[_0x25d2a6(0x1f5)](0x1)):_0x376b3f[_0x25d2a6(0x1fd)](_0x395fe9),_0x2c8e3e[_0x25d2a6(0x1fd)](_0x395fe9));return{'removed':Array[_0x25d2a6(0x206)](_0x2c8e3e),'inserted':Array[_0x25d2a6(0x206)](_0x376b3f[_0x25d2a6(0x20a)]())[_0x25d2a6(0x207)](),'moved':Array[_0x25d2a6(0x206)](_0x4bc642)};}}
|