@ckeditor/ckeditor5-footnotes 47.3.0-alpha.5 → 47.3.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 _0x1192ba}from'ckeditor5/src/core.js';import{isWidget as _0x76c9e7,toWidget as _0x2d459c,toWidgetEditable as _0x408522}from'ckeditor5/src/widget.js';import{uid as _0x2205e7}from'ckeditor5/src/utils.js';import{PointerObserver as _0x127257,ClickObserver as _0x4a6a69}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x12962d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2ccf20}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1192ba{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x12962d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2988fa}=this;_0x2988fa['config']['define']('footnotes.multiBlock',!0x0),_0x2988fa['commands']['add']('insertFootnote',new _0x2ccf20(_0x2988fa)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1d30f2){const _0x1381be=_0x1f962c([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]),_0x4fab72=0x47a28506,_0x2599d2=0x47a5ffae^_0x4fab72,_0x5c2dfe=window[_0x1f962c([0x44,0x61,0x74,0x65])][_0x1f962c([0x6e,0x6f,0x77])](),_0x262c63=_0x1d30f2[_0x1f962c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4ae08e=new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1cd2e3=>{_0x262c63[_0x1f962c([0x6f,0x6e,0x63,0x65])](_0x1f962c([0x72,0x65,0x61,0x64,0x79]),_0x1cd2e3);}),_0x3d3131={[_0x1f962c([0x6b,0x74,0x79])]:_0x1f962c([0x45,0x43]),[_0x1f962c([0x75,0x73,0x65])]:_0x1f962c([0x73,0x69,0x67]),[_0x1f962c([0x63,0x72,0x76])]:_0x1f962c([0x50,0x2d,0x32,0x35,0x36]),[_0x1f962c([0x78])]:_0x1f962c([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]),[_0x1f962c([0x79])]:_0x1f962c([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]),[_0x1f962c([0x61,0x6c,0x67])]:_0x1f962c([0x45,0x53,0x32,0x35,0x36])},_0x1fdce2=_0x262c63[_0x1f962c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1f962c([0x67,0x65,0x74])](_0x1f962c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x16ed8c(){let _0x5b3097,_0x3b7fe7=null,_0x57043f=null;try{if(_0x1fdce2==_0x1f962c([0x47,0x50,0x4c]))return _0x1f962c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5b3097=_0x2de944(),!_0x5b3097)return _0x1f962c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5b3097[_0x1f962c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x57043f=_0x5cff99(_0x5b3097[_0x1f962c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5b3097[_0x1f962c([0x6a,0x74,0x69])])),await _0x5b1c83()?_0x45da6e()?_0x59557a()?_0x1f962c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x44fbdf()?(_0x5b3097[_0x1f962c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f962c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3b7fe7=_0x5c93b2(_0x1f962c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5b3097[_0x1f962c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1f962c([0x74,0x72,0x69,0x61,0x6c])&&(_0x3b7fe7=_0x5c93b2(_0x1f962c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x56bfe1()):_0x1f962c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1f962c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1f962c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1f962c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59557a(){const _0x3d7433=[_0x1f962c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1f962c([0x74,0x72,0x69,0x61,0x6c])][_0x1f962c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5b3097[_0x1f962c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5c2dfe/0x3e8:0xe10*_0x2599d2;return _0x5b3097[_0x1f962c([0x65,0x78,0x70])]<_0x3d7433;}function _0x45da6e(){const _0x22ae9e=_0x5b3097[_0x1f962c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x22ae9e&&(!!_0x22ae9e[_0x1f962c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f962c([0x2a]))||!!_0x22ae9e[_0x1f962c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f962c([0x46,0x4f,0x4f])));}function _0x44fbdf(){const _0xb75be=_0x5b3097[_0x1f962c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb75be||0x0==_0xb75be[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c1996}=new URL(window[_0x1f962c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb75be[_0x1f962c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c1996))return!0x0;const _0x221ad4=_0x1c1996[_0x1f962c([0x73,0x70,0x6c,0x69,0x74])](_0x1f962c([0x2e]));return _0xb75be[_0x1f962c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1edc11=>_0x1edc11[_0x1f962c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f962c([0x2a])))[_0x1f962c([0x6d,0x61,0x70])](_0x38df03=>_0x38df03[_0x1f962c([0x73,0x70,0x6c,0x69,0x74])](_0x1f962c([0x2e])))[_0x1f962c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bf871=>_0x3bf871[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x221ad4[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f962c([0x6d,0x61,0x70])](_0x3dbe19=>Array(_0x221ad4[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3dbe19[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1f962c([0x66,0x69,0x6c,0x6c])](_0x3dbe19[0x0]===_0x1f962c([0x2a])?_0x1f962c([0x2a]):'')[_0x1f962c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3dbe19))[_0x1f962c([0x73,0x6f,0x6d,0x65])](_0x414da2=>_0x221ad4[_0x1f962c([0x65,0x76,0x65,0x72,0x79])]((_0x30b9db,_0x4c296d)=>_0x414da2[_0x4c296d]===_0x30b9db||_0x414da2[_0x4c296d]===_0x1f962c([0x2a])));}function _0x56bfe1(){return _0x3b7fe7&&_0x57043f?new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2f87ca,_0x2f06cf)=>{_0x3b7fe7[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x2f87ca,_0x2f06cf),_0x57043f[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x4da0e=>{_0x4da0e!=_0x1f962c([0x56,0x61,0x6c,0x69,0x64])&&_0x2f87ca(_0x4da0e);},_0x2f06cf);}):_0x3b7fe7||_0x57043f||_0x1f962c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5cff99(_0x134c42,_0x4ae1af){return new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x27056a=>{if(_0x381cb0())return _0x27056a(_0x1f962c([0x56,0x61,0x6c,0x69,0x64]));_0x69ace4(),_0x262c63[_0x1f962c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1f962c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x172f7e=!0x1;const _0x8535e0=_0x2205e7();function _0x568bc0(_0x4efe0b){return!!_0x4efe0b&&(typeof _0x4efe0b===_0x1f962c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4efe0b===_0x1f962c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4efe0b[_0x1f962c([0x74,0x68,0x65,0x6e])]===_0x1f962c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4efe0b[_0x1f962c([0x63,0x61,0x74,0x63,0x68])]===_0x1f962c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ba382(_0x3d78d4){_0x298645(_0x3d78d4)[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x42456a=>{if(!_0x42456a||_0x42456a[_0x1f962c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1f962c([0x6f,0x6b]))return _0x1f962c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x20a12a(_0x2b8797(_0x8535e0+_0x4ae1af))!=_0x42456a[_0x1f962c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1f962c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1f962c([0x56,0x61,0x6c,0x69,0x64]);})[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x1a1d74=>(_0x55f786(),_0x1a1d74),()=>{const _0x580a7c=_0x5e6e64();return null==_0x580a7c?(_0x55f786(),_0x1f962c([0x56,0x61,0x6c,0x69,0x64])):_0x1f962c(_0x5c2dfe-_0x580a7c>(0x63ae0106^_0x4fab72)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x27056a)[_0x1f962c([0x63,0x61,0x74,0x63,0x68])](()=>{_0x27056a(_0x1f962c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x35512f=0x47946b86^_0x4fab72;function _0x55f786(){const _0x34a9ba=_0x1f962c([0x6c,0x6c,0x63,0x74,0x2d])+_0x20a12a(_0x2b8797(_0x134c42)),_0x1a4207=_0x1aa356(_0x20a12a(window[_0x1f962c([0x4d,0x61,0x74,0x68])][_0x1f962c([0x63,0x65,0x69,0x6c])](_0x5c2dfe/_0x35512f)));window[_0x1f962c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f962c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x34a9ba,_0x1a4207);}function _0x5e6e64(){const _0x14a77c=_0x1f962c([0x6c,0x6c,0x63,0x74,0x2d])+_0x20a12a(_0x2b8797(_0x134c42)),_0x568da6=window[_0x1f962c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1f962c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x14a77c);return _0x568da6?window[_0x1f962c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1aa356(_0x568da6),0x10)*_0x35512f:null;}function _0x298645(_0xf3e79e){return new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43b7a1,_0x5436ed)=>{_0xf3e79e[_0x1f962c([0x74,0x68,0x65,0x6e])](_0x43b7a1,_0x5436ed),window[_0x1f962c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5436ed,0x47a351c6^_0x4fab72);});}}_0x262c63[_0x1f962c([0x6f,0x6e])](_0x1f962c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x376d8c,_0x4948cd)=>{if(_0x4948cd[0x0]!=_0x134c42)return _0x27056a(_0x1f962c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4948cd[0x1]={..._0x4948cd[0x1],[_0x1f962c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x8535e0};},{[_0x1f962c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f962c([0x68,0x69,0x67,0x68])}),_0x262c63[_0x1f962c([0x6f,0x6e])](_0x1f962c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x231552=>{_0x568bc0(_0x231552[_0x1f962c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x172f7e=!0x0,_0x5ba382(_0x231552[_0x1f962c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1f962c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1f962c([0x6c,0x6f,0x77])}),_0x4ae08e[_0x1f962c([0x74,0x68,0x65,0x6e])](()=>{_0x172f7e||_0x27056a(_0x1f962c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x381cb0(){return _0x262c63[_0x1f962c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f962c([0x76,0x69,0x65,0x77])][_0x1f962c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1f962c([0x61,0x75,0x74,0x6f]);}function _0x69ace4(){_0x262c63[_0x1f962c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1f962c([0x76,0x69,0x65,0x77])][_0x1f962c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1f962c([0x61,0x75,0x74,0x6f]);}}function _0x5c93b2(_0x3c7f28){const _0x4785da=[new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d90ea=>setTimeout(_0x5d90ea,0x47abbbca^_0x4fab72)),_0x4ae08e[_0x1f962c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x51e59b=>{let _0xd63082=0x0;_0x262c63[_0x1f962c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f962c([0x6f,0x6e])](_0x1f962c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34d4ec,_0x2a6d84)=>{_0x2a6d84[0x0][_0x1f962c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xd63082++,_0xd63082==(0x47a284fe^_0x4fab72)&&(_0x51e59b(),_0x34d4ec[_0x1f962c([0x6f,0x66,0x66])]());});}))];return window[_0x1f962c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1f962c([0x72,0x61,0x63,0x65])](_0x4785da)[_0x1f962c([0x74,0x68,0x65,0x6e])](()=>_0x3c7f28);}async function _0x1404bb(){await _0x4ae08e,_0x262c63[_0x1f962c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f962c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae154,_0x262c63[_0x1f962c([0x6d,0x6f,0x64,0x65,0x6c])][_0x1f962c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x2ae154,_0x262c63[_0x1f962c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1f962c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x20ef46(_0x49a4b4){const _0x58a0d3=_0x15dde2();_0x262c63[_0x58a0d3]=_0x1f962c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x49a4b4,_0x49a4b4!=_0x1f962c([0x56,0x61,0x6c,0x69,0x64])&&_0x1404bb();}function _0x15dde2(){const _0x16bd56=window[_0x1f962c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1f962c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1f962c([0x6e,0x6f,0x77])]())[_0x1f962c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1f962c([0x2e]),'');let _0x1ecebd=_0x1f962c([0x75]);for(let _0x372b81=0x0;_0x372b81<_0x16bd56[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x372b81+=0x2){let _0x5704ee=window[_0x1f962c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x16bd56[_0x1f962c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x372b81,_0x372b81+0x2));_0x5704ee>=_0x1381be[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5704ee-=_0x1381be[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1ecebd+=_0x1381be[_0x5704ee];}return _0x1ecebd;}function _0x2de944(){const _0x31f169=_0x1fdce2[_0x1f962c([0x73,0x70,0x6c,0x69,0x74])](_0x1f962c([0x2e]));if(0x3!=_0x31f169[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1f4a44(_0x31f169[0x1]);function _0x1f4a44(_0x33ea6f){const _0x294477=_0x40c5a3(_0x33ea6f);return _0x294477&&_0x275e54()?_0x294477:null;function _0x275e54(){const _0x214a9d=_0x294477[_0x1f962c([0x6a,0x74,0x69])],_0x240ba1=window[_0x1f962c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x214a9d[_0x1f962c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x214a9d[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x5882b5={..._0x294477,[_0x1f962c([0x6a,0x74,0x69])]:_0x214a9d[_0x1f962c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x214a9d[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x5882b5[_0x1f962c([0x76,0x63])],_0x2b8797(_0x5882b5)==_0x240ba1;}}}async function _0x5b1c83(){let _0x3f1103=!0x0;try{const _0x408238=_0x1fdce2[_0x1f962c([0x73,0x70,0x6c,0x69,0x74])](_0x1f962c([0x2e])),[_0x56643b,_0x1e6828,_0x2be0da]=_0x408238;return _0x52a5dd(_0x56643b),await _0x2f27c6(_0x56643b,_0x1e6828,_0x2be0da),_0x3f1103;}catch{return!0x1;}function _0x52a5dd(_0x4eb7c1){const _0x5e8bf9=_0x40c5a3(_0x4eb7c1);_0x5e8bf9&&_0x5e8bf9[_0x1f962c([0x61,0x6c,0x67])]==_0x1f962c([0x45,0x53,0x32,0x35,0x36])||(_0x3f1103=!0x1);}async function _0x2f27c6(_0x567664,_0x3b0f99,_0x3d0579){const _0x1891dd=window[_0x1f962c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1f962c([0x66,0x72,0x6f,0x6d])](_0x534c7f(_0x3d0579),_0x48c177=>_0x48c177[_0x1f962c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1a8fcf=new window[(_0x1f962c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1f962c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x567664+_0x1f962c([0x2e])+_0x3b0f99),_0xeaa36a=window[_0x1f962c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1f962c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xeaa36a)return;const _0x50b774=await _0xeaa36a[_0x1f962c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1f962c([0x6a,0x77,0x6b]),_0x3d3131,{[_0x1f962c([0x6e,0x61,0x6d,0x65])]:_0x1f962c([0x45,0x43,0x44,0x53,0x41]),[_0x1f962c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1f962c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1f962c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xeaa36a[_0x1f962c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1f962c([0x6e,0x61,0x6d,0x65])]:_0x1f962c([0x45,0x43,0x44,0x53,0x41]),[_0x1f962c([0x68,0x61,0x73,0x68])]:{[_0x1f962c([0x6e,0x61,0x6d,0x65])]:_0x1f962c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x50b774,_0x1891dd,_0x1a8fcf)||(_0x3f1103=!0x1);}}function _0x40c5a3(_0x27159e){return _0x27159e[_0x1f962c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1f962c([0x65,0x79]))?JSON[_0x1f962c([0x70,0x61,0x72,0x73,0x65])](_0x534c7f(_0x27159e)):null;}function _0x534c7f(_0x7ca32e){return window[_0x1f962c([0x61,0x74,0x6f,0x62])](_0x7ca32e[_0x1f962c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1f962c([0x2b]))[_0x1f962c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1f962c([0x2f])));}function _0x2b8797(_0x14925a){let _0x51d902=0x1505;function _0x272c51(_0x246e8a){for(let _0x2c0fd6=0x0;_0x2c0fd6<_0x246e8a[_0x1f962c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c0fd6++){const _0x5e1e41=_0x246e8a[_0x1f962c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2c0fd6);_0x51d902=(_0x51d902<<0x5)+_0x51d902+_0x5e1e41,_0x51d902&=_0x51d902;}}function _0x81676f(_0x15cea2){Array[_0x1f962c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x15cea2)?_0x15cea2[_0x1f962c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x81676f):_0x15cea2&&typeof _0x15cea2==_0x1f962c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1f962c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x15cea2)[_0x1f962c([0x73,0x6f,0x72,0x74])]()[_0x1f962c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x9c833c,_0x5c422e])=>{_0x272c51(_0x9c833c),_0x81676f(_0x5c422e);}):_0x272c51(window[_0x1f962c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x15cea2));}return _0x81676f(_0x14925a),_0x51d902>>>0x0;}function _0x20a12a(_0x57feff){return _0x57feff[_0x1f962c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1f962c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1f962c([0x30]));}function _0x1aa356(_0x5a4295){return _0x5a4295[_0x1f962c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1f962c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1f962c([0x6a,0x6f,0x69,0x6e])]('');}function _0x2ae154(){}function _0x1f962c(_0xa0c484){return _0xa0c484['map'](_0x44b9b8=>String['fromCharCode'](_0x44b9b8))['join']('');}_0x20ef46(await _0x16ed8c());}(this);}['_moveSelectionToFootnoteDefinition'](_0x12dec6){const {plugins:_0x49187f,editing:_0x31ea60,model:_0x266ac6}=this['editor'],_0x1301b9=_0x49187f['get'](_0x12962d)['getFootnote'](_0x12dec6);return!!_0x1301b9&&(_0x266ac6['change'](_0x63e937=>{_0x63e937['setSelection'](_0x63e937['createPositionAt'](_0x1301b9['definition'],'end'));}),_0x31ea60['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2cc4ae){const {plugins:_0x1244ed,editing:_0x9a5071,model:_0x95b653}=this['editor'],_0x40545f=_0x1244ed['get'](_0x12962d)['getFootnote'](_0x2cc4ae);return!!_0x40545f&&(_0x95b653['change'](_0x42c080=>{_0x42c080['setSelection'](_0x40545f['reference'],'on');}),_0x9a5071['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x52c2f2}=this['editor']['model'],_0x2aa41e=this['editor']['config']['get']('footnotes.multiBlock');_0x52c2f2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x52c2f2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x52c2f2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2aa41e?_0x52c2f2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x52c2f2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x52c2f2['addChildCheck'](_0xcc64cd=>{for(const _0x30f6f7 of _0xcc64cd)if('footnoteDefinition'===_0x30f6f7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2b32a2}=this,{conversion:_0x1236ac,editing:_0x2bab16}=_0x2b32a2,{t:t}=_0x2b32a2['locale'];_0x1236ac['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x50db41,{writer:_0x341169,consumable:_0x7bd141})=>{const _0x552a42=_0x50db41['getChild'](0x0);if(!_0x552a42||!_0x552a42['is']('element','a'))return null;const _0x313222=_0x552a42['getAttribute']('href')||'';if(!_0x313222['startsWith']('#'))return null;const _0x4fedab=_0x313222['replace'](/^#/,'');if(!_0x4fedab)return null;_0x7bd141['consume'](_0x552a42,{'name':!0x0,'attributes':['href']});for(const {item:_0x31ddfc}of _0x2bab16['view']['createRangeIn'](_0x552a42))_0x31ddfc['is']('$textProxy')?_0x7bd141['consume'](_0x31ddfc['textNode'],{'name':!0x0}):_0x31ddfc['is']('element')&&_0x7bd141['consume'](_0x31ddfc,{'name':!0x0});return _0x341169['createElement']('footnoteRef',{'footnoteId':_0x4fedab});}}),_0x1236ac['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1190c1,{writer:_0x8d4d47})=>D(_0x1190c1,_0x8d4d47)}),_0x1236ac['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x38c0b0,{writer:_0x1b0da0})=>{const _0x3e2767=_0x38c0b0['getAttribute']('footnoteCounter');return _0x2d459c(D(_0x38c0b0,_0x1b0da0),_0x1b0da0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3e2767)});}});}['_defineDefinitionsConverters'](){const {editor:_0x28c6e6}=this,{t:t}=_0x28c6e6['locale'],{conversion:_0x33d69b}=_0x28c6e6;_0x33d69b['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x33d69b['for']('upcast')['add'](_0x969e5=>{_0x969e5['on']('element:ol',(_0x3264bd,_0x298255,_0x403e1a)=>{const _0x5e7e80=_0x298255['viewItem'];if(!_0x5e7e80['hasClass']('footnotes-list')||!_0x298255['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x403e1a['consumable']['consume'](_0x5e7e80,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x203b7c,modelCursor:_0x3a1541}=_0x403e1a['convertChildren'](_0x298255['viewItem'],_0x298255['modelCursor']);_0x298255['modelRange']=_0x203b7c,_0x298255['modelCursor']=_0x3a1541;}),_0x969e5['on']('element:hr',(_0x5d3190,_0x5a0bc7,_0x5370a1)=>{const _0x944014=_0x5a0bc7['viewItem'];_0x944014['hasClass']('footnotes-divider')&&_0x5a0bc7['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5370a1['consumable']['consume'](_0x944014,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x33d69b['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1b3454,{writer:_0x14bd18})=>v(_0x14bd18)}),_0x33d69b['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5d03e3,{writer:_0x21d095})=>{const _0x2877be=v(_0x21d095,{'data-footnotes-list-label':t('Footnotes')}),_0x158199=_0x2d459c(_0x2877be,_0x21d095,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x21d095['setCustomProperty']('footnotesDefinitions',!0x0,_0x158199),_0x158199;}});}['_defineDefinitionConverters'](){const {editor:_0x41883f}=this,{conversion:_0xf1b775,locale:_0x28d2b8}=_0x41883f,_0x51f450=_0x41883f['config']['get']('footnotes.multiBlock');_0xf1b775['for']('upcast')['add'](_0x4bde67=>{_0x4bde67['on']('element:li',(_0xc555b,_0x45bf09,_0x4a0f04)=>{const _0x3a02a1=_0x45bf09['viewItem'];if(!_0x3a02a1['hasClass']('footnote-definition')||!_0x3a02a1['getAttribute']('id'))return;const _0x36cee3=_0x3a02a1['parent'];if(!_0x36cee3['is']('element','ol')||!_0x36cee3['hasClass']('footnotes-list'))return;if(!_0x4a0f04['consumable']['test'](_0x3a02a1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x426719=_0x4a0f04['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3a02a1['getAttribute']('id')});if(!_0x4a0f04['safeInsert'](_0x426719,_0x45bf09['modelCursor']))return;_0x4a0f04['consumable']['consume'](_0x3a02a1,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5ddda4=Array['from'](_0x3a02a1['getChildren']())['find'](_0x3ffcb3=>_0x3ffcb3['is']('element')&&_0x3ffcb3['hasClass']('footnote-content'));for(const _0x4d26a6 of _0x3a02a1['getChildren']())_0x4d26a6['is']('element')&&(_0x4a0f04['consumable']['consume'](_0x4d26a6,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x4a0f04['consumable']['consume'](_0x4d26a6,{'name':!0x0,'classes':'footnote-content'}));if(_0x5ddda4){if(_0x51f450)_0x4a0f04['convertChildren'](_0x5ddda4,_0x426719);else{const _0x53f1ab=_0x4a0f04['writer']['createElement']('footnoteInlineContent');_0x4a0f04['writer']['insert'](_0x53f1ab,_0x426719),_0x4a0f04['convertChildren'](_0x5ddda4,_0x53f1ab);}}_0x4a0f04['updateConversionResult'](_0x426719,_0x45bf09);});}),_0xf1b775['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4d6433,{writer:_0x42d974})=>b(_0x4d6433,_0x42d974,_0x28d2b8,{'dataPipeline':!0x0})}),_0xf1b775['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2123b5,{writer:_0x2d3c0b})=>b(_0x2123b5,_0x2d3c0b,_0x28d2b8)});}['_defineBogusParagraphConverters'](){const {editor:_0x41a977}=this,{conversion:_0x3da185}=_0x41a977;_0x41a977['config']['get']('footnotes.multiBlock')?(_0x3da185['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x3da185['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x41a977['model']['document'],'change:data',()=>{!function(_0x34ba63,_0x57f6c6){const _0x1657f6=_0x34ba63['document']['differ'],_0x386b5d=new Set();for(const _0x536884 of _0x1657f6['getChanges']()){const _0x2fe347='attribute'==_0x536884['type']?_0x536884['range']['start']['parent']:_0x536884['position']['parent'];_0x2fe347['is']('element','footnoteDefinition')&&_0x386b5d['add'](_0x2fe347);}for(const _0x1f92ab of _0x386b5d['values']()){const _0x35e02f=Array['from'](_0x1f92ab['getChildren']())['filter'](_0x4a2c4d=>g(_0x4a2c4d,_0x57f6c6['mapper']));for(const _0x28a103 of _0x35e02f)_0x57f6c6['reconvertItem'](_0x28a103);}}(_0x41a977['model'],_0x41a977['editing']);})):(_0x3da185['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x3da185['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3bb078,{writer:_0xb69de})=>{const _0x3f12d1=_0xb69de['createContainerElement']('span');return _0xb69de['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3f12d1),_0x3f12d1;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4e2ae8}=this,{editing:_0x9e2a95,t:t}=_0x4e2ae8,_0x45d721=_0x4e2ae8['model']['document']['selection'];_0x4e2ae8['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4e2ae8['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x9e2a95['view']['document'],'enter',(_0x5baf67,_0x46fcf9)=>{const _0x2eee73=function(_0x2270c5){const _0x343e87=_0x2270c5['getSelectedElement']();if(_0x343e87?.['is']('element','footnoteRef'))return _0x343e87;return null;}(_0x45d721);if(_0x2eee73){const _0x4768e4=_0x2eee73['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x4768e4),_0x46fcf9['preventDefault'](),_0x5baf67['stop']();}},{'context':_0x76c9e7});}['_defineClickHandlers'](){const {editor:_0x34e4f9}=this,{editing:_0x39f3db}=_0x34e4f9;_0x34e4f9['editing']['view']['addObserver'](_0x127257),_0x34e4f9['editing']['view']['addObserver'](_0x4a6a69);let _0x434b99=!0x1;this['listenTo'](_0x39f3db['view']['document'],'pointerdown',(_0x573f8a,_0x38649b)=>{const {target:_0x2ae1cd}=_0x38649b,_0x345695=_0x39f3db['view']['document']['selection'];_0x434b99=!!(_0x2ae1cd?.['is']('element','a')&&_0x2ae1cd['parent']?.['is']('element','sup')&&_0x2ae1cd['parent']['hasClass']('footnote'))&&_0x345695['getSelectedElement']()===_0x2ae1cd['parent'];},{'priority':'high'}),this['listenTo'](_0x39f3db['view']['document'],'click',(_0x1460e0,_0x8fedf6)=>{const {target:_0x16ed03}=_0x8fedf6;if(!_0x16ed03?.['is']('element','a'))return;if(_0x16ed03['parent']?.['is']('element','sup')&&_0x16ed03['parent']['hasClass']('footnote')&&!_0x434b99)return void _0x8fedf6['preventDefault']();let _0x256d23=_0x16ed03['getAttribute']('href');if(!_0x256d23?.['startsWith']('#'))return;_0x256d23=_0x256d23['slice'](0x1);let _0x29ebf8=!0x1;(_0x256d23['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x256d23['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x256d23))&&(_0x29ebf8=!0x0),_0x29ebf8&&(_0x8fedf6['preventDefault'](),_0x1460e0['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x387e26}={}){return(_0x4ea943,{writer:_0x25d345})=>{if(!p(_0x4ea943))return null;if(!_0x387e26)return _0x25d345['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2e8455=_0x25d345['createContainerElement']('p');return _0x25d345['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2e8455),_0x2e8455;};}function p(_0x542897){const {parent:_0x1f6e87}=_0x542897;if(!_0x1f6e87?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1f6e87['childCount'])return!0x1;for(const _0x4d376e of _0x542897['getAttributeKeys']())if(!_0x4d376e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4d376e)return!0x1;return!0x0;}function g(_0x35cada,_0x4fb98a){if(!_0x35cada['is']('element','paragraph'))return!0x1;const _0x3ccee4=_0x4fb98a['toViewElement'](_0x35cada);return!!_0x3ccee4&&p(_0x35cada)!==_0x3ccee4['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x519ffc){return _0x76c9e7(_0x519ffc)&&_0x519ffc['is']('containerElement')&&!!_0x519ffc['getCustomProperty']('footnotesDefinitions');}function v(_0x35d437,_0x2fa35c={}){const _0x1db638=_0x35d437['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x3efd15=_0x35d437['createContainerElement']('ol',{'class':'footnotes-list'},_0x35d437['createSlot']());return _0x35d437['createContainerElement']('div',{'class':'footnotes',..._0x2fa35c},[_0x1db638,_0x3efd15]);}function D(_0x88357c,_0x11822c){const _0x3c5e95=_0x88357c['getAttribute']('footnoteId'),_0x2002e2=_0x88357c['getAttribute']('footnoteCounter'),_0x1f06ea=_0x11822c['createUIElement']('a',{'href':'#'+_0x3c5e95},function(_0x3abba4){const _0x48fc43=this['toDomElement'](_0x3abba4);return _0x48fc43['textContent']=_0x2002e2,_0x48fc43;}),_0x3cf735=_0x11822c['createContainerElement']('sup',{'id':'ref-'+_0x3c5e95,'class':'footnote'},[_0x1f06ea]);return _0x3cf735['getFillerOffset']=()=>null,_0x3cf735;}function b(_0x50d28e,_0x3885b2,_0x2fc403,{dataPipeline:_0x39cdfc}={}){const {t:t}=_0x2fc403,_0x679356=_0x50d28e['getAttribute']('footnoteId'),_0x25a5e5=_0x3885b2['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x679356},function(_0xf95146){const _0x5f1d15=this['toDomElement'](_0xf95146);return _0x5f1d15['innerText']='^',_0x5f1d15;}),_0x1554a0=_0x39cdfc?_0x3885b2['createContainerElement']('div',{'class':'footnote-content'}):_0x408522(_0x3885b2['createEditableElement']('div',{'class':'footnote-content'}),_0x3885b2,{'label':t('Footnote\x20content.')});return _0x3885b2['insert'](_0x3885b2['createPositionAt'](_0x1554a0,0x0),_0x3885b2['createSlot']()),_0x3885b2['createContainerElement']('li',{'class':'footnote-definition','id':_0x679356},[_0x25a5e5,_0x1554a0]);}
23
+ import{Plugin as _0x4a7ce7}from'ckeditor5/src/core.js';import{isWidget as _0x41bbdf,toWidget as _0x1fe759,toWidgetEditable as _0x2b3a24}from'ckeditor5/src/widget.js';import{uid as _0x595492}from'ckeditor5/src/utils.js';import{PointerObserver as _0x275f68,ClickObserver as _0xee558d}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x4c5a9c}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1c7b57}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4a7ce7{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x4c5a9c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x570aff}=this;_0x570aff['config']['define']('footnotes.multiBlock',!0x0),_0x570aff['commands']['add']('insertFootnote',new _0x1c7b57(_0x570aff)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x57027e){const _0x4824eb=_0x5d7527([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]),_0x323c56=0x47a28506,_0x4ec207=0x47a5ffc6^_0x323c56,_0x8569ed=window[_0x5d7527([0x44,0x61,0x74,0x65])][_0x5d7527([0x6e,0x6f,0x77])](),_0x53cc67=_0x57027e[_0x5d7527([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x54ef68=new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x154553=>{_0x53cc67[_0x5d7527([0x6f,0x6e,0x63,0x65])](_0x5d7527([0x72,0x65,0x61,0x64,0x79]),_0x154553);}),_0x265db4={[_0x5d7527([0x6b,0x74,0x79])]:_0x5d7527([0x45,0x43]),[_0x5d7527([0x75,0x73,0x65])]:_0x5d7527([0x73,0x69,0x67]),[_0x5d7527([0x63,0x72,0x76])]:_0x5d7527([0x50,0x2d,0x32,0x35,0x36]),[_0x5d7527([0x78])]:_0x5d7527([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]),[_0x5d7527([0x79])]:_0x5d7527([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]),[_0x5d7527([0x61,0x6c,0x67])]:_0x5d7527([0x45,0x53,0x32,0x35,0x36])},_0xf3a30e=_0x53cc67[_0x5d7527([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5d7527([0x67,0x65,0x74])](_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3fc70d(){let _0xf58d31,_0xf073e3=null,_0x4e0007=null;try{if(_0xf3a30e==_0x5d7527([0x47,0x50,0x4c]))return _0x5d7527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xf58d31=_0x18449e(),!_0xf58d31)return _0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xf58d31[_0x5d7527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4e0007=_0x2257e5(_0xf58d31[_0x5d7527([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xf58d31[_0x5d7527([0x6a,0x74,0x69])])),await _0x13885e()?_0x252c00()?_0x580648()?_0x5d7527([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1e3c20()?(_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0xf073e3=_0x597aa5(_0x5d7527([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5d7527([0x74,0x72,0x69,0x61,0x6c])&&(_0xf073e3=_0x597aa5(_0x5d7527([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x517131()):_0x5d7527([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7527([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5d7527([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x580648(){const _0x1e7223=[_0x5d7527([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5d7527([0x74,0x72,0x69,0x61,0x6c])][_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x8569ed/0x3e8:0xe10*_0x4ec207;return _0xf58d31[_0x5d7527([0x65,0x78,0x70])]<_0x1e7223;}function _0x252c00(){const _0x457f27=_0xf58d31[_0x5d7527([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x457f27&&(!!_0x457f27[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x2a]))||!!_0x457f27[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x46,0x4f,0x4f])));}function _0x1e3c20(){const _0x50a71f=_0xf58d31[_0x5d7527([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x50a71f||0x0==_0x50a71f[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1bc817}=new URL(window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x50a71f[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1bc817))return!0x0;const _0x5310d7=_0x1bc817[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e]));return _0x50a71f[_0x5d7527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5f3aac=>_0x5f3aac[_0x5d7527([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5d7527([0x2a])))[_0x5d7527([0x6d,0x61,0x70])](_0x197309=>_0x197309[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e])))[_0x5d7527([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d6c90=>_0x2d6c90[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5310d7[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d7527([0x6d,0x61,0x70])](_0x2a04aa=>Array(_0x5310d7[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2a04aa[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5d7527([0x66,0x69,0x6c,0x6c])](_0x2a04aa[0x0]===_0x5d7527([0x2a])?_0x5d7527([0x2a]):'')[_0x5d7527([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2a04aa))[_0x5d7527([0x73,0x6f,0x6d,0x65])](_0x5b19ab=>_0x5310d7[_0x5d7527([0x65,0x76,0x65,0x72,0x79])]((_0x295cfd,_0x1df27f)=>_0x5b19ab[_0x1df27f]===_0x295cfd||_0x5b19ab[_0x1df27f]===_0x5d7527([0x2a])));}function _0x517131(){return _0xf073e3&&_0x4e0007?new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x552bae,_0x5f27ab)=>{_0xf073e3[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x552bae,_0x5f27ab),_0x4e0007[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x185112=>{_0x185112!=_0x5d7527([0x56,0x61,0x6c,0x69,0x64])&&_0x552bae(_0x185112);},_0x5f27ab);}):_0xf073e3||_0x4e0007||_0x5d7527([0x56,0x61,0x6c,0x69,0x64]);}}function _0x2257e5(_0x29f787,_0x5783b5){return new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a1d69=>{if(_0x458bd7())return _0x5a1d69(_0x5d7527([0x56,0x61,0x6c,0x69,0x64]));_0x5f2ef2(),_0x53cc67[_0x5d7527([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x287356=!0x1;const _0x2a8b6b=_0x595492();function _0x59e3e3(_0x381699){return!!_0x381699&&(typeof _0x381699===_0x5d7527([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x381699===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x381699[_0x5d7527([0x74,0x68,0x65,0x6e])]===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x381699[_0x5d7527([0x63,0x61,0x74,0x63,0x68])]===_0x5d7527([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x555473(_0x334067){_0x55ce73(_0x334067)[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x3fbc4e=>{if(!_0x3fbc4e||_0x3fbc4e[_0x5d7527([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5d7527([0x6f,0x6b]))return _0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x40cc39(_0x496398(_0x2a8b6b+_0x5783b5))!=_0x3fbc4e[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5d7527([0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x54d3a8=>(_0x50c08a(),_0x54d3a8),()=>{const _0x29a89a=_0x28925b();return null==_0x29a89a?(_0x50c08a(),_0x5d7527([0x56,0x61,0x6c,0x69,0x64])):_0x5d7527(_0x8569ed-_0x29a89a>(0x63ae0106^_0x323c56)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x5a1d69)[_0x5d7527([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x4a5ceb=0x47946b86^_0x323c56;function _0x50c08a(){const _0x133584=_0x5d7527([0x6c,0x6c,0x63,0x74,0x2d])+_0x40cc39(_0x496398(_0x29f787)),_0x387457=_0x45c66a(_0x40cc39(window[_0x5d7527([0x4d,0x61,0x74,0x68])][_0x5d7527([0x63,0x65,0x69,0x6c])](_0x8569ed/_0x4a5ceb)));window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7527([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x133584,_0x387457);}function _0x28925b(){const _0x471495=_0x5d7527([0x6c,0x6c,0x63,0x74,0x2d])+_0x40cc39(_0x496398(_0x29f787)),_0x137e20=window[_0x5d7527([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5d7527([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x471495);return _0x137e20?window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45c66a(_0x137e20),0x10)*_0x4a5ceb:null;}function _0x55ce73(_0x2a630b){return new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x4a67a1,_0x56be63)=>{_0x2a630b[_0x5d7527([0x74,0x68,0x65,0x6e])](_0x4a67a1,_0x56be63),window[_0x5d7527([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x56be63,0x47a351c6^_0x323c56);});}}_0x53cc67[_0x5d7527([0x6f,0x6e])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0xce9165,_0x412db8)=>{if(_0x412db8[0x0]!=_0x29f787)return _0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x412db8[0x1]={..._0x412db8[0x1],[_0x5d7527([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2a8b6b};},{[_0x5d7527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7527([0x68,0x69,0x67,0x68])}),_0x53cc67[_0x5d7527([0x6f,0x6e])](_0x5d7527([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xe15b88=>{_0x59e3e3(_0xe15b88[_0x5d7527([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x287356=!0x0,_0x555473(_0xe15b88[_0x5d7527([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5d7527([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5d7527([0x6c,0x6f,0x77])}),_0x54ef68[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>{_0x287356||_0x5a1d69(_0x5d7527([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x458bd7(){return _0x53cc67[_0x5d7527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7527([0x76,0x69,0x65,0x77])][_0x5d7527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5d7527([0x61,0x75,0x74,0x6f]);}function _0x5f2ef2(){_0x53cc67[_0x5d7527([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5d7527([0x76,0x69,0x65,0x77])][_0x5d7527([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5d7527([0x61,0x75,0x74,0x6f]);}}function _0x597aa5(_0x278bf7){const _0x5b5d25=[new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x15272c=>setTimeout(_0x15272c,0x47abbbca^_0x323c56)),_0x54ef68[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xf7d0dd=>{let _0x296daf=0x0;_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x6f,0x6e])](_0x5d7527([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x19d1f8,_0xa727cf)=>{_0xa727cf[0x0][_0x5d7527([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x296daf++,_0x296daf==(0x47a284fe^_0x323c56)&&(_0xf7d0dd(),_0x19d1f8[_0x5d7527([0x6f,0x66,0x66])]());});}))];return window[_0x5d7527([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5d7527([0x72,0x61,0x63,0x65])](_0x5b5d25)[_0x5d7527([0x74,0x68,0x65,0x6e])](()=>_0x278bf7);}async function _0x34f496(){await _0x54ef68,_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x110781,_0x53cc67[_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c])][_0x5d7527([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x110781,_0x53cc67[_0x5d7527([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5d7527([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x26d11b(_0x28a05b){const _0x2f1f47=_0x5a2083();_0x53cc67[_0x2f1f47]=_0x5d7527([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x28a05b,_0x28a05b!=_0x5d7527([0x56,0x61,0x6c,0x69,0x64])&&_0x34f496();}function _0x5a2083(){const _0x748367=window[_0x5d7527([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5d7527([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5d7527([0x6e,0x6f,0x77])]())[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5d7527([0x2e]),'');let _0x54f6dc=_0x5d7527([0x75]);for(let _0x52fad7=0x0;_0x52fad7<_0x748367[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x52fad7+=0x2){let _0x5725c3=window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x748367[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52fad7,_0x52fad7+0x2));_0x5725c3>=_0x4824eb[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5725c3-=_0x4824eb[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x54f6dc+=_0x4824eb[_0x5725c3];}return _0x54f6dc;}function _0x18449e(){const _0x42f72a=_0xf3a30e[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e]));if(0x3!=_0x42f72a[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x138336(_0x42f72a[0x1]);function _0x138336(_0x5e98e0){const _0xec5bed=_0x4f1053(_0x5e98e0);return _0xec5bed&&_0x539030()?_0xec5bed:null;function _0x539030(){const _0x426bad=_0xec5bed[_0x5d7527([0x6a,0x74,0x69])],_0x45abef=window[_0x5d7527([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x426bad[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x426bad[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2699f1={..._0xec5bed,[_0x5d7527([0x6a,0x74,0x69])]:_0x426bad[_0x5d7527([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x426bad[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2699f1[_0x5d7527([0x76,0x63])],_0x496398(_0x2699f1)==_0x45abef;}}}async function _0x13885e(){let _0x2fb952=!0x0;try{const _0x4548d6=_0xf3a30e[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])](_0x5d7527([0x2e])),[_0x225ab1,_0x39dba2,_0x21301a]=_0x4548d6;return _0x324dc3(_0x225ab1),await _0x2de8df(_0x225ab1,_0x39dba2,_0x21301a),_0x2fb952;}catch{return!0x1;}function _0x324dc3(_0x4ef783){const _0x421454=_0x4f1053(_0x4ef783);_0x421454&&_0x421454[_0x5d7527([0x61,0x6c,0x67])]==_0x5d7527([0x45,0x53,0x32,0x35,0x36])||(_0x2fb952=!0x1);}async function _0x2de8df(_0x54cf1f,_0xff717f,_0x5e2cfb){const _0x3aaa03=window[_0x5d7527([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5d7527([0x66,0x72,0x6f,0x6d])](_0x36b2d9(_0x5e2cfb),_0x13b413=>_0x13b413[_0x5d7527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x3390e7=new window[(_0x5d7527([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5d7527([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x54cf1f+_0x5d7527([0x2e])+_0xff717f),_0x2ea342=window[_0x5d7527([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5d7527([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ea342)return;const _0x115e48=await _0x2ea342[_0x5d7527([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5d7527([0x6a,0x77,0x6b]),_0x265db4,{[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x45,0x43,0x44,0x53,0x41]),[_0x5d7527([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5d7527([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ea342[_0x5d7527([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x45,0x43,0x44,0x53,0x41]),[_0x5d7527([0x68,0x61,0x73,0x68])]:{[_0x5d7527([0x6e,0x61,0x6d,0x65])]:_0x5d7527([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x115e48,_0x3aaa03,_0x3390e7)||(_0x2fb952=!0x1);}}function _0x4f1053(_0x5c6e09){return _0x5c6e09[_0x5d7527([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5d7527([0x65,0x79]))?JSON[_0x5d7527([0x70,0x61,0x72,0x73,0x65])](_0x36b2d9(_0x5c6e09)):null;}function _0x36b2d9(_0xd1a431){return window[_0x5d7527([0x61,0x74,0x6f,0x62])](_0xd1a431[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5d7527([0x2b]))[_0x5d7527([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5d7527([0x2f])));}function _0x496398(_0x38243c){let _0x1f63be=0x1505;function _0x500fdb(_0x34214c){for(let _0x1698d5=0x0;_0x1698d5<_0x34214c[_0x5d7527([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1698d5++){const _0x2905f3=_0x34214c[_0x5d7527([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1698d5);_0x1f63be=(_0x1f63be<<0x5)+_0x1f63be+_0x2905f3,_0x1f63be&=_0x1f63be;}}function _0x36b8cc(_0x34a5e9){Array[_0x5d7527([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x34a5e9)?_0x34a5e9[_0x5d7527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x36b8cc):_0x34a5e9&&typeof _0x34a5e9==_0x5d7527([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5d7527([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x34a5e9)[_0x5d7527([0x73,0x6f,0x72,0x74])]()[_0x5d7527([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x14be57,_0x2dbedc])=>{_0x500fdb(_0x14be57),_0x36b8cc(_0x2dbedc);}):_0x500fdb(window[_0x5d7527([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x34a5e9));}return _0x36b8cc(_0x38243c),_0x1f63be>>>0x0;}function _0x40cc39(_0x4278df){return _0x4278df[_0x5d7527([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5d7527([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5d7527([0x30]));}function _0x45c66a(_0x11dc38){return _0x11dc38[_0x5d7527([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5d7527([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5d7527([0x6a,0x6f,0x69,0x6e])]('');}function _0x110781(){}function _0x5d7527(_0x16b9c0){return _0x16b9c0['map'](_0x564374=>String['fromCharCode'](_0x564374))['join']('');}_0x26d11b(await _0x3fc70d());}(this);}['_moveSelectionToFootnoteDefinition'](_0x87453a){const {plugins:_0x25a3b1,editing:_0xed0382,model:_0x17e7f3}=this['editor'],_0x449d79=_0x25a3b1['get'](_0x4c5a9c)['getFootnote'](_0x87453a);return!!_0x449d79&&(_0x17e7f3['change'](_0x2740a7=>{_0x2740a7['setSelection'](_0x2740a7['createPositionAt'](_0x449d79['definition'],'end'));}),_0xed0382['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x299317){const {plugins:_0x473316,editing:_0x9e276f,model:_0x5c1331}=this['editor'],_0x571477=_0x473316['get'](_0x4c5a9c)['getFootnote'](_0x299317);return!!_0x571477&&(_0x5c1331['change'](_0x76234f=>{_0x76234f['setSelection'](_0x571477['reference'],'on');}),_0x9e276f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x177102}=this['editor']['model'],_0xdeb06a=this['editor']['config']['get']('footnotes.multiBlock');_0x177102['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x177102['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x177102['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xdeb06a?_0x177102['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x177102['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x177102['addChildCheck'](_0x165f2b=>{for(const _0x368a43 of _0x165f2b)if('footnoteDefinition'===_0x368a43['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5c8c93}=this,{conversion:_0x2132dd,editing:_0x1223bb}=_0x5c8c93,{t:t}=_0x5c8c93['locale'];_0x2132dd['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52caca,{writer:_0x3888f0,consumable:_0x5d8da3})=>{const _0x161cd1=_0x52caca['getChild'](0x0);if(!_0x161cd1||!_0x161cd1['is']('element','a'))return null;const _0x7ac1f5=_0x161cd1['getAttribute']('href')||'';if(!_0x7ac1f5['startsWith']('#'))return null;const _0x29132a=_0x7ac1f5['replace'](/^#/,'');if(!_0x29132a)return null;_0x5d8da3['consume'](_0x161cd1,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ba68b}of _0x1223bb['view']['createRangeIn'](_0x161cd1))_0x1ba68b['is']('$textProxy')?_0x5d8da3['consume'](_0x1ba68b['textNode'],{'name':!0x0}):_0x1ba68b['is']('element')&&_0x5d8da3['consume'](_0x1ba68b,{'name':!0x0});return _0x3888f0['createElement']('footnoteRef',{'footnoteId':_0x29132a});}}),_0x2132dd['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x9b2a4c,{writer:_0x366058})=>D(_0x9b2a4c,_0x366058)}),_0x2132dd['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1355ab,{writer:_0x441b14})=>{const _0x4444bb=_0x1355ab['getAttribute']('footnoteCounter');return _0x1fe759(D(_0x1355ab,_0x441b14),_0x441b14,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4444bb)});}});}['_defineDefinitionsConverters'](){const {editor:_0x3e79d8}=this,{t:t}=_0x3e79d8['locale'],{conversion:_0x1c571}=_0x3e79d8;_0x1c571['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c571['for']('upcast')['add'](_0x2e39e7=>{_0x2e39e7['on']('element:ol',(_0x311e99,_0x13dd4f,_0x255ade)=>{const _0x12feb7=_0x13dd4f['viewItem'];if(!_0x12feb7['hasClass']('footnotes-list')||!_0x13dd4f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x255ade['consumable']['consume'](_0x12feb7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x3aa9df,modelCursor:_0x33b5ea}=_0x255ade['convertChildren'](_0x13dd4f['viewItem'],_0x13dd4f['modelCursor']);_0x13dd4f['modelRange']=_0x3aa9df,_0x13dd4f['modelCursor']=_0x33b5ea;}),_0x2e39e7['on']('element:hr',(_0x440f5d,_0x59434f,_0x5792f6)=>{const _0x506d39=_0x59434f['viewItem'];_0x506d39['hasClass']('footnotes-divider')&&_0x59434f['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5792f6['consumable']['consume'](_0x506d39,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c571['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x17451b,{writer:_0x38c506})=>v(_0x38c506)}),_0x1c571['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x54be17,{writer:_0x19388b})=>{const _0x3d0b03=v(_0x19388b,{'data-footnotes-list-label':t('Footnotes')}),_0x29600c=_0x1fe759(_0x3d0b03,_0x19388b,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x19388b['setCustomProperty']('footnotesDefinitions',!0x0,_0x29600c),_0x29600c;}});}['_defineDefinitionConverters'](){const {editor:_0x4563f1}=this,{conversion:_0x47eb14,locale:_0x5dd4fc}=_0x4563f1,_0x50ea9f=_0x4563f1['config']['get']('footnotes.multiBlock');_0x47eb14['for']('upcast')['add'](_0x7768aa=>{_0x7768aa['on']('element:li',(_0x3c2382,_0x262c7b,_0x483519)=>{const _0x37467a=_0x262c7b['viewItem'];if(!_0x37467a['hasClass']('footnote-definition')||!_0x37467a['getAttribute']('id'))return;const _0x203f4b=_0x37467a['parent'];if(!_0x203f4b['is']('element','ol')||!_0x203f4b['hasClass']('footnotes-list'))return;if(!_0x483519['consumable']['test'](_0x37467a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3b03ef=_0x483519['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x37467a['getAttribute']('id')});if(!_0x483519['safeInsert'](_0x3b03ef,_0x262c7b['modelCursor']))return;_0x483519['consumable']['consume'](_0x37467a,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x26406f=Array['from'](_0x37467a['getChildren']())['find'](_0x5561c1=>_0x5561c1['is']('element')&&_0x5561c1['hasClass']('footnote-content'));for(const _0x382767 of _0x37467a['getChildren']())_0x382767['is']('element')&&(_0x483519['consumable']['consume'](_0x382767,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x483519['consumable']['consume'](_0x382767,{'name':!0x0,'classes':'footnote-content'}));if(_0x26406f){if(_0x50ea9f)_0x483519['convertChildren'](_0x26406f,_0x3b03ef);else{const _0x3690ce=_0x483519['writer']['createElement']('footnoteInlineContent');_0x483519['writer']['insert'](_0x3690ce,_0x3b03ef),_0x483519['convertChildren'](_0x26406f,_0x3690ce);}}_0x483519['updateConversionResult'](_0x3b03ef,_0x262c7b);});}),_0x47eb14['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x38fb3c,{writer:_0x581ccb})=>b(_0x38fb3c,_0x581ccb,_0x5dd4fc,{'dataPipeline':!0x0})}),_0x47eb14['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x181064,{writer:_0x435afe})=>b(_0x181064,_0x435afe,_0x5dd4fc)});}['_defineBogusParagraphConverters'](){const {editor:_0x35710a}=this,{conversion:_0x11cac1}=_0x35710a;_0x35710a['config']['get']('footnotes.multiBlock')?(_0x11cac1['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x11cac1['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35710a['model']['document'],'change:data',()=>{!function(_0x580643,_0x212a34){const _0x483de1=_0x580643['document']['differ'],_0xf8c2de=new Set();for(const _0x123cc1 of _0x483de1['getChanges']()){const _0xcbe79c='attribute'==_0x123cc1['type']?_0x123cc1['range']['start']['parent']:_0x123cc1['position']['parent'];_0xcbe79c['is']('element','footnoteDefinition')&&_0xf8c2de['add'](_0xcbe79c);}for(const _0x111773 of _0xf8c2de['values']()){const _0xdd3461=Array['from'](_0x111773['getChildren']())['filter'](_0x461b92=>g(_0x461b92,_0x212a34['mapper']));for(const _0x9b59d of _0xdd3461)_0x212a34['reconvertItem'](_0x9b59d);}}(_0x35710a['model'],_0x35710a['editing']);})):(_0x11cac1['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x11cac1['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x1e2454,{writer:_0x56f33c})=>{const _0x3df675=_0x56f33c['createContainerElement']('span');return _0x56f33c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3df675),_0x3df675;}}));}['_defineKeyboardHandlers'](){const {editor:_0x105adb}=this,{editing:_0x53caf2,t:t}=_0x105adb,_0xb82979=_0x105adb['model']['document']['selection'];_0x105adb['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x105adb['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x53caf2['view']['document'],'enter',(_0x202fda,_0x2462f2)=>{const _0x4fffbb=function(_0xb7791d){const _0x31e4d4=_0xb7791d['getSelectedElement']();if(_0x31e4d4?.['is']('element','footnoteRef'))return _0x31e4d4;return null;}(_0xb82979);if(_0x4fffbb){const _0x7edc68=_0x4fffbb['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x7edc68),_0x2462f2['preventDefault'](),_0x202fda['stop']();}},{'context':_0x41bbdf});}['_defineClickHandlers'](){const {editor:_0x5306d5}=this,{editing:_0x592b9a}=_0x5306d5;_0x5306d5['editing']['view']['addObserver'](_0x275f68),_0x5306d5['editing']['view']['addObserver'](_0xee558d);let _0x2fac9b=!0x1;this['listenTo'](_0x592b9a['view']['document'],'pointerdown',(_0x431669,_0x573306)=>{const {target:_0x10dc6e}=_0x573306,_0x3642a4=_0x592b9a['view']['document']['selection'];_0x2fac9b=!!(_0x10dc6e?.['is']('element','a')&&_0x10dc6e['parent']?.['is']('element','sup')&&_0x10dc6e['parent']['hasClass']('footnote'))&&_0x3642a4['getSelectedElement']()===_0x10dc6e['parent'];},{'priority':'high'}),this['listenTo'](_0x592b9a['view']['document'],'click',(_0x1213a0,_0x1e5067)=>{const {target:_0x5349c9}=_0x1e5067;if(!_0x5349c9?.['is']('element','a'))return;if(_0x5349c9['parent']?.['is']('element','sup')&&_0x5349c9['parent']['hasClass']('footnote')&&!_0x2fac9b)return void _0x1e5067['preventDefault']();let _0x179e23=_0x5349c9['getAttribute']('href');if(!_0x179e23?.['startsWith']('#'))return;_0x179e23=_0x179e23['slice'](0x1);let _0x574f55=!0x1;(_0x179e23['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x179e23['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x179e23))&&(_0x574f55=!0x0),_0x574f55&&(_0x1e5067['preventDefault'](),_0x1213a0['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3058ee}={}){return(_0x472243,{writer:_0x6b6f17})=>{if(!p(_0x472243))return null;if(!_0x3058ee)return _0x6b6f17['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3750f1=_0x6b6f17['createContainerElement']('p');return _0x6b6f17['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3750f1),_0x3750f1;};}function p(_0x5447bb){const {parent:_0xa81ef8}=_0x5447bb;if(!_0xa81ef8?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0xa81ef8['childCount'])return!0x1;for(const _0x1a451a of _0x5447bb['getAttributeKeys']())if(!_0x1a451a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x1a451a)return!0x1;return!0x0;}function g(_0x55124d,_0x38b619){if(!_0x55124d['is']('element','paragraph'))return!0x1;const _0x5939d1=_0x38b619['toViewElement'](_0x55124d);return!!_0x5939d1&&p(_0x55124d)!==_0x5939d1['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3a6719){return _0x41bbdf(_0x3a6719)&&_0x3a6719['is']('containerElement')&&!!_0x3a6719['getCustomProperty']('footnotesDefinitions');}function v(_0x4ecb95,_0x8ef5bb={}){const _0x46b3e8=_0x4ecb95['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x106a6a=_0x4ecb95['createContainerElement']('ol',{'class':'footnotes-list'},_0x4ecb95['createSlot']());return _0x4ecb95['createContainerElement']('div',{'class':'footnotes',..._0x8ef5bb},[_0x46b3e8,_0x106a6a]);}function D(_0x3548a4,_0x40bb5e){const _0x729463=_0x3548a4['getAttribute']('footnoteId'),_0xdcdac1=_0x3548a4['getAttribute']('footnoteCounter'),_0x5709ff=_0x40bb5e['createUIElement']('a',{'href':'#'+_0x729463},function(_0x10c497){const _0x5cc664=this['toDomElement'](_0x10c497);return _0x5cc664['textContent']=_0xdcdac1,_0x5cc664;}),_0x6c5c23=_0x40bb5e['createContainerElement']('sup',{'id':'ref-'+_0x729463,'class':'footnote'},[_0x5709ff]);return _0x6c5c23['getFillerOffset']=()=>null,_0x6c5c23;}function b(_0x2ac7c3,_0x591d74,_0x1d16a4,{dataPipeline:_0x302cc2}={}){const {t:t}=_0x1d16a4,_0x45adc2=_0x2ac7c3['getAttribute']('footnoteId'),_0x1b2874=_0x591d74['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x45adc2},function(_0x337025){const _0x55e254=this['toDomElement'](_0x337025);return _0x55e254['innerText']='^',_0x55e254;}),_0x134adc=_0x302cc2?_0x591d74['createContainerElement']('div',{'class':'footnote-content'}):_0x2b3a24(_0x591d74['createEditableElement']('div',{'class':'footnote-content'}),_0x591d74,{'label':t('Footnote\x20content.')});return _0x591d74['insert'](_0x591d74['createPositionAt'](_0x134adc,0x0),_0x591d74['createSlot']()),_0x591d74['createContainerElement']('li',{'class':'footnote-definition','id':_0x45adc2},[_0x1b2874,_0x134adc]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x217565=_0x1ad0;(function(_0x365e59,_0x1e2dcf){const _0x47a667=_0x1ad0,_0x9fbde2=_0x365e59();while(!![]){try{const _0x44b0f8=parseInt(_0x47a667(0x17f))/0x1+-parseInt(_0x47a667(0x183))/0x2*(parseInt(_0x47a667(0x177))/0x3)+-parseInt(_0x47a667(0x17c))/0x4+parseInt(_0x47a667(0x174))/0x5+parseInt(_0x47a667(0x187))/0x6+parseInt(_0x47a667(0x17b))/0x7*(parseInt(_0x47a667(0x172))/0x8)+-parseInt(_0x47a667(0x17a))/0x9;if(_0x44b0f8===_0x1e2dcf)break;else _0x9fbde2['push'](_0x9fbde2['shift']());}catch(_0x40ff5e){_0x9fbde2['push'](_0x9fbde2['shift']());}}}(_0x12ae,0xceb3a));import{Command as _0x22279a}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3865bb}from'../../footnotestracker.js';function _0x12ae(){const _0x5f2e63=['isInteger','853737gWQxls','_updateFootnotesCounters','setAttribute','getAttribute','13798UUyZYE','isEnabled','get','getFootnotesDefinitionsObjectElement','1881816cOZNJP','model','8XrrTlq','value','1698680SdUpds','execute','footnotesListStart','267ieaNDC','refresh','change','9433359sCZryT','10754233GTeazx','2138464IaAUpx','plugins'];_0x12ae=function(){return _0x5f2e63;};return _0x12ae();}function _0x1ad0(_0x373a13,_0x1ff926){const _0x12aeef=_0x12ae();return _0x1ad0=function(_0x1ad02f,_0x30af26){_0x1ad02f=_0x1ad02f-0x172;let _0x200d5c=_0x12aeef[_0x1ad02f];return _0x200d5c;},_0x1ad0(_0x373a13,_0x1ff926);}export class FootnotesStartCommand extends _0x22279a{[_0x217565(0x178)](){const _0x4cedb7=_0x217565,{editor:_0x5ab72a}=this,_0x45e17f=_0x5ab72a[_0x4cedb7(0x17d)][_0x4cedb7(0x185)](_0x3865bb)[_0x4cedb7(0x186)]();this[_0x4cedb7(0x184)]=!!_0x45e17f,this[_0x4cedb7(0x173)]=_0x45e17f?.[_0x4cedb7(0x182)](_0x4cedb7(0x176))??null;}[_0x217565(0x175)]({value:_0x105cdc}){const _0x57ff4c=_0x217565,{editor:_0x218430}=this,_0x51ea59=_0x218430[_0x57ff4c(0x17d)][_0x57ff4c(0x185)](_0x3865bb),_0x2978f6=_0x51ea59[_0x57ff4c(0x186)]();_0x2978f6&&Number[_0x57ff4c(0x17e)](_0x105cdc)&&_0x218430[_0x57ff4c(0x188)][_0x57ff4c(0x179)](_0x1b74fe=>{const _0x3caf07=_0x57ff4c;_0x1b74fe[_0x3caf07(0x181)](_0x3caf07(0x176),_0x105cdc,_0x2978f6),_0x51ea59[_0x3caf07(0x180)](_0x1b74fe);});}}
23
+ const _0x17d2e8=_0x21a0;(function(_0x10296f,_0x3ce937){const _0x5ab4f8=_0x21a0,_0x42bf38=_0x10296f();while(!![]){try{const _0x23465c=-parseInt(_0x5ab4f8(0x163))/0x1+parseInt(_0x5ab4f8(0x157))/0x2*(-parseInt(_0x5ab4f8(0x15b))/0x3)+parseInt(_0x5ab4f8(0x155))/0x4+parseInt(_0x5ab4f8(0x156))/0x5+-parseInt(_0x5ab4f8(0x153))/0x6+-parseInt(_0x5ab4f8(0x15f))/0x7+parseInt(_0x5ab4f8(0x158))/0x8;if(_0x23465c===_0x3ce937)break;else _0x42bf38['push'](_0x42bf38['shift']());}catch(_0x5dbb31){_0x42bf38['push'](_0x42bf38['shift']());}}}(_0x17f4,0x63a0a));import{Command as _0xc1b212}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x22629d}from'../../footnotestracker.js';function _0x21a0(_0x396ed2,_0x4df09b){const _0x17f47d=_0x17f4();return _0x21a0=function(_0x21a009,_0x154b64){_0x21a009=_0x21a009-0x14f;let _0x596f2d=_0x17f47d[_0x21a009];return _0x596f2d;},_0x21a0(_0x396ed2,_0x4df09b);}export class FootnotesStartCommand extends _0xc1b212{[_0x17d2e8(0x151)](){const _0x2eb8aa=_0x17d2e8,{editor:_0x4ff10b}=this,_0x55e008=_0x4ff10b[_0x2eb8aa(0x161)][_0x2eb8aa(0x162)](_0x22629d)[_0x2eb8aa(0x15a)]();this[_0x2eb8aa(0x15e)]=!!_0x55e008,this[_0x2eb8aa(0x15d)]=_0x55e008?.[_0x2eb8aa(0x154)](_0x2eb8aa(0x160))??null;}[_0x17d2e8(0x14f)]({value:_0x3b017d}){const _0x398ca8=_0x17d2e8,{editor:_0x370762}=this,_0x4917d8=_0x370762[_0x398ca8(0x161)][_0x398ca8(0x162)](_0x22629d),_0x1e5080=_0x4917d8[_0x398ca8(0x15a)]();_0x1e5080&&Number[_0x398ca8(0x159)](_0x3b017d)&&_0x370762[_0x398ca8(0x150)][_0x398ca8(0x15c)](_0x500908=>{const _0x130080=_0x398ca8;_0x500908[_0x130080(0x152)](_0x130080(0x160),_0x3b017d,_0x1e5080),_0x4917d8[_0x130080(0x164)](_0x500908);});}}function _0x17f4(){const _0x2b9fa4=['_updateFootnotesCounters','execute','model','refresh','setAttribute','3618954kRheGP','getAttribute','2850580VHsEEt','3663320usmGcL','158266BSHvvG','12295408oAazSh','isInteger','getFootnotesDefinitionsObjectElement','27NmjHOt','change','value','isEnabled','5235664dieQPi','footnotesListStart','plugins','get','510853cHtIik'];_0x17f4=function(){return _0x2b9fa4;};return _0x17f4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2b010f=_0x3fe0;function _0x593d(){const _0x58eeb3=['71148oUOinD','value','change','_updateFootnotesCounters','includes','4403791saFFuM','setAttribute','3926cymfgr','3727590RZQSCM','execute','9lYcXZa','130gqDcMZ','1240ZxgUAP','5WWdazs','refresh','getFootnotesDefinitionsObjectElement','model','plugins','74vlrudF','get','8318264GjiuAC','3062620rtqZEI','isEnabled','2051748EcPWFi','footnotesListStyle','3vcwxVm','getAttribute'];_0x593d=function(){return _0x58eeb3;};return _0x593d();}(function(_0x3d071c,_0x579b1d){const _0x7dca5f=_0x3fe0,_0x59e31d=_0x3d071c();while(!![]){try{const _0x3ffd9e=parseInt(_0x7dca5f(0xdb))/0x1*(-parseInt(_0x7dca5f(0xe6))/0x2)+-parseInt(_0x7dca5f(0xed))/0x3*(parseInt(_0x7dca5f(0xe9))/0x4)+-parseInt(_0x7dca5f(0xe1))/0x5*(-parseInt(_0x7dca5f(0xdc))/0x6)+-parseInt(_0x7dca5f(0xf4))/0x7+-parseInt(_0x7dca5f(0xe8))/0x8*(parseInt(_0x7dca5f(0xde))/0x9)+parseInt(_0x7dca5f(0xe0))/0xa*(parseInt(_0x7dca5f(0xef))/0xb)+parseInt(_0x7dca5f(0xeb))/0xc*(parseInt(_0x7dca5f(0xdf))/0xd);if(_0x3ffd9e===_0x579b1d)break;else _0x59e31d['push'](_0x59e31d['shift']());}catch(_0x9b1ba7){_0x59e31d['push'](_0x59e31d['shift']());}}}(_0x593d,0x8713a));import{Command as _0x2787c6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xf0de0f}from'../footnotespropertiesconfig.js';function _0x3fe0(_0xa2c09a,_0x278968){const _0x593dc8=_0x593d();return _0x3fe0=function(_0x3fe00a,_0xd3799d){_0x3fe00a=_0x3fe00a-0xda;let _0xb3e504=_0x593dc8[_0x3fe00a];return _0xb3e504;},_0x3fe0(_0xa2c09a,_0x278968);}import{FootnotesTracker as _0x11dd7d}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x2787c6{[_0x2b010f(0xe2)](){const _0x5f22b6=_0x2b010f,{editor:_0x3c7e79}=this,_0x1d9253=_0x3c7e79[_0x5f22b6(0xe5)][_0x5f22b6(0xe7)](_0x11dd7d)[_0x5f22b6(0xe3)]();this[_0x5f22b6(0xea)]=!!_0x1d9253,this[_0x5f22b6(0xf0)]=_0x1d9253?.[_0x5f22b6(0xee)](_0x5f22b6(0xec))??null;}[_0x2b010f(0xdd)]({value:_0x2ebae0}){const _0x501b84=_0x2b010f,{editor:_0x3b3657}=this,_0x30ca13=_0x3b3657[_0x501b84(0xe5)][_0x501b84(0xe7)](_0x11dd7d),_0x3cb87f=_0x30ca13[_0x501b84(0xe3)]();_0x3cb87f&&_0xf0de0f[_0x501b84(0xf3)](_0x2ebae0)&&_0x3b3657[_0x501b84(0xe4)][_0x501b84(0xf1)](_0x512252=>{const _0x18d88a=_0x501b84;_0x512252[_0x18d88a(0xda)](_0x18d88a(0xec),_0x2ebae0,_0x3cb87f),_0x30ca13[_0x18d88a(0xf2)](_0x512252);});}}
23
+ function _0x3e5d(_0x3f6d0c,_0x26c9b0){const _0x4882f5=_0x4882();return _0x3e5d=function(_0x3e5d17,_0x95a898){_0x3e5d17=_0x3e5d17-0x130;let _0xafc258=_0x4882f5[_0x3e5d17];return _0xafc258;},_0x3e5d(_0x3f6d0c,_0x26c9b0);}const _0x252fa4=_0x3e5d;(function(_0x172726,_0x1d04a8){const _0x3d035a=_0x3e5d,_0x1f19cc=_0x172726();while(!![]){try{const _0x540ad3=-parseInt(_0x3d035a(0x146))/0x1*(parseInt(_0x3d035a(0x130))/0x2)+-parseInt(_0x3d035a(0x13a))/0x3*(-parseInt(_0x3d035a(0x137))/0x4)+-parseInt(_0x3d035a(0x138))/0x5*(-parseInt(_0x3d035a(0x131))/0x6)+-parseInt(_0x3d035a(0x14a))/0x7+parseInt(_0x3d035a(0x143))/0x8*(-parseInt(_0x3d035a(0x132))/0x9)+parseInt(_0x3d035a(0x148))/0xa*(parseInt(_0x3d035a(0x135))/0xb)+parseInt(_0x3d035a(0x141))/0xc*(parseInt(_0x3d035a(0x149))/0xd);if(_0x540ad3===_0x1d04a8)break;else _0x1f19cc['push'](_0x1f19cc['shift']());}catch(_0x3a4407){_0x1f19cc['push'](_0x1f19cc['shift']());}}}(_0x4882,0x35833));import{Command as _0x24aaa6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0xc7159a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1d1f7f}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x24aaa6{[_0x252fa4(0x13e)](){const _0xcb6565=_0x252fa4,{editor:_0x2d4e3f}=this,_0x5dff3e=_0x2d4e3f[_0xcb6565(0x145)][_0xcb6565(0x13c)](_0x1d1f7f)[_0xcb6565(0x140)]();this[_0xcb6565(0x147)]=!!_0x5dff3e,this[_0xcb6565(0x13d)]=_0x5dff3e?.[_0xcb6565(0x134)](_0xcb6565(0x13f))??null;}[_0x252fa4(0x139)]({value:_0x41aa1c}){const _0x3b720b=_0x252fa4,{editor:_0x29d158}=this,_0x3d5567=_0x29d158[_0x3b720b(0x145)][_0x3b720b(0x13c)](_0x1d1f7f),_0x10b83c=_0x3d5567[_0x3b720b(0x140)]();_0x10b83c&&_0xc7159a[_0x3b720b(0x133)](_0x41aa1c)&&_0x29d158[_0x3b720b(0x142)][_0x3b720b(0x136)](_0xc5c400=>{const _0x461d5c=_0x3b720b;_0xc5c400[_0x461d5c(0x13b)](_0x461d5c(0x13f),_0x41aa1c,_0x10b83c),_0x3d5567[_0x461d5c(0x144)](_0xc5c400);});}}function _0x4882(){const _0x5c9217=['3tqnvvf','setAttribute','get','value','refresh','footnotesListStyle','getFootnotesDefinitionsObjectElement','348828zWYmch','model','568fUdKRw','_updateFootnotesCounters','plugins','84947clEFwC','isEnabled','3816730xLGVmu','286MlaDbF','2385915RVATNv','4ASeIeG','6nzxhXS','54801ibifmv','includes','getAttribute','11tPBbMw','change','359596PVizAw','255775kXXZba','execute'];_0x4882=function(){return _0x5c9217;};return _0x4882();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0xf85e(_0x28cdf1,_0x1e761d){const _0x1dc5b8=_0x1dc5();return _0xf85e=function(_0xf85ef0,_0x187a29){_0xf85ef0=_0xf85ef0-0x167;let _0x3c13d7=_0x1dc5b8[_0xf85ef0];return _0x3c13d7;},_0xf85e(_0x28cdf1,_0x1e761d);}const _0x1a0438=_0xf85e;(function(_0x54c4cc,_0x5d23e6){const _0x1fd791=_0xf85e,_0x4a7280=_0x54c4cc();while(!![]){try{const _0x49662f=parseInt(_0x1fd791(0x170))/0x1*(parseInt(_0x1fd791(0x16b))/0x2)+parseInt(_0x1fd791(0x172))/0x3*(-parseInt(_0x1fd791(0x171))/0x4)+-parseInt(_0x1fd791(0x16f))/0x5+-parseInt(_0x1fd791(0x16d))/0x6*(-parseInt(_0x1fd791(0x177))/0x7)+-parseInt(_0x1fd791(0x175))/0x8*(parseInt(_0x1fd791(0x179))/0x9)+-parseInt(_0x1fd791(0x16a))/0xa*(-parseInt(_0x1fd791(0x17a))/0xb)+parseInt(_0x1fd791(0x167))/0xc;if(_0x49662f===_0x5d23e6)break;else _0x4a7280['push'](_0x4a7280['shift']());}catch(_0x1b34a6){_0x4a7280['push'](_0x4a7280['shift']());}}}(_0x1dc5,0xe2773));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x1a0438(0x168),_0x1a0438(0x176),_0x1a0438(0x178),_0x1a0438(0x169),_0x1a0438(0x16e),_0x1a0438(0x173),_0x1a0438(0x16c),_0x1a0438(0x174)];function _0x1dc5(){const _0x377e30=['240DHjWnG','decimal-leading-zero','35mOWHeC','lower-latin','383742vFupDr','22NSYDTX','49630776CTDqFM','decimal','upper-latin','2077150UrSZzC','179412NwADCP','lower-roman','33246cKfqVn','lower-alpha','8683740XgCuWT','13RemTLg','116240JkCrJP','186SaKFfN','upper-alpha','upper-roman'];_0x1dc5=function(){return _0x377e30;};return _0x1dc5();}
23
+ function _0x2d84(){const _0x58aa19=['41lNqFmn','decimal-leading-zero','8186OQxtzJ','4256148ysXWSr','upper-latin','251960jGjzyA','decimal','12bLEqYo','1701736OvaGMv','68010brHgyw','54NAtWVQ','63260Tcrocb','lower-alpha','lower-roman','lower-latin','414AnfPPz','upper-alpha','7zDrjJx','upper-roman','1387276URDHHM'];_0x2d84=function(){return _0x58aa19;};return _0x2d84();}function _0x18e7(_0x4d0694,_0x45b9f3){const _0x2d8471=_0x2d84();return _0x18e7=function(_0x18e72c,_0x22e568){_0x18e72c=_0x18e72c-0x64;let _0x14c7a0=_0x2d8471[_0x18e72c];return _0x14c7a0;},_0x18e7(_0x4d0694,_0x45b9f3);}const _0x44f50a=_0x18e7;(function(_0x58841a,_0x4032c3){const _0x56a637=_0x18e7,_0x38d736=_0x58841a();while(!![]){try{const _0x5c2265=parseInt(_0x56a637(0x72))/0x1*(parseInt(_0x56a637(0x74))/0x2)+-parseInt(_0x56a637(0x68))/0x3*(parseInt(_0x56a637(0x69))/0x4)+parseInt(_0x56a637(0x77))/0x5*(-parseInt(_0x56a637(0x65))/0x6)+-parseInt(_0x56a637(0x6f))/0x7*(-parseInt(_0x56a637(0x66))/0x8)+-parseInt(_0x56a637(0x6d))/0x9*(parseInt(_0x56a637(0x67))/0xa)+parseInt(_0x56a637(0x71))/0xb+parseInt(_0x56a637(0x75))/0xc;if(_0x5c2265===_0x4032c3)break;else _0x38d736['push'](_0x38d736['shift']());}catch(_0x109c58){_0x38d736['push'](_0x38d736['shift']());}}}(_0x2d84,0x27cd1));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x44f50a(0x64),_0x44f50a(0x73),_0x44f50a(0x6c),_0x44f50a(0x76),_0x44f50a(0x6a),_0x44f50a(0x6e),_0x44f50a(0x6b),_0x44f50a(0x70)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4bff(){const _0x16cc56=['parent','hasAttribute','start','20XHTHak','891991WAdaWn','mapper','isOfficialPlugin','setAttribute','upper-latin','add','isNaN','fromCharCode','setStyle','10703759hbywsi','footnotes.footnotesProperties.defaultListStyle','removeStyle','toViewElement','find','element:ol','position','padStart','7hlXgEb','attribute:footnotesListStyle:footnotesDefinitions','modelCursor','footnotesStyle','_defineConverters','getChanges','_getDefaultListStyle','367527VzHKEe','_defineFormatter','_defineSchema','_formatFootnoteListValue','lower-alpha','writer','lower-roman','getChildren','footnotesListStyle','2UHHVJT','parseInt','list-style-type','define','extend','createRangeOn','1038xytWdd','_definePostfixer','2342169cEdYzn','footnotesDefinitions','item','lower-latin','footnotes.footnotesProperties.defaultStartIndex','commands','isPremiumPlugin','$text','editor','registerPostFixer','footnotesListStart','config','35210LYlVoP','type','attribute:footnotesListStart:footnotesDefinitions','removeAttribute','getStyle','name','floor','consumable','checkAttribute','downcast','1411056IXoqwU','3531076hophNe','setFootnoteFormatter','nodeAfter','from','upper-roman','schema','for','requires','viewItem','upcast','_getDefaultStartIndex','document','differ','decimal','insert','footnotes-list','decimal-leading-zero','footnotesStart','FootnotesPropertiesEditing','element','_updateFootnotesCounters','get','getAttribute','init','max','getItems','hasClass','model','toLowerCase','consume','plugins','upper-alpha','pluginName','toUpperCase'];_0x4bff=function(){return _0x16cc56;};return _0x4bff();}const _0x69cbad=_0x52e5;(function(_0x2ee198,_0x5765bb){const _0x5edc9e=_0x52e5,_0x132067=_0x2ee198();while(!![]){try{const _0x4a8e97=-parseInt(_0x5edc9e(0x98))/0x1*(parseInt(_0x5edc9e(0xb9))/0x2)+-parseInt(_0x5edc9e(0xb0))/0x3+-parseInt(_0x5edc9e(0xd8))/0x4+parseInt(_0x5edc9e(0xcd))/0x5*(parseInt(_0x5edc9e(0xbf))/0x6)+-parseInt(_0x5edc9e(0xa9))/0x7*(parseInt(_0x5edc9e(0xd7))/0x8)+-parseInt(_0x5edc9e(0xc1))/0x9+parseInt(_0x5edc9e(0x97))/0xa*(parseInt(_0x5edc9e(0xa1))/0xb);if(_0x4a8e97===_0x5765bb)break;else _0x132067['push'](_0x132067['shift']());}catch(_0x253328){_0x132067['push'](_0x132067['shift']());}}}(_0x4bff,0xcac30));import{Plugin as _0xcc3709}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x50929f}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x181bfd}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x398fa8}from'../footnotestracker.js';import{FootnotesEditing as _0x8eb202}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xcc3709{static get[_0x69cbad(0x92)](){const _0x18ff67=_0x69cbad;return _0x18ff67(0xea);}static get[_0x69cbad(0xdf)](){return[_0x8eb202,_0x398fa8];}static get[_0x69cbad(0x9a)](){return!0x0;}static get[_0x69cbad(0xc7)](){return!0x0;}[_0x69cbad(0x89)](){const _0xbea53a=_0x69cbad,{editor:_0x305524}=this;_0x305524[_0xbea53a(0xcc)][_0xbea53a(0xbc)](_0xbea53a(0xa2),_0xbea53a(0xe5)),_0x305524[_0xbea53a(0xcc)][_0xbea53a(0xbc)](_0xbea53a(0xc5),0x1),_0x305524[_0xbea53a(0xc6)][_0xbea53a(0x9d)](_0xbea53a(0xac),new _0x50929f(_0x305524)),_0x305524[_0xbea53a(0xc6)][_0xbea53a(0x9d)](_0xbea53a(0xe9),new _0x181bfd(_0x305524)),this[_0xbea53a(0xb2)](),this[_0xbea53a(0xad)](),this[_0xbea53a(0xb1)](),this[_0xbea53a(0xc0)]();}[_0x69cbad(0xb2)](){const _0x355a51=_0x69cbad,{editor:_0x18e8e3}=this,{schema:_0x13ce2e}=_0x18e8e3[_0x355a51(0x8d)];_0x13ce2e[_0x355a51(0xbd)](_0x355a51(0xc2),{'allowAttributes':[_0x355a51(0xb8),_0x355a51(0xcb)]});}[_0x69cbad(0xad)](){const _0x563415=_0x69cbad,{editor:_0x5e5ff4}=this,{conversion:_0x576c36,model:_0x53e19c}=_0x5e5ff4,{schema:_0x3cadce}=_0x53e19c;_0x576c36[_0x563415(0xde)](_0x563415(0xe1))[_0x563415(0x9d)](_0x42e6b1=>{const _0x44fd1f=_0x563415;_0x42e6b1['on'](_0x44fd1f(0xa6),(_0x5078b7,_0x7dfaa8,_0x3b4387)=>{const _0x5e4607=_0x44fd1f,_0x23e4f9=_0x7dfaa8[_0x5e4607(0xe0)],_0x2267f7=_0x7dfaa8[_0x5e4607(0xab)]?.[_0x5e4607(0x94)];_0x23e4f9[_0x5e4607(0x8c)](_0x5e4607(0xe7))&&_0x2267f7?.['is'](_0x5e4607(0xeb),_0x5e4607(0xc2))&&(function(_0x166022,_0x568c2b,_0x269621,_0x2ce546){const _0x2a8db8=_0x5e4607;if(!_0x2ce546[_0x2a8db8(0xd5)](_0x568c2b,_0x2a8db8(0xcb)))return;let _0x32be5f=0x1;const _0x572c89=_0x269621[_0x2a8db8(0xd4)][_0x2a8db8(0x8f)](_0x166022,{'attributes':_0x2a8db8(0x96)});if(_0x572c89){const _0x4762b4=Number[_0x2a8db8(0xba)](_0x166022[_0x2a8db8(0x88)](_0x2a8db8(0x96)),0xa);Number[_0x2a8db8(0x9e)](_0x4762b4)||(_0x32be5f=_0x4762b4);}!_0x572c89&&_0x568c2b[_0x2a8db8(0x95)](_0x2a8db8(0xcb))||_0x269621[_0x2a8db8(0xb5)][_0x2a8db8(0x9b)](_0x2a8db8(0xcb),_0x32be5f,_0x568c2b);}(_0x23e4f9,_0x2267f7,_0x3b4387,_0x3cadce),function(_0x436d6a,_0xd48eae,_0x38bb22,_0x3fd390){const _0x2b69d9=_0x5e4607;if(!_0x3fd390[_0x2b69d9(0xd5)](_0xd48eae,_0x2b69d9(0xb8)))return;let _0xbd47a5=_0x2b69d9(0xe5),_0x2e42de=!0x1;if(_0x38bb22[_0x2b69d9(0xd4)][_0x2b69d9(0x8f)](_0x436d6a,{'attributes':_0x2b69d9(0xce)})){const _0x14cc2e={0x1:_0x2b69d9(0xe5),'a':_0x2b69d9(0xb4),'A':_0x2b69d9(0x91),'i':_0x2b69d9(0xb6),'I':_0x2b69d9(0xdc)}[_0x436d6a[_0x2b69d9(0x88)](_0x2b69d9(0xce))];_0x14cc2e&&(_0xbd47a5=_0x14cc2e),_0x2e42de=!0x0;}_0x38bb22[_0x2b69d9(0xd4)][_0x2b69d9(0x8f)](_0x436d6a,{'styles':_0x2b69d9(0xbb)})&&(_0xbd47a5=function(_0x14f77e){const _0x43ee28=_0x2b69d9;switch(_0x14f77e){case _0x43ee28(0xb4):return _0x43ee28(0xc4);case _0x43ee28(0x91):return _0x43ee28(0x9c);default:return _0x14f77e;}}(_0x436d6a[_0x2b69d9(0xd1)](_0x2b69d9(0xbb))),_0x2e42de=!0x0),!_0x2e42de&&_0xd48eae[_0x2b69d9(0x95)](_0x2b69d9(0xb8))||_0x38bb22[_0x2b69d9(0xb5)][_0x2b69d9(0x9b)](_0x2b69d9(0xb8),_0xbd47a5,_0xd48eae);}(_0x23e4f9,_0x2267f7,_0x3b4387,_0x3cadce));});}),_0x576c36[_0x563415(0xde)](_0x563415(0xd6))[_0x563415(0x9d)](_0x203672=>{const _0x3def9f=_0x563415;_0x203672['on'](_0x3def9f(0xcf),(_0x45acbe,_0x15957a,_0x484835)=>{const _0x11642a=_0x3def9f;if(!_0x484835[_0x11642a(0xd4)][_0x11642a(0x8f)](_0x15957a[_0x11642a(0xc3)],_0x45acbe[_0x11642a(0xd2)]))return;const _0x4898b3=M(_0x15957a[_0x11642a(0xc3)],_0x484835[_0x11642a(0x99)]),{attributeNewValue:_0x3d037a}=_0x15957a;null==_0x3d037a||0x1===_0x3d037a?_0x484835[_0x11642a(0xb5)][_0x11642a(0xd0)](_0x11642a(0x96),_0x4898b3):_0x484835[_0x11642a(0xb5)][_0x11642a(0x9b)](_0x11642a(0x96),String(_0x3d037a),_0x4898b3);}),_0x203672['on'](_0x3def9f(0xaa),(_0x18e7dd,_0x14bbea,_0x3f0eb7)=>{const _0x35c1ba=_0x3def9f;if(!_0x3f0eb7[_0x35c1ba(0xd4)][_0x35c1ba(0x8f)](_0x14bbea[_0x35c1ba(0xc3)],_0x18e7dd[_0x35c1ba(0xd2)]))return;const _0x2f557c=M(_0x14bbea[_0x35c1ba(0xc3)],_0x3f0eb7[_0x35c1ba(0x99)]),{attributeNewValue:_0x3bcb41}=_0x14bbea;_0x3bcb41&&_0x35c1ba(0xe5)!==_0x3bcb41?_0x3f0eb7[_0x35c1ba(0xb5)][_0x35c1ba(0xa0)](_0x35c1ba(0xbb),_0x3bcb41,_0x2f557c):_0x3f0eb7[_0x35c1ba(0xb5)][_0x35c1ba(0xa3)](_0x35c1ba(0xbb),_0x2f557c);});});}[_0x69cbad(0xc0)](){const _0x51e09d=_0x69cbad,{editor:_0x10f916}=this,{model:_0x54c849}=_0x10f916,_0x2b05a8=_0x10f916[_0x51e09d(0x90)][_0x51e09d(0x87)](_0x398fa8),_0x52d379=this[_0x51e09d(0xaf)](),_0x4131a6=this[_0x51e09d(0xe2)]();_0x54c849[_0x51e09d(0xe3)][_0x51e09d(0xca)](_0x57f9ed=>{const _0x39f567=_0x51e09d,_0x1f559f=_0x54c849[_0x39f567(0xe3)][_0x39f567(0xe4)][_0x39f567(0xae)]();let _0x4f4152=!0x1;for(const _0x3c4f09 of _0x1f559f){if(_0x39f567(0xe6)!==_0x3c4f09[_0x39f567(0xce)]||_0x39f567(0xc8)===_0x3c4f09[_0x39f567(0xd2)])continue;const _0x2f1da4=_0x54c849[_0x39f567(0xbe)](_0x3c4f09[_0x39f567(0xa7)][_0x39f567(0xda)]);for(const _0x35be36 of _0x2f1da4[_0x39f567(0x8b)]())_0x35be36['is'](_0x39f567(0xeb),_0x39f567(0xc2))&&(!_0x35be36[_0x39f567(0x95)](_0x39f567(0xcb))&&_0x54c849[_0x39f567(0xdd)][_0x39f567(0xd5)](_0x35be36,_0x39f567(0xcb))&&(_0x57f9ed[_0x39f567(0x9b)](_0x39f567(0xcb),_0x4131a6,_0x35be36),_0x4f4152=!0x0),!_0x35be36[_0x39f567(0x95)](_0x39f567(0xb8))&&_0x54c849[_0x39f567(0xdd)][_0x39f567(0xd5)](_0x35be36,_0x39f567(0xb8))&&(_0x57f9ed[_0x39f567(0x9b)](_0x39f567(0xb8),_0x52d379,_0x35be36),_0x4f4152=!0x0));}return _0x4f4152&&_0x2b05a8[_0x39f567(0xec)](_0x57f9ed),_0x4f4152;});}[_0x69cbad(0xb1)](){const _0x27fe49=_0x69cbad,{editor:_0x2441e2}=this;_0x2441e2[_0x27fe49(0x90)][_0x27fe49(0x87)](_0x398fa8)[_0x27fe49(0xd9)](_0x4b3bc6=>this[_0x27fe49(0xb3)](_0x4b3bc6));}[_0x69cbad(0xaf)](){const _0x3499ec=_0x69cbad;return this[_0x3499ec(0xc9)][_0x3499ec(0xcc)][_0x3499ec(0x87)](_0x3499ec(0xa2));}[_0x69cbad(0xe2)](){const _0x1961a1=_0x69cbad;return this[_0x1961a1(0xc9)][_0x1961a1(0xcc)][_0x1961a1(0x87)](_0x1961a1(0xc5));}[_0x69cbad(0xb3)]({container:_0x5bfbab,value:_0x190002,digits:_0x5caa67}){const _0xff8224=_0x69cbad,_0x5e843f=_0x5bfbab[_0xff8224(0x88)](_0xff8224(0xb8)),_0x505a0e=_0x5bfbab[_0xff8224(0x88)](_0xff8224(0xcb)),_0x1c0653=Math[_0xff8224(0xd3)](_0x190002)+(_0x505a0e??0x1)-0x1;switch(_0x5e843f){case _0xff8224(0xe8):return function(_0x31e10b,_0x5dda75){const _0x5640d1=_0xff8224;return String(_0x31e10b)[_0x5640d1(0xa8)](_0x5dda75,'0');}(_0x1c0653,Math[_0xff8224(0x8a)](0x2,_0x5caa67));case _0xff8224(0xb4):case _0xff8224(0xc4):return N(_0x1c0653,!0x1);case _0xff8224(0x91):case _0xff8224(0x9c):return N(_0x1c0653,!0x0);case _0xff8224(0xb6):return X(_0x1c0653,!0x1);case _0xff8224(0xdc):return X(_0x1c0653,!0x0);default:return String(_0x1c0653);}}}function _0x52e5(_0x531e1e,_0x3d4ffe){const _0x4bff3f=_0x4bff();return _0x52e5=function(_0x52e53e,_0x2ea83f){_0x52e53e=_0x52e53e-0x87;let _0x44b464=_0x4bff3f[_0x52e53e];return _0x44b464;},_0x52e5(_0x531e1e,_0x3d4ffe);}function M(_0x285672,_0x5b44d2){const _0x22a44c=_0x69cbad,_0x560d44=_0x5b44d2[_0x22a44c(0xa4)](_0x285672);return Array[_0x22a44c(0xdb)](_0x560d44[_0x22a44c(0xb7)]())[_0x22a44c(0xa5)](_0x353d8e=>_0x353d8e['is'](_0x22a44c(0xeb),'ol')&&_0x353d8e[_0x22a44c(0x8c)](_0x22a44c(0xe7)));}function N(_0x299846,_0x10873d){const _0x583729=_0x69cbad;let _0x5ab194='',_0x3ac9ff=_0x299846;for(;_0x3ac9ff>0x0;){const _0xc3ba39=(_0x3ac9ff-0x1)%0x1a;_0x5ab194=String[_0x583729(0x9f)](0x61+_0xc3ba39)+_0x5ab194,_0x3ac9ff=Math[_0x583729(0xd3)]((_0x3ac9ff-0x1)/0x1a);}return _0x10873d?_0x5ab194[_0x583729(0x93)]():_0x5ab194;}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(_0x4e2e6c,_0x497f8b){const _0x1713c9=_0x69cbad;let _0x5910a4='',_0x52cd4e=_0x4e2e6c;for(const {value:_0x496913,numeral:_0x998191}of V)for(;_0x52cd4e>=_0x496913;)_0x5910a4+=_0x998191,_0x52cd4e-=_0x496913;return _0x497f8b?_0x5910a4:_0x5910a4[_0x1713c9(0x8e)]();}
23
+ function _0x1b2b(){const _0x9a0df9=['attribute:footnotesListStyle:footnotesDefinitions','toViewElement','_defineSchema','1309513RoJQKW','document','removeAttribute','floor','start','7860210jqoEyu','element:ol','toUpperCase','modelCursor','upcast','footnotesListStart','footnotesDefinitions','1222002OaKwHS','add','insert','checkAttribute','_defineConverters','footnotesListStyle','getChanges','parseInt','fromCharCode','mapper','extend','setAttribute','from','parent','attribute:footnotesListStart:footnotesDefinitions','isPremiumPlugin','createRangeOn','1151196fqIRVN','upper-latin','downcast','$text','_definePostfixer','find','footnotesStyle','setStyle','name','_formatFootnoteListValue','getItems','padStart','pluginName','commands','list-style-type','hasAttribute','4498028YYGirF','config','lower-latin','writer','hasClass','decimal','_getDefaultListStyle','decimal-leading-zero','getStyle','5itRDQx','requires','FootnotesPropertiesEditing','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','consume','_updateFootnotesCounters','16673232zEHBid','differ','item','upper-alpha','_getDefaultStartIndex','footnotes.footnotesProperties.defaultListStyle','for','footnotesStart','getAttribute','editor','model','isOfficialPlugin','nodeAfter','7420686wahjHc','element','init','footnotes-list','position','lower-roman','get','toLowerCase','plugins','upper-roman','_defineFormatter','isNaN','registerPostFixer','schema','removeStyle','getChildren','define','consumable','viewItem','setFootnoteFormatter','max','type'];_0x1b2b=function(){return _0x9a0df9;};return _0x1b2b();}const _0x9e7942=_0x2cbd;(function(_0xc4bab0,_0x15c098){const _0x2f2a78=_0x2cbd,_0x1e6f63=_0xc4bab0();while(!![]){try{const _0x4786da=parseInt(_0x2f2a78(0x144))/0x1+parseInt(_0x2f2a78(0xfe))/0x2+-parseInt(_0x2f2a78(0x150))/0x3+parseInt(_0x2f2a78(0x10e))/0x4+-parseInt(_0x2f2a78(0x117))/0x5*(-parseInt(_0x2f2a78(0x149))/0x6)+-parseInt(_0x2f2a78(0x12b))/0x7+-parseInt(_0x2f2a78(0x11e))/0x8;if(_0x4786da===_0x15c098)break;else _0x1e6f63['push'](_0x1e6f63['shift']());}catch(_0x10f570){_0x1e6f63['push'](_0x1e6f63['shift']());}}}(_0x1b2b,0xbb843));import{Plugin as _0x101a06}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0xa7f1c5}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x28fc84}from'./commands/footnotesstartcommand.js';function _0x2cbd(_0x46f324,_0x1874e8){const _0x1b2bc=_0x1b2b();return _0x2cbd=function(_0x2cbd89,_0x2198f8){_0x2cbd89=_0x2cbd89-0xf9;let _0x4daa5a=_0x1b2bc[_0x2cbd89];return _0x4daa5a;},_0x2cbd(_0x46f324,_0x1874e8);}import{FootnotesTracker as _0x105533}from'../footnotestracker.js';import{FootnotesEditing as _0x1c5336}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x101a06{static get[_0x9e7942(0x10a)](){const _0x2dd273=_0x9e7942;return _0x2dd273(0x119);}static get[_0x9e7942(0x118)](){return[_0x1c5336,_0x105533];}static get[_0x9e7942(0x129)](){return!0x0;}static get[_0x9e7942(0xfc)](){return!0x0;}[_0x9e7942(0x12d)](){const _0x3039a7=_0x9e7942,{editor:_0x568a6a}=this;_0x568a6a[_0x3039a7(0x10f)][_0x3039a7(0x13b)](_0x3039a7(0x123),_0x3039a7(0x113)),_0x568a6a[_0x3039a7(0x10f)][_0x3039a7(0x13b)](_0x3039a7(0x11a),0x1),_0x568a6a[_0x3039a7(0x10b)][_0x3039a7(0x151)](_0x3039a7(0x104),new _0xa7f1c5(_0x568a6a)),_0x568a6a[_0x3039a7(0x10b)][_0x3039a7(0x151)](_0x3039a7(0x125),new _0x28fc84(_0x568a6a)),this[_0x3039a7(0x143)](),this[_0x3039a7(0x154)](),this[_0x3039a7(0x135)](),this[_0x3039a7(0x102)]();}[_0x9e7942(0x143)](){const _0x126bec=_0x9e7942,{editor:_0x71d09e}=this,{schema:_0x5e5872}=_0x71d09e[_0x126bec(0x128)];_0x5e5872[_0x126bec(0x15a)](_0x126bec(0x14f),{'allowAttributes':[_0x126bec(0x155),_0x126bec(0x14e)]});}[_0x9e7942(0x154)](){const _0x548197=_0x9e7942,{editor:_0x1d20aa}=this,{conversion:_0x2ff251,model:_0x53794b}=_0x1d20aa,{schema:_0x327728}=_0x53794b;_0x2ff251[_0x548197(0x124)](_0x548197(0x14d))[_0x548197(0x151)](_0x486737=>{const _0x43a09e=_0x548197;_0x486737['on'](_0x43a09e(0x14a),(_0x290bf5,_0xb74160,_0x57bb80)=>{const _0x27364f=_0x43a09e,_0x19750b=_0xb74160[_0x27364f(0x13d)],_0x52d17e=_0xb74160[_0x27364f(0x14c)]?.[_0x27364f(0xfa)];_0x19750b[_0x27364f(0x112)](_0x27364f(0x12e))&&_0x52d17e?.['is'](_0x27364f(0x12c),_0x27364f(0x14f))&&(function(_0x305661,_0x13a24e,_0xfb989b,_0x2e5e41){const _0x59e8f6=_0x27364f;if(!_0x2e5e41[_0x59e8f6(0x153)](_0x13a24e,_0x59e8f6(0x14e)))return;let _0x5f054a=0x1;const _0x25d947=_0xfb989b[_0x59e8f6(0x13c)][_0x59e8f6(0x11c)](_0x305661,{'attributes':_0x59e8f6(0x148)});if(_0x25d947){const _0x9c8371=Number[_0x59e8f6(0x157)](_0x305661[_0x59e8f6(0x126)](_0x59e8f6(0x148)),0xa);Number[_0x59e8f6(0x136)](_0x9c8371)||(_0x5f054a=_0x9c8371);}!_0x25d947&&_0x13a24e[_0x59e8f6(0x10d)](_0x59e8f6(0x14e))||_0xfb989b[_0x59e8f6(0x111)][_0x59e8f6(0x15b)](_0x59e8f6(0x14e),_0x5f054a,_0x13a24e);}(_0x19750b,_0x52d17e,_0x57bb80,_0x327728),function(_0x3e287c,_0x315434,_0x1f6b29,_0x319ed6){const _0x1d811b=_0x27364f;if(!_0x319ed6[_0x1d811b(0x153)](_0x315434,_0x1d811b(0x155)))return;let _0x3ddc68=_0x1d811b(0x113),_0x2beb7c=!0x1;if(_0x1f6b29[_0x1d811b(0x13c)][_0x1d811b(0x11c)](_0x3e287c,{'attributes':_0x1d811b(0x140)})){const _0x11cba1={0x1:_0x1d811b(0x113),'a':_0x1d811b(0x11b),'A':_0x1d811b(0x121),'i':_0x1d811b(0x130),'I':_0x1d811b(0x134)}[_0x3e287c[_0x1d811b(0x126)](_0x1d811b(0x140))];_0x11cba1&&(_0x3ddc68=_0x11cba1),_0x2beb7c=!0x0;}_0x1f6b29[_0x1d811b(0x13c)][_0x1d811b(0x11c)](_0x3e287c,{'styles':_0x1d811b(0x10c)})&&(_0x3ddc68=function(_0x56ab8c){const _0x4e7286=_0x1d811b;switch(_0x56ab8c){case _0x4e7286(0x11b):return _0x4e7286(0x110);case _0x4e7286(0x121):return _0x4e7286(0xff);default:return _0x56ab8c;}}(_0x3e287c[_0x1d811b(0x116)](_0x1d811b(0x10c))),_0x2beb7c=!0x0),!_0x2beb7c&&_0x315434[_0x1d811b(0x10d)](_0x1d811b(0x155))||_0x1f6b29[_0x1d811b(0x111)][_0x1d811b(0x15b)](_0x1d811b(0x155),_0x3ddc68,_0x315434);}(_0x19750b,_0x52d17e,_0x57bb80,_0x327728));});}),_0x2ff251[_0x548197(0x124)](_0x548197(0x100))[_0x548197(0x151)](_0x48e4f3=>{const _0x409ff2=_0x548197;_0x48e4f3['on'](_0x409ff2(0xfb),(_0x122b4a,_0x141c38,_0x4d2cb5)=>{const _0x6945df=_0x409ff2;if(!_0x4d2cb5[_0x6945df(0x13c)][_0x6945df(0x11c)](_0x141c38[_0x6945df(0x120)],_0x122b4a[_0x6945df(0x106)]))return;const _0x4d9c65=M(_0x141c38[_0x6945df(0x120)],_0x4d2cb5[_0x6945df(0x159)]),{attributeNewValue:_0x17a7ae}=_0x141c38;null==_0x17a7ae||0x1===_0x17a7ae?_0x4d2cb5[_0x6945df(0x111)][_0x6945df(0x146)](_0x6945df(0x148),_0x4d9c65):_0x4d2cb5[_0x6945df(0x111)][_0x6945df(0x15b)](_0x6945df(0x148),String(_0x17a7ae),_0x4d9c65);}),_0x48e4f3['on'](_0x409ff2(0x141),(_0x41f4c7,_0x5a233b,_0x4137c6)=>{const _0x5656c9=_0x409ff2;if(!_0x4137c6[_0x5656c9(0x13c)][_0x5656c9(0x11c)](_0x5a233b[_0x5656c9(0x120)],_0x41f4c7[_0x5656c9(0x106)]))return;const _0x591f63=M(_0x5a233b[_0x5656c9(0x120)],_0x4137c6[_0x5656c9(0x159)]),{attributeNewValue:_0x208024}=_0x5a233b;_0x208024&&_0x5656c9(0x113)!==_0x208024?_0x4137c6[_0x5656c9(0x111)][_0x5656c9(0x105)](_0x5656c9(0x10c),_0x208024,_0x591f63):_0x4137c6[_0x5656c9(0x111)][_0x5656c9(0x139)](_0x5656c9(0x10c),_0x591f63);});});}[_0x9e7942(0x102)](){const _0x3fffb4=_0x9e7942,{editor:_0xd9c695}=this,{model:_0x7b8550}=_0xd9c695,_0x27d687=_0xd9c695[_0x3fffb4(0x133)][_0x3fffb4(0x131)](_0x105533),_0x51026c=this[_0x3fffb4(0x114)](),_0x575365=this[_0x3fffb4(0x122)]();_0x7b8550[_0x3fffb4(0x145)][_0x3fffb4(0x137)](_0x1cf490=>{const _0x218dbf=_0x3fffb4,_0x4a361b=_0x7b8550[_0x218dbf(0x145)][_0x218dbf(0x11f)][_0x218dbf(0x156)]();let _0x414363=!0x1;for(const _0x2a1fea of _0x4a361b){if(_0x218dbf(0x152)!==_0x2a1fea[_0x218dbf(0x140)]||_0x218dbf(0x101)===_0x2a1fea[_0x218dbf(0x106)])continue;const _0x172a4d=_0x7b8550[_0x218dbf(0xfd)](_0x2a1fea[_0x218dbf(0x12f)][_0x218dbf(0x12a)]);for(const _0x170159 of _0x172a4d[_0x218dbf(0x108)]())_0x170159['is'](_0x218dbf(0x12c),_0x218dbf(0x14f))&&(!_0x170159[_0x218dbf(0x10d)](_0x218dbf(0x14e))&&_0x7b8550[_0x218dbf(0x138)][_0x218dbf(0x153)](_0x170159,_0x218dbf(0x14e))&&(_0x1cf490[_0x218dbf(0x15b)](_0x218dbf(0x14e),_0x575365,_0x170159),_0x414363=!0x0),!_0x170159[_0x218dbf(0x10d)](_0x218dbf(0x155))&&_0x7b8550[_0x218dbf(0x138)][_0x218dbf(0x153)](_0x170159,_0x218dbf(0x155))&&(_0x1cf490[_0x218dbf(0x15b)](_0x218dbf(0x155),_0x51026c,_0x170159),_0x414363=!0x0));}return _0x414363&&_0x27d687[_0x218dbf(0x11d)](_0x1cf490),_0x414363;});}[_0x9e7942(0x135)](){const _0x275c78=_0x9e7942,{editor:_0x3b0622}=this;_0x3b0622[_0x275c78(0x133)][_0x275c78(0x131)](_0x105533)[_0x275c78(0x13e)](_0x264998=>this[_0x275c78(0x107)](_0x264998));}[_0x9e7942(0x114)](){const _0x17a93d=_0x9e7942;return this[_0x17a93d(0x127)][_0x17a93d(0x10f)][_0x17a93d(0x131)](_0x17a93d(0x123));}[_0x9e7942(0x122)](){const _0x5d896c=_0x9e7942;return this[_0x5d896c(0x127)][_0x5d896c(0x10f)][_0x5d896c(0x131)](_0x5d896c(0x11a));}[_0x9e7942(0x107)]({container:_0x191051,value:_0x586170,digits:_0x55c5bf}){const _0x19bf11=_0x9e7942,_0x3084d9=_0x191051[_0x19bf11(0x126)](_0x19bf11(0x155)),_0x1601d5=_0x191051[_0x19bf11(0x126)](_0x19bf11(0x14e)),_0xed9f7c=Math[_0x19bf11(0x147)](_0x586170)+(_0x1601d5??0x1)-0x1;switch(_0x3084d9){case _0x19bf11(0x115):return function(_0x1a835d,_0x506a5d){const _0x53b3fb=_0x19bf11;return String(_0x1a835d)[_0x53b3fb(0x109)](_0x506a5d,'0');}(_0xed9f7c,Math[_0x19bf11(0x13f)](0x2,_0x55c5bf));case _0x19bf11(0x11b):case _0x19bf11(0x110):return N(_0xed9f7c,!0x1);case _0x19bf11(0x121):case _0x19bf11(0xff):return N(_0xed9f7c,!0x0);case _0x19bf11(0x130):return X(_0xed9f7c,!0x1);case _0x19bf11(0x134):return X(_0xed9f7c,!0x0);default:return String(_0xed9f7c);}}}function M(_0x3a2e45,_0x21bb41){const _0x123e78=_0x9e7942,_0x4f28f9=_0x21bb41[_0x123e78(0x142)](_0x3a2e45);return Array[_0x123e78(0xf9)](_0x4f28f9[_0x123e78(0x13a)]())[_0x123e78(0x103)](_0xe2c1ab=>_0xe2c1ab['is'](_0x123e78(0x12c),'ol')&&_0xe2c1ab[_0x123e78(0x112)](_0x123e78(0x12e)));}function N(_0x1ce4ef,_0x5e1a99){const _0x3b65e6=_0x9e7942;let _0x1bf2cd='',_0xbc6244=_0x1ce4ef;for(;_0xbc6244>0x0;){const _0x1a8459=(_0xbc6244-0x1)%0x1a;_0x1bf2cd=String[_0x3b65e6(0x158)](0x61+_0x1a8459)+_0x1bf2cd,_0xbc6244=Math[_0x3b65e6(0x147)]((_0xbc6244-0x1)/0x1a);}return _0x5e1a99?_0x1bf2cd[_0x3b65e6(0x14b)]():_0x1bf2cd;}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(_0x1663b5,_0x955a85){const _0x355fde=_0x9e7942;let _0x9461e8='',_0x2507fe=_0x1663b5;for(const {value:_0x5be2a0,numeral:_0xcd9c2a}of V)for(;_0x2507fe>=_0x5be2a0;)_0x9461e8+=_0xcd9c2a,_0x2507fe-=_0x5be2a0;return _0x955a85?_0x9461e8:_0x9461e8[_0x355fde(0x132)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x17b7c6,ButtonView as _0x4798ef,ContextualBalloon as _0x395d7a,createDropdown as _0xc2fa9}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x1905dc}from'ckeditor5/src/widget.js';import{Plugin as _0x289822}from'ckeditor5/src/core.js';import{IconFootnote as _0x33dbb3,IconListStyleDecimal as _0x5b4eea,IconListStyleDecimalLeadingZero as _0x28accf,IconListStyleLowerLatin as _0x1a5a6b,IconListStyleLowerRoman as _0x38a295,IconListStyleUpperLatin as _0x1f2d13,IconListStyleUpperRoman as _0x4d6f66}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5c676f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3517f6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x289822{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x395d7a,_0x1905dc];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cc258}=this,{componentFactory:_0xb84ef5}=_0x5cc258['ui'];_0x5cc258['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0xb84ef5['add']('footnotesStyle',function(_0x47c421){return _0x4e600a=>{const {t:t}=_0x4e600a,_0x5d4728=_0x47c421['commands']['get']('footnotesStyle'),_0x304f4a=_0xc2fa9(_0x4e600a),{buttonView:_0x36ec45}=_0x304f4a;return _0x304f4a['class']='ck-footnotes-styles-dropdown',_0x304f4a['bind']('isEnabled')['to'](_0x5d4728,'isEnabled'),_0x36ec45['set']({'label':t('Footnotes\x20style'),'icon':_0x33dbb3,'tooltip':!0x0}),_0x304f4a['once']('change:isOpen',()=>{const _0x5d8218=function({editor:_0x1ba403,dropdownView:_0xeb3df0}){const {t:t}=_0x1ba403['locale'],_0x1d60a0=t('Footnotes\x20definitions\x20styles'),_0x471257=function(_0x1bc938){const t=_0x1bc938['locale']['t'],_0x1d0e33=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5b4eea},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x28accf},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x38a295},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4d6f66},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1a5a6b},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1f2d13}];return _0x1d0e33['map'](function(_0x1b00fd){const _0x584ffa=_0x1b00fd['locale'];return({label:_0x249f8a,icon:_0xad755b,tooltip:_0xcdbcb1,style:_0x4f10ef})=>{const _0x560184=_0x1b00fd['commands']['get']('footnotesStyle'),_0xa06414=new _0x4798ef(_0x584ffa);return _0xa06414['set']({'label':_0x249f8a,'icon':_0xad755b,'tooltip':_0xcdbcb1}),_0xa06414['bind']('isOn')['to'](_0x560184,'value',_0x37e4ae=>_0x37e4ae===_0x4f10ef),_0xa06414['bind']('isEnabled')['to'](_0x560184,'isEnabled'),_0xa06414['on']('execute',()=>{_0x1b00fd['execute']('footnotesStyle',{'value':_0x4f10ef}),_0x1b00fd['editing']['view']['focus']();}),_0xa06414;};}(_0x1bc938));}(_0x1ba403),_0x16ae50=new _0x5c676f(_0x1ba403['locale'],{'styleGridAriaLabel':_0x1d60a0,'styleButtonViews':_0x471257}),_0x325669=_0x1ba403['commands']['get']('footnotesStart');return _0x16ae50['startIndexFieldView']['bind']('isEnabled')['to'](_0x325669),_0x16ae50['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x325669),_0x16ae50['on']('footnotesListStart',(_0x2ab840,_0x41c1ff)=>{_0x1ba403['execute']('footnotesStart',{'value':_0x41c1ff['startIndex']});}),_0x16ae50['delegate']('execute')['to'](_0xeb3df0),_0x16ae50;}({'editor':_0x47c421,'dropdownView':_0x304f4a});_0x304f4a['panelView']['children']['add'](_0x5d8218);}),_0x304f4a;};}(_0x5cc258));}['afterInit'](){const {editor:_0x565df9}=this,{t:t}=_0x565df9['locale'],_0xd80e0b=_0x565df9['plugins']['get'](_0x1905dc),{defaultPositions:_0x450b1a}=_0x17b7c6;_0xd80e0b['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x565df9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x2baa32=>{let _0x1121e9=_0x2baa32['getFirstPosition']()?.['parent'];return _0x1121e9?.['is']('$text')&&(_0x1121e9=_0x1121e9['parent']),_0x1121e9?.['is']('element')?_0x1121e9['findAncestor'](_0x3517f6):null;},'positions':[_0x450b1a['southArrowNorth'],_0x450b1a['southArrowNorthMiddleWest'],_0x450b1a['southArrowNorthMiddleEast'],_0x450b1a['southArrowNorthWest'],_0x450b1a['southArrowNorthEast'],_0x450b1a['northArrowSouth'],_0x450b1a['northArrowSouthMiddleWest'],_0x450b1a['northArrowSouthMiddleEast'],_0x450b1a['northArrowSouthWest'],_0x450b1a['northArrowSouthEast'],_0x450b1a['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x59b5ce,ButtonView as _0x59b0d7,ContextualBalloon as _0x1b0e8c,createDropdown as _0x330dd5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x19f127}from'ckeditor5/src/widget.js';import{Plugin as _0x1db357}from'ckeditor5/src/core.js';import{IconFootnote as _0x2bc763,IconListStyleDecimal as _0x36535f,IconListStyleDecimalLeadingZero as _0x343c34,IconListStyleLowerLatin as _0x55ab4d,IconListStyleLowerRoman as _0x5cbbce,IconListStyleUpperLatin as _0x1fa670,IconListStyleUpperRoman as _0x123b29}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x47e48c}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0xfa147c}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1db357{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x1b0e8c,_0x19f127];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x422dd2}=this,{componentFactory:_0x495595}=_0x422dd2['ui'];_0x422dd2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x495595['add']('footnotesStyle',function(_0x3902d9){return _0x39309e=>{const {t:t}=_0x39309e,_0x1b20c1=_0x3902d9['commands']['get']('footnotesStyle'),_0x2db9c0=_0x330dd5(_0x39309e),{buttonView:_0x512dce}=_0x2db9c0;return _0x2db9c0['class']='ck-footnotes-styles-dropdown',_0x2db9c0['bind']('isEnabled')['to'](_0x1b20c1,'isEnabled'),_0x512dce['set']({'label':t('Footnotes\x20style'),'icon':_0x2bc763,'tooltip':!0x0}),_0x2db9c0['once']('change:isOpen',()=>{const _0x3c919e=function({editor:_0x57bca6,dropdownView:_0x1a6281}){const {t:t}=_0x57bca6['locale'],_0x1827cd=t('Footnotes\x20definitions\x20styles'),_0x1df823=function(_0x1bc915){const t=_0x1bc915['locale']['t'],_0x2be01d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x36535f},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x343c34},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5cbbce},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x123b29},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x55ab4d},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1fa670}];return _0x2be01d['map'](function(_0x379a38){const _0x4a71b6=_0x379a38['locale'];return({label:_0x28201a,icon:_0x3bee05,tooltip:_0x37b4af,style:_0xfc073a})=>{const _0x10c700=_0x379a38['commands']['get']('footnotesStyle'),_0x5b18c8=new _0x59b0d7(_0x4a71b6);return _0x5b18c8['set']({'label':_0x28201a,'icon':_0x3bee05,'tooltip':_0x37b4af}),_0x5b18c8['bind']('isOn')['to'](_0x10c700,'value',_0x4685dd=>_0x4685dd===_0xfc073a),_0x5b18c8['bind']('isEnabled')['to'](_0x10c700,'isEnabled'),_0x5b18c8['on']('execute',()=>{_0x379a38['execute']('footnotesStyle',{'value':_0xfc073a}),_0x379a38['editing']['view']['focus']();}),_0x5b18c8;};}(_0x1bc915));}(_0x57bca6),_0x499e6a=new _0x47e48c(_0x57bca6['locale'],{'styleGridAriaLabel':_0x1827cd,'styleButtonViews':_0x1df823}),_0xddab80=_0x57bca6['commands']['get']('footnotesStart');return _0x499e6a['startIndexFieldView']['bind']('isEnabled')['to'](_0xddab80),_0x499e6a['startIndexFieldView']['fieldView']['bind']('value')['to'](_0xddab80),_0x499e6a['on']('footnotesListStart',(_0x2b34f2,_0x5e3544)=>{_0x57bca6['execute']('footnotesStart',{'value':_0x5e3544['startIndex']});}),_0x499e6a['delegate']('execute')['to'](_0x1a6281),_0x499e6a;}({'editor':_0x3902d9,'dropdownView':_0x2db9c0});_0x2db9c0['panelView']['children']['add'](_0x3c919e);}),_0x2db9c0;};}(_0x422dd2));}['afterInit'](){const {editor:_0x428511}=this,{t:t}=_0x428511['locale'],_0x53f463=_0x428511['plugins']['get'](_0x19f127),{defaultPositions:_0x17f5d4}=_0x59b5ce;_0x53f463['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x428511['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x281f97=>{let _0x435fa2=_0x281f97['getFirstPosition']()?.['parent'];return _0x435fa2?.['is']('$text')&&(_0x435fa2=_0x435fa2['parent']),_0x435fa2?.['is']('element')?_0x435fa2['findAncestor'](_0xfa147c):null;},'positions':[_0x17f5d4['southArrowNorth'],_0x17f5d4['southArrowNorthMiddleWest'],_0x17f5d4['southArrowNorthMiddleEast'],_0x17f5d4['southArrowNorthWest'],_0x17f5d4['southArrowNorthEast'],_0x17f5d4['northArrowSouth'],_0x17f5d4['northArrowSouthMiddleWest'],_0x17f5d4['northArrowSouthMiddleEast'],_0x17f5d4['northArrowSouthWest'],_0x17f5d4['northArrowSouthEast'],_0x17f5d4['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3d4d06,View as _0x3f54d0,ViewCollection as _0x46a325,FocusCycler as _0x3b60ed,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3f54d0{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x46a325();['focusCycler'];constructor(_0x51f11b,{styleButtonViews:_0x1ce3af,styleGridAriaLabel:_0x23c8f8}){super(_0x51f11b),(this['focusCycler']=new _0x3b60ed({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1ce3af,_0x23c8f8),[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 _0x4701b5 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4701b5['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x26b2bf=_0x28c538=>_0x28c538['stopPropagation']();this['keystrokes']['set']('arrowright',_0x26b2bf),this['keystrokes']['set']('arrowleft',_0x26b2bf),this['keystrokes']['set']('arrowup',_0x26b2bf),this['keystrokes']['set']('arrowdown',_0x26b2bf);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x12e773,_0x529f42){const _0x42bc1d=new _0x3f54d0(this['locale']);return _0x42bc1d['children']=_0x42bc1d['createCollection'](),_0x42bc1d['children']['addMany'](_0x12e773),_0x42bc1d['setTemplate']({'tag':'div','attributes':{'aria-label':_0x529f42,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x42bc1d['children']}),_0x42bc1d['children']['delegate']('execute')['to'](this),_0x42bc1d['focus']=function(){for(const _0xedd287 of this['children'])if(_0xedd287 instanceof _0x3d4d06&&_0xedd287['isOn'])return void _0xedd287['focus']();this['children']['first']['focus']();},_0x42bc1d['focusTracker']=new ot(),_0x42bc1d['keystrokes']=new rt(),_0x42bc1d['render'](),_0x42bc1d['keystrokes']['listenTo'](_0x42bc1d['element']),this['children']['add'](_0x42bc1d),_0x42bc1d;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x35b797=this['_createStartIndexPropertyView'](),_0x4f62b4=[_0x35b797],_0x101105=new st(this['locale'],_0x4f62b4);return _0x101105['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x101105['buttonView']['bind']('isEnabled')['toMany'](_0x4f62b4,'isEnabled',(..._0x289464)=>_0x289464['some'](_0x598705=>_0x598705)),_0x101105['buttonView']['on']('change:isEnabled',(_0x1ca3ab,_0xeb6af9,_0x9cdb38)=>{_0x9cdb38||(_0x101105['isCollapsed']=!0x0);}),this['children']['add'](_0x101105),[_0x35b797,_0x101105];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1d7979=new it(this['locale'],et);return _0x1d7979['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1d7979['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1d7979['fieldView']['on']('input',()=>{const _0x3f75dd=_0x1d7979['fieldView']['element'],_0x1f8b2d=_0x3f75dd['valueAsNumber'];Number['isNaN'](_0x1f8b2d)?_0x1d7979['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x3f75dd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1f8b2d}):_0x1d7979['errorText']=t(_0x1f8b2d<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1d7979;}}
23
+ import{ButtonView as _0x24e770,View as _0x2c8886,ViewCollection as _0x1fff22,FocusCycler as _0x44ee50,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x2c8886{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1fff22();['focusCycler'];constructor(_0x2680ce,{styleButtonViews:_0x5eb178,styleGridAriaLabel:_0x2c7fd9}){super(_0x2680ce),(this['focusCycler']=new _0x44ee50({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5eb178,_0x2c7fd9),[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 _0x137e2f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x137e2f['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0xb1591=_0x5c421a=>_0x5c421a['stopPropagation']();this['keystrokes']['set']('arrowright',_0xb1591),this['keystrokes']['set']('arrowleft',_0xb1591),this['keystrokes']['set']('arrowup',_0xb1591),this['keystrokes']['set']('arrowdown',_0xb1591);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x11520a,_0xe8a6f4){const _0x399127=new _0x2c8886(this['locale']);return _0x399127['children']=_0x399127['createCollection'](),_0x399127['children']['addMany'](_0x11520a),_0x399127['setTemplate']({'tag':'div','attributes':{'aria-label':_0xe8a6f4,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x399127['children']}),_0x399127['children']['delegate']('execute')['to'](this),_0x399127['focus']=function(){for(const _0x3c0b90 of this['children'])if(_0x3c0b90 instanceof _0x24e770&&_0x3c0b90['isOn'])return void _0x3c0b90['focus']();this['children']['first']['focus']();},_0x399127['focusTracker']=new ot(),_0x399127['keystrokes']=new rt(),_0x399127['render'](),_0x399127['keystrokes']['listenTo'](_0x399127['element']),this['children']['add'](_0x399127),_0x399127;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5286c0=this['_createStartIndexPropertyView'](),_0x537605=[_0x5286c0],_0x30febd=new st(this['locale'],_0x537605);return _0x30febd['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x30febd['buttonView']['bind']('isEnabled')['toMany'](_0x537605,'isEnabled',(..._0x28352d)=>_0x28352d['some'](_0x2cef85=>_0x2cef85)),_0x30febd['buttonView']['on']('change:isEnabled',(_0x37fb4a,_0x3a5aa4,_0x3ed173)=>{_0x3ed173||(_0x30febd['isCollapsed']=!0x0);}),this['children']['add'](_0x30febd),[_0x5286c0,_0x30febd];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5cd81f=new it(this['locale'],et);return _0x5cd81f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5cd81f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5cd81f['fieldView']['on']('input',()=>{const _0x22d90c=_0x5cd81f['fieldView']['element'],_0x200a0a=_0x22d90c['valueAsNumber'];Number['isNaN'](_0x200a0a)?_0x5cd81f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x22d90c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x200a0a}):_0x5cd81f['errorText']=t(_0x200a0a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5cd81f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x2c3725=_0x599b;(function(_0x3d57e3,_0x3dbe99){var _0x4ac458=_0x599b,_0x8e2a98=_0x3d57e3();while(!![]){try{var _0x1779f7=parseInt(_0x4ac458(0x1f3))/0x1*(parseInt(_0x4ac458(0x1f9))/0x2)+parseInt(_0x4ac458(0x1f4))/0x3+parseInt(_0x4ac458(0x1ec))/0x4*(parseInt(_0x4ac458(0x1fb))/0x5)+-parseInt(_0x4ac458(0x1f2))/0x6*(parseInt(_0x4ac458(0x1ef))/0x7)+-parseInt(_0x4ac458(0x1f1))/0x8+-parseInt(_0x4ac458(0x1eb))/0x9*(parseInt(_0x4ac458(0x1f5))/0xa)+-parseInt(_0x4ac458(0x1f6))/0xb*(-parseInt(_0x4ac458(0x1f0))/0xc);if(_0x1779f7===_0x3dbe99)break;else _0x8e2a98['push'](_0x8e2a98['shift']());}catch(_0x35f2cf){_0x8e2a98['push'](_0x8e2a98['shift']());}}}(_0x1494,0x470ac));function _0x599b(_0x5b0b93,_0x1f6a45){var _0x1494cc=_0x1494();return _0x599b=function(_0x599b86,_0x1c534e){_0x599b86=_0x599b86-0x1eb;var _0x4a246d=_0x1494cc[_0x599b86];return _0x4a246d;},_0x599b(_0x5b0b93,_0x1f6a45);}function _0x1494(){var _0x274d60=['isPremiumPlugin','pluginName','16PGXoOm','isOfficialPlugin','5VkOiYa','81ZitBLb','2311896oYTRuq','FootnotesProperties','requires','119WkEaHE','199284GGYZJs','3497672rEGrzm','127896nvpEQS','30689BXKotR','572412aoiWrX','616430oweDyH','418OYHQuP'];_0x1494=function(){return _0x274d60;};return _0x1494();}import{Plugin as _0xf8fc1c}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x54ea6d}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x12846f}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xf8fc1c{static get[_0x2c3725(0x1f8)](){var _0x51a0ea=_0x2c3725;return _0x51a0ea(0x1ed);}static get[_0x2c3725(0x1ee)](){return[_0x54ea6d,_0x12846f];}static get[_0x2c3725(0x1fa)](){return!0x0;}static get[_0x2c3725(0x1f7)](){return!0x0;}}
23
+ var _0x511663=_0x3196;(function(_0x511cf3,_0x17bcfa){var _0x273f60=_0x3196,_0x587d48=_0x511cf3();while(!![]){try{var _0x4be525=-parseInt(_0x273f60(0xe4))/0x1*(parseInt(_0x273f60(0xe3))/0x2)+parseInt(_0x273f60(0xe1))/0x3+-parseInt(_0x273f60(0xdd))/0x4*(-parseInt(_0x273f60(0xdf))/0x5)+-parseInt(_0x273f60(0xdb))/0x6*(-parseInt(_0x273f60(0xde))/0x7)+parseInt(_0x273f60(0xdc))/0x8+-parseInt(_0x273f60(0xe7))/0x9+-parseInt(_0x273f60(0xe5))/0xa;if(_0x4be525===_0x17bcfa)break;else _0x587d48['push'](_0x587d48['shift']());}catch(_0xd29f67){_0x587d48['push'](_0x587d48['shift']());}}}(_0x4177,0x2c644));import{Plugin as _0x2e19d6}from'ckeditor5/src/core.js';function _0x3196(_0x3770b7,_0xd60ebf){var _0x4177c1=_0x4177();return _0x3196=function(_0x3196dc,_0x4253c1){_0x3196dc=_0x3196dc-0xda;var _0x3e90da=_0x4177c1[_0x3196dc];return _0x3e90da;},_0x3196(_0x3770b7,_0xd60ebf);}import{FootnotesPropertiesEditing as _0x3d06c0}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4177(){var _0x20b589=['4GctuXC','67461hSZxxw','2265600FEPOxH','pluginName','1042767hYRpNo','isOfficialPlugin','FootnotesProperties','2147976jfBilp','695536yQlxyo','10284IwtSHm','7sfMxRn','5jzuRQc','requires','634992goeFlP','isPremiumPlugin'];_0x4177=function(){return _0x20b589;};return _0x4177();}import{FootnotesPropertiesUI as _0x3e96d7}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2e19d6{static get[_0x511663(0xe6)](){var _0xac325a=_0x511663;return _0xac325a(0xda);}static get[_0x511663(0xe0)](){return[_0x3d06c0,_0x3e96d7];}static get[_0x511663(0xe8)](){return!0x0;}static get[_0x511663(0xe2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3aa6db=_0x3d44;(function(_0x18835c,_0x5cfc10){const _0x5777a7=_0x3d44,_0x36a881=_0x18835c();while(!![]){try{const _0x10dfcb=-parseInt(_0x5777a7(0xa4))/0x1+parseInt(_0x5777a7(0xbe))/0x2+parseInt(_0x5777a7(0x7c))/0x3+-parseInt(_0x5777a7(0xc8))/0x4+parseInt(_0x5777a7(0xd4))/0x5*(-parseInt(_0x5777a7(0xd2))/0x6)+-parseInt(_0x5777a7(0xb8))/0x7+-parseInt(_0x5777a7(0x8a))/0x8*(-parseInt(_0x5777a7(0x72))/0x9);if(_0x10dfcb===_0x5cfc10)break;else _0x36a881['push'](_0x36a881['shift']());}catch(_0x3d1d98){_0x36a881['push'](_0x36a881['shift']());}}}(_0x31f6,0x22fbf));import{Plugin as _0x5ac67c}from'ckeditor5/src/core.js';function _0x31f6(){const _0xaa7047=['_updateFootnotesCounters','footnoteCounter','_handleInsertedFootnoteReference','footnoteRef','527910myobfi','_footnoteRefsTracker','createPositionAt','map','from','paragraph','some','push','model','_footnoteDefsTracker','473808YFoFdm','reference','footnotes.multiBlock','getFootnote','FootnotesTracker','createElement','find','_footnoteDefsContainerTracker','$graveyard','set','12fWEIHF','move','83555ictCoo','length','387gicSHt','isOfficialPlugin','footnotesDefinitions','after','parent','getChanges','change:data','editor','_updateFootnoteRefCounter','setFootnoteFormatter','250692WgfBYx','footnoteInlineContent','_footnotes','singleton','get','enqueueChange','compareWith','reset','before','definition','indexOf','root','setAttribute','unshift','57544JvsWUh','pluginName','has','splice','differ','registerPostFixer','createRangeOn','_ensureFootnotesReferencesHaveProperOrder','insert','childCount','findIndex','config','end','createRangeIn','low','listenTo','add','remove','_handleFootnotesDefinitionsObjectSync','isPremiumPlugin','document','getAttribute','append','_handleFootnoteReferencesChanges','isEqual','_handleRemoveFootnoteReferenceById','236889fiBgfv','_footnotesDefinitions','footnoteId','_ensureFootnotesDefinitionsContainerExists','getChildren','getRootNames','_handleFootnoteDefinitionsChanges','footnoteDefinition','high','_insertEmptyFootnotesDefinitionsContainer','getFootnotes','_footnoteFormatter','getFootnotesDefinitionsObjectElement','min','_sortFootnoteDefinitions','_handleMovedFootnoteReference','getFootnotesFormatter','createPositionBefore','rootName','init','873320SNVWow','_handleFootnotesDefinitionsObjectChanges'];_0x31f6=function(){return _0xaa7047;};return _0x31f6();}import{ModelElementTracker as _0x19113}from'./modelelementtracker.js';export class FootnotesTracker extends _0x5ac67c{[_0x3aa6db(0x7e)]=[];[_0x3aa6db(0xa5)]=null;[_0x3aa6db(0xaf)]=null;[_0x3aa6db(0xcf)];[_0x3aa6db(0xbf)];[_0x3aa6db(0xc7)];static get[_0x3aa6db(0x8b)](){const _0xb9b7a1=_0x3aa6db;return _0xb9b7a1(0xcc);}static get[_0x3aa6db(0x73)](){return!0x0;}static get[_0x3aa6db(0x9d)](){return!0x0;}constructor(_0x48aa3e){const _0x17fdc3=_0x3aa6db;super(_0x48aa3e),this[_0x17fdc3(0xcf)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0x74),'getElementKey':()=>_0x17fdc3(0x7f)}),this[_0x17fdc3(0xbf)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0xbd),'getElementKey':_0xb223b5=>_0xb223b5[_0x17fdc3(0x9f)](_0x17fdc3(0xa6))}),this[_0x17fdc3(0xc7)]=new _0x19113(this[_0x17fdc3(0x79)][_0x17fdc3(0xc6)],{'elementName':_0x17fdc3(0xab),'getElementKey':_0x3fdc58=>_0x3fdc58[_0x17fdc3(0x9f)](_0x17fdc3(0xa6))});}[_0x3aa6db(0xb7)](){const _0x7417cc=_0x3aa6db,{editor:_0x2c383b}=this,{model:_0x42e8a4,data:_0x1f5caf}=_0x2c383b;_0x42e8a4[_0x7417cc(0x9e)][_0x7417cc(0x8f)](_0x523be5=>{const _0x146320=_0x7417cc,_0x330f8a=_0x42e8a4[_0x146320(0x9e)][_0x146320(0x8e)][_0x146320(0x77)]();let _0x1b281c=!0x1;return this[_0x146320(0xb9)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0xaa)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0xa1)](_0x523be5,_0x330f8a)&&(_0x1b281c=!0x0),this[_0x146320(0x91)](_0x523be5)&&(_0x1b281c=!0x0),this[_0x146320(0x9c)](_0x523be5)&&(_0x1b281c=!0x0),this[_0x146320(0xb2)](_0x523be5)&&(_0x1b281c=!0x0),_0x1b281c;}),this[_0x7417cc(0x99)](_0x42e8a4[_0x7417cc(0x9e)],_0x7417cc(0x78),()=>{const _0x3c146c=_0x7417cc;_0x42e8a4[_0x3c146c(0x81)]({'isUndoable':!0x1},_0xb4df2c=>{const _0x5bdce8=_0x3c146c;this[_0x5bdce8(0xa7)](_0xb4df2c);});},{'priority':_0x7417cc(0x98)}),this[_0x7417cc(0x99)](_0x1f5caf,_0x7417cc(0xd1),()=>{const _0x52bcf8=_0x7417cc;this[_0x52bcf8(0x7e)]=[],this[_0x52bcf8(0xcf)][_0x52bcf8(0x83)](),this[_0x52bcf8(0xbf)][_0x52bcf8(0x83)](),this[_0x52bcf8(0xc7)][_0x52bcf8(0x83)]();},{'priority':_0x7417cc(0xac)});}[_0x3aa6db(0xb0)](){const _0x5b77c3=_0x3aa6db;return this[_0x5b77c3(0xa5)];}[_0x3aa6db(0xcb)](_0x4b8d5f){const _0x2cdee4=_0x3aa6db;return this[_0x2cdee4(0x7e)][_0x2cdee4(0xce)](_0x5cb996=>_0x5cb996['id']===_0x4b8d5f)||null;}[_0x3aa6db(0xae)](){const _0x1c482f=_0x3aa6db;return Array[_0x1c482f(0xc2)](this[_0x1c482f(0x7e)]);}[_0x3aa6db(0xb4)](){const _0x1c9595=_0x3aa6db;return this[_0x1c9595(0xaf)];}[_0x3aa6db(0x7b)](_0x548c3d){const _0x317f9b=_0x3aa6db;this[_0x317f9b(0xaf)]=_0x548c3d;}[_0x3aa6db(0xba)](_0x38d430,_0x4e8452=0x0){const _0x190bcb=_0x3aa6db;let _0x5eff73=!0x1;for(let _0x58fb63=_0x4e8452;_0x58fb63<this[_0x190bcb(0x7e)][_0x190bcb(0xd5)];_0x58fb63++)this[_0x190bcb(0x7a)](_0x38d430,_0x58fb63)&&(_0x5eff73=!0x0);return _0x5eff73;}[_0x3aa6db(0xad)](_0x29f43e,_0x4f1e96){const _0x59fd07=_0x3aa6db,_0x5c36f8=_0x29f43e[_0x59fd07(0xcd)](_0x59fd07(0x74),{});return _0x29f43e[_0x59fd07(0xa0)](_0x5c36f8,_0x4f1e96),this[_0x59fd07(0xa5)]=_0x5c36f8,_0x5c36f8;}[_0x3aa6db(0xa7)](_0x44f555){const _0x19ffe3=_0x3aa6db;if(!this[_0x19ffe3(0x7e)][_0x19ffe3(0xd5)]||this[_0x19ffe3(0xa5)])return;const _0x386de3=this[_0x19ffe3(0x7e)][0x0][_0x19ffe3(0xc9)][_0x19ffe3(0x87)],_0x2415c1=this[_0x19ffe3(0xad)](_0x44f555,_0x386de3);for(const _0x3d75ef of this[_0x19ffe3(0x7e)])_0x3d75ef[_0x19ffe3(0x85)][_0x19ffe3(0x76)]||_0x44f555[_0x19ffe3(0x92)](_0x3d75ef[_0x19ffe3(0x85)],_0x2415c1,_0x19ffe3(0x96));this[_0x19ffe3(0xba)](_0x44f555);}[_0x3aa6db(0xb9)](_0x1a36c2,_0x3670a2){const _0x51770b=_0x3aa6db;let _0x1f28d3=!0x1;const {inserted:_0x3156aa,removed:_0x2696af,moved:_0x491883}=this[_0x51770b(0xcf)][_0x51770b(0x77)](_0x3670a2);if(_0x491883[_0x51770b(0xd5)]&&(this[_0x51770b(0xa5)]=_0x491883[0x0]),_0x3156aa[_0x51770b(0xd5)]){if(_0x3156aa[_0x51770b(0xd5)]>0x1||this[_0x51770b(0xa5)]&&_0x3156aa[_0x51770b(0xc4)](_0xf53db0=>_0xf53db0!==this[_0x51770b(0xa5)])){const _0x2b9cb4=_0x1a36c2[_0x51770b(0xcd)](_0x51770b(0x74),{}),_0x4db876=[];this[_0x51770b(0xa5)]&&_0x4db876[_0x51770b(0xc5)](this[_0x51770b(0xa5)]),_0x4db876[_0x51770b(0xc5)](..._0x3156aa),_0x1a36c2[_0x51770b(0x92)](_0x2b9cb4,_0x4db876[0x0],_0x51770b(0x84));for(const _0x558254 of _0x4db876)_0x1a36c2[_0x51770b(0xd3)](_0x1a36c2[_0x51770b(0x97)](_0x558254),_0x1a36c2[_0x51770b(0xc0)](_0x2b9cb4,_0x51770b(0x96))),_0x1a36c2[_0x51770b(0x9b)](_0x558254);this[_0x51770b(0xa5)]=_0x2b9cb4,this[_0x51770b(0xba)](_0x1a36c2),_0x1f28d3=!0x0;}else this[_0x51770b(0xa5)]=_0x3156aa[0x0];}if(_0x2696af[_0x51770b(0xd5)]&&_0x51770b(0xd0)===this[_0x51770b(0xa5)]?.[_0x51770b(0x87)][_0x51770b(0xb6)]){for(const _0x1e2f04 of this[_0x51770b(0x7e)])_0x1a36c2[_0x51770b(0x9b)](_0x1e2f04[_0x51770b(0xc9)]),_0x1f28d3=!0x0;this[_0x51770b(0x7e)]=[],this[_0x51770b(0xa5)]=null;}return _0x1f28d3;}[_0x3aa6db(0xaa)](_0x2b4e12,_0x54b18f){const _0x1d2f0a=_0x3aa6db;let _0x317bb5=!0x1;const _0x3d6ca2=this[_0x1d2f0a(0x79)][_0x1d2f0a(0x95)][_0x1d2f0a(0x80)](_0x1d2f0a(0xca)),{inserted:_0x5f2f35,moved:_0x4da5fa}=this[_0x1d2f0a(0xc7)][_0x1d2f0a(0x77)](_0x54b18f);for(const _0x389483 of[..._0x4da5fa,..._0x5f2f35]){const _0x4ad476=_0x389483[_0x1d2f0a(0x9f)](_0x1d2f0a(0xa6)),_0x470526=this[_0x1d2f0a(0xcb)](_0x4ad476);_0x470526&&(_0x470526[_0x1d2f0a(0x85)]=_0x389483),_(_0x2b4e12,_0x3d6ca2,_0x389483)&&(_0x317bb5=!0x0);}return _0x317bb5;}[_0x3aa6db(0xa1)](_0x5f1c25,_0x17085e){const _0x588bf0=_0x3aa6db;let _0x3e4561=!0x1;const {removed:_0x25b167,inserted:_0x55f6b5,moved:_0x10969f}=this[_0x588bf0(0xbf)][_0x588bf0(0x77)](_0x17085e);for(const _0x395cb2 of _0x25b167)this[_0x588bf0(0xa3)](_0x5f1c25,_0x395cb2)&&(_0x3e4561=!0x0);for(const _0x1b1c3c of _0x55f6b5)this[_0x588bf0(0xbc)](_0x5f1c25,_0x1b1c3c)&&(_0x3e4561=!0x0);for(const _0x3df54 of _0x10969f)this[_0x588bf0(0xb3)](_0x5f1c25,_0x3df54)&&(_0x3e4561=!0x0);return _0x3e4561;}[_0x3aa6db(0x9c)](_0x4bc87c){const _0x372e51=_0x3aa6db;if(!this[_0x372e51(0xa5)])return!0x1;let _0xf13de5=!0x1;if(this[_0x372e51(0xa5)][_0x372e51(0x93)]!==this[_0x372e51(0x7e)][_0x372e51(0xd5)]){const _0x35c7b5=[];for(const _0x122b2e of this[_0x372e51(0xa5)][_0x372e51(0xa8)]()){const _0x3fa1c0=_0x122b2e[_0x372e51(0x9f)](_0x372e51(0xa6));this[_0x372e51(0xcb)](_0x3fa1c0)||(_0x35c7b5[_0x372e51(0x89)](_0x122b2e),_0xf13de5=!0x0);}for(const _0x5713c0 of _0x35c7b5)_0x4bc87c[_0x372e51(0x9b)](_0x5713c0);}const _0x197641=new Set(),_0x6d0808=[];for(const _0x53a79e of this[_0x372e51(0xa5)][_0x372e51(0xa8)]()){const _0x400b72=_0x53a79e[_0x372e51(0x9f)](_0x372e51(0xa6));_0x197641[_0x372e51(0x8c)](_0x400b72)?(_0x6d0808[_0x372e51(0x89)](_0x53a79e),_0xf13de5=!0x0):_0x197641[_0x372e51(0x9a)](_0x400b72);}for(const _0x3f42bc of _0x6d0808)_0x4bc87c[_0x372e51(0x9b)](_0x3f42bc);return this[_0x372e51(0xa5)][_0x372e51(0x93)]||(_0x4bc87c[_0x372e51(0x9b)](this[_0x372e51(0xa5)]),this[_0x372e51(0xa5)]=null,_0xf13de5=!0x0),_0xf13de5;}[_0x3aa6db(0xbc)](_0x375959,_0x123e04){const _0x4c0ff7=_0x3aa6db;if(this[_0x4c0ff7(0x7e)][_0x4c0ff7(0xce)](_0x1e0ab8=>_0x1e0ab8[_0x4c0ff7(0xc9)]===_0x123e04))return!0x1;let _0x3f9ff6=!0x1;const _0x1652e0=_0x123e04[_0x4c0ff7(0x9f)](_0x4c0ff7(0xa6)),_0x189ec8=this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x94)](_0x293de0=>_0x293de0['id']===_0x1652e0);-0x1!==_0x189ec8&&(_0x375959[_0x4c0ff7(0x9b)](this[_0x4c0ff7(0x7e)][_0x189ec8][_0x4c0ff7(0xc9)]),this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x8d)](_0x189ec8,0x1),_0x3f9ff6=!0x0);let _0x188339=this[_0x4c0ff7(0xa5)]?function(_0x41d912,_0x54259e){const _0x2e4eca=_0x4c0ff7;for(const _0x399064 of _0x41d912[_0x2e4eca(0xa8)]())if(_0x399064[_0x2e4eca(0x9f)](_0x2e4eca(0xa6))===_0x54259e)return _0x399064;return null;}(this[_0x4c0ff7(0xa5)],_0x1652e0):null;_0x188339||(_0x188339=_0x375959[_0x4c0ff7(0xcd)](_0x4c0ff7(0xab),{'footnoteId':_0x1652e0}),this[_0x4c0ff7(0xa5)]&&(_0x375959[_0x4c0ff7(0x92)](_0x188339,this[_0x4c0ff7(0xa5)],_0x4c0ff7(0x96)),_0x3f9ff6=!0x0));const _0x1aed53={'id':_0x1652e0,'reference':_0x123e04,'definition':_0x188339},_0x49bf7d=I(this[_0x4c0ff7(0x79)][_0x4c0ff7(0xc6)],this[_0x4c0ff7(0x7e)],_0x123e04);this[_0x4c0ff7(0x7e)][_0x4c0ff7(0x8d)](_0x49bf7d,0x0,_0x1aed53);let _0x382b40=_0x49bf7d;return-0x1!==_0x189ec8&&(_0x382b40=Math[_0x4c0ff7(0xb1)](_0x49bf7d,_0x189ec8)),this[_0x4c0ff7(0xba)](_0x375959,_0x382b40)&&(_0x3f9ff6=!0x0),_0x3f9ff6;}[_0x3aa6db(0xa3)](_0x36fba4,_0x56da10){const _0x5434fc=_0x3aa6db,_0xe83983=this[_0x5434fc(0x7e)][_0x5434fc(0x94)](_0x8aaa2b=>_0x8aaa2b['id']===_0x56da10);if(-0x1===_0xe83983)return!0x1;let _0xf01660=!0x1;const _0x477515=this[_0x5434fc(0x7e)][_0xe83983];return _0x5434fc(0xd0)!==_0x477515[_0x5434fc(0x85)][_0x5434fc(0x87)][_0x5434fc(0xb6)]&&(_0x36fba4[_0x5434fc(0x9b)](_0x477515[_0x5434fc(0x85)]),_0xf01660=!0x0),this[_0x5434fc(0x7e)][_0x5434fc(0x8d)](_0xe83983,0x1),this[_0x5434fc(0xba)](_0x36fba4,_0xe83983)&&(_0xf01660=!0x0),_0xf01660;}[_0x3aa6db(0xb3)](_0x1c330e,_0x1eda9b){const _0xeb08c1=_0x3aa6db,_0x17ea1b=_0x1eda9b[_0xeb08c1(0x9f)](_0xeb08c1(0xa6)),_0x5019ff=this[_0xeb08c1(0x7e)][_0xeb08c1(0x94)](_0xf3ab59=>_0xf3ab59['id']===_0x17ea1b),_0x3020cd=this[_0xeb08c1(0x7e)][_0x5019ff];let _0x5615f9=!0x1;_0x3020cd[_0xeb08c1(0xc9)]=_0x1eda9b,this[_0xeb08c1(0x7e)][_0xeb08c1(0x8d)](_0x5019ff,0x1);const _0x361170=I(this[_0xeb08c1(0x79)][_0xeb08c1(0xc6)],this[_0xeb08c1(0x7e)],_0x1eda9b);return this[_0xeb08c1(0x7e)][_0xeb08c1(0x8d)](_0x361170,0x0,_0x3020cd),this[_0xeb08c1(0xba)](_0x1c330e,Math[_0xeb08c1(0xb1)](_0x5019ff,_0x361170))&&(_0x5615f9=!0x0),_0x5615f9;}[_0x3aa6db(0x7a)](_0x3c5f6f,_0x54c7d3){const _0x259353=_0x3aa6db;if(!this[_0x259353(0xa5)])return!0x1;const _0xada023=this[_0x259353(0x7e)][_0x54c7d3];let _0x4d93fc;return _0x4d93fc=this[_0x259353(0xaf)]?this[_0x259353(0xaf)]({'footnote':_0xada023,'container':this[_0x259353(0xa5)],'digits':String(this[_0x259353(0x7e)][_0x259353(0xd5)])[_0x259353(0xd5)],'value':_0x54c7d3+0x1}):String(_0x54c7d3+0x1),_0xada023[_0x259353(0xc9)][_0x259353(0x9f)](_0x259353(0xbb))!=_0x4d93fc&&(_0x3c5f6f[_0x259353(0x88)](_0x259353(0xbb),_0x4d93fc,_0xada023[_0x259353(0xc9)]),!0x0);}[_0x3aa6db(0xb2)](_0x400713){const _0x447a85=_0x3aa6db;if(!this[_0x447a85(0xa5)]||this[_0x447a85(0x7e)][_0x447a85(0xd5)]<0x2)return!0x1;if(function(_0x50c77d,_0x1e968b){const _0x217ce8=_0x447a85;if(_0x50c77d[_0x217ce8(0xd5)]!==_0x1e968b[_0x217ce8(0xd5)])return!0x1;for(let _0x1d2245=0x0;_0x1d2245<_0x50c77d[_0x217ce8(0xd5)];_0x1d2245++)if(_0x50c77d[_0x1d2245]!==_0x1e968b[_0x1d2245])return!0x1;return!0x0;}(this[_0x447a85(0x7e)][_0x447a85(0xc1)](_0x2111c4=>_0x2111c4['id']),Array[_0x447a85(0xc2)](this[_0x447a85(0xa5)][_0x447a85(0xa8)]())[_0x447a85(0xc1)](_0x12a8f7=>_0x12a8f7[_0x447a85(0x9f)](_0x447a85(0xa6)))))return!0x1;let _0x5a9aa5=!0x1;for(let _0x1ab8f8=0x0;_0x1ab8f8<this[_0x447a85(0x7e)][_0x447a85(0xd5)];_0x1ab8f8++){const _0x1d34f4=this[_0x447a85(0x7e)][_0x1ab8f8],_0x4aa531=_0x400713[_0x447a85(0xb5)](_0x1d34f4[_0x447a85(0x85)]),_0x4da344=_0x400713[_0x447a85(0xc0)](this[_0x447a85(0xa5)],_0x1ab8f8);_0x4aa531[_0x447a85(0xa2)](_0x4da344)||(_0x400713[_0x447a85(0xd3)](_0x400713[_0x447a85(0x90)](_0x1d34f4[_0x447a85(0x85)]),_0x4da344),_0x5a9aa5=!0x0);}return _0x5a9aa5;}[_0x3aa6db(0x91)](_0x1c2361){const _0x44c519=_0x3aa6db;if(!this[_0x44c519(0x7e)][_0x44c519(0xd5)])return!0x1;const {model:_0x3ffb67}=this[_0x44c519(0x79)];let _0x4e9cdf=!0x1;for(let _0x5dca3a=0x0;_0x5dca3a<this[_0x44c519(0x7e)][_0x44c519(0xd5)]-0x1;_0x5dca3a++){const _0x2ad63=this[_0x44c519(0x7e)][_0x5dca3a],_0x216545=this[_0x44c519(0x7e)][_0x5dca3a+0x1],_0x12bc11=_0x3ffb67[_0x44c519(0xb5)](_0x2ad63[_0x44c519(0xc9)]),_0x160353=_0x3ffb67[_0x44c519(0xb5)](_0x216545[_0x44c519(0xc9)]);_0x44c519(0x75)===_0x12bc11[_0x44c519(0x82)](_0x160353)&&(this[_0x44c519(0xb3)](_0x1c2361,_0x2ad63[_0x44c519(0xc9)]),_0x5dca3a=-0x1,_0x4e9cdf=!0x0);}return _0x4e9cdf;}}function _0x3d44(_0x48b757,_0x40e270){const _0x31f67e=_0x31f6();return _0x3d44=function(_0x3d44ef,_0x1f0d9d){_0x3d44ef=_0x3d44ef-0x72;let _0x41bc22=_0x31f67e[_0x3d44ef];return _0x41bc22;},_0x3d44(_0x48b757,_0x40e270);}function _(_0x7cec3e,_0x5ab537,_0xb2bea8){const _0x3a5b16=_0x3aa6db;if(_0xb2bea8[_0x3a5b16(0x93)])return!0x1;const _0x5ebae0=_0x5ab537?_0x3a5b16(0xc3):_0x3a5b16(0x7d);return _0x7cec3e[_0x3a5b16(0x92)](_0x7cec3e[_0x3a5b16(0xcd)](_0x5ebae0),_0xb2bea8),!0x0;}function I(_0x4b6e0a,_0x1c8597,_0x4c5b9b){const _0x56dbef=_0x3aa6db;if(0x0===_0x1c8597[_0x56dbef(0xd5)])return 0x0;const _0x4bd142=_0x4b6e0a[_0x56dbef(0xb5)](_0x4c5b9b);for(let _0x3df626=0x0;_0x3df626<_0x1c8597[_0x56dbef(0xd5)];_0x3df626++){const _0x210fd4=_0x1c8597[_0x3df626],_0x45c469=_0x4b6e0a[_0x56dbef(0xb5)](_0x210fd4[_0x56dbef(0xc9)]);if(_0x56dbef(0x84)===_0x4bd142[_0x56dbef(0x82)](_0x45c469))return _0x3df626;}const _0x50d512=_0x4c5b9b[_0x56dbef(0x87)];let _0x283f12=-0x1;for(let _0x3a1cd1=_0x1c8597[_0x56dbef(0xd5)]-0x1;_0x3a1cd1>=0x0;_0x3a1cd1--)if(_0x1c8597[_0x3a1cd1][_0x56dbef(0xc9)][_0x56dbef(0x87)]===_0x50d512){_0x283f12=_0x3a1cd1;break;}if(-0x1!==_0x283f12)return _0x283f12+0x1;const _0x483f1d=_0x4b6e0a[_0x56dbef(0x9e)][_0x56dbef(0xa9)](),_0x1a0ff5=_0x483f1d[_0x56dbef(0x86)](_0x50d512[_0x56dbef(0xb6)]),_0x1f235a=_0x483f1d[_0x1a0ff5+0x1];if(_0x1f235a){for(let _0x11d4cd=0x0;_0x11d4cd<_0x1c8597[_0x56dbef(0xd5)];_0x11d4cd++)if(_0x1c8597[_0x11d4cd][_0x56dbef(0xc9)][_0x56dbef(0x87)][_0x56dbef(0xb6)]===_0x1f235a)return _0x11d4cd;}return _0x1c8597[_0x56dbef(0xd5)];}
23
+ const _0x277706=_0x3eee;(function(_0x142e9f,_0x291c42){const _0x1b2bad=_0x3eee,_0x300b57=_0x142e9f();while(!![]){try{const _0x2106fa=parseInt(_0x1b2bad(0x92))/0x1+parseInt(_0x1b2bad(0xda))/0x2+parseInt(_0x1b2bad(0xa1))/0x3+parseInt(_0x1b2bad(0xed))/0x4*(parseInt(_0x1b2bad(0xaf))/0x5)+parseInt(_0x1b2bad(0xc3))/0x6*(parseInt(_0x1b2bad(0xd0))/0x7)+parseInt(_0x1b2bad(0xa9))/0x8+parseInt(_0x1b2bad(0x8d))/0x9*(-parseInt(_0x1b2bad(0xe1))/0xa);if(_0x2106fa===_0x291c42)break;else _0x300b57['push'](_0x300b57['shift']());}catch(_0x46feb1){_0x300b57['push'](_0x300b57['shift']());}}}(_0x3518,0xbcbad));function _0x3eee(_0x2f5bdf,_0x26faf0){const _0x3518c4=_0x3518();return _0x3eee=function(_0x3eee0d,_0x24cd15){_0x3eee0d=_0x3eee0d-0x8d;let _0x480144=_0x3518c4[_0x3eee0d];return _0x480144;},_0x3eee(_0x2f5bdf,_0x26faf0);}import{Plugin as _0x34d622}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1f0c44}from'./modelelementtracker.js';export class FootnotesTracker extends _0x34d622{[_0x277706(0xaa)]=[];[_0x277706(0x90)]=null;[_0x277706(0xec)]=null;[_0x277706(0xee)];[_0x277706(0xde)];[_0x277706(0xf1)];static get[_0x277706(0xd5)](){const _0x58abee=_0x277706;return _0x58abee(0xdf);}static get[_0x277706(0xb8)](){return!0x0;}static get[_0x277706(0xcd)](){return!0x0;}constructor(_0x328a63){const _0x114291=_0x277706;super(_0x328a63),this[_0x114291(0xee)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xa4),'getElementKey':()=>_0x114291(0xa8)}),this[_0x114291(0xde)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xcf),'getElementKey':_0x47c89a=>_0x47c89a[_0x114291(0xe5)](_0x114291(0xe4))}),this[_0x114291(0xf1)]=new _0x1f0c44(this[_0x114291(0x8e)][_0x114291(0xb2)],{'elementName':_0x114291(0xc9),'getElementKey':_0x4d2baf=>_0x4d2baf[_0x114291(0xe5)](_0x114291(0xe4))});}[_0x277706(0xc1)](){const _0x2d89f5=_0x277706,{editor:_0x249ca4}=this,{model:_0x4b6cba,data:_0x14ca05}=_0x249ca4;_0x4b6cba[_0x2d89f5(0xd9)][_0x2d89f5(0xa2)](_0x333943=>{const _0xb8357d=_0x2d89f5,_0xc0eb2a=_0x4b6cba[_0xb8357d(0xd9)][_0xb8357d(0x9d)][_0xb8357d(0xb7)]();let _0x311ebb=!0x1;return this[_0xb8357d(0x8f)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0x9a)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0xe3)](_0x333943,_0xc0eb2a)&&(_0x311ebb=!0x0),this[_0xb8357d(0xd4)](_0x333943)&&(_0x311ebb=!0x0),this[_0xb8357d(0xba)](_0x333943)&&(_0x311ebb=!0x0),this[_0xb8357d(0x9b)](_0x333943)&&(_0x311ebb=!0x0),_0x311ebb;}),this[_0x2d89f5(0x97)](_0x4b6cba[_0x2d89f5(0xd9)],_0x2d89f5(0xc2),()=>{const _0x1ca9e4=_0x2d89f5;_0x4b6cba[_0x1ca9e4(0xef)]({'isUndoable':!0x1},_0x5769b7=>{const _0x498d1f=_0x1ca9e4;this[_0x498d1f(0xa7)](_0x5769b7);});},{'priority':_0x2d89f5(0xa5)}),this[_0x2d89f5(0x97)](_0x14ca05,_0x2d89f5(0xbc),()=>{const _0x1ceea3=_0x2d89f5;this[_0x1ceea3(0xaa)]=[],this[_0x1ceea3(0xee)][_0x1ceea3(0x91)](),this[_0x1ceea3(0xde)][_0x1ceea3(0x91)](),this[_0x1ceea3(0xf1)][_0x1ceea3(0x91)]();},{'priority':_0x2d89f5(0xa0)});}[_0x277706(0xca)](){const _0x13b379=_0x277706;return this[_0x13b379(0x90)];}[_0x277706(0x9f)](_0x5445cb){const _0x544f32=_0x277706;return this[_0x544f32(0xaa)][_0x544f32(0xd6)](_0x20064e=>_0x20064e['id']===_0x5445cb)||null;}[_0x277706(0xb9)](){const _0x494d60=_0x277706;return Array[_0x494d60(0x96)](this[_0x494d60(0xaa)]);}[_0x277706(0xe0)](){const _0x59450e=_0x277706;return this[_0x59450e(0xec)];}[_0x277706(0xbf)](_0x13f38e){const _0x104769=_0x277706;this[_0x104769(0xec)]=_0x13f38e;}[_0x277706(0xc5)](_0x52816b,_0x5e1086=0x0){const _0x22a6fb=_0x277706;let _0x50cf17=!0x1;for(let _0x2748e0=_0x5e1086;_0x2748e0<this[_0x22a6fb(0xaa)][_0x22a6fb(0xdd)];_0x2748e0++)this[_0x22a6fb(0xc0)](_0x52816b,_0x2748e0)&&(_0x50cf17=!0x0);return _0x50cf17;}[_0x277706(0xad)](_0x1ab7a2,_0xcf401a){const _0x4bbe41=_0x277706,_0x98165a=_0x1ab7a2[_0x4bbe41(0xd8)](_0x4bbe41(0xa4),{});return _0x1ab7a2[_0x4bbe41(0xb4)](_0x98165a,_0xcf401a),this[_0x4bbe41(0x90)]=_0x98165a,_0x98165a;}[_0x277706(0xa7)](_0x5a2cc2){const _0x4da298=_0x277706;if(!this[_0x4da298(0xaa)][_0x4da298(0xdd)]||this[_0x4da298(0x90)])return;const _0x23f8f1=this[_0x4da298(0xaa)][0x0][_0x4da298(0xc6)][_0x4da298(0x93)],_0x49de5b=this[_0x4da298(0xad)](_0x5a2cc2,_0x23f8f1);for(const _0x2218cb of this[_0x4da298(0xaa)])_0x2218cb[_0x4da298(0xc4)][_0x4da298(0x9e)]||_0x5a2cc2[_0x4da298(0xf0)](_0x2218cb[_0x4da298(0xc4)],_0x49de5b,_0x4da298(0xd2));this[_0x4da298(0xc5)](_0x5a2cc2);}[_0x277706(0x8f)](_0x30fd92,_0x3a27ac){const _0x88c458=_0x277706;let _0x1d98de=!0x1;const {inserted:_0x3b28b5,removed:_0x58da8d,moved:_0x594270}=this[_0x88c458(0xee)][_0x88c458(0xb7)](_0x3a27ac);if(_0x594270[_0x88c458(0xdd)]&&(this[_0x88c458(0x90)]=_0x594270[0x0]),_0x3b28b5[_0x88c458(0xdd)]){if(_0x3b28b5[_0x88c458(0xdd)]>0x1||this[_0x88c458(0x90)]&&_0x3b28b5[_0x88c458(0xae)](_0x50db22=>_0x50db22!==this[_0x88c458(0x90)])){const _0x28f2c8=_0x30fd92[_0x88c458(0xd8)](_0x88c458(0xa4),{}),_0x58e06b=[];this[_0x88c458(0x90)]&&_0x58e06b[_0x88c458(0xc7)](this[_0x88c458(0x90)]),_0x58e06b[_0x88c458(0xc7)](..._0x3b28b5),_0x30fd92[_0x88c458(0xf0)](_0x28f2c8,_0x58e06b[0x0],_0x88c458(0xcc));for(const _0x1b3c91 of _0x58e06b)_0x30fd92[_0x88c458(0xe9)](_0x30fd92[_0x88c458(0xdc)](_0x1b3c91),_0x30fd92[_0x88c458(0xe8)](_0x28f2c8,_0x88c458(0xd2))),_0x30fd92[_0x88c458(0xea)](_0x1b3c91);this[_0x88c458(0x90)]=_0x28f2c8,this[_0x88c458(0xc5)](_0x30fd92),_0x1d98de=!0x0;}else this[_0x88c458(0x90)]=_0x3b28b5[0x0];}if(_0x58da8d[_0x88c458(0xdd)]&&_0x88c458(0xce)===this[_0x88c458(0x90)]?.[_0x88c458(0x93)][_0x88c458(0xe7)]){for(const _0x31877d of this[_0x88c458(0xaa)])_0x30fd92[_0x88c458(0xea)](_0x31877d[_0x88c458(0xc6)]),_0x1d98de=!0x0;this[_0x88c458(0xaa)]=[],this[_0x88c458(0x90)]=null;}return _0x1d98de;}[_0x277706(0x9a)](_0x4624c3,_0x418580){const _0x507024=_0x277706;let _0x28f231=!0x1;const _0xd5c03d=this[_0x507024(0x8e)][_0x507024(0x99)][_0x507024(0x94)](_0x507024(0xab)),{inserted:_0x1a407e,moved:_0x3d4c40}=this[_0x507024(0xf1)][_0x507024(0xb7)](_0x418580);for(const _0x2306f1 of[..._0x3d4c40,..._0x1a407e]){const _0x4dd55d=_0x2306f1[_0x507024(0xe5)](_0x507024(0xe4)),_0x21236a=this[_0x507024(0x9f)](_0x4dd55d);_0x21236a&&(_0x21236a[_0x507024(0xc4)]=_0x2306f1),_(_0x4624c3,_0xd5c03d,_0x2306f1)&&(_0x28f231=!0x0);}return _0x28f231;}[_0x277706(0xe3)](_0x1827d6,_0x37db18){const _0x32ffef=_0x277706;let _0x57c0a0=!0x1;const {removed:_0x25589c,inserted:_0x3451af,moved:_0x56a497}=this[_0x32ffef(0xde)][_0x32ffef(0xb7)](_0x37db18);for(const _0x28ed74 of _0x25589c)this[_0x32ffef(0xd3)](_0x1827d6,_0x28ed74)&&(_0x57c0a0=!0x0);for(const _0x416267 of _0x3451af)this[_0x32ffef(0xd1)](_0x1827d6,_0x416267)&&(_0x57c0a0=!0x0);for(const _0x12e46a of _0x56a497)this[_0x32ffef(0xac)](_0x1827d6,_0x12e46a)&&(_0x57c0a0=!0x0);return _0x57c0a0;}[_0x277706(0xba)](_0x43e845){const _0x42689b=_0x277706;if(!this[_0x42689b(0x90)])return!0x1;let _0x1abc00=!0x1;if(this[_0x42689b(0x90)][_0x42689b(0xcb)]!==this[_0x42689b(0xaa)][_0x42689b(0xdd)]){const _0x28c9b9=[];for(const _0x249fa4 of this[_0x42689b(0x90)][_0x42689b(0xa6)]()){const _0x544e03=_0x249fa4[_0x42689b(0xe5)](_0x42689b(0xe4));this[_0x42689b(0x9f)](_0x544e03)||(_0x28c9b9[_0x42689b(0xe6)](_0x249fa4),_0x1abc00=!0x0);}for(const _0x8da737 of _0x28c9b9)_0x43e845[_0x42689b(0xea)](_0x8da737);}const _0x4287e5=new Set(),_0x3cbbd1=[];for(const _0x148896 of this[_0x42689b(0x90)][_0x42689b(0xa6)]()){const _0x3cf7b5=_0x148896[_0x42689b(0xe5)](_0x42689b(0xe4));_0x4287e5[_0x42689b(0x98)](_0x3cf7b5)?(_0x3cbbd1[_0x42689b(0xe6)](_0x148896),_0x1abc00=!0x0):_0x4287e5[_0x42689b(0xb1)](_0x3cf7b5);}for(const _0x3559e3 of _0x3cbbd1)_0x43e845[_0x42689b(0xea)](_0x3559e3);return this[_0x42689b(0x90)][_0x42689b(0xcb)]||(_0x43e845[_0x42689b(0xea)](this[_0x42689b(0x90)]),this[_0x42689b(0x90)]=null,_0x1abc00=!0x0),_0x1abc00;}[_0x277706(0xd1)](_0x32a9a2,_0x2df8fe){const _0x1d59a7=_0x277706;if(this[_0x1d59a7(0xaa)][_0x1d59a7(0xd6)](_0x1bc838=>_0x1bc838[_0x1d59a7(0xc6)]===_0x2df8fe))return!0x1;let _0x42c86f=!0x1;const _0x349592=_0x2df8fe[_0x1d59a7(0xe5)](_0x1d59a7(0xe4)),_0x57d7e4=this[_0x1d59a7(0xaa)][_0x1d59a7(0x9c)](_0x2c4552=>_0x2c4552['id']===_0x349592);-0x1!==_0x57d7e4&&(_0x32a9a2[_0x1d59a7(0xea)](this[_0x1d59a7(0xaa)][_0x57d7e4][_0x1d59a7(0xc6)]),this[_0x1d59a7(0xaa)][_0x1d59a7(0xd7)](_0x57d7e4,0x1),_0x42c86f=!0x0);let _0x56b19a=this[_0x1d59a7(0x90)]?function(_0x70ccd6,_0x5b8ad7){const _0x1c0673=_0x1d59a7;for(const _0x398152 of _0x70ccd6[_0x1c0673(0xa6)]())if(_0x398152[_0x1c0673(0xe5)](_0x1c0673(0xe4))===_0x5b8ad7)return _0x398152;return null;}(this[_0x1d59a7(0x90)],_0x349592):null;_0x56b19a||(_0x56b19a=_0x32a9a2[_0x1d59a7(0xd8)](_0x1d59a7(0xc9),{'footnoteId':_0x349592}),this[_0x1d59a7(0x90)]&&(_0x32a9a2[_0x1d59a7(0xf0)](_0x56b19a,this[_0x1d59a7(0x90)],_0x1d59a7(0xd2)),_0x42c86f=!0x0));const _0x526b7b={'id':_0x349592,'reference':_0x2df8fe,'definition':_0x56b19a},_0x5502b4=I(this[_0x1d59a7(0x8e)][_0x1d59a7(0xb2)],this[_0x1d59a7(0xaa)],_0x2df8fe);this[_0x1d59a7(0xaa)][_0x1d59a7(0xd7)](_0x5502b4,0x0,_0x526b7b);let _0x493b2b=_0x5502b4;return-0x1!==_0x57d7e4&&(_0x493b2b=Math[_0x1d59a7(0xb3)](_0x5502b4,_0x57d7e4)),this[_0x1d59a7(0xc5)](_0x32a9a2,_0x493b2b)&&(_0x42c86f=!0x0),_0x42c86f;}[_0x277706(0xd3)](_0x41b590,_0x6b4d5a){const _0x7926b3=_0x277706,_0x22718b=this[_0x7926b3(0xaa)][_0x7926b3(0x9c)](_0x3f71c6=>_0x3f71c6['id']===_0x6b4d5a);if(-0x1===_0x22718b)return!0x1;let _0x5b88ef=!0x1;const _0x12e807=this[_0x7926b3(0xaa)][_0x22718b];return _0x7926b3(0xce)!==_0x12e807[_0x7926b3(0xc4)][_0x7926b3(0x93)][_0x7926b3(0xe7)]&&(_0x41b590[_0x7926b3(0xea)](_0x12e807[_0x7926b3(0xc4)]),_0x5b88ef=!0x0),this[_0x7926b3(0xaa)][_0x7926b3(0xd7)](_0x22718b,0x1),this[_0x7926b3(0xc5)](_0x41b590,_0x22718b)&&(_0x5b88ef=!0x0),_0x5b88ef;}[_0x277706(0xac)](_0x4b65f6,_0x1e3c2c){const _0x5005ed=_0x277706,_0x2d5d3d=_0x1e3c2c[_0x5005ed(0xe5)](_0x5005ed(0xe4)),_0x5c1a21=this[_0x5005ed(0xaa)][_0x5005ed(0x9c)](_0x1898ff=>_0x1898ff['id']===_0x2d5d3d),_0x5823b6=this[_0x5005ed(0xaa)][_0x5c1a21];let _0x3ec620=!0x1;_0x5823b6[_0x5005ed(0xc6)]=_0x1e3c2c,this[_0x5005ed(0xaa)][_0x5005ed(0xd7)](_0x5c1a21,0x1);const _0x158b8a=I(this[_0x5005ed(0x8e)][_0x5005ed(0xb2)],this[_0x5005ed(0xaa)],_0x1e3c2c);return this[_0x5005ed(0xaa)][_0x5005ed(0xd7)](_0x158b8a,0x0,_0x5823b6),this[_0x5005ed(0xc5)](_0x4b65f6,Math[_0x5005ed(0xb3)](_0x5c1a21,_0x158b8a))&&(_0x3ec620=!0x0),_0x3ec620;}[_0x277706(0xc0)](_0x1843d7,_0x3e04e7){const _0x37d277=_0x277706;if(!this[_0x37d277(0x90)])return!0x1;const _0x451fd2=this[_0x37d277(0xaa)][_0x3e04e7];let _0x429509;return _0x429509=this[_0x37d277(0xec)]?this[_0x37d277(0xec)]({'footnote':_0x451fd2,'container':this[_0x37d277(0x90)],'digits':String(this[_0x37d277(0xaa)][_0x37d277(0xdd)])[_0x37d277(0xdd)],'value':_0x3e04e7+0x1}):String(_0x3e04e7+0x1),_0x451fd2[_0x37d277(0xc6)][_0x37d277(0xe5)](_0x37d277(0xb5))!=_0x429509&&(_0x1843d7[_0x37d277(0xc8)](_0x37d277(0xb5),_0x429509,_0x451fd2[_0x37d277(0xc6)]),!0x0);}[_0x277706(0x9b)](_0x149b23){const _0x427afd=_0x277706;if(!this[_0x427afd(0x90)]||this[_0x427afd(0xaa)][_0x427afd(0xdd)]<0x2)return!0x1;if(function(_0x2bc7fc,_0x328dae){const _0x21ecee=_0x427afd;if(_0x2bc7fc[_0x21ecee(0xdd)]!==_0x328dae[_0x21ecee(0xdd)])return!0x1;for(let _0x30273a=0x0;_0x30273a<_0x2bc7fc[_0x21ecee(0xdd)];_0x30273a++)if(_0x2bc7fc[_0x30273a]!==_0x328dae[_0x30273a])return!0x1;return!0x0;}(this[_0x427afd(0xaa)][_0x427afd(0xdb)](_0x1b205f=>_0x1b205f['id']),Array[_0x427afd(0x96)](this[_0x427afd(0x90)][_0x427afd(0xa6)]())[_0x427afd(0xdb)](_0x1aecc7=>_0x1aecc7[_0x427afd(0xe5)](_0x427afd(0xe4)))))return!0x1;let _0x4207f6=!0x1;for(let _0x1d42f7=0x0;_0x1d42f7<this[_0x427afd(0xaa)][_0x427afd(0xdd)];_0x1d42f7++){const _0x4dbb4d=this[_0x427afd(0xaa)][_0x1d42f7],_0x8fe23c=_0x149b23[_0x427afd(0xbe)](_0x4dbb4d[_0x427afd(0xc4)]),_0x52d9f9=_0x149b23[_0x427afd(0xe8)](this[_0x427afd(0x90)],_0x1d42f7);_0x8fe23c[_0x427afd(0xb0)](_0x52d9f9)||(_0x149b23[_0x427afd(0xe9)](_0x149b23[_0x427afd(0xeb)](_0x4dbb4d[_0x427afd(0xc4)]),_0x52d9f9),_0x4207f6=!0x0);}return _0x4207f6;}[_0x277706(0xd4)](_0x48362d){const _0x1f1ab7=_0x277706;if(!this[_0x1f1ab7(0xaa)][_0x1f1ab7(0xdd)])return!0x1;const {model:_0x9a3cc0}=this[_0x1f1ab7(0x8e)];let _0x47736d=!0x1;for(let _0x1996b5=0x0;_0x1996b5<this[_0x1f1ab7(0xaa)][_0x1f1ab7(0xdd)]-0x1;_0x1996b5++){const _0x3fa1b2=this[_0x1f1ab7(0xaa)][_0x1996b5],_0x4905e6=this[_0x1f1ab7(0xaa)][_0x1996b5+0x1],_0x5314bc=_0x9a3cc0[_0x1f1ab7(0xbe)](_0x3fa1b2[_0x1f1ab7(0xc6)]),_0x5b21bc=_0x9a3cc0[_0x1f1ab7(0xbe)](_0x4905e6[_0x1f1ab7(0xc6)]);_0x1f1ab7(0xa3)===_0x5314bc[_0x1f1ab7(0xb6)](_0x5b21bc)&&(this[_0x1f1ab7(0xac)](_0x48362d,_0x3fa1b2[_0x1f1ab7(0xc6)]),_0x1996b5=-0x1,_0x47736d=!0x0);}return _0x47736d;}}function _(_0x5822f5,_0x41c8ef,_0x267932){const _0x47b2cc=_0x277706;if(_0x267932[_0x47b2cc(0xcb)])return!0x1;const _0x383986=_0x41c8ef?_0x47b2cc(0xe2):_0x47b2cc(0x95);return _0x5822f5[_0x47b2cc(0xf0)](_0x5822f5[_0x47b2cc(0xd8)](_0x383986),_0x267932),!0x0;}function _0x3518(){const _0x528921=['650856mDGCEl','registerPostFixer','after','footnotesDefinitions','low','getChildren','_ensureFootnotesDefinitionsContainerExists','singleton','9121208mxCaDM','_footnotes','footnotes.multiBlock','_handleMovedFootnoteReference','_insertEmptyFootnotesDefinitionsContainer','some','10rMoZDv','isEqual','add','model','min','append','footnoteCounter','compareWith','getChanges','isOfficialPlugin','getFootnotes','_handleFootnotesDefinitionsObjectSync','indexOf','set','getRootNames','createPositionBefore','setFootnoteFormatter','_updateFootnoteRefCounter','init','change:data','6yBzRab','definition','_updateFootnotesCounters','reference','push','setAttribute','footnoteDefinition','getFootnotesDefinitionsObjectElement','childCount','before','isPremiumPlugin','$graveyard','footnoteRef','5950378whGruC','_handleInsertedFootnoteReference','end','_handleRemoveFootnoteReferenceById','_ensureFootnotesReferencesHaveProperOrder','pluginName','find','splice','createElement','document','1061894ykixOq','map','createRangeIn','length','_footnoteRefsTracker','FootnotesTracker','getFootnotesFormatter','10rLBUlL','paragraph','_handleFootnoteReferencesChanges','footnoteId','getAttribute','unshift','rootName','createPositionAt','move','remove','createRangeOn','_footnoteFormatter','1111416qHEmCG','_footnoteDefsContainerTracker','enqueueChange','insert','_footnoteDefsTracker','36190701jtNJQe','editor','_handleFootnotesDefinitionsObjectChanges','_footnotesDefinitions','reset','1500414mORFXD','root','get','footnoteInlineContent','from','listenTo','has','config','_handleFootnoteDefinitionsChanges','_sortFootnoteDefinitions','findIndex','differ','parent','getFootnote','high'];_0x3518=function(){return _0x528921;};return _0x3518();}function I(_0x494bac,_0x83a430,_0x3efc76){const _0x5a4ba6=_0x277706;if(0x0===_0x83a430[_0x5a4ba6(0xdd)])return 0x0;const _0x5d78d7=_0x494bac[_0x5a4ba6(0xbe)](_0x3efc76);for(let _0x40d9a2=0x0;_0x40d9a2<_0x83a430[_0x5a4ba6(0xdd)];_0x40d9a2++){const _0x3f507e=_0x83a430[_0x40d9a2],_0x4dc503=_0x494bac[_0x5a4ba6(0xbe)](_0x3f507e[_0x5a4ba6(0xc6)]);if(_0x5a4ba6(0xcc)===_0x5d78d7[_0x5a4ba6(0xb6)](_0x4dc503))return _0x40d9a2;}const _0x4930c3=_0x3efc76[_0x5a4ba6(0x93)];let _0x5e5b03=-0x1;for(let _0x4ea6d9=_0x83a430[_0x5a4ba6(0xdd)]-0x1;_0x4ea6d9>=0x0;_0x4ea6d9--)if(_0x83a430[_0x4ea6d9][_0x5a4ba6(0xc6)][_0x5a4ba6(0x93)]===_0x4930c3){_0x5e5b03=_0x4ea6d9;break;}if(-0x1!==_0x5e5b03)return _0x5e5b03+0x1;const _0x2fa414=_0x494bac[_0x5a4ba6(0xd9)][_0x5a4ba6(0xbd)](),_0x5c81cc=_0x2fa414[_0x5a4ba6(0xbb)](_0x4930c3[_0x5a4ba6(0xe7)]),_0x49c677=_0x2fa414[_0x5c81cc+0x1];if(_0x49c677){for(let _0x3e0b20=0x0;_0x3e0b20<_0x83a430[_0x5a4ba6(0xdd)];_0x3e0b20++)if(_0x83a430[_0x3e0b20][_0x5a4ba6(0xc6)][_0x5a4ba6(0x93)][_0x5a4ba6(0xe7)]===_0x49c677)return _0x3e0b20;}return _0x83a430[_0x5a4ba6(0xdd)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x37fca1,MenuBarMenuListItemButtonView as _0x3eb7a8}from'ckeditor5/src/ui.js';import{Plugin as _0x434d54}from'ckeditor5/src/core.js';import{IconFootnote as _0x12e143}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x434d54{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5cdc2d}=this,{componentFactory:_0x2dd19a}=_0x5cdc2d['ui'];_0x2dd19a['add']('insertFootnote',x(_0x5cdc2d,_0x37fca1)),_0x2dd19a['add']('menuBar:insertFootnote',x(_0x5cdc2d,_0x3eb7a8)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1ea045=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x24afc;for(const _0x174738 in _0x1ea045){const _0x40f7c3=_0x174738,_0x37a9bf=_0x1ea045[_0x40f7c3];if('footnotesLicenseKeyValid'==_0x37a9bf||'footnotesLicenseKeyInvalid'==_0x37a9bf||'footnotesLicenseKeyExpired'==_0x37a9bf||'footnotesLicenseKeyDomainLimit'==_0x37a9bf||'footnotesLicenseKeyNotAllowed'==_0x37a9bf||'footnotesLicenseKeyEvaluationLimit'==_0x37a9bf||'footnotesLicenseKeyTrialLimit'==_0x37a9bf||'footnotesLicenseKeyUsageLimit'==_0x37a9bf){delete _0x1ea045[_0x40f7c3],_0x24afc=_0x37a9bf,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x24afc&&_0x1ea045['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x24afc&&_0x1ea045['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x24afc&&_0x1ea045['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x24afc&&_0x1ea045['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x47c75e,_0xffe67){const _0x5c598=_0x47c75e['commands']['get']('insertFootnote');return _0x15b55e=>{const {t:t}=_0x15b55e,_0x2593b4=new _0xffe67(_0x15b55e),_0x309810=_0x2593b4 instanceof _0x3eb7a8;return _0x2593b4['bind']('isEnabled')['to'](_0x5c598,'isEnabled'),_0x2593b4['set']({'label':t(_0x309810?'Footnote':'Insert\x20footnote'),'icon':_0x12e143,'tooltip':!0x0}),_0x2593b4['on']('execute',()=>{_0x5c598['execute'](),_0x47c75e['editing']['view']['focus']();}),_0x2593b4;};}
23
+ import{ButtonView as _0x1869b3,MenuBarMenuListItemButtonView as _0x5d887a}from'ckeditor5/src/ui.js';import{Plugin as _0x5da6b2}from'ckeditor5/src/core.js';import{IconFootnote as _0x4b3f61}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x5da6b2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x183b90}=this,{componentFactory:_0x46aba6}=_0x183b90['ui'];_0x46aba6['add']('insertFootnote',x(_0x183b90,_0x1869b3)),_0x46aba6['add']('menuBar:insertFootnote',x(_0x183b90,_0x5d887a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x56e4fc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x39f9a4;for(const _0x4ba476 in _0x56e4fc){const _0x263985=_0x4ba476,_0xaf72cb=_0x56e4fc[_0x263985];if('footnotesLicenseKeyValid'==_0xaf72cb||'footnotesLicenseKeyInvalid'==_0xaf72cb||'footnotesLicenseKeyExpired'==_0xaf72cb||'footnotesLicenseKeyDomainLimit'==_0xaf72cb||'footnotesLicenseKeyNotAllowed'==_0xaf72cb||'footnotesLicenseKeyEvaluationLimit'==_0xaf72cb||'footnotesLicenseKeyTrialLimit'==_0xaf72cb||'footnotesLicenseKeyUsageLimit'==_0xaf72cb){delete _0x56e4fc[_0x263985],_0x39f9a4=_0xaf72cb,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x39f9a4&&_0x56e4fc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5b2712,_0xb4e782){const _0x597ebc=_0x5b2712['commands']['get']('insertFootnote');return _0x5e2504=>{const {t:t}=_0x5e2504,_0x21eec5=new _0xb4e782(_0x5e2504),_0x2d25ba=_0x21eec5 instanceof _0x5d887a;return _0x21eec5['bind']('isEnabled')['to'](_0x597ebc,'isEnabled'),_0x21eec5['set']({'label':t(_0x2d25ba?'Footnote':'Insert\x20footnote'),'icon':_0x4b3f61,'tooltip':!0x0}),_0x21eec5['on']('execute',()=>{_0x597ebc['execute'](),_0x5b2712['editing']['view']['focus']();}),_0x21eec5;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x2821eb,_0x5ee48f){var _0x4a7515=_0x1632,_0xd1c417=_0x2821eb();while(!![]){try{var _0x264828=parseInt(_0x4a7515(0x7f))/0x1*(-parseInt(_0x4a7515(0x80))/0x2)+parseInt(_0x4a7515(0x7c))/0x3*(parseInt(_0x4a7515(0x7d))/0x4)+parseInt(_0x4a7515(0x76))/0x5+parseInt(_0x4a7515(0x7a))/0x6*(-parseInt(_0x4a7515(0x7b))/0x7)+parseInt(_0x4a7515(0x7e))/0x8+-parseInt(_0x4a7515(0x78))/0x9+-parseInt(_0x4a7515(0x79))/0xa*(-parseInt(_0x4a7515(0x77))/0xb);if(_0x264828===_0x5ee48f)break;else _0xd1c417['push'](_0xd1c417['shift']());}catch(_0x2a59ad){_0xd1c417['push'](_0xd1c417['shift']());}}}(_0x2192,0x30cc4));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x2192(){var _0x5d0ffc=['10wXxEqk','6lNlDfM','1666840GlxjfH','2904QLMVJo','1288PhdGTq','2575680WmqHUv','13909UQGmuQ','50VPLett','636205YKwAUY','936562GvrpKj','542862xzKuhL'];_0x2192=function(){return _0x5d0ffc;};return _0x2192();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x1632(_0x10448d,_0xd19038){var _0x219219=_0x2192();return _0x1632=function(_0x1632ae,_0x3fd9e7){_0x1632ae=_0x1632ae-0x76;var _0x18364c=_0x219219[_0x1632ae];return _0x18364c;},_0x1632(_0x10448d,_0xd19038);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x2b8d3d,_0xbd5661){var _0x50f21d=_0x1d26,_0x2ac412=_0x2b8d3d();while(!![]){try{var _0x4fb0c8=parseInt(_0x50f21d(0xc4))/0x1*(parseInt(_0x50f21d(0xc0))/0x2)+-parseInt(_0x50f21d(0xc3))/0x3+-parseInt(_0x50f21d(0xc2))/0x4+parseInt(_0x50f21d(0xbd))/0x5+-parseInt(_0x50f21d(0xc5))/0x6*(-parseInt(_0x50f21d(0xbf))/0x7)+-parseInt(_0x50f21d(0xbe))/0x8*(parseInt(_0x50f21d(0xc1))/0x9)+parseInt(_0x50f21d(0xc6))/0xa;if(_0x4fb0c8===_0xbd5661)break;else _0x2ac412['push'](_0x2ac412['shift']());}catch(_0x37f6d1){_0x2ac412['push'](_0x2ac412['shift']());}}}(_0x2889,0x7333a));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x2889(){var _0x403528=['6PrGiaQ','12036820ZWGFkg','163200tGktJz','752tZBEjM','1891015rIdjzT','2qlbjwq','73323lozMyW','1182600YHxVDp','395712mPIerA','158771IZrMvg'];_0x2889=function(){return _0x403528;};return _0x2889();}function _0x1d26(_0x1c4bee,_0x5a1d5f){var _0x2889ed=_0x2889();return _0x1d26=function(_0x1d26b5,_0x38fcf3){_0x1d26b5=_0x1d26b5-0xbd;var _0x1ac437=_0x2889ed[_0x1d26b5];return _0x1ac437;},_0x1d26(_0x1c4bee,_0x5a1d5f);}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e2ef3=_0x1b96;function _0x4c20(){const _0x33aafa=['insert','1945AgVQHQ','1571867nuWCeA','element','getElementKey','root','_getElementKey','attributes','78psWvqX','nodeAfter','94956PQReOk','slice','delete','$text','values','1131rUKeyq','set','_trackedElements','_elementName','push','remove','has','1334068aBZBBr','rootName','3yKOTSB','136146pLNZAW','24fZWIWU','type','_model','10FzsBuX','3722616NZYBNB','reset','position','clear','get','getChanges','from','$graveyard','add','1LBKUme','getItems','length','name','flat','elementName','createRangeOn','1036581UHSdHi'];_0x4c20=function(){return _0x33aafa;};return _0x4c20();}function _0x1b96(_0x501489,_0x537dea){const _0x4c2083=_0x4c20();return _0x1b96=function(_0x1b96ea,_0x4c6e04){_0x1b96ea=_0x1b96ea-0x69;let _0x40d91d=_0x4c2083[_0x1b96ea];return _0x40d91d;},_0x1b96(_0x501489,_0x537dea);}(function(_0x559ab4,_0x4f875d){const _0x41313c=_0x1b96,_0x410a49=_0x559ab4();while(!![]){try{const _0x4f1bc0=-parseInt(_0x41313c(0x90))/0x1*(-parseInt(_0x41313c(0x82))/0x2)+parseInt(_0x41313c(0x81))/0x3*(-parseInt(_0x41313c(0x7f))/0x4)+parseInt(_0x41313c(0x6a))/0x5*(-parseInt(_0x41313c(0x71))/0x6)+parseInt(_0x41313c(0x97))/0x7*(-parseInt(_0x41313c(0x83))/0x8)+parseInt(_0x41313c(0x87))/0x9+parseInt(_0x41313c(0x86))/0xa*(-parseInt(_0x41313c(0x6b))/0xb)+-parseInt(_0x41313c(0x73))/0xc*(-parseInt(_0x41313c(0x78))/0xd);if(_0x4f1bc0===_0x4f875d)break;else _0x410a49['push'](_0x410a49['shift']());}catch(_0x147431){_0x410a49['push'](_0x410a49['shift']());}}}(_0x4c20,0x3bab8));export class ModelElementTracker{[_0x4e2ef3(0x85)];[_0x4e2ef3(0x7b)];[_0x4e2ef3(0x6f)];[_0x4e2ef3(0x7a)]=new Map();constructor(_0x30b4af,_0x2037ca){const _0x2f64b7=_0x4e2ef3;this[_0x2f64b7(0x85)]=_0x30b4af,this[_0x2f64b7(0x7b)]=_0x2037ca[_0x2f64b7(0x95)],this[_0x2f64b7(0x6f)]=_0x2037ca[_0x2f64b7(0x6d)];}[_0x4e2ef3(0x88)](){const _0x1f165b=_0x4e2ef3;this[_0x1f165b(0x7a)][_0x1f165b(0x8a)]();}[_0x4e2ef3(0x8c)](_0x101d5d){const _0x50997e=_0x4e2ef3,_0x30923c=new Set(),_0xc3a745=new Map();for(const _0x211de3 of _0x101d5d){if(_0x50997e(0x69)===_0x211de3[_0x50997e(0x84)]&&_0x50997e(0x76)!==_0x211de3[_0x50997e(0x93)]&&_0x211de3[_0x50997e(0x89)][_0x50997e(0x72)]){const _0x425104=this[_0x50997e(0x85)][_0x50997e(0x96)](_0x211de3[_0x50997e(0x89)][_0x50997e(0x72)]);for(const _0xec0d78 of _0x425104[_0x50997e(0x91)]()){if(!_0xec0d78['is'](_0x50997e(0x6c),this[_0x50997e(0x7b)]))continue;const _0x1136a5=this[_0x50997e(0x6f)](_0xec0d78);_0xc3a745[_0x50997e(0x7e)](_0x1136a5)||_0xc3a745[_0x50997e(0x79)](_0x1136a5,[]),_0xc3a745[_0x50997e(0x8b)](_0x1136a5)[_0x50997e(0x7c)](_0xec0d78);}}if(_0x50997e(0x7d)===_0x211de3[_0x50997e(0x84)]&&_0x211de3[_0x50997e(0x93)]===this[_0x50997e(0x7b)]){const _0x4b7a07=this[_0x50997e(0x6f)]({'getAttribute':_0x47cab7=>_0x211de3[_0x50997e(0x70)][_0x50997e(0x8b)](_0x47cab7)});_0x30923c[_0x50997e(0x8f)](_0x4b7a07);}}for(const [_0x1327b9,_0x4644eb]of this[_0x50997e(0x7a)])_0x50997e(0x8e)===_0x4644eb[_0x50997e(0x6e)][_0x50997e(0x80)]&&_0x30923c[_0x50997e(0x8f)](_0x1327b9);for(const _0x18f8ad of _0x30923c)this[_0x50997e(0x7a)][_0x50997e(0x75)](_0x18f8ad);for(const [_0x15744d,_0x214c1a]of _0xc3a745)this[_0x50997e(0x7a)][_0x50997e(0x79)](_0x15744d,_0x214c1a[_0x214c1a[_0x50997e(0x92)]-0x1]);const _0x4c6a4e=new Set();for(const [_0x394e2e,_0x344794]of _0xc3a745)_0x30923c[_0x50997e(0x7e)](_0x394e2e)&&(_0x4c6a4e[_0x50997e(0x8f)](_0x344794[0x0]),_0x344794[_0x50997e(0x92)]>0x1?_0xc3a745[_0x50997e(0x79)](_0x394e2e,_0x344794[_0x50997e(0x74)](0x1)):_0xc3a745[_0x50997e(0x75)](_0x394e2e),_0x30923c[_0x50997e(0x75)](_0x394e2e));return{'removed':Array[_0x50997e(0x8d)](_0x30923c),'inserted':Array[_0x50997e(0x8d)](_0xc3a745[_0x50997e(0x77)]())[_0x50997e(0x94)](),'moved':Array[_0x50997e(0x8d)](_0x4c6a4e)};}}
23
+ function _0x1dfe(){const _0x2eac08=['nodeAfter','type','root','$text','name','14276187FSjHRd','_trackedElements','attributes','elementName','rootName','slice','4600855fDGFGL','values','get','from','clear','_model','length','_getElementKey','getChanges','insert','has','push','getElementKey','getItems','1493994cbLzpT','set','6kDEZWQ','delete','172pxVXiO','createRangeOn','_elementName','add','element','reset','51477JTCHuJ','flat','4320835lLVvfq','position','remove','859681KfiMVP','$graveyard','3907408pdUzdo'];_0x1dfe=function(){return _0x2eac08;};return _0x1dfe();}const _0x51a581=_0x2f65;(function(_0x25058f,_0x14d325){const _0x8dc413=_0x2f65,_0x9f6171=_0x25058f();while(!![]){try{const _0x59237a=parseInt(_0x8dc413(0x16b))/0x1+parseInt(_0x8dc413(0x15c))/0x2+parseInt(_0x8dc413(0x166))/0x3*(-parseInt(_0x8dc413(0x160))/0x4)+parseInt(_0x8dc413(0x168))/0x5*(-parseInt(_0x8dc413(0x15e))/0x6)+-parseInt(_0x8dc413(0x179))/0x7+-parseInt(_0x8dc413(0x16d))/0x8+parseInt(_0x8dc413(0x173))/0x9;if(_0x59237a===_0x14d325)break;else _0x9f6171['push'](_0x9f6171['shift']());}catch(_0x184891){_0x9f6171['push'](_0x9f6171['shift']());}}}(_0x1dfe,0x6cb2a));function _0x2f65(_0x5e2d24,_0x33ca81){const _0x1dfe18=_0x1dfe();return _0x2f65=function(_0x2f658d,_0xa4483b){_0x2f658d=_0x2f658d-0x15c;let _0x3f1803=_0x1dfe18[_0x2f658d];return _0x3f1803;},_0x2f65(_0x5e2d24,_0x33ca81);}export class ModelElementTracker{[_0x51a581(0x17e)];[_0x51a581(0x162)];[_0x51a581(0x180)];[_0x51a581(0x174)]=new Map();constructor(_0xda733d,_0x357e26){const _0x233f49=_0x51a581;this[_0x233f49(0x17e)]=_0xda733d,this[_0x233f49(0x162)]=_0x357e26[_0x233f49(0x176)],this[_0x233f49(0x180)]=_0x357e26[_0x233f49(0x185)];}[_0x51a581(0x165)](){const _0x4e551d=_0x51a581;this[_0x4e551d(0x174)][_0x4e551d(0x17d)]();}[_0x51a581(0x181)](_0xafd87d){const _0x50ba62=_0x51a581,_0x10afb3=new Set(),_0x118598=new Map();for(const _0x2600e9 of _0xafd87d){if(_0x50ba62(0x182)===_0x2600e9[_0x50ba62(0x16f)]&&_0x50ba62(0x171)!==_0x2600e9[_0x50ba62(0x172)]&&_0x2600e9[_0x50ba62(0x169)][_0x50ba62(0x16e)]){const _0x26ebce=this[_0x50ba62(0x17e)][_0x50ba62(0x161)](_0x2600e9[_0x50ba62(0x169)][_0x50ba62(0x16e)]);for(const _0x3e488a of _0x26ebce[_0x50ba62(0x186)]()){if(!_0x3e488a['is'](_0x50ba62(0x164),this[_0x50ba62(0x162)]))continue;const _0x21bf51=this[_0x50ba62(0x180)](_0x3e488a);_0x118598[_0x50ba62(0x183)](_0x21bf51)||_0x118598[_0x50ba62(0x15d)](_0x21bf51,[]),_0x118598[_0x50ba62(0x17b)](_0x21bf51)[_0x50ba62(0x184)](_0x3e488a);}}if(_0x50ba62(0x16a)===_0x2600e9[_0x50ba62(0x16f)]&&_0x2600e9[_0x50ba62(0x172)]===this[_0x50ba62(0x162)]){const _0x34beb2=this[_0x50ba62(0x180)]({'getAttribute':_0x1e3844=>_0x2600e9[_0x50ba62(0x175)][_0x50ba62(0x17b)](_0x1e3844)});_0x10afb3[_0x50ba62(0x163)](_0x34beb2);}}for(const [_0x578617,_0x4300c8]of this[_0x50ba62(0x174)])_0x50ba62(0x16c)===_0x4300c8[_0x50ba62(0x170)][_0x50ba62(0x177)]&&_0x10afb3[_0x50ba62(0x163)](_0x578617);for(const _0x240bb4 of _0x10afb3)this[_0x50ba62(0x174)][_0x50ba62(0x15f)](_0x240bb4);for(const [_0x1182dd,_0x53a36c]of _0x118598)this[_0x50ba62(0x174)][_0x50ba62(0x15d)](_0x1182dd,_0x53a36c[_0x53a36c[_0x50ba62(0x17f)]-0x1]);const _0x3234c4=new Set();for(const [_0x5ad955,_0x3e98ee]of _0x118598)_0x10afb3[_0x50ba62(0x183)](_0x5ad955)&&(_0x3234c4[_0x50ba62(0x163)](_0x3e98ee[0x0]),_0x3e98ee[_0x50ba62(0x17f)]>0x1?_0x118598[_0x50ba62(0x15d)](_0x5ad955,_0x3e98ee[_0x50ba62(0x178)](0x1)):_0x118598[_0x50ba62(0x15f)](_0x5ad955),_0x10afb3[_0x50ba62(0x15f)](_0x5ad955));return{'removed':Array[_0x50ba62(0x17c)](_0x10afb3),'inserted':Array[_0x50ba62(0x17c)](_0x118598[_0x50ba62(0x17a)]())[_0x50ba62(0x167)](),'moved':Array[_0x50ba62(0x17c)](_0x3234c4)};}}