@ckeditor/ckeditor5-footnotes 47.4.0-alpha.4 → 47.4.0-alpha.6

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 _0x19483c}from'ckeditor5/src/core.js';import{isWidget as _0x9a9ff2,toWidget as _0x4e8cd4,toWidgetEditable as _0x1e1055}from'ckeditor5/src/widget.js';import{uid as _0x3ca9a1}from'ckeditor5/src/utils.js';import{PointerObserver as _0x59f128,ClickObserver as _0x1d3d8b}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x3d7d08}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x169aca}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x19483c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x3d7d08];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x140971}=this;_0x140971['config']['define']('footnotes.multiBlock',!0x0),_0x140971['commands']['add']('insertFootnote',new _0x169aca(_0x140971)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1c2b87){const _0x16a3ff=_0x1af073([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]),_0xecbf0f=0x47a28506,_0x476b73=0x47a5fb9e^_0xecbf0f,_0x179fdb=window[_0x1af073([0x44,0x61,0x74,0x65])][_0x1af073([0x6e,0x6f,0x77])](),_0x46b58f=_0x1c2b87[_0x1af073([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x249c77=new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41e4c8=>{_0x46b58f[_0x1af073([0x6f,0x6e,0x63,0x65])](_0x1af073([0x72,0x65,0x61,0x64,0x79]),_0x41e4c8);}),_0x2dab3b={[_0x1af073([0x6b,0x74,0x79])]:_0x1af073([0x45,0x43]),[_0x1af073([0x75,0x73,0x65])]:_0x1af073([0x73,0x69,0x67]),[_0x1af073([0x63,0x72,0x76])]:_0x1af073([0x50,0x2d,0x32,0x35,0x36]),[_0x1af073([0x78])]:_0x1af073([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]),[_0x1af073([0x79])]:_0x1af073([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]),[_0x1af073([0x61,0x6c,0x67])]:_0x1af073([0x45,0x53,0x32,0x35,0x36])},_0x262768=_0x46b58f[_0x1af073([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1af073([0x67,0x65,0x74])](_0x1af073([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x47d2bb(){let _0x261928,_0x27b977=null,_0x502de2=null;try{if(_0x262768==_0x1af073([0x47,0x50,0x4c]))return _0x1af073([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x261928=_0x224311(),!_0x261928)return _0x1af073([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x261928[_0x1af073([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x502de2=_0x406cb3(_0x261928[_0x1af073([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x261928[_0x1af073([0x6a,0x74,0x69])])),await _0x4697ab()?_0x1c42f6()?_0x3ff08d()?_0x1af073([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x20a938()?(_0x261928[_0x1af073([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1af073([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x27b977=_0x2ee4e9(_0x1af073([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x25aefc()):_0x1af073([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1af073([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1af073([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1af073([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ff08d(){const _0x4c72a6=[_0x1af073([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1af073([0x74,0x72,0x69,0x61,0x6c])][_0x1af073([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x261928[_0x1af073([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x179fdb/0x3e8:0xe10*_0x476b73;return _0x261928[_0x1af073([0x65,0x78,0x70])]<_0x4c72a6;}function _0x1c42f6(){const _0x5be354=_0x261928[_0x1af073([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5be354&&(!!_0x5be354[_0x1af073([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af073([0x2a]))||!!_0x5be354[_0x1af073([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af073([0x46,0x4f,0x4f])));}function _0x20a938(){const _0x10590d=_0x261928[_0x1af073([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x10590d||0x0==_0x10590d[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x237f14}=new URL(window[_0x1af073([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x10590d[_0x1af073([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x237f14))return!0x0;const _0x11daed=_0x237f14[_0x1af073([0x73,0x70,0x6c,0x69,0x74])](_0x1af073([0x2e]));return _0x10590d[_0x1af073([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xbac2ee=>_0xbac2ee[_0x1af073([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1af073([0x2a])))[_0x1af073([0x6d,0x61,0x70])](_0x2de9a7=>_0x2de9a7[_0x1af073([0x73,0x70,0x6c,0x69,0x74])](_0x1af073([0x2e])))[_0x1af073([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4615db=>_0x4615db[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x11daed[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af073([0x6d,0x61,0x70])](_0x5d8351=>Array(_0x11daed[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5d8351[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1af073([0x66,0x69,0x6c,0x6c])](_0x5d8351[0x0]===_0x1af073([0x2a])?_0x1af073([0x2a]):'')[_0x1af073([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5d8351))[_0x1af073([0x73,0x6f,0x6d,0x65])](_0x1cd773=>_0x11daed[_0x1af073([0x65,0x76,0x65,0x72,0x79])]((_0xd2f002,_0x3b8b03)=>_0x1cd773[_0x3b8b03]===_0xd2f002||_0x1cd773[_0x3b8b03]===_0x1af073([0x2a])));}function _0x25aefc(){return _0x27b977&&_0x502de2?new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4af82e,_0x55426a)=>{_0x27b977[_0x1af073([0x74,0x68,0x65,0x6e])](_0x4af82e,_0x55426a),_0x502de2[_0x1af073([0x74,0x68,0x65,0x6e])](_0x531b47=>{_0x531b47!=_0x1af073([0x56,0x61,0x6c,0x69,0x64])&&_0x4af82e(_0x531b47);},_0x55426a);}):_0x27b977||_0x502de2||_0x1af073([0x56,0x61,0x6c,0x69,0x64]);}}function _0x406cb3(_0x5cf4e7,_0x44ac91){return new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1c3f29=>{if(_0x47e018())return _0x1c3f29(_0x1af073([0x56,0x61,0x6c,0x69,0x64]));_0x2b9a51(),_0x46b58f[_0x1af073([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1af073([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x15a0b6=!0x1;const _0x164804=_0x3ca9a1();function _0x5a8086(_0x25bb0c){return!!_0x25bb0c&&(typeof _0x25bb0c===_0x1af073([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x25bb0c===_0x1af073([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x25bb0c[_0x1af073([0x74,0x68,0x65,0x6e])]===_0x1af073([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x25bb0c[_0x1af073([0x63,0x61,0x74,0x63,0x68])]===_0x1af073([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2f7901(_0x24b9f6){_0x392e1f(_0x24b9f6)[_0x1af073([0x74,0x68,0x65,0x6e])](_0x190551=>{if(!_0x190551||_0x190551[_0x1af073([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1af073([0x6f,0x6b]))return _0x1af073([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x207b54(_0x3d5bd1(_0x164804+_0x44ac91))!=_0x190551[_0x1af073([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1af073([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1af073([0x56,0x61,0x6c,0x69,0x64]);})[_0x1af073([0x74,0x68,0x65,0x6e])](_0x4b730d=>(_0x242cf3(),_0x4b730d),()=>{const _0x588905=_0x2da19a();return null==_0x588905?(_0x242cf3(),_0x1af073([0x56,0x61,0x6c,0x69,0x64])):_0x1af073(_0x179fdb-_0x588905>(0x63ae0106^_0xecbf0f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1af073([0x74,0x68,0x65,0x6e])](_0x1c3f29)[_0x1af073([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1c3f29(_0x1af073([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x184fe9=0x47946b86^_0xecbf0f;function _0x242cf3(){const _0x481256=_0x1af073([0x6c,0x6c,0x63,0x74,0x2d])+_0x207b54(_0x3d5bd1(_0x5cf4e7)),_0x17fb50=_0x1bcff0(_0x207b54(window[_0x1af073([0x4d,0x61,0x74,0x68])][_0x1af073([0x63,0x65,0x69,0x6c])](_0x179fdb/_0x184fe9)));window[_0x1af073([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af073([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x481256,_0x17fb50);}function _0x2da19a(){const _0x1f8e31=_0x1af073([0x6c,0x6c,0x63,0x74,0x2d])+_0x207b54(_0x3d5bd1(_0x5cf4e7)),_0x3306f2=window[_0x1af073([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1af073([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1f8e31);return _0x3306f2?window[_0x1af073([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bcff0(_0x3306f2),0x10)*_0x184fe9:null;}function _0x392e1f(_0x5cf5d6){return new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x529d21,_0x2c4025)=>{_0x5cf5d6[_0x1af073([0x74,0x68,0x65,0x6e])](_0x529d21,_0x2c4025),window[_0x1af073([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c4025,0x47a351c6^_0xecbf0f);});}}_0x46b58f[_0x1af073([0x6f,0x6e])](_0x1af073([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2bc5f2,_0xa0bfcb)=>{if(_0xa0bfcb[0x0]!=_0x5cf4e7)return _0x1c3f29(_0x1af073([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xa0bfcb[0x1]={..._0xa0bfcb[0x1],[_0x1af073([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x164804};},{[_0x1af073([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af073([0x68,0x69,0x67,0x68])}),_0x46b58f[_0x1af073([0x6f,0x6e])](_0x1af073([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x27e747=>{_0x5a8086(_0x27e747[_0x1af073([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x15a0b6=!0x0,_0x2f7901(_0x27e747[_0x1af073([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1af073([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1af073([0x6c,0x6f,0x77])}),_0x249c77[_0x1af073([0x74,0x68,0x65,0x6e])](()=>{_0x15a0b6||_0x1c3f29(_0x1af073([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47e018(){return _0x46b58f[_0x1af073([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af073([0x76,0x69,0x65,0x77])][_0x1af073([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1af073([0x61,0x75,0x74,0x6f]);}function _0x2b9a51(){_0x46b58f[_0x1af073([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1af073([0x76,0x69,0x65,0x77])][_0x1af073([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1af073([0x61,0x75,0x74,0x6f]);}}function _0x2ee4e9(_0x40df99){const _0x28f010=[new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3c9ab5=>setTimeout(_0x3c9ab5,0x47abbbca^_0xecbf0f)),_0x249c77[_0x1af073([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x263409=>{let _0x393c0c=0x0;_0x46b58f[_0x1af073([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af073([0x6f,0x6e])](_0x1af073([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x36c177,_0x1811cd)=>{_0x1811cd[0x0][_0x1af073([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x393c0c++,_0x393c0c==(0x47a280ee^_0xecbf0f)&&(_0x263409(),_0x36c177[_0x1af073([0x6f,0x66,0x66])]());});}))];return window[_0x1af073([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1af073([0x72,0x61,0x63,0x65])](_0x28f010)[_0x1af073([0x74,0x68,0x65,0x6e])](()=>_0x40df99);}async function _0x4ddda3(){await _0x249c77,_0x46b58f[_0x1af073([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af073([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x25cf63,_0x46b58f[_0x1af073([0x6d,0x6f,0x64,0x65,0x6c])][_0x1af073([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x25cf63,_0x46b58f[_0x1af073([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1af073([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1ada36(_0x3bc596){const _0x1d5260=_0x47238c();_0x46b58f[_0x1d5260]=_0x1af073([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3bc596,_0x3bc596!=_0x1af073([0x56,0x61,0x6c,0x69,0x64])&&_0x4ddda3();}function _0x47238c(){const _0x3919aa=window[_0x1af073([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1af073([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1af073([0x6e,0x6f,0x77])]())[_0x1af073([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1af073([0x2e]),'');let _0x3a9f9e=_0x1af073([0x75]);for(let _0x2da695=0x0;_0x2da695<_0x3919aa[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2da695+=0x2){let _0xb76105=window[_0x1af073([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3919aa[_0x1af073([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2da695,_0x2da695+0x2));_0xb76105>=_0x16a3ff[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb76105-=_0x16a3ff[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3a9f9e+=_0x16a3ff[_0xb76105];}return _0x3a9f9e;}function _0x224311(){const _0x10a32f=_0x262768[_0x1af073([0x73,0x70,0x6c,0x69,0x74])](_0x1af073([0x2e]));if(0x3!=_0x10a32f[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x274853(_0x10a32f[0x1]);function _0x274853(_0x5d3790){const _0xa5edcb=_0x4b4fb4(_0x5d3790);return _0xa5edcb&&_0x423dfd()?_0xa5edcb:null;function _0x423dfd(){const _0x4bf577=_0xa5edcb[_0x1af073([0x6a,0x74,0x69])],_0x1b16a1=window[_0x1af073([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4bf577[_0x1af073([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4bf577[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x138c89={..._0xa5edcb,[_0x1af073([0x6a,0x74,0x69])]:_0x4bf577[_0x1af073([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4bf577[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x138c89[_0x1af073([0x76,0x63])],_0x3d5bd1(_0x138c89)==_0x1b16a1;}}}async function _0x4697ab(){let _0xb04e59=!0x0;try{const _0x5168f6=_0x262768[_0x1af073([0x73,0x70,0x6c,0x69,0x74])](_0x1af073([0x2e])),[_0x66ead8,_0x5aa417,_0x1cf7fa]=_0x5168f6;return _0x369256(_0x66ead8),await _0x296d1f(_0x66ead8,_0x5aa417,_0x1cf7fa),_0xb04e59;}catch{return!0x1;}function _0x369256(_0x551309){const _0x2a5f18=_0x4b4fb4(_0x551309);_0x2a5f18&&_0x2a5f18[_0x1af073([0x61,0x6c,0x67])]==_0x1af073([0x45,0x53,0x32,0x35,0x36])||(_0xb04e59=!0x1);}async function _0x296d1f(_0x5237ee,_0x1b9977,_0x3b9d5c){const _0x546fe5=window[_0x1af073([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1af073([0x66,0x72,0x6f,0x6d])](_0x71fa43(_0x3b9d5c),_0x3f5cc0=>_0x3f5cc0[_0x1af073([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x49b69e=new window[(_0x1af073([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1af073([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5237ee+_0x1af073([0x2e])+_0x1b9977),_0x21f751=window[_0x1af073([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1af073([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x21f751)return;const _0x24fcbc=await _0x21f751[_0x1af073([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1af073([0x6a,0x77,0x6b]),_0x2dab3b,{[_0x1af073([0x6e,0x61,0x6d,0x65])]:_0x1af073([0x45,0x43,0x44,0x53,0x41]),[_0x1af073([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1af073([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1af073([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x21f751[_0x1af073([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1af073([0x6e,0x61,0x6d,0x65])]:_0x1af073([0x45,0x43,0x44,0x53,0x41]),[_0x1af073([0x68,0x61,0x73,0x68])]:{[_0x1af073([0x6e,0x61,0x6d,0x65])]:_0x1af073([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24fcbc,_0x546fe5,_0x49b69e)||(_0xb04e59=!0x1);}}function _0x4b4fb4(_0x2f51c3){return _0x2f51c3[_0x1af073([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1af073([0x65,0x79]))?JSON[_0x1af073([0x70,0x61,0x72,0x73,0x65])](_0x71fa43(_0x2f51c3)):null;}function _0x71fa43(_0x1944d3){return window[_0x1af073([0x61,0x74,0x6f,0x62])](_0x1944d3[_0x1af073([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1af073([0x2b]))[_0x1af073([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1af073([0x2f])));}function _0x3d5bd1(_0x6e2e14){let _0x1424f0=0x1505;function _0x5ebec7(_0x3dc2c7){for(let _0x1f09dc=0x0;_0x1f09dc<_0x3dc2c7[_0x1af073([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f09dc++){const _0x3024ae=_0x3dc2c7[_0x1af073([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1f09dc);_0x1424f0=(_0x1424f0<<0x5)+_0x1424f0+_0x3024ae,_0x1424f0&=_0x1424f0;}}function _0x14e172(_0x838dc6){Array[_0x1af073([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x838dc6)?_0x838dc6[_0x1af073([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x14e172):_0x838dc6&&typeof _0x838dc6==_0x1af073([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1af073([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x838dc6)[_0x1af073([0x73,0x6f,0x72,0x74])]()[_0x1af073([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x3861a9,_0x449306])=>{_0x5ebec7(_0x3861a9),_0x14e172(_0x449306);}):_0x5ebec7(window[_0x1af073([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x838dc6));}return _0x14e172(_0x6e2e14),_0x1424f0>>>0x0;}function _0x207b54(_0x49942e){return _0x49942e[_0x1af073([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1af073([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1af073([0x30]));}function _0x1bcff0(_0x2f5621){return _0x2f5621[_0x1af073([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1af073([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1af073([0x6a,0x6f,0x69,0x6e])]('');}function _0x25cf63(){}function _0x1af073(_0x1d2235){return _0x1d2235['map'](_0x4e78f2=>String['fromCharCode'](_0x4e78f2))['join']('');}_0x1ada36(await _0x47d2bb());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12e033){const {plugins:_0x9c6374,editing:_0x17f635,model:_0x225483}=this['editor'],_0x4f946d=_0x9c6374['get'](_0x3d7d08)['getFootnote'](_0x12e033);return!!_0x4f946d&&(_0x225483['change'](_0x3bd444=>{_0x3bd444['setSelection'](_0x3bd444['createPositionAt'](_0x4f946d['definition'],'end'));}),_0x17f635['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x29551f){const {plugins:_0x10997a,editing:_0x50568c,model:_0x1833f3}=this['editor'],_0x5043b2=_0x10997a['get'](_0x3d7d08)['getFootnote'](_0x29551f);return!!_0x5043b2&&(_0x1833f3['change'](_0x33def3=>{_0x33def3['setSelection'](_0x5043b2['reference'],'on');}),_0x50568c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2b15fb}=this['editor']['model'],_0x17c0e3=this['editor']['config']['get']('footnotes.multiBlock');_0x2b15fb['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2b15fb['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2b15fb['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x17c0e3?_0x2b15fb['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2b15fb['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2b15fb['addChildCheck'](_0x5f577b=>{for(const _0x4b9e7b of _0x5f577b)if('footnoteDefinition'===_0x4b9e7b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x45766f}=this,{conversion:_0x1f1b46,editing:_0x5ed37f}=_0x45766f,{t:t}=_0x45766f['locale'];_0x1f1b46['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x16ba13,{writer:_0xf17d52,consumable:_0x2c7c04})=>{const _0x1f4ad6=_0x16ba13['getChild'](0x0);if(!_0x1f4ad6||!_0x1f4ad6['is']('element','a'))return null;const _0x2f7a18=_0x1f4ad6['getAttribute']('href')||'';if(!_0x2f7a18['startsWith']('#'))return null;const _0x53471b=_0x2f7a18['replace'](/^#/,'');if(!_0x53471b)return null;_0x2c7c04['consume'](_0x1f4ad6,{'name':!0x0,'attributes':['href']});for(const {item:_0x539092}of _0x5ed37f['view']['createRangeIn'](_0x1f4ad6))_0x539092['is']('$textProxy')?_0x2c7c04['consume'](_0x539092['textNode'],{'name':!0x0}):_0x539092['is']('element')&&_0x2c7c04['consume'](_0x539092,{'name':!0x0});return _0xf17d52['createElement']('footnoteRef',{'footnoteId':_0x53471b});}}),_0x1f1b46['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2cb305,{writer:_0x176923})=>b(_0x2cb305,_0x176923)}),_0x1f1b46['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3b06d4,{writer:_0xdcfe1})=>{const _0x284423=_0x3b06d4['getAttribute']('footnoteCounter');return _0x4e8cd4(b(_0x3b06d4,_0xdcfe1),_0xdcfe1,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x284423)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1bc206}=this,{t:t}=_0x1bc206['locale'],{conversion:_0x5b0849}=_0x1bc206;_0x5b0849['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b0849['for']('upcast')['add'](_0x489974=>{_0x489974['on']('element:ol',(_0x847ba1,_0x160a83,_0x28081f)=>{const _0x4d7c52=_0x160a83['viewItem'];if(!_0x4d7c52['hasClass']('footnotes-list')||!_0x160a83['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x28081f['consumable']['consume'](_0x4d7c52,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3423ba,modelCursor:_0x18f819}=_0x28081f['convertChildren'](_0x160a83['viewItem'],_0x160a83['modelCursor']);_0x160a83['modelRange']=_0x3423ba,_0x160a83['modelCursor']=_0x18f819;}),_0x489974['on']('element:hr',(_0x38408e,_0x24b2cd,_0xc96df6)=>{const _0x1e7c5a=_0x24b2cd['viewItem'];_0x1e7c5a['hasClass']('footnotes-divider')&&_0x24b2cd['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xc96df6['consumable']['consume'](_0x1e7c5a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b0849['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3c6780,{writer:_0x555418})=>D(_0x555418)}),_0x5b0849['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3e7b16,{writer:_0x1822a0})=>{const _0x1a8792=D(_0x1822a0,{'data-footnotes-list-label':t('Footnotes')}),_0x12cb5b=_0x4e8cd4(_0x1a8792,_0x1822a0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1822a0['setCustomProperty']('footnotesDefinitions',!0x0,_0x12cb5b),_0x12cb5b;}});}['_defineDefinitionConverters'](){const {editor:_0x47a7ff}=this,{conversion:_0x3124a4,locale:_0x29f592}=_0x47a7ff,_0x5edece=_0x47a7ff['config']['get']('footnotes.multiBlock');_0x3124a4['for']('upcast')['add'](_0x31726c=>{_0x31726c['on']('element:li',(_0x4516da,_0x24b576,_0x193bb3)=>{const _0x33e24a=_0x24b576['viewItem'];if(!_0x33e24a['hasClass']('footnote-definition')||!_0x33e24a['getAttribute']('id'))return;const _0x55762f=_0x33e24a['parent'];if(!_0x55762f['is']('element','ol')||!_0x55762f['hasClass']('footnotes-list'))return;if(!_0x193bb3['consumable']['test'](_0x33e24a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4b4376=_0x193bb3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x33e24a['getAttribute']('id')});if(!_0x193bb3['safeInsert'](_0x4b4376,_0x24b576['modelCursor']))return;_0x193bb3['consumable']['consume'](_0x33e24a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x77dc38=Array['from'](_0x33e24a['getChildren']())['find'](_0x44dcda=>_0x44dcda['is']('element')&&_0x44dcda['hasClass']('footnote-content'));for(const _0x2d16c0 of _0x33e24a['getChildren']())_0x2d16c0['is']('element')&&(_0x193bb3['consumable']['consume'](_0x2d16c0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x193bb3['consumable']['consume'](_0x2d16c0,{'name':!0x0,'classes':'footnote-content'}));if(_0x77dc38){if(_0x5edece)_0x193bb3['convertChildren'](_0x77dc38,_0x4b4376);else{const _0xeedd0e=_0x193bb3['writer']['createElement']('footnoteInlineContent');_0x193bb3['writer']['insert'](_0xeedd0e,_0x4b4376),_0x193bb3['convertChildren'](_0x77dc38,_0xeedd0e);}}_0x193bb3['updateConversionResult'](_0x4b4376,_0x24b576);});}),_0x3124a4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xeb9d16,{writer:_0x5c627e})=>y(_0xeb9d16,_0x5c627e,_0x29f592,{'dataPipeline':!0x0})}),_0x3124a4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x35e911,{writer:_0x3e7b68})=>y(_0x35e911,_0x3e7b68,_0x29f592)});}['_defineBogusParagraphConverters'](){const {editor:_0x3630c8}=this,{conversion:_0x1d2086}=_0x3630c8;_0x3630c8['config']['get']('footnotes.multiBlock')?(_0x1d2086['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1d2086['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3630c8['model']['document'],'change:data',()=>{!function(_0x3a3a16,_0x2cd957){const _0x21ef84=_0x3a3a16['document']['differ'],_0x5cf9e6=new Set();for(const _0xeb8a23 of _0x21ef84['getChanges']()){const _0x568816='attribute'==_0xeb8a23['type']?_0xeb8a23['range']['start']['parent']:_0xeb8a23['position']['parent'];_0x568816['is']('element','footnoteDefinition')&&_0x5cf9e6['add'](_0x568816);}for(const _0x3a3b08 of _0x5cf9e6['values']()){const _0x6a90d2=Array['from'](_0x3a3b08['getChildren']())['filter'](_0x5d1959=>v(_0x5d1959,_0x2cd957['mapper']));for(const _0x2f6c00 of _0x6a90d2)_0x2cd957['reconvertItem'](_0x2f6c00);}}(_0x3630c8['model'],_0x3630c8['editing']);})):(_0x1d2086['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1d2086['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3675cf,{writer:_0x5b9fd8})=>{const _0x44b0b5=_0x5b9fd8['createContainerElement']('span');return _0x5b9fd8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x44b0b5),_0x44b0b5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x448748}=this,{editing:_0x3eb3d1,t:t}=_0x448748,_0x3b1621=_0x448748['model']['document']['selection'];_0x448748['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x448748['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3eb3d1['view']['document'],'enter',(_0xaebf2,_0x204bde)=>{const _0x494510=function(_0x28c8bf){const _0x2848e3=_0x28c8bf['getSelectedElement']();if(_0x2848e3?.['is']('element','footnoteRef'))return _0x2848e3;return null;}(_0x3b1621);if(_0x494510){const _0x8a6b85=_0x494510['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x8a6b85),_0x204bde['preventDefault'](),_0xaebf2['stop']();}},{'context':_0x9a9ff2});}['_defineClickHandlers'](){const {editor:_0x4baa4f}=this,{editing:_0x342f07}=_0x4baa4f;_0x4baa4f['editing']['view']['addObserver'](_0x59f128),_0x4baa4f['editing']['view']['addObserver'](_0x1d3d8b);let _0x5d3e6a=!0x1;this['listenTo'](_0x342f07['view']['document'],'pointerdown',(_0x4f439b,_0x1e0c12)=>{const {target:_0x5a4401}=_0x1e0c12,_0x328817=_0x342f07['view']['document']['selection'];_0x5d3e6a=!!(_0x5a4401?.['is']('element','a')&&_0x5a4401['parent']?.['is']('element','sup')&&_0x5a4401['parent']['hasClass']('footnote'))&&_0x328817['getSelectedElement']()===_0x5a4401['parent'];},{'priority':'high'}),this['listenTo'](_0x342f07['view']['document'],'click',(_0x1ba9f3,_0x14714e)=>{const {target:_0x140f1d}=_0x14714e;if(!_0x140f1d?.['is']('element','a'))return;if(_0x140f1d['parent']?.['is']('element','sup')&&_0x140f1d['parent']['hasClass']('footnote')&&!_0x5d3e6a)return void _0x14714e['preventDefault']();let _0x2cac92=_0x140f1d['getAttribute']('href');if(!_0x2cac92?.['startsWith']('#'))return;_0x2cac92=_0x2cac92['slice'](0x1);let _0x936d33=!0x1;(_0x2cac92['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2cac92['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2cac92))&&(_0x936d33=!0x0),_0x936d33&&(_0x14714e['preventDefault'](),_0x1ba9f3['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x22e96c}={}){return(_0x450449,{writer:_0x2157f6})=>{if(!g(_0x450449))return null;if(!_0x22e96c)return _0x2157f6['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x473ccc=_0x2157f6['createContainerElement']('p');return _0x2157f6['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x473ccc),_0x473ccc;};}function g(_0x23a7f1){const {parent:_0x3e2335}=_0x23a7f1;if(!_0x3e2335?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3e2335['childCount'])return!0x1;for(const _0x12175b of _0x23a7f1['getAttributeKeys']())if(!_0x12175b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x12175b)return!0x1;return!0x0;}function v(_0x4f2f87,_0x38edbf){if(!_0x4f2f87['is']('element','paragraph'))return!0x1;const _0x2b9588=_0x38edbf['toViewElement'](_0x4f2f87);return!!_0x2b9588&&g(_0x4f2f87)!==_0x2b9588['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x50de29){return _0x9a9ff2(_0x50de29)&&_0x50de29['is']('containerElement')&&!!_0x50de29['getCustomProperty']('footnotesDefinitions');}function D(_0x52b46c,_0x16ce59={}){const _0x4d9fd8=_0x52b46c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x225eee=_0x52b46c['createContainerElement']('ol',{'class':'footnotes-list'},_0x52b46c['createSlot']());return _0x52b46c['createContainerElement']('div',{'class':'footnotes',..._0x16ce59},[_0x4d9fd8,_0x225eee]);}function b(_0x3bd8d3,_0x2e1a99){const _0x2d285e=_0x3bd8d3['getAttribute']('footnoteId'),_0x2655c7=_0x3bd8d3['getAttribute']('footnoteCounter'),_0x4c895a=_0x2e1a99['createUIElement']('a',{'href':'#'+_0x2d285e},function(_0x3d09ba){const _0x205878=this['toDomElement'](_0x3d09ba);return _0x205878['textContent']=_0x2655c7,_0x205878;}),_0x187701=_0x2e1a99['createContainerElement']('sup',{'id':'ref-'+_0x2d285e,'class':'footnote'},[_0x4c895a]);return _0x187701['getFillerOffset']=()=>null,_0x187701;}function y(_0x831e8b,_0x18f4cb,_0x487129,{dataPipeline:_0x374f6f}={}){const {t:t}=_0x487129,_0x4d6606=_0x831e8b['getAttribute']('footnoteId'),_0x20a56e=_0x18f4cb['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d6606},function(_0x26c011){const _0xbe385c=this['toDomElement'](_0x26c011);return _0xbe385c['innerText']='^',_0xbe385c;}),_0x1f9a92=_0x374f6f?_0x18f4cb['createContainerElement']('div',{'class':'footnote-content'}):_0x1e1055(_0x18f4cb['createEditableElement']('div',{'class':'footnote-content'}),_0x18f4cb,{'label':t('Footnote\x20content.')});return _0x18f4cb['insert'](_0x18f4cb['createPositionAt'](_0x1f9a92,0x0),_0x18f4cb['createSlot']()),_0x18f4cb['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d6606},[_0x20a56e,_0x1f9a92]);}
23
+ import{Plugin as _0x2ed68a}from'ckeditor5/src/core.js';import{isWidget as _0xdadc05,toWidget as _0x3e8240,toWidgetEditable as _0x3ecac3}from'ckeditor5/src/widget.js';import{uid as _0x748a2c}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdb65b8,ClickObserver as _0x5bcff3}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x570d5d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x51098b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x2ed68a{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x570d5d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xa3a55}=this;_0xa3a55['config']['define']('footnotes.multiBlock',!0x0),_0xa3a55['commands']['add']('insertFootnote',new _0x51098b(_0xa3a55)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x50d15c){const _0x1e1225=_0x11098f([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]),_0x350c6d=0x47a28506,_0x5a8199=0x47a5fbce^_0x350c6d,_0x95aebd=window[_0x11098f([0x44,0x61,0x74,0x65])][_0x11098f([0x6e,0x6f,0x77])](),_0x29e97a=_0x50d15c[_0x11098f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3fc575=new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x175b43=>{_0x29e97a[_0x11098f([0x6f,0x6e,0x63,0x65])](_0x11098f([0x72,0x65,0x61,0x64,0x79]),_0x175b43);}),_0x482ee2={[_0x11098f([0x6b,0x74,0x79])]:_0x11098f([0x45,0x43]),[_0x11098f([0x75,0x73,0x65])]:_0x11098f([0x73,0x69,0x67]),[_0x11098f([0x63,0x72,0x76])]:_0x11098f([0x50,0x2d,0x32,0x35,0x36]),[_0x11098f([0x78])]:_0x11098f([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]),[_0x11098f([0x79])]:_0x11098f([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]),[_0x11098f([0x61,0x6c,0x67])]:_0x11098f([0x45,0x53,0x32,0x35,0x36])},_0x4648db=_0x29e97a[_0x11098f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x11098f([0x67,0x65,0x74])](_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0xcbc8c5(){let _0x2fedad,_0x4e5fcf=null,_0x1c9277=null;try{if(_0x4648db==_0x11098f([0x47,0x50,0x4c]))return _0x11098f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2fedad=_0x24242b(),!_0x2fedad)return _0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2fedad[_0x11098f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1c9277=_0x4097a4(_0x2fedad[_0x11098f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2fedad[_0x11098f([0x6a,0x74,0x69])])),await _0x6201e5()?_0x195df3()?_0x59e1df()?_0x11098f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x22b8a5()?(_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x11098f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4e5fcf=_0x43fa81(_0x11098f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3ad388()):_0x11098f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x11098f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x11098f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59e1df(){const _0x19d61a=[_0x11098f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x11098f([0x74,0x72,0x69,0x61,0x6c])][_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x95aebd/0x3e8:0xe10*_0x5a8199;return _0x2fedad[_0x11098f([0x65,0x78,0x70])]<_0x19d61a;}function _0x195df3(){const _0x134ccb=_0x2fedad[_0x11098f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x134ccb&&(!!_0x134ccb[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x2a]))||!!_0x134ccb[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x46,0x4f,0x4f])));}function _0x22b8a5(){const _0x5b64a2=_0x2fedad[_0x11098f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5b64a2||0x0==_0x5b64a2[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x58c263}=new URL(window[_0x11098f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5b64a2[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x58c263))return!0x0;const _0x3c7a1d=_0x58c263[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e]));return _0x5b64a2[_0x11098f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2df5ba=>_0x2df5ba[_0x11098f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x11098f([0x2a])))[_0x11098f([0x6d,0x61,0x70])](_0x2e1a85=>_0x2e1a85[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e])))[_0x11098f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366049=>_0x366049[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3c7a1d[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11098f([0x6d,0x61,0x70])](_0x2b214c=>Array(_0x3c7a1d[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2b214c[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x11098f([0x66,0x69,0x6c,0x6c])](_0x2b214c[0x0]===_0x11098f([0x2a])?_0x11098f([0x2a]):'')[_0x11098f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2b214c))[_0x11098f([0x73,0x6f,0x6d,0x65])](_0x31297d=>_0x3c7a1d[_0x11098f([0x65,0x76,0x65,0x72,0x79])]((_0x1a5bf1,_0xdfe746)=>_0x31297d[_0xdfe746]===_0x1a5bf1||_0x31297d[_0xdfe746]===_0x11098f([0x2a])));}function _0x3ad388(){return _0x4e5fcf&&_0x1c9277?new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x48a3b1,_0x2c9054)=>{_0x4e5fcf[_0x11098f([0x74,0x68,0x65,0x6e])](_0x48a3b1,_0x2c9054),_0x1c9277[_0x11098f([0x74,0x68,0x65,0x6e])](_0x2a3740=>{_0x2a3740!=_0x11098f([0x56,0x61,0x6c,0x69,0x64])&&_0x48a3b1(_0x2a3740);},_0x2c9054);}):_0x4e5fcf||_0x1c9277||_0x11098f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4097a4(_0x36de96,_0x54767d){return new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x387c84=>{if(_0x18fd7e())return _0x387c84(_0x11098f([0x56,0x61,0x6c,0x69,0x64]));_0x3583c8(),_0x29e97a[_0x11098f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x13a24c=!0x1;const _0x271292=_0x748a2c();function _0x598266(_0x41bc81){return!!_0x41bc81&&(typeof _0x41bc81===_0x11098f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41bc81===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41bc81[_0x11098f([0x74,0x68,0x65,0x6e])]===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41bc81[_0x11098f([0x63,0x61,0x74,0x63,0x68])]===_0x11098f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2257e2(_0x422fe1){_0x1c9c7c(_0x422fe1)[_0x11098f([0x74,0x68,0x65,0x6e])](_0x316a8c=>{if(!_0x316a8c||_0x316a8c[_0x11098f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x11098f([0x6f,0x6b]))return _0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x469b01(_0x2337ca(_0x271292+_0x54767d))!=_0x316a8c[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x11098f([0x56,0x61,0x6c,0x69,0x64]);})[_0x11098f([0x74,0x68,0x65,0x6e])](_0x3673f8=>(_0x31c313(),_0x3673f8),()=>{const _0x2092da=_0x3a633a();return null==_0x2092da?(_0x31c313(),_0x11098f([0x56,0x61,0x6c,0x69,0x64])):_0x11098f(_0x95aebd-_0x2092da>(0x63ae0106^_0x350c6d)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x11098f([0x74,0x68,0x65,0x6e])](_0x387c84)[_0x11098f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x54de88=0x47946b86^_0x350c6d;function _0x31c313(){const _0x1dce9b=_0x11098f([0x6c,0x6c,0x63,0x74,0x2d])+_0x469b01(_0x2337ca(_0x36de96)),_0x581702=_0x2c1f36(_0x469b01(window[_0x11098f([0x4d,0x61,0x74,0x68])][_0x11098f([0x63,0x65,0x69,0x6c])](_0x95aebd/_0x54de88)));window[_0x11098f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11098f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1dce9b,_0x581702);}function _0x3a633a(){const _0x44fba2=_0x11098f([0x6c,0x6c,0x63,0x74,0x2d])+_0x469b01(_0x2337ca(_0x36de96)),_0x13765c=window[_0x11098f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x11098f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x44fba2);return _0x13765c?window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c1f36(_0x13765c),0x10)*_0x54de88:null;}function _0x1c9c7c(_0x2cbe1d){return new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5687f4,_0x53a1e3)=>{_0x2cbe1d[_0x11098f([0x74,0x68,0x65,0x6e])](_0x5687f4,_0x53a1e3),window[_0x11098f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x53a1e3,0x47a351c6^_0x350c6d);});}}_0x29e97a[_0x11098f([0x6f,0x6e])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x52eece,_0x3eb4f0)=>{if(_0x3eb4f0[0x0]!=_0x36de96)return _0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3eb4f0[0x1]={..._0x3eb4f0[0x1],[_0x11098f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x271292};},{[_0x11098f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11098f([0x68,0x69,0x67,0x68])}),_0x29e97a[_0x11098f([0x6f,0x6e])](_0x11098f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3112cc=>{_0x598266(_0x3112cc[_0x11098f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x13a24c=!0x0,_0x2257e2(_0x3112cc[_0x11098f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x11098f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x11098f([0x6c,0x6f,0x77])}),_0x3fc575[_0x11098f([0x74,0x68,0x65,0x6e])](()=>{_0x13a24c||_0x387c84(_0x11098f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x18fd7e(){return _0x29e97a[_0x11098f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11098f([0x76,0x69,0x65,0x77])][_0x11098f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x11098f([0x61,0x75,0x74,0x6f]);}function _0x3583c8(){_0x29e97a[_0x11098f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x11098f([0x76,0x69,0x65,0x77])][_0x11098f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x11098f([0x61,0x75,0x74,0x6f]);}}function _0x43fa81(_0x53455a){const _0x49bc41=[new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2563e1=>setTimeout(_0x2563e1,0x47abbbca^_0x350c6d)),_0x3fc575[_0x11098f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x470b63=>{let _0x4f9e00=0x0;_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x6f,0x6e])](_0x11098f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3c1e93,_0x51ff96)=>{_0x51ff96[0x0][_0x11098f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4f9e00++,_0x4f9e00==(0x47a280ee^_0x350c6d)&&(_0x470b63(),_0x3c1e93[_0x11098f([0x6f,0x66,0x66])]());});}))];return window[_0x11098f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x11098f([0x72,0x61,0x63,0x65])](_0x49bc41)[_0x11098f([0x74,0x68,0x65,0x6e])](()=>_0x53455a);}async function _0x236f41(){await _0x3fc575,_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1960f6,_0x29e97a[_0x11098f([0x6d,0x6f,0x64,0x65,0x6c])][_0x11098f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1960f6,_0x29e97a[_0x11098f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x11098f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4fd4a3(_0x302ea3){const _0x4358b7=_0x156aef();_0x29e97a[_0x4358b7]=_0x11098f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x302ea3,_0x302ea3!=_0x11098f([0x56,0x61,0x6c,0x69,0x64])&&_0x236f41();}function _0x156aef(){const _0x53a785=window[_0x11098f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x11098f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x11098f([0x6e,0x6f,0x77])]())[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x11098f([0x2e]),'');let _0x4edceb=_0x11098f([0x75]);for(let _0x191a93=0x0;_0x191a93<_0x53a785[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x191a93+=0x2){let _0x1550e6=window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53a785[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x191a93,_0x191a93+0x2));_0x1550e6>=_0x1e1225[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1550e6-=_0x1e1225[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4edceb+=_0x1e1225[_0x1550e6];}return _0x4edceb;}function _0x24242b(){const _0x55f935=_0x4648db[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e]));if(0x3!=_0x55f935[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4aedae(_0x55f935[0x1]);function _0x4aedae(_0x4fe4dc){const _0x3401c5=_0x3fec02(_0x4fe4dc);return _0x3401c5&&_0x3d460e()?_0x3401c5:null;function _0x3d460e(){const _0x33de38=_0x3401c5[_0x11098f([0x6a,0x74,0x69])],_0x545a46=window[_0x11098f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33de38[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33de38[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x48e490={..._0x3401c5,[_0x11098f([0x6a,0x74,0x69])]:_0x33de38[_0x11098f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33de38[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x48e490[_0x11098f([0x76,0x63])],_0x2337ca(_0x48e490)==_0x545a46;}}}async function _0x6201e5(){let _0x17dfd2=!0x0;try{const _0x4898c1=_0x4648db[_0x11098f([0x73,0x70,0x6c,0x69,0x74])](_0x11098f([0x2e])),[_0x558987,_0x3df8b5,_0x164b3b]=_0x4898c1;return _0x26eb33(_0x558987),await _0x346b43(_0x558987,_0x3df8b5,_0x164b3b),_0x17dfd2;}catch{return!0x1;}function _0x26eb33(_0x44f061){const _0x236377=_0x3fec02(_0x44f061);_0x236377&&_0x236377[_0x11098f([0x61,0x6c,0x67])]==_0x11098f([0x45,0x53,0x32,0x35,0x36])||(_0x17dfd2=!0x1);}async function _0x346b43(_0x5b55a3,_0x87f80b,_0x38d897){const _0x34c8c0=window[_0x11098f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x11098f([0x66,0x72,0x6f,0x6d])](_0x1fa8d2(_0x38d897),_0x26f8ee=>_0x26f8ee[_0x11098f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x82e3fa=new window[(_0x11098f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x11098f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x5b55a3+_0x11098f([0x2e])+_0x87f80b),_0x986ce1=window[_0x11098f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x11098f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x986ce1)return;const _0x14664a=await _0x986ce1[_0x11098f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x11098f([0x6a,0x77,0x6b]),_0x482ee2,{[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x45,0x43,0x44,0x53,0x41]),[_0x11098f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x11098f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x986ce1[_0x11098f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x45,0x43,0x44,0x53,0x41]),[_0x11098f([0x68,0x61,0x73,0x68])]:{[_0x11098f([0x6e,0x61,0x6d,0x65])]:_0x11098f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x14664a,_0x34c8c0,_0x82e3fa)||(_0x17dfd2=!0x1);}}function _0x3fec02(_0x5eaaa0){return _0x5eaaa0[_0x11098f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x11098f([0x65,0x79]))?JSON[_0x11098f([0x70,0x61,0x72,0x73,0x65])](_0x1fa8d2(_0x5eaaa0)):null;}function _0x1fa8d2(_0x27a990){return window[_0x11098f([0x61,0x74,0x6f,0x62])](_0x27a990[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x11098f([0x2b]))[_0x11098f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x11098f([0x2f])));}function _0x2337ca(_0x1aa2d0){let _0x53a0ba=0x1505;function _0x2f9c5f(_0x1b731c){for(let _0x8c921e=0x0;_0x8c921e<_0x1b731c[_0x11098f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x8c921e++){const _0x4bc3e2=_0x1b731c[_0x11098f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x8c921e);_0x53a0ba=(_0x53a0ba<<0x5)+_0x53a0ba+_0x4bc3e2,_0x53a0ba&=_0x53a0ba;}}function _0x3b0bdd(_0x23a993){Array[_0x11098f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x23a993)?_0x23a993[_0x11098f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3b0bdd):_0x23a993&&typeof _0x23a993==_0x11098f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x11098f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x23a993)[_0x11098f([0x73,0x6f,0x72,0x74])]()[_0x11098f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x146e51,_0x2fe637])=>{_0x2f9c5f(_0x146e51),_0x3b0bdd(_0x2fe637);}):_0x2f9c5f(window[_0x11098f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x23a993));}return _0x3b0bdd(_0x1aa2d0),_0x53a0ba>>>0x0;}function _0x469b01(_0x2488d2){return _0x2488d2[_0x11098f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x11098f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x11098f([0x30]));}function _0x2c1f36(_0x5b7aa6){return _0x5b7aa6[_0x11098f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x11098f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x11098f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1960f6(){}function _0x11098f(_0x50e821){return _0x50e821['map'](_0x1c3f2e=>String['fromCharCode'](_0x1c3f2e))['join']('');}_0x4fd4a3(await _0xcbc8c5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10f201){const {plugins:_0x476838,editing:_0x305d61,model:_0x4026cc}=this['editor'],_0x37ad68=_0x476838['get'](_0x570d5d)['getFootnote'](_0x10f201);return!!_0x37ad68&&(_0x4026cc['change'](_0x5a08c7=>{_0x5a08c7['setSelection'](_0x5a08c7['createPositionAt'](_0x37ad68['definition'],'end'));}),_0x305d61['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5525fc){const {plugins:_0x4ef959,editing:_0x159bf0,model:_0x5afe6c}=this['editor'],_0x1835cd=_0x4ef959['get'](_0x570d5d)['getFootnote'](_0x5525fc);return!!_0x1835cd&&(_0x5afe6c['change'](_0x2fb833=>{_0x2fb833['setSelection'](_0x1835cd['reference'],'on');}),_0x159bf0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x33189f}=this['editor']['model'],_0x33566f=this['editor']['config']['get']('footnotes.multiBlock');_0x33189f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x33189f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x33189f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x33566f?_0x33189f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x33189f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x33189f['addChildCheck'](_0x4f1bf1=>{for(const _0x30df87 of _0x4f1bf1)if('footnoteDefinition'===_0x30df87['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x596481}=this,{conversion:_0x3ca7d8,editing:_0x511dcd}=_0x596481,{t:t}=_0x596481['locale'];_0x3ca7d8['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x78afe5,{writer:_0x59b1af,consumable:_0x4b25dc})=>{const _0x22adcc=_0x78afe5['getChild'](0x0);if(!_0x22adcc||!_0x22adcc['is']('element','a'))return null;const _0xc03631=_0x22adcc['getAttribute']('href')||'';if(!_0xc03631['startsWith']('#'))return null;const _0x1daea6=_0xc03631['replace'](/^#/,'');if(!_0x1daea6)return null;_0x4b25dc['consume'](_0x22adcc,{'name':!0x0,'attributes':['href']});for(const {item:_0x134ea2}of _0x511dcd['view']['createRangeIn'](_0x22adcc))_0x134ea2['is']('$textProxy')?_0x4b25dc['consume'](_0x134ea2['textNode'],{'name':!0x0}):_0x134ea2['is']('element')&&_0x4b25dc['consume'](_0x134ea2,{'name':!0x0});return _0x59b1af['createElement']('footnoteRef',{'footnoteId':_0x1daea6});}}),_0x3ca7d8['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f3a69,{writer:_0x2d5b29})=>b(_0x4f3a69,_0x2d5b29)}),_0x3ca7d8['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x211396,{writer:_0x493e14})=>{const _0x588c35=_0x211396['getAttribute']('footnoteCounter');return _0x3e8240(b(_0x211396,_0x493e14),_0x493e14,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x588c35)});}});}['_defineDefinitionsConverters'](){const {editor:_0x9a76e2}=this,{t:t}=_0x9a76e2['locale'],{conversion:_0xc196f1}=_0x9a76e2;_0xc196f1['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xc196f1['for']('upcast')['add'](_0x2976a8=>{_0x2976a8['on']('element:ol',(_0xf950af,_0x376aa0,_0x206285)=>{const _0x353880=_0x376aa0['viewItem'];if(!_0x353880['hasClass']('footnotes-list')||!_0x376aa0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x206285['consumable']['consume'](_0x353880,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4d57bf,modelCursor:_0x51185f}=_0x206285['convertChildren'](_0x376aa0['viewItem'],_0x376aa0['modelCursor']);_0x376aa0['modelRange']=_0x4d57bf,_0x376aa0['modelCursor']=_0x51185f;}),_0x2976a8['on']('element:hr',(_0x4d6035,_0x487902,_0x42da11)=>{const _0x31828f=_0x487902['viewItem'];_0x31828f['hasClass']('footnotes-divider')&&_0x487902['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x42da11['consumable']['consume'](_0x31828f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xc196f1['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2c28d4,{writer:_0x402758})=>D(_0x402758)}),_0xc196f1['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x38cb46,{writer:_0x3af6bc})=>{const _0x5b799a=D(_0x3af6bc,{'data-footnotes-list-label':t('Footnotes')}),_0x50ba1b=_0x3e8240(_0x5b799a,_0x3af6bc,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3af6bc['setCustomProperty']('footnotesDefinitions',!0x0,_0x50ba1b),_0x50ba1b;}});}['_defineDefinitionConverters'](){const {editor:_0x117368}=this,{conversion:_0x37513f,locale:_0x37c0ee}=_0x117368,_0xe8697a=_0x117368['config']['get']('footnotes.multiBlock');_0x37513f['for']('upcast')['add'](_0x3f0fd9=>{_0x3f0fd9['on']('element:li',(_0x27d144,_0x1f5bff,_0x5b47f6)=>{const _0x2c06bd=_0x1f5bff['viewItem'];if(!_0x2c06bd['hasClass']('footnote-definition')||!_0x2c06bd['getAttribute']('id'))return;const _0x55d755=_0x2c06bd['parent'];if(!_0x55d755['is']('element','ol')||!_0x55d755['hasClass']('footnotes-list'))return;if(!_0x5b47f6['consumable']['test'](_0x2c06bd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5c9afe=_0x5b47f6['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2c06bd['getAttribute']('id')});if(!_0x5b47f6['safeInsert'](_0x5c9afe,_0x1f5bff['modelCursor']))return;_0x5b47f6['consumable']['consume'](_0x2c06bd,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2d2949=Array['from'](_0x2c06bd['getChildren']())['find'](_0x591776=>_0x591776['is']('element')&&_0x591776['hasClass']('footnote-content'));for(const _0xa31f87 of _0x2c06bd['getChildren']())_0xa31f87['is']('element')&&(_0x5b47f6['consumable']['consume'](_0xa31f87,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5b47f6['consumable']['consume'](_0xa31f87,{'name':!0x0,'classes':'footnote-content'}));if(_0x2d2949){if(_0xe8697a)_0x5b47f6['convertChildren'](_0x2d2949,_0x5c9afe);else{const _0x52f507=_0x5b47f6['writer']['createElement']('footnoteInlineContent');_0x5b47f6['writer']['insert'](_0x52f507,_0x5c9afe),_0x5b47f6['convertChildren'](_0x2d2949,_0x52f507);}}_0x5b47f6['updateConversionResult'](_0x5c9afe,_0x1f5bff);});}),_0x37513f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1c7282,{writer:_0x3e3e13})=>y(_0x1c7282,_0x3e3e13,_0x37c0ee,{'dataPipeline':!0x0})}),_0x37513f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x23f80d,{writer:_0x18fe39})=>y(_0x23f80d,_0x18fe39,_0x37c0ee)});}['_defineBogusParagraphConverters'](){const {editor:_0x35bc9e}=this,{conversion:_0x50acfa}=_0x35bc9e;_0x35bc9e['config']['get']('footnotes.multiBlock')?(_0x50acfa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x50acfa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35bc9e['model']['document'],'change:data',()=>{!function(_0xb509ac,_0x2fdc54){const _0x51cf8f=_0xb509ac['document']['differ'],_0x392c68=new Set();for(const _0x339c86 of _0x51cf8f['getChanges']()){const _0x36a184='attribute'==_0x339c86['type']?_0x339c86['range']['start']['parent']:_0x339c86['position']['parent'];_0x36a184['is']('element','footnoteDefinition')&&_0x392c68['add'](_0x36a184);}for(const _0x58305a of _0x392c68['values']()){const _0x2613b=Array['from'](_0x58305a['getChildren']())['filter'](_0x559d1=>v(_0x559d1,_0x2fdc54['mapper']));for(const _0x461943 of _0x2613b)_0x2fdc54['reconvertItem'](_0x461943);}}(_0x35bc9e['model'],_0x35bc9e['editing']);})):(_0x50acfa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x50acfa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x6b444d,{writer:_0x223c03})=>{const _0xa9b844=_0x223c03['createContainerElement']('span');return _0x223c03['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xa9b844),_0xa9b844;}}));}['_defineKeyboardHandlers'](){const {editor:_0x181537}=this,{editing:_0x2ccb0c,t:t}=_0x181537,_0x758fc2=_0x181537['model']['document']['selection'];_0x181537['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x181537['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2ccb0c['view']['document'],'enter',(_0x441b7d,_0x5450a3)=>{const _0x1b858f=function(_0x2985b2){const _0x528f3f=_0x2985b2['getSelectedElement']();if(_0x528f3f?.['is']('element','footnoteRef'))return _0x528f3f;return null;}(_0x758fc2);if(_0x1b858f){const _0x4bfaf1=_0x1b858f['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4bfaf1),_0x5450a3['preventDefault'](),_0x441b7d['stop']();}},{'context':_0xdadc05});}['_defineClickHandlers'](){const {editor:_0x1c1d4e}=this,{editing:_0x32c836}=_0x1c1d4e;_0x1c1d4e['editing']['view']['addObserver'](_0xdb65b8),_0x1c1d4e['editing']['view']['addObserver'](_0x5bcff3);let _0x49878e=!0x1;this['listenTo'](_0x32c836['view']['document'],'pointerdown',(_0x55ff9e,_0x1a6143)=>{const {target:_0x427785}=_0x1a6143,_0x185e67=_0x32c836['view']['document']['selection'];_0x49878e=!!(_0x427785?.['is']('element','a')&&_0x427785['parent']?.['is']('element','sup')&&_0x427785['parent']['hasClass']('footnote'))&&_0x185e67['getSelectedElement']()===_0x427785['parent'];},{'priority':'high'}),this['listenTo'](_0x32c836['view']['document'],'click',(_0x25e580,_0x22e5f3)=>{const {target:_0x9d7d1b}=_0x22e5f3;if(!_0x9d7d1b?.['is']('element','a'))return;if(_0x9d7d1b['parent']?.['is']('element','sup')&&_0x9d7d1b['parent']['hasClass']('footnote')&&!_0x49878e)return void _0x22e5f3['preventDefault']();let _0x8d9251=_0x9d7d1b['getAttribute']('href');if(!_0x8d9251?.['startsWith']('#'))return;_0x8d9251=_0x8d9251['slice'](0x1);let _0x5194b3=!0x1;(_0x8d9251['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x8d9251['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x8d9251))&&(_0x5194b3=!0x0),_0x5194b3&&(_0x22e5f3['preventDefault'](),_0x25e580['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4c9c84}={}){return(_0x4d78a6,{writer:_0x19cc6f})=>{if(!g(_0x4d78a6))return null;if(!_0x4c9c84)return _0x19cc6f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x36c7d4=_0x19cc6f['createContainerElement']('p');return _0x19cc6f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x36c7d4),_0x36c7d4;};}function g(_0x5a26ae){const {parent:_0x41870d}=_0x5a26ae;if(!_0x41870d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x41870d['childCount'])return!0x1;for(const _0x317f79 of _0x5a26ae['getAttributeKeys']())if(!_0x317f79['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x317f79)return!0x1;return!0x0;}function v(_0x3449f7,_0x286b38){if(!_0x3449f7['is']('element','paragraph'))return!0x1;const _0x4cf671=_0x286b38['toViewElement'](_0x3449f7);return!!_0x4cf671&&g(_0x3449f7)!==_0x4cf671['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x30aea7){return _0xdadc05(_0x30aea7)&&_0x30aea7['is']('containerElement')&&!!_0x30aea7['getCustomProperty']('footnotesDefinitions');}function D(_0x3abcce,_0x58bad1={}){const _0xba6dbf=_0x3abcce['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xf4899f=_0x3abcce['createContainerElement']('ol',{'class':'footnotes-list'},_0x3abcce['createSlot']());return _0x3abcce['createContainerElement']('div',{'class':'footnotes',..._0x58bad1},[_0xba6dbf,_0xf4899f]);}function b(_0x59a5dc,_0x234967){const _0x583298=_0x59a5dc['getAttribute']('footnoteId'),_0x30d721=_0x59a5dc['getAttribute']('footnoteCounter'),_0x222f61=_0x234967['createUIElement']('a',{'href':'#'+_0x583298},function(_0x3c4cb4){const _0x312b22=this['toDomElement'](_0x3c4cb4);return _0x312b22['textContent']=_0x30d721,_0x312b22;}),_0x3fd560=_0x234967['createContainerElement']('sup',{'id':'ref-'+_0x583298,'class':'footnote'},[_0x222f61]);return _0x3fd560['getFillerOffset']=()=>null,_0x3fd560;}function y(_0x1cd0b5,_0x5e65be,_0x5e6a65,{dataPipeline:_0x387fd1}={}){const {t:t}=_0x5e6a65,_0x29ac4c=_0x1cd0b5['getAttribute']('footnoteId'),_0x3a0379=_0x5e65be['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x29ac4c},function(_0x2cd07b){const _0xfa8cc2=this['toDomElement'](_0x2cd07b);return _0xfa8cc2['innerText']='^',_0xfa8cc2;}),_0x18e511=_0x387fd1?_0x5e65be['createContainerElement']('div',{'class':'footnote-content'}):_0x3ecac3(_0x5e65be['createEditableElement']('div',{'class':'footnote-content'}),_0x5e65be,{'label':t('Footnote\x20content.')});return _0x5e65be['insert'](_0x5e65be['createPositionAt'](_0x18e511,0x0),_0x5e65be['createSlot']()),_0x5e65be['createContainerElement']('li',{'class':'footnote-definition','id':_0x29ac4c},[_0x3a0379,_0x18e511]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x52f559=_0x4532;(function(_0x5c0d9f,_0x5b008f){const _0x354181=_0x4532,_0x446ae2=_0x5c0d9f();while(!![]){try{const _0x41adb5=-parseInt(_0x354181(0x1b6))/0x1+-parseInt(_0x354181(0x1c0))/0x2+parseInt(_0x354181(0x1ae))/0x3+parseInt(_0x354181(0x1ba))/0x4*(parseInt(_0x354181(0x1bf))/0x5)+parseInt(_0x354181(0x1ac))/0x6+parseInt(_0x354181(0x1bb))/0x7*(parseInt(_0x354181(0x1bd))/0x8)+-parseInt(_0x354181(0x1b4))/0x9;if(_0x41adb5===_0x5b008f)break;else _0x446ae2['push'](_0x446ae2['shift']());}catch(_0x34643f){_0x446ae2['push'](_0x446ae2['shift']());}}}(_0x2a8c,0xbfd4a));import{Command as _0x16f56c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3f611f}from'../../footnotestracker.js';function _0x4532(_0x137e62,_0x52df42){const _0x2a8c12=_0x2a8c();return _0x4532=function(_0x453215,_0x446ac0){_0x453215=_0x453215-0x1ab;let _0x57b79c=_0x2a8c12[_0x453215];return _0x57b79c;},_0x4532(_0x137e62,_0x52df42);}export class FootnotesStartCommand extends _0x16f56c{[_0x52f559(0x1b8)](){const _0x69301=_0x52f559,{editor:_0x36bd44}=this,_0x4a1636=_0x36bd44[_0x69301(0x1bc)][_0x69301(0x1b5)](_0x3f611f)[_0x69301(0x1b7)]();this[_0x69301(0x1c1)]=!!_0x4a1636,this[_0x69301(0x1b2)]=_0x4a1636?.[_0x69301(0x1b1)](_0x69301(0x1ad))??null;}[_0x52f559(0x1b9)]({value:_0x51a6dc}){const _0x5c395f=_0x52f559,{editor:_0x24f78c}=this,_0x504048=_0x24f78c[_0x5c395f(0x1bc)][_0x5c395f(0x1b5)](_0x3f611f),_0x34755c=_0x504048[_0x5c395f(0x1b7)]();_0x34755c&&Number[_0x5c395f(0x1be)](_0x51a6dc)&&_0x24f78c[_0x5c395f(0x1af)][_0x5c395f(0x1ab)](_0x3bf40d=>{const _0x1650a6=_0x5c395f;_0x3bf40d[_0x1650a6(0x1b0)](_0x1650a6(0x1ad),_0x51a6dc,_0x34755c),_0x504048[_0x1650a6(0x1b3)](_0x3bf40d);});}}function _0x2a8c(){const _0x395a97=['1179954SYZhqo','model','setAttribute','getAttribute','value','_updateFootnotesCounters','19310292dcZHZK','get','531929SSzcNG','getFootnotesDefinitionsObjectElement','refresh','execute','1683224sSMMHd','1253trpxdE','plugins','21544YGvFFh','isInteger','15GnkXoG','158936PxjZKw','isEnabled','change','8429640OPmBMQ','footnotesListStart'];_0x2a8c=function(){return _0x395a97;};return _0x2a8c();}
23
+ const _0x28f303=_0x1e70;function _0x1d3d(){const _0x2b7b1f=['change','refresh','isInteger','get','getFootnotesDefinitionsObjectElement','getAttribute','24VXJzls','2749572oVuVeo','2146916tzTIHX','1085611HEeDSM','setAttribute','2589534lIBzgD','9104056Jrxefo','value','1114795Yzqvcb','plugins','3LJbpoM','isEnabled','execute','_updateFootnotesCounters','2506284JeFZKV','footnotesListStart','model'];_0x1d3d=function(){return _0x2b7b1f;};return _0x1d3d();}(function(_0x1d0fc6,_0x188af8){const _0x5c246a=_0x1e70,_0xbf9037=_0x1d0fc6();while(!![]){try{const _0x35653c=-parseInt(_0x5c246a(0x182))/0x1+parseInt(_0x5c246a(0x181))/0x2+-parseInt(_0x5c246a(0x172))/0x3*(-parseInt(_0x5c246a(0x176))/0x4)+-parseInt(_0x5c246a(0x170))/0x5*(parseInt(_0x5c246a(0x17f))/0x6)+parseInt(_0x5c246a(0x180))/0x7+parseInt(_0x5c246a(0x16e))/0x8+-parseInt(_0x5c246a(0x16d))/0x9;if(_0x35653c===_0x188af8)break;else _0xbf9037['push'](_0xbf9037['shift']());}catch(_0xa73455){_0xbf9037['push'](_0xbf9037['shift']());}}}(_0x1d3d,0xebc1b));function _0x1e70(_0xdf4bd1,_0x5117c7){const _0x1d3de3=_0x1d3d();return _0x1e70=function(_0x1e7060,_0x3171ac){_0x1e7060=_0x1e7060-0x16c;let _0x57ae56=_0x1d3de3[_0x1e7060];return _0x57ae56;},_0x1e70(_0xdf4bd1,_0x5117c7);}import{Command as _0x70aa5d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x35d062}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x70aa5d{[_0x28f303(0x17a)](){const _0x43dcc6=_0x28f303,{editor:_0x4699ee}=this,_0x2f20d0=_0x4699ee[_0x43dcc6(0x171)][_0x43dcc6(0x17c)](_0x35d062)[_0x43dcc6(0x17d)]();this[_0x43dcc6(0x173)]=!!_0x2f20d0,this[_0x43dcc6(0x16f)]=_0x2f20d0?.[_0x43dcc6(0x17e)](_0x43dcc6(0x177))??null;}[_0x28f303(0x174)]({value:_0x41664}){const _0x1f8c7a=_0x28f303,{editor:_0x705a94}=this,_0x15e38a=_0x705a94[_0x1f8c7a(0x171)][_0x1f8c7a(0x17c)](_0x35d062),_0x254c16=_0x15e38a[_0x1f8c7a(0x17d)]();_0x254c16&&Number[_0x1f8c7a(0x17b)](_0x41664)&&_0x705a94[_0x1f8c7a(0x178)][_0x1f8c7a(0x179)](_0xf8e9a5=>{const _0x59e2c6=_0x1f8c7a;_0xf8e9a5[_0x59e2c6(0x16c)](_0x59e2c6(0x177),_0x41664,_0x254c16),_0x15e38a[_0x59e2c6(0x175)](_0xf8e9a5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x13001b=_0x52c7;(function(_0x129f74,_0x507dd5){const _0x1d79d5=_0x52c7,_0x33f460=_0x129f74();while(!![]){try{const _0x391d8d=parseInt(_0x1d79d5(0x175))/0x1*(parseInt(_0x1d79d5(0x174))/0x2)+-parseInt(_0x1d79d5(0x168))/0x3+-parseInt(_0x1d79d5(0x165))/0x4+-parseInt(_0x1d79d5(0x166))/0x5+parseInt(_0x1d79d5(0x172))/0x6+parseInt(_0x1d79d5(0x171))/0x7+parseInt(_0x1d79d5(0x16a))/0x8;if(_0x391d8d===_0x507dd5)break;else _0x33f460['push'](_0x33f460['shift']());}catch(_0x5786da){_0x33f460['push'](_0x33f460['shift']());}}}(_0x4a33,0x8d8ea));import{Command as _0x336119}from'ckeditor5/src/core.js';function _0x52c7(_0x5637fc,_0x269b19){const _0x4a33c0=_0x4a33();return _0x52c7=function(_0x52c799,_0x538944){_0x52c799=_0x52c799-0x161;let _0x126696=_0x4a33c0[_0x52c799];return _0x126696;},_0x52c7(_0x5637fc,_0x269b19);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x3881f2}from'../footnotespropertiesconfig.js';function _0x4a33(){const _0x529277=['4332312mtAfqV','model','getAttribute','getFootnotesDefinitionsObjectElement','includes','_updateFootnotesCounters','get','2502815JXWpQQ','4385832hxDhaK','footnotesListStyle','1764734vewIYK','1NojpiI','refresh','plugins','value','isEnabled','setAttribute','4636800anScsI','823915rzCTOR','execute','1825866MzXdzT','change'];_0x4a33=function(){return _0x529277;};return _0x4a33();}import{FootnotesTracker as _0x61f52f}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x336119{[_0x13001b(0x176)](){const _0x51908b=_0x13001b,{editor:_0x271595}=this,_0x2c8401=_0x271595[_0x51908b(0x161)][_0x51908b(0x170)](_0x61f52f)[_0x51908b(0x16d)]();this[_0x51908b(0x163)]=!!_0x2c8401,this[_0x51908b(0x162)]=_0x2c8401?.[_0x51908b(0x16c)](_0x51908b(0x173))??null;}[_0x13001b(0x167)]({value:_0x56b467}){const _0x238417=_0x13001b,{editor:_0x54f1ee}=this,_0x34e10a=_0x54f1ee[_0x238417(0x161)][_0x238417(0x170)](_0x61f52f),_0x4eff9d=_0x34e10a[_0x238417(0x16d)]();_0x4eff9d&&_0x3881f2[_0x238417(0x16e)](_0x56b467)&&_0x54f1ee[_0x238417(0x16b)][_0x238417(0x169)](_0x29aa3b=>{const _0x1c8c65=_0x238417;_0x29aa3b[_0x1c8c65(0x164)](_0x1c8c65(0x173),_0x56b467,_0x4eff9d),_0x34e10a[_0x1c8c65(0x16f)](_0x29aa3b);});}}
23
+ const _0x34dd60=_0x2a8c;(function(_0x4bef0b,_0x43f8a7){const _0xbe48fc=_0x2a8c,_0x2a3a58=_0x4bef0b();while(!![]){try{const _0x5e8051=parseInt(_0xbe48fc(0x121))/0x1+-parseInt(_0xbe48fc(0x125))/0x2*(parseInt(_0xbe48fc(0x11b))/0x3)+parseInt(_0xbe48fc(0x118))/0x4*(parseInt(_0xbe48fc(0x11c))/0x5)+parseInt(_0xbe48fc(0x122))/0x6*(-parseInt(_0xbe48fc(0x11a))/0x7)+parseInt(_0xbe48fc(0x111))/0x8*(parseInt(_0xbe48fc(0x115))/0x9)+-parseInt(_0xbe48fc(0x113))/0xa+parseInt(_0xbe48fc(0x116))/0xb;if(_0x5e8051===_0x43f8a7)break;else _0x2a3a58['push'](_0x2a3a58['shift']());}catch(_0x251ec9){_0x2a3a58['push'](_0x2a3a58['shift']());}}}(_0x33dd,0xbaf1c));import{Command as _0x3c289e}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x44e4d5}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x2fcf50}from'../../footnotestracker.js';function _0x33dd(){const _0x3543ca=['plugins','_updateFootnotesCounters','getAttribute','341444FTVKdg','30XvisGp','execute','change','2wStUqm','includes','setAttribute','isEnabled','footnotesListStyle','1285624EcJWJu','getFootnotesDefinitionsObjectElement','6079700mRljTs','value','9OIGfVN','9535559MbWPCz','model','16204sTvZID','refresh','116578JoSWVH','2494887eZswOM','1135yPeEaD','get'];_0x33dd=function(){return _0x3543ca;};return _0x33dd();}function _0x2a8c(_0x31af4e,_0x4a98e1){const _0x33dd91=_0x33dd();return _0x2a8c=function(_0x2a8cb5,_0x139cd6){_0x2a8cb5=_0x2a8cb5-0x110;let _0x41f79c=_0x33dd91[_0x2a8cb5];return _0x41f79c;},_0x2a8c(_0x31af4e,_0x4a98e1);}export class FootnotesStyleCommand extends _0x3c289e{[_0x34dd60(0x119)](){const _0x2cdc18=_0x34dd60,{editor:_0x509463}=this,_0x599a25=_0x509463[_0x2cdc18(0x11e)][_0x2cdc18(0x11d)](_0x2fcf50)[_0x2cdc18(0x112)]();this[_0x2cdc18(0x128)]=!!_0x599a25,this[_0x2cdc18(0x114)]=_0x599a25?.[_0x2cdc18(0x120)](_0x2cdc18(0x110))??null;}[_0x34dd60(0x123)]({value:_0x4d0655}){const _0x51246e=_0x34dd60,{editor:_0x54e2bf}=this,_0x137c13=_0x54e2bf[_0x51246e(0x11e)][_0x51246e(0x11d)](_0x2fcf50),_0x164e23=_0x137c13[_0x51246e(0x112)]();_0x164e23&&_0x44e4d5[_0x51246e(0x126)](_0x4d0655)&&_0x54e2bf[_0x51246e(0x117)][_0x51246e(0x124)](_0x2f5390=>{const _0x616058=_0x51246e;_0x2f5390[_0x616058(0x127)](_0x616058(0x110),_0x4d0655,_0x164e23),_0x137c13[_0x616058(0x11f)](_0x2f5390);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x588b98=_0x2744;function _0x5430(){const _0x42fd6a=['lower-alpha','70jOgChI','38058DfGjOz','3245232RdwFus','decimal','526339Gzbled','2091DgxtZk','474653jcpMYZ','upper-roman','1405670qVOqOE','1516atpnku','5232852zmtYFL','lower-latin','decimal-leading-zero','4QekAhu','lower-roman','upper-latin','364enEPot','upper-alpha'];_0x5430=function(){return _0x42fd6a;};return _0x5430();}(function(_0x13fc5c,_0xa064ac){const _0x4c18a2=_0x2744,_0x490750=_0x13fc5c();while(!![]){try{const _0x218c37=parseInt(_0x4c18a2(0x1d7))/0x1+-parseInt(_0x4c18a2(0x1c7))/0x2*(-parseInt(_0x4c18a2(0x1d6))/0x3)+-parseInt(_0x4c18a2(0x1cb))/0x4*(-parseInt(_0x4c18a2(0x1d9))/0x5)+parseInt(_0x4c18a2(0x1d2))/0x6*(parseInt(_0x4c18a2(0x1ce))/0x7)+-parseInt(_0x4c18a2(0x1d3))/0x8+-parseInt(_0x4c18a2(0x1c8))/0x9+-parseInt(_0x4c18a2(0x1d1))/0xa*(parseInt(_0x4c18a2(0x1d5))/0xb);if(_0x218c37===_0xa064ac)break;else _0x490750['push'](_0x490750['shift']());}catch(_0x3996c4){_0x490750['push'](_0x490750['shift']());}}}(_0x5430,0x47454));function _0x2744(_0x263503,_0x1d2347){const _0x543066=_0x5430();return _0x2744=function(_0x2744bf,_0x15c91a){_0x2744bf=_0x2744bf-0x1c7;let _0x417113=_0x543066[_0x2744bf];return _0x417113;},_0x2744(_0x263503,_0x1d2347);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x588b98(0x1d4),_0x588b98(0x1ca),_0x588b98(0x1c9),_0x588b98(0x1cd),_0x588b98(0x1d0),_0x588b98(0x1cf),_0x588b98(0x1cc),_0x588b98(0x1d8)];
23
+ function _0x2f5a(_0x52d210,_0x4fa959){const _0x383e8b=_0x383e();return _0x2f5a=function(_0x2f5ada,_0x2f78cf){_0x2f5ada=_0x2f5ada-0x1d4;let _0x41d2e7=_0x383e8b[_0x2f5ada];return _0x41d2e7;},_0x2f5a(_0x52d210,_0x4fa959);}const _0x510dee=_0x2f5a;function _0x383e(){const _0x565bbc=['decimal-leading-zero','1048forjmr','upper-latin','7764SIsESk','11qCgNWj','upper-roman','65lqHORW','lower-roman','18416RVzNxh','46819152PnMVfK','decimal','lower-latin','160956gUbgXw','upper-alpha','lower-alpha','3906taGbfu','5602830EuwMQL','9aDEfRW','2329453Koetkb','35718IHpiyw'];_0x383e=function(){return _0x565bbc;};return _0x383e();}(function(_0x52fea5,_0x4b5eb0){const _0x1cde4f=_0x2f5a,_0x269c0f=_0x52fea5();while(!![]){try{const _0x29e26b=-parseInt(_0x1cde4f(0x1df))/0x1*(parseInt(_0x1cde4f(0x1da))/0x2)+parseInt(_0x1cde4f(0x1e5))/0x3*(-parseInt(_0x1cde4f(0x1e3))/0x4)+-parseInt(_0x1cde4f(0x1d4))/0x5*(-parseInt(_0x1cde4f(0x1e1))/0x6)+-parseInt(_0x1cde4f(0x1e0))/0x7+-parseInt(_0x1cde4f(0x1d6))/0x8*(parseInt(_0x1cde4f(0x1dd))/0x9)+-parseInt(_0x1cde4f(0x1de))/0xa*(parseInt(_0x1cde4f(0x1e6))/0xb)+parseInt(_0x1cde4f(0x1d7))/0xc;if(_0x29e26b===_0x4b5eb0)break;else _0x269c0f['push'](_0x269c0f['shift']());}catch(_0xe2c2cf){_0x269c0f['push'](_0x269c0f['shift']());}}}(_0x383e,0xa71d1));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x510dee(0x1d8),_0x510dee(0x1e2),_0x510dee(0x1d9),_0x510dee(0x1e4),_0x510dee(0x1dc),_0x510dee(0x1db),_0x510dee(0x1d5),_0x510dee(0x1e7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x427b(){const _0x4cd89f=['footnotesListStyle','find','4942840lyHVfI','fromCharCode','editor','75736beoTBy','isOfficialPlugin','footnotes.footnotesProperties.defaultListStyle','floor','isPremiumPlugin','type','_getDefaultListStyle','element:ol','name','_defineFormatter','lower-latin','writer','get','81cNoOiw','config','getChanges','createRangeOn','commands','start','_defineSchema','upper-roman','1224767sDTlCY','schema','removeStyle','8842932eGWUjO','_definePostfixer','document','consumable','extend','removeAttribute','footnotesListStart','mapper','setAttribute','lower-alpha','footnotes.footnotesProperties.defaultStartIndex','FootnotesPropertiesEditing','padStart','3067911eYmYFj','upper-alpha','toViewElement','footnotesDefinitions','registerPostFixer','_defineConverters','isNaN','upcast','268279CtUXgd','modelCursor','differ','footnotesStyle','decimal-leading-zero','downcast','_formatFootnoteListValue','_getDefaultStartIndex','viewItem','lower-roman','define','attribute:footnotesListStart:footnotesDefinitions','insert','from','setStyle','pluginName','getAttribute','model','footnotes-list','parseInt','290MTXlMa','consume','getChildren','for','hasAttribute','toUpperCase','getStyle','max','plugins','hasClass','list-style-type','nodeAfter','init','getItems','$text','attribute:footnotesListStyle:footnotesDefinitions','element','upper-latin','decimal','position','item','4402578DjKoTG','setFootnoteFormatter','2butkdE','checkAttribute','footnotesStart','toLowerCase','5lEPyZs','parent','_updateFootnotesCounters','add','requires','24BKRMbn'];_0x427b=function(){return _0x4cd89f;};return _0x427b();}function _0x2d0c(_0x3caa9e,_0x5bb00e){const _0x427bee=_0x427b();return _0x2d0c=function(_0x2d0c5e,_0x5ccb5c){_0x2d0c5e=_0x2d0c5e-0xfc;let _0x3ce410=_0x427bee[_0x2d0c5e];return _0x3ce410;},_0x2d0c(_0x3caa9e,_0x5bb00e);}const _0x26b352=_0x2d0c;(function(_0x130159,_0x5b4191){const _0x180da8=_0x2d0c,_0xd8cb1e=_0x130159();while(!![]){try{const _0x1f812b=-parseInt(_0x180da8(0x13c))/0x1*(-parseInt(_0x180da8(0x118))/0x2)+-parseInt(_0x180da8(0x134))/0x3*(-parseInt(_0x180da8(0x127))/0x4)+parseInt(_0x180da8(0x11c))/0x5*(parseInt(_0x180da8(0x116))/0x6)+-parseInt(_0x180da8(0x124))/0x7+parseInt(_0x180da8(0x121))/0x8*(-parseInt(_0x180da8(0x14c))/0x9)+-parseInt(_0x180da8(0x101))/0xa*(parseInt(_0x180da8(0x154))/0xb)+parseInt(_0x180da8(0x13f))/0xc;if(_0x1f812b===_0x5b4191)break;else _0xd8cb1e['push'](_0xd8cb1e['shift']());}catch(_0x5a81cb){_0xd8cb1e['push'](_0xd8cb1e['shift']());}}}(_0x427b,0xbc23d));import{Plugin as _0x5a73b8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x55a11e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x340f35}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x335d6d}from'../footnotestracker.js';import{FootnotesEditing as _0x318af1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5a73b8{static get[_0x26b352(0xfc)](){const _0x291bb7=_0x26b352;return _0x291bb7(0x14a);}static get[_0x26b352(0x120)](){return[_0x318af1,_0x335d6d];}static get[_0x26b352(0x128)](){return!0x0;}static get[_0x26b352(0x12b)](){return!0x0;}[_0x26b352(0x10d)](){const _0x34562c=_0x26b352,{editor:_0x58cba0}=this;_0x58cba0[_0x34562c(0x135)][_0x34562c(0x15e)](_0x34562c(0x129),_0x34562c(0x113)),_0x58cba0[_0x34562c(0x135)][_0x34562c(0x15e)](_0x34562c(0x149),0x1),_0x58cba0[_0x34562c(0x138)][_0x34562c(0x11f)](_0x34562c(0x157),new _0x55a11e(_0x58cba0)),_0x58cba0[_0x34562c(0x138)][_0x34562c(0x11f)](_0x34562c(0x11a),new _0x340f35(_0x58cba0)),this[_0x34562c(0x13a)](),this[_0x34562c(0x151)](),this[_0x34562c(0x130)](),this[_0x34562c(0x140)]();}[_0x26b352(0x13a)](){const _0x4d2432=_0x26b352,{editor:_0x542023}=this,{schema:_0x18ff5e}=_0x542023[_0x4d2432(0xfe)];_0x18ff5e[_0x4d2432(0x143)](_0x4d2432(0x14f),{'allowAttributes':[_0x4d2432(0x122),_0x4d2432(0x145)]});}[_0x26b352(0x151)](){const _0x2fc69c=_0x26b352,{editor:_0xacf49a}=this,{conversion:_0x50125c,model:_0x3bc446}=_0xacf49a,{schema:_0x2b2322}=_0x3bc446;_0x50125c[_0x2fc69c(0x104)](_0x2fc69c(0x153))[_0x2fc69c(0x11f)](_0x270db5=>{const _0x20236b=_0x2fc69c;_0x270db5['on'](_0x20236b(0x12e),(_0x4c2315,_0x17d091,_0x3f4cbb)=>{const _0x16b0c1=_0x20236b,_0x2d5021=_0x17d091[_0x16b0c1(0x15c)],_0x2c31df=_0x17d091[_0x16b0c1(0x155)]?.[_0x16b0c1(0x11d)];_0x2d5021[_0x16b0c1(0x10a)](_0x16b0c1(0xff))&&_0x2c31df?.['is'](_0x16b0c1(0x111),_0x16b0c1(0x14f))&&(function(_0x1900ea,_0x36a87e,_0x19b472,_0x490b4a){const _0x14d741=_0x16b0c1;if(!_0x490b4a[_0x14d741(0x119)](_0x36a87e,_0x14d741(0x145)))return;let _0x4fecc2=0x1;const _0x50cfea=_0x19b472[_0x14d741(0x142)][_0x14d741(0x102)](_0x1900ea,{'attributes':_0x14d741(0x139)});if(_0x50cfea){const _0x525ac8=Number[_0x14d741(0x100)](_0x1900ea[_0x14d741(0xfd)](_0x14d741(0x139)),0xa);Number[_0x14d741(0x152)](_0x525ac8)||(_0x4fecc2=_0x525ac8);}!_0x50cfea&&_0x36a87e[_0x14d741(0x105)](_0x14d741(0x145))||_0x19b472[_0x14d741(0x132)][_0x14d741(0x147)](_0x14d741(0x145),_0x4fecc2,_0x36a87e);}(_0x2d5021,_0x2c31df,_0x3f4cbb,_0x2b2322),function(_0x29db46,_0x2290a5,_0x42cc1e,_0x121c2b){const _0x3c5985=_0x16b0c1;if(!_0x121c2b[_0x3c5985(0x119)](_0x2290a5,_0x3c5985(0x122)))return;let _0x26e5d0=_0x3c5985(0x113),_0x56e2a9=!0x1;if(_0x42cc1e[_0x3c5985(0x142)][_0x3c5985(0x102)](_0x29db46,{'attributes':_0x3c5985(0x12c)})){const _0x1fc895={0x1:_0x3c5985(0x113),'a':_0x3c5985(0x148),'A':_0x3c5985(0x14d),'i':_0x3c5985(0x15d),'I':_0x3c5985(0x13b)}[_0x29db46[_0x3c5985(0xfd)](_0x3c5985(0x12c))];_0x1fc895&&(_0x26e5d0=_0x1fc895),_0x56e2a9=!0x0;}_0x42cc1e[_0x3c5985(0x142)][_0x3c5985(0x102)](_0x29db46,{'styles':_0x3c5985(0x10b)})&&(_0x26e5d0=function(_0xd21f87){const _0x2232fb=_0x3c5985;switch(_0xd21f87){case _0x2232fb(0x148):return _0x2232fb(0x131);case _0x2232fb(0x14d):return _0x2232fb(0x112);default:return _0xd21f87;}}(_0x29db46[_0x3c5985(0x107)](_0x3c5985(0x10b))),_0x56e2a9=!0x0),!_0x56e2a9&&_0x2290a5[_0x3c5985(0x105)](_0x3c5985(0x122))||_0x42cc1e[_0x3c5985(0x132)][_0x3c5985(0x147)](_0x3c5985(0x122),_0x26e5d0,_0x2290a5);}(_0x2d5021,_0x2c31df,_0x3f4cbb,_0x2b2322));});}),_0x50125c[_0x2fc69c(0x104)](_0x2fc69c(0x159))[_0x2fc69c(0x11f)](_0x4281f9=>{const _0x411e31=_0x2fc69c;_0x4281f9['on'](_0x411e31(0x15f),(_0x10ec9e,_0x1e707c,_0x272812)=>{const _0x1b99f4=_0x411e31;if(!_0x272812[_0x1b99f4(0x142)][_0x1b99f4(0x102)](_0x1e707c[_0x1b99f4(0x115)],_0x10ec9e[_0x1b99f4(0x12f)]))return;const _0x4a8637=M(_0x1e707c[_0x1b99f4(0x115)],_0x272812[_0x1b99f4(0x146)]),{attributeNewValue:_0x248217}=_0x1e707c;null==_0x248217||0x1===_0x248217?_0x272812[_0x1b99f4(0x132)][_0x1b99f4(0x144)](_0x1b99f4(0x139),_0x4a8637):_0x272812[_0x1b99f4(0x132)][_0x1b99f4(0x147)](_0x1b99f4(0x139),String(_0x248217),_0x4a8637);}),_0x4281f9['on'](_0x411e31(0x110),(_0x4f5cc4,_0x5b5f90,_0x2568ea)=>{const _0x50fc51=_0x411e31;if(!_0x2568ea[_0x50fc51(0x142)][_0x50fc51(0x102)](_0x5b5f90[_0x50fc51(0x115)],_0x4f5cc4[_0x50fc51(0x12f)]))return;const _0x1e912f=M(_0x5b5f90[_0x50fc51(0x115)],_0x2568ea[_0x50fc51(0x146)]),{attributeNewValue:_0x503965}=_0x5b5f90;_0x503965&&_0x50fc51(0x113)!==_0x503965?_0x2568ea[_0x50fc51(0x132)][_0x50fc51(0x162)](_0x50fc51(0x10b),_0x503965,_0x1e912f):_0x2568ea[_0x50fc51(0x132)][_0x50fc51(0x13e)](_0x50fc51(0x10b),_0x1e912f);});});}[_0x26b352(0x140)](){const _0x2ccf59=_0x26b352,{editor:_0x232c4b}=this,{model:_0x4756e0}=_0x232c4b,_0x244105=_0x232c4b[_0x2ccf59(0x109)][_0x2ccf59(0x133)](_0x335d6d),_0x11b913=this[_0x2ccf59(0x12d)](),_0x2a9826=this[_0x2ccf59(0x15b)]();_0x4756e0[_0x2ccf59(0x141)][_0x2ccf59(0x150)](_0x35cd55=>{const _0x3969b7=_0x2ccf59,_0x45db16=_0x4756e0[_0x3969b7(0x141)][_0x3969b7(0x156)][_0x3969b7(0x136)]();let _0x10046e=!0x1;for(const _0x540ed7 of _0x45db16){if(_0x3969b7(0x160)!==_0x540ed7[_0x3969b7(0x12c)]||_0x3969b7(0x10f)===_0x540ed7[_0x3969b7(0x12f)])continue;const _0x225ba0=_0x4756e0[_0x3969b7(0x137)](_0x540ed7[_0x3969b7(0x114)][_0x3969b7(0x10c)]);for(const _0x4508f4 of _0x225ba0[_0x3969b7(0x10e)]())_0x4508f4['is'](_0x3969b7(0x111),_0x3969b7(0x14f))&&(!_0x4508f4[_0x3969b7(0x105)](_0x3969b7(0x145))&&_0x4756e0[_0x3969b7(0x13d)][_0x3969b7(0x119)](_0x4508f4,_0x3969b7(0x145))&&(_0x35cd55[_0x3969b7(0x147)](_0x3969b7(0x145),_0x2a9826,_0x4508f4),_0x10046e=!0x0),!_0x4508f4[_0x3969b7(0x105)](_0x3969b7(0x122))&&_0x4756e0[_0x3969b7(0x13d)][_0x3969b7(0x119)](_0x4508f4,_0x3969b7(0x122))&&(_0x35cd55[_0x3969b7(0x147)](_0x3969b7(0x122),_0x11b913,_0x4508f4),_0x10046e=!0x0));}return _0x10046e&&_0x244105[_0x3969b7(0x11e)](_0x35cd55),_0x10046e;});}[_0x26b352(0x130)](){const _0x56258c=_0x26b352,{editor:_0x3da900}=this;_0x3da900[_0x56258c(0x109)][_0x56258c(0x133)](_0x335d6d)[_0x56258c(0x117)](_0x36f81c=>this[_0x56258c(0x15a)](_0x36f81c));}[_0x26b352(0x12d)](){const _0xd7e99f=_0x26b352;return this[_0xd7e99f(0x126)][_0xd7e99f(0x135)][_0xd7e99f(0x133)](_0xd7e99f(0x129));}[_0x26b352(0x15b)](){const _0x3182d9=_0x26b352;return this[_0x3182d9(0x126)][_0x3182d9(0x135)][_0x3182d9(0x133)](_0x3182d9(0x149));}[_0x26b352(0x15a)]({container:_0x144bf5,value:_0x16b92f,digits:_0x1910e3}){const _0x1a2eeb=_0x26b352,_0x26af3c=_0x144bf5[_0x1a2eeb(0xfd)](_0x1a2eeb(0x122)),_0x375bfc=_0x144bf5[_0x1a2eeb(0xfd)](_0x1a2eeb(0x145)),_0x27646f=Math[_0x1a2eeb(0x12a)](_0x16b92f)+(_0x375bfc??0x1)-0x1;switch(_0x26af3c){case _0x1a2eeb(0x158):return function(_0x48d2d8,_0x18b110){const _0x2d241c=_0x1a2eeb;return String(_0x48d2d8)[_0x2d241c(0x14b)](_0x18b110,'0');}(_0x27646f,Math[_0x1a2eeb(0x108)](0x2,_0x1910e3));case _0x1a2eeb(0x148):case _0x1a2eeb(0x131):return N(_0x27646f,!0x1);case _0x1a2eeb(0x14d):case _0x1a2eeb(0x112):return N(_0x27646f,!0x0);case _0x1a2eeb(0x15d):return X(_0x27646f,!0x1);case _0x1a2eeb(0x13b):return X(_0x27646f,!0x0);default:return String(_0x27646f);}}}function M(_0x4a4e84,_0x27ae9b){const _0x588e35=_0x26b352,_0x27b957=_0x27ae9b[_0x588e35(0x14e)](_0x4a4e84);return Array[_0x588e35(0x161)](_0x27b957[_0x588e35(0x103)]())[_0x588e35(0x123)](_0x456a56=>_0x456a56['is'](_0x588e35(0x111),'ol')&&_0x456a56[_0x588e35(0x10a)](_0x588e35(0xff)));}function N(_0x5d0cc4,_0x1eb1f1){const _0x5025e8=_0x26b352;let _0x1636e0='',_0x3e3e05=_0x5d0cc4;for(;_0x3e3e05>0x0;){const _0x1bd07d=(_0x3e3e05-0x1)%0x1a;_0x1636e0=String[_0x5025e8(0x125)](0x61+_0x1bd07d)+_0x1636e0,_0x3e3e05=Math[_0x5025e8(0x12a)]((_0x3e3e05-0x1)/0x1a);}return _0x1eb1f1?_0x1636e0[_0x5025e8(0x106)]():_0x1636e0;}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(_0x5c368d,_0x51ecee){const _0x29a5ab=_0x26b352;let _0x26c51f='',_0x1ce97f=_0x5c368d;for(const {value:_0x24a541,numeral:_0x205390}of V)for(;_0x1ce97f>=_0x24a541;)_0x26c51f+=_0x205390,_0x1ce97f-=_0x24a541;return _0x51ecee?_0x26c51f:_0x26c51f[_0x29a5ab(0x11b)]();}
23
+ const _0xbfb6dc=_0x4b39;(function(_0xce5699,_0xb59de2){const _0x4eed3b=_0x4b39,_0xea3c07=_0xce5699();while(!![]){try{const _0x2a852f=parseInt(_0x4eed3b(0xd7))/0x1*(-parseInt(_0x4eed3b(0x86))/0x2)+parseInt(_0x4eed3b(0x9a))/0x3*(parseInt(_0x4eed3b(0x8c))/0x4)+-parseInt(_0x4eed3b(0x8e))/0x5*(parseInt(_0x4eed3b(0x7d))/0x6)+parseInt(_0x4eed3b(0xb8))/0x7+parseInt(_0x4eed3b(0x94))/0x8*(parseInt(_0x4eed3b(0xa7))/0x9)+-parseInt(_0x4eed3b(0x9f))/0xa+parseInt(_0x4eed3b(0xcb))/0xb*(parseInt(_0x4eed3b(0xca))/0xc);if(_0x2a852f===_0xb59de2)break;else _0xea3c07['push'](_0xea3c07['shift']());}catch(_0xa93cc0){_0xea3c07['push'](_0xea3c07['shift']());}}}(_0x5b32,0xef93b));import{Plugin as _0x307304}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x424b41}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x20b4d9}from'./commands/footnotesstartcommand.js';function _0x4b39(_0x765394,_0x118ed8){const _0x5b3288=_0x5b32();return _0x4b39=function(_0x4b39ba,_0x17706a){_0x4b39ba=_0x4b39ba-0x78;let _0x5bd7b5=_0x5b3288[_0x4b39ba];return _0x5bd7b5;},_0x4b39(_0x765394,_0x118ed8);}import{FootnotesTracker as _0x362386}from'../footnotestracker.js';import{FootnotesEditing as _0x317dba}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x307304{static get[_0xbfb6dc(0xc5)](){const _0x23acde=_0xbfb6dc;return _0x23acde(0xa2);}static get[_0xbfb6dc(0xc1)](){return[_0x317dba,_0x362386];}static get[_0xbfb6dc(0x9b)](){return!0x0;}static get[_0xbfb6dc(0xb6)](){return!0x0;}[_0xbfb6dc(0xd6)](){const _0x26151f=_0xbfb6dc,{editor:_0x29719f}=this;_0x29719f[_0x26151f(0xa8)][_0x26151f(0xb2)](_0x26151f(0xc2),_0x26151f(0xc6)),_0x29719f[_0x26151f(0xa8)][_0x26151f(0xb2)](_0x26151f(0xc3),0x1),_0x29719f[_0x26151f(0x7c)][_0x26151f(0x87)](_0x26151f(0x89),new _0x424b41(_0x29719f)),_0x29719f[_0x26151f(0x7c)][_0x26151f(0x87)](_0x26151f(0xa6),new _0x20b4d9(_0x29719f)),this[_0x26151f(0x7e)](),this[_0x26151f(0xb5)](),this[_0x26151f(0x99)](),this[_0x26151f(0xdc)]();}[_0xbfb6dc(0x7e)](){const _0x427cd8=_0xbfb6dc,{editor:_0x111faa}=this,{schema:_0x2cab00}=_0x111faa[_0x427cd8(0xd8)];_0x2cab00[_0x427cd8(0x7b)](_0x427cd8(0x95),{'allowAttributes':[_0x427cd8(0xc4),_0x427cd8(0x90)]});}[_0xbfb6dc(0xb5)](){const _0x5798b1=_0xbfb6dc,{editor:_0xd3ed61}=this,{conversion:_0x2bc7e6,model:_0x11e4b0}=_0xd3ed61,{schema:_0x33c75f}=_0x11e4b0;_0x2bc7e6[_0x5798b1(0xa0)](_0x5798b1(0xbf))[_0x5798b1(0x87)](_0x932acd=>{const _0x23719d=_0x5798b1;_0x932acd['on'](_0x23719d(0xbc),(_0x1d31c0,_0x3aab12,_0x1aeda0)=>{const _0x18c3db=_0x23719d,_0x495b76=_0x3aab12[_0x18c3db(0x8f)],_0x138a4a=_0x3aab12[_0x18c3db(0xbd)]?.[_0x18c3db(0x93)];_0x495b76[_0x18c3db(0x8b)](_0x18c3db(0xc0))&&_0x138a4a?.['is'](_0x18c3db(0xa3),_0x18c3db(0x95))&&(function(_0x24de0d,_0x20db9c,_0x595185,_0x503bcc){const _0xf9ed73=_0x18c3db;if(!_0x503bcc[_0xf9ed73(0xcd)](_0x20db9c,_0xf9ed73(0x90)))return;let _0x4e4bb4=0x1;const _0x17ca80=_0x595185[_0xf9ed73(0xa5)][_0xf9ed73(0x92)](_0x24de0d,{'attributes':_0xf9ed73(0xd2)});if(_0x17ca80){const _0x3ff0cf=Number[_0xf9ed73(0xdb)](_0x24de0d[_0xf9ed73(0xaa)](_0xf9ed73(0xd2)),0xa);Number[_0xf9ed73(0xbb)](_0x3ff0cf)||(_0x4e4bb4=_0x3ff0cf);}!_0x17ca80&&_0x20db9c[_0xf9ed73(0xcf)](_0xf9ed73(0x90))||_0x595185[_0xf9ed73(0xab)][_0xf9ed73(0xcc)](_0xf9ed73(0x90),_0x4e4bb4,_0x20db9c);}(_0x495b76,_0x138a4a,_0x1aeda0,_0x33c75f),function(_0x82b4f4,_0x552516,_0x3dbc9e,_0x44d6cb){const _0x45d7d4=_0x18c3db;if(!_0x44d6cb[_0x45d7d4(0xcd)](_0x552516,_0x45d7d4(0xc4)))return;let _0x4c4425=_0x45d7d4(0xc6),_0x3cee42=!0x1;if(_0x3dbc9e[_0x45d7d4(0xa5)][_0x45d7d4(0x92)](_0x82b4f4,{'attributes':_0x45d7d4(0xce)})){const _0x1052c6={0x1:_0x45d7d4(0xc6),'a':_0x45d7d4(0x82),'A':_0x45d7d4(0x9e),'i':_0x45d7d4(0xd1),'I':_0x45d7d4(0xd4)}[_0x82b4f4[_0x45d7d4(0xaa)](_0x45d7d4(0xce))];_0x1052c6&&(_0x4c4425=_0x1052c6),_0x3cee42=!0x0;}_0x3dbc9e[_0x45d7d4(0xa5)][_0x45d7d4(0x92)](_0x82b4f4,{'styles':_0x45d7d4(0xa4)})&&(_0x4c4425=function(_0x29a221){const _0x4cbc3d=_0x45d7d4;switch(_0x29a221){case _0x4cbc3d(0x82):return _0x4cbc3d(0xae);case _0x4cbc3d(0x9e):return _0x4cbc3d(0xb4);default:return _0x29a221;}}(_0x82b4f4[_0x45d7d4(0xd3)](_0x45d7d4(0xa4))),_0x3cee42=!0x0),!_0x3cee42&&_0x552516[_0x45d7d4(0xcf)](_0x45d7d4(0xc4))||_0x3dbc9e[_0x45d7d4(0xab)][_0x45d7d4(0xcc)](_0x45d7d4(0xc4),_0x4c4425,_0x552516);}(_0x495b76,_0x138a4a,_0x1aeda0,_0x33c75f));});}),_0x2bc7e6[_0x5798b1(0xa0)](_0x5798b1(0x91))[_0x5798b1(0x87)](_0x16f783=>{const _0x309730=_0x5798b1;_0x16f783['on'](_0x309730(0x9d),(_0xc1899d,_0x34847b,_0x3bd73d)=>{const _0x13c5b8=_0x309730;if(!_0x3bd73d[_0x13c5b8(0xa5)][_0x13c5b8(0x92)](_0x34847b[_0x13c5b8(0x84)],_0xc1899d[_0x13c5b8(0xdd)]))return;const _0x4d2519=M(_0x34847b[_0x13c5b8(0x84)],_0x3bd73d[_0x13c5b8(0xb9)]),{attributeNewValue:_0x3332f7}=_0x34847b;null==_0x3332f7||0x1===_0x3332f7?_0x3bd73d[_0x13c5b8(0xab)][_0x13c5b8(0xaf)](_0x13c5b8(0xd2),_0x4d2519):_0x3bd73d[_0x13c5b8(0xab)][_0x13c5b8(0xcc)](_0x13c5b8(0xd2),String(_0x3332f7),_0x4d2519);}),_0x16f783['on'](_0x309730(0x78),(_0x21db54,_0x3cbfde,_0x559974)=>{const _0x1d57a6=_0x309730;if(!_0x559974[_0x1d57a6(0xa5)][_0x1d57a6(0x92)](_0x3cbfde[_0x1d57a6(0x84)],_0x21db54[_0x1d57a6(0xdd)]))return;const _0x6c5df1=M(_0x3cbfde[_0x1d57a6(0x84)],_0x559974[_0x1d57a6(0xb9)]),{attributeNewValue:_0x2844d2}=_0x3cbfde;_0x2844d2&&_0x1d57a6(0xc6)!==_0x2844d2?_0x559974[_0x1d57a6(0xab)][_0x1d57a6(0xd0)](_0x1d57a6(0xa4),_0x2844d2,_0x6c5df1):_0x559974[_0x1d57a6(0xab)][_0x1d57a6(0xd9)](_0x1d57a6(0xa4),_0x6c5df1);});});}[_0xbfb6dc(0xdc)](){const _0x2243ff=_0xbfb6dc,{editor:_0x46966b}=this,{model:_0x3b4a6a}=_0x46966b,_0x50d917=_0x46966b[_0x2243ff(0xb7)][_0x2243ff(0xbe)](_0x362386),_0xb437b8=this[_0x2243ff(0x81)](),_0xe4c547=this[_0x2243ff(0x8a)]();_0x3b4a6a[_0x2243ff(0x80)][_0x2243ff(0xda)](_0x3312c5=>{const _0x543c85=_0x2243ff,_0x168354=_0x3b4a6a[_0x543c85(0x80)][_0x543c85(0xd5)][_0x543c85(0x85)]();let _0xf5647e=!0x1;for(const _0x3d41aa of _0x168354){if(_0x543c85(0xc8)!==_0x3d41aa[_0x543c85(0xce)]||_0x543c85(0x8d)===_0x3d41aa[_0x543c85(0xdd)])continue;const _0x41a105=_0x3b4a6a[_0x543c85(0xb3)](_0x3d41aa[_0x543c85(0x96)][_0x543c85(0x98)]);for(const _0xeb19cd of _0x41a105[_0x543c85(0xc9)]())_0xeb19cd['is'](_0x543c85(0xa3),_0x543c85(0x95))&&(!_0xeb19cd[_0x543c85(0xcf)](_0x543c85(0x90))&&_0x3b4a6a[_0x543c85(0x97)][_0x543c85(0xcd)](_0xeb19cd,_0x543c85(0x90))&&(_0x3312c5[_0x543c85(0xcc)](_0x543c85(0x90),_0xe4c547,_0xeb19cd),_0xf5647e=!0x0),!_0xeb19cd[_0x543c85(0xcf)](_0x543c85(0xc4))&&_0x3b4a6a[_0x543c85(0x97)][_0x543c85(0xcd)](_0xeb19cd,_0x543c85(0xc4))&&(_0x3312c5[_0x543c85(0xcc)](_0x543c85(0xc4),_0xb437b8,_0xeb19cd),_0xf5647e=!0x0));}return _0xf5647e&&_0x50d917[_0x543c85(0xad)](_0x3312c5),_0xf5647e;});}[_0xbfb6dc(0x99)](){const _0x59fc3c=_0xbfb6dc,{editor:_0x10b1d9}=this;_0x10b1d9[_0x59fc3c(0xb7)][_0x59fc3c(0xbe)](_0x362386)[_0x59fc3c(0xc7)](_0x32fae5=>this[_0x59fc3c(0x9c)](_0x32fae5));}[_0xbfb6dc(0x81)](){const _0x35918f=_0xbfb6dc;return this[_0x35918f(0xde)][_0x35918f(0xa8)][_0x35918f(0xbe)](_0x35918f(0xc2));}[_0xbfb6dc(0x8a)](){const _0x1a9e26=_0xbfb6dc;return this[_0x1a9e26(0xde)][_0x1a9e26(0xa8)][_0x1a9e26(0xbe)](_0x1a9e26(0xc3));}[_0xbfb6dc(0x9c)]({container:_0x5b164f,value:_0x3739c7,digits:_0x333ab7}){const _0x169d1a=_0xbfb6dc,_0x2d78e0=_0x5b164f[_0x169d1a(0xaa)](_0x169d1a(0xc4)),_0x17b1a1=_0x5b164f[_0x169d1a(0xaa)](_0x169d1a(0x90)),_0x5a5d7a=Math[_0x169d1a(0x83)](_0x3739c7)+(_0x17b1a1??0x1)-0x1;switch(_0x2d78e0){case _0x169d1a(0xb0):return function(_0x570bf9,_0x2e9845){const _0x3b1f19=_0x169d1a;return String(_0x570bf9)[_0x3b1f19(0x88)](_0x2e9845,'0');}(_0x5a5d7a,Math[_0x169d1a(0xb1)](0x2,_0x333ab7));case _0x169d1a(0x82):case _0x169d1a(0xae):return N(_0x5a5d7a,!0x1);case _0x169d1a(0x9e):case _0x169d1a(0xb4):return N(_0x5a5d7a,!0x0);case _0x169d1a(0xd1):return X(_0x5a5d7a,!0x1);case _0x169d1a(0xd4):return X(_0x5a5d7a,!0x0);default:return String(_0x5a5d7a);}}}function M(_0x58fd5e,_0x1b51dd){const _0x4b1a6f=_0xbfb6dc,_0x36d9ac=_0x1b51dd[_0x4b1a6f(0xba)](_0x58fd5e);return Array[_0x4b1a6f(0x7f)](_0x36d9ac[_0x4b1a6f(0xa9)]())[_0x4b1a6f(0x7a)](_0x21369c=>_0x21369c['is'](_0x4b1a6f(0xa3),'ol')&&_0x21369c[_0x4b1a6f(0x8b)](_0x4b1a6f(0xc0)));}function N(_0x4f77e7,_0x3d4a39){const _0x535a94=_0xbfb6dc;let _0x412f80='',_0x5d48a8=_0x4f77e7;for(;_0x5d48a8>0x0;){const _0x5320ef=(_0x5d48a8-0x1)%0x1a;_0x412f80=String[_0x535a94(0xac)](0x61+_0x5320ef)+_0x412f80,_0x5d48a8=Math[_0x535a94(0x83)]((_0x5d48a8-0x1)/0x1a);}return _0x3d4a39?_0x412f80[_0x535a94(0xa1)]():_0x412f80;}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 _0x5b32(){const _0x26c2db=['removeStyle','registerPostFixer','parseInt','_definePostfixer','name','editor','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','find','extend','commands','2388yBnGvr','_defineSchema','from','document','_getDefaultListStyle','lower-alpha','floor','item','getChanges','46lQpDuw','add','padStart','footnotesStyle','_getDefaultStartIndex','hasClass','28AuUOMK','$text','5275QiJPst','viewItem','footnotesListStart','downcast','consume','parent','6936izkgpz','footnotesDefinitions','position','schema','nodeAfter','_defineFormatter','394737oJXSlv','isOfficialPlugin','_formatFootnoteListValue','attribute:footnotesListStart:footnotesDefinitions','upper-alpha','15785370LhZugj','for','toUpperCase','FootnotesPropertiesEditing','element','list-style-type','consumable','footnotesStart','18918pTuweR','config','getChildren','getAttribute','writer','fromCharCode','_updateFootnotesCounters','lower-latin','removeAttribute','decimal-leading-zero','max','define','createRangeOn','upper-latin','_defineConverters','isPremiumPlugin','plugins','5410307kWSpHs','mapper','toViewElement','isNaN','element:ol','modelCursor','get','upcast','footnotes-list','requires','footnotes.footnotesProperties.defaultListStyle','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','pluginName','decimal','setFootnoteFormatter','insert','getItems','906420piIsfQ','187eCPGjd','setAttribute','checkAttribute','type','hasAttribute','setStyle','lower-roman','start','getStyle','upper-roman','differ','init','79163UnMWwV','model'];_0x5b32=function(){return _0x26c2db;};return _0x5b32();}function X(_0x362814,_0x192df3){const _0x1c658b=_0xbfb6dc;let _0xdd0f11='',_0x4a7176=_0x362814;for(const {value:_0x1b4339,numeral:_0x56141e}of V)for(;_0x4a7176>=_0x1b4339;)_0xdd0f11+=_0x56141e,_0x4a7176-=_0x1b4339;return _0x192df3?_0xdd0f11:_0xdd0f11[_0x1c658b(0x79)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x22169b,ButtonView as _0x537fb0,ContextualBalloon as _0x5c86aa,createDropdown as _0x11f53b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2181e2}from'ckeditor5/src/widget.js';import{Plugin as _0x2780bb}from'ckeditor5/src/core.js';import{IconFootnote as _0x51fc02,IconListStyleDecimal as _0x356350,IconListStyleDecimalLeadingZero as _0xda4ab5,IconListStyleLowerLatin as _0x5e63db,IconListStyleLowerRoman as _0x1c533e,IconListStyleUpperLatin as _0x4ec0cd,IconListStyleUpperRoman as _0x3dae8c}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5173af}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4d49c5}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2780bb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5c86aa,_0x2181e2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x335858}=this,{componentFactory:_0x17ce1f}=_0x335858['ui'];_0x335858['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x17ce1f['add']('footnotesStyle',function(_0x1af22f){return _0x138be4=>{const {t:t}=_0x138be4,_0x11598d=_0x1af22f['commands']['get']('footnotesStyle'),_0x117e91=_0x11f53b(_0x138be4),{buttonView:_0x5e18a3}=_0x117e91;return _0x117e91['class']='ck-footnotes-styles-dropdown',_0x117e91['bind']('isEnabled')['to'](_0x11598d,'isEnabled'),_0x5e18a3['set']({'label':t('Footnotes\x20style'),'icon':_0x51fc02,'tooltip':!0x0}),_0x117e91['once']('change:isOpen',()=>{const _0x3db69a=function({editor:_0x4cc175,dropdownView:_0x4c8b2b}){const {t:t}=_0x4cc175['locale'],_0x4c41ca=t('Footnotes\x20definitions\x20styles'),_0x42dc52=function(_0x2d321f){const t=_0x2d321f['locale']['t'],_0x5e0c68=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x356350},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xda4ab5},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1c533e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3dae8c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e63db},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4ec0cd}];return _0x5e0c68['map'](function(_0x3664c1){const _0x49bd00=_0x3664c1['locale'];return({label:_0x3e480f,icon:_0x3459b1,tooltip:_0x137ef8,style:_0xf75fec})=>{const _0xa2a6c0=_0x3664c1['commands']['get']('footnotesStyle'),_0x27637c=new _0x537fb0(_0x49bd00);return _0x27637c['set']({'label':_0x3e480f,'icon':_0x3459b1,'tooltip':_0x137ef8}),_0x27637c['bind']('isOn')['to'](_0xa2a6c0,'value',_0x456611=>_0x456611===_0xf75fec),_0x27637c['bind']('isEnabled')['to'](_0xa2a6c0,'isEnabled'),_0x27637c['on']('execute',()=>{_0x3664c1['execute']('footnotesStyle',{'value':_0xf75fec}),_0x3664c1['editing']['view']['focus']();}),_0x27637c;};}(_0x2d321f));}(_0x4cc175),_0x47d469=new _0x5173af(_0x4cc175['locale'],{'styleGridAriaLabel':_0x4c41ca,'styleButtonViews':_0x42dc52}),_0x57e346=_0x4cc175['commands']['get']('footnotesStart');return _0x47d469['startIndexFieldView']['bind']('isEnabled')['to'](_0x57e346),_0x47d469['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x57e346),_0x47d469['on']('footnotesListStart',(_0x1fd9de,_0x2d15a0)=>{_0x4cc175['execute']('footnotesStart',{'value':_0x2d15a0['startIndex']});}),_0x47d469['delegate']('execute')['to'](_0x4c8b2b),_0x47d469;}({'editor':_0x1af22f,'dropdownView':_0x117e91});_0x117e91['panelView']['children']['add'](_0x3db69a);}),_0x117e91;};}(_0x335858));}['afterInit'](){const {editor:_0x420160}=this,{t:t}=_0x420160['locale'],_0x5c8999=_0x420160['plugins']['get'](_0x2181e2),{defaultPositions:_0xc88964}=_0x22169b;_0x5c8999['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x420160['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x290cf6=>{let _0x15cc9d=_0x290cf6['getFirstPosition']()?.['parent'];return _0x15cc9d?.['is']('$text')&&(_0x15cc9d=_0x15cc9d['parent']),_0x15cc9d?.['is']('element')?_0x15cc9d['findAncestor'](_0x4d49c5):null;},'positions':[_0xc88964['southArrowNorth'],_0xc88964['southArrowNorthMiddleWest'],_0xc88964['southArrowNorthMiddleEast'],_0xc88964['southArrowNorthWest'],_0xc88964['southArrowNorthEast'],_0xc88964['northArrowSouth'],_0xc88964['northArrowSouthMiddleWest'],_0xc88964['northArrowSouthMiddleEast'],_0xc88964['northArrowSouthWest'],_0xc88964['northArrowSouthEast'],_0xc88964['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x43b492,ButtonView as _0x23835f,ContextualBalloon as _0x5b1536,createDropdown as _0x23ce9a}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0xa807b}from'ckeditor5/src/widget.js';import{Plugin as _0x3d59d1}from'ckeditor5/src/core.js';import{IconFootnote as _0xf29a19,IconListStyleDecimal as _0xbedcdc,IconListStyleDecimalLeadingZero as _0x141e82,IconListStyleLowerLatin as _0x312130,IconListStyleLowerRoman as _0x3e1045,IconListStyleUpperLatin as _0x1ffcef,IconListStyleUpperRoman as _0x598506}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x474e65}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x9abd3d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3d59d1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5b1536,_0xa807b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bdba1}=this,{componentFactory:_0x44192c}=_0x3bdba1['ui'];_0x3bdba1['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x44192c['add']('footnotesStyle',function(_0xb322ee){return _0x14e5a2=>{const {t:t}=_0x14e5a2,_0x514ec2=_0xb322ee['commands']['get']('footnotesStyle'),_0x158991=_0x23ce9a(_0x14e5a2),{buttonView:_0x4b11dc}=_0x158991;return _0x158991['class']='ck-footnotes-styles-dropdown',_0x158991['bind']('isEnabled')['to'](_0x514ec2,'isEnabled'),_0x4b11dc['set']({'label':t('Footnotes\x20style'),'icon':_0xf29a19,'tooltip':!0x0}),_0x158991['once']('change:isOpen',()=>{const _0x1a98e4=function({editor:_0x300d17,dropdownView:_0x5c19da}){const {t:t}=_0x300d17['locale'],_0x3dbfba=t('Footnotes\x20definitions\x20styles'),_0x5a2fad=function(_0x276203){const t=_0x276203['locale']['t'],_0x5a9b21=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xbedcdc},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x141e82},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3e1045},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x598506},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x312130},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1ffcef}];return _0x5a9b21['map'](function(_0x40b781){const _0xcefa55=_0x40b781['locale'];return({label:_0x296201,icon:_0x339ac8,tooltip:_0x127fe0,style:_0x29cdc4})=>{const _0x3265e8=_0x40b781['commands']['get']('footnotesStyle'),_0x4fc8b2=new _0x23835f(_0xcefa55);return _0x4fc8b2['set']({'label':_0x296201,'icon':_0x339ac8,'tooltip':_0x127fe0}),_0x4fc8b2['bind']('isOn')['to'](_0x3265e8,'value',_0x1ce7bd=>_0x1ce7bd===_0x29cdc4),_0x4fc8b2['bind']('isEnabled')['to'](_0x3265e8,'isEnabled'),_0x4fc8b2['on']('execute',()=>{_0x40b781['execute']('footnotesStyle',{'value':_0x29cdc4}),_0x40b781['editing']['view']['focus']();}),_0x4fc8b2;};}(_0x276203));}(_0x300d17),_0x579e51=new _0x474e65(_0x300d17['locale'],{'styleGridAriaLabel':_0x3dbfba,'styleButtonViews':_0x5a2fad}),_0xc02e30=_0x300d17['commands']['get']('footnotesStart');return _0x579e51['startIndexFieldView']['bind']('isEnabled')['to'](_0xc02e30),_0x579e51['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xc02e30),_0x579e51['on']('footnotesListStart',(_0x56514f,_0x1bafe9)=>{_0x300d17['execute']('footnotesStart',{'value':_0x1bafe9['startIndex']});}),_0x579e51['delegate']('execute')['to'](_0x5c19da),_0x579e51;}({'editor':_0xb322ee,'dropdownView':_0x158991});_0x158991['panelView']['children']['add'](_0x1a98e4);}),_0x158991;};}(_0x3bdba1));}['afterInit'](){const {editor:_0x4e9aa8}=this,{t:t}=_0x4e9aa8['locale'],_0x4fa3b8=_0x4e9aa8['plugins']['get'](_0xa807b),{defaultPositions:_0x4cb466}=_0x43b492;_0x4fa3b8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4e9aa8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1bc983=>{let _0xf64c6f=_0x1bc983['getFirstPosition']()?.['parent'];return _0xf64c6f?.['is']('$text')&&(_0xf64c6f=_0xf64c6f['parent']),_0xf64c6f?.['is']('element')?_0xf64c6f['findAncestor'](_0x9abd3d):null;},'positions':[_0x4cb466['southArrowNorth'],_0x4cb466['southArrowNorthMiddleWest'],_0x4cb466['southArrowNorthMiddleEast'],_0x4cb466['southArrowNorthWest'],_0x4cb466['southArrowNorthEast'],_0x4cb466['northArrowSouth'],_0x4cb466['northArrowSouthMiddleWest'],_0x4cb466['northArrowSouthMiddleEast'],_0x4cb466['northArrowSouthWest'],_0x4cb466['northArrowSouthEast'],_0x4cb466['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3b7ab6,View as _0xb0557a,ViewCollection as _0x237fa2,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 _0xb0557a{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x237fa2();['focusCycler'];constructor(_0x32ebdc,{styleButtonViews:_0x5852d0,styleGridAriaLabel:_0x4b245b}){super(_0x32ebdc),(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'](_0x5852d0,_0x4b245b),[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 _0x57f928 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x57f928['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 _0x51fb3e=_0x59e25f=>_0x59e25f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x51fb3e),this['keystrokes']['set']('arrowleft',_0x51fb3e),this['keystrokes']['set']('arrowup',_0x51fb3e),this['keystrokes']['set']('arrowdown',_0x51fb3e);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x32d2aa,_0x5e1434){const _0x69950d=new _0xb0557a(this['locale']);return _0x69950d['children']=_0x69950d['createCollection'](),_0x69950d['children']['addMany'](_0x32d2aa),_0x69950d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5e1434,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x69950d['children']}),_0x69950d['children']['delegate']('execute')['to'](this),_0x69950d['focus']=function(){for(const _0x31641a of this['children'])if(_0x31641a instanceof _0x3b7ab6&&_0x31641a['isOn'])return void _0x31641a['focus']();this['children']['first']['focus']();},_0x69950d['focusTracker']=new rt(),_0x69950d['keystrokes']=new nt(),_0x69950d['render'](),_0x69950d['keystrokes']['listenTo'](_0x69950d['element']),this['children']['add'](_0x69950d),_0x69950d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x31cd65=this['_createStartIndexPropertyView'](),_0x365c21=[_0x31cd65],_0x3f63cb=new it(this['locale'],_0x365c21);return _0x3f63cb['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3f63cb['buttonView']['bind']('isEnabled')['toMany'](_0x365c21,'isEnabled',(..._0x249367)=>_0x249367['some'](_0x110365=>_0x110365)),_0x3f63cb['buttonView']['on']('change:isEnabled',(_0x1ba7b4,_0x27db50,_0x72c134)=>{_0x72c134||(_0x3f63cb['isCollapsed']=!0x0);}),this['children']['add'](_0x3f63cb),[_0x31cd65,_0x3f63cb];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x252508=new et(this['locale'],ot);return _0x252508['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x252508['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x252508['fieldView']['on']('input',()=>{const _0x178226=_0x252508['fieldView']['element'],_0x34c288=_0x178226['valueAsNumber'];Number['isNaN'](_0x34c288)?_0x252508['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x178226['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x34c288}):_0x252508['errorText']=t(_0x34c288<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x252508;}}
23
+ import{ButtonView as _0x5e2a2b,View as _0x691e61,ViewCollection as _0x3a748b,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 _0x691e61{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x3a748b();['focusCycler'];constructor(_0x2e3868,{styleButtonViews:_0xdc002,styleGridAriaLabel:_0x2b430a}){super(_0x2e3868),(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'](_0xdc002,_0x2b430a),[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 _0x17936b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x17936b['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 _0x11dcb6=_0x15fc24=>_0x15fc24['stopPropagation']();this['keystrokes']['set']('arrowright',_0x11dcb6),this['keystrokes']['set']('arrowleft',_0x11dcb6),this['keystrokes']['set']('arrowup',_0x11dcb6),this['keystrokes']['set']('arrowdown',_0x11dcb6);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x264a8e,_0xce564d){const _0x26faab=new _0x691e61(this['locale']);return _0x26faab['children']=_0x26faab['createCollection'](),_0x26faab['children']['addMany'](_0x264a8e),_0x26faab['setTemplate']({'tag':'div','attributes':{'aria-label':_0xce564d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x26faab['children']}),_0x26faab['children']['delegate']('execute')['to'](this),_0x26faab['focus']=function(){for(const _0x85657c of this['children'])if(_0x85657c instanceof _0x5e2a2b&&_0x85657c['isOn'])return void _0x85657c['focus']();this['children']['first']['focus']();},_0x26faab['focusTracker']=new rt(),_0x26faab['keystrokes']=new nt(),_0x26faab['render'](),_0x26faab['keystrokes']['listenTo'](_0x26faab['element']),this['children']['add'](_0x26faab),_0x26faab;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5aae8c=this['_createStartIndexPropertyView'](),_0x1ec16=[_0x5aae8c],_0x3cb439=new it(this['locale'],_0x1ec16);return _0x3cb439['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3cb439['buttonView']['bind']('isEnabled')['toMany'](_0x1ec16,'isEnabled',(..._0x23984e)=>_0x23984e['some'](_0x1fed9b=>_0x1fed9b)),_0x3cb439['buttonView']['on']('change:isEnabled',(_0x166e31,_0x4b8185,_0x1b737b)=>{_0x1b737b||(_0x3cb439['isCollapsed']=!0x0);}),this['children']['add'](_0x3cb439),[_0x5aae8c,_0x3cb439];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5a38fa=new et(this['locale'],ot);return _0x5a38fa['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5a38fa['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5a38fa['fieldView']['on']('input',()=>{const _0x48ee15=_0x5a38fa['fieldView']['element'],_0x543cea=_0x48ee15['valueAsNumber'];Number['isNaN'](_0x543cea)?_0x5a38fa['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x48ee15['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x543cea}):_0x5a38fa['errorText']=t(_0x543cea<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5a38fa;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1221d6=_0x4b79;function _0x4b79(_0x36a8ad,_0x2cdae6){var _0x1010de=_0x1010();return _0x4b79=function(_0x4b79d1,_0x500f82){_0x4b79d1=_0x4b79d1-0x1f0;var _0x52e590=_0x1010de[_0x4b79d1];return _0x52e590;},_0x4b79(_0x36a8ad,_0x2cdae6);}(function(_0xb910e9,_0x42f248){var _0x117ced=_0x4b79,_0x2f988f=_0xb910e9();while(!![]){try{var _0x136f9a=-parseInt(_0x117ced(0x1f1))/0x1*(-parseInt(_0x117ced(0x1fa))/0x2)+-parseInt(_0x117ced(0x1f3))/0x3+parseInt(_0x117ced(0x1fe))/0x4*(-parseInt(_0x117ced(0x1f6))/0x5)+-parseInt(_0x117ced(0x1f5))/0x6*(-parseInt(_0x117ced(0x1f8))/0x7)+parseInt(_0x117ced(0x1f7))/0x8+parseInt(_0x117ced(0x1fc))/0x9*(parseInt(_0x117ced(0x1ff))/0xa)+-parseInt(_0x117ced(0x1f4))/0xb;if(_0x136f9a===_0x42f248)break;else _0x2f988f['push'](_0x2f988f['shift']());}catch(_0xfdf4e3){_0x2f988f['push'](_0x2f988f['shift']());}}}(_0x1010,0xe4b02));function _0x1010(){var _0x3d1a95=['isPremiumPlugin','1606263vJWwNz','4087611rGubAR','6fvDsgL','335sAxNTx','13864360oLMQXy','1524719OBodCT','isOfficialPlugin','272GFyyDp','requires','260721rsrKEA','FootnotesProperties','98284IuAlQY','110MtEonD','pluginName','8974hwQzuN'];_0x1010=function(){return _0x3d1a95;};return _0x1010();}import{Plugin as _0x270870}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x5031dc}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0xe0d422}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x270870{static get[_0x1221d6(0x1f0)](){var _0x1bebcd=_0x1221d6;return _0x1bebcd(0x1fd);}static get[_0x1221d6(0x1fb)](){return[_0x5031dc,_0xe0d422];}static get[_0x1221d6(0x1f9)](){return!0x0;}static get[_0x1221d6(0x1f2)](){return!0x0;}}
23
+ var _0x55eef7=_0x5eb9;function _0x5755(){var _0x1a2359=['78962rPgtyx','pluginName','161184VLXaWD','902718FnzaQn','3932580jpxsYk','24eEuxhg','2922KZqJQF','35021dPjyqt','requires','18Uwokgh','FootnotesProperties','344gxrNKd','168615hFpaJx','isPremiumPlugin','isOfficialPlugin'];_0x5755=function(){return _0x1a2359;};return _0x5755();}(function(_0x40ef78,_0x2eeec1){var _0x46ffa9=_0x5eb9,_0x4e241b=_0x40ef78();while(!![]){try{var _0x43f006=parseInt(_0x46ffa9(0xb0))/0x1+-parseInt(_0x46ffa9(0xac))/0x2*(parseInt(_0x46ffa9(0xa7))/0x3)+parseInt(_0x46ffa9(0xb2))/0x4+parseInt(_0x46ffa9(0xad))/0x5*(-parseInt(_0x46ffa9(0xaa))/0x6)+-parseInt(_0x46ffa9(0xa8))/0x7*(parseInt(_0x46ffa9(0xa6))/0x8)+-parseInt(_0x46ffa9(0xa4))/0x9+parseInt(_0x46ffa9(0xa5))/0xa;if(_0x43f006===_0x2eeec1)break;else _0x4e241b['push'](_0x4e241b['shift']());}catch(_0x222611){_0x4e241b['push'](_0x4e241b['shift']());}}}(_0x5755,0x1f5fc));import{Plugin as _0xd26e5f}from'ckeditor5/src/core.js';function _0x5eb9(_0x4e42b0,_0x2f0bfc){var _0x575509=_0x5755();return _0x5eb9=function(_0x5eb9ab,_0xccf6c4){_0x5eb9ab=_0x5eb9ab-0xa4;var _0x20f88e=_0x575509[_0x5eb9ab];return _0x20f88e;},_0x5eb9(_0x4e42b0,_0x2f0bfc);}import{FootnotesPropertiesEditing as _0xd43e01}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x212f01}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xd26e5f{static get[_0x55eef7(0xb1)](){var _0x436cab=_0x55eef7;return _0x436cab(0xab);}static get[_0x55eef7(0xa9)](){return[_0xd43e01,_0x212f01];}static get[_0x55eef7(0xaf)](){return!0x0;}static get[_0x55eef7(0xae)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x1877c4=_0x4d76;(function(_0x4ad034,_0xe9989d){const _0x49494a=_0x4d76,_0x22ae40=_0x4ad034();while(!![]){try{const _0x4dc5cc=parseInt(_0x49494a(0x14e))/0x1+-parseInt(_0x49494a(0x188))/0x2+-parseInt(_0x49494a(0x16b))/0x3*(parseInt(_0x49494a(0x144))/0x4)+parseInt(_0x49494a(0x173))/0x5*(parseInt(_0x49494a(0x161))/0x6)+parseInt(_0x49494a(0x12f))/0x7+parseInt(_0x49494a(0x14d))/0x8+parseInt(_0x49494a(0x16c))/0x9*(parseInt(_0x49494a(0x183))/0xa);if(_0x4dc5cc===_0xe9989d)break;else _0x22ae40['push'](_0x22ae40['shift']());}catch(_0x449250){_0x22ae40['push'](_0x22ae40['shift']());}}}(_0x1d73,0x22dcd));import{Plugin as _0x1ba336}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x37c792}from'./modelelementtracker.js';function _0x1d73(){const _0x4f9a9b=['createRangeIn','reference','_footnotes','668390aOxUKn','footnotesDefinitions','enqueueChange','_handleFootnoteReferencesChanges','reset','388530WqsqmB','_handleFootnotesDefinitionsObjectChanges','before','getFootnotesFormatter','some','footnoteInlineContent','add','document','splice','getAttribute','indexOf','from','1501339XihKZn','compareWith','_handleMovedFootnoteReference','push','parent','getFootnote','definition','isOfficialPlugin','config','_ensureFootnotesReferencesHaveProperOrder','init','root','unshift','$graveyard','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','_handleInsertedFootnoteReference','_footnoteFormatter','low','registerPostFixer','find','502080AxDlLV','isEqual','model','listenTo','setFootnoteFormatter','min','_handleRemoveFootnoteReferenceById','change:data','editor','171976XgIWET','234262DdAhyd','set','getFootnotes','getChanges','createPositionAt','end','_footnotesDefinitions','paragraph','_footnoteDefsTracker','_updateFootnotesCounters','_ensureFootnotesDefinitionsContainerExists','footnoteRef','findIndex','after','footnotes.multiBlock','_footnoteDefsContainerTracker','singleton','getRootNames','_sortFootnoteDefinitions','6RheuBj','footnoteDefinition','footnoteCounter','rootName','FootnotesTracker','childCount','_footnoteRefsTracker','pluginName','footnoteId','insert','6GryiZS','9dcYvZd','length','move','differ','createElement','setAttribute','createPositionBefore','255135bnFYEL','isPremiumPlugin','_insertEmptyFootnotesDefinitionsContainer','append','high','remove','has','map','getFootnotesDefinitionsObjectElement','getChildren','createRangeOn','get','_handleFootnoteDefinitionsChanges'];_0x1d73=function(){return _0x4f9a9b;};return _0x1d73();}export class FootnotesTracker extends _0x1ba336{[_0x1877c4(0x182)]=[];[_0x1877c4(0x154)]=null;[_0x1877c4(0x140)]=null;[_0x1877c4(0x15d)];[_0x1877c4(0x167)];[_0x1877c4(0x156)];static get[_0x1877c4(0x168)](){const _0x506c56=_0x1877c4;return _0x506c56(0x165);}static get[_0x1877c4(0x136)](){return!0x0;}static get[_0x1877c4(0x174)](){return!0x0;}constructor(_0x30ae9a){const _0x43ede6=_0x1877c4;super(_0x30ae9a),this[_0x43ede6(0x15d)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x184),'getElementKey':()=>_0x43ede6(0x15e)}),this[_0x43ede6(0x167)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x159),'getElementKey':_0x5797bd=>_0x5797bd[_0x43ede6(0x191)](_0x43ede6(0x169))}),this[_0x43ede6(0x156)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x162),'getElementKey':_0x494b3d=>_0x494b3d[_0x43ede6(0x191)](_0x43ede6(0x169))});}[_0x1877c4(0x139)](){const _0xa4ff05=_0x1877c4,{editor:_0x59b522}=this,{model:_0x3005e1,data:_0x3c24d2}=_0x59b522;_0x3005e1[_0xa4ff05(0x18f)][_0xa4ff05(0x142)](_0x21c4e4=>{const _0x12b9ff=_0xa4ff05,_0x3f70ae=_0x3005e1[_0x12b9ff(0x18f)][_0x12b9ff(0x16f)][_0x12b9ff(0x151)]();let _0x62eb57=!0x1;return this[_0x12b9ff(0x189)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x17f)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x186)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x138)](_0x21c4e4)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x13e)](_0x21c4e4)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x160)](_0x21c4e4)&&(_0x62eb57=!0x0),_0x62eb57;}),this[_0xa4ff05(0x147)](_0x3005e1[_0xa4ff05(0x18f)],_0xa4ff05(0x14b),()=>{const _0x53872c=_0xa4ff05;_0x3005e1[_0x53872c(0x185)]({'isUndoable':!0x1},_0x2d4b82=>{const _0x3259ba=_0x53872c;this[_0x3259ba(0x158)](_0x2d4b82);});},{'priority':_0xa4ff05(0x141)}),this[_0xa4ff05(0x147)](_0x3c24d2,_0xa4ff05(0x14f),()=>{const _0x54bf54=_0xa4ff05;this[_0x54bf54(0x182)]=[],this[_0x54bf54(0x15d)][_0x54bf54(0x187)](),this[_0x54bf54(0x167)][_0x54bf54(0x187)](),this[_0x54bf54(0x156)][_0x54bf54(0x187)]();},{'priority':_0xa4ff05(0x177)});}[_0x1877c4(0x17b)](){const _0x47f633=_0x1877c4;return this[_0x47f633(0x154)];}[_0x1877c4(0x134)](_0x36eb98){const _0x25e6d5=_0x1877c4;return this[_0x25e6d5(0x182)][_0x25e6d5(0x143)](_0x14523c=>_0x14523c['id']===_0x36eb98)||null;}[_0x1877c4(0x150)](){const _0x444110=_0x1877c4;return Array[_0x444110(0x193)](this[_0x444110(0x182)]);}[_0x1877c4(0x18b)](){const _0x5ecb74=_0x1877c4;return this[_0x5ecb74(0x140)];}[_0x1877c4(0x148)](_0x426060){const _0x3454de=_0x1877c4;this[_0x3454de(0x140)]=_0x426060;}[_0x1877c4(0x157)](_0x219e7c,_0x1acdbc=0x0){const _0xec1a55=_0x1877c4;let _0x4dba0c=!0x1;for(let _0x481d91=_0x1acdbc;_0x481d91<this[_0xec1a55(0x182)][_0xec1a55(0x16d)];_0x481d91++)this[_0xec1a55(0x13d)](_0x219e7c,_0x481d91)&&(_0x4dba0c=!0x0);return _0x4dba0c;}[_0x1877c4(0x175)](_0x4cac85,_0x296b4e){const _0x201c3b=_0x1877c4,_0x2ddbb2=_0x4cac85[_0x201c3b(0x170)](_0x201c3b(0x184),{});return _0x4cac85[_0x201c3b(0x176)](_0x2ddbb2,_0x296b4e),this[_0x201c3b(0x154)]=_0x2ddbb2,_0x2ddbb2;}[_0x1877c4(0x158)](_0x3e6d4e){const _0x14ddc5=_0x1877c4;if(!this[_0x14ddc5(0x182)][_0x14ddc5(0x16d)]||this[_0x14ddc5(0x154)])return;const _0xc797b5=this[_0x14ddc5(0x182)][0x0][_0x14ddc5(0x181)][_0x14ddc5(0x13a)],_0x5c2f34=this[_0x14ddc5(0x175)](_0x3e6d4e,_0xc797b5);for(const _0x1d3576 of this[_0x14ddc5(0x182)])_0x1d3576[_0x14ddc5(0x135)][_0x14ddc5(0x133)]||_0x3e6d4e[_0x14ddc5(0x16a)](_0x1d3576[_0x14ddc5(0x135)],_0x5c2f34,_0x14ddc5(0x153));this[_0x14ddc5(0x157)](_0x3e6d4e);}[_0x1877c4(0x189)](_0x5d0f9c,_0x3aec56){const _0x49758d=_0x1877c4;let _0xe2400d=!0x1;const {inserted:_0x5ea77e,removed:_0x130519,moved:_0x5a4253}=this[_0x49758d(0x15d)][_0x49758d(0x151)](_0x3aec56);if(_0x5a4253[_0x49758d(0x16d)]&&(this[_0x49758d(0x154)]=_0x5a4253[0x0]),_0x5ea77e[_0x49758d(0x16d)]){if(_0x5ea77e[_0x49758d(0x16d)]>0x1||this[_0x49758d(0x154)]&&_0x5ea77e[_0x49758d(0x18c)](_0x45687b=>_0x45687b!==this[_0x49758d(0x154)])){const _0x2cc828=_0x5d0f9c[_0x49758d(0x170)](_0x49758d(0x184),{}),_0x398648=[];this[_0x49758d(0x154)]&&_0x398648[_0x49758d(0x132)](this[_0x49758d(0x154)]),_0x398648[_0x49758d(0x132)](..._0x5ea77e),_0x5d0f9c[_0x49758d(0x16a)](_0x2cc828,_0x398648[0x0],_0x49758d(0x18a));for(const _0xc7c014 of _0x398648)_0x5d0f9c[_0x49758d(0x16e)](_0x5d0f9c[_0x49758d(0x180)](_0xc7c014),_0x5d0f9c[_0x49758d(0x152)](_0x2cc828,_0x49758d(0x153))),_0x5d0f9c[_0x49758d(0x178)](_0xc7c014);this[_0x49758d(0x154)]=_0x2cc828,this[_0x49758d(0x157)](_0x5d0f9c),_0xe2400d=!0x0;}else this[_0x49758d(0x154)]=_0x5ea77e[0x0];}if(_0x130519[_0x49758d(0x16d)]&&_0x49758d(0x13c)===this[_0x49758d(0x154)]?.[_0x49758d(0x13a)][_0x49758d(0x164)]){for(const _0xd4e287 of this[_0x49758d(0x182)])_0x5d0f9c[_0x49758d(0x178)](_0xd4e287[_0x49758d(0x181)]),_0xe2400d=!0x0;this[_0x49758d(0x182)]=[],this[_0x49758d(0x154)]=null;}return _0xe2400d;}[_0x1877c4(0x17f)](_0x35c1b6,_0x20b44f){const _0x2b4c6c=_0x1877c4;let _0x4aa8f6=!0x1;const _0x1c6fcd=this[_0x2b4c6c(0x14c)][_0x2b4c6c(0x137)][_0x2b4c6c(0x17e)](_0x2b4c6c(0x15c)),{inserted:_0x4b234d,moved:_0xaea94d}=this[_0x2b4c6c(0x156)][_0x2b4c6c(0x151)](_0x20b44f);for(const _0x99333e of[..._0xaea94d,..._0x4b234d]){const _0x15da8f=_0x99333e[_0x2b4c6c(0x191)](_0x2b4c6c(0x169)),_0x45b59b=this[_0x2b4c6c(0x134)](_0x15da8f);_0x45b59b&&(_0x45b59b[_0x2b4c6c(0x135)]=_0x99333e),_(_0x35c1b6,_0x1c6fcd,_0x99333e)&&(_0x4aa8f6=!0x0);}return _0x4aa8f6;}[_0x1877c4(0x186)](_0xae393c,_0x42525e){const _0x552cd1=_0x1877c4;let _0x66860d=!0x1;const {removed:_0x51f26f,inserted:_0x3d8455,moved:_0x46ed45}=this[_0x552cd1(0x167)][_0x552cd1(0x151)](_0x42525e);for(const _0x56a7c3 of _0x51f26f)this[_0x552cd1(0x14a)](_0xae393c,_0x56a7c3)&&(_0x66860d=!0x0);for(const _0x414936 of _0x3d8455)this[_0x552cd1(0x13f)](_0xae393c,_0x414936)&&(_0x66860d=!0x0);for(const _0x2f576e of _0x46ed45)this[_0x552cd1(0x131)](_0xae393c,_0x2f576e)&&(_0x66860d=!0x0);return _0x66860d;}[_0x1877c4(0x13e)](_0x574eef){const _0x25a863=_0x1877c4;if(!this[_0x25a863(0x154)])return!0x1;let _0x1928f4=!0x1;if(this[_0x25a863(0x154)][_0x25a863(0x166)]!==this[_0x25a863(0x182)][_0x25a863(0x16d)]){const _0x2a503f=[];for(const _0x243b53 of this[_0x25a863(0x154)][_0x25a863(0x17c)]()){const _0x11b663=_0x243b53[_0x25a863(0x191)](_0x25a863(0x169));this[_0x25a863(0x134)](_0x11b663)||(_0x2a503f[_0x25a863(0x13b)](_0x243b53),_0x1928f4=!0x0);}for(const _0x5d4d3f of _0x2a503f)_0x574eef[_0x25a863(0x178)](_0x5d4d3f);}const _0x4cb48c=new Set(),_0x16c037=[];for(const _0x2965da of this[_0x25a863(0x154)][_0x25a863(0x17c)]()){const _0x1cfc98=_0x2965da[_0x25a863(0x191)](_0x25a863(0x169));_0x4cb48c[_0x25a863(0x179)](_0x1cfc98)?(_0x16c037[_0x25a863(0x13b)](_0x2965da),_0x1928f4=!0x0):_0x4cb48c[_0x25a863(0x18e)](_0x1cfc98);}for(const _0x3d24bc of _0x16c037)_0x574eef[_0x25a863(0x178)](_0x3d24bc);return this[_0x25a863(0x154)][_0x25a863(0x166)]||(_0x574eef[_0x25a863(0x178)](this[_0x25a863(0x154)]),this[_0x25a863(0x154)]=null,_0x1928f4=!0x0),_0x1928f4;}[_0x1877c4(0x13f)](_0x328739,_0x159968){const _0x384a7f=_0x1877c4;if(this[_0x384a7f(0x182)][_0x384a7f(0x143)](_0x508880=>_0x508880[_0x384a7f(0x181)]===_0x159968))return!0x1;let _0x4e1519=!0x1;const _0x3a4cac=_0x159968[_0x384a7f(0x191)](_0x384a7f(0x169)),_0x5aa2ba=this[_0x384a7f(0x182)][_0x384a7f(0x15a)](_0x2750c7=>_0x2750c7['id']===_0x3a4cac);-0x1!==_0x5aa2ba&&(_0x328739[_0x384a7f(0x178)](this[_0x384a7f(0x182)][_0x5aa2ba][_0x384a7f(0x181)]),this[_0x384a7f(0x182)][_0x384a7f(0x190)](_0x5aa2ba,0x1),_0x4e1519=!0x0);let _0x184480=this[_0x384a7f(0x154)]?function(_0x4b0caf,_0x20b90e){const _0xffd823=_0x384a7f;for(const _0x2be3ba of _0x4b0caf[_0xffd823(0x17c)]())if(_0x2be3ba[_0xffd823(0x191)](_0xffd823(0x169))===_0x20b90e)return _0x2be3ba;return null;}(this[_0x384a7f(0x154)],_0x3a4cac):null;_0x184480||(_0x184480=_0x328739[_0x384a7f(0x170)](_0x384a7f(0x162),{'footnoteId':_0x3a4cac}),this[_0x384a7f(0x154)]&&(_0x328739[_0x384a7f(0x16a)](_0x184480,this[_0x384a7f(0x154)],_0x384a7f(0x153)),_0x4e1519=!0x0));const _0x4d8670={'id':_0x3a4cac,'reference':_0x159968,'definition':_0x184480},_0x6fb225=I(this[_0x384a7f(0x14c)][_0x384a7f(0x146)],this[_0x384a7f(0x182)],_0x159968);this[_0x384a7f(0x182)][_0x384a7f(0x190)](_0x6fb225,0x0,_0x4d8670);let _0x1a28cc=_0x6fb225;return-0x1!==_0x5aa2ba&&(_0x1a28cc=Math[_0x384a7f(0x149)](_0x6fb225,_0x5aa2ba)),this[_0x384a7f(0x157)](_0x328739,_0x1a28cc)&&(_0x4e1519=!0x0),_0x4e1519;}[_0x1877c4(0x14a)](_0x111177,_0x42eb23){const _0x54eb8d=_0x1877c4,_0x4d4a1e=this[_0x54eb8d(0x182)][_0x54eb8d(0x15a)](_0x435c9a=>_0x435c9a['id']===_0x42eb23);if(-0x1===_0x4d4a1e)return!0x1;let _0x4315c1=!0x1;const _0x4cf745=this[_0x54eb8d(0x182)][_0x4d4a1e];return _0x54eb8d(0x13c)!==_0x4cf745[_0x54eb8d(0x135)][_0x54eb8d(0x13a)][_0x54eb8d(0x164)]&&(_0x111177[_0x54eb8d(0x178)](_0x4cf745[_0x54eb8d(0x135)]),_0x4315c1=!0x0),this[_0x54eb8d(0x182)][_0x54eb8d(0x190)](_0x4d4a1e,0x1),this[_0x54eb8d(0x157)](_0x111177,_0x4d4a1e)&&(_0x4315c1=!0x0),_0x4315c1;}[_0x1877c4(0x131)](_0x5d9367,_0x3e4edd){const _0x4372ac=_0x1877c4,_0x3922a2=_0x3e4edd[_0x4372ac(0x191)](_0x4372ac(0x169)),_0x2d3775=this[_0x4372ac(0x182)][_0x4372ac(0x15a)](_0x4f79f9=>_0x4f79f9['id']===_0x3922a2),_0x16138f=this[_0x4372ac(0x182)][_0x2d3775];let _0x57bf5e=!0x1;_0x16138f[_0x4372ac(0x181)]=_0x3e4edd,this[_0x4372ac(0x182)][_0x4372ac(0x190)](_0x2d3775,0x1);const _0xb97018=I(this[_0x4372ac(0x14c)][_0x4372ac(0x146)],this[_0x4372ac(0x182)],_0x3e4edd);return this[_0x4372ac(0x182)][_0x4372ac(0x190)](_0xb97018,0x0,_0x16138f),this[_0x4372ac(0x157)](_0x5d9367,Math[_0x4372ac(0x149)](_0x2d3775,_0xb97018))&&(_0x57bf5e=!0x0),_0x57bf5e;}[_0x1877c4(0x13d)](_0x255a11,_0x2dc149){const _0x605d0=_0x1877c4;if(!this[_0x605d0(0x154)])return!0x1;const _0x40c1a4=this[_0x605d0(0x182)][_0x2dc149];let _0x25efa1;return _0x25efa1=this[_0x605d0(0x140)]?this[_0x605d0(0x140)]({'footnote':_0x40c1a4,'container':this[_0x605d0(0x154)],'digits':String(this[_0x605d0(0x182)][_0x605d0(0x16d)])[_0x605d0(0x16d)],'value':_0x2dc149+0x1}):String(_0x2dc149+0x1),_0x40c1a4[_0x605d0(0x181)][_0x605d0(0x191)](_0x605d0(0x163))!=_0x25efa1&&(_0x255a11[_0x605d0(0x171)](_0x605d0(0x163),_0x25efa1,_0x40c1a4[_0x605d0(0x181)]),!0x0);}[_0x1877c4(0x160)](_0x280c44){const _0x2d6bf2=_0x1877c4;if(!this[_0x2d6bf2(0x154)]||this[_0x2d6bf2(0x182)][_0x2d6bf2(0x16d)]<0x2)return!0x1;if(function(_0x338ba4,_0x40fc5e){const _0xbda9af=_0x2d6bf2;if(_0x338ba4[_0xbda9af(0x16d)]!==_0x40fc5e[_0xbda9af(0x16d)])return!0x1;for(let _0x434a7a=0x0;_0x434a7a<_0x338ba4[_0xbda9af(0x16d)];_0x434a7a++)if(_0x338ba4[_0x434a7a]!==_0x40fc5e[_0x434a7a])return!0x1;return!0x0;}(this[_0x2d6bf2(0x182)][_0x2d6bf2(0x17a)](_0x31c175=>_0x31c175['id']),Array[_0x2d6bf2(0x193)](this[_0x2d6bf2(0x154)][_0x2d6bf2(0x17c)]())[_0x2d6bf2(0x17a)](_0x444800=>_0x444800[_0x2d6bf2(0x191)](_0x2d6bf2(0x169)))))return!0x1;let _0x20491d=!0x1;for(let _0x100c13=0x0;_0x100c13<this[_0x2d6bf2(0x182)][_0x2d6bf2(0x16d)];_0x100c13++){const _0x5712d0=this[_0x2d6bf2(0x182)][_0x100c13],_0x27162d=_0x280c44[_0x2d6bf2(0x172)](_0x5712d0[_0x2d6bf2(0x135)]),_0x3db2a8=_0x280c44[_0x2d6bf2(0x152)](this[_0x2d6bf2(0x154)],_0x100c13);_0x27162d[_0x2d6bf2(0x145)](_0x3db2a8)||(_0x280c44[_0x2d6bf2(0x16e)](_0x280c44[_0x2d6bf2(0x17d)](_0x5712d0[_0x2d6bf2(0x135)]),_0x3db2a8),_0x20491d=!0x0);}return _0x20491d;}[_0x1877c4(0x138)](_0x3b9c6e){const _0x33036a=_0x1877c4;if(!this[_0x33036a(0x182)][_0x33036a(0x16d)])return!0x1;const {model:_0x1cb823}=this[_0x33036a(0x14c)];let _0x2516bf=!0x1;for(let _0x3bc987=0x0;_0x3bc987<this[_0x33036a(0x182)][_0x33036a(0x16d)]-0x1;_0x3bc987++){const _0xc0371e=this[_0x33036a(0x182)][_0x3bc987],_0x12c5cc=this[_0x33036a(0x182)][_0x3bc987+0x1],_0x73cf4b=_0x1cb823[_0x33036a(0x172)](_0xc0371e[_0x33036a(0x181)]),_0x2ff2a6=_0x1cb823[_0x33036a(0x172)](_0x12c5cc[_0x33036a(0x181)]);_0x33036a(0x15b)===_0x73cf4b[_0x33036a(0x130)](_0x2ff2a6)&&(this[_0x33036a(0x131)](_0x3b9c6e,_0xc0371e[_0x33036a(0x181)]),_0x3bc987=-0x1,_0x2516bf=!0x0);}return _0x2516bf;}}function _0x4d76(_0x22027b,_0x3ba397){const _0x1d7377=_0x1d73();return _0x4d76=function(_0x4d76bb,_0x4c87b3){_0x4d76bb=_0x4d76bb-0x12f;let _0x17bede=_0x1d7377[_0x4d76bb];return _0x17bede;},_0x4d76(_0x22027b,_0x3ba397);}function _(_0xc8dfe5,_0x2bf36c,_0x365122){const _0x5dc4e4=_0x1877c4;if(_0x365122[_0x5dc4e4(0x166)])return!0x1;const _0x189c73=_0x2bf36c?_0x5dc4e4(0x155):_0x5dc4e4(0x18d);return _0xc8dfe5[_0x5dc4e4(0x16a)](_0xc8dfe5[_0x5dc4e4(0x170)](_0x189c73),_0x365122),!0x0;}function I(_0x33e435,_0x2dbde5,_0x2ee536){const _0x1b04bd=_0x1877c4;if(0x0===_0x2dbde5[_0x1b04bd(0x16d)])return 0x0;const _0x283fb1=_0x33e435[_0x1b04bd(0x172)](_0x2ee536);for(let _0x4f77ae=0x0;_0x4f77ae<_0x2dbde5[_0x1b04bd(0x16d)];_0x4f77ae++){const _0x3c99a9=_0x2dbde5[_0x4f77ae],_0x57d6a4=_0x33e435[_0x1b04bd(0x172)](_0x3c99a9[_0x1b04bd(0x181)]);if(_0x1b04bd(0x18a)===_0x283fb1[_0x1b04bd(0x130)](_0x57d6a4))return _0x4f77ae;}const _0x542a7a=_0x2ee536[_0x1b04bd(0x13a)];let _0x45965b=-0x1;for(let _0x335381=_0x2dbde5[_0x1b04bd(0x16d)]-0x1;_0x335381>=0x0;_0x335381--)if(_0x2dbde5[_0x335381][_0x1b04bd(0x181)][_0x1b04bd(0x13a)]===_0x542a7a){_0x45965b=_0x335381;break;}if(-0x1!==_0x45965b)return _0x45965b+0x1;const _0x3eb802=_0x33e435[_0x1b04bd(0x18f)][_0x1b04bd(0x15f)](),_0x248703=_0x3eb802[_0x1b04bd(0x192)](_0x542a7a[_0x1b04bd(0x164)]),_0x2e8420=_0x3eb802[_0x248703+0x1];if(_0x2e8420){for(let _0xbad4dc=0x0;_0xbad4dc<_0x2dbde5[_0x1b04bd(0x16d)];_0xbad4dc++)if(_0x2dbde5[_0xbad4dc][_0x1b04bd(0x181)][_0x1b04bd(0x13a)][_0x1b04bd(0x164)]===_0x2e8420)return _0xbad4dc;}return _0x2dbde5[_0x1b04bd(0x16d)];}
23
+ const _0x518ee5=_0x7096;(function(_0xc9f2d3,_0x5fef91){const _0x3126c4=_0x7096,_0x4989ec=_0xc9f2d3();while(!![]){try{const _0x5ad991=-parseInt(_0x3126c4(0x8f))/0x1*(parseInt(_0x3126c4(0x90))/0x2)+parseInt(_0x3126c4(0xac))/0x3+-parseInt(_0x3126c4(0x98))/0x4+parseInt(_0x3126c4(0xc5))/0x5+parseInt(_0x3126c4(0xb2))/0x6+parseInt(_0x3126c4(0x72))/0x7+-parseInt(_0x3126c4(0xb3))/0x8*(parseInt(_0x3126c4(0xa3))/0x9);if(_0x5ad991===_0x5fef91)break;else _0x4989ec['push'](_0x4989ec['shift']());}catch(_0x230bb9){_0x4989ec['push'](_0x4989ec['shift']());}}}(_0x5589,0xe9f7d));import{Plugin as _0x28b3a3}from'ckeditor5/src/core.js';function _0x7096(_0xa5c612,_0x58d342){const _0x5589e6=_0x5589();return _0x7096=function(_0x7096df,_0x1b56fe){_0x7096df=_0x7096df-0x6b;let _0xc93d93=_0x5589e6[_0x7096df];return _0xc93d93;},_0x7096(_0xa5c612,_0x58d342);}import{ModelElementTracker as _0x515a22}from'./modelelementtracker.js';export class FootnotesTracker extends _0x28b3a3{[_0x518ee5(0x7a)]=[];[_0x518ee5(0x6e)]=null;[_0x518ee5(0xc2)]=null;[_0x518ee5(0x87)];[_0x518ee5(0x7c)];[_0x518ee5(0x6b)];static get[_0x518ee5(0xb9)](){const _0x55ba20=_0x518ee5;return _0x55ba20(0x9c);}static get[_0x518ee5(0xa5)](){return!0x0;}static get[_0x518ee5(0x8d)](){return!0x0;}constructor(_0x9748c3){const _0x5b3653=_0x518ee5;super(_0x9748c3),this[_0x5b3653(0x87)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0xbf),'getElementKey':()=>_0x5b3653(0x8a)}),this[_0x5b3653(0x7c)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0xa7),'getElementKey':_0x587752=>_0x587752[_0x5b3653(0xbd)](_0x5b3653(0x91))}),this[_0x5b3653(0x6b)]=new _0x515a22(this[_0x5b3653(0xc9)][_0x5b3653(0x75)],{'elementName':_0x5b3653(0x83),'getElementKey':_0x476eaf=>_0x476eaf[_0x5b3653(0xbd)](_0x5b3653(0x91))});}[_0x518ee5(0x99)](){const _0x451eea=_0x518ee5,{editor:_0x347562}=this,{model:_0x13cb05,data:_0x21b510}=_0x347562;_0x13cb05[_0x451eea(0xcc)][_0x451eea(0x6d)](_0xdf5348=>{const _0x436554=_0x451eea,_0x59875f=_0x13cb05[_0x436554(0xcc)][_0x436554(0x7d)][_0x436554(0xc6)]();let _0x5a503b=!0x1;return this[_0x436554(0x8e)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0xce)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0x85)](_0xdf5348,_0x59875f)&&(_0x5a503b=!0x0),this[_0x436554(0x88)](_0xdf5348)&&(_0x5a503b=!0x0),this[_0x436554(0xae)](_0xdf5348)&&(_0x5a503b=!0x0),this[_0x436554(0x9f)](_0xdf5348)&&(_0x5a503b=!0x0),_0x5a503b;}),this[_0x451eea(0xab)](_0x13cb05[_0x451eea(0xcc)],_0x451eea(0xa4),()=>{const _0x33c2fc=_0x451eea;_0x13cb05[_0x33c2fc(0x7b)]({'isUndoable':!0x1},_0x285598=>{const _0x22e293=_0x33c2fc;this[_0x22e293(0xc7)](_0x285598);});},{'priority':_0x451eea(0xc8)}),this[_0x451eea(0xab)](_0x21b510,_0x451eea(0x77),()=>{const _0x373952=_0x451eea;this[_0x373952(0x7a)]=[],this[_0x373952(0x87)][_0x373952(0x92)](),this[_0x373952(0x7c)][_0x373952(0x92)](),this[_0x373952(0x6b)][_0x373952(0x92)]();},{'priority':_0x451eea(0x81)});}[_0x518ee5(0x76)](){const _0x31744d=_0x518ee5;return this[_0x31744d(0x6e)];}[_0x518ee5(0x9e)](_0x22a0ba){const _0x11a24f=_0x518ee5;return this[_0x11a24f(0x7a)][_0x11a24f(0xcb)](_0xcd6dec=>_0xcd6dec['id']===_0x22a0ba)||null;}[_0x518ee5(0x96)](){const _0x4017dc=_0x518ee5;return Array[_0x4017dc(0xbb)](this[_0x4017dc(0x7a)]);}[_0x518ee5(0x73)](){const _0xb79df5=_0x518ee5;return this[_0xb79df5(0xc2)];}[_0x518ee5(0xc0)](_0x53185f){const _0x2e7245=_0x518ee5;this[_0x2e7245(0xc2)]=_0x53185f;}[_0x518ee5(0xb7)](_0x1c8d0b,_0x49488c=0x0){const _0x13eb3c=_0x518ee5;let _0x1c3f52=!0x1;for(let _0x4269be=_0x49488c;_0x4269be<this[_0x13eb3c(0x7a)][_0x13eb3c(0xad)];_0x4269be++)this[_0x13eb3c(0xbc)](_0x1c8d0b,_0x4269be)&&(_0x1c3f52=!0x0);return _0x1c3f52;}[_0x518ee5(0x82)](_0x18aa6e,_0x2ce194){const _0x57a9f9=_0x518ee5,_0x2fdac4=_0x18aa6e[_0x57a9f9(0xb0)](_0x57a9f9(0xbf),{});return _0x18aa6e[_0x57a9f9(0x84)](_0x2fdac4,_0x2ce194),this[_0x57a9f9(0x6e)]=_0x2fdac4,_0x2fdac4;}[_0x518ee5(0xc7)](_0x17468e){const _0x765e68=_0x518ee5;if(!this[_0x765e68(0x7a)][_0x765e68(0xad)]||this[_0x765e68(0x6e)])return;const _0x5c038d=this[_0x765e68(0x7a)][0x0][_0x765e68(0xa9)][_0x765e68(0x7f)],_0x38bb67=this[_0x765e68(0x82)](_0x17468e,_0x5c038d);for(const _0x363fb4 of this[_0x765e68(0x7a)])_0x363fb4[_0x765e68(0xaf)][_0x765e68(0xc3)]||_0x17468e[_0x765e68(0x94)](_0x363fb4[_0x765e68(0xaf)],_0x38bb67,_0x765e68(0xa2));this[_0x765e68(0xb7)](_0x17468e);}[_0x518ee5(0x8e)](_0x10c057,_0x504b7e){const _0x1ae5fe=_0x518ee5;let _0x2dd8cb=!0x1;const {inserted:_0x2eed80,removed:_0x1748b4,moved:_0x1b0f35}=this[_0x1ae5fe(0x87)][_0x1ae5fe(0xc6)](_0x504b7e);if(_0x1b0f35[_0x1ae5fe(0xad)]&&(this[_0x1ae5fe(0x6e)]=_0x1b0f35[0x0]),_0x2eed80[_0x1ae5fe(0xad)]){if(_0x2eed80[_0x1ae5fe(0xad)]>0x1||this[_0x1ae5fe(0x6e)]&&_0x2eed80[_0x1ae5fe(0x97)](_0x39043d=>_0x39043d!==this[_0x1ae5fe(0x6e)])){const _0x4b0777=_0x10c057[_0x1ae5fe(0xb0)](_0x1ae5fe(0xbf),{}),_0x3a623a=[];this[_0x1ae5fe(0x6e)]&&_0x3a623a[_0x1ae5fe(0xb8)](this[_0x1ae5fe(0x6e)]),_0x3a623a[_0x1ae5fe(0xb8)](..._0x2eed80),_0x10c057[_0x1ae5fe(0x94)](_0x4b0777,_0x3a623a[0x0],_0x1ae5fe(0xb6));for(const _0x57aadb of _0x3a623a)_0x10c057[_0x1ae5fe(0x9b)](_0x10c057[_0x1ae5fe(0xa0)](_0x57aadb),_0x10c057[_0x1ae5fe(0x89)](_0x4b0777,_0x1ae5fe(0xa2))),_0x10c057[_0x1ae5fe(0xaa)](_0x57aadb);this[_0x1ae5fe(0x6e)]=_0x4b0777,this[_0x1ae5fe(0xb7)](_0x10c057),_0x2dd8cb=!0x0;}else this[_0x1ae5fe(0x6e)]=_0x2eed80[0x0];}if(_0x1748b4[_0x1ae5fe(0xad)]&&_0x1ae5fe(0xc1)===this[_0x1ae5fe(0x6e)]?.[_0x1ae5fe(0x7f)][_0x1ae5fe(0xbe)]){for(const _0x3bdfa0 of this[_0x1ae5fe(0x7a)])_0x10c057[_0x1ae5fe(0xaa)](_0x3bdfa0[_0x1ae5fe(0xa9)]),_0x2dd8cb=!0x0;this[_0x1ae5fe(0x7a)]=[],this[_0x1ae5fe(0x6e)]=null;}return _0x2dd8cb;}[_0x518ee5(0xce)](_0x556342,_0x44ae0f){const _0x30f176=_0x518ee5;let _0x2b879c=!0x1;const _0x5a5820=this[_0x30f176(0xc9)][_0x30f176(0x93)][_0x30f176(0x70)](_0x30f176(0xa1)),{inserted:_0x48f335,moved:_0x208abe}=this[_0x30f176(0x6b)][_0x30f176(0xc6)](_0x44ae0f);for(const _0x501d3d of[..._0x208abe,..._0x48f335]){const _0x257983=_0x501d3d[_0x30f176(0xbd)](_0x30f176(0x91)),_0x2a9854=this[_0x30f176(0x9e)](_0x257983);_0x2a9854&&(_0x2a9854[_0x30f176(0xaf)]=_0x501d3d),_(_0x556342,_0x5a5820,_0x501d3d)&&(_0x2b879c=!0x0);}return _0x2b879c;}[_0x518ee5(0x85)](_0x912005,_0x2f63dd){const _0x84ae4a=_0x518ee5;let _0x59daa4=!0x1;const {removed:_0x3f35ac,inserted:_0x2c01a5,moved:_0x478daa}=this[_0x84ae4a(0x7c)][_0x84ae4a(0xc6)](_0x2f63dd);for(const _0x53e107 of _0x3f35ac)this[_0x84ae4a(0x95)](_0x912005,_0x53e107)&&(_0x59daa4=!0x0);for(const _0x44fe19 of _0x2c01a5)this[_0x84ae4a(0x9a)](_0x912005,_0x44fe19)&&(_0x59daa4=!0x0);for(const _0x402b4a of _0x478daa)this[_0x84ae4a(0x7e)](_0x912005,_0x402b4a)&&(_0x59daa4=!0x0);return _0x59daa4;}[_0x518ee5(0xae)](_0x3b3fab){const _0x12bd6d=_0x518ee5;if(!this[_0x12bd6d(0x6e)])return!0x1;let _0x300ac0=!0x1;if(this[_0x12bd6d(0x6e)][_0x12bd6d(0x71)]!==this[_0x12bd6d(0x7a)][_0x12bd6d(0xad)]){const _0x13c3aa=[];for(const _0x34d976 of this[_0x12bd6d(0x6e)][_0x12bd6d(0x6f)]()){const _0x20a923=_0x34d976[_0x12bd6d(0xbd)](_0x12bd6d(0x91));this[_0x12bd6d(0x9e)](_0x20a923)||(_0x13c3aa[_0x12bd6d(0xc4)](_0x34d976),_0x300ac0=!0x0);}for(const _0x37b55a of _0x13c3aa)_0x3b3fab[_0x12bd6d(0xaa)](_0x37b55a);}const _0x208d21=new Set(),_0x167fca=[];for(const _0x43e60b of this[_0x12bd6d(0x6e)][_0x12bd6d(0x6f)]()){const _0xc61832=_0x43e60b[_0x12bd6d(0xbd)](_0x12bd6d(0x91));_0x208d21[_0x12bd6d(0x80)](_0xc61832)?(_0x167fca[_0x12bd6d(0xc4)](_0x43e60b),_0x300ac0=!0x0):_0x208d21[_0x12bd6d(0x74)](_0xc61832);}for(const _0x226f21 of _0x167fca)_0x3b3fab[_0x12bd6d(0xaa)](_0x226f21);return this[_0x12bd6d(0x6e)][_0x12bd6d(0x71)]||(_0x3b3fab[_0x12bd6d(0xaa)](this[_0x12bd6d(0x6e)]),this[_0x12bd6d(0x6e)]=null,_0x300ac0=!0x0),_0x300ac0;}[_0x518ee5(0x9a)](_0x4f60d5,_0x3148b2){const _0x27a9e1=_0x518ee5;if(this[_0x27a9e1(0x7a)][_0x27a9e1(0xcb)](_0x36afd9=>_0x36afd9[_0x27a9e1(0xa9)]===_0x3148b2))return!0x1;let _0x180a25=!0x1;const _0x130356=_0x3148b2[_0x27a9e1(0xbd)](_0x27a9e1(0x91)),_0x2bcf10=this[_0x27a9e1(0x7a)][_0x27a9e1(0xca)](_0x392449=>_0x392449['id']===_0x130356);-0x1!==_0x2bcf10&&(_0x4f60d5[_0x27a9e1(0xaa)](this[_0x27a9e1(0x7a)][_0x2bcf10][_0x27a9e1(0xa9)]),this[_0x27a9e1(0x7a)][_0x27a9e1(0xb5)](_0x2bcf10,0x1),_0x180a25=!0x0);let _0x24ee33=this[_0x27a9e1(0x6e)]?function(_0x3aae06,_0xbfdb36){const _0xd02ba9=_0x27a9e1;for(const _0xb70409 of _0x3aae06[_0xd02ba9(0x6f)]())if(_0xb70409[_0xd02ba9(0xbd)](_0xd02ba9(0x91))===_0xbfdb36)return _0xb70409;return null;}(this[_0x27a9e1(0x6e)],_0x130356):null;_0x24ee33||(_0x24ee33=_0x4f60d5[_0x27a9e1(0xb0)](_0x27a9e1(0x83),{'footnoteId':_0x130356}),this[_0x27a9e1(0x6e)]&&(_0x4f60d5[_0x27a9e1(0x94)](_0x24ee33,this[_0x27a9e1(0x6e)],_0x27a9e1(0xa2)),_0x180a25=!0x0));const _0x366b2e={'id':_0x130356,'reference':_0x3148b2,'definition':_0x24ee33},_0x1a4845=I(this[_0x27a9e1(0xc9)][_0x27a9e1(0x75)],this[_0x27a9e1(0x7a)],_0x3148b2);this[_0x27a9e1(0x7a)][_0x27a9e1(0xb5)](_0x1a4845,0x0,_0x366b2e);let _0xdf1dec=_0x1a4845;return-0x1!==_0x2bcf10&&(_0xdf1dec=Math[_0x27a9e1(0xb1)](_0x1a4845,_0x2bcf10)),this[_0x27a9e1(0xb7)](_0x4f60d5,_0xdf1dec)&&(_0x180a25=!0x0),_0x180a25;}[_0x518ee5(0x95)](_0x5a322a,_0x208e33){const _0x599ff7=_0x518ee5,_0x41f450=this[_0x599ff7(0x7a)][_0x599ff7(0xca)](_0x566e42=>_0x566e42['id']===_0x208e33);if(-0x1===_0x41f450)return!0x1;let _0x5c191d=!0x1;const _0x23a883=this[_0x599ff7(0x7a)][_0x41f450];return _0x599ff7(0xc1)!==_0x23a883[_0x599ff7(0xaf)][_0x599ff7(0x7f)][_0x599ff7(0xbe)]&&(_0x5a322a[_0x599ff7(0xaa)](_0x23a883[_0x599ff7(0xaf)]),_0x5c191d=!0x0),this[_0x599ff7(0x7a)][_0x599ff7(0xb5)](_0x41f450,0x1),this[_0x599ff7(0xb7)](_0x5a322a,_0x41f450)&&(_0x5c191d=!0x0),_0x5c191d;}[_0x518ee5(0x7e)](_0xaa1933,_0x2ce51a){const _0x368e96=_0x518ee5,_0x3e01a5=_0x2ce51a[_0x368e96(0xbd)](_0x368e96(0x91)),_0x4912ed=this[_0x368e96(0x7a)][_0x368e96(0xca)](_0x2fc8f1=>_0x2fc8f1['id']===_0x3e01a5),_0x5db305=this[_0x368e96(0x7a)][_0x4912ed];let _0x2db276=!0x1;_0x5db305[_0x368e96(0xa9)]=_0x2ce51a,this[_0x368e96(0x7a)][_0x368e96(0xb5)](_0x4912ed,0x1);const _0x3a3981=I(this[_0x368e96(0xc9)][_0x368e96(0x75)],this[_0x368e96(0x7a)],_0x2ce51a);return this[_0x368e96(0x7a)][_0x368e96(0xb5)](_0x3a3981,0x0,_0x5db305),this[_0x368e96(0xb7)](_0xaa1933,Math[_0x368e96(0xb1)](_0x4912ed,_0x3a3981))&&(_0x2db276=!0x0),_0x2db276;}[_0x518ee5(0xbc)](_0x36bd3a,_0x242ccc){const _0x3dd544=_0x518ee5;if(!this[_0x3dd544(0x6e)])return!0x1;const _0x2b24a8=this[_0x3dd544(0x7a)][_0x242ccc];let _0x13f5dc;return _0x13f5dc=this[_0x3dd544(0xc2)]?this[_0x3dd544(0xc2)]({'footnote':_0x2b24a8,'container':this[_0x3dd544(0x6e)],'digits':String(this[_0x3dd544(0x7a)][_0x3dd544(0xad)])[_0x3dd544(0xad)],'value':_0x242ccc+0x1}):String(_0x242ccc+0x1),_0x2b24a8[_0x3dd544(0xa9)][_0x3dd544(0xbd)](_0x3dd544(0xba))!=_0x13f5dc&&(_0x36bd3a[_0x3dd544(0x78)](_0x3dd544(0xba),_0x13f5dc,_0x2b24a8[_0x3dd544(0xa9)]),!0x0);}[_0x518ee5(0x9f)](_0x111121){const _0x54a921=_0x518ee5;if(!this[_0x54a921(0x6e)]||this[_0x54a921(0x7a)][_0x54a921(0xad)]<0x2)return!0x1;if(function(_0x31da72,_0xf653f7){const _0x4422dc=_0x54a921;if(_0x31da72[_0x4422dc(0xad)]!==_0xf653f7[_0x4422dc(0xad)])return!0x1;for(let _0x57f403=0x0;_0x57f403<_0x31da72[_0x4422dc(0xad)];_0x57f403++)if(_0x31da72[_0x57f403]!==_0xf653f7[_0x57f403])return!0x1;return!0x0;}(this[_0x54a921(0x7a)][_0x54a921(0x6c)](_0x229202=>_0x229202['id']),Array[_0x54a921(0xbb)](this[_0x54a921(0x6e)][_0x54a921(0x6f)]())[_0x54a921(0x6c)](_0x7c4307=>_0x7c4307[_0x54a921(0xbd)](_0x54a921(0x91)))))return!0x1;let _0x4fd7fc=!0x1;for(let _0x197c06=0x0;_0x197c06<this[_0x54a921(0x7a)][_0x54a921(0xad)];_0x197c06++){const _0x107361=this[_0x54a921(0x7a)][_0x197c06],_0x1bdd68=_0x111121[_0x54a921(0x86)](_0x107361[_0x54a921(0xaf)]),_0x25337f=_0x111121[_0x54a921(0x89)](this[_0x54a921(0x6e)],_0x197c06);_0x1bdd68[_0x54a921(0xa8)](_0x25337f)||(_0x111121[_0x54a921(0x9b)](_0x111121[_0x54a921(0x8c)](_0x107361[_0x54a921(0xaf)]),_0x25337f),_0x4fd7fc=!0x0);}return _0x4fd7fc;}[_0x518ee5(0x88)](_0x1c2000){const _0x2aaa87=_0x518ee5;if(!this[_0x2aaa87(0x7a)][_0x2aaa87(0xad)])return!0x1;const {model:_0xb60fb8}=this[_0x2aaa87(0xc9)];let _0x3ce6f0=!0x1;for(let _0x4d0ae5=0x0;_0x4d0ae5<this[_0x2aaa87(0x7a)][_0x2aaa87(0xad)]-0x1;_0x4d0ae5++){const _0x11e572=this[_0x2aaa87(0x7a)][_0x4d0ae5],_0x18a88f=this[_0x2aaa87(0x7a)][_0x4d0ae5+0x1],_0xebb288=_0xb60fb8[_0x2aaa87(0x86)](_0x11e572[_0x2aaa87(0xa9)]),_0x11535e=_0xb60fb8[_0x2aaa87(0x86)](_0x18a88f[_0x2aaa87(0xa9)]);_0x2aaa87(0xcd)===_0xebb288[_0x2aaa87(0xb4)](_0x11535e)&&(this[_0x2aaa87(0x7e)](_0x1c2000,_0x11e572[_0x2aaa87(0xa9)]),_0x4d0ae5=-0x1,_0x3ce6f0=!0x0);}return _0x3ce6f0;}}function _(_0x5dc1f1,_0x266724,_0x2c6a52){const _0x2957dd=_0x518ee5;if(_0x2c6a52[_0x2957dd(0x71)])return!0x1;const _0x2cd7c2=_0x266724?_0x2957dd(0x8b):_0x2957dd(0x79);return _0x5dc1f1[_0x2957dd(0x94)](_0x5dc1f1[_0x2957dd(0xb0)](_0x2cd7c2),_0x2c6a52),!0x0;}function I(_0x24039a,_0x118de7,_0x422bdd){const _0x43addc=_0x518ee5;if(0x0===_0x118de7[_0x43addc(0xad)])return 0x0;const _0x432c0f=_0x24039a[_0x43addc(0x86)](_0x422bdd);for(let _0x72061b=0x0;_0x72061b<_0x118de7[_0x43addc(0xad)];_0x72061b++){const _0x31fee0=_0x118de7[_0x72061b],_0x29cab2=_0x24039a[_0x43addc(0x86)](_0x31fee0[_0x43addc(0xa9)]);if(_0x43addc(0xb6)===_0x432c0f[_0x43addc(0xb4)](_0x29cab2))return _0x72061b;}const _0x236fca=_0x422bdd[_0x43addc(0x7f)];let _0x562dc4=-0x1;for(let _0x473eb1=_0x118de7[_0x43addc(0xad)]-0x1;_0x473eb1>=0x0;_0x473eb1--)if(_0x118de7[_0x473eb1][_0x43addc(0xa9)][_0x43addc(0x7f)]===_0x236fca){_0x562dc4=_0x473eb1;break;}if(-0x1!==_0x562dc4)return _0x562dc4+0x1;const _0x576bfa=_0x24039a[_0x43addc(0xcc)][_0x43addc(0xa6)](),_0x3b0b0b=_0x576bfa[_0x43addc(0x9d)](_0x236fca[_0x43addc(0xbe)]),_0x3e3854=_0x576bfa[_0x3b0b0b+0x1];if(_0x3e3854){for(let _0x3ebae6=0x0;_0x3ebae6<_0x118de7[_0x43addc(0xad)];_0x3ebae6++)if(_0x118de7[_0x3ebae6][_0x43addc(0xa9)][_0x43addc(0x7f)][_0x43addc(0xbe)]===_0x3e3854)return _0x3ebae6;}return _0x118de7[_0x43addc(0xad)];}function _0x5589(){const _0x33de00=['min','3410316liksdd','11401224LLAmgw','compareWith','splice','before','_updateFootnotesCounters','push','pluginName','footnoteCounter','from','_updateFootnoteRefCounter','getAttribute','rootName','footnotesDefinitions','setFootnoteFormatter','$graveyard','_footnoteFormatter','parent','unshift','5103665QFqXuN','getChanges','_ensureFootnotesDefinitionsContainerExists','low','editor','findIndex','find','document','after','_handleFootnoteDefinitionsChanges','_footnoteDefsTracker','map','registerPostFixer','_footnotesDefinitions','getChildren','get','childCount','6851838JUfYwH','getFootnotesFormatter','add','model','getFootnotesDefinitionsObjectElement','set','setAttribute','footnoteInlineContent','_footnotes','enqueueChange','_footnoteRefsTracker','differ','_handleMovedFootnoteReference','root','has','high','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','append','_handleFootnoteReferencesChanges','createPositionBefore','_footnoteDefsContainerTracker','_ensureFootnotesReferencesHaveProperOrder','createPositionAt','singleton','paragraph','createRangeOn','isPremiumPlugin','_handleFootnotesDefinitionsObjectChanges','1zJaSqP','727930jayqtD','footnoteId','reset','config','insert','_handleRemoveFootnoteReferenceById','getFootnotes','some','595876XJPuvE','init','_handleInsertedFootnoteReference','move','FootnotesTracker','indexOf','getFootnote','_sortFootnoteDefinitions','createRangeIn','footnotes.multiBlock','end','9iKEoVQ','change:data','isOfficialPlugin','getRootNames','footnoteRef','isEqual','reference','remove','listenTo','985401PUPURx','length','_handleFootnotesDefinitionsObjectSync','definition','createElement'];_0x5589=function(){return _0x33de00;};return _0x5589();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4d058f,MenuBarMenuListItemButtonView as _0x2e5d0a}from'ckeditor5/src/ui.js';import{Plugin as _0x57b730}from'ckeditor5/src/core.js';import{IconFootnote as _0x117641}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x57b730{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40bc78}=this,{componentFactory:_0x4c3186}=_0x40bc78['ui'];_0x4c3186['add']('insertFootnote',E(_0x40bc78,_0x4d058f)),_0x4c3186['add']('menuBar:insertFootnote',E(_0x40bc78,_0x2e5d0a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d2aaf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x400df3;for(const _0xf2e02 in _0x2d2aaf){const _0x1b7893=_0xf2e02,_0x3644fd=_0x2d2aaf[_0x1b7893];if('footnotesLicenseKeyValid'==_0x3644fd||'footnotesLicenseKeyInvalid'==_0x3644fd||'footnotesLicenseKeyExpired'==_0x3644fd||'footnotesLicenseKeyDomainLimit'==_0x3644fd||'footnotesLicenseKeyNotAllowed'==_0x3644fd||'footnotesLicenseKeyEvaluationLimit'==_0x3644fd||'footnotesLicenseKeyUsageLimit'==_0x3644fd){delete _0x2d2aaf[_0x1b7893],_0x400df3=_0x3644fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x400df3&&_0x2d2aaf['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x400df3&&_0x2d2aaf['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x400df3&&_0x2d2aaf['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x522757,_0x962df){const _0xd5d411=_0x522757['commands']['get']('insertFootnote');return _0x5980e0=>{const {t:t}=_0x5980e0,_0x2a047a=new _0x962df(_0x5980e0),_0x3ecb34=_0x2a047a instanceof _0x2e5d0a;return _0x2a047a['bind']('isEnabled')['to'](_0xd5d411,'isEnabled'),_0x2a047a['set']({'label':t(_0x3ecb34?'Footnote':'Insert\x20footnote'),'icon':_0x117641,'tooltip':!0x0}),_0x2a047a['on']('execute',()=>{_0xd5d411['execute'](),_0x522757['editing']['view']['focus']();}),_0x2a047a;};}
23
+ import{ButtonView as _0x5ba2c1,MenuBarMenuListItemButtonView as _0x2c3cd9}from'ckeditor5/src/ui.js';import{Plugin as _0x71b41b}from'ckeditor5/src/core.js';import{IconFootnote as _0x366f18}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x71b41b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13dd7a}=this,{componentFactory:_0x36ecce}=_0x13dd7a['ui'];_0x36ecce['add']('insertFootnote',E(_0x13dd7a,_0x5ba2c1)),_0x36ecce['add']('menuBar:insertFootnote',E(_0x13dd7a,_0x2c3cd9)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x446cfc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xe4c878;for(const _0x198fd8 in _0x446cfc){const _0x17cbe5=_0x198fd8,_0x362703=_0x446cfc[_0x17cbe5];if('footnotesLicenseKeyValid'==_0x362703||'footnotesLicenseKeyInvalid'==_0x362703||'footnotesLicenseKeyExpired'==_0x362703||'footnotesLicenseKeyDomainLimit'==_0x362703||'footnotesLicenseKeyNotAllowed'==_0x362703||'footnotesLicenseKeyEvaluationLimit'==_0x362703||'footnotesLicenseKeyUsageLimit'==_0x362703){delete _0x446cfc[_0x17cbe5],_0xe4c878=_0x362703,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xe4c878&&_0x446cfc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xe4c878&&_0x446cfc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xe4c878&&_0x446cfc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xe4c878&&_0x446cfc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xe4c878&&_0x446cfc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xe4c878&&_0x446cfc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x10823f,_0x377cdc){const _0xae236a=_0x10823f['commands']['get']('insertFootnote');return _0x376d25=>{const {t:t}=_0x376d25,_0x7a1890=new _0x377cdc(_0x376d25),_0x888be6=_0x7a1890 instanceof _0x2c3cd9;return _0x7a1890['bind']('isEnabled')['to'](_0xae236a,'isEnabled'),_0x7a1890['set']({'label':t(_0x888be6?'Footnote':'Insert\x20footnote'),'icon':_0x366f18,'tooltip':!0x0}),_0x7a1890['on']('execute',()=>{_0xae236a['execute'](),_0x10823f['editing']['view']['focus']();}),_0x7a1890;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x21da07,_0x5e57b6){var _0xd56e76=_0x4183,_0x13d0a9=_0x21da07();while(!![]){try{var _0x3e8acc=parseInt(_0xd56e76(0xc0))/0x1*(parseInt(_0xd56e76(0xbb))/0x2)+parseInt(_0xd56e76(0xbf))/0x3+parseInt(_0xd56e76(0xb8))/0x4*(parseInt(_0xd56e76(0xbc))/0x5)+-parseInt(_0xd56e76(0xc1))/0x6+parseInt(_0xd56e76(0xba))/0x7+-parseInt(_0xd56e76(0xbe))/0x8+parseInt(_0xd56e76(0xbd))/0x9*(-parseInt(_0xd56e76(0xb9))/0xa);if(_0x3e8acc===_0x5e57b6)break;else _0x13d0a9['push'](_0x13d0a9['shift']());}catch(_0x239114){_0x13d0a9['push'](_0x13d0a9['shift']());}}}(_0x46b9,0x33a51));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x46b9(){var _0xefeb85=['1827545VKwdnF','218745XiWyLU','1882320GAFDsB','1113066hrhcjS','147WBEdae','1171896yTunLG','4BolARx','150VLLFir','1587754iRAQED','590AdQILV'];_0x46b9=function(){return _0xefeb85;};return _0x46b9();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4183(_0x2ba5ad,_0x3353db){var _0x46b990=_0x46b9();return _0x4183=function(_0x418357,_0x5f039a){_0x418357=_0x418357-0xb8;var _0x48469e=_0x46b990[_0x418357];return _0x48469e;},_0x4183(_0x2ba5ad,_0x3353db);}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(_0x35f2fb,_0xc365cd){var _0x230b6f=_0xe4b5,_0x401032=_0x35f2fb();while(!![]){try{var _0x21336c=parseInt(_0x230b6f(0x174))/0x1*(-parseInt(_0x230b6f(0x17c))/0x2)+parseInt(_0x230b6f(0x17b))/0x3+-parseInt(_0x230b6f(0x17a))/0x4+parseInt(_0x230b6f(0x178))/0x5*(parseInt(_0x230b6f(0x175))/0x6)+parseInt(_0x230b6f(0x173))/0x7+parseInt(_0x230b6f(0x176))/0x8*(-parseInt(_0x230b6f(0x179))/0x9)+-parseInt(_0x230b6f(0x177))/0xa;if(_0x21336c===_0xc365cd)break;else _0x401032['push'](_0x401032['shift']());}catch(_0x2c2bb5){_0x401032['push'](_0x401032['shift']());}}}(_0x4791,0xa3661));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 _0xe4b5(_0x22143d,_0x35d216){var _0x479120=_0x4791();return _0xe4b5=function(_0xe4b5d6,_0x396c95){_0xe4b5d6=_0xe4b5d6-0x173;var _0x47504f=_0x479120[_0xe4b5d6];return _0x47504f;},_0xe4b5(_0x22143d,_0x35d216);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4791(){var _0x4fd518=['2182146rwhpmI','216498AgVZaW','5125764ZouscI','11SquqzX','6nswLGq','1137224dlUgzZ','734820InmtzT','5427185iAuLGp','9RaMtxU','1877664YRvMJr'];_0x4791=function(){return _0x4fd518;};return _0x4791();}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 _0x3ac0(){const _0x1b1103=['values','getElementKey','has','rootName','_model','4FTtcvW','element','attributes','$graveyard','_trackedElements','createRangeOn','$text','set','2034432fSkmIF','position','690603yJkRRC','reset','getChanges','getItems','9461600eVttfj','get','remove','4361460TesKOZ','insert','nodeAfter','root','push','4428851OUXnQE','type','length','_elementName','elementName','816650XHbtLq','527WsCXIw','slice','from','clear','delete','add','1910gptmUM','name','flat','_getElementKey','8FMgCSi'];_0x3ac0=function(){return _0x1b1103;};return _0x3ac0();}const _0x1d229a=_0x56ec;(function(_0x53ae34,_0x4d5abf){const _0x19a243=_0x56ec,_0x325740=_0x53ae34();while(!![]){try{const _0x3a8e53=parseInt(_0x19a243(0x167))/0x1*(-parseInt(_0x19a243(0x16d))/0x2)+-parseInt(_0x19a243(0x181))/0x3*(-parseInt(_0x19a243(0x177))/0x4)+-parseInt(_0x19a243(0x166))/0x5+parseInt(_0x19a243(0x15c))/0x6+-parseInt(_0x19a243(0x161))/0x7*(parseInt(_0x19a243(0x171))/0x8)+-parseInt(_0x19a243(0x17f))/0x9+parseInt(_0x19a243(0x159))/0xa;if(_0x3a8e53===_0x4d5abf)break;else _0x325740['push'](_0x325740['shift']());}catch(_0x15b8f9){_0x325740['push'](_0x325740['shift']());}}}(_0x3ac0,0x5c43b));function _0x56ec(_0x252d23,_0x21f858){const _0x3ac070=_0x3ac0();return _0x56ec=function(_0x56ec11,_0x128d56){_0x56ec11=_0x56ec11-0x159;let _0x46fd66=_0x3ac070[_0x56ec11];return _0x46fd66;},_0x56ec(_0x252d23,_0x21f858);}export class ModelElementTracker{[_0x1d229a(0x176)];[_0x1d229a(0x164)];[_0x1d229a(0x170)];[_0x1d229a(0x17b)]=new Map();constructor(_0x1e9aed,_0x54de5a){const _0x62d12a=_0x1d229a;this[_0x62d12a(0x176)]=_0x1e9aed,this[_0x62d12a(0x164)]=_0x54de5a[_0x62d12a(0x165)],this[_0x62d12a(0x170)]=_0x54de5a[_0x62d12a(0x173)];}[_0x1d229a(0x182)](){const _0x2108eb=_0x1d229a;this[_0x2108eb(0x17b)][_0x2108eb(0x16a)]();}[_0x1d229a(0x183)](_0x303022){const _0x583df4=_0x1d229a,_0x50ce73=new Set(),_0x3fdfa4=new Map();for(const _0x402df4 of _0x303022){if(_0x583df4(0x15d)===_0x402df4[_0x583df4(0x162)]&&_0x583df4(0x17d)!==_0x402df4[_0x583df4(0x16e)]&&_0x402df4[_0x583df4(0x180)][_0x583df4(0x15e)]){const _0x1ec293=this[_0x583df4(0x176)][_0x583df4(0x17c)](_0x402df4[_0x583df4(0x180)][_0x583df4(0x15e)]);for(const _0x509833 of _0x1ec293[_0x583df4(0x184)]()){if(!_0x509833['is'](_0x583df4(0x178),this[_0x583df4(0x164)]))continue;const _0x25bbc9=this[_0x583df4(0x170)](_0x509833);_0x3fdfa4[_0x583df4(0x174)](_0x25bbc9)||_0x3fdfa4[_0x583df4(0x17e)](_0x25bbc9,[]),_0x3fdfa4[_0x583df4(0x15a)](_0x25bbc9)[_0x583df4(0x160)](_0x509833);}}if(_0x583df4(0x15b)===_0x402df4[_0x583df4(0x162)]&&_0x402df4[_0x583df4(0x16e)]===this[_0x583df4(0x164)]){const _0x16222d=this[_0x583df4(0x170)]({'getAttribute':_0x1d1938=>_0x402df4[_0x583df4(0x179)][_0x583df4(0x15a)](_0x1d1938)});_0x50ce73[_0x583df4(0x16c)](_0x16222d);}}for(const [_0x5196ee,_0x6f356a]of this[_0x583df4(0x17b)])_0x583df4(0x17a)===_0x6f356a[_0x583df4(0x15f)][_0x583df4(0x175)]&&_0x50ce73[_0x583df4(0x16c)](_0x5196ee);for(const _0x40f32a of _0x50ce73)this[_0x583df4(0x17b)][_0x583df4(0x16b)](_0x40f32a);for(const [_0x36a7ef,_0x4a248c]of _0x3fdfa4)this[_0x583df4(0x17b)][_0x583df4(0x17e)](_0x36a7ef,_0x4a248c[_0x4a248c[_0x583df4(0x163)]-0x1]);const _0x28b60f=new Set();for(const [_0x1b46d,_0x252c9b]of _0x3fdfa4)_0x50ce73[_0x583df4(0x174)](_0x1b46d)&&(_0x28b60f[_0x583df4(0x16c)](_0x252c9b[0x0]),_0x252c9b[_0x583df4(0x163)]>0x1?_0x3fdfa4[_0x583df4(0x17e)](_0x1b46d,_0x252c9b[_0x583df4(0x168)](0x1)):_0x3fdfa4[_0x583df4(0x16b)](_0x1b46d),_0x50ce73[_0x583df4(0x16b)](_0x1b46d));return{'removed':Array[_0x583df4(0x169)](_0x50ce73),'inserted':Array[_0x583df4(0x169)](_0x3fdfa4[_0x583df4(0x172)]())[_0x583df4(0x16f)](),'moved':Array[_0x583df4(0x169)](_0x28b60f)};}}
23
+ const _0xb53087=_0x178f;function _0x178f(_0x2d65ce,_0x2623bc){const _0x18c1de=_0x18c1();return _0x178f=function(_0x178f26,_0x15b6e8){_0x178f26=_0x178f26-0xfc;let _0x2d9e64=_0x18c1de[_0x178f26];return _0x2d9e64;},_0x178f(_0x2d65ce,_0x2623bc);}function _0x18c1(){const _0xd5d601=['426uhQFzV','24016NbITqf','flat','name','_model','has','slice','root','element','$text','values','remove','insert','_getElementKey','elementName','173954RYZYRJ','506992eDIaTP','12rVgxsW','delete','22455158wXvuzx','78205NDiAml','get','nodeAfter','$graveyard','getItems','7930260ULDDAs','_elementName','type','position','attributes','set','length','createRangeOn','10Qhkocc','42VtqCmk','_trackedElements','rootName','798MkmcOz','add','373022WQKyaY','getElementKey','push','getChanges','reset','from','clear'];_0x18c1=function(){return _0xd5d601;};return _0x18c1();}(function(_0x1bfd4f,_0xad0715){const _0x373785=_0x178f,_0x2b8b83=_0x1bfd4f();while(!![]){try{const _0xe84c9c=-parseInt(_0x373785(0x101))/0x1+-parseInt(_0x373785(0x117))/0x2+-parseInt(_0x373785(0xff))/0x3*(-parseInt(_0x373785(0x109))/0x4)+-parseInt(_0x373785(0x11c))/0x5*(parseInt(_0x373785(0x108))/0x6)+parseInt(_0x373785(0xfc))/0x7*(-parseInt(_0x373785(0x118))/0x8)+parseInt(_0x373785(0x121))/0x9*(-parseInt(_0x373785(0x129))/0xa)+parseInt(_0x373785(0x11b))/0xb*(parseInt(_0x373785(0x119))/0xc);if(_0xe84c9c===_0xad0715)break;else _0x2b8b83['push'](_0x2b8b83['shift']());}catch(_0x187733){_0x2b8b83['push'](_0x2b8b83['shift']());}}}(_0x18c1,0xc4e94));export class ModelElementTracker{[_0xb53087(0x10c)];[_0xb53087(0x122)];[_0xb53087(0x115)];[_0xb53087(0xfd)]=new Map();constructor(_0x4db64f,_0x65e2a8){const _0xc52aec=_0xb53087;this[_0xc52aec(0x10c)]=_0x4db64f,this[_0xc52aec(0x122)]=_0x65e2a8[_0xc52aec(0x116)],this[_0xc52aec(0x115)]=_0x65e2a8[_0xc52aec(0x102)];}[_0xb53087(0x105)](){const _0x188b46=_0xb53087;this[_0x188b46(0xfd)][_0x188b46(0x107)]();}[_0xb53087(0x104)](_0x3e6a71){const _0xd64b53=_0xb53087,_0x32b8c2=new Set(),_0x56e13b=new Map();for(const _0x2caca3 of _0x3e6a71){if(_0xd64b53(0x114)===_0x2caca3[_0xd64b53(0x123)]&&_0xd64b53(0x111)!==_0x2caca3[_0xd64b53(0x10b)]&&_0x2caca3[_0xd64b53(0x124)][_0xd64b53(0x11e)]){const _0x51b58b=this[_0xd64b53(0x10c)][_0xd64b53(0x128)](_0x2caca3[_0xd64b53(0x124)][_0xd64b53(0x11e)]);for(const _0x4c306a of _0x51b58b[_0xd64b53(0x120)]()){if(!_0x4c306a['is'](_0xd64b53(0x110),this[_0xd64b53(0x122)]))continue;const _0x4fa650=this[_0xd64b53(0x115)](_0x4c306a);_0x56e13b[_0xd64b53(0x10d)](_0x4fa650)||_0x56e13b[_0xd64b53(0x126)](_0x4fa650,[]),_0x56e13b[_0xd64b53(0x11d)](_0x4fa650)[_0xd64b53(0x103)](_0x4c306a);}}if(_0xd64b53(0x113)===_0x2caca3[_0xd64b53(0x123)]&&_0x2caca3[_0xd64b53(0x10b)]===this[_0xd64b53(0x122)]){const _0x5db4dc=this[_0xd64b53(0x115)]({'getAttribute':_0x376de4=>_0x2caca3[_0xd64b53(0x125)][_0xd64b53(0x11d)](_0x376de4)});_0x32b8c2[_0xd64b53(0x100)](_0x5db4dc);}}for(const [_0x29c6e0,_0x182d9b]of this[_0xd64b53(0xfd)])_0xd64b53(0x11f)===_0x182d9b[_0xd64b53(0x10f)][_0xd64b53(0xfe)]&&_0x32b8c2[_0xd64b53(0x100)](_0x29c6e0);for(const _0x2869be of _0x32b8c2)this[_0xd64b53(0xfd)][_0xd64b53(0x11a)](_0x2869be);for(const [_0x30bafb,_0x4bf6b0]of _0x56e13b)this[_0xd64b53(0xfd)][_0xd64b53(0x126)](_0x30bafb,_0x4bf6b0[_0x4bf6b0[_0xd64b53(0x127)]-0x1]);const _0x49e899=new Set();for(const [_0x502ae0,_0x5a8ba3]of _0x56e13b)_0x32b8c2[_0xd64b53(0x10d)](_0x502ae0)&&(_0x49e899[_0xd64b53(0x100)](_0x5a8ba3[0x0]),_0x5a8ba3[_0xd64b53(0x127)]>0x1?_0x56e13b[_0xd64b53(0x126)](_0x502ae0,_0x5a8ba3[_0xd64b53(0x10e)](0x1)):_0x56e13b[_0xd64b53(0x11a)](_0x502ae0),_0x32b8c2[_0xd64b53(0x11a)](_0x502ae0));return{'removed':Array[_0xd64b53(0x106)](_0x32b8c2),'inserted':Array[_0xd64b53(0x106)](_0x56e13b[_0xd64b53(0x112)]())[_0xd64b53(0x10a)](),'moved':Array[_0xd64b53(0x106)](_0x49e899)};}}