@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251112.0 → 0.0.0-nightly-20251114.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4e1c2c}from'ckeditor5/src/core.js';import{isWidget as _0x4dc540,toWidget as _0x4c0ea2,toWidgetEditable as _0x2933e}from'ckeditor5/src/widget.js';import{uid as _0x43869c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x10af40,ClickObserver as _0x3432d7}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x50bbaf}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x45277a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4e1c2c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x50bbaf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x164244}=this;_0x164244['config']['define']('footnotes.multiBlock',!0x0),_0x164244['commands']['add']('insertFootnote',new _0x45277a(_0x164244)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x46d676){const _0x19c76b=_0x1c298f([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]),_0x2eaf5f=0x47a28506,_0x405dc1=0x47a5fde6^_0x2eaf5f,_0x1d0643=window[_0x1c298f([0x44,0x61,0x74,0x65])][_0x1c298f([0x6e,0x6f,0x77])](),_0x104e29=_0x46d676[_0x1c298f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1848d6=new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x50044d=>{_0x104e29[_0x1c298f([0x6f,0x6e,0x63,0x65])](_0x1c298f([0x72,0x65,0x61,0x64,0x79]),_0x50044d);}),_0x50ffb2={[_0x1c298f([0x6b,0x74,0x79])]:_0x1c298f([0x45,0x43]),[_0x1c298f([0x75,0x73,0x65])]:_0x1c298f([0x73,0x69,0x67]),[_0x1c298f([0x63,0x72,0x76])]:_0x1c298f([0x50,0x2d,0x32,0x35,0x36]),[_0x1c298f([0x78])]:_0x1c298f([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]),[_0x1c298f([0x79])]:_0x1c298f([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]),[_0x1c298f([0x61,0x6c,0x67])]:_0x1c298f([0x45,0x53,0x32,0x35,0x36])},_0x55eb44=_0x104e29[_0x1c298f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x1c298f([0x67,0x65,0x74])](_0x1c298f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x3bf60e(){let _0x2aa3f2,_0x408984=null,_0x5e7676=null;try{if(_0x55eb44==_0x1c298f([0x47,0x50,0x4c]))return _0x1c298f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2aa3f2=_0x384d6a(),!_0x2aa3f2)return _0x1c298f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2aa3f2[_0x1c298f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x5e7676=_0x5431bb(_0x2aa3f2[_0x1c298f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2aa3f2[_0x1c298f([0x6a,0x74,0x69])])),await _0x92fbe7()?_0x3dca75()?_0x85ce1d()?_0x1c298f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x5a4e0a()?(_0x2aa3f2[_0x1c298f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c298f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x408984=_0x52a699(_0x1c298f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2aa3f2[_0x1c298f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x1c298f([0x74,0x72,0x69,0x61,0x6c])&&(_0x408984=_0x52a699(_0x1c298f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0xdbe6e8()):_0x1c298f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x1c298f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x1c298f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x1c298f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x85ce1d(){const _0x3ff958=[_0x1c298f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x1c298f([0x74,0x72,0x69,0x61,0x6c])][_0x1c298f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2aa3f2[_0x1c298f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x1d0643/0x3e8:0xe10*_0x405dc1;return _0x2aa3f2[_0x1c298f([0x65,0x78,0x70])]<_0x3ff958;}function _0x3dca75(){const _0x532313=_0x2aa3f2[_0x1c298f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x532313&&(!!_0x532313[_0x1c298f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c298f([0x2a]))||!!_0x532313[_0x1c298f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c298f([0x46,0x4f,0x4f])));}function _0x5a4e0a(){const _0x4d8a31=_0x2aa3f2[_0x1c298f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4d8a31||0x0==_0x4d8a31[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x18a748}=new URL(window[_0x1c298f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4d8a31[_0x1c298f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x18a748))return!0x0;const _0xbca458=_0x18a748[_0x1c298f([0x73,0x70,0x6c,0x69,0x74])](_0x1c298f([0x2e]));return _0x4d8a31[_0x1c298f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5b5aa1=>_0x5b5aa1[_0x1c298f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c298f([0x2a])))[_0x1c298f([0x6d,0x61,0x70])](_0x11f541=>_0x11f541[_0x1c298f([0x73,0x70,0x6c,0x69,0x74])](_0x1c298f([0x2e])))[_0x1c298f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x37f883=>_0x37f883[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xbca458[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c298f([0x6d,0x61,0x70])](_0x23cc28=>Array(_0xbca458[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x23cc28[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x1c298f([0x66,0x69,0x6c,0x6c])](_0x23cc28[0x0]===_0x1c298f([0x2a])?_0x1c298f([0x2a]):'')[_0x1c298f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x23cc28))[_0x1c298f([0x73,0x6f,0x6d,0x65])](_0x81972=>_0xbca458[_0x1c298f([0x65,0x76,0x65,0x72,0x79])]((_0x298606,_0x1b0a91)=>_0x81972[_0x1b0a91]===_0x298606||_0x81972[_0x1b0a91]===_0x1c298f([0x2a])));}function _0xdbe6e8(){return _0x408984&&_0x5e7676?new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x30a3b6,_0xae676f)=>{_0x408984[_0x1c298f([0x74,0x68,0x65,0x6e])](_0x30a3b6,_0xae676f),_0x5e7676[_0x1c298f([0x74,0x68,0x65,0x6e])](_0x4fc1fa=>{_0x4fc1fa!=_0x1c298f([0x56,0x61,0x6c,0x69,0x64])&&_0x30a3b6(_0x4fc1fa);},_0xae676f);}):_0x408984||_0x5e7676||_0x1c298f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5431bb(_0x5bb637,_0x3e7641){return new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xbe0182=>{if(_0x4355e0())return _0xbe0182(_0x1c298f([0x56,0x61,0x6c,0x69,0x64]));_0x3daf02(),_0x104e29[_0x1c298f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x1c298f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2e31a5=!0x1;const _0x5d3b63=_0x43869c();function _0x533cfe(_0x506415){return!!_0x506415&&(typeof _0x506415===_0x1c298f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x506415===_0x1c298f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x506415[_0x1c298f([0x74,0x68,0x65,0x6e])]===_0x1c298f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x506415[_0x1c298f([0x63,0x61,0x74,0x63,0x68])]===_0x1c298f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x18e78e(_0x7199c3){_0x5e9787(_0x7199c3)[_0x1c298f([0x74,0x68,0x65,0x6e])](_0x3a10f3=>{if(!_0x3a10f3||_0x3a10f3[_0x1c298f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x1c298f([0x6f,0x6b]))return _0x1c298f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x46ea5d(_0x3eb41e(_0x5d3b63+_0x3e7641))!=_0x3a10f3[_0x1c298f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x1c298f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x1c298f([0x56,0x61,0x6c,0x69,0x64]);})[_0x1c298f([0x74,0x68,0x65,0x6e])](_0x3013e8=>(_0x219ffb(),_0x3013e8),()=>{const _0x5ab713=_0x3de8ad();return null==_0x5ab713?(_0x219ffb(),_0x1c298f([0x56,0x61,0x6c,0x69,0x64])):_0x1c298f(_0x1d0643-_0x5ab713>(0x63ae0106^_0x2eaf5f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x1c298f([0x74,0x68,0x65,0x6e])](_0xbe0182)[_0x1c298f([0x63,0x61,0x74,0x63,0x68])](()=>{_0xbe0182(_0x1c298f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x48832a=0x47946b86^_0x2eaf5f;function _0x219ffb(){const _0x42d227=_0x1c298f([0x6c,0x6c,0x63,0x74,0x2d])+_0x46ea5d(_0x3eb41e(_0x5bb637)),_0x35b755=_0x4ee0dc(_0x46ea5d(window[_0x1c298f([0x4d,0x61,0x74,0x68])][_0x1c298f([0x63,0x65,0x69,0x6c])](_0x1d0643/_0x48832a)));window[_0x1c298f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c298f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x42d227,_0x35b755);}function _0x3de8ad(){const _0x219d6b=_0x1c298f([0x6c,0x6c,0x63,0x74,0x2d])+_0x46ea5d(_0x3eb41e(_0x5bb637)),_0x5b5241=window[_0x1c298f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x1c298f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x219d6b);return _0x5b5241?window[_0x1c298f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4ee0dc(_0x5b5241),0x10)*_0x48832a:null;}function _0x5e9787(_0x5bb746){return new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x433ed1,_0x1fb470)=>{_0x5bb746[_0x1c298f([0x74,0x68,0x65,0x6e])](_0x433ed1,_0x1fb470),window[_0x1c298f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1fb470,0x47a351c6^_0x2eaf5f);});}}_0x104e29[_0x1c298f([0x6f,0x6e])](_0x1c298f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1ec715,_0x553ead)=>{if(_0x553ead[0x0]!=_0x5bb637)return _0xbe0182(_0x1c298f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x553ead[0x1]={..._0x553ead[0x1],[_0x1c298f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5d3b63};},{[_0x1c298f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c298f([0x68,0x69,0x67,0x68])}),_0x104e29[_0x1c298f([0x6f,0x6e])](_0x1c298f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa63ef2=>{_0x533cfe(_0xa63ef2[_0x1c298f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2e31a5=!0x0,_0x18e78e(_0xa63ef2[_0x1c298f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x1c298f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x1c298f([0x6c,0x6f,0x77])}),_0x1848d6[_0x1c298f([0x74,0x68,0x65,0x6e])](()=>{_0x2e31a5||_0xbe0182(_0x1c298f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4355e0(){return _0x104e29[_0x1c298f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c298f([0x76,0x69,0x65,0x77])][_0x1c298f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x1c298f([0x61,0x75,0x74,0x6f]);}function _0x3daf02(){_0x104e29[_0x1c298f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x1c298f([0x76,0x69,0x65,0x77])][_0x1c298f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x1c298f([0x61,0x75,0x74,0x6f]);}}function _0x52a699(_0x4c261a){const _0x32ceeb=[new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1481bf=>setTimeout(_0x1481bf,0x47abbbca^_0x2eaf5f)),_0x1848d6[_0x1c298f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x49f367=>{let _0x2e2274=0x0;_0x104e29[_0x1c298f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c298f([0x6f,0x6e])](_0x1c298f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x23ffa9,_0xc1de3d)=>{_0xc1de3d[0x0][_0x1c298f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2e2274++,_0x2e2274==(0x47a284fe^_0x2eaf5f)&&(_0x49f367(),_0x23ffa9[_0x1c298f([0x6f,0x66,0x66])]());});}))];return window[_0x1c298f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x1c298f([0x72,0x61,0x63,0x65])](_0x32ceeb)[_0x1c298f([0x74,0x68,0x65,0x6e])](()=>_0x4c261a);}async function _0x268e4c(){await _0x1848d6,_0x104e29[_0x1c298f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c298f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5e3b9a,_0x104e29[_0x1c298f([0x6d,0x6f,0x64,0x65,0x6c])][_0x1c298f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5e3b9a,_0x104e29[_0x1c298f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x1c298f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x41eda9(_0x45de74){const _0x10ae63=_0x787e30();_0x104e29[_0x10ae63]=_0x1c298f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x45de74,_0x45de74!=_0x1c298f([0x56,0x61,0x6c,0x69,0x64])&&_0x268e4c();}function _0x787e30(){const _0x538f0a=window[_0x1c298f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x1c298f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x1c298f([0x6e,0x6f,0x77])]())[_0x1c298f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x1c298f([0x2e]),'');let _0x3c779f=_0x1c298f([0x75]);for(let _0x212ab6=0x0;_0x212ab6<_0x538f0a[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x212ab6+=0x2){let _0x36cc55=window[_0x1c298f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x538f0a[_0x1c298f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x212ab6,_0x212ab6+0x2));_0x36cc55>=_0x19c76b[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x36cc55-=_0x19c76b[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3c779f+=_0x19c76b[_0x36cc55];}return _0x3c779f;}function _0x384d6a(){const _0x447721=_0x55eb44[_0x1c298f([0x73,0x70,0x6c,0x69,0x74])](_0x1c298f([0x2e]));if(0x3!=_0x447721[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x202f05(_0x447721[0x1]);function _0x202f05(_0x111df9){const _0x5d685a=_0x1a13d8(_0x111df9);return _0x5d685a&&_0x33a6cf()?_0x5d685a:null;function _0x33a6cf(){const _0x151459=_0x5d685a[_0x1c298f([0x6a,0x74,0x69])],_0xf8381d=window[_0x1c298f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x151459[_0x1c298f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x151459[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4d8dfa={..._0x5d685a,[_0x1c298f([0x6a,0x74,0x69])]:_0x151459[_0x1c298f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x151459[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4d8dfa[_0x1c298f([0x76,0x63])],_0x3eb41e(_0x4d8dfa)==_0xf8381d;}}}async function _0x92fbe7(){let _0x49bc6f=!0x0;try{const _0xb5546f=_0x55eb44[_0x1c298f([0x73,0x70,0x6c,0x69,0x74])](_0x1c298f([0x2e])),[_0x29d037,_0x563a5e,_0x1ec4cb]=_0xb5546f;return _0x20661b(_0x29d037),await _0x4e740b(_0x29d037,_0x563a5e,_0x1ec4cb),_0x49bc6f;}catch{return!0x1;}function _0x20661b(_0x1ad6a8){const _0x1388db=_0x1a13d8(_0x1ad6a8);_0x1388db&&_0x1388db[_0x1c298f([0x61,0x6c,0x67])]==_0x1c298f([0x45,0x53,0x32,0x35,0x36])||(_0x49bc6f=!0x1);}async function _0x4e740b(_0x4a307e,_0x25812c,_0x359f70){const _0x2fbf5d=window[_0x1c298f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x1c298f([0x66,0x72,0x6f,0x6d])](_0x477e04(_0x359f70),_0x2e6cf4=>_0x2e6cf4[_0x1c298f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2f56de=new window[(_0x1c298f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x1c298f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4a307e+_0x1c298f([0x2e])+_0x25812c),_0x1efb0e=window[_0x1c298f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x1c298f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x1efb0e)return;const _0x2fa62a=await _0x1efb0e[_0x1c298f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x1c298f([0x6a,0x77,0x6b]),_0x50ffb2,{[_0x1c298f([0x6e,0x61,0x6d,0x65])]:_0x1c298f([0x45,0x43,0x44,0x53,0x41]),[_0x1c298f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x1c298f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x1c298f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x1efb0e[_0x1c298f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x1c298f([0x6e,0x61,0x6d,0x65])]:_0x1c298f([0x45,0x43,0x44,0x53,0x41]),[_0x1c298f([0x68,0x61,0x73,0x68])]:{[_0x1c298f([0x6e,0x61,0x6d,0x65])]:_0x1c298f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2fa62a,_0x2fbf5d,_0x2f56de)||(_0x49bc6f=!0x1);}}function _0x1a13d8(_0x1afee1){return _0x1afee1[_0x1c298f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x1c298f([0x65,0x79]))?JSON[_0x1c298f([0x70,0x61,0x72,0x73,0x65])](_0x477e04(_0x1afee1)):null;}function _0x477e04(_0x4b8ea5){return window[_0x1c298f([0x61,0x74,0x6f,0x62])](_0x4b8ea5[_0x1c298f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x1c298f([0x2b]))[_0x1c298f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x1c298f([0x2f])));}function _0x3eb41e(_0x43aa45){let _0x27b828=0x1505;function _0x3375c9(_0x4d5fa1){for(let _0x1ebf9e=0x0;_0x1ebf9e<_0x4d5fa1[_0x1c298f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1ebf9e++){const _0x76735b=_0x4d5fa1[_0x1c298f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1ebf9e);_0x27b828=(_0x27b828<<0x5)+_0x27b828+_0x76735b,_0x27b828&=_0x27b828;}}function _0x1a9dce(_0x17af24){Array[_0x1c298f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x17af24)?_0x17af24[_0x1c298f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1a9dce):_0x17af24&&typeof _0x17af24==_0x1c298f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x1c298f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x17af24)[_0x1c298f([0x73,0x6f,0x72,0x74])]()[_0x1c298f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x2be1be,_0x1b079e])=>{_0x3375c9(_0x2be1be),_0x1a9dce(_0x1b079e);}):_0x3375c9(window[_0x1c298f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x17af24));}return _0x1a9dce(_0x43aa45),_0x27b828>>>0x0;}function _0x46ea5d(_0xfd4f4){return _0xfd4f4[_0x1c298f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x1c298f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x1c298f([0x30]));}function _0x4ee0dc(_0x13738a){return _0x13738a[_0x1c298f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x1c298f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x1c298f([0x6a,0x6f,0x69,0x6e])]('');}function _0x5e3b9a(){}function _0x1c298f(_0x23ce31){return _0x23ce31['map'](_0x31526e=>String['fromCharCode'](_0x31526e))['join']('');}_0x41eda9(await _0x3bf60e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x30bf89){const {plugins:_0x5b4e90,editing:_0x5483b2,model:_0x617089}=this['editor'],_0xa22771=_0x5b4e90['get'](_0x50bbaf)['getFootnote'](_0x30bf89);return!!_0xa22771&&(_0x617089['change'](_0x34ac27=>{_0x34ac27['setSelection'](_0x34ac27['createPositionAt'](_0xa22771['definition'],'end'));}),_0x5483b2['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5f3393){const {plugins:_0x59a86f,editing:_0x5334a1,model:_0x4d3755}=this['editor'],_0x2988b7=_0x59a86f['get'](_0x50bbaf)['getFootnote'](_0x5f3393);return!!_0x2988b7&&(_0x4d3755['change'](_0x117c3b=>{_0x117c3b['setSelection'](_0x2988b7['reference'],'on');}),_0x5334a1['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x61ebe1}=this['editor']['model'],_0x5b41a3=this['editor']['config']['get']('footnotes.multiBlock');_0x61ebe1['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x61ebe1['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x61ebe1['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x5b41a3?_0x61ebe1['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x61ebe1['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x61ebe1['addChildCheck'](_0x34817c=>{for(const _0xe7c1b2 of _0x34817c)if('footnoteDefinition'===_0xe7c1b2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x59a883}=this,{conversion:_0xb54ad2,editing:_0x25b7f6}=_0x59a883,{t:t}=_0x59a883['locale'];_0xb54ad2['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x2d52ca,{writer:_0x4aabcc,consumable:_0x4045e0})=>{const _0x352d47=_0x2d52ca['getChild'](0x0);if(!_0x352d47||!_0x352d47['is']('element','a'))return null;const _0x156139=_0x352d47['getAttribute']('href')||'';if(!_0x156139['startsWith']('#'))return null;const _0x39af22=_0x156139['replace'](/^#/,'');if(!_0x39af22)return null;_0x4045e0['consume'](_0x352d47,{'name':!0x0,'attributes':['href']});for(const {item:_0x59ab92}of _0x25b7f6['view']['createRangeIn'](_0x352d47))_0x59ab92['is']('$textProxy')?_0x4045e0['consume'](_0x59ab92['textNode'],{'name':!0x0}):_0x59ab92['is']('element')&&_0x4045e0['consume'](_0x59ab92,{'name':!0x0});return _0x4aabcc['createElement']('footnoteRef',{'footnoteId':_0x39af22});}}),_0xb54ad2['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x26542b,{writer:_0x2d9d95})=>D(_0x26542b,_0x2d9d95)}),_0xb54ad2['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x29b918,{writer:_0x5dac13})=>{const _0x50c238=_0x29b918['getAttribute']('footnoteCounter');return _0x4c0ea2(D(_0x29b918,_0x5dac13),_0x5dac13,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x50c238)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c7154}=this,{t:t}=_0x5c7154['locale'],{conversion:_0x59f67a}=_0x5c7154;_0x59f67a['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x59f67a['for']('upcast')['add'](_0x1a397a=>{_0x1a397a['on']('element:ol',(_0x15a2eb,_0xd48d4b,_0x1ec50a)=>{const _0x3bc9e9=_0xd48d4b['viewItem'];if(!_0x3bc9e9['hasClass']('footnotes-list')||!_0xd48d4b['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1ec50a['consumable']['consume'](_0x3bc9e9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x4e1b56,modelCursor:_0x1e7b5b}=_0x1ec50a['convertChildren'](_0xd48d4b['viewItem'],_0xd48d4b['modelCursor']);_0xd48d4b['modelRange']=_0x4e1b56,_0xd48d4b['modelCursor']=_0x1e7b5b;}),_0x1a397a['on']('element:hr',(_0x2be827,_0x1f5ba5,_0x358112)=>{const _0x511685=_0x1f5ba5['viewItem'];_0x511685['hasClass']('footnotes-divider')&&_0x1f5ba5['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x358112['consumable']['consume'](_0x511685,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x59f67a['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4b8872,{writer:_0x575ca9})=>v(_0x575ca9)}),_0x59f67a['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2e9b39,{writer:_0x57a3b7})=>{const _0xa92be7=v(_0x57a3b7,{'data-footnotes-list-label':t('Footnotes')}),_0x29aff4=_0x4c0ea2(_0xa92be7,_0x57a3b7,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x57a3b7['setCustomProperty']('footnotesDefinitions',!0x0,_0x29aff4),_0x29aff4;}});}['_defineDefinitionConverters'](){const {editor:_0x3b5f2c}=this,{conversion:_0x5a60ee,locale:_0x288d50}=_0x3b5f2c,_0x32dae4=_0x3b5f2c['config']['get']('footnotes.multiBlock');_0x5a60ee['for']('upcast')['add'](_0x221936=>{_0x221936['on']('element:li',(_0x17ac65,_0x22ef98,_0x19addd)=>{const _0x1b4a36=_0x22ef98['viewItem'];if(!_0x1b4a36['hasClass']('footnote-definition')||!_0x1b4a36['getAttribute']('id'))return;const _0x14c03e=_0x1b4a36['parent'];if(!_0x14c03e['is']('element','ol')||!_0x14c03e['hasClass']('footnotes-list'))return;if(!_0x19addd['consumable']['test'](_0x1b4a36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x10b0c0=_0x19addd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1b4a36['getAttribute']('id')});if(!_0x19addd['safeInsert'](_0x10b0c0,_0x22ef98['modelCursor']))return;_0x19addd['consumable']['consume'](_0x1b4a36,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x20b51b=Array['from'](_0x1b4a36['getChildren']())['find'](_0x391f89=>_0x391f89['is']('element')&&_0x391f89['hasClass']('footnote-content'));for(const _0x54ce53 of _0x1b4a36['getChildren']())_0x54ce53['is']('element')&&(_0x19addd['consumable']['consume'](_0x54ce53,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x19addd['consumable']['consume'](_0x54ce53,{'name':!0x0,'classes':'footnote-content'}));if(_0x20b51b){if(_0x32dae4)_0x19addd['convertChildren'](_0x20b51b,_0x10b0c0);else{const _0x5c85bc=_0x19addd['writer']['createElement']('footnoteInlineContent');_0x19addd['writer']['insert'](_0x5c85bc,_0x10b0c0),_0x19addd['convertChildren'](_0x20b51b,_0x5c85bc);}}_0x19addd['updateConversionResult'](_0x10b0c0,_0x22ef98);});}),_0x5a60ee['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28f0fa,{writer:_0x5063ec})=>b(_0x28f0fa,_0x5063ec,_0x288d50,{'dataPipeline':!0x0})}),_0x5a60ee['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf02299,{writer:_0x38fd5a})=>b(_0xf02299,_0x38fd5a,_0x288d50)});}['_defineBogusParagraphConverters'](){const {editor:_0x32944f}=this,{conversion:_0x318552}=_0x32944f;_0x32944f['config']['get']('footnotes.multiBlock')?(_0x318552['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x318552['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x32944f['model']['document'],'change:data',()=>{!function(_0x45860a,_0x2d2437){const _0x50a15a=_0x45860a['document']['differ'],_0x310ce4=new Set();for(const _0x351c10 of _0x50a15a['getChanges']()){const _0x255f69='attribute'==_0x351c10['type']?_0x351c10['range']['start']['parent']:_0x351c10['position']['parent'];_0x255f69['is']('element','footnoteDefinition')&&_0x310ce4['add'](_0x255f69);}for(const _0x41b465 of _0x310ce4['values']()){const _0x388616=Array['from'](_0x41b465['getChildren']())['filter'](_0x5c8a5b=>g(_0x5c8a5b,_0x2d2437['mapper']));for(const _0x4e1f47 of _0x388616)_0x2d2437['reconvertItem'](_0x4e1f47);}}(_0x32944f['model'],_0x32944f['editing']);})):(_0x318552['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x318552['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xdb2794,{writer:_0x530f08})=>{const _0x28863a=_0x530f08['createContainerElement']('span');return _0x530f08['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x28863a),_0x28863a;}}));}['_defineKeyboardHandlers'](){const {editor:_0x4bc369}=this,{editing:_0x545ab5,t:t}=_0x4bc369,_0x13c941=_0x4bc369['model']['document']['selection'];_0x4bc369['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x4bc369['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x545ab5['view']['document'],'enter',(_0x489405,_0x2e9ba8)=>{const _0x318758=function(_0x3856e0){const _0x102b64=_0x3856e0['getSelectedElement']();if(_0x102b64?.['is']('element','footnoteRef'))return _0x102b64;return null;}(_0x13c941);if(_0x318758){const _0xfaea29=_0x318758['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0xfaea29),_0x2e9ba8['preventDefault'](),_0x489405['stop']();}},{'context':_0x4dc540});}['_defineClickHandlers'](){const {editor:_0x425c9c}=this,{editing:_0x1d882c}=_0x425c9c;_0x425c9c['editing']['view']['addObserver'](_0x10af40),_0x425c9c['editing']['view']['addObserver'](_0x3432d7);let _0x4db546=!0x1;this['listenTo'](_0x1d882c['view']['document'],'pointerdown',(_0x2fab29,_0x4dc278)=>{const {target:_0x4fe7e9}=_0x4dc278,_0x140539=_0x1d882c['view']['document']['selection'];_0x4db546=!!(_0x4fe7e9?.['is']('element','a')&&_0x4fe7e9['parent']?.['is']('element','sup')&&_0x4fe7e9['parent']['hasClass']('footnote'))&&_0x140539['getSelectedElement']()===_0x4fe7e9['parent'];},{'priority':'high'}),this['listenTo'](_0x1d882c['view']['document'],'click',(_0x2e4ce4,_0xb1c4f7)=>{const {target:_0x27ad84}=_0xb1c4f7;if(!_0x27ad84?.['is']('element','a'))return;if(_0x27ad84['parent']?.['is']('element','sup')&&_0x27ad84['parent']['hasClass']('footnote')&&!_0x4db546)return void _0xb1c4f7['preventDefault']();let _0x1aa9a8=_0x27ad84['getAttribute']('href');if(!_0x1aa9a8?.['startsWith']('#'))return;_0x1aa9a8=_0x1aa9a8['slice'](0x1);let _0x4bb48f=!0x1;(_0x1aa9a8['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1aa9a8['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1aa9a8))&&(_0x4bb48f=!0x0),_0x4bb48f&&(_0xb1c4f7['preventDefault'](),_0x2e4ce4['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x1cdd62}={}){return(_0x3e91a6,{writer:_0x549cd2})=>{if(!p(_0x3e91a6))return null;if(!_0x1cdd62)return _0x549cd2['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3ca8cb=_0x549cd2['createContainerElement']('p');return _0x549cd2['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3ca8cb),_0x3ca8cb;};}function p(_0xf84457){const {parent:_0x1b714d}=_0xf84457;if(!_0x1b714d?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x1b714d['childCount'])return!0x1;for(const _0x190e2e of _0xf84457['getAttributeKeys']())if(!_0x190e2e['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x190e2e)return!0x1;return!0x0;}function g(_0x13bc05,_0x3825b1){if(!_0x13bc05['is']('element','paragraph'))return!0x1;const _0x47506b=_0x3825b1['toViewElement'](_0x13bc05);return!!_0x47506b&&p(_0x13bc05)!==_0x47506b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x38624c){return _0x4dc540(_0x38624c)&&_0x38624c['is']('containerElement')&&!!_0x38624c['getCustomProperty']('footnotesDefinitions');}function v(_0x4ba5a4,_0x47b2ae={}){const _0x357c1e=_0x4ba5a4['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x463491=_0x4ba5a4['createContainerElement']('ol',{'class':'footnotes-list'},_0x4ba5a4['createSlot']());return _0x4ba5a4['createContainerElement']('div',{'class':'footnotes',..._0x47b2ae},[_0x357c1e,_0x463491]);}function D(_0x592ce2,_0x8f2d00){const _0x1aca3e=_0x592ce2['getAttribute']('footnoteId'),_0x11689e=_0x592ce2['getAttribute']('footnoteCounter'),_0x4a6a75=_0x8f2d00['createUIElement']('a',{'href':'#'+_0x1aca3e},function(_0x1a4b37){const _0x78fd25=this['toDomElement'](_0x1a4b37);return _0x78fd25['textContent']=_0x11689e,_0x78fd25;}),_0x1f7936=_0x8f2d00['createContainerElement']('sup',{'id':'ref-'+_0x1aca3e,'class':'footnote'},[_0x4a6a75]);return _0x1f7936['getFillerOffset']=()=>null,_0x1f7936;}function b(_0x4b65cf,_0x40a023,_0x3fe521,{dataPipeline:_0x551204}={}){const {t:t}=_0x3fe521,_0x515721=_0x4b65cf['getAttribute']('footnoteId'),_0xadd6a0=_0x40a023['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x515721},function(_0x23ad4a){const _0x5ee119=this['toDomElement'](_0x23ad4a);return _0x5ee119['innerText']='^',_0x5ee119;}),_0x37a90c=_0x551204?_0x40a023['createContainerElement']('div',{'class':'footnote-content'}):_0x2933e(_0x40a023['createEditableElement']('div',{'class':'footnote-content'}),_0x40a023,{'label':t('Footnote\x20content.')});return _0x40a023['insert'](_0x40a023['createPositionAt'](_0x37a90c,0x0),_0x40a023['createSlot']()),_0x40a023['createContainerElement']('li',{'class':'footnote-definition','id':_0x515721},[_0xadd6a0,_0x37a90c]);}
23
+ import{Plugin as _0x97a727}from'ckeditor5/src/core.js';import{isWidget as _0x16ebef,toWidget as _0x27e423,toWidgetEditable as _0x5ba5a1}from'ckeditor5/src/widget.js';import{uid as _0x3e951a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x446ffb,ClickObserver as _0x27cefd}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x5eeef2}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x172dfc}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x97a727{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x5eeef2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x342958}=this;_0x342958['config']['define']('footnotes.multiBlock',!0x0),_0x342958['commands']['add']('insertFootnote',new _0x172dfc(_0x342958)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x189b10){const _0x2ef532=_0x3050f7([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]),_0x33c9d9=0x47a28506,_0x26b19f=0x47a5fc16^_0x33c9d9,_0x36a5e4=window[_0x3050f7([0x44,0x61,0x74,0x65])][_0x3050f7([0x6e,0x6f,0x77])](),_0x29fbcf=_0x189b10[_0x3050f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4af7b6=new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1ed4b7=>{_0x29fbcf[_0x3050f7([0x6f,0x6e,0x63,0x65])](_0x3050f7([0x72,0x65,0x61,0x64,0x79]),_0x1ed4b7);}),_0x41c293={[_0x3050f7([0x6b,0x74,0x79])]:_0x3050f7([0x45,0x43]),[_0x3050f7([0x75,0x73,0x65])]:_0x3050f7([0x73,0x69,0x67]),[_0x3050f7([0x63,0x72,0x76])]:_0x3050f7([0x50,0x2d,0x32,0x35,0x36]),[_0x3050f7([0x78])]:_0x3050f7([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]),[_0x3050f7([0x79])]:_0x3050f7([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]),[_0x3050f7([0x61,0x6c,0x67])]:_0x3050f7([0x45,0x53,0x32,0x35,0x36])},_0x386713=_0x29fbcf[_0x3050f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x3050f7([0x67,0x65,0x74])](_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4b0925(){let _0x3a1a92,_0x383aba=null,_0xa10d6b=null;try{if(_0x386713==_0x3050f7([0x47,0x50,0x4c]))return _0x3050f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x3a1a92=_0x14bb91(),!_0x3a1a92)return _0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x3a1a92[_0x3050f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xa10d6b=_0x3ccd26(_0x3a1a92[_0x3050f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x3a1a92[_0x3050f7([0x6a,0x74,0x69])])),await _0x2709df()?_0x57f934()?_0x59f293()?_0x3050f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x1833a2()?(_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3050f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x383aba=_0x30cdec(_0x3050f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x3050f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x383aba=_0x30cdec(_0x3050f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x481f99()):_0x3050f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x3050f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x3050f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x59f293(){const _0x6037c=[_0x3050f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x3050f7([0x74,0x72,0x69,0x61,0x6c])][_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x36a5e4/0x3e8:0xe10*_0x26b19f;return _0x3a1a92[_0x3050f7([0x65,0x78,0x70])]<_0x6037c;}function _0x57f934(){const _0x9e4f1f=_0x3a1a92[_0x3050f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x9e4f1f&&(!!_0x9e4f1f[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x2a]))||!!_0x9e4f1f[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x46,0x4f,0x4f])));}function _0x1833a2(){const _0xb1a067=_0x3a1a92[_0x3050f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xb1a067||0x0==_0xb1a067[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5a5041}=new URL(window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xb1a067[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5a5041))return!0x0;const _0x13ff44=_0x5a5041[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e]));return _0xb1a067[_0x3050f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x14afeb=>_0x14afeb[_0x3050f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x3050f7([0x2a])))[_0x3050f7([0x6d,0x61,0x70])](_0x24f590=>_0x24f590[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e])))[_0x3050f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x42c8ae=>_0x42c8ae[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x13ff44[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3050f7([0x6d,0x61,0x70])](_0x3c08f4=>Array(_0x13ff44[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3c08f4[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x3050f7([0x66,0x69,0x6c,0x6c])](_0x3c08f4[0x0]===_0x3050f7([0x2a])?_0x3050f7([0x2a]):'')[_0x3050f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3c08f4))[_0x3050f7([0x73,0x6f,0x6d,0x65])](_0x22f9d6=>_0x13ff44[_0x3050f7([0x65,0x76,0x65,0x72,0x79])]((_0x3743e1,_0x5bed8f)=>_0x22f9d6[_0x5bed8f]===_0x3743e1||_0x22f9d6[_0x5bed8f]===_0x3050f7([0x2a])));}function _0x481f99(){return _0x383aba&&_0xa10d6b?new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x55201c,_0x1fed5f)=>{_0x383aba[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x55201c,_0x1fed5f),_0xa10d6b[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x3553a8=>{_0x3553a8!=_0x3050f7([0x56,0x61,0x6c,0x69,0x64])&&_0x55201c(_0x3553a8);},_0x1fed5f);}):_0x383aba||_0xa10d6b||_0x3050f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3ccd26(_0x148e41,_0x2f5394){return new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xafb7eb=>{if(_0x47ceb8())return _0xafb7eb(_0x3050f7([0x56,0x61,0x6c,0x69,0x64]));_0x21089a(),_0x29fbcf[_0x3050f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4dd01b=!0x1;const _0x40d570=_0x3e951a();function _0xf133de(_0x11812a){return!!_0x11812a&&(typeof _0x11812a===_0x3050f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x11812a===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x11812a[_0x3050f7([0x74,0x68,0x65,0x6e])]===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x11812a[_0x3050f7([0x63,0x61,0x74,0x63,0x68])]===_0x3050f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x39e962(_0x1bf13e){_0x6e39d3(_0x1bf13e)[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x529d3c=>{if(!_0x529d3c||_0x529d3c[_0x3050f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x3050f7([0x6f,0x6b]))return _0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x288ece(_0x305af7(_0x40d570+_0x2f5394))!=_0x529d3c[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x3050f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x12ec90=>(_0x45788c(),_0x12ec90),()=>{const _0x42502e=_0x490e7a();return null==_0x42502e?(_0x45788c(),_0x3050f7([0x56,0x61,0x6c,0x69,0x64])):_0x3050f7(_0x36a5e4-_0x42502e>(0x63ae0106^_0x33c9d9)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x3050f7([0x74,0x68,0x65,0x6e])](_0xafb7eb)[_0x3050f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x564de1=0x47946b86^_0x33c9d9;function _0x45788c(){const _0x2e1d6d=_0x3050f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x288ece(_0x305af7(_0x148e41)),_0x2fed96=_0x57a39e(_0x288ece(window[_0x3050f7([0x4d,0x61,0x74,0x68])][_0x3050f7([0x63,0x65,0x69,0x6c])](_0x36a5e4/_0x564de1)));window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3050f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e1d6d,_0x2fed96);}function _0x490e7a(){const _0x4d74d8=_0x3050f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x288ece(_0x305af7(_0x148e41)),_0x52183a=window[_0x3050f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x3050f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d74d8);return _0x52183a?window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x57a39e(_0x52183a),0x10)*_0x564de1:null;}function _0x6e39d3(_0x460153){return new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x57e80d,_0x145b23)=>{_0x460153[_0x3050f7([0x74,0x68,0x65,0x6e])](_0x57e80d,_0x145b23),window[_0x3050f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x145b23,0x47a351c6^_0x33c9d9);});}}_0x29fbcf[_0x3050f7([0x6f,0x6e])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x2644c2,_0x4593ac)=>{if(_0x4593ac[0x0]!=_0x148e41)return _0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x4593ac[0x1]={..._0x4593ac[0x1],[_0x3050f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x40d570};},{[_0x3050f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3050f7([0x68,0x69,0x67,0x68])}),_0x29fbcf[_0x3050f7([0x6f,0x6e])](_0x3050f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x4e9ac8=>{_0xf133de(_0x4e9ac8[_0x3050f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4dd01b=!0x0,_0x39e962(_0x4e9ac8[_0x3050f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x3050f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x3050f7([0x6c,0x6f,0x77])}),_0x4af7b6[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>{_0x4dd01b||_0xafb7eb(_0x3050f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x47ceb8(){return _0x29fbcf[_0x3050f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3050f7([0x76,0x69,0x65,0x77])][_0x3050f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x3050f7([0x61,0x75,0x74,0x6f]);}function _0x21089a(){_0x29fbcf[_0x3050f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x3050f7([0x76,0x69,0x65,0x77])][_0x3050f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x3050f7([0x61,0x75,0x74,0x6f]);}}function _0x30cdec(_0x50b0f7){const _0x44b869=[new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x435f2f=>setTimeout(_0x435f2f,0x47abbbca^_0x33c9d9)),_0x4af7b6[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x21823a=>{let _0x1fcc81=0x0;_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x6f,0x6e])](_0x3050f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a87fd,_0x2247f9)=>{_0x2247f9[0x0][_0x3050f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1fcc81++,_0x1fcc81==(0x47a284fe^_0x33c9d9)&&(_0x21823a(),_0x1a87fd[_0x3050f7([0x6f,0x66,0x66])]());});}))];return window[_0x3050f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x3050f7([0x72,0x61,0x63,0x65])](_0x44b869)[_0x3050f7([0x74,0x68,0x65,0x6e])](()=>_0x50b0f7);}async function _0x2a500f(){await _0x4af7b6,_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc61bc8,_0x29fbcf[_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x3050f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc61bc8,_0x29fbcf[_0x3050f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x3050f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45f432(_0x3f10da){const _0x1b2c50=_0x3b8261();_0x29fbcf[_0x1b2c50]=_0x3050f7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x3f10da,_0x3f10da!=_0x3050f7([0x56,0x61,0x6c,0x69,0x64])&&_0x2a500f();}function _0x3b8261(){const _0x58c242=window[_0x3050f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x3050f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x3050f7([0x6e,0x6f,0x77])]())[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x3050f7([0x2e]),'');let _0x12becb=_0x3050f7([0x75]);for(let _0x71c086=0x0;_0x71c086<_0x58c242[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x71c086+=0x2){let _0x1e6a54=window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x58c242[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x71c086,_0x71c086+0x2));_0x1e6a54>=_0x2ef532[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x1e6a54-=_0x2ef532[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x12becb+=_0x2ef532[_0x1e6a54];}return _0x12becb;}function _0x14bb91(){const _0x148ca1=_0x386713[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e]));if(0x3!=_0x148ca1[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x575784(_0x148ca1[0x1]);function _0x575784(_0x5c26c8){const _0x507756=_0x1de04c(_0x5c26c8);return _0x507756&&_0x1fa89a()?_0x507756:null;function _0x1fa89a(){const _0x43ac3c=_0x507756[_0x3050f7([0x6a,0x74,0x69])],_0x1d603d=window[_0x3050f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x43ac3c[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x43ac3c[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2b75d7={..._0x507756,[_0x3050f7([0x6a,0x74,0x69])]:_0x43ac3c[_0x3050f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x43ac3c[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2b75d7[_0x3050f7([0x76,0x63])],_0x305af7(_0x2b75d7)==_0x1d603d;}}}async function _0x2709df(){let _0x1538af=!0x0;try{const _0x1f4346=_0x386713[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])](_0x3050f7([0x2e])),[_0x5de188,_0x2546b5,_0x1553e8]=_0x1f4346;return _0x213d1f(_0x5de188),await _0xf1a5fa(_0x5de188,_0x2546b5,_0x1553e8),_0x1538af;}catch{return!0x1;}function _0x213d1f(_0x3338fe){const _0x1c13ca=_0x1de04c(_0x3338fe);_0x1c13ca&&_0x1c13ca[_0x3050f7([0x61,0x6c,0x67])]==_0x3050f7([0x45,0x53,0x32,0x35,0x36])||(_0x1538af=!0x1);}async function _0xf1a5fa(_0x135bd1,_0x5523cd,_0x6490df){const _0x44e39e=window[_0x3050f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x3050f7([0x66,0x72,0x6f,0x6d])](_0x3ac45e(_0x6490df),_0xae0d5d=>_0xae0d5d[_0x3050f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x42a364=new window[(_0x3050f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x3050f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x135bd1+_0x3050f7([0x2e])+_0x5523cd),_0x2251d8=window[_0x3050f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x3050f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2251d8)return;const _0x295e11=await _0x2251d8[_0x3050f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x3050f7([0x6a,0x77,0x6b]),_0x41c293,{[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x45,0x43,0x44,0x53,0x41]),[_0x3050f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x3050f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2251d8[_0x3050f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x45,0x43,0x44,0x53,0x41]),[_0x3050f7([0x68,0x61,0x73,0x68])]:{[_0x3050f7([0x6e,0x61,0x6d,0x65])]:_0x3050f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x295e11,_0x44e39e,_0x42a364)||(_0x1538af=!0x1);}}function _0x1de04c(_0x13a206){return _0x13a206[_0x3050f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x3050f7([0x65,0x79]))?JSON[_0x3050f7([0x70,0x61,0x72,0x73,0x65])](_0x3ac45e(_0x13a206)):null;}function _0x3ac45e(_0x1e690b){return window[_0x3050f7([0x61,0x74,0x6f,0x62])](_0x1e690b[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x3050f7([0x2b]))[_0x3050f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x3050f7([0x2f])));}function _0x305af7(_0x182d6a){let _0xb371f7=0x1505;function _0x450d23(_0xf93ad9){for(let _0x3d478b=0x0;_0x3d478b<_0xf93ad9[_0x3050f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3d478b++){const _0x434268=_0xf93ad9[_0x3050f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3d478b);_0xb371f7=(_0xb371f7<<0x5)+_0xb371f7+_0x434268,_0xb371f7&=_0xb371f7;}}function _0x268892(_0x302320){Array[_0x3050f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x302320)?_0x302320[_0x3050f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x268892):_0x302320&&typeof _0x302320==_0x3050f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x3050f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x302320)[_0x3050f7([0x73,0x6f,0x72,0x74])]()[_0x3050f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4bbe22,_0x46a743])=>{_0x450d23(_0x4bbe22),_0x268892(_0x46a743);}):_0x450d23(window[_0x3050f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x302320));}return _0x268892(_0x182d6a),_0xb371f7>>>0x0;}function _0x288ece(_0x5f1e1a){return _0x5f1e1a[_0x3050f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x3050f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x3050f7([0x30]));}function _0x57a39e(_0x15606b){return _0x15606b[_0x3050f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x3050f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x3050f7([0x6a,0x6f,0x69,0x6e])]('');}function _0xc61bc8(){}function _0x3050f7(_0x1e7788){return _0x1e7788['map'](_0x503d67=>String['fromCharCode'](_0x503d67))['join']('');}_0x45f432(await _0x4b0925());}(this);}['_moveSelectionToFootnoteDefinition'](_0x2f8b0d){const {plugins:_0x41624d,editing:_0x45cd9f,model:_0x418628}=this['editor'],_0x273d3a=_0x41624d['get'](_0x5eeef2)['getFootnote'](_0x2f8b0d);return!!_0x273d3a&&(_0x418628['change'](_0x221db4=>{_0x221db4['setSelection'](_0x221db4['createPositionAt'](_0x273d3a['definition'],'end'));}),_0x45cd9f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5e071d){const {plugins:_0x59df25,editing:_0x105ad9,model:_0x3ab01c}=this['editor'],_0x508a02=_0x59df25['get'](_0x5eeef2)['getFootnote'](_0x5e071d);return!!_0x508a02&&(_0x3ab01c['change'](_0xccff62=>{_0xccff62['setSelection'](_0x508a02['reference'],'on');}),_0x105ad9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x5777d4}=this['editor']['model'],_0xd2470e=this['editor']['config']['get']('footnotes.multiBlock');_0x5777d4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x5777d4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x5777d4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0xd2470e?_0x5777d4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x5777d4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x5777d4['addChildCheck'](_0x57a7d9=>{for(const _0x776f22 of _0x57a7d9)if('footnoteDefinition'===_0x776f22['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x41b8b5}=this,{conversion:_0x13ab94,editing:_0x176c60}=_0x41b8b5,{t:t}=_0x41b8b5['locale'];_0x13ab94['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x17ab96,{writer:_0x5ca308,consumable:_0x3851b0})=>{const _0x83ff43=_0x17ab96['getChild'](0x0);if(!_0x83ff43||!_0x83ff43['is']('element','a'))return null;const _0xa86243=_0x83ff43['getAttribute']('href')||'';if(!_0xa86243['startsWith']('#'))return null;const _0x2331f6=_0xa86243['replace'](/^#/,'');if(!_0x2331f6)return null;_0x3851b0['consume'](_0x83ff43,{'name':!0x0,'attributes':['href']});for(const {item:_0x2545c7}of _0x176c60['view']['createRangeIn'](_0x83ff43))_0x2545c7['is']('$textProxy')?_0x3851b0['consume'](_0x2545c7['textNode'],{'name':!0x0}):_0x2545c7['is']('element')&&_0x3851b0['consume'](_0x2545c7,{'name':!0x0});return _0x5ca308['createElement']('footnoteRef',{'footnoteId':_0x2331f6});}}),_0x13ab94['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x101da5,{writer:_0x5eeeea})=>D(_0x101da5,_0x5eeeea)}),_0x13ab94['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x12369d,{writer:_0x23ac9e})=>{const _0x3b2dbf=_0x12369d['getAttribute']('footnoteCounter');return _0x27e423(D(_0x12369d,_0x23ac9e),_0x23ac9e,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3b2dbf)});}});}['_defineDefinitionsConverters'](){const {editor:_0x11002c}=this,{t:t}=_0x11002c['locale'],{conversion:_0x4f7162}=_0x11002c;_0x4f7162['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x4f7162['for']('upcast')['add'](_0x169d60=>{_0x169d60['on']('element:ol',(_0x59c55c,_0x1593ca,_0x2a1ceb)=>{const _0x241fef=_0x1593ca['viewItem'];if(!_0x241fef['hasClass']('footnotes-list')||!_0x1593ca['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a1ceb['consumable']['consume'](_0x241fef,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x37bcab,modelCursor:_0x3c0495}=_0x2a1ceb['convertChildren'](_0x1593ca['viewItem'],_0x1593ca['modelCursor']);_0x1593ca['modelRange']=_0x37bcab,_0x1593ca['modelCursor']=_0x3c0495;}),_0x169d60['on']('element:hr',(_0xad0d12,_0x306a20,_0x51c983)=>{const _0x182d91=_0x306a20['viewItem'];_0x182d91['hasClass']('footnotes-divider')&&_0x306a20['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x51c983['consumable']['consume'](_0x182d91,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x4f7162['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x5df2ad,{writer:_0x2a5f1a})=>v(_0x2a5f1a)}),_0x4f7162['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x453ff0,{writer:_0x5a6dda})=>{const _0x1213b4=v(_0x5a6dda,{'data-footnotes-list-label':t('Footnotes')}),_0x199885=_0x27e423(_0x1213b4,_0x5a6dda,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5a6dda['setCustomProperty']('footnotesDefinitions',!0x0,_0x199885),_0x199885;}});}['_defineDefinitionConverters'](){const {editor:_0x2348de}=this,{conversion:_0x22f8cf,locale:_0x2af1bb}=_0x2348de,_0x48b83b=_0x2348de['config']['get']('footnotes.multiBlock');_0x22f8cf['for']('upcast')['add'](_0x1b34fb=>{_0x1b34fb['on']('element:li',(_0x201ed8,_0x3f4b3d,_0x1515ac)=>{const _0x464c50=_0x3f4b3d['viewItem'];if(!_0x464c50['hasClass']('footnote-definition')||!_0x464c50['getAttribute']('id'))return;const _0x21cb05=_0x464c50['parent'];if(!_0x21cb05['is']('element','ol')||!_0x21cb05['hasClass']('footnotes-list'))return;if(!_0x1515ac['consumable']['test'](_0x464c50,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x74349=_0x1515ac['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x464c50['getAttribute']('id')});if(!_0x1515ac['safeInsert'](_0x74349,_0x3f4b3d['modelCursor']))return;_0x1515ac['consumable']['consume'](_0x464c50,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x1a8060=Array['from'](_0x464c50['getChildren']())['find'](_0x4573fc=>_0x4573fc['is']('element')&&_0x4573fc['hasClass']('footnote-content'));for(const _0x54f150 of _0x464c50['getChildren']())_0x54f150['is']('element')&&(_0x1515ac['consumable']['consume'](_0x54f150,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1515ac['consumable']['consume'](_0x54f150,{'name':!0x0,'classes':'footnote-content'}));if(_0x1a8060){if(_0x48b83b)_0x1515ac['convertChildren'](_0x1a8060,_0x74349);else{const _0x590944=_0x1515ac['writer']['createElement']('footnoteInlineContent');_0x1515ac['writer']['insert'](_0x590944,_0x74349),_0x1515ac['convertChildren'](_0x1a8060,_0x590944);}}_0x1515ac['updateConversionResult'](_0x74349,_0x3f4b3d);});}),_0x22f8cf['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xea153b,{writer:_0xb07dce})=>b(_0xea153b,_0xb07dce,_0x2af1bb,{'dataPipeline':!0x0})}),_0x22f8cf['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xf041a3,{writer:_0x56ec3b})=>b(_0xf041a3,_0x56ec3b,_0x2af1bb)});}['_defineBogusParagraphConverters'](){const {editor:_0x10685e}=this,{conversion:_0x868d54}=_0x10685e;_0x10685e['config']['get']('footnotes.multiBlock')?(_0x868d54['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x868d54['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x10685e['model']['document'],'change:data',()=>{!function(_0x3af6c9,_0x4c153a){const _0x22840a=_0x3af6c9['document']['differ'],_0x517b6c=new Set();for(const _0x2057ed of _0x22840a['getChanges']()){const _0x2a15a9='attribute'==_0x2057ed['type']?_0x2057ed['range']['start']['parent']:_0x2057ed['position']['parent'];_0x2a15a9['is']('element','footnoteDefinition')&&_0x517b6c['add'](_0x2a15a9);}for(const _0x4924cf of _0x517b6c['values']()){const _0x5d0c5f=Array['from'](_0x4924cf['getChildren']())['filter'](_0x34f5c3=>g(_0x34f5c3,_0x4c153a['mapper']));for(const _0x20a896 of _0x5d0c5f)_0x4c153a['reconvertItem'](_0x20a896);}}(_0x10685e['model'],_0x10685e['editing']);})):(_0x868d54['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x868d54['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc4d39a,{writer:_0x2e678b})=>{const _0xbe81fd=_0x2e678b['createContainerElement']('span');return _0x2e678b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xbe81fd),_0xbe81fd;}}));}['_defineKeyboardHandlers'](){const {editor:_0x120a63}=this,{editing:_0xff55cf,t:t}=_0x120a63,_0x230f80=_0x120a63['model']['document']['selection'];_0x120a63['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x120a63['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xff55cf['view']['document'],'enter',(_0x2ff09f,_0x2f178c)=>{const _0x27bb4b=function(_0x354ed2){const _0x71d92f=_0x354ed2['getSelectedElement']();if(_0x71d92f?.['is']('element','footnoteRef'))return _0x71d92f;return null;}(_0x230f80);if(_0x27bb4b){const _0x534e6a=_0x27bb4b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x534e6a),_0x2f178c['preventDefault'](),_0x2ff09f['stop']();}},{'context':_0x16ebef});}['_defineClickHandlers'](){const {editor:_0x2b9512}=this,{editing:_0x2810ee}=_0x2b9512;_0x2b9512['editing']['view']['addObserver'](_0x446ffb),_0x2b9512['editing']['view']['addObserver'](_0x27cefd);let _0x56e410=!0x1;this['listenTo'](_0x2810ee['view']['document'],'pointerdown',(_0x5df140,_0x2d0999)=>{const {target:_0x53d9a6}=_0x2d0999,_0xefb3f7=_0x2810ee['view']['document']['selection'];_0x56e410=!!(_0x53d9a6?.['is']('element','a')&&_0x53d9a6['parent']?.['is']('element','sup')&&_0x53d9a6['parent']['hasClass']('footnote'))&&_0xefb3f7['getSelectedElement']()===_0x53d9a6['parent'];},{'priority':'high'}),this['listenTo'](_0x2810ee['view']['document'],'click',(_0xc7224a,_0x297833)=>{const {target:_0x39461a}=_0x297833;if(!_0x39461a?.['is']('element','a'))return;if(_0x39461a['parent']?.['is']('element','sup')&&_0x39461a['parent']['hasClass']('footnote')&&!_0x56e410)return void _0x297833['preventDefault']();let _0x422f71=_0x39461a['getAttribute']('href');if(!_0x422f71?.['startsWith']('#'))return;_0x422f71=_0x422f71['slice'](0x1);let _0x809d3e=!0x1;(_0x422f71['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x422f71['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x422f71))&&(_0x809d3e=!0x0),_0x809d3e&&(_0x297833['preventDefault'](),_0xc7224a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x52d03d}={}){return(_0x4ef2df,{writer:_0x58ae95})=>{if(!p(_0x4ef2df))return null;if(!_0x52d03d)return _0x58ae95['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x1ee2e1=_0x58ae95['createContainerElement']('p');return _0x58ae95['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1ee2e1),_0x1ee2e1;};}function p(_0x1302bb){const {parent:_0x5ea836}=_0x1302bb;if(!_0x5ea836?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5ea836['childCount'])return!0x1;for(const _0x26debb of _0x1302bb['getAttributeKeys']())if(!_0x26debb['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x26debb)return!0x1;return!0x0;}function g(_0x31fb0f,_0x1b7f31){if(!_0x31fb0f['is']('element','paragraph'))return!0x1;const _0xeb24f6=_0x1b7f31['toViewElement'](_0x31fb0f);return!!_0xeb24f6&&p(_0x31fb0f)!==_0xeb24f6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x7a960d){return _0x16ebef(_0x7a960d)&&_0x7a960d['is']('containerElement')&&!!_0x7a960d['getCustomProperty']('footnotesDefinitions');}function v(_0x8a7d55,_0x1522ee={}){const _0x598baf=_0x8a7d55['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xacfca1=_0x8a7d55['createContainerElement']('ol',{'class':'footnotes-list'},_0x8a7d55['createSlot']());return _0x8a7d55['createContainerElement']('div',{'class':'footnotes',..._0x1522ee},[_0x598baf,_0xacfca1]);}function D(_0x51f6eb,_0x2540fa){const _0x3abda2=_0x51f6eb['getAttribute']('footnoteId'),_0x3f615e=_0x51f6eb['getAttribute']('footnoteCounter'),_0x451416=_0x2540fa['createUIElement']('a',{'href':'#'+_0x3abda2},function(_0x3a99b5){const _0x47c975=this['toDomElement'](_0x3a99b5);return _0x47c975['textContent']=_0x3f615e,_0x47c975;}),_0x4a953b=_0x2540fa['createContainerElement']('sup',{'id':'ref-'+_0x3abda2,'class':'footnote'},[_0x451416]);return _0x4a953b['getFillerOffset']=()=>null,_0x4a953b;}function b(_0x10af6f,_0x34e67f,_0xe568b4,{dataPipeline:_0x313f0f}={}){const {t:t}=_0xe568b4,_0x1d712c=_0x10af6f['getAttribute']('footnoteId'),_0x365d63=_0x34e67f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1d712c},function(_0x424866){const _0x1d0ba5=this['toDomElement'](_0x424866);return _0x1d0ba5['innerText']='^',_0x1d0ba5;}),_0x3253cc=_0x313f0f?_0x34e67f['createContainerElement']('div',{'class':'footnote-content'}):_0x5ba5a1(_0x34e67f['createEditableElement']('div',{'class':'footnote-content'}),_0x34e67f,{'label':t('Footnote\x20content.')});return _0x34e67f['insert'](_0x34e67f['createPositionAt'](_0x3253cc,0x0),_0x34e67f['createSlot']()),_0x34e67f['createContainerElement']('li',{'class':'footnote-definition','id':_0x1d712c},[_0x365d63,_0x3253cc]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e1cfd=_0x56d8;function _0x2783(){const _0x9463fd=['162995YGKTGT','3384Nvckrj','value','plugins','footnotesListStart','get','20SijPWn','12KqitTq','isInteger','1413313nttdca','260252Rdabky','1542249mTIKRr','isEnabled','_updateFootnotesCounters','10oPzEHt','707bMdnVE','240486xUiifP','execute','change','model','338064jrjGyc','3YQmMEr','getFootnotesDefinitionsObjectElement','refresh','getAttribute','setAttribute'];_0x2783=function(){return _0x9463fd;};return _0x2783();}(function(_0x33ba3e,_0x5409a1){const _0x559c2a=_0x56d8,_0x379ff2=_0x33ba3e();while(!![]){try{const _0xdf8c0c=parseInt(_0x559c2a(0x92))/0x1+parseInt(_0x559c2a(0x88))/0x2*(-parseInt(_0x559c2a(0x79))/0x3)+-parseInt(_0x559c2a(0x84))/0x4*(parseInt(_0x559c2a(0x7e))/0x5)+parseInt(_0x559c2a(0x8e))/0x6+-parseInt(_0x559c2a(0x8d))/0x7*(-parseInt(_0x559c2a(0x7f))/0x8)+parseInt(_0x559c2a(0x89))/0x9*(parseInt(_0x559c2a(0x8c))/0xa)+-parseInt(_0x559c2a(0x87))/0xb*(parseInt(_0x559c2a(0x85))/0xc);if(_0xdf8c0c===_0x5409a1)break;else _0x379ff2['push'](_0x379ff2['shift']());}catch(_0x179f7d){_0x379ff2['push'](_0x379ff2['shift']());}}}(_0x2783,0x29a81));import{Command as _0x13b8ae}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1c6d45}from'../../footnotestracker.js';function _0x56d8(_0x286b92,_0x17c026){const _0x278347=_0x2783();return _0x56d8=function(_0x56d8ce,_0x182642){_0x56d8ce=_0x56d8ce-0x79;let _0x35ee73=_0x278347[_0x56d8ce];return _0x35ee73;},_0x56d8(_0x286b92,_0x17c026);}export class FootnotesStartCommand extends _0x13b8ae{[_0x4e1cfd(0x7b)](){const _0xfcc3cc=_0x4e1cfd,{editor:_0x3cc019}=this,_0x5742bb=_0x3cc019[_0xfcc3cc(0x81)][_0xfcc3cc(0x83)](_0x1c6d45)[_0xfcc3cc(0x7a)]();this[_0xfcc3cc(0x8a)]=!!_0x5742bb,this[_0xfcc3cc(0x80)]=_0x5742bb?.[_0xfcc3cc(0x7c)](_0xfcc3cc(0x82))??null;}[_0x4e1cfd(0x8f)]({value:_0x49f5b1}){const _0x3817d3=_0x4e1cfd,{editor:_0x14e79a}=this,_0x14e716=_0x14e79a[_0x3817d3(0x81)][_0x3817d3(0x83)](_0x1c6d45),_0x539fc8=_0x14e716[_0x3817d3(0x7a)]();_0x539fc8&&Number[_0x3817d3(0x86)](_0x49f5b1)&&_0x14e79a[_0x3817d3(0x91)][_0x3817d3(0x90)](_0x6f1df5=>{const _0x5e5f31=_0x3817d3;_0x6f1df5[_0x5e5f31(0x7d)](_0x5e5f31(0x82),_0x49f5b1,_0x539fc8),_0x14e716[_0x5e5f31(0x8b)](_0x6f1df5);});}}
23
+ function _0x2f37(_0x5dde34,_0x59dcd8){const _0x2d3587=_0x2d35();return _0x2f37=function(_0x2f3701,_0x2bcaa4){_0x2f3701=_0x2f3701-0x155;let _0x49bbdb=_0x2d3587[_0x2f3701];return _0x49bbdb;},_0x2f37(_0x5dde34,_0x59dcd8);}const _0x2a054e=_0x2f37;(function(_0x54db49,_0x408c8d){const _0xc4e34c=_0x2f37,_0x4466ea=_0x54db49();while(!![]){try{const _0x468f47=-parseInt(_0xc4e34c(0x162))/0x1*(-parseInt(_0xc4e34c(0x160))/0x2)+-parseInt(_0xc4e34c(0x15f))/0x3+parseInt(_0xc4e34c(0x16b))/0x4+-parseInt(_0xc4e34c(0x155))/0x5+parseInt(_0xc4e34c(0x164))/0x6+-parseInt(_0xc4e34c(0x165))/0x7*(-parseInt(_0xc4e34c(0x157))/0x8)+parseInt(_0xc4e34c(0x15b))/0x9*(-parseInt(_0xc4e34c(0x168))/0xa);if(_0x468f47===_0x408c8d)break;else _0x4466ea['push'](_0x4466ea['shift']());}catch(_0x59dd18){_0x4466ea['push'](_0x4466ea['shift']());}}}(_0x2d35,0x93402));import{Command as _0x425b90}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x15b6d0}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x425b90{[_0x2a054e(0x15a)](){const _0x38872c=_0x2a054e,{editor:_0x4222ee}=this,_0x913f3c=_0x4222ee[_0x38872c(0x169)][_0x38872c(0x159)](_0x15b6d0)[_0x38872c(0x161)]();this[_0x38872c(0x15c)]=!!_0x913f3c,this[_0x38872c(0x156)]=_0x913f3c?.[_0x38872c(0x167)](_0x38872c(0x15d))??null;}[_0x2a054e(0x158)]({value:_0x1cbec4}){const _0x57196e=_0x2a054e,{editor:_0x113218}=this,_0x4b8103=_0x113218[_0x57196e(0x169)][_0x57196e(0x159)](_0x15b6d0),_0x5cc5fe=_0x4b8103[_0x57196e(0x161)]();_0x5cc5fe&&Number[_0x57196e(0x16c)](_0x1cbec4)&&_0x113218[_0x57196e(0x15e)][_0x57196e(0x166)](_0x5258c7=>{const _0x5cc745=_0x57196e;_0x5258c7[_0x5cc745(0x16a)](_0x5cc745(0x15d),_0x1cbec4,_0x5cc5fe),_0x4b8103[_0x5cc745(0x163)](_0x5258c7);});}}function _0x2d35(){const _0x3c6d70=['setAttribute','2269852WdQhiC','isInteger','1849560ElfRVQ','value','24XQebWK','execute','get','refresh','7662123hYMfuR','isEnabled','footnotesListStart','model','1377234hSlKhs','310vrgaVJ','getFootnotesDefinitionsObjectElement','2794iKGDVZ','_updateFootnotesCounters','1572342vTdyxe','2382065TEQEEJ','change','getAttribute','10uuetrE','plugins'];_0x2d35=function(){return _0x3c6d70;};return _0x2d35();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c5680=_0x13cf;(function(_0x3f19f9,_0x278ba){const _0x3f6c0e=_0x13cf,_0x5bfefe=_0x3f19f9();while(!![]){try{const _0x471431=-parseInt(_0x3f6c0e(0x17c))/0x1*(-parseInt(_0x3f6c0e(0x16b))/0x2)+-parseInt(_0x3f6c0e(0x179))/0x3*(-parseInt(_0x3f6c0e(0x16c))/0x4)+-parseInt(_0x3f6c0e(0x176))/0x5+-parseInt(_0x3f6c0e(0x174))/0x6*(-parseInt(_0x3f6c0e(0x17b))/0x7)+parseInt(_0x3f6c0e(0x16a))/0x8+-parseInt(_0x3f6c0e(0x180))/0x9*(-parseInt(_0x3f6c0e(0x17d))/0xa)+parseInt(_0x3f6c0e(0x17f))/0xb*(-parseInt(_0x3f6c0e(0x175))/0xc);if(_0x471431===_0x278ba)break;else _0x5bfefe['push'](_0x5bfefe['shift']());}catch(_0x29cbc8){_0x5bfefe['push'](_0x5bfefe['shift']());}}}(_0x4595,0xf151d));function _0x13cf(_0xca1f8,_0x56ac79){const _0x459502=_0x4595();return _0x13cf=function(_0x13cf81,_0x441c10){_0x13cf81=_0x13cf81-0x16a;let _0x4e19ae=_0x459502[_0x13cf81];return _0x4e19ae;},_0x13cf(_0xca1f8,_0x56ac79);}function _0x4595(){const _0x2d2518=['911410dfPIiC','includes','539aszURr','117QgvNTH','refresh','isEnabled','change','10002632DXKQyA','19714JFSnCq','68212AaDBCh','get','model','_updateFootnotesCounters','plugins','footnotesListStyle','setAttribute','getAttribute','665766JZfPcG','894528NdXMNR','1968965KRYobz','execute','value','267SSmHSU','getFootnotesDefinitionsObjectElement','21PSQgMB','76BnQRnq'];_0x4595=function(){return _0x2d2518;};return _0x4595();}import{Command as _0x582a16}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x73d664}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x3b7526}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x582a16{[_0x2c5680(0x181)](){const _0x22849c=_0x2c5680,{editor:_0x3dbe8f}=this,_0x2dbba4=_0x3dbe8f[_0x22849c(0x170)][_0x22849c(0x16d)](_0x3b7526)[_0x22849c(0x17a)]();this[_0x22849c(0x182)]=!!_0x2dbba4,this[_0x22849c(0x178)]=_0x2dbba4?.[_0x22849c(0x173)](_0x22849c(0x171))??null;}[_0x2c5680(0x177)]({value:_0x590b9a}){const _0x4f6b34=_0x2c5680,{editor:_0x1fb5eb}=this,_0x800146=_0x1fb5eb[_0x4f6b34(0x170)][_0x4f6b34(0x16d)](_0x3b7526),_0x30eb8a=_0x800146[_0x4f6b34(0x17a)]();_0x30eb8a&&_0x73d664[_0x4f6b34(0x17e)](_0x590b9a)&&_0x1fb5eb[_0x4f6b34(0x16e)][_0x4f6b34(0x183)](_0x4a6db3=>{const _0xa3e8c3=_0x4f6b34;_0x4a6db3[_0xa3e8c3(0x172)](_0xa3e8c3(0x171),_0x590b9a,_0x30eb8a),_0x800146[_0xa3e8c3(0x16f)](_0x4a6db3);});}}
23
+ const _0x4759ba=_0xe0ea;(function(_0x169fab,_0x5e63fb){const _0x37cb1c=_0xe0ea,_0x1ec224=_0x169fab();while(!![]){try{const _0x41581a=-parseInt(_0x37cb1c(0x163))/0x1+-parseInt(_0x37cb1c(0x156))/0x2*(-parseInt(_0x37cb1c(0x158))/0x3)+-parseInt(_0x37cb1c(0x150))/0x4+parseInt(_0x37cb1c(0x15d))/0x5+parseInt(_0x37cb1c(0x15c))/0x6+parseInt(_0x37cb1c(0x159))/0x7+-parseInt(_0x37cb1c(0x151))/0x8;if(_0x41581a===_0x5e63fb)break;else _0x1ec224['push'](_0x1ec224['shift']());}catch(_0x3307f1){_0x1ec224['push'](_0x1ec224['shift']());}}}(_0x2c03,0x86292));function _0x2c03(){const _0x5cc0a6=['get','footnotesListStyle','1836904yZBBRw','8809568eJFZQh','getAttribute','value','setAttribute','change','7346pSQTzt','plugins','750uUdTiD','6762308rViOdU','includes','execute','3076020GEGCtR','415355gvDLPD','getFootnotesDefinitionsObjectElement','model','isEnabled','_updateFootnotesCounters','refresh','370091BCEhMg'];_0x2c03=function(){return _0x5cc0a6;};return _0x2c03();}function _0xe0ea(_0x5c6d8d,_0x455ae9){const _0x2c03fe=_0x2c03();return _0xe0ea=function(_0xe0eab,_0x3225ea){_0xe0eab=_0xe0eab-0x14f;let _0x505d9c=_0x2c03fe[_0xe0eab];return _0x505d9c;},_0xe0ea(_0x5c6d8d,_0x455ae9);}import{Command as _0x43303f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x49fda5}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x4510a9}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x43303f{[_0x4759ba(0x162)](){const _0x5f37fb=_0x4759ba,{editor:_0x12e3d8}=this,_0x5b51be=_0x12e3d8[_0x5f37fb(0x157)][_0x5f37fb(0x164)](_0x4510a9)[_0x5f37fb(0x15e)]();this[_0x5f37fb(0x160)]=!!_0x5b51be,this[_0x5f37fb(0x153)]=_0x5b51be?.[_0x5f37fb(0x152)](_0x5f37fb(0x14f))??null;}[_0x4759ba(0x15b)]({value:_0x56c5e0}){const _0x372e07=_0x4759ba,{editor:_0x4cf0ed}=this,_0x2c97b7=_0x4cf0ed[_0x372e07(0x157)][_0x372e07(0x164)](_0x4510a9),_0x55cd41=_0x2c97b7[_0x372e07(0x15e)]();_0x55cd41&&_0x49fda5[_0x372e07(0x15a)](_0x56c5e0)&&_0x4cf0ed[_0x372e07(0x15f)][_0x372e07(0x155)](_0x111ee0=>{const _0x421cf2=_0x372e07;_0x111ee0[_0x421cf2(0x154)](_0x421cf2(0x14f),_0x56c5e0,_0x55cd41),_0x2c97b7[_0x421cf2(0x161)](_0x111ee0);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3c08(_0x5748cd,_0x5c54a5){const _0x5dcc57=_0x5dcc();return _0x3c08=function(_0x3c0836,_0x1f632f){_0x3c0836=_0x3c0836-0x71;let _0x339119=_0x5dcc57[_0x3c0836];return _0x339119;},_0x3c08(_0x5748cd,_0x5c54a5);}const _0x302d6e=_0x3c08;function _0x5dcc(){const _0x193282=['426000eMTthA','lower-alpha','decimal','upper-latin','1830zjgYHs','2EhXqlY','2331666erUFhY','4912IbFfPd','upper-roman','2494917utpPDR','lower-roman','515842mzuYTd','32752DwWcyz','10RxFAgp','upper-alpha','decimal-leading-zero','lower-latin','5908155ANigfQ','77XYAwvw'];_0x5dcc=function(){return _0x193282;};return _0x5dcc();}(function(_0x1faebc,_0x51a51b){const _0x5e1a51=_0x3c08,_0x485082=_0x1faebc();while(!![]){try{const _0xfd9be9=parseInt(_0x5e1a51(0x77))/0x1*(-parseInt(_0x5e1a51(0x7d))/0x2)+-parseInt(_0x5e1a51(0x72))/0x3+-parseInt(_0x5e1a51(0x79))/0x4*(-parseInt(_0x5e1a51(0x76))/0x5)+-parseInt(_0x5e1a51(0x78))/0x6+parseInt(_0x5e1a51(0x71))/0x7*(parseInt(_0x5e1a51(0x7e))/0x8)+parseInt(_0x5e1a51(0x7b))/0x9*(parseInt(_0x5e1a51(0x7f))/0xa)+parseInt(_0x5e1a51(0x83))/0xb;if(_0xfd9be9===_0x51a51b)break;else _0x485082['push'](_0x485082['shift']());}catch(_0x2158d4){_0x485082['push'](_0x485082['shift']());}}}(_0x5dcc,0x400cb));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x302d6e(0x74),_0x302d6e(0x81),_0x302d6e(0x82),_0x302d6e(0x75),_0x302d6e(0x73),_0x302d6e(0x80),_0x302d6e(0x7c),_0x302d6e(0x7a)];
23
+ function _0x4aae(){const _0x279abe=['upper-roman','2369910lqjihj','lower-alpha','decimal','5416930eHHpTG','172506rSGNWu','11766KMTdGH','31tzulEl','upper-latin','lower-latin','21dNNLkz','lower-roman','525536DjYmfv','740588xNqxor','6cCesMG','4284486lwkBwX','decimal-leading-zero','upper-alpha'];_0x4aae=function(){return _0x279abe;};return _0x4aae();}const _0xf645b5=_0x549a;function _0x549a(_0x500746,_0x149c50){const _0x4aae07=_0x4aae();return _0x549a=function(_0x549a98,_0x395308){_0x549a98=_0x549a98-0x14e;let _0x262dba=_0x4aae07[_0x549a98];return _0x262dba;},_0x549a(_0x500746,_0x149c50);}(function(_0x369b1f,_0x598ab0){const _0x108689=_0x549a,_0x332a20=_0x369b1f();while(!![]){try{const _0x5cd655=parseInt(_0x108689(0x153))/0x1*(parseInt(_0x108689(0x152))/0x2)+-parseInt(_0x108689(0x15a))/0x3*(parseInt(_0x108689(0x159))/0x4)+-parseInt(_0x108689(0x15f))/0x5+parseInt(_0x108689(0x151))/0x6*(-parseInt(_0x108689(0x156))/0x7)+parseInt(_0x108689(0x158))/0x8+parseInt(_0x108689(0x15b))/0x9+parseInt(_0x108689(0x150))/0xa;if(_0x5cd655===_0x598ab0)break;else _0x332a20['push'](_0x332a20['shift']());}catch(_0x44cce2){_0x332a20['push'](_0x332a20['shift']());}}}(_0x4aae,0x51db3));export const FOOTNOTES_DEFINITIONS_STYLES=[_0xf645b5(0x14f),_0xf645b5(0x15c),_0xf645b5(0x155),_0xf645b5(0x154),_0xf645b5(0x14e),_0xf645b5(0x15d),_0xf645b5(0x157),_0xf645b5(0x15e)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x519626=_0x11a0;(function(_0x451b7f,_0x535446){const _0x58c02a=_0x11a0,_0x43a522=_0x451b7f();while(!![]){try{const _0x13f782=-parseInt(_0x58c02a(0x11a))/0x1*(parseInt(_0x58c02a(0x10f))/0x2)+-parseInt(_0x58c02a(0x14a))/0x3+parseInt(_0x58c02a(0x155))/0x4+-parseInt(_0x58c02a(0x127))/0x5*(-parseInt(_0x58c02a(0x128))/0x6)+-parseInt(_0x58c02a(0x13f))/0x7+-parseInt(_0x58c02a(0x15a))/0x8+-parseInt(_0x58c02a(0x15f))/0x9*(-parseInt(_0x58c02a(0x10a))/0xa);if(_0x13f782===_0x535446)break;else _0x43a522['push'](_0x43a522['shift']());}catch(_0x1820b5){_0x43a522['push'](_0x43a522['shift']());}}}(_0x55f9,0x58e1a));import{Plugin as _0x12cc8d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x1c06eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x6e5fa1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x593fc1}from'../footnotestracker.js';import{FootnotesEditing as _0x4cf9b8}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x12cc8d{static get[_0x519626(0x122)](){const _0x29841a=_0x519626;return _0x29841a(0x107);}static get[_0x519626(0x13c)](){return[_0x4cf9b8,_0x593fc1];}static get[_0x519626(0x101)](){return!0x0;}static get[_0x519626(0x153)](){return!0x0;}[_0x519626(0x116)](){const _0x117c9f=_0x519626,{editor:_0x147221}=this;_0x147221[_0x117c9f(0x15e)][_0x117c9f(0x14c)](_0x117c9f(0x133),_0x117c9f(0x125)),_0x147221[_0x117c9f(0x15e)][_0x117c9f(0x14c)](_0x117c9f(0x157),0x1),_0x147221[_0x117c9f(0x106)][_0x117c9f(0x129)](_0x117c9f(0x102),new _0x1c06eb(_0x147221)),_0x147221[_0x117c9f(0x106)][_0x117c9f(0x129)](_0x117c9f(0x105),new _0x6e5fa1(_0x147221)),this[_0x117c9f(0x11f)](),this[_0x117c9f(0x111)](),this[_0x117c9f(0x126)](),this[_0x117c9f(0x15d)]();}[_0x519626(0x11f)](){const _0x35476a=_0x519626,{editor:_0x54a734}=this,{schema:_0x4e0dbe}=_0x54a734[_0x35476a(0x14b)];_0x4e0dbe[_0x35476a(0x135)](_0x35476a(0x139),{'allowAttributes':[_0x35476a(0x118),_0x35476a(0x161)]});}[_0x519626(0x111)](){const _0x25ce1f=_0x519626,{editor:_0x341c28}=this,{conversion:_0x3ef042,model:_0x4aa820}=_0x341c28,{schema:_0x343156}=_0x4aa820;_0x3ef042[_0x25ce1f(0x121)](_0x25ce1f(0x14e))[_0x25ce1f(0x129)](_0x5de1de=>{const _0x1d9135=_0x25ce1f;_0x5de1de['on'](_0x1d9135(0x10b),(_0x1d6fc3,_0x2e23e9,_0x485659)=>{const _0xdcfe8f=_0x1d9135,_0x973390=_0x2e23e9[_0xdcfe8f(0x104)],_0xd72070=_0x2e23e9[_0xdcfe8f(0x137)]?.[_0xdcfe8f(0x108)];_0x973390[_0xdcfe8f(0x110)](_0xdcfe8f(0x103))&&_0xd72070?.['is'](_0xdcfe8f(0x112),_0xdcfe8f(0x139))&&(function(_0x102c28,_0x44210d,_0x485f79,_0x2e3cfe){const _0x171397=_0xdcfe8f;if(!_0x2e3cfe[_0x171397(0x117)](_0x44210d,_0x171397(0x161)))return;let _0x263973=0x1;const _0x540e6d=_0x485f79[_0x171397(0x114)][_0x171397(0x164)](_0x102c28,{'attributes':_0x171397(0x13e)});if(_0x540e6d){const _0x35743c=Number[_0x171397(0x141)](_0x102c28[_0x171397(0x140)](_0x171397(0x13e)),0xa);Number[_0x171397(0x109)](_0x35743c)||(_0x263973=_0x35743c);}!_0x540e6d&&_0x44210d[_0x171397(0x115)](_0x171397(0x161))||_0x485f79[_0x171397(0x11d)][_0x171397(0x10e)](_0x171397(0x161),_0x263973,_0x44210d);}(_0x973390,_0xd72070,_0x485659,_0x343156),function(_0x1ad10d,_0xfb52d5,_0x1b6a81,_0x198e80){const _0x537fe6=_0xdcfe8f;if(!_0x198e80[_0x537fe6(0x117)](_0xfb52d5,_0x537fe6(0x118)))return;let _0x50e570=_0x537fe6(0x125),_0xaf85cb=!0x1;if(_0x1b6a81[_0x537fe6(0x114)][_0x537fe6(0x164)](_0x1ad10d,{'attributes':_0x537fe6(0x12d)})){const _0x21e280={0x1:_0x537fe6(0x125),'a':_0x537fe6(0x158),'A':_0x537fe6(0x150),'i':_0x537fe6(0x136),'I':_0x537fe6(0x162)}[_0x1ad10d[_0x537fe6(0x140)](_0x537fe6(0x12d))];_0x21e280&&(_0x50e570=_0x21e280),_0xaf85cb=!0x0;}_0x1b6a81[_0x537fe6(0x114)][_0x537fe6(0x164)](_0x1ad10d,{'styles':_0x537fe6(0x14d)})&&(_0x50e570=_0x1ad10d[_0x537fe6(0x11e)](_0x537fe6(0x14d)),_0xaf85cb=!0x0),!_0xaf85cb&&_0xfb52d5[_0x537fe6(0x115)](_0x537fe6(0x118))||_0x1b6a81[_0x537fe6(0x11d)][_0x537fe6(0x10e)](_0x537fe6(0x118),_0x50e570,_0xfb52d5);}(_0x973390,_0xd72070,_0x485659,_0x343156));});}),_0x3ef042[_0x25ce1f(0x121)](_0x25ce1f(0x132))[_0x25ce1f(0x129)](_0x4a82c2=>{const _0x4671ce=_0x25ce1f;_0x4a82c2['on'](_0x4671ce(0x12f),(_0x171365,_0x1c4b53,_0x4c5e15)=>{const _0x2e2d8e=_0x4671ce;if(!_0x4c5e15[_0x2e2d8e(0x114)][_0x2e2d8e(0x164)](_0x1c4b53[_0x2e2d8e(0x119)],_0x171365[_0x2e2d8e(0x10d)]))return;const _0x2022a5=M(_0x1c4b53[_0x2e2d8e(0x119)],_0x4c5e15[_0x2e2d8e(0x151)]),{attributeNewValue:_0x1e3cb7}=_0x1c4b53;null==_0x1e3cb7||0x1===_0x1e3cb7?_0x4c5e15[_0x2e2d8e(0x11d)][_0x2e2d8e(0x147)](_0x2e2d8e(0x13e),_0x2022a5):_0x4c5e15[_0x2e2d8e(0x11d)][_0x2e2d8e(0x10e)](_0x2e2d8e(0x13e),String(_0x1e3cb7),_0x2022a5);}),_0x4a82c2['on'](_0x4671ce(0x10c),(_0x1ab1fa,_0x1e47a2,_0x2fa8c2)=>{const _0x2f82e0=_0x4671ce;if(!_0x2fa8c2[_0x2f82e0(0x114)][_0x2f82e0(0x164)](_0x1e47a2[_0x2f82e0(0x119)],_0x1ab1fa[_0x2f82e0(0x10d)]))return;const _0x13e645=M(_0x1e47a2[_0x2f82e0(0x119)],_0x2fa8c2[_0x2f82e0(0x151)]),{attributeNewValue:_0x291f4d}=_0x1e47a2;_0x291f4d&&_0x2f82e0(0x125)!==_0x291f4d?_0x2fa8c2[_0x2f82e0(0x11d)][_0x2f82e0(0x144)](_0x2f82e0(0x14d),_0x291f4d,_0x13e645):_0x2fa8c2[_0x2f82e0(0x11d)][_0x2f82e0(0x120)](_0x2f82e0(0x14d),_0x13e645);});});}[_0x519626(0x15d)](){const _0x1feb1b=_0x519626,{editor:_0x524969}=this,{model:_0x2b4339}=_0x524969,_0x2a1e60=_0x524969[_0x1feb1b(0x12e)][_0x1feb1b(0x148)](_0x593fc1),_0x284497=this[_0x1feb1b(0x13d)](),_0x50defe=this[_0x1feb1b(0x159)]();_0x2b4339[_0x1feb1b(0x11b)][_0x1feb1b(0x12b)](_0x113336=>{const _0x35efee=_0x1feb1b,_0x53db5a=_0x2b4339[_0x35efee(0x11b)][_0x35efee(0x130)][_0x35efee(0x154)]();let _0x2e3068=!0x1;for(const _0x290294 of _0x53db5a){if(_0x35efee(0x145)!==_0x290294[_0x35efee(0x12d)]||_0x35efee(0x146)===_0x290294[_0x35efee(0x10d)])continue;const _0x4d1532=_0x2b4339[_0x35efee(0x124)](_0x290294[_0x35efee(0x12c)][_0x35efee(0x134)]);for(const _0x124dcc of _0x4d1532[_0x35efee(0x142)]())_0x124dcc['is'](_0x35efee(0x112),_0x35efee(0x139))&&(!_0x124dcc[_0x35efee(0x115)](_0x35efee(0x161))&&_0x2b4339[_0x35efee(0x138)][_0x35efee(0x117)](_0x124dcc,_0x35efee(0x161))&&(_0x113336[_0x35efee(0x10e)](_0x35efee(0x161),_0x50defe,_0x124dcc),_0x2e3068=!0x0),!_0x124dcc[_0x35efee(0x115)](_0x35efee(0x118))&&_0x2b4339[_0x35efee(0x138)][_0x35efee(0x117)](_0x124dcc,_0x35efee(0x118))&&(_0x113336[_0x35efee(0x10e)](_0x35efee(0x118),_0x284497,_0x124dcc),_0x2e3068=!0x0));}return _0x2e3068&&_0x2a1e60[_0x35efee(0x143)](_0x113336),_0x2e3068;});}[_0x519626(0x126)](){const _0x108d04=_0x519626,{editor:_0x28fde1}=this;_0x28fde1[_0x108d04(0x12e)][_0x108d04(0x148)](_0x593fc1)[_0x108d04(0x12a)](_0x4a748a=>this[_0x108d04(0x165)](_0x4a748a));}[_0x519626(0x13d)](){const _0xd4d348=_0x519626;return this[_0xd4d348(0x149)][_0xd4d348(0x15e)][_0xd4d348(0x148)](_0xd4d348(0x133));}[_0x519626(0x159)](){const _0x2474c9=_0x519626;return this[_0x2474c9(0x149)][_0x2474c9(0x15e)][_0x2474c9(0x148)](_0x2474c9(0x157));}[_0x519626(0x165)]({container:_0x167fa5,value:_0x5c7281,digits:_0x8381a1}){const _0x124012=_0x519626,_0x46118a=_0x167fa5[_0x124012(0x140)](_0x124012(0x118)),_0x4adda6=_0x167fa5[_0x124012(0x140)](_0x124012(0x161)),_0x383896=Math[_0x124012(0x152)](_0x5c7281)+(_0x4adda6??0x1)-0x1;switch(_0x46118a){case _0x124012(0x15c):return function(_0x45dba0,_0x369e81){const _0x3dd6dc=_0x124012;return String(_0x45dba0)[_0x3dd6dc(0x11c)](_0x369e81,'0');}(_0x383896,Math[_0x124012(0x13a)](0x2,_0x8381a1));case _0x124012(0x158):case _0x124012(0x123):return N(_0x383896,!0x1);case _0x124012(0x150):case _0x124012(0x156):return N(_0x383896,!0x0);case _0x124012(0x136):return X(_0x383896,!0x1);case _0x124012(0x162):return X(_0x383896,!0x0);default:return String(_0x383896);}}}function M(_0x2c96b6,_0x3c24a9){const _0x293904=_0x519626,_0xd6c3be=_0x3c24a9[_0x293904(0x160)](_0x2c96b6);return Array[_0x293904(0x113)](_0xd6c3be[_0x293904(0x13b)]())[_0x293904(0x14f)](_0x9d4cce=>_0x9d4cce['is'](_0x293904(0x112),'ol')&&_0x9d4cce[_0x293904(0x110)](_0x293904(0x103)));}function N(_0x118400,_0xc5f5f){const _0x15bb92=_0x519626;let _0x29a416='',_0x598eb4=_0x118400;for(;_0x598eb4>0x0;){const _0x24bc0d=(_0x598eb4-0x1)%0x1a;_0x29a416=String[_0x15bb92(0x15b)](0x61+_0x24bc0d)+_0x29a416,_0x598eb4=Math[_0x15bb92(0x152)]((_0x598eb4-0x1)/0x1a);}return _0xc5f5f?_0x29a416[_0x15bb92(0x163)]():_0x29a416;}function _0x11a0(_0x1f4f21,_0xad7d6e){const _0x55f99a=_0x55f9();return _0x11a0=function(_0x11a090,_0x35b98a){_0x11a090=_0x11a090-0x101;let _0x451297=_0x55f99a[_0x11a090];return _0x451297;},_0x11a0(_0x1f4f21,_0xad7d6e);}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(_0x3d09f0,_0x50e988){const _0x1ddccb=_0x519626;let _0x1a54cc='',_0x51292e=_0x3d09f0;for(const {value:_0xd3243d,numeral:_0x3d83d6}of V)for(;_0x51292e>=_0xd3243d;)_0x1a54cc+=_0x3d83d6,_0x51292e-=_0xd3243d;return _0x50e988?_0x1a54cc:_0x1a54cc[_0x1ddccb(0x131)]();}function _0x55f9(){const _0xf1401a=['FootnotesPropertiesEditing','parent','isNaN','90SOYHgW','element:ol','attribute:footnotesListStyle:footnotesDefinitions','name','setAttribute','136iTEsxz','hasClass','_defineConverters','element','from','consumable','hasAttribute','init','checkAttribute','footnotesListStyle','item','7283QFegtJ','document','padStart','writer','getStyle','_defineSchema','removeStyle','for','pluginName','lower-latin','createRangeOn','decimal','_defineFormatter','5fHcnGz','38322OtHpOm','add','setFootnoteFormatter','registerPostFixer','position','type','plugins','attribute:footnotesListStart:footnotesDefinitions','differ','toLowerCase','downcast','footnotes.footnotesProperties.defaultListStyle','nodeAfter','extend','lower-roman','modelCursor','schema','footnotesDefinitions','max','getChildren','requires','_getDefaultListStyle','start','4442781BBYPEQ','getAttribute','parseInt','getItems','_updateFootnotesCounters','setStyle','insert','$text','removeAttribute','get','editor','1640832ATEfnN','model','define','list-style-type','upcast','find','upper-alpha','mapper','floor','isPremiumPlugin','getChanges','710156LWlBZG','upper-latin','footnotes.footnotesProperties.defaultStartIndex','lower-alpha','_getDefaultStartIndex','5805888ACBMGH','fromCharCode','decimal-leading-zero','_definePostfixer','config','2582739KiZJSO','toViewElement','footnotesListStart','upper-roman','toUpperCase','consume','_formatFootnoteListValue','isOfficialPlugin','footnotesStyle','footnotes-list','viewItem','footnotesStart','commands'];_0x55f9=function(){return _0xf1401a;};return _0x55f9();}
23
+ const _0x1e8b84=_0x214a;(function(_0x14bcdc,_0x1aa2c6){const _0x599c89=_0x214a,_0x4bd637=_0x14bcdc();while(!![]){try{const _0x338270=-parseInt(_0x599c89(0xec))/0x1*(-parseInt(_0x599c89(0xbf))/0x2)+-parseInt(_0x599c89(0xd4))/0x3*(parseInt(_0x599c89(0xe9))/0x4)+parseInt(_0x599c89(0xe3))/0x5+parseInt(_0x599c89(0xd2))/0x6+-parseInt(_0x599c89(0xe8))/0x7+parseInt(_0x599c89(0xa9))/0x8+-parseInt(_0x599c89(0xd1))/0x9*(parseInt(_0x599c89(0xd0))/0xa);if(_0x338270===_0x1aa2c6)break;else _0x4bd637['push'](_0x4bd637['shift']());}catch(_0x3e44e1){_0x4bd637['push'](_0x4bd637['shift']());}}}(_0x483b,0xe3cfc));import{Plugin as _0x5c4bd6}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x4a1447}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xee59c1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x39a70b}from'../footnotestracker.js';import{FootnotesEditing as _0x148597}from'../footnotesediting.js';function _0x214a(_0x41c59f,_0x2f611b){const _0x483b81=_0x483b();return _0x214a=function(_0x214aef,_0x3267fe){_0x214aef=_0x214aef-0x95;let _0x25aead=_0x483b81[_0x214aef];return _0x25aead;},_0x214a(_0x41c59f,_0x2f611b);}function _0x483b(){const _0x11b649=['pluginName','editor','config','model','parent','start','attribute:footnotesListStyle:footnotesDefinitions','footnotes-list','toUpperCase','toLowerCase','add','requires','upper-alpha','removeStyle','getItems','525514CUeVwx','decimal','element:ol','_updateFootnotesCounters','_formatFootnoteListValue','decimal-leading-zero','downcast','hasAttribute','parseInt','floor','upcast','modelCursor','attribute:footnotesListStart:footnotesDefinitions','fromCharCode','padStart','max','consume','1210DGHidf','113895uQwqyy','8649240biBvAv','_getDefaultStartIndex','121272tzfZTM','extend','getChildren','commands','setStyle','position','viewItem','differ','writer','footnotesListStyle','$text','setAttribute','createRangeOn','plugins','_defineSchema','8400620Xexkzo','footnotesStyle','footnotes.footnotesProperties.defaultStartIndex','hasClass','isOfficialPlugin','7170079JnERch','80lrQSUm','from','_defineConverters','1eNcjrP','_definePostfixer','setFootnoteFormatter','_defineFormatter','getStyle','footnotesListStart','lower-alpha','_getDefaultListStyle','upper-roman','schema','isPremiumPlugin','footnotes.footnotesProperties.defaultListStyle','consumable','for','lower-latin','insert','type','list-style-type','nodeAfter','getChanges','element','define','footnotesStart','checkAttribute','isNaN','document','removeAttribute','init','registerPostFixer','footnotesDefinitions','name','find','item','mapper','7301816lpERXK','toViewElement','lower-roman','FootnotesPropertiesEditing','getAttribute','get','upper-latin'];_0x483b=function(){return _0x11b649;};return _0x483b();}export class FootnotesPropertiesEditing extends _0x5c4bd6{static get[_0x1e8b84(0xb0)](){const _0x2e677b=_0x1e8b84;return _0x2e677b(0xac);}static get[_0x1e8b84(0xbb)](){return[_0x148597,_0x39a70b];}static get[_0x1e8b84(0xe7)](){return!0x0;}static get[_0x1e8b84(0xf6)](){return!0x0;}[_0x1e8b84(0xa2)](){const _0x2ae5e9=_0x1e8b84,{editor:_0x588ebf}=this;_0x588ebf[_0x2ae5e9(0xb2)][_0x2ae5e9(0x9c)](_0x2ae5e9(0xf7),_0x2ae5e9(0xc0)),_0x588ebf[_0x2ae5e9(0xb2)][_0x2ae5e9(0x9c)](_0x2ae5e9(0xe5),0x1),_0x588ebf[_0x2ae5e9(0xd7)][_0x2ae5e9(0xba)](_0x2ae5e9(0xe4),new _0x4a1447(_0x588ebf)),_0x588ebf[_0x2ae5e9(0xd7)][_0x2ae5e9(0xba)](_0x2ae5e9(0x9d),new _0xee59c1(_0x588ebf)),this[_0x2ae5e9(0xe2)](),this[_0x2ae5e9(0xeb)](),this[_0x2ae5e9(0xef)](),this[_0x2ae5e9(0xed)]();}[_0x1e8b84(0xe2)](){const _0x14f8ea=_0x1e8b84,{editor:_0x4f0751}=this,{schema:_0x563d79}=_0x4f0751[_0x14f8ea(0xb3)];_0x563d79[_0x14f8ea(0xd5)](_0x14f8ea(0xa4),{'allowAttributes':[_0x14f8ea(0xdd),_0x14f8ea(0xf1)]});}[_0x1e8b84(0xeb)](){const _0x37a20c=_0x1e8b84,{editor:_0x12baaf}=this,{conversion:_0x18c8e8,model:_0x496aef}=_0x12baaf,{schema:_0x1add65}=_0x496aef;_0x18c8e8[_0x37a20c(0xf9)](_0x37a20c(0xc9))[_0x37a20c(0xba)](_0xe0a93d=>{const _0x3b9018=_0x37a20c;_0xe0a93d['on'](_0x3b9018(0xc1),(_0x104c72,_0x1fde15,_0x1e0c45)=>{const _0xc4c208=_0x3b9018,_0x30aaa0=_0x1fde15[_0xc4c208(0xda)],_0x42f34c=_0x1fde15[_0xc4c208(0xca)]?.[_0xc4c208(0xb4)];_0x30aaa0[_0xc4c208(0xe6)](_0xc4c208(0xb7))&&_0x42f34c?.['is'](_0xc4c208(0x9b),_0xc4c208(0xa4))&&(function(_0x3d5dc9,_0x51586a,_0x5dfd0,_0x29ee1a){const _0x3325f8=_0xc4c208;if(!_0x29ee1a[_0x3325f8(0x9e)](_0x51586a,_0x3325f8(0xf1)))return;let _0x6b81cb=0x1;const _0x311029=_0x5dfd0[_0x3325f8(0xf8)][_0x3325f8(0xcf)](_0x3d5dc9,{'attributes':_0x3325f8(0xb5)});if(_0x311029){const _0x34e13c=Number[_0x3325f8(0xc7)](_0x3d5dc9[_0x3325f8(0xad)](_0x3325f8(0xb5)),0xa);Number[_0x3325f8(0x9f)](_0x34e13c)||(_0x6b81cb=_0x34e13c);}!_0x311029&&_0x51586a[_0x3325f8(0xc6)](_0x3325f8(0xf1))||_0x5dfd0[_0x3325f8(0xdc)][_0x3325f8(0xdf)](_0x3325f8(0xf1),_0x6b81cb,_0x51586a);}(_0x30aaa0,_0x42f34c,_0x1e0c45,_0x1add65),function(_0x15e9f1,_0x4e93d5,_0x40fd31,_0x61a548){const _0x381f49=_0xc4c208;if(!_0x61a548[_0x381f49(0x9e)](_0x4e93d5,_0x381f49(0xdd)))return;let _0x4bb77b=_0x381f49(0xc0),_0x4a1a7e=!0x1;if(_0x40fd31[_0x381f49(0xf8)][_0x381f49(0xcf)](_0x15e9f1,{'attributes':_0x381f49(0x97)})){const _0x322642={0x1:_0x381f49(0xc0),'a':_0x381f49(0xf2),'A':_0x381f49(0xbc),'i':_0x381f49(0xab),'I':_0x381f49(0xf4)}[_0x15e9f1[_0x381f49(0xad)](_0x381f49(0x97))];_0x322642&&(_0x4bb77b=_0x322642),_0x4a1a7e=!0x0;}_0x40fd31[_0x381f49(0xf8)][_0x381f49(0xcf)](_0x15e9f1,{'styles':_0x381f49(0x98)})&&(_0x4bb77b=_0x15e9f1[_0x381f49(0xf0)](_0x381f49(0x98)),_0x4a1a7e=!0x0),!_0x4a1a7e&&_0x4e93d5[_0x381f49(0xc6)](_0x381f49(0xdd))||_0x40fd31[_0x381f49(0xdc)][_0x381f49(0xdf)](_0x381f49(0xdd),_0x4bb77b,_0x4e93d5);}(_0x30aaa0,_0x42f34c,_0x1e0c45,_0x1add65));});}),_0x18c8e8[_0x37a20c(0xf9)](_0x37a20c(0xc5))[_0x37a20c(0xba)](_0x23b2f9=>{const _0x102064=_0x37a20c;_0x23b2f9['on'](_0x102064(0xcb),(_0x104dd1,_0x4042dc,_0x3c6183)=>{const _0xfbf293=_0x102064;if(!_0x3c6183[_0xfbf293(0xf8)][_0xfbf293(0xcf)](_0x4042dc[_0xfbf293(0xa7)],_0x104dd1[_0xfbf293(0xa5)]))return;const _0x1113ee=M(_0x4042dc[_0xfbf293(0xa7)],_0x3c6183[_0xfbf293(0xa8)]),{attributeNewValue:_0x266413}=_0x4042dc;null==_0x266413||0x1===_0x266413?_0x3c6183[_0xfbf293(0xdc)][_0xfbf293(0xa1)](_0xfbf293(0xb5),_0x1113ee):_0x3c6183[_0xfbf293(0xdc)][_0xfbf293(0xdf)](_0xfbf293(0xb5),String(_0x266413),_0x1113ee);}),_0x23b2f9['on'](_0x102064(0xb6),(_0x2e55e7,_0x373d1b,_0x37331e)=>{const _0x11982e=_0x102064;if(!_0x37331e[_0x11982e(0xf8)][_0x11982e(0xcf)](_0x373d1b[_0x11982e(0xa7)],_0x2e55e7[_0x11982e(0xa5)]))return;const _0x551213=M(_0x373d1b[_0x11982e(0xa7)],_0x37331e[_0x11982e(0xa8)]),{attributeNewValue:_0x3a00c4}=_0x373d1b;_0x3a00c4&&_0x11982e(0xc0)!==_0x3a00c4?_0x37331e[_0x11982e(0xdc)][_0x11982e(0xd8)](_0x11982e(0x98),_0x3a00c4,_0x551213):_0x37331e[_0x11982e(0xdc)][_0x11982e(0xbd)](_0x11982e(0x98),_0x551213);});});}[_0x1e8b84(0xed)](){const _0x29d87b=_0x1e8b84,{editor:_0x511105}=this,{model:_0x4f525a}=_0x511105,_0xcadf02=_0x511105[_0x29d87b(0xe1)][_0x29d87b(0xae)](_0x39a70b),_0x342540=this[_0x29d87b(0xf3)](),_0x171494=this[_0x29d87b(0xd3)]();_0x4f525a[_0x29d87b(0xa0)][_0x29d87b(0xa3)](_0x5eaa78=>{const _0x3b8dc0=_0x29d87b,_0x10655b=_0x4f525a[_0x3b8dc0(0xa0)][_0x3b8dc0(0xdb)][_0x3b8dc0(0x9a)]();let _0xffecb6=!0x1;for(const _0x55c4c3 of _0x10655b){if(_0x3b8dc0(0x96)!==_0x55c4c3[_0x3b8dc0(0x97)]||_0x3b8dc0(0xde)===_0x55c4c3[_0x3b8dc0(0xa5)])continue;const _0x2d5062=_0x4f525a[_0x3b8dc0(0xe0)](_0x55c4c3[_0x3b8dc0(0xd9)][_0x3b8dc0(0x99)]);for(const _0x491aeb of _0x2d5062[_0x3b8dc0(0xbe)]())_0x491aeb['is'](_0x3b8dc0(0x9b),_0x3b8dc0(0xa4))&&(!_0x491aeb[_0x3b8dc0(0xc6)](_0x3b8dc0(0xf1))&&_0x4f525a[_0x3b8dc0(0xf5)][_0x3b8dc0(0x9e)](_0x491aeb,_0x3b8dc0(0xf1))&&(_0x5eaa78[_0x3b8dc0(0xdf)](_0x3b8dc0(0xf1),_0x171494,_0x491aeb),_0xffecb6=!0x0),!_0x491aeb[_0x3b8dc0(0xc6)](_0x3b8dc0(0xdd))&&_0x4f525a[_0x3b8dc0(0xf5)][_0x3b8dc0(0x9e)](_0x491aeb,_0x3b8dc0(0xdd))&&(_0x5eaa78[_0x3b8dc0(0xdf)](_0x3b8dc0(0xdd),_0x342540,_0x491aeb),_0xffecb6=!0x0));}return _0xffecb6&&_0xcadf02[_0x3b8dc0(0xc2)](_0x5eaa78),_0xffecb6;});}[_0x1e8b84(0xef)](){const _0x8b749b=_0x1e8b84,{editor:_0x4f45d8}=this;_0x4f45d8[_0x8b749b(0xe1)][_0x8b749b(0xae)](_0x39a70b)[_0x8b749b(0xee)](_0xbf2ec8=>this[_0x8b749b(0xc3)](_0xbf2ec8));}[_0x1e8b84(0xf3)](){const _0x3c73bb=_0x1e8b84;return this[_0x3c73bb(0xb1)][_0x3c73bb(0xb2)][_0x3c73bb(0xae)](_0x3c73bb(0xf7));}[_0x1e8b84(0xd3)](){const _0x620194=_0x1e8b84;return this[_0x620194(0xb1)][_0x620194(0xb2)][_0x620194(0xae)](_0x620194(0xe5));}[_0x1e8b84(0xc3)]({container:_0x542f14,value:_0x283685,digits:_0xdc72cd}){const _0x50e703=_0x1e8b84,_0x137173=_0x542f14[_0x50e703(0xad)](_0x50e703(0xdd)),_0x3ecd9e=_0x542f14[_0x50e703(0xad)](_0x50e703(0xf1)),_0x18638e=Math[_0x50e703(0xc8)](_0x283685)+(_0x3ecd9e??0x1)-0x1;switch(_0x137173){case _0x50e703(0xc4):return function(_0x23df8e,_0x3fea76){const _0x446eba=_0x50e703;return String(_0x23df8e)[_0x446eba(0xcd)](_0x3fea76,'0');}(_0x18638e,Math[_0x50e703(0xce)](0x2,_0xdc72cd));case _0x50e703(0xf2):case _0x50e703(0x95):return N(_0x18638e,!0x1);case _0x50e703(0xbc):case _0x50e703(0xaf):return N(_0x18638e,!0x0);case _0x50e703(0xab):return X(_0x18638e,!0x1);case _0x50e703(0xf4):return X(_0x18638e,!0x0);default:return String(_0x18638e);}}}function M(_0x423ebe,_0xdaae31){const _0x454ffa=_0x1e8b84,_0xb457c4=_0xdaae31[_0x454ffa(0xaa)](_0x423ebe);return Array[_0x454ffa(0xea)](_0xb457c4[_0x454ffa(0xd6)]())[_0x454ffa(0xa6)](_0x42003f=>_0x42003f['is'](_0x454ffa(0x9b),'ol')&&_0x42003f[_0x454ffa(0xe6)](_0x454ffa(0xb7)));}function N(_0x12bf98,_0x4fabd8){const _0x5413a9=_0x1e8b84;let _0x5b6414='',_0x11b42d=_0x12bf98;for(;_0x11b42d>0x0;){const _0x47aeb2=(_0x11b42d-0x1)%0x1a;_0x5b6414=String[_0x5413a9(0xcc)](0x61+_0x47aeb2)+_0x5b6414,_0x11b42d=Math[_0x5413a9(0xc8)]((_0x11b42d-0x1)/0x1a);}return _0x4fabd8?_0x5b6414[_0x5413a9(0xb8)]():_0x5b6414;}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(_0x8b9b4c,_0x433402){const _0x59e57f=_0x1e8b84;let _0x164aa0='',_0x3381f8=_0x8b9b4c;for(const {value:_0x5184e3,numeral:_0x21ebfd}of V)for(;_0x3381f8>=_0x5184e3;)_0x164aa0+=_0x21ebfd,_0x3381f8-=_0x5184e3;return _0x433402?_0x164aa0:_0x164aa0[_0x59e57f(0xb9)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x284e40,ButtonView as _0x2cff24,ContextualBalloon as _0x45b7ab,createDropdown as _0x254689}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2ac9a9}from'ckeditor5/src/widget.js';import{Plugin as _0x3b9bee}from'ckeditor5/src/core.js';import{IconFootnote as _0x57f150,IconListStyleDecimal as _0xc17efd,IconListStyleDecimalLeadingZero as _0x2ba969,IconListStyleLowerLatin as _0x27df03,IconListStyleLowerRoman as _0x35c5d3,IconListStyleUpperLatin as _0x4231c1,IconListStyleUpperRoman as _0x259e72}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x408c8d}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2c5a77}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x3b9bee{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x45b7ab,_0x2ac9a9];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2e6cca}=this,{componentFactory:_0x26a1a7}=_0x2e6cca['ui'];_0x2e6cca['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x26a1a7['add']('footnotesStyle',function(_0x10955d){return _0x229026=>{const {t:t}=_0x229026,_0x371918=_0x10955d['commands']['get']('footnotesStyle'),_0x52947e=_0x254689(_0x229026),{buttonView:_0x1b51df}=_0x52947e;return _0x52947e['class']='ck-footnotes-styles-dropdown',_0x52947e['bind']('isEnabled')['to'](_0x371918,'isEnabled'),_0x1b51df['set']({'label':t('Footnotes\x20style'),'icon':_0x57f150,'tooltip':!0x0}),_0x52947e['once']('change:isOpen',()=>{const _0x2ce5bf=function({editor:_0x5d2d71,dropdownView:_0x210222}){const {t:t}=_0x5d2d71['locale'],_0xd7c1=t('Footnotes\x20definitions\x20styles'),_0xe4715e=function(_0x7ee9c9){const t=_0x7ee9c9['locale']['t'],_0x24bd2d=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xc17efd},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ba969},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x35c5d3},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x259e72},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x27df03},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4231c1}];return _0x24bd2d['map'](function(_0x375764){const _0x534ea8=_0x375764['locale'];return({label:_0x827c74,icon:_0x12f0b0,tooltip:_0x59b14f,style:_0x545de5})=>{const _0x3a939e=_0x375764['commands']['get']('footnotesStyle'),_0x225f1d=new _0x2cff24(_0x534ea8);return _0x225f1d['set']({'label':_0x827c74,'icon':_0x12f0b0,'tooltip':_0x59b14f}),_0x225f1d['bind']('isOn')['to'](_0x3a939e,'value',_0x5eb069=>_0x5eb069===_0x545de5),_0x225f1d['bind']('isEnabled')['to'](_0x3a939e,'isEnabled'),_0x225f1d['on']('execute',()=>{_0x375764['execute']('footnotesStyle',{'value':_0x545de5}),_0x375764['editing']['view']['focus']();}),_0x225f1d;};}(_0x7ee9c9));}(_0x5d2d71),_0x458328=new _0x408c8d(_0x5d2d71['locale'],{'styleGridAriaLabel':_0xd7c1,'styleButtonViews':_0xe4715e});return _0x458328['delegate']('execute')['to'](_0x210222),_0x458328['on']('footnotesListStart',(_0xdcccfd,_0x441236)=>{_0x5d2d71['execute']('footnotesStart',{'value':_0x441236['startIndex']});}),_0x458328;}({'editor':_0x10955d,'dropdownView':_0x52947e});_0x52947e['panelView']['children']['add'](_0x2ce5bf);}),_0x52947e;};}(_0x2e6cca));}['afterInit'](){const {editor:_0x341ffc}=this,{t:t}=_0x341ffc['locale'],_0xe8ccd6=_0x341ffc['plugins']['get'](_0x2ac9a9),{defaultPositions:_0x4be627}=_0x284e40;_0xe8ccd6['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x341ffc['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x468d18=>{let _0x566a1d=_0x468d18['getFirstPosition']()?.['parent'];return _0x566a1d?.['is']('$text')&&(_0x566a1d=_0x566a1d['parent']),_0x566a1d?.['is']('element')?_0x566a1d['findAncestor'](_0x2c5a77):null;},'positions':[_0x4be627['southArrowNorth'],_0x4be627['southArrowNorthMiddleWest'],_0x4be627['southArrowNorthMiddleEast'],_0x4be627['southArrowNorthWest'],_0x4be627['southArrowNorthEast'],_0x4be627['northArrowSouth'],_0x4be627['northArrowSouthMiddleWest'],_0x4be627['northArrowSouthMiddleEast'],_0x4be627['northArrowSouthWest'],_0x4be627['northArrowSouthEast'],_0x4be627['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x154b50,ButtonView as _0x4540bb,ContextualBalloon as _0x27766d,createDropdown as _0x42e24f}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4c0ed1}from'ckeditor5/src/widget.js';import{Plugin as _0x488747}from'ckeditor5/src/core.js';import{IconFootnote as _0x46b76d,IconListStyleDecimal as _0x5cb054,IconListStyleDecimalLeadingZero as _0x5dd21c,IconListStyleLowerLatin as _0x3b707c,IconListStyleLowerRoman as _0x4d4965,IconListStyleUpperLatin as _0x914510,IconListStyleUpperRoman as _0x547404}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x541f11}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1604d6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x488747{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x27766d,_0x4c0ed1];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35a3f0}=this,{componentFactory:_0x382e07}=_0x35a3f0['ui'];_0x35a3f0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x382e07['add']('footnotesStyle',function(_0x3abd28){return _0x4c9563=>{const {t:t}=_0x4c9563,_0x40abce=_0x3abd28['commands']['get']('footnotesStyle'),_0x34501e=_0x42e24f(_0x4c9563),{buttonView:_0x1978ae}=_0x34501e;return _0x34501e['class']='ck-footnotes-styles-dropdown',_0x34501e['bind']('isEnabled')['to'](_0x40abce,'isEnabled'),_0x1978ae['set']({'label':t('Footnotes\x20style'),'icon':_0x46b76d,'tooltip':!0x0}),_0x34501e['once']('change:isOpen',()=>{const _0x334f9a=function({editor:_0x4d93b2,dropdownView:_0x4d8f2e}){const {t:t}=_0x4d93b2['locale'],_0x4f78a8=t('Footnotes\x20definitions\x20styles'),_0x444c3e=function(_0x5aa938){const t=_0x5aa938['locale']['t'],_0x26ef3f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x5cb054},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x5dd21c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4d4965},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x547404},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3b707c},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x914510}];return _0x26ef3f['map'](function(_0xd3b382){const _0x4c1d5b=_0xd3b382['locale'];return({label:_0x44ad65,icon:_0x4d1521,tooltip:_0x57af64,style:_0x2ed8c6})=>{const _0x35091d=_0xd3b382['commands']['get']('footnotesStyle'),_0x1a4f59=new _0x4540bb(_0x4c1d5b);return _0x1a4f59['set']({'label':_0x44ad65,'icon':_0x4d1521,'tooltip':_0x57af64}),_0x1a4f59['bind']('isOn')['to'](_0x35091d,'value',_0x2ff0e0=>_0x2ff0e0===_0x2ed8c6),_0x1a4f59['bind']('isEnabled')['to'](_0x35091d,'isEnabled'),_0x1a4f59['on']('execute',()=>{_0xd3b382['execute']('footnotesStyle',{'value':_0x2ed8c6}),_0xd3b382['editing']['view']['focus']();}),_0x1a4f59;};}(_0x5aa938));}(_0x4d93b2),_0x5119af=new _0x541f11(_0x4d93b2['locale'],{'styleGridAriaLabel':_0x4f78a8,'styleButtonViews':_0x444c3e});return _0x5119af['delegate']('execute')['to'](_0x4d8f2e),_0x5119af['on']('footnotesListStart',(_0x3523c0,_0x4edb2e)=>{_0x4d93b2['execute']('footnotesStart',{'value':_0x4edb2e['startIndex']});}),_0x5119af;}({'editor':_0x3abd28,'dropdownView':_0x34501e});_0x34501e['panelView']['children']['add'](_0x334f9a);}),_0x34501e;};}(_0x35a3f0));}['afterInit'](){const {editor:_0x5c6fb8}=this,{t:t}=_0x5c6fb8['locale'],_0x3b2737=_0x5c6fb8['plugins']['get'](_0x4c0ed1),{defaultPositions:_0x4bbfe7}=_0x154b50;_0x3b2737['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5c6fb8['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x65946c=>{let _0x4f6793=_0x65946c['getFirstPosition']()?.['parent'];return _0x4f6793?.['is']('$text')&&(_0x4f6793=_0x4f6793['parent']),_0x4f6793?.['is']('element')?_0x4f6793['findAncestor'](_0x1604d6):null;},'positions':[_0x4bbfe7['southArrowNorth'],_0x4bbfe7['southArrowNorthMiddleWest'],_0x4bbfe7['southArrowNorthMiddleEast'],_0x4bbfe7['southArrowNorthWest'],_0x4bbfe7['southArrowNorthEast'],_0x4bbfe7['northArrowSouth'],_0x4bbfe7['northArrowSouthMiddleWest'],_0x4bbfe7['northArrowSouthMiddleEast'],_0x4bbfe7['northArrowSouthWest'],_0x4bbfe7['northArrowSouthEast'],_0x4bbfe7['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x3ac3c2,View as _0x176e98,ViewCollection as _0x672447,FocusCycler as _0x51317e,addKeyboardHandlingForGrid as _0x2149a8,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x176e98{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x672447();['focusCycler'];constructor(_0x204b6d,{styleButtonViews:_0x2887b4,styleGridAriaLabel:_0x106adb}){super(_0x204b6d),(this['focusCycler']=new _0x51317e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2887b4,_0x106adb),[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 _0x306151 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x306151['element']);_0x2149a8({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0x261784=_0x28f4c0=>_0x28f4c0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x261784),this['keystrokes']['set']('arrowleft',_0x261784),this['keystrokes']['set']('arrowup',_0x261784),this['keystrokes']['set']('arrowdown',_0x261784);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5245ce,_0xaff354){const _0x1aa5a6=new _0x176e98(this['locale']);return _0x1aa5a6['children']=_0x1aa5a6['createCollection'](),_0x1aa5a6['children']['addMany'](_0x5245ce),_0x1aa5a6['setTemplate']({'tag':'div','attributes':{'aria-label':_0xaff354,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1aa5a6['children']}),_0x1aa5a6['children']['delegate']('execute')['to'](this),_0x1aa5a6['focus']=function(){for(const _0x4ef11f of this['children'])if(_0x4ef11f instanceof _0x3ac3c2&&_0x4ef11f['isOn'])return void _0x4ef11f['focus']();this['children']['first']['focus']();},_0x1aa5a6['focusTracker']=new et(),_0x1aa5a6['keystrokes']=new ot(),_0x1aa5a6['render'](),_0x1aa5a6['keystrokes']['listenTo'](_0x1aa5a6['element']),this['children']['add'](_0x1aa5a6),_0x1aa5a6;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x491e4a=this['_createStartIndexPropertyView'](),_0x1b4886=[_0x491e4a],_0x12571c=new tt(this['locale'],_0x1b4886);return _0x12571c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x12571c['buttonView']['bind']('isEnabled')['toMany'](_0x1b4886,'isEnabled',(..._0x1687c9)=>_0x1687c9['some'](_0x380164=>_0x380164)),_0x12571c['buttonView']['on']('change:isEnabled',(_0x2c3a0f,_0x14b584,_0x25eb04)=>{_0x25eb04||(_0x12571c['isCollapsed']=!0x0);}),this['children']['add'](_0x12571c),[_0x491e4a,_0x12571c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x54bb28=new st(this['locale'],it);return _0x54bb28['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x54bb28['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x54bb28['fieldView']['on']('input',()=>{const _0x38a11c=_0x54bb28['fieldView']['element'],_0x3f77af=_0x38a11c['valueAsNumber'];Number['isNaN'](_0x3f77af)?_0x54bb28['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x38a11c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x3f77af}):_0x54bb28['errorText']=t(_0x3f77af<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x54bb28;}}
23
+ import{ButtonView as _0x412832,View as _0x3face4,ViewCollection as _0x323fe1,FocusCycler as _0x549f44,addKeyboardHandlingForGrid as _0x421101,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x3face4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x323fe1();['focusCycler'];constructor(_0x2399da,{styleButtonViews:_0x572fdb,styleGridAriaLabel:_0x1dfe07}){super(_0x2399da),(this['focusCycler']=new _0x549f44({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x572fdb,_0x1dfe07),[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 _0x6f0d36 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x6f0d36['element']);_0x421101({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['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 _0xc5db55=_0x21c0ee=>_0x21c0ee['stopPropagation']();this['keystrokes']['set']('arrowright',_0xc5db55),this['keystrokes']['set']('arrowleft',_0xc5db55),this['keystrokes']['set']('arrowup',_0xc5db55),this['keystrokes']['set']('arrowdown',_0xc5db55);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x50da51,_0x62f70a){const _0xdbe0c=new _0x3face4(this['locale']);return _0xdbe0c['children']=_0xdbe0c['createCollection'](),_0xdbe0c['children']['addMany'](_0x50da51),_0xdbe0c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x62f70a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xdbe0c['children']}),_0xdbe0c['children']['delegate']('execute')['to'](this),_0xdbe0c['focus']=function(){for(const _0xea9b00 of this['children'])if(_0xea9b00 instanceof _0x412832&&_0xea9b00['isOn'])return void _0xea9b00['focus']();this['children']['first']['focus']();},_0xdbe0c['focusTracker']=new et(),_0xdbe0c['keystrokes']=new ot(),_0xdbe0c['render'](),_0xdbe0c['keystrokes']['listenTo'](_0xdbe0c['element']),this['children']['add'](_0xdbe0c),_0xdbe0c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x4923a5=this['_createStartIndexPropertyView'](),_0x3608bd=[_0x4923a5],_0x33e480=new tt(this['locale'],_0x3608bd);return _0x33e480['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x33e480['buttonView']['bind']('isEnabled')['toMany'](_0x3608bd,'isEnabled',(..._0x426de1)=>_0x426de1['some'](_0x5f54ab=>_0x5f54ab)),_0x33e480['buttonView']['on']('change:isEnabled',(_0x1a2cac,_0x31e6d5,_0x5d482a)=>{_0x5d482a||(_0x33e480['isCollapsed']=!0x0);}),this['children']['add'](_0x33e480),[_0x4923a5,_0x33e480];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1bb650=new st(this['locale'],it);return _0x1bb650['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1bb650['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1bb650['fieldView']['on']('input',()=>{const _0x18f155=_0x1bb650['fieldView']['element'],_0x48fddd=_0x18f155['valueAsNumber'];Number['isNaN'](_0x48fddd)?_0x1bb650['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x18f155['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x48fddd}):_0x1bb650['errorText']=t(_0x48fddd<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1bb650;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x13fdf4=_0x5b89;(function(_0x2e7fd3,_0x1129f5){var _0x118e53=_0x5b89,_0x3069d9=_0x2e7fd3();while(!![]){try{var _0x4c5b83=-parseInt(_0x118e53(0xfc))/0x1+parseInt(_0x118e53(0x106))/0x2*(parseInt(_0x118e53(0xfd))/0x3)+parseInt(_0x118e53(0x104))/0x4*(-parseInt(_0x118e53(0x101))/0x5)+-parseInt(_0x118e53(0xf8))/0x6*(-parseInt(_0x118e53(0xfa))/0x7)+parseInt(_0x118e53(0xff))/0x8+parseInt(_0x118e53(0xf7))/0x9*(parseInt(_0x118e53(0xfe))/0xa)+-parseInt(_0x118e53(0x103))/0xb*(-parseInt(_0x118e53(0x100))/0xc);if(_0x4c5b83===_0x1129f5)break;else _0x3069d9['push'](_0x3069d9['shift']());}catch(_0x4dd5b1){_0x3069d9['push'](_0x3069d9['shift']());}}}(_0x3e62,0x3844c));import{Plugin as _0x1553f8}from'ckeditor5/src/core.js';function _0x3e62(){var _0x19daa8=['28TJjeoT','isPremiumPlugin','293296eOZktr','810357TANwKS','8270vvwWaV','130848tQenzp','5380596oIlrDx','15FtdNPG','isOfficialPlugin','11hrnhOW','585236zzaXsd','pluginName','2OpTCZr','requires','1791pidsHw','94902zrCyVh','FootnotesProperties'];_0x3e62=function(){return _0x19daa8;};return _0x3e62();}import{FootnotesPropertiesEditing as _0x13515b}from'./footnotesproperties/footnotespropertiesediting.js';function _0x5b89(_0x797d0c,_0x3e90ec){var _0x3e62a5=_0x3e62();return _0x5b89=function(_0x5b89cc,_0x4eec09){_0x5b89cc=_0x5b89cc-0xf6;var _0x5e13ab=_0x3e62a5[_0x5b89cc];return _0x5e13ab;},_0x5b89(_0x797d0c,_0x3e90ec);}import{FootnotesPropertiesUI as _0x1bbe9d}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1553f8{static get[_0x13fdf4(0x105)](){var _0x4d3ae7=_0x13fdf4;return _0x4d3ae7(0xf9);}static get[_0x13fdf4(0xf6)](){return[_0x13515b,_0x1bbe9d];}static get[_0x13fdf4(0x102)](){return!0x0;}static get[_0x13fdf4(0xfb)](){return!0x0;}}
23
+ var _0x31cec9=_0x5c59;(function(_0x32dba6,_0x564d17){var _0x37c56a=_0x5c59,_0x430280=_0x32dba6();while(!![]){try{var _0x1bd45b=parseInt(_0x37c56a(0x136))/0x1+parseInt(_0x37c56a(0x132))/0x2*(-parseInt(_0x37c56a(0x135))/0x3)+-parseInt(_0x37c56a(0x133))/0x4*(parseInt(_0x37c56a(0x13d))/0x5)+-parseInt(_0x37c56a(0x131))/0x6+-parseInt(_0x37c56a(0x13b))/0x7*(-parseInt(_0x37c56a(0x13a))/0x8)+parseInt(_0x37c56a(0x138))/0x9+parseInt(_0x37c56a(0x12e))/0xa*(parseInt(_0x37c56a(0x139))/0xb);if(_0x1bd45b===_0x564d17)break;else _0x430280['push'](_0x430280['shift']());}catch(_0x49b9cb){_0x430280['push'](_0x430280['shift']());}}}(_0x4d3c,0x8d767));import{Plugin as _0x1e4bb2}from'ckeditor5/src/core.js';function _0x5c59(_0x296d1e,_0xc19ea1){var _0x4d3c53=_0x4d3c();return _0x5c59=function(_0x5c59c1,_0x2db1a6){_0x5c59c1=_0x5c59c1-0x12e;var _0x3e3c6d=_0x4d3c53[_0x5c59c1];return _0x3e3c6d;},_0x5c59(_0x296d1e,_0xc19ea1);}import{FootnotesPropertiesEditing as _0x53ee08}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x5887c0}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1e4bb2{static get[_0x31cec9(0x12f)](){var _0x3066fa=_0x31cec9;return _0x3066fa(0x134);}static get[_0x31cec9(0x137)](){return[_0x53ee08,_0x5887c0];}static get[_0x31cec9(0x13c)](){return!0x0;}static get[_0x31cec9(0x130)](){return!0x0;}}function _0x4d3c(){var _0xa72b5f=['5962UXDvdv','143056hPjgoz','7jJhyXM','isOfficialPlugin','5dSpRmq','7090vnkKwD','pluginName','isPremiumPlugin','2100054mBLLxo','832588slYNCs','4431820eRbgmj','FootnotesProperties','3DjHnty','1158523QWmXUE','requires','8037054uchUpF'];_0x4d3c=function(){return _0xa72b5f;};return _0x4d3c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xcd3880=_0x58b3;(function(_0x4b6d32,_0x22da5d){const _0x2f3271=_0x58b3,_0x4af7ad=_0x4b6d32();while(!![]){try{const _0x402520=-parseInt(_0x2f3271(0x1c2))/0x1*(-parseInt(_0x2f3271(0x1ae))/0x2)+-parseInt(_0x2f3271(0x1ca))/0x3*(parseInt(_0x2f3271(0x1c5))/0x4)+parseInt(_0x2f3271(0x1b3))/0x5*(-parseInt(_0x2f3271(0x1e2))/0x6)+parseInt(_0x2f3271(0x1db))/0x7+-parseInt(_0x2f3271(0x1e8))/0x8+parseInt(_0x2f3271(0x1e7))/0x9*(-parseInt(_0x2f3271(0x1c8))/0xa)+parseInt(_0x2f3271(0x1ea))/0xb;if(_0x402520===_0x22da5d)break;else _0x4af7ad['push'](_0x4af7ad['shift']());}catch(_0x216c6b){_0x4af7ad['push'](_0x4af7ad['shift']());}}}(_0x22a8,0x1e287));function _0x22a8(){const _0x46313c=['move','1013285VLVBJa','findIndex','map','footnoteRef','_handleMovedFootnoteReference','_handleInsertedFootnoteReference','footnoteDefinition','listenTo','createRangeIn','before','getFootnotesFormatter','registerPostFixer','find','_handleFootnotesDefinitionsObjectChanges','pluginName','201479wJhegJ','footnoteId','length','934004CDKyeG','init','_handleRemoveFootnoteReferenceById','70mzxCto','rootName','3GDTdRw','compareWith','_sortFootnoteDefinitions','createElement','setFootnoteFormatter','add','footnotes.multiBlock','_footnotes','getAttribute','has','getFootnotesDefinitionsObjectElement','_ensureFootnotesReferencesHaveProperOrder','getFootnotes','getFootnote','getChildren','from','enqueueChange','256942upcxCt','_footnoteDefsContainerTracker','_ensureFootnotesDefinitionsContainerExists','_footnoteDefsTracker','getChanges','_handleFootnoteReferencesChanges','isOfficialPlugin','6ZTmRFp','FootnotesTracker','_footnotesDefinitions','footnoteInlineContent','differ','37143sdrvkO','653952DXZGrm','set','4753463BAYeEp','footnoteCounter','min','$graveyard','childCount','insert','setAttribute','push','document','model','config','reference','_insertEmptyFootnotesDefinitionsContainer','editor','high','_updateFootnoteRefCounter','low','footnotesDefinitions','_handleFootnoteDefinitionsChanges','_updateFootnotesCounters','indexOf','splice','createPositionAt','remove','some','reset','singleton','createRangeOn','_handleFootnotesDefinitionsObjectSync','getRootNames','change:data','after','_footnoteRefsTracker','definition','paragraph','append','isEqual','createPositionBefore','unshift','parent','get','_footnoteFormatter','2xxCtMU','end','root','isPremiumPlugin'];_0x22a8=function(){return _0x46313c;};return _0x22a8();}import{Plugin as _0x2bfb3b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x5ae3a7}from'./modelelementtracker.js';function _0x58b3(_0x1307ab,_0x252211){const _0x22a894=_0x22a8();return _0x58b3=function(_0x58b3b4,_0xf6337d){_0x58b3b4=_0x58b3b4-0x1aa;let _0x52f3fe=_0x22a894[_0x58b3b4];return _0x52f3fe;},_0x58b3(_0x1307ab,_0x252211);}export class FootnotesTracker extends _0x2bfb3b{[_0xcd3880(0x1d1)]=[];[_0xcd3880(0x1e4)]=null;[_0xcd3880(0x1ad)]=null;[_0xcd3880(0x1dc)];[_0xcd3880(0x20a)];[_0xcd3880(0x1de)];static get[_0xcd3880(0x1c1)](){const _0x105360=_0xcd3880;return _0x105360(0x1e3);}static get[_0xcd3880(0x1e1)](){return!0x0;}static get[_0xcd3880(0x1b1)](){return!0x0;}constructor(_0xdc4396){const _0x7f9851=_0xcd3880;super(_0xdc4396),this[_0x7f9851(0x1dc)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1fb),'getElementKey':()=>_0x7f9851(0x204)}),this[_0x7f9851(0x20a)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1b6),'getElementKey':_0x30d2f4=>_0x30d2f4[_0x7f9851(0x1d2)](_0x7f9851(0x1c3))}),this[_0x7f9851(0x1de)]=new _0x5ae3a7(this[_0x7f9851(0x1f7)][_0x7f9851(0x1f3)],{'elementName':_0x7f9851(0x1b9),'getElementKey':_0x1136bf=>_0x1136bf[_0x7f9851(0x1d2)](_0x7f9851(0x1c3))});}[_0xcd3880(0x1c6)](){const _0x51f987=_0xcd3880,{editor:_0x9986db}=this,{model:_0x3a8b0f,data:_0x21746f}=_0x9986db;_0x3a8b0f[_0x51f987(0x1f2)][_0x51f987(0x1be)](_0xe05dd=>{const _0x2f007a=_0x51f987,_0x1e788d=_0x3a8b0f[_0x2f007a(0x1f2)][_0x2f007a(0x1e6)][_0x2f007a(0x1df)]();let _0xd782ba=!0x1;return this[_0x2f007a(0x1c0)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1fc)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1e0)](_0xe05dd,_0x1e788d)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1d5)](_0xe05dd)&&(_0xd782ba=!0x0),this[_0x2f007a(0x206)](_0xe05dd)&&(_0xd782ba=!0x0),this[_0x2f007a(0x1cc)](_0xe05dd)&&(_0xd782ba=!0x0),_0xd782ba;}),this[_0x51f987(0x1ba)](_0x3a8b0f[_0x51f987(0x1f2)],_0x51f987(0x208),()=>{const _0x280cbe=_0x51f987;_0x3a8b0f[_0x280cbe(0x1da)]({'isUndoable':!0x1},_0x153f53=>{const _0x446244=_0x280cbe;this[_0x446244(0x1dd)](_0x153f53);});},{'priority':_0x51f987(0x1fa)}),this[_0x51f987(0x1ba)](_0x21746f,_0x51f987(0x1e9),()=>{const _0x59d389=_0x51f987;this[_0x59d389(0x1d1)]=[],this[_0x59d389(0x1dc)][_0x59d389(0x203)](),this[_0x59d389(0x20a)][_0x59d389(0x203)](),this[_0x59d389(0x1de)][_0x59d389(0x203)]();},{'priority':_0x51f987(0x1f8)});}[_0xcd3880(0x1d4)](){const _0x5991af=_0xcd3880;return this[_0x5991af(0x1e4)];}[_0xcd3880(0x1d7)](_0x3eaea1){const _0x5487a2=_0xcd3880;return this[_0x5487a2(0x1d1)][_0x5487a2(0x1bf)](_0x5ed10c=>_0x5ed10c['id']===_0x3eaea1)||null;}[_0xcd3880(0x1d6)](){const _0xc1cf6d=_0xcd3880;return Array[_0xc1cf6d(0x1d9)](this[_0xc1cf6d(0x1d1)]);}[_0xcd3880(0x1bd)](){const _0x1de795=_0xcd3880;return this[_0x1de795(0x1ad)];}[_0xcd3880(0x1ce)](_0x47c94d){const _0x1c6788=_0xcd3880;this[_0x1c6788(0x1ad)]=_0x47c94d;}[_0xcd3880(0x1fd)](_0x578750,_0x10c75d=0x0){const _0x1fca2b=_0xcd3880;let _0x47b3d6=!0x1;for(let _0x4f5e46=_0x10c75d;_0x4f5e46<this[_0x1fca2b(0x1d1)][_0x1fca2b(0x1c4)];_0x4f5e46++)this[_0x1fca2b(0x1f9)](_0x578750,_0x4f5e46)&&(_0x47b3d6=!0x0);return _0x47b3d6;}[_0xcd3880(0x1f6)](_0x2756d7,_0x3bfbed){const _0x5ec080=_0xcd3880,_0x365af9=_0x2756d7[_0x5ec080(0x1cd)](_0x5ec080(0x1fb),{});return _0x2756d7[_0x5ec080(0x20d)](_0x365af9,_0x3bfbed),this[_0x5ec080(0x1e4)]=_0x365af9,_0x365af9;}[_0xcd3880(0x1dd)](_0x21fcf3){const _0x521eaa=_0xcd3880;if(!this[_0x521eaa(0x1d1)][_0x521eaa(0x1c4)]||this[_0x521eaa(0x1e4)])return;const _0x46a1ef=this[_0x521eaa(0x1d1)][0x0][_0x521eaa(0x1f5)][_0x521eaa(0x1b0)],_0x27db9b=this[_0x521eaa(0x1f6)](_0x21fcf3,_0x46a1ef);for(const _0x13d630 of this[_0x521eaa(0x1d1)])_0x13d630[_0x521eaa(0x20b)][_0x521eaa(0x1ab)]||_0x21fcf3[_0x521eaa(0x1ef)](_0x13d630[_0x521eaa(0x20b)],_0x27db9b,_0x521eaa(0x1af));this[_0x521eaa(0x1fd)](_0x21fcf3);}[_0xcd3880(0x1c0)](_0x2d387f,_0x331ac3){const _0x6bfccd=_0xcd3880;let _0x2b57ea=!0x1;const {inserted:_0x1273be,removed:_0x14b659,moved:_0x514de0}=this[_0x6bfccd(0x1dc)][_0x6bfccd(0x1df)](_0x331ac3);if(_0x514de0[_0x6bfccd(0x1c4)]&&(this[_0x6bfccd(0x1e4)]=_0x514de0[0x0]),_0x1273be[_0x6bfccd(0x1c4)]){if(_0x1273be[_0x6bfccd(0x1c4)]>0x1||this[_0x6bfccd(0x1e4)]&&_0x1273be[_0x6bfccd(0x202)](_0x4d4075=>_0x4d4075!==this[_0x6bfccd(0x1e4)])){const _0x441d35=_0x2d387f[_0x6bfccd(0x1cd)](_0x6bfccd(0x1fb),{}),_0x310704=[];this[_0x6bfccd(0x1e4)]&&_0x310704[_0x6bfccd(0x1f1)](this[_0x6bfccd(0x1e4)]),_0x310704[_0x6bfccd(0x1f1)](..._0x1273be),_0x2d387f[_0x6bfccd(0x1ef)](_0x441d35,_0x310704[0x0],_0x6bfccd(0x1bc));for(const _0xb1ad34 of _0x310704)_0x2d387f[_0x6bfccd(0x1b2)](_0x2d387f[_0x6bfccd(0x1bb)](_0xb1ad34),_0x2d387f[_0x6bfccd(0x200)](_0x441d35,_0x6bfccd(0x1af))),_0x2d387f[_0x6bfccd(0x201)](_0xb1ad34);this[_0x6bfccd(0x1e4)]=_0x441d35,this[_0x6bfccd(0x1fd)](_0x2d387f),_0x2b57ea=!0x0;}else this[_0x6bfccd(0x1e4)]=_0x1273be[0x0];}if(_0x14b659[_0x6bfccd(0x1c4)]&&_0x6bfccd(0x1ed)===this[_0x6bfccd(0x1e4)]?.[_0x6bfccd(0x1b0)][_0x6bfccd(0x1c9)]){for(const _0x56a2bd of this[_0x6bfccd(0x1d1)])_0x2d387f[_0x6bfccd(0x201)](_0x56a2bd[_0x6bfccd(0x1f5)]),_0x2b57ea=!0x0;this[_0x6bfccd(0x1d1)]=[],this[_0x6bfccd(0x1e4)]=null;}return _0x2b57ea;}[_0xcd3880(0x1fc)](_0x3a342b,_0x3b8cd9){const _0x57fd19=_0xcd3880;let _0x475d6d=!0x1;const _0x5618d3=this[_0x57fd19(0x1f7)][_0x57fd19(0x1f4)][_0x57fd19(0x1ac)](_0x57fd19(0x1d0)),{inserted:_0x41a73d,moved:_0x2c5448}=this[_0x57fd19(0x1de)][_0x57fd19(0x1df)](_0x3b8cd9);for(const _0x3fb811 of[..._0x2c5448,..._0x41a73d]){const _0xc4b1f7=_0x3fb811[_0x57fd19(0x1d2)](_0x57fd19(0x1c3)),_0x15696b=this[_0x57fd19(0x1d7)](_0xc4b1f7);_0x15696b&&(_0x15696b[_0x57fd19(0x20b)]=_0x3fb811),_(_0x3a342b,_0x5618d3,_0x3fb811)&&(_0x475d6d=!0x0);}return _0x475d6d;}[_0xcd3880(0x1e0)](_0x129e47,_0x389d3c){const _0x513d82=_0xcd3880;let _0x32397b=!0x1;const {removed:_0x352b43,inserted:_0x366f6e,moved:_0x44d5c8}=this[_0x513d82(0x20a)][_0x513d82(0x1df)](_0x389d3c);for(const _0x452253 of _0x352b43)this[_0x513d82(0x1c7)](_0x129e47,_0x452253)&&(_0x32397b=!0x0);for(const _0x352a97 of _0x366f6e)this[_0x513d82(0x1b8)](_0x129e47,_0x352a97)&&(_0x32397b=!0x0);for(const _0x286df1 of _0x44d5c8)this[_0x513d82(0x1b7)](_0x129e47,_0x286df1)&&(_0x32397b=!0x0);return _0x32397b;}[_0xcd3880(0x206)](_0x5cfc89){const _0x53a1e4=_0xcd3880;if(!this[_0x53a1e4(0x1e4)])return!0x1;let _0x4e63ab=!0x1;if(this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1ee)]!==this[_0x53a1e4(0x1d1)][_0x53a1e4(0x1c4)]){const _0x17a237=[];for(const _0x5c9021 of this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1d8)]()){const _0x4e67f7=_0x5c9021[_0x53a1e4(0x1d2)](_0x53a1e4(0x1c3));this[_0x53a1e4(0x1d7)](_0x4e67f7)||(_0x17a237[_0x53a1e4(0x1aa)](_0x5c9021),_0x4e63ab=!0x0);}for(const _0x2bc29b of _0x17a237)_0x5cfc89[_0x53a1e4(0x201)](_0x2bc29b);}const _0x288303=new Set(),_0x554edf=[];for(const _0x430063 of this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1d8)]()){const _0x5c827c=_0x430063[_0x53a1e4(0x1d2)](_0x53a1e4(0x1c3));_0x288303[_0x53a1e4(0x1d3)](_0x5c827c)?(_0x554edf[_0x53a1e4(0x1aa)](_0x430063),_0x4e63ab=!0x0):_0x288303[_0x53a1e4(0x1cf)](_0x5c827c);}for(const _0x2419fb of _0x554edf)_0x5cfc89[_0x53a1e4(0x201)](_0x2419fb);return this[_0x53a1e4(0x1e4)][_0x53a1e4(0x1ee)]||(_0x5cfc89[_0x53a1e4(0x201)](this[_0x53a1e4(0x1e4)]),this[_0x53a1e4(0x1e4)]=null,_0x4e63ab=!0x0),_0x4e63ab;}[_0xcd3880(0x1b8)](_0x50ab08,_0x4062be){const _0x6b3ba5=_0xcd3880;if(this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1bf)](_0x37f698=>_0x37f698[_0x6b3ba5(0x1f5)]===_0x4062be))return!0x1;let _0x2b188b=!0x1;const _0x8f1140=_0x4062be[_0x6b3ba5(0x1d2)](_0x6b3ba5(0x1c3)),_0xb7f1db=this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1b4)](_0x55594c=>_0x55594c['id']===_0x8f1140);-0x1!==_0xb7f1db&&(_0x50ab08[_0x6b3ba5(0x201)](this[_0x6b3ba5(0x1d1)][_0xb7f1db][_0x6b3ba5(0x1f5)]),this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1ff)](_0xb7f1db,0x1),_0x2b188b=!0x0);let _0x444654=this[_0x6b3ba5(0x1e4)]?function(_0x5a419c,_0x4133de){const _0x3a4762=_0x6b3ba5;for(const _0x17061d of _0x5a419c[_0x3a4762(0x1d8)]())if(_0x17061d[_0x3a4762(0x1d2)](_0x3a4762(0x1c3))===_0x4133de)return _0x17061d;return null;}(this[_0x6b3ba5(0x1e4)],_0x8f1140):null;_0x444654||(_0x444654=_0x50ab08[_0x6b3ba5(0x1cd)](_0x6b3ba5(0x1b9),{'footnoteId':_0x8f1140}),this[_0x6b3ba5(0x1e4)]&&(_0x50ab08[_0x6b3ba5(0x1ef)](_0x444654,this[_0x6b3ba5(0x1e4)],_0x6b3ba5(0x1af)),_0x2b188b=!0x0));const _0xf3b2e1={'id':_0x8f1140,'reference':_0x4062be,'definition':_0x444654},_0x334563=I(this[_0x6b3ba5(0x1f7)][_0x6b3ba5(0x1f3)],this[_0x6b3ba5(0x1d1)],_0x4062be);this[_0x6b3ba5(0x1d1)][_0x6b3ba5(0x1ff)](_0x334563,0x0,_0xf3b2e1);let _0x318153=_0x334563;return-0x1!==_0xb7f1db&&(_0x318153=Math[_0x6b3ba5(0x1ec)](_0x334563,_0xb7f1db)),this[_0x6b3ba5(0x1fd)](_0x50ab08,_0x318153)&&(_0x2b188b=!0x0),_0x2b188b;}[_0xcd3880(0x1c7)](_0x4319d0,_0x4f9ec5){const _0x5e9396=_0xcd3880,_0x52b0bd=this[_0x5e9396(0x1d1)][_0x5e9396(0x1b4)](_0x3c4841=>_0x3c4841['id']===_0x4f9ec5);if(-0x1===_0x52b0bd)return!0x1;let _0x34958d=!0x1;const _0x47a18f=this[_0x5e9396(0x1d1)][_0x52b0bd];return _0x5e9396(0x1ed)!==_0x47a18f[_0x5e9396(0x20b)][_0x5e9396(0x1b0)][_0x5e9396(0x1c9)]&&(_0x4319d0[_0x5e9396(0x201)](_0x47a18f[_0x5e9396(0x20b)]),_0x34958d=!0x0),this[_0x5e9396(0x1d1)][_0x5e9396(0x1ff)](_0x52b0bd,0x1),this[_0x5e9396(0x1fd)](_0x4319d0,_0x52b0bd)&&(_0x34958d=!0x0),_0x34958d;}[_0xcd3880(0x1b7)](_0x7d5fda,_0x4b32da){const _0x5e1a6f=_0xcd3880,_0x1f717e=_0x4b32da[_0x5e1a6f(0x1d2)](_0x5e1a6f(0x1c3)),_0x3ff3c7=this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1b4)](_0xffe2b9=>_0xffe2b9['id']===_0x1f717e),_0x5380f6=this[_0x5e1a6f(0x1d1)][_0x3ff3c7];let _0x2028dc=!0x1;_0x5380f6[_0x5e1a6f(0x1f5)]=_0x4b32da,this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1ff)](_0x3ff3c7,0x1);const _0x419b50=I(this[_0x5e1a6f(0x1f7)][_0x5e1a6f(0x1f3)],this[_0x5e1a6f(0x1d1)],_0x4b32da);return this[_0x5e1a6f(0x1d1)][_0x5e1a6f(0x1ff)](_0x419b50,0x0,_0x5380f6),this[_0x5e1a6f(0x1fd)](_0x7d5fda,Math[_0x5e1a6f(0x1ec)](_0x3ff3c7,_0x419b50))&&(_0x2028dc=!0x0),_0x2028dc;}[_0xcd3880(0x1f9)](_0x1db60a,_0x15bc49){const _0x11581a=_0xcd3880;if(!this[_0x11581a(0x1e4)])return!0x1;const _0x3f404d=this[_0x11581a(0x1d1)][_0x15bc49];let _0x2451f8;return _0x2451f8=this[_0x11581a(0x1ad)]?this[_0x11581a(0x1ad)]({'footnote':_0x3f404d,'container':this[_0x11581a(0x1e4)],'digits':String(this[_0x11581a(0x1d1)][_0x11581a(0x1c4)])[_0x11581a(0x1c4)],'value':_0x15bc49+0x1}):String(_0x15bc49+0x1),_0x3f404d[_0x11581a(0x1f5)][_0x11581a(0x1d2)](_0x11581a(0x1eb))!=_0x2451f8&&(_0x1db60a[_0x11581a(0x1f0)](_0x11581a(0x1eb),_0x2451f8,_0x3f404d[_0x11581a(0x1f5)]),!0x0);}[_0xcd3880(0x1cc)](_0x42d9da){const _0xe80b1a=_0xcd3880;if(!this[_0xe80b1a(0x1e4)]||this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1c4)]<0x2)return!0x1;if(function(_0x41d04d,_0x221987){const _0x29e81c=_0xe80b1a;if(_0x41d04d[_0x29e81c(0x1c4)]!==_0x221987[_0x29e81c(0x1c4)])return!0x1;for(let _0x11d127=0x0;_0x11d127<_0x41d04d[_0x29e81c(0x1c4)];_0x11d127++)if(_0x41d04d[_0x11d127]!==_0x221987[_0x11d127])return!0x1;return!0x0;}(this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1b5)](_0x4f991a=>_0x4f991a['id']),Array[_0xe80b1a(0x1d9)](this[_0xe80b1a(0x1e4)][_0xe80b1a(0x1d8)]())[_0xe80b1a(0x1b5)](_0x32c8ae=>_0x32c8ae[_0xe80b1a(0x1d2)](_0xe80b1a(0x1c3)))))return!0x1;let _0x36a76d=!0x1;for(let _0xd29193=0x0;_0xd29193<this[_0xe80b1a(0x1d1)][_0xe80b1a(0x1c4)];_0xd29193++){const _0xb267ed=this[_0xe80b1a(0x1d1)][_0xd29193],_0x27ccf8=_0x42d9da[_0xe80b1a(0x20f)](_0xb267ed[_0xe80b1a(0x20b)]),_0x2c9ff3=_0x42d9da[_0xe80b1a(0x200)](this[_0xe80b1a(0x1e4)],_0xd29193);_0x27ccf8[_0xe80b1a(0x20e)](_0x2c9ff3)||(_0x42d9da[_0xe80b1a(0x1b2)](_0x42d9da[_0xe80b1a(0x205)](_0xb267ed[_0xe80b1a(0x20b)]),_0x2c9ff3),_0x36a76d=!0x0);}return _0x36a76d;}[_0xcd3880(0x1d5)](_0xee0983){const _0x4ab0c=_0xcd3880;if(!this[_0x4ab0c(0x1d1)][_0x4ab0c(0x1c4)])return!0x1;const {model:_0x2fa468}=this[_0x4ab0c(0x1f7)];let _0x3d8198=!0x1;for(let _0xf56d8f=0x0;_0xf56d8f<this[_0x4ab0c(0x1d1)][_0x4ab0c(0x1c4)]-0x1;_0xf56d8f++){const _0x51772e=this[_0x4ab0c(0x1d1)][_0xf56d8f],_0x11f5ae=this[_0x4ab0c(0x1d1)][_0xf56d8f+0x1],_0x226f7b=_0x2fa468[_0x4ab0c(0x20f)](_0x51772e[_0x4ab0c(0x1f5)]),_0xa46100=_0x2fa468[_0x4ab0c(0x20f)](_0x11f5ae[_0x4ab0c(0x1f5)]);_0x4ab0c(0x209)===_0x226f7b[_0x4ab0c(0x1cb)](_0xa46100)&&(this[_0x4ab0c(0x1b7)](_0xee0983,_0x51772e[_0x4ab0c(0x1f5)]),_0xf56d8f=-0x1,_0x3d8198=!0x0);}return _0x3d8198;}}function _(_0x32102a,_0x49bc38,_0x4fb60a){const _0x3a34c6=_0xcd3880;if(_0x4fb60a[_0x3a34c6(0x1ee)])return!0x1;const _0x151278=_0x49bc38?_0x3a34c6(0x20c):_0x3a34c6(0x1e5);return _0x32102a[_0x3a34c6(0x1ef)](_0x32102a[_0x3a34c6(0x1cd)](_0x151278),_0x4fb60a),!0x0;}function I(_0x582650,_0x3e2899,_0xed4681){const _0x2843ac=_0xcd3880;if(0x0===_0x3e2899[_0x2843ac(0x1c4)])return 0x0;const _0x1a3bc2=_0x582650[_0x2843ac(0x20f)](_0xed4681);for(let _0x5417a1=0x0;_0x5417a1<_0x3e2899[_0x2843ac(0x1c4)];_0x5417a1++){const _0x437097=_0x3e2899[_0x5417a1],_0x3b8278=_0x582650[_0x2843ac(0x20f)](_0x437097[_0x2843ac(0x1f5)]);if(_0x2843ac(0x1bc)===_0x1a3bc2[_0x2843ac(0x1cb)](_0x3b8278))return _0x5417a1;}const _0x18776a=_0xed4681[_0x2843ac(0x1b0)];let _0x25a84a=-0x1;for(let _0x698360=_0x3e2899[_0x2843ac(0x1c4)]-0x1;_0x698360>=0x0;_0x698360--)if(_0x3e2899[_0x698360][_0x2843ac(0x1f5)][_0x2843ac(0x1b0)]===_0x18776a){_0x25a84a=_0x698360;break;}if(-0x1!==_0x25a84a)return _0x25a84a+0x1;const _0x4853eb=_0x582650[_0x2843ac(0x1f2)][_0x2843ac(0x207)](),_0x2c8cd4=_0x4853eb[_0x2843ac(0x1fe)](_0x18776a[_0x2843ac(0x1c9)]),_0x422997=_0x4853eb[_0x2c8cd4+0x1];if(_0x422997){for(let _0x2d6fe7=0x0;_0x2d6fe7<_0x3e2899[_0x2843ac(0x1c4)];_0x2d6fe7++)if(_0x3e2899[_0x2d6fe7][_0x2843ac(0x1f5)][_0x2843ac(0x1b0)][_0x2843ac(0x1c9)]===_0x422997)return _0x2d6fe7;}return _0x3e2899[_0x2843ac(0x1c4)];}
23
+ function _0x5701(_0x1c4218,_0x398fc1){const _0x12cd2d=_0x12cd();return _0x5701=function(_0x5701b4,_0x441c72){_0x5701b4=_0x5701b4-0x191;let _0x344da4=_0x12cd2d[_0x5701b4];return _0x344da4;},_0x5701(_0x1c4218,_0x398fc1);}const _0x204258=_0x5701;(function(_0x4dde97,_0x2a1b9e){const _0x2d6ea8=_0x5701,_0x45898b=_0x4dde97();while(!![]){try{const _0x41e29b=parseInt(_0x2d6ea8(0x1c4))/0x1*(parseInt(_0x2d6ea8(0x1cf))/0x2)+-parseInt(_0x2d6ea8(0x1e3))/0x3*(-parseInt(_0x2d6ea8(0x1ab))/0x4)+parseInt(_0x2d6ea8(0x1c9))/0x5*(-parseInt(_0x2d6ea8(0x1d1))/0x6)+parseInt(_0x2d6ea8(0x1d6))/0x7+-parseInt(_0x2d6ea8(0x1e0))/0x8+-parseInt(_0x2d6ea8(0x1ac))/0x9*(parseInt(_0x2d6ea8(0x1b2))/0xa)+parseInt(_0x2d6ea8(0x195))/0xb*(parseInt(_0x2d6ea8(0x1b0))/0xc);if(_0x41e29b===_0x2a1b9e)break;else _0x45898b['push'](_0x45898b['shift']());}catch(_0x419a70){_0x45898b['push'](_0x45898b['shift']());}}}(_0x12cd,0xd41b6));import{Plugin as _0x165053}from'ckeditor5/src/core.js';function _0x12cd(){const _0x1f9167=['5479910qelmlf','_updateFootnotesCounters','getRootNames','before','append','from','footnoteCounter','init','end','reference','set','listenTo','length','_footnoteDefsContainerTracker','isEqual','low','_sortFootnoteDefinitions','root','897665sLYDKQ','_footnotesDefinitions','editor','after','_footnotes','1315zpnodU','reset','setAttribute','move','createRangeOn','get','2uDZDYc','getFootnotesFormatter','27006bQWcpm','setFootnoteFormatter','compareWith','_footnoteFormatter','footnoteInlineContent','8779183qOjoOB','add','differ','_ensureFootnotesReferencesHaveProperOrder','getFootnotes','has','_handleFootnotesDefinitionsObjectSync','findIndex','some','_handleRemoveFootnoteReferenceById','87872emJOGt','map','_updateFootnoteRefCounter','135HshPYV','getChanges','childCount','change:data','footnotes.multiBlock','document','createPositionBefore','getFootnote','_handleFootnoteDefinitionsChanges','insert','registerPostFixer','pluginName','min','splice','definition','$graveyard','footnoteRef','_ensureFootnotesDefinitionsContainerExists','find','indexOf','paragraph','push','createRangeIn','footnoteDefinition','_footnoteDefsTracker','1331AgIIAl','isOfficialPlugin','isPremiumPlugin','_handleFootnotesDefinitionsObjectChanges','model','unshift','createElement','createPositionAt','_handleInsertedFootnoteReference','enqueueChange','getFootnotesDefinitionsObjectElement','singleton','getAttribute','FootnotesTracker','getChildren','footnotesDefinitions','footnoteId','parent','config','_handleFootnoteReferencesChanges','_footnoteRefsTracker','high','9420aozZuf','27mNHcUq','rootName','_handleMovedFootnoteReference','_insertEmptyFootnotesDefinitionsContainer','143772xizAgy','remove'];_0x12cd=function(){return _0x1f9167;};return _0x12cd();}import{ModelElementTracker as _0x188c31}from'./modelelementtracker.js';export class FootnotesTracker extends _0x165053{[_0x204258(0x1c8)]=[];[_0x204258(0x1c5)]=null;[_0x204258(0x1d4)]=null;[_0x204258(0x1bf)];[_0x204258(0x1a9)];[_0x204258(0x194)];static get[_0x204258(0x1ee)](){const _0x5aebd4=_0x204258;return _0x5aebd4(0x1a2);}static get[_0x204258(0x196)](){return!0x0;}static get[_0x204258(0x197)](){return!0x0;}constructor(_0x3136a6){const _0x568c18=_0x204258;super(_0x3136a6),this[_0x568c18(0x1bf)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x1a4),'getElementKey':()=>_0x568c18(0x1a0)}),this[_0x568c18(0x1a9)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x1f3),'getElementKey':_0x3c2815=>_0x3c2815[_0x568c18(0x1a1)](_0x568c18(0x1a5))}),this[_0x568c18(0x194)]=new _0x188c31(this[_0x568c18(0x1c6)][_0x568c18(0x199)],{'elementName':_0x568c18(0x193),'getElementKey':_0x498dcb=>_0x498dcb[_0x568c18(0x1a1)](_0x568c18(0x1a5))});}[_0x204258(0x1b9)](){const _0x19b97f=_0x204258,{editor:_0x3c3aad}=this,{model:_0x320ed4,data:_0x58f3fb}=_0x3c3aad;_0x320ed4[_0x19b97f(0x1e8)][_0x19b97f(0x1ed)](_0x664467=>{const _0x2fec9b=_0x19b97f,_0x1f585d=_0x320ed4[_0x2fec9b(0x1e8)][_0x2fec9b(0x1d8)][_0x2fec9b(0x1e4)]();let _0x16b886=!0x1;return this[_0x2fec9b(0x198)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1eb)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1a8)](_0x664467,_0x1f585d)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1d9)](_0x664467)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1dc)](_0x664467)&&(_0x16b886=!0x0),this[_0x2fec9b(0x1c2)](_0x664467)&&(_0x16b886=!0x0),_0x16b886;}),this[_0x19b97f(0x1bd)](_0x320ed4[_0x19b97f(0x1e8)],_0x19b97f(0x1e6),()=>{const _0x381c3b=_0x19b97f;_0x320ed4[_0x381c3b(0x19e)]({'isUndoable':!0x1},_0x16f3dd=>{const _0x9a6e42=_0x381c3b;this[_0x9a6e42(0x1f4)](_0x16f3dd);});},{'priority':_0x19b97f(0x1c1)}),this[_0x19b97f(0x1bd)](_0x58f3fb,_0x19b97f(0x1bc),()=>{const _0x35c86c=_0x19b97f;this[_0x35c86c(0x1c8)]=[],this[_0x35c86c(0x1bf)][_0x35c86c(0x1ca)](),this[_0x35c86c(0x1a9)][_0x35c86c(0x1ca)](),this[_0x35c86c(0x194)][_0x35c86c(0x1ca)]();},{'priority':_0x19b97f(0x1aa)});}[_0x204258(0x19f)](){const _0x5abc27=_0x204258;return this[_0x5abc27(0x1c5)];}[_0x204258(0x1ea)](_0x55138d){const _0x978ed5=_0x204258;return this[_0x978ed5(0x1c8)][_0x978ed5(0x1f5)](_0x22a982=>_0x22a982['id']===_0x55138d)||null;}[_0x204258(0x1da)](){const _0x3c6246=_0x204258;return Array[_0x3c6246(0x1b7)](this[_0x3c6246(0x1c8)]);}[_0x204258(0x1d0)](){const _0x53a7bd=_0x204258;return this[_0x53a7bd(0x1d4)];}[_0x204258(0x1d2)](_0x4afc27){const _0x38c8fc=_0x204258;this[_0x38c8fc(0x1d4)]=_0x4afc27;}[_0x204258(0x1b3)](_0x11e3c7,_0x22544a=0x0){const _0x184184=_0x204258;let _0x3b4e1c=!0x1;for(let _0x36c077=_0x22544a;_0x36c077<this[_0x184184(0x1c8)][_0x184184(0x1be)];_0x36c077++)this[_0x184184(0x1e2)](_0x11e3c7,_0x36c077)&&(_0x3b4e1c=!0x0);return _0x3b4e1c;}[_0x204258(0x1af)](_0x9eda14,_0x38e084){const _0x5ec68b=_0x204258,_0x1df37e=_0x9eda14[_0x5ec68b(0x19b)](_0x5ec68b(0x1a4),{});return _0x9eda14[_0x5ec68b(0x1b6)](_0x1df37e,_0x38e084),this[_0x5ec68b(0x1c5)]=_0x1df37e,_0x1df37e;}[_0x204258(0x1f4)](_0x486d09){const _0x4544bb=_0x204258;if(!this[_0x4544bb(0x1c8)][_0x4544bb(0x1be)]||this[_0x4544bb(0x1c5)])return;const _0x5efaf7=this[_0x4544bb(0x1c8)][0x0][_0x4544bb(0x1bb)][_0x4544bb(0x1c3)],_0xafbea5=this[_0x4544bb(0x1af)](_0x486d09,_0x5efaf7);for(const _0x5e0866 of this[_0x4544bb(0x1c8)])_0x5e0866[_0x4544bb(0x1f1)][_0x4544bb(0x1a6)]||_0x486d09[_0x4544bb(0x1ec)](_0x5e0866[_0x4544bb(0x1f1)],_0xafbea5,_0x4544bb(0x1ba));this[_0x4544bb(0x1b3)](_0x486d09);}[_0x204258(0x198)](_0x57ce5d,_0x1ceab9){const _0x4bdef0=_0x204258;let _0x5d74ec=!0x1;const {inserted:_0x3bf178,removed:_0x50c4de,moved:_0x558eae}=this[_0x4bdef0(0x1bf)][_0x4bdef0(0x1e4)](_0x1ceab9);if(_0x558eae[_0x4bdef0(0x1be)]&&(this[_0x4bdef0(0x1c5)]=_0x558eae[0x0]),_0x3bf178[_0x4bdef0(0x1be)]){if(_0x3bf178[_0x4bdef0(0x1be)]>0x1||this[_0x4bdef0(0x1c5)]&&_0x3bf178[_0x4bdef0(0x1de)](_0x2c9f7c=>_0x2c9f7c!==this[_0x4bdef0(0x1c5)])){const _0x58d1bd=_0x57ce5d[_0x4bdef0(0x19b)](_0x4bdef0(0x1a4),{}),_0x21dc10=[];this[_0x4bdef0(0x1c5)]&&_0x21dc10[_0x4bdef0(0x191)](this[_0x4bdef0(0x1c5)]),_0x21dc10[_0x4bdef0(0x191)](..._0x3bf178),_0x57ce5d[_0x4bdef0(0x1ec)](_0x58d1bd,_0x21dc10[0x0],_0x4bdef0(0x1b5));for(const _0x50c64c of _0x21dc10)_0x57ce5d[_0x4bdef0(0x1cc)](_0x57ce5d[_0x4bdef0(0x192)](_0x50c64c),_0x57ce5d[_0x4bdef0(0x19c)](_0x58d1bd,_0x4bdef0(0x1ba))),_0x57ce5d[_0x4bdef0(0x1b1)](_0x50c64c);this[_0x4bdef0(0x1c5)]=_0x58d1bd,this[_0x4bdef0(0x1b3)](_0x57ce5d),_0x5d74ec=!0x0;}else this[_0x4bdef0(0x1c5)]=_0x3bf178[0x0];}if(_0x50c4de[_0x4bdef0(0x1be)]&&_0x4bdef0(0x1f2)===this[_0x4bdef0(0x1c5)]?.[_0x4bdef0(0x1c3)][_0x4bdef0(0x1ad)]){for(const _0x452df3 of this[_0x4bdef0(0x1c8)])_0x57ce5d[_0x4bdef0(0x1b1)](_0x452df3[_0x4bdef0(0x1bb)]),_0x5d74ec=!0x0;this[_0x4bdef0(0x1c8)]=[],this[_0x4bdef0(0x1c5)]=null;}return _0x5d74ec;}[_0x204258(0x1eb)](_0x3323ca,_0x1b870b){const _0x2cbb85=_0x204258;let _0x4c13a5=!0x1;const _0x4edff4=this[_0x2cbb85(0x1c6)][_0x2cbb85(0x1a7)][_0x2cbb85(0x1ce)](_0x2cbb85(0x1e7)),{inserted:_0x42cc1d,moved:_0x3b1259}=this[_0x2cbb85(0x194)][_0x2cbb85(0x1e4)](_0x1b870b);for(const _0x5dc732 of[..._0x3b1259,..._0x42cc1d]){const _0x7a940a=_0x5dc732[_0x2cbb85(0x1a1)](_0x2cbb85(0x1a5)),_0xe0cd70=this[_0x2cbb85(0x1ea)](_0x7a940a);_0xe0cd70&&(_0xe0cd70[_0x2cbb85(0x1f1)]=_0x5dc732),_(_0x3323ca,_0x4edff4,_0x5dc732)&&(_0x4c13a5=!0x0);}return _0x4c13a5;}[_0x204258(0x1a8)](_0x575658,_0x3d5547){const _0x5091f8=_0x204258;let _0x5429f5=!0x1;const {removed:_0x5ce73f,inserted:_0x24c35d,moved:_0xdb8e32}=this[_0x5091f8(0x1a9)][_0x5091f8(0x1e4)](_0x3d5547);for(const _0x21c1de of _0x5ce73f)this[_0x5091f8(0x1df)](_0x575658,_0x21c1de)&&(_0x5429f5=!0x0);for(const _0x17b609 of _0x24c35d)this[_0x5091f8(0x19d)](_0x575658,_0x17b609)&&(_0x5429f5=!0x0);for(const _0x5bb0d4 of _0xdb8e32)this[_0x5091f8(0x1ae)](_0x575658,_0x5bb0d4)&&(_0x5429f5=!0x0);return _0x5429f5;}[_0x204258(0x1dc)](_0x44a584){const _0x3cf637=_0x204258;if(!this[_0x3cf637(0x1c5)])return!0x1;let _0x412925=!0x1;if(this[_0x3cf637(0x1c5)][_0x3cf637(0x1e5)]!==this[_0x3cf637(0x1c8)][_0x3cf637(0x1be)]){const _0x1d977a=[];for(const _0x4e0fcf of this[_0x3cf637(0x1c5)][_0x3cf637(0x1a3)]()){const _0x452b17=_0x4e0fcf[_0x3cf637(0x1a1)](_0x3cf637(0x1a5));this[_0x3cf637(0x1ea)](_0x452b17)||(_0x1d977a[_0x3cf637(0x19a)](_0x4e0fcf),_0x412925=!0x0);}for(const _0x3b9f7d of _0x1d977a)_0x44a584[_0x3cf637(0x1b1)](_0x3b9f7d);}const _0x57fb90=new Set(),_0xed7842=[];for(const _0x5f16ff of this[_0x3cf637(0x1c5)][_0x3cf637(0x1a3)]()){const _0xd29eac=_0x5f16ff[_0x3cf637(0x1a1)](_0x3cf637(0x1a5));_0x57fb90[_0x3cf637(0x1db)](_0xd29eac)?(_0xed7842[_0x3cf637(0x19a)](_0x5f16ff),_0x412925=!0x0):_0x57fb90[_0x3cf637(0x1d7)](_0xd29eac);}for(const _0x3096e5 of _0xed7842)_0x44a584[_0x3cf637(0x1b1)](_0x3096e5);return this[_0x3cf637(0x1c5)][_0x3cf637(0x1e5)]||(_0x44a584[_0x3cf637(0x1b1)](this[_0x3cf637(0x1c5)]),this[_0x3cf637(0x1c5)]=null,_0x412925=!0x0),_0x412925;}[_0x204258(0x19d)](_0x4795ec,_0x1bfaab){const _0x17fec3=_0x204258;if(this[_0x17fec3(0x1c8)][_0x17fec3(0x1f5)](_0x4ab405=>_0x4ab405[_0x17fec3(0x1bb)]===_0x1bfaab))return!0x1;let _0xea2dfa=!0x1;const _0xbf339b=_0x1bfaab[_0x17fec3(0x1a1)](_0x17fec3(0x1a5)),_0x42d0a0=this[_0x17fec3(0x1c8)][_0x17fec3(0x1dd)](_0x12fccd=>_0x12fccd['id']===_0xbf339b);-0x1!==_0x42d0a0&&(_0x4795ec[_0x17fec3(0x1b1)](this[_0x17fec3(0x1c8)][_0x42d0a0][_0x17fec3(0x1bb)]),this[_0x17fec3(0x1c8)][_0x17fec3(0x1f0)](_0x42d0a0,0x1),_0xea2dfa=!0x0);let _0x312966=this[_0x17fec3(0x1c5)]?function(_0x11880c,_0x18f819){const _0x4115c8=_0x17fec3;for(const _0x2d4787 of _0x11880c[_0x4115c8(0x1a3)]())if(_0x2d4787[_0x4115c8(0x1a1)](_0x4115c8(0x1a5))===_0x18f819)return _0x2d4787;return null;}(this[_0x17fec3(0x1c5)],_0xbf339b):null;_0x312966||(_0x312966=_0x4795ec[_0x17fec3(0x19b)](_0x17fec3(0x193),{'footnoteId':_0xbf339b}),this[_0x17fec3(0x1c5)]&&(_0x4795ec[_0x17fec3(0x1ec)](_0x312966,this[_0x17fec3(0x1c5)],_0x17fec3(0x1ba)),_0xea2dfa=!0x0));const _0xca8ed={'id':_0xbf339b,'reference':_0x1bfaab,'definition':_0x312966},_0x2870b4=I(this[_0x17fec3(0x1c6)][_0x17fec3(0x199)],this[_0x17fec3(0x1c8)],_0x1bfaab);this[_0x17fec3(0x1c8)][_0x17fec3(0x1f0)](_0x2870b4,0x0,_0xca8ed);let _0x4edb93=_0x2870b4;return-0x1!==_0x42d0a0&&(_0x4edb93=Math[_0x17fec3(0x1ef)](_0x2870b4,_0x42d0a0)),this[_0x17fec3(0x1b3)](_0x4795ec,_0x4edb93)&&(_0xea2dfa=!0x0),_0xea2dfa;}[_0x204258(0x1df)](_0x215ad4,_0x495a75){const _0x517fc=_0x204258,_0x502ba4=this[_0x517fc(0x1c8)][_0x517fc(0x1dd)](_0x216539=>_0x216539['id']===_0x495a75);if(-0x1===_0x502ba4)return!0x1;let _0xcae38b=!0x1;const _0x2b4b0f=this[_0x517fc(0x1c8)][_0x502ba4];return _0x517fc(0x1f2)!==_0x2b4b0f[_0x517fc(0x1f1)][_0x517fc(0x1c3)][_0x517fc(0x1ad)]&&(_0x215ad4[_0x517fc(0x1b1)](_0x2b4b0f[_0x517fc(0x1f1)]),_0xcae38b=!0x0),this[_0x517fc(0x1c8)][_0x517fc(0x1f0)](_0x502ba4,0x1),this[_0x517fc(0x1b3)](_0x215ad4,_0x502ba4)&&(_0xcae38b=!0x0),_0xcae38b;}[_0x204258(0x1ae)](_0x291aec,_0x4bfca1){const _0x2dffe3=_0x204258,_0x215092=_0x4bfca1[_0x2dffe3(0x1a1)](_0x2dffe3(0x1a5)),_0x3cb546=this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1dd)](_0x24f6dc=>_0x24f6dc['id']===_0x215092),_0x581e0f=this[_0x2dffe3(0x1c8)][_0x3cb546];let _0x577e1f=!0x1;_0x581e0f[_0x2dffe3(0x1bb)]=_0x4bfca1,this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1f0)](_0x3cb546,0x1);const _0x181856=I(this[_0x2dffe3(0x1c6)][_0x2dffe3(0x199)],this[_0x2dffe3(0x1c8)],_0x4bfca1);return this[_0x2dffe3(0x1c8)][_0x2dffe3(0x1f0)](_0x181856,0x0,_0x581e0f),this[_0x2dffe3(0x1b3)](_0x291aec,Math[_0x2dffe3(0x1ef)](_0x3cb546,_0x181856))&&(_0x577e1f=!0x0),_0x577e1f;}[_0x204258(0x1e2)](_0x4fd773,_0x4e1426){const _0x3e2e32=_0x204258;if(!this[_0x3e2e32(0x1c5)])return!0x1;const _0x5e4a40=this[_0x3e2e32(0x1c8)][_0x4e1426];let _0x3c799c;return _0x3c799c=this[_0x3e2e32(0x1d4)]?this[_0x3e2e32(0x1d4)]({'footnote':_0x5e4a40,'container':this[_0x3e2e32(0x1c5)],'digits':String(this[_0x3e2e32(0x1c8)][_0x3e2e32(0x1be)])[_0x3e2e32(0x1be)],'value':_0x4e1426+0x1}):String(_0x4e1426+0x1),_0x5e4a40[_0x3e2e32(0x1bb)][_0x3e2e32(0x1a1)](_0x3e2e32(0x1b8))!=_0x3c799c&&(_0x4fd773[_0x3e2e32(0x1cb)](_0x3e2e32(0x1b8),_0x3c799c,_0x5e4a40[_0x3e2e32(0x1bb)]),!0x0);}[_0x204258(0x1c2)](_0x4b9b23){const _0x1d76a9=_0x204258;if(!this[_0x1d76a9(0x1c5)]||this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1be)]<0x2)return!0x1;if(function(_0x1a707d,_0x1252a0){const _0x301d55=_0x1d76a9;if(_0x1a707d[_0x301d55(0x1be)]!==_0x1252a0[_0x301d55(0x1be)])return!0x1;for(let _0x29e39d=0x0;_0x29e39d<_0x1a707d[_0x301d55(0x1be)];_0x29e39d++)if(_0x1a707d[_0x29e39d]!==_0x1252a0[_0x29e39d])return!0x1;return!0x0;}(this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1e1)](_0x48d85e=>_0x48d85e['id']),Array[_0x1d76a9(0x1b7)](this[_0x1d76a9(0x1c5)][_0x1d76a9(0x1a3)]())[_0x1d76a9(0x1e1)](_0x2c8e04=>_0x2c8e04[_0x1d76a9(0x1a1)](_0x1d76a9(0x1a5)))))return!0x1;let _0x4d7564=!0x1;for(let _0x1123c8=0x0;_0x1123c8<this[_0x1d76a9(0x1c8)][_0x1d76a9(0x1be)];_0x1123c8++){const _0x2be562=this[_0x1d76a9(0x1c8)][_0x1123c8],_0x4842e1=_0x4b9b23[_0x1d76a9(0x1e9)](_0x2be562[_0x1d76a9(0x1f1)]),_0x3484b2=_0x4b9b23[_0x1d76a9(0x19c)](this[_0x1d76a9(0x1c5)],_0x1123c8);_0x4842e1[_0x1d76a9(0x1c0)](_0x3484b2)||(_0x4b9b23[_0x1d76a9(0x1cc)](_0x4b9b23[_0x1d76a9(0x1cd)](_0x2be562[_0x1d76a9(0x1f1)]),_0x3484b2),_0x4d7564=!0x0);}return _0x4d7564;}[_0x204258(0x1d9)](_0x3006e5){const _0x8ad727=_0x204258;if(!this[_0x8ad727(0x1c8)][_0x8ad727(0x1be)])return!0x1;const {model:_0x198135}=this[_0x8ad727(0x1c6)];let _0x4f6315=!0x1;for(let _0x4141b4=0x0;_0x4141b4<this[_0x8ad727(0x1c8)][_0x8ad727(0x1be)]-0x1;_0x4141b4++){const _0x504128=this[_0x8ad727(0x1c8)][_0x4141b4],_0xb331df=this[_0x8ad727(0x1c8)][_0x4141b4+0x1],_0x4d841e=_0x198135[_0x8ad727(0x1e9)](_0x504128[_0x8ad727(0x1bb)]),_0x23f58e=_0x198135[_0x8ad727(0x1e9)](_0xb331df[_0x8ad727(0x1bb)]);_0x8ad727(0x1c7)===_0x4d841e[_0x8ad727(0x1d3)](_0x23f58e)&&(this[_0x8ad727(0x1ae)](_0x3006e5,_0x504128[_0x8ad727(0x1bb)]),_0x4141b4=-0x1,_0x4f6315=!0x0);}return _0x4f6315;}}function _(_0x1ef69e,_0x5c8e8e,_0x5e3685){const _0x5280cc=_0x204258;if(_0x5e3685[_0x5280cc(0x1e5)])return!0x1;const _0x44a4de=_0x5c8e8e?_0x5280cc(0x1f7):_0x5280cc(0x1d5);return _0x1ef69e[_0x5280cc(0x1ec)](_0x1ef69e[_0x5280cc(0x19b)](_0x44a4de),_0x5e3685),!0x0;}function I(_0x3f7860,_0x5db1ef,_0x125d89){const _0xa933c8=_0x204258;if(0x0===_0x5db1ef[_0xa933c8(0x1be)])return 0x0;const _0x5f5031=_0x3f7860[_0xa933c8(0x1e9)](_0x125d89);for(let _0x4e0b15=0x0;_0x4e0b15<_0x5db1ef[_0xa933c8(0x1be)];_0x4e0b15++){const _0x293293=_0x5db1ef[_0x4e0b15],_0x48d256=_0x3f7860[_0xa933c8(0x1e9)](_0x293293[_0xa933c8(0x1bb)]);if(_0xa933c8(0x1b5)===_0x5f5031[_0xa933c8(0x1d3)](_0x48d256))return _0x4e0b15;}const _0x79eda4=_0x125d89[_0xa933c8(0x1c3)];let _0x212d6f=-0x1;for(let _0x3291d1=_0x5db1ef[_0xa933c8(0x1be)]-0x1;_0x3291d1>=0x0;_0x3291d1--)if(_0x5db1ef[_0x3291d1][_0xa933c8(0x1bb)][_0xa933c8(0x1c3)]===_0x79eda4){_0x212d6f=_0x3291d1;break;}if(-0x1!==_0x212d6f)return _0x212d6f+0x1;const _0x1305c9=_0x3f7860[_0xa933c8(0x1e8)][_0xa933c8(0x1b4)](),_0x5d39f4=_0x1305c9[_0xa933c8(0x1f6)](_0x79eda4[_0xa933c8(0x1ad)]),_0x108470=_0x1305c9[_0x5d39f4+0x1];if(_0x108470){for(let _0x4b6d24=0x0;_0x4b6d24<_0x5db1ef[_0xa933c8(0x1be)];_0x4b6d24++)if(_0x5db1ef[_0x4b6d24][_0xa933c8(0x1bb)][_0xa933c8(0x1c3)][_0xa933c8(0x1ad)]===_0x108470)return _0x4b6d24;}return _0x5db1ef[_0xa933c8(0x1be)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4de47c,MenuBarMenuListItemButtonView as _0x421f15}from'ckeditor5/src/ui.js';import{Plugin as _0x722515}from'ckeditor5/src/core.js';import{IconFootnote as _0x5ed1f0}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x722515{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x148e4a}=this,{componentFactory:_0x37bfbc}=_0x148e4a['ui'];_0x37bfbc['add']('insertFootnote',x(_0x148e4a,_0x4de47c)),_0x37bfbc['add']('menuBar:insertFootnote',x(_0x148e4a,_0x421f15)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x1abf60=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xd7f41c;for(const _0x45e272 in _0x1abf60){const _0x4cf262=_0x45e272,_0x2e80a1=_0x1abf60[_0x4cf262];if('footnotesLicenseKeyValid'==_0x2e80a1||'footnotesLicenseKeyInvalid'==_0x2e80a1||'footnotesLicenseKeyExpired'==_0x2e80a1||'footnotesLicenseKeyDomainLimit'==_0x2e80a1||'footnotesLicenseKeyNotAllowed'==_0x2e80a1||'footnotesLicenseKeyEvaluationLimit'==_0x2e80a1||'footnotesLicenseKeyTrialLimit'==_0x2e80a1||'footnotesLicenseKeyUsageLimit'==_0x2e80a1){delete _0x1abf60[_0x4cf262],_0xd7f41c=_0x2e80a1,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xd7f41c&&_0x1abf60['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xd7f41c&&_0x1abf60['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xd7f41c&&_0x1abf60['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xd7f41c&&_0x1abf60['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2c56fc,_0x25e221){const _0x2db97c=_0x2c56fc['commands']['get']('insertFootnote');return _0x352715=>{const {t:t}=_0x352715,_0x5bbaca=new _0x25e221(_0x352715),_0x1e400c=_0x5bbaca instanceof _0x421f15;return _0x5bbaca['bind']('isEnabled')['to'](_0x2db97c,'isEnabled'),_0x5bbaca['set']({'label':t(_0x1e400c?'Footnote':'Insert\x20footnote'),'icon':_0x5ed1f0,'tooltip':!0x0}),_0x5bbaca['on']('execute',()=>{_0x2db97c['execute'](),_0x2c56fc['editing']['view']['focus']();}),_0x5bbaca;};}
23
+ import{ButtonView as _0x84bd35,MenuBarMenuListItemButtonView as _0x4a969b}from'ckeditor5/src/ui.js';import{Plugin as _0x23dcb5}from'ckeditor5/src/core.js';import{IconFootnote as _0x5570f9}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x23dcb5{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29456e}=this,{componentFactory:_0x4afa96}=_0x29456e['ui'];_0x4afa96['add']('insertFootnote',x(_0x29456e,_0x84bd35)),_0x4afa96['add']('menuBar:insertFootnote',x(_0x29456e,_0x4a969b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4f3c1e=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x516205;for(const _0x5c2dcb in _0x4f3c1e){const _0x122c14=_0x5c2dcb,_0x8b50f0=_0x4f3c1e[_0x122c14];if('footnotesLicenseKeyValid'==_0x8b50f0||'footnotesLicenseKeyInvalid'==_0x8b50f0||'footnotesLicenseKeyExpired'==_0x8b50f0||'footnotesLicenseKeyDomainLimit'==_0x8b50f0||'footnotesLicenseKeyNotAllowed'==_0x8b50f0||'footnotesLicenseKeyEvaluationLimit'==_0x8b50f0||'footnotesLicenseKeyTrialLimit'==_0x8b50f0||'footnotesLicenseKeyUsageLimit'==_0x8b50f0){delete _0x4f3c1e[_0x122c14],_0x516205=_0x8b50f0,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x516205&&_0x4f3c1e['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x516205&&_0x4f3c1e['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x516205&&_0x4f3c1e['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x516205&&_0x4f3c1e['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x3cd3cf,_0x166acf){const _0x366659=_0x3cd3cf['commands']['get']('insertFootnote');return _0x5ca317=>{const {t:t}=_0x5ca317,_0x3ba7b1=new _0x166acf(_0x5ca317),_0x130f54=_0x3ba7b1 instanceof _0x4a969b;return _0x3ba7b1['bind']('isEnabled')['to'](_0x366659,'isEnabled'),_0x3ba7b1['set']({'label':t(_0x130f54?'Footnote':'Insert\x20footnote'),'icon':_0x5570f9,'tooltip':!0x0}),_0x3ba7b1['on']('execute',()=>{_0x366659['execute'](),_0x3cd3cf['editing']['view']['focus']();}),_0x3ba7b1;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x597d(){var _0x38e295=['56cPBMdo','4809238VmxtOU','371724auHQDA','16UNemJc','6kXwjLL','6096700hfJQAW','123507nACPQu','32762fUYKpS','542130MxEWio','584919wisRRR'];_0x597d=function(){return _0x38e295;};return _0x597d();}(function(_0x5a9a20,_0x1ba4cc){var _0x5dbae2=_0x5cdf,_0x1669bd=_0x5a9a20();while(!![]){try{var _0x2dff5b=-parseInt(_0x5dbae2(0x159))/0x1+parseInt(_0x5dbae2(0x155))/0x2*(parseInt(_0x5dbae2(0x158))/0x3)+-parseInt(_0x5dbae2(0x154))/0x4+-parseInt(_0x5dbae2(0x15a))/0x5+parseInt(_0x5dbae2(0x156))/0x6*(-parseInt(_0x5dbae2(0x153))/0x7)+-parseInt(_0x5dbae2(0x15c))/0x8*(-parseInt(_0x5dbae2(0x15b))/0x9)+parseInt(_0x5dbae2(0x157))/0xa;if(_0x2dff5b===_0x1ba4cc)break;else _0x1669bd['push'](_0x1669bd['shift']());}catch(_0x37bbe2){_0x1669bd['push'](_0x1669bd['shift']());}}}(_0x597d,0x736e6));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x5cdf(_0x18aecf,_0x437057){var _0x597dfa=_0x597d();return _0x5cdf=function(_0x5cdfc,_0x4444c1){_0x5cdfc=_0x5cdfc-0x153;var _0x32af48=_0x597dfa[_0x5cdfc];return _0x32af48;},_0x5cdf(_0x18aecf,_0x437057);}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x54a964,_0x9be0ef){var _0x595dea=_0x40f7,_0x4aa34b=_0x54a964();while(!![]){try{var _0x55b3b1=-parseInt(_0x595dea(0x1ec))/0x1+-parseInt(_0x595dea(0x1eb))/0x2*(-parseInt(_0x595dea(0x1ee))/0x3)+-parseInt(_0x595dea(0x1ed))/0x4+-parseInt(_0x595dea(0x1f0))/0x5+parseInt(_0x595dea(0x1ea))/0x6*(parseInt(_0x595dea(0x1f3))/0x7)+-parseInt(_0x595dea(0x1f4))/0x8*(-parseInt(_0x595dea(0x1f2))/0x9)+parseInt(_0x595dea(0x1f1))/0xa*(parseInt(_0x595dea(0x1ef))/0xb);if(_0x55b3b1===_0x9be0ef)break;else _0x4aa34b['push'](_0x4aa34b['shift']());}catch(_0x106ac3){_0x4aa34b['push'](_0x4aa34b['shift']());}}}(_0x3ab7,0xac6c7));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x40f7(_0x131268,_0x339e10){var _0x3ab772=_0x3ab7();return _0x40f7=function(_0x40f790,_0x15e340){_0x40f790=_0x40f790-0x1ea;var _0x207947=_0x3ab772[_0x40f790];return _0x207947;},_0x40f7(_0x131268,_0x339e10);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x3ab7(){var _0x50b10d=['8PHaOul','437748UxRgwX','117776DFDAEW','1112285hSSjjx','3628900XasECX','33BXiphQ','11jQEjNi','6748830rFPxYk','21492080mugNwk','10193679bQJGyB','14wuDhix'];_0x3ab7=function(){return _0x50b10d;};return _0x3ab7();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x565e96=_0x46b9;function _0x46b9(_0x4d9b56,_0x38ba3a){const _0x5b6c3=_0x5b6c();return _0x46b9=function(_0x46b9ef,_0x102bbd){_0x46b9ef=_0x46b9ef-0xb5;let _0x2bff78=_0x5b6c3[_0x46b9ef];return _0x2bff78;},_0x46b9(_0x4d9b56,_0x38ba3a);}function _0x5b6c(){const _0x45d911=['_getElementKey','20lKEDzt','insert','values','$text','delete','createRangeOn','getChanges','elementName','add','name','328614wbrMkL','6UUylUh','_trackedElements','root','element','461630fPwkit','clear','position','$graveyard','get','27JPvwTY','724155jCwdkn','type','_model','1034848aiVdMp','remove','nodeAfter','attributes','reset','_elementName','set','from','996666OvGXVd','rootName','42986vrbuCV','189DRSmJx','getElementKey','length','getItems','slice','230211yrIFYb','has','push','flat'];_0x5b6c=function(){return _0x45d911;};return _0x5b6c();}(function(_0x1251bd,_0x3467f3){const _0xc9ac6c=_0x46b9,_0x29cff9=_0x1251bd();while(!![]){try{const _0xcd5507=-parseInt(_0xc9ac6c(0xc5))/0x1*(parseInt(_0xc9ac6c(0xdb))/0x2)+parseInt(_0xc9ac6c(0xcb))/0x3+-parseInt(_0xc9ac6c(0xd0))/0x4*(parseInt(_0xc9ac6c(0xb8))/0x5)+parseInt(_0xc9ac6c(0xda))/0x6*(parseInt(_0xc9ac6c(0xc6))/0x7)+parseInt(_0xc9ac6c(0xbb))/0x8+-parseInt(_0xc9ac6c(0xb7))/0x9*(parseInt(_0xc9ac6c(0xdf))/0xa)+parseInt(_0xc9ac6c(0xc3))/0xb;if(_0xcd5507===_0x3467f3)break;else _0x29cff9['push'](_0x29cff9['shift']());}catch(_0x4ba622){_0x29cff9['push'](_0x29cff9['shift']());}}}(_0x5b6c,0xbf5f4));export class ModelElementTracker{[_0x565e96(0xba)];[_0x565e96(0xc0)];[_0x565e96(0xcf)];[_0x565e96(0xdc)]=new Map();constructor(_0x6c6bdc,_0x5c672a){const _0x502226=_0x565e96;this[_0x502226(0xba)]=_0x6c6bdc,this[_0x502226(0xc0)]=_0x5c672a[_0x502226(0xd7)],this[_0x502226(0xcf)]=_0x5c672a[_0x502226(0xc7)];}[_0x565e96(0xbf)](){const _0x401e9c=_0x565e96;this[_0x401e9c(0xdc)][_0x401e9c(0xe0)]();}[_0x565e96(0xd6)](_0xe990c2){const _0x55e2e4=_0x565e96,_0x13e907=new Set(),_0x262282=new Map();for(const _0x5495c6 of _0xe990c2){if(_0x55e2e4(0xd1)===_0x5495c6[_0x55e2e4(0xb9)]&&_0x55e2e4(0xd3)!==_0x5495c6[_0x55e2e4(0xd9)]&&_0x5495c6[_0x55e2e4(0xe1)][_0x55e2e4(0xbd)]){const _0x2384d8=this[_0x55e2e4(0xba)][_0x55e2e4(0xd5)](_0x5495c6[_0x55e2e4(0xe1)][_0x55e2e4(0xbd)]);for(const _0x168e6e of _0x2384d8[_0x55e2e4(0xc9)]()){if(!_0x168e6e['is'](_0x55e2e4(0xde),this[_0x55e2e4(0xc0)]))continue;const _0x278785=this[_0x55e2e4(0xcf)](_0x168e6e);_0x262282[_0x55e2e4(0xcc)](_0x278785)||_0x262282[_0x55e2e4(0xc1)](_0x278785,[]),_0x262282[_0x55e2e4(0xb6)](_0x278785)[_0x55e2e4(0xcd)](_0x168e6e);}}if(_0x55e2e4(0xbc)===_0x5495c6[_0x55e2e4(0xb9)]&&_0x5495c6[_0x55e2e4(0xd9)]===this[_0x55e2e4(0xc0)]){const _0x560636=this[_0x55e2e4(0xcf)]({'getAttribute':_0x411d42=>_0x5495c6[_0x55e2e4(0xbe)][_0x55e2e4(0xb6)](_0x411d42)});_0x13e907[_0x55e2e4(0xd8)](_0x560636);}}for(const [_0x36749d,_0x2894f0]of this[_0x55e2e4(0xdc)])_0x55e2e4(0xb5)===_0x2894f0[_0x55e2e4(0xdd)][_0x55e2e4(0xc4)]&&_0x13e907[_0x55e2e4(0xd8)](_0x36749d);for(const _0x400e88 of _0x13e907)this[_0x55e2e4(0xdc)][_0x55e2e4(0xd4)](_0x400e88);for(const [_0x279b6c,_0x40a892]of _0x262282)this[_0x55e2e4(0xdc)][_0x55e2e4(0xc1)](_0x279b6c,_0x40a892[_0x40a892[_0x55e2e4(0xc8)]-0x1]);const _0x317e87=new Set();for(const [_0x59c3a1,_0x2d9a45]of _0x262282)_0x13e907[_0x55e2e4(0xcc)](_0x59c3a1)&&(_0x317e87[_0x55e2e4(0xd8)](_0x2d9a45[0x0]),_0x2d9a45[_0x55e2e4(0xc8)]>0x1?_0x262282[_0x55e2e4(0xc1)](_0x59c3a1,_0x2d9a45[_0x55e2e4(0xca)](0x1)):_0x262282[_0x55e2e4(0xd4)](_0x59c3a1),_0x13e907[_0x55e2e4(0xd4)](_0x59c3a1));return{'removed':Array[_0x55e2e4(0xc2)](_0x13e907),'inserted':Array[_0x55e2e4(0xc2)](_0x262282[_0x55e2e4(0xd2)]())[_0x55e2e4(0xce)](),'moved':Array[_0x55e2e4(0xc2)](_0x317e87)};}}
23
+ function _0x4a32(_0x4f9225,_0x5bd89f){const _0x23e6bf=_0x23e6();return _0x4a32=function(_0x4a3208,_0x50babc){_0x4a3208=_0x4a3208-0xbf;let _0x24bd38=_0x23e6bf[_0x4a3208];return _0x24bd38;},_0x4a32(_0x4f9225,_0x5bd89f);}const _0x4ce236=_0x4a32;function _0x23e6(){const _0x13168f=['attributes','push','1051505LKhMfb','251528LjMCef','_model','element','18pvsmao','rootName','nodeAfter','getElementKey','1214899NIJgYo','flat','$text','length','clear','slice','2454770mkCbkY','from','6TStoSh','has','_elementName','_getElementKey','remove','insert','20dDAWaD','$graveyard','1680108AdPdfs','set','type','root','values','getItems','_trackedElements','104955gPKNLq','elementName','delete','name','reset','createRangeOn','add','get','position','30428cwjmiO','getChanges'];_0x23e6=function(){return _0x13168f;};return _0x23e6();}(function(_0x60cbf1,_0x755b61){const _0x1608b4=_0x4a32,_0x579a5a=_0x60cbf1();while(!![]){try{const _0x35c468=parseInt(_0x1608b4(0xd1))/0x1*(-parseInt(_0x1608b4(0xe9))/0x2)+parseInt(_0x1608b4(0xe0))/0x3*(parseInt(_0x1608b4(0xd7))/0x4)+-parseInt(_0x1608b4(0xc1))/0x5+parseInt(_0x1608b4(0xd9))/0x6+-parseInt(_0x1608b4(0xc9))/0x7+-parseInt(_0x1608b4(0xc2))/0x8*(parseInt(_0x1608b4(0xc5))/0x9)+parseInt(_0x1608b4(0xcf))/0xa;if(_0x35c468===_0x755b61)break;else _0x579a5a['push'](_0x579a5a['shift']());}catch(_0x1cf348){_0x579a5a['push'](_0x579a5a['shift']());}}}(_0x23e6,0x27a5c));export class ModelElementTracker{[_0x4ce236(0xc3)];[_0x4ce236(0xd3)];[_0x4ce236(0xd4)];[_0x4ce236(0xdf)]=new Map();constructor(_0x903e73,_0x2a9db7){const _0x356e89=_0x4ce236;this[_0x356e89(0xc3)]=_0x903e73,this[_0x356e89(0xd3)]=_0x2a9db7[_0x356e89(0xe1)],this[_0x356e89(0xd4)]=_0x2a9db7[_0x356e89(0xc8)];}[_0x4ce236(0xe4)](){const _0x1ecb73=_0x4ce236;this[_0x1ecb73(0xdf)][_0x1ecb73(0xcd)]();}[_0x4ce236(0xea)](_0x1ef861){const _0x4aec6a=_0x4ce236,_0x2ba5fc=new Set(),_0x1c0376=new Map();for(const _0x3783f0 of _0x1ef861){if(_0x4aec6a(0xd6)===_0x3783f0[_0x4aec6a(0xdb)]&&_0x4aec6a(0xcb)!==_0x3783f0[_0x4aec6a(0xe3)]&&_0x3783f0[_0x4aec6a(0xe8)][_0x4aec6a(0xc7)]){const _0x4adbc0=this[_0x4aec6a(0xc3)][_0x4aec6a(0xe5)](_0x3783f0[_0x4aec6a(0xe8)][_0x4aec6a(0xc7)]);for(const _0x594fa3 of _0x4adbc0[_0x4aec6a(0xde)]()){if(!_0x594fa3['is'](_0x4aec6a(0xc4),this[_0x4aec6a(0xd3)]))continue;const _0x4dd563=this[_0x4aec6a(0xd4)](_0x594fa3);_0x1c0376[_0x4aec6a(0xd2)](_0x4dd563)||_0x1c0376[_0x4aec6a(0xda)](_0x4dd563,[]),_0x1c0376[_0x4aec6a(0xe7)](_0x4dd563)[_0x4aec6a(0xc0)](_0x594fa3);}}if(_0x4aec6a(0xd5)===_0x3783f0[_0x4aec6a(0xdb)]&&_0x3783f0[_0x4aec6a(0xe3)]===this[_0x4aec6a(0xd3)]){const _0x5bd94d=this[_0x4aec6a(0xd4)]({'getAttribute':_0x593402=>_0x3783f0[_0x4aec6a(0xbf)][_0x4aec6a(0xe7)](_0x593402)});_0x2ba5fc[_0x4aec6a(0xe6)](_0x5bd94d);}}for(const [_0x1ddb06,_0x16720b]of this[_0x4aec6a(0xdf)])_0x4aec6a(0xd8)===_0x16720b[_0x4aec6a(0xdc)][_0x4aec6a(0xc6)]&&_0x2ba5fc[_0x4aec6a(0xe6)](_0x1ddb06);for(const _0x35abd5 of _0x2ba5fc)this[_0x4aec6a(0xdf)][_0x4aec6a(0xe2)](_0x35abd5);for(const [_0x5cb1f3,_0x8a728d]of _0x1c0376)this[_0x4aec6a(0xdf)][_0x4aec6a(0xda)](_0x5cb1f3,_0x8a728d[_0x8a728d[_0x4aec6a(0xcc)]-0x1]);const _0x26e194=new Set();for(const [_0x2deef5,_0x2c258d]of _0x1c0376)_0x2ba5fc[_0x4aec6a(0xd2)](_0x2deef5)&&(_0x26e194[_0x4aec6a(0xe6)](_0x2c258d[0x0]),_0x2c258d[_0x4aec6a(0xcc)]>0x1?_0x1c0376[_0x4aec6a(0xda)](_0x2deef5,_0x2c258d[_0x4aec6a(0xce)](0x1)):_0x1c0376[_0x4aec6a(0xe2)](_0x2deef5),_0x2ba5fc[_0x4aec6a(0xe2)](_0x2deef5));return{'removed':Array[_0x4aec6a(0xd0)](_0x2ba5fc),'inserted':Array[_0x4aec6a(0xd0)](_0x1c0376[_0x4aec6a(0xdd)]())[_0x4aec6a(0xca)](),'moved':Array[_0x4aec6a(0xd0)](_0x26e194)};}}