@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251112.0 → 0.0.0-nightly-20251113.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 _0x42fd68}from'ckeditor5/src/core.js';import{isWidget as _0x487311,toWidget as _0x3456d9,toWidgetEditable as _0xfc3fa0}from'ckeditor5/src/widget.js';import{uid as _0x58b574}from'ckeditor5/src/utils.js';import{PointerObserver as _0x7d9fc4,ClickObserver as _0xdee22c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x102be0}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x401837}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x42fd68{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x102be0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x316470}=this;_0x316470['config']['define']('footnotes.multiBlock',!0x0),_0x316470['commands']['add']('insertFootnote',new _0x401837(_0x316470)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x30aba5){const _0x2d3f68=_0x326044([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]),_0xebd83c=0x47a28506,_0x47c609=0x47a5fdfe^_0xebd83c,_0x32d4fd=window[_0x326044([0x44,0x61,0x74,0x65])][_0x326044([0x6e,0x6f,0x77])](),_0x1db934=_0x30aba5[_0x326044([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x556b35=new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x58ced1=>{_0x1db934[_0x326044([0x6f,0x6e,0x63,0x65])](_0x326044([0x72,0x65,0x61,0x64,0x79]),_0x58ced1);}),_0x19c805={[_0x326044([0x6b,0x74,0x79])]:_0x326044([0x45,0x43]),[_0x326044([0x75,0x73,0x65])]:_0x326044([0x73,0x69,0x67]),[_0x326044([0x63,0x72,0x76])]:_0x326044([0x50,0x2d,0x32,0x35,0x36]),[_0x326044([0x78])]:_0x326044([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]),[_0x326044([0x79])]:_0x326044([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]),[_0x326044([0x61,0x6c,0x67])]:_0x326044([0x45,0x53,0x32,0x35,0x36])},_0x4756d8=_0x1db934[_0x326044([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x326044([0x67,0x65,0x74])](_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x28bd35(){let _0x526578,_0x18f79e=null,_0x35e8e6=null;try{if(_0x4756d8==_0x326044([0x47,0x50,0x4c]))return _0x326044([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x526578=_0x46ff2d(),!_0x526578)return _0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x526578[_0x326044([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35e8e6=_0x19bc8a(_0x526578[_0x326044([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x526578[_0x326044([0x6a,0x74,0x69])])),await _0x1740e3()?_0x2c3e58()?_0x5bfb5c()?_0x326044([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2343b9()?(_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326044([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x18f79e=_0x5638ab(_0x326044([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x326044([0x74,0x72,0x69,0x61,0x6c])&&(_0x18f79e=_0x5638ab(_0x326044([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x47424a()):_0x326044([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x326044([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x326044([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x5bfb5c(){const _0x27bc70=[_0x326044([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x326044([0x74,0x72,0x69,0x61,0x6c])][_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x32d4fd/0x3e8:0xe10*_0x47c609;return _0x526578[_0x326044([0x65,0x78,0x70])]<_0x27bc70;}function _0x2c3e58(){const _0x1a7544=_0x526578[_0x326044([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x1a7544&&(!!_0x1a7544[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x2a]))||!!_0x1a7544[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x46,0x4f,0x4f])));}function _0x2343b9(){const _0x1099fd=_0x526578[_0x326044([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1099fd||0x0==_0x1099fd[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x385058}=new URL(window[_0x326044([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1099fd[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x385058))return!0x0;const _0x1243e7=_0x385058[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e]));return _0x1099fd[_0x326044([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x201f8e=>_0x201f8e[_0x326044([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x326044([0x2a])))[_0x326044([0x6d,0x61,0x70])](_0x36d63b=>_0x36d63b[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e])))[_0x326044([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1bed3d=>_0x1bed3d[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1243e7[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326044([0x6d,0x61,0x70])](_0x9fedf8=>Array(_0x1243e7[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x9fedf8[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x326044([0x66,0x69,0x6c,0x6c])](_0x9fedf8[0x0]===_0x326044([0x2a])?_0x326044([0x2a]):'')[_0x326044([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x9fedf8))[_0x326044([0x73,0x6f,0x6d,0x65])](_0x47d9bf=>_0x1243e7[_0x326044([0x65,0x76,0x65,0x72,0x79])]((_0x7ff8f,_0x3ba3db)=>_0x47d9bf[_0x3ba3db]===_0x7ff8f||_0x47d9bf[_0x3ba3db]===_0x326044([0x2a])));}function _0x47424a(){return _0x18f79e&&_0x35e8e6?new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x14f02a,_0x4bec74)=>{_0x18f79e[_0x326044([0x74,0x68,0x65,0x6e])](_0x14f02a,_0x4bec74),_0x35e8e6[_0x326044([0x74,0x68,0x65,0x6e])](_0x309ab5=>{_0x309ab5!=_0x326044([0x56,0x61,0x6c,0x69,0x64])&&_0x14f02a(_0x309ab5);},_0x4bec74);}):_0x18f79e||_0x35e8e6||_0x326044([0x56,0x61,0x6c,0x69,0x64]);}}function _0x19bc8a(_0x303ebc,_0x5e52aa){return new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4d7f49=>{if(_0x3242f6())return _0x4d7f49(_0x326044([0x56,0x61,0x6c,0x69,0x64]));_0x5ef431(),_0x1db934[_0x326044([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x50b885=!0x1;const _0x15dfa8=_0x58b574();function _0x46fd73(_0x5c662b){return!!_0x5c662b&&(typeof _0x5c662b===_0x326044([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5c662b===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5c662b[_0x326044([0x74,0x68,0x65,0x6e])]===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5c662b[_0x326044([0x63,0x61,0x74,0x63,0x68])]===_0x326044([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x41395e(_0x10ead2){_0x57c74f(_0x10ead2)[_0x326044([0x74,0x68,0x65,0x6e])](_0x3c6668=>{if(!_0x3c6668||_0x3c6668[_0x326044([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x326044([0x6f,0x6b]))return _0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x177fc3(_0xfdf4b4(_0x15dfa8+_0x5e52aa))!=_0x3c6668[_0x326044([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x326044([0x56,0x61,0x6c,0x69,0x64]);})[_0x326044([0x74,0x68,0x65,0x6e])](_0x4ab250=>(_0x9724e(),_0x4ab250),()=>{const _0x567c02=_0x36220c();return null==_0x567c02?(_0x9724e(),_0x326044([0x56,0x61,0x6c,0x69,0x64])):_0x326044(_0x32d4fd-_0x567c02>(0x63ae0106^_0xebd83c)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x326044([0x74,0x68,0x65,0x6e])](_0x4d7f49)[_0x326044([0x63,0x61,0x74,0x63,0x68])](()=>{_0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x19ec26=0x47946b86^_0xebd83c;function _0x9724e(){const _0x359e70=_0x326044([0x6c,0x6c,0x63,0x74,0x2d])+_0x177fc3(_0xfdf4b4(_0x303ebc)),_0x268c7d=_0x3b3651(_0x177fc3(window[_0x326044([0x4d,0x61,0x74,0x68])][_0x326044([0x63,0x65,0x69,0x6c])](_0x32d4fd/_0x19ec26)));window[_0x326044([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326044([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x359e70,_0x268c7d);}function _0x36220c(){const _0x269d59=_0x326044([0x6c,0x6c,0x63,0x74,0x2d])+_0x177fc3(_0xfdf4b4(_0x303ebc)),_0x59a60c=window[_0x326044([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x326044([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x269d59);return _0x59a60c?window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3b3651(_0x59a60c),0x10)*_0x19ec26:null;}function _0x57c74f(_0x4b8701){return new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x155924,_0x4f04b4)=>{_0x4b8701[_0x326044([0x74,0x68,0x65,0x6e])](_0x155924,_0x4f04b4),window[_0x326044([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4f04b4,0x47a351c6^_0xebd83c);});}}_0x1db934[_0x326044([0x6f,0x6e])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x42ab69,_0x16185b)=>{if(_0x16185b[0x0]!=_0x303ebc)return _0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x16185b[0x1]={..._0x16185b[0x1],[_0x326044([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x15dfa8};},{[_0x326044([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326044([0x68,0x69,0x67,0x68])}),_0x1db934[_0x326044([0x6f,0x6e])](_0x326044([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2b1ac8=>{_0x46fd73(_0x2b1ac8[_0x326044([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x50b885=!0x0,_0x41395e(_0x2b1ac8[_0x326044([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x326044([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x326044([0x6c,0x6f,0x77])}),_0x556b35[_0x326044([0x74,0x68,0x65,0x6e])](()=>{_0x50b885||_0x4d7f49(_0x326044([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3242f6(){return _0x1db934[_0x326044([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326044([0x76,0x69,0x65,0x77])][_0x326044([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x326044([0x61,0x75,0x74,0x6f]);}function _0x5ef431(){_0x1db934[_0x326044([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x326044([0x76,0x69,0x65,0x77])][_0x326044([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x326044([0x61,0x75,0x74,0x6f]);}}function _0x5638ab(_0xb78ac4){const _0x40d4d8=[new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1684c4=>setTimeout(_0x1684c4,0x47abbbca^_0xebd83c)),_0x556b35[_0x326044([0x74,0x68,0x65,0x6e])](()=>new window[(_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f87cd=>{let _0x1a1cd6=0x0;_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x6f,0x6e])](_0x326044([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x34c948,_0x3bda4a)=>{_0x3bda4a[0x0][_0x326044([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x1a1cd6++,_0x1a1cd6==(0x47a284fe^_0xebd83c)&&(_0x4f87cd(),_0x34c948[_0x326044([0x6f,0x66,0x66])]());});}))];return window[_0x326044([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x326044([0x72,0x61,0x63,0x65])](_0x40d4d8)[_0x326044([0x74,0x68,0x65,0x6e])](()=>_0xb78ac4);}async function _0xd4c5c(){await _0x556b35,_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x185206,_0x1db934[_0x326044([0x6d,0x6f,0x64,0x65,0x6c])][_0x326044([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x185206,_0x1db934[_0x326044([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x326044([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x53155c(_0xe250ad){const _0x241183=_0x45b431();_0x1db934[_0x241183]=_0x326044([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xe250ad,_0xe250ad!=_0x326044([0x56,0x61,0x6c,0x69,0x64])&&_0xd4c5c();}function _0x45b431(){const _0xae9d9a=window[_0x326044([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x326044([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x326044([0x6e,0x6f,0x77])]())[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x326044([0x2e]),'');let _0xf8f417=_0x326044([0x75]);for(let _0x449878=0x0;_0x449878<_0xae9d9a[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x449878+=0x2){let _0xe61586=window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0xae9d9a[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x449878,_0x449878+0x2));_0xe61586>=_0x2d3f68[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xe61586-=_0x2d3f68[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0xf8f417+=_0x2d3f68[_0xe61586];}return _0xf8f417;}function _0x46ff2d(){const _0x5e3663=_0x4756d8[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e]));if(0x3!=_0x5e3663[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x4262a4(_0x5e3663[0x1]);function _0x4262a4(_0x155039){const _0x4ed580=_0x5bac58(_0x155039);return _0x4ed580&&_0x3fc385()?_0x4ed580:null;function _0x3fc385(){const _0x309e69=_0x4ed580[_0x326044([0x6a,0x74,0x69])],_0x5d8e66=window[_0x326044([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x309e69[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x309e69[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4dd806={..._0x4ed580,[_0x326044([0x6a,0x74,0x69])]:_0x309e69[_0x326044([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x309e69[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4dd806[_0x326044([0x76,0x63])],_0xfdf4b4(_0x4dd806)==_0x5d8e66;}}}async function _0x1740e3(){let _0x5ce28d=!0x0;try{const _0x123de5=_0x4756d8[_0x326044([0x73,0x70,0x6c,0x69,0x74])](_0x326044([0x2e])),[_0x1120f4,_0x2f8615,_0x12839b]=_0x123de5;return _0x460381(_0x1120f4),await _0x57e29a(_0x1120f4,_0x2f8615,_0x12839b),_0x5ce28d;}catch{return!0x1;}function _0x460381(_0x51a9ed){const _0x527384=_0x5bac58(_0x51a9ed);_0x527384&&_0x527384[_0x326044([0x61,0x6c,0x67])]==_0x326044([0x45,0x53,0x32,0x35,0x36])||(_0x5ce28d=!0x1);}async function _0x57e29a(_0x3cab45,_0x6d9591,_0x410acd){const _0x192d7a=window[_0x326044([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x326044([0x66,0x72,0x6f,0x6d])](_0x181910(_0x410acd),_0x46d0e6=>_0x46d0e6[_0x326044([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa02bcf=new window[(_0x326044([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x326044([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x3cab45+_0x326044([0x2e])+_0x6d9591),_0x3745a6=window[_0x326044([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x326044([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x3745a6)return;const _0x1af91d=await _0x3745a6[_0x326044([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x326044([0x6a,0x77,0x6b]),_0x19c805,{[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x45,0x43,0x44,0x53,0x41]),[_0x326044([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x326044([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x326044([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x3745a6[_0x326044([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x45,0x43,0x44,0x53,0x41]),[_0x326044([0x68,0x61,0x73,0x68])]:{[_0x326044([0x6e,0x61,0x6d,0x65])]:_0x326044([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x1af91d,_0x192d7a,_0xa02bcf)||(_0x5ce28d=!0x1);}}function _0x5bac58(_0x531282){return _0x531282[_0x326044([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x326044([0x65,0x79]))?JSON[_0x326044([0x70,0x61,0x72,0x73,0x65])](_0x181910(_0x531282)):null;}function _0x181910(_0x5c0dcb){return window[_0x326044([0x61,0x74,0x6f,0x62])](_0x5c0dcb[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x326044([0x2b]))[_0x326044([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x326044([0x2f])));}function _0xfdf4b4(_0x2cca97){let _0xb3305a=0x1505;function _0x1efbb3(_0x2c0886){for(let _0x504e56=0x0;_0x504e56<_0x2c0886[_0x326044([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x504e56++){const _0x1ac548=_0x2c0886[_0x326044([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x504e56);_0xb3305a=(_0xb3305a<<0x5)+_0xb3305a+_0x1ac548,_0xb3305a&=_0xb3305a;}}function _0x12f121(_0x9854aa){Array[_0x326044([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x9854aa)?_0x9854aa[_0x326044([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x12f121):_0x9854aa&&typeof _0x9854aa==_0x326044([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x326044([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x9854aa)[_0x326044([0x73,0x6f,0x72,0x74])]()[_0x326044([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x322c57,_0x38e67d])=>{_0x1efbb3(_0x322c57),_0x12f121(_0x38e67d);}):_0x1efbb3(window[_0x326044([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x9854aa));}return _0x12f121(_0x2cca97),_0xb3305a>>>0x0;}function _0x177fc3(_0x576337){return _0x576337[_0x326044([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x326044([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x326044([0x30]));}function _0x3b3651(_0x32937d){return _0x32937d[_0x326044([0x73,0x70,0x6c,0x69,0x74])]('')[_0x326044([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x326044([0x6a,0x6f,0x69,0x6e])]('');}function _0x185206(){}function _0x326044(_0x178357){return _0x178357['map'](_0x5531ac=>String['fromCharCode'](_0x5531ac))['join']('');}_0x53155c(await _0x28bd35());}(this);}['_moveSelectionToFootnoteDefinition'](_0x43667a){const {plugins:_0x245819,editing:_0xf4ae8c,model:_0x18b497}=this['editor'],_0x18154d=_0x245819['get'](_0x102be0)['getFootnote'](_0x43667a);return!!_0x18154d&&(_0x18b497['change'](_0x19f5cd=>{_0x19f5cd['setSelection'](_0x19f5cd['createPositionAt'](_0x18154d['definition'],'end'));}),_0xf4ae8c['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x588360){const {plugins:_0x3cf143,editing:_0xe365e9,model:_0x27c4b2}=this['editor'],_0x33f721=_0x3cf143['get'](_0x102be0)['getFootnote'](_0x588360);return!!_0x33f721&&(_0x27c4b2['change'](_0x2a719d=>{_0x2a719d['setSelection'](_0x33f721['reference'],'on');}),_0xe365e9['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32bdc9}=this['editor']['model'],_0x3e8227=this['editor']['config']['get']('footnotes.multiBlock');_0x32bdc9['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32bdc9['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32bdc9['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3e8227?_0x32bdc9['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32bdc9['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32bdc9['addChildCheck'](_0xf6b232=>{for(const _0x25e645 of _0xf6b232)if('footnoteDefinition'===_0x25e645['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x3b4919}=this,{conversion:_0x230f71,editing:_0x1bb3c4}=_0x3b4919,{t:t}=_0x3b4919['locale'];_0x230f71['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x406b7e,{writer:_0x4b1431,consumable:_0x23479c})=>{const _0x54b130=_0x406b7e['getChild'](0x0);if(!_0x54b130||!_0x54b130['is']('element','a'))return null;const _0x4efbea=_0x54b130['getAttribute']('href')||'';if(!_0x4efbea['startsWith']('#'))return null;const _0x5eeda2=_0x4efbea['replace'](/^#/,'');if(!_0x5eeda2)return null;_0x23479c['consume'](_0x54b130,{'name':!0x0,'attributes':['href']});for(const {item:_0x58b07c}of _0x1bb3c4['view']['createRangeIn'](_0x54b130))_0x58b07c['is']('$textProxy')?_0x23479c['consume'](_0x58b07c['textNode'],{'name':!0x0}):_0x58b07c['is']('element')&&_0x23479c['consume'](_0x58b07c,{'name':!0x0});return _0x4b1431['createElement']('footnoteRef',{'footnoteId':_0x5eeda2});}}),_0x230f71['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x10b814,{writer:_0x1f636c})=>D(_0x10b814,_0x1f636c)}),_0x230f71['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x215f77,{writer:_0x315d58})=>{const _0x4918e3=_0x215f77['getAttribute']('footnoteCounter');return _0x3456d9(D(_0x215f77,_0x315d58),_0x315d58,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x4918e3)});}});}['_defineDefinitionsConverters'](){const {editor:_0x176706}=this,{t:t}=_0x176706['locale'],{conversion:_0x1d77df}=_0x176706;_0x1d77df['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1d77df['for']('upcast')['add'](_0x4d1e1c=>{_0x4d1e1c['on']('element:ol',(_0x291926,_0x5490a0,_0x21f3f0)=>{const _0x1c2ad7=_0x5490a0['viewItem'];if(!_0x1c2ad7['hasClass']('footnotes-list')||!_0x5490a0['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x21f3f0['consumable']['consume'](_0x1c2ad7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x14d79c,modelCursor:_0xdbb338}=_0x21f3f0['convertChildren'](_0x5490a0['viewItem'],_0x5490a0['modelCursor']);_0x5490a0['modelRange']=_0x14d79c,_0x5490a0['modelCursor']=_0xdbb338;}),_0x4d1e1c['on']('element:hr',(_0x55f792,_0x415ba,_0x4c5d9c)=>{const _0x4ff14f=_0x415ba['viewItem'];_0x4ff14f['hasClass']('footnotes-divider')&&_0x415ba['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4c5d9c['consumable']['consume'](_0x4ff14f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1d77df['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1587f4,{writer:_0x21f13b})=>v(_0x21f13b)}),_0x1d77df['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x17000b,{writer:_0x2fbde3})=>{const _0x205469=v(_0x2fbde3,{'data-footnotes-list-label':t('Footnotes')}),_0x183f69=_0x3456d9(_0x205469,_0x2fbde3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2fbde3['setCustomProperty']('footnotesDefinitions',!0x0,_0x183f69),_0x183f69;}});}['_defineDefinitionConverters'](){const {editor:_0x58594c}=this,{conversion:_0x349697,locale:_0x14b425}=_0x58594c,_0x391c4a=_0x58594c['config']['get']('footnotes.multiBlock');_0x349697['for']('upcast')['add'](_0x3e1eb8=>{_0x3e1eb8['on']('element:li',(_0x355e69,_0x4fe342,_0x3c3077)=>{const _0x3ce7be=_0x4fe342['viewItem'];if(!_0x3ce7be['hasClass']('footnote-definition')||!_0x3ce7be['getAttribute']('id'))return;const _0x37fa2f=_0x3ce7be['parent'];if(!_0x37fa2f['is']('element','ol')||!_0x37fa2f['hasClass']('footnotes-list'))return;if(!_0x3c3077['consumable']['test'](_0x3ce7be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1cba6a=_0x3c3077['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x3ce7be['getAttribute']('id')});if(!_0x3c3077['safeInsert'](_0x1cba6a,_0x4fe342['modelCursor']))return;_0x3c3077['consumable']['consume'](_0x3ce7be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x455284=Array['from'](_0x3ce7be['getChildren']())['find'](_0x29cc0e=>_0x29cc0e['is']('element')&&_0x29cc0e['hasClass']('footnote-content'));for(const _0x5dc1f0 of _0x3ce7be['getChildren']())_0x5dc1f0['is']('element')&&(_0x3c3077['consumable']['consume'](_0x5dc1f0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x3c3077['consumable']['consume'](_0x5dc1f0,{'name':!0x0,'classes':'footnote-content'}));if(_0x455284){if(_0x391c4a)_0x3c3077['convertChildren'](_0x455284,_0x1cba6a);else{const _0x109181=_0x3c3077['writer']['createElement']('footnoteInlineContent');_0x3c3077['writer']['insert'](_0x109181,_0x1cba6a),_0x3c3077['convertChildren'](_0x455284,_0x109181);}}_0x3c3077['updateConversionResult'](_0x1cba6a,_0x4fe342);});}),_0x349697['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4535ba,{writer:_0x173713})=>b(_0x4535ba,_0x173713,_0x14b425,{'dataPipeline':!0x0})}),_0x349697['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4a6988,{writer:_0x27ea5c})=>b(_0x4a6988,_0x27ea5c,_0x14b425)});}['_defineBogusParagraphConverters'](){const {editor:_0x24b5b3}=this,{conversion:_0x228f3f}=_0x24b5b3;_0x24b5b3['config']['get']('footnotes.multiBlock')?(_0x228f3f['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x228f3f['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x24b5b3['model']['document'],'change:data',()=>{!function(_0x306544,_0x2a262d){const _0x319f35=_0x306544['document']['differ'],_0x514179=new Set();for(const _0x687830 of _0x319f35['getChanges']()){const _0x64af91='attribute'==_0x687830['type']?_0x687830['range']['start']['parent']:_0x687830['position']['parent'];_0x64af91['is']('element','footnoteDefinition')&&_0x514179['add'](_0x64af91);}for(const _0x169c4f of _0x514179['values']()){const _0x482ae9=Array['from'](_0x169c4f['getChildren']())['filter'](_0x26e8b8=>g(_0x26e8b8,_0x2a262d['mapper']));for(const _0x293960 of _0x482ae9)_0x2a262d['reconvertItem'](_0x293960);}}(_0x24b5b3['model'],_0x24b5b3['editing']);})):(_0x228f3f['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x228f3f['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x52a6a5,{writer:_0x1a4c88})=>{const _0x8db823=_0x1a4c88['createContainerElement']('span');return _0x1a4c88['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x8db823),_0x8db823;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb69fc3}=this,{editing:_0x5f0bec,t:t}=_0xb69fc3,_0x4e5bf2=_0xb69fc3['model']['document']['selection'];_0xb69fc3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb69fc3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5f0bec['view']['document'],'enter',(_0x45d73f,_0x3ebe0c)=>{const _0x52d524=function(_0x40bda9){const _0x14fd7d=_0x40bda9['getSelectedElement']();if(_0x14fd7d?.['is']('element','footnoteRef'))return _0x14fd7d;return null;}(_0x4e5bf2);if(_0x52d524){const _0x305f8f=_0x52d524['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x305f8f),_0x3ebe0c['preventDefault'](),_0x45d73f['stop']();}},{'context':_0x487311});}['_defineClickHandlers'](){const {editor:_0x56ed2e}=this,{editing:_0x3be59f}=_0x56ed2e;_0x56ed2e['editing']['view']['addObserver'](_0x7d9fc4),_0x56ed2e['editing']['view']['addObserver'](_0xdee22c);let _0x26c2ba=!0x1;this['listenTo'](_0x3be59f['view']['document'],'pointerdown',(_0x2a61f3,_0x46759a)=>{const {target:_0x5e6945}=_0x46759a,_0x4e6272=_0x3be59f['view']['document']['selection'];_0x26c2ba=!!(_0x5e6945?.['is']('element','a')&&_0x5e6945['parent']?.['is']('element','sup')&&_0x5e6945['parent']['hasClass']('footnote'))&&_0x4e6272['getSelectedElement']()===_0x5e6945['parent'];},{'priority':'high'}),this['listenTo'](_0x3be59f['view']['document'],'click',(_0x1eba46,_0x1245df)=>{const {target:_0x22d6f7}=_0x1245df;if(!_0x22d6f7?.['is']('element','a'))return;if(_0x22d6f7['parent']?.['is']('element','sup')&&_0x22d6f7['parent']['hasClass']('footnote')&&!_0x26c2ba)return void _0x1245df['preventDefault']();let _0x174421=_0x22d6f7['getAttribute']('href');if(!_0x174421?.['startsWith']('#'))return;_0x174421=_0x174421['slice'](0x1);let _0x264d79=!0x1;(_0x174421['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x174421['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x174421))&&(_0x264d79=!0x0),_0x264d79&&(_0x1245df['preventDefault'](),_0x1eba46['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2385cc}={}){return(_0x2a4a70,{writer:_0xb43898})=>{if(!p(_0x2a4a70))return null;if(!_0x2385cc)return _0xb43898['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x3097c6=_0xb43898['createContainerElement']('p');return _0xb43898['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x3097c6),_0x3097c6;};}function p(_0x1965fe){const {parent:_0x3a7acd}=_0x1965fe;if(!_0x3a7acd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x3a7acd['childCount'])return!0x1;for(const _0x264b1c of _0x1965fe['getAttributeKeys']())if(!_0x264b1c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x264b1c)return!0x1;return!0x0;}function g(_0x4a9b99,_0x2a0a01){if(!_0x4a9b99['is']('element','paragraph'))return!0x1;const _0xefb201=_0x2a0a01['toViewElement'](_0x4a9b99);return!!_0xefb201&&p(_0x4a9b99)!==_0xefb201['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x13a624){return _0x487311(_0x13a624)&&_0x13a624['is']('containerElement')&&!!_0x13a624['getCustomProperty']('footnotesDefinitions');}function v(_0x2cce95,_0x3474cb={}){const _0x2eec51=_0x2cce95['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x8946f9=_0x2cce95['createContainerElement']('ol',{'class':'footnotes-list'},_0x2cce95['createSlot']());return _0x2cce95['createContainerElement']('div',{'class':'footnotes',..._0x3474cb},[_0x2eec51,_0x8946f9]);}function D(_0x128b73,_0x54c234){const _0x373151=_0x128b73['getAttribute']('footnoteId'),_0x389674=_0x128b73['getAttribute']('footnoteCounter'),_0x5c08f5=_0x54c234['createUIElement']('a',{'href':'#'+_0x373151},function(_0x9ff870){const _0x1650e3=this['toDomElement'](_0x9ff870);return _0x1650e3['textContent']=_0x389674,_0x1650e3;}),_0x4e7ce9=_0x54c234['createContainerElement']('sup',{'id':'ref-'+_0x373151,'class':'footnote'},[_0x5c08f5]);return _0x4e7ce9['getFillerOffset']=()=>null,_0x4e7ce9;}function b(_0x367229,_0x65621f,_0x5d3e0d,{dataPipeline:_0x3bcfbd}={}){const {t:t}=_0x5d3e0d,_0x4d56eb=_0x367229['getAttribute']('footnoteId'),_0x425654=_0x65621f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4d56eb},function(_0x556aac){const _0x20e0df=this['toDomElement'](_0x556aac);return _0x20e0df['innerText']='^',_0x20e0df;}),_0x242e78=_0x3bcfbd?_0x65621f['createContainerElement']('div',{'class':'footnote-content'}):_0xfc3fa0(_0x65621f['createEditableElement']('div',{'class':'footnote-content'}),_0x65621f,{'label':t('Footnote\x20content.')});return _0x65621f['insert'](_0x65621f['createPositionAt'](_0x242e78,0x0),_0x65621f['createSlot']()),_0x65621f['createContainerElement']('li',{'class':'footnote-definition','id':_0x4d56eb},[_0x425654,_0x242e78]);}
@@ -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
+ const _0x5e20d4=_0x4b1b;(function(_0x4fb164,_0x1b2b56){const _0x11d49f=_0x4b1b,_0x82e66c=_0x4fb164();while(!![]){try{const _0x55b672=parseInt(_0x11d49f(0x16e))/0x1*(-parseInt(_0x11d49f(0x186))/0x2)+-parseInt(_0x11d49f(0x185))/0x3+parseInt(_0x11d49f(0x17c))/0x4*(parseInt(_0x11d49f(0x170))/0x5)+-parseInt(_0x11d49f(0x173))/0x6*(-parseInt(_0x11d49f(0x175))/0x7)+-parseInt(_0x11d49f(0x16f))/0x8+parseInt(_0x11d49f(0x171))/0x9*(parseInt(_0x11d49f(0x181))/0xa)+-parseInt(_0x11d49f(0x174))/0xb*(-parseInt(_0x11d49f(0x17d))/0xc);if(_0x55b672===_0x1b2b56)break;else _0x82e66c['push'](_0x82e66c['shift']());}catch(_0x1db206){_0x82e66c['push'](_0x82e66c['shift']());}}}(_0x4276,0xf3214));function _0x4b1b(_0x238c06,_0x14d9be){const _0x42765b=_0x4276();return _0x4b1b=function(_0x4b1b00,_0x38833c){_0x4b1b00=_0x4b1b00-0x16e;let _0x32e0ce=_0x42765b[_0x4b1b00];return _0x32e0ce;},_0x4b1b(_0x238c06,_0x14d9be);}import{Command as _0x2b762c}from'ckeditor5/src/core.js';function _0x4276(){const _0x5c82b4=['14ogFCvN','get','isEnabled','setAttribute','plugins','isInteger','footnotesListStart','16228AajRpV','32719224qPfddz','change','getAttribute','refresh','8980QGkqAF','execute','value','getFootnotesDefinitionsObjectElement','3868290pjoHMA','250126vZwOEU','model','5FSveSv','14168896EMWuxi','965nNgcTJ','7173PfgPBg','_updateFootnotesCounters','1369224rIsBrT','11irKvMa'];_0x4276=function(){return _0x5c82b4;};return _0x4276();}import{FootnotesTracker as _0xb0f762}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2b762c{[_0x5e20d4(0x180)](){const _0xffdb3e=_0x5e20d4,{editor:_0x4984a6}=this,_0x58bafa=_0x4984a6[_0xffdb3e(0x179)][_0xffdb3e(0x176)](_0xb0f762)[_0xffdb3e(0x184)]();this[_0xffdb3e(0x177)]=!!_0x58bafa,this[_0xffdb3e(0x183)]=_0x58bafa?.[_0xffdb3e(0x17f)](_0xffdb3e(0x17b))??null;}[_0x5e20d4(0x182)]({value:_0x65be1c}){const _0x68663=_0x5e20d4,{editor:_0x2a6933}=this,_0x3a781b=_0x2a6933[_0x68663(0x179)][_0x68663(0x176)](_0xb0f762),_0x1a55b5=_0x3a781b[_0x68663(0x184)]();_0x1a55b5&&Number[_0x68663(0x17a)](_0x65be1c)&&_0x2a6933[_0x68663(0x187)][_0x68663(0x17e)](_0x5b14df=>{const _0x1e5d9f=_0x68663;_0x5b14df[_0x1e5d9f(0x178)](_0x1e5d9f(0x17b),_0x65be1c,_0x1a55b5),_0x3a781b[_0x1e5d9f(0x172)](_0x5b14df);});}}
@@ -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 _0x394f74=_0x51af;(function(_0x2db07f,_0x47a5bf){const _0x5a0b4f=_0x51af,_0x30413e=_0x2db07f();while(!![]){try{const _0x2867c7=parseInt(_0x5a0b4f(0x1f2))/0x1*(-parseInt(_0x5a0b4f(0x1e7))/0x2)+-parseInt(_0x5a0b4f(0x1ef))/0x3+-parseInt(_0x5a0b4f(0x1ee))/0x4+parseInt(_0x5a0b4f(0x1f5))/0x5*(-parseInt(_0x5a0b4f(0x1f4))/0x6)+parseInt(_0x5a0b4f(0x1eb))/0x7+-parseInt(_0x5a0b4f(0x1ed))/0x8*(parseInt(_0x5a0b4f(0x1f1))/0x9)+parseInt(_0x5a0b4f(0x1f6))/0xa;if(_0x2867c7===_0x47a5bf)break;else _0x30413e['push'](_0x30413e['shift']());}catch(_0x4fc255){_0x30413e['push'](_0x30413e['shift']());}}}(_0x28e6,0xc3d7c));function _0x28e6(){const _0x2bf5f1=['refresh','get','plugins','isEnabled','change','includes','setAttribute','_updateFootnotesCounters','314178SzbLlV','value','model','getFootnotesDefinitionsObjectElement','8406020VrfuUf','getAttribute','176bQtfGI','4193036YzzuRd','4017015riDxxN','footnotesListStyle','521478DPBIkb','7ZNMAvs','execute','3113262VpDPwX','15wKWhUs','59195540sLSzrE'];_0x28e6=function(){return _0x2bf5f1;};return _0x28e6();}import{Command as _0x3b4ad3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x1df992}from'../footnotespropertiesconfig.js';function _0x51af(_0x255c5b,_0x49ed7b){const _0x28e644=_0x28e6();return _0x51af=function(_0x51af47,_0x106c04){_0x51af47=_0x51af47-0x1e6;let _0x43b00c=_0x28e644[_0x51af47];return _0x43b00c;},_0x51af(_0x255c5b,_0x49ed7b);}import{FootnotesTracker as _0x33a776}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x3b4ad3{[_0x394f74(0x1f7)](){const _0x3ab4c4=_0x394f74,{editor:_0x44f277}=this,_0x50dd37=_0x44f277[_0x3ab4c4(0x1f9)][_0x3ab4c4(0x1f8)](_0x33a776)[_0x3ab4c4(0x1ea)]();this[_0x3ab4c4(0x1fa)]=!!_0x50dd37,this[_0x3ab4c4(0x1e8)]=_0x50dd37?.[_0x3ab4c4(0x1ec)](_0x3ab4c4(0x1f0))??null;}[_0x394f74(0x1f3)]({value:_0x452921}){const _0x248116=_0x394f74,{editor:_0x351e8a}=this,_0x392751=_0x351e8a[_0x248116(0x1f9)][_0x248116(0x1f8)](_0x33a776),_0x32318a=_0x392751[_0x248116(0x1ea)]();_0x32318a&&_0x1df992[_0x248116(0x1fc)](_0x452921)&&_0x351e8a[_0x248116(0x1e9)][_0x248116(0x1fb)](_0x1aef23=>{const _0x558eb8=_0x248116;_0x1aef23[_0x558eb8(0x1fd)](_0x558eb8(0x1f0),_0x452921,_0x32318a),_0x392751[_0x558eb8(0x1e6)](_0x1aef23);});}}
@@ -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 _0x4603(_0xa17a3f,_0x35b964){const _0x647da2=_0x647d();return _0x4603=function(_0x46037b,_0x8dd59){_0x46037b=_0x46037b-0xc3;let _0x437706=_0x647da2[_0x46037b];return _0x437706;},_0x4603(_0xa17a3f,_0x35b964);}function _0x647d(){const _0x55fb85=['upper-latin','lower-latin','13230460Zbhnad','7164479tsbEJr','decimal','upper-roman','lower-alpha','lower-roman','5664270kwqAFq','981439BmoXLC','18uvrIgA','1503936wMlgMi','upper-alpha','1221672EvzUKW','6aKCUKB','2KOfcKE','8766784bQmJhL','decimal-leading-zero'];_0x647d=function(){return _0x55fb85;};return _0x647d();}const _0x40aecb=_0x4603;(function(_0x397a65,_0x4156a2){const _0x181c5c=_0x4603,_0x42ccf6=_0x397a65();while(!![]){try{const _0x473d14=-parseInt(_0x181c5c(0xce))/0x1*(-parseInt(_0x181c5c(0xd4))/0x2)+-parseInt(_0x181c5c(0xd2))/0x3+-parseInt(_0x181c5c(0xd0))/0x4+parseInt(_0x181c5c(0xcd))/0x5*(parseInt(_0x181c5c(0xd3))/0x6)+parseInt(_0x181c5c(0xc8))/0x7+parseInt(_0x181c5c(0xc3))/0x8+parseInt(_0x181c5c(0xcf))/0x9*(-parseInt(_0x181c5c(0xc7))/0xa);if(_0x473d14===_0x4156a2)break;else _0x42ccf6['push'](_0x42ccf6['shift']());}catch(_0x43f5d1){_0x42ccf6['push'](_0x42ccf6['shift']());}}}(_0x647d,0xc45f2));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x40aecb(0xc9),_0x40aecb(0xc4),_0x40aecb(0xc6),_0x40aecb(0xc5),_0x40aecb(0xcb),_0x40aecb(0xd1),_0x40aecb(0xcc),_0x40aecb(0xca)];
@@ -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
+ function _0x146c(){const _0x92688b=['decimal-leading-zero','hasClass','init','toLowerCase','9RYbmRm','upper-roman','911792LpDxaT','664539deJLum','parseInt','schema','element:ol','_defineConverters','document','isPremiumPlugin','getAttribute','viewItem','footnotesStart','requires','decimal','padStart','footnotesDefinitions','lower-alpha','nodeAfter','consume','_getDefaultStartIndex','config','footnotes-list','setFootnoteFormatter','floor','list-style-type','getChildren','attribute:footnotesListStyle:footnotesDefinitions','downcast','_getDefaultListStyle','footnotes.footnotesProperties.defaultStartIndex','_updateFootnotesCounters','attribute:footnotesListStart:footnotesDefinitions','removeStyle','lower-latin','fromCharCode','writer','plugins','_defineFormatter','setStyle','max','type','registerPostFixer','isOfficialPlugin','lower-roman','for','item','parent','_formatFootnoteListValue','137206dPluCK','getStyle','insert','commands','editor','toViewElement','add','footnotesStyle','checkAttribute','upper-alpha','10pIAWvT','from','toUpperCase','_defineSchema','9MbPtkS','getItems','2282784gHnokF','3556250SLSoqD','850904YzrGnz','removeAttribute','FootnotesPropertiesEditing','pluginName','extend','$text','name','2416662aEcMnK','consumable','isNaN','setAttribute','hasAttribute','footnotes.footnotesProperties.defaultListStyle','getChanges','differ','mapper','find','footnotesListStart','upper-latin','_definePostfixer','position','start','footnotesListStyle','model','modelCursor','upcast','createRangeOn','get','element','define'];_0x146c=function(){return _0x92688b;};return _0x146c();}const _0x57e3d1=_0x3eeb;(function(_0x4dfa4d,_0x37ff0e){const _0x416ce6=_0x3eeb,_0xa93f48=_0x4dfa4d();while(!![]){try{const _0x2027d3=-parseInt(_0x416ce6(0x15a))/0x1*(-parseInt(_0x416ce6(0x126))/0x2)+-parseInt(_0x416ce6(0x15d))/0x3+parseInt(_0x416ce6(0x138))/0x4*(-parseInt(_0x416ce6(0x130))/0x5)+parseInt(_0x416ce6(0x13f))/0x6+parseInt(_0x416ce6(0x15c))/0x7+parseInt(_0x416ce6(0x136))/0x8+-parseInt(_0x416ce6(0x134))/0x9*(parseInt(_0x416ce6(0x137))/0xa);if(_0x2027d3===_0x37ff0e)break;else _0xa93f48['push'](_0xa93f48['shift']());}catch(_0x379407){_0xa93f48['push'](_0xa93f48['shift']());}}}(_0x146c,0x69c42));import{Plugin as _0x1eda67}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x30325a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x288ad7}from'./commands/footnotesstartcommand.js';function _0x3eeb(_0xc5a959,_0x1b8ff5){const _0x146c51=_0x146c();return _0x3eeb=function(_0x3eeb31,_0xb5b3da){_0x3eeb31=_0x3eeb31-0x104;let _0x3d0477=_0x146c51[_0x3eeb31];return _0x3d0477;},_0x3eeb(_0xc5a959,_0x1b8ff5);}import{FootnotesTracker as _0x3e7f42}from'../footnotestracker.js';import{FootnotesEditing as _0x420a66}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1eda67{static get[_0x57e3d1(0x13b)](){const _0x1fc4d9=_0x57e3d1;return _0x1fc4d9(0x13a);}static get[_0x57e3d1(0x167)](){return[_0x420a66,_0x3e7f42];}static get[_0x57e3d1(0x120)](){return!0x0;}static get[_0x57e3d1(0x163)](){return!0x0;}[_0x57e3d1(0x158)](){const _0x2b6b18=_0x57e3d1,{editor:_0x25ce27}=this;_0x25ce27[_0x2b6b18(0x10a)][_0x2b6b18(0x155)](_0x2b6b18(0x144),_0x2b6b18(0x168)),_0x25ce27[_0x2b6b18(0x10a)][_0x2b6b18(0x155)](_0x2b6b18(0x113),0x1),_0x25ce27[_0x2b6b18(0x129)][_0x2b6b18(0x12c)](_0x2b6b18(0x12d),new _0x30325a(_0x25ce27)),_0x25ce27[_0x2b6b18(0x129)][_0x2b6b18(0x12c)](_0x2b6b18(0x166),new _0x288ad7(_0x25ce27)),this[_0x2b6b18(0x133)](),this[_0x2b6b18(0x161)](),this[_0x2b6b18(0x11b)](),this[_0x2b6b18(0x14b)]();}[_0x57e3d1(0x133)](){const _0x13f889=_0x57e3d1,{editor:_0x543768}=this,{schema:_0x444f2f}=_0x543768[_0x13f889(0x14f)];_0x444f2f[_0x13f889(0x13c)](_0x13f889(0x105),{'allowAttributes':[_0x13f889(0x14e),_0x13f889(0x149)]});}[_0x57e3d1(0x161)](){const _0x22c265=_0x57e3d1,{editor:_0x4f9b6b}=this,{conversion:_0xea44fc,model:_0x9f4ce7}=_0x4f9b6b,{schema:_0x1f5e42}=_0x9f4ce7;_0xea44fc[_0x22c265(0x122)](_0x22c265(0x151))[_0x22c265(0x12c)](_0x45f9b2=>{const _0x3468d2=_0x22c265;_0x45f9b2['on'](_0x3468d2(0x160),(_0x31c883,_0x38088e,_0x22092b)=>{const _0x42cc46=_0x3468d2,_0x397659=_0x38088e[_0x42cc46(0x165)],_0x1c48ca=_0x38088e[_0x42cc46(0x150)]?.[_0x42cc46(0x124)];_0x397659[_0x42cc46(0x157)](_0x42cc46(0x10b))&&_0x1c48ca?.['is'](_0x42cc46(0x154),_0x42cc46(0x105))&&(function(_0x5db50b,_0x2ed875,_0x8a2546,_0x51dc31){const _0x40c947=_0x42cc46;if(!_0x51dc31[_0x40c947(0x12e)](_0x2ed875,_0x40c947(0x149)))return;let _0x3e05c6=0x1;const _0x45fbab=_0x8a2546[_0x40c947(0x140)][_0x40c947(0x108)](_0x5db50b,{'attributes':_0x40c947(0x14d)});if(_0x45fbab){const _0x909a94=Number[_0x40c947(0x15e)](_0x5db50b[_0x40c947(0x164)](_0x40c947(0x14d)),0xa);Number[_0x40c947(0x141)](_0x909a94)||(_0x3e05c6=_0x909a94);}!_0x45fbab&&_0x2ed875[_0x40c947(0x143)](_0x40c947(0x149))||_0x8a2546[_0x40c947(0x119)][_0x40c947(0x142)](_0x40c947(0x149),_0x3e05c6,_0x2ed875);}(_0x397659,_0x1c48ca,_0x22092b,_0x1f5e42),function(_0x4c38ff,_0x1da7d8,_0x1418f0,_0x57a2fc){const _0x2e7ab9=_0x42cc46;if(!_0x57a2fc[_0x2e7ab9(0x12e)](_0x1da7d8,_0x2e7ab9(0x14e)))return;let _0x392f24=_0x2e7ab9(0x168),_0x4a8f0c=!0x1;if(_0x1418f0[_0x2e7ab9(0x140)][_0x2e7ab9(0x108)](_0x4c38ff,{'attributes':_0x2e7ab9(0x11e)})){const _0xf7889a={0x1:_0x2e7ab9(0x168),'a':_0x2e7ab9(0x106),'A':_0x2e7ab9(0x12f),'i':_0x2e7ab9(0x121),'I':_0x2e7ab9(0x15b)}[_0x4c38ff[_0x2e7ab9(0x164)](_0x2e7ab9(0x11e))];_0xf7889a&&(_0x392f24=_0xf7889a),_0x4a8f0c=!0x0;}_0x1418f0[_0x2e7ab9(0x140)][_0x2e7ab9(0x108)](_0x4c38ff,{'styles':_0x2e7ab9(0x10e)})&&(_0x392f24=_0x4c38ff[_0x2e7ab9(0x127)](_0x2e7ab9(0x10e)),_0x4a8f0c=!0x0),!_0x4a8f0c&&_0x1da7d8[_0x2e7ab9(0x143)](_0x2e7ab9(0x14e))||_0x1418f0[_0x2e7ab9(0x119)][_0x2e7ab9(0x142)](_0x2e7ab9(0x14e),_0x392f24,_0x1da7d8);}(_0x397659,_0x1c48ca,_0x22092b,_0x1f5e42));});}),_0xea44fc[_0x22c265(0x122)](_0x22c265(0x111))[_0x22c265(0x12c)](_0x354de8=>{const _0x3932ef=_0x22c265;_0x354de8['on'](_0x3932ef(0x115),(_0x39c17b,_0x4753fb,_0x5e3a09)=>{const _0x52b960=_0x3932ef;if(!_0x5e3a09[_0x52b960(0x140)][_0x52b960(0x108)](_0x4753fb[_0x52b960(0x123)],_0x39c17b[_0x52b960(0x13e)]))return;const _0x59cd36=M(_0x4753fb[_0x52b960(0x123)],_0x5e3a09[_0x52b960(0x147)]),{attributeNewValue:_0x4b4d48}=_0x4753fb;null==_0x4b4d48||0x1===_0x4b4d48?_0x5e3a09[_0x52b960(0x119)][_0x52b960(0x139)](_0x52b960(0x14d),_0x59cd36):_0x5e3a09[_0x52b960(0x119)][_0x52b960(0x142)](_0x52b960(0x14d),String(_0x4b4d48),_0x59cd36);}),_0x354de8['on'](_0x3932ef(0x110),(_0x26f919,_0x2f5046,_0x57fac1)=>{const _0x341770=_0x3932ef;if(!_0x57fac1[_0x341770(0x140)][_0x341770(0x108)](_0x2f5046[_0x341770(0x123)],_0x26f919[_0x341770(0x13e)]))return;const _0x1b6846=M(_0x2f5046[_0x341770(0x123)],_0x57fac1[_0x341770(0x147)]),{attributeNewValue:_0x559d3c}=_0x2f5046;_0x559d3c&&_0x341770(0x168)!==_0x559d3c?_0x57fac1[_0x341770(0x119)][_0x341770(0x11c)](_0x341770(0x10e),_0x559d3c,_0x1b6846):_0x57fac1[_0x341770(0x119)][_0x341770(0x116)](_0x341770(0x10e),_0x1b6846);});});}[_0x57e3d1(0x14b)](){const _0x3a185f=_0x57e3d1,{editor:_0x45ee53}=this,{model:_0xd4a724}=_0x45ee53,_0x5b5b7e=_0x45ee53[_0x3a185f(0x11a)][_0x3a185f(0x153)](_0x3e7f42),_0x5a41d8=this[_0x3a185f(0x112)](),_0x4215ff=this[_0x3a185f(0x109)]();_0xd4a724[_0x3a185f(0x162)][_0x3a185f(0x11f)](_0x3ff410=>{const _0x2e3be9=_0x3a185f,_0x214eff=_0xd4a724[_0x2e3be9(0x162)][_0x2e3be9(0x146)][_0x2e3be9(0x145)]();let _0x4630c6=!0x1;for(const _0x39aaab of _0x214eff){if(_0x2e3be9(0x128)!==_0x39aaab[_0x2e3be9(0x11e)]||_0x2e3be9(0x13d)===_0x39aaab[_0x2e3be9(0x13e)])continue;const _0x4fa5dd=_0xd4a724[_0x2e3be9(0x152)](_0x39aaab[_0x2e3be9(0x14c)][_0x2e3be9(0x107)]);for(const _0xd3ad87 of _0x4fa5dd[_0x2e3be9(0x135)]())_0xd3ad87['is'](_0x2e3be9(0x154),_0x2e3be9(0x105))&&(!_0xd3ad87[_0x2e3be9(0x143)](_0x2e3be9(0x149))&&_0xd4a724[_0x2e3be9(0x15f)][_0x2e3be9(0x12e)](_0xd3ad87,_0x2e3be9(0x149))&&(_0x3ff410[_0x2e3be9(0x142)](_0x2e3be9(0x149),_0x4215ff,_0xd3ad87),_0x4630c6=!0x0),!_0xd3ad87[_0x2e3be9(0x143)](_0x2e3be9(0x14e))&&_0xd4a724[_0x2e3be9(0x15f)][_0x2e3be9(0x12e)](_0xd3ad87,_0x2e3be9(0x14e))&&(_0x3ff410[_0x2e3be9(0x142)](_0x2e3be9(0x14e),_0x5a41d8,_0xd3ad87),_0x4630c6=!0x0));}return _0x4630c6&&_0x5b5b7e[_0x2e3be9(0x114)](_0x3ff410),_0x4630c6;});}[_0x57e3d1(0x11b)](){const _0x19bbe0=_0x57e3d1,{editor:_0x254439}=this;_0x254439[_0x19bbe0(0x11a)][_0x19bbe0(0x153)](_0x3e7f42)[_0x19bbe0(0x10c)](_0x332d29=>this[_0x19bbe0(0x125)](_0x332d29));}[_0x57e3d1(0x112)](){const _0x577d59=_0x57e3d1;return this[_0x577d59(0x12a)][_0x577d59(0x10a)][_0x577d59(0x153)](_0x577d59(0x144));}[_0x57e3d1(0x109)](){const _0x7aa843=_0x57e3d1;return this[_0x7aa843(0x12a)][_0x7aa843(0x10a)][_0x7aa843(0x153)](_0x7aa843(0x113));}[_0x57e3d1(0x125)]({container:_0xfd6433,value:_0x19b75f,digits:_0x3a25e3}){const _0x34103a=_0x57e3d1,_0x3ea2a4=_0xfd6433[_0x34103a(0x164)](_0x34103a(0x14e)),_0x4d8420=_0xfd6433[_0x34103a(0x164)](_0x34103a(0x149)),_0x1b25f7=Math[_0x34103a(0x10d)](_0x19b75f)+(_0x4d8420??0x1)-0x1;switch(_0x3ea2a4){case _0x34103a(0x156):return function(_0x11e4d6,_0x51e38b){const _0x407607=_0x34103a;return String(_0x11e4d6)[_0x407607(0x104)](_0x51e38b,'0');}(_0x1b25f7,Math[_0x34103a(0x11d)](0x2,_0x3a25e3));case _0x34103a(0x106):case _0x34103a(0x117):return N(_0x1b25f7,!0x1);case _0x34103a(0x12f):case _0x34103a(0x14a):return N(_0x1b25f7,!0x0);case _0x34103a(0x121):return X(_0x1b25f7,!0x1);case _0x34103a(0x15b):return X(_0x1b25f7,!0x0);default:return String(_0x1b25f7);}}}function M(_0x5edde0,_0x285711){const _0x501d7b=_0x57e3d1,_0x58a83a=_0x285711[_0x501d7b(0x12b)](_0x5edde0);return Array[_0x501d7b(0x131)](_0x58a83a[_0x501d7b(0x10f)]())[_0x501d7b(0x148)](_0x2596e9=>_0x2596e9['is'](_0x501d7b(0x154),'ol')&&_0x2596e9[_0x501d7b(0x157)](_0x501d7b(0x10b)));}function N(_0x16d4e4,_0x5910ab){const _0x1ec5c5=_0x57e3d1;let _0x4c649e='',_0x35307c=_0x16d4e4;for(;_0x35307c>0x0;){const _0x247cac=(_0x35307c-0x1)%0x1a;_0x4c649e=String[_0x1ec5c5(0x118)](0x61+_0x247cac)+_0x4c649e,_0x35307c=Math[_0x1ec5c5(0x10d)]((_0x35307c-0x1)/0x1a);}return _0x5910ab?_0x4c649e[_0x1ec5c5(0x132)]():_0x4c649e;}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(_0x534f4d,_0x2f81c1){const _0xf10667=_0x57e3d1;let _0x50429b='',_0x5099de=_0x534f4d;for(const {value:_0x5a9ae2,numeral:_0x36415a}of V)for(;_0x5099de>=_0x5a9ae2;)_0x50429b+=_0x36415a,_0x5099de-=_0x5a9ae2;return _0x2f81c1?_0x50429b:_0x50429b[_0xf10667(0x159)]();}
@@ -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 _0x190952,ButtonView as _0x439df6,ContextualBalloon as _0xb31faa,createDropdown as _0x53c8dc}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x53d40a}from'ckeditor5/src/widget.js';import{Plugin as _0x5522a3}from'ckeditor5/src/core.js';import{IconFootnote as _0x288036,IconListStyleDecimal as _0x2f660e,IconListStyleDecimalLeadingZero as _0x2ca044,IconListStyleLowerLatin as _0x3ad0c8,IconListStyleLowerRoman as _0x304c3e,IconListStyleUpperLatin as _0x25e3e9,IconListStyleUpperRoman as _0x34126f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2a9869}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x41db3d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5522a3{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xb31faa,_0x53d40a];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2f30ba}=this,{componentFactory:_0x274070}=_0x2f30ba['ui'];_0x2f30ba['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x274070['add']('footnotesStyle',function(_0x314f71){return _0x354b4b=>{const {t:t}=_0x354b4b,_0x4f9ac5=_0x314f71['commands']['get']('footnotesStyle'),_0x341b40=_0x53c8dc(_0x354b4b),{buttonView:_0x274c5a}=_0x341b40;return _0x341b40['class']='ck-footnotes-styles-dropdown',_0x341b40['bind']('isEnabled')['to'](_0x4f9ac5,'isEnabled'),_0x274c5a['set']({'label':t('Footnotes\x20style'),'icon':_0x288036,'tooltip':!0x0}),_0x341b40['once']('change:isOpen',()=>{const _0x473146=function({editor:_0x59e577,dropdownView:_0x49f7a7}){const {t:t}=_0x59e577['locale'],_0x5b3c25=t('Footnotes\x20definitions\x20styles'),_0x2ecb35=function(_0x1bbfc0){const t=_0x1bbfc0['locale']['t'],_0xa2999c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x2f660e},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x2ca044},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x304c3e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x34126f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3ad0c8},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x25e3e9}];return _0xa2999c['map'](function(_0x89a11e){const _0x41f301=_0x89a11e['locale'];return({label:_0x51b2d4,icon:_0x18c342,tooltip:_0x169fe3,style:_0x191336})=>{const _0x3b67e8=_0x89a11e['commands']['get']('footnotesStyle'),_0x333cb5=new _0x439df6(_0x41f301);return _0x333cb5['set']({'label':_0x51b2d4,'icon':_0x18c342,'tooltip':_0x169fe3}),_0x333cb5['bind']('isOn')['to'](_0x3b67e8,'value',_0x2687d4=>_0x2687d4===_0x191336),_0x333cb5['bind']('isEnabled')['to'](_0x3b67e8,'isEnabled'),_0x333cb5['on']('execute',()=>{_0x89a11e['execute']('footnotesStyle',{'value':_0x191336}),_0x89a11e['editing']['view']['focus']();}),_0x333cb5;};}(_0x1bbfc0));}(_0x59e577),_0x2cfca6=new _0x2a9869(_0x59e577['locale'],{'styleGridAriaLabel':_0x5b3c25,'styleButtonViews':_0x2ecb35});return _0x2cfca6['delegate']('execute')['to'](_0x49f7a7),_0x2cfca6['on']('footnotesListStart',(_0x2f07a9,_0x384247)=>{_0x59e577['execute']('footnotesStart',{'value':_0x384247['startIndex']});}),_0x2cfca6;}({'editor':_0x314f71,'dropdownView':_0x341b40});_0x341b40['panelView']['children']['add'](_0x473146);}),_0x341b40;};}(_0x2f30ba));}['afterInit'](){const {editor:_0x134006}=this,{t:t}=_0x134006['locale'],_0x5a23bf=_0x134006['plugins']['get'](_0x53d40a),{defaultPositions:_0x25757b}=_0x190952;_0x5a23bf['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x134006['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3c5081=>{let _0x3e3e5f=_0x3c5081['getFirstPosition']()?.['parent'];return _0x3e3e5f?.['is']('$text')&&(_0x3e3e5f=_0x3e3e5f['parent']),_0x3e3e5f?.['is']('element')?_0x3e3e5f['findAncestor'](_0x41db3d):null;},'positions':[_0x25757b['southArrowNorth'],_0x25757b['southArrowNorthMiddleWest'],_0x25757b['southArrowNorthMiddleEast'],_0x25757b['southArrowNorthWest'],_0x25757b['southArrowNorthEast'],_0x25757b['northArrowSouth'],_0x25757b['northArrowSouthMiddleWest'],_0x25757b['northArrowSouthMiddleEast'],_0x25757b['northArrowSouthWest'],_0x25757b['northArrowSouthEast'],_0x25757b['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 _0x9bf9ea,View as _0x45e88d,ViewCollection as _0x197bd7,FocusCycler as _0x52870e,addKeyboardHandlingForGrid as tt,CollapsibleView as st,LabeledFieldView as it,createLabeledInputNumber as et}from'ckeditor5/src/ui.js';import{FocusTracker as ot,KeystrokeHandler as rt,global as nt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x45e88d{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x197bd7();['focusCycler'];constructor(_0x5b729f,{styleButtonViews:_0x57553e,styleGridAriaLabel:_0x4407b9}){super(_0x5b729f),(this['focusCycler']=new _0x52870e({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x57553e,_0x4407b9),[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 _0x58443e of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x58443e['element']);tt({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>nt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x466ebb=_0x19d852=>_0x19d852['stopPropagation']();this['keystrokes']['set']('arrowright',_0x466ebb),this['keystrokes']['set']('arrowleft',_0x466ebb),this['keystrokes']['set']('arrowup',_0x466ebb),this['keystrokes']['set']('arrowdown',_0x466ebb);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x172b86,_0x2a9158){const _0x581b34=new _0x45e88d(this['locale']);return _0x581b34['children']=_0x581b34['createCollection'](),_0x581b34['children']['addMany'](_0x172b86),_0x581b34['setTemplate']({'tag':'div','attributes':{'aria-label':_0x2a9158,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x581b34['children']}),_0x581b34['children']['delegate']('execute')['to'](this),_0x581b34['focus']=function(){for(const _0x397e13 of this['children'])if(_0x397e13 instanceof _0x9bf9ea&&_0x397e13['isOn'])return void _0x397e13['focus']();this['children']['first']['focus']();},_0x581b34['focusTracker']=new ot(),_0x581b34['keystrokes']=new rt(),_0x581b34['render'](),_0x581b34['keystrokes']['listenTo'](_0x581b34['element']),this['children']['add'](_0x581b34),_0x581b34;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5935ab=this['_createStartIndexPropertyView'](),_0x3db4e2=[_0x5935ab],_0x2841a3=new st(this['locale'],_0x3db4e2);return _0x2841a3['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x2841a3['buttonView']['bind']('isEnabled')['toMany'](_0x3db4e2,'isEnabled',(..._0x451f6b)=>_0x451f6b['some'](_0x48d2a3=>_0x48d2a3)),_0x2841a3['buttonView']['on']('change:isEnabled',(_0x1a63b4,_0x2ff9ae,_0x383cbf)=>{_0x383cbf||(_0x2841a3['isCollapsed']=!0x0);}),this['children']['add'](_0x2841a3),[_0x5935ab,_0x2841a3];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x858242=new it(this['locale'],et);return _0x858242['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x858242['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x858242['fieldView']['on']('input',()=>{const _0xffe123=_0x858242['fieldView']['element'],_0x45fb64=_0xffe123['valueAsNumber'];Number['isNaN'](_0x45fb64)?_0x858242['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xffe123['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x45fb64}):_0x858242['errorText']=t(_0x45fb64<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x858242;}}
@@ -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 _0x688600=_0x45e9;(function(_0x3f0b89,_0x1d2690){var _0x44f9d9=_0x45e9,_0x47365a=_0x3f0b89();while(!![]){try{var _0x2baadc=parseInt(_0x44f9d9(0x1db))/0x1+parseInt(_0x44f9d9(0x1d4))/0x2+-parseInt(_0x44f9d9(0x1d7))/0x3*(-parseInt(_0x44f9d9(0x1dd))/0x4)+parseInt(_0x44f9d9(0x1d8))/0x5+parseInt(_0x44f9d9(0x1d6))/0x6+-parseInt(_0x44f9d9(0x1da))/0x7*(-parseInt(_0x44f9d9(0x1d9))/0x8)+-parseInt(_0x44f9d9(0x1d3))/0x9*(parseInt(_0x44f9d9(0x1e0))/0xa);if(_0x2baadc===_0x1d2690)break;else _0x47365a['push'](_0x47365a['shift']());}catch(_0x3b2cbe){_0x47365a['push'](_0x47365a['shift']());}}}(_0x35ba,0x5d48d));import{Plugin as _0x262cb4}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2b8b42}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x53e73a}from'./footnotesproperties/footnotespropertiesui.js';function _0x35ba(){var _0x2ed395=['343792BIjjzE','isPremiumPlugin','3565620smLgVX','989385HOdsSk','455580IKzDkE','19712HLMqwX','931yPHxUE','568465aGZmXe','pluginName','4OfFwuT','FootnotesProperties','requires','70BfNxib','isOfficialPlugin','2187207dxqsci'];_0x35ba=function(){return _0x2ed395;};return _0x35ba();}function _0x45e9(_0x3538ac,_0x50f01f){var _0x35ba84=_0x35ba();return _0x45e9=function(_0x45e94a,_0x239b1c){_0x45e94a=_0x45e94a-0x1d2;var _0x800a34=_0x35ba84[_0x45e94a];return _0x800a34;},_0x45e9(_0x3538ac,_0x50f01f);}export class FootnotesProperties extends _0x262cb4{static get[_0x688600(0x1dc)](){var _0x5567fc=_0x688600;return _0x5567fc(0x1de);}static get[_0x688600(0x1df)](){return[_0x2b8b42,_0x53e73a];}static get[_0x688600(0x1d2)](){return!0x0;}static get[_0x688600(0x1d5)](){return!0x0;}}
@@ -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
+ const _0x39cab3=_0x45de;(function(_0x2dc340,_0x3f2ffe){const _0x59d9f5=_0x45de,_0x5b8d84=_0x2dc340();while(!![]){try{const _0x3272d9=-parseInt(_0x59d9f5(0xcf))/0x1*(parseInt(_0x59d9f5(0xeb))/0x2)+parseInt(_0x59d9f5(0x101))/0x3*(-parseInt(_0x59d9f5(0xd3))/0x4)+parseInt(_0x59d9f5(0xe0))/0x5+parseInt(_0x59d9f5(0x119))/0x6*(-parseInt(_0x59d9f5(0xee))/0x7)+parseInt(_0x59d9f5(0x113))/0x8+parseInt(_0x59d9f5(0xed))/0x9*(-parseInt(_0x59d9f5(0x11a))/0xa)+-parseInt(_0x59d9f5(0xf5))/0xb*(-parseInt(_0x59d9f5(0x105))/0xc);if(_0x3272d9===_0x3f2ffe)break;else _0x5b8d84['push'](_0x5b8d84['shift']());}catch(_0x3417c8){_0x5b8d84['push'](_0x5b8d84['shift']());}}}(_0x34fc,0x48930));import{Plugin as _0x1e1532}from'ckeditor5/src/core.js';function _0x45de(_0x573e3b,_0x5371d4){const _0x34fcd8=_0x34fc();return _0x45de=function(_0x45de68,_0x4ce864){_0x45de68=_0x45de68-0xbb;let _0x43702b=_0x34fcd8[_0x45de68];return _0x43702b;},_0x45de(_0x573e3b,_0x5371d4);}function _0x34fc(){const _0x20b225=['singleton','has','getChildren','length','getFootnote','getChanges','createRangeIn','setFootnoteFormatter','append','high','2832235RxCKkQ','some','footnoteId','paragraph','_updateFootnotesCounters','push','splice','_handleFootnotesDefinitionsObjectSync','_footnoteRefsTracker','model','isPremiumPlugin','58042ArWvzs','editor','369WNeuuW','56jVaqAC','end','differ','_ensureFootnotesDefinitionsContainerExists','_ensureFootnotesReferencesHaveProperOrder','_handleRemoveFootnoteReferenceById','min','11CTBzvb','createElement','before','insert','footnoteDefinition','after','config','document','getAttribute','from','_footnoteDefsTracker','_updateFootnoteRefCounter','12jYPWlh','registerPostFixer','footnoteRef','_footnotes','12349524EyDUao','FootnotesTracker','footnoteInlineContent','_footnoteFormatter','get','footnotes.multiBlock','_handleInsertedFootnoteReference','childCount','listenTo','isOfficialPlugin','footnotesDefinitions','reference','definition','_footnotesDefinitions','368056YdnAbg','reset','createPositionAt','createRangeOn','_insertEmptyFootnotesDefinitionsContainer','remove','68808awFblY','92760tMnxNk','_handleFootnoteDefinitionsChanges','_sortFootnoteDefinitions','init','low','_footnoteDefsContainerTracker','map','unshift','find','findIndex','getFootnotesFormatter','compareWith','_handleFootnoteReferencesChanges','change:data','root','$graveyard','set','createPositionBefore','footnoteCounter','parent','move','enqueueChange','getFootnotes','indexOf','setAttribute','getFootnotesDefinitionsObjectElement','isEqual','getRootNames','13iZodZY','pluginName','add','rootName','494984clGeQh','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectChanges'];_0x34fc=function(){return _0x20b225;};return _0x34fc();}import{ModelElementTracker as _0x1d295}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1e1532{[_0x39cab3(0x104)]=[];[_0x39cab3(0x112)]=null;[_0x39cab3(0x108)]=null;[_0x39cab3(0x11f)];[_0x39cab3(0xe8)];[_0x39cab3(0xff)];static get[_0x39cab3(0xd0)](){const _0x26d38e=_0x39cab3;return _0x26d38e(0x106);}static get[_0x39cab3(0x10e)](){return!0x0;}static get[_0x39cab3(0xea)](){return!0x0;}constructor(_0xe21b85){const _0x10b4ff=_0x39cab3;super(_0xe21b85),this[_0x10b4ff(0x11f)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0x10f),'getElementKey':()=>_0x10b4ff(0xd6)}),this[_0x10b4ff(0xe8)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0x103),'getElementKey':_0x3c80b4=>_0x3c80b4[_0x10b4ff(0xfd)](_0x10b4ff(0xe2))}),this[_0x10b4ff(0xff)]=new _0x1d295(this[_0x10b4ff(0xec)][_0x10b4ff(0xe9)],{'elementName':_0x10b4ff(0xf9),'getElementKey':_0x42b662=>_0x42b662[_0x10b4ff(0xfd)](_0x10b4ff(0xe2))});}[_0x39cab3(0x11d)](){const _0x4ef08d=_0x39cab3,{editor:_0x3a9a14}=this,{model:_0x148bc8,data:_0x19ce92}=_0x3a9a14;_0x148bc8[_0x4ef08d(0xfc)][_0x4ef08d(0x102)](_0x527546=>{const _0x44841c=_0x4ef08d,_0x538a83=_0x148bc8[_0x44841c(0xfc)][_0x44841c(0xf0)][_0x44841c(0xdb)]();let _0x5bc60f=!0x1;return this[_0x44841c(0xd5)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0x11b)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0xbf)](_0x527546,_0x538a83)&&(_0x5bc60f=!0x0),this[_0x44841c(0xf2)](_0x527546)&&(_0x5bc60f=!0x0),this[_0x44841c(0xe7)](_0x527546)&&(_0x5bc60f=!0x0),this[_0x44841c(0x11c)](_0x527546)&&(_0x5bc60f=!0x0),_0x5bc60f;}),this[_0x4ef08d(0x10d)](_0x148bc8[_0x4ef08d(0xfc)],_0x4ef08d(0xc0),()=>{const _0xb5cdc=_0x4ef08d;_0x148bc8[_0xb5cdc(0xc8)]({'isUndoable':!0x1},_0x1cbac3=>{const _0x4e44a3=_0xb5cdc;this[_0x4e44a3(0xf1)](_0x1cbac3);});},{'priority':_0x4ef08d(0x11e)}),this[_0x4ef08d(0x10d)](_0x19ce92,_0x4ef08d(0xc3),()=>{const _0x3e1745=_0x4ef08d;this[_0x3e1745(0x104)]=[],this[_0x3e1745(0x11f)][_0x3e1745(0x114)](),this[_0x3e1745(0xe8)][_0x3e1745(0x114)](),this[_0x3e1745(0xff)][_0x3e1745(0x114)]();},{'priority':_0x4ef08d(0xdf)});}[_0x39cab3(0xcc)](){const _0x173086=_0x39cab3;return this[_0x173086(0x112)];}[_0x39cab3(0xda)](_0x221754){const _0x49d0d5=_0x39cab3;return this[_0x49d0d5(0x104)][_0x49d0d5(0xbb)](_0x3eedb4=>_0x3eedb4['id']===_0x221754)||null;}[_0x39cab3(0xc9)](){const _0x2119b0=_0x39cab3;return Array[_0x2119b0(0xfe)](this[_0x2119b0(0x104)]);}[_0x39cab3(0xbd)](){const _0x159fa0=_0x39cab3;return this[_0x159fa0(0x108)];}[_0x39cab3(0xdd)](_0x28ed0c){const _0x342eca=_0x39cab3;this[_0x342eca(0x108)]=_0x28ed0c;}[_0x39cab3(0xe4)](_0x2fba44,_0x1bd6f7=0x0){const _0x582de3=_0x39cab3;let _0x288c29=!0x1;for(let _0x546391=_0x1bd6f7;_0x546391<this[_0x582de3(0x104)][_0x582de3(0xd9)];_0x546391++)this[_0x582de3(0x100)](_0x2fba44,_0x546391)&&(_0x288c29=!0x0);return _0x288c29;}[_0x39cab3(0x117)](_0x578e37,_0x3b0724){const _0x2116c0=_0x39cab3,_0xff8725=_0x578e37[_0x2116c0(0xf6)](_0x2116c0(0x10f),{});return _0x578e37[_0x2116c0(0xde)](_0xff8725,_0x3b0724),this[_0x2116c0(0x112)]=_0xff8725,_0xff8725;}[_0x39cab3(0xf1)](_0x5231ff){const _0x17e5bf=_0x39cab3;if(!this[_0x17e5bf(0x104)][_0x17e5bf(0xd9)]||this[_0x17e5bf(0x112)])return;const _0x179817=this[_0x17e5bf(0x104)][0x0][_0x17e5bf(0x110)][_0x17e5bf(0xc1)],_0xf5cbd1=this[_0x17e5bf(0x117)](_0x5231ff,_0x179817);for(const _0x48effc of this[_0x17e5bf(0x104)])_0x48effc[_0x17e5bf(0x111)][_0x17e5bf(0xc6)]||_0x5231ff[_0x17e5bf(0xf8)](_0x48effc[_0x17e5bf(0x111)],_0xf5cbd1,_0x17e5bf(0xef));this[_0x17e5bf(0xe4)](_0x5231ff);}[_0x39cab3(0xd5)](_0xb31cc6,_0x2562b1){const _0x25c669=_0x39cab3;let _0x1ffd08=!0x1;const {inserted:_0x478112,removed:_0x52b438,moved:_0x3f37c7}=this[_0x25c669(0x11f)][_0x25c669(0xdb)](_0x2562b1);if(_0x3f37c7[_0x25c669(0xd9)]&&(this[_0x25c669(0x112)]=_0x3f37c7[0x0]),_0x478112[_0x25c669(0xd9)]){if(_0x478112[_0x25c669(0xd9)]>0x1||this[_0x25c669(0x112)]&&_0x478112[_0x25c669(0xe1)](_0x37f47e=>_0x37f47e!==this[_0x25c669(0x112)])){const _0x1ef7e1=_0xb31cc6[_0x25c669(0xf6)](_0x25c669(0x10f),{}),_0x9a3086=[];this[_0x25c669(0x112)]&&_0x9a3086[_0x25c669(0xe5)](this[_0x25c669(0x112)]),_0x9a3086[_0x25c669(0xe5)](..._0x478112),_0xb31cc6[_0x25c669(0xf8)](_0x1ef7e1,_0x9a3086[0x0],_0x25c669(0xf7));for(const _0x367856 of _0x9a3086)_0xb31cc6[_0x25c669(0xc7)](_0xb31cc6[_0x25c669(0xdc)](_0x367856),_0xb31cc6[_0x25c669(0x115)](_0x1ef7e1,_0x25c669(0xef))),_0xb31cc6[_0x25c669(0x118)](_0x367856);this[_0x25c669(0x112)]=_0x1ef7e1,this[_0x25c669(0xe4)](_0xb31cc6),_0x1ffd08=!0x0;}else this[_0x25c669(0x112)]=_0x478112[0x0];}if(_0x52b438[_0x25c669(0xd9)]&&_0x25c669(0xc2)===this[_0x25c669(0x112)]?.[_0x25c669(0xc1)][_0x25c669(0xd2)]){for(const _0x49c25a of this[_0x25c669(0x104)])_0xb31cc6[_0x25c669(0x118)](_0x49c25a[_0x25c669(0x110)]),_0x1ffd08=!0x0;this[_0x25c669(0x104)]=[],this[_0x25c669(0x112)]=null;}return _0x1ffd08;}[_0x39cab3(0x11b)](_0x19cf07,_0x43cc14){const _0x114e27=_0x39cab3;let _0x5e1586=!0x1;const _0x476791=this[_0x114e27(0xec)][_0x114e27(0xfb)][_0x114e27(0x109)](_0x114e27(0x10a)),{inserted:_0x5bf766,moved:_0x2d621d}=this[_0x114e27(0xff)][_0x114e27(0xdb)](_0x43cc14);for(const _0x5dc295 of[..._0x2d621d,..._0x5bf766]){const _0x53d7c5=_0x5dc295[_0x114e27(0xfd)](_0x114e27(0xe2)),_0x465144=this[_0x114e27(0xda)](_0x53d7c5);_0x465144&&(_0x465144[_0x114e27(0x111)]=_0x5dc295),_(_0x19cf07,_0x476791,_0x5dc295)&&(_0x5e1586=!0x0);}return _0x5e1586;}[_0x39cab3(0xbf)](_0x4bda76,_0x59c8b2){const _0xe4a85e=_0x39cab3;let _0x586a98=!0x1;const {removed:_0x4b2928,inserted:_0x13e92b,moved:_0x46c11d}=this[_0xe4a85e(0xe8)][_0xe4a85e(0xdb)](_0x59c8b2);for(const _0x360a69 of _0x4b2928)this[_0xe4a85e(0xf3)](_0x4bda76,_0x360a69)&&(_0x586a98=!0x0);for(const _0x2a8683 of _0x13e92b)this[_0xe4a85e(0x10b)](_0x4bda76,_0x2a8683)&&(_0x586a98=!0x0);for(const _0x3ec4ed of _0x46c11d)this[_0xe4a85e(0xd4)](_0x4bda76,_0x3ec4ed)&&(_0x586a98=!0x0);return _0x586a98;}[_0x39cab3(0xe7)](_0x189802){const _0x546507=_0x39cab3;if(!this[_0x546507(0x112)])return!0x1;let _0xc76ea5=!0x1;if(this[_0x546507(0x112)][_0x546507(0x10c)]!==this[_0x546507(0x104)][_0x546507(0xd9)]){const _0x57d4a7=[];for(const _0x49577d of this[_0x546507(0x112)][_0x546507(0xd8)]()){const _0x22b391=_0x49577d[_0x546507(0xfd)](_0x546507(0xe2));this[_0x546507(0xda)](_0x22b391)||(_0x57d4a7[_0x546507(0x121)](_0x49577d),_0xc76ea5=!0x0);}for(const _0x467958 of _0x57d4a7)_0x189802[_0x546507(0x118)](_0x467958);}const _0x203f88=new Set(),_0xfaf462=[];for(const _0x458908 of this[_0x546507(0x112)][_0x546507(0xd8)]()){const _0xe23bfb=_0x458908[_0x546507(0xfd)](_0x546507(0xe2));_0x203f88[_0x546507(0xd7)](_0xe23bfb)?(_0xfaf462[_0x546507(0x121)](_0x458908),_0xc76ea5=!0x0):_0x203f88[_0x546507(0xd1)](_0xe23bfb);}for(const _0x13e048 of _0xfaf462)_0x189802[_0x546507(0x118)](_0x13e048);return this[_0x546507(0x112)][_0x546507(0x10c)]||(_0x189802[_0x546507(0x118)](this[_0x546507(0x112)]),this[_0x546507(0x112)]=null,_0xc76ea5=!0x0),_0xc76ea5;}[_0x39cab3(0x10b)](_0x1eeadd,_0x5a8fb7){const _0x53e09b=_0x39cab3;if(this[_0x53e09b(0x104)][_0x53e09b(0xbb)](_0x4b24b9=>_0x4b24b9[_0x53e09b(0x110)]===_0x5a8fb7))return!0x1;let _0x1056a6=!0x1;const _0x183a1e=_0x5a8fb7[_0x53e09b(0xfd)](_0x53e09b(0xe2)),_0x36b7ab=this[_0x53e09b(0x104)][_0x53e09b(0xbc)](_0x451ec7=>_0x451ec7['id']===_0x183a1e);-0x1!==_0x36b7ab&&(_0x1eeadd[_0x53e09b(0x118)](this[_0x53e09b(0x104)][_0x36b7ab][_0x53e09b(0x110)]),this[_0x53e09b(0x104)][_0x53e09b(0xe6)](_0x36b7ab,0x1),_0x1056a6=!0x0);let _0xc3fca9=this[_0x53e09b(0x112)]?function(_0x4c4026,_0x580a01){const _0x146ae2=_0x53e09b;for(const _0x44968a of _0x4c4026[_0x146ae2(0xd8)]())if(_0x44968a[_0x146ae2(0xfd)](_0x146ae2(0xe2))===_0x580a01)return _0x44968a;return null;}(this[_0x53e09b(0x112)],_0x183a1e):null;_0xc3fca9||(_0xc3fca9=_0x1eeadd[_0x53e09b(0xf6)](_0x53e09b(0xf9),{'footnoteId':_0x183a1e}),this[_0x53e09b(0x112)]&&(_0x1eeadd[_0x53e09b(0xf8)](_0xc3fca9,this[_0x53e09b(0x112)],_0x53e09b(0xef)),_0x1056a6=!0x0));const _0x24218b={'id':_0x183a1e,'reference':_0x5a8fb7,'definition':_0xc3fca9},_0x1b8a10=I(this[_0x53e09b(0xec)][_0x53e09b(0xe9)],this[_0x53e09b(0x104)],_0x5a8fb7);this[_0x53e09b(0x104)][_0x53e09b(0xe6)](_0x1b8a10,0x0,_0x24218b);let _0xc1810b=_0x1b8a10;return-0x1!==_0x36b7ab&&(_0xc1810b=Math[_0x53e09b(0xf4)](_0x1b8a10,_0x36b7ab)),this[_0x53e09b(0xe4)](_0x1eeadd,_0xc1810b)&&(_0x1056a6=!0x0),_0x1056a6;}[_0x39cab3(0xf3)](_0x82c690,_0x5e8426){const _0x3ac4df=_0x39cab3,_0x2dd2bf=this[_0x3ac4df(0x104)][_0x3ac4df(0xbc)](_0x16b0c6=>_0x16b0c6['id']===_0x5e8426);if(-0x1===_0x2dd2bf)return!0x1;let _0x248cf4=!0x1;const _0x14c0bc=this[_0x3ac4df(0x104)][_0x2dd2bf];return _0x3ac4df(0xc2)!==_0x14c0bc[_0x3ac4df(0x111)][_0x3ac4df(0xc1)][_0x3ac4df(0xd2)]&&(_0x82c690[_0x3ac4df(0x118)](_0x14c0bc[_0x3ac4df(0x111)]),_0x248cf4=!0x0),this[_0x3ac4df(0x104)][_0x3ac4df(0xe6)](_0x2dd2bf,0x1),this[_0x3ac4df(0xe4)](_0x82c690,_0x2dd2bf)&&(_0x248cf4=!0x0),_0x248cf4;}[_0x39cab3(0xd4)](_0x3f0834,_0x36560f){const _0x16b021=_0x39cab3,_0x7a3e69=_0x36560f[_0x16b021(0xfd)](_0x16b021(0xe2)),_0x116e33=this[_0x16b021(0x104)][_0x16b021(0xbc)](_0x877634=>_0x877634['id']===_0x7a3e69),_0x299146=this[_0x16b021(0x104)][_0x116e33];let _0x56fde0=!0x1;_0x299146[_0x16b021(0x110)]=_0x36560f,this[_0x16b021(0x104)][_0x16b021(0xe6)](_0x116e33,0x1);const _0x1d51d9=I(this[_0x16b021(0xec)][_0x16b021(0xe9)],this[_0x16b021(0x104)],_0x36560f);return this[_0x16b021(0x104)][_0x16b021(0xe6)](_0x1d51d9,0x0,_0x299146),this[_0x16b021(0xe4)](_0x3f0834,Math[_0x16b021(0xf4)](_0x116e33,_0x1d51d9))&&(_0x56fde0=!0x0),_0x56fde0;}[_0x39cab3(0x100)](_0x4f8d74,_0x1114ab){const _0x13fd3b=_0x39cab3;if(!this[_0x13fd3b(0x112)])return!0x1;const _0x1c01fb=this[_0x13fd3b(0x104)][_0x1114ab];let _0x2883b2;return _0x2883b2=this[_0x13fd3b(0x108)]?this[_0x13fd3b(0x108)]({'footnote':_0x1c01fb,'container':this[_0x13fd3b(0x112)],'digits':String(this[_0x13fd3b(0x104)][_0x13fd3b(0xd9)])[_0x13fd3b(0xd9)],'value':_0x1114ab+0x1}):String(_0x1114ab+0x1),_0x1c01fb[_0x13fd3b(0x110)][_0x13fd3b(0xfd)](_0x13fd3b(0xc5))!=_0x2883b2&&(_0x4f8d74[_0x13fd3b(0xcb)](_0x13fd3b(0xc5),_0x2883b2,_0x1c01fb[_0x13fd3b(0x110)]),!0x0);}[_0x39cab3(0x11c)](_0xdcddb5){const _0x26ae59=_0x39cab3;if(!this[_0x26ae59(0x112)]||this[_0x26ae59(0x104)][_0x26ae59(0xd9)]<0x2)return!0x1;if(function(_0x2a05ed,_0xb56a0){const _0x4e6e11=_0x26ae59;if(_0x2a05ed[_0x4e6e11(0xd9)]!==_0xb56a0[_0x4e6e11(0xd9)])return!0x1;for(let _0x55bc48=0x0;_0x55bc48<_0x2a05ed[_0x4e6e11(0xd9)];_0x55bc48++)if(_0x2a05ed[_0x55bc48]!==_0xb56a0[_0x55bc48])return!0x1;return!0x0;}(this[_0x26ae59(0x104)][_0x26ae59(0x120)](_0x4e4e6a=>_0x4e4e6a['id']),Array[_0x26ae59(0xfe)](this[_0x26ae59(0x112)][_0x26ae59(0xd8)]())[_0x26ae59(0x120)](_0x2e3945=>_0x2e3945[_0x26ae59(0xfd)](_0x26ae59(0xe2)))))return!0x1;let _0x5d1203=!0x1;for(let _0x5242b6=0x0;_0x5242b6<this[_0x26ae59(0x104)][_0x26ae59(0xd9)];_0x5242b6++){const _0xff2075=this[_0x26ae59(0x104)][_0x5242b6],_0x4edd41=_0xdcddb5[_0x26ae59(0xc4)](_0xff2075[_0x26ae59(0x111)]),_0x499b5d=_0xdcddb5[_0x26ae59(0x115)](this[_0x26ae59(0x112)],_0x5242b6);_0x4edd41[_0x26ae59(0xcd)](_0x499b5d)||(_0xdcddb5[_0x26ae59(0xc7)](_0xdcddb5[_0x26ae59(0x116)](_0xff2075[_0x26ae59(0x111)]),_0x499b5d),_0x5d1203=!0x0);}return _0x5d1203;}[_0x39cab3(0xf2)](_0x4a131f){const _0x50baec=_0x39cab3;if(!this[_0x50baec(0x104)][_0x50baec(0xd9)])return!0x1;const {model:_0x4c6dc6}=this[_0x50baec(0xec)];let _0x14c13a=!0x1;for(let _0x59301c=0x0;_0x59301c<this[_0x50baec(0x104)][_0x50baec(0xd9)]-0x1;_0x59301c++){const _0x40837b=this[_0x50baec(0x104)][_0x59301c],_0x9335bd=this[_0x50baec(0x104)][_0x59301c+0x1],_0x3b46d9=_0x4c6dc6[_0x50baec(0xc4)](_0x40837b[_0x50baec(0x110)]),_0x370969=_0x4c6dc6[_0x50baec(0xc4)](_0x9335bd[_0x50baec(0x110)]);_0x50baec(0xfa)===_0x3b46d9[_0x50baec(0xbe)](_0x370969)&&(this[_0x50baec(0xd4)](_0x4a131f,_0x40837b[_0x50baec(0x110)]),_0x59301c=-0x1,_0x14c13a=!0x0);}return _0x14c13a;}}function _(_0x196eae,_0x3ad6ff,_0x37b48f){const _0x2dfc64=_0x39cab3;if(_0x37b48f[_0x2dfc64(0x10c)])return!0x1;const _0x3acb12=_0x3ad6ff?_0x2dfc64(0xe3):_0x2dfc64(0x107);return _0x196eae[_0x2dfc64(0xf8)](_0x196eae[_0x2dfc64(0xf6)](_0x3acb12),_0x37b48f),!0x0;}function I(_0x76f756,_0x1a5c2a,_0x5f95df){const _0x483289=_0x39cab3;if(0x0===_0x1a5c2a[_0x483289(0xd9)])return 0x0;const _0x32ca7f=_0x76f756[_0x483289(0xc4)](_0x5f95df);for(let _0x39d06d=0x0;_0x39d06d<_0x1a5c2a[_0x483289(0xd9)];_0x39d06d++){const _0x1739e3=_0x1a5c2a[_0x39d06d],_0x61638c=_0x76f756[_0x483289(0xc4)](_0x1739e3[_0x483289(0x110)]);if(_0x483289(0xf7)===_0x32ca7f[_0x483289(0xbe)](_0x61638c))return _0x39d06d;}const _0x227b11=_0x5f95df[_0x483289(0xc1)];let _0x1c5078=-0x1;for(let _0x294f99=_0x1a5c2a[_0x483289(0xd9)]-0x1;_0x294f99>=0x0;_0x294f99--)if(_0x1a5c2a[_0x294f99][_0x483289(0x110)][_0x483289(0xc1)]===_0x227b11){_0x1c5078=_0x294f99;break;}if(-0x1!==_0x1c5078)return _0x1c5078+0x1;const _0x423922=_0x76f756[_0x483289(0xfc)][_0x483289(0xce)](),_0xbb57dc=_0x423922[_0x483289(0xca)](_0x227b11[_0x483289(0xd2)]),_0x5a8cc1=_0x423922[_0xbb57dc+0x1];if(_0x5a8cc1){for(let _0x1ee938=0x0;_0x1ee938<_0x1a5c2a[_0x483289(0xd9)];_0x1ee938++)if(_0x1a5c2a[_0x1ee938][_0x483289(0x110)][_0x483289(0xc1)][_0x483289(0xd2)]===_0x5a8cc1)return _0x1ee938;}return _0x1a5c2a[_0x483289(0xd9)];}
@@ -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 _0x5187a5,MenuBarMenuListItemButtonView as _0x5b70f1}from'ckeditor5/src/ui.js';import{Plugin as _0x2de6d3}from'ckeditor5/src/core.js';import{IconFootnote as _0x49d7e7}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2de6d3{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x52b68f}=this,{componentFactory:_0x4ed2bf}=_0x52b68f['ui'];_0x4ed2bf['add']('insertFootnote',x(_0x52b68f,_0x5187a5)),_0x4ed2bf['add']('menuBar:insertFootnote',x(_0x52b68f,_0x5b70f1)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3a9dc1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x10d3d6;for(const _0x157e33 in _0x3a9dc1){const _0x1d1aa7=_0x157e33,_0x28956e=_0x3a9dc1[_0x1d1aa7];if('footnotesLicenseKeyValid'==_0x28956e||'footnotesLicenseKeyInvalid'==_0x28956e||'footnotesLicenseKeyExpired'==_0x28956e||'footnotesLicenseKeyDomainLimit'==_0x28956e||'footnotesLicenseKeyNotAllowed'==_0x28956e||'footnotesLicenseKeyEvaluationLimit'==_0x28956e||'footnotesLicenseKeyTrialLimit'==_0x28956e||'footnotesLicenseKeyUsageLimit'==_0x28956e){delete _0x3a9dc1[_0x1d1aa7],_0x10d3d6=_0x28956e,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x10d3d6&&_0x3a9dc1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x30d97b,_0x308d00){const _0xea4b7c=_0x30d97b['commands']['get']('insertFootnote');return _0x59df4e=>{const {t:t}=_0x59df4e,_0xbcb20c=new _0x308d00(_0x59df4e),_0x53e764=_0xbcb20c instanceof _0x5b70f1;return _0xbcb20c['bind']('isEnabled')['to'](_0xea4b7c,'isEnabled'),_0xbcb20c['set']({'label':t(_0x53e764?'Footnote':'Insert\x20footnote'),'icon':_0x49d7e7,'tooltip':!0x0}),_0xbcb20c['on']('execute',()=>{_0xea4b7c['execute'](),_0x30d97b['editing']['view']['focus']();}),_0xbcb20c;};}
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(_0x393eb6,_0x1edede){var _0x160a60=_0x3e0f,_0x5bfc97=_0x393eb6();while(!![]){try{var _0x1977d8=-parseInt(_0x160a60(0xcf))/0x1*(-parseInt(_0x160a60(0xd0))/0x2)+-parseInt(_0x160a60(0xd5))/0x3*(parseInt(_0x160a60(0xd3))/0x4)+-parseInt(_0x160a60(0xce))/0x5*(-parseInt(_0x160a60(0xd2))/0x6)+parseInt(_0x160a60(0xd4))/0x7+parseInt(_0x160a60(0xcb))/0x8*(parseInt(_0x160a60(0xd1))/0x9)+parseInt(_0x160a60(0xcc))/0xa*(parseInt(_0x160a60(0xd6))/0xb)+-parseInt(_0x160a60(0xca))/0xc*(parseInt(_0x160a60(0xcd))/0xd);if(_0x1977d8===_0x1edede)break;else _0x5bfc97['push'](_0x5bfc97['shift']());}catch(_0x3897e3){_0x5bfc97['push'](_0x5bfc97['shift']());}}}(_0x4110,0x64bc4));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x3e0f(_0x4390fd,_0x17ed02){var _0x4110d0=_0x4110();return _0x3e0f=function(_0x3e0fc0,_0x3acfc5){_0x3e0fc0=_0x3e0fc0-0xca;var _0x3fb86a=_0x4110d0[_0x3e0fc0];return _0x3fb86a;},_0x3e0f(_0x4390fd,_0x17ed02);}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4110(){var _0x37b1f1=['24iTRaay','1690gzahoN','156mlMybL','357110xZHywG','535233URnrpn','2qRfhsh','478683QMQMDd','12mFiNZM','3736wBKHSe','2659895XPTHOV','204sdDVkJ','17611UTtFmz','1012068sLWivi'];_0x4110=function(){return _0x37b1f1;};return _0x4110();}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 _0x1fde(_0x1bc880,_0x5e629e){const _0x1a6a1a=_0x1a6a();return _0x1fde=function(_0x1fde6a,_0x420944){_0x1fde6a=_0x1fde6a-0xef;let _0x5eacda=_0x1a6a1a[_0x1fde6a];return _0x5eacda;},_0x1fde(_0x1bc880,_0x5e629e);}const _0x203a3a=_0x1fde;(function(_0x3b2296,_0xfc4bf4){const _0x8ebb4c=_0x1fde,_0x9ea689=_0x3b2296();while(!![]){try{const _0x34976d=parseInt(_0x8ebb4c(0xf4))/0x1+parseInt(_0x8ebb4c(0xfc))/0x2*(-parseInt(_0x8ebb4c(0xfa))/0x3)+-parseInt(_0x8ebb4c(0x102))/0x4*(-parseInt(_0x8ebb4c(0x10f))/0x5)+parseInt(_0x8ebb4c(0xf3))/0x6+-parseInt(_0x8ebb4c(0xf6))/0x7+parseInt(_0x8ebb4c(0x108))/0x8*(-parseInt(_0x8ebb4c(0x116))/0x9)+parseInt(_0x8ebb4c(0xf9))/0xa;if(_0x34976d===_0xfc4bf4)break;else _0x9ea689['push'](_0x9ea689['shift']());}catch(_0x1e88a4){_0x9ea689['push'](_0x9ea689['shift']());}}}(_0x1a6a,0xe8681));function _0x1a6a(){const _0x235575=['type','getElementKey','nodeAfter','80296IShNCV','elementName','_elementName','getChanges','push','insert','from','265NrllCk','add','_trackedElements','flat','set','position','get','1116UWOnPd','$text','clear','name','getItems','_getElementKey','remove','element','attributes','3152664CWEScT','1324376ZIhvml','root','12496071uZTeaw','values','slice','32501570FmILrK','118185HOVMqJ','_model','86hfjnIP','rootName','reset','createRangeOn','$graveyard','length','43448AoaJHI','has','delete'];_0x1a6a=function(){return _0x235575;};return _0x1a6a();}export class ModelElementTracker{[_0x203a3a(0xfb)];[_0x203a3a(0x10a)];[_0x203a3a(0xef)];[_0x203a3a(0x111)]=new Map();constructor(_0x53e1fe,_0x3c6cf8){const _0x2be420=_0x203a3a;this[_0x2be420(0xfb)]=_0x53e1fe,this[_0x2be420(0x10a)]=_0x3c6cf8[_0x2be420(0x109)],this[_0x2be420(0xef)]=_0x3c6cf8[_0x2be420(0x106)];}[_0x203a3a(0xfe)](){const _0xab9afc=_0x203a3a;this[_0xab9afc(0x111)][_0xab9afc(0x118)]();}[_0x203a3a(0x10b)](_0x2fac45){const _0x37930c=_0x203a3a,_0x58014e=new Set(),_0x314979=new Map();for(const _0x516d67 of _0x2fac45){if(_0x37930c(0x10d)===_0x516d67[_0x37930c(0x105)]&&_0x37930c(0x117)!==_0x516d67[_0x37930c(0x119)]&&_0x516d67[_0x37930c(0x114)][_0x37930c(0x107)]){const _0x582a63=this[_0x37930c(0xfb)][_0x37930c(0xff)](_0x516d67[_0x37930c(0x114)][_0x37930c(0x107)]);for(const _0x3601b6 of _0x582a63[_0x37930c(0x11a)]()){if(!_0x3601b6['is'](_0x37930c(0xf1),this[_0x37930c(0x10a)]))continue;const _0x20bcc6=this[_0x37930c(0xef)](_0x3601b6);_0x314979[_0x37930c(0x103)](_0x20bcc6)||_0x314979[_0x37930c(0x113)](_0x20bcc6,[]),_0x314979[_0x37930c(0x115)](_0x20bcc6)[_0x37930c(0x10c)](_0x3601b6);}}if(_0x37930c(0xf0)===_0x516d67[_0x37930c(0x105)]&&_0x516d67[_0x37930c(0x119)]===this[_0x37930c(0x10a)]){const _0x2bbce2=this[_0x37930c(0xef)]({'getAttribute':_0x2ec178=>_0x516d67[_0x37930c(0xf2)][_0x37930c(0x115)](_0x2ec178)});_0x58014e[_0x37930c(0x110)](_0x2bbce2);}}for(const [_0x2353bc,_0x1b1e12]of this[_0x37930c(0x111)])_0x37930c(0x100)===_0x1b1e12[_0x37930c(0xf5)][_0x37930c(0xfd)]&&_0x58014e[_0x37930c(0x110)](_0x2353bc);for(const _0xdc33f6 of _0x58014e)this[_0x37930c(0x111)][_0x37930c(0x104)](_0xdc33f6);for(const [_0x1d507d,_0x349140]of _0x314979)this[_0x37930c(0x111)][_0x37930c(0x113)](_0x1d507d,_0x349140[_0x349140[_0x37930c(0x101)]-0x1]);const _0x195b58=new Set();for(const [_0x2b73d3,_0x3086f4]of _0x314979)_0x58014e[_0x37930c(0x103)](_0x2b73d3)&&(_0x195b58[_0x37930c(0x110)](_0x3086f4[0x0]),_0x3086f4[_0x37930c(0x101)]>0x1?_0x314979[_0x37930c(0x113)](_0x2b73d3,_0x3086f4[_0x37930c(0xf8)](0x1)):_0x314979[_0x37930c(0x104)](_0x2b73d3),_0x58014e[_0x37930c(0x104)](_0x2b73d3));return{'removed':Array[_0x37930c(0x10e)](_0x58014e),'inserted':Array[_0x37930c(0x10e)](_0x314979[_0x37930c(0xf7)]())[_0x37930c(0x112)](),'moved':Array[_0x37930c(0x10e)](_0x195b58)};}}