@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251218.0 → 0.0.0-nightly-next-20251218.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.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x297bcf}from'ckeditor5/src/core.js';import{isWidget as _0x4917be,toWidget as _0x545394,toWidgetEditable as _0x3dc97f}from'ckeditor5/src/widget.js';import{uid as _0x295679}from'ckeditor5/src/utils.js';import{PointerObserver as _0x57df8a,ClickObserver as _0xf89a72}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x3b5a4c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x357513}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x297bcf{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x3b5a4c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f6f8e}=this;_0x4f6f8e['config']['define']('footnotes.multiBlock',!0x0),_0x4f6f8e['commands']['add']('insertFootnote',new _0x357513(_0x4f6f8e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x17e1b1){const _0x22201d=_0x780956([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]),_0x54a350=0x47a28506,_0x4ff974=0x47a5f946^_0x54a350,_0x42f5f2=window[_0x780956([0x44,0x61,0x74,0x65])][_0x780956([0x6e,0x6f,0x77])](),_0x3f92f7=_0x17e1b1[_0x780956([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ed99c=new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x395cc6=>{_0x3f92f7[_0x780956([0x6f,0x6e,0x63,0x65])](_0x780956([0x72,0x65,0x61,0x64,0x79]),_0x395cc6);}),_0x46a56d={[_0x780956([0x6b,0x74,0x79])]:_0x780956([0x45,0x43]),[_0x780956([0x75,0x73,0x65])]:_0x780956([0x73,0x69,0x67]),[_0x780956([0x63,0x72,0x76])]:_0x780956([0x50,0x2d,0x32,0x35,0x36]),[_0x780956([0x78])]:_0x780956([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]),[_0x780956([0x79])]:_0x780956([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]),[_0x780956([0x61,0x6c,0x67])]:_0x780956([0x45,0x53,0x32,0x35,0x36])},_0x5bd11a=_0x3f92f7[_0x780956([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x780956([0x67,0x65,0x74])](_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x17e156(){let _0x40266d,_0x4c5b76=null,_0x2d33f8=null;try{if(_0x5bd11a==_0x780956([0x47,0x50,0x4c]))return _0x780956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x40266d=_0x18d029(),!_0x40266d)return _0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x40266d[_0x780956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2d33f8=_0x53aa84(_0x40266d[_0x780956([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x40266d[_0x780956([0x6a,0x74,0x69])])),await _0x48605c()?_0x18d15f()?_0x566a43()?_0x780956([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x3114a8()?(_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x780956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c5b76=_0x1b08d5(_0x780956([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x780956([0x74,0x72,0x69,0x61,0x6c])&&(_0x4c5b76=_0x1b08d5(_0x780956([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2f2a85()):_0x780956([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x780956([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x780956([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x566a43(){const _0x142b1d=[_0x780956([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x780956([0x74,0x72,0x69,0x61,0x6c])][_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x42f5f2/0x3e8:0xe10*_0x4ff974;return _0x40266d[_0x780956([0x65,0x78,0x70])]<_0x142b1d;}function _0x18d15f(){const _0x93187=_0x40266d[_0x780956([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x93187&&(!!_0x93187[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x2a]))||!!_0x93187[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x46,0x4f,0x4f])));}function _0x3114a8(){const _0x32b865=_0x40266d[_0x780956([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x32b865||0x0==_0x32b865[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x502db4}=new URL(window[_0x780956([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x32b865[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x502db4))return!0x0;const _0x1c903a=_0x502db4[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e]));return _0x32b865[_0x780956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1b3c9f=>_0x1b3c9f[_0x780956([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x780956([0x2a])))[_0x780956([0x6d,0x61,0x70])](_0x39a93f=>_0x39a93f[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e])))[_0x780956([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a4a91=>_0x1a4a91[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c903a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x780956([0x6d,0x61,0x70])](_0x1eae03=>Array(_0x1c903a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1eae03[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x780956([0x66,0x69,0x6c,0x6c])](_0x1eae03[0x0]===_0x780956([0x2a])?_0x780956([0x2a]):'')[_0x780956([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1eae03))[_0x780956([0x73,0x6f,0x6d,0x65])](_0x2c0213=>_0x1c903a[_0x780956([0x65,0x76,0x65,0x72,0x79])]((_0x231220,_0x4a2392)=>_0x2c0213[_0x4a2392]===_0x231220||_0x2c0213[_0x4a2392]===_0x780956([0x2a])));}function _0x2f2a85(){return _0x4c5b76&&_0x2d33f8?new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e9a00,_0x5407aa)=>{_0x4c5b76[_0x780956([0x74,0x68,0x65,0x6e])](_0x4e9a00,_0x5407aa),_0x2d33f8[_0x780956([0x74,0x68,0x65,0x6e])](_0x1c72e2=>{_0x1c72e2!=_0x780956([0x56,0x61,0x6c,0x69,0x64])&&_0x4e9a00(_0x1c72e2);},_0x5407aa);}):_0x4c5b76||_0x2d33f8||_0x780956([0x56,0x61,0x6c,0x69,0x64]);}}function _0x53aa84(_0x4afb50,_0x4b4479){return new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e4a96=>{if(_0x1d90cc())return _0x1e4a96(_0x780956([0x56,0x61,0x6c,0x69,0x64]));_0x1b1373(),_0x3f92f7[_0x780956([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1e697a=!0x1;const _0x46461b=_0x295679();function _0x522cd2(_0x1cf08c){return!!_0x1cf08c&&(typeof _0x1cf08c===_0x780956([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1cf08c===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1cf08c[_0x780956([0x74,0x68,0x65,0x6e])]===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1cf08c[_0x780956([0x63,0x61,0x74,0x63,0x68])]===_0x780956([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1ae4e1(_0x43b9b3){_0x10e6f0(_0x43b9b3)[_0x780956([0x74,0x68,0x65,0x6e])](_0x69b10a=>{if(!_0x69b10a||_0x69b10a[_0x780956([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x780956([0x6f,0x6b]))return _0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x126b15(_0x5d98c6(_0x46461b+_0x4b4479))!=_0x69b10a[_0x780956([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x780956([0x56,0x61,0x6c,0x69,0x64]);})[_0x780956([0x74,0x68,0x65,0x6e])](_0x1c0fbb=>(_0x2f535b(),_0x1c0fbb),()=>{const _0x5272bc=_0x4fc300();return null==_0x5272bc?(_0x2f535b(),_0x780956([0x56,0x61,0x6c,0x69,0x64])):_0x780956(_0x42f5f2-_0x5272bc>(0x63ae0106^_0x54a350)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x780956([0x74,0x68,0x65,0x6e])](_0x1e4a96)[_0x780956([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x57e2a6=0x47946b86^_0x54a350;function _0x2f535b(){const _0x2f25f0=_0x780956([0x6c,0x6c,0x63,0x74,0x2d])+_0x126b15(_0x5d98c6(_0x4afb50)),_0x5b1e5b=_0x3ec7e7(_0x126b15(window[_0x780956([0x4d,0x61,0x74,0x68])][_0x780956([0x63,0x65,0x69,0x6c])](_0x42f5f2/_0x57e2a6)));window[_0x780956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x780956([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2f25f0,_0x5b1e5b);}function _0x4fc300(){const _0x5763e4=_0x780956([0x6c,0x6c,0x63,0x74,0x2d])+_0x126b15(_0x5d98c6(_0x4afb50)),_0x176cc4=window[_0x780956([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x780956([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5763e4);return _0x176cc4?window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ec7e7(_0x176cc4),0x10)*_0x57e2a6:null;}function _0x10e6f0(_0x38151a){return new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x522b0e,_0x5b00d9)=>{_0x38151a[_0x780956([0x74,0x68,0x65,0x6e])](_0x522b0e,_0x5b00d9),window[_0x780956([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5b00d9,0x47a351c6^_0x54a350);});}}_0x3f92f7[_0x780956([0x6f,0x6e])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58a6f0,_0x1c324c)=>{if(_0x1c324c[0x0]!=_0x4afb50)return _0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1c324c[0x1]={..._0x1c324c[0x1],[_0x780956([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x46461b};},{[_0x780956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x780956([0x68,0x69,0x67,0x68])}),_0x3f92f7[_0x780956([0x6f,0x6e])](_0x780956([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x48a81e=>{_0x522cd2(_0x48a81e[_0x780956([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1e697a=!0x0,_0x1ae4e1(_0x48a81e[_0x780956([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x780956([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x780956([0x6c,0x6f,0x77])}),_0x1ed99c[_0x780956([0x74,0x68,0x65,0x6e])](()=>{_0x1e697a||_0x1e4a96(_0x780956([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1d90cc(){return _0x3f92f7[_0x780956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x780956([0x76,0x69,0x65,0x77])][_0x780956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x780956([0x61,0x75,0x74,0x6f]);}function _0x1b1373(){_0x3f92f7[_0x780956([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x780956([0x76,0x69,0x65,0x77])][_0x780956([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x780956([0x61,0x75,0x74,0x6f]);}}function _0x1b08d5(_0x1c5857){const _0x2728cb=[new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2cc908=>setTimeout(_0x2cc908,0x47abbbca^_0x54a350)),_0x1ed99c[_0x780956([0x74,0x68,0x65,0x6e])](()=>new window[(_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56d1a6=>{let _0x4edae2=0x0;_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x6f,0x6e])](_0x780956([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x145282,_0x3c0ca3)=>{_0x3c0ca3[0x0][_0x780956([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4edae2++,_0x4edae2==(0x47a284fe^_0x54a350)&&(_0x56d1a6(),_0x145282[_0x780956([0x6f,0x66,0x66])]());});}))];return window[_0x780956([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x780956([0x72,0x61,0x63,0x65])](_0x2728cb)[_0x780956([0x74,0x68,0x65,0x6e])](()=>_0x1c5857);}async function _0x3e8c43(){await _0x1ed99c,_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46356a,_0x3f92f7[_0x780956([0x6d,0x6f,0x64,0x65,0x6c])][_0x780956([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46356a,_0x3f92f7[_0x780956([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x780956([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x17b0cf(_0x3ba029){const _0x4bbd02=_0x2b354b();_0x3f92f7[_0x4bbd02]=_0x780956([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3ba029,_0x3ba029!=_0x780956([0x56,0x61,0x6c,0x69,0x64])&&_0x3e8c43();}function _0x2b354b(){const _0x1c432a=window[_0x780956([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x780956([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x780956([0x6e,0x6f,0x77])]())[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x780956([0x2e]),'');let _0x22d30b=_0x780956([0x75]);for(let _0x5c57f8=0x0;_0x5c57f8<_0x1c432a[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c57f8+=0x2){let _0x23f902=window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1c432a[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c57f8,_0x5c57f8+0x2));_0x23f902>=_0x22201d[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x23f902-=_0x22201d[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x22d30b+=_0x22201d[_0x23f902];}return _0x22d30b;}function _0x18d029(){const _0x44f254=_0x5bd11a[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e]));if(0x3!=_0x44f254[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xc39dcc(_0x44f254[0x1]);function _0xc39dcc(_0x731bcd){const _0x2eb4a6=_0xdcf20b(_0x731bcd);return _0x2eb4a6&&_0x244362()?_0x2eb4a6:null;function _0x244362(){const _0x2b9802=_0x2eb4a6[_0x780956([0x6a,0x74,0x69])],_0x3ca519=window[_0x780956([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2b9802[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2b9802[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5ca7a8={..._0x2eb4a6,[_0x780956([0x6a,0x74,0x69])]:_0x2b9802[_0x780956([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2b9802[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5ca7a8[_0x780956([0x76,0x63])],_0x5d98c6(_0x5ca7a8)==_0x3ca519;}}}async function _0x48605c(){let _0x4af25e=!0x0;try{const _0x4b9b31=_0x5bd11a[_0x780956([0x73,0x70,0x6c,0x69,0x74])](_0x780956([0x2e])),[_0x5ea18b,_0x1b947b,_0x34804b]=_0x4b9b31;return _0x1e8a7a(_0x5ea18b),await _0x218bc4(_0x5ea18b,_0x1b947b,_0x34804b),_0x4af25e;}catch{return!0x1;}function _0x1e8a7a(_0x55d643){const _0x36f923=_0xdcf20b(_0x55d643);_0x36f923&&_0x36f923[_0x780956([0x61,0x6c,0x67])]==_0x780956([0x45,0x53,0x32,0x35,0x36])||(_0x4af25e=!0x1);}async function _0x218bc4(_0x5e7908,_0x5422ce,_0x1320a5){const _0x2e170f=window[_0x780956([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x780956([0x66,0x72,0x6f,0x6d])](_0x6770e6(_0x1320a5),_0x5240d9=>_0x5240d9[_0x780956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x335695=new window[(_0x780956([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x780956([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5e7908+_0x780956([0x2e])+_0x5422ce),_0x1b93fe=window[_0x780956([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x780956([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1b93fe)return;const _0x44d193=await _0x1b93fe[_0x780956([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x780956([0x6a,0x77,0x6b]),_0x46a56d,{[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x45,0x43,0x44,0x53,0x41]),[_0x780956([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x780956([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x780956([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1b93fe[_0x780956([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x45,0x43,0x44,0x53,0x41]),[_0x780956([0x68,0x61,0x73,0x68])]:{[_0x780956([0x6e,0x61,0x6d,0x65])]:_0x780956([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x44d193,_0x2e170f,_0x335695)||(_0x4af25e=!0x1);}}function _0xdcf20b(_0x5a1b99){return _0x5a1b99[_0x780956([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x780956([0x65,0x79]))?JSON[_0x780956([0x70,0x61,0x72,0x73,0x65])](_0x6770e6(_0x5a1b99)):null;}function _0x6770e6(_0x2ca6ab){return window[_0x780956([0x61,0x74,0x6f,0x62])](_0x2ca6ab[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x780956([0x2b]))[_0x780956([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x780956([0x2f])));}function _0x5d98c6(_0x1ba25e){let _0xdc5232=0x1505;function _0x2582c1(_0x4acf1b){for(let _0x1aae50=0x0;_0x1aae50<_0x4acf1b[_0x780956([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1aae50++){const _0x2e2a23=_0x4acf1b[_0x780956([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1aae50);_0xdc5232=(_0xdc5232<<0x5)+_0xdc5232+_0x2e2a23,_0xdc5232&=_0xdc5232;}}function _0x11611c(_0x1ff379){Array[_0x780956([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ff379)?_0x1ff379[_0x780956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x11611c):_0x1ff379&&typeof _0x1ff379==_0x780956([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x780956([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ff379)[_0x780956([0x73,0x6f,0x72,0x74])]()[_0x780956([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x286af7,_0x297c6f])=>{_0x2582c1(_0x286af7),_0x11611c(_0x297c6f);}):_0x2582c1(window[_0x780956([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ff379));}return _0x11611c(_0x1ba25e),_0xdc5232>>>0x0;}function _0x126b15(_0x3e2d4e){return _0x3e2d4e[_0x780956([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x780956([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x780956([0x30]));}function _0x3ec7e7(_0x5d3d9f){return _0x5d3d9f[_0x780956([0x73,0x70,0x6c,0x69,0x74])]('')[_0x780956([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x780956([0x6a,0x6f,0x69,0x6e])]('');}function _0x46356a(){}function _0x780956(_0x417f01){return _0x417f01['map'](_0xdf4f2e=>String['fromCharCode'](_0xdf4f2e))['join']('');}_0x17b0cf(await _0x17e156());}(this);}['_moveSelectionToFootnoteDefinition'](_0x159c6e){const {plugins:_0x282406,editing:_0x1d5282,model:_0x160713}=this['editor'],_0x1760b5=_0x282406['get'](_0x3b5a4c)['getFootnote'](_0x159c6e);return!!_0x1760b5&&(_0x160713['change'](_0x52e217=>{_0x52e217['setSelection'](_0x52e217['createPositionAt'](_0x1760b5['definition'],'end'));}),_0x1d5282['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2c948e){const {plugins:_0xdc9d15,editing:_0x53eb3c,model:_0x3e29a4}=this['editor'],_0xbff9f1=_0xdc9d15['get'](_0x3b5a4c)['getFootnote'](_0x2c948e);return!!_0xbff9f1&&(_0x3e29a4['change'](_0x168f4d=>{_0x168f4d['setSelection'](_0xbff9f1['reference'],'on');}),_0x53eb3c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4770ba}=this['editor']['model'],_0x22ce46=this['editor']['config']['get']('footnotes.multiBlock');_0x4770ba['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4770ba['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4770ba['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x22ce46?_0x4770ba['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4770ba['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4770ba['addChildCheck'](_0x4e4655=>{for(const _0x46dd3e of _0x4e4655)if('footnoteDefinition'===_0x46dd3e['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x55b30f}=this,{conversion:_0x38299a,editing:_0x2ef707}=_0x55b30f,{t:t}=_0x55b30f['locale'];_0x38299a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x24f32d,{writer:_0x4a3767,consumable:_0x2f128a})=>{const _0x5e8a07=_0x24f32d['getChild'](0x0);if(!_0x5e8a07||!_0x5e8a07['is']('element','a'))return null;const _0x50e51e=_0x5e8a07['getAttribute']('href')||'';if(!_0x50e51e['startsWith']('#'))return null;const _0x5aa715=_0x50e51e['replace'](/^#/,'');if(!_0x5aa715)return null;_0x2f128a['consume'](_0x5e8a07,{'name':!0x0,'attributes':['href']});for(const {item:_0x87b235}of _0x2ef707['view']['createRangeIn'](_0x5e8a07))_0x87b235['is']('$textProxy')?_0x2f128a['consume'](_0x87b235['textNode'],{'name':!0x0}):_0x87b235['is']('element')&&_0x2f128a['consume'](_0x87b235,{'name':!0x0});return _0x4a3767['createElement']('footnoteRef',{'footnoteId':_0x5aa715});}}),_0x38299a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2f3008,{writer:_0x54c976})=>D(_0x2f3008,_0x54c976)}),_0x38299a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47e055,{writer:_0x6a5f76})=>{const _0x2c4f58=_0x47e055['getAttribute']('footnoteCounter');return _0x545394(D(_0x47e055,_0x6a5f76),_0x6a5f76,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2c4f58)});}});}['_defineDefinitionsConverters'](){const {editor:_0x150645}=this,{t:t}=_0x150645['locale'],{conversion:_0x3e185d}=_0x150645;_0x3e185d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3e185d['for']('upcast')['add'](_0x1af373=>{_0x1af373['on']('element:ol',(_0x5a33d6,_0x2dfddf,_0x3ba02a)=>{const _0x3513bd=_0x2dfddf['viewItem'];if(!_0x3513bd['hasClass']('footnotes-list')||!_0x2dfddf['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3ba02a['consumable']['consume'](_0x3513bd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x190133,modelCursor:_0x5cb85a}=_0x3ba02a['convertChildren'](_0x2dfddf['viewItem'],_0x2dfddf['modelCursor']);_0x2dfddf['modelRange']=_0x190133,_0x2dfddf['modelCursor']=_0x5cb85a;}),_0x1af373['on']('element:hr',(_0x2a0149,_0x2e58c5,_0x27a20e)=>{const _0x2413b3=_0x2e58c5['viewItem'];_0x2413b3['hasClass']('footnotes-divider')&&_0x2e58c5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x27a20e['consumable']['consume'](_0x2413b3,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3e185d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1a5cdb,{writer:_0x2b973e})=>v(_0x2b973e)}),_0x3e185d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x9fd9f3,{writer:_0x1024b6})=>{const _0x471e3a=v(_0x1024b6,{'data-footnotes-list-label':t('Footnotes')}),_0x555a3e=_0x545394(_0x471e3a,_0x1024b6,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1024b6['setCustomProperty']('footnotesDefinitions',!0x0,_0x555a3e),_0x555a3e;}});}['_defineDefinitionConverters'](){const {editor:_0x546149}=this,{conversion:_0x207f67,locale:_0x3b480d}=_0x546149,_0x5f38c2=_0x546149['config']['get']('footnotes.multiBlock');_0x207f67['for']('upcast')['add'](_0x13e3f3=>{_0x13e3f3['on']('element:li',(_0x1878d3,_0x35d0b3,_0x8c0282)=>{const _0xb388ca=_0x35d0b3['viewItem'];if(!_0xb388ca['hasClass']('footnote-definition')||!_0xb388ca['getAttribute']('id'))return;const _0x98426=_0xb388ca['parent'];if(!_0x98426['is']('element','ol')||!_0x98426['hasClass']('footnotes-list'))return;if(!_0x8c0282['consumable']['test'](_0xb388ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2f7ebd=_0x8c0282['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xb388ca['getAttribute']('id')});if(!_0x8c0282['safeInsert'](_0x2f7ebd,_0x35d0b3['modelCursor']))return;_0x8c0282['consumable']['consume'](_0xb388ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x42c6a1=Array['from'](_0xb388ca['getChildren']())['find'](_0x2fafc3=>_0x2fafc3['is']('element')&&_0x2fafc3['hasClass']('footnote-content'));for(const _0x3b1623 of _0xb388ca['getChildren']())_0x3b1623['is']('element')&&(_0x8c0282['consumable']['consume'](_0x3b1623,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x8c0282['consumable']['consume'](_0x3b1623,{'name':!0x0,'classes':'footnote-content'}));if(_0x42c6a1){if(_0x5f38c2)_0x8c0282['convertChildren'](_0x42c6a1,_0x2f7ebd);else{const _0x253c73=_0x8c0282['writer']['createElement']('footnoteInlineContent');_0x8c0282['writer']['insert'](_0x253c73,_0x2f7ebd),_0x8c0282['convertChildren'](_0x42c6a1,_0x253c73);}}_0x8c0282['updateConversionResult'](_0x2f7ebd,_0x35d0b3);});}),_0x207f67['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xcc5887,{writer:_0x1d69dd})=>b(_0xcc5887,_0x1d69dd,_0x3b480d,{'dataPipeline':!0x0})}),_0x207f67['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x54f14b,{writer:_0x342650})=>b(_0x54f14b,_0x342650,_0x3b480d)});}['_defineBogusParagraphConverters'](){const {editor:_0x387c3f}=this,{conversion:_0xdbeacb}=_0x387c3f;_0x387c3f['config']['get']('footnotes.multiBlock')?(_0xdbeacb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0xdbeacb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x387c3f['model']['document'],'change:data',()=>{!function(_0x5563af,_0x44e27c){const _0x1ebcc1=_0x5563af['document']['differ'],_0x324b00=new Set();for(const _0x313335 of _0x1ebcc1['getChanges']()){const _0x40848e='attribute'==_0x313335['type']?_0x313335['range']['start']['parent']:_0x313335['position']['parent'];_0x40848e['is']('element','footnoteDefinition')&&_0x324b00['add'](_0x40848e);}for(const _0x44c527 of _0x324b00['values']()){const _0x4c35ae=Array['from'](_0x44c527['getChildren']())['filter'](_0x18ee3e=>g(_0x18ee3e,_0x44e27c['mapper']));for(const _0x2f9277 of _0x4c35ae)_0x44e27c['reconvertItem'](_0x2f9277);}}(_0x387c3f['model'],_0x387c3f['editing']);})):(_0xdbeacb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0xdbeacb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x30abcc,{writer:_0x26aad8})=>{const _0x4b3852=_0x26aad8['createContainerElement']('span');return _0x26aad8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4b3852),_0x4b3852;}}));}['_defineKeyboardHandlers'](){const {editor:_0x265c5a}=this,{editing:_0x9f523b,t:t}=_0x265c5a,_0x262f06=_0x265c5a['model']['document']['selection'];_0x265c5a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x265c5a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9f523b['view']['document'],'enter',(_0x4fed71,_0x196b8d)=>{const _0x5459b0=function(_0x428df4){const _0x1f1b76=_0x428df4['getSelectedElement']();if(_0x1f1b76?.['is']('element','footnoteRef'))return _0x1f1b76;return null;}(_0x262f06);if(_0x5459b0){const _0x432bc8=_0x5459b0['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x432bc8),_0x196b8d['preventDefault'](),_0x4fed71['stop']();}},{'context':_0x4917be});}['_defineClickHandlers'](){const {editor:_0x1b4cbc}=this,{editing:_0x9017c1}=_0x1b4cbc;_0x1b4cbc['editing']['view']['addObserver'](_0x57df8a),_0x1b4cbc['editing']['view']['addObserver'](_0xf89a72);let _0x1b49f7=!0x1;this['listenTo'](_0x9017c1['view']['document'],'pointerdown',(_0x4f749f,_0x22b1a7)=>{const {target:_0x1b81c0}=_0x22b1a7,_0x212df5=_0x9017c1['view']['document']['selection'];_0x1b49f7=!!(_0x1b81c0?.['is']('element','a')&&_0x1b81c0['parent']?.['is']('element','sup')&&_0x1b81c0['parent']['hasClass']('footnote'))&&_0x212df5['getSelectedElement']()===_0x1b81c0['parent'];},{'priority':'high'}),this['listenTo'](_0x9017c1['view']['document'],'click',(_0x2267bf,_0x44fba4)=>{const {target:_0xba816b}=_0x44fba4;if(!_0xba816b?.['is']('element','a'))return;if(_0xba816b['parent']?.['is']('element','sup')&&_0xba816b['parent']['hasClass']('footnote')&&!_0x1b49f7)return void _0x44fba4['preventDefault']();let _0x3fbaab=_0xba816b['getAttribute']('href');if(!_0x3fbaab?.['startsWith']('#'))return;_0x3fbaab=_0x3fbaab['slice'](0x1);let _0x516b54=!0x1;(_0x3fbaab['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3fbaab['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3fbaab))&&(_0x516b54=!0x0),_0x516b54&&(_0x44fba4['preventDefault'](),_0x2267bf['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1b78d2}={}){return(_0x593ee3,{writer:_0x22b8bf})=>{if(!p(_0x593ee3))return null;if(!_0x1b78d2)return _0x22b8bf['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2669a3=_0x22b8bf['createContainerElement']('p');return _0x22b8bf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2669a3),_0x2669a3;};}function p(_0xf8bcbd){const {parent:_0x55a34e}=_0xf8bcbd;if(!_0x55a34e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x55a34e['childCount'])return!0x1;for(const _0x3a792c of _0xf8bcbd['getAttributeKeys']())if(!_0x3a792c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x3a792c)return!0x1;return!0x0;}function g(_0x15bb35,_0x39d339){if(!_0x15bb35['is']('element','paragraph'))return!0x1;const _0x4c2d5d=_0x39d339['toViewElement'](_0x15bb35);return!!_0x4c2d5d&&p(_0x15bb35)!==_0x4c2d5d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2bf57d){return _0x4917be(_0x2bf57d)&&_0x2bf57d['is']('containerElement')&&!!_0x2bf57d['getCustomProperty']('footnotesDefinitions');}function v(_0x29cc3a,_0xc61dcd={}){const _0x306851=_0x29cc3a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xb9f92b=_0x29cc3a['createContainerElement']('ol',{'class':'footnotes-list'},_0x29cc3a['createSlot']());return _0x29cc3a['createContainerElement']('div',{'class':'footnotes',..._0xc61dcd},[_0x306851,_0xb9f92b]);}function D(_0x31575c,_0x2dfc2c){const _0x3fe06f=_0x31575c['getAttribute']('footnoteId'),_0x3cf9e5=_0x31575c['getAttribute']('footnoteCounter'),_0x691e7c=_0x2dfc2c['createUIElement']('a',{'href':'#'+_0x3fe06f},function(_0x5cfe59){const _0x3c8231=this['toDomElement'](_0x5cfe59);return _0x3c8231['textContent']=_0x3cf9e5,_0x3c8231;}),_0x56586e=_0x2dfc2c['createContainerElement']('sup',{'id':'ref-'+_0x3fe06f,'class':'footnote'},[_0x691e7c]);return _0x56586e['getFillerOffset']=()=>null,_0x56586e;}function b(_0x1fb1c4,_0x59e86b,_0xe37f82,{dataPipeline:_0x44ba7d}={}){const {t:t}=_0xe37f82,_0x5e8a0a=_0x1fb1c4['getAttribute']('footnoteId'),_0x4000b9=_0x59e86b['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5e8a0a},function(_0x131cc5){const _0x419bbc=this['toDomElement'](_0x131cc5);return _0x419bbc['innerText']='^',_0x419bbc;}),_0x57ded8=_0x44ba7d?_0x59e86b['createContainerElement']('div',{'class':'footnote-content'}):_0x3dc97f(_0x59e86b['createEditableElement']('div',{'class':'footnote-content'}),_0x59e86b,{'label':t('Footnote\x20content.')});return _0x59e86b['insert'](_0x59e86b['createPositionAt'](_0x57ded8,0x0),_0x59e86b['createSlot']()),_0x59e86b['createContainerElement']('li',{'class':'footnote-definition','id':_0x5e8a0a},[_0x4000b9,_0x57ded8]);}
23
+ import{Plugin as _0x334dfd}from'ckeditor5/src/core.js';import{isWidget as _0x26c8bd,toWidget as _0x175c54,toWidgetEditable as _0x26d910}from'ckeditor5/src/widget.js';import{uid as _0x418ab3}from'ckeditor5/src/utils.js';import{PointerObserver as _0x18f131,ClickObserver as _0x44061f}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x22ba09}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x10053d}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x334dfd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x22ba09];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3f0695}=this;_0x3f0695['config']['define']('footnotes.multiBlock',!0x0),_0x3f0695['commands']['add']('insertFootnote',new _0x10053d(_0x3f0695)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xad3451){const _0x3db34a=_0x2285ea([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]),_0x364e84=0x47a28506,_0x3cf9b2=0x47a5f946^_0x364e84,_0x466f9c=window[_0x2285ea([0x44,0x61,0x74,0x65])][_0x2285ea([0x6e,0x6f,0x77])](),_0x31ce8c=_0xad3451[_0x2285ea([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5e5e94=new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7149=>{_0x31ce8c[_0x2285ea([0x6f,0x6e,0x63,0x65])](_0x2285ea([0x72,0x65,0x61,0x64,0x79]),_0x5d7149);}),_0x1bca2f={[_0x2285ea([0x6b,0x74,0x79])]:_0x2285ea([0x45,0x43]),[_0x2285ea([0x75,0x73,0x65])]:_0x2285ea([0x73,0x69,0x67]),[_0x2285ea([0x63,0x72,0x76])]:_0x2285ea([0x50,0x2d,0x32,0x35,0x36]),[_0x2285ea([0x78])]:_0x2285ea([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]),[_0x2285ea([0x79])]:_0x2285ea([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]),[_0x2285ea([0x61,0x6c,0x67])]:_0x2285ea([0x45,0x53,0x32,0x35,0x36])},_0x5b2ac2=_0x31ce8c[_0x2285ea([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2285ea([0x67,0x65,0x74])](_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x33d456(){let _0x2b64ca,_0x4dc6af=null,_0x486849=null;try{if(_0x5b2ac2==_0x2285ea([0x47,0x50,0x4c]))return _0x2285ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2b64ca=_0x1ad93a(),!_0x2b64ca)return _0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2b64ca[_0x2285ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x486849=_0xc09c11(_0x2b64ca[_0x2285ea([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2b64ca[_0x2285ea([0x6a,0x74,0x69])])),await _0x30eda0()?_0x412b5a()?_0x7c74bd()?_0x2285ea([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5eba45()?(_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2285ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4dc6af=_0x2a7264(_0x2285ea([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2285ea([0x74,0x72,0x69,0x61,0x6c])&&(_0x4dc6af=_0x2a7264(_0x2285ea([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x278ef0()):_0x2285ea([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2285ea([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2285ea([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x7c74bd(){const _0x3d740f=[_0x2285ea([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2285ea([0x74,0x72,0x69,0x61,0x6c])][_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x466f9c/0x3e8:0xe10*_0x3cf9b2;return _0x2b64ca[_0x2285ea([0x65,0x78,0x70])]<_0x3d740f;}function _0x412b5a(){const _0x30ee52=_0x2b64ca[_0x2285ea([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x30ee52&&(!!_0x30ee52[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x2a]))||!!_0x30ee52[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x46,0x4f,0x4f])));}function _0x5eba45(){const _0x446f09=_0x2b64ca[_0x2285ea([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x446f09||0x0==_0x446f09[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x285838}=new URL(window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x446f09[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x285838))return!0x0;const _0x4e7b34=_0x285838[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e]));return _0x446f09[_0x2285ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x8d7a18=>_0x8d7a18[_0x2285ea([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2285ea([0x2a])))[_0x2285ea([0x6d,0x61,0x70])](_0x49d5c2=>_0x49d5c2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e])))[_0x2285ea([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1075a3=>_0x1075a3[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4e7b34[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2285ea([0x6d,0x61,0x70])](_0x56c36d=>Array(_0x4e7b34[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x56c36d[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2285ea([0x66,0x69,0x6c,0x6c])](_0x56c36d[0x0]===_0x2285ea([0x2a])?_0x2285ea([0x2a]):'')[_0x2285ea([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x56c36d))[_0x2285ea([0x73,0x6f,0x6d,0x65])](_0x701163=>_0x4e7b34[_0x2285ea([0x65,0x76,0x65,0x72,0x79])]((_0x138434,_0x2f66ed)=>_0x701163[_0x2f66ed]===_0x138434||_0x701163[_0x2f66ed]===_0x2285ea([0x2a])));}function _0x278ef0(){return _0x4dc6af&&_0x486849?new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x40a6cb,_0x5a68dd)=>{_0x4dc6af[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x40a6cb,_0x5a68dd),_0x486849[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x1780fe=>{_0x1780fe!=_0x2285ea([0x56,0x61,0x6c,0x69,0x64])&&_0x40a6cb(_0x1780fe);},_0x5a68dd);}):_0x4dc6af||_0x486849||_0x2285ea([0x56,0x61,0x6c,0x69,0x64]);}}function _0xc09c11(_0x54a3af,_0x1422e5){return new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c5b4e=>{if(_0x48d31f())return _0x1c5b4e(_0x2285ea([0x56,0x61,0x6c,0x69,0x64]));_0x3a40f1(),_0x31ce8c[_0x2285ea([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e77e4=!0x1;const _0x398742=_0x418ab3();function _0xc48546(_0x2702a3){return!!_0x2702a3&&(typeof _0x2702a3===_0x2285ea([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2702a3===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2702a3[_0x2285ea([0x74,0x68,0x65,0x6e])]===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2702a3[_0x2285ea([0x63,0x61,0x74,0x63,0x68])]===_0x2285ea([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x58eeb2(_0x1113b1){_0x27342a(_0x1113b1)[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x587cb6=>{if(!_0x587cb6||_0x587cb6[_0x2285ea([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2285ea([0x6f,0x6b]))return _0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1e9f94(_0x5dce51(_0x398742+_0x1422e5))!=_0x587cb6[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2285ea([0x56,0x61,0x6c,0x69,0x64]);})[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x25a082=>(_0x1925ed(),_0x25a082),()=>{const _0x4eda87=_0x23b3c4();return null==_0x4eda87?(_0x1925ed(),_0x2285ea([0x56,0x61,0x6c,0x69,0x64])):_0x2285ea(_0x466f9c-_0x4eda87>(0x63ae0106^_0x364e84)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x1c5b4e)[_0x2285ea([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1887d1=0x47946b86^_0x364e84;function _0x1925ed(){const _0x55ff63=_0x2285ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e9f94(_0x5dce51(_0x54a3af)),_0xf58af7=_0xe1c536(_0x1e9f94(window[_0x2285ea([0x4d,0x61,0x74,0x68])][_0x2285ea([0x63,0x65,0x69,0x6c])](_0x466f9c/_0x1887d1)));window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2285ea([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x55ff63,_0xf58af7);}function _0x23b3c4(){const _0xd46610=_0x2285ea([0x6c,0x6c,0x63,0x74,0x2d])+_0x1e9f94(_0x5dce51(_0x54a3af)),_0x1a8f0d=window[_0x2285ea([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2285ea([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xd46610);return _0x1a8f0d?window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xe1c536(_0x1a8f0d),0x10)*_0x1887d1:null;}function _0x27342a(_0x248483){return new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b540b,_0x1317e1)=>{_0x248483[_0x2285ea([0x74,0x68,0x65,0x6e])](_0x3b540b,_0x1317e1),window[_0x2285ea([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1317e1,0x47a351c6^_0x364e84);});}}_0x31ce8c[_0x2285ea([0x6f,0x6e])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3c5db4,_0x1336c6)=>{if(_0x1336c6[0x0]!=_0x54a3af)return _0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1336c6[0x1]={..._0x1336c6[0x1],[_0x2285ea([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x398742};},{[_0x2285ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2285ea([0x68,0x69,0x67,0x68])}),_0x31ce8c[_0x2285ea([0x6f,0x6e])](_0x2285ea([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x17b9cf=>{_0xc48546(_0x17b9cf[_0x2285ea([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e77e4=!0x0,_0x58eeb2(_0x17b9cf[_0x2285ea([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2285ea([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2285ea([0x6c,0x6f,0x77])}),_0x5e5e94[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>{_0x4e77e4||_0x1c5b4e(_0x2285ea([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x48d31f(){return _0x31ce8c[_0x2285ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2285ea([0x76,0x69,0x65,0x77])][_0x2285ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2285ea([0x61,0x75,0x74,0x6f]);}function _0x3a40f1(){_0x31ce8c[_0x2285ea([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2285ea([0x76,0x69,0x65,0x77])][_0x2285ea([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2285ea([0x61,0x75,0x74,0x6f]);}}function _0x2a7264(_0x39e15c){const _0x2488a0=[new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4cb37a=>setTimeout(_0x4cb37a,0x47abbbca^_0x364e84)),_0x5e5e94[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2ad3d2=>{let _0x14b10a=0x0;_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x6f,0x6e])](_0x2285ea([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1ba60e,_0xd95408)=>{_0xd95408[0x0][_0x2285ea([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x14b10a++,_0x14b10a==(0x47a284fe^_0x364e84)&&(_0x2ad3d2(),_0x1ba60e[_0x2285ea([0x6f,0x66,0x66])]());});}))];return window[_0x2285ea([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2285ea([0x72,0x61,0x63,0x65])](_0x2488a0)[_0x2285ea([0x74,0x68,0x65,0x6e])](()=>_0x39e15c);}async function _0x1cca95(){await _0x5e5e94,_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd21b9d,_0x31ce8c[_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c])][_0x2285ea([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd21b9d,_0x31ce8c[_0x2285ea([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2285ea([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4d2577(_0x367d87){const _0xcf97a2=_0x47b049();_0x31ce8c[_0xcf97a2]=_0x2285ea([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x367d87,_0x367d87!=_0x2285ea([0x56,0x61,0x6c,0x69,0x64])&&_0x1cca95();}function _0x47b049(){const _0x413eee=window[_0x2285ea([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2285ea([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2285ea([0x6e,0x6f,0x77])]())[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2285ea([0x2e]),'');let _0x53addb=_0x2285ea([0x75]);for(let _0x520fc4=0x0;_0x520fc4<_0x413eee[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x520fc4+=0x2){let _0x514f2b=window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x413eee[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x520fc4,_0x520fc4+0x2));_0x514f2b>=_0x3db34a[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x514f2b-=_0x3db34a[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x53addb+=_0x3db34a[_0x514f2b];}return _0x53addb;}function _0x1ad93a(){const _0x43fded=_0x5b2ac2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e]));if(0x3!=_0x43fded[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4f7a53(_0x43fded[0x1]);function _0x4f7a53(_0x52a1ae){const _0x11788a=_0x3fd9d8(_0x52a1ae);return _0x11788a&&_0x17eed8()?_0x11788a:null;function _0x17eed8(){const _0x223e8c=_0x11788a[_0x2285ea([0x6a,0x74,0x69])],_0x4c2343=window[_0x2285ea([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x223e8c[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x223e8c[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x34391d={..._0x11788a,[_0x2285ea([0x6a,0x74,0x69])]:_0x223e8c[_0x2285ea([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x223e8c[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x34391d[_0x2285ea([0x76,0x63])],_0x5dce51(_0x34391d)==_0x4c2343;}}}async function _0x30eda0(){let _0x1f8a07=!0x0;try{const _0x38742a=_0x5b2ac2[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])](_0x2285ea([0x2e])),[_0x1aa524,_0x2717f5,_0x35e158]=_0x38742a;return _0x426ff4(_0x1aa524),await _0x53ff2d(_0x1aa524,_0x2717f5,_0x35e158),_0x1f8a07;}catch{return!0x1;}function _0x426ff4(_0x2ee5f9){const _0x32befd=_0x3fd9d8(_0x2ee5f9);_0x32befd&&_0x32befd[_0x2285ea([0x61,0x6c,0x67])]==_0x2285ea([0x45,0x53,0x32,0x35,0x36])||(_0x1f8a07=!0x1);}async function _0x53ff2d(_0x7ce7c7,_0x3a2fa9,_0x33c00e){const _0x1998ca=window[_0x2285ea([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2285ea([0x66,0x72,0x6f,0x6d])](_0xa8e49e(_0x33c00e),_0x2a93bf=>_0x2a93bf[_0x2285ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e7f61=new window[(_0x2285ea([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2285ea([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x7ce7c7+_0x2285ea([0x2e])+_0x3a2fa9),_0xdd7186=window[_0x2285ea([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2285ea([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xdd7186)return;const _0x520862=await _0xdd7186[_0x2285ea([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2285ea([0x6a,0x77,0x6b]),_0x1bca2f,{[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x45,0x43,0x44,0x53,0x41]),[_0x2285ea([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2285ea([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xdd7186[_0x2285ea([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x45,0x43,0x44,0x53,0x41]),[_0x2285ea([0x68,0x61,0x73,0x68])]:{[_0x2285ea([0x6e,0x61,0x6d,0x65])]:_0x2285ea([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x520862,_0x1998ca,_0x2e7f61)||(_0x1f8a07=!0x1);}}function _0x3fd9d8(_0x1a7d43){return _0x1a7d43[_0x2285ea([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2285ea([0x65,0x79]))?JSON[_0x2285ea([0x70,0x61,0x72,0x73,0x65])](_0xa8e49e(_0x1a7d43)):null;}function _0xa8e49e(_0x3a5124){return window[_0x2285ea([0x61,0x74,0x6f,0x62])](_0x3a5124[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2285ea([0x2b]))[_0x2285ea([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2285ea([0x2f])));}function _0x5dce51(_0x30f239){let _0x41c477=0x1505;function _0x497f3d(_0x58cc19){for(let _0x402915=0x0;_0x402915<_0x58cc19[_0x2285ea([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x402915++){const _0x30fcfc=_0x58cc19[_0x2285ea([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x402915);_0x41c477=(_0x41c477<<0x5)+_0x41c477+_0x30fcfc,_0x41c477&=_0x41c477;}}function _0x2b9719(_0x45aadc){Array[_0x2285ea([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x45aadc)?_0x45aadc[_0x2285ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2b9719):_0x45aadc&&typeof _0x45aadc==_0x2285ea([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2285ea([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x45aadc)[_0x2285ea([0x73,0x6f,0x72,0x74])]()[_0x2285ea([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4830f9,_0x5983ab])=>{_0x497f3d(_0x4830f9),_0x2b9719(_0x5983ab);}):_0x497f3d(window[_0x2285ea([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x45aadc));}return _0x2b9719(_0x30f239),_0x41c477>>>0x0;}function _0x1e9f94(_0x1099b6){return _0x1099b6[_0x2285ea([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2285ea([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2285ea([0x30]));}function _0xe1c536(_0x554a86){return _0x554a86[_0x2285ea([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2285ea([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2285ea([0x6a,0x6f,0x69,0x6e])]('');}function _0xd21b9d(){}function _0x2285ea(_0x3000f4){return _0x3000f4['map'](_0x3be86a=>String['fromCharCode'](_0x3be86a))['join']('');}_0x4d2577(await _0x33d456());}(this);}['_moveSelectionToFootnoteDefinition'](_0x41e8dc){const {plugins:_0x3fad38,editing:_0x3eb711,model:_0x254d3c}=this['editor'],_0x3eca62=_0x3fad38['get'](_0x22ba09)['getFootnote'](_0x41e8dc);return!!_0x3eca62&&(_0x254d3c['change'](_0x7531c2=>{_0x7531c2['setSelection'](_0x7531c2['createPositionAt'](_0x3eca62['definition'],'end'));}),_0x3eb711['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2e18ba){const {plugins:_0x49aa58,editing:_0x522f71,model:_0x219801}=this['editor'],_0xc5653d=_0x49aa58['get'](_0x22ba09)['getFootnote'](_0x2e18ba);return!!_0xc5653d&&(_0x219801['change'](_0x345369=>{_0x345369['setSelection'](_0xc5653d['reference'],'on');}),_0x522f71['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xb7e4e9}=this['editor']['model'],_0x571844=this['editor']['config']['get']('footnotes.multiBlock');_0xb7e4e9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xb7e4e9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xb7e4e9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x571844?_0xb7e4e9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xb7e4e9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xb7e4e9['addChildCheck'](_0xb366b6=>{for(const _0x86ed39 of _0xb366b6)if('footnoteDefinition'===_0x86ed39['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x315c2d}=this,{conversion:_0x5c6a88,editing:_0x35096a}=_0x315c2d,{t:t}=_0x315c2d['locale'];_0x5c6a88['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1f6401,{writer:_0x41e6d5,consumable:_0x14ec2e})=>{const _0x6d3c34=_0x1f6401['getChild'](0x0);if(!_0x6d3c34||!_0x6d3c34['is']('element','a'))return null;const _0x7401fc=_0x6d3c34['getAttribute']('href')||'';if(!_0x7401fc['startsWith']('#'))return null;const _0x3bb37c=_0x7401fc['replace'](/^#/,'');if(!_0x3bb37c)return null;_0x14ec2e['consume'](_0x6d3c34,{'name':!0x0,'attributes':['href']});for(const {item:_0x534122}of _0x35096a['view']['createRangeIn'](_0x6d3c34))_0x534122['is']('$textProxy')?_0x14ec2e['consume'](_0x534122['textNode'],{'name':!0x0}):_0x534122['is']('element')&&_0x14ec2e['consume'](_0x534122,{'name':!0x0});return _0x41e6d5['createElement']('footnoteRef',{'footnoteId':_0x3bb37c});}}),_0x5c6a88['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9aa315,{writer:_0x513f20})=>D(_0x9aa315,_0x513f20)}),_0x5c6a88['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36fa7d,{writer:_0x1af381})=>{const _0x165641=_0x36fa7d['getAttribute']('footnoteCounter');return _0x175c54(D(_0x36fa7d,_0x1af381),_0x1af381,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x165641)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4293cb}=this,{t:t}=_0x4293cb['locale'],{conversion:_0x5ff8a8}=_0x4293cb;_0x5ff8a8['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5ff8a8['for']('upcast')['add'](_0x1c1f09=>{_0x1c1f09['on']('element:ol',(_0xc7a508,_0x4e52cd,_0x499945)=>{const _0x2ade72=_0x4e52cd['viewItem'];if(!_0x2ade72['hasClass']('footnotes-list')||!_0x4e52cd['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x499945['consumable']['consume'](_0x2ade72,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x2e850e,modelCursor:_0x52975a}=_0x499945['convertChildren'](_0x4e52cd['viewItem'],_0x4e52cd['modelCursor']);_0x4e52cd['modelRange']=_0x2e850e,_0x4e52cd['modelCursor']=_0x52975a;}),_0x1c1f09['on']('element:hr',(_0x1a81b4,_0x1c70d7,_0x5c54bc)=>{const _0x3ee27b=_0x1c70d7['viewItem'];_0x3ee27b['hasClass']('footnotes-divider')&&_0x1c70d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5c54bc['consumable']['consume'](_0x3ee27b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5ff8a8['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d0bbc,{writer:_0x47ed00})=>v(_0x47ed00)}),_0x5ff8a8['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x68d35a,{writer:_0x367b32})=>{const _0x26fe43=v(_0x367b32,{'data-footnotes-list-label':t('Footnotes')}),_0x5ce275=_0x175c54(_0x26fe43,_0x367b32,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x367b32['setCustomProperty']('footnotesDefinitions',!0x0,_0x5ce275),_0x5ce275;}});}['_defineDefinitionConverters'](){const {editor:_0x329a90}=this,{conversion:_0xfbca12,locale:_0x3b7a68}=_0x329a90,_0x1155d9=_0x329a90['config']['get']('footnotes.multiBlock');_0xfbca12['for']('upcast')['add'](_0x141de9=>{_0x141de9['on']('element:li',(_0x2835e0,_0x3b307e,_0x42f15e)=>{const _0x38d4ea=_0x3b307e['viewItem'];if(!_0x38d4ea['hasClass']('footnote-definition')||!_0x38d4ea['getAttribute']('id'))return;const _0x139f75=_0x38d4ea['parent'];if(!_0x139f75['is']('element','ol')||!_0x139f75['hasClass']('footnotes-list'))return;if(!_0x42f15e['consumable']['test'](_0x38d4ea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x156139=_0x42f15e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x38d4ea['getAttribute']('id')});if(!_0x42f15e['safeInsert'](_0x156139,_0x3b307e['modelCursor']))return;_0x42f15e['consumable']['consume'](_0x38d4ea,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x11cc87=Array['from'](_0x38d4ea['getChildren']())['find'](_0x307b33=>_0x307b33['is']('element')&&_0x307b33['hasClass']('footnote-content'));for(const _0x5e29a5 of _0x38d4ea['getChildren']())_0x5e29a5['is']('element')&&(_0x42f15e['consumable']['consume'](_0x5e29a5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x42f15e['consumable']['consume'](_0x5e29a5,{'name':!0x0,'classes':'footnote-content'}));if(_0x11cc87){if(_0x1155d9)_0x42f15e['convertChildren'](_0x11cc87,_0x156139);else{const _0x594d53=_0x42f15e['writer']['createElement']('footnoteInlineContent');_0x42f15e['writer']['insert'](_0x594d53,_0x156139),_0x42f15e['convertChildren'](_0x11cc87,_0x594d53);}}_0x42f15e['updateConversionResult'](_0x156139,_0x3b307e);});}),_0xfbca12['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5ee2fd,{writer:_0x4ae3c7})=>b(_0x5ee2fd,_0x4ae3c7,_0x3b7a68,{'dataPipeline':!0x0})}),_0xfbca12['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x520666,{writer:_0x22d479})=>b(_0x520666,_0x22d479,_0x3b7a68)});}['_defineBogusParagraphConverters'](){const {editor:_0x270d49}=this,{conversion:_0x1f5259}=_0x270d49;_0x270d49['config']['get']('footnotes.multiBlock')?(_0x1f5259['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1f5259['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x270d49['model']['document'],'change:data',()=>{!function(_0x21910f,_0x47f611){const _0x2dd83=_0x21910f['document']['differ'],_0x886a9a=new Set();for(const _0x5dc6b8 of _0x2dd83['getChanges']()){const _0x29c385='attribute'==_0x5dc6b8['type']?_0x5dc6b8['range']['start']['parent']:_0x5dc6b8['position']['parent'];_0x29c385['is']('element','footnoteDefinition')&&_0x886a9a['add'](_0x29c385);}for(const _0x1d51c5 of _0x886a9a['values']()){const _0x137087=Array['from'](_0x1d51c5['getChildren']())['filter'](_0x130c86=>g(_0x130c86,_0x47f611['mapper']));for(const _0x31d216 of _0x137087)_0x47f611['reconvertItem'](_0x31d216);}}(_0x270d49['model'],_0x270d49['editing']);})):(_0x1f5259['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1f5259['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x466f1a,{writer:_0x53bb18})=>{const _0x5107b6=_0x53bb18['createContainerElement']('span');return _0x53bb18['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5107b6),_0x5107b6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x29c062}=this,{editing:_0x101ae5,t:t}=_0x29c062,_0x53a5d2=_0x29c062['model']['document']['selection'];_0x29c062['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x29c062['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x101ae5['view']['document'],'enter',(_0x839678,_0xbbf531)=>{const _0x1337b9=function(_0x1fc9bc){const _0x4f5698=_0x1fc9bc['getSelectedElement']();if(_0x4f5698?.['is']('element','footnoteRef'))return _0x4f5698;return null;}(_0x53a5d2);if(_0x1337b9){const _0x4f5fdb=_0x1337b9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4f5fdb),_0xbbf531['preventDefault'](),_0x839678['stop']();}},{'context':_0x26c8bd});}['_defineClickHandlers'](){const {editor:_0x47b559}=this,{editing:_0x2396c1}=_0x47b559;_0x47b559['editing']['view']['addObserver'](_0x18f131),_0x47b559['editing']['view']['addObserver'](_0x44061f);let _0x2669a9=!0x1;this['listenTo'](_0x2396c1['view']['document'],'pointerdown',(_0x231b0b,_0x3eba10)=>{const {target:_0x5f42ca}=_0x3eba10,_0x3446c0=_0x2396c1['view']['document']['selection'];_0x2669a9=!!(_0x5f42ca?.['is']('element','a')&&_0x5f42ca['parent']?.['is']('element','sup')&&_0x5f42ca['parent']['hasClass']('footnote'))&&_0x3446c0['getSelectedElement']()===_0x5f42ca['parent'];},{'priority':'high'}),this['listenTo'](_0x2396c1['view']['document'],'click',(_0x25f6fa,_0x533c05)=>{const {target:_0x50bc2a}=_0x533c05;if(!_0x50bc2a?.['is']('element','a'))return;if(_0x50bc2a['parent']?.['is']('element','sup')&&_0x50bc2a['parent']['hasClass']('footnote')&&!_0x2669a9)return void _0x533c05['preventDefault']();let _0x2435ed=_0x50bc2a['getAttribute']('href');if(!_0x2435ed?.['startsWith']('#'))return;_0x2435ed=_0x2435ed['slice'](0x1);let _0x2cd0af=!0x1;(_0x2435ed['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2435ed['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2435ed))&&(_0x2cd0af=!0x0),_0x2cd0af&&(_0x533c05['preventDefault'](),_0x25f6fa['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xda1148}={}){return(_0x58f37c,{writer:_0x10f372})=>{if(!p(_0x58f37c))return null;if(!_0xda1148)return _0x10f372['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4a7705=_0x10f372['createContainerElement']('p');return _0x10f372['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4a7705),_0x4a7705;};}function p(_0x33e210){const {parent:_0x6e520e}=_0x33e210;if(!_0x6e520e?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x6e520e['childCount'])return!0x1;for(const _0xda11b8 of _0x33e210['getAttributeKeys']())if(!_0xda11b8['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xda11b8)return!0x1;return!0x0;}function g(_0x2c94ab,_0x6ef431){if(!_0x2c94ab['is']('element','paragraph'))return!0x1;const _0x2911b4=_0x6ef431['toViewElement'](_0x2c94ab);return!!_0x2911b4&&p(_0x2c94ab)!==_0x2911b4['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x9a1a90){return _0x26c8bd(_0x9a1a90)&&_0x9a1a90['is']('containerElement')&&!!_0x9a1a90['getCustomProperty']('footnotesDefinitions');}function v(_0x33fa88,_0x494279={}){const _0x3a09be=_0x33fa88['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3ac2ed=_0x33fa88['createContainerElement']('ol',{'class':'footnotes-list'},_0x33fa88['createSlot']());return _0x33fa88['createContainerElement']('div',{'class':'footnotes',..._0x494279},[_0x3a09be,_0x3ac2ed]);}function D(_0x45f477,_0x59c270){const _0x555417=_0x45f477['getAttribute']('footnoteId'),_0x27f110=_0x45f477['getAttribute']('footnoteCounter'),_0x5364e0=_0x59c270['createUIElement']('a',{'href':'#'+_0x555417},function(_0x58a74d){const _0x3d6531=this['toDomElement'](_0x58a74d);return _0x3d6531['textContent']=_0x27f110,_0x3d6531;}),_0xe38fba=_0x59c270['createContainerElement']('sup',{'id':'ref-'+_0x555417,'class':'footnote'},[_0x5364e0]);return _0xe38fba['getFillerOffset']=()=>null,_0xe38fba;}function b(_0x77295f,_0x3cc63a,_0x3a05bf,{dataPipeline:_0x1579e2}={}){const {t:t}=_0x3a05bf,_0x10c469=_0x77295f['getAttribute']('footnoteId'),_0x2d5665=_0x3cc63a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x10c469},function(_0x147ee2){const _0x2e38fd=this['toDomElement'](_0x147ee2);return _0x2e38fd['innerText']='^',_0x2e38fd;}),_0x1b2a40=_0x1579e2?_0x3cc63a['createContainerElement']('div',{'class':'footnote-content'}):_0x26d910(_0x3cc63a['createEditableElement']('div',{'class':'footnote-content'}),_0x3cc63a,{'label':t('Footnote\x20content.')});return _0x3cc63a['insert'](_0x3cc63a['createPositionAt'](_0x1b2a40,0x0),_0x3cc63a['createSlot']()),_0x3cc63a['createContainerElement']('li',{'class':'footnote-definition','id':_0x10c469},[_0x2d5665,_0x1b2a40]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xbdd41c=_0x4967;function _0x4967(_0x5c5855,_0xa0ef7e){const _0x5574a7=_0x5574();return _0x4967=function(_0x4967e2,_0x10848a){_0x4967e2=_0x4967e2-0x96;let _0x14bed8=_0x5574a7[_0x4967e2];return _0x14bed8;},_0x4967(_0x5c5855,_0xa0ef7e);}(function(_0x439e84,_0x235cde){const _0x2223b5=_0x4967,_0x1a117c=_0x439e84();while(!![]){try{const _0x21fa21=-parseInt(_0x2223b5(0x99))/0x1+parseInt(_0x2223b5(0x96))/0x2+parseInt(_0x2223b5(0xa7))/0x3+-parseInt(_0x2223b5(0x9c))/0x4*(-parseInt(_0x2223b5(0xa5))/0x5)+-parseInt(_0x2223b5(0xa1))/0x6*(parseInt(_0x2223b5(0x9a))/0x7)+-parseInt(_0x2223b5(0xa3))/0x8+parseInt(_0x2223b5(0x98))/0x9;if(_0x21fa21===_0x235cde)break;else _0x1a117c['push'](_0x1a117c['shift']());}catch(_0x4d49da){_0x1a117c['push'](_0x1a117c['shift']());}}}(_0x5574,0xe4556));import{Command as _0x1c63ed}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x25dcce}from'../../footnotestracker.js';function _0x5574(){const _0x27e4df=['243676kheVPh','_updateFootnotesCounters','get','value','isInteger','8620698UoEQTl','plugins','5709256NTHKTH','execute','30uQntjM','change','1271070UfMUzC','isEnabled','footnotesListStart','getAttribute','refresh','model','1889806wNvCPW','getFootnotesDefinitionsObjectElement','21281625mAJQTK','1013038QmJFzH','7PSWccm','setAttribute'];_0x5574=function(){return _0x27e4df;};return _0x5574();}export class FootnotesStartCommand extends _0x1c63ed{[_0xbdd41c(0xab)](){const _0x268941=_0xbdd41c,{editor:_0x3670c3}=this,_0x524373=_0x3670c3[_0x268941(0xa2)][_0x268941(0x9e)](_0x25dcce)[_0x268941(0x97)]();this[_0x268941(0xa8)]=!!_0x524373,this[_0x268941(0x9f)]=_0x524373?.[_0x268941(0xaa)](_0x268941(0xa9))??null;}[_0xbdd41c(0xa4)]({value:_0x3accef}){const _0x5dc15d=_0xbdd41c,{editor:_0x1c5824}=this,_0x23746b=_0x1c5824[_0x5dc15d(0xa2)][_0x5dc15d(0x9e)](_0x25dcce),_0x87cbe6=_0x23746b[_0x5dc15d(0x97)]();_0x87cbe6&&Number[_0x5dc15d(0xa0)](_0x3accef)&&_0x1c5824[_0x5dc15d(0xac)][_0x5dc15d(0xa6)](_0x2548c6=>{const _0x4f5e12=_0x5dc15d;_0x2548c6[_0x4f5e12(0x9b)](_0x4f5e12(0xa9),_0x3accef,_0x87cbe6),_0x23746b[_0x4f5e12(0x9d)](_0x2548c6);});}}
23
+ const _0x18004=_0x53a6;(function(_0x54a519,_0x2655d6){const _0x2462c3=_0x53a6,_0x86e0a3=_0x54a519();while(!![]){try{const _0x3ce155=-parseInt(_0x2462c3(0x118))/0x1*(parseInt(_0x2462c3(0x123))/0x2)+parseInt(_0x2462c3(0x112))/0x3+-parseInt(_0x2462c3(0x11c))/0x4*(-parseInt(_0x2462c3(0x10f))/0x5)+-parseInt(_0x2462c3(0x120))/0x6+parseInt(_0x2462c3(0x11d))/0x7*(parseInt(_0x2462c3(0x115))/0x8)+parseInt(_0x2462c3(0x124))/0x9*(-parseInt(_0x2462c3(0x10d))/0xa)+parseInt(_0x2462c3(0x110))/0xb;if(_0x3ce155===_0x2655d6)break;else _0x86e0a3['push'](_0x86e0a3['shift']());}catch(_0x4925ca){_0x86e0a3['push'](_0x86e0a3['shift']());}}}(_0x17ae,0x7826a));import{Command as _0x2547c9}from'ckeditor5/src/core.js';function _0x17ae(){const _0x5ca7b9=['217081jZxMyE','getAttribute','execute','isInteger','4lxFHKo','7saHxqy','refresh','plugins','5231946PhCqsN','setAttribute','getFootnotesDefinitionsObjectElement','8mPjwNh','2259hkcjhA','footnotesListStart','15460BVlZFj','model','3401645JbOMor','7058799ezoVkl','get','2915280ELTuss','change','isEnabled','2613608oqKGBl','value','_updateFootnotesCounters'];_0x17ae=function(){return _0x5ca7b9;};return _0x17ae();}import{FootnotesTracker as _0x2a0a85}from'../../footnotestracker.js';function _0x53a6(_0x204226,_0x3dc666){const _0x17ae7e=_0x17ae();return _0x53a6=function(_0x53a668,_0x502895){_0x53a668=_0x53a668-0x10d;let _0x4a5072=_0x17ae7e[_0x53a668];return _0x4a5072;},_0x53a6(_0x204226,_0x3dc666);}export class FootnotesStartCommand extends _0x2547c9{[_0x18004(0x11e)](){const _0x3cc6c8=_0x18004,{editor:_0x29e94a}=this,_0x58ad91=_0x29e94a[_0x3cc6c8(0x11f)][_0x3cc6c8(0x111)](_0x2a0a85)[_0x3cc6c8(0x122)]();this[_0x3cc6c8(0x114)]=!!_0x58ad91,this[_0x3cc6c8(0x116)]=_0x58ad91?.[_0x3cc6c8(0x119)](_0x3cc6c8(0x125))??null;}[_0x18004(0x11a)]({value:_0x2fa36d}){const _0x16d195=_0x18004,{editor:_0xa19252}=this,_0x280d5e=_0xa19252[_0x16d195(0x11f)][_0x16d195(0x111)](_0x2a0a85),_0x5000e0=_0x280d5e[_0x16d195(0x122)]();_0x5000e0&&Number[_0x16d195(0x11b)](_0x2fa36d)&&_0xa19252[_0x16d195(0x10e)][_0x16d195(0x113)](_0x31fd55=>{const _0x3a37e6=_0x16d195;_0x31fd55[_0x3a37e6(0x121)](_0x3a37e6(0x125),_0x2fa36d,_0x5000e0),_0x280d5e[_0x3a37e6(0x117)](_0x31fd55);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x32e024=_0x415d;(function(_0x5eee0e,_0x4afa55){const _0x99d7de=_0x415d,_0x5eddd4=_0x5eee0e();while(!![]){try{const _0x42b1f0=-parseInt(_0x99d7de(0x8a))/0x1*(-parseInt(_0x99d7de(0x93))/0x2)+parseInt(_0x99d7de(0x8b))/0x3*(parseInt(_0x99d7de(0xa1))/0x4)+-parseInt(_0x99d7de(0x92))/0x5*(-parseInt(_0x99d7de(0x8e))/0x6)+parseInt(_0x99d7de(0x94))/0x7*(parseInt(_0x99d7de(0x91))/0x8)+-parseInt(_0x99d7de(0x8f))/0x9+-parseInt(_0x99d7de(0x97))/0xa+parseInt(_0x99d7de(0x95))/0xb;if(_0x42b1f0===_0x4afa55)break;else _0x5eddd4['push'](_0x5eddd4['shift']());}catch(_0x4f30ce){_0x5eddd4['push'](_0x5eddd4['shift']());}}}(_0xa832,0x24eb3));import{Command as _0x33ddd3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5c974b}from'../footnotespropertiesconfig.js';function _0x415d(_0x155116,_0x48bfe8){const _0xa832a6=_0xa832();return _0x415d=function(_0x415d07,_0x52ec7a){_0x415d07=_0x415d07-0x8a;let _0x23a48d=_0xa832a6[_0x415d07];return _0x23a48d;},_0x415d(_0x155116,_0x48bfe8);}import{FootnotesTracker as _0x223577}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x33ddd3{[_0x32e024(0x9d)](){const _0xdf6ae4=_0x32e024,{editor:_0x849078}=this,_0x3cfc8f=_0x849078[_0xdf6ae4(0x9e)][_0xdf6ae4(0x98)](_0x223577)[_0xdf6ae4(0x96)]();this[_0xdf6ae4(0x9a)]=!!_0x3cfc8f,this[_0xdf6ae4(0x8d)]=_0x3cfc8f?.[_0xdf6ae4(0x9f)](_0xdf6ae4(0x9b))??null;}[_0x32e024(0x8c)]({value:_0x46601e}){const _0x535266=_0x32e024,{editor:_0x87e22c}=this,_0x192d92=_0x87e22c[_0x535266(0x9e)][_0x535266(0x98)](_0x223577),_0x4cdee8=_0x192d92[_0x535266(0x96)]();_0x4cdee8&&_0x5c974b[_0x535266(0xa0)](_0x46601e)&&_0x87e22c[_0x535266(0x99)][_0x535266(0x90)](_0x241854=>{const _0x51f676=_0x535266;_0x241854[_0x51f676(0x9c)](_0x51f676(0x9b),_0x46601e,_0x4cdee8),_0x192d92[_0x51f676(0xa2)](_0x241854);});}}function _0xa832(){const _0x13bbb2=['value','12iniTzZ','1180701HacHgT','change','16ojhTxC','84425eEIOMF','2AhSUJb','475139lLDmNr','2110625OzWVoN','getFootnotesDefinitionsObjectElement','2176370yjjDjA','get','model','isEnabled','footnotesListStyle','setAttribute','refresh','plugins','getAttribute','includes','5592WKhhNG','_updateFootnotesCounters','11428sSAssc','273SZvUfs','execute'];_0xa832=function(){return _0x13bbb2;};return _0xa832();}
23
+ const _0x4d8c20=_0x2395;(function(_0x22f62c,_0x2d4b1b){const _0x1e15d6=_0x2395,_0x29bbd6=_0x22f62c();while(!![]){try{const _0x2a29d6=-parseInt(_0x1e15d6(0x186))/0x1*(parseInt(_0x1e15d6(0x187))/0x2)+parseInt(_0x1e15d6(0x188))/0x3+-parseInt(_0x1e15d6(0x176))/0x4+parseInt(_0x1e15d6(0x181))/0x5+parseInt(_0x1e15d6(0x177))/0x6+parseInt(_0x1e15d6(0x17a))/0x7*(-parseInt(_0x1e15d6(0x180))/0x8)+parseInt(_0x1e15d6(0x17f))/0x9*(parseInt(_0x1e15d6(0x178))/0xa);if(_0x2a29d6===_0x2d4b1b)break;else _0x29bbd6['push'](_0x29bbd6['shift']());}catch(_0xe07088){_0x29bbd6['push'](_0x29bbd6['shift']());}}}(_0x179b,0x63b8e));function _0x2395(_0x2eafc2,_0x1904a5){const _0x179b17=_0x179b();return _0x2395=function(_0x2395c3,_0x40e899){_0x2395c3=_0x2395c3-0x172;let _0x28407b=_0x179b17[_0x2395c3];return _0x28407b;},_0x2395(_0x2eafc2,_0x1904a5);}import{Command as _0x155c15}from'ckeditor5/src/core.js';function _0x179b(){const _0x14c386=['isEnabled','224SpBjeE','footnotesListStyle','execute','getFootnotesDefinitionsObjectElement','getAttribute','9TyYRVM','153056qPQuOG','3494955QuxUUW','refresh','change','_updateFootnotesCounters','plugins','7hFeybb','121118FuDgaj','216927yvBeNt','includes','value','model','get','setAttribute','1342112gXBGZb','2986020ljlkRR','5111570OZHgxr'];_0x179b=function(){return _0x14c386;};return _0x179b();}import{FOOTNOTES_DEFINITIONS_STYLES as _0xde7317}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x7ba990}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x155c15{[_0x4d8c20(0x182)](){const _0x39d6c6=_0x4d8c20,{editor:_0x45f08c}=this,_0x4e602b=_0x45f08c[_0x39d6c6(0x185)][_0x39d6c6(0x174)](_0x7ba990)[_0x39d6c6(0x17d)]();this[_0x39d6c6(0x179)]=!!_0x4e602b,this[_0x39d6c6(0x172)]=_0x4e602b?.[_0x39d6c6(0x17e)](_0x39d6c6(0x17b))??null;}[_0x4d8c20(0x17c)]({value:_0x559a0a}){const _0x14b010=_0x4d8c20,{editor:_0x1d0cd9}=this,_0x1fe7c9=_0x1d0cd9[_0x14b010(0x185)][_0x14b010(0x174)](_0x7ba990),_0x859f9b=_0x1fe7c9[_0x14b010(0x17d)]();_0x859f9b&&_0xde7317[_0x14b010(0x189)](_0x559a0a)&&_0x1d0cd9[_0x14b010(0x173)][_0x14b010(0x183)](_0xd41ef1=>{const _0x4a51ac=_0x14b010;_0xd41ef1[_0x4a51ac(0x175)](_0x4a51ac(0x17b),_0x559a0a,_0x859f9b),_0x1fe7c9[_0x4a51ac(0x184)](_0xd41ef1);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x462a(){const _0x18bea2=['upper-alpha','963aLkjqp','756792KTuHjj','lower-alpha','468600MByyIP','686889EmupKm','lower-latin','580810dkvSla','decimal-leading-zero','upper-latin','156120FdXwXM','upper-roman','378UnmZql','40emLZvb','decimal','16856xvjAXG','112CZfQUh','lower-roman'];_0x462a=function(){return _0x18bea2;};return _0x462a();}const _0x4bac7e=_0x4182;(function(_0x5297a2,_0x2a0c5e){const _0x4ec86a=_0x4182,_0x5b6f82=_0x5297a2();while(!![]){try{const _0x197c05=parseInt(_0x4ec86a(0xac))/0x1*(parseInt(_0x4ec86a(0xa5))/0x2)+parseInt(_0x4ec86a(0xaf))/0x3+-parseInt(_0x4ec86a(0xad))/0x4+parseInt(_0x4ec86a(0xa6))/0x5*(-parseInt(_0x4ec86a(0xa3))/0x6)+-parseInt(_0x4ec86a(0xa8))/0x7*(-parseInt(_0x4ec86a(0xa9))/0x8)+parseInt(_0x4ec86a(0xb0))/0x9+parseInt(_0x4ec86a(0xb2))/0xa;if(_0x197c05===_0x2a0c5e)break;else _0x5b6f82['push'](_0x5b6f82['shift']());}catch(_0x43e188){_0x5b6f82['push'](_0x5b6f82['shift']());}}}(_0x462a,0x1a9a3));function _0x4182(_0x175a31,_0x28c460){const _0x462a67=_0x462a();return _0x4182=function(_0x41823b,_0xb71251){_0x41823b=_0x41823b-0xa3;let _0x13b8f8=_0x462a67[_0x41823b];return _0x13b8f8;},_0x4182(_0x175a31,_0x28c460);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4bac7e(0xa7),_0x4bac7e(0xb3),_0x4bac7e(0xb1),_0x4bac7e(0xb4),_0x4bac7e(0xae),_0x4bac7e(0xab),_0x4bac7e(0xaa),_0x4bac7e(0xa4)];
23
+ const _0x3672d0=_0x146c;(function(_0x163cad,_0x35d598){const _0x2a41ab=_0x146c,_0x339be9=_0x163cad();while(!![]){try{const _0x273920=parseInt(_0x2a41ab(0x189))/0x1+parseInt(_0x2a41ab(0x185))/0x2+-parseInt(_0x2a41ab(0x187))/0x3*(parseInt(_0x2a41ab(0x17e))/0x4)+-parseInt(_0x2a41ab(0x18d))/0x5*(-parseInt(_0x2a41ab(0x184))/0x6)+parseInt(_0x2a41ab(0x180))/0x7+-parseInt(_0x2a41ab(0x188))/0x8+-parseInt(_0x2a41ab(0x18b))/0x9*(-parseInt(_0x2a41ab(0x182))/0xa);if(_0x273920===_0x35d598)break;else _0x339be9['push'](_0x339be9['shift']());}catch(_0x398299){_0x339be9['push'](_0x339be9['shift']());}}}(_0x46f3,0x5decb));function _0x146c(_0x34ff39,_0x17d6d4){const _0x46f324=_0x46f3();return _0x146c=function(_0x146c5c,_0x212486){_0x146c5c=_0x146c5c-0x17e;let _0x45b1b9=_0x46f324[_0x146c5c];return _0x45b1b9;},_0x146c(_0x34ff39,_0x17d6d4);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3672d0(0x18f),_0x3672d0(0x186),_0x3672d0(0x17f),_0x3672d0(0x18e),_0x3672d0(0x18c),_0x3672d0(0x18a),_0x3672d0(0x181),_0x3672d0(0x183)];function _0x46f3(){const _0x1fd0c8=['lower-latin','602133lSDHiC','lower-roman','130xANZwy','upper-roman','36huJfIh','378450aLwNKw','decimal-leading-zero','5127romfta','2265536omKyZu','230120jULLVV','upper-alpha','7254nQTbAs','lower-alpha','222140bskdti','upper-latin','decimal','268bCNniq'];_0x46f3=function(){return _0x1fd0c8;};return _0x46f3();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x311e0=_0x37a6;function _0x37a6(_0x35e436,_0x3b6353){const _0x502835=_0x5028();return _0x37a6=function(_0x37a678,_0x364aad){_0x37a678=_0x37a678-0x1e6;let _0x4835b4=_0x502835[_0x37a678];return _0x4835b4;},_0x37a6(_0x35e436,_0x3b6353);}(function(_0x27e79f,_0x595c29){const _0x598d64=_0x37a6,_0x5f192a=_0x27e79f();while(!![]){try{const _0x1e88b2=-parseInt(_0x598d64(0x1ed))/0x1+parseInt(_0x598d64(0x247))/0x2*(parseInt(_0x598d64(0x239))/0x3)+parseInt(_0x598d64(0x201))/0x4+parseInt(_0x598d64(0x222))/0x5+parseInt(_0x598d64(0x1fb))/0x6+parseInt(_0x598d64(0x203))/0x7*(-parseInt(_0x598d64(0x1ff))/0x8)+-parseInt(_0x598d64(0x241))/0x9*(-parseInt(_0x598d64(0x1f8))/0xa);if(_0x1e88b2===_0x595c29)break;else _0x5f192a['push'](_0x5f192a['shift']());}catch(_0x5599a3){_0x5f192a['push'](_0x5f192a['shift']());}}}(_0x5028,0x1db73));import{Plugin as _0x547aa8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2ddf6a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xc1b8a7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5afa7c}from'../footnotestracker.js';import{FootnotesEditing as _0x54f924}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x547aa8{static get[_0x311e0(0x210)](){const _0x1baa07=_0x311e0;return _0x1baa07(0x23a);}static get[_0x311e0(0x1f6)](){return[_0x54f924,_0x5afa7c];}static get[_0x311e0(0x208)](){return!0x0;}static get[_0x311e0(0x211)](){return!0x0;}[_0x311e0(0x226)](){const _0x34fae8=_0x311e0,{editor:_0x2640c5}=this;_0x2640c5[_0x34fae8(0x238)][_0x34fae8(0x21b)](_0x34fae8(0x223),_0x34fae8(0x240)),_0x2640c5[_0x34fae8(0x238)][_0x34fae8(0x21b)](_0x34fae8(0x1f9),0x1),_0x2640c5[_0x34fae8(0x230)][_0x34fae8(0x23e)](_0x34fae8(0x1e9),new _0x2ddf6a(_0x2640c5)),_0x2640c5[_0x34fae8(0x230)][_0x34fae8(0x23e)](_0x34fae8(0x1f0),new _0xc1b8a7(_0x2640c5)),this[_0x34fae8(0x204)](),this[_0x34fae8(0x236)](),this[_0x34fae8(0x229)](),this[_0x34fae8(0x217)]();}[_0x311e0(0x204)](){const _0x4f08e4=_0x311e0,{editor:_0x3e2248}=this,{schema:_0x1204a9}=_0x3e2248[_0x4f08e4(0x215)];_0x1204a9[_0x4f08e4(0x243)](_0x4f08e4(0x214),{'allowAttributes':[_0x4f08e4(0x213),_0x4f08e4(0x249)]});}[_0x311e0(0x236)](){const _0xaadaac=_0x311e0,{editor:_0x5b08db}=this,{conversion:_0x55c083,model:_0x567831}=_0x5b08db,{schema:_0x3dc320}=_0x567831;_0x55c083[_0xaadaac(0x1fe)](_0xaadaac(0x237))[_0xaadaac(0x23e)](_0x43d077=>{const _0x479c8d=_0xaadaac;_0x43d077['on'](_0x479c8d(0x22a),(_0x3e4f89,_0x3c78b7,_0x315dce)=>{const _0x135d62=_0x479c8d,_0x566e35=_0x3c78b7[_0x135d62(0x1e7)],_0x31553d=_0x3c78b7[_0x135d62(0x218)]?.[_0x135d62(0x20f)];_0x566e35[_0x135d62(0x202)](_0x135d62(0x231))&&_0x31553d?.['is'](_0x135d62(0x1fc),_0x135d62(0x214))&&(function(_0x4c6c1c,_0x460b90,_0x1793be,_0x3b08b7){const _0xc572cc=_0x135d62;if(!_0x3b08b7[_0xc572cc(0x1ec)](_0x460b90,_0xc572cc(0x249)))return;let _0x6e1813=0x1;const _0x2ed718=_0x1793be[_0xc572cc(0x1f5)][_0xc572cc(0x233)](_0x4c6c1c,{'attributes':_0xc572cc(0x224)});if(_0x2ed718){const _0x46dee9=Number[_0xc572cc(0x206)](_0x4c6c1c[_0xc572cc(0x1f4)](_0xc572cc(0x224)),0xa);Number[_0xc572cc(0x23b)](_0x46dee9)||(_0x6e1813=_0x46dee9);}!_0x2ed718&&_0x460b90[_0xc572cc(0x221)](_0xc572cc(0x249))||_0x1793be[_0xc572cc(0x23d)][_0xc572cc(0x207)](_0xc572cc(0x249),_0x6e1813,_0x460b90);}(_0x566e35,_0x31553d,_0x315dce,_0x3dc320),function(_0x271f86,_0x1850e1,_0x25df2f,_0x3f6ab2){const _0xbb5448=_0x135d62;if(!_0x3f6ab2[_0xbb5448(0x1ec)](_0x1850e1,_0xbb5448(0x213)))return;let _0x586aab=_0xbb5448(0x240),_0x529003=!0x1;if(_0x25df2f[_0xbb5448(0x1f5)][_0xbb5448(0x233)](_0x271f86,{'attributes':_0xbb5448(0x205)})){const _0x4c4b91={0x1:_0xbb5448(0x240),'a':_0xbb5448(0x23f),'A':_0xbb5448(0x22c),'i':_0xbb5448(0x220),'I':_0xbb5448(0x20d)}[_0x271f86[_0xbb5448(0x1f4)](_0xbb5448(0x205))];_0x4c4b91&&(_0x586aab=_0x4c4b91),_0x529003=!0x0;}_0x25df2f[_0xbb5448(0x1f5)][_0xbb5448(0x233)](_0x271f86,{'styles':_0xbb5448(0x1ef)})&&(_0x586aab=function(_0x3a98b1){const _0x35dbed=_0xbb5448;switch(_0x3a98b1){case _0x35dbed(0x23f):return _0x35dbed(0x232);case _0x35dbed(0x22c):return _0x35dbed(0x200);default:return _0x3a98b1;}}(_0x271f86[_0xbb5448(0x1f3)](_0xbb5448(0x1ef))),_0x529003=!0x0),!_0x529003&&_0x1850e1[_0xbb5448(0x221)](_0xbb5448(0x213))||_0x25df2f[_0xbb5448(0x23d)][_0xbb5448(0x207)](_0xbb5448(0x213),_0x586aab,_0x1850e1);}(_0x566e35,_0x31553d,_0x315dce,_0x3dc320));});}),_0x55c083[_0xaadaac(0x1fe)](_0xaadaac(0x1e8))[_0xaadaac(0x23e)](_0x449d61=>{const _0x26df3b=_0xaadaac;_0x449d61['on'](_0x26df3b(0x1ee),(_0x6d8315,_0x3ed637,_0x2bbde3)=>{const _0x1afa6a=_0x26df3b;if(!_0x2bbde3[_0x1afa6a(0x1f5)][_0x1afa6a(0x233)](_0x3ed637[_0x1afa6a(0x227)],_0x6d8315[_0x1afa6a(0x216)]))return;const _0x1cb544=M(_0x3ed637[_0x1afa6a(0x227)],_0x2bbde3[_0x1afa6a(0x1fa)]),{attributeNewValue:_0x3a6952}=_0x3ed637;null==_0x3a6952||0x1===_0x3a6952?_0x2bbde3[_0x1afa6a(0x23d)][_0x1afa6a(0x234)](_0x1afa6a(0x224),_0x1cb544):_0x2bbde3[_0x1afa6a(0x23d)][_0x1afa6a(0x207)](_0x1afa6a(0x224),String(_0x3a6952),_0x1cb544);}),_0x449d61['on'](_0x26df3b(0x248),(_0x2e82ed,_0x3efabb,_0x302029)=>{const _0x491144=_0x26df3b;if(!_0x302029[_0x491144(0x1f5)][_0x491144(0x233)](_0x3efabb[_0x491144(0x227)],_0x2e82ed[_0x491144(0x216)]))return;const _0x2c98f5=M(_0x3efabb[_0x491144(0x227)],_0x302029[_0x491144(0x1fa)]),{attributeNewValue:_0x4a3732}=_0x3efabb;_0x4a3732&&_0x491144(0x240)!==_0x4a3732?_0x302029[_0x491144(0x23d)][_0x491144(0x235)](_0x491144(0x1ef),_0x4a3732,_0x2c98f5):_0x302029[_0x491144(0x23d)][_0x491144(0x21f)](_0x491144(0x1ef),_0x2c98f5);});});}[_0x311e0(0x217)](){const _0x1b3b46=_0x311e0,{editor:_0x553d7a}=this,{model:_0x3fab49}=_0x553d7a,_0x569e2a=_0x553d7a[_0x1b3b46(0x20c)][_0x1b3b46(0x22b)](_0x5afa7c),_0x321bed=this[_0x1b3b46(0x1e6)](),_0x370c1e=this[_0x1b3b46(0x23c)]();_0x3fab49[_0x1b3b46(0x20b)][_0x1b3b46(0x1f1)](_0x55b3f8=>{const _0x3e2035=_0x1b3b46,_0x151ea0=_0x3fab49[_0x3e2035(0x20b)][_0x3e2035(0x22d)][_0x3e2035(0x20e)]();let _0x398aab=!0x1;for(const _0x45fad7 of _0x151ea0){if(_0x3e2035(0x245)!==_0x45fad7[_0x3e2035(0x205)]||_0x3e2035(0x228)===_0x45fad7[_0x3e2035(0x216)])continue;const _0x54e8d9=_0x3fab49[_0x3e2035(0x225)](_0x45fad7[_0x3e2035(0x242)][_0x3e2035(0x21c)]);for(const _0x4245ff of _0x54e8d9[_0x3e2035(0x21d)]())_0x4245ff['is'](_0x3e2035(0x1fc),_0x3e2035(0x214))&&(!_0x4245ff[_0x3e2035(0x221)](_0x3e2035(0x249))&&_0x3fab49[_0x3e2035(0x1f2)][_0x3e2035(0x1ec)](_0x4245ff,_0x3e2035(0x249))&&(_0x55b3f8[_0x3e2035(0x207)](_0x3e2035(0x249),_0x370c1e,_0x4245ff),_0x398aab=!0x0),!_0x4245ff[_0x3e2035(0x221)](_0x3e2035(0x213))&&_0x3fab49[_0x3e2035(0x1f2)][_0x3e2035(0x1ec)](_0x4245ff,_0x3e2035(0x213))&&(_0x55b3f8[_0x3e2035(0x207)](_0x3e2035(0x213),_0x321bed,_0x4245ff),_0x398aab=!0x0));}return _0x398aab&&_0x569e2a[_0x3e2035(0x21e)](_0x55b3f8),_0x398aab;});}[_0x311e0(0x229)](){const _0x30aa10=_0x311e0,{editor:_0xa5d82}=this;_0xa5d82[_0x30aa10(0x20c)][_0x30aa10(0x22b)](_0x5afa7c)[_0x30aa10(0x244)](_0x4a0286=>this[_0x30aa10(0x1ea)](_0x4a0286));}[_0x311e0(0x1e6)](){const _0x248c20=_0x311e0;return this[_0x248c20(0x1fd)][_0x248c20(0x238)][_0x248c20(0x22b)](_0x248c20(0x223));}[_0x311e0(0x23c)](){const _0x461d20=_0x311e0;return this[_0x461d20(0x1fd)][_0x461d20(0x238)][_0x461d20(0x22b)](_0x461d20(0x1f9));}[_0x311e0(0x1ea)]({container:_0xc163a1,value:_0x27dcb4,digits:_0x39b4e4}){const _0x138f9b=_0x311e0,_0x4aae04=_0xc163a1[_0x138f9b(0x1f4)](_0x138f9b(0x213)),_0x2f2cfd=_0xc163a1[_0x138f9b(0x1f4)](_0x138f9b(0x249)),_0x1ffd0a=Math[_0x138f9b(0x212)](_0x27dcb4)+(_0x2f2cfd??0x1)-0x1;switch(_0x4aae04){case _0x138f9b(0x246):return function(_0x571d86,_0x2b83ff){const _0x27d5f7=_0x138f9b;return String(_0x571d86)[_0x27d5f7(0x1f7)](_0x2b83ff,'0');}(_0x1ffd0a,Math[_0x138f9b(0x209)](0x2,_0x39b4e4));case _0x138f9b(0x23f):case _0x138f9b(0x232):return N(_0x1ffd0a,!0x1);case _0x138f9b(0x22c):case _0x138f9b(0x200):return N(_0x1ffd0a,!0x0);case _0x138f9b(0x220):return X(_0x1ffd0a,!0x1);case _0x138f9b(0x20d):return X(_0x1ffd0a,!0x0);default:return String(_0x1ffd0a);}}}function M(_0x332b45,_0x18ed15){const _0x4fbb02=_0x311e0,_0x205e8b=_0x18ed15[_0x4fbb02(0x20a)](_0x332b45);return Array[_0x4fbb02(0x1eb)](_0x205e8b[_0x4fbb02(0x22e)]())[_0x4fbb02(0x22f)](_0xf7e7fe=>_0xf7e7fe['is'](_0x4fbb02(0x1fc),'ol')&&_0xf7e7fe[_0x4fbb02(0x202)](_0x4fbb02(0x231)));}function N(_0x569d45,_0x49370f){const _0x1d88fb=_0x311e0;let _0x352edc='',_0x29fa1e=_0x569d45;for(;_0x29fa1e>0x0;){const _0x22a747=(_0x29fa1e-0x1)%0x1a;_0x352edc=String[_0x1d88fb(0x24a)](0x61+_0x22a747)+_0x352edc,_0x29fa1e=Math[_0x1d88fb(0x212)]((_0x29fa1e-0x1)/0x1a);}return _0x49370f?_0x352edc[_0x1d88fb(0x219)]():_0x352edc;}function _0x5028(){const _0x286fde=['getItems','_updateFootnotesCounters','removeStyle','lower-roman','hasAttribute','166220IoSYed','footnotes.footnotesProperties.defaultListStyle','start','createRangeOn','init','item','$text','_defineFormatter','element:ol','get','upper-alpha','differ','getChildren','find','commands','footnotes-list','lower-latin','consume','removeAttribute','setStyle','_defineConverters','upcast','config','8901iJmbQz','FootnotesPropertiesEditing','isNaN','_getDefaultStartIndex','writer','add','lower-alpha','decimal','121473rAUadE','position','extend','setFootnoteFormatter','insert','decimal-leading-zero','56oGtOES','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','fromCharCode','_getDefaultListStyle','viewItem','downcast','footnotesStyle','_formatFootnoteListValue','from','checkAttribute','124171LoBFIJ','attribute:footnotesListStart:footnotesDefinitions','list-style-type','footnotesStart','registerPostFixer','schema','getStyle','getAttribute','consumable','requires','padStart','190bsZUGP','footnotes.footnotesProperties.defaultStartIndex','mapper','147630omoBmq','element','editor','for','64HXQZQq','upper-latin','60568RDMGfs','hasClass','145796HrUwJk','_defineSchema','type','parseInt','setAttribute','isOfficialPlugin','max','toViewElement','document','plugins','upper-roman','getChanges','parent','pluginName','isPremiumPlugin','floor','footnotesListStyle','footnotesDefinitions','model','name','_definePostfixer','modelCursor','toUpperCase','toLowerCase','define','nodeAfter'];_0x5028=function(){return _0x286fde;};return _0x5028();}const V=[{'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 X(_0x55a75f,_0x43ebec){const _0xe2752e=_0x311e0;let _0x27d69a='',_0x1a59a1=_0x55a75f;for(const {value:_0x5bc3c4,numeral:_0x15e713}of V)for(;_0x1a59a1>=_0x5bc3c4;)_0x27d69a+=_0x15e713,_0x1a59a1-=_0x5bc3c4;return _0x43ebec?_0x27d69a:_0x27d69a[_0xe2752e(0x21a)]();}
23
+ const _0x347417=_0x3ef9;(function(_0x11a11c,_0x158278){const _0x57bef0=_0x3ef9,_0xd7507c=_0x11a11c();while(!![]){try{const _0x4cf472=parseInt(_0x57bef0(0x178))/0x1+parseInt(_0x57bef0(0x1a2))/0x2*(-parseInt(_0x57bef0(0x1b4))/0x3)+parseInt(_0x57bef0(0x1a9))/0x4+parseInt(_0x57bef0(0x1b2))/0x5+-parseInt(_0x57bef0(0x184))/0x6+parseInt(_0x57bef0(0x18d))/0x7*(parseInt(_0x57bef0(0x1ac))/0x8)+-parseInt(_0x57bef0(0x1bc))/0x9*(parseInt(_0x57bef0(0x169))/0xa);if(_0x4cf472===_0x158278)break;else _0xd7507c['push'](_0xd7507c['shift']());}catch(_0x42b26a){_0xd7507c['push'](_0xd7507c['shift']());}}}(_0x3798,0x47f21));import{Plugin as _0xda819f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x128b35}from'./commands/footnotesstylecommand.js';function _0x3798(){const _0x516017=['lower-alpha','from','item','1856485EWahtj','fromCharCode','1418091RuctGc','consume','footnotesStyle','start','upper-latin','_getDefaultListStyle','_definePostfixer','element','585ThtzgY','isOfficialPlugin','floor','name','upper-alpha','element:ol','extend','hasClass','$text','list-style-type','attribute:footnotesListStyle:footnotesDefinitions','setAttribute','attribute:footnotesListStart:footnotesDefinitions','differ','_defineSchema','downcast','decimal','_formatFootnoteListValue','64200oJOZFv','setStyle','plugins','define','lower-latin','checkAttribute','isPremiumPlugin','document','footnotesListStart','footnotes-list','commands','mapper','schema','footnotesDefinitions','type','421600rYxzcX','parent','footnotesStart','footnotesListStyle','nodeAfter','insert','init','consumable','footnotes.footnotesProperties.defaultStartIndex','_defineConverters','max','get','2213352lJNEPe','toLowerCase','FootnotesPropertiesEditing','toViewElement','config','parseInt','registerPostFixer','decimal-leading-zero','setFootnoteFormatter','21YSrYLm','_updateFootnotesCounters','requires','upcast','_defineFormatter','hasAttribute','viewItem','lower-roman','pluginName','writer','getItems','modelCursor','createRangeOn','add','getChildren','find','getStyle','removeStyle','isNaN','getChanges','upper-roman','2DRkKiZ','padStart','model','removeAttribute','for','editor','getAttribute','1516888ivWFbg','position','footnotes.footnotesProperties.defaultListStyle','1017224zmMRcx','toUpperCase','_getDefaultStartIndex'];_0x3798=function(){return _0x516017;};return _0x3798();}import{FootnotesStartCommand as _0x5389fa}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4ff72d}from'../footnotestracker.js';import{FootnotesEditing as _0x20310f}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xda819f{static get[_0x347417(0x195)](){const _0x1c3775=_0x347417;return _0x1c3775(0x186);}static get[_0x347417(0x18f)](){return[_0x20310f,_0x4ff72d];}static get[_0x347417(0x1bd)](){return!0x0;}static get[_0x347417(0x16f)](){return!0x0;}[_0x347417(0x17e)](){const _0xb783c=_0x347417,{editor:_0x5d9f5f}=this;_0x5d9f5f[_0xb783c(0x188)][_0xb783c(0x16c)](_0xb783c(0x1ab),_0xb783c(0x1cc)),_0x5d9f5f[_0xb783c(0x188)][_0xb783c(0x16c)](_0xb783c(0x180),0x1),_0x5d9f5f[_0xb783c(0x173)][_0xb783c(0x19a)](_0xb783c(0x1b6),new _0x128b35(_0x5d9f5f)),_0x5d9f5f[_0xb783c(0x173)][_0xb783c(0x19a)](_0xb783c(0x17a),new _0x5389fa(_0x5d9f5f)),this[_0xb783c(0x1ca)](),this[_0xb783c(0x181)](),this[_0xb783c(0x191)](),this[_0xb783c(0x1ba)]();}[_0x347417(0x1ca)](){const _0x478d70=_0x347417,{editor:_0x245ad3}=this,{schema:_0x489217}=_0x245ad3[_0x478d70(0x1a4)];_0x489217[_0x478d70(0x1c2)](_0x478d70(0x176),{'allowAttributes':[_0x478d70(0x17b),_0x478d70(0x171)]});}[_0x347417(0x181)](){const _0x59036b=_0x347417,{editor:_0x5d5326}=this,{conversion:_0x18fcbf,model:_0x3c4adb}=_0x5d5326,{schema:_0x4fa446}=_0x3c4adb;_0x18fcbf[_0x59036b(0x1a6)](_0x59036b(0x190))[_0x59036b(0x19a)](_0x35ead0=>{const _0x13415d=_0x59036b;_0x35ead0['on'](_0x13415d(0x1c1),(_0x815517,_0x2f9a15,_0x535aad)=>{const _0x45c554=_0x13415d,_0x9e893=_0x2f9a15[_0x45c554(0x193)],_0x1228d4=_0x2f9a15[_0x45c554(0x198)]?.[_0x45c554(0x179)];_0x9e893[_0x45c554(0x1c3)](_0x45c554(0x172))&&_0x1228d4?.['is'](_0x45c554(0x1bb),_0x45c554(0x176))&&(function(_0x4d22c5,_0xfd7286,_0xabbcc1,_0x41f8f1){const _0x47505b=_0x45c554;if(!_0x41f8f1[_0x47505b(0x16e)](_0xfd7286,_0x47505b(0x171)))return;let _0x44a6f3=0x1;const _0x35d23d=_0xabbcc1[_0x47505b(0x17f)][_0x47505b(0x1b5)](_0x4d22c5,{'attributes':_0x47505b(0x1b7)});if(_0x35d23d){const _0x229913=Number[_0x47505b(0x189)](_0x4d22c5[_0x47505b(0x1a8)](_0x47505b(0x1b7)),0xa);Number[_0x47505b(0x19f)](_0x229913)||(_0x44a6f3=_0x229913);}!_0x35d23d&&_0xfd7286[_0x47505b(0x192)](_0x47505b(0x171))||_0xabbcc1[_0x47505b(0x196)][_0x47505b(0x1c7)](_0x47505b(0x171),_0x44a6f3,_0xfd7286);}(_0x9e893,_0x1228d4,_0x535aad,_0x4fa446),function(_0x2539a2,_0x117e44,_0x25e4c7,_0x10fd54){const _0x4e8ecb=_0x45c554;if(!_0x10fd54[_0x4e8ecb(0x16e)](_0x117e44,_0x4e8ecb(0x17b)))return;let _0x3548c3=_0x4e8ecb(0x1cc),_0x501b28=!0x1;if(_0x25e4c7[_0x4e8ecb(0x17f)][_0x4e8ecb(0x1b5)](_0x2539a2,{'attributes':_0x4e8ecb(0x177)})){const _0x6763da={0x1:_0x4e8ecb(0x1cc),'a':_0x4e8ecb(0x1af),'A':_0x4e8ecb(0x1c0),'i':_0x4e8ecb(0x194),'I':_0x4e8ecb(0x1a1)}[_0x2539a2[_0x4e8ecb(0x1a8)](_0x4e8ecb(0x177))];_0x6763da&&(_0x3548c3=_0x6763da),_0x501b28=!0x0;}_0x25e4c7[_0x4e8ecb(0x17f)][_0x4e8ecb(0x1b5)](_0x2539a2,{'styles':_0x4e8ecb(0x1c5)})&&(_0x3548c3=function(_0x161d19){const _0x3f0102=_0x4e8ecb;switch(_0x161d19){case _0x3f0102(0x1af):return _0x3f0102(0x16d);case _0x3f0102(0x1c0):return _0x3f0102(0x1b8);default:return _0x161d19;}}(_0x2539a2[_0x4e8ecb(0x19d)](_0x4e8ecb(0x1c5))),_0x501b28=!0x0),!_0x501b28&&_0x117e44[_0x4e8ecb(0x192)](_0x4e8ecb(0x17b))||_0x25e4c7[_0x4e8ecb(0x196)][_0x4e8ecb(0x1c7)](_0x4e8ecb(0x17b),_0x3548c3,_0x117e44);}(_0x9e893,_0x1228d4,_0x535aad,_0x4fa446));});}),_0x18fcbf[_0x59036b(0x1a6)](_0x59036b(0x1cb))[_0x59036b(0x19a)](_0xfc6adc=>{const _0x16146a=_0x59036b;_0xfc6adc['on'](_0x16146a(0x1c8),(_0x267da8,_0x1afd38,_0x21565c)=>{const _0x368b8b=_0x16146a;if(!_0x21565c[_0x368b8b(0x17f)][_0x368b8b(0x1b5)](_0x1afd38[_0x368b8b(0x1b1)],_0x267da8[_0x368b8b(0x1bf)]))return;const _0x11fe1b=M(_0x1afd38[_0x368b8b(0x1b1)],_0x21565c[_0x368b8b(0x174)]),{attributeNewValue:_0x9c4a29}=_0x1afd38;null==_0x9c4a29||0x1===_0x9c4a29?_0x21565c[_0x368b8b(0x196)][_0x368b8b(0x1a5)](_0x368b8b(0x1b7),_0x11fe1b):_0x21565c[_0x368b8b(0x196)][_0x368b8b(0x1c7)](_0x368b8b(0x1b7),String(_0x9c4a29),_0x11fe1b);}),_0xfc6adc['on'](_0x16146a(0x1c6),(_0x2a8c5c,_0x29dbd1,_0x4e7893)=>{const _0x2b4ecc=_0x16146a;if(!_0x4e7893[_0x2b4ecc(0x17f)][_0x2b4ecc(0x1b5)](_0x29dbd1[_0x2b4ecc(0x1b1)],_0x2a8c5c[_0x2b4ecc(0x1bf)]))return;const _0x5de543=M(_0x29dbd1[_0x2b4ecc(0x1b1)],_0x4e7893[_0x2b4ecc(0x174)]),{attributeNewValue:_0x1cfcf5}=_0x29dbd1;_0x1cfcf5&&_0x2b4ecc(0x1cc)!==_0x1cfcf5?_0x4e7893[_0x2b4ecc(0x196)][_0x2b4ecc(0x16a)](_0x2b4ecc(0x1c5),_0x1cfcf5,_0x5de543):_0x4e7893[_0x2b4ecc(0x196)][_0x2b4ecc(0x19e)](_0x2b4ecc(0x1c5),_0x5de543);});});}[_0x347417(0x1ba)](){const _0x49ba04=_0x347417,{editor:_0x149f0a}=this,{model:_0x10ad82}=_0x149f0a,_0x470196=_0x149f0a[_0x49ba04(0x16b)][_0x49ba04(0x183)](_0x4ff72d),_0x1aef0d=this[_0x49ba04(0x1b9)](),_0x5efb69=this[_0x49ba04(0x1ae)]();_0x10ad82[_0x49ba04(0x170)][_0x49ba04(0x18a)](_0x431ce9=>{const _0x5cae06=_0x49ba04,_0x1904ba=_0x10ad82[_0x5cae06(0x170)][_0x5cae06(0x1c9)][_0x5cae06(0x1a0)]();let _0x580d52=!0x1;for(const _0x5bdf17 of _0x1904ba){if(_0x5cae06(0x17d)!==_0x5bdf17[_0x5cae06(0x177)]||_0x5cae06(0x1c4)===_0x5bdf17[_0x5cae06(0x1bf)])continue;const _0x346948=_0x10ad82[_0x5cae06(0x199)](_0x5bdf17[_0x5cae06(0x1aa)][_0x5cae06(0x17c)]);for(const _0x37e4ee of _0x346948[_0x5cae06(0x197)]())_0x37e4ee['is'](_0x5cae06(0x1bb),_0x5cae06(0x176))&&(!_0x37e4ee[_0x5cae06(0x192)](_0x5cae06(0x171))&&_0x10ad82[_0x5cae06(0x175)][_0x5cae06(0x16e)](_0x37e4ee,_0x5cae06(0x171))&&(_0x431ce9[_0x5cae06(0x1c7)](_0x5cae06(0x171),_0x5efb69,_0x37e4ee),_0x580d52=!0x0),!_0x37e4ee[_0x5cae06(0x192)](_0x5cae06(0x17b))&&_0x10ad82[_0x5cae06(0x175)][_0x5cae06(0x16e)](_0x37e4ee,_0x5cae06(0x17b))&&(_0x431ce9[_0x5cae06(0x1c7)](_0x5cae06(0x17b),_0x1aef0d,_0x37e4ee),_0x580d52=!0x0));}return _0x580d52&&_0x470196[_0x5cae06(0x18e)](_0x431ce9),_0x580d52;});}[_0x347417(0x191)](){const _0x212a20=_0x347417,{editor:_0x404320}=this;_0x404320[_0x212a20(0x16b)][_0x212a20(0x183)](_0x4ff72d)[_0x212a20(0x18c)](_0x2bfc80=>this[_0x212a20(0x168)](_0x2bfc80));}[_0x347417(0x1b9)](){const _0x557846=_0x347417;return this[_0x557846(0x1a7)][_0x557846(0x188)][_0x557846(0x183)](_0x557846(0x1ab));}[_0x347417(0x1ae)](){const _0x162eed=_0x347417;return this[_0x162eed(0x1a7)][_0x162eed(0x188)][_0x162eed(0x183)](_0x162eed(0x180));}[_0x347417(0x168)]({container:_0x5a57c4,value:_0x2b1403,digits:_0x27a889}){const _0x56e78a=_0x347417,_0xb9c715=_0x5a57c4[_0x56e78a(0x1a8)](_0x56e78a(0x17b)),_0x120526=_0x5a57c4[_0x56e78a(0x1a8)](_0x56e78a(0x171)),_0x1e8587=Math[_0x56e78a(0x1be)](_0x2b1403)+(_0x120526??0x1)-0x1;switch(_0xb9c715){case _0x56e78a(0x18b):return function(_0x5e11ca,_0x2ab204){const _0x5a7d4c=_0x56e78a;return String(_0x5e11ca)[_0x5a7d4c(0x1a3)](_0x2ab204,'0');}(_0x1e8587,Math[_0x56e78a(0x182)](0x2,_0x27a889));case _0x56e78a(0x1af):case _0x56e78a(0x16d):return N(_0x1e8587,!0x1);case _0x56e78a(0x1c0):case _0x56e78a(0x1b8):return N(_0x1e8587,!0x0);case _0x56e78a(0x194):return X(_0x1e8587,!0x1);case _0x56e78a(0x1a1):return X(_0x1e8587,!0x0);default:return String(_0x1e8587);}}}function M(_0x37026a,_0x58e298){const _0x3125f3=_0x347417,_0xc099a6=_0x58e298[_0x3125f3(0x187)](_0x37026a);return Array[_0x3125f3(0x1b0)](_0xc099a6[_0x3125f3(0x19b)]())[_0x3125f3(0x19c)](_0x2fe084=>_0x2fe084['is'](_0x3125f3(0x1bb),'ol')&&_0x2fe084[_0x3125f3(0x1c3)](_0x3125f3(0x172)));}function N(_0x437de1,_0x43657c){const _0xe7d708=_0x347417;let _0xebf575='',_0x505575=_0x437de1;for(;_0x505575>0x0;){const _0x1155c3=(_0x505575-0x1)%0x1a;_0xebf575=String[_0xe7d708(0x1b3)](0x61+_0x1155c3)+_0xebf575,_0x505575=Math[_0xe7d708(0x1be)]((_0x505575-0x1)/0x1a);}return _0x43657c?_0xebf575[_0xe7d708(0x1ad)]():_0xebf575;}function _0x3ef9(_0x3099e2,_0x5817e4){const _0x379880=_0x3798();return _0x3ef9=function(_0x3ef94b,_0xf9415f){_0x3ef94b=_0x3ef94b-0x168;let _0x67d082=_0x379880[_0x3ef94b];return _0x67d082;},_0x3ef9(_0x3099e2,_0x5817e4);}const V=[{'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 X(_0x20026e,_0x2253e){const _0x18f92d=_0x347417;let _0x2871cb='',_0x4d15c8=_0x20026e;for(const {value:_0x35d4ef,numeral:_0x35b559}of V)for(;_0x4d15c8>=_0x35d4ef;)_0x2871cb+=_0x35b559,_0x4d15c8-=_0x35d4ef;return _0x2253e?_0x2871cb:_0x2871cb[_0x18f92d(0x185)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x25060b,ButtonView as _0x55e65e,ContextualBalloon as _0x3a5696,createDropdown as _0x1dddd7}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4fc63e}from'ckeditor5/src/widget.js';import{Plugin as _0x3beb02}from'ckeditor5/src/core.js';import{IconFootnote as _0x5b6049,IconListStyleDecimal as _0x2f6a96,IconListStyleDecimalLeadingZero as _0x3082cd,IconListStyleLowerLatin as _0x261966,IconListStyleLowerRoman as _0x419ec6,IconListStyleUpperLatin as _0x3246fb,IconListStyleUpperRoman as _0x59397}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x214564}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x57ff56}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3beb02{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3a5696,_0x4fc63e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x536229}=this,{componentFactory:_0x307b35}=_0x536229['ui'];_0x536229['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x307b35['add']('footnotesStyle',function(_0x33fa26){return _0x297574=>{const {t:t}=_0x297574,_0x4c1be9=_0x33fa26['commands']['get']('footnotesStyle'),_0x32ec2d=_0x1dddd7(_0x297574),{buttonView:_0x19b427}=_0x32ec2d;return _0x32ec2d['class']='ck-footnotes-styles-dropdown',_0x32ec2d['bind']('isEnabled')['to'](_0x4c1be9,'isEnabled'),_0x19b427['set']({'label':t('Footnotes\x20style'),'icon':_0x5b6049,'tooltip':!0x0}),_0x32ec2d['once']('change:isOpen',()=>{const _0x95eb5c=function({editor:_0x38212e,dropdownView:_0x58f696}){const {t:t}=_0x38212e['locale'],_0x199b24=t('Footnotes\x20definitions\x20styles'),_0xcd335f=function(_0x5494b7){const t=_0x5494b7['locale']['t'],_0x384ca8=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f6a96},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3082cd},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x419ec6},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x59397},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x261966},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3246fb}];return _0x384ca8['map'](function(_0x7bb38f){const _0x187686=_0x7bb38f['locale'];return({label:_0x3bba28,icon:_0x158512,tooltip:_0x25ed69,style:_0x2d0c90})=>{const _0x529264=_0x7bb38f['commands']['get']('footnotesStyle'),_0x5c60a4=new _0x55e65e(_0x187686);return _0x5c60a4['set']({'label':_0x3bba28,'icon':_0x158512,'tooltip':_0x25ed69}),_0x5c60a4['bind']('isOn')['to'](_0x529264,'value',_0x5da6f8=>_0x5da6f8===_0x2d0c90),_0x5c60a4['bind']('isEnabled')['to'](_0x529264,'isEnabled'),_0x5c60a4['on']('execute',()=>{_0x7bb38f['execute']('footnotesStyle',{'value':_0x2d0c90}),_0x7bb38f['editing']['view']['focus']();}),_0x5c60a4;};}(_0x5494b7));}(_0x38212e),_0x76e20f=new _0x214564(_0x38212e['locale'],{'styleGridAriaLabel':_0x199b24,'styleButtonViews':_0xcd335f}),_0x370e12=_0x38212e['commands']['get']('footnotesStart');return _0x76e20f['startIndexFieldView']['bind']('isEnabled')['to'](_0x370e12),_0x76e20f['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x370e12),_0x76e20f['on']('footnotesListStart',(_0x1cae19,_0x30a580)=>{_0x38212e['execute']('footnotesStart',{'value':_0x30a580['startIndex']});}),_0x76e20f['delegate']('execute')['to'](_0x58f696),_0x76e20f;}({'editor':_0x33fa26,'dropdownView':_0x32ec2d});_0x32ec2d['panelView']['children']['add'](_0x95eb5c);}),_0x32ec2d;};}(_0x536229));}['afterInit'](){const {editor:_0x2de3fa}=this,{t:t}=_0x2de3fa['locale'],_0x509a71=_0x2de3fa['plugins']['get'](_0x4fc63e),{defaultPositions:_0xcbdc0c}=_0x25060b;_0x509a71['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2de3fa['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x244a0f=>{let _0x2c5ff7=_0x244a0f['getFirstPosition']()?.['parent'];return _0x2c5ff7?.['is']('$text')&&(_0x2c5ff7=_0x2c5ff7['parent']),_0x2c5ff7?.['is']('element')?_0x2c5ff7['findAncestor'](_0x57ff56):null;},'positions':[_0xcbdc0c['southArrowNorth'],_0xcbdc0c['southArrowNorthMiddleWest'],_0xcbdc0c['southArrowNorthMiddleEast'],_0xcbdc0c['southArrowNorthWest'],_0xcbdc0c['southArrowNorthEast'],_0xcbdc0c['northArrowSouth'],_0xcbdc0c['northArrowSouthMiddleWest'],_0xcbdc0c['northArrowSouthMiddleEast'],_0xcbdc0c['northArrowSouthWest'],_0xcbdc0c['northArrowSouthEast'],_0xcbdc0c['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x59315c,ButtonView as _0x3cd76c,ContextualBalloon as _0x216054,createDropdown as _0x38ff70}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x315f45}from'ckeditor5/src/widget.js';import{Plugin as _0x4be491}from'ckeditor5/src/core.js';import{IconFootnote as _0x11f3bc,IconListStyleDecimal as _0xb4866a,IconListStyleDecimalLeadingZero as _0x3bb978,IconListStyleLowerLatin as _0x2ef1d0,IconListStyleLowerRoman as _0x23ca69,IconListStyleUpperLatin as _0x718208,IconListStyleUpperRoman as _0x426bc4}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x1793d8}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1bf272}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4be491{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x216054,_0x315f45];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x234e88}=this,{componentFactory:_0x11f344}=_0x234e88['ui'];_0x234e88['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x11f344['add']('footnotesStyle',function(_0x10ed85){return _0x5d6b98=>{const {t:t}=_0x5d6b98,_0xae5540=_0x10ed85['commands']['get']('footnotesStyle'),_0xe611b3=_0x38ff70(_0x5d6b98),{buttonView:_0x3f4b8a}=_0xe611b3;return _0xe611b3['class']='ck-footnotes-styles-dropdown',_0xe611b3['bind']('isEnabled')['to'](_0xae5540,'isEnabled'),_0x3f4b8a['set']({'label':t('Footnotes\x20style'),'icon':_0x11f3bc,'tooltip':!0x0}),_0xe611b3['once']('change:isOpen',()=>{const _0x43aea3=function({editor:_0x1a1021,dropdownView:_0x9d1b42}){const {t:t}=_0x1a1021['locale'],_0x1436ef=t('Footnotes\x20definitions\x20styles'),_0x21e4a4=function(_0x3b65a3){const t=_0x3b65a3['locale']['t'],_0x561f1d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xb4866a},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3bb978},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x23ca69},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x426bc4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2ef1d0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x718208}];return _0x561f1d['map'](function(_0x2bea57){const _0x32b5c3=_0x2bea57['locale'];return({label:_0x38c4ec,icon:_0xb24c87,tooltip:_0x5d8019,style:_0x37e3ba})=>{const _0x30ed89=_0x2bea57['commands']['get']('footnotesStyle'),_0x5e2777=new _0x3cd76c(_0x32b5c3);return _0x5e2777['set']({'label':_0x38c4ec,'icon':_0xb24c87,'tooltip':_0x5d8019}),_0x5e2777['bind']('isOn')['to'](_0x30ed89,'value',_0x358e3b=>_0x358e3b===_0x37e3ba),_0x5e2777['bind']('isEnabled')['to'](_0x30ed89,'isEnabled'),_0x5e2777['on']('execute',()=>{_0x2bea57['execute']('footnotesStyle',{'value':_0x37e3ba}),_0x2bea57['editing']['view']['focus']();}),_0x5e2777;};}(_0x3b65a3));}(_0x1a1021),_0x1a3a94=new _0x1793d8(_0x1a1021['locale'],{'styleGridAriaLabel':_0x1436ef,'styleButtonViews':_0x21e4a4}),_0x59f6c3=_0x1a1021['commands']['get']('footnotesStart');return _0x1a3a94['startIndexFieldView']['bind']('isEnabled')['to'](_0x59f6c3),_0x1a3a94['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x59f6c3),_0x1a3a94['on']('footnotesListStart',(_0x12a91d,_0x54662f)=>{_0x1a1021['execute']('footnotesStart',{'value':_0x54662f['startIndex']});}),_0x1a3a94['delegate']('execute')['to'](_0x9d1b42),_0x1a3a94;}({'editor':_0x10ed85,'dropdownView':_0xe611b3});_0xe611b3['panelView']['children']['add'](_0x43aea3);}),_0xe611b3;};}(_0x234e88));}['afterInit'](){const {editor:_0xa30549}=this,{t:t}=_0xa30549['locale'],_0xee4af7=_0xa30549['plugins']['get'](_0x315f45),{defaultPositions:_0x4a5366}=_0x59315c;_0xee4af7['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa30549['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x5a5533=>{let _0x5484f2=_0x5a5533['getFirstPosition']()?.['parent'];return _0x5484f2?.['is']('$text')&&(_0x5484f2=_0x5484f2['parent']),_0x5484f2?.['is']('element')?_0x5484f2['findAncestor'](_0x1bf272):null;},'positions':[_0x4a5366['southArrowNorth'],_0x4a5366['southArrowNorthMiddleWest'],_0x4a5366['southArrowNorthMiddleEast'],_0x4a5366['southArrowNorthWest'],_0x4a5366['southArrowNorthEast'],_0x4a5366['northArrowSouth'],_0x4a5366['northArrowSouthMiddleWest'],_0x4a5366['northArrowSouthMiddleEast'],_0x4a5366['northArrowSouthWest'],_0x4a5366['northArrowSouthEast'],_0x4a5366['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x137930,View as _0x2cb470,ViewCollection as _0x751b53,FocusCycler as _0x1b73f1,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x2cb470{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x751b53();['focusCycler'];constructor(_0x289d9f,{styleButtonViews:_0x1d3ac7,styleGridAriaLabel:_0x393690}){super(_0x289d9f),(this['focusCycler']=new _0x1b73f1({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1d3ac7,_0x393690),[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 _0x289dc5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x289dc5['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x315d7f=_0x35a06f=>_0x35a06f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x315d7f),this['keystrokes']['set']('arrowleft',_0x315d7f),this['keystrokes']['set']('arrowup',_0x315d7f),this['keystrokes']['set']('arrowdown',_0x315d7f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xd94f9,_0xbc63dc){const _0x402866=new _0x2cb470(this['locale']);return _0x402866['children']=_0x402866['createCollection'](),_0x402866['children']['addMany'](_0xd94f9),_0x402866['setTemplate']({'tag':'div','attributes':{'aria-label':_0xbc63dc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x402866['children']}),_0x402866['children']['delegate']('execute')['to'](this),_0x402866['focus']=function(){for(const _0x28f17e of this['children'])if(_0x28f17e instanceof _0x137930&&_0x28f17e['isOn'])return void _0x28f17e['focus']();this['children']['first']['focus']();},_0x402866['focusTracker']=new ot(),_0x402866['keystrokes']=new rt(),_0x402866['render'](),_0x402866['keystrokes']['listenTo'](_0x402866['element']),this['children']['add'](_0x402866),_0x402866;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0xc4f21e=this['_createStartIndexPropertyView'](),_0x2d8df9=[_0xc4f21e],_0x354251=new st(this['locale'],_0x2d8df9);return _0x354251['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x354251['buttonView']['bind']('isEnabled')['toMany'](_0x2d8df9,'isEnabled',(..._0x12d3a1)=>_0x12d3a1['some'](_0x30e694=>_0x30e694)),_0x354251['buttonView']['on']('change:isEnabled',(_0xf4fd70,_0x4ea000,_0x14713c)=>{_0x14713c||(_0x354251['isCollapsed']=!0x0);}),this['children']['add'](_0x354251),[_0xc4f21e,_0x354251];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5d867e=new it(this['locale'],et);return _0x5d867e['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5d867e['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5d867e['fieldView']['on']('input',()=>{const _0x4b80e3=_0x5d867e['fieldView']['element'],_0x50abb3=_0x4b80e3['valueAsNumber'];Number['isNaN'](_0x50abb3)?_0x5d867e['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4b80e3['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x50abb3}):_0x5d867e['errorText']=t(_0x50abb3<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5d867e;}}
23
+ import{ButtonView as _0x4d716e,View as _0x58a05f,ViewCollection as _0x1f8ee4,FocusCycler as _0x117334,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x58a05f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1f8ee4();['focusCycler'];constructor(_0x2b3a3a,{styleButtonViews:_0x2da92b,styleGridAriaLabel:_0x1c9a0d}){super(_0x2b3a3a),(this['focusCycler']=new _0x117334({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2da92b,_0x1c9a0d),[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 _0x30741c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x30741c['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['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 _0x12d4d3=_0x51ebd0=>_0x51ebd0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12d4d3),this['keystrokes']['set']('arrowleft',_0x12d4d3),this['keystrokes']['set']('arrowup',_0x12d4d3),this['keystrokes']['set']('arrowdown',_0x12d4d3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5b9e63,_0x339eeb){const _0x493887=new _0x58a05f(this['locale']);return _0x493887['children']=_0x493887['createCollection'](),_0x493887['children']['addMany'](_0x5b9e63),_0x493887['setTemplate']({'tag':'div','attributes':{'aria-label':_0x339eeb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x493887['children']}),_0x493887['children']['delegate']('execute')['to'](this),_0x493887['focus']=function(){for(const _0x22011c of this['children'])if(_0x22011c instanceof _0x4d716e&&_0x22011c['isOn'])return void _0x22011c['focus']();this['children']['first']['focus']();},_0x493887['focusTracker']=new ot(),_0x493887['keystrokes']=new rt(),_0x493887['render'](),_0x493887['keystrokes']['listenTo'](_0x493887['element']),this['children']['add'](_0x493887),_0x493887;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x741023=this['_createStartIndexPropertyView'](),_0x5b4cac=[_0x741023],_0x1678e9=new st(this['locale'],_0x5b4cac);return _0x1678e9['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1678e9['buttonView']['bind']('isEnabled')['toMany'](_0x5b4cac,'isEnabled',(..._0x150df8)=>_0x150df8['some'](_0x9efc97=>_0x9efc97)),_0x1678e9['buttonView']['on']('change:isEnabled',(_0x1de9af,_0xd3c55,_0x204d6c)=>{_0x204d6c||(_0x1678e9['isCollapsed']=!0x0);}),this['children']['add'](_0x1678e9),[_0x741023,_0x1678e9];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2d8034=new it(this['locale'],et);return _0x2d8034['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2d8034['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2d8034['fieldView']['on']('input',()=>{const _0x5744a8=_0x2d8034['fieldView']['element'],_0x5e6936=_0x5744a8['valueAsNumber'];Number['isNaN'](_0x5e6936)?_0x2d8034['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5744a8['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5e6936}):_0x2d8034['errorText']=t(_0x5e6936<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2d8034;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xd7d1dc=_0xfce2;function _0xfce2(_0x1e3d8e,_0x52a747){var _0x53007e=_0x5300();return _0xfce2=function(_0xfce265,_0x9e0c3d){_0xfce265=_0xfce265-0x1c9;var _0x5d27d2=_0x53007e[_0xfce265];return _0x5d27d2;},_0xfce2(_0x1e3d8e,_0x52a747);}(function(_0x469962,_0x3a353d){var _0x1b655b=_0xfce2,_0x31dc42=_0x469962();while(!![]){try{var _0x4e98a2=-parseInt(_0x1b655b(0x1d0))/0x1*(-parseInt(_0x1b655b(0x1cd))/0x2)+-parseInt(_0x1b655b(0x1d8))/0x3*(-parseInt(_0x1b655b(0x1cb))/0x4)+-parseInt(_0x1b655b(0x1ce))/0x5*(parseInt(_0x1b655b(0x1d5))/0x6)+-parseInt(_0x1b655b(0x1d2))/0x7+parseInt(_0x1b655b(0x1d6))/0x8*(parseInt(_0x1b655b(0x1ca))/0x9)+parseInt(_0x1b655b(0x1d7))/0xa+-parseInt(_0x1b655b(0x1d3))/0xb;if(_0x4e98a2===_0x3a353d)break;else _0x31dc42['push'](_0x31dc42['shift']());}catch(_0x5780a1){_0x31dc42['push'](_0x31dc42['shift']());}}}(_0x5300,0x2748f));import{Plugin as _0x1f4855}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2f79c8}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4c6e9c}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1f4855{static get[_0xd7d1dc(0x1d4)](){var _0x52e3ef=_0xd7d1dc;return _0x52e3ef(0x1d1);}static get[_0xd7d1dc(0x1cc)](){return[_0x2f79c8,_0x4c6e9c];}static get[_0xd7d1dc(0x1c9)](){return!0x0;}static get[_0xd7d1dc(0x1cf)](){return!0x0;}}function _0x5300(){var _0x3d9d23=['787048qhPqyh','1239030KfjVEB','201TLbrqy','isOfficialPlugin','9ErYqQI','10928NOkNYL','requires','194466QFeDqC','791570knEXVT','isPremiumPlugin','3gnJMgO','FootnotesProperties','1507709cymwhO','1786565CAWDru','pluginName','6hZZYtZ'];_0x5300=function(){return _0x3d9d23;};return _0x5300();}
23
+ var _0x4c0adb=_0x1eb6;(function(_0xa2a230,_0x291951){var _0x4708db=_0x1eb6,_0x495090=_0xa2a230();while(!![]){try{var _0x2a5e5a=parseInt(_0x4708db(0xda))/0x1+-parseInt(_0x4708db(0xdd))/0x2*(parseInt(_0x4708db(0xd5))/0x3)+-parseInt(_0x4708db(0xd4))/0x4*(-parseInt(_0x4708db(0xe1))/0x5)+-parseInt(_0x4708db(0xd6))/0x6*(parseInt(_0x4708db(0xd9))/0x7)+-parseInt(_0x4708db(0xd8))/0x8+parseInt(_0x4708db(0xdf))/0x9+parseInt(_0x4708db(0xdc))/0xa;if(_0x2a5e5a===_0x291951)break;else _0x495090['push'](_0x495090['shift']());}catch(_0x15ab4a){_0x495090['push'](_0x495090['shift']());}}}(_0x2826,0xa96fa));import{Plugin as _0x7ad19}from'ckeditor5/src/core.js';function _0x2826(){var _0x41acd5=['requires','5618862RyYYdE','pluginName','80MvzSCL','isOfficialPlugin','96664roorAm','104022jwgkfO','6tqnUYI','FootnotesProperties','1456416psWhgL','1068564rbIbLE','377762QPxiUQ','isPremiumPlugin','3334580GaPIyp','40EkMpdp'];_0x2826=function(){return _0x41acd5;};return _0x2826();}import{FootnotesPropertiesEditing as _0x229d9a}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1eb6(_0x254131,_0x1fc25f){var _0x282625=_0x2826();return _0x1eb6=function(_0x1eb63d,_0x4c8375){_0x1eb63d=_0x1eb63d-0xd4;var _0x43901c=_0x282625[_0x1eb63d];return _0x43901c;},_0x1eb6(_0x254131,_0x1fc25f);}import{FootnotesPropertiesUI as _0x5f1cf3}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x7ad19{static get[_0x4c0adb(0xe0)](){var _0x38b779=_0x4c0adb;return _0x38b779(0xd7);}static get[_0x4c0adb(0xde)](){return[_0x229d9a,_0x5f1cf3];}static get[_0x4c0adb(0xe2)](){return!0x0;}static get[_0x4c0adb(0xdb)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x256d62=_0x14f1;(function(_0x443d4e,_0x184f4d){const _0x187165=_0x14f1,_0x12bcd0=_0x443d4e();while(!![]){try{const _0x5812ca=parseInt(_0x187165(0x10a))/0x1*(-parseInt(_0x187165(0xe1))/0x2)+parseInt(_0x187165(0xba))/0x3+-parseInt(_0x187165(0x114))/0x4+parseInt(_0x187165(0x10e))/0x5*(parseInt(_0x187165(0xc1))/0x6)+parseInt(_0x187165(0xc8))/0x7*(parseInt(_0x187165(0xf2))/0x8)+-parseInt(_0x187165(0xc9))/0x9*(-parseInt(_0x187165(0xb9))/0xa)+-parseInt(_0x187165(0xb5))/0xb;if(_0x5812ca===_0x184f4d)break;else _0x12bcd0['push'](_0x12bcd0['shift']());}catch(_0x2a6a71){_0x12bcd0['push'](_0x12bcd0['shift']());}}}(_0x4998,0x867d4));import{Plugin as _0x2ec6d7}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xb7e1fc}from'./modelelementtracker.js';function _0x14f1(_0x2b2b83,_0x32b39f){const _0x499806=_0x4998();return _0x14f1=function(_0x14f132,_0x58f94b){_0x14f132=_0x14f132-0xb4;let _0x2d747f=_0x499806[_0x14f132];return _0x2d747f;},_0x14f1(_0x2b2b83,_0x32b39f);}function _0x4998(){const _0x40b59d=['_insertEmptyFootnotesDefinitionsContainer','has','1325fOdqYD','footnoteInlineContent','_handleMovedFootnoteReference','rootName','4183745rierSW','_footnoteRefsTracker','document','singleton','_footnoteDefsTracker','set','1361664MKpxUq','_footnoteFormatter','isPremiumPlugin','footnoteCounter','getFootnotes','getChildren','push','21597367NtIouA','_handleFootnotesDefinitionsObjectChanges','_footnoteDefsContainerTracker','_sortFootnoteDefinitions','10exeLof','3051879YLRcWg','_handleRemoveFootnoteReferenceById','listenTo','createElement','reset','getRootNames','getFootnotesDefinitionsObjectElement','6BNbhdH','footnotes.multiBlock','unshift','childCount','remove','from','enqueueChange','7TbhWVW','3973131lHdiqL','_ensureFootnotesReferencesHaveProperOrder','_footnotes','createRangeOn','pluginName','indexOf','get','end','_handleFootnoteDefinitionsChanges','definition','registerPostFixer','after','createRangeIn','_footnotesDefinitions','add','root','isEqual','length','footnoteDefinition','setFootnoteFormatter','getFootnote','append','model','$graveyard','766ibHlNP','splice','footnoteRef','paragraph','getChanges','insert','differ','high','compareWith','findIndex','find','footnotesDefinitions','isOfficialPlugin','low','move','_updateFootnoteRefCounter','getFootnotesFormatter','8533240lahqJQ','footnoteId','min','_updateFootnotesCounters','before','FootnotesTracker','reference','some','parent','_handleFootnotesDefinitionsObjectSync','map','config','createPositionAt','_ensureFootnotesDefinitionsContainerExists','createPositionBefore','_handleFootnoteReferencesChanges','init','change:data','editor','_handleInsertedFootnoteReference','setAttribute','getAttribute'];_0x4998=function(){return _0x40b59d;};return _0x4998();}export class FootnotesTracker extends _0x2ec6d7{[_0x256d62(0xcb)]=[];[_0x256d62(0xd6)]=null;[_0x256d62(0x115)]=null;[_0x256d62(0xb7)];[_0x256d62(0x10f)];[_0x256d62(0x112)];static get[_0x256d62(0xcd)](){const _0x250937=_0x256d62;return _0x250937(0xf7);}static get[_0x256d62(0xed)](){return!0x0;}static get[_0x256d62(0x116)](){return!0x0;}constructor(_0xdd5e1){const _0xdca27e=_0x256d62;super(_0xdd5e1),this[_0xdca27e(0xb7)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xec),'getElementKey':()=>_0xdca27e(0x111)}),this[_0xdca27e(0x10f)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xe3),'getElementKey':_0x948fb2=>_0x948fb2[_0xdca27e(0x107)](_0xdca27e(0xf3))}),this[_0xdca27e(0x112)]=new _0xb7e1fc(this[_0xdca27e(0x104)][_0xdca27e(0xdf)],{'elementName':_0xdca27e(0xdb),'getElementKey':_0x13b00a=>_0x13b00a[_0xdca27e(0x107)](_0xdca27e(0xf3))});}[_0x256d62(0x102)](){const _0x4b38cc=_0x256d62,{editor:_0x4782f0}=this,{model:_0x9887ba,data:_0x5a5aac}=_0x4782f0;_0x9887ba[_0x4b38cc(0x110)][_0x4b38cc(0xd3)](_0x264abe=>{const _0x308d4d=_0x4b38cc,_0x14e1d0=_0x9887ba[_0x308d4d(0x110)][_0x308d4d(0xe7)][_0x308d4d(0xe5)]();let _0x60777f=!0x1;return this[_0x308d4d(0xb6)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0xd1)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0x101)](_0x264abe,_0x14e1d0)&&(_0x60777f=!0x0),this[_0x308d4d(0xca)](_0x264abe)&&(_0x60777f=!0x0),this[_0x308d4d(0xfb)](_0x264abe)&&(_0x60777f=!0x0),this[_0x308d4d(0xb8)](_0x264abe)&&(_0x60777f=!0x0),_0x60777f;}),this[_0x4b38cc(0xbc)](_0x9887ba[_0x4b38cc(0x110)],_0x4b38cc(0x103),()=>{const _0x26abbd=_0x4b38cc;_0x9887ba[_0x26abbd(0xc7)]({'isUndoable':!0x1},_0x3a75b9=>{const _0x789d01=_0x26abbd;this[_0x789d01(0xff)](_0x3a75b9);});},{'priority':_0x4b38cc(0xee)}),this[_0x4b38cc(0xbc)](_0x5a5aac,_0x4b38cc(0x113),()=>{const _0x11d9db=_0x4b38cc;this[_0x11d9db(0xcb)]=[],this[_0x11d9db(0xb7)][_0x11d9db(0xbe)](),this[_0x11d9db(0x10f)][_0x11d9db(0xbe)](),this[_0x11d9db(0x112)][_0x11d9db(0xbe)]();},{'priority':_0x4b38cc(0xe8)});}[_0x256d62(0xc0)](){const _0x42abfe=_0x256d62;return this[_0x42abfe(0xd6)];}[_0x256d62(0xdd)](_0x34a250){const _0x36a705=_0x256d62;return this[_0x36a705(0xcb)][_0x36a705(0xeb)](_0x13b090=>_0x13b090['id']===_0x34a250)||null;}[_0x256d62(0x118)](){const _0x146de7=_0x256d62;return Array[_0x146de7(0xc6)](this[_0x146de7(0xcb)]);}[_0x256d62(0xf1)](){const _0x487f2a=_0x256d62;return this[_0x487f2a(0x115)];}[_0x256d62(0xdc)](_0x19f442){const _0x4040e8=_0x256d62;this[_0x4040e8(0x115)]=_0x19f442;}[_0x256d62(0xf5)](_0x227b0f,_0x347980=0x0){const _0x122d06=_0x256d62;let _0x222dcd=!0x1;for(let _0x2bd0a1=_0x347980;_0x2bd0a1<this[_0x122d06(0xcb)][_0x122d06(0xda)];_0x2bd0a1++)this[_0x122d06(0xf0)](_0x227b0f,_0x2bd0a1)&&(_0x222dcd=!0x0);return _0x222dcd;}[_0x256d62(0x108)](_0x735b14,_0xc5c6b){const _0x49096b=_0x256d62,_0x1f33ba=_0x735b14[_0x49096b(0xbd)](_0x49096b(0xec),{});return _0x735b14[_0x49096b(0xde)](_0x1f33ba,_0xc5c6b),this[_0x49096b(0xd6)]=_0x1f33ba,_0x1f33ba;}[_0x256d62(0xff)](_0x18f99b){const _0x3e05bf=_0x256d62;if(!this[_0x3e05bf(0xcb)][_0x3e05bf(0xda)]||this[_0x3e05bf(0xd6)])return;const _0x2588b3=this[_0x3e05bf(0xcb)][0x0][_0x3e05bf(0xf8)][_0x3e05bf(0xd8)],_0x46c103=this[_0x3e05bf(0x108)](_0x18f99b,_0x2588b3);for(const _0x5a0eea of this[_0x3e05bf(0xcb)])_0x5a0eea[_0x3e05bf(0xd2)][_0x3e05bf(0xfa)]||_0x18f99b[_0x3e05bf(0xe6)](_0x5a0eea[_0x3e05bf(0xd2)],_0x46c103,_0x3e05bf(0xd0));this[_0x3e05bf(0xf5)](_0x18f99b);}[_0x256d62(0xb6)](_0x58df81,_0x6ca0dc){const _0x356345=_0x256d62;let _0x3e5031=!0x1;const {inserted:_0x2a9c2f,removed:_0x1647c0,moved:_0x1e7a2d}=this[_0x356345(0xb7)][_0x356345(0xe5)](_0x6ca0dc);if(_0x1e7a2d[_0x356345(0xda)]&&(this[_0x356345(0xd6)]=_0x1e7a2d[0x0]),_0x2a9c2f[_0x356345(0xda)]){if(_0x2a9c2f[_0x356345(0xda)]>0x1||this[_0x356345(0xd6)]&&_0x2a9c2f[_0x356345(0xf9)](_0x181974=>_0x181974!==this[_0x356345(0xd6)])){const _0x806788=_0x58df81[_0x356345(0xbd)](_0x356345(0xec),{}),_0x8ad2=[];this[_0x356345(0xd6)]&&_0x8ad2[_0x356345(0xb4)](this[_0x356345(0xd6)]),_0x8ad2[_0x356345(0xb4)](..._0x2a9c2f),_0x58df81[_0x356345(0xe6)](_0x806788,_0x8ad2[0x0],_0x356345(0xf6));for(const _0x12e815 of _0x8ad2)_0x58df81[_0x356345(0xef)](_0x58df81[_0x356345(0xd5)](_0x12e815),_0x58df81[_0x356345(0xfe)](_0x806788,_0x356345(0xd0))),_0x58df81[_0x356345(0xc5)](_0x12e815);this[_0x356345(0xd6)]=_0x806788,this[_0x356345(0xf5)](_0x58df81),_0x3e5031=!0x0;}else this[_0x356345(0xd6)]=_0x2a9c2f[0x0];}if(_0x1647c0[_0x356345(0xda)]&&_0x356345(0xe0)===this[_0x356345(0xd6)]?.[_0x356345(0xd8)][_0x356345(0x10d)]){for(const _0x33b70b of this[_0x356345(0xcb)])_0x58df81[_0x356345(0xc5)](_0x33b70b[_0x356345(0xf8)]),_0x3e5031=!0x0;this[_0x356345(0xcb)]=[],this[_0x356345(0xd6)]=null;}return _0x3e5031;}[_0x256d62(0xd1)](_0xe61627,_0xa5f8dd){const _0x411d0a=_0x256d62;let _0x31dd9f=!0x1;const _0x3f50ad=this[_0x411d0a(0x104)][_0x411d0a(0xfd)][_0x411d0a(0xcf)](_0x411d0a(0xc2)),{inserted:_0x213c53,moved:_0x446a22}=this[_0x411d0a(0x112)][_0x411d0a(0xe5)](_0xa5f8dd);for(const _0x33a3c1 of[..._0x446a22,..._0x213c53]){const _0x265e2f=_0x33a3c1[_0x411d0a(0x107)](_0x411d0a(0xf3)),_0x2df96b=this[_0x411d0a(0xdd)](_0x265e2f);_0x2df96b&&(_0x2df96b[_0x411d0a(0xd2)]=_0x33a3c1),_(_0xe61627,_0x3f50ad,_0x33a3c1)&&(_0x31dd9f=!0x0);}return _0x31dd9f;}[_0x256d62(0x101)](_0x2da4c0,_0x4d4ec8){const _0x552e14=_0x256d62;let _0x1f223e=!0x1;const {removed:_0x1f5211,inserted:_0x26f54a,moved:_0x53384d}=this[_0x552e14(0x10f)][_0x552e14(0xe5)](_0x4d4ec8);for(const _0xe6083 of _0x1f5211)this[_0x552e14(0xbb)](_0x2da4c0,_0xe6083)&&(_0x1f223e=!0x0);for(const _0x254dcc of _0x26f54a)this[_0x552e14(0x105)](_0x2da4c0,_0x254dcc)&&(_0x1f223e=!0x0);for(const _0x3d279a of _0x53384d)this[_0x552e14(0x10c)](_0x2da4c0,_0x3d279a)&&(_0x1f223e=!0x0);return _0x1f223e;}[_0x256d62(0xfb)](_0x156e4a){const _0x2d7727=_0x256d62;if(!this[_0x2d7727(0xd6)])return!0x1;let _0x36d221=!0x1;if(this[_0x2d7727(0xd6)][_0x2d7727(0xc4)]!==this[_0x2d7727(0xcb)][_0x2d7727(0xda)]){const _0x5e2e54=[];for(const _0x5dcc95 of this[_0x2d7727(0xd6)][_0x2d7727(0x119)]()){const _0x159ffd=_0x5dcc95[_0x2d7727(0x107)](_0x2d7727(0xf3));this[_0x2d7727(0xdd)](_0x159ffd)||(_0x5e2e54[_0x2d7727(0xc3)](_0x5dcc95),_0x36d221=!0x0);}for(const _0x24a84a of _0x5e2e54)_0x156e4a[_0x2d7727(0xc5)](_0x24a84a);}const _0x470590=new Set(),_0x4e4afd=[];for(const _0x385c9c of this[_0x2d7727(0xd6)][_0x2d7727(0x119)]()){const _0x11f540=_0x385c9c[_0x2d7727(0x107)](_0x2d7727(0xf3));_0x470590[_0x2d7727(0x109)](_0x11f540)?(_0x4e4afd[_0x2d7727(0xc3)](_0x385c9c),_0x36d221=!0x0):_0x470590[_0x2d7727(0xd7)](_0x11f540);}for(const _0x3b6ec5 of _0x4e4afd)_0x156e4a[_0x2d7727(0xc5)](_0x3b6ec5);return this[_0x2d7727(0xd6)][_0x2d7727(0xc4)]||(_0x156e4a[_0x2d7727(0xc5)](this[_0x2d7727(0xd6)]),this[_0x2d7727(0xd6)]=null,_0x36d221=!0x0),_0x36d221;}[_0x256d62(0x105)](_0x108f80,_0x47f0e1){const _0x26478c=_0x256d62;if(this[_0x26478c(0xcb)][_0x26478c(0xeb)](_0x48135c=>_0x48135c[_0x26478c(0xf8)]===_0x47f0e1))return!0x1;let _0x282392=!0x1;const _0x33049f=_0x47f0e1[_0x26478c(0x107)](_0x26478c(0xf3)),_0x40f3c5=this[_0x26478c(0xcb)][_0x26478c(0xea)](_0x51b0ca=>_0x51b0ca['id']===_0x33049f);-0x1!==_0x40f3c5&&(_0x108f80[_0x26478c(0xc5)](this[_0x26478c(0xcb)][_0x40f3c5][_0x26478c(0xf8)]),this[_0x26478c(0xcb)][_0x26478c(0xe2)](_0x40f3c5,0x1),_0x282392=!0x0);let _0x349c47=this[_0x26478c(0xd6)]?function(_0x3e8d5a,_0x580806){const _0x4e373a=_0x26478c;for(const _0x10e93f of _0x3e8d5a[_0x4e373a(0x119)]())if(_0x10e93f[_0x4e373a(0x107)](_0x4e373a(0xf3))===_0x580806)return _0x10e93f;return null;}(this[_0x26478c(0xd6)],_0x33049f):null;_0x349c47||(_0x349c47=_0x108f80[_0x26478c(0xbd)](_0x26478c(0xdb),{'footnoteId':_0x33049f}),this[_0x26478c(0xd6)]&&(_0x108f80[_0x26478c(0xe6)](_0x349c47,this[_0x26478c(0xd6)],_0x26478c(0xd0)),_0x282392=!0x0));const _0x47f6b3={'id':_0x33049f,'reference':_0x47f0e1,'definition':_0x349c47},_0x140aac=I(this[_0x26478c(0x104)][_0x26478c(0xdf)],this[_0x26478c(0xcb)],_0x47f0e1);this[_0x26478c(0xcb)][_0x26478c(0xe2)](_0x140aac,0x0,_0x47f6b3);let _0xf47a4d=_0x140aac;return-0x1!==_0x40f3c5&&(_0xf47a4d=Math[_0x26478c(0xf4)](_0x140aac,_0x40f3c5)),this[_0x26478c(0xf5)](_0x108f80,_0xf47a4d)&&(_0x282392=!0x0),_0x282392;}[_0x256d62(0xbb)](_0x75307b,_0x2d1ed7){const _0x4921de=_0x256d62,_0x4911cf=this[_0x4921de(0xcb)][_0x4921de(0xea)](_0x10ab9=>_0x10ab9['id']===_0x2d1ed7);if(-0x1===_0x4911cf)return!0x1;let _0x3d9131=!0x1;const _0x3aa96e=this[_0x4921de(0xcb)][_0x4911cf];return _0x4921de(0xe0)!==_0x3aa96e[_0x4921de(0xd2)][_0x4921de(0xd8)][_0x4921de(0x10d)]&&(_0x75307b[_0x4921de(0xc5)](_0x3aa96e[_0x4921de(0xd2)]),_0x3d9131=!0x0),this[_0x4921de(0xcb)][_0x4921de(0xe2)](_0x4911cf,0x1),this[_0x4921de(0xf5)](_0x75307b,_0x4911cf)&&(_0x3d9131=!0x0),_0x3d9131;}[_0x256d62(0x10c)](_0x1fb8ea,_0x117431){const _0x3f9736=_0x256d62,_0x33e01c=_0x117431[_0x3f9736(0x107)](_0x3f9736(0xf3)),_0x138aa1=this[_0x3f9736(0xcb)][_0x3f9736(0xea)](_0x3cce5e=>_0x3cce5e['id']===_0x33e01c),_0x3cf7ea=this[_0x3f9736(0xcb)][_0x138aa1];let _0x1ece01=!0x1;_0x3cf7ea[_0x3f9736(0xf8)]=_0x117431,this[_0x3f9736(0xcb)][_0x3f9736(0xe2)](_0x138aa1,0x1);const _0x293959=I(this[_0x3f9736(0x104)][_0x3f9736(0xdf)],this[_0x3f9736(0xcb)],_0x117431);return this[_0x3f9736(0xcb)][_0x3f9736(0xe2)](_0x293959,0x0,_0x3cf7ea),this[_0x3f9736(0xf5)](_0x1fb8ea,Math[_0x3f9736(0xf4)](_0x138aa1,_0x293959))&&(_0x1ece01=!0x0),_0x1ece01;}[_0x256d62(0xf0)](_0x1f97df,_0x265afc){const _0x256d1e=_0x256d62;if(!this[_0x256d1e(0xd6)])return!0x1;const _0x3e31af=this[_0x256d1e(0xcb)][_0x265afc];let _0x142e9d;return _0x142e9d=this[_0x256d1e(0x115)]?this[_0x256d1e(0x115)]({'footnote':_0x3e31af,'container':this[_0x256d1e(0xd6)],'digits':String(this[_0x256d1e(0xcb)][_0x256d1e(0xda)])[_0x256d1e(0xda)],'value':_0x265afc+0x1}):String(_0x265afc+0x1),_0x3e31af[_0x256d1e(0xf8)][_0x256d1e(0x107)](_0x256d1e(0x117))!=_0x142e9d&&(_0x1f97df[_0x256d1e(0x106)](_0x256d1e(0x117),_0x142e9d,_0x3e31af[_0x256d1e(0xf8)]),!0x0);}[_0x256d62(0xb8)](_0x46d48d){const _0x42863e=_0x256d62;if(!this[_0x42863e(0xd6)]||this[_0x42863e(0xcb)][_0x42863e(0xda)]<0x2)return!0x1;if(function(_0x41581a,_0x16fab8){const _0x3b7e6a=_0x42863e;if(_0x41581a[_0x3b7e6a(0xda)]!==_0x16fab8[_0x3b7e6a(0xda)])return!0x1;for(let _0x4cbc33=0x0;_0x4cbc33<_0x41581a[_0x3b7e6a(0xda)];_0x4cbc33++)if(_0x41581a[_0x4cbc33]!==_0x16fab8[_0x4cbc33])return!0x1;return!0x0;}(this[_0x42863e(0xcb)][_0x42863e(0xfc)](_0x1b9f62=>_0x1b9f62['id']),Array[_0x42863e(0xc6)](this[_0x42863e(0xd6)][_0x42863e(0x119)]())[_0x42863e(0xfc)](_0x1f05d1=>_0x1f05d1[_0x42863e(0x107)](_0x42863e(0xf3)))))return!0x1;let _0x3d5bcd=!0x1;for(let _0x1f2f08=0x0;_0x1f2f08<this[_0x42863e(0xcb)][_0x42863e(0xda)];_0x1f2f08++){const _0x528607=this[_0x42863e(0xcb)][_0x1f2f08],_0xb9d134=_0x46d48d[_0x42863e(0x100)](_0x528607[_0x42863e(0xd2)]),_0x1b99e5=_0x46d48d[_0x42863e(0xfe)](this[_0x42863e(0xd6)],_0x1f2f08);_0xb9d134[_0x42863e(0xd9)](_0x1b99e5)||(_0x46d48d[_0x42863e(0xef)](_0x46d48d[_0x42863e(0xcc)](_0x528607[_0x42863e(0xd2)]),_0x1b99e5),_0x3d5bcd=!0x0);}return _0x3d5bcd;}[_0x256d62(0xca)](_0x4cbf98){const _0x4b6829=_0x256d62;if(!this[_0x4b6829(0xcb)][_0x4b6829(0xda)])return!0x1;const {model:_0x232e6e}=this[_0x4b6829(0x104)];let _0x1e6340=!0x1;for(let _0x232977=0x0;_0x232977<this[_0x4b6829(0xcb)][_0x4b6829(0xda)]-0x1;_0x232977++){const _0xe215b1=this[_0x4b6829(0xcb)][_0x232977],_0x445243=this[_0x4b6829(0xcb)][_0x232977+0x1],_0x5333f6=_0x232e6e[_0x4b6829(0x100)](_0xe215b1[_0x4b6829(0xf8)]),_0x1bbff5=_0x232e6e[_0x4b6829(0x100)](_0x445243[_0x4b6829(0xf8)]);_0x4b6829(0xd4)===_0x5333f6[_0x4b6829(0xe9)](_0x1bbff5)&&(this[_0x4b6829(0x10c)](_0x4cbf98,_0xe215b1[_0x4b6829(0xf8)]),_0x232977=-0x1,_0x1e6340=!0x0);}return _0x1e6340;}}function _(_0x495007,_0x1bb76f,_0x39e4c7){const _0x339cab=_0x256d62;if(_0x39e4c7[_0x339cab(0xc4)])return!0x1;const _0x4e6758=_0x1bb76f?_0x339cab(0xe4):_0x339cab(0x10b);return _0x495007[_0x339cab(0xe6)](_0x495007[_0x339cab(0xbd)](_0x4e6758),_0x39e4c7),!0x0;}function I(_0x185367,_0x1bea62,_0x512307){const _0x2f2aac=_0x256d62;if(0x0===_0x1bea62[_0x2f2aac(0xda)])return 0x0;const _0x5b17de=_0x185367[_0x2f2aac(0x100)](_0x512307);for(let _0x38630c=0x0;_0x38630c<_0x1bea62[_0x2f2aac(0xda)];_0x38630c++){const _0x2f1b65=_0x1bea62[_0x38630c],_0xfb70b7=_0x185367[_0x2f2aac(0x100)](_0x2f1b65[_0x2f2aac(0xf8)]);if(_0x2f2aac(0xf6)===_0x5b17de[_0x2f2aac(0xe9)](_0xfb70b7))return _0x38630c;}const _0x4ad057=_0x512307[_0x2f2aac(0xd8)];let _0x2c67aa=-0x1;for(let _0x23d29f=_0x1bea62[_0x2f2aac(0xda)]-0x1;_0x23d29f>=0x0;_0x23d29f--)if(_0x1bea62[_0x23d29f][_0x2f2aac(0xf8)][_0x2f2aac(0xd8)]===_0x4ad057){_0x2c67aa=_0x23d29f;break;}if(-0x1!==_0x2c67aa)return _0x2c67aa+0x1;const _0x74ec1d=_0x185367[_0x2f2aac(0x110)][_0x2f2aac(0xbf)](),_0x2c341f=_0x74ec1d[_0x2f2aac(0xce)](_0x4ad057[_0x2f2aac(0x10d)]),_0x5b519d=_0x74ec1d[_0x2c341f+0x1];if(_0x5b519d){for(let _0x1f8b7d=0x0;_0x1f8b7d<_0x1bea62[_0x2f2aac(0xda)];_0x1f8b7d++)if(_0x1bea62[_0x1f8b7d][_0x2f2aac(0xf8)][_0x2f2aac(0xd8)][_0x2f2aac(0x10d)]===_0x5b519d)return _0x1f8b7d;}return _0x1bea62[_0x2f2aac(0xda)];}
23
+ const _0x1b6287=_0x4a20;(function(_0x46c82f,_0x301f39){const _0x3d591d=_0x4a20,_0xa921cb=_0x46c82f();while(!![]){try{const _0x10f58d=-parseInt(_0x3d591d(0x12c))/0x1+-parseInt(_0x3d591d(0x14f))/0x2+-parseInt(_0x3d591d(0x171))/0x3+parseInt(_0x3d591d(0x160))/0x4+parseInt(_0x3d591d(0x13a))/0x5+parseInt(_0x3d591d(0x172))/0x6+parseInt(_0x3d591d(0x150))/0x7*(parseInt(_0x3d591d(0x141))/0x8);if(_0x10f58d===_0x301f39)break;else _0xa921cb['push'](_0xa921cb['shift']());}catch(_0x30fb32){_0xa921cb['push'](_0xa921cb['shift']());}}}(_0x2d64,0x63c6d));import{Plugin as _0x33befe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x559e42}from'./modelelementtracker.js';export class FootnotesTracker extends _0x33befe{[_0x1b6287(0x178)]=[];[_0x1b6287(0x143)]=null;[_0x1b6287(0x145)]=null;[_0x1b6287(0x167)];[_0x1b6287(0x136)];[_0x1b6287(0x12d)];static get[_0x1b6287(0x157)](){const _0x2fd48b=_0x1b6287;return _0x2fd48b(0x129);}static get[_0x1b6287(0x168)](){return!0x0;}static get[_0x1b6287(0x175)](){return!0x0;}constructor(_0x45249a){const _0x50ecf2=_0x1b6287;super(_0x45249a),this[_0x50ecf2(0x167)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x173),'getElementKey':()=>_0x50ecf2(0x15a)}),this[_0x50ecf2(0x136)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x15d),'getElementKey':_0x13ec92=>_0x13ec92[_0x50ecf2(0x11d)](_0x50ecf2(0x16a))}),this[_0x50ecf2(0x12d)]=new _0x559e42(this[_0x50ecf2(0x15b)][_0x50ecf2(0x162)],{'elementName':_0x50ecf2(0x12e),'getElementKey':_0x2793ba=>_0x2793ba[_0x50ecf2(0x11d)](_0x50ecf2(0x16a))});}[_0x1b6287(0x14d)](){const _0x5b86f7=_0x1b6287,{editor:_0x225b77}=this,{model:_0x4b14e2,data:_0x2c3b24}=_0x225b77;_0x4b14e2[_0x5b86f7(0x164)][_0x5b86f7(0x123)](_0x208516=>{const _0x2a8d39=_0x5b86f7,_0x5974de=_0x4b14e2[_0x2a8d39(0x164)][_0x2a8d39(0x137)][_0x2a8d39(0x163)]();let _0x3cf157=!0x1;return this[_0x2a8d39(0x126)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x140)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x125)](_0x208516,_0x5974de)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x149)](_0x208516)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x121)](_0x208516)&&(_0x3cf157=!0x0),this[_0x2a8d39(0x16e)](_0x208516)&&(_0x3cf157=!0x0),_0x3cf157;}),this[_0x5b86f7(0x139)](_0x4b14e2[_0x5b86f7(0x164)],_0x5b86f7(0x14b),()=>{const _0x1cf00d=_0x5b86f7;_0x4b14e2[_0x1cf00d(0x158)]({'isUndoable':!0x1},_0x3091c8=>{const _0x130af5=_0x1cf00d;this[_0x130af5(0x15e)](_0x3091c8);});},{'priority':_0x5b86f7(0x16f)}),this[_0x5b86f7(0x139)](_0x2c3b24,_0x5b86f7(0x124),()=>{const _0x36b0c2=_0x5b86f7;this[_0x36b0c2(0x178)]=[],this[_0x36b0c2(0x167)][_0x36b0c2(0x148)](),this[_0x36b0c2(0x136)][_0x36b0c2(0x148)](),this[_0x36b0c2(0x12d)][_0x36b0c2(0x148)]();},{'priority':_0x5b86f7(0x122)});}[_0x1b6287(0x13b)](){const _0xb89f65=_0x1b6287;return this[_0xb89f65(0x143)];}[_0x1b6287(0x155)](_0x452670){const _0x4d57ad=_0x1b6287;return this[_0x4d57ad(0x178)][_0x4d57ad(0x12a)](_0x4ebce9=>_0x4ebce9['id']===_0x452670)||null;}[_0x1b6287(0x13c)](){const _0x459dd2=_0x1b6287;return Array[_0x459dd2(0x11f)](this[_0x459dd2(0x178)]);}[_0x1b6287(0x159)](){const _0x1421a9=_0x1b6287;return this[_0x1421a9(0x145)];}[_0x1b6287(0x135)](_0x463e9f){const _0x127c4a=_0x1b6287;this[_0x127c4a(0x145)]=_0x463e9f;}[_0x1b6287(0x131)](_0x4af255,_0x2d8c40=0x0){const _0x2d1733=_0x1b6287;let _0x23ca59=!0x1;for(let _0x3aeae5=_0x2d8c40;_0x3aeae5<this[_0x2d1733(0x178)][_0x2d1733(0x11e)];_0x3aeae5++)this[_0x2d1733(0x128)](_0x4af255,_0x3aeae5)&&(_0x23ca59=!0x0);return _0x23ca59;}[_0x1b6287(0x153)](_0x3241f0,_0x2c17ba){const _0x500581=_0x1b6287,_0x27103a=_0x3241f0[_0x500581(0x14c)](_0x500581(0x173),{});return _0x3241f0[_0x500581(0x130)](_0x27103a,_0x2c17ba),this[_0x500581(0x143)]=_0x27103a,_0x27103a;}[_0x1b6287(0x15e)](_0x762674){const _0x3c50ef=_0x1b6287;if(!this[_0x3c50ef(0x178)][_0x3c50ef(0x11e)]||this[_0x3c50ef(0x143)])return;const _0x5a8b39=this[_0x3c50ef(0x178)][0x0][_0x3c50ef(0x138)][_0x3c50ef(0x16b)],_0x2f9269=this[_0x3c50ef(0x153)](_0x762674,_0x5a8b39);for(const _0x40afef of this[_0x3c50ef(0x178)])_0x40afef[_0x3c50ef(0x174)][_0x3c50ef(0x116)]||_0x762674[_0x3c50ef(0x170)](_0x40afef[_0x3c50ef(0x174)],_0x2f9269,_0x3c50ef(0x11c));this[_0x3c50ef(0x131)](_0x762674);}[_0x1b6287(0x126)](_0x2022d9,_0x3ff85b){const _0x5908c7=_0x1b6287;let _0x4a65c4=!0x1;const {inserted:_0x2dfaf8,removed:_0xc4747a,moved:_0x4f3f91}=this[_0x5908c7(0x167)][_0x5908c7(0x163)](_0x3ff85b);if(_0x4f3f91[_0x5908c7(0x11e)]&&(this[_0x5908c7(0x143)]=_0x4f3f91[0x0]),_0x2dfaf8[_0x5908c7(0x11e)]){if(_0x2dfaf8[_0x5908c7(0x11e)]>0x1||this[_0x5908c7(0x143)]&&_0x2dfaf8[_0x5908c7(0x16d)](_0x3bd1c2=>_0x3bd1c2!==this[_0x5908c7(0x143)])){const _0x1641ca=_0x2022d9[_0x5908c7(0x14c)](_0x5908c7(0x173),{}),_0xb1b050=[];this[_0x5908c7(0x143)]&&_0xb1b050[_0x5908c7(0x14e)](this[_0x5908c7(0x143)]),_0xb1b050[_0x5908c7(0x14e)](..._0x2dfaf8),_0x2022d9[_0x5908c7(0x170)](_0x1641ca,_0xb1b050[0x0],_0x5908c7(0x16c));for(const _0x59cafe of _0xb1b050)_0x2022d9[_0x5908c7(0x117)](_0x2022d9[_0x5908c7(0x176)](_0x59cafe),_0x2022d9[_0x5908c7(0x146)](_0x1641ca,_0x5908c7(0x11c))),_0x2022d9[_0x5908c7(0x13e)](_0x59cafe);this[_0x5908c7(0x143)]=_0x1641ca,this[_0x5908c7(0x131)](_0x2022d9),_0x4a65c4=!0x0;}else this[_0x5908c7(0x143)]=_0x2dfaf8[0x0];}if(_0xc4747a[_0x5908c7(0x11e)]&&_0x5908c7(0x142)===this[_0x5908c7(0x143)]?.[_0x5908c7(0x16b)][_0x5908c7(0x11b)]){for(const _0x55712c of this[_0x5908c7(0x178)])_0x2022d9[_0x5908c7(0x13e)](_0x55712c[_0x5908c7(0x138)]),_0x4a65c4=!0x0;this[_0x5908c7(0x178)]=[],this[_0x5908c7(0x143)]=null;}return _0x4a65c4;}[_0x1b6287(0x140)](_0x3acd2f,_0x3cd392){const _0x10922c=_0x1b6287;let _0xecc331=!0x1;const _0x4a0cb9=this[_0x10922c(0x15b)][_0x10922c(0x11a)][_0x10922c(0x147)](_0x10922c(0x132)),{inserted:_0x20b796,moved:_0x216c77}=this[_0x10922c(0x12d)][_0x10922c(0x163)](_0x3cd392);for(const _0x5e741e of[..._0x216c77,..._0x20b796]){const _0x547d9b=_0x5e741e[_0x10922c(0x11d)](_0x10922c(0x16a)),_0x53efdb=this[_0x10922c(0x155)](_0x547d9b);_0x53efdb&&(_0x53efdb[_0x10922c(0x174)]=_0x5e741e),_(_0x3acd2f,_0x4a0cb9,_0x5e741e)&&(_0xecc331=!0x0);}return _0xecc331;}[_0x1b6287(0x125)](_0x15ca5d,_0x19c469){const _0x1545d4=_0x1b6287;let _0x3f51bd=!0x1;const {removed:_0x317b82,inserted:_0x41c277,moved:_0x1a89d8}=this[_0x1545d4(0x136)][_0x1545d4(0x163)](_0x19c469);for(const _0x51420d of _0x317b82)this[_0x1545d4(0x154)](_0x15ca5d,_0x51420d)&&(_0x3f51bd=!0x0);for(const _0x133bbe of _0x41c277)this[_0x1545d4(0x13f)](_0x15ca5d,_0x133bbe)&&(_0x3f51bd=!0x0);for(const _0x268116 of _0x1a89d8)this[_0x1545d4(0x166)](_0x15ca5d,_0x268116)&&(_0x3f51bd=!0x0);return _0x3f51bd;}[_0x1b6287(0x121)](_0x1edfc2){const _0x119905=_0x1b6287;if(!this[_0x119905(0x143)])return!0x1;let _0x4ad02f=!0x1;if(this[_0x119905(0x143)][_0x119905(0x15c)]!==this[_0x119905(0x178)][_0x119905(0x11e)]){const _0x1f30c1=[];for(const _0xbeaecf of this[_0x119905(0x143)][_0x119905(0x152)]()){const _0x24c23a=_0xbeaecf[_0x119905(0x11d)](_0x119905(0x16a));this[_0x119905(0x155)](_0x24c23a)||(_0x1f30c1[_0x119905(0x12b)](_0xbeaecf),_0x4ad02f=!0x0);}for(const _0x513f6f of _0x1f30c1)_0x1edfc2[_0x119905(0x13e)](_0x513f6f);}const _0x104625=new Set(),_0x4a7b01=[];for(const _0x16571b of this[_0x119905(0x143)][_0x119905(0x152)]()){const _0x4af60d=_0x16571b[_0x119905(0x11d)](_0x119905(0x16a));_0x104625[_0x119905(0x161)](_0x4af60d)?(_0x4a7b01[_0x119905(0x12b)](_0x16571b),_0x4ad02f=!0x0):_0x104625[_0x119905(0x118)](_0x4af60d);}for(const _0x5df2cc of _0x4a7b01)_0x1edfc2[_0x119905(0x13e)](_0x5df2cc);return this[_0x119905(0x143)][_0x119905(0x15c)]||(_0x1edfc2[_0x119905(0x13e)](this[_0x119905(0x143)]),this[_0x119905(0x143)]=null,_0x4ad02f=!0x0),_0x4ad02f;}[_0x1b6287(0x13f)](_0x38e80b,_0x9c7f2d){const _0x52b254=_0x1b6287;if(this[_0x52b254(0x178)][_0x52b254(0x12a)](_0x545fff=>_0x545fff[_0x52b254(0x138)]===_0x9c7f2d))return!0x1;let _0x153d14=!0x1;const _0x5265bb=_0x9c7f2d[_0x52b254(0x11d)](_0x52b254(0x16a)),_0x3dc108=this[_0x52b254(0x178)][_0x52b254(0x120)](_0x4a378a=>_0x4a378a['id']===_0x5265bb);-0x1!==_0x3dc108&&(_0x38e80b[_0x52b254(0x13e)](this[_0x52b254(0x178)][_0x3dc108][_0x52b254(0x138)]),this[_0x52b254(0x178)][_0x52b254(0x177)](_0x3dc108,0x1),_0x153d14=!0x0);let _0x2df694=this[_0x52b254(0x143)]?function(_0x589bf0,_0x2940c2){const _0x279532=_0x52b254;for(const _0x19c8f9 of _0x589bf0[_0x279532(0x152)]())if(_0x19c8f9[_0x279532(0x11d)](_0x279532(0x16a))===_0x2940c2)return _0x19c8f9;return null;}(this[_0x52b254(0x143)],_0x5265bb):null;_0x2df694||(_0x2df694=_0x38e80b[_0x52b254(0x14c)](_0x52b254(0x12e),{'footnoteId':_0x5265bb}),this[_0x52b254(0x143)]&&(_0x38e80b[_0x52b254(0x170)](_0x2df694,this[_0x52b254(0x143)],_0x52b254(0x11c)),_0x153d14=!0x0));const _0x55c2f0={'id':_0x5265bb,'reference':_0x9c7f2d,'definition':_0x2df694},_0x3d0692=I(this[_0x52b254(0x15b)][_0x52b254(0x162)],this[_0x52b254(0x178)],_0x9c7f2d);this[_0x52b254(0x178)][_0x52b254(0x177)](_0x3d0692,0x0,_0x55c2f0);let _0x13b0d7=_0x3d0692;return-0x1!==_0x3dc108&&(_0x13b0d7=Math[_0x52b254(0x14a)](_0x3d0692,_0x3dc108)),this[_0x52b254(0x131)](_0x38e80b,_0x13b0d7)&&(_0x153d14=!0x0),_0x153d14;}[_0x1b6287(0x154)](_0xd89b18,_0x1ed5c0){const _0x4d64ec=_0x1b6287,_0x389116=this[_0x4d64ec(0x178)][_0x4d64ec(0x120)](_0x18f3c5=>_0x18f3c5['id']===_0x1ed5c0);if(-0x1===_0x389116)return!0x1;let _0x25e3a9=!0x1;const _0x4c97e5=this[_0x4d64ec(0x178)][_0x389116];return _0x4d64ec(0x142)!==_0x4c97e5[_0x4d64ec(0x174)][_0x4d64ec(0x16b)][_0x4d64ec(0x11b)]&&(_0xd89b18[_0x4d64ec(0x13e)](_0x4c97e5[_0x4d64ec(0x174)]),_0x25e3a9=!0x0),this[_0x4d64ec(0x178)][_0x4d64ec(0x177)](_0x389116,0x1),this[_0x4d64ec(0x131)](_0xd89b18,_0x389116)&&(_0x25e3a9=!0x0),_0x25e3a9;}[_0x1b6287(0x166)](_0x41651e,_0x2e9f51){const _0x4ece90=_0x1b6287,_0x4f8e2f=_0x2e9f51[_0x4ece90(0x11d)](_0x4ece90(0x16a)),_0x24865e=this[_0x4ece90(0x178)][_0x4ece90(0x120)](_0xb95029=>_0xb95029['id']===_0x4f8e2f),_0x5a4e32=this[_0x4ece90(0x178)][_0x24865e];let _0x3aaa8d=!0x1;_0x5a4e32[_0x4ece90(0x138)]=_0x2e9f51,this[_0x4ece90(0x178)][_0x4ece90(0x177)](_0x24865e,0x1);const _0x4c09ec=I(this[_0x4ece90(0x15b)][_0x4ece90(0x162)],this[_0x4ece90(0x178)],_0x2e9f51);return this[_0x4ece90(0x178)][_0x4ece90(0x177)](_0x4c09ec,0x0,_0x5a4e32),this[_0x4ece90(0x131)](_0x41651e,Math[_0x4ece90(0x14a)](_0x24865e,_0x4c09ec))&&(_0x3aaa8d=!0x0),_0x3aaa8d;}[_0x1b6287(0x128)](_0x561cb3,_0x43cdd7){const _0x2d82ea=_0x1b6287;if(!this[_0x2d82ea(0x143)])return!0x1;const _0x430cc0=this[_0x2d82ea(0x178)][_0x43cdd7];let _0x4ef646;return _0x4ef646=this[_0x2d82ea(0x145)]?this[_0x2d82ea(0x145)]({'footnote':_0x430cc0,'container':this[_0x2d82ea(0x143)],'digits':String(this[_0x2d82ea(0x178)][_0x2d82ea(0x11e)])[_0x2d82ea(0x11e)],'value':_0x43cdd7+0x1}):String(_0x43cdd7+0x1),_0x430cc0[_0x2d82ea(0x138)][_0x2d82ea(0x11d)](_0x2d82ea(0x127))!=_0x4ef646&&(_0x561cb3[_0x2d82ea(0x133)](_0x2d82ea(0x127),_0x4ef646,_0x430cc0[_0x2d82ea(0x138)]),!0x0);}[_0x1b6287(0x16e)](_0x28fc8e){const _0x50a861=_0x1b6287;if(!this[_0x50a861(0x143)]||this[_0x50a861(0x178)][_0x50a861(0x11e)]<0x2)return!0x1;if(function(_0x45fa8b,_0x3684b6){const _0x19376a=_0x50a861;if(_0x45fa8b[_0x19376a(0x11e)]!==_0x3684b6[_0x19376a(0x11e)])return!0x1;for(let _0xb878c0=0x0;_0xb878c0<_0x45fa8b[_0x19376a(0x11e)];_0xb878c0++)if(_0x45fa8b[_0xb878c0]!==_0x3684b6[_0xb878c0])return!0x1;return!0x0;}(this[_0x50a861(0x178)][_0x50a861(0x119)](_0x48a990=>_0x48a990['id']),Array[_0x50a861(0x11f)](this[_0x50a861(0x143)][_0x50a861(0x152)]())[_0x50a861(0x119)](_0x3a2f8f=>_0x3a2f8f[_0x50a861(0x11d)](_0x50a861(0x16a)))))return!0x1;let _0x414faf=!0x1;for(let _0x3b4d69=0x0;_0x3b4d69<this[_0x50a861(0x178)][_0x50a861(0x11e)];_0x3b4d69++){const _0x4f5180=this[_0x50a861(0x178)][_0x3b4d69],_0x44efe5=_0x28fc8e[_0x50a861(0x151)](_0x4f5180[_0x50a861(0x174)]),_0x2f33a6=_0x28fc8e[_0x50a861(0x146)](this[_0x50a861(0x143)],_0x3b4d69);_0x44efe5[_0x50a861(0x156)](_0x2f33a6)||(_0x28fc8e[_0x50a861(0x117)](_0x28fc8e[_0x50a861(0x13d)](_0x4f5180[_0x50a861(0x174)]),_0x2f33a6),_0x414faf=!0x0);}return _0x414faf;}[_0x1b6287(0x149)](_0x32ae5c){const _0x14075c=_0x1b6287;if(!this[_0x14075c(0x178)][_0x14075c(0x11e)])return!0x1;const {model:_0x31704f}=this[_0x14075c(0x15b)];let _0x3861cd=!0x1;for(let _0x1d3b9a=0x0;_0x1d3b9a<this[_0x14075c(0x178)][_0x14075c(0x11e)]-0x1;_0x1d3b9a++){const _0x11dd8e=this[_0x14075c(0x178)][_0x1d3b9a],_0x61209c=this[_0x14075c(0x178)][_0x1d3b9a+0x1],_0x1c90ad=_0x31704f[_0x14075c(0x151)](_0x11dd8e[_0x14075c(0x138)]),_0x14e220=_0x31704f[_0x14075c(0x151)](_0x61209c[_0x14075c(0x138)]);_0x14075c(0x12f)===_0x1c90ad[_0x14075c(0x144)](_0x14e220)&&(this[_0x14075c(0x166)](_0x32ae5c,_0x11dd8e[_0x14075c(0x138)]),_0x1d3b9a=-0x1,_0x3861cd=!0x0);}return _0x3861cd;}}function _0x4a20(_0x3948d8,_0x347b65){const _0x2d64f1=_0x2d64();return _0x4a20=function(_0x4a2005,_0x1eb729){_0x4a2005=_0x4a2005-0x116;let _0x4761db=_0x2d64f1[_0x4a2005];return _0x4761db;},_0x4a20(_0x3948d8,_0x347b65);}function _(_0xe45adb,_0x380199,_0xa7a037){const _0x4bf758=_0x1b6287;if(_0xa7a037[_0x4bf758(0x15c)])return!0x1;const _0xb44f9b=_0x380199?_0x4bf758(0x134):_0x4bf758(0x165);return _0xe45adb[_0x4bf758(0x170)](_0xe45adb[_0x4bf758(0x14c)](_0xb44f9b),_0xa7a037),!0x0;}function I(_0x29345c,_0x3562ac,_0x282b5e){const _0x279939=_0x1b6287;if(0x0===_0x3562ac[_0x279939(0x11e)])return 0x0;const _0x1cbf85=_0x29345c[_0x279939(0x151)](_0x282b5e);for(let _0x4d15db=0x0;_0x4d15db<_0x3562ac[_0x279939(0x11e)];_0x4d15db++){const _0x58af39=_0x3562ac[_0x4d15db],_0x58e702=_0x29345c[_0x279939(0x151)](_0x58af39[_0x279939(0x138)]);if(_0x279939(0x16c)===_0x1cbf85[_0x279939(0x144)](_0x58e702))return _0x4d15db;}const _0xda253a=_0x282b5e[_0x279939(0x16b)];let _0x147ed6=-0x1;for(let _0x5bfd76=_0x3562ac[_0x279939(0x11e)]-0x1;_0x5bfd76>=0x0;_0x5bfd76--)if(_0x3562ac[_0x5bfd76][_0x279939(0x138)][_0x279939(0x16b)]===_0xda253a){_0x147ed6=_0x5bfd76;break;}if(-0x1!==_0x147ed6)return _0x147ed6+0x1;const _0x4abedd=_0x29345c[_0x279939(0x164)][_0x279939(0x15f)](),_0x39a01d=_0x4abedd[_0x279939(0x169)](_0xda253a[_0x279939(0x11b)]),_0x366ec3=_0x4abedd[_0x39a01d+0x1];if(_0x366ec3){for(let _0x5313a8=0x0;_0x5313a8<_0x3562ac[_0x279939(0x11e)];_0x5313a8++)if(_0x3562ac[_0x5313a8][_0x279939(0x138)][_0x279939(0x16b)][_0x279939(0x11b)]===_0x366ec3)return _0x5313a8;}return _0x3562ac[_0x279939(0x11e)];}function _0x2d64(){const _0x3a0d65=['1202222uXsaMI','createPositionBefore','getChildren','_insertEmptyFootnotesDefinitionsContainer','_handleRemoveFootnoteReferenceById','getFootnote','isEqual','pluginName','enqueueChange','getFootnotesFormatter','singleton','editor','childCount','footnoteRef','_ensureFootnotesDefinitionsContainerExists','getRootNames','893528yyVkDF','has','model','getChanges','document','footnoteInlineContent','_handleMovedFootnoteReference','_footnoteDefsContainerTracker','isOfficialPlugin','indexOf','footnoteId','root','before','some','_sortFootnoteDefinitions','low','insert','1925922lccUIs','248760mDTgoO','footnotesDefinitions','definition','isPremiumPlugin','createRangeIn','splice','_footnotes','parent','move','add','map','config','rootName','end','getAttribute','length','from','findIndex','_handleFootnotesDefinitionsObjectSync','high','registerPostFixer','set','_handleFootnoteReferencesChanges','_handleFootnotesDefinitionsObjectChanges','footnoteCounter','_updateFootnoteRefCounter','FootnotesTracker','find','unshift','778614ytvJuO','_footnoteDefsTracker','footnoteDefinition','after','append','_updateFootnotesCounters','footnotes.multiBlock','setAttribute','paragraph','setFootnoteFormatter','_footnoteRefsTracker','differ','reference','listenTo','384750DzojVl','getFootnotesDefinitionsObjectElement','getFootnotes','createRangeOn','remove','_handleInsertedFootnoteReference','_handleFootnoteDefinitionsChanges','96eykRXs','$graveyard','_footnotesDefinitions','compareWith','_footnoteFormatter','createPositionAt','get','reset','_ensureFootnotesReferencesHaveProperOrder','min','change:data','createElement','init','push','1146942YheiAn'];_0x2d64=function(){return _0x3a0d65;};return _0x2d64();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x380c38,MenuBarMenuListItemButtonView as _0x31087a}from'ckeditor5/src/ui.js';import{Plugin as _0x209c85}from'ckeditor5/src/core.js';import{IconFootnote as _0x46ebda}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x209c85{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1f91cf}=this,{componentFactory:_0x32b57d}=_0x1f91cf['ui'];_0x32b57d['add']('insertFootnote',x(_0x1f91cf,_0x380c38)),_0x32b57d['add']('menuBar:insertFootnote',x(_0x1f91cf,_0x31087a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x502179=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x29ab8b;for(const _0x522229 in _0x502179){const _0x32e9fb=_0x522229,_0x27e7ef=_0x502179[_0x32e9fb];if('footnotesLicenseKeyValid'==_0x27e7ef||'footnotesLicenseKeyInvalid'==_0x27e7ef||'footnotesLicenseKeyExpired'==_0x27e7ef||'footnotesLicenseKeyDomainLimit'==_0x27e7ef||'footnotesLicenseKeyNotAllowed'==_0x27e7ef||'footnotesLicenseKeyEvaluationLimit'==_0x27e7ef||'footnotesLicenseKeyTrialLimit'==_0x27e7ef||'footnotesLicenseKeyUsageLimit'==_0x27e7ef){delete _0x502179[_0x32e9fb],_0x29ab8b=_0x27e7ef,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x29ab8b&&_0x502179['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x29ab8b&&_0x502179['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x29ab8b&&_0x502179['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x29ab8b&&_0x502179['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x31bf03,_0x5e2e33){const _0x25ba99=_0x31bf03['commands']['get']('insertFootnote');return _0x3b4e27=>{const {t:t}=_0x3b4e27,_0x4d8372=new _0x5e2e33(_0x3b4e27),_0x19c7e2=_0x4d8372 instanceof _0x31087a;return _0x4d8372['bind']('isEnabled')['to'](_0x25ba99,'isEnabled'),_0x4d8372['set']({'label':t(_0x19c7e2?'Footnote':'Insert\x20footnote'),'icon':_0x46ebda,'tooltip':!0x0}),_0x4d8372['on']('execute',()=>{_0x25ba99['execute'](),_0x31bf03['editing']['view']['focus']();}),_0x4d8372;};}
23
+ import{ButtonView as _0x47278f,MenuBarMenuListItemButtonView as _0x215501}from'ckeditor5/src/ui.js';import{Plugin as _0x8ed065}from'ckeditor5/src/core.js';import{IconFootnote as _0x5891ac}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x8ed065{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2710c6}=this,{componentFactory:_0x583ca7}=_0x2710c6['ui'];_0x583ca7['add']('insertFootnote',x(_0x2710c6,_0x47278f)),_0x583ca7['add']('menuBar:insertFootnote',x(_0x2710c6,_0x215501)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4650a3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x5ccc0d;for(const _0x5ce88f in _0x4650a3){const _0x411868=_0x5ce88f,_0xcd552a=_0x4650a3[_0x411868];if('footnotesLicenseKeyValid'==_0xcd552a||'footnotesLicenseKeyInvalid'==_0xcd552a||'footnotesLicenseKeyExpired'==_0xcd552a||'footnotesLicenseKeyDomainLimit'==_0xcd552a||'footnotesLicenseKeyNotAllowed'==_0xcd552a||'footnotesLicenseKeyEvaluationLimit'==_0xcd552a||'footnotesLicenseKeyTrialLimit'==_0xcd552a||'footnotesLicenseKeyUsageLimit'==_0xcd552a){delete _0x4650a3[_0x411868],_0x5ccc0d=_0xcd552a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x5ccc0d&&_0x4650a3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1194f2,_0x1451da){const _0x1ebfa2=_0x1194f2['commands']['get']('insertFootnote');return _0x4b4dc0=>{const {t:t}=_0x4b4dc0,_0x5567f7=new _0x1451da(_0x4b4dc0),_0x492b85=_0x5567f7 instanceof _0x215501;return _0x5567f7['bind']('isEnabled')['to'](_0x1ebfa2,'isEnabled'),_0x5567f7['set']({'label':t(_0x492b85?'Footnote':'Insert\x20footnote'),'icon':_0x5891ac,'tooltip':!0x0}),_0x5567f7['on']('execute',()=>{_0x1ebfa2['execute'](),_0x1194f2['editing']['view']['focus']();}),_0x5567f7;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x31f705,_0x2d2fc4){var _0x14eb08=_0x20d7,_0x2d0102=_0x31f705();while(!![]){try{var _0x33b0eb=parseInt(_0x14eb08(0x1e9))/0x1*(parseInt(_0x14eb08(0x1ec))/0x2)+parseInt(_0x14eb08(0x1ee))/0x3+-parseInt(_0x14eb08(0x1f1))/0x4+parseInt(_0x14eb08(0x1ea))/0x5*(-parseInt(_0x14eb08(0x1f0))/0x6)+parseInt(_0x14eb08(0x1f2))/0x7+-parseInt(_0x14eb08(0x1ed))/0x8+parseInt(_0x14eb08(0x1ef))/0x9*(parseInt(_0x14eb08(0x1eb))/0xa);if(_0x33b0eb===_0x2d2fc4)break;else _0x2d0102['push'](_0x2d0102['shift']());}catch(_0x57b266){_0x2d0102['push'](_0x2d0102['shift']());}}}(_0x1237,0x9fe59));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x20d7(_0x17b3c8,_0x40a9c6){var _0x123795=_0x1237();return _0x20d7=function(_0x20d7b0,_0x3022f7){_0x20d7b0=_0x20d7b0-0x1e9;var _0x284bdd=_0x123795[_0x20d7b0];return _0x284bdd;},_0x20d7(_0x17b3c8,_0x40a9c6);}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x1237(){var _0x2598bd=['70206UJPAvp','757728azMFNh','739410QCQIcr','41ZLxIDJ','105lxkizi','10QdRCoi','31214buEmQf','7941216qvQbvn','3264042iHEeYV','2242899rbgmaq'];_0x1237=function(){return _0x2598bd;};return _0x1237();}
23
+ (function(_0x548953,_0x4a3c42){var _0x1425f5=_0x5d78,_0x11eeed=_0x548953();while(!![]){try{var _0x822766=-parseInt(_0x1425f5(0xbc))/0x1*(parseInt(_0x1425f5(0xbe))/0x2)+-parseInt(_0x1425f5(0xc1))/0x3+parseInt(_0x1425f5(0xc2))/0x4*(-parseInt(_0x1425f5(0xb9))/0x5)+parseInt(_0x1425f5(0xbf))/0x6+-parseInt(_0x1425f5(0xbb))/0x7*(-parseInt(_0x1425f5(0xba))/0x8)+parseInt(_0x1425f5(0xc0))/0x9+parseInt(_0x1425f5(0xbd))/0xa;if(_0x822766===_0x4a3c42)break;else _0x11eeed['push'](_0x11eeed['shift']());}catch(_0x386487){_0x11eeed['push'](_0x11eeed['shift']());}}}(_0x35f1,0x9b0ef));import'./augmentation.js';function _0x5d78(_0x2e16c9,_0x178ea1){var _0x35f1a7=_0x35f1();return _0x5d78=function(_0x5d78ce,_0x3748a4){_0x5d78ce=_0x5d78ce-0xb9;var _0xf076de=_0x35f1a7[_0x5d78ce];return _0xf076de;},_0x5d78(_0x2e16c9,_0x178ea1);}function _0x35f1(){var _0x57087e=['1107729MacHEu','110XfeewY','5095170vbmozp','7832rpiukB','4437966BclnQS','5071545OqWSiA','1786605caQoqF','59620BONxih','210eUeVKi','24LCNNlr'];_0x35f1=function(){return _0x57087e;};return _0x35f1();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2f6b(){const _0x55cac0=['elementName','getItems','position','values','$graveyard','25958920tudcoU','slice','type','length','9GZUGng','from','has','_trackedElements','$text','_model','flat','element','2554004sOJUdB','5222008XIxRFO','7783909gWXlmq','createRangeOn','remove','add','clear','nodeAfter','3059508kfqYDe','390vaTLIF','_elementName','insert','push','root','_getElementKey','699186vybxAi','83010fnpmov','3oIlcDy','attributes','reset','set','getElementKey','getChanges','rootName','delete','get','name'];_0x2f6b=function(){return _0x55cac0;};return _0x2f6b();}function _0x3b7b(_0x3bb618,_0x15ccd2){const _0x2f6b34=_0x2f6b();return _0x3b7b=function(_0x3b7b07,_0x100d95){_0x3b7b07=_0x3b7b07-0x16a;let _0x456768=_0x2f6b34[_0x3b7b07];return _0x456768;},_0x3b7b(_0x3bb618,_0x15ccd2);}const _0x4a2b1d=_0x3b7b;(function(_0xabd445,_0x7abc8a){const _0x4774ed=_0x3b7b,_0x3a9be1=_0xabd445();while(!![]){try{const _0x1bcd20=parseInt(_0x4774ed(0x195))/0x1+-parseInt(_0x4774ed(0x18e))/0x2+parseInt(_0x4774ed(0x16b))/0x3*(parseInt(_0x4774ed(0x186))/0x4)+-parseInt(_0x4774ed(0x18f))/0x5*(parseInt(_0x4774ed(0x16a))/0x6)+-parseInt(_0x4774ed(0x188))/0x7+-parseInt(_0x4774ed(0x187))/0x8*(-parseInt(_0x4774ed(0x17e))/0x9)+parseInt(_0x4774ed(0x17a))/0xa;if(_0x1bcd20===_0x7abc8a)break;else _0x3a9be1['push'](_0x3a9be1['shift']());}catch(_0x431ec1){_0x3a9be1['push'](_0x3a9be1['shift']());}}}(_0x2f6b,0xd34b3));export class ModelElementTracker{[_0x4a2b1d(0x183)];[_0x4a2b1d(0x190)];[_0x4a2b1d(0x194)];[_0x4a2b1d(0x181)]=new Map();constructor(_0x1cad6a,_0x4263f3){const _0x11e37e=_0x4a2b1d;this[_0x11e37e(0x183)]=_0x1cad6a,this[_0x11e37e(0x190)]=_0x4263f3[_0x11e37e(0x175)],this[_0x11e37e(0x194)]=_0x4263f3[_0x11e37e(0x16f)];}[_0x4a2b1d(0x16d)](){const _0x5ea681=_0x4a2b1d;this[_0x5ea681(0x181)][_0x5ea681(0x18c)]();}[_0x4a2b1d(0x170)](_0x1dcc55){const _0x3e8b23=_0x4a2b1d,_0x5ea56a=new Set(),_0x31fefc=new Map();for(const _0x4739fc of _0x1dcc55){if(_0x3e8b23(0x191)===_0x4739fc[_0x3e8b23(0x17c)]&&_0x3e8b23(0x182)!==_0x4739fc[_0x3e8b23(0x174)]&&_0x4739fc[_0x3e8b23(0x177)][_0x3e8b23(0x18d)]){const _0x139977=this[_0x3e8b23(0x183)][_0x3e8b23(0x189)](_0x4739fc[_0x3e8b23(0x177)][_0x3e8b23(0x18d)]);for(const _0x135052 of _0x139977[_0x3e8b23(0x176)]()){if(!_0x135052['is'](_0x3e8b23(0x185),this[_0x3e8b23(0x190)]))continue;const _0x54e663=this[_0x3e8b23(0x194)](_0x135052);_0x31fefc[_0x3e8b23(0x180)](_0x54e663)||_0x31fefc[_0x3e8b23(0x16e)](_0x54e663,[]),_0x31fefc[_0x3e8b23(0x173)](_0x54e663)[_0x3e8b23(0x192)](_0x135052);}}if(_0x3e8b23(0x18a)===_0x4739fc[_0x3e8b23(0x17c)]&&_0x4739fc[_0x3e8b23(0x174)]===this[_0x3e8b23(0x190)]){const _0x3a24f3=this[_0x3e8b23(0x194)]({'getAttribute':_0x240829=>_0x4739fc[_0x3e8b23(0x16c)][_0x3e8b23(0x173)](_0x240829)});_0x5ea56a[_0x3e8b23(0x18b)](_0x3a24f3);}}for(const [_0x7b3817,_0x427421]of this[_0x3e8b23(0x181)])_0x3e8b23(0x179)===_0x427421[_0x3e8b23(0x193)][_0x3e8b23(0x171)]&&_0x5ea56a[_0x3e8b23(0x18b)](_0x7b3817);for(const _0x546cbd of _0x5ea56a)this[_0x3e8b23(0x181)][_0x3e8b23(0x172)](_0x546cbd);for(const [_0x46f905,_0x3d0c6d]of _0x31fefc)this[_0x3e8b23(0x181)][_0x3e8b23(0x16e)](_0x46f905,_0x3d0c6d[_0x3d0c6d[_0x3e8b23(0x17d)]-0x1]);const _0x5c252b=new Set();for(const [_0x335689,_0x8aa531]of _0x31fefc)_0x5ea56a[_0x3e8b23(0x180)](_0x335689)&&(_0x5c252b[_0x3e8b23(0x18b)](_0x8aa531[0x0]),_0x8aa531[_0x3e8b23(0x17d)]>0x1?_0x31fefc[_0x3e8b23(0x16e)](_0x335689,_0x8aa531[_0x3e8b23(0x17b)](0x1)):_0x31fefc[_0x3e8b23(0x172)](_0x335689),_0x5ea56a[_0x3e8b23(0x172)](_0x335689));return{'removed':Array[_0x3e8b23(0x17f)](_0x5ea56a),'inserted':Array[_0x3e8b23(0x17f)](_0x31fefc[_0x3e8b23(0x178)]())[_0x3e8b23(0x184)](),'moved':Array[_0x3e8b23(0x17f)](_0x5c252b)};}}
23
+ function _0x4ca5(){const _0x3f735d=['6066632OYgXRO','type','slice','root','length','$text','from','name','getElementKey','_elementName','createRangeOn','1395108cDoplU','reset','get','add','attributes','flat','1258453iOgKGw','rootName','element','nodeAfter','4551306VTYQrl','3931480gaXcuG','getItems','insert','34hWXBqE','3358910JboGuv','clear','has','_trackedElements','values','remove','delete','4301hArhDe','elementName','position','getChanges','push','$graveyard','_model','set','_getElementKey'];_0x4ca5=function(){return _0x3f735d;};return _0x4ca5();}const _0xc93fcc=_0x3c10;function _0x3c10(_0x39e9fd,_0x3aa970){const _0x4ca52b=_0x4ca5();return _0x3c10=function(_0x3c10a4,_0x33b325){_0x3c10a4=_0x3c10a4-0x1c9;let _0x456cfc=_0x4ca52b[_0x3c10a4];return _0x456cfc;},_0x3c10(_0x39e9fd,_0x3aa970);}(function(_0x475209,_0x21d3eb){const _0x5bab70=_0x3c10,_0xea3b09=_0x475209();while(!![]){try{const _0x33b902=-parseInt(_0x5bab70(0x1ed))/0x1*(-parseInt(_0x5bab70(0x1e5))/0x2)+-parseInt(_0x5bab70(0x1d7))/0x3+-parseInt(_0x5bab70(0x1e2))/0x4+parseInt(_0x5bab70(0x1e6))/0x5+parseInt(_0x5bab70(0x1e1))/0x6+-parseInt(_0x5bab70(0x1dd))/0x7+parseInt(_0x5bab70(0x1cc))/0x8;if(_0x33b902===_0x21d3eb)break;else _0xea3b09['push'](_0xea3b09['shift']());}catch(_0x24e657){_0xea3b09['push'](_0xea3b09['shift']());}}}(_0x4ca5,0x9acee));export class ModelElementTracker{[_0xc93fcc(0x1c9)];[_0xc93fcc(0x1d5)];[_0xc93fcc(0x1cb)];[_0xc93fcc(0x1e9)]=new Map();constructor(_0xb9861f,_0x25066b){const _0x277cae=_0xc93fcc;this[_0x277cae(0x1c9)]=_0xb9861f,this[_0x277cae(0x1d5)]=_0x25066b[_0x277cae(0x1ee)],this[_0x277cae(0x1cb)]=_0x25066b[_0x277cae(0x1d4)];}[_0xc93fcc(0x1d8)](){const _0x27b38e=_0xc93fcc;this[_0x27b38e(0x1e9)][_0x27b38e(0x1e7)]();}[_0xc93fcc(0x1f0)](_0x244342){const _0x17d551=_0xc93fcc,_0x26fae9=new Set(),_0x11fdc9=new Map();for(const _0x3081fb of _0x244342){if(_0x17d551(0x1e4)===_0x3081fb[_0x17d551(0x1cd)]&&_0x17d551(0x1d1)!==_0x3081fb[_0x17d551(0x1d3)]&&_0x3081fb[_0x17d551(0x1ef)][_0x17d551(0x1e0)]){const _0x28d075=this[_0x17d551(0x1c9)][_0x17d551(0x1d6)](_0x3081fb[_0x17d551(0x1ef)][_0x17d551(0x1e0)]);for(const _0x415a87 of _0x28d075[_0x17d551(0x1e3)]()){if(!_0x415a87['is'](_0x17d551(0x1df),this[_0x17d551(0x1d5)]))continue;const _0x3c0585=this[_0x17d551(0x1cb)](_0x415a87);_0x11fdc9[_0x17d551(0x1e8)](_0x3c0585)||_0x11fdc9[_0x17d551(0x1ca)](_0x3c0585,[]),_0x11fdc9[_0x17d551(0x1d9)](_0x3c0585)[_0x17d551(0x1f1)](_0x415a87);}}if(_0x17d551(0x1eb)===_0x3081fb[_0x17d551(0x1cd)]&&_0x3081fb[_0x17d551(0x1d3)]===this[_0x17d551(0x1d5)]){const _0x3f370e=this[_0x17d551(0x1cb)]({'getAttribute':_0x3cfc09=>_0x3081fb[_0x17d551(0x1db)][_0x17d551(0x1d9)](_0x3cfc09)});_0x26fae9[_0x17d551(0x1da)](_0x3f370e);}}for(const [_0x218b56,_0x4e0298]of this[_0x17d551(0x1e9)])_0x17d551(0x1f2)===_0x4e0298[_0x17d551(0x1cf)][_0x17d551(0x1de)]&&_0x26fae9[_0x17d551(0x1da)](_0x218b56);for(const _0x31e1d5 of _0x26fae9)this[_0x17d551(0x1e9)][_0x17d551(0x1ec)](_0x31e1d5);for(const [_0x5da356,_0xb16b80]of _0x11fdc9)this[_0x17d551(0x1e9)][_0x17d551(0x1ca)](_0x5da356,_0xb16b80[_0xb16b80[_0x17d551(0x1d0)]-0x1]);const _0x233277=new Set();for(const [_0x421121,_0x1f75ec]of _0x11fdc9)_0x26fae9[_0x17d551(0x1e8)](_0x421121)&&(_0x233277[_0x17d551(0x1da)](_0x1f75ec[0x0]),_0x1f75ec[_0x17d551(0x1d0)]>0x1?_0x11fdc9[_0x17d551(0x1ca)](_0x421121,_0x1f75ec[_0x17d551(0x1ce)](0x1)):_0x11fdc9[_0x17d551(0x1ec)](_0x421121),_0x26fae9[_0x17d551(0x1ec)](_0x421121));return{'removed':Array[_0x17d551(0x1d2)](_0x26fae9),'inserted':Array[_0x17d551(0x1d2)](_0x11fdc9[_0x17d551(0x1ea)]())[_0x17d551(0x1dc)](),'moved':Array[_0x17d551(0x1d2)](_0x233277)};}}