@ckeditor/ckeditor5-footnotes 47.7.0 → 47.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x51aea1}from'ckeditor5/src/core.js';import{isWidget as _0x56f56d,toWidget as _0x33c872,toWidgetEditable as _0x1a7f21}from'ckeditor5/src/widget.js';import{uid as _0x30a020}from'ckeditor5/src/utils.js';import{PointerObserver as _0x330e4d,ClickObserver as _0x122c8c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x30e2b1}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5eb7a6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x51aea1{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x30e2b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x550fa6}=this;_0x550fa6['config']['define']('footnotes.multiBlock',!0x0),_0x550fa6['commands']['add']('insertFootnote',new _0x5eb7a6(_0x550fa6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x8006f3){const _0x25e487=_0x1d44de([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]),_0x1eac5b=0x47a28506,_0x4e02b4=0x47a5026e^_0x1eac5b,_0x10dba6=window[_0x1d44de([0x44,0x61,0x74,0x65])][_0x1d44de([0x6e,0x6f,0x77])](),_0x4a0a08=_0x8006f3[_0x1d44de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a612a=new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fce0e=>{_0x4a0a08[_0x1d44de([0x6f,0x6e,0x63,0x65])](_0x1d44de([0x72,0x65,0x61,0x64,0x79]),_0x2fce0e);}),_0x2720ac={[_0x1d44de([0x6b,0x74,0x79])]:_0x1d44de([0x45,0x43]),[_0x1d44de([0x75,0x73,0x65])]:_0x1d44de([0x73,0x69,0x67]),[_0x1d44de([0x63,0x72,0x76])]:_0x1d44de([0x50,0x2d,0x32,0x35,0x36]),[_0x1d44de([0x78])]:_0x1d44de([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]),[_0x1d44de([0x79])]:_0x1d44de([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]),[_0x1d44de([0x61,0x6c,0x67])]:_0x1d44de([0x45,0x53,0x32,0x35,0x36])},_0x3abe1b=_0x4a0a08[_0x1d44de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d44de([0x67,0x65,0x74])](_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53507d(){let _0x56f761,_0x46ae92=null,_0x449d51=null;try{if(_0x3abe1b==_0x1d44de([0x47,0x50,0x4c]))return _0x1d44de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56f761=_0x4a4f41(),!_0x56f761)return _0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56f761[_0x1d44de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x449d51=_0x5ddaae(_0x56f761[_0x1d44de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56f761[_0x1d44de([0x6a,0x74,0x69])])),await _0x234961()?_0x3891fb()?_0x343836()?_0x1d44de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10ddd1()?(_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d44de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46ae92=_0x547ff2(_0x1d44de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd45198()):_0x1d44de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d44de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x343836(){const _0x2febf5=[_0x1d44de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d44de([0x74,0x72,0x69,0x61,0x6c])][_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10dba6/0x3e8:0xe10*_0x4e02b4;return _0x56f761[_0x1d44de([0x65,0x78,0x70])]<_0x2febf5;}function _0x3891fb(){const _0x288cdd=_0x56f761[_0x1d44de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x288cdd&&(!!_0x288cdd[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x2a]))||!!_0x288cdd[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x46,0x4f,0x4f])));}function _0x10ddd1(){const _0x1b2c38=_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b2c38||0x0==_0x1b2c38[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x134b2d}=new URL(window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b2c38[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134b2d))return!0x0;const _0x446e16=_0x134b2d[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e]));return _0x1b2c38[_0x1d44de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481ec2=>_0x481ec2[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x2a])))[_0x1d44de([0x6d,0x61,0x70])](_0x3fdc0d=>_0x3fdc0d[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e])))[_0x1d44de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fb44f=>_0x2fb44f[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x446e16[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d44de([0x6d,0x61,0x70])](_0x1e7866=>Array(_0x446e16[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e7866[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d44de([0x66,0x69,0x6c,0x6c])](_0x1e7866[0x0]===_0x1d44de([0x2a])?_0x1d44de([0x2a]):'')[_0x1d44de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e7866))[_0x1d44de([0x73,0x6f,0x6d,0x65])](_0x3cefe4=>_0x446e16[_0x1d44de([0x65,0x76,0x65,0x72,0x79])]((_0x93ca7e,_0x208a66)=>_0x3cefe4[_0x208a66]===_0x93ca7e||_0x3cefe4[_0x208a66]===_0x1d44de([0x2a])));}function _0xd45198(){return _0x46ae92&&_0x449d51?new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x297644,_0xfc760a)=>{_0x46ae92[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x297644,_0xfc760a),_0x449d51[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x3598f2=>{_0x3598f2!=_0x1d44de([0x56,0x61,0x6c,0x69,0x64])&&_0x297644(_0x3598f2);},_0xfc760a);}):_0x46ae92||_0x449d51||_0x1d44de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ddaae(_0x689110,_0x16974b){return new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d8a4c=>{if(_0x43bf13())return _0x4d8a4c(_0x1d44de([0x56,0x61,0x6c,0x69,0x64]));_0x5a89d1(),_0x4a0a08[_0x1d44de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17db09=!0x1;const _0x5beeba=_0x30a020();function _0x590612(_0x417c2c){return!!_0x417c2c&&(typeof _0x417c2c===_0x1d44de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x417c2c===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x417c2c[_0x1d44de([0x74,0x68,0x65,0x6e])]===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x417c2c[_0x1d44de([0x63,0x61,0x74,0x63,0x68])]===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x212b7c(_0x38c9da){_0x14ce1a(_0x38c9da)[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x29a314=>{if(!_0x29a314||_0x29a314[_0x1d44de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d44de([0x6f,0x6b]))return _0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35e23d(_0x59cae7(_0x5beeba+_0x16974b))!=_0x29a314[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d44de([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x47cd2a=>(_0x13b405(),_0x47cd2a),()=>{const _0x2c2e3c=_0x3818c2();return null==_0x2c2e3c?(_0x13b405(),_0x1d44de([0x56,0x61,0x6c,0x69,0x64])):_0x1d44de(_0x10dba6-_0x2c2e3c>(0x63ae0106^_0x1eac5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x4d8a4c)[_0x1d44de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x462759=0x47946b86^_0x1eac5b;function _0x13b405(){const _0xc78aa9=_0x1d44de([0x6c,0x6c,0x63,0x74,0x2d])+_0x35e23d(_0x59cae7(_0x689110)),_0x5a9bce=_0x4948c8(_0x35e23d(window[_0x1d44de([0x4d,0x61,0x74,0x68])][_0x1d44de([0x63,0x65,0x69,0x6c])](_0x10dba6/_0x462759)));window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d44de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc78aa9,_0x5a9bce);}function _0x3818c2(){const _0x4df111=_0x1d44de([0x6c,0x6c,0x63,0x74,0x2d])+_0x35e23d(_0x59cae7(_0x689110)),_0x11d877=window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d44de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4df111);return _0x11d877?window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4948c8(_0x11d877),0x10)*_0x462759:null;}function _0x14ce1a(_0x59a869){return new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ea0bf,_0x3b9f23)=>{_0x59a869[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x4ea0bf,_0x3b9f23),window[_0x1d44de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b9f23,0x47a351c6^_0x1eac5b);});}}_0x4a0a08[_0x1d44de([0x6f,0x6e])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45af03,_0x1a7d7a)=>{if(_0x1a7d7a[0x0]!=_0x689110)return _0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a7d7a[0x1]={..._0x1a7d7a[0x1],[_0x1d44de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5beeba};},{[_0x1d44de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d44de([0x68,0x69,0x67,0x68])}),_0x4a0a08[_0x1d44de([0x6f,0x6e])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5abaaf=>{_0x590612(_0x5abaaf[_0x1d44de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17db09=!0x0,_0x212b7c(_0x5abaaf[_0x1d44de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d44de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d44de([0x6c,0x6f,0x77])}),_0x4a612a[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>{_0x17db09||_0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43bf13(){return _0x4a0a08[_0x1d44de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d44de([0x76,0x69,0x65,0x77])][_0x1d44de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d44de([0x61,0x75,0x74,0x6f]);}function _0x5a89d1(){_0x4a0a08[_0x1d44de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d44de([0x76,0x69,0x65,0x77])][_0x1d44de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d44de([0x61,0x75,0x74,0x6f]);}}function _0x547ff2(_0x463e4b){const _0x414e2d=[new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c796a=>setTimeout(_0x4c796a,0x47abbbca^_0x1eac5b)),_0x4a612a[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e1389=>{let _0xbe1ecd=0x0;_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x6f,0x6e])](_0x1d44de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x66865e,_0x402c3f)=>{_0x402c3f[0x0][_0x1d44de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbe1ecd++,_0xbe1ecd==(0x47a280ee^_0x1eac5b)&&(_0x1e1389(),_0x66865e[_0x1d44de([0x6f,0x66,0x66])]());});}))];return window[_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d44de([0x72,0x61,0x63,0x65])](_0x414e2d)[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>_0x463e4b);}async function _0x54cf82(){await _0x4a612a,_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42abe8,_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42abe8,_0x4a0a08[_0x1d44de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e3cfd(_0xbe30df){const _0x234cee=_0x18045d();_0x4a0a08[_0x234cee]=_0x1d44de([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbe30df,_0xbe30df!=_0x1d44de([0x56,0x61,0x6c,0x69,0x64])&&_0x54cf82();}function _0x18045d(){const _0x36de45=window[_0x1d44de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d44de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d44de([0x6e,0x6f,0x77])]())[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d44de([0x2e]),'');let _0x84b21c=_0x1d44de([0x75]);for(let _0x999667=0x0;_0x999667<_0x36de45[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x999667+=0x2){let _0x1fe212=window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36de45[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x999667,_0x999667+0x2));_0x1fe212>=_0x25e487[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1fe212-=_0x25e487[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x84b21c+=_0x25e487[_0x1fe212];}return _0x84b21c;}function _0x4a4f41(){const _0x32e4af=_0x3abe1b[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e]));if(0x3!=_0x32e4af[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c331a(_0x32e4af[0x1]);function _0x3c331a(_0x21077a){const _0x41b75d=_0xcbd2ba(_0x21077a);return _0x41b75d&&_0x38726c()?_0x41b75d:null;function _0x38726c(){const _0x14fc7c=_0x41b75d[_0x1d44de([0x6a,0x74,0x69])],_0x29389c=window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14fc7c[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14fc7c[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c8826={..._0x41b75d,[_0x1d44de([0x6a,0x74,0x69])]:_0x14fc7c[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14fc7c[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c8826[_0x1d44de([0x76,0x63])],_0x59cae7(_0x3c8826)==_0x29389c;}}}async function _0x234961(){let _0x1de437=!0x0;try{const _0x129123=_0x3abe1b[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e])),[_0x5d8db5,_0x3f1ef2,_0x1f2954]=_0x129123;return _0x23d582(_0x5d8db5),await _0x5bd30d(_0x5d8db5,_0x3f1ef2,_0x1f2954),_0x1de437;}catch{return!0x1;}function _0x23d582(_0x36a51c){const _0x1c23b4=_0xcbd2ba(_0x36a51c);_0x1c23b4&&_0x1c23b4[_0x1d44de([0x61,0x6c,0x67])]==_0x1d44de([0x45,0x53,0x32,0x35,0x36])||(_0x1de437=!0x1);}async function _0x5bd30d(_0x510b58,_0x49aa5d,_0x5cd67f){const _0x21a6c0=window[_0x1d44de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d44de([0x66,0x72,0x6f,0x6d])](_0x151743(_0x5cd67f),_0x45108b=>_0x45108b[_0x1d44de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc9f846=new window[(_0x1d44de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d44de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x510b58+_0x1d44de([0x2e])+_0x49aa5d),_0x3bcd84=window[_0x1d44de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d44de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3bcd84)return;const _0x484c31=await _0x3bcd84[_0x1d44de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d44de([0x6a,0x77,0x6b]),_0x2720ac,{[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x45,0x43,0x44,0x53,0x41]),[_0x1d44de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d44de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3bcd84[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x45,0x43,0x44,0x53,0x41]),[_0x1d44de([0x68,0x61,0x73,0x68])]:{[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x484c31,_0x21a6c0,_0xc9f846)||(_0x1de437=!0x1);}}function _0xcbd2ba(_0x32494e){return _0x32494e[_0x1d44de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d44de([0x65,0x79]))?JSON[_0x1d44de([0x70,0x61,0x72,0x73,0x65])](_0x151743(_0x32494e)):null;}function _0x151743(_0x38fb00){return window[_0x1d44de([0x61,0x74,0x6f,0x62])](_0x38fb00[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d44de([0x2b]))[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d44de([0x2f])));}function _0x59cae7(_0x333100){let _0x2db860=0x1505;function _0x3ef1a7(_0x54c668){for(let _0x284ae9=0x0;_0x284ae9<_0x54c668[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x284ae9++){const _0x320ec8=_0x54c668[_0x1d44de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x284ae9);_0x2db860=(_0x2db860<<0x5)+_0x2db860+_0x320ec8,_0x2db860&=_0x2db860;}}function _0x2603b9(_0x3b273d){Array[_0x1d44de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b273d)?_0x3b273d[_0x1d44de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2603b9):_0x3b273d&&typeof _0x3b273d==_0x1d44de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d44de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b273d)[_0x1d44de([0x73,0x6f,0x72,0x74])]()[_0x1d44de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14f9a4,_0x59d0c8])=>{_0x3ef1a7(_0x14f9a4),_0x2603b9(_0x59d0c8);}):_0x3ef1a7(window[_0x1d44de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b273d));}return _0x2603b9(_0x333100),_0x2db860>>>0x0;}function _0x35e23d(_0x430dfe){return _0x430dfe[_0x1d44de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d44de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d44de([0x30]));}function _0x4948c8(_0x428a65){return _0x428a65[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d44de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d44de([0x6a,0x6f,0x69,0x6e])]('');}function _0x42abe8(){}function _0x1d44de(_0x10dcd7){return _0x10dcd7['map'](_0x357242=>String['fromCharCode'](_0x357242))['join']('');}_0x1e3cfd(await _0x53507d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b145c){const {plugins:_0x158f0b,editing:_0xb9b9a6,model:_0x3f6167}=this['editor'],_0x233477=_0x158f0b['get'](_0x30e2b1)['getFootnote'](_0x4b145c);return!!_0x233477&&(_0x3f6167['change'](_0x5c23bd=>{_0x5c23bd['setSelection'](_0x5c23bd['createPositionAt'](_0x233477['definition'],'end'));}),_0xb9b9a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3d2338){const {plugins:_0x3b4280,editing:_0x6601,model:_0x40600d}=this['editor'],_0x11d61a=_0x3b4280['get'](_0x30e2b1)['getFootnote'](_0x3d2338);return!!_0x11d61a&&(_0x40600d['change'](_0x61c17f=>{_0x61c17f['setSelection'](_0x11d61a['reference'],'on');}),_0x6601['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x17629d}=this['editor']['model'],_0x579e85=this['editor']['config']['get']('footnotes.multiBlock');_0x17629d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x17629d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x17629d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x579e85?_0x17629d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x17629d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x17629d['addChildCheck'](_0x5bf480=>{for(const _0x578277 of _0x5bf480)if('footnoteDefinition'===_0x578277['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x44b1c9}=this,{conversion:_0x822820,editing:_0x5d13ba}=_0x44b1c9,{t:t}=_0x44b1c9['locale'];_0x822820['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x124a18,{writer:_0x42b3aa,consumable:_0x5e4b75})=>{const _0x23a8f0=_0x124a18['getChild'](0x0);if(!_0x23a8f0||!_0x23a8f0['is']('element','a'))return null;const _0x1f9918=_0x23a8f0['getAttribute']('href')||'';if(!_0x1f9918['startsWith']('#'))return null;const _0x2c932c=_0x1f9918['replace'](/^#/,'');if(!_0x2c932c)return null;_0x5e4b75['consume'](_0x23a8f0,{'name':!0x0,'attributes':['href']});for(const {item:_0x1a4f3d}of _0x5d13ba['view']['createRangeIn'](_0x23a8f0))_0x1a4f3d['is']('$textProxy')?_0x5e4b75['consume'](_0x1a4f3d['textNode'],{'name':!0x0}):_0x1a4f3d['is']('element')&&_0x5e4b75['consume'](_0x1a4f3d,{'name':!0x0});return _0x42b3aa['createElement']('footnoteRef',{'footnoteId':_0x2c932c});}}),_0x822820['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x29e50a,{writer:_0x4053f3})=>b(_0x29e50a,_0x4053f3)}),_0x822820['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1ac591,{writer:_0x38a40b})=>{const _0x78cf8e=_0x1ac591['getAttribute']('footnoteCounter');return _0x33c872(b(_0x1ac591,_0x38a40b),_0x38a40b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x78cf8e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x286b00}=this,{t:t}=_0x286b00['locale'],{conversion:_0xcd8d6f}=_0x286b00;_0xcd8d6f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xcd8d6f['for']('upcast')['add'](_0x4e6d0c=>{_0x4e6d0c['on']('element:ol',(_0x2e1e9c,_0x4c9b3a,_0x5539e9)=>{const _0xafa186=_0x4c9b3a['viewItem'];if(!_0xafa186['hasClass']('footnotes-list')||!_0x4c9b3a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5539e9['consumable']['consume'](_0xafa186,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5bdd9e,modelCursor:_0x586aef}=_0x5539e9['convertChildren'](_0x4c9b3a['viewItem'],_0x4c9b3a['modelCursor']);_0x4c9b3a['modelRange']=_0x5bdd9e,_0x4c9b3a['modelCursor']=_0x586aef;}),_0x4e6d0c['on']('element:hr',(_0xbbe819,_0x4057a2,_0x5eaf5d)=>{const _0x125b76=_0x4057a2['viewItem'];_0x125b76['hasClass']('footnotes-divider')&&_0x4057a2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5eaf5d['consumable']['consume'](_0x125b76,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xcd8d6f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x507da0,{writer:_0x102a50})=>D(_0x102a50)}),_0xcd8d6f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x30682d,{writer:_0x3f5322})=>{const _0x3e4d8e=D(_0x3f5322,{'data-footnotes-list-label':t('Footnotes')}),_0x960a16=_0x33c872(_0x3e4d8e,_0x3f5322,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3f5322['setCustomProperty']('footnotesDefinitions',!0x0,_0x960a16),_0x960a16;}});}['_defineDefinitionConverters'](){const {editor:_0x2ca418}=this,{conversion:_0x5878db,locale:_0x1942ec}=_0x2ca418,_0x2bb894=_0x2ca418['config']['get']('footnotes.multiBlock');_0x5878db['for']('upcast')['add'](_0x5dfb4c=>{_0x5dfb4c['on']('element:li',(_0x67b70b,_0x539c58,_0x2a6909)=>{const _0xdf557d=_0x539c58['viewItem'];if(!_0xdf557d['hasClass']('footnote-definition')||!_0xdf557d['getAttribute']('id'))return;const _0x3d3e26=_0xdf557d['parent'];if(!_0x3d3e26['is']('element','ol')||!_0x3d3e26['hasClass']('footnotes-list'))return;if(!_0x2a6909['consumable']['test'](_0xdf557d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4647eb=_0x2a6909['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xdf557d['getAttribute']('id')});if(!_0x2a6909['safeInsert'](_0x4647eb,_0x539c58['modelCursor']))return;_0x2a6909['consumable']['consume'](_0xdf557d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3cd25a=Array['from'](_0xdf557d['getChildren']())['find'](_0x31e634=>_0x31e634['is']('element')&&_0x31e634['hasClass']('footnote-content'));for(const _0x3c4de7 of _0xdf557d['getChildren']())_0x3c4de7['is']('element')&&(_0x2a6909['consumable']['consume'](_0x3c4de7,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2a6909['consumable']['consume'](_0x3c4de7,{'name':!0x0,'classes':'footnote-content'}));if(_0x3cd25a){if(_0x2bb894)_0x2a6909['convertChildren'](_0x3cd25a,_0x4647eb);else{const _0x3a1e64=_0x2a6909['writer']['createElement']('footnoteInlineContent');_0x2a6909['writer']['insert'](_0x3a1e64,_0x4647eb),_0x2a6909['convertChildren'](_0x3cd25a,_0x3a1e64);}}_0x2a6909['updateConversionResult'](_0x4647eb,_0x539c58);});}),_0x5878db['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x13b727,{writer:_0x247adf})=>y(_0x13b727,_0x247adf,_0x1942ec,{'dataPipeline':!0x0})}),_0x5878db['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x565053,{writer:_0x2452b2})=>y(_0x565053,_0x2452b2,_0x1942ec)});}['_defineBogusParagraphConverters'](){const {editor:_0x513a57}=this,{conversion:_0x6f2c0f}=_0x513a57;_0x513a57['config']['get']('footnotes.multiBlock')?(_0x6f2c0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x6f2c0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x513a57['model']['document'],'change:data',()=>{!function(_0x369be1,_0x3f645d){const _0x1e6bd2=_0x369be1['document']['differ'],_0x4e9279=new Set();for(const _0x1ed90a of _0x1e6bd2['getChanges']()){const _0x19e2e9='attribute'==_0x1ed90a['type']?_0x1ed90a['range']['start']['parent']:_0x1ed90a['position']['parent'];_0x19e2e9['is']('element','footnoteDefinition')&&_0x4e9279['add'](_0x19e2e9);}for(const _0x1bdf14 of _0x4e9279['values']()){const _0x27db4f=Array['from'](_0x1bdf14['getChildren']())['filter'](_0x4061ed=>v(_0x4061ed,_0x3f645d['mapper']));for(const _0x567035 of _0x27db4f)_0x3f645d['reconvertItem'](_0x567035);}}(_0x513a57['model'],_0x513a57['editing']);})):(_0x6f2c0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x6f2c0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x41eaa4,{writer:_0x359f13})=>{const _0x193613=_0x359f13['createContainerElement']('span');return _0x359f13['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x193613),_0x193613;}}));}['_defineKeyboardHandlers'](){const {editor:_0x168560}=this,{editing:_0x187987,t:t}=_0x168560,_0x29bd1b=_0x168560['model']['document']['selection'];_0x168560['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x168560['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x187987['view']['document'],'enter',(_0x4fbcdd,_0x305bc5)=>{const _0x1e5472=function(_0x18c6b3){const _0x4475b5=_0x18c6b3['getSelectedElement']();if(_0x4475b5?.['is']('element','footnoteRef'))return _0x4475b5;return null;}(_0x29bd1b);if(_0x1e5472){const _0x1eddb1=_0x1e5472['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1eddb1),_0x305bc5['preventDefault'](),_0x4fbcdd['stop']();}},{'context':_0x56f56d});}['_defineClickHandlers'](){const {editor:_0x18b6a9}=this,{editing:_0x314149}=_0x18b6a9;_0x18b6a9['editing']['view']['addObserver'](_0x330e4d),_0x18b6a9['editing']['view']['addObserver'](_0x122c8c);let _0x591b84=!0x1;this['listenTo'](_0x314149['view']['document'],'pointerdown',(_0x5bde63,_0x5bff85)=>{const {target:_0x1a20a8}=_0x5bff85,_0x5522f9=_0x314149['view']['document']['selection'];_0x591b84=!!(_0x1a20a8?.['is']('element','a')&&_0x1a20a8['parent']?.['is']('element','sup')&&_0x1a20a8['parent']['hasClass']('footnote'))&&_0x5522f9['getSelectedElement']()===_0x1a20a8['parent'];},{'priority':'high'}),this['listenTo'](_0x314149['view']['document'],'click',(_0x12b6b0,_0x1de29b)=>{const {target:_0x29cd4e}=_0x1de29b;if(!_0x29cd4e?.['is']('element','a'))return;if(_0x29cd4e['parent']?.['is']('element','sup')&&_0x29cd4e['parent']['hasClass']('footnote')&&!_0x591b84)return void _0x1de29b['preventDefault']();let _0x2a82ee=_0x29cd4e['getAttribute']('href');if(!_0x2a82ee?.['startsWith']('#'))return;_0x2a82ee=_0x2a82ee['slice'](0x1);let _0x39bf=!0x1;(_0x2a82ee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2a82ee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2a82ee))&&(_0x39bf=!0x0),_0x39bf&&(_0x1de29b['preventDefault'](),_0x12b6b0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xc8d3e6}={}){return(_0x17d05c,{writer:_0x35d63a})=>{if(!g(_0x17d05c))return null;if(!_0xc8d3e6)return _0x35d63a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2fe8f2=_0x35d63a['createContainerElement']('p');return _0x35d63a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2fe8f2),_0x2fe8f2;};}function g(_0x3e2958){const {parent:_0xd73efd}=_0x3e2958;if(!_0xd73efd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xd73efd['childCount'])return!0x1;for(const _0x1f09ca of _0x3e2958['getAttributeKeys']())if(!_0x1f09ca['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1f09ca)return!0x1;return!0x0;}function v(_0x480c68,_0x5ed9fa){if(!_0x480c68['is']('element','paragraph'))return!0x1;const _0x29b203=_0x5ed9fa['toViewElement'](_0x480c68);return!!_0x29b203&&g(_0x480c68)!==_0x29b203['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x359404){return _0x56f56d(_0x359404)&&_0x359404['is']('containerElement')&&!!_0x359404['getCustomProperty']('footnotesDefinitions');}function D(_0x5dd609,_0x536347={}){const _0x14c198=_0x5dd609['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x33c552=_0x5dd609['createContainerElement']('ol',{'class':'footnotes-list'},_0x5dd609['createSlot']());return _0x5dd609['createContainerElement']('div',{'class':'footnotes',..._0x536347},[_0x14c198,_0x33c552]);}function b(_0x555dc9,_0x5a32ff){const _0x441f7d=_0x555dc9['getAttribute']('footnoteId'),_0x5ac03e=_0x555dc9['getAttribute']('footnoteCounter'),_0x48a6a5=_0x5a32ff['createUIElement']('a',{'href':'#'+_0x441f7d},function(_0x479032){const _0x441952=this['toDomElement'](_0x479032);return _0x441952['textContent']=_0x5ac03e,_0x441952;}),_0x75eab7=_0x5a32ff['createContainerElement']('sup',{'id':'ref-'+_0x441f7d,'class':'footnote'},[_0x48a6a5]);return _0x75eab7['getFillerOffset']=()=>null,_0x75eab7;}function y(_0x4a5190,_0x46b796,_0x438ae2,{dataPipeline:_0x4a24c4}={}){const {t:t}=_0x438ae2,_0x180abe=_0x4a5190['getAttribute']('footnoteId'),_0x4ab98f=_0x46b796['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x180abe},function(_0x38688d){const _0x1cd071=this['toDomElement'](_0x38688d);return _0x1cd071['innerText']='^',_0x1cd071;}),_0x3fbf12=_0x4a24c4?_0x46b796['createContainerElement']('div',{'class':'footnote-content'}):_0x1a7f21(_0x46b796['createEditableElement']('div',{'class':'footnote-content'}),_0x46b796,{'label':t('Footnote\x20content.')});return _0x46b796['insert'](_0x46b796['createPositionAt'](_0x3fbf12,0x0),_0x46b796['createSlot']()),_0x46b796['createContainerElement']('li',{'class':'footnote-definition','id':_0x180abe},[_0x4ab98f,_0x3fbf12]);}
23
+ import{Plugin as _0x50fe79}from'ckeditor5/src/core.js';import{isWidget as _0x5af9b0,toWidget as _0x287332,toWidgetEditable as _0x19936c}from'ckeditor5/src/widget.js';import{uid as _0x19fbe8}from'ckeditor5/src/utils.js';import{PointerObserver as _0x55eab6,ClickObserver as _0x5581ee}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xb3c977}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x46700e}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x50fe79{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xb3c977];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4f0db6}=this;_0x4f0db6['config']['define']('footnotes.multiBlock',!0x0),_0x4f0db6['commands']['add']('insertFootnote',new _0x46700e(_0x4f0db6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4e5018){const _0x15f068=_0x954931([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]),_0x198e49=0x47a28506,_0x514548=0x47a50d16^_0x198e49,_0x1272c2=window[_0x954931([0x44,0x61,0x74,0x65])][_0x954931([0x6e,0x6f,0x77])](),_0xbf8fc7=_0x4e5018[_0x954931([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x47e7db=new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a74a9=>{_0xbf8fc7[_0x954931([0x6f,0x6e,0x63,0x65])](_0x954931([0x72,0x65,0x61,0x64,0x79]),_0x3a74a9);}),_0xd95cf7={[_0x954931([0x6b,0x74,0x79])]:_0x954931([0x45,0x43]),[_0x954931([0x75,0x73,0x65])]:_0x954931([0x73,0x69,0x67]),[_0x954931([0x63,0x72,0x76])]:_0x954931([0x50,0x2d,0x32,0x35,0x36]),[_0x954931([0x78])]:_0x954931([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]),[_0x954931([0x79])]:_0x954931([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]),[_0x954931([0x61,0x6c,0x67])]:_0x954931([0x45,0x53,0x32,0x35,0x36])},_0x35753b=_0xbf8fc7[_0x954931([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x954931([0x67,0x65,0x74])](_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x201c6b(){let _0x5e9575,_0x25fdf0=null,_0x10d66c=null;try{if(_0x35753b==_0x954931([0x47,0x50,0x4c]))return _0x954931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5e9575=_0x500779(),!_0x5e9575)return _0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5e9575[_0x954931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x10d66c=_0x3db2ae(_0x5e9575[_0x954931([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5e9575[_0x954931([0x6a,0x74,0x69])])),await _0xe64974()?_0x5ef229()?_0x5f5a94()?_0x954931([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4d6cf8()?(_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x954931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x25fdf0=_0x559f3a(_0x954931([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x114b49()):_0x954931([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x954931([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x954931([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5f5a94(){const _0x28295e=[_0x954931([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x954931([0x74,0x72,0x69,0x61,0x6c])][_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1272c2/0x3e8:0xe10*_0x514548;return _0x5e9575[_0x954931([0x65,0x78,0x70])]<_0x28295e;}function _0x5ef229(){const _0x5892e4=_0x5e9575[_0x954931([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5892e4&&(!!_0x5892e4[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x2a]))||!!_0x5892e4[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x46,0x4f,0x4f])));}function _0x4d6cf8(){const _0x58b2ee=_0x5e9575[_0x954931([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x58b2ee||0x0==_0x58b2ee[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x227f58}=new URL(window[_0x954931([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x58b2ee[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x227f58))return!0x0;const _0x34a6f4=_0x227f58[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e]));return _0x58b2ee[_0x954931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17f6e9=>_0x17f6e9[_0x954931([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x954931([0x2a])))[_0x954931([0x6d,0x61,0x70])](_0x1cccfd=>_0x1cccfd[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e])))[_0x954931([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4668f3=>_0x4668f3[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x34a6f4[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954931([0x6d,0x61,0x70])](_0x44e560=>Array(_0x34a6f4[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x44e560[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x954931([0x66,0x69,0x6c,0x6c])](_0x44e560[0x0]===_0x954931([0x2a])?_0x954931([0x2a]):'')[_0x954931([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x44e560))[_0x954931([0x73,0x6f,0x6d,0x65])](_0x133adc=>_0x34a6f4[_0x954931([0x65,0x76,0x65,0x72,0x79])]((_0x3d671b,_0x12e348)=>_0x133adc[_0x12e348]===_0x3d671b||_0x133adc[_0x12e348]===_0x954931([0x2a])));}function _0x114b49(){return _0x25fdf0&&_0x10d66c?new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3309b5,_0x3f05e6)=>{_0x25fdf0[_0x954931([0x74,0x68,0x65,0x6e])](_0x3309b5,_0x3f05e6),_0x10d66c[_0x954931([0x74,0x68,0x65,0x6e])](_0xf0b2db=>{_0xf0b2db!=_0x954931([0x56,0x61,0x6c,0x69,0x64])&&_0x3309b5(_0xf0b2db);},_0x3f05e6);}):_0x25fdf0||_0x10d66c||_0x954931([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3db2ae(_0x399ee7,_0x1d8e5b){return new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c0d7b=>{if(_0x400ef5())return _0x2c0d7b(_0x954931([0x56,0x61,0x6c,0x69,0x64]));_0x41618b(),_0xbf8fc7[_0x954931([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x37413d=!0x1;const _0x40d5dd=_0x19fbe8();function _0x564fbd(_0x208099){return!!_0x208099&&(typeof _0x208099===_0x954931([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x208099===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x208099[_0x954931([0x74,0x68,0x65,0x6e])]===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x208099[_0x954931([0x63,0x61,0x74,0x63,0x68])]===_0x954931([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4dc751(_0x626707){_0x163535(_0x626707)[_0x954931([0x74,0x68,0x65,0x6e])](_0x3f5adf=>{if(!_0x3f5adf||_0x3f5adf[_0x954931([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x954931([0x6f,0x6b]))return _0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2d1af6(_0x4c888a(_0x40d5dd+_0x1d8e5b))!=_0x3f5adf[_0x954931([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x954931([0x56,0x61,0x6c,0x69,0x64]);})[_0x954931([0x74,0x68,0x65,0x6e])](_0x45cfbf=>(_0x31f531(),_0x45cfbf),()=>{const _0x25c17f=_0x34c1f4();return null==_0x25c17f?(_0x31f531(),_0x954931([0x56,0x61,0x6c,0x69,0x64])):_0x954931(_0x1272c2-_0x25c17f>(0x63ae0106^_0x198e49)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x954931([0x74,0x68,0x65,0x6e])](_0x2c0d7b)[_0x954931([0x63,0x61,0x74,0x63,0x68])](()=>{_0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x5808e7=0x47946b86^_0x198e49;function _0x31f531(){const _0x523835=_0x954931([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d1af6(_0x4c888a(_0x399ee7)),_0x19236a=_0x38d3ef(_0x2d1af6(window[_0x954931([0x4d,0x61,0x74,0x68])][_0x954931([0x63,0x65,0x69,0x6c])](_0x1272c2/_0x5808e7)));window[_0x954931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954931([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x523835,_0x19236a);}function _0x34c1f4(){const _0x541c1a=_0x954931([0x6c,0x6c,0x63,0x74,0x2d])+_0x2d1af6(_0x4c888a(_0x399ee7)),_0x59ba12=window[_0x954931([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x954931([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x541c1a);return _0x59ba12?window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x38d3ef(_0x59ba12),0x10)*_0x5808e7:null;}function _0x163535(_0x2eeea9){return new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5a40d7,_0x55bb95)=>{_0x2eeea9[_0x954931([0x74,0x68,0x65,0x6e])](_0x5a40d7,_0x55bb95),window[_0x954931([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x55bb95,0x47a351c6^_0x198e49);});}}_0xbf8fc7[_0x954931([0x6f,0x6e])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1e6c70,_0x4ebc91)=>{if(_0x4ebc91[0x0]!=_0x399ee7)return _0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4ebc91[0x1]={..._0x4ebc91[0x1],[_0x954931([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40d5dd};},{[_0x954931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954931([0x68,0x69,0x67,0x68])}),_0xbf8fc7[_0x954931([0x6f,0x6e])](_0x954931([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x25a3e0=>{_0x564fbd(_0x25a3e0[_0x954931([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x37413d=!0x0,_0x4dc751(_0x25a3e0[_0x954931([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x954931([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x954931([0x6c,0x6f,0x77])}),_0x47e7db[_0x954931([0x74,0x68,0x65,0x6e])](()=>{_0x37413d||_0x2c0d7b(_0x954931([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x400ef5(){return _0xbf8fc7[_0x954931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954931([0x76,0x69,0x65,0x77])][_0x954931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x954931([0x61,0x75,0x74,0x6f]);}function _0x41618b(){_0xbf8fc7[_0x954931([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x954931([0x76,0x69,0x65,0x77])][_0x954931([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x954931([0x61,0x75,0x74,0x6f]);}}function _0x559f3a(_0x3e3d02){const _0x52ebd9=[new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x290654=>setTimeout(_0x290654,0x47abbbca^_0x198e49)),_0x47e7db[_0x954931([0x74,0x68,0x65,0x6e])](()=>new window[(_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5045c9=>{let _0x507307=0x0;_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x6f,0x6e])](_0x954931([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x30e81d,_0x3c0c9e)=>{_0x3c0c9e[0x0][_0x954931([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x507307++,_0x507307==(0x47a280ee^_0x198e49)&&(_0x5045c9(),_0x30e81d[_0x954931([0x6f,0x66,0x66])]());});}))];return window[_0x954931([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x954931([0x72,0x61,0x63,0x65])](_0x52ebd9)[_0x954931([0x74,0x68,0x65,0x6e])](()=>_0x3e3d02);}async function _0xb132c(){await _0x47e7db,_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2be7d0,_0xbf8fc7[_0x954931([0x6d,0x6f,0x64,0x65,0x6c])][_0x954931([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2be7d0,_0xbf8fc7[_0x954931([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x954931([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x35e1b5(_0x1bf87c){const _0x57fad7=_0xc994aa();_0xbf8fc7[_0x57fad7]=_0x954931([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1bf87c,_0x1bf87c!=_0x954931([0x56,0x61,0x6c,0x69,0x64])&&_0xb132c();}function _0xc994aa(){const _0x53f7df=window[_0x954931([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x954931([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x954931([0x6e,0x6f,0x77])]())[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x954931([0x2e]),'');let _0x5b2202=_0x954931([0x75]);for(let _0x1838db=0x0;_0x1838db<_0x53f7df[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1838db+=0x2){let _0xb64f87=window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53f7df[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1838db,_0x1838db+0x2));_0xb64f87>=_0x15f068[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xb64f87-=_0x15f068[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5b2202+=_0x15f068[_0xb64f87];}return _0x5b2202;}function _0x500779(){const _0x2766c2=_0x35753b[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e]));if(0x3!=_0x2766c2[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x281ead(_0x2766c2[0x1]);function _0x281ead(_0x38776a){const _0x41c6f3=_0x4b661c(_0x38776a);return _0x41c6f3&&_0x3b27b3()?_0x41c6f3:null;function _0x3b27b3(){const _0x3001f0=_0x41c6f3[_0x954931([0x6a,0x74,0x69])],_0xd9c4a7=window[_0x954931([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3001f0[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3001f0[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x53bc28={..._0x41c6f3,[_0x954931([0x6a,0x74,0x69])]:_0x3001f0[_0x954931([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3001f0[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x53bc28[_0x954931([0x76,0x63])],_0x4c888a(_0x53bc28)==_0xd9c4a7;}}}async function _0xe64974(){let _0x45236a=!0x0;try{const _0x5e130b=_0x35753b[_0x954931([0x73,0x70,0x6c,0x69,0x74])](_0x954931([0x2e])),[_0x13b071,_0x475bb4,_0x1158fd]=_0x5e130b;return _0x9cc366(_0x13b071),await _0x5c2a94(_0x13b071,_0x475bb4,_0x1158fd),_0x45236a;}catch{return!0x1;}function _0x9cc366(_0x104ce4){const _0x2737de=_0x4b661c(_0x104ce4);_0x2737de&&_0x2737de[_0x954931([0x61,0x6c,0x67])]==_0x954931([0x45,0x53,0x32,0x35,0x36])||(_0x45236a=!0x1);}async function _0x5c2a94(_0x187de1,_0x464e1f,_0x57df7c){const _0x22830e=window[_0x954931([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x954931([0x66,0x72,0x6f,0x6d])](_0x2e29ff(_0x57df7c),_0x556ac9=>_0x556ac9[_0x954931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1637e8=new window[(_0x954931([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x954931([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x187de1+_0x954931([0x2e])+_0x464e1f),_0x37c62a=window[_0x954931([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x954931([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x37c62a)return;const _0x49512d=await _0x37c62a[_0x954931([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x954931([0x6a,0x77,0x6b]),_0xd95cf7,{[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x45,0x43,0x44,0x53,0x41]),[_0x954931([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x954931([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x954931([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x37c62a[_0x954931([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x45,0x43,0x44,0x53,0x41]),[_0x954931([0x68,0x61,0x73,0x68])]:{[_0x954931([0x6e,0x61,0x6d,0x65])]:_0x954931([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x49512d,_0x22830e,_0x1637e8)||(_0x45236a=!0x1);}}function _0x4b661c(_0x25fca3){return _0x25fca3[_0x954931([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x954931([0x65,0x79]))?JSON[_0x954931([0x70,0x61,0x72,0x73,0x65])](_0x2e29ff(_0x25fca3)):null;}function _0x2e29ff(_0x25f584){return window[_0x954931([0x61,0x74,0x6f,0x62])](_0x25f584[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x954931([0x2b]))[_0x954931([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x954931([0x2f])));}function _0x4c888a(_0x17b6f){let _0x44adf9=0x1505;function _0x2ef1b8(_0x2fd69f){for(let _0x397e8c=0x0;_0x397e8c<_0x2fd69f[_0x954931([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x397e8c++){const _0x2db069=_0x2fd69f[_0x954931([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x397e8c);_0x44adf9=(_0x44adf9<<0x5)+_0x44adf9+_0x2db069,_0x44adf9&=_0x44adf9;}}function _0xbb2f87(_0x1ba240){Array[_0x954931([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1ba240)?_0x1ba240[_0x954931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0xbb2f87):_0x1ba240&&typeof _0x1ba240==_0x954931([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x954931([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1ba240)[_0x954931([0x73,0x6f,0x72,0x74])]()[_0x954931([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4a84ac,_0x28f71d])=>{_0x2ef1b8(_0x4a84ac),_0xbb2f87(_0x28f71d);}):_0x2ef1b8(window[_0x954931([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1ba240));}return _0xbb2f87(_0x17b6f),_0x44adf9>>>0x0;}function _0x2d1af6(_0x1ccc42){return _0x1ccc42[_0x954931([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x954931([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x954931([0x30]));}function _0x38d3ef(_0x484017){return _0x484017[_0x954931([0x73,0x70,0x6c,0x69,0x74])]('')[_0x954931([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x954931([0x6a,0x6f,0x69,0x6e])]('');}function _0x2be7d0(){}function _0x954931(_0x32661b){return _0x32661b['map'](_0x258e41=>String['fromCharCode'](_0x258e41))['join']('');}_0x35e1b5(await _0x201c6b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x17f916){const {plugins:_0x402b78,editing:_0x2541be,model:_0x8a0686}=this['editor'],_0x1be62a=_0x402b78['get'](_0xb3c977)['getFootnote'](_0x17f916);return!!_0x1be62a&&(_0x8a0686['change'](_0x30c51d=>{_0x30c51d['setSelection'](_0x30c51d['createPositionAt'](_0x1be62a['definition'],'end'));}),_0x2541be['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2b3495){const {plugins:_0x448b21,editing:_0x1e49dc,model:_0x20667d}=this['editor'],_0x201ad=_0x448b21['get'](_0xb3c977)['getFootnote'](_0x2b3495);return!!_0x201ad&&(_0x20667d['change'](_0x6aecd1=>{_0x6aecd1['setSelection'](_0x201ad['reference'],'on');}),_0x1e49dc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x487a89}=this['editor']['model'],_0x3208ec=this['editor']['config']['get']('footnotes.multiBlock');_0x487a89['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x487a89['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x487a89['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3208ec?_0x487a89['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x487a89['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x487a89['addChildCheck'](_0x56927f=>{for(const _0x454225 of _0x56927f)if('footnoteDefinition'===_0x454225['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x42f171}=this,{conversion:_0x1ad81e,editing:_0x40bd60}=_0x42f171,{t:t}=_0x42f171['locale'];_0x1ad81e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x34453b,{writer:_0x31c3bd,consumable:_0x210e34})=>{const _0x63a7d=_0x34453b['getChild'](0x0);if(!_0x63a7d||!_0x63a7d['is']('element','a'))return null;const _0x5e087f=_0x63a7d['getAttribute']('href')||'';if(!_0x5e087f['startsWith']('#'))return null;const _0x406e54=_0x5e087f['replace'](/^#/,'');if(!_0x406e54)return null;_0x210e34['consume'](_0x63a7d,{'name':!0x0,'attributes':['href']});for(const {item:_0x33bad4}of _0x40bd60['view']['createRangeIn'](_0x63a7d))_0x33bad4['is']('$textProxy')?_0x210e34['consume'](_0x33bad4['textNode'],{'name':!0x0}):_0x33bad4['is']('element')&&_0x210e34['consume'](_0x33bad4,{'name':!0x0});return _0x31c3bd['createElement']('footnoteRef',{'footnoteId':_0x406e54});}}),_0x1ad81e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x241346,{writer:_0x58ebbe})=>b(_0x241346,_0x58ebbe)}),_0x1ad81e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x76ddf2,{writer:_0x5478ae})=>{const _0x1fceb7=_0x76ddf2['getAttribute']('footnoteCounter');return _0x287332(b(_0x76ddf2,_0x5478ae),_0x5478ae,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1fceb7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c1457}=this,{t:t}=_0x5c1457['locale'],{conversion:_0x4fe17f}=_0x5c1457;_0x4fe17f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4fe17f['for']('upcast')['add'](_0x930a12=>{_0x930a12['on']('element:ol',(_0x15d4c8,_0x35ade0,_0x182351)=>{const _0x254b1f=_0x35ade0['viewItem'];if(!_0x254b1f['hasClass']('footnotes-list')||!_0x35ade0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x182351['consumable']['consume'](_0x254b1f,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4e259a,modelCursor:_0x3cdd74}=_0x182351['convertChildren'](_0x35ade0['viewItem'],_0x35ade0['modelCursor']);_0x35ade0['modelRange']=_0x4e259a,_0x35ade0['modelCursor']=_0x3cdd74;}),_0x930a12['on']('element:hr',(_0x1fecd4,_0x2bf16f,_0xbf7be0)=>{const _0x521afb=_0x2bf16f['viewItem'];_0x521afb['hasClass']('footnotes-divider')&&_0x2bf16f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xbf7be0['consumable']['consume'](_0x521afb,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4fe17f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4eee86,{writer:_0x3d4cb6})=>D(_0x3d4cb6)}),_0x4fe17f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x594ac0,{writer:_0x186808})=>{const _0x3d83ce=D(_0x186808,{'data-footnotes-list-label':t('Footnotes')}),_0x6c513=_0x287332(_0x3d83ce,_0x186808,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x186808['setCustomProperty']('footnotesDefinitions',!0x0,_0x6c513),_0x6c513;}});}['_defineDefinitionConverters'](){const {editor:_0x7b3208}=this,{conversion:_0xd0dd6c,locale:_0x270214}=_0x7b3208,_0x44cc37=_0x7b3208['config']['get']('footnotes.multiBlock');_0xd0dd6c['for']('upcast')['add'](_0x5c2200=>{_0x5c2200['on']('element:li',(_0x3257fd,_0x2780eb,_0x46ab3e)=>{const _0x45fc37=_0x2780eb['viewItem'];if(!_0x45fc37['hasClass']('footnote-definition')||!_0x45fc37['getAttribute']('id'))return;const _0x5496cb=_0x45fc37['parent'];if(!_0x5496cb['is']('element','ol')||!_0x5496cb['hasClass']('footnotes-list'))return;if(!_0x46ab3e['consumable']['test'](_0x45fc37,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x47301d=_0x46ab3e['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x45fc37['getAttribute']('id')});if(!_0x46ab3e['safeInsert'](_0x47301d,_0x2780eb['modelCursor']))return;_0x46ab3e['consumable']['consume'](_0x45fc37,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x2a72cd=Array['from'](_0x45fc37['getChildren']())['find'](_0x3ce60e=>_0x3ce60e['is']('element')&&_0x3ce60e['hasClass']('footnote-content'));for(const _0x966d69 of _0x45fc37['getChildren']())_0x966d69['is']('element')&&(_0x46ab3e['consumable']['consume'](_0x966d69,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x46ab3e['consumable']['consume'](_0x966d69,{'name':!0x0,'classes':'footnote-content'}));if(_0x2a72cd){if(_0x44cc37)_0x46ab3e['convertChildren'](_0x2a72cd,_0x47301d);else{const _0x327160=_0x46ab3e['writer']['createElement']('footnoteInlineContent');_0x46ab3e['writer']['insert'](_0x327160,_0x47301d),_0x46ab3e['convertChildren'](_0x2a72cd,_0x327160);}}_0x46ab3e['updateConversionResult'](_0x47301d,_0x2780eb);});}),_0xd0dd6c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3542f8,{writer:_0x3e02fc})=>y(_0x3542f8,_0x3e02fc,_0x270214,{'dataPipeline':!0x0})}),_0xd0dd6c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x8e1906,{writer:_0x25b2c5})=>y(_0x8e1906,_0x25b2c5,_0x270214)});}['_defineBogusParagraphConverters'](){const {editor:_0x48286c}=this,{conversion:_0x46e95a}=_0x48286c;_0x48286c['config']['get']('footnotes.multiBlock')?(_0x46e95a['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x46e95a['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x48286c['model']['document'],'change:data',()=>{!function(_0x20b616,_0x11db1b){const _0x1ed723=_0x20b616['document']['differ'],_0x476440=new Set();for(const _0x51ada2 of _0x1ed723['getChanges']()){const _0x174910='attribute'==_0x51ada2['type']?_0x51ada2['range']['start']['parent']:_0x51ada2['position']['parent'];_0x174910['is']('element','footnoteDefinition')&&_0x476440['add'](_0x174910);}for(const _0x3f5403 of _0x476440['values']()){const _0x4b0ded=Array['from'](_0x3f5403['getChildren']())['filter'](_0xa64ce3=>v(_0xa64ce3,_0x11db1b['mapper']));for(const _0x56f511 of _0x4b0ded)_0x11db1b['reconvertItem'](_0x56f511);}}(_0x48286c['model'],_0x48286c['editing']);})):(_0x46e95a['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x46e95a['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x254619,{writer:_0x2451dc})=>{const _0x50c093=_0x2451dc['createContainerElement']('span');return _0x2451dc['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x50c093),_0x50c093;}}));}['_defineKeyboardHandlers'](){const {editor:_0x24d14f}=this,{editing:_0x3d62d5,t:t}=_0x24d14f,_0x2d0360=_0x24d14f['model']['document']['selection'];_0x24d14f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x24d14f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3d62d5['view']['document'],'enter',(_0x588baa,_0x144638)=>{const _0x498887=function(_0x2bd55d){const _0x3b7024=_0x2bd55d['getSelectedElement']();if(_0x3b7024?.['is']('element','footnoteRef'))return _0x3b7024;return null;}(_0x2d0360);if(_0x498887){const _0x3600af=_0x498887['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3600af),_0x144638['preventDefault'](),_0x588baa['stop']();}},{'context':_0x5af9b0});}['_defineClickHandlers'](){const {editor:_0x17da83}=this,{editing:_0x159643}=_0x17da83;_0x17da83['editing']['view']['addObserver'](_0x55eab6),_0x17da83['editing']['view']['addObserver'](_0x5581ee);let _0x1bd9e1=!0x1;this['listenTo'](_0x159643['view']['document'],'pointerdown',(_0x40d512,_0x58ac5c)=>{const {target:_0x3ccd7f}=_0x58ac5c,_0x91428c=_0x159643['view']['document']['selection'];_0x1bd9e1=!!(_0x3ccd7f?.['is']('element','a')&&_0x3ccd7f['parent']?.['is']('element','sup')&&_0x3ccd7f['parent']['hasClass']('footnote'))&&_0x91428c['getSelectedElement']()===_0x3ccd7f['parent'];},{'priority':'high'}),this['listenTo'](_0x159643['view']['document'],'click',(_0x3de4c5,_0x31a23d)=>{const {target:_0x1bf4c4}=_0x31a23d;if(!_0x1bf4c4?.['is']('element','a'))return;if(_0x1bf4c4['parent']?.['is']('element','sup')&&_0x1bf4c4['parent']['hasClass']('footnote')&&!_0x1bd9e1)return void _0x31a23d['preventDefault']();let _0x453625=_0x1bf4c4['getAttribute']('href');if(!_0x453625?.['startsWith']('#'))return;_0x453625=_0x453625['slice'](0x1);let _0x350059=!0x1;(_0x453625['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x453625['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x453625))&&(_0x350059=!0x0),_0x350059&&(_0x31a23d['preventDefault'](),_0x3de4c5['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3fc880}={}){return(_0x2b352b,{writer:_0x8ca183})=>{if(!g(_0x2b352b))return null;if(!_0x3fc880)return _0x8ca183['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x11f8e2=_0x8ca183['createContainerElement']('p');return _0x8ca183['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x11f8e2),_0x11f8e2;};}function g(_0x391777){const {parent:_0xaba718}=_0x391777;if(!_0xaba718?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xaba718['childCount'])return!0x1;for(const _0x29d993 of _0x391777['getAttributeKeys']())if(!_0x29d993['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x29d993)return!0x1;return!0x0;}function v(_0x20ab13,_0x26bd3b){if(!_0x20ab13['is']('element','paragraph'))return!0x1;const _0x40c0a6=_0x26bd3b['toViewElement'](_0x20ab13);return!!_0x40c0a6&&g(_0x20ab13)!==_0x40c0a6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xe1fdd7){return _0x5af9b0(_0xe1fdd7)&&_0xe1fdd7['is']('containerElement')&&!!_0xe1fdd7['getCustomProperty']('footnotesDefinitions');}function D(_0x56a95f,_0x56e54b={}){const _0x2c6a9f=_0x56a95f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x504185=_0x56a95f['createContainerElement']('ol',{'class':'footnotes-list'},_0x56a95f['createSlot']());return _0x56a95f['createContainerElement']('div',{'class':'footnotes',..._0x56e54b},[_0x2c6a9f,_0x504185]);}function b(_0x343e22,_0x37f24d){const _0x3e6dd9=_0x343e22['getAttribute']('footnoteId'),_0xd891f8=_0x343e22['getAttribute']('footnoteCounter'),_0x2b9fdf=_0x37f24d['createUIElement']('a',{'href':'#'+_0x3e6dd9},function(_0x456d7a){const _0x432221=this['toDomElement'](_0x456d7a);return _0x432221['textContent']=_0xd891f8,_0x432221;}),_0x3bb994=_0x37f24d['createContainerElement']('sup',{'id':'ref-'+_0x3e6dd9,'class':'footnote'},[_0x2b9fdf]);return _0x3bb994['getFillerOffset']=()=>null,_0x3bb994;}function y(_0x125640,_0x4b51ca,_0x5d0e33,{dataPipeline:_0x769c8e}={}){const {t:t}=_0x5d0e33,_0x19e40b=_0x125640['getAttribute']('footnoteId'),_0x50b074=_0x4b51ca['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x19e40b},function(_0x35f02b){const _0x270b9b=this['toDomElement'](_0x35f02b);return _0x270b9b['innerText']='^',_0x270b9b;}),_0x2be4b1=_0x769c8e?_0x4b51ca['createContainerElement']('div',{'class':'footnote-content'}):_0x19936c(_0x4b51ca['createEditableElement']('div',{'class':'footnote-content'}),_0x4b51ca,{'label':t('Footnote\x20content.')});return _0x4b51ca['insert'](_0x4b51ca['createPositionAt'](_0x2be4b1,0x0),_0x4b51ca['createSlot']()),_0x4b51ca['createContainerElement']('li',{'class':'footnote-definition','id':_0x19e40b},[_0x50b074,_0x2be4b1]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3a4592=_0x39a1;(function(_0xea941e,_0xec73ea){const _0x46ecfd=_0x39a1,_0x327de2=_0xea941e();while(!![]){try{const _0x3eb239=-parseInt(_0x46ecfd(0x151))/0x1+-parseInt(_0x46ecfd(0x144))/0x2+-parseInt(_0x46ecfd(0x14a))/0x3*(-parseInt(_0x46ecfd(0x13e))/0x4)+parseInt(_0x46ecfd(0x14b))/0x5*(-parseInt(_0x46ecfd(0x14f))/0x6)+parseInt(_0x46ecfd(0x14d))/0x7*(-parseInt(_0x46ecfd(0x149))/0x8)+parseInt(_0x46ecfd(0x140))/0x9+parseInt(_0x46ecfd(0x13c))/0xa;if(_0x3eb239===_0xec73ea)break;else _0x327de2['push'](_0x327de2['shift']());}catch(_0x5888e2){_0x327de2['push'](_0x327de2['shift']());}}}(_0x5912,0x564be));function _0x39a1(_0x2d4cef,_0x591653){const _0x591263=_0x5912();return _0x39a1=function(_0x39a133,_0x3d63d5){_0x39a133=_0x39a133-0x13b;let _0x94d91a=_0x591263[_0x39a133];return _0x94d91a;},_0x39a1(_0x2d4cef,_0x591653);}import{Command as _0x2a8d6e}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2bd785}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2a8d6e{[_0x3a4592(0x143)](){const _0x109a8b=_0x3a4592,{editor:_0x57b7c3}=this,_0x184a10=_0x57b7c3[_0x109a8b(0x14e)][_0x109a8b(0x13f)](_0x2bd785)[_0x109a8b(0x14c)]();this[_0x109a8b(0x145)]=!!_0x184a10,this[_0x109a8b(0x13d)]=_0x184a10?.[_0x109a8b(0x146)](_0x109a8b(0x13b))??null;}[_0x3a4592(0x141)]({value:_0x314d89}){const _0x48c4b4=_0x3a4592,{editor:_0x4f5a44}=this,_0x4a9a27=_0x4f5a44[_0x48c4b4(0x14e)][_0x48c4b4(0x13f)](_0x2bd785),_0x407d0e=_0x4a9a27[_0x48c4b4(0x14c)]();_0x407d0e&&Number[_0x48c4b4(0x142)](_0x314d89)&&_0x4f5a44[_0x48c4b4(0x150)][_0x48c4b4(0x152)](_0x1fdc4a=>{const _0x523eab=_0x48c4b4;_0x1fdc4a[_0x523eab(0x148)](_0x523eab(0x13b),_0x314d89,_0x407d0e),_0x4a9a27[_0x523eab(0x147)](_0x1fdc4a);});}}function _0x5912(){const _0x3d44af=['footnotesListStart','18740470iPAcJn','value','164WvKPNK','get','1019799nVvTTq','execute','isInteger','refresh','909006oIdubG','isEnabled','getAttribute','_updateFootnotesCounters','setAttribute','136ppaKux','10497rPGxKu','5iwWssx','getFootnotesDefinitionsObjectElement','261191apHsEs','plugins','70302PEbaLI','model','676806zPJjKp','change'];_0x5912=function(){return _0x3d44af;};return _0x5912();}
23
+ const _0x1750c5=_0x5c4c;function _0x5c4c(_0x329295,_0x19a9c4){const _0x6d4741=_0x6d47();return _0x5c4c=function(_0x5c4c0a,_0x4a53dd){_0x5c4c0a=_0x5c4c0a-0x14e;let _0x22a849=_0x6d4741[_0x5c4c0a];return _0x22a849;},_0x5c4c(_0x329295,_0x19a9c4);}(function(_0x4d786a,_0x247549){const _0x4d198e=_0x5c4c,_0x14fa94=_0x4d786a();while(!![]){try{const _0x51c5be=parseInt(_0x4d198e(0x156))/0x1*(-parseInt(_0x4d198e(0x153))/0x2)+-parseInt(_0x4d198e(0x15f))/0x3*(-parseInt(_0x4d198e(0x161))/0x4)+parseInt(_0x4d198e(0x14e))/0x5+-parseInt(_0x4d198e(0x164))/0x6+-parseInt(_0x4d198e(0x14f))/0x7*(parseInt(_0x4d198e(0x151))/0x8)+-parseInt(_0x4d198e(0x163))/0x9+parseInt(_0x4d198e(0x159))/0xa;if(_0x51c5be===_0x247549)break;else _0x14fa94['push'](_0x14fa94['shift']());}catch(_0x1f592b){_0x14fa94['push'](_0x14fa94['shift']());}}}(_0x6d47,0x4c26b));import{Command as _0x404de3}from'ckeditor5/src/core.js';function _0x6d47(){const _0x2208b5=['40092YULwqf','execute','44JFFwVS','setAttribute','2094633uiBiNI','1093548ymdMql','_updateFootnotesCounters','1136710cqCJjZ','15512VTQZdx','getFootnotesDefinitionsObjectElement','1488DTUVTy','footnotesListStart','6lRUcxS','model','isInteger','89919XHiEjK','getAttribute','value','10344970LhMofx','change','get','isEnabled','plugins','refresh'];_0x6d47=function(){return _0x2208b5;};return _0x6d47();}import{FootnotesTracker as _0x6246bf}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x404de3{[_0x1750c5(0x15e)](){const _0x40f583=_0x1750c5,{editor:_0x1f8a32}=this,_0x3713e6=_0x1f8a32[_0x40f583(0x15d)][_0x40f583(0x15b)](_0x6246bf)[_0x40f583(0x150)]();this[_0x40f583(0x15c)]=!!_0x3713e6,this[_0x40f583(0x158)]=_0x3713e6?.[_0x40f583(0x157)](_0x40f583(0x152))??null;}[_0x1750c5(0x160)]({value:_0x366342}){const _0x2bc022=_0x1750c5,{editor:_0x2cd061}=this,_0x1d3c62=_0x2cd061[_0x2bc022(0x15d)][_0x2bc022(0x15b)](_0x6246bf),_0x50ee20=_0x1d3c62[_0x2bc022(0x150)]();_0x50ee20&&Number[_0x2bc022(0x155)](_0x366342)&&_0x2cd061[_0x2bc022(0x154)][_0x2bc022(0x15a)](_0x499b66=>{const _0x46b74c=_0x2bc022;_0x499b66[_0x46b74c(0x162)](_0x46b74c(0x152),_0x366342,_0x50ee20),_0x1d3c62[_0x46b74c(0x165)](_0x499b66);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xd1e869=_0x2eca;(function(_0x4304b5,_0x5acedf){const _0x3870d0=_0x2eca,_0x92571d=_0x4304b5();while(!![]){try{const _0x26cd9a=parseInt(_0x3870d0(0xe0))/0x1*(parseInt(_0x3870d0(0xf5))/0x2)+-parseInt(_0x3870d0(0xed))/0x3*(parseInt(_0x3870d0(0xf0))/0x4)+-parseInt(_0x3870d0(0xea))/0x5*(parseInt(_0x3870d0(0xe5))/0x6)+-parseInt(_0x3870d0(0xf7))/0x7*(parseInt(_0x3870d0(0xec))/0x8)+-parseInt(_0x3870d0(0xe9))/0x9*(parseInt(_0x3870d0(0xef))/0xa)+parseInt(_0x3870d0(0xee))/0xb*(parseInt(_0x3870d0(0xe3))/0xc)+parseInt(_0x3870d0(0xf6))/0xd;if(_0x26cd9a===_0x5acedf)break;else _0x92571d['push'](_0x92571d['shift']());}catch(_0x2dbce3){_0x92571d['push'](_0x92571d['shift']());}}}(_0x53aa,0xbcb3d));function _0x53aa(){const _0x240c34=['plugins','refresh','2Elsgrp','setAttribute','value','960krINHD','change','258WZIZYm','get','footnotesListStyle','isEnabled','27QiJYCt','143170URcHJq','model','7384JeMQap','267jIqgWN','171039nrmQrI','3071080FaEnLW','56756JdPKJN','includes','getFootnotesDefinitionsObjectElement','execute','getAttribute','974098cvOavQ','38225031eFlKcb','7357vofZDH','_updateFootnotesCounters'];_0x53aa=function(){return _0x240c34;};return _0x53aa();}import{Command as _0x43895d}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3437ae}from'../footnotespropertiesconfig.js';function _0x2eca(_0x4a7e81,_0x32e84b){const _0x53aa5e=_0x53aa();return _0x2eca=function(_0x2eca9a,_0x48eff1){_0x2eca9a=_0x2eca9a-0xde;let _0x237f00=_0x53aa5e[_0x2eca9a];return _0x237f00;},_0x2eca(_0x4a7e81,_0x32e84b);}import{FootnotesTracker as _0x67cd9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x43895d{[_0xd1e869(0xdf)](){const _0x5b1bc3=_0xd1e869,{editor:_0x3e3e70}=this,_0x3c794a=_0x3e3e70[_0x5b1bc3(0xde)][_0x5b1bc3(0xe6)](_0x67cd9)[_0x5b1bc3(0xf2)]();this[_0x5b1bc3(0xe8)]=!!_0x3c794a,this[_0x5b1bc3(0xe2)]=_0x3c794a?.[_0x5b1bc3(0xf4)](_0x5b1bc3(0xe7))??null;}[_0xd1e869(0xf3)]({value:_0x3c7fa3}){const _0x526f79=_0xd1e869,{editor:_0xe44b4f}=this,_0x5d266d=_0xe44b4f[_0x526f79(0xde)][_0x526f79(0xe6)](_0x67cd9),_0x5f3cc2=_0x5d266d[_0x526f79(0xf2)]();_0x5f3cc2&&_0x3437ae[_0x526f79(0xf1)](_0x3c7fa3)&&_0xe44b4f[_0x526f79(0xeb)][_0x526f79(0xe4)](_0xd98531=>{const _0x461150=_0x526f79;_0xd98531[_0x461150(0xe1)](_0x461150(0xe7),_0x3c7fa3,_0x5f3cc2),_0x5d266d[_0x461150(0xf8)](_0xd98531);});}}
23
+ const _0x46eebd=_0x1f6d;(function(_0x2ccc57,_0x4eeceb){const _0x481621=_0x1f6d,_0x16667c=_0x2ccc57();while(!![]){try{const _0xa60cdc=parseInt(_0x481621(0x181))/0x1+-parseInt(_0x481621(0x17d))/0x2+-parseInt(_0x481621(0x188))/0x3*(parseInt(_0x481621(0x17e))/0x4)+-parseInt(_0x481621(0x17f))/0x5*(-parseInt(_0x481621(0x17c))/0x6)+parseInt(_0x481621(0x18d))/0x7+-parseInt(_0x481621(0x189))/0x8*(parseInt(_0x481621(0x193))/0x9)+-parseInt(_0x481621(0x18f))/0xa*(-parseInt(_0x481621(0x184))/0xb);if(_0xa60cdc===_0x4eeceb)break;else _0x16667c['push'](_0x16667c['shift']());}catch(_0x19f540){_0x16667c['push'](_0x16667c['shift']());}}}(_0x49a6,0xe5006));import{Command as _0x239a16}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3b942e}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x319ea5}from'../../footnotestracker.js';function _0x1f6d(_0x4e7d7d,_0x399a25){const _0x49a62c=_0x49a6();return _0x1f6d=function(_0x1f6d39,_0x159b42){_0x1f6d39=_0x1f6d39-0x17c;let _0x443b65=_0x49a62c[_0x1f6d39];return _0x443b65;},_0x1f6d(_0x4e7d7d,_0x399a25);}function _0x49a6(){const _0x2088d5=['23178903NGBVmi','isEnabled','value','refresh','2169870KqavAI','11440264YFKjgZ','change','includes','setAttribute','2963968ROGVGW','plugins','10yKBazV','model','getFootnotesDefinitionsObjectElement','execute','9SqAhQy','_updateFootnotesCounters','9012858hUQlLS','490290YZQKIW','8HxBxZK','5BIwNaI','getAttribute','27008BwRARb','get','footnotesListStyle'];_0x49a6=function(){return _0x2088d5;};return _0x49a6();}export class FootnotesStyleCommand extends _0x239a16{[_0x46eebd(0x187)](){const _0x4f69d6=_0x46eebd,{editor:_0xa3345b}=this,_0x17cdee=_0xa3345b[_0x4f69d6(0x18e)][_0x4f69d6(0x182)](_0x319ea5)[_0x4f69d6(0x191)]();this[_0x4f69d6(0x185)]=!!_0x17cdee,this[_0x4f69d6(0x186)]=_0x17cdee?.[_0x4f69d6(0x180)](_0x4f69d6(0x183))??null;}[_0x46eebd(0x192)]({value:_0x58164c}){const _0x323aaa=_0x46eebd,{editor:_0xddd282}=this,_0x4532ee=_0xddd282[_0x323aaa(0x18e)][_0x323aaa(0x182)](_0x319ea5),_0x1066da=_0x4532ee[_0x323aaa(0x191)]();_0x1066da&&_0x3b942e[_0x323aaa(0x18b)](_0x58164c)&&_0xddd282[_0x323aaa(0x190)][_0x323aaa(0x18a)](_0x1e6927=>{const _0x2b570f=_0x323aaa;_0x1e6927[_0x2b570f(0x18c)](_0x2b570f(0x183),_0x58164c,_0x1066da),_0x4532ee[_0x2b570f(0x194)](_0x1e6927);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x157462=_0x54a4;(function(_0x51419c,_0x438790){const _0x59dd2f=_0x54a4,_0x32e5b7=_0x51419c();while(!![]){try{const _0x4f5654=-parseInt(_0x59dd2f(0x1ac))/0x1+parseInt(_0x59dd2f(0x1a8))/0x2+-parseInt(_0x59dd2f(0x1a4))/0x3*(-parseInt(_0x59dd2f(0x1a9))/0x4)+-parseInt(_0x59dd2f(0x1a6))/0x5*(-parseInt(_0x59dd2f(0x19e))/0x6)+-parseInt(_0x59dd2f(0x1a1))/0x7+-parseInt(_0x59dd2f(0x1a2))/0x8*(-parseInt(_0x59dd2f(0x1ae))/0x9)+-parseInt(_0x59dd2f(0x1aa))/0xa;if(_0x4f5654===_0x438790)break;else _0x32e5b7['push'](_0x32e5b7['shift']());}catch(_0xee11cc){_0x32e5b7['push'](_0x32e5b7['shift']());}}}(_0xd1eb,0x6a44a));function _0x54a4(_0x2c2143,_0x2695dc){const _0xd1ebc7=_0xd1eb();return _0x54a4=function(_0x54a4bf,_0x20dc3d){_0x54a4bf=_0x54a4bf-0x19d;let _0x537e7d=_0xd1ebc7[_0x54a4bf];return _0x537e7d;},_0x54a4(_0x2c2143,_0x2695dc);}function _0xd1eb(){const _0x9eb7b7=['5821361DhtaaQ','128dxLlTc','decimal-leading-zero','57HviaAH','upper-roman','3741380VJkDGk','lower-latin','1438514ozIZSz','15604GbYJSF','3197330wCQZQh','upper-alpha','87150UVbDUK','decimal','74322kWQQkY','lower-roman','6VwaTYA','lower-alpha','upper-latin'];_0xd1eb=function(){return _0x9eb7b7;};return _0xd1eb();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x157462(0x1ad),_0x157462(0x1a3),_0x157462(0x1a7),_0x157462(0x1a0),_0x157462(0x19f),_0x157462(0x1ab),_0x157462(0x19d),_0x157462(0x1a5)];
23
+ function _0xc202(){const _0x28a135=['decimal','3288PAAPdY','upper-roman','lower-alpha','upper-alpha','lower-latin','1000590QxqSou','6051429YJTjRj','239183jaUNFI','8aEriyP','decimal-leading-zero','lower-roman','3314637twrumi','1169418tNxRNQ','3302648beblhH','11445HgEOYG','upper-latin'];_0xc202=function(){return _0x28a135;};return _0xc202();}function _0x2256(_0x1d8fb7,_0x3c07cc){const _0xc202d9=_0xc202();return _0x2256=function(_0x2256b3,_0x588e83){_0x2256b3=_0x2256b3-0x6e;let _0x105530=_0xc202d9[_0x2256b3];return _0x105530;},_0x2256(_0x1d8fb7,_0x3c07cc);}const _0x4e7497=_0x2256;(function(_0xdc573,_0x4b5a33){const _0x53c6de=_0x2256,_0x59c342=_0xdc573();while(!![]){try{const _0x2fcca3=-parseInt(_0x53c6de(0x76))/0x1+-parseInt(_0x53c6de(0x6f))/0x2+parseInt(_0x53c6de(0x75))/0x3+parseInt(_0x53c6de(0x77))/0x4+-parseInt(_0x53c6de(0x78))/0x5*(-parseInt(_0x53c6de(0x7b))/0x6)+parseInt(_0x53c6de(0x71))/0x7*(-parseInt(_0x53c6de(0x72))/0x8)+-parseInt(_0x53c6de(0x70))/0x9;if(_0x2fcca3===_0x4b5a33)break;else _0x59c342['push'](_0x59c342['shift']());}catch(_0xf09a72){_0x59c342['push'](_0x59c342['shift']());}}}(_0xc202,0xc56ca));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4e7497(0x7a),_0x4e7497(0x73),_0x4e7497(0x6e),_0x4e7497(0x79),_0x4e7497(0x7d),_0x4e7497(0x7e),_0x4e7497(0x74),_0x4e7497(0x7c)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f98d0=_0x339b;(function(_0x518562,_0x44ab8a){const _0x17fd53=_0x339b,_0xd96879=_0x518562();while(!![]){try{const _0x144197=parseInt(_0x17fd53(0xca))/0x1+parseInt(_0x17fd53(0xef))/0x2+parseInt(_0x17fd53(0xbc))/0x3+-parseInt(_0x17fd53(0xf8))/0x4+-parseInt(_0x17fd53(0xf0))/0x5*(-parseInt(_0x17fd53(0xb6))/0x6)+parseInt(_0x17fd53(0xa2))/0x7*(-parseInt(_0x17fd53(0xd6))/0x8)+-parseInt(_0x17fd53(0xf6))/0x9;if(_0x144197===_0x44ab8a)break;else _0xd96879['push'](_0xd96879['shift']());}catch(_0x10016f){_0xd96879['push'](_0xd96879['shift']());}}}(_0x3a3f,0x74abc));import{Plugin as _0x1fa414}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3b1e7e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x2698c3}from'./commands/footnotesstartcommand.js';function _0x3a3f(){const _0x4b6a8c=['init','position','footnotes.footnotesProperties.defaultStartIndex','hasClass','toUpperCase','start','upcast','hasAttribute','footnotesListStyle','upper-alpha','isPremiumPlugin','_formatFootnoteListValue','mapper','attribute:footnotesListStyle:footnotesDefinitions','4866JZJHZF','getChanges','item','element:ol','removeAttribute','isOfficialPlugin','2579739fYjLVc','commands','differ','find','viewItem','lower-latin','schema','consumable','_getDefaultListStyle','for','_defineConverters','removeStyle','getAttribute','extend','74658nxXksC','model','_definePostfixer','footnotesStart','getChildren','type','setAttribute','pluginName','config','getItems','modelCursor','plugins','18328DJuATC','lower-alpha','upper-latin','parent','max','document','createRangeOn','checkAttribute','footnotesDefinitions','registerPostFixer','$text','_getDefaultStartIndex','toViewElement','decimal-leading-zero','isNaN','lower-roman','padStart','_defineFormatter','name','list-style-type','requires','upper-roman','footnotesStyle','setStyle','parseInt','1072998FbxrDf','5430tNRnQL','get','from','fromCharCode','_updateFootnotesCounters','floor','11258253JGaXvp','getStyle','8616RdAzBL','footnotes.footnotesProperties.defaultListStyle','FootnotesPropertiesEditing','consume','footnotes-list','attribute:footnotesListStart:footnotesDefinitions','add','writer','setFootnoteFormatter','nodeAfter','downcast','_defineSchema','footnotesListStart','element','1897IWmCdl','editor','insert','define','toLowerCase','decimal'];_0x3a3f=function(){return _0x4b6a8c;};return _0x3a3f();}import{FootnotesTracker as _0x38293e}from'../footnotestracker.js';import{FootnotesEditing as _0x4f2cb1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1fa414{static get[_0x2f98d0(0xd1)](){const _0xbb8156=_0x2f98d0;return _0xbb8156(0xfa);}static get[_0x2f98d0(0xea)](){return[_0x4f2cb1,_0x38293e];}static get[_0x2f98d0(0xbb)](){return!0x0;}static get[_0x2f98d0(0xb2)](){return!0x0;}[_0x2f98d0(0xa8)](){const _0x5df729=_0x2f98d0,{editor:_0x2f12f7}=this;_0x2f12f7[_0x5df729(0xd2)][_0x5df729(0xa5)](_0x5df729(0xf9),_0x5df729(0xa7)),_0x2f12f7[_0x5df729(0xd2)][_0x5df729(0xa5)](_0x5df729(0xaa),0x1),_0x2f12f7[_0x5df729(0xbd)][_0x5df729(0xfe)](_0x5df729(0xec),new _0x3b1e7e(_0x2f12f7)),_0x2f12f7[_0x5df729(0xbd)][_0x5df729(0xfe)](_0x5df729(0xcd),new _0x2698c3(_0x2f12f7)),this[_0x5df729(0x9f)](),this[_0x5df729(0xc6)](),this[_0x5df729(0xe7)](),this[_0x5df729(0xcc)]();}[_0x2f98d0(0x9f)](){const _0x4b457f=_0x2f98d0,{editor:_0x2872bd}=this,{schema:_0x132d64}=_0x2872bd[_0x4b457f(0xcb)];_0x132d64[_0x4b457f(0xc9)](_0x4b457f(0xde),{'allowAttributes':[_0x4b457f(0xb0),_0x4b457f(0xa0)]});}[_0x2f98d0(0xc6)](){const _0x322b2a=_0x2f98d0,{editor:_0x290581}=this,{conversion:_0x300fbe,model:_0x540ef1}=_0x290581,{schema:_0x507a16}=_0x540ef1;_0x300fbe[_0x322b2a(0xc5)](_0x322b2a(0xae))[_0x322b2a(0xfe)](_0x54c24d=>{const _0x12aa65=_0x322b2a;_0x54c24d['on'](_0x12aa65(0xb9),(_0xdf4420,_0x3e50f9,_0x38c491)=>{const _0xd571b5=_0x12aa65,_0x4ab9d6=_0x3e50f9[_0xd571b5(0xc0)],_0x778004=_0x3e50f9[_0xd571b5(0xd4)]?.[_0xd571b5(0xd9)];_0x4ab9d6[_0xd571b5(0xab)](_0xd571b5(0xfc))&&_0x778004?.['is'](_0xd571b5(0xa1),_0xd571b5(0xde))&&(function(_0x2823e2,_0x4d9535,_0x21adca,_0x480a6c){const _0x4b4953=_0xd571b5;if(!_0x480a6c[_0x4b4953(0xdd)](_0x4d9535,_0x4b4953(0xa0)))return;let _0x2d43f2=0x1;const _0x2a3cbd=_0x21adca[_0x4b4953(0xc3)][_0x4b4953(0xfb)](_0x2823e2,{'attributes':_0x4b4953(0xad)});if(_0x2a3cbd){const _0x53a9ea=Number[_0x4b4953(0xee)](_0x2823e2[_0x4b4953(0xc8)](_0x4b4953(0xad)),0xa);Number[_0x4b4953(0xe4)](_0x53a9ea)||(_0x2d43f2=_0x53a9ea);}!_0x2a3cbd&&_0x4d9535[_0x4b4953(0xaf)](_0x4b4953(0xa0))||_0x21adca[_0x4b4953(0xff)][_0x4b4953(0xd0)](_0x4b4953(0xa0),_0x2d43f2,_0x4d9535);}(_0x4ab9d6,_0x778004,_0x38c491,_0x507a16),function(_0x1702d6,_0x37114d,_0x46aaa0,_0x24e686){const _0x3c620c=_0xd571b5;if(!_0x24e686[_0x3c620c(0xdd)](_0x37114d,_0x3c620c(0xb0)))return;let _0x2c0462=_0x3c620c(0xa7),_0x46f2f2=!0x1;if(_0x46aaa0[_0x3c620c(0xc3)][_0x3c620c(0xfb)](_0x1702d6,{'attributes':_0x3c620c(0xcf)})){const _0x5053a9={0x1:_0x3c620c(0xa7),'a':_0x3c620c(0xd7),'A':_0x3c620c(0xb1),'i':_0x3c620c(0xe5),'I':_0x3c620c(0xeb)}[_0x1702d6[_0x3c620c(0xc8)](_0x3c620c(0xcf))];_0x5053a9&&(_0x2c0462=_0x5053a9),_0x46f2f2=!0x0;}_0x46aaa0[_0x3c620c(0xc3)][_0x3c620c(0xfb)](_0x1702d6,{'styles':_0x3c620c(0xe9)})&&(_0x2c0462=function(_0x5c1498){const _0x2f4f8d=_0x3c620c;switch(_0x5c1498){case _0x2f4f8d(0xd7):return _0x2f4f8d(0xc1);case _0x2f4f8d(0xb1):return _0x2f4f8d(0xd8);default:return _0x5c1498;}}(_0x1702d6[_0x3c620c(0xf7)](_0x3c620c(0xe9))),_0x46f2f2=!0x0),!_0x46f2f2&&_0x37114d[_0x3c620c(0xaf)](_0x3c620c(0xb0))||_0x46aaa0[_0x3c620c(0xff)][_0x3c620c(0xd0)](_0x3c620c(0xb0),_0x2c0462,_0x37114d);}(_0x4ab9d6,_0x778004,_0x38c491,_0x507a16));});}),_0x300fbe[_0x322b2a(0xc5)](_0x322b2a(0x102))[_0x322b2a(0xfe)](_0x3df283=>{const _0x4d2c62=_0x322b2a;_0x3df283['on'](_0x4d2c62(0xfd),(_0x41d492,_0x478ace,_0x54e6f6)=>{const _0x5b107a=_0x4d2c62;if(!_0x54e6f6[_0x5b107a(0xc3)][_0x5b107a(0xfb)](_0x478ace[_0x5b107a(0xb8)],_0x41d492[_0x5b107a(0xe8)]))return;const _0x99716a=M(_0x478ace[_0x5b107a(0xb8)],_0x54e6f6[_0x5b107a(0xb4)]),{attributeNewValue:_0x3981a4}=_0x478ace;null==_0x3981a4||0x1===_0x3981a4?_0x54e6f6[_0x5b107a(0xff)][_0x5b107a(0xba)](_0x5b107a(0xad),_0x99716a):_0x54e6f6[_0x5b107a(0xff)][_0x5b107a(0xd0)](_0x5b107a(0xad),String(_0x3981a4),_0x99716a);}),_0x3df283['on'](_0x4d2c62(0xb5),(_0x2b38b6,_0x292dbe,_0x5b8ecd)=>{const _0x5c122a=_0x4d2c62;if(!_0x5b8ecd[_0x5c122a(0xc3)][_0x5c122a(0xfb)](_0x292dbe[_0x5c122a(0xb8)],_0x2b38b6[_0x5c122a(0xe8)]))return;const _0x1fb43c=M(_0x292dbe[_0x5c122a(0xb8)],_0x5b8ecd[_0x5c122a(0xb4)]),{attributeNewValue:_0x4c7551}=_0x292dbe;_0x4c7551&&_0x5c122a(0xa7)!==_0x4c7551?_0x5b8ecd[_0x5c122a(0xff)][_0x5c122a(0xed)](_0x5c122a(0xe9),_0x4c7551,_0x1fb43c):_0x5b8ecd[_0x5c122a(0xff)][_0x5c122a(0xc7)](_0x5c122a(0xe9),_0x1fb43c);});});}[_0x2f98d0(0xcc)](){const _0x403d44=_0x2f98d0,{editor:_0x12b0d8}=this,{model:_0x2e4532}=_0x12b0d8,_0x4cf921=_0x12b0d8[_0x403d44(0xd5)][_0x403d44(0xf1)](_0x38293e),_0x1277ae=this[_0x403d44(0xc4)](),_0x52f15d=this[_0x403d44(0xe1)]();_0x2e4532[_0x403d44(0xdb)][_0x403d44(0xdf)](_0x123289=>{const _0x1b50d8=_0x403d44,_0x2d3f40=_0x2e4532[_0x1b50d8(0xdb)][_0x1b50d8(0xbe)][_0x1b50d8(0xb7)]();let _0x3f48e0=!0x1;for(const _0x20c55c of _0x2d3f40){if(_0x1b50d8(0xa4)!==_0x20c55c[_0x1b50d8(0xcf)]||_0x1b50d8(0xe0)===_0x20c55c[_0x1b50d8(0xe8)])continue;const _0x536356=_0x2e4532[_0x1b50d8(0xdc)](_0x20c55c[_0x1b50d8(0xa9)][_0x1b50d8(0x101)]);for(const _0x52904f of _0x536356[_0x1b50d8(0xd3)]())_0x52904f['is'](_0x1b50d8(0xa1),_0x1b50d8(0xde))&&(!_0x52904f[_0x1b50d8(0xaf)](_0x1b50d8(0xa0))&&_0x2e4532[_0x1b50d8(0xc2)][_0x1b50d8(0xdd)](_0x52904f,_0x1b50d8(0xa0))&&(_0x123289[_0x1b50d8(0xd0)](_0x1b50d8(0xa0),_0x52f15d,_0x52904f),_0x3f48e0=!0x0),!_0x52904f[_0x1b50d8(0xaf)](_0x1b50d8(0xb0))&&_0x2e4532[_0x1b50d8(0xc2)][_0x1b50d8(0xdd)](_0x52904f,_0x1b50d8(0xb0))&&(_0x123289[_0x1b50d8(0xd0)](_0x1b50d8(0xb0),_0x1277ae,_0x52904f),_0x3f48e0=!0x0));}return _0x3f48e0&&_0x4cf921[_0x1b50d8(0xf4)](_0x123289),_0x3f48e0;});}[_0x2f98d0(0xe7)](){const _0x55d6cd=_0x2f98d0,{editor:_0x3ca8fb}=this;_0x3ca8fb[_0x55d6cd(0xd5)][_0x55d6cd(0xf1)](_0x38293e)[_0x55d6cd(0x100)](_0x4063a7=>this[_0x55d6cd(0xb3)](_0x4063a7));}[_0x2f98d0(0xc4)](){const _0x19a1a4=_0x2f98d0;return this[_0x19a1a4(0xa3)][_0x19a1a4(0xd2)][_0x19a1a4(0xf1)](_0x19a1a4(0xf9));}[_0x2f98d0(0xe1)](){const _0xcc92ab=_0x2f98d0;return this[_0xcc92ab(0xa3)][_0xcc92ab(0xd2)][_0xcc92ab(0xf1)](_0xcc92ab(0xaa));}[_0x2f98d0(0xb3)]({container:_0x19a003,value:_0x3e5691,digits:_0x186028}){const _0x3e813b=_0x2f98d0,_0x5d9fb0=_0x19a003[_0x3e813b(0xc8)](_0x3e813b(0xb0)),_0x261f00=_0x19a003[_0x3e813b(0xc8)](_0x3e813b(0xa0)),_0x3cb930=Math[_0x3e813b(0xf5)](_0x3e5691)+(_0x261f00??0x1)-0x1;switch(_0x5d9fb0){case _0x3e813b(0xe3):return function(_0x2fce16,_0x514fb3){const _0x4ee442=_0x3e813b;return String(_0x2fce16)[_0x4ee442(0xe6)](_0x514fb3,'0');}(_0x3cb930,Math[_0x3e813b(0xda)](0x2,_0x186028));case _0x3e813b(0xd7):case _0x3e813b(0xc1):return N(_0x3cb930,!0x1);case _0x3e813b(0xb1):case _0x3e813b(0xd8):return N(_0x3cb930,!0x0);case _0x3e813b(0xe5):return X(_0x3cb930,!0x1);case _0x3e813b(0xeb):return X(_0x3cb930,!0x0);default:return String(_0x3cb930);}}}function _0x339b(_0x3b5053,_0xd3f3a0){const _0x3a3f90=_0x3a3f();return _0x339b=function(_0x339bf8,_0x5f3cfe){_0x339bf8=_0x339bf8-0x9f;let _0x531fbe=_0x3a3f90[_0x339bf8];return _0x531fbe;},_0x339b(_0x3b5053,_0xd3f3a0);}function M(_0x5f1996,_0x17ef30){const _0x44b854=_0x2f98d0,_0x3b311c=_0x17ef30[_0x44b854(0xe2)](_0x5f1996);return Array[_0x44b854(0xf2)](_0x3b311c[_0x44b854(0xce)]())[_0x44b854(0xbf)](_0x2798cf=>_0x2798cf['is'](_0x44b854(0xa1),'ol')&&_0x2798cf[_0x44b854(0xab)](_0x44b854(0xfc)));}function N(_0x5db4c4,_0x3e52e5){const _0x5384c8=_0x2f98d0;let _0x3904ff='',_0x41372f=_0x5db4c4;for(;_0x41372f>0x0;){const _0x297306=(_0x41372f-0x1)%0x1a;_0x3904ff=String[_0x5384c8(0xf3)](0x61+_0x297306)+_0x3904ff,_0x41372f=Math[_0x5384c8(0xf5)]((_0x41372f-0x1)/0x1a);}return _0x3e52e5?_0x3904ff[_0x5384c8(0xac)]():_0x3904ff;}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(_0x3a7fdb,_0x1d1629){const _0x437214=_0x2f98d0;let _0x4d6500='',_0x37d217=_0x3a7fdb;for(const {value:_0x46cd9b,numeral:_0xdd4b33}of V)for(;_0x37d217>=_0x46cd9b;)_0x4d6500+=_0xdd4b33,_0x37d217-=_0x46cd9b;return _0x1d1629?_0x4d6500:_0x4d6500[_0x437214(0xa6)]();}
23
+ const _0x4d81b5=_0x5141;(function(_0x38ca60,_0x27153d){const _0x6e0f5c=_0x5141,_0x2553aa=_0x38ca60();while(!![]){try{const _0x552a49=parseInt(_0x6e0f5c(0x94))/0x1+parseInt(_0x6e0f5c(0x95))/0x2+parseInt(_0x6e0f5c(0x96))/0x3+parseInt(_0x6e0f5c(0xce))/0x4+-parseInt(_0x6e0f5c(0xc6))/0x5*(parseInt(_0x6e0f5c(0xad))/0x6)+parseInt(_0x6e0f5c(0xd9))/0x7*(-parseInt(_0x6e0f5c(0xa3))/0x8)+-parseInt(_0x6e0f5c(0xd6))/0x9;if(_0x552a49===_0x27153d)break;else _0x2553aa['push'](_0x2553aa['shift']());}catch(_0x411ca3){_0x2553aa['push'](_0x2553aa['shift']());}}}(_0x1d09,0x7beeb));import{Plugin as _0x52f11f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1a8f41}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x1202e9}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3dd3e0}from'../footnotestracker.js';import{FootnotesEditing as _0x47b6e0}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x52f11f{static get[_0x4d81b5(0x8d)](){const _0x2549e4=_0x4d81b5;return _0x2549e4(0xdb);}static get[_0x4d81b5(0xae)](){return[_0x47b6e0,_0x3dd3e0];}static get[_0x4d81b5(0x9d)](){return!0x0;}static get[_0x4d81b5(0xc0)](){return!0x0;}[_0x4d81b5(0xc5)](){const _0x2a2af4=_0x4d81b5,{editor:_0x5b7634}=this;_0x5b7634[_0x2a2af4(0xb3)][_0x2a2af4(0x86)](_0x2a2af4(0xe3),_0x2a2af4(0xda)),_0x5b7634[_0x2a2af4(0xb3)][_0x2a2af4(0x86)](_0x2a2af4(0xcf),0x1),_0x5b7634[_0x2a2af4(0x89)][_0x2a2af4(0xd7)](_0x2a2af4(0xe2),new _0x1a8f41(_0x5b7634)),_0x5b7634[_0x2a2af4(0x89)][_0x2a2af4(0xd7)](_0x2a2af4(0xaf),new _0x1202e9(_0x5b7634)),this[_0x2a2af4(0xc1)](),this[_0x2a2af4(0xd8)](),this[_0x2a2af4(0xa4)](),this[_0x2a2af4(0xdc)]();}[_0x4d81b5(0xc1)](){const _0x2a5448=_0x4d81b5,{editor:_0x438651}=this,{schema:_0x5808fe}=_0x438651[_0x2a5448(0xc9)];_0x5808fe[_0x2a5448(0xcd)](_0x2a5448(0xb8),{'allowAttributes':[_0x2a5448(0xbc),_0x2a5448(0xb9)]});}[_0x4d81b5(0xd8)](){const _0x1b1fc3=_0x4d81b5,{editor:_0x5407b6}=this,{conversion:_0x21f773,model:_0xdd3f8}=_0x5407b6,{schema:_0x2b26dc}=_0xdd3f8;_0x21f773[_0x1b1fc3(0xb0)](_0x1b1fc3(0xa7))[_0x1b1fc3(0xd7)](_0x50a811=>{const _0xf58ed8=_0x1b1fc3;_0x50a811['on'](_0xf58ed8(0xa5),(_0x4f4c52,_0x4ae88a,_0x398977)=>{const _0x16c131=_0xf58ed8,_0x12d6e5=_0x4ae88a[_0x16c131(0x85)],_0x1b0839=_0x4ae88a[_0x16c131(0xb5)]?.[_0x16c131(0x8b)];_0x12d6e5[_0x16c131(0xde)](_0x16c131(0x83))&&_0x1b0839?.['is'](_0x16c131(0xd3),_0x16c131(0xb8))&&(function(_0x576500,_0x277c75,_0x5608fd,_0x43d619){const _0x36017a=_0x16c131;if(!_0x43d619[_0x36017a(0xb7)](_0x277c75,_0x36017a(0xb9)))return;let _0x5d6f66=0x1;const _0x21bdf8=_0x5608fd[_0x36017a(0x98)][_0x36017a(0x9a)](_0x576500,{'attributes':_0x36017a(0x84)});if(_0x21bdf8){const _0x17401f=Number[_0x36017a(0x88)](_0x576500[_0x36017a(0x8a)](_0x36017a(0x84)),0xa);Number[_0x36017a(0xdd)](_0x17401f)||(_0x5d6f66=_0x17401f);}!_0x21bdf8&&_0x277c75[_0x36017a(0xd0)](_0x36017a(0xb9))||_0x5608fd[_0x36017a(0xa2)][_0x36017a(0xab)](_0x36017a(0xb9),_0x5d6f66,_0x277c75);}(_0x12d6e5,_0x1b0839,_0x398977,_0x2b26dc),function(_0x4c6220,_0x1bdab7,_0x93755e,_0x16ce1b){const _0x24e430=_0x16c131;if(!_0x16ce1b[_0x24e430(0xb7)](_0x1bdab7,_0x24e430(0xbc)))return;let _0x198fb5=_0x24e430(0xda),_0x43d5c6=!0x1;if(_0x93755e[_0x24e430(0x98)][_0x24e430(0x9a)](_0x4c6220,{'attributes':_0x24e430(0x99)})){const _0x5d6b3a={0x1:_0x24e430(0xda),'a':_0x24e430(0x97),'A':_0x24e430(0xc3),'i':_0x24e430(0xac),'I':_0x24e430(0x8f)}[_0x4c6220[_0x24e430(0x8a)](_0x24e430(0x99))];_0x5d6b3a&&(_0x198fb5=_0x5d6b3a),_0x43d5c6=!0x0;}_0x93755e[_0x24e430(0x98)][_0x24e430(0x9a)](_0x4c6220,{'styles':_0x24e430(0xd4)})&&(_0x198fb5=function(_0x3acc58){const _0x28a660=_0x24e430;switch(_0x3acc58){case _0x28a660(0x97):return _0x28a660(0x9f);case _0x28a660(0xc3):return _0x28a660(0xdf);default:return _0x3acc58;}}(_0x4c6220[_0x24e430(0xb4)](_0x24e430(0xd4))),_0x43d5c6=!0x0),!_0x43d5c6&&_0x1bdab7[_0x24e430(0xd0)](_0x24e430(0xbc))||_0x93755e[_0x24e430(0xa2)][_0x24e430(0xab)](_0x24e430(0xbc),_0x198fb5,_0x1bdab7);}(_0x12d6e5,_0x1b0839,_0x398977,_0x2b26dc));});}),_0x21f773[_0x1b1fc3(0xb0)](_0x1b1fc3(0xca))[_0x1b1fc3(0xd7)](_0x362bf9=>{const _0x29463a=_0x1b1fc3;_0x362bf9['on'](_0x29463a(0xc8),(_0x21c72f,_0x573841,_0x2304d8)=>{const _0x5cced2=_0x29463a;if(!_0x2304d8[_0x5cced2(0x98)][_0x5cced2(0x9a)](_0x573841[_0x5cced2(0x87)],_0x21c72f[_0x5cced2(0xba)]))return;const _0x33b3c8=M(_0x573841[_0x5cced2(0x87)],_0x2304d8[_0x5cced2(0xc4)]),{attributeNewValue:_0x2ed6f1}=_0x573841;null==_0x2ed6f1||0x1===_0x2ed6f1?_0x2304d8[_0x5cced2(0xa2)][_0x5cced2(0xc2)](_0x5cced2(0x84),_0x33b3c8):_0x2304d8[_0x5cced2(0xa2)][_0x5cced2(0xab)](_0x5cced2(0x84),String(_0x2ed6f1),_0x33b3c8);}),_0x362bf9['on'](_0x29463a(0xb1),(_0x271bae,_0x3d5e10,_0x5c48d8)=>{const _0x4a0099=_0x29463a;if(!_0x5c48d8[_0x4a0099(0x98)][_0x4a0099(0x9a)](_0x3d5e10[_0x4a0099(0x87)],_0x271bae[_0x4a0099(0xba)]))return;const _0x42da09=M(_0x3d5e10[_0x4a0099(0x87)],_0x5c48d8[_0x4a0099(0xc4)]),{attributeNewValue:_0x2d89d2}=_0x3d5e10;_0x2d89d2&&_0x4a0099(0xda)!==_0x2d89d2?_0x5c48d8[_0x4a0099(0xa2)][_0x4a0099(0x92)](_0x4a0099(0xd4),_0x2d89d2,_0x42da09):_0x5c48d8[_0x4a0099(0xa2)][_0x4a0099(0xbb)](_0x4a0099(0xd4),_0x42da09);});});}[_0x4d81b5(0xdc)](){const _0x594eea=_0x4d81b5,{editor:_0x7118bc}=this,{model:_0x5ac5de}=_0x7118bc,_0x39ba79=_0x7118bc[_0x594eea(0xa1)][_0x594eea(0xcc)](_0x3dd3e0),_0x1e8513=this[_0x594eea(0xc7)](),_0x1e454c=this[_0x594eea(0xb2)]();_0x5ac5de[_0x594eea(0x93)][_0x594eea(0x8c)](_0x431859=>{const _0xc7041d=_0x594eea,_0x12df31=_0x5ac5de[_0xc7041d(0x93)][_0xc7041d(0xd5)][_0xc7041d(0x9c)]();let _0x26ad55=!0x1;for(const _0x33e9ad of _0x12df31){if(_0xc7041d(0xbf)!==_0x33e9ad[_0xc7041d(0x99)]||_0xc7041d(0x82)===_0x33e9ad[_0xc7041d(0xba)])continue;const _0x5c3cc8=_0x5ac5de[_0xc7041d(0x9e)](_0x33e9ad[_0xc7041d(0x8e)][_0xc7041d(0xaa)]);for(const _0x3bd32c of _0x5c3cc8[_0xc7041d(0xbd)]())_0x3bd32c['is'](_0xc7041d(0xd3),_0xc7041d(0xb8))&&(!_0x3bd32c[_0xc7041d(0xd0)](_0xc7041d(0xb9))&&_0x5ac5de[_0xc7041d(0x9b)][_0xc7041d(0xb7)](_0x3bd32c,_0xc7041d(0xb9))&&(_0x431859[_0xc7041d(0xab)](_0xc7041d(0xb9),_0x1e454c,_0x3bd32c),_0x26ad55=!0x0),!_0x3bd32c[_0xc7041d(0xd0)](_0xc7041d(0xbc))&&_0x5ac5de[_0xc7041d(0x9b)][_0xc7041d(0xb7)](_0x3bd32c,_0xc7041d(0xbc))&&(_0x431859[_0xc7041d(0xab)](_0xc7041d(0xbc),_0x1e8513,_0x3bd32c),_0x26ad55=!0x0));}return _0x26ad55&&_0x39ba79[_0xc7041d(0x90)](_0x431859),_0x26ad55;});}[_0x4d81b5(0xa4)](){const _0x1803e1=_0x4d81b5,{editor:_0x60ef42}=this;_0x60ef42[_0x1803e1(0xa1)][_0x1803e1(0xcc)](_0x3dd3e0)[_0x1803e1(0xbe)](_0x49b3da=>this[_0x1803e1(0xb6)](_0x49b3da));}[_0x4d81b5(0xc7)](){const _0x4b2543=_0x4d81b5;return this[_0x4b2543(0xe0)][_0x4b2543(0xb3)][_0x4b2543(0xcc)](_0x4b2543(0xe3));}[_0x4d81b5(0xb2)](){const _0x320b0a=_0x4d81b5;return this[_0x320b0a(0xe0)][_0x320b0a(0xb3)][_0x320b0a(0xcc)](_0x320b0a(0xcf));}[_0x4d81b5(0xb6)]({container:_0x491085,value:_0x3feae5,digits:_0x515e28}){const _0x402125=_0x4d81b5,_0x5e2552=_0x491085[_0x402125(0x8a)](_0x402125(0xbc)),_0x27b74b=_0x491085[_0x402125(0x8a)](_0x402125(0xb9)),_0x2643f3=Math[_0x402125(0xa6)](_0x3feae5)+(_0x27b74b??0x1)-0x1;switch(_0x5e2552){case _0x402125(0xa0):return function(_0x3f1839,_0x4c38b9){const _0x29e69a=_0x402125;return String(_0x3f1839)[_0x29e69a(0xd1)](_0x4c38b9,'0');}(_0x2643f3,Math[_0x402125(0xcb)](0x2,_0x515e28));case _0x402125(0x97):case _0x402125(0x9f):return N(_0x2643f3,!0x1);case _0x402125(0xc3):case _0x402125(0xdf):return N(_0x2643f3,!0x0);case _0x402125(0xac):return X(_0x2643f3,!0x1);case _0x402125(0x8f):return X(_0x2643f3,!0x0);default:return String(_0x2643f3);}}}function M(_0x12b727,_0x449671){const _0x336c63=_0x4d81b5,_0x494cfd=_0x449671[_0x336c63(0xe1)](_0x12b727);return Array[_0x336c63(0xe5)](_0x494cfd[_0x336c63(0xd2)]())[_0x336c63(0xa8)](_0x24072d=>_0x24072d['is'](_0x336c63(0xd3),'ol')&&_0x24072d[_0x336c63(0xde)](_0x336c63(0x83)));}function N(_0x549f92,_0x1abe23){const _0x484969=_0x4d81b5;let _0xb7620e='',_0x4ca293=_0x549f92;for(;_0x4ca293>0x0;){const _0xe4900c=(_0x4ca293-0x1)%0x1a;_0xb7620e=String[_0x484969(0xe4)](0x61+_0xe4900c)+_0xb7620e,_0x4ca293=Math[_0x484969(0xa6)]((_0x4ca293-0x1)/0x1a);}return _0x1abe23?_0xb7620e[_0x484969(0x91)]():_0xb7620e;}function _0x5141(_0x1bb42b,_0x466bb0){const _0x1d0910=_0x1d09();return _0x5141=function(_0x51419a,_0x5919f1){_0x51419a=_0x51419a-0x82;let _0x46297e=_0x1d0910[_0x51419a];return _0x46297e;},_0x5141(_0x1bb42b,_0x466bb0);}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(_0x2c4b52,_0x4318cc){const _0x30fd14=_0x4d81b5;let _0x9a03d9='',_0x2d954f=_0x2c4b52;for(const {value:_0xabe18f,numeral:_0x230ae1}of V)for(;_0x2d954f>=_0xabe18f;)_0x9a03d9+=_0x230ae1,_0x2d954f-=_0xabe18f;return _0x4318cc?_0x9a03d9:_0x9a03d9[_0x30fd14(0xa9)]();}function _0x1d09(){const _0x31eaba=['isPremiumPlugin','_defineSchema','removeAttribute','upper-alpha','mapper','init','5hcKKVW','_getDefaultListStyle','attribute:footnotesListStart:footnotesDefinitions','model','downcast','max','get','extend','3241288uzUEhi','footnotes.footnotesProperties.defaultStartIndex','hasAttribute','padStart','getChildren','element','list-style-type','differ','12220848HlhPpF','add','_defineConverters','49YpOotE','decimal','FootnotesPropertiesEditing','_definePostfixer','isNaN','hasClass','upper-latin','editor','toViewElement','footnotesStyle','footnotes.footnotesProperties.defaultListStyle','fromCharCode','from','$text','footnotes-list','start','viewItem','define','item','parseInt','commands','getAttribute','parent','registerPostFixer','pluginName','position','upper-roman','_updateFootnotesCounters','toUpperCase','setStyle','document','90711qLnxot','1743030KLOAmD','2291085DqcfVJ','lower-alpha','consumable','type','consume','schema','getChanges','isOfficialPlugin','createRangeOn','lower-latin','decimal-leading-zero','plugins','writer','729488fdYysR','_defineFormatter','element:ol','floor','upcast','find','toLowerCase','nodeAfter','setAttribute','lower-roman','194652ozSUCk','requires','footnotesStart','for','attribute:footnotesListStyle:footnotesDefinitions','_getDefaultStartIndex','config','getStyle','modelCursor','_formatFootnoteListValue','checkAttribute','footnotesDefinitions','footnotesListStart','name','removeStyle','footnotesListStyle','getItems','setFootnoteFormatter','insert'];_0x1d09=function(){return _0x31eaba;};return _0x1d09();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x37d35d,ButtonView as _0x5f12ee,ContextualBalloon as _0x517019,createDropdown as _0x33bc9c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x26862a}from'ckeditor5/src/widget.js';import{Plugin as _0x258e3d}from'ckeditor5/src/core.js';import{IconFootnote as _0x2723d2,IconListStyleDecimal as _0x50fdcc,IconListStyleDecimalLeadingZero as _0x3b9fc3,IconListStyleLowerLatin as _0x779664,IconListStyleLowerRoman as _0x32bed5,IconListStyleUpperLatin as _0x14f994,IconListStyleUpperRoman as _0x4e4f87}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x149659}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5b3b78}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x258e3d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x517019,_0x26862a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57b353}=this,{componentFactory:_0x409971}=_0x57b353['ui'];_0x57b353['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x409971['add']('footnotesStyle',function(_0x1d8e9b){return _0x210cd7=>{const {t:t}=_0x210cd7,_0x1217c2=_0x1d8e9b['commands']['get']('footnotesStyle'),_0x10f324=_0x33bc9c(_0x210cd7),{buttonView:_0x9373ae}=_0x10f324;return _0x10f324['class']='ck-footnotes-styles-dropdown',_0x10f324['bind']('isEnabled')['to'](_0x1217c2,'isEnabled'),_0x9373ae['set']({'label':t('Footnotes\x20style'),'icon':_0x2723d2,'tooltip':!0x0}),_0x10f324['once']('change:isOpen',()=>{const _0x4a93d9=function({editor:_0x1f6b13,dropdownView:_0x5b49c4}){const {t:t}=_0x1f6b13['locale'],_0x5855ad=t('Footnotes\x20definitions\x20styles'),_0x3c154e=function(_0x5f51d1){const t=_0x5f51d1['locale']['t'],_0x2180bf=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x50fdcc},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3b9fc3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x32bed5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4e4f87},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x779664},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x14f994}];return _0x2180bf['map'](function(_0x53f4ad){const _0xe93f25=_0x53f4ad['locale'];return({label:_0x5443f5,icon:_0x313147,tooltip:_0x1dd7ea,style:_0x4ec127})=>{const _0x1044e1=_0x53f4ad['commands']['get']('footnotesStyle'),_0x564151=new _0x5f12ee(_0xe93f25);return _0x564151['set']({'label':_0x5443f5,'icon':_0x313147,'tooltip':_0x1dd7ea}),_0x564151['bind']('isOn')['to'](_0x1044e1,'value',_0x8b03a9=>_0x8b03a9===_0x4ec127),_0x564151['bind']('isEnabled')['to'](_0x1044e1,'isEnabled'),_0x564151['on']('execute',()=>{_0x53f4ad['execute']('footnotesStyle',{'value':_0x4ec127}),_0x53f4ad['editing']['view']['focus']();}),_0x564151;};}(_0x5f51d1));}(_0x1f6b13),_0x1a6a99=new _0x149659(_0x1f6b13['locale'],{'styleGridAriaLabel':_0x5855ad,'styleButtonViews':_0x3c154e}),_0x47c0e2=_0x1f6b13['commands']['get']('footnotesStart');return _0x1a6a99['startIndexFieldView']['bind']('isEnabled')['to'](_0x47c0e2),_0x1a6a99['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x47c0e2),_0x1a6a99['on']('footnotesListStart',(_0x1728c8,_0x5b7140)=>{_0x1f6b13['execute']('footnotesStart',{'value':_0x5b7140['startIndex']});}),_0x1a6a99['delegate']('execute')['to'](_0x5b49c4),_0x1a6a99;}({'editor':_0x1d8e9b,'dropdownView':_0x10f324});_0x10f324['panelView']['children']['add'](_0x4a93d9);}),_0x10f324;};}(_0x57b353));}['afterInit'](){const {editor:_0x1166dd}=this,{t:t}=_0x1166dd['locale'],_0x55f394=_0x1166dd['plugins']['get'](_0x26862a),{defaultPositions:_0x13553b}=_0x37d35d;_0x55f394['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1166dd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x41ede2=>{let _0x306fb4=_0x41ede2['getFirstPosition']()?.['parent'];return _0x306fb4?.['is']('$text')&&(_0x306fb4=_0x306fb4['parent']),_0x306fb4?.['is']('element')?_0x306fb4['findAncestor'](_0x5b3b78):null;},'positions':[_0x13553b['southArrowNorth'],_0x13553b['southArrowNorthMiddleWest'],_0x13553b['southArrowNorthMiddleEast'],_0x13553b['southArrowNorthWest'],_0x13553b['southArrowNorthEast'],_0x13553b['northArrowSouth'],_0x13553b['northArrowSouthMiddleWest'],_0x13553b['northArrowSouthMiddleEast'],_0x13553b['northArrowSouthWest'],_0x13553b['northArrowSouthEast'],_0x13553b['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x1e3df5,ButtonView as _0xc255e1,ContextualBalloon as _0x252a92,createDropdown as _0x17a557}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3deeb9}from'ckeditor5/src/widget.js';import{Plugin as _0x2502c8}from'ckeditor5/src/core.js';import{IconFootnote as _0x5128c2,IconListStyleDecimal as _0x469f69,IconListStyleDecimalLeadingZero as _0x3c83f8,IconListStyleLowerLatin as _0x4ef402,IconListStyleLowerRoman as _0x1e6893,IconListStyleUpperLatin as _0x19789c,IconListStyleUpperRoman as _0x40cf9e}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4e5bdb}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x54d30b}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2502c8{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x252a92,_0x3deeb9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2a13b8}=this,{componentFactory:_0x171e67}=_0x2a13b8['ui'];_0x2a13b8['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x171e67['add']('footnotesStyle',function(_0x1fa77e){return _0xa5a4ed=>{const {t:t}=_0xa5a4ed,_0x34184c=_0x1fa77e['commands']['get']('footnotesStyle'),_0x37affa=_0x17a557(_0xa5a4ed),{buttonView:_0x3400a3}=_0x37affa;return _0x37affa['class']='ck-footnotes-styles-dropdown',_0x37affa['bind']('isEnabled')['to'](_0x34184c,'isEnabled'),_0x3400a3['set']({'label':t('Footnotes\x20style'),'icon':_0x5128c2,'tooltip':!0x0}),_0x37affa['once']('change:isOpen',()=>{const _0x51edb1=function({editor:_0x311eb3,dropdownView:_0x486633}){const {t:t}=_0x311eb3['locale'],_0x356b89=t('Footnotes\x20definitions\x20styles'),_0x8b6af=function(_0x21108b){const t=_0x21108b['locale']['t'],_0x1997d6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x469f69},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3c83f8},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1e6893},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x40cf9e},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4ef402},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x19789c}];return _0x1997d6['map'](function(_0x573963){const _0x337266=_0x573963['locale'];return({label:_0x381aad,icon:_0x312488,tooltip:_0x408f68,style:_0x31aa29})=>{const _0xc4e8ad=_0x573963['commands']['get']('footnotesStyle'),_0x4fa880=new _0xc255e1(_0x337266);return _0x4fa880['set']({'label':_0x381aad,'icon':_0x312488,'tooltip':_0x408f68}),_0x4fa880['bind']('isOn')['to'](_0xc4e8ad,'value',_0x4e8ad8=>_0x4e8ad8===_0x31aa29),_0x4fa880['bind']('isEnabled')['to'](_0xc4e8ad,'isEnabled'),_0x4fa880['on']('execute',()=>{_0x573963['execute']('footnotesStyle',{'value':_0x31aa29}),_0x573963['editing']['view']['focus']();}),_0x4fa880;};}(_0x21108b));}(_0x311eb3),_0x1b6ca0=new _0x4e5bdb(_0x311eb3['locale'],{'styleGridAriaLabel':_0x356b89,'styleButtonViews':_0x8b6af}),_0x442e44=_0x311eb3['commands']['get']('footnotesStart');return _0x1b6ca0['startIndexFieldView']['bind']('isEnabled')['to'](_0x442e44),_0x1b6ca0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x442e44),_0x1b6ca0['on']('footnotesListStart',(_0x329ca2,_0x19416c)=>{_0x311eb3['execute']('footnotesStart',{'value':_0x19416c['startIndex']});}),_0x1b6ca0['delegate']('execute')['to'](_0x486633),_0x1b6ca0;}({'editor':_0x1fa77e,'dropdownView':_0x37affa});_0x37affa['panelView']['children']['add'](_0x51edb1);}),_0x37affa;};}(_0x2a13b8));}['afterInit'](){const {editor:_0x3cbebd}=this,{t:t}=_0x3cbebd['locale'],_0x30cb41=_0x3cbebd['plugins']['get'](_0x3deeb9),{defaultPositions:_0x37b3fc}=_0x1e3df5;_0x30cb41['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x3cbebd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x24fcb0=>{let _0x2d3f7f=_0x24fcb0['getFirstPosition']()?.['parent'];return _0x2d3f7f?.['is']('$text')&&(_0x2d3f7f=_0x2d3f7f['parent']),_0x2d3f7f?.['is']('element')?_0x2d3f7f['findAncestor'](_0x54d30b):null;},'positions':[_0x37b3fc['southArrowNorth'],_0x37b3fc['southArrowNorthMiddleWest'],_0x37b3fc['southArrowNorthMiddleEast'],_0x37b3fc['southArrowNorthWest'],_0x37b3fc['southArrowNorthEast'],_0x37b3fc['northArrowSouth'],_0x37b3fc['northArrowSouthMiddleWest'],_0x37b3fc['northArrowSouthMiddleEast'],_0x37b3fc['northArrowSouthWest'],_0x37b3fc['northArrowSouthEast'],_0x37b3fc['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x6eea8f,View as _0x4d5fca,ViewCollection as _0x18f29d,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 _0x4d5fca{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x18f29d();['focusCycler'];constructor(_0x5a7aaa,{styleButtonViews:_0x1d17b2,styleGridAriaLabel:_0x174183}){super(_0x5a7aaa),(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'](_0x1d17b2,_0x174183),[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 _0x308c51 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x308c51['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 _0x2fab7a=_0x40f804=>_0x40f804['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fab7a),this['keystrokes']['set']('arrowleft',_0x2fab7a),this['keystrokes']['set']('arrowup',_0x2fab7a),this['keystrokes']['set']('arrowdown',_0x2fab7a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x374933,_0x56eb9e){const _0x381d87=new _0x4d5fca(this['locale']);return _0x381d87['children']=_0x381d87['createCollection'](),_0x381d87['children']['addMany'](_0x374933),_0x381d87['setTemplate']({'tag':'div','attributes':{'aria-label':_0x56eb9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x381d87['children']}),_0x381d87['children']['delegate']('execute')['to'](this),_0x381d87['focus']=function(){for(const _0x481c5c of this['children'])if(_0x481c5c instanceof _0x6eea8f&&_0x481c5c['isOn'])return void _0x481c5c['focus']();this['children']['first']['focus']();},_0x381d87['focusTracker']=new rt(),_0x381d87['keystrokes']=new nt(),_0x381d87['render'](),_0x381d87['keystrokes']['listenTo'](_0x381d87['element']),this['children']['add'](_0x381d87),_0x381d87;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5173e4=this['_createStartIndexPropertyView'](),_0xc9a084=[_0x5173e4],_0x23fd87=new it(this['locale'],_0xc9a084);return _0x23fd87['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x23fd87['buttonView']['bind']('isEnabled')['toMany'](_0xc9a084,'isEnabled',(..._0x5f3786)=>_0x5f3786['some'](_0x81f5b0=>_0x81f5b0)),_0x23fd87['buttonView']['on']('change:isEnabled',(_0xad0652,_0x556421,_0xf6565f)=>{_0xf6565f||(_0x23fd87['isCollapsed']=!0x0);}),this['children']['add'](_0x23fd87),[_0x5173e4,_0x23fd87];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4ae51c=new et(this['locale'],ot);return _0x4ae51c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4ae51c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4ae51c['fieldView']['on']('input',()=>{const _0x270ef0=_0x4ae51c['fieldView']['element'],_0x250be2=_0x270ef0['valueAsNumber'];Number['isNaN'](_0x250be2)?_0x4ae51c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x270ef0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x250be2}):_0x4ae51c['errorText']=t(_0x250be2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4ae51c;}}
23
+ import{ButtonView as _0x31b767,View as _0xc6744f,ViewCollection as _0x1e9873,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 _0xc6744f{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1e9873();['focusCycler'];constructor(_0x3ee26c,{styleButtonViews:_0x18e695,styleGridAriaLabel:_0x53b5de}){super(_0x3ee26c),(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'](_0x18e695,_0x53b5de),[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 _0x588b3b of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x588b3b['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 _0x1008f3=_0x228bb8=>_0x228bb8['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1008f3),this['keystrokes']['set']('arrowleft',_0x1008f3),this['keystrokes']['set']('arrowup',_0x1008f3),this['keystrokes']['set']('arrowdown',_0x1008f3);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1d6311,_0x1450d3){const _0x45a043=new _0xc6744f(this['locale']);return _0x45a043['children']=_0x45a043['createCollection'](),_0x45a043['children']['addMany'](_0x1d6311),_0x45a043['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1450d3,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x45a043['children']}),_0x45a043['children']['delegate']('execute')['to'](this),_0x45a043['focus']=function(){for(const _0x174f0b of this['children'])if(_0x174f0b instanceof _0x31b767&&_0x174f0b['isOn'])return void _0x174f0b['focus']();this['children']['first']['focus']();},_0x45a043['focusTracker']=new rt(),_0x45a043['keystrokes']=new nt(),_0x45a043['render'](),_0x45a043['keystrokes']['listenTo'](_0x45a043['element']),this['children']['add'](_0x45a043),_0x45a043;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x136bae=this['_createStartIndexPropertyView'](),_0x524b77=[_0x136bae],_0x5d76f6=new it(this['locale'],_0x524b77);return _0x5d76f6['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d76f6['buttonView']['bind']('isEnabled')['toMany'](_0x524b77,'isEnabled',(..._0x5295fc)=>_0x5295fc['some'](_0x130ecb=>_0x130ecb)),_0x5d76f6['buttonView']['on']('change:isEnabled',(_0x4f00a3,_0x3b5968,_0x30f40f)=>{_0x30f40f||(_0x5d76f6['isCollapsed']=!0x0);}),this['children']['add'](_0x5d76f6),[_0x136bae,_0x5d76f6];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x18b9b2=new et(this['locale'],ot);return _0x18b9b2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x18b9b2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x18b9b2['fieldView']['on']('input',()=>{const _0x424299=_0x18b9b2['fieldView']['element'],_0x69e6ed=_0x424299['valueAsNumber'];Number['isNaN'](_0x69e6ed)?_0x18b9b2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x424299['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x69e6ed}):_0x18b9b2['errorText']=t(_0x69e6ed<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x18b9b2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x543090=_0x280b;(function(_0x5bbcaf,_0x573617){var _0x26a6b1=_0x280b,_0x229580=_0x5bbcaf();while(!![]){try{var _0x481335=-parseInt(_0x26a6b1(0x1aa))/0x1+-parseInt(_0x26a6b1(0x1a7))/0x2+parseInt(_0x26a6b1(0x1ab))/0x3*(parseInt(_0x26a6b1(0x1a8))/0x4)+parseInt(_0x26a6b1(0x1a9))/0x5+-parseInt(_0x26a6b1(0x1b0))/0x6+-parseInt(_0x26a6b1(0x1ae))/0x7*(-parseInt(_0x26a6b1(0x1b4))/0x8)+parseInt(_0x26a6b1(0x1b1))/0x9;if(_0x481335===_0x573617)break;else _0x229580['push'](_0x229580['shift']());}catch(_0x371010){_0x229580['push'](_0x229580['shift']());}}}(_0x761e,0x32507));function _0x761e(){var _0x28c44b=['4299DqwErp','isOfficialPlugin','isPremiumPlugin','13762LFXvoI','pluginName','2070306rPVBDI','1229625LureIh','requires','FootnotesProperties','1656dcYxwR','562210jrGLec','908upunxk','285675EDCtKO','93770sfFUNq'];_0x761e=function(){return _0x28c44b;};return _0x761e();}import{Plugin as _0x22891a}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x9376c4}from'./footnotesproperties/footnotespropertiesediting.js';function _0x280b(_0x493109,_0x2be0f0){var _0x761ec=_0x761e();return _0x280b=function(_0x280bd5,_0x43b07a){_0x280bd5=_0x280bd5-0x1a7;var _0x27611a=_0x761ec[_0x280bd5];return _0x27611a;},_0x280b(_0x493109,_0x2be0f0);}import{FootnotesPropertiesUI as _0x13fa58}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x22891a{static get[_0x543090(0x1af)](){var _0x5d2b2d=_0x543090;return _0x5d2b2d(0x1b3);}static get[_0x543090(0x1b2)](){return[_0x9376c4,_0x13fa58];}static get[_0x543090(0x1ac)](){return!0x0;}static get[_0x543090(0x1ad)](){return!0x0;}}
23
+ var _0x55b12d=_0x5a00;(function(_0x4d3c06,_0x50633e){var _0x2deb2d=_0x5a00,_0x3c99c6=_0x4d3c06();while(!![]){try{var _0x23afcf=parseInt(_0x2deb2d(0x117))/0x1*(parseInt(_0x2deb2d(0x11d))/0x2)+-parseInt(_0x2deb2d(0x118))/0x3*(-parseInt(_0x2deb2d(0x113))/0x4)+parseInt(_0x2deb2d(0x110))/0x5*(parseInt(_0x2deb2d(0x11c))/0x6)+parseInt(_0x2deb2d(0x116))/0x7+-parseInt(_0x2deb2d(0x115))/0x8*(parseInt(_0x2deb2d(0x119))/0x9)+-parseInt(_0x2deb2d(0x10f))/0xa+parseInt(_0x2deb2d(0x11b))/0xb*(parseInt(_0x2deb2d(0x11a))/0xc);if(_0x23afcf===_0x50633e)break;else _0x3c99c6['push'](_0x3c99c6['shift']());}catch(_0x435bf8){_0x3c99c6['push'](_0x3c99c6['shift']());}}}(_0x4ea4,0x5cadc));function _0x5a00(_0x4dc1cb,_0x26cf12){var _0x4ea474=_0x4ea4();return _0x5a00=function(_0x5a00b0,_0x1398d5){_0x5a00b0=_0x5a00b0-0x10e;var _0x26d069=_0x4ea474[_0x5a00b0];return _0x26d069;},_0x5a00(_0x4dc1cb,_0x26cf12);}import{Plugin as _0xf2a74e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xc5cf18}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4ea4(){var _0x335eac=['5960qRULmV','isPremiumPlugin','253880btZeLN','952035ujKZgH','573201jSifEL','138zMqLKd','171RUYMHo','12scNyRy','1870275VQmfTy','5862zltmYT','2bQqmbh','isOfficialPlugin','pluginName','2993280MRrvDO','1710mnCGtx','requires','FootnotesProperties'];_0x4ea4=function(){return _0x335eac;};return _0x4ea4();}import{FootnotesPropertiesUI as _0x4934e2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xf2a74e{static get[_0x55b12d(0x10e)](){var _0x3b1f31=_0x55b12d;return _0x3b1f31(0x112);}static get[_0x55b12d(0x111)](){return[_0xc5cf18,_0x4934e2];}static get[_0x55b12d(0x11e)](){return!0x0;}static get[_0x55b12d(0x114)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d23cb=_0x4670;(function(_0x5d42e9,_0x2e4de9){const _0x5e79ed=_0x4670,_0x393c95=_0x5d42e9();while(!![]){try{const _0x10fc77=parseInt(_0x5e79ed(0x201))/0x1+-parseInt(_0x5e79ed(0x1fe))/0x2*(parseInt(_0x5e79ed(0x1ed))/0x3)+-parseInt(_0x5e79ed(0x203))/0x4*(parseInt(_0x5e79ed(0x1e2))/0x5)+-parseInt(_0x5e79ed(0x216))/0x6*(parseInt(_0x5e79ed(0x1e4))/0x7)+-parseInt(_0x5e79ed(0x218))/0x8*(parseInt(_0x5e79ed(0x20a))/0x9)+-parseInt(_0x5e79ed(0x20e))/0xa*(-parseInt(_0x5e79ed(0x1d6))/0xb)+-parseInt(_0x5e79ed(0x1dd))/0xc*(-parseInt(_0x5e79ed(0x1d9))/0xd);if(_0x10fc77===_0x2e4de9)break;else _0x393c95['push'](_0x393c95['shift']());}catch(_0x2ee144){_0x393c95['push'](_0x393c95['shift']());}}}(_0x15c1,0xdda1a));import{Plugin as _0x1aec17}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x257f99}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1aec17{[_0x5d23cb(0x205)]=[];[_0x5d23cb(0x21e)]=null;[_0x5d23cb(0x1d2)]=null;[_0x5d23cb(0x210)];[_0x5d23cb(0x22a)];[_0x5d23cb(0x1f6)];static get[_0x5d23cb(0x1db)](){const _0x13050b=_0x5d23cb;return _0x13050b(0x224);}static get[_0x5d23cb(0x1ce)](){return!0x0;}static get[_0x5d23cb(0x220)](){return!0x0;}constructor(_0xf75a02){const _0x101447=_0x5d23cb;super(_0xf75a02),this[_0x101447(0x210)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x1c9),'getElementKey':()=>_0x101447(0x1f3)}),this[_0x101447(0x22a)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x1e1),'getElementKey':_0x30be47=>_0x30be47[_0x101447(0x1c6)](_0x101447(0x1c8))}),this[_0x101447(0x1f6)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x214),'getElementKey':_0x2ba78e=>_0x2ba78e[_0x101447(0x1c6)](_0x101447(0x1c8))});}[_0x5d23cb(0x21a)](){const _0x59e5f4=_0x5d23cb,{editor:_0x22f818}=this,{model:_0x3e6a2e,data:_0x57cde1}=_0x22f818;_0x3e6a2e[_0x59e5f4(0x21d)][_0x59e5f4(0x1f8)](_0x23d194=>{const _0x3f0521=_0x59e5f4,_0x193086=_0x3e6a2e[_0x3f0521(0x21d)][_0x3f0521(0x209)][_0x3f0521(0x21b)]();let _0x2ff260=!0x1;return this[_0x3f0521(0x22d)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x21f)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x219)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x1f2)](_0x23d194)&&(_0x2ff260=!0x0),this[_0x3f0521(0x1d3)](_0x23d194)&&(_0x2ff260=!0x0),this[_0x3f0521(0x221)](_0x23d194)&&(_0x2ff260=!0x0),_0x2ff260;}),this[_0x59e5f4(0x1de)](_0x3e6a2e[_0x59e5f4(0x21d)],_0x59e5f4(0x222),()=>{const _0x5cb966=_0x59e5f4;_0x3e6a2e[_0x5cb966(0x1e3)]({'isUndoable':!0x1},_0xf4794e=>{const _0x23f167=_0x5cb966;this[_0x23f167(0x1fa)](_0xf4794e);});},{'priority':_0x59e5f4(0x1d5)}),this[_0x59e5f4(0x1de)](_0x57cde1,_0x59e5f4(0x20d),()=>{const _0x41f756=_0x59e5f4;this[_0x41f756(0x205)]=[],this[_0x41f756(0x210)][_0x41f756(0x1e6)](),this[_0x41f756(0x22a)][_0x41f756(0x1e6)](),this[_0x41f756(0x1f6)][_0x41f756(0x1e6)]();},{'priority':_0x59e5f4(0x21c)});}[_0x5d23cb(0x217)](){const _0x4e48fd=_0x5d23cb;return this[_0x4e48fd(0x21e)];}[_0x5d23cb(0x225)](_0x4bf505){const _0x51a4eb=_0x5d23cb;return this[_0x51a4eb(0x205)][_0x51a4eb(0x1e7)](_0x1bcd20=>_0x1bcd20['id']===_0x4bf505)||null;}[_0x5d23cb(0x1ee)](){const _0x4d241b=_0x5d23cb;return Array[_0x4d241b(0x1fc)](this[_0x4d241b(0x205)]);}[_0x5d23cb(0x1f5)](){const _0x462f6c=_0x5d23cb;return this[_0x462f6c(0x1d2)];}[_0x5d23cb(0x229)](_0x41dcff){const _0x3d81d4=_0x5d23cb;this[_0x3d81d4(0x1d2)]=_0x41dcff;}[_0x5d23cb(0x1cf)](_0x3ef0f4,_0x1a1ff8=0x0){const _0x25a972=_0x5d23cb;let _0x182b3c=!0x1;for(let _0x176557=_0x1a1ff8;_0x176557<this[_0x25a972(0x205)][_0x25a972(0x1d1)];_0x176557++)this[_0x25a972(0x1d0)](_0x3ef0f4,_0x176557)&&(_0x182b3c=!0x0);return _0x182b3c;}[_0x5d23cb(0x213)](_0x5b3e38,_0x25287d){const _0x3b7583=_0x5d23cb,_0x3c0dfe=_0x5b3e38[_0x3b7583(0x212)](_0x3b7583(0x1c9),{});return _0x5b3e38[_0x3b7583(0x200)](_0x3c0dfe,_0x25287d),this[_0x3b7583(0x21e)]=_0x3c0dfe,_0x3c0dfe;}[_0x5d23cb(0x1fa)](_0xda96a5){const _0x536a82=_0x5d23cb;if(!this[_0x536a82(0x205)][_0x536a82(0x1d1)]||this[_0x536a82(0x21e)])return;const _0x469e0f=this[_0x536a82(0x205)][0x0][_0x536a82(0x1ca)][_0x536a82(0x1f4)],_0x345afa=this[_0x536a82(0x213)](_0xda96a5,_0x469e0f);for(const _0x332d2b of this[_0x536a82(0x205)])_0x332d2b[_0x536a82(0x1fb)][_0x536a82(0x1ff)]||_0xda96a5[_0x536a82(0x1cd)](_0x332d2b[_0x536a82(0x1fb)],_0x345afa,_0x536a82(0x1df));this[_0x536a82(0x1cf)](_0xda96a5);}[_0x5d23cb(0x22d)](_0x23be1d,_0x59d7bb){const _0x1c4189=_0x5d23cb;let _0x24412e=!0x1;const {inserted:_0x2ed23f,removed:_0x3bd9b5,moved:_0x5754d1}=this[_0x1c4189(0x210)][_0x1c4189(0x21b)](_0x59d7bb);if(_0x5754d1[_0x1c4189(0x1d1)]&&(this[_0x1c4189(0x21e)]=_0x5754d1[0x0]),_0x2ed23f[_0x1c4189(0x1d1)]){if(_0x2ed23f[_0x1c4189(0x1d1)]>0x1||this[_0x1c4189(0x21e)]&&_0x2ed23f[_0x1c4189(0x226)](_0xec7f55=>_0xec7f55!==this[_0x1c4189(0x21e)])){const _0x157c4f=_0x23be1d[_0x1c4189(0x212)](_0x1c4189(0x1c9),{}),_0x15afc8=[];this[_0x1c4189(0x21e)]&&_0x15afc8[_0x1c4189(0x1f0)](this[_0x1c4189(0x21e)]),_0x15afc8[_0x1c4189(0x1f0)](..._0x2ed23f),_0x23be1d[_0x1c4189(0x1cd)](_0x157c4f,_0x15afc8[0x0],_0x1c4189(0x1cc));for(const _0x231905 of _0x15afc8)_0x23be1d[_0x1c4189(0x1e8)](_0x23be1d[_0x1c4189(0x20c)](_0x231905),_0x23be1d[_0x1c4189(0x227)](_0x157c4f,_0x1c4189(0x1df))),_0x23be1d[_0x1c4189(0x1ea)](_0x231905);this[_0x1c4189(0x21e)]=_0x157c4f,this[_0x1c4189(0x1cf)](_0x23be1d),_0x24412e=!0x0;}else this[_0x1c4189(0x21e)]=_0x2ed23f[0x0];}if(_0x3bd9b5[_0x1c4189(0x1d1)]&&_0x1c4189(0x1f1)===this[_0x1c4189(0x21e)]?.[_0x1c4189(0x1f4)][_0x1c4189(0x215)]){for(const _0x1ec50c of this[_0x1c4189(0x205)])_0x23be1d[_0x1c4189(0x1ea)](_0x1ec50c[_0x1c4189(0x1ca)]),_0x24412e=!0x0;this[_0x1c4189(0x205)]=[],this[_0x1c4189(0x21e)]=null;}return _0x24412e;}[_0x5d23cb(0x21f)](_0x56ab54,_0x14733e){const _0x319bb0=_0x5d23cb;let _0x5e91ba=!0x1;const _0x19877f=this[_0x319bb0(0x207)][_0x319bb0(0x211)][_0x319bb0(0x22b)](_0x319bb0(0x206)),{inserted:_0x2c2567,moved:_0x3bece0}=this[_0x319bb0(0x1f6)][_0x319bb0(0x21b)](_0x14733e);for(const _0x618aec of[..._0x3bece0,..._0x2c2567]){const _0x43e955=_0x618aec[_0x319bb0(0x1c6)](_0x319bb0(0x1c8)),_0x3c4239=this[_0x319bb0(0x225)](_0x43e955);_0x3c4239&&(_0x3c4239[_0x319bb0(0x1fb)]=_0x618aec),_(_0x56ab54,_0x19877f,_0x618aec)&&(_0x5e91ba=!0x0);}return _0x5e91ba;}[_0x5d23cb(0x219)](_0x3d6bb3,_0x16d880){const _0x4d9dee=_0x5d23cb;let _0x3c2541=!0x1;const {removed:_0x44ccdd,inserted:_0x45560a,moved:_0xcf7ded}=this[_0x4d9dee(0x22a)][_0x4d9dee(0x21b)](_0x16d880);for(const _0x5a6810 of _0x44ccdd)this[_0x4d9dee(0x1e5)](_0x3d6bb3,_0x5a6810)&&(_0x3c2541=!0x0);for(const _0xf16f15 of _0x45560a)this[_0x4d9dee(0x1f9)](_0x3d6bb3,_0xf16f15)&&(_0x3c2541=!0x0);for(const _0x5f2f13 of _0xcf7ded)this[_0x4d9dee(0x1e9)](_0x3d6bb3,_0x5f2f13)&&(_0x3c2541=!0x0);return _0x3c2541;}[_0x5d23cb(0x1d3)](_0x9e85b){const _0x46030c=_0x5d23cb;if(!this[_0x46030c(0x21e)])return!0x1;let _0x282b97=!0x1;if(this[_0x46030c(0x21e)][_0x46030c(0x20f)]!==this[_0x46030c(0x205)][_0x46030c(0x1d1)]){const _0x589a1f=[];for(const _0x3c5404 of this[_0x46030c(0x21e)][_0x46030c(0x1eb)]()){const _0x2be76e=_0x3c5404[_0x46030c(0x1c6)](_0x46030c(0x1c8));this[_0x46030c(0x225)](_0x2be76e)||(_0x589a1f[_0x46030c(0x1d8)](_0x3c5404),_0x282b97=!0x0);}for(const _0x95b25a of _0x589a1f)_0x9e85b[_0x46030c(0x1ea)](_0x95b25a);}const _0x189b2b=new Set(),_0x1d2bcf=[];for(const _0x22e711 of this[_0x46030c(0x21e)][_0x46030c(0x1eb)]()){const _0x3807f1=_0x22e711[_0x46030c(0x1c6)](_0x46030c(0x1c8));_0x189b2b[_0x46030c(0x1ec)](_0x3807f1)?(_0x1d2bcf[_0x46030c(0x1d8)](_0x22e711),_0x282b97=!0x0):_0x189b2b[_0x46030c(0x22c)](_0x3807f1);}for(const _0x47686e of _0x1d2bcf)_0x9e85b[_0x46030c(0x1ea)](_0x47686e);return this[_0x46030c(0x21e)][_0x46030c(0x20f)]||(_0x9e85b[_0x46030c(0x1ea)](this[_0x46030c(0x21e)]),this[_0x46030c(0x21e)]=null,_0x282b97=!0x0),_0x282b97;}[_0x5d23cb(0x1f9)](_0x1f693d,_0x57bbd8){const _0x55994b=_0x5d23cb;if(this[_0x55994b(0x205)][_0x55994b(0x1e7)](_0x556611=>_0x556611[_0x55994b(0x1ca)]===_0x57bbd8))return!0x1;let _0x2ca9ac=!0x1;const _0xd81ad6=_0x57bbd8[_0x55994b(0x1c6)](_0x55994b(0x1c8)),_0x464167=this[_0x55994b(0x205)][_0x55994b(0x202)](_0x4d554a=>_0x4d554a['id']===_0xd81ad6);-0x1!==_0x464167&&(_0x1f693d[_0x55994b(0x1ea)](this[_0x55994b(0x205)][_0x464167][_0x55994b(0x1ca)]),this[_0x55994b(0x205)][_0x55994b(0x20b)](_0x464167,0x1),_0x2ca9ac=!0x0);let _0x3dfc17=this[_0x55994b(0x21e)]?function(_0x5c1279,_0x509182){const _0x147f85=_0x55994b;for(const _0x40b8d8 of _0x5c1279[_0x147f85(0x1eb)]())if(_0x40b8d8[_0x147f85(0x1c6)](_0x147f85(0x1c8))===_0x509182)return _0x40b8d8;return null;}(this[_0x55994b(0x21e)],_0xd81ad6):null;_0x3dfc17||(_0x3dfc17=_0x1f693d[_0x55994b(0x212)](_0x55994b(0x214),{'footnoteId':_0xd81ad6}),this[_0x55994b(0x21e)]&&(_0x1f693d[_0x55994b(0x1cd)](_0x3dfc17,this[_0x55994b(0x21e)],_0x55994b(0x1df)),_0x2ca9ac=!0x0));const _0x50a092={'id':_0xd81ad6,'reference':_0x57bbd8,'definition':_0x3dfc17},_0x2cea1a=I(this[_0x55994b(0x207)][_0x55994b(0x1d7)],this[_0x55994b(0x205)],_0x57bbd8);this[_0x55994b(0x205)][_0x55994b(0x20b)](_0x2cea1a,0x0,_0x50a092);let _0x2d21a6=_0x2cea1a;return-0x1!==_0x464167&&(_0x2d21a6=Math[_0x55994b(0x228)](_0x2cea1a,_0x464167)),this[_0x55994b(0x1cf)](_0x1f693d,_0x2d21a6)&&(_0x2ca9ac=!0x0),_0x2ca9ac;}[_0x5d23cb(0x1e5)](_0x421c20,_0x5f3816){const _0x30b0d8=_0x5d23cb,_0x42b098=this[_0x30b0d8(0x205)][_0x30b0d8(0x202)](_0x416f3b=>_0x416f3b['id']===_0x5f3816);if(-0x1===_0x42b098)return!0x1;let _0xe0ddd6=!0x1;const _0x216317=this[_0x30b0d8(0x205)][_0x42b098];return _0x30b0d8(0x1f1)!==_0x216317[_0x30b0d8(0x1fb)][_0x30b0d8(0x1f4)][_0x30b0d8(0x215)]&&(_0x421c20[_0x30b0d8(0x1ea)](_0x216317[_0x30b0d8(0x1fb)]),_0xe0ddd6=!0x0),this[_0x30b0d8(0x205)][_0x30b0d8(0x20b)](_0x42b098,0x1),this[_0x30b0d8(0x1cf)](_0x421c20,_0x42b098)&&(_0xe0ddd6=!0x0),_0xe0ddd6;}[_0x5d23cb(0x1e9)](_0x57c373,_0x30b65d){const _0x36322a=_0x5d23cb,_0x388715=_0x30b65d[_0x36322a(0x1c6)](_0x36322a(0x1c8)),_0x1c4e6d=this[_0x36322a(0x205)][_0x36322a(0x202)](_0x56f2aa=>_0x56f2aa['id']===_0x388715),_0x558427=this[_0x36322a(0x205)][_0x1c4e6d];let _0x33ef49=!0x1;_0x558427[_0x36322a(0x1ca)]=_0x30b65d,this[_0x36322a(0x205)][_0x36322a(0x20b)](_0x1c4e6d,0x1);const _0x252220=I(this[_0x36322a(0x207)][_0x36322a(0x1d7)],this[_0x36322a(0x205)],_0x30b65d);return this[_0x36322a(0x205)][_0x36322a(0x20b)](_0x252220,0x0,_0x558427),this[_0x36322a(0x1cf)](_0x57c373,Math[_0x36322a(0x228)](_0x1c4e6d,_0x252220))&&(_0x33ef49=!0x0),_0x33ef49;}[_0x5d23cb(0x1d0)](_0x140705,_0x875e25){const _0x586055=_0x5d23cb;if(!this[_0x586055(0x21e)])return!0x1;const _0x199288=this[_0x586055(0x205)][_0x875e25];let _0x542f3e;return _0x542f3e=this[_0x586055(0x1d2)]?this[_0x586055(0x1d2)]({'footnote':_0x199288,'container':this[_0x586055(0x21e)],'digits':String(this[_0x586055(0x205)][_0x586055(0x1d1)])[_0x586055(0x1d1)],'value':_0x875e25+0x1}):String(_0x875e25+0x1),_0x199288[_0x586055(0x1ca)][_0x586055(0x1c6)](_0x586055(0x1d4))!=_0x542f3e&&(_0x140705[_0x586055(0x1dc)](_0x586055(0x1d4),_0x542f3e,_0x199288[_0x586055(0x1ca)]),!0x0);}[_0x5d23cb(0x221)](_0x29baca){const _0x4b3318=_0x5d23cb;if(!this[_0x4b3318(0x21e)]||this[_0x4b3318(0x205)][_0x4b3318(0x1d1)]<0x2)return!0x1;if(function(_0xed515a,_0x37e76e){const _0x344c48=_0x4b3318;if(_0xed515a[_0x344c48(0x1d1)]!==_0x37e76e[_0x344c48(0x1d1)])return!0x1;for(let _0x4ed7cc=0x0;_0x4ed7cc<_0xed515a[_0x344c48(0x1d1)];_0x4ed7cc++)if(_0xed515a[_0x4ed7cc]!==_0x37e76e[_0x4ed7cc])return!0x1;return!0x0;}(this[_0x4b3318(0x205)][_0x4b3318(0x1e0)](_0x20e3f5=>_0x20e3f5['id']),Array[_0x4b3318(0x1fc)](this[_0x4b3318(0x21e)][_0x4b3318(0x1eb)]())[_0x4b3318(0x1e0)](_0x2a5ea2=>_0x2a5ea2[_0x4b3318(0x1c6)](_0x4b3318(0x1c8)))))return!0x1;let _0x55fec1=!0x1;for(let _0x74a941=0x0;_0x74a941<this[_0x4b3318(0x205)][_0x4b3318(0x1d1)];_0x74a941++){const _0x12d9e7=this[_0x4b3318(0x205)][_0x74a941],_0x26d3b7=_0x29baca[_0x4b3318(0x1f7)](_0x12d9e7[_0x4b3318(0x1fb)]),_0xa5fff6=_0x29baca[_0x4b3318(0x227)](this[_0x4b3318(0x21e)],_0x74a941);_0x26d3b7[_0x4b3318(0x1c7)](_0xa5fff6)||(_0x29baca[_0x4b3318(0x1e8)](_0x29baca[_0x4b3318(0x1cb)](_0x12d9e7[_0x4b3318(0x1fb)]),_0xa5fff6),_0x55fec1=!0x0);}return _0x55fec1;}[_0x5d23cb(0x1f2)](_0x46b20d){const _0x55b1ef=_0x5d23cb;if(!this[_0x55b1ef(0x205)][_0x55b1ef(0x1d1)])return!0x1;const {model:_0x587d88}=this[_0x55b1ef(0x207)];let _0x59cb99=!0x1;for(let _0x3d078d=0x0;_0x3d078d<this[_0x55b1ef(0x205)][_0x55b1ef(0x1d1)]-0x1;_0x3d078d++){const _0x690325=this[_0x55b1ef(0x205)][_0x3d078d],_0x526de0=this[_0x55b1ef(0x205)][_0x3d078d+0x1],_0x534a17=_0x587d88[_0x55b1ef(0x1f7)](_0x690325[_0x55b1ef(0x1ca)]),_0x1b3224=_0x587d88[_0x55b1ef(0x1f7)](_0x526de0[_0x55b1ef(0x1ca)]);_0x55b1ef(0x208)===_0x534a17[_0x55b1ef(0x1ef)](_0x1b3224)&&(this[_0x55b1ef(0x1e9)](_0x46b20d,_0x690325[_0x55b1ef(0x1ca)]),_0x3d078d=-0x1,_0x59cb99=!0x0);}return _0x59cb99;}}function _0x4670(_0x59ec75,_0x360678){const _0x15c156=_0x15c1();return _0x4670=function(_0x4670ac,_0x233bdc){_0x4670ac=_0x4670ac-0x1c6;let _0x4624e9=_0x15c156[_0x4670ac];return _0x4624e9;},_0x4670(_0x59ec75,_0x360678);}function _(_0x1781e9,_0x372ec6,_0x36c53d){const _0x4e97da=_0x5d23cb;if(_0x36c53d[_0x4e97da(0x20f)])return!0x1;const _0x5ddb6d=_0x372ec6?_0x4e97da(0x204):_0x4e97da(0x1da);return _0x1781e9[_0x4e97da(0x1cd)](_0x1781e9[_0x4e97da(0x212)](_0x5ddb6d),_0x36c53d),!0x0;}function _0x15c1(){const _0xffbf34=['compareWith','push','$graveyard','_ensureFootnotesReferencesHaveProperOrder','singleton','root','getFootnotesFormatter','_footnoteDefsTracker','createPositionBefore','registerPostFixer','_handleInsertedFootnoteReference','_ensureFootnotesDefinitionsContainerExists','definition','from','getRootNames','276418SlDkFA','parent','append','601781GeZMzM','findIndex','2748WsQCOB','paragraph','_footnotes','footnotes.multiBlock','editor','after','differ','27nxPTSg','splice','createRangeIn','set','11210LBGeqc','childCount','_footnoteDefsContainerTracker','config','createElement','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','rootName','8243106WAfLFX','getFootnotesDefinitionsObjectElement','350056UXGprj','_handleFootnoteReferencesChanges','init','getChanges','high','document','_footnotesDefinitions','_handleFootnoteDefinitionsChanges','isPremiumPlugin','_sortFootnoteDefinitions','change:data','indexOf','FootnotesTracker','getFootnote','some','createPositionAt','min','setFootnoteFormatter','_footnoteRefsTracker','get','add','_handleFootnotesDefinitionsObjectChanges','getAttribute','isEqual','footnoteId','footnotesDefinitions','reference','createRangeOn','before','insert','isOfficialPlugin','_updateFootnotesCounters','_updateFootnoteRefCounter','length','_footnoteFormatter','_handleFootnotesDefinitionsObjectSync','footnoteCounter','low','7084zVBrbK','model','unshift','51011909IOOnOP','footnoteInlineContent','pluginName','setAttribute','12kArPLm','listenTo','end','map','footnoteRef','7555IIGchy','enqueueChange','7LYSShI','_handleRemoveFootnoteReferenceById','reset','find','move','_handleMovedFootnoteReference','remove','getChildren','has','39vsJXwg','getFootnotes'];_0x15c1=function(){return _0xffbf34;};return _0x15c1();}function I(_0x27d8a8,_0x4ff169,_0x4edefd){const _0x1872f4=_0x5d23cb;if(0x0===_0x4ff169[_0x1872f4(0x1d1)])return 0x0;const _0x3ccb24=_0x27d8a8[_0x1872f4(0x1f7)](_0x4edefd);for(let _0x134ed6=0x0;_0x134ed6<_0x4ff169[_0x1872f4(0x1d1)];_0x134ed6++){const _0x3539c5=_0x4ff169[_0x134ed6],_0x2705a5=_0x27d8a8[_0x1872f4(0x1f7)](_0x3539c5[_0x1872f4(0x1ca)]);if(_0x1872f4(0x1cc)===_0x3ccb24[_0x1872f4(0x1ef)](_0x2705a5))return _0x134ed6;}const _0xf2fa30=_0x4edefd[_0x1872f4(0x1f4)];let _0x1eeb3f=-0x1;for(let _0x1bdf7f=_0x4ff169[_0x1872f4(0x1d1)]-0x1;_0x1bdf7f>=0x0;_0x1bdf7f--)if(_0x4ff169[_0x1bdf7f][_0x1872f4(0x1ca)][_0x1872f4(0x1f4)]===_0xf2fa30){_0x1eeb3f=_0x1bdf7f;break;}if(-0x1!==_0x1eeb3f)return _0x1eeb3f+0x1;const _0x450276=_0x27d8a8[_0x1872f4(0x21d)][_0x1872f4(0x1fd)](),_0x770c7=_0x450276[_0x1872f4(0x223)](_0xf2fa30[_0x1872f4(0x215)]),_0x2f83a4=_0x450276[_0x770c7+0x1];if(_0x2f83a4){for(let _0x466ca1=0x0;_0x466ca1<_0x4ff169[_0x1872f4(0x1d1)];_0x466ca1++)if(_0x4ff169[_0x466ca1][_0x1872f4(0x1ca)][_0x1872f4(0x1f4)][_0x1872f4(0x215)]===_0x2f83a4)return _0x466ca1;}return _0x4ff169[_0x1872f4(0x1d1)];}
23
+ function _0x3d54(_0x9262cc,_0x3e0294){const _0x874bf9=_0x874b();return _0x3d54=function(_0x3d541e,_0x3349f1){_0x3d541e=_0x3d541e-0x80;let _0x25876d=_0x874bf9[_0x3d541e];return _0x25876d;},_0x3d54(_0x9262cc,_0x3e0294);}const _0x13dd30=_0x3d54;(function(_0x31ec2e,_0x2a1cc9){const _0x8e75e3=_0x3d54,_0x24bbde=_0x31ec2e();while(!![]){try{const _0x291914=-parseInt(_0x8e75e3(0xae))/0x1*(parseInt(_0x8e75e3(0x97))/0x2)+parseInt(_0x8e75e3(0xaa))/0x3+-parseInt(_0x8e75e3(0xc2))/0x4*(-parseInt(_0x8e75e3(0xba))/0x5)+parseInt(_0x8e75e3(0xd9))/0x6*(parseInt(_0x8e75e3(0xa8))/0x7)+-parseInt(_0x8e75e3(0x82))/0x8*(parseInt(_0x8e75e3(0x8e))/0x9)+parseInt(_0x8e75e3(0x90))/0xa+parseInt(_0x8e75e3(0xad))/0xb*(-parseInt(_0x8e75e3(0xcd))/0xc);if(_0x291914===_0x2a1cc9)break;else _0x24bbde['push'](_0x24bbde['shift']());}catch(_0x512d36){_0x24bbde['push'](_0x24bbde['shift']());}}}(_0x874b,0xedafb));function _0x874b(){const _0x1b1a1b=['childCount','_handleMovedFootnoteReference','_handleFootnoteDefinitionsChanges','footnotes.multiBlock','model','indexOf','min','change:data','reference','compareWith','definition','5337LOpxdM','add','18740810nOnKQX','getAttribute','_updateFootnoteRefCounter','_updateFootnotesCounters','_handleFootnoteReferencesChanges','push','singleton','193958rybZRI','getChanges','isEqual','_footnotesDefinitions','reset','differ','high','after','getChildren','rootName','_handleFootnotesDefinitionsObjectSync','createElement','_insertEmptyFootnotesDefinitionsContainer','footnoteCounter','_footnotes','footnotesDefinitions','getFootnotesDefinitionsObjectElement','238olDNuq','_footnoteDefsTracker','4092540wiafWy','unshift','_handleInsertedFootnoteReference','11rkSsUq','8hcMpYk','end','init','pluginName','set','setAttribute','insert','footnoteDefinition','_sortFootnoteDefinitions','from','_ensureFootnotesReferencesHaveProperOrder','listenTo','576090NuXyKu','length','FootnotesTracker','createRangeOn','isPremiumPlugin','document','getRootNames','createPositionAt','28qvUKJQ','enqueueChange','find','setFootnoteFormatter','config','createPositionBefore','_handleRemoveFootnoteReferenceById','some','splice','get','move','17148756elngkc','getFootnote','parent','has','createRangeIn','footnoteInlineContent','findIndex','_footnoteRefsTracker','footnoteRef','remove','getFootnotes','registerPostFixer','77028TKrrlX','_footnoteDefsContainerTracker','before','$graveyard','append','paragraph','footnoteId','root','map','_handleFootnotesDefinitionsObjectChanges','editor','getFootnotesFormatter','isOfficialPlugin','low','_ensureFootnotesDefinitionsContainerExists','_footnoteFormatter','17576SERAKd'];_0x874b=function(){return _0x1b1a1b;};return _0x874b();}import{Plugin as _0x8b85b0}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5b6602}from'./modelelementtracker.js';export class FootnotesTracker extends _0x8b85b0{[_0x13dd30(0xa5)]=[];[_0x13dd30(0x9a)]=null;[_0x13dd30(0x81)]=null;[_0x13dd30(0xda)];[_0x13dd30(0xd4)];[_0x13dd30(0xa9)];static get[_0x13dd30(0xb1)](){const _0xb9422c=_0x13dd30;return _0xb9422c(0xbc);}static get[_0x13dd30(0xe5)](){return!0x0;}static get[_0x13dd30(0xbe)](){return!0x0;}constructor(_0x13fb56){const _0x288971=_0x13dd30;super(_0x13fb56),this[_0x288971(0xda)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xa6),'getElementKey':()=>_0x288971(0x96)}),this[_0x288971(0xd4)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xd5),'getElementKey':_0x5f516a=>_0x5f516a[_0x288971(0x91)](_0x288971(0xdf))}),this[_0x288971(0xa9)]=new _0x5b6602(this[_0x288971(0xe3)][_0x288971(0x87)],{'elementName':_0x288971(0xb5),'getElementKey':_0x4ecb99=>_0x4ecb99[_0x288971(0x91)](_0x288971(0xdf))});}[_0x13dd30(0xb0)](){const _0x42a17c=_0x13dd30,{editor:_0xb34813}=this,{model:_0x37d7b1,data:_0x5e7d04}=_0xb34813;_0x37d7b1[_0x42a17c(0xbf)][_0x42a17c(0xd8)](_0x153684=>{const _0x5aedae=_0x42a17c,_0x168170=_0x37d7b1[_0x5aedae(0xbf)][_0x5aedae(0x9c)][_0x5aedae(0x98)]();let _0x596386=!0x1;return this[_0x5aedae(0xe2)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0x85)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0x94)](_0x153684,_0x168170)&&(_0x596386=!0x0),this[_0x5aedae(0xb8)](_0x153684)&&(_0x596386=!0x0),this[_0x5aedae(0xa1)](_0x153684)&&(_0x596386=!0x0),this[_0x5aedae(0xb6)](_0x153684)&&(_0x596386=!0x0),_0x596386;}),this[_0x42a17c(0xb9)](_0x37d7b1[_0x42a17c(0xbf)],_0x42a17c(0x8a),()=>{const _0x490234=_0x42a17c;_0x37d7b1[_0x490234(0xc3)]({'isUndoable':!0x1},_0x423701=>{const _0x2eab66=_0x490234;this[_0x2eab66(0x80)](_0x423701);});},{'priority':_0x42a17c(0xe6)}),this[_0x42a17c(0xb9)](_0x5e7d04,_0x42a17c(0xb2),()=>{const _0x37abc0=_0x42a17c;this[_0x37abc0(0xa5)]=[],this[_0x37abc0(0xda)][_0x37abc0(0x9b)](),this[_0x37abc0(0xd4)][_0x37abc0(0x9b)](),this[_0x37abc0(0xa9)][_0x37abc0(0x9b)]();},{'priority':_0x42a17c(0x9d)});}[_0x13dd30(0xa7)](){const _0x12a2d6=_0x13dd30;return this[_0x12a2d6(0x9a)];}[_0x13dd30(0xce)](_0x131828){const _0x5d79b1=_0x13dd30;return this[_0x5d79b1(0xa5)][_0x5d79b1(0xc4)](_0x105fda=>_0x105fda['id']===_0x131828)||null;}[_0x13dd30(0xd7)](){const _0x243acb=_0x13dd30;return Array[_0x243acb(0xb7)](this[_0x243acb(0xa5)]);}[_0x13dd30(0xe4)](){const _0x30a9b6=_0x13dd30;return this[_0x30a9b6(0x81)];}[_0x13dd30(0xc5)](_0x26ab2f){const _0x117ee6=_0x13dd30;this[_0x117ee6(0x81)]=_0x26ab2f;}[_0x13dd30(0x93)](_0xe16a43,_0x3ec65f=0x0){const _0x4f3aa0=_0x13dd30;let _0xe58636=!0x1;for(let _0x35c065=_0x3ec65f;_0x35c065<this[_0x4f3aa0(0xa5)][_0x4f3aa0(0xbb)];_0x35c065++)this[_0x4f3aa0(0x92)](_0xe16a43,_0x35c065)&&(_0xe58636=!0x0);return _0xe58636;}[_0x13dd30(0xa3)](_0xcf5bf3,_0x2d24a2){const _0x2158fa=_0x13dd30,_0x3d7fc7=_0xcf5bf3[_0x2158fa(0xa2)](_0x2158fa(0xa6),{});return _0xcf5bf3[_0x2158fa(0xdd)](_0x3d7fc7,_0x2d24a2),this[_0x2158fa(0x9a)]=_0x3d7fc7,_0x3d7fc7;}[_0x13dd30(0x80)](_0x2592a2){const _0xefc172=_0x13dd30;if(!this[_0xefc172(0xa5)][_0xefc172(0xbb)]||this[_0xefc172(0x9a)])return;const _0xe212c8=this[_0xefc172(0xa5)][0x0][_0xefc172(0x8b)][_0xefc172(0xe0)],_0x4713f2=this[_0xefc172(0xa3)](_0x2592a2,_0xe212c8);for(const _0x4289ba of this[_0xefc172(0xa5)])_0x4289ba[_0xefc172(0x8d)][_0xefc172(0xcf)]||_0x2592a2[_0xefc172(0xb4)](_0x4289ba[_0xefc172(0x8d)],_0x4713f2,_0xefc172(0xaf));this[_0xefc172(0x93)](_0x2592a2);}[_0x13dd30(0xe2)](_0x31cc66,_0x4ea81a){const _0xebb84b=_0x13dd30;let _0x2e7c7f=!0x1;const {inserted:_0x1abae3,removed:_0x3dd715,moved:_0x2396cb}=this[_0xebb84b(0xda)][_0xebb84b(0x98)](_0x4ea81a);if(_0x2396cb[_0xebb84b(0xbb)]&&(this[_0xebb84b(0x9a)]=_0x2396cb[0x0]),_0x1abae3[_0xebb84b(0xbb)]){if(_0x1abae3[_0xebb84b(0xbb)]>0x1||this[_0xebb84b(0x9a)]&&_0x1abae3[_0xebb84b(0xc9)](_0x1130d2=>_0x1130d2!==this[_0xebb84b(0x9a)])){const _0x7dbe0e=_0x31cc66[_0xebb84b(0xa2)](_0xebb84b(0xa6),{}),_0xc6c5cf=[];this[_0xebb84b(0x9a)]&&_0xc6c5cf[_0xebb84b(0x95)](this[_0xebb84b(0x9a)]),_0xc6c5cf[_0xebb84b(0x95)](..._0x1abae3),_0x31cc66[_0xebb84b(0xb4)](_0x7dbe0e,_0xc6c5cf[0x0],_0xebb84b(0xdb));for(const _0x87d652 of _0xc6c5cf)_0x31cc66[_0xebb84b(0xcc)](_0x31cc66[_0xebb84b(0xd1)](_0x87d652),_0x31cc66[_0xebb84b(0xc1)](_0x7dbe0e,_0xebb84b(0xaf))),_0x31cc66[_0xebb84b(0xd6)](_0x87d652);this[_0xebb84b(0x9a)]=_0x7dbe0e,this[_0xebb84b(0x93)](_0x31cc66),_0x2e7c7f=!0x0;}else this[_0xebb84b(0x9a)]=_0x1abae3[0x0];}if(_0x3dd715[_0xebb84b(0xbb)]&&_0xebb84b(0xdc)===this[_0xebb84b(0x9a)]?.[_0xebb84b(0xe0)][_0xebb84b(0xa0)]){for(const _0x3971ed of this[_0xebb84b(0xa5)])_0x31cc66[_0xebb84b(0xd6)](_0x3971ed[_0xebb84b(0x8b)]),_0x2e7c7f=!0x0;this[_0xebb84b(0xa5)]=[],this[_0xebb84b(0x9a)]=null;}return _0x2e7c7f;}[_0x13dd30(0x85)](_0x9f272b,_0x17e4fb){const _0xc1d950=_0x13dd30;let _0x51ec39=!0x1;const _0x418f4b=this[_0xc1d950(0xe3)][_0xc1d950(0xc6)][_0xc1d950(0xcb)](_0xc1d950(0x86)),{inserted:_0x441c4e,moved:_0x5e4e6c}=this[_0xc1d950(0xa9)][_0xc1d950(0x98)](_0x17e4fb);for(const _0x940858 of[..._0x5e4e6c,..._0x441c4e]){const _0x1cdf87=_0x940858[_0xc1d950(0x91)](_0xc1d950(0xdf)),_0x336d41=this[_0xc1d950(0xce)](_0x1cdf87);_0x336d41&&(_0x336d41[_0xc1d950(0x8d)]=_0x940858),_(_0x9f272b,_0x418f4b,_0x940858)&&(_0x51ec39=!0x0);}return _0x51ec39;}[_0x13dd30(0x94)](_0x347d3d,_0x4c59ca){const _0x35fae1=_0x13dd30;let _0x1bf9ad=!0x1;const {removed:_0x4e1fd4,inserted:_0x41aaf6,moved:_0xbee70b}=this[_0x35fae1(0xd4)][_0x35fae1(0x98)](_0x4c59ca);for(const _0x5e4c10 of _0x4e1fd4)this[_0x35fae1(0xc8)](_0x347d3d,_0x5e4c10)&&(_0x1bf9ad=!0x0);for(const _0x42e83a of _0x41aaf6)this[_0x35fae1(0xac)](_0x347d3d,_0x42e83a)&&(_0x1bf9ad=!0x0);for(const _0x82443c of _0xbee70b)this[_0x35fae1(0x84)](_0x347d3d,_0x82443c)&&(_0x1bf9ad=!0x0);return _0x1bf9ad;}[_0x13dd30(0xa1)](_0x4869f7){const _0x3c4b14=_0x13dd30;if(!this[_0x3c4b14(0x9a)])return!0x1;let _0x26964d=!0x1;if(this[_0x3c4b14(0x9a)][_0x3c4b14(0x83)]!==this[_0x3c4b14(0xa5)][_0x3c4b14(0xbb)]){const _0x5d1dfd=[];for(const _0x3b5b8e of this[_0x3c4b14(0x9a)][_0x3c4b14(0x9f)]()){const _0x33c560=_0x3b5b8e[_0x3c4b14(0x91)](_0x3c4b14(0xdf));this[_0x3c4b14(0xce)](_0x33c560)||(_0x5d1dfd[_0x3c4b14(0xab)](_0x3b5b8e),_0x26964d=!0x0);}for(const _0x31b72f of _0x5d1dfd)_0x4869f7[_0x3c4b14(0xd6)](_0x31b72f);}const _0x5816ed=new Set(),_0x3ab7a3=[];for(const _0x6b9066 of this[_0x3c4b14(0x9a)][_0x3c4b14(0x9f)]()){const _0x19518a=_0x6b9066[_0x3c4b14(0x91)](_0x3c4b14(0xdf));_0x5816ed[_0x3c4b14(0xd0)](_0x19518a)?(_0x3ab7a3[_0x3c4b14(0xab)](_0x6b9066),_0x26964d=!0x0):_0x5816ed[_0x3c4b14(0x8f)](_0x19518a);}for(const _0x1f447c of _0x3ab7a3)_0x4869f7[_0x3c4b14(0xd6)](_0x1f447c);return this[_0x3c4b14(0x9a)][_0x3c4b14(0x83)]||(_0x4869f7[_0x3c4b14(0xd6)](this[_0x3c4b14(0x9a)]),this[_0x3c4b14(0x9a)]=null,_0x26964d=!0x0),_0x26964d;}[_0x13dd30(0xac)](_0x4762ac,_0x11afdd){const _0x300ac5=_0x13dd30;if(this[_0x300ac5(0xa5)][_0x300ac5(0xc4)](_0x5f11d3=>_0x5f11d3[_0x300ac5(0x8b)]===_0x11afdd))return!0x1;let _0x4e9978=!0x1;const _0x139c8c=_0x11afdd[_0x300ac5(0x91)](_0x300ac5(0xdf)),_0x426600=this[_0x300ac5(0xa5)][_0x300ac5(0xd3)](_0xebd1cc=>_0xebd1cc['id']===_0x139c8c);-0x1!==_0x426600&&(_0x4762ac[_0x300ac5(0xd6)](this[_0x300ac5(0xa5)][_0x426600][_0x300ac5(0x8b)]),this[_0x300ac5(0xa5)][_0x300ac5(0xca)](_0x426600,0x1),_0x4e9978=!0x0);let _0x710e2e=this[_0x300ac5(0x9a)]?function(_0x410e5d,_0x30f12a){const _0x4b26d6=_0x300ac5;for(const _0x5674cb of _0x410e5d[_0x4b26d6(0x9f)]())if(_0x5674cb[_0x4b26d6(0x91)](_0x4b26d6(0xdf))===_0x30f12a)return _0x5674cb;return null;}(this[_0x300ac5(0x9a)],_0x139c8c):null;_0x710e2e||(_0x710e2e=_0x4762ac[_0x300ac5(0xa2)](_0x300ac5(0xb5),{'footnoteId':_0x139c8c}),this[_0x300ac5(0x9a)]&&(_0x4762ac[_0x300ac5(0xb4)](_0x710e2e,this[_0x300ac5(0x9a)],_0x300ac5(0xaf)),_0x4e9978=!0x0));const _0x27ada9={'id':_0x139c8c,'reference':_0x11afdd,'definition':_0x710e2e},_0x36da83=I(this[_0x300ac5(0xe3)][_0x300ac5(0x87)],this[_0x300ac5(0xa5)],_0x11afdd);this[_0x300ac5(0xa5)][_0x300ac5(0xca)](_0x36da83,0x0,_0x27ada9);let _0x277287=_0x36da83;return-0x1!==_0x426600&&(_0x277287=Math[_0x300ac5(0x89)](_0x36da83,_0x426600)),this[_0x300ac5(0x93)](_0x4762ac,_0x277287)&&(_0x4e9978=!0x0),_0x4e9978;}[_0x13dd30(0xc8)](_0x1769c3,_0x3fe9b3){const _0x44cb32=_0x13dd30,_0x36c7cf=this[_0x44cb32(0xa5)][_0x44cb32(0xd3)](_0x3214f4=>_0x3214f4['id']===_0x3fe9b3);if(-0x1===_0x36c7cf)return!0x1;let _0x192f5f=!0x1;const _0x4a35a6=this[_0x44cb32(0xa5)][_0x36c7cf];return _0x44cb32(0xdc)!==_0x4a35a6[_0x44cb32(0x8d)][_0x44cb32(0xe0)][_0x44cb32(0xa0)]&&(_0x1769c3[_0x44cb32(0xd6)](_0x4a35a6[_0x44cb32(0x8d)]),_0x192f5f=!0x0),this[_0x44cb32(0xa5)][_0x44cb32(0xca)](_0x36c7cf,0x1),this[_0x44cb32(0x93)](_0x1769c3,_0x36c7cf)&&(_0x192f5f=!0x0),_0x192f5f;}[_0x13dd30(0x84)](_0x5468c4,_0x583787){const _0x1ecbe3=_0x13dd30,_0x1d6bde=_0x583787[_0x1ecbe3(0x91)](_0x1ecbe3(0xdf)),_0x6654a8=this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xd3)](_0xc09485=>_0xc09485['id']===_0x1d6bde),_0x52a6e7=this[_0x1ecbe3(0xa5)][_0x6654a8];let _0x20f84a=!0x1;_0x52a6e7[_0x1ecbe3(0x8b)]=_0x583787,this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xca)](_0x6654a8,0x1);const _0x202608=I(this[_0x1ecbe3(0xe3)][_0x1ecbe3(0x87)],this[_0x1ecbe3(0xa5)],_0x583787);return this[_0x1ecbe3(0xa5)][_0x1ecbe3(0xca)](_0x202608,0x0,_0x52a6e7),this[_0x1ecbe3(0x93)](_0x5468c4,Math[_0x1ecbe3(0x89)](_0x6654a8,_0x202608))&&(_0x20f84a=!0x0),_0x20f84a;}[_0x13dd30(0x92)](_0x3044ee,_0x3351ed){const _0x1e4943=_0x13dd30;if(!this[_0x1e4943(0x9a)])return!0x1;const _0xcd68a5=this[_0x1e4943(0xa5)][_0x3351ed];let _0x3518ee;return _0x3518ee=this[_0x1e4943(0x81)]?this[_0x1e4943(0x81)]({'footnote':_0xcd68a5,'container':this[_0x1e4943(0x9a)],'digits':String(this[_0x1e4943(0xa5)][_0x1e4943(0xbb)])[_0x1e4943(0xbb)],'value':_0x3351ed+0x1}):String(_0x3351ed+0x1),_0xcd68a5[_0x1e4943(0x8b)][_0x1e4943(0x91)](_0x1e4943(0xa4))!=_0x3518ee&&(_0x3044ee[_0x1e4943(0xb3)](_0x1e4943(0xa4),_0x3518ee,_0xcd68a5[_0x1e4943(0x8b)]),!0x0);}[_0x13dd30(0xb6)](_0x2f11cc){const _0x1b9310=_0x13dd30;if(!this[_0x1b9310(0x9a)]||this[_0x1b9310(0xa5)][_0x1b9310(0xbb)]<0x2)return!0x1;if(function(_0x40b084,_0x3292e9){const _0x4b223e=_0x1b9310;if(_0x40b084[_0x4b223e(0xbb)]!==_0x3292e9[_0x4b223e(0xbb)])return!0x1;for(let _0x3538e1=0x0;_0x3538e1<_0x40b084[_0x4b223e(0xbb)];_0x3538e1++)if(_0x40b084[_0x3538e1]!==_0x3292e9[_0x3538e1])return!0x1;return!0x0;}(this[_0x1b9310(0xa5)][_0x1b9310(0xe1)](_0x3bb3d3=>_0x3bb3d3['id']),Array[_0x1b9310(0xb7)](this[_0x1b9310(0x9a)][_0x1b9310(0x9f)]())[_0x1b9310(0xe1)](_0x3fca1b=>_0x3fca1b[_0x1b9310(0x91)](_0x1b9310(0xdf)))))return!0x1;let _0x532f0=!0x1;for(let _0x473370=0x0;_0x473370<this[_0x1b9310(0xa5)][_0x1b9310(0xbb)];_0x473370++){const _0x134d3a=this[_0x1b9310(0xa5)][_0x473370],_0x19b98c=_0x2f11cc[_0x1b9310(0xc7)](_0x134d3a[_0x1b9310(0x8d)]),_0x1a7a07=_0x2f11cc[_0x1b9310(0xc1)](this[_0x1b9310(0x9a)],_0x473370);_0x19b98c[_0x1b9310(0x99)](_0x1a7a07)||(_0x2f11cc[_0x1b9310(0xcc)](_0x2f11cc[_0x1b9310(0xbd)](_0x134d3a[_0x1b9310(0x8d)]),_0x1a7a07),_0x532f0=!0x0);}return _0x532f0;}[_0x13dd30(0xb8)](_0x120932){const _0x57470b=_0x13dd30;if(!this[_0x57470b(0xa5)][_0x57470b(0xbb)])return!0x1;const {model:_0x1a1276}=this[_0x57470b(0xe3)];let _0x2546e4=!0x1;for(let _0x30699f=0x0;_0x30699f<this[_0x57470b(0xa5)][_0x57470b(0xbb)]-0x1;_0x30699f++){const _0x2e0179=this[_0x57470b(0xa5)][_0x30699f],_0x3550a3=this[_0x57470b(0xa5)][_0x30699f+0x1],_0x21163e=_0x1a1276[_0x57470b(0xc7)](_0x2e0179[_0x57470b(0x8b)]),_0x584de1=_0x1a1276[_0x57470b(0xc7)](_0x3550a3[_0x57470b(0x8b)]);_0x57470b(0x9e)===_0x21163e[_0x57470b(0x8c)](_0x584de1)&&(this[_0x57470b(0x84)](_0x120932,_0x2e0179[_0x57470b(0x8b)]),_0x30699f=-0x1,_0x2546e4=!0x0);}return _0x2546e4;}}function _(_0x5b38f4,_0x32e7e7,_0x2308db){const _0x2f71d8=_0x13dd30;if(_0x2308db[_0x2f71d8(0x83)])return!0x1;const _0x2d7352=_0x32e7e7?_0x2f71d8(0xde):_0x2f71d8(0xd2);return _0x5b38f4[_0x2f71d8(0xb4)](_0x5b38f4[_0x2f71d8(0xa2)](_0x2d7352),_0x2308db),!0x0;}function I(_0xe0ad7a,_0x521d10,_0x1c3908){const _0x26a545=_0x13dd30;if(0x0===_0x521d10[_0x26a545(0xbb)])return 0x0;const _0x19b472=_0xe0ad7a[_0x26a545(0xc7)](_0x1c3908);for(let _0x3f79af=0x0;_0x3f79af<_0x521d10[_0x26a545(0xbb)];_0x3f79af++){const _0x3008f8=_0x521d10[_0x3f79af],_0x2e55db=_0xe0ad7a[_0x26a545(0xc7)](_0x3008f8[_0x26a545(0x8b)]);if(_0x26a545(0xdb)===_0x19b472[_0x26a545(0x8c)](_0x2e55db))return _0x3f79af;}const _0x2f710e=_0x1c3908[_0x26a545(0xe0)];let _0x1df102=-0x1;for(let _0x4e7693=_0x521d10[_0x26a545(0xbb)]-0x1;_0x4e7693>=0x0;_0x4e7693--)if(_0x521d10[_0x4e7693][_0x26a545(0x8b)][_0x26a545(0xe0)]===_0x2f710e){_0x1df102=_0x4e7693;break;}if(-0x1!==_0x1df102)return _0x1df102+0x1;const _0x525676=_0xe0ad7a[_0x26a545(0xbf)][_0x26a545(0xc0)](),_0x59ebe5=_0x525676[_0x26a545(0x88)](_0x2f710e[_0x26a545(0xa0)]),_0x29908=_0x525676[_0x59ebe5+0x1];if(_0x29908){for(let _0x1acc71=0x0;_0x1acc71<_0x521d10[_0x26a545(0xbb)];_0x1acc71++)if(_0x521d10[_0x1acc71][_0x26a545(0x8b)][_0x26a545(0xe0)][_0x26a545(0xa0)]===_0x29908)return _0x1acc71;}return _0x521d10[_0x26a545(0xbb)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x251a09,MenuBarMenuListItemButtonView as _0x11bb31}from'ckeditor5/src/ui.js';import{Plugin as _0x1e2c7a}from'ckeditor5/src/core.js';import{IconFootnote as _0x16f8db}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1e2c7a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd0e573}=this,{componentFactory:_0x5e3b45}=_0xd0e573['ui'];_0x5e3b45['add']('insertFootnote',E(_0xd0e573,_0x251a09)),_0x5e3b45['add']('menuBar:insertFootnote',E(_0xd0e573,_0x11bb31)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x16aa46=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x230b15;for(const _0x370e7e in _0x16aa46){const _0x19584b=_0x370e7e,_0x2ed0c8=_0x16aa46[_0x19584b];if('footnotesLicenseKeyValid'==_0x2ed0c8||'footnotesLicenseKeyInvalid'==_0x2ed0c8||'footnotesLicenseKeyExpired'==_0x2ed0c8||'footnotesLicenseKeyDomainLimit'==_0x2ed0c8||'footnotesLicenseKeyNotAllowed'==_0x2ed0c8||'footnotesLicenseKeyEvaluationLimit'==_0x2ed0c8||'footnotesLicenseKeyUsageLimit'==_0x2ed0c8){delete _0x16aa46[_0x19584b],_0x230b15=_0x2ed0c8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x230b15&&_0x16aa46['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x230b15&&_0x16aa46['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x230b15&&_0x16aa46['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x30e68a,_0x2d612f){const _0x3a6687=_0x30e68a['commands']['get']('insertFootnote');return _0x4c3cc2=>{const {t:t}=_0x4c3cc2,_0x456ddd=new _0x2d612f(_0x4c3cc2),_0x3f7eb5=_0x456ddd instanceof _0x11bb31;return _0x456ddd['bind']('isEnabled')['to'](_0x3a6687,'isEnabled'),_0x456ddd['set']({'label':t(_0x3f7eb5?'Footnote':'Insert\x20footnote'),'icon':_0x16f8db,'tooltip':!0x0}),_0x456ddd['on']('execute',()=>{_0x3a6687['execute'](),_0x30e68a['editing']['view']['focus']();}),_0x456ddd;};}
23
+ import{ButtonView as _0x3a8c17,MenuBarMenuListItemButtonView as _0x48acf8}from'ckeditor5/src/ui.js';import{Plugin as _0x1ef913}from'ckeditor5/src/core.js';import{IconFootnote as _0x2784b3}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ef913{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1bebde}=this,{componentFactory:_0x56e474}=_0x1bebde['ui'];_0x56e474['add']('insertFootnote',E(_0x1bebde,_0x3a8c17)),_0x56e474['add']('menuBar:insertFootnote',E(_0x1bebde,_0x48acf8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x983709=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x584115;for(const _0x680913 in _0x983709){const _0x572b18=_0x680913,_0x5ea31c=_0x983709[_0x572b18];if('footnotesLicenseKeyValid'==_0x5ea31c||'footnotesLicenseKeyInvalid'==_0x5ea31c||'footnotesLicenseKeyExpired'==_0x5ea31c||'footnotesLicenseKeyDomainLimit'==_0x5ea31c||'footnotesLicenseKeyNotAllowed'==_0x5ea31c||'footnotesLicenseKeyEvaluationLimit'==_0x5ea31c||'footnotesLicenseKeyUsageLimit'==_0x5ea31c){delete _0x983709[_0x572b18],_0x584115=_0x5ea31c,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x584115&&_0x983709['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x584115&&_0x983709['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x584115&&_0x983709['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x584115&&_0x983709['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x584115&&_0x983709['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x584115&&_0x983709['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x629cb,_0x17165a){const _0x413385=_0x629cb['commands']['get']('insertFootnote');return _0x4ee7e7=>{const {t:t}=_0x4ee7e7,_0x5c2986=new _0x17165a(_0x4ee7e7),_0x18d426=_0x5c2986 instanceof _0x48acf8;return _0x5c2986['bind']('isEnabled')['to'](_0x413385,'isEnabled'),_0x5c2986['set']({'label':t(_0x18d426?'Footnote':'Insert\x20footnote'),'icon':_0x2784b3,'tooltip':!0x0}),_0x5c2986['on']('execute',()=>{_0x413385['execute'](),_0x629cb['editing']['view']['focus']();}),_0x5c2986;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2288(_0x1ba7a9,_0x49fafb){var _0x295777=_0x2957();return _0x2288=function(_0x228899,_0x478f94){_0x228899=_0x228899-0x1d3;var _0x256457=_0x295777[_0x228899];return _0x256457;},_0x2288(_0x1ba7a9,_0x49fafb);}(function(_0x383453,_0x1eb227){var _0x2c6f11=_0x2288,_0x23cb28=_0x383453();while(!![]){try{var _0x4fbae4=parseInt(_0x2c6f11(0x1d5))/0x1+-parseInt(_0x2c6f11(0x1d4))/0x2+-parseInt(_0x2c6f11(0x1da))/0x3*(-parseInt(_0x2c6f11(0x1db))/0x4)+parseInt(_0x2c6f11(0x1d3))/0x5+-parseInt(_0x2c6f11(0x1d8))/0x6+parseInt(_0x2c6f11(0x1d7))/0x7+parseInt(_0x2c6f11(0x1d9))/0x8*(-parseInt(_0x2c6f11(0x1d6))/0x9);if(_0x4fbae4===_0x1eb227)break;else _0x23cb28['push'](_0x23cb28['shift']());}catch(_0x2ae3c3){_0x23cb28['push'](_0x23cb28['shift']());}}}(_0x2957,0xadb45));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 _0x2957(){var _0xaa8ed2=['486885HzqzZO','20sblgTa','5507370dmmmOH','630406ZcONcz','393281IEqJky','523728KRPpgH','2995664KrXmjc','2214420WpVsPa','184qcStoq'];_0x2957=function(){return _0xaa8ed2;};return _0x2957();}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ function _0x25c5(_0x3ebdff,_0x5f008e){var _0x37a956=_0x37a9();return _0x25c5=function(_0x25c5fd,_0xda55f1){_0x25c5fd=_0x25c5fd-0x15a;var _0x1cfe97=_0x37a956[_0x25c5fd];return _0x1cfe97;},_0x25c5(_0x3ebdff,_0x5f008e);}(function(_0x2f4422,_0x2f9bb0){var _0x2ee4db=_0x25c5,_0x4b20e2=_0x2f4422();while(!![]){try{var _0x3d5b7d=-parseInt(_0x2ee4db(0x15c))/0x1*(parseInt(_0x2ee4db(0x15d))/0x2)+-parseInt(_0x2ee4db(0x15b))/0x3*(-parseInt(_0x2ee4db(0x15e))/0x4)+parseInt(_0x2ee4db(0x15a))/0x5+-parseInt(_0x2ee4db(0x160))/0x6+-parseInt(_0x2ee4db(0x162))/0x7+-parseInt(_0x2ee4db(0x161))/0x8+parseInt(_0x2ee4db(0x15f))/0x9;if(_0x3d5b7d===_0x2f9bb0)break;else _0x4b20e2['push'](_0x4b20e2['shift']());}catch(_0x20ab6f){_0x4b20e2['push'](_0x4b20e2['shift']());}}}(_0x37a9,0xcaa46));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';function _0x37a9(){var _0x251da1=['9794568SckUfB','9098313JWhmNX','1164885JnUZiw','9tgfaaw','1468559fajgwU','2LUkYND','1349044FXfYxS','32994135BxKOdU','528684dBMiUN'];_0x37a9=function(){return _0x251da1;};return _0x37a9();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b5d(){const _0x51f505=['getChanges','11270286irrdhJ','_getElementKey','_trackedElements','getItems','2307584yuOkNF','set','from','rootName','115hvLzbI','attributes','elementName','$graveyard','position','91356QoUdKO','name','type','get','$text','_model','reset','_elementName','insert','1329Xcktrs','length','values','createRangeOn','1906RNwltz','slice','2840306ELmPSb','remove','clear','589329YJIpjt','nodeAfter','push','root','3375884arEeYi','element','flat','add','delete','getElementKey','has'];_0x2b5d=function(){return _0x51f505;};return _0x2b5d();}const _0x142165=_0x374c;function _0x374c(_0x4534e8,_0x22f662){const _0x2b5d64=_0x2b5d();return _0x374c=function(_0x374c7e,_0x28b28d){_0x374c7e=_0x374c7e-0x65;let _0x5606d1=_0x2b5d64[_0x374c7e];return _0x5606d1;},_0x374c(_0x4534e8,_0x22f662);}(function(_0x1c9219,_0x1f9fd0){const _0x2ab6cc=_0x374c,_0x58152e=_0x1c9219();while(!![]){try{const _0x26850a=-parseInt(_0x2ab6cc(0x7a))/0x1+-parseInt(_0x2ab6cc(0x75))/0x2*(-parseInt(_0x2ab6cc(0x71))/0x3)+parseInt(_0x2ab6cc(0x7e))/0x4+-parseInt(_0x2ab6cc(0x8e))/0x5*(-parseInt(_0x2ab6cc(0x68))/0x6)+parseInt(_0x2ab6cc(0x77))/0x7+parseInt(_0x2ab6cc(0x8a))/0x8+-parseInt(_0x2ab6cc(0x86))/0x9;if(_0x26850a===_0x1f9fd0)break;else _0x58152e['push'](_0x58152e['shift']());}catch(_0x1c6973){_0x58152e['push'](_0x58152e['shift']());}}}(_0x2b5d,0x727eb));export class ModelElementTracker{[_0x142165(0x6d)];[_0x142165(0x6f)];[_0x142165(0x87)];[_0x142165(0x88)]=new Map();constructor(_0x32ca3c,_0x347b6c){const _0x160f21=_0x142165;this[_0x160f21(0x6d)]=_0x32ca3c,this[_0x160f21(0x6f)]=_0x347b6c[_0x160f21(0x65)],this[_0x160f21(0x87)]=_0x347b6c[_0x160f21(0x83)];}[_0x142165(0x6e)](){const _0x29a4cb=_0x142165;this[_0x29a4cb(0x88)][_0x29a4cb(0x79)]();}[_0x142165(0x85)](_0x466572){const _0x5177d9=_0x142165,_0x3151bc=new Set(),_0x53920c=new Map();for(const _0x406056 of _0x466572){if(_0x5177d9(0x70)===_0x406056[_0x5177d9(0x6a)]&&_0x5177d9(0x6c)!==_0x406056[_0x5177d9(0x69)]&&_0x406056[_0x5177d9(0x67)][_0x5177d9(0x7b)]){const _0x220435=this[_0x5177d9(0x6d)][_0x5177d9(0x74)](_0x406056[_0x5177d9(0x67)][_0x5177d9(0x7b)]);for(const _0x4340c9 of _0x220435[_0x5177d9(0x89)]()){if(!_0x4340c9['is'](_0x5177d9(0x7f),this[_0x5177d9(0x6f)]))continue;const _0xe62e84=this[_0x5177d9(0x87)](_0x4340c9);_0x53920c[_0x5177d9(0x84)](_0xe62e84)||_0x53920c[_0x5177d9(0x8b)](_0xe62e84,[]),_0x53920c[_0x5177d9(0x6b)](_0xe62e84)[_0x5177d9(0x7c)](_0x4340c9);}}if(_0x5177d9(0x78)===_0x406056[_0x5177d9(0x6a)]&&_0x406056[_0x5177d9(0x69)]===this[_0x5177d9(0x6f)]){const _0x4e0659=this[_0x5177d9(0x87)]({'getAttribute':_0x4e795b=>_0x406056[_0x5177d9(0x8f)][_0x5177d9(0x6b)](_0x4e795b)});_0x3151bc[_0x5177d9(0x81)](_0x4e0659);}}for(const [_0x42318e,_0x5d6da5]of this[_0x5177d9(0x88)])_0x5177d9(0x66)===_0x5d6da5[_0x5177d9(0x7d)][_0x5177d9(0x8d)]&&_0x3151bc[_0x5177d9(0x81)](_0x42318e);for(const _0x3faf54 of _0x3151bc)this[_0x5177d9(0x88)][_0x5177d9(0x82)](_0x3faf54);for(const [_0x41e4e7,_0x33ac48]of _0x53920c)this[_0x5177d9(0x88)][_0x5177d9(0x8b)](_0x41e4e7,_0x33ac48[_0x33ac48[_0x5177d9(0x72)]-0x1]);const _0x52ae2c=new Set();for(const [_0x3c4231,_0x3296f9]of _0x53920c)_0x3151bc[_0x5177d9(0x84)](_0x3c4231)&&(_0x52ae2c[_0x5177d9(0x81)](_0x3296f9[0x0]),_0x3296f9[_0x5177d9(0x72)]>0x1?_0x53920c[_0x5177d9(0x8b)](_0x3c4231,_0x3296f9[_0x5177d9(0x76)](0x1)):_0x53920c[_0x5177d9(0x82)](_0x3c4231),_0x3151bc[_0x5177d9(0x82)](_0x3c4231));return{'removed':Array[_0x5177d9(0x8c)](_0x3151bc),'inserted':Array[_0x5177d9(0x8c)](_0x53920c[_0x5177d9(0x73)]())[_0x5177d9(0x80)](),'moved':Array[_0x5177d9(0x8c)](_0x52ae2c)};}}
23
+ const _0x3572d4=_0x1f62;function _0x1f62(_0x5882d1,_0x2ce1c8){const _0x43bdcf=_0x43bd();return _0x1f62=function(_0x1f6237,_0x3f3b4f){_0x1f6237=_0x1f6237-0xb1;let _0x6dd99a=_0x43bdcf[_0x1f6237];return _0x6dd99a;},_0x1f62(_0x5882d1,_0x2ce1c8);}function _0x43bd(){const _0xbee741=['4079IeNNfx','210776uNFVlc','insert','set','_model','rootName','remove','_getElementKey','slice','6CfDJxL','142NiMtyg','_trackedElements','getElementKey','$text','length','nodeAfter','type','get','elementName','flat','getItems','_elementName','from','add','97375ZkquOF','createRangeOn','delete','reset','getChanges','1304103XMHUHd','213458LECQZQ','root','values','position','name','element','2203752DmVCSE','clear','5862807orGFHe','attributes','push','has','$graveyard'];_0x43bd=function(){return _0xbee741;};return _0x43bd();}(function(_0x4f0aed,_0x3e74b0){const _0x49f61f=_0x1f62,_0x2bd5f3=_0x4f0aed();while(!![]){try{const _0x1526eb=parseInt(_0x49f61f(0xda))/0x1*(parseInt(_0x49f61f(0xb9))/0x2)+parseInt(_0x49f61f(0xcc))/0x3+-parseInt(_0x49f61f(0xdb))/0x4+parseInt(_0x49f61f(0xc7))/0x5*(-parseInt(_0x49f61f(0xb8))/0x6)+parseInt(_0x49f61f(0xcd))/0x7+parseInt(_0x49f61f(0xd3))/0x8+-parseInt(_0x49f61f(0xd5))/0x9;if(_0x1526eb===_0x3e74b0)break;else _0x2bd5f3['push'](_0x2bd5f3['shift']());}catch(_0x2960f5){_0x2bd5f3['push'](_0x2bd5f3['shift']());}}}(_0x43bd,0x4adf9));export class ModelElementTracker{[_0x3572d4(0xb3)];[_0x3572d4(0xc4)];[_0x3572d4(0xb6)];[_0x3572d4(0xba)]=new Map();constructor(_0x2b8745,_0x3614c8){const _0xac4ae7=_0x3572d4;this[_0xac4ae7(0xb3)]=_0x2b8745,this[_0xac4ae7(0xc4)]=_0x3614c8[_0xac4ae7(0xc1)],this[_0xac4ae7(0xb6)]=_0x3614c8[_0xac4ae7(0xbb)];}[_0x3572d4(0xca)](){const _0x2c3124=_0x3572d4;this[_0x2c3124(0xba)][_0x2c3124(0xd4)]();}[_0x3572d4(0xcb)](_0x1424e0){const _0x3f6d0c=_0x3572d4,_0x4eb41b=new Set(),_0x5f1310=new Map();for(const _0x4c3822 of _0x1424e0){if(_0x3f6d0c(0xb1)===_0x4c3822[_0x3f6d0c(0xbf)]&&_0x3f6d0c(0xbc)!==_0x4c3822[_0x3f6d0c(0xd1)]&&_0x4c3822[_0x3f6d0c(0xd0)][_0x3f6d0c(0xbe)]){const _0x1edd47=this[_0x3f6d0c(0xb3)][_0x3f6d0c(0xc8)](_0x4c3822[_0x3f6d0c(0xd0)][_0x3f6d0c(0xbe)]);for(const _0x449b7e of _0x1edd47[_0x3f6d0c(0xc3)]()){if(!_0x449b7e['is'](_0x3f6d0c(0xd2),this[_0x3f6d0c(0xc4)]))continue;const _0x4f501a=this[_0x3f6d0c(0xb6)](_0x449b7e);_0x5f1310[_0x3f6d0c(0xd8)](_0x4f501a)||_0x5f1310[_0x3f6d0c(0xb2)](_0x4f501a,[]),_0x5f1310[_0x3f6d0c(0xc0)](_0x4f501a)[_0x3f6d0c(0xd7)](_0x449b7e);}}if(_0x3f6d0c(0xb5)===_0x4c3822[_0x3f6d0c(0xbf)]&&_0x4c3822[_0x3f6d0c(0xd1)]===this[_0x3f6d0c(0xc4)]){const _0x20dddd=this[_0x3f6d0c(0xb6)]({'getAttribute':_0x14a5f4=>_0x4c3822[_0x3f6d0c(0xd6)][_0x3f6d0c(0xc0)](_0x14a5f4)});_0x4eb41b[_0x3f6d0c(0xc6)](_0x20dddd);}}for(const [_0x52093f,_0x5f3e9e]of this[_0x3f6d0c(0xba)])_0x3f6d0c(0xd9)===_0x5f3e9e[_0x3f6d0c(0xce)][_0x3f6d0c(0xb4)]&&_0x4eb41b[_0x3f6d0c(0xc6)](_0x52093f);for(const _0x28ba52 of _0x4eb41b)this[_0x3f6d0c(0xba)][_0x3f6d0c(0xc9)](_0x28ba52);for(const [_0x5a5a66,_0x582c14]of _0x5f1310)this[_0x3f6d0c(0xba)][_0x3f6d0c(0xb2)](_0x5a5a66,_0x582c14[_0x582c14[_0x3f6d0c(0xbd)]-0x1]);const _0x3b85dd=new Set();for(const [_0x27c4a8,_0xeb147d]of _0x5f1310)_0x4eb41b[_0x3f6d0c(0xd8)](_0x27c4a8)&&(_0x3b85dd[_0x3f6d0c(0xc6)](_0xeb147d[0x0]),_0xeb147d[_0x3f6d0c(0xbd)]>0x1?_0x5f1310[_0x3f6d0c(0xb2)](_0x27c4a8,_0xeb147d[_0x3f6d0c(0xb7)](0x1)):_0x5f1310[_0x3f6d0c(0xc9)](_0x27c4a8),_0x4eb41b[_0x3f6d0c(0xc9)](_0x27c4a8));return{'removed':Array[_0x3f6d0c(0xc5)](_0x4eb41b),'inserted':Array[_0x3f6d0c(0xc5)](_0x5f1310[_0x3f6d0c(0xcf)]())[_0x3f6d0c(0xc2)](),'moved':Array[_0x3f6d0c(0xc5)](_0x3b85dd)};}}