@ckeditor/ckeditor5-footnotes 47.7.0-alpha.3 → 47.7.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 _0x2d77f6}from'ckeditor5/src/core.js';import{isWidget as _0x474105,toWidget as _0x4419f7,toWidgetEditable as _0x2428b4}from'ckeditor5/src/widget.js';import{uid as _0x229df6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x34156a,ClickObserver as _0x3bcdbf}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x681316}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3972cc}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x2d77f6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x681316];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e7c8b}=this;_0x4e7c8b['config']['define']('footnotes.multiBlock',!0x0),_0x4e7c8b['commands']['add']('insertFootnote',new _0x3972cc(_0x4e7c8b)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x28756c){const _0x53e2f1=_0x77e295([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]),_0x231d08=0x47a28506,_0x167f1b=0x47a5023e^_0x231d08,_0x3cfd92=window[_0x77e295([0x44,0x61,0x74,0x65])][_0x77e295([0x6e,0x6f,0x77])](),_0x547084=_0x28756c[_0x77e295([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2b2409=new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x32628b=>{_0x547084[_0x77e295([0x6f,0x6e,0x63,0x65])](_0x77e295([0x72,0x65,0x61,0x64,0x79]),_0x32628b);}),_0x215e2f={[_0x77e295([0x6b,0x74,0x79])]:_0x77e295([0x45,0x43]),[_0x77e295([0x75,0x73,0x65])]:_0x77e295([0x73,0x69,0x67]),[_0x77e295([0x63,0x72,0x76])]:_0x77e295([0x50,0x2d,0x32,0x35,0x36]),[_0x77e295([0x78])]:_0x77e295([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]),[_0x77e295([0x79])]:_0x77e295([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]),[_0x77e295([0x61,0x6c,0x67])]:_0x77e295([0x45,0x53,0x32,0x35,0x36])},_0x1ab176=_0x547084[_0x77e295([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x77e295([0x67,0x65,0x74])](_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5dc58b(){let _0x9645ff,_0x2bbb25=null,_0x112343=null;try{if(_0x1ab176==_0x77e295([0x47,0x50,0x4c]))return _0x77e295([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x9645ff=_0x39041a(),!_0x9645ff)return _0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x9645ff[_0x77e295([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x112343=_0x46ba99(_0x9645ff[_0x77e295([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x9645ff[_0x77e295([0x6a,0x74,0x69])])),await _0x5d3d9f()?_0x5a8636()?_0x3ace42()?_0x77e295([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x747d2d()?(_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x77e295([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x2bbb25=_0x12ef97(_0x77e295([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x416400()):_0x77e295([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x77e295([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x77e295([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3ace42(){const _0x39c50f=[_0x77e295([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x77e295([0x74,0x72,0x69,0x61,0x6c])][_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3cfd92/0x3e8:0xe10*_0x167f1b;return _0x9645ff[_0x77e295([0x65,0x78,0x70])]<_0x39c50f;}function _0x5a8636(){const _0x3a6295=_0x9645ff[_0x77e295([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3a6295&&(!!_0x3a6295[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x2a]))||!!_0x3a6295[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x46,0x4f,0x4f])));}function _0x747d2d(){const _0x26b511=_0x9645ff[_0x77e295([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x26b511||0x0==_0x26b511[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x40d5cb}=new URL(window[_0x77e295([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x26b511[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x40d5cb))return!0x0;const _0x512314=_0x40d5cb[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e]));return _0x26b511[_0x77e295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x41e60e=>_0x41e60e[_0x77e295([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x77e295([0x2a])))[_0x77e295([0x6d,0x61,0x70])](_0x2a5922=>_0x2a5922[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e])))[_0x77e295([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f7a66=>_0x3f7a66[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x512314[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77e295([0x6d,0x61,0x70])](_0x4ce6e4=>Array(_0x512314[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4ce6e4[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x77e295([0x66,0x69,0x6c,0x6c])](_0x4ce6e4[0x0]===_0x77e295([0x2a])?_0x77e295([0x2a]):'')[_0x77e295([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4ce6e4))[_0x77e295([0x73,0x6f,0x6d,0x65])](_0x5e91bd=>_0x512314[_0x77e295([0x65,0x76,0x65,0x72,0x79])]((_0x36a8c3,_0x10eda8)=>_0x5e91bd[_0x10eda8]===_0x36a8c3||_0x5e91bd[_0x10eda8]===_0x77e295([0x2a])));}function _0x416400(){return _0x2bbb25&&_0x112343?new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5f02eb,_0x50c1f7)=>{_0x2bbb25[_0x77e295([0x74,0x68,0x65,0x6e])](_0x5f02eb,_0x50c1f7),_0x112343[_0x77e295([0x74,0x68,0x65,0x6e])](_0x759629=>{_0x759629!=_0x77e295([0x56,0x61,0x6c,0x69,0x64])&&_0x5f02eb(_0x759629);},_0x50c1f7);}):_0x2bbb25||_0x112343||_0x77e295([0x56,0x61,0x6c,0x69,0x64]);}}function _0x46ba99(_0x375e05,_0x8dbe27){return new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41f4f4=>{if(_0x2d73f0())return _0x41f4f4(_0x77e295([0x56,0x61,0x6c,0x69,0x64]));_0x36acc6(),_0x547084[_0x77e295([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x51f224=!0x1;const _0x5a629b=_0x229df6();function _0x1964bb(_0x3ac248){return!!_0x3ac248&&(typeof _0x3ac248===_0x77e295([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3ac248===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3ac248[_0x77e295([0x74,0x68,0x65,0x6e])]===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3ac248[_0x77e295([0x63,0x61,0x74,0x63,0x68])]===_0x77e295([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x2814bf(_0x4dbaa4){_0x5baa97(_0x4dbaa4)[_0x77e295([0x74,0x68,0x65,0x6e])](_0x37d285=>{if(!_0x37d285||_0x37d285[_0x77e295([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x77e295([0x6f,0x6b]))return _0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x239f40(_0x15f186(_0x5a629b+_0x8dbe27))!=_0x37d285[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x77e295([0x56,0x61,0x6c,0x69,0x64]);})[_0x77e295([0x74,0x68,0x65,0x6e])](_0x479275=>(_0x4c525f(),_0x479275),()=>{const _0x1faf69=_0x21186b();return null==_0x1faf69?(_0x4c525f(),_0x77e295([0x56,0x61,0x6c,0x69,0x64])):_0x77e295(_0x3cfd92-_0x1faf69>(0x63ae0106^_0x231d08)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x77e295([0x74,0x68,0x65,0x6e])](_0x41f4f4)[_0x77e295([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2326f2=0x47946b86^_0x231d08;function _0x4c525f(){const _0x1db6de=_0x77e295([0x6c,0x6c,0x63,0x74,0x2d])+_0x239f40(_0x15f186(_0x375e05)),_0x5828d1=_0x3f0044(_0x239f40(window[_0x77e295([0x4d,0x61,0x74,0x68])][_0x77e295([0x63,0x65,0x69,0x6c])](_0x3cfd92/_0x2326f2)));window[_0x77e295([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77e295([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1db6de,_0x5828d1);}function _0x21186b(){const _0x3c9f99=_0x77e295([0x6c,0x6c,0x63,0x74,0x2d])+_0x239f40(_0x15f186(_0x375e05)),_0x249a2b=window[_0x77e295([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x77e295([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3c9f99);return _0x249a2b?window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0044(_0x249a2b),0x10)*_0x2326f2:null;}function _0x5baa97(_0x461895){return new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x308ba1,_0x5605ed)=>{_0x461895[_0x77e295([0x74,0x68,0x65,0x6e])](_0x308ba1,_0x5605ed),window[_0x77e295([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5605ed,0x47a351c6^_0x231d08);});}}_0x547084[_0x77e295([0x6f,0x6e])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x578143,_0x3e0aac)=>{if(_0x3e0aac[0x0]!=_0x375e05)return _0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3e0aac[0x1]={..._0x3e0aac[0x1],[_0x77e295([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5a629b};},{[_0x77e295([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77e295([0x68,0x69,0x67,0x68])}),_0x547084[_0x77e295([0x6f,0x6e])](_0x77e295([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x37309f=>{_0x1964bb(_0x37309f[_0x77e295([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x51f224=!0x0,_0x2814bf(_0x37309f[_0x77e295([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x77e295([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x77e295([0x6c,0x6f,0x77])}),_0x2b2409[_0x77e295([0x74,0x68,0x65,0x6e])](()=>{_0x51f224||_0x41f4f4(_0x77e295([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2d73f0(){return _0x547084[_0x77e295([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77e295([0x76,0x69,0x65,0x77])][_0x77e295([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x77e295([0x61,0x75,0x74,0x6f]);}function _0x36acc6(){_0x547084[_0x77e295([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x77e295([0x76,0x69,0x65,0x77])][_0x77e295([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x77e295([0x61,0x75,0x74,0x6f]);}}function _0x12ef97(_0x4c825c){const _0x1ac74a=[new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x170e5f=>setTimeout(_0x170e5f,0x47abbbca^_0x231d08)),_0x2b2409[_0x77e295([0x74,0x68,0x65,0x6e])](()=>new window[(_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3330b5=>{let _0x5847aa=0x0;_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x6f,0x6e])](_0x77e295([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x3986e4,_0x237f14)=>{_0x237f14[0x0][_0x77e295([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5847aa++,_0x5847aa==(0x47a280ee^_0x231d08)&&(_0x3330b5(),_0x3986e4[_0x77e295([0x6f,0x66,0x66])]());});}))];return window[_0x77e295([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x77e295([0x72,0x61,0x63,0x65])](_0x1ac74a)[_0x77e295([0x74,0x68,0x65,0x6e])](()=>_0x4c825c);}async function _0x17f997(){await _0x2b2409,_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x18c8aa,_0x547084[_0x77e295([0x6d,0x6f,0x64,0x65,0x6c])][_0x77e295([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x18c8aa,_0x547084[_0x77e295([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x77e295([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x465ef3(_0x28f50b){const _0x37448b=_0x22ec98();_0x547084[_0x37448b]=_0x77e295([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28f50b,_0x28f50b!=_0x77e295([0x56,0x61,0x6c,0x69,0x64])&&_0x17f997();}function _0x22ec98(){const _0x3e85c7=window[_0x77e295([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x77e295([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x77e295([0x6e,0x6f,0x77])]())[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x77e295([0x2e]),'');let _0x557a03=_0x77e295([0x75]);for(let _0x2864b5=0x0;_0x2864b5<_0x3e85c7[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2864b5+=0x2){let _0x156b88=window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3e85c7[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2864b5,_0x2864b5+0x2));_0x156b88>=_0x53e2f1[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x156b88-=_0x53e2f1[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x557a03+=_0x53e2f1[_0x156b88];}return _0x557a03;}function _0x39041a(){const _0x194093=_0x1ab176[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e]));if(0x3!=_0x194093[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x35950f(_0x194093[0x1]);function _0x35950f(_0x40557a){const _0x28e08a=_0x4a723b(_0x40557a);return _0x28e08a&&_0xc601f()?_0x28e08a:null;function _0xc601f(){const _0x106922=_0x28e08a[_0x77e295([0x6a,0x74,0x69])],_0xda8bb8=window[_0x77e295([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x106922[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x106922[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2c31a2={..._0x28e08a,[_0x77e295([0x6a,0x74,0x69])]:_0x106922[_0x77e295([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x106922[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2c31a2[_0x77e295([0x76,0x63])],_0x15f186(_0x2c31a2)==_0xda8bb8;}}}async function _0x5d3d9f(){let _0x285d9d=!0x0;try{const _0x55aa7e=_0x1ab176[_0x77e295([0x73,0x70,0x6c,0x69,0x74])](_0x77e295([0x2e])),[_0x384e43,_0x5d8944,_0x2c5805]=_0x55aa7e;return _0x392c62(_0x384e43),await _0x5c3e89(_0x384e43,_0x5d8944,_0x2c5805),_0x285d9d;}catch{return!0x1;}function _0x392c62(_0xcd2b73){const _0x4b11d7=_0x4a723b(_0xcd2b73);_0x4b11d7&&_0x4b11d7[_0x77e295([0x61,0x6c,0x67])]==_0x77e295([0x45,0x53,0x32,0x35,0x36])||(_0x285d9d=!0x1);}async function _0x5c3e89(_0x3ef2a1,_0x2872b1,_0xae3b8b){const _0x483753=window[_0x77e295([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x77e295([0x66,0x72,0x6f,0x6d])](_0x1385bb(_0xae3b8b),_0x429ba3=>_0x429ba3[_0x77e295([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2485d7=new window[(_0x77e295([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x77e295([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3ef2a1+_0x77e295([0x2e])+_0x2872b1),_0x3b8e0e=window[_0x77e295([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x77e295([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3b8e0e)return;const _0x424572=await _0x3b8e0e[_0x77e295([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x77e295([0x6a,0x77,0x6b]),_0x215e2f,{[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x45,0x43,0x44,0x53,0x41]),[_0x77e295([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x77e295([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3b8e0e[_0x77e295([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x45,0x43,0x44,0x53,0x41]),[_0x77e295([0x68,0x61,0x73,0x68])]:{[_0x77e295([0x6e,0x61,0x6d,0x65])]:_0x77e295([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x424572,_0x483753,_0x2485d7)||(_0x285d9d=!0x1);}}function _0x4a723b(_0x35e9d6){return _0x35e9d6[_0x77e295([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x77e295([0x65,0x79]))?JSON[_0x77e295([0x70,0x61,0x72,0x73,0x65])](_0x1385bb(_0x35e9d6)):null;}function _0x1385bb(_0x182882){return window[_0x77e295([0x61,0x74,0x6f,0x62])](_0x182882[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x77e295([0x2b]))[_0x77e295([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x77e295([0x2f])));}function _0x15f186(_0x1fdad8){let _0x50cc4c=0x1505;function _0x447290(_0x1c880a){for(let _0x362407=0x0;_0x362407<_0x1c880a[_0x77e295([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x362407++){const _0x553219=_0x1c880a[_0x77e295([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x362407);_0x50cc4c=(_0x50cc4c<<0x5)+_0x50cc4c+_0x553219,_0x50cc4c&=_0x50cc4c;}}function _0x128dff(_0x2074f1){Array[_0x77e295([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x2074f1)?_0x2074f1[_0x77e295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x128dff):_0x2074f1&&typeof _0x2074f1==_0x77e295([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x77e295([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x2074f1)[_0x77e295([0x73,0x6f,0x72,0x74])]()[_0x77e295([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1cdbbe,_0x395d82])=>{_0x447290(_0x1cdbbe),_0x128dff(_0x395d82);}):_0x447290(window[_0x77e295([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x2074f1));}return _0x128dff(_0x1fdad8),_0x50cc4c>>>0x0;}function _0x239f40(_0x3ce374){return _0x3ce374[_0x77e295([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x77e295([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x77e295([0x30]));}function _0x3f0044(_0x3bd61b){return _0x3bd61b[_0x77e295([0x73,0x70,0x6c,0x69,0x74])]('')[_0x77e295([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x77e295([0x6a,0x6f,0x69,0x6e])]('');}function _0x18c8aa(){}function _0x77e295(_0x2b6fa8){return _0x2b6fa8['map'](_0x489945=>String['fromCharCode'](_0x489945))['join']('');}_0x465ef3(await _0x5dc58b());}(this);}['_moveSelectionToFootnoteDefinition'](_0x56f52b){const {plugins:_0x30f6c3,editing:_0x272530,model:_0x172252}=this['editor'],_0x13ec9b=_0x30f6c3['get'](_0x681316)['getFootnote'](_0x56f52b);return!!_0x13ec9b&&(_0x172252['change'](_0x1866a8=>{_0x1866a8['setSelection'](_0x1866a8['createPositionAt'](_0x13ec9b['definition'],'end'));}),_0x272530['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x94d861){const {plugins:_0x27c965,editing:_0x54e81e,model:_0x94d924}=this['editor'],_0x38fb78=_0x27c965['get'](_0x681316)['getFootnote'](_0x94d861);return!!_0x38fb78&&(_0x94d924['change'](_0x4df97d=>{_0x4df97d['setSelection'](_0x38fb78['reference'],'on');}),_0x54e81e['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x503985}=this['editor']['model'],_0x4d9cd1=this['editor']['config']['get']('footnotes.multiBlock');_0x503985['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x503985['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x503985['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4d9cd1?_0x503985['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x503985['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x503985['addChildCheck'](_0x550d70=>{for(const _0x4f0773 of _0x550d70)if('footnoteDefinition'===_0x4f0773['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x23c9e9}=this,{conversion:_0x5f4783,editing:_0x30f354}=_0x23c9e9,{t:t}=_0x23c9e9['locale'];_0x5f4783['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0xd50e68,{writer:_0x3204fd,consumable:_0x506351})=>{const _0x39a583=_0xd50e68['getChild'](0x0);if(!_0x39a583||!_0x39a583['is']('element','a'))return null;const _0x48f000=_0x39a583['getAttribute']('href')||'';if(!_0x48f000['startsWith']('#'))return null;const _0xce4f04=_0x48f000['replace'](/^#/,'');if(!_0xce4f04)return null;_0x506351['consume'](_0x39a583,{'name':!0x0,'attributes':['href']});for(const {item:_0x1cb66a}of _0x30f354['view']['createRangeIn'](_0x39a583))_0x1cb66a['is']('$textProxy')?_0x506351['consume'](_0x1cb66a['textNode'],{'name':!0x0}):_0x1cb66a['is']('element')&&_0x506351['consume'](_0x1cb66a,{'name':!0x0});return _0x3204fd['createElement']('footnoteRef',{'footnoteId':_0xce4f04});}}),_0x5f4783['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcd7160,{writer:_0x21921c})=>b(_0xcd7160,_0x21921c)}),_0x5f4783['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x25b4e8,{writer:_0x3aa49e})=>{const _0x2544dd=_0x25b4e8['getAttribute']('footnoteCounter');return _0x4419f7(b(_0x25b4e8,_0x3aa49e),_0x3aa49e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2544dd)});}});}['_defineDefinitionsConverters'](){const {editor:_0x527678}=this,{t:t}=_0x527678['locale'],{conversion:_0x9c44db}=_0x527678;_0x9c44db['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x9c44db['for']('upcast')['add'](_0x51be60=>{_0x51be60['on']('element:ol',(_0x318f8e,_0x52e217,_0x3f933f)=>{const _0x5f7e2c=_0x52e217['viewItem'];if(!_0x5f7e2c['hasClass']('footnotes-list')||!_0x52e217['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3f933f['consumable']['consume'](_0x5f7e2c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xb9bf99,modelCursor:_0x322fe8}=_0x3f933f['convertChildren'](_0x52e217['viewItem'],_0x52e217['modelCursor']);_0x52e217['modelRange']=_0xb9bf99,_0x52e217['modelCursor']=_0x322fe8;}),_0x51be60['on']('element:hr',(_0x4a235c,_0x3324dd,_0x2826d4)=>{const _0x1f7ca0=_0x3324dd['viewItem'];_0x1f7ca0['hasClass']('footnotes-divider')&&_0x3324dd['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2826d4['consumable']['consume'](_0x1f7ca0,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x9c44db['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x50658d,{writer:_0x420367})=>D(_0x420367)}),_0x9c44db['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1e1938,{writer:_0x5b8e8f})=>{const _0x545f8c=D(_0x5b8e8f,{'data-footnotes-list-label':t('Footnotes')}),_0xd79f01=_0x4419f7(_0x545f8c,_0x5b8e8f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b8e8f['setCustomProperty']('footnotesDefinitions',!0x0,_0xd79f01),_0xd79f01;}});}['_defineDefinitionConverters'](){const {editor:_0x4de1f6}=this,{conversion:_0x5b3b17,locale:_0x3a93f7}=_0x4de1f6,_0x49fdcb=_0x4de1f6['config']['get']('footnotes.multiBlock');_0x5b3b17['for']('upcast')['add'](_0x2cccbc=>{_0x2cccbc['on']('element:li',(_0x57fde6,_0x3af2e0,_0x2ccf17)=>{const _0x3e1250=_0x3af2e0['viewItem'];if(!_0x3e1250['hasClass']('footnote-definition')||!_0x3e1250['getAttribute']('id'))return;const _0x1d0677=_0x3e1250['parent'];if(!_0x1d0677['is']('element','ol')||!_0x1d0677['hasClass']('footnotes-list'))return;if(!_0x2ccf17['consumable']['test'](_0x3e1250,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4e821d=_0x2ccf17['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3e1250['getAttribute']('id')});if(!_0x2ccf17['safeInsert'](_0x4e821d,_0x3af2e0['modelCursor']))return;_0x2ccf17['consumable']['consume'](_0x3e1250,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1759e4=Array['from'](_0x3e1250['getChildren']())['find'](_0x3baea1=>_0x3baea1['is']('element')&&_0x3baea1['hasClass']('footnote-content'));for(const _0xfe55aa of _0x3e1250['getChildren']())_0xfe55aa['is']('element')&&(_0x2ccf17['consumable']['consume'](_0xfe55aa,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2ccf17['consumable']['consume'](_0xfe55aa,{'name':!0x0,'classes':'footnote-content'}));if(_0x1759e4){if(_0x49fdcb)_0x2ccf17['convertChildren'](_0x1759e4,_0x4e821d);else{const _0x5ca694=_0x2ccf17['writer']['createElement']('footnoteInlineContent');_0x2ccf17['writer']['insert'](_0x5ca694,_0x4e821d),_0x2ccf17['convertChildren'](_0x1759e4,_0x5ca694);}}_0x2ccf17['updateConversionResult'](_0x4e821d,_0x3af2e0);});}),_0x5b3b17['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x531780,{writer:_0x481471})=>y(_0x531780,_0x481471,_0x3a93f7,{'dataPipeline':!0x0})}),_0x5b3b17['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x142dbb,{writer:_0x2ecaed})=>y(_0x142dbb,_0x2ecaed,_0x3a93f7)});}['_defineBogusParagraphConverters'](){const {editor:_0x3b8f0a}=this,{conversion:_0x82427}=_0x3b8f0a;_0x3b8f0a['config']['get']('footnotes.multiBlock')?(_0x82427['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x82427['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3b8f0a['model']['document'],'change:data',()=>{!function(_0x20482e,_0x1ee3a0){const _0x4bd792=_0x20482e['document']['differ'],_0x488fec=new Set();for(const _0x36510b of _0x4bd792['getChanges']()){const _0x5096d5='attribute'==_0x36510b['type']?_0x36510b['range']['start']['parent']:_0x36510b['position']['parent'];_0x5096d5['is']('element','footnoteDefinition')&&_0x488fec['add'](_0x5096d5);}for(const _0x444e2c of _0x488fec['values']()){const _0x4f3304=Array['from'](_0x444e2c['getChildren']())['filter'](_0x56e97a=>v(_0x56e97a,_0x1ee3a0['mapper']));for(const _0x16bf02 of _0x4f3304)_0x1ee3a0['reconvertItem'](_0x16bf02);}}(_0x3b8f0a['model'],_0x3b8f0a['editing']);})):(_0x82427['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x82427['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x218a6a,{writer:_0x2f0eca})=>{const _0xcb6f6d=_0x2f0eca['createContainerElement']('span');return _0x2f0eca['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xcb6f6d),_0xcb6f6d;}}));}['_defineKeyboardHandlers'](){const {editor:_0x523fc4}=this,{editing:_0x5cd15f,t:t}=_0x523fc4,_0x30b25c=_0x523fc4['model']['document']['selection'];_0x523fc4['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x523fc4['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5cd15f['view']['document'],'enter',(_0x19e9ed,_0x7e4c8e)=>{const _0x4dc7b9=function(_0x26656d){const _0x33096a=_0x26656d['getSelectedElement']();if(_0x33096a?.['is']('element','footnoteRef'))return _0x33096a;return null;}(_0x30b25c);if(_0x4dc7b9){const _0x570974=_0x4dc7b9['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x570974),_0x7e4c8e['preventDefault'](),_0x19e9ed['stop']();}},{'context':_0x474105});}['_defineClickHandlers'](){const {editor:_0x199fde}=this,{editing:_0xf12f3f}=_0x199fde;_0x199fde['editing']['view']['addObserver'](_0x34156a),_0x199fde['editing']['view']['addObserver'](_0x3bcdbf);let _0x8ff6a6=!0x1;this['listenTo'](_0xf12f3f['view']['document'],'pointerdown',(_0x5954cd,_0x77adce)=>{const {target:_0x2f717f}=_0x77adce,_0x492eb1=_0xf12f3f['view']['document']['selection'];_0x8ff6a6=!!(_0x2f717f?.['is']('element','a')&&_0x2f717f['parent']?.['is']('element','sup')&&_0x2f717f['parent']['hasClass']('footnote'))&&_0x492eb1['getSelectedElement']()===_0x2f717f['parent'];},{'priority':'high'}),this['listenTo'](_0xf12f3f['view']['document'],'click',(_0x31ba53,_0x3c9c1a)=>{const {target:_0x54209d}=_0x3c9c1a;if(!_0x54209d?.['is']('element','a'))return;if(_0x54209d['parent']?.['is']('element','sup')&&_0x54209d['parent']['hasClass']('footnote')&&!_0x8ff6a6)return void _0x3c9c1a['preventDefault']();let _0x512f6d=_0x54209d['getAttribute']('href');if(!_0x512f6d?.['startsWith']('#'))return;_0x512f6d=_0x512f6d['slice'](0x1);let _0x1a0afa=!0x1;(_0x512f6d['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x512f6d['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x512f6d))&&(_0x1a0afa=!0x0),_0x1a0afa&&(_0x3c9c1a['preventDefault'](),_0x31ba53['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xbc234f}={}){return(_0x514922,{writer:_0x26790c})=>{if(!g(_0x514922))return null;if(!_0xbc234f)return _0x26790c['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5cf26d=_0x26790c['createContainerElement']('p');return _0x26790c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5cf26d),_0x5cf26d;};}function g(_0x564cd2){const {parent:_0x573879}=_0x564cd2;if(!_0x573879?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x573879['childCount'])return!0x1;for(const _0x5780ea of _0x564cd2['getAttributeKeys']())if(!_0x5780ea['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5780ea)return!0x1;return!0x0;}function v(_0x212253,_0x129feb){if(!_0x212253['is']('element','paragraph'))return!0x1;const _0x6544b1=_0x129feb['toViewElement'](_0x212253);return!!_0x6544b1&&g(_0x212253)!==_0x6544b1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x131d94){return _0x474105(_0x131d94)&&_0x131d94['is']('containerElement')&&!!_0x131d94['getCustomProperty']('footnotesDefinitions');}function D(_0x2adf93,_0x19d5c7={}){const _0x5a3873=_0x2adf93['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x192eb5=_0x2adf93['createContainerElement']('ol',{'class':'footnotes-list'},_0x2adf93['createSlot']());return _0x2adf93['createContainerElement']('div',{'class':'footnotes',..._0x19d5c7},[_0x5a3873,_0x192eb5]);}function b(_0x3275c6,_0x3f61cb){const _0x39505b=_0x3275c6['getAttribute']('footnoteId'),_0x35fe2e=_0x3275c6['getAttribute']('footnoteCounter'),_0x2ab5a0=_0x3f61cb['createUIElement']('a',{'href':'#'+_0x39505b},function(_0x3d3414){const _0x5d944a=this['toDomElement'](_0x3d3414);return _0x5d944a['textContent']=_0x35fe2e,_0x5d944a;}),_0x3c07e6=_0x3f61cb['createContainerElement']('sup',{'id':'ref-'+_0x39505b,'class':'footnote'},[_0x2ab5a0]);return _0x3c07e6['getFillerOffset']=()=>null,_0x3c07e6;}function y(_0x3ecb76,_0x38b1f8,_0x36b77c,{dataPipeline:_0x292620}={}){const {t:t}=_0x36b77c,_0x456f49=_0x3ecb76['getAttribute']('footnoteId'),_0x201d3a=_0x38b1f8['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x456f49},function(_0x55243f){const _0x580b65=this['toDomElement'](_0x55243f);return _0x580b65['innerText']='^',_0x580b65;}),_0x29e502=_0x292620?_0x38b1f8['createContainerElement']('div',{'class':'footnote-content'}):_0x2428b4(_0x38b1f8['createEditableElement']('div',{'class':'footnote-content'}),_0x38b1f8,{'label':t('Footnote\x20content.')});return _0x38b1f8['insert'](_0x38b1f8['createPositionAt'](_0x29e502,0x0),_0x38b1f8['createSlot']()),_0x38b1f8['createContainerElement']('li',{'class':'footnote-definition','id':_0x456f49},[_0x201d3a,_0x29e502]);}
23
+ import{Plugin as _0x51aea1}from'ckeditor5/src/core.js';import{isWidget as _0x56f56d,toWidget as _0x33c872,toWidgetEditable as _0x1a7f21}from'ckeditor5/src/widget.js';import{uid as _0x30a020}from'ckeditor5/src/utils.js';import{PointerObserver as _0x330e4d,ClickObserver as _0x122c8c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x30e2b1}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5eb7a6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x51aea1{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x30e2b1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x550fa6}=this;_0x550fa6['config']['define']('footnotes.multiBlock',!0x0),_0x550fa6['commands']['add']('insertFootnote',new _0x5eb7a6(_0x550fa6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x8006f3){const _0x25e487=_0x1d44de([0x75,0x6e,0x53,0x62,0x47,0x70,0x6d,0x69,0x6a,0x41,0x77,0x79,0x72,0x4f,0x7a,0x64,0x5a,0x68,0x43,0x71,0x54,0x33,0x59,0x4c,0x46,0x56,0x74,0x4a,0x6c,0x6b,0x44,0x61,0x67,0x31,0x57,0x4d,0x4e,0x78,0x52,0x34,0x48,0x36,0x37,0x49,0x42,0x35,0x51,0x6f,0x58,0x30,0x32,0x38,0x39,0x63,0x55,0x73,0x76,0x50,0x45,0x65,0x66,0x4b]),_0x1eac5b=0x47a28506,_0x4e02b4=0x47a5026e^_0x1eac5b,_0x10dba6=window[_0x1d44de([0x44,0x61,0x74,0x65])][_0x1d44de([0x6e,0x6f,0x77])](),_0x4a0a08=_0x8006f3[_0x1d44de([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4a612a=new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fce0e=>{_0x4a0a08[_0x1d44de([0x6f,0x6e,0x63,0x65])](_0x1d44de([0x72,0x65,0x61,0x64,0x79]),_0x2fce0e);}),_0x2720ac={[_0x1d44de([0x6b,0x74,0x79])]:_0x1d44de([0x45,0x43]),[_0x1d44de([0x75,0x73,0x65])]:_0x1d44de([0x73,0x69,0x67]),[_0x1d44de([0x63,0x72,0x76])]:_0x1d44de([0x50,0x2d,0x32,0x35,0x36]),[_0x1d44de([0x78])]:_0x1d44de([0x69,0x43,0x6a,0x4f,0x43,0x76,0x44,0x46,0x49,0x36,0x6c,0x51,0x48,0x48,0x54,0x31,0x38,0x6a,0x56,0x77,0x52,0x66,0x6b,0x66,0x48,0x51,0x32,0x61,0x5f,0x4d,0x79,0x6d,0x54,0x33,0x35,0x4c,0x51,0x56,0x6f,0x46,0x53,0x41,0x49]),[_0x1d44de([0x79])]:_0x1d44de([0x6b,0x58,0x49,0x79,0x4a,0x34,0x65,0x76,0x74,0x43,0x45,0x46,0x52,0x6d,0x78,0x4b,0x53,0x55,0x70,0x4b,0x39,0x66,0x44,0x57,0x34,0x35,0x39,0x76,0x58,0x4f,0x76,0x56,0x72,0x68,0x66,0x36,0x75,0x51,0x41,0x65,0x4f,0x69,0x6f]),[_0x1d44de([0x61,0x6c,0x67])]:_0x1d44de([0x45,0x53,0x32,0x35,0x36])},_0x3abe1b=_0x4a0a08[_0x1d44de([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1d44de([0x67,0x65,0x74])](_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53507d(){let _0x56f761,_0x46ae92=null,_0x449d51=null;try{if(_0x3abe1b==_0x1d44de([0x47,0x50,0x4c]))return _0x1d44de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x56f761=_0x4a4f41(),!_0x56f761)return _0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x56f761[_0x1d44de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x449d51=_0x5ddaae(_0x56f761[_0x1d44de([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x56f761[_0x1d44de([0x6a,0x74,0x69])])),await _0x234961()?_0x3891fb()?_0x343836()?_0x1d44de([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x10ddd1()?(_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1d44de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x46ae92=_0x547ff2(_0x1d44de([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0xd45198()):_0x1d44de([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1d44de([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1d44de([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x343836(){const _0x2febf5=[_0x1d44de([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1d44de([0x74,0x72,0x69,0x61,0x6c])][_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x10dba6/0x3e8:0xe10*_0x4e02b4;return _0x56f761[_0x1d44de([0x65,0x78,0x70])]<_0x2febf5;}function _0x3891fb(){const _0x288cdd=_0x56f761[_0x1d44de([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x288cdd&&(!!_0x288cdd[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x2a]))||!!_0x288cdd[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x46,0x4f,0x4f])));}function _0x10ddd1(){const _0x1b2c38=_0x56f761[_0x1d44de([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1b2c38||0x0==_0x1b2c38[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x134b2d}=new URL(window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1b2c38[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x134b2d))return!0x0;const _0x446e16=_0x134b2d[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e]));return _0x1b2c38[_0x1d44de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x481ec2=>_0x481ec2[_0x1d44de([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1d44de([0x2a])))[_0x1d44de([0x6d,0x61,0x70])](_0x3fdc0d=>_0x3fdc0d[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e])))[_0x1d44de([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2fb44f=>_0x2fb44f[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x446e16[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d44de([0x6d,0x61,0x70])](_0x1e7866=>Array(_0x446e16[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1e7866[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1d44de([0x66,0x69,0x6c,0x6c])](_0x1e7866[0x0]===_0x1d44de([0x2a])?_0x1d44de([0x2a]):'')[_0x1d44de([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1e7866))[_0x1d44de([0x73,0x6f,0x6d,0x65])](_0x3cefe4=>_0x446e16[_0x1d44de([0x65,0x76,0x65,0x72,0x79])]((_0x93ca7e,_0x208a66)=>_0x3cefe4[_0x208a66]===_0x93ca7e||_0x3cefe4[_0x208a66]===_0x1d44de([0x2a])));}function _0xd45198(){return _0x46ae92&&_0x449d51?new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x297644,_0xfc760a)=>{_0x46ae92[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x297644,_0xfc760a),_0x449d51[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x3598f2=>{_0x3598f2!=_0x1d44de([0x56,0x61,0x6c,0x69,0x64])&&_0x297644(_0x3598f2);},_0xfc760a);}):_0x46ae92||_0x449d51||_0x1d44de([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ddaae(_0x689110,_0x16974b){return new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d8a4c=>{if(_0x43bf13())return _0x4d8a4c(_0x1d44de([0x56,0x61,0x6c,0x69,0x64]));_0x5a89d1(),_0x4a0a08[_0x1d44de([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x17db09=!0x1;const _0x5beeba=_0x30a020();function _0x590612(_0x417c2c){return!!_0x417c2c&&(typeof _0x417c2c===_0x1d44de([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x417c2c===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x417c2c[_0x1d44de([0x74,0x68,0x65,0x6e])]===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x417c2c[_0x1d44de([0x63,0x61,0x74,0x63,0x68])]===_0x1d44de([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x212b7c(_0x38c9da){_0x14ce1a(_0x38c9da)[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x29a314=>{if(!_0x29a314||_0x29a314[_0x1d44de([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1d44de([0x6f,0x6b]))return _0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x35e23d(_0x59cae7(_0x5beeba+_0x16974b))!=_0x29a314[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1d44de([0x56,0x61,0x6c,0x69,0x64]);})[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x47cd2a=>(_0x13b405(),_0x47cd2a),()=>{const _0x2c2e3c=_0x3818c2();return null==_0x2c2e3c?(_0x13b405(),_0x1d44de([0x56,0x61,0x6c,0x69,0x64])):_0x1d44de(_0x10dba6-_0x2c2e3c>(0x63ae0106^_0x1eac5b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x4d8a4c)[_0x1d44de([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x462759=0x47946b86^_0x1eac5b;function _0x13b405(){const _0xc78aa9=_0x1d44de([0x6c,0x6c,0x63,0x74,0x2d])+_0x35e23d(_0x59cae7(_0x689110)),_0x5a9bce=_0x4948c8(_0x35e23d(window[_0x1d44de([0x4d,0x61,0x74,0x68])][_0x1d44de([0x63,0x65,0x69,0x6c])](_0x10dba6/_0x462759)));window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d44de([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0xc78aa9,_0x5a9bce);}function _0x3818c2(){const _0x4df111=_0x1d44de([0x6c,0x6c,0x63,0x74,0x2d])+_0x35e23d(_0x59cae7(_0x689110)),_0x11d877=window[_0x1d44de([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1d44de([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4df111);return _0x11d877?window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4948c8(_0x11d877),0x10)*_0x462759:null;}function _0x14ce1a(_0x59a869){return new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4ea0bf,_0x3b9f23)=>{_0x59a869[_0x1d44de([0x74,0x68,0x65,0x6e])](_0x4ea0bf,_0x3b9f23),window[_0x1d44de([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b9f23,0x47a351c6^_0x1eac5b);});}}_0x4a0a08[_0x1d44de([0x6f,0x6e])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x45af03,_0x1a7d7a)=>{if(_0x1a7d7a[0x0]!=_0x689110)return _0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1a7d7a[0x1]={..._0x1a7d7a[0x1],[_0x1d44de([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5beeba};},{[_0x1d44de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d44de([0x68,0x69,0x67,0x68])}),_0x4a0a08[_0x1d44de([0x6f,0x6e])](_0x1d44de([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5abaaf=>{_0x590612(_0x5abaaf[_0x1d44de([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x17db09=!0x0,_0x212b7c(_0x5abaaf[_0x1d44de([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1d44de([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1d44de([0x6c,0x6f,0x77])}),_0x4a612a[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>{_0x17db09||_0x4d8a4c(_0x1d44de([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x43bf13(){return _0x4a0a08[_0x1d44de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d44de([0x76,0x69,0x65,0x77])][_0x1d44de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1d44de([0x61,0x75,0x74,0x6f]);}function _0x5a89d1(){_0x4a0a08[_0x1d44de([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1d44de([0x76,0x69,0x65,0x77])][_0x1d44de([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1d44de([0x61,0x75,0x74,0x6f]);}}function _0x547ff2(_0x463e4b){const _0x414e2d=[new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4c796a=>setTimeout(_0x4c796a,0x47abbbca^_0x1eac5b)),_0x4a612a[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e1389=>{let _0xbe1ecd=0x0;_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x6f,0x6e])](_0x1d44de([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x66865e,_0x402c3f)=>{_0x402c3f[0x0][_0x1d44de([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xbe1ecd++,_0xbe1ecd==(0x47a280ee^_0x1eac5b)&&(_0x1e1389(),_0x66865e[_0x1d44de([0x6f,0x66,0x66])]());});}))];return window[_0x1d44de([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1d44de([0x72,0x61,0x63,0x65])](_0x414e2d)[_0x1d44de([0x74,0x68,0x65,0x6e])](()=>_0x463e4b);}async function _0x54cf82(){await _0x4a612a,_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x42abe8,_0x4a0a08[_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c])][_0x1d44de([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x42abe8,_0x4a0a08[_0x1d44de([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1d44de([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1e3cfd(_0xbe30df){const _0x234cee=_0x18045d();_0x4a0a08[_0x234cee]=_0x1d44de([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xbe30df,_0xbe30df!=_0x1d44de([0x56,0x61,0x6c,0x69,0x64])&&_0x54cf82();}function _0x18045d(){const _0x36de45=window[_0x1d44de([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1d44de([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1d44de([0x6e,0x6f,0x77])]())[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1d44de([0x2e]),'');let _0x84b21c=_0x1d44de([0x75]);for(let _0x999667=0x0;_0x999667<_0x36de45[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x999667+=0x2){let _0x1fe212=window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x36de45[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x999667,_0x999667+0x2));_0x1fe212>=_0x25e487[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1fe212-=_0x25e487[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x84b21c+=_0x25e487[_0x1fe212];}return _0x84b21c;}function _0x4a4f41(){const _0x32e4af=_0x3abe1b[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e]));if(0x3!=_0x32e4af[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3c331a(_0x32e4af[0x1]);function _0x3c331a(_0x21077a){const _0x41b75d=_0xcbd2ba(_0x21077a);return _0x41b75d&&_0x38726c()?_0x41b75d:null;function _0x38726c(){const _0x14fc7c=_0x41b75d[_0x1d44de([0x6a,0x74,0x69])],_0x29389c=window[_0x1d44de([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14fc7c[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14fc7c[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3c8826={..._0x41b75d,[_0x1d44de([0x6a,0x74,0x69])]:_0x14fc7c[_0x1d44de([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14fc7c[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3c8826[_0x1d44de([0x76,0x63])],_0x59cae7(_0x3c8826)==_0x29389c;}}}async function _0x234961(){let _0x1de437=!0x0;try{const _0x129123=_0x3abe1b[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])](_0x1d44de([0x2e])),[_0x5d8db5,_0x3f1ef2,_0x1f2954]=_0x129123;return _0x23d582(_0x5d8db5),await _0x5bd30d(_0x5d8db5,_0x3f1ef2,_0x1f2954),_0x1de437;}catch{return!0x1;}function _0x23d582(_0x36a51c){const _0x1c23b4=_0xcbd2ba(_0x36a51c);_0x1c23b4&&_0x1c23b4[_0x1d44de([0x61,0x6c,0x67])]==_0x1d44de([0x45,0x53,0x32,0x35,0x36])||(_0x1de437=!0x1);}async function _0x5bd30d(_0x510b58,_0x49aa5d,_0x5cd67f){const _0x21a6c0=window[_0x1d44de([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1d44de([0x66,0x72,0x6f,0x6d])](_0x151743(_0x5cd67f),_0x45108b=>_0x45108b[_0x1d44de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xc9f846=new window[(_0x1d44de([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1d44de([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x510b58+_0x1d44de([0x2e])+_0x49aa5d),_0x3bcd84=window[_0x1d44de([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1d44de([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3bcd84)return;const _0x484c31=await _0x3bcd84[_0x1d44de([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1d44de([0x6a,0x77,0x6b]),_0x2720ac,{[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x45,0x43,0x44,0x53,0x41]),[_0x1d44de([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1d44de([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3bcd84[_0x1d44de([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x45,0x43,0x44,0x53,0x41]),[_0x1d44de([0x68,0x61,0x73,0x68])]:{[_0x1d44de([0x6e,0x61,0x6d,0x65])]:_0x1d44de([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x484c31,_0x21a6c0,_0xc9f846)||(_0x1de437=!0x1);}}function _0xcbd2ba(_0x32494e){return _0x32494e[_0x1d44de([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1d44de([0x65,0x79]))?JSON[_0x1d44de([0x70,0x61,0x72,0x73,0x65])](_0x151743(_0x32494e)):null;}function _0x151743(_0x38fb00){return window[_0x1d44de([0x61,0x74,0x6f,0x62])](_0x38fb00[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1d44de([0x2b]))[_0x1d44de([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1d44de([0x2f])));}function _0x59cae7(_0x333100){let _0x2db860=0x1505;function _0x3ef1a7(_0x54c668){for(let _0x284ae9=0x0;_0x284ae9<_0x54c668[_0x1d44de([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x284ae9++){const _0x320ec8=_0x54c668[_0x1d44de([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x284ae9);_0x2db860=(_0x2db860<<0x5)+_0x2db860+_0x320ec8,_0x2db860&=_0x2db860;}}function _0x2603b9(_0x3b273d){Array[_0x1d44de([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3b273d)?_0x3b273d[_0x1d44de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x2603b9):_0x3b273d&&typeof _0x3b273d==_0x1d44de([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1d44de([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3b273d)[_0x1d44de([0x73,0x6f,0x72,0x74])]()[_0x1d44de([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14f9a4,_0x59d0c8])=>{_0x3ef1a7(_0x14f9a4),_0x2603b9(_0x59d0c8);}):_0x3ef1a7(window[_0x1d44de([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3b273d));}return _0x2603b9(_0x333100),_0x2db860>>>0x0;}function _0x35e23d(_0x430dfe){return _0x430dfe[_0x1d44de([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1d44de([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1d44de([0x30]));}function _0x4948c8(_0x428a65){return _0x428a65[_0x1d44de([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1d44de([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1d44de([0x6a,0x6f,0x69,0x6e])]('');}function _0x42abe8(){}function _0x1d44de(_0x10dcd7){return _0x10dcd7['map'](_0x357242=>String['fromCharCode'](_0x357242))['join']('');}_0x1e3cfd(await _0x53507d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4b145c){const {plugins:_0x158f0b,editing:_0xb9b9a6,model:_0x3f6167}=this['editor'],_0x233477=_0x158f0b['get'](_0x30e2b1)['getFootnote'](_0x4b145c);return!!_0x233477&&(_0x3f6167['change'](_0x5c23bd=>{_0x5c23bd['setSelection'](_0x5c23bd['createPositionAt'](_0x233477['definition'],'end'));}),_0xb9b9a6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3d2338){const {plugins:_0x3b4280,editing:_0x6601,model:_0x40600d}=this['editor'],_0x11d61a=_0x3b4280['get'](_0x30e2b1)['getFootnote'](_0x3d2338);return!!_0x11d61a&&(_0x40600d['change'](_0x61c17f=>{_0x61c17f['setSelection'](_0x11d61a['reference'],'on');}),_0x6601['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x17629d}=this['editor']['model'],_0x579e85=this['editor']['config']['get']('footnotes.multiBlock');_0x17629d['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x17629d['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x17629d['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x579e85?_0x17629d['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x17629d['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x17629d['addChildCheck'](_0x5bf480=>{for(const _0x578277 of _0x5bf480)if('footnoteDefinition'===_0x578277['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x44b1c9}=this,{conversion:_0x822820,editing:_0x5d13ba}=_0x44b1c9,{t:t}=_0x44b1c9['locale'];_0x822820['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x124a18,{writer:_0x42b3aa,consumable:_0x5e4b75})=>{const _0x23a8f0=_0x124a18['getChild'](0x0);if(!_0x23a8f0||!_0x23a8f0['is']('element','a'))return null;const _0x1f9918=_0x23a8f0['getAttribute']('href')||'';if(!_0x1f9918['startsWith']('#'))return null;const _0x2c932c=_0x1f9918['replace'](/^#/,'');if(!_0x2c932c)return null;_0x5e4b75['consume'](_0x23a8f0,{'name':!0x0,'attributes':['href']});for(const {item:_0x1a4f3d}of _0x5d13ba['view']['createRangeIn'](_0x23a8f0))_0x1a4f3d['is']('$textProxy')?_0x5e4b75['consume'](_0x1a4f3d['textNode'],{'name':!0x0}):_0x1a4f3d['is']('element')&&_0x5e4b75['consume'](_0x1a4f3d,{'name':!0x0});return _0x42b3aa['createElement']('footnoteRef',{'footnoteId':_0x2c932c});}}),_0x822820['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x29e50a,{writer:_0x4053f3})=>b(_0x29e50a,_0x4053f3)}),_0x822820['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1ac591,{writer:_0x38a40b})=>{const _0x78cf8e=_0x1ac591['getAttribute']('footnoteCounter');return _0x33c872(b(_0x1ac591,_0x38a40b),_0x38a40b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x78cf8e)});}});}['_defineDefinitionsConverters'](){const {editor:_0x286b00}=this,{t:t}=_0x286b00['locale'],{conversion:_0xcd8d6f}=_0x286b00;_0xcd8d6f['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0xcd8d6f['for']('upcast')['add'](_0x4e6d0c=>{_0x4e6d0c['on']('element:ol',(_0x2e1e9c,_0x4c9b3a,_0x5539e9)=>{const _0xafa186=_0x4c9b3a['viewItem'];if(!_0xafa186['hasClass']('footnotes-list')||!_0x4c9b3a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5539e9['consumable']['consume'](_0xafa186,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5bdd9e,modelCursor:_0x586aef}=_0x5539e9['convertChildren'](_0x4c9b3a['viewItem'],_0x4c9b3a['modelCursor']);_0x4c9b3a['modelRange']=_0x5bdd9e,_0x4c9b3a['modelCursor']=_0x586aef;}),_0x4e6d0c['on']('element:hr',(_0xbbe819,_0x4057a2,_0x5eaf5d)=>{const _0x125b76=_0x4057a2['viewItem'];_0x125b76['hasClass']('footnotes-divider')&&_0x4057a2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5eaf5d['consumable']['consume'](_0x125b76,{'name':!0x0,'classes':'footnotes-divider'});});}),_0xcd8d6f['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x507da0,{writer:_0x102a50})=>D(_0x102a50)}),_0xcd8d6f['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x30682d,{writer:_0x3f5322})=>{const _0x3e4d8e=D(_0x3f5322,{'data-footnotes-list-label':t('Footnotes')}),_0x960a16=_0x33c872(_0x3e4d8e,_0x3f5322,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3f5322['setCustomProperty']('footnotesDefinitions',!0x0,_0x960a16),_0x960a16;}});}['_defineDefinitionConverters'](){const {editor:_0x2ca418}=this,{conversion:_0x5878db,locale:_0x1942ec}=_0x2ca418,_0x2bb894=_0x2ca418['config']['get']('footnotes.multiBlock');_0x5878db['for']('upcast')['add'](_0x5dfb4c=>{_0x5dfb4c['on']('element:li',(_0x67b70b,_0x539c58,_0x2a6909)=>{const _0xdf557d=_0x539c58['viewItem'];if(!_0xdf557d['hasClass']('footnote-definition')||!_0xdf557d['getAttribute']('id'))return;const _0x3d3e26=_0xdf557d['parent'];if(!_0x3d3e26['is']('element','ol')||!_0x3d3e26['hasClass']('footnotes-list'))return;if(!_0x2a6909['consumable']['test'](_0xdf557d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x4647eb=_0x2a6909['writer']['createElement']('footnoteDefinition',{'footnoteId':_0xdf557d['getAttribute']('id')});if(!_0x2a6909['safeInsert'](_0x4647eb,_0x539c58['modelCursor']))return;_0x2a6909['consumable']['consume'](_0xdf557d,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3cd25a=Array['from'](_0xdf557d['getChildren']())['find'](_0x31e634=>_0x31e634['is']('element')&&_0x31e634['hasClass']('footnote-content'));for(const _0x3c4de7 of _0xdf557d['getChildren']())_0x3c4de7['is']('element')&&(_0x2a6909['consumable']['consume'](_0x3c4de7,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2a6909['consumable']['consume'](_0x3c4de7,{'name':!0x0,'classes':'footnote-content'}));if(_0x3cd25a){if(_0x2bb894)_0x2a6909['convertChildren'](_0x3cd25a,_0x4647eb);else{const _0x3a1e64=_0x2a6909['writer']['createElement']('footnoteInlineContent');_0x2a6909['writer']['insert'](_0x3a1e64,_0x4647eb),_0x2a6909['convertChildren'](_0x3cd25a,_0x3a1e64);}}_0x2a6909['updateConversionResult'](_0x4647eb,_0x539c58);});}),_0x5878db['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x13b727,{writer:_0x247adf})=>y(_0x13b727,_0x247adf,_0x1942ec,{'dataPipeline':!0x0})}),_0x5878db['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x565053,{writer:_0x2452b2})=>y(_0x565053,_0x2452b2,_0x1942ec)});}['_defineBogusParagraphConverters'](){const {editor:_0x513a57}=this,{conversion:_0x6f2c0f}=_0x513a57;_0x513a57['config']['get']('footnotes.multiBlock')?(_0x6f2c0f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x6f2c0f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x513a57['model']['document'],'change:data',()=>{!function(_0x369be1,_0x3f645d){const _0x1e6bd2=_0x369be1['document']['differ'],_0x4e9279=new Set();for(const _0x1ed90a of _0x1e6bd2['getChanges']()){const _0x19e2e9='attribute'==_0x1ed90a['type']?_0x1ed90a['range']['start']['parent']:_0x1ed90a['position']['parent'];_0x19e2e9['is']('element','footnoteDefinition')&&_0x4e9279['add'](_0x19e2e9);}for(const _0x1bdf14 of _0x4e9279['values']()){const _0x27db4f=Array['from'](_0x1bdf14['getChildren']())['filter'](_0x4061ed=>v(_0x4061ed,_0x3f645d['mapper']));for(const _0x567035 of _0x27db4f)_0x3f645d['reconvertItem'](_0x567035);}}(_0x513a57['model'],_0x513a57['editing']);})):(_0x6f2c0f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x6f2c0f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x41eaa4,{writer:_0x359f13})=>{const _0x193613=_0x359f13['createContainerElement']('span');return _0x359f13['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x193613),_0x193613;}}));}['_defineKeyboardHandlers'](){const {editor:_0x168560}=this,{editing:_0x187987,t:t}=_0x168560,_0x29bd1b=_0x168560['model']['document']['selection'];_0x168560['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x168560['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x187987['view']['document'],'enter',(_0x4fbcdd,_0x305bc5)=>{const _0x1e5472=function(_0x18c6b3){const _0x4475b5=_0x18c6b3['getSelectedElement']();if(_0x4475b5?.['is']('element','footnoteRef'))return _0x4475b5;return null;}(_0x29bd1b);if(_0x1e5472){const _0x1eddb1=_0x1e5472['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1eddb1),_0x305bc5['preventDefault'](),_0x4fbcdd['stop']();}},{'context':_0x56f56d});}['_defineClickHandlers'](){const {editor:_0x18b6a9}=this,{editing:_0x314149}=_0x18b6a9;_0x18b6a9['editing']['view']['addObserver'](_0x330e4d),_0x18b6a9['editing']['view']['addObserver'](_0x122c8c);let _0x591b84=!0x1;this['listenTo'](_0x314149['view']['document'],'pointerdown',(_0x5bde63,_0x5bff85)=>{const {target:_0x1a20a8}=_0x5bff85,_0x5522f9=_0x314149['view']['document']['selection'];_0x591b84=!!(_0x1a20a8?.['is']('element','a')&&_0x1a20a8['parent']?.['is']('element','sup')&&_0x1a20a8['parent']['hasClass']('footnote'))&&_0x5522f9['getSelectedElement']()===_0x1a20a8['parent'];},{'priority':'high'}),this['listenTo'](_0x314149['view']['document'],'click',(_0x12b6b0,_0x1de29b)=>{const {target:_0x29cd4e}=_0x1de29b;if(!_0x29cd4e?.['is']('element','a'))return;if(_0x29cd4e['parent']?.['is']('element','sup')&&_0x29cd4e['parent']['hasClass']('footnote')&&!_0x591b84)return void _0x1de29b['preventDefault']();let _0x2a82ee=_0x29cd4e['getAttribute']('href');if(!_0x2a82ee?.['startsWith']('#'))return;_0x2a82ee=_0x2a82ee['slice'](0x1);let _0x39bf=!0x1;(_0x2a82ee['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2a82ee['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2a82ee))&&(_0x39bf=!0x0),_0x39bf&&(_0x1de29b['preventDefault'](),_0x12b6b0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0xc8d3e6}={}){return(_0x17d05c,{writer:_0x35d63a})=>{if(!g(_0x17d05c))return null;if(!_0xc8d3e6)return _0x35d63a['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2fe8f2=_0x35d63a['createContainerElement']('p');return _0x35d63a['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2fe8f2),_0x2fe8f2;};}function g(_0x3e2958){const {parent:_0xd73efd}=_0x3e2958;if(!_0xd73efd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xd73efd['childCount'])return!0x1;for(const _0x1f09ca of _0x3e2958['getAttributeKeys']())if(!_0x1f09ca['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1f09ca)return!0x1;return!0x0;}function v(_0x480c68,_0x5ed9fa){if(!_0x480c68['is']('element','paragraph'))return!0x1;const _0x29b203=_0x5ed9fa['toViewElement'](_0x480c68);return!!_0x29b203&&g(_0x480c68)!==_0x29b203['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x359404){return _0x56f56d(_0x359404)&&_0x359404['is']('containerElement')&&!!_0x359404['getCustomProperty']('footnotesDefinitions');}function D(_0x5dd609,_0x536347={}){const _0x14c198=_0x5dd609['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x33c552=_0x5dd609['createContainerElement']('ol',{'class':'footnotes-list'},_0x5dd609['createSlot']());return _0x5dd609['createContainerElement']('div',{'class':'footnotes',..._0x536347},[_0x14c198,_0x33c552]);}function b(_0x555dc9,_0x5a32ff){const _0x441f7d=_0x555dc9['getAttribute']('footnoteId'),_0x5ac03e=_0x555dc9['getAttribute']('footnoteCounter'),_0x48a6a5=_0x5a32ff['createUIElement']('a',{'href':'#'+_0x441f7d},function(_0x479032){const _0x441952=this['toDomElement'](_0x479032);return _0x441952['textContent']=_0x5ac03e,_0x441952;}),_0x75eab7=_0x5a32ff['createContainerElement']('sup',{'id':'ref-'+_0x441f7d,'class':'footnote'},[_0x48a6a5]);return _0x75eab7['getFillerOffset']=()=>null,_0x75eab7;}function y(_0x4a5190,_0x46b796,_0x438ae2,{dataPipeline:_0x4a24c4}={}){const {t:t}=_0x438ae2,_0x180abe=_0x4a5190['getAttribute']('footnoteId'),_0x4ab98f=_0x46b796['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x180abe},function(_0x38688d){const _0x1cd071=this['toDomElement'](_0x38688d);return _0x1cd071['innerText']='^',_0x1cd071;}),_0x3fbf12=_0x4a24c4?_0x46b796['createContainerElement']('div',{'class':'footnote-content'}):_0x1a7f21(_0x46b796['createEditableElement']('div',{'class':'footnote-content'}),_0x46b796,{'label':t('Footnote\x20content.')});return _0x46b796['insert'](_0x46b796['createPositionAt'](_0x3fbf12,0x0),_0x46b796['createSlot']()),_0x46b796['createContainerElement']('li',{'class':'footnote-definition','id':_0x180abe},[_0x4ab98f,_0x3fbf12]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x388f6d=_0x2ec4;(function(_0x2cd9b7,_0x278eac){const _0x4234df=_0x2ec4,_0x3eff98=_0x2cd9b7();while(!![]){try{const _0x539dc0=parseInt(_0x4234df(0xbb))/0x1*(-parseInt(_0x4234df(0xb0))/0x2)+parseInt(_0x4234df(0xbd))/0x3+-parseInt(_0x4234df(0xb2))/0x4*(parseInt(_0x4234df(0xb4))/0x5)+-parseInt(_0x4234df(0xb6))/0x6*(-parseInt(_0x4234df(0xba))/0x7)+-parseInt(_0x4234df(0xb8))/0x8+parseInt(_0x4234df(0xc2))/0x9+parseInt(_0x4234df(0xbc))/0xa*(-parseInt(_0x4234df(0xb9))/0xb);if(_0x539dc0===_0x278eac)break;else _0x3eff98['push'](_0x3eff98['shift']());}catch(_0x4c9765){_0x3eff98['push'](_0x3eff98['shift']());}}}(_0x3c9e,0xa5670));function _0x2ec4(_0x32a3e6,_0x40ea68){const _0x3c9ec6=_0x3c9e();return _0x2ec4=function(_0x2ec439,_0x5b9765){_0x2ec439=_0x2ec439-0xae;let _0x23dc3a=_0x3c9ec6[_0x2ec439];return _0x23dc3a;},_0x2ec4(_0x32a3e6,_0x40ea68);}function _0x3c9e(){const _0x1e45cb=['1QyHzLL','100GkhHPe','4002471cfGaMf','getFootnotesDefinitionsObjectElement','value','isEnabled','_updateFootnotesCounters','11138679EeNTcx','footnotesListStart','change','setAttribute','execute','plugins','model','1143394TIECrT','get','1428724PvLJwf','refresh','10lFldQN','getAttribute','5274ehmqBH','isInteger','1444000lBRRFD','597179MIyybc','917OKdNsG'];_0x3c9e=function(){return _0x1e45cb;};return _0x3c9e();}import{Command as _0x28cab2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x476852}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x28cab2{[_0x388f6d(0xb3)](){const _0x202822=_0x388f6d,{editor:_0x26a9b5}=this,_0x25e36a=_0x26a9b5[_0x202822(0xae)][_0x202822(0xb1)](_0x476852)[_0x202822(0xbe)]();this[_0x202822(0xc0)]=!!_0x25e36a,this[_0x202822(0xbf)]=_0x25e36a?.[_0x202822(0xb5)](_0x202822(0xc3))??null;}[_0x388f6d(0xc6)]({value:_0x32459b}){const _0x4aa1e1=_0x388f6d,{editor:_0x1388bd}=this,_0x2b7cb7=_0x1388bd[_0x4aa1e1(0xae)][_0x4aa1e1(0xb1)](_0x476852),_0x57002b=_0x2b7cb7[_0x4aa1e1(0xbe)]();_0x57002b&&Number[_0x4aa1e1(0xb7)](_0x32459b)&&_0x1388bd[_0x4aa1e1(0xaf)][_0x4aa1e1(0xc4)](_0x7ce0f5=>{const _0x4d9e0b=_0x4aa1e1;_0x7ce0f5[_0x4d9e0b(0xc5)](_0x4d9e0b(0xc3),_0x32459b,_0x57002b),_0x2b7cb7[_0x4d9e0b(0xc1)](_0x7ce0f5);});}}
23
+ const _0x3a4592=_0x39a1;(function(_0xea941e,_0xec73ea){const _0x46ecfd=_0x39a1,_0x327de2=_0xea941e();while(!![]){try{const _0x3eb239=-parseInt(_0x46ecfd(0x151))/0x1+-parseInt(_0x46ecfd(0x144))/0x2+-parseInt(_0x46ecfd(0x14a))/0x3*(-parseInt(_0x46ecfd(0x13e))/0x4)+parseInt(_0x46ecfd(0x14b))/0x5*(-parseInt(_0x46ecfd(0x14f))/0x6)+parseInt(_0x46ecfd(0x14d))/0x7*(-parseInt(_0x46ecfd(0x149))/0x8)+parseInt(_0x46ecfd(0x140))/0x9+parseInt(_0x46ecfd(0x13c))/0xa;if(_0x3eb239===_0xec73ea)break;else _0x327de2['push'](_0x327de2['shift']());}catch(_0x5888e2){_0x327de2['push'](_0x327de2['shift']());}}}(_0x5912,0x564be));function _0x39a1(_0x2d4cef,_0x591653){const _0x591263=_0x5912();return _0x39a1=function(_0x39a133,_0x3d63d5){_0x39a133=_0x39a133-0x13b;let _0x94d91a=_0x591263[_0x39a133];return _0x94d91a;},_0x39a1(_0x2d4cef,_0x591653);}import{Command as _0x2a8d6e}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2bd785}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2a8d6e{[_0x3a4592(0x143)](){const _0x109a8b=_0x3a4592,{editor:_0x57b7c3}=this,_0x184a10=_0x57b7c3[_0x109a8b(0x14e)][_0x109a8b(0x13f)](_0x2bd785)[_0x109a8b(0x14c)]();this[_0x109a8b(0x145)]=!!_0x184a10,this[_0x109a8b(0x13d)]=_0x184a10?.[_0x109a8b(0x146)](_0x109a8b(0x13b))??null;}[_0x3a4592(0x141)]({value:_0x314d89}){const _0x48c4b4=_0x3a4592,{editor:_0x4f5a44}=this,_0x4a9a27=_0x4f5a44[_0x48c4b4(0x14e)][_0x48c4b4(0x13f)](_0x2bd785),_0x407d0e=_0x4a9a27[_0x48c4b4(0x14c)]();_0x407d0e&&Number[_0x48c4b4(0x142)](_0x314d89)&&_0x4f5a44[_0x48c4b4(0x150)][_0x48c4b4(0x152)](_0x1fdc4a=>{const _0x523eab=_0x48c4b4;_0x1fdc4a[_0x523eab(0x148)](_0x523eab(0x13b),_0x314d89,_0x407d0e),_0x4a9a27[_0x523eab(0x147)](_0x1fdc4a);});}}function _0x5912(){const _0x3d44af=['footnotesListStart','18740470iPAcJn','value','164WvKPNK','get','1019799nVvTTq','execute','isInteger','refresh','909006oIdubG','isEnabled','getAttribute','_updateFootnotesCounters','setAttribute','136ppaKux','10497rPGxKu','5iwWssx','getFootnotesDefinitionsObjectElement','261191apHsEs','plugins','70302PEbaLI','model','676806zPJjKp','change'];_0x5912=function(){return _0x3d44af;};return _0x5912();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x18bafc=_0x5647;(function(_0x3986ba,_0x20fe75){const _0x53f553=_0x5647,_0x1a6e3b=_0x3986ba();while(!![]){try{const _0x128f54=parseInt(_0x53f553(0x74))/0x1+parseInt(_0x53f553(0x79))/0x2+-parseInt(_0x53f553(0x82))/0x3*(parseInt(_0x53f553(0x7f))/0x4)+-parseInt(_0x53f553(0x7e))/0x5*(-parseInt(_0x53f553(0x7a))/0x6)+-parseInt(_0x53f553(0x84))/0x7+-parseInt(_0x53f553(0x7c))/0x8+parseInt(_0x53f553(0x78))/0x9*(-parseInt(_0x53f553(0x80))/0xa);if(_0x128f54===_0x20fe75)break;else _0x1a6e3b['push'](_0x1a6e3b['shift']());}catch(_0x4910b3){_0x1a6e3b['push'](_0x1a6e3b['shift']());}}}(_0xef0a,0x87ae8));import{Command as _0x6fad57}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x405aad}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1f5ebd}from'../../footnotestracker.js';function _0x5647(_0x2fcd39,_0x61b77b){const _0xef0aa9=_0xef0a();return _0x5647=function(_0x5647bf,_0x66c77){_0x5647bf=_0x5647bf-0x70;let _0x395555=_0xef0aa9[_0x5647bf];return _0x395555;},_0x5647(_0x2fcd39,_0x61b77b);}export class FootnotesStyleCommand extends _0x6fad57{[_0x18bafc(0x71)](){const _0x583c02=_0x18bafc,{editor:_0x5b7d76}=this,_0x4e67a0=_0x5b7d76[_0x583c02(0x87)][_0x583c02(0x70)](_0x1f5ebd)[_0x583c02(0x75)]();this[_0x583c02(0x83)]=!!_0x4e67a0,this[_0x583c02(0x86)]=_0x4e67a0?.[_0x583c02(0x81)](_0x583c02(0x77))??null;}[_0x18bafc(0x85)]({value:_0x1e8063}){const _0x1756ad=_0x18bafc,{editor:_0x50aa6b}=this,_0x35bcce=_0x50aa6b[_0x1756ad(0x87)][_0x1756ad(0x70)](_0x1f5ebd),_0x1fe5c5=_0x35bcce[_0x1756ad(0x75)]();_0x1fe5c5&&_0x405aad[_0x1756ad(0x7d)](_0x1e8063)&&_0x50aa6b[_0x1756ad(0x7b)][_0x1756ad(0x72)](_0x375eff=>{const _0x160f2f=_0x1756ad;_0x375eff[_0x160f2f(0x73)](_0x160f2f(0x77),_0x1e8063,_0x1fe5c5),_0x35bcce[_0x160f2f(0x76)](_0x375eff);});}}function _0xef0a(){const _0x2ac800=['1851864BnXFaQ','execute','value','plugins','get','refresh','change','setAttribute','656248lMOFkd','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','footnotesListStyle','25101wxBmsV','881030QUALhP','4138734hsBWUO','model','1320712cpIxeW','includes','5jWDgUv','63124iTqsDB','100McknJg','getAttribute','147eBkJuT','isEnabled'];_0xef0a=function(){return _0x2ac800;};return _0xef0a();}
23
+ const _0xd1e869=_0x2eca;(function(_0x4304b5,_0x5acedf){const _0x3870d0=_0x2eca,_0x92571d=_0x4304b5();while(!![]){try{const _0x26cd9a=parseInt(_0x3870d0(0xe0))/0x1*(parseInt(_0x3870d0(0xf5))/0x2)+-parseInt(_0x3870d0(0xed))/0x3*(parseInt(_0x3870d0(0xf0))/0x4)+-parseInt(_0x3870d0(0xea))/0x5*(parseInt(_0x3870d0(0xe5))/0x6)+-parseInt(_0x3870d0(0xf7))/0x7*(parseInt(_0x3870d0(0xec))/0x8)+-parseInt(_0x3870d0(0xe9))/0x9*(parseInt(_0x3870d0(0xef))/0xa)+parseInt(_0x3870d0(0xee))/0xb*(parseInt(_0x3870d0(0xe3))/0xc)+parseInt(_0x3870d0(0xf6))/0xd;if(_0x26cd9a===_0x5acedf)break;else _0x92571d['push'](_0x92571d['shift']());}catch(_0x2dbce3){_0x92571d['push'](_0x92571d['shift']());}}}(_0x53aa,0xbcb3d));function _0x53aa(){const _0x240c34=['plugins','refresh','2Elsgrp','setAttribute','value','960krINHD','change','258WZIZYm','get','footnotesListStyle','isEnabled','27QiJYCt','143170URcHJq','model','7384JeMQap','267jIqgWN','171039nrmQrI','3071080FaEnLW','56756JdPKJN','includes','getFootnotesDefinitionsObjectElement','execute','getAttribute','974098cvOavQ','38225031eFlKcb','7357vofZDH','_updateFootnotesCounters'];_0x53aa=function(){return _0x240c34;};return _0x53aa();}import{Command as _0x43895d}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x3437ae}from'../footnotespropertiesconfig.js';function _0x2eca(_0x4a7e81,_0x32e84b){const _0x53aa5e=_0x53aa();return _0x2eca=function(_0x2eca9a,_0x48eff1){_0x2eca9a=_0x2eca9a-0xde;let _0x237f00=_0x53aa5e[_0x2eca9a];return _0x237f00;},_0x2eca(_0x4a7e81,_0x32e84b);}import{FootnotesTracker as _0x67cd9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x43895d{[_0xd1e869(0xdf)](){const _0x5b1bc3=_0xd1e869,{editor:_0x3e3e70}=this,_0x3c794a=_0x3e3e70[_0x5b1bc3(0xde)][_0x5b1bc3(0xe6)](_0x67cd9)[_0x5b1bc3(0xf2)]();this[_0x5b1bc3(0xe8)]=!!_0x3c794a,this[_0x5b1bc3(0xe2)]=_0x3c794a?.[_0x5b1bc3(0xf4)](_0x5b1bc3(0xe7))??null;}[_0xd1e869(0xf3)]({value:_0x3c7fa3}){const _0x526f79=_0xd1e869,{editor:_0xe44b4f}=this,_0x5d266d=_0xe44b4f[_0x526f79(0xde)][_0x526f79(0xe6)](_0x67cd9),_0x5f3cc2=_0x5d266d[_0x526f79(0xf2)]();_0x5f3cc2&&_0x3437ae[_0x526f79(0xf1)](_0x3c7fa3)&&_0xe44b4f[_0x526f79(0xeb)][_0x526f79(0xe4)](_0xd98531=>{const _0x461150=_0x526f79;_0xd98531[_0x461150(0xe1)](_0x461150(0xe7),_0x3c7fa3,_0x5f3cc2),_0x5d266d[_0x461150(0xf8)](_0xd98531);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2cbb88=_0x468e;(function(_0x1675f6,_0x190445){const _0x4c9828=_0x468e,_0x398cc5=_0x1675f6();while(!![]){try{const _0x3073e9=-parseInt(_0x4c9828(0xc7))/0x1+parseInt(_0x4c9828(0xcc))/0x2+-parseInt(_0x4c9828(0xce))/0x3+parseInt(_0x4c9828(0xca))/0x4*(-parseInt(_0x4c9828(0xc5))/0x5)+-parseInt(_0x4c9828(0xcb))/0x6*(-parseInt(_0x4c9828(0xc3))/0x7)+-parseInt(_0x4c9828(0xbf))/0x8+parseInt(_0x4c9828(0xc4))/0x9;if(_0x3073e9===_0x190445)break;else _0x398cc5['push'](_0x398cc5['shift']());}catch(_0x32a73d){_0x398cc5['push'](_0x398cc5['shift']());}}}(_0x561e,0xb6eaa));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2cbb88(0xc1),_0x2cbb88(0xc8),_0x2cbb88(0xc2),_0x2cbb88(0xcd),_0x2cbb88(0xbe),_0x2cbb88(0xc9),_0x2cbb88(0xc0),_0x2cbb88(0xc6)];function _0x468e(_0x59eb88,_0x50d25d){const _0x561ece=_0x561e();return _0x468e=function(_0x468e33,_0x4ce903){_0x468e33=_0x468e33-0xbe;let _0xd93625=_0x561ece[_0x468e33];return _0xd93625;},_0x468e(_0x59eb88,_0x50d25d);}function _0x561e(){const _0x4bc5a3=['lower-roman','decimal','lower-latin','777WxxfYU','11093688clDTIS','87475oovfTj','upper-roman','429191FBqkXk','decimal-leading-zero','upper-alpha','8KYkjLe','50586NOUbFx','2903056SXDaJB','upper-latin','2798784EBpunD','lower-alpha','11789328uQvcuJ'];_0x561e=function(){return _0x4bc5a3;};return _0x561e();}
23
+ const _0x157462=_0x54a4;(function(_0x51419c,_0x438790){const _0x59dd2f=_0x54a4,_0x32e5b7=_0x51419c();while(!![]){try{const _0x4f5654=-parseInt(_0x59dd2f(0x1ac))/0x1+parseInt(_0x59dd2f(0x1a8))/0x2+-parseInt(_0x59dd2f(0x1a4))/0x3*(-parseInt(_0x59dd2f(0x1a9))/0x4)+-parseInt(_0x59dd2f(0x1a6))/0x5*(-parseInt(_0x59dd2f(0x19e))/0x6)+-parseInt(_0x59dd2f(0x1a1))/0x7+-parseInt(_0x59dd2f(0x1a2))/0x8*(-parseInt(_0x59dd2f(0x1ae))/0x9)+-parseInt(_0x59dd2f(0x1aa))/0xa;if(_0x4f5654===_0x438790)break;else _0x32e5b7['push'](_0x32e5b7['shift']());}catch(_0xee11cc){_0x32e5b7['push'](_0x32e5b7['shift']());}}}(_0xd1eb,0x6a44a));function _0x54a4(_0x2c2143,_0x2695dc){const _0xd1ebc7=_0xd1eb();return _0x54a4=function(_0x54a4bf,_0x20dc3d){_0x54a4bf=_0x54a4bf-0x19d;let _0x537e7d=_0xd1ebc7[_0x54a4bf];return _0x537e7d;},_0x54a4(_0x2c2143,_0x2695dc);}function _0xd1eb(){const _0x9eb7b7=['5821361DhtaaQ','128dxLlTc','decimal-leading-zero','57HviaAH','upper-roman','3741380VJkDGk','lower-latin','1438514ozIZSz','15604GbYJSF','3197330wCQZQh','upper-alpha','87150UVbDUK','decimal','74322kWQQkY','lower-roman','6VwaTYA','lower-alpha','upper-latin'];_0xd1eb=function(){return _0x9eb7b7;};return _0xd1eb();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x157462(0x1ad),_0x157462(0x1a3),_0x157462(0x1a7),_0x157462(0x1a0),_0x157462(0x19f),_0x157462(0x1ab),_0x157462(0x19d),_0x157462(0x1a5)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x284e75=_0x5b73;(function(_0x5ebed4,_0x36c5b3){const _0x4f1298=_0x5b73,_0x4b739d=_0x5ebed4();while(!![]){try{const _0x5f5a73=-parseInt(_0x4f1298(0xaa))/0x1+parseInt(_0x4f1298(0xa7))/0x2*(-parseInt(_0x4f1298(0xd7))/0x3)+parseInt(_0x4f1298(0xdf))/0x4+parseInt(_0x4f1298(0xa3))/0x5*(parseInt(_0x4f1298(0xdc))/0x6)+parseInt(_0x4f1298(0xc4))/0x7*(parseInt(_0x4f1298(0xa5))/0x8)+parseInt(_0x4f1298(0x96))/0x9+parseInt(_0x4f1298(0x85))/0xa*(-parseInt(_0x4f1298(0xae))/0xb);if(_0x5f5a73===_0x36c5b3)break;else _0x4b739d['push'](_0x4b739d['shift']());}catch(_0x2105a3){_0x4b739d['push'](_0x4b739d['shift']());}}}(_0x2b5a,0xeb761));import{Plugin as _0x493ba8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x11eb53}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x258f75}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4dbe23}from'../footnotestracker.js';import{FootnotesEditing as _0x3284ad}from'../footnotesediting.js';function _0x2b5a(){const _0x4bc5e8=['schema','max','_getDefaultStartIndex','lower-alpha','9060858PSMWqu','insert','footnotesListStyle','type','consume','removeAttribute','decimal','from','consumable','_updateFootnotesCounters','attribute:footnotesListStart:footnotesDefinitions','element','isNaN','4765aDKQSu','for','645272zMOLWq','upcast','517130VYYswS','position','_formatFootnoteListValue','1208231vKxnOo','hasAttribute','removeStyle','isOfficialPlugin','2365FqtYXv','hasClass','getChanges','name','footnotes-list','upper-latin','toUpperCase','_definePostfixer','editor','getItems','pluginName','_defineFormatter','setAttribute','parent','attribute:footnotesListStyle:footnotesDefinitions','footnotesListStart','getChildren','registerPostFixer','setFootnoteFormatter','item','footnotesStyle','find','154imSfJY','mapper','differ','$text','toLowerCase','downcast','isPremiumPlugin','lower-latin','footnotesDefinitions','modelCursor','viewItem','padStart','decimal-leading-zero','list-style-type','_getDefaultListStyle','getStyle','footnotes.footnotesProperties.defaultStartIndex','writer','define','18aaPPDj','add','get','plugins','_defineConverters','5286VBHAlV','init','fromCharCode','3528648RWxCub','nodeAfter','commands','footnotes.footnotesProperties.defaultListStyle','config','checkAttribute','parseInt','start','toViewElement','_defineSchema','upper-alpha','document','36230KpNHhD','upper-roman','getAttribute','createRangeOn','lower-roman','extend','requires','FootnotesPropertiesEditing','model','setStyle','footnotesStart','floor','element:ol'];_0x2b5a=function(){return _0x4bc5e8;};return _0x2b5a();}export class FootnotesPropertiesEditing extends _0x493ba8{static get[_0x284e75(0xb8)](){const _0x1450e8=_0x284e75;return _0x1450e8(0x8c);}static get[_0x284e75(0x8b)](){return[_0x3284ad,_0x4dbe23];}static get[_0x284e75(0xad)](){return!0x0;}static get[_0x284e75(0xca)](){return!0x0;}[_0x284e75(0xdd)](){const _0x20af76=_0x284e75,{editor:_0x2a6a9e}=this;_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xe2),_0x20af76(0x9c)),_0x2a6a9e[_0x20af76(0xe3)][_0x20af76(0xd6)](_0x20af76(0xd4),0x1),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0xc2),new _0x11eb53(_0x2a6a9e)),_0x2a6a9e[_0x20af76(0xe1)][_0x20af76(0xd8)](_0x20af76(0x8f),new _0x258f75(_0x2a6a9e)),this[_0x20af76(0x82)](),this[_0x20af76(0xdb)](),this[_0x20af76(0xb9)](),this[_0x20af76(0xb5)]();}[_0x284e75(0x82)](){const _0x3952eb=_0x284e75,{editor:_0x1aab82}=this,{schema:_0x4ded27}=_0x1aab82[_0x3952eb(0x8d)];_0x4ded27[_0x3952eb(0x8a)](_0x3952eb(0xcc),{'allowAttributes':[_0x3952eb(0x98),_0x3952eb(0xbd)]});}[_0x284e75(0xdb)](){const _0x491ef6=_0x284e75,{editor:_0x318888}=this,{conversion:_0x35e3d1,model:_0x8a32dd}=_0x318888,{schema:_0x35a4ff}=_0x8a32dd;_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xa6))[_0x491ef6(0xd8)](_0x2d4e02=>{const _0x34ad1c=_0x491ef6;_0x2d4e02['on'](_0x34ad1c(0x91),(_0x8594ff,_0x48cc2b,_0x4496c9)=>{const _0x1aeb2e=_0x34ad1c,_0x10c169=_0x48cc2b[_0x1aeb2e(0xce)],_0x4460db=_0x48cc2b[_0x1aeb2e(0xcd)]?.[_0x1aeb2e(0xbb)];_0x10c169[_0x1aeb2e(0xaf)](_0x1aeb2e(0xb2))&&_0x4460db?.['is'](_0x1aeb2e(0xa1),_0x1aeb2e(0xcc))&&(function(_0xaf9fc0,_0x16c1cc,_0x4a7142,_0x4da5f6){const _0x5ef3a6=_0x1aeb2e;if(!_0x4da5f6[_0x5ef3a6(0xe4)](_0x16c1cc,_0x5ef3a6(0xbd)))return;let _0x171e99=0x1;const _0x4e2153=_0x4a7142[_0x5ef3a6(0x9e)][_0x5ef3a6(0x9a)](_0xaf9fc0,{'attributes':_0x5ef3a6(0x80)});if(_0x4e2153){const _0x2590a6=Number[_0x5ef3a6(0xe5)](_0xaf9fc0[_0x5ef3a6(0x87)](_0x5ef3a6(0x80)),0xa);Number[_0x5ef3a6(0xa2)](_0x2590a6)||(_0x171e99=_0x2590a6);}!_0x4e2153&&_0x16c1cc[_0x5ef3a6(0xab)](_0x5ef3a6(0xbd))||_0x4a7142[_0x5ef3a6(0xd5)][_0x5ef3a6(0xba)](_0x5ef3a6(0xbd),_0x171e99,_0x16c1cc);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff),function(_0x18f494,_0x337220,_0x491dc6,_0x25fb4b){const _0x39d6b8=_0x1aeb2e;if(!_0x25fb4b[_0x39d6b8(0xe4)](_0x337220,_0x39d6b8(0x98)))return;let _0x173a74=_0x39d6b8(0x9c),_0xc196ca=!0x1;if(_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'attributes':_0x39d6b8(0x99)})){const _0x312720={0x1:_0x39d6b8(0x9c),'a':_0x39d6b8(0x95),'A':_0x39d6b8(0x83),'i':_0x39d6b8(0x89),'I':_0x39d6b8(0x86)}[_0x18f494[_0x39d6b8(0x87)](_0x39d6b8(0x99))];_0x312720&&(_0x173a74=_0x312720),_0xc196ca=!0x0;}_0x491dc6[_0x39d6b8(0x9e)][_0x39d6b8(0x9a)](_0x18f494,{'styles':_0x39d6b8(0xd1)})&&(_0x173a74=function(_0x4cd319){const _0x20daa7=_0x39d6b8;switch(_0x4cd319){case _0x20daa7(0x95):return _0x20daa7(0xcb);case _0x20daa7(0x83):return _0x20daa7(0xb3);default:return _0x4cd319;}}(_0x18f494[_0x39d6b8(0xd3)](_0x39d6b8(0xd1))),_0xc196ca=!0x0),!_0xc196ca&&_0x337220[_0x39d6b8(0xab)](_0x39d6b8(0x98))||_0x491dc6[_0x39d6b8(0xd5)][_0x39d6b8(0xba)](_0x39d6b8(0x98),_0x173a74,_0x337220);}(_0x10c169,_0x4460db,_0x4496c9,_0x35a4ff));});}),_0x35e3d1[_0x491ef6(0xa4)](_0x491ef6(0xc9))[_0x491ef6(0xd8)](_0x3bf4af=>{const _0xe2bf71=_0x491ef6;_0x3bf4af['on'](_0xe2bf71(0xa0),(_0x1a9d1e,_0x18e345,_0x544bad)=>{const _0x1c56b1=_0xe2bf71;if(!_0x544bad[_0x1c56b1(0x9e)][_0x1c56b1(0x9a)](_0x18e345[_0x1c56b1(0xc1)],_0x1a9d1e[_0x1c56b1(0xb1)]))return;const _0x2724ea=M(_0x18e345[_0x1c56b1(0xc1)],_0x544bad[_0x1c56b1(0xc5)]),{attributeNewValue:_0x489e79}=_0x18e345;null==_0x489e79||0x1===_0x489e79?_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0x9b)](_0x1c56b1(0x80),_0x2724ea):_0x544bad[_0x1c56b1(0xd5)][_0x1c56b1(0xba)](_0x1c56b1(0x80),String(_0x489e79),_0x2724ea);}),_0x3bf4af['on'](_0xe2bf71(0xbc),(_0x579c69,_0x35acf7,_0x1f9045)=>{const _0x2da53f=_0xe2bf71;if(!_0x1f9045[_0x2da53f(0x9e)][_0x2da53f(0x9a)](_0x35acf7[_0x2da53f(0xc1)],_0x579c69[_0x2da53f(0xb1)]))return;const _0x4ac2b0=M(_0x35acf7[_0x2da53f(0xc1)],_0x1f9045[_0x2da53f(0xc5)]),{attributeNewValue:_0x31cb98}=_0x35acf7;_0x31cb98&&_0x2da53f(0x9c)!==_0x31cb98?_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0x8e)](_0x2da53f(0xd1),_0x31cb98,_0x4ac2b0):_0x1f9045[_0x2da53f(0xd5)][_0x2da53f(0xac)](_0x2da53f(0xd1),_0x4ac2b0);});});}[_0x284e75(0xb5)](){const _0x27b085=_0x284e75,{editor:_0x47e457}=this,{model:_0x40432e}=_0x47e457,_0x46e1c7=_0x47e457[_0x27b085(0xda)][_0x27b085(0xd9)](_0x4dbe23),_0x593027=this[_0x27b085(0xd2)](),_0x4cf3e6=this[_0x27b085(0x94)]();_0x40432e[_0x27b085(0x84)][_0x27b085(0xbf)](_0x4ae72d=>{const _0x599fee=_0x27b085,_0x128927=_0x40432e[_0x599fee(0x84)][_0x599fee(0xc6)][_0x599fee(0xb0)]();let _0x10b18e=!0x1;for(const _0xc3552a of _0x128927){if(_0x599fee(0x97)!==_0xc3552a[_0x599fee(0x99)]||_0x599fee(0xc7)===_0xc3552a[_0x599fee(0xb1)])continue;const _0x5cf67f=_0x40432e[_0x599fee(0x88)](_0xc3552a[_0x599fee(0xa8)][_0x599fee(0xe0)]);for(const _0x3cf7eb of _0x5cf67f[_0x599fee(0xb7)]())_0x3cf7eb['is'](_0x599fee(0xa1),_0x599fee(0xcc))&&(!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0xbd))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0xbd))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0xbd),_0x4cf3e6,_0x3cf7eb),_0x10b18e=!0x0),!_0x3cf7eb[_0x599fee(0xab)](_0x599fee(0x98))&&_0x40432e[_0x599fee(0x92)][_0x599fee(0xe4)](_0x3cf7eb,_0x599fee(0x98))&&(_0x4ae72d[_0x599fee(0xba)](_0x599fee(0x98),_0x593027,_0x3cf7eb),_0x10b18e=!0x0));}return _0x10b18e&&_0x46e1c7[_0x599fee(0x9f)](_0x4ae72d),_0x10b18e;});}[_0x284e75(0xb9)](){const _0x5e9daf=_0x284e75,{editor:_0x539ae5}=this;_0x539ae5[_0x5e9daf(0xda)][_0x5e9daf(0xd9)](_0x4dbe23)[_0x5e9daf(0xc0)](_0x2aa4e4=>this[_0x5e9daf(0xa9)](_0x2aa4e4));}[_0x284e75(0xd2)](){const _0x35bfd1=_0x284e75;return this[_0x35bfd1(0xb6)][_0x35bfd1(0xe3)][_0x35bfd1(0xd9)](_0x35bfd1(0xe2));}[_0x284e75(0x94)](){const _0x814b3e=_0x284e75;return this[_0x814b3e(0xb6)][_0x814b3e(0xe3)][_0x814b3e(0xd9)](_0x814b3e(0xd4));}[_0x284e75(0xa9)]({container:_0x39f3fc,value:_0x44ed35,digits:_0x57bc08}){const _0x463615=_0x284e75,_0x530168=_0x39f3fc[_0x463615(0x87)](_0x463615(0x98)),_0x11ebb4=_0x39f3fc[_0x463615(0x87)](_0x463615(0xbd)),_0x516033=Math[_0x463615(0x90)](_0x44ed35)+(_0x11ebb4??0x1)-0x1;switch(_0x530168){case _0x463615(0xd0):return function(_0x428449,_0xc2ddef){const _0x186fb2=_0x463615;return String(_0x428449)[_0x186fb2(0xcf)](_0xc2ddef,'0');}(_0x516033,Math[_0x463615(0x93)](0x2,_0x57bc08));case _0x463615(0x95):case _0x463615(0xcb):return N(_0x516033,!0x1);case _0x463615(0x83):case _0x463615(0xb3):return N(_0x516033,!0x0);case _0x463615(0x89):return X(_0x516033,!0x1);case _0x463615(0x86):return X(_0x516033,!0x0);default:return String(_0x516033);}}}function M(_0x29d08e,_0x4b192e){const _0x333e9e=_0x284e75,_0x1c5908=_0x4b192e[_0x333e9e(0x81)](_0x29d08e);return Array[_0x333e9e(0x9d)](_0x1c5908[_0x333e9e(0xbe)]())[_0x333e9e(0xc3)](_0xc3b4fb=>_0xc3b4fb['is'](_0x333e9e(0xa1),'ol')&&_0xc3b4fb[_0x333e9e(0xaf)](_0x333e9e(0xb2)));}function N(_0x35f8f2,_0x5e04f7){const _0x4820f9=_0x284e75;let _0x344d16='',_0x54d385=_0x35f8f2;for(;_0x54d385>0x0;){const _0x5b3c5e=(_0x54d385-0x1)%0x1a;_0x344d16=String[_0x4820f9(0xde)](0x61+_0x5b3c5e)+_0x344d16,_0x54d385=Math[_0x4820f9(0x90)]((_0x54d385-0x1)/0x1a);}return _0x5e04f7?_0x344d16[_0x4820f9(0xb4)]():_0x344d16;}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 _0x5b73(_0xc08785,_0x16194f){const _0x2b5a1f=_0x2b5a();return _0x5b73=function(_0x5b73a4,_0xbd85ce){_0x5b73a4=_0x5b73a4-0x80;let _0x401092=_0x2b5a1f[_0x5b73a4];return _0x401092;},_0x5b73(_0xc08785,_0x16194f);}function X(_0x7dfecc,_0x46cee6){const _0x27ca4f=_0x284e75;let _0x42a592='',_0x27bd51=_0x7dfecc;for(const {value:_0x2375b8,numeral:_0x246479}of V)for(;_0x27bd51>=_0x2375b8;)_0x42a592+=_0x246479,_0x27bd51-=_0x2375b8;return _0x46cee6?_0x42a592:_0x42a592[_0x27ca4f(0xc8)]();}
23
+ const _0x2f98d0=_0x339b;(function(_0x518562,_0x44ab8a){const _0x17fd53=_0x339b,_0xd96879=_0x518562();while(!![]){try{const _0x144197=parseInt(_0x17fd53(0xca))/0x1+parseInt(_0x17fd53(0xef))/0x2+parseInt(_0x17fd53(0xbc))/0x3+-parseInt(_0x17fd53(0xf8))/0x4+-parseInt(_0x17fd53(0xf0))/0x5*(-parseInt(_0x17fd53(0xb6))/0x6)+parseInt(_0x17fd53(0xa2))/0x7*(-parseInt(_0x17fd53(0xd6))/0x8)+-parseInt(_0x17fd53(0xf6))/0x9;if(_0x144197===_0x44ab8a)break;else _0xd96879['push'](_0xd96879['shift']());}catch(_0x10016f){_0xd96879['push'](_0xd96879['shift']());}}}(_0x3a3f,0x74abc));import{Plugin as _0x1fa414}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3b1e7e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x2698c3}from'./commands/footnotesstartcommand.js';function _0x3a3f(){const _0x4b6a8c=['init','position','footnotes.footnotesProperties.defaultStartIndex','hasClass','toUpperCase','start','upcast','hasAttribute','footnotesListStyle','upper-alpha','isPremiumPlugin','_formatFootnoteListValue','mapper','attribute:footnotesListStyle:footnotesDefinitions','4866JZJHZF','getChanges','item','element:ol','removeAttribute','isOfficialPlugin','2579739fYjLVc','commands','differ','find','viewItem','lower-latin','schema','consumable','_getDefaultListStyle','for','_defineConverters','removeStyle','getAttribute','extend','74658nxXksC','model','_definePostfixer','footnotesStart','getChildren','type','setAttribute','pluginName','config','getItems','modelCursor','plugins','18328DJuATC','lower-alpha','upper-latin','parent','max','document','createRangeOn','checkAttribute','footnotesDefinitions','registerPostFixer','$text','_getDefaultStartIndex','toViewElement','decimal-leading-zero','isNaN','lower-roman','padStart','_defineFormatter','name','list-style-type','requires','upper-roman','footnotesStyle','setStyle','parseInt','1072998FbxrDf','5430tNRnQL','get','from','fromCharCode','_updateFootnotesCounters','floor','11258253JGaXvp','getStyle','8616RdAzBL','footnotes.footnotesProperties.defaultListStyle','FootnotesPropertiesEditing','consume','footnotes-list','attribute:footnotesListStart:footnotesDefinitions','add','writer','setFootnoteFormatter','nodeAfter','downcast','_defineSchema','footnotesListStart','element','1897IWmCdl','editor','insert','define','toLowerCase','decimal'];_0x3a3f=function(){return _0x4b6a8c;};return _0x3a3f();}import{FootnotesTracker as _0x38293e}from'../footnotestracker.js';import{FootnotesEditing as _0x4f2cb1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1fa414{static get[_0x2f98d0(0xd1)](){const _0xbb8156=_0x2f98d0;return _0xbb8156(0xfa);}static get[_0x2f98d0(0xea)](){return[_0x4f2cb1,_0x38293e];}static get[_0x2f98d0(0xbb)](){return!0x0;}static get[_0x2f98d0(0xb2)](){return!0x0;}[_0x2f98d0(0xa8)](){const _0x5df729=_0x2f98d0,{editor:_0x2f12f7}=this;_0x2f12f7[_0x5df729(0xd2)][_0x5df729(0xa5)](_0x5df729(0xf9),_0x5df729(0xa7)),_0x2f12f7[_0x5df729(0xd2)][_0x5df729(0xa5)](_0x5df729(0xaa),0x1),_0x2f12f7[_0x5df729(0xbd)][_0x5df729(0xfe)](_0x5df729(0xec),new _0x3b1e7e(_0x2f12f7)),_0x2f12f7[_0x5df729(0xbd)][_0x5df729(0xfe)](_0x5df729(0xcd),new _0x2698c3(_0x2f12f7)),this[_0x5df729(0x9f)](),this[_0x5df729(0xc6)](),this[_0x5df729(0xe7)](),this[_0x5df729(0xcc)]();}[_0x2f98d0(0x9f)](){const _0x4b457f=_0x2f98d0,{editor:_0x2872bd}=this,{schema:_0x132d64}=_0x2872bd[_0x4b457f(0xcb)];_0x132d64[_0x4b457f(0xc9)](_0x4b457f(0xde),{'allowAttributes':[_0x4b457f(0xb0),_0x4b457f(0xa0)]});}[_0x2f98d0(0xc6)](){const _0x322b2a=_0x2f98d0,{editor:_0x290581}=this,{conversion:_0x300fbe,model:_0x540ef1}=_0x290581,{schema:_0x507a16}=_0x540ef1;_0x300fbe[_0x322b2a(0xc5)](_0x322b2a(0xae))[_0x322b2a(0xfe)](_0x54c24d=>{const _0x12aa65=_0x322b2a;_0x54c24d['on'](_0x12aa65(0xb9),(_0xdf4420,_0x3e50f9,_0x38c491)=>{const _0xd571b5=_0x12aa65,_0x4ab9d6=_0x3e50f9[_0xd571b5(0xc0)],_0x778004=_0x3e50f9[_0xd571b5(0xd4)]?.[_0xd571b5(0xd9)];_0x4ab9d6[_0xd571b5(0xab)](_0xd571b5(0xfc))&&_0x778004?.['is'](_0xd571b5(0xa1),_0xd571b5(0xde))&&(function(_0x2823e2,_0x4d9535,_0x21adca,_0x480a6c){const _0x4b4953=_0xd571b5;if(!_0x480a6c[_0x4b4953(0xdd)](_0x4d9535,_0x4b4953(0xa0)))return;let _0x2d43f2=0x1;const _0x2a3cbd=_0x21adca[_0x4b4953(0xc3)][_0x4b4953(0xfb)](_0x2823e2,{'attributes':_0x4b4953(0xad)});if(_0x2a3cbd){const _0x53a9ea=Number[_0x4b4953(0xee)](_0x2823e2[_0x4b4953(0xc8)](_0x4b4953(0xad)),0xa);Number[_0x4b4953(0xe4)](_0x53a9ea)||(_0x2d43f2=_0x53a9ea);}!_0x2a3cbd&&_0x4d9535[_0x4b4953(0xaf)](_0x4b4953(0xa0))||_0x21adca[_0x4b4953(0xff)][_0x4b4953(0xd0)](_0x4b4953(0xa0),_0x2d43f2,_0x4d9535);}(_0x4ab9d6,_0x778004,_0x38c491,_0x507a16),function(_0x1702d6,_0x37114d,_0x46aaa0,_0x24e686){const _0x3c620c=_0xd571b5;if(!_0x24e686[_0x3c620c(0xdd)](_0x37114d,_0x3c620c(0xb0)))return;let _0x2c0462=_0x3c620c(0xa7),_0x46f2f2=!0x1;if(_0x46aaa0[_0x3c620c(0xc3)][_0x3c620c(0xfb)](_0x1702d6,{'attributes':_0x3c620c(0xcf)})){const _0x5053a9={0x1:_0x3c620c(0xa7),'a':_0x3c620c(0xd7),'A':_0x3c620c(0xb1),'i':_0x3c620c(0xe5),'I':_0x3c620c(0xeb)}[_0x1702d6[_0x3c620c(0xc8)](_0x3c620c(0xcf))];_0x5053a9&&(_0x2c0462=_0x5053a9),_0x46f2f2=!0x0;}_0x46aaa0[_0x3c620c(0xc3)][_0x3c620c(0xfb)](_0x1702d6,{'styles':_0x3c620c(0xe9)})&&(_0x2c0462=function(_0x5c1498){const _0x2f4f8d=_0x3c620c;switch(_0x5c1498){case _0x2f4f8d(0xd7):return _0x2f4f8d(0xc1);case _0x2f4f8d(0xb1):return _0x2f4f8d(0xd8);default:return _0x5c1498;}}(_0x1702d6[_0x3c620c(0xf7)](_0x3c620c(0xe9))),_0x46f2f2=!0x0),!_0x46f2f2&&_0x37114d[_0x3c620c(0xaf)](_0x3c620c(0xb0))||_0x46aaa0[_0x3c620c(0xff)][_0x3c620c(0xd0)](_0x3c620c(0xb0),_0x2c0462,_0x37114d);}(_0x4ab9d6,_0x778004,_0x38c491,_0x507a16));});}),_0x300fbe[_0x322b2a(0xc5)](_0x322b2a(0x102))[_0x322b2a(0xfe)](_0x3df283=>{const _0x4d2c62=_0x322b2a;_0x3df283['on'](_0x4d2c62(0xfd),(_0x41d492,_0x478ace,_0x54e6f6)=>{const _0x5b107a=_0x4d2c62;if(!_0x54e6f6[_0x5b107a(0xc3)][_0x5b107a(0xfb)](_0x478ace[_0x5b107a(0xb8)],_0x41d492[_0x5b107a(0xe8)]))return;const _0x99716a=M(_0x478ace[_0x5b107a(0xb8)],_0x54e6f6[_0x5b107a(0xb4)]),{attributeNewValue:_0x3981a4}=_0x478ace;null==_0x3981a4||0x1===_0x3981a4?_0x54e6f6[_0x5b107a(0xff)][_0x5b107a(0xba)](_0x5b107a(0xad),_0x99716a):_0x54e6f6[_0x5b107a(0xff)][_0x5b107a(0xd0)](_0x5b107a(0xad),String(_0x3981a4),_0x99716a);}),_0x3df283['on'](_0x4d2c62(0xb5),(_0x2b38b6,_0x292dbe,_0x5b8ecd)=>{const _0x5c122a=_0x4d2c62;if(!_0x5b8ecd[_0x5c122a(0xc3)][_0x5c122a(0xfb)](_0x292dbe[_0x5c122a(0xb8)],_0x2b38b6[_0x5c122a(0xe8)]))return;const _0x1fb43c=M(_0x292dbe[_0x5c122a(0xb8)],_0x5b8ecd[_0x5c122a(0xb4)]),{attributeNewValue:_0x4c7551}=_0x292dbe;_0x4c7551&&_0x5c122a(0xa7)!==_0x4c7551?_0x5b8ecd[_0x5c122a(0xff)][_0x5c122a(0xed)](_0x5c122a(0xe9),_0x4c7551,_0x1fb43c):_0x5b8ecd[_0x5c122a(0xff)][_0x5c122a(0xc7)](_0x5c122a(0xe9),_0x1fb43c);});});}[_0x2f98d0(0xcc)](){const _0x403d44=_0x2f98d0,{editor:_0x12b0d8}=this,{model:_0x2e4532}=_0x12b0d8,_0x4cf921=_0x12b0d8[_0x403d44(0xd5)][_0x403d44(0xf1)](_0x38293e),_0x1277ae=this[_0x403d44(0xc4)](),_0x52f15d=this[_0x403d44(0xe1)]();_0x2e4532[_0x403d44(0xdb)][_0x403d44(0xdf)](_0x123289=>{const _0x1b50d8=_0x403d44,_0x2d3f40=_0x2e4532[_0x1b50d8(0xdb)][_0x1b50d8(0xbe)][_0x1b50d8(0xb7)]();let _0x3f48e0=!0x1;for(const _0x20c55c of _0x2d3f40){if(_0x1b50d8(0xa4)!==_0x20c55c[_0x1b50d8(0xcf)]||_0x1b50d8(0xe0)===_0x20c55c[_0x1b50d8(0xe8)])continue;const _0x536356=_0x2e4532[_0x1b50d8(0xdc)](_0x20c55c[_0x1b50d8(0xa9)][_0x1b50d8(0x101)]);for(const _0x52904f of _0x536356[_0x1b50d8(0xd3)]())_0x52904f['is'](_0x1b50d8(0xa1),_0x1b50d8(0xde))&&(!_0x52904f[_0x1b50d8(0xaf)](_0x1b50d8(0xa0))&&_0x2e4532[_0x1b50d8(0xc2)][_0x1b50d8(0xdd)](_0x52904f,_0x1b50d8(0xa0))&&(_0x123289[_0x1b50d8(0xd0)](_0x1b50d8(0xa0),_0x52f15d,_0x52904f),_0x3f48e0=!0x0),!_0x52904f[_0x1b50d8(0xaf)](_0x1b50d8(0xb0))&&_0x2e4532[_0x1b50d8(0xc2)][_0x1b50d8(0xdd)](_0x52904f,_0x1b50d8(0xb0))&&(_0x123289[_0x1b50d8(0xd0)](_0x1b50d8(0xb0),_0x1277ae,_0x52904f),_0x3f48e0=!0x0));}return _0x3f48e0&&_0x4cf921[_0x1b50d8(0xf4)](_0x123289),_0x3f48e0;});}[_0x2f98d0(0xe7)](){const _0x55d6cd=_0x2f98d0,{editor:_0x3ca8fb}=this;_0x3ca8fb[_0x55d6cd(0xd5)][_0x55d6cd(0xf1)](_0x38293e)[_0x55d6cd(0x100)](_0x4063a7=>this[_0x55d6cd(0xb3)](_0x4063a7));}[_0x2f98d0(0xc4)](){const _0x19a1a4=_0x2f98d0;return this[_0x19a1a4(0xa3)][_0x19a1a4(0xd2)][_0x19a1a4(0xf1)](_0x19a1a4(0xf9));}[_0x2f98d0(0xe1)](){const _0xcc92ab=_0x2f98d0;return this[_0xcc92ab(0xa3)][_0xcc92ab(0xd2)][_0xcc92ab(0xf1)](_0xcc92ab(0xaa));}[_0x2f98d0(0xb3)]({container:_0x19a003,value:_0x3e5691,digits:_0x186028}){const _0x3e813b=_0x2f98d0,_0x5d9fb0=_0x19a003[_0x3e813b(0xc8)](_0x3e813b(0xb0)),_0x261f00=_0x19a003[_0x3e813b(0xc8)](_0x3e813b(0xa0)),_0x3cb930=Math[_0x3e813b(0xf5)](_0x3e5691)+(_0x261f00??0x1)-0x1;switch(_0x5d9fb0){case _0x3e813b(0xe3):return function(_0x2fce16,_0x514fb3){const _0x4ee442=_0x3e813b;return String(_0x2fce16)[_0x4ee442(0xe6)](_0x514fb3,'0');}(_0x3cb930,Math[_0x3e813b(0xda)](0x2,_0x186028));case _0x3e813b(0xd7):case _0x3e813b(0xc1):return N(_0x3cb930,!0x1);case _0x3e813b(0xb1):case _0x3e813b(0xd8):return N(_0x3cb930,!0x0);case _0x3e813b(0xe5):return X(_0x3cb930,!0x1);case _0x3e813b(0xeb):return X(_0x3cb930,!0x0);default:return String(_0x3cb930);}}}function _0x339b(_0x3b5053,_0xd3f3a0){const _0x3a3f90=_0x3a3f();return _0x339b=function(_0x339bf8,_0x5f3cfe){_0x339bf8=_0x339bf8-0x9f;let _0x531fbe=_0x3a3f90[_0x339bf8];return _0x531fbe;},_0x339b(_0x3b5053,_0xd3f3a0);}function M(_0x5f1996,_0x17ef30){const _0x44b854=_0x2f98d0,_0x3b311c=_0x17ef30[_0x44b854(0xe2)](_0x5f1996);return Array[_0x44b854(0xf2)](_0x3b311c[_0x44b854(0xce)]())[_0x44b854(0xbf)](_0x2798cf=>_0x2798cf['is'](_0x44b854(0xa1),'ol')&&_0x2798cf[_0x44b854(0xab)](_0x44b854(0xfc)));}function N(_0x5db4c4,_0x3e52e5){const _0x5384c8=_0x2f98d0;let _0x3904ff='',_0x41372f=_0x5db4c4;for(;_0x41372f>0x0;){const _0x297306=(_0x41372f-0x1)%0x1a;_0x3904ff=String[_0x5384c8(0xf3)](0x61+_0x297306)+_0x3904ff,_0x41372f=Math[_0x5384c8(0xf5)]((_0x41372f-0x1)/0x1a);}return _0x3e52e5?_0x3904ff[_0x5384c8(0xac)]():_0x3904ff;}const V=[{'value':0x3e8,'numeral':'M'},{'value':0x384,'numeral':'CM'},{'value':0x1f4,'numeral':'D'},{'value':0x190,'numeral':'CD'},{'value':0x64,'numeral':'C'},{'value':0x5a,'numeral':'XC'},{'value':0x32,'numeral':'L'},{'value':0x28,'numeral':'XL'},{'value':0xa,'numeral':'X'},{'value':0x9,'numeral':'IX'},{'value':0x5,'numeral':'V'},{'value':0x4,'numeral':'IV'},{'value':0x1,'numeral':'I'}];function X(_0x3a7fdb,_0x1d1629){const _0x437214=_0x2f98d0;let _0x4d6500='',_0x37d217=_0x3a7fdb;for(const {value:_0x46cd9b,numeral:_0xdd4b33}of V)for(;_0x37d217>=_0x46cd9b;)_0x4d6500+=_0xdd4b33,_0x37d217-=_0x46cd9b;return _0x1d1629?_0x4d6500:_0x4d6500[_0x437214(0xa6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x33d426,ButtonView as _0x284d05,ContextualBalloon as _0x442bf9,createDropdown as _0x3f3f7f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x50cc3d}from'ckeditor5/src/widget.js';import{Plugin as _0x553e63}from'ckeditor5/src/core.js';import{IconFootnote as _0x372738,IconListStyleDecimal as _0x2909a6,IconListStyleDecimalLeadingZero as _0x29f4ec,IconListStyleLowerLatin as _0x16a258,IconListStyleLowerRoman as _0x538559,IconListStyleUpperLatin as _0xffadd2,IconListStyleUpperRoman as _0x1e2007}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2c2674}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3f8683}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x553e63{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x442bf9,_0x50cc3d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x522535}=this,{componentFactory:_0x1814d7}=_0x522535['ui'];_0x522535['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1814d7['add']('footnotesStyle',function(_0x1af9b3){return _0x387bbf=>{const {t:t}=_0x387bbf,_0x213527=_0x1af9b3['commands']['get']('footnotesStyle'),_0x4535c1=_0x3f3f7f(_0x387bbf),{buttonView:_0x4c060c}=_0x4535c1;return _0x4535c1['class']='ck-footnotes-styles-dropdown',_0x4535c1['bind']('isEnabled')['to'](_0x213527,'isEnabled'),_0x4c060c['set']({'label':t('Footnotes\x20style'),'icon':_0x372738,'tooltip':!0x0}),_0x4535c1['once']('change:isOpen',()=>{const _0x4f7906=function({editor:_0x11a812,dropdownView:_0x3e4372}){const {t:t}=_0x11a812['locale'],_0x11ec82=t('Footnotes\x20definitions\x20styles'),_0x3e7735=function(_0x5ea1b0){const t=_0x5ea1b0['locale']['t'],_0x2a8629=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2909a6},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x29f4ec},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x538559},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1e2007},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x16a258},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xffadd2}];return _0x2a8629['map'](function(_0x31e916){const _0x412de6=_0x31e916['locale'];return({label:_0x8614cf,icon:_0x4f4631,tooltip:_0x4a55f9,style:_0xced2d3})=>{const _0x2136e3=_0x31e916['commands']['get']('footnotesStyle'),_0x3840e8=new _0x284d05(_0x412de6);return _0x3840e8['set']({'label':_0x8614cf,'icon':_0x4f4631,'tooltip':_0x4a55f9}),_0x3840e8['bind']('isOn')['to'](_0x2136e3,'value',_0x2d92ba=>_0x2d92ba===_0xced2d3),_0x3840e8['bind']('isEnabled')['to'](_0x2136e3,'isEnabled'),_0x3840e8['on']('execute',()=>{_0x31e916['execute']('footnotesStyle',{'value':_0xced2d3}),_0x31e916['editing']['view']['focus']();}),_0x3840e8;};}(_0x5ea1b0));}(_0x11a812),_0x5edc52=new _0x2c2674(_0x11a812['locale'],{'styleGridAriaLabel':_0x11ec82,'styleButtonViews':_0x3e7735}),_0x569999=_0x11a812['commands']['get']('footnotesStart');return _0x5edc52['startIndexFieldView']['bind']('isEnabled')['to'](_0x569999),_0x5edc52['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x569999),_0x5edc52['on']('footnotesListStart',(_0x434a24,_0x3e273c)=>{_0x11a812['execute']('footnotesStart',{'value':_0x3e273c['startIndex']});}),_0x5edc52['delegate']('execute')['to'](_0x3e4372),_0x5edc52;}({'editor':_0x1af9b3,'dropdownView':_0x4535c1});_0x4535c1['panelView']['children']['add'](_0x4f7906);}),_0x4535c1;};}(_0x522535));}['afterInit'](){const {editor:_0x2abf99}=this,{t:t}=_0x2abf99['locale'],_0x43d920=_0x2abf99['plugins']['get'](_0x50cc3d),{defaultPositions:_0x5c46f4}=_0x33d426;_0x43d920['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x2abf99['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2fa4f9=>{let _0x2a803a=_0x2fa4f9['getFirstPosition']()?.['parent'];return _0x2a803a?.['is']('$text')&&(_0x2a803a=_0x2a803a['parent']),_0x2a803a?.['is']('element')?_0x2a803a['findAncestor'](_0x3f8683):null;},'positions':[_0x5c46f4['southArrowNorth'],_0x5c46f4['southArrowNorthMiddleWest'],_0x5c46f4['southArrowNorthMiddleEast'],_0x5c46f4['southArrowNorthWest'],_0x5c46f4['southArrowNorthEast'],_0x5c46f4['northArrowSouth'],_0x5c46f4['northArrowSouthMiddleWest'],_0x5c46f4['northArrowSouthMiddleEast'],_0x5c46f4['northArrowSouthWest'],_0x5c46f4['northArrowSouthEast'],_0x5c46f4['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x37d35d,ButtonView as _0x5f12ee,ContextualBalloon as _0x517019,createDropdown as _0x33bc9c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x26862a}from'ckeditor5/src/widget.js';import{Plugin as _0x258e3d}from'ckeditor5/src/core.js';import{IconFootnote as _0x2723d2,IconListStyleDecimal as _0x50fdcc,IconListStyleDecimalLeadingZero as _0x3b9fc3,IconListStyleLowerLatin as _0x779664,IconListStyleLowerRoman as _0x32bed5,IconListStyleUpperLatin as _0x14f994,IconListStyleUpperRoman as _0x4e4f87}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x149659}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x5b3b78}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x258e3d{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x517019,_0x26862a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57b353}=this,{componentFactory:_0x409971}=_0x57b353['ui'];_0x57b353['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x409971['add']('footnotesStyle',function(_0x1d8e9b){return _0x210cd7=>{const {t:t}=_0x210cd7,_0x1217c2=_0x1d8e9b['commands']['get']('footnotesStyle'),_0x10f324=_0x33bc9c(_0x210cd7),{buttonView:_0x9373ae}=_0x10f324;return _0x10f324['class']='ck-footnotes-styles-dropdown',_0x10f324['bind']('isEnabled')['to'](_0x1217c2,'isEnabled'),_0x9373ae['set']({'label':t('Footnotes\x20style'),'icon':_0x2723d2,'tooltip':!0x0}),_0x10f324['once']('change:isOpen',()=>{const _0x4a93d9=function({editor:_0x1f6b13,dropdownView:_0x5b49c4}){const {t:t}=_0x1f6b13['locale'],_0x5855ad=t('Footnotes\x20definitions\x20styles'),_0x3c154e=function(_0x5f51d1){const t=_0x5f51d1['locale']['t'],_0x2180bf=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x50fdcc},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3b9fc3},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x32bed5},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4e4f87},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x779664},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x14f994}];return _0x2180bf['map'](function(_0x53f4ad){const _0xe93f25=_0x53f4ad['locale'];return({label:_0x5443f5,icon:_0x313147,tooltip:_0x1dd7ea,style:_0x4ec127})=>{const _0x1044e1=_0x53f4ad['commands']['get']('footnotesStyle'),_0x564151=new _0x5f12ee(_0xe93f25);return _0x564151['set']({'label':_0x5443f5,'icon':_0x313147,'tooltip':_0x1dd7ea}),_0x564151['bind']('isOn')['to'](_0x1044e1,'value',_0x8b03a9=>_0x8b03a9===_0x4ec127),_0x564151['bind']('isEnabled')['to'](_0x1044e1,'isEnabled'),_0x564151['on']('execute',()=>{_0x53f4ad['execute']('footnotesStyle',{'value':_0x4ec127}),_0x53f4ad['editing']['view']['focus']();}),_0x564151;};}(_0x5f51d1));}(_0x1f6b13),_0x1a6a99=new _0x149659(_0x1f6b13['locale'],{'styleGridAriaLabel':_0x5855ad,'styleButtonViews':_0x3c154e}),_0x47c0e2=_0x1f6b13['commands']['get']('footnotesStart');return _0x1a6a99['startIndexFieldView']['bind']('isEnabled')['to'](_0x47c0e2),_0x1a6a99['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x47c0e2),_0x1a6a99['on']('footnotesListStart',(_0x1728c8,_0x5b7140)=>{_0x1f6b13['execute']('footnotesStart',{'value':_0x5b7140['startIndex']});}),_0x1a6a99['delegate']('execute')['to'](_0x5b49c4),_0x1a6a99;}({'editor':_0x1d8e9b,'dropdownView':_0x10f324});_0x10f324['panelView']['children']['add'](_0x4a93d9);}),_0x10f324;};}(_0x57b353));}['afterInit'](){const {editor:_0x1166dd}=this,{t:t}=_0x1166dd['locale'],_0x55f394=_0x1166dd['plugins']['get'](_0x26862a),{defaultPositions:_0x13553b}=_0x37d35d;_0x55f394['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x1166dd['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x41ede2=>{let _0x306fb4=_0x41ede2['getFirstPosition']()?.['parent'];return _0x306fb4?.['is']('$text')&&(_0x306fb4=_0x306fb4['parent']),_0x306fb4?.['is']('element')?_0x306fb4['findAncestor'](_0x5b3b78):null;},'positions':[_0x13553b['southArrowNorth'],_0x13553b['southArrowNorthMiddleWest'],_0x13553b['southArrowNorthMiddleEast'],_0x13553b['southArrowNorthWest'],_0x13553b['southArrowNorthEast'],_0x13553b['northArrowSouth'],_0x13553b['northArrowSouthMiddleWest'],_0x13553b['northArrowSouthMiddleEast'],_0x13553b['northArrowSouthWest'],_0x13553b['northArrowSouthEast'],_0x13553b['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x47c901,View as _0x4d93ac,ViewCollection as _0xad5693,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4d93ac{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0xad5693();['focusCycler'];constructor(_0x40260e,{styleButtonViews:_0x35ffb5,styleGridAriaLabel:_0x306f14}){super(_0x40260e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x35ffb5,_0x306f14),[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 _0xbe2365 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xbe2365['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x3db3ae=_0x1f7dd0=>_0x1f7dd0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x3db3ae),this['keystrokes']['set']('arrowleft',_0x3db3ae),this['keystrokes']['set']('arrowup',_0x3db3ae),this['keystrokes']['set']('arrowdown',_0x3db3ae);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x569228,_0x37c3f5){const _0x3e7485=new _0x4d93ac(this['locale']);return _0x3e7485['children']=_0x3e7485['createCollection'](),_0x3e7485['children']['addMany'](_0x569228),_0x3e7485['setTemplate']({'tag':'div','attributes':{'aria-label':_0x37c3f5,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x3e7485['children']}),_0x3e7485['children']['delegate']('execute')['to'](this),_0x3e7485['focus']=function(){for(const _0x14e887 of this['children'])if(_0x14e887 instanceof _0x47c901&&_0x14e887['isOn'])return void _0x14e887['focus']();this['children']['first']['focus']();},_0x3e7485['focusTracker']=new rt(),_0x3e7485['keystrokes']=new nt(),_0x3e7485['render'](),_0x3e7485['keystrokes']['listenTo'](_0x3e7485['element']),this['children']['add'](_0x3e7485),_0x3e7485;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3284c7=this['_createStartIndexPropertyView'](),_0x28c8e3=[_0x3284c7],_0x39144a=new it(this['locale'],_0x28c8e3);return _0x39144a['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x39144a['buttonView']['bind']('isEnabled')['toMany'](_0x28c8e3,'isEnabled',(..._0x39a58e)=>_0x39a58e['some'](_0x3444cf=>_0x3444cf)),_0x39144a['buttonView']['on']('change:isEnabled',(_0x3b93be,_0x3dbecc,_0x119f3f)=>{_0x119f3f||(_0x39144a['isCollapsed']=!0x0);}),this['children']['add'](_0x39144a),[_0x3284c7,_0x39144a];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x37ffd4=new et(this['locale'],ot);return _0x37ffd4['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x37ffd4['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x37ffd4['fieldView']['on']('input',()=>{const _0x2c73fe=_0x37ffd4['fieldView']['element'],_0x33874f=_0x2c73fe['valueAsNumber'];Number['isNaN'](_0x33874f)?_0x37ffd4['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2c73fe['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x33874f}):_0x37ffd4['errorText']=t(_0x33874f<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x37ffd4;}}
23
+ import{ButtonView as _0x6eea8f,View as _0x4d5fca,ViewCollection as _0x18f29d,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x4d5fca{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x18f29d();['focusCycler'];constructor(_0x5a7aaa,{styleButtonViews:_0x1d17b2,styleGridAriaLabel:_0x174183}){super(_0x5a7aaa),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1d17b2,_0x174183),[this['startIndexFieldView'],this['additionalProperties']]=this['_appendAdditionalPropertiesCollapsibleView'](),this['setTemplate']({'tag':'div','attributes':{'class':['ck','ck-footnotes-definitions-properties']},'children':this['children']}));}['render'](){if(super['render'](),this['stylesView']){this['focusables']['add'](this['stylesView']),this['focusTracker']['add'](this['stylesView']['element']);for(const _0x308c51 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x308c51['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2fab7a=_0x40f804=>_0x40f804['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2fab7a),this['keystrokes']['set']('arrowleft',_0x2fab7a),this['keystrokes']['set']('arrowup',_0x2fab7a),this['keystrokes']['set']('arrowdown',_0x2fab7a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x374933,_0x56eb9e){const _0x381d87=new _0x4d5fca(this['locale']);return _0x381d87['children']=_0x381d87['createCollection'](),_0x381d87['children']['addMany'](_0x374933),_0x381d87['setTemplate']({'tag':'div','attributes':{'aria-label':_0x56eb9e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x381d87['children']}),_0x381d87['children']['delegate']('execute')['to'](this),_0x381d87['focus']=function(){for(const _0x481c5c of this['children'])if(_0x481c5c instanceof _0x6eea8f&&_0x481c5c['isOn'])return void _0x481c5c['focus']();this['children']['first']['focus']();},_0x381d87['focusTracker']=new rt(),_0x381d87['keystrokes']=new nt(),_0x381d87['render'](),_0x381d87['keystrokes']['listenTo'](_0x381d87['element']),this['children']['add'](_0x381d87),_0x381d87;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5173e4=this['_createStartIndexPropertyView'](),_0xc9a084=[_0x5173e4],_0x23fd87=new it(this['locale'],_0xc9a084);return _0x23fd87['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x23fd87['buttonView']['bind']('isEnabled')['toMany'](_0xc9a084,'isEnabled',(..._0x5f3786)=>_0x5f3786['some'](_0x81f5b0=>_0x81f5b0)),_0x23fd87['buttonView']['on']('change:isEnabled',(_0xad0652,_0x556421,_0xf6565f)=>{_0xf6565f||(_0x23fd87['isCollapsed']=!0x0);}),this['children']['add'](_0x23fd87),[_0x5173e4,_0x23fd87];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4ae51c=new et(this['locale'],ot);return _0x4ae51c['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4ae51c['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4ae51c['fieldView']['on']('input',()=>{const _0x270ef0=_0x4ae51c['fieldView']['element'],_0x250be2=_0x270ef0['valueAsNumber'];Number['isNaN'](_0x250be2)?_0x4ae51c['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x270ef0['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x250be2}):_0x4ae51c['errorText']=t(_0x250be2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4ae51c;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x24b897=_0x42dc;(function(_0x13665e,_0xe306b6){var _0x45c8be=_0x42dc,_0x3a94cb=_0x13665e();while(!![]){try{var _0x4276ab=-parseInt(_0x45c8be(0x19f))/0x1*(-parseInt(_0x45c8be(0x195))/0x2)+-parseInt(_0x45c8be(0x19d))/0x3+-parseInt(_0x45c8be(0x193))/0x4*(parseInt(_0x45c8be(0x196))/0x5)+-parseInt(_0x45c8be(0x194))/0x6*(parseInt(_0x45c8be(0x192))/0x7)+parseInt(_0x45c8be(0x1a0))/0x8*(-parseInt(_0x45c8be(0x198))/0x9)+-parseInt(_0x45c8be(0x19c))/0xa+parseInt(_0x45c8be(0x191))/0xb;if(_0x4276ab===_0xe306b6)break;else _0x3a94cb['push'](_0x3a94cb['shift']());}catch(_0x1c74e9){_0x3a94cb['push'](_0x3a94cb['shift']());}}}(_0x1352,0x4f6e4));import{Plugin as _0x5ab611}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4d1a11}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0xc454bc}from'./footnotesproperties/footnotespropertiesui.js';function _0x42dc(_0x50fbe7,_0x592d66){var _0x135203=_0x1352();return _0x42dc=function(_0x42dc93,_0x5ec997){_0x42dc93=_0x42dc93-0x191;var _0x4636d6=_0x135203[_0x42dc93];return _0x4636d6;},_0x42dc(_0x50fbe7,_0x592d66);}function _0x1352(){var _0x486f01=['isPremiumPlugin','FootnotesProperties','2234810qDLvgg','615465vLQomt','pluginName','2641pFHdUd','605416WBSyyh','20645350kKmCkA','309365YnPdee','4dijsEH','42CscUfT','122aQeNGJ','2224315WqdKux','requires','63vtIqSZ','isOfficialPlugin'];_0x1352=function(){return _0x486f01;};return _0x1352();}export class FootnotesProperties extends _0x5ab611{static get[_0x24b897(0x19e)](){var _0x1d4a95=_0x24b897;return _0x1d4a95(0x19b);}static get[_0x24b897(0x197)](){return[_0x4d1a11,_0xc454bc];}static get[_0x24b897(0x199)](){return!0x0;}static get[_0x24b897(0x19a)](){return!0x0;}}
23
+ var _0x543090=_0x280b;(function(_0x5bbcaf,_0x573617){var _0x26a6b1=_0x280b,_0x229580=_0x5bbcaf();while(!![]){try{var _0x481335=-parseInt(_0x26a6b1(0x1aa))/0x1+-parseInt(_0x26a6b1(0x1a7))/0x2+parseInt(_0x26a6b1(0x1ab))/0x3*(parseInt(_0x26a6b1(0x1a8))/0x4)+parseInt(_0x26a6b1(0x1a9))/0x5+-parseInt(_0x26a6b1(0x1b0))/0x6+-parseInt(_0x26a6b1(0x1ae))/0x7*(-parseInt(_0x26a6b1(0x1b4))/0x8)+parseInt(_0x26a6b1(0x1b1))/0x9;if(_0x481335===_0x573617)break;else _0x229580['push'](_0x229580['shift']());}catch(_0x371010){_0x229580['push'](_0x229580['shift']());}}}(_0x761e,0x32507));function _0x761e(){var _0x28c44b=['4299DqwErp','isOfficialPlugin','isPremiumPlugin','13762LFXvoI','pluginName','2070306rPVBDI','1229625LureIh','requires','FootnotesProperties','1656dcYxwR','562210jrGLec','908upunxk','285675EDCtKO','93770sfFUNq'];_0x761e=function(){return _0x28c44b;};return _0x761e();}import{Plugin as _0x22891a}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x9376c4}from'./footnotesproperties/footnotespropertiesediting.js';function _0x280b(_0x493109,_0x2be0f0){var _0x761ec=_0x761e();return _0x280b=function(_0x280bd5,_0x43b07a){_0x280bd5=_0x280bd5-0x1a7;var _0x27611a=_0x761ec[_0x280bd5];return _0x27611a;},_0x280b(_0x493109,_0x2be0f0);}import{FootnotesPropertiesUI as _0x13fa58}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x22891a{static get[_0x543090(0x1af)](){var _0x5d2b2d=_0x543090;return _0x5d2b2d(0x1b3);}static get[_0x543090(0x1b2)](){return[_0x9376c4,_0x13fa58];}static get[_0x543090(0x1ac)](){return!0x0;}static get[_0x543090(0x1ad)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x353fe3=_0x9abd;(function(_0x483116,_0x34fb9a){const _0x2ec123=_0x9abd,_0x9b8534=_0x483116();while(!![]){try{const _0x4a6bf8=parseInt(_0x2ec123(0x110))/0x1*(-parseInt(_0x2ec123(0x144))/0x2)+-parseInt(_0x2ec123(0x12d))/0x3+-parseInt(_0x2ec123(0xee))/0x4*(parseInt(_0x2ec123(0x139))/0x5)+-parseInt(_0x2ec123(0x131))/0x6*(-parseInt(_0x2ec123(0x12c))/0x7)+parseInt(_0x2ec123(0x10b))/0x8*(parseInt(_0x2ec123(0x141))/0x9)+-parseInt(_0x2ec123(0x12f))/0xa+parseInt(_0x2ec123(0x130))/0xb*(parseInt(_0x2ec123(0x123))/0xc);if(_0x4a6bf8===_0x34fb9a)break;else _0x9b8534['push'](_0x9b8534['shift']());}catch(_0x378390){_0x9b8534['push'](_0x9b8534['shift']());}}}(_0x5595,0xc4e42));import{Plugin as _0x41baae}from'ckeditor5/src/core.js';function _0x9abd(_0x1c7bbd,_0x58f5f1){const _0x55950f=_0x5595();return _0x9abd=function(_0x9abda7,_0x1f16e8){_0x9abda7=_0x9abda7-0xed;let _0x535449=_0x55950f[_0x9abda7];return _0x535449;},_0x9abd(_0x1c7bbd,_0x58f5f1);}import{ModelElementTracker as _0x1b5d40}from'./modelelementtracker.js';function _0x5595(){const _0x3860c2=['$graveyard','12YjbISV','_handleInsertedFootnoteReference','createPositionBefore','_sortFootnoteDefinitions','length','childCount','listenTo','document','_footnoteFormatter','footnotesDefinitions','differ','_handleFootnotesDefinitionsObjectSync','createElement','_handleFootnotesDefinitionsObjectChanges','registerPostFixer','map','getRootNames','createRangeIn','_footnotes','createRangeOn','parent','isPremiumPlugin','isOfficialPlugin','splice','footnoteId','push','_handleMovedFootnoteReference','editor','get','280dQrmKc','some','footnoteCounter','config','footnoteInlineContent','1137494JMMTLl','getAttribute','getChanges','change:data','_updateFootnoteRefCounter','_updateFootnotesCounters','paragraph','_footnoteDefsTracker','setFootnoteFormatter','pluginName','definition','remove','_ensureFootnotesDefinitionsContainerExists','unshift','root','find','add','isEqual','createPositionAt','27396JGHtGP','has','low','reference','set','getFootnotesFormatter','_insertEmptyFootnotesDefinitionsContainer','reset','_footnoteDefsContainerTracker','28lOtgIs','4650162bGNpzT','findIndex','12692240ocfeBq','25190lcdmWE','317004GGiyan','setAttribute','_handleFootnoteReferencesChanges','model','compareWith','_handleFootnoteDefinitionsChanges','move','getFootnotesDefinitionsObjectElement','1910655HQynFS','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','getFootnotes','getFootnote','_footnoteRefsTracker','singleton','after','120915QsPZXA','from','indexOf','2FqyKbN','before','append','_handleRemoveFootnoteReferenceById','_footnotesDefinitions','FootnotesTracker','getChildren','min','init','end','rootName','insert','high','enqueueChange','footnoteDefinition','footnoteRef'];_0x5595=function(){return _0x3860c2;};return _0x5595();}export class FootnotesTracker extends _0x41baae{[_0x353fe3(0x100)]=[];[_0x353fe3(0x148)]=null;[_0x353fe3(0xf6)]=null;[_0x353fe3(0x12b)];[_0x353fe3(0x13e)];[_0x353fe3(0x117)];static get[_0x353fe3(0x119)](){const _0x33a097=_0x353fe3;return _0x33a097(0x149);}static get[_0x353fe3(0x104)](){return!0x0;}static get[_0x353fe3(0x103)](){return!0x0;}constructor(_0x59887b){const _0x30ac3d=_0x353fe3;super(_0x59887b),this[_0x30ac3d(0x12b)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0xf7),'getElementKey':()=>_0x30ac3d(0x13f)}),this[_0x30ac3d(0x13e)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x153),'getElementKey':_0x2b4bdc=>_0x2b4bdc[_0x30ac3d(0x111)](_0x30ac3d(0x106))}),this[_0x30ac3d(0x117)]=new _0x1b5d40(this[_0x30ac3d(0x109)][_0x30ac3d(0x134)],{'elementName':_0x30ac3d(0x152),'getElementKey':_0x558f5e=>_0x558f5e[_0x30ac3d(0x111)](_0x30ac3d(0x106))});}[_0x353fe3(0x14c)](){const _0x391d99=_0x353fe3,{editor:_0x3eea1c}=this,{model:_0x4a31e3,data:_0x5d5605}=_0x3eea1c;_0x4a31e3[_0x391d99(0xf5)][_0x391d99(0xfc)](_0x589823=>{const _0xf39372=_0x391d99,_0x58abe6=_0x4a31e3[_0xf39372(0xf5)][_0xf39372(0xf8)][_0xf39372(0x112)]();let _0x32416e=!0x1;return this[_0xf39372(0xfb)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x136)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x133)](_0x589823,_0x58abe6)&&(_0x32416e=!0x0),this[_0xf39372(0x13a)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf9)](_0x589823)&&(_0x32416e=!0x0),this[_0xf39372(0xf1)](_0x589823)&&(_0x32416e=!0x0),_0x32416e;}),this[_0x391d99(0xf4)](_0x4a31e3[_0x391d99(0xf5)],_0x391d99(0x113),()=>{const _0x714b79=_0x391d99;_0x4a31e3[_0x714b79(0x151)]({'isUndoable':!0x1},_0x30737f=>{const _0x317209=_0x714b79;this[_0x317209(0x11c)](_0x30737f);});},{'priority':_0x391d99(0x125)}),this[_0x391d99(0xf4)](_0x5d5605,_0x391d99(0x127),()=>{const _0x4ddc33=_0x391d99;this[_0x4ddc33(0x100)]=[],this[_0x4ddc33(0x12b)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x13e)][_0x4ddc33(0x12a)](),this[_0x4ddc33(0x117)][_0x4ddc33(0x12a)]();},{'priority':_0x391d99(0x150)});}[_0x353fe3(0x138)](){const _0x39c2be=_0x353fe3;return this[_0x39c2be(0x148)];}[_0x353fe3(0x13d)](_0x2cb3c0){const _0x37f1b2=_0x353fe3;return this[_0x37f1b2(0x100)][_0x37f1b2(0x11f)](_0x3dcab9=>_0x3dcab9['id']===_0x2cb3c0)||null;}[_0x353fe3(0x13c)](){const _0xe55ae0=_0x353fe3;return Array[_0xe55ae0(0x142)](this[_0xe55ae0(0x100)]);}[_0x353fe3(0x128)](){const _0x1161d5=_0x353fe3;return this[_0x1161d5(0xf6)];}[_0x353fe3(0x118)](_0x3c743a){const _0x5d2255=_0x353fe3;this[_0x5d2255(0xf6)]=_0x3c743a;}[_0x353fe3(0x115)](_0x591962,_0x4b69f4=0x0){const _0x40f585=_0x353fe3;let _0x14e0dc=!0x1;for(let _0x1d872c=_0x4b69f4;_0x1d872c<this[_0x40f585(0x100)][_0x40f585(0xf2)];_0x1d872c++)this[_0x40f585(0x114)](_0x591962,_0x1d872c)&&(_0x14e0dc=!0x0);return _0x14e0dc;}[_0x353fe3(0x129)](_0x275d4b,_0x4a31c8){const _0x195fec=_0x353fe3,_0x50b9e5=_0x275d4b[_0x195fec(0xfa)](_0x195fec(0xf7),{});return _0x275d4b[_0x195fec(0x146)](_0x50b9e5,_0x4a31c8),this[_0x195fec(0x148)]=_0x50b9e5,_0x50b9e5;}[_0x353fe3(0x11c)](_0x191138){const _0x229509=_0x353fe3;if(!this[_0x229509(0x100)][_0x229509(0xf2)]||this[_0x229509(0x148)])return;const _0x572653=this[_0x229509(0x100)][0x0][_0x229509(0x126)][_0x229509(0x11e)],_0x93e864=this[_0x229509(0x129)](_0x191138,_0x572653);for(const _0x4d17d1 of this[_0x229509(0x100)])_0x4d17d1[_0x229509(0x11a)][_0x229509(0x102)]||_0x191138[_0x229509(0x14f)](_0x4d17d1[_0x229509(0x11a)],_0x93e864,_0x229509(0x14d));this[_0x229509(0x115)](_0x191138);}[_0x353fe3(0xfb)](_0x2e857c,_0x2d1fb1){const _0x18063c=_0x353fe3;let _0x32af06=!0x1;const {inserted:_0x5cab46,removed:_0x454b9f,moved:_0x427999}=this[_0x18063c(0x12b)][_0x18063c(0x112)](_0x2d1fb1);if(_0x427999[_0x18063c(0xf2)]&&(this[_0x18063c(0x148)]=_0x427999[0x0]),_0x5cab46[_0x18063c(0xf2)]){if(_0x5cab46[_0x18063c(0xf2)]>0x1||this[_0x18063c(0x148)]&&_0x5cab46[_0x18063c(0x10c)](_0x3aee62=>_0x3aee62!==this[_0x18063c(0x148)])){const _0x235709=_0x2e857c[_0x18063c(0xfa)](_0x18063c(0xf7),{}),_0x25e65c=[];this[_0x18063c(0x148)]&&_0x25e65c[_0x18063c(0x107)](this[_0x18063c(0x148)]),_0x25e65c[_0x18063c(0x107)](..._0x5cab46),_0x2e857c[_0x18063c(0x14f)](_0x235709,_0x25e65c[0x0],_0x18063c(0x145));for(const _0x1c6b47 of _0x25e65c)_0x2e857c[_0x18063c(0x137)](_0x2e857c[_0x18063c(0xff)](_0x1c6b47),_0x2e857c[_0x18063c(0x122)](_0x235709,_0x18063c(0x14d))),_0x2e857c[_0x18063c(0x11b)](_0x1c6b47);this[_0x18063c(0x148)]=_0x235709,this[_0x18063c(0x115)](_0x2e857c),_0x32af06=!0x0;}else this[_0x18063c(0x148)]=_0x5cab46[0x0];}if(_0x454b9f[_0x18063c(0xf2)]&&_0x18063c(0xed)===this[_0x18063c(0x148)]?.[_0x18063c(0x11e)][_0x18063c(0x14e)]){for(const _0x2e208c of this[_0x18063c(0x100)])_0x2e857c[_0x18063c(0x11b)](_0x2e208c[_0x18063c(0x126)]),_0x32af06=!0x0;this[_0x18063c(0x100)]=[],this[_0x18063c(0x148)]=null;}return _0x32af06;}[_0x353fe3(0x136)](_0x6faa0,_0x5b04ce){const _0x7b261c=_0x353fe3;let _0x244836=!0x1;const _0x102ec5=this[_0x7b261c(0x109)][_0x7b261c(0x10e)][_0x7b261c(0x10a)](_0x7b261c(0x13b)),{inserted:_0x8b2274,moved:_0x25279e}=this[_0x7b261c(0x117)][_0x7b261c(0x112)](_0x5b04ce);for(const _0xa2d7d0 of[..._0x25279e,..._0x8b2274]){const _0x5e6efb=_0xa2d7d0[_0x7b261c(0x111)](_0x7b261c(0x106)),_0x5c8071=this[_0x7b261c(0x13d)](_0x5e6efb);_0x5c8071&&(_0x5c8071[_0x7b261c(0x11a)]=_0xa2d7d0),_(_0x6faa0,_0x102ec5,_0xa2d7d0)&&(_0x244836=!0x0);}return _0x244836;}[_0x353fe3(0x133)](_0x1b0749,_0xc4652){const _0x138755=_0x353fe3;let _0x57720e=!0x1;const {removed:_0x60f7ba,inserted:_0x2735a8,moved:_0x3c65b4}=this[_0x138755(0x13e)][_0x138755(0x112)](_0xc4652);for(const _0x508162 of _0x60f7ba)this[_0x138755(0x147)](_0x1b0749,_0x508162)&&(_0x57720e=!0x0);for(const _0x3c5b1f of _0x2735a8)this[_0x138755(0xef)](_0x1b0749,_0x3c5b1f)&&(_0x57720e=!0x0);for(const _0x5e6842 of _0x3c65b4)this[_0x138755(0x108)](_0x1b0749,_0x5e6842)&&(_0x57720e=!0x0);return _0x57720e;}[_0x353fe3(0xf9)](_0x8e23fb){const _0x2c42af=_0x353fe3;if(!this[_0x2c42af(0x148)])return!0x1;let _0x4b3ec2=!0x1;if(this[_0x2c42af(0x148)][_0x2c42af(0xf3)]!==this[_0x2c42af(0x100)][_0x2c42af(0xf2)]){const _0x54bfa9=[];for(const _0x5b7c57 of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x5d3be8=_0x5b7c57[_0x2c42af(0x111)](_0x2c42af(0x106));this[_0x2c42af(0x13d)](_0x5d3be8)||(_0x54bfa9[_0x2c42af(0x11d)](_0x5b7c57),_0x4b3ec2=!0x0);}for(const _0x210cae of _0x54bfa9)_0x8e23fb[_0x2c42af(0x11b)](_0x210cae);}const _0x1ad562=new Set(),_0x364d2a=[];for(const _0x59210f of this[_0x2c42af(0x148)][_0x2c42af(0x14a)]()){const _0x39aa31=_0x59210f[_0x2c42af(0x111)](_0x2c42af(0x106));_0x1ad562[_0x2c42af(0x124)](_0x39aa31)?(_0x364d2a[_0x2c42af(0x11d)](_0x59210f),_0x4b3ec2=!0x0):_0x1ad562[_0x2c42af(0x120)](_0x39aa31);}for(const _0xd2287c of _0x364d2a)_0x8e23fb[_0x2c42af(0x11b)](_0xd2287c);return this[_0x2c42af(0x148)][_0x2c42af(0xf3)]||(_0x8e23fb[_0x2c42af(0x11b)](this[_0x2c42af(0x148)]),this[_0x2c42af(0x148)]=null,_0x4b3ec2=!0x0),_0x4b3ec2;}[_0x353fe3(0xef)](_0x20293f,_0x143edd){const _0x2064c6=_0x353fe3;if(this[_0x2064c6(0x100)][_0x2064c6(0x11f)](_0x3d11b7=>_0x3d11b7[_0x2064c6(0x126)]===_0x143edd))return!0x1;let _0x5098ab=!0x1;const _0x35b5e0=_0x143edd[_0x2064c6(0x111)](_0x2064c6(0x106)),_0x293560=this[_0x2064c6(0x100)][_0x2064c6(0x12e)](_0x242a79=>_0x242a79['id']===_0x35b5e0);-0x1!==_0x293560&&(_0x20293f[_0x2064c6(0x11b)](this[_0x2064c6(0x100)][_0x293560][_0x2064c6(0x126)]),this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x293560,0x1),_0x5098ab=!0x0);let _0x5cf4ea=this[_0x2064c6(0x148)]?function(_0x474b08,_0x4387ee){const _0xca79cb=_0x2064c6;for(const _0x35daeb of _0x474b08[_0xca79cb(0x14a)]())if(_0x35daeb[_0xca79cb(0x111)](_0xca79cb(0x106))===_0x4387ee)return _0x35daeb;return null;}(this[_0x2064c6(0x148)],_0x35b5e0):null;_0x5cf4ea||(_0x5cf4ea=_0x20293f[_0x2064c6(0xfa)](_0x2064c6(0x152),{'footnoteId':_0x35b5e0}),this[_0x2064c6(0x148)]&&(_0x20293f[_0x2064c6(0x14f)](_0x5cf4ea,this[_0x2064c6(0x148)],_0x2064c6(0x14d)),_0x5098ab=!0x0));const _0x409be6={'id':_0x35b5e0,'reference':_0x143edd,'definition':_0x5cf4ea},_0x3e3b69=I(this[_0x2064c6(0x109)][_0x2064c6(0x134)],this[_0x2064c6(0x100)],_0x143edd);this[_0x2064c6(0x100)][_0x2064c6(0x105)](_0x3e3b69,0x0,_0x409be6);let _0x3f611c=_0x3e3b69;return-0x1!==_0x293560&&(_0x3f611c=Math[_0x2064c6(0x14b)](_0x3e3b69,_0x293560)),this[_0x2064c6(0x115)](_0x20293f,_0x3f611c)&&(_0x5098ab=!0x0),_0x5098ab;}[_0x353fe3(0x147)](_0x34e940,_0x513368){const _0x4a622e=_0x353fe3,_0x88cad7=this[_0x4a622e(0x100)][_0x4a622e(0x12e)](_0x607403=>_0x607403['id']===_0x513368);if(-0x1===_0x88cad7)return!0x1;let _0x4ad18b=!0x1;const _0x581672=this[_0x4a622e(0x100)][_0x88cad7];return _0x4a622e(0xed)!==_0x581672[_0x4a622e(0x11a)][_0x4a622e(0x11e)][_0x4a622e(0x14e)]&&(_0x34e940[_0x4a622e(0x11b)](_0x581672[_0x4a622e(0x11a)]),_0x4ad18b=!0x0),this[_0x4a622e(0x100)][_0x4a622e(0x105)](_0x88cad7,0x1),this[_0x4a622e(0x115)](_0x34e940,_0x88cad7)&&(_0x4ad18b=!0x0),_0x4ad18b;}[_0x353fe3(0x108)](_0x44b4b0,_0x56af59){const _0x1a6ee2=_0x353fe3,_0xa60e47=_0x56af59[_0x1a6ee2(0x111)](_0x1a6ee2(0x106)),_0x3fbef2=this[_0x1a6ee2(0x100)][_0x1a6ee2(0x12e)](_0x461a9e=>_0x461a9e['id']===_0xa60e47),_0x296545=this[_0x1a6ee2(0x100)][_0x3fbef2];let _0x5218d3=!0x1;_0x296545[_0x1a6ee2(0x126)]=_0x56af59,this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x3fbef2,0x1);const _0x51d157=I(this[_0x1a6ee2(0x109)][_0x1a6ee2(0x134)],this[_0x1a6ee2(0x100)],_0x56af59);return this[_0x1a6ee2(0x100)][_0x1a6ee2(0x105)](_0x51d157,0x0,_0x296545),this[_0x1a6ee2(0x115)](_0x44b4b0,Math[_0x1a6ee2(0x14b)](_0x3fbef2,_0x51d157))&&(_0x5218d3=!0x0),_0x5218d3;}[_0x353fe3(0x114)](_0x3dcd48,_0x594cbc){const _0x174eb3=_0x353fe3;if(!this[_0x174eb3(0x148)])return!0x1;const _0x1959ba=this[_0x174eb3(0x100)][_0x594cbc];let _0x551d2f;return _0x551d2f=this[_0x174eb3(0xf6)]?this[_0x174eb3(0xf6)]({'footnote':_0x1959ba,'container':this[_0x174eb3(0x148)],'digits':String(this[_0x174eb3(0x100)][_0x174eb3(0xf2)])[_0x174eb3(0xf2)],'value':_0x594cbc+0x1}):String(_0x594cbc+0x1),_0x1959ba[_0x174eb3(0x126)][_0x174eb3(0x111)](_0x174eb3(0x10d))!=_0x551d2f&&(_0x3dcd48[_0x174eb3(0x132)](_0x174eb3(0x10d),_0x551d2f,_0x1959ba[_0x174eb3(0x126)]),!0x0);}[_0x353fe3(0xf1)](_0x17de83){const _0x1d8661=_0x353fe3;if(!this[_0x1d8661(0x148)]||this[_0x1d8661(0x100)][_0x1d8661(0xf2)]<0x2)return!0x1;if(function(_0x4d1704,_0x36221a){const _0x1db06d=_0x1d8661;if(_0x4d1704[_0x1db06d(0xf2)]!==_0x36221a[_0x1db06d(0xf2)])return!0x1;for(let _0x4bbc80=0x0;_0x4bbc80<_0x4d1704[_0x1db06d(0xf2)];_0x4bbc80++)if(_0x4d1704[_0x4bbc80]!==_0x36221a[_0x4bbc80])return!0x1;return!0x0;}(this[_0x1d8661(0x100)][_0x1d8661(0xfd)](_0x1ff788=>_0x1ff788['id']),Array[_0x1d8661(0x142)](this[_0x1d8661(0x148)][_0x1d8661(0x14a)]())[_0x1d8661(0xfd)](_0x50a129=>_0x50a129[_0x1d8661(0x111)](_0x1d8661(0x106)))))return!0x1;let _0x535107=!0x1;for(let _0x2f5534=0x0;_0x2f5534<this[_0x1d8661(0x100)][_0x1d8661(0xf2)];_0x2f5534++){const _0x404837=this[_0x1d8661(0x100)][_0x2f5534],_0x56b1ee=_0x17de83[_0x1d8661(0xf0)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc=_0x17de83[_0x1d8661(0x122)](this[_0x1d8661(0x148)],_0x2f5534);_0x56b1ee[_0x1d8661(0x121)](_0x1d27fc)||(_0x17de83[_0x1d8661(0x137)](_0x17de83[_0x1d8661(0x101)](_0x404837[_0x1d8661(0x11a)]),_0x1d27fc),_0x535107=!0x0);}return _0x535107;}[_0x353fe3(0x13a)](_0x31e6b6){const _0x1ddd82=_0x353fe3;if(!this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)])return!0x1;const {model:_0x471d22}=this[_0x1ddd82(0x109)];let _0x27f570=!0x1;for(let _0x512968=0x0;_0x512968<this[_0x1ddd82(0x100)][_0x1ddd82(0xf2)]-0x1;_0x512968++){const _0x4bb589=this[_0x1ddd82(0x100)][_0x512968],_0x1024aa=this[_0x1ddd82(0x100)][_0x512968+0x1],_0x4f01da=_0x471d22[_0x1ddd82(0xf0)](_0x4bb589[_0x1ddd82(0x126)]),_0x19ebd6=_0x471d22[_0x1ddd82(0xf0)](_0x1024aa[_0x1ddd82(0x126)]);_0x1ddd82(0x140)===_0x4f01da[_0x1ddd82(0x135)](_0x19ebd6)&&(this[_0x1ddd82(0x108)](_0x31e6b6,_0x4bb589[_0x1ddd82(0x126)]),_0x512968=-0x1,_0x27f570=!0x0);}return _0x27f570;}}function _(_0x5c8e16,_0x5e0c64,_0x587ff6){const _0x3c3d51=_0x353fe3;if(_0x587ff6[_0x3c3d51(0xf3)])return!0x1;const _0x2e5dd0=_0x5e0c64?_0x3c3d51(0x116):_0x3c3d51(0x10f);return _0x5c8e16[_0x3c3d51(0x14f)](_0x5c8e16[_0x3c3d51(0xfa)](_0x2e5dd0),_0x587ff6),!0x0;}function I(_0x31313e,_0x1e6ab8,_0x22e772){const _0x352d78=_0x353fe3;if(0x0===_0x1e6ab8[_0x352d78(0xf2)])return 0x0;const _0x5cf4cc=_0x31313e[_0x352d78(0xf0)](_0x22e772);for(let _0x28356e=0x0;_0x28356e<_0x1e6ab8[_0x352d78(0xf2)];_0x28356e++){const _0x33169a=_0x1e6ab8[_0x28356e],_0x21312f=_0x31313e[_0x352d78(0xf0)](_0x33169a[_0x352d78(0x126)]);if(_0x352d78(0x145)===_0x5cf4cc[_0x352d78(0x135)](_0x21312f))return _0x28356e;}const _0x1cda13=_0x22e772[_0x352d78(0x11e)];let _0x9fd6ea=-0x1;for(let _0x43fe12=_0x1e6ab8[_0x352d78(0xf2)]-0x1;_0x43fe12>=0x0;_0x43fe12--)if(_0x1e6ab8[_0x43fe12][_0x352d78(0x126)][_0x352d78(0x11e)]===_0x1cda13){_0x9fd6ea=_0x43fe12;break;}if(-0x1!==_0x9fd6ea)return _0x9fd6ea+0x1;const _0x14fb64=_0x31313e[_0x352d78(0xf5)][_0x352d78(0xfe)](),_0x2857fa=_0x14fb64[_0x352d78(0x143)](_0x1cda13[_0x352d78(0x14e)]),_0x403234=_0x14fb64[_0x2857fa+0x1];if(_0x403234){for(let _0x17ced4=0x0;_0x17ced4<_0x1e6ab8[_0x352d78(0xf2)];_0x17ced4++)if(_0x1e6ab8[_0x17ced4][_0x352d78(0x126)][_0x352d78(0x11e)][_0x352d78(0x14e)]===_0x403234)return _0x17ced4;}return _0x1e6ab8[_0x352d78(0xf2)];}
23
+ const _0x5d23cb=_0x4670;(function(_0x5d42e9,_0x2e4de9){const _0x5e79ed=_0x4670,_0x393c95=_0x5d42e9();while(!![]){try{const _0x10fc77=parseInt(_0x5e79ed(0x201))/0x1+-parseInt(_0x5e79ed(0x1fe))/0x2*(parseInt(_0x5e79ed(0x1ed))/0x3)+-parseInt(_0x5e79ed(0x203))/0x4*(parseInt(_0x5e79ed(0x1e2))/0x5)+-parseInt(_0x5e79ed(0x216))/0x6*(parseInt(_0x5e79ed(0x1e4))/0x7)+-parseInt(_0x5e79ed(0x218))/0x8*(parseInt(_0x5e79ed(0x20a))/0x9)+-parseInt(_0x5e79ed(0x20e))/0xa*(-parseInt(_0x5e79ed(0x1d6))/0xb)+-parseInt(_0x5e79ed(0x1dd))/0xc*(-parseInt(_0x5e79ed(0x1d9))/0xd);if(_0x10fc77===_0x2e4de9)break;else _0x393c95['push'](_0x393c95['shift']());}catch(_0x2ee144){_0x393c95['push'](_0x393c95['shift']());}}}(_0x15c1,0xdda1a));import{Plugin as _0x1aec17}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x257f99}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1aec17{[_0x5d23cb(0x205)]=[];[_0x5d23cb(0x21e)]=null;[_0x5d23cb(0x1d2)]=null;[_0x5d23cb(0x210)];[_0x5d23cb(0x22a)];[_0x5d23cb(0x1f6)];static get[_0x5d23cb(0x1db)](){const _0x13050b=_0x5d23cb;return _0x13050b(0x224);}static get[_0x5d23cb(0x1ce)](){return!0x0;}static get[_0x5d23cb(0x220)](){return!0x0;}constructor(_0xf75a02){const _0x101447=_0x5d23cb;super(_0xf75a02),this[_0x101447(0x210)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x1c9),'getElementKey':()=>_0x101447(0x1f3)}),this[_0x101447(0x22a)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x1e1),'getElementKey':_0x30be47=>_0x30be47[_0x101447(0x1c6)](_0x101447(0x1c8))}),this[_0x101447(0x1f6)]=new _0x257f99(this[_0x101447(0x207)][_0x101447(0x1d7)],{'elementName':_0x101447(0x214),'getElementKey':_0x2ba78e=>_0x2ba78e[_0x101447(0x1c6)](_0x101447(0x1c8))});}[_0x5d23cb(0x21a)](){const _0x59e5f4=_0x5d23cb,{editor:_0x22f818}=this,{model:_0x3e6a2e,data:_0x57cde1}=_0x22f818;_0x3e6a2e[_0x59e5f4(0x21d)][_0x59e5f4(0x1f8)](_0x23d194=>{const _0x3f0521=_0x59e5f4,_0x193086=_0x3e6a2e[_0x3f0521(0x21d)][_0x3f0521(0x209)][_0x3f0521(0x21b)]();let _0x2ff260=!0x1;return this[_0x3f0521(0x22d)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x21f)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x219)](_0x23d194,_0x193086)&&(_0x2ff260=!0x0),this[_0x3f0521(0x1f2)](_0x23d194)&&(_0x2ff260=!0x0),this[_0x3f0521(0x1d3)](_0x23d194)&&(_0x2ff260=!0x0),this[_0x3f0521(0x221)](_0x23d194)&&(_0x2ff260=!0x0),_0x2ff260;}),this[_0x59e5f4(0x1de)](_0x3e6a2e[_0x59e5f4(0x21d)],_0x59e5f4(0x222),()=>{const _0x5cb966=_0x59e5f4;_0x3e6a2e[_0x5cb966(0x1e3)]({'isUndoable':!0x1},_0xf4794e=>{const _0x23f167=_0x5cb966;this[_0x23f167(0x1fa)](_0xf4794e);});},{'priority':_0x59e5f4(0x1d5)}),this[_0x59e5f4(0x1de)](_0x57cde1,_0x59e5f4(0x20d),()=>{const _0x41f756=_0x59e5f4;this[_0x41f756(0x205)]=[],this[_0x41f756(0x210)][_0x41f756(0x1e6)](),this[_0x41f756(0x22a)][_0x41f756(0x1e6)](),this[_0x41f756(0x1f6)][_0x41f756(0x1e6)]();},{'priority':_0x59e5f4(0x21c)});}[_0x5d23cb(0x217)](){const _0x4e48fd=_0x5d23cb;return this[_0x4e48fd(0x21e)];}[_0x5d23cb(0x225)](_0x4bf505){const _0x51a4eb=_0x5d23cb;return this[_0x51a4eb(0x205)][_0x51a4eb(0x1e7)](_0x1bcd20=>_0x1bcd20['id']===_0x4bf505)||null;}[_0x5d23cb(0x1ee)](){const _0x4d241b=_0x5d23cb;return Array[_0x4d241b(0x1fc)](this[_0x4d241b(0x205)]);}[_0x5d23cb(0x1f5)](){const _0x462f6c=_0x5d23cb;return this[_0x462f6c(0x1d2)];}[_0x5d23cb(0x229)](_0x41dcff){const _0x3d81d4=_0x5d23cb;this[_0x3d81d4(0x1d2)]=_0x41dcff;}[_0x5d23cb(0x1cf)](_0x3ef0f4,_0x1a1ff8=0x0){const _0x25a972=_0x5d23cb;let _0x182b3c=!0x1;for(let _0x176557=_0x1a1ff8;_0x176557<this[_0x25a972(0x205)][_0x25a972(0x1d1)];_0x176557++)this[_0x25a972(0x1d0)](_0x3ef0f4,_0x176557)&&(_0x182b3c=!0x0);return _0x182b3c;}[_0x5d23cb(0x213)](_0x5b3e38,_0x25287d){const _0x3b7583=_0x5d23cb,_0x3c0dfe=_0x5b3e38[_0x3b7583(0x212)](_0x3b7583(0x1c9),{});return _0x5b3e38[_0x3b7583(0x200)](_0x3c0dfe,_0x25287d),this[_0x3b7583(0x21e)]=_0x3c0dfe,_0x3c0dfe;}[_0x5d23cb(0x1fa)](_0xda96a5){const _0x536a82=_0x5d23cb;if(!this[_0x536a82(0x205)][_0x536a82(0x1d1)]||this[_0x536a82(0x21e)])return;const _0x469e0f=this[_0x536a82(0x205)][0x0][_0x536a82(0x1ca)][_0x536a82(0x1f4)],_0x345afa=this[_0x536a82(0x213)](_0xda96a5,_0x469e0f);for(const _0x332d2b of this[_0x536a82(0x205)])_0x332d2b[_0x536a82(0x1fb)][_0x536a82(0x1ff)]||_0xda96a5[_0x536a82(0x1cd)](_0x332d2b[_0x536a82(0x1fb)],_0x345afa,_0x536a82(0x1df));this[_0x536a82(0x1cf)](_0xda96a5);}[_0x5d23cb(0x22d)](_0x23be1d,_0x59d7bb){const _0x1c4189=_0x5d23cb;let _0x24412e=!0x1;const {inserted:_0x2ed23f,removed:_0x3bd9b5,moved:_0x5754d1}=this[_0x1c4189(0x210)][_0x1c4189(0x21b)](_0x59d7bb);if(_0x5754d1[_0x1c4189(0x1d1)]&&(this[_0x1c4189(0x21e)]=_0x5754d1[0x0]),_0x2ed23f[_0x1c4189(0x1d1)]){if(_0x2ed23f[_0x1c4189(0x1d1)]>0x1||this[_0x1c4189(0x21e)]&&_0x2ed23f[_0x1c4189(0x226)](_0xec7f55=>_0xec7f55!==this[_0x1c4189(0x21e)])){const _0x157c4f=_0x23be1d[_0x1c4189(0x212)](_0x1c4189(0x1c9),{}),_0x15afc8=[];this[_0x1c4189(0x21e)]&&_0x15afc8[_0x1c4189(0x1f0)](this[_0x1c4189(0x21e)]),_0x15afc8[_0x1c4189(0x1f0)](..._0x2ed23f),_0x23be1d[_0x1c4189(0x1cd)](_0x157c4f,_0x15afc8[0x0],_0x1c4189(0x1cc));for(const _0x231905 of _0x15afc8)_0x23be1d[_0x1c4189(0x1e8)](_0x23be1d[_0x1c4189(0x20c)](_0x231905),_0x23be1d[_0x1c4189(0x227)](_0x157c4f,_0x1c4189(0x1df))),_0x23be1d[_0x1c4189(0x1ea)](_0x231905);this[_0x1c4189(0x21e)]=_0x157c4f,this[_0x1c4189(0x1cf)](_0x23be1d),_0x24412e=!0x0;}else this[_0x1c4189(0x21e)]=_0x2ed23f[0x0];}if(_0x3bd9b5[_0x1c4189(0x1d1)]&&_0x1c4189(0x1f1)===this[_0x1c4189(0x21e)]?.[_0x1c4189(0x1f4)][_0x1c4189(0x215)]){for(const _0x1ec50c of this[_0x1c4189(0x205)])_0x23be1d[_0x1c4189(0x1ea)](_0x1ec50c[_0x1c4189(0x1ca)]),_0x24412e=!0x0;this[_0x1c4189(0x205)]=[],this[_0x1c4189(0x21e)]=null;}return _0x24412e;}[_0x5d23cb(0x21f)](_0x56ab54,_0x14733e){const _0x319bb0=_0x5d23cb;let _0x5e91ba=!0x1;const _0x19877f=this[_0x319bb0(0x207)][_0x319bb0(0x211)][_0x319bb0(0x22b)](_0x319bb0(0x206)),{inserted:_0x2c2567,moved:_0x3bece0}=this[_0x319bb0(0x1f6)][_0x319bb0(0x21b)](_0x14733e);for(const _0x618aec of[..._0x3bece0,..._0x2c2567]){const _0x43e955=_0x618aec[_0x319bb0(0x1c6)](_0x319bb0(0x1c8)),_0x3c4239=this[_0x319bb0(0x225)](_0x43e955);_0x3c4239&&(_0x3c4239[_0x319bb0(0x1fb)]=_0x618aec),_(_0x56ab54,_0x19877f,_0x618aec)&&(_0x5e91ba=!0x0);}return _0x5e91ba;}[_0x5d23cb(0x219)](_0x3d6bb3,_0x16d880){const _0x4d9dee=_0x5d23cb;let _0x3c2541=!0x1;const {removed:_0x44ccdd,inserted:_0x45560a,moved:_0xcf7ded}=this[_0x4d9dee(0x22a)][_0x4d9dee(0x21b)](_0x16d880);for(const _0x5a6810 of _0x44ccdd)this[_0x4d9dee(0x1e5)](_0x3d6bb3,_0x5a6810)&&(_0x3c2541=!0x0);for(const _0xf16f15 of _0x45560a)this[_0x4d9dee(0x1f9)](_0x3d6bb3,_0xf16f15)&&(_0x3c2541=!0x0);for(const _0x5f2f13 of _0xcf7ded)this[_0x4d9dee(0x1e9)](_0x3d6bb3,_0x5f2f13)&&(_0x3c2541=!0x0);return _0x3c2541;}[_0x5d23cb(0x1d3)](_0x9e85b){const _0x46030c=_0x5d23cb;if(!this[_0x46030c(0x21e)])return!0x1;let _0x282b97=!0x1;if(this[_0x46030c(0x21e)][_0x46030c(0x20f)]!==this[_0x46030c(0x205)][_0x46030c(0x1d1)]){const _0x589a1f=[];for(const _0x3c5404 of this[_0x46030c(0x21e)][_0x46030c(0x1eb)]()){const _0x2be76e=_0x3c5404[_0x46030c(0x1c6)](_0x46030c(0x1c8));this[_0x46030c(0x225)](_0x2be76e)||(_0x589a1f[_0x46030c(0x1d8)](_0x3c5404),_0x282b97=!0x0);}for(const _0x95b25a of _0x589a1f)_0x9e85b[_0x46030c(0x1ea)](_0x95b25a);}const _0x189b2b=new Set(),_0x1d2bcf=[];for(const _0x22e711 of this[_0x46030c(0x21e)][_0x46030c(0x1eb)]()){const _0x3807f1=_0x22e711[_0x46030c(0x1c6)](_0x46030c(0x1c8));_0x189b2b[_0x46030c(0x1ec)](_0x3807f1)?(_0x1d2bcf[_0x46030c(0x1d8)](_0x22e711),_0x282b97=!0x0):_0x189b2b[_0x46030c(0x22c)](_0x3807f1);}for(const _0x47686e of _0x1d2bcf)_0x9e85b[_0x46030c(0x1ea)](_0x47686e);return this[_0x46030c(0x21e)][_0x46030c(0x20f)]||(_0x9e85b[_0x46030c(0x1ea)](this[_0x46030c(0x21e)]),this[_0x46030c(0x21e)]=null,_0x282b97=!0x0),_0x282b97;}[_0x5d23cb(0x1f9)](_0x1f693d,_0x57bbd8){const _0x55994b=_0x5d23cb;if(this[_0x55994b(0x205)][_0x55994b(0x1e7)](_0x556611=>_0x556611[_0x55994b(0x1ca)]===_0x57bbd8))return!0x1;let _0x2ca9ac=!0x1;const _0xd81ad6=_0x57bbd8[_0x55994b(0x1c6)](_0x55994b(0x1c8)),_0x464167=this[_0x55994b(0x205)][_0x55994b(0x202)](_0x4d554a=>_0x4d554a['id']===_0xd81ad6);-0x1!==_0x464167&&(_0x1f693d[_0x55994b(0x1ea)](this[_0x55994b(0x205)][_0x464167][_0x55994b(0x1ca)]),this[_0x55994b(0x205)][_0x55994b(0x20b)](_0x464167,0x1),_0x2ca9ac=!0x0);let _0x3dfc17=this[_0x55994b(0x21e)]?function(_0x5c1279,_0x509182){const _0x147f85=_0x55994b;for(const _0x40b8d8 of _0x5c1279[_0x147f85(0x1eb)]())if(_0x40b8d8[_0x147f85(0x1c6)](_0x147f85(0x1c8))===_0x509182)return _0x40b8d8;return null;}(this[_0x55994b(0x21e)],_0xd81ad6):null;_0x3dfc17||(_0x3dfc17=_0x1f693d[_0x55994b(0x212)](_0x55994b(0x214),{'footnoteId':_0xd81ad6}),this[_0x55994b(0x21e)]&&(_0x1f693d[_0x55994b(0x1cd)](_0x3dfc17,this[_0x55994b(0x21e)],_0x55994b(0x1df)),_0x2ca9ac=!0x0));const _0x50a092={'id':_0xd81ad6,'reference':_0x57bbd8,'definition':_0x3dfc17},_0x2cea1a=I(this[_0x55994b(0x207)][_0x55994b(0x1d7)],this[_0x55994b(0x205)],_0x57bbd8);this[_0x55994b(0x205)][_0x55994b(0x20b)](_0x2cea1a,0x0,_0x50a092);let _0x2d21a6=_0x2cea1a;return-0x1!==_0x464167&&(_0x2d21a6=Math[_0x55994b(0x228)](_0x2cea1a,_0x464167)),this[_0x55994b(0x1cf)](_0x1f693d,_0x2d21a6)&&(_0x2ca9ac=!0x0),_0x2ca9ac;}[_0x5d23cb(0x1e5)](_0x421c20,_0x5f3816){const _0x30b0d8=_0x5d23cb,_0x42b098=this[_0x30b0d8(0x205)][_0x30b0d8(0x202)](_0x416f3b=>_0x416f3b['id']===_0x5f3816);if(-0x1===_0x42b098)return!0x1;let _0xe0ddd6=!0x1;const _0x216317=this[_0x30b0d8(0x205)][_0x42b098];return _0x30b0d8(0x1f1)!==_0x216317[_0x30b0d8(0x1fb)][_0x30b0d8(0x1f4)][_0x30b0d8(0x215)]&&(_0x421c20[_0x30b0d8(0x1ea)](_0x216317[_0x30b0d8(0x1fb)]),_0xe0ddd6=!0x0),this[_0x30b0d8(0x205)][_0x30b0d8(0x20b)](_0x42b098,0x1),this[_0x30b0d8(0x1cf)](_0x421c20,_0x42b098)&&(_0xe0ddd6=!0x0),_0xe0ddd6;}[_0x5d23cb(0x1e9)](_0x57c373,_0x30b65d){const _0x36322a=_0x5d23cb,_0x388715=_0x30b65d[_0x36322a(0x1c6)](_0x36322a(0x1c8)),_0x1c4e6d=this[_0x36322a(0x205)][_0x36322a(0x202)](_0x56f2aa=>_0x56f2aa['id']===_0x388715),_0x558427=this[_0x36322a(0x205)][_0x1c4e6d];let _0x33ef49=!0x1;_0x558427[_0x36322a(0x1ca)]=_0x30b65d,this[_0x36322a(0x205)][_0x36322a(0x20b)](_0x1c4e6d,0x1);const _0x252220=I(this[_0x36322a(0x207)][_0x36322a(0x1d7)],this[_0x36322a(0x205)],_0x30b65d);return this[_0x36322a(0x205)][_0x36322a(0x20b)](_0x252220,0x0,_0x558427),this[_0x36322a(0x1cf)](_0x57c373,Math[_0x36322a(0x228)](_0x1c4e6d,_0x252220))&&(_0x33ef49=!0x0),_0x33ef49;}[_0x5d23cb(0x1d0)](_0x140705,_0x875e25){const _0x586055=_0x5d23cb;if(!this[_0x586055(0x21e)])return!0x1;const _0x199288=this[_0x586055(0x205)][_0x875e25];let _0x542f3e;return _0x542f3e=this[_0x586055(0x1d2)]?this[_0x586055(0x1d2)]({'footnote':_0x199288,'container':this[_0x586055(0x21e)],'digits':String(this[_0x586055(0x205)][_0x586055(0x1d1)])[_0x586055(0x1d1)],'value':_0x875e25+0x1}):String(_0x875e25+0x1),_0x199288[_0x586055(0x1ca)][_0x586055(0x1c6)](_0x586055(0x1d4))!=_0x542f3e&&(_0x140705[_0x586055(0x1dc)](_0x586055(0x1d4),_0x542f3e,_0x199288[_0x586055(0x1ca)]),!0x0);}[_0x5d23cb(0x221)](_0x29baca){const _0x4b3318=_0x5d23cb;if(!this[_0x4b3318(0x21e)]||this[_0x4b3318(0x205)][_0x4b3318(0x1d1)]<0x2)return!0x1;if(function(_0xed515a,_0x37e76e){const _0x344c48=_0x4b3318;if(_0xed515a[_0x344c48(0x1d1)]!==_0x37e76e[_0x344c48(0x1d1)])return!0x1;for(let _0x4ed7cc=0x0;_0x4ed7cc<_0xed515a[_0x344c48(0x1d1)];_0x4ed7cc++)if(_0xed515a[_0x4ed7cc]!==_0x37e76e[_0x4ed7cc])return!0x1;return!0x0;}(this[_0x4b3318(0x205)][_0x4b3318(0x1e0)](_0x20e3f5=>_0x20e3f5['id']),Array[_0x4b3318(0x1fc)](this[_0x4b3318(0x21e)][_0x4b3318(0x1eb)]())[_0x4b3318(0x1e0)](_0x2a5ea2=>_0x2a5ea2[_0x4b3318(0x1c6)](_0x4b3318(0x1c8)))))return!0x1;let _0x55fec1=!0x1;for(let _0x74a941=0x0;_0x74a941<this[_0x4b3318(0x205)][_0x4b3318(0x1d1)];_0x74a941++){const _0x12d9e7=this[_0x4b3318(0x205)][_0x74a941],_0x26d3b7=_0x29baca[_0x4b3318(0x1f7)](_0x12d9e7[_0x4b3318(0x1fb)]),_0xa5fff6=_0x29baca[_0x4b3318(0x227)](this[_0x4b3318(0x21e)],_0x74a941);_0x26d3b7[_0x4b3318(0x1c7)](_0xa5fff6)||(_0x29baca[_0x4b3318(0x1e8)](_0x29baca[_0x4b3318(0x1cb)](_0x12d9e7[_0x4b3318(0x1fb)]),_0xa5fff6),_0x55fec1=!0x0);}return _0x55fec1;}[_0x5d23cb(0x1f2)](_0x46b20d){const _0x55b1ef=_0x5d23cb;if(!this[_0x55b1ef(0x205)][_0x55b1ef(0x1d1)])return!0x1;const {model:_0x587d88}=this[_0x55b1ef(0x207)];let _0x59cb99=!0x1;for(let _0x3d078d=0x0;_0x3d078d<this[_0x55b1ef(0x205)][_0x55b1ef(0x1d1)]-0x1;_0x3d078d++){const _0x690325=this[_0x55b1ef(0x205)][_0x3d078d],_0x526de0=this[_0x55b1ef(0x205)][_0x3d078d+0x1],_0x534a17=_0x587d88[_0x55b1ef(0x1f7)](_0x690325[_0x55b1ef(0x1ca)]),_0x1b3224=_0x587d88[_0x55b1ef(0x1f7)](_0x526de0[_0x55b1ef(0x1ca)]);_0x55b1ef(0x208)===_0x534a17[_0x55b1ef(0x1ef)](_0x1b3224)&&(this[_0x55b1ef(0x1e9)](_0x46b20d,_0x690325[_0x55b1ef(0x1ca)]),_0x3d078d=-0x1,_0x59cb99=!0x0);}return _0x59cb99;}}function _0x4670(_0x59ec75,_0x360678){const _0x15c156=_0x15c1();return _0x4670=function(_0x4670ac,_0x233bdc){_0x4670ac=_0x4670ac-0x1c6;let _0x4624e9=_0x15c156[_0x4670ac];return _0x4624e9;},_0x4670(_0x59ec75,_0x360678);}function _(_0x1781e9,_0x372ec6,_0x36c53d){const _0x4e97da=_0x5d23cb;if(_0x36c53d[_0x4e97da(0x20f)])return!0x1;const _0x5ddb6d=_0x372ec6?_0x4e97da(0x204):_0x4e97da(0x1da);return _0x1781e9[_0x4e97da(0x1cd)](_0x1781e9[_0x4e97da(0x212)](_0x5ddb6d),_0x36c53d),!0x0;}function _0x15c1(){const _0xffbf34=['compareWith','push','$graveyard','_ensureFootnotesReferencesHaveProperOrder','singleton','root','getFootnotesFormatter','_footnoteDefsTracker','createPositionBefore','registerPostFixer','_handleInsertedFootnoteReference','_ensureFootnotesDefinitionsContainerExists','definition','from','getRootNames','276418SlDkFA','parent','append','601781GeZMzM','findIndex','2748WsQCOB','paragraph','_footnotes','footnotes.multiBlock','editor','after','differ','27nxPTSg','splice','createRangeIn','set','11210LBGeqc','childCount','_footnoteDefsContainerTracker','config','createElement','_insertEmptyFootnotesDefinitionsContainer','footnoteDefinition','rootName','8243106WAfLFX','getFootnotesDefinitionsObjectElement','350056UXGprj','_handleFootnoteReferencesChanges','init','getChanges','high','document','_footnotesDefinitions','_handleFootnoteDefinitionsChanges','isPremiumPlugin','_sortFootnoteDefinitions','change:data','indexOf','FootnotesTracker','getFootnote','some','createPositionAt','min','setFootnoteFormatter','_footnoteRefsTracker','get','add','_handleFootnotesDefinitionsObjectChanges','getAttribute','isEqual','footnoteId','footnotesDefinitions','reference','createRangeOn','before','insert','isOfficialPlugin','_updateFootnotesCounters','_updateFootnoteRefCounter','length','_footnoteFormatter','_handleFootnotesDefinitionsObjectSync','footnoteCounter','low','7084zVBrbK','model','unshift','51011909IOOnOP','footnoteInlineContent','pluginName','setAttribute','12kArPLm','listenTo','end','map','footnoteRef','7555IIGchy','enqueueChange','7LYSShI','_handleRemoveFootnoteReferenceById','reset','find','move','_handleMovedFootnoteReference','remove','getChildren','has','39vsJXwg','getFootnotes'];_0x15c1=function(){return _0xffbf34;};return _0x15c1();}function I(_0x27d8a8,_0x4ff169,_0x4edefd){const _0x1872f4=_0x5d23cb;if(0x0===_0x4ff169[_0x1872f4(0x1d1)])return 0x0;const _0x3ccb24=_0x27d8a8[_0x1872f4(0x1f7)](_0x4edefd);for(let _0x134ed6=0x0;_0x134ed6<_0x4ff169[_0x1872f4(0x1d1)];_0x134ed6++){const _0x3539c5=_0x4ff169[_0x134ed6],_0x2705a5=_0x27d8a8[_0x1872f4(0x1f7)](_0x3539c5[_0x1872f4(0x1ca)]);if(_0x1872f4(0x1cc)===_0x3ccb24[_0x1872f4(0x1ef)](_0x2705a5))return _0x134ed6;}const _0xf2fa30=_0x4edefd[_0x1872f4(0x1f4)];let _0x1eeb3f=-0x1;for(let _0x1bdf7f=_0x4ff169[_0x1872f4(0x1d1)]-0x1;_0x1bdf7f>=0x0;_0x1bdf7f--)if(_0x4ff169[_0x1bdf7f][_0x1872f4(0x1ca)][_0x1872f4(0x1f4)]===_0xf2fa30){_0x1eeb3f=_0x1bdf7f;break;}if(-0x1!==_0x1eeb3f)return _0x1eeb3f+0x1;const _0x450276=_0x27d8a8[_0x1872f4(0x21d)][_0x1872f4(0x1fd)](),_0x770c7=_0x450276[_0x1872f4(0x223)](_0xf2fa30[_0x1872f4(0x215)]),_0x2f83a4=_0x450276[_0x770c7+0x1];if(_0x2f83a4){for(let _0x466ca1=0x0;_0x466ca1<_0x4ff169[_0x1872f4(0x1d1)];_0x466ca1++)if(_0x4ff169[_0x466ca1][_0x1872f4(0x1ca)][_0x1872f4(0x1f4)][_0x1872f4(0x215)]===_0x2f83a4)return _0x466ca1;}return _0x4ff169[_0x1872f4(0x1d1)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x215470,MenuBarMenuListItemButtonView as _0x18fc8f}from'ckeditor5/src/ui.js';import{Plugin as _0x59eeb7}from'ckeditor5/src/core.js';import{IconFootnote as _0x37692a}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x59eeb7{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x10abbf}=this,{componentFactory:_0x315290}=_0x10abbf['ui'];_0x315290['add']('insertFootnote',E(_0x10abbf,_0x215470)),_0x315290['add']('menuBar:insertFootnote',E(_0x10abbf,_0x18fc8f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x270a9f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2f40c9;for(const _0x5804a8 in _0x270a9f){const _0x237db3=_0x5804a8,_0x22f060=_0x270a9f[_0x237db3];if('footnotesLicenseKeyValid'==_0x22f060||'footnotesLicenseKeyInvalid'==_0x22f060||'footnotesLicenseKeyExpired'==_0x22f060||'footnotesLicenseKeyDomainLimit'==_0x22f060||'footnotesLicenseKeyNotAllowed'==_0x22f060||'footnotesLicenseKeyEvaluationLimit'==_0x22f060||'footnotesLicenseKeyUsageLimit'==_0x22f060){delete _0x270a9f[_0x237db3],_0x2f40c9=_0x22f060,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2f40c9&&_0x270a9f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2f40c9&&_0x270a9f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2f40c9&&_0x270a9f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2f40c9&&_0x270a9f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x3bd8b5,_0x271185){const _0x4de83e=_0x3bd8b5['commands']['get']('insertFootnote');return _0x2910e2=>{const {t:t}=_0x2910e2,_0x310ce3=new _0x271185(_0x2910e2),_0x51880d=_0x310ce3 instanceof _0x18fc8f;return _0x310ce3['bind']('isEnabled')['to'](_0x4de83e,'isEnabled'),_0x310ce3['set']({'label':t(_0x51880d?'Footnote':'Insert\x20footnote'),'icon':_0x37692a,'tooltip':!0x0}),_0x310ce3['on']('execute',()=>{_0x4de83e['execute'](),_0x3bd8b5['editing']['view']['focus']();}),_0x310ce3;};}
23
+ import{ButtonView as _0x251a09,MenuBarMenuListItemButtonView as _0x11bb31}from'ckeditor5/src/ui.js';import{Plugin as _0x1e2c7a}from'ckeditor5/src/core.js';import{IconFootnote as _0x16f8db}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1e2c7a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd0e573}=this,{componentFactory:_0x5e3b45}=_0xd0e573['ui'];_0x5e3b45['add']('insertFootnote',E(_0xd0e573,_0x251a09)),_0x5e3b45['add']('menuBar:insertFootnote',E(_0xd0e573,_0x11bb31)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x16aa46=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x230b15;for(const _0x370e7e in _0x16aa46){const _0x19584b=_0x370e7e,_0x2ed0c8=_0x16aa46[_0x19584b];if('footnotesLicenseKeyValid'==_0x2ed0c8||'footnotesLicenseKeyInvalid'==_0x2ed0c8||'footnotesLicenseKeyExpired'==_0x2ed0c8||'footnotesLicenseKeyDomainLimit'==_0x2ed0c8||'footnotesLicenseKeyNotAllowed'==_0x2ed0c8||'footnotesLicenseKeyEvaluationLimit'==_0x2ed0c8||'footnotesLicenseKeyUsageLimit'==_0x2ed0c8){delete _0x16aa46[_0x19584b],_0x230b15=_0x2ed0c8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x230b15&&_0x16aa46['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x230b15&&_0x16aa46['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x230b15&&_0x16aa46['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x230b15&&_0x16aa46['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x30e68a,_0x2d612f){const _0x3a6687=_0x30e68a['commands']['get']('insertFootnote');return _0x4c3cc2=>{const {t:t}=_0x4c3cc2,_0x456ddd=new _0x2d612f(_0x4c3cc2),_0x3f7eb5=_0x456ddd instanceof _0x11bb31;return _0x456ddd['bind']('isEnabled')['to'](_0x3a6687,'isEnabled'),_0x456ddd['set']({'label':t(_0x3f7eb5?'Footnote':'Insert\x20footnote'),'icon':_0x16f8db,'tooltip':!0x0}),_0x456ddd['on']('execute',()=>{_0x3a6687['execute'](),_0x30e68a['editing']['view']['focus']();}),_0x456ddd;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x21ac23,_0xa933c6){var _0x3f236a=_0x1a53,_0x4a89a7=_0x21ac23();while(!![]){try{var _0x4593ae=parseInt(_0x3f236a(0xd3))/0x1+parseInt(_0x3f236a(0xd5))/0x2*(-parseInt(_0x3f236a(0xd6))/0x3)+parseInt(_0x3f236a(0xcf))/0x4+parseInt(_0x3f236a(0xd2))/0x5*(parseInt(_0x3f236a(0xd1))/0x6)+parseInt(_0x3f236a(0xd7))/0x7+-parseInt(_0x3f236a(0xce))/0x8+-parseInt(_0x3f236a(0xd0))/0x9*(parseInt(_0x3f236a(0xd4))/0xa);if(_0x4593ae===_0xa933c6)break;else _0x4a89a7['push'](_0x4a89a7['shift']());}catch(_0x87c01d){_0x4a89a7['push'](_0x4a89a7['shift']());}}}(_0x4144,0x2250b));function _0x1a53(_0x4b547f,_0x1d0480){var _0x414409=_0x4144();return _0x1a53=function(_0x1a53ce,_0x3cd020){_0x1a53ce=_0x1a53ce-0xce;var _0x88bc66=_0x414409[_0x1a53ce];return _0x88bc66;},_0x1a53(_0x4b547f,_0x1d0480);}import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x4144(){var _0x3e0473=['9mAjDIz','257390cjWWoy','408584NMNJlw','1069408hczqDY','2862dtFdwm','156078EFHSSl','30wQjYfG','279687vMqqIs','8620IRlPCp','182762sbzvRh'];_0x4144=function(){return _0x3e0473;};return _0x4144();}
23
+ function _0x2288(_0x1ba7a9,_0x49fafb){var _0x295777=_0x2957();return _0x2288=function(_0x228899,_0x478f94){_0x228899=_0x228899-0x1d3;var _0x256457=_0x295777[_0x228899];return _0x256457;},_0x2288(_0x1ba7a9,_0x49fafb);}(function(_0x383453,_0x1eb227){var _0x2c6f11=_0x2288,_0x23cb28=_0x383453();while(!![]){try{var _0x4fbae4=parseInt(_0x2c6f11(0x1d5))/0x1+-parseInt(_0x2c6f11(0x1d4))/0x2+-parseInt(_0x2c6f11(0x1da))/0x3*(-parseInt(_0x2c6f11(0x1db))/0x4)+parseInt(_0x2c6f11(0x1d3))/0x5+-parseInt(_0x2c6f11(0x1d8))/0x6+parseInt(_0x2c6f11(0x1d7))/0x7+parseInt(_0x2c6f11(0x1d9))/0x8*(-parseInt(_0x2c6f11(0x1d6))/0x9);if(_0x4fbae4===_0x1eb227)break;else _0x23cb28['push'](_0x23cb28['shift']());}catch(_0x2ae3c3){_0x23cb28['push'](_0x23cb28['shift']());}}}(_0x2957,0xadb45));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2957(){var _0xaa8ed2=['486885HzqzZO','20sblgTa','5507370dmmmOH','630406ZcONcz','393281IEqJky','523728KRPpgH','2995664KrXmjc','2214420WpVsPa','184qcStoq'];_0x2957=function(){return _0xaa8ed2;};return _0x2957();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3ce6(_0x1f46bb,_0x3db07c){const _0x1270cc=_0x1270();return _0x3ce6=function(_0x3ce681,_0xbfb8a2){_0x3ce681=_0x3ce681-0xae;let _0x27a85e=_0x1270cc[_0x3ce681];return _0x27a85e;},_0x3ce6(_0x1f46bb,_0x3db07c);}const _0x43dd96=_0x3ce6;function _0x1270(){const _0x148142=['reset','root','1001979lTKmPW','_model','delete','_trackedElements','push','length','$text','265368Icbdwz','clear','4224SRXCTH','8VqUBzI','type','$graveyard','values','remove','getElementKey','_getElementKey','attributes','4MVIXbL','40DQAbAR','5050GzFJwq','217LPlWaS','6853hZjogN','_elementName','element','name','has','from','createRangeOn','slice','nodeAfter','3104VTQyeC','add','insert','getChanges','177720pagEak','get','rootName','elementName','set','position','3818844UUSSVH','getItems','flat'];_0x1270=function(){return _0x148142;};return _0x1270();}(function(_0x173876,_0x324f3b){const _0x3e4333=_0x3ce6,_0x241d49=_0x173876();while(!![]){try{const _0x587f92=parseInt(_0x3e4333(0xc1))/0x1*(parseInt(_0x3e4333(0xd6))/0x2)+parseInt(_0x3e4333(0xda))/0x3*(-parseInt(_0x3e4333(0xc9))/0x4)+-parseInt(_0x3e4333(0xca))/0x5*(-parseInt(_0x3e4333(0xbe))/0x6)+-parseInt(_0x3e4333(0xcc))/0x7*(-parseInt(_0x3e4333(0xc0))/0x8)+-parseInt(_0x3e4333(0xb7))/0x9+parseInt(_0x3e4333(0xcb))/0xa*(parseInt(_0x3e4333(0xcd))/0xb)+-parseInt(_0x3e4333(0xb2))/0xc;if(_0x587f92===_0x324f3b)break;else _0x241d49['push'](_0x241d49['shift']());}catch(_0x4ab67e){_0x241d49['push'](_0x241d49['shift']());}}}(_0x1270,0x32e1f));export class ModelElementTracker{[_0x43dd96(0xb8)];[_0x43dd96(0xce)];[_0x43dd96(0xc7)];[_0x43dd96(0xba)]=new Map();constructor(_0x18618d,_0x417679){const _0x2996be=_0x43dd96;this[_0x2996be(0xb8)]=_0x18618d,this[_0x2996be(0xce)]=_0x417679[_0x2996be(0xaf)],this[_0x2996be(0xc7)]=_0x417679[_0x2996be(0xc6)];}[_0x43dd96(0xb5)](){const _0x2bfb93=_0x43dd96;this[_0x2bfb93(0xba)][_0x2bfb93(0xbf)]();}[_0x43dd96(0xd9)](_0x128a9f){const _0x28e623=_0x43dd96,_0x52c120=new Set(),_0x1d54fc=new Map();for(const _0x44f289 of _0x128a9f){if(_0x28e623(0xd8)===_0x44f289[_0x28e623(0xc2)]&&_0x28e623(0xbd)!==_0x44f289[_0x28e623(0xd0)]&&_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]){const _0x3fa4ea=this[_0x28e623(0xb8)][_0x28e623(0xd3)](_0x44f289[_0x28e623(0xb1)][_0x28e623(0xd5)]);for(const _0x1a3967 of _0x3fa4ea[_0x28e623(0xb3)]()){if(!_0x1a3967['is'](_0x28e623(0xcf),this[_0x28e623(0xce)]))continue;const _0x3ce7f9=this[_0x28e623(0xc7)](_0x1a3967);_0x1d54fc[_0x28e623(0xd1)](_0x3ce7f9)||_0x1d54fc[_0x28e623(0xb0)](_0x3ce7f9,[]),_0x1d54fc[_0x28e623(0xdb)](_0x3ce7f9)[_0x28e623(0xbb)](_0x1a3967);}}if(_0x28e623(0xc5)===_0x44f289[_0x28e623(0xc2)]&&_0x44f289[_0x28e623(0xd0)]===this[_0x28e623(0xce)]){const _0x57ba38=this[_0x28e623(0xc7)]({'getAttribute':_0x3850c0=>_0x44f289[_0x28e623(0xc8)][_0x28e623(0xdb)](_0x3850c0)});_0x52c120[_0x28e623(0xd7)](_0x57ba38);}}for(const [_0x2edf8d,_0x417453]of this[_0x28e623(0xba)])_0x28e623(0xc3)===_0x417453[_0x28e623(0xb6)][_0x28e623(0xae)]&&_0x52c120[_0x28e623(0xd7)](_0x2edf8d);for(const _0x20191e of _0x52c120)this[_0x28e623(0xba)][_0x28e623(0xb9)](_0x20191e);for(const [_0x508e0c,_0x50f970]of _0x1d54fc)this[_0x28e623(0xba)][_0x28e623(0xb0)](_0x508e0c,_0x50f970[_0x50f970[_0x28e623(0xbc)]-0x1]);const _0xbd50a1=new Set();for(const [_0x17b19a,_0x5ef8c2]of _0x1d54fc)_0x52c120[_0x28e623(0xd1)](_0x17b19a)&&(_0xbd50a1[_0x28e623(0xd7)](_0x5ef8c2[0x0]),_0x5ef8c2[_0x28e623(0xbc)]>0x1?_0x1d54fc[_0x28e623(0xb0)](_0x17b19a,_0x5ef8c2[_0x28e623(0xd4)](0x1)):_0x1d54fc[_0x28e623(0xb9)](_0x17b19a),_0x52c120[_0x28e623(0xb9)](_0x17b19a));return{'removed':Array[_0x28e623(0xd2)](_0x52c120),'inserted':Array[_0x28e623(0xd2)](_0x1d54fc[_0x28e623(0xc4)]())[_0x28e623(0xb4)](),'moved':Array[_0x28e623(0xd2)](_0xbd50a1)};}}
23
+ function _0x2b5d(){const _0x51f505=['getChanges','11270286irrdhJ','_getElementKey','_trackedElements','getItems','2307584yuOkNF','set','from','rootName','115hvLzbI','attributes','elementName','$graveyard','position','91356QoUdKO','name','type','get','$text','_model','reset','_elementName','insert','1329Xcktrs','length','values','createRangeOn','1906RNwltz','slice','2840306ELmPSb','remove','clear','589329YJIpjt','nodeAfter','push','root','3375884arEeYi','element','flat','add','delete','getElementKey','has'];_0x2b5d=function(){return _0x51f505;};return _0x2b5d();}const _0x142165=_0x374c;function _0x374c(_0x4534e8,_0x22f662){const _0x2b5d64=_0x2b5d();return _0x374c=function(_0x374c7e,_0x28b28d){_0x374c7e=_0x374c7e-0x65;let _0x5606d1=_0x2b5d64[_0x374c7e];return _0x5606d1;},_0x374c(_0x4534e8,_0x22f662);}(function(_0x1c9219,_0x1f9fd0){const _0x2ab6cc=_0x374c,_0x58152e=_0x1c9219();while(!![]){try{const _0x26850a=-parseInt(_0x2ab6cc(0x7a))/0x1+-parseInt(_0x2ab6cc(0x75))/0x2*(-parseInt(_0x2ab6cc(0x71))/0x3)+parseInt(_0x2ab6cc(0x7e))/0x4+-parseInt(_0x2ab6cc(0x8e))/0x5*(-parseInt(_0x2ab6cc(0x68))/0x6)+parseInt(_0x2ab6cc(0x77))/0x7+parseInt(_0x2ab6cc(0x8a))/0x8+-parseInt(_0x2ab6cc(0x86))/0x9;if(_0x26850a===_0x1f9fd0)break;else _0x58152e['push'](_0x58152e['shift']());}catch(_0x1c6973){_0x58152e['push'](_0x58152e['shift']());}}}(_0x2b5d,0x727eb));export class ModelElementTracker{[_0x142165(0x6d)];[_0x142165(0x6f)];[_0x142165(0x87)];[_0x142165(0x88)]=new Map();constructor(_0x32ca3c,_0x347b6c){const _0x160f21=_0x142165;this[_0x160f21(0x6d)]=_0x32ca3c,this[_0x160f21(0x6f)]=_0x347b6c[_0x160f21(0x65)],this[_0x160f21(0x87)]=_0x347b6c[_0x160f21(0x83)];}[_0x142165(0x6e)](){const _0x29a4cb=_0x142165;this[_0x29a4cb(0x88)][_0x29a4cb(0x79)]();}[_0x142165(0x85)](_0x466572){const _0x5177d9=_0x142165,_0x3151bc=new Set(),_0x53920c=new Map();for(const _0x406056 of _0x466572){if(_0x5177d9(0x70)===_0x406056[_0x5177d9(0x6a)]&&_0x5177d9(0x6c)!==_0x406056[_0x5177d9(0x69)]&&_0x406056[_0x5177d9(0x67)][_0x5177d9(0x7b)]){const _0x220435=this[_0x5177d9(0x6d)][_0x5177d9(0x74)](_0x406056[_0x5177d9(0x67)][_0x5177d9(0x7b)]);for(const _0x4340c9 of _0x220435[_0x5177d9(0x89)]()){if(!_0x4340c9['is'](_0x5177d9(0x7f),this[_0x5177d9(0x6f)]))continue;const _0xe62e84=this[_0x5177d9(0x87)](_0x4340c9);_0x53920c[_0x5177d9(0x84)](_0xe62e84)||_0x53920c[_0x5177d9(0x8b)](_0xe62e84,[]),_0x53920c[_0x5177d9(0x6b)](_0xe62e84)[_0x5177d9(0x7c)](_0x4340c9);}}if(_0x5177d9(0x78)===_0x406056[_0x5177d9(0x6a)]&&_0x406056[_0x5177d9(0x69)]===this[_0x5177d9(0x6f)]){const _0x4e0659=this[_0x5177d9(0x87)]({'getAttribute':_0x4e795b=>_0x406056[_0x5177d9(0x8f)][_0x5177d9(0x6b)](_0x4e795b)});_0x3151bc[_0x5177d9(0x81)](_0x4e0659);}}for(const [_0x42318e,_0x5d6da5]of this[_0x5177d9(0x88)])_0x5177d9(0x66)===_0x5d6da5[_0x5177d9(0x7d)][_0x5177d9(0x8d)]&&_0x3151bc[_0x5177d9(0x81)](_0x42318e);for(const _0x3faf54 of _0x3151bc)this[_0x5177d9(0x88)][_0x5177d9(0x82)](_0x3faf54);for(const [_0x41e4e7,_0x33ac48]of _0x53920c)this[_0x5177d9(0x88)][_0x5177d9(0x8b)](_0x41e4e7,_0x33ac48[_0x33ac48[_0x5177d9(0x72)]-0x1]);const _0x52ae2c=new Set();for(const [_0x3c4231,_0x3296f9]of _0x53920c)_0x3151bc[_0x5177d9(0x84)](_0x3c4231)&&(_0x52ae2c[_0x5177d9(0x81)](_0x3296f9[0x0]),_0x3296f9[_0x5177d9(0x72)]>0x1?_0x53920c[_0x5177d9(0x8b)](_0x3c4231,_0x3296f9[_0x5177d9(0x76)](0x1)):_0x53920c[_0x5177d9(0x82)](_0x3c4231),_0x3151bc[_0x5177d9(0x82)](_0x3c4231));return{'removed':Array[_0x5177d9(0x8c)](_0x3151bc),'inserted':Array[_0x5177d9(0x8c)](_0x53920c[_0x5177d9(0x73)]())[_0x5177d9(0x80)](),'moved':Array[_0x5177d9(0x8c)](_0x52ae2c)};}}