@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20260127.0 → 0.0.0-nightly-20260128.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 _0x4ec689}from'ckeditor5/src/core.js';import{isWidget as _0x1e90f5,toWidget as _0x31b9f8,toWidgetEditable as _0x3f4c39}from'ckeditor5/src/widget.js';import{uid as _0x49c7bc}from'ckeditor5/src/utils.js';import{PointerObserver as _0x42cfa1,ClickObserver as _0x2f57a0}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xde51db}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x52917a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4ec689{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xde51db];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3bfc1c}=this;_0x3bfc1c['config']['define']('footnotes.multiBlock',!0x0),_0x3bfc1c['commands']['add']('insertFootnote',new _0x52917a(_0x3bfc1c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x216dfc){const _0xee4055=_0x284e0b([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]),_0x1b6652=0x47a28506,_0x4f162e=0x47a50506^_0x1b6652,_0x4ead6a=window[_0x284e0b([0x44,0x61,0x74,0x65])][_0x284e0b([0x6e,0x6f,0x77])](),_0x380b73=_0x216dfc[_0x284e0b([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x77da09=new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x771d76=>{_0x380b73[_0x284e0b([0x6f,0x6e,0x63,0x65])](_0x284e0b([0x72,0x65,0x61,0x64,0x79]),_0x771d76);}),_0x4dd49e={[_0x284e0b([0x6b,0x74,0x79])]:_0x284e0b([0x45,0x43]),[_0x284e0b([0x75,0x73,0x65])]:_0x284e0b([0x73,0x69,0x67]),[_0x284e0b([0x63,0x72,0x76])]:_0x284e0b([0x50,0x2d,0x32,0x35,0x36]),[_0x284e0b([0x78])]:_0x284e0b([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]),[_0x284e0b([0x79])]:_0x284e0b([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]),[_0x284e0b([0x61,0x6c,0x67])]:_0x284e0b([0x45,0x53,0x32,0x35,0x36])},_0x58837c=_0x380b73[_0x284e0b([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x284e0b([0x67,0x65,0x74])](_0x284e0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4a03c1(){let _0x1ff5e2,_0x187048=null,_0x3dc245=null;try{if(_0x58837c==_0x284e0b([0x47,0x50,0x4c]))return _0x284e0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x1ff5e2=_0x2a7d14(),!_0x1ff5e2)return _0x284e0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x1ff5e2[_0x284e0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x3dc245=_0x57623e(_0x1ff5e2[_0x284e0b([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x1ff5e2[_0x284e0b([0x6a,0x74,0x69])])),await _0x11fef1()?_0x1846cc()?_0x435d67()?_0x284e0b([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4936a()?(_0x1ff5e2[_0x284e0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x284e0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x187048=_0x17f8d1(_0x284e0b([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xc45ef3()):_0x284e0b([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x284e0b([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x284e0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x284e0b([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x435d67(){const _0x20afd1=[_0x284e0b([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x284e0b([0x74,0x72,0x69,0x61,0x6c])][_0x284e0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1ff5e2[_0x284e0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4ead6a/0x3e8:0xe10*_0x4f162e;return _0x1ff5e2[_0x284e0b([0x65,0x78,0x70])]<_0x20afd1;}function _0x1846cc(){const _0x3670f1=_0x1ff5e2[_0x284e0b([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3670f1&&(!!_0x3670f1[_0x284e0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x284e0b([0x2a]))||!!_0x3670f1[_0x284e0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x284e0b([0x46,0x4f,0x4f])));}function _0x4936a(){const _0x4be697=_0x1ff5e2[_0x284e0b([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4be697||0x0==_0x4be697[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x432783}=new URL(window[_0x284e0b([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4be697[_0x284e0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x432783))return!0x0;const _0x419662=_0x432783[_0x284e0b([0x73,0x70,0x6c,0x69,0x74])](_0x284e0b([0x2e]));return _0x4be697[_0x284e0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6468d1=>_0x6468d1[_0x284e0b([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x284e0b([0x2a])))[_0x284e0b([0x6d,0x61,0x70])](_0x14512b=>_0x14512b[_0x284e0b([0x73,0x70,0x6c,0x69,0x74])](_0x284e0b([0x2e])))[_0x284e0b([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x345a79=>_0x345a79[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x419662[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x284e0b([0x6d,0x61,0x70])](_0x1b386d=>Array(_0x419662[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b386d[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x284e0b([0x66,0x69,0x6c,0x6c])](_0x1b386d[0x0]===_0x284e0b([0x2a])?_0x284e0b([0x2a]):'')[_0x284e0b([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b386d))[_0x284e0b([0x73,0x6f,0x6d,0x65])](_0x54999a=>_0x419662[_0x284e0b([0x65,0x76,0x65,0x72,0x79])]((_0x53ba00,_0x1a95c8)=>_0x54999a[_0x1a95c8]===_0x53ba00||_0x54999a[_0x1a95c8]===_0x284e0b([0x2a])));}function _0xc45ef3(){return _0x187048&&_0x3dc245?new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c7901,_0x455496)=>{_0x187048[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x2c7901,_0x455496),_0x3dc245[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x3f135d=>{_0x3f135d!=_0x284e0b([0x56,0x61,0x6c,0x69,0x64])&&_0x2c7901(_0x3f135d);},_0x455496);}):_0x187048||_0x3dc245||_0x284e0b([0x56,0x61,0x6c,0x69,0x64]);}}function _0x57623e(_0x52b1af,_0x3765a1){return new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x8bb833=>{if(_0xeba2fd())return _0x8bb833(_0x284e0b([0x56,0x61,0x6c,0x69,0x64]));_0x5195dc(),_0x380b73[_0x284e0b([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x284e0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x56e669=!0x1;const _0x1e0367=_0x49c7bc();function _0xb393c2(_0x39a055){return!!_0x39a055&&(typeof _0x39a055===_0x284e0b([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x39a055===_0x284e0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x39a055[_0x284e0b([0x74,0x68,0x65,0x6e])]===_0x284e0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x39a055[_0x284e0b([0x63,0x61,0x74,0x63,0x68])]===_0x284e0b([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x25a3ef(_0x2d9a46){_0x5d5946(_0x2d9a46)[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x2d6b8b=>{if(!_0x2d6b8b||_0x2d6b8b[_0x284e0b([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x284e0b([0x6f,0x6b]))return _0x284e0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4265f7(_0x38cf14(_0x1e0367+_0x3765a1))!=_0x2d6b8b[_0x284e0b([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x284e0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x284e0b([0x56,0x61,0x6c,0x69,0x64]);})[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x352459=>(_0x16e95d(),_0x352459),()=>{const _0x5e02ea=_0x118981();return null==_0x5e02ea?(_0x16e95d(),_0x284e0b([0x56,0x61,0x6c,0x69,0x64])):_0x284e0b(_0x4ead6a-_0x5e02ea>(0x63ae0106^_0x1b6652)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x8bb833)[_0x284e0b([0x63,0x61,0x74,0x63,0x68])](()=>{_0x8bb833(_0x284e0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5e51cc=0x47946b86^_0x1b6652;function _0x16e95d(){const _0x59ccbf=_0x284e0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4265f7(_0x38cf14(_0x52b1af)),_0x5da9ab=_0x4817e7(_0x4265f7(window[_0x284e0b([0x4d,0x61,0x74,0x68])][_0x284e0b([0x63,0x65,0x69,0x6c])](_0x4ead6a/_0x5e51cc)));window[_0x284e0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x284e0b([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x59ccbf,_0x5da9ab);}function _0x118981(){const _0x5ee1b6=_0x284e0b([0x6c,0x6c,0x63,0x74,0x2d])+_0x4265f7(_0x38cf14(_0x52b1af)),_0x5db7df=window[_0x284e0b([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x284e0b([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5ee1b6);return _0x5db7df?window[_0x284e0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4817e7(_0x5db7df),0x10)*_0x5e51cc:null;}function _0x5d5946(_0x42b1d1){return new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ef3fd,_0x490954)=>{_0x42b1d1[_0x284e0b([0x74,0x68,0x65,0x6e])](_0x3ef3fd,_0x490954),window[_0x284e0b([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x490954,0x47a351c6^_0x1b6652);});}}_0x380b73[_0x284e0b([0x6f,0x6e])](_0x284e0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x431a48,_0x1e401a)=>{if(_0x1e401a[0x0]!=_0x52b1af)return _0x8bb833(_0x284e0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1e401a[0x1]={..._0x1e401a[0x1],[_0x284e0b([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1e0367};},{[_0x284e0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x284e0b([0x68,0x69,0x67,0x68])}),_0x380b73[_0x284e0b([0x6f,0x6e])](_0x284e0b([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21de0b=>{_0xb393c2(_0x21de0b[_0x284e0b([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x56e669=!0x0,_0x25a3ef(_0x21de0b[_0x284e0b([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x284e0b([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x284e0b([0x6c,0x6f,0x77])}),_0x77da09[_0x284e0b([0x74,0x68,0x65,0x6e])](()=>{_0x56e669||_0x8bb833(_0x284e0b([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xeba2fd(){return _0x380b73[_0x284e0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x284e0b([0x76,0x69,0x65,0x77])][_0x284e0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x284e0b([0x61,0x75,0x74,0x6f]);}function _0x5195dc(){_0x380b73[_0x284e0b([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x284e0b([0x76,0x69,0x65,0x77])][_0x284e0b([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x284e0b([0x61,0x75,0x74,0x6f]);}}function _0x17f8d1(_0xb90c3){const _0x849539=[new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x56cec3=>setTimeout(_0x56cec3,0x47abbbca^_0x1b6652)),_0x77da09[_0x284e0b([0x74,0x68,0x65,0x6e])](()=>new window[(_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c6615=>{let _0xf264b9=0x0;_0x380b73[_0x284e0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x284e0b([0x6f,0x6e])](_0x284e0b([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8826ec,_0x29cd60)=>{_0x29cd60[0x0][_0x284e0b([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xf264b9++,_0xf264b9==(0x47a280ee^_0x1b6652)&&(_0x4c6615(),_0x8826ec[_0x284e0b([0x6f,0x66,0x66])]());});}))];return window[_0x284e0b([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x284e0b([0x72,0x61,0x63,0x65])](_0x849539)[_0x284e0b([0x74,0x68,0x65,0x6e])](()=>_0xb90c3);}async function _0x1af066(){await _0x77da09,_0x380b73[_0x284e0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x284e0b([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x7ce561,_0x380b73[_0x284e0b([0x6d,0x6f,0x64,0x65,0x6c])][_0x284e0b([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x7ce561,_0x380b73[_0x284e0b([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x284e0b([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x8eef9a(_0x4e7092){const _0x2de332=_0xe3f8cb();_0x380b73[_0x2de332]=_0x284e0b([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4e7092,_0x4e7092!=_0x284e0b([0x56,0x61,0x6c,0x69,0x64])&&_0x1af066();}function _0xe3f8cb(){const _0x41aa06=window[_0x284e0b([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x284e0b([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x284e0b([0x6e,0x6f,0x77])]())[_0x284e0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x284e0b([0x2e]),'');let _0x2f2fd5=_0x284e0b([0x75]);for(let _0x43746e=0x0;_0x43746e<_0x41aa06[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x43746e+=0x2){let _0x3904a7=window[_0x284e0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x41aa06[_0x284e0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43746e,_0x43746e+0x2));_0x3904a7>=_0xee4055[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3904a7-=_0xee4055[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2f2fd5+=_0xee4055[_0x3904a7];}return _0x2f2fd5;}function _0x2a7d14(){const _0x2a287d=_0x58837c[_0x284e0b([0x73,0x70,0x6c,0x69,0x74])](_0x284e0b([0x2e]));if(0x3!=_0x2a287d[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x14b843(_0x2a287d[0x1]);function _0x14b843(_0x278956){const _0x4c3314=_0x27fced(_0x278956);return _0x4c3314&&_0x556f76()?_0x4c3314:null;function _0x556f76(){const _0x102df8=_0x4c3314[_0x284e0b([0x6a,0x74,0x69])],_0x590a6e=window[_0x284e0b([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x102df8[_0x284e0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x102df8[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x408275={..._0x4c3314,[_0x284e0b([0x6a,0x74,0x69])]:_0x102df8[_0x284e0b([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x102df8[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x408275[_0x284e0b([0x76,0x63])],_0x38cf14(_0x408275)==_0x590a6e;}}}async function _0x11fef1(){let _0xc0fe=!0x0;try{const _0x25d315=_0x58837c[_0x284e0b([0x73,0x70,0x6c,0x69,0x74])](_0x284e0b([0x2e])),[_0x8eb8fb,_0x4d74a6,_0x27e5a0]=_0x25d315;return _0x53ee4b(_0x8eb8fb),await _0x37a1db(_0x8eb8fb,_0x4d74a6,_0x27e5a0),_0xc0fe;}catch{return!0x1;}function _0x53ee4b(_0x5be12e){const _0x45527d=_0x27fced(_0x5be12e);_0x45527d&&_0x45527d[_0x284e0b([0x61,0x6c,0x67])]==_0x284e0b([0x45,0x53,0x32,0x35,0x36])||(_0xc0fe=!0x1);}async function _0x37a1db(_0x3b2685,_0x489771,_0x512666){const _0x40dfcc=window[_0x284e0b([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x284e0b([0x66,0x72,0x6f,0x6d])](_0x5b72d4(_0x512666),_0x87fce9=>_0x87fce9[_0x284e0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5ba7f1=new window[(_0x284e0b([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x284e0b([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3b2685+_0x284e0b([0x2e])+_0x489771),_0x452ed1=window[_0x284e0b([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x284e0b([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x452ed1)return;const _0x1c4abe=await _0x452ed1[_0x284e0b([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x284e0b([0x6a,0x77,0x6b]),_0x4dd49e,{[_0x284e0b([0x6e,0x61,0x6d,0x65])]:_0x284e0b([0x45,0x43,0x44,0x53,0x41]),[_0x284e0b([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x284e0b([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x284e0b([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x452ed1[_0x284e0b([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x284e0b([0x6e,0x61,0x6d,0x65])]:_0x284e0b([0x45,0x43,0x44,0x53,0x41]),[_0x284e0b([0x68,0x61,0x73,0x68])]:{[_0x284e0b([0x6e,0x61,0x6d,0x65])]:_0x284e0b([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1c4abe,_0x40dfcc,_0x5ba7f1)||(_0xc0fe=!0x1);}}function _0x27fced(_0x2070c9){return _0x2070c9[_0x284e0b([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x284e0b([0x65,0x79]))?JSON[_0x284e0b([0x70,0x61,0x72,0x73,0x65])](_0x5b72d4(_0x2070c9)):null;}function _0x5b72d4(_0x5cd979){return window[_0x284e0b([0x61,0x74,0x6f,0x62])](_0x5cd979[_0x284e0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x284e0b([0x2b]))[_0x284e0b([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x284e0b([0x2f])));}function _0x38cf14(_0x1066ee){let _0x364e9b=0x1505;function _0x5c5ef2(_0x592ed8){for(let _0x3de691=0x0;_0x3de691<_0x592ed8[_0x284e0b([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3de691++){const _0x5c0da5=_0x592ed8[_0x284e0b([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3de691);_0x364e9b=(_0x364e9b<<0x5)+_0x364e9b+_0x5c0da5,_0x364e9b&=_0x364e9b;}}function _0x56e73f(_0x3fcb55){Array[_0x284e0b([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3fcb55)?_0x3fcb55[_0x284e0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x56e73f):_0x3fcb55&&typeof _0x3fcb55==_0x284e0b([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x284e0b([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3fcb55)[_0x284e0b([0x73,0x6f,0x72,0x74])]()[_0x284e0b([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x48e080,_0x10864b])=>{_0x5c5ef2(_0x48e080),_0x56e73f(_0x10864b);}):_0x5c5ef2(window[_0x284e0b([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3fcb55));}return _0x56e73f(_0x1066ee),_0x364e9b>>>0x0;}function _0x4265f7(_0x1cba34){return _0x1cba34[_0x284e0b([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x284e0b([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x284e0b([0x30]));}function _0x4817e7(_0x2d028c){return _0x2d028c[_0x284e0b([0x73,0x70,0x6c,0x69,0x74])]('')[_0x284e0b([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x284e0b([0x6a,0x6f,0x69,0x6e])]('');}function _0x7ce561(){}function _0x284e0b(_0x1ebf19){return _0x1ebf19['map'](_0xee0ca5=>String['fromCharCode'](_0xee0ca5))['join']('');}_0x8eef9a(await _0x4a03c1());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5bb68f){const {plugins:_0x361d6d,editing:_0x549019,model:_0x4f2cc8}=this['editor'],_0x1c4dda=_0x361d6d['get'](_0xde51db)['getFootnote'](_0x5bb68f);return!!_0x1c4dda&&(_0x4f2cc8['change'](_0x52d258=>{_0x52d258['setSelection'](_0x52d258['createPositionAt'](_0x1c4dda['definition'],'end'));}),_0x549019['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xdc3a69){const {plugins:_0x5ee536,editing:_0x9d0820,model:_0x158338}=this['editor'],_0x330a22=_0x5ee536['get'](_0xde51db)['getFootnote'](_0xdc3a69);return!!_0x330a22&&(_0x158338['change'](_0x3058da=>{_0x3058da['setSelection'](_0x330a22['reference'],'on');}),_0x9d0820['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x53431d}=this['editor']['model'],_0x4c8135=this['editor']['config']['get']('footnotes.multiBlock');_0x53431d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x53431d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x53431d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4c8135?_0x53431d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x53431d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x53431d['addChildCheck'](_0x143c63=>{for(const _0x4689b8 of _0x143c63)if('footnoteDefinition'===_0x4689b8['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5f4a70}=this,{conversion:_0x6891bb,editing:_0x2e3bd6}=_0x5f4a70,{t:t}=_0x5f4a70['locale'];_0x6891bb['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2cfdd2,{writer:_0x1b24e6,consumable:_0x5e03ac})=>{const _0x3cf0ff=_0x2cfdd2['getChild'](0x0);if(!_0x3cf0ff||!_0x3cf0ff['is']('element','a'))return null;const _0x1c8b95=_0x3cf0ff['getAttribute']('href')||'';if(!_0x1c8b95['startsWith']('#'))return null;const _0xc82436=_0x1c8b95['replace'](/^#/,'');if(!_0xc82436)return null;_0x5e03ac['consume'](_0x3cf0ff,{'name':!0x0,'attributes':['href']});for(const {item:_0x25576d}of _0x2e3bd6['view']['createRangeIn'](_0x3cf0ff))_0x25576d['is']('$textProxy')?_0x5e03ac['consume'](_0x25576d['textNode'],{'name':!0x0}):_0x25576d['is']('element')&&_0x5e03ac['consume'](_0x25576d,{'name':!0x0});return _0x1b24e6['createElement']('footnoteRef',{'footnoteId':_0xc82436});}}),_0x6891bb['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x468dc2,{writer:_0x531400})=>b(_0x468dc2,_0x531400)}),_0x6891bb['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x370cea,{writer:_0x5b11ed})=>{const _0x23edd4=_0x370cea['getAttribute']('footnoteCounter');return _0x31b9f8(b(_0x370cea,_0x5b11ed),_0x5b11ed,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x23edd4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x12cf51}=this,{t:t}=_0x12cf51['locale'],{conversion:_0xba664f}=_0x12cf51;_0xba664f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xba664f['for']('upcast')['add'](_0x222a79=>{_0x222a79['on']('element:ol',(_0xf29fdf,_0x2bde88,_0x4e9ad8)=>{const _0x5f12ae=_0x2bde88['viewItem'];if(!_0x5f12ae['hasClass']('footnotes-list')||!_0x2bde88['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x4e9ad8['consumable']['consume'](_0x5f12ae,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x55c601,modelCursor:_0x9f7e2e}=_0x4e9ad8['convertChildren'](_0x2bde88['viewItem'],_0x2bde88['modelCursor']);_0x2bde88['modelRange']=_0x55c601,_0x2bde88['modelCursor']=_0x9f7e2e;}),_0x222a79['on']('element:hr',(_0x37659a,_0x2f0624,_0x3ec235)=>{const _0x414652=_0x2f0624['viewItem'];_0x414652['hasClass']('footnotes-divider')&&_0x2f0624['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3ec235['consumable']['consume'](_0x414652,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xba664f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2abad2,{writer:_0x235b01})=>D(_0x235b01)}),_0xba664f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50a4e7,{writer:_0xa03bc7})=>{const _0x32c2a4=D(_0xa03bc7,{'data-footnotes-list-label':t('Footnotes')}),_0x3ddecf=_0x31b9f8(_0x32c2a4,_0xa03bc7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xa03bc7['setCustomProperty']('footnotesDefinitions',!0x0,_0x3ddecf),_0x3ddecf;}});}['_defineDefinitionConverters'](){const {editor:_0x4a055e}=this,{conversion:_0x4b022f,locale:_0x2b37f0}=_0x4a055e,_0x39a01f=_0x4a055e['config']['get']('footnotes.multiBlock');_0x4b022f['for']('upcast')['add'](_0x34899e=>{_0x34899e['on']('element:li',(_0x36fb2f,_0x42c70f,_0x59134e)=>{const _0x16f187=_0x42c70f['viewItem'];if(!_0x16f187['hasClass']('footnote-definition')||!_0x16f187['getAttribute']('id'))return;const _0x5b1fdd=_0x16f187['parent'];if(!_0x5b1fdd['is']('element','ol')||!_0x5b1fdd['hasClass']('footnotes-list'))return;if(!_0x59134e['consumable']['test'](_0x16f187,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x241617=_0x59134e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x16f187['getAttribute']('id')});if(!_0x59134e['safeInsert'](_0x241617,_0x42c70f['modelCursor']))return;_0x59134e['consumable']['consume'](_0x16f187,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x124d7b=Array['from'](_0x16f187['getChildren']())['find'](_0x4095cf=>_0x4095cf['is']('element')&&_0x4095cf['hasClass']('footnote-content'));for(const _0x166136 of _0x16f187['getChildren']())_0x166136['is']('element')&&(_0x59134e['consumable']['consume'](_0x166136,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x59134e['consumable']['consume'](_0x166136,{'name':!0x0,'classes':'footnote-content'}));if(_0x124d7b){if(_0x39a01f)_0x59134e['convertChildren'](_0x124d7b,_0x241617);else{const _0x5f5042=_0x59134e['writer']['createElement']('footnoteInlineContent');_0x59134e['writer']['insert'](_0x5f5042,_0x241617),_0x59134e['convertChildren'](_0x124d7b,_0x5f5042);}}_0x59134e['updateConversionResult'](_0x241617,_0x42c70f);});}),_0x4b022f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x29b557,{writer:_0x197cb3})=>y(_0x29b557,_0x197cb3,_0x2b37f0,{'dataPipeline':!0x0})}),_0x4b022f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5e51c9,{writer:_0x3a06dd})=>y(_0x5e51c9,_0x3a06dd,_0x2b37f0)});}['_defineBogusParagraphConverters'](){const {editor:_0x33bd32}=this,{conversion:_0x4aeef8}=_0x33bd32;_0x33bd32['config']['get']('footnotes.multiBlock')?(_0x4aeef8['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x4aeef8['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x33bd32['model']['document'],'change:data',()=>{!function(_0x39f856,_0xc61734){const _0x84173f=_0x39f856['document']['differ'],_0x13abf8=new Set();for(const _0x393893 of _0x84173f['getChanges']()){const _0x394fd2='attribute'==_0x393893['type']?_0x393893['range']['start']['parent']:_0x393893['position']['parent'];_0x394fd2['is']('element','footnoteDefinition')&&_0x13abf8['add'](_0x394fd2);}for(const _0x240149 of _0x13abf8['values']()){const _0x2cf8d1=Array['from'](_0x240149['getChildren']())['filter'](_0x38a07e=>v(_0x38a07e,_0xc61734['mapper']));for(const _0x2a60e0 of _0x2cf8d1)_0xc61734['reconvertItem'](_0x2a60e0);}}(_0x33bd32['model'],_0x33bd32['editing']);})):(_0x4aeef8['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x4aeef8['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3ccd21,{writer:_0x134592})=>{const _0x4947ee=_0x134592['createContainerElement']('span');return _0x134592['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4947ee),_0x4947ee;}}));}['_defineKeyboardHandlers'](){const {editor:_0x575adb}=this,{editing:_0x4e443e,t:t}=_0x575adb,_0x4c3022=_0x575adb['model']['document']['selection'];_0x575adb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x575adb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x4e443e['view']['document'],'enter',(_0xa3295e,_0x5636d4)=>{const _0x57ddad=function(_0x59850d){const _0x2120d8=_0x59850d['getSelectedElement']();if(_0x2120d8?.['is']('element','footnoteRef'))return _0x2120d8;return null;}(_0x4c3022);if(_0x57ddad){const _0x458ebc=_0x57ddad['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x458ebc),_0x5636d4['preventDefault'](),_0xa3295e['stop']();}},{'context':_0x1e90f5});}['_defineClickHandlers'](){const {editor:_0x1ba10a}=this,{editing:_0x1e3c6f}=_0x1ba10a;_0x1ba10a['editing']['view']['addObserver'](_0x42cfa1),_0x1ba10a['editing']['view']['addObserver'](_0x2f57a0);let _0x1913ca=!0x1;this['listenTo'](_0x1e3c6f['view']['document'],'pointerdown',(_0x2ae76f,_0xfcfed)=>{const {target:_0xd26223}=_0xfcfed,_0x547f43=_0x1e3c6f['view']['document']['selection'];_0x1913ca=!!(_0xd26223?.['is']('element','a')&&_0xd26223['parent']?.['is']('element','sup')&&_0xd26223['parent']['hasClass']('footnote'))&&_0x547f43['getSelectedElement']()===_0xd26223['parent'];},{'priority':'high'}),this['listenTo'](_0x1e3c6f['view']['document'],'click',(_0x35b9a7,_0x23a50d)=>{const {target:_0x382833}=_0x23a50d;if(!_0x382833?.['is']('element','a'))return;if(_0x382833['parent']?.['is']('element','sup')&&_0x382833['parent']['hasClass']('footnote')&&!_0x1913ca)return void _0x23a50d['preventDefault']();let _0x46f5e7=_0x382833['getAttribute']('href');if(!_0x46f5e7?.['startsWith']('#'))return;_0x46f5e7=_0x46f5e7['slice'](0x1);let _0x3a413b=!0x1;(_0x46f5e7['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x46f5e7['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x46f5e7))&&(_0x3a413b=!0x0),_0x3a413b&&(_0x23a50d['preventDefault'](),_0x35b9a7['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1083e4}={}){return(_0x321ddb,{writer:_0x5596e3})=>{if(!g(_0x321ddb))return null;if(!_0x1083e4)return _0x5596e3['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x91592=_0x5596e3['createContainerElement']('p');return _0x5596e3['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x91592),_0x91592;};}function g(_0x15820e){const {parent:_0x453d91}=_0x15820e;if(!_0x453d91?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x453d91['childCount'])return!0x1;for(const _0x29a3ef of _0x15820e['getAttributeKeys']())if(!_0x29a3ef['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x29a3ef)return!0x1;return!0x0;}function v(_0x431d1c,_0x576c48){if(!_0x431d1c['is']('element','paragraph'))return!0x1;const _0x4d7913=_0x576c48['toViewElement'](_0x431d1c);return!!_0x4d7913&&g(_0x431d1c)!==_0x4d7913['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x367094){return _0x1e90f5(_0x367094)&&_0x367094['is']('containerElement')&&!!_0x367094['getCustomProperty']('footnotesDefinitions');}function D(_0x19944a,_0x1b2f43={}){const _0x2fcf22=_0x19944a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3981dc=_0x19944a['createContainerElement']('ol',{'class':'footnotes-list'},_0x19944a['createSlot']());return _0x19944a['createContainerElement']('div',{'class':'footnotes',..._0x1b2f43},[_0x2fcf22,_0x3981dc]);}function b(_0x3b2ad6,_0x15a451){const _0x5d42c5=_0x3b2ad6['getAttribute']('footnoteId'),_0x4ef839=_0x3b2ad6['getAttribute']('footnoteCounter'),_0x34139a=_0x15a451['createUIElement']('a',{'href':'#'+_0x5d42c5},function(_0x5d07ca){const _0x13f78c=this['toDomElement'](_0x5d07ca);return _0x13f78c['textContent']=_0x4ef839,_0x13f78c;}),_0x18d33a=_0x15a451['createContainerElement']('sup',{'id':'ref-'+_0x5d42c5,'class':'footnote'},[_0x34139a]);return _0x18d33a['getFillerOffset']=()=>null,_0x18d33a;}function y(_0x4848f8,_0x485cca,_0x568c63,{dataPipeline:_0x1e8b81}={}){const {t:t}=_0x568c63,_0x306666=_0x4848f8['getAttribute']('footnoteId'),_0x450786=_0x485cca['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x306666},function(_0xd95721){const _0x46dc68=this['toDomElement'](_0xd95721);return _0x46dc68['innerText']='^',_0x46dc68;}),_0x27468f=_0x1e8b81?_0x485cca['createContainerElement']('div',{'class':'footnote-content'}):_0x3f4c39(_0x485cca['createEditableElement']('div',{'class':'footnote-content'}),_0x485cca,{'label':t('Footnote\x20content.')});return _0x485cca['insert'](_0x485cca['createPositionAt'](_0x27468f,0x0),_0x485cca['createSlot']()),_0x485cca['createContainerElement']('li',{'class':'footnote-definition','id':_0x306666},[_0x450786,_0x27468f]);}
23
+ import{Plugin as _0x3b02e0}from'ckeditor5/src/core.js';import{isWidget as _0x3f3198,toWidget as _0x48a9ca,toWidgetEditable as _0x50723d}from'ckeditor5/src/widget.js';import{uid as _0x402eca}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4a6a14,ClickObserver as _0x24a901}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x71412e}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4c8cc0}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x3b02e0{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x71412e];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52818b}=this;_0x52818b['config']['define']('footnotes.multiBlock',!0x0),_0x52818b['commands']['add']('insertFootnote',new _0x4c8cc0(_0x52818b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x21b9f0){const _0x25aec8=_0x1e75ce([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]),_0x1a3ec6=0x47a28506,_0x4e3d20=0x47a5051e^_0x1a3ec6,_0x53f027=window[_0x1e75ce([0x44,0x61,0x74,0x65])][_0x1e75ce([0x6e,0x6f,0x77])](),_0x4a6af7=_0x21b9f0[_0x1e75ce([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1068b2=new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bb230=>{_0x4a6af7[_0x1e75ce([0x6f,0x6e,0x63,0x65])](_0x1e75ce([0x72,0x65,0x61,0x64,0x79]),_0x4bb230);}),_0x584c30={[_0x1e75ce([0x6b,0x74,0x79])]:_0x1e75ce([0x45,0x43]),[_0x1e75ce([0x75,0x73,0x65])]:_0x1e75ce([0x73,0x69,0x67]),[_0x1e75ce([0x63,0x72,0x76])]:_0x1e75ce([0x50,0x2d,0x32,0x35,0x36]),[_0x1e75ce([0x78])]:_0x1e75ce([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]),[_0x1e75ce([0x79])]:_0x1e75ce([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]),[_0x1e75ce([0x61,0x6c,0x67])]:_0x1e75ce([0x45,0x53,0x32,0x35,0x36])},_0x4d7989=_0x4a6af7[_0x1e75ce([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1e75ce([0x67,0x65,0x74])](_0x1e75ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x392866(){let _0x450728,_0x52203e=null,_0x4b21bc=null;try{if(_0x4d7989==_0x1e75ce([0x47,0x50,0x4c]))return _0x1e75ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x450728=_0x4513e4(),!_0x450728)return _0x1e75ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x450728[_0x1e75ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4b21bc=_0xb2bb21(_0x450728[_0x1e75ce([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x450728[_0x1e75ce([0x6a,0x74,0x69])])),await _0x44d418()?_0x4b00ee()?_0x181f54()?_0x1e75ce([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5928d7()?(_0x450728[_0x1e75ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1e75ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x52203e=_0x5a0ad8(_0x1e75ce([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x108ca5()):_0x1e75ce([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1e75ce([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1e75ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1e75ce([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x181f54(){const _0x292c00=[_0x1e75ce([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1e75ce([0x74,0x72,0x69,0x61,0x6c])][_0x1e75ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x450728[_0x1e75ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x53f027/0x3e8:0xe10*_0x4e3d20;return _0x450728[_0x1e75ce([0x65,0x78,0x70])]<_0x292c00;}function _0x4b00ee(){const _0x4566b1=_0x450728[_0x1e75ce([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x4566b1&&(!!_0x4566b1[_0x1e75ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e75ce([0x2a]))||!!_0x4566b1[_0x1e75ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e75ce([0x46,0x4f,0x4f])));}function _0x5928d7(){const _0x30c379=_0x450728[_0x1e75ce([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30c379||0x0==_0x30c379[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5f13ea}=new URL(window[_0x1e75ce([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30c379[_0x1e75ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5f13ea))return!0x0;const _0x3cbb78=_0x5f13ea[_0x1e75ce([0x73,0x70,0x6c,0x69,0x74])](_0x1e75ce([0x2e]));return _0x30c379[_0x1e75ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x10e2c7=>_0x10e2c7[_0x1e75ce([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1e75ce([0x2a])))[_0x1e75ce([0x6d,0x61,0x70])](_0x3384a2=>_0x3384a2[_0x1e75ce([0x73,0x70,0x6c,0x69,0x74])](_0x1e75ce([0x2e])))[_0x1e75ce([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2dc6ab=>_0x2dc6ab[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3cbb78[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e75ce([0x6d,0x61,0x70])](_0x41d84f=>Array(_0x3cbb78[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x41d84f[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1e75ce([0x66,0x69,0x6c,0x6c])](_0x41d84f[0x0]===_0x1e75ce([0x2a])?_0x1e75ce([0x2a]):'')[_0x1e75ce([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x41d84f))[_0x1e75ce([0x73,0x6f,0x6d,0x65])](_0x5b9fb4=>_0x3cbb78[_0x1e75ce([0x65,0x76,0x65,0x72,0x79])]((_0x3c3722,_0x1a766d)=>_0x5b9fb4[_0x1a766d]===_0x3c3722||_0x5b9fb4[_0x1a766d]===_0x1e75ce([0x2a])));}function _0x108ca5(){return _0x52203e&&_0x4b21bc?new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1b420f,_0x1a0e7a)=>{_0x52203e[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x1b420f,_0x1a0e7a),_0x4b21bc[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x497369=>{_0x497369!=_0x1e75ce([0x56,0x61,0x6c,0x69,0x64])&&_0x1b420f(_0x497369);},_0x1a0e7a);}):_0x52203e||_0x4b21bc||_0x1e75ce([0x56,0x61,0x6c,0x69,0x64]);}}function _0xb2bb21(_0x16bb4f,_0x5b2d07){return new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41c912=>{if(_0x3569da())return _0x41c912(_0x1e75ce([0x56,0x61,0x6c,0x69,0x64]));_0xdfc0e9(),_0x4a6af7[_0x1e75ce([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1e75ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x19c5b2=!0x1;const _0x15b2b3=_0x402eca();function _0x5ed667(_0x5aceb5){return!!_0x5aceb5&&(typeof _0x5aceb5===_0x1e75ce([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5aceb5===_0x1e75ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5aceb5[_0x1e75ce([0x74,0x68,0x65,0x6e])]===_0x1e75ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5aceb5[_0x1e75ce([0x63,0x61,0x74,0x63,0x68])]===_0x1e75ce([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x569676(_0x2ce71b){_0x52cda6(_0x2ce71b)[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x13bff0=>{if(!_0x13bff0||_0x13bff0[_0x1e75ce([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1e75ce([0x6f,0x6b]))return _0x1e75ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x4f691e(_0x12c24c(_0x15b2b3+_0x5b2d07))!=_0x13bff0[_0x1e75ce([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1e75ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1e75ce([0x56,0x61,0x6c,0x69,0x64]);})[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x19f1ea=>(_0x377cd4(),_0x19f1ea),()=>{const _0x39978f=_0x48797e();return null==_0x39978f?(_0x377cd4(),_0x1e75ce([0x56,0x61,0x6c,0x69,0x64])):_0x1e75ce(_0x53f027-_0x39978f>(0x63ae0106^_0x1a3ec6)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x41c912)[_0x1e75ce([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41c912(_0x1e75ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xb900cc=0x47946b86^_0x1a3ec6;function _0x377cd4(){const _0x4919a8=_0x1e75ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f691e(_0x12c24c(_0x16bb4f)),_0x45825a=_0x1ff5c1(_0x4f691e(window[_0x1e75ce([0x4d,0x61,0x74,0x68])][_0x1e75ce([0x63,0x65,0x69,0x6c])](_0x53f027/_0xb900cc)));window[_0x1e75ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e75ce([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4919a8,_0x45825a);}function _0x48797e(){const _0x10ca3e=_0x1e75ce([0x6c,0x6c,0x63,0x74,0x2d])+_0x4f691e(_0x12c24c(_0x16bb4f)),_0x583778=window[_0x1e75ce([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1e75ce([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x10ca3e);return _0x583778?window[_0x1e75ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1ff5c1(_0x583778),0x10)*_0xb900cc:null;}function _0x52cda6(_0xa0a48){return new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4e6b70,_0x4cce7b)=>{_0xa0a48[_0x1e75ce([0x74,0x68,0x65,0x6e])](_0x4e6b70,_0x4cce7b),window[_0x1e75ce([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cce7b,0x47a351c6^_0x1a3ec6);});}}_0x4a6af7[_0x1e75ce([0x6f,0x6e])](_0x1e75ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x61bf34,_0x58d75c)=>{if(_0x58d75c[0x0]!=_0x16bb4f)return _0x41c912(_0x1e75ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x58d75c[0x1]={..._0x58d75c[0x1],[_0x1e75ce([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15b2b3};},{[_0x1e75ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e75ce([0x68,0x69,0x67,0x68])}),_0x4a6af7[_0x1e75ce([0x6f,0x6e])](_0x1e75ce([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x395a86=>{_0x5ed667(_0x395a86[_0x1e75ce([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x19c5b2=!0x0,_0x569676(_0x395a86[_0x1e75ce([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1e75ce([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1e75ce([0x6c,0x6f,0x77])}),_0x1068b2[_0x1e75ce([0x74,0x68,0x65,0x6e])](()=>{_0x19c5b2||_0x41c912(_0x1e75ce([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3569da(){return _0x4a6af7[_0x1e75ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e75ce([0x76,0x69,0x65,0x77])][_0x1e75ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1e75ce([0x61,0x75,0x74,0x6f]);}function _0xdfc0e9(){_0x4a6af7[_0x1e75ce([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1e75ce([0x76,0x69,0x65,0x77])][_0x1e75ce([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1e75ce([0x61,0x75,0x74,0x6f]);}}function _0x5a0ad8(_0x2edd21){const _0x3db304=[new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3ab617=>setTimeout(_0x3ab617,0x47abbbca^_0x1a3ec6)),_0x1068b2[_0x1e75ce([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x389852=>{let _0x454b96=0x0;_0x4a6af7[_0x1e75ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e75ce([0x6f,0x6e])](_0x1e75ce([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2004c2,_0x1ff1fe)=>{_0x1ff1fe[0x0][_0x1e75ce([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x454b96++,_0x454b96==(0x47a280ee^_0x1a3ec6)&&(_0x389852(),_0x2004c2[_0x1e75ce([0x6f,0x66,0x66])]());});}))];return window[_0x1e75ce([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1e75ce([0x72,0x61,0x63,0x65])](_0x3db304)[_0x1e75ce([0x74,0x68,0x65,0x6e])](()=>_0x2edd21);}async function _0xc4fc69(){await _0x1068b2,_0x4a6af7[_0x1e75ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e75ce([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e75c6,_0x4a6af7[_0x1e75ce([0x6d,0x6f,0x64,0x65,0x6c])][_0x1e75ce([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e75c6,_0x4a6af7[_0x1e75ce([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1e75ce([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4a9aa4(_0x1afae3){const _0x1d3c45=_0x43afb0();_0x4a6af7[_0x1d3c45]=_0x1e75ce([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1afae3,_0x1afae3!=_0x1e75ce([0x56,0x61,0x6c,0x69,0x64])&&_0xc4fc69();}function _0x43afb0(){const _0x49c41e=window[_0x1e75ce([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1e75ce([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1e75ce([0x6e,0x6f,0x77])]())[_0x1e75ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1e75ce([0x2e]),'');let _0x40506d=_0x1e75ce([0x75]);for(let _0x53778a=0x0;_0x53778a<_0x49c41e[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53778a+=0x2){let _0x2e240a=window[_0x1e75ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x49c41e[_0x1e75ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x53778a,_0x53778a+0x2));_0x2e240a>=_0x25aec8[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x2e240a-=_0x25aec8[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x40506d+=_0x25aec8[_0x2e240a];}return _0x40506d;}function _0x4513e4(){const _0x5343a8=_0x4d7989[_0x1e75ce([0x73,0x70,0x6c,0x69,0x74])](_0x1e75ce([0x2e]));if(0x3!=_0x5343a8[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x2696fa(_0x5343a8[0x1]);function _0x2696fa(_0x3e7ea9){const _0x5a1486=_0x4c1499(_0x3e7ea9);return _0x5a1486&&_0x11907c()?_0x5a1486:null;function _0x11907c(){const _0x215103=_0x5a1486[_0x1e75ce([0x6a,0x74,0x69])],_0x119f8d=window[_0x1e75ce([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x215103[_0x1e75ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x215103[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x398d8b={..._0x5a1486,[_0x1e75ce([0x6a,0x74,0x69])]:_0x215103[_0x1e75ce([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x215103[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x398d8b[_0x1e75ce([0x76,0x63])],_0x12c24c(_0x398d8b)==_0x119f8d;}}}async function _0x44d418(){let _0x40628b=!0x0;try{const _0x288769=_0x4d7989[_0x1e75ce([0x73,0x70,0x6c,0x69,0x74])](_0x1e75ce([0x2e])),[_0x386dde,_0xb25fee,_0x5b6e6e]=_0x288769;return _0x3de033(_0x386dde),await _0x5bc5a5(_0x386dde,_0xb25fee,_0x5b6e6e),_0x40628b;}catch{return!0x1;}function _0x3de033(_0xd8bed4){const _0x505973=_0x4c1499(_0xd8bed4);_0x505973&&_0x505973[_0x1e75ce([0x61,0x6c,0x67])]==_0x1e75ce([0x45,0x53,0x32,0x35,0x36])||(_0x40628b=!0x1);}async function _0x5bc5a5(_0x2b62b6,_0x416949,_0x22b07a){const _0x5c53da=window[_0x1e75ce([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1e75ce([0x66,0x72,0x6f,0x6d])](_0x51fa11(_0x22b07a),_0x24f4e7=>_0x24f4e7[_0x1e75ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x527fb1=new window[(_0x1e75ce([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1e75ce([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2b62b6+_0x1e75ce([0x2e])+_0x416949),_0x2a67de=window[_0x1e75ce([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1e75ce([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2a67de)return;const _0x521bce=await _0x2a67de[_0x1e75ce([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1e75ce([0x6a,0x77,0x6b]),_0x584c30,{[_0x1e75ce([0x6e,0x61,0x6d,0x65])]:_0x1e75ce([0x45,0x43,0x44,0x53,0x41]),[_0x1e75ce([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1e75ce([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1e75ce([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2a67de[_0x1e75ce([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1e75ce([0x6e,0x61,0x6d,0x65])]:_0x1e75ce([0x45,0x43,0x44,0x53,0x41]),[_0x1e75ce([0x68,0x61,0x73,0x68])]:{[_0x1e75ce([0x6e,0x61,0x6d,0x65])]:_0x1e75ce([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x521bce,_0x5c53da,_0x527fb1)||(_0x40628b=!0x1);}}function _0x4c1499(_0x1525ca){return _0x1525ca[_0x1e75ce([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1e75ce([0x65,0x79]))?JSON[_0x1e75ce([0x70,0x61,0x72,0x73,0x65])](_0x51fa11(_0x1525ca)):null;}function _0x51fa11(_0x3f8f98){return window[_0x1e75ce([0x61,0x74,0x6f,0x62])](_0x3f8f98[_0x1e75ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1e75ce([0x2b]))[_0x1e75ce([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1e75ce([0x2f])));}function _0x12c24c(_0x419764){let _0x4d8781=0x1505;function _0x7e1e8c(_0x2da5e5){for(let _0x435566=0x0;_0x435566<_0x2da5e5[_0x1e75ce([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x435566++){const _0x254fa5=_0x2da5e5[_0x1e75ce([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x435566);_0x4d8781=(_0x4d8781<<0x5)+_0x4d8781+_0x254fa5,_0x4d8781&=_0x4d8781;}}function _0x3752ae(_0x51acb3){Array[_0x1e75ce([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x51acb3)?_0x51acb3[_0x1e75ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3752ae):_0x51acb3&&typeof _0x51acb3==_0x1e75ce([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1e75ce([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x51acb3)[_0x1e75ce([0x73,0x6f,0x72,0x74])]()[_0x1e75ce([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1f1f3e,_0x27d99b])=>{_0x7e1e8c(_0x1f1f3e),_0x3752ae(_0x27d99b);}):_0x7e1e8c(window[_0x1e75ce([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x51acb3));}return _0x3752ae(_0x419764),_0x4d8781>>>0x0;}function _0x4f691e(_0x44ff35){return _0x44ff35[_0x1e75ce([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1e75ce([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1e75ce([0x30]));}function _0x1ff5c1(_0x35738b){return _0x35738b[_0x1e75ce([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1e75ce([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1e75ce([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e75c6(){}function _0x1e75ce(_0x52fe59){return _0x52fe59['map'](_0x11a209=>String['fromCharCode'](_0x11a209))['join']('');}_0x4a9aa4(await _0x392866());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3072fc){const {plugins:_0x3baefa,editing:_0x3ec59f,model:_0x2f5089}=this['editor'],_0x391010=_0x3baefa['get'](_0x71412e)['getFootnote'](_0x3072fc);return!!_0x391010&&(_0x2f5089['change'](_0xca612c=>{_0xca612c['setSelection'](_0xca612c['createPositionAt'](_0x391010['definition'],'end'));}),_0x3ec59f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1ead6a){const {plugins:_0x51cc7c,editing:_0x549494,model:_0x39d1b3}=this['editor'],_0x32ced5=_0x51cc7c['get'](_0x71412e)['getFootnote'](_0x1ead6a);return!!_0x32ced5&&(_0x39d1b3['change'](_0x4599c5=>{_0x4599c5['setSelection'](_0x32ced5['reference'],'on');}),_0x549494['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x29e23b}=this['editor']['model'],_0x3c2ce5=this['editor']['config']['get']('footnotes.multiBlock');_0x29e23b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x29e23b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x29e23b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3c2ce5?_0x29e23b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x29e23b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x29e23b['addChildCheck'](_0x561231=>{for(const _0x16747a of _0x561231)if('footnoteDefinition'===_0x16747a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2469f9}=this,{conversion:_0x6fbd5d,editing:_0x11debd}=_0x2469f9,{t:t}=_0x2469f9['locale'];_0x6fbd5d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xfafe63,{writer:_0x2afde8,consumable:_0x343c1e})=>{const _0x466e5b=_0xfafe63['getChild'](0x0);if(!_0x466e5b||!_0x466e5b['is']('element','a'))return null;const _0x5619ce=_0x466e5b['getAttribute']('href')||'';if(!_0x5619ce['startsWith']('#'))return null;const _0x4d3c35=_0x5619ce['replace'](/^#/,'');if(!_0x4d3c35)return null;_0x343c1e['consume'](_0x466e5b,{'name':!0x0,'attributes':['href']});for(const {item:_0x354618}of _0x11debd['view']['createRangeIn'](_0x466e5b))_0x354618['is']('$textProxy')?_0x343c1e['consume'](_0x354618['textNode'],{'name':!0x0}):_0x354618['is']('element')&&_0x343c1e['consume'](_0x354618,{'name':!0x0});return _0x2afde8['createElement']('footnoteRef',{'footnoteId':_0x4d3c35});}}),_0x6fbd5d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x7e532d,{writer:_0x3858f3})=>b(_0x7e532d,_0x3858f3)}),_0x6fbd5d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x10e5e2,{writer:_0x1e8d38})=>{const _0x5639a1=_0x10e5e2['getAttribute']('footnoteCounter');return _0x48a9ca(b(_0x10e5e2,_0x1e8d38),_0x1e8d38,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5639a1)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3ed52d}=this,{t:t}=_0x3ed52d['locale'],{conversion:_0x1b3117}=_0x3ed52d;_0x1b3117['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1b3117['for']('upcast')['add'](_0x619fd9=>{_0x619fd9['on']('element:ol',(_0x25f338,_0x13172b,_0x15dc86)=>{const _0x29e571=_0x13172b['viewItem'];if(!_0x29e571['hasClass']('footnotes-list')||!_0x13172b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x15dc86['consumable']['consume'](_0x29e571,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x157a75,modelCursor:_0x28a76f}=_0x15dc86['convertChildren'](_0x13172b['viewItem'],_0x13172b['modelCursor']);_0x13172b['modelRange']=_0x157a75,_0x13172b['modelCursor']=_0x28a76f;}),_0x619fd9['on']('element:hr',(_0x3c00c2,_0x1db116,_0x252d51)=>{const _0x590c4a=_0x1db116['viewItem'];_0x590c4a['hasClass']('footnotes-divider')&&_0x1db116['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x252d51['consumable']['consume'](_0x590c4a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1b3117['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x477cfb,{writer:_0x22b0f8})=>D(_0x22b0f8)}),_0x1b3117['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x51b322,{writer:_0x288282})=>{const _0xd95e27=D(_0x288282,{'data-footnotes-list-label':t('Footnotes')}),_0x36da1d=_0x48a9ca(_0xd95e27,_0x288282,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x288282['setCustomProperty']('footnotesDefinitions',!0x0,_0x36da1d),_0x36da1d;}});}['_defineDefinitionConverters'](){const {editor:_0x3c070f}=this,{conversion:_0x4d9e03,locale:_0x55fcd0}=_0x3c070f,_0x51d573=_0x3c070f['config']['get']('footnotes.multiBlock');_0x4d9e03['for']('upcast')['add'](_0x5b333e=>{_0x5b333e['on']('element:li',(_0x27b6a5,_0xc71df6,_0x565f28)=>{const _0x2fcdab=_0xc71df6['viewItem'];if(!_0x2fcdab['hasClass']('footnote-definition')||!_0x2fcdab['getAttribute']('id'))return;const _0x7cfdd7=_0x2fcdab['parent'];if(!_0x7cfdd7['is']('element','ol')||!_0x7cfdd7['hasClass']('footnotes-list'))return;if(!_0x565f28['consumable']['test'](_0x2fcdab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4da9b7=_0x565f28['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x2fcdab['getAttribute']('id')});if(!_0x565f28['safeInsert'](_0x4da9b7,_0xc71df6['modelCursor']))return;_0x565f28['consumable']['consume'](_0x2fcdab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5b1104=Array['from'](_0x2fcdab['getChildren']())['find'](_0x26e5d3=>_0x26e5d3['is']('element')&&_0x26e5d3['hasClass']('footnote-content'));for(const _0xf69f4c of _0x2fcdab['getChildren']())_0xf69f4c['is']('element')&&(_0x565f28['consumable']['consume'](_0xf69f4c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x565f28['consumable']['consume'](_0xf69f4c,{'name':!0x0,'classes':'footnote-content'}));if(_0x5b1104){if(_0x51d573)_0x565f28['convertChildren'](_0x5b1104,_0x4da9b7);else{const _0x19eab3=_0x565f28['writer']['createElement']('footnoteInlineContent');_0x565f28['writer']['insert'](_0x19eab3,_0x4da9b7),_0x565f28['convertChildren'](_0x5b1104,_0x19eab3);}}_0x565f28['updateConversionResult'](_0x4da9b7,_0xc71df6);});}),_0x4d9e03['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x534463,{writer:_0x4e2a55})=>y(_0x534463,_0x4e2a55,_0x55fcd0,{'dataPipeline':!0x0})}),_0x4d9e03['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x170e13,{writer:_0x5ebbf0})=>y(_0x170e13,_0x5ebbf0,_0x55fcd0)});}['_defineBogusParagraphConverters'](){const {editor:_0x4afe4b}=this,{conversion:_0x375f59}=_0x4afe4b;_0x4afe4b['config']['get']('footnotes.multiBlock')?(_0x375f59['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x375f59['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4afe4b['model']['document'],'change:data',()=>{!function(_0x28767c,_0x6238bf){const _0x4f3d3a=_0x28767c['document']['differ'],_0x3738a8=new Set();for(const _0x292be6 of _0x4f3d3a['getChanges']()){const _0x3af442='attribute'==_0x292be6['type']?_0x292be6['range']['start']['parent']:_0x292be6['position']['parent'];_0x3af442['is']('element','footnoteDefinition')&&_0x3738a8['add'](_0x3af442);}for(const _0x3c1f01 of _0x3738a8['values']()){const _0x7e759e=Array['from'](_0x3c1f01['getChildren']())['filter'](_0x2369c9=>v(_0x2369c9,_0x6238bf['mapper']));for(const _0x3e720f of _0x7e759e)_0x6238bf['reconvertItem'](_0x3e720f);}}(_0x4afe4b['model'],_0x4afe4b['editing']);})):(_0x375f59['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x375f59['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x22fd79,{writer:_0x1ac306})=>{const _0x274ded=_0x1ac306['createContainerElement']('span');return _0x1ac306['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x274ded),_0x274ded;}}));}['_defineKeyboardHandlers'](){const {editor:_0x52bb6a}=this,{editing:_0x562cd2,t:t}=_0x52bb6a,_0x39916b=_0x52bb6a['model']['document']['selection'];_0x52bb6a['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x52bb6a['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x562cd2['view']['document'],'enter',(_0x294746,_0x44a823)=>{const _0x1338df=function(_0x5e6df9){const _0x45b1dc=_0x5e6df9['getSelectedElement']();if(_0x45b1dc?.['is']('element','footnoteRef'))return _0x45b1dc;return null;}(_0x39916b);if(_0x1338df){const _0x9612be=_0x1338df['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x9612be),_0x44a823['preventDefault'](),_0x294746['stop']();}},{'context':_0x3f3198});}['_defineClickHandlers'](){const {editor:_0xb95ec3}=this,{editing:_0x55f971}=_0xb95ec3;_0xb95ec3['editing']['view']['addObserver'](_0x4a6a14),_0xb95ec3['editing']['view']['addObserver'](_0x24a901);let _0x2ba336=!0x1;this['listenTo'](_0x55f971['view']['document'],'pointerdown',(_0x22c568,_0xa9fa7c)=>{const {target:_0x290cb2}=_0xa9fa7c,_0x8cf837=_0x55f971['view']['document']['selection'];_0x2ba336=!!(_0x290cb2?.['is']('element','a')&&_0x290cb2['parent']?.['is']('element','sup')&&_0x290cb2['parent']['hasClass']('footnote'))&&_0x8cf837['getSelectedElement']()===_0x290cb2['parent'];},{'priority':'high'}),this['listenTo'](_0x55f971['view']['document'],'click',(_0x37c657,_0x558365)=>{const {target:_0xa38e53}=_0x558365;if(!_0xa38e53?.['is']('element','a'))return;if(_0xa38e53['parent']?.['is']('element','sup')&&_0xa38e53['parent']['hasClass']('footnote')&&!_0x2ba336)return void _0x558365['preventDefault']();let _0x175746=_0xa38e53['getAttribute']('href');if(!_0x175746?.['startsWith']('#'))return;_0x175746=_0x175746['slice'](0x1);let _0x39749f=!0x1;(_0x175746['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x175746['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x175746))&&(_0x39749f=!0x0),_0x39749f&&(_0x558365['preventDefault'](),_0x37c657['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x275291}={}){return(_0xeee9ed,{writer:_0x2a6948})=>{if(!g(_0xeee9ed))return null;if(!_0x275291)return _0x2a6948['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3d30a4=_0x2a6948['createContainerElement']('p');return _0x2a6948['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3d30a4),_0x3d30a4;};}function g(_0x3debdb){const {parent:_0x37de85}=_0x3debdb;if(!_0x37de85?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x37de85['childCount'])return!0x1;for(const _0x33f7b4 of _0x3debdb['getAttributeKeys']())if(!_0x33f7b4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x33f7b4)return!0x1;return!0x0;}function v(_0x100e83,_0x287f1d){if(!_0x100e83['is']('element','paragraph'))return!0x1;const _0x47d385=_0x287f1d['toViewElement'](_0x100e83);return!!_0x47d385&&g(_0x100e83)!==_0x47d385['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xb5ac35){return _0x3f3198(_0xb5ac35)&&_0xb5ac35['is']('containerElement')&&!!_0xb5ac35['getCustomProperty']('footnotesDefinitions');}function D(_0x2d1eb7,_0x529822={}){const _0x12b00f=_0x2d1eb7['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3c12c8=_0x2d1eb7['createContainerElement']('ol',{'class':'footnotes-list'},_0x2d1eb7['createSlot']());return _0x2d1eb7['createContainerElement']('div',{'class':'footnotes',..._0x529822},[_0x12b00f,_0x3c12c8]);}function b(_0x3661fb,_0xf93853){const _0x339281=_0x3661fb['getAttribute']('footnoteId'),_0x3e2aff=_0x3661fb['getAttribute']('footnoteCounter'),_0x4cd207=_0xf93853['createUIElement']('a',{'href':'#'+_0x339281},function(_0x5ba5e5){const _0x3f8387=this['toDomElement'](_0x5ba5e5);return _0x3f8387['textContent']=_0x3e2aff,_0x3f8387;}),_0x46e772=_0xf93853['createContainerElement']('sup',{'id':'ref-'+_0x339281,'class':'footnote'},[_0x4cd207]);return _0x46e772['getFillerOffset']=()=>null,_0x46e772;}function y(_0x23e237,_0x5d74dc,_0x3e91f9,{dataPipeline:_0x201b23}={}){const {t:t}=_0x3e91f9,_0x564054=_0x23e237['getAttribute']('footnoteId'),_0x39f3a6=_0x5d74dc['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x564054},function(_0x2cfc1f){const _0x164d38=this['toDomElement'](_0x2cfc1f);return _0x164d38['innerText']='^',_0x164d38;}),_0x29c6e6=_0x201b23?_0x5d74dc['createContainerElement']('div',{'class':'footnote-content'}):_0x50723d(_0x5d74dc['createEditableElement']('div',{'class':'footnote-content'}),_0x5d74dc,{'label':t('Footnote\x20content.')});return _0x5d74dc['insert'](_0x5d74dc['createPositionAt'](_0x29c6e6,0x0),_0x5d74dc['createSlot']()),_0x5d74dc['createContainerElement']('li',{'class':'footnote-definition','id':_0x564054},[_0x39f3a6,_0x29c6e6]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b81(){const _0x50a7b6=['isEnabled','19630zilYMI','model','3057xwGcNn','149190uPDBkY','get','getAttribute','isInteger','value','plugins','563632pbMjau','change','185staKak','_updateFootnotesCounters','9rekCnz','12677gRJkkE','footnotesListStart','3027300NgVqYC','654ywEnOt','setAttribute','execute','getFootnotesDefinitionsObjectElement','refresh','14488562qDylbZ','3464LigNzg'];_0x4b81=function(){return _0x50a7b6;};return _0x4b81();}function _0xcf87(_0xc72ca7,_0x5e03d4){const _0x4b8182=_0x4b81();return _0xcf87=function(_0xcf8745,_0x2e60b2){_0xcf8745=_0xcf8745-0x17d;let _0x1a1a3c=_0x4b8182[_0xcf8745];return _0x1a1a3c;},_0xcf87(_0xc72ca7,_0x5e03d4);}const _0x93e836=_0xcf87;(function(_0x29ffa1,_0x3809e1){const _0x5873c4=_0xcf87,_0x182055=_0x29ffa1();while(!![]){try{const _0x32cf39=parseInt(_0x5873c4(0x187))/0x1+parseInt(_0x5873c4(0x18f))/0x2*(parseInt(_0x5873c4(0x180))/0x3)+-parseInt(_0x5873c4(0x18e))/0x4+parseInt(_0x5873c4(0x189))/0x5*(parseInt(_0x5873c4(0x181))/0x6)+parseInt(_0x5873c4(0x18c))/0x7*(parseInt(_0x5873c4(0x195))/0x8)+-parseInt(_0x5873c4(0x18b))/0x9*(parseInt(_0x5873c4(0x17e))/0xa)+-parseInt(_0x5873c4(0x194))/0xb;if(_0x32cf39===_0x3809e1)break;else _0x182055['push'](_0x182055['shift']());}catch(_0x578022){_0x182055['push'](_0x182055['shift']());}}}(_0x4b81,0x8031b));import{Command as _0x1ab73d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xfc6b3a}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x1ab73d{[_0x93e836(0x193)](){const _0x218d12=_0x93e836,{editor:_0x2ca2b0}=this,_0x5b8cc9=_0x2ca2b0[_0x218d12(0x186)][_0x218d12(0x182)](_0xfc6b3a)[_0x218d12(0x192)]();this[_0x218d12(0x17d)]=!!_0x5b8cc9,this[_0x218d12(0x185)]=_0x5b8cc9?.[_0x218d12(0x183)](_0x218d12(0x18d))??null;}[_0x93e836(0x191)]({value:_0x471bc0}){const _0x28b7d7=_0x93e836,{editor:_0x3c3780}=this,_0x61a628=_0x3c3780[_0x28b7d7(0x186)][_0x28b7d7(0x182)](_0xfc6b3a),_0x145711=_0x61a628[_0x28b7d7(0x192)]();_0x145711&&Number[_0x28b7d7(0x184)](_0x471bc0)&&_0x3c3780[_0x28b7d7(0x17f)][_0x28b7d7(0x188)](_0x57730d=>{const _0x245411=_0x28b7d7;_0x57730d[_0x245411(0x190)](_0x245411(0x18d),_0x471bc0,_0x145711),_0x61a628[_0x245411(0x18a)](_0x57730d);});}}
23
+ function _0x49af(_0xf4ae8d,_0x295642){const _0x36eb71=_0x36eb();return _0x49af=function(_0x49affa,_0x4e6830){_0x49affa=_0x49affa-0x131;let _0x336715=_0x36eb71[_0x49affa];return _0x336715;},_0x49af(_0xf4ae8d,_0x295642);}const _0x27ec7f=_0x49af;(function(_0x2e3e8a,_0x6a237){const _0x15b440=_0x49af,_0x8767be=_0x2e3e8a();while(!![]){try{const _0x131a14=-parseInt(_0x15b440(0x13d))/0x1+parseInt(_0x15b440(0x13f))/0x2+parseInt(_0x15b440(0x13c))/0x3+parseInt(_0x15b440(0x13b))/0x4*(parseInt(_0x15b440(0x136))/0x5)+-parseInt(_0x15b440(0x144))/0x6+-parseInt(_0x15b440(0x147))/0x7+-parseInt(_0x15b440(0x134))/0x8*(-parseInt(_0x15b440(0x13e))/0x9);if(_0x131a14===_0x6a237)break;else _0x8767be['push'](_0x8767be['shift']());}catch(_0x521ba2){_0x8767be['push'](_0x8767be['shift']());}}}(_0x36eb,0x3c5be));import{Command as _0xf53ac8}from'ckeditor5/src/core.js';function _0x36eb(){const _0x2fcbb4=['308001touGsX','57916ozoNKv','753849yBiZKo','108002iXTbOL','_updateFootnotesCounters','isEnabled','model','footnotesListStart','1491276CPFCpG','plugins','isInteger','358561VuYMyt','refresh','getAttribute','setAttribute','40qHyhRp','execute','147210WwEDyt','getFootnotesDefinitionsObjectElement','change','get','value','4ItiUbW'];_0x36eb=function(){return _0x2fcbb4;};return _0x36eb();}import{FootnotesTracker as _0x4e20a9}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0xf53ac8{[_0x27ec7f(0x131)](){const _0x40d27a=_0x27ec7f,{editor:_0x2d3609}=this,_0x41d368=_0x2d3609[_0x40d27a(0x145)][_0x40d27a(0x139)](_0x4e20a9)[_0x40d27a(0x137)]();this[_0x40d27a(0x141)]=!!_0x41d368,this[_0x40d27a(0x13a)]=_0x41d368?.[_0x40d27a(0x132)](_0x40d27a(0x143))??null;}[_0x27ec7f(0x135)]({value:_0xb79b42}){const _0x455f73=_0x27ec7f,{editor:_0x205c9c}=this,_0xa6a6c8=_0x205c9c[_0x455f73(0x145)][_0x455f73(0x139)](_0x4e20a9),_0x436ee5=_0xa6a6c8[_0x455f73(0x137)]();_0x436ee5&&Number[_0x455f73(0x146)](_0xb79b42)&&_0x205c9c[_0x455f73(0x142)][_0x455f73(0x138)](_0x4c51e0=>{const _0x303213=_0x455f73;_0x4c51e0[_0x303213(0x133)](_0x303213(0x143),_0xb79b42,_0x436ee5),_0xa6a6c8[_0x303213(0x140)](_0x4c51e0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x70f4(){const _0x26d264=['setAttribute','3184mOYJyB','337169nIKoJj','value','execute','11212yYjuiJ','refresh','change','1851272ShEznD','_updateFootnotesCounters','35007unkLOc','isEnabled','model','335sLHJVk','3820941MFggJt','30qZwLlG','1167410khdaQj','get','plugins','includes','getFootnotesDefinitionsObjectElement','getAttribute','footnotesListStyle','268BezIyv'];_0x70f4=function(){return _0x26d264;};return _0x70f4();}const _0x59fc31=_0x5e07;(function(_0x461be6,_0x3c9468){const _0x37e3ed=_0x5e07,_0x50b5d5=_0x461be6();while(!![]){try{const _0x2d71b7=parseInt(_0x37e3ed(0xbc))/0x1*(parseInt(_0x37e3ed(0xba))/0x2)+parseInt(_0x37e3ed(0xc5))/0x3+parseInt(_0x37e3ed(0xc0))/0x4*(parseInt(_0x37e3ed(0xc8))/0x5)+-parseInt(_0x37e3ed(0xb2))/0x6*(parseInt(_0x37e3ed(0xbd))/0x7)+parseInt(_0x37e3ed(0xc3))/0x8+-parseInt(_0x37e3ed(0xc9))/0x9+parseInt(_0x37e3ed(0xb3))/0xa;if(_0x2d71b7===_0x3c9468)break;else _0x50b5d5['push'](_0x50b5d5['shift']());}catch(_0x2bd7f8){_0x50b5d5['push'](_0x50b5d5['shift']());}}}(_0x70f4,0x4b69c));function _0x5e07(_0x3cdc8f,_0xe90ae){const _0x70f433=_0x70f4();return _0x5e07=function(_0x5e070a,_0x561db3){_0x5e070a=_0x5e070a-0xb2;let _0x594f7f=_0x70f433[_0x5e070a];return _0x594f7f;},_0x5e07(_0x3cdc8f,_0xe90ae);}import{Command as _0x55f28a}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x9c4715}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x376c65}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x55f28a{[_0x59fc31(0xc1)](){const _0x2cd9f8=_0x59fc31,{editor:_0x2c1b0a}=this,_0x151da3=_0x2c1b0a[_0x2cd9f8(0xb5)][_0x2cd9f8(0xb4)](_0x376c65)[_0x2cd9f8(0xb7)]();this[_0x2cd9f8(0xc6)]=!!_0x151da3,this[_0x2cd9f8(0xbe)]=_0x151da3?.[_0x2cd9f8(0xb8)](_0x2cd9f8(0xb9))??null;}[_0x59fc31(0xbf)]({value:_0x44c5a1}){const _0x247d0e=_0x59fc31,{editor:_0x1fcfda}=this,_0x30200d=_0x1fcfda[_0x247d0e(0xb5)][_0x247d0e(0xb4)](_0x376c65),_0x321166=_0x30200d[_0x247d0e(0xb7)]();_0x321166&&_0x9c4715[_0x247d0e(0xb6)](_0x44c5a1)&&_0x1fcfda[_0x247d0e(0xc7)][_0x247d0e(0xc2)](_0xe233cf=>{const _0x33da5f=_0x247d0e;_0xe233cf[_0x33da5f(0xbb)](_0x33da5f(0xb9),_0x44c5a1,_0x321166),_0x30200d[_0x33da5f(0xc4)](_0xe233cf);});}}
23
+ function _0x3cfd(){const _0x51942a=['76800HeAUtG','change','4sRDuiJ','999760qPTObK','3120816byDcgj','102qywGtw','model','getFootnotesDefinitionsObjectElement','includes','_updateFootnotesCounters','plugins','value','250804GhCWxW','isEnabled','5232642YCokWq','setAttribute','get','refresh','execute','getAttribute','footnotesListStyle','5868275zWBuvj','5nmFRcy','1913274xOEmBE'];_0x3cfd=function(){return _0x51942a;};return _0x3cfd();}const _0x5a704e=_0x303d;(function(_0xe5b195,_0x560a5e){const _0x40130d=_0x303d,_0x135621=_0xe5b195();while(!![]){try{const _0x2b94c6=parseInt(_0x40130d(0x202))/0x1*(-parseInt(_0x40130d(0x1f4))/0x2)+parseInt(_0x40130d(0x205))/0x3*(parseInt(_0x40130d(0x200))/0x4)+parseInt(_0x40130d(0x1fe))/0x5*(parseInt(_0x40130d(0x1f6))/0x6)+-parseInt(_0x40130d(0x1fd))/0x7+parseInt(_0x40130d(0x204))/0x8+-parseInt(_0x40130d(0x1ff))/0x9+parseInt(_0x40130d(0x203))/0xa;if(_0x2b94c6===_0x560a5e)break;else _0x135621['push'](_0x135621['shift']());}catch(_0x2d14f8){_0x135621['push'](_0x135621['shift']());}}}(_0x3cfd,0x70e82));import{Command as _0x1ab49d}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x56a8a1}from'../footnotespropertiesconfig.js';function _0x303d(_0x214f08,_0x33e17a){const _0x3cfd3b=_0x3cfd();return _0x303d=function(_0x303db2,_0x18e1c8){_0x303db2=_0x303db2-0x1ef;let _0x349498=_0x3cfd3b[_0x303db2];return _0x349498;},_0x303d(_0x214f08,_0x33e17a);}import{FootnotesTracker as _0x25ef49}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x1ab49d{[_0x5a704e(0x1f9)](){const _0x142513=_0x5a704e,{editor:_0x582907}=this,_0x33aaf3=_0x582907[_0x142513(0x1f2)][_0x142513(0x1f8)](_0x25ef49)[_0x142513(0x1ef)]();this[_0x142513(0x1f5)]=!!_0x33aaf3,this[_0x142513(0x1f3)]=_0x33aaf3?.[_0x142513(0x1fb)](_0x142513(0x1fc))??null;}[_0x5a704e(0x1fa)]({value:_0x8c1dd7}){const _0x2de238=_0x5a704e,{editor:_0x495011}=this,_0x21f9ea=_0x495011[_0x2de238(0x1f2)][_0x2de238(0x1f8)](_0x25ef49),_0x440807=_0x21f9ea[_0x2de238(0x1ef)]();_0x440807&&_0x56a8a1[_0x2de238(0x1f0)](_0x8c1dd7)&&_0x495011[_0x2de238(0x206)][_0x2de238(0x201)](_0x35b6ef=>{const _0x8f90f0=_0x2de238;_0x35b6ef[_0x8f90f0(0x1f7)](_0x8f90f0(0x1fc),_0x8c1dd7,_0x440807),_0x21f9ea[_0x8f90f0(0x1f1)](_0x35b6ef);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x503c(_0x4558ca,_0x2bd915){const _0x184038=_0x1840();return _0x503c=function(_0x503ce3,_0x56046b){_0x503ce3=_0x503ce3-0xe9;let _0x2a6ed8=_0x184038[_0x503ce3];return _0x2a6ed8;},_0x503c(_0x4558ca,_0x2bd915);}function _0x1840(){const _0x22c17d=['1428576gkHtZc','upper-roman','120uFRdSi','lower-alpha','3793992ePMTaD','8952702CvTfqM','upper-alpha','248510PufOII','upper-latin','decimal-leading-zero','decimal','5bWqUXB','45194622TjUNLK','lower-latin','45RCJJGS','7JlxipF','lower-roman','394578AagsFH','2893268kCopVC'];_0x1840=function(){return _0x22c17d;};return _0x1840();}const _0x12f137=_0x503c;(function(_0x42e6ba,_0x193aad){const _0x39d1fc=_0x503c,_0x1ae881=_0x42e6ba();while(!![]){try{const _0x26ed9d=parseInt(_0x39d1fc(0xef))/0x1+-parseInt(_0x39d1fc(0xf6))/0x2*(-parseInt(_0x39d1fc(0xea))/0x3)+-parseInt(_0x39d1fc(0xee))/0x4+-parseInt(_0x39d1fc(0xfa))/0x5*(-parseInt(_0x39d1fc(0xf4))/0x6)+parseInt(_0x39d1fc(0xeb))/0x7*(parseInt(_0x39d1fc(0xf3))/0x8)+parseInt(_0x39d1fc(0xed))/0x9*(parseInt(_0x39d1fc(0xf1))/0xa)+-parseInt(_0x39d1fc(0xfb))/0xb;if(_0x26ed9d===_0x193aad)break;else _0x1ae881['push'](_0x1ae881['shift']());}catch(_0x3e2724){_0x1ae881['push'](_0x1ae881['shift']());}}}(_0x1840,0xe8a78));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x12f137(0xf9),_0x12f137(0xf8),_0x12f137(0xe9),_0x12f137(0xf7),_0x12f137(0xf2),_0x12f137(0xf5),_0x12f137(0xec),_0x12f137(0xf0)];
23
+ function _0x4ad4(_0x3362bf,_0x26d9e9){const _0x151de8=_0x151d();return _0x4ad4=function(_0x4ad43d,_0x3e9ff6){_0x4ad43d=_0x4ad43d-0x66;let _0x4768e2=_0x151de8[_0x4ad43d];return _0x4768e2;},_0x4ad4(_0x3362bf,_0x26d9e9);}const _0x10ae45=_0x4ad4;(function(_0x7f79bd,_0x54c399){const _0x3b1d10=_0x4ad4,_0x1da252=_0x7f79bd();while(!![]){try{const _0x34507b=-parseInt(_0x3b1d10(0x68))/0x1+parseInt(_0x3b1d10(0x6b))/0x2+-parseInt(_0x3b1d10(0x73))/0x3*(parseInt(_0x3b1d10(0x6e))/0x4)+-parseInt(_0x3b1d10(0x67))/0x5+-parseInt(_0x3b1d10(0x76))/0x6*(parseInt(_0x3b1d10(0x72))/0x7)+parseInt(_0x3b1d10(0x69))/0x8+parseInt(_0x3b1d10(0x6a))/0x9*(parseInt(_0x3b1d10(0x66))/0xa);if(_0x34507b===_0x54c399)break;else _0x1da252['push'](_0x1da252['shift']());}catch(_0x4036b8){_0x1da252['push'](_0x1da252['shift']());}}}(_0x151d,0x2da61));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x10ae45(0x6f),_0x10ae45(0x71),_0x10ae45(0x75),_0x10ae45(0x6c),_0x10ae45(0x77),_0x10ae45(0x6d),_0x10ae45(0x74),_0x10ae45(0x70)];function _0x151d(){const _0x21cca6=['upper-latin','upper-alpha','58232dBzRex','decimal','upper-roman','decimal-leading-zero','30177KHMOER','69LCUyYQ','lower-roman','lower-latin','408YAegjR','lower-alpha','4569980xXBFyS','997600apewrf','315983kOfcRt','663456dTxLPr','18rttFmi','667068UjeBbE'];_0x151d=function(){return _0x21cca6;};return _0x151d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x11a129=_0x13c0;function _0x13c0(_0x5585f6,_0x11c3bf){const _0xe7c62e=_0xe7c6();return _0x13c0=function(_0x13c02c,_0x41f29b){_0x13c02c=_0x13c02c-0x109;let _0x4a9063=_0xe7c62e[_0x13c02c];return _0x4a9063;},_0x13c0(_0x5585f6,_0x11c3bf);}(function(_0x3faec3,_0x3db1e9){const _0x47df3f=_0x13c0,_0x11ecab=_0x3faec3();while(!![]){try{const _0x128b6d=-parseInt(_0x47df3f(0x146))/0x1*(-parseInt(_0x47df3f(0x16e))/0x2)+parseInt(_0x47df3f(0x162))/0x3*(-parseInt(_0x47df3f(0x110))/0x4)+parseInt(_0x47df3f(0x13a))/0x5*(-parseInt(_0x47df3f(0x12d))/0x6)+-parseInt(_0x47df3f(0x16d))/0x7*(-parseInt(_0x47df3f(0x150))/0x8)+-parseInt(_0x47df3f(0x161))/0x9*(-parseInt(_0x47df3f(0x164))/0xa)+parseInt(_0x47df3f(0x12e))/0xb+-parseInt(_0x47df3f(0x11f))/0xc;if(_0x128b6d===_0x3db1e9)break;else _0x11ecab['push'](_0x11ecab['shift']());}catch(_0x5c1997){_0x11ecab['push'](_0x11ecab['shift']());}}}(_0xe7c6,0x93763));import{Plugin as _0x4f7986}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x28c587}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59cc50}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e61d7}from'../footnotestracker.js';import{FootnotesEditing as _0x385052}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4f7986{static get[_0x11a129(0x14e)](){const _0xa9fe5c=_0x11a129;return _0xa9fe5c(0x159);}static get[_0x11a129(0x15b)](){return[_0x385052,_0x4e61d7];}static get[_0x11a129(0x140)](){return!0x0;}static get[_0x11a129(0x123)](){return!0x0;}[_0x11a129(0x117)](){const _0x4636e4=_0x11a129,{editor:_0x1336a4}=this;_0x1336a4[_0x4636e4(0x13e)][_0x4636e4(0x134)](_0x4636e4(0x114),_0x4636e4(0x10a)),_0x1336a4[_0x4636e4(0x13e)][_0x4636e4(0x134)](_0x4636e4(0x166),0x1),_0x1336a4[_0x4636e4(0x15a)][_0x4636e4(0x116)](_0x4636e4(0x10c),new _0x28c587(_0x1336a4)),_0x1336a4[_0x4636e4(0x15a)][_0x4636e4(0x116)](_0x4636e4(0x155),new _0x59cc50(_0x1336a4)),this[_0x4636e4(0x120)](),this[_0x4636e4(0x11e)](),this[_0x4636e4(0x14b)](),this[_0x4636e4(0x163)]();}[_0x11a129(0x120)](){const _0x387ae1=_0x11a129,{editor:_0x3d98e1}=this,{schema:_0x5906eb}=_0x3d98e1[_0x387ae1(0x127)];_0x5906eb[_0x387ae1(0x111)](_0x387ae1(0x14c),{'allowAttributes':[_0x387ae1(0x126),_0x387ae1(0x165)]});}[_0x11a129(0x11e)](){const _0x30678a=_0x11a129,{editor:_0x52a830}=this,{conversion:_0x567659,model:_0x2e1c72}=_0x52a830,{schema:_0x5e4c4c}=_0x2e1c72;_0x567659[_0x30678a(0x149)](_0x30678a(0x124))[_0x30678a(0x116)](_0x49beb0=>{const _0x3e7e06=_0x30678a;_0x49beb0['on'](_0x3e7e06(0x133),(_0x729911,_0x27f9ca,_0x58ce36)=>{const _0x22296c=_0x3e7e06,_0x1c5fd3=_0x27f9ca[_0x22296c(0x15c)],_0x421415=_0x27f9ca[_0x22296c(0x12a)]?.[_0x22296c(0x14d)];_0x1c5fd3[_0x22296c(0x138)](_0x22296c(0x14f))&&_0x421415?.['is'](_0x22296c(0x158),_0x22296c(0x14c))&&(function(_0x47a43f,_0x425164,_0x58a062,_0x2f3834){const _0x32c2b1=_0x22296c;if(!_0x2f3834[_0x32c2b1(0x135)](_0x425164,_0x32c2b1(0x165)))return;let _0x4ba84c=0x1;const _0x35dc59=_0x58a062[_0x32c2b1(0x15d)][_0x32c2b1(0x130)](_0x47a43f,{'attributes':_0x32c2b1(0x168)});if(_0x35dc59){const _0x53faff=Number[_0x32c2b1(0x11d)](_0x47a43f[_0x32c2b1(0x118)](_0x32c2b1(0x168)),0xa);Number[_0x32c2b1(0x13d)](_0x53faff)||(_0x4ba84c=_0x53faff);}!_0x35dc59&&_0x425164[_0x32c2b1(0x131)](_0x32c2b1(0x165))||_0x58a062[_0x32c2b1(0x13c)][_0x32c2b1(0x112)](_0x32c2b1(0x165),_0x4ba84c,_0x425164);}(_0x1c5fd3,_0x421415,_0x58ce36,_0x5e4c4c),function(_0x591d9c,_0x50fd2a,_0x4a5439,_0x38ac86){const _0x1edabb=_0x22296c;if(!_0x38ac86[_0x1edabb(0x135)](_0x50fd2a,_0x1edabb(0x126)))return;let _0x26b91b=_0x1edabb(0x10a),_0x21e398=!0x1;if(_0x4a5439[_0x1edabb(0x15d)][_0x1edabb(0x130)](_0x591d9c,{'attributes':_0x1edabb(0x132)})){const _0x2b5376={0x1:_0x1edabb(0x10a),'a':_0x1edabb(0x122),'A':_0x1edabb(0x11c),'i':_0x1edabb(0x145),'I':_0x1edabb(0x160)}[_0x591d9c[_0x1edabb(0x118)](_0x1edabb(0x132))];_0x2b5376&&(_0x26b91b=_0x2b5376),_0x21e398=!0x0;}_0x4a5439[_0x1edabb(0x15d)][_0x1edabb(0x130)](_0x591d9c,{'styles':_0x1edabb(0x10f)})&&(_0x26b91b=function(_0x479ee3){const _0x34813b=_0x1edabb;switch(_0x479ee3){case _0x34813b(0x122):return _0x34813b(0x12b);case _0x34813b(0x11c):return _0x34813b(0x11a);default:return _0x479ee3;}}(_0x591d9c[_0x1edabb(0x141)](_0x1edabb(0x10f))),_0x21e398=!0x0),!_0x21e398&&_0x50fd2a[_0x1edabb(0x131)](_0x1edabb(0x126))||_0x4a5439[_0x1edabb(0x13c)][_0x1edabb(0x112)](_0x1edabb(0x126),_0x26b91b,_0x50fd2a);}(_0x1c5fd3,_0x421415,_0x58ce36,_0x5e4c4c));});}),_0x567659[_0x30678a(0x149)](_0x30678a(0x151))[_0x30678a(0x116)](_0x4aa558=>{const _0xd8861d=_0x30678a;_0x4aa558['on'](_0xd8861d(0x144),(_0x40625f,_0xad9402,_0x44012a)=>{const _0x1cca1f=_0xd8861d;if(!_0x44012a[_0x1cca1f(0x15d)][_0x1cca1f(0x130)](_0xad9402[_0x1cca1f(0x16b)],_0x40625f[_0x1cca1f(0x16a)]))return;const _0x16b6cc=M(_0xad9402[_0x1cca1f(0x16b)],_0x44012a[_0x1cca1f(0x14a)]),{attributeNewValue:_0x574d39}=_0xad9402;null==_0x574d39||0x1===_0x574d39?_0x44012a[_0x1cca1f(0x13c)][_0x1cca1f(0x147)](_0x1cca1f(0x168),_0x16b6cc):_0x44012a[_0x1cca1f(0x13c)][_0x1cca1f(0x112)](_0x1cca1f(0x168),String(_0x574d39),_0x16b6cc);}),_0x4aa558['on'](_0xd8861d(0x129),(_0x4ace86,_0x39c935,_0x509e04)=>{const _0xe727a1=_0xd8861d;if(!_0x509e04[_0xe727a1(0x15d)][_0xe727a1(0x130)](_0x39c935[_0xe727a1(0x16b)],_0x4ace86[_0xe727a1(0x16a)]))return;const _0x406fbb=M(_0x39c935[_0xe727a1(0x16b)],_0x509e04[_0xe727a1(0x14a)]),{attributeNewValue:_0xf2823}=_0x39c935;_0xf2823&&_0xe727a1(0x10a)!==_0xf2823?_0x509e04[_0xe727a1(0x13c)][_0xe727a1(0x121)](_0xe727a1(0x10f),_0xf2823,_0x406fbb):_0x509e04[_0xe727a1(0x13c)][_0xe727a1(0x13f)](_0xe727a1(0x10f),_0x406fbb);});});}[_0x11a129(0x163)](){const _0x11e265=_0x11a129,{editor:_0x279aba}=this,{model:_0x12d75c}=_0x279aba,_0x5db1bd=_0x279aba[_0x11e265(0x13b)][_0x11e265(0x143)](_0x4e61d7),_0xbc4513=this[_0x11e265(0x119)](),_0x2b8d20=this[_0x11e265(0x157)]();_0x12d75c[_0x11e265(0x16c)][_0x11e265(0x137)](_0x444219=>{const _0x2a0812=_0x11e265,_0x2bd8df=_0x12d75c[_0x2a0812(0x16c)][_0x2a0812(0x15f)][_0x2a0812(0x136)]();let _0x1daed9=!0x1;for(const _0x10af7f of _0x2bd8df){if(_0x2a0812(0x153)!==_0x10af7f[_0x2a0812(0x132)]||_0x2a0812(0x11b)===_0x10af7f[_0x2a0812(0x16a)])continue;const _0x580aa0=_0x12d75c[_0x2a0812(0x12c)](_0x10af7f[_0x2a0812(0x152)][_0x2a0812(0x169)]);for(const _0x30de8c of _0x580aa0[_0x2a0812(0x125)]())_0x30de8c['is'](_0x2a0812(0x158),_0x2a0812(0x14c))&&(!_0x30de8c[_0x2a0812(0x131)](_0x2a0812(0x165))&&_0x12d75c[_0x2a0812(0x156)][_0x2a0812(0x135)](_0x30de8c,_0x2a0812(0x165))&&(_0x444219[_0x2a0812(0x112)](_0x2a0812(0x165),_0x2b8d20,_0x30de8c),_0x1daed9=!0x0),!_0x30de8c[_0x2a0812(0x131)](_0x2a0812(0x126))&&_0x12d75c[_0x2a0812(0x156)][_0x2a0812(0x135)](_0x30de8c,_0x2a0812(0x126))&&(_0x444219[_0x2a0812(0x112)](_0x2a0812(0x126),_0xbc4513,_0x30de8c),_0x1daed9=!0x0));}return _0x1daed9&&_0x5db1bd[_0x2a0812(0x128)](_0x444219),_0x1daed9;});}[_0x11a129(0x14b)](){const _0x2c1045=_0x11a129,{editor:_0x361d6a}=this;_0x361d6a[_0x2c1045(0x13b)][_0x2c1045(0x143)](_0x4e61d7)[_0x2c1045(0x10d)](_0x2e9d51=>this[_0x2c1045(0x12f)](_0x2e9d51));}[_0x11a129(0x119)](){const _0x347da1=_0x11a129;return this[_0x347da1(0x113)][_0x347da1(0x13e)][_0x347da1(0x143)](_0x347da1(0x114));}[_0x11a129(0x157)](){const _0xcb65a4=_0x11a129;return this[_0xcb65a4(0x113)][_0xcb65a4(0x13e)][_0xcb65a4(0x143)](_0xcb65a4(0x166));}[_0x11a129(0x12f)]({container:_0x54312f,value:_0x21d482,digits:_0x4040f0}){const _0x35ba55=_0x11a129,_0x3eb2ab=_0x54312f[_0x35ba55(0x118)](_0x35ba55(0x126)),_0x26f81c=_0x54312f[_0x35ba55(0x118)](_0x35ba55(0x165)),_0x36bc34=Math[_0x35ba55(0x167)](_0x21d482)+(_0x26f81c??0x1)-0x1;switch(_0x3eb2ab){case _0x35ba55(0x10b):return function(_0x2a3c27,_0x4cca1d){const _0x6c3a0f=_0x35ba55;return String(_0x2a3c27)[_0x6c3a0f(0x142)](_0x4cca1d,'0');}(_0x36bc34,Math[_0x35ba55(0x154)](0x2,_0x4040f0));case _0x35ba55(0x122):case _0x35ba55(0x12b):return N(_0x36bc34,!0x1);case _0x35ba55(0x11c):case _0x35ba55(0x11a):return N(_0x36bc34,!0x0);case _0x35ba55(0x145):return X(_0x36bc34,!0x1);case _0x35ba55(0x160):return X(_0x36bc34,!0x0);default:return String(_0x36bc34);}}}function M(_0x4b686b,_0x9ba081){const _0x507849=_0x11a129,_0x1281f2=_0x9ba081[_0x507849(0x16f)](_0x4b686b);return Array[_0x507849(0x109)](_0x1281f2[_0x507849(0x115)]())[_0x507849(0x10e)](_0x59f430=>_0x59f430['is'](_0x507849(0x158),'ol')&&_0x59f430[_0x507849(0x138)](_0x507849(0x14f)));}function N(_0x1fc6b3,_0x215ca7){const _0x44ad13=_0x11a129;let _0x1fb008='',_0x16ceba=_0x1fc6b3;for(;_0x16ceba>0x0;){const _0xac8970=(_0x16ceba-0x1)%0x1a;_0x1fb008=String[_0x44ad13(0x15e)](0x61+_0xac8970)+_0x1fb008,_0x16ceba=Math[_0x44ad13(0x167)]((_0x16ceba-0x1)/0x1a);}return _0x215ca7?_0x1fb008[_0x44ad13(0x139)]():_0x1fb008;}function _0xe7c6(){const _0x5963cb=['decimal','decimal-leading-zero','footnotesStyle','setFootnoteFormatter','find','list-style-type','316tysJGv','extend','setAttribute','editor','footnotes.footnotesProperties.defaultListStyle','getChildren','add','init','getAttribute','_getDefaultListStyle','upper-latin','$text','upper-alpha','parseInt','_defineConverters','27884532xMlsDl','_defineSchema','setStyle','lower-alpha','isPremiumPlugin','upcast','getItems','footnotesListStyle','model','_updateFootnotesCounters','attribute:footnotesListStyle:footnotesDefinitions','modelCursor','lower-latin','createRangeOn','42eQRUkW','9087771vNtYuc','_formatFootnoteListValue','consume','hasAttribute','type','element:ol','define','checkAttribute','getChanges','registerPostFixer','hasClass','toUpperCase','75780VCvZEx','plugins','writer','isNaN','config','removeStyle','isOfficialPlugin','getStyle','padStart','get','attribute:footnotesListStart:footnotesDefinitions','lower-roman','391393pMEvId','removeAttribute','toLowerCase','for','mapper','_defineFormatter','footnotesDefinitions','parent','pluginName','footnotes-list','7032WXnOVX','downcast','position','insert','max','footnotesStart','schema','_getDefaultStartIndex','element','FootnotesPropertiesEditing','commands','requires','viewItem','consumable','fromCharCode','differ','upper-roman','31860KpfqYh','7665KNLzNS','_definePostfixer','3260kGhLrA','footnotesListStart','footnotes.footnotesProperties.defaultStartIndex','floor','start','nodeAfter','name','item','document','6881ePpRRd','2NanELs','toViewElement','from'];_0xe7c6=function(){return _0x5963cb;};return _0xe7c6();}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(_0x49ecad,_0x26d57b){const _0x3c2593=_0x11a129;let _0x19d872='',_0x50ba2d=_0x49ecad;for(const {value:_0x462197,numeral:_0x293e55}of V)for(;_0x50ba2d>=_0x462197;)_0x19d872+=_0x293e55,_0x50ba2d-=_0x462197;return _0x26d57b?_0x19d872:_0x19d872[_0x3c2593(0x148)]();}
23
+ const _0x5d3ba1=_0x4e4f;(function(_0x5d4b17,_0x340c61){const _0x1a270e=_0x4e4f,_0x3f881e=_0x5d4b17();while(!![]){try{const _0x575eab=-parseInt(_0x1a270e(0x157))/0x1*(parseInt(_0x1a270e(0x18d))/0x2)+-parseInt(_0x1a270e(0x169))/0x3*(parseInt(_0x1a270e(0x18f))/0x4)+-parseInt(_0x1a270e(0x16a))/0x5*(parseInt(_0x1a270e(0x190))/0x6)+parseInt(_0x1a270e(0x17c))/0x7*(parseInt(_0x1a270e(0x193))/0x8)+-parseInt(_0x1a270e(0x163))/0x9*(-parseInt(_0x1a270e(0x18e))/0xa)+-parseInt(_0x1a270e(0x15d))/0xb*(parseInt(_0x1a270e(0x153))/0xc)+parseInt(_0x1a270e(0x17d))/0xd*(parseInt(_0x1a270e(0x181))/0xe);if(_0x575eab===_0x340c61)break;else _0x3f881e['push'](_0x3f881e['shift']());}catch(_0x2b478d){_0x3f881e['push'](_0x3f881e['shift']());}}}(_0x6ccc,0x4c288));import{Plugin as _0x52054b}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1857a5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x4383e3}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x46d8c5}from'../footnotestracker.js';import{FootnotesEditing as _0x459a7d}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x52054b{static get[_0x5d3ba1(0x184)](){const _0x5f2f2a=_0x5d3ba1;return _0x5f2f2a(0x194);}static get[_0x5d3ba1(0x16d)](){return[_0x459a7d,_0x46d8c5];}static get[_0x5d3ba1(0x16c)](){return!0x0;}static get[_0x5d3ba1(0x152)](){return!0x0;}[_0x5d3ba1(0x1a1)](){const _0xa8eb6b=_0x5d3ba1,{editor:_0x2b3256}=this;_0x2b3256[_0xa8eb6b(0x18b)][_0xa8eb6b(0x167)](_0xa8eb6b(0x198),_0xa8eb6b(0x1a4)),_0x2b3256[_0xa8eb6b(0x18b)][_0xa8eb6b(0x167)](_0xa8eb6b(0x1ac),0x1),_0x2b3256[_0xa8eb6b(0x187)][_0xa8eb6b(0x19b)](_0xa8eb6b(0x19e),new _0x1857a5(_0x2b3256)),_0x2b3256[_0xa8eb6b(0x187)][_0xa8eb6b(0x19b)](_0xa8eb6b(0x1af),new _0x4383e3(_0x2b3256)),this[_0xa8eb6b(0x170)](),this[_0xa8eb6b(0x159)](),this[_0xa8eb6b(0x1ae)](),this[_0xa8eb6b(0x171)]();}[_0x5d3ba1(0x170)](){const _0xfcbe51=_0x5d3ba1,{editor:_0x5c1431}=this,{schema:_0x31e027}=_0x5c1431[_0xfcbe51(0x178)];_0x31e027[_0xfcbe51(0x186)](_0xfcbe51(0x161),{'allowAttributes':[_0xfcbe51(0x17a),_0xfcbe51(0x1b3)]});}[_0x5d3ba1(0x159)](){const _0x22df4c=_0x5d3ba1,{editor:_0x37b9e5}=this,{conversion:_0x2daf4f,model:_0xd41106}=_0x37b9e5,{schema:_0x245027}=_0xd41106;_0x2daf4f[_0x22df4c(0x174)](_0x22df4c(0x196))[_0x22df4c(0x19b)](_0x3e7b14=>{const _0xa6fde=_0x22df4c;_0x3e7b14['on'](_0xa6fde(0x155),(_0x59bb57,_0x4b9e4b,_0x1f4d12)=>{const _0x517c95=_0xa6fde,_0xee385c=_0x4b9e4b[_0x517c95(0x17f)],_0x307d49=_0x4b9e4b[_0x517c95(0x16b)]?.[_0x517c95(0x19c)];_0xee385c[_0x517c95(0x17b)](_0x517c95(0x165))&&_0x307d49?.['is'](_0x517c95(0x18a),_0x517c95(0x161))&&(function(_0x3d161b,_0xeb80f9,_0x665739,_0x17948e){const _0x3cf7cd=_0x517c95;if(!_0x17948e[_0x3cf7cd(0x1ad)](_0xeb80f9,_0x3cf7cd(0x1b3)))return;let _0x4ad888=0x1;const _0x481905=_0x665739[_0x3cf7cd(0x14d)][_0x3cf7cd(0x1a7)](_0x3d161b,{'attributes':_0x3cf7cd(0x16f)});if(_0x481905){const _0x1bfd06=Number[_0x3cf7cd(0x1a0)](_0x3d161b[_0x3cf7cd(0x199)](_0x3cf7cd(0x16f)),0xa);Number[_0x3cf7cd(0x1a9)](_0x1bfd06)||(_0x4ad888=_0x1bfd06);}!_0x481905&&_0xeb80f9[_0x3cf7cd(0x1a6)](_0x3cf7cd(0x1b3))||_0x665739[_0x3cf7cd(0x160)][_0x3cf7cd(0x14e)](_0x3cf7cd(0x1b3),_0x4ad888,_0xeb80f9);}(_0xee385c,_0x307d49,_0x1f4d12,_0x245027),function(_0x4fecaa,_0x19bfa0,_0x56537f,_0x1b56dc){const _0x38a5a8=_0x517c95;if(!_0x1b56dc[_0x38a5a8(0x1ad)](_0x19bfa0,_0x38a5a8(0x17a)))return;let _0x402781=_0x38a5a8(0x1a4),_0x17151f=!0x1;if(_0x56537f[_0x38a5a8(0x14d)][_0x38a5a8(0x1a7)](_0x4fecaa,{'attributes':_0x38a5a8(0x151)})){const _0x4da967={0x1:_0x38a5a8(0x1a4),'a':_0x38a5a8(0x1b2),'A':_0x38a5a8(0x191),'i':_0x38a5a8(0x1ab),'I':_0x38a5a8(0x1a5)}[_0x4fecaa[_0x38a5a8(0x199)](_0x38a5a8(0x151))];_0x4da967&&(_0x402781=_0x4da967),_0x17151f=!0x0;}_0x56537f[_0x38a5a8(0x14d)][_0x38a5a8(0x1a7)](_0x4fecaa,{'styles':_0x38a5a8(0x158)})&&(_0x402781=function(_0x501cb1){const _0x5d374e=_0x38a5a8;switch(_0x501cb1){case _0x5d374e(0x1b2):return _0x5d374e(0x172);case _0x5d374e(0x191):return _0x5d374e(0x150);default:return _0x501cb1;}}(_0x4fecaa[_0x38a5a8(0x15e)](_0x38a5a8(0x158))),_0x17151f=!0x0),!_0x17151f&&_0x19bfa0[_0x38a5a8(0x1a6)](_0x38a5a8(0x17a))||_0x56537f[_0x38a5a8(0x160)][_0x38a5a8(0x14e)](_0x38a5a8(0x17a),_0x402781,_0x19bfa0);}(_0xee385c,_0x307d49,_0x1f4d12,_0x245027));});}),_0x2daf4f[_0x22df4c(0x174)](_0x22df4c(0x15c))[_0x22df4c(0x19b)](_0x274491=>{const _0x3901f4=_0x22df4c;_0x274491['on'](_0x3901f4(0x168),(_0x14b7da,_0x18652f,_0x15d7b6)=>{const _0x10cf4c=_0x3901f4;if(!_0x15d7b6[_0x10cf4c(0x14d)][_0x10cf4c(0x1a7)](_0x18652f[_0x10cf4c(0x182)],_0x14b7da[_0x10cf4c(0x15f)]))return;const _0x1fbfd5=M(_0x18652f[_0x10cf4c(0x182)],_0x15d7b6[_0x10cf4c(0x19d)]),{attributeNewValue:_0x1d425e}=_0x18652f;null==_0x1d425e||0x1===_0x1d425e?_0x15d7b6[_0x10cf4c(0x160)][_0x10cf4c(0x173)](_0x10cf4c(0x16f),_0x1fbfd5):_0x15d7b6[_0x10cf4c(0x160)][_0x10cf4c(0x14e)](_0x10cf4c(0x16f),String(_0x1d425e),_0x1fbfd5);}),_0x274491['on'](_0x3901f4(0x189),(_0x31ffb9,_0x1c72a5,_0x1e9eda)=>{const _0x5503fa=_0x3901f4;if(!_0x1e9eda[_0x5503fa(0x14d)][_0x5503fa(0x1a7)](_0x1c72a5[_0x5503fa(0x182)],_0x31ffb9[_0x5503fa(0x15f)]))return;const _0x5a796a=M(_0x1c72a5[_0x5503fa(0x182)],_0x1e9eda[_0x5503fa(0x19d)]),{attributeNewValue:_0x4e4735}=_0x1c72a5;_0x4e4735&&_0x5503fa(0x1a4)!==_0x4e4735?_0x1e9eda[_0x5503fa(0x160)][_0x5503fa(0x185)](_0x5503fa(0x158),_0x4e4735,_0x5a796a):_0x1e9eda[_0x5503fa(0x160)][_0x5503fa(0x17e)](_0x5503fa(0x158),_0x5a796a);});});}[_0x5d3ba1(0x171)](){const _0x4f6c12=_0x5d3ba1,{editor:_0x492ece}=this,{model:_0x18ea50}=_0x492ece,_0x17d1f6=_0x492ece[_0x4f6c12(0x1b0)][_0x4f6c12(0x1b4)](_0x46d8c5),_0x312b08=this[_0x4f6c12(0x192)](),_0x32fb38=this[_0x4f6c12(0x154)]();_0x18ea50[_0x4f6c12(0x15b)][_0x4f6c12(0x18c)](_0x51e03d=>{const _0x35456a=_0x4f6c12,_0x5519a7=_0x18ea50[_0x35456a(0x15b)][_0x35456a(0x175)][_0x35456a(0x1b5)]();let _0x4eb9e=!0x1;for(const _0x5811d9 of _0x5519a7){if(_0x35456a(0x166)!==_0x5811d9[_0x35456a(0x151)]||_0x35456a(0x179)===_0x5811d9[_0x35456a(0x15f)])continue;const _0x5272dd=_0x18ea50[_0x35456a(0x195)](_0x5811d9[_0x35456a(0x1a2)][_0x35456a(0x19a)]);for(const _0x340332 of _0x5272dd[_0x35456a(0x156)]())_0x340332['is'](_0x35456a(0x18a),_0x35456a(0x161))&&(!_0x340332[_0x35456a(0x1a6)](_0x35456a(0x1b3))&&_0x18ea50[_0x35456a(0x188)][_0x35456a(0x1ad)](_0x340332,_0x35456a(0x1b3))&&(_0x51e03d[_0x35456a(0x14e)](_0x35456a(0x1b3),_0x32fb38,_0x340332),_0x4eb9e=!0x0),!_0x340332[_0x35456a(0x1a6)](_0x35456a(0x17a))&&_0x18ea50[_0x35456a(0x188)][_0x35456a(0x1ad)](_0x340332,_0x35456a(0x17a))&&(_0x51e03d[_0x35456a(0x14e)](_0x35456a(0x17a),_0x312b08,_0x340332),_0x4eb9e=!0x0));}return _0x4eb9e&&_0x17d1f6[_0x35456a(0x164)](_0x51e03d),_0x4eb9e;});}[_0x5d3ba1(0x1ae)](){const _0x4b594c=_0x5d3ba1,{editor:_0x31a009}=this;_0x31a009[_0x4b594c(0x1b0)][_0x4b594c(0x1b4)](_0x46d8c5)[_0x4b594c(0x15a)](_0x55c377=>this[_0x4b594c(0x1b1)](_0x55c377));}[_0x5d3ba1(0x192)](){const _0x1ecbae=_0x5d3ba1;return this[_0x1ecbae(0x19f)][_0x1ecbae(0x18b)][_0x1ecbae(0x1b4)](_0x1ecbae(0x198));}[_0x5d3ba1(0x154)](){const _0x435986=_0x5d3ba1;return this[_0x435986(0x19f)][_0x435986(0x18b)][_0x435986(0x1b4)](_0x435986(0x1ac));}[_0x5d3ba1(0x1b1)]({container:_0x5e13bd,value:_0x1c8964,digits:_0x296ba0}){const _0x56ec8f=_0x5d3ba1,_0x4bc92a=_0x5e13bd[_0x56ec8f(0x199)](_0x56ec8f(0x17a)),_0x2f3c0e=_0x5e13bd[_0x56ec8f(0x199)](_0x56ec8f(0x1b3)),_0x42f578=Math[_0x56ec8f(0x1a8)](_0x1c8964)+(_0x2f3c0e??0x1)-0x1;switch(_0x4bc92a){case _0x56ec8f(0x183):return function(_0x1f5d4e,_0x385156){const _0x5d4357=_0x56ec8f;return String(_0x1f5d4e)[_0x5d4357(0x1aa)](_0x385156,'0');}(_0x42f578,Math[_0x56ec8f(0x14f)](0x2,_0x296ba0));case _0x56ec8f(0x1b2):case _0x56ec8f(0x172):return N(_0x42f578,!0x1);case _0x56ec8f(0x191):case _0x56ec8f(0x150):return N(_0x42f578,!0x0);case _0x56ec8f(0x1ab):return X(_0x42f578,!0x1);case _0x56ec8f(0x1a5):return X(_0x42f578,!0x0);default:return String(_0x42f578);}}}function M(_0xb6bec7,_0x50968b){const _0x5d95e2=_0x5d3ba1,_0xd08658=_0x50968b[_0x5d95e2(0x16e)](_0xb6bec7);return Array[_0x5d95e2(0x1a3)](_0xd08658[_0x5d95e2(0x162)]())[_0x5d95e2(0x176)](_0x2d0163=>_0x2d0163['is'](_0x5d95e2(0x18a),'ol')&&_0x2d0163[_0x5d95e2(0x17b)](_0x5d95e2(0x165)));}function N(_0x2227f1,_0x268a65){const _0x4f0fe4=_0x5d3ba1;let _0x504b8e='',_0x1e3aa9=_0x2227f1;for(;_0x1e3aa9>0x0;){const _0x20d790=(_0x1e3aa9-0x1)%0x1a;_0x504b8e=String[_0x4f0fe4(0x180)](0x61+_0x20d790)+_0x504b8e,_0x1e3aa9=Math[_0x4f0fe4(0x1a8)]((_0x1e3aa9-0x1)/0x1a);}return _0x268a65?_0x504b8e[_0x4f0fe4(0x177)]():_0x504b8e;}function _0x6ccc(){const _0xec8df8=['setAttribute','max','upper-latin','type','isPremiumPlugin','6352332imvJNL','_getDefaultStartIndex','element:ol','getItems','36606zAVLgP','list-style-type','_defineConverters','setFootnoteFormatter','document','downcast','11OFzvdV','getStyle','name','writer','footnotesDefinitions','getChildren','76185zaAjiV','_updateFootnotesCounters','footnotes-list','insert','define','attribute:footnotesListStart:footnotesDefinitions','105537jLgqgs','12310lmPusO','modelCursor','isOfficialPlugin','requires','toViewElement','start','_defineSchema','_definePostfixer','lower-latin','removeAttribute','for','differ','find','toUpperCase','model','$text','footnotesListStyle','hasClass','7jiGDId','3775096RLbFxb','removeStyle','viewItem','fromCharCode','28jKHQLb','item','decimal-leading-zero','pluginName','setStyle','extend','commands','schema','attribute:footnotesListStyle:footnotesDefinitions','element','config','registerPostFixer','6FojpxI','470ZKvjhO','20YRiXKb','678STDWpK','upper-alpha','_getDefaultListStyle','3412680lvaLCk','FootnotesPropertiesEditing','createRangeOn','upcast','toLowerCase','footnotes.footnotesProperties.defaultListStyle','getAttribute','nodeAfter','add','parent','mapper','footnotesStyle','editor','parseInt','init','position','from','decimal','upper-roman','hasAttribute','consume','floor','isNaN','padStart','lower-roman','footnotes.footnotesProperties.defaultStartIndex','checkAttribute','_defineFormatter','footnotesStart','plugins','_formatFootnoteListValue','lower-alpha','footnotesListStart','get','getChanges','consumable'];_0x6ccc=function(){return _0xec8df8;};return _0x6ccc();}function _0x4e4f(_0xa5da01,_0x22072e){const _0x6ccc9=_0x6ccc();return _0x4e4f=function(_0x4e4ffa,_0x3f16a5){_0x4e4ffa=_0x4e4ffa-0x14d;let _0x368ba5=_0x6ccc9[_0x4e4ffa];return _0x368ba5;},_0x4e4f(_0xa5da01,_0x22072e);}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(_0x1e85c3,_0x5687a6){const _0x28ab15=_0x5d3ba1;let _0x4f5769='',_0x3b7051=_0x1e85c3;for(const {value:_0x508e2d,numeral:_0x40160b}of V)for(;_0x3b7051>=_0x508e2d;)_0x4f5769+=_0x40160b,_0x3b7051-=_0x508e2d;return _0x5687a6?_0x4f5769:_0x4f5769[_0x28ab15(0x197)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0xb8b7e9,ButtonView as _0x103e2f,ContextualBalloon as _0x5ed0a7,createDropdown as _0x48e6c0}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x62d1ee}from'ckeditor5/src/widget.js';import{Plugin as _0x5ded35}from'ckeditor5/src/core.js';import{IconFootnote as _0x4e1358,IconListStyleDecimal as _0x277f1c,IconListStyleDecimalLeadingZero as _0x5c3775,IconListStyleLowerLatin as _0x5582a7,IconListStyleLowerRoman as _0x2f4fcd,IconListStyleUpperLatin as _0x56b31d,IconListStyleUpperRoman as _0x2910a3}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3776c9}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4c1dbe}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5ded35{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5ed0a7,_0x62d1ee];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53c1e8}=this,{componentFactory:_0x54b941}=_0x53c1e8['ui'];_0x53c1e8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x54b941['add']('footnotesStyle',function(_0x52e74d){return _0x4ce9a6=>{const {t:t}=_0x4ce9a6,_0x4e753d=_0x52e74d['commands']['get']('footnotesStyle'),_0x31f476=_0x48e6c0(_0x4ce9a6),{buttonView:_0x212af3}=_0x31f476;return _0x31f476['class']='ck-footnotes-styles-dropdown',_0x31f476['bind']('isEnabled')['to'](_0x4e753d,'isEnabled'),_0x212af3['set']({'label':t('Footnotes\x20style'),'icon':_0x4e1358,'tooltip':!0x0}),_0x31f476['once']('change:isOpen',()=>{const _0x21285a=function({editor:_0xb670ab,dropdownView:_0xc349e}){const {t:t}=_0xb670ab['locale'],_0x29296f=t('Footnotes\x20definitions\x20styles'),_0x186fee=function(_0x4b3be7){const t=_0x4b3be7['locale']['t'],_0x2ff266=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x277f1c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5c3775},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2f4fcd},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2910a3},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5582a7},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x56b31d}];return _0x2ff266['map'](function(_0x12dce7){const _0x5e72b0=_0x12dce7['locale'];return({label:_0x25827b,icon:_0x5d483f,tooltip:_0x3728ec,style:_0x4b705e})=>{const _0x508b46=_0x12dce7['commands']['get']('footnotesStyle'),_0x169a2c=new _0x103e2f(_0x5e72b0);return _0x169a2c['set']({'label':_0x25827b,'icon':_0x5d483f,'tooltip':_0x3728ec}),_0x169a2c['bind']('isOn')['to'](_0x508b46,'value',_0x6dcdd=>_0x6dcdd===_0x4b705e),_0x169a2c['bind']('isEnabled')['to'](_0x508b46,'isEnabled'),_0x169a2c['on']('execute',()=>{_0x12dce7['execute']('footnotesStyle',{'value':_0x4b705e}),_0x12dce7['editing']['view']['focus']();}),_0x169a2c;};}(_0x4b3be7));}(_0xb670ab),_0x2acaae=new _0x3776c9(_0xb670ab['locale'],{'styleGridAriaLabel':_0x29296f,'styleButtonViews':_0x186fee}),_0x2c95d9=_0xb670ab['commands']['get']('footnotesStart');return _0x2acaae['startIndexFieldView']['bind']('isEnabled')['to'](_0x2c95d9),_0x2acaae['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2c95d9),_0x2acaae['on']('footnotesListStart',(_0x53484e,_0x5915fa)=>{_0xb670ab['execute']('footnotesStart',{'value':_0x5915fa['startIndex']});}),_0x2acaae['delegate']('execute')['to'](_0xc349e),_0x2acaae;}({'editor':_0x52e74d,'dropdownView':_0x31f476});_0x31f476['panelView']['children']['add'](_0x21285a);}),_0x31f476;};}(_0x53c1e8));}['afterInit'](){const {editor:_0x4d0a5f}=this,{t:t}=_0x4d0a5f['locale'],_0xa3dacb=_0x4d0a5f['plugins']['get'](_0x62d1ee),{defaultPositions:_0x351da9}=_0xb8b7e9;_0xa3dacb['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4d0a5f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4f4ed4=>{let _0xa26cbd=_0x4f4ed4['getFirstPosition']()?.['parent'];return _0xa26cbd?.['is']('$text')&&(_0xa26cbd=_0xa26cbd['parent']),_0xa26cbd?.['is']('element')?_0xa26cbd['findAncestor'](_0x4c1dbe):null;},'positions':[_0x351da9['southArrowNorth'],_0x351da9['southArrowNorthMiddleWest'],_0x351da9['southArrowNorthMiddleEast'],_0x351da9['southArrowNorthWest'],_0x351da9['southArrowNorthEast'],_0x351da9['northArrowSouth'],_0x351da9['northArrowSouthMiddleWest'],_0x351da9['northArrowSouthMiddleEast'],_0x351da9['northArrowSouthWest'],_0x351da9['northArrowSouthEast'],_0x351da9['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x26e96d,ButtonView as _0x40d5a6,ContextualBalloon as _0x13fefc,createDropdown as _0x3edea9}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2c14a7}from'ckeditor5/src/widget.js';import{Plugin as _0x133530}from'ckeditor5/src/core.js';import{IconFootnote as _0x40d6eb,IconListStyleDecimal as _0x463b85,IconListStyleDecimalLeadingZero as _0x591cf0,IconListStyleLowerLatin as _0x5e1983,IconListStyleLowerRoman as _0x286592,IconListStyleUpperLatin as _0x3ad025,IconListStyleUpperRoman as _0x81520d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x33ab05}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1bfbae}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x133530{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x13fefc,_0x2c14a7];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1c2ec1}=this,{componentFactory:_0x54abfc}=_0x1c2ec1['ui'];_0x1c2ec1['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x54abfc['add']('footnotesStyle',function(_0x51d38d){return _0x473549=>{const {t:t}=_0x473549,_0x1cd273=_0x51d38d['commands']['get']('footnotesStyle'),_0x16a8d8=_0x3edea9(_0x473549),{buttonView:_0x5e5107}=_0x16a8d8;return _0x16a8d8['class']='ck-footnotes-styles-dropdown',_0x16a8d8['bind']('isEnabled')['to'](_0x1cd273,'isEnabled'),_0x5e5107['set']({'label':t('Footnotes\x20style'),'icon':_0x40d6eb,'tooltip':!0x0}),_0x16a8d8['once']('change:isOpen',()=>{const _0x42c98e=function({editor:_0x11a2e3,dropdownView:_0x27101a}){const {t:t}=_0x11a2e3['locale'],_0x530cbd=t('Footnotes\x20definitions\x20styles'),_0x5468bd=function(_0x508075){const t=_0x508075['locale']['t'],_0x12707d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x463b85},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x591cf0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x286592},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x81520d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e1983},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3ad025}];return _0x12707d['map'](function(_0x5091ed){const _0x33e109=_0x5091ed['locale'];return({label:_0x5d47f6,icon:_0x21fec8,tooltip:_0xddee10,style:_0x1927ba})=>{const _0x490d00=_0x5091ed['commands']['get']('footnotesStyle'),_0x174b15=new _0x40d5a6(_0x33e109);return _0x174b15['set']({'label':_0x5d47f6,'icon':_0x21fec8,'tooltip':_0xddee10}),_0x174b15['bind']('isOn')['to'](_0x490d00,'value',_0x15e6d6=>_0x15e6d6===_0x1927ba),_0x174b15['bind']('isEnabled')['to'](_0x490d00,'isEnabled'),_0x174b15['on']('execute',()=>{_0x5091ed['execute']('footnotesStyle',{'value':_0x1927ba}),_0x5091ed['editing']['view']['focus']();}),_0x174b15;};}(_0x508075));}(_0x11a2e3),_0x71c75=new _0x33ab05(_0x11a2e3['locale'],{'styleGridAriaLabel':_0x530cbd,'styleButtonViews':_0x5468bd}),_0x2d7ee3=_0x11a2e3['commands']['get']('footnotesStart');return _0x71c75['startIndexFieldView']['bind']('isEnabled')['to'](_0x2d7ee3),_0x71c75['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2d7ee3),_0x71c75['on']('footnotesListStart',(_0x30175d,_0x5500d3)=>{_0x11a2e3['execute']('footnotesStart',{'value':_0x5500d3['startIndex']});}),_0x71c75['delegate']('execute')['to'](_0x27101a),_0x71c75;}({'editor':_0x51d38d,'dropdownView':_0x16a8d8});_0x16a8d8['panelView']['children']['add'](_0x42c98e);}),_0x16a8d8;};}(_0x1c2ec1));}['afterInit'](){const {editor:_0x1fafe5}=this,{t:t}=_0x1fafe5['locale'],_0x28e526=_0x1fafe5['plugins']['get'](_0x2c14a7),{defaultPositions:_0x32d1a4}=_0x26e96d;_0x28e526['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1fafe5['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x15da25=>{let _0x4e89c7=_0x15da25['getFirstPosition']()?.['parent'];return _0x4e89c7?.['is']('$text')&&(_0x4e89c7=_0x4e89c7['parent']),_0x4e89c7?.['is']('element')?_0x4e89c7['findAncestor'](_0x1bfbae):null;},'positions':[_0x32d1a4['southArrowNorth'],_0x32d1a4['southArrowNorthMiddleWest'],_0x32d1a4['southArrowNorthMiddleEast'],_0x32d1a4['southArrowNorthWest'],_0x32d1a4['southArrowNorthEast'],_0x32d1a4['northArrowSouth'],_0x32d1a4['northArrowSouthMiddleWest'],_0x32d1a4['northArrowSouthMiddleEast'],_0x32d1a4['northArrowSouthWest'],_0x32d1a4['northArrowSouthEast'],_0x32d1a4['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2b2755,View as _0x3a8669,ViewCollection as _0x2126fd,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3a8669{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2126fd();['focusCycler'];constructor(_0x156791,{styleButtonViews:_0x490146,styleGridAriaLabel:_0x1c6f71}){super(_0x156791),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x490146,_0x1c6f71),[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 _0x2a2263 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x2a2263['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x4ff87d=_0x45ad89=>_0x45ad89['stopPropagation']();this['keystrokes']['set']('arrowright',_0x4ff87d),this['keystrokes']['set']('arrowleft',_0x4ff87d),this['keystrokes']['set']('arrowup',_0x4ff87d),this['keystrokes']['set']('arrowdown',_0x4ff87d);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x4b4382,_0x12fffb){const _0xcf8734=new _0x3a8669(this['locale']);return _0xcf8734['children']=_0xcf8734['createCollection'](),_0xcf8734['children']['addMany'](_0x4b4382),_0xcf8734['setTemplate']({'tag':'div','attributes':{'aria-label':_0x12fffb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xcf8734['children']}),_0xcf8734['children']['delegate']('execute')['to'](this),_0xcf8734['focus']=function(){for(const _0x2d65a0 of this['children'])if(_0x2d65a0 instanceof _0x2b2755&&_0x2d65a0['isOn'])return void _0x2d65a0['focus']();this['children']['first']['focus']();},_0xcf8734['focusTracker']=new rt(),_0xcf8734['keystrokes']=new nt(),_0xcf8734['render'](),_0xcf8734['keystrokes']['listenTo'](_0xcf8734['element']),this['children']['add'](_0xcf8734),_0xcf8734;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x380822=this['_createStartIndexPropertyView'](),_0x4cc7a6=[_0x380822],_0x325822=new it(this['locale'],_0x4cc7a6);return _0x325822['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x325822['buttonView']['bind']('isEnabled')['toMany'](_0x4cc7a6,'isEnabled',(..._0x584e86)=>_0x584e86['some'](_0x52a0fa=>_0x52a0fa)),_0x325822['buttonView']['on']('change:isEnabled',(_0x4a994c,_0x2b0b43,_0xa8b27f)=>{_0xa8b27f||(_0x325822['isCollapsed']=!0x0);}),this['children']['add'](_0x325822),[_0x380822,_0x325822];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x16a8d9=new et(this['locale'],ot);return _0x16a8d9['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x16a8d9['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x16a8d9['fieldView']['on']('input',()=>{const _0x480ab7=_0x16a8d9['fieldView']['element'],_0xfd4d5f=_0x480ab7['valueAsNumber'];Number['isNaN'](_0xfd4d5f)?_0x16a8d9['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x480ab7['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0xfd4d5f}):_0x16a8d9['errorText']=t(_0xfd4d5f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x16a8d9;}}
23
+ import{ButtonView as _0xcf8ceb,View as _0x3961b2,ViewCollection as _0x2e3695,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3961b2{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x2e3695();['focusCycler'];constructor(_0x1fb1dd,{styleButtonViews:_0x41b844,styleGridAriaLabel:_0x97cdc2}){super(_0x1fb1dd),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x41b844,_0x97cdc2),[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 _0x256ded of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x256ded['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x5c6a8a=_0x4227c6=>_0x4227c6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5c6a8a),this['keystrokes']['set']('arrowleft',_0x5c6a8a),this['keystrokes']['set']('arrowup',_0x5c6a8a),this['keystrokes']['set']('arrowdown',_0x5c6a8a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x44fd99,_0x20a914){const _0x5b3ea4=new _0x3961b2(this['locale']);return _0x5b3ea4['children']=_0x5b3ea4['createCollection'](),_0x5b3ea4['children']['addMany'](_0x44fd99),_0x5b3ea4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x20a914,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5b3ea4['children']}),_0x5b3ea4['children']['delegate']('execute')['to'](this),_0x5b3ea4['focus']=function(){for(const _0x41639c of this['children'])if(_0x41639c instanceof _0xcf8ceb&&_0x41639c['isOn'])return void _0x41639c['focus']();this['children']['first']['focus']();},_0x5b3ea4['focusTracker']=new rt(),_0x5b3ea4['keystrokes']=new nt(),_0x5b3ea4['render'](),_0x5b3ea4['keystrokes']['listenTo'](_0x5b3ea4['element']),this['children']['add'](_0x5b3ea4),_0x5b3ea4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5406d2=this['_createStartIndexPropertyView'](),_0xb2d543=[_0x5406d2],_0x112e9b=new it(this['locale'],_0xb2d543);return _0x112e9b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x112e9b['buttonView']['bind']('isEnabled')['toMany'](_0xb2d543,'isEnabled',(..._0x55df60)=>_0x55df60['some'](_0x42174b=>_0x42174b)),_0x112e9b['buttonView']['on']('change:isEnabled',(_0x1adf12,_0x1d9c42,_0x2fcb58)=>{_0x2fcb58||(_0x112e9b['isCollapsed']=!0x0);}),this['children']['add'](_0x112e9b),[_0x5406d2,_0x112e9b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x207f45=new et(this['locale'],ot);return _0x207f45['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x207f45['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x207f45['fieldView']['on']('input',()=>{const _0x42ae46=_0x207f45['fieldView']['element'],_0x294b10=_0x42ae46['valueAsNumber'];Number['isNaN'](_0x294b10)?_0x207f45['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x42ae46['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x294b10}):_0x207f45['errorText']=t(_0x294b10<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x207f45;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x29f9(_0x4eeb0f,_0x55e647){var _0x4cc343=_0x4cc3();return _0x29f9=function(_0x29f910,_0x2e3dd9){_0x29f910=_0x29f910-0x95;var _0x26f56f=_0x4cc343[_0x29f910];return _0x26f56f;},_0x29f9(_0x4eeb0f,_0x55e647);}var _0x15ca18=_0x29f9;(function(_0x3751b2,_0x29a739){var _0x13e43c=_0x29f9,_0x36af8c=_0x3751b2();while(!![]){try{var _0x40dd4a=-parseInt(_0x13e43c(0xa1))/0x1+-parseInt(_0x13e43c(0xa3))/0x2+parseInt(_0x13e43c(0x97))/0x3*(parseInt(_0x13e43c(0x9f))/0x4)+-parseInt(_0x13e43c(0x99))/0x5+-parseInt(_0x13e43c(0xa0))/0x6*(-parseInt(_0x13e43c(0x9b))/0x7)+parseInt(_0x13e43c(0x96))/0x8+-parseInt(_0x13e43c(0x9e))/0x9*(-parseInt(_0x13e43c(0x95))/0xa);if(_0x40dd4a===_0x29a739)break;else _0x36af8c['push'](_0x36af8c['shift']());}catch(_0xec03c0){_0x36af8c['push'](_0x36af8c['shift']());}}}(_0x4cc3,0xece6f));import{Plugin as _0x53ef45}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x372322}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4cc3(){var _0x3930f9=['27XoNlGs','pluginName','3513220ljhfFU','FootnotesProperties','1664747MetdqJ','isPremiumPlugin','isOfficialPlugin','5130kWUwZL','644172IOfrhM','48YprQKF','1654551YVASVq','requires','3162960BAbZQk','19160ozOtaW','3719608YthyMN'];_0x4cc3=function(){return _0x3930f9;};return _0x4cc3();}import{FootnotesPropertiesUI as _0x4e3e40}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x53ef45{static get[_0x15ca18(0x98)](){var _0x310f24=_0x15ca18;return _0x310f24(0x9a);}static get[_0x15ca18(0xa2)](){return[_0x372322,_0x4e3e40];}static get[_0x15ca18(0x9d)](){return!0x0;}static get[_0x15ca18(0x9c)](){return!0x0;}}
23
+ function _0xed93(_0x598ada,_0x736972){var _0x5e53cd=_0x5e53();return _0xed93=function(_0xed9336,_0x3f111c){_0xed9336=_0xed9336-0x12c;var _0x35c466=_0x5e53cd[_0xed9336];return _0x35c466;},_0xed93(_0x598ada,_0x736972);}var _0x16d3e7=_0xed93;function _0x5e53(){var _0x33f862=['7465192daqzuF','pluginName','isOfficialPlugin','requires','4OvnkgM','9792387MQpkWB','209325wyABRK','2515077OTuxtY','FootnotesProperties','106csCPzy','192RVwbdn','7575600bUgoje','isPremiumPlugin','4412766LKnWmV'];_0x5e53=function(){return _0x33f862;};return _0x5e53();}(function(_0x26ca1e,_0xa5dbd8){var _0x4df81b=_0xed93,_0x1dee81=_0x26ca1e();while(!![]){try{var _0x239714=-parseInt(_0x4df81b(0x135))/0x1*(parseInt(_0x4df81b(0x136))/0x2)+parseInt(_0x4df81b(0x133))/0x3+-parseInt(_0x4df81b(0x130))/0x4*(-parseInt(_0x4df81b(0x132))/0x5)+parseInt(_0x4df81b(0x139))/0x6+-parseInt(_0x4df81b(0x12c))/0x7+-parseInt(_0x4df81b(0x137))/0x8+parseInt(_0x4df81b(0x131))/0x9;if(_0x239714===_0xa5dbd8)break;else _0x1dee81['push'](_0x1dee81['shift']());}catch(_0x1e3ac2){_0x1dee81['push'](_0x1dee81['shift']());}}}(_0x5e53,0xa60d2));import{Plugin as _0x8f025c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x33c5e5}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4a3ba4}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x8f025c{static get[_0x16d3e7(0x12d)](){var _0xebc6a0=_0x16d3e7;return _0xebc6a0(0x134);}static get[_0x16d3e7(0x12f)](){return[_0x33c5e5,_0x4a3ba4];}static get[_0x16d3e7(0x12e)](){return!0x0;}static get[_0x16d3e7(0x138)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x53be02=_0xa38c;(function(_0x4b6530,_0x3f194d){const _0x44919a=_0xa38c,_0x135f39=_0x4b6530();while(!![]){try{const _0x382978=parseInt(_0x44919a(0x19f))/0x1*(-parseInt(_0x44919a(0x1ac))/0x2)+parseInt(_0x44919a(0x17f))/0x3*(-parseInt(_0x44919a(0x1bf))/0x4)+-parseInt(_0x44919a(0x17b))/0x5*(-parseInt(_0x44919a(0x183))/0x6)+parseInt(_0x44919a(0x190))/0x7*(-parseInt(_0x44919a(0x17d))/0x8)+-parseInt(_0x44919a(0x1c4))/0x9*(-parseInt(_0x44919a(0x19d))/0xa)+-parseInt(_0x44919a(0x1be))/0xb+parseInt(_0x44919a(0x1a9))/0xc;if(_0x382978===_0x3f194d)break;else _0x135f39['push'](_0x135f39['shift']());}catch(_0x48b2fe){_0x135f39['push'](_0x135f39['shift']());}}}(_0x50bc,0x80dd7));import{Plugin as _0x2a7692}from'ckeditor5/src/core.js';function _0xa38c(_0x581a12,_0x46746f){const _0x50bc35=_0x50bc();return _0xa38c=function(_0xa38c57,_0x522cf9){_0xa38c57=_0xa38c57-0x175;let _0xdac168=_0x50bc35[_0xa38c57];return _0xdac168;},_0xa38c(_0x581a12,_0x46746f);}import{ModelElementTracker as _0x57f3d8}from'./modelelementtracker.js';export class FootnotesTracker extends _0x2a7692{[_0x53be02(0x1cd)]=[];[_0x53be02(0x179)]=null;[_0x53be02(0x1d4)]=null;[_0x53be02(0x1c5)];[_0x53be02(0x1d3)];[_0x53be02(0x1d9)];static get[_0x53be02(0x1a1)](){const _0x51ef1d=_0x53be02;return _0x51ef1d(0x1da);}static get[_0x53be02(0x1af)](){return!0x0;}static get[_0x53be02(0x18e)](){return!0x0;}constructor(_0x2cf641){const _0x3b1f39=_0x53be02;super(_0x2cf641),this[_0x3b1f39(0x1c5)]=new _0x57f3d8(this[_0x3b1f39(0x18d)][_0x3b1f39(0x196)],{'elementName':_0x3b1f39(0x1ca),'getElementKey':()=>_0x3b1f39(0x1ce)}),this[_0x3b1f39(0x1d3)]=new _0x57f3d8(this[_0x3b1f39(0x18d)][_0x3b1f39(0x196)],{'elementName':_0x3b1f39(0x178),'getElementKey':_0x16f806=>_0x16f806[_0x3b1f39(0x186)](_0x3b1f39(0x17a))}),this[_0x3b1f39(0x1d9)]=new _0x57f3d8(this[_0x3b1f39(0x18d)][_0x3b1f39(0x196)],{'elementName':_0x3b1f39(0x1a3),'getElementKey':_0x16af71=>_0x16af71[_0x3b1f39(0x186)](_0x3b1f39(0x17a))});}[_0x53be02(0x1cc)](){const _0x26c2dd=_0x53be02,{editor:_0x101f92}=this,{model:_0x5d920b,data:_0x21f8d7}=_0x101f92;_0x5d920b[_0x26c2dd(0x181)][_0x26c2dd(0x19a)](_0x3cad16=>{const _0x4724e7=_0x26c2dd,_0x37bf70=_0x5d920b[_0x4724e7(0x181)][_0x4724e7(0x19c)][_0x4724e7(0x18b)]();let _0x21ace7=!0x1;return this[_0x4724e7(0x17e)](_0x3cad16,_0x37bf70)&&(_0x21ace7=!0x0),this[_0x4724e7(0x1b1)](_0x3cad16,_0x37bf70)&&(_0x21ace7=!0x0),this[_0x4724e7(0x1cb)](_0x3cad16,_0x37bf70)&&(_0x21ace7=!0x0),this[_0x4724e7(0x185)](_0x3cad16)&&(_0x21ace7=!0x0),this[_0x4724e7(0x194)](_0x3cad16)&&(_0x21ace7=!0x0),this[_0x4724e7(0x1cf)](_0x3cad16)&&(_0x21ace7=!0x0),_0x21ace7;}),this[_0x26c2dd(0x18f)](_0x5d920b[_0x26c2dd(0x181)],_0x26c2dd(0x1bc),()=>{const _0x48734e=_0x26c2dd;_0x5d920b[_0x48734e(0x1b3)]({'isUndoable':!0x1},_0x3ff7ab=>{const _0x2399f8=_0x48734e;this[_0x2399f8(0x1b9)](_0x3ff7ab);});},{'priority':_0x26c2dd(0x195)}),this[_0x26c2dd(0x18f)](_0x21f8d7,_0x26c2dd(0x1c9),()=>{const _0x27bc5b=_0x26c2dd;this[_0x27bc5b(0x1cd)]=[],this[_0x27bc5b(0x1c5)][_0x27bc5b(0x1c3)](),this[_0x27bc5b(0x1d3)][_0x27bc5b(0x1c3)](),this[_0x27bc5b(0x1d9)][_0x27bc5b(0x1c3)]();},{'priority':_0x26c2dd(0x1ab)});}[_0x53be02(0x1c7)](){const _0x229afd=_0x53be02;return this[_0x229afd(0x179)];}[_0x53be02(0x1c2)](_0x26bb98){const _0x321bcd=_0x53be02;return this[_0x321bcd(0x1cd)][_0x321bcd(0x1a0)](_0x25a75f=>_0x25a75f['id']===_0x26bb98)||null;}[_0x53be02(0x1b8)](){const _0x418aeb=_0x53be02;return Array[_0x418aeb(0x189)](this[_0x418aeb(0x1cd)]);}[_0x53be02(0x176)](){const _0xfd48b0=_0x53be02;return this[_0xfd48b0(0x1d4)];}[_0x53be02(0x19b)](_0x56ceac){const _0x274bc2=_0x53be02;this[_0x274bc2(0x1d4)]=_0x56ceac;}[_0x53be02(0x187)](_0xdf3d0,_0x3ffa7b=0x0){const _0x27bc8c=_0x53be02;let _0x244903=!0x1;for(let _0x3637d2=_0x3ffa7b;_0x3637d2<this[_0x27bc8c(0x1cd)][_0x27bc8c(0x191)];_0x3637d2++)this[_0x27bc8c(0x180)](_0xdf3d0,_0x3637d2)&&(_0x244903=!0x0);return _0x244903;}[_0x53be02(0x1a6)](_0x209244,_0xc75096){const _0x614f01=_0x53be02,_0x591986=_0x209244[_0x614f01(0x1d0)](_0x614f01(0x1ca),{});return _0x209244[_0x614f01(0x1a7)](_0x591986,_0xc75096),this[_0x614f01(0x179)]=_0x591986,_0x591986;}[_0x53be02(0x1b9)](_0x4bfc25){const _0x206271=_0x53be02;if(!this[_0x206271(0x1cd)][_0x206271(0x191)]||this[_0x206271(0x179)])return;const _0x4c8728=this[_0x206271(0x1cd)][0x0][_0x206271(0x1bb)][_0x206271(0x1b6)],_0x7a67c8=this[_0x206271(0x1a6)](_0x4bfc25,_0x4c8728);for(const _0x4c5436 of this[_0x206271(0x1cd)])_0x4c5436[_0x206271(0x1a5)][_0x206271(0x1c0)]||_0x4bfc25[_0x206271(0x198)](_0x4c5436[_0x206271(0x1a5)],_0x7a67c8,_0x206271(0x18c));this[_0x206271(0x187)](_0x4bfc25);}[_0x53be02(0x17e)](_0x36ee5a,_0x47860f){const _0x2ec636=_0x53be02;let _0x3dec28=!0x1;const {inserted:_0x3a2945,removed:_0x470bd3,moved:_0x32b483}=this[_0x2ec636(0x1c5)][_0x2ec636(0x18b)](_0x47860f);if(_0x32b483[_0x2ec636(0x191)]&&(this[_0x2ec636(0x179)]=_0x32b483[0x0]),_0x3a2945[_0x2ec636(0x191)]){if(_0x3a2945[_0x2ec636(0x191)]>0x1||this[_0x2ec636(0x179)]&&_0x3a2945[_0x2ec636(0x1b7)](_0xfea3af=>_0xfea3af!==this[_0x2ec636(0x179)])){const _0xedc5d2=_0x36ee5a[_0x2ec636(0x1d0)](_0x2ec636(0x1ca),{}),_0x2407bb=[];this[_0x2ec636(0x179)]&&_0x2407bb[_0x2ec636(0x1ad)](this[_0x2ec636(0x179)]),_0x2407bb[_0x2ec636(0x1ad)](..._0x3a2945),_0x36ee5a[_0x2ec636(0x198)](_0xedc5d2,_0x2407bb[0x0],_0x2ec636(0x1d5));for(const _0x9f7c98 of _0x2407bb)_0x36ee5a[_0x2ec636(0x18a)](_0x36ee5a[_0x2ec636(0x1c1)](_0x9f7c98),_0x36ee5a[_0x2ec636(0x1bd)](_0xedc5d2,_0x2ec636(0x18c))),_0x36ee5a[_0x2ec636(0x188)](_0x9f7c98);this[_0x2ec636(0x179)]=_0xedc5d2,this[_0x2ec636(0x187)](_0x36ee5a),_0x3dec28=!0x0;}else this[_0x2ec636(0x179)]=_0x3a2945[0x0];}if(_0x470bd3[_0x2ec636(0x191)]&&_0x2ec636(0x1a2)===this[_0x2ec636(0x179)]?.[_0x2ec636(0x1b6)][_0x2ec636(0x199)]){for(const _0x27282f of this[_0x2ec636(0x1cd)])_0x36ee5a[_0x2ec636(0x188)](_0x27282f[_0x2ec636(0x1bb)]),_0x3dec28=!0x0;this[_0x2ec636(0x1cd)]=[],this[_0x2ec636(0x179)]=null;}return _0x3dec28;}[_0x53be02(0x1b1)](_0x4bb5a8,_0x182e33){const _0x455628=_0x53be02;let _0x4441fc=!0x1;const _0x5639f3=this[_0x455628(0x18d)][_0x455628(0x1d2)][_0x455628(0x1c8)](_0x455628(0x1d6)),{inserted:_0x12b564,moved:_0x4d0df9}=this[_0x455628(0x1d9)][_0x455628(0x18b)](_0x182e33);for(const _0x49b074 of[..._0x4d0df9,..._0x12b564]){const _0x32d2c7=_0x49b074[_0x455628(0x186)](_0x455628(0x17a)),_0x1a16f6=this[_0x455628(0x1c2)](_0x32d2c7);_0x1a16f6&&(_0x1a16f6[_0x455628(0x1a5)]=_0x49b074),_(_0x4bb5a8,_0x5639f3,_0x49b074)&&(_0x4441fc=!0x0);}return _0x4441fc;}[_0x53be02(0x1cb)](_0x29e23a,_0x2b84c8){const _0x38fc7a=_0x53be02;let _0x6edc58=!0x1;const {removed:_0x41b8e0,inserted:_0x559827,moved:_0x458097}=this[_0x38fc7a(0x1d3)][_0x38fc7a(0x18b)](_0x2b84c8);for(const _0xaac081 of _0x41b8e0)this[_0x38fc7a(0x175)](_0x29e23a,_0xaac081)&&(_0x6edc58=!0x0);for(const _0x4ac62e of _0x559827)this[_0x38fc7a(0x1b2)](_0x29e23a,_0x4ac62e)&&(_0x6edc58=!0x0);for(const _0x222b26 of _0x458097)this[_0x38fc7a(0x1d1)](_0x29e23a,_0x222b26)&&(_0x6edc58=!0x0);return _0x6edc58;}[_0x53be02(0x194)](_0x296476){const _0x41b460=_0x53be02;if(!this[_0x41b460(0x179)])return!0x1;let _0x2e7939=!0x1;if(this[_0x41b460(0x179)][_0x41b460(0x1db)]!==this[_0x41b460(0x1cd)][_0x41b460(0x191)]){const _0x31a389=[];for(const _0x5dbf77 of this[_0x41b460(0x179)][_0x41b460(0x1b0)]()){const _0xe93cef=_0x5dbf77[_0x41b460(0x186)](_0x41b460(0x17a));this[_0x41b460(0x1c2)](_0xe93cef)||(_0x31a389[_0x41b460(0x184)](_0x5dbf77),_0x2e7939=!0x0);}for(const _0x473547 of _0x31a389)_0x296476[_0x41b460(0x188)](_0x473547);}const _0x33e27e=new Set(),_0x4ff3b9=[];for(const _0x39b4c9 of this[_0x41b460(0x179)][_0x41b460(0x1b0)]()){const _0x584acf=_0x39b4c9[_0x41b460(0x186)](_0x41b460(0x17a));_0x33e27e[_0x41b460(0x182)](_0x584acf)?(_0x4ff3b9[_0x41b460(0x184)](_0x39b4c9),_0x2e7939=!0x0):_0x33e27e[_0x41b460(0x1c6)](_0x584acf);}for(const _0xf1031a of _0x4ff3b9)_0x296476[_0x41b460(0x188)](_0xf1031a);return this[_0x41b460(0x179)][_0x41b460(0x1db)]||(_0x296476[_0x41b460(0x188)](this[_0x41b460(0x179)]),this[_0x41b460(0x179)]=null,_0x2e7939=!0x0),_0x2e7939;}[_0x53be02(0x1b2)](_0x4ead00,_0x15c4ba){const _0x584b38=_0x53be02;if(this[_0x584b38(0x1cd)][_0x584b38(0x1a0)](_0x13b8af=>_0x13b8af[_0x584b38(0x1bb)]===_0x15c4ba))return!0x1;let _0x592e94=!0x1;const _0x81620f=_0x15c4ba[_0x584b38(0x186)](_0x584b38(0x17a)),_0x2ea91a=this[_0x584b38(0x1cd)][_0x584b38(0x192)](_0x2ae73e=>_0x2ae73e['id']===_0x81620f);-0x1!==_0x2ea91a&&(_0x4ead00[_0x584b38(0x188)](this[_0x584b38(0x1cd)][_0x2ea91a][_0x584b38(0x1bb)]),this[_0x584b38(0x1cd)][_0x584b38(0x1a8)](_0x2ea91a,0x1),_0x592e94=!0x0);let _0x187be6=this[_0x584b38(0x179)]?function(_0x1826a2,_0x49bb34){const _0x1d42dd=_0x584b38;for(const _0x289ec4 of _0x1826a2[_0x1d42dd(0x1b0)]())if(_0x289ec4[_0x1d42dd(0x186)](_0x1d42dd(0x17a))===_0x49bb34)return _0x289ec4;return null;}(this[_0x584b38(0x179)],_0x81620f):null;_0x187be6||(_0x187be6=_0x4ead00[_0x584b38(0x1d0)](_0x584b38(0x1a3),{'footnoteId':_0x81620f}),this[_0x584b38(0x179)]&&(_0x4ead00[_0x584b38(0x198)](_0x187be6,this[_0x584b38(0x179)],_0x584b38(0x18c)),_0x592e94=!0x0));const _0x4864bf={'id':_0x81620f,'reference':_0x15c4ba,'definition':_0x187be6},_0x2b0e27=I(this[_0x584b38(0x18d)][_0x584b38(0x196)],this[_0x584b38(0x1cd)],_0x15c4ba);this[_0x584b38(0x1cd)][_0x584b38(0x1a8)](_0x2b0e27,0x0,_0x4864bf);let _0x1b0ed5=_0x2b0e27;return-0x1!==_0x2ea91a&&(_0x1b0ed5=Math[_0x584b38(0x1ae)](_0x2b0e27,_0x2ea91a)),this[_0x584b38(0x187)](_0x4ead00,_0x1b0ed5)&&(_0x592e94=!0x0),_0x592e94;}[_0x53be02(0x175)](_0x2732a1,_0x2ac336){const _0x146e0a=_0x53be02,_0x55ce29=this[_0x146e0a(0x1cd)][_0x146e0a(0x192)](_0x16b8cd=>_0x16b8cd['id']===_0x2ac336);if(-0x1===_0x55ce29)return!0x1;let _0x2ea2be=!0x1;const _0x19bf5d=this[_0x146e0a(0x1cd)][_0x55ce29];return _0x146e0a(0x1a2)!==_0x19bf5d[_0x146e0a(0x1a5)][_0x146e0a(0x1b6)][_0x146e0a(0x199)]&&(_0x2732a1[_0x146e0a(0x188)](_0x19bf5d[_0x146e0a(0x1a5)]),_0x2ea2be=!0x0),this[_0x146e0a(0x1cd)][_0x146e0a(0x1a8)](_0x55ce29,0x1),this[_0x146e0a(0x187)](_0x2732a1,_0x55ce29)&&(_0x2ea2be=!0x0),_0x2ea2be;}[_0x53be02(0x1d1)](_0x43572b,_0x184c63){const _0x48f7ee=_0x53be02,_0x3d41ad=_0x184c63[_0x48f7ee(0x186)](_0x48f7ee(0x17a)),_0x2c8a37=this[_0x48f7ee(0x1cd)][_0x48f7ee(0x192)](_0x7d5be6=>_0x7d5be6['id']===_0x3d41ad),_0x1a8ce0=this[_0x48f7ee(0x1cd)][_0x2c8a37];let _0x5e28d0=!0x1;_0x1a8ce0[_0x48f7ee(0x1bb)]=_0x184c63,this[_0x48f7ee(0x1cd)][_0x48f7ee(0x1a8)](_0x2c8a37,0x1);const _0x3b10c0=I(this[_0x48f7ee(0x18d)][_0x48f7ee(0x196)],this[_0x48f7ee(0x1cd)],_0x184c63);return this[_0x48f7ee(0x1cd)][_0x48f7ee(0x1a8)](_0x3b10c0,0x0,_0x1a8ce0),this[_0x48f7ee(0x187)](_0x43572b,Math[_0x48f7ee(0x1ae)](_0x2c8a37,_0x3b10c0))&&(_0x5e28d0=!0x0),_0x5e28d0;}[_0x53be02(0x180)](_0x3cb258,_0x3dfbc7){const _0x51bb49=_0x53be02;if(!this[_0x51bb49(0x179)])return!0x1;const _0x3bd130=this[_0x51bb49(0x1cd)][_0x3dfbc7];let _0x51cbb4;return _0x51cbb4=this[_0x51bb49(0x1d4)]?this[_0x51bb49(0x1d4)]({'footnote':_0x3bd130,'container':this[_0x51bb49(0x179)],'digits':String(this[_0x51bb49(0x1cd)][_0x51bb49(0x191)])[_0x51bb49(0x191)],'value':_0x3dfbc7+0x1}):String(_0x3dfbc7+0x1),_0x3bd130[_0x51bb49(0x1bb)][_0x51bb49(0x186)](_0x51bb49(0x1a4))!=_0x51cbb4&&(_0x3cb258[_0x51bb49(0x1d7)](_0x51bb49(0x1a4),_0x51cbb4,_0x3bd130[_0x51bb49(0x1bb)]),!0x0);}[_0x53be02(0x1cf)](_0x43b259){const _0x62328a=_0x53be02;if(!this[_0x62328a(0x179)]||this[_0x62328a(0x1cd)][_0x62328a(0x191)]<0x2)return!0x1;if(function(_0x2927f0,_0x45839f){const _0x41cf85=_0x62328a;if(_0x2927f0[_0x41cf85(0x191)]!==_0x45839f[_0x41cf85(0x191)])return!0x1;for(let _0x4878f3=0x0;_0x4878f3<_0x2927f0[_0x41cf85(0x191)];_0x4878f3++)if(_0x2927f0[_0x4878f3]!==_0x45839f[_0x4878f3])return!0x1;return!0x0;}(this[_0x62328a(0x1cd)][_0x62328a(0x177)](_0x3f2c5a=>_0x3f2c5a['id']),Array[_0x62328a(0x189)](this[_0x62328a(0x179)][_0x62328a(0x1b0)]())[_0x62328a(0x177)](_0x2de3a7=>_0x2de3a7[_0x62328a(0x186)](_0x62328a(0x17a)))))return!0x1;let _0x7d9929=!0x1;for(let _0x1bc2ce=0x0;_0x1bc2ce<this[_0x62328a(0x1cd)][_0x62328a(0x191)];_0x1bc2ce++){const _0xe339fd=this[_0x62328a(0x1cd)][_0x1bc2ce],_0x38ea9a=_0x43b259[_0x62328a(0x1aa)](_0xe339fd[_0x62328a(0x1a5)]),_0x553e96=_0x43b259[_0x62328a(0x1bd)](this[_0x62328a(0x179)],_0x1bc2ce);_0x38ea9a[_0x62328a(0x193)](_0x553e96)||(_0x43b259[_0x62328a(0x18a)](_0x43b259[_0x62328a(0x19e)](_0xe339fd[_0x62328a(0x1a5)]),_0x553e96),_0x7d9929=!0x0);}return _0x7d9929;}[_0x53be02(0x185)](_0x17e419){const _0x53bd8a=_0x53be02;if(!this[_0x53bd8a(0x1cd)][_0x53bd8a(0x191)])return!0x1;const {model:_0x4635d4}=this[_0x53bd8a(0x18d)];let _0x5f3295=!0x1;for(let _0x23350d=0x0;_0x23350d<this[_0x53bd8a(0x1cd)][_0x53bd8a(0x191)]-0x1;_0x23350d++){const _0x4c6b4d=this[_0x53bd8a(0x1cd)][_0x23350d],_0x4453f3=this[_0x53bd8a(0x1cd)][_0x23350d+0x1],_0x345c7d=_0x4635d4[_0x53bd8a(0x1aa)](_0x4c6b4d[_0x53bd8a(0x1bb)]),_0x89e6fe=_0x4635d4[_0x53bd8a(0x1aa)](_0x4453f3[_0x53bd8a(0x1bb)]);_0x53bd8a(0x197)===_0x345c7d[_0x53bd8a(0x1ba)](_0x89e6fe)&&(this[_0x53bd8a(0x1d1)](_0x17e419,_0x4c6b4d[_0x53bd8a(0x1bb)]),_0x23350d=-0x1,_0x5f3295=!0x0);}return _0x5f3295;}}function _(_0x1ee03b,_0x4a17c5,_0xec8e7b){const _0xc44a40=_0x53be02;if(_0xec8e7b[_0xc44a40(0x1db)])return!0x1;const _0x2ca137=_0x4a17c5?_0xc44a40(0x1d8):_0xc44a40(0x1b4);return _0x1ee03b[_0xc44a40(0x198)](_0x1ee03b[_0xc44a40(0x1d0)](_0x2ca137),_0xec8e7b),!0x0;}function _0x50bc(){const _0x209102=['_footnoteDefsTracker','FootnotesTracker','childCount','_handleRemoveFootnoteReferenceById','getFootnotesFormatter','map','footnoteRef','_footnotesDefinitions','footnoteId','25DkVUla','getRootNames','1965416VUGqpn','_handleFootnotesDefinitionsObjectChanges','33MYLsMF','_updateFootnoteRefCounter','document','has','1202484wPmfLu','unshift','_ensureFootnotesReferencesHaveProperOrder','getAttribute','_updateFootnotesCounters','remove','from','move','getChanges','end','editor','isPremiumPlugin','listenTo','21cIWhVL','length','findIndex','isEqual','_handleFootnotesDefinitionsObjectSync','low','model','after','insert','rootName','registerPostFixer','setFootnoteFormatter','differ','4586090pVeMJR','createRangeOn','22086WHtlDB','find','pluginName','$graveyard','footnoteDefinition','footnoteCounter','definition','_insertEmptyFootnotesDefinitionsContainer','append','splice','19046148AFcDLE','createPositionBefore','high','50lBzLDg','push','min','isOfficialPlugin','getChildren','_handleFootnoteDefinitionsChanges','_handleInsertedFootnoteReference','enqueueChange','footnoteInlineContent','indexOf','root','some','getFootnotes','_ensureFootnotesDefinitionsContainerExists','compareWith','reference','change:data','createPositionAt','4650888GOjRYz','293832LVclru','parent','createRangeIn','getFootnote','reset','9ameHlY','_footnoteDefsContainerTracker','add','getFootnotesDefinitionsObjectElement','get','set','footnotesDefinitions','_handleFootnoteReferencesChanges','init','_footnotes','singleton','_sortFootnoteDefinitions','createElement','_handleMovedFootnoteReference','config','_footnoteRefsTracker','_footnoteFormatter','before','footnotes.multiBlock','setAttribute','paragraph'];_0x50bc=function(){return _0x209102;};return _0x50bc();}function I(_0x12ff72,_0x56a9cc,_0x567668){const _0x15f2c1=_0x53be02;if(0x0===_0x56a9cc[_0x15f2c1(0x191)])return 0x0;const _0x192da6=_0x12ff72[_0x15f2c1(0x1aa)](_0x567668);for(let _0x4885d5=0x0;_0x4885d5<_0x56a9cc[_0x15f2c1(0x191)];_0x4885d5++){const _0x26e0ed=_0x56a9cc[_0x4885d5],_0x420dfd=_0x12ff72[_0x15f2c1(0x1aa)](_0x26e0ed[_0x15f2c1(0x1bb)]);if(_0x15f2c1(0x1d5)===_0x192da6[_0x15f2c1(0x1ba)](_0x420dfd))return _0x4885d5;}const _0x764b6c=_0x567668[_0x15f2c1(0x1b6)];let _0x301654=-0x1;for(let _0x399475=_0x56a9cc[_0x15f2c1(0x191)]-0x1;_0x399475>=0x0;_0x399475--)if(_0x56a9cc[_0x399475][_0x15f2c1(0x1bb)][_0x15f2c1(0x1b6)]===_0x764b6c){_0x301654=_0x399475;break;}if(-0x1!==_0x301654)return _0x301654+0x1;const _0x48edaf=_0x12ff72[_0x15f2c1(0x181)][_0x15f2c1(0x17c)](),_0x17fbb2=_0x48edaf[_0x15f2c1(0x1b5)](_0x764b6c[_0x15f2c1(0x199)]),_0x1be247=_0x48edaf[_0x17fbb2+0x1];if(_0x1be247){for(let _0x30e9cc=0x0;_0x30e9cc<_0x56a9cc[_0x15f2c1(0x191)];_0x30e9cc++)if(_0x56a9cc[_0x30e9cc][_0x15f2c1(0x1bb)][_0x15f2c1(0x1b6)][_0x15f2c1(0x199)]===_0x1be247)return _0x30e9cc;}return _0x56a9cc[_0x15f2c1(0x191)];}
23
+ const _0x15dd63=_0x5540;(function(_0x588dd1,_0x5e6798){const _0x1f0e70=_0x5540,_0x3224bc=_0x588dd1();while(!![]){try{const _0x332392=-parseInt(_0x1f0e70(0x14d))/0x1*(parseInt(_0x1f0e70(0x167))/0x2)+parseInt(_0x1f0e70(0x144))/0x3+parseInt(_0x1f0e70(0x172))/0x4+-parseInt(_0x1f0e70(0x145))/0x5*(parseInt(_0x1f0e70(0x17a))/0x6)+-parseInt(_0x1f0e70(0x17c))/0x7*(parseInt(_0x1f0e70(0x151))/0x8)+-parseInt(_0x1f0e70(0x132))/0x9+parseInt(_0x1f0e70(0x141))/0xa;if(_0x332392===_0x5e6798)break;else _0x3224bc['push'](_0x3224bc['shift']());}catch(_0x5d9e9c){_0x3224bc['push'](_0x3224bc['shift']());}}}(_0x4218,0xe1088));function _0x5540(_0x59bdf3,_0x24400b){const _0x421846=_0x4218();return _0x5540=function(_0x55406f,_0x6911bb){_0x55406f=_0x55406f-0x11e;let _0x1efba6=_0x421846[_0x55406f];return _0x1efba6;},_0x5540(_0x59bdf3,_0x24400b);}function _0x4218(){const _0x58b0e0=['footnotes.multiBlock','parent','footnoteId','change:data','_handleFootnoteReferencesChanges','push','footnoteInlineContent','setAttribute','_handleFootnotesDefinitionsObjectSync','createRangeIn','getAttribute','model','FootnotesTracker','setFootnoteFormatter','getRootNames','isPremiumPlugin','reset','high','low','from','map','paragraph','_handleFootnoteDefinitionsChanges','insert','1659375ebnCth','set','_handleFootnotesDefinitionsObjectChanges','_handleRemoveFootnoteReferenceById','min','_ensureFootnotesReferencesHaveProperOrder','_handleInsertedFootnoteReference','getFootnotesFormatter','enqueueChange','_ensureFootnotesDefinitionsContainerExists','length','has','after','getChanges','unshift','13099420wzxjCa','createPositionBefore','isOfficialPlugin','5046108fMIeDW','5nQXvuE','listenTo','footnoteCounter','footnotesDefinitions','_handleMovedFootnoteReference','getFootnote','childCount','getFootnotes','508387duYytI','singleton','definition','_footnotesDefinitions','32TFSNWq','$graveyard','pluginName','footnoteRef','editor','some','_footnoteFormatter','get','remove','_footnoteDefsContainerTracker','_footnoteDefsTracker','end','compareWith','_updateFootnoteRefCounter','add','isEqual','config','createElement','footnoteDefinition','getChildren','_footnoteRefsTracker','splice','4hJOrdH','_footnotes','_updateFootnotesCounters','registerPostFixer','indexOf','before','rootName','getFootnotesDefinitionsObjectElement','append','differ','reference','2376456RrYwYt','document','_insertEmptyFootnotesDefinitionsContainer','root','move','createRangeOn','_sortFootnoteDefinitions','find','111018CGnyuN','findIndex','2528232jUvkaB','createPositionAt','init'];_0x4218=function(){return _0x58b0e0;};return _0x4218();}import{Plugin as _0x4bc230}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x27066b}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4bc230{[_0x15dd63(0x168)]=[];[_0x15dd63(0x150)]=null;[_0x15dd63(0x157)]=null;[_0x15dd63(0x15a)];[_0x15dd63(0x165)];[_0x15dd63(0x15b)];static get[_0x15dd63(0x153)](){const _0x56b34=_0x15dd63;return _0x56b34(0x126);}static get[_0x15dd63(0x143)](){return!0x0;}static get[_0x15dd63(0x129)](){return!0x0;}constructor(_0x54bdff){const _0x2178f2=_0x15dd63;super(_0x54bdff),this[_0x2178f2(0x15a)]=new _0x27066b(this[_0x2178f2(0x155)][_0x2178f2(0x125)],{'elementName':_0x2178f2(0x148),'getElementKey':()=>_0x2178f2(0x14e)}),this[_0x2178f2(0x165)]=new _0x27066b(this[_0x2178f2(0x155)][_0x2178f2(0x125)],{'elementName':_0x2178f2(0x154),'getElementKey':_0x52d1b5=>_0x52d1b5[_0x2178f2(0x124)](_0x2178f2(0x181))}),this[_0x2178f2(0x15b)]=new _0x27066b(this[_0x2178f2(0x155)][_0x2178f2(0x125)],{'elementName':_0x2178f2(0x163),'getElementKey':_0x4062a1=>_0x4062a1[_0x2178f2(0x124)](_0x2178f2(0x181))});}[_0x15dd63(0x17e)](){const _0x3cee08=_0x15dd63,{editor:_0x12ac3b}=this,{model:_0xc6404a,data:_0x1b26b1}=_0x12ac3b;_0xc6404a[_0x3cee08(0x173)][_0x3cee08(0x16a)](_0x4f717b=>{const _0x28c1b6=_0x3cee08,_0x4b512e=_0xc6404a[_0x28c1b6(0x173)][_0x28c1b6(0x170)][_0x28c1b6(0x13f)]();let _0x3bf9ad=!0x1;return this[_0x28c1b6(0x134)](_0x4f717b,_0x4b512e)&&(_0x3bf9ad=!0x0),this[_0x28c1b6(0x130)](_0x4f717b,_0x4b512e)&&(_0x3bf9ad=!0x0),this[_0x28c1b6(0x11e)](_0x4f717b,_0x4b512e)&&(_0x3bf9ad=!0x0),this[_0x28c1b6(0x137)](_0x4f717b)&&(_0x3bf9ad=!0x0),this[_0x28c1b6(0x122)](_0x4f717b)&&(_0x3bf9ad=!0x0),this[_0x28c1b6(0x178)](_0x4f717b)&&(_0x3bf9ad=!0x0),_0x3bf9ad;}),this[_0x3cee08(0x146)](_0xc6404a[_0x3cee08(0x173)],_0x3cee08(0x182),()=>{const _0x33c081=_0x3cee08;_0xc6404a[_0x33c081(0x13a)]({'isUndoable':!0x1},_0x14682a=>{const _0x13d21f=_0x33c081;this[_0x13d21f(0x13b)](_0x14682a);});},{'priority':_0x3cee08(0x12c)}),this[_0x3cee08(0x146)](_0x1b26b1,_0x3cee08(0x133),()=>{const _0x11d334=_0x3cee08;this[_0x11d334(0x168)]=[],this[_0x11d334(0x15a)][_0x11d334(0x12a)](),this[_0x11d334(0x165)][_0x11d334(0x12a)](),this[_0x11d334(0x15b)][_0x11d334(0x12a)]();},{'priority':_0x3cee08(0x12b)});}[_0x15dd63(0x16e)](){const _0x931589=_0x15dd63;return this[_0x931589(0x150)];}[_0x15dd63(0x14a)](_0x4c9458){const _0x24ccda=_0x15dd63;return this[_0x24ccda(0x168)][_0x24ccda(0x179)](_0x532754=>_0x532754['id']===_0x4c9458)||null;}[_0x15dd63(0x14c)](){const _0x566bb8=_0x15dd63;return Array[_0x566bb8(0x12d)](this[_0x566bb8(0x168)]);}[_0x15dd63(0x139)](){const _0x1b75b1=_0x15dd63;return this[_0x1b75b1(0x157)];}[_0x15dd63(0x127)](_0x790cf4){const _0x69b6b1=_0x15dd63;this[_0x69b6b1(0x157)]=_0x790cf4;}[_0x15dd63(0x169)](_0x723b0,_0x231a86=0x0){const _0x37421f=_0x15dd63;let _0x480a65=!0x1;for(let _0x2e4a54=_0x231a86;_0x2e4a54<this[_0x37421f(0x168)][_0x37421f(0x13c)];_0x2e4a54++)this[_0x37421f(0x15e)](_0x723b0,_0x2e4a54)&&(_0x480a65=!0x0);return _0x480a65;}[_0x15dd63(0x174)](_0x562f65,_0xf73fd8){const _0x24f989=_0x15dd63,_0x579918=_0x562f65[_0x24f989(0x162)](_0x24f989(0x148),{});return _0x562f65[_0x24f989(0x16f)](_0x579918,_0xf73fd8),this[_0x24f989(0x150)]=_0x579918,_0x579918;}[_0x15dd63(0x13b)](_0x1d248a){const _0x326f48=_0x15dd63;if(!this[_0x326f48(0x168)][_0x326f48(0x13c)]||this[_0x326f48(0x150)])return;const _0x562c3b=this[_0x326f48(0x168)][0x0][_0x326f48(0x171)][_0x326f48(0x175)],_0x4d1add=this[_0x326f48(0x174)](_0x1d248a,_0x562c3b);for(const _0x127d27 of this[_0x326f48(0x168)])_0x127d27[_0x326f48(0x14f)][_0x326f48(0x180)]||_0x1d248a[_0x326f48(0x131)](_0x127d27[_0x326f48(0x14f)],_0x4d1add,_0x326f48(0x15c));this[_0x326f48(0x169)](_0x1d248a);}[_0x15dd63(0x134)](_0x1f5aaf,_0x5a7397){const _0x3386ea=_0x15dd63;let _0xa12ca1=!0x1;const {inserted:_0x17d7b5,removed:_0x281606,moved:_0x1de4c1}=this[_0x3386ea(0x15a)][_0x3386ea(0x13f)](_0x5a7397);if(_0x1de4c1[_0x3386ea(0x13c)]&&(this[_0x3386ea(0x150)]=_0x1de4c1[0x0]),_0x17d7b5[_0x3386ea(0x13c)]){if(_0x17d7b5[_0x3386ea(0x13c)]>0x1||this[_0x3386ea(0x150)]&&_0x17d7b5[_0x3386ea(0x156)](_0x4a4b9d=>_0x4a4b9d!==this[_0x3386ea(0x150)])){const _0x458c24=_0x1f5aaf[_0x3386ea(0x162)](_0x3386ea(0x148),{}),_0x2a3d48=[];this[_0x3386ea(0x150)]&&_0x2a3d48[_0x3386ea(0x11f)](this[_0x3386ea(0x150)]),_0x2a3d48[_0x3386ea(0x11f)](..._0x17d7b5),_0x1f5aaf[_0x3386ea(0x131)](_0x458c24,_0x2a3d48[0x0],_0x3386ea(0x16c));for(const _0x232b17 of _0x2a3d48)_0x1f5aaf[_0x3386ea(0x176)](_0x1f5aaf[_0x3386ea(0x123)](_0x232b17),_0x1f5aaf[_0x3386ea(0x17d)](_0x458c24,_0x3386ea(0x15c))),_0x1f5aaf[_0x3386ea(0x159)](_0x232b17);this[_0x3386ea(0x150)]=_0x458c24,this[_0x3386ea(0x169)](_0x1f5aaf),_0xa12ca1=!0x0;}else this[_0x3386ea(0x150)]=_0x17d7b5[0x0];}if(_0x281606[_0x3386ea(0x13c)]&&_0x3386ea(0x152)===this[_0x3386ea(0x150)]?.[_0x3386ea(0x175)][_0x3386ea(0x16d)]){for(const _0x3e0fc7 of this[_0x3386ea(0x168)])_0x1f5aaf[_0x3386ea(0x159)](_0x3e0fc7[_0x3386ea(0x171)]),_0xa12ca1=!0x0;this[_0x3386ea(0x168)]=[],this[_0x3386ea(0x150)]=null;}return _0xa12ca1;}[_0x15dd63(0x130)](_0x258d4c,_0x56bf1e){const _0x2a4480=_0x15dd63;let _0x4631b8=!0x1;const _0x51eeb3=this[_0x2a4480(0x155)][_0x2a4480(0x161)][_0x2a4480(0x158)](_0x2a4480(0x17f)),{inserted:_0x54f697,moved:_0x3e3f73}=this[_0x2a4480(0x15b)][_0x2a4480(0x13f)](_0x56bf1e);for(const _0x4069a8 of[..._0x3e3f73,..._0x54f697]){const _0x2741f6=_0x4069a8[_0x2a4480(0x124)](_0x2a4480(0x181)),_0x4d188c=this[_0x2a4480(0x14a)](_0x2741f6);_0x4d188c&&(_0x4d188c[_0x2a4480(0x14f)]=_0x4069a8),_(_0x258d4c,_0x51eeb3,_0x4069a8)&&(_0x4631b8=!0x0);}return _0x4631b8;}[_0x15dd63(0x11e)](_0x570ea9,_0x4c91ab){const _0xa8d73c=_0x15dd63;let _0x5342b2=!0x1;const {removed:_0x3f5401,inserted:_0x2d0bac,moved:_0x503ac8}=this[_0xa8d73c(0x165)][_0xa8d73c(0x13f)](_0x4c91ab);for(const _0x4c3d80 of _0x3f5401)this[_0xa8d73c(0x135)](_0x570ea9,_0x4c3d80)&&(_0x5342b2=!0x0);for(const _0x5aae98 of _0x2d0bac)this[_0xa8d73c(0x138)](_0x570ea9,_0x5aae98)&&(_0x5342b2=!0x0);for(const _0x352849 of _0x503ac8)this[_0xa8d73c(0x149)](_0x570ea9,_0x352849)&&(_0x5342b2=!0x0);return _0x5342b2;}[_0x15dd63(0x122)](_0x4b102d){const _0x181a6e=_0x15dd63;if(!this[_0x181a6e(0x150)])return!0x1;let _0x1b16ba=!0x1;if(this[_0x181a6e(0x150)][_0x181a6e(0x14b)]!==this[_0x181a6e(0x168)][_0x181a6e(0x13c)]){const _0x1fac53=[];for(const _0x11fb15 of this[_0x181a6e(0x150)][_0x181a6e(0x164)]()){const _0x152768=_0x11fb15[_0x181a6e(0x124)](_0x181a6e(0x181));this[_0x181a6e(0x14a)](_0x152768)||(_0x1fac53[_0x181a6e(0x140)](_0x11fb15),_0x1b16ba=!0x0);}for(const _0x55fe88 of _0x1fac53)_0x4b102d[_0x181a6e(0x159)](_0x55fe88);}const _0xc232e6=new Set(),_0x51bff5=[];for(const _0x1dac34 of this[_0x181a6e(0x150)][_0x181a6e(0x164)]()){const _0x39622c=_0x1dac34[_0x181a6e(0x124)](_0x181a6e(0x181));_0xc232e6[_0x181a6e(0x13d)](_0x39622c)?(_0x51bff5[_0x181a6e(0x140)](_0x1dac34),_0x1b16ba=!0x0):_0xc232e6[_0x181a6e(0x15f)](_0x39622c);}for(const _0x216933 of _0x51bff5)_0x4b102d[_0x181a6e(0x159)](_0x216933);return this[_0x181a6e(0x150)][_0x181a6e(0x14b)]||(_0x4b102d[_0x181a6e(0x159)](this[_0x181a6e(0x150)]),this[_0x181a6e(0x150)]=null,_0x1b16ba=!0x0),_0x1b16ba;}[_0x15dd63(0x138)](_0xa3dc57,_0x2e8cc8){const _0x18c75d=_0x15dd63;if(this[_0x18c75d(0x168)][_0x18c75d(0x179)](_0x678def=>_0x678def[_0x18c75d(0x171)]===_0x2e8cc8))return!0x1;let _0x1c1bca=!0x1;const _0x1906c2=_0x2e8cc8[_0x18c75d(0x124)](_0x18c75d(0x181)),_0x198adc=this[_0x18c75d(0x168)][_0x18c75d(0x17b)](_0x4144d6=>_0x4144d6['id']===_0x1906c2);-0x1!==_0x198adc&&(_0xa3dc57[_0x18c75d(0x159)](this[_0x18c75d(0x168)][_0x198adc][_0x18c75d(0x171)]),this[_0x18c75d(0x168)][_0x18c75d(0x166)](_0x198adc,0x1),_0x1c1bca=!0x0);let _0x33d6e6=this[_0x18c75d(0x150)]?function(_0x3eb186,_0x20d7e5){const _0x55d8c3=_0x18c75d;for(const _0x470388 of _0x3eb186[_0x55d8c3(0x164)]())if(_0x470388[_0x55d8c3(0x124)](_0x55d8c3(0x181))===_0x20d7e5)return _0x470388;return null;}(this[_0x18c75d(0x150)],_0x1906c2):null;_0x33d6e6||(_0x33d6e6=_0xa3dc57[_0x18c75d(0x162)](_0x18c75d(0x163),{'footnoteId':_0x1906c2}),this[_0x18c75d(0x150)]&&(_0xa3dc57[_0x18c75d(0x131)](_0x33d6e6,this[_0x18c75d(0x150)],_0x18c75d(0x15c)),_0x1c1bca=!0x0));const _0x51fc05={'id':_0x1906c2,'reference':_0x2e8cc8,'definition':_0x33d6e6},_0x1ac6fe=I(this[_0x18c75d(0x155)][_0x18c75d(0x125)],this[_0x18c75d(0x168)],_0x2e8cc8);this[_0x18c75d(0x168)][_0x18c75d(0x166)](_0x1ac6fe,0x0,_0x51fc05);let _0x12c9fa=_0x1ac6fe;return-0x1!==_0x198adc&&(_0x12c9fa=Math[_0x18c75d(0x136)](_0x1ac6fe,_0x198adc)),this[_0x18c75d(0x169)](_0xa3dc57,_0x12c9fa)&&(_0x1c1bca=!0x0),_0x1c1bca;}[_0x15dd63(0x135)](_0x453301,_0x444c35){const _0x480c27=_0x15dd63,_0x4f8064=this[_0x480c27(0x168)][_0x480c27(0x17b)](_0x2cbdbb=>_0x2cbdbb['id']===_0x444c35);if(-0x1===_0x4f8064)return!0x1;let _0x1aa399=!0x1;const _0x4c5acd=this[_0x480c27(0x168)][_0x4f8064];return _0x480c27(0x152)!==_0x4c5acd[_0x480c27(0x14f)][_0x480c27(0x175)][_0x480c27(0x16d)]&&(_0x453301[_0x480c27(0x159)](_0x4c5acd[_0x480c27(0x14f)]),_0x1aa399=!0x0),this[_0x480c27(0x168)][_0x480c27(0x166)](_0x4f8064,0x1),this[_0x480c27(0x169)](_0x453301,_0x4f8064)&&(_0x1aa399=!0x0),_0x1aa399;}[_0x15dd63(0x149)](_0x153a9f,_0x200d8){const _0x50bd09=_0x15dd63,_0x275780=_0x200d8[_0x50bd09(0x124)](_0x50bd09(0x181)),_0x5167dc=this[_0x50bd09(0x168)][_0x50bd09(0x17b)](_0x1c4126=>_0x1c4126['id']===_0x275780),_0x33233c=this[_0x50bd09(0x168)][_0x5167dc];let _0x20b3f1=!0x1;_0x33233c[_0x50bd09(0x171)]=_0x200d8,this[_0x50bd09(0x168)][_0x50bd09(0x166)](_0x5167dc,0x1);const _0x3a76c9=I(this[_0x50bd09(0x155)][_0x50bd09(0x125)],this[_0x50bd09(0x168)],_0x200d8);return this[_0x50bd09(0x168)][_0x50bd09(0x166)](_0x3a76c9,0x0,_0x33233c),this[_0x50bd09(0x169)](_0x153a9f,Math[_0x50bd09(0x136)](_0x5167dc,_0x3a76c9))&&(_0x20b3f1=!0x0),_0x20b3f1;}[_0x15dd63(0x15e)](_0x59808f,_0x16fca9){const _0x56fa2a=_0x15dd63;if(!this[_0x56fa2a(0x150)])return!0x1;const _0x466413=this[_0x56fa2a(0x168)][_0x16fca9];let _0x3b820b;return _0x3b820b=this[_0x56fa2a(0x157)]?this[_0x56fa2a(0x157)]({'footnote':_0x466413,'container':this[_0x56fa2a(0x150)],'digits':String(this[_0x56fa2a(0x168)][_0x56fa2a(0x13c)])[_0x56fa2a(0x13c)],'value':_0x16fca9+0x1}):String(_0x16fca9+0x1),_0x466413[_0x56fa2a(0x171)][_0x56fa2a(0x124)](_0x56fa2a(0x147))!=_0x3b820b&&(_0x59808f[_0x56fa2a(0x121)](_0x56fa2a(0x147),_0x3b820b,_0x466413[_0x56fa2a(0x171)]),!0x0);}[_0x15dd63(0x178)](_0x3a281b){const _0x5867f5=_0x15dd63;if(!this[_0x5867f5(0x150)]||this[_0x5867f5(0x168)][_0x5867f5(0x13c)]<0x2)return!0x1;if(function(_0x224b2e,_0x48b93a){const _0x4780cf=_0x5867f5;if(_0x224b2e[_0x4780cf(0x13c)]!==_0x48b93a[_0x4780cf(0x13c)])return!0x1;for(let _0x1b6077=0x0;_0x1b6077<_0x224b2e[_0x4780cf(0x13c)];_0x1b6077++)if(_0x224b2e[_0x1b6077]!==_0x48b93a[_0x1b6077])return!0x1;return!0x0;}(this[_0x5867f5(0x168)][_0x5867f5(0x12e)](_0x2a56fb=>_0x2a56fb['id']),Array[_0x5867f5(0x12d)](this[_0x5867f5(0x150)][_0x5867f5(0x164)]())[_0x5867f5(0x12e)](_0x334590=>_0x334590[_0x5867f5(0x124)](_0x5867f5(0x181)))))return!0x1;let _0x263931=!0x1;for(let _0x22519c=0x0;_0x22519c<this[_0x5867f5(0x168)][_0x5867f5(0x13c)];_0x22519c++){const _0x25a0d7=this[_0x5867f5(0x168)][_0x22519c],_0x1a2d62=_0x3a281b[_0x5867f5(0x142)](_0x25a0d7[_0x5867f5(0x14f)]),_0x43b73b=_0x3a281b[_0x5867f5(0x17d)](this[_0x5867f5(0x150)],_0x22519c);_0x1a2d62[_0x5867f5(0x160)](_0x43b73b)||(_0x3a281b[_0x5867f5(0x176)](_0x3a281b[_0x5867f5(0x177)](_0x25a0d7[_0x5867f5(0x14f)]),_0x43b73b),_0x263931=!0x0);}return _0x263931;}[_0x15dd63(0x137)](_0x10533e){const _0x209caa=_0x15dd63;if(!this[_0x209caa(0x168)][_0x209caa(0x13c)])return!0x1;const {model:_0x420195}=this[_0x209caa(0x155)];let _0x1356c9=!0x1;for(let _0xfda16f=0x0;_0xfda16f<this[_0x209caa(0x168)][_0x209caa(0x13c)]-0x1;_0xfda16f++){const _0x533440=this[_0x209caa(0x168)][_0xfda16f],_0x35ff35=this[_0x209caa(0x168)][_0xfda16f+0x1],_0x2e2551=_0x420195[_0x209caa(0x142)](_0x533440[_0x209caa(0x171)]),_0xaacc3b=_0x420195[_0x209caa(0x142)](_0x35ff35[_0x209caa(0x171)]);_0x209caa(0x13e)===_0x2e2551[_0x209caa(0x15d)](_0xaacc3b)&&(this[_0x209caa(0x149)](_0x10533e,_0x533440[_0x209caa(0x171)]),_0xfda16f=-0x1,_0x1356c9=!0x0);}return _0x1356c9;}}function _(_0x5c3c96,_0x471fc7,_0x2cc296){const _0x474eb8=_0x15dd63;if(_0x2cc296[_0x474eb8(0x14b)])return!0x1;const _0x2498ed=_0x471fc7?_0x474eb8(0x12f):_0x474eb8(0x120);return _0x5c3c96[_0x474eb8(0x131)](_0x5c3c96[_0x474eb8(0x162)](_0x2498ed),_0x2cc296),!0x0;}function I(_0xda8f57,_0x3611fc,_0x31cb4e){const _0x3f45fe=_0x15dd63;if(0x0===_0x3611fc[_0x3f45fe(0x13c)])return 0x0;const _0x1fc8c9=_0xda8f57[_0x3f45fe(0x142)](_0x31cb4e);for(let _0x291f71=0x0;_0x291f71<_0x3611fc[_0x3f45fe(0x13c)];_0x291f71++){const _0x2b3c1d=_0x3611fc[_0x291f71],_0x54e517=_0xda8f57[_0x3f45fe(0x142)](_0x2b3c1d[_0x3f45fe(0x171)]);if(_0x3f45fe(0x16c)===_0x1fc8c9[_0x3f45fe(0x15d)](_0x54e517))return _0x291f71;}const _0x1a8894=_0x31cb4e[_0x3f45fe(0x175)];let _0x423e7e=-0x1;for(let _0x5f3955=_0x3611fc[_0x3f45fe(0x13c)]-0x1;_0x5f3955>=0x0;_0x5f3955--)if(_0x3611fc[_0x5f3955][_0x3f45fe(0x171)][_0x3f45fe(0x175)]===_0x1a8894){_0x423e7e=_0x5f3955;break;}if(-0x1!==_0x423e7e)return _0x423e7e+0x1;const _0x1fa739=_0xda8f57[_0x3f45fe(0x173)][_0x3f45fe(0x128)](),_0x1a06d9=_0x1fa739[_0x3f45fe(0x16b)](_0x1a8894[_0x3f45fe(0x16d)]),_0x3a7f25=_0x1fa739[_0x1a06d9+0x1];if(_0x3a7f25){for(let _0x5109ac=0x0;_0x5109ac<_0x3611fc[_0x3f45fe(0x13c)];_0x5109ac++)if(_0x3611fc[_0x5109ac][_0x3f45fe(0x171)][_0x3f45fe(0x175)][_0x3f45fe(0x16d)]===_0x3a7f25)return _0x5109ac;}return _0x3611fc[_0x3f45fe(0x13c)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3dd5ba,MenuBarMenuListItemButtonView as _0x2d1355}from'ckeditor5/src/ui.js';import{Plugin as _0x10a3c1}from'ckeditor5/src/core.js';import{IconFootnote as _0x1a9793}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x10a3c1{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x173e41}=this,{componentFactory:_0x184f51}=_0x173e41['ui'];_0x184f51['add']('insertFootnote',E(_0x173e41,_0x3dd5ba)),_0x184f51['add']('menuBar:insertFootnote',E(_0x173e41,_0x2d1355)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4bafec=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x77954d;for(const _0x3a19fb in _0x4bafec){const _0x5b7713=_0x3a19fb,_0x19a2bb=_0x4bafec[_0x5b7713];if('footnotesLicenseKeyValid'==_0x19a2bb||'footnotesLicenseKeyInvalid'==_0x19a2bb||'footnotesLicenseKeyExpired'==_0x19a2bb||'footnotesLicenseKeyDomainLimit'==_0x19a2bb||'footnotesLicenseKeyNotAllowed'==_0x19a2bb||'footnotesLicenseKeyEvaluationLimit'==_0x19a2bb||'footnotesLicenseKeyUsageLimit'==_0x19a2bb){delete _0x4bafec[_0x5b7713],_0x77954d=_0x19a2bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x77954d&&_0x4bafec['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x77954d&&_0x4bafec['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x77954d&&_0x4bafec['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x77954d&&_0x4bafec['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x77954d&&_0x4bafec['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x77954d&&_0x4bafec['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5e75d5,_0x1b95ef){const _0x48eb50=_0x5e75d5['commands']['get']('insertFootnote');return _0x3fd92e=>{const {t:t}=_0x3fd92e,_0x14ac74=new _0x1b95ef(_0x3fd92e),_0x2af3cf=_0x14ac74 instanceof _0x2d1355;return _0x14ac74['bind']('isEnabled')['to'](_0x48eb50,'isEnabled'),_0x14ac74['set']({'label':t(_0x2af3cf?'Footnote':'Insert\x20footnote'),'icon':_0x1a9793,'tooltip':!0x0}),_0x14ac74['on']('execute',()=>{_0x48eb50['execute'](),_0x5e75d5['editing']['view']['focus']();}),_0x14ac74;};}
23
+ import{ButtonView as _0x3e49a0,MenuBarMenuListItemButtonView as _0x346a13}from'ckeditor5/src/ui.js';import{Plugin as _0x58d623}from'ckeditor5/src/core.js';import{IconFootnote as _0x3348b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x58d623{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x54f81c}=this,{componentFactory:_0x5e629e}=_0x54f81c['ui'];_0x5e629e['add']('insertFootnote',E(_0x54f81c,_0x3e49a0)),_0x5e629e['add']('menuBar:insertFootnote',E(_0x54f81c,_0x346a13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5895cf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd7b2ba;for(const _0x4c345d in _0x5895cf){const _0x444e80=_0x4c345d,_0xb35de0=_0x5895cf[_0x444e80];if('footnotesLicenseKeyValid'==_0xb35de0||'footnotesLicenseKeyInvalid'==_0xb35de0||'footnotesLicenseKeyExpired'==_0xb35de0||'footnotesLicenseKeyDomainLimit'==_0xb35de0||'footnotesLicenseKeyNotAllowed'==_0xb35de0||'footnotesLicenseKeyEvaluationLimit'==_0xb35de0||'footnotesLicenseKeyUsageLimit'==_0xb35de0){delete _0x5895cf[_0x444e80],_0xd7b2ba=_0xb35de0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xd7b2ba&&_0x5895cf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x5918ca,_0x43a157){const _0x29e8f3=_0x5918ca['commands']['get']('insertFootnote');return _0xc74531=>{const {t:t}=_0xc74531,_0x3f0d10=new _0x43a157(_0xc74531),_0x1b2e26=_0x3f0d10 instanceof _0x346a13;return _0x3f0d10['bind']('isEnabled')['to'](_0x29e8f3,'isEnabled'),_0x3f0d10['set']({'label':t(_0x1b2e26?'Footnote':'Insert\x20footnote'),'icon':_0x3348b,'tooltip':!0x0}),_0x3f0d10['on']('execute',()=>{_0x29e8f3['execute'](),_0x5918ca['editing']['view']['focus']();}),_0x3f0d10;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x1ae6b0,_0xa5a7e0){var _0x31a86e=_0x38fd,_0x894d6d=_0x1ae6b0();while(!![]){try{var _0x870dc5=-parseInt(_0x31a86e(0xf1))/0x1+-parseInt(_0x31a86e(0xf8))/0x2+-parseInt(_0x31a86e(0xf5))/0x3+-parseInt(_0x31a86e(0xf9))/0x4*(parseInt(_0x31a86e(0xf4))/0x5)+parseInt(_0x31a86e(0xf6))/0x6+parseInt(_0x31a86e(0xf2))/0x7*(-parseInt(_0x31a86e(0xf7))/0x8)+parseInt(_0x31a86e(0xf3))/0x9;if(_0x870dc5===_0xa5a7e0)break;else _0x894d6d['push'](_0x894d6d['shift']());}catch(_0x59e22e){_0x894d6d['push'](_0x894d6d['shift']());}}}(_0x574f,0x5fe80));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x574f(){var _0x2d5133=['1922268nLYjTf','431262utrLRz','3624SmqJpx','81828THqiHr','2527612FctSGq','747389ynZnlw','6909JgydAh','25461252PRObRc','5bIWFYW'];_0x574f=function(){return _0x2d5133;};return _0x574f();}export{FootnotesEditing}from'./footnotesediting.js';function _0x38fd(_0x13e7ac,_0x3d44e2){var _0x574fc2=_0x574f();return _0x38fd=function(_0x38fd17,_0x22da87){_0x38fd17=_0x38fd17-0xf1;var _0x56ef33=_0x574fc2[_0x38fd17];return _0x56ef33;},_0x38fd(_0x13e7ac,_0x3d44e2);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ function _0x1123(){var _0x448cc0=['926dBfVkc','7207438NJplBk','3040brlpfu','4949394cgGTLF','42815pBMxWU','1124704SWkTvG','388nzCnVL','1377kwnpRA','21206390epgjkC','5979xEcJlD'];_0x1123=function(){return _0x448cc0;};return _0x1123();}(function(_0x546901,_0x1501d6){var _0x38c26b=_0x32ef,_0x5a5b07=_0x546901();while(!![]){try{var _0x411e76=-parseInt(_0x38c26b(0x9d))/0x1+-parseInt(_0x38c26b(0xa2))/0x2*(parseInt(_0x38c26b(0xa1))/0x3)+parseInt(_0x38c26b(0x9e))/0x4*(parseInt(_0x38c26b(0x9c))/0x5)+parseInt(_0x38c26b(0x9b))/0x6+-parseInt(_0x38c26b(0x99))/0x7+parseInt(_0x38c26b(0x9a))/0x8*(-parseInt(_0x38c26b(0x9f))/0x9)+parseInt(_0x38c26b(0xa0))/0xa;if(_0x411e76===_0x1501d6)break;else _0x5a5b07['push'](_0x5a5b07['shift']());}catch(_0x2a3ea8){_0x5a5b07['push'](_0x5a5b07['shift']());}}}(_0x1123,0x9c790));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 _0x32ef(_0x5b42c4,_0x276abc){var _0x11237f=_0x1123();return _0x32ef=function(_0x32ef04,_0xc1e372){_0x32ef04=_0x32ef04-0x99;var _0x1b8403=_0x11237f[_0x32ef04];return _0x1b8403;},_0x32ef(_0x5b42c4,_0x276abc);}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2eba67=_0x4268;function _0x4268(_0x819e9f,_0x142444){const _0x524575=_0x5245();return _0x4268=function(_0x4268f0,_0x48f041){_0x4268f0=_0x4268f0-0x82;let _0x2e68e5=_0x524575[_0x4268f0];return _0x2e68e5;},_0x4268(_0x819e9f,_0x142444);}(function(_0x5b7d94,_0x123b2e){const _0x5ad5d1=_0x4268,_0x2e2b1f=_0x5b7d94();while(!![]){try{const _0xb7f7e4=parseInt(_0x5ad5d1(0xac))/0x1*(-parseInt(_0x5ad5d1(0x88))/0x2)+parseInt(_0x5ad5d1(0xa9))/0x3*(-parseInt(_0x5ad5d1(0x93))/0x4)+-parseInt(_0x5ad5d1(0xae))/0x5+parseInt(_0x5ad5d1(0x92))/0x6+parseInt(_0x5ad5d1(0xa5))/0x7*(parseInt(_0x5ad5d1(0x90))/0x8)+parseInt(_0x5ad5d1(0x9f))/0x9*(parseInt(_0x5ad5d1(0xa4))/0xa)+parseInt(_0x5ad5d1(0x98))/0xb;if(_0xb7f7e4===_0x123b2e)break;else _0x2e2b1f['push'](_0x2e2b1f['shift']());}catch(_0x252ef2){_0x2e2b1f['push'](_0x2e2b1f['shift']());}}}(_0x5245,0x2e266));function _0x5245(){const _0x743234=['root','add','slice','9ahYbTA','$graveyard','getItems','name','rootName','111970xgDLwR','63UYzmmJ','_trackedElements','nodeAfter','$text','306483cCkMmj','reset','length','8nztVJw','clear','150315tXoJDx','position','_model','values','flat','delete','insert','40472iJdmcj','createRangeOn','push','get','_elementName','getChanges','has','attributes','168376JPVVBH','type','905796qjfLaM','4ALVCDg','elementName','_getElementKey','remove','element','1447116GSRiSN','from','getElementKey','set'];_0x5245=function(){return _0x743234;};return _0x5245();}export class ModelElementTracker{[_0x2eba67(0x83)];[_0x2eba67(0x8c)];[_0x2eba67(0x95)];[_0x2eba67(0xa6)]=new Map();constructor(_0x367272,_0x24c2ea){const _0x43c5fe=_0x2eba67;this[_0x43c5fe(0x83)]=_0x367272,this[_0x43c5fe(0x8c)]=_0x24c2ea[_0x43c5fe(0x94)],this[_0x43c5fe(0x95)]=_0x24c2ea[_0x43c5fe(0x9a)];}[_0x2eba67(0xaa)](){const _0x4fd258=_0x2eba67;this[_0x4fd258(0xa6)][_0x4fd258(0xad)]();}[_0x2eba67(0x8d)](_0x4a0bb5){const _0x7e51b7=_0x2eba67,_0x435775=new Set(),_0xb92bf=new Map();for(const _0x430cb7 of _0x4a0bb5){if(_0x7e51b7(0x87)===_0x430cb7[_0x7e51b7(0x91)]&&_0x7e51b7(0xa8)!==_0x430cb7[_0x7e51b7(0xa2)]&&_0x430cb7[_0x7e51b7(0x82)][_0x7e51b7(0xa7)]){const _0x20dec1=this[_0x7e51b7(0x83)][_0x7e51b7(0x89)](_0x430cb7[_0x7e51b7(0x82)][_0x7e51b7(0xa7)]);for(const _0x388b3b of _0x20dec1[_0x7e51b7(0xa1)]()){if(!_0x388b3b['is'](_0x7e51b7(0x97),this[_0x7e51b7(0x8c)]))continue;const _0x276db0=this[_0x7e51b7(0x95)](_0x388b3b);_0xb92bf[_0x7e51b7(0x8e)](_0x276db0)||_0xb92bf[_0x7e51b7(0x9b)](_0x276db0,[]),_0xb92bf[_0x7e51b7(0x8b)](_0x276db0)[_0x7e51b7(0x8a)](_0x388b3b);}}if(_0x7e51b7(0x96)===_0x430cb7[_0x7e51b7(0x91)]&&_0x430cb7[_0x7e51b7(0xa2)]===this[_0x7e51b7(0x8c)]){const _0x1ef9d5=this[_0x7e51b7(0x95)]({'getAttribute':_0x51e92d=>_0x430cb7[_0x7e51b7(0x8f)][_0x7e51b7(0x8b)](_0x51e92d)});_0x435775[_0x7e51b7(0x9d)](_0x1ef9d5);}}for(const [_0x22b44e,_0xe825ca]of this[_0x7e51b7(0xa6)])_0x7e51b7(0xa0)===_0xe825ca[_0x7e51b7(0x9c)][_0x7e51b7(0xa3)]&&_0x435775[_0x7e51b7(0x9d)](_0x22b44e);for(const _0xafbe9b of _0x435775)this[_0x7e51b7(0xa6)][_0x7e51b7(0x86)](_0xafbe9b);for(const [_0xc78d8d,_0x2abc3f]of _0xb92bf)this[_0x7e51b7(0xa6)][_0x7e51b7(0x9b)](_0xc78d8d,_0x2abc3f[_0x2abc3f[_0x7e51b7(0xab)]-0x1]);const _0x10bad1=new Set();for(const [_0x275212,_0x163183]of _0xb92bf)_0x435775[_0x7e51b7(0x8e)](_0x275212)&&(_0x10bad1[_0x7e51b7(0x9d)](_0x163183[0x0]),_0x163183[_0x7e51b7(0xab)]>0x1?_0xb92bf[_0x7e51b7(0x9b)](_0x275212,_0x163183[_0x7e51b7(0x9e)](0x1)):_0xb92bf[_0x7e51b7(0x86)](_0x275212),_0x435775[_0x7e51b7(0x86)](_0x275212));return{'removed':Array[_0x7e51b7(0x99)](_0x435775),'inserted':Array[_0x7e51b7(0x99)](_0xb92bf[_0x7e51b7(0x84)]())[_0x7e51b7(0x85)](),'moved':Array[_0x7e51b7(0x99)](_0x10bad1)};}}
23
+ function _0x667a(){const _0x17a054=['push','4912103kiIQFW','_elementName','attributes','get','delete','remove','flat','24xpclhp','32710bxXUKY','position','561eewxCE','172695AZQojr','$graveyard','nodeAfter','length','_model','$text','from','elementName','getItems','143457ewVHJZ','add','clear','2GhqykU','root','insert','slice','set','values','_trackedElements','32329934ainJqt','12eIYONx','createRangeOn','name','279349zNyacJ','element','type','getElementKey','has','getChanges','80lOICZq','reset','6pchNbm','2114973hXXRWV','_getElementKey','rootName'];_0x667a=function(){return _0x17a054;};return _0x667a();}const _0x5a676a=_0x1e78;function _0x1e78(_0x1b1c66,_0x3ab4ea){const _0x667a20=_0x667a();return _0x1e78=function(_0x1e7872,_0x5214c6){_0x1e7872=_0x1e7872-0x13c;let _0x592b5e=_0x667a20[_0x1e7872];return _0x592b5e;},_0x1e78(_0x1b1c66,_0x3ab4ea);}(function(_0x5d9c84,_0x3a5d9f){const _0x1b4d47=_0x1e78,_0x242ae0=_0x5d9c84();while(!![]){try{const _0x2ce4b5=parseInt(_0x1b4d47(0x168))/0x1*(parseInt(_0x1b4d47(0x15d))/0x2)+-parseInt(_0x1b4d47(0x15a))/0x3*(parseInt(_0x1b4d47(0x13f))/0x4)+-parseInt(_0x1b4d47(0x151))/0x5+parseInt(_0x1b4d47(0x141))/0x6*(-parseInt(_0x1b4d47(0x146))/0x7)+-parseInt(_0x1b4d47(0x14d))/0x8*(parseInt(_0x1b4d47(0x142))/0x9)+parseInt(_0x1b4d47(0x14e))/0xa*(parseInt(_0x1b4d47(0x150))/0xb)+-parseInt(_0x1b4d47(0x165))/0xc*(-parseInt(_0x1b4d47(0x164))/0xd);if(_0x2ce4b5===_0x3a5d9f)break;else _0x242ae0['push'](_0x242ae0['shift']());}catch(_0x1c3ba1){_0x242ae0['push'](_0x242ae0['shift']());}}}(_0x667a,0x82b99));export class ModelElementTracker{[_0x5a676a(0x155)];[_0x5a676a(0x147)];[_0x5a676a(0x143)];[_0x5a676a(0x163)]=new Map();constructor(_0x56e518,_0x18a798){const _0x359614=_0x5a676a;this[_0x359614(0x155)]=_0x56e518,this[_0x359614(0x147)]=_0x18a798[_0x359614(0x158)],this[_0x359614(0x143)]=_0x18a798[_0x359614(0x13c)];}[_0x5a676a(0x140)](){const _0x4353e5=_0x5a676a;this[_0x4353e5(0x163)][_0x4353e5(0x15c)]();}[_0x5a676a(0x13e)](_0x4f4cc5){const _0x3991aa=_0x5a676a,_0x27d62a=new Set(),_0x401fb8=new Map();for(const _0x844761 of _0x4f4cc5){if(_0x3991aa(0x15f)===_0x844761[_0x3991aa(0x16a)]&&_0x3991aa(0x156)!==_0x844761[_0x3991aa(0x167)]&&_0x844761[_0x3991aa(0x14f)][_0x3991aa(0x153)]){const _0x12db2a=this[_0x3991aa(0x155)][_0x3991aa(0x166)](_0x844761[_0x3991aa(0x14f)][_0x3991aa(0x153)]);for(const _0x44753d of _0x12db2a[_0x3991aa(0x159)]()){if(!_0x44753d['is'](_0x3991aa(0x169),this[_0x3991aa(0x147)]))continue;const _0x336208=this[_0x3991aa(0x143)](_0x44753d);_0x401fb8[_0x3991aa(0x13d)](_0x336208)||_0x401fb8[_0x3991aa(0x161)](_0x336208,[]),_0x401fb8[_0x3991aa(0x149)](_0x336208)[_0x3991aa(0x145)](_0x44753d);}}if(_0x3991aa(0x14b)===_0x844761[_0x3991aa(0x16a)]&&_0x844761[_0x3991aa(0x167)]===this[_0x3991aa(0x147)]){const _0x4e1461=this[_0x3991aa(0x143)]({'getAttribute':_0x2d48a0=>_0x844761[_0x3991aa(0x148)][_0x3991aa(0x149)](_0x2d48a0)});_0x27d62a[_0x3991aa(0x15b)](_0x4e1461);}}for(const [_0x3b722d,_0x381e98]of this[_0x3991aa(0x163)])_0x3991aa(0x152)===_0x381e98[_0x3991aa(0x15e)][_0x3991aa(0x144)]&&_0x27d62a[_0x3991aa(0x15b)](_0x3b722d);for(const _0x408773 of _0x27d62a)this[_0x3991aa(0x163)][_0x3991aa(0x14a)](_0x408773);for(const [_0x56bb94,_0x4fcc30]of _0x401fb8)this[_0x3991aa(0x163)][_0x3991aa(0x161)](_0x56bb94,_0x4fcc30[_0x4fcc30[_0x3991aa(0x154)]-0x1]);const _0x1c26d7=new Set();for(const [_0x5ddf0d,_0x392c0f]of _0x401fb8)_0x27d62a[_0x3991aa(0x13d)](_0x5ddf0d)&&(_0x1c26d7[_0x3991aa(0x15b)](_0x392c0f[0x0]),_0x392c0f[_0x3991aa(0x154)]>0x1?_0x401fb8[_0x3991aa(0x161)](_0x5ddf0d,_0x392c0f[_0x3991aa(0x160)](0x1)):_0x401fb8[_0x3991aa(0x14a)](_0x5ddf0d),_0x27d62a[_0x3991aa(0x14a)](_0x5ddf0d));return{'removed':Array[_0x3991aa(0x157)](_0x27d62a),'inserted':Array[_0x3991aa(0x157)](_0x401fb8[_0x3991aa(0x162)]())[_0x3991aa(0x14c)](),'moved':Array[_0x3991aa(0x157)](_0x1c26d7)};}}