@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251107.0 → 0.0.0-nightly-20251109.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x53c4b2}from'ckeditor5/src/core.js';import{isWidget as _0x11be63,toWidget as _0x205a54,toWidgetEditable as _0x2b40b7}from'ckeditor5/src/widget.js';import{uid as _0x27132c}from'ckeditor5/src/utils.js';import{PointerObserver as _0xd93072,ClickObserver as _0x281dc3}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x202ea0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3a8d2b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x53c4b2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x202ea0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59714f}=this;_0x59714f['config']['define']('footnotes.multiBlock',!0x0),_0x59714f['commands']['add']('insertFootnote',new _0x3a8d2b(_0x59714f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x44b712){const _0x3ad61e=_0x36c72a([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]),_0x474076=0x47a28506,_0x455dbc=0x47a5fd6e^_0x474076,_0x5e3e81=window[_0x36c72a([0x44,0x61,0x74,0x65])][_0x36c72a([0x6e,0x6f,0x77])](),_0x8848e1=_0x44b712[_0x36c72a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x84c6c0=new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5abb7d=>{_0x8848e1[_0x36c72a([0x6f,0x6e,0x63,0x65])](_0x36c72a([0x72,0x65,0x61,0x64,0x79]),_0x5abb7d);}),_0x3019c9={[_0x36c72a([0x6b,0x74,0x79])]:_0x36c72a([0x45,0x43]),[_0x36c72a([0x75,0x73,0x65])]:_0x36c72a([0x73,0x69,0x67]),[_0x36c72a([0x63,0x72,0x76])]:_0x36c72a([0x50,0x2d,0x32,0x35,0x36]),[_0x36c72a([0x78])]:_0x36c72a([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]),[_0x36c72a([0x79])]:_0x36c72a([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]),[_0x36c72a([0x61,0x6c,0x67])]:_0x36c72a([0x45,0x53,0x32,0x35,0x36])},_0x50d323=_0x8848e1[_0x36c72a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36c72a([0x67,0x65,0x74])](_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b2419(){let _0x3b4468,_0x55bef7=null,_0x1476b8=null;try{if(_0x50d323==_0x36c72a([0x47,0x50,0x4c]))return _0x36c72a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b4468=_0x19c5ee(),!_0x3b4468)return _0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b4468[_0x36c72a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1476b8=_0x356838(_0x3b4468[_0x36c72a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b4468[_0x36c72a([0x6a,0x74,0x69])])),await _0x5865ea()?_0x2ddb23()?_0x1647b4()?_0x36c72a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2509a9()?(_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c72a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55bef7=_0xc8f3d3(_0x36c72a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c72a([0x74,0x72,0x69,0x61,0x6c])&&(_0x55bef7=_0xc8f3d3(_0x36c72a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a868c()):_0x36c72a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36c72a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1647b4(){const _0x5ce95f=[_0x36c72a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36c72a([0x74,0x72,0x69,0x61,0x6c])][_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e3e81/0x3e8:0xe10*_0x455dbc;return _0x3b4468[_0x36c72a([0x65,0x78,0x70])]<_0x5ce95f;}function _0x2ddb23(){const _0x3b77dc=_0x3b4468[_0x36c72a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b77dc&&(!!_0x3b77dc[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x2a]))||!!_0x3b77dc[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x46,0x4f,0x4f])));}function _0x2509a9(){const _0x30c8ef=_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30c8ef||0x0==_0x30c8ef[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f596f}=new URL(window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30c8ef[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f596f))return!0x0;const _0x57a1dc=_0x3f596f[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e]));return _0x30c8ef[_0x36c72a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf6643a=>_0xf6643a[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x2a])))[_0x36c72a([0x6d,0x61,0x70])](_0x221e6c=>_0x221e6c[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e])))[_0x36c72a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12f1a6=>_0x12f1a6[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57a1dc[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c72a([0x6d,0x61,0x70])](_0x54e2be=>Array(_0x57a1dc[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54e2be[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c72a([0x66,0x69,0x6c,0x6c])](_0x54e2be[0x0]===_0x36c72a([0x2a])?_0x36c72a([0x2a]):'')[_0x36c72a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54e2be))[_0x36c72a([0x73,0x6f,0x6d,0x65])](_0x24fa10=>_0x57a1dc[_0x36c72a([0x65,0x76,0x65,0x72,0x79])]((_0x783549,_0x4af450)=>_0x24fa10[_0x4af450]===_0x783549||_0x24fa10[_0x4af450]===_0x36c72a([0x2a])));}function _0x2a868c(){return _0x55bef7&&_0x1476b8?new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ff9f6,_0x345e72)=>{_0x55bef7[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x3ff9f6,_0x345e72),_0x1476b8[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x387c9a=>{_0x387c9a!=_0x36c72a([0x56,0x61,0x6c,0x69,0x64])&&_0x3ff9f6(_0x387c9a);},_0x345e72);}):_0x55bef7||_0x1476b8||_0x36c72a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x356838(_0x1347d8,_0x1220f8){return new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa2dd72=>{if(_0xb1bd06())return _0xa2dd72(_0x36c72a([0x56,0x61,0x6c,0x69,0x64]));_0x44a93c(),_0x8848e1[_0x36c72a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7b3fd3=!0x1;const _0x11925d=_0x27132c();function _0x43932d(_0x26fe1c){return!!_0x26fe1c&&(typeof _0x26fe1c===_0x36c72a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26fe1c===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26fe1c[_0x36c72a([0x74,0x68,0x65,0x6e])]===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26fe1c[_0x36c72a([0x63,0x61,0x74,0x63,0x68])]===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x504f41(_0x2f1688){_0x2874b9(_0x2f1688)[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x4525f6=>{if(!_0x4525f6||_0x4525f6[_0x36c72a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36c72a([0x6f,0x6b]))return _0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49a6e8(_0x36094d(_0x11925d+_0x1220f8))!=_0x4525f6[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36c72a([0x56,0x61,0x6c,0x69,0x64]);})[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x6e266f=>(_0x1e8e41(),_0x6e266f),()=>{const _0x397c31=_0x26fcfb();return null==_0x397c31?(_0x1e8e41(),_0x36c72a([0x56,0x61,0x6c,0x69,0x64])):_0x36c72a(_0x5e3e81-_0x397c31>(0x63ae0106^_0x474076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36c72a([0x74,0x68,0x65,0x6e])](_0xa2dd72)[_0x36c72a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31b203=0x47946b86^_0x474076;function _0x1e8e41(){const _0xc02906=_0x36c72a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a6e8(_0x36094d(_0x1347d8)),_0x3ae2fa=_0x4de66d(_0x49a6e8(window[_0x36c72a([0x4d,0x61,0x74,0x68])][_0x36c72a([0x63,0x65,0x69,0x6c])](_0x5e3e81/_0x31b203)));window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c72a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc02906,_0x3ae2fa);}function _0x26fcfb(){const _0x2c49f1=_0x36c72a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a6e8(_0x36094d(_0x1347d8)),_0x97c929=window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c72a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c49f1);return _0x97c929?window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4de66d(_0x97c929),0x10)*_0x31b203:null;}function _0x2874b9(_0x2ace88){return new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39db62,_0x2f345d)=>{_0x2ace88[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x39db62,_0x2f345d),window[_0x36c72a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f345d,0x47a351c6^_0x474076);});}}_0x8848e1[_0x36c72a([0x6f,0x6e])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf1159b,_0x5d0751)=>{if(_0x5d0751[0x0]!=_0x1347d8)return _0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d0751[0x1]={..._0x5d0751[0x1],[_0x36c72a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11925d};},{[_0x36c72a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c72a([0x68,0x69,0x67,0x68])}),_0x8848e1[_0x36c72a([0x6f,0x6e])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bbc45=>{_0x43932d(_0x4bbc45[_0x36c72a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7b3fd3=!0x0,_0x504f41(_0x4bbc45[_0x36c72a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36c72a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c72a([0x6c,0x6f,0x77])}),_0x84c6c0[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>{_0x7b3fd3||_0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb1bd06(){return _0x8848e1[_0x36c72a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c72a([0x76,0x69,0x65,0x77])][_0x36c72a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36c72a([0x61,0x75,0x74,0x6f]);}function _0x44a93c(){_0x8848e1[_0x36c72a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c72a([0x76,0x69,0x65,0x77])][_0x36c72a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36c72a([0x61,0x75,0x74,0x6f]);}}function _0xc8f3d3(_0x7c3571){const _0x37ca75=[new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f2645=>setTimeout(_0x1f2645,0x47abbbca^_0x474076)),_0x84c6c0[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309b06=>{let _0x4fe86b=0x0;_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x6f,0x6e])](_0x36c72a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x74ede1,_0x163488)=>{_0x163488[0x0][_0x36c72a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fe86b++,_0x4fe86b==(0x47a284fe^_0x474076)&&(_0x309b06(),_0x74ede1[_0x36c72a([0x6f,0x66,0x66])]());});}))];return window[_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36c72a([0x72,0x61,0x63,0x65])](_0x37ca75)[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>_0x7c3571);}async function _0x3b2dc8(){await _0x84c6c0,_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x326a46,_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x326a46,_0x8848e1[_0x36c72a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a1ae3(_0xa0204d){const _0x45aca5=_0x21a2c5();_0x8848e1[_0x45aca5]=_0x36c72a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0204d,_0xa0204d!=_0x36c72a([0x56,0x61,0x6c,0x69,0x64])&&_0x3b2dc8();}function _0x21a2c5(){const _0x146579=window[_0x36c72a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36c72a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36c72a([0x6e,0x6f,0x77])]())[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36c72a([0x2e]),'');let _0x4d3c3d=_0x36c72a([0x75]);for(let _0x96de1d=0x0;_0x96de1d<_0x146579[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x96de1d+=0x2){let _0xdf5418=window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x146579[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x96de1d,_0x96de1d+0x2));_0xdf5418>=_0x3ad61e[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdf5418-=_0x3ad61e[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d3c3d+=_0x3ad61e[_0xdf5418];}return _0x4d3c3d;}function _0x19c5ee(){const _0x5a7fcd=_0x50d323[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e]));if(0x3!=_0x5a7fcd[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa6a082(_0x5a7fcd[0x1]);function _0xa6a082(_0x915ee6){const _0x42632a=_0x5ed46d(_0x915ee6);return _0x42632a&&_0x197c74()?_0x42632a:null;function _0x197c74(){const _0x1bfb11=_0x42632a[_0x36c72a([0x6a,0x74,0x69])],_0x234bbd=window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfb11[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfb11[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e8d0d={..._0x42632a,[_0x36c72a([0x6a,0x74,0x69])]:_0x1bfb11[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfb11[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e8d0d[_0x36c72a([0x76,0x63])],_0x36094d(_0x2e8d0d)==_0x234bbd;}}}async function _0x5865ea(){let _0x11d08f=!0x0;try{const _0x5367e8=_0x50d323[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e])),[_0x54ea1a,_0x4c71a2,_0x4bd6c4]=_0x5367e8;return _0x3284bf(_0x54ea1a),await _0x1eb8e3(_0x54ea1a,_0x4c71a2,_0x4bd6c4),_0x11d08f;}catch{return!0x1;}function _0x3284bf(_0x37cb3d){const _0x5eda09=_0x5ed46d(_0x37cb3d);_0x5eda09&&_0x5eda09[_0x36c72a([0x61,0x6c,0x67])]==_0x36c72a([0x45,0x53,0x32,0x35,0x36])||(_0x11d08f=!0x1);}async function _0x1eb8e3(_0x29267d,_0x59f717,_0x1c1ea8){const _0x2a9c2a=window[_0x36c72a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36c72a([0x66,0x72,0x6f,0x6d])](_0xc7a341(_0x1c1ea8),_0x60b107=>_0x60b107[_0x36c72a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4735cc=new window[(_0x36c72a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36c72a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29267d+_0x36c72a([0x2e])+_0x59f717),_0x1db1c4=window[_0x36c72a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36c72a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1db1c4)return;const _0x6e3778=await _0x1db1c4[_0x36c72a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36c72a([0x6a,0x77,0x6b]),_0x3019c9,{[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x45,0x43,0x44,0x53,0x41]),[_0x36c72a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36c72a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1db1c4[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x45,0x43,0x44,0x53,0x41]),[_0x36c72a([0x68,0x61,0x73,0x68])]:{[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6e3778,_0x2a9c2a,_0x4735cc)||(_0x11d08f=!0x1);}}function _0x5ed46d(_0x440bc5){return _0x440bc5[_0x36c72a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36c72a([0x65,0x79]))?JSON[_0x36c72a([0x70,0x61,0x72,0x73,0x65])](_0xc7a341(_0x440bc5)):null;}function _0xc7a341(_0x31244d){return window[_0x36c72a([0x61,0x74,0x6f,0x62])](_0x31244d[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36c72a([0x2b]))[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36c72a([0x2f])));}function _0x36094d(_0x27532e){let _0x54ccd8=0x1505;function _0x1061fd(_0x1fcaac){for(let _0x502a12=0x0;_0x502a12<_0x1fcaac[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x502a12++){const _0x236838=_0x1fcaac[_0x36c72a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x502a12);_0x54ccd8=(_0x54ccd8<<0x5)+_0x54ccd8+_0x236838,_0x54ccd8&=_0x54ccd8;}}function _0x398642(_0x542efb){Array[_0x36c72a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x542efb)?_0x542efb[_0x36c72a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x398642):_0x542efb&&typeof _0x542efb==_0x36c72a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36c72a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x542efb)[_0x36c72a([0x73,0x6f,0x72,0x74])]()[_0x36c72a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16938d,_0x97bea4])=>{_0x1061fd(_0x16938d),_0x398642(_0x97bea4);}):_0x1061fd(window[_0x36c72a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x542efb));}return _0x398642(_0x27532e),_0x54ccd8>>>0x0;}function _0x49a6e8(_0x5cf780){return _0x5cf780[_0x36c72a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36c72a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36c72a([0x30]));}function _0x4de66d(_0x35b3ca){return _0x35b3ca[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36c72a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36c72a([0x6a,0x6f,0x69,0x6e])]('');}function _0x326a46(){}function _0x36c72a(_0x136015){return _0x136015['map'](_0x50650c=>String['fromCharCode'](_0x50650c))['join']('');}_0x5a1ae3(await _0x3b2419());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2b5cc4){const {plugins:_0x4dc3d4,editing:_0xdb119b,model:_0x52e1be}=this['editor'],_0x1b009d=_0x4dc3d4['get'](_0x202ea0)['getFootnote'](_0x2b5cc4);return!!_0x1b009d&&(_0x52e1be['change'](_0x4d6c91=>{_0x4d6c91['setSelection'](_0x4d6c91['createPositionAt'](_0x1b009d['definition'],'end'));}),_0xdb119b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x49fa16){const {plugins:_0x2b994d,editing:_0x336fa6,model:_0x183011}=this['editor'],_0xae23c0=_0x2b994d['get'](_0x202ea0)['getFootnote'](_0x49fa16);return!!_0xae23c0&&(_0x183011['change'](_0x23a116=>{_0x23a116['setSelection'](_0xae23c0['reference'],'on');}),_0x336fa6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xdeb663}=this['editor']['model'],_0x201a40=this['editor']['config']['get']('footnotes.multiBlock');_0xdeb663['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xdeb663['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xdeb663['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x201a40?_0xdeb663['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xdeb663['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xdeb663['addChildCheck'](_0x32b6e9=>{for(const _0x15053b of _0x32b6e9)if('footnoteDefinition'===_0x15053b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x47748e}=this,{conversion:_0x299903,editing:_0x5708ba}=_0x47748e,{t:t}=_0x47748e['locale'];_0x299903['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x59969f,{writer:_0x3261fd,consumable:_0xb06a86})=>{const _0x4db8f4=_0x59969f['getChild'](0x0);if(!_0x4db8f4||!_0x4db8f4['is']('element','a'))return null;const _0x50aea6=_0x4db8f4['getAttribute']('href')||'';if(!_0x50aea6['startsWith']('#'))return null;const _0x79b83e=_0x50aea6['replace'](/^#/,'');if(!_0x79b83e)return null;_0xb06a86['consume'](_0x4db8f4,{'name':!0x0,'attributes':['href']});for(const {item:_0x227c13}of _0x5708ba['view']['createRangeIn'](_0x4db8f4))_0x227c13['is']('$textProxy')?_0xb06a86['consume'](_0x227c13['textNode'],{'name':!0x0}):_0x227c13['is']('element')&&_0xb06a86['consume'](_0x227c13,{'name':!0x0});return _0x3261fd['createElement']('footnoteRef',{'footnoteId':_0x79b83e});}}),_0x299903['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e5887,{writer:_0x4d31c9})=>D(_0x5e5887,_0x4d31c9)}),_0x299903['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x285f39,{writer:_0x8e039d})=>{const _0x1c227c=_0x285f39['getAttribute']('footnoteCounter');return _0x205a54(D(_0x285f39,_0x8e039d),_0x8e039d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1c227c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c8de2}=this,{t:t}=_0x5c8de2['locale'],{conversion:_0x5b8f54}=_0x5c8de2;_0x5b8f54['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b8f54['for']('upcast')['add'](_0x461e50=>{_0x461e50['on']('element:ol',(_0x1961fe,_0x35a88f,_0x35a597)=>{const _0x961823=_0x35a88f['viewItem'];if(!_0x961823['hasClass']('footnotes-list')||!_0x35a88f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35a597['consumable']['consume'](_0x961823,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x16dc98,modelCursor:_0x5e36cb}=_0x35a597['convertChildren'](_0x35a88f['viewItem'],_0x35a88f['modelCursor']);_0x35a88f['modelRange']=_0x16dc98,_0x35a88f['modelCursor']=_0x5e36cb;}),_0x461e50['on']('element:hr',(_0xf43f38,_0x3a8e03,_0xc4cb6)=>{const _0x58d4ca=_0x3a8e03['viewItem'];_0x58d4ca['hasClass']('footnotes-divider')&&_0x3a8e03['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xc4cb6['consumable']['consume'](_0x58d4ca,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b8f54['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x152c13,{writer:_0x4e2e89})=>v(_0x4e2e89)}),_0x5b8f54['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50eff3,{writer:_0x59130d})=>{const _0x467989=v(_0x59130d,{'data-footnotes-list-label':t('Footnotes')}),_0x4f43ed=_0x205a54(_0x467989,_0x59130d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x59130d['setCustomProperty']('footnotesDefinitions',!0x0,_0x4f43ed),_0x4f43ed;}});}['_defineDefinitionConverters'](){const {editor:_0x2cd7f2}=this,{conversion:_0x43a763,locale:_0x27d842}=_0x2cd7f2,_0x134299=_0x2cd7f2['config']['get']('footnotes.multiBlock');_0x43a763['for']('upcast')['add'](_0x5e5efb=>{_0x5e5efb['on']('element:li',(_0x3a7b78,_0x384070,_0x2c8577)=>{const _0x9a8e75=_0x384070['viewItem'];if(!_0x9a8e75['hasClass']('footnote-definition')||!_0x9a8e75['getAttribute']('id'))return;const _0xe7e596=_0x9a8e75['parent'];if(!_0xe7e596['is']('element','ol')||!_0xe7e596['hasClass']('footnotes-list'))return;if(!_0x2c8577['consumable']['test'](_0x9a8e75,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1a08f8=_0x2c8577['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9a8e75['getAttribute']('id')});if(!_0x2c8577['safeInsert'](_0x1a08f8,_0x384070['modelCursor']))return;_0x2c8577['consumable']['consume'](_0x9a8e75,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x53ba41=Array['from'](_0x9a8e75['getChildren']())['find'](_0x231eb0=>_0x231eb0['is']('element')&&_0x231eb0['hasClass']('footnote-content'));for(const _0x2d8b85 of _0x9a8e75['getChildren']())_0x2d8b85['is']('element')&&(_0x2c8577['consumable']['consume'](_0x2d8b85,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2c8577['consumable']['consume'](_0x2d8b85,{'name':!0x0,'classes':'footnote-content'}));if(_0x53ba41){if(_0x134299)_0x2c8577['convertChildren'](_0x53ba41,_0x1a08f8);else{const _0x2b0d23=_0x2c8577['writer']['createElement']('footnoteInlineContent');_0x2c8577['writer']['insert'](_0x2b0d23,_0x1a08f8),_0x2c8577['convertChildren'](_0x53ba41,_0x2b0d23);}}_0x2c8577['updateConversionResult'](_0x1a08f8,_0x384070);});}),_0x43a763['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4df3dd,{writer:_0x4f2714})=>b(_0x4df3dd,_0x4f2714,_0x27d842,{'dataPipeline':!0x0})}),_0x43a763['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4530eb,{writer:_0x55d072})=>b(_0x4530eb,_0x55d072,_0x27d842)});}['_defineBogusParagraphConverters'](){const {editor:_0x44aab6}=this,{conversion:_0x352e89}=_0x44aab6;_0x44aab6['config']['get']('footnotes.multiBlock')?(_0x352e89['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x352e89['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x44aab6['model']['document'],'change:data',()=>{!function(_0x2eb1ec,_0x51403a){const _0x51a439=_0x2eb1ec['document']['differ'],_0x359505=new Set();for(const _0x4f9d3e of _0x51a439['getChanges']()){const _0xb8cf80='attribute'==_0x4f9d3e['type']?_0x4f9d3e['range']['start']['parent']:_0x4f9d3e['position']['parent'];_0xb8cf80['is']('element','footnoteDefinition')&&_0x359505['add'](_0xb8cf80);}for(const _0x561ad4 of _0x359505['values']()){const _0x357d75=Array['from'](_0x561ad4['getChildren']())['filter'](_0x48bb10=>g(_0x48bb10,_0x51403a['mapper']));for(const _0x588d39 of _0x357d75)_0x51403a['reconvertItem'](_0x588d39);}}(_0x44aab6['model'],_0x44aab6['editing']);})):(_0x352e89['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x352e89['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x390b79,{writer:_0x4ed1c8})=>{const _0x27ad3d=_0x4ed1c8['createContainerElement']('span');return _0x4ed1c8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27ad3d),_0x27ad3d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x41f8b9}=this,{editing:_0x5d5670,t:t}=_0x41f8b9,_0x83f9c=_0x41f8b9['model']['document']['selection'];_0x41f8b9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x41f8b9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d5670['view']['document'],'enter',(_0x3ac72f,_0x5afbc4)=>{const _0x254ba6=function(_0x14f7d8){const _0x207529=_0x14f7d8['getSelectedElement']();if(_0x207529?.['is']('element','footnoteRef'))return _0x207529;return null;}(_0x83f9c);if(_0x254ba6){const _0x103c73=_0x254ba6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x103c73),_0x5afbc4['preventDefault'](),_0x3ac72f['stop']();}},{'context':_0x11be63});}['_defineClickHandlers'](){const {editor:_0x39d855}=this,{editing:_0x228502}=_0x39d855;_0x39d855['editing']['view']['addObserver'](_0xd93072),_0x39d855['editing']['view']['addObserver'](_0x281dc3);let _0x422a0f=!0x1;this['listenTo'](_0x228502['view']['document'],'pointerdown',(_0x25c56d,_0x4f2ac6)=>{const {target:_0x25a2e6}=_0x4f2ac6,_0x2406fd=_0x228502['view']['document']['selection'];_0x422a0f=!!(_0x25a2e6?.['is']('element','a')&&_0x25a2e6['parent']?.['is']('element','sup')&&_0x25a2e6['parent']['hasClass']('footnote'))&&_0x2406fd['getSelectedElement']()===_0x25a2e6['parent'];},{'priority':'high'}),this['listenTo'](_0x228502['view']['document'],'click',(_0x2c582d,_0x16c71d)=>{const {target:_0x5ab280}=_0x16c71d;if(!_0x5ab280?.['is']('element','a'))return;if(_0x5ab280['parent']?.['is']('element','sup')&&_0x5ab280['parent']['hasClass']('footnote')&&!_0x422a0f)return void _0x16c71d['preventDefault']();let _0x56cda5=_0x5ab280['getAttribute']('href');if(!_0x56cda5?.['startsWith']('#'))return;_0x56cda5=_0x56cda5['slice'](0x1);let _0x36053a=!0x1;(_0x56cda5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x56cda5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x56cda5))&&(_0x36053a=!0x0),_0x36053a&&(_0x16c71d['preventDefault'](),_0x2c582d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x34f629}={}){return(_0x59a267,{writer:_0x1ae29d})=>{if(!p(_0x59a267))return null;if(!_0x34f629)return _0x1ae29d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1e1503=_0x1ae29d['createContainerElement']('p');return _0x1ae29d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1e1503),_0x1e1503;};}function p(_0x3e7981){const {parent:_0x23e3c7}=_0x3e7981;if(!_0x23e3c7?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x23e3c7['childCount'])return!0x1;for(const _0x1c7fd2 of _0x3e7981['getAttributeKeys']())if(!_0x1c7fd2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1c7fd2)return!0x1;return!0x0;}function g(_0x2899b5,_0x21dc0c){if(!_0x2899b5['is']('element','paragraph'))return!0x1;const _0x35ac13=_0x21dc0c['toViewElement'](_0x2899b5);return!!_0x35ac13&&p(_0x2899b5)!==_0x35ac13['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1edbac){return _0x11be63(_0x1edbac)&&_0x1edbac['is']('containerElement')&&!!_0x1edbac['getCustomProperty']('footnotesDefinitions');}function v(_0x59a8a3,_0x1e04aa={}){const _0x22d0a5=_0x59a8a3['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1d5ec6=_0x59a8a3['createContainerElement']('ol',{'class':'footnotes-list'},_0x59a8a3['createSlot']());return _0x59a8a3['createContainerElement']('div',{'class':'footnotes',..._0x1e04aa},[_0x22d0a5,_0x1d5ec6]);}function D(_0x3653eb,_0x48bf52){const _0x553eec=_0x3653eb['getAttribute']('footnoteId'),_0x2f080c=_0x3653eb['getAttribute']('footnoteCounter'),_0x575c0c=_0x48bf52['createUIElement']('a',{'href':'#'+_0x553eec},function(_0xb8d9dc){const _0x435448=this['toDomElement'](_0xb8d9dc);return _0x435448['textContent']=_0x2f080c,_0x435448;}),_0x3c4d80=_0x48bf52['createContainerElement']('sup',{'id':'ref-'+_0x553eec,'class':'footnote'},[_0x575c0c]);return _0x3c4d80['getFillerOffset']=()=>null,_0x3c4d80;}function b(_0x1a9c47,_0x3a1395,_0x111967,{dataPipeline:_0x1ac152}={}){const {t:t}=_0x111967,_0x3e61e6=_0x1a9c47['getAttribute']('footnoteId'),_0x1f704a=_0x3a1395['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3e61e6},function(_0x55d1ec){const _0x57beb5=this['toDomElement'](_0x55d1ec);return _0x57beb5['innerText']='^',_0x57beb5;}),_0x37b845=_0x1ac152?_0x3a1395['createContainerElement']('div',{'class':'footnote-content'}):_0x2b40b7(_0x3a1395['createEditableElement']('div',{'class':'footnote-content'}),_0x3a1395,{'label':t('Footnote\x20content.')});return _0x3a1395['insert'](_0x3a1395['createPositionAt'](_0x37b845,0x0),_0x3a1395['createSlot']()),_0x3a1395['createContainerElement']('li',{'class':'footnote-definition','id':_0x3e61e6},[_0x1f704a,_0x37b845]);}
23
+ import{Plugin as _0x3ce6e5}from'ckeditor5/src/core.js';import{isWidget as _0x5d64b2,toWidget as _0x755c2b,toWidgetEditable as _0x50dcbd}from'ckeditor5/src/widget.js';import{uid as _0x23c9ff}from'ckeditor5/src/utils.js';import{PointerObserver as _0x32e9ee,ClickObserver as _0x24e169}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x370d44}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x321560}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3ce6e5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x370d44];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x123b7}=this;_0x123b7['config']['define']('footnotes.multiBlock',!0x0),_0x123b7['commands']['add']('insertFootnote',new _0x321560(_0x123b7)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x3b09b2){const _0x508a3b=_0x3cc0d5([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]),_0x322452=0x47a28506,_0x219114=0x47a5fd9e^_0x322452,_0x3a8062=window[_0x3cc0d5([0x44,0x61,0x74,0x65])][_0x3cc0d5([0x6e,0x6f,0x77])](),_0x16bd7a=_0x3b09b2[_0x3cc0d5([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1cf464=new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa4222c=>{_0x16bd7a[_0x3cc0d5([0x6f,0x6e,0x63,0x65])](_0x3cc0d5([0x72,0x65,0x61,0x64,0x79]),_0xa4222c);}),_0xe03ac9={[_0x3cc0d5([0x6b,0x74,0x79])]:_0x3cc0d5([0x45,0x43]),[_0x3cc0d5([0x75,0x73,0x65])]:_0x3cc0d5([0x73,0x69,0x67]),[_0x3cc0d5([0x63,0x72,0x76])]:_0x3cc0d5([0x50,0x2d,0x32,0x35,0x36]),[_0x3cc0d5([0x78])]:_0x3cc0d5([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]),[_0x3cc0d5([0x79])]:_0x3cc0d5([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]),[_0x3cc0d5([0x61,0x6c,0x67])]:_0x3cc0d5([0x45,0x53,0x32,0x35,0x36])},_0x5a5e57=_0x16bd7a[_0x3cc0d5([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3cc0d5([0x67,0x65,0x74])](_0x3cc0d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2534f5(){let _0x5b7150,_0x2337c1=null,_0x2258cb=null;try{if(_0x5a5e57==_0x3cc0d5([0x47,0x50,0x4c]))return _0x3cc0d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b7150=_0x23cf39(),!_0x5b7150)return _0x3cc0d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b7150[_0x3cc0d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2258cb=_0x4d3c9e(_0x5b7150[_0x3cc0d5([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b7150[_0x3cc0d5([0x6a,0x74,0x69])])),await _0x5f58d4()?_0x2b96dd()?_0x16b6ba()?_0x3cc0d5([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x760fb3()?(_0x5b7150[_0x3cc0d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cc0d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2337c1=_0x2a503e(_0x3cc0d5([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b7150[_0x3cc0d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3cc0d5([0x74,0x72,0x69,0x61,0x6c])&&(_0x2337c1=_0x2a503e(_0x3cc0d5([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x410b79()):_0x3cc0d5([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc0d5([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3cc0d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3cc0d5([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x16b6ba(){const _0x3ed4a8=[_0x3cc0d5([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3cc0d5([0x74,0x72,0x69,0x61,0x6c])][_0x3cc0d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b7150[_0x3cc0d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3a8062/0x3e8:0xe10*_0x219114;return _0x5b7150[_0x3cc0d5([0x65,0x78,0x70])]<_0x3ed4a8;}function _0x2b96dd(){const _0x2877e3=_0x5b7150[_0x3cc0d5([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2877e3&&(!!_0x2877e3[_0x3cc0d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc0d5([0x2a]))||!!_0x2877e3[_0x3cc0d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc0d5([0x46,0x4f,0x4f])));}function _0x760fb3(){const _0x20e709=_0x5b7150[_0x3cc0d5([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x20e709||0x0==_0x20e709[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x27c2fc}=new URL(window[_0x3cc0d5([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x20e709[_0x3cc0d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x27c2fc))return!0x0;const _0x469b56=_0x27c2fc[_0x3cc0d5([0x73,0x70,0x6c,0x69,0x74])](_0x3cc0d5([0x2e]));return _0x20e709[_0x3cc0d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x475c61=>_0x475c61[_0x3cc0d5([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3cc0d5([0x2a])))[_0x3cc0d5([0x6d,0x61,0x70])](_0x43414c=>_0x43414c[_0x3cc0d5([0x73,0x70,0x6c,0x69,0x74])](_0x3cc0d5([0x2e])))[_0x3cc0d5([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x28e23c=>_0x28e23c[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x469b56[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc0d5([0x6d,0x61,0x70])](_0x9f4770=>Array(_0x469b56[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9f4770[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3cc0d5([0x66,0x69,0x6c,0x6c])](_0x9f4770[0x0]===_0x3cc0d5([0x2a])?_0x3cc0d5([0x2a]):'')[_0x3cc0d5([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9f4770))[_0x3cc0d5([0x73,0x6f,0x6d,0x65])](_0xaa02a6=>_0x469b56[_0x3cc0d5([0x65,0x76,0x65,0x72,0x79])]((_0x296901,_0x420e6e)=>_0xaa02a6[_0x420e6e]===_0x296901||_0xaa02a6[_0x420e6e]===_0x3cc0d5([0x2a])));}function _0x410b79(){return _0x2337c1&&_0x2258cb?new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d814c,_0x4da194)=>{_0x2337c1[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x3d814c,_0x4da194),_0x2258cb[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x68f840=>{_0x68f840!=_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64])&&_0x3d814c(_0x68f840);},_0x4da194);}):_0x2337c1||_0x2258cb||_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4d3c9e(_0xcf821c,_0x104965){return new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x425387=>{if(_0x29c93())return _0x425387(_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64]));_0x4c22bb(),_0x16bd7a[_0x3cc0d5([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3cc0d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x421682=!0x1;const _0x4b986e=_0x23c9ff();function _0x5bd881(_0x450015){return!!_0x450015&&(typeof _0x450015===_0x3cc0d5([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x450015===_0x3cc0d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x450015[_0x3cc0d5([0x74,0x68,0x65,0x6e])]===_0x3cc0d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x450015[_0x3cc0d5([0x63,0x61,0x74,0x63,0x68])]===_0x3cc0d5([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x306c8e(_0x386b23){_0xbdfdc9(_0x386b23)[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x4ecfe6=>{if(!_0x4ecfe6||_0x4ecfe6[_0x3cc0d5([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3cc0d5([0x6f,0x6b]))return _0x3cc0d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x124b8d(_0x40d4d4(_0x4b986e+_0x104965))!=_0x4ecfe6[_0x3cc0d5([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3cc0d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x20e3f9=>(_0x493236(),_0x20e3f9),()=>{const _0x302508=_0x5067cc();return null==_0x302508?(_0x493236(),_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64])):_0x3cc0d5(_0x3a8062-_0x302508>(0x63ae0106^_0x322452)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x425387)[_0x3cc0d5([0x63,0x61,0x74,0x63,0x68])](()=>{_0x425387(_0x3cc0d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x170ff1=0x47946b86^_0x322452;function _0x493236(){const _0x3abf67=_0x3cc0d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x124b8d(_0x40d4d4(_0xcf821c)),_0x4d66d4=_0x50c1d0(_0x124b8d(window[_0x3cc0d5([0x4d,0x61,0x74,0x68])][_0x3cc0d5([0x63,0x65,0x69,0x6c])](_0x3a8062/_0x170ff1)));window[_0x3cc0d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc0d5([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3abf67,_0x4d66d4);}function _0x5067cc(){const _0x25b0cb=_0x3cc0d5([0x6c,0x6c,0x63,0x74,0x2d])+_0x124b8d(_0x40d4d4(_0xcf821c)),_0x53c129=window[_0x3cc0d5([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3cc0d5([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x25b0cb);return _0x53c129?window[_0x3cc0d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x50c1d0(_0x53c129),0x10)*_0x170ff1:null;}function _0xbdfdc9(_0x43f649){return new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5593aa,_0x510024)=>{_0x43f649[_0x3cc0d5([0x74,0x68,0x65,0x6e])](_0x5593aa,_0x510024),window[_0x3cc0d5([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x510024,0x47a351c6^_0x322452);});}}_0x16bd7a[_0x3cc0d5([0x6f,0x6e])](_0x3cc0d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1bb216,_0x34b5a7)=>{if(_0x34b5a7[0x0]!=_0xcf821c)return _0x425387(_0x3cc0d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x34b5a7[0x1]={..._0x34b5a7[0x1],[_0x3cc0d5([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x4b986e};},{[_0x3cc0d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc0d5([0x68,0x69,0x67,0x68])}),_0x16bd7a[_0x3cc0d5([0x6f,0x6e])](_0x3cc0d5([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x40c7a6=>{_0x5bd881(_0x40c7a6[_0x3cc0d5([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x421682=!0x0,_0x306c8e(_0x40c7a6[_0x3cc0d5([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3cc0d5([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3cc0d5([0x6c,0x6f,0x77])}),_0x1cf464[_0x3cc0d5([0x74,0x68,0x65,0x6e])](()=>{_0x421682||_0x425387(_0x3cc0d5([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x29c93(){return _0x16bd7a[_0x3cc0d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc0d5([0x76,0x69,0x65,0x77])][_0x3cc0d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3cc0d5([0x61,0x75,0x74,0x6f]);}function _0x4c22bb(){_0x16bd7a[_0x3cc0d5([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3cc0d5([0x76,0x69,0x65,0x77])][_0x3cc0d5([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3cc0d5([0x61,0x75,0x74,0x6f]);}}function _0x2a503e(_0x90aa86){const _0x229d77=[new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2db17f=>setTimeout(_0x2db17f,0x47abbbca^_0x322452)),_0x1cf464[_0x3cc0d5([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417764=>{let _0x42fd65=0x0;_0x16bd7a[_0x3cc0d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc0d5([0x6f,0x6e])](_0x3cc0d5([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x57daed,_0xad6ba6)=>{_0xad6ba6[0x0][_0x3cc0d5([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x42fd65++,_0x42fd65==(0x47a284fe^_0x322452)&&(_0x417764(),_0x57daed[_0x3cc0d5([0x6f,0x66,0x66])]());});}))];return window[_0x3cc0d5([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3cc0d5([0x72,0x61,0x63,0x65])](_0x229d77)[_0x3cc0d5([0x74,0x68,0x65,0x6e])](()=>_0x90aa86);}async function _0x32eb3f(){await _0x1cf464,_0x16bd7a[_0x3cc0d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc0d5([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xd12974,_0x16bd7a[_0x3cc0d5([0x6d,0x6f,0x64,0x65,0x6c])][_0x3cc0d5([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xd12974,_0x16bd7a[_0x3cc0d5([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3cc0d5([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x48aee9(_0x57dc78){const _0x3080a6=_0x4932d0();_0x16bd7a[_0x3080a6]=_0x3cc0d5([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x57dc78,_0x57dc78!=_0x3cc0d5([0x56,0x61,0x6c,0x69,0x64])&&_0x32eb3f();}function _0x4932d0(){const _0x3cd6a1=window[_0x3cc0d5([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3cc0d5([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3cc0d5([0x6e,0x6f,0x77])]())[_0x3cc0d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3cc0d5([0x2e]),'');let _0x5a42dc=_0x3cc0d5([0x75]);for(let _0x5a0436=0x0;_0x5a0436<_0x3cd6a1[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5a0436+=0x2){let _0x3c2969=window[_0x3cc0d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3cd6a1[_0x3cc0d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5a0436,_0x5a0436+0x2));_0x3c2969>=_0x508a3b[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3c2969-=_0x508a3b[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5a42dc+=_0x508a3b[_0x3c2969];}return _0x5a42dc;}function _0x23cf39(){const _0x170c27=_0x5a5e57[_0x3cc0d5([0x73,0x70,0x6c,0x69,0x74])](_0x3cc0d5([0x2e]));if(0x3!=_0x170c27[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x506488(_0x170c27[0x1]);function _0x506488(_0x13c112){const _0x48fb68=_0x16c1a1(_0x13c112);return _0x48fb68&&_0x54ed81()?_0x48fb68:null;function _0x54ed81(){const _0x593097=_0x48fb68[_0x3cc0d5([0x6a,0x74,0x69])],_0x5535d2=window[_0x3cc0d5([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x593097[_0x3cc0d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x593097[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x103d1e={..._0x48fb68,[_0x3cc0d5([0x6a,0x74,0x69])]:_0x593097[_0x3cc0d5([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x593097[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x103d1e[_0x3cc0d5([0x76,0x63])],_0x40d4d4(_0x103d1e)==_0x5535d2;}}}async function _0x5f58d4(){let _0x70e065=!0x0;try{const _0x42ff9a=_0x5a5e57[_0x3cc0d5([0x73,0x70,0x6c,0x69,0x74])](_0x3cc0d5([0x2e])),[_0x287325,_0x30482c,_0x14d479]=_0x42ff9a;return _0x4dda35(_0x287325),await _0x11a58b(_0x287325,_0x30482c,_0x14d479),_0x70e065;}catch{return!0x1;}function _0x4dda35(_0x2db544){const _0x72ee8a=_0x16c1a1(_0x2db544);_0x72ee8a&&_0x72ee8a[_0x3cc0d5([0x61,0x6c,0x67])]==_0x3cc0d5([0x45,0x53,0x32,0x35,0x36])||(_0x70e065=!0x1);}async function _0x11a58b(_0x4318fb,_0x3cf24f,_0x3f131b){const _0x1907cb=window[_0x3cc0d5([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3cc0d5([0x66,0x72,0x6f,0x6d])](_0x3bddaf(_0x3f131b),_0x25e2bf=>_0x25e2bf[_0x3cc0d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x541fa6=new window[(_0x3cc0d5([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3cc0d5([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4318fb+_0x3cc0d5([0x2e])+_0x3cf24f),_0x28d1eb=window[_0x3cc0d5([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3cc0d5([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x28d1eb)return;const _0x19c8d5=await _0x28d1eb[_0x3cc0d5([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3cc0d5([0x6a,0x77,0x6b]),_0xe03ac9,{[_0x3cc0d5([0x6e,0x61,0x6d,0x65])]:_0x3cc0d5([0x45,0x43,0x44,0x53,0x41]),[_0x3cc0d5([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3cc0d5([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3cc0d5([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x28d1eb[_0x3cc0d5([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3cc0d5([0x6e,0x61,0x6d,0x65])]:_0x3cc0d5([0x45,0x43,0x44,0x53,0x41]),[_0x3cc0d5([0x68,0x61,0x73,0x68])]:{[_0x3cc0d5([0x6e,0x61,0x6d,0x65])]:_0x3cc0d5([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x19c8d5,_0x1907cb,_0x541fa6)||(_0x70e065=!0x1);}}function _0x16c1a1(_0x277197){return _0x277197[_0x3cc0d5([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3cc0d5([0x65,0x79]))?JSON[_0x3cc0d5([0x70,0x61,0x72,0x73,0x65])](_0x3bddaf(_0x277197)):null;}function _0x3bddaf(_0x8f721b){return window[_0x3cc0d5([0x61,0x74,0x6f,0x62])](_0x8f721b[_0x3cc0d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3cc0d5([0x2b]))[_0x3cc0d5([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3cc0d5([0x2f])));}function _0x40d4d4(_0x496a9c){let _0xd2130=0x1505;function _0x4d3c85(_0x3acf99){for(let _0x4bddc3=0x0;_0x4bddc3<_0x3acf99[_0x3cc0d5([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4bddc3++){const _0x6125a7=_0x3acf99[_0x3cc0d5([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4bddc3);_0xd2130=(_0xd2130<<0x5)+_0xd2130+_0x6125a7,_0xd2130&=_0xd2130;}}function _0xc76382(_0x5ef6fb){Array[_0x3cc0d5([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5ef6fb)?_0x5ef6fb[_0x3cc0d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xc76382):_0x5ef6fb&&typeof _0x5ef6fb==_0x3cc0d5([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3cc0d5([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5ef6fb)[_0x3cc0d5([0x73,0x6f,0x72,0x74])]()[_0x3cc0d5([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x28d5a6,_0x35b575])=>{_0x4d3c85(_0x28d5a6),_0xc76382(_0x35b575);}):_0x4d3c85(window[_0x3cc0d5([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5ef6fb));}return _0xc76382(_0x496a9c),_0xd2130>>>0x0;}function _0x124b8d(_0x3a6b13){return _0x3a6b13[_0x3cc0d5([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3cc0d5([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3cc0d5([0x30]));}function _0x50c1d0(_0x173296){return _0x173296[_0x3cc0d5([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3cc0d5([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3cc0d5([0x6a,0x6f,0x69,0x6e])]('');}function _0xd12974(){}function _0x3cc0d5(_0x444716){return _0x444716['map'](_0x111527=>String['fromCharCode'](_0x111527))['join']('');}_0x48aee9(await _0x2534f5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3f7411){const {plugins:_0x177ba2,editing:_0x4f0be2,model:_0x4cf38c}=this['editor'],_0x11622c=_0x177ba2['get'](_0x370d44)['getFootnote'](_0x3f7411);return!!_0x11622c&&(_0x4cf38c['change'](_0x52b4fc=>{_0x52b4fc['setSelection'](_0x52b4fc['createPositionAt'](_0x11622c['definition'],'end'));}),_0x4f0be2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4fe9e5){const {plugins:_0x45e577,editing:_0x300ea8,model:_0x47fe69}=this['editor'],_0x336593=_0x45e577['get'](_0x370d44)['getFootnote'](_0x4fe9e5);return!!_0x336593&&(_0x47fe69['change'](_0x3b6f4d=>{_0x3b6f4d['setSelection'](_0x336593['reference'],'on');}),_0x300ea8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xfbf8a7}=this['editor']['model'],_0x2680a3=this['editor']['config']['get']('footnotes.multiBlock');_0xfbf8a7['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xfbf8a7['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xfbf8a7['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2680a3?_0xfbf8a7['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xfbf8a7['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xfbf8a7['addChildCheck'](_0x34c65b=>{for(const _0x42ee7c of _0x34c65b)if('footnoteDefinition'===_0x42ee7c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0xb92bc1}=this,{conversion:_0x3c8dea,editing:_0x418130}=_0xb92bc1,{t:t}=_0xb92bc1['locale'];_0x3c8dea['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x455ab9,{writer:_0x5a7635,consumable:_0x5eee84})=>{const _0x1244fc=_0x455ab9['getChild'](0x0);if(!_0x1244fc||!_0x1244fc['is']('element','a'))return null;const _0x304e9a=_0x1244fc['getAttribute']('href')||'';if(!_0x304e9a['startsWith']('#'))return null;const _0x15b9ac=_0x304e9a['replace'](/^#/,'');if(!_0x15b9ac)return null;_0x5eee84['consume'](_0x1244fc,{'name':!0x0,'attributes':['href']});for(const {item:_0x3610a0}of _0x418130['view']['createRangeIn'](_0x1244fc))_0x3610a0['is']('$textProxy')?_0x5eee84['consume'](_0x3610a0['textNode'],{'name':!0x0}):_0x3610a0['is']('element')&&_0x5eee84['consume'](_0x3610a0,{'name':!0x0});return _0x5a7635['createElement']('footnoteRef',{'footnoteId':_0x15b9ac});}}),_0x3c8dea['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x257224,{writer:_0x1c2b72})=>D(_0x257224,_0x1c2b72)}),_0x3c8dea['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x316b9e,{writer:_0x348e86})=>{const _0x524f55=_0x316b9e['getAttribute']('footnoteCounter');return _0x755c2b(D(_0x316b9e,_0x348e86),_0x348e86,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x524f55)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3ce608}=this,{t:t}=_0x3ce608['locale'],{conversion:_0x244b6b}=_0x3ce608;_0x244b6b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x244b6b['for']('upcast')['add'](_0x5812ac=>{_0x5812ac['on']('element:ol',(_0xea47e1,_0x21fa95,_0x35be71)=>{const _0x1014dd=_0x21fa95['viewItem'];if(!_0x1014dd['hasClass']('footnotes-list')||!_0x21fa95['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35be71['consumable']['consume'](_0x1014dd,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x391125,modelCursor:_0x1e8e7e}=_0x35be71['convertChildren'](_0x21fa95['viewItem'],_0x21fa95['modelCursor']);_0x21fa95['modelRange']=_0x391125,_0x21fa95['modelCursor']=_0x1e8e7e;}),_0x5812ac['on']('element:hr',(_0x5abb37,_0x4fa1b6,_0xf1294b)=>{const _0x545d7b=_0x4fa1b6['viewItem'];_0x545d7b['hasClass']('footnotes-divider')&&_0x4fa1b6['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xf1294b['consumable']['consume'](_0x545d7b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x244b6b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xf6f22e,{writer:_0x5c85d2})=>v(_0x5c85d2)}),_0x244b6b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4ff494,{writer:_0x2ab105})=>{const _0x547f36=v(_0x2ab105,{'data-footnotes-list-label':t('Footnotes')}),_0x1daf86=_0x755c2b(_0x547f36,_0x2ab105,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2ab105['setCustomProperty']('footnotesDefinitions',!0x0,_0x1daf86),_0x1daf86;}});}['_defineDefinitionConverters'](){const {editor:_0x4eaca5}=this,{conversion:_0x4d1266,locale:_0x43434d}=_0x4eaca5,_0x4223aa=_0x4eaca5['config']['get']('footnotes.multiBlock');_0x4d1266['for']('upcast')['add'](_0x176836=>{_0x176836['on']('element:li',(_0x5dc3c6,_0x57fe02,_0x260df9)=>{const _0x1ae76d=_0x57fe02['viewItem'];if(!_0x1ae76d['hasClass']('footnote-definition')||!_0x1ae76d['getAttribute']('id'))return;const _0x351693=_0x1ae76d['parent'];if(!_0x351693['is']('element','ol')||!_0x351693['hasClass']('footnotes-list'))return;if(!_0x260df9['consumable']['test'](_0x1ae76d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x28de1d=_0x260df9['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1ae76d['getAttribute']('id')});if(!_0x260df9['safeInsert'](_0x28de1d,_0x57fe02['modelCursor']))return;_0x260df9['consumable']['consume'](_0x1ae76d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5b901f=Array['from'](_0x1ae76d['getChildren']())['find'](_0x4e3904=>_0x4e3904['is']('element')&&_0x4e3904['hasClass']('footnote-content'));for(const _0x140f41 of _0x1ae76d['getChildren']())_0x140f41['is']('element')&&(_0x260df9['consumable']['consume'](_0x140f41,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x260df9['consumable']['consume'](_0x140f41,{'name':!0x0,'classes':'footnote-content'}));if(_0x5b901f){if(_0x4223aa)_0x260df9['convertChildren'](_0x5b901f,_0x28de1d);else{const _0x2e3610=_0x260df9['writer']['createElement']('footnoteInlineContent');_0x260df9['writer']['insert'](_0x2e3610,_0x28de1d),_0x260df9['convertChildren'](_0x5b901f,_0x2e3610);}}_0x260df9['updateConversionResult'](_0x28de1d,_0x57fe02);});}),_0x4d1266['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x21e208,{writer:_0x3725a9})=>b(_0x21e208,_0x3725a9,_0x43434d,{'dataPipeline':!0x0})}),_0x4d1266['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xba7d5a,{writer:_0x456955})=>b(_0xba7d5a,_0x456955,_0x43434d)});}['_defineBogusParagraphConverters'](){const {editor:_0x5f2be8}=this,{conversion:_0x414ad9}=_0x5f2be8;_0x5f2be8['config']['get']('footnotes.multiBlock')?(_0x414ad9['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x414ad9['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x5f2be8['model']['document'],'change:data',()=>{!function(_0x36b224,_0xddffe1){const _0x3c78b3=_0x36b224['document']['differ'],_0x12e82e=new Set();for(const _0x54c40e of _0x3c78b3['getChanges']()){const _0x56b668='attribute'==_0x54c40e['type']?_0x54c40e['range']['start']['parent']:_0x54c40e['position']['parent'];_0x56b668['is']('element','footnoteDefinition')&&_0x12e82e['add'](_0x56b668);}for(const _0x466ba0 of _0x12e82e['values']()){const _0x389ae3=Array['from'](_0x466ba0['getChildren']())['filter'](_0x237e1f=>g(_0x237e1f,_0xddffe1['mapper']));for(const _0x47ae4c of _0x389ae3)_0xddffe1['reconvertItem'](_0x47ae4c);}}(_0x5f2be8['model'],_0x5f2be8['editing']);})):(_0x414ad9['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x414ad9['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x312124,{writer:_0x5418d0})=>{const _0x5371b2=_0x5418d0['createContainerElement']('span');return _0x5418d0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5371b2),_0x5371b2;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2723fb}=this,{editing:_0x2a825f,t:t}=_0x2723fb,_0x88c206=_0x2723fb['model']['document']['selection'];_0x2723fb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2723fb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x2a825f['view']['document'],'enter',(_0x25e6d7,_0xe8804b)=>{const _0x250596=function(_0x489543){const _0x148b99=_0x489543['getSelectedElement']();if(_0x148b99?.['is']('element','footnoteRef'))return _0x148b99;return null;}(_0x88c206);if(_0x250596){const _0x57db36=_0x250596['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x57db36),_0xe8804b['preventDefault'](),_0x25e6d7['stop']();}},{'context':_0x5d64b2});}['_defineClickHandlers'](){const {editor:_0x304935}=this,{editing:_0x19730f}=_0x304935;_0x304935['editing']['view']['addObserver'](_0x32e9ee),_0x304935['editing']['view']['addObserver'](_0x24e169);let _0x12b668=!0x1;this['listenTo'](_0x19730f['view']['document'],'pointerdown',(_0x20a154,_0x393cb0)=>{const {target:_0x987df3}=_0x393cb0,_0x3e7809=_0x19730f['view']['document']['selection'];_0x12b668=!!(_0x987df3?.['is']('element','a')&&_0x987df3['parent']?.['is']('element','sup')&&_0x987df3['parent']['hasClass']('footnote'))&&_0x3e7809['getSelectedElement']()===_0x987df3['parent'];},{'priority':'high'}),this['listenTo'](_0x19730f['view']['document'],'click',(_0x1395b8,_0x2cf146)=>{const {target:_0x4c96e8}=_0x2cf146;if(!_0x4c96e8?.['is']('element','a'))return;if(_0x4c96e8['parent']?.['is']('element','sup')&&_0x4c96e8['parent']['hasClass']('footnote')&&!_0x12b668)return void _0x2cf146['preventDefault']();let _0x2e20f5=_0x4c96e8['getAttribute']('href');if(!_0x2e20f5?.['startsWith']('#'))return;_0x2e20f5=_0x2e20f5['slice'](0x1);let _0x573490=!0x1;(_0x2e20f5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2e20f5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2e20f5))&&(_0x573490=!0x0),_0x573490&&(_0x2cf146['preventDefault'](),_0x1395b8['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x569154}={}){return(_0x5e83cf,{writer:_0x4247de})=>{if(!p(_0x5e83cf))return null;if(!_0x569154)return _0x4247de['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4a1565=_0x4247de['createContainerElement']('p');return _0x4247de['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4a1565),_0x4a1565;};}function p(_0x30561c){const {parent:_0x59e3f5}=_0x30561c;if(!_0x59e3f5?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x59e3f5['childCount'])return!0x1;for(const _0x34d37a of _0x30561c['getAttributeKeys']())if(!_0x34d37a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x34d37a)return!0x1;return!0x0;}function g(_0xbc90a8,_0x52a928){if(!_0xbc90a8['is']('element','paragraph'))return!0x1;const _0xc05ccc=_0x52a928['toViewElement'](_0xbc90a8);return!!_0xc05ccc&&p(_0xbc90a8)!==_0xc05ccc['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x10a303){return _0x5d64b2(_0x10a303)&&_0x10a303['is']('containerElement')&&!!_0x10a303['getCustomProperty']('footnotesDefinitions');}function v(_0x453d46,_0x1059b4={}){const _0x342ee1=_0x453d46['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x148415=_0x453d46['createContainerElement']('ol',{'class':'footnotes-list'},_0x453d46['createSlot']());return _0x453d46['createContainerElement']('div',{'class':'footnotes',..._0x1059b4},[_0x342ee1,_0x148415]);}function D(_0x1a19e1,_0x1ef915){const _0x35e344=_0x1a19e1['getAttribute']('footnoteId'),_0x4bb817=_0x1a19e1['getAttribute']('footnoteCounter'),_0x3f2469=_0x1ef915['createUIElement']('a',{'href':'#'+_0x35e344},function(_0x1d060b){const _0x3585bb=this['toDomElement'](_0x1d060b);return _0x3585bb['textContent']=_0x4bb817,_0x3585bb;}),_0x33106f=_0x1ef915['createContainerElement']('sup',{'id':'ref-'+_0x35e344,'class':'footnote'},[_0x3f2469]);return _0x33106f['getFillerOffset']=()=>null,_0x33106f;}function b(_0x27e254,_0x216bdd,_0x5ce2d5,{dataPipeline:_0x2a1233}={}){const {t:t}=_0x5ce2d5,_0x122574=_0x27e254['getAttribute']('footnoteId'),_0x49bd24=_0x216bdd['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x122574},function(_0x5ef725){const _0x1546e9=this['toDomElement'](_0x5ef725);return _0x1546e9['innerText']='^',_0x1546e9;}),_0x237fe5=_0x2a1233?_0x216bdd['createContainerElement']('div',{'class':'footnote-content'}):_0x50dcbd(_0x216bdd['createEditableElement']('div',{'class':'footnote-content'}),_0x216bdd,{'label':t('Footnote\x20content.')});return _0x216bdd['insert'](_0x216bdd['createPositionAt'](_0x237fe5,0x0),_0x216bdd['createSlot']()),_0x216bdd['createContainerElement']('li',{'class':'footnote-definition','id':_0x122574},[_0x49bd24,_0x237fe5]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xac69af=_0x1b6a;(function(_0x4126e6,_0x139c72){const _0x4f1662=_0x1b6a,_0x566cb0=_0x4126e6();while(!![]){try{const _0xc7706a=-parseInt(_0x4f1662(0x78))/0x1+parseInt(_0x4f1662(0x7e))/0x2*(-parseInt(_0x4f1662(0x75))/0x3)+parseInt(_0x4f1662(0x74))/0x4+parseInt(_0x4f1662(0x83))/0x5*(-parseInt(_0x4f1662(0x7f))/0x6)+parseInt(_0x4f1662(0x84))/0x7+-parseInt(_0x4f1662(0x73))/0x8*(-parseInt(_0x4f1662(0x81))/0x9)+parseInt(_0x4f1662(0x8b))/0xa*(parseInt(_0x4f1662(0x7b))/0xb);if(_0xc7706a===_0x139c72)break;else _0x566cb0['push'](_0x566cb0['shift']());}catch(_0x310cd1){_0x566cb0['push'](_0x566cb0['shift']());}}}(_0x56da,0x78dbe));import{Command as _0xe8fd9f}from'ckeditor5/src/core.js';function _0x1b6a(_0x4476ef,_0x50a8ba){const _0x56daa7=_0x56da();return _0x1b6a=function(_0x1b6a3b,_0x22ad12){_0x1b6a3b=_0x1b6a3b-0x73;let _0x21ec87=_0x56daa7[_0x1b6a3b];return _0x21ec87;},_0x1b6a(_0x4476ef,_0x50a8ba);}import{FootnotesTracker as _0x53e681}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0xe8fd9f{[_0xac69af(0x76)](){const _0xb0a12b=_0xac69af,{editor:_0x43b7be}=this,_0x156313=_0x43b7be[_0xb0a12b(0x86)][_0xb0a12b(0x80)](_0x53e681)[_0xb0a12b(0x89)]();this[_0xb0a12b(0x88)]=!!_0x156313,this[_0xb0a12b(0x7c)]=_0x156313?.[_0xb0a12b(0x77)](_0xb0a12b(0x79))??null;}[_0xac69af(0x7d)]({value:_0x2e3ae2}){const _0x2cbbd9=_0xac69af,{editor:_0x297c9b}=this,_0x86f2a1=_0x297c9b[_0x2cbbd9(0x86)][_0x2cbbd9(0x80)](_0x53e681),_0x14aadb=_0x86f2a1[_0x2cbbd9(0x89)]();_0x14aadb&&Number[_0x2cbbd9(0x8a)](_0x2e3ae2)&&_0x297c9b[_0x2cbbd9(0x7a)][_0x2cbbd9(0x85)](_0x751cd9=>{const _0x5d820f=_0x2cbbd9;_0x751cd9[_0x5d820f(0x87)](_0x5d820f(0x79),_0x2e3ae2,_0x14aadb),_0x86f2a1[_0x5d820f(0x82)](_0x751cd9);});}}function _0x56da(){const _0x55bfe5=['330oYBFCE','refresh','getAttribute','844819GHDewT','footnotesListStart','model','11FjIQPB','value','execute','10544vBfvBG','6AJBNRQ','get','36UiSxus','_updateFootnotesCounters','713485SmotER','5156494TQqlsH','change','plugins','setAttribute','isEnabled','getFootnotesDefinitionsObjectElement','isInteger','5280860htAUlO','1397272FPqTcm','396440DbsTug'];_0x56da=function(){return _0x55bfe5;};return _0x56da();}
23
+ const _0x4e1cfd=_0x56d8;function _0x2783(){const _0x9463fd=['162995YGKTGT','3384Nvckrj','value','plugins','footnotesListStart','get','20SijPWn','12KqitTq','isInteger','1413313nttdca','260252Rdabky','1542249mTIKRr','isEnabled','_updateFootnotesCounters','10oPzEHt','707bMdnVE','240486xUiifP','execute','change','model','338064jrjGyc','3YQmMEr','getFootnotesDefinitionsObjectElement','refresh','getAttribute','setAttribute'];_0x2783=function(){return _0x9463fd;};return _0x2783();}(function(_0x33ba3e,_0x5409a1){const _0x559c2a=_0x56d8,_0x379ff2=_0x33ba3e();while(!![]){try{const _0xdf8c0c=parseInt(_0x559c2a(0x92))/0x1+parseInt(_0x559c2a(0x88))/0x2*(-parseInt(_0x559c2a(0x79))/0x3)+-parseInt(_0x559c2a(0x84))/0x4*(parseInt(_0x559c2a(0x7e))/0x5)+parseInt(_0x559c2a(0x8e))/0x6+-parseInt(_0x559c2a(0x8d))/0x7*(-parseInt(_0x559c2a(0x7f))/0x8)+parseInt(_0x559c2a(0x89))/0x9*(parseInt(_0x559c2a(0x8c))/0xa)+-parseInt(_0x559c2a(0x87))/0xb*(parseInt(_0x559c2a(0x85))/0xc);if(_0xdf8c0c===_0x5409a1)break;else _0x379ff2['push'](_0x379ff2['shift']());}catch(_0x179f7d){_0x379ff2['push'](_0x379ff2['shift']());}}}(_0x2783,0x29a81));import{Command as _0x13b8ae}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1c6d45}from'../../footnotestracker.js';function _0x56d8(_0x286b92,_0x17c026){const _0x278347=_0x2783();return _0x56d8=function(_0x56d8ce,_0x182642){_0x56d8ce=_0x56d8ce-0x79;let _0x35ee73=_0x278347[_0x56d8ce];return _0x35ee73;},_0x56d8(_0x286b92,_0x17c026);}export class FootnotesStartCommand extends _0x13b8ae{[_0x4e1cfd(0x7b)](){const _0xfcc3cc=_0x4e1cfd,{editor:_0x3cc019}=this,_0x5742bb=_0x3cc019[_0xfcc3cc(0x81)][_0xfcc3cc(0x83)](_0x1c6d45)[_0xfcc3cc(0x7a)]();this[_0xfcc3cc(0x8a)]=!!_0x5742bb,this[_0xfcc3cc(0x80)]=_0x5742bb?.[_0xfcc3cc(0x7c)](_0xfcc3cc(0x82))??null;}[_0x4e1cfd(0x8f)]({value:_0x49f5b1}){const _0x3817d3=_0x4e1cfd,{editor:_0x14e79a}=this,_0x14e716=_0x14e79a[_0x3817d3(0x81)][_0x3817d3(0x83)](_0x1c6d45),_0x539fc8=_0x14e716[_0x3817d3(0x7a)]();_0x539fc8&&Number[_0x3817d3(0x86)](_0x49f5b1)&&_0x14e79a[_0x3817d3(0x91)][_0x3817d3(0x90)](_0x6f1df5=>{const _0x5e5f31=_0x3817d3;_0x6f1df5[_0x5e5f31(0x7d)](_0x5e5f31(0x82),_0x49f5b1,_0x539fc8),_0x14e716[_0x5e5f31(0x8b)](_0x6f1df5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x58c272=_0x3106;(function(_0x1eb2a8,_0x465103){const _0x48869c=_0x3106,_0x10813b=_0x1eb2a8();while(!![]){try{const _0x4cadf9=parseInt(_0x48869c(0x165))/0x1+-parseInt(_0x48869c(0x168))/0x2+parseInt(_0x48869c(0x166))/0x3*(parseInt(_0x48869c(0x173))/0x4)+parseInt(_0x48869c(0x163))/0x5+-parseInt(_0x48869c(0x161))/0x6*(-parseInt(_0x48869c(0x172))/0x7)+-parseInt(_0x48869c(0x174))/0x8+-parseInt(_0x48869c(0x169))/0x9;if(_0x4cadf9===_0x465103)break;else _0x10813b['push'](_0x10813b['shift']());}catch(_0x17b5b1){_0x10813b['push'](_0x10813b['shift']());}}}(_0x2e56,0xc0cee));import{Command as _0x3fede8}from'ckeditor5/src/core.js';function _0x3106(_0xb836af,_0x3b12f5){const _0x2e5619=_0x2e56();return _0x3106=function(_0x31065a,_0x32d36f){_0x31065a=_0x31065a-0x160;let _0x59ab4f=_0x2e5619[_0x31065a];return _0x59ab4f;},_0x3106(_0xb836af,_0x3b12f5);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x5e2ee7}from'../footnotespropertiesconfig.js';function _0x2e56(){const _0x841184=['12354957OmWvDC','footnotesListStyle','refresh','getFootnotesDefinitionsObjectElement','setAttribute','model','value','_updateFootnotesCounters','get','195356GpyDbe','124apkSCX','4984112LDWFfp','getAttribute','isEnabled','execute','18NRVmct','plugins','5022985IUYVCc','change','1419653gsbFHh','148047uzlvlr','includes','2504528XRXBlB'];_0x2e56=function(){return _0x841184;};return _0x2e56();}import{FootnotesTracker as _0x56cffe}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x3fede8{[_0x58c272(0x16b)](){const _0x33164b=_0x58c272,{editor:_0x391c39}=this,_0x1157d8=_0x391c39[_0x33164b(0x162)][_0x33164b(0x171)](_0x56cffe)[_0x33164b(0x16c)]();this[_0x33164b(0x176)]=!!_0x1157d8,this[_0x33164b(0x16f)]=_0x1157d8?.[_0x33164b(0x175)](_0x33164b(0x16a))??null;}[_0x58c272(0x160)]({value:_0x547d54}){const _0x22f6c2=_0x58c272,{editor:_0x4e90cf}=this,_0x50ea59=_0x4e90cf[_0x22f6c2(0x162)][_0x22f6c2(0x171)](_0x56cffe),_0xcf7e52=_0x50ea59[_0x22f6c2(0x16c)]();_0xcf7e52&&_0x5e2ee7[_0x22f6c2(0x167)](_0x547d54)&&_0x4e90cf[_0x22f6c2(0x16e)][_0x22f6c2(0x164)](_0xa65879=>{const _0x2d9d1f=_0x22f6c2;_0xa65879[_0x2d9d1f(0x16d)](_0x2d9d1f(0x16a),_0x547d54,_0xcf7e52),_0x50ea59[_0x2d9d1f(0x170)](_0xa65879);});}}
23
+ const _0x3fe63a=_0x434e;function _0x434e(_0x5b584a,_0x263e87){const _0x2e8202=_0x2e82();return _0x434e=function(_0x434e5b,_0x223199){_0x434e5b=_0x434e5b-0x1e7;let _0x56f69c=_0x2e8202[_0x434e5b];return _0x56f69c;},_0x434e(_0x5b584a,_0x263e87);}function _0x2e82(){const _0x149b95=['3aMwUxz','isEnabled','13GPdbLO','45978756IUGwXs','footnotesListStyle','9YkDgIV','getAttribute','5978929CnnHJb','716173oxagHn','includes','plugins','198751GACPVZ','execute','174nGHtXt','get','1517806yHgNay','model','4935whiqFx','getFootnotesDefinitionsObjectElement','629984LKpFWx','refresh','setAttribute','value','548oxEivB','_updateFootnotesCounters','change','10PvNEcl'];_0x2e82=function(){return _0x149b95;};return _0x2e82();}(function(_0x5c19c6,_0x8dc7e8){const _0x1f7808=_0x434e,_0x4b548d=_0x5c19c6();while(!![]){try{const _0x1ff077=-parseInt(_0x1f7808(0x1ea))/0x1+parseInt(_0x1f7808(0x1f1))/0x2*(-parseInt(_0x1f7808(0x1fd))/0x3)+-parseInt(_0x1f7808(0x1f9))/0x4*(parseInt(_0x1f7808(0x1f3))/0x5)+-parseInt(_0x1f7808(0x1ef))/0x6*(parseInt(_0x1f7808(0x1ed))/0x7)+-parseInt(_0x1f7808(0x1f5))/0x8*(parseInt(_0x1f7808(0x1e7))/0x9)+parseInt(_0x1f7808(0x1fc))/0xa*(-parseInt(_0x1f7808(0x1e9))/0xb)+parseInt(_0x1f7808(0x200))/0xc*(parseInt(_0x1f7808(0x1ff))/0xd);if(_0x1ff077===_0x8dc7e8)break;else _0x4b548d['push'](_0x4b548d['shift']());}catch(_0x3b6599){_0x4b548d['push'](_0x4b548d['shift']());}}}(_0x2e82,0xbd5a0));import{Command as _0x58a205}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3715eb}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5838e8}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x58a205{[_0x3fe63a(0x1f6)](){const _0x1c905c=_0x3fe63a,{editor:_0x504ead}=this,_0x1ae2b7=_0x504ead[_0x1c905c(0x1ec)][_0x1c905c(0x1f0)](_0x5838e8)[_0x1c905c(0x1f4)]();this[_0x1c905c(0x1fe)]=!!_0x1ae2b7,this[_0x1c905c(0x1f8)]=_0x1ae2b7?.[_0x1c905c(0x1e8)](_0x1c905c(0x201))??null;}[_0x3fe63a(0x1ee)]({value:_0x3ced61}){const _0x1b8f28=_0x3fe63a,{editor:_0x48ea86}=this,_0x4fc39f=_0x48ea86[_0x1b8f28(0x1ec)][_0x1b8f28(0x1f0)](_0x5838e8),_0x5ba914=_0x4fc39f[_0x1b8f28(0x1f4)]();_0x5ba914&&_0x3715eb[_0x1b8f28(0x1eb)](_0x3ced61)&&_0x48ea86[_0x1b8f28(0x1f2)][_0x1b8f28(0x1fb)](_0x35ba50=>{const _0x4c4108=_0x1b8f28;_0x35ba50[_0x4c4108(0x1f7)](_0x4c4108(0x201),_0x3ced61,_0x5ba914),_0x4fc39f[_0x4c4108(0x1fa)](_0x35ba50);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5b7613=_0x3af3;function _0x3af3(_0x16ef6a,_0x554af3){const _0x5f5bf4=_0x5f5b();return _0x3af3=function(_0x3af3a3,_0x3183ab){_0x3af3a3=_0x3af3a3-0x161;let _0x205337=_0x5f5bf4[_0x3af3a3];return _0x205337;},_0x3af3(_0x16ef6a,_0x554af3);}(function(_0x592e32,_0x48b2dd){const _0x5b505f=_0x3af3,_0x1f28d1=_0x592e32();while(!![]){try{const _0xf73189=parseInt(_0x5b505f(0x173))/0x1+parseInt(_0x5b505f(0x172))/0x2*(parseInt(_0x5b505f(0x16e))/0x3)+-parseInt(_0x5b505f(0x161))/0x4*(-parseInt(_0x5b505f(0x164))/0x5)+-parseInt(_0x5b505f(0x162))/0x6+-parseInt(_0x5b505f(0x16d))/0x7*(parseInt(_0x5b505f(0x163))/0x8)+-parseInt(_0x5b505f(0x171))/0x9*(-parseInt(_0x5b505f(0x167))/0xa)+parseInt(_0x5b505f(0x16f))/0xb*(-parseInt(_0x5b505f(0x169))/0xc);if(_0xf73189===_0x48b2dd)break;else _0x1f28d1['push'](_0x1f28d1['shift']());}catch(_0x456bd4){_0x1f28d1['push'](_0x1f28d1['shift']());}}}(_0x5f5b,0x3fdc5));function _0x5f5b(){const _0x33b1d9=['21byjxHi','447690MjkRdK','361229UClcIu','decimal','18dbAUPJ','6TgFDiT','316402nfgFhg','upper-latin','1310980faWsVr','1521396QVHICC','682232Piyxoq','5JGdmdQ','lower-latin','decimal-leading-zero','530230adINCI','lower-alpha','156HQVmbC','lower-roman','upper-alpha','upper-roman'];_0x5f5b=function(){return _0x33b1d9;};return _0x5f5b();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5b7613(0x170),_0x5b7613(0x166),_0x5b7613(0x165),_0x5b7613(0x174),_0x5b7613(0x168),_0x5b7613(0x16b),_0x5b7613(0x16a),_0x5b7613(0x16c)];
23
+ function _0x3c08(_0x5748cd,_0x5c54a5){const _0x5dcc57=_0x5dcc();return _0x3c08=function(_0x3c0836,_0x1f632f){_0x3c0836=_0x3c0836-0x71;let _0x339119=_0x5dcc57[_0x3c0836];return _0x339119;},_0x3c08(_0x5748cd,_0x5c54a5);}const _0x302d6e=_0x3c08;function _0x5dcc(){const _0x193282=['426000eMTthA','lower-alpha','decimal','upper-latin','1830zjgYHs','2EhXqlY','2331666erUFhY','4912IbFfPd','upper-roman','2494917utpPDR','lower-roman','515842mzuYTd','32752DwWcyz','10RxFAgp','upper-alpha','decimal-leading-zero','lower-latin','5908155ANigfQ','77XYAwvw'];_0x5dcc=function(){return _0x193282;};return _0x5dcc();}(function(_0x1faebc,_0x51a51b){const _0x5e1a51=_0x3c08,_0x485082=_0x1faebc();while(!![]){try{const _0xfd9be9=parseInt(_0x5e1a51(0x77))/0x1*(-parseInt(_0x5e1a51(0x7d))/0x2)+-parseInt(_0x5e1a51(0x72))/0x3+-parseInt(_0x5e1a51(0x79))/0x4*(-parseInt(_0x5e1a51(0x76))/0x5)+-parseInt(_0x5e1a51(0x78))/0x6+parseInt(_0x5e1a51(0x71))/0x7*(parseInt(_0x5e1a51(0x7e))/0x8)+parseInt(_0x5e1a51(0x7b))/0x9*(parseInt(_0x5e1a51(0x7f))/0xa)+parseInt(_0x5e1a51(0x83))/0xb;if(_0xfd9be9===_0x51a51b)break;else _0x485082['push'](_0x485082['shift']());}catch(_0x2158d4){_0x485082['push'](_0x485082['shift']());}}}(_0x5dcc,0x400cb));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x302d6e(0x74),_0x302d6e(0x81),_0x302d6e(0x82),_0x302d6e(0x75),_0x302d6e(0x73),_0x302d6e(0x80),_0x302d6e(0x7c),_0x302d6e(0x7a)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x57f1de=_0x293c;(function(_0x1239cf,_0x29fd00){const _0x5a8d98=_0x293c,_0x1afe93=_0x1239cf();while(!![]){try{const _0x3e4f24=parseInt(_0x5a8d98(0x199))/0x1*(parseInt(_0x5a8d98(0x1a4))/0x2)+parseInt(_0x5a8d98(0x186))/0x3+-parseInt(_0x5a8d98(0x1c0))/0x4+parseInt(_0x5a8d98(0x19e))/0x5*(parseInt(_0x5a8d98(0x1d8))/0x6)+parseInt(_0x5a8d98(0x18a))/0x7+-parseInt(_0x5a8d98(0x1d7))/0x8+parseInt(_0x5a8d98(0x1d0))/0x9*(-parseInt(_0x5a8d98(0x190))/0xa);if(_0x3e4f24===_0x29fd00)break;else _0x1afe93['push'](_0x1afe93['shift']());}catch(_0x50efc9){_0x1afe93['push'](_0x1afe93['shift']());}}}(_0x5d76,0xba0de));import{Plugin as _0x188d1e}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x30964a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5a6d4e}from'./commands/footnotesstartcommand.js';function _0x5d76(){const _0x594584=['schema','document','_definePostfixer','4302300fOCXrf','FootnotesPropertiesEditing','decimal','_updateFootnotesCounters','5226746aaNfZT','type','getAttribute','_defineSchema','footnotes.footnotesProperties.defaultStartIndex','getChildren','1505570vPoknk','viewItem','toLowerCase','consumable','createRangeOn','fromCharCode','parseInt','decimal-leading-zero','getItems','2zimYMJ','hasClass','_defineFormatter','start','toUpperCase','40irowij','hasAttribute','removeAttribute','lower-alpha','_getDefaultStartIndex','nodeAfter','1136374RDqprk','position','$text','padStart','registerPostFixer','insert','name','pluginName','init','attribute:footnotesListStyle:footnotesDefinitions','getChanges','element','isOfficialPlugin','downcast','setFootnoteFormatter','plugins','footnotesStart','list-style-type','for','footnotesDefinitions','from','toViewElement','floor','parent','element:ol','upper-roman','add','lower-latin','4882528KSIpxk','consume','footnotesListStart','mapper','getStyle','get','upper-latin','_getDefaultListStyle','item','footnotesListStyle','isNaN','_defineConverters','setAttribute','attribute:footnotesListStart:footnotesDefinitions','lower-roman','setStyle','99AGfeYn','checkAttribute','editor','max','config','upcast','find','7843992XIrdez','976638jrLxfB','isPremiumPlugin','_formatFootnoteListValue','footnotes.footnotesProperties.defaultListStyle','footnotes-list','model','requires','commands','extend','footnotesStyle','removeStyle','modelCursor','writer','differ','upper-alpha','define'];_0x5d76=function(){return _0x594584;};return _0x5d76();}import{FootnotesTracker as _0x25e049}from'../footnotestracker.js';import{FootnotesEditing as _0x505301}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x188d1e{static get[_0x57f1de(0x1ab)](){const _0x1a8a58=_0x57f1de;return _0x1a8a58(0x187);}static get[_0x57f1de(0x1de)](){return[_0x505301,_0x25e049];}static get[_0x57f1de(0x1b0)](){return!0x0;}static get[_0x57f1de(0x1d9)](){return!0x0;}[_0x57f1de(0x1ac)](){const _0x2d3ee1=_0x57f1de,{editor:_0x11c000}=this;_0x11c000[_0x2d3ee1(0x1d4)][_0x2d3ee1(0x1e7)](_0x2d3ee1(0x1db),_0x2d3ee1(0x188)),_0x11c000[_0x2d3ee1(0x1d4)][_0x2d3ee1(0x1e7)](_0x2d3ee1(0x18e),0x1),_0x11c000[_0x2d3ee1(0x1df)][_0x2d3ee1(0x1be)](_0x2d3ee1(0x1e1),new _0x30964a(_0x11c000)),_0x11c000[_0x2d3ee1(0x1df)][_0x2d3ee1(0x1be)](_0x2d3ee1(0x1b4),new _0x5a6d4e(_0x11c000)),this[_0x2d3ee1(0x18d)](),this[_0x2d3ee1(0x1cb)](),this[_0x2d3ee1(0x19b)](),this[_0x2d3ee1(0x185)]();}[_0x57f1de(0x18d)](){const _0x478034=_0x57f1de,{editor:_0x3f7f00}=this,{schema:_0x6254f0}=_0x3f7f00[_0x478034(0x1dd)];_0x6254f0[_0x478034(0x1e0)](_0x478034(0x1b7),{'allowAttributes':[_0x478034(0x1c9),_0x478034(0x1c2)]});}[_0x57f1de(0x1cb)](){const _0x27d865=_0x57f1de,{editor:_0x3ed3d2}=this,{conversion:_0x4c8aa0,model:_0x206f60}=_0x3ed3d2,{schema:_0xff8b4}=_0x206f60;_0x4c8aa0[_0x27d865(0x1b6)](_0x27d865(0x1d5))[_0x27d865(0x1be)](_0x211bd4=>{const _0x401e54=_0x27d865;_0x211bd4['on'](_0x401e54(0x1bc),(_0x904571,_0x312d6c,_0x3a6049)=>{const _0x2758cb=_0x401e54,_0x41d3ba=_0x312d6c[_0x2758cb(0x191)],_0x2ce245=_0x312d6c[_0x2758cb(0x1e3)]?.[_0x2758cb(0x1bb)];_0x41d3ba[_0x2758cb(0x19a)](_0x2758cb(0x1dc))&&_0x2ce245?.['is'](_0x2758cb(0x1af),_0x2758cb(0x1b7))&&(function(_0x2f41d5,_0x26bd26,_0x59fd1d,_0x2125d1){const _0x3bd5b6=_0x2758cb;if(!_0x2125d1[_0x3bd5b6(0x1d1)](_0x26bd26,_0x3bd5b6(0x1c2)))return;let _0x2fe101=0x1;const _0x2a6bc3=_0x59fd1d[_0x3bd5b6(0x193)][_0x3bd5b6(0x1c1)](_0x2f41d5,{'attributes':_0x3bd5b6(0x19c)});if(_0x2a6bc3){const _0x1cbe4d=Number[_0x3bd5b6(0x196)](_0x2f41d5[_0x3bd5b6(0x18c)](_0x3bd5b6(0x19c)),0xa);Number[_0x3bd5b6(0x1ca)](_0x1cbe4d)||(_0x2fe101=_0x1cbe4d);}!_0x2a6bc3&&_0x26bd26[_0x3bd5b6(0x19f)](_0x3bd5b6(0x1c2))||_0x59fd1d[_0x3bd5b6(0x1e4)][_0x3bd5b6(0x1cc)](_0x3bd5b6(0x1c2),_0x2fe101,_0x26bd26);}(_0x41d3ba,_0x2ce245,_0x3a6049,_0xff8b4),function(_0x5b2a7d,_0x2b313e,_0x10f6e1,_0x2404b8){const _0x2c2b6c=_0x2758cb;if(!_0x2404b8[_0x2c2b6c(0x1d1)](_0x2b313e,_0x2c2b6c(0x1c9)))return;let _0x1e1047=_0x2c2b6c(0x188),_0x2d541f=!0x1;if(_0x10f6e1[_0x2c2b6c(0x193)][_0x2c2b6c(0x1c1)](_0x5b2a7d,{'attributes':_0x2c2b6c(0x18b)})){const _0x95247d={0x1:_0x2c2b6c(0x188),'a':_0x2c2b6c(0x1a1),'A':_0x2c2b6c(0x1e6),'i':_0x2c2b6c(0x1ce),'I':_0x2c2b6c(0x1bd)}[_0x5b2a7d[_0x2c2b6c(0x18c)](_0x2c2b6c(0x18b))];_0x95247d&&(_0x1e1047=_0x95247d),_0x2d541f=!0x0;}_0x10f6e1[_0x2c2b6c(0x193)][_0x2c2b6c(0x1c1)](_0x5b2a7d,{'styles':_0x2c2b6c(0x1b5)})&&(_0x1e1047=_0x5b2a7d[_0x2c2b6c(0x1c4)](_0x2c2b6c(0x1b5)),_0x2d541f=!0x0),!_0x2d541f&&_0x2b313e[_0x2c2b6c(0x19f)](_0x2c2b6c(0x1c9))||_0x10f6e1[_0x2c2b6c(0x1e4)][_0x2c2b6c(0x1cc)](_0x2c2b6c(0x1c9),_0x1e1047,_0x2b313e);}(_0x41d3ba,_0x2ce245,_0x3a6049,_0xff8b4));});}),_0x4c8aa0[_0x27d865(0x1b6)](_0x27d865(0x1b1))[_0x27d865(0x1be)](_0x2c1806=>{const _0x1c0b51=_0x27d865;_0x2c1806['on'](_0x1c0b51(0x1cd),(_0x40c95f,_0x7f7843,_0x3345c8)=>{const _0x45b9a5=_0x1c0b51;if(!_0x3345c8[_0x45b9a5(0x193)][_0x45b9a5(0x1c1)](_0x7f7843[_0x45b9a5(0x1c8)],_0x40c95f[_0x45b9a5(0x1aa)]))return;const _0xb4e7a=M(_0x7f7843[_0x45b9a5(0x1c8)],_0x3345c8[_0x45b9a5(0x1c3)]),{attributeNewValue:_0x59cc2c}=_0x7f7843;null==_0x59cc2c||0x1===_0x59cc2c?_0x3345c8[_0x45b9a5(0x1e4)][_0x45b9a5(0x1a0)](_0x45b9a5(0x19c),_0xb4e7a):_0x3345c8[_0x45b9a5(0x1e4)][_0x45b9a5(0x1cc)](_0x45b9a5(0x19c),String(_0x59cc2c),_0xb4e7a);}),_0x2c1806['on'](_0x1c0b51(0x1ad),(_0xfd882d,_0x161d06,_0x33a397)=>{const _0x216546=_0x1c0b51;if(!_0x33a397[_0x216546(0x193)][_0x216546(0x1c1)](_0x161d06[_0x216546(0x1c8)],_0xfd882d[_0x216546(0x1aa)]))return;const _0x504373=M(_0x161d06[_0x216546(0x1c8)],_0x33a397[_0x216546(0x1c3)]),{attributeNewValue:_0x3179b8}=_0x161d06;_0x3179b8&&_0x216546(0x188)!==_0x3179b8?_0x33a397[_0x216546(0x1e4)][_0x216546(0x1cf)](_0x216546(0x1b5),_0x3179b8,_0x504373):_0x33a397[_0x216546(0x1e4)][_0x216546(0x1e2)](_0x216546(0x1b5),_0x504373);});});}[_0x57f1de(0x185)](){const _0x14f524=_0x57f1de,{editor:_0x5befdb}=this,{model:_0x19619f}=_0x5befdb,_0x13ba4d=_0x5befdb[_0x14f524(0x1b3)][_0x14f524(0x1c5)](_0x25e049),_0x50e671=this[_0x14f524(0x1c7)](),_0x88478a=this[_0x14f524(0x1a2)]();_0x19619f[_0x14f524(0x184)][_0x14f524(0x1a8)](_0x2868c2=>{const _0x391571=_0x14f524,_0x5438d1=_0x19619f[_0x391571(0x184)][_0x391571(0x1e5)][_0x391571(0x1ae)]();let _0x3f88f5=!0x1;for(const _0x562bd3 of _0x5438d1){if(_0x391571(0x1a9)!==_0x562bd3[_0x391571(0x18b)]||_0x391571(0x1a6)===_0x562bd3[_0x391571(0x1aa)])continue;const _0x65ef9=_0x19619f[_0x391571(0x194)](_0x562bd3[_0x391571(0x1a5)][_0x391571(0x1a3)]);for(const _0x42b871 of _0x65ef9[_0x391571(0x198)]())_0x42b871['is'](_0x391571(0x1af),_0x391571(0x1b7))&&(!_0x42b871[_0x391571(0x19f)](_0x391571(0x1c2))&&_0x19619f[_0x391571(0x183)][_0x391571(0x1d1)](_0x42b871,_0x391571(0x1c2))&&(_0x2868c2[_0x391571(0x1cc)](_0x391571(0x1c2),_0x88478a,_0x42b871),_0x3f88f5=!0x0),!_0x42b871[_0x391571(0x19f)](_0x391571(0x1c9))&&_0x19619f[_0x391571(0x183)][_0x391571(0x1d1)](_0x42b871,_0x391571(0x1c9))&&(_0x2868c2[_0x391571(0x1cc)](_0x391571(0x1c9),_0x50e671,_0x42b871),_0x3f88f5=!0x0));}return _0x3f88f5&&_0x13ba4d[_0x391571(0x189)](_0x2868c2),_0x3f88f5;});}[_0x57f1de(0x19b)](){const _0x1f7d4a=_0x57f1de,{editor:_0x2d5d5f}=this;_0x2d5d5f[_0x1f7d4a(0x1b3)][_0x1f7d4a(0x1c5)](_0x25e049)[_0x1f7d4a(0x1b2)](_0x35823b=>this[_0x1f7d4a(0x1da)](_0x35823b));}[_0x57f1de(0x1c7)](){const _0x2aba6c=_0x57f1de;return this[_0x2aba6c(0x1d2)][_0x2aba6c(0x1d4)][_0x2aba6c(0x1c5)](_0x2aba6c(0x1db));}[_0x57f1de(0x1a2)](){const _0x307450=_0x57f1de;return this[_0x307450(0x1d2)][_0x307450(0x1d4)][_0x307450(0x1c5)](_0x307450(0x18e));}[_0x57f1de(0x1da)]({container:_0x10689c,value:_0x9c14b2,digits:_0x35bdc1}){const _0x440a74=_0x57f1de,_0x562ec8=_0x10689c[_0x440a74(0x18c)](_0x440a74(0x1c9)),_0x12b69c=_0x10689c[_0x440a74(0x18c)](_0x440a74(0x1c2)),_0x347a6b=Math[_0x440a74(0x1ba)](_0x9c14b2)+(_0x12b69c??0x1)-0x1;switch(_0x562ec8){case _0x440a74(0x197):return function(_0x53d72b,_0x47db52){const _0x2eca48=_0x440a74;return String(_0x53d72b)[_0x2eca48(0x1a7)](_0x47db52,'0');}(_0x347a6b,Math[_0x440a74(0x1d3)](0x2,_0x35bdc1));case _0x440a74(0x1a1):case _0x440a74(0x1bf):return N(_0x347a6b,!0x1);case _0x440a74(0x1e6):case _0x440a74(0x1c6):return N(_0x347a6b,!0x0);case _0x440a74(0x1ce):return X(_0x347a6b,!0x1);case _0x440a74(0x1bd):return X(_0x347a6b,!0x0);default:return String(_0x347a6b);}}}function M(_0x2afae5,_0x28e907){const _0x254ee5=_0x57f1de,_0x26ecde=_0x28e907[_0x254ee5(0x1b9)](_0x2afae5);return Array[_0x254ee5(0x1b8)](_0x26ecde[_0x254ee5(0x18f)]())[_0x254ee5(0x1d6)](_0x3617a2=>_0x3617a2['is'](_0x254ee5(0x1af),'ol')&&_0x3617a2[_0x254ee5(0x19a)](_0x254ee5(0x1dc)));}function N(_0x5c1d5d,_0x2f0570){const _0x38c45f=_0x57f1de;let _0x3f61d3='',_0x16e071=_0x5c1d5d;for(;_0x16e071>0x0;){const _0x7478f3=(_0x16e071-0x1)%0x1a;_0x3f61d3=String[_0x38c45f(0x195)](0x61+_0x7478f3)+_0x3f61d3,_0x16e071=Math[_0x38c45f(0x1ba)]((_0x16e071-0x1)/0x1a);}return _0x2f0570?_0x3f61d3[_0x38c45f(0x19d)]():_0x3f61d3;}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 _0x293c(_0x5e9f86,_0x1d7570){const _0x5d769c=_0x5d76();return _0x293c=function(_0x293cf7,_0x50e132){_0x293cf7=_0x293cf7-0x183;let _0x34fada=_0x5d769c[_0x293cf7];return _0x34fada;},_0x293c(_0x5e9f86,_0x1d7570);}function X(_0x76f814,_0x5c5196){const _0x17fcca=_0x57f1de;let _0x1dbebc='',_0x3aa127=_0x76f814;for(const {value:_0x3236ac,numeral:_0x27fe4f}of V)for(;_0x3aa127>=_0x3236ac;)_0x1dbebc+=_0x27fe4f,_0x3aa127-=_0x3236ac;return _0x5c5196?_0x1dbebc:_0x1dbebc[_0x17fcca(0x192)]();}
23
+ const _0x519626=_0x11a0;(function(_0x451b7f,_0x535446){const _0x58c02a=_0x11a0,_0x43a522=_0x451b7f();while(!![]){try{const _0x13f782=-parseInt(_0x58c02a(0x11a))/0x1*(parseInt(_0x58c02a(0x10f))/0x2)+-parseInt(_0x58c02a(0x14a))/0x3+parseInt(_0x58c02a(0x155))/0x4+-parseInt(_0x58c02a(0x127))/0x5*(-parseInt(_0x58c02a(0x128))/0x6)+-parseInt(_0x58c02a(0x13f))/0x7+-parseInt(_0x58c02a(0x15a))/0x8+-parseInt(_0x58c02a(0x15f))/0x9*(-parseInt(_0x58c02a(0x10a))/0xa);if(_0x13f782===_0x535446)break;else _0x43a522['push'](_0x43a522['shift']());}catch(_0x1820b5){_0x43a522['push'](_0x43a522['shift']());}}}(_0x55f9,0x58e1a));import{Plugin as _0x12cc8d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1c06eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x6e5fa1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x593fc1}from'../footnotestracker.js';import{FootnotesEditing as _0x4cf9b8}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x12cc8d{static get[_0x519626(0x122)](){const _0x29841a=_0x519626;return _0x29841a(0x107);}static get[_0x519626(0x13c)](){return[_0x4cf9b8,_0x593fc1];}static get[_0x519626(0x101)](){return!0x0;}static get[_0x519626(0x153)](){return!0x0;}[_0x519626(0x116)](){const _0x117c9f=_0x519626,{editor:_0x147221}=this;_0x147221[_0x117c9f(0x15e)][_0x117c9f(0x14c)](_0x117c9f(0x133),_0x117c9f(0x125)),_0x147221[_0x117c9f(0x15e)][_0x117c9f(0x14c)](_0x117c9f(0x157),0x1),_0x147221[_0x117c9f(0x106)][_0x117c9f(0x129)](_0x117c9f(0x102),new _0x1c06eb(_0x147221)),_0x147221[_0x117c9f(0x106)][_0x117c9f(0x129)](_0x117c9f(0x105),new _0x6e5fa1(_0x147221)),this[_0x117c9f(0x11f)](),this[_0x117c9f(0x111)](),this[_0x117c9f(0x126)](),this[_0x117c9f(0x15d)]();}[_0x519626(0x11f)](){const _0x35476a=_0x519626,{editor:_0x54a734}=this,{schema:_0x4e0dbe}=_0x54a734[_0x35476a(0x14b)];_0x4e0dbe[_0x35476a(0x135)](_0x35476a(0x139),{'allowAttributes':[_0x35476a(0x118),_0x35476a(0x161)]});}[_0x519626(0x111)](){const _0x25ce1f=_0x519626,{editor:_0x341c28}=this,{conversion:_0x3ef042,model:_0x4aa820}=_0x341c28,{schema:_0x343156}=_0x4aa820;_0x3ef042[_0x25ce1f(0x121)](_0x25ce1f(0x14e))[_0x25ce1f(0x129)](_0x5de1de=>{const _0x1d9135=_0x25ce1f;_0x5de1de['on'](_0x1d9135(0x10b),(_0x1d6fc3,_0x2e23e9,_0x485659)=>{const _0xdcfe8f=_0x1d9135,_0x973390=_0x2e23e9[_0xdcfe8f(0x104)],_0xd72070=_0x2e23e9[_0xdcfe8f(0x137)]?.[_0xdcfe8f(0x108)];_0x973390[_0xdcfe8f(0x110)](_0xdcfe8f(0x103))&&_0xd72070?.['is'](_0xdcfe8f(0x112),_0xdcfe8f(0x139))&&(function(_0x102c28,_0x44210d,_0x485f79,_0x2e3cfe){const _0x171397=_0xdcfe8f;if(!_0x2e3cfe[_0x171397(0x117)](_0x44210d,_0x171397(0x161)))return;let _0x263973=0x1;const _0x540e6d=_0x485f79[_0x171397(0x114)][_0x171397(0x164)](_0x102c28,{'attributes':_0x171397(0x13e)});if(_0x540e6d){const _0x35743c=Number[_0x171397(0x141)](_0x102c28[_0x171397(0x140)](_0x171397(0x13e)),0xa);Number[_0x171397(0x109)](_0x35743c)||(_0x263973=_0x35743c);}!_0x540e6d&&_0x44210d[_0x171397(0x115)](_0x171397(0x161))||_0x485f79[_0x171397(0x11d)][_0x171397(0x10e)](_0x171397(0x161),_0x263973,_0x44210d);}(_0x973390,_0xd72070,_0x485659,_0x343156),function(_0x1ad10d,_0xfb52d5,_0x1b6a81,_0x198e80){const _0x537fe6=_0xdcfe8f;if(!_0x198e80[_0x537fe6(0x117)](_0xfb52d5,_0x537fe6(0x118)))return;let _0x50e570=_0x537fe6(0x125),_0xaf85cb=!0x1;if(_0x1b6a81[_0x537fe6(0x114)][_0x537fe6(0x164)](_0x1ad10d,{'attributes':_0x537fe6(0x12d)})){const _0x21e280={0x1:_0x537fe6(0x125),'a':_0x537fe6(0x158),'A':_0x537fe6(0x150),'i':_0x537fe6(0x136),'I':_0x537fe6(0x162)}[_0x1ad10d[_0x537fe6(0x140)](_0x537fe6(0x12d))];_0x21e280&&(_0x50e570=_0x21e280),_0xaf85cb=!0x0;}_0x1b6a81[_0x537fe6(0x114)][_0x537fe6(0x164)](_0x1ad10d,{'styles':_0x537fe6(0x14d)})&&(_0x50e570=_0x1ad10d[_0x537fe6(0x11e)](_0x537fe6(0x14d)),_0xaf85cb=!0x0),!_0xaf85cb&&_0xfb52d5[_0x537fe6(0x115)](_0x537fe6(0x118))||_0x1b6a81[_0x537fe6(0x11d)][_0x537fe6(0x10e)](_0x537fe6(0x118),_0x50e570,_0xfb52d5);}(_0x973390,_0xd72070,_0x485659,_0x343156));});}),_0x3ef042[_0x25ce1f(0x121)](_0x25ce1f(0x132))[_0x25ce1f(0x129)](_0x4a82c2=>{const _0x4671ce=_0x25ce1f;_0x4a82c2['on'](_0x4671ce(0x12f),(_0x171365,_0x1c4b53,_0x4c5e15)=>{const _0x2e2d8e=_0x4671ce;if(!_0x4c5e15[_0x2e2d8e(0x114)][_0x2e2d8e(0x164)](_0x1c4b53[_0x2e2d8e(0x119)],_0x171365[_0x2e2d8e(0x10d)]))return;const _0x2022a5=M(_0x1c4b53[_0x2e2d8e(0x119)],_0x4c5e15[_0x2e2d8e(0x151)]),{attributeNewValue:_0x1e3cb7}=_0x1c4b53;null==_0x1e3cb7||0x1===_0x1e3cb7?_0x4c5e15[_0x2e2d8e(0x11d)][_0x2e2d8e(0x147)](_0x2e2d8e(0x13e),_0x2022a5):_0x4c5e15[_0x2e2d8e(0x11d)][_0x2e2d8e(0x10e)](_0x2e2d8e(0x13e),String(_0x1e3cb7),_0x2022a5);}),_0x4a82c2['on'](_0x4671ce(0x10c),(_0x1ab1fa,_0x1e47a2,_0x2fa8c2)=>{const _0x2f82e0=_0x4671ce;if(!_0x2fa8c2[_0x2f82e0(0x114)][_0x2f82e0(0x164)](_0x1e47a2[_0x2f82e0(0x119)],_0x1ab1fa[_0x2f82e0(0x10d)]))return;const _0x13e645=M(_0x1e47a2[_0x2f82e0(0x119)],_0x2fa8c2[_0x2f82e0(0x151)]),{attributeNewValue:_0x291f4d}=_0x1e47a2;_0x291f4d&&_0x2f82e0(0x125)!==_0x291f4d?_0x2fa8c2[_0x2f82e0(0x11d)][_0x2f82e0(0x144)](_0x2f82e0(0x14d),_0x291f4d,_0x13e645):_0x2fa8c2[_0x2f82e0(0x11d)][_0x2f82e0(0x120)](_0x2f82e0(0x14d),_0x13e645);});});}[_0x519626(0x15d)](){const _0x1feb1b=_0x519626,{editor:_0x524969}=this,{model:_0x2b4339}=_0x524969,_0x2a1e60=_0x524969[_0x1feb1b(0x12e)][_0x1feb1b(0x148)](_0x593fc1),_0x284497=this[_0x1feb1b(0x13d)](),_0x50defe=this[_0x1feb1b(0x159)]();_0x2b4339[_0x1feb1b(0x11b)][_0x1feb1b(0x12b)](_0x113336=>{const _0x35efee=_0x1feb1b,_0x53db5a=_0x2b4339[_0x35efee(0x11b)][_0x35efee(0x130)][_0x35efee(0x154)]();let _0x2e3068=!0x1;for(const _0x290294 of _0x53db5a){if(_0x35efee(0x145)!==_0x290294[_0x35efee(0x12d)]||_0x35efee(0x146)===_0x290294[_0x35efee(0x10d)])continue;const _0x4d1532=_0x2b4339[_0x35efee(0x124)](_0x290294[_0x35efee(0x12c)][_0x35efee(0x134)]);for(const _0x124dcc of _0x4d1532[_0x35efee(0x142)]())_0x124dcc['is'](_0x35efee(0x112),_0x35efee(0x139))&&(!_0x124dcc[_0x35efee(0x115)](_0x35efee(0x161))&&_0x2b4339[_0x35efee(0x138)][_0x35efee(0x117)](_0x124dcc,_0x35efee(0x161))&&(_0x113336[_0x35efee(0x10e)](_0x35efee(0x161),_0x50defe,_0x124dcc),_0x2e3068=!0x0),!_0x124dcc[_0x35efee(0x115)](_0x35efee(0x118))&&_0x2b4339[_0x35efee(0x138)][_0x35efee(0x117)](_0x124dcc,_0x35efee(0x118))&&(_0x113336[_0x35efee(0x10e)](_0x35efee(0x118),_0x284497,_0x124dcc),_0x2e3068=!0x0));}return _0x2e3068&&_0x2a1e60[_0x35efee(0x143)](_0x113336),_0x2e3068;});}[_0x519626(0x126)](){const _0x108d04=_0x519626,{editor:_0x28fde1}=this;_0x28fde1[_0x108d04(0x12e)][_0x108d04(0x148)](_0x593fc1)[_0x108d04(0x12a)](_0x4a748a=>this[_0x108d04(0x165)](_0x4a748a));}[_0x519626(0x13d)](){const _0xd4d348=_0x519626;return this[_0xd4d348(0x149)][_0xd4d348(0x15e)][_0xd4d348(0x148)](_0xd4d348(0x133));}[_0x519626(0x159)](){const _0x2474c9=_0x519626;return this[_0x2474c9(0x149)][_0x2474c9(0x15e)][_0x2474c9(0x148)](_0x2474c9(0x157));}[_0x519626(0x165)]({container:_0x167fa5,value:_0x5c7281,digits:_0x8381a1}){const _0x124012=_0x519626,_0x46118a=_0x167fa5[_0x124012(0x140)](_0x124012(0x118)),_0x4adda6=_0x167fa5[_0x124012(0x140)](_0x124012(0x161)),_0x383896=Math[_0x124012(0x152)](_0x5c7281)+(_0x4adda6??0x1)-0x1;switch(_0x46118a){case _0x124012(0x15c):return function(_0x45dba0,_0x369e81){const _0x3dd6dc=_0x124012;return String(_0x45dba0)[_0x3dd6dc(0x11c)](_0x369e81,'0');}(_0x383896,Math[_0x124012(0x13a)](0x2,_0x8381a1));case _0x124012(0x158):case _0x124012(0x123):return N(_0x383896,!0x1);case _0x124012(0x150):case _0x124012(0x156):return N(_0x383896,!0x0);case _0x124012(0x136):return X(_0x383896,!0x1);case _0x124012(0x162):return X(_0x383896,!0x0);default:return String(_0x383896);}}}function M(_0x2c96b6,_0x3c24a9){const _0x293904=_0x519626,_0xd6c3be=_0x3c24a9[_0x293904(0x160)](_0x2c96b6);return Array[_0x293904(0x113)](_0xd6c3be[_0x293904(0x13b)]())[_0x293904(0x14f)](_0x9d4cce=>_0x9d4cce['is'](_0x293904(0x112),'ol')&&_0x9d4cce[_0x293904(0x110)](_0x293904(0x103)));}function N(_0x118400,_0xc5f5f){const _0x15bb92=_0x519626;let _0x29a416='',_0x598eb4=_0x118400;for(;_0x598eb4>0x0;){const _0x24bc0d=(_0x598eb4-0x1)%0x1a;_0x29a416=String[_0x15bb92(0x15b)](0x61+_0x24bc0d)+_0x29a416,_0x598eb4=Math[_0x15bb92(0x152)]((_0x598eb4-0x1)/0x1a);}return _0xc5f5f?_0x29a416[_0x15bb92(0x163)]():_0x29a416;}function _0x11a0(_0x1f4f21,_0xad7d6e){const _0x55f99a=_0x55f9();return _0x11a0=function(_0x11a090,_0x35b98a){_0x11a090=_0x11a090-0x101;let _0x451297=_0x55f99a[_0x11a090];return _0x451297;},_0x11a0(_0x1f4f21,_0xad7d6e);}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(_0x3d09f0,_0x50e988){const _0x1ddccb=_0x519626;let _0x1a54cc='',_0x51292e=_0x3d09f0;for(const {value:_0xd3243d,numeral:_0x3d83d6}of V)for(;_0x51292e>=_0xd3243d;)_0x1a54cc+=_0x3d83d6,_0x51292e-=_0xd3243d;return _0x50e988?_0x1a54cc:_0x1a54cc[_0x1ddccb(0x131)]();}function _0x55f9(){const _0xf1401a=['FootnotesPropertiesEditing','parent','isNaN','90SOYHgW','element:ol','attribute:footnotesListStyle:footnotesDefinitions','name','setAttribute','136iTEsxz','hasClass','_defineConverters','element','from','consumable','hasAttribute','init','checkAttribute','footnotesListStyle','item','7283QFegtJ','document','padStart','writer','getStyle','_defineSchema','removeStyle','for','pluginName','lower-latin','createRangeOn','decimal','_defineFormatter','5fHcnGz','38322OtHpOm','add','setFootnoteFormatter','registerPostFixer','position','type','plugins','attribute:footnotesListStart:footnotesDefinitions','differ','toLowerCase','downcast','footnotes.footnotesProperties.defaultListStyle','nodeAfter','extend','lower-roman','modelCursor','schema','footnotesDefinitions','max','getChildren','requires','_getDefaultListStyle','start','4442781BBYPEQ','getAttribute','parseInt','getItems','_updateFootnotesCounters','setStyle','insert','$text','removeAttribute','get','editor','1640832ATEfnN','model','define','list-style-type','upcast','find','upper-alpha','mapper','floor','isPremiumPlugin','getChanges','710156LWlBZG','upper-latin','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','_getDefaultStartIndex','5805888ACBMGH','fromCharCode','decimal-leading-zero','_definePostfixer','config','2582739KiZJSO','toViewElement','footnotesListStart','upper-roman','toUpperCase','consume','_formatFootnoteListValue','isOfficialPlugin','footnotesStyle','footnotes-list','viewItem','footnotesStart','commands'];_0x55f9=function(){return _0xf1401a;};return _0x55f9();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x176670,ButtonView as _0x21a4e9,ContextualBalloon as _0x5069f,createDropdown as _0x1f88a4}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x354257}from'ckeditor5/src/widget.js';import{Plugin as _0x133983}from'ckeditor5/src/core.js';import{IconFootnote as _0x32a7a2,IconListStyleDecimal as _0x41960,IconListStyleDecimalLeadingZero as _0x3804c,IconListStyleLowerLatin as _0x58f926,IconListStyleLowerRoman as _0x39dd2b,IconListStyleUpperLatin as _0x2ef985,IconListStyleUpperRoman as _0x3b8e7a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x49342e}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x538940}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x133983{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5069f,_0x354257];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x14e191}=this,{componentFactory:_0x4ae1b8}=_0x14e191['ui'];_0x14e191['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4ae1b8['add']('footnotesStyle',function(_0x98b425){return _0x3f4f8e=>{const {t:t}=_0x3f4f8e,_0x50dbe4=_0x98b425['commands']['get']('footnotesStyle'),_0x1e984d=_0x1f88a4(_0x3f4f8e),{buttonView:_0x2d648c}=_0x1e984d;return _0x1e984d['class']='ck-footnotes-styles-dropdown',_0x1e984d['bind']('isEnabled')['to'](_0x50dbe4,'isEnabled'),_0x2d648c['set']({'label':t('Footnotes\x20style'),'icon':_0x32a7a2,'tooltip':!0x0}),_0x1e984d['once']('change:isOpen',()=>{const _0x20d37f=function({editor:_0x200267,dropdownView:_0x343368}){const {t:t}=_0x200267['locale'],_0x4111c0=t('Footnotes\x20definitions\x20styles'),_0x2f3af6=function(_0x43695e){const t=_0x43695e['locale']['t'],_0x7cf036=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x41960},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3804c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x39dd2b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3b8e7a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x58f926},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2ef985}];return _0x7cf036['map'](function(_0x458299){const _0x51286b=_0x458299['locale'];return({label:_0x253f31,icon:_0x2990b8,tooltip:_0x49f4ab,style:_0x2707a0})=>{const _0x493df5=_0x458299['commands']['get']('footnotesStyle'),_0x17c76c=new _0x21a4e9(_0x51286b);return _0x17c76c['set']({'label':_0x253f31,'icon':_0x2990b8,'tooltip':_0x49f4ab}),_0x17c76c['bind']('isOn')['to'](_0x493df5,'value',_0x297a24=>_0x297a24===_0x2707a0),_0x17c76c['bind']('isEnabled')['to'](_0x493df5,'isEnabled'),_0x17c76c['on']('execute',()=>{_0x458299['execute']('footnotesStyle',{'value':_0x2707a0}),_0x458299['editing']['view']['focus']();}),_0x17c76c;};}(_0x43695e));}(_0x200267),_0x507cd2=new _0x49342e(_0x200267['locale'],{'styleGridAriaLabel':_0x4111c0,'styleButtonViews':_0x2f3af6});return _0x507cd2['delegate']('execute')['to'](_0x343368),_0x507cd2['on']('footnotesListStart',(_0x59fa7f,_0x49f9aa)=>{_0x200267['execute']('footnotesStart',{'value':_0x49f9aa['startIndex']});}),_0x507cd2;}({'editor':_0x98b425,'dropdownView':_0x1e984d});_0x1e984d['panelView']['children']['add'](_0x20d37f);}),_0x1e984d;};}(_0x14e191));}['afterInit'](){const {editor:_0x4b1635}=this,{t:t}=_0x4b1635['locale'],_0x34d84b=_0x4b1635['plugins']['get'](_0x354257),{defaultPositions:_0x5b2089}=_0x176670;_0x34d84b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b1635['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x161476=>{let _0x42c955=_0x161476['getFirstPosition']()?.['parent'];return _0x42c955?.['is']('$text')&&(_0x42c955=_0x42c955['parent']),_0x42c955?.['is']('element')?_0x42c955['findAncestor'](_0x538940):null;},'positions':[_0x5b2089['southArrowNorth'],_0x5b2089['southArrowNorthMiddleWest'],_0x5b2089['southArrowNorthMiddleEast'],_0x5b2089['southArrowNorthWest'],_0x5b2089['southArrowNorthEast'],_0x5b2089['northArrowSouth'],_0x5b2089['northArrowSouthMiddleWest'],_0x5b2089['northArrowSouthMiddleEast'],_0x5b2089['northArrowSouthWest'],_0x5b2089['northArrowSouthEast'],_0x5b2089['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x284e40,ButtonView as _0x2cff24,ContextualBalloon as _0x45b7ab,createDropdown as _0x254689}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2ac9a9}from'ckeditor5/src/widget.js';import{Plugin as _0x3b9bee}from'ckeditor5/src/core.js';import{IconFootnote as _0x57f150,IconListStyleDecimal as _0xc17efd,IconListStyleDecimalLeadingZero as _0x2ba969,IconListStyleLowerLatin as _0x27df03,IconListStyleLowerRoman as _0x35c5d3,IconListStyleUpperLatin as _0x4231c1,IconListStyleUpperRoman as _0x259e72}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x408c8d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2c5a77}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3b9bee{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x45b7ab,_0x2ac9a9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e6cca}=this,{componentFactory:_0x26a1a7}=_0x2e6cca['ui'];_0x2e6cca['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26a1a7['add']('footnotesStyle',function(_0x10955d){return _0x229026=>{const {t:t}=_0x229026,_0x371918=_0x10955d['commands']['get']('footnotesStyle'),_0x52947e=_0x254689(_0x229026),{buttonView:_0x1b51df}=_0x52947e;return _0x52947e['class']='ck-footnotes-styles-dropdown',_0x52947e['bind']('isEnabled')['to'](_0x371918,'isEnabled'),_0x1b51df['set']({'label':t('Footnotes\x20style'),'icon':_0x57f150,'tooltip':!0x0}),_0x52947e['once']('change:isOpen',()=>{const _0x2ce5bf=function({editor:_0x5d2d71,dropdownView:_0x210222}){const {t:t}=_0x5d2d71['locale'],_0xd7c1=t('Footnotes\x20definitions\x20styles'),_0xe4715e=function(_0x7ee9c9){const t=_0x7ee9c9['locale']['t'],_0x24bd2d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xc17efd},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ba969},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x35c5d3},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x259e72},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x27df03},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4231c1}];return _0x24bd2d['map'](function(_0x375764){const _0x534ea8=_0x375764['locale'];return({label:_0x827c74,icon:_0x12f0b0,tooltip:_0x59b14f,style:_0x545de5})=>{const _0x3a939e=_0x375764['commands']['get']('footnotesStyle'),_0x225f1d=new _0x2cff24(_0x534ea8);return _0x225f1d['set']({'label':_0x827c74,'icon':_0x12f0b0,'tooltip':_0x59b14f}),_0x225f1d['bind']('isOn')['to'](_0x3a939e,'value',_0x5eb069=>_0x5eb069===_0x545de5),_0x225f1d['bind']('isEnabled')['to'](_0x3a939e,'isEnabled'),_0x225f1d['on']('execute',()=>{_0x375764['execute']('footnotesStyle',{'value':_0x545de5}),_0x375764['editing']['view']['focus']();}),_0x225f1d;};}(_0x7ee9c9));}(_0x5d2d71),_0x458328=new _0x408c8d(_0x5d2d71['locale'],{'styleGridAriaLabel':_0xd7c1,'styleButtonViews':_0xe4715e});return _0x458328['delegate']('execute')['to'](_0x210222),_0x458328['on']('footnotesListStart',(_0xdcccfd,_0x441236)=>{_0x5d2d71['execute']('footnotesStart',{'value':_0x441236['startIndex']});}),_0x458328;}({'editor':_0x10955d,'dropdownView':_0x52947e});_0x52947e['panelView']['children']['add'](_0x2ce5bf);}),_0x52947e;};}(_0x2e6cca));}['afterInit'](){const {editor:_0x341ffc}=this,{t:t}=_0x341ffc['locale'],_0xe8ccd6=_0x341ffc['plugins']['get'](_0x2ac9a9),{defaultPositions:_0x4be627}=_0x284e40;_0xe8ccd6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x341ffc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x468d18=>{let _0x566a1d=_0x468d18['getFirstPosition']()?.['parent'];return _0x566a1d?.['is']('$text')&&(_0x566a1d=_0x566a1d['parent']),_0x566a1d?.['is']('element')?_0x566a1d['findAncestor'](_0x2c5a77):null;},'positions':[_0x4be627['southArrowNorth'],_0x4be627['southArrowNorthMiddleWest'],_0x4be627['southArrowNorthMiddleEast'],_0x4be627['southArrowNorthWest'],_0x4be627['southArrowNorthEast'],_0x4be627['northArrowSouth'],_0x4be627['northArrowSouthMiddleWest'],_0x4be627['northArrowSouthMiddleEast'],_0x4be627['northArrowSouthWest'],_0x4be627['northArrowSouthEast'],_0x4be627['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x327771,View as _0x42bd43,ViewCollection as _0x558f06,FocusCycler as _0x31aa4d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x42bd43{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x558f06();['focusCycler'];constructor(_0x54278a,{styleButtonViews:_0x4bd034,styleGridAriaLabel:_0x471b32}){super(_0x54278a),(this['focusCycler']=new _0x31aa4d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4bd034,_0x471b32),[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 _0x51eb07 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x51eb07['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1cc572=_0x145ac6=>_0x145ac6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1cc572),this['keystrokes']['set']('arrowleft',_0x1cc572),this['keystrokes']['set']('arrowup',_0x1cc572),this['keystrokes']['set']('arrowdown',_0x1cc572);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xc6ffa7,_0x4eee33){const _0x4f7fb4=new _0x42bd43(this['locale']);return _0x4f7fb4['children']=_0x4f7fb4['createCollection'](),_0x4f7fb4['children']['addMany'](_0xc6ffa7),_0x4f7fb4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4eee33,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4f7fb4['children']}),_0x4f7fb4['children']['delegate']('execute')['to'](this),_0x4f7fb4['focus']=function(){for(const _0x3e450d of this['children'])if(_0x3e450d instanceof _0x327771&&_0x3e450d['isOn'])return void _0x3e450d['focus']();this['children']['first']['focus']();},_0x4f7fb4['focusTracker']=new ot(),_0x4f7fb4['keystrokes']=new rt(),_0x4f7fb4['render'](),_0x4f7fb4['keystrokes']['listenTo'](_0x4f7fb4['element']),this['children']['add'](_0x4f7fb4),_0x4f7fb4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4e5375=this['_createStartIndexPropertyView'](),_0x3c4b33=[_0x4e5375],_0x534b48=new st(this['locale'],_0x3c4b33);return _0x534b48['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x534b48['buttonView']['bind']('isEnabled')['toMany'](_0x3c4b33,'isEnabled',(..._0x578379)=>_0x578379['some'](_0x4c8c3d=>_0x4c8c3d)),_0x534b48['buttonView']['on']('change:isEnabled',(_0x2f6d25,_0x495431,_0x216f50)=>{_0x216f50||(_0x534b48['isCollapsed']=!0x0);}),this['children']['add'](_0x534b48),[_0x4e5375,_0x534b48];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3aa81c=new it(this['locale'],et);return _0x3aa81c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3aa81c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3aa81c['fieldView']['on']('input',()=>{const _0x75a370=_0x3aa81c['fieldView']['element'],_0x1064f2=_0x75a370['valueAsNumber'];Number['isNaN'](_0x1064f2)?_0x3aa81c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x75a370['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1064f2}):_0x3aa81c['errorText']=t(_0x1064f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3aa81c;}}
23
+ import{ButtonView as _0x456e15,View as _0x5de6a0,ViewCollection as _0x13ad4f,FocusCycler as _0x33687e,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x5de6a0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x13ad4f();['focusCycler'];constructor(_0x17ac0d,{styleButtonViews:_0x2acd07,styleGridAriaLabel:_0x5dfbd7}){super(_0x17ac0d),(this['focusCycler']=new _0x33687e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2acd07,_0x5dfbd7),[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 _0x545e14 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x545e14['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3a4352=_0x4a8e6a=>_0x4a8e6a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3a4352),this['keystrokes']['set']('arrowleft',_0x3a4352),this['keystrokes']['set']('arrowup',_0x3a4352),this['keystrokes']['set']('arrowdown',_0x3a4352);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3be165,_0x422811){const _0x5ceb10=new _0x5de6a0(this['locale']);return _0x5ceb10['children']=_0x5ceb10['createCollection'](),_0x5ceb10['children']['addMany'](_0x3be165),_0x5ceb10['setTemplate']({'tag':'div','attributes':{'aria-label':_0x422811,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5ceb10['children']}),_0x5ceb10['children']['delegate']('execute')['to'](this),_0x5ceb10['focus']=function(){for(const _0x188ecf of this['children'])if(_0x188ecf instanceof _0x456e15&&_0x188ecf['isOn'])return void _0x188ecf['focus']();this['children']['first']['focus']();},_0x5ceb10['focusTracker']=new ot(),_0x5ceb10['keystrokes']=new rt(),_0x5ceb10['render'](),_0x5ceb10['keystrokes']['listenTo'](_0x5ceb10['element']),this['children']['add'](_0x5ceb10),_0x5ceb10;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x22dae9=this['_createStartIndexPropertyView'](),_0x1498d7=[_0x22dae9],_0x523f66=new st(this['locale'],_0x1498d7);return _0x523f66['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x523f66['buttonView']['bind']('isEnabled')['toMany'](_0x1498d7,'isEnabled',(..._0x102942)=>_0x102942['some'](_0x65bed4=>_0x65bed4)),_0x523f66['buttonView']['on']('change:isEnabled',(_0x31fc7f,_0x6c65c2,_0x4b8c5a)=>{_0x4b8c5a||(_0x523f66['isCollapsed']=!0x0);}),this['children']['add'](_0x523f66),[_0x22dae9,_0x523f66];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x490f5f=new it(this['locale'],et);return _0x490f5f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x490f5f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x490f5f['fieldView']['on']('input',()=>{const _0x58fbce=_0x490f5f['fieldView']['element'],_0x26f4ab=_0x58fbce['valueAsNumber'];Number['isNaN'](_0x26f4ab)?_0x490f5f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x58fbce['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26f4ab}):_0x490f5f['errorText']=t(_0x26f4ab<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x490f5f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3aeb95=_0x4e58;(function(_0x26f5f7,_0x1cd333){var _0x591bdc=_0x4e58,_0x171fa5=_0x26f5f7();while(!![]){try{var _0x4f3560=parseInt(_0x591bdc(0x1f4))/0x1+parseInt(_0x591bdc(0x1f6))/0x2+parseInt(_0x591bdc(0x1f3))/0x3+parseInt(_0x591bdc(0x1ef))/0x4+-parseInt(_0x591bdc(0x1f7))/0x5*(parseInt(_0x591bdc(0x1f0))/0x6)+-parseInt(_0x591bdc(0x1f9))/0x7*(parseInt(_0x591bdc(0x1f1))/0x8)+-parseInt(_0x591bdc(0x1f5))/0x9;if(_0x4f3560===_0x1cd333)break;else _0x171fa5['push'](_0x171fa5['shift']());}catch(_0x408dbe){_0x171fa5['push'](_0x171fa5['shift']());}}}(_0x5520,0x5fe05));import{Plugin as _0x2322fc}from'ckeditor5/src/core.js';function _0x5520(){var _0x5e16a4=['requires','771078rwiwWO','477937mEIlzv','2711088WFptLa','539306qjaLMA','165yaAvMU','isOfficialPlugin','14XFYPLn','isPremiumPlugin','FootnotesProperties','pluginName','1857852japboI','5352uvzNxy','2982808Mwgbxz'];_0x5520=function(){return _0x5e16a4;};return _0x5520();}import{FootnotesPropertiesEditing as _0x86c2c0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4e9fa3}from'./footnotesproperties/footnotespropertiesui.js';function _0x4e58(_0x45fb53,_0x1d4e30){var _0x5520ac=_0x5520();return _0x4e58=function(_0x4e5860,_0xcb5877){_0x4e5860=_0x4e5860-0x1ec;var _0x138dc3=_0x5520ac[_0x4e5860];return _0x138dc3;},_0x4e58(_0x45fb53,_0x1d4e30);}export class FootnotesProperties extends _0x2322fc{static get[_0x3aeb95(0x1ee)](){var _0x2142f6=_0x3aeb95;return _0x2142f6(0x1ed);}static get[_0x3aeb95(0x1f2)](){return[_0x86c2c0,_0x4e9fa3];}static get[_0x3aeb95(0x1f8)](){return!0x0;}static get[_0x3aeb95(0x1ec)](){return!0x0;}}
23
+ var _0x13fdf4=_0x5b89;(function(_0x2e7fd3,_0x1129f5){var _0x118e53=_0x5b89,_0x3069d9=_0x2e7fd3();while(!![]){try{var _0x4c5b83=-parseInt(_0x118e53(0xfc))/0x1+parseInt(_0x118e53(0x106))/0x2*(parseInt(_0x118e53(0xfd))/0x3)+parseInt(_0x118e53(0x104))/0x4*(-parseInt(_0x118e53(0x101))/0x5)+-parseInt(_0x118e53(0xf8))/0x6*(-parseInt(_0x118e53(0xfa))/0x7)+parseInt(_0x118e53(0xff))/0x8+parseInt(_0x118e53(0xf7))/0x9*(parseInt(_0x118e53(0xfe))/0xa)+-parseInt(_0x118e53(0x103))/0xb*(-parseInt(_0x118e53(0x100))/0xc);if(_0x4c5b83===_0x1129f5)break;else _0x3069d9['push'](_0x3069d9['shift']());}catch(_0x4dd5b1){_0x3069d9['push'](_0x3069d9['shift']());}}}(_0x3e62,0x3844c));import{Plugin as _0x1553f8}from'ckeditor5/src/core.js';function _0x3e62(){var _0x19daa8=['28TJjeoT','isPremiumPlugin','293296eOZktr','810357TANwKS','8270vvwWaV','130848tQenzp','5380596oIlrDx','15FtdNPG','isOfficialPlugin','11hrnhOW','585236zzaXsd','pluginName','2OpTCZr','requires','1791pidsHw','94902zrCyVh','FootnotesProperties'];_0x3e62=function(){return _0x19daa8;};return _0x3e62();}import{FootnotesPropertiesEditing as _0x13515b}from'./footnotesproperties/footnotespropertiesediting.js';function _0x5b89(_0x797d0c,_0x3e90ec){var _0x3e62a5=_0x3e62();return _0x5b89=function(_0x5b89cc,_0x4eec09){_0x5b89cc=_0x5b89cc-0xf6;var _0x5e13ab=_0x3e62a5[_0x5b89cc];return _0x5e13ab;},_0x5b89(_0x797d0c,_0x3e90ec);}import{FootnotesPropertiesUI as _0x1bbe9d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1553f8{static get[_0x13fdf4(0x105)](){var _0x4d3ae7=_0x13fdf4;return _0x4d3ae7(0xf9);}static get[_0x13fdf4(0xf6)](){return[_0x13515b,_0x1bbe9d];}static get[_0x13fdf4(0x102)](){return!0x0;}static get[_0x13fdf4(0xfb)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xe89ac7=_0x2fd5;(function(_0x109dda,_0x975ad1){const _0x1951ab=_0x2fd5,_0x22b865=_0x109dda();while(!![]){try{const _0x14e824=parseInt(_0x1951ab(0xe4))/0x1*(-parseInt(_0x1951ab(0xcd))/0x2)+parseInt(_0x1951ab(0xed))/0x3*(parseInt(_0x1951ab(0xb5))/0x4)+parseInt(_0x1951ab(0xe9))/0x5*(-parseInt(_0x1951ab(0xc9))/0x6)+-parseInt(_0x1951ab(0xc5))/0x7+parseInt(_0x1951ab(0x95))/0x8*(parseInt(_0x1951ab(0xa0))/0x9)+-parseInt(_0x1951ab(0xbf))/0xa+parseInt(_0x1951ab(0x94))/0xb;if(_0x14e824===_0x975ad1)break;else _0x22b865['push'](_0x22b865['shift']());}catch(_0x3eb716){_0x22b865['push'](_0x22b865['shift']());}}}(_0x59aa,0x974a7));import{Plugin as _0x79ed40}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xdfc464}from'./modelelementtracker.js';function _0x2fd5(_0x4f8a14,_0x5699ed){const _0x59aa55=_0x59aa();return _0x2fd5=function(_0x2fd525,_0x395f61){_0x2fd525=_0x2fd525-0x8d;let _0x4e3fd2=_0x59aa55[_0x2fd525];return _0x4e3fd2;},_0x2fd5(_0x4f8a14,_0x5699ed);}export class FootnotesTracker extends _0x79ed40{[_0xe89ac7(0x99)]=[];[_0xe89ac7(0xac)]=null;[_0xe89ac7(0xeb)]=null;[_0xe89ac7(0x9b)];[_0xe89ac7(0xb7)];[_0xe89ac7(0x9f)];static get[_0xe89ac7(0xee)](){const _0x43d0dc=_0xe89ac7;return _0x43d0dc(0xa6);}static get[_0xe89ac7(0xd6)](){return!0x0;}static get[_0xe89ac7(0xa9)](){return!0x0;}constructor(_0x588a01){const _0xa76dc2=_0xe89ac7;super(_0x588a01),this[_0xa76dc2(0x9b)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xdf),'getElementKey':()=>_0xa76dc2(0x9a)}),this[_0xa76dc2(0xb7)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xa7),'getElementKey':_0x36ba41=>_0x36ba41[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))}),this[_0xa76dc2(0x9f)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xd0),'getElementKey':_0x226623=>_0x226623[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))});}[_0xe89ac7(0xc1)](){const _0x86d72c=_0xe89ac7,{editor:_0x57b730}=this,{model:_0x1622d9,data:_0x3fa9e6}=_0x57b730;_0x1622d9[_0x86d72c(0xc3)][_0x86d72c(0xc0)](_0x2ab3c4=>{const _0xf5e1b=_0x86d72c,_0x5a1dce=_0x1622d9[_0xf5e1b(0xc3)][_0xf5e1b(0xcc)][_0xf5e1b(0xa4)]();let _0x58b628=!0x1;return this[_0xf5e1b(0x96)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xa8)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0x92)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xf2)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xdc)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xb6)](_0x2ab3c4)&&(_0x58b628=!0x0),_0x58b628;}),this[_0x86d72c(0xba)](_0x1622d9[_0x86d72c(0xc3)],_0x86d72c(0xa3),()=>{const _0x1c3261=_0x86d72c;_0x1622d9[_0x1c3261(0x9d)]({'isUndoable':!0x1},_0x2f09e7=>{const _0x43e128=_0x1c3261;this[_0x43e128(0x9e)](_0x2f09e7);});},{'priority':_0x86d72c(0xcf)}),this[_0x86d72c(0xba)](_0x3fa9e6,_0x86d72c(0xd3),()=>{const _0xdd398=_0x86d72c;this[_0xdd398(0x99)]=[],this[_0xdd398(0x9b)][_0xdd398(0xa1)](),this[_0xdd398(0xb7)][_0xdd398(0xa1)](),this[_0xdd398(0x9f)][_0xdd398(0xa1)]();},{'priority':_0x86d72c(0x90)});}[_0xe89ac7(0xca)](){const _0x11cd3d=_0xe89ac7;return this[_0x11cd3d(0xac)];}[_0xe89ac7(0xc4)](_0x19bb19){const _0x451b1a=_0xe89ac7;return this[_0x451b1a(0x99)][_0x451b1a(0x98)](_0x1caa00=>_0x1caa00['id']===_0x19bb19)||null;}[_0xe89ac7(0xf0)](){const _0x17f2d7=_0xe89ac7;return Array[_0x17f2d7(0xef)](this[_0x17f2d7(0x99)]);}[_0xe89ac7(0xf1)](){const _0x36633a=_0xe89ac7;return this[_0x36633a(0xeb)];}[_0xe89ac7(0xab)](_0x42cfdf){const _0x6f2a0f=_0xe89ac7;this[_0x6f2a0f(0xeb)]=_0x42cfdf;}[_0xe89ac7(0xe7)](_0x272c2b,_0x1a295a=0x0){const _0x12199e=_0xe89ac7;let _0x548627=!0x1;for(let _0x2a1e79=_0x1a295a;_0x2a1e79<this[_0x12199e(0x99)][_0x12199e(0xc6)];_0x2a1e79++)this[_0x12199e(0xc7)](_0x272c2b,_0x2a1e79)&&(_0x548627=!0x0);return _0x548627;}[_0xe89ac7(0xdd)](_0x4ff2e0,_0x2e2377){const _0x2ba92a=_0xe89ac7,_0x3b5a1c=_0x4ff2e0[_0x2ba92a(0xc8)](_0x2ba92a(0xdf),{});return _0x4ff2e0[_0x2ba92a(0x93)](_0x3b5a1c,_0x2e2377),this[_0x2ba92a(0xac)]=_0x3b5a1c,_0x3b5a1c;}[_0xe89ac7(0x9e)](_0xe2cf81){const _0x20ca3d=_0xe89ac7;if(!this[_0x20ca3d(0x99)][_0x20ca3d(0xc6)]||this[_0x20ca3d(0xac)])return;const _0x39b32a=this[_0x20ca3d(0x99)][0x0][_0x20ca3d(0x91)][_0x20ca3d(0xb0)],_0x1a68da=this[_0x20ca3d(0xdd)](_0xe2cf81,_0x39b32a);for(const _0x512cb6 of this[_0x20ca3d(0x99)])_0x512cb6[_0x20ca3d(0xea)][_0x20ca3d(0xe5)]||_0xe2cf81[_0x20ca3d(0xaa)](_0x512cb6[_0x20ca3d(0xea)],_0x1a68da,_0x20ca3d(0x8f));this[_0x20ca3d(0xe7)](_0xe2cf81);}[_0xe89ac7(0x96)](_0x24aa44,_0x1ac287){const _0x666221=_0xe89ac7;let _0x3687db=!0x1;const {inserted:_0x1269ac,removed:_0x4ae5de,moved:_0x2dd962}=this[_0x666221(0x9b)][_0x666221(0xa4)](_0x1ac287);if(_0x2dd962[_0x666221(0xc6)]&&(this[_0x666221(0xac)]=_0x2dd962[0x0]),_0x1269ac[_0x666221(0xc6)]){if(_0x1269ac[_0x666221(0xc6)]>0x1||this[_0x666221(0xac)]&&_0x1269ac[_0x666221(0xe3)](_0x11115e=>_0x11115e!==this[_0x666221(0xac)])){const _0x4a580b=_0x24aa44[_0x666221(0xc8)](_0x666221(0xdf),{}),_0x22d3aa=[];this[_0x666221(0xac)]&&_0x22d3aa[_0x666221(0xbd)](this[_0x666221(0xac)]),_0x22d3aa[_0x666221(0xbd)](..._0x1269ac),_0x24aa44[_0x666221(0xaa)](_0x4a580b,_0x22d3aa[0x0],_0x666221(0xb3));for(const _0x37acb3 of _0x22d3aa)_0x24aa44[_0x666221(0xb4)](_0x24aa44[_0x666221(0xe6)](_0x37acb3),_0x24aa44[_0x666221(0xae)](_0x4a580b,_0x666221(0x8f))),_0x24aa44[_0x666221(0x8d)](_0x37acb3);this[_0x666221(0xac)]=_0x4a580b,this[_0x666221(0xe7)](_0x24aa44),_0x3687db=!0x0;}else this[_0x666221(0xac)]=_0x1269ac[0x0];}if(_0x4ae5de[_0x666221(0xc6)]&&_0x666221(0xe8)===this[_0x666221(0xac)]?.[_0x666221(0xb0)][_0x666221(0xad)]){for(const _0x466768 of this[_0x666221(0x99)])_0x24aa44[_0x666221(0x8d)](_0x466768[_0x666221(0x91)]),_0x3687db=!0x0;this[_0x666221(0x99)]=[],this[_0x666221(0xac)]=null;}return _0x3687db;}[_0xe89ac7(0xa8)](_0x3a5cc9,_0x400df7){const _0x1943a2=_0xe89ac7;let _0x180e09=!0x1;const _0xc3ca64=this[_0x1943a2(0x8e)][_0x1943a2(0xc2)][_0x1943a2(0xa5)](_0x1943a2(0xce)),{inserted:_0x1f7823,moved:_0x168889}=this[_0x1943a2(0x9f)][_0x1943a2(0xa4)](_0x400df7);for(const _0x17e6fb of[..._0x168889,..._0x1f7823]){const _0x204f7d=_0x17e6fb[_0x1943a2(0x9c)](_0x1943a2(0xbc)),_0x216e13=this[_0x1943a2(0xc4)](_0x204f7d);_0x216e13&&(_0x216e13[_0x1943a2(0xea)]=_0x17e6fb),_(_0x3a5cc9,_0xc3ca64,_0x17e6fb)&&(_0x180e09=!0x0);}return _0x180e09;}[_0xe89ac7(0x92)](_0x4793bc,_0x1096d0){const _0x5ac9a1=_0xe89ac7;let _0x1bde14=!0x1;const {removed:_0x378114,inserted:_0x4d0c25,moved:_0x52ce49}=this[_0x5ac9a1(0xb7)][_0x5ac9a1(0xa4)](_0x1096d0);for(const _0x4be6e8 of _0x378114)this[_0x5ac9a1(0xb8)](_0x4793bc,_0x4be6e8)&&(_0x1bde14=!0x0);for(const _0x557fee of _0x4d0c25)this[_0x5ac9a1(0xd7)](_0x4793bc,_0x557fee)&&(_0x1bde14=!0x0);for(const _0x3a85c9 of _0x52ce49)this[_0x5ac9a1(0xb9)](_0x4793bc,_0x3a85c9)&&(_0x1bde14=!0x0);return _0x1bde14;}[_0xe89ac7(0xdc)](_0x10b153){const _0x41b0b0=_0xe89ac7;if(!this[_0x41b0b0(0xac)])return!0x1;let _0x17864c=!0x1;if(this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]!==this[_0x41b0b0(0x99)][_0x41b0b0(0xc6)]){const _0x356c39=[];for(const _0x56cc56 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x518336=_0x56cc56[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));this[_0x41b0b0(0xc4)](_0x518336)||(_0x356c39[_0x41b0b0(0xd9)](_0x56cc56),_0x17864c=!0x0);}for(const _0x2b3ec6 of _0x356c39)_0x10b153[_0x41b0b0(0x8d)](_0x2b3ec6);}const _0x25460f=new Set(),_0x440e1f=[];for(const _0x501eb2 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x32f2c1=_0x501eb2[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));_0x25460f[_0x41b0b0(0xd8)](_0x32f2c1)?(_0x440e1f[_0x41b0b0(0xd9)](_0x501eb2),_0x17864c=!0x0):_0x25460f[_0x41b0b0(0xb2)](_0x32f2c1);}for(const _0x27a187 of _0x440e1f)_0x10b153[_0x41b0b0(0x8d)](_0x27a187);return this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]||(_0x10b153[_0x41b0b0(0x8d)](this[_0x41b0b0(0xac)]),this[_0x41b0b0(0xac)]=null,_0x17864c=!0x0),_0x17864c;}[_0xe89ac7(0xd7)](_0x33dbdb,_0x4d7b07){const _0x28f040=_0xe89ac7;if(this[_0x28f040(0x99)][_0x28f040(0x98)](_0x11961a=>_0x11961a[_0x28f040(0x91)]===_0x4d7b07))return!0x1;let _0x14850f=!0x1;const _0x3a3a5c=_0x4d7b07[_0x28f040(0x9c)](_0x28f040(0xbc)),_0x4c31c0=this[_0x28f040(0x99)][_0x28f040(0xb1)](_0x492d89=>_0x492d89['id']===_0x3a3a5c);-0x1!==_0x4c31c0&&(_0x33dbdb[_0x28f040(0x8d)](this[_0x28f040(0x99)][_0x4c31c0][_0x28f040(0x91)]),this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x4c31c0,0x1),_0x14850f=!0x0);let _0x1dc4eb=this[_0x28f040(0xac)]?function(_0x35bbed,_0x128a78){const _0xc0ce1d=_0x28f040;for(const _0x255d0b of _0x35bbed[_0xc0ce1d(0xd5)]())if(_0x255d0b[_0xc0ce1d(0x9c)](_0xc0ce1d(0xbc))===_0x128a78)return _0x255d0b;return null;}(this[_0x28f040(0xac)],_0x3a3a5c):null;_0x1dc4eb||(_0x1dc4eb=_0x33dbdb[_0x28f040(0xc8)](_0x28f040(0xd0),{'footnoteId':_0x3a3a5c}),this[_0x28f040(0xac)]&&(_0x33dbdb[_0x28f040(0xaa)](_0x1dc4eb,this[_0x28f040(0xac)],_0x28f040(0x8f)),_0x14850f=!0x0));const _0x3cfe2b={'id':_0x3a3a5c,'reference':_0x4d7b07,'definition':_0x1dc4eb},_0x218e99=I(this[_0x28f040(0x8e)][_0x28f040(0xd2)],this[_0x28f040(0x99)],_0x4d7b07);this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x218e99,0x0,_0x3cfe2b);let _0x3b1e1f=_0x218e99;return-0x1!==_0x4c31c0&&(_0x3b1e1f=Math[_0x28f040(0xaf)](_0x218e99,_0x4c31c0)),this[_0x28f040(0xe7)](_0x33dbdb,_0x3b1e1f)&&(_0x14850f=!0x0),_0x14850f;}[_0xe89ac7(0xb8)](_0x37986e,_0x528cce){const _0x345845=_0xe89ac7,_0x2c1ff4=this[_0x345845(0x99)][_0x345845(0xb1)](_0x372f79=>_0x372f79['id']===_0x528cce);if(-0x1===_0x2c1ff4)return!0x1;let _0xc4a091=!0x1;const _0x381e86=this[_0x345845(0x99)][_0x2c1ff4];return _0x345845(0xe8)!==_0x381e86[_0x345845(0xea)][_0x345845(0xb0)][_0x345845(0xad)]&&(_0x37986e[_0x345845(0x8d)](_0x381e86[_0x345845(0xea)]),_0xc4a091=!0x0),this[_0x345845(0x99)][_0x345845(0xbb)](_0x2c1ff4,0x1),this[_0x345845(0xe7)](_0x37986e,_0x2c1ff4)&&(_0xc4a091=!0x0),_0xc4a091;}[_0xe89ac7(0xb9)](_0x39b52a,_0x374878){const _0x134131=_0xe89ac7,_0xdf20b2=_0x374878[_0x134131(0x9c)](_0x134131(0xbc)),_0x47220e=this[_0x134131(0x99)][_0x134131(0xb1)](_0x382087=>_0x382087['id']===_0xdf20b2),_0x3a9360=this[_0x134131(0x99)][_0x47220e];let _0x205883=!0x1;_0x3a9360[_0x134131(0x91)]=_0x374878,this[_0x134131(0x99)][_0x134131(0xbb)](_0x47220e,0x1);const _0x3a33ea=I(this[_0x134131(0x8e)][_0x134131(0xd2)],this[_0x134131(0x99)],_0x374878);return this[_0x134131(0x99)][_0x134131(0xbb)](_0x3a33ea,0x0,_0x3a9360),this[_0x134131(0xe7)](_0x39b52a,Math[_0x134131(0xaf)](_0x47220e,_0x3a33ea))&&(_0x205883=!0x0),_0x205883;}[_0xe89ac7(0xc7)](_0x61679f,_0x3cd80c){const _0x26c502=_0xe89ac7;if(!this[_0x26c502(0xac)])return!0x1;const _0x5f55db=this[_0x26c502(0x99)][_0x3cd80c];let _0x47ddcb;return _0x47ddcb=this[_0x26c502(0xeb)]?this[_0x26c502(0xeb)]({'footnote':_0x5f55db,'container':this[_0x26c502(0xac)],'digits':String(this[_0x26c502(0x99)][_0x26c502(0xc6)])[_0x26c502(0xc6)],'value':_0x3cd80c+0x1}):String(_0x3cd80c+0x1),_0x5f55db[_0x26c502(0x91)][_0x26c502(0x9c)](_0x26c502(0xbe))!=_0x47ddcb&&(_0x61679f[_0x26c502(0xd1)](_0x26c502(0xbe),_0x47ddcb,_0x5f55db[_0x26c502(0x91)]),!0x0);}[_0xe89ac7(0xb6)](_0x736a08){const _0x51c4f7=_0xe89ac7;if(!this[_0x51c4f7(0xac)]||this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)]<0x2)return!0x1;if(function(_0x312950,_0x11fc85){const _0x8878b8=_0x51c4f7;if(_0x312950[_0x8878b8(0xc6)]!==_0x11fc85[_0x8878b8(0xc6)])return!0x1;for(let _0x149a79=0x0;_0x149a79<_0x312950[_0x8878b8(0xc6)];_0x149a79++)if(_0x312950[_0x149a79]!==_0x11fc85[_0x149a79])return!0x1;return!0x0;}(this[_0x51c4f7(0x99)][_0x51c4f7(0xe0)](_0x2fde7b=>_0x2fde7b['id']),Array[_0x51c4f7(0xef)](this[_0x51c4f7(0xac)][_0x51c4f7(0xd5)]())[_0x51c4f7(0xe0)](_0x3d5688=>_0x3d5688[_0x51c4f7(0x9c)](_0x51c4f7(0xbc)))))return!0x1;let _0x5762e0=!0x1;for(let _0x2109e0=0x0;_0x2109e0<this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)];_0x2109e0++){const _0x129b94=this[_0x51c4f7(0x99)][_0x2109e0],_0x49ce32=_0x736a08[_0x51c4f7(0xe1)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e=_0x736a08[_0x51c4f7(0xae)](this[_0x51c4f7(0xac)],_0x2109e0);_0x49ce32[_0x51c4f7(0x97)](_0x7c113e)||(_0x736a08[_0x51c4f7(0xb4)](_0x736a08[_0x51c4f7(0xda)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e),_0x5762e0=!0x0);}return _0x5762e0;}[_0xe89ac7(0xf2)](_0x373e79){const _0x2d560c=_0xe89ac7;if(!this[_0x2d560c(0x99)][_0x2d560c(0xc6)])return!0x1;const {model:_0x8a123a}=this[_0x2d560c(0x8e)];let _0x5cc973=!0x1;for(let _0x32daa9=0x0;_0x32daa9<this[_0x2d560c(0x99)][_0x2d560c(0xc6)]-0x1;_0x32daa9++){const _0x38a447=this[_0x2d560c(0x99)][_0x32daa9],_0xf356f7=this[_0x2d560c(0x99)][_0x32daa9+0x1],_0x264832=_0x8a123a[_0x2d560c(0xe1)](_0x38a447[_0x2d560c(0x91)]),_0x1965c3=_0x8a123a[_0x2d560c(0xe1)](_0xf356f7[_0x2d560c(0x91)]);_0x2d560c(0xa2)===_0x264832[_0x2d560c(0xdb)](_0x1965c3)&&(this[_0x2d560c(0xb9)](_0x373e79,_0x38a447[_0x2d560c(0x91)]),_0x32daa9=-0x1,_0x5cc973=!0x0);}return _0x5cc973;}}function _(_0x512669,_0x2e37f6,_0x40750f){const _0x11ec98=_0xe89ac7;if(_0x40750f[_0x11ec98(0xcb)])return!0x1;const _0x19c9a6=_0x2e37f6?_0x11ec98(0xe2):_0x11ec98(0xde);return _0x512669[_0x11ec98(0xaa)](_0x512669[_0x11ec98(0xc8)](_0x19c9a6),_0x40750f),!0x0;}function _0x59aa(){const _0x463395=['move','72YjJxGl','_sortFootnoteDefinitions','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','listenTo','splice','footnoteId','push','footnoteCounter','6315090HXvLdV','registerPostFixer','init','config','document','getFootnote','5885173BdyEVw','length','_updateFootnoteRefCounter','createElement','109506Bcldua','getFootnotesDefinitionsObjectElement','childCount','differ','403174lLGEPw','footnotes.multiBlock','low','footnoteDefinition','setAttribute','model','set','getRootNames','getChildren','isOfficialPlugin','_handleInsertedFootnoteReference','has','unshift','createRangeOn','compareWith','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','footnotesDefinitions','map','createPositionBefore','paragraph','some','4xokIfa','parent','createRangeIn','_updateFootnotesCounters','$graveyard','310jrnQXM','definition','_footnoteFormatter','indexOf','101016AqmvCx','pluginName','from','getFootnotes','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','remove','editor','end','high','reference','_handleFootnoteReferencesChanges','append','27860965XbchWq','3563736HWuaZJ','_handleFootnotesDefinitionsObjectChanges','isEqual','find','_footnotes','singleton','_footnoteDefsContainerTracker','getAttribute','enqueueChange','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsTracker','18pmIEIh','reset','after','change:data','getChanges','get','FootnotesTracker','footnoteRef','_handleFootnoteDefinitionsChanges','isPremiumPlugin','insert','setFootnoteFormatter','_footnotesDefinitions','rootName','createPositionAt','min','root','findIndex','add','before'];_0x59aa=function(){return _0x463395;};return _0x59aa();}function I(_0x82b478,_0x541825,_0x5d63da){const _0x428ab7=_0xe89ac7;if(0x0===_0x541825[_0x428ab7(0xc6)])return 0x0;const _0x4010f9=_0x82b478[_0x428ab7(0xe1)](_0x5d63da);for(let _0x45333e=0x0;_0x45333e<_0x541825[_0x428ab7(0xc6)];_0x45333e++){const _0x4d3abe=_0x541825[_0x45333e],_0x4c3785=_0x82b478[_0x428ab7(0xe1)](_0x4d3abe[_0x428ab7(0x91)]);if(_0x428ab7(0xb3)===_0x4010f9[_0x428ab7(0xdb)](_0x4c3785))return _0x45333e;}const _0x5bb2e6=_0x5d63da[_0x428ab7(0xb0)];let _0x2bc23f=-0x1;for(let _0x9faa4f=_0x541825[_0x428ab7(0xc6)]-0x1;_0x9faa4f>=0x0;_0x9faa4f--)if(_0x541825[_0x9faa4f][_0x428ab7(0x91)][_0x428ab7(0xb0)]===_0x5bb2e6){_0x2bc23f=_0x9faa4f;break;}if(-0x1!==_0x2bc23f)return _0x2bc23f+0x1;const _0x1dee6b=_0x82b478[_0x428ab7(0xc3)][_0x428ab7(0xd4)](),_0x3e9ca0=_0x1dee6b[_0x428ab7(0xec)](_0x5bb2e6[_0x428ab7(0xad)]),_0x2329e1=_0x1dee6b[_0x3e9ca0+0x1];if(_0x2329e1){for(let _0x349160=0x0;_0x349160<_0x541825[_0x428ab7(0xc6)];_0x349160++)if(_0x541825[_0x349160][_0x428ab7(0x91)][_0x428ab7(0xb0)][_0x428ab7(0xad)]===_0x2329e1)return _0x349160;}return _0x541825[_0x428ab7(0xc6)];}
23
+ const _0xcd3880=_0x58b3;(function(_0x4b6d32,_0x22da5d){const _0x2f3271=_0x58b3,_0x4af7ad=_0x4b6d32();while(!![]){try{const _0x402520=-parseInt(_0x2f3271(0x1c2))/0x1*(-parseInt(_0x2f3271(0x1ae))/0x2)+-parseInt(_0x2f3271(0x1ca))/0x3*(parseInt(_0x2f3271(0x1c5))/0x4)+parseInt(_0x2f3271(0x1b3))/0x5*(-parseInt(_0x2f3271(0x1e2))/0x6)+parseInt(_0x2f3271(0x1db))/0x7+-parseInt(_0x2f3271(0x1e8))/0x8+parseInt(_0x2f3271(0x1e7))/0x9*(-parseInt(_0x2f3271(0x1c8))/0xa)+parseInt(_0x2f3271(0x1ea))/0xb;if(_0x402520===_0x22da5d)break;else _0x4af7ad['push'](_0x4af7ad['shift']());}catch(_0x216c6b){_0x4af7ad['push'](_0x4af7ad['shift']());}}}(_0x22a8,0x1e287));function _0x22a8(){const _0x46313c=['move','1013285VLVBJa','findIndex','map','footnoteRef','_handleMovedFootnoteReference','_handleInsertedFootnoteReference','footnoteDefinition','listenTo','createRangeIn','before','getFootnotesFormatter','registerPostFixer','find','_handleFootnotesDefinitionsObjectChanges','pluginName','201479wJhegJ','footnoteId','length','934004CDKyeG','init','_handleRemoveFootnoteReferenceById','70mzxCto','rootName','3GDTdRw','compareWith','_sortFootnoteDefinitions','createElement','setFootnoteFormatter','add','footnotes.multiBlock','_footnotes','getAttribute','has','getFootnotesDefinitionsObjectElement','_ensureFootnotesReferencesHaveProperOrder','getFootnotes','getFootnote','getChildren','from','enqueueChange','256942upcxCt','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsTracker','getChanges','_handleFootnoteReferencesChanges','isOfficialPlugin','6ZTmRFp','FootnotesTracker','_footnotesDefinitions','footnoteInlineContent','differ','37143sdrvkO','653952DXZGrm','set','4753463BAYeEp','footnoteCounter','min','$graveyard','childCount','insert','setAttribute','push','document','model','config','reference','_insertEmptyFootnotesDefinitionsContainer','editor','high','_updateFootnoteRefCounter','low','footnotesDefinitions','_handleFootnoteDefinitionsChanges','_updateFootnotesCounters','indexOf','splice','createPositionAt','remove','some','reset','singleton','createRangeOn','_handleFootnotesDefinitionsObjectSync','getRootNames','change:data','after','_footnoteRefsTracker','definition','paragraph','append','isEqual','createPositionBefore','unshift','parent','get','_footnoteFormatter','2xxCtMU','end','root','isPremiumPlugin'];_0x22a8=function(){return _0x46313c;};return _0x22a8();}import{Plugin as _0x2bfb3b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5ae3a7}from'./modelelementtracker.js';function _0x58b3(_0x1307ab,_0x252211){const _0x22a894=_0x22a8();return _0x58b3=function(_0x58b3b4,_0xf6337d){_0x58b3b4=_0x58b3b4-0x1aa;let _0x52f3fe=_0x22a894[_0x58b3b4];return _0x52f3fe;},_0x58b3(_0x1307ab,_0x252211);}export class FootnotesTracker extends _0x2bfb3b{[_0xcd3880(0x1d1)]=[];[_0xcd3880(0x1e4)]=null;[_0xcd3880(0x1ad)]=null;[_0xcd3880(0x1dc)];[_0xcd3880(0x20a)];[_0xcd3880(0x1de)];static get[_0xcd3880(0x1c1)](){const _0x105360=_0xcd3880;return _0x105360(0x1e3);}static get[_0xcd3880(0x1e1)](){return!0x0;}static get[_0xcd3880(0x1b1)](){return!0x0;}constructor(_0xdc4396){const _0x7f9851=_0xcd3880;super(_0xdc4396),this[_0x7f9851(0x1dc)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1fb),'getElementKey':()=>_0x7f9851(0x204)}),this[_0x7f9851(0x20a)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1b6),'getElementKey':_0x30d2f4=>_0x30d2f4[_0x7f9851(0x1d2)](_0x7f9851(0x1c3))}),this[_0x7f9851(0x1de)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1b9),'getElementKey':_0x1136bf=>_0x1136bf[_0x7f9851(0x1d2)](_0x7f9851(0x1c3))});}[_0xcd3880(0x1c6)](){const _0x51f987=_0xcd3880,{editor:_0x9986db}=this,{model:_0x3a8b0f,data:_0x21746f}=_0x9986db;_0x3a8b0f[_0x51f987(0x1f2)][_0x51f987(0x1be)](_0xe05dd=>{const _0x2f007a=_0x51f987,_0x1e788d=_0x3a8b0f[_0x2f007a(0x1f2)][_0x2f007a(0x1e6)][_0x2f007a(0x1df)]();let _0xd782ba=!0x1;return this[_0x2f007a(0x1c0)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1fc)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1e0)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1d5)](_0xe05dd)&&(_0xd782ba=!0x0),this[_0x2f007a(0x206)](_0xe05dd)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1cc)](_0xe05dd)&&(_0xd782ba=!0x0),_0xd782ba;}),this[_0x51f987(0x1ba)](_0x3a8b0f[_0x51f987(0x1f2)],_0x51f987(0x208),()=>{const _0x280cbe=_0x51f987;_0x3a8b0f[_0x280cbe(0x1da)]({'isUndoable':!0x1},_0x153f53=>{const _0x446244=_0x280cbe;this[_0x446244(0x1dd)](_0x153f53);});},{'priority':_0x51f987(0x1fa)}),this[_0x51f987(0x1ba)](_0x21746f,_0x51f987(0x1e9),()=>{const _0x59d389=_0x51f987;this[_0x59d389(0x1d1)]=[],this[_0x59d389(0x1dc)][_0x59d389(0x203)](),this[_0x59d389(0x20a)][_0x59d389(0x203)](),this[_0x59d389(0x1de)][_0x59d389(0x203)]();},{'priority':_0x51f987(0x1f8)});}[_0xcd3880(0x1d4)](){const _0x5991af=_0xcd3880;return this[_0x5991af(0x1e4)];}[_0xcd3880(0x1d7)](_0x3eaea1){const _0x5487a2=_0xcd3880;return this[_0x5487a2(0x1d1)][_0x5487a2(0x1bf)](_0x5ed10c=>_0x5ed10c['id']===_0x3eaea1)||null;}[_0xcd3880(0x1d6)](){const _0xc1cf6d=_0xcd3880;return Array[_0xc1cf6d(0x1d9)](this[_0xc1cf6d(0x1d1)]);}[_0xcd3880(0x1bd)](){const _0x1de795=_0xcd3880;return this[_0x1de795(0x1ad)];}[_0xcd3880(0x1ce)](_0x47c94d){const _0x1c6788=_0xcd3880;this[_0x1c6788(0x1ad)]=_0x47c94d;}[_0xcd3880(0x1fd)](_0x578750,_0x10c75d=0x0){const _0x1fca2b=_0xcd3880;let _0x47b3d6=!0x1;for(let _0x4f5e46=_0x10c75d;_0x4f5e46<this[_0x1fca2b(0x1d1)][_0x1fca2b(0x1c4)];_0x4f5e46++)this[_0x1fca2b(0x1f9)](_0x578750,_0x4f5e46)&&(_0x47b3d6=!0x0);return _0x47b3d6;}[_0xcd3880(0x1f6)](_0x2756d7,_0x3bfbed){const _0x5ec080=_0xcd3880,_0x365af9=_0x2756d7[_0x5ec080(0x1cd)](_0x5ec080(0x1fb),{});return _0x2756d7[_0x5ec080(0x20d)](_0x365af9,_0x3bfbed),this[_0x5ec080(0x1e4)]=_0x365af9,_0x365af9;}[_0xcd3880(0x1dd)](_0x21fcf3){const _0x521eaa=_0xcd3880;if(!this[_0x521eaa(0x1d1)][_0x521eaa(0x1c4)]||this[_0x521eaa(0x1e4)])return;const _0x46a1ef=this[_0x521eaa(0x1d1)][0x0][_0x521eaa(0x1f5)][_0x521eaa(0x1b0)],_0x27db9b=this[_0x521eaa(0x1f6)](_0x21fcf3,_0x46a1ef);for(const _0x13d630 of this[_0x521eaa(0x1d1)])_0x13d630[_0x521eaa(0x20b)][_0x521eaa(0x1ab)]||_0x21fcf3[_0x521eaa(0x1ef)](_0x13d630[_0x521eaa(0x20b)],_0x27db9b,_0x521eaa(0x1af));this[_0x521eaa(0x1fd)](_0x21fcf3);}[_0xcd3880(0x1c0)](_0x2d387f,_0x331ac3){const _0x6bfccd=_0xcd3880;let _0x2b57ea=!0x1;const {inserted:_0x1273be,removed:_0x14b659,moved:_0x514de0}=this[_0x6bfccd(0x1dc)][_0x6bfccd(0x1df)](_0x331ac3);if(_0x514de0[_0x6bfccd(0x1c4)]&&(this[_0x6bfccd(0x1e4)]=_0x514de0[0x0]),_0x1273be[_0x6bfccd(0x1c4)]){if(_0x1273be[_0x6bfccd(0x1c4)]>0x1||this[_0x6bfccd(0x1e4)]&&_0x1273be[_0x6bfccd(0x202)](_0x4d4075=>_0x4d4075!==this[_0x6bfccd(0x1e4)])){const _0x441d35=_0x2d387f[_0x6bfccd(0x1cd)](_0x6bfccd(0x1fb),{}),_0x310704=[];this[_0x6bfccd(0x1e4)]&&_0x310704[_0x6bfccd(0x1f1)](this[_0x6bfccd(0x1e4)]),_0x310704[_0x6bfccd(0x1f1)](..._0x1273be),_0x2d387f[_0x6bfccd(0x1ef)](_0x441d35,_0x310704[0x0],_0x6bfccd(0x1bc));for(const _0xb1ad34 of _0x310704)_0x2d387f[_0x6bfccd(0x1b2)](_0x2d387f[_0x6bfccd(0x1bb)](_0xb1ad34),_0x2d387f[_0x6bfccd(0x200)](_0x441d35,_0x6bfccd(0x1af))),_0x2d387f[_0x6bfccd(0x201)](_0xb1ad34);this[_0x6bfccd(0x1e4)]=_0x441d35,this[_0x6bfccd(0x1fd)](_0x2d387f),_0x2b57ea=!0x0;}else this[_0x6bfccd(0x1e4)]=_0x1273be[0x0];}if(_0x14b659[_0x6bfccd(0x1c4)]&&_0x6bfccd(0x1ed)===this[_0x6bfccd(0x1e4)]?.[_0x6bfccd(0x1b0)][_0x6bfccd(0x1c9)]){for(const _0x56a2bd of this[_0x6bfccd(0x1d1)])_0x2d387f[_0x6bfccd(0x201)](_0x56a2bd[_0x6bfccd(0x1f5)]),_0x2b57ea=!0x0;this[_0x6bfccd(0x1d1)]=[],this[_0x6bfccd(0x1e4)]=null;}return _0x2b57ea;}[_0xcd3880(0x1fc)](_0x3a342b,_0x3b8cd9){const _0x57fd19=_0xcd3880;let _0x475d6d=!0x1;const _0x5618d3=this[_0x57fd19(0x1f7)][_0x57fd19(0x1f4)][_0x57fd19(0x1ac)](_0x57fd19(0x1d0)),{inserted:_0x41a73d,moved:_0x2c5448}=this[_0x57fd19(0x1de)][_0x57fd19(0x1df)](_0x3b8cd9);for(const _0x3fb811 of[..._0x2c5448,..._0x41a73d]){const _0xc4b1f7=_0x3fb811[_0x57fd19(0x1d2)](_0x57fd19(0x1c3)),_0x15696b=this[_0x57fd19(0x1d7)](_0xc4b1f7);_0x15696b&&(_0x15696b[_0x57fd19(0x20b)]=_0x3fb811),_(_0x3a342b,_0x5618d3,_0x3fb811)&&(_0x475d6d=!0x0);}return _0x475d6d;}[_0xcd3880(0x1e0)](_0x129e47,_0x389d3c){const _0x513d82=_0xcd3880;let _0x32397b=!0x1;const {removed:_0x352b43,inserted:_0x366f6e,moved:_0x44d5c8}=this[_0x513d82(0x20a)][_0x513d82(0x1df)](_0x389d3c);for(const _0x452253 of _0x352b43)this[_0x513d82(0x1c7)](_0x129e47,_0x452253)&&(_0x32397b=!0x0);for(const _0x352a97 of _0x366f6e)this[_0x513d82(0x1b8)](_0x129e47,_0x352a97)&&(_0x32397b=!0x0);for(const _0x286df1 of _0x44d5c8)this[_0x513d82(0x1b7)](_0x129e47,_0x286df1)&&(_0x32397b=!0x0);return _0x32397b;}[_0xcd3880(0x206)](_0x5cfc89){const _0x53a1e4=_0xcd3880;if(!this[_0x53a1e4(0x1e4)])return!0x1;let _0x4e63ab=!0x1;if(this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1ee)]!==this[_0x53a1e4(0x1d1)][_0x53a1e4(0x1c4)]){const _0x17a237=[];for(const _0x5c9021 of this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1d8)]()){const _0x4e67f7=_0x5c9021[_0x53a1e4(0x1d2)](_0x53a1e4(0x1c3));this[_0x53a1e4(0x1d7)](_0x4e67f7)||(_0x17a237[_0x53a1e4(0x1aa)](_0x5c9021),_0x4e63ab=!0x0);}for(const _0x2bc29b of _0x17a237)_0x5cfc89[_0x53a1e4(0x201)](_0x2bc29b);}const _0x288303=new Set(),_0x554edf=[];for(const _0x430063 of this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1d8)]()){const _0x5c827c=_0x430063[_0x53a1e4(0x1d2)](_0x53a1e4(0x1c3));_0x288303[_0x53a1e4(0x1d3)](_0x5c827c)?(_0x554edf[_0x53a1e4(0x1aa)](_0x430063),_0x4e63ab=!0x0):_0x288303[_0x53a1e4(0x1cf)](_0x5c827c);}for(const _0x2419fb of _0x554edf)_0x5cfc89[_0x53a1e4(0x201)](_0x2419fb);return this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1ee)]||(_0x5cfc89[_0x53a1e4(0x201)](this[_0x53a1e4(0x1e4)]),this[_0x53a1e4(0x1e4)]=null,_0x4e63ab=!0x0),_0x4e63ab;}[_0xcd3880(0x1b8)](_0x50ab08,_0x4062be){const _0x6b3ba5=_0xcd3880;if(this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1bf)](_0x37f698=>_0x37f698[_0x6b3ba5(0x1f5)]===_0x4062be))return!0x1;let _0x2b188b=!0x1;const _0x8f1140=_0x4062be[_0x6b3ba5(0x1d2)](_0x6b3ba5(0x1c3)),_0xb7f1db=this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1b4)](_0x55594c=>_0x55594c['id']===_0x8f1140);-0x1!==_0xb7f1db&&(_0x50ab08[_0x6b3ba5(0x201)](this[_0x6b3ba5(0x1d1)][_0xb7f1db][_0x6b3ba5(0x1f5)]),this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1ff)](_0xb7f1db,0x1),_0x2b188b=!0x0);let _0x444654=this[_0x6b3ba5(0x1e4)]?function(_0x5a419c,_0x4133de){const _0x3a4762=_0x6b3ba5;for(const _0x17061d of _0x5a419c[_0x3a4762(0x1d8)]())if(_0x17061d[_0x3a4762(0x1d2)](_0x3a4762(0x1c3))===_0x4133de)return _0x17061d;return null;}(this[_0x6b3ba5(0x1e4)],_0x8f1140):null;_0x444654||(_0x444654=_0x50ab08[_0x6b3ba5(0x1cd)](_0x6b3ba5(0x1b9),{'footnoteId':_0x8f1140}),this[_0x6b3ba5(0x1e4)]&&(_0x50ab08[_0x6b3ba5(0x1ef)](_0x444654,this[_0x6b3ba5(0x1e4)],_0x6b3ba5(0x1af)),_0x2b188b=!0x0));const _0xf3b2e1={'id':_0x8f1140,'reference':_0x4062be,'definition':_0x444654},_0x334563=I(this[_0x6b3ba5(0x1f7)][_0x6b3ba5(0x1f3)],this[_0x6b3ba5(0x1d1)],_0x4062be);this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1ff)](_0x334563,0x0,_0xf3b2e1);let _0x318153=_0x334563;return-0x1!==_0xb7f1db&&(_0x318153=Math[_0x6b3ba5(0x1ec)](_0x334563,_0xb7f1db)),this[_0x6b3ba5(0x1fd)](_0x50ab08,_0x318153)&&(_0x2b188b=!0x0),_0x2b188b;}[_0xcd3880(0x1c7)](_0x4319d0,_0x4f9ec5){const _0x5e9396=_0xcd3880,_0x52b0bd=this[_0x5e9396(0x1d1)][_0x5e9396(0x1b4)](_0x3c4841=>_0x3c4841['id']===_0x4f9ec5);if(-0x1===_0x52b0bd)return!0x1;let _0x34958d=!0x1;const _0x47a18f=this[_0x5e9396(0x1d1)][_0x52b0bd];return _0x5e9396(0x1ed)!==_0x47a18f[_0x5e9396(0x20b)][_0x5e9396(0x1b0)][_0x5e9396(0x1c9)]&&(_0x4319d0[_0x5e9396(0x201)](_0x47a18f[_0x5e9396(0x20b)]),_0x34958d=!0x0),this[_0x5e9396(0x1d1)][_0x5e9396(0x1ff)](_0x52b0bd,0x1),this[_0x5e9396(0x1fd)](_0x4319d0,_0x52b0bd)&&(_0x34958d=!0x0),_0x34958d;}[_0xcd3880(0x1b7)](_0x7d5fda,_0x4b32da){const _0x5e1a6f=_0xcd3880,_0x1f717e=_0x4b32da[_0x5e1a6f(0x1d2)](_0x5e1a6f(0x1c3)),_0x3ff3c7=this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1b4)](_0xffe2b9=>_0xffe2b9['id']===_0x1f717e),_0x5380f6=this[_0x5e1a6f(0x1d1)][_0x3ff3c7];let _0x2028dc=!0x1;_0x5380f6[_0x5e1a6f(0x1f5)]=_0x4b32da,this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1ff)](_0x3ff3c7,0x1);const _0x419b50=I(this[_0x5e1a6f(0x1f7)][_0x5e1a6f(0x1f3)],this[_0x5e1a6f(0x1d1)],_0x4b32da);return this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1ff)](_0x419b50,0x0,_0x5380f6),this[_0x5e1a6f(0x1fd)](_0x7d5fda,Math[_0x5e1a6f(0x1ec)](_0x3ff3c7,_0x419b50))&&(_0x2028dc=!0x0),_0x2028dc;}[_0xcd3880(0x1f9)](_0x1db60a,_0x15bc49){const _0x11581a=_0xcd3880;if(!this[_0x11581a(0x1e4)])return!0x1;const _0x3f404d=this[_0x11581a(0x1d1)][_0x15bc49];let _0x2451f8;return _0x2451f8=this[_0x11581a(0x1ad)]?this[_0x11581a(0x1ad)]({'footnote':_0x3f404d,'container':this[_0x11581a(0x1e4)],'digits':String(this[_0x11581a(0x1d1)][_0x11581a(0x1c4)])[_0x11581a(0x1c4)],'value':_0x15bc49+0x1}):String(_0x15bc49+0x1),_0x3f404d[_0x11581a(0x1f5)][_0x11581a(0x1d2)](_0x11581a(0x1eb))!=_0x2451f8&&(_0x1db60a[_0x11581a(0x1f0)](_0x11581a(0x1eb),_0x2451f8,_0x3f404d[_0x11581a(0x1f5)]),!0x0);}[_0xcd3880(0x1cc)](_0x42d9da){const _0xe80b1a=_0xcd3880;if(!this[_0xe80b1a(0x1e4)]||this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1c4)]<0x2)return!0x1;if(function(_0x41d04d,_0x221987){const _0x29e81c=_0xe80b1a;if(_0x41d04d[_0x29e81c(0x1c4)]!==_0x221987[_0x29e81c(0x1c4)])return!0x1;for(let _0x11d127=0x0;_0x11d127<_0x41d04d[_0x29e81c(0x1c4)];_0x11d127++)if(_0x41d04d[_0x11d127]!==_0x221987[_0x11d127])return!0x1;return!0x0;}(this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1b5)](_0x4f991a=>_0x4f991a['id']),Array[_0xe80b1a(0x1d9)](this[_0xe80b1a(0x1e4)][_0xe80b1a(0x1d8)]())[_0xe80b1a(0x1b5)](_0x32c8ae=>_0x32c8ae[_0xe80b1a(0x1d2)](_0xe80b1a(0x1c3)))))return!0x1;let _0x36a76d=!0x1;for(let _0xd29193=0x0;_0xd29193<this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1c4)];_0xd29193++){const _0xb267ed=this[_0xe80b1a(0x1d1)][_0xd29193],_0x27ccf8=_0x42d9da[_0xe80b1a(0x20f)](_0xb267ed[_0xe80b1a(0x20b)]),_0x2c9ff3=_0x42d9da[_0xe80b1a(0x200)](this[_0xe80b1a(0x1e4)],_0xd29193);_0x27ccf8[_0xe80b1a(0x20e)](_0x2c9ff3)||(_0x42d9da[_0xe80b1a(0x1b2)](_0x42d9da[_0xe80b1a(0x205)](_0xb267ed[_0xe80b1a(0x20b)]),_0x2c9ff3),_0x36a76d=!0x0);}return _0x36a76d;}[_0xcd3880(0x1d5)](_0xee0983){const _0x4ab0c=_0xcd3880;if(!this[_0x4ab0c(0x1d1)][_0x4ab0c(0x1c4)])return!0x1;const {model:_0x2fa468}=this[_0x4ab0c(0x1f7)];let _0x3d8198=!0x1;for(let _0xf56d8f=0x0;_0xf56d8f<this[_0x4ab0c(0x1d1)][_0x4ab0c(0x1c4)]-0x1;_0xf56d8f++){const _0x51772e=this[_0x4ab0c(0x1d1)][_0xf56d8f],_0x11f5ae=this[_0x4ab0c(0x1d1)][_0xf56d8f+0x1],_0x226f7b=_0x2fa468[_0x4ab0c(0x20f)](_0x51772e[_0x4ab0c(0x1f5)]),_0xa46100=_0x2fa468[_0x4ab0c(0x20f)](_0x11f5ae[_0x4ab0c(0x1f5)]);_0x4ab0c(0x209)===_0x226f7b[_0x4ab0c(0x1cb)](_0xa46100)&&(this[_0x4ab0c(0x1b7)](_0xee0983,_0x51772e[_0x4ab0c(0x1f5)]),_0xf56d8f=-0x1,_0x3d8198=!0x0);}return _0x3d8198;}}function _(_0x32102a,_0x49bc38,_0x4fb60a){const _0x3a34c6=_0xcd3880;if(_0x4fb60a[_0x3a34c6(0x1ee)])return!0x1;const _0x151278=_0x49bc38?_0x3a34c6(0x20c):_0x3a34c6(0x1e5);return _0x32102a[_0x3a34c6(0x1ef)](_0x32102a[_0x3a34c6(0x1cd)](_0x151278),_0x4fb60a),!0x0;}function I(_0x582650,_0x3e2899,_0xed4681){const _0x2843ac=_0xcd3880;if(0x0===_0x3e2899[_0x2843ac(0x1c4)])return 0x0;const _0x1a3bc2=_0x582650[_0x2843ac(0x20f)](_0xed4681);for(let _0x5417a1=0x0;_0x5417a1<_0x3e2899[_0x2843ac(0x1c4)];_0x5417a1++){const _0x437097=_0x3e2899[_0x5417a1],_0x3b8278=_0x582650[_0x2843ac(0x20f)](_0x437097[_0x2843ac(0x1f5)]);if(_0x2843ac(0x1bc)===_0x1a3bc2[_0x2843ac(0x1cb)](_0x3b8278))return _0x5417a1;}const _0x18776a=_0xed4681[_0x2843ac(0x1b0)];let _0x25a84a=-0x1;for(let _0x698360=_0x3e2899[_0x2843ac(0x1c4)]-0x1;_0x698360>=0x0;_0x698360--)if(_0x3e2899[_0x698360][_0x2843ac(0x1f5)][_0x2843ac(0x1b0)]===_0x18776a){_0x25a84a=_0x698360;break;}if(-0x1!==_0x25a84a)return _0x25a84a+0x1;const _0x4853eb=_0x582650[_0x2843ac(0x1f2)][_0x2843ac(0x207)](),_0x2c8cd4=_0x4853eb[_0x2843ac(0x1fe)](_0x18776a[_0x2843ac(0x1c9)]),_0x422997=_0x4853eb[_0x2c8cd4+0x1];if(_0x422997){for(let _0x2d6fe7=0x0;_0x2d6fe7<_0x3e2899[_0x2843ac(0x1c4)];_0x2d6fe7++)if(_0x3e2899[_0x2d6fe7][_0x2843ac(0x1f5)][_0x2843ac(0x1b0)][_0x2843ac(0x1c9)]===_0x422997)return _0x2d6fe7;}return _0x3e2899[_0x2843ac(0x1c4)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x5e876c,MenuBarMenuListItemButtonView as _0x1c7c13}from'ckeditor5/src/ui.js';import{Plugin as _0x2e6bd4}from'ckeditor5/src/core.js';import{IconFootnote as _0x124afb}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2e6bd4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x401ba5}=this,{componentFactory:_0x590375}=_0x401ba5['ui'];_0x590375['add']('insertFootnote',x(_0x401ba5,_0x5e876c)),_0x590375['add']('menuBar:insertFootnote',x(_0x401ba5,_0x1c7c13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38c850=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4107ee;for(const _0x29e061 in _0x38c850){const _0x2d7f92=_0x29e061,_0x2b74bb=_0x38c850[_0x2d7f92];if('footnotesLicenseKeyValid'==_0x2b74bb||'footnotesLicenseKeyInvalid'==_0x2b74bb||'footnotesLicenseKeyExpired'==_0x2b74bb||'footnotesLicenseKeyDomainLimit'==_0x2b74bb||'footnotesLicenseKeyNotAllowed'==_0x2b74bb||'footnotesLicenseKeyEvaluationLimit'==_0x2b74bb||'footnotesLicenseKeyTrialLimit'==_0x2b74bb||'footnotesLicenseKeyUsageLimit'==_0x2b74bb){delete _0x38c850[_0x2d7f92],_0x4107ee=_0x2b74bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4107ee&&_0x38c850['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4107ee&&_0x38c850['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4107ee&&_0x38c850['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2499dc,_0x36b39e){const _0x11f624=_0x2499dc['commands']['get']('insertFootnote');return _0x2678a1=>{const {t:t}=_0x2678a1,_0x22c6b0=new _0x36b39e(_0x2678a1),_0x10e2d7=_0x22c6b0 instanceof _0x1c7c13;return _0x22c6b0['bind']('isEnabled')['to'](_0x11f624,'isEnabled'),_0x22c6b0['set']({'label':t(_0x10e2d7?'Footnote':'Insert\x20footnote'),'icon':_0x124afb,'tooltip':!0x0}),_0x22c6b0['on']('execute',()=>{_0x11f624['execute'](),_0x2499dc['editing']['view']['focus']();}),_0x22c6b0;};}
23
+ import{ButtonView as _0x4de47c,MenuBarMenuListItemButtonView as _0x421f15}from'ckeditor5/src/ui.js';import{Plugin as _0x722515}from'ckeditor5/src/core.js';import{IconFootnote as _0x5ed1f0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x722515{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x148e4a}=this,{componentFactory:_0x37bfbc}=_0x148e4a['ui'];_0x37bfbc['add']('insertFootnote',x(_0x148e4a,_0x4de47c)),_0x37bfbc['add']('menuBar:insertFootnote',x(_0x148e4a,_0x421f15)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1abf60=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd7f41c;for(const _0x45e272 in _0x1abf60){const _0x4cf262=_0x45e272,_0x2e80a1=_0x1abf60[_0x4cf262];if('footnotesLicenseKeyValid'==_0x2e80a1||'footnotesLicenseKeyInvalid'==_0x2e80a1||'footnotesLicenseKeyExpired'==_0x2e80a1||'footnotesLicenseKeyDomainLimit'==_0x2e80a1||'footnotesLicenseKeyNotAllowed'==_0x2e80a1||'footnotesLicenseKeyEvaluationLimit'==_0x2e80a1||'footnotesLicenseKeyTrialLimit'==_0x2e80a1||'footnotesLicenseKeyUsageLimit'==_0x2e80a1){delete _0x1abf60[_0x4cf262],_0xd7f41c=_0x2e80a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xd7f41c&&_0x1abf60['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xd7f41c&&_0x1abf60['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xd7f41c&&_0x1abf60['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2c56fc,_0x25e221){const _0x2db97c=_0x2c56fc['commands']['get']('insertFootnote');return _0x352715=>{const {t:t}=_0x352715,_0x5bbaca=new _0x25e221(_0x352715),_0x1e400c=_0x5bbaca instanceof _0x421f15;return _0x5bbaca['bind']('isEnabled')['to'](_0x2db97c,'isEnabled'),_0x5bbaca['set']({'label':t(_0x1e400c?'Footnote':'Insert\x20footnote'),'icon':_0x5ed1f0,'tooltip':!0x0}),_0x5bbaca['on']('execute',()=>{_0x2db97c['execute'](),_0x2c56fc['editing']['view']['focus']();}),_0x5bbaca;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x333327,_0x54796c){var _0x4dfabf=_0x23f4,_0x1337b5=_0x333327();while(!![]){try{var _0x39a9c8=parseInt(_0x4dfabf(0xef))/0x1+-parseInt(_0x4dfabf(0xeb))/0x2+-parseInt(_0x4dfabf(0xed))/0x3+parseInt(_0x4dfabf(0xe9))/0x4*(-parseInt(_0x4dfabf(0xea))/0x5)+parseInt(_0x4dfabf(0xe7))/0x6*(parseInt(_0x4dfabf(0xf1))/0x7)+-parseInt(_0x4dfabf(0xe8))/0x8*(-parseInt(_0x4dfabf(0xec))/0x9)+-parseInt(_0x4dfabf(0xee))/0xa*(-parseInt(_0x4dfabf(0xf0))/0xb);if(_0x39a9c8===_0x54796c)break;else _0x1337b5['push'](_0x1337b5['shift']());}catch(_0x1e45f9){_0x1337b5['push'](_0x1337b5['shift']());}}}(_0x526f,0x21902));import'./augmentation.js';function _0x526f(){var _0x3a6464=['332bfiShd','15565tePbsi','339238qCRQCO','9909rkrkuB','675087osxcFc','2959750YBNMOz','239283iMTMgD','11icrOxl','84LTdJSN','112758bJrQhR','216JcsAdx'];_0x526f=function(){return _0x3a6464;};return _0x526f();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x23f4(_0x34dcda,_0x3227d1){var _0x526f25=_0x526f();return _0x23f4=function(_0x23f477,_0x5d6082){_0x23f477=_0x23f477-0xe7;var _0x53d582=_0x526f25[_0x23f477];return _0x53d582;},_0x23f4(_0x34dcda,_0x3227d1);}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 _0x597d(){var _0x38e295=['56cPBMdo','4809238VmxtOU','371724auHQDA','16UNemJc','6kXwjLL','6096700hfJQAW','123507nACPQu','32762fUYKpS','542130MxEWio','584919wisRRR'];_0x597d=function(){return _0x38e295;};return _0x597d();}(function(_0x5a9a20,_0x1ba4cc){var _0x5dbae2=_0x5cdf,_0x1669bd=_0x5a9a20();while(!![]){try{var _0x2dff5b=-parseInt(_0x5dbae2(0x159))/0x1+parseInt(_0x5dbae2(0x155))/0x2*(parseInt(_0x5dbae2(0x158))/0x3)+-parseInt(_0x5dbae2(0x154))/0x4+-parseInt(_0x5dbae2(0x15a))/0x5+parseInt(_0x5dbae2(0x156))/0x6*(-parseInt(_0x5dbae2(0x153))/0x7)+-parseInt(_0x5dbae2(0x15c))/0x8*(-parseInt(_0x5dbae2(0x15b))/0x9)+parseInt(_0x5dbae2(0x157))/0xa;if(_0x2dff5b===_0x1ba4cc)break;else _0x1669bd['push'](_0x1669bd['shift']());}catch(_0x37bbe2){_0x1669bd['push'](_0x1669bd['shift']());}}}(_0x597d,0x736e6));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';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x5cdf(_0x18aecf,_0x437057){var _0x597dfa=_0x597d();return _0x5cdf=function(_0x5cdfc,_0x4444c1){_0x5cdfc=_0x5cdfc-0x153;var _0x32af48=_0x597dfa[_0x5cdfc];return _0x32af48;},_0x5cdf(_0x18aecf,_0x437057);}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x472312=_0xd51a;(function(_0x41fbbd,_0x280f6d){const _0x14644c=_0xd51a,_0x4610c7=_0x41fbbd();while(!![]){try{const _0x58d1f7=parseInt(_0x14644c(0x9b))/0x1+-parseInt(_0x14644c(0xae))/0x2+parseInt(_0x14644c(0xab))/0x3+-parseInt(_0x14644c(0x87))/0x4+parseInt(_0x14644c(0xa2))/0x5+-parseInt(_0x14644c(0x98))/0x6*(parseInt(_0x14644c(0x8a))/0x7)+parseInt(_0x14644c(0xa9))/0x8*(parseInt(_0x14644c(0xa1))/0x9);if(_0x58d1f7===_0x280f6d)break;else _0x4610c7['push'](_0x4610c7['shift']());}catch(_0x26d52e){_0x4610c7['push'](_0x4610c7['shift']());}}}(_0x1d0f,0x46c67));export class ModelElementTracker{[_0x472312(0xa6)];[_0x472312(0xac)];[_0x472312(0x9d)];[_0x472312(0x86)]=new Map();constructor(_0xe3623c,_0x37b2cf){const _0x32deaf=_0x472312;this[_0x32deaf(0xa6)]=_0xe3623c,this[_0x32deaf(0xac)]=_0x37b2cf[_0x32deaf(0xa3)],this[_0x32deaf(0x9d)]=_0x37b2cf[_0x32deaf(0x97)];}[_0x472312(0x9c)](){const _0x5608c6=_0x472312;this[_0x5608c6(0x86)][_0x5608c6(0xa8)]();}[_0x472312(0x92)](_0x8bb539){const _0x1639a1=_0x472312,_0x261303=new Set(),_0x5d5315=new Map();for(const _0x586c70 of _0x8bb539){if(_0x1639a1(0x95)===_0x586c70[_0x1639a1(0xad)]&&_0x1639a1(0xaa)!==_0x586c70[_0x1639a1(0x8f)]&&_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]){const _0x54dcdb=this[_0x1639a1(0xa6)][_0x1639a1(0x90)](_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]);for(const _0x15cc13 of _0x54dcdb[_0x1639a1(0x85)]()){if(!_0x15cc13['is'](_0x1639a1(0x9e),this[_0x1639a1(0xac)]))continue;const _0x148f27=this[_0x1639a1(0x9d)](_0x15cc13);_0x5d5315[_0x1639a1(0x8d)](_0x148f27)||_0x5d5315[_0x1639a1(0xa4)](_0x148f27,[]),_0x5d5315[_0x1639a1(0xa0)](_0x148f27)[_0x1639a1(0x94)](_0x15cc13);}}if(_0x1639a1(0x88)===_0x586c70[_0x1639a1(0xad)]&&_0x586c70[_0x1639a1(0x8f)]===this[_0x1639a1(0xac)]){const _0x1fab0d=this[_0x1639a1(0x9d)]({'getAttribute':_0x5cf824=>_0x586c70[_0x1639a1(0x96)][_0x1639a1(0xa0)](_0x5cf824)});_0x261303[_0x1639a1(0x93)](_0x1fab0d);}}for(const [_0x4668f2,_0x7f48e9]of this[_0x1639a1(0x86)])_0x1639a1(0x89)===_0x7f48e9[_0x1639a1(0x8c)][_0x1639a1(0x9a)]&&_0x261303[_0x1639a1(0x93)](_0x4668f2);for(const _0x2d87ba of _0x261303)this[_0x1639a1(0x86)][_0x1639a1(0x99)](_0x2d87ba);for(const [_0x1e3387,_0x3eb025]of _0x5d5315)this[_0x1639a1(0x86)][_0x1639a1(0xa4)](_0x1e3387,_0x3eb025[_0x3eb025[_0x1639a1(0x8e)]-0x1]);const _0xb54da6=new Set();for(const [_0x5be81a,_0x599be7]of _0x5d5315)_0x261303[_0x1639a1(0x8d)](_0x5be81a)&&(_0xb54da6[_0x1639a1(0x93)](_0x599be7[0x0]),_0x599be7[_0x1639a1(0x8e)]>0x1?_0x5d5315[_0x1639a1(0xa4)](_0x5be81a,_0x599be7[_0x1639a1(0xaf)](0x1)):_0x5d5315[_0x1639a1(0x99)](_0x5be81a),_0x261303[_0x1639a1(0x99)](_0x5be81a));return{'removed':Array[_0x1639a1(0xa7)](_0x261303),'inserted':Array[_0x1639a1(0xa7)](_0x5d5315[_0x1639a1(0x91)]())[_0x1639a1(0x9f)](),'moved':Array[_0x1639a1(0xa7)](_0xb54da6)};}}function _0xd51a(_0x1fe4f9,_0x241621){const _0x1d0fef=_0x1d0f();return _0xd51a=function(_0xd51ab3,_0x53febb){_0xd51ab3=_0xd51ab3-0x85;let _0x2f0a55=_0x1d0fef[_0xd51ab3];return _0x2f0a55;},_0xd51a(_0x1fe4f9,_0x241621);}function _0x1d0f(){const _0x1b55a6=['clear','31432UyVAXB','$text','1016118xMIgTo','_elementName','type','192658txHgfo','slice','getItems','_trackedElements','152104VFDbkm','remove','$graveyard','287952RUSdzt','nodeAfter','root','has','length','name','createRangeOn','values','getChanges','add','push','insert','attributes','getElementKey','72pjNzEu','delete','rootName','83186dOZErk','reset','_getElementKey','element','flat','get','1116sgNZJi','43970MwqkkU','elementName','set','position','_model','from'];_0x1d0f=function(){return _0x1b55a6;};return _0x1d0f();}
23
+ const _0x565e96=_0x46b9;function _0x46b9(_0x4d9b56,_0x38ba3a){const _0x5b6c3=_0x5b6c();return _0x46b9=function(_0x46b9ef,_0x102bbd){_0x46b9ef=_0x46b9ef-0xb5;let _0x2bff78=_0x5b6c3[_0x46b9ef];return _0x2bff78;},_0x46b9(_0x4d9b56,_0x38ba3a);}function _0x5b6c(){const _0x45d911=['_getElementKey','20lKEDzt','insert','values','$text','delete','createRangeOn','getChanges','elementName','add','name','328614wbrMkL','6UUylUh','_trackedElements','root','element','461630fPwkit','clear','position','$graveyard','get','27JPvwTY','724155jCwdkn','type','_model','1034848aiVdMp','remove','nodeAfter','attributes','reset','_elementName','set','from','996666OvGXVd','rootName','42986vrbuCV','189DRSmJx','getElementKey','length','getItems','slice','230211yrIFYb','has','push','flat'];_0x5b6c=function(){return _0x45d911;};return _0x5b6c();}(function(_0x1251bd,_0x3467f3){const _0xc9ac6c=_0x46b9,_0x29cff9=_0x1251bd();while(!![]){try{const _0xcd5507=-parseInt(_0xc9ac6c(0xc5))/0x1*(parseInt(_0xc9ac6c(0xdb))/0x2)+parseInt(_0xc9ac6c(0xcb))/0x3+-parseInt(_0xc9ac6c(0xd0))/0x4*(parseInt(_0xc9ac6c(0xb8))/0x5)+parseInt(_0xc9ac6c(0xda))/0x6*(parseInt(_0xc9ac6c(0xc6))/0x7)+parseInt(_0xc9ac6c(0xbb))/0x8+-parseInt(_0xc9ac6c(0xb7))/0x9*(parseInt(_0xc9ac6c(0xdf))/0xa)+parseInt(_0xc9ac6c(0xc3))/0xb;if(_0xcd5507===_0x3467f3)break;else _0x29cff9['push'](_0x29cff9['shift']());}catch(_0x4ba622){_0x29cff9['push'](_0x29cff9['shift']());}}}(_0x5b6c,0xbf5f4));export class ModelElementTracker{[_0x565e96(0xba)];[_0x565e96(0xc0)];[_0x565e96(0xcf)];[_0x565e96(0xdc)]=new Map();constructor(_0x6c6bdc,_0x5c672a){const _0x502226=_0x565e96;this[_0x502226(0xba)]=_0x6c6bdc,this[_0x502226(0xc0)]=_0x5c672a[_0x502226(0xd7)],this[_0x502226(0xcf)]=_0x5c672a[_0x502226(0xc7)];}[_0x565e96(0xbf)](){const _0x401e9c=_0x565e96;this[_0x401e9c(0xdc)][_0x401e9c(0xe0)]();}[_0x565e96(0xd6)](_0xe990c2){const _0x55e2e4=_0x565e96,_0x13e907=new Set(),_0x262282=new Map();for(const _0x5495c6 of _0xe990c2){if(_0x55e2e4(0xd1)===_0x5495c6[_0x55e2e4(0xb9)]&&_0x55e2e4(0xd3)!==_0x5495c6[_0x55e2e4(0xd9)]&&_0x5495c6[_0x55e2e4(0xe1)][_0x55e2e4(0xbd)]){const _0x2384d8=this[_0x55e2e4(0xba)][_0x55e2e4(0xd5)](_0x5495c6[_0x55e2e4(0xe1)][_0x55e2e4(0xbd)]);for(const _0x168e6e of _0x2384d8[_0x55e2e4(0xc9)]()){if(!_0x168e6e['is'](_0x55e2e4(0xde),this[_0x55e2e4(0xc0)]))continue;const _0x278785=this[_0x55e2e4(0xcf)](_0x168e6e);_0x262282[_0x55e2e4(0xcc)](_0x278785)||_0x262282[_0x55e2e4(0xc1)](_0x278785,[]),_0x262282[_0x55e2e4(0xb6)](_0x278785)[_0x55e2e4(0xcd)](_0x168e6e);}}if(_0x55e2e4(0xbc)===_0x5495c6[_0x55e2e4(0xb9)]&&_0x5495c6[_0x55e2e4(0xd9)]===this[_0x55e2e4(0xc0)]){const _0x560636=this[_0x55e2e4(0xcf)]({'getAttribute':_0x411d42=>_0x5495c6[_0x55e2e4(0xbe)][_0x55e2e4(0xb6)](_0x411d42)});_0x13e907[_0x55e2e4(0xd8)](_0x560636);}}for(const [_0x36749d,_0x2894f0]of this[_0x55e2e4(0xdc)])_0x55e2e4(0xb5)===_0x2894f0[_0x55e2e4(0xdd)][_0x55e2e4(0xc4)]&&_0x13e907[_0x55e2e4(0xd8)](_0x36749d);for(const _0x400e88 of _0x13e907)this[_0x55e2e4(0xdc)][_0x55e2e4(0xd4)](_0x400e88);for(const [_0x279b6c,_0x40a892]of _0x262282)this[_0x55e2e4(0xdc)][_0x55e2e4(0xc1)](_0x279b6c,_0x40a892[_0x40a892[_0x55e2e4(0xc8)]-0x1]);const _0x317e87=new Set();for(const [_0x59c3a1,_0x2d9a45]of _0x262282)_0x13e907[_0x55e2e4(0xcc)](_0x59c3a1)&&(_0x317e87[_0x55e2e4(0xd8)](_0x2d9a45[0x0]),_0x2d9a45[_0x55e2e4(0xc8)]>0x1?_0x262282[_0x55e2e4(0xc1)](_0x59c3a1,_0x2d9a45[_0x55e2e4(0xca)](0x1)):_0x262282[_0x55e2e4(0xd4)](_0x59c3a1),_0x13e907[_0x55e2e4(0xd4)](_0x59c3a1));return{'removed':Array[_0x55e2e4(0xc2)](_0x13e907),'inserted':Array[_0x55e2e4(0xc2)](_0x262282[_0x55e2e4(0xd2)]())[_0x55e2e4(0xce)](),'moved':Array[_0x55e2e4(0xc2)](_0x317e87)};}}