@ckeditor/ckeditor5-footnotes 47.6.0-alpha.4 → 47.6.0-alpha.6

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 _0x211e07}from'ckeditor5/src/core.js';import{isWidget as _0x3426ef,toWidget as _0x5879f4,toWidgetEditable as _0x4039dc}from'ckeditor5/src/widget.js';import{uid as _0x1a80b5}from'ckeditor5/src/utils.js';import{PointerObserver as _0x7061,ClickObserver as _0x275599}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x43ee3f}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x495ddc}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x211e07{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x43ee3f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x46fe51}=this;_0x46fe51['config']['define']('footnotes.multiBlock',!0x0),_0x46fe51['commands']['add']('insertFootnote',new _0x495ddc(_0x46fe51)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x44ab5d){const _0x2bab4d=_0x501d5d([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]),_0x11a165=0x47a28506,_0x4bf9b3=0x47a5061e^_0x11a165,_0x3dd4ca=window[_0x501d5d([0x44,0x61,0x74,0x65])][_0x501d5d([0x6e,0x6f,0x77])](),_0x3c5d14=_0x44ab5d[_0x501d5d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x968751=new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x47c30a=>{_0x3c5d14[_0x501d5d([0x6f,0x6e,0x63,0x65])](_0x501d5d([0x72,0x65,0x61,0x64,0x79]),_0x47c30a);}),_0x10070c={[_0x501d5d([0x6b,0x74,0x79])]:_0x501d5d([0x45,0x43]),[_0x501d5d([0x75,0x73,0x65])]:_0x501d5d([0x73,0x69,0x67]),[_0x501d5d([0x63,0x72,0x76])]:_0x501d5d([0x50,0x2d,0x32,0x35,0x36]),[_0x501d5d([0x78])]:_0x501d5d([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]),[_0x501d5d([0x79])]:_0x501d5d([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]),[_0x501d5d([0x61,0x6c,0x67])]:_0x501d5d([0x45,0x53,0x32,0x35,0x36])},_0x5ecbdb=_0x3c5d14[_0x501d5d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x501d5d([0x67,0x65,0x74])](_0x501d5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x26c1cb(){let _0x3a430f,_0x4c4211=null,_0x28ddcd=null;try{if(_0x5ecbdb==_0x501d5d([0x47,0x50,0x4c]))return _0x501d5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a430f=_0x4851f3(),!_0x3a430f)return _0x501d5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a430f[_0x501d5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x28ddcd=_0x17b0c3(_0x3a430f[_0x501d5d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a430f[_0x501d5d([0x6a,0x74,0x69])])),await _0x1d3d20()?_0x22b375()?_0x89298()?_0x501d5d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2ad85d()?(_0x3a430f[_0x501d5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x501d5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4c4211=_0x2e5854(_0x501d5d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x563d61()):_0x501d5d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x501d5d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x501d5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x501d5d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x89298(){const _0x11fb55=[_0x501d5d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x501d5d([0x74,0x72,0x69,0x61,0x6c])][_0x501d5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a430f[_0x501d5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3dd4ca/0x3e8:0xe10*_0x4bf9b3;return _0x3a430f[_0x501d5d([0x65,0x78,0x70])]<_0x11fb55;}function _0x22b375(){const _0x1b9d3b=_0x3a430f[_0x501d5d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1b9d3b&&(!!_0x1b9d3b[_0x501d5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501d5d([0x2a]))||!!_0x1b9d3b[_0x501d5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501d5d([0x46,0x4f,0x4f])));}function _0x2ad85d(){const _0x24dbc0=_0x3a430f[_0x501d5d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x24dbc0||0x0==_0x24dbc0[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe7a28f}=new URL(window[_0x501d5d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x24dbc0[_0x501d5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7a28f))return!0x0;const _0x3d6448=_0xe7a28f[_0x501d5d([0x73,0x70,0x6c,0x69,0x74])](_0x501d5d([0x2e]));return _0x24dbc0[_0x501d5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4b4040=>_0x4b4040[_0x501d5d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x501d5d([0x2a])))[_0x501d5d([0x6d,0x61,0x70])](_0xf35aa7=>_0xf35aa7[_0x501d5d([0x73,0x70,0x6c,0x69,0x74])](_0x501d5d([0x2e])))[_0x501d5d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x543308=>_0x543308[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d6448[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x501d5d([0x6d,0x61,0x70])](_0x228b6c=>Array(_0x3d6448[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x228b6c[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x501d5d([0x66,0x69,0x6c,0x6c])](_0x228b6c[0x0]===_0x501d5d([0x2a])?_0x501d5d([0x2a]):'')[_0x501d5d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x228b6c))[_0x501d5d([0x73,0x6f,0x6d,0x65])](_0x104f90=>_0x3d6448[_0x501d5d([0x65,0x76,0x65,0x72,0x79])]((_0x117ce1,_0x18d752)=>_0x104f90[_0x18d752]===_0x117ce1||_0x104f90[_0x18d752]===_0x501d5d([0x2a])));}function _0x563d61(){return _0x4c4211&&_0x28ddcd?new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4b0d82,_0x35eda7)=>{_0x4c4211[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x4b0d82,_0x35eda7),_0x28ddcd[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x77b714=>{_0x77b714!=_0x501d5d([0x56,0x61,0x6c,0x69,0x64])&&_0x4b0d82(_0x77b714);},_0x35eda7);}):_0x4c4211||_0x28ddcd||_0x501d5d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x17b0c3(_0x3ef777,_0x501191){return new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x9a2642=>{if(_0x2b2e2a())return _0x9a2642(_0x501d5d([0x56,0x61,0x6c,0x69,0x64]));_0x16c38d(),_0x3c5d14[_0x501d5d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x501d5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x44b5ef=!0x1;const _0x14d155=_0x1a80b5();function _0x460617(_0xf12303){return!!_0xf12303&&(typeof _0xf12303===_0x501d5d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0xf12303===_0x501d5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0xf12303[_0x501d5d([0x74,0x68,0x65,0x6e])]===_0x501d5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0xf12303[_0x501d5d([0x63,0x61,0x74,0x63,0x68])]===_0x501d5d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xdaf2fe(_0x5a43d4){_0x53ac4e(_0x5a43d4)[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x247f56=>{if(!_0x247f56||_0x247f56[_0x501d5d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x501d5d([0x6f,0x6b]))return _0x501d5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x253356(_0x209e26(_0x14d155+_0x501191))!=_0x247f56[_0x501d5d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x501d5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x501d5d([0x56,0x61,0x6c,0x69,0x64]);})[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x47c429=>(_0x45e4cd(),_0x47c429),()=>{const _0x3646e4=_0x1ded76();return null==_0x3646e4?(_0x45e4cd(),_0x501d5d([0x56,0x61,0x6c,0x69,0x64])):_0x501d5d(_0x3dd4ca-_0x3646e4>(0x63ae0106^_0x11a165)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x9a2642)[_0x501d5d([0x63,0x61,0x74,0x63,0x68])](()=>{_0x9a2642(_0x501d5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x116300=0x47946b86^_0x11a165;function _0x45e4cd(){const _0x459786=_0x501d5d([0x6c,0x6c,0x63,0x74,0x2d])+_0x253356(_0x209e26(_0x3ef777)),_0x38cf9f=_0x464e43(_0x253356(window[_0x501d5d([0x4d,0x61,0x74,0x68])][_0x501d5d([0x63,0x65,0x69,0x6c])](_0x3dd4ca/_0x116300)));window[_0x501d5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x501d5d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x459786,_0x38cf9f);}function _0x1ded76(){const _0x743cbb=_0x501d5d([0x6c,0x6c,0x63,0x74,0x2d])+_0x253356(_0x209e26(_0x3ef777)),_0xef40da=window[_0x501d5d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x501d5d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x743cbb);return _0xef40da?window[_0x501d5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x464e43(_0xef40da),0x10)*_0x116300:null;}function _0x53ac4e(_0x599bb2){return new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3b12d6,_0x2bce6e)=>{_0x599bb2[_0x501d5d([0x74,0x68,0x65,0x6e])](_0x3b12d6,_0x2bce6e),window[_0x501d5d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2bce6e,0x47a351c6^_0x11a165);});}}_0x3c5d14[_0x501d5d([0x6f,0x6e])](_0x501d5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x468fc1,_0x234fad)=>{if(_0x234fad[0x0]!=_0x3ef777)return _0x9a2642(_0x501d5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x234fad[0x1]={..._0x234fad[0x1],[_0x501d5d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x14d155};},{[_0x501d5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x501d5d([0x68,0x69,0x67,0x68])}),_0x3c5d14[_0x501d5d([0x6f,0x6e])](_0x501d5d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x578956=>{_0x460617(_0x578956[_0x501d5d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x44b5ef=!0x0,_0xdaf2fe(_0x578956[_0x501d5d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x501d5d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x501d5d([0x6c,0x6f,0x77])}),_0x968751[_0x501d5d([0x74,0x68,0x65,0x6e])](()=>{_0x44b5ef||_0x9a2642(_0x501d5d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x2b2e2a(){return _0x3c5d14[_0x501d5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x501d5d([0x76,0x69,0x65,0x77])][_0x501d5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x501d5d([0x61,0x75,0x74,0x6f]);}function _0x16c38d(){_0x3c5d14[_0x501d5d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x501d5d([0x76,0x69,0x65,0x77])][_0x501d5d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x501d5d([0x61,0x75,0x74,0x6f]);}}function _0x2e5854(_0x200031){const _0x532ab5=[new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x16cdf1=>setTimeout(_0x16cdf1,0x47abbbca^_0x11a165)),_0x968751[_0x501d5d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x365edc=>{let _0x2d7f8d=0x0;_0x3c5d14[_0x501d5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x501d5d([0x6f,0x6e])](_0x501d5d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x16ed9c,_0x18f8d3)=>{_0x18f8d3[0x0][_0x501d5d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d7f8d++,_0x2d7f8d==(0x47a280ee^_0x11a165)&&(_0x365edc(),_0x16ed9c[_0x501d5d([0x6f,0x66,0x66])]());});}))];return window[_0x501d5d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x501d5d([0x72,0x61,0x63,0x65])](_0x532ab5)[_0x501d5d([0x74,0x68,0x65,0x6e])](()=>_0x200031);}async function _0x4fa171(){await _0x968751,_0x3c5d14[_0x501d5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x501d5d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x4d58fd,_0x3c5d14[_0x501d5d([0x6d,0x6f,0x64,0x65,0x6c])][_0x501d5d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x4d58fd,_0x3c5d14[_0x501d5d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x501d5d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xd4538e(_0x4ecd56){const _0x1b902a=_0x3388ba();_0x3c5d14[_0x1b902a]=_0x501d5d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4ecd56,_0x4ecd56!=_0x501d5d([0x56,0x61,0x6c,0x69,0x64])&&_0x4fa171();}function _0x3388ba(){const _0x575ac7=window[_0x501d5d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x501d5d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x501d5d([0x6e,0x6f,0x77])]())[_0x501d5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x501d5d([0x2e]),'');let _0x167593=_0x501d5d([0x75]);for(let _0x5c7dcf=0x0;_0x5c7dcf<_0x575ac7[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5c7dcf+=0x2){let _0x3ef890=window[_0x501d5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x575ac7[_0x501d5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5c7dcf,_0x5c7dcf+0x2));_0x3ef890>=_0x2bab4d[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x3ef890-=_0x2bab4d[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x167593+=_0x2bab4d[_0x3ef890];}return _0x167593;}function _0x4851f3(){const _0xc6fe9b=_0x5ecbdb[_0x501d5d([0x73,0x70,0x6c,0x69,0x74])](_0x501d5d([0x2e]));if(0x3!=_0xc6fe9b[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3f65e2(_0xc6fe9b[0x1]);function _0x3f65e2(_0xe61850){const _0xfc7eac=_0x47167e(_0xe61850);return _0xfc7eac&&_0x165631()?_0xfc7eac:null;function _0x165631(){const _0x788af1=_0xfc7eac[_0x501d5d([0x6a,0x74,0x69])],_0x191ce4=window[_0x501d5d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x788af1[_0x501d5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x788af1[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x18ed3a={..._0xfc7eac,[_0x501d5d([0x6a,0x74,0x69])]:_0x788af1[_0x501d5d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x788af1[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x18ed3a[_0x501d5d([0x76,0x63])],_0x209e26(_0x18ed3a)==_0x191ce4;}}}async function _0x1d3d20(){let _0x58aa74=!0x0;try{const _0x4d2221=_0x5ecbdb[_0x501d5d([0x73,0x70,0x6c,0x69,0x74])](_0x501d5d([0x2e])),[_0x2d4b09,_0x18551c,_0x743876]=_0x4d2221;return _0x1ba8e3(_0x2d4b09),await _0x115c51(_0x2d4b09,_0x18551c,_0x743876),_0x58aa74;}catch{return!0x1;}function _0x1ba8e3(_0x4a1cb1){const _0x520fbe=_0x47167e(_0x4a1cb1);_0x520fbe&&_0x520fbe[_0x501d5d([0x61,0x6c,0x67])]==_0x501d5d([0x45,0x53,0x32,0x35,0x36])||(_0x58aa74=!0x1);}async function _0x115c51(_0x225236,_0x3011a0,_0x2d3eea){const _0x399c95=window[_0x501d5d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x501d5d([0x66,0x72,0x6f,0x6d])](_0x4de8ab(_0x2d3eea),_0x4ef6a2=>_0x4ef6a2[_0x501d5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x45df5e=new window[(_0x501d5d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x501d5d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x225236+_0x501d5d([0x2e])+_0x3011a0),_0x4955fe=window[_0x501d5d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x501d5d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x4955fe)return;const _0x51cf34=await _0x4955fe[_0x501d5d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x501d5d([0x6a,0x77,0x6b]),_0x10070c,{[_0x501d5d([0x6e,0x61,0x6d,0x65])]:_0x501d5d([0x45,0x43,0x44,0x53,0x41]),[_0x501d5d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x501d5d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x501d5d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x4955fe[_0x501d5d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x501d5d([0x6e,0x61,0x6d,0x65])]:_0x501d5d([0x45,0x43,0x44,0x53,0x41]),[_0x501d5d([0x68,0x61,0x73,0x68])]:{[_0x501d5d([0x6e,0x61,0x6d,0x65])]:_0x501d5d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x51cf34,_0x399c95,_0x45df5e)||(_0x58aa74=!0x1);}}function _0x47167e(_0x116d15){return _0x116d15[_0x501d5d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x501d5d([0x65,0x79]))?JSON[_0x501d5d([0x70,0x61,0x72,0x73,0x65])](_0x4de8ab(_0x116d15)):null;}function _0x4de8ab(_0x5035b3){return window[_0x501d5d([0x61,0x74,0x6f,0x62])](_0x5035b3[_0x501d5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x501d5d([0x2b]))[_0x501d5d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x501d5d([0x2f])));}function _0x209e26(_0x29d87d){let _0x416ebb=0x1505;function _0x56b64d(_0x5b1bda){for(let _0x385525=0x0;_0x385525<_0x5b1bda[_0x501d5d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x385525++){const _0x399243=_0x5b1bda[_0x501d5d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x385525);_0x416ebb=(_0x416ebb<<0x5)+_0x416ebb+_0x399243,_0x416ebb&=_0x416ebb;}}function _0x3119e7(_0x3ce7e0){Array[_0x501d5d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3ce7e0)?_0x3ce7e0[_0x501d5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x3119e7):_0x3ce7e0&&typeof _0x3ce7e0==_0x501d5d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x501d5d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3ce7e0)[_0x501d5d([0x73,0x6f,0x72,0x74])]()[_0x501d5d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x59aeda,_0x3b9855])=>{_0x56b64d(_0x59aeda),_0x3119e7(_0x3b9855);}):_0x56b64d(window[_0x501d5d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3ce7e0));}return _0x3119e7(_0x29d87d),_0x416ebb>>>0x0;}function _0x253356(_0xfd8ad8){return _0xfd8ad8[_0x501d5d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x501d5d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x501d5d([0x30]));}function _0x464e43(_0x578110){return _0x578110[_0x501d5d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x501d5d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x501d5d([0x6a,0x6f,0x69,0x6e])]('');}function _0x4d58fd(){}function _0x501d5d(_0x37b079){return _0x37b079['map'](_0x445f29=>String['fromCharCode'](_0x445f29))['join']('');}_0xd4538e(await _0x26c1cb());}(this);}['_moveSelectionToFootnoteDefinition'](_0xd9061d){const {plugins:_0x1eb4c0,editing:_0x595bdf,model:_0x2b1ce1}=this['editor'],_0x337da4=_0x1eb4c0['get'](_0x43ee3f)['getFootnote'](_0xd9061d);return!!_0x337da4&&(_0x2b1ce1['change'](_0x40662c=>{_0x40662c['setSelection'](_0x40662c['createPositionAt'](_0x337da4['definition'],'end'));}),_0x595bdf['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x362ceb){const {plugins:_0x1380f9,editing:_0x41f5b0,model:_0x3bc6e5}=this['editor'],_0x3d8430=_0x1380f9['get'](_0x43ee3f)['getFootnote'](_0x362ceb);return!!_0x3d8430&&(_0x3bc6e5['change'](_0x23fd91=>{_0x23fd91['setSelection'](_0x3d8430['reference'],'on');}),_0x41f5b0['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5619c1}=this['editor']['model'],_0xfbd83=this['editor']['config']['get']('footnotes.multiBlock');_0x5619c1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5619c1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5619c1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xfbd83?_0x5619c1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5619c1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5619c1['addChildCheck'](_0x5b61ca=>{for(const _0x39115c of _0x5b61ca)if('footnoteDefinition'===_0x39115c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x620102}=this,{conversion:_0x599d2e,editing:_0x39e3ac}=_0x620102,{t:t}=_0x620102['locale'];_0x599d2e['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x233ac,{writer:_0x1344f0,consumable:_0x11e1c1})=>{const _0x25a3d1=_0x233ac['getChild'](0x0);if(!_0x25a3d1||!_0x25a3d1['is']('element','a'))return null;const _0x59a817=_0x25a3d1['getAttribute']('href')||'';if(!_0x59a817['startsWith']('#'))return null;const _0xca5ff6=_0x59a817['replace'](/^#/,'');if(!_0xca5ff6)return null;_0x11e1c1['consume'](_0x25a3d1,{'name':!0x0,'attributes':['href']});for(const {item:_0x311c49}of _0x39e3ac['view']['createRangeIn'](_0x25a3d1))_0x311c49['is']('$textProxy')?_0x11e1c1['consume'](_0x311c49['textNode'],{'name':!0x0}):_0x311c49['is']('element')&&_0x11e1c1['consume'](_0x311c49,{'name':!0x0});return _0x1344f0['createElement']('footnoteRef',{'footnoteId':_0xca5ff6});}}),_0x599d2e['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3cea69,{writer:_0x2d72bd})=>b(_0x3cea69,_0x2d72bd)}),_0x599d2e['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5ba479,{writer:_0x534f8d})=>{const _0x1bebe7=_0x5ba479['getAttribute']('footnoteCounter');return _0x5879f4(b(_0x5ba479,_0x534f8d),_0x534f8d,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1bebe7)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1b6395}=this,{t:t}=_0x1b6395['locale'],{conversion:_0x2e81fa}=_0x1b6395;_0x2e81fa['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2e81fa['for']('upcast')['add'](_0x18b6ef=>{_0x18b6ef['on']('element:ol',(_0x1b3371,_0x53ef,_0x52c08b)=>{const _0x43c395=_0x53ef['viewItem'];if(!_0x43c395['hasClass']('footnotes-list')||!_0x53ef['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x52c08b['consumable']['consume'](_0x43c395,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x27c88d,modelCursor:_0x2310df}=_0x52c08b['convertChildren'](_0x53ef['viewItem'],_0x53ef['modelCursor']);_0x53ef['modelRange']=_0x27c88d,_0x53ef['modelCursor']=_0x2310df;}),_0x18b6ef['on']('element:hr',(_0x23731c,_0x3d5013,_0xa7c19b)=>{const _0x223551=_0x3d5013['viewItem'];_0x223551['hasClass']('footnotes-divider')&&_0x3d5013['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xa7c19b['consumable']['consume'](_0x223551,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2e81fa['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5b79ff,{writer:_0x5a2b69})=>D(_0x5a2b69)}),_0x2e81fa['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x14e1be,{writer:_0x4ce39e})=>{const _0x22a331=D(_0x4ce39e,{'data-footnotes-list-label':t('Footnotes')}),_0x37d826=_0x5879f4(_0x22a331,_0x4ce39e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x4ce39e['setCustomProperty']('footnotesDefinitions',!0x0,_0x37d826),_0x37d826;}});}['_defineDefinitionConverters'](){const {editor:_0x44be08}=this,{conversion:_0x554ab7,locale:_0x268bf0}=_0x44be08,_0x488c3d=_0x44be08['config']['get']('footnotes.multiBlock');_0x554ab7['for']('upcast')['add'](_0x55d9f2=>{_0x55d9f2['on']('element:li',(_0x3268cf,_0x3c74c1,_0x3dd7b2)=>{const _0x3921ca=_0x3c74c1['viewItem'];if(!_0x3921ca['hasClass']('footnote-definition')||!_0x3921ca['getAttribute']('id'))return;const _0xd9c8c0=_0x3921ca['parent'];if(!_0xd9c8c0['is']('element','ol')||!_0xd9c8c0['hasClass']('footnotes-list'))return;if(!_0x3dd7b2['consumable']['test'](_0x3921ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x437e02=_0x3dd7b2['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3921ca['getAttribute']('id')});if(!_0x3dd7b2['safeInsert'](_0x437e02,_0x3c74c1['modelCursor']))return;_0x3dd7b2['consumable']['consume'](_0x3921ca,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1bc651=Array['from'](_0x3921ca['getChildren']())['find'](_0x1e2dc6=>_0x1e2dc6['is']('element')&&_0x1e2dc6['hasClass']('footnote-content'));for(const _0x3b637c of _0x3921ca['getChildren']())_0x3b637c['is']('element')&&(_0x3dd7b2['consumable']['consume'](_0x3b637c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3dd7b2['consumable']['consume'](_0x3b637c,{'name':!0x0,'classes':'footnote-content'}));if(_0x1bc651){if(_0x488c3d)_0x3dd7b2['convertChildren'](_0x1bc651,_0x437e02);else{const _0x38c803=_0x3dd7b2['writer']['createElement']('footnoteInlineContent');_0x3dd7b2['writer']['insert'](_0x38c803,_0x437e02),_0x3dd7b2['convertChildren'](_0x1bc651,_0x38c803);}}_0x3dd7b2['updateConversionResult'](_0x437e02,_0x3c74c1);});}),_0x554ab7['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xdad7e2,{writer:_0x8380a8})=>y(_0xdad7e2,_0x8380a8,_0x268bf0,{'dataPipeline':!0x0})}),_0x554ab7['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2f8cd2,{writer:_0x576f14})=>y(_0x2f8cd2,_0x576f14,_0x268bf0)});}['_defineBogusParagraphConverters'](){const {editor:_0x448d0b}=this,{conversion:_0x1d0bc1}=_0x448d0b;_0x448d0b['config']['get']('footnotes.multiBlock')?(_0x1d0bc1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1d0bc1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x448d0b['model']['document'],'change:data',()=>{!function(_0x379752,_0xffcad5){const _0x269521=_0x379752['document']['differ'],_0x1f1536=new Set();for(const _0x280943 of _0x269521['getChanges']()){const _0x4cccc9='attribute'==_0x280943['type']?_0x280943['range']['start']['parent']:_0x280943['position']['parent'];_0x4cccc9['is']('element','footnoteDefinition')&&_0x1f1536['add'](_0x4cccc9);}for(const _0x57edbf of _0x1f1536['values']()){const _0x3fe448=Array['from'](_0x57edbf['getChildren']())['filter'](_0x2dda48=>v(_0x2dda48,_0xffcad5['mapper']));for(const _0x22f06f of _0x3fe448)_0xffcad5['reconvertItem'](_0x22f06f);}}(_0x448d0b['model'],_0x448d0b['editing']);})):(_0x1d0bc1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1d0bc1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3af508,{writer:_0x57debe})=>{const _0x39655f=_0x57debe['createContainerElement']('span');return _0x57debe['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x39655f),_0x39655f;}}));}['_defineKeyboardHandlers'](){const {editor:_0x15c64f}=this,{editing:_0x567409,t:t}=_0x15c64f,_0x1a6d8d=_0x15c64f['model']['document']['selection'];_0x15c64f['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x15c64f['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x567409['view']['document'],'enter',(_0x5b4255,_0x5a3f87)=>{const _0x76479c=function(_0x148409){const _0x3d8f5f=_0x148409['getSelectedElement']();if(_0x3d8f5f?.['is']('element','footnoteRef'))return _0x3d8f5f;return null;}(_0x1a6d8d);if(_0x76479c){const _0x1448ad=_0x76479c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x1448ad),_0x5a3f87['preventDefault'](),_0x5b4255['stop']();}},{'context':_0x3426ef});}['_defineClickHandlers'](){const {editor:_0x277a39}=this,{editing:_0x347748}=_0x277a39;_0x277a39['editing']['view']['addObserver'](_0x7061),_0x277a39['editing']['view']['addObserver'](_0x275599);let _0x2b73de=!0x1;this['listenTo'](_0x347748['view']['document'],'pointerdown',(_0x4673f2,_0x31f6be)=>{const {target:_0x86b90b}=_0x31f6be,_0x57ebd8=_0x347748['view']['document']['selection'];_0x2b73de=!!(_0x86b90b?.['is']('element','a')&&_0x86b90b['parent']?.['is']('element','sup')&&_0x86b90b['parent']['hasClass']('footnote'))&&_0x57ebd8['getSelectedElement']()===_0x86b90b['parent'];},{'priority':'high'}),this['listenTo'](_0x347748['view']['document'],'click',(_0x5e93bd,_0x5bdb69)=>{const {target:_0x49f8a8}=_0x5bdb69;if(!_0x49f8a8?.['is']('element','a'))return;if(_0x49f8a8['parent']?.['is']('element','sup')&&_0x49f8a8['parent']['hasClass']('footnote')&&!_0x2b73de)return void _0x5bdb69['preventDefault']();let _0x3559d5=_0x49f8a8['getAttribute']('href');if(!_0x3559d5?.['startsWith']('#'))return;_0x3559d5=_0x3559d5['slice'](0x1);let _0x3bc989=!0x1;(_0x3559d5['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3559d5['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3559d5))&&(_0x3bc989=!0x0),_0x3bc989&&(_0x5bdb69['preventDefault'](),_0x5e93bd['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x591df4}={}){return(_0x272641,{writer:_0x4c44e0})=>{if(!g(_0x272641))return null;if(!_0x591df4)return _0x4c44e0['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x177ae7=_0x4c44e0['createContainerElement']('p');return _0x4c44e0['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x177ae7),_0x177ae7;};}function g(_0x4c6522){const {parent:_0x1e6508}=_0x4c6522;if(!_0x1e6508?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1e6508['childCount'])return!0x1;for(const _0x574181 of _0x4c6522['getAttributeKeys']())if(!_0x574181['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x574181)return!0x1;return!0x0;}function v(_0x3b2a3f,_0x166db0){if(!_0x3b2a3f['is']('element','paragraph'))return!0x1;const _0x203b3d=_0x166db0['toViewElement'](_0x3b2a3f);return!!_0x203b3d&&g(_0x3b2a3f)!==_0x203b3d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1fd3c8){return _0x3426ef(_0x1fd3c8)&&_0x1fd3c8['is']('containerElement')&&!!_0x1fd3c8['getCustomProperty']('footnotesDefinitions');}function D(_0x3859a2,_0x348c62={}){const _0x4d7272=_0x3859a2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x4428fe=_0x3859a2['createContainerElement']('ol',{'class':'footnotes-list'},_0x3859a2['createSlot']());return _0x3859a2['createContainerElement']('div',{'class':'footnotes',..._0x348c62},[_0x4d7272,_0x4428fe]);}function b(_0x82fda4,_0x18fb01){const _0x299f02=_0x82fda4['getAttribute']('footnoteId'),_0x3c9d9b=_0x82fda4['getAttribute']('footnoteCounter'),_0x3ec682=_0x18fb01['createUIElement']('a',{'href':'#'+_0x299f02},function(_0x5176a6){const _0x265c96=this['toDomElement'](_0x5176a6);return _0x265c96['textContent']=_0x3c9d9b,_0x265c96;}),_0x50ac45=_0x18fb01['createContainerElement']('sup',{'id':'ref-'+_0x299f02,'class':'footnote'},[_0x3ec682]);return _0x50ac45['getFillerOffset']=()=>null,_0x50ac45;}function y(_0x3f4029,_0x3d58d9,_0x227b98,{dataPipeline:_0x5ea67f}={}){const {t:t}=_0x227b98,_0x379e9e=_0x3f4029['getAttribute']('footnoteId'),_0x7fcff8=_0x3d58d9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x379e9e},function(_0x48e1ad){const _0x1a53d=this['toDomElement'](_0x48e1ad);return _0x1a53d['innerText']='^',_0x1a53d;}),_0x446ea5=_0x5ea67f?_0x3d58d9['createContainerElement']('div',{'class':'footnote-content'}):_0x4039dc(_0x3d58d9['createEditableElement']('div',{'class':'footnote-content'}),_0x3d58d9,{'label':t('Footnote\x20content.')});return _0x3d58d9['insert'](_0x3d58d9['createPositionAt'](_0x446ea5,0x0),_0x3d58d9['createSlot']()),_0x3d58d9['createContainerElement']('li',{'class':'footnote-definition','id':_0x379e9e},[_0x7fcff8,_0x446ea5]);}
23
+ import{Plugin as _0x1d8fdd}from'ckeditor5/src/core.js';import{isWidget as _0x1070a4,toWidget as _0xf9aa84,toWidgetEditable as _0x3ceaa3}from'ckeditor5/src/widget.js';import{uid as _0xf3d927}from'ckeditor5/src/utils.js';import{PointerObserver as _0x5a6314,ClickObserver as _0x27e54d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x36d619}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x57f99e}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1d8fdd{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x36d619];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3afb05}=this;_0x3afb05['config']['define']('footnotes.multiBlock',!0x0),_0x3afb05['commands']['add']('insertFootnote',new _0x57f99e(_0x3afb05)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x2df4ed){const _0x2d2451=_0x3afa6d([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]),_0x420340=0x47a28506,_0x4db5a2=0x47a5064e^_0x420340,_0x1e783f=window[_0x3afa6d([0x44,0x61,0x74,0x65])][_0x3afa6d([0x6e,0x6f,0x77])](),_0x129695=_0x2df4ed[_0x3afa6d([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4efcee=new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2d76c7=>{_0x129695[_0x3afa6d([0x6f,0x6e,0x63,0x65])](_0x3afa6d([0x72,0x65,0x61,0x64,0x79]),_0x2d76c7);}),_0x24b0d7={[_0x3afa6d([0x6b,0x74,0x79])]:_0x3afa6d([0x45,0x43]),[_0x3afa6d([0x75,0x73,0x65])]:_0x3afa6d([0x73,0x69,0x67]),[_0x3afa6d([0x63,0x72,0x76])]:_0x3afa6d([0x50,0x2d,0x32,0x35,0x36]),[_0x3afa6d([0x78])]:_0x3afa6d([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]),[_0x3afa6d([0x79])]:_0x3afa6d([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]),[_0x3afa6d([0x61,0x6c,0x67])]:_0x3afa6d([0x45,0x53,0x32,0x35,0x36])},_0x6bdf9a=_0x129695[_0x3afa6d([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3afa6d([0x67,0x65,0x74])](_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3e42b7(){let _0x700905,_0xf0e421=null,_0x1acb15=null;try{if(_0x6bdf9a==_0x3afa6d([0x47,0x50,0x4c]))return _0x3afa6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x700905=_0x5e16e0(),!_0x700905)return _0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x700905[_0x3afa6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1acb15=_0x266f28(_0x700905[_0x3afa6d([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x700905[_0x3afa6d([0x6a,0x74,0x69])])),await _0x4ae149()?_0x34411c()?_0x79e5b4()?_0x3afa6d([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x4dcd8a()?(_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3afa6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf0e421=_0x9a4a16(_0x3afa6d([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x36c9d1()):_0x3afa6d([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3afa6d([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3afa6d([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x79e5b4(){const _0x1076ab=[_0x3afa6d([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3afa6d([0x74,0x72,0x69,0x61,0x6c])][_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1e783f/0x3e8:0xe10*_0x4db5a2;return _0x700905[_0x3afa6d([0x65,0x78,0x70])]<_0x1076ab;}function _0x34411c(){const _0x17f311=_0x700905[_0x3afa6d([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x17f311&&(!!_0x17f311[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x2a]))||!!_0x17f311[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x46,0x4f,0x4f])));}function _0x4dcd8a(){const _0x269ce1=_0x700905[_0x3afa6d([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x269ce1||0x0==_0x269ce1[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x439f2b}=new URL(window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x269ce1[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x439f2b))return!0x0;const _0x29115c=_0x439f2b[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e]));return _0x269ce1[_0x3afa6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d8a12=>_0x3d8a12[_0x3afa6d([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3afa6d([0x2a])))[_0x3afa6d([0x6d,0x61,0x70])](_0x516a6a=>_0x516a6a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e])))[_0x3afa6d([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x33a163=>_0x33a163[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x29115c[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3afa6d([0x6d,0x61,0x70])](_0x482c87=>Array(_0x29115c[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x482c87[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3afa6d([0x66,0x69,0x6c,0x6c])](_0x482c87[0x0]===_0x3afa6d([0x2a])?_0x3afa6d([0x2a]):'')[_0x3afa6d([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x482c87))[_0x3afa6d([0x73,0x6f,0x6d,0x65])](_0xed70d=>_0x29115c[_0x3afa6d([0x65,0x76,0x65,0x72,0x79])]((_0x43de92,_0x5a6a5e)=>_0xed70d[_0x5a6a5e]===_0x43de92||_0xed70d[_0x5a6a5e]===_0x3afa6d([0x2a])));}function _0x36c9d1(){return _0xf0e421&&_0x1acb15?new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2c44a4,_0x11c1ce)=>{_0xf0e421[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x2c44a4,_0x11c1ce),_0x1acb15[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x46b0bb=>{_0x46b0bb!=_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])&&_0x2c44a4(_0x46b0bb);},_0x11c1ce);}):_0xf0e421||_0x1acb15||_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]);}}function _0x266f28(_0x2ae367,_0xc872e2){return new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xe7166e=>{if(_0x35fc16())return _0xe7166e(_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]));_0xf23be7(),_0x129695[_0x3afa6d([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x419e1c=!0x1;const _0x5ebd9f=_0xf3d927();function _0x544bdc(_0x1d4744){return!!_0x1d4744&&(typeof _0x1d4744===_0x3afa6d([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1d4744===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1d4744[_0x3afa6d([0x74,0x68,0x65,0x6e])]===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1d4744[_0x3afa6d([0x63,0x61,0x74,0x63,0x68])]===_0x3afa6d([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x14c1a6(_0x37d944){_0xc3acf6(_0x37d944)[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x26d287=>{if(!_0x26d287||_0x26d287[_0x3afa6d([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3afa6d([0x6f,0x6b]))return _0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5b4d52(_0x5af276(_0x5ebd9f+_0xc872e2))!=_0x26d287[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3afa6d([0x56,0x61,0x6c,0x69,0x64]);})[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x19d39e=>(_0xa799b4(),_0x19d39e),()=>{const _0x52bb69=_0x5994eb();return null==_0x52bb69?(_0xa799b4(),_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])):_0x3afa6d(_0x1e783f-_0x52bb69>(0x63ae0106^_0x420340)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0xe7166e)[_0x3afa6d([0x63,0x61,0x74,0x63,0x68])](()=>{_0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x22ca8a=0x47946b86^_0x420340;function _0xa799b4(){const _0x42feee=_0x3afa6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b4d52(_0x5af276(_0x2ae367)),_0x570a0d=_0x1b0f5f(_0x5b4d52(window[_0x3afa6d([0x4d,0x61,0x74,0x68])][_0x3afa6d([0x63,0x65,0x69,0x6c])](_0x1e783f/_0x22ca8a)));window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3afa6d([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42feee,_0x570a0d);}function _0x5994eb(){const _0x3d8c1e=_0x3afa6d([0x6c,0x6c,0x63,0x74,0x2d])+_0x5b4d52(_0x5af276(_0x2ae367)),_0x32f78c=window[_0x3afa6d([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3afa6d([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d8c1e);return _0x32f78c?window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1b0f5f(_0x32f78c),0x10)*_0x22ca8a:null;}function _0xc3acf6(_0xb5f954){return new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3eb021,_0x32753b)=>{_0xb5f954[_0x3afa6d([0x74,0x68,0x65,0x6e])](_0x3eb021,_0x32753b),window[_0x3afa6d([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x32753b,0x47a351c6^_0x420340);});}}_0x129695[_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x28571e,_0x540a46)=>{if(_0x540a46[0x0]!=_0x2ae367)return _0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x540a46[0x1]={..._0x540a46[0x1],[_0x3afa6d([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ebd9f};},{[_0x3afa6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3afa6d([0x68,0x69,0x67,0x68])}),_0x129695[_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3447ad=>{_0x544bdc(_0x3447ad[_0x3afa6d([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x419e1c=!0x0,_0x14c1a6(_0x3447ad[_0x3afa6d([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3afa6d([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3afa6d([0x6c,0x6f,0x77])}),_0x4efcee[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>{_0x419e1c||_0xe7166e(_0x3afa6d([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x35fc16(){return _0x129695[_0x3afa6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3afa6d([0x76,0x69,0x65,0x77])][_0x3afa6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3afa6d([0x61,0x75,0x74,0x6f]);}function _0xf23be7(){_0x129695[_0x3afa6d([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3afa6d([0x76,0x69,0x65,0x77])][_0x3afa6d([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3afa6d([0x61,0x75,0x74,0x6f]);}}function _0x9a4a16(_0x2f93dd){const _0x3f7f03=[new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x566540=>setTimeout(_0x566540,0x47abbbca^_0x420340)),_0x4efcee[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x511419=>{let _0x33ee36=0x0;_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x6f,0x6e])](_0x3afa6d([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1605ad,_0x197bb7)=>{_0x197bb7[0x0][_0x3afa6d([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x33ee36++,_0x33ee36==(0x47a280ee^_0x420340)&&(_0x511419(),_0x1605ad[_0x3afa6d([0x6f,0x66,0x66])]());});}))];return window[_0x3afa6d([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3afa6d([0x72,0x61,0x63,0x65])](_0x3f7f03)[_0x3afa6d([0x74,0x68,0x65,0x6e])](()=>_0x2f93dd);}async function _0x305a46(){await _0x4efcee,_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x81c346,_0x129695[_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c])][_0x3afa6d([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x81c346,_0x129695[_0x3afa6d([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3afa6d([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x44cd78(_0x3f143c){const _0x563899=_0xf14ea9();_0x129695[_0x563899]=_0x3afa6d([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f143c,_0x3f143c!=_0x3afa6d([0x56,0x61,0x6c,0x69,0x64])&&_0x305a46();}function _0xf14ea9(){const _0x5459b4=window[_0x3afa6d([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3afa6d([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3afa6d([0x6e,0x6f,0x77])]())[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3afa6d([0x2e]),'');let _0xe214f1=_0x3afa6d([0x75]);for(let _0x48bb0a=0x0;_0x48bb0a<_0x5459b4[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x48bb0a+=0x2){let _0x951ceb=window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5459b4[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x48bb0a,_0x48bb0a+0x2));_0x951ceb>=_0x2d2451[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x951ceb-=_0x2d2451[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xe214f1+=_0x2d2451[_0x951ceb];}return _0xe214f1;}function _0x5e16e0(){const _0x273133=_0x6bdf9a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e]));if(0x3!=_0x273133[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x40c35e(_0x273133[0x1]);function _0x40c35e(_0x3d0041){const _0x4aa255=_0x396415(_0x3d0041);return _0x4aa255&&_0x2cdaed()?_0x4aa255:null;function _0x2cdaed(){const _0x15abce=_0x4aa255[_0x3afa6d([0x6a,0x74,0x69])],_0x441c74=window[_0x3afa6d([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x15abce[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x15abce[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x36c12f={..._0x4aa255,[_0x3afa6d([0x6a,0x74,0x69])]:_0x15abce[_0x3afa6d([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x15abce[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x36c12f[_0x3afa6d([0x76,0x63])],_0x5af276(_0x36c12f)==_0x441c74;}}}async function _0x4ae149(){let _0x7c577f=!0x0;try{const _0x4158ea=_0x6bdf9a[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])](_0x3afa6d([0x2e])),[_0x4991b1,_0x3ac71f,_0x424801]=_0x4158ea;return _0x214736(_0x4991b1),await _0x5c1b0a(_0x4991b1,_0x3ac71f,_0x424801),_0x7c577f;}catch{return!0x1;}function _0x214736(_0x312c13){const _0x48b7e7=_0x396415(_0x312c13);_0x48b7e7&&_0x48b7e7[_0x3afa6d([0x61,0x6c,0x67])]==_0x3afa6d([0x45,0x53,0x32,0x35,0x36])||(_0x7c577f=!0x1);}async function _0x5c1b0a(_0x56e1a0,_0x21cc68,_0x28de89){const _0x2ce685=window[_0x3afa6d([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3afa6d([0x66,0x72,0x6f,0x6d])](_0xee2fb2(_0x28de89),_0x3da96f=>_0x3da96f[_0x3afa6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x274e57=new window[(_0x3afa6d([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3afa6d([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x56e1a0+_0x3afa6d([0x2e])+_0x21cc68),_0x214b49=window[_0x3afa6d([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3afa6d([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x214b49)return;const _0x272bfd=await _0x214b49[_0x3afa6d([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3afa6d([0x6a,0x77,0x6b]),_0x24b0d7,{[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x45,0x43,0x44,0x53,0x41]),[_0x3afa6d([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3afa6d([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x214b49[_0x3afa6d([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x45,0x43,0x44,0x53,0x41]),[_0x3afa6d([0x68,0x61,0x73,0x68])]:{[_0x3afa6d([0x6e,0x61,0x6d,0x65])]:_0x3afa6d([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x272bfd,_0x2ce685,_0x274e57)||(_0x7c577f=!0x1);}}function _0x396415(_0x228a8a){return _0x228a8a[_0x3afa6d([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3afa6d([0x65,0x79]))?JSON[_0x3afa6d([0x70,0x61,0x72,0x73,0x65])](_0xee2fb2(_0x228a8a)):null;}function _0xee2fb2(_0x4a83aa){return window[_0x3afa6d([0x61,0x74,0x6f,0x62])](_0x4a83aa[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3afa6d([0x2b]))[_0x3afa6d([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3afa6d([0x2f])));}function _0x5af276(_0x2b65a5){let _0x413cd5=0x1505;function _0x3ff44e(_0x3437e6){for(let _0x2a3d71=0x0;_0x2a3d71<_0x3437e6[_0x3afa6d([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2a3d71++){const _0x25ed99=_0x3437e6[_0x3afa6d([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2a3d71);_0x413cd5=(_0x413cd5<<0x5)+_0x413cd5+_0x25ed99,_0x413cd5&=_0x413cd5;}}function _0x5c30a0(_0x310c07){Array[_0x3afa6d([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x310c07)?_0x310c07[_0x3afa6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x5c30a0):_0x310c07&&typeof _0x310c07==_0x3afa6d([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3afa6d([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x310c07)[_0x3afa6d([0x73,0x6f,0x72,0x74])]()[_0x3afa6d([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x132a77,_0x579fdc])=>{_0x3ff44e(_0x132a77),_0x5c30a0(_0x579fdc);}):_0x3ff44e(window[_0x3afa6d([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x310c07));}return _0x5c30a0(_0x2b65a5),_0x413cd5>>>0x0;}function _0x5b4d52(_0x33313c){return _0x33313c[_0x3afa6d([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3afa6d([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3afa6d([0x30]));}function _0x1b0f5f(_0x22ddba){return _0x22ddba[_0x3afa6d([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3afa6d([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3afa6d([0x6a,0x6f,0x69,0x6e])]('');}function _0x81c346(){}function _0x3afa6d(_0xc6aa69){return _0xc6aa69['map'](_0x41719b=>String['fromCharCode'](_0x41719b))['join']('');}_0x44cd78(await _0x3e42b7());}(this);}['_moveSelectionToFootnoteDefinition'](_0x31052b){const {plugins:_0x51f0c3,editing:_0x11b119,model:_0xb73233}=this['editor'],_0xed0e6e=_0x51f0c3['get'](_0x36d619)['getFootnote'](_0x31052b);return!!_0xed0e6e&&(_0xb73233['change'](_0x51181d=>{_0x51181d['setSelection'](_0x51181d['createPositionAt'](_0xed0e6e['definition'],'end'));}),_0x11b119['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x259a10){const {plugins:_0x45c6c2,editing:_0x3b941c,model:_0x5181c5}=this['editor'],_0x1a3d7e=_0x45c6c2['get'](_0x36d619)['getFootnote'](_0x259a10);return!!_0x1a3d7e&&(_0x5181c5['change'](_0x140f8a=>{_0x140f8a['setSelection'](_0x1a3d7e['reference'],'on');}),_0x3b941c['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x56f4ef}=this['editor']['model'],_0x592d83=this['editor']['config']['get']('footnotes.multiBlock');_0x56f4ef['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x56f4ef['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x56f4ef['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x592d83?_0x56f4ef['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x56f4ef['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x56f4ef['addChildCheck'](_0x530246=>{for(const _0x27e8e8 of _0x530246)if('footnoteDefinition'===_0x27e8e8['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x358bcb}=this,{conversion:_0x180387,editing:_0x1184a4}=_0x358bcb,{t:t}=_0x358bcb['locale'];_0x180387['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x425b03,{writer:_0x5b182b,consumable:_0x4b1de3})=>{const _0x24db5a=_0x425b03['getChild'](0x0);if(!_0x24db5a||!_0x24db5a['is']('element','a'))return null;const _0x3ca536=_0x24db5a['getAttribute']('href')||'';if(!_0x3ca536['startsWith']('#'))return null;const _0xbc126d=_0x3ca536['replace'](/^#/,'');if(!_0xbc126d)return null;_0x4b1de3['consume'](_0x24db5a,{'name':!0x0,'attributes':['href']});for(const {item:_0x255298}of _0x1184a4['view']['createRangeIn'](_0x24db5a))_0x255298['is']('$textProxy')?_0x4b1de3['consume'](_0x255298['textNode'],{'name':!0x0}):_0x255298['is']('element')&&_0x4b1de3['consume'](_0x255298,{'name':!0x0});return _0x5b182b['createElement']('footnoteRef',{'footnoteId':_0xbc126d});}}),_0x180387['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x36dabe,{writer:_0x31db3d})=>b(_0x36dabe,_0x31db3d)}),_0x180387['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2226a1,{writer:_0x576424})=>{const _0x232720=_0x2226a1['getAttribute']('footnoteCounter');return _0xf9aa84(b(_0x2226a1,_0x576424),_0x576424,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x232720)});}});}['_defineDefinitionsConverters'](){const {editor:_0x58e1aa}=this,{t:t}=_0x58e1aa['locale'],{conversion:_0x2c5da4}=_0x58e1aa;_0x2c5da4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x2c5da4['for']('upcast')['add'](_0x1e0714=>{_0x1e0714['on']('element:ol',(_0x9f927b,_0x38af10,_0x35c6df)=>{const _0xa189a1=_0x38af10['viewItem'];if(!_0xa189a1['hasClass']('footnotes-list')||!_0x38af10['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x35c6df['consumable']['consume'](_0xa189a1,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x48cbd8,modelCursor:_0x428d78}=_0x35c6df['convertChildren'](_0x38af10['viewItem'],_0x38af10['modelCursor']);_0x38af10['modelRange']=_0x48cbd8,_0x38af10['modelCursor']=_0x428d78;}),_0x1e0714['on']('element:hr',(_0xf3b12e,_0x48f007,_0x55baea)=>{const _0x133788=_0x48f007['viewItem'];_0x133788['hasClass']('footnotes-divider')&&_0x48f007['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x55baea['consumable']['consume'](_0x133788,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x2c5da4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x501d7c,{writer:_0x4a0829})=>D(_0x4a0829)}),_0x2c5da4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xedd8e4,{writer:_0x410a1e})=>{const _0x512fb1=D(_0x410a1e,{'data-footnotes-list-label':t('Footnotes')}),_0x59192d=_0xf9aa84(_0x512fb1,_0x410a1e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x410a1e['setCustomProperty']('footnotesDefinitions',!0x0,_0x59192d),_0x59192d;}});}['_defineDefinitionConverters'](){const {editor:_0x194058}=this,{conversion:_0x10c8c,locale:_0x4ff828}=_0x194058,_0x31155f=_0x194058['config']['get']('footnotes.multiBlock');_0x10c8c['for']('upcast')['add'](_0x1f6e98=>{_0x1f6e98['on']('element:li',(_0x29790c,_0x312d7b,_0x443d93)=>{const _0x5cd2fb=_0x312d7b['viewItem'];if(!_0x5cd2fb['hasClass']('footnote-definition')||!_0x5cd2fb['getAttribute']('id'))return;const _0x52d83d=_0x5cd2fb['parent'];if(!_0x52d83d['is']('element','ol')||!_0x52d83d['hasClass']('footnotes-list'))return;if(!_0x443d93['consumable']['test'](_0x5cd2fb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x2db475=_0x443d93['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5cd2fb['getAttribute']('id')});if(!_0x443d93['safeInsert'](_0x2db475,_0x312d7b['modelCursor']))return;_0x443d93['consumable']['consume'](_0x5cd2fb,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x49123e=Array['from'](_0x5cd2fb['getChildren']())['find'](_0x499ced=>_0x499ced['is']('element')&&_0x499ced['hasClass']('footnote-content'));for(const _0x12380c of _0x5cd2fb['getChildren']())_0x12380c['is']('element')&&(_0x443d93['consumable']['consume'](_0x12380c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x443d93['consumable']['consume'](_0x12380c,{'name':!0x0,'classes':'footnote-content'}));if(_0x49123e){if(_0x31155f)_0x443d93['convertChildren'](_0x49123e,_0x2db475);else{const _0x2fd35f=_0x443d93['writer']['createElement']('footnoteInlineContent');_0x443d93['writer']['insert'](_0x2fd35f,_0x2db475),_0x443d93['convertChildren'](_0x49123e,_0x2fd35f);}}_0x443d93['updateConversionResult'](_0x2db475,_0x312d7b);});}),_0x10c8c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5e0ec6,{writer:_0x56de7a})=>y(_0x5e0ec6,_0x56de7a,_0x4ff828,{'dataPipeline':!0x0})}),_0x10c8c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x26f3e0,{writer:_0x342f62})=>y(_0x26f3e0,_0x342f62,_0x4ff828)});}['_defineBogusParagraphConverters'](){const {editor:_0x516676}=this,{conversion:_0x2b8541}=_0x516676;_0x516676['config']['get']('footnotes.multiBlock')?(_0x2b8541['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2b8541['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x516676['model']['document'],'change:data',()=>{!function(_0x2bc3f6,_0x572e7a){const _0x21bd70=_0x2bc3f6['document']['differ'],_0x57d14b=new Set();for(const _0x161e15 of _0x21bd70['getChanges']()){const _0x388531='attribute'==_0x161e15['type']?_0x161e15['range']['start']['parent']:_0x161e15['position']['parent'];_0x388531['is']('element','footnoteDefinition')&&_0x57d14b['add'](_0x388531);}for(const _0x3fce6c of _0x57d14b['values']()){const _0x11b106=Array['from'](_0x3fce6c['getChildren']())['filter'](_0x167370=>v(_0x167370,_0x572e7a['mapper']));for(const _0x56895d of _0x11b106)_0x572e7a['reconvertItem'](_0x56895d);}}(_0x516676['model'],_0x516676['editing']);})):(_0x2b8541['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2b8541['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x536abb,{writer:_0x4b2676})=>{const _0x571a63=_0x4b2676['createContainerElement']('span');return _0x4b2676['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x571a63),_0x571a63;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2d42c2}=this,{editing:_0x315b07,t:t}=_0x2d42c2,_0x84c1a9=_0x2d42c2['model']['document']['selection'];_0x2d42c2['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2d42c2['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x315b07['view']['document'],'enter',(_0x416d4c,_0x144272)=>{const _0xc243ce=function(_0x1aac36){const _0x2c5df1=_0x1aac36['getSelectedElement']();if(_0x2c5df1?.['is']('element','footnoteRef'))return _0x2c5df1;return null;}(_0x84c1a9);if(_0xc243ce){const _0x410937=_0xc243ce['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x410937),_0x144272['preventDefault'](),_0x416d4c['stop']();}},{'context':_0x1070a4});}['_defineClickHandlers'](){const {editor:_0x43acff}=this,{editing:_0x4acee1}=_0x43acff;_0x43acff['editing']['view']['addObserver'](_0x5a6314),_0x43acff['editing']['view']['addObserver'](_0x27e54d);let _0x40d920=!0x1;this['listenTo'](_0x4acee1['view']['document'],'pointerdown',(_0x535097,_0x32177e)=>{const {target:_0x364be1}=_0x32177e,_0x5e69d2=_0x4acee1['view']['document']['selection'];_0x40d920=!!(_0x364be1?.['is']('element','a')&&_0x364be1['parent']?.['is']('element','sup')&&_0x364be1['parent']['hasClass']('footnote'))&&_0x5e69d2['getSelectedElement']()===_0x364be1['parent'];},{'priority':'high'}),this['listenTo'](_0x4acee1['view']['document'],'click',(_0x4c73b1,_0x373465)=>{const {target:_0x417540}=_0x373465;if(!_0x417540?.['is']('element','a'))return;if(_0x417540['parent']?.['is']('element','sup')&&_0x417540['parent']['hasClass']('footnote')&&!_0x40d920)return void _0x373465['preventDefault']();let _0x19e80b=_0x417540['getAttribute']('href');if(!_0x19e80b?.['startsWith']('#'))return;_0x19e80b=_0x19e80b['slice'](0x1);let _0x4bf3d9=!0x1;(_0x19e80b['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x19e80b['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x19e80b))&&(_0x4bf3d9=!0x0),_0x4bf3d9&&(_0x373465['preventDefault'](),_0x4c73b1['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x4b6338}={}){return(_0x3ee708,{writer:_0x5cd803})=>{if(!g(_0x3ee708))return null;if(!_0x4b6338)return _0x5cd803['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2afeb2=_0x5cd803['createContainerElement']('p');return _0x5cd803['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2afeb2),_0x2afeb2;};}function g(_0x5da730){const {parent:_0xd3cfcb}=_0x5da730;if(!_0xd3cfcb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xd3cfcb['childCount'])return!0x1;for(const _0x4eb0bb of _0x5da730['getAttributeKeys']())if(!_0x4eb0bb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4eb0bb)return!0x1;return!0x0;}function v(_0x5eb880,_0x1ede2b){if(!_0x5eb880['is']('element','paragraph'))return!0x1;const _0x492f06=_0x1ede2b['toViewElement'](_0x5eb880);return!!_0x492f06&&g(_0x5eb880)!==_0x492f06['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x41a41b){return _0x1070a4(_0x41a41b)&&_0x41a41b['is']('containerElement')&&!!_0x41a41b['getCustomProperty']('footnotesDefinitions');}function D(_0x50d3f2,_0x22b47a={}){const _0x4df4dd=_0x50d3f2['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xcbd9c1=_0x50d3f2['createContainerElement']('ol',{'class':'footnotes-list'},_0x50d3f2['createSlot']());return _0x50d3f2['createContainerElement']('div',{'class':'footnotes',..._0x22b47a},[_0x4df4dd,_0xcbd9c1]);}function b(_0x270420,_0x40c903){const _0x57497d=_0x270420['getAttribute']('footnoteId'),_0x132a76=_0x270420['getAttribute']('footnoteCounter'),_0x353863=_0x40c903['createUIElement']('a',{'href':'#'+_0x57497d},function(_0x2beacf){const _0x2bbabd=this['toDomElement'](_0x2beacf);return _0x2bbabd['textContent']=_0x132a76,_0x2bbabd;}),_0x50f14a=_0x40c903['createContainerElement']('sup',{'id':'ref-'+_0x57497d,'class':'footnote'},[_0x353863]);return _0x50f14a['getFillerOffset']=()=>null,_0x50f14a;}function y(_0x46a886,_0x233c3a,_0x37bb27,{dataPipeline:_0x23302c}={}){const {t:t}=_0x37bb27,_0x429dc3=_0x46a886['getAttribute']('footnoteId'),_0x9e6d0=_0x233c3a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x429dc3},function(_0x5e34c8){const _0x4e21e0=this['toDomElement'](_0x5e34c8);return _0x4e21e0['innerText']='^',_0x4e21e0;}),_0xbd97c3=_0x23302c?_0x233c3a['createContainerElement']('div',{'class':'footnote-content'}):_0x3ceaa3(_0x233c3a['createEditableElement']('div',{'class':'footnote-content'}),_0x233c3a,{'label':t('Footnote\x20content.')});return _0x233c3a['insert'](_0x233c3a['createPositionAt'](_0xbd97c3,0x0),_0x233c3a['createSlot']()),_0x233c3a['createContainerElement']('li',{'class':'footnote-definition','id':_0x429dc3},[_0x9e6d0,_0xbd97c3]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3bc5b7=_0x37f1;(function(_0x21d1b5,_0x32c93d){const _0x53867a=_0x37f1,_0x2b70f2=_0x21d1b5();while(!![]){try{const _0x1cfd90=-parseInt(_0x53867a(0x79))/0x1+parseInt(_0x53867a(0x82))/0x2+-parseInt(_0x53867a(0x78))/0x3+parseInt(_0x53867a(0x7c))/0x4*(-parseInt(_0x53867a(0x7a))/0x5)+parseInt(_0x53867a(0x89))/0x6+parseInt(_0x53867a(0x80))/0x7*(parseInt(_0x53867a(0x75))/0x8)+parseInt(_0x53867a(0x86))/0x9;if(_0x1cfd90===_0x32c93d)break;else _0x2b70f2['push'](_0x2b70f2['shift']());}catch(_0x2c2418){_0x2b70f2['push'](_0x2b70f2['shift']());}}}(_0x1a11,0xd0970));import{Command as _0x46cfa2}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x170e08}from'../../footnotestracker.js';function _0x37f1(_0x5513a0,_0x23e12a){const _0x1a11e0=_0x1a11();return _0x37f1=function(_0x37f18b,_0xc33217){_0x37f18b=_0x37f18b-0x74;let _0x3e68ad=_0x1a11e0[_0x37f18b];return _0x3e68ad;},_0x37f1(_0x5513a0,_0x23e12a);}export class FootnotesStartCommand extends _0x46cfa2{[_0x3bc5b7(0x84)](){const _0x581f8a=_0x3bc5b7,{editor:_0xbf948d}=this,_0x7d91d=_0xbf948d[_0x581f8a(0x7f)][_0x581f8a(0x7d)](_0x170e08)[_0x581f8a(0x7e)]();this[_0x581f8a(0x76)]=!!_0x7d91d,this[_0x581f8a(0x7b)]=_0x7d91d?.[_0x581f8a(0x83)](_0x581f8a(0x88))??null;}[_0x3bc5b7(0x87)]({value:_0x3da66d}){const _0x28552d=_0x3bc5b7,{editor:_0x22c054}=this,_0x26e54e=_0x22c054[_0x28552d(0x7f)][_0x28552d(0x7d)](_0x170e08),_0x231ded=_0x26e54e[_0x28552d(0x7e)]();_0x231ded&&Number[_0x28552d(0x85)](_0x3da66d)&&_0x22c054[_0x28552d(0x74)][_0x28552d(0x77)](_0x39af80=>{const _0x12760c=_0x28552d;_0x39af80[_0x12760c(0x81)](_0x12760c(0x88),_0x3da66d,_0x231ded),_0x26e54e[_0x12760c(0x8a)](_0x39af80);});}}function _0x1a11(){const _0x450662=['2551545CuXvLA','value','8iUHZHa','get','getFootnotesDefinitionsObjectElement','plugins','5642CvNgIw','setAttribute','1245530kbaSMI','getAttribute','refresh','isInteger','5997609ThQOHI','execute','footnotesListStart','1158438FXFQyr','_updateFootnotesCounters','model','11576SuyjzE','isEnabled','change','1399131bGFIZO','307142RudAhX'];_0x1a11=function(){return _0x450662;};return _0x1a11();}
23
+ function _0x27ad(){const _0x1b2c18=['13179720vIYKWX','7048735zHxksC','setAttribute','getAttribute','isEnabled','4074kCwVtQ','isInteger','18992ByGMkd','193038KIVtyU','change','_updateFootnotesCounters','plugins','value','8352144QOpSuZ','footnotesListStart','10tIWjuO','execute','model','refresh','413194RUMrdg','get','22eRxLtS','1512004ozsTPg','6nOyOwW','getFootnotesDefinitionsObjectElement'];_0x27ad=function(){return _0x1b2c18;};return _0x27ad();}const _0x4a221f=_0x5613;(function(_0x322fde,_0x5e0851){const _0x5d21bb=_0x5613,_0x5846c8=_0x322fde();while(!![]){try{const _0x5228e1=-parseInt(_0x5d21bb(0xec))/0x1+parseInt(_0x5d21bb(0xe8))/0x2*(-parseInt(_0x5d21bb(0xe1))/0x3)+parseInt(_0x5d21bb(0xd6))/0x4+parseInt(_0x5d21bb(0xda))/0x5*(parseInt(_0x5d21bb(0xd7))/0x6)+parseInt(_0x5d21bb(0xde))/0x7*(parseInt(_0x5d21bb(0xe0))/0x8)+parseInt(_0x5d21bb(0xe6))/0x9+parseInt(_0x5d21bb(0xd9))/0xa*(-parseInt(_0x5d21bb(0xee))/0xb);if(_0x5228e1===_0x5e0851)break;else _0x5846c8['push'](_0x5846c8['shift']());}catch(_0x350dc1){_0x5846c8['push'](_0x5846c8['shift']());}}}(_0x27ad,0xb1624));function _0x5613(_0xb0c18b,_0x23f3a1){const _0x27adff=_0x27ad();return _0x5613=function(_0x561338,_0x469955){_0x561338=_0x561338-0xd6;let _0xa77388=_0x27adff[_0x561338];return _0xa77388;},_0x5613(_0xb0c18b,_0x23f3a1);}import{Command as _0x15dc80}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x432167}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x15dc80{[_0x4a221f(0xeb)](){const _0x2e7fba=_0x4a221f,{editor:_0x1b82f9}=this,_0x5ddfa8=_0x1b82f9[_0x2e7fba(0xe4)][_0x2e7fba(0xed)](_0x432167)[_0x2e7fba(0xd8)]();this[_0x2e7fba(0xdd)]=!!_0x5ddfa8,this[_0x2e7fba(0xe5)]=_0x5ddfa8?.[_0x2e7fba(0xdc)](_0x2e7fba(0xe7))??null;}[_0x4a221f(0xe9)]({value:_0x1a45cc}){const _0x41f1f8=_0x4a221f,{editor:_0x3ffa36}=this,_0x66e292=_0x3ffa36[_0x41f1f8(0xe4)][_0x41f1f8(0xed)](_0x432167),_0x4ac141=_0x66e292[_0x41f1f8(0xd8)]();_0x4ac141&&Number[_0x41f1f8(0xdf)](_0x1a45cc)&&_0x3ffa36[_0x41f1f8(0xea)][_0x41f1f8(0xe2)](_0x513310=>{const _0xab0ea8=_0x41f1f8;_0x513310[_0xab0ea8(0xdb)](_0xab0ea8(0xe7),_0x1a45cc,_0x4ac141),_0x66e292[_0xab0ea8(0xe3)](_0x513310);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2fc1(_0x33edd0,_0xaa7f8d){const _0x96a3be=_0x96a3();return _0x2fc1=function(_0x2fc1ce,_0x3cb9bf){_0x2fc1ce=_0x2fc1ce-0x1b7;let _0x455e99=_0x96a3be[_0x2fc1ce];return _0x455e99;},_0x2fc1(_0x33edd0,_0xaa7f8d);}const _0x8122b8=_0x2fc1;(function(_0x4d6ff8,_0x687e7a){const _0x16e54a=_0x2fc1,_0x4eff0d=_0x4d6ff8();while(!![]){try{const _0x436886=-parseInt(_0x16e54a(0x1bc))/0x1+-parseInt(_0x16e54a(0x1d0))/0x2*(-parseInt(_0x16e54a(0x1bd))/0x3)+parseInt(_0x16e54a(0x1cf))/0x4*(-parseInt(_0x16e54a(0x1b9))/0x5)+-parseInt(_0x16e54a(0x1ce))/0x6*(parseInt(_0x16e54a(0x1c4))/0x7)+-parseInt(_0x16e54a(0x1c5))/0x8*(parseInt(_0x16e54a(0x1c1))/0x9)+-parseInt(_0x16e54a(0x1cd))/0xa*(-parseInt(_0x16e54a(0x1be))/0xb)+parseInt(_0x16e54a(0x1bb))/0xc;if(_0x436886===_0x687e7a)break;else _0x4eff0d['push'](_0x4eff0d['shift']());}catch(_0x531e59){_0x4eff0d['push'](_0x4eff0d['shift']());}}}(_0x96a3,0x6b648));import{Command as _0x30cbe5}from'ckeditor5/src/core.js';function _0x96a3(){const _0x21a92e=['11VmqNRw','execute','setAttribute','477rYhBFu','getFootnotesDefinitionsObjectElement','get','5607826thKDFb','89224yyMqep','includes','model','_updateFootnotesCounters','getAttribute','isEnabled','value','plugins','200210zCHDKF','6pSuqHe','2505292ZBRHPm','839710oSnYfF','change','refresh','5dADnMw','footnotesListStyle','25820364RUKirZ','133143ZwLdpA','3tgvCAf'];_0x96a3=function(){return _0x21a92e;};return _0x96a3();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x4e1201}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3d8313}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x30cbe5{[_0x8122b8(0x1b8)](){const _0x5f4744=_0x8122b8,{editor:_0x430563}=this,_0x409e19=_0x430563[_0x5f4744(0x1cc)][_0x5f4744(0x1c3)](_0x3d8313)[_0x5f4744(0x1c2)]();this[_0x5f4744(0x1ca)]=!!_0x409e19,this[_0x5f4744(0x1cb)]=_0x409e19?.[_0x5f4744(0x1c9)](_0x5f4744(0x1ba))??null;}[_0x8122b8(0x1bf)]({value:_0x1ab1d6}){const _0xe03197=_0x8122b8,{editor:_0x2091e8}=this,_0x509037=_0x2091e8[_0xe03197(0x1cc)][_0xe03197(0x1c3)](_0x3d8313),_0x15079c=_0x509037[_0xe03197(0x1c2)]();_0x15079c&&_0x4e1201[_0xe03197(0x1c6)](_0x1ab1d6)&&_0x2091e8[_0xe03197(0x1c7)][_0xe03197(0x1b7)](_0x1d5ca6=>{const _0x2bfcdb=_0xe03197;_0x1d5ca6[_0x2bfcdb(0x1c0)](_0x2bfcdb(0x1ba),_0x1ab1d6,_0x15079c),_0x509037[_0x2bfcdb(0x1c8)](_0x1d5ca6);});}}
23
+ const _0x3802c2=_0x2c88;(function(_0x375f89,_0x552533){const _0x3b3d8f=_0x2c88,_0x51a3d3=_0x375f89();while(!![]){try{const _0x26ed88=-parseInt(_0x3b3d8f(0x1f5))/0x1*(-parseInt(_0x3b3d8f(0x1f8))/0x2)+parseInt(_0x3b3d8f(0x205))/0x3*(parseInt(_0x3b3d8f(0x1fa))/0x4)+parseInt(_0x3b3d8f(0x206))/0x5*(parseInt(_0x3b3d8f(0x203))/0x6)+-parseInt(_0x3b3d8f(0x204))/0x7+-parseInt(_0x3b3d8f(0x1ef))/0x8+parseInt(_0x3b3d8f(0x1fe))/0x9+parseInt(_0x3b3d8f(0x1f0))/0xa;if(_0x26ed88===_0x552533)break;else _0x51a3d3['push'](_0x51a3d3['shift']());}catch(_0x5ce262){_0x51a3d3['push'](_0x51a3d3['shift']());}}}(_0x37d8,0x5fcaf));function _0x2c88(_0x4535be,_0x2e7eab){const _0x37d88f=_0x37d8();return _0x2c88=function(_0x2c8865,_0x50b8c7){_0x2c8865=_0x2c8865-0x1ef;let _0x244713=_0x37d88f[_0x2c8865];return _0x244713;},_0x2c88(_0x4535be,_0x2e7eab);}function _0x37d8(){const _0x16cb52=['plugins','model','1292206MqaOvb','value','236036ZQOfXa','includes','getFootnotesDefinitionsObjectElement','get','4913955PhCWBo','execute','footnotesListStyle','setAttribute','isEnabled','6654kbwdeK','4425120FPXvRI','3sYNBmU','20KIlaXj','3887088dQGect','2548700eYWYap','change','_updateFootnotesCounters','getAttribute','refresh','1LoVQhA'];_0x37d8=function(){return _0x16cb52;};return _0x37d8();}import{Command as _0x387cd9}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x2f5cb4}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0xba80d7}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x387cd9{[_0x3802c2(0x1f4)](){const _0xbcfcb7=_0x3802c2,{editor:_0x3a06b9}=this,_0x2f2003=_0x3a06b9[_0xbcfcb7(0x1f6)][_0xbcfcb7(0x1fd)](_0xba80d7)[_0xbcfcb7(0x1fc)]();this[_0xbcfcb7(0x202)]=!!_0x2f2003,this[_0xbcfcb7(0x1f9)]=_0x2f2003?.[_0xbcfcb7(0x1f3)](_0xbcfcb7(0x200))??null;}[_0x3802c2(0x1ff)]({value:_0xce905d}){const _0x47e6d6=_0x3802c2,{editor:_0x17593c}=this,_0x50f348=_0x17593c[_0x47e6d6(0x1f6)][_0x47e6d6(0x1fd)](_0xba80d7),_0x37375b=_0x50f348[_0x47e6d6(0x1fc)]();_0x37375b&&_0x2f5cb4[_0x47e6d6(0x1fb)](_0xce905d)&&_0x17593c[_0x47e6d6(0x1f7)][_0x47e6d6(0x1f1)](_0x3e4441=>{const _0x1a2e14=_0x47e6d6;_0x3e4441[_0x1a2e14(0x201)](_0x1a2e14(0x200),_0xce905d,_0x37375b),_0x50f348[_0x1a2e14(0x1f2)](_0x3e4441);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29f5ab=_0x4600;function _0x4600(_0xec20a6,_0x1b649f){const _0x53dee1=_0x53de();return _0x4600=function(_0x4600bc,_0x3012a8){_0x4600bc=_0x4600bc-0x136;let _0x28bf03=_0x53dee1[_0x4600bc];return _0x28bf03;},_0x4600(_0xec20a6,_0x1b649f);}(function(_0x491afe,_0x8fce7b){const _0x20db93=_0x4600,_0x3a8622=_0x491afe();while(!![]){try{const _0x87cf00=parseInt(_0x20db93(0x141))/0x1+-parseInt(_0x20db93(0x137))/0x2+-parseInt(_0x20db93(0x13d))/0x3+parseInt(_0x20db93(0x13c))/0x4*(-parseInt(_0x20db93(0x142))/0x5)+parseInt(_0x20db93(0x145))/0x6*(-parseInt(_0x20db93(0x143))/0x7)+-parseInt(_0x20db93(0x139))/0x8+parseInt(_0x20db93(0x13b))/0x9*(parseInt(_0x20db93(0x144))/0xa);if(_0x87cf00===_0x8fce7b)break;else _0x3a8622['push'](_0x3a8622['shift']());}catch(_0x1f4b03){_0x3a8622['push'](_0x3a8622['shift']());}}}(_0x53de,0xebc9e));function _0x53de(){const _0xd4d170=['21fyPkfE','52416870ShsNrK','1108626yVhrBJ','upper-alpha','decimal','lower-roman','3406794SLiQPx','upper-latin','7300960uBlTsl','lower-alpha','9jezgnj','332onvwLS','3542901psKJuJ','upper-roman','lower-latin','decimal-leading-zero','1811345PGcHJW','104575fbOnHM'];_0x53de=function(){return _0xd4d170;};return _0x53de();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x29f5ab(0x147),_0x29f5ab(0x140),_0x29f5ab(0x13f),_0x29f5ab(0x138),_0x29f5ab(0x13a),_0x29f5ab(0x146),_0x29f5ab(0x136),_0x29f5ab(0x13e)];
23
+ const _0x2805e4=_0x151f;function _0x151f(_0x111d5c,_0x45b4f4){const _0x8965ef=_0x8965();return _0x151f=function(_0x151f57,_0x169399){_0x151f57=_0x151f57-0x1b5;let _0x30d739=_0x8965ef[_0x151f57];return _0x30d739;},_0x151f(_0x111d5c,_0x45b4f4);}(function(_0x2e7d67,_0x413d5f){const _0x51a947=_0x151f,_0x55f719=_0x2e7d67();while(!![]){try{const _0x286a28=-parseInt(_0x51a947(0x1b9))/0x1+parseInt(_0x51a947(0x1c6))/0x2+parseInt(_0x51a947(0x1c5))/0x3*(parseInt(_0x51a947(0x1c1))/0x4)+parseInt(_0x51a947(0x1bd))/0x5*(parseInt(_0x51a947(0x1b7))/0x6)+-parseInt(_0x51a947(0x1bc))/0x7+-parseInt(_0x51a947(0x1c0))/0x8*(parseInt(_0x51a947(0x1c4))/0x9)+parseInt(_0x51a947(0x1b5))/0xa*(-parseInt(_0x51a947(0x1ba))/0xb);if(_0x286a28===_0x413d5f)break;else _0x55f719['push'](_0x55f719['shift']());}catch(_0x2cf557){_0x55f719['push'](_0x55f719['shift']());}}}(_0x8965,0x2898a));function _0x8965(){const _0x58431b=['618170rYoajm','decimal-leading-zero','10UBOHnp','decimal','38124mwjdko','upper-latin','64373htYVLb','150777MAzOBc','lower-alpha','172172mULuIx','45CFzKjM','upper-roman','upper-alpha','8ORatjE','968VaToUO','lower-latin','lower-roman','1450809FUKmcd','792vDmEsu'];_0x8965=function(){return _0x58431b;};return _0x8965();}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2805e4(0x1b6),_0x2805e4(0x1c7),_0x2805e4(0x1c2),_0x2805e4(0x1b8),_0x2805e4(0x1bb),_0x2805e4(0x1bf),_0x2805e4(0x1c3),_0x2805e4(0x1be)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4989(_0x3e2c7f,_0xd8107){const _0x264c09=_0x264c();return _0x4989=function(_0x498981,_0x38a306){_0x498981=_0x498981-0x11e;let _0x28ffd5=_0x264c09[_0x498981];return _0x28ffd5;},_0x4989(_0x3e2c7f,_0xd8107);}const _0x17f1f1=_0x4989;(function(_0x5926fa,_0x2a134a){const _0x47612a=_0x4989,_0x2f327e=_0x5926fa();while(!![]){try{const _0x9eee6a=parseInt(_0x47612a(0x12e))/0x1+-parseInt(_0x47612a(0x12d))/0x2*(-parseInt(_0x47612a(0x17f))/0x3)+-parseInt(_0x47612a(0x175))/0x4+parseInt(_0x47612a(0x148))/0x5+parseInt(_0x47612a(0x12b))/0x6+-parseInt(_0x47612a(0x139))/0x7+parseInt(_0x47612a(0x131))/0x8*(parseInt(_0x47612a(0x147))/0x9);if(_0x9eee6a===_0x2a134a)break;else _0x2f327e['push'](_0x2f327e['shift']());}catch(_0x3dd47b){_0x2f327e['push'](_0x2f327e['shift']());}}}(_0x264c,0xd576e));import{Plugin as _0xc082ea}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2fda31}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x426672}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x50d6bd}from'../footnotestracker.js';import{FootnotesEditing as _0x23c94a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xc082ea{static get[_0x17f1f1(0x13d)](){const _0x195854=_0x17f1f1;return _0x195854(0x11e);}static get[_0x17f1f1(0x126)](){return[_0x23c94a,_0x50d6bd];}static get[_0x17f1f1(0x125)](){return!0x0;}static get[_0x17f1f1(0x134)](){return!0x0;}[_0x17f1f1(0x17c)](){const _0x5cda35=_0x17f1f1,{editor:_0xca2e7e}=this;_0xca2e7e[_0x5cda35(0x121)][_0x5cda35(0x140)](_0x5cda35(0x159),_0x5cda35(0x157)),_0xca2e7e[_0x5cda35(0x121)][_0x5cda35(0x140)](_0x5cda35(0x138),0x1),_0xca2e7e[_0x5cda35(0x160)][_0x5cda35(0x133)](_0x5cda35(0x164),new _0x2fda31(_0xca2e7e)),_0xca2e7e[_0x5cda35(0x160)][_0x5cda35(0x133)](_0x5cda35(0x152),new _0x426672(_0xca2e7e)),this[_0x5cda35(0x13e)](),this[_0x5cda35(0x151)](),this[_0x5cda35(0x149)](),this[_0x5cda35(0x14f)]();}[_0x17f1f1(0x13e)](){const _0x421ffe=_0x17f1f1,{editor:_0x1810af}=this,{schema:_0xb552c5}=_0x1810af[_0x421ffe(0x16b)];_0xb552c5[_0x421ffe(0x14a)](_0x421ffe(0x171),{'allowAttributes':[_0x421ffe(0x165),_0x421ffe(0x13b)]});}[_0x17f1f1(0x151)](){const _0x798e7c=_0x17f1f1,{editor:_0x4a0fbd}=this,{conversion:_0x47c3e7,model:_0x519363}=_0x4a0fbd,{schema:_0x59d197}=_0x519363;_0x47c3e7[_0x798e7c(0x142)](_0x798e7c(0x181))[_0x798e7c(0x133)](_0x360115=>{const _0x2f8bba=_0x798e7c;_0x360115['on'](_0x2f8bba(0x179),(_0x6668db,_0x4bec6a,_0x4e8930)=>{const _0x43f7e5=_0x2f8bba,_0xc8b668=_0x4bec6a[_0x43f7e5(0x14e)],_0x50ca9c=_0x4bec6a[_0x43f7e5(0x14d)]?.[_0x43f7e5(0x172)];_0xc8b668[_0x43f7e5(0x124)](_0x43f7e5(0x17a))&&_0x50ca9c?.['is'](_0x43f7e5(0x170),_0x43f7e5(0x171))&&(function(_0x53e58e,_0x2c5f3c,_0x4ab3b5,_0x314fa7){const _0x3ab352=_0x43f7e5;if(!_0x314fa7[_0x3ab352(0x146)](_0x2c5f3c,_0x3ab352(0x13b)))return;let _0x4c33e5=0x1;const _0x43e6d9=_0x4ab3b5[_0x3ab352(0x17e)][_0x3ab352(0x15d)](_0x53e58e,{'attributes':_0x3ab352(0x16d)});if(_0x43e6d9){const _0x2a76fd=Number[_0x3ab352(0x144)](_0x53e58e[_0x3ab352(0x11f)](_0x3ab352(0x16d)),0xa);Number[_0x3ab352(0x158)](_0x2a76fd)||(_0x4c33e5=_0x2a76fd);}!_0x43e6d9&&_0x2c5f3c[_0x3ab352(0x130)](_0x3ab352(0x13b))||_0x4ab3b5[_0x3ab352(0x174)][_0x3ab352(0x17d)](_0x3ab352(0x13b),_0x4c33e5,_0x2c5f3c);}(_0xc8b668,_0x50ca9c,_0x4e8930,_0x59d197),function(_0x2d0cc8,_0x38af3c,_0x4c8041,_0x53a2cd){const _0x3579f0=_0x43f7e5;if(!_0x53a2cd[_0x3579f0(0x146)](_0x38af3c,_0x3579f0(0x165)))return;let _0x56d123=_0x3579f0(0x157),_0xac0378=!0x1;if(_0x4c8041[_0x3579f0(0x17e)][_0x3579f0(0x15d)](_0x2d0cc8,{'attributes':_0x3579f0(0x120)})){const _0x294e26={0x1:_0x3579f0(0x157),'a':_0x3579f0(0x156),'A':_0x3579f0(0x123),'i':_0x3579f0(0x15e),'I':_0x3579f0(0x177)}[_0x2d0cc8[_0x3579f0(0x11f)](_0x3579f0(0x120))];_0x294e26&&(_0x56d123=_0x294e26),_0xac0378=!0x0;}_0x4c8041[_0x3579f0(0x17e)][_0x3579f0(0x15d)](_0x2d0cc8,{'styles':_0x3579f0(0x143)})&&(_0x56d123=function(_0x4f07b9){const _0x6b44de=_0x3579f0;switch(_0x4f07b9){case _0x6b44de(0x156):return _0x6b44de(0x161);case _0x6b44de(0x123):return _0x6b44de(0x129);default:return _0x4f07b9;}}(_0x2d0cc8[_0x3579f0(0x150)](_0x3579f0(0x143))),_0xac0378=!0x0),!_0xac0378&&_0x38af3c[_0x3579f0(0x130)](_0x3579f0(0x165))||_0x4c8041[_0x3579f0(0x174)][_0x3579f0(0x17d)](_0x3579f0(0x165),_0x56d123,_0x38af3c);}(_0xc8b668,_0x50ca9c,_0x4e8930,_0x59d197));});}),_0x47c3e7[_0x798e7c(0x142)](_0x798e7c(0x154))[_0x798e7c(0x133)](_0x217888=>{const _0xa1b5ef=_0x798e7c;_0x217888['on'](_0xa1b5ef(0x162),(_0x2cc09c,_0x25ee43,_0x158943)=>{const _0x1bf353=_0xa1b5ef;if(!_0x158943[_0x1bf353(0x17e)][_0x1bf353(0x15d)](_0x25ee43[_0x1bf353(0x12f)],_0x2cc09c[_0x1bf353(0x136)]))return;const _0x6bf7fa=M(_0x25ee43[_0x1bf353(0x12f)],_0x158943[_0x1bf353(0x128)]),{attributeNewValue:_0x3187ef}=_0x25ee43;null==_0x3187ef||0x1===_0x3187ef?_0x158943[_0x1bf353(0x174)][_0x1bf353(0x166)](_0x1bf353(0x16d),_0x6bf7fa):_0x158943[_0x1bf353(0x174)][_0x1bf353(0x17d)](_0x1bf353(0x16d),String(_0x3187ef),_0x6bf7fa);}),_0x217888['on'](_0xa1b5ef(0x132),(_0x2f4a3c,_0x3ba2a0,_0x589287)=>{const _0x36118d=_0xa1b5ef;if(!_0x589287[_0x36118d(0x17e)][_0x36118d(0x15d)](_0x3ba2a0[_0x36118d(0x12f)],_0x2f4a3c[_0x36118d(0x136)]))return;const _0x862f66=M(_0x3ba2a0[_0x36118d(0x12f)],_0x589287[_0x36118d(0x128)]),{attributeNewValue:_0x28358f}=_0x3ba2a0;_0x28358f&&_0x36118d(0x157)!==_0x28358f?_0x589287[_0x36118d(0x174)][_0x36118d(0x178)](_0x36118d(0x143),_0x28358f,_0x862f66):_0x589287[_0x36118d(0x174)][_0x36118d(0x167)](_0x36118d(0x143),_0x862f66);});});}[_0x17f1f1(0x14f)](){const _0x555529=_0x17f1f1,{editor:_0xfaceb1}=this,{model:_0x3a561e}=_0xfaceb1,_0x5c8ae4=_0xfaceb1[_0x555529(0x14b)][_0x555529(0x145)](_0x50d6bd),_0x1ecb2f=this[_0x555529(0x127)](),_0x4ccf28=this[_0x555529(0x137)]();_0x3a561e[_0x555529(0x15b)][_0x555529(0x16e)](_0x1aebb1=>{const _0x23a685=_0x555529,_0x4df72d=_0x3a561e[_0x23a685(0x15b)][_0x23a685(0x141)][_0x23a685(0x155)]();let _0x2b8d3d=!0x1;for(const _0x5cb5da of _0x4df72d){if(_0x23a685(0x16c)!==_0x5cb5da[_0x23a685(0x120)]||_0x23a685(0x176)===_0x5cb5da[_0x23a685(0x136)])continue;const _0x2b9075=_0x3a561e[_0x23a685(0x168)](_0x5cb5da[_0x23a685(0x17b)][_0x23a685(0x15a)]);for(const _0x5c9a13 of _0x2b9075[_0x23a685(0x15c)]())_0x5c9a13['is'](_0x23a685(0x170),_0x23a685(0x171))&&(!_0x5c9a13[_0x23a685(0x130)](_0x23a685(0x13b))&&_0x3a561e[_0x23a685(0x122)][_0x23a685(0x146)](_0x5c9a13,_0x23a685(0x13b))&&(_0x1aebb1[_0x23a685(0x17d)](_0x23a685(0x13b),_0x4ccf28,_0x5c9a13),_0x2b8d3d=!0x0),!_0x5c9a13[_0x23a685(0x130)](_0x23a685(0x165))&&_0x3a561e[_0x23a685(0x122)][_0x23a685(0x146)](_0x5c9a13,_0x23a685(0x165))&&(_0x1aebb1[_0x23a685(0x17d)](_0x23a685(0x165),_0x1ecb2f,_0x5c9a13),_0x2b8d3d=!0x0));}return _0x2b8d3d&&_0x5c8ae4[_0x23a685(0x163)](_0x1aebb1),_0x2b8d3d;});}[_0x17f1f1(0x149)](){const _0x107681=_0x17f1f1,{editor:_0x554879}=this;_0x554879[_0x107681(0x14b)][_0x107681(0x145)](_0x50d6bd)[_0x107681(0x173)](_0x1cc8d2=>this[_0x107681(0x13a)](_0x1cc8d2));}[_0x17f1f1(0x127)](){const _0x17498c=_0x17f1f1;return this[_0x17498c(0x12a)][_0x17498c(0x121)][_0x17498c(0x145)](_0x17498c(0x159));}[_0x17f1f1(0x137)](){const _0x6c2e0d=_0x17f1f1;return this[_0x6c2e0d(0x12a)][_0x6c2e0d(0x121)][_0x6c2e0d(0x145)](_0x6c2e0d(0x138));}[_0x17f1f1(0x13a)]({container:_0x3a7d8c,value:_0x43a11c,digits:_0x4b34f9}){const _0x3871c4=_0x17f1f1,_0x347496=_0x3a7d8c[_0x3871c4(0x11f)](_0x3871c4(0x165)),_0x47724d=_0x3a7d8c[_0x3871c4(0x11f)](_0x3871c4(0x13b)),_0x222f50=Math[_0x3871c4(0x135)](_0x43a11c)+(_0x47724d??0x1)-0x1;switch(_0x347496){case _0x3871c4(0x14c):return function(_0x2c7b7b,_0x5a548e){const _0x41f422=_0x3871c4;return String(_0x2c7b7b)[_0x41f422(0x153)](_0x5a548e,'0');}(_0x222f50,Math[_0x3871c4(0x16a)](0x2,_0x4b34f9));case _0x3871c4(0x156):case _0x3871c4(0x161):return N(_0x222f50,!0x1);case _0x3871c4(0x123):case _0x3871c4(0x129):return N(_0x222f50,!0x0);case _0x3871c4(0x15e):return X(_0x222f50,!0x1);case _0x3871c4(0x177):return X(_0x222f50,!0x0);default:return String(_0x222f50);}}}function M(_0xc72808,_0x35ded1){const _0x244158=_0x17f1f1,_0x37800e=_0x35ded1[_0x244158(0x13f)](_0xc72808);return Array[_0x244158(0x15f)](_0x37800e[_0x244158(0x13c)]())[_0x244158(0x169)](_0x27be08=>_0x27be08['is'](_0x244158(0x170),'ol')&&_0x27be08[_0x244158(0x124)](_0x244158(0x17a)));}function _0x264c(){const _0xf4705b=['_updateFootnotesCounters','footnotesStyle','footnotesListStyle','removeAttribute','removeStyle','createRangeOn','find','max','model','insert','start','registerPostFixer','toUpperCase','element','footnotesDefinitions','parent','setFootnoteFormatter','writer','6679404GELUOx','$text','upper-roman','setStyle','element:ol','footnotes-list','position','init','setAttribute','consumable','537oRdPcq','toLowerCase','upcast','FootnotesPropertiesEditing','getAttribute','type','config','schema','upper-alpha','hasClass','isOfficialPlugin','requires','_getDefaultListStyle','mapper','upper-latin','editor','521286iwUdCn','fromCharCode','2962ZGKRIK','1585250CQUCuj','item','hasAttribute','24swaEkh','attribute:footnotesListStyle:footnotesDefinitions','add','isPremiumPlugin','floor','name','_getDefaultStartIndex','footnotes.footnotesProperties.defaultStartIndex','3588242pbjcKE','_formatFootnoteListValue','footnotesListStart','getChildren','pluginName','_defineSchema','toViewElement','define','differ','for','list-style-type','parseInt','get','checkAttribute','1327761SrnMVT','3384950SZwuFr','_defineFormatter','extend','plugins','decimal-leading-zero','modelCursor','viewItem','_definePostfixer','getStyle','_defineConverters','footnotesStart','padStart','downcast','getChanges','lower-alpha','decimal','isNaN','footnotes.footnotesProperties.defaultListStyle','nodeAfter','document','getItems','consume','lower-roman','from','commands','lower-latin','attribute:footnotesListStart:footnotesDefinitions'];_0x264c=function(){return _0xf4705b;};return _0x264c();}function N(_0x1d6e32,_0x42288a){const _0x360ee9=_0x17f1f1;let _0x258c4f='',_0x96532=_0x1d6e32;for(;_0x96532>0x0;){const _0x28790a=(_0x96532-0x1)%0x1a;_0x258c4f=String[_0x360ee9(0x12c)](0x61+_0x28790a)+_0x258c4f,_0x96532=Math[_0x360ee9(0x135)]((_0x96532-0x1)/0x1a);}return _0x42288a?_0x258c4f[_0x360ee9(0x16f)]():_0x258c4f;}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(_0x3462b0,_0x3ffdbc){const _0x37aac5=_0x17f1f1;let _0x200714='',_0x2f8758=_0x3462b0;for(const {value:_0x569fa4,numeral:_0xc16bd0}of V)for(;_0x2f8758>=_0x569fa4;)_0x200714+=_0xc16bd0,_0x2f8758-=_0x569fa4;return _0x3ffdbc?_0x200714:_0x200714[_0x37aac5(0x180)]();}
23
+ const _0x1a45e0=_0x5448;(function(_0x74db3e,_0x4d26c5){const _0x4ce636=_0x5448,_0x403a07=_0x74db3e();while(!![]){try{const _0x4d5556=-parseInt(_0x4ce636(0x1ce))/0x1+-parseInt(_0x4ce636(0x1e1))/0x2*(parseInt(_0x4ce636(0x1b7))/0x3)+parseInt(_0x4ce636(0x1c5))/0x4+-parseInt(_0x4ce636(0x205))/0x5+-parseInt(_0x4ce636(0x1ea))/0x6*(parseInt(_0x4ce636(0x1b9))/0x7)+parseInt(_0x4ce636(0x200))/0x8+parseInt(_0x4ce636(0x1f4))/0x9;if(_0x4d5556===_0x4d26c5)break;else _0x403a07['push'](_0x403a07['shift']());}catch(_0x1b1622){_0x403a07['push'](_0x403a07['shift']());}}}(_0x47d7,0x93c5f));import{Plugin as _0x197623}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1cd289}from'./commands/footnotesstylecommand.js';function _0x47d7(){const _0x149ef7=['fromCharCode','checkAttribute','_updateFootnotesCounters','position','lower-latin','18yxCgQG','upper-latin','110033QWvDMe','define','for','removeAttribute','getChildren','_defineConverters','_defineFormatter','toViewElement','schema','footnotes.footnotesProperties.defaultListStyle','add','$text','411728vWUgVO','parseInt','downcast','get','config','getStyle','name','start','requires','135456QHsEEx','isOfficialPlugin','model','find','footnotesStyle','footnotes.footnotesProperties.defaultStartIndex','init','_formatFootnoteListValue','type','pluginName','footnotes-list','attribute:footnotesListStyle:footnotesDefinitions','lower-alpha','isPremiumPlugin','list-style-type','_getDefaultListStyle','insert','max','nodeAfter','14984hiKElc','document','from','_getDefaultStartIndex','viewItem','commands','hasClass','getChanges','padStart','66MzylIo','footnotesListStart','element:ol','setAttribute','differ','lower-roman','element','modelCursor','removeStyle','getItems','3050010wSPXHT','upper-alpha','consume','item','writer','getAttribute','isNaN','setStyle','attribute:footnotesListStart:footnotesDefinitions','toLowerCase','footnotesListStyle','upper-roman','5914776pEyGwk','_definePostfixer','mapper','decimal','consumable','1112865RRsdLp','registerPostFixer','FootnotesPropertiesEditing','plugins','decimal-leading-zero','editor','extend','createRangeOn','hasAttribute','_defineSchema','floor','parent','toUpperCase','footnotesStart','upcast','footnotesDefinitions','setFootnoteFormatter'];_0x47d7=function(){return _0x149ef7;};return _0x47d7();}import{FootnotesStartCommand as _0x241ec9}from'./commands/footnotesstartcommand.js';function _0x5448(_0x1036e9,_0x213837){const _0x47d75e=_0x47d7();return _0x5448=function(_0x5448a5,_0x123509){_0x5448a5=_0x5448a5-0x1b1;let _0x47babe=_0x47d75e[_0x5448a5];return _0x47babe;},_0x5448(_0x1036e9,_0x213837);}import{FootnotesTracker as _0x3b1484}from'../footnotestracker.js';import{FootnotesEditing as _0x1d2e67}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x197623{static get[_0x1a45e0(0x1d7)](){const _0x32b764=_0x1a45e0;return _0x32b764(0x207);}static get[_0x1a45e0(0x1cd)](){return[_0x1d2e67,_0x3b1484];}static get[_0x1a45e0(0x1cf)](){return!0x0;}static get[_0x1a45e0(0x1db)](){return!0x0;}[_0x1a45e0(0x1d4)](){const _0x581999=_0x1a45e0,{editor:_0x115f86}=this;_0x115f86[_0x581999(0x1c9)][_0x581999(0x1ba)](_0x581999(0x1c2),_0x581999(0x203)),_0x115f86[_0x581999(0x1c9)][_0x581999(0x1ba)](_0x581999(0x1d3),0x1),_0x115f86[_0x581999(0x1e6)][_0x581999(0x1c3)](_0x581999(0x1d2),new _0x1cd289(_0x115f86)),_0x115f86[_0x581999(0x1e6)][_0x581999(0x1c3)](_0x581999(0x212),new _0x241ec9(_0x115f86)),this[_0x581999(0x20e)](),this[_0x581999(0x1be)](),this[_0x581999(0x1bf)](),this[_0x581999(0x201)]();}[_0x1a45e0(0x20e)](){const _0xc90631=_0x1a45e0,{editor:_0x5270e3}=this,{schema:_0x339c47}=_0x5270e3[_0xc90631(0x1d0)];_0x339c47[_0xc90631(0x20b)](_0xc90631(0x214),{'allowAttributes':[_0xc90631(0x1fe),_0xc90631(0x1eb)]});}[_0x1a45e0(0x1be)](){const _0x2ff8a0=_0x1a45e0,{editor:_0x58b96f}=this,{conversion:_0x421cf4,model:_0x239659}=_0x58b96f,{schema:_0x5a57f9}=_0x239659;_0x421cf4[_0x2ff8a0(0x1bb)](_0x2ff8a0(0x213))[_0x2ff8a0(0x1c3)](_0x2b3607=>{const _0x51f13f=_0x2ff8a0;_0x2b3607['on'](_0x51f13f(0x1ec),(_0x5f4a1a,_0x3fdea0,_0x30b436)=>{const _0x22deb4=_0x51f13f,_0x3f3a0d=_0x3fdea0[_0x22deb4(0x1e5)],_0x2a3e5c=_0x3fdea0[_0x22deb4(0x1f1)]?.[_0x22deb4(0x210)];_0x3f3a0d[_0x22deb4(0x1e7)](_0x22deb4(0x1d8))&&_0x2a3e5c?.['is'](_0x22deb4(0x1f0),_0x22deb4(0x214))&&(function(_0x4cb9e5,_0x2e6fca,_0x2111f1,_0x8505b){const _0xa43c04=_0x22deb4;if(!_0x8505b[_0xa43c04(0x1b3)](_0x2e6fca,_0xa43c04(0x1eb)))return;let _0x3d2593=0x1;const _0x3a8d49=_0x2111f1[_0xa43c04(0x204)][_0xa43c04(0x1f6)](_0x4cb9e5,{'attributes':_0xa43c04(0x1cc)});if(_0x3a8d49){const _0x1cf8e6=Number[_0xa43c04(0x1c6)](_0x4cb9e5[_0xa43c04(0x1f9)](_0xa43c04(0x1cc)),0xa);Number[_0xa43c04(0x1fa)](_0x1cf8e6)||(_0x3d2593=_0x1cf8e6);}!_0x3a8d49&&_0x2e6fca[_0xa43c04(0x20d)](_0xa43c04(0x1eb))||_0x2111f1[_0xa43c04(0x1f8)][_0xa43c04(0x1ed)](_0xa43c04(0x1eb),_0x3d2593,_0x2e6fca);}(_0x3f3a0d,_0x2a3e5c,_0x30b436,_0x5a57f9),function(_0xfebcd1,_0x31b6fd,_0x47a7a3,_0x452b7d){const _0x3d93c1=_0x22deb4;if(!_0x452b7d[_0x3d93c1(0x1b3)](_0x31b6fd,_0x3d93c1(0x1fe)))return;let _0x4aa776=_0x3d93c1(0x203),_0x15b787=!0x1;if(_0x47a7a3[_0x3d93c1(0x204)][_0x3d93c1(0x1f6)](_0xfebcd1,{'attributes':_0x3d93c1(0x1d6)})){const _0x1078a2={0x1:_0x3d93c1(0x203),'a':_0x3d93c1(0x1da),'A':_0x3d93c1(0x1f5),'i':_0x3d93c1(0x1ef),'I':_0x3d93c1(0x1ff)}[_0xfebcd1[_0x3d93c1(0x1f9)](_0x3d93c1(0x1d6))];_0x1078a2&&(_0x4aa776=_0x1078a2),_0x15b787=!0x0;}_0x47a7a3[_0x3d93c1(0x204)][_0x3d93c1(0x1f6)](_0xfebcd1,{'styles':_0x3d93c1(0x1dc)})&&(_0x4aa776=function(_0x1a9341){const _0x2b8f65=_0x3d93c1;switch(_0x1a9341){case _0x2b8f65(0x1da):return _0x2b8f65(0x1b6);case _0x2b8f65(0x1f5):return _0x2b8f65(0x1b8);default:return _0x1a9341;}}(_0xfebcd1[_0x3d93c1(0x1ca)](_0x3d93c1(0x1dc))),_0x15b787=!0x0),!_0x15b787&&_0x31b6fd[_0x3d93c1(0x20d)](_0x3d93c1(0x1fe))||_0x47a7a3[_0x3d93c1(0x1f8)][_0x3d93c1(0x1ed)](_0x3d93c1(0x1fe),_0x4aa776,_0x31b6fd);}(_0x3f3a0d,_0x2a3e5c,_0x30b436,_0x5a57f9));});}),_0x421cf4[_0x2ff8a0(0x1bb)](_0x2ff8a0(0x1c7))[_0x2ff8a0(0x1c3)](_0x937fda=>{const _0x2c23f6=_0x2ff8a0;_0x937fda['on'](_0x2c23f6(0x1fc),(_0x3e6854,_0x4202d7,_0x401a93)=>{const _0x5a09ae=_0x2c23f6;if(!_0x401a93[_0x5a09ae(0x204)][_0x5a09ae(0x1f6)](_0x4202d7[_0x5a09ae(0x1f7)],_0x3e6854[_0x5a09ae(0x1cb)]))return;const _0x59b4b1=M(_0x4202d7[_0x5a09ae(0x1f7)],_0x401a93[_0x5a09ae(0x202)]),{attributeNewValue:_0x554099}=_0x4202d7;null==_0x554099||0x1===_0x554099?_0x401a93[_0x5a09ae(0x1f8)][_0x5a09ae(0x1bc)](_0x5a09ae(0x1cc),_0x59b4b1):_0x401a93[_0x5a09ae(0x1f8)][_0x5a09ae(0x1ed)](_0x5a09ae(0x1cc),String(_0x554099),_0x59b4b1);}),_0x937fda['on'](_0x2c23f6(0x1d9),(_0x3e758c,_0x12330f,_0x2d6b1d)=>{const _0x46ec6a=_0x2c23f6;if(!_0x2d6b1d[_0x46ec6a(0x204)][_0x46ec6a(0x1f6)](_0x12330f[_0x46ec6a(0x1f7)],_0x3e758c[_0x46ec6a(0x1cb)]))return;const _0x20a05c=M(_0x12330f[_0x46ec6a(0x1f7)],_0x2d6b1d[_0x46ec6a(0x202)]),{attributeNewValue:_0x4d1233}=_0x12330f;_0x4d1233&&_0x46ec6a(0x203)!==_0x4d1233?_0x2d6b1d[_0x46ec6a(0x1f8)][_0x46ec6a(0x1fb)](_0x46ec6a(0x1dc),_0x4d1233,_0x20a05c):_0x2d6b1d[_0x46ec6a(0x1f8)][_0x46ec6a(0x1f2)](_0x46ec6a(0x1dc),_0x20a05c);});});}[_0x1a45e0(0x201)](){const _0x709493=_0x1a45e0,{editor:_0x356712}=this,{model:_0x421938}=_0x356712,_0x22c93d=_0x356712[_0x709493(0x208)][_0x709493(0x1c8)](_0x3b1484),_0x1a60af=this[_0x709493(0x1dd)](),_0x5e0396=this[_0x709493(0x1e4)]();_0x421938[_0x709493(0x1e2)][_0x709493(0x206)](_0x492e53=>{const _0x1e7ac9=_0x709493,_0x53d1b3=_0x421938[_0x1e7ac9(0x1e2)][_0x1e7ac9(0x1ee)][_0x1e7ac9(0x1e8)]();let _0x168003=!0x1;for(const _0x52caa9 of _0x53d1b3){if(_0x1e7ac9(0x1de)!==_0x52caa9[_0x1e7ac9(0x1d6)]||_0x1e7ac9(0x1c4)===_0x52caa9[_0x1e7ac9(0x1cb)])continue;const _0x57e421=_0x421938[_0x1e7ac9(0x20c)](_0x52caa9[_0x1e7ac9(0x1b5)][_0x1e7ac9(0x1e0)]);for(const _0x40bbb8 of _0x57e421[_0x1e7ac9(0x1f3)]())_0x40bbb8['is'](_0x1e7ac9(0x1f0),_0x1e7ac9(0x214))&&(!_0x40bbb8[_0x1e7ac9(0x20d)](_0x1e7ac9(0x1eb))&&_0x421938[_0x1e7ac9(0x1c1)][_0x1e7ac9(0x1b3)](_0x40bbb8,_0x1e7ac9(0x1eb))&&(_0x492e53[_0x1e7ac9(0x1ed)](_0x1e7ac9(0x1eb),_0x5e0396,_0x40bbb8),_0x168003=!0x0),!_0x40bbb8[_0x1e7ac9(0x20d)](_0x1e7ac9(0x1fe))&&_0x421938[_0x1e7ac9(0x1c1)][_0x1e7ac9(0x1b3)](_0x40bbb8,_0x1e7ac9(0x1fe))&&(_0x492e53[_0x1e7ac9(0x1ed)](_0x1e7ac9(0x1fe),_0x1a60af,_0x40bbb8),_0x168003=!0x0));}return _0x168003&&_0x22c93d[_0x1e7ac9(0x1b4)](_0x492e53),_0x168003;});}[_0x1a45e0(0x1bf)](){const _0x197cd4=_0x1a45e0,{editor:_0x204e77}=this;_0x204e77[_0x197cd4(0x208)][_0x197cd4(0x1c8)](_0x3b1484)[_0x197cd4(0x1b1)](_0x5ab18b=>this[_0x197cd4(0x1d5)](_0x5ab18b));}[_0x1a45e0(0x1dd)](){const _0x561070=_0x1a45e0;return this[_0x561070(0x20a)][_0x561070(0x1c9)][_0x561070(0x1c8)](_0x561070(0x1c2));}[_0x1a45e0(0x1e4)](){const _0x38be07=_0x1a45e0;return this[_0x38be07(0x20a)][_0x38be07(0x1c9)][_0x38be07(0x1c8)](_0x38be07(0x1d3));}[_0x1a45e0(0x1d5)]({container:_0x3e7331,value:_0x4f53d5,digits:_0x52421c}){const _0x42bf26=_0x1a45e0,_0xf4f3e2=_0x3e7331[_0x42bf26(0x1f9)](_0x42bf26(0x1fe)),_0x178095=_0x3e7331[_0x42bf26(0x1f9)](_0x42bf26(0x1eb)),_0x3fe2c5=Math[_0x42bf26(0x20f)](_0x4f53d5)+(_0x178095??0x1)-0x1;switch(_0xf4f3e2){case _0x42bf26(0x209):return function(_0x265704,_0x878f94){const _0x3ad6ba=_0x42bf26;return String(_0x265704)[_0x3ad6ba(0x1e9)](_0x878f94,'0');}(_0x3fe2c5,Math[_0x42bf26(0x1df)](0x2,_0x52421c));case _0x42bf26(0x1da):case _0x42bf26(0x1b6):return N(_0x3fe2c5,!0x1);case _0x42bf26(0x1f5):case _0x42bf26(0x1b8):return N(_0x3fe2c5,!0x0);case _0x42bf26(0x1ef):return X(_0x3fe2c5,!0x1);case _0x42bf26(0x1ff):return X(_0x3fe2c5,!0x0);default:return String(_0x3fe2c5);}}}function M(_0x521eb4,_0x546453){const _0x1d4970=_0x1a45e0,_0x3f0bb6=_0x546453[_0x1d4970(0x1c0)](_0x521eb4);return Array[_0x1d4970(0x1e3)](_0x3f0bb6[_0x1d4970(0x1bd)]())[_0x1d4970(0x1d1)](_0x5849b9=>_0x5849b9['is'](_0x1d4970(0x1f0),'ol')&&_0x5849b9[_0x1d4970(0x1e7)](_0x1d4970(0x1d8)));}function N(_0xa5a0ce,_0x187476){const _0x341439=_0x1a45e0;let _0x811e3b='',_0x5b5fc9=_0xa5a0ce;for(;_0x5b5fc9>0x0;){const _0xd9c699=(_0x5b5fc9-0x1)%0x1a;_0x811e3b=String[_0x341439(0x1b2)](0x61+_0xd9c699)+_0x811e3b,_0x5b5fc9=Math[_0x341439(0x20f)]((_0x5b5fc9-0x1)/0x1a);}return _0x187476?_0x811e3b[_0x341439(0x211)]():_0x811e3b;}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(_0x3e8a65,_0x5bdb58){const _0x500692=_0x1a45e0;let _0x4c9db8='',_0x41d0a2=_0x3e8a65;for(const {value:_0x30cb3b,numeral:_0x18292a}of V)for(;_0x41d0a2>=_0x30cb3b;)_0x4c9db8+=_0x18292a,_0x41d0a2-=_0x30cb3b;return _0x5bdb58?_0x4c9db8:_0x4c9db8[_0x500692(0x1fd)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x2d8827,ButtonView as _0x15c54a,ContextualBalloon as _0x526695,createDropdown as _0xecb450}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x17be0d}from'ckeditor5/src/widget.js';import{Plugin as _0x5b9177}from'ckeditor5/src/core.js';import{IconFootnote as _0x2eda12,IconListStyleDecimal as _0x168563,IconListStyleDecimalLeadingZero as _0x5adf6b,IconListStyleLowerLatin as _0x59e2d8,IconListStyleLowerRoman as _0x1c3f26,IconListStyleUpperLatin as _0xf30fe5,IconListStyleUpperRoman as _0x4ca6df}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x37479d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1c3b88}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5b9177{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x526695,_0x17be0d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xdd1965}=this,{componentFactory:_0xfc16bb}=_0xdd1965['ui'];_0xdd1965['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xfc16bb['add']('footnotesStyle',function(_0x3bcf00){return _0x22724e=>{const {t:t}=_0x22724e,_0x252ec2=_0x3bcf00['commands']['get']('footnotesStyle'),_0x35a0e9=_0xecb450(_0x22724e),{buttonView:_0xa1d8c}=_0x35a0e9;return _0x35a0e9['class']='ck-footnotes-styles-dropdown',_0x35a0e9['bind']('isEnabled')['to'](_0x252ec2,'isEnabled'),_0xa1d8c['set']({'label':t('Footnotes\x20style'),'icon':_0x2eda12,'tooltip':!0x0}),_0x35a0e9['once']('change:isOpen',()=>{const _0x514630=function({editor:_0x10dec6,dropdownView:_0x27ff8c}){const {t:t}=_0x10dec6['locale'],_0x2e3c82=t('Footnotes\x20definitions\x20styles'),_0x40284b=function(_0x3fdaa8){const t=_0x3fdaa8['locale']['t'],_0x4a3e6a=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x168563},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5adf6b},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1c3f26},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4ca6df},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x59e2d8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xf30fe5}];return _0x4a3e6a['map'](function(_0x1230de){const _0x3f84f6=_0x1230de['locale'];return({label:_0x4b8c1b,icon:_0x6c5a16,tooltip:_0xc365fd,style:_0x44099c})=>{const _0x147812=_0x1230de['commands']['get']('footnotesStyle'),_0x3fce85=new _0x15c54a(_0x3f84f6);return _0x3fce85['set']({'label':_0x4b8c1b,'icon':_0x6c5a16,'tooltip':_0xc365fd}),_0x3fce85['bind']('isOn')['to'](_0x147812,'value',_0x24470a=>_0x24470a===_0x44099c),_0x3fce85['bind']('isEnabled')['to'](_0x147812,'isEnabled'),_0x3fce85['on']('execute',()=>{_0x1230de['execute']('footnotesStyle',{'value':_0x44099c}),_0x1230de['editing']['view']['focus']();}),_0x3fce85;};}(_0x3fdaa8));}(_0x10dec6),_0x39ccc6=new _0x37479d(_0x10dec6['locale'],{'styleGridAriaLabel':_0x2e3c82,'styleButtonViews':_0x40284b}),_0x3712ee=_0x10dec6['commands']['get']('footnotesStart');return _0x39ccc6['startIndexFieldView']['bind']('isEnabled')['to'](_0x3712ee),_0x39ccc6['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3712ee),_0x39ccc6['on']('footnotesListStart',(_0x1b63ec,_0x2d3ade)=>{_0x10dec6['execute']('footnotesStart',{'value':_0x2d3ade['startIndex']});}),_0x39ccc6['delegate']('execute')['to'](_0x27ff8c),_0x39ccc6;}({'editor':_0x3bcf00,'dropdownView':_0x35a0e9});_0x35a0e9['panelView']['children']['add'](_0x514630);}),_0x35a0e9;};}(_0xdd1965));}['afterInit'](){const {editor:_0x755160}=this,{t:t}=_0x755160['locale'],_0x48f36f=_0x755160['plugins']['get'](_0x17be0d),{defaultPositions:_0x4a02ab}=_0x2d8827;_0x48f36f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x755160['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x399a22=>{let _0xb4308e=_0x399a22['getFirstPosition']()?.['parent'];return _0xb4308e?.['is']('$text')&&(_0xb4308e=_0xb4308e['parent']),_0xb4308e?.['is']('element')?_0xb4308e['findAncestor'](_0x1c3b88):null;},'positions':[_0x4a02ab['southArrowNorth'],_0x4a02ab['southArrowNorthMiddleWest'],_0x4a02ab['southArrowNorthMiddleEast'],_0x4a02ab['southArrowNorthWest'],_0x4a02ab['southArrowNorthEast'],_0x4a02ab['northArrowSouth'],_0x4a02ab['northArrowSouthMiddleWest'],_0x4a02ab['northArrowSouthMiddleEast'],_0x4a02ab['northArrowSouthWest'],_0x4a02ab['northArrowSouthEast'],_0x4a02ab['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x221874,ButtonView as _0x9dfec1,ContextualBalloon as _0x36b4d2,createDropdown as _0x3521f8}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x55ab29}from'ckeditor5/src/widget.js';import{Plugin as _0xa7a56c}from'ckeditor5/src/core.js';import{IconFootnote as _0x5ac279,IconListStyleDecimal as _0x136b19,IconListStyleDecimalLeadingZero as _0x584a8f,IconListStyleLowerLatin as _0xf8ce,IconListStyleLowerRoman as _0x28b056,IconListStyleUpperLatin as _0xb3265,IconListStyleUpperRoman as _0x1b825b}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5dc32c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1314c9}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xa7a56c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x36b4d2,_0x55ab29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf3a158}=this,{componentFactory:_0x438fb5}=_0xf3a158['ui'];_0xf3a158['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x438fb5['add']('footnotesStyle',function(_0x5850b5){return _0x4a889e=>{const {t:t}=_0x4a889e,_0x5e5907=_0x5850b5['commands']['get']('footnotesStyle'),_0x3e95a8=_0x3521f8(_0x4a889e),{buttonView:_0x37d21a}=_0x3e95a8;return _0x3e95a8['class']='ck-footnotes-styles-dropdown',_0x3e95a8['bind']('isEnabled')['to'](_0x5e5907,'isEnabled'),_0x37d21a['set']({'label':t('Footnotes\x20style'),'icon':_0x5ac279,'tooltip':!0x0}),_0x3e95a8['once']('change:isOpen',()=>{const _0x21f4c1=function({editor:_0x4b7ed8,dropdownView:_0x2851f5}){const {t:t}=_0x4b7ed8['locale'],_0x2cb478=t('Footnotes\x20definitions\x20styles'),_0x1757a4=function(_0x30a3f4){const t=_0x30a3f4['locale']['t'],_0x6123f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x136b19},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x584a8f},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x28b056},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1b825b},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xf8ce},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0xb3265}];return _0x6123f['map'](function(_0x4b2f65){const _0x287b6b=_0x4b2f65['locale'];return({label:_0x52e5a8,icon:_0x1c49f6,tooltip:_0x3feb2f,style:_0x5a39e4})=>{const _0x149993=_0x4b2f65['commands']['get']('footnotesStyle'),_0x2cc858=new _0x9dfec1(_0x287b6b);return _0x2cc858['set']({'label':_0x52e5a8,'icon':_0x1c49f6,'tooltip':_0x3feb2f}),_0x2cc858['bind']('isOn')['to'](_0x149993,'value',_0x2b42d8=>_0x2b42d8===_0x5a39e4),_0x2cc858['bind']('isEnabled')['to'](_0x149993,'isEnabled'),_0x2cc858['on']('execute',()=>{_0x4b2f65['execute']('footnotesStyle',{'value':_0x5a39e4}),_0x4b2f65['editing']['view']['focus']();}),_0x2cc858;};}(_0x30a3f4));}(_0x4b7ed8),_0x4dd3e1=new _0x5dc32c(_0x4b7ed8['locale'],{'styleGridAriaLabel':_0x2cb478,'styleButtonViews':_0x1757a4}),_0x55c74b=_0x4b7ed8['commands']['get']('footnotesStart');return _0x4dd3e1['startIndexFieldView']['bind']('isEnabled')['to'](_0x55c74b),_0x4dd3e1['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x55c74b),_0x4dd3e1['on']('footnotesListStart',(_0x2b2caf,_0x3e7c8d)=>{_0x4b7ed8['execute']('footnotesStart',{'value':_0x3e7c8d['startIndex']});}),_0x4dd3e1['delegate']('execute')['to'](_0x2851f5),_0x4dd3e1;}({'editor':_0x5850b5,'dropdownView':_0x3e95a8});_0x3e95a8['panelView']['children']['add'](_0x21f4c1);}),_0x3e95a8;};}(_0xf3a158));}['afterInit'](){const {editor:_0x4586b8}=this,{t:t}=_0x4586b8['locale'],_0x3af8a1=_0x4586b8['plugins']['get'](_0x55ab29),{defaultPositions:_0x412b0e}=_0x221874;_0x3af8a1['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4586b8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x6e42b2=>{let _0x234bec=_0x6e42b2['getFirstPosition']()?.['parent'];return _0x234bec?.['is']('$text')&&(_0x234bec=_0x234bec['parent']),_0x234bec?.['is']('element')?_0x234bec['findAncestor'](_0x1314c9):null;},'positions':[_0x412b0e['southArrowNorth'],_0x412b0e['southArrowNorthMiddleWest'],_0x412b0e['southArrowNorthMiddleEast'],_0x412b0e['southArrowNorthWest'],_0x412b0e['southArrowNorthEast'],_0x412b0e['northArrowSouth'],_0x412b0e['northArrowSouthMiddleWest'],_0x412b0e['northArrowSouthMiddleEast'],_0x412b0e['northArrowSouthWest'],_0x412b0e['northArrowSouthEast'],_0x412b0e['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x429e8c,View as _0x272c3c,ViewCollection as _0x1487c7,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 _0x272c3c{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x1487c7();['focusCycler'];constructor(_0x29ed01,{styleButtonViews:_0x53f7d4,styleGridAriaLabel:_0xa7d95e}){super(_0x29ed01),(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'](_0x53f7d4,_0xa7d95e),[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 _0x5b1df3 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5b1df3['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 _0x7cdc1f=_0x1ebb3d=>_0x1ebb3d['stopPropagation']();this['keystrokes']['set']('arrowright',_0x7cdc1f),this['keystrokes']['set']('arrowleft',_0x7cdc1f),this['keystrokes']['set']('arrowup',_0x7cdc1f),this['keystrokes']['set']('arrowdown',_0x7cdc1f);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x180d14,_0x443100){const _0x1c406e=new _0x272c3c(this['locale']);return _0x1c406e['children']=_0x1c406e['createCollection'](),_0x1c406e['children']['addMany'](_0x180d14),_0x1c406e['setTemplate']({'tag':'div','attributes':{'aria-label':_0x443100,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1c406e['children']}),_0x1c406e['children']['delegate']('execute')['to'](this),_0x1c406e['focus']=function(){for(const _0x3eb5b0 of this['children'])if(_0x3eb5b0 instanceof _0x429e8c&&_0x3eb5b0['isOn'])return void _0x3eb5b0['focus']();this['children']['first']['focus']();},_0x1c406e['focusTracker']=new rt(),_0x1c406e['keystrokes']=new nt(),_0x1c406e['render'](),_0x1c406e['keystrokes']['listenTo'](_0x1c406e['element']),this['children']['add'](_0x1c406e),_0x1c406e;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x872b12=this['_createStartIndexPropertyView'](),_0x5312f8=[_0x872b12],_0x2ee4aa=new it(this['locale'],_0x5312f8);return _0x2ee4aa['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2ee4aa['buttonView']['bind']('isEnabled')['toMany'](_0x5312f8,'isEnabled',(..._0x1207f0)=>_0x1207f0['some'](_0x4bc16f=>_0x4bc16f)),_0x2ee4aa['buttonView']['on']('change:isEnabled',(_0x1fdc0e,_0x36ba73,_0x18d0cb)=>{_0x18d0cb||(_0x2ee4aa['isCollapsed']=!0x0);}),this['children']['add'](_0x2ee4aa),[_0x872b12,_0x2ee4aa];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2837a8=new et(this['locale'],ot);return _0x2837a8['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2837a8['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2837a8['fieldView']['on']('input',()=>{const _0x3ab8ba=_0x2837a8['fieldView']['element'],_0x437da1=_0x3ab8ba['valueAsNumber'];Number['isNaN'](_0x437da1)?_0x2837a8['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3ab8ba['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x437da1}):_0x2837a8['errorText']=t(_0x437da1<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2837a8;}}
23
+ import{ButtonView as _0x33b5a5,View as _0x2e6b88,ViewCollection as _0x4e4a88,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 _0x2e6b88{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x4e4a88();['focusCycler'];constructor(_0x5de37a,{styleButtonViews:_0x1ecd0e,styleGridAriaLabel:_0x3977b7}){super(_0x5de37a),(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'](_0x1ecd0e,_0x3977b7),[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 _0xb783e0 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xb783e0['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 _0x1d8f19=_0x14c64f=>_0x14c64f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1d8f19),this['keystrokes']['set']('arrowleft',_0x1d8f19),this['keystrokes']['set']('arrowup',_0x1d8f19),this['keystrokes']['set']('arrowdown',_0x1d8f19);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3adbcd,_0x19ede8){const _0xee90cf=new _0x2e6b88(this['locale']);return _0xee90cf['children']=_0xee90cf['createCollection'](),_0xee90cf['children']['addMany'](_0x3adbcd),_0xee90cf['setTemplate']({'tag':'div','attributes':{'aria-label':_0x19ede8,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xee90cf['children']}),_0xee90cf['children']['delegate']('execute')['to'](this),_0xee90cf['focus']=function(){for(const _0x132d3c of this['children'])if(_0x132d3c instanceof _0x33b5a5&&_0x132d3c['isOn'])return void _0x132d3c['focus']();this['children']['first']['focus']();},_0xee90cf['focusTracker']=new rt(),_0xee90cf['keystrokes']=new nt(),_0xee90cf['render'](),_0xee90cf['keystrokes']['listenTo'](_0xee90cf['element']),this['children']['add'](_0xee90cf),_0xee90cf;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5a328b=this['_createStartIndexPropertyView'](),_0x2f5404=[_0x5a328b],_0x12bf16=new it(this['locale'],_0x2f5404);return _0x12bf16['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x12bf16['buttonView']['bind']('isEnabled')['toMany'](_0x2f5404,'isEnabled',(..._0x4be281)=>_0x4be281['some'](_0x26b684=>_0x26b684)),_0x12bf16['buttonView']['on']('change:isEnabled',(_0x1c2dda,_0x576fc9,_0x1b9b6d)=>{_0x1b9b6d||(_0x12bf16['isCollapsed']=!0x0);}),this['children']['add'](_0x12bf16),[_0x5a328b,_0x12bf16];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x43f323=new et(this['locale'],ot);return _0x43f323['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x43f323['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x43f323['fieldView']['on']('input',()=>{const _0x5b9c8c=_0x43f323['fieldView']['element'],_0x54512c=_0x5b9c8c['valueAsNumber'];Number['isNaN'](_0x54512c)?_0x43f323['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5b9c8c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x54512c}):_0x43f323['errorText']=t(_0x54512c<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x43f323;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x28e6(_0x279bc5,_0x508688){var _0x776f8a=_0x776f();return _0x28e6=function(_0x28e626,_0x323e9e){_0x28e626=_0x28e626-0x154;var _0x5bc24b=_0x776f8a[_0x28e626];return _0x5bc24b;},_0x28e6(_0x279bc5,_0x508688);}var _0x38e291=_0x28e6;function _0x776f(){var _0x5d84cf=['462759wFZmaB','7886bgBhrG','isOfficialPlugin','9eUJdEl','811730RcfKCj','requires','3882760EumNma','416480iCGBEq','680jYBSvj','10196qrGkdP','isPremiumPlugin','1757682Zzpqug','FootnotesProperties','pluginName','17lAnieu'];_0x776f=function(){return _0x5d84cf;};return _0x776f();}(function(_0x1f7028,_0x21a190){var _0x23b7a4=_0x28e6,_0x39076e=_0x1f7028();while(!![]){try{var _0x32b68e=parseInt(_0x23b7a4(0x15f))/0x1*(-parseInt(_0x23b7a4(0x161))/0x2)+-parseInt(_0x23b7a4(0x160))/0x3+parseInt(_0x23b7a4(0x15a))/0x4*(parseInt(_0x23b7a4(0x159))/0x5)+-parseInt(_0x23b7a4(0x15c))/0x6+parseInt(_0x23b7a4(0x157))/0x7+parseInt(_0x23b7a4(0x158))/0x8+-parseInt(_0x23b7a4(0x154))/0x9*(parseInt(_0x23b7a4(0x155))/0xa);if(_0x32b68e===_0x21a190)break;else _0x39076e['push'](_0x39076e['shift']());}catch(_0x4645ba){_0x39076e['push'](_0x39076e['shift']());}}}(_0x776f,0x57670));import{Plugin as _0x326f64}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x1d0faa}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x357601}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x326f64{static get[_0x38e291(0x15e)](){var _0x23290d=_0x38e291;return _0x23290d(0x15d);}static get[_0x38e291(0x156)](){return[_0x1d0faa,_0x357601];}static get[_0x38e291(0x162)](){return!0x0;}static get[_0x38e291(0x15b)](){return!0x0;}}
23
+ var _0x32df03=_0x2b60;function _0x2b60(_0x235874,_0x40970c){var _0x35a738=_0x35a7();return _0x2b60=function(_0x2b603f,_0x36f08c){_0x2b603f=_0x2b603f-0x130;var _0x491784=_0x35a738[_0x2b603f];return _0x491784;},_0x2b60(_0x235874,_0x40970c);}(function(_0x1b6dbf,_0xdf84f3){var _0x59a147=_0x2b60,_0x4b9cbf=_0x1b6dbf();while(!![]){try{var _0x2abf79=parseInt(_0x59a147(0x137))/0x1*(-parseInt(_0x59a147(0x13b))/0x2)+-parseInt(_0x59a147(0x131))/0x3*(parseInt(_0x59a147(0x130))/0x4)+-parseInt(_0x59a147(0x13d))/0x5*(-parseInt(_0x59a147(0x13f))/0x6)+parseInt(_0x59a147(0x136))/0x7+parseInt(_0x59a147(0x134))/0x8+-parseInt(_0x59a147(0x13e))/0x9*(-parseInt(_0x59a147(0x13a))/0xa)+-parseInt(_0x59a147(0x135))/0xb;if(_0x2abf79===_0xdf84f3)break;else _0x4b9cbf['push'](_0x4b9cbf['shift']());}catch(_0x1b2ebd){_0x4b9cbf['push'](_0x4b9cbf['shift']());}}}(_0x35a7,0x7e323));function _0x35a7(){var _0xa6f269=['1485gjDNSB','2004294JjLdBL','356PcIQgF','26943NgqIsW','requires','pluginName','1271840ZXeSvi','1896510iIuTgZ','2736643Hamncm','95rNxFyx','isPremiumPlugin','isOfficialPlugin','38470zXcEoR','634ZPEcHc','FootnotesProperties','5zwiFDL'];_0x35a7=function(){return _0xa6f269;};return _0x35a7();}import{Plugin as _0x5ac5f0}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4fc7ed}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x20262b}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x5ac5f0{static get[_0x32df03(0x133)](){var _0x4099d2=_0x32df03;return _0x4099d2(0x13c);}static get[_0x32df03(0x132)](){return[_0x4fc7ed,_0x20262b];}static get[_0x32df03(0x139)](){return!0x0;}static get[_0x32df03(0x138)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x207613=_0x4da1;(function(_0x1a9ddd,_0x4dc8d2){const _0x31e9a5=_0x4da1,_0x11e557=_0x1a9ddd();while(!![]){try{const _0x3de20c=parseInt(_0x31e9a5(0xfe))/0x1*(parseInt(_0x31e9a5(0xfd))/0x2)+parseInt(_0x31e9a5(0x12f))/0x3+-parseInt(_0x31e9a5(0x13c))/0x4+parseInt(_0x31e9a5(0x124))/0x5+-parseInt(_0x31e9a5(0x12d))/0x6*(-parseInt(_0x31e9a5(0x143))/0x7)+-parseInt(_0x31e9a5(0x147))/0x8+parseInt(_0x31e9a5(0x102))/0x9*(parseInt(_0x31e9a5(0x129))/0xa);if(_0x3de20c===_0x4dc8d2)break;else _0x11e557['push'](_0x11e557['shift']());}catch(_0x247283){_0x11e557['push'](_0x11e557['shift']());}}}(_0xb24a,0x84caf));import{Plugin as _0x1d67ee}from'ckeditor5/src/core.js';function _0x4da1(_0x5b0daa,_0x170aee){const _0xb24a72=_0xb24a();return _0x4da1=function(_0x4da133,_0x26a467){_0x4da133=_0x4da133-0xf4;let _0x24220c=_0xb24a72[_0x4da133];return _0x24220c;},_0x4da1(_0x5b0daa,_0x170aee);}import{ModelElementTracker as _0x131eed}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1d67ee{[_0x207613(0x114)]=[];[_0x207613(0x128)]=null;[_0x207613(0x11b)]=null;[_0x207613(0x133)];[_0x207613(0x121)];[_0x207613(0x110)];static get[_0x207613(0x11c)](){const _0xd10c0c=_0x207613;return _0xd10c0c(0x115);}static get[_0x207613(0x150)](){return!0x0;}static get[_0x207613(0x105)](){return!0x0;}constructor(_0x12c6a4){const _0x44f972=_0x207613;super(_0x12c6a4),this[_0x44f972(0x133)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0x118),'getElementKey':()=>_0x44f972(0x119)}),this[_0x44f972(0x121)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0x130),'getElementKey':_0xb2117c=>_0xb2117c[_0x44f972(0x100)](_0x44f972(0x12b))}),this[_0x44f972(0x110)]=new _0x131eed(this[_0x44f972(0x14b)][_0x44f972(0x136)],{'elementName':_0x44f972(0xf7),'getElementKey':_0x8fbe67=>_0x8fbe67[_0x44f972(0x100)](_0x44f972(0x12b))});}[_0x207613(0x116)](){const _0x348529=_0x207613,{editor:_0x6e41fd}=this,{model:_0x4bbfa0,data:_0xa9151a}=_0x6e41fd;_0x4bbfa0[_0x348529(0x108)][_0x348529(0x106)](_0x2cb93e=>{const _0x1fb5c5=_0x348529,_0x1de3fe=_0x4bbfa0[_0x1fb5c5(0x108)][_0x1fb5c5(0x109)][_0x1fb5c5(0x13b)]();let _0x3bb327=!0x1;return this[_0x1fb5c5(0xf4)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x11e)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x12e)](_0x2cb93e,_0x1de3fe)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x14c)](_0x2cb93e)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x148)](_0x2cb93e)&&(_0x3bb327=!0x0),this[_0x1fb5c5(0x137)](_0x2cb93e)&&(_0x3bb327=!0x0),_0x3bb327;}),this[_0x348529(0x10c)](_0x4bbfa0[_0x348529(0x108)],_0x348529(0x13e),()=>{const _0x34e955=_0x348529;_0x4bbfa0[_0x34e955(0x14a)]({'isUndoable':!0x1},_0x422fd9=>{const _0x466cd8=_0x34e955;this[_0x466cd8(0xfb)](_0x422fd9);});},{'priority':_0x348529(0x112)}),this[_0x348529(0x10c)](_0xa9151a,_0x348529(0x138),()=>{const _0x2e9f60=_0x348529;this[_0x2e9f60(0x114)]=[],this[_0x2e9f60(0x133)][_0x2e9f60(0x151)](),this[_0x2e9f60(0x121)][_0x2e9f60(0x151)](),this[_0x2e9f60(0x110)][_0x2e9f60(0x151)]();},{'priority':_0x348529(0x14f)});}[_0x207613(0xf9)](){const _0x56053a=_0x207613;return this[_0x56053a(0x128)];}[_0x207613(0xfa)](_0xca1565){const _0x214b86=_0x207613;return this[_0x214b86(0x114)][_0x214b86(0x12c)](_0x49401e=>_0x49401e['id']===_0xca1565)||null;}[_0x207613(0x158)](){const _0x58e402=_0x207613;return Array[_0x58e402(0x134)](this[_0x58e402(0x114)]);}[_0x207613(0x131)](){const _0x11ce77=_0x207613;return this[_0x11ce77(0x11b)];}[_0x207613(0x103)](_0x2ed6aa){const _0x2a098e=_0x207613;this[_0x2a098e(0x11b)]=_0x2ed6aa;}[_0x207613(0xff)](_0x1c07b6,_0xedef46=0x0){const _0x3b8cf0=_0x207613;let _0x2263a0=!0x1;for(let _0x34a0a0=_0xedef46;_0x34a0a0<this[_0x3b8cf0(0x114)][_0x3b8cf0(0x13a)];_0x34a0a0++)this[_0x3b8cf0(0x14e)](_0x1c07b6,_0x34a0a0)&&(_0x2263a0=!0x0);return _0x2263a0;}[_0x207613(0x154)](_0x421b67,_0x4a0dd2){const _0x56f0bf=_0x207613,_0x2dbbe0=_0x421b67[_0x56f0bf(0x153)](_0x56f0bf(0x118),{});return _0x421b67[_0x56f0bf(0x122)](_0x2dbbe0,_0x4a0dd2),this[_0x56f0bf(0x128)]=_0x2dbbe0,_0x2dbbe0;}[_0x207613(0xfb)](_0x1012a1){const _0x9cc24f=_0x207613;if(!this[_0x9cc24f(0x114)][_0x9cc24f(0x13a)]||this[_0x9cc24f(0x128)])return;const _0x3bcad5=this[_0x9cc24f(0x114)][0x0][_0x9cc24f(0x123)][_0x9cc24f(0x125)],_0x2022d5=this[_0x9cc24f(0x154)](_0x1012a1,_0x3bcad5);for(const _0x3b7a71 of this[_0x9cc24f(0x114)])_0x3b7a71[_0x9cc24f(0x13d)][_0x9cc24f(0xf8)]||_0x1012a1[_0x9cc24f(0x12a)](_0x3b7a71[_0x9cc24f(0x13d)],_0x2022d5,_0x9cc24f(0x13f));this[_0x9cc24f(0xff)](_0x1012a1);}[_0x207613(0xf4)](_0x57e224,_0x58e3bd){const _0xb72e02=_0x207613;let _0x54b42e=!0x1;const {inserted:_0x5e5ca7,removed:_0x409f29,moved:_0x35cbc8}=this[_0xb72e02(0x133)][_0xb72e02(0x13b)](_0x58e3bd);if(_0x35cbc8[_0xb72e02(0x13a)]&&(this[_0xb72e02(0x128)]=_0x35cbc8[0x0]),_0x5e5ca7[_0xb72e02(0x13a)]){if(_0x5e5ca7[_0xb72e02(0x13a)]>0x1||this[_0xb72e02(0x128)]&&_0x5e5ca7[_0xb72e02(0xf5)](_0x58d9db=>_0x58d9db!==this[_0xb72e02(0x128)])){const _0x289ee2=_0x57e224[_0xb72e02(0x153)](_0xb72e02(0x118),{}),_0x2a487b=[];this[_0xb72e02(0x128)]&&_0x2a487b[_0xb72e02(0x11a)](this[_0xb72e02(0x128)]),_0x2a487b[_0xb72e02(0x11a)](..._0x5e5ca7),_0x57e224[_0xb72e02(0x12a)](_0x289ee2,_0x2a487b[0x0],_0xb72e02(0x117));for(const _0x4767ac of _0x2a487b)_0x57e224[_0xb72e02(0x149)](_0x57e224[_0xb72e02(0x120)](_0x4767ac),_0x57e224[_0xb72e02(0x126)](_0x289ee2,_0xb72e02(0x13f))),_0x57e224[_0xb72e02(0x152)](_0x4767ac);this[_0xb72e02(0x128)]=_0x289ee2,this[_0xb72e02(0xff)](_0x57e224),_0x54b42e=!0x0;}else this[_0xb72e02(0x128)]=_0x5e5ca7[0x0];}if(_0x409f29[_0xb72e02(0x13a)]&&_0xb72e02(0x10a)===this[_0xb72e02(0x128)]?.[_0xb72e02(0x125)][_0xb72e02(0x10d)]){for(const _0x13f3f8 of this[_0xb72e02(0x114)])_0x57e224[_0xb72e02(0x152)](_0x13f3f8[_0xb72e02(0x123)]),_0x54b42e=!0x0;this[_0xb72e02(0x114)]=[],this[_0xb72e02(0x128)]=null;}return _0x54b42e;}[_0x207613(0x11e)](_0x52fff0,_0x32ca3f){const _0x397c0f=_0x207613;let _0x2e65b0=!0x1;const _0x255bc9=this[_0x397c0f(0x14b)][_0x397c0f(0x146)][_0x397c0f(0x155)](_0x397c0f(0x14d)),{inserted:_0x2b22fd,moved:_0x408b1f}=this[_0x397c0f(0x110)][_0x397c0f(0x13b)](_0x32ca3f);for(const _0x55aa9a of[..._0x408b1f,..._0x2b22fd]){const _0x1e76cc=_0x55aa9a[_0x397c0f(0x100)](_0x397c0f(0x12b)),_0x192797=this[_0x397c0f(0xfa)](_0x1e76cc);_0x192797&&(_0x192797[_0x397c0f(0x13d)]=_0x55aa9a),_(_0x52fff0,_0x255bc9,_0x55aa9a)&&(_0x2e65b0=!0x0);}return _0x2e65b0;}[_0x207613(0x12e)](_0x1d2833,_0x516e16){const _0xac515d=_0x207613;let _0x424769=!0x1;const {removed:_0x55b970,inserted:_0x4a39ad,moved:_0x1db503}=this[_0xac515d(0x121)][_0xac515d(0x13b)](_0x516e16);for(const _0xeed76e of _0x55b970)this[_0xac515d(0x132)](_0x1d2833,_0xeed76e)&&(_0x424769=!0x0);for(const _0x5b2e2a of _0x4a39ad)this[_0xac515d(0x104)](_0x1d2833,_0x5b2e2a)&&(_0x424769=!0x0);for(const _0x1837fa of _0x1db503)this[_0xac515d(0x157)](_0x1d2833,_0x1837fa)&&(_0x424769=!0x0);return _0x424769;}[_0x207613(0x148)](_0x3a6754){const _0x1afcf3=_0x207613;if(!this[_0x1afcf3(0x128)])return!0x1;let _0x240340=!0x1;if(this[_0x1afcf3(0x128)][_0x1afcf3(0x139)]!==this[_0x1afcf3(0x114)][_0x1afcf3(0x13a)]){const _0x17de75=[];for(const _0x3d2e17 of this[_0x1afcf3(0x128)][_0x1afcf3(0x127)]()){const _0x1fba21=_0x3d2e17[_0x1afcf3(0x100)](_0x1afcf3(0x12b));this[_0x1afcf3(0xfa)](_0x1fba21)||(_0x17de75[_0x1afcf3(0x11f)](_0x3d2e17),_0x240340=!0x0);}for(const _0x55710e of _0x17de75)_0x3a6754[_0x1afcf3(0x152)](_0x55710e);}const _0x413d3d=new Set(),_0xdc0632=[];for(const _0x1ff042 of this[_0x1afcf3(0x128)][_0x1afcf3(0x127)]()){const _0x508c3b=_0x1ff042[_0x1afcf3(0x100)](_0x1afcf3(0x12b));_0x413d3d[_0x1afcf3(0x145)](_0x508c3b)?(_0xdc0632[_0x1afcf3(0x11f)](_0x1ff042),_0x240340=!0x0):_0x413d3d[_0x1afcf3(0x142)](_0x508c3b);}for(const _0x59af99 of _0xdc0632)_0x3a6754[_0x1afcf3(0x152)](_0x59af99);return this[_0x1afcf3(0x128)][_0x1afcf3(0x139)]||(_0x3a6754[_0x1afcf3(0x152)](this[_0x1afcf3(0x128)]),this[_0x1afcf3(0x128)]=null,_0x240340=!0x0),_0x240340;}[_0x207613(0x104)](_0x4850c1,_0x24beb0){const _0x359cd6=_0x207613;if(this[_0x359cd6(0x114)][_0x359cd6(0x12c)](_0x31ef00=>_0x31ef00[_0x359cd6(0x123)]===_0x24beb0))return!0x1;let _0x265291=!0x1;const _0x44b383=_0x24beb0[_0x359cd6(0x100)](_0x359cd6(0x12b)),_0xb7aded=this[_0x359cd6(0x114)][_0x359cd6(0x140)](_0xc74c81=>_0xc74c81['id']===_0x44b383);-0x1!==_0xb7aded&&(_0x4850c1[_0x359cd6(0x152)](this[_0x359cd6(0x114)][_0xb7aded][_0x359cd6(0x123)]),this[_0x359cd6(0x114)][_0x359cd6(0x101)](_0xb7aded,0x1),_0x265291=!0x0);let _0x2e7a18=this[_0x359cd6(0x128)]?function(_0x496aaf,_0x48c2e2){const _0x47f5ce=_0x359cd6;for(const _0x35288b of _0x496aaf[_0x47f5ce(0x127)]())if(_0x35288b[_0x47f5ce(0x100)](_0x47f5ce(0x12b))===_0x48c2e2)return _0x35288b;return null;}(this[_0x359cd6(0x128)],_0x44b383):null;_0x2e7a18||(_0x2e7a18=_0x4850c1[_0x359cd6(0x153)](_0x359cd6(0xf7),{'footnoteId':_0x44b383}),this[_0x359cd6(0x128)]&&(_0x4850c1[_0x359cd6(0x12a)](_0x2e7a18,this[_0x359cd6(0x128)],_0x359cd6(0x13f)),_0x265291=!0x0));const _0x152fbb={'id':_0x44b383,'reference':_0x24beb0,'definition':_0x2e7a18},_0x17a5cd=I(this[_0x359cd6(0x14b)][_0x359cd6(0x136)],this[_0x359cd6(0x114)],_0x24beb0);this[_0x359cd6(0x114)][_0x359cd6(0x101)](_0x17a5cd,0x0,_0x152fbb);let _0x17ca85=_0x17a5cd;return-0x1!==_0xb7aded&&(_0x17ca85=Math[_0x359cd6(0x10e)](_0x17a5cd,_0xb7aded)),this[_0x359cd6(0xff)](_0x4850c1,_0x17ca85)&&(_0x265291=!0x0),_0x265291;}[_0x207613(0x132)](_0x16a684,_0x12839d){const _0x56514b=_0x207613,_0xcb531b=this[_0x56514b(0x114)][_0x56514b(0x140)](_0x5bd925=>_0x5bd925['id']===_0x12839d);if(-0x1===_0xcb531b)return!0x1;let _0x50471a=!0x1;const _0x49ee0b=this[_0x56514b(0x114)][_0xcb531b];return _0x56514b(0x10a)!==_0x49ee0b[_0x56514b(0x13d)][_0x56514b(0x125)][_0x56514b(0x10d)]&&(_0x16a684[_0x56514b(0x152)](_0x49ee0b[_0x56514b(0x13d)]),_0x50471a=!0x0),this[_0x56514b(0x114)][_0x56514b(0x101)](_0xcb531b,0x1),this[_0x56514b(0xff)](_0x16a684,_0xcb531b)&&(_0x50471a=!0x0),_0x50471a;}[_0x207613(0x157)](_0x448d68,_0xd0174d){const _0x538f64=_0x207613,_0x3e69b0=_0xd0174d[_0x538f64(0x100)](_0x538f64(0x12b)),_0x2f22e6=this[_0x538f64(0x114)][_0x538f64(0x140)](_0x254faa=>_0x254faa['id']===_0x3e69b0),_0x15042b=this[_0x538f64(0x114)][_0x2f22e6];let _0x571a5d=!0x1;_0x15042b[_0x538f64(0x123)]=_0xd0174d,this[_0x538f64(0x114)][_0x538f64(0x101)](_0x2f22e6,0x1);const _0x326233=I(this[_0x538f64(0x14b)][_0x538f64(0x136)],this[_0x538f64(0x114)],_0xd0174d);return this[_0x538f64(0x114)][_0x538f64(0x101)](_0x326233,0x0,_0x15042b),this[_0x538f64(0xff)](_0x448d68,Math[_0x538f64(0x10e)](_0x2f22e6,_0x326233))&&(_0x571a5d=!0x0),_0x571a5d;}[_0x207613(0x14e)](_0x257836,_0xdfd7ea){const _0x17ad20=_0x207613;if(!this[_0x17ad20(0x128)])return!0x1;const _0x426ddd=this[_0x17ad20(0x114)][_0xdfd7ea];let _0x4b1047;return _0x4b1047=this[_0x17ad20(0x11b)]?this[_0x17ad20(0x11b)]({'footnote':_0x426ddd,'container':this[_0x17ad20(0x128)],'digits':String(this[_0x17ad20(0x114)][_0x17ad20(0x13a)])[_0x17ad20(0x13a)],'value':_0xdfd7ea+0x1}):String(_0xdfd7ea+0x1),_0x426ddd[_0x17ad20(0x123)][_0x17ad20(0x100)](_0x17ad20(0x107))!=_0x4b1047&&(_0x257836[_0x17ad20(0x113)](_0x17ad20(0x107),_0x4b1047,_0x426ddd[_0x17ad20(0x123)]),!0x0);}[_0x207613(0x137)](_0x4ca8ea){const _0xcd61bf=_0x207613;if(!this[_0xcd61bf(0x128)]||this[_0xcd61bf(0x114)][_0xcd61bf(0x13a)]<0x2)return!0x1;if(function(_0x45329c,_0x6efaf2){const _0x13b546=_0xcd61bf;if(_0x45329c[_0x13b546(0x13a)]!==_0x6efaf2[_0x13b546(0x13a)])return!0x1;for(let _0x1ef1d2=0x0;_0x1ef1d2<_0x45329c[_0x13b546(0x13a)];_0x1ef1d2++)if(_0x45329c[_0x1ef1d2]!==_0x6efaf2[_0x1ef1d2])return!0x1;return!0x0;}(this[_0xcd61bf(0x114)][_0xcd61bf(0x10b)](_0x3b69d2=>_0x3b69d2['id']),Array[_0xcd61bf(0x134)](this[_0xcd61bf(0x128)][_0xcd61bf(0x127)]())[_0xcd61bf(0x10b)](_0x16751f=>_0x16751f[_0xcd61bf(0x100)](_0xcd61bf(0x12b)))))return!0x1;let _0x9b3cbe=!0x1;for(let _0x58077d=0x0;_0x58077d<this[_0xcd61bf(0x114)][_0xcd61bf(0x13a)];_0x58077d++){const _0x5d972e=this[_0xcd61bf(0x114)][_0x58077d],_0x44ddbe=_0x4ca8ea[_0xcd61bf(0x10f)](_0x5d972e[_0xcd61bf(0x13d)]),_0x107054=_0x4ca8ea[_0xcd61bf(0x126)](this[_0xcd61bf(0x128)],_0x58077d);_0x44ddbe[_0xcd61bf(0xfc)](_0x107054)||(_0x4ca8ea[_0xcd61bf(0x149)](_0x4ca8ea[_0xcd61bf(0x135)](_0x5d972e[_0xcd61bf(0x13d)]),_0x107054),_0x9b3cbe=!0x0);}return _0x9b3cbe;}[_0x207613(0x14c)](_0x350122){const _0x5c040e=_0x207613;if(!this[_0x5c040e(0x114)][_0x5c040e(0x13a)])return!0x1;const {model:_0x36cdd3}=this[_0x5c040e(0x14b)];let _0x15d5e5=!0x1;for(let _0x4d364e=0x0;_0x4d364e<this[_0x5c040e(0x114)][_0x5c040e(0x13a)]-0x1;_0x4d364e++){const _0x442180=this[_0x5c040e(0x114)][_0x4d364e],_0x4d5d92=this[_0x5c040e(0x114)][_0x4d364e+0x1],_0x34f4af=_0x36cdd3[_0x5c040e(0x10f)](_0x442180[_0x5c040e(0x123)]),_0x26512c=_0x36cdd3[_0x5c040e(0x10f)](_0x4d5d92[_0x5c040e(0x123)]);_0x5c040e(0x11d)===_0x34f4af[_0x5c040e(0x156)](_0x26512c)&&(this[_0x5c040e(0x157)](_0x350122,_0x442180[_0x5c040e(0x123)]),_0x4d364e=-0x1,_0x15d5e5=!0x0);}return _0x15d5e5;}}function _0xb24a(){const _0x54967e=['8Hvtkde','_updateFootnotesCounters','getAttribute','splice','2932830XREEHR','setFootnoteFormatter','_handleInsertedFootnoteReference','isPremiumPlugin','registerPostFixer','footnoteCounter','document','differ','$graveyard','map','listenTo','rootName','min','createPositionBefore','_footnoteDefsTracker','paragraph','low','setAttribute','_footnotes','FootnotesTracker','init','before','footnotesDefinitions','singleton','push','_footnoteFormatter','pluginName','after','_handleFootnoteDefinitionsChanges','unshift','createRangeIn','_footnoteRefsTracker','append','reference','590625mLCTHM','root','createPositionAt','getChildren','_footnotesDefinitions','10skAdOa','insert','footnoteId','find','64902gsbPmk','_handleFootnoteReferencesChanges','1239021REBQPO','footnoteRef','getFootnotesFormatter','_handleRemoveFootnoteReferenceById','_footnoteDefsContainerTracker','from','createRangeOn','model','_sortFootnoteDefinitions','set','childCount','length','getChanges','2065736TiTxrR','definition','change:data','end','findIndex','indexOf','add','427thQkui','footnoteInlineContent','has','config','5655472ilAePx','_handleFootnotesDefinitionsObjectSync','move','enqueueChange','editor','_ensureFootnotesReferencesHaveProperOrder','footnotes.multiBlock','_updateFootnoteRefCounter','high','isOfficialPlugin','reset','remove','createElement','_insertEmptyFootnotesDefinitionsContainer','get','compareWith','_handleMovedFootnoteReference','getFootnotes','_handleFootnotesDefinitionsObjectChanges','some','getRootNames','footnoteDefinition','parent','getFootnotesDefinitionsObjectElement','getFootnote','_ensureFootnotesDefinitionsContainerExists','isEqual','62612mAhJMo'];_0xb24a=function(){return _0x54967e;};return _0xb24a();}function _(_0x47fc51,_0x41cdee,_0x3d64c7){const _0x3f4f5b=_0x207613;if(_0x3d64c7[_0x3f4f5b(0x139)])return!0x1;const _0x4c1e04=_0x41cdee?_0x3f4f5b(0x111):_0x3f4f5b(0x144);return _0x47fc51[_0x3f4f5b(0x12a)](_0x47fc51[_0x3f4f5b(0x153)](_0x4c1e04),_0x3d64c7),!0x0;}function I(_0x2d3136,_0x5c61a3,_0x22c386){const _0x581ef4=_0x207613;if(0x0===_0x5c61a3[_0x581ef4(0x13a)])return 0x0;const _0x356b3a=_0x2d3136[_0x581ef4(0x10f)](_0x22c386);for(let _0x3290e5=0x0;_0x3290e5<_0x5c61a3[_0x581ef4(0x13a)];_0x3290e5++){const _0xe2e85c=_0x5c61a3[_0x3290e5],_0x623563=_0x2d3136[_0x581ef4(0x10f)](_0xe2e85c[_0x581ef4(0x123)]);if(_0x581ef4(0x117)===_0x356b3a[_0x581ef4(0x156)](_0x623563))return _0x3290e5;}const _0x101c32=_0x22c386[_0x581ef4(0x125)];let _0xe6cc3b=-0x1;for(let _0x17c3ca=_0x5c61a3[_0x581ef4(0x13a)]-0x1;_0x17c3ca>=0x0;_0x17c3ca--)if(_0x5c61a3[_0x17c3ca][_0x581ef4(0x123)][_0x581ef4(0x125)]===_0x101c32){_0xe6cc3b=_0x17c3ca;break;}if(-0x1!==_0xe6cc3b)return _0xe6cc3b+0x1;const _0x20c90c=_0x2d3136[_0x581ef4(0x108)][_0x581ef4(0xf6)](),_0x1ba299=_0x20c90c[_0x581ef4(0x141)](_0x101c32[_0x581ef4(0x10d)]),_0x231b7b=_0x20c90c[_0x1ba299+0x1];if(_0x231b7b){for(let _0x5e05d1=0x0;_0x5e05d1<_0x5c61a3[_0x581ef4(0x13a)];_0x5e05d1++)if(_0x5c61a3[_0x5e05d1][_0x581ef4(0x123)][_0x581ef4(0x125)][_0x581ef4(0x10d)]===_0x231b7b)return _0x5e05d1;}return _0x5c61a3[_0x581ef4(0x13a)];}
23
+ function _0x4a1b(_0x43b3a4,_0x1646f6){const _0x2cafab=_0x2caf();return _0x4a1b=function(_0x4a1ba0,_0x151df8){_0x4a1ba0=_0x4a1ba0-0x77;let _0x3e67de=_0x2cafab[_0x4a1ba0];return _0x3e67de;},_0x4a1b(_0x43b3a4,_0x1646f6);}const _0x79b7ff=_0x4a1b;(function(_0x2aed05,_0x484844){const _0x5787ea=_0x4a1b,_0x1524ec=_0x2aed05();while(!![]){try{const _0x2560a9=parseInt(_0x5787ea(0x88))/0x1+-parseInt(_0x5787ea(0xd9))/0x2*(parseInt(_0x5787ea(0xd4))/0x3)+parseInt(_0x5787ea(0xc7))/0x4*(parseInt(_0x5787ea(0xcc))/0x5)+-parseInt(_0x5787ea(0xb0))/0x6+parseInt(_0x5787ea(0xb4))/0x7+-parseInt(_0x5787ea(0x99))/0x8+-parseInt(_0x5787ea(0x91))/0x9*(-parseInt(_0x5787ea(0xcd))/0xa);if(_0x2560a9===_0x484844)break;else _0x1524ec['push'](_0x1524ec['shift']());}catch(_0x5465b1){_0x1524ec['push'](_0x1524ec['shift']());}}}(_0x2caf,0xc67cb));import{Plugin as _0x18fefe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x2d6271}from'./modelelementtracker.js';export class FootnotesTracker extends _0x18fefe{[_0x79b7ff(0xa6)]=[];[_0x79b7ff(0xbb)]=null;[_0x79b7ff(0xc0)]=null;[_0x79b7ff(0x87)];[_0x79b7ff(0xcf)];[_0x79b7ff(0xd3)];static get[_0x79b7ff(0xab)](){const _0x4a465c=_0x79b7ff;return _0x4a465c(0x85);}static get[_0x79b7ff(0x95)](){return!0x0;}static get[_0x79b7ff(0x79)](){return!0x0;}constructor(_0x3fe942){const _0x1dd5c0=_0x79b7ff;super(_0x3fe942),this[_0x1dd5c0(0x87)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0xa7),'getElementKey':()=>_0x1dd5c0(0x96)}),this[_0x1dd5c0(0xcf)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0xb1),'getElementKey':_0x180ad7=>_0x180ad7[_0x1dd5c0(0x81)](_0x1dd5c0(0xaf))}),this[_0x1dd5c0(0xd3)]=new _0x2d6271(this[_0x1dd5c0(0x90)][_0x1dd5c0(0xa0)],{'elementName':_0x1dd5c0(0x83),'getElementKey':_0x4f35c8=>_0x4f35c8[_0x1dd5c0(0x81)](_0x1dd5c0(0xaf))});}[_0x79b7ff(0x9b)](){const _0x574851=_0x79b7ff,{editor:_0x90cf2}=this,{model:_0x16c9f0,data:_0x2428bb}=_0x90cf2;_0x16c9f0[_0x574851(0x8e)][_0x574851(0xbe)](_0x50a0e9=>{const _0x19277b=_0x574851,_0x232e4e=_0x16c9f0[_0x19277b(0x8e)][_0x19277b(0x8d)][_0x19277b(0xa9)]();let _0x194799=!0x1;return this[_0x19277b(0xb2)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0xac)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0x7c)](_0x50a0e9,_0x232e4e)&&(_0x194799=!0x0),this[_0x19277b(0xd8)](_0x50a0e9)&&(_0x194799=!0x0),this[_0x19277b(0x7b)](_0x50a0e9)&&(_0x194799=!0x0),this[_0x19277b(0xcb)](_0x50a0e9)&&(_0x194799=!0x0),_0x194799;}),this[_0x574851(0x78)](_0x16c9f0[_0x574851(0x8e)],_0x574851(0xd0),()=>{const _0x3ea59a=_0x574851;_0x16c9f0[_0x3ea59a(0xc9)]({'isUndoable':!0x1},_0x546201=>{const _0x28872f=_0x3ea59a;this[_0x28872f(0x86)](_0x546201);});},{'priority':_0x574851(0x8b)}),this[_0x574851(0x78)](_0x2428bb,_0x574851(0xc3),()=>{const _0x387b17=_0x574851;this[_0x387b17(0xa6)]=[],this[_0x387b17(0x87)][_0x387b17(0xb9)](),this[_0x387b17(0xcf)][_0x387b17(0xb9)](),this[_0x387b17(0xd3)][_0x387b17(0xb9)]();},{'priority':_0x574851(0x98)});}[_0x79b7ff(0x84)](){const _0x2bb389=_0x79b7ff;return this[_0x2bb389(0xbb)];}[_0x79b7ff(0xbf)](_0x2a0c6b){const _0x5a49c7=_0x79b7ff;return this[_0x5a49c7(0xa6)][_0x5a49c7(0xae)](_0x2b3438=>_0x2b3438['id']===_0x2a0c6b)||null;}[_0x79b7ff(0x8c)](){const _0x18d8ac=_0x79b7ff;return Array[_0x18d8ac(0xc6)](this[_0x18d8ac(0xa6)]);}[_0x79b7ff(0xdb)](){const _0x50ac18=_0x79b7ff;return this[_0x50ac18(0xc0)];}[_0x79b7ff(0x9a)](_0x2ffbf0){const _0x13c81a=_0x79b7ff;this[_0x13c81a(0xc0)]=_0x2ffbf0;}[_0x79b7ff(0x89)](_0x4abc85,_0x7dedf1=0x0){const _0xaef8af=_0x79b7ff;let _0x59db70=!0x1;for(let _0x5c5cfe=_0x7dedf1;_0x5c5cfe<this[_0xaef8af(0xa6)][_0xaef8af(0xce)];_0x5c5cfe++)this[_0xaef8af(0x8f)](_0x4abc85,_0x5c5cfe)&&(_0x59db70=!0x0);return _0x59db70;}[_0x79b7ff(0xa5)](_0x11834d,_0x41e1e1){const _0x190f10=_0x79b7ff,_0x5905ac=_0x11834d[_0x190f10(0xda)](_0x190f10(0xa7),{});return _0x11834d[_0x190f10(0x9c)](_0x5905ac,_0x41e1e1),this[_0x190f10(0xbb)]=_0x5905ac,_0x5905ac;}[_0x79b7ff(0x86)](_0x4c5cbd){const _0x527f87=_0x79b7ff;if(!this[_0x527f87(0xa6)][_0x527f87(0xce)]||this[_0x527f87(0xbb)])return;const _0x48b5e1=this[_0x527f87(0xa6)][0x0][_0x527f87(0xa2)][_0x527f87(0xc1)],_0x31c0d8=this[_0x527f87(0xa5)](_0x4c5cbd,_0x48b5e1);for(const _0x4ab15f of this[_0x527f87(0xa6)])_0x4ab15f[_0x527f87(0xb8)][_0x527f87(0x7f)]||_0x4c5cbd[_0x527f87(0xb7)](_0x4ab15f[_0x527f87(0xb8)],_0x31c0d8,_0x527f87(0x7a));this[_0x527f87(0x89)](_0x4c5cbd);}[_0x79b7ff(0xb2)](_0x269160,_0x183c72){const _0x1371f7=_0x79b7ff;let _0x806c98=!0x1;const {inserted:_0x35cf8c,removed:_0x5533f6,moved:_0x17e36a}=this[_0x1371f7(0x87)][_0x1371f7(0xa9)](_0x183c72);if(_0x17e36a[_0x1371f7(0xce)]&&(this[_0x1371f7(0xbb)]=_0x17e36a[0x0]),_0x35cf8c[_0x1371f7(0xce)]){if(_0x35cf8c[_0x1371f7(0xce)]>0x1||this[_0x1371f7(0xbb)]&&_0x35cf8c[_0x1371f7(0xca)](_0x25e4fe=>_0x25e4fe!==this[_0x1371f7(0xbb)])){const _0x48db6a=_0x269160[_0x1371f7(0xda)](_0x1371f7(0xa7),{}),_0x264897=[];this[_0x1371f7(0xbb)]&&_0x264897[_0x1371f7(0x77)](this[_0x1371f7(0xbb)]),_0x264897[_0x1371f7(0x77)](..._0x35cf8c),_0x269160[_0x1371f7(0xb7)](_0x48db6a,_0x264897[0x0],_0x1371f7(0xaa));for(const _0xa385d7 of _0x264897)_0x269160[_0x1371f7(0xc5)](_0x269160[_0x1371f7(0xa3)](_0xa385d7),_0x269160[_0x1371f7(0xb5)](_0x48db6a,_0x1371f7(0x7a))),_0x269160[_0x1371f7(0xc8)](_0xa385d7);this[_0x1371f7(0xbb)]=_0x48db6a,this[_0x1371f7(0x89)](_0x269160),_0x806c98=!0x0;}else this[_0x1371f7(0xbb)]=_0x35cf8c[0x0];}if(_0x5533f6[_0x1371f7(0xce)]&&_0x1371f7(0x7e)===this[_0x1371f7(0xbb)]?.[_0x1371f7(0xc1)][_0x1371f7(0xd1)]){for(const _0xf38834 of this[_0x1371f7(0xa6)])_0x269160[_0x1371f7(0xc8)](_0xf38834[_0x1371f7(0xa2)]),_0x806c98=!0x0;this[_0x1371f7(0xa6)]=[],this[_0x1371f7(0xbb)]=null;}return _0x806c98;}[_0x79b7ff(0xac)](_0x1190a7,_0x3a57ab){const _0x2a214d=_0x79b7ff;let _0x2bf0c7=!0x1;const _0x5c80fd=this[_0x2a214d(0x90)][_0x2a214d(0xbd)][_0x2a214d(0x93)](_0x2a214d(0x80)),{inserted:_0x1187a3,moved:_0x492327}=this[_0x2a214d(0xd3)][_0x2a214d(0xa9)](_0x3a57ab);for(const _0x3d8f39 of[..._0x492327,..._0x1187a3]){const _0x34b6e8=_0x3d8f39[_0x2a214d(0x81)](_0x2a214d(0xaf)),_0x47e34b=this[_0x2a214d(0xbf)](_0x34b6e8);_0x47e34b&&(_0x47e34b[_0x2a214d(0xb8)]=_0x3d8f39),_(_0x1190a7,_0x5c80fd,_0x3d8f39)&&(_0x2bf0c7=!0x0);}return _0x2bf0c7;}[_0x79b7ff(0x7c)](_0x252e89,_0x1a7237){const _0x4f19b5=_0x79b7ff;let _0x232692=!0x1;const {removed:_0x503b98,inserted:_0x23ec5c,moved:_0x2152d5}=this[_0x4f19b5(0xcf)][_0x4f19b5(0xa9)](_0x1a7237);for(const _0x1e8945 of _0x503b98)this[_0x4f19b5(0xd6)](_0x252e89,_0x1e8945)&&(_0x232692=!0x0);for(const _0x146faf of _0x23ec5c)this[_0x4f19b5(0x82)](_0x252e89,_0x146faf)&&(_0x232692=!0x0);for(const _0x2979fa of _0x2152d5)this[_0x4f19b5(0xd7)](_0x252e89,_0x2979fa)&&(_0x232692=!0x0);return _0x232692;}[_0x79b7ff(0x7b)](_0x12269b){const _0x1400b9=_0x79b7ff;if(!this[_0x1400b9(0xbb)])return!0x1;let _0x122472=!0x1;if(this[_0x1400b9(0xbb)][_0x1400b9(0x97)]!==this[_0x1400b9(0xa6)][_0x1400b9(0xce)]){const _0x2f70f7=[];for(const _0x4c077c of this[_0x1400b9(0xbb)][_0x1400b9(0xa8)]()){const _0x40a271=_0x4c077c[_0x1400b9(0x81)](_0x1400b9(0xaf));this[_0x1400b9(0xbf)](_0x40a271)||(_0x2f70f7[_0x1400b9(0x94)](_0x4c077c),_0x122472=!0x0);}for(const _0x1d69b3 of _0x2f70f7)_0x12269b[_0x1400b9(0xc8)](_0x1d69b3);}const _0x5fd6d1=new Set(),_0x48a32a=[];for(const _0x268af6 of this[_0x1400b9(0xbb)][_0x1400b9(0xa8)]()){const _0x54caf4=_0x268af6[_0x1400b9(0x81)](_0x1400b9(0xaf));_0x5fd6d1[_0x1400b9(0x8a)](_0x54caf4)?(_0x48a32a[_0x1400b9(0x94)](_0x268af6),_0x122472=!0x0):_0x5fd6d1[_0x1400b9(0xc4)](_0x54caf4);}for(const _0x4414e0 of _0x48a32a)_0x12269b[_0x1400b9(0xc8)](_0x4414e0);return this[_0x1400b9(0xbb)][_0x1400b9(0x97)]||(_0x12269b[_0x1400b9(0xc8)](this[_0x1400b9(0xbb)]),this[_0x1400b9(0xbb)]=null,_0x122472=!0x0),_0x122472;}[_0x79b7ff(0x82)](_0x30b86d,_0x398af5){const _0x494382=_0x79b7ff;if(this[_0x494382(0xa6)][_0x494382(0xae)](_0x23e999=>_0x23e999[_0x494382(0xa2)]===_0x398af5))return!0x1;let _0x534668=!0x1;const _0x2861f1=_0x398af5[_0x494382(0x81)](_0x494382(0xaf)),_0x26a5fd=this[_0x494382(0xa6)][_0x494382(0xd5)](_0x17a4b8=>_0x17a4b8['id']===_0x2861f1);-0x1!==_0x26a5fd&&(_0x30b86d[_0x494382(0xc8)](this[_0x494382(0xa6)][_0x26a5fd][_0x494382(0xa2)]),this[_0x494382(0xa6)][_0x494382(0x7d)](_0x26a5fd,0x1),_0x534668=!0x0);let _0x4f96d9=this[_0x494382(0xbb)]?function(_0xed677d,_0x35af39){const _0x11dc16=_0x494382;for(const _0x18498d of _0xed677d[_0x11dc16(0xa8)]())if(_0x18498d[_0x11dc16(0x81)](_0x11dc16(0xaf))===_0x35af39)return _0x18498d;return null;}(this[_0x494382(0xbb)],_0x2861f1):null;_0x4f96d9||(_0x4f96d9=_0x30b86d[_0x494382(0xda)](_0x494382(0x83),{'footnoteId':_0x2861f1}),this[_0x494382(0xbb)]&&(_0x30b86d[_0x494382(0xb7)](_0x4f96d9,this[_0x494382(0xbb)],_0x494382(0x7a)),_0x534668=!0x0));const _0xeedb8e={'id':_0x2861f1,'reference':_0x398af5,'definition':_0x4f96d9},_0x3d568e=I(this[_0x494382(0x90)][_0x494382(0xa0)],this[_0x494382(0xa6)],_0x398af5);this[_0x494382(0xa6)][_0x494382(0x7d)](_0x3d568e,0x0,_0xeedb8e);let _0x5f2b97=_0x3d568e;return-0x1!==_0x26a5fd&&(_0x5f2b97=Math[_0x494382(0xd2)](_0x3d568e,_0x26a5fd)),this[_0x494382(0x89)](_0x30b86d,_0x5f2b97)&&(_0x534668=!0x0),_0x534668;}[_0x79b7ff(0xd6)](_0x16622c,_0x34a8f2){const _0x4d6c19=_0x79b7ff,_0x5952a7=this[_0x4d6c19(0xa6)][_0x4d6c19(0xd5)](_0x424200=>_0x424200['id']===_0x34a8f2);if(-0x1===_0x5952a7)return!0x1;let _0x25a871=!0x1;const _0x3ce8f5=this[_0x4d6c19(0xa6)][_0x5952a7];return _0x4d6c19(0x7e)!==_0x3ce8f5[_0x4d6c19(0xb8)][_0x4d6c19(0xc1)][_0x4d6c19(0xd1)]&&(_0x16622c[_0x4d6c19(0xc8)](_0x3ce8f5[_0x4d6c19(0xb8)]),_0x25a871=!0x0),this[_0x4d6c19(0xa6)][_0x4d6c19(0x7d)](_0x5952a7,0x1),this[_0x4d6c19(0x89)](_0x16622c,_0x5952a7)&&(_0x25a871=!0x0),_0x25a871;}[_0x79b7ff(0xd7)](_0xc6e7aa,_0x145f69){const _0x11080c=_0x79b7ff,_0x1079df=_0x145f69[_0x11080c(0x81)](_0x11080c(0xaf)),_0x351778=this[_0x11080c(0xa6)][_0x11080c(0xd5)](_0x18fbd9=>_0x18fbd9['id']===_0x1079df),_0x4656f3=this[_0x11080c(0xa6)][_0x351778];let _0x52facb=!0x1;_0x4656f3[_0x11080c(0xa2)]=_0x145f69,this[_0x11080c(0xa6)][_0x11080c(0x7d)](_0x351778,0x1);const _0x2d75c6=I(this[_0x11080c(0x90)][_0x11080c(0xa0)],this[_0x11080c(0xa6)],_0x145f69);return this[_0x11080c(0xa6)][_0x11080c(0x7d)](_0x2d75c6,0x0,_0x4656f3),this[_0x11080c(0x89)](_0xc6e7aa,Math[_0x11080c(0xd2)](_0x351778,_0x2d75c6))&&(_0x52facb=!0x0),_0x52facb;}[_0x79b7ff(0x8f)](_0x8daf2c,_0x27f8ef){const _0x5e3c3f=_0x79b7ff;if(!this[_0x5e3c3f(0xbb)])return!0x1;const _0x1668e6=this[_0x5e3c3f(0xa6)][_0x27f8ef];let _0x1103d0;return _0x1103d0=this[_0x5e3c3f(0xc0)]?this[_0x5e3c3f(0xc0)]({'footnote':_0x1668e6,'container':this[_0x5e3c3f(0xbb)],'digits':String(this[_0x5e3c3f(0xa6)][_0x5e3c3f(0xce)])[_0x5e3c3f(0xce)],'value':_0x27f8ef+0x1}):String(_0x27f8ef+0x1),_0x1668e6[_0x5e3c3f(0xa2)][_0x5e3c3f(0x81)](_0x5e3c3f(0xa4))!=_0x1103d0&&(_0x8daf2c[_0x5e3c3f(0xc2)](_0x5e3c3f(0xa4),_0x1103d0,_0x1668e6[_0x5e3c3f(0xa2)]),!0x0);}[_0x79b7ff(0xcb)](_0x362ea2){const _0x17a393=_0x79b7ff;if(!this[_0x17a393(0xbb)]||this[_0x17a393(0xa6)][_0x17a393(0xce)]<0x2)return!0x1;if(function(_0x17cee3,_0xe7efb2){const _0x636a6c=_0x17a393;if(_0x17cee3[_0x636a6c(0xce)]!==_0xe7efb2[_0x636a6c(0xce)])return!0x1;for(let _0x5be582=0x0;_0x5be582<_0x17cee3[_0x636a6c(0xce)];_0x5be582++)if(_0x17cee3[_0x5be582]!==_0xe7efb2[_0x5be582])return!0x1;return!0x0;}(this[_0x17a393(0xa6)][_0x17a393(0xb3)](_0x58017f=>_0x58017f['id']),Array[_0x17a393(0xc6)](this[_0x17a393(0xbb)][_0x17a393(0xa8)]())[_0x17a393(0xb3)](_0x31c88d=>_0x31c88d[_0x17a393(0x81)](_0x17a393(0xaf)))))return!0x1;let _0x42f5c7=!0x1;for(let _0x19a775=0x0;_0x19a775<this[_0x17a393(0xa6)][_0x17a393(0xce)];_0x19a775++){const _0x44d4c6=this[_0x17a393(0xa6)][_0x19a775],_0x2fe19d=_0x362ea2[_0x17a393(0xa1)](_0x44d4c6[_0x17a393(0xb8)]),_0x593a0f=_0x362ea2[_0x17a393(0xb5)](this[_0x17a393(0xbb)],_0x19a775);_0x2fe19d[_0x17a393(0xba)](_0x593a0f)||(_0x362ea2[_0x17a393(0xc5)](_0x362ea2[_0x17a393(0x9d)](_0x44d4c6[_0x17a393(0xb8)]),_0x593a0f),_0x42f5c7=!0x0);}return _0x42f5c7;}[_0x79b7ff(0xd8)](_0xf1fbca){const _0x3ea789=_0x79b7ff;if(!this[_0x3ea789(0xa6)][_0x3ea789(0xce)])return!0x1;const {model:_0x52b3cb}=this[_0x3ea789(0x90)];let _0x4a1202=!0x1;for(let _0x4ad8cc=0x0;_0x4ad8cc<this[_0x3ea789(0xa6)][_0x3ea789(0xce)]-0x1;_0x4ad8cc++){const _0x5bbc61=this[_0x3ea789(0xa6)][_0x4ad8cc],_0x37db22=this[_0x3ea789(0xa6)][_0x4ad8cc+0x1],_0x14f573=_0x52b3cb[_0x3ea789(0xa1)](_0x5bbc61[_0x3ea789(0xa2)]),_0x5e208c=_0x52b3cb[_0x3ea789(0xa1)](_0x37db22[_0x3ea789(0xa2)]);_0x3ea789(0x9e)===_0x14f573[_0x3ea789(0xb6)](_0x5e208c)&&(this[_0x3ea789(0xd7)](_0xf1fbca,_0x5bbc61[_0x3ea789(0xa2)]),_0x4ad8cc=-0x1,_0x4a1202=!0x0);}return _0x4a1202;}}function _(_0x5c6d4f,_0x26afd6,_0xe4b628){const _0x4e8891=_0x79b7ff;if(_0xe4b628[_0x4e8891(0x97)])return!0x1;const _0x303798=_0x26afd6?_0x4e8891(0x9f):_0x4e8891(0xbc);return _0x5c6d4f[_0x4e8891(0xb7)](_0x5c6d4f[_0x4e8891(0xda)](_0x303798),_0xe4b628),!0x0;}function _0x2caf(){const _0x3b031d=['_updateFootnoteRefCounter','editor','18wlvbQB','getRootNames','get','unshift','isOfficialPlugin','singleton','childCount','high','11194696NmLxRw','setFootnoteFormatter','init','append','createRangeOn','after','paragraph','model','createPositionBefore','reference','createRangeIn','footnoteCounter','_insertEmptyFootnotesDefinitionsContainer','_footnotes','footnotesDefinitions','getChildren','getChanges','before','pluginName','_handleFootnoteDefinitionsChanges','indexOf','find','footnoteId','4281222xDLNBL','footnoteRef','_handleFootnotesDefinitionsObjectChanges','map','355327PZNIYx','createPositionAt','compareWith','insert','definition','reset','isEqual','_footnotesDefinitions','footnoteInlineContent','config','registerPostFixer','getFootnote','_footnoteFormatter','root','setAttribute','set','add','move','from','1156240uqUyvy','remove','enqueueChange','some','_sortFootnoteDefinitions','20VmSWXZ','11832110zjxyfj','length','_footnoteRefsTracker','change:data','rootName','min','_footnoteDefsTracker','3cWlaAu','findIndex','_handleRemoveFootnoteReferenceById','_handleMovedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','1642722nPoqRy','createElement','getFootnotesFormatter','push','listenTo','isPremiumPlugin','end','_handleFootnotesDefinitionsObjectSync','_handleFootnoteReferencesChanges','splice','$graveyard','parent','footnotes.multiBlock','getAttribute','_handleInsertedFootnoteReference','footnoteDefinition','getFootnotesDefinitionsObjectElement','FootnotesTracker','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsContainerTracker','173815cClpYT','_updateFootnotesCounters','has','low','getFootnotes','differ','document'];_0x2caf=function(){return _0x3b031d;};return _0x2caf();}function I(_0x196a88,_0x4775af,_0x3f4164){const _0x3c678e=_0x79b7ff;if(0x0===_0x4775af[_0x3c678e(0xce)])return 0x0;const _0x4b916c=_0x196a88[_0x3c678e(0xa1)](_0x3f4164);for(let _0x7a9ffb=0x0;_0x7a9ffb<_0x4775af[_0x3c678e(0xce)];_0x7a9ffb++){const _0x17ef26=_0x4775af[_0x7a9ffb],_0x2dc29e=_0x196a88[_0x3c678e(0xa1)](_0x17ef26[_0x3c678e(0xa2)]);if(_0x3c678e(0xaa)===_0x4b916c[_0x3c678e(0xb6)](_0x2dc29e))return _0x7a9ffb;}const _0xeac969=_0x3f4164[_0x3c678e(0xc1)];let _0x12f442=-0x1;for(let _0x15e46c=_0x4775af[_0x3c678e(0xce)]-0x1;_0x15e46c>=0x0;_0x15e46c--)if(_0x4775af[_0x15e46c][_0x3c678e(0xa2)][_0x3c678e(0xc1)]===_0xeac969){_0x12f442=_0x15e46c;break;}if(-0x1!==_0x12f442)return _0x12f442+0x1;const _0x29d743=_0x196a88[_0x3c678e(0x8e)][_0x3c678e(0x92)](),_0x15ddca=_0x29d743[_0x3c678e(0xad)](_0xeac969[_0x3c678e(0xd1)]),_0x5c670d=_0x29d743[_0x15ddca+0x1];if(_0x5c670d){for(let _0x4f4576=0x0;_0x4f4576<_0x4775af[_0x3c678e(0xce)];_0x4f4576++)if(_0x4775af[_0x4f4576][_0x3c678e(0xa2)][_0x3c678e(0xc1)][_0x3c678e(0xd1)]===_0x5c670d)return _0x4f4576;}return _0x4775af[_0x3c678e(0xce)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x271200,MenuBarMenuListItemButtonView as _0x2f4f7d}from'ckeditor5/src/ui.js';import{Plugin as _0x40daf2}from'ckeditor5/src/core.js';import{IconFootnote as _0x22cd93}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x40daf2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5d2f88}=this,{componentFactory:_0x4dc355}=_0x5d2f88['ui'];_0x4dc355['add']('insertFootnote',E(_0x5d2f88,_0x271200)),_0x4dc355['add']('menuBar:insertFootnote',E(_0x5d2f88,_0x2f4f7d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x34d682=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4c836d;for(const _0x97f605 in _0x34d682){const _0x282b15=_0x97f605,_0x23cad8=_0x34d682[_0x282b15];if('footnotesLicenseKeyValid'==_0x23cad8||'footnotesLicenseKeyInvalid'==_0x23cad8||'footnotesLicenseKeyExpired'==_0x23cad8||'footnotesLicenseKeyDomainLimit'==_0x23cad8||'footnotesLicenseKeyNotAllowed'==_0x23cad8||'footnotesLicenseKeyEvaluationLimit'==_0x23cad8||'footnotesLicenseKeyUsageLimit'==_0x23cad8){delete _0x34d682[_0x282b15],_0x4c836d=_0x23cad8,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4c836d&&_0x34d682['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4c836d&&_0x34d682['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4c836d&&_0x34d682['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x4c836d&&_0x34d682['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0xd99c15,_0x550b83){const _0x1b8ae1=_0xd99c15['commands']['get']('insertFootnote');return _0x288854=>{const {t:t}=_0x288854,_0x58f426=new _0x550b83(_0x288854),_0x2f8bd2=_0x58f426 instanceof _0x2f4f7d;return _0x58f426['bind']('isEnabled')['to'](_0x1b8ae1,'isEnabled'),_0x58f426['set']({'label':t(_0x2f8bd2?'Footnote':'Insert\x20footnote'),'icon':_0x22cd93,'tooltip':!0x0}),_0x58f426['on']('execute',()=>{_0x1b8ae1['execute'](),_0xd99c15['editing']['view']['focus']();}),_0x58f426;};}
23
+ import{ButtonView as _0x5623e4,MenuBarMenuListItemButtonView as _0x1dfbad}from'ckeditor5/src/ui.js';import{Plugin as _0x3443a4}from'ckeditor5/src/core.js';import{IconFootnote as _0x251410}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3443a4{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1e4b13}=this,{componentFactory:_0x515ec5}=_0x1e4b13['ui'];_0x515ec5['add']('insertFootnote',E(_0x1e4b13,_0x5623e4)),_0x515ec5['add']('menuBar:insertFootnote',E(_0x1e4b13,_0x1dfbad)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3782a1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xfc2f47;for(const _0xa3bdd3 in _0x3782a1){const _0x6cabae=_0xa3bdd3,_0x59c749=_0x3782a1[_0x6cabae];if('footnotesLicenseKeyValid'==_0x59c749||'footnotesLicenseKeyInvalid'==_0x59c749||'footnotesLicenseKeyExpired'==_0x59c749||'footnotesLicenseKeyDomainLimit'==_0x59c749||'footnotesLicenseKeyNotAllowed'==_0x59c749||'footnotesLicenseKeyEvaluationLimit'==_0x59c749||'footnotesLicenseKeyUsageLimit'==_0x59c749){delete _0x3782a1[_0x6cabae],_0xfc2f47=_0x59c749,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xfc2f47&&_0x3782a1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xfc2f47&&_0x3782a1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xfc2f47&&_0x3782a1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0xfc2f47&&_0x3782a1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x1458f0,_0x1c496c){const _0xb6c374=_0x1458f0['commands']['get']('insertFootnote');return _0x45dece=>{const {t:t}=_0x45dece,_0x4b9fa1=new _0x1c496c(_0x45dece),_0x5d3fd7=_0x4b9fa1 instanceof _0x1dfbad;return _0x4b9fa1['bind']('isEnabled')['to'](_0xb6c374,'isEnabled'),_0x4b9fa1['set']({'label':t(_0x5d3fd7?'Footnote':'Insert\x20footnote'),'icon':_0x251410,'tooltip':!0x0}),_0x4b9fa1['on']('execute',()=>{_0xb6c374['execute'](),_0x1458f0['editing']['view']['focus']();}),_0x4b9fa1;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x19bf4f,_0x505799){var _0x140d9f=_0x511c,_0x73174=_0x19bf4f();while(!![]){try{var _0x23c401=parseInt(_0x140d9f(0x132))/0x1*(parseInt(_0x140d9f(0x12e))/0x2)+-parseInt(_0x140d9f(0x12f))/0x3*(-parseInt(_0x140d9f(0x133))/0x4)+-parseInt(_0x140d9f(0x137))/0x5+-parseInt(_0x140d9f(0x131))/0x6*(-parseInt(_0x140d9f(0x130))/0x7)+parseInt(_0x140d9f(0x138))/0x8+-parseInt(_0x140d9f(0x135))/0x9+parseInt(_0x140d9f(0x134))/0xa*(-parseInt(_0x140d9f(0x136))/0xb);if(_0x23c401===_0x505799)break;else _0x73174['push'](_0x73174['shift']());}catch(_0x49d2c){_0x73174['push'](_0x73174['shift']());}}}(_0x9dea,0xbb90c));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';function _0x511c(_0x48e91f,_0x5bc1b4){var _0x9dea15=_0x9dea();return _0x511c=function(_0x511c3e,_0x2440a3){_0x511c3e=_0x511c3e-0x12e;var _0x72b055=_0x9dea15[_0x511c3e];return _0x72b055;},_0x511c(_0x48e91f,_0x5bc1b4);}function _0x9dea(){var _0x54f7b5=['569229qajeSJ','1578353MDLaJe','36wFtYUM','669379IMNqyp','32viAwJl','20xNBOew','7701318CIQTDK','11754193MZJcom','2149560aSAckS','5206488sPlzrL','2eaIDxy'];_0x9dea=function(){return _0x54f7b5;};return _0x9dea();}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x1e4ef3,_0x22f693){var _0x38408c=_0xbdca,_0xce4004=_0x1e4ef3();while(!![]){try{var _0xd91cae=parseInt(_0x38408c(0x108))/0x1*(-parseInt(_0x38408c(0x103))/0x2)+parseInt(_0x38408c(0x106))/0x3+-parseInt(_0x38408c(0x107))/0x4*(parseInt(_0x38408c(0x109))/0x5)+-parseInt(_0x38408c(0x10a))/0x6+-parseInt(_0x38408c(0x10b))/0x7+-parseInt(_0x38408c(0x102))/0x8*(parseInt(_0x38408c(0x104))/0x9)+parseInt(_0x38408c(0x105))/0xa;if(_0xd91cae===_0x22f693)break;else _0xce4004['push'](_0xce4004['shift']());}catch(_0x4581c5){_0xce4004['push'](_0xce4004['shift']());}}}(_0x43e2,0xd3cf5));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0xbdca(_0x122439,_0x53e7b0){var _0x43e27d=_0x43e2();return _0xbdca=function(_0xbdca7,_0x3894f8){_0xbdca7=_0xbdca7-0x102;var _0x346b3d=_0x43e27d[_0xbdca7];return _0x346b3d;},_0xbdca(_0x122439,_0x53e7b0);}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 _0x43e2(){var _0x3686b6=['3101895PDvdPT','8444zOgnnH','2Lxqpxu','3515XYyDzK','1839756zBSrRM','6886852qxiIva','472KByXLT','718858XpdvHG','46962rjxUFU','36348230qOawqV'];_0x43e2=function(){return _0x3686b6;};return _0x43e2();}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5c48(){const _0x1d33fc=['_trackedElements','delete','reset','has','element','26657026eNaoSY','$text','insert','add','length','getElementKey','root','70LRZwev','1075398GZdzYj','4987890uSYxfO','attributes','_elementName','$graveyard','10JlLpwZ','rootName','type','42fAGDuN','flat','clear','3300600VMQBMH','get','slice','remove','name','set','10LhCuJy','createRangeOn','elementName','getChanges','nodeAfter','getItems','from','values','position','push','840342oAetQt','674607crZWwJ','174132IjIYoA','_getElementKey','_model'];_0x5c48=function(){return _0x1d33fc;};return _0x5c48();}function _0x1725(_0x55fa9c,_0x3e9cb2){const _0x5c4852=_0x5c48();return _0x1725=function(_0x17254c,_0x45f3b1){_0x17254c=_0x17254c-0xbe;let _0x5be842=_0x5c4852[_0x17254c];return _0x5be842;},_0x1725(_0x55fa9c,_0x3e9cb2);}const _0x124b15=_0x1725;(function(_0x1c065a,_0x21ab4c){const _0x199924=_0x1725,_0x2302f7=_0x1c065a();while(!![]){try{const _0x3bfdd5=parseInt(_0x199924(0xcf))/0x1+parseInt(_0x199924(0xe0))/0x2*(parseInt(_0x199924(0xbe))/0x3)+parseInt(_0x199924(0xbf))/0x4*(-parseInt(_0x199924(0xce))/0x5)+-parseInt(_0x199924(0xea))/0x6*(-parseInt(_0x199924(0xd7))/0x7)+parseInt(_0x199924(0xda))/0x8+parseInt(_0x199924(0xd0))/0x9+parseInt(_0x199924(0xd4))/0xa*(-parseInt(_0x199924(0xc7))/0xb);if(_0x3bfdd5===_0x21ab4c)break;else _0x2302f7['push'](_0x2302f7['shift']());}catch(_0x324478){_0x2302f7['push'](_0x2302f7['shift']());}}}(_0x5c48,0xedcda));export class ModelElementTracker{[_0x124b15(0xc1)];[_0x124b15(0xd2)];[_0x124b15(0xc0)];[_0x124b15(0xc2)]=new Map();constructor(_0x26c5b3,_0x4b920a){const _0x9bde91=_0x124b15;this[_0x9bde91(0xc1)]=_0x26c5b3,this[_0x9bde91(0xd2)]=_0x4b920a[_0x9bde91(0xe2)],this[_0x9bde91(0xc0)]=_0x4b920a[_0x9bde91(0xcc)];}[_0x124b15(0xc4)](){const _0x59651c=_0x124b15;this[_0x59651c(0xc2)][_0x59651c(0xd9)]();}[_0x124b15(0xe3)](_0x282378){const _0x5cb0ae=_0x124b15,_0x51f0ee=new Set(),_0xbc16a7=new Map();for(const _0x464fa2 of _0x282378){if(_0x5cb0ae(0xc9)===_0x464fa2[_0x5cb0ae(0xd6)]&&_0x5cb0ae(0xc8)!==_0x464fa2[_0x5cb0ae(0xde)]&&_0x464fa2[_0x5cb0ae(0xe8)][_0x5cb0ae(0xe4)]){const _0x377a53=this[_0x5cb0ae(0xc1)][_0x5cb0ae(0xe1)](_0x464fa2[_0x5cb0ae(0xe8)][_0x5cb0ae(0xe4)]);for(const _0x497346 of _0x377a53[_0x5cb0ae(0xe5)]()){if(!_0x497346['is'](_0x5cb0ae(0xc6),this[_0x5cb0ae(0xd2)]))continue;const _0x121d23=this[_0x5cb0ae(0xc0)](_0x497346);_0xbc16a7[_0x5cb0ae(0xc5)](_0x121d23)||_0xbc16a7[_0x5cb0ae(0xdf)](_0x121d23,[]),_0xbc16a7[_0x5cb0ae(0xdb)](_0x121d23)[_0x5cb0ae(0xe9)](_0x497346);}}if(_0x5cb0ae(0xdd)===_0x464fa2[_0x5cb0ae(0xd6)]&&_0x464fa2[_0x5cb0ae(0xde)]===this[_0x5cb0ae(0xd2)]){const _0x440721=this[_0x5cb0ae(0xc0)]({'getAttribute':_0x317de6=>_0x464fa2[_0x5cb0ae(0xd1)][_0x5cb0ae(0xdb)](_0x317de6)});_0x51f0ee[_0x5cb0ae(0xca)](_0x440721);}}for(const [_0x1c09ab,_0x3b5368]of this[_0x5cb0ae(0xc2)])_0x5cb0ae(0xd3)===_0x3b5368[_0x5cb0ae(0xcd)][_0x5cb0ae(0xd5)]&&_0x51f0ee[_0x5cb0ae(0xca)](_0x1c09ab);for(const _0x432ded of _0x51f0ee)this[_0x5cb0ae(0xc2)][_0x5cb0ae(0xc3)](_0x432ded);for(const [_0x108739,_0x242e3a]of _0xbc16a7)this[_0x5cb0ae(0xc2)][_0x5cb0ae(0xdf)](_0x108739,_0x242e3a[_0x242e3a[_0x5cb0ae(0xcb)]-0x1]);const _0x164fbe=new Set();for(const [_0x415127,_0x2f6fc6]of _0xbc16a7)_0x51f0ee[_0x5cb0ae(0xc5)](_0x415127)&&(_0x164fbe[_0x5cb0ae(0xca)](_0x2f6fc6[0x0]),_0x2f6fc6[_0x5cb0ae(0xcb)]>0x1?_0xbc16a7[_0x5cb0ae(0xdf)](_0x415127,_0x2f6fc6[_0x5cb0ae(0xdc)](0x1)):_0xbc16a7[_0x5cb0ae(0xc3)](_0x415127),_0x51f0ee[_0x5cb0ae(0xc3)](_0x415127));return{'removed':Array[_0x5cb0ae(0xe6)](_0x51f0ee),'inserted':Array[_0x5cb0ae(0xe6)](_0xbc16a7[_0x5cb0ae(0xe7)]())[_0x5cb0ae(0xd8)](),'moved':Array[_0x5cb0ae(0xe6)](_0x164fbe)};}}
23
+ const _0x52b328=_0x1096;(function(_0x3cac10,_0xe32c79){const _0x5ad6df=_0x1096,_0x1a08c4=_0x3cac10();while(!![]){try{const _0x52ba4b=-parseInt(_0x5ad6df(0xc7))/0x1*(parseInt(_0x5ad6df(0xc3))/0x2)+-parseInt(_0x5ad6df(0xcb))/0x3*(parseInt(_0x5ad6df(0xd3))/0x4)+-parseInt(_0x5ad6df(0xdf))/0x5*(-parseInt(_0x5ad6df(0xd5))/0x6)+-parseInt(_0x5ad6df(0xda))/0x7*(parseInt(_0x5ad6df(0xe5))/0x8)+-parseInt(_0x5ad6df(0xe7))/0x9+-parseInt(_0x5ad6df(0xc4))/0xa+parseInt(_0x5ad6df(0xdd))/0xb;if(_0x52ba4b===_0xe32c79)break;else _0x1a08c4['push'](_0x1a08c4['shift']());}catch(_0x3afb5f){_0x1a08c4['push'](_0x1a08c4['shift']());}}}(_0x133c,0x70b39));function _0x133c(){const _0x3c28b9=['elementName','set','values','14hOoPtG','type','slice','31854746QWRtuf','_getElementKey','10NZBNDt','rootName','remove','delete','_trackedElements','push','3652752WBpRAR','from','8222526wSZZfs','createRangeOn','nodeAfter','get','getChanges','$text','getElementKey','length','flat','7118UbOzfl','6694900NwOfvU','root','$graveyard','153LuMFIW','reset','name','insert','18498dVFJFt','_model','add','element','has','clear','_elementName','attributes','16LvYCms','position','1893666NsGBYf','getItems'];_0x133c=function(){return _0x3c28b9;};return _0x133c();}function _0x1096(_0x1ed007,_0x4a2b22){const _0x133c5c=_0x133c();return _0x1096=function(_0x10968b,_0x3d6cd9){_0x10968b=_0x10968b-0xc0;let _0x3142f6=_0x133c5c[_0x10968b];return _0x3142f6;},_0x1096(_0x1ed007,_0x4a2b22);}export class ModelElementTracker{[_0x52b328(0xcc)];[_0x52b328(0xd1)];[_0x52b328(0xde)];[_0x52b328(0xe3)]=new Map();constructor(_0x29bd9e,_0x2c39f4){const _0x2d914e=_0x52b328;this[_0x2d914e(0xcc)]=_0x29bd9e,this[_0x2d914e(0xd1)]=_0x2c39f4[_0x2d914e(0xd7)],this[_0x2d914e(0xde)]=_0x2c39f4[_0x2d914e(0xc0)];}[_0x52b328(0xc8)](){const _0x347325=_0x52b328;this[_0x347325(0xe3)][_0x347325(0xd0)]();}[_0x52b328(0xeb)](_0x1bf797){const _0x3d86b1=_0x52b328,_0xe9a38c=new Set(),_0x5f40d4=new Map();for(const _0x56b223 of _0x1bf797){if(_0x3d86b1(0xca)===_0x56b223[_0x3d86b1(0xdb)]&&_0x3d86b1(0xec)!==_0x56b223[_0x3d86b1(0xc9)]&&_0x56b223[_0x3d86b1(0xd4)][_0x3d86b1(0xe9)]){const _0x4f3243=this[_0x3d86b1(0xcc)][_0x3d86b1(0xe8)](_0x56b223[_0x3d86b1(0xd4)][_0x3d86b1(0xe9)]);for(const _0x54ed0a of _0x4f3243[_0x3d86b1(0xd6)]()){if(!_0x54ed0a['is'](_0x3d86b1(0xce),this[_0x3d86b1(0xd1)]))continue;const _0x3e2aaf=this[_0x3d86b1(0xde)](_0x54ed0a);_0x5f40d4[_0x3d86b1(0xcf)](_0x3e2aaf)||_0x5f40d4[_0x3d86b1(0xd8)](_0x3e2aaf,[]),_0x5f40d4[_0x3d86b1(0xea)](_0x3e2aaf)[_0x3d86b1(0xe4)](_0x54ed0a);}}if(_0x3d86b1(0xe1)===_0x56b223[_0x3d86b1(0xdb)]&&_0x56b223[_0x3d86b1(0xc9)]===this[_0x3d86b1(0xd1)]){const _0x5867db=this[_0x3d86b1(0xde)]({'getAttribute':_0x50d34e=>_0x56b223[_0x3d86b1(0xd2)][_0x3d86b1(0xea)](_0x50d34e)});_0xe9a38c[_0x3d86b1(0xcd)](_0x5867db);}}for(const [_0x1e2ac1,_0x9aa6f0]of this[_0x3d86b1(0xe3)])_0x3d86b1(0xc6)===_0x9aa6f0[_0x3d86b1(0xc5)][_0x3d86b1(0xe0)]&&_0xe9a38c[_0x3d86b1(0xcd)](_0x1e2ac1);for(const _0xff0c1d of _0xe9a38c)this[_0x3d86b1(0xe3)][_0x3d86b1(0xe2)](_0xff0c1d);for(const [_0x358fa5,_0x38425c]of _0x5f40d4)this[_0x3d86b1(0xe3)][_0x3d86b1(0xd8)](_0x358fa5,_0x38425c[_0x38425c[_0x3d86b1(0xc1)]-0x1]);const _0x30616a=new Set();for(const [_0x5695f3,_0x1fb917]of _0x5f40d4)_0xe9a38c[_0x3d86b1(0xcf)](_0x5695f3)&&(_0x30616a[_0x3d86b1(0xcd)](_0x1fb917[0x0]),_0x1fb917[_0x3d86b1(0xc1)]>0x1?_0x5f40d4[_0x3d86b1(0xd8)](_0x5695f3,_0x1fb917[_0x3d86b1(0xdc)](0x1)):_0x5f40d4[_0x3d86b1(0xe2)](_0x5695f3),_0xe9a38c[_0x3d86b1(0xe2)](_0x5695f3));return{'removed':Array[_0x3d86b1(0xe6)](_0xe9a38c),'inserted':Array[_0x3d86b1(0xe6)](_0x5f40d4[_0x3d86b1(0xd9)]())[_0x3d86b1(0xc2)](),'moved':Array[_0x3d86b1(0xe6)](_0x30616a)};}}