@ckeditor/ckeditor5-footnotes 47.3.0-alpha.5 → 47.3.0-alpha.7

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 _0x9e1e26}from'ckeditor5/src/core.js';import{isWidget as _0x7278ba,toWidget as _0x211b66,toWidgetEditable as _0x4891bf}from'ckeditor5/src/widget.js';import{uid as _0x29f49c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x20cf4d,ClickObserver as _0x24bfef}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x34a00a}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x37b531}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x9e1e26{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x34a00a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x53d1ca}=this;_0x53d1ca['config']['define']('footnotes.multiBlock',!0x0),_0x53d1ca['commands']['add']('insertFootnote',new _0x37b531(_0x53d1ca)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x23b99d){const _0x298602=_0x5683d9([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]),_0x3d56e0=0x47a28506,_0x12903e=0x47a5ffde^_0x3d56e0,_0x148926=window[_0x5683d9([0x44,0x61,0x74,0x65])][_0x5683d9([0x6e,0x6f,0x77])](),_0x47c5ac=_0x23b99d[_0x5683d9([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x329e36=new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5225f3=>{_0x47c5ac[_0x5683d9([0x6f,0x6e,0x63,0x65])](_0x5683d9([0x72,0x65,0x61,0x64,0x79]),_0x5225f3);}),_0x3fa6a5={[_0x5683d9([0x6b,0x74,0x79])]:_0x5683d9([0x45,0x43]),[_0x5683d9([0x75,0x73,0x65])]:_0x5683d9([0x73,0x69,0x67]),[_0x5683d9([0x63,0x72,0x76])]:_0x5683d9([0x50,0x2d,0x32,0x35,0x36]),[_0x5683d9([0x78])]:_0x5683d9([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]),[_0x5683d9([0x79])]:_0x5683d9([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]),[_0x5683d9([0x61,0x6c,0x67])]:_0x5683d9([0x45,0x53,0x32,0x35,0x36])},_0xd96500=_0x47c5ac[_0x5683d9([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x5683d9([0x67,0x65,0x74])](_0x5683d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x233868(){let _0x5adf73,_0x4b374a=null,_0x7133ae=null;try{if(_0xd96500==_0x5683d9([0x47,0x50,0x4c]))return _0x5683d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5adf73=_0x563aed(),!_0x5adf73)return _0x5683d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5adf73[_0x5683d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x7133ae=_0x54213a(_0x5adf73[_0x5683d9([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5adf73[_0x5683d9([0x6a,0x74,0x69])])),await _0x3417af()?_0x5a44f0()?_0x2e7f05()?_0x5683d9([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x511de2()?(_0x5adf73[_0x5683d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5683d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x4b374a=_0x453b9e(_0x5683d9([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5adf73[_0x5683d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x5683d9([0x74,0x72,0x69,0x61,0x6c])&&(_0x4b374a=_0x453b9e(_0x5683d9([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1c1a07()):_0x5683d9([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x5683d9([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x5683d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x5683d9([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x2e7f05(){const _0x539f9f=[_0x5683d9([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x5683d9([0x74,0x72,0x69,0x61,0x6c])][_0x5683d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5adf73[_0x5683d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x148926/0x3e8:0xe10*_0x12903e;return _0x5adf73[_0x5683d9([0x65,0x78,0x70])]<_0x539f9f;}function _0x5a44f0(){const _0x15bd34=_0x5adf73[_0x5683d9([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x15bd34&&(!!_0x15bd34[_0x5683d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5683d9([0x2a]))||!!_0x15bd34[_0x5683d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5683d9([0x46,0x4f,0x4f])));}function _0x511de2(){const _0x173e45=_0x5adf73[_0x5683d9([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x173e45||0x0==_0x173e45[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1a7d28}=new URL(window[_0x5683d9([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x173e45[_0x5683d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1a7d28))return!0x0;const _0x340af5=_0x1a7d28[_0x5683d9([0x73,0x70,0x6c,0x69,0x74])](_0x5683d9([0x2e]));return _0x173e45[_0x5683d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24a01d=>_0x24a01d[_0x5683d9([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5683d9([0x2a])))[_0x5683d9([0x6d,0x61,0x70])](_0x292923=>_0x292923[_0x5683d9([0x73,0x70,0x6c,0x69,0x74])](_0x5683d9([0x2e])))[_0x5683d9([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20ebf6=>_0x20ebf6[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x340af5[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5683d9([0x6d,0x61,0x70])](_0x1b7370=>Array(_0x340af5[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1b7370[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x5683d9([0x66,0x69,0x6c,0x6c])](_0x1b7370[0x0]===_0x5683d9([0x2a])?_0x5683d9([0x2a]):'')[_0x5683d9([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1b7370))[_0x5683d9([0x73,0x6f,0x6d,0x65])](_0x2ef486=>_0x340af5[_0x5683d9([0x65,0x76,0x65,0x72,0x79])]((_0x128f6e,_0x481688)=>_0x2ef486[_0x481688]===_0x128f6e||_0x2ef486[_0x481688]===_0x5683d9([0x2a])));}function _0x1c1a07(){return _0x4b374a&&_0x7133ae?new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x455267,_0x2db024)=>{_0x4b374a[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x455267,_0x2db024),_0x7133ae[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x266cfd=>{_0x266cfd!=_0x5683d9([0x56,0x61,0x6c,0x69,0x64])&&_0x455267(_0x266cfd);},_0x2db024);}):_0x4b374a||_0x7133ae||_0x5683d9([0x56,0x61,0x6c,0x69,0x64]);}}function _0x54213a(_0x1b9577,_0x3c3ba9){return new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4307ad=>{if(_0x4ecef9())return _0x4307ad(_0x5683d9([0x56,0x61,0x6c,0x69,0x64]));_0x539f0e(),_0x47c5ac[_0x5683d9([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x5683d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4b6463=!0x1;const _0x135d1f=_0x29f49c();function _0x1ece69(_0x231f58){return!!_0x231f58&&(typeof _0x231f58===_0x5683d9([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x231f58===_0x5683d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x231f58[_0x5683d9([0x74,0x68,0x65,0x6e])]===_0x5683d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x231f58[_0x5683d9([0x63,0x61,0x74,0x63,0x68])]===_0x5683d9([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3f9c29(_0x33cfcb){_0x3f4ec1(_0x33cfcb)[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x25301d=>{if(!_0x25301d||_0x25301d[_0x5683d9([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x5683d9([0x6f,0x6b]))return _0x5683d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x3ba930(_0x253a7f(_0x135d1f+_0x3c3ba9))!=_0x25301d[_0x5683d9([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x5683d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x5683d9([0x56,0x61,0x6c,0x69,0x64]);})[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x2620b8=>(_0x45e952(),_0x2620b8),()=>{const _0x44cfb5=_0xe81318();return null==_0x44cfb5?(_0x45e952(),_0x5683d9([0x56,0x61,0x6c,0x69,0x64])):_0x5683d9(_0x148926-_0x44cfb5>(0x63ae0106^_0x3d56e0)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x4307ad)[_0x5683d9([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4307ad(_0x5683d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x481c37=0x47946b86^_0x3d56e0;function _0x45e952(){const _0x3143f8=_0x5683d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ba930(_0x253a7f(_0x1b9577)),_0x42d72d=_0x559a6c(_0x3ba930(window[_0x5683d9([0x4d,0x61,0x74,0x68])][_0x5683d9([0x63,0x65,0x69,0x6c])](_0x148926/_0x481c37)));window[_0x5683d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5683d9([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3143f8,_0x42d72d);}function _0xe81318(){const _0x332c7a=_0x5683d9([0x6c,0x6c,0x63,0x74,0x2d])+_0x3ba930(_0x253a7f(_0x1b9577)),_0x3ab4ae=window[_0x5683d9([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x5683d9([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x332c7a);return _0x3ab4ae?window[_0x5683d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x559a6c(_0x3ab4ae),0x10)*_0x481c37:null;}function _0x3f4ec1(_0x1ac44f){return new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d0d47,_0x4cad7a)=>{_0x1ac44f[_0x5683d9([0x74,0x68,0x65,0x6e])](_0x3d0d47,_0x4cad7a),window[_0x5683d9([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4cad7a,0x47a351c6^_0x3d56e0);});}}_0x47c5ac[_0x5683d9([0x6f,0x6e])](_0x5683d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x373b23,_0x5a1699)=>{if(_0x5a1699[0x0]!=_0x1b9577)return _0x4307ad(_0x5683d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5a1699[0x1]={..._0x5a1699[0x1],[_0x5683d9([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x135d1f};},{[_0x5683d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5683d9([0x68,0x69,0x67,0x68])}),_0x47c5ac[_0x5683d9([0x6f,0x6e])](_0x5683d9([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x133067=>{_0x1ece69(_0x133067[_0x5683d9([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4b6463=!0x0,_0x3f9c29(_0x133067[_0x5683d9([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x5683d9([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x5683d9([0x6c,0x6f,0x77])}),_0x329e36[_0x5683d9([0x74,0x68,0x65,0x6e])](()=>{_0x4b6463||_0x4307ad(_0x5683d9([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4ecef9(){return _0x47c5ac[_0x5683d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5683d9([0x76,0x69,0x65,0x77])][_0x5683d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x5683d9([0x61,0x75,0x74,0x6f]);}function _0x539f0e(){_0x47c5ac[_0x5683d9([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x5683d9([0x76,0x69,0x65,0x77])][_0x5683d9([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x5683d9([0x61,0x75,0x74,0x6f]);}}function _0x453b9e(_0x5b0c5d){const _0x2a5d52=[new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x20a6b=>setTimeout(_0x20a6b,0x47abbbca^_0x3d56e0)),_0x329e36[_0x5683d9([0x74,0x68,0x65,0x6e])](()=>new window[(_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4bd62c=>{let _0x450254=0x0;_0x47c5ac[_0x5683d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5683d9([0x6f,0x6e])](_0x5683d9([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x29bc08,_0x4fb759)=>{_0x4fb759[0x0][_0x5683d9([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x450254++,_0x450254==(0x47a284fe^_0x3d56e0)&&(_0x4bd62c(),_0x29bc08[_0x5683d9([0x6f,0x66,0x66])]());});}))];return window[_0x5683d9([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x5683d9([0x72,0x61,0x63,0x65])](_0x2a5d52)[_0x5683d9([0x74,0x68,0x65,0x6e])](()=>_0x5b0c5d);}async function _0x56cc17(){await _0x329e36,_0x47c5ac[_0x5683d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5683d9([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x582f0e,_0x47c5ac[_0x5683d9([0x6d,0x6f,0x64,0x65,0x6c])][_0x5683d9([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x582f0e,_0x47c5ac[_0x5683d9([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x5683d9([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x6c8f3c(_0x568155){const _0x59b237=_0x4fb08c();_0x47c5ac[_0x59b237]=_0x5683d9([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x568155,_0x568155!=_0x5683d9([0x56,0x61,0x6c,0x69,0x64])&&_0x56cc17();}function _0x4fb08c(){const _0x789e03=window[_0x5683d9([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x5683d9([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x5683d9([0x6e,0x6f,0x77])]())[_0x5683d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x5683d9([0x2e]),'');let _0x376a3b=_0x5683d9([0x75]);for(let _0x5cfdc3=0x0;_0x5cfdc3<_0x789e03[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x5cfdc3+=0x2){let _0xba7885=window[_0x5683d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x789e03[_0x5683d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5cfdc3,_0x5cfdc3+0x2));_0xba7885>=_0x298602[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xba7885-=_0x298602[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x376a3b+=_0x298602[_0xba7885];}return _0x376a3b;}function _0x563aed(){const _0x54f1c3=_0xd96500[_0x5683d9([0x73,0x70,0x6c,0x69,0x74])](_0x5683d9([0x2e]));if(0x3!=_0x54f1c3[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5eb8b6(_0x54f1c3[0x1]);function _0x5eb8b6(_0x1fc4c3){const _0x3449a7=_0x344b65(_0x1fc4c3);return _0x3449a7&&_0xc4ac78()?_0x3449a7:null;function _0xc4ac78(){const _0x3c61bf=_0x3449a7[_0x5683d9([0x6a,0x74,0x69])],_0x24caa1=window[_0x5683d9([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3c61bf[_0x5683d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3c61bf[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3e7371={..._0x3449a7,[_0x5683d9([0x6a,0x74,0x69])]:_0x3c61bf[_0x5683d9([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3c61bf[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3e7371[_0x5683d9([0x76,0x63])],_0x253a7f(_0x3e7371)==_0x24caa1;}}}async function _0x3417af(){let _0x45f649=!0x0;try{const _0x1abd2b=_0xd96500[_0x5683d9([0x73,0x70,0x6c,0x69,0x74])](_0x5683d9([0x2e])),[_0x2d5df7,_0x810b6a,_0x388dc3]=_0x1abd2b;return _0x4d4542(_0x2d5df7),await _0x4fddfc(_0x2d5df7,_0x810b6a,_0x388dc3),_0x45f649;}catch{return!0x1;}function _0x4d4542(_0x3636b6){const _0x1d0348=_0x344b65(_0x3636b6);_0x1d0348&&_0x1d0348[_0x5683d9([0x61,0x6c,0x67])]==_0x5683d9([0x45,0x53,0x32,0x35,0x36])||(_0x45f649=!0x1);}async function _0x4fddfc(_0x57e164,_0x225b02,_0x384b59){const _0x5a4df6=window[_0x5683d9([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x5683d9([0x66,0x72,0x6f,0x6d])](_0x38bfb6(_0x384b59),_0x1fbc26=>_0x1fbc26[_0x5683d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x494aec=new window[(_0x5683d9([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x5683d9([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x57e164+_0x5683d9([0x2e])+_0x225b02),_0x27db52=window[_0x5683d9([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x5683d9([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x27db52)return;const _0x201c2c=await _0x27db52[_0x5683d9([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x5683d9([0x6a,0x77,0x6b]),_0x3fa6a5,{[_0x5683d9([0x6e,0x61,0x6d,0x65])]:_0x5683d9([0x45,0x43,0x44,0x53,0x41]),[_0x5683d9([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x5683d9([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x5683d9([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x27db52[_0x5683d9([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x5683d9([0x6e,0x61,0x6d,0x65])]:_0x5683d9([0x45,0x43,0x44,0x53,0x41]),[_0x5683d9([0x68,0x61,0x73,0x68])]:{[_0x5683d9([0x6e,0x61,0x6d,0x65])]:_0x5683d9([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x201c2c,_0x5a4df6,_0x494aec)||(_0x45f649=!0x1);}}function _0x344b65(_0x80c48e){return _0x80c48e[_0x5683d9([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x5683d9([0x65,0x79]))?JSON[_0x5683d9([0x70,0x61,0x72,0x73,0x65])](_0x38bfb6(_0x80c48e)):null;}function _0x38bfb6(_0x2c29dd){return window[_0x5683d9([0x61,0x74,0x6f,0x62])](_0x2c29dd[_0x5683d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x5683d9([0x2b]))[_0x5683d9([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x5683d9([0x2f])));}function _0x253a7f(_0x500c8f){let _0x62d2d6=0x1505;function _0x3b44ae(_0x570396){for(let _0x1c40dc=0x0;_0x1c40dc<_0x570396[_0x5683d9([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1c40dc++){const _0x3b3b93=_0x570396[_0x5683d9([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1c40dc);_0x62d2d6=(_0x62d2d6<<0x5)+_0x62d2d6+_0x3b3b93,_0x62d2d6&=_0x62d2d6;}}function _0x1bc9fd(_0x53cc98){Array[_0x5683d9([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x53cc98)?_0x53cc98[_0x5683d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1bc9fd):_0x53cc98&&typeof _0x53cc98==_0x5683d9([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x5683d9([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x53cc98)[_0x5683d9([0x73,0x6f,0x72,0x74])]()[_0x5683d9([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2044ff,_0x5405aa])=>{_0x3b44ae(_0x2044ff),_0x1bc9fd(_0x5405aa);}):_0x3b44ae(window[_0x5683d9([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x53cc98));}return _0x1bc9fd(_0x500c8f),_0x62d2d6>>>0x0;}function _0x3ba930(_0x4a7619){return _0x4a7619[_0x5683d9([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x5683d9([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x5683d9([0x30]));}function _0x559a6c(_0x43127b){return _0x43127b[_0x5683d9([0x73,0x70,0x6c,0x69,0x74])]('')[_0x5683d9([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x5683d9([0x6a,0x6f,0x69,0x6e])]('');}function _0x582f0e(){}function _0x5683d9(_0x2ea465){return _0x2ea465['map'](_0x3c7a66=>String['fromCharCode'](_0x3c7a66))['join']('');}_0x6c8f3c(await _0x233868());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3e220c){const {plugins:_0x505baa,editing:_0x10267c,model:_0x33a190}=this['editor'],_0x5e7b9c=_0x505baa['get'](_0x34a00a)['getFootnote'](_0x3e220c);return!!_0x5e7b9c&&(_0x33a190['change'](_0x46608d=>{_0x46608d['setSelection'](_0x46608d['createPositionAt'](_0x5e7b9c['definition'],'end'));}),_0x10267c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x59e997){const {plugins:_0x217972,editing:_0x2f9038,model:_0x5a4fed}=this['editor'],_0x5764a7=_0x217972['get'](_0x34a00a)['getFootnote'](_0x59e997);return!!_0x5764a7&&(_0x5a4fed['change'](_0x343dcf=>{_0x343dcf['setSelection'](_0x5764a7['reference'],'on');}),_0x2f9038['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5f5983}=this['editor']['model'],_0x189975=this['editor']['config']['get']('footnotes.multiBlock');_0x5f5983['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5f5983['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5f5983['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x189975?_0x5f5983['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5f5983['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5f5983['addChildCheck'](_0x58a176=>{for(const _0x55800f of _0x58a176)if('footnoteDefinition'===_0x55800f['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4bf7a1}=this,{conversion:_0x57ff1b,editing:_0x3b2934}=_0x4bf7a1,{t:t}=_0x4bf7a1['locale'];_0x57ff1b['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x418fac,{writer:_0x493dcf,consumable:_0x3a5837})=>{const _0x14d6e7=_0x418fac['getChild'](0x0);if(!_0x14d6e7||!_0x14d6e7['is']('element','a'))return null;const _0x379c01=_0x14d6e7['getAttribute']('href')||'';if(!_0x379c01['startsWith']('#'))return null;const _0x341448=_0x379c01['replace'](/^#/,'');if(!_0x341448)return null;_0x3a5837['consume'](_0x14d6e7,{'name':!0x0,'attributes':['href']});for(const {item:_0x2baa15}of _0x3b2934['view']['createRangeIn'](_0x14d6e7))_0x2baa15['is']('$textProxy')?_0x3a5837['consume'](_0x2baa15['textNode'],{'name':!0x0}):_0x2baa15['is']('element')&&_0x3a5837['consume'](_0x2baa15,{'name':!0x0});return _0x493dcf['createElement']('footnoteRef',{'footnoteId':_0x341448});}}),_0x57ff1b['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2041d3,{writer:_0x56e5e1})=>D(_0x2041d3,_0x56e5e1)}),_0x57ff1b['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4dff3e,{writer:_0x16a31e})=>{const _0x11cc7a=_0x4dff3e['getAttribute']('footnoteCounter');return _0x211b66(D(_0x4dff3e,_0x16a31e),_0x16a31e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x11cc7a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x34b360}=this,{t:t}=_0x34b360['locale'],{conversion:_0x1c3f92}=_0x34b360;_0x1c3f92['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1c3f92['for']('upcast')['add'](_0x3602e9=>{_0x3602e9['on']('element:ol',(_0x4a89f5,_0x3aeca4,_0x2430dc)=>{const _0x12d552=_0x3aeca4['viewItem'];if(!_0x12d552['hasClass']('footnotes-list')||!_0x3aeca4['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2430dc['consumable']['consume'](_0x12d552,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x54582c,modelCursor:_0x37d7f9}=_0x2430dc['convertChildren'](_0x3aeca4['viewItem'],_0x3aeca4['modelCursor']);_0x3aeca4['modelRange']=_0x54582c,_0x3aeca4['modelCursor']=_0x37d7f9;}),_0x3602e9['on']('element:hr',(_0x174f57,_0x59a2c2,_0x2b259f)=>{const _0x18f992=_0x59a2c2['viewItem'];_0x18f992['hasClass']('footnotes-divider')&&_0x59a2c2['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2b259f['consumable']['consume'](_0x18f992,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1c3f92['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4cbe61,{writer:_0x511473})=>v(_0x511473)}),_0x1c3f92['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x81ce4b,{writer:_0xf88a8a})=>{const _0x440a4c=v(_0xf88a8a,{'data-footnotes-list-label':t('Footnotes')}),_0x537dd0=_0x211b66(_0x440a4c,_0xf88a8a,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xf88a8a['setCustomProperty']('footnotesDefinitions',!0x0,_0x537dd0),_0x537dd0;}});}['_defineDefinitionConverters'](){const {editor:_0x2766ac}=this,{conversion:_0x4f9b30,locale:_0x5afa43}=_0x2766ac,_0x30b4ab=_0x2766ac['config']['get']('footnotes.multiBlock');_0x4f9b30['for']('upcast')['add'](_0xe75e61=>{_0xe75e61['on']('element:li',(_0x1dcf22,_0xfc10c1,_0x5afc9d)=>{const _0x33e651=_0xfc10c1['viewItem'];if(!_0x33e651['hasClass']('footnote-definition')||!_0x33e651['getAttribute']('id'))return;const _0x3e3238=_0x33e651['parent'];if(!_0x3e3238['is']('element','ol')||!_0x3e3238['hasClass']('footnotes-list'))return;if(!_0x5afc9d['consumable']['test'](_0x33e651,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x537dea=_0x5afc9d['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x33e651['getAttribute']('id')});if(!_0x5afc9d['safeInsert'](_0x537dea,_0xfc10c1['modelCursor']))return;_0x5afc9d['consumable']['consume'](_0x33e651,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x794662=Array['from'](_0x33e651['getChildren']())['find'](_0x1dd947=>_0x1dd947['is']('element')&&_0x1dd947['hasClass']('footnote-content'));for(const _0x4ca2df of _0x33e651['getChildren']())_0x4ca2df['is']('element')&&(_0x5afc9d['consumable']['consume'](_0x4ca2df,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x5afc9d['consumable']['consume'](_0x4ca2df,{'name':!0x0,'classes':'footnote-content'}));if(_0x794662){if(_0x30b4ab)_0x5afc9d['convertChildren'](_0x794662,_0x537dea);else{const _0xbedd01=_0x5afc9d['writer']['createElement']('footnoteInlineContent');_0x5afc9d['writer']['insert'](_0xbedd01,_0x537dea),_0x5afc9d['convertChildren'](_0x794662,_0xbedd01);}}_0x5afc9d['updateConversionResult'](_0x537dea,_0xfc10c1);});}),_0x4f9b30['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1d2cb0,{writer:_0x169f49})=>b(_0x1d2cb0,_0x169f49,_0x5afa43,{'dataPipeline':!0x0})}),_0x4f9b30['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x479159,{writer:_0x2a7493})=>b(_0x479159,_0x2a7493,_0x5afa43)});}['_defineBogusParagraphConverters'](){const {editor:_0x59a4c4}=this,{conversion:_0x137f9b}=_0x59a4c4;_0x59a4c4['config']['get']('footnotes.multiBlock')?(_0x137f9b['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x137f9b['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x59a4c4['model']['document'],'change:data',()=>{!function(_0x390682,_0xfea138){const _0x299013=_0x390682['document']['differ'],_0x475293=new Set();for(const _0x5a93b5 of _0x299013['getChanges']()){const _0x5df0e3='attribute'==_0x5a93b5['type']?_0x5a93b5['range']['start']['parent']:_0x5a93b5['position']['parent'];_0x5df0e3['is']('element','footnoteDefinition')&&_0x475293['add'](_0x5df0e3);}for(const _0x5c8f75 of _0x475293['values']()){const _0x295c4c=Array['from'](_0x5c8f75['getChildren']())['filter'](_0x389691=>g(_0x389691,_0xfea138['mapper']));for(const _0x1d7d02 of _0x295c4c)_0xfea138['reconvertItem'](_0x1d7d02);}}(_0x59a4c4['model'],_0x59a4c4['editing']);})):(_0x137f9b['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x137f9b['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3bc4d5,{writer:_0x306d0c})=>{const _0x103c65=_0x306d0c['createContainerElement']('span');return _0x306d0c['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x103c65),_0x103c65;}}));}['_defineKeyboardHandlers'](){const {editor:_0x19c1d3}=this,{editing:_0x378397,t:t}=_0x19c1d3,_0x2a7ad1=_0x19c1d3['model']['document']['selection'];_0x19c1d3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x19c1d3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x378397['view']['document'],'enter',(_0x42ce4c,_0x92a21)=>{const _0x2cfdd8=function(_0x5d586d){const _0x1f8b14=_0x5d586d['getSelectedElement']();if(_0x1f8b14?.['is']('element','footnoteRef'))return _0x1f8b14;return null;}(_0x2a7ad1);if(_0x2cfdd8){const _0x24b3d8=_0x2cfdd8['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x24b3d8),_0x92a21['preventDefault'](),_0x42ce4c['stop']();}},{'context':_0x7278ba});}['_defineClickHandlers'](){const {editor:_0x122545}=this,{editing:_0x401265}=_0x122545;_0x122545['editing']['view']['addObserver'](_0x20cf4d),_0x122545['editing']['view']['addObserver'](_0x24bfef);let _0x270ea3=!0x1;this['listenTo'](_0x401265['view']['document'],'pointerdown',(_0x31420c,_0x14e8e3)=>{const {target:_0x22ed9b}=_0x14e8e3,_0x3ff1fc=_0x401265['view']['document']['selection'];_0x270ea3=!!(_0x22ed9b?.['is']('element','a')&&_0x22ed9b['parent']?.['is']('element','sup')&&_0x22ed9b['parent']['hasClass']('footnote'))&&_0x3ff1fc['getSelectedElement']()===_0x22ed9b['parent'];},{'priority':'high'}),this['listenTo'](_0x401265['view']['document'],'click',(_0x30036f,_0x3c2d9f)=>{const {target:_0x322115}=_0x3c2d9f;if(!_0x322115?.['is']('element','a'))return;if(_0x322115['parent']?.['is']('element','sup')&&_0x322115['parent']['hasClass']('footnote')&&!_0x270ea3)return void _0x3c2d9f['preventDefault']();let _0x53f59f=_0x322115['getAttribute']('href');if(!_0x53f59f?.['startsWith']('#'))return;_0x53f59f=_0x53f59f['slice'](0x1);let _0xae248d=!0x1;(_0x53f59f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x53f59f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x53f59f))&&(_0xae248d=!0x0),_0xae248d&&(_0x3c2d9f['preventDefault'](),_0x30036f['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x108c00}={}){return(_0x8a461c,{writer:_0x2e02be})=>{if(!p(_0x8a461c))return null;if(!_0x108c00)return _0x2e02be['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4f6573=_0x2e02be['createContainerElement']('p');return _0x2e02be['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4f6573),_0x4f6573;};}function p(_0x518c35){const {parent:_0x529271}=_0x518c35;if(!_0x529271?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x529271['childCount'])return!0x1;for(const _0x5d17ba of _0x518c35['getAttributeKeys']())if(!_0x5d17ba['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x5d17ba)return!0x1;return!0x0;}function g(_0x313d89,_0x5c60c0){if(!_0x313d89['is']('element','paragraph'))return!0x1;const _0x4445d2=_0x5c60c0['toViewElement'](_0x313d89);return!!_0x4445d2&&p(_0x313d89)!==_0x4445d2['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4d0c50){return _0x7278ba(_0x4d0c50)&&_0x4d0c50['is']('containerElement')&&!!_0x4d0c50['getCustomProperty']('footnotesDefinitions');}function v(_0x43d40f,_0x260ea5={}){const _0xce1783=_0x43d40f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x13574=_0x43d40f['createContainerElement']('ol',{'class':'footnotes-list'},_0x43d40f['createSlot']());return _0x43d40f['createContainerElement']('div',{'class':'footnotes',..._0x260ea5},[_0xce1783,_0x13574]);}function D(_0x58093e,_0x2b27e6){const _0x396695=_0x58093e['getAttribute']('footnoteId'),_0x5343c9=_0x58093e['getAttribute']('footnoteCounter'),_0x59cf37=_0x2b27e6['createUIElement']('a',{'href':'#'+_0x396695},function(_0x5d4b0a){const _0xd405d4=this['toDomElement'](_0x5d4b0a);return _0xd405d4['textContent']=_0x5343c9,_0xd405d4;}),_0x1a3ba1=_0x2b27e6['createContainerElement']('sup',{'id':'ref-'+_0x396695,'class':'footnote'},[_0x59cf37]);return _0x1a3ba1['getFillerOffset']=()=>null,_0x1a3ba1;}function b(_0x42fbba,_0x402e48,_0x18196d,{dataPipeline:_0x4e93bb}={}){const {t:t}=_0x18196d,_0xbe1be3=_0x42fbba['getAttribute']('footnoteId'),_0x5b6461=_0x402e48['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xbe1be3},function(_0x383366){const _0x5deddb=this['toDomElement'](_0x383366);return _0x5deddb['innerText']='^',_0x5deddb;}),_0x59d7d6=_0x4e93bb?_0x402e48['createContainerElement']('div',{'class':'footnote-content'}):_0x4891bf(_0x402e48['createEditableElement']('div',{'class':'footnote-content'}),_0x402e48,{'label':t('Footnote\x20content.')});return _0x402e48['insert'](_0x402e48['createPositionAt'](_0x59d7d6,0x0),_0x402e48['createSlot']()),_0x402e48['createContainerElement']('li',{'class':'footnote-definition','id':_0xbe1be3},[_0x5b6461,_0x59d7d6]);}
@@ -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 _0x10e2cd=_0x5eec;(function(_0x12d4ae,_0x200143){const _0x458bcb=_0x5eec,_0x3122b1=_0x12d4ae();while(!![]){try{const _0x304fe2=-parseInt(_0x458bcb(0x9e))/0x1*(parseInt(_0x458bcb(0xaa))/0x2)+parseInt(_0x458bcb(0x9d))/0x3*(-parseInt(_0x458bcb(0xae))/0x4)+-parseInt(_0x458bcb(0x93))/0x5*(parseInt(_0x458bcb(0x9a))/0x6)+-parseInt(_0x458bcb(0xa1))/0x7*(parseInt(_0x458bcb(0x98))/0x8)+-parseInt(_0x458bcb(0x94))/0x9*(parseInt(_0x458bcb(0x95))/0xa)+parseInt(_0x458bcb(0xa2))/0xb*(-parseInt(_0x458bcb(0xa6))/0xc)+-parseInt(_0x458bcb(0x96))/0xd*(-parseInt(_0x458bcb(0xa8))/0xe);if(_0x304fe2===_0x200143)break;else _0x3122b1['push'](_0x3122b1['shift']());}catch(_0x43b8d2){_0x3122b1['push'](_0x3122b1['shift']());}}}(_0x16c3,0x1d2ab));function _0x5eec(_0xceefb5,_0x312e38){const _0x16c306=_0x16c3();return _0x5eec=function(_0x5eec1f,_0x50e179){_0x5eec1f=_0x5eec1f-0x93;let _0x5536ce=_0x16c306[_0x5eec1f];return _0x5536ce;},_0x5eec(_0xceefb5,_0x312e38);}import{Command as _0x22163b}from'ckeditor5/src/core.js';function _0x16c3(){const _0x731c8a=['135679XJCMWi','execute','_updateFootnotesCounters','57253vhIXSt','4477LfyEML','refresh','getFootnotesDefinitionsObjectElement','plugins','4848NRIkny','footnotesListStart','3458mAcdZB','model','2nrqvBi','getAttribute','isEnabled','change','25540mxJKck','5NYjXqs','1900656vcJmbL','10MpuZed','59137nFPWPg','isInteger','112nUjbLl','value','1044114DZHzLi','get','setAttribute','96wNSFLf'];_0x16c3=function(){return _0x731c8a;};return _0x16c3();}import{FootnotesTracker as _0x3ab64a}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x22163b{[_0x10e2cd(0xa3)](){const _0x44d062=_0x10e2cd,{editor:_0x2aaa0d}=this,_0x15209d=_0x2aaa0d[_0x44d062(0xa5)][_0x44d062(0x9b)](_0x3ab64a)[_0x44d062(0xa4)]();this[_0x44d062(0xac)]=!!_0x15209d,this[_0x44d062(0x99)]=_0x15209d?.[_0x44d062(0xab)](_0x44d062(0xa7))??null;}[_0x10e2cd(0x9f)]({value:_0x1e5d5b}){const _0x5432b1=_0x10e2cd,{editor:_0x14f178}=this,_0xe50e26=_0x14f178[_0x5432b1(0xa5)][_0x5432b1(0x9b)](_0x3ab64a),_0x327555=_0xe50e26[_0x5432b1(0xa4)]();_0x327555&&Number[_0x5432b1(0x97)](_0x1e5d5b)&&_0x14f178[_0x5432b1(0xa9)][_0x5432b1(0xad)](_0x4d9c94=>{const _0x40861f=_0x5432b1;_0x4d9c94[_0x40861f(0x9c)](_0x40861f(0xa7),_0x1e5d5b,_0x327555),_0xe50e26[_0x40861f(0xa0)](_0x4d9c94);});}}
@@ -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
+ const _0x5612e3=_0x3ddb;function _0x3ddb(_0x374510,_0x3d14dc){const _0x46cc04=_0x46cc();return _0x3ddb=function(_0x3ddb7a,_0x11dc0c){_0x3ddb7a=_0x3ddb7a-0x181;let _0x21d5de=_0x46cc04[_0x3ddb7a];return _0x21d5de;},_0x3ddb(_0x374510,_0x3d14dc);}(function(_0x258d83,_0x45a880){const _0x8e58d=_0x3ddb,_0x510be9=_0x258d83();while(!![]){try{const _0x363cbe=-parseInt(_0x8e58d(0x199))/0x1*(parseInt(_0x8e58d(0x196))/0x2)+parseInt(_0x8e58d(0x193))/0x3*(parseInt(_0x8e58d(0x187))/0x4)+parseInt(_0x8e58d(0x18d))/0x5+-parseInt(_0x8e58d(0x189))/0x6*(-parseInt(_0x8e58d(0x190))/0x7)+-parseInt(_0x8e58d(0x198))/0x8*(parseInt(_0x8e58d(0x185))/0x9)+-parseInt(_0x8e58d(0x188))/0xa*(parseInt(_0x8e58d(0x194))/0xb)+-parseInt(_0x8e58d(0x195))/0xc*(-parseInt(_0x8e58d(0x18c))/0xd);if(_0x363cbe===_0x45a880)break;else _0x510be9['push'](_0x510be9['shift']());}catch(_0xa77561){_0x510be9['push'](_0x510be9['shift']());}}}(_0x46cc,0x3c559));import{Command as _0xdfa00a}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x5c690d}from'../footnotespropertiesconfig.js';function _0x46cc(){const _0x3e684f=['isEnabled','455KLScmQ','588855nwNnCH','model','_updateFootnotesCounters','14gjAaLV','change','get','3jdHBsD','11vNkLJd','22296cUIGcs','74NxKdTl','includes','24EiqlOJ','10401mmLhPa','footnotesListStyle','execute','setAttribute','getAttribute','plugins','getFootnotesDefinitionsObjectElement','479763xyGNoi','value','1891916TRgyjr','1372390RdfUMV','820038ZRUZQb','refresh'];_0x46cc=function(){return _0x3e684f;};return _0x46cc();}import{FootnotesTracker as _0x32df67}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xdfa00a{[_0x5612e3(0x18a)](){const _0x13ade3=_0x5612e3,{editor:_0x285281}=this,_0x2a0780=_0x285281[_0x13ade3(0x183)][_0x13ade3(0x192)](_0x32df67)[_0x13ade3(0x184)]();this[_0x13ade3(0x18b)]=!!_0x2a0780,this[_0x13ade3(0x186)]=_0x2a0780?.[_0x13ade3(0x182)](_0x13ade3(0x19a))??null;}[_0x5612e3(0x19b)]({value:_0x430edb}){const _0x9b7e14=_0x5612e3,{editor:_0xe15a19}=this,_0x9bf02=_0xe15a19[_0x9b7e14(0x183)][_0x9b7e14(0x192)](_0x32df67),_0x9a888c=_0x9bf02[_0x9b7e14(0x184)]();_0x9a888c&&_0x5c690d[_0x9b7e14(0x197)](_0x430edb)&&_0xe15a19[_0x9b7e14(0x18e)][_0x9b7e14(0x191)](_0x5c69a9=>{const _0x3d7c9b=_0x9b7e14;_0x5c69a9[_0x3d7c9b(0x181)](_0x3d7c9b(0x19a),_0x430edb,_0x9a888c),_0x9bf02[_0x3d7c9b(0x18f)](_0x5c69a9);});}}
@@ -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
+ const _0x5c7e71=_0x1a7e;function _0x5e15(){const _0xf95005=['decimal-leading-zero','lower-latin','58911yPQASF','lower-alpha','decimal','upper-latin','upper-alpha','787860dhIhxf','lower-roman','58WEGhAM','12rZiyWr','495855XOhwaG','44dJKaVS','7167108dDALXb','upper-roman','2080540OXKpEv','88lXcJLU','777015UlZJsh','14VSsTgc','3180980kHxQtI'];_0x5e15=function(){return _0xf95005;};return _0x5e15();}function _0x1a7e(_0x4870e4,_0x51def8){const _0x5e1579=_0x5e15();return _0x1a7e=function(_0x1a7e54,_0x5ef08c){_0x1a7e54=_0x1a7e54-0x106;let _0x17db8a=_0x5e1579[_0x1a7e54];return _0x17db8a;},_0x1a7e(_0x4870e4,_0x51def8);}(function(_0x2a141f,_0xdf99dd){const _0x93e0bf=_0x1a7e,_0x1df955=_0x2a141f();while(!![]){try{const _0x53f50a=parseInt(_0x93e0bf(0x108))/0x1+parseInt(_0x93e0bf(0x114))/0x2*(-parseInt(_0x93e0bf(0x10d))/0x3)+parseInt(_0x93e0bf(0x115))/0x4*(-parseInt(_0x93e0bf(0x106))/0x5)+-parseInt(_0x93e0bf(0x112))/0x6*(-parseInt(_0x93e0bf(0x109))/0x7)+-parseInt(_0x93e0bf(0x107))/0x8*(parseInt(_0x93e0bf(0x116))/0x9)+-parseInt(_0x93e0bf(0x10a))/0xa+parseInt(_0x93e0bf(0x117))/0xb*(parseInt(_0x93e0bf(0x118))/0xc);if(_0x53f50a===_0xdf99dd)break;else _0x1df955['push'](_0x1df955['shift']());}catch(_0x1b4b8a){_0x1df955['push'](_0x1df955['shift']());}}}(_0x5e15,0xa7a8b));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5c7e71(0x10f),_0x5c7e71(0x10b),_0x5c7e71(0x10c),_0x5c7e71(0x110),_0x5c7e71(0x10e),_0x5c7e71(0x111),_0x5c7e71(0x113),_0x5c7e71(0x119)];
@@ -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 _0x5608(_0x1748f2,_0x593795){const _0x47f71a=_0x47f7();return _0x5608=function(_0x56083a,_0x37ec9f){_0x56083a=_0x56083a-0x1c6;let _0x5411f6=_0x47f71a[_0x56083a];return _0x5411f6;},_0x5608(_0x1748f2,_0x593795);}const _0x3f889d=_0x5608;(function(_0x573c69,_0x5612e1){const _0x3c4b38=_0x5608,_0x10729e=_0x573c69();while(!![]){try{const _0x5958be=-parseInt(_0x3c4b38(0x1ff))/0x1*(-parseInt(_0x3c4b38(0x205))/0x2)+-parseInt(_0x3c4b38(0x1f6))/0x3+parseInt(_0x3c4b38(0x1f8))/0x4+-parseInt(_0x3c4b38(0x1fd))/0x5*(parseInt(_0x3c4b38(0x1c6))/0x6)+-parseInt(_0x3c4b38(0x20d))/0x7*(parseInt(_0x3c4b38(0x200))/0x8)+parseInt(_0x3c4b38(0x206))/0x9*(parseInt(_0x3c4b38(0x1cb))/0xa)+-parseInt(_0x3c4b38(0x1d6))/0xb;if(_0x5958be===_0x5612e1)break;else _0x10729e['push'](_0x10729e['shift']());}catch(_0x5e6c8e){_0x10729e['push'](_0x10729e['shift']());}}}(_0x47f7,0xc3f70));import{Plugin as _0x3c430f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x543025}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x2efb9f}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x4e3f7b}from'../footnotestracker.js';function _0x47f7(){const _0x17fea9=['decimal','floor','1000080dndPcR','getStyle','1902304zVWZmm','_formatFootnoteListValue','setStyle','max','setAttribute','50yKDlZf','document','1kVIsmX','16GBedKr','parent','mapper','toLowerCase','position','1946762wmnuOo','44883ICAcEz','find','_definePostfixer','padStart','start','_defineConverters','define','1193087oGvNXN','isPremiumPlugin','from','getChanges','lower-latin','consume','add','element:ol','fromCharCode','requires','footnotes.footnotesProperties.defaultListStyle','registerPostFixer','getChildren','getAttribute','item','$text','extend','insert','writer','lower-alpha','removeStyle','isOfficialPlugin','commands','downcast','footnotesListStart','hasAttribute','pluginName','footnotes.footnotesProperties.defaultStartIndex','attribute:footnotesListStyle:footnotesDefinitions','list-style-type','hasClass','728358PPXJZC','_defineFormatter','footnotes-list','getItems','footnotesDefinitions','2710gAXbsK','setFootnoteFormatter','model','init','editor','footnotesStyle','config','schema','plugins','get','type','1205490pfrmAm','nodeAfter','parseInt','attribute:footnotesListStart:footnotesDefinitions','viewItem','differ','decimal-leading-zero','consumable','element','toViewElement','removeAttribute','lower-roman','for','upcast','createRangeOn','_getDefaultListStyle','upper-alpha','checkAttribute','_defineSchema','isNaN','modelCursor','FootnotesPropertiesEditing','upper-latin','name','upper-roman','toUpperCase','footnotesStart','_updateFootnotesCounters','_getDefaultStartIndex','footnotesListStyle'];_0x47f7=function(){return _0x17fea9;};return _0x47f7();}import{FootnotesEditing as _0x8b1067}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x3c430f{static get[_0x3f889d(0x227)](){const _0x40d134=_0x3f889d;return _0x40d134(0x1eb);}static get[_0x3f889d(0x216)](){return[_0x8b1067,_0x4e3f7b];}static get[_0x3f889d(0x222)](){return!0x0;}static get[_0x3f889d(0x20e)](){return!0x0;}[_0x3f889d(0x1ce)](){const _0x3f4350=_0x3f889d,{editor:_0x202fdf}=this;_0x202fdf[_0x3f4350(0x1d1)][_0x3f4350(0x20c)](_0x3f4350(0x217),_0x3f4350(0x1f4)),_0x202fdf[_0x3f4350(0x1d1)][_0x3f4350(0x20c)](_0x3f4350(0x228),0x1),_0x202fdf[_0x3f4350(0x223)][_0x3f4350(0x213)](_0x3f4350(0x1d0),new _0x543025(_0x202fdf)),_0x202fdf[_0x3f4350(0x223)][_0x3f4350(0x213)](_0x3f4350(0x1f0),new _0x2efb9f(_0x202fdf)),this[_0x3f4350(0x1e8)](),this[_0x3f4350(0x20b)](),this[_0x3f4350(0x1c7)](),this[_0x3f4350(0x208)]();}[_0x3f889d(0x1e8)](){const _0x1cb4a7=_0x3f889d,{editor:_0x4ff946}=this,{schema:_0x36d86b}=_0x4ff946[_0x1cb4a7(0x1cd)];_0x36d86b[_0x1cb4a7(0x21d)](_0x1cb4a7(0x1ca),{'allowAttributes':[_0x1cb4a7(0x1f3),_0x1cb4a7(0x225)]});}[_0x3f889d(0x20b)](){const _0x5e9232=_0x3f889d,{editor:_0x7999ea}=this,{conversion:_0x44febf,model:_0x1fce3c}=_0x7999ea,{schema:_0x5b8090}=_0x1fce3c;_0x44febf[_0x5e9232(0x1e2)](_0x5e9232(0x1e3))[_0x5e9232(0x213)](_0x1cd8a1=>{const _0xff6ae4=_0x5e9232;_0x1cd8a1['on'](_0xff6ae4(0x214),(_0x2ebd8a,_0x15ef30,_0x5f3dfc)=>{const _0x378abd=_0xff6ae4,_0x544e55=_0x15ef30[_0x378abd(0x1da)],_0x4cb8e5=_0x15ef30[_0x378abd(0x1ea)]?.[_0x378abd(0x201)];_0x544e55[_0x378abd(0x22b)](_0x378abd(0x1c8))&&_0x4cb8e5?.['is'](_0x378abd(0x1de),_0x378abd(0x1ca))&&(function(_0x9e462a,_0x2fb66a,_0x4cb360,_0x41e62b){const _0x54c7a8=_0x378abd;if(!_0x41e62b[_0x54c7a8(0x1e7)](_0x2fb66a,_0x54c7a8(0x225)))return;let _0x5523f0=0x1;const _0x53c14e=_0x4cb360[_0x54c7a8(0x1dd)][_0x54c7a8(0x212)](_0x9e462a,{'attributes':_0x54c7a8(0x20a)});if(_0x53c14e){const _0x217d36=Number[_0x54c7a8(0x1d8)](_0x9e462a[_0x54c7a8(0x21a)](_0x54c7a8(0x20a)),0xa);Number[_0x54c7a8(0x1e9)](_0x217d36)||(_0x5523f0=_0x217d36);}!_0x53c14e&&_0x2fb66a[_0x54c7a8(0x226)](_0x54c7a8(0x225))||_0x4cb360[_0x54c7a8(0x21f)][_0x54c7a8(0x1fc)](_0x54c7a8(0x225),_0x5523f0,_0x2fb66a);}(_0x544e55,_0x4cb8e5,_0x5f3dfc,_0x5b8090),function(_0x42ba00,_0x57a47c,_0x342d1e,_0x42834f){const _0x5c0cc1=_0x378abd;if(!_0x42834f[_0x5c0cc1(0x1e7)](_0x57a47c,_0x5c0cc1(0x1f3)))return;let _0x5296bb=_0x5c0cc1(0x1f4),_0x3d950f=!0x1;if(_0x342d1e[_0x5c0cc1(0x1dd)][_0x5c0cc1(0x212)](_0x42ba00,{'attributes':_0x5c0cc1(0x1d5)})){const _0x1928bf={0x1:_0x5c0cc1(0x1f4),'a':_0x5c0cc1(0x220),'A':_0x5c0cc1(0x1e6),'i':_0x5c0cc1(0x1e1),'I':_0x5c0cc1(0x1ee)}[_0x42ba00[_0x5c0cc1(0x21a)](_0x5c0cc1(0x1d5))];_0x1928bf&&(_0x5296bb=_0x1928bf),_0x3d950f=!0x0;}_0x342d1e[_0x5c0cc1(0x1dd)][_0x5c0cc1(0x212)](_0x42ba00,{'styles':_0x5c0cc1(0x22a)})&&(_0x5296bb=function(_0x49dd8a){const _0x2139b5=_0x5c0cc1;switch(_0x49dd8a){case _0x2139b5(0x220):return _0x2139b5(0x211);case _0x2139b5(0x1e6):return _0x2139b5(0x1ec);default:return _0x49dd8a;}}(_0x42ba00[_0x5c0cc1(0x1f7)](_0x5c0cc1(0x22a))),_0x3d950f=!0x0),!_0x3d950f&&_0x57a47c[_0x5c0cc1(0x226)](_0x5c0cc1(0x1f3))||_0x342d1e[_0x5c0cc1(0x21f)][_0x5c0cc1(0x1fc)](_0x5c0cc1(0x1f3),_0x5296bb,_0x57a47c);}(_0x544e55,_0x4cb8e5,_0x5f3dfc,_0x5b8090));});}),_0x44febf[_0x5e9232(0x1e2)](_0x5e9232(0x224))[_0x5e9232(0x213)](_0x22859c=>{const _0x1f9f86=_0x5e9232;_0x22859c['on'](_0x1f9f86(0x1d9),(_0x2265bc,_0x5ebd32,_0x1e7597)=>{const _0xc1cffb=_0x1f9f86;if(!_0x1e7597[_0xc1cffb(0x1dd)][_0xc1cffb(0x212)](_0x5ebd32[_0xc1cffb(0x21b)],_0x2265bc[_0xc1cffb(0x1ed)]))return;const _0x4272db=M(_0x5ebd32[_0xc1cffb(0x21b)],_0x1e7597[_0xc1cffb(0x202)]),{attributeNewValue:_0xf93db}=_0x5ebd32;null==_0xf93db||0x1===_0xf93db?_0x1e7597[_0xc1cffb(0x21f)][_0xc1cffb(0x1e0)](_0xc1cffb(0x20a),_0x4272db):_0x1e7597[_0xc1cffb(0x21f)][_0xc1cffb(0x1fc)](_0xc1cffb(0x20a),String(_0xf93db),_0x4272db);}),_0x22859c['on'](_0x1f9f86(0x229),(_0x2f3a87,_0x4784cf,_0x2a42b8)=>{const _0x81758a=_0x1f9f86;if(!_0x2a42b8[_0x81758a(0x1dd)][_0x81758a(0x212)](_0x4784cf[_0x81758a(0x21b)],_0x2f3a87[_0x81758a(0x1ed)]))return;const _0x596b59=M(_0x4784cf[_0x81758a(0x21b)],_0x2a42b8[_0x81758a(0x202)]),{attributeNewValue:_0x429e38}=_0x4784cf;_0x429e38&&_0x81758a(0x1f4)!==_0x429e38?_0x2a42b8[_0x81758a(0x21f)][_0x81758a(0x1fa)](_0x81758a(0x22a),_0x429e38,_0x596b59):_0x2a42b8[_0x81758a(0x21f)][_0x81758a(0x221)](_0x81758a(0x22a),_0x596b59);});});}[_0x3f889d(0x208)](){const _0x10bfe0=_0x3f889d,{editor:_0x5bcf55}=this,{model:_0x18fef8}=_0x5bcf55,_0x18970b=_0x5bcf55[_0x10bfe0(0x1d3)][_0x10bfe0(0x1d4)](_0x4e3f7b),_0x46c4a8=this[_0x10bfe0(0x1e5)](),_0x59aa96=this[_0x10bfe0(0x1f2)]();_0x18fef8[_0x10bfe0(0x1fe)][_0x10bfe0(0x218)](_0x509402=>{const _0x4d36af=_0x10bfe0,_0x4884f6=_0x18fef8[_0x4d36af(0x1fe)][_0x4d36af(0x1db)][_0x4d36af(0x210)]();let _0x7ad8bc=!0x1;for(const _0x3a2d5e of _0x4884f6){if(_0x4d36af(0x21e)!==_0x3a2d5e[_0x4d36af(0x1d5)]||_0x4d36af(0x21c)===_0x3a2d5e[_0x4d36af(0x1ed)])continue;const _0x4b3de7=_0x18fef8[_0x4d36af(0x1e4)](_0x3a2d5e[_0x4d36af(0x204)][_0x4d36af(0x1d7)]);for(const _0x29ad49 of _0x4b3de7[_0x4d36af(0x1c9)]())_0x29ad49['is'](_0x4d36af(0x1de),_0x4d36af(0x1ca))&&(!_0x29ad49[_0x4d36af(0x226)](_0x4d36af(0x225))&&_0x18fef8[_0x4d36af(0x1d2)][_0x4d36af(0x1e7)](_0x29ad49,_0x4d36af(0x225))&&(_0x509402[_0x4d36af(0x1fc)](_0x4d36af(0x225),_0x59aa96,_0x29ad49),_0x7ad8bc=!0x0),!_0x29ad49[_0x4d36af(0x226)](_0x4d36af(0x1f3))&&_0x18fef8[_0x4d36af(0x1d2)][_0x4d36af(0x1e7)](_0x29ad49,_0x4d36af(0x1f3))&&(_0x509402[_0x4d36af(0x1fc)](_0x4d36af(0x1f3),_0x46c4a8,_0x29ad49),_0x7ad8bc=!0x0));}return _0x7ad8bc&&_0x18970b[_0x4d36af(0x1f1)](_0x509402),_0x7ad8bc;});}[_0x3f889d(0x1c7)](){const _0x61742c=_0x3f889d,{editor:_0x4306e0}=this;_0x4306e0[_0x61742c(0x1d3)][_0x61742c(0x1d4)](_0x4e3f7b)[_0x61742c(0x1cc)](_0x16f2bc=>this[_0x61742c(0x1f9)](_0x16f2bc));}[_0x3f889d(0x1e5)](){const _0x10c3c0=_0x3f889d;return this[_0x10c3c0(0x1cf)][_0x10c3c0(0x1d1)][_0x10c3c0(0x1d4)](_0x10c3c0(0x217));}[_0x3f889d(0x1f2)](){const _0x50c201=_0x3f889d;return this[_0x50c201(0x1cf)][_0x50c201(0x1d1)][_0x50c201(0x1d4)](_0x50c201(0x228));}[_0x3f889d(0x1f9)]({container:_0x3b8d72,value:_0x173328,digits:_0x26997e}){const _0x6a621c=_0x3f889d,_0x16c500=_0x3b8d72[_0x6a621c(0x21a)](_0x6a621c(0x1f3)),_0x1445ea=_0x3b8d72[_0x6a621c(0x21a)](_0x6a621c(0x225)),_0x4cf700=Math[_0x6a621c(0x1f5)](_0x173328)+(_0x1445ea??0x1)-0x1;switch(_0x16c500){case _0x6a621c(0x1dc):return function(_0x11d1ab,_0x12b09e){const _0x230dc7=_0x6a621c;return String(_0x11d1ab)[_0x230dc7(0x209)](_0x12b09e,'0');}(_0x4cf700,Math[_0x6a621c(0x1fb)](0x2,_0x26997e));case _0x6a621c(0x220):case _0x6a621c(0x211):return N(_0x4cf700,!0x1);case _0x6a621c(0x1e6):case _0x6a621c(0x1ec):return N(_0x4cf700,!0x0);case _0x6a621c(0x1e1):return X(_0x4cf700,!0x1);case _0x6a621c(0x1ee):return X(_0x4cf700,!0x0);default:return String(_0x4cf700);}}}function M(_0x4c5c77,_0x5de239){const _0x181ab4=_0x3f889d,_0x42dedd=_0x5de239[_0x181ab4(0x1df)](_0x4c5c77);return Array[_0x181ab4(0x20f)](_0x42dedd[_0x181ab4(0x219)]())[_0x181ab4(0x207)](_0x593881=>_0x593881['is'](_0x181ab4(0x1de),'ol')&&_0x593881[_0x181ab4(0x22b)](_0x181ab4(0x1c8)));}function N(_0x39260d,_0x552f1b){const _0x56cb92=_0x3f889d;let _0x1828cd='',_0x15ec33=_0x39260d;for(;_0x15ec33>0x0;){const _0x3d181a=(_0x15ec33-0x1)%0x1a;_0x1828cd=String[_0x56cb92(0x215)](0x61+_0x3d181a)+_0x1828cd,_0x15ec33=Math[_0x56cb92(0x1f5)]((_0x15ec33-0x1)/0x1a);}return _0x552f1b?_0x1828cd[_0x56cb92(0x1ef)]():_0x1828cd;}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(_0x2e46bb,_0x7eb873){const _0x134003=_0x3f889d;let _0x1c56a6='',_0x5d389e=_0x2e46bb;for(const {value:_0x4c869f,numeral:_0x4b4b72}of V)for(;_0x5d389e>=_0x4c869f;)_0x1c56a6+=_0x4b4b72,_0x5d389e-=_0x4c869f;return _0x7eb873?_0x1c56a6:_0x1c56a6[_0x134003(0x203)]();}
@@ -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 _0x2dac1f,ButtonView as _0x50f0dd,ContextualBalloon as _0x5884a3,createDropdown as _0x15ad9e}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2c0209}from'ckeditor5/src/widget.js';import{Plugin as _0x40290e}from'ckeditor5/src/core.js';import{IconFootnote as _0x489cd4,IconListStyleDecimal as _0x198fa8,IconListStyleDecimalLeadingZero as _0x3d5e9d,IconListStyleLowerLatin as _0x5f5110,IconListStyleLowerRoman as _0x3178b8,IconListStyleUpperLatin as _0x164dc8,IconListStyleUpperRoman as _0x326a65}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4925df}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x56b7bd}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x40290e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5884a3,_0x2c0209];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2634e5}=this,{componentFactory:_0x394a56}=_0x2634e5['ui'];_0x2634e5['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x394a56['add']('footnotesStyle',function(_0x2af322){return _0x28530a=>{const {t:t}=_0x28530a,_0x1d4bb5=_0x2af322['commands']['get']('footnotesStyle'),_0x2a1bef=_0x15ad9e(_0x28530a),{buttonView:_0x206b5a}=_0x2a1bef;return _0x2a1bef['class']='ck-footnotes-styles-dropdown',_0x2a1bef['bind']('isEnabled')['to'](_0x1d4bb5,'isEnabled'),_0x206b5a['set']({'label':t('Footnotes\x20style'),'icon':_0x489cd4,'tooltip':!0x0}),_0x2a1bef['once']('change:isOpen',()=>{const _0x3d2119=function({editor:_0x1ba376,dropdownView:_0xdbb7bc}){const {t:t}=_0x1ba376['locale'],_0x36f47e=t('Footnotes\x20definitions\x20styles'),_0xc3d19=function(_0x34c5e9){const t=_0x34c5e9['locale']['t'],_0x3ba83d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x198fa8},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3d5e9d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x3178b8},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x326a65},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5f5110},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x164dc8}];return _0x3ba83d['map'](function(_0x35822f){const _0x33718c=_0x35822f['locale'];return({label:_0x257627,icon:_0x5c616b,tooltip:_0x4f9fc8,style:_0x22f041})=>{const _0x557055=_0x35822f['commands']['get']('footnotesStyle'),_0x5407ae=new _0x50f0dd(_0x33718c);return _0x5407ae['set']({'label':_0x257627,'icon':_0x5c616b,'tooltip':_0x4f9fc8}),_0x5407ae['bind']('isOn')['to'](_0x557055,'value',_0x251079=>_0x251079===_0x22f041),_0x5407ae['bind']('isEnabled')['to'](_0x557055,'isEnabled'),_0x5407ae['on']('execute',()=>{_0x35822f['execute']('footnotesStyle',{'value':_0x22f041}),_0x35822f['editing']['view']['focus']();}),_0x5407ae;};}(_0x34c5e9));}(_0x1ba376),_0x45ffb0=new _0x4925df(_0x1ba376['locale'],{'styleGridAriaLabel':_0x36f47e,'styleButtonViews':_0xc3d19}),_0x17a0cb=_0x1ba376['commands']['get']('footnotesStart');return _0x45ffb0['startIndexFieldView']['bind']('isEnabled')['to'](_0x17a0cb),_0x45ffb0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x17a0cb),_0x45ffb0['on']('footnotesListStart',(_0x3ed577,_0xd2f960)=>{_0x1ba376['execute']('footnotesStart',{'value':_0xd2f960['startIndex']});}),_0x45ffb0['delegate']('execute')['to'](_0xdbb7bc),_0x45ffb0;}({'editor':_0x2af322,'dropdownView':_0x2a1bef});_0x2a1bef['panelView']['children']['add'](_0x3d2119);}),_0x2a1bef;};}(_0x2634e5));}['afterInit'](){const {editor:_0x4837d9}=this,{t:t}=_0x4837d9['locale'],_0x190ea0=_0x4837d9['plugins']['get'](_0x2c0209),{defaultPositions:_0x65b757}=_0x2dac1f;_0x190ea0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4837d9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x46aa62=>{let _0x15e230=_0x46aa62['getFirstPosition']()?.['parent'];return _0x15e230?.['is']('$text')&&(_0x15e230=_0x15e230['parent']),_0x15e230?.['is']('element')?_0x15e230['findAncestor'](_0x56b7bd):null;},'positions':[_0x65b757['southArrowNorth'],_0x65b757['southArrowNorthMiddleWest'],_0x65b757['southArrowNorthMiddleEast'],_0x65b757['southArrowNorthWest'],_0x65b757['southArrowNorthEast'],_0x65b757['northArrowSouth'],_0x65b757['northArrowSouthMiddleWest'],_0x65b757['northArrowSouthMiddleEast'],_0x65b757['northArrowSouthWest'],_0x65b757['northArrowSouthEast'],_0x65b757['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 _0x379304,View as _0x29bb76,ViewCollection as _0x3f4256,FocusCycler as _0x7bd017,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 _0x29bb76{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3f4256();['focusCycler'];constructor(_0x58813c,{styleButtonViews:_0x43cca8,styleGridAriaLabel:_0x37c9bb}){super(_0x58813c),(this['focusCycler']=new _0x7bd017({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x43cca8,_0x37c9bb),[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 _0x4a1ccf of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4a1ccf['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 _0x5035f5=_0x47759f=>_0x47759f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5035f5),this['keystrokes']['set']('arrowleft',_0x5035f5),this['keystrokes']['set']('arrowup',_0x5035f5),this['keystrokes']['set']('arrowdown',_0x5035f5);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1571a1,_0x15061f){const _0x2f54cc=new _0x29bb76(this['locale']);return _0x2f54cc['children']=_0x2f54cc['createCollection'](),_0x2f54cc['children']['addMany'](_0x1571a1),_0x2f54cc['setTemplate']({'tag':'div','attributes':{'aria-label':_0x15061f,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2f54cc['children']}),_0x2f54cc['children']['delegate']('execute')['to'](this),_0x2f54cc['focus']=function(){for(const _0x146fbe of this['children'])if(_0x146fbe instanceof _0x379304&&_0x146fbe['isOn'])return void _0x146fbe['focus']();this['children']['first']['focus']();},_0x2f54cc['focusTracker']=new ot(),_0x2f54cc['keystrokes']=new rt(),_0x2f54cc['render'](),_0x2f54cc['keystrokes']['listenTo'](_0x2f54cc['element']),this['children']['add'](_0x2f54cc),_0x2f54cc;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x17ed15=this['_createStartIndexPropertyView'](),_0x12e0f0=[_0x17ed15],_0x46a5b7=new st(this['locale'],_0x12e0f0);return _0x46a5b7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x46a5b7['buttonView']['bind']('isEnabled')['toMany'](_0x12e0f0,'isEnabled',(..._0x17579e)=>_0x17579e['some'](_0x27be3b=>_0x27be3b)),_0x46a5b7['buttonView']['on']('change:isEnabled',(_0x498296,_0x3a6b17,_0x1dbb80)=>{_0x1dbb80||(_0x46a5b7['isCollapsed']=!0x0);}),this['children']['add'](_0x46a5b7),[_0x17ed15,_0x46a5b7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x12c5f1=new it(this['locale'],et);return _0x12c5f1['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x12c5f1['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x12c5f1['fieldView']['on']('input',()=>{const _0x2ae92f=_0x12c5f1['fieldView']['element'],_0x397be7=_0x2ae92f['valueAsNumber'];Number['isNaN'](_0x397be7)?_0x12c5f1['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2ae92f['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x397be7}):_0x12c5f1['errorText']=t(_0x397be7<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x12c5f1;}}
@@ -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 _0x3d8633=_0x33f2;(function(_0x3f838d,_0x572099){var _0x1baab4=_0x33f2,_0x1dd7be=_0x3f838d();while(!![]){try{var _0x5b8475=parseInt(_0x1baab4(0x16f))/0x1*(-parseInt(_0x1baab4(0x162))/0x2)+-parseInt(_0x1baab4(0x165))/0x3+parseInt(_0x1baab4(0x166))/0x4*(-parseInt(_0x1baab4(0x169))/0x5)+-parseInt(_0x1baab4(0x16e))/0x6*(parseInt(_0x1baab4(0x168))/0x7)+-parseInt(_0x1baab4(0x161))/0x8*(-parseInt(_0x1baab4(0x163))/0x9)+parseInt(_0x1baab4(0x16a))/0xa+-parseInt(_0x1baab4(0x167))/0xb*(-parseInt(_0x1baab4(0x164))/0xc);if(_0x5b8475===_0x572099)break;else _0x1dd7be['push'](_0x1dd7be['shift']());}catch(_0x3fa748){_0x1dd7be['push'](_0x1dd7be['shift']());}}}(_0x15d5,0x9e56c));import{Plugin as _0x2a9a2e}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x4f71ca}from'./footnotesproperties/footnotespropertiesediting.js';function _0x33f2(_0x989412,_0x526d82){var _0x15d534=_0x15d5();return _0x33f2=function(_0x33f26e,_0x1d0509){_0x33f26e=_0x33f26e-0x161;var _0x2c8470=_0x15d534[_0x33f26e];return _0x2c8470;},_0x33f2(_0x989412,_0x526d82);}import{FootnotesPropertiesUI as _0x3b9803}from'./footnotesproperties/footnotespropertiesui.js';function _0x15d5(){var _0x1a72f6=['1214808wubNkU','808836KGhEjt','88tmUzQC','132ccoSiL','679wwMiMP','229305hekqRh','11895860NqioFL','isPremiumPlugin','pluginName','FootnotesProperties','33912RzgHGp','279568axctqp','requires','isOfficialPlugin','3472GGNflf','6giZZtt','18864ffwwRC'];_0x15d5=function(){return _0x1a72f6;};return _0x15d5();}export class FootnotesProperties extends _0x2a9a2e{static get[_0x3d8633(0x16c)](){var _0x3e17bf=_0x3d8633;return _0x3e17bf(0x16d);}static get[_0x3d8633(0x170)](){return[_0x4f71ca,_0x3b9803];}static get[_0x3d8633(0x171)](){return!0x0;}static get[_0x3d8633(0x16b)](){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 _0xdcdfb7=_0x2991;(function(_0x3ba36d,_0x4636a6){const _0x4c3418=_0x2991,_0x8fb832=_0x3ba36d();while(!![]){try{const _0x5bbbd6=-parseInt(_0x4c3418(0x15e))/0x1*(-parseInt(_0x4c3418(0x145))/0x2)+-parseInt(_0x4c3418(0x170))/0x3*(-parseInt(_0x4c3418(0x152))/0x4)+parseInt(_0x4c3418(0x199))/0x5*(-parseInt(_0x4c3418(0x18a))/0x6)+parseInt(_0x4c3418(0x149))/0x7+-parseInt(_0x4c3418(0x1a4))/0x8+parseInt(_0x4c3418(0x151))/0x9+-parseInt(_0x4c3418(0x1a2))/0xa;if(_0x5bbbd6===_0x4636a6)break;else _0x8fb832['push'](_0x8fb832['shift']());}catch(_0x272e80){_0x8fb832['push'](_0x8fb832['shift']());}}}(_0x2534,0xabb69));import{Plugin as _0x3ebace}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4e18ce}from'./modelelementtracker.js';export class FootnotesTracker extends _0x3ebace{[_0xdcdfb7(0x162)]=[];[_0xdcdfb7(0x19c)]=null;[_0xdcdfb7(0x191)]=null;[_0xdcdfb7(0x16e)];[_0xdcdfb7(0x18d)];[_0xdcdfb7(0x142)];static get[_0xdcdfb7(0x164)](){const _0x39367b=_0xdcdfb7;return _0x39367b(0x167);}static get[_0xdcdfb7(0x16f)](){return!0x0;}static get[_0xdcdfb7(0x14b)](){return!0x0;}constructor(_0x471693){const _0x49abec=_0xdcdfb7;super(_0x471693),this[_0x49abec(0x16e)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x190),'getElementKey':()=>_0x49abec(0x155)}),this[_0x49abec(0x18d)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x16c),'getElementKey':_0x3385dc=>_0x3385dc[_0x49abec(0x193)](_0x49abec(0x166))}),this[_0x49abec(0x142)]=new _0x4e18ce(this[_0x49abec(0x19e)][_0x49abec(0x181)],{'elementName':_0x49abec(0x1a3),'getElementKey':_0x173ff7=>_0x173ff7[_0x49abec(0x193)](_0x49abec(0x166))});}[_0xdcdfb7(0x169)](){const _0x6f75e2=_0xdcdfb7,{editor:_0x14e1b1}=this,{model:_0x4950e5,data:_0x2d25a6}=_0x14e1b1;_0x4950e5[_0x6f75e2(0x14c)][_0x6f75e2(0x15b)](_0x233e9c=>{const _0xd57163=_0x6f75e2,_0xb4427a=_0x4950e5[_0xd57163(0x14c)][_0xd57163(0x184)][_0xd57163(0x180)]();let _0x42becb=!0x1;return this[_0xd57163(0x160)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x17c)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x183)](_0x233e9c,_0xb4427a)&&(_0x42becb=!0x0),this[_0xd57163(0x16a)](_0x233e9c)&&(_0x42becb=!0x0),this[_0xd57163(0x177)](_0x233e9c)&&(_0x42becb=!0x0),this[_0xd57163(0x197)](_0x233e9c)&&(_0x42becb=!0x0),_0x42becb;}),this[_0x6f75e2(0x1a1)](_0x4950e5[_0x6f75e2(0x14c)],_0x6f75e2(0x168),()=>{const _0x2eb12e=_0x6f75e2;_0x4950e5[_0x2eb12e(0x153)]({'isUndoable':!0x1},_0x7c5a57=>{const _0x3d2705=_0x2eb12e;this[_0x3d2705(0x186)](_0x7c5a57);});},{'priority':_0x6f75e2(0x17f)}),this[_0x6f75e2(0x1a1)](_0x2d25a6,_0x6f75e2(0x15f),()=>{const _0x5dc834=_0x6f75e2;this[_0x5dc834(0x162)]=[],this[_0x5dc834(0x16e)][_0x5dc834(0x187)](),this[_0x5dc834(0x18d)][_0x5dc834(0x187)](),this[_0x5dc834(0x142)][_0x5dc834(0x187)]();},{'priority':_0x6f75e2(0x17d)});}[_0xdcdfb7(0x157)](){const _0xf34c8f=_0xdcdfb7;return this[_0xf34c8f(0x19c)];}[_0xdcdfb7(0x179)](_0x1cce8e){const _0x522baf=_0xdcdfb7;return this[_0x522baf(0x162)][_0x522baf(0x176)](_0x23f9fb=>_0x23f9fb['id']===_0x1cce8e)||null;}[_0xdcdfb7(0x1a0)](){const _0x310ec3=_0xdcdfb7;return Array[_0x310ec3(0x188)](this[_0x310ec3(0x162)]);}[_0xdcdfb7(0x14f)](){const _0x1cddee=_0xdcdfb7;return this[_0x1cddee(0x191)];}[_0xdcdfb7(0x16b)](_0x4e3e14){const _0x5eb7ee=_0xdcdfb7;this[_0x5eb7ee(0x191)]=_0x4e3e14;}[_0xdcdfb7(0x15c)](_0x2b4e34,_0x4a20b2=0x0){const _0x71a3d0=_0xdcdfb7;let _0x20af06=!0x1;for(let _0x400670=_0x4a20b2;_0x400670<this[_0x71a3d0(0x162)][_0x71a3d0(0x19b)];_0x400670++)this[_0x71a3d0(0x144)](_0x2b4e34,_0x400670)&&(_0x20af06=!0x0);return _0x20af06;}[_0xdcdfb7(0x178)](_0x3b25fd,_0xb39c0e){const _0x391f1f=_0xdcdfb7,_0x2d479b=_0x3b25fd[_0x391f1f(0x16d)](_0x391f1f(0x190),{});return _0x3b25fd[_0x391f1f(0x171)](_0x2d479b,_0xb39c0e),this[_0x391f1f(0x19c)]=_0x2d479b,_0x2d479b;}[_0xdcdfb7(0x186)](_0xb726c5){const _0x3788e3=_0xdcdfb7;if(!this[_0x3788e3(0x162)][_0x3788e3(0x19b)]||this[_0x3788e3(0x19c)])return;const _0x556f7e=this[_0x3788e3(0x162)][0x0][_0x3788e3(0x17b)][_0x3788e3(0x18c)],_0x2ffd29=this[_0x3788e3(0x178)](_0xb726c5,_0x556f7e);for(const _0x3c01bc of this[_0x3788e3(0x162)])_0x3c01bc[_0x3788e3(0x15a)][_0x3788e3(0x158)]||_0xb726c5[_0x3788e3(0x14e)](_0x3c01bc[_0x3788e3(0x15a)],_0x2ffd29,_0x3788e3(0x15d));this[_0x3788e3(0x15c)](_0xb726c5);}[_0xdcdfb7(0x160)](_0x3f2010,_0x2ed691){const _0x3dd5ca=_0xdcdfb7;let _0x51a528=!0x1;const {inserted:_0x1e2773,removed:_0x146b31,moved:_0x12fcc4}=this[_0x3dd5ca(0x16e)][_0x3dd5ca(0x180)](_0x2ed691);if(_0x12fcc4[_0x3dd5ca(0x19b)]&&(this[_0x3dd5ca(0x19c)]=_0x12fcc4[0x0]),_0x1e2773[_0x3dd5ca(0x19b)]){if(_0x1e2773[_0x3dd5ca(0x19b)]>0x1||this[_0x3dd5ca(0x19c)]&&_0x1e2773[_0x3dd5ca(0x163)](_0x562ee7=>_0x562ee7!==this[_0x3dd5ca(0x19c)])){const _0x4c6be5=_0x3f2010[_0x3dd5ca(0x16d)](_0x3dd5ca(0x190),{}),_0x47c744=[];this[_0x3dd5ca(0x19c)]&&_0x47c744[_0x3dd5ca(0x161)](this[_0x3dd5ca(0x19c)]),_0x47c744[_0x3dd5ca(0x161)](..._0x1e2773),_0x3f2010[_0x3dd5ca(0x14e)](_0x4c6be5,_0x47c744[0x0],_0x3dd5ca(0x196));for(const _0x251509 of _0x47c744)_0x3f2010[_0x3dd5ca(0x198)](_0x3f2010[_0x3dd5ca(0x141)](_0x251509),_0x3f2010[_0x3dd5ca(0x159)](_0x4c6be5,_0x3dd5ca(0x15d))),_0x3f2010[_0x3dd5ca(0x18b)](_0x251509);this[_0x3dd5ca(0x19c)]=_0x4c6be5,this[_0x3dd5ca(0x15c)](_0x3f2010),_0x51a528=!0x0;}else this[_0x3dd5ca(0x19c)]=_0x1e2773[0x0];}if(_0x146b31[_0x3dd5ca(0x19b)]&&_0x3dd5ca(0x175)===this[_0x3dd5ca(0x19c)]?.[_0x3dd5ca(0x18c)][_0x3dd5ca(0x189)]){for(const _0x51b843 of this[_0x3dd5ca(0x162)])_0x3f2010[_0x3dd5ca(0x18b)](_0x51b843[_0x3dd5ca(0x17b)]),_0x51a528=!0x0;this[_0x3dd5ca(0x162)]=[],this[_0x3dd5ca(0x19c)]=null;}return _0x51a528;}[_0xdcdfb7(0x17c)](_0x339806,_0x355d6c){const _0x47140e=_0xdcdfb7;let _0x2cfea7=!0x1;const _0x187c53=this[_0x47140e(0x19e)][_0x47140e(0x17a)][_0x47140e(0x182)](_0x47140e(0x19f)),{inserted:_0xd3250d,moved:_0x24a0ff}=this[_0x47140e(0x142)][_0x47140e(0x180)](_0x355d6c);for(const _0x121206 of[..._0x24a0ff,..._0xd3250d]){const _0x3b2ae7=_0x121206[_0x47140e(0x193)](_0x47140e(0x166)),_0x2d03f3=this[_0x47140e(0x179)](_0x3b2ae7);_0x2d03f3&&(_0x2d03f3[_0x47140e(0x15a)]=_0x121206),_(_0x339806,_0x187c53,_0x121206)&&(_0x2cfea7=!0x0);}return _0x2cfea7;}[_0xdcdfb7(0x183)](_0x15f26e,_0x47ea53){const _0x59a79b=_0xdcdfb7;let _0x56b2cc=!0x1;const {removed:_0x58c233,inserted:_0x2cf1eb,moved:_0x163b83}=this[_0x59a79b(0x18d)][_0x59a79b(0x180)](_0x47ea53);for(const _0x17e6fa of _0x58c233)this[_0x59a79b(0x19d)](_0x15f26e,_0x17e6fa)&&(_0x56b2cc=!0x0);for(const _0x329f5f of _0x2cf1eb)this[_0x59a79b(0x18e)](_0x15f26e,_0x329f5f)&&(_0x56b2cc=!0x0);for(const _0x4a5572 of _0x163b83)this[_0x59a79b(0x185)](_0x15f26e,_0x4a5572)&&(_0x56b2cc=!0x0);return _0x56b2cc;}[_0xdcdfb7(0x177)](_0x1a6d4b){const _0x55c716=_0xdcdfb7;if(!this[_0x55c716(0x19c)])return!0x1;let _0x200fe0=!0x1;if(this[_0x55c716(0x19c)][_0x55c716(0x146)]!==this[_0x55c716(0x162)][_0x55c716(0x19b)]){const _0x3d9059=[];for(const _0x2aa3a5 of this[_0x55c716(0x19c)][_0x55c716(0x14d)]()){const _0x484a77=_0x2aa3a5[_0x55c716(0x193)](_0x55c716(0x166));this[_0x55c716(0x179)](_0x484a77)||(_0x3d9059[_0x55c716(0x156)](_0x2aa3a5),_0x200fe0=!0x0);}for(const _0x43b8f3 of _0x3d9059)_0x1a6d4b[_0x55c716(0x18b)](_0x43b8f3);}const _0x2a7e7a=new Set(),_0x4a9866=[];for(const _0x37f657 of this[_0x55c716(0x19c)][_0x55c716(0x14d)]()){const _0x19b4b2=_0x37f657[_0x55c716(0x193)](_0x55c716(0x166));_0x2a7e7a[_0x55c716(0x150)](_0x19b4b2)?(_0x4a9866[_0x55c716(0x156)](_0x37f657),_0x200fe0=!0x0):_0x2a7e7a[_0x55c716(0x172)](_0x19b4b2);}for(const _0x538a78 of _0x4a9866)_0x1a6d4b[_0x55c716(0x18b)](_0x538a78);return this[_0x55c716(0x19c)][_0x55c716(0x146)]||(_0x1a6d4b[_0x55c716(0x18b)](this[_0x55c716(0x19c)]),this[_0x55c716(0x19c)]=null,_0x200fe0=!0x0),_0x200fe0;}[_0xdcdfb7(0x18e)](_0x2b4752,_0x4771bf){const _0x5be653=_0xdcdfb7;if(this[_0x5be653(0x162)][_0x5be653(0x176)](_0x1cb028=>_0x1cb028[_0x5be653(0x17b)]===_0x4771bf))return!0x1;let _0x42ef63=!0x1;const _0x12439b=_0x4771bf[_0x5be653(0x193)](_0x5be653(0x166)),_0x431622=this[_0x5be653(0x162)][_0x5be653(0x19a)](_0x1761cb=>_0x1761cb['id']===_0x12439b);-0x1!==_0x431622&&(_0x2b4752[_0x5be653(0x18b)](this[_0x5be653(0x162)][_0x431622][_0x5be653(0x17b)]),this[_0x5be653(0x162)][_0x5be653(0x192)](_0x431622,0x1),_0x42ef63=!0x0);let _0x498464=this[_0x5be653(0x19c)]?function(_0x2200e3,_0x130dec){const _0x1b6032=_0x5be653;for(const _0x18153e of _0x2200e3[_0x1b6032(0x14d)]())if(_0x18153e[_0x1b6032(0x193)](_0x1b6032(0x166))===_0x130dec)return _0x18153e;return null;}(this[_0x5be653(0x19c)],_0x12439b):null;_0x498464||(_0x498464=_0x2b4752[_0x5be653(0x16d)](_0x5be653(0x1a3),{'footnoteId':_0x12439b}),this[_0x5be653(0x19c)]&&(_0x2b4752[_0x5be653(0x14e)](_0x498464,this[_0x5be653(0x19c)],_0x5be653(0x15d)),_0x42ef63=!0x0));const _0x66e1c2={'id':_0x12439b,'reference':_0x4771bf,'definition':_0x498464},_0x573d1c=I(this[_0x5be653(0x19e)][_0x5be653(0x181)],this[_0x5be653(0x162)],_0x4771bf);this[_0x5be653(0x162)][_0x5be653(0x192)](_0x573d1c,0x0,_0x66e1c2);let _0x10951f=_0x573d1c;return-0x1!==_0x431622&&(_0x10951f=Math[_0x5be653(0x154)](_0x573d1c,_0x431622)),this[_0x5be653(0x15c)](_0x2b4752,_0x10951f)&&(_0x42ef63=!0x0),_0x42ef63;}[_0xdcdfb7(0x19d)](_0x2d565c,_0x43a07e){const _0x46c0c3=_0xdcdfb7,_0x14f482=this[_0x46c0c3(0x162)][_0x46c0c3(0x19a)](_0x539557=>_0x539557['id']===_0x43a07e);if(-0x1===_0x14f482)return!0x1;let _0x149174=!0x1;const _0x22038a=this[_0x46c0c3(0x162)][_0x14f482];return _0x46c0c3(0x175)!==_0x22038a[_0x46c0c3(0x15a)][_0x46c0c3(0x18c)][_0x46c0c3(0x189)]&&(_0x2d565c[_0x46c0c3(0x18b)](_0x22038a[_0x46c0c3(0x15a)]),_0x149174=!0x0),this[_0x46c0c3(0x162)][_0x46c0c3(0x192)](_0x14f482,0x1),this[_0x46c0c3(0x15c)](_0x2d565c,_0x14f482)&&(_0x149174=!0x0),_0x149174;}[_0xdcdfb7(0x185)](_0xaa844e,_0x21ef70){const _0x13341a=_0xdcdfb7,_0xe84272=_0x21ef70[_0x13341a(0x193)](_0x13341a(0x166)),_0x5435f4=this[_0x13341a(0x162)][_0x13341a(0x19a)](_0x10ccda=>_0x10ccda['id']===_0xe84272),_0x4512d7=this[_0x13341a(0x162)][_0x5435f4];let _0x49a3ee=!0x1;_0x4512d7[_0x13341a(0x17b)]=_0x21ef70,this[_0x13341a(0x162)][_0x13341a(0x192)](_0x5435f4,0x1);const _0x58217b=I(this[_0x13341a(0x19e)][_0x13341a(0x181)],this[_0x13341a(0x162)],_0x21ef70);return this[_0x13341a(0x162)][_0x13341a(0x192)](_0x58217b,0x0,_0x4512d7),this[_0x13341a(0x15c)](_0xaa844e,Math[_0x13341a(0x154)](_0x5435f4,_0x58217b))&&(_0x49a3ee=!0x0),_0x49a3ee;}[_0xdcdfb7(0x144)](_0xbbb27,_0xda3a3e){const _0x41d047=_0xdcdfb7;if(!this[_0x41d047(0x19c)])return!0x1;const _0x2e8f8f=this[_0x41d047(0x162)][_0xda3a3e];let _0x452b58;return _0x452b58=this[_0x41d047(0x191)]?this[_0x41d047(0x191)]({'footnote':_0x2e8f8f,'container':this[_0x41d047(0x19c)],'digits':String(this[_0x41d047(0x162)][_0x41d047(0x19b)])[_0x41d047(0x19b)],'value':_0xda3a3e+0x1}):String(_0xda3a3e+0x1),_0x2e8f8f[_0x41d047(0x17b)][_0x41d047(0x193)](_0x41d047(0x173))!=_0x452b58&&(_0xbbb27[_0x41d047(0x165)](_0x41d047(0x173),_0x452b58,_0x2e8f8f[_0x41d047(0x17b)]),!0x0);}[_0xdcdfb7(0x197)](_0x4062b4){const _0x2b751e=_0xdcdfb7;if(!this[_0x2b751e(0x19c)]||this[_0x2b751e(0x162)][_0x2b751e(0x19b)]<0x2)return!0x1;if(function(_0x4f8523,_0x477446){const _0x3a711a=_0x2b751e;if(_0x4f8523[_0x3a711a(0x19b)]!==_0x477446[_0x3a711a(0x19b)])return!0x1;for(let _0x1b3243=0x0;_0x1b3243<_0x4f8523[_0x3a711a(0x19b)];_0x1b3243++)if(_0x4f8523[_0x1b3243]!==_0x477446[_0x1b3243])return!0x1;return!0x0;}(this[_0x2b751e(0x162)][_0x2b751e(0x147)](_0x4ecc27=>_0x4ecc27['id']),Array[_0x2b751e(0x188)](this[_0x2b751e(0x19c)][_0x2b751e(0x14d)]())[_0x2b751e(0x147)](_0x313c6d=>_0x313c6d[_0x2b751e(0x193)](_0x2b751e(0x166)))))return!0x1;let _0x26e0e9=!0x1;for(let _0x472154=0x0;_0x472154<this[_0x2b751e(0x162)][_0x2b751e(0x19b)];_0x472154++){const _0x459c9c=this[_0x2b751e(0x162)][_0x472154],_0x59e5ae=_0x4062b4[_0x2b751e(0x18f)](_0x459c9c[_0x2b751e(0x15a)]),_0x3a082d=_0x4062b4[_0x2b751e(0x159)](this[_0x2b751e(0x19c)],_0x472154);_0x59e5ae[_0x2b751e(0x143)](_0x3a082d)||(_0x4062b4[_0x2b751e(0x198)](_0x4062b4[_0x2b751e(0x195)](_0x459c9c[_0x2b751e(0x15a)]),_0x3a082d),_0x26e0e9=!0x0);}return _0x26e0e9;}[_0xdcdfb7(0x16a)](_0x1365dd){const _0xa33120=_0xdcdfb7;if(!this[_0xa33120(0x162)][_0xa33120(0x19b)])return!0x1;const {model:_0x2ede93}=this[_0xa33120(0x19e)];let _0x2e1ee2=!0x1;for(let _0x363a27=0x0;_0x363a27<this[_0xa33120(0x162)][_0xa33120(0x19b)]-0x1;_0x363a27++){const _0x52e0d6=this[_0xa33120(0x162)][_0x363a27],_0x36bf18=this[_0xa33120(0x162)][_0x363a27+0x1],_0x517229=_0x2ede93[_0xa33120(0x18f)](_0x52e0d6[_0xa33120(0x17b)]),_0x46a3ea=_0x2ede93[_0xa33120(0x18f)](_0x36bf18[_0xa33120(0x17b)]);_0xa33120(0x174)===_0x517229[_0xa33120(0x17e)](_0x46a3ea)&&(this[_0xa33120(0x185)](_0x1365dd,_0x52e0d6[_0xa33120(0x17b)]),_0x363a27=-0x1,_0x2e1ee2=!0x0);}return _0x2e1ee2;}}function _(_0x49f6e8,_0x260730,_0x555de1){const _0x100b01=_0xdcdfb7;if(_0x555de1[_0x100b01(0x146)])return!0x1;const _0xfc7049=_0x260730?_0x100b01(0x148):_0x100b01(0x194);return _0x49f6e8[_0x100b01(0x14e)](_0x49f6e8[_0x100b01(0x16d)](_0xfc7049),_0x555de1),!0x0;}function I(_0x3710ef,_0x2b33f1,_0x615223){const _0x45e4ad=_0xdcdfb7;if(0x0===_0x2b33f1[_0x45e4ad(0x19b)])return 0x0;const _0x419ca1=_0x3710ef[_0x45e4ad(0x18f)](_0x615223);for(let _0x3f9faa=0x0;_0x3f9faa<_0x2b33f1[_0x45e4ad(0x19b)];_0x3f9faa++){const _0x243f8e=_0x2b33f1[_0x3f9faa],_0x37f4a4=_0x3710ef[_0x45e4ad(0x18f)](_0x243f8e[_0x45e4ad(0x17b)]);if(_0x45e4ad(0x196)===_0x419ca1[_0x45e4ad(0x17e)](_0x37f4a4))return _0x3f9faa;}const _0x287df6=_0x615223[_0x45e4ad(0x18c)];let _0x5bea24=-0x1;for(let _0x3e1e08=_0x2b33f1[_0x45e4ad(0x19b)]-0x1;_0x3e1e08>=0x0;_0x3e1e08--)if(_0x2b33f1[_0x3e1e08][_0x45e4ad(0x17b)][_0x45e4ad(0x18c)]===_0x287df6){_0x5bea24=_0x3e1e08;break;}if(-0x1!==_0x5bea24)return _0x5bea24+0x1;const _0xc386f1=_0x3710ef[_0x45e4ad(0x14c)][_0x45e4ad(0x14a)](),_0x47efa8=_0xc386f1[_0x45e4ad(0x1a5)](_0x287df6[_0x45e4ad(0x189)]),_0x4346a8=_0xc386f1[_0x47efa8+0x1];if(_0x4346a8){for(let _0x453ed1=0x0;_0x453ed1<_0x2b33f1[_0x45e4ad(0x19b)];_0x453ed1++)if(_0x2b33f1[_0x453ed1][_0x45e4ad(0x17b)][_0x45e4ad(0x18c)][_0x45e4ad(0x189)]===_0x4346a8)return _0x453ed1;}return _0x2b33f1[_0x45e4ad(0x19b)];}function _0x2991(_0x45fa71,_0x26f125){const _0x2534d5=_0x2534();return _0x2991=function(_0x2991f4,_0x1e4d76){_0x2991f4=_0x2991f4-0x141;let _0x5a4d4d=_0x2534d5[_0x2991f4];return _0x5a4d4d;},_0x2991(_0x45fa71,_0x26f125);}function _0x2534(){const _0x4c8183=['createElement','_footnoteDefsContainerTracker','isOfficialPlugin','9amzFGZ','append','add','footnoteCounter','after','$graveyard','find','_handleFootnotesDefinitionsObjectSync','_insertEmptyFootnotesDefinitionsContainer','getFootnote','config','reference','_handleFootnoteDefinitionsChanges','high','compareWith','low','getChanges','model','get','_handleFootnoteReferencesChanges','differ','_handleMovedFootnoteReference','_ensureFootnotesDefinitionsContainerExists','reset','from','rootName','1202406EknNCl','remove','root','_footnoteRefsTracker','_handleInsertedFootnoteReference','createPositionBefore','footnotesDefinitions','_footnoteFormatter','splice','getAttribute','footnoteInlineContent','createRangeOn','before','_sortFootnoteDefinitions','move','5qnVHMX','findIndex','length','_footnotesDefinitions','_handleRemoveFootnoteReferenceById','editor','footnotes.multiBlock','getFootnotes','listenTo','15135860YHXOZj','footnoteDefinition','2782024pljkPu','indexOf','createRangeIn','_footnoteDefsTracker','isEqual','_updateFootnoteRefCounter','8XlzxOs','childCount','map','paragraph','3310034wCmRhl','getRootNames','isPremiumPlugin','document','getChildren','insert','getFootnotesFormatter','has','8783298uSMree','1184908RjyPrk','enqueueChange','min','singleton','unshift','getFootnotesDefinitionsObjectElement','parent','createPositionAt','definition','registerPostFixer','_updateFootnotesCounters','end','106903ovstQa','set','_handleFootnotesDefinitionsObjectChanges','push','_footnotes','some','pluginName','setAttribute','footnoteId','FootnotesTracker','change:data','init','_ensureFootnotesReferencesHaveProperOrder','setFootnoteFormatter','footnoteRef'];_0x2534=function(){return _0x4c8183;};return _0x2534();}
@@ -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 _0x4290c5,MenuBarMenuListItemButtonView as _0x512bba}from'ckeditor5/src/ui.js';import{Plugin as _0x3db95d}from'ckeditor5/src/core.js';import{IconFootnote as _0x1c6538}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x3db95d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x13bf41}=this,{componentFactory:_0x375705}=_0x13bf41['ui'];_0x375705['add']('insertFootnote',x(_0x13bf41,_0x4290c5)),_0x375705['add']('menuBar:insertFootnote',x(_0x13bf41,_0x512bba)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4a028f=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x461cdc;for(const _0xa1e468 in _0x4a028f){const _0x5f3ca5=_0xa1e468,_0x37842d=_0x4a028f[_0x5f3ca5];if('footnotesLicenseKeyValid'==_0x37842d||'footnotesLicenseKeyInvalid'==_0x37842d||'footnotesLicenseKeyExpired'==_0x37842d||'footnotesLicenseKeyDomainLimit'==_0x37842d||'footnotesLicenseKeyNotAllowed'==_0x37842d||'footnotesLicenseKeyEvaluationLimit'==_0x37842d||'footnotesLicenseKeyTrialLimit'==_0x37842d||'footnotesLicenseKeyUsageLimit'==_0x37842d){delete _0x4a028f[_0x5f3ca5],_0x461cdc=_0x37842d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x461cdc&&_0x4a028f['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x461cdc&&_0x4a028f['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x461cdc&&_0x4a028f['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x461cdc&&_0x4a028f['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x461cdc&&_0x4a028f['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x461cdc&&_0x4a028f['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x461cdc&&_0x4a028f['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x36a4bc,_0x58ed4f){const _0x58a637=_0x36a4bc['commands']['get']('insertFootnote');return _0x4f1375=>{const {t:t}=_0x4f1375,_0x15de6c=new _0x58ed4f(_0x4f1375),_0x550195=_0x15de6c instanceof _0x512bba;return _0x15de6c['bind']('isEnabled')['to'](_0x58a637,'isEnabled'),_0x15de6c['set']({'label':t(_0x550195?'Footnote':'Insert\x20footnote'),'icon':_0x1c6538,'tooltip':!0x0}),_0x15de6c['on']('execute',()=>{_0x58a637['execute'](),_0x36a4bc['editing']['view']['focus']();}),_0x15de6c;};}
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(_0x57a051,_0x2b52dc){var _0x4289f1=_0x582a,_0x1c6c59=_0x57a051();while(!![]){try{var _0x3eafe0=-parseInt(_0x4289f1(0x19d))/0x1+parseInt(_0x4289f1(0x19b))/0x2+-parseInt(_0x4289f1(0x19c))/0x3+parseInt(_0x4289f1(0x19e))/0x4+-parseInt(_0x4289f1(0x199))/0x5+-parseInt(_0x4289f1(0x1a0))/0x6*(-parseInt(_0x4289f1(0x198))/0x7)+-parseInt(_0x4289f1(0x19f))/0x8*(-parseInt(_0x4289f1(0x19a))/0x9);if(_0x3eafe0===_0x2b52dc)break;else _0x1c6c59['push'](_0x1c6c59['shift']());}catch(_0x50ba11){_0x1c6c59['push'](_0x1c6c59['shift']());}}}(_0x2793,0x67f27));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';function _0x2793(){var _0x210aef=['1209150FRLNHT','527787dWkAiJ','1285240BRVIwJ','104kuIzOw','12oVSHHu','769433GopsQS','3994850dxdwZO','674874CYkHQM','1279216hYNlyw'];_0x2793=function(){return _0x210aef;};return _0x2793();}function _0x582a(_0x43b64a,_0x49aa1d){var _0x27931e=_0x2793();return _0x582a=function(_0x582a43,_0x420200){_0x582a43=_0x582a43-0x198;var _0x3ac790=_0x27931e[_0x582a43];return _0x3ac790;},_0x582a(_0x43b64a,_0x49aa1d);}export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- 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 _0x147e(){const _0x4223d0=['reset','1493274wmanrD','getItems','flat','nodeAfter','_getElementKey','$graveyard','9FmiuaC','from','_model','6634655lGFKlt','delete','27974950ugxQFn','name','_trackedElements','has','get','1434183OtxmZH','add','elementName','_elementName','$text','getElementKey','139032jdWBRI','3436880mDsVAJ','root','4BhIxkl','28pVyRlU','getChanges','set','values','element','push','clear','remove','type','position','attributes','length','createRangeOn','1159440PgfBnK','insert','rootName','slice'];_0x147e=function(){return _0x4223d0;};return _0x147e();}const _0x4d05e7=_0x17a7;(function(_0x43d422,_0x572be){const _0x147143=_0x17a7,_0x199a3f=_0x43d422();while(!![]){try{const _0x24ed84=-parseInt(_0x147143(0x118))/0x1+-parseInt(_0x147143(0x129))/0x2+parseInt(_0x147143(0x13e))/0x3+parseInt(_0x147143(0x11b))/0x4*(-parseInt(_0x147143(0x137))/0x5)+-parseInt(_0x147143(0x12e))/0x6*(parseInt(_0x147143(0x11c))/0x7)+-parseInt(_0x147143(0x119))/0x8*(-parseInt(_0x147143(0x134))/0x9)+parseInt(_0x147143(0x139))/0xa;if(_0x24ed84===_0x572be)break;else _0x199a3f['push'](_0x199a3f['shift']());}catch(_0x5b7c9e){_0x199a3f['push'](_0x199a3f['shift']());}}}(_0x147e,0xa219f));function _0x17a7(_0x2a5784,_0x3ffc6c){const _0x147e5d=_0x147e();return _0x17a7=function(_0x17a7db,_0x16047c){_0x17a7db=_0x17a7db-0x113;let _0x2619a8=_0x147e5d[_0x17a7db];return _0x2619a8;},_0x17a7(_0x2a5784,_0x3ffc6c);}export class ModelElementTracker{[_0x4d05e7(0x136)];[_0x4d05e7(0x115)];[_0x4d05e7(0x132)];[_0x4d05e7(0x13b)]=new Map();constructor(_0x12b297,_0x4a6705){const _0x2417e8=_0x4d05e7;this[_0x2417e8(0x136)]=_0x12b297,this[_0x2417e8(0x115)]=_0x4a6705[_0x2417e8(0x114)],this[_0x2417e8(0x132)]=_0x4a6705[_0x2417e8(0x117)];}[_0x4d05e7(0x12d)](){const _0x27a28a=_0x4d05e7;this[_0x27a28a(0x13b)][_0x27a28a(0x122)]();}[_0x4d05e7(0x11d)](_0x1441b7){const _0x5b0e06=_0x4d05e7,_0x141336=new Set(),_0x2600a5=new Map();for(const _0x1c1595 of _0x1441b7){if(_0x5b0e06(0x12a)===_0x1c1595[_0x5b0e06(0x124)]&&_0x5b0e06(0x116)!==_0x1c1595[_0x5b0e06(0x13a)]&&_0x1c1595[_0x5b0e06(0x125)][_0x5b0e06(0x131)]){const _0x2de30f=this[_0x5b0e06(0x136)][_0x5b0e06(0x128)](_0x1c1595[_0x5b0e06(0x125)][_0x5b0e06(0x131)]);for(const _0x4aa6b7 of _0x2de30f[_0x5b0e06(0x12f)]()){if(!_0x4aa6b7['is'](_0x5b0e06(0x120),this[_0x5b0e06(0x115)]))continue;const _0x47a667=this[_0x5b0e06(0x132)](_0x4aa6b7);_0x2600a5[_0x5b0e06(0x13c)](_0x47a667)||_0x2600a5[_0x5b0e06(0x11e)](_0x47a667,[]),_0x2600a5[_0x5b0e06(0x13d)](_0x47a667)[_0x5b0e06(0x121)](_0x4aa6b7);}}if(_0x5b0e06(0x123)===_0x1c1595[_0x5b0e06(0x124)]&&_0x1c1595[_0x5b0e06(0x13a)]===this[_0x5b0e06(0x115)]){const _0x142492=this[_0x5b0e06(0x132)]({'getAttribute':_0x50a48d=>_0x1c1595[_0x5b0e06(0x126)][_0x5b0e06(0x13d)](_0x50a48d)});_0x141336[_0x5b0e06(0x113)](_0x142492);}}for(const [_0x20d39b,_0x5b71d8]of this[_0x5b0e06(0x13b)])_0x5b0e06(0x133)===_0x5b71d8[_0x5b0e06(0x11a)][_0x5b0e06(0x12b)]&&_0x141336[_0x5b0e06(0x113)](_0x20d39b);for(const _0x305595 of _0x141336)this[_0x5b0e06(0x13b)][_0x5b0e06(0x138)](_0x305595);for(const [_0x65c717,_0x44508d]of _0x2600a5)this[_0x5b0e06(0x13b)][_0x5b0e06(0x11e)](_0x65c717,_0x44508d[_0x44508d[_0x5b0e06(0x127)]-0x1]);const _0xaa6eb7=new Set();for(const [_0x1c7878,_0x4869b7]of _0x2600a5)_0x141336[_0x5b0e06(0x13c)](_0x1c7878)&&(_0xaa6eb7[_0x5b0e06(0x113)](_0x4869b7[0x0]),_0x4869b7[_0x5b0e06(0x127)]>0x1?_0x2600a5[_0x5b0e06(0x11e)](_0x1c7878,_0x4869b7[_0x5b0e06(0x12c)](0x1)):_0x2600a5[_0x5b0e06(0x138)](_0x1c7878),_0x141336[_0x5b0e06(0x138)](_0x1c7878));return{'removed':Array[_0x5b0e06(0x135)](_0x141336),'inserted':Array[_0x5b0e06(0x135)](_0x2600a5[_0x5b0e06(0x11f)]())[_0x5b0e06(0x130)](),'moved':Array[_0x5b0e06(0x135)](_0xaa6eb7)};}}