@ckeditor/ckeditor5-footnotes 47.6.1 → 47.6.2-alpha.1

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 _0x43d62d}from'ckeditor5/src/core.js';import{isWidget as _0x40feb4,toWidget as _0x2b8740,toWidgetEditable as _0x1900f5}from'ckeditor5/src/widget.js';import{uid as _0x435f23}from'ckeditor5/src/utils.js';import{PointerObserver as _0x47237e,ClickObserver as _0x3e7292}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x12d3fb}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x224aa7}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x43d62d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x12d3fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x492641}=this;_0x492641['config']['define']('footnotes.multiBlock',!0x0),_0x492641['commands']['add']('insertFootnote',new _0x224aa7(_0x492641)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x342b81){const _0x18cbd4=_0x2cf1b4([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]),_0x314913=0x47a28506,_0x26f0e0=0x47a5010e^_0x314913,_0x5cb0af=window[_0x2cf1b4([0x44,0x61,0x74,0x65])][_0x2cf1b4([0x6e,0x6f,0x77])](),_0x1948ca=_0x342b81[_0x2cf1b4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b6907=new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x373d03=>{_0x1948ca[_0x2cf1b4([0x6f,0x6e,0x63,0x65])](_0x2cf1b4([0x72,0x65,0x61,0x64,0x79]),_0x373d03);}),_0x1c2f04={[_0x2cf1b4([0x6b,0x74,0x79])]:_0x2cf1b4([0x45,0x43]),[_0x2cf1b4([0x75,0x73,0x65])]:_0x2cf1b4([0x73,0x69,0x67]),[_0x2cf1b4([0x63,0x72,0x76])]:_0x2cf1b4([0x50,0x2d,0x32,0x35,0x36]),[_0x2cf1b4([0x78])]:_0x2cf1b4([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]),[_0x2cf1b4([0x79])]:_0x2cf1b4([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]),[_0x2cf1b4([0x61,0x6c,0x67])]:_0x2cf1b4([0x45,0x53,0x32,0x35,0x36])},_0x35ebbe=_0x1948ca[_0x2cf1b4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2cf1b4([0x67,0x65,0x74])](_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1a8556(){let _0x32104a,_0x4a9927=null,_0x4b4fb2=null;try{if(_0x35ebbe==_0x2cf1b4([0x47,0x50,0x4c]))return _0x2cf1b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x32104a=_0x13b12c(),!_0x32104a)return _0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x32104a[_0x2cf1b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b4fb2=_0x5cb4e5(_0x32104a[_0x2cf1b4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x32104a[_0x2cf1b4([0x6a,0x74,0x69])])),await _0x116cde()?_0x55be87()?_0x8e73a1()?_0x2cf1b4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1809a0()?(_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2cf1b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4a9927=_0x3e7d1b(_0x2cf1b4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x111d87()):_0x2cf1b4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf1b4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2cf1b4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x8e73a1(){const _0x484df3=[_0x2cf1b4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2cf1b4([0x74,0x72,0x69,0x61,0x6c])][_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5cb0af/0x3e8:0xe10*_0x26f0e0;return _0x32104a[_0x2cf1b4([0x65,0x78,0x70])]<_0x484df3;}function _0x55be87(){const _0x3c03be=_0x32104a[_0x2cf1b4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3c03be&&(!!_0x3c03be[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x2a]))||!!_0x3c03be[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x46,0x4f,0x4f])));}function _0x1809a0(){const _0x214dbb=_0x32104a[_0x2cf1b4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x214dbb||0x0==_0x214dbb[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4d66e7}=new URL(window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x214dbb[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d66e7))return!0x0;const _0x1a01cc=_0x4d66e7[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e]));return _0x214dbb[_0x2cf1b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b0032=>_0x5b0032[_0x2cf1b4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2cf1b4([0x2a])))[_0x2cf1b4([0x6d,0x61,0x70])](_0x1d8c0a=>_0x1d8c0a[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e])))[_0x2cf1b4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x36a518=>_0x36a518[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1a01cc[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf1b4([0x6d,0x61,0x70])](_0x2f3cb2=>Array(_0x1a01cc[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2f3cb2[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2cf1b4([0x66,0x69,0x6c,0x6c])](_0x2f3cb2[0x0]===_0x2cf1b4([0x2a])?_0x2cf1b4([0x2a]):'')[_0x2cf1b4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2f3cb2))[_0x2cf1b4([0x73,0x6f,0x6d,0x65])](_0x2a4872=>_0x1a01cc[_0x2cf1b4([0x65,0x76,0x65,0x72,0x79])]((_0x289bc4,_0x56b912)=>_0x2a4872[_0x56b912]===_0x289bc4||_0x2a4872[_0x56b912]===_0x2cf1b4([0x2a])));}function _0x111d87(){return _0x4a9927&&_0x4b4fb2?new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x63a369,_0x3266a9)=>{_0x4a9927[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x63a369,_0x3266a9),_0x4b4fb2[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x9a997e=>{_0x9a997e!=_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])&&_0x63a369(_0x9a997e);},_0x3266a9);}):_0x4a9927||_0x4b4fb2||_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cb4e5(_0x4b02d6,_0x35b826){return new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x18e933=>{if(_0x9a0ae6())return _0x18e933(_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]));_0x727733(),_0x1948ca[_0x2cf1b4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0xd1817=!0x1;const _0x28578d=_0x435f23();function _0x48422b(_0xe87e51){return!!_0xe87e51&&(typeof _0xe87e51===_0x2cf1b4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xe87e51===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xe87e51[_0x2cf1b4([0x74,0x68,0x65,0x6e])]===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xe87e51[_0x2cf1b4([0x63,0x61,0x74,0x63,0x68])]===_0x2cf1b4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1d1f28(_0x52637e){_0x5d96cf(_0x52637e)[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x3eb082=>{if(!_0x3eb082||_0x3eb082[_0x2cf1b4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2cf1b4([0x6f,0x6b]))return _0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5c8cdb(_0xe2d621(_0x28578d+_0x35b826))!=_0x3eb082[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x5b1453=>(_0x8555be(),_0x5b1453),()=>{const _0x1c50ed=_0x427e29();return null==_0x1c50ed?(_0x8555be(),_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])):_0x2cf1b4(_0x5cb0af-_0x1c50ed>(0x63ae0106^_0x314913)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x18e933)[_0x2cf1b4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x1f3a2c=0x47946b86^_0x314913;function _0x8555be(){const _0x7e08b5=_0x2cf1b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8cdb(_0xe2d621(_0x4b02d6)),_0x5eb903=_0xff2dea(_0x5c8cdb(window[_0x2cf1b4([0x4d,0x61,0x74,0x68])][_0x2cf1b4([0x63,0x65,0x69,0x6c])](_0x5cb0af/_0x1f3a2c)));window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf1b4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7e08b5,_0x5eb903);}function _0x427e29(){const _0x2ddc43=_0x2cf1b4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5c8cdb(_0xe2d621(_0x4b02d6)),_0x5dd3ef=window[_0x2cf1b4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2cf1b4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2ddc43);return _0x5dd3ef?window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xff2dea(_0x5dd3ef),0x10)*_0x1f3a2c:null;}function _0x5d96cf(_0x1889f1){return new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1fe523,_0x2ff7bd)=>{_0x1889f1[_0x2cf1b4([0x74,0x68,0x65,0x6e])](_0x1fe523,_0x2ff7bd),window[_0x2cf1b4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2ff7bd,0x47a351c6^_0x314913);});}}_0x1948ca[_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x15db6,_0x47f4d5)=>{if(_0x47f4d5[0x0]!=_0x4b02d6)return _0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x47f4d5[0x1]={..._0x47f4d5[0x1],[_0x2cf1b4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x28578d};},{[_0x2cf1b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf1b4([0x68,0x69,0x67,0x68])}),_0x1948ca[_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x160689=>{_0x48422b(_0x160689[_0x2cf1b4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0xd1817=!0x0,_0x1d1f28(_0x160689[_0x2cf1b4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2cf1b4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2cf1b4([0x6c,0x6f,0x77])}),_0x2b6907[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>{_0xd1817||_0x18e933(_0x2cf1b4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x9a0ae6(){return _0x1948ca[_0x2cf1b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf1b4([0x76,0x69,0x65,0x77])][_0x2cf1b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2cf1b4([0x61,0x75,0x74,0x6f]);}function _0x727733(){_0x1948ca[_0x2cf1b4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2cf1b4([0x76,0x69,0x65,0x77])][_0x2cf1b4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2cf1b4([0x61,0x75,0x74,0x6f]);}}function _0x3e7d1b(_0x486b29){const _0xc04ec2=[new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x30f965=>setTimeout(_0x30f965,0x47abbbca^_0x314913)),_0x2b6907[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3727b3=>{let _0x4ccf95=0x0;_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x6f,0x6e])](_0x2cf1b4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3648b9,_0x1e8520)=>{_0x1e8520[0x0][_0x2cf1b4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ccf95++,_0x4ccf95==(0x47a280ee^_0x314913)&&(_0x3727b3(),_0x3648b9[_0x2cf1b4([0x6f,0x66,0x66])]());});}))];return window[_0x2cf1b4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2cf1b4([0x72,0x61,0x63,0x65])](_0xc04ec2)[_0x2cf1b4([0x74,0x68,0x65,0x6e])](()=>_0x486b29);}async function _0x235240(){await _0x2b6907,_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x14da8b,_0x1948ca[_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c])][_0x2cf1b4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x14da8b,_0x1948ca[_0x2cf1b4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2cf1b4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x57255e(_0x3c7f45){const _0xe4639a=_0x356db7();_0x1948ca[_0xe4639a]=_0x2cf1b4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3c7f45,_0x3c7f45!=_0x2cf1b4([0x56,0x61,0x6c,0x69,0x64])&&_0x235240();}function _0x356db7(){const _0x3ed8c3=window[_0x2cf1b4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2cf1b4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2cf1b4([0x6e,0x6f,0x77])]())[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2cf1b4([0x2e]),'');let _0x7a3156=_0x2cf1b4([0x75]);for(let _0x1bf463=0x0;_0x1bf463<_0x3ed8c3[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1bf463+=0x2){let _0x3608de=window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ed8c3[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bf463,_0x1bf463+0x2));_0x3608de>=_0x18cbd4[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3608de-=_0x18cbd4[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x7a3156+=_0x18cbd4[_0x3608de];}return _0x7a3156;}function _0x13b12c(){const _0x3ce96d=_0x35ebbe[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e]));if(0x3!=_0x3ce96d[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15666c(_0x3ce96d[0x1]);function _0x15666c(_0x39babe){const _0x2c6f93=_0x5a0600(_0x39babe);return _0x2c6f93&&_0x1d81b4()?_0x2c6f93:null;function _0x1d81b4(){const _0x5d5aed=_0x2c6f93[_0x2cf1b4([0x6a,0x74,0x69])],_0x5a1d32=window[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d5aed[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5d5aed[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x191b64={..._0x2c6f93,[_0x2cf1b4([0x6a,0x74,0x69])]:_0x5d5aed[_0x2cf1b4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5d5aed[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x191b64[_0x2cf1b4([0x76,0x63])],_0xe2d621(_0x191b64)==_0x5a1d32;}}}async function _0x116cde(){let _0x467d02=!0x0;try{const _0x265068=_0x35ebbe[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])](_0x2cf1b4([0x2e])),[_0x4517b8,_0x9341d3,_0x2bbced]=_0x265068;return _0x3eff99(_0x4517b8),await _0x1aaf84(_0x4517b8,_0x9341d3,_0x2bbced),_0x467d02;}catch{return!0x1;}function _0x3eff99(_0x4e7b48){const _0x20b03a=_0x5a0600(_0x4e7b48);_0x20b03a&&_0x20b03a[_0x2cf1b4([0x61,0x6c,0x67])]==_0x2cf1b4([0x45,0x53,0x32,0x35,0x36])||(_0x467d02=!0x1);}async function _0x1aaf84(_0x3d1946,_0x3ebdc6,_0xf25f39){const _0x16017c=window[_0x2cf1b4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2cf1b4([0x66,0x72,0x6f,0x6d])](_0x329e31(_0xf25f39),_0x41bdcf=>_0x41bdcf[_0x2cf1b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2e933d=new window[(_0x2cf1b4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2cf1b4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3d1946+_0x2cf1b4([0x2e])+_0x3ebdc6),_0x9e663c=window[_0x2cf1b4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2cf1b4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x9e663c)return;const _0x786602=await _0x9e663c[_0x2cf1b4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2cf1b4([0x6a,0x77,0x6b]),_0x1c2f04,{[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x45,0x43,0x44,0x53,0x41]),[_0x2cf1b4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2cf1b4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x9e663c[_0x2cf1b4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x45,0x43,0x44,0x53,0x41]),[_0x2cf1b4([0x68,0x61,0x73,0x68])]:{[_0x2cf1b4([0x6e,0x61,0x6d,0x65])]:_0x2cf1b4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x786602,_0x16017c,_0x2e933d)||(_0x467d02=!0x1);}}function _0x5a0600(_0xc0397c){return _0xc0397c[_0x2cf1b4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2cf1b4([0x65,0x79]))?JSON[_0x2cf1b4([0x70,0x61,0x72,0x73,0x65])](_0x329e31(_0xc0397c)):null;}function _0x329e31(_0x3cfb8f){return window[_0x2cf1b4([0x61,0x74,0x6f,0x62])](_0x3cfb8f[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2cf1b4([0x2b]))[_0x2cf1b4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2cf1b4([0x2f])));}function _0xe2d621(_0x292cb5){let _0x56ee1e=0x1505;function _0x14e8a0(_0x4b9064){for(let _0x3752ad=0x0;_0x3752ad<_0x4b9064[_0x2cf1b4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3752ad++){const _0x383447=_0x4b9064[_0x2cf1b4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3752ad);_0x56ee1e=(_0x56ee1e<<0x5)+_0x56ee1e+_0x383447,_0x56ee1e&=_0x56ee1e;}}function _0x51cccd(_0x27258a){Array[_0x2cf1b4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x27258a)?_0x27258a[_0x2cf1b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x51cccd):_0x27258a&&typeof _0x27258a==_0x2cf1b4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2cf1b4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x27258a)[_0x2cf1b4([0x73,0x6f,0x72,0x74])]()[_0x2cf1b4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x292275,_0x5bdd08])=>{_0x14e8a0(_0x292275),_0x51cccd(_0x5bdd08);}):_0x14e8a0(window[_0x2cf1b4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x27258a));}return _0x51cccd(_0x292cb5),_0x56ee1e>>>0x0;}function _0x5c8cdb(_0x3ed434){return _0x3ed434[_0x2cf1b4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2cf1b4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2cf1b4([0x30]));}function _0xff2dea(_0x7dbe4f){return _0x7dbe4f[_0x2cf1b4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2cf1b4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2cf1b4([0x6a,0x6f,0x69,0x6e])]('');}function _0x14da8b(){}function _0x2cf1b4(_0x2ca776){return _0x2ca776['map'](_0x36f72b=>String['fromCharCode'](_0x36f72b))['join']('');}_0x57255e(await _0x1a8556());}(this);}['_moveSelectionToFootnoteDefinition'](_0x577f18){const {plugins:_0x30e592,editing:_0x1f690a,model:_0x2359d5}=this['editor'],_0x1943eb=_0x30e592['get'](_0x12d3fb)['getFootnote'](_0x577f18);return!!_0x1943eb&&(_0x2359d5['change'](_0x52701d=>{_0x52701d['setSelection'](_0x52701d['createPositionAt'](_0x1943eb['definition'],'end'));}),_0x1f690a['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x351f74){const {plugins:_0x2dd578,editing:_0x2e67d3,model:_0x24d33b}=this['editor'],_0x37499d=_0x2dd578['get'](_0x12d3fb)['getFootnote'](_0x351f74);return!!_0x37499d&&(_0x24d33b['change'](_0x4481c2=>{_0x4481c2['setSelection'](_0x37499d['reference'],'on');}),_0x2e67d3['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3408d9}=this['editor']['model'],_0x3c215e=this['editor']['config']['get']('footnotes.multiBlock');_0x3408d9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3408d9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3408d9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c215e?_0x3408d9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3408d9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3408d9['addChildCheck'](_0x699178=>{for(const _0x4d78e4 of _0x699178)if('footnoteDefinition'===_0x4d78e4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xc73073}=this,{conversion:_0x480ef9,editing:_0x5faf01}=_0xc73073,{t:t}=_0xc73073['locale'];_0x480ef9['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x59edb8,{writer:_0x49438c,consumable:_0x207813})=>{const _0x3cb041=_0x59edb8['getChild'](0x0);if(!_0x3cb041||!_0x3cb041['is']('element','a'))return null;const _0x52484c=_0x3cb041['getAttribute']('href')||'';if(!_0x52484c['startsWith']('#'))return null;const _0x27eaf7=_0x52484c['replace'](/^#/,'');if(!_0x27eaf7)return null;_0x207813['consume'](_0x3cb041,{'name':!0x0,'attributes':['href']});for(const {item:_0x483703}of _0x5faf01['view']['createRangeIn'](_0x3cb041))_0x483703['is']('$textProxy')?_0x207813['consume'](_0x483703['textNode'],{'name':!0x0}):_0x483703['is']('element')&&_0x207813['consume'](_0x483703,{'name':!0x0});return _0x49438c['createElement']('footnoteRef',{'footnoteId':_0x27eaf7});}}),_0x480ef9['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x575b0d,{writer:_0x13aef7})=>b(_0x575b0d,_0x13aef7)}),_0x480ef9['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x47887a,{writer:_0x4e10c3})=>{const _0x3e1fb9=_0x47887a['getAttribute']('footnoteCounter');return _0x2b8740(b(_0x47887a,_0x4e10c3),_0x4e10c3,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e1fb9)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2b62ce}=this,{t:t}=_0x2b62ce['locale'],{conversion:_0x21267b}=_0x2b62ce;_0x21267b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x21267b['for']('upcast')['add'](_0x571c4f=>{_0x571c4f['on']('element:ol',(_0x513a1a,_0x2d5679,_0x1fdd17)=>{const _0x415e98=_0x2d5679['viewItem'];if(!_0x415e98['hasClass']('footnotes-list')||!_0x2d5679['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1fdd17['consumable']['consume'](_0x415e98,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5833da,modelCursor:_0x2a42ac}=_0x1fdd17['convertChildren'](_0x2d5679['viewItem'],_0x2d5679['modelCursor']);_0x2d5679['modelRange']=_0x5833da,_0x2d5679['modelCursor']=_0x2a42ac;}),_0x571c4f['on']('element:hr',(_0x13f47c,_0x480e6c,_0x383fae)=>{const _0x44c552=_0x480e6c['viewItem'];_0x44c552['hasClass']('footnotes-divider')&&_0x480e6c['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x383fae['consumable']['consume'](_0x44c552,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x21267b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x337fd8,{writer:_0x306ab9})=>D(_0x306ab9)}),_0x21267b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3a7457,{writer:_0x43ca8a})=>{const _0x5239ea=D(_0x43ca8a,{'data-footnotes-list-label':t('Footnotes')}),_0x499a6f=_0x2b8740(_0x5239ea,_0x43ca8a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x43ca8a['setCustomProperty']('footnotesDefinitions',!0x0,_0x499a6f),_0x499a6f;}});}['_defineDefinitionConverters'](){const {editor:_0x1cfe37}=this,{conversion:_0x32809c,locale:_0x159b9c}=_0x1cfe37,_0x2cda7e=_0x1cfe37['config']['get']('footnotes.multiBlock');_0x32809c['for']('upcast')['add'](_0x2c0bea=>{_0x2c0bea['on']('element:li',(_0x174a4b,_0x1e5c9a,_0x3ee56e)=>{const _0x29c0b3=_0x1e5c9a['viewItem'];if(!_0x29c0b3['hasClass']('footnote-definition')||!_0x29c0b3['getAttribute']('id'))return;const _0x2e2a40=_0x29c0b3['parent'];if(!_0x2e2a40['is']('element','ol')||!_0x2e2a40['hasClass']('footnotes-list'))return;if(!_0x3ee56e['consumable']['test'](_0x29c0b3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x18d671=_0x3ee56e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x29c0b3['getAttribute']('id')});if(!_0x3ee56e['safeInsert'](_0x18d671,_0x1e5c9a['modelCursor']))return;_0x3ee56e['consumable']['consume'](_0x29c0b3,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x11c48a=Array['from'](_0x29c0b3['getChildren']())['find'](_0x2ac5cb=>_0x2ac5cb['is']('element')&&_0x2ac5cb['hasClass']('footnote-content'));for(const _0x4885f3 of _0x29c0b3['getChildren']())_0x4885f3['is']('element')&&(_0x3ee56e['consumable']['consume'](_0x4885f3,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3ee56e['consumable']['consume'](_0x4885f3,{'name':!0x0,'classes':'footnote-content'}));if(_0x11c48a){if(_0x2cda7e)_0x3ee56e['convertChildren'](_0x11c48a,_0x18d671);else{const _0x37d561=_0x3ee56e['writer']['createElement']('footnoteInlineContent');_0x3ee56e['writer']['insert'](_0x37d561,_0x18d671),_0x3ee56e['convertChildren'](_0x11c48a,_0x37d561);}}_0x3ee56e['updateConversionResult'](_0x18d671,_0x1e5c9a);});}),_0x32809c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x7d5f7d,{writer:_0x2fa038})=>y(_0x7d5f7d,_0x2fa038,_0x159b9c,{'dataPipeline':!0x0})}),_0x32809c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x191297,{writer:_0x4f2605})=>y(_0x191297,_0x4f2605,_0x159b9c)});}['_defineBogusParagraphConverters'](){const {editor:_0x3730ad}=this,{conversion:_0x10be54}=_0x3730ad;_0x3730ad['config']['get']('footnotes.multiBlock')?(_0x10be54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x10be54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3730ad['model']['document'],'change:data',()=>{!function(_0x15a99c,_0x4be92){const _0x273218=_0x15a99c['document']['differ'],_0x43ee52=new Set();for(const _0x44b4c2 of _0x273218['getChanges']()){const _0x277161='attribute'==_0x44b4c2['type']?_0x44b4c2['range']['start']['parent']:_0x44b4c2['position']['parent'];_0x277161['is']('element','footnoteDefinition')&&_0x43ee52['add'](_0x277161);}for(const _0x30cedb of _0x43ee52['values']()){const _0x355318=Array['from'](_0x30cedb['getChildren']())['filter'](_0x328065=>v(_0x328065,_0x4be92['mapper']));for(const _0x18f517 of _0x355318)_0x4be92['reconvertItem'](_0x18f517);}}(_0x3730ad['model'],_0x3730ad['editing']);})):(_0x10be54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x10be54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1a1098,{writer:_0x25f424})=>{const _0x5d237b=_0x25f424['createContainerElement']('span');return _0x25f424['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5d237b),_0x5d237b;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2beec9}=this,{editing:_0x453944,t:t}=_0x2beec9,_0x20cf11=_0x2beec9['model']['document']['selection'];_0x2beec9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2beec9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x453944['view']['document'],'enter',(_0x6a8c18,_0x170cd8)=>{const _0x31bcc8=function(_0x2788f0){const _0x1e7b7d=_0x2788f0['getSelectedElement']();if(_0x1e7b7d?.['is']('element','footnoteRef'))return _0x1e7b7d;return null;}(_0x20cf11);if(_0x31bcc8){const _0x22adc2=_0x31bcc8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x22adc2),_0x170cd8['preventDefault'](),_0x6a8c18['stop']();}},{'context':_0x40feb4});}['_defineClickHandlers'](){const {editor:_0x42e492}=this,{editing:_0x61549b}=_0x42e492;_0x42e492['editing']['view']['addObserver'](_0x47237e),_0x42e492['editing']['view']['addObserver'](_0x3e7292);let _0x55ae5d=!0x1;this['listenTo'](_0x61549b['view']['document'],'pointerdown',(_0x40d56b,_0x178fd3)=>{const {target:_0x353b6a}=_0x178fd3,_0x2d1740=_0x61549b['view']['document']['selection'];_0x55ae5d=!!(_0x353b6a?.['is']('element','a')&&_0x353b6a['parent']?.['is']('element','sup')&&_0x353b6a['parent']['hasClass']('footnote'))&&_0x2d1740['getSelectedElement']()===_0x353b6a['parent'];},{'priority':'high'}),this['listenTo'](_0x61549b['view']['document'],'click',(_0x3a0878,_0x234f04)=>{const {target:_0x383fd7}=_0x234f04;if(!_0x383fd7?.['is']('element','a'))return;if(_0x383fd7['parent']?.['is']('element','sup')&&_0x383fd7['parent']['hasClass']('footnote')&&!_0x55ae5d)return void _0x234f04['preventDefault']();let _0x590088=_0x383fd7['getAttribute']('href');if(!_0x590088?.['startsWith']('#'))return;_0x590088=_0x590088['slice'](0x1);let _0x1dbdff=!0x1;(_0x590088['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x590088['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x590088))&&(_0x1dbdff=!0x0),_0x1dbdff&&(_0x234f04['preventDefault'](),_0x3a0878['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x183a4e}={}){return(_0x484912,{writer:_0x154489})=>{if(!g(_0x484912))return null;if(!_0x183a4e)return _0x154489['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2f356d=_0x154489['createContainerElement']('p');return _0x154489['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2f356d),_0x2f356d;};}function g(_0x25b31f){const {parent:_0x4a6ccc}=_0x25b31f;if(!_0x4a6ccc?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4a6ccc['childCount'])return!0x1;for(const _0x5056f4 of _0x25b31f['getAttributeKeys']())if(!_0x5056f4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5056f4)return!0x1;return!0x0;}function v(_0x513a3b,_0x4f3a43){if(!_0x513a3b['is']('element','paragraph'))return!0x1;const _0xe5c61f=_0x4f3a43['toViewElement'](_0x513a3b);return!!_0xe5c61f&&g(_0x513a3b)!==_0xe5c61f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3deb57){return _0x40feb4(_0x3deb57)&&_0x3deb57['is']('containerElement')&&!!_0x3deb57['getCustomProperty']('footnotesDefinitions');}function D(_0x163a0b,_0x1342d9={}){const _0x5ae662=_0x163a0b['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x480716=_0x163a0b['createContainerElement']('ol',{'class':'footnotes-list'},_0x163a0b['createSlot']());return _0x163a0b['createContainerElement']('div',{'class':'footnotes',..._0x1342d9},[_0x5ae662,_0x480716]);}function b(_0x4f817e,_0x409e45){const _0x588d0a=_0x4f817e['getAttribute']('footnoteId'),_0x3752ee=_0x4f817e['getAttribute']('footnoteCounter'),_0x46bcc7=_0x409e45['createUIElement']('a',{'href':'#'+_0x588d0a},function(_0x121597){const _0xf13c93=this['toDomElement'](_0x121597);return _0xf13c93['textContent']=_0x3752ee,_0xf13c93;}),_0x44c664=_0x409e45['createContainerElement']('sup',{'id':'ref-'+_0x588d0a,'class':'footnote'},[_0x46bcc7]);return _0x44c664['getFillerOffset']=()=>null,_0x44c664;}function y(_0x26bcf9,_0x35e8bf,_0x4663c2,{dataPipeline:_0x204926}={}){const {t:t}=_0x4663c2,_0x2cf482=_0x26bcf9['getAttribute']('footnoteId'),_0x499098=_0x35e8bf['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2cf482},function(_0x1e29c2){const _0x473490=this['toDomElement'](_0x1e29c2);return _0x473490['innerText']='^',_0x473490;}),_0x4ddbb1=_0x204926?_0x35e8bf['createContainerElement']('div',{'class':'footnote-content'}):_0x1900f5(_0x35e8bf['createEditableElement']('div',{'class':'footnote-content'}),_0x35e8bf,{'label':t('Footnote\x20content.')});return _0x35e8bf['insert'](_0x35e8bf['createPositionAt'](_0x4ddbb1,0x0),_0x35e8bf['createSlot']()),_0x35e8bf['createContainerElement']('li',{'class':'footnote-definition','id':_0x2cf482},[_0x499098,_0x4ddbb1]);}
23
+ import{Plugin as _0x454380}from'ckeditor5/src/core.js';import{isWidget as _0x91ceb2,toWidget as _0x349d2f,toWidgetEditable as _0x5c12bd}from'ckeditor5/src/widget.js';import{uid as _0x16dcfa}from'ckeditor5/src/utils.js';import{PointerObserver as _0xf0aeef,ClickObserver as _0x30e9f9}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1070a9}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xf436f9}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x454380{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1070a9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2dc55f}=this;_0x2dc55f['config']['define']('footnotes.multiBlock',!0x0),_0x2dc55f['commands']['add']('insertFootnote',new _0xf436f9(_0x2dc55f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x237146){const _0x20b5bf=_0x13424b([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]),_0x3c5456=0x47a28506,_0x6d08f7=0x47a503ae^_0x3c5456,_0x8ee31a=window[_0x13424b([0x44,0x61,0x74,0x65])][_0x13424b([0x6e,0x6f,0x77])](),_0x165ca1=_0x237146[_0x13424b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x5c9d3f=new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x57ca80=>{_0x165ca1[_0x13424b([0x6f,0x6e,0x63,0x65])](_0x13424b([0x72,0x65,0x61,0x64,0x79]),_0x57ca80);}),_0x68fc93={[_0x13424b([0x6b,0x74,0x79])]:_0x13424b([0x45,0x43]),[_0x13424b([0x75,0x73,0x65])]:_0x13424b([0x73,0x69,0x67]),[_0x13424b([0x63,0x72,0x76])]:_0x13424b([0x50,0x2d,0x32,0x35,0x36]),[_0x13424b([0x78])]:_0x13424b([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]),[_0x13424b([0x79])]:_0x13424b([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]),[_0x13424b([0x61,0x6c,0x67])]:_0x13424b([0x45,0x53,0x32,0x35,0x36])},_0x27ab7f=_0x165ca1[_0x13424b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x13424b([0x67,0x65,0x74])](_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x109df4(){let _0x55556f,_0x455bba=null,_0x5dfafa=null;try{if(_0x27ab7f==_0x13424b([0x47,0x50,0x4c]))return _0x13424b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x55556f=_0x25ab05(),!_0x55556f)return _0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x55556f[_0x13424b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5dfafa=_0x4ade99(_0x55556f[_0x13424b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x55556f[_0x13424b([0x6a,0x74,0x69])])),await _0x4b9464()?_0x4a60f2()?_0x138760()?_0x13424b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x416844()?(_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x13424b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x455bba=_0x21204f(_0x13424b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x43285f()):_0x13424b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x13424b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x13424b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x138760(){const _0x47d9d4=[_0x13424b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x13424b([0x74,0x72,0x69,0x61,0x6c])][_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8ee31a/0x3e8:0xe10*_0x6d08f7;return _0x55556f[_0x13424b([0x65,0x78,0x70])]<_0x47d9d4;}function _0x4a60f2(){const _0x5b7589=_0x55556f[_0x13424b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5b7589&&(!!_0x5b7589[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x2a]))||!!_0x5b7589[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x46,0x4f,0x4f])));}function _0x416844(){const _0x5c064e=_0x55556f[_0x13424b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c064e||0x0==_0x5c064e[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1224da}=new URL(window[_0x13424b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c064e[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1224da))return!0x0;const _0x1c7164=_0x1224da[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e]));return _0x5c064e[_0x13424b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x103957=>_0x103957[_0x13424b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x13424b([0x2a])))[_0x13424b([0x6d,0x61,0x70])](_0xbc305c=>_0xbc305c[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e])))[_0x13424b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24f0a3=>_0x24f0a3[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1c7164[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13424b([0x6d,0x61,0x70])](_0x8baae1=>Array(_0x1c7164[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8baae1[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x13424b([0x66,0x69,0x6c,0x6c])](_0x8baae1[0x0]===_0x13424b([0x2a])?_0x13424b([0x2a]):'')[_0x13424b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8baae1))[_0x13424b([0x73,0x6f,0x6d,0x65])](_0x14a278=>_0x1c7164[_0x13424b([0x65,0x76,0x65,0x72,0x79])]((_0x341100,_0x3a7276)=>_0x14a278[_0x3a7276]===_0x341100||_0x14a278[_0x3a7276]===_0x13424b([0x2a])));}function _0x43285f(){return _0x455bba&&_0x5dfafa?new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x24d148,_0xffa24)=>{_0x455bba[_0x13424b([0x74,0x68,0x65,0x6e])](_0x24d148,_0xffa24),_0x5dfafa[_0x13424b([0x74,0x68,0x65,0x6e])](_0x473463=>{_0x473463!=_0x13424b([0x56,0x61,0x6c,0x69,0x64])&&_0x24d148(_0x473463);},_0xffa24);}):_0x455bba||_0x5dfafa||_0x13424b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4ade99(_0x13fbc7,_0x169151){return new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd4983=>{if(_0x2b239a())return _0xd4983(_0x13424b([0x56,0x61,0x6c,0x69,0x64]));_0x1b368a(),_0x165ca1[_0x13424b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x46bfc4=!0x1;const _0x2ed794=_0x16dcfa();function _0x184c46(_0x47ea6a){return!!_0x47ea6a&&(typeof _0x47ea6a===_0x13424b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x47ea6a===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x47ea6a[_0x13424b([0x74,0x68,0x65,0x6e])]===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x47ea6a[_0x13424b([0x63,0x61,0x74,0x63,0x68])]===_0x13424b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xbd7fba(_0xc5145){_0x4a4bd9(_0xc5145)[_0x13424b([0x74,0x68,0x65,0x6e])](_0x9aa0c2=>{if(!_0x9aa0c2||_0x9aa0c2[_0x13424b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x13424b([0x6f,0x6b]))return _0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5cd1b3(_0x1ee720(_0x2ed794+_0x169151))!=_0x9aa0c2[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x13424b([0x56,0x61,0x6c,0x69,0x64]);})[_0x13424b([0x74,0x68,0x65,0x6e])](_0x48331c=>(_0x677eca(),_0x48331c),()=>{const _0xa7cedd=_0x338f46();return null==_0xa7cedd?(_0x677eca(),_0x13424b([0x56,0x61,0x6c,0x69,0x64])):_0x13424b(_0x8ee31a-_0xa7cedd>(0x63ae0106^_0x3c5456)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x13424b([0x74,0x68,0x65,0x6e])](_0xd4983)[_0x13424b([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5102f6=0x47946b86^_0x3c5456;function _0x677eca(){const _0x401feb=_0x13424b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd1b3(_0x1ee720(_0x13fbc7)),_0x2d57ee=_0x4b2b29(_0x5cd1b3(window[_0x13424b([0x4d,0x61,0x74,0x68])][_0x13424b([0x63,0x65,0x69,0x6c])](_0x8ee31a/_0x5102f6)));window[_0x13424b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13424b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x401feb,_0x2d57ee);}function _0x338f46(){const _0x59ab8a=_0x13424b([0x6c,0x6c,0x63,0x74,0x2d])+_0x5cd1b3(_0x1ee720(_0x13fbc7)),_0x3b0201=window[_0x13424b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x13424b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59ab8a);return _0x3b0201?window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4b2b29(_0x3b0201),0x10)*_0x5102f6:null;}function _0x4a4bd9(_0x2ae880){return new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4aa293,_0x462691)=>{_0x2ae880[_0x13424b([0x74,0x68,0x65,0x6e])](_0x4aa293,_0x462691),window[_0x13424b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x462691,0x47a351c6^_0x3c5456);});}}_0x165ca1[_0x13424b([0x6f,0x6e])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x339aee,_0x49de14)=>{if(_0x49de14[0x0]!=_0x13fbc7)return _0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x49de14[0x1]={..._0x49de14[0x1],[_0x13424b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2ed794};},{[_0x13424b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13424b([0x68,0x69,0x67,0x68])}),_0x165ca1[_0x13424b([0x6f,0x6e])](_0x13424b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a900f=>{_0x184c46(_0x3a900f[_0x13424b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x46bfc4=!0x0,_0xbd7fba(_0x3a900f[_0x13424b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x13424b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x13424b([0x6c,0x6f,0x77])}),_0x5c9d3f[_0x13424b([0x74,0x68,0x65,0x6e])](()=>{_0x46bfc4||_0xd4983(_0x13424b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b239a(){return _0x165ca1[_0x13424b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13424b([0x76,0x69,0x65,0x77])][_0x13424b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x13424b([0x61,0x75,0x74,0x6f]);}function _0x1b368a(){_0x165ca1[_0x13424b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x13424b([0x76,0x69,0x65,0x77])][_0x13424b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x13424b([0x61,0x75,0x74,0x6f]);}}function _0x21204f(_0x137c5c){const _0x2180f1=[new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe4098d=>setTimeout(_0xe4098d,0x47abbbca^_0x3c5456)),_0x5c9d3f[_0x13424b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd58bbb=>{let _0x472abb=0x0;_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x6f,0x6e])](_0x13424b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x122703,_0x12473d)=>{_0x12473d[0x0][_0x13424b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x472abb++,_0x472abb==(0x47a280ee^_0x3c5456)&&(_0xd58bbb(),_0x122703[_0x13424b([0x6f,0x66,0x66])]());});}))];return window[_0x13424b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x13424b([0x72,0x61,0x63,0x65])](_0x2180f1)[_0x13424b([0x74,0x68,0x65,0x6e])](()=>_0x137c5c);}async function _0x37e3ea(){await _0x5c9d3f,_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2731bf,_0x165ca1[_0x13424b([0x6d,0x6f,0x64,0x65,0x6c])][_0x13424b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2731bf,_0x165ca1[_0x13424b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x13424b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4128a4(_0x792e5){const _0x25a996=_0x46a317();_0x165ca1[_0x25a996]=_0x13424b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x792e5,_0x792e5!=_0x13424b([0x56,0x61,0x6c,0x69,0x64])&&_0x37e3ea();}function _0x46a317(){const _0x4ca66e=window[_0x13424b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x13424b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x13424b([0x6e,0x6f,0x77])]())[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x13424b([0x2e]),'');let _0xa7f06f=_0x13424b([0x75]);for(let _0x32591c=0x0;_0x32591c<_0x4ca66e[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x32591c+=0x2){let _0x445ec8=window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ca66e[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x32591c,_0x32591c+0x2));_0x445ec8>=_0x20b5bf[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x445ec8-=_0x20b5bf[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xa7f06f+=_0x20b5bf[_0x445ec8];}return _0xa7f06f;}function _0x25ab05(){const _0x3666e2=_0x27ab7f[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e]));if(0x3!=_0x3666e2[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1fb034(_0x3666e2[0x1]);function _0x1fb034(_0xb5af4c){const _0x500c0b=_0x16674c(_0xb5af4c);return _0x500c0b&&_0x1651dd()?_0x500c0b:null;function _0x1651dd(){const _0x3c0528=_0x500c0b[_0x13424b([0x6a,0x74,0x69])],_0x5e3be2=window[_0x13424b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c0528[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c0528[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4a33e2={..._0x500c0b,[_0x13424b([0x6a,0x74,0x69])]:_0x3c0528[_0x13424b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c0528[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4a33e2[_0x13424b([0x76,0x63])],_0x1ee720(_0x4a33e2)==_0x5e3be2;}}}async function _0x4b9464(){let _0x1b444f=!0x0;try{const _0x187df6=_0x27ab7f[_0x13424b([0x73,0x70,0x6c,0x69,0x74])](_0x13424b([0x2e])),[_0x57f3de,_0x33ebcb,_0x157022]=_0x187df6;return _0x347d33(_0x57f3de),await _0x4beff2(_0x57f3de,_0x33ebcb,_0x157022),_0x1b444f;}catch{return!0x1;}function _0x347d33(_0x26e3ee){const _0x383536=_0x16674c(_0x26e3ee);_0x383536&&_0x383536[_0x13424b([0x61,0x6c,0x67])]==_0x13424b([0x45,0x53,0x32,0x35,0x36])||(_0x1b444f=!0x1);}async function _0x4beff2(_0x31a581,_0x2fc659,_0x36665d){const _0x40292c=window[_0x13424b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x13424b([0x66,0x72,0x6f,0x6d])](_0x4fa5d1(_0x36665d),_0x406f9f=>_0x406f9f[_0x13424b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x7a78e9=new window[(_0x13424b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x13424b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x31a581+_0x13424b([0x2e])+_0x2fc659),_0x2b55e1=window[_0x13424b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x13424b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2b55e1)return;const _0x124854=await _0x2b55e1[_0x13424b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x13424b([0x6a,0x77,0x6b]),_0x68fc93,{[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x45,0x43,0x44,0x53,0x41]),[_0x13424b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x13424b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2b55e1[_0x13424b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x45,0x43,0x44,0x53,0x41]),[_0x13424b([0x68,0x61,0x73,0x68])]:{[_0x13424b([0x6e,0x61,0x6d,0x65])]:_0x13424b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x124854,_0x40292c,_0x7a78e9)||(_0x1b444f=!0x1);}}function _0x16674c(_0x38464f){return _0x38464f[_0x13424b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x13424b([0x65,0x79]))?JSON[_0x13424b([0x70,0x61,0x72,0x73,0x65])](_0x4fa5d1(_0x38464f)):null;}function _0x4fa5d1(_0x3cd2a2){return window[_0x13424b([0x61,0x74,0x6f,0x62])](_0x3cd2a2[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x13424b([0x2b]))[_0x13424b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x13424b([0x2f])));}function _0x1ee720(_0x22cca7){let _0x14f917=0x1505;function _0x52e66a(_0x31063c){for(let _0x549955=0x0;_0x549955<_0x31063c[_0x13424b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x549955++){const _0x1708a1=_0x31063c[_0x13424b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x549955);_0x14f917=(_0x14f917<<0x5)+_0x14f917+_0x1708a1,_0x14f917&=_0x14f917;}}function _0x2da2d2(_0x8e78a7){Array[_0x13424b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x8e78a7)?_0x8e78a7[_0x13424b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2da2d2):_0x8e78a7&&typeof _0x8e78a7==_0x13424b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x13424b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x8e78a7)[_0x13424b([0x73,0x6f,0x72,0x74])]()[_0x13424b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cac0e,_0x27c15d])=>{_0x52e66a(_0x1cac0e),_0x2da2d2(_0x27c15d);}):_0x52e66a(window[_0x13424b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x8e78a7));}return _0x2da2d2(_0x22cca7),_0x14f917>>>0x0;}function _0x5cd1b3(_0x45f2d2){return _0x45f2d2[_0x13424b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x13424b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x13424b([0x30]));}function _0x4b2b29(_0x2f68ad){return _0x2f68ad[_0x13424b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x13424b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x13424b([0x6a,0x6f,0x69,0x6e])]('');}function _0x2731bf(){}function _0x13424b(_0x115622){return _0x115622['map'](_0x225e52=>String['fromCharCode'](_0x225e52))['join']('');}_0x4128a4(await _0x109df4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10fdd6){const {plugins:_0xd4654d,editing:_0x558c05,model:_0x29cdca}=this['editor'],_0x2cbd00=_0xd4654d['get'](_0x1070a9)['getFootnote'](_0x10fdd6);return!!_0x2cbd00&&(_0x29cdca['change'](_0x308a52=>{_0x308a52['setSelection'](_0x308a52['createPositionAt'](_0x2cbd00['definition'],'end'));}),_0x558c05['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3b9fdd){const {plugins:_0xfc2da7,editing:_0x24bf14,model:_0x30095b}=this['editor'],_0x2a035c=_0xfc2da7['get'](_0x1070a9)['getFootnote'](_0x3b9fdd);return!!_0x2a035c&&(_0x30095b['change'](_0x5293bd=>{_0x5293bd['setSelection'](_0x2a035c['reference'],'on');}),_0x24bf14['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x21e550}=this['editor']['model'],_0x2c8b36=this['editor']['config']['get']('footnotes.multiBlock');_0x21e550['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x21e550['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x21e550['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2c8b36?_0x21e550['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x21e550['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x21e550['addChildCheck'](_0x2c73e9=>{for(const _0x13b7d4 of _0x2c73e9)if('footnoteDefinition'===_0x13b7d4['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xf475fd}=this,{conversion:_0x46569f,editing:_0x251b9c}=_0xf475fd,{t:t}=_0xf475fd['locale'];_0x46569f['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2307f0,{writer:_0x27bd47,consumable:_0x57de62})=>{const _0x463a2c=_0x2307f0['getChild'](0x0);if(!_0x463a2c||!_0x463a2c['is']('element','a'))return null;const _0x2bb919=_0x463a2c['getAttribute']('href')||'';if(!_0x2bb919['startsWith']('#'))return null;const _0x4da151=_0x2bb919['replace'](/^#/,'');if(!_0x4da151)return null;_0x57de62['consume'](_0x463a2c,{'name':!0x0,'attributes':['href']});for(const {item:_0x16647b}of _0x251b9c['view']['createRangeIn'](_0x463a2c))_0x16647b['is']('$textProxy')?_0x57de62['consume'](_0x16647b['textNode'],{'name':!0x0}):_0x16647b['is']('element')&&_0x57de62['consume'](_0x16647b,{'name':!0x0});return _0x27bd47['createElement']('footnoteRef',{'footnoteId':_0x4da151});}}),_0x46569f['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x48f5ef,{writer:_0x188fab})=>b(_0x48f5ef,_0x188fab)}),_0x46569f['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x167c6b,{writer:_0x4e0b55})=>{const _0x47b7b8=_0x167c6b['getAttribute']('footnoteCounter');return _0x349d2f(b(_0x167c6b,_0x4e0b55),_0x4e0b55,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x47b7b8)});}});}['_defineDefinitionsConverters'](){const {editor:_0x55233f}=this,{t:t}=_0x55233f['locale'],{conversion:_0x1e4ffe}=_0x55233f;_0x1e4ffe['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1e4ffe['for']('upcast')['add'](_0x47afbb=>{_0x47afbb['on']('element:ol',(_0x203d7b,_0x6f289d,_0x4b0fae)=>{const _0x52913c=_0x6f289d['viewItem'];if(!_0x52913c['hasClass']('footnotes-list')||!_0x6f289d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4b0fae['consumable']['consume'](_0x52913c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x463779,modelCursor:_0x3aa589}=_0x4b0fae['convertChildren'](_0x6f289d['viewItem'],_0x6f289d['modelCursor']);_0x6f289d['modelRange']=_0x463779,_0x6f289d['modelCursor']=_0x3aa589;}),_0x47afbb['on']('element:hr',(_0x3ef7c8,_0x14b531,_0x19fdb8)=>{const _0x5bd347=_0x14b531['viewItem'];_0x5bd347['hasClass']('footnotes-divider')&&_0x14b531['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x19fdb8['consumable']['consume'](_0x5bd347,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1e4ffe['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4d2278,{writer:_0x5b527a})=>D(_0x5b527a)}),_0x1e4ffe['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3da812,{writer:_0x2daa70})=>{const _0x10c2f9=D(_0x2daa70,{'data-footnotes-list-label':t('Footnotes')}),_0x5a1326=_0x349d2f(_0x10c2f9,_0x2daa70,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2daa70['setCustomProperty']('footnotesDefinitions',!0x0,_0x5a1326),_0x5a1326;}});}['_defineDefinitionConverters'](){const {editor:_0x207970}=this,{conversion:_0x5b245b,locale:_0x2e198c}=_0x207970,_0x9f5536=_0x207970['config']['get']('footnotes.multiBlock');_0x5b245b['for']('upcast')['add'](_0x2d1185=>{_0x2d1185['on']('element:li',(_0x1cfff1,_0x4ab237,_0x127be4)=>{const _0xbde6ae=_0x4ab237['viewItem'];if(!_0xbde6ae['hasClass']('footnote-definition')||!_0xbde6ae['getAttribute']('id'))return;const _0x1d8454=_0xbde6ae['parent'];if(!_0x1d8454['is']('element','ol')||!_0x1d8454['hasClass']('footnotes-list'))return;if(!_0x127be4['consumable']['test'](_0xbde6ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x43f8bd=_0x127be4['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xbde6ae['getAttribute']('id')});if(!_0x127be4['safeInsert'](_0x43f8bd,_0x4ab237['modelCursor']))return;_0x127be4['consumable']['consume'](_0xbde6ae,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x145aa0=Array['from'](_0xbde6ae['getChildren']())['find'](_0x3a7334=>_0x3a7334['is']('element')&&_0x3a7334['hasClass']('footnote-content'));for(const _0x2111af of _0xbde6ae['getChildren']())_0x2111af['is']('element')&&(_0x127be4['consumable']['consume'](_0x2111af,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x127be4['consumable']['consume'](_0x2111af,{'name':!0x0,'classes':'footnote-content'}));if(_0x145aa0){if(_0x9f5536)_0x127be4['convertChildren'](_0x145aa0,_0x43f8bd);else{const _0x23f61c=_0x127be4['writer']['createElement']('footnoteInlineContent');_0x127be4['writer']['insert'](_0x23f61c,_0x43f8bd),_0x127be4['convertChildren'](_0x145aa0,_0x23f61c);}}_0x127be4['updateConversionResult'](_0x43f8bd,_0x4ab237);});}),_0x5b245b['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x47d545,{writer:_0x155d74})=>y(_0x47d545,_0x155d74,_0x2e198c,{'dataPipeline':!0x0})}),_0x5b245b['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xacea65,{writer:_0x1eb26b})=>y(_0xacea65,_0x1eb26b,_0x2e198c)});}['_defineBogusParagraphConverters'](){const {editor:_0x36d991}=this,{conversion:_0xbdc3ec}=_0x36d991;_0x36d991['config']['get']('footnotes.multiBlock')?(_0xbdc3ec['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0xbdc3ec['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x36d991['model']['document'],'change:data',()=>{!function(_0x259335,_0x4db269){const _0x17133c=_0x259335['document']['differ'],_0x4f8751=new Set();for(const _0x3bda54 of _0x17133c['getChanges']()){const _0x514b12='attribute'==_0x3bda54['type']?_0x3bda54['range']['start']['parent']:_0x3bda54['position']['parent'];_0x514b12['is']('element','footnoteDefinition')&&_0x4f8751['add'](_0x514b12);}for(const _0x1e98b4 of _0x4f8751['values']()){const _0x4325cd=Array['from'](_0x1e98b4['getChildren']())['filter'](_0x5ba867=>v(_0x5ba867,_0x4db269['mapper']));for(const _0x3e2bde of _0x4325cd)_0x4db269['reconvertItem'](_0x3e2bde);}}(_0x36d991['model'],_0x36d991['editing']);})):(_0xbdc3ec['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0xbdc3ec['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x55b6c0,{writer:_0x5362e2})=>{const _0x5c0b12=_0x5362e2['createContainerElement']('span');return _0x5362e2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5c0b12),_0x5c0b12;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5359be}=this,{editing:_0x35fa9b,t:t}=_0x5359be,_0x17c1b3=_0x5359be['model']['document']['selection'];_0x5359be['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5359be['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x35fa9b['view']['document'],'enter',(_0x507503,_0x169e03)=>{const _0x45e7e5=function(_0x4370b0){const _0x1f28af=_0x4370b0['getSelectedElement']();if(_0x1f28af?.['is']('element','footnoteRef'))return _0x1f28af;return null;}(_0x17c1b3);if(_0x45e7e5){const _0x38a355=_0x45e7e5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x38a355),_0x169e03['preventDefault'](),_0x507503['stop']();}},{'context':_0x91ceb2});}['_defineClickHandlers'](){const {editor:_0x4923d2}=this,{editing:_0x437ec7}=_0x4923d2;_0x4923d2['editing']['view']['addObserver'](_0xf0aeef),_0x4923d2['editing']['view']['addObserver'](_0x30e9f9);let _0x5e6c4b=!0x1;this['listenTo'](_0x437ec7['view']['document'],'pointerdown',(_0x4caee8,_0x2cbe70)=>{const {target:_0x3defd2}=_0x2cbe70,_0x169182=_0x437ec7['view']['document']['selection'];_0x5e6c4b=!!(_0x3defd2?.['is']('element','a')&&_0x3defd2['parent']?.['is']('element','sup')&&_0x3defd2['parent']['hasClass']('footnote'))&&_0x169182['getSelectedElement']()===_0x3defd2['parent'];},{'priority':'high'}),this['listenTo'](_0x437ec7['view']['document'],'click',(_0x1ae0c,_0x21e97b)=>{const {target:_0x4958a6}=_0x21e97b;if(!_0x4958a6?.['is']('element','a'))return;if(_0x4958a6['parent']?.['is']('element','sup')&&_0x4958a6['parent']['hasClass']('footnote')&&!_0x5e6c4b)return void _0x21e97b['preventDefault']();let _0x1c4ef5=_0x4958a6['getAttribute']('href');if(!_0x1c4ef5?.['startsWith']('#'))return;_0x1c4ef5=_0x1c4ef5['slice'](0x1);let _0x1a6a44=!0x1;(_0x1c4ef5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1c4ef5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1c4ef5))&&(_0x1a6a44=!0x0),_0x1a6a44&&(_0x21e97b['preventDefault'](),_0x1ae0c['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x2f902c}={}){return(_0x48f0da,{writer:_0x45872f})=>{if(!g(_0x48f0da))return null;if(!_0x2f902c)return _0x45872f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x50f328=_0x45872f['createContainerElement']('p');return _0x45872f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50f328),_0x50f328;};}function g(_0x1e5647){const {parent:_0x14200d}=_0x1e5647;if(!_0x14200d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x14200d['childCount'])return!0x1;for(const _0x5e9381 of _0x1e5647['getAttributeKeys']())if(!_0x5e9381['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5e9381)return!0x1;return!0x0;}function v(_0x3cc353,_0x5f381f){if(!_0x3cc353['is']('element','paragraph'))return!0x1;const _0x29d2b5=_0x5f381f['toViewElement'](_0x3cc353);return!!_0x29d2b5&&g(_0x3cc353)!==_0x29d2b5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x40a7b3){return _0x91ceb2(_0x40a7b3)&&_0x40a7b3['is']('containerElement')&&!!_0x40a7b3['getCustomProperty']('footnotesDefinitions');}function D(_0x33d5d7,_0x37e2ba={}){const _0x862efe=_0x33d5d7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x434a55=_0x33d5d7['createContainerElement']('ol',{'class':'footnotes-list'},_0x33d5d7['createSlot']());return _0x33d5d7['createContainerElement']('div',{'class':'footnotes',..._0x37e2ba},[_0x862efe,_0x434a55]);}function b(_0x428392,_0x23481d){const _0x2c8d4a=_0x428392['getAttribute']('footnoteId'),_0xf07619=_0x428392['getAttribute']('footnoteCounter'),_0x4542f5=_0x23481d['createUIElement']('a',{'href':'#'+_0x2c8d4a},function(_0x481105){const _0x292431=this['toDomElement'](_0x481105);return _0x292431['textContent']=_0xf07619,_0x292431;}),_0x194c38=_0x23481d['createContainerElement']('sup',{'id':'ref-'+_0x2c8d4a,'class':'footnote'},[_0x4542f5]);return _0x194c38['getFillerOffset']=()=>null,_0x194c38;}function y(_0x545db9,_0x4612d0,_0x50a000,{dataPipeline:_0xb22bf5}={}){const {t:t}=_0x50a000,_0x1ddaa0=_0x545db9['getAttribute']('footnoteId'),_0x59ad4d=_0x4612d0['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1ddaa0},function(_0x835a34){const _0x3888ca=this['toDomElement'](_0x835a34);return _0x3888ca['innerText']='^',_0x3888ca;}),_0x46090f=_0xb22bf5?_0x4612d0['createContainerElement']('div',{'class':'footnote-content'}):_0x5c12bd(_0x4612d0['createEditableElement']('div',{'class':'footnote-content'}),_0x4612d0,{'label':t('Footnote\x20content.')});return _0x4612d0['insert'](_0x4612d0['createPositionAt'](_0x46090f,0x0),_0x4612d0['createSlot']()),_0x4612d0['createContainerElement']('li',{'class':'footnote-definition','id':_0x1ddaa0},[_0x59ad4d,_0x46090f]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xc9d1(){const _0x47d7ab=['_updateFootnotesCounters','refresh','733910yDVokN','getFootnotesDefinitionsObjectElement','model','isInteger','setAttribute','6155217tHrLQJ','execute','footnotesListStart','isEnabled','getAttribute','241332GEokNH','value','3702774YKxlvI','change','plugins','8ePATGq','get','2TCzGTJ','165545yxXBMq','1692723scUvIo','1671016rRHCLR'];_0xc9d1=function(){return _0x47d7ab;};return _0xc9d1();}const _0xb7e1f6=_0xcb53;(function(_0x1b7c0b,_0x20088d){const _0x46f45a=_0xcb53,_0x55763a=_0x1b7c0b();while(!![]){try{const _0x4e127f=parseInt(_0x46f45a(0x15e))/0x1+-parseInt(_0x46f45a(0x15d))/0x2*(parseInt(_0x46f45a(0x15f))/0x3)+-parseInt(_0x46f45a(0x160))/0x4+-parseInt(_0x46f45a(0x163))/0x5+parseInt(_0x46f45a(0x158))/0x6+parseInt(_0x46f45a(0x16d))/0x7+-parseInt(_0x46f45a(0x15b))/0x8*(-parseInt(_0x46f45a(0x168))/0x9);if(_0x4e127f===_0x20088d)break;else _0x55763a['push'](_0x55763a['shift']());}catch(_0x54ce0e){_0x55763a['push'](_0x55763a['shift']());}}}(_0xc9d1,0x5ae3e));import{Command as _0x291ad5}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x43ae5d}from'../../footnotestracker.js';function _0xcb53(_0xc3f99e,_0x26b38e){const _0xc9d184=_0xc9d1();return _0xcb53=function(_0xcb5373,_0x34b47f){_0xcb5373=_0xcb5373-0x157;let _0x40789d=_0xc9d184[_0xcb5373];return _0x40789d;},_0xcb53(_0xc3f99e,_0x26b38e);}export class FootnotesStartCommand extends _0x291ad5{[_0xb7e1f6(0x162)](){const _0x169e98=_0xb7e1f6,{editor:_0x580bc1}=this,_0x3763bc=_0x580bc1[_0x169e98(0x15a)][_0x169e98(0x15c)](_0x43ae5d)[_0x169e98(0x164)]();this[_0x169e98(0x16b)]=!!_0x3763bc,this[_0x169e98(0x157)]=_0x3763bc?.[_0x169e98(0x16c)](_0x169e98(0x16a))??null;}[_0xb7e1f6(0x169)]({value:_0x3abfa6}){const _0x54927b=_0xb7e1f6,{editor:_0xdf0996}=this,_0x33964f=_0xdf0996[_0x54927b(0x15a)][_0x54927b(0x15c)](_0x43ae5d),_0x3c9361=_0x33964f[_0x54927b(0x164)]();_0x3c9361&&Number[_0x54927b(0x166)](_0x3abfa6)&&_0xdf0996[_0x54927b(0x165)][_0x54927b(0x159)](_0x5f259e=>{const _0x22de6a=_0x54927b;_0x5f259e[_0x22de6a(0x167)](_0x22de6a(0x16a),_0x3abfa6,_0x3c9361),_0x33964f[_0x22de6a(0x161)](_0x5f259e);});}}
23
+ const _0x382be1=_0x295e;function _0x295e(_0xbabf96,_0x268e53){const _0x5dd81a=_0x5dd8();return _0x295e=function(_0x295e05,_0x2eeae2){_0x295e05=_0x295e05-0xd1;let _0x1f6959=_0x5dd81a[_0x295e05];return _0x1f6959;},_0x295e(_0xbabf96,_0x268e53);}(function(_0x2a5450,_0x4f1261){const _0x25a596=_0x295e,_0x216318=_0x2a5450();while(!![]){try{const _0xb3aa0c=parseInt(_0x25a596(0xe7))/0x1*(parseInt(_0x25a596(0xd2))/0x2)+-parseInt(_0x25a596(0xe2))/0x3*(parseInt(_0x25a596(0xe8))/0x4)+parseInt(_0x25a596(0xd5))/0x5+parseInt(_0x25a596(0xde))/0x6*(-parseInt(_0x25a596(0xe0))/0x7)+parseInt(_0x25a596(0xe1))/0x8*(-parseInt(_0x25a596(0xd8))/0x9)+-parseInt(_0x25a596(0xdb))/0xa*(-parseInt(_0x25a596(0xdc))/0xb)+parseInt(_0x25a596(0xdf))/0xc;if(_0xb3aa0c===_0x4f1261)break;else _0x216318['push'](_0x216318['shift']());}catch(_0x38e3ec){_0x216318['push'](_0x216318['shift']());}}}(_0x5dd8,0x51b61));function _0x5dd8(){const _0x57069a=['3343668DCLCCk','83461iQdXYl','1990672GpYCXI','3VQDuyq','footnotesListStart','isInteger','execute','value','47891PMxagu','1806392RpWDzj','get','getAttribute','change','10QyiBQS','model','setAttribute','2376830odaHqo','isEnabled','refresh','9tsiLDM','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','10hjLAGO','982883ZGaEat','plugins','24fHhAXV'];_0x5dd8=function(){return _0x57069a;};return _0x5dd8();}import{Command as _0x4648ca}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3ba035}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x4648ca{[_0x382be1(0xd7)](){const _0x42a082=_0x382be1,{editor:_0x1dc2c0}=this,_0x5aa8ff=_0x1dc2c0[_0x42a082(0xdd)][_0x42a082(0xe9)](_0x3ba035)[_0x42a082(0xd9)]();this[_0x42a082(0xd6)]=!!_0x5aa8ff,this[_0x42a082(0xe6)]=_0x5aa8ff?.[_0x42a082(0xea)](_0x42a082(0xe3))??null;}[_0x382be1(0xe5)]({value:_0x246382}){const _0x725e81=_0x382be1,{editor:_0x9f980a}=this,_0x3dc137=_0x9f980a[_0x725e81(0xdd)][_0x725e81(0xe9)](_0x3ba035),_0x137ee9=_0x3dc137[_0x725e81(0xd9)]();_0x137ee9&&Number[_0x725e81(0xe4)](_0x246382)&&_0x9f980a[_0x725e81(0xd3)][_0x725e81(0xd1)](_0x4fae30=>{const _0x20bb3c=_0x725e81;_0x4fae30[_0x20bb3c(0xd4)](_0x20bb3c(0xe3),_0x246382,_0x137ee9),_0x3dc137[_0x20bb3c(0xda)](_0x4fae30);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x434add=_0x5654;(function(_0x3e5e5c,_0x46d087){const _0x2bea3e=_0x5654,_0x2bd6d9=_0x3e5e5c();while(!![]){try{const _0x3b3c2d=parseInt(_0x2bea3e(0x12a))/0x1*(parseInt(_0x2bea3e(0x12b))/0x2)+-parseInt(_0x2bea3e(0x127))/0x3+parseInt(_0x2bea3e(0x137))/0x4+-parseInt(_0x2bea3e(0x12f))/0x5+parseInt(_0x2bea3e(0x130))/0x6*(parseInt(_0x2bea3e(0x133))/0x7)+parseInt(_0x2bea3e(0x138))/0x8*(-parseInt(_0x2bea3e(0x129))/0x9)+-parseInt(_0x2bea3e(0x124))/0xa*(-parseInt(_0x2bea3e(0x13c))/0xb);if(_0x3b3c2d===_0x46d087)break;else _0x2bd6d9['push'](_0x2bd6d9['shift']());}catch(_0x2b6975){_0x2bd6d9['push'](_0x2bd6d9['shift']());}}}(_0x39ae,0xbb8f3));function _0x39ae(){const _0x133a48=['5077330qXdkHz','includes','footnotesListStyle','3878403sLIMXm','value','14121SlEXXx','3821wXzFKH','628ssmoKO','change','getAttribute','_updateFootnotesCounters','5699845ftjmYJ','226824FpjwQr','setAttribute','get','154jIdrzs','refresh','plugins','isEnabled','2191536vwiZcG','2008IodepT','model','execute','getFootnotesDefinitionsObjectElement','22MbyuRp'];_0x39ae=function(){return _0x133a48;};return _0x39ae();}import{Command as _0x477a14}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x35cc73}from'../footnotespropertiesconfig.js';function _0x5654(_0x56a0c3,_0x1681df){const _0x39aefb=_0x39ae();return _0x5654=function(_0x565432,_0x4bc51b){_0x565432=_0x565432-0x124;let _0x21a728=_0x39aefb[_0x565432];return _0x21a728;},_0x5654(_0x56a0c3,_0x1681df);}import{FootnotesTracker as _0x48f8ef}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x477a14{[_0x434add(0x134)](){const _0x135ac0=_0x434add,{editor:_0x36d6a1}=this,_0x25fb14=_0x36d6a1[_0x135ac0(0x135)][_0x135ac0(0x132)](_0x48f8ef)[_0x135ac0(0x13b)]();this[_0x135ac0(0x136)]=!!_0x25fb14,this[_0x135ac0(0x128)]=_0x25fb14?.[_0x135ac0(0x12d)](_0x135ac0(0x126))??null;}[_0x434add(0x13a)]({value:_0x4f40c5}){const _0x2576e1=_0x434add,{editor:_0x436df4}=this,_0x3bd950=_0x436df4[_0x2576e1(0x135)][_0x2576e1(0x132)](_0x48f8ef),_0x22f939=_0x3bd950[_0x2576e1(0x13b)]();_0x22f939&&_0x35cc73[_0x2576e1(0x125)](_0x4f40c5)&&_0x436df4[_0x2576e1(0x139)][_0x2576e1(0x12c)](_0x53f956=>{const _0x15e816=_0x2576e1;_0x53f956[_0x15e816(0x131)](_0x15e816(0x126),_0x4f40c5,_0x22f939),_0x3bd950[_0x15e816(0x12e)](_0x53f956);});}}
23
+ function _0x1873(_0x9e4fb5,_0xe95cba){const _0x5b5914=_0x5b59();return _0x1873=function(_0x18732d,_0x2b69f7){_0x18732d=_0x18732d-0x1cd;let _0x4dc34e=_0x5b5914[_0x18732d];return _0x4dc34e;},_0x1873(_0x9e4fb5,_0xe95cba);}const _0x2368b7=_0x1873;(function(_0x44a796,_0x295500){const _0x5a3421=_0x1873,_0x2b004a=_0x44a796();while(!![]){try{const _0x56701b=parseInt(_0x5a3421(0x1dd))/0x1+-parseInt(_0x5a3421(0x1d5))/0x2+-parseInt(_0x5a3421(0x1cf))/0x3*(-parseInt(_0x5a3421(0x1e0))/0x4)+-parseInt(_0x5a3421(0x1d2))/0x5+-parseInt(_0x5a3421(0x1df))/0x6+parseInt(_0x5a3421(0x1d0))/0x7*(-parseInt(_0x5a3421(0x1ce))/0x8)+-parseInt(_0x5a3421(0x1cd))/0x9*(-parseInt(_0x5a3421(0x1dc))/0xa);if(_0x56701b===_0x295500)break;else _0x2b004a['push'](_0x2b004a['shift']());}catch(_0x6ed3bf){_0x2b004a['push'](_0x2b004a['shift']());}}}(_0x5b59,0x60c05));import{Command as _0x104cfa}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5ce9ac}from'../footnotespropertiesconfig.js';function _0x5b59(){const _0x47e96c=['348289GubIBH','execute','4403214xEYVoP','4VPsDwH','isEnabled','getAttribute','value','change','7011taPLFn','23032VBNCCo','59277NLoCpJ','1057wZLLuP','setAttribute','3010065wHORaf','getFootnotesDefinitionsObjectElement','plugins','1560826PFgFsc','footnotesListStyle','refresh','_updateFootnotesCounters','model','includes','get','33110noyUvA'];_0x5b59=function(){return _0x47e96c;};return _0x5b59();}import{FootnotesTracker as _0x47d65a}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x104cfa{[_0x2368b7(0x1d7)](){const _0xc40120=_0x2368b7,{editor:_0x52f453}=this,_0x98f628=_0x52f453[_0xc40120(0x1d4)][_0xc40120(0x1db)](_0x47d65a)[_0xc40120(0x1d3)]();this[_0xc40120(0x1e1)]=!!_0x98f628,this[_0xc40120(0x1e3)]=_0x98f628?.[_0xc40120(0x1e2)](_0xc40120(0x1d6))??null;}[_0x2368b7(0x1de)]({value:_0x115261}){const _0xeddc62=_0x2368b7,{editor:_0x2831bd}=this,_0x5d96d2=_0x2831bd[_0xeddc62(0x1d4)][_0xeddc62(0x1db)](_0x47d65a),_0x1bdbb4=_0x5d96d2[_0xeddc62(0x1d3)]();_0x1bdbb4&&_0x5ce9ac[_0xeddc62(0x1da)](_0x115261)&&_0x2831bd[_0xeddc62(0x1d9)][_0xeddc62(0x1e4)](_0x454b2f=>{const _0x3af340=_0xeddc62;_0x454b2f[_0x3af340(0x1d1)](_0x3af340(0x1d6),_0x115261,_0x1bdbb4),_0x5d96d2[_0x3af340(0x1d8)](_0x454b2f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a9e93=_0x599e;(function(_0x1ef849,_0x34c4f4){const _0x1b1a6c=_0x599e,_0x476630=_0x1ef849();while(!![]){try{const _0xa46562=parseInt(_0x1b1a6c(0x1e1))/0x1*(parseInt(_0x1b1a6c(0x1de))/0x2)+-parseInt(_0x1b1a6c(0x1df))/0x3*(parseInt(_0x1b1a6c(0x1d5))/0x4)+parseInt(_0x1b1a6c(0x1dd))/0x5*(parseInt(_0x1b1a6c(0x1e2))/0x6)+parseInt(_0x1b1a6c(0x1d4))/0x7+-parseInt(_0x1b1a6c(0x1db))/0x8*(-parseInt(_0x1b1a6c(0x1e5))/0x9)+parseInt(_0x1b1a6c(0x1d9))/0xa*(-parseInt(_0x1b1a6c(0x1d6))/0xb)+parseInt(_0x1b1a6c(0x1da))/0xc*(-parseInt(_0x1b1a6c(0x1e0))/0xd);if(_0xa46562===_0x34c4f4)break;else _0x476630['push'](_0x476630['shift']());}catch(_0x32eb77){_0x476630['push'](_0x476630['shift']());}}}(_0x2e00,0xe6f80));function _0x2e00(){const _0x3152e7=['1881980EqtzAV','15599507RqaZyK','decimal-leading-zero','lower-alpha','10GQKvzl','27746088piFPYi','968nNpLtJ','decimal','15LrPSeq','326zgQSdX','3Xxujpz','13gtDcis','10012GcdQgx','2492670cmRzdY','lower-latin','upper-roman','109692CwHTip','upper-latin','upper-alpha','lower-roman','5556705sIhavW'];_0x2e00=function(){return _0x3152e7;};return _0x2e00();}function _0x599e(_0x56e6a9,_0x33df33){const _0x2e00d1=_0x2e00();return _0x599e=function(_0x599e80,_0x788692){_0x599e80=_0x599e80-0x1d2;let _0x191cb7=_0x2e00d1[_0x599e80];return _0x191cb7;},_0x599e(_0x56e6a9,_0x33df33);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3a9e93(0x1dc),_0x3a9e93(0x1d7),_0x3a9e93(0x1e3),_0x3a9e93(0x1e6),_0x3a9e93(0x1d8),_0x3a9e93(0x1d2),_0x3a9e93(0x1d3),_0x3a9e93(0x1e4)];
23
+ function _0x3116(_0x56a57c,_0x1ad9e3){const _0x4dd977=_0x4dd9();return _0x3116=function(_0x3116c1,_0x4fab0b){_0x3116c1=_0x3116c1-0x103;let _0xd00fac=_0x4dd977[_0x3116c1];return _0xd00fac;},_0x3116(_0x56a57c,_0x1ad9e3);}const _0xb0e3be=_0x3116;(function(_0x32d21e,_0xef04ed){const _0x20caad=_0x3116,_0x29e100=_0x32d21e();while(!![]){try{const _0x480f17=parseInt(_0x20caad(0x111))/0x1+parseInt(_0x20caad(0x10c))/0x2+-parseInt(_0x20caad(0x105))/0x3+-parseInt(_0x20caad(0x112))/0x4*(parseInt(_0x20caad(0x10f))/0x5)+-parseInt(_0x20caad(0x110))/0x6*(parseInt(_0x20caad(0x10e))/0x7)+parseInt(_0x20caad(0x107))/0x8*(parseInt(_0x20caad(0x114))/0x9)+-parseInt(_0x20caad(0x10a))/0xa;if(_0x480f17===_0xef04ed)break;else _0x29e100['push'](_0x29e100['shift']());}catch(_0x3418f0){_0x29e100['push'](_0x29e100['shift']());}}}(_0x4dd9,0x831c0));function _0x4dd9(){const _0x55f37b=['1526690NBafSU','upper-latin','252iWCrdi','20ereuhZ','32034eiBARs','568598fSoiBs','1045524EYssVi','lower-alpha','7805331mBpCgH','decimal','lower-roman','15960XjkeBj','lower-latin','8CTjzHQ','upper-roman','upper-alpha','4191300wTAgFT','decimal-leading-zero'];_0x4dd9=function(){return _0x55f37b;};return _0x4dd9();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0xb0e3be(0x103),_0xb0e3be(0x10b),_0xb0e3be(0x106),_0xb0e3be(0x10d),_0xb0e3be(0x113),_0xb0e3be(0x109),_0xb0e3be(0x104),_0xb0e3be(0x108)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xc1018b=_0x2eff;function _0x30ac(){const _0x387124=['_getDefaultStartIndex','footnotesDefinitions','type','createRangeOn','consumable','footnotesStyle','1404666BUMgoN','lower-roman','model','decimal','1083483QWRAKc','start','_formatFootnoteListValue','writer','removeAttribute','position','upper-roman','nodeAfter','upper-alpha','getChanges','3CFNeaQ','removeStyle','consume','_updateFootnotesCounters','162PfDPek','pluginName','lower-alpha','setStyle','_definePostfixer','getAttribute','isPremiumPlugin','registerPostFixer','hasAttribute','hasClass','attribute:footnotesListStyle:footnotesDefinitions','config','getItems','checkAttribute','decimal-leading-zero','insert','_defineConverters','downcast','footnotesListStyle','749682UKskSY','modelCursor','max','document','_getDefaultListStyle','929797oncAnN','fromCharCode','parent','$text','7863344cXTCAD','setAttribute','footnotesListStart','attribute:footnotesListStart:footnotesDefinitions','differ','toLowerCase','isNaN','118839gVrRNs','list-style-type','footnotesStart','for','isOfficialPlugin','viewItem','936596MDabfu','mapper','getChildren','170umqIHV','extend','_defineFormatter','add','25wRdpdd','footnotes-list','_defineSchema','upper-latin','commands','lower-latin','upcast','toViewElement','from','schema','parseInt','find','editor','define','plugins','floor','element','requires','getStyle','padStart','footnotes.footnotesProperties.defaultListStyle','name','item','get','element:ol','toUpperCase','footnotes.footnotesProperties.defaultStartIndex','setFootnoteFormatter','FootnotesPropertiesEditing','init'];_0x30ac=function(){return _0x387124;};return _0x30ac();}(function(_0xbf2d25,_0x401685){const _0x1792a5=_0x2eff,_0x339b84=_0xbf2d25();while(!![]){try{const _0x3a5705=-parseInt(_0x1792a5(0x108))/0x1+-parseInt(_0x1792a5(0x104))/0x2*(-parseInt(_0x1792a5(0x112))/0x3)+parseInt(_0x1792a5(0xd9))/0x4*(parseInt(_0x1792a5(0xe0))/0x5)+parseInt(_0x1792a5(0x116))/0x6*(parseInt(_0x1792a5(0xd3))/0x7)+parseInt(_0x1792a5(0xcc))/0x8+parseInt(_0x1792a5(0xc3))/0x9*(-parseInt(_0x1792a5(0xdc))/0xa)+parseInt(_0x1792a5(0xc8))/0xb;if(_0x3a5705===_0x401685)break;else _0x339b84['push'](_0x339b84['shift']());}catch(_0xb8574b){_0x339b84['push'](_0x339b84['shift']());}}}(_0x30ac,0xdb919));function _0x2eff(_0x4df38f,_0x287576){const _0x30acdb=_0x30ac();return _0x2eff=function(_0x2eff8a,_0x4ff07c){_0x2eff8a=_0x2eff8a-0xb7;let _0x21d67e=_0x30acdb[_0x2eff8a];return _0x21d67e;},_0x2eff(_0x4df38f,_0x287576);}import{Plugin as _0x472b35}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3bd254}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x24853f}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2cccc9}from'../footnotestracker.js';import{FootnotesEditing as _0x5d8ad6}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x472b35{static get[_0xc1018b(0x117)](){const _0x37ea46=_0xc1018b;return _0x37ea46(0xfc);}static get[_0xc1018b(0xf1)](){return[_0x5d8ad6,_0x2cccc9];}static get[_0xc1018b(0xd7)](){return!0x0;}static get[_0xc1018b(0x11c)](){return!0x0;}[_0xc1018b(0xfd)](){const _0x422f41=_0xc1018b,{editor:_0x3247b0}=this;_0x3247b0[_0x422f41(0xbb)][_0x422f41(0xed)](_0x422f41(0xf4),_0x422f41(0x107)),_0x3247b0[_0x422f41(0xbb)][_0x422f41(0xed)](_0x422f41(0xfa),0x1),_0x3247b0[_0x422f41(0xe4)][_0x422f41(0xdf)](_0x422f41(0x103),new _0x3bd254(_0x3247b0)),_0x3247b0[_0x422f41(0xe4)][_0x422f41(0xdf)](_0x422f41(0xd5),new _0x24853f(_0x3247b0)),this[_0x422f41(0xe2)](),this[_0x422f41(0xc0)](),this[_0x422f41(0xde)](),this[_0x422f41(0x11a)]();}[_0xc1018b(0xe2)](){const _0x4c52e5=_0xc1018b,{editor:_0x433dfb}=this,{schema:_0x44e3f7}=_0x433dfb[_0x4c52e5(0x106)];_0x44e3f7[_0x4c52e5(0xdd)](_0x4c52e5(0xff),{'allowAttributes':[_0x4c52e5(0xc2),_0x4c52e5(0xce)]});}[_0xc1018b(0xc0)](){const _0x2d5ca8=_0xc1018b,{editor:_0xb0a960}=this,{conversion:_0x49d69a,model:_0x197ed5}=_0xb0a960,{schema:_0x154569}=_0x197ed5;_0x49d69a[_0x2d5ca8(0xd6)](_0x2d5ca8(0xe6))[_0x2d5ca8(0xdf)](_0x21ff1c=>{const _0x522b7d=_0x2d5ca8;_0x21ff1c['on'](_0x522b7d(0xf8),(_0x1e15e8,_0x3f5554,_0x4b5c71)=>{const _0x51fae4=_0x522b7d,_0x375b79=_0x3f5554[_0x51fae4(0xd8)],_0x4c60ea=_0x3f5554[_0x51fae4(0xc4)]?.[_0x51fae4(0xca)];_0x375b79[_0x51fae4(0xb9)](_0x51fae4(0xe1))&&_0x4c60ea?.['is'](_0x51fae4(0xf0),_0x51fae4(0xff))&&(function(_0x445f64,_0x3b74a7,_0x28bb04,_0x5427a8){const _0x304e6e=_0x51fae4;if(!_0x5427a8[_0x304e6e(0xbd)](_0x3b74a7,_0x304e6e(0xce)))return;let _0x19abf3=0x1;const _0x992bca=_0x28bb04[_0x304e6e(0x102)][_0x304e6e(0x114)](_0x445f64,{'attributes':_0x304e6e(0x109)});if(_0x992bca){const _0x14fd3b=Number[_0x304e6e(0xea)](_0x445f64[_0x304e6e(0x11b)](_0x304e6e(0x109)),0xa);Number[_0x304e6e(0xd2)](_0x14fd3b)||(_0x19abf3=_0x14fd3b);}!_0x992bca&&_0x3b74a7[_0x304e6e(0xb8)](_0x304e6e(0xce))||_0x28bb04[_0x304e6e(0x10b)][_0x304e6e(0xcd)](_0x304e6e(0xce),_0x19abf3,_0x3b74a7);}(_0x375b79,_0x4c60ea,_0x4b5c71,_0x154569),function(_0x34ed2d,_0x2cf683,_0x5334c8,_0x219ffd){const _0x3ed6ba=_0x51fae4;if(!_0x219ffd[_0x3ed6ba(0xbd)](_0x2cf683,_0x3ed6ba(0xc2)))return;let _0x5b53bf=_0x3ed6ba(0x107),_0x43ab0a=!0x1;if(_0x5334c8[_0x3ed6ba(0x102)][_0x3ed6ba(0x114)](_0x34ed2d,{'attributes':_0x3ed6ba(0x100)})){const _0x2ad17d={0x1:_0x3ed6ba(0x107),'a':_0x3ed6ba(0x118),'A':_0x3ed6ba(0x110),'i':_0x3ed6ba(0x105),'I':_0x3ed6ba(0x10e)}[_0x34ed2d[_0x3ed6ba(0x11b)](_0x3ed6ba(0x100))];_0x2ad17d&&(_0x5b53bf=_0x2ad17d),_0x43ab0a=!0x0;}_0x5334c8[_0x3ed6ba(0x102)][_0x3ed6ba(0x114)](_0x34ed2d,{'styles':_0x3ed6ba(0xd4)})&&(_0x5b53bf=function(_0x5505b4){const _0x48b6d5=_0x3ed6ba;switch(_0x5505b4){case _0x48b6d5(0x118):return _0x48b6d5(0xe5);case _0x48b6d5(0x110):return _0x48b6d5(0xe3);default:return _0x5505b4;}}(_0x34ed2d[_0x3ed6ba(0xf2)](_0x3ed6ba(0xd4))),_0x43ab0a=!0x0),!_0x43ab0a&&_0x2cf683[_0x3ed6ba(0xb8)](_0x3ed6ba(0xc2))||_0x5334c8[_0x3ed6ba(0x10b)][_0x3ed6ba(0xcd)](_0x3ed6ba(0xc2),_0x5b53bf,_0x2cf683);}(_0x375b79,_0x4c60ea,_0x4b5c71,_0x154569));});}),_0x49d69a[_0x2d5ca8(0xd6)](_0x2d5ca8(0xc1))[_0x2d5ca8(0xdf)](_0x180b00=>{const _0x8b4826=_0x2d5ca8;_0x180b00['on'](_0x8b4826(0xcf),(_0x254dc0,_0x4a776e,_0x1448b1)=>{const _0xb89cd6=_0x8b4826;if(!_0x1448b1[_0xb89cd6(0x102)][_0xb89cd6(0x114)](_0x4a776e[_0xb89cd6(0xf6)],_0x254dc0[_0xb89cd6(0xf5)]))return;const _0x1dea36=M(_0x4a776e[_0xb89cd6(0xf6)],_0x1448b1[_0xb89cd6(0xda)]),{attributeNewValue:_0x491fc7}=_0x4a776e;null==_0x491fc7||0x1===_0x491fc7?_0x1448b1[_0xb89cd6(0x10b)][_0xb89cd6(0x10c)](_0xb89cd6(0x109),_0x1dea36):_0x1448b1[_0xb89cd6(0x10b)][_0xb89cd6(0xcd)](_0xb89cd6(0x109),String(_0x491fc7),_0x1dea36);}),_0x180b00['on'](_0x8b4826(0xba),(_0x496e4a,_0x8b8dcf,_0x44ea3c)=>{const _0x36d5d7=_0x8b4826;if(!_0x44ea3c[_0x36d5d7(0x102)][_0x36d5d7(0x114)](_0x8b8dcf[_0x36d5d7(0xf6)],_0x496e4a[_0x36d5d7(0xf5)]))return;const _0x1ecc17=M(_0x8b8dcf[_0x36d5d7(0xf6)],_0x44ea3c[_0x36d5d7(0xda)]),{attributeNewValue:_0x2bca12}=_0x8b8dcf;_0x2bca12&&_0x36d5d7(0x107)!==_0x2bca12?_0x44ea3c[_0x36d5d7(0x10b)][_0x36d5d7(0x119)](_0x36d5d7(0xd4),_0x2bca12,_0x1ecc17):_0x44ea3c[_0x36d5d7(0x10b)][_0x36d5d7(0x113)](_0x36d5d7(0xd4),_0x1ecc17);});});}[_0xc1018b(0x11a)](){const _0x17be6f=_0xc1018b,{editor:_0x101abe}=this,{model:_0x5bfa54}=_0x101abe,_0x555b05=_0x101abe[_0x17be6f(0xee)][_0x17be6f(0xf7)](_0x2cccc9),_0x2ae5d6=this[_0x17be6f(0xc7)](),_0x59c75f=this[_0x17be6f(0xfe)]();_0x5bfa54[_0x17be6f(0xc6)][_0x17be6f(0xb7)](_0x30cdd8=>{const _0x325cef=_0x17be6f,_0x51ac68=_0x5bfa54[_0x325cef(0xc6)][_0x325cef(0xd0)][_0x325cef(0x111)]();let _0x434dae=!0x1;for(const _0x32a1b2 of _0x51ac68){if(_0x325cef(0xbf)!==_0x32a1b2[_0x325cef(0x100)]||_0x325cef(0xcb)===_0x32a1b2[_0x325cef(0xf5)])continue;const _0x51da3c=_0x5bfa54[_0x325cef(0x101)](_0x32a1b2[_0x325cef(0x10d)][_0x325cef(0x10f)]);for(const _0x573114 of _0x51da3c[_0x325cef(0xbc)]())_0x573114['is'](_0x325cef(0xf0),_0x325cef(0xff))&&(!_0x573114[_0x325cef(0xb8)](_0x325cef(0xce))&&_0x5bfa54[_0x325cef(0xe9)][_0x325cef(0xbd)](_0x573114,_0x325cef(0xce))&&(_0x30cdd8[_0x325cef(0xcd)](_0x325cef(0xce),_0x59c75f,_0x573114),_0x434dae=!0x0),!_0x573114[_0x325cef(0xb8)](_0x325cef(0xc2))&&_0x5bfa54[_0x325cef(0xe9)][_0x325cef(0xbd)](_0x573114,_0x325cef(0xc2))&&(_0x30cdd8[_0x325cef(0xcd)](_0x325cef(0xc2),_0x2ae5d6,_0x573114),_0x434dae=!0x0));}return _0x434dae&&_0x555b05[_0x325cef(0x115)](_0x30cdd8),_0x434dae;});}[_0xc1018b(0xde)](){const _0x20a05c=_0xc1018b,{editor:_0x25b42b}=this;_0x25b42b[_0x20a05c(0xee)][_0x20a05c(0xf7)](_0x2cccc9)[_0x20a05c(0xfb)](_0x291680=>this[_0x20a05c(0x10a)](_0x291680));}[_0xc1018b(0xc7)](){const _0x330920=_0xc1018b;return this[_0x330920(0xec)][_0x330920(0xbb)][_0x330920(0xf7)](_0x330920(0xf4));}[_0xc1018b(0xfe)](){const _0x20a2af=_0xc1018b;return this[_0x20a2af(0xec)][_0x20a2af(0xbb)][_0x20a2af(0xf7)](_0x20a2af(0xfa));}[_0xc1018b(0x10a)]({container:_0x100746,value:_0x440cd2,digits:_0x569788}){const _0x19c767=_0xc1018b,_0x270714=_0x100746[_0x19c767(0x11b)](_0x19c767(0xc2)),_0x23bc3e=_0x100746[_0x19c767(0x11b)](_0x19c767(0xce)),_0x3f0365=Math[_0x19c767(0xef)](_0x440cd2)+(_0x23bc3e??0x1)-0x1;switch(_0x270714){case _0x19c767(0xbe):return function(_0x486cf5,_0x5e851f){const _0x335229=_0x19c767;return String(_0x486cf5)[_0x335229(0xf3)](_0x5e851f,'0');}(_0x3f0365,Math[_0x19c767(0xc5)](0x2,_0x569788));case _0x19c767(0x118):case _0x19c767(0xe5):return N(_0x3f0365,!0x1);case _0x19c767(0x110):case _0x19c767(0xe3):return N(_0x3f0365,!0x0);case _0x19c767(0x105):return X(_0x3f0365,!0x1);case _0x19c767(0x10e):return X(_0x3f0365,!0x0);default:return String(_0x3f0365);}}}function M(_0xb81274,_0x2dc347){const _0x48c292=_0xc1018b,_0xbc9386=_0x2dc347[_0x48c292(0xe7)](_0xb81274);return Array[_0x48c292(0xe8)](_0xbc9386[_0x48c292(0xdb)]())[_0x48c292(0xeb)](_0x158a39=>_0x158a39['is'](_0x48c292(0xf0),'ol')&&_0x158a39[_0x48c292(0xb9)](_0x48c292(0xe1)));}function N(_0x24b00b,_0x4e342f){const _0x574131=_0xc1018b;let _0x2ea603='',_0x2c6b4d=_0x24b00b;for(;_0x2c6b4d>0x0;){const _0x2be3ec=(_0x2c6b4d-0x1)%0x1a;_0x2ea603=String[_0x574131(0xc9)](0x61+_0x2be3ec)+_0x2ea603,_0x2c6b4d=Math[_0x574131(0xef)]((_0x2c6b4d-0x1)/0x1a);}return _0x4e342f?_0x2ea603[_0x574131(0xf9)]():_0x2ea603;}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(_0x197dda,_0x550235){const _0x12a31f=_0xc1018b;let _0x10fe27='',_0x12af42=_0x197dda;for(const {value:_0x2785cd,numeral:_0xe93483}of V)for(;_0x12af42>=_0x2785cd;)_0x10fe27+=_0xe93483,_0x12af42-=_0x2785cd;return _0x550235?_0x10fe27:_0x10fe27[_0x12a31f(0xd1)]();}
23
+ const _0x426f14=_0x2f08;function _0x2f08(_0x13ba1c,_0x5516c1){const _0x2a8f16=_0x2a8f();return _0x2f08=function(_0x2f085e,_0x24ca09){_0x2f085e=_0x2f085e-0x1e5;let _0x109e73=_0x2a8f16[_0x2f085e];return _0x109e73;},_0x2f08(_0x13ba1c,_0x5516c1);}(function(_0x35333f,_0xe18e39){const _0x59df3f=_0x2f08,_0x2b7cb3=_0x35333f();while(!![]){try{const _0x2636ec=-parseInt(_0x59df3f(0x1e9))/0x1*(-parseInt(_0x59df3f(0x217))/0x2)+parseInt(_0x59df3f(0x1fb))/0x3*(-parseInt(_0x59df3f(0x208))/0x4)+-parseInt(_0x59df3f(0x24a))/0x5+parseInt(_0x59df3f(0x200))/0x6*(-parseInt(_0x59df3f(0x20e))/0x7)+-parseInt(_0x59df3f(0x202))/0x8*(-parseInt(_0x59df3f(0x215))/0x9)+-parseInt(_0x59df3f(0x237))/0xa+parseInt(_0x59df3f(0x1fc))/0xb*(parseInt(_0x59df3f(0x22c))/0xc);if(_0x2636ec===_0xe18e39)break;else _0x2b7cb3['push'](_0x2b7cb3['shift']());}catch(_0x4079b6){_0x2b7cb3['push'](_0x2b7cb3['shift']());}}}(_0x2a8f,0xde9fc));import{Plugin as _0x18794a}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2cf24a}from'./commands/footnotesstylecommand.js';function _0x2a8f(){const _0x6bf70c=['decimal','differ','toUpperCase','writer','removeAttribute','_defineSchema','document','upper-roman','floor','config','_defineFormatter','attribute:footnotesListStart:footnotesDefinitions','24RFWYjV','210683iQYuwz','removeStyle','from','footnotesDefinitions','90606twJgdq','getItems','3232632JAUdCb','element:ol','hasClass','commands','add','item','891832ALAGUB','modelCursor','find','padStart','_formatFootnoteListValue','hasAttribute','133dPFApf','plugins','downcast','createRangeOn','getAttribute','setFootnoteFormatter','list-style-type','9HXGXsM','isNaN','2482vXBRVq','$text','consumable','_updateFootnotesCounters','_getDefaultListStyle','for','isPremiumPlugin','element','footnotesListStart','init','footnotes.footnotesProperties.defaultStartIndex','upper-latin','max','toViewElement','pluginName','define','lower-alpha','isOfficialPlugin','schema','start','lower-latin','3204jtBKVC','requires','decimal-leading-zero','consume','footnotes.footnotesProperties.defaultListStyle','checkAttribute','setStyle','_getDefaultStartIndex','footnotesStyle','_defineConverters','FootnotesPropertiesEditing','14253620ijCgSg','footnotesStart','_definePostfixer','lower-roman','nodeAfter','get','footnotesListStyle','getStyle','upcast','name','extend','fromCharCode','parseInt','position','model','insert','registerPostFixer','getChildren','getChanges','6437900URgtPT','setAttribute','footnotes-list','parent','attribute:footnotesListStyle:footnotesDefinitions','mapper','143Acjqfa','toLowerCase','upper-alpha','viewItem','editor','type'];_0x2a8f=function(){return _0x6bf70c;};return _0x2a8f();}import{FootnotesStartCommand as _0x58be49}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x2a6866}from'../footnotestracker.js';import{FootnotesEditing as _0x3f54ec}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x18794a{static get[_0x426f14(0x225)](){const _0x10de28=_0x426f14;return _0x10de28(0x236);}static get[_0x426f14(0x22d)](){return[_0x3f54ec,_0x2a6866];}static get[_0x426f14(0x228)](){return!0x0;}static get[_0x426f14(0x21d)](){return!0x0;}[_0x426f14(0x220)](){const _0x136509=_0x426f14,{editor:_0x259edb}=this;_0x259edb[_0x136509(0x1f8)][_0x136509(0x226)](_0x136509(0x230),_0x136509(0x1ef)),_0x259edb[_0x136509(0x1f8)][_0x136509(0x226)](_0x136509(0x221),0x1),_0x259edb[_0x136509(0x205)][_0x136509(0x206)](_0x136509(0x234),new _0x2cf24a(_0x259edb)),_0x259edb[_0x136509(0x205)][_0x136509(0x206)](_0x136509(0x238),new _0x58be49(_0x259edb)),this[_0x136509(0x1f4)](),this[_0x136509(0x235)](),this[_0x136509(0x1f9)](),this[_0x136509(0x239)]();}[_0x426f14(0x1f4)](){const _0x17ac39=_0x426f14,{editor:_0x3caa79}=this,{schema:_0x3a23f6}=_0x3caa79[_0x17ac39(0x245)];_0x3a23f6[_0x17ac39(0x241)](_0x17ac39(0x1ff),{'allowAttributes':[_0x17ac39(0x23d),_0x17ac39(0x21f)]});}[_0x426f14(0x235)](){const _0x59033e=_0x426f14,{editor:_0x3d4db3}=this,{conversion:_0x4193ab,model:_0x268f07}=_0x3d4db3,{schema:_0x27aa10}=_0x268f07;_0x4193ab[_0x59033e(0x21c)](_0x59033e(0x23f))[_0x59033e(0x206)](_0x4ea104=>{const _0x14ce98=_0x59033e;_0x4ea104['on'](_0x14ce98(0x203),(_0x3d3571,_0x34348f,_0x33fbd9)=>{const _0x1f07e3=_0x14ce98,_0x38ce9e=_0x34348f[_0x1f07e3(0x1ec)],_0x38b070=_0x34348f[_0x1f07e3(0x209)]?.[_0x1f07e3(0x1e6)];_0x38ce9e[_0x1f07e3(0x204)](_0x1f07e3(0x1e5))&&_0x38b070?.['is'](_0x1f07e3(0x21e),_0x1f07e3(0x1ff))&&(function(_0x404f55,_0x33681e,_0x48b037,_0x537e2a){const _0x47db12=_0x1f07e3;if(!_0x537e2a[_0x47db12(0x231)](_0x33681e,_0x47db12(0x21f)))return;let _0x490840=0x1;const _0x2413f1=_0x48b037[_0x47db12(0x219)][_0x47db12(0x22f)](_0x404f55,{'attributes':_0x47db12(0x22a)});if(_0x2413f1){const _0x186404=Number[_0x47db12(0x243)](_0x404f55[_0x47db12(0x212)](_0x47db12(0x22a)),0xa);Number[_0x47db12(0x216)](_0x186404)||(_0x490840=_0x186404);}!_0x2413f1&&_0x33681e[_0x47db12(0x20d)](_0x47db12(0x21f))||_0x48b037[_0x47db12(0x1f2)][_0x47db12(0x24b)](_0x47db12(0x21f),_0x490840,_0x33681e);}(_0x38ce9e,_0x38b070,_0x33fbd9,_0x27aa10),function(_0x34588c,_0x44ea7e,_0x16a1fb,_0x3e6578){const _0xc9c177=_0x1f07e3;if(!_0x3e6578[_0xc9c177(0x231)](_0x44ea7e,_0xc9c177(0x23d)))return;let _0x388062=_0xc9c177(0x1ef),_0x3931d9=!0x1;if(_0x16a1fb[_0xc9c177(0x219)][_0xc9c177(0x22f)](_0x34588c,{'attributes':_0xc9c177(0x1ee)})){const _0x550ca0={0x1:_0xc9c177(0x1ef),'a':_0xc9c177(0x227),'A':_0xc9c177(0x1eb),'i':_0xc9c177(0x23a),'I':_0xc9c177(0x1f6)}[_0x34588c[_0xc9c177(0x212)](_0xc9c177(0x1ee))];_0x550ca0&&(_0x388062=_0x550ca0),_0x3931d9=!0x0;}_0x16a1fb[_0xc9c177(0x219)][_0xc9c177(0x22f)](_0x34588c,{'styles':_0xc9c177(0x214)})&&(_0x388062=function(_0x4b56ca){const _0x280248=_0xc9c177;switch(_0x4b56ca){case _0x280248(0x227):return _0x280248(0x22b);case _0x280248(0x1eb):return _0x280248(0x222);default:return _0x4b56ca;}}(_0x34588c[_0xc9c177(0x23e)](_0xc9c177(0x214))),_0x3931d9=!0x0),!_0x3931d9&&_0x44ea7e[_0xc9c177(0x20d)](_0xc9c177(0x23d))||_0x16a1fb[_0xc9c177(0x1f2)][_0xc9c177(0x24b)](_0xc9c177(0x23d),_0x388062,_0x44ea7e);}(_0x38ce9e,_0x38b070,_0x33fbd9,_0x27aa10));});}),_0x4193ab[_0x59033e(0x21c)](_0x59033e(0x210))[_0x59033e(0x206)](_0x346867=>{const _0x28c522=_0x59033e;_0x346867['on'](_0x28c522(0x1fa),(_0x2519e3,_0x529dfb,_0x20e622)=>{const _0x2d7bc6=_0x28c522;if(!_0x20e622[_0x2d7bc6(0x219)][_0x2d7bc6(0x22f)](_0x529dfb[_0x2d7bc6(0x207)],_0x2519e3[_0x2d7bc6(0x240)]))return;const _0x307e5f=M(_0x529dfb[_0x2d7bc6(0x207)],_0x20e622[_0x2d7bc6(0x1e8)]),{attributeNewValue:_0x3f96f0}=_0x529dfb;null==_0x3f96f0||0x1===_0x3f96f0?_0x20e622[_0x2d7bc6(0x1f2)][_0x2d7bc6(0x1f3)](_0x2d7bc6(0x22a),_0x307e5f):_0x20e622[_0x2d7bc6(0x1f2)][_0x2d7bc6(0x24b)](_0x2d7bc6(0x22a),String(_0x3f96f0),_0x307e5f);}),_0x346867['on'](_0x28c522(0x1e7),(_0x518085,_0x2a4f71,_0x1507a9)=>{const _0x3750ca=_0x28c522;if(!_0x1507a9[_0x3750ca(0x219)][_0x3750ca(0x22f)](_0x2a4f71[_0x3750ca(0x207)],_0x518085[_0x3750ca(0x240)]))return;const _0x609b16=M(_0x2a4f71[_0x3750ca(0x207)],_0x1507a9[_0x3750ca(0x1e8)]),{attributeNewValue:_0x143679}=_0x2a4f71;_0x143679&&_0x3750ca(0x1ef)!==_0x143679?_0x1507a9[_0x3750ca(0x1f2)][_0x3750ca(0x232)](_0x3750ca(0x214),_0x143679,_0x609b16):_0x1507a9[_0x3750ca(0x1f2)][_0x3750ca(0x1fd)](_0x3750ca(0x214),_0x609b16);});});}[_0x426f14(0x239)](){const _0x3e6655=_0x426f14,{editor:_0x260f28}=this,{model:_0x4ea11c}=_0x260f28,_0xef1906=_0x260f28[_0x3e6655(0x20f)][_0x3e6655(0x23c)](_0x2a6866),_0x561a8b=this[_0x3e6655(0x21b)](),_0x250b58=this[_0x3e6655(0x233)]();_0x4ea11c[_0x3e6655(0x1f5)][_0x3e6655(0x247)](_0x3cc52a=>{const _0x3039fb=_0x3e6655,_0x23a1e5=_0x4ea11c[_0x3039fb(0x1f5)][_0x3039fb(0x1f0)][_0x3039fb(0x249)]();let _0x27d1b5=!0x1;for(const _0x55e1cb of _0x23a1e5){if(_0x3039fb(0x246)!==_0x55e1cb[_0x3039fb(0x1ee)]||_0x3039fb(0x218)===_0x55e1cb[_0x3039fb(0x240)])continue;const _0x37b3e7=_0x4ea11c[_0x3039fb(0x211)](_0x55e1cb[_0x3039fb(0x244)][_0x3039fb(0x23b)]);for(const _0x27d048 of _0x37b3e7[_0x3039fb(0x201)]())_0x27d048['is'](_0x3039fb(0x21e),_0x3039fb(0x1ff))&&(!_0x27d048[_0x3039fb(0x20d)](_0x3039fb(0x21f))&&_0x4ea11c[_0x3039fb(0x229)][_0x3039fb(0x231)](_0x27d048,_0x3039fb(0x21f))&&(_0x3cc52a[_0x3039fb(0x24b)](_0x3039fb(0x21f),_0x250b58,_0x27d048),_0x27d1b5=!0x0),!_0x27d048[_0x3039fb(0x20d)](_0x3039fb(0x23d))&&_0x4ea11c[_0x3039fb(0x229)][_0x3039fb(0x231)](_0x27d048,_0x3039fb(0x23d))&&(_0x3cc52a[_0x3039fb(0x24b)](_0x3039fb(0x23d),_0x561a8b,_0x27d048),_0x27d1b5=!0x0));}return _0x27d1b5&&_0xef1906[_0x3039fb(0x21a)](_0x3cc52a),_0x27d1b5;});}[_0x426f14(0x1f9)](){const _0x4fd349=_0x426f14,{editor:_0x193c3d}=this;_0x193c3d[_0x4fd349(0x20f)][_0x4fd349(0x23c)](_0x2a6866)[_0x4fd349(0x213)](_0x383ad2=>this[_0x4fd349(0x20c)](_0x383ad2));}[_0x426f14(0x21b)](){const _0x1a957f=_0x426f14;return this[_0x1a957f(0x1ed)][_0x1a957f(0x1f8)][_0x1a957f(0x23c)](_0x1a957f(0x230));}[_0x426f14(0x233)](){const _0xbc819f=_0x426f14;return this[_0xbc819f(0x1ed)][_0xbc819f(0x1f8)][_0xbc819f(0x23c)](_0xbc819f(0x221));}[_0x426f14(0x20c)]({container:_0x5d4363,value:_0x462481,digits:_0x543834}){const _0x571701=_0x426f14,_0x29111e=_0x5d4363[_0x571701(0x212)](_0x571701(0x23d)),_0x185888=_0x5d4363[_0x571701(0x212)](_0x571701(0x21f)),_0x2f7885=Math[_0x571701(0x1f7)](_0x462481)+(_0x185888??0x1)-0x1;switch(_0x29111e){case _0x571701(0x22e):return function(_0x14c4bb,_0x42f801){const _0x270808=_0x571701;return String(_0x14c4bb)[_0x270808(0x20b)](_0x42f801,'0');}(_0x2f7885,Math[_0x571701(0x223)](0x2,_0x543834));case _0x571701(0x227):case _0x571701(0x22b):return N(_0x2f7885,!0x1);case _0x571701(0x1eb):case _0x571701(0x222):return N(_0x2f7885,!0x0);case _0x571701(0x23a):return X(_0x2f7885,!0x1);case _0x571701(0x1f6):return X(_0x2f7885,!0x0);default:return String(_0x2f7885);}}}function M(_0x4b29fa,_0x3acbaa){const _0x362fd6=_0x426f14,_0x673e10=_0x3acbaa[_0x362fd6(0x224)](_0x4b29fa);return Array[_0x362fd6(0x1fe)](_0x673e10[_0x362fd6(0x248)]())[_0x362fd6(0x20a)](_0x255b32=>_0x255b32['is'](_0x362fd6(0x21e),'ol')&&_0x255b32[_0x362fd6(0x204)](_0x362fd6(0x1e5)));}function N(_0x1fe155,_0x4462c0){const _0x363729=_0x426f14;let _0x47644f='',_0x455f8a=_0x1fe155;for(;_0x455f8a>0x0;){const _0x3ce5ac=(_0x455f8a-0x1)%0x1a;_0x47644f=String[_0x363729(0x242)](0x61+_0x3ce5ac)+_0x47644f,_0x455f8a=Math[_0x363729(0x1f7)]((_0x455f8a-0x1)/0x1a);}return _0x4462c0?_0x47644f[_0x363729(0x1f1)]():_0x47644f;}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(_0x2f2f98,_0x49f8c3){const _0x5af4a6=_0x426f14;let _0x28f88f='',_0x27ecdc=_0x2f2f98;for(const {value:_0x172c1a,numeral:_0x3de228}of V)for(;_0x27ecdc>=_0x172c1a;)_0x28f88f+=_0x3de228,_0x27ecdc-=_0x172c1a;return _0x49f8c3?_0x28f88f:_0x28f88f[_0x5af4a6(0x1ea)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x7612a6,ButtonView as _0x15eaf9,ContextualBalloon as _0xe783b6,createDropdown as _0x448e83}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0xf736fb}from'ckeditor5/src/widget.js';import{Plugin as _0x17c0f4}from'ckeditor5/src/core.js';import{IconFootnote as _0xf24cb8,IconListStyleDecimal as _0x1b0825,IconListStyleDecimalLeadingZero as _0x1e0d9d,IconListStyleLowerLatin as _0x11625a,IconListStyleLowerRoman as _0x2a8520,IconListStyleUpperLatin as _0x8e075f,IconListStyleUpperRoman as _0x3e02be}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x348099}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1fb304}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x17c0f4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe783b6,_0xf736fb];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x85e703}=this,{componentFactory:_0x88713f}=_0x85e703['ui'];_0x85e703['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x88713f['add']('footnotesStyle',function(_0xdd9b6a){return _0x2354a5=>{const {t:t}=_0x2354a5,_0x4f0a42=_0xdd9b6a['commands']['get']('footnotesStyle'),_0x3fadcb=_0x448e83(_0x2354a5),{buttonView:_0x1c126b}=_0x3fadcb;return _0x3fadcb['class']='ck-footnotes-styles-dropdown',_0x3fadcb['bind']('isEnabled')['to'](_0x4f0a42,'isEnabled'),_0x1c126b['set']({'label':t('Footnotes\x20style'),'icon':_0xf24cb8,'tooltip':!0x0}),_0x3fadcb['once']('change:isOpen',()=>{const _0x21a757=function({editor:_0x20ac2a,dropdownView:_0x3bcae5}){const {t:t}=_0x20ac2a['locale'],_0x12432e=t('Footnotes\x20definitions\x20styles'),_0x47c347=function(_0x1064a8){const t=_0x1064a8['locale']['t'],_0x54936a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1b0825},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1e0d9d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2a8520},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3e02be},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x11625a},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x8e075f}];return _0x54936a['map'](function(_0x383134){const _0x4c6a95=_0x383134['locale'];return({label:_0x4e59ea,icon:_0x1469f0,tooltip:_0x1f4efd,style:_0x2b34eb})=>{const _0x529faf=_0x383134['commands']['get']('footnotesStyle'),_0x5c9b85=new _0x15eaf9(_0x4c6a95);return _0x5c9b85['set']({'label':_0x4e59ea,'icon':_0x1469f0,'tooltip':_0x1f4efd}),_0x5c9b85['bind']('isOn')['to'](_0x529faf,'value',_0x32887a=>_0x32887a===_0x2b34eb),_0x5c9b85['bind']('isEnabled')['to'](_0x529faf,'isEnabled'),_0x5c9b85['on']('execute',()=>{_0x383134['execute']('footnotesStyle',{'value':_0x2b34eb}),_0x383134['editing']['view']['focus']();}),_0x5c9b85;};}(_0x1064a8));}(_0x20ac2a),_0x3966aa=new _0x348099(_0x20ac2a['locale'],{'styleGridAriaLabel':_0x12432e,'styleButtonViews':_0x47c347}),_0x458816=_0x20ac2a['commands']['get']('footnotesStart');return _0x3966aa['startIndexFieldView']['bind']('isEnabled')['to'](_0x458816),_0x3966aa['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x458816),_0x3966aa['on']('footnotesListStart',(_0x3dbb52,_0x3cc615)=>{_0x20ac2a['execute']('footnotesStart',{'value':_0x3cc615['startIndex']});}),_0x3966aa['delegate']('execute')['to'](_0x3bcae5),_0x3966aa;}({'editor':_0xdd9b6a,'dropdownView':_0x3fadcb});_0x3fadcb['panelView']['children']['add'](_0x21a757);}),_0x3fadcb;};}(_0x85e703));}['afterInit'](){const {editor:_0x130938}=this,{t:t}=_0x130938['locale'],_0x5dd151=_0x130938['plugins']['get'](_0xf736fb),{defaultPositions:_0x54e2e7}=_0x7612a6;_0x5dd151['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x130938['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xa04892=>{let _0x570799=_0xa04892['getFirstPosition']()?.['parent'];return _0x570799?.['is']('$text')&&(_0x570799=_0x570799['parent']),_0x570799?.['is']('element')?_0x570799['findAncestor'](_0x1fb304):null;},'positions':[_0x54e2e7['southArrowNorth'],_0x54e2e7['southArrowNorthMiddleWest'],_0x54e2e7['southArrowNorthMiddleEast'],_0x54e2e7['southArrowNorthWest'],_0x54e2e7['southArrowNorthEast'],_0x54e2e7['northArrowSouth'],_0x54e2e7['northArrowSouthMiddleWest'],_0x54e2e7['northArrowSouthMiddleEast'],_0x54e2e7['northArrowSouthWest'],_0x54e2e7['northArrowSouthEast'],_0x54e2e7['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x2d1c0f,ButtonView as _0x8588d9,ContextualBalloon as _0xc64363,createDropdown as _0x59d33b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4f909b}from'ckeditor5/src/widget.js';import{Plugin as _0x12fa28}from'ckeditor5/src/core.js';import{IconFootnote as _0x3cf99b,IconListStyleDecimal as _0x2a4847,IconListStyleDecimalLeadingZero as _0x228388,IconListStyleLowerLatin as _0x7317ee,IconListStyleLowerRoman as _0x5c71f9,IconListStyleUpperLatin as _0x5c4978,IconListStyleUpperRoman as _0x21a831}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x19a6c4}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1e5f65}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x12fa28{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xc64363,_0x4f909b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x179aee}=this,{componentFactory:_0x3d7f15}=_0x179aee['ui'];_0x179aee['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3d7f15['add']('footnotesStyle',function(_0x1ea4fd){return _0x31ee2b=>{const {t:t}=_0x31ee2b,_0x53bf46=_0x1ea4fd['commands']['get']('footnotesStyle'),_0x280549=_0x59d33b(_0x31ee2b),{buttonView:_0x7b0422}=_0x280549;return _0x280549['class']='ck-footnotes-styles-dropdown',_0x280549['bind']('isEnabled')['to'](_0x53bf46,'isEnabled'),_0x7b0422['set']({'label':t('Footnotes\x20style'),'icon':_0x3cf99b,'tooltip':!0x0}),_0x280549['once']('change:isOpen',()=>{const _0x1aeb4a=function({editor:_0x3d7dcb,dropdownView:_0x487523}){const {t:t}=_0x3d7dcb['locale'],_0x19aec6=t('Footnotes\x20definitions\x20styles'),_0x57ddb8=function(_0x193948){const t=_0x193948['locale']['t'],_0x2ad39f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2a4847},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x228388},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5c71f9},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x21a831},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x7317ee},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x5c4978}];return _0x2ad39f['map'](function(_0x4956a3){const _0x3303e1=_0x4956a3['locale'];return({label:_0x3e0bae,icon:_0x3d5061,tooltip:_0x512d4a,style:_0x7cd6f2})=>{const _0x8f90a=_0x4956a3['commands']['get']('footnotesStyle'),_0xd24a22=new _0x8588d9(_0x3303e1);return _0xd24a22['set']({'label':_0x3e0bae,'icon':_0x3d5061,'tooltip':_0x512d4a}),_0xd24a22['bind']('isOn')['to'](_0x8f90a,'value',_0x4c676b=>_0x4c676b===_0x7cd6f2),_0xd24a22['bind']('isEnabled')['to'](_0x8f90a,'isEnabled'),_0xd24a22['on']('execute',()=>{_0x4956a3['execute']('footnotesStyle',{'value':_0x7cd6f2}),_0x4956a3['editing']['view']['focus']();}),_0xd24a22;};}(_0x193948));}(_0x3d7dcb),_0x3b5d49=new _0x19a6c4(_0x3d7dcb['locale'],{'styleGridAriaLabel':_0x19aec6,'styleButtonViews':_0x57ddb8}),_0x6ac112=_0x3d7dcb['commands']['get']('footnotesStart');return _0x3b5d49['startIndexFieldView']['bind']('isEnabled')['to'](_0x6ac112),_0x3b5d49['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x6ac112),_0x3b5d49['on']('footnotesListStart',(_0x31b6ef,_0x445d9b)=>{_0x3d7dcb['execute']('footnotesStart',{'value':_0x445d9b['startIndex']});}),_0x3b5d49['delegate']('execute')['to'](_0x487523),_0x3b5d49;}({'editor':_0x1ea4fd,'dropdownView':_0x280549});_0x280549['panelView']['children']['add'](_0x1aeb4a);}),_0x280549;};}(_0x179aee));}['afterInit'](){const {editor:_0x1bdbc1}=this,{t:t}=_0x1bdbc1['locale'],_0x4bdf40=_0x1bdbc1['plugins']['get'](_0x4f909b),{defaultPositions:_0x1d6d1e}=_0x2d1c0f;_0x4bdf40['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1bdbc1['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x29a028=>{let _0x24597d=_0x29a028['getFirstPosition']()?.['parent'];return _0x24597d?.['is']('$text')&&(_0x24597d=_0x24597d['parent']),_0x24597d?.['is']('element')?_0x24597d['findAncestor'](_0x1e5f65):null;},'positions':[_0x1d6d1e['southArrowNorth'],_0x1d6d1e['southArrowNorthMiddleWest'],_0x1d6d1e['southArrowNorthMiddleEast'],_0x1d6d1e['southArrowNorthWest'],_0x1d6d1e['southArrowNorthEast'],_0x1d6d1e['northArrowSouth'],_0x1d6d1e['northArrowSouthMiddleWest'],_0x1d6d1e['northArrowSouthMiddleEast'],_0x1d6d1e['northArrowSouthWest'],_0x1d6d1e['northArrowSouthEast'],_0x1d6d1e['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x556904,View as _0x4a63df,ViewCollection as _0x4d795c,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4a63df{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4d795c();['focusCycler'];constructor(_0x1f44c8,{styleButtonViews:_0x40bdc4,styleGridAriaLabel:_0x21e5dd}){super(_0x1f44c8),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x40bdc4,_0x21e5dd),[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 _0x577bc6 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x577bc6['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x9de964=_0xaa5086=>_0xaa5086['stopPropagation']();this['keystrokes']['set']('arrowright',_0x9de964),this['keystrokes']['set']('arrowleft',_0x9de964),this['keystrokes']['set']('arrowup',_0x9de964),this['keystrokes']['set']('arrowdown',_0x9de964);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5bc726,_0x4da156){const _0x54ded6=new _0x4a63df(this['locale']);return _0x54ded6['children']=_0x54ded6['createCollection'](),_0x54ded6['children']['addMany'](_0x5bc726),_0x54ded6['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4da156,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x54ded6['children']}),_0x54ded6['children']['delegate']('execute')['to'](this),_0x54ded6['focus']=function(){for(const _0x23123b of this['children'])if(_0x23123b instanceof _0x556904&&_0x23123b['isOn'])return void _0x23123b['focus']();this['children']['first']['focus']();},_0x54ded6['focusTracker']=new rt(),_0x54ded6['keystrokes']=new nt(),_0x54ded6['render'](),_0x54ded6['keystrokes']['listenTo'](_0x54ded6['element']),this['children']['add'](_0x54ded6),_0x54ded6;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x55d55d=this['_createStartIndexPropertyView'](),_0x10b1e7=[_0x55d55d],_0xcd0e29=new it(this['locale'],_0x10b1e7);return _0xcd0e29['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xcd0e29['buttonView']['bind']('isEnabled')['toMany'](_0x10b1e7,'isEnabled',(..._0x4417a4)=>_0x4417a4['some'](_0x34f4f4=>_0x34f4f4)),_0xcd0e29['buttonView']['on']('change:isEnabled',(_0x1061f2,_0x43cd38,_0x4c30ca)=>{_0x4c30ca||(_0xcd0e29['isCollapsed']=!0x0);}),this['children']['add'](_0xcd0e29),[_0x55d55d,_0xcd0e29];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xd8d175=new et(this['locale'],ot);return _0xd8d175['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xd8d175['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xd8d175['fieldView']['on']('input',()=>{const _0x13ec41=_0xd8d175['fieldView']['element'],_0x18101a=_0x13ec41['valueAsNumber'];Number['isNaN'](_0x18101a)?_0xd8d175['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x13ec41['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x18101a}):_0xd8d175['errorText']=t(_0x18101a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xd8d175;}}
23
+ import{ButtonView as _0x2fad1a,View as _0x4105de,ViewCollection as _0x587119,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4105de{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x587119();['focusCycler'];constructor(_0x2fba44,{styleButtonViews:_0x5116ee,styleGridAriaLabel:_0x380118}){super(_0x2fba44),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5116ee,_0x380118),[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 _0xf1e062 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xf1e062['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x56f8cc=_0x4d2e69=>_0x4d2e69['stopPropagation']();this['keystrokes']['set']('arrowright',_0x56f8cc),this['keystrokes']['set']('arrowleft',_0x56f8cc),this['keystrokes']['set']('arrowup',_0x56f8cc),this['keystrokes']['set']('arrowdown',_0x56f8cc);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4b73b3,_0x30d723){const _0x23dfda=new _0x4105de(this['locale']);return _0x23dfda['children']=_0x23dfda['createCollection'](),_0x23dfda['children']['addMany'](_0x4b73b3),_0x23dfda['setTemplate']({'tag':'div','attributes':{'aria-label':_0x30d723,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x23dfda['children']}),_0x23dfda['children']['delegate']('execute')['to'](this),_0x23dfda['focus']=function(){for(const _0x4e1709 of this['children'])if(_0x4e1709 instanceof _0x2fad1a&&_0x4e1709['isOn'])return void _0x4e1709['focus']();this['children']['first']['focus']();},_0x23dfda['focusTracker']=new rt(),_0x23dfda['keystrokes']=new nt(),_0x23dfda['render'](),_0x23dfda['keystrokes']['listenTo'](_0x23dfda['element']),this['children']['add'](_0x23dfda),_0x23dfda;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x54f573=this['_createStartIndexPropertyView'](),_0x4055f5=[_0x54f573],_0x1ddf1d=new it(this['locale'],_0x4055f5);return _0x1ddf1d['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1ddf1d['buttonView']['bind']('isEnabled')['toMany'](_0x4055f5,'isEnabled',(..._0x2e5f64)=>_0x2e5f64['some'](_0x33fddf=>_0x33fddf)),_0x1ddf1d['buttonView']['on']('change:isEnabled',(_0x223adf,_0x28ca52,_0xdced28)=>{_0xdced28||(_0x1ddf1d['isCollapsed']=!0x0);}),this['children']['add'](_0x1ddf1d),[_0x54f573,_0x1ddf1d];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5bab3f=new et(this['locale'],ot);return _0x5bab3f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5bab3f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5bab3f['fieldView']['on']('input',()=>{const _0x1496de=_0x5bab3f['fieldView']['element'],_0x49b153=_0x1496de['valueAsNumber'];Number['isNaN'](_0x49b153)?_0x5bab3f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1496de['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x49b153}):_0x5bab3f['errorText']=t(_0x49b153<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5bab3f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4673(){var _0x11ee46=['1284954JopcYp','1681835GYuSni','21717064sKulBd','4951492zsYgwj','1125786nYGAOv','requires','30468UZgWQo','360wLEzBw','FootnotesProperties','98070zLGRsA','pluginName','isPremiumPlugin','isOfficialPlugin'];_0x4673=function(){return _0x11ee46;};return _0x4673();}var _0x4c614a=_0x3cc7;(function(_0x7ca006,_0x4319ac){var _0xb6ffce=_0x3cc7,_0x48ef45=_0x7ca006();while(!![]){try{var _0x8e7252=parseInt(_0xb6ffce(0x1dc))/0x1+-parseInt(_0xb6ffce(0x1d8))/0x2+-parseInt(_0xb6ffce(0x1e2))/0x3*(-parseInt(_0xb6ffce(0x1d6))/0x4)+parseInt(_0xb6ffce(0x1dd))/0x5+parseInt(_0xb6ffce(0x1e0))/0x6+parseInt(_0xb6ffce(0x1df))/0x7+-parseInt(_0xb6ffce(0x1de))/0x8;if(_0x8e7252===_0x4319ac)break;else _0x48ef45['push'](_0x48ef45['shift']());}catch(_0x3ffe5e){_0x48ef45['push'](_0x48ef45['shift']());}}}(_0x4673,0xa2c38));import{Plugin as _0x233865}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x51c5b0}from'./footnotesproperties/footnotespropertiesediting.js';function _0x3cc7(_0x5bdf04,_0x54eb78){var _0x467300=_0x4673();return _0x3cc7=function(_0x3cc74b,_0x1ed651){_0x3cc74b=_0x3cc74b-0x1d6;var _0x5ebc0e=_0x467300[_0x3cc74b];return _0x5ebc0e;},_0x3cc7(_0x5bdf04,_0x54eb78);}import{FootnotesPropertiesUI as _0x52717d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x233865{static get[_0x4c614a(0x1d9)](){var _0xefdad=_0x4c614a;return _0xefdad(0x1d7);}static get[_0x4c614a(0x1e1)](){return[_0x51c5b0,_0x52717d];}static get[_0x4c614a(0x1db)](){return!0x0;}static get[_0x4c614a(0x1da)](){return!0x0;}}
23
+ var _0x41c426=_0x40cc;function _0x40cc(_0x2413aa,_0x2f21bf){var _0x210d53=_0x210d();return _0x40cc=function(_0x40ccdf,_0x1f578e){_0x40ccdf=_0x40ccdf-0xe8;var _0x1577ef=_0x210d53[_0x40ccdf];return _0x1577ef;},_0x40cc(_0x2413aa,_0x2f21bf);}(function(_0x5e4e9a,_0x4fefa2){var _0x2784f4=_0x40cc,_0xb086b5=_0x5e4e9a();while(!![]){try{var _0x3aa245=parseInt(_0x2784f4(0xf4))/0x1+parseInt(_0x2784f4(0xf3))/0x2*(-parseInt(_0x2784f4(0xee))/0x3)+-parseInt(_0x2784f4(0xeb))/0x4+parseInt(_0x2784f4(0xf2))/0x5+parseInt(_0x2784f4(0xec))/0x6*(parseInt(_0x2784f4(0xe9))/0x7)+parseInt(_0x2784f4(0xe8))/0x8+-parseInt(_0x2784f4(0xf1))/0x9;if(_0x3aa245===_0x4fefa2)break;else _0xb086b5['push'](_0xb086b5['shift']());}catch(_0xb148b2){_0xb086b5['push'](_0xb086b5['shift']());}}}(_0x210d,0xb504d));import{Plugin as _0x22a61a}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xfc00c3}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x1ddccd}from'./footnotesproperties/footnotespropertiesui.js';function _0x210d(){var _0x18fcd2=['isPremiumPlugin','3034431zLrPvE','2908445uSNflb','2VbauUP','302895tGeMhZ','FootnotesProperties','3666736LIBZIf','245238lkCMbN','pluginName','1051516cINxCG','168EEJMib','isOfficialPlugin','2947161zpBSgp','requires'];_0x210d=function(){return _0x18fcd2;};return _0x210d();}export class FootnotesProperties extends _0x22a61a{static get[_0x41c426(0xea)](){var _0x48ef79=_0x41c426;return _0x48ef79(0xf5);}static get[_0x41c426(0xef)](){return[_0xfc00c3,_0x1ddccd];}static get[_0x41c426(0xed)](){return!0x0;}static get[_0x41c426(0xf0)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5f26(_0x34add1,_0x3b047c){const _0x20956a=_0x2095();return _0x5f26=function(_0x5f2682,_0x313682){_0x5f2682=_0x5f2682-0x1f4;let _0x57fdd3=_0x20956a[_0x5f2682];return _0x57fdd3;},_0x5f26(_0x34add1,_0x3b047c);}const _0xfba318=_0x5f26;(function(_0x2da277,_0x1d04a9){const _0x374003=_0x5f26,_0x2823c8=_0x2da277();while(!![]){try{const _0x5b609d=parseInt(_0x374003(0x247))/0x1*(parseInt(_0x374003(0x23d))/0x2)+-parseInt(_0x374003(0x24c))/0x3+parseInt(_0x374003(0x246))/0x4*(parseInt(_0x374003(0x1fa))/0x5)+-parseInt(_0x374003(0x239))/0x6+-parseInt(_0x374003(0x219))/0x7+parseInt(_0x374003(0x237))/0x8*(parseInt(_0x374003(0x22d))/0x9)+-parseInt(_0x374003(0x241))/0xa*(parseInt(_0x374003(0x23e))/0xb);if(_0x5b609d===_0x1d04a9)break;else _0x2823c8['push'](_0x2823c8['shift']());}catch(_0x440779){_0x2823c8['push'](_0x2823c8['shift']());}}}(_0x2095,0x24004));function _0x2095(){const _0x1b5256=['_footnotes','splice','has','_sortFootnoteDefinitions','find','_handleRemoveFootnoteReferenceById','footnoteInlineContent','length','107562jdhTnG','_handleFootnoteReferencesChanges','_handleInsertedFootnoteReference','paragraph','before','insert','parent','_insertEmptyFootnotesDefinitionsContainer','config','_footnoteFormatter','singleton','footnoteCounter','reset','createElement','remove','unshift','map','findIndex','differ','reference','438579hEWbTq','_handleFootnoteDefinitionsChanges','_handleFootnotesDefinitionsObjectSync','pluginName','from','setFootnoteFormatter','isPremiumPlugin','isOfficialPlugin','setAttribute','definition','24NjsXlq','add','964128qesSHD','_updateFootnoteRefCounter','registerPostFixer','createRangeOn','2jefDUS','11IseDYa','init','childCount','1167830XwvQba','getChanges','change:data','createPositionBefore','_footnotesDefinitions','4bKGPFl','190298UqmegS','getFootnotesDefinitionsObjectElement','get','root','footnoteId','120969gXqMpS','indexOf','footnotes.multiBlock','high','getFootnote','_handleMovedFootnoteReference','getChildren','push','model','editor','document','rootName','enqueueChange','_footnoteDefsTracker','_ensureFootnotesDefinitionsContainerExists','min','createRangeIn','low','move','append','720645pBpZMf','footnoteRef','getAttribute','_footnoteRefsTracker','FootnotesTracker','$graveyard','getFootnotes','_footnoteDefsContainerTracker','some','set','compareWith','after','listenTo','_handleFootnotesDefinitionsObjectChanges','end','getFootnotesFormatter','footnotesDefinitions','getRootNames','_ensureFootnotesReferencesHaveProperOrder','isEqual','footnoteDefinition','createPositionAt','_updateFootnotesCounters'];_0x2095=function(){return _0x1b5256;};return _0x2095();}import{Plugin as _0x2c9810}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5acfad}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2c9810{[_0xfba318(0x211)]=[];[_0xfba318(0x245)]=null;[_0xfba318(0x222)]=null;[_0xfba318(0x201)];[_0xfba318(0x1fd)];[_0xfba318(0x259)];static get[_0xfba318(0x230)](){const _0xaa6135=_0xfba318;return _0xaa6135(0x1fe);}static get[_0xfba318(0x234)](){return!0x0;}static get[_0xfba318(0x233)](){return!0x0;}constructor(_0x424dfa){const _0x12b13f=_0xfba318;super(_0x424dfa),this[_0x12b13f(0x201)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x20a),'getElementKey':()=>_0x12b13f(0x223)}),this[_0x12b13f(0x1fd)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x1fb),'getElementKey':_0x361e56=>_0x361e56[_0x12b13f(0x1fc)](_0x12b13f(0x24b))}),this[_0x12b13f(0x259)]=new _0x5acfad(this[_0x12b13f(0x255)][_0x12b13f(0x254)],{'elementName':_0x12b13f(0x20e),'getElementKey':_0x90989b=>_0x90989b[_0x12b13f(0x1fc)](_0x12b13f(0x24b))});}[_0xfba318(0x23f)](){const _0x20995a=_0xfba318,{editor:_0x1c0a0d}=this,{model:_0x5f50bc,data:_0x2c1168}=_0x1c0a0d;_0x5f50bc[_0x20995a(0x256)][_0x20995a(0x23b)](_0x395ca2=>{const _0x2cbce5=_0x20995a,_0xe9a70b=_0x5f50bc[_0x2cbce5(0x256)][_0x2cbce5(0x22b)][_0x2cbce5(0x242)]();let _0x44c55f=!0x1;return this[_0x2cbce5(0x207)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x22e)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x21a)](_0x395ca2,_0xe9a70b)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x20c)](_0x395ca2)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x22f)](_0x395ca2)&&(_0x44c55f=!0x0),this[_0x2cbce5(0x214)](_0x395ca2)&&(_0x44c55f=!0x0),_0x44c55f;}),this[_0x20995a(0x206)](_0x5f50bc[_0x20995a(0x256)],_0x20995a(0x243),()=>{const _0x2d15ef=_0x20995a;_0x5f50bc[_0x2d15ef(0x258)]({'isUndoable':!0x1},_0x5807b7=>{const _0x581a3b=_0x2d15ef;this[_0x581a3b(0x1f4)](_0x5807b7);});},{'priority':_0x20995a(0x1f7)}),this[_0x20995a(0x206)](_0x2c1168,_0x20995a(0x203),()=>{const _0x3d6f66=_0x20995a;this[_0x3d6f66(0x211)]=[],this[_0x3d6f66(0x201)][_0x3d6f66(0x225)](),this[_0x3d6f66(0x1fd)][_0x3d6f66(0x225)](),this[_0x3d6f66(0x259)][_0x3d6f66(0x225)]();},{'priority':_0x20995a(0x24f)});}[_0xfba318(0x248)](){const _0x4adc60=_0xfba318;return this[_0x4adc60(0x245)];}[_0xfba318(0x250)](_0x1d6de9){const _0x54c132=_0xfba318;return this[_0x54c132(0x211)][_0x54c132(0x215)](_0x242a2e=>_0x242a2e['id']===_0x1d6de9)||null;}[_0xfba318(0x200)](){const _0x2179e4=_0xfba318;return Array[_0x2179e4(0x231)](this[_0x2179e4(0x211)]);}[_0xfba318(0x209)](){const _0x2ddb9d=_0xfba318;return this[_0x2ddb9d(0x222)];}[_0xfba318(0x232)](_0x193d65){const _0x471120=_0xfba318;this[_0x471120(0x222)]=_0x193d65;}[_0xfba318(0x210)](_0x13bbaa,_0x35093f=0x0){const _0xb920ab=_0xfba318;let _0x5b456f=!0x1;for(let _0x11ba93=_0x35093f;_0x11ba93<this[_0xb920ab(0x211)][_0xb920ab(0x218)];_0x11ba93++)this[_0xb920ab(0x23a)](_0x13bbaa,_0x11ba93)&&(_0x5b456f=!0x0);return _0x5b456f;}[_0xfba318(0x220)](_0x477949,_0x36e936){const _0x18f2df=_0xfba318,_0x32e742=_0x477949[_0x18f2df(0x226)](_0x18f2df(0x20a),{});return _0x477949[_0x18f2df(0x1f9)](_0x32e742,_0x36e936),this[_0x18f2df(0x245)]=_0x32e742,_0x32e742;}[_0xfba318(0x1f4)](_0x135244){const _0x223b85=_0xfba318;if(!this[_0x223b85(0x211)][_0x223b85(0x218)]||this[_0x223b85(0x245)])return;const _0x53784d=this[_0x223b85(0x211)][0x0][_0x223b85(0x22c)][_0x223b85(0x24a)],_0x2bbfad=this[_0x223b85(0x220)](_0x135244,_0x53784d);for(const _0x13ff71 of this[_0x223b85(0x211)])_0x13ff71[_0x223b85(0x236)][_0x223b85(0x21f)]||_0x135244[_0x223b85(0x21e)](_0x13ff71[_0x223b85(0x236)],_0x2bbfad,_0x223b85(0x208));this[_0x223b85(0x210)](_0x135244);}[_0xfba318(0x207)](_0x1d6840,_0x3944c9){const _0x196116=_0xfba318;let _0x4c9b3c=!0x1;const {inserted:_0x956532,removed:_0x482b85,moved:_0x2fb99c}=this[_0x196116(0x201)][_0x196116(0x242)](_0x3944c9);if(_0x2fb99c[_0x196116(0x218)]&&(this[_0x196116(0x245)]=_0x2fb99c[0x0]),_0x956532[_0x196116(0x218)]){if(_0x956532[_0x196116(0x218)]>0x1||this[_0x196116(0x245)]&&_0x956532[_0x196116(0x202)](_0x462ee1=>_0x462ee1!==this[_0x196116(0x245)])){const _0x2d02e3=_0x1d6840[_0x196116(0x226)](_0x196116(0x20a),{}),_0x33ef3f=[];this[_0x196116(0x245)]&&_0x33ef3f[_0x196116(0x253)](this[_0x196116(0x245)]),_0x33ef3f[_0x196116(0x253)](..._0x956532),_0x1d6840[_0x196116(0x21e)](_0x2d02e3,_0x33ef3f[0x0],_0x196116(0x21d));for(const _0x20173b of _0x33ef3f)_0x1d6840[_0x196116(0x1f8)](_0x1d6840[_0x196116(0x1f6)](_0x20173b),_0x1d6840[_0x196116(0x20f)](_0x2d02e3,_0x196116(0x208))),_0x1d6840[_0x196116(0x227)](_0x20173b);this[_0x196116(0x245)]=_0x2d02e3,this[_0x196116(0x210)](_0x1d6840),_0x4c9b3c=!0x0;}else this[_0x196116(0x245)]=_0x956532[0x0];}if(_0x482b85[_0x196116(0x218)]&&_0x196116(0x1ff)===this[_0x196116(0x245)]?.[_0x196116(0x24a)][_0x196116(0x257)]){for(const _0x4807ea of this[_0x196116(0x211)])_0x1d6840[_0x196116(0x227)](_0x4807ea[_0x196116(0x22c)]),_0x4c9b3c=!0x0;this[_0x196116(0x211)]=[],this[_0x196116(0x245)]=null;}return _0x4c9b3c;}[_0xfba318(0x22e)](_0x261e81,_0x1fbd49){const _0x47437c=_0xfba318;let _0x18301d=!0x1;const _0x3c1999=this[_0x47437c(0x255)][_0x47437c(0x221)][_0x47437c(0x249)](_0x47437c(0x24e)),{inserted:_0xd9b922,moved:_0x11dab6}=this[_0x47437c(0x259)][_0x47437c(0x242)](_0x1fbd49);for(const _0x14f693 of[..._0x11dab6,..._0xd9b922]){const _0x1f850a=_0x14f693[_0x47437c(0x1fc)](_0x47437c(0x24b)),_0x1b2dc3=this[_0x47437c(0x250)](_0x1f850a);_0x1b2dc3&&(_0x1b2dc3[_0x47437c(0x236)]=_0x14f693),_(_0x261e81,_0x3c1999,_0x14f693)&&(_0x18301d=!0x0);}return _0x18301d;}[_0xfba318(0x21a)](_0x13194c,_0x3f28ea){const _0x4d83d9=_0xfba318;let _0x1f6e6c=!0x1;const {removed:_0x626940,inserted:_0x46c720,moved:_0x577640}=this[_0x4d83d9(0x1fd)][_0x4d83d9(0x242)](_0x3f28ea);for(const _0x3eace6 of _0x626940)this[_0x4d83d9(0x216)](_0x13194c,_0x3eace6)&&(_0x1f6e6c=!0x0);for(const _0xf9ef3a of _0x46c720)this[_0x4d83d9(0x21b)](_0x13194c,_0xf9ef3a)&&(_0x1f6e6c=!0x0);for(const _0x571904 of _0x577640)this[_0x4d83d9(0x251)](_0x13194c,_0x571904)&&(_0x1f6e6c=!0x0);return _0x1f6e6c;}[_0xfba318(0x22f)](_0xf6b48c){const _0x102ac0=_0xfba318;if(!this[_0x102ac0(0x245)])return!0x1;let _0x4ea281=!0x1;if(this[_0x102ac0(0x245)][_0x102ac0(0x240)]!==this[_0x102ac0(0x211)][_0x102ac0(0x218)]){const _0x4d454c=[];for(const _0x25a1cb of this[_0x102ac0(0x245)][_0x102ac0(0x252)]()){const _0x5db0db=_0x25a1cb[_0x102ac0(0x1fc)](_0x102ac0(0x24b));this[_0x102ac0(0x250)](_0x5db0db)||(_0x4d454c[_0x102ac0(0x228)](_0x25a1cb),_0x4ea281=!0x0);}for(const _0x5872ac of _0x4d454c)_0xf6b48c[_0x102ac0(0x227)](_0x5872ac);}const _0x49f37d=new Set(),_0x1bc2c7=[];for(const _0x109176 of this[_0x102ac0(0x245)][_0x102ac0(0x252)]()){const _0x1a60f1=_0x109176[_0x102ac0(0x1fc)](_0x102ac0(0x24b));_0x49f37d[_0x102ac0(0x213)](_0x1a60f1)?(_0x1bc2c7[_0x102ac0(0x228)](_0x109176),_0x4ea281=!0x0):_0x49f37d[_0x102ac0(0x238)](_0x1a60f1);}for(const _0x1215b2 of _0x1bc2c7)_0xf6b48c[_0x102ac0(0x227)](_0x1215b2);return this[_0x102ac0(0x245)][_0x102ac0(0x240)]||(_0xf6b48c[_0x102ac0(0x227)](this[_0x102ac0(0x245)]),this[_0x102ac0(0x245)]=null,_0x4ea281=!0x0),_0x4ea281;}[_0xfba318(0x21b)](_0x3b35ee,_0x57bb64){const _0x24c383=_0xfba318;if(this[_0x24c383(0x211)][_0x24c383(0x215)](_0x57ceb1=>_0x57ceb1[_0x24c383(0x22c)]===_0x57bb64))return!0x1;let _0x4eb6fd=!0x1;const _0xf25e8f=_0x57bb64[_0x24c383(0x1fc)](_0x24c383(0x24b)),_0x430da3=this[_0x24c383(0x211)][_0x24c383(0x22a)](_0x4e3d14=>_0x4e3d14['id']===_0xf25e8f);-0x1!==_0x430da3&&(_0x3b35ee[_0x24c383(0x227)](this[_0x24c383(0x211)][_0x430da3][_0x24c383(0x22c)]),this[_0x24c383(0x211)][_0x24c383(0x212)](_0x430da3,0x1),_0x4eb6fd=!0x0);let _0xc961fe=this[_0x24c383(0x245)]?function(_0x3054c5,_0x387690){const _0x29547f=_0x24c383;for(const _0x10e1e0 of _0x3054c5[_0x29547f(0x252)]())if(_0x10e1e0[_0x29547f(0x1fc)](_0x29547f(0x24b))===_0x387690)return _0x10e1e0;return null;}(this[_0x24c383(0x245)],_0xf25e8f):null;_0xc961fe||(_0xc961fe=_0x3b35ee[_0x24c383(0x226)](_0x24c383(0x20e),{'footnoteId':_0xf25e8f}),this[_0x24c383(0x245)]&&(_0x3b35ee[_0x24c383(0x21e)](_0xc961fe,this[_0x24c383(0x245)],_0x24c383(0x208)),_0x4eb6fd=!0x0));const _0x52166f={'id':_0xf25e8f,'reference':_0x57bb64,'definition':_0xc961fe},_0xc6870c=I(this[_0x24c383(0x255)][_0x24c383(0x254)],this[_0x24c383(0x211)],_0x57bb64);this[_0x24c383(0x211)][_0x24c383(0x212)](_0xc6870c,0x0,_0x52166f);let _0x4d3d60=_0xc6870c;return-0x1!==_0x430da3&&(_0x4d3d60=Math[_0x24c383(0x1f5)](_0xc6870c,_0x430da3)),this[_0x24c383(0x210)](_0x3b35ee,_0x4d3d60)&&(_0x4eb6fd=!0x0),_0x4eb6fd;}[_0xfba318(0x216)](_0x434239,_0x39f72c){const _0x2ebf4e=_0xfba318,_0x4ca831=this[_0x2ebf4e(0x211)][_0x2ebf4e(0x22a)](_0x124777=>_0x124777['id']===_0x39f72c);if(-0x1===_0x4ca831)return!0x1;let _0x1fb254=!0x1;const _0x423aee=this[_0x2ebf4e(0x211)][_0x4ca831];return _0x2ebf4e(0x1ff)!==_0x423aee[_0x2ebf4e(0x236)][_0x2ebf4e(0x24a)][_0x2ebf4e(0x257)]&&(_0x434239[_0x2ebf4e(0x227)](_0x423aee[_0x2ebf4e(0x236)]),_0x1fb254=!0x0),this[_0x2ebf4e(0x211)][_0x2ebf4e(0x212)](_0x4ca831,0x1),this[_0x2ebf4e(0x210)](_0x434239,_0x4ca831)&&(_0x1fb254=!0x0),_0x1fb254;}[_0xfba318(0x251)](_0x376206,_0xd49390){const _0xeb3599=_0xfba318,_0x5cbccc=_0xd49390[_0xeb3599(0x1fc)](_0xeb3599(0x24b)),_0x12364c=this[_0xeb3599(0x211)][_0xeb3599(0x22a)](_0x1320de=>_0x1320de['id']===_0x5cbccc),_0xf6c424=this[_0xeb3599(0x211)][_0x12364c];let _0x49e4ee=!0x1;_0xf6c424[_0xeb3599(0x22c)]=_0xd49390,this[_0xeb3599(0x211)][_0xeb3599(0x212)](_0x12364c,0x1);const _0x2a884e=I(this[_0xeb3599(0x255)][_0xeb3599(0x254)],this[_0xeb3599(0x211)],_0xd49390);return this[_0xeb3599(0x211)][_0xeb3599(0x212)](_0x2a884e,0x0,_0xf6c424),this[_0xeb3599(0x210)](_0x376206,Math[_0xeb3599(0x1f5)](_0x12364c,_0x2a884e))&&(_0x49e4ee=!0x0),_0x49e4ee;}[_0xfba318(0x23a)](_0x286e0a,_0xca7bf3){const _0xcba71=_0xfba318;if(!this[_0xcba71(0x245)])return!0x1;const _0x148aa3=this[_0xcba71(0x211)][_0xca7bf3];let _0x22506f;return _0x22506f=this[_0xcba71(0x222)]?this[_0xcba71(0x222)]({'footnote':_0x148aa3,'container':this[_0xcba71(0x245)],'digits':String(this[_0xcba71(0x211)][_0xcba71(0x218)])[_0xcba71(0x218)],'value':_0xca7bf3+0x1}):String(_0xca7bf3+0x1),_0x148aa3[_0xcba71(0x22c)][_0xcba71(0x1fc)](_0xcba71(0x224))!=_0x22506f&&(_0x286e0a[_0xcba71(0x235)](_0xcba71(0x224),_0x22506f,_0x148aa3[_0xcba71(0x22c)]),!0x0);}[_0xfba318(0x214)](_0x130371){const _0x2912d8=_0xfba318;if(!this[_0x2912d8(0x245)]||this[_0x2912d8(0x211)][_0x2912d8(0x218)]<0x2)return!0x1;if(function(_0x4e404b,_0x3120cb){const _0x194360=_0x2912d8;if(_0x4e404b[_0x194360(0x218)]!==_0x3120cb[_0x194360(0x218)])return!0x1;for(let _0x7afaee=0x0;_0x7afaee<_0x4e404b[_0x194360(0x218)];_0x7afaee++)if(_0x4e404b[_0x7afaee]!==_0x3120cb[_0x7afaee])return!0x1;return!0x0;}(this[_0x2912d8(0x211)][_0x2912d8(0x229)](_0x3c7892=>_0x3c7892['id']),Array[_0x2912d8(0x231)](this[_0x2912d8(0x245)][_0x2912d8(0x252)]())[_0x2912d8(0x229)](_0x338451=>_0x338451[_0x2912d8(0x1fc)](_0x2912d8(0x24b)))))return!0x1;let _0x183902=!0x1;for(let _0x234013=0x0;_0x234013<this[_0x2912d8(0x211)][_0x2912d8(0x218)];_0x234013++){const _0x9c9544=this[_0x2912d8(0x211)][_0x234013],_0x235f4e=_0x130371[_0x2912d8(0x244)](_0x9c9544[_0x2912d8(0x236)]),_0x163407=_0x130371[_0x2912d8(0x20f)](this[_0x2912d8(0x245)],_0x234013);_0x235f4e[_0x2912d8(0x20d)](_0x163407)||(_0x130371[_0x2912d8(0x1f8)](_0x130371[_0x2912d8(0x23c)](_0x9c9544[_0x2912d8(0x236)]),_0x163407),_0x183902=!0x0);}return _0x183902;}[_0xfba318(0x20c)](_0x3a0037){const _0x37ea69=_0xfba318;if(!this[_0x37ea69(0x211)][_0x37ea69(0x218)])return!0x1;const {model:_0x859e83}=this[_0x37ea69(0x255)];let _0x58f5ec=!0x1;for(let _0x3bab77=0x0;_0x3bab77<this[_0x37ea69(0x211)][_0x37ea69(0x218)]-0x1;_0x3bab77++){const _0x2ad6e9=this[_0x37ea69(0x211)][_0x3bab77],_0x36f620=this[_0x37ea69(0x211)][_0x3bab77+0x1],_0x2108ef=_0x859e83[_0x37ea69(0x244)](_0x2ad6e9[_0x37ea69(0x22c)]),_0x157f88=_0x859e83[_0x37ea69(0x244)](_0x36f620[_0x37ea69(0x22c)]);_0x37ea69(0x205)===_0x2108ef[_0x37ea69(0x204)](_0x157f88)&&(this[_0x37ea69(0x251)](_0x3a0037,_0x2ad6e9[_0x37ea69(0x22c)]),_0x3bab77=-0x1,_0x58f5ec=!0x0);}return _0x58f5ec;}}function _(_0x538115,_0x214aba,_0x2f0482){const _0x697fc3=_0xfba318;if(_0x2f0482[_0x697fc3(0x240)])return!0x1;const _0x24bc85=_0x214aba?_0x697fc3(0x21c):_0x697fc3(0x217);return _0x538115[_0x697fc3(0x21e)](_0x538115[_0x697fc3(0x226)](_0x24bc85),_0x2f0482),!0x0;}function I(_0x170f1e,_0x2ce294,_0x15ce18){const _0xf7b641=_0xfba318;if(0x0===_0x2ce294[_0xf7b641(0x218)])return 0x0;const _0x488014=_0x170f1e[_0xf7b641(0x244)](_0x15ce18);for(let _0x42cc39=0x0;_0x42cc39<_0x2ce294[_0xf7b641(0x218)];_0x42cc39++){const _0x5e8799=_0x2ce294[_0x42cc39],_0x5d7321=_0x170f1e[_0xf7b641(0x244)](_0x5e8799[_0xf7b641(0x22c)]);if(_0xf7b641(0x21d)===_0x488014[_0xf7b641(0x204)](_0x5d7321))return _0x42cc39;}const _0x3e31e6=_0x15ce18[_0xf7b641(0x24a)];let _0x222881=-0x1;for(let _0x496175=_0x2ce294[_0xf7b641(0x218)]-0x1;_0x496175>=0x0;_0x496175--)if(_0x2ce294[_0x496175][_0xf7b641(0x22c)][_0xf7b641(0x24a)]===_0x3e31e6){_0x222881=_0x496175;break;}if(-0x1!==_0x222881)return _0x222881+0x1;const _0x544e31=_0x170f1e[_0xf7b641(0x256)][_0xf7b641(0x20b)](),_0x4eefbf=_0x544e31[_0xf7b641(0x24d)](_0x3e31e6[_0xf7b641(0x257)]),_0x3f91ce=_0x544e31[_0x4eefbf+0x1];if(_0x3f91ce){for(let _0x5b0ac2=0x0;_0x5b0ac2<_0x2ce294[_0xf7b641(0x218)];_0x5b0ac2++)if(_0x2ce294[_0x5b0ac2][_0xf7b641(0x22c)][_0xf7b641(0x24a)][_0xf7b641(0x257)]===_0x3f91ce)return _0x5b0ac2;}return _0x2ce294[_0xf7b641(0x218)];}
23
+ const _0x45e806=_0x3ee4;(function(_0x10139c,_0x3d6602){const _0x5e5bfa=_0x3ee4,_0x2a8d26=_0x10139c();while(!![]){try{const _0x3167db=-parseInt(_0x5e5bfa(0x15e))/0x1+-parseInt(_0x5e5bfa(0x120))/0x2*(-parseInt(_0x5e5bfa(0x11a))/0x3)+-parseInt(_0x5e5bfa(0x12b))/0x4+-parseInt(_0x5e5bfa(0x151))/0x5*(-parseInt(_0x5e5bfa(0x165))/0x6)+-parseInt(_0x5e5bfa(0x122))/0x7+parseInt(_0x5e5bfa(0x133))/0x8*(-parseInt(_0x5e5bfa(0x152))/0x9)+parseInt(_0x5e5bfa(0x11b))/0xa*(parseInt(_0x5e5bfa(0x161))/0xb);if(_0x3167db===_0x3d6602)break;else _0x2a8d26['push'](_0x2a8d26['shift']());}catch(_0x10a746){_0x2a8d26['push'](_0x2a8d26['shift']());}}}(_0x1e74,0x2e0e4));import{Plugin as _0x59fec4}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2e6d69}from'./modelelementtracker.js';export class FootnotesTracker extends _0x59fec4{[_0x45e806(0x12d)]=[];[_0x45e806(0x147)]=null;[_0x45e806(0x13d)]=null;[_0x45e806(0x16e)];[_0x45e806(0x176)];[_0x45e806(0x17b)];static get[_0x45e806(0x15c)](){const _0x5d6601=_0x45e806;return _0x5d6601(0x15a);}static get[_0x45e806(0x14a)](){return!0x0;}static get[_0x45e806(0x132)](){return!0x0;}constructor(_0x2d9e68){const _0x15ffbb=_0x45e806;super(_0x2d9e68),this[_0x15ffbb(0x16e)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x143),'getElementKey':()=>_0x15ffbb(0x137)}),this[_0x15ffbb(0x176)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x16f),'getElementKey':_0x2bc43c=>_0x2bc43c[_0x15ffbb(0x131)](_0x15ffbb(0x13f))}),this[_0x15ffbb(0x17b)]=new _0x2e6d69(this[_0x15ffbb(0x14f)][_0x15ffbb(0x128)],{'elementName':_0x15ffbb(0x127),'getElementKey':_0x4b0aca=>_0x4b0aca[_0x15ffbb(0x131)](_0x15ffbb(0x13f))});}[_0x45e806(0x11d)](){const _0x5862d7=_0x45e806,{editor:_0x486dfb}=this,{model:_0x36e481,data:_0x130ce7}=_0x486dfb;_0x36e481[_0x5862d7(0x17c)][_0x5862d7(0x13a)](_0x136c77=>{const _0x4263ef=_0x5862d7,_0x3c2172=_0x36e481[_0x4263ef(0x17c)][_0x4263ef(0x14c)][_0x4263ef(0x175)]();let _0x18bf3c=!0x1;return this[_0x4263ef(0x166)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x12c)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x155)](_0x136c77,_0x3c2172)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x16b)](_0x136c77)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x135)](_0x136c77)&&(_0x18bf3c=!0x0),this[_0x4263ef(0x117)](_0x136c77)&&(_0x18bf3c=!0x0),_0x18bf3c;}),this[_0x5862d7(0x139)](_0x36e481[_0x5862d7(0x17c)],_0x5862d7(0x174),()=>{const _0x297c05=_0x5862d7;_0x36e481[_0x297c05(0x145)]({'isUndoable':!0x1},_0x1ba8b8=>{const _0x32c786=_0x297c05;this[_0x32c786(0x14d)](_0x1ba8b8);});},{'priority':_0x5862d7(0x138)}),this[_0x5862d7(0x139)](_0x130ce7,_0x5862d7(0x16c),()=>{const _0x20c59c=_0x5862d7;this[_0x20c59c(0x12d)]=[],this[_0x20c59c(0x16e)][_0x20c59c(0x164)](),this[_0x20c59c(0x176)][_0x20c59c(0x164)](),this[_0x20c59c(0x17b)][_0x20c59c(0x164)]();},{'priority':_0x5862d7(0x149)});}[_0x45e806(0x130)](){const _0x1b697a=_0x45e806;return this[_0x1b697a(0x147)];}[_0x45e806(0x14b)](_0x4418ad){const _0xe948c=_0x45e806;return this[_0xe948c(0x12d)][_0xe948c(0x172)](_0x372aea=>_0x372aea['id']===_0x4418ad)||null;}[_0x45e806(0x126)](){const _0x275e68=_0x45e806;return Array[_0x275e68(0x171)](this[_0x275e68(0x12d)]);}[_0x45e806(0x144)](){const _0x410018=_0x45e806;return this[_0x410018(0x13d)];}[_0x45e806(0x118)](_0x3254e5){const _0xffac01=_0x45e806;this[_0xffac01(0x13d)]=_0x3254e5;}[_0x45e806(0x162)](_0x9e36e,_0x17f043=0x0){const _0x4c8f28=_0x45e806;let _0x153704=!0x1;for(let _0x55c253=_0x17f043;_0x55c253<this[_0x4c8f28(0x12d)][_0x4c8f28(0x124)];_0x55c253++)this[_0x4c8f28(0x158)](_0x9e36e,_0x55c253)&&(_0x153704=!0x0);return _0x153704;}[_0x45e806(0x169)](_0x31a7f1,_0x5b3d69){const _0x94804=_0x45e806,_0x138b99=_0x31a7f1[_0x94804(0x163)](_0x94804(0x143),{});return _0x31a7f1[_0x94804(0x11f)](_0x138b99,_0x5b3d69),this[_0x94804(0x147)]=_0x138b99,_0x138b99;}[_0x45e806(0x14d)](_0x594e81){const _0xfc8e97=_0x45e806;if(!this[_0xfc8e97(0x12d)][_0xfc8e97(0x124)]||this[_0xfc8e97(0x147)])return;const _0x66378c=this[_0xfc8e97(0x12d)][0x0][_0xfc8e97(0x12a)][_0xfc8e97(0x16d)],_0x2e5021=this[_0xfc8e97(0x169)](_0x594e81,_0x66378c);for(const _0x495253 of this[_0xfc8e97(0x12d)])_0x495253[_0xfc8e97(0x170)][_0xfc8e97(0x11c)]||_0x594e81[_0xfc8e97(0x140)](_0x495253[_0xfc8e97(0x170)],_0x2e5021,_0xfc8e97(0x156));this[_0xfc8e97(0x162)](_0x594e81);}[_0x45e806(0x166)](_0x5b0ff4,_0x5d53cb){const _0x3c6123=_0x45e806;let _0x5a9887=!0x1;const {inserted:_0x460bb8,removed:_0x533aed,moved:_0xc9c32a}=this[_0x3c6123(0x16e)][_0x3c6123(0x175)](_0x5d53cb);if(_0xc9c32a[_0x3c6123(0x124)]&&(this[_0x3c6123(0x147)]=_0xc9c32a[0x0]),_0x460bb8[_0x3c6123(0x124)]){if(_0x460bb8[_0x3c6123(0x124)]>0x1||this[_0x3c6123(0x147)]&&_0x460bb8[_0x3c6123(0x12f)](_0x28614b=>_0x28614b!==this[_0x3c6123(0x147)])){const _0x31a198=_0x5b0ff4[_0x3c6123(0x163)](_0x3c6123(0x143),{}),_0x33e9d5=[];this[_0x3c6123(0x147)]&&_0x33e9d5[_0x3c6123(0x11e)](this[_0x3c6123(0x147)]),_0x33e9d5[_0x3c6123(0x11e)](..._0x460bb8),_0x5b0ff4[_0x3c6123(0x140)](_0x31a198,_0x33e9d5[0x0],_0x3c6123(0x157));for(const _0x1173e9 of _0x33e9d5)_0x5b0ff4[_0x3c6123(0x159)](_0x5b0ff4[_0x3c6123(0x167)](_0x1173e9),_0x5b0ff4[_0x3c6123(0x15b)](_0x31a198,_0x3c6123(0x156))),_0x5b0ff4[_0x3c6123(0x15f)](_0x1173e9);this[_0x3c6123(0x147)]=_0x31a198,this[_0x3c6123(0x162)](_0x5b0ff4),_0x5a9887=!0x0;}else this[_0x3c6123(0x147)]=_0x460bb8[0x0];}if(_0x533aed[_0x3c6123(0x124)]&&_0x3c6123(0x15d)===this[_0x3c6123(0x147)]?.[_0x3c6123(0x16d)][_0x3c6123(0x179)]){for(const _0x552018 of this[_0x3c6123(0x12d)])_0x5b0ff4[_0x3c6123(0x15f)](_0x552018[_0x3c6123(0x12a)]),_0x5a9887=!0x0;this[_0x3c6123(0x12d)]=[],this[_0x3c6123(0x147)]=null;}return _0x5a9887;}[_0x45e806(0x12c)](_0x2c6d54,_0x4516fe){const _0x211783=_0x45e806;let _0x22ebde=!0x1;const _0x3a1172=this[_0x211783(0x14f)][_0x211783(0x136)][_0x211783(0x148)](_0x211783(0x173)),{inserted:_0x146632,moved:_0x1ac0cf}=this[_0x211783(0x17b)][_0x211783(0x175)](_0x4516fe);for(const _0x267638 of[..._0x1ac0cf,..._0x146632]){const _0x577d09=_0x267638[_0x211783(0x131)](_0x211783(0x13f)),_0x4fbedb=this[_0x211783(0x14b)](_0x577d09);_0x4fbedb&&(_0x4fbedb[_0x211783(0x170)]=_0x267638),_(_0x2c6d54,_0x3a1172,_0x267638)&&(_0x22ebde=!0x0);}return _0x22ebde;}[_0x45e806(0x155)](_0x26d653,_0x14c804){const _0x1364eb=_0x45e806;let _0x2e6130=!0x1;const {removed:_0x4720c0,inserted:_0xeff366,moved:_0x39e379}=this[_0x1364eb(0x176)][_0x1364eb(0x175)](_0x14c804);for(const _0x5229fe of _0x4720c0)this[_0x1364eb(0x141)](_0x26d653,_0x5229fe)&&(_0x2e6130=!0x0);for(const _0x3dad00 of _0xeff366)this[_0x1364eb(0x16a)](_0x26d653,_0x3dad00)&&(_0x2e6130=!0x0);for(const _0x1a092e of _0x39e379)this[_0x1364eb(0x134)](_0x26d653,_0x1a092e)&&(_0x2e6130=!0x0);return _0x2e6130;}[_0x45e806(0x135)](_0xd8d95a){const _0x230c92=_0x45e806;if(!this[_0x230c92(0x147)])return!0x1;let _0x26669c=!0x1;if(this[_0x230c92(0x147)][_0x230c92(0x14e)]!==this[_0x230c92(0x12d)][_0x230c92(0x124)]){const _0x29bd6d=[];for(const _0x56c195 of this[_0x230c92(0x147)][_0x230c92(0x160)]()){const _0x49c94d=_0x56c195[_0x230c92(0x131)](_0x230c92(0x13f));this[_0x230c92(0x14b)](_0x49c94d)||(_0x29bd6d[_0x230c92(0x123)](_0x56c195),_0x26669c=!0x0);}for(const _0x41f4d6 of _0x29bd6d)_0xd8d95a[_0x230c92(0x15f)](_0x41f4d6);}const _0x576b87=new Set(),_0x26471c=[];for(const _0xb8d8ea of this[_0x230c92(0x147)][_0x230c92(0x160)]()){const _0x487d07=_0xb8d8ea[_0x230c92(0x131)](_0x230c92(0x13f));_0x576b87[_0x230c92(0x121)](_0x487d07)?(_0x26471c[_0x230c92(0x123)](_0xb8d8ea),_0x26669c=!0x0):_0x576b87[_0x230c92(0x17a)](_0x487d07);}for(const _0x4b5f53 of _0x26471c)_0xd8d95a[_0x230c92(0x15f)](_0x4b5f53);return this[_0x230c92(0x147)][_0x230c92(0x14e)]||(_0xd8d95a[_0x230c92(0x15f)](this[_0x230c92(0x147)]),this[_0x230c92(0x147)]=null,_0x26669c=!0x0),_0x26669c;}[_0x45e806(0x16a)](_0x387462,_0x2ce05e){const _0x404819=_0x45e806;if(this[_0x404819(0x12d)][_0x404819(0x172)](_0x4c1093=>_0x4c1093[_0x404819(0x12a)]===_0x2ce05e))return!0x1;let _0x53b791=!0x1;const _0x51deef=_0x2ce05e[_0x404819(0x131)](_0x404819(0x13f)),_0x59e5fb=this[_0x404819(0x12d)][_0x404819(0x13b)](_0x4ec688=>_0x4ec688['id']===_0x51deef);-0x1!==_0x59e5fb&&(_0x387462[_0x404819(0x15f)](this[_0x404819(0x12d)][_0x59e5fb][_0x404819(0x12a)]),this[_0x404819(0x12d)][_0x404819(0x146)](_0x59e5fb,0x1),_0x53b791=!0x0);let _0x52dc2f=this[_0x404819(0x147)]?function(_0x298d7b,_0x36d97c){const _0x192e38=_0x404819;for(const _0x1b0934 of _0x298d7b[_0x192e38(0x160)]())if(_0x1b0934[_0x192e38(0x131)](_0x192e38(0x13f))===_0x36d97c)return _0x1b0934;return null;}(this[_0x404819(0x147)],_0x51deef):null;_0x52dc2f||(_0x52dc2f=_0x387462[_0x404819(0x163)](_0x404819(0x127),{'footnoteId':_0x51deef}),this[_0x404819(0x147)]&&(_0x387462[_0x404819(0x140)](_0x52dc2f,this[_0x404819(0x147)],_0x404819(0x156)),_0x53b791=!0x0));const _0x158a06={'id':_0x51deef,'reference':_0x2ce05e,'definition':_0x52dc2f},_0x4232a4=I(this[_0x404819(0x14f)][_0x404819(0x128)],this[_0x404819(0x12d)],_0x2ce05e);this[_0x404819(0x12d)][_0x404819(0x146)](_0x4232a4,0x0,_0x158a06);let _0x4fa890=_0x4232a4;return-0x1!==_0x59e5fb&&(_0x4fa890=Math[_0x404819(0x154)](_0x4232a4,_0x59e5fb)),this[_0x404819(0x162)](_0x387462,_0x4fa890)&&(_0x53b791=!0x0),_0x53b791;}[_0x45e806(0x141)](_0x4854e5,_0x22e914){const _0x33cf4d=_0x45e806,_0x1a400c=this[_0x33cf4d(0x12d)][_0x33cf4d(0x13b)](_0x5694cf=>_0x5694cf['id']===_0x22e914);if(-0x1===_0x1a400c)return!0x1;let _0x2e4c16=!0x1;const _0x57a381=this[_0x33cf4d(0x12d)][_0x1a400c];return _0x33cf4d(0x15d)!==_0x57a381[_0x33cf4d(0x170)][_0x33cf4d(0x16d)][_0x33cf4d(0x179)]&&(_0x4854e5[_0x33cf4d(0x15f)](_0x57a381[_0x33cf4d(0x170)]),_0x2e4c16=!0x0),this[_0x33cf4d(0x12d)][_0x33cf4d(0x146)](_0x1a400c,0x1),this[_0x33cf4d(0x162)](_0x4854e5,_0x1a400c)&&(_0x2e4c16=!0x0),_0x2e4c16;}[_0x45e806(0x134)](_0x5ed14b,_0x4d8a4e){const _0x5d6f4a=_0x45e806,_0x452270=_0x4d8a4e[_0x5d6f4a(0x131)](_0x5d6f4a(0x13f)),_0x4225e7=this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x13b)](_0x5dd674=>_0x5dd674['id']===_0x452270),_0x50b935=this[_0x5d6f4a(0x12d)][_0x4225e7];let _0x2f183c=!0x1;_0x50b935[_0x5d6f4a(0x12a)]=_0x4d8a4e,this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x146)](_0x4225e7,0x1);const _0x185d75=I(this[_0x5d6f4a(0x14f)][_0x5d6f4a(0x128)],this[_0x5d6f4a(0x12d)],_0x4d8a4e);return this[_0x5d6f4a(0x12d)][_0x5d6f4a(0x146)](_0x185d75,0x0,_0x50b935),this[_0x5d6f4a(0x162)](_0x5ed14b,Math[_0x5d6f4a(0x154)](_0x4225e7,_0x185d75))&&(_0x2f183c=!0x0),_0x2f183c;}[_0x45e806(0x158)](_0x16f588,_0x38bfb2){const _0x4f68c5=_0x45e806;if(!this[_0x4f68c5(0x147)])return!0x1;const _0x4b3855=this[_0x4f68c5(0x12d)][_0x38bfb2];let _0x263609;return _0x263609=this[_0x4f68c5(0x13d)]?this[_0x4f68c5(0x13d)]({'footnote':_0x4b3855,'container':this[_0x4f68c5(0x147)],'digits':String(this[_0x4f68c5(0x12d)][_0x4f68c5(0x124)])[_0x4f68c5(0x124)],'value':_0x38bfb2+0x1}):String(_0x38bfb2+0x1),_0x4b3855[_0x4f68c5(0x12a)][_0x4f68c5(0x131)](_0x4f68c5(0x13c))!=_0x263609&&(_0x16f588[_0x4f68c5(0x178)](_0x4f68c5(0x13c),_0x263609,_0x4b3855[_0x4f68c5(0x12a)]),!0x0);}[_0x45e806(0x117)](_0x59aa54){const _0x2b8ae5=_0x45e806;if(!this[_0x2b8ae5(0x147)]||this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x124)]<0x2)return!0x1;if(function(_0x92cb9a,_0x5122fc){const _0x434b7a=_0x2b8ae5;if(_0x92cb9a[_0x434b7a(0x124)]!==_0x5122fc[_0x434b7a(0x124)])return!0x1;for(let _0x3f15e1=0x0;_0x3f15e1<_0x92cb9a[_0x434b7a(0x124)];_0x3f15e1++)if(_0x92cb9a[_0x3f15e1]!==_0x5122fc[_0x3f15e1])return!0x1;return!0x0;}(this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x119)](_0x4dacc0=>_0x4dacc0['id']),Array[_0x2b8ae5(0x171)](this[_0x2b8ae5(0x147)][_0x2b8ae5(0x160)]())[_0x2b8ae5(0x119)](_0x247c14=>_0x247c14[_0x2b8ae5(0x131)](_0x2b8ae5(0x13f)))))return!0x1;let _0x359be9=!0x1;for(let _0x40c104=0x0;_0x40c104<this[_0x2b8ae5(0x12d)][_0x2b8ae5(0x124)];_0x40c104++){const _0x1e5a11=this[_0x2b8ae5(0x12d)][_0x40c104],_0x4a741a=_0x59aa54[_0x2b8ae5(0x177)](_0x1e5a11[_0x2b8ae5(0x170)]),_0x296edd=_0x59aa54[_0x2b8ae5(0x15b)](this[_0x2b8ae5(0x147)],_0x40c104);_0x4a741a[_0x2b8ae5(0x142)](_0x296edd)||(_0x59aa54[_0x2b8ae5(0x159)](_0x59aa54[_0x2b8ae5(0x125)](_0x1e5a11[_0x2b8ae5(0x170)]),_0x296edd),_0x359be9=!0x0);}return _0x359be9;}[_0x45e806(0x16b)](_0x27bb99){const _0x50c40d=_0x45e806;if(!this[_0x50c40d(0x12d)][_0x50c40d(0x124)])return!0x1;const {model:_0x1432b4}=this[_0x50c40d(0x14f)];let _0x466ace=!0x1;for(let _0x21c330=0x0;_0x21c330<this[_0x50c40d(0x12d)][_0x50c40d(0x124)]-0x1;_0x21c330++){const _0x5ce2ab=this[_0x50c40d(0x12d)][_0x21c330],_0x4a833c=this[_0x50c40d(0x12d)][_0x21c330+0x1],_0x569782=_0x1432b4[_0x50c40d(0x177)](_0x5ce2ab[_0x50c40d(0x12a)]),_0x2fe479=_0x1432b4[_0x50c40d(0x177)](_0x4a833c[_0x50c40d(0x12a)]);_0x50c40d(0x12e)===_0x569782[_0x50c40d(0x150)](_0x2fe479)&&(this[_0x50c40d(0x134)](_0x27bb99,_0x5ce2ab[_0x50c40d(0x12a)]),_0x21c330=-0x1,_0x466ace=!0x0);}return _0x466ace;}}function _0x3ee4(_0x2e44c0,_0x2208d2){const _0x1e7481=_0x1e74();return _0x3ee4=function(_0x3ee479,_0x490877){_0x3ee479=_0x3ee479-0x117;let _0x59cfd7=_0x1e7481[_0x3ee479];return _0x59cfd7;},_0x3ee4(_0x2e44c0,_0x2208d2);}function _(_0x6b5713,_0xed0be3,_0x5603db){const _0x22d785=_0x45e806;if(_0x5603db[_0x22d785(0x14e)])return!0x1;const _0x1b7771=_0xed0be3?_0x22d785(0x168):_0x22d785(0x129);return _0x6b5713[_0x22d785(0x140)](_0x6b5713[_0x22d785(0x163)](_0x1b7771),_0x5603db),!0x0;}function _0x1e74(){const _0x2b948c=['6UnGQnv','_handleFootnotesDefinitionsObjectChanges','createRangeIn','paragraph','_insertEmptyFootnotesDefinitionsContainer','_handleInsertedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','set','root','_footnoteDefsContainerTracker','footnoteRef','definition','from','find','footnotes.multiBlock','change:data','getChanges','_footnoteRefsTracker','createPositionBefore','setAttribute','rootName','add','_footnoteDefsTracker','document','_sortFootnoteDefinitions','setFootnoteFormatter','map','75585hjYEcq','70CQiyUU','parent','init','push','append','16ffnBob','has','2382254dStBEY','unshift','length','createRangeOn','getFootnotes','footnoteDefinition','model','footnoteInlineContent','reference','446928VHQADk','_handleFootnoteDefinitionsChanges','_footnotes','after','some','getFootnotesDefinitionsObjectElement','getAttribute','isPremiumPlugin','8CeCEAb','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','config','singleton','low','listenTo','registerPostFixer','findIndex','footnoteCounter','_footnoteFormatter','indexOf','footnoteId','insert','_handleRemoveFootnoteReferenceById','isEqual','footnotesDefinitions','getFootnotesFormatter','enqueueChange','splice','_footnotesDefinitions','get','high','isOfficialPlugin','getFootnote','differ','_ensureFootnotesDefinitionsContainerExists','childCount','editor','compareWith','606895DQWUDV','284067nvhfIN','getRootNames','min','_handleFootnoteReferencesChanges','end','before','_updateFootnoteRefCounter','move','FootnotesTracker','createPositionAt','pluginName','$graveyard','233771WFnkFE','remove','getChildren','916289qwJMFD','_updateFootnotesCounters','createElement','reset'];_0x1e74=function(){return _0x2b948c;};return _0x1e74();}function I(_0x279f80,_0x363ac7,_0x221c72){const _0x30ad04=_0x45e806;if(0x0===_0x363ac7[_0x30ad04(0x124)])return 0x0;const _0x38f507=_0x279f80[_0x30ad04(0x177)](_0x221c72);for(let _0x3193dd=0x0;_0x3193dd<_0x363ac7[_0x30ad04(0x124)];_0x3193dd++){const _0x5fc090=_0x363ac7[_0x3193dd],_0x332fee=_0x279f80[_0x30ad04(0x177)](_0x5fc090[_0x30ad04(0x12a)]);if(_0x30ad04(0x157)===_0x38f507[_0x30ad04(0x150)](_0x332fee))return _0x3193dd;}const _0x454d94=_0x221c72[_0x30ad04(0x16d)];let _0x1bb23e=-0x1;for(let _0x88ee08=_0x363ac7[_0x30ad04(0x124)]-0x1;_0x88ee08>=0x0;_0x88ee08--)if(_0x363ac7[_0x88ee08][_0x30ad04(0x12a)][_0x30ad04(0x16d)]===_0x454d94){_0x1bb23e=_0x88ee08;break;}if(-0x1!==_0x1bb23e)return _0x1bb23e+0x1;const _0x75f1f4=_0x279f80[_0x30ad04(0x17c)][_0x30ad04(0x153)](),_0x3142e5=_0x75f1f4[_0x30ad04(0x13e)](_0x454d94[_0x30ad04(0x179)]),_0x1ca49e=_0x75f1f4[_0x3142e5+0x1];if(_0x1ca49e){for(let _0x57d8a3=0x0;_0x57d8a3<_0x363ac7[_0x30ad04(0x124)];_0x57d8a3++)if(_0x363ac7[_0x57d8a3][_0x30ad04(0x12a)][_0x30ad04(0x16d)][_0x30ad04(0x179)]===_0x1ca49e)return _0x57d8a3;}return _0x363ac7[_0x30ad04(0x124)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x184fce,MenuBarMenuListItemButtonView as _0x4bb8c2}from'ckeditor5/src/ui.js';import{Plugin as _0x35fee9}from'ckeditor5/src/core.js';import{IconFootnote as _0x2989cc}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x35fee9{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5a17d3}=this,{componentFactory:_0x1f1d70}=_0x5a17d3['ui'];_0x1f1d70['add']('insertFootnote',E(_0x5a17d3,_0x184fce)),_0x1f1d70['add']('menuBar:insertFootnote',E(_0x5a17d3,_0x4bb8c2)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x239660=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x11be2c;for(const _0x290b57 in _0x239660){const _0x4a9262=_0x290b57,_0x3b08a3=_0x239660[_0x4a9262];if('footnotesLicenseKeyValid'==_0x3b08a3||'footnotesLicenseKeyInvalid'==_0x3b08a3||'footnotesLicenseKeyExpired'==_0x3b08a3||'footnotesLicenseKeyDomainLimit'==_0x3b08a3||'footnotesLicenseKeyNotAllowed'==_0x3b08a3||'footnotesLicenseKeyEvaluationLimit'==_0x3b08a3||'footnotesLicenseKeyUsageLimit'==_0x3b08a3){delete _0x239660[_0x4a9262],_0x11be2c=_0x3b08a3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x11be2c&&_0x239660['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x11be2c&&_0x239660['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x11be2c&&_0x239660['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x11be2c&&_0x239660['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x11be2c&&_0x239660['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x11be2c&&_0x239660['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x41246f,_0x1950f1){const _0x144082=_0x41246f['commands']['get']('insertFootnote');return _0x39eab5=>{const {t:t}=_0x39eab5,_0x2c3aa3=new _0x1950f1(_0x39eab5),_0x4d0561=_0x2c3aa3 instanceof _0x4bb8c2;return _0x2c3aa3['bind']('isEnabled')['to'](_0x144082,'isEnabled'),_0x2c3aa3['set']({'label':t(_0x4d0561?'Footnote':'Insert\x20footnote'),'icon':_0x2989cc,'tooltip':!0x0}),_0x2c3aa3['on']('execute',()=>{_0x144082['execute'](),_0x41246f['editing']['view']['focus']();}),_0x2c3aa3;};}
23
+ import{ButtonView as _0x545065,MenuBarMenuListItemButtonView as _0x313ac4}from'ckeditor5/src/ui.js';import{Plugin as _0x576ab8}from'ckeditor5/src/core.js';import{IconFootnote as _0x25ec2a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x576ab8{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20eeb2}=this,{componentFactory:_0xf9cf6a}=_0x20eeb2['ui'];_0xf9cf6a['add']('insertFootnote',E(_0x20eeb2,_0x545065)),_0xf9cf6a['add']('menuBar:insertFootnote',E(_0x20eeb2,_0x313ac4)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x373b40=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x576355;for(const _0x5e312f in _0x373b40){const _0x483622=_0x5e312f,_0xdd70d3=_0x373b40[_0x483622];if('footnotesLicenseKeyValid'==_0xdd70d3||'footnotesLicenseKeyInvalid'==_0xdd70d3||'footnotesLicenseKeyExpired'==_0xdd70d3||'footnotesLicenseKeyDomainLimit'==_0xdd70d3||'footnotesLicenseKeyNotAllowed'==_0xdd70d3||'footnotesLicenseKeyEvaluationLimit'==_0xdd70d3||'footnotesLicenseKeyUsageLimit'==_0xdd70d3){delete _0x373b40[_0x483622],_0x576355=_0xdd70d3,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x576355&&_0x373b40['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x576355&&_0x373b40['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x576355&&_0x373b40['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x576355&&_0x373b40['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x576355&&_0x373b40['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x576355&&_0x373b40['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x4bcbe9,_0x32d0e1){const _0x492fe5=_0x4bcbe9['commands']['get']('insertFootnote');return _0x11498e=>{const {t:t}=_0x11498e,_0x5963a2=new _0x32d0e1(_0x11498e),_0x4bcf4a=_0x5963a2 instanceof _0x313ac4;return _0x5963a2['bind']('isEnabled')['to'](_0x492fe5,'isEnabled'),_0x5963a2['set']({'label':t(_0x4bcf4a?'Footnote':'Insert\x20footnote'),'icon':_0x25ec2a,'tooltip':!0x0}),_0x5963a2['on']('execute',()=>{_0x492fe5['execute'](),_0x4bcbe9['editing']['view']['focus']();}),_0x5963a2;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x13a0ef,_0x5c18a3){var _0x27a511=_0x2acd,_0x3046ce=_0x13a0ef();while(!![]){try{var _0x2a853f=parseInt(_0x27a511(0x1ca))/0x1*(parseInt(_0x27a511(0x1cc))/0x2)+parseInt(_0x27a511(0x1ce))/0x3*(parseInt(_0x27a511(0x1c7))/0x4)+-parseInt(_0x27a511(0x1cb))/0x5+-parseInt(_0x27a511(0x1c9))/0x6+-parseInt(_0x27a511(0x1c8))/0x7*(-parseInt(_0x27a511(0x1c6))/0x8)+parseInt(_0x27a511(0x1c5))/0x9+-parseInt(_0x27a511(0x1cd))/0xa;if(_0x2a853f===_0x5c18a3)break;else _0x3046ce['push'](_0x3046ce['shift']());}catch(_0x154347){_0x3046ce['push'](_0x3046ce['shift']());}}}(_0x467a,0x25c13));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x2acd(_0x1d0813,_0x861419){var _0x467a2d=_0x467a();return _0x2acd=function(_0x2acdd8,_0x102652){_0x2acdd8=_0x2acdd8-0x1c5;var _0x1e30be=_0x467a2d[_0x2acdd8];return _0x1e30be;},_0x2acd(_0x1d0813,_0x861419);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x467a(){var _0x52c680=['107pnXvJU','26920KWhYAC','2354BVaaZs','3585010JekKaf','24rHCkfn','1931022gFrdDN','14568iNnMQf','132948GtjmnB','413xKpUql','1171824WTHRGW'];_0x467a=function(){return _0x52c680;};return _0x467a();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x2c130e,_0x5b47f9){var _0xacac82=_0x1fee,_0x15c453=_0x2c130e();while(!![]){try{var _0x3256a3=-parseInt(_0xacac82(0x14f))/0x1*(parseInt(_0xacac82(0x14c))/0x2)+-parseInt(_0xacac82(0x14a))/0x3+parseInt(_0xacac82(0x151))/0x4*(-parseInt(_0xacac82(0x148))/0x5)+parseInt(_0xacac82(0x14d))/0x6*(parseInt(_0xacac82(0x152))/0x7)+parseInt(_0xacac82(0x14b))/0x8+-parseInt(_0xacac82(0x149))/0x9*(-parseInt(_0xacac82(0x147))/0xa)+-parseInt(_0xacac82(0x14e))/0xb*(parseInt(_0xacac82(0x150))/0xc);if(_0x3256a3===_0x5b47f9)break;else _0x15c453['push'](_0x15c453['shift']());}catch(_0x8d062f){_0x15c453['push'](_0x15c453['shift']());}}}(_0x5a5e,0x5f1bc));import'./augmentation.js';function _0x5a5e(){var _0x297fc7=['12vpzvvX','92ckJDvl','20447lqdAYk','560CPtwsk','100205donFUD','72837bpNbyr','1344051kyQKYu','5385544yyynFT','63274cuFRnU','828cQXpQe','1844711LspSGq','2MSGXfC'];_0x5a5e=function(){return _0x297fc7;};return _0x5a5e();}export{Footnotes}from'./footnotes.js';function _0x1fee(_0x1243bb,_0x2f31d4){var _0x5a5eed=_0x5a5e();return _0x1fee=function(_0x1feef2,_0x4c22ad){_0x1feef2=_0x1feef2-0x147;var _0x40d153=_0x5a5eed[_0x1feef2];return _0x40d153;},_0x1fee(_0x1243bb,_0x2f31d4);}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 _0x5b78(){const _0xf8c37e=['from','1476835RoeUsw','add','nodeAfter','10615157sFsLGn','name','attributes','_trackedElements','63789WkEiOP','$text','1025cAjhsv','_getElementKey','reset','remove','set','3269736rOvSxw','root','has','type','flat','createRangeOn','$graveyard','getChanges','slice','9TuyBRN','getElementKey','position','get','_model','_elementName','length','element','12616990wzZhCZ','push','getItems','6841962pyaPUA','clear','elementName','44atQfrA','32996HpPQAC','insert','delete','values','rootName'];_0x5b78=function(){return _0xf8c37e;};return _0x5b78();}const _0xd47897=_0x4ea7;(function(_0x33a939,_0x56c684){const _0x47442b=_0x4ea7,_0x5f2b70=_0x33a939();while(!![]){try{const _0x32bb18=-parseInt(_0x47442b(0x1b3))/0x1+-parseInt(_0x47442b(0x1d8))/0x2*(parseInt(_0x47442b(0x1ba))/0x3)+parseInt(_0x47442b(0x1d9))/0x4*(parseInt(_0x47442b(0x1bc))/0x5)+-parseInt(_0x47442b(0x1d5))/0x6+parseInt(_0x47442b(0x1b6))/0x7+-parseInt(_0x47442b(0x1c1))/0x8+-parseInt(_0x47442b(0x1ca))/0x9*(-parseInt(_0x47442b(0x1d2))/0xa);if(_0x32bb18===_0x56c684)break;else _0x5f2b70['push'](_0x5f2b70['shift']());}catch(_0x3fffee){_0x5f2b70['push'](_0x5f2b70['shift']());}}}(_0x5b78,0xee2aa));function _0x4ea7(_0x3e0a5d,_0x6a7f59){const _0x5b7822=_0x5b78();return _0x4ea7=function(_0x4ea776,_0x58277a){_0x4ea776=_0x4ea776-0x1ae;let _0x420b17=_0x5b7822[_0x4ea776];return _0x420b17;},_0x4ea7(_0x3e0a5d,_0x6a7f59);}export class ModelElementTracker{[_0xd47897(0x1ce)];[_0xd47897(0x1cf)];[_0xd47897(0x1bd)];[_0xd47897(0x1b9)]=new Map();constructor(_0x416dcb,_0x1a7e1d){const _0x47262d=_0xd47897;this[_0x47262d(0x1ce)]=_0x416dcb,this[_0x47262d(0x1cf)]=_0x1a7e1d[_0x47262d(0x1d7)],this[_0x47262d(0x1bd)]=_0x1a7e1d[_0x47262d(0x1cb)];}[_0xd47897(0x1be)](){const _0xe4c4b7=_0xd47897;this[_0xe4c4b7(0x1b9)][_0xe4c4b7(0x1d6)]();}[_0xd47897(0x1c8)](_0x3bd575){const _0x2d857d=_0xd47897,_0x14fdfd=new Set(),_0x488095=new Map();for(const _0x40bd87 of _0x3bd575){if(_0x2d857d(0x1ae)===_0x40bd87[_0x2d857d(0x1c4)]&&_0x2d857d(0x1bb)!==_0x40bd87[_0x2d857d(0x1b7)]&&_0x40bd87[_0x2d857d(0x1cc)][_0x2d857d(0x1b5)]){const _0x3936b7=this[_0x2d857d(0x1ce)][_0x2d857d(0x1c6)](_0x40bd87[_0x2d857d(0x1cc)][_0x2d857d(0x1b5)]);for(const _0x1ffd6e of _0x3936b7[_0x2d857d(0x1d4)]()){if(!_0x1ffd6e['is'](_0x2d857d(0x1d1),this[_0x2d857d(0x1cf)]))continue;const _0x1430c3=this[_0x2d857d(0x1bd)](_0x1ffd6e);_0x488095[_0x2d857d(0x1c3)](_0x1430c3)||_0x488095[_0x2d857d(0x1c0)](_0x1430c3,[]),_0x488095[_0x2d857d(0x1cd)](_0x1430c3)[_0x2d857d(0x1d3)](_0x1ffd6e);}}if(_0x2d857d(0x1bf)===_0x40bd87[_0x2d857d(0x1c4)]&&_0x40bd87[_0x2d857d(0x1b7)]===this[_0x2d857d(0x1cf)]){const _0x57a445=this[_0x2d857d(0x1bd)]({'getAttribute':_0x3a9844=>_0x40bd87[_0x2d857d(0x1b8)][_0x2d857d(0x1cd)](_0x3a9844)});_0x14fdfd[_0x2d857d(0x1b4)](_0x57a445);}}for(const [_0x2bcf47,_0x29a1be]of this[_0x2d857d(0x1b9)])_0x2d857d(0x1c7)===_0x29a1be[_0x2d857d(0x1c2)][_0x2d857d(0x1b1)]&&_0x14fdfd[_0x2d857d(0x1b4)](_0x2bcf47);for(const _0x4b8c8c of _0x14fdfd)this[_0x2d857d(0x1b9)][_0x2d857d(0x1af)](_0x4b8c8c);for(const [_0x2994bf,_0x29a320]of _0x488095)this[_0x2d857d(0x1b9)][_0x2d857d(0x1c0)](_0x2994bf,_0x29a320[_0x29a320[_0x2d857d(0x1d0)]-0x1]);const _0x2b56df=new Set();for(const [_0x329ddc,_0x221ea2]of _0x488095)_0x14fdfd[_0x2d857d(0x1c3)](_0x329ddc)&&(_0x2b56df[_0x2d857d(0x1b4)](_0x221ea2[0x0]),_0x221ea2[_0x2d857d(0x1d0)]>0x1?_0x488095[_0x2d857d(0x1c0)](_0x329ddc,_0x221ea2[_0x2d857d(0x1c9)](0x1)):_0x488095[_0x2d857d(0x1af)](_0x329ddc),_0x14fdfd[_0x2d857d(0x1af)](_0x329ddc));return{'removed':Array[_0x2d857d(0x1b2)](_0x14fdfd),'inserted':Array[_0x2d857d(0x1b2)](_0x488095[_0x2d857d(0x1b0)]())[_0x2d857d(0x1c5)](),'moved':Array[_0x2d857d(0x1b2)](_0x2b56df)};}}
23
+ const _0x5953bb=_0x1dfe;function _0x1dfe(_0x16f1da,_0x31343d){const _0x5c478e=_0x5c47();return _0x1dfe=function(_0x1dfe40,_0x15d88b){_0x1dfe40=_0x1dfe40-0x13c;let _0x19bb2e=_0x5c478e[_0x1dfe40];return _0x19bb2e;},_0x1dfe(_0x16f1da,_0x31343d);}(function(_0x21355f,_0x1c41fc){const _0x2f30f6=_0x1dfe,_0x4f745b=_0x21355f();while(!![]){try{const _0x1bc6f2=-parseInt(_0x2f30f6(0x13c))/0x1+parseInt(_0x2f30f6(0x161))/0x2+parseInt(_0x2f30f6(0x142))/0x3+parseInt(_0x2f30f6(0x150))/0x4*(-parseInt(_0x2f30f6(0x166))/0x5)+-parseInt(_0x2f30f6(0x151))/0x6+-parseInt(_0x2f30f6(0x140))/0x7*(parseInt(_0x2f30f6(0x160))/0x8)+parseInt(_0x2f30f6(0x156))/0x9*(parseInt(_0x2f30f6(0x13f))/0xa);if(_0x1bc6f2===_0x1c41fc)break;else _0x4f745b['push'](_0x4f745b['shift']());}catch(_0x3ae78c){_0x4f745b['push'](_0x4f745b['shift']());}}}(_0x5c47,0x1a6b0));function _0x5c47(){const _0x277316=['_trackedElements','elementName','insert','_getElementKey','remove','type','name','28qQtljf','735498FdLONq','nodeAfter','delete','reset','clear','9LuhKqP','rootName','has','length','_elementName','_model','push','createRangeOn','get','element','8LJoblx','416792zSgYiu','add','getElementKey','flat','position','32315dyMLBS','slice','167629vEbPpk','$text','from','3096150wesgzZ','1266349fkdkzg','$graveyard','319671NgFKGy','attributes','root','getItems','getChanges','set','values'];_0x5c47=function(){return _0x277316;};return _0x5c47();}export class ModelElementTracker{[_0x5953bb(0x15b)];[_0x5953bb(0x15a)];[_0x5953bb(0x14c)];[_0x5953bb(0x149)]=new Map();constructor(_0x4ab3eb,_0x54f9ca){const _0x4f7f88=_0x5953bb;this[_0x4f7f88(0x15b)]=_0x4ab3eb,this[_0x4f7f88(0x15a)]=_0x54f9ca[_0x4f7f88(0x14a)],this[_0x4f7f88(0x14c)]=_0x54f9ca[_0x4f7f88(0x163)];}[_0x5953bb(0x154)](){const _0x3a1f2c=_0x5953bb;this[_0x3a1f2c(0x149)][_0x3a1f2c(0x155)]();}[_0x5953bb(0x146)](_0x1322f2){const _0x51030f=_0x5953bb,_0x384dcd=new Set(),_0x21985f=new Map();for(const _0x456cff of _0x1322f2){if(_0x51030f(0x14b)===_0x456cff[_0x51030f(0x14e)]&&_0x51030f(0x13d)!==_0x456cff[_0x51030f(0x14f)]&&_0x456cff[_0x51030f(0x165)][_0x51030f(0x152)]){const _0x21056c=this[_0x51030f(0x15b)][_0x51030f(0x15d)](_0x456cff[_0x51030f(0x165)][_0x51030f(0x152)]);for(const _0x3c971f of _0x21056c[_0x51030f(0x145)]()){if(!_0x3c971f['is'](_0x51030f(0x15f),this[_0x51030f(0x15a)]))continue;const _0x15cbe6=this[_0x51030f(0x14c)](_0x3c971f);_0x21985f[_0x51030f(0x158)](_0x15cbe6)||_0x21985f[_0x51030f(0x147)](_0x15cbe6,[]),_0x21985f[_0x51030f(0x15e)](_0x15cbe6)[_0x51030f(0x15c)](_0x3c971f);}}if(_0x51030f(0x14d)===_0x456cff[_0x51030f(0x14e)]&&_0x456cff[_0x51030f(0x14f)]===this[_0x51030f(0x15a)]){const _0x375fc0=this[_0x51030f(0x14c)]({'getAttribute':_0x48d732=>_0x456cff[_0x51030f(0x143)][_0x51030f(0x15e)](_0x48d732)});_0x384dcd[_0x51030f(0x162)](_0x375fc0);}}for(const [_0xa20aed,_0x6af839]of this[_0x51030f(0x149)])_0x51030f(0x141)===_0x6af839[_0x51030f(0x144)][_0x51030f(0x157)]&&_0x384dcd[_0x51030f(0x162)](_0xa20aed);for(const _0x2fc213 of _0x384dcd)this[_0x51030f(0x149)][_0x51030f(0x153)](_0x2fc213);for(const [_0x566b6e,_0x384739]of _0x21985f)this[_0x51030f(0x149)][_0x51030f(0x147)](_0x566b6e,_0x384739[_0x384739[_0x51030f(0x159)]-0x1]);const _0x515397=new Set();for(const [_0x45b26e,_0x276fe2]of _0x21985f)_0x384dcd[_0x51030f(0x158)](_0x45b26e)&&(_0x515397[_0x51030f(0x162)](_0x276fe2[0x0]),_0x276fe2[_0x51030f(0x159)]>0x1?_0x21985f[_0x51030f(0x147)](_0x45b26e,_0x276fe2[_0x51030f(0x167)](0x1)):_0x21985f[_0x51030f(0x153)](_0x45b26e),_0x384dcd[_0x51030f(0x153)](_0x45b26e));return{'removed':Array[_0x51030f(0x13e)](_0x384dcd),'inserted':Array[_0x51030f(0x13e)](_0x21985f[_0x51030f(0x148)]())[_0x51030f(0x164)](),'moved':Array[_0x51030f(0x13e)](_0x515397)};}}