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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x34a94b}from'ckeditor5/src/core.js';import{isWidget as _0x17ec92,toWidget as _0x4fba2b,toWidgetEditable as _0x18ea02}from'ckeditor5/src/widget.js';import{uid as _0x54f713}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4eaded,ClickObserver as _0x31fbc5}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x129ff0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x6734a4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x34a94b{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x129ff0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x239aca}=this;_0x239aca['config']['define']('footnotes.multiBlock',!0x0),_0x239aca['commands']['add']('insertFootnote',new _0x6734a4(_0x239aca)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2ea20e){const _0x208920=_0x4d2d52([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]),_0x37b525=0x47a28506,_0x2f91ee=0x47a5fd56^_0x37b525,_0x3f033c=window[_0x4d2d52([0x44,0x61,0x74,0x65])][_0x4d2d52([0x6e,0x6f,0x77])](),_0x5cdbe5=_0x2ea20e[_0x4d2d52([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1d7b63=new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x133d7b=>{_0x5cdbe5[_0x4d2d52([0x6f,0x6e,0x63,0x65])](_0x4d2d52([0x72,0x65,0x61,0x64,0x79]),_0x133d7b);}),_0x3e5d39={[_0x4d2d52([0x6b,0x74,0x79])]:_0x4d2d52([0x45,0x43]),[_0x4d2d52([0x75,0x73,0x65])]:_0x4d2d52([0x73,0x69,0x67]),[_0x4d2d52([0x63,0x72,0x76])]:_0x4d2d52([0x50,0x2d,0x32,0x35,0x36]),[_0x4d2d52([0x78])]:_0x4d2d52([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]),[_0x4d2d52([0x79])]:_0x4d2d52([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]),[_0x4d2d52([0x61,0x6c,0x67])]:_0x4d2d52([0x45,0x53,0x32,0x35,0x36])},_0x527166=_0x5cdbe5[_0x4d2d52([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4d2d52([0x67,0x65,0x74])](_0x4d2d52([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1da09b(){let _0x53220f,_0x55de80=null,_0x530514=null;try{if(_0x527166==_0x4d2d52([0x47,0x50,0x4c]))return _0x4d2d52([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x53220f=_0x53c549(),!_0x53220f)return _0x4d2d52([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x53220f[_0x4d2d52([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x530514=_0x44dfe8(_0x53220f[_0x4d2d52([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x53220f[_0x4d2d52([0x6a,0x74,0x69])])),await _0x15fcb()?_0x41c9ef()?_0x209ec8()?_0x4d2d52([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2532c3()?(_0x53220f[_0x4d2d52([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d2d52([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55de80=_0x42a735(_0x4d2d52([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x53220f[_0x4d2d52([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4d2d52([0x74,0x72,0x69,0x61,0x6c])&&(_0x55de80=_0x42a735(_0x4d2d52([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xed8d0a()):_0x4d2d52([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4d2d52([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4d2d52([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4d2d52([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x209ec8(){const _0xb5c078=[_0x4d2d52([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4d2d52([0x74,0x72,0x69,0x61,0x6c])][_0x4d2d52([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x53220f[_0x4d2d52([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3f033c/0x3e8:0xe10*_0x2f91ee;return _0x53220f[_0x4d2d52([0x65,0x78,0x70])]<_0xb5c078;}function _0x41c9ef(){const _0x48f93e=_0x53220f[_0x4d2d52([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x48f93e&&(!!_0x48f93e[_0x4d2d52([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2d52([0x2a]))||!!_0x48f93e[_0x4d2d52([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2d52([0x46,0x4f,0x4f])));}function _0x2532c3(){const _0x117282=_0x53220f[_0x4d2d52([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x117282||0x0==_0x117282[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4c8d42}=new URL(window[_0x4d2d52([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x117282[_0x4d2d52([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4c8d42))return!0x0;const _0x4fb59c=_0x4c8d42[_0x4d2d52([0x73,0x70,0x6c,0x69,0x74])](_0x4d2d52([0x2e]));return _0x117282[_0x4d2d52([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3b88a9=>_0x3b88a9[_0x4d2d52([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4d2d52([0x2a])))[_0x4d2d52([0x6d,0x61,0x70])](_0x5d05e2=>_0x5d05e2[_0x4d2d52([0x73,0x70,0x6c,0x69,0x74])](_0x4d2d52([0x2e])))[_0x4d2d52([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5a3203=>_0x5a3203[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x4fb59c[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d2d52([0x6d,0x61,0x70])](_0x269b38=>Array(_0x4fb59c[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x269b38[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4d2d52([0x66,0x69,0x6c,0x6c])](_0x269b38[0x0]===_0x4d2d52([0x2a])?_0x4d2d52([0x2a]):'')[_0x4d2d52([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x269b38))[_0x4d2d52([0x73,0x6f,0x6d,0x65])](_0xc26e02=>_0x4fb59c[_0x4d2d52([0x65,0x76,0x65,0x72,0x79])]((_0x16b3e4,_0x3d0826)=>_0xc26e02[_0x3d0826]===_0x16b3e4||_0xc26e02[_0x3d0826]===_0x4d2d52([0x2a])));}function _0xed8d0a(){return _0x55de80&&_0x530514?new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5e90d7,_0x1c20fe)=>{_0x55de80[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x5e90d7,_0x1c20fe),_0x530514[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x3d9122=>{_0x3d9122!=_0x4d2d52([0x56,0x61,0x6c,0x69,0x64])&&_0x5e90d7(_0x3d9122);},_0x1c20fe);}):_0x55de80||_0x530514||_0x4d2d52([0x56,0x61,0x6c,0x69,0x64]);}}function _0x44dfe8(_0xdfb550,_0x8dbd43){return new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a6459=>{if(_0x172b05())return _0x3a6459(_0x4d2d52([0x56,0x61,0x6c,0x69,0x64]));_0x1cc201(),_0x5cdbe5[_0x4d2d52([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4d2d52([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x5ee321=!0x1;const _0x1a4c29=_0x54f713();function _0x3b93ac(_0x41cc9d){return!!_0x41cc9d&&(typeof _0x41cc9d===_0x4d2d52([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x41cc9d===_0x4d2d52([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x41cc9d[_0x4d2d52([0x74,0x68,0x65,0x6e])]===_0x4d2d52([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x41cc9d[_0x4d2d52([0x63,0x61,0x74,0x63,0x68])]===_0x4d2d52([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5c0830(_0x4a6ec1){_0xaf1d9c(_0x4a6ec1)[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x4064e3=>{if(!_0x4064e3||_0x4064e3[_0x4d2d52([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4d2d52([0x6f,0x6b]))return _0x4d2d52([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3d4002(_0x4cf5f3(_0x1a4c29+_0x8dbd43))!=_0x4064e3[_0x4d2d52([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4d2d52([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4d2d52([0x56,0x61,0x6c,0x69,0x64]);})[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x314804=>(_0x3bb15e(),_0x314804),()=>{const _0x4f51a3=_0x1c5e20();return null==_0x4f51a3?(_0x3bb15e(),_0x4d2d52([0x56,0x61,0x6c,0x69,0x64])):_0x4d2d52(_0x3f033c-_0x4f51a3>(0x63ae0106^_0x37b525)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x3a6459)[_0x4d2d52([0x63,0x61,0x74,0x63,0x68])](()=>{_0x3a6459(_0x4d2d52([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3c570d=0x47946b86^_0x37b525;function _0x3bb15e(){const _0x4094a0=_0x4d2d52([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4002(_0x4cf5f3(_0xdfb550)),_0x25db8b=_0x188c05(_0x3d4002(window[_0x4d2d52([0x4d,0x61,0x74,0x68])][_0x4d2d52([0x63,0x65,0x69,0x6c])](_0x3f033c/_0x3c570d)));window[_0x4d2d52([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d2d52([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4094a0,_0x25db8b);}function _0x1c5e20(){const _0x49fe6d=_0x4d2d52([0x6c,0x6c,0x63,0x74,0x2d])+_0x3d4002(_0x4cf5f3(_0xdfb550)),_0x5c460=window[_0x4d2d52([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4d2d52([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x49fe6d);return _0x5c460?window[_0x4d2d52([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x188c05(_0x5c460),0x10)*_0x3c570d:null;}function _0xaf1d9c(_0x592507){return new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5b833b,_0x4800d1)=>{_0x592507[_0x4d2d52([0x74,0x68,0x65,0x6e])](_0x5b833b,_0x4800d1),window[_0x4d2d52([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4800d1,0x47a351c6^_0x37b525);});}}_0x5cdbe5[_0x4d2d52([0x6f,0x6e])](_0x4d2d52([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5c215c,_0x51a28c)=>{if(_0x51a28c[0x0]!=_0xdfb550)return _0x3a6459(_0x4d2d52([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x51a28c[0x1]={..._0x51a28c[0x1],[_0x4d2d52([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1a4c29};},{[_0x4d2d52([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d2d52([0x68,0x69,0x67,0x68])}),_0x5cdbe5[_0x4d2d52([0x6f,0x6e])](_0x4d2d52([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2a0500=>{_0x3b93ac(_0x2a0500[_0x4d2d52([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x5ee321=!0x0,_0x5c0830(_0x2a0500[_0x4d2d52([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4d2d52([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4d2d52([0x6c,0x6f,0x77])}),_0x1d7b63[_0x4d2d52([0x74,0x68,0x65,0x6e])](()=>{_0x5ee321||_0x3a6459(_0x4d2d52([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x172b05(){return _0x5cdbe5[_0x4d2d52([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d2d52([0x76,0x69,0x65,0x77])][_0x4d2d52([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4d2d52([0x61,0x75,0x74,0x6f]);}function _0x1cc201(){_0x5cdbe5[_0x4d2d52([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4d2d52([0x76,0x69,0x65,0x77])][_0x4d2d52([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4d2d52([0x61,0x75,0x74,0x6f]);}}function _0x42a735(_0x4b129a){const _0x3e3acf=[new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3845b4=>setTimeout(_0x3845b4,0x47abbbca^_0x37b525)),_0x1d7b63[_0x4d2d52([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5556fe=>{let _0x28332c=0x0;_0x5cdbe5[_0x4d2d52([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2d52([0x6f,0x6e])](_0x4d2d52([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x383ffc,_0x2ea9a7)=>{_0x2ea9a7[0x0][_0x4d2d52([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x28332c++,_0x28332c==(0x47a284fe^_0x37b525)&&(_0x5556fe(),_0x383ffc[_0x4d2d52([0x6f,0x66,0x66])]());});}))];return window[_0x4d2d52([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4d2d52([0x72,0x61,0x63,0x65])](_0x3e3acf)[_0x4d2d52([0x74,0x68,0x65,0x6e])](()=>_0x4b129a);}async function _0x18bb90(){await _0x1d7b63,_0x5cdbe5[_0x4d2d52([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2d52([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3884b2,_0x5cdbe5[_0x4d2d52([0x6d,0x6f,0x64,0x65,0x6c])][_0x4d2d52([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3884b2,_0x5cdbe5[_0x4d2d52([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4d2d52([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x730901(_0x2e3b54){const _0x517038=_0x1dcb40();_0x5cdbe5[_0x517038]=_0x4d2d52([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x2e3b54,_0x2e3b54!=_0x4d2d52([0x56,0x61,0x6c,0x69,0x64])&&_0x18bb90();}function _0x1dcb40(){const _0x3d358f=window[_0x4d2d52([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4d2d52([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4d2d52([0x6e,0x6f,0x77])]())[_0x4d2d52([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4d2d52([0x2e]),'');let _0x150e48=_0x4d2d52([0x75]);for(let _0x13121b=0x0;_0x13121b<_0x3d358f[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13121b+=0x2){let _0x472acf=window[_0x4d2d52([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3d358f[_0x4d2d52([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13121b,_0x13121b+0x2));_0x472acf>=_0x208920[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x472acf-=_0x208920[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x150e48+=_0x208920[_0x472acf];}return _0x150e48;}function _0x53c549(){const _0xa81297=_0x527166[_0x4d2d52([0x73,0x70,0x6c,0x69,0x74])](_0x4d2d52([0x2e]));if(0x3!=_0xa81297[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1cc870(_0xa81297[0x1]);function _0x1cc870(_0x2d2da9){const _0x37acd9=_0x5513c8(_0x2d2da9);return _0x37acd9&&_0x2c52f7()?_0x37acd9:null;function _0x2c52f7(){const _0x2af6b7=_0x37acd9[_0x4d2d52([0x6a,0x74,0x69])],_0x1dc8f9=window[_0x4d2d52([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2af6b7[_0x4d2d52([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2af6b7[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5e11bf={..._0x37acd9,[_0x4d2d52([0x6a,0x74,0x69])]:_0x2af6b7[_0x4d2d52([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2af6b7[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5e11bf[_0x4d2d52([0x76,0x63])],_0x4cf5f3(_0x5e11bf)==_0x1dc8f9;}}}async function _0x15fcb(){let _0xbd35ae=!0x0;try{const _0x1a2b37=_0x527166[_0x4d2d52([0x73,0x70,0x6c,0x69,0x74])](_0x4d2d52([0x2e])),[_0x5076de,_0x2a3af5,_0x3ec480]=_0x1a2b37;return _0x5b1b75(_0x5076de),await _0x38abb5(_0x5076de,_0x2a3af5,_0x3ec480),_0xbd35ae;}catch{return!0x1;}function _0x5b1b75(_0x55be3f){const _0x2d628d=_0x5513c8(_0x55be3f);_0x2d628d&&_0x2d628d[_0x4d2d52([0x61,0x6c,0x67])]==_0x4d2d52([0x45,0x53,0x32,0x35,0x36])||(_0xbd35ae=!0x1);}async function _0x38abb5(_0x13ec09,_0x1cfbe5,_0x172e15){const _0x5cd739=window[_0x4d2d52([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4d2d52([0x66,0x72,0x6f,0x6d])](_0x42f9e8(_0x172e15),_0x32644a=>_0x32644a[_0x4d2d52([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x47dcb5=new window[(_0x4d2d52([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4d2d52([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x13ec09+_0x4d2d52([0x2e])+_0x1cfbe5),_0x35e7f9=window[_0x4d2d52([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4d2d52([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x35e7f9)return;const _0x9fb1a4=await _0x35e7f9[_0x4d2d52([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4d2d52([0x6a,0x77,0x6b]),_0x3e5d39,{[_0x4d2d52([0x6e,0x61,0x6d,0x65])]:_0x4d2d52([0x45,0x43,0x44,0x53,0x41]),[_0x4d2d52([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4d2d52([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4d2d52([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x35e7f9[_0x4d2d52([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4d2d52([0x6e,0x61,0x6d,0x65])]:_0x4d2d52([0x45,0x43,0x44,0x53,0x41]),[_0x4d2d52([0x68,0x61,0x73,0x68])]:{[_0x4d2d52([0x6e,0x61,0x6d,0x65])]:_0x4d2d52([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x9fb1a4,_0x5cd739,_0x47dcb5)||(_0xbd35ae=!0x1);}}function _0x5513c8(_0x20ef02){return _0x20ef02[_0x4d2d52([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4d2d52([0x65,0x79]))?JSON[_0x4d2d52([0x70,0x61,0x72,0x73,0x65])](_0x42f9e8(_0x20ef02)):null;}function _0x42f9e8(_0x20859d){return window[_0x4d2d52([0x61,0x74,0x6f,0x62])](_0x20859d[_0x4d2d52([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4d2d52([0x2b]))[_0x4d2d52([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4d2d52([0x2f])));}function _0x4cf5f3(_0x3c775e){let _0x1d7834=0x1505;function _0x2557d7(_0x2fd8ad){for(let _0x81b7f9=0x0;_0x81b7f9<_0x2fd8ad[_0x4d2d52([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x81b7f9++){const _0x81856e=_0x2fd8ad[_0x4d2d52([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x81b7f9);_0x1d7834=(_0x1d7834<<0x5)+_0x1d7834+_0x81856e,_0x1d7834&=_0x1d7834;}}function _0x464dfc(_0x404341){Array[_0x4d2d52([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x404341)?_0x404341[_0x4d2d52([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x464dfc):_0x404341&&typeof _0x404341==_0x4d2d52([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4d2d52([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x404341)[_0x4d2d52([0x73,0x6f,0x72,0x74])]()[_0x4d2d52([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1a13dc,_0x13af43])=>{_0x2557d7(_0x1a13dc),_0x464dfc(_0x13af43);}):_0x2557d7(window[_0x4d2d52([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x404341));}return _0x464dfc(_0x3c775e),_0x1d7834>>>0x0;}function _0x3d4002(_0x458e5e){return _0x458e5e[_0x4d2d52([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4d2d52([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4d2d52([0x30]));}function _0x188c05(_0x2efc4d){return _0x2efc4d[_0x4d2d52([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4d2d52([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4d2d52([0x6a,0x6f,0x69,0x6e])]('');}function _0x3884b2(){}function _0x4d2d52(_0x3b7ab6){return _0x3b7ab6['map'](_0xc87da1=>String['fromCharCode'](_0xc87da1))['join']('');}_0x730901(await _0x1da09b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x495718){const {plugins:_0x58c29b,editing:_0x3797a6,model:_0x30df5f}=this['editor'],_0x154949=_0x58c29b['get'](_0x129ff0)['getFootnote'](_0x495718);return!!_0x154949&&(_0x30df5f['change'](_0x34754c=>{_0x34754c['setSelection'](_0x34754c['createPositionAt'](_0x154949['definition'],'end'));}),_0x3797a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5d445f){const {plugins:_0x54728c,editing:_0x10a2e8,model:_0x175f58}=this['editor'],_0x364070=_0x54728c['get'](_0x129ff0)['getFootnote'](_0x5d445f);return!!_0x364070&&(_0x175f58['change'](_0x1bf9b1=>{_0x1bf9b1['setSelection'](_0x364070['reference'],'on');}),_0x10a2e8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x44fe64}=this['editor']['model'],_0x290589=this['editor']['config']['get']('footnotes.multiBlock');_0x44fe64['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x44fe64['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x44fe64['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x290589?_0x44fe64['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x44fe64['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x44fe64['addChildCheck'](_0x38eaf2=>{for(const _0x876c5a of _0x38eaf2)if('footnoteDefinition'===_0x876c5a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x57bd81}=this,{conversion:_0x441b33,editing:_0x5f0d20}=_0x57bd81,{t:t}=_0x57bd81['locale'];_0x441b33['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x365c08,{writer:_0xd15d1e,consumable:_0xb70918})=>{const _0x4f5514=_0x365c08['getChild'](0x0);if(!_0x4f5514||!_0x4f5514['is']('element','a'))return null;const _0x322bc6=_0x4f5514['getAttribute']('href')||'';if(!_0x322bc6['startsWith']('#'))return null;const _0x42b3bd=_0x322bc6['replace'](/^#/,'');if(!_0x42b3bd)return null;_0xb70918['consume'](_0x4f5514,{'name':!0x0,'attributes':['href']});for(const {item:_0x53c20b}of _0x5f0d20['view']['createRangeIn'](_0x4f5514))_0x53c20b['is']('$textProxy')?_0xb70918['consume'](_0x53c20b['textNode'],{'name':!0x0}):_0x53c20b['is']('element')&&_0xb70918['consume'](_0x53c20b,{'name':!0x0});return _0xd15d1e['createElement']('footnoteRef',{'footnoteId':_0x42b3bd});}}),_0x441b33['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b4245,{writer:_0x10115f})=>D(_0x5b4245,_0x10115f)}),_0x441b33['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1b31da,{writer:_0x5037a2})=>{const _0x114b9d=_0x1b31da['getAttribute']('footnoteCounter');return _0x4fba2b(D(_0x1b31da,_0x5037a2),_0x5037a2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x114b9d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4ba20c}=this,{t:t}=_0x4ba20c['locale'],{conversion:_0x1d0a22}=_0x4ba20c;_0x1d0a22['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1d0a22['for']('upcast')['add'](_0x52dc70=>{_0x52dc70['on']('element:ol',(_0x2ad31d,_0x13276d,_0x533708)=>{const _0x11268a=_0x13276d['viewItem'];if(!_0x11268a['hasClass']('footnotes-list')||!_0x13276d['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x533708['consumable']['consume'](_0x11268a,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1d7f72,modelCursor:_0x4a585e}=_0x533708['convertChildren'](_0x13276d['viewItem'],_0x13276d['modelCursor']);_0x13276d['modelRange']=_0x1d7f72,_0x13276d['modelCursor']=_0x4a585e;}),_0x52dc70['on']('element:hr',(_0x9294a7,_0x1f2a3b,_0xe45cc8)=>{const _0x321aac=_0x1f2a3b['viewItem'];_0x321aac['hasClass']('footnotes-divider')&&_0x1f2a3b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xe45cc8['consumable']['consume'](_0x321aac,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1d0a22['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4c2690,{writer:_0x3448cd})=>v(_0x3448cd)}),_0x1d0a22['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x29a991,{writer:_0x14694b})=>{const _0x40a6d5=v(_0x14694b,{'data-footnotes-list-label':t('Footnotes')}),_0x5d4845=_0x4fba2b(_0x40a6d5,_0x14694b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x14694b['setCustomProperty']('footnotesDefinitions',!0x0,_0x5d4845),_0x5d4845;}});}['_defineDefinitionConverters'](){const {editor:_0x6033c}=this,{conversion:_0x5a4913,locale:_0x450ced}=_0x6033c,_0x4415f4=_0x6033c['config']['get']('footnotes.multiBlock');_0x5a4913['for']('upcast')['add'](_0x417021=>{_0x417021['on']('element:li',(_0x51155d,_0x1a7415,_0x393bb8)=>{const _0x6158f8=_0x1a7415['viewItem'];if(!_0x6158f8['hasClass']('footnote-definition')||!_0x6158f8['getAttribute']('id'))return;const _0x57c241=_0x6158f8['parent'];if(!_0x57c241['is']('element','ol')||!_0x57c241['hasClass']('footnotes-list'))return;if(!_0x393bb8['consumable']['test'](_0x6158f8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x13f050=_0x393bb8['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x6158f8['getAttribute']('id')});if(!_0x393bb8['safeInsert'](_0x13f050,_0x1a7415['modelCursor']))return;_0x393bb8['consumable']['consume'](_0x6158f8,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x171661=Array['from'](_0x6158f8['getChildren']())['find'](_0x1f8c97=>_0x1f8c97['is']('element')&&_0x1f8c97['hasClass']('footnote-content'));for(const _0xfdedcb of _0x6158f8['getChildren']())_0xfdedcb['is']('element')&&(_0x393bb8['consumable']['consume'](_0xfdedcb,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x393bb8['consumable']['consume'](_0xfdedcb,{'name':!0x0,'classes':'footnote-content'}));if(_0x171661){if(_0x4415f4)_0x393bb8['convertChildren'](_0x171661,_0x13f050);else{const _0x13c620=_0x393bb8['writer']['createElement']('footnoteInlineContent');_0x393bb8['writer']['insert'](_0x13c620,_0x13f050),_0x393bb8['convertChildren'](_0x171661,_0x13c620);}}_0x393bb8['updateConversionResult'](_0x13f050,_0x1a7415);});}),_0x5a4913['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x40588c,{writer:_0x59bb49})=>b(_0x40588c,_0x59bb49,_0x450ced,{'dataPipeline':!0x0})}),_0x5a4913['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xfeb892,{writer:_0x473309})=>b(_0xfeb892,_0x473309,_0x450ced)});}['_defineBogusParagraphConverters'](){const {editor:_0x47f260}=this,{conversion:_0x527e00}=_0x47f260;_0x47f260['config']['get']('footnotes.multiBlock')?(_0x527e00['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x527e00['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x47f260['model']['document'],'change:data',()=>{!function(_0x244912,_0x5a4f23){const _0x43f8ae=_0x244912['document']['differ'],_0xde9727=new Set();for(const _0x402e53 of _0x43f8ae['getChanges']()){const _0x2d5fa4='attribute'==_0x402e53['type']?_0x402e53['range']['start']['parent']:_0x402e53['position']['parent'];_0x2d5fa4['is']('element','footnoteDefinition')&&_0xde9727['add'](_0x2d5fa4);}for(const _0x31ee79 of _0xde9727['values']()){const _0x490f89=Array['from'](_0x31ee79['getChildren']())['filter'](_0x1519c3=>g(_0x1519c3,_0x5a4f23['mapper']));for(const _0x167e59 of _0x490f89)_0x5a4f23['reconvertItem'](_0x167e59);}}(_0x47f260['model'],_0x47f260['editing']);})):(_0x527e00['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x527e00['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4b207c,{writer:_0x9d957c})=>{const _0x462900=_0x9d957c['createContainerElement']('span');return _0x9d957c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x462900),_0x462900;}}));}['_defineKeyboardHandlers'](){const {editor:_0x32f1d8}=this,{editing:_0x3852d5,t:t}=_0x32f1d8,_0x592c16=_0x32f1d8['model']['document']['selection'];_0x32f1d8['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x32f1d8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3852d5['view']['document'],'enter',(_0x1cb17d,_0x3f97c7)=>{const _0x2f176c=function(_0x4f25c0){const _0x1787c6=_0x4f25c0['getSelectedElement']();if(_0x1787c6?.['is']('element','footnoteRef'))return _0x1787c6;return null;}(_0x592c16);if(_0x2f176c){const _0x2ab12f=_0x2f176c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2ab12f),_0x3f97c7['preventDefault'](),_0x1cb17d['stop']();}},{'context':_0x17ec92});}['_defineClickHandlers'](){const {editor:_0x347912}=this,{editing:_0x4d825a}=_0x347912;_0x347912['editing']['view']['addObserver'](_0x4eaded),_0x347912['editing']['view']['addObserver'](_0x31fbc5);let _0x303590=!0x1;this['listenTo'](_0x4d825a['view']['document'],'pointerdown',(_0x5b07db,_0x28ec09)=>{const {target:_0x44e643}=_0x28ec09,_0x5030fa=_0x4d825a['view']['document']['selection'];_0x303590=!!(_0x44e643?.['is']('element','a')&&_0x44e643['parent']?.['is']('element','sup')&&_0x44e643['parent']['hasClass']('footnote'))&&_0x5030fa['getSelectedElement']()===_0x44e643['parent'];},{'priority':'high'}),this['listenTo'](_0x4d825a['view']['document'],'click',(_0x3295a8,_0x101d3a)=>{const {target:_0x4c0dc0}=_0x101d3a;if(!_0x4c0dc0?.['is']('element','a'))return;if(_0x4c0dc0['parent']?.['is']('element','sup')&&_0x4c0dc0['parent']['hasClass']('footnote')&&!_0x303590)return void _0x101d3a['preventDefault']();let _0x2a98a2=_0x4c0dc0['getAttribute']('href');if(!_0x2a98a2?.['startsWith']('#'))return;_0x2a98a2=_0x2a98a2['slice'](0x1);let _0x5e13e7=!0x1;(_0x2a98a2['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2a98a2['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2a98a2))&&(_0x5e13e7=!0x0),_0x5e13e7&&(_0x101d3a['preventDefault'](),_0x3295a8['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4af4cd}={}){return(_0xe5b409,{writer:_0x3f381e})=>{if(!p(_0xe5b409))return null;if(!_0x4af4cd)return _0x3f381e['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x294a2b=_0x3f381e['createContainerElement']('p');return _0x3f381e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x294a2b),_0x294a2b;};}function p(_0x5cf232){const {parent:_0x483069}=_0x5cf232;if(!_0x483069?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x483069['childCount'])return!0x1;for(const _0x5c5eb7 of _0x5cf232['getAttributeKeys']())if(!_0x5c5eb7['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5c5eb7)return!0x1;return!0x0;}function g(_0x16254f,_0x4eef1b){if(!_0x16254f['is']('element','paragraph'))return!0x1;const _0x2f418b=_0x4eef1b['toViewElement'](_0x16254f);return!!_0x2f418b&&p(_0x16254f)!==_0x2f418b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1e851d){return _0x17ec92(_0x1e851d)&&_0x1e851d['is']('containerElement')&&!!_0x1e851d['getCustomProperty']('footnotesDefinitions');}function v(_0x28749c,_0x2d86c2={}){const _0x3b6b45=_0x28749c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xc910ab=_0x28749c['createContainerElement']('ol',{'class':'footnotes-list'},_0x28749c['createSlot']());return _0x28749c['createContainerElement']('div',{'class':'footnotes',..._0x2d86c2},[_0x3b6b45,_0xc910ab]);}function D(_0x83bdcf,_0x4554e2){const _0xd7864f=_0x83bdcf['getAttribute']('footnoteId'),_0x59cd28=_0x83bdcf['getAttribute']('footnoteCounter'),_0xe9b457=_0x4554e2['createUIElement']('a',{'href':'#'+_0xd7864f},function(_0x2da5e7){const _0x15e851=this['toDomElement'](_0x2da5e7);return _0x15e851['textContent']=_0x59cd28,_0x15e851;}),_0xc9793=_0x4554e2['createContainerElement']('sup',{'id':'ref-'+_0xd7864f,'class':'footnote'},[_0xe9b457]);return _0xc9793['getFillerOffset']=()=>null,_0xc9793;}function b(_0x2c912e,_0x938144,_0x2f5777,{dataPipeline:_0x5a92ea}={}){const {t:t}=_0x2f5777,_0x803fd1=_0x2c912e['getAttribute']('footnoteId'),_0xe264bf=_0x938144['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x803fd1},function(_0x22a589){const _0x5322d7=this['toDomElement'](_0x22a589);return _0x5322d7['innerText']='^',_0x5322d7;}),_0x25e2f3=_0x5a92ea?_0x938144['createContainerElement']('div',{'class':'footnote-content'}):_0x18ea02(_0x938144['createEditableElement']('div',{'class':'footnote-content'}),_0x938144,{'label':t('Footnote\x20content.')});return _0x938144['insert'](_0x938144['createPositionAt'](_0x25e2f3,0x0),_0x938144['createSlot']()),_0x938144['createContainerElement']('li',{'class':'footnote-definition','id':_0x803fd1},[_0xe264bf,_0x25e2f3]);}
23
+ import{Plugin as _0x53c4b2}from'ckeditor5/src/core.js';import{isWidget as _0x11be63,toWidget as _0x205a54,toWidgetEditable as _0x2b40b7}from'ckeditor5/src/widget.js';import{uid as _0x27132c}from'ckeditor5/src/utils.js';import{PointerObserver as _0xd93072,ClickObserver as _0x281dc3}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x202ea0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3a8d2b}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x53c4b2{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x202ea0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59714f}=this;_0x59714f['config']['define']('footnotes.multiBlock',!0x0),_0x59714f['commands']['add']('insertFootnote',new _0x3a8d2b(_0x59714f)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x44b712){const _0x3ad61e=_0x36c72a([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x474076=0x47a28506,_0x455dbc=0x47a5fd6e^_0x474076,_0x5e3e81=window[_0x36c72a([0x44,0x61,0x74,0x65])][_0x36c72a([0x6e,0x6f,0x77])](),_0x8848e1=_0x44b712[_0x36c72a([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x84c6c0=new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5abb7d=>{_0x8848e1[_0x36c72a([0x6f,0x6e,0x63,0x65])](_0x36c72a([0x72,0x65,0x61,0x64,0x79]),_0x5abb7d);}),_0x3019c9={[_0x36c72a([0x6b,0x74,0x79])]:_0x36c72a([0x45,0x43]),[_0x36c72a([0x75,0x73,0x65])]:_0x36c72a([0x73,0x69,0x67]),[_0x36c72a([0x63,0x72,0x76])]:_0x36c72a([0x50,0x2d,0x32,0x35,0x36]),[_0x36c72a([0x78])]:_0x36c72a([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x36c72a([0x79])]:_0x36c72a([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x36c72a([0x61,0x6c,0x67])]:_0x36c72a([0x45,0x53,0x32,0x35,0x36])},_0x50d323=_0x8848e1[_0x36c72a([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x36c72a([0x67,0x65,0x74])](_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3b2419(){let _0x3b4468,_0x55bef7=null,_0x1476b8=null;try{if(_0x50d323==_0x36c72a([0x47,0x50,0x4c]))return _0x36c72a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3b4468=_0x19c5ee(),!_0x3b4468)return _0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3b4468[_0x36c72a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1476b8=_0x356838(_0x3b4468[_0x36c72a([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3b4468[_0x36c72a([0x6a,0x74,0x69])])),await _0x5865ea()?_0x2ddb23()?_0x1647b4()?_0x36c72a([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2509a9()?(_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c72a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x55bef7=_0xc8f3d3(_0x36c72a([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x36c72a([0x74,0x72,0x69,0x61,0x6c])&&(_0x55bef7=_0xc8f3d3(_0x36c72a([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2a868c()):_0x36c72a([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x36c72a([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x36c72a([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1647b4(){const _0x5ce95f=[_0x36c72a([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x36c72a([0x74,0x72,0x69,0x61,0x6c])][_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5e3e81/0x3e8:0xe10*_0x455dbc;return _0x3b4468[_0x36c72a([0x65,0x78,0x70])]<_0x5ce95f;}function _0x2ddb23(){const _0x3b77dc=_0x3b4468[_0x36c72a([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3b77dc&&(!!_0x3b77dc[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x2a]))||!!_0x3b77dc[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x46,0x4f,0x4f])));}function _0x2509a9(){const _0x30c8ef=_0x3b4468[_0x36c72a([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x30c8ef||0x0==_0x30c8ef[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x3f596f}=new URL(window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x30c8ef[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3f596f))return!0x0;const _0x57a1dc=_0x3f596f[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e]));return _0x30c8ef[_0x36c72a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xf6643a=>_0xf6643a[_0x36c72a([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x36c72a([0x2a])))[_0x36c72a([0x6d,0x61,0x70])](_0x221e6c=>_0x221e6c[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e])))[_0x36c72a([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x12f1a6=>_0x12f1a6[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x57a1dc[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c72a([0x6d,0x61,0x70])](_0x54e2be=>Array(_0x57a1dc[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x54e2be[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x36c72a([0x66,0x69,0x6c,0x6c])](_0x54e2be[0x0]===_0x36c72a([0x2a])?_0x36c72a([0x2a]):'')[_0x36c72a([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x54e2be))[_0x36c72a([0x73,0x6f,0x6d,0x65])](_0x24fa10=>_0x57a1dc[_0x36c72a([0x65,0x76,0x65,0x72,0x79])]((_0x783549,_0x4af450)=>_0x24fa10[_0x4af450]===_0x783549||_0x24fa10[_0x4af450]===_0x36c72a([0x2a])));}function _0x2a868c(){return _0x55bef7&&_0x1476b8?new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3ff9f6,_0x345e72)=>{_0x55bef7[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x3ff9f6,_0x345e72),_0x1476b8[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x387c9a=>{_0x387c9a!=_0x36c72a([0x56,0x61,0x6c,0x69,0x64])&&_0x3ff9f6(_0x387c9a);},_0x345e72);}):_0x55bef7||_0x1476b8||_0x36c72a([0x56,0x61,0x6c,0x69,0x64]);}}function _0x356838(_0x1347d8,_0x1220f8){return new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xa2dd72=>{if(_0xb1bd06())return _0xa2dd72(_0x36c72a([0x56,0x61,0x6c,0x69,0x64]));_0x44a93c(),_0x8848e1[_0x36c72a([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x7b3fd3=!0x1;const _0x11925d=_0x27132c();function _0x43932d(_0x26fe1c){return!!_0x26fe1c&&(typeof _0x26fe1c===_0x36c72a([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x26fe1c===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x26fe1c[_0x36c72a([0x74,0x68,0x65,0x6e])]===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x26fe1c[_0x36c72a([0x63,0x61,0x74,0x63,0x68])]===_0x36c72a([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x504f41(_0x2f1688){_0x2874b9(_0x2f1688)[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x4525f6=>{if(!_0x4525f6||_0x4525f6[_0x36c72a([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x36c72a([0x6f,0x6b]))return _0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x49a6e8(_0x36094d(_0x11925d+_0x1220f8))!=_0x4525f6[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x36c72a([0x56,0x61,0x6c,0x69,0x64]);})[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x6e266f=>(_0x1e8e41(),_0x6e266f),()=>{const _0x397c31=_0x26fcfb();return null==_0x397c31?(_0x1e8e41(),_0x36c72a([0x56,0x61,0x6c,0x69,0x64])):_0x36c72a(_0x5e3e81-_0x397c31>(0x63ae0106^_0x474076)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x36c72a([0x74,0x68,0x65,0x6e])](_0xa2dd72)[_0x36c72a([0x63,0x61,0x74,0x63,0x68])](()=>{_0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x31b203=0x47946b86^_0x474076;function _0x1e8e41(){const _0xc02906=_0x36c72a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a6e8(_0x36094d(_0x1347d8)),_0x3ae2fa=_0x4de66d(_0x49a6e8(window[_0x36c72a([0x4d,0x61,0x74,0x68])][_0x36c72a([0x63,0x65,0x69,0x6c])](_0x5e3e81/_0x31b203)));window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c72a([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc02906,_0x3ae2fa);}function _0x26fcfb(){const _0x2c49f1=_0x36c72a([0x6c,0x6c,0x63,0x74,0x2d])+_0x49a6e8(_0x36094d(_0x1347d8)),_0x97c929=window[_0x36c72a([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x36c72a([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2c49f1);return _0x97c929?window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4de66d(_0x97c929),0x10)*_0x31b203:null;}function _0x2874b9(_0x2ace88){return new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x39db62,_0x2f345d)=>{_0x2ace88[_0x36c72a([0x74,0x68,0x65,0x6e])](_0x39db62,_0x2f345d),window[_0x36c72a([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2f345d,0x47a351c6^_0x474076);});}}_0x8848e1[_0x36c72a([0x6f,0x6e])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xf1159b,_0x5d0751)=>{if(_0x5d0751[0x0]!=_0x1347d8)return _0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5d0751[0x1]={..._0x5d0751[0x1],[_0x36c72a([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x11925d};},{[_0x36c72a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c72a([0x68,0x69,0x67,0x68])}),_0x8848e1[_0x36c72a([0x6f,0x6e])](_0x36c72a([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4bbc45=>{_0x43932d(_0x4bbc45[_0x36c72a([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x7b3fd3=!0x0,_0x504f41(_0x4bbc45[_0x36c72a([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x36c72a([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x36c72a([0x6c,0x6f,0x77])}),_0x84c6c0[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>{_0x7b3fd3||_0xa2dd72(_0x36c72a([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0xb1bd06(){return _0x8848e1[_0x36c72a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c72a([0x76,0x69,0x65,0x77])][_0x36c72a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x36c72a([0x61,0x75,0x74,0x6f]);}function _0x44a93c(){_0x8848e1[_0x36c72a([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x36c72a([0x76,0x69,0x65,0x77])][_0x36c72a([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x36c72a([0x61,0x75,0x74,0x6f]);}}function _0xc8f3d3(_0x7c3571){const _0x37ca75=[new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1f2645=>setTimeout(_0x1f2645,0x47abbbca^_0x474076)),_0x84c6c0[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>new window[(_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x309b06=>{let _0x4fe86b=0x0;_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x6f,0x6e])](_0x36c72a([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x74ede1,_0x163488)=>{_0x163488[0x0][_0x36c72a([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4fe86b++,_0x4fe86b==(0x47a284fe^_0x474076)&&(_0x309b06(),_0x74ede1[_0x36c72a([0x6f,0x66,0x66])]());});}))];return window[_0x36c72a([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x36c72a([0x72,0x61,0x63,0x65])](_0x37ca75)[_0x36c72a([0x74,0x68,0x65,0x6e])](()=>_0x7c3571);}async function _0x3b2dc8(){await _0x84c6c0,_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x326a46,_0x8848e1[_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c])][_0x36c72a([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x326a46,_0x8848e1[_0x36c72a([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x36c72a([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x5a1ae3(_0xa0204d){const _0x45aca5=_0x21a2c5();_0x8848e1[_0x45aca5]=_0x36c72a([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xa0204d,_0xa0204d!=_0x36c72a([0x56,0x61,0x6c,0x69,0x64])&&_0x3b2dc8();}function _0x21a2c5(){const _0x146579=window[_0x36c72a([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x36c72a([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x36c72a([0x6e,0x6f,0x77])]())[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x36c72a([0x2e]),'');let _0x4d3c3d=_0x36c72a([0x75]);for(let _0x96de1d=0x0;_0x96de1d<_0x146579[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x96de1d+=0x2){let _0xdf5418=window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x146579[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x96de1d,_0x96de1d+0x2));_0xdf5418>=_0x3ad61e[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xdf5418-=_0x3ad61e[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x4d3c3d+=_0x3ad61e[_0xdf5418];}return _0x4d3c3d;}function _0x19c5ee(){const _0x5a7fcd=_0x50d323[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e]));if(0x3!=_0x5a7fcd[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0xa6a082(_0x5a7fcd[0x1]);function _0xa6a082(_0x915ee6){const _0x42632a=_0x5ed46d(_0x915ee6);return _0x42632a&&_0x197c74()?_0x42632a:null;function _0x197c74(){const _0x1bfb11=_0x42632a[_0x36c72a([0x6a,0x74,0x69])],_0x234bbd=window[_0x36c72a([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1bfb11[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1bfb11[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2e8d0d={..._0x42632a,[_0x36c72a([0x6a,0x74,0x69])]:_0x1bfb11[_0x36c72a([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1bfb11[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2e8d0d[_0x36c72a([0x76,0x63])],_0x36094d(_0x2e8d0d)==_0x234bbd;}}}async function _0x5865ea(){let _0x11d08f=!0x0;try{const _0x5367e8=_0x50d323[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])](_0x36c72a([0x2e])),[_0x54ea1a,_0x4c71a2,_0x4bd6c4]=_0x5367e8;return _0x3284bf(_0x54ea1a),await _0x1eb8e3(_0x54ea1a,_0x4c71a2,_0x4bd6c4),_0x11d08f;}catch{return!0x1;}function _0x3284bf(_0x37cb3d){const _0x5eda09=_0x5ed46d(_0x37cb3d);_0x5eda09&&_0x5eda09[_0x36c72a([0x61,0x6c,0x67])]==_0x36c72a([0x45,0x53,0x32,0x35,0x36])||(_0x11d08f=!0x1);}async function _0x1eb8e3(_0x29267d,_0x59f717,_0x1c1ea8){const _0x2a9c2a=window[_0x36c72a([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x36c72a([0x66,0x72,0x6f,0x6d])](_0xc7a341(_0x1c1ea8),_0x60b107=>_0x60b107[_0x36c72a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4735cc=new window[(_0x36c72a([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x36c72a([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x29267d+_0x36c72a([0x2e])+_0x59f717),_0x1db1c4=window[_0x36c72a([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x36c72a([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1db1c4)return;const _0x6e3778=await _0x1db1c4[_0x36c72a([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x36c72a([0x6a,0x77,0x6b]),_0x3019c9,{[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x45,0x43,0x44,0x53,0x41]),[_0x36c72a([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x36c72a([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1db1c4[_0x36c72a([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x45,0x43,0x44,0x53,0x41]),[_0x36c72a([0x68,0x61,0x73,0x68])]:{[_0x36c72a([0x6e,0x61,0x6d,0x65])]:_0x36c72a([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6e3778,_0x2a9c2a,_0x4735cc)||(_0x11d08f=!0x1);}}function _0x5ed46d(_0x440bc5){return _0x440bc5[_0x36c72a([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x36c72a([0x65,0x79]))?JSON[_0x36c72a([0x70,0x61,0x72,0x73,0x65])](_0xc7a341(_0x440bc5)):null;}function _0xc7a341(_0x31244d){return window[_0x36c72a([0x61,0x74,0x6f,0x62])](_0x31244d[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x36c72a([0x2b]))[_0x36c72a([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x36c72a([0x2f])));}function _0x36094d(_0x27532e){let _0x54ccd8=0x1505;function _0x1061fd(_0x1fcaac){for(let _0x502a12=0x0;_0x502a12<_0x1fcaac[_0x36c72a([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x502a12++){const _0x236838=_0x1fcaac[_0x36c72a([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x502a12);_0x54ccd8=(_0x54ccd8<<0x5)+_0x54ccd8+_0x236838,_0x54ccd8&=_0x54ccd8;}}function _0x398642(_0x542efb){Array[_0x36c72a([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x542efb)?_0x542efb[_0x36c72a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x398642):_0x542efb&&typeof _0x542efb==_0x36c72a([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x36c72a([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x542efb)[_0x36c72a([0x73,0x6f,0x72,0x74])]()[_0x36c72a([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x16938d,_0x97bea4])=>{_0x1061fd(_0x16938d),_0x398642(_0x97bea4);}):_0x1061fd(window[_0x36c72a([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x542efb));}return _0x398642(_0x27532e),_0x54ccd8>>>0x0;}function _0x49a6e8(_0x5cf780){return _0x5cf780[_0x36c72a([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x36c72a([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x36c72a([0x30]));}function _0x4de66d(_0x35b3ca){return _0x35b3ca[_0x36c72a([0x73,0x70,0x6c,0x69,0x74])]('')[_0x36c72a([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x36c72a([0x6a,0x6f,0x69,0x6e])]('');}function _0x326a46(){}function _0x36c72a(_0x136015){return _0x136015['map'](_0x50650c=>String['fromCharCode'](_0x50650c))['join']('');}_0x5a1ae3(await _0x3b2419());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2b5cc4){const {plugins:_0x4dc3d4,editing:_0xdb119b,model:_0x52e1be}=this['editor'],_0x1b009d=_0x4dc3d4['get'](_0x202ea0)['getFootnote'](_0x2b5cc4);return!!_0x1b009d&&(_0x52e1be['change'](_0x4d6c91=>{_0x4d6c91['setSelection'](_0x4d6c91['createPositionAt'](_0x1b009d['definition'],'end'));}),_0xdb119b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x49fa16){const {plugins:_0x2b994d,editing:_0x336fa6,model:_0x183011}=this['editor'],_0xae23c0=_0x2b994d['get'](_0x202ea0)['getFootnote'](_0x49fa16);return!!_0xae23c0&&(_0x183011['change'](_0x23a116=>{_0x23a116['setSelection'](_0xae23c0['reference'],'on');}),_0x336fa6['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0xdeb663}=this['editor']['model'],_0x201a40=this['editor']['config']['get']('footnotes.multiBlock');_0xdeb663['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0xdeb663['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0xdeb663['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x201a40?_0xdeb663['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0xdeb663['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0xdeb663['addChildCheck'](_0x32b6e9=>{for(const _0x15053b of _0x32b6e9)if('footnoteDefinition'===_0x15053b['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x47748e}=this,{conversion:_0x299903,editing:_0x5708ba}=_0x47748e,{t:t}=_0x47748e['locale'];_0x299903['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x59969f,{writer:_0x3261fd,consumable:_0xb06a86})=>{const _0x4db8f4=_0x59969f['getChild'](0x0);if(!_0x4db8f4||!_0x4db8f4['is']('element','a'))return null;const _0x50aea6=_0x4db8f4['getAttribute']('href')||'';if(!_0x50aea6['startsWith']('#'))return null;const _0x79b83e=_0x50aea6['replace'](/^#/,'');if(!_0x79b83e)return null;_0xb06a86['consume'](_0x4db8f4,{'name':!0x0,'attributes':['href']});for(const {item:_0x227c13}of _0x5708ba['view']['createRangeIn'](_0x4db8f4))_0x227c13['is']('$textProxy')?_0xb06a86['consume'](_0x227c13['textNode'],{'name':!0x0}):_0x227c13['is']('element')&&_0xb06a86['consume'](_0x227c13,{'name':!0x0});return _0x3261fd['createElement']('footnoteRef',{'footnoteId':_0x79b83e});}}),_0x299903['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5e5887,{writer:_0x4d31c9})=>D(_0x5e5887,_0x4d31c9)}),_0x299903['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x285f39,{writer:_0x8e039d})=>{const _0x1c227c=_0x285f39['getAttribute']('footnoteCounter');return _0x205a54(D(_0x285f39,_0x8e039d),_0x8e039d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1c227c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c8de2}=this,{t:t}=_0x5c8de2['locale'],{conversion:_0x5b8f54}=_0x5c8de2;_0x5b8f54['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x5b8f54['for']('upcast')['add'](_0x461e50=>{_0x461e50['on']('element:ol',(_0x1961fe,_0x35a88f,_0x35a597)=>{const _0x961823=_0x35a88f['viewItem'];if(!_0x961823['hasClass']('footnotes-list')||!_0x35a88f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35a597['consumable']['consume'](_0x961823,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x16dc98,modelCursor:_0x5e36cb}=_0x35a597['convertChildren'](_0x35a88f['viewItem'],_0x35a88f['modelCursor']);_0x35a88f['modelRange']=_0x16dc98,_0x35a88f['modelCursor']=_0x5e36cb;}),_0x461e50['on']('element:hr',(_0xf43f38,_0x3a8e03,_0xc4cb6)=>{const _0x58d4ca=_0x3a8e03['viewItem'];_0x58d4ca['hasClass']('footnotes-divider')&&_0x3a8e03['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xc4cb6['consumable']['consume'](_0x58d4ca,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x5b8f54['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x152c13,{writer:_0x4e2e89})=>v(_0x4e2e89)}),_0x5b8f54['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50eff3,{writer:_0x59130d})=>{const _0x467989=v(_0x59130d,{'data-footnotes-list-label':t('Footnotes')}),_0x4f43ed=_0x205a54(_0x467989,_0x59130d,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x59130d['setCustomProperty']('footnotesDefinitions',!0x0,_0x4f43ed),_0x4f43ed;}});}['_defineDefinitionConverters'](){const {editor:_0x2cd7f2}=this,{conversion:_0x43a763,locale:_0x27d842}=_0x2cd7f2,_0x134299=_0x2cd7f2['config']['get']('footnotes.multiBlock');_0x43a763['for']('upcast')['add'](_0x5e5efb=>{_0x5e5efb['on']('element:li',(_0x3a7b78,_0x384070,_0x2c8577)=>{const _0x9a8e75=_0x384070['viewItem'];if(!_0x9a8e75['hasClass']('footnote-definition')||!_0x9a8e75['getAttribute']('id'))return;const _0xe7e596=_0x9a8e75['parent'];if(!_0xe7e596['is']('element','ol')||!_0xe7e596['hasClass']('footnotes-list'))return;if(!_0x2c8577['consumable']['test'](_0x9a8e75,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1a08f8=_0x2c8577['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x9a8e75['getAttribute']('id')});if(!_0x2c8577['safeInsert'](_0x1a08f8,_0x384070['modelCursor']))return;_0x2c8577['consumable']['consume'](_0x9a8e75,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x53ba41=Array['from'](_0x9a8e75['getChildren']())['find'](_0x231eb0=>_0x231eb0['is']('element')&&_0x231eb0['hasClass']('footnote-content'));for(const _0x2d8b85 of _0x9a8e75['getChildren']())_0x2d8b85['is']('element')&&(_0x2c8577['consumable']['consume'](_0x2d8b85,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2c8577['consumable']['consume'](_0x2d8b85,{'name':!0x0,'classes':'footnote-content'}));if(_0x53ba41){if(_0x134299)_0x2c8577['convertChildren'](_0x53ba41,_0x1a08f8);else{const _0x2b0d23=_0x2c8577['writer']['createElement']('footnoteInlineContent');_0x2c8577['writer']['insert'](_0x2b0d23,_0x1a08f8),_0x2c8577['convertChildren'](_0x53ba41,_0x2b0d23);}}_0x2c8577['updateConversionResult'](_0x1a08f8,_0x384070);});}),_0x43a763['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4df3dd,{writer:_0x4f2714})=>b(_0x4df3dd,_0x4f2714,_0x27d842,{'dataPipeline':!0x0})}),_0x43a763['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4530eb,{writer:_0x55d072})=>b(_0x4530eb,_0x55d072,_0x27d842)});}['_defineBogusParagraphConverters'](){const {editor:_0x44aab6}=this,{conversion:_0x352e89}=_0x44aab6;_0x44aab6['config']['get']('footnotes.multiBlock')?(_0x352e89['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x352e89['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x44aab6['model']['document'],'change:data',()=>{!function(_0x2eb1ec,_0x51403a){const _0x51a439=_0x2eb1ec['document']['differ'],_0x359505=new Set();for(const _0x4f9d3e of _0x51a439['getChanges']()){const _0xb8cf80='attribute'==_0x4f9d3e['type']?_0x4f9d3e['range']['start']['parent']:_0x4f9d3e['position']['parent'];_0xb8cf80['is']('element','footnoteDefinition')&&_0x359505['add'](_0xb8cf80);}for(const _0x561ad4 of _0x359505['values']()){const _0x357d75=Array['from'](_0x561ad4['getChildren']())['filter'](_0x48bb10=>g(_0x48bb10,_0x51403a['mapper']));for(const _0x588d39 of _0x357d75)_0x51403a['reconvertItem'](_0x588d39);}}(_0x44aab6['model'],_0x44aab6['editing']);})):(_0x352e89['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x352e89['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x390b79,{writer:_0x4ed1c8})=>{const _0x27ad3d=_0x4ed1c8['createContainerElement']('span');return _0x4ed1c8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x27ad3d),_0x27ad3d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x41f8b9}=this,{editing:_0x5d5670,t:t}=_0x41f8b9,_0x83f9c=_0x41f8b9['model']['document']['selection'];_0x41f8b9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x41f8b9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d5670['view']['document'],'enter',(_0x3ac72f,_0x5afbc4)=>{const _0x254ba6=function(_0x14f7d8){const _0x207529=_0x14f7d8['getSelectedElement']();if(_0x207529?.['is']('element','footnoteRef'))return _0x207529;return null;}(_0x83f9c);if(_0x254ba6){const _0x103c73=_0x254ba6['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x103c73),_0x5afbc4['preventDefault'](),_0x3ac72f['stop']();}},{'context':_0x11be63});}['_defineClickHandlers'](){const {editor:_0x39d855}=this,{editing:_0x228502}=_0x39d855;_0x39d855['editing']['view']['addObserver'](_0xd93072),_0x39d855['editing']['view']['addObserver'](_0x281dc3);let _0x422a0f=!0x1;this['listenTo'](_0x228502['view']['document'],'pointerdown',(_0x25c56d,_0x4f2ac6)=>{const {target:_0x25a2e6}=_0x4f2ac6,_0x2406fd=_0x228502['view']['document']['selection'];_0x422a0f=!!(_0x25a2e6?.['is']('element','a')&&_0x25a2e6['parent']?.['is']('element','sup')&&_0x25a2e6['parent']['hasClass']('footnote'))&&_0x2406fd['getSelectedElement']()===_0x25a2e6['parent'];},{'priority':'high'}),this['listenTo'](_0x228502['view']['document'],'click',(_0x2c582d,_0x16c71d)=>{const {target:_0x5ab280}=_0x16c71d;if(!_0x5ab280?.['is']('element','a'))return;if(_0x5ab280['parent']?.['is']('element','sup')&&_0x5ab280['parent']['hasClass']('footnote')&&!_0x422a0f)return void _0x16c71d['preventDefault']();let _0x56cda5=_0x5ab280['getAttribute']('href');if(!_0x56cda5?.['startsWith']('#'))return;_0x56cda5=_0x56cda5['slice'](0x1);let _0x36053a=!0x1;(_0x56cda5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x56cda5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x56cda5))&&(_0x36053a=!0x0),_0x36053a&&(_0x16c71d['preventDefault'](),_0x2c582d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x34f629}={}){return(_0x59a267,{writer:_0x1ae29d})=>{if(!p(_0x59a267))return null;if(!_0x34f629)return _0x1ae29d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1e1503=_0x1ae29d['createContainerElement']('p');return _0x1ae29d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1e1503),_0x1e1503;};}function p(_0x3e7981){const {parent:_0x23e3c7}=_0x3e7981;if(!_0x23e3c7?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x23e3c7['childCount'])return!0x1;for(const _0x1c7fd2 of _0x3e7981['getAttributeKeys']())if(!_0x1c7fd2['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1c7fd2)return!0x1;return!0x0;}function g(_0x2899b5,_0x21dc0c){if(!_0x2899b5['is']('element','paragraph'))return!0x1;const _0x35ac13=_0x21dc0c['toViewElement'](_0x2899b5);return!!_0x35ac13&&p(_0x2899b5)!==_0x35ac13['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1edbac){return _0x11be63(_0x1edbac)&&_0x1edbac['is']('containerElement')&&!!_0x1edbac['getCustomProperty']('footnotesDefinitions');}function v(_0x59a8a3,_0x1e04aa={}){const _0x22d0a5=_0x59a8a3['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1d5ec6=_0x59a8a3['createContainerElement']('ol',{'class':'footnotes-list'},_0x59a8a3['createSlot']());return _0x59a8a3['createContainerElement']('div',{'class':'footnotes',..._0x1e04aa},[_0x22d0a5,_0x1d5ec6]);}function D(_0x3653eb,_0x48bf52){const _0x553eec=_0x3653eb['getAttribute']('footnoteId'),_0x2f080c=_0x3653eb['getAttribute']('footnoteCounter'),_0x575c0c=_0x48bf52['createUIElement']('a',{'href':'#'+_0x553eec},function(_0xb8d9dc){const _0x435448=this['toDomElement'](_0xb8d9dc);return _0x435448['textContent']=_0x2f080c,_0x435448;}),_0x3c4d80=_0x48bf52['createContainerElement']('sup',{'id':'ref-'+_0x553eec,'class':'footnote'},[_0x575c0c]);return _0x3c4d80['getFillerOffset']=()=>null,_0x3c4d80;}function b(_0x1a9c47,_0x3a1395,_0x111967,{dataPipeline:_0x1ac152}={}){const {t:t}=_0x111967,_0x3e61e6=_0x1a9c47['getAttribute']('footnoteId'),_0x1f704a=_0x3a1395['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x3e61e6},function(_0x55d1ec){const _0x57beb5=this['toDomElement'](_0x55d1ec);return _0x57beb5['innerText']='^',_0x57beb5;}),_0x37b845=_0x1ac152?_0x3a1395['createContainerElement']('div',{'class':'footnote-content'}):_0x2b40b7(_0x3a1395['createEditableElement']('div',{'class':'footnote-content'}),_0x3a1395,{'label':t('Footnote\x20content.')});return _0x3a1395['insert'](_0x3a1395['createPositionAt'](_0x37b845,0x0),_0x3a1395['createSlot']()),_0x3a1395['createContainerElement']('li',{'class':'footnote-definition','id':_0x3e61e6},[_0x1f704a,_0x37b845]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x35c3a2=_0x2091;(function(_0x3d7b13,_0x30e03b){const _0x3dede4=_0x2091,_0x25efbb=_0x3d7b13();while(!![]){try{const _0x3411ca=-parseInt(_0x3dede4(0x165))/0x1*(parseInt(_0x3dede4(0x17a))/0x2)+parseInt(_0x3dede4(0x169))/0x3+-parseInt(_0x3dede4(0x16d))/0x4*(-parseInt(_0x3dede4(0x171))/0x5)+parseInt(_0x3dede4(0x16b))/0x6+-parseInt(_0x3dede4(0x16f))/0x7*(parseInt(_0x3dede4(0x177))/0x8)+-parseInt(_0x3dede4(0x172))/0x9*(-parseInt(_0x3dede4(0x16c))/0xa)+-parseInt(_0x3dede4(0x167))/0xb;if(_0x3411ca===_0x30e03b)break;else _0x25efbb['push'](_0x25efbb['shift']());}catch(_0x2aaa91){_0x25efbb['push'](_0x25efbb['shift']());}}}(_0x36e5,0x644d9));import{Command as _0x4d744d}from'ckeditor5/src/core.js';function _0x36e5(){const _0x435e60=['value','isEnabled','151974clYRMF','get','getAttribute','setAttribute','9jeCmkh','_updateFootnotesCounters','5715523xUqNty','plugins','2432310kpicQK','refresh','4252854NxaFiy','40240UGuQlh','80TEWCwK','execute','7LNGYjo','isInteger','191095ePCfNH','261XvZYfX','footnotesListStart','getFootnotesDefinitionsObjectElement','change','model','6290704nyLAYI'];_0x36e5=function(){return _0x435e60;};return _0x36e5();}import{FootnotesTracker as _0x2d17c8}from'../../footnotestracker.js';function _0x2091(_0x78cfa6,_0xc268eb){const _0x36e557=_0x36e5();return _0x2091=function(_0x2091e3,_0x1e1524){_0x2091e3=_0x2091e3-0x162;let _0x278e69=_0x36e557[_0x2091e3];return _0x278e69;},_0x2091(_0x78cfa6,_0xc268eb);}export class FootnotesStartCommand extends _0x4d744d{[_0x35c3a2(0x16a)](){const _0x45f1be=_0x35c3a2,{editor:_0x4b8e38}=this,_0x5924de=_0x4b8e38[_0x45f1be(0x168)][_0x45f1be(0x162)](_0x2d17c8)[_0x45f1be(0x174)]();this[_0x45f1be(0x179)]=!!_0x5924de,this[_0x45f1be(0x178)]=_0x5924de?.[_0x45f1be(0x163)](_0x45f1be(0x173))??null;}[_0x35c3a2(0x16e)]({value:_0x398fd6}){const _0x542ac2=_0x35c3a2,{editor:_0x86e9f1}=this,_0x409d65=_0x86e9f1[_0x542ac2(0x168)][_0x542ac2(0x162)](_0x2d17c8),_0x5254c8=_0x409d65[_0x542ac2(0x174)]();_0x5254c8&&Number[_0x542ac2(0x170)](_0x398fd6)&&_0x86e9f1[_0x542ac2(0x176)][_0x542ac2(0x175)](_0x24b569=>{const _0x4c2019=_0x542ac2;_0x24b569[_0x4c2019(0x164)](_0x4c2019(0x173),_0x398fd6,_0x5254c8),_0x409d65[_0x4c2019(0x166)](_0x24b569);});}}
23
+ const _0xac69af=_0x1b6a;(function(_0x4126e6,_0x139c72){const _0x4f1662=_0x1b6a,_0x566cb0=_0x4126e6();while(!![]){try{const _0xc7706a=-parseInt(_0x4f1662(0x78))/0x1+parseInt(_0x4f1662(0x7e))/0x2*(-parseInt(_0x4f1662(0x75))/0x3)+parseInt(_0x4f1662(0x74))/0x4+parseInt(_0x4f1662(0x83))/0x5*(-parseInt(_0x4f1662(0x7f))/0x6)+parseInt(_0x4f1662(0x84))/0x7+-parseInt(_0x4f1662(0x73))/0x8*(-parseInt(_0x4f1662(0x81))/0x9)+parseInt(_0x4f1662(0x8b))/0xa*(parseInt(_0x4f1662(0x7b))/0xb);if(_0xc7706a===_0x139c72)break;else _0x566cb0['push'](_0x566cb0['shift']());}catch(_0x310cd1){_0x566cb0['push'](_0x566cb0['shift']());}}}(_0x56da,0x78dbe));import{Command as _0xe8fd9f}from'ckeditor5/src/core.js';function _0x1b6a(_0x4476ef,_0x50a8ba){const _0x56daa7=_0x56da();return _0x1b6a=function(_0x1b6a3b,_0x22ad12){_0x1b6a3b=_0x1b6a3b-0x73;let _0x21ec87=_0x56daa7[_0x1b6a3b];return _0x21ec87;},_0x1b6a(_0x4476ef,_0x50a8ba);}import{FootnotesTracker as _0x53e681}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0xe8fd9f{[_0xac69af(0x76)](){const _0xb0a12b=_0xac69af,{editor:_0x43b7be}=this,_0x156313=_0x43b7be[_0xb0a12b(0x86)][_0xb0a12b(0x80)](_0x53e681)[_0xb0a12b(0x89)]();this[_0xb0a12b(0x88)]=!!_0x156313,this[_0xb0a12b(0x7c)]=_0x156313?.[_0xb0a12b(0x77)](_0xb0a12b(0x79))??null;}[_0xac69af(0x7d)]({value:_0x2e3ae2}){const _0x2cbbd9=_0xac69af,{editor:_0x297c9b}=this,_0x86f2a1=_0x297c9b[_0x2cbbd9(0x86)][_0x2cbbd9(0x80)](_0x53e681),_0x14aadb=_0x86f2a1[_0x2cbbd9(0x89)]();_0x14aadb&&Number[_0x2cbbd9(0x8a)](_0x2e3ae2)&&_0x297c9b[_0x2cbbd9(0x7a)][_0x2cbbd9(0x85)](_0x751cd9=>{const _0x5d820f=_0x2cbbd9;_0x751cd9[_0x5d820f(0x87)](_0x5d820f(0x79),_0x2e3ae2,_0x14aadb),_0x86f2a1[_0x5d820f(0x82)](_0x751cd9);});}}function _0x56da(){const _0x55bfe5=['330oYBFCE','refresh','getAttribute','844819GHDewT','footnotesListStart','model','11FjIQPB','value','execute','10544vBfvBG','6AJBNRQ','get','36UiSxus','_updateFootnotesCounters','713485SmotER','5156494TQqlsH','change','plugins','setAttribute','isEnabled','getFootnotesDefinitionsObjectElement','isInteger','5280860htAUlO','1397272FPqTcm','396440DbsTug'];_0x56da=function(){return _0x55bfe5;};return _0x56da();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30f311=_0x30c9;function _0x7dfc(){const _0x5bba54=['getFootnotesDefinitionsObjectElement','1334688urgCBg','9uaXSoD','2671388kpcqVr','isEnabled','value','execute','getAttribute','refresh','setAttribute','6393760lNjwTx','973444BWMbId','footnotesListStyle','_updateFootnotesCounters','get','24618TCAfmk','plugins','change','1147203rGgLQQ','model','includes','5lVMqcX','10271250xmUiUh','1904wAeWPy'];_0x7dfc=function(){return _0x5bba54;};return _0x7dfc();}(function(_0x40441f,_0x4eb9f0){const _0x3b4cc8=_0x30c9,_0x1d7959=_0x40441f();while(!![]){try{const _0x4618fc=parseInt(_0x3b4cc8(0xcd))/0x1+-parseInt(_0x3b4cc8(0xd7))/0x2+-parseInt(_0x3b4cc8(0xde))/0x3+-parseInt(_0x3b4cc8(0xcf))/0x4*(parseInt(_0x3b4cc8(0xe1))/0x5)+parseInt(_0x3b4cc8(0xdb))/0x6*(parseInt(_0x3b4cc8(0xcb))/0x7)+parseInt(_0x3b4cc8(0xd6))/0x8+parseInt(_0x3b4cc8(0xce))/0x9*(-parseInt(_0x3b4cc8(0xca))/0xa);if(_0x4618fc===_0x4eb9f0)break;else _0x1d7959['push'](_0x1d7959['shift']());}catch(_0x524028){_0x1d7959['push'](_0x1d7959['shift']());}}}(_0x7dfc,0xa7705));import{Command as _0x149e28}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3876de}from'../footnotespropertiesconfig.js';function _0x30c9(_0x57c7c2,_0x2820da){const _0x7dfc81=_0x7dfc();return _0x30c9=function(_0x30c97f,_0x43b571){_0x30c97f=_0x30c97f-0xca;let _0x16bd62=_0x7dfc81[_0x30c97f];return _0x16bd62;},_0x30c9(_0x57c7c2,_0x2820da);}import{FootnotesTracker as _0x25bc0a}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x149e28{[_0x30f311(0xd4)](){const _0x3c3e25=_0x30f311,{editor:_0x3fd034}=this,_0x3b2224=_0x3fd034[_0x3c3e25(0xdc)][_0x3c3e25(0xda)](_0x25bc0a)[_0x3c3e25(0xcc)]();this[_0x3c3e25(0xd0)]=!!_0x3b2224,this[_0x3c3e25(0xd1)]=_0x3b2224?.[_0x3c3e25(0xd3)](_0x3c3e25(0xd8))??null;}[_0x30f311(0xd2)]({value:_0xd86475}){const _0x1de71d=_0x30f311,{editor:_0x14a7e0}=this,_0x433fa4=_0x14a7e0[_0x1de71d(0xdc)][_0x1de71d(0xda)](_0x25bc0a),_0x449716=_0x433fa4[_0x1de71d(0xcc)]();_0x449716&&_0x3876de[_0x1de71d(0xe0)](_0xd86475)&&_0x14a7e0[_0x1de71d(0xdf)][_0x1de71d(0xdd)](_0x5cd913=>{const _0x3a857c=_0x1de71d;_0x5cd913[_0x3a857c(0xd5)](_0x3a857c(0xd8),_0xd86475,_0x449716),_0x433fa4[_0x3a857c(0xd9)](_0x5cd913);});}}
23
+ const _0x58c272=_0x3106;(function(_0x1eb2a8,_0x465103){const _0x48869c=_0x3106,_0x10813b=_0x1eb2a8();while(!![]){try{const _0x4cadf9=parseInt(_0x48869c(0x165))/0x1+-parseInt(_0x48869c(0x168))/0x2+parseInt(_0x48869c(0x166))/0x3*(parseInt(_0x48869c(0x173))/0x4)+parseInt(_0x48869c(0x163))/0x5+-parseInt(_0x48869c(0x161))/0x6*(-parseInt(_0x48869c(0x172))/0x7)+-parseInt(_0x48869c(0x174))/0x8+-parseInt(_0x48869c(0x169))/0x9;if(_0x4cadf9===_0x465103)break;else _0x10813b['push'](_0x10813b['shift']());}catch(_0x17b5b1){_0x10813b['push'](_0x10813b['shift']());}}}(_0x2e56,0xc0cee));import{Command as _0x3fede8}from'ckeditor5/src/core.js';function _0x3106(_0xb836af,_0x3b12f5){const _0x2e5619=_0x2e56();return _0x3106=function(_0x31065a,_0x32d36f){_0x31065a=_0x31065a-0x160;let _0x59ab4f=_0x2e5619[_0x31065a];return _0x59ab4f;},_0x3106(_0xb836af,_0x3b12f5);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x5e2ee7}from'../footnotespropertiesconfig.js';function _0x2e56(){const _0x841184=['12354957OmWvDC','footnotesListStyle','refresh','getFootnotesDefinitionsObjectElement','setAttribute','model','value','_updateFootnotesCounters','get','195356GpyDbe','124apkSCX','4984112LDWFfp','getAttribute','isEnabled','execute','18NRVmct','plugins','5022985IUYVCc','change','1419653gsbFHh','148047uzlvlr','includes','2504528XRXBlB'];_0x2e56=function(){return _0x841184;};return _0x2e56();}import{FootnotesTracker as _0x56cffe}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x3fede8{[_0x58c272(0x16b)](){const _0x33164b=_0x58c272,{editor:_0x391c39}=this,_0x1157d8=_0x391c39[_0x33164b(0x162)][_0x33164b(0x171)](_0x56cffe)[_0x33164b(0x16c)]();this[_0x33164b(0x176)]=!!_0x1157d8,this[_0x33164b(0x16f)]=_0x1157d8?.[_0x33164b(0x175)](_0x33164b(0x16a))??null;}[_0x58c272(0x160)]({value:_0x547d54}){const _0x22f6c2=_0x58c272,{editor:_0x4e90cf}=this,_0x50ea59=_0x4e90cf[_0x22f6c2(0x162)][_0x22f6c2(0x171)](_0x56cffe),_0xcf7e52=_0x50ea59[_0x22f6c2(0x16c)]();_0xcf7e52&&_0x5e2ee7[_0x22f6c2(0x167)](_0x547d54)&&_0x4e90cf[_0x22f6c2(0x16e)][_0x22f6c2(0x164)](_0xa65879=>{const _0x2d9d1f=_0x22f6c2;_0xa65879[_0x2d9d1f(0x16d)](_0x2d9d1f(0x16a),_0x547d54,_0xcf7e52),_0x50ea59[_0x2d9d1f(0x170)](_0xa65879);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x438008=_0x4a3c;(function(_0x3013a3,_0x58deb4){const _0x264f32=_0x4a3c,_0x345571=_0x3013a3();while(!![]){try{const _0x4fa029=-parseInt(_0x264f32(0x1af))/0x1*(parseInt(_0x264f32(0x1a8))/0x2)+parseInt(_0x264f32(0x1b2))/0x3+-parseInt(_0x264f32(0x1b7))/0x4+-parseInt(_0x264f32(0x1a6))/0x5*(parseInt(_0x264f32(0x1b6))/0x6)+-parseInt(_0x264f32(0x1b8))/0x7*(-parseInt(_0x264f32(0x1ac))/0x8)+parseInt(_0x264f32(0x1a9))/0x9*(parseInt(_0x264f32(0x1ae))/0xa)+parseInt(_0x264f32(0x1b0))/0xb;if(_0x4fa029===_0x58deb4)break;else _0x345571['push'](_0x345571['shift']());}catch(_0x28f5dd){_0x345571['push'](_0x345571['shift']());}}}(_0x29d3,0x880a7));function _0x4a3c(_0x349e14,_0x389167){const _0x29d30c=_0x29d3();return _0x4a3c=function(_0x4a3c7c,_0x217937){_0x4a3c7c=_0x4a3c7c-0x1a6;let _0x46671f=_0x29d30c[_0x4a3c7c];return _0x46671f;},_0x4a3c(_0x349e14,_0x389167);}function _0x29d3(){const _0x4d9774=['1MVguwI','16789432GoyKoW','decimal','1085202iJBsJT','upper-latin','upper-roman','decimal-leading-zero','1264314QZktLM','3616668ZcxGfx','476pDeHyu','15dJBkSo','lower-latin','2095004RWJJJw','69021pdpNHI','lower-alpha','upper-alpha','108616lvJlqE','lower-roman','430zjbJzI'];_0x29d3=function(){return _0x4d9774;};return _0x29d3();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x438008(0x1b1),_0x438008(0x1b5),_0x438008(0x1a7),_0x438008(0x1b3),_0x438008(0x1aa),_0x438008(0x1ab),_0x438008(0x1ad),_0x438008(0x1b4)];
23
+ const _0x5b7613=_0x3af3;function _0x3af3(_0x16ef6a,_0x554af3){const _0x5f5bf4=_0x5f5b();return _0x3af3=function(_0x3af3a3,_0x3183ab){_0x3af3a3=_0x3af3a3-0x161;let _0x205337=_0x5f5bf4[_0x3af3a3];return _0x205337;},_0x3af3(_0x16ef6a,_0x554af3);}(function(_0x592e32,_0x48b2dd){const _0x5b505f=_0x3af3,_0x1f28d1=_0x592e32();while(!![]){try{const _0xf73189=parseInt(_0x5b505f(0x173))/0x1+parseInt(_0x5b505f(0x172))/0x2*(parseInt(_0x5b505f(0x16e))/0x3)+-parseInt(_0x5b505f(0x161))/0x4*(-parseInt(_0x5b505f(0x164))/0x5)+-parseInt(_0x5b505f(0x162))/0x6+-parseInt(_0x5b505f(0x16d))/0x7*(parseInt(_0x5b505f(0x163))/0x8)+-parseInt(_0x5b505f(0x171))/0x9*(-parseInt(_0x5b505f(0x167))/0xa)+parseInt(_0x5b505f(0x16f))/0xb*(-parseInt(_0x5b505f(0x169))/0xc);if(_0xf73189===_0x48b2dd)break;else _0x1f28d1['push'](_0x1f28d1['shift']());}catch(_0x456bd4){_0x1f28d1['push'](_0x1f28d1['shift']());}}}(_0x5f5b,0x3fdc5));function _0x5f5b(){const _0x33b1d9=['21byjxHi','447690MjkRdK','361229UClcIu','decimal','18dbAUPJ','6TgFDiT','316402nfgFhg','upper-latin','1310980faWsVr','1521396QVHICC','682232Piyxoq','5JGdmdQ','lower-latin','decimal-leading-zero','530230adINCI','lower-alpha','156HQVmbC','lower-roman','upper-alpha','upper-roman'];_0x5f5b=function(){return _0x33b1d9;};return _0x5f5b();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5b7613(0x170),_0x5b7613(0x166),_0x5b7613(0x165),_0x5b7613(0x174),_0x5b7613(0x168),_0x5b7613(0x16b),_0x5b7613(0x16a),_0x5b7613(0x16c)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x103fe3=_0x2c66;(function(_0x5875c2,_0x3e6c85){const _0x8cd604=_0x2c66,_0x4d4dfc=_0x5875c2();while(!![]){try{const _0x4439c4=parseInt(_0x8cd604(0x1e2))/0x1*(parseInt(_0x8cd604(0x1b5))/0x2)+-parseInt(_0x8cd604(0x1d2))/0x3*(-parseInt(_0x8cd604(0x195))/0x4)+parseInt(_0x8cd604(0x1e4))/0x5+-parseInt(_0x8cd604(0x1ea))/0x6+parseInt(_0x8cd604(0x1cc))/0x7+-parseInt(_0x8cd604(0x1af))/0x8*(-parseInt(_0x8cd604(0x1eb))/0x9)+-parseInt(_0x8cd604(0x1cd))/0xa;if(_0x4439c4===_0x3e6c85)break;else _0x4d4dfc['push'](_0x4d4dfc['shift']());}catch(_0x189be3){_0x4d4dfc['push'](_0x4d4dfc['shift']());}}}(_0x5909,0x46a3e));import{Plugin as _0x4daf16}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x44b6d8}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3375ae}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x153599}from'../footnotestracker.js';import{FootnotesEditing as _0x1838fb}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x4daf16{static get[_0x103fe3(0x1c8)](){const _0x39dbd2=_0x103fe3;return _0x39dbd2(0x1c0);}static get[_0x103fe3(0x1e9)](){return[_0x1838fb,_0x153599];}static get[_0x103fe3(0x1b0)](){return!0x0;}static get[_0x103fe3(0x192)](){return!0x0;}[_0x103fe3(0x1b6)](){const _0x4713d2=_0x103fe3,{editor:_0x2a0435}=this;_0x2a0435[_0x4713d2(0x1dc)][_0x4713d2(0x197)](_0x4713d2(0x1bc),_0x4713d2(0x1e7)),_0x2a0435[_0x4713d2(0x1dc)][_0x4713d2(0x197)](_0x4713d2(0x196),0x1),_0x2a0435[_0x4713d2(0x1df)][_0x4713d2(0x1c3)](_0x4713d2(0x1e1),new _0x44b6d8(_0x2a0435)),_0x2a0435[_0x4713d2(0x1df)][_0x4713d2(0x1c3)](_0x4713d2(0x1ae),new _0x3375ae(_0x2a0435)),this[_0x4713d2(0x1ab)](),this[_0x4713d2(0x1e0)](),this[_0x4713d2(0x1ad)](),this[_0x4713d2(0x1a8)]();}[_0x103fe3(0x1ab)](){const _0xf02c64=_0x103fe3,{editor:_0x503056}=this,{schema:_0x208fd2}=_0x503056[_0xf02c64(0x1de)];_0x208fd2[_0xf02c64(0x19b)](_0xf02c64(0x18d),{'allowAttributes':[_0xf02c64(0x1cf),_0xf02c64(0x1bd)]});}[_0x103fe3(0x1e0)](){const _0x4f493d=_0x103fe3,{editor:_0x206f7c}=this,{conversion:_0x1ca156,model:_0x4da0c4}=_0x206f7c,{schema:_0x4be7ba}=_0x4da0c4;_0x1ca156[_0x4f493d(0x1a0)](_0x4f493d(0x1c1))[_0x4f493d(0x1c3)](_0x47f2eb=>{const _0x1ea41d=_0x4f493d;_0x47f2eb['on'](_0x1ea41d(0x18b),(_0x49ea6e,_0x1e7630,_0x449a0e)=>{const _0x234656=_0x1ea41d,_0xc3ce9c=_0x1e7630[_0x234656(0x18e)],_0x67ec7f=_0x1e7630[_0x234656(0x18a)]?.[_0x234656(0x190)];_0xc3ce9c[_0x234656(0x1da)](_0x234656(0x18c))&&_0x67ec7f?.['is'](_0x234656(0x1c5),_0x234656(0x18d))&&(function(_0x13e24c,_0x57e6fd,_0xfc3030,_0x23746c){const _0xd25e09=_0x234656;if(!_0x23746c[_0xd25e09(0x1c7)](_0x57e6fd,_0xd25e09(0x1bd)))return;let _0x4ffe78=0x1;const _0x36cf6a=_0xfc3030[_0xd25e09(0x1a2)][_0xd25e09(0x191)](_0x13e24c,{'attributes':_0xd25e09(0x199)});if(_0x36cf6a){const _0x194b15=Number[_0xd25e09(0x194)](_0x13e24c[_0xd25e09(0x1ca)](_0xd25e09(0x199)),0xa);Number[_0xd25e09(0x1a9)](_0x194b15)||(_0x4ffe78=_0x194b15);}!_0x36cf6a&&_0x57e6fd[_0xd25e09(0x19f)](_0xd25e09(0x1bd))||_0xfc3030[_0xd25e09(0x1bf)][_0xd25e09(0x1cb)](_0xd25e09(0x1bd),_0x4ffe78,_0x57e6fd);}(_0xc3ce9c,_0x67ec7f,_0x449a0e,_0x4be7ba),function(_0x4d79cd,_0x18f806,_0xbfc15d,_0x20214a){const _0x4bffcc=_0x234656;if(!_0x20214a[_0x4bffcc(0x1c7)](_0x18f806,_0x4bffcc(0x1cf)))return;let _0x587b1b=_0x4bffcc(0x1e7),_0x9b2aa2=!0x1;if(_0xbfc15d[_0x4bffcc(0x1a2)][_0x4bffcc(0x191)](_0x4d79cd,{'attributes':_0x4bffcc(0x1b8)})){const _0x386d2e={0x1:_0x4bffcc(0x1e7),'a':_0x4bffcc(0x1ce),'A':_0x4bffcc(0x1c2),'i':_0x4bffcc(0x1c9),'I':_0x4bffcc(0x1dd)}[_0x4d79cd[_0x4bffcc(0x1ca)](_0x4bffcc(0x1b8))];_0x386d2e&&(_0x587b1b=_0x386d2e),_0x9b2aa2=!0x0;}_0xbfc15d[_0x4bffcc(0x1a2)][_0x4bffcc(0x191)](_0x4d79cd,{'styles':_0x4bffcc(0x19a)})&&(_0x587b1b=_0x4d79cd[_0x4bffcc(0x1d7)](_0x4bffcc(0x19a)),_0x9b2aa2=!0x0),!_0x9b2aa2&&_0x18f806[_0x4bffcc(0x19f)](_0x4bffcc(0x1cf))||_0xbfc15d[_0x4bffcc(0x1bf)][_0x4bffcc(0x1cb)](_0x4bffcc(0x1cf),_0x587b1b,_0x18f806);}(_0xc3ce9c,_0x67ec7f,_0x449a0e,_0x4be7ba));});}),_0x1ca156[_0x4f493d(0x1a0)](_0x4f493d(0x1ba))[_0x4f493d(0x1c3)](_0x5d7022=>{const _0x5dbaf2=_0x4f493d;_0x5d7022['on'](_0x5dbaf2(0x1d1),(_0x5917c2,_0x577230,_0x180764)=>{const _0x2ac366=_0x5dbaf2;if(!_0x180764[_0x2ac366(0x1a2)][_0x2ac366(0x191)](_0x577230[_0x2ac366(0x1bb)],_0x5917c2[_0x2ac366(0x1b4)]))return;const _0x4de288=M(_0x577230[_0x2ac366(0x1bb)],_0x180764[_0x2ac366(0x1ee)]),{attributeNewValue:_0x4d7361}=_0x577230;null==_0x4d7361||0x1===_0x4d7361?_0x180764[_0x2ac366(0x1bf)][_0x2ac366(0x1c6)](_0x2ac366(0x199),_0x4de288):_0x180764[_0x2ac366(0x1bf)][_0x2ac366(0x1cb)](_0x2ac366(0x199),String(_0x4d7361),_0x4de288);}),_0x5d7022['on'](_0x5dbaf2(0x1a6),(_0x2c449a,_0x4330f1,_0x411e0e)=>{const _0x44f375=_0x5dbaf2;if(!_0x411e0e[_0x44f375(0x1a2)][_0x44f375(0x191)](_0x4330f1[_0x44f375(0x1bb)],_0x2c449a[_0x44f375(0x1b4)]))return;const _0x3a4912=M(_0x4330f1[_0x44f375(0x1bb)],_0x411e0e[_0x44f375(0x1ee)]),{attributeNewValue:_0x35c562}=_0x4330f1;_0x35c562&&_0x44f375(0x1e7)!==_0x35c562?_0x411e0e[_0x44f375(0x1bf)][_0x44f375(0x1d8)](_0x44f375(0x19a),_0x35c562,_0x3a4912):_0x411e0e[_0x44f375(0x1bf)][_0x44f375(0x1e6)](_0x44f375(0x19a),_0x3a4912);});});}[_0x103fe3(0x1a8)](){const _0xa535de=_0x103fe3,{editor:_0x4690c5}=this,{model:_0xcb522e}=_0x4690c5,_0x3f377c=_0x4690c5[_0xa535de(0x1a3)][_0xa535de(0x1db)](_0x153599),_0x5050e3=this[_0xa535de(0x1a4)](),_0x1aad48=this[_0xa535de(0x1ec)]();_0xcb522e[_0xa535de(0x1d0)][_0xa535de(0x1d9)](_0x2bcc1d=>{const _0x18ad45=_0xa535de,_0x5b3329=_0xcb522e[_0x18ad45(0x1d0)][_0x18ad45(0x19c)][_0x18ad45(0x1a7)]();let _0x45e2fd=!0x1;for(const _0x5f1b3d of _0x5b3329){if(_0x18ad45(0x1b2)!==_0x5f1b3d[_0x18ad45(0x1b8)]||_0x18ad45(0x1d4)===_0x5f1b3d[_0x18ad45(0x1b4)])continue;const _0x44052d=_0xcb522e[_0x18ad45(0x1e5)](_0x5f1b3d[_0x18ad45(0x1e3)][_0x18ad45(0x1c4)]);for(const _0x1c7c3a of _0x44052d[_0x18ad45(0x1a1)]())_0x1c7c3a['is'](_0x18ad45(0x1c5),_0x18ad45(0x18d))&&(!_0x1c7c3a[_0x18ad45(0x19f)](_0x18ad45(0x1bd))&&_0xcb522e[_0x18ad45(0x1d5)][_0x18ad45(0x1c7)](_0x1c7c3a,_0x18ad45(0x1bd))&&(_0x2bcc1d[_0x18ad45(0x1cb)](_0x18ad45(0x1bd),_0x1aad48,_0x1c7c3a),_0x45e2fd=!0x0),!_0x1c7c3a[_0x18ad45(0x19f)](_0x18ad45(0x1cf))&&_0xcb522e[_0x18ad45(0x1d5)][_0x18ad45(0x1c7)](_0x1c7c3a,_0x18ad45(0x1cf))&&(_0x2bcc1d[_0x18ad45(0x1cb)](_0x18ad45(0x1cf),_0x5050e3,_0x1c7c3a),_0x45e2fd=!0x0));}return _0x45e2fd&&_0x3f377c[_0x18ad45(0x19d)](_0x2bcc1d),_0x45e2fd;});}[_0x103fe3(0x1ad)](){const _0x39d7a8=_0x103fe3,{editor:_0x2f5235}=this;_0x2f5235[_0x39d7a8(0x1a3)][_0x39d7a8(0x1db)](_0x153599)[_0x39d7a8(0x1ed)](_0x3511a6=>this[_0x39d7a8(0x198)](_0x3511a6));}[_0x103fe3(0x1a4)](){const _0x3939ea=_0x103fe3;return this[_0x3939ea(0x193)][_0x3939ea(0x1dc)][_0x3939ea(0x1db)](_0x3939ea(0x1bc));}[_0x103fe3(0x1ec)](){const _0x2c044e=_0x103fe3;return this[_0x2c044e(0x193)][_0x2c044e(0x1dc)][_0x2c044e(0x1db)](_0x2c044e(0x196));}[_0x103fe3(0x198)]({container:_0x7763fe,value:_0x1bddba,digits:_0xd3dcd9}){const _0x229c2c=_0x103fe3,_0x53c57e=_0x7763fe[_0x229c2c(0x1ca)](_0x229c2c(0x1cf)),_0x4840cd=_0x7763fe[_0x229c2c(0x1ca)](_0x229c2c(0x1bd)),_0x43baaa=Math[_0x229c2c(0x1ac)](_0x1bddba)+(_0x4840cd??0x1)-0x1;switch(_0x53c57e){case _0x229c2c(0x1be):return function(_0x5c312c,_0x3b8d9e){const _0x1d988c=_0x229c2c;return String(_0x5c312c)[_0x1d988c(0x19e)](_0x3b8d9e,'0');}(_0x43baaa,Math[_0x229c2c(0x1b1)](0x2,_0xd3dcd9));case _0x229c2c(0x1ce):case _0x229c2c(0x1a5):return N(_0x43baaa,!0x1);case _0x229c2c(0x1c2):case _0x229c2c(0x1e8):return N(_0x43baaa,!0x0);case _0x229c2c(0x1c9):return X(_0x43baaa,!0x1);case _0x229c2c(0x1dd):return X(_0x43baaa,!0x0);default:return String(_0x43baaa);}}}function M(_0x45600f,_0x531bb2){const _0x458256=_0x103fe3,_0x4c9415=_0x531bb2[_0x458256(0x1b3)](_0x45600f);return Array[_0x458256(0x1d3)](_0x4c9415[_0x458256(0x1b9)]())[_0x458256(0x1d6)](_0x5b378c=>_0x5b378c['is'](_0x458256(0x1c5),'ol')&&_0x5b378c[_0x458256(0x1da)](_0x458256(0x18c)));}function _0x2c66(_0x449d65,_0x3927ce){const _0x590906=_0x5909();return _0x2c66=function(_0x2c66de,_0xd88b54){_0x2c66de=_0x2c66de-0x18a;let _0x23c218=_0x590906[_0x2c66de];return _0x23c218;},_0x2c66(_0x449d65,_0x3927ce);}function N(_0x33f23b,_0x286243){const _0x41af1f=_0x103fe3;let _0x9609ee='',_0x4b1055=_0x33f23b;for(;_0x4b1055>0x0;){const _0x5ccf8d=(_0x4b1055-0x1)%0x1a;_0x9609ee=String[_0x41af1f(0x1b7)](0x61+_0x5ccf8d)+_0x9609ee,_0x4b1055=Math[_0x41af1f(0x1ac)]((_0x4b1055-0x1)/0x1a);}return _0x286243?_0x9609ee[_0x41af1f(0x18f)]():_0x9609ee;}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 _0x5909(){const _0x583066=['4oKShCa','position','499660TMcRRP','createRangeOn','removeStyle','decimal','upper-latin','requires','1340970CDTzzt','2385xljcHv','_getDefaultStartIndex','setFootnoteFormatter','mapper','modelCursor','element:ol','footnotes-list','footnotesDefinitions','viewItem','toUpperCase','parent','consume','isPremiumPlugin','editor','parseInt','142436eBkyKB','footnotes.footnotesProperties.defaultStartIndex','define','_formatFootnoteListValue','start','list-style-type','extend','differ','_updateFootnotesCounters','padStart','hasAttribute','for','getItems','consumable','plugins','_getDefaultListStyle','lower-latin','attribute:footnotesListStyle:footnotesDefinitions','getChanges','_definePostfixer','isNaN','toLowerCase','_defineSchema','floor','_defineFormatter','footnotesStart','2912sCSWsn','isOfficialPlugin','max','insert','toViewElement','name','118322NQJlWI','init','fromCharCode','type','getChildren','downcast','item','footnotes.footnotesProperties.defaultListStyle','footnotesListStart','decimal-leading-zero','writer','FootnotesPropertiesEditing','upcast','upper-alpha','add','nodeAfter','element','removeAttribute','checkAttribute','pluginName','lower-roman','getAttribute','setAttribute','2467010zxKtRb','3082380YLulaV','lower-alpha','footnotesListStyle','document','attribute:footnotesListStart:footnotesDefinitions','3mtDiLX','from','$text','schema','find','getStyle','setStyle','registerPostFixer','hasClass','get','config','upper-roman','model','commands','_defineConverters','footnotesStyle'];_0x5909=function(){return _0x583066;};return _0x5909();}function X(_0x1f62e8,_0x127461){const _0x51018b=_0x103fe3;let _0x8c826a='',_0x17e0ef=_0x1f62e8;for(const {value:_0x2869ff,numeral:_0x2cb3b0}of V)for(;_0x17e0ef>=_0x2869ff;)_0x8c826a+=_0x2cb3b0,_0x17e0ef-=_0x2869ff;return _0x127461?_0x8c826a:_0x8c826a[_0x51018b(0x1aa)]();}
23
+ const _0x57f1de=_0x293c;(function(_0x1239cf,_0x29fd00){const _0x5a8d98=_0x293c,_0x1afe93=_0x1239cf();while(!![]){try{const _0x3e4f24=parseInt(_0x5a8d98(0x199))/0x1*(parseInt(_0x5a8d98(0x1a4))/0x2)+parseInt(_0x5a8d98(0x186))/0x3+-parseInt(_0x5a8d98(0x1c0))/0x4+parseInt(_0x5a8d98(0x19e))/0x5*(parseInt(_0x5a8d98(0x1d8))/0x6)+parseInt(_0x5a8d98(0x18a))/0x7+-parseInt(_0x5a8d98(0x1d7))/0x8+parseInt(_0x5a8d98(0x1d0))/0x9*(-parseInt(_0x5a8d98(0x190))/0xa);if(_0x3e4f24===_0x29fd00)break;else _0x1afe93['push'](_0x1afe93['shift']());}catch(_0x50efc9){_0x1afe93['push'](_0x1afe93['shift']());}}}(_0x5d76,0xba0de));import{Plugin as _0x188d1e}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x30964a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x5a6d4e}from'./commands/footnotesstartcommand.js';function _0x5d76(){const _0x594584=['schema','document','_definePostfixer','4302300fOCXrf','FootnotesPropertiesEditing','decimal','_updateFootnotesCounters','5226746aaNfZT','type','getAttribute','_defineSchema','footnotes.footnotesProperties.defaultStartIndex','getChildren','1505570vPoknk','viewItem','toLowerCase','consumable','createRangeOn','fromCharCode','parseInt','decimal-leading-zero','getItems','2zimYMJ','hasClass','_defineFormatter','start','toUpperCase','40irowij','hasAttribute','removeAttribute','lower-alpha','_getDefaultStartIndex','nodeAfter','1136374RDqprk','position','$text','padStart','registerPostFixer','insert','name','pluginName','init','attribute:footnotesListStyle:footnotesDefinitions','getChanges','element','isOfficialPlugin','downcast','setFootnoteFormatter','plugins','footnotesStart','list-style-type','for','footnotesDefinitions','from','toViewElement','floor','parent','element:ol','upper-roman','add','lower-latin','4882528KSIpxk','consume','footnotesListStart','mapper','getStyle','get','upper-latin','_getDefaultListStyle','item','footnotesListStyle','isNaN','_defineConverters','setAttribute','attribute:footnotesListStart:footnotesDefinitions','lower-roman','setStyle','99AGfeYn','checkAttribute','editor','max','config','upcast','find','7843992XIrdez','976638jrLxfB','isPremiumPlugin','_formatFootnoteListValue','footnotes.footnotesProperties.defaultListStyle','footnotes-list','model','requires','commands','extend','footnotesStyle','removeStyle','modelCursor','writer','differ','upper-alpha','define'];_0x5d76=function(){return _0x594584;};return _0x5d76();}import{FootnotesTracker as _0x25e049}from'../footnotestracker.js';import{FootnotesEditing as _0x505301}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x188d1e{static get[_0x57f1de(0x1ab)](){const _0x1a8a58=_0x57f1de;return _0x1a8a58(0x187);}static get[_0x57f1de(0x1de)](){return[_0x505301,_0x25e049];}static get[_0x57f1de(0x1b0)](){return!0x0;}static get[_0x57f1de(0x1d9)](){return!0x0;}[_0x57f1de(0x1ac)](){const _0x2d3ee1=_0x57f1de,{editor:_0x11c000}=this;_0x11c000[_0x2d3ee1(0x1d4)][_0x2d3ee1(0x1e7)](_0x2d3ee1(0x1db),_0x2d3ee1(0x188)),_0x11c000[_0x2d3ee1(0x1d4)][_0x2d3ee1(0x1e7)](_0x2d3ee1(0x18e),0x1),_0x11c000[_0x2d3ee1(0x1df)][_0x2d3ee1(0x1be)](_0x2d3ee1(0x1e1),new _0x30964a(_0x11c000)),_0x11c000[_0x2d3ee1(0x1df)][_0x2d3ee1(0x1be)](_0x2d3ee1(0x1b4),new _0x5a6d4e(_0x11c000)),this[_0x2d3ee1(0x18d)](),this[_0x2d3ee1(0x1cb)](),this[_0x2d3ee1(0x19b)](),this[_0x2d3ee1(0x185)]();}[_0x57f1de(0x18d)](){const _0x478034=_0x57f1de,{editor:_0x3f7f00}=this,{schema:_0x6254f0}=_0x3f7f00[_0x478034(0x1dd)];_0x6254f0[_0x478034(0x1e0)](_0x478034(0x1b7),{'allowAttributes':[_0x478034(0x1c9),_0x478034(0x1c2)]});}[_0x57f1de(0x1cb)](){const _0x27d865=_0x57f1de,{editor:_0x3ed3d2}=this,{conversion:_0x4c8aa0,model:_0x206f60}=_0x3ed3d2,{schema:_0xff8b4}=_0x206f60;_0x4c8aa0[_0x27d865(0x1b6)](_0x27d865(0x1d5))[_0x27d865(0x1be)](_0x211bd4=>{const _0x401e54=_0x27d865;_0x211bd4['on'](_0x401e54(0x1bc),(_0x904571,_0x312d6c,_0x3a6049)=>{const _0x2758cb=_0x401e54,_0x41d3ba=_0x312d6c[_0x2758cb(0x191)],_0x2ce245=_0x312d6c[_0x2758cb(0x1e3)]?.[_0x2758cb(0x1bb)];_0x41d3ba[_0x2758cb(0x19a)](_0x2758cb(0x1dc))&&_0x2ce245?.['is'](_0x2758cb(0x1af),_0x2758cb(0x1b7))&&(function(_0x2f41d5,_0x26bd26,_0x59fd1d,_0x2125d1){const _0x3bd5b6=_0x2758cb;if(!_0x2125d1[_0x3bd5b6(0x1d1)](_0x26bd26,_0x3bd5b6(0x1c2)))return;let _0x2fe101=0x1;const _0x2a6bc3=_0x59fd1d[_0x3bd5b6(0x193)][_0x3bd5b6(0x1c1)](_0x2f41d5,{'attributes':_0x3bd5b6(0x19c)});if(_0x2a6bc3){const _0x1cbe4d=Number[_0x3bd5b6(0x196)](_0x2f41d5[_0x3bd5b6(0x18c)](_0x3bd5b6(0x19c)),0xa);Number[_0x3bd5b6(0x1ca)](_0x1cbe4d)||(_0x2fe101=_0x1cbe4d);}!_0x2a6bc3&&_0x26bd26[_0x3bd5b6(0x19f)](_0x3bd5b6(0x1c2))||_0x59fd1d[_0x3bd5b6(0x1e4)][_0x3bd5b6(0x1cc)](_0x3bd5b6(0x1c2),_0x2fe101,_0x26bd26);}(_0x41d3ba,_0x2ce245,_0x3a6049,_0xff8b4),function(_0x5b2a7d,_0x2b313e,_0x10f6e1,_0x2404b8){const _0x2c2b6c=_0x2758cb;if(!_0x2404b8[_0x2c2b6c(0x1d1)](_0x2b313e,_0x2c2b6c(0x1c9)))return;let _0x1e1047=_0x2c2b6c(0x188),_0x2d541f=!0x1;if(_0x10f6e1[_0x2c2b6c(0x193)][_0x2c2b6c(0x1c1)](_0x5b2a7d,{'attributes':_0x2c2b6c(0x18b)})){const _0x95247d={0x1:_0x2c2b6c(0x188),'a':_0x2c2b6c(0x1a1),'A':_0x2c2b6c(0x1e6),'i':_0x2c2b6c(0x1ce),'I':_0x2c2b6c(0x1bd)}[_0x5b2a7d[_0x2c2b6c(0x18c)](_0x2c2b6c(0x18b))];_0x95247d&&(_0x1e1047=_0x95247d),_0x2d541f=!0x0;}_0x10f6e1[_0x2c2b6c(0x193)][_0x2c2b6c(0x1c1)](_0x5b2a7d,{'styles':_0x2c2b6c(0x1b5)})&&(_0x1e1047=_0x5b2a7d[_0x2c2b6c(0x1c4)](_0x2c2b6c(0x1b5)),_0x2d541f=!0x0),!_0x2d541f&&_0x2b313e[_0x2c2b6c(0x19f)](_0x2c2b6c(0x1c9))||_0x10f6e1[_0x2c2b6c(0x1e4)][_0x2c2b6c(0x1cc)](_0x2c2b6c(0x1c9),_0x1e1047,_0x2b313e);}(_0x41d3ba,_0x2ce245,_0x3a6049,_0xff8b4));});}),_0x4c8aa0[_0x27d865(0x1b6)](_0x27d865(0x1b1))[_0x27d865(0x1be)](_0x2c1806=>{const _0x1c0b51=_0x27d865;_0x2c1806['on'](_0x1c0b51(0x1cd),(_0x40c95f,_0x7f7843,_0x3345c8)=>{const _0x45b9a5=_0x1c0b51;if(!_0x3345c8[_0x45b9a5(0x193)][_0x45b9a5(0x1c1)](_0x7f7843[_0x45b9a5(0x1c8)],_0x40c95f[_0x45b9a5(0x1aa)]))return;const _0xb4e7a=M(_0x7f7843[_0x45b9a5(0x1c8)],_0x3345c8[_0x45b9a5(0x1c3)]),{attributeNewValue:_0x59cc2c}=_0x7f7843;null==_0x59cc2c||0x1===_0x59cc2c?_0x3345c8[_0x45b9a5(0x1e4)][_0x45b9a5(0x1a0)](_0x45b9a5(0x19c),_0xb4e7a):_0x3345c8[_0x45b9a5(0x1e4)][_0x45b9a5(0x1cc)](_0x45b9a5(0x19c),String(_0x59cc2c),_0xb4e7a);}),_0x2c1806['on'](_0x1c0b51(0x1ad),(_0xfd882d,_0x161d06,_0x33a397)=>{const _0x216546=_0x1c0b51;if(!_0x33a397[_0x216546(0x193)][_0x216546(0x1c1)](_0x161d06[_0x216546(0x1c8)],_0xfd882d[_0x216546(0x1aa)]))return;const _0x504373=M(_0x161d06[_0x216546(0x1c8)],_0x33a397[_0x216546(0x1c3)]),{attributeNewValue:_0x3179b8}=_0x161d06;_0x3179b8&&_0x216546(0x188)!==_0x3179b8?_0x33a397[_0x216546(0x1e4)][_0x216546(0x1cf)](_0x216546(0x1b5),_0x3179b8,_0x504373):_0x33a397[_0x216546(0x1e4)][_0x216546(0x1e2)](_0x216546(0x1b5),_0x504373);});});}[_0x57f1de(0x185)](){const _0x14f524=_0x57f1de,{editor:_0x5befdb}=this,{model:_0x19619f}=_0x5befdb,_0x13ba4d=_0x5befdb[_0x14f524(0x1b3)][_0x14f524(0x1c5)](_0x25e049),_0x50e671=this[_0x14f524(0x1c7)](),_0x88478a=this[_0x14f524(0x1a2)]();_0x19619f[_0x14f524(0x184)][_0x14f524(0x1a8)](_0x2868c2=>{const _0x391571=_0x14f524,_0x5438d1=_0x19619f[_0x391571(0x184)][_0x391571(0x1e5)][_0x391571(0x1ae)]();let _0x3f88f5=!0x1;for(const _0x562bd3 of _0x5438d1){if(_0x391571(0x1a9)!==_0x562bd3[_0x391571(0x18b)]||_0x391571(0x1a6)===_0x562bd3[_0x391571(0x1aa)])continue;const _0x65ef9=_0x19619f[_0x391571(0x194)](_0x562bd3[_0x391571(0x1a5)][_0x391571(0x1a3)]);for(const _0x42b871 of _0x65ef9[_0x391571(0x198)]())_0x42b871['is'](_0x391571(0x1af),_0x391571(0x1b7))&&(!_0x42b871[_0x391571(0x19f)](_0x391571(0x1c2))&&_0x19619f[_0x391571(0x183)][_0x391571(0x1d1)](_0x42b871,_0x391571(0x1c2))&&(_0x2868c2[_0x391571(0x1cc)](_0x391571(0x1c2),_0x88478a,_0x42b871),_0x3f88f5=!0x0),!_0x42b871[_0x391571(0x19f)](_0x391571(0x1c9))&&_0x19619f[_0x391571(0x183)][_0x391571(0x1d1)](_0x42b871,_0x391571(0x1c9))&&(_0x2868c2[_0x391571(0x1cc)](_0x391571(0x1c9),_0x50e671,_0x42b871),_0x3f88f5=!0x0));}return _0x3f88f5&&_0x13ba4d[_0x391571(0x189)](_0x2868c2),_0x3f88f5;});}[_0x57f1de(0x19b)](){const _0x1f7d4a=_0x57f1de,{editor:_0x2d5d5f}=this;_0x2d5d5f[_0x1f7d4a(0x1b3)][_0x1f7d4a(0x1c5)](_0x25e049)[_0x1f7d4a(0x1b2)](_0x35823b=>this[_0x1f7d4a(0x1da)](_0x35823b));}[_0x57f1de(0x1c7)](){const _0x2aba6c=_0x57f1de;return this[_0x2aba6c(0x1d2)][_0x2aba6c(0x1d4)][_0x2aba6c(0x1c5)](_0x2aba6c(0x1db));}[_0x57f1de(0x1a2)](){const _0x307450=_0x57f1de;return this[_0x307450(0x1d2)][_0x307450(0x1d4)][_0x307450(0x1c5)](_0x307450(0x18e));}[_0x57f1de(0x1da)]({container:_0x10689c,value:_0x9c14b2,digits:_0x35bdc1}){const _0x440a74=_0x57f1de,_0x562ec8=_0x10689c[_0x440a74(0x18c)](_0x440a74(0x1c9)),_0x12b69c=_0x10689c[_0x440a74(0x18c)](_0x440a74(0x1c2)),_0x347a6b=Math[_0x440a74(0x1ba)](_0x9c14b2)+(_0x12b69c??0x1)-0x1;switch(_0x562ec8){case _0x440a74(0x197):return function(_0x53d72b,_0x47db52){const _0x2eca48=_0x440a74;return String(_0x53d72b)[_0x2eca48(0x1a7)](_0x47db52,'0');}(_0x347a6b,Math[_0x440a74(0x1d3)](0x2,_0x35bdc1));case _0x440a74(0x1a1):case _0x440a74(0x1bf):return N(_0x347a6b,!0x1);case _0x440a74(0x1e6):case _0x440a74(0x1c6):return N(_0x347a6b,!0x0);case _0x440a74(0x1ce):return X(_0x347a6b,!0x1);case _0x440a74(0x1bd):return X(_0x347a6b,!0x0);default:return String(_0x347a6b);}}}function M(_0x2afae5,_0x28e907){const _0x254ee5=_0x57f1de,_0x26ecde=_0x28e907[_0x254ee5(0x1b9)](_0x2afae5);return Array[_0x254ee5(0x1b8)](_0x26ecde[_0x254ee5(0x18f)]())[_0x254ee5(0x1d6)](_0x3617a2=>_0x3617a2['is'](_0x254ee5(0x1af),'ol')&&_0x3617a2[_0x254ee5(0x19a)](_0x254ee5(0x1dc)));}function N(_0x5c1d5d,_0x2f0570){const _0x38c45f=_0x57f1de;let _0x3f61d3='',_0x16e071=_0x5c1d5d;for(;_0x16e071>0x0;){const _0x7478f3=(_0x16e071-0x1)%0x1a;_0x3f61d3=String[_0x38c45f(0x195)](0x61+_0x7478f3)+_0x3f61d3,_0x16e071=Math[_0x38c45f(0x1ba)]((_0x16e071-0x1)/0x1a);}return _0x2f0570?_0x3f61d3[_0x38c45f(0x19d)]():_0x3f61d3;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function _0x293c(_0x5e9f86,_0x1d7570){const _0x5d769c=_0x5d76();return _0x293c=function(_0x293cf7,_0x50e132){_0x293cf7=_0x293cf7-0x183;let _0x34fada=_0x5d769c[_0x293cf7];return _0x34fada;},_0x293c(_0x5e9f86,_0x1d7570);}function X(_0x76f814,_0x5c5196){const _0x17fcca=_0x57f1de;let _0x1dbebc='',_0x3aa127=_0x76f814;for(const {value:_0x3236ac,numeral:_0x27fe4f}of V)for(;_0x3aa127>=_0x3236ac;)_0x1dbebc+=_0x27fe4f,_0x3aa127-=_0x3236ac;return _0x5c5196?_0x1dbebc:_0x1dbebc[_0x17fcca(0x192)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x440bab,ButtonView as _0x3b332d,ContextualBalloon as _0x374c06,createDropdown as _0x1a07c3}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4a0089}from'ckeditor5/src/widget.js';import{Plugin as _0x15b53c}from'ckeditor5/src/core.js';import{IconFootnote as _0x4669ba,IconListStyleDecimal as _0x32d08c,IconListStyleDecimalLeadingZero as _0x2ecafa,IconListStyleLowerLatin as _0x21c07d,IconListStyleLowerRoman as _0x256892,IconListStyleUpperLatin as _0x55c667,IconListStyleUpperRoman as _0x4fb643}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x52e574}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x582424}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x15b53c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x374c06,_0x4a0089];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x322a00}=this,{componentFactory:_0x58ff7e}=_0x322a00['ui'];_0x322a00['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x58ff7e['add']('footnotesStyle',function(_0x1a5d99){return _0x44f6c8=>{const {t:t}=_0x44f6c8,_0x522cbb=_0x1a5d99['commands']['get']('footnotesStyle'),_0x1bdd4e=_0x1a07c3(_0x44f6c8),{buttonView:_0x19f70c}=_0x1bdd4e;return _0x1bdd4e['class']='ck-footnotes-styles-dropdown',_0x1bdd4e['bind']('isEnabled')['to'](_0x522cbb,'isEnabled'),_0x19f70c['set']({'label':t('Footnotes\x20style'),'icon':_0x4669ba,'tooltip':!0x0}),_0x1bdd4e['once']('change:isOpen',()=>{const _0x47d0df=function({editor:_0x47167a,dropdownView:_0x109523}){const {t:t}=_0x47167a['locale'],_0x2c0dcc=t('Footnotes\x20definitions\x20styles'),_0x4f5588=function(_0x20d3ea){const t=_0x20d3ea['locale']['t'],_0x492790=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x32d08c},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ecafa},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x256892},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4fb643},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x21c07d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x55c667}];return _0x492790['map'](function(_0x24f51c){const _0x25ba05=_0x24f51c['locale'];return({label:_0x394903,icon:_0xa6e90b,tooltip:_0x5adf5d,style:_0x545076})=>{const _0xfeb63a=_0x24f51c['commands']['get']('footnotesStyle'),_0x18264b=new _0x3b332d(_0x25ba05);return _0x18264b['set']({'label':_0x394903,'icon':_0xa6e90b,'tooltip':_0x5adf5d}),_0x18264b['bind']('isOn')['to'](_0xfeb63a,'value',_0x37fef8=>_0x37fef8===_0x545076),_0x18264b['bind']('isEnabled')['to'](_0xfeb63a,'isEnabled'),_0x18264b['on']('execute',()=>{_0x24f51c['execute']('footnotesStyle',{'value':_0x545076}),_0x24f51c['editing']['view']['focus']();}),_0x18264b;};}(_0x20d3ea));}(_0x47167a),_0x54239e=new _0x52e574(_0x47167a['locale'],{'styleGridAriaLabel':_0x2c0dcc,'styleButtonViews':_0x4f5588});return _0x54239e['delegate']('execute')['to'](_0x109523),_0x54239e['on']('footnotesListStart',(_0x249490,_0x55ad5d)=>{_0x47167a['execute']('footnotesStart',{'value':_0x55ad5d['startIndex']});}),_0x54239e;}({'editor':_0x1a5d99,'dropdownView':_0x1bdd4e});_0x1bdd4e['panelView']['children']['add'](_0x47d0df);}),_0x1bdd4e;};}(_0x322a00));}['afterInit'](){const {editor:_0x560518}=this,{t:t}=_0x560518['locale'],_0x2736f5=_0x560518['plugins']['get'](_0x4a0089),{defaultPositions:_0x2ef34d}=_0x440bab;_0x2736f5['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x560518['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x4c2af5=>{let _0x202e18=_0x4c2af5['getFirstPosition']()?.['parent'];return _0x202e18?.['is']('$text')&&(_0x202e18=_0x202e18['parent']),_0x202e18?.['is']('element')?_0x202e18['findAncestor'](_0x582424):null;},'positions':[_0x2ef34d['southArrowNorth'],_0x2ef34d['southArrowNorthMiddleWest'],_0x2ef34d['southArrowNorthMiddleEast'],_0x2ef34d['southArrowNorthWest'],_0x2ef34d['southArrowNorthEast'],_0x2ef34d['northArrowSouth'],_0x2ef34d['northArrowSouthMiddleWest'],_0x2ef34d['northArrowSouthMiddleEast'],_0x2ef34d['northArrowSouthWest'],_0x2ef34d['northArrowSouthEast'],_0x2ef34d['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x176670,ButtonView as _0x21a4e9,ContextualBalloon as _0x5069f,createDropdown as _0x1f88a4}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x354257}from'ckeditor5/src/widget.js';import{Plugin as _0x133983}from'ckeditor5/src/core.js';import{IconFootnote as _0x32a7a2,IconListStyleDecimal as _0x41960,IconListStyleDecimalLeadingZero as _0x3804c,IconListStyleLowerLatin as _0x58f926,IconListStyleLowerRoman as _0x39dd2b,IconListStyleUpperLatin as _0x2ef985,IconListStyleUpperRoman as _0x3b8e7a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x49342e}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x538940}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x133983{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5069f,_0x354257];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x14e191}=this,{componentFactory:_0x4ae1b8}=_0x14e191['ui'];_0x14e191['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4ae1b8['add']('footnotesStyle',function(_0x98b425){return _0x3f4f8e=>{const {t:t}=_0x3f4f8e,_0x50dbe4=_0x98b425['commands']['get']('footnotesStyle'),_0x1e984d=_0x1f88a4(_0x3f4f8e),{buttonView:_0x2d648c}=_0x1e984d;return _0x1e984d['class']='ck-footnotes-styles-dropdown',_0x1e984d['bind']('isEnabled')['to'](_0x50dbe4,'isEnabled'),_0x2d648c['set']({'label':t('Footnotes\x20style'),'icon':_0x32a7a2,'tooltip':!0x0}),_0x1e984d['once']('change:isOpen',()=>{const _0x20d37f=function({editor:_0x200267,dropdownView:_0x343368}){const {t:t}=_0x200267['locale'],_0x4111c0=t('Footnotes\x20definitions\x20styles'),_0x2f3af6=function(_0x43695e){const t=_0x43695e['locale']['t'],_0x7cf036=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x41960},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3804c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x39dd2b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3b8e7a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x58f926},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2ef985}];return _0x7cf036['map'](function(_0x458299){const _0x51286b=_0x458299['locale'];return({label:_0x253f31,icon:_0x2990b8,tooltip:_0x49f4ab,style:_0x2707a0})=>{const _0x493df5=_0x458299['commands']['get']('footnotesStyle'),_0x17c76c=new _0x21a4e9(_0x51286b);return _0x17c76c['set']({'label':_0x253f31,'icon':_0x2990b8,'tooltip':_0x49f4ab}),_0x17c76c['bind']('isOn')['to'](_0x493df5,'value',_0x297a24=>_0x297a24===_0x2707a0),_0x17c76c['bind']('isEnabled')['to'](_0x493df5,'isEnabled'),_0x17c76c['on']('execute',()=>{_0x458299['execute']('footnotesStyle',{'value':_0x2707a0}),_0x458299['editing']['view']['focus']();}),_0x17c76c;};}(_0x43695e));}(_0x200267),_0x507cd2=new _0x49342e(_0x200267['locale'],{'styleGridAriaLabel':_0x4111c0,'styleButtonViews':_0x2f3af6});return _0x507cd2['delegate']('execute')['to'](_0x343368),_0x507cd2['on']('footnotesListStart',(_0x59fa7f,_0x49f9aa)=>{_0x200267['execute']('footnotesStart',{'value':_0x49f9aa['startIndex']});}),_0x507cd2;}({'editor':_0x98b425,'dropdownView':_0x1e984d});_0x1e984d['panelView']['children']['add'](_0x20d37f);}),_0x1e984d;};}(_0x14e191));}['afterInit'](){const {editor:_0x4b1635}=this,{t:t}=_0x4b1635['locale'],_0x34d84b=_0x4b1635['plugins']['get'](_0x354257),{defaultPositions:_0x5b2089}=_0x176670;_0x34d84b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b1635['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x161476=>{let _0x42c955=_0x161476['getFirstPosition']()?.['parent'];return _0x42c955?.['is']('$text')&&(_0x42c955=_0x42c955['parent']),_0x42c955?.['is']('element')?_0x42c955['findAncestor'](_0x538940):null;},'positions':[_0x5b2089['southArrowNorth'],_0x5b2089['southArrowNorthMiddleWest'],_0x5b2089['southArrowNorthMiddleEast'],_0x5b2089['southArrowNorthWest'],_0x5b2089['southArrowNorthEast'],_0x5b2089['northArrowSouth'],_0x5b2089['northArrowSouthMiddleWest'],_0x5b2089['northArrowSouthMiddleEast'],_0x5b2089['northArrowSouthWest'],_0x5b2089['northArrowSouthEast'],_0x5b2089['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x36e28f,View as _0x3d9777,ViewCollection as _0x14adae,FocusCycler as _0x4f96a7,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3d9777{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x14adae();['focusCycler'];constructor(_0x2d0a7a,{styleButtonViews:_0x5dfc9f,styleGridAriaLabel:_0x1a18be}){super(_0x2d0a7a),(this['focusCycler']=new _0x4f96a7({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5dfc9f,_0x1a18be),[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 _0x5bcbc0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5bcbc0['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x32270b=_0x41e64a=>_0x41e64a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x32270b),this['keystrokes']['set']('arrowleft',_0x32270b),this['keystrokes']['set']('arrowup',_0x32270b),this['keystrokes']['set']('arrowdown',_0x32270b);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12ed8c,_0x157e4e){const _0xd6e547=new _0x3d9777(this['locale']);return _0xd6e547['children']=_0xd6e547['createCollection'](),_0xd6e547['children']['addMany'](_0x12ed8c),_0xd6e547['setTemplate']({'tag':'div','attributes':{'aria-label':_0x157e4e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xd6e547['children']}),_0xd6e547['children']['delegate']('execute')['to'](this),_0xd6e547['focus']=function(){for(const _0x20dff3 of this['children'])if(_0x20dff3 instanceof _0x36e28f&&_0x20dff3['isOn'])return void _0x20dff3['focus']();this['children']['first']['focus']();},_0xd6e547['focusTracker']=new ot(),_0xd6e547['keystrokes']=new rt(),_0xd6e547['render'](),_0xd6e547['keystrokes']['listenTo'](_0xd6e547['element']),this['children']['add'](_0xd6e547),_0xd6e547;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x18f148=this['_createStartIndexPropertyView'](),_0x417805=[_0x18f148],_0x1a6ea4=new st(this['locale'],_0x417805);return _0x1a6ea4['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x1a6ea4['buttonView']['bind']('isEnabled')['toMany'](_0x417805,'isEnabled',(..._0x4d33b9)=>_0x4d33b9['some'](_0x4a6d73=>_0x4a6d73)),_0x1a6ea4['buttonView']['on']('change:isEnabled',(_0x314f0b,_0x120828,_0x11462c)=>{_0x11462c||(_0x1a6ea4['isCollapsed']=!0x0);}),this['children']['add'](_0x1a6ea4),[_0x18f148,_0x1a6ea4];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x473c0a=new it(this['locale'],et);return _0x473c0a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x473c0a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x473c0a['fieldView']['on']('input',()=>{const _0x2e2fd9=_0x473c0a['fieldView']['element'],_0x1b3861=_0x2e2fd9['valueAsNumber'];Number['isNaN'](_0x1b3861)?_0x473c0a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2e2fd9['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1b3861}):_0x473c0a['errorText']=t(_0x1b3861<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x473c0a;}}
23
+ import{ButtonView as _0x327771,View as _0x42bd43,ViewCollection as _0x558f06,FocusCycler as _0x31aa4d,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x42bd43{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x558f06();['focusCycler'];constructor(_0x54278a,{styleButtonViews:_0x4bd034,styleGridAriaLabel:_0x471b32}){super(_0x54278a),(this['focusCycler']=new _0x31aa4d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4bd034,_0x471b32),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x51eb07 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x51eb07['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x1cc572=_0x145ac6=>_0x145ac6['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1cc572),this['keystrokes']['set']('arrowleft',_0x1cc572),this['keystrokes']['set']('arrowup',_0x1cc572),this['keystrokes']['set']('arrowdown',_0x1cc572);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xc6ffa7,_0x4eee33){const _0x4f7fb4=new _0x42bd43(this['locale']);return _0x4f7fb4['children']=_0x4f7fb4['createCollection'](),_0x4f7fb4['children']['addMany'](_0xc6ffa7),_0x4f7fb4['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4eee33,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4f7fb4['children']}),_0x4f7fb4['children']['delegate']('execute')['to'](this),_0x4f7fb4['focus']=function(){for(const _0x3e450d of this['children'])if(_0x3e450d instanceof _0x327771&&_0x3e450d['isOn'])return void _0x3e450d['focus']();this['children']['first']['focus']();},_0x4f7fb4['focusTracker']=new ot(),_0x4f7fb4['keystrokes']=new rt(),_0x4f7fb4['render'](),_0x4f7fb4['keystrokes']['listenTo'](_0x4f7fb4['element']),this['children']['add'](_0x4f7fb4),_0x4f7fb4;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4e5375=this['_createStartIndexPropertyView'](),_0x3c4b33=[_0x4e5375],_0x534b48=new st(this['locale'],_0x3c4b33);return _0x534b48['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x534b48['buttonView']['bind']('isEnabled')['toMany'](_0x3c4b33,'isEnabled',(..._0x578379)=>_0x578379['some'](_0x4c8c3d=>_0x4c8c3d)),_0x534b48['buttonView']['on']('change:isEnabled',(_0x2f6d25,_0x495431,_0x216f50)=>{_0x216f50||(_0x534b48['isCollapsed']=!0x0);}),this['children']['add'](_0x534b48),[_0x4e5375,_0x534b48];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3aa81c=new it(this['locale'],et);return _0x3aa81c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3aa81c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3aa81c['fieldView']['on']('input',()=>{const _0x75a370=_0x3aa81c['fieldView']['element'],_0x1064f2=_0x75a370['valueAsNumber'];Number['isNaN'](_0x1064f2)?_0x3aa81c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x75a370['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1064f2}):_0x3aa81c['errorText']=t(_0x1064f2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3aa81c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xc7ef35=_0x4a3f;(function(_0x488263,_0x1c59f7){var _0x305648=_0x4a3f,_0x2c532e=_0x488263();while(!![]){try{var _0x200008=parseInt(_0x305648(0xe6))/0x1+parseInt(_0x305648(0xe8))/0x2*(parseInt(_0x305648(0xe9))/0x3)+-parseInt(_0x305648(0xdd))/0x4+-parseInt(_0x305648(0xe1))/0x5+parseInt(_0x305648(0xde))/0x6+parseInt(_0x305648(0xe4))/0x7+-parseInt(_0x305648(0xdf))/0x8*(parseInt(_0x305648(0xe3))/0x9);if(_0x200008===_0x1c59f7)break;else _0x2c532e['push'](_0x2c532e['shift']());}catch(_0x315a1c){_0x2c532e['push'](_0x2c532e['shift']());}}}(_0x19fa,0xca716));import{Plugin as _0x5e43f2}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x420898}from'./footnotesproperties/footnotespropertiesediting.js';function _0x19fa(){var _0xf182c8=['3704905Upvkbw','requires','7220565bFYhss','11432092KRumhS','pluginName','1501189UuLLmC','isPremiumPlugin','651242uGVbbI','12djuAsG','FootnotesProperties','238264VJSLyC','7226094tFIiVI','40OtdOgu','isOfficialPlugin'];_0x19fa=function(){return _0xf182c8;};return _0x19fa();}function _0x4a3f(_0x57e544,_0x1fe542){var _0x19faf4=_0x19fa();return _0x4a3f=function(_0x4a3f66,_0x311a52){_0x4a3f66=_0x4a3f66-0xdc;var _0x28c8b9=_0x19faf4[_0x4a3f66];return _0x28c8b9;},_0x4a3f(_0x57e544,_0x1fe542);}import{FootnotesPropertiesUI as _0x4e0d1d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5e43f2{static get[_0xc7ef35(0xe5)](){var _0xa576c0=_0xc7ef35;return _0xa576c0(0xdc);}static get[_0xc7ef35(0xe2)](){return[_0x420898,_0x4e0d1d];}static get[_0xc7ef35(0xe0)](){return!0x0;}static get[_0xc7ef35(0xe7)](){return!0x0;}}
23
+ var _0x3aeb95=_0x4e58;(function(_0x26f5f7,_0x1cd333){var _0x591bdc=_0x4e58,_0x171fa5=_0x26f5f7();while(!![]){try{var _0x4f3560=parseInt(_0x591bdc(0x1f4))/0x1+parseInt(_0x591bdc(0x1f6))/0x2+parseInt(_0x591bdc(0x1f3))/0x3+parseInt(_0x591bdc(0x1ef))/0x4+-parseInt(_0x591bdc(0x1f7))/0x5*(parseInt(_0x591bdc(0x1f0))/0x6)+-parseInt(_0x591bdc(0x1f9))/0x7*(parseInt(_0x591bdc(0x1f1))/0x8)+-parseInt(_0x591bdc(0x1f5))/0x9;if(_0x4f3560===_0x1cd333)break;else _0x171fa5['push'](_0x171fa5['shift']());}catch(_0x408dbe){_0x171fa5['push'](_0x171fa5['shift']());}}}(_0x5520,0x5fe05));import{Plugin as _0x2322fc}from'ckeditor5/src/core.js';function _0x5520(){var _0x5e16a4=['requires','771078rwiwWO','477937mEIlzv','2711088WFptLa','539306qjaLMA','165yaAvMU','isOfficialPlugin','14XFYPLn','isPremiumPlugin','FootnotesProperties','pluginName','1857852japboI','5352uvzNxy','2982808Mwgbxz'];_0x5520=function(){return _0x5e16a4;};return _0x5520();}import{FootnotesPropertiesEditing as _0x86c2c0}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x4e9fa3}from'./footnotesproperties/footnotespropertiesui.js';function _0x4e58(_0x45fb53,_0x1d4e30){var _0x5520ac=_0x5520();return _0x4e58=function(_0x4e5860,_0xcb5877){_0x4e5860=_0x4e5860-0x1ec;var _0x138dc3=_0x5520ac[_0x4e5860];return _0x138dc3;},_0x4e58(_0x45fb53,_0x1d4e30);}export class FootnotesProperties extends _0x2322fc{static get[_0x3aeb95(0x1ee)](){var _0x2142f6=_0x3aeb95;return _0x2142f6(0x1ed);}static get[_0x3aeb95(0x1f2)](){return[_0x86c2c0,_0x4e9fa3];}static get[_0x3aeb95(0x1f8)](){return!0x0;}static get[_0x3aeb95(0x1ec)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcece8e=_0x1ec4;function _0x2112(){const _0x3451fe=['some','remove','_sortFootnoteDefinitions','_ensureFootnotesDefinitionsContainerExists','insert','15syfAHy','move','footnoteDefinition','listenTo','end','after','7QGxjFR','6843992EEIcdq','_footnotesDefinitions','find','_footnoteFormatter','_handleInsertedFootnoteReference','length','getFootnotesDefinitionsObjectElement','min','_ensureFootnotesReferencesHaveProperOrder','reset','footnoteId','differ','getChanges','get','getChildren','getAttribute','createRangeIn','init','FootnotesTracker','set','enqueueChange','unshift','setFootnoteFormatter','createPositionAt','root','_updateFootnotesCounters','isPremiumPlugin','map','childCount','setAttribute','_footnoteDefsContainerTracker','footnoteCounter','_footnoteRefsTracker','footnoteRef','findIndex','document','2lhwWGO','isEqual','3345216KpPmvB','singleton','high','add','createElement','413422cuXpqR','footnoteInlineContent','_handleFootnotesDefinitionsObjectSync','_footnotes','createRangeOn','footnotesDefinitions','editor','3353985BjbArA','1639884zFPcjM','compareWith','low','pluginName','change:data','_insertEmptyFootnotesDefinitionsContainer','12641994KdFmbs','_footnoteDefsTracker','indexOf','has','append','registerPostFixer','$graveyard','_handleRemoveFootnoteReferenceById','_handleFootnoteReferencesChanges','footnotes.multiBlock','paragraph','_handleMovedFootnoteReference','reference','createPositionBefore','877700COYHVc','getFootnote','before','splice','config','parent','definition','rootName','_handleFootnotesDefinitionsObjectChanges','getFootnotes','getRootNames','model','_updateFootnoteRefCounter','push','from','isOfficialPlugin','getFootnotesFormatter','_handleFootnoteDefinitionsChanges'];_0x2112=function(){return _0x3451fe;};return _0x2112();}(function(_0x1a6e0c,_0xaf57f5){const _0x16bfb8=_0x1ec4,_0x32ae17=_0x1a6e0c();while(!![]){try{const _0x2b9259=-parseInt(_0x16bfb8(0xa2))/0x1*(-parseInt(_0x16bfb8(0x9b))/0x2)+-parseInt(_0x16bfb8(0xa9))/0x3+parseInt(_0x16bfb8(0xaa))/0x4*(-parseInt(_0x16bfb8(0xd5))/0x5)+parseInt(_0x16bfb8(0x9d))/0x6+parseInt(_0x16bfb8(0xdb))/0x7*(parseInt(_0x16bfb8(0xdc))/0x8)+parseInt(_0x16bfb8(0xb0))/0x9+-parseInt(_0x16bfb8(0xbe))/0xa;if(_0x2b9259===_0xaf57f5)break;else _0x32ae17['push'](_0x32ae17['shift']());}catch(_0x3e1351){_0x32ae17['push'](_0x32ae17['shift']());}}}(_0x2112,0xc2335));import{Plugin as _0x1b038e}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4a1c03}from'./modelelementtracker.js';function _0x1ec4(_0x214317,_0x488b46){const _0x21122c=_0x2112();return _0x1ec4=function(_0x1ec497,_0x413cc9){_0x1ec497=_0x1ec497-0x99;let _0x478af7=_0x21122c[_0x1ec497];return _0x478af7;},_0x1ec4(_0x214317,_0x488b46);}export class FootnotesTracker extends _0x1b038e{[_0xcece8e(0xa5)]=[];[_0xcece8e(0xdd)]=null;[_0xcece8e(0xdf)]=null;[_0xcece8e(0xfa)];[_0xcece8e(0xfc)];[_0xcece8e(0xb1)];static get[_0xcece8e(0xad)](){const _0x31dd16=_0xcece8e;return _0x31dd16(0xee);}static get[_0xcece8e(0xcd)](){return!0x0;}static get[_0xcece8e(0xf6)](){return!0x0;}constructor(_0x22fad1){const _0x1fb157=_0xcece8e;super(_0x22fad1),this[_0x1fb157(0xfa)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xa7),'getElementKey':()=>_0x1fb157(0x9e)}),this[_0x1fb157(0xfc)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xfd),'getElementKey':_0x1c6910=>_0x1c6910[_0x1fb157(0xeb)](_0x1fb157(0xe6))}),this[_0x1fb157(0xb1)]=new _0x4a1c03(this[_0x1fb157(0xa8)][_0x1fb157(0xc9)],{'elementName':_0x1fb157(0xd7),'getElementKey':_0x5c51aa=>_0x5c51aa[_0x1fb157(0xeb)](_0x1fb157(0xe6))});}[_0xcece8e(0xed)](){const _0xaf80f4=_0xcece8e,{editor:_0x516ad2}=this,{model:_0x2948ec,data:_0x100ff0}=_0x516ad2;_0x2948ec[_0xaf80f4(0x9a)][_0xaf80f4(0xb5)](_0xc00b3d=>{const _0x2f59d9=_0xaf80f4,_0x5750ae=_0x2948ec[_0x2f59d9(0x9a)][_0x2f59d9(0xe7)][_0x2f59d9(0xe8)]();let _0xe5b399=!0x1;return this[_0x2f59d9(0xc6)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xcf)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xb8)](_0xc00b3d,_0x5750ae)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xe4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xa4)](_0xc00b3d)&&(_0xe5b399=!0x0),this[_0x2f59d9(0xd2)](_0xc00b3d)&&(_0xe5b399=!0x0),_0xe5b399;}),this[_0xaf80f4(0xd8)](_0x2948ec[_0xaf80f4(0x9a)],_0xaf80f4(0xae),()=>{const _0x325575=_0xaf80f4;_0x2948ec[_0x325575(0xf0)]({'isUndoable':!0x1},_0xc3fb89=>{const _0x1eb16b=_0x325575;this[_0x1eb16b(0xd3)](_0xc3fb89);});},{'priority':_0xaf80f4(0xac)}),this[_0xaf80f4(0xd8)](_0x100ff0,_0xaf80f4(0xef),()=>{const _0x3f2c5b=_0xaf80f4;this[_0x3f2c5b(0xa5)]=[],this[_0x3f2c5b(0xfa)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xfc)][_0x3f2c5b(0xe5)](),this[_0x3f2c5b(0xb1)][_0x3f2c5b(0xe5)]();},{'priority':_0xaf80f4(0x9f)});}[_0xcece8e(0xe2)](){const _0x23773b=_0xcece8e;return this[_0x23773b(0xdd)];}[_0xcece8e(0xbf)](_0x5b6db9){const _0x5b68ca=_0xcece8e;return this[_0x5b68ca(0xa5)][_0x5b68ca(0xde)](_0xb7ceff=>_0xb7ceff['id']===_0x5b6db9)||null;}[_0xcece8e(0xc7)](){const _0x17823b=_0xcece8e;return Array[_0x17823b(0xcc)](this[_0x17823b(0xa5)]);}[_0xcece8e(0xce)](){const _0x62f773=_0xcece8e;return this[_0x62f773(0xdf)];}[_0xcece8e(0xf2)](_0x24fcc7){const _0x36d603=_0xcece8e;this[_0x36d603(0xdf)]=_0x24fcc7;}[_0xcece8e(0xf5)](_0x5750b3,_0x5cb332=0x0){const _0xf95bb6=_0xcece8e;let _0x297b36=!0x1;for(let _0x3d94fc=_0x5cb332;_0x3d94fc<this[_0xf95bb6(0xa5)][_0xf95bb6(0xe1)];_0x3d94fc++)this[_0xf95bb6(0xca)](_0x5750b3,_0x3d94fc)&&(_0x297b36=!0x0);return _0x297b36;}[_0xcece8e(0xaf)](_0x541b65,_0x3abb14){const _0x50fcd0=_0xcece8e,_0x884462=_0x541b65[_0x50fcd0(0xa1)](_0x50fcd0(0xa7),{});return _0x541b65[_0x50fcd0(0xb4)](_0x884462,_0x3abb14),this[_0x50fcd0(0xdd)]=_0x884462,_0x884462;}[_0xcece8e(0xd3)](_0x20bfec){const _0x231e29=_0xcece8e;if(!this[_0x231e29(0xa5)][_0x231e29(0xe1)]||this[_0x231e29(0xdd)])return;const _0x4ec6fe=this[_0x231e29(0xa5)][0x0][_0x231e29(0xbc)][_0x231e29(0xf4)],_0x49b5c1=this[_0x231e29(0xaf)](_0x20bfec,_0x4ec6fe);for(const _0xa580f3 of this[_0x231e29(0xa5)])_0xa580f3[_0x231e29(0xc4)][_0x231e29(0xc3)]||_0x20bfec[_0x231e29(0xd4)](_0xa580f3[_0x231e29(0xc4)],_0x49b5c1,_0x231e29(0xd9));this[_0x231e29(0xf5)](_0x20bfec);}[_0xcece8e(0xc6)](_0x327668,_0x5d6368){const _0x258623=_0xcece8e;let _0x24bcb2=!0x1;const {inserted:_0x3c21be,removed:_0x18c8db,moved:_0x20bcbb}=this[_0x258623(0xfa)][_0x258623(0xe8)](_0x5d6368);if(_0x20bcbb[_0x258623(0xe1)]&&(this[_0x258623(0xdd)]=_0x20bcbb[0x0]),_0x3c21be[_0x258623(0xe1)]){if(_0x3c21be[_0x258623(0xe1)]>0x1||this[_0x258623(0xdd)]&&_0x3c21be[_0x258623(0xd0)](_0x4ec656=>_0x4ec656!==this[_0x258623(0xdd)])){const _0x3c7c7e=_0x327668[_0x258623(0xa1)](_0x258623(0xa7),{}),_0x3d74c1=[];this[_0x258623(0xdd)]&&_0x3d74c1[_0x258623(0xcb)](this[_0x258623(0xdd)]),_0x3d74c1[_0x258623(0xcb)](..._0x3c21be),_0x327668[_0x258623(0xd4)](_0x3c7c7e,_0x3d74c1[0x0],_0x258623(0xc0));for(const _0xa7cd1b of _0x3d74c1)_0x327668[_0x258623(0xd6)](_0x327668[_0x258623(0xec)](_0xa7cd1b),_0x327668[_0x258623(0xf3)](_0x3c7c7e,_0x258623(0xd9))),_0x327668[_0x258623(0xd1)](_0xa7cd1b);this[_0x258623(0xdd)]=_0x3c7c7e,this[_0x258623(0xf5)](_0x327668),_0x24bcb2=!0x0;}else this[_0x258623(0xdd)]=_0x3c21be[0x0];}if(_0x18c8db[_0x258623(0xe1)]&&_0x258623(0xb6)===this[_0x258623(0xdd)]?.[_0x258623(0xf4)][_0x258623(0xc5)]){for(const _0x47d2ed of this[_0x258623(0xa5)])_0x327668[_0x258623(0xd1)](_0x47d2ed[_0x258623(0xbc)]),_0x24bcb2=!0x0;this[_0x258623(0xa5)]=[],this[_0x258623(0xdd)]=null;}return _0x24bcb2;}[_0xcece8e(0xcf)](_0x52ce97,_0x58f762){const _0x3a7f89=_0xcece8e;let _0x207188=!0x1;const _0x2da765=this[_0x3a7f89(0xa8)][_0x3a7f89(0xc2)][_0x3a7f89(0xe9)](_0x3a7f89(0xb9)),{inserted:_0x28f3e2,moved:_0x15d7a6}=this[_0x3a7f89(0xb1)][_0x3a7f89(0xe8)](_0x58f762);for(const _0x425f14 of[..._0x15d7a6,..._0x28f3e2]){const _0x2810f8=_0x425f14[_0x3a7f89(0xeb)](_0x3a7f89(0xe6)),_0x339e17=this[_0x3a7f89(0xbf)](_0x2810f8);_0x339e17&&(_0x339e17[_0x3a7f89(0xc4)]=_0x425f14),_(_0x52ce97,_0x2da765,_0x425f14)&&(_0x207188=!0x0);}return _0x207188;}[_0xcece8e(0xb8)](_0x12327a,_0x3be17e){const _0x1f6f33=_0xcece8e;let _0x11ebf0=!0x1;const {removed:_0x4d5b0d,inserted:_0x5e98e6,moved:_0x25625}=this[_0x1f6f33(0xfc)][_0x1f6f33(0xe8)](_0x3be17e);for(const _0x1e9b43 of _0x4d5b0d)this[_0x1f6f33(0xb7)](_0x12327a,_0x1e9b43)&&(_0x11ebf0=!0x0);for(const _0x27e29f of _0x5e98e6)this[_0x1f6f33(0xe0)](_0x12327a,_0x27e29f)&&(_0x11ebf0=!0x0);for(const _0x2c96e7 of _0x25625)this[_0x1f6f33(0xbb)](_0x12327a,_0x2c96e7)&&(_0x11ebf0=!0x0);return _0x11ebf0;}[_0xcece8e(0xa4)](_0x44e736){const _0x1f72e3=_0xcece8e;if(!this[_0x1f72e3(0xdd)])return!0x1;let _0x4a8b1f=!0x1;if(this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]!==this[_0x1f72e3(0xa5)][_0x1f72e3(0xe1)]){const _0x4cd53c=[];for(const _0x35cb3d of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x134d71=_0x35cb3d[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));this[_0x1f72e3(0xbf)](_0x134d71)||(_0x4cd53c[_0x1f72e3(0xf1)](_0x35cb3d),_0x4a8b1f=!0x0);}for(const _0x4932e0 of _0x4cd53c)_0x44e736[_0x1f72e3(0xd1)](_0x4932e0);}const _0x1f9511=new Set(),_0x336eb5=[];for(const _0x3aa795 of this[_0x1f72e3(0xdd)][_0x1f72e3(0xea)]()){const _0x20af45=_0x3aa795[_0x1f72e3(0xeb)](_0x1f72e3(0xe6));_0x1f9511[_0x1f72e3(0xb3)](_0x20af45)?(_0x336eb5[_0x1f72e3(0xf1)](_0x3aa795),_0x4a8b1f=!0x0):_0x1f9511[_0x1f72e3(0xa0)](_0x20af45);}for(const _0x4eb58e of _0x336eb5)_0x44e736[_0x1f72e3(0xd1)](_0x4eb58e);return this[_0x1f72e3(0xdd)][_0x1f72e3(0xf8)]||(_0x44e736[_0x1f72e3(0xd1)](this[_0x1f72e3(0xdd)]),this[_0x1f72e3(0xdd)]=null,_0x4a8b1f=!0x0),_0x4a8b1f;}[_0xcece8e(0xe0)](_0x48b4b6,_0x2dcee){const _0x2055cc=_0xcece8e;if(this[_0x2055cc(0xa5)][_0x2055cc(0xde)](_0xcd15ef=>_0xcd15ef[_0x2055cc(0xbc)]===_0x2dcee))return!0x1;let _0x11464b=!0x1;const _0x3c976a=_0x2dcee[_0x2055cc(0xeb)](_0x2055cc(0xe6)),_0xd018a4=this[_0x2055cc(0xa5)][_0x2055cc(0x99)](_0x4d58d8=>_0x4d58d8['id']===_0x3c976a);-0x1!==_0xd018a4&&(_0x48b4b6[_0x2055cc(0xd1)](this[_0x2055cc(0xa5)][_0xd018a4][_0x2055cc(0xbc)]),this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0xd018a4,0x1),_0x11464b=!0x0);let _0x39c7d7=this[_0x2055cc(0xdd)]?function(_0x14d230,_0x1418b3){const _0x12a731=_0x2055cc;for(const _0x5f5b20 of _0x14d230[_0x12a731(0xea)]())if(_0x5f5b20[_0x12a731(0xeb)](_0x12a731(0xe6))===_0x1418b3)return _0x5f5b20;return null;}(this[_0x2055cc(0xdd)],_0x3c976a):null;_0x39c7d7||(_0x39c7d7=_0x48b4b6[_0x2055cc(0xa1)](_0x2055cc(0xd7),{'footnoteId':_0x3c976a}),this[_0x2055cc(0xdd)]&&(_0x48b4b6[_0x2055cc(0xd4)](_0x39c7d7,this[_0x2055cc(0xdd)],_0x2055cc(0xd9)),_0x11464b=!0x0));const _0x50bb37={'id':_0x3c976a,'reference':_0x2dcee,'definition':_0x39c7d7},_0x5b3130=I(this[_0x2055cc(0xa8)][_0x2055cc(0xc9)],this[_0x2055cc(0xa5)],_0x2dcee);this[_0x2055cc(0xa5)][_0x2055cc(0xc1)](_0x5b3130,0x0,_0x50bb37);let _0x2fc9a6=_0x5b3130;return-0x1!==_0xd018a4&&(_0x2fc9a6=Math[_0x2055cc(0xe3)](_0x5b3130,_0xd018a4)),this[_0x2055cc(0xf5)](_0x48b4b6,_0x2fc9a6)&&(_0x11464b=!0x0),_0x11464b;}[_0xcece8e(0xb7)](_0xaa57a1,_0x4e20ed){const _0x3cf70e=_0xcece8e,_0x579cf7=this[_0x3cf70e(0xa5)][_0x3cf70e(0x99)](_0x4e4640=>_0x4e4640['id']===_0x4e20ed);if(-0x1===_0x579cf7)return!0x1;let _0x2a432e=!0x1;const _0x4536be=this[_0x3cf70e(0xa5)][_0x579cf7];return _0x3cf70e(0xb6)!==_0x4536be[_0x3cf70e(0xc4)][_0x3cf70e(0xf4)][_0x3cf70e(0xc5)]&&(_0xaa57a1[_0x3cf70e(0xd1)](_0x4536be[_0x3cf70e(0xc4)]),_0x2a432e=!0x0),this[_0x3cf70e(0xa5)][_0x3cf70e(0xc1)](_0x579cf7,0x1),this[_0x3cf70e(0xf5)](_0xaa57a1,_0x579cf7)&&(_0x2a432e=!0x0),_0x2a432e;}[_0xcece8e(0xbb)](_0x470089,_0x9d6f5c){const _0x2e7187=_0xcece8e,_0x25b926=_0x9d6f5c[_0x2e7187(0xeb)](_0x2e7187(0xe6)),_0xf6e3d2=this[_0x2e7187(0xa5)][_0x2e7187(0x99)](_0x57017e=>_0x57017e['id']===_0x25b926),_0x2badad=this[_0x2e7187(0xa5)][_0xf6e3d2];let _0x181402=!0x1;_0x2badad[_0x2e7187(0xbc)]=_0x9d6f5c,this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xf6e3d2,0x1);const _0xb79a04=I(this[_0x2e7187(0xa8)][_0x2e7187(0xc9)],this[_0x2e7187(0xa5)],_0x9d6f5c);return this[_0x2e7187(0xa5)][_0x2e7187(0xc1)](_0xb79a04,0x0,_0x2badad),this[_0x2e7187(0xf5)](_0x470089,Math[_0x2e7187(0xe3)](_0xf6e3d2,_0xb79a04))&&(_0x181402=!0x0),_0x181402;}[_0xcece8e(0xca)](_0x44a5ad,_0x5e5e87){const _0x5c1862=_0xcece8e;if(!this[_0x5c1862(0xdd)])return!0x1;const _0x1674c1=this[_0x5c1862(0xa5)][_0x5e5e87];let _0x41fe8c;return _0x41fe8c=this[_0x5c1862(0xdf)]?this[_0x5c1862(0xdf)]({'footnote':_0x1674c1,'container':this[_0x5c1862(0xdd)],'digits':String(this[_0x5c1862(0xa5)][_0x5c1862(0xe1)])[_0x5c1862(0xe1)],'value':_0x5e5e87+0x1}):String(_0x5e5e87+0x1),_0x1674c1[_0x5c1862(0xbc)][_0x5c1862(0xeb)](_0x5c1862(0xfb))!=_0x41fe8c&&(_0x44a5ad[_0x5c1862(0xf9)](_0x5c1862(0xfb),_0x41fe8c,_0x1674c1[_0x5c1862(0xbc)]),!0x0);}[_0xcece8e(0xd2)](_0x45eff8){const _0x24189d=_0xcece8e;if(!this[_0x24189d(0xdd)]||this[_0x24189d(0xa5)][_0x24189d(0xe1)]<0x2)return!0x1;if(function(_0x5c9aac,_0x217897){const _0x841485=_0x24189d;if(_0x5c9aac[_0x841485(0xe1)]!==_0x217897[_0x841485(0xe1)])return!0x1;for(let _0x378cc7=0x0;_0x378cc7<_0x5c9aac[_0x841485(0xe1)];_0x378cc7++)if(_0x5c9aac[_0x378cc7]!==_0x217897[_0x378cc7])return!0x1;return!0x0;}(this[_0x24189d(0xa5)][_0x24189d(0xf7)](_0x25c239=>_0x25c239['id']),Array[_0x24189d(0xcc)](this[_0x24189d(0xdd)][_0x24189d(0xea)]())[_0x24189d(0xf7)](_0x1201a3=>_0x1201a3[_0x24189d(0xeb)](_0x24189d(0xe6)))))return!0x1;let _0x40994e=!0x1;for(let _0x570e67=0x0;_0x570e67<this[_0x24189d(0xa5)][_0x24189d(0xe1)];_0x570e67++){const _0x300eb7=this[_0x24189d(0xa5)][_0x570e67],_0x3f05e7=_0x45eff8[_0x24189d(0xbd)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497=_0x45eff8[_0x24189d(0xf3)](this[_0x24189d(0xdd)],_0x570e67);_0x3f05e7[_0x24189d(0x9c)](_0x2a3497)||(_0x45eff8[_0x24189d(0xd6)](_0x45eff8[_0x24189d(0xa6)](_0x300eb7[_0x24189d(0xc4)]),_0x2a3497),_0x40994e=!0x0);}return _0x40994e;}[_0xcece8e(0xe4)](_0x5b905d){const _0x554c19=_0xcece8e;if(!this[_0x554c19(0xa5)][_0x554c19(0xe1)])return!0x1;const {model:_0x101fa4}=this[_0x554c19(0xa8)];let _0x18c8af=!0x1;for(let _0xe71196=0x0;_0xe71196<this[_0x554c19(0xa5)][_0x554c19(0xe1)]-0x1;_0xe71196++){const _0x557baa=this[_0x554c19(0xa5)][_0xe71196],_0x27a3c6=this[_0x554c19(0xa5)][_0xe71196+0x1],_0x497a20=_0x101fa4[_0x554c19(0xbd)](_0x557baa[_0x554c19(0xbc)]),_0xcc0ba=_0x101fa4[_0x554c19(0xbd)](_0x27a3c6[_0x554c19(0xbc)]);_0x554c19(0xda)===_0x497a20[_0x554c19(0xab)](_0xcc0ba)&&(this[_0x554c19(0xbb)](_0x5b905d,_0x557baa[_0x554c19(0xbc)]),_0xe71196=-0x1,_0x18c8af=!0x0);}return _0x18c8af;}}function _(_0x356311,_0x4b16cd,_0x1b75f3){const _0x2ad60a=_0xcece8e;if(_0x1b75f3[_0x2ad60a(0xf8)])return!0x1;const _0x316350=_0x4b16cd?_0x2ad60a(0xba):_0x2ad60a(0xa3);return _0x356311[_0x2ad60a(0xd4)](_0x356311[_0x2ad60a(0xa1)](_0x316350),_0x1b75f3),!0x0;}function I(_0x3a5a91,_0x46fa7f,_0x88a888){const _0x4c78ea=_0xcece8e;if(0x0===_0x46fa7f[_0x4c78ea(0xe1)])return 0x0;const _0x56ba9d=_0x3a5a91[_0x4c78ea(0xbd)](_0x88a888);for(let _0xe1d80c=0x0;_0xe1d80c<_0x46fa7f[_0x4c78ea(0xe1)];_0xe1d80c++){const _0x18124d=_0x46fa7f[_0xe1d80c],_0x45bb91=_0x3a5a91[_0x4c78ea(0xbd)](_0x18124d[_0x4c78ea(0xbc)]);if(_0x4c78ea(0xc0)===_0x56ba9d[_0x4c78ea(0xab)](_0x45bb91))return _0xe1d80c;}const _0x506ae8=_0x88a888[_0x4c78ea(0xf4)];let _0x42e3d4=-0x1;for(let _0x48e7b8=_0x46fa7f[_0x4c78ea(0xe1)]-0x1;_0x48e7b8>=0x0;_0x48e7b8--)if(_0x46fa7f[_0x48e7b8][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)]===_0x506ae8){_0x42e3d4=_0x48e7b8;break;}if(-0x1!==_0x42e3d4)return _0x42e3d4+0x1;const _0xbfa98b=_0x3a5a91[_0x4c78ea(0x9a)][_0x4c78ea(0xc8)](),_0x315387=_0xbfa98b[_0x4c78ea(0xb2)](_0x506ae8[_0x4c78ea(0xc5)]),_0x518d1a=_0xbfa98b[_0x315387+0x1];if(_0x518d1a){for(let _0x20a3cf=0x0;_0x20a3cf<_0x46fa7f[_0x4c78ea(0xe1)];_0x20a3cf++)if(_0x46fa7f[_0x20a3cf][_0x4c78ea(0xbc)][_0x4c78ea(0xf4)][_0x4c78ea(0xc5)]===_0x518d1a)return _0x20a3cf;}return _0x46fa7f[_0x4c78ea(0xe1)];}
23
+ const _0xe89ac7=_0x2fd5;(function(_0x109dda,_0x975ad1){const _0x1951ab=_0x2fd5,_0x22b865=_0x109dda();while(!![]){try{const _0x14e824=parseInt(_0x1951ab(0xe4))/0x1*(-parseInt(_0x1951ab(0xcd))/0x2)+parseInt(_0x1951ab(0xed))/0x3*(parseInt(_0x1951ab(0xb5))/0x4)+parseInt(_0x1951ab(0xe9))/0x5*(-parseInt(_0x1951ab(0xc9))/0x6)+-parseInt(_0x1951ab(0xc5))/0x7+parseInt(_0x1951ab(0x95))/0x8*(parseInt(_0x1951ab(0xa0))/0x9)+-parseInt(_0x1951ab(0xbf))/0xa+parseInt(_0x1951ab(0x94))/0xb;if(_0x14e824===_0x975ad1)break;else _0x22b865['push'](_0x22b865['shift']());}catch(_0x3eb716){_0x22b865['push'](_0x22b865['shift']());}}}(_0x59aa,0x974a7));import{Plugin as _0x79ed40}from'ckeditor5/src/core.js';import{ModelElementTracker as _0xdfc464}from'./modelelementtracker.js';function _0x2fd5(_0x4f8a14,_0x5699ed){const _0x59aa55=_0x59aa();return _0x2fd5=function(_0x2fd525,_0x395f61){_0x2fd525=_0x2fd525-0x8d;let _0x4e3fd2=_0x59aa55[_0x2fd525];return _0x4e3fd2;},_0x2fd5(_0x4f8a14,_0x5699ed);}export class FootnotesTracker extends _0x79ed40{[_0xe89ac7(0x99)]=[];[_0xe89ac7(0xac)]=null;[_0xe89ac7(0xeb)]=null;[_0xe89ac7(0x9b)];[_0xe89ac7(0xb7)];[_0xe89ac7(0x9f)];static get[_0xe89ac7(0xee)](){const _0x43d0dc=_0xe89ac7;return _0x43d0dc(0xa6);}static get[_0xe89ac7(0xd6)](){return!0x0;}static get[_0xe89ac7(0xa9)](){return!0x0;}constructor(_0x588a01){const _0xa76dc2=_0xe89ac7;super(_0x588a01),this[_0xa76dc2(0x9b)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xdf),'getElementKey':()=>_0xa76dc2(0x9a)}),this[_0xa76dc2(0xb7)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xa7),'getElementKey':_0x36ba41=>_0x36ba41[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))}),this[_0xa76dc2(0x9f)]=new _0xdfc464(this[_0xa76dc2(0x8e)][_0xa76dc2(0xd2)],{'elementName':_0xa76dc2(0xd0),'getElementKey':_0x226623=>_0x226623[_0xa76dc2(0x9c)](_0xa76dc2(0xbc))});}[_0xe89ac7(0xc1)](){const _0x86d72c=_0xe89ac7,{editor:_0x57b730}=this,{model:_0x1622d9,data:_0x3fa9e6}=_0x57b730;_0x1622d9[_0x86d72c(0xc3)][_0x86d72c(0xc0)](_0x2ab3c4=>{const _0xf5e1b=_0x86d72c,_0x5a1dce=_0x1622d9[_0xf5e1b(0xc3)][_0xf5e1b(0xcc)][_0xf5e1b(0xa4)]();let _0x58b628=!0x1;return this[_0xf5e1b(0x96)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xa8)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0x92)](_0x2ab3c4,_0x5a1dce)&&(_0x58b628=!0x0),this[_0xf5e1b(0xf2)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xdc)](_0x2ab3c4)&&(_0x58b628=!0x0),this[_0xf5e1b(0xb6)](_0x2ab3c4)&&(_0x58b628=!0x0),_0x58b628;}),this[_0x86d72c(0xba)](_0x1622d9[_0x86d72c(0xc3)],_0x86d72c(0xa3),()=>{const _0x1c3261=_0x86d72c;_0x1622d9[_0x1c3261(0x9d)]({'isUndoable':!0x1},_0x2f09e7=>{const _0x43e128=_0x1c3261;this[_0x43e128(0x9e)](_0x2f09e7);});},{'priority':_0x86d72c(0xcf)}),this[_0x86d72c(0xba)](_0x3fa9e6,_0x86d72c(0xd3),()=>{const _0xdd398=_0x86d72c;this[_0xdd398(0x99)]=[],this[_0xdd398(0x9b)][_0xdd398(0xa1)](),this[_0xdd398(0xb7)][_0xdd398(0xa1)](),this[_0xdd398(0x9f)][_0xdd398(0xa1)]();},{'priority':_0x86d72c(0x90)});}[_0xe89ac7(0xca)](){const _0x11cd3d=_0xe89ac7;return this[_0x11cd3d(0xac)];}[_0xe89ac7(0xc4)](_0x19bb19){const _0x451b1a=_0xe89ac7;return this[_0x451b1a(0x99)][_0x451b1a(0x98)](_0x1caa00=>_0x1caa00['id']===_0x19bb19)||null;}[_0xe89ac7(0xf0)](){const _0x17f2d7=_0xe89ac7;return Array[_0x17f2d7(0xef)](this[_0x17f2d7(0x99)]);}[_0xe89ac7(0xf1)](){const _0x36633a=_0xe89ac7;return this[_0x36633a(0xeb)];}[_0xe89ac7(0xab)](_0x42cfdf){const _0x6f2a0f=_0xe89ac7;this[_0x6f2a0f(0xeb)]=_0x42cfdf;}[_0xe89ac7(0xe7)](_0x272c2b,_0x1a295a=0x0){const _0x12199e=_0xe89ac7;let _0x548627=!0x1;for(let _0x2a1e79=_0x1a295a;_0x2a1e79<this[_0x12199e(0x99)][_0x12199e(0xc6)];_0x2a1e79++)this[_0x12199e(0xc7)](_0x272c2b,_0x2a1e79)&&(_0x548627=!0x0);return _0x548627;}[_0xe89ac7(0xdd)](_0x4ff2e0,_0x2e2377){const _0x2ba92a=_0xe89ac7,_0x3b5a1c=_0x4ff2e0[_0x2ba92a(0xc8)](_0x2ba92a(0xdf),{});return _0x4ff2e0[_0x2ba92a(0x93)](_0x3b5a1c,_0x2e2377),this[_0x2ba92a(0xac)]=_0x3b5a1c,_0x3b5a1c;}[_0xe89ac7(0x9e)](_0xe2cf81){const _0x20ca3d=_0xe89ac7;if(!this[_0x20ca3d(0x99)][_0x20ca3d(0xc6)]||this[_0x20ca3d(0xac)])return;const _0x39b32a=this[_0x20ca3d(0x99)][0x0][_0x20ca3d(0x91)][_0x20ca3d(0xb0)],_0x1a68da=this[_0x20ca3d(0xdd)](_0xe2cf81,_0x39b32a);for(const _0x512cb6 of this[_0x20ca3d(0x99)])_0x512cb6[_0x20ca3d(0xea)][_0x20ca3d(0xe5)]||_0xe2cf81[_0x20ca3d(0xaa)](_0x512cb6[_0x20ca3d(0xea)],_0x1a68da,_0x20ca3d(0x8f));this[_0x20ca3d(0xe7)](_0xe2cf81);}[_0xe89ac7(0x96)](_0x24aa44,_0x1ac287){const _0x666221=_0xe89ac7;let _0x3687db=!0x1;const {inserted:_0x1269ac,removed:_0x4ae5de,moved:_0x2dd962}=this[_0x666221(0x9b)][_0x666221(0xa4)](_0x1ac287);if(_0x2dd962[_0x666221(0xc6)]&&(this[_0x666221(0xac)]=_0x2dd962[0x0]),_0x1269ac[_0x666221(0xc6)]){if(_0x1269ac[_0x666221(0xc6)]>0x1||this[_0x666221(0xac)]&&_0x1269ac[_0x666221(0xe3)](_0x11115e=>_0x11115e!==this[_0x666221(0xac)])){const _0x4a580b=_0x24aa44[_0x666221(0xc8)](_0x666221(0xdf),{}),_0x22d3aa=[];this[_0x666221(0xac)]&&_0x22d3aa[_0x666221(0xbd)](this[_0x666221(0xac)]),_0x22d3aa[_0x666221(0xbd)](..._0x1269ac),_0x24aa44[_0x666221(0xaa)](_0x4a580b,_0x22d3aa[0x0],_0x666221(0xb3));for(const _0x37acb3 of _0x22d3aa)_0x24aa44[_0x666221(0xb4)](_0x24aa44[_0x666221(0xe6)](_0x37acb3),_0x24aa44[_0x666221(0xae)](_0x4a580b,_0x666221(0x8f))),_0x24aa44[_0x666221(0x8d)](_0x37acb3);this[_0x666221(0xac)]=_0x4a580b,this[_0x666221(0xe7)](_0x24aa44),_0x3687db=!0x0;}else this[_0x666221(0xac)]=_0x1269ac[0x0];}if(_0x4ae5de[_0x666221(0xc6)]&&_0x666221(0xe8)===this[_0x666221(0xac)]?.[_0x666221(0xb0)][_0x666221(0xad)]){for(const _0x466768 of this[_0x666221(0x99)])_0x24aa44[_0x666221(0x8d)](_0x466768[_0x666221(0x91)]),_0x3687db=!0x0;this[_0x666221(0x99)]=[],this[_0x666221(0xac)]=null;}return _0x3687db;}[_0xe89ac7(0xa8)](_0x3a5cc9,_0x400df7){const _0x1943a2=_0xe89ac7;let _0x180e09=!0x1;const _0xc3ca64=this[_0x1943a2(0x8e)][_0x1943a2(0xc2)][_0x1943a2(0xa5)](_0x1943a2(0xce)),{inserted:_0x1f7823,moved:_0x168889}=this[_0x1943a2(0x9f)][_0x1943a2(0xa4)](_0x400df7);for(const _0x17e6fb of[..._0x168889,..._0x1f7823]){const _0x204f7d=_0x17e6fb[_0x1943a2(0x9c)](_0x1943a2(0xbc)),_0x216e13=this[_0x1943a2(0xc4)](_0x204f7d);_0x216e13&&(_0x216e13[_0x1943a2(0xea)]=_0x17e6fb),_(_0x3a5cc9,_0xc3ca64,_0x17e6fb)&&(_0x180e09=!0x0);}return _0x180e09;}[_0xe89ac7(0x92)](_0x4793bc,_0x1096d0){const _0x5ac9a1=_0xe89ac7;let _0x1bde14=!0x1;const {removed:_0x378114,inserted:_0x4d0c25,moved:_0x52ce49}=this[_0x5ac9a1(0xb7)][_0x5ac9a1(0xa4)](_0x1096d0);for(const _0x4be6e8 of _0x378114)this[_0x5ac9a1(0xb8)](_0x4793bc,_0x4be6e8)&&(_0x1bde14=!0x0);for(const _0x557fee of _0x4d0c25)this[_0x5ac9a1(0xd7)](_0x4793bc,_0x557fee)&&(_0x1bde14=!0x0);for(const _0x3a85c9 of _0x52ce49)this[_0x5ac9a1(0xb9)](_0x4793bc,_0x3a85c9)&&(_0x1bde14=!0x0);return _0x1bde14;}[_0xe89ac7(0xdc)](_0x10b153){const _0x41b0b0=_0xe89ac7;if(!this[_0x41b0b0(0xac)])return!0x1;let _0x17864c=!0x1;if(this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]!==this[_0x41b0b0(0x99)][_0x41b0b0(0xc6)]){const _0x356c39=[];for(const _0x56cc56 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x518336=_0x56cc56[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));this[_0x41b0b0(0xc4)](_0x518336)||(_0x356c39[_0x41b0b0(0xd9)](_0x56cc56),_0x17864c=!0x0);}for(const _0x2b3ec6 of _0x356c39)_0x10b153[_0x41b0b0(0x8d)](_0x2b3ec6);}const _0x25460f=new Set(),_0x440e1f=[];for(const _0x501eb2 of this[_0x41b0b0(0xac)][_0x41b0b0(0xd5)]()){const _0x32f2c1=_0x501eb2[_0x41b0b0(0x9c)](_0x41b0b0(0xbc));_0x25460f[_0x41b0b0(0xd8)](_0x32f2c1)?(_0x440e1f[_0x41b0b0(0xd9)](_0x501eb2),_0x17864c=!0x0):_0x25460f[_0x41b0b0(0xb2)](_0x32f2c1);}for(const _0x27a187 of _0x440e1f)_0x10b153[_0x41b0b0(0x8d)](_0x27a187);return this[_0x41b0b0(0xac)][_0x41b0b0(0xcb)]||(_0x10b153[_0x41b0b0(0x8d)](this[_0x41b0b0(0xac)]),this[_0x41b0b0(0xac)]=null,_0x17864c=!0x0),_0x17864c;}[_0xe89ac7(0xd7)](_0x33dbdb,_0x4d7b07){const _0x28f040=_0xe89ac7;if(this[_0x28f040(0x99)][_0x28f040(0x98)](_0x11961a=>_0x11961a[_0x28f040(0x91)]===_0x4d7b07))return!0x1;let _0x14850f=!0x1;const _0x3a3a5c=_0x4d7b07[_0x28f040(0x9c)](_0x28f040(0xbc)),_0x4c31c0=this[_0x28f040(0x99)][_0x28f040(0xb1)](_0x492d89=>_0x492d89['id']===_0x3a3a5c);-0x1!==_0x4c31c0&&(_0x33dbdb[_0x28f040(0x8d)](this[_0x28f040(0x99)][_0x4c31c0][_0x28f040(0x91)]),this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x4c31c0,0x1),_0x14850f=!0x0);let _0x1dc4eb=this[_0x28f040(0xac)]?function(_0x35bbed,_0x128a78){const _0xc0ce1d=_0x28f040;for(const _0x255d0b of _0x35bbed[_0xc0ce1d(0xd5)]())if(_0x255d0b[_0xc0ce1d(0x9c)](_0xc0ce1d(0xbc))===_0x128a78)return _0x255d0b;return null;}(this[_0x28f040(0xac)],_0x3a3a5c):null;_0x1dc4eb||(_0x1dc4eb=_0x33dbdb[_0x28f040(0xc8)](_0x28f040(0xd0),{'footnoteId':_0x3a3a5c}),this[_0x28f040(0xac)]&&(_0x33dbdb[_0x28f040(0xaa)](_0x1dc4eb,this[_0x28f040(0xac)],_0x28f040(0x8f)),_0x14850f=!0x0));const _0x3cfe2b={'id':_0x3a3a5c,'reference':_0x4d7b07,'definition':_0x1dc4eb},_0x218e99=I(this[_0x28f040(0x8e)][_0x28f040(0xd2)],this[_0x28f040(0x99)],_0x4d7b07);this[_0x28f040(0x99)][_0x28f040(0xbb)](_0x218e99,0x0,_0x3cfe2b);let _0x3b1e1f=_0x218e99;return-0x1!==_0x4c31c0&&(_0x3b1e1f=Math[_0x28f040(0xaf)](_0x218e99,_0x4c31c0)),this[_0x28f040(0xe7)](_0x33dbdb,_0x3b1e1f)&&(_0x14850f=!0x0),_0x14850f;}[_0xe89ac7(0xb8)](_0x37986e,_0x528cce){const _0x345845=_0xe89ac7,_0x2c1ff4=this[_0x345845(0x99)][_0x345845(0xb1)](_0x372f79=>_0x372f79['id']===_0x528cce);if(-0x1===_0x2c1ff4)return!0x1;let _0xc4a091=!0x1;const _0x381e86=this[_0x345845(0x99)][_0x2c1ff4];return _0x345845(0xe8)!==_0x381e86[_0x345845(0xea)][_0x345845(0xb0)][_0x345845(0xad)]&&(_0x37986e[_0x345845(0x8d)](_0x381e86[_0x345845(0xea)]),_0xc4a091=!0x0),this[_0x345845(0x99)][_0x345845(0xbb)](_0x2c1ff4,0x1),this[_0x345845(0xe7)](_0x37986e,_0x2c1ff4)&&(_0xc4a091=!0x0),_0xc4a091;}[_0xe89ac7(0xb9)](_0x39b52a,_0x374878){const _0x134131=_0xe89ac7,_0xdf20b2=_0x374878[_0x134131(0x9c)](_0x134131(0xbc)),_0x47220e=this[_0x134131(0x99)][_0x134131(0xb1)](_0x382087=>_0x382087['id']===_0xdf20b2),_0x3a9360=this[_0x134131(0x99)][_0x47220e];let _0x205883=!0x1;_0x3a9360[_0x134131(0x91)]=_0x374878,this[_0x134131(0x99)][_0x134131(0xbb)](_0x47220e,0x1);const _0x3a33ea=I(this[_0x134131(0x8e)][_0x134131(0xd2)],this[_0x134131(0x99)],_0x374878);return this[_0x134131(0x99)][_0x134131(0xbb)](_0x3a33ea,0x0,_0x3a9360),this[_0x134131(0xe7)](_0x39b52a,Math[_0x134131(0xaf)](_0x47220e,_0x3a33ea))&&(_0x205883=!0x0),_0x205883;}[_0xe89ac7(0xc7)](_0x61679f,_0x3cd80c){const _0x26c502=_0xe89ac7;if(!this[_0x26c502(0xac)])return!0x1;const _0x5f55db=this[_0x26c502(0x99)][_0x3cd80c];let _0x47ddcb;return _0x47ddcb=this[_0x26c502(0xeb)]?this[_0x26c502(0xeb)]({'footnote':_0x5f55db,'container':this[_0x26c502(0xac)],'digits':String(this[_0x26c502(0x99)][_0x26c502(0xc6)])[_0x26c502(0xc6)],'value':_0x3cd80c+0x1}):String(_0x3cd80c+0x1),_0x5f55db[_0x26c502(0x91)][_0x26c502(0x9c)](_0x26c502(0xbe))!=_0x47ddcb&&(_0x61679f[_0x26c502(0xd1)](_0x26c502(0xbe),_0x47ddcb,_0x5f55db[_0x26c502(0x91)]),!0x0);}[_0xe89ac7(0xb6)](_0x736a08){const _0x51c4f7=_0xe89ac7;if(!this[_0x51c4f7(0xac)]||this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)]<0x2)return!0x1;if(function(_0x312950,_0x11fc85){const _0x8878b8=_0x51c4f7;if(_0x312950[_0x8878b8(0xc6)]!==_0x11fc85[_0x8878b8(0xc6)])return!0x1;for(let _0x149a79=0x0;_0x149a79<_0x312950[_0x8878b8(0xc6)];_0x149a79++)if(_0x312950[_0x149a79]!==_0x11fc85[_0x149a79])return!0x1;return!0x0;}(this[_0x51c4f7(0x99)][_0x51c4f7(0xe0)](_0x2fde7b=>_0x2fde7b['id']),Array[_0x51c4f7(0xef)](this[_0x51c4f7(0xac)][_0x51c4f7(0xd5)]())[_0x51c4f7(0xe0)](_0x3d5688=>_0x3d5688[_0x51c4f7(0x9c)](_0x51c4f7(0xbc)))))return!0x1;let _0x5762e0=!0x1;for(let _0x2109e0=0x0;_0x2109e0<this[_0x51c4f7(0x99)][_0x51c4f7(0xc6)];_0x2109e0++){const _0x129b94=this[_0x51c4f7(0x99)][_0x2109e0],_0x49ce32=_0x736a08[_0x51c4f7(0xe1)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e=_0x736a08[_0x51c4f7(0xae)](this[_0x51c4f7(0xac)],_0x2109e0);_0x49ce32[_0x51c4f7(0x97)](_0x7c113e)||(_0x736a08[_0x51c4f7(0xb4)](_0x736a08[_0x51c4f7(0xda)](_0x129b94[_0x51c4f7(0xea)]),_0x7c113e),_0x5762e0=!0x0);}return _0x5762e0;}[_0xe89ac7(0xf2)](_0x373e79){const _0x2d560c=_0xe89ac7;if(!this[_0x2d560c(0x99)][_0x2d560c(0xc6)])return!0x1;const {model:_0x8a123a}=this[_0x2d560c(0x8e)];let _0x5cc973=!0x1;for(let _0x32daa9=0x0;_0x32daa9<this[_0x2d560c(0x99)][_0x2d560c(0xc6)]-0x1;_0x32daa9++){const _0x38a447=this[_0x2d560c(0x99)][_0x32daa9],_0xf356f7=this[_0x2d560c(0x99)][_0x32daa9+0x1],_0x264832=_0x8a123a[_0x2d560c(0xe1)](_0x38a447[_0x2d560c(0x91)]),_0x1965c3=_0x8a123a[_0x2d560c(0xe1)](_0xf356f7[_0x2d560c(0x91)]);_0x2d560c(0xa2)===_0x264832[_0x2d560c(0xdb)](_0x1965c3)&&(this[_0x2d560c(0xb9)](_0x373e79,_0x38a447[_0x2d560c(0x91)]),_0x32daa9=-0x1,_0x5cc973=!0x0);}return _0x5cc973;}}function _(_0x512669,_0x2e37f6,_0x40750f){const _0x11ec98=_0xe89ac7;if(_0x40750f[_0x11ec98(0xcb)])return!0x1;const _0x19c9a6=_0x2e37f6?_0x11ec98(0xe2):_0x11ec98(0xde);return _0x512669[_0x11ec98(0xaa)](_0x512669[_0x11ec98(0xc8)](_0x19c9a6),_0x40750f),!0x0;}function _0x59aa(){const _0x463395=['move','72YjJxGl','_sortFootnoteDefinitions','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','listenTo','splice','footnoteId','push','footnoteCounter','6315090HXvLdV','registerPostFixer','init','config','document','getFootnote','5885173BdyEVw','length','_updateFootnoteRefCounter','createElement','109506Bcldua','getFootnotesDefinitionsObjectElement','childCount','differ','403174lLGEPw','footnotes.multiBlock','low','footnoteDefinition','setAttribute','model','set','getRootNames','getChildren','isOfficialPlugin','_handleInsertedFootnoteReference','has','unshift','createRangeOn','compareWith','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','footnotesDefinitions','map','createPositionBefore','paragraph','some','4xokIfa','parent','createRangeIn','_updateFootnotesCounters','$graveyard','310jrnQXM','definition','_footnoteFormatter','indexOf','101016AqmvCx','pluginName','from','getFootnotes','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','remove','editor','end','high','reference','_handleFootnoteReferencesChanges','append','27860965XbchWq','3563736HWuaZJ','_handleFootnotesDefinitionsObjectChanges','isEqual','find','_footnotes','singleton','_footnoteDefsContainerTracker','getAttribute','enqueueChange','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsTracker','18pmIEIh','reset','after','change:data','getChanges','get','FootnotesTracker','footnoteRef','_handleFootnoteDefinitionsChanges','isPremiumPlugin','insert','setFootnoteFormatter','_footnotesDefinitions','rootName','createPositionAt','min','root','findIndex','add','before'];_0x59aa=function(){return _0x463395;};return _0x59aa();}function I(_0x82b478,_0x541825,_0x5d63da){const _0x428ab7=_0xe89ac7;if(0x0===_0x541825[_0x428ab7(0xc6)])return 0x0;const _0x4010f9=_0x82b478[_0x428ab7(0xe1)](_0x5d63da);for(let _0x45333e=0x0;_0x45333e<_0x541825[_0x428ab7(0xc6)];_0x45333e++){const _0x4d3abe=_0x541825[_0x45333e],_0x4c3785=_0x82b478[_0x428ab7(0xe1)](_0x4d3abe[_0x428ab7(0x91)]);if(_0x428ab7(0xb3)===_0x4010f9[_0x428ab7(0xdb)](_0x4c3785))return _0x45333e;}const _0x5bb2e6=_0x5d63da[_0x428ab7(0xb0)];let _0x2bc23f=-0x1;for(let _0x9faa4f=_0x541825[_0x428ab7(0xc6)]-0x1;_0x9faa4f>=0x0;_0x9faa4f--)if(_0x541825[_0x9faa4f][_0x428ab7(0x91)][_0x428ab7(0xb0)]===_0x5bb2e6){_0x2bc23f=_0x9faa4f;break;}if(-0x1!==_0x2bc23f)return _0x2bc23f+0x1;const _0x1dee6b=_0x82b478[_0x428ab7(0xc3)][_0x428ab7(0xd4)](),_0x3e9ca0=_0x1dee6b[_0x428ab7(0xec)](_0x5bb2e6[_0x428ab7(0xad)]),_0x2329e1=_0x1dee6b[_0x3e9ca0+0x1];if(_0x2329e1){for(let _0x349160=0x0;_0x349160<_0x541825[_0x428ab7(0xc6)];_0x349160++)if(_0x541825[_0x349160][_0x428ab7(0x91)][_0x428ab7(0xb0)][_0x428ab7(0xad)]===_0x2329e1)return _0x349160;}return _0x541825[_0x428ab7(0xc6)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x47398e,MenuBarMenuListItemButtonView as _0x393c9d}from'ckeditor5/src/ui.js';import{Plugin as _0x2fb940}from'ckeditor5/src/core.js';import{IconFootnote as _0x52e584}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2fb940{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x47bf53}=this,{componentFactory:_0x85459}=_0x47bf53['ui'];_0x85459['add']('insertFootnote',x(_0x47bf53,_0x47398e)),_0x85459['add']('menuBar:insertFootnote',x(_0x47bf53,_0x393c9d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xb2f30e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1fadac;for(const _0x2ec975 in _0xb2f30e){const _0x3e0e50=_0x2ec975,_0x5eb0e4=_0xb2f30e[_0x3e0e50];if('footnotesLicenseKeyValid'==_0x5eb0e4||'footnotesLicenseKeyInvalid'==_0x5eb0e4||'footnotesLicenseKeyExpired'==_0x5eb0e4||'footnotesLicenseKeyDomainLimit'==_0x5eb0e4||'footnotesLicenseKeyNotAllowed'==_0x5eb0e4||'footnotesLicenseKeyEvaluationLimit'==_0x5eb0e4||'footnotesLicenseKeyTrialLimit'==_0x5eb0e4||'footnotesLicenseKeyUsageLimit'==_0x5eb0e4){delete _0xb2f30e[_0x3e0e50],_0x1fadac=_0x5eb0e4,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1fadac&&_0xb2f30e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1fadac&&_0xb2f30e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1fadac&&_0xb2f30e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1fadac&&_0xb2f30e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x52e2b5,_0x3eb3dd){const _0x14bd94=_0x52e2b5['commands']['get']('insertFootnote');return _0x3fd8d2=>{const {t:t}=_0x3fd8d2,_0x29bcd5=new _0x3eb3dd(_0x3fd8d2),_0xf633ce=_0x29bcd5 instanceof _0x393c9d;return _0x29bcd5['bind']('isEnabled')['to'](_0x14bd94,'isEnabled'),_0x29bcd5['set']({'label':t(_0xf633ce?'Footnote':'Insert\x20footnote'),'icon':_0x52e584,'tooltip':!0x0}),_0x29bcd5['on']('execute',()=>{_0x14bd94['execute'](),_0x52e2b5['editing']['view']['focus']();}),_0x29bcd5;};}
23
+ import{ButtonView as _0x5e876c,MenuBarMenuListItemButtonView as _0x1c7c13}from'ckeditor5/src/ui.js';import{Plugin as _0x2e6bd4}from'ckeditor5/src/core.js';import{IconFootnote as _0x124afb}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2e6bd4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x401ba5}=this,{componentFactory:_0x590375}=_0x401ba5['ui'];_0x590375['add']('insertFootnote',x(_0x401ba5,_0x5e876c)),_0x590375['add']('menuBar:insertFootnote',x(_0x401ba5,_0x1c7c13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x38c850=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4107ee;for(const _0x29e061 in _0x38c850){const _0x2d7f92=_0x29e061,_0x2b74bb=_0x38c850[_0x2d7f92];if('footnotesLicenseKeyValid'==_0x2b74bb||'footnotesLicenseKeyInvalid'==_0x2b74bb||'footnotesLicenseKeyExpired'==_0x2b74bb||'footnotesLicenseKeyDomainLimit'==_0x2b74bb||'footnotesLicenseKeyNotAllowed'==_0x2b74bb||'footnotesLicenseKeyEvaluationLimit'==_0x2b74bb||'footnotesLicenseKeyTrialLimit'==_0x2b74bb||'footnotesLicenseKeyUsageLimit'==_0x2b74bb){delete _0x38c850[_0x2d7f92],_0x4107ee=_0x2b74bb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4107ee&&_0x38c850['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4107ee&&_0x38c850['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4107ee&&_0x38c850['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4107ee&&_0x38c850['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2499dc,_0x36b39e){const _0x11f624=_0x2499dc['commands']['get']('insertFootnote');return _0x2678a1=>{const {t:t}=_0x2678a1,_0x22c6b0=new _0x36b39e(_0x2678a1),_0x10e2d7=_0x22c6b0 instanceof _0x1c7c13;return _0x22c6b0['bind']('isEnabled')['to'](_0x11f624,'isEnabled'),_0x22c6b0['set']({'label':t(_0x10e2d7?'Footnote':'Insert\x20footnote'),'icon':_0x124afb,'tooltip':!0x0}),_0x22c6b0['on']('execute',()=>{_0x11f624['execute'](),_0x2499dc['editing']['view']['focus']();}),_0x22c6b0;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x329f74,_0xcececb){var _0x33e406=_0xd529,_0x2d2df8=_0x329f74();while(!![]){try{var _0x29374d=parseInt(_0x33e406(0xfd))/0x1*(parseInt(_0x33e406(0x101))/0x2)+-parseInt(_0x33e406(0xfe))/0x3*(-parseInt(_0x33e406(0xfa))/0x4)+-parseInt(_0x33e406(0x103))/0x5*(-parseInt(_0x33e406(0x100))/0x6)+-parseInt(_0x33e406(0xfb))/0x7+-parseInt(_0x33e406(0x102))/0x8+-parseInt(_0x33e406(0xff))/0x9+parseInt(_0x33e406(0xfc))/0xa;if(_0x29374d===_0xcececb)break;else _0x2d2df8['push'](_0x2d2df8['shift']());}catch(_0x2790f3){_0x2d2df8['push'](_0x2d2df8['shift']());}}}(_0x53cb,0xa47d9));function _0x53cb(){var _0x1110fc=['127926QOLZGS','2QDNSRx','7120104orQIUi','85WyiDbw','40AMDGTW','4665269QsabnG','6099620fOaomP','1191735gqSKRO','63069MnHPEX','1297359bZlapB'];_0x53cb=function(){return _0x1110fc;};return _0x53cb();}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0xd529(_0x4a9ea0,_0x31764d){var _0x53cba1=_0x53cb();return _0xd529=function(_0xd52945,_0x479494){_0xd52945=_0xd52945-0xfa;var _0x3865fa=_0x53cba1[_0xd52945];return _0x3865fa;},_0xd529(_0x4a9ea0,_0x31764d);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x333327,_0x54796c){var _0x4dfabf=_0x23f4,_0x1337b5=_0x333327();while(!![]){try{var _0x39a9c8=parseInt(_0x4dfabf(0xef))/0x1+-parseInt(_0x4dfabf(0xeb))/0x2+-parseInt(_0x4dfabf(0xed))/0x3+parseInt(_0x4dfabf(0xe9))/0x4*(-parseInt(_0x4dfabf(0xea))/0x5)+parseInt(_0x4dfabf(0xe7))/0x6*(parseInt(_0x4dfabf(0xf1))/0x7)+-parseInt(_0x4dfabf(0xe8))/0x8*(-parseInt(_0x4dfabf(0xec))/0x9)+-parseInt(_0x4dfabf(0xee))/0xa*(-parseInt(_0x4dfabf(0xf0))/0xb);if(_0x39a9c8===_0x54796c)break;else _0x1337b5['push'](_0x1337b5['shift']());}catch(_0x1e45f9){_0x1337b5['push'](_0x1337b5['shift']());}}}(_0x526f,0x21902));import'./augmentation.js';function _0x526f(){var _0x3a6464=['332bfiShd','15565tePbsi','339238qCRQCO','9909rkrkuB','675087osxcFc','2959750YBNMOz','239283iMTMgD','11icrOxl','84LTdJSN','112758bJrQhR','216JcsAdx'];_0x526f=function(){return _0x3a6464;};return _0x526f();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x23f4(_0x34dcda,_0x3227d1){var _0x526f25=_0x526f();return _0x23f4=function(_0x23f477,_0x5d6082){_0x23f477=_0x23f477-0xe7;var _0x53d582=_0x526f25[_0x23f477];return _0x53d582;},_0x23f4(_0x34dcda,_0x3227d1);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1178(_0x14ee34,_0x232d1b){const _0x4c9531=_0x4c95();return _0x1178=function(_0x1178e2,_0x17445a){_0x1178e2=_0x1178e2-0x7b;let _0x5740e7=_0x4c9531[_0x1178e2];return _0x5740e7;},_0x1178(_0x14ee34,_0x232d1b);}function _0x4c95(){const _0x45a40f=['getChanges','element','reset','flat','root','621fMfhIw','17672BHGtLk','5809951dMUvJd','get','5266140BIgfOa','set','push','clear','getItems','attributes','remove','_model','rootName','_trackedElements','elementName','delete','has','values','from','_elementName','$graveyard','24rRqqTE','type','add','position','439896dADKSG','642836vyCZfL','name','_getElementKey','$text','nodeAfter','getElementKey','slice','length','insert','createRangeOn','217775lwPdEP','2141345HPKxqC'];_0x4c95=function(){return _0x45a40f;};return _0x4c95();}const _0x1fbfe1=_0x1178;(function(_0x5de05a,_0x49d882){const _0x485759=_0x1178,_0x473c28=_0x5de05a();while(!![]){try{const _0x4e009b=-parseInt(_0x485759(0x9a))/0x1+parseInt(_0x485759(0x90))/0x2+-parseInt(_0x485759(0x8b))/0x3*(-parseInt(_0x485759(0x8f))/0x4)+-parseInt(_0x485759(0x9b))/0x5+parseInt(_0x485759(0xa5))/0x6+-parseInt(_0x485759(0xa3))/0x7+-parseInt(_0x485759(0xa2))/0x8*(parseInt(_0x485759(0xa1))/0x9);if(_0x4e009b===_0x49d882)break;else _0x473c28['push'](_0x473c28['shift']());}catch(_0x230851){_0x473c28['push'](_0x473c28['shift']());}}}(_0x4c95,0x6df8a));export class ModelElementTracker{[_0x1fbfe1(0x81)];[_0x1fbfe1(0x89)];[_0x1fbfe1(0x92)];[_0x1fbfe1(0x83)]=new Map();constructor(_0x5a4c6c,_0x158634){const _0x1234b9=_0x1fbfe1;this[_0x1234b9(0x81)]=_0x5a4c6c,this[_0x1234b9(0x89)]=_0x158634[_0x1234b9(0x84)],this[_0x1234b9(0x92)]=_0x158634[_0x1234b9(0x95)];}[_0x1fbfe1(0x9e)](){const _0x531c32=_0x1fbfe1;this[_0x531c32(0x83)][_0x531c32(0x7d)]();}[_0x1fbfe1(0x9c)](_0x419917){const _0x36bf78=_0x1fbfe1,_0x2eaebc=new Set(),_0x298b7a=new Map();for(const _0x14cd7f of _0x419917){if(_0x36bf78(0x98)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x36bf78(0x93)!==_0x14cd7f[_0x36bf78(0x91)]&&_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]){const _0x1b0c71=this[_0x36bf78(0x81)][_0x36bf78(0x99)](_0x14cd7f[_0x36bf78(0x8e)][_0x36bf78(0x94)]);for(const _0x585775 of _0x1b0c71[_0x36bf78(0x7e)]()){if(!_0x585775['is'](_0x36bf78(0x9d),this[_0x36bf78(0x89)]))continue;const _0x387738=this[_0x36bf78(0x92)](_0x585775);_0x298b7a[_0x36bf78(0x86)](_0x387738)||_0x298b7a[_0x36bf78(0x7b)](_0x387738,[]),_0x298b7a[_0x36bf78(0xa4)](_0x387738)[_0x36bf78(0x7c)](_0x585775);}}if(_0x36bf78(0x80)===_0x14cd7f[_0x36bf78(0x8c)]&&_0x14cd7f[_0x36bf78(0x91)]===this[_0x36bf78(0x89)]){const _0x21a448=this[_0x36bf78(0x92)]({'getAttribute':_0x43533e=>_0x14cd7f[_0x36bf78(0x7f)][_0x36bf78(0xa4)](_0x43533e)});_0x2eaebc[_0x36bf78(0x8d)](_0x21a448);}}for(const [_0x2aaac6,_0x4b460c]of this[_0x36bf78(0x83)])_0x36bf78(0x8a)===_0x4b460c[_0x36bf78(0xa0)][_0x36bf78(0x82)]&&_0x2eaebc[_0x36bf78(0x8d)](_0x2aaac6);for(const _0x44707d of _0x2eaebc)this[_0x36bf78(0x83)][_0x36bf78(0x85)](_0x44707d);for(const [_0x1d4e53,_0x39eae6]of _0x298b7a)this[_0x36bf78(0x83)][_0x36bf78(0x7b)](_0x1d4e53,_0x39eae6[_0x39eae6[_0x36bf78(0x97)]-0x1]);const _0x293412=new Set();for(const [_0x579de1,_0x2d8687]of _0x298b7a)_0x2eaebc[_0x36bf78(0x86)](_0x579de1)&&(_0x293412[_0x36bf78(0x8d)](_0x2d8687[0x0]),_0x2d8687[_0x36bf78(0x97)]>0x1?_0x298b7a[_0x36bf78(0x7b)](_0x579de1,_0x2d8687[_0x36bf78(0x96)](0x1)):_0x298b7a[_0x36bf78(0x85)](_0x579de1),_0x2eaebc[_0x36bf78(0x85)](_0x579de1));return{'removed':Array[_0x36bf78(0x88)](_0x2eaebc),'inserted':Array[_0x36bf78(0x88)](_0x298b7a[_0x36bf78(0x87)]())[_0x36bf78(0x9f)](),'moved':Array[_0x36bf78(0x88)](_0x293412)};}}
23
+ const _0x472312=_0xd51a;(function(_0x41fbbd,_0x280f6d){const _0x14644c=_0xd51a,_0x4610c7=_0x41fbbd();while(!![]){try{const _0x58d1f7=parseInt(_0x14644c(0x9b))/0x1+-parseInt(_0x14644c(0xae))/0x2+parseInt(_0x14644c(0xab))/0x3+-parseInt(_0x14644c(0x87))/0x4+parseInt(_0x14644c(0xa2))/0x5+-parseInt(_0x14644c(0x98))/0x6*(parseInt(_0x14644c(0x8a))/0x7)+parseInt(_0x14644c(0xa9))/0x8*(parseInt(_0x14644c(0xa1))/0x9);if(_0x58d1f7===_0x280f6d)break;else _0x4610c7['push'](_0x4610c7['shift']());}catch(_0x26d52e){_0x4610c7['push'](_0x4610c7['shift']());}}}(_0x1d0f,0x46c67));export class ModelElementTracker{[_0x472312(0xa6)];[_0x472312(0xac)];[_0x472312(0x9d)];[_0x472312(0x86)]=new Map();constructor(_0xe3623c,_0x37b2cf){const _0x32deaf=_0x472312;this[_0x32deaf(0xa6)]=_0xe3623c,this[_0x32deaf(0xac)]=_0x37b2cf[_0x32deaf(0xa3)],this[_0x32deaf(0x9d)]=_0x37b2cf[_0x32deaf(0x97)];}[_0x472312(0x9c)](){const _0x5608c6=_0x472312;this[_0x5608c6(0x86)][_0x5608c6(0xa8)]();}[_0x472312(0x92)](_0x8bb539){const _0x1639a1=_0x472312,_0x261303=new Set(),_0x5d5315=new Map();for(const _0x586c70 of _0x8bb539){if(_0x1639a1(0x95)===_0x586c70[_0x1639a1(0xad)]&&_0x1639a1(0xaa)!==_0x586c70[_0x1639a1(0x8f)]&&_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]){const _0x54dcdb=this[_0x1639a1(0xa6)][_0x1639a1(0x90)](_0x586c70[_0x1639a1(0xa5)][_0x1639a1(0x8b)]);for(const _0x15cc13 of _0x54dcdb[_0x1639a1(0x85)]()){if(!_0x15cc13['is'](_0x1639a1(0x9e),this[_0x1639a1(0xac)]))continue;const _0x148f27=this[_0x1639a1(0x9d)](_0x15cc13);_0x5d5315[_0x1639a1(0x8d)](_0x148f27)||_0x5d5315[_0x1639a1(0xa4)](_0x148f27,[]),_0x5d5315[_0x1639a1(0xa0)](_0x148f27)[_0x1639a1(0x94)](_0x15cc13);}}if(_0x1639a1(0x88)===_0x586c70[_0x1639a1(0xad)]&&_0x586c70[_0x1639a1(0x8f)]===this[_0x1639a1(0xac)]){const _0x1fab0d=this[_0x1639a1(0x9d)]({'getAttribute':_0x5cf824=>_0x586c70[_0x1639a1(0x96)][_0x1639a1(0xa0)](_0x5cf824)});_0x261303[_0x1639a1(0x93)](_0x1fab0d);}}for(const [_0x4668f2,_0x7f48e9]of this[_0x1639a1(0x86)])_0x1639a1(0x89)===_0x7f48e9[_0x1639a1(0x8c)][_0x1639a1(0x9a)]&&_0x261303[_0x1639a1(0x93)](_0x4668f2);for(const _0x2d87ba of _0x261303)this[_0x1639a1(0x86)][_0x1639a1(0x99)](_0x2d87ba);for(const [_0x1e3387,_0x3eb025]of _0x5d5315)this[_0x1639a1(0x86)][_0x1639a1(0xa4)](_0x1e3387,_0x3eb025[_0x3eb025[_0x1639a1(0x8e)]-0x1]);const _0xb54da6=new Set();for(const [_0x5be81a,_0x599be7]of _0x5d5315)_0x261303[_0x1639a1(0x8d)](_0x5be81a)&&(_0xb54da6[_0x1639a1(0x93)](_0x599be7[0x0]),_0x599be7[_0x1639a1(0x8e)]>0x1?_0x5d5315[_0x1639a1(0xa4)](_0x5be81a,_0x599be7[_0x1639a1(0xaf)](0x1)):_0x5d5315[_0x1639a1(0x99)](_0x5be81a),_0x261303[_0x1639a1(0x99)](_0x5be81a));return{'removed':Array[_0x1639a1(0xa7)](_0x261303),'inserted':Array[_0x1639a1(0xa7)](_0x5d5315[_0x1639a1(0x91)]())[_0x1639a1(0x9f)](),'moved':Array[_0x1639a1(0xa7)](_0xb54da6)};}}function _0xd51a(_0x1fe4f9,_0x241621){const _0x1d0fef=_0x1d0f();return _0xd51a=function(_0xd51ab3,_0x53febb){_0xd51ab3=_0xd51ab3-0x85;let _0x2f0a55=_0x1d0fef[_0xd51ab3];return _0x2f0a55;},_0xd51a(_0x1fe4f9,_0x241621);}function _0x1d0f(){const _0x1b55a6=['clear','31432UyVAXB','$text','1016118xMIgTo','_elementName','type','192658txHgfo','slice','getItems','_trackedElements','152104VFDbkm','remove','$graveyard','287952RUSdzt','nodeAfter','root','has','length','name','createRangeOn','values','getChanges','add','push','insert','attributes','getElementKey','72pjNzEu','delete','rootName','83186dOZErk','reset','_getElementKey','element','flat','get','1116sgNZJi','43970MwqkkU','elementName','set','position','_model','from'];_0x1d0f=function(){return _0x1b55a6;};return _0x1d0f();}