@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251209.0 → 0.0.0-nightly-next-20251209.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 _0x98b562}from'ckeditor5/src/core.js';import{isWidget as _0x37529a,toWidget as _0x19f232,toWidgetEditable as _0x4f888f}from'ckeditor5/src/widget.js';import{uid as _0x1779aa}from'ckeditor5/src/utils.js';import{PointerObserver as _0xa80f45,ClickObserver as _0x12c292}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x458380}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x49801f}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x98b562{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x458380];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x172e69}=this;_0x172e69['config']['define']('footnotes.multiBlock',!0x0),_0x172e69['commands']['add']('insertFootnote',new _0x49801f(_0x172e69)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1358aa){const _0x348cc1=_0x401619([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]),_0x358828=0x47a28506,_0xbe1ec1=0x47a5fe6e^_0x358828,_0xaac01=window[_0x401619([0x44,0x61,0x74,0x65])][_0x401619([0x6e,0x6f,0x77])](),_0x2417db=_0x1358aa[_0x401619([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3ca497=new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4b9a04=>{_0x2417db[_0x401619([0x6f,0x6e,0x63,0x65])](_0x401619([0x72,0x65,0x61,0x64,0x79]),_0x4b9a04);}),_0x422844={[_0x401619([0x6b,0x74,0x79])]:_0x401619([0x45,0x43]),[_0x401619([0x75,0x73,0x65])]:_0x401619([0x73,0x69,0x67]),[_0x401619([0x63,0x72,0x76])]:_0x401619([0x50,0x2d,0x32,0x35,0x36]),[_0x401619([0x78])]:_0x401619([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]),[_0x401619([0x79])]:_0x401619([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]),[_0x401619([0x61,0x6c,0x67])]:_0x401619([0x45,0x53,0x32,0x35,0x36])},_0x32b609=_0x2417db[_0x401619([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x401619([0x67,0x65,0x74])](_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x123982(){let _0x290255,_0x31e9fc=null,_0x2f2cfb=null;try{if(_0x32b609==_0x401619([0x47,0x50,0x4c]))return _0x401619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x290255=_0x429728(),!_0x290255)return _0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x290255[_0x401619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2f2cfb=_0x173b9b(_0x290255[_0x401619([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x290255[_0x401619([0x6a,0x74,0x69])])),await _0x4add1f()?_0x44864b()?_0x21eb63()?_0x401619([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2e5b1b()?(_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31e9fc=_0x17e574(_0x401619([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x401619([0x74,0x72,0x69,0x61,0x6c])&&(_0x31e9fc=_0x17e574(_0x401619([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x216fd0()):_0x401619([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x401619([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x401619([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x21eb63(){const _0x46a4d6=[_0x401619([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x401619([0x74,0x72,0x69,0x61,0x6c])][_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaac01/0x3e8:0xe10*_0xbe1ec1;return _0x290255[_0x401619([0x65,0x78,0x70])]<_0x46a4d6;}function _0x44864b(){const _0x104df5=_0x290255[_0x401619([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x104df5&&(!!_0x104df5[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x2a]))||!!_0x104df5[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x46,0x4f,0x4f])));}function _0x2e5b1b(){const _0x546bc9=_0x290255[_0x401619([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x546bc9||0x0==_0x546bc9[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2082c9}=new URL(window[_0x401619([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x546bc9[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2082c9))return!0x0;const _0x24b00b=_0x2082c9[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e]));return _0x546bc9[_0x401619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x20355b=>_0x20355b[_0x401619([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x401619([0x2a])))[_0x401619([0x6d,0x61,0x70])](_0x53c907=>_0x53c907[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e])))[_0x401619([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4c999d=>_0x4c999d[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x24b00b[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401619([0x6d,0x61,0x70])](_0x5e38c2=>Array(_0x24b00b[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5e38c2[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x401619([0x66,0x69,0x6c,0x6c])](_0x5e38c2[0x0]===_0x401619([0x2a])?_0x401619([0x2a]):'')[_0x401619([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5e38c2))[_0x401619([0x73,0x6f,0x6d,0x65])](_0x710824=>_0x24b00b[_0x401619([0x65,0x76,0x65,0x72,0x79])]((_0x2196c3,_0x3543c8)=>_0x710824[_0x3543c8]===_0x2196c3||_0x710824[_0x3543c8]===_0x401619([0x2a])));}function _0x216fd0(){return _0x31e9fc&&_0x2f2cfb?new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x5ab3a3,_0x563d2e)=>{_0x31e9fc[_0x401619([0x74,0x68,0x65,0x6e])](_0x5ab3a3,_0x563d2e),_0x2f2cfb[_0x401619([0x74,0x68,0x65,0x6e])](_0x174a38=>{_0x174a38!=_0x401619([0x56,0x61,0x6c,0x69,0x64])&&_0x5ab3a3(_0x174a38);},_0x563d2e);}):_0x31e9fc||_0x2f2cfb||_0x401619([0x56,0x61,0x6c,0x69,0x64]);}}function _0x173b9b(_0x471e48,_0x4875ac){return new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x46b2cb=>{if(_0x157bf1())return _0x46b2cb(_0x401619([0x56,0x61,0x6c,0x69,0x64]));_0x1e73ce(),_0x2417db[_0x401619([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x24d481=!0x1;const _0x1b711b=_0x1779aa();function _0xa811c7(_0x2ab153){return!!_0x2ab153&&(typeof _0x2ab153===_0x401619([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x2ab153===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x2ab153[_0x401619([0x74,0x68,0x65,0x6e])]===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x2ab153[_0x401619([0x63,0x61,0x74,0x63,0x68])]===_0x401619([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x175243(_0x434b43){_0x1703ae(_0x434b43)[_0x401619([0x74,0x68,0x65,0x6e])](_0x8e3f56=>{if(!_0x8e3f56||_0x8e3f56[_0x401619([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x401619([0x6f,0x6b]))return _0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x433cf6(_0x2703a4(_0x1b711b+_0x4875ac))!=_0x8e3f56[_0x401619([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x401619([0x56,0x61,0x6c,0x69,0x64]);})[_0x401619([0x74,0x68,0x65,0x6e])](_0x2452cd=>(_0x1cbfdb(),_0x2452cd),()=>{const _0x32e50b=_0xdb9fa9();return null==_0x32e50b?(_0x1cbfdb(),_0x401619([0x56,0x61,0x6c,0x69,0x64])):_0x401619(_0xaac01-_0x32e50b>(0x63ae0106^_0x358828)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x401619([0x74,0x68,0x65,0x6e])](_0x46b2cb)[_0x401619([0x63,0x61,0x74,0x63,0x68])](()=>{_0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x279c2f=0x47946b86^_0x358828;function _0x1cbfdb(){const _0x2e79f3=_0x401619([0x6c,0x6c,0x63,0x74,0x2d])+_0x433cf6(_0x2703a4(_0x471e48)),_0x2815f6=_0x5d84df(_0x433cf6(window[_0x401619([0x4d,0x61,0x74,0x68])][_0x401619([0x63,0x65,0x69,0x6c])](_0xaac01/_0x279c2f)));window[_0x401619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401619([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2e79f3,_0x2815f6);}function _0xdb9fa9(){const _0x351e80=_0x401619([0x6c,0x6c,0x63,0x74,0x2d])+_0x433cf6(_0x2703a4(_0x471e48)),_0xf613e6=window[_0x401619([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x401619([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x351e80);return _0xf613e6?window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5d84df(_0xf613e6),0x10)*_0x279c2f:null;}function _0x1703ae(_0x47b71a){return new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x391464,_0x3f7f35)=>{_0x47b71a[_0x401619([0x74,0x68,0x65,0x6e])](_0x391464,_0x3f7f35),window[_0x401619([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3f7f35,0x47a351c6^_0x358828);});}}_0x2417db[_0x401619([0x6f,0x6e])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x173d03,_0x37b673)=>{if(_0x37b673[0x0]!=_0x471e48)return _0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x37b673[0x1]={..._0x37b673[0x1],[_0x401619([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1b711b};},{[_0x401619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401619([0x68,0x69,0x67,0x68])}),_0x2417db[_0x401619([0x6f,0x6e])](_0x401619([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x45c949=>{_0xa811c7(_0x45c949[_0x401619([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x24d481=!0x0,_0x175243(_0x45c949[_0x401619([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x401619([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x401619([0x6c,0x6f,0x77])}),_0x3ca497[_0x401619([0x74,0x68,0x65,0x6e])](()=>{_0x24d481||_0x46b2cb(_0x401619([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x157bf1(){return _0x2417db[_0x401619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401619([0x76,0x69,0x65,0x77])][_0x401619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x401619([0x61,0x75,0x74,0x6f]);}function _0x1e73ce(){_0x2417db[_0x401619([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x401619([0x76,0x69,0x65,0x77])][_0x401619([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x401619([0x61,0x75,0x74,0x6f]);}}function _0x17e574(_0x1a38e9){const _0x300e2a=[new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2e7380=>setTimeout(_0x2e7380,0x47abbbca^_0x358828)),_0x3ca497[_0x401619([0x74,0x68,0x65,0x6e])](()=>new window[(_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5b2163=>{let _0x859456=0x0;_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x6f,0x6e])](_0x401619([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x27d176,_0x15d6f9)=>{_0x15d6f9[0x0][_0x401619([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x859456++,_0x859456==(0x47a284fe^_0x358828)&&(_0x5b2163(),_0x27d176[_0x401619([0x6f,0x66,0x66])]());});}))];return window[_0x401619([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x401619([0x72,0x61,0x63,0x65])](_0x300e2a)[_0x401619([0x74,0x68,0x65,0x6e])](()=>_0x1a38e9);}async function _0x21f38f(){await _0x3ca497,_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3afb6e,_0x2417db[_0x401619([0x6d,0x6f,0x64,0x65,0x6c])][_0x401619([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3afb6e,_0x2417db[_0x401619([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x401619([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4addb7(_0x5bbfdd){const _0x552cbf=_0x28a5b5();_0x2417db[_0x552cbf]=_0x401619([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5bbfdd,_0x5bbfdd!=_0x401619([0x56,0x61,0x6c,0x69,0x64])&&_0x21f38f();}function _0x28a5b5(){const _0x5ab0c4=window[_0x401619([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x401619([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x401619([0x6e,0x6f,0x77])]())[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x401619([0x2e]),'');let _0x311752=_0x401619([0x75]);for(let _0x4f42ce=0x0;_0x4f42ce<_0x5ab0c4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4f42ce+=0x2){let _0x11a74a=window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5ab0c4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4f42ce,_0x4f42ce+0x2));_0x11a74a>=_0x348cc1[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x11a74a-=_0x348cc1[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x311752+=_0x348cc1[_0x11a74a];}return _0x311752;}function _0x429728(){const _0x2e642a=_0x32b609[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e]));if(0x3!=_0x2e642a[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1ac443(_0x2e642a[0x1]);function _0x1ac443(_0x2c16cb){const _0x20a6e8=_0x1697bf(_0x2c16cb);return _0x20a6e8&&_0x11fd22()?_0x20a6e8:null;function _0x11fd22(){const _0x26ddf4=_0x20a6e8[_0x401619([0x6a,0x74,0x69])],_0x4938bb=window[_0x401619([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x26ddf4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x26ddf4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3596ed={..._0x20a6e8,[_0x401619([0x6a,0x74,0x69])]:_0x26ddf4[_0x401619([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x26ddf4[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3596ed[_0x401619([0x76,0x63])],_0x2703a4(_0x3596ed)==_0x4938bb;}}}async function _0x4add1f(){let _0x3127f9=!0x0;try{const _0x56cc28=_0x32b609[_0x401619([0x73,0x70,0x6c,0x69,0x74])](_0x401619([0x2e])),[_0x3121e9,_0x315cf2,_0x50a7ff]=_0x56cc28;return _0xb4eb91(_0x3121e9),await _0x32d5a6(_0x3121e9,_0x315cf2,_0x50a7ff),_0x3127f9;}catch{return!0x1;}function _0xb4eb91(_0x48c7ab){const _0x3b5dd5=_0x1697bf(_0x48c7ab);_0x3b5dd5&&_0x3b5dd5[_0x401619([0x61,0x6c,0x67])]==_0x401619([0x45,0x53,0x32,0x35,0x36])||(_0x3127f9=!0x1);}async function _0x32d5a6(_0x481bc1,_0x215a00,_0x26d49b){const _0x4dadd7=window[_0x401619([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x401619([0x66,0x72,0x6f,0x6d])](_0x151fb3(_0x26d49b),_0x4f4422=>_0x4f4422[_0x401619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1cc087=new window[(_0x401619([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x401619([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x481bc1+_0x401619([0x2e])+_0x215a00),_0x5d8fd9=window[_0x401619([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x401619([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5d8fd9)return;const _0x58af84=await _0x5d8fd9[_0x401619([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x401619([0x6a,0x77,0x6b]),_0x422844,{[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x45,0x43,0x44,0x53,0x41]),[_0x401619([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x401619([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x401619([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5d8fd9[_0x401619([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x45,0x43,0x44,0x53,0x41]),[_0x401619([0x68,0x61,0x73,0x68])]:{[_0x401619([0x6e,0x61,0x6d,0x65])]:_0x401619([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x58af84,_0x4dadd7,_0x1cc087)||(_0x3127f9=!0x1);}}function _0x1697bf(_0x124975){return _0x124975[_0x401619([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x401619([0x65,0x79]))?JSON[_0x401619([0x70,0x61,0x72,0x73,0x65])](_0x151fb3(_0x124975)):null;}function _0x151fb3(_0x477cb9){return window[_0x401619([0x61,0x74,0x6f,0x62])](_0x477cb9[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x401619([0x2b]))[_0x401619([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x401619([0x2f])));}function _0x2703a4(_0x3da123){let _0x2716e8=0x1505;function _0x4b1212(_0x5cc796){for(let _0x35173c=0x0;_0x35173c<_0x5cc796[_0x401619([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x35173c++){const _0xb0e325=_0x5cc796[_0x401619([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x35173c);_0x2716e8=(_0x2716e8<<0x5)+_0x2716e8+_0xb0e325,_0x2716e8&=_0x2716e8;}}function _0x4d4e8d(_0x543cfa){Array[_0x401619([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x543cfa)?_0x543cfa[_0x401619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x4d4e8d):_0x543cfa&&typeof _0x543cfa==_0x401619([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x401619([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x543cfa)[_0x401619([0x73,0x6f,0x72,0x74])]()[_0x401619([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1daabd,_0x1d78c1])=>{_0x4b1212(_0x1daabd),_0x4d4e8d(_0x1d78c1);}):_0x4b1212(window[_0x401619([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x543cfa));}return _0x4d4e8d(_0x3da123),_0x2716e8>>>0x0;}function _0x433cf6(_0x5e506a){return _0x5e506a[_0x401619([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x401619([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x401619([0x30]));}function _0x5d84df(_0x113eed){return _0x113eed[_0x401619([0x73,0x70,0x6c,0x69,0x74])]('')[_0x401619([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x401619([0x6a,0x6f,0x69,0x6e])]('');}function _0x3afb6e(){}function _0x401619(_0x3e99e7){return _0x3e99e7['map'](_0x407669=>String['fromCharCode'](_0x407669))['join']('');}_0x4addb7(await _0x123982());}(this);}['_moveSelectionToFootnoteDefinition'](_0x372886){const {plugins:_0x47d7f2,editing:_0x4dfaa6,model:_0x57d5e9}=this['editor'],_0x30d691=_0x47d7f2['get'](_0x458380)['getFootnote'](_0x372886);return!!_0x30d691&&(_0x57d5e9['change'](_0x2c9db1=>{_0x2c9db1['setSelection'](_0x2c9db1['createPositionAt'](_0x30d691['definition'],'end'));}),_0x4dfaa6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x5b8098){const {plugins:_0x471c55,editing:_0x1e79df,model:_0x45b0c9}=this['editor'],_0xf2d2e4=_0x471c55['get'](_0x458380)['getFootnote'](_0x5b8098);return!!_0xf2d2e4&&(_0x45b0c9['change'](_0x2c3442=>{_0x2c3442['setSelection'](_0xf2d2e4['reference'],'on');}),_0x1e79df['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x1a31df}=this['editor']['model'],_0x418d9b=this['editor']['config']['get']('footnotes.multiBlock');_0x1a31df['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x1a31df['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x1a31df['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x418d9b?_0x1a31df['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x1a31df['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x1a31df['addChildCheck'](_0x445c85=>{for(const _0x26c49c of _0x445c85)if('footnoteDefinition'===_0x26c49c['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x27a7d1}=this,{conversion:_0x488d66,editing:_0x30fa1e}=_0x27a7d1,{t:t}=_0x27a7d1['locale'];_0x488d66['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5879be,{writer:_0x17d8e9,consumable:_0x4260c9})=>{const _0x29339b=_0x5879be['getChild'](0x0);if(!_0x29339b||!_0x29339b['is']('element','a'))return null;const _0x3c0a01=_0x29339b['getAttribute']('href')||'';if(!_0x3c0a01['startsWith']('#'))return null;const _0x5b8382=_0x3c0a01['replace'](/^#/,'');if(!_0x5b8382)return null;_0x4260c9['consume'](_0x29339b,{'name':!0x0,'attributes':['href']});for(const {item:_0xcbfe35}of _0x30fa1e['view']['createRangeIn'](_0x29339b))_0xcbfe35['is']('$textProxy')?_0x4260c9['consume'](_0xcbfe35['textNode'],{'name':!0x0}):_0xcbfe35['is']('element')&&_0x4260c9['consume'](_0xcbfe35,{'name':!0x0});return _0x17d8e9['createElement']('footnoteRef',{'footnoteId':_0x5b8382});}}),_0x488d66['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x169f9f,{writer:_0x214dad})=>D(_0x169f9f,_0x214dad)}),_0x488d66['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2348a9,{writer:_0x482597})=>{const _0x3f2a6f=_0x2348a9['getAttribute']('footnoteCounter');return _0x19f232(D(_0x2348a9,_0x482597),_0x482597,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x3f2a6f)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c5a6a}=this,{t:t}=_0x5c5a6a['locale'],{conversion:_0x189738}=_0x5c5a6a;_0x189738['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x189738['for']('upcast')['add'](_0x15bb98=>{_0x15bb98['on']('element:ol',(_0xbc5cd6,_0x2ce0aa,_0x46df62)=>{const _0x91a9ec=_0x2ce0aa['viewItem'];if(!_0x91a9ec['hasClass']('footnotes-list')||!_0x2ce0aa['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x46df62['consumable']['consume'](_0x91a9ec,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x22f8da,modelCursor:_0x3fc349}=_0x46df62['convertChildren'](_0x2ce0aa['viewItem'],_0x2ce0aa['modelCursor']);_0x2ce0aa['modelRange']=_0x22f8da,_0x2ce0aa['modelCursor']=_0x3fc349;}),_0x15bb98['on']('element:hr',(_0x46e3e6,_0x2e4d7e,_0x137085)=>{const _0x21e85b=_0x2e4d7e['viewItem'];_0x21e85b['hasClass']('footnotes-divider')&&_0x2e4d7e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x137085['consumable']['consume'](_0x21e85b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x189738['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x51763e,{writer:_0x2bad27})=>v(_0x2bad27)}),_0x189738['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1c2acb,{writer:_0xc92ba0})=>{const _0x2afeac=v(_0xc92ba0,{'data-footnotes-list-label':t('Footnotes')}),_0x1ba88c=_0x19f232(_0x2afeac,_0xc92ba0,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xc92ba0['setCustomProperty']('footnotesDefinitions',!0x0,_0x1ba88c),_0x1ba88c;}});}['_defineDefinitionConverters'](){const {editor:_0x110c85}=this,{conversion:_0x26942e,locale:_0xf668bf}=_0x110c85,_0x182fbb=_0x110c85['config']['get']('footnotes.multiBlock');_0x26942e['for']('upcast')['add'](_0x1aea9d=>{_0x1aea9d['on']('element:li',(_0x24dcfa,_0x1d8e7e,_0x427042)=>{const _0x32b9ab=_0x1d8e7e['viewItem'];if(!_0x32b9ab['hasClass']('footnote-definition')||!_0x32b9ab['getAttribute']('id'))return;const _0x2bbd87=_0x32b9ab['parent'];if(!_0x2bbd87['is']('element','ol')||!_0x2bbd87['hasClass']('footnotes-list'))return;if(!_0x427042['consumable']['test'](_0x32b9ab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x411c03=_0x427042['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x32b9ab['getAttribute']('id')});if(!_0x427042['safeInsert'](_0x411c03,_0x1d8e7e['modelCursor']))return;_0x427042['consumable']['consume'](_0x32b9ab,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5d0275=Array['from'](_0x32b9ab['getChildren']())['find'](_0x50a7c8=>_0x50a7c8['is']('element')&&_0x50a7c8['hasClass']('footnote-content'));for(const _0xac79b of _0x32b9ab['getChildren']())_0xac79b['is']('element')&&(_0x427042['consumable']['consume'](_0xac79b,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x427042['consumable']['consume'](_0xac79b,{'name':!0x0,'classes':'footnote-content'}));if(_0x5d0275){if(_0x182fbb)_0x427042['convertChildren'](_0x5d0275,_0x411c03);else{const _0x548449=_0x427042['writer']['createElement']('footnoteInlineContent');_0x427042['writer']['insert'](_0x548449,_0x411c03),_0x427042['convertChildren'](_0x5d0275,_0x548449);}}_0x427042['updateConversionResult'](_0x411c03,_0x1d8e7e);});}),_0x26942e['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4527a6,{writer:_0x28b481})=>b(_0x4527a6,_0x28b481,_0xf668bf,{'dataPipeline':!0x0})}),_0x26942e['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3b5145,{writer:_0x873823})=>b(_0x3b5145,_0x873823,_0xf668bf)});}['_defineBogusParagraphConverters'](){const {editor:_0xff55fb}=this,{conversion:_0x2e1a85}=_0xff55fb;_0xff55fb['config']['get']('footnotes.multiBlock')?(_0x2e1a85['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2e1a85['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0xff55fb['model']['document'],'change:data',()=>{!function(_0x459cf7,_0x5bff9e){const _0x4d26b4=_0x459cf7['document']['differ'],_0x585ce3=new Set();for(const _0x202d1f of _0x4d26b4['getChanges']()){const _0x4ba010='attribute'==_0x202d1f['type']?_0x202d1f['range']['start']['parent']:_0x202d1f['position']['parent'];_0x4ba010['is']('element','footnoteDefinition')&&_0x585ce3['add'](_0x4ba010);}for(const _0x43db08 of _0x585ce3['values']()){const _0x2baa04=Array['from'](_0x43db08['getChildren']())['filter'](_0x36d6cc=>g(_0x36d6cc,_0x5bff9e['mapper']));for(const _0x5efcf6 of _0x2baa04)_0x5bff9e['reconvertItem'](_0x5efcf6);}}(_0xff55fb['model'],_0xff55fb['editing']);})):(_0x2e1a85['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2e1a85['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5887ea,{writer:_0x5aedce})=>{const _0x446814=_0x5aedce['createContainerElement']('span');return _0x5aedce['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x446814),_0x446814;}}));}['_defineKeyboardHandlers'](){const {editor:_0x500ee0}=this,{editing:_0x28783c,t:t}=_0x500ee0,_0x5e39dc=_0x500ee0['model']['document']['selection'];_0x500ee0['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x500ee0['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x28783c['view']['document'],'enter',(_0x4621ef,_0x2595ca)=>{const _0x16f972=function(_0x1e25a0){const _0x28ae52=_0x1e25a0['getSelectedElement']();if(_0x28ae52?.['is']('element','footnoteRef'))return _0x28ae52;return null;}(_0x5e39dc);if(_0x16f972){const _0x308fa2=_0x16f972['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x308fa2),_0x2595ca['preventDefault'](),_0x4621ef['stop']();}},{'context':_0x37529a});}['_defineClickHandlers'](){const {editor:_0x24fa7b}=this,{editing:_0x2e71a2}=_0x24fa7b;_0x24fa7b['editing']['view']['addObserver'](_0xa80f45),_0x24fa7b['editing']['view']['addObserver'](_0x12c292);let _0xbb4ddf=!0x1;this['listenTo'](_0x2e71a2['view']['document'],'pointerdown',(_0x16d39a,_0x2c161d)=>{const {target:_0x16e5f7}=_0x2c161d,_0x1906ee=_0x2e71a2['view']['document']['selection'];_0xbb4ddf=!!(_0x16e5f7?.['is']('element','a')&&_0x16e5f7['parent']?.['is']('element','sup')&&_0x16e5f7['parent']['hasClass']('footnote'))&&_0x1906ee['getSelectedElement']()===_0x16e5f7['parent'];},{'priority':'high'}),this['listenTo'](_0x2e71a2['view']['document'],'click',(_0x15ceb4,_0x4e9046)=>{const {target:_0x24e739}=_0x4e9046;if(!_0x24e739?.['is']('element','a'))return;if(_0x24e739['parent']?.['is']('element','sup')&&_0x24e739['parent']['hasClass']('footnote')&&!_0xbb4ddf)return void _0x4e9046['preventDefault']();let _0x329730=_0x24e739['getAttribute']('href');if(!_0x329730?.['startsWith']('#'))return;_0x329730=_0x329730['slice'](0x1);let _0x1ce6ee=!0x1;(_0x329730['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x329730['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x329730))&&(_0x1ce6ee=!0x0),_0x1ce6ee&&(_0x4e9046['preventDefault'](),_0x15ceb4['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x55c52c}={}){return(_0x37ca6c,{writer:_0x2895d5})=>{if(!p(_0x37ca6c))return null;if(!_0x55c52c)return _0x2895d5['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x2573f7=_0x2895d5['createContainerElement']('p');return _0x2895d5['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2573f7),_0x2573f7;};}function p(_0x5b0c80){const {parent:_0x2874ab}=_0x5b0c80;if(!_0x2874ab?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2874ab['childCount'])return!0x1;for(const _0x133140 of _0x5b0c80['getAttributeKeys']())if(!_0x133140['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x133140)return!0x1;return!0x0;}function g(_0x39545c,_0x530233){if(!_0x39545c['is']('element','paragraph'))return!0x1;const _0x2259fa=_0x530233['toViewElement'](_0x39545c);return!!_0x2259fa&&p(_0x39545c)!==_0x2259fa['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1731c9){return _0x37529a(_0x1731c9)&&_0x1731c9['is']('containerElement')&&!!_0x1731c9['getCustomProperty']('footnotesDefinitions');}function v(_0x330727,_0x56d2e2={}){const _0x51b89b=_0x330727['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x276867=_0x330727['createContainerElement']('ol',{'class':'footnotes-list'},_0x330727['createSlot']());return _0x330727['createContainerElement']('div',{'class':'footnotes',..._0x56d2e2},[_0x51b89b,_0x276867]);}function D(_0x204c8f,_0x47e296){const _0x1d4a5b=_0x204c8f['getAttribute']('footnoteId'),_0x2e1825=_0x204c8f['getAttribute']('footnoteCounter'),_0x2a3656=_0x47e296['createUIElement']('a',{'href':'#'+_0x1d4a5b},function(_0x435a91){const _0x37b276=this['toDomElement'](_0x435a91);return _0x37b276['textContent']=_0x2e1825,_0x37b276;}),_0x4882db=_0x47e296['createContainerElement']('sup',{'id':'ref-'+_0x1d4a5b,'class':'footnote'},[_0x2a3656]);return _0x4882db['getFillerOffset']=()=>null,_0x4882db;}function b(_0x259ab2,_0x1c2200,_0x4c101b,{dataPipeline:_0x2cadd4}={}){const {t:t}=_0x4c101b,_0x1c624e=_0x259ab2['getAttribute']('footnoteId'),_0x31be91=_0x1c2200['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x1c624e},function(_0x1c2ff3){const _0x2f8919=this['toDomElement'](_0x1c2ff3);return _0x2f8919['innerText']='^',_0x2f8919;}),_0x4fdfb6=_0x2cadd4?_0x1c2200['createContainerElement']('div',{'class':'footnote-content'}):_0x4f888f(_0x1c2200['createEditableElement']('div',{'class':'footnote-content'}),_0x1c2200,{'label':t('Footnote\x20content.')});return _0x1c2200['insert'](_0x1c2200['createPositionAt'](_0x4fdfb6,0x0),_0x1c2200['createSlot']()),_0x1c2200['createContainerElement']('li',{'class':'footnote-definition','id':_0x1c624e},[_0x31be91,_0x4fdfb6]);}
23
+ import{Plugin as _0x1ac28c}from'ckeditor5/src/core.js';import{isWidget as _0x3e18ec,toWidget as _0x3d36f7,toWidgetEditable as _0x2812d7}from'ckeditor5/src/widget.js';import{uid as _0x53f320}from'ckeditor5/src/utils.js';import{PointerObserver as _0x2bc4f5,ClickObserver as _0x1bd508}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x19b7a8}from'./footnotestracker.js';import{InsertFootnoteCommand as _0xa8a0f4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1ac28c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x19b7a8];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x175a8d}=this;_0x175a8d['config']['define']('footnotes.multiBlock',!0x0),_0x175a8d['commands']['add']('insertFootnote',new _0xa8a0f4(_0x175a8d)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xa846f9){const _0x3d176b=_0x56af73([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]),_0x5473aa=0x47a28506,_0x2d6de4=0x47a5fe6e^_0x5473aa,_0x5057bb=window[_0x56af73([0x44,0x61,0x74,0x65])][_0x56af73([0x6e,0x6f,0x77])](),_0x7896c1=_0xa846f9[_0x56af73([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3f0b6d=new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1412e9=>{_0x7896c1[_0x56af73([0x6f,0x6e,0x63,0x65])](_0x56af73([0x72,0x65,0x61,0x64,0x79]),_0x1412e9);}),_0x20a45b={[_0x56af73([0x6b,0x74,0x79])]:_0x56af73([0x45,0x43]),[_0x56af73([0x75,0x73,0x65])]:_0x56af73([0x73,0x69,0x67]),[_0x56af73([0x63,0x72,0x76])]:_0x56af73([0x50,0x2d,0x32,0x35,0x36]),[_0x56af73([0x78])]:_0x56af73([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]),[_0x56af73([0x79])]:_0x56af73([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]),[_0x56af73([0x61,0x6c,0x67])]:_0x56af73([0x45,0x53,0x32,0x35,0x36])},_0x10f651=_0x7896c1[_0x56af73([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x56af73([0x67,0x65,0x74])](_0x56af73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x174413(){let _0x582bc7,_0x667f61=null,_0x39bec5=null;try{if(_0x10f651==_0x56af73([0x47,0x50,0x4c]))return _0x56af73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x582bc7=_0x372242(),!_0x582bc7)return _0x56af73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x582bc7[_0x56af73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x39bec5=_0x47b323(_0x582bc7[_0x56af73([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x582bc7[_0x56af73([0x6a,0x74,0x69])])),await _0x254ca1()?_0x3a9660()?_0x43189a()?_0x56af73([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x384c0c()?(_0x582bc7[_0x56af73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56af73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x667f61=_0x5b6829(_0x56af73([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x582bc7[_0x56af73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x56af73([0x74,0x72,0x69,0x61,0x6c])&&(_0x667f61=_0x5b6829(_0x56af73([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x2ccd3c()):_0x56af73([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x56af73([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x56af73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x56af73([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x43189a(){const _0x4664e4=[_0x56af73([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x56af73([0x74,0x72,0x69,0x61,0x6c])][_0x56af73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x582bc7[_0x56af73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x5057bb/0x3e8:0xe10*_0x2d6de4;return _0x582bc7[_0x56af73([0x65,0x78,0x70])]<_0x4664e4;}function _0x3a9660(){const _0xda56cf=_0x582bc7[_0x56af73([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xda56cf&&(!!_0xda56cf[_0x56af73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56af73([0x2a]))||!!_0xda56cf[_0x56af73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56af73([0x46,0x4f,0x4f])));}function _0x384c0c(){const _0x6f7616=_0x582bc7[_0x56af73([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x6f7616||0x0==_0x6f7616[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xe7417f}=new URL(window[_0x56af73([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x6f7616[_0x56af73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xe7417f))return!0x0;const _0x41bbed=_0xe7417f[_0x56af73([0x73,0x70,0x6c,0x69,0x74])](_0x56af73([0x2e]));return _0x6f7616[_0x56af73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xb5db4c=>_0xb5db4c[_0x56af73([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x56af73([0x2a])))[_0x56af73([0x6d,0x61,0x70])](_0x4540fa=>_0x4540fa[_0x56af73([0x73,0x70,0x6c,0x69,0x74])](_0x56af73([0x2e])))[_0x56af73([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x24fab2=>_0x24fab2[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x41bbed[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56af73([0x6d,0x61,0x70])](_0x478369=>Array(_0x41bbed[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x478369[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x56af73([0x66,0x69,0x6c,0x6c])](_0x478369[0x0]===_0x56af73([0x2a])?_0x56af73([0x2a]):'')[_0x56af73([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x478369))[_0x56af73([0x73,0x6f,0x6d,0x65])](_0x4bbb69=>_0x41bbed[_0x56af73([0x65,0x76,0x65,0x72,0x79])]((_0x1ef6a0,_0x59c405)=>_0x4bbb69[_0x59c405]===_0x1ef6a0||_0x4bbb69[_0x59c405]===_0x56af73([0x2a])));}function _0x2ccd3c(){return _0x667f61&&_0x39bec5?new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x52fb49,_0x5b6973)=>{_0x667f61[_0x56af73([0x74,0x68,0x65,0x6e])](_0x52fb49,_0x5b6973),_0x39bec5[_0x56af73([0x74,0x68,0x65,0x6e])](_0x150d18=>{_0x150d18!=_0x56af73([0x56,0x61,0x6c,0x69,0x64])&&_0x52fb49(_0x150d18);},_0x5b6973);}):_0x667f61||_0x39bec5||_0x56af73([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47b323(_0x2bdbcc,_0x10a243){return new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x417451=>{if(_0x297765())return _0x417451(_0x56af73([0x56,0x61,0x6c,0x69,0x64]));_0x2bf0d7(),_0x7896c1[_0x56af73([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x56af73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x346d7c=!0x1;const _0x327011=_0x53f320();function _0x4c08be(_0x202eda){return!!_0x202eda&&(typeof _0x202eda===_0x56af73([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x202eda===_0x56af73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x202eda[_0x56af73([0x74,0x68,0x65,0x6e])]===_0x56af73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x202eda[_0x56af73([0x63,0x61,0x74,0x63,0x68])]===_0x56af73([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x1246c1(_0x3fff99){_0x2a2f5d(_0x3fff99)[_0x56af73([0x74,0x68,0x65,0x6e])](_0x4d5602=>{if(!_0x4d5602||_0x4d5602[_0x56af73([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x56af73([0x6f,0x6b]))return _0x56af73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x26c4d1(_0x96d391(_0x327011+_0x10a243))!=_0x4d5602[_0x56af73([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x56af73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x56af73([0x56,0x61,0x6c,0x69,0x64]);})[_0x56af73([0x74,0x68,0x65,0x6e])](_0x409b15=>(_0x2dd480(),_0x409b15),()=>{const _0x5e4940=_0x46df37();return null==_0x5e4940?(_0x2dd480(),_0x56af73([0x56,0x61,0x6c,0x69,0x64])):_0x56af73(_0x5057bb-_0x5e4940>(0x63ae0106^_0x5473aa)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x56af73([0x74,0x68,0x65,0x6e])](_0x417451)[_0x56af73([0x63,0x61,0x74,0x63,0x68])](()=>{_0x417451(_0x56af73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x34da39=0x47946b86^_0x5473aa;function _0x2dd480(){const _0x5a8f50=_0x56af73([0x6c,0x6c,0x63,0x74,0x2d])+_0x26c4d1(_0x96d391(_0x2bdbcc)),_0x5aff42=_0x5c7445(_0x26c4d1(window[_0x56af73([0x4d,0x61,0x74,0x68])][_0x56af73([0x63,0x65,0x69,0x6c])](_0x5057bb/_0x34da39)));window[_0x56af73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56af73([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5a8f50,_0x5aff42);}function _0x46df37(){const _0x15b28f=_0x56af73([0x6c,0x6c,0x63,0x74,0x2d])+_0x26c4d1(_0x96d391(_0x2bdbcc)),_0xc3ae26=window[_0x56af73([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x56af73([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x15b28f);return _0xc3ae26?window[_0x56af73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c7445(_0xc3ae26),0x10)*_0x34da39:null;}function _0x2a2f5d(_0x2e66de){return new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2637cd,_0x10b89c)=>{_0x2e66de[_0x56af73([0x74,0x68,0x65,0x6e])](_0x2637cd,_0x10b89c),window[_0x56af73([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x10b89c,0x47a351c6^_0x5473aa);});}}_0x7896c1[_0x56af73([0x6f,0x6e])](_0x56af73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x304104,_0x3bc40b)=>{if(_0x3bc40b[0x0]!=_0x2bdbcc)return _0x417451(_0x56af73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x3bc40b[0x1]={..._0x3bc40b[0x1],[_0x56af73([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x327011};},{[_0x56af73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56af73([0x68,0x69,0x67,0x68])}),_0x7896c1[_0x56af73([0x6f,0x6e])](_0x56af73([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2c950a=>{_0x4c08be(_0x2c950a[_0x56af73([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x346d7c=!0x0,_0x1246c1(_0x2c950a[_0x56af73([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x56af73([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x56af73([0x6c,0x6f,0x77])}),_0x3f0b6d[_0x56af73([0x74,0x68,0x65,0x6e])](()=>{_0x346d7c||_0x417451(_0x56af73([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x297765(){return _0x7896c1[_0x56af73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56af73([0x76,0x69,0x65,0x77])][_0x56af73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x56af73([0x61,0x75,0x74,0x6f]);}function _0x2bf0d7(){_0x7896c1[_0x56af73([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x56af73([0x76,0x69,0x65,0x77])][_0x56af73([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x56af73([0x61,0x75,0x74,0x6f]);}}function _0x5b6829(_0x128200){const _0x4476e3=[new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc72225=>setTimeout(_0xc72225,0x47abbbca^_0x5473aa)),_0x3f0b6d[_0x56af73([0x74,0x68,0x65,0x6e])](()=>new window[(_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fd2c6=>{let _0x4ab11c=0x0;_0x7896c1[_0x56af73([0x6d,0x6f,0x64,0x65,0x6c])][_0x56af73([0x6f,0x6e])](_0x56af73([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x43b7e8,_0x1f75fb)=>{_0x1f75fb[0x0][_0x56af73([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4ab11c++,_0x4ab11c==(0x47a284fe^_0x5473aa)&&(_0x2fd2c6(),_0x43b7e8[_0x56af73([0x6f,0x66,0x66])]());});}))];return window[_0x56af73([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x56af73([0x72,0x61,0x63,0x65])](_0x4476e3)[_0x56af73([0x74,0x68,0x65,0x6e])](()=>_0x128200);}async function _0x3ff7d9(){await _0x3f0b6d,_0x7896c1[_0x56af73([0x6d,0x6f,0x64,0x65,0x6c])][_0x56af73([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x258adb,_0x7896c1[_0x56af73([0x6d,0x6f,0x64,0x65,0x6c])][_0x56af73([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x258adb,_0x7896c1[_0x56af73([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x56af73([0x6d,0x6f,0x64,0x65,0x6c]));}function _0xebbde5(_0xd3b528){const _0xdf6c94=_0xf55369();_0x7896c1[_0xdf6c94]=_0x56af73([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd3b528,_0xd3b528!=_0x56af73([0x56,0x61,0x6c,0x69,0x64])&&_0x3ff7d9();}function _0xf55369(){const _0x259196=window[_0x56af73([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x56af73([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x56af73([0x6e,0x6f,0x77])]())[_0x56af73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x56af73([0x2e]),'');let _0x50e191=_0x56af73([0x75]);for(let _0x595349=0x0;_0x595349<_0x259196[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x595349+=0x2){let _0xd5dd52=window[_0x56af73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x259196[_0x56af73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x595349,_0x595349+0x2));_0xd5dd52>=_0x3d176b[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xd5dd52-=_0x3d176b[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x50e191+=_0x3d176b[_0xd5dd52];}return _0x50e191;}function _0x372242(){const _0x512fa5=_0x10f651[_0x56af73([0x73,0x70,0x6c,0x69,0x74])](_0x56af73([0x2e]));if(0x3!=_0x512fa5[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5974fc(_0x512fa5[0x1]);function _0x5974fc(_0x5480bd){const _0x3cc231=_0x205453(_0x5480bd);return _0x3cc231&&_0x381f21()?_0x3cc231:null;function _0x381f21(){const _0x52c968=_0x3cc231[_0x56af73([0x6a,0x74,0x69])],_0x4aedf5=window[_0x56af73([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x52c968[_0x56af73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x52c968[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x2dc425={..._0x3cc231,[_0x56af73([0x6a,0x74,0x69])]:_0x52c968[_0x56af73([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x52c968[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x2dc425[_0x56af73([0x76,0x63])],_0x96d391(_0x2dc425)==_0x4aedf5;}}}async function _0x254ca1(){let _0x3cfda4=!0x0;try{const _0x47c0c1=_0x10f651[_0x56af73([0x73,0x70,0x6c,0x69,0x74])](_0x56af73([0x2e])),[_0x1f034c,_0x55bbc4,_0x4e6076]=_0x47c0c1;return _0x396a6e(_0x1f034c),await _0x244a2a(_0x1f034c,_0x55bbc4,_0x4e6076),_0x3cfda4;}catch{return!0x1;}function _0x396a6e(_0x29258a){const _0x1d8adb=_0x205453(_0x29258a);_0x1d8adb&&_0x1d8adb[_0x56af73([0x61,0x6c,0x67])]==_0x56af73([0x45,0x53,0x32,0x35,0x36])||(_0x3cfda4=!0x1);}async function _0x244a2a(_0x48fded,_0x1e81eb,_0x44fe44){const _0x2d9220=window[_0x56af73([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x56af73([0x66,0x72,0x6f,0x6d])](_0x4bc634(_0x44fe44),_0x47f641=>_0x47f641[_0x56af73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5583fb=new window[(_0x56af73([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x56af73([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x48fded+_0x56af73([0x2e])+_0x1e81eb),_0x2ba78a=window[_0x56af73([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x56af73([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2ba78a)return;const _0x2ba006=await _0x2ba78a[_0x56af73([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x56af73([0x6a,0x77,0x6b]),_0x20a45b,{[_0x56af73([0x6e,0x61,0x6d,0x65])]:_0x56af73([0x45,0x43,0x44,0x53,0x41]),[_0x56af73([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x56af73([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x56af73([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2ba78a[_0x56af73([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x56af73([0x6e,0x61,0x6d,0x65])]:_0x56af73([0x45,0x43,0x44,0x53,0x41]),[_0x56af73([0x68,0x61,0x73,0x68])]:{[_0x56af73([0x6e,0x61,0x6d,0x65])]:_0x56af73([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2ba006,_0x2d9220,_0x5583fb)||(_0x3cfda4=!0x1);}}function _0x205453(_0x50ef72){return _0x50ef72[_0x56af73([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x56af73([0x65,0x79]))?JSON[_0x56af73([0x70,0x61,0x72,0x73,0x65])](_0x4bc634(_0x50ef72)):null;}function _0x4bc634(_0x2ece3a){return window[_0x56af73([0x61,0x74,0x6f,0x62])](_0x2ece3a[_0x56af73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x56af73([0x2b]))[_0x56af73([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x56af73([0x2f])));}function _0x96d391(_0x4278cd){let _0x239822=0x1505;function _0x1e8749(_0x4a8c8b){for(let _0x16627e=0x0;_0x16627e<_0x4a8c8b[_0x56af73([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x16627e++){const _0x5034f0=_0x4a8c8b[_0x56af73([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x16627e);_0x239822=(_0x239822<<0x5)+_0x239822+_0x5034f0,_0x239822&=_0x239822;}}function _0x384d4e(_0x1a4d81){Array[_0x56af73([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1a4d81)?_0x1a4d81[_0x56af73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x384d4e):_0x1a4d81&&typeof _0x1a4d81==_0x56af73([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x56af73([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1a4d81)[_0x56af73([0x73,0x6f,0x72,0x74])]()[_0x56af73([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x4753d7,_0x26ab00])=>{_0x1e8749(_0x4753d7),_0x384d4e(_0x26ab00);}):_0x1e8749(window[_0x56af73([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1a4d81));}return _0x384d4e(_0x4278cd),_0x239822>>>0x0;}function _0x26c4d1(_0x1aaf7f){return _0x1aaf7f[_0x56af73([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x56af73([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x56af73([0x30]));}function _0x5c7445(_0x1549bb){return _0x1549bb[_0x56af73([0x73,0x70,0x6c,0x69,0x74])]('')[_0x56af73([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x56af73([0x6a,0x6f,0x69,0x6e])]('');}function _0x258adb(){}function _0x56af73(_0x5f2c0b){return _0x5f2c0b['map'](_0xa5a1de=>String['fromCharCode'](_0xa5a1de))['join']('');}_0xebbde5(await _0x174413());}(this);}['_moveSelectionToFootnoteDefinition'](_0x3e8e29){const {plugins:_0x248648,editing:_0x572473,model:_0x16c072}=this['editor'],_0x519b1b=_0x248648['get'](_0x19b7a8)['getFootnote'](_0x3e8e29);return!!_0x519b1b&&(_0x16c072['change'](_0x8427d=>{_0x8427d['setSelection'](_0x8427d['createPositionAt'](_0x519b1b['definition'],'end'));}),_0x572473['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4fdf5b){const {plugins:_0x5893d9,editing:_0x833f03,model:_0x1410ac}=this['editor'],_0x3b0a1d=_0x5893d9['get'](_0x19b7a8)['getFootnote'](_0x4fdf5b);return!!_0x3b0a1d&&(_0x1410ac['change'](_0x5d1fcb=>{_0x5d1fcb['setSelection'](_0x3b0a1d['reference'],'on');}),_0x833f03['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x45590a}=this['editor']['model'],_0x293d1d=this['editor']['config']['get']('footnotes.multiBlock');_0x45590a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x45590a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x45590a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x293d1d?_0x45590a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x45590a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x45590a['addChildCheck'](_0x1c7226=>{for(const _0x34434d of _0x1c7226)if('footnoteDefinition'===_0x34434d['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x2bbb65}=this,{conversion:_0x20224a,editing:_0x4f4347}=_0x2bbb65,{t:t}=_0x2bbb65['locale'];_0x20224a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x14b157,{writer:_0x4979f7,consumable:_0x1ae55b})=>{const _0x10dad3=_0x14b157['getChild'](0x0);if(!_0x10dad3||!_0x10dad3['is']('element','a'))return null;const _0x273546=_0x10dad3['getAttribute']('href')||'';if(!_0x273546['startsWith']('#'))return null;const _0x28c9d7=_0x273546['replace'](/^#/,'');if(!_0x28c9d7)return null;_0x1ae55b['consume'](_0x10dad3,{'name':!0x0,'attributes':['href']});for(const {item:_0x492592}of _0x4f4347['view']['createRangeIn'](_0x10dad3))_0x492592['is']('$textProxy')?_0x1ae55b['consume'](_0x492592['textNode'],{'name':!0x0}):_0x492592['is']('element')&&_0x1ae55b['consume'](_0x492592,{'name':!0x0});return _0x4979f7['createElement']('footnoteRef',{'footnoteId':_0x28c9d7});}}),_0x20224a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2ff1ed,{writer:_0x3d555d})=>D(_0x2ff1ed,_0x3d555d)}),_0x20224a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4ca167,{writer:_0x1aedba})=>{const _0x534f6c=_0x4ca167['getAttribute']('footnoteCounter');return _0x3d36f7(D(_0x4ca167,_0x1aedba),_0x1aedba,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x534f6c)});}});}['_defineDefinitionsConverters'](){const {editor:_0x6b6ccf}=this,{t:t}=_0x6b6ccf['locale'],{conversion:_0x44fe91}=_0x6b6ccf;_0x44fe91['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x44fe91['for']('upcast')['add'](_0x1e5e1c=>{_0x1e5e1c['on']('element:ol',(_0x26c189,_0x1cfddf,_0x50c785)=>{const _0x5c6822=_0x1cfddf['viewItem'];if(!_0x5c6822['hasClass']('footnotes-list')||!_0x1cfddf['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x50c785['consumable']['consume'](_0x5c6822,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x544a60,modelCursor:_0xa95e27}=_0x50c785['convertChildren'](_0x1cfddf['viewItem'],_0x1cfddf['modelCursor']);_0x1cfddf['modelRange']=_0x544a60,_0x1cfddf['modelCursor']=_0xa95e27;}),_0x1e5e1c['on']('element:hr',(_0x5660d2,_0x2b61d4,_0xdfd060)=>{const _0x1eda9a=_0x2b61d4['viewItem'];_0x1eda9a['hasClass']('footnotes-divider')&&_0x2b61d4['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0xdfd060['consumable']['consume'](_0x1eda9a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x44fe91['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x262339,{writer:_0x11f441})=>v(_0x11f441)}),_0x44fe91['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1b9935,{writer:_0xd92bf3})=>{const _0x5c286b=v(_0xd92bf3,{'data-footnotes-list-label':t('Footnotes')}),_0xae615e=_0x3d36f7(_0x5c286b,_0xd92bf3,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xd92bf3['setCustomProperty']('footnotesDefinitions',!0x0,_0xae615e),_0xae615e;}});}['_defineDefinitionConverters'](){const {editor:_0x5eff1c}=this,{conversion:_0x5a603c,locale:_0x2ca19a}=_0x5eff1c,_0x1bfe1a=_0x5eff1c['config']['get']('footnotes.multiBlock');_0x5a603c['for']('upcast')['add'](_0xf357b2=>{_0xf357b2['on']('element:li',(_0x1c6565,_0x1965c5,_0x121a3f)=>{const _0x59f9c6=_0x1965c5['viewItem'];if(!_0x59f9c6['hasClass']('footnote-definition')||!_0x59f9c6['getAttribute']('id'))return;const _0x230a02=_0x59f9c6['parent'];if(!_0x230a02['is']('element','ol')||!_0x230a02['hasClass']('footnotes-list'))return;if(!_0x121a3f['consumable']['test'](_0x59f9c6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3bca5f=_0x121a3f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x59f9c6['getAttribute']('id')});if(!_0x121a3f['safeInsert'](_0x3bca5f,_0x1965c5['modelCursor']))return;_0x121a3f['consumable']['consume'](_0x59f9c6,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4ea38b=Array['from'](_0x59f9c6['getChildren']())['find'](_0x259ad5=>_0x259ad5['is']('element')&&_0x259ad5['hasClass']('footnote-content'));for(const _0x2dac6a of _0x59f9c6['getChildren']())_0x2dac6a['is']('element')&&(_0x121a3f['consumable']['consume'](_0x2dac6a,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x121a3f['consumable']['consume'](_0x2dac6a,{'name':!0x0,'classes':'footnote-content'}));if(_0x4ea38b){if(_0x1bfe1a)_0x121a3f['convertChildren'](_0x4ea38b,_0x3bca5f);else{const _0x1d9299=_0x121a3f['writer']['createElement']('footnoteInlineContent');_0x121a3f['writer']['insert'](_0x1d9299,_0x3bca5f),_0x121a3f['convertChildren'](_0x4ea38b,_0x1d9299);}}_0x121a3f['updateConversionResult'](_0x3bca5f,_0x1965c5);});}),_0x5a603c['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1fe252,{writer:_0x29f19f})=>b(_0x1fe252,_0x29f19f,_0x2ca19a,{'dataPipeline':!0x0})}),_0x5a603c['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x357a44,{writer:_0x3b150f})=>b(_0x357a44,_0x3b150f,_0x2ca19a)});}['_defineBogusParagraphConverters'](){const {editor:_0x3c370e}=this,{conversion:_0x2219f2}=_0x3c370e;_0x3c370e['config']['get']('footnotes.multiBlock')?(_0x2219f2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x2219f2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3c370e['model']['document'],'change:data',()=>{!function(_0x5acd1a,_0x30bdfe){const _0xd7c09c=_0x5acd1a['document']['differ'],_0x24616f=new Set();for(const _0x15e56e of _0xd7c09c['getChanges']()){const _0x586cd='attribute'==_0x15e56e['type']?_0x15e56e['range']['start']['parent']:_0x15e56e['position']['parent'];_0x586cd['is']('element','footnoteDefinition')&&_0x24616f['add'](_0x586cd);}for(const _0x150755 of _0x24616f['values']()){const _0x25b987=Array['from'](_0x150755['getChildren']())['filter'](_0x5dcef1=>g(_0x5dcef1,_0x30bdfe['mapper']));for(const _0x53507e of _0x25b987)_0x30bdfe['reconvertItem'](_0x53507e);}}(_0x3c370e['model'],_0x3c370e['editing']);})):(_0x2219f2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x2219f2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x3fee91,{writer:_0x400e41})=>{const _0xc07ec4=_0x400e41['createContainerElement']('span');return _0x400e41['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xc07ec4),_0xc07ec4;}}));}['_defineKeyboardHandlers'](){const {editor:_0x47b440}=this,{editing:_0x13904b,t:t}=_0x47b440,_0x273ebf=_0x47b440['model']['document']['selection'];_0x47b440['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x47b440['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x13904b['view']['document'],'enter',(_0x5e1012,_0x3935b3)=>{const _0x1e7e22=function(_0x452279){const _0xdfeeb4=_0x452279['getSelectedElement']();if(_0xdfeeb4?.['is']('element','footnoteRef'))return _0xdfeeb4;return null;}(_0x273ebf);if(_0x1e7e22){const _0x2d7a68=_0x1e7e22['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x2d7a68),_0x3935b3['preventDefault'](),_0x5e1012['stop']();}},{'context':_0x3e18ec});}['_defineClickHandlers'](){const {editor:_0x563dc4}=this,{editing:_0x2bda19}=_0x563dc4;_0x563dc4['editing']['view']['addObserver'](_0x2bc4f5),_0x563dc4['editing']['view']['addObserver'](_0x1bd508);let _0x1a13c7=!0x1;this['listenTo'](_0x2bda19['view']['document'],'pointerdown',(_0x5e575b,_0x39beed)=>{const {target:_0x43ba5f}=_0x39beed,_0x2e3e04=_0x2bda19['view']['document']['selection'];_0x1a13c7=!!(_0x43ba5f?.['is']('element','a')&&_0x43ba5f['parent']?.['is']('element','sup')&&_0x43ba5f['parent']['hasClass']('footnote'))&&_0x2e3e04['getSelectedElement']()===_0x43ba5f['parent'];},{'priority':'high'}),this['listenTo'](_0x2bda19['view']['document'],'click',(_0x9dfaf0,_0x2c4a07)=>{const {target:_0x4dbdec}=_0x2c4a07;if(!_0x4dbdec?.['is']('element','a'))return;if(_0x4dbdec['parent']?.['is']('element','sup')&&_0x4dbdec['parent']['hasClass']('footnote')&&!_0x1a13c7)return void _0x2c4a07['preventDefault']();let _0x54b0fb=_0x4dbdec['getAttribute']('href');if(!_0x54b0fb?.['startsWith']('#'))return;_0x54b0fb=_0x54b0fb['slice'](0x1);let _0x84f183=!0x1;(_0x54b0fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x54b0fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x54b0fb))&&(_0x84f183=!0x0),_0x84f183&&(_0x2c4a07['preventDefault'](),_0x9dfaf0['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x14009c}={}){return(_0x3a2d55,{writer:_0x1191fe})=>{if(!p(_0x3a2d55))return null;if(!_0x14009c)return _0x1191fe['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x4486bf=_0x1191fe['createContainerElement']('p');return _0x1191fe['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4486bf),_0x4486bf;};}function p(_0x2767e7){const {parent:_0x33e7f3}=_0x2767e7;if(!_0x33e7f3?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x33e7f3['childCount'])return!0x1;for(const _0x295408 of _0x2767e7['getAttributeKeys']())if(!_0x295408['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x295408)return!0x1;return!0x0;}function g(_0x2bfe60,_0xc2c180){if(!_0x2bfe60['is']('element','paragraph'))return!0x1;const _0x6f75f5=_0xc2c180['toViewElement'](_0x2bfe60);return!!_0x6f75f5&&p(_0x2bfe60)!==_0x6f75f5['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1ab9d0){return _0x3e18ec(_0x1ab9d0)&&_0x1ab9d0['is']('containerElement')&&!!_0x1ab9d0['getCustomProperty']('footnotesDefinitions');}function v(_0x50cc5d,_0x483369={}){const _0xe639f9=_0x50cc5d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x183e76=_0x50cc5d['createContainerElement']('ol',{'class':'footnotes-list'},_0x50cc5d['createSlot']());return _0x50cc5d['createContainerElement']('div',{'class':'footnotes',..._0x483369},[_0xe639f9,_0x183e76]);}function D(_0x312e61,_0x51c65c){const _0x4366a0=_0x312e61['getAttribute']('footnoteId'),_0xa30ecb=_0x312e61['getAttribute']('footnoteCounter'),_0x3c7c2d=_0x51c65c['createUIElement']('a',{'href':'#'+_0x4366a0},function(_0x43ed16){const _0x2d3c3b=this['toDomElement'](_0x43ed16);return _0x2d3c3b['textContent']=_0xa30ecb,_0x2d3c3b;}),_0x180561=_0x51c65c['createContainerElement']('sup',{'id':'ref-'+_0x4366a0,'class':'footnote'},[_0x3c7c2d]);return _0x180561['getFillerOffset']=()=>null,_0x180561;}function b(_0x1ace98,_0x8ecb06,_0x1a3e18,{dataPipeline:_0x28111a}={}){const {t:t}=_0x1a3e18,_0x5539ea=_0x1ace98['getAttribute']('footnoteId'),_0x5ad97b=_0x8ecb06['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x5539ea},function(_0xfa3e86){const _0x4e5813=this['toDomElement'](_0xfa3e86);return _0x4e5813['innerText']='^',_0x4e5813;}),_0x4035f5=_0x28111a?_0x8ecb06['createContainerElement']('div',{'class':'footnote-content'}):_0x2812d7(_0x8ecb06['createEditableElement']('div',{'class':'footnote-content'}),_0x8ecb06,{'label':t('Footnote\x20content.')});return _0x8ecb06['insert'](_0x8ecb06['createPositionAt'](_0x4035f5,0x0),_0x8ecb06['createSlot']()),_0x8ecb06['createContainerElement']('li',{'class':'footnote-definition','id':_0x5539ea},[_0x5ad97b,_0x4035f5]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x9ff1(){const _0x593a78=['1173690psrdaa','getAttribute','3859788cJrRWz','21773510najZxm','get','isInteger','refresh','1293zYkjtu','3303GVayOa','setAttribute','change','432qKLqzm','62tPZIap','1771ZszHlt','model','_updateFootnotesCounters','footnotesListStart','11124DWWfnr','value','execute','214wsKPXP','getFootnotesDefinitionsObjectElement','isEnabled','plugins','23960TKNAav'];_0x9ff1=function(){return _0x593a78;};return _0x9ff1();}function _0x34fe(_0x399884,_0x16ef88){const _0x9ff152=_0x9ff1();return _0x34fe=function(_0x34fe97,_0x14bef){_0x34fe97=_0x34fe97-0x166;let _0x55d55b=_0x9ff152[_0x34fe97];return _0x55d55b;},_0x34fe(_0x399884,_0x16ef88);}const _0x43c2e5=_0x34fe;(function(_0x262e2c,_0xe1f04a){const _0x21d8bf=_0x34fe,_0x1bcfc5=_0x262e2c();while(!![]){try{const _0x158a74=-parseInt(_0x21d8bf(0x176))/0x1*(-parseInt(_0x21d8bf(0x17e))/0x2)+parseInt(_0x21d8bf(0x171))/0x3*(-parseInt(_0x21d8bf(0x17b))/0x4)+parseInt(_0x21d8bf(0x16a))/0x5+parseInt(_0x21d8bf(0x16c))/0x6+-parseInt(_0x21d8bf(0x177))/0x7*(-parseInt(_0x21d8bf(0x175))/0x8)+-parseInt(_0x21d8bf(0x172))/0x9*(parseInt(_0x21d8bf(0x169))/0xa)+parseInt(_0x21d8bf(0x16d))/0xb;if(_0x158a74===_0xe1f04a)break;else _0x1bcfc5['push'](_0x1bcfc5['shift']());}catch(_0x4c12cd){_0x1bcfc5['push'](_0x1bcfc5['shift']());}}}(_0x9ff1,0xc3437));import{Command as _0x1233bb}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5d6dfe}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x1233bb{[_0x43c2e5(0x170)](){const _0xc69e79=_0x43c2e5,{editor:_0x2f9811}=this,_0xae730e=_0x2f9811[_0xc69e79(0x168)][_0xc69e79(0x16e)](_0x5d6dfe)[_0xc69e79(0x166)]();this[_0xc69e79(0x167)]=!!_0xae730e,this[_0xc69e79(0x17c)]=_0xae730e?.[_0xc69e79(0x16b)](_0xc69e79(0x17a))??null;}[_0x43c2e5(0x17d)]({value:_0x1286ae}){const _0x1d86ab=_0x43c2e5,{editor:_0x2c83a9}=this,_0x1b5c6e=_0x2c83a9[_0x1d86ab(0x168)][_0x1d86ab(0x16e)](_0x5d6dfe),_0x4f4e27=_0x1b5c6e[_0x1d86ab(0x166)]();_0x4f4e27&&Number[_0x1d86ab(0x16f)](_0x1286ae)&&_0x2c83a9[_0x1d86ab(0x178)][_0x1d86ab(0x174)](_0x2ac967=>{const _0x3671e0=_0x1d86ab;_0x2ac967[_0x3671e0(0x173)](_0x3671e0(0x17a),_0x1286ae,_0x4f4e27),_0x1b5c6e[_0x3671e0(0x179)](_0x2ac967);});}}
23
+ function _0x3411(){const _0x2c5889=['78XcbbNn','25822sWcRLv','8nxzZbi','change','1044999OnNaKU','refresh','setAttribute','plugins','307085LpgIUf','isInteger','42EICzwP','model','3774946CrhsFg','getFootnotesDefinitionsObjectElement','2718782KhADPK','2578310BdarFl','_updateFootnotesCounters','footnotesListStart','execute','value','getAttribute','get','16EAqxdT','isEnabled','80952ythhhM'];_0x3411=function(){return _0x2c5889;};return _0x3411();}const _0x336d43=_0x3d91;(function(_0x4a7f52,_0xe6c0f){const _0x7d03bf=_0x3d91,_0x43c065=_0x4a7f52();while(!![]){try{const _0x5e03db=parseInt(_0x7d03bf(0x1be))/0x1*(parseInt(_0x7d03bf(0x1bf))/0x2)+parseInt(_0x7d03bf(0x1bd))/0x3*(-parseInt(_0x7d03bf(0x1bc))/0x4)+parseInt(_0x7d03bf(0x1c5))/0x5*(parseInt(_0x7d03bf(0x1c7))/0x6)+parseInt(_0x7d03bf(0x1b0))/0x7+-parseInt(_0x7d03bf(0x1ba))/0x8*(parseInt(_0x7d03bf(0x1c1))/0x9)+parseInt(_0x7d03bf(0x1b3))/0xa+-parseInt(_0x7d03bf(0x1b2))/0xb;if(_0x5e03db===_0xe6c0f)break;else _0x43c065['push'](_0x43c065['shift']());}catch(_0x189075){_0x43c065['push'](_0x43c065['shift']());}}}(_0x3411,0x4f488));import{Command as _0x19a438}from'ckeditor5/src/core.js';function _0x3d91(_0x1472a3,_0x201a8d){const _0x341102=_0x3411();return _0x3d91=function(_0x3d915b,_0x12c57d){_0x3d915b=_0x3d915b-0x1b0;let _0x24f78f=_0x341102[_0x3d915b];return _0x24f78f;},_0x3d91(_0x1472a3,_0x201a8d);}import{FootnotesTracker as _0x5225df}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x19a438{[_0x336d43(0x1c2)](){const _0x153b05=_0x336d43,{editor:_0x13a2cc}=this,_0x10575e=_0x13a2cc[_0x153b05(0x1c4)][_0x153b05(0x1b9)](_0x5225df)[_0x153b05(0x1b1)]();this[_0x153b05(0x1bb)]=!!_0x10575e,this[_0x153b05(0x1b7)]=_0x10575e?.[_0x153b05(0x1b8)](_0x153b05(0x1b5))??null;}[_0x336d43(0x1b6)]({value:_0x109e2c}){const _0x17914e=_0x336d43,{editor:_0x2ae6c6}=this,_0x4c93cf=_0x2ae6c6[_0x17914e(0x1c4)][_0x17914e(0x1b9)](_0x5225df),_0x2f93aa=_0x4c93cf[_0x17914e(0x1b1)]();_0x2f93aa&&Number[_0x17914e(0x1c6)](_0x109e2c)&&_0x2ae6c6[_0x17914e(0x1c8)][_0x17914e(0x1c0)](_0x188bb6=>{const _0x4e8115=_0x17914e;_0x188bb6[_0x4e8115(0x1c3)](_0x4e8115(0x1b5),_0x109e2c,_0x2f93aa),_0x4c93cf[_0x4e8115(0x1b4)](_0x188bb6);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4e5600=_0x5a3c;function _0x4f08(){const _0x8aebe0=['3978591tzqBGD','6lQneQO','56oxBlUC','isEnabled','includes','835394MCUuEX','getAttribute','44thnzwv','get','3902530nUUtrU','_updateFootnotesCounters','footnotesListStyle','getFootnotesDefinitionsObjectElement','change','execute','650964ncLYSq','plugins','6314024rTjOAY','9DXTzYv','144190QLMGfT','refresh','value','setAttribute','model','275naxooP','24446qUWFQj'];_0x4f08=function(){return _0x8aebe0;};return _0x4f08();}(function(_0x35c318,_0x5ab8c2){const _0x44e4d6=_0x5a3c,_0x16ffef=_0x35c318();while(!![]){try{const _0xa53e77=parseInt(_0x44e4d6(0x76))/0x1*(parseInt(_0x44e4d6(0x79))/0x2)+parseInt(_0x44e4d6(0x77))/0x3+parseInt(_0x44e4d6(0x7e))/0x4*(-parseInt(_0x44e4d6(0x8a))/0x5)+-parseInt(_0x44e4d6(0x78))/0x6*(-parseInt(_0x44e4d6(0x7c))/0x7)+-parseInt(_0x44e4d6(0x88))/0x8*(-parseInt(_0x44e4d6(0x89))/0x9)+-parseInt(_0x44e4d6(0x80))/0xa+-parseInt(_0x44e4d6(0x75))/0xb*(parseInt(_0x44e4d6(0x86))/0xc);if(_0xa53e77===_0x5ab8c2)break;else _0x16ffef['push'](_0x16ffef['shift']());}catch(_0x136bae){_0x16ffef['push'](_0x16ffef['shift']());}}}(_0x4f08,0xd0e52));import{Command as _0x5593d6}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x41a4e3}from'../footnotespropertiesconfig.js';function _0x5a3c(_0x240dea,_0x28173e){const _0x4f0887=_0x4f08();return _0x5a3c=function(_0x5a3caa,_0x4fdece){_0x5a3caa=_0x5a3caa-0x74;let _0x2ec725=_0x4f0887[_0x5a3caa];return _0x2ec725;},_0x5a3c(_0x240dea,_0x28173e);}import{FootnotesTracker as _0x12c9d6}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5593d6{[_0x4e5600(0x8b)](){const _0xdbc0a1=_0x4e5600,{editor:_0x362003}=this,_0x138705=_0x362003[_0xdbc0a1(0x87)][_0xdbc0a1(0x7f)](_0x12c9d6)[_0xdbc0a1(0x83)]();this[_0xdbc0a1(0x7a)]=!!_0x138705,this[_0xdbc0a1(0x8c)]=_0x138705?.[_0xdbc0a1(0x7d)](_0xdbc0a1(0x82))??null;}[_0x4e5600(0x85)]({value:_0x57712d}){const _0x45eb37=_0x4e5600,{editor:_0x3df3c6}=this,_0x297bb9=_0x3df3c6[_0x45eb37(0x87)][_0x45eb37(0x7f)](_0x12c9d6),_0x374acf=_0x297bb9[_0x45eb37(0x83)]();_0x374acf&&_0x41a4e3[_0x45eb37(0x7b)](_0x57712d)&&_0x3df3c6[_0x45eb37(0x74)][_0x45eb37(0x84)](_0x149cff=>{const _0x389f3f=_0x45eb37;_0x149cff[_0x389f3f(0x8d)](_0x389f3f(0x82),_0x57712d,_0x374acf),_0x297bb9[_0x389f3f(0x81)](_0x149cff);});}}
23
+ const _0x3f1f88=_0x42e9;(function(_0x20f410,_0x231372){const _0x111627=_0x42e9,_0x4ec189=_0x20f410();while(!![]){try{const _0x1052ae=parseInt(_0x111627(0x1f6))/0x1+parseInt(_0x111627(0x1f4))/0x2+-parseInt(_0x111627(0x1f2))/0x3*(-parseInt(_0x111627(0x1f9))/0x4)+parseInt(_0x111627(0x1fd))/0x5+-parseInt(_0x111627(0x1ed))/0x6*(parseInt(_0x111627(0x1f8))/0x7)+-parseInt(_0x111627(0x1f7))/0x8*(-parseInt(_0x111627(0x1ee))/0x9)+-parseInt(_0x111627(0x1f0))/0xa;if(_0x1052ae===_0x231372)break;else _0x4ec189['push'](_0x4ec189['shift']());}catch(_0x1b2073){_0x4ec189['push'](_0x4ec189['shift']());}}}(_0x43f8,0x55d21));function _0x42e9(_0x4c3e88,_0x36684e){const _0x43f887=_0x43f8();return _0x42e9=function(_0x42e9b2,_0x59f5a8){_0x42e9b2=_0x42e9b2-0x1e6;let _0x1346ca=_0x43f887[_0x42e9b2];return _0x1346ca;},_0x42e9(_0x4c3e88,_0x36684e);}import{Command as _0x2c4382}from'ckeditor5/src/core.js';function _0x43f8(){const _0x422eb2=['1228712mKxexd','refresh','405974FBehnh','8RYcdzS','98xjiFAr','188wFFHCy','_updateFootnotesCounters','get','value','1523615kWODke','isEnabled','footnotesListStyle','includes','setAttribute','plugins','getAttribute','change','224778Cylklw','3618477hXdoNj','execute','10221360NUnEEa','model','10917XJMfUJ','getFootnotesDefinitionsObjectElement'];_0x43f8=function(){return _0x422eb2;};return _0x43f8();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x3d7bca}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x2fdf1e}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x2c4382{[_0x3f1f88(0x1f5)](){const _0x4a4cb2=_0x3f1f88,{editor:_0xaa9720}=this,_0x1d453=_0xaa9720[_0x4a4cb2(0x1ea)][_0x4a4cb2(0x1fb)](_0x2fdf1e)[_0x4a4cb2(0x1f3)]();this[_0x4a4cb2(0x1e6)]=!!_0x1d453,this[_0x4a4cb2(0x1fc)]=_0x1d453?.[_0x4a4cb2(0x1eb)](_0x4a4cb2(0x1e7))??null;}[_0x3f1f88(0x1ef)]({value:_0x14e86a}){const _0x1cc8e4=_0x3f1f88,{editor:_0x333c7b}=this,_0x49176b=_0x333c7b[_0x1cc8e4(0x1ea)][_0x1cc8e4(0x1fb)](_0x2fdf1e),_0x4caaf0=_0x49176b[_0x1cc8e4(0x1f3)]();_0x4caaf0&&_0x3d7bca[_0x1cc8e4(0x1e8)](_0x14e86a)&&_0x333c7b[_0x1cc8e4(0x1f1)][_0x1cc8e4(0x1ec)](_0x108a43=>{const _0x322642=_0x1cc8e4;_0x108a43[_0x322642(0x1e9)](_0x322642(0x1e7),_0x14e86a,_0x4caaf0),_0x49176b[_0x322642(0x1fa)](_0x108a43);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3df2e0=_0x3cdf;(function(_0x2389f3,_0x5d19c0){const _0x31f0b1=_0x3cdf,_0x28a05d=_0x2389f3();while(!![]){try{const _0x490f9d=-parseInt(_0x31f0b1(0x92))/0x1+parseInt(_0x31f0b1(0x89))/0x2+-parseInt(_0x31f0b1(0x8d))/0x3+-parseInt(_0x31f0b1(0x8c))/0x4*(parseInt(_0x31f0b1(0x91))/0x5)+-parseInt(_0x31f0b1(0x85))/0x6*(parseInt(_0x31f0b1(0x87))/0x7)+-parseInt(_0x31f0b1(0x84))/0x8+parseInt(_0x31f0b1(0x8f))/0x9;if(_0x490f9d===_0x5d19c0)break;else _0x28a05d['push'](_0x28a05d['shift']());}catch(_0x4b6655){_0x28a05d['push'](_0x28a05d['shift']());}}}(_0x5daa,0xcb476));function _0x3cdf(_0x5611d7,_0x29fefd){const _0x5daa9e=_0x5daa();return _0x3cdf=function(_0x3cdf8b,_0x351ef9){_0x3cdf8b=_0x3cdf8b-0x84;let _0x28a956=_0x5daa9e[_0x3cdf8b];return _0x28a956;},_0x3cdf(_0x5611d7,_0x29fefd);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x3df2e0(0x93),_0x3df2e0(0x86),_0x3df2e0(0x8b),_0x3df2e0(0x88),_0x3df2e0(0x94),_0x3df2e0(0x8a),_0x3df2e0(0x90),_0x3df2e0(0x8e)];function _0x5daa(){const _0x39632b=['upper-roman','23712525TtvfDW','lower-roman','70DrupUU','120529RqkEsO','decimal','lower-alpha','12093296ozgbKQ','6BmJTel','decimal-leading-zero','58989pSOgRJ','upper-latin','2936850LhUfNF','upper-alpha','lower-latin','227312yNKgBn','2502930mnwvxs'];_0x5daa=function(){return _0x39632b;};return _0x5daa();}
23
+ const _0x2a4c43=_0x503f;(function(_0x3038d2,_0x39d46f){const _0x3562cc=_0x503f,_0x4af845=_0x3038d2();while(!![]){try{const _0x32f678=parseInt(_0x3562cc(0x118))/0x1+parseInt(_0x3562cc(0x126))/0x2+-parseInt(_0x3562cc(0x119))/0x3+-parseInt(_0x3562cc(0x124))/0x4*(parseInt(_0x3562cc(0x11e))/0x5)+-parseInt(_0x3562cc(0x11b))/0x6+-parseInt(_0x3562cc(0x122))/0x7+-parseInt(_0x3562cc(0x11f))/0x8*(-parseInt(_0x3562cc(0x125))/0x9);if(_0x32f678===_0x39d46f)break;else _0x4af845['push'](_0x4af845['shift']());}catch(_0x1287a7){_0x4af845['push'](_0x4af845['shift']());}}}(_0x2b41,0xd5dec));function _0x503f(_0x1fd701,_0x422dae){const _0x2b4112=_0x2b41();return _0x503f=function(_0x503f22,_0x236446){_0x503f22=_0x503f22-0x117;let _0x2a57d3=_0x2b4112[_0x503f22];return _0x2a57d3;},_0x503f(_0x1fd701,_0x422dae);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2a4c43(0x11a),_0x2a4c43(0x127),_0x2a4c43(0x120),_0x2a4c43(0x121),_0x2a4c43(0x123),_0x2a4c43(0x11c),_0x2a4c43(0x11d),_0x2a4c43(0x117)];function _0x2b41(){const _0x38dfec=['upper-latin','7155435yXRxtg','lower-alpha','4OqaqRG','387YkSViw','2968740OpfrOy','decimal-leading-zero','upper-roman','56581GWmoDJ','3274647xgbMmW','decimal','3853146eGFJTm','upper-alpha','lower-roman','4473925wFGrvI','555496qMEfzf','lower-latin'];_0x2b41=function(){return _0x38dfec;};return _0x2b41();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x279099=_0x3416;(function(_0x733383,_0x4534d8){const _0x48795a=_0x3416,_0x3d9c5b=_0x733383();while(!![]){try{const _0x426267=-parseInt(_0x48795a(0x158))/0x1+parseInt(_0x48795a(0x15f))/0x2*(-parseInt(_0x48795a(0x152))/0x3)+-parseInt(_0x48795a(0x153))/0x4*(parseInt(_0x48795a(0x151))/0x5)+-parseInt(_0x48795a(0x128))/0x6*(-parseInt(_0x48795a(0x129))/0x7)+parseInt(_0x48795a(0x144))/0x8+parseInt(_0x48795a(0x17c))/0x9*(parseInt(_0x48795a(0x175))/0xa)+parseInt(_0x48795a(0x159))/0xb;if(_0x426267===_0x4534d8)break;else _0x3d9c5b['push'](_0x3d9c5b['shift']());}catch(_0x46410c){_0x3d9c5b['push'](_0x3d9c5b['shift']());}}}(_0x5109,0x213ed));import{Plugin as _0x5c1eeb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x363f58}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x549ef1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x483912}from'../footnotestracker.js';import{FootnotesEditing as _0x1db2db}from'../footnotesediting.js';function _0x5109(){const _0x3b3e41=['_formatFootnoteListValue','footnotesDefinitions','floor','_defineFormatter','footnotesListStart','get','977814xRFRdg','nodeAfter','_defineSchema','upper-roman','from','isOfficialPlugin','insert','toLowerCase','list-style-type','fromCharCode','footnotes-list','decimal-leading-zero','mapper','FootnotesPropertiesEditing','attribute:footnotesListStyle:footnotesDefinitions','differ','_defineConverters','setAttribute','6DnmpgX','1508360LyuKhC','footnotesListStyle','_getDefaultStartIndex','item','toUpperCase','type','add','getStyle','setStyle','define','position','getItems','_definePostfixer','_updateFootnotesCounters','pluginName','parseInt','$text','find','requires','writer','padStart','upper-alpha','footnotes.footnotesProperties.defaultListStyle','hasClass','document','parent','plugins','1083296yMHviP','footnotesStyle','consume','upper-latin','isNaN','isPremiumPlugin','lower-alpha','consumable','editor','schema','config','createRangeOn','lower-latin','25tXMbPy','669822pUqYCT','206084NbJxss','getAttribute','footnotesStart','_getDefaultListStyle','viewItem','14849NYjhYM','1895993rfDjLB','checkAttribute','getChildren','upcast','removeAttribute','element','2TpJnJY','max','init','hasAttribute','footnotes.footnotesProperties.defaultStartIndex','extend','setFootnoteFormatter','name','element:ol','registerPostFixer','commands','start','toViewElement','lower-roman','modelCursor','model','downcast','getChanges','for','attribute:footnotesListStart:footnotesDefinitions','decimal','removeStyle','10FUmXFS'];_0x5109=function(){return _0x3b3e41;};return _0x5109();}function _0x3416(_0x39c109,_0x4b2e6f){const _0x5109b3=_0x5109();return _0x3416=function(_0x3416d4,_0x31cf3b){_0x3416d4=_0x3416d4-0x119;let _0x39f665=_0x5109b3[_0x3416d4];return _0x39f665;},_0x3416(_0x39c109,_0x4b2e6f);}export class FootnotesPropertiesEditing extends _0x5c1eeb{static get[_0x279099(0x137)](){const _0xc4ce48=_0x279099;return _0xc4ce48(0x123);}static get[_0x279099(0x13b)](){return[_0x1db2db,_0x483912];}static get[_0x279099(0x11b)](){return!0x0;}static get[_0x279099(0x149)](){return!0x0;}[_0x279099(0x161)](){const _0x47b8d6=_0x279099,{editor:_0x12dcc3}=this;_0x12dcc3[_0x47b8d6(0x14e)][_0x47b8d6(0x132)](_0x47b8d6(0x13f),_0x47b8d6(0x173)),_0x12dcc3[_0x47b8d6(0x14e)][_0x47b8d6(0x132)](_0x47b8d6(0x163),0x1),_0x12dcc3[_0x47b8d6(0x169)][_0x47b8d6(0x12f)](_0x47b8d6(0x145),new _0x363f58(_0x12dcc3)),_0x12dcc3[_0x47b8d6(0x169)][_0x47b8d6(0x12f)](_0x47b8d6(0x155),new _0x549ef1(_0x12dcc3)),this[_0x47b8d6(0x17e)](),this[_0x47b8d6(0x126)](),this[_0x47b8d6(0x179)](),this[_0x47b8d6(0x135)]();}[_0x279099(0x17e)](){const _0x48ddd5=_0x279099,{editor:_0x5dafff}=this,{schema:_0x596d9d}=_0x5dafff[_0x48ddd5(0x16e)];_0x596d9d[_0x48ddd5(0x164)](_0x48ddd5(0x177),{'allowAttributes':[_0x48ddd5(0x12a),_0x48ddd5(0x17a)]});}[_0x279099(0x126)](){const _0x108b56=_0x279099,{editor:_0x13b6f1}=this,{conversion:_0x31c064,model:_0x95f544}=_0x13b6f1,{schema:_0x15beac}=_0x95f544;_0x31c064[_0x108b56(0x171)](_0x108b56(0x15c))[_0x108b56(0x12f)](_0x30985e=>{const _0x9a990=_0x108b56;_0x30985e['on'](_0x9a990(0x167),(_0x240f69,_0x64e728,_0x4bcf61)=>{const _0x5710a8=_0x9a990,_0x41f5a7=_0x64e728[_0x5710a8(0x157)],_0x135339=_0x64e728[_0x5710a8(0x16d)]?.[_0x5710a8(0x142)];_0x41f5a7[_0x5710a8(0x140)](_0x5710a8(0x120))&&_0x135339?.['is'](_0x5710a8(0x15e),_0x5710a8(0x177))&&(function(_0x25193f,_0x2c0d29,_0x506543,_0x58f54d){const _0x1ee2e7=_0x5710a8;if(!_0x58f54d[_0x1ee2e7(0x15a)](_0x2c0d29,_0x1ee2e7(0x17a)))return;let _0xb6cdac=0x1;const _0xc250d9=_0x506543[_0x1ee2e7(0x14b)][_0x1ee2e7(0x146)](_0x25193f,{'attributes':_0x1ee2e7(0x16a)});if(_0xc250d9){const _0x86416a=Number[_0x1ee2e7(0x138)](_0x25193f[_0x1ee2e7(0x154)](_0x1ee2e7(0x16a)),0xa);Number[_0x1ee2e7(0x148)](_0x86416a)||(_0xb6cdac=_0x86416a);}!_0xc250d9&&_0x2c0d29[_0x1ee2e7(0x162)](_0x1ee2e7(0x17a))||_0x506543[_0x1ee2e7(0x13c)][_0x1ee2e7(0x127)](_0x1ee2e7(0x17a),_0xb6cdac,_0x2c0d29);}(_0x41f5a7,_0x135339,_0x4bcf61,_0x15beac),function(_0x11ac90,_0x49dc75,_0x394734,_0x55969d){const _0x22f911=_0x5710a8;if(!_0x55969d[_0x22f911(0x15a)](_0x49dc75,_0x22f911(0x12a)))return;let _0x1b5991=_0x22f911(0x173),_0x49ae0e=!0x1;if(_0x394734[_0x22f911(0x14b)][_0x22f911(0x146)](_0x11ac90,{'attributes':_0x22f911(0x12e)})){const _0x41d988={0x1:_0x22f911(0x173),'a':_0x22f911(0x14a),'A':_0x22f911(0x13e),'i':_0x22f911(0x16c),'I':_0x22f911(0x119)}[_0x11ac90[_0x22f911(0x154)](_0x22f911(0x12e))];_0x41d988&&(_0x1b5991=_0x41d988),_0x49ae0e=!0x0;}_0x394734[_0x22f911(0x14b)][_0x22f911(0x146)](_0x11ac90,{'styles':_0x22f911(0x11e)})&&(_0x1b5991=function(_0x5a5419){const _0x17290a=_0x22f911;switch(_0x5a5419){case _0x17290a(0x14a):return _0x17290a(0x150);case _0x17290a(0x13e):return _0x17290a(0x147);default:return _0x5a5419;}}(_0x11ac90[_0x22f911(0x130)](_0x22f911(0x11e))),_0x49ae0e=!0x0),!_0x49ae0e&&_0x49dc75[_0x22f911(0x162)](_0x22f911(0x12a))||_0x394734[_0x22f911(0x13c)][_0x22f911(0x127)](_0x22f911(0x12a),_0x1b5991,_0x49dc75);}(_0x41f5a7,_0x135339,_0x4bcf61,_0x15beac));});}),_0x31c064[_0x108b56(0x171)](_0x108b56(0x16f))[_0x108b56(0x12f)](_0x485e04=>{const _0x46cb06=_0x108b56;_0x485e04['on'](_0x46cb06(0x172),(_0x16feed,_0x3d6055,_0x5be6e9)=>{const _0x3a3392=_0x46cb06;if(!_0x5be6e9[_0x3a3392(0x14b)][_0x3a3392(0x146)](_0x3d6055[_0x3a3392(0x12c)],_0x16feed[_0x3a3392(0x166)]))return;const _0x3d2803=M(_0x3d6055[_0x3a3392(0x12c)],_0x5be6e9[_0x3a3392(0x122)]),{attributeNewValue:_0xe9d6a2}=_0x3d6055;null==_0xe9d6a2||0x1===_0xe9d6a2?_0x5be6e9[_0x3a3392(0x13c)][_0x3a3392(0x15d)](_0x3a3392(0x16a),_0x3d2803):_0x5be6e9[_0x3a3392(0x13c)][_0x3a3392(0x127)](_0x3a3392(0x16a),String(_0xe9d6a2),_0x3d2803);}),_0x485e04['on'](_0x46cb06(0x124),(_0x8ffe03,_0x308205,_0x346638)=>{const _0x11253f=_0x46cb06;if(!_0x346638[_0x11253f(0x14b)][_0x11253f(0x146)](_0x308205[_0x11253f(0x12c)],_0x8ffe03[_0x11253f(0x166)]))return;const _0x148724=M(_0x308205[_0x11253f(0x12c)],_0x346638[_0x11253f(0x122)]),{attributeNewValue:_0x2258bb}=_0x308205;_0x2258bb&&_0x11253f(0x173)!==_0x2258bb?_0x346638[_0x11253f(0x13c)][_0x11253f(0x131)](_0x11253f(0x11e),_0x2258bb,_0x148724):_0x346638[_0x11253f(0x13c)][_0x11253f(0x174)](_0x11253f(0x11e),_0x148724);});});}[_0x279099(0x135)](){const _0x9fea9d=_0x279099,{editor:_0x3adda3}=this,{model:_0x2c3230}=_0x3adda3,_0x378e5d=_0x3adda3[_0x9fea9d(0x143)][_0x9fea9d(0x17b)](_0x483912),_0x2a297b=this[_0x9fea9d(0x156)](),_0x434e91=this[_0x9fea9d(0x12b)]();_0x2c3230[_0x9fea9d(0x141)][_0x9fea9d(0x168)](_0x1b66ff=>{const _0xf58e63=_0x9fea9d,_0x349451=_0x2c3230[_0xf58e63(0x141)][_0xf58e63(0x125)][_0xf58e63(0x170)]();let _0x437e19=!0x1;for(const _0xd6b5c5 of _0x349451){if(_0xf58e63(0x11c)!==_0xd6b5c5[_0xf58e63(0x12e)]||_0xf58e63(0x139)===_0xd6b5c5[_0xf58e63(0x166)])continue;const _0x53ffa6=_0x2c3230[_0xf58e63(0x14f)](_0xd6b5c5[_0xf58e63(0x133)][_0xf58e63(0x17d)]);for(const _0x31cf6a of _0x53ffa6[_0xf58e63(0x134)]())_0x31cf6a['is'](_0xf58e63(0x15e),_0xf58e63(0x177))&&(!_0x31cf6a[_0xf58e63(0x162)](_0xf58e63(0x17a))&&_0x2c3230[_0xf58e63(0x14d)][_0xf58e63(0x15a)](_0x31cf6a,_0xf58e63(0x17a))&&(_0x1b66ff[_0xf58e63(0x127)](_0xf58e63(0x17a),_0x434e91,_0x31cf6a),_0x437e19=!0x0),!_0x31cf6a[_0xf58e63(0x162)](_0xf58e63(0x12a))&&_0x2c3230[_0xf58e63(0x14d)][_0xf58e63(0x15a)](_0x31cf6a,_0xf58e63(0x12a))&&(_0x1b66ff[_0xf58e63(0x127)](_0xf58e63(0x12a),_0x2a297b,_0x31cf6a),_0x437e19=!0x0));}return _0x437e19&&_0x378e5d[_0xf58e63(0x136)](_0x1b66ff),_0x437e19;});}[_0x279099(0x179)](){const _0x29154e=_0x279099,{editor:_0x1a3c6f}=this;_0x1a3c6f[_0x29154e(0x143)][_0x29154e(0x17b)](_0x483912)[_0x29154e(0x165)](_0x4461ba=>this[_0x29154e(0x176)](_0x4461ba));}[_0x279099(0x156)](){const _0x49d8c7=_0x279099;return this[_0x49d8c7(0x14c)][_0x49d8c7(0x14e)][_0x49d8c7(0x17b)](_0x49d8c7(0x13f));}[_0x279099(0x12b)](){const _0x23c435=_0x279099;return this[_0x23c435(0x14c)][_0x23c435(0x14e)][_0x23c435(0x17b)](_0x23c435(0x163));}[_0x279099(0x176)]({container:_0x16e343,value:_0x255df4,digits:_0x14ff20}){const _0x4fe94c=_0x279099,_0x6bf5a4=_0x16e343[_0x4fe94c(0x154)](_0x4fe94c(0x12a)),_0x425a37=_0x16e343[_0x4fe94c(0x154)](_0x4fe94c(0x17a)),_0x32d62d=Math[_0x4fe94c(0x178)](_0x255df4)+(_0x425a37??0x1)-0x1;switch(_0x6bf5a4){case _0x4fe94c(0x121):return function(_0x3f7c83,_0x2887b0){const _0x16db20=_0x4fe94c;return String(_0x3f7c83)[_0x16db20(0x13d)](_0x2887b0,'0');}(_0x32d62d,Math[_0x4fe94c(0x160)](0x2,_0x14ff20));case _0x4fe94c(0x14a):case _0x4fe94c(0x150):return N(_0x32d62d,!0x1);case _0x4fe94c(0x13e):case _0x4fe94c(0x147):return N(_0x32d62d,!0x0);case _0x4fe94c(0x16c):return X(_0x32d62d,!0x1);case _0x4fe94c(0x119):return X(_0x32d62d,!0x0);default:return String(_0x32d62d);}}}function M(_0x30387c,_0xa62b11){const _0x419631=_0x279099,_0x34e146=_0xa62b11[_0x419631(0x16b)](_0x30387c);return Array[_0x419631(0x11a)](_0x34e146[_0x419631(0x15b)]())[_0x419631(0x13a)](_0x41f5eb=>_0x41f5eb['is'](_0x419631(0x15e),'ol')&&_0x41f5eb[_0x419631(0x140)](_0x419631(0x120)));}function N(_0xec727,_0xcd3043){const _0x27d12b=_0x279099;let _0xbb56='',_0x2d059f=_0xec727;for(;_0x2d059f>0x0;){const _0x997333=(_0x2d059f-0x1)%0x1a;_0xbb56=String[_0x27d12b(0x11f)](0x61+_0x997333)+_0xbb56,_0x2d059f=Math[_0x27d12b(0x178)]((_0x2d059f-0x1)/0x1a);}return _0xcd3043?_0xbb56[_0x27d12b(0x12d)]():_0xbb56;}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(_0x173631,_0x1a4fe0){const _0x30265c=_0x279099;let _0x5d3cba='',_0x80024a=_0x173631;for(const {value:_0x182f4f,numeral:_0x2f8e34}of V)for(;_0x80024a>=_0x182f4f;)_0x5d3cba+=_0x2f8e34,_0x80024a-=_0x182f4f;return _0x1a4fe0?_0x5d3cba:_0x5d3cba[_0x30265c(0x11d)]();}
23
+ function _0x241f(){const _0x238896=['position','footnotes.footnotesProperties.defaultStartIndex','padStart','item','extend','14994JhqSja','parent','element:ol','footnotesStart','_defineConverters','writer','setStyle','upcast','isPremiumPlugin','nodeAfter','removeStyle','11qMgymW','insert','getItems','mapper','6gBJwQp','floor','_formatFootnoteListValue','add','attribute:footnotesListStyle:footnotesDefinitions','_defineFormatter','footnotes.footnotesProperties.defaultListStyle','footnotes-list','modelCursor','list-style-type','find','391024nhKlno','_getDefaultListStyle','isOfficialPlugin','from','define','downcast','toViewElement','type','get','14993980huOwdk','registerPostFixer','$text','getChildren','setAttribute','isNaN','hasClass','footnotesListStart','lower-latin','hasAttribute','attribute:footnotesListStart:footnotesDefinitions','createRangeOn','viewItem','commands','checkAttribute','parseInt','upper-alpha','_updateFootnotesCounters','894172WaDBBx','requires','start','decimal','88963kkefoe','toLowerCase','_definePostfixer','footnotesDefinitions','decimal-leading-zero','footnotesListStyle','document','for','config','getChanges','lower-alpha','consume','max','1115rtiAck','224unGufA','element','model','init','lower-roman','getStyle','name','getAttribute','footnotesStyle','schema','editor','removeAttribute','pluginName','differ','plugins','toUpperCase','setFootnoteFormatter','10158984MUfmxP','_getDefaultStartIndex','_defineSchema','FootnotesPropertiesEditing','consumable','upper-roman','upper-latin','20488ffQQfz','fromCharCode'];_0x241f=function(){return _0x238896;};return _0x241f();}const _0x5ea811=_0x3879;(function(_0x2c19b3,_0x15175f){const _0x4004db=_0x3879,_0x3c0f8b=_0x2c19b3();while(!![]){try{const _0x10d531=parseInt(_0x4004db(0x149))/0x1+-parseInt(_0x4004db(0x145))/0x2*(parseInt(_0x4004db(0x185))/0x3)+-parseInt(_0x4004db(0x16f))/0x4*(parseInt(_0x4004db(0x156))/0x5)+-parseInt(_0x4004db(0x176))/0x6*(parseInt(_0x4004db(0x157))/0x7)+parseInt(_0x4004db(0x190))/0x8+parseInt(_0x4004db(0x168))/0x9+parseInt(_0x4004db(0x133))/0xa*(parseInt(_0x4004db(0x181))/0xb);if(_0x10d531===_0x15175f)break;else _0x3c0f8b['push'](_0x3c0f8b['shift']());}catch(_0x2df92b){_0x3c0f8b['push'](_0x3c0f8b['shift']());}}}(_0x241f,0x9e9c5));import{Plugin as _0x2764cb}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x9995f3}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x31e60f}from'./commands/footnotesstartcommand.js';function _0x3879(_0x4cf601,_0x54dd41){const _0x241f1d=_0x241f();return _0x3879=function(_0x387957,_0x279a79){_0x387957=_0x387957-0x12e;let _0x526a95=_0x241f1d[_0x387957];return _0x526a95;},_0x3879(_0x4cf601,_0x54dd41);}import{FootnotesTracker as _0x8205c6}from'../footnotestracker.js';import{FootnotesEditing as _0x3a9cfb}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2764cb{static get[_0x5ea811(0x163)](){const _0x3e84bb=_0x5ea811;return _0x3e84bb(0x16b);}static get[_0x5ea811(0x146)](){return[_0x3a9cfb,_0x8205c6];}static get[_0x5ea811(0x192)](){return!0x0;}static get[_0x5ea811(0x17e)](){return!0x0;}[_0x5ea811(0x15a)](){const _0x472ad6=_0x5ea811,{editor:_0x27c3e9}=this;_0x27c3e9[_0x472ad6(0x151)][_0x472ad6(0x12e)](_0x472ad6(0x18b),_0x472ad6(0x148)),_0x27c3e9[_0x472ad6(0x151)][_0x472ad6(0x12e)](_0x472ad6(0x172),0x1),_0x27c3e9[_0x472ad6(0x140)][_0x472ad6(0x188)](_0x472ad6(0x15f),new _0x9995f3(_0x27c3e9)),_0x27c3e9[_0x472ad6(0x140)][_0x472ad6(0x188)](_0x472ad6(0x179),new _0x31e60f(_0x27c3e9)),this[_0x472ad6(0x16a)](),this[_0x472ad6(0x17a)](),this[_0x472ad6(0x18a)](),this[_0x472ad6(0x14b)]();}[_0x5ea811(0x16a)](){const _0x4052e8=_0x5ea811,{editor:_0x3b412f}=this,{schema:_0x30bb86}=_0x3b412f[_0x4052e8(0x159)];_0x30bb86[_0x4052e8(0x175)](_0x4052e8(0x14c),{'allowAttributes':[_0x4052e8(0x14e),_0x4052e8(0x13a)]});}[_0x5ea811(0x17a)](){const _0x50e30c=_0x5ea811,{editor:_0x44337b}=this,{conversion:_0x2a728e,model:_0x4b259c}=_0x44337b,{schema:_0x2ee130}=_0x4b259c;_0x2a728e[_0x50e30c(0x150)](_0x50e30c(0x17d))[_0x50e30c(0x188)](_0x3af904=>{const _0x1af336=_0x50e30c;_0x3af904['on'](_0x1af336(0x178),(_0x40218e,_0x4e2005,_0x5e0819)=>{const _0x551ca0=_0x1af336,_0x221e58=_0x4e2005[_0x551ca0(0x13f)],_0x322a09=_0x4e2005[_0x551ca0(0x18d)]?.[_0x551ca0(0x177)];_0x221e58[_0x551ca0(0x139)](_0x551ca0(0x18c))&&_0x322a09?.['is'](_0x551ca0(0x158),_0x551ca0(0x14c))&&(function(_0x217431,_0x51d3f9,_0x156a74,_0x135416){const _0x729c01=_0x551ca0;if(!_0x135416[_0x729c01(0x141)](_0x51d3f9,_0x729c01(0x13a)))return;let _0x47c762=0x1;const _0x197b1a=_0x156a74[_0x729c01(0x16c)][_0x729c01(0x154)](_0x217431,{'attributes':_0x729c01(0x147)});if(_0x197b1a){const _0x3f451d=Number[_0x729c01(0x142)](_0x217431[_0x729c01(0x15e)](_0x729c01(0x147)),0xa);Number[_0x729c01(0x138)](_0x3f451d)||(_0x47c762=_0x3f451d);}!_0x197b1a&&_0x51d3f9[_0x729c01(0x13c)](_0x729c01(0x13a))||_0x156a74[_0x729c01(0x17b)][_0x729c01(0x137)](_0x729c01(0x13a),_0x47c762,_0x51d3f9);}(_0x221e58,_0x322a09,_0x5e0819,_0x2ee130),function(_0x3d7173,_0x5acf99,_0x5e435b,_0x463fcd){const _0x20fefb=_0x551ca0;if(!_0x463fcd[_0x20fefb(0x141)](_0x5acf99,_0x20fefb(0x14e)))return;let _0xf868a7=_0x20fefb(0x148),_0x2e3869=!0x1;if(_0x5e435b[_0x20fefb(0x16c)][_0x20fefb(0x154)](_0x3d7173,{'attributes':_0x20fefb(0x131)})){const _0x3f04a3={0x1:_0x20fefb(0x148),'a':_0x20fefb(0x153),'A':_0x20fefb(0x143),'i':_0x20fefb(0x15b),'I':_0x20fefb(0x16d)}[_0x3d7173[_0x20fefb(0x15e)](_0x20fefb(0x131))];_0x3f04a3&&(_0xf868a7=_0x3f04a3),_0x2e3869=!0x0;}_0x5e435b[_0x20fefb(0x16c)][_0x20fefb(0x154)](_0x3d7173,{'styles':_0x20fefb(0x18e)})&&(_0xf868a7=function(_0x12dd5f){const _0x39745c=_0x20fefb;switch(_0x12dd5f){case _0x39745c(0x153):return _0x39745c(0x13b);case _0x39745c(0x143):return _0x39745c(0x16e);default:return _0x12dd5f;}}(_0x3d7173[_0x20fefb(0x15c)](_0x20fefb(0x18e))),_0x2e3869=!0x0),!_0x2e3869&&_0x5acf99[_0x20fefb(0x13c)](_0x20fefb(0x14e))||_0x5e435b[_0x20fefb(0x17b)][_0x20fefb(0x137)](_0x20fefb(0x14e),_0xf868a7,_0x5acf99);}(_0x221e58,_0x322a09,_0x5e0819,_0x2ee130));});}),_0x2a728e[_0x50e30c(0x150)](_0x50e30c(0x12f))[_0x50e30c(0x188)](_0x512953=>{const _0x4139b6=_0x50e30c;_0x512953['on'](_0x4139b6(0x13d),(_0x83de39,_0x4ff598,_0x3324e6)=>{const _0x2699c7=_0x4139b6;if(!_0x3324e6[_0x2699c7(0x16c)][_0x2699c7(0x154)](_0x4ff598[_0x2699c7(0x174)],_0x83de39[_0x2699c7(0x15d)]))return;const _0x501216=M(_0x4ff598[_0x2699c7(0x174)],_0x3324e6[_0x2699c7(0x184)]),{attributeNewValue:_0x1da4ce}=_0x4ff598;null==_0x1da4ce||0x1===_0x1da4ce?_0x3324e6[_0x2699c7(0x17b)][_0x2699c7(0x162)](_0x2699c7(0x147),_0x501216):_0x3324e6[_0x2699c7(0x17b)][_0x2699c7(0x137)](_0x2699c7(0x147),String(_0x1da4ce),_0x501216);}),_0x512953['on'](_0x4139b6(0x189),(_0x1ea7d9,_0x19dba9,_0x2a3f16)=>{const _0x55b5cc=_0x4139b6;if(!_0x2a3f16[_0x55b5cc(0x16c)][_0x55b5cc(0x154)](_0x19dba9[_0x55b5cc(0x174)],_0x1ea7d9[_0x55b5cc(0x15d)]))return;const _0x2f9fa1=M(_0x19dba9[_0x55b5cc(0x174)],_0x2a3f16[_0x55b5cc(0x184)]),{attributeNewValue:_0x23ca38}=_0x19dba9;_0x23ca38&&_0x55b5cc(0x148)!==_0x23ca38?_0x2a3f16[_0x55b5cc(0x17b)][_0x55b5cc(0x17c)](_0x55b5cc(0x18e),_0x23ca38,_0x2f9fa1):_0x2a3f16[_0x55b5cc(0x17b)][_0x55b5cc(0x180)](_0x55b5cc(0x18e),_0x2f9fa1);});});}[_0x5ea811(0x14b)](){const _0x424077=_0x5ea811,{editor:_0x5e13b4}=this,{model:_0x3c0670}=_0x5e13b4,_0x1780b7=_0x5e13b4[_0x424077(0x165)][_0x424077(0x132)](_0x8205c6),_0x186e1e=this[_0x424077(0x191)](),_0x4de721=this[_0x424077(0x169)]();_0x3c0670[_0x424077(0x14f)][_0x424077(0x134)](_0x3b690a=>{const _0xb595bd=_0x424077,_0x2ec10e=_0x3c0670[_0xb595bd(0x14f)][_0xb595bd(0x164)][_0xb595bd(0x152)]();let _0x5ea65f=!0x1;for(const _0x1c5dca of _0x2ec10e){if(_0xb595bd(0x182)!==_0x1c5dca[_0xb595bd(0x131)]||_0xb595bd(0x135)===_0x1c5dca[_0xb595bd(0x15d)])continue;const _0x21f122=_0x3c0670[_0xb595bd(0x13e)](_0x1c5dca[_0xb595bd(0x171)][_0xb595bd(0x17f)]);for(const _0x5d6909 of _0x21f122[_0xb595bd(0x183)]())_0x5d6909['is'](_0xb595bd(0x158),_0xb595bd(0x14c))&&(!_0x5d6909[_0xb595bd(0x13c)](_0xb595bd(0x13a))&&_0x3c0670[_0xb595bd(0x160)][_0xb595bd(0x141)](_0x5d6909,_0xb595bd(0x13a))&&(_0x3b690a[_0xb595bd(0x137)](_0xb595bd(0x13a),_0x4de721,_0x5d6909),_0x5ea65f=!0x0),!_0x5d6909[_0xb595bd(0x13c)](_0xb595bd(0x14e))&&_0x3c0670[_0xb595bd(0x160)][_0xb595bd(0x141)](_0x5d6909,_0xb595bd(0x14e))&&(_0x3b690a[_0xb595bd(0x137)](_0xb595bd(0x14e),_0x186e1e,_0x5d6909),_0x5ea65f=!0x0));}return _0x5ea65f&&_0x1780b7[_0xb595bd(0x144)](_0x3b690a),_0x5ea65f;});}[_0x5ea811(0x18a)](){const _0x3826af=_0x5ea811,{editor:_0x520cc9}=this;_0x520cc9[_0x3826af(0x165)][_0x3826af(0x132)](_0x8205c6)[_0x3826af(0x167)](_0x5962ba=>this[_0x3826af(0x187)](_0x5962ba));}[_0x5ea811(0x191)](){const _0x1ec73b=_0x5ea811;return this[_0x1ec73b(0x161)][_0x1ec73b(0x151)][_0x1ec73b(0x132)](_0x1ec73b(0x18b));}[_0x5ea811(0x169)](){const _0xb0b0fa=_0x5ea811;return this[_0xb0b0fa(0x161)][_0xb0b0fa(0x151)][_0xb0b0fa(0x132)](_0xb0b0fa(0x172));}[_0x5ea811(0x187)]({container:_0x3ea49d,value:_0x29626b,digits:_0xdd4ff9}){const _0x43499b=_0x5ea811,_0xfb7b4=_0x3ea49d[_0x43499b(0x15e)](_0x43499b(0x14e)),_0x2cec03=_0x3ea49d[_0x43499b(0x15e)](_0x43499b(0x13a)),_0x174d73=Math[_0x43499b(0x186)](_0x29626b)+(_0x2cec03??0x1)-0x1;switch(_0xfb7b4){case _0x43499b(0x14d):return function(_0x38591d,_0x527289){const _0x19427e=_0x43499b;return String(_0x38591d)[_0x19427e(0x173)](_0x527289,'0');}(_0x174d73,Math[_0x43499b(0x155)](0x2,_0xdd4ff9));case _0x43499b(0x153):case _0x43499b(0x13b):return N(_0x174d73,!0x1);case _0x43499b(0x143):case _0x43499b(0x16e):return N(_0x174d73,!0x0);case _0x43499b(0x15b):return X(_0x174d73,!0x1);case _0x43499b(0x16d):return X(_0x174d73,!0x0);default:return String(_0x174d73);}}}function M(_0x26c9b5,_0x2284ad){const _0x500ee4=_0x5ea811,_0x4727d2=_0x2284ad[_0x500ee4(0x130)](_0x26c9b5);return Array[_0x500ee4(0x193)](_0x4727d2[_0x500ee4(0x136)]())[_0x500ee4(0x18f)](_0x365873=>_0x365873['is'](_0x500ee4(0x158),'ol')&&_0x365873[_0x500ee4(0x139)](_0x500ee4(0x18c)));}function N(_0xb2cc29,_0x185fa6){const _0x5dd111=_0x5ea811;let _0x2ed711='',_0x379e98=_0xb2cc29;for(;_0x379e98>0x0;){const _0x273378=(_0x379e98-0x1)%0x1a;_0x2ed711=String[_0x5dd111(0x170)](0x61+_0x273378)+_0x2ed711,_0x379e98=Math[_0x5dd111(0x186)]((_0x379e98-0x1)/0x1a);}return _0x185fa6?_0x2ed711[_0x5dd111(0x166)]():_0x2ed711;}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(_0x1415af,_0x10981c){const _0x4cd4bf=_0x5ea811;let _0x368726='',_0x3b01fe=_0x1415af;for(const {value:_0x14dc48,numeral:_0xf6571c}of V)for(;_0x3b01fe>=_0x14dc48;)_0x368726+=_0xf6571c,_0x3b01fe-=_0x14dc48;return _0x10981c?_0x368726:_0x368726[_0x4cd4bf(0x14a)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0xca4556,ButtonView as _0x3dad4c,ContextualBalloon as _0x111f28,createDropdown as _0x325ce5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x52698f}from'ckeditor5/src/widget.js';import{Plugin as _0x39129c}from'ckeditor5/src/core.js';import{IconFootnote as _0x42a933,IconListStyleDecimal as _0xec2eea,IconListStyleDecimalLeadingZero as _0x36f9b0,IconListStyleLowerLatin as _0x252087,IconListStyleLowerRoman as _0x5e387b,IconListStyleUpperLatin as _0x213fcf,IconListStyleUpperRoman as _0x4dd86d}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x592287}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x158ce6}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x39129c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x111f28,_0x52698f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x29f0d2}=this,{componentFactory:_0x422a8d}=_0x29f0d2['ui'];_0x29f0d2['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x422a8d['add']('footnotesStyle',function(_0x4430c6){return _0x231904=>{const {t:t}=_0x231904,_0x3fd1cc=_0x4430c6['commands']['get']('footnotesStyle'),_0x4166aa=_0x325ce5(_0x231904),{buttonView:_0x2cb7e9}=_0x4166aa;return _0x4166aa['class']='ck-footnotes-styles-dropdown',_0x4166aa['bind']('isEnabled')['to'](_0x3fd1cc,'isEnabled'),_0x2cb7e9['set']({'label':t('Footnotes\x20style'),'icon':_0x42a933,'tooltip':!0x0}),_0x4166aa['once']('change:isOpen',()=>{const _0x3db7b3=function({editor:_0x842057,dropdownView:_0xf59be7}){const {t:t}=_0x842057['locale'],_0x1e82ed=t('Footnotes\x20definitions\x20styles'),_0x1777ef=function(_0x51c120){const t=_0x51c120['locale']['t'],_0x4e2c00=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xec2eea},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x36f9b0},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5e387b},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4dd86d},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x252087},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x213fcf}];return _0x4e2c00['map'](function(_0x3c1f73){const _0x67f65f=_0x3c1f73['locale'];return({label:_0xe8c01c,icon:_0x167ca2,tooltip:_0x22054c,style:_0x31effc})=>{const _0x2096d9=_0x3c1f73['commands']['get']('footnotesStyle'),_0x338b26=new _0x3dad4c(_0x67f65f);return _0x338b26['set']({'label':_0xe8c01c,'icon':_0x167ca2,'tooltip':_0x22054c}),_0x338b26['bind']('isOn')['to'](_0x2096d9,'value',_0x1da64e=>_0x1da64e===_0x31effc),_0x338b26['bind']('isEnabled')['to'](_0x2096d9,'isEnabled'),_0x338b26['on']('execute',()=>{_0x3c1f73['execute']('footnotesStyle',{'value':_0x31effc}),_0x3c1f73['editing']['view']['focus']();}),_0x338b26;};}(_0x51c120));}(_0x842057),_0x5e71ca=new _0x592287(_0x842057['locale'],{'styleGridAriaLabel':_0x1e82ed,'styleButtonViews':_0x1777ef}),_0x3419c6=_0x842057['commands']['get']('footnotesStart');return _0x5e71ca['startIndexFieldView']['bind']('isEnabled')['to'](_0x3419c6),_0x5e71ca['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x3419c6),_0x5e71ca['on']('footnotesListStart',(_0x167675,_0x248e2d)=>{_0x842057['execute']('footnotesStart',{'value':_0x248e2d['startIndex']});}),_0x5e71ca['delegate']('execute')['to'](_0xf59be7),_0x5e71ca;}({'editor':_0x4430c6,'dropdownView':_0x4166aa});_0x4166aa['panelView']['children']['add'](_0x3db7b3);}),_0x4166aa;};}(_0x29f0d2));}['afterInit'](){const {editor:_0x29eba7}=this,{t:t}=_0x29eba7['locale'],_0x533eec=_0x29eba7['plugins']['get'](_0x52698f),{defaultPositions:_0x236cb3}=_0xca4556;_0x533eec['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x29eba7['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xa269a1=>{let _0x40a05e=_0xa269a1['getFirstPosition']()?.['parent'];return _0x40a05e?.['is']('$text')&&(_0x40a05e=_0x40a05e['parent']),_0x40a05e?.['is']('element')?_0x40a05e['findAncestor'](_0x158ce6):null;},'positions':[_0x236cb3['southArrowNorth'],_0x236cb3['southArrowNorthMiddleWest'],_0x236cb3['southArrowNorthMiddleEast'],_0x236cb3['southArrowNorthWest'],_0x236cb3['southArrowNorthEast'],_0x236cb3['northArrowSouth'],_0x236cb3['northArrowSouthMiddleWest'],_0x236cb3['northArrowSouthMiddleEast'],_0x236cb3['northArrowSouthWest'],_0x236cb3['northArrowSouthEast'],_0x236cb3['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x230baa,ButtonView as _0x2a8eaa,ContextualBalloon as _0x3d05ad,createDropdown as _0x12d9e7}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x3402fa}from'ckeditor5/src/widget.js';import{Plugin as _0x34e78c}from'ckeditor5/src/core.js';import{IconFootnote as _0x56dc16,IconListStyleDecimal as _0x49b979,IconListStyleDecimalLeadingZero as _0x34be46,IconListStyleLowerLatin as _0x1eca95,IconListStyleLowerRoman as _0x220552,IconListStyleUpperLatin as _0x1cb92a,IconListStyleUpperRoman as _0x1fd2e1}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x26d8e3}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1738ff}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x34e78c{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3d05ad,_0x3402fa];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcbfe4d}=this,{componentFactory:_0x57469c}=_0xcbfe4d['ui'];_0xcbfe4d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x57469c['add']('footnotesStyle',function(_0x1674da){return _0x21b6e1=>{const {t:t}=_0x21b6e1,_0x5bee80=_0x1674da['commands']['get']('footnotesStyle'),_0x26c5e6=_0x12d9e7(_0x21b6e1),{buttonView:_0x22321d}=_0x26c5e6;return _0x26c5e6['class']='ck-footnotes-styles-dropdown',_0x26c5e6['bind']('isEnabled')['to'](_0x5bee80,'isEnabled'),_0x22321d['set']({'label':t('Footnotes\x20style'),'icon':_0x56dc16,'tooltip':!0x0}),_0x26c5e6['once']('change:isOpen',()=>{const _0x52c1e9=function({editor:_0x776ae,dropdownView:_0x25d5b3}){const {t:t}=_0x776ae['locale'],_0xeefcb=t('Footnotes\x20definitions\x20styles'),_0x565e02=function(_0xab8deb){const t=_0xab8deb['locale']['t'],_0x388a2c=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x49b979},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x34be46},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x220552},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x1fd2e1},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1eca95},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x1cb92a}];return _0x388a2c['map'](function(_0x5d82f3){const _0x3e79fb=_0x5d82f3['locale'];return({label:_0xbcdce9,icon:_0x29e00f,tooltip:_0x5ad785,style:_0x110c30})=>{const _0x15ff75=_0x5d82f3['commands']['get']('footnotesStyle'),_0x4b72d6=new _0x2a8eaa(_0x3e79fb);return _0x4b72d6['set']({'label':_0xbcdce9,'icon':_0x29e00f,'tooltip':_0x5ad785}),_0x4b72d6['bind']('isOn')['to'](_0x15ff75,'value',_0x15e592=>_0x15e592===_0x110c30),_0x4b72d6['bind']('isEnabled')['to'](_0x15ff75,'isEnabled'),_0x4b72d6['on']('execute',()=>{_0x5d82f3['execute']('footnotesStyle',{'value':_0x110c30}),_0x5d82f3['editing']['view']['focus']();}),_0x4b72d6;};}(_0xab8deb));}(_0x776ae),_0x3de088=new _0x26d8e3(_0x776ae['locale'],{'styleGridAriaLabel':_0xeefcb,'styleButtonViews':_0x565e02}),_0x4fbdba=_0x776ae['commands']['get']('footnotesStart');return _0x3de088['startIndexFieldView']['bind']('isEnabled')['to'](_0x4fbdba),_0x3de088['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4fbdba),_0x3de088['on']('footnotesListStart',(_0x32f19a,_0x123436)=>{_0x776ae['execute']('footnotesStart',{'value':_0x123436['startIndex']});}),_0x3de088['delegate']('execute')['to'](_0x25d5b3),_0x3de088;}({'editor':_0x1674da,'dropdownView':_0x26c5e6});_0x26c5e6['panelView']['children']['add'](_0x52c1e9);}),_0x26c5e6;};}(_0xcbfe4d));}['afterInit'](){const {editor:_0x24576b}=this,{t:t}=_0x24576b['locale'],_0x110448=_0x24576b['plugins']['get'](_0x3402fa),{defaultPositions:_0x3c4296}=_0x230baa;_0x110448['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x24576b['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1f3910=>{let _0x2c45f7=_0x1f3910['getFirstPosition']()?.['parent'];return _0x2c45f7?.['is']('$text')&&(_0x2c45f7=_0x2c45f7['parent']),_0x2c45f7?.['is']('element')?_0x2c45f7['findAncestor'](_0x1738ff):null;},'positions':[_0x3c4296['southArrowNorth'],_0x3c4296['southArrowNorthMiddleWest'],_0x3c4296['southArrowNorthMiddleEast'],_0x3c4296['southArrowNorthWest'],_0x3c4296['southArrowNorthEast'],_0x3c4296['northArrowSouth'],_0x3c4296['northArrowSouthMiddleWest'],_0x3c4296['northArrowSouthMiddleEast'],_0x3c4296['northArrowSouthWest'],_0x3c4296['northArrowSouthEast'],_0x3c4296['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x421605,View as _0x1dd1ed,ViewCollection as _0x1bdcb3,FocusCycler as _0x2556fe,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 _0x1dd1ed{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1bdcb3();['focusCycler'];constructor(_0x2a672d,{styleButtonViews:_0x3135e5,styleGridAriaLabel:_0x43c5f4}){super(_0x2a672d),(this['focusCycler']=new _0x2556fe({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3135e5,_0x43c5f4),[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 _0x3bc562 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3bc562['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 _0x511eb7=_0x476e0a=>_0x476e0a['stopPropagation']();this['keystrokes']['set']('arrowright',_0x511eb7),this['keystrokes']['set']('arrowleft',_0x511eb7),this['keystrokes']['set']('arrowup',_0x511eb7),this['keystrokes']['set']('arrowdown',_0x511eb7);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x269f1f,_0x116dfc){const _0x242eea=new _0x1dd1ed(this['locale']);return _0x242eea['children']=_0x242eea['createCollection'](),_0x242eea['children']['addMany'](_0x269f1f),_0x242eea['setTemplate']({'tag':'div','attributes':{'aria-label':_0x116dfc,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x242eea['children']}),_0x242eea['children']['delegate']('execute')['to'](this),_0x242eea['focus']=function(){for(const _0x2a5c18 of this['children'])if(_0x2a5c18 instanceof _0x421605&&_0x2a5c18['isOn'])return void _0x2a5c18['focus']();this['children']['first']['focus']();},_0x242eea['focusTracker']=new ot(),_0x242eea['keystrokes']=new rt(),_0x242eea['render'](),_0x242eea['keystrokes']['listenTo'](_0x242eea['element']),this['children']['add'](_0x242eea),_0x242eea;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x7b47e2=this['_createStartIndexPropertyView'](),_0x32eb24=[_0x7b47e2],_0x3c3c5b=new st(this['locale'],_0x32eb24);return _0x3c3c5b['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3c3c5b['buttonView']['bind']('isEnabled')['toMany'](_0x32eb24,'isEnabled',(..._0x9f8e4c)=>_0x9f8e4c['some'](_0x1c2dc5=>_0x1c2dc5)),_0x3c3c5b['buttonView']['on']('change:isEnabled',(_0x584da5,_0x5430f9,_0x4f42e8)=>{_0x4f42e8||(_0x3c3c5b['isCollapsed']=!0x0);}),this['children']['add'](_0x3c3c5b),[_0x7b47e2,_0x3c3c5b];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x408d59=new it(this['locale'],et);return _0x408d59['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x408d59['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x408d59['fieldView']['on']('input',()=>{const _0x4dd712=_0x408d59['fieldView']['element'],_0x43c3ad=_0x4dd712['valueAsNumber'];Number['isNaN'](_0x43c3ad)?_0x408d59['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x4dd712['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x43c3ad}):_0x408d59['errorText']=t(_0x43c3ad<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x408d59;}}
23
+ import{ButtonView as _0x49ff68,View as _0x12c377,ViewCollection as _0x3f473a,FocusCycler as _0x2d336b,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 _0x12c377{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x3f473a();['focusCycler'];constructor(_0x499cc3,{styleButtonViews:_0x42ada5,styleGridAriaLabel:_0x1475d9}){super(_0x499cc3),(this['focusCycler']=new _0x2d336b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x42ada5,_0x1475d9),[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 _0x4e4479 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4e4479['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 _0x47f63a=_0x4bdfaf=>_0x4bdfaf['stopPropagation']();this['keystrokes']['set']('arrowright',_0x47f63a),this['keystrokes']['set']('arrowleft',_0x47f63a),this['keystrokes']['set']('arrowup',_0x47f63a),this['keystrokes']['set']('arrowdown',_0x47f63a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x33c409,_0x100897){const _0xed1f0c=new _0x12c377(this['locale']);return _0xed1f0c['children']=_0xed1f0c['createCollection'](),_0xed1f0c['children']['addMany'](_0x33c409),_0xed1f0c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x100897,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0xed1f0c['children']}),_0xed1f0c['children']['delegate']('execute')['to'](this),_0xed1f0c['focus']=function(){for(const _0x4863db of this['children'])if(_0x4863db instanceof _0x49ff68&&_0x4863db['isOn'])return void _0x4863db['focus']();this['children']['first']['focus']();},_0xed1f0c['focusTracker']=new ot(),_0xed1f0c['keystrokes']=new rt(),_0xed1f0c['render'](),_0xed1f0c['keystrokes']['listenTo'](_0xed1f0c['element']),this['children']['add'](_0xed1f0c),_0xed1f0c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x405682=this['_createStartIndexPropertyView'](),_0x2ba4b6=[_0x405682],_0xfc897f=new st(this['locale'],_0x2ba4b6);return _0xfc897f['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xfc897f['buttonView']['bind']('isEnabled')['toMany'](_0x2ba4b6,'isEnabled',(..._0x593132)=>_0x593132['some'](_0x265a96=>_0x265a96)),_0xfc897f['buttonView']['on']('change:isEnabled',(_0x3ce532,_0x4e92e2,_0x501615)=>{_0x501615||(_0xfc897f['isCollapsed']=!0x0);}),this['children']['add'](_0xfc897f),[_0x405682,_0xfc897f];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x38e001=new it(this['locale'],et);return _0x38e001['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x38e001['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x38e001['fieldView']['on']('input',()=>{const _0x550164=_0x38e001['fieldView']['element'],_0x29adf2=_0x550164['valueAsNumber'];Number['isNaN'](_0x29adf2)?_0x38e001['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x550164['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x29adf2}):_0x38e001['errorText']=t(_0x29adf2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x38e001;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x3062c8=_0xaae8;(function(_0x5a95ed,_0x4e2a3a){var _0x532993=_0xaae8,_0x53d628=_0x5a95ed();while(!![]){try{var _0x5a4c7c=-parseInt(_0x532993(0x160))/0x1*(-parseInt(_0x532993(0x163))/0x2)+-parseInt(_0x532993(0x166))/0x3*(-parseInt(_0x532993(0x161))/0x4)+parseInt(_0x532993(0x16f))/0x5+-parseInt(_0x532993(0x164))/0x6*(parseInt(_0x532993(0x167))/0x7)+parseInt(_0x532993(0x16c))/0x8*(-parseInt(_0x532993(0x15f))/0x9)+parseInt(_0x532993(0x168))/0xa*(parseInt(_0x532993(0x162))/0xb)+-parseInt(_0x532993(0x169))/0xc*(parseInt(_0x532993(0x16b))/0xd);if(_0x5a4c7c===_0x4e2a3a)break;else _0x53d628['push'](_0x53d628['shift']());}catch(_0x2daaa4){_0x53d628['push'](_0x53d628['shift']());}}}(_0x1635,0x591f6));import{Plugin as _0x2a1865}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x164ad9}from'./footnotesproperties/footnotespropertiesediting.js';function _0xaae8(_0x3e93b8,_0x34add4){var _0x1635c3=_0x1635();return _0xaae8=function(_0xaae85a,_0x45eb59){_0xaae85a=_0xaae85a-0x15f;var _0xcaace3=_0x1635c3[_0xaae85a];return _0xcaace3;},_0xaae8(_0x3e93b8,_0x34add4);}import{FootnotesPropertiesUI as _0x46d635}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2a1865{static get[_0x3062c8(0x16a)](){var _0x57e06a=_0x3062c8;return _0x57e06a(0x16d);}static get[_0x3062c8(0x170)](){return[_0x164ad9,_0x46d635];}static get[_0x3062c8(0x165)](){return!0x0;}static get[_0x3062c8(0x16e)](){return!0x0;}}function _0x1635(){var _0x4562eb=['804282Leecun','isOfficialPlugin','3vlqqVM','7rYlytn','2980060ErQTMD','12cstLaK','pluginName','7152197TaOvXD','2265096XayFRQ','FootnotesProperties','isPremiumPlugin','1132155rJEOLh','requires','9UuqJuY','112cjAbtn','519208JZXDNG','11UJmZVe','12110AkImJR'];_0x1635=function(){return _0x4562eb;};return _0x1635();}
23
+ var _0x4c3991=_0x1cc9;(function(_0x212575,_0x52b078){var _0xa43110=_0x1cc9,_0x1a7ab7=_0x212575();while(!![]){try{var _0x201a69=-parseInt(_0xa43110(0xb4))/0x1+-parseInt(_0xa43110(0xbc))/0x2+-parseInt(_0xa43110(0xc0))/0x3*(-parseInt(_0xa43110(0xbd))/0x4)+parseInt(_0xa43110(0xba))/0x5+-parseInt(_0xa43110(0xb9))/0x6+-parseInt(_0xa43110(0xb6))/0x7+parseInt(_0xa43110(0xbb))/0x8;if(_0x201a69===_0x52b078)break;else _0x1a7ab7['push'](_0x1a7ab7['shift']());}catch(_0x530680){_0x1a7ab7['push'](_0x1a7ab7['shift']());}}}(_0x46d1,0x51a6d));import{Plugin as _0x57696c}from'ckeditor5/src/core.js';function _0x1cc9(_0x1ae410,_0x284a12){var _0x46d1a9=_0x46d1();return _0x1cc9=function(_0x1cc9db,_0x3ea342){_0x1cc9db=_0x1cc9db-0xb4;var _0x235c74=_0x46d1a9[_0x1cc9db];return _0x235c74;},_0x1cc9(_0x1ae410,_0x284a12);}function _0x46d1(){var _0x4f1a46=['isPremiumPlugin','pluginName','27sCcscB','233704Fdsdll','requires','3568089xvVBJw','FootnotesProperties','isOfficialPlugin','3153750QkguDw','2037020fmBkBw','12525872xlLLNl','807926HGtySs','15256MqHQPY'];_0x46d1=function(){return _0x4f1a46;};return _0x46d1();}import{FootnotesPropertiesEditing as _0x5768fd}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x1aeac4}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x57696c{static get[_0x4c3991(0xbf)](){var _0x59cbc7=_0x4c3991;return _0x59cbc7(0xb7);}static get[_0x4c3991(0xb5)](){return[_0x5768fd,_0x1aeac4];}static get[_0x4c3991(0xb8)](){return!0x0;}static get[_0x4c3991(0xbe)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4d7ea6=_0x21fb;(function(_0xad9df7,_0x554cbe){const _0xdfa09d=_0x21fb,_0x25d725=_0xad9df7();while(!![]){try{const _0x6c55f0=parseInt(_0xdfa09d(0x193))/0x1*(parseInt(_0xdfa09d(0x1d8))/0x2)+parseInt(_0xdfa09d(0x1b5))/0x3+-parseInt(_0xdfa09d(0x18f))/0x4*(parseInt(_0xdfa09d(0x1c5))/0x5)+-parseInt(_0xdfa09d(0x1a7))/0x6+-parseInt(_0xdfa09d(0x196))/0x7+parseInt(_0xdfa09d(0x198))/0x8*(-parseInt(_0xdfa09d(0x1d3))/0x9)+parseInt(_0xdfa09d(0x1da))/0xa;if(_0x6c55f0===_0x554cbe)break;else _0x25d725['push'](_0x25d725['shift']());}catch(_0x56f641){_0x25d725['push'](_0x25d725['shift']());}}}(_0x1e14,0xe5f23));import{Plugin as _0x356b2b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4c881f}from'./modelelementtracker.js';function _0x1e14(){const _0xe25c8=['_handleFootnotesDefinitionsObjectChanges','move','model','setFootnoteFormatter','find','_footnoteDefsContainerTracker','footnotes.multiBlock','getRootNames','_footnoteFormatter','some','94568opLusA','change:data','createPositionBefore','reset','62770wqXYDu','has','_footnoteDefsTracker','2785902vuENhY','high','49464USikYH','findIndex','isPremiumPlugin','_updateFootnoteRefCounter','$graveyard','root','from','compareWith','_footnotesDefinitions','listenTo','_footnotes','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','_ensureFootnotesReferencesHaveProperOrder','_handleInsertedFootnoteReference','6958470rksSZH','getFootnote','singleton','min','createRangeOn','splice','insert','footnoteInlineContent','push','_ensureFootnotesDefinitionsContainerExists','setAttribute','set','length','parent','3202284BmPHRt','FootnotesTracker','end','reference','_handleRemoveFootnoteReferenceById','enqueueChange','getFootnotes','footnoteRef','createRangeIn','getChanges','indexOf','getFootnotesFormatter','footnoteDefinition','add','_handleFootnotesDefinitionsObjectSync','append','195MioaFB','config','before','_updateFootnotesCounters','get','unshift','getChildren','getAttribute','_handleMovedFootnoteReference','_footnoteRefsTracker','differ','init','remove','createElement','1926aEEaXj','footnoteId','map','paragraph','editor','54BwOvVo','definition','19825720GiNBvW','createPositionAt','after','_handleFootnoteDefinitionsChanges','pluginName','registerPostFixer','footnotesDefinitions','rootName','document','getFootnotesDefinitionsObjectElement','childCount','isEqual','footnoteCounter','isOfficialPlugin','_insertEmptyFootnotesDefinitionsContainer','low'];_0x1e14=function(){return _0xe25c8;};return _0x1e14();}export class FootnotesTracker extends _0x356b2b{[_0x4d7ea6(0x1a2)]=[];[_0x4d7ea6(0x1a0)]=null;[_0x4d7ea6(0x18d)]=null;[_0x4d7ea6(0x18a)];[_0x4d7ea6(0x1ce)];[_0x4d7ea6(0x195)];static get[_0x4d7ea6(0x1de)](){const _0x51af83=_0x4d7ea6;return _0x51af83(0x1b6);}static get[_0x4d7ea6(0x1e7)](){return!0x0;}static get[_0x4d7ea6(0x19a)](){return!0x0;}constructor(_0x1656ab){const _0x123ee1=_0x4d7ea6;super(_0x1656ab),this[_0x123ee1(0x18a)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1e0),'getElementKey':()=>_0x123ee1(0x1a9)}),this[_0x123ee1(0x1ce)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1bc),'getElementKey':_0x179da5=>_0x179da5[_0x123ee1(0x1cc)](_0x123ee1(0x1d4))}),this[_0x123ee1(0x195)]=new _0x4c881f(this[_0x123ee1(0x1d7)][_0x123ee1(0x1ec)],{'elementName':_0x123ee1(0x1c1),'getElementKey':_0xdf8faa=>_0xdf8faa[_0x123ee1(0x1cc)](_0x123ee1(0x1d4))});}[_0x4d7ea6(0x1d0)](){const _0x249355=_0x4d7ea6,{editor:_0x4eab13}=this,{model:_0x4b525a,data:_0x4d6ab3}=_0x4eab13;_0x4b525a[_0x249355(0x1e2)][_0x249355(0x1df)](_0x406b59=>{const _0x54a40d=_0x249355,_0x2e6820=_0x4b525a[_0x54a40d(0x1e2)][_0x54a40d(0x1cf)][_0x54a40d(0x1be)]();let _0xd26672=!0x1;return this[_0x54a40d(0x1ea)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1dd)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a3)](_0x406b59,_0x2e6820)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a5)](_0x406b59)&&(_0xd26672=!0x0),this[_0x54a40d(0x1c3)](_0x406b59)&&(_0xd26672=!0x0),this[_0x54a40d(0x1a4)](_0x406b59)&&(_0xd26672=!0x0),_0xd26672;}),this[_0x249355(0x1a1)](_0x4b525a[_0x249355(0x1e2)],_0x249355(0x190),()=>{const _0x529364=_0x249355;_0x4b525a[_0x529364(0x1ba)]({'isUndoable':!0x1},_0x4e9659=>{const _0x45f87c=_0x529364;this[_0x45f87c(0x1b0)](_0x4e9659);});},{'priority':_0x249355(0x1e9)}),this[_0x249355(0x1a1)](_0x4d6ab3,_0x249355(0x1b2),()=>{const _0x2f42e5=_0x249355;this[_0x2f42e5(0x1a2)]=[],this[_0x2f42e5(0x18a)][_0x2f42e5(0x192)](),this[_0x2f42e5(0x1ce)][_0x2f42e5(0x192)](),this[_0x2f42e5(0x195)][_0x2f42e5(0x192)]();},{'priority':_0x249355(0x197)});}[_0x4d7ea6(0x1e3)](){const _0x2a0e00=_0x4d7ea6;return this[_0x2a0e00(0x1a0)];}[_0x4d7ea6(0x1a8)](_0x41162c){const _0x189a13=_0x4d7ea6;return this[_0x189a13(0x1a2)][_0x189a13(0x1ee)](_0x450e57=>_0x450e57['id']===_0x41162c)||null;}[_0x4d7ea6(0x1bb)](){const _0x408adb=_0x4d7ea6;return Array[_0x408adb(0x19e)](this[_0x408adb(0x1a2)]);}[_0x4d7ea6(0x1c0)](){const _0x2feff4=_0x4d7ea6;return this[_0x2feff4(0x18d)];}[_0x4d7ea6(0x1ed)](_0x3f5fc7){const _0x22192c=_0x4d7ea6;this[_0x22192c(0x18d)]=_0x3f5fc7;}[_0x4d7ea6(0x1c8)](_0x7e0a4f,_0xa97343=0x0){const _0x15b772=_0x4d7ea6;let _0x1888a9=!0x1;for(let _0x18deed=_0xa97343;_0x18deed<this[_0x15b772(0x1a2)][_0x15b772(0x1b3)];_0x18deed++)this[_0x15b772(0x19b)](_0x7e0a4f,_0x18deed)&&(_0x1888a9=!0x0);return _0x1888a9;}[_0x4d7ea6(0x1e8)](_0x565512,_0x2950f9){const _0x351bb5=_0x4d7ea6,_0x20374b=_0x565512[_0x351bb5(0x1d2)](_0x351bb5(0x1e0),{});return _0x565512[_0x351bb5(0x1c4)](_0x20374b,_0x2950f9),this[_0x351bb5(0x1a0)]=_0x20374b,_0x20374b;}[_0x4d7ea6(0x1b0)](_0xe67ce1){const _0xcac977=_0x4d7ea6;if(!this[_0xcac977(0x1a2)][_0xcac977(0x1b3)]||this[_0xcac977(0x1a0)])return;const _0xe36883=this[_0xcac977(0x1a2)][0x0][_0xcac977(0x1b8)][_0xcac977(0x19d)],_0x4ad70c=this[_0xcac977(0x1e8)](_0xe67ce1,_0xe36883);for(const _0x180ba5 of this[_0xcac977(0x1a2)])_0x180ba5[_0xcac977(0x1d9)][_0xcac977(0x1b4)]||_0xe67ce1[_0xcac977(0x1ad)](_0x180ba5[_0xcac977(0x1d9)],_0x4ad70c,_0xcac977(0x1b7));this[_0xcac977(0x1c8)](_0xe67ce1);}[_0x4d7ea6(0x1ea)](_0x59ae6f,_0x3f9f13){const _0xd74faf=_0x4d7ea6;let _0xa3acce=!0x1;const {inserted:_0x37eb38,removed:_0x4aaca7,moved:_0x2ff8d1}=this[_0xd74faf(0x18a)][_0xd74faf(0x1be)](_0x3f9f13);if(_0x2ff8d1[_0xd74faf(0x1b3)]&&(this[_0xd74faf(0x1a0)]=_0x2ff8d1[0x0]),_0x37eb38[_0xd74faf(0x1b3)]){if(_0x37eb38[_0xd74faf(0x1b3)]>0x1||this[_0xd74faf(0x1a0)]&&_0x37eb38[_0xd74faf(0x18e)](_0x1cf38c=>_0x1cf38c!==this[_0xd74faf(0x1a0)])){const _0x393677=_0x59ae6f[_0xd74faf(0x1d2)](_0xd74faf(0x1e0),{}),_0x1f6252=[];this[_0xd74faf(0x1a0)]&&_0x1f6252[_0xd74faf(0x1af)](this[_0xd74faf(0x1a0)]),_0x1f6252[_0xd74faf(0x1af)](..._0x37eb38),_0x59ae6f[_0xd74faf(0x1ad)](_0x393677,_0x1f6252[0x0],_0xd74faf(0x1c7));for(const _0x1f20b8 of _0x1f6252)_0x59ae6f[_0xd74faf(0x1eb)](_0x59ae6f[_0xd74faf(0x1bd)](_0x1f20b8),_0x59ae6f[_0xd74faf(0x1db)](_0x393677,_0xd74faf(0x1b7))),_0x59ae6f[_0xd74faf(0x1d1)](_0x1f20b8);this[_0xd74faf(0x1a0)]=_0x393677,this[_0xd74faf(0x1c8)](_0x59ae6f),_0xa3acce=!0x0;}else this[_0xd74faf(0x1a0)]=_0x37eb38[0x0];}if(_0x4aaca7[_0xd74faf(0x1b3)]&&_0xd74faf(0x19c)===this[_0xd74faf(0x1a0)]?.[_0xd74faf(0x19d)][_0xd74faf(0x1e1)]){for(const _0x285a72 of this[_0xd74faf(0x1a2)])_0x59ae6f[_0xd74faf(0x1d1)](_0x285a72[_0xd74faf(0x1b8)]),_0xa3acce=!0x0;this[_0xd74faf(0x1a2)]=[],this[_0xd74faf(0x1a0)]=null;}return _0xa3acce;}[_0x4d7ea6(0x1dd)](_0x2988ba,_0xc22fff){const _0x401db8=_0x4d7ea6;let _0xbd5d9e=!0x1;const _0x4e13f1=this[_0x401db8(0x1d7)][_0x401db8(0x1c6)][_0x401db8(0x1c9)](_0x401db8(0x18b)),{inserted:_0x3b77cd,moved:_0x16bf0d}=this[_0x401db8(0x195)][_0x401db8(0x1be)](_0xc22fff);for(const _0x1e43bb of[..._0x16bf0d,..._0x3b77cd]){const _0x525901=_0x1e43bb[_0x401db8(0x1cc)](_0x401db8(0x1d4)),_0xb0e341=this[_0x401db8(0x1a8)](_0x525901);_0xb0e341&&(_0xb0e341[_0x401db8(0x1d9)]=_0x1e43bb),_(_0x2988ba,_0x4e13f1,_0x1e43bb)&&(_0xbd5d9e=!0x0);}return _0xbd5d9e;}[_0x4d7ea6(0x1a3)](_0x17b5f3,_0x1daaca){const _0x4abe33=_0x4d7ea6;let _0x5e79bd=!0x1;const {removed:_0x43f54f,inserted:_0x14d8fb,moved:_0x9fde46}=this[_0x4abe33(0x1ce)][_0x4abe33(0x1be)](_0x1daaca);for(const _0x464ce9 of _0x43f54f)this[_0x4abe33(0x1b9)](_0x17b5f3,_0x464ce9)&&(_0x5e79bd=!0x0);for(const _0x13147c of _0x14d8fb)this[_0x4abe33(0x1a6)](_0x17b5f3,_0x13147c)&&(_0x5e79bd=!0x0);for(const _0x25e8c8 of _0x9fde46)this[_0x4abe33(0x1cd)](_0x17b5f3,_0x25e8c8)&&(_0x5e79bd=!0x0);return _0x5e79bd;}[_0x4d7ea6(0x1c3)](_0x3cd964){const _0x15736a=_0x4d7ea6;if(!this[_0x15736a(0x1a0)])return!0x1;let _0x4fa169=!0x1;if(this[_0x15736a(0x1a0)][_0x15736a(0x1e4)]!==this[_0x15736a(0x1a2)][_0x15736a(0x1b3)]){const _0x9e71ef=[];for(const _0x238b7d of this[_0x15736a(0x1a0)][_0x15736a(0x1cb)]()){const _0x321dd9=_0x238b7d[_0x15736a(0x1cc)](_0x15736a(0x1d4));this[_0x15736a(0x1a8)](_0x321dd9)||(_0x9e71ef[_0x15736a(0x1ca)](_0x238b7d),_0x4fa169=!0x0);}for(const _0x3fbc6a of _0x9e71ef)_0x3cd964[_0x15736a(0x1d1)](_0x3fbc6a);}const _0x2c872f=new Set(),_0x3f9bb7=[];for(const _0x17cead of this[_0x15736a(0x1a0)][_0x15736a(0x1cb)]()){const _0x4c338b=_0x17cead[_0x15736a(0x1cc)](_0x15736a(0x1d4));_0x2c872f[_0x15736a(0x194)](_0x4c338b)?(_0x3f9bb7[_0x15736a(0x1ca)](_0x17cead),_0x4fa169=!0x0):_0x2c872f[_0x15736a(0x1c2)](_0x4c338b);}for(const _0x281237 of _0x3f9bb7)_0x3cd964[_0x15736a(0x1d1)](_0x281237);return this[_0x15736a(0x1a0)][_0x15736a(0x1e4)]||(_0x3cd964[_0x15736a(0x1d1)](this[_0x15736a(0x1a0)]),this[_0x15736a(0x1a0)]=null,_0x4fa169=!0x0),_0x4fa169;}[_0x4d7ea6(0x1a6)](_0x767729,_0x3babac){const _0x465201=_0x4d7ea6;if(this[_0x465201(0x1a2)][_0x465201(0x1ee)](_0x38753b=>_0x38753b[_0x465201(0x1b8)]===_0x3babac))return!0x1;let _0x5776f8=!0x1;const _0x34fe61=_0x3babac[_0x465201(0x1cc)](_0x465201(0x1d4)),_0x3a6638=this[_0x465201(0x1a2)][_0x465201(0x199)](_0x52c1cb=>_0x52c1cb['id']===_0x34fe61);-0x1!==_0x3a6638&&(_0x767729[_0x465201(0x1d1)](this[_0x465201(0x1a2)][_0x3a6638][_0x465201(0x1b8)]),this[_0x465201(0x1a2)][_0x465201(0x1ac)](_0x3a6638,0x1),_0x5776f8=!0x0);let _0x1a8440=this[_0x465201(0x1a0)]?function(_0x3fdf88,_0x370c5e){const _0x40a6dc=_0x465201;for(const _0x2c265f of _0x3fdf88[_0x40a6dc(0x1cb)]())if(_0x2c265f[_0x40a6dc(0x1cc)](_0x40a6dc(0x1d4))===_0x370c5e)return _0x2c265f;return null;}(this[_0x465201(0x1a0)],_0x34fe61):null;_0x1a8440||(_0x1a8440=_0x767729[_0x465201(0x1d2)](_0x465201(0x1c1),{'footnoteId':_0x34fe61}),this[_0x465201(0x1a0)]&&(_0x767729[_0x465201(0x1ad)](_0x1a8440,this[_0x465201(0x1a0)],_0x465201(0x1b7)),_0x5776f8=!0x0));const _0x420dab={'id':_0x34fe61,'reference':_0x3babac,'definition':_0x1a8440},_0x1dddab=I(this[_0x465201(0x1d7)][_0x465201(0x1ec)],this[_0x465201(0x1a2)],_0x3babac);this[_0x465201(0x1a2)][_0x465201(0x1ac)](_0x1dddab,0x0,_0x420dab);let _0x4a85c1=_0x1dddab;return-0x1!==_0x3a6638&&(_0x4a85c1=Math[_0x465201(0x1aa)](_0x1dddab,_0x3a6638)),this[_0x465201(0x1c8)](_0x767729,_0x4a85c1)&&(_0x5776f8=!0x0),_0x5776f8;}[_0x4d7ea6(0x1b9)](_0x149288,_0x38c9b1){const _0x1c2102=_0x4d7ea6,_0x5738ae=this[_0x1c2102(0x1a2)][_0x1c2102(0x199)](_0x4e2d62=>_0x4e2d62['id']===_0x38c9b1);if(-0x1===_0x5738ae)return!0x1;let _0x4aebfe=!0x1;const _0x259fdb=this[_0x1c2102(0x1a2)][_0x5738ae];return _0x1c2102(0x19c)!==_0x259fdb[_0x1c2102(0x1d9)][_0x1c2102(0x19d)][_0x1c2102(0x1e1)]&&(_0x149288[_0x1c2102(0x1d1)](_0x259fdb[_0x1c2102(0x1d9)]),_0x4aebfe=!0x0),this[_0x1c2102(0x1a2)][_0x1c2102(0x1ac)](_0x5738ae,0x1),this[_0x1c2102(0x1c8)](_0x149288,_0x5738ae)&&(_0x4aebfe=!0x0),_0x4aebfe;}[_0x4d7ea6(0x1cd)](_0xee92c9,_0x527ec4){const _0x10b28c=_0x4d7ea6,_0x192b4e=_0x527ec4[_0x10b28c(0x1cc)](_0x10b28c(0x1d4)),_0x53180b=this[_0x10b28c(0x1a2)][_0x10b28c(0x199)](_0x3fb016=>_0x3fb016['id']===_0x192b4e),_0x50c68e=this[_0x10b28c(0x1a2)][_0x53180b];let _0x3d6a58=!0x1;_0x50c68e[_0x10b28c(0x1b8)]=_0x527ec4,this[_0x10b28c(0x1a2)][_0x10b28c(0x1ac)](_0x53180b,0x1);const _0x561eb1=I(this[_0x10b28c(0x1d7)][_0x10b28c(0x1ec)],this[_0x10b28c(0x1a2)],_0x527ec4);return this[_0x10b28c(0x1a2)][_0x10b28c(0x1ac)](_0x561eb1,0x0,_0x50c68e),this[_0x10b28c(0x1c8)](_0xee92c9,Math[_0x10b28c(0x1aa)](_0x53180b,_0x561eb1))&&(_0x3d6a58=!0x0),_0x3d6a58;}[_0x4d7ea6(0x19b)](_0x5ccbb7,_0x2269ea){const _0xfc086b=_0x4d7ea6;if(!this[_0xfc086b(0x1a0)])return!0x1;const _0x56ee86=this[_0xfc086b(0x1a2)][_0x2269ea];let _0x426215;return _0x426215=this[_0xfc086b(0x18d)]?this[_0xfc086b(0x18d)]({'footnote':_0x56ee86,'container':this[_0xfc086b(0x1a0)],'digits':String(this[_0xfc086b(0x1a2)][_0xfc086b(0x1b3)])[_0xfc086b(0x1b3)],'value':_0x2269ea+0x1}):String(_0x2269ea+0x1),_0x56ee86[_0xfc086b(0x1b8)][_0xfc086b(0x1cc)](_0xfc086b(0x1e6))!=_0x426215&&(_0x5ccbb7[_0xfc086b(0x1b1)](_0xfc086b(0x1e6),_0x426215,_0x56ee86[_0xfc086b(0x1b8)]),!0x0);}[_0x4d7ea6(0x1a4)](_0x34d586){const _0x20aebd=_0x4d7ea6;if(!this[_0x20aebd(0x1a0)]||this[_0x20aebd(0x1a2)][_0x20aebd(0x1b3)]<0x2)return!0x1;if(function(_0xa912,_0x6d3c0){const _0x513825=_0x20aebd;if(_0xa912[_0x513825(0x1b3)]!==_0x6d3c0[_0x513825(0x1b3)])return!0x1;for(let _0x47dd89=0x0;_0x47dd89<_0xa912[_0x513825(0x1b3)];_0x47dd89++)if(_0xa912[_0x47dd89]!==_0x6d3c0[_0x47dd89])return!0x1;return!0x0;}(this[_0x20aebd(0x1a2)][_0x20aebd(0x1d5)](_0x5bd5fc=>_0x5bd5fc['id']),Array[_0x20aebd(0x19e)](this[_0x20aebd(0x1a0)][_0x20aebd(0x1cb)]())[_0x20aebd(0x1d5)](_0x29743f=>_0x29743f[_0x20aebd(0x1cc)](_0x20aebd(0x1d4)))))return!0x1;let _0x1bcc26=!0x1;for(let _0x27c06e=0x0;_0x27c06e<this[_0x20aebd(0x1a2)][_0x20aebd(0x1b3)];_0x27c06e++){const _0x285b31=this[_0x20aebd(0x1a2)][_0x27c06e],_0x389e46=_0x34d586[_0x20aebd(0x191)](_0x285b31[_0x20aebd(0x1d9)]),_0x5e000c=_0x34d586[_0x20aebd(0x1db)](this[_0x20aebd(0x1a0)],_0x27c06e);_0x389e46[_0x20aebd(0x1e5)](_0x5e000c)||(_0x34d586[_0x20aebd(0x1eb)](_0x34d586[_0x20aebd(0x1ab)](_0x285b31[_0x20aebd(0x1d9)]),_0x5e000c),_0x1bcc26=!0x0);}return _0x1bcc26;}[_0x4d7ea6(0x1a5)](_0x15863e){const _0x1b30e6=_0x4d7ea6;if(!this[_0x1b30e6(0x1a2)][_0x1b30e6(0x1b3)])return!0x1;const {model:_0x59b5be}=this[_0x1b30e6(0x1d7)];let _0x1adf1c=!0x1;for(let _0x117d0b=0x0;_0x117d0b<this[_0x1b30e6(0x1a2)][_0x1b30e6(0x1b3)]-0x1;_0x117d0b++){const _0x3fa63c=this[_0x1b30e6(0x1a2)][_0x117d0b],_0x45b969=this[_0x1b30e6(0x1a2)][_0x117d0b+0x1],_0x1decb7=_0x59b5be[_0x1b30e6(0x191)](_0x3fa63c[_0x1b30e6(0x1b8)]),_0x53c858=_0x59b5be[_0x1b30e6(0x191)](_0x45b969[_0x1b30e6(0x1b8)]);_0x1b30e6(0x1dc)===_0x1decb7[_0x1b30e6(0x19f)](_0x53c858)&&(this[_0x1b30e6(0x1cd)](_0x15863e,_0x3fa63c[_0x1b30e6(0x1b8)]),_0x117d0b=-0x1,_0x1adf1c=!0x0);}return _0x1adf1c;}}function _(_0x160b2b,_0x17d425,_0x4572a4){const _0x3d51a2=_0x4d7ea6;if(_0x4572a4[_0x3d51a2(0x1e4)])return!0x1;const _0x1e099f=_0x17d425?_0x3d51a2(0x1d6):_0x3d51a2(0x1ae);return _0x160b2b[_0x3d51a2(0x1ad)](_0x160b2b[_0x3d51a2(0x1d2)](_0x1e099f),_0x4572a4),!0x0;}function _0x21fb(_0x917178,_0x6964c6){const _0x1e1451=_0x1e14();return _0x21fb=function(_0x21fb6d,_0x65d08c){_0x21fb6d=_0x21fb6d-0x18a;let _0x4e544e=_0x1e1451[_0x21fb6d];return _0x4e544e;},_0x21fb(_0x917178,_0x6964c6);}function I(_0x1b844d,_0x3a7815,_0x46576c){const _0x52fce8=_0x4d7ea6;if(0x0===_0x3a7815[_0x52fce8(0x1b3)])return 0x0;const _0x3b6fcf=_0x1b844d[_0x52fce8(0x191)](_0x46576c);for(let _0x232c3f=0x0;_0x232c3f<_0x3a7815[_0x52fce8(0x1b3)];_0x232c3f++){const _0x4c7bae=_0x3a7815[_0x232c3f],_0x8e487a=_0x1b844d[_0x52fce8(0x191)](_0x4c7bae[_0x52fce8(0x1b8)]);if(_0x52fce8(0x1c7)===_0x3b6fcf[_0x52fce8(0x19f)](_0x8e487a))return _0x232c3f;}const _0x1f5ebd=_0x46576c[_0x52fce8(0x19d)];let _0x391803=-0x1;for(let _0x5e3267=_0x3a7815[_0x52fce8(0x1b3)]-0x1;_0x5e3267>=0x0;_0x5e3267--)if(_0x3a7815[_0x5e3267][_0x52fce8(0x1b8)][_0x52fce8(0x19d)]===_0x1f5ebd){_0x391803=_0x5e3267;break;}if(-0x1!==_0x391803)return _0x391803+0x1;const _0x4e9612=_0x1b844d[_0x52fce8(0x1e2)][_0x52fce8(0x18c)](),_0x3ab6b4=_0x4e9612[_0x52fce8(0x1bf)](_0x1f5ebd[_0x52fce8(0x1e1)]),_0x46dd3d=_0x4e9612[_0x3ab6b4+0x1];if(_0x46dd3d){for(let _0x4e2edb=0x0;_0x4e2edb<_0x3a7815[_0x52fce8(0x1b3)];_0x4e2edb++)if(_0x3a7815[_0x4e2edb][_0x52fce8(0x1b8)][_0x52fce8(0x19d)][_0x52fce8(0x1e1)]===_0x46dd3d)return _0x4e2edb;}return _0x3a7815[_0x52fce8(0x1b3)];}
23
+ const _0x4e2c6e=_0x1e82;(function(_0x2d8506,_0x51fb48){const _0x4b5dbe=_0x1e82,_0x210d57=_0x2d8506();while(!![]){try{const _0x4e2ead=parseInt(_0x4b5dbe(0x12e))/0x1*(parseInt(_0x4b5dbe(0x15e))/0x2)+parseInt(_0x4b5dbe(0x122))/0x3+-parseInt(_0x4b5dbe(0x146))/0x4+parseInt(_0x4b5dbe(0x147))/0x5*(-parseInt(_0x4b5dbe(0x13a))/0x6)+parseInt(_0x4b5dbe(0x105))/0x7*(parseInt(_0x4b5dbe(0x14a))/0x8)+-parseInt(_0x4b5dbe(0x119))/0x9*(parseInt(_0x4b5dbe(0x115))/0xa)+parseInt(_0x4b5dbe(0x11b))/0xb;if(_0x4e2ead===_0x51fb48)break;else _0x210d57['push'](_0x210d57['shift']());}catch(_0x52f7b6){_0x210d57['push'](_0x210d57['shift']());}}}(_0x5c9b,0xd1118));function _0x1e82(_0x215409,_0x41e6fc){const _0x5c9bde=_0x5c9b();return _0x1e82=function(_0x1e820f,_0x1c2786){_0x1e820f=_0x1e820f-0xff;let _0x40bb22=_0x5c9bde[_0x1e820f];return _0x40bb22;},_0x1e82(_0x215409,_0x41e6fc);}import{Plugin as _0x11674b}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x51bd29}from'./modelelementtracker.js';export class FootnotesTracker extends _0x11674b{[_0x4e2c6e(0x13b)]=[];[_0x4e2c6e(0x100)]=null;[_0x4e2c6e(0x141)]=null;[_0x4e2c6e(0x149)];[_0x4e2c6e(0x161)];[_0x4e2c6e(0x127)];static get[_0x4e2c6e(0x156)](){const _0x1a657c=_0x4e2c6e;return _0x1a657c(0x144);}static get[_0x4e2c6e(0x126)](){return!0x0;}static get[_0x4e2c6e(0x107)](){return!0x0;}constructor(_0x445fca){const _0x316c65=_0x4e2c6e;super(_0x445fca),this[_0x316c65(0x149)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x109),'getElementKey':()=>_0x316c65(0x142)}),this[_0x316c65(0x161)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x128),'getElementKey':_0x3c3f07=>_0x3c3f07[_0x316c65(0x12d)](_0x316c65(0x13e))}),this[_0x316c65(0x127)]=new _0x51bd29(this[_0x316c65(0x120)][_0x316c65(0x15d)],{'elementName':_0x316c65(0x11e),'getElementKey':_0xa15035=>_0xa15035[_0x316c65(0x12d)](_0x316c65(0x13e))});}[_0x4e2c6e(0x129)](){const _0x22fecb=_0x4e2c6e,{editor:_0x48bf3e}=this,{model:_0x3bbdd5,data:_0x51523a}=_0x48bf3e;_0x3bbdd5[_0x22fecb(0x145)][_0x22fecb(0x14c)](_0x2d8a89=>{const _0x255f78=_0x22fecb,_0x3dcf1c=_0x3bbdd5[_0x255f78(0x145)][_0x255f78(0x154)][_0x255f78(0x113)]();let _0x5acfd0=!0x1;return this[_0x255f78(0x162)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x157)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x158)](_0x2d8a89,_0x3dcf1c)&&(_0x5acfd0=!0x0),this[_0x255f78(0x163)](_0x2d8a89)&&(_0x5acfd0=!0x0),this[_0x255f78(0x10a)](_0x2d8a89)&&(_0x5acfd0=!0x0),this[_0x255f78(0x15a)](_0x2d8a89)&&(_0x5acfd0=!0x0),_0x5acfd0;}),this[_0x22fecb(0x12c)](_0x3bbdd5[_0x22fecb(0x145)],_0x22fecb(0x10b),()=>{const _0x465094=_0x22fecb;_0x3bbdd5[_0x465094(0x135)]({'isUndoable':!0x1},_0x5e917d=>{const _0x35e706=_0x465094;this[_0x35e706(0x11f)](_0x5e917d);});},{'priority':_0x22fecb(0x164)}),this[_0x22fecb(0x12c)](_0x51523a,_0x22fecb(0x131),()=>{const _0x4cd5d6=_0x22fecb;this[_0x4cd5d6(0x13b)]=[],this[_0x4cd5d6(0x149)][_0x4cd5d6(0x110)](),this[_0x4cd5d6(0x161)][_0x4cd5d6(0x110)](),this[_0x4cd5d6(0x127)][_0x4cd5d6(0x110)]();},{'priority':_0x22fecb(0x15c)});}[_0x4e2c6e(0x103)](){const _0x37ad31=_0x4e2c6e;return this[_0x37ad31(0x100)];}[_0x4e2c6e(0x10e)](_0xeeae77){const _0x4b7f05=_0x4e2c6e;return this[_0x4b7f05(0x13b)][_0x4b7f05(0x124)](_0x21a451=>_0x21a451['id']===_0xeeae77)||null;}[_0x4e2c6e(0x125)](){const _0x22c495=_0x4e2c6e;return Array[_0x22c495(0x117)](this[_0x22c495(0x13b)]);}[_0x4e2c6e(0x116)](){const _0xab9eb5=_0x4e2c6e;return this[_0xab9eb5(0x141)];}[_0x4e2c6e(0x153)](_0x38bf67){const _0x4bebe6=_0x4e2c6e;this[_0x4bebe6(0x141)]=_0x38bf67;}[_0x4e2c6e(0x159)](_0x2637c8,_0x4f438b=0x0){const _0x3fd1a8=_0x4e2c6e;let _0x4aeae7=!0x1;for(let _0x5435b7=_0x4f438b;_0x5435b7<this[_0x3fd1a8(0x13b)][_0x3fd1a8(0x14b)];_0x5435b7++)this[_0x3fd1a8(0x102)](_0x2637c8,_0x5435b7)&&(_0x4aeae7=!0x0);return _0x4aeae7;}[_0x4e2c6e(0x14f)](_0x6eb46a,_0x4371b7){const _0x1c18d4=_0x4e2c6e,_0x1063ce=_0x6eb46a[_0x1c18d4(0x132)](_0x1c18d4(0x109),{});return _0x6eb46a[_0x1c18d4(0x134)](_0x1063ce,_0x4371b7),this[_0x1c18d4(0x100)]=_0x1063ce,_0x1063ce;}[_0x4e2c6e(0x11f)](_0x114e87){const _0xaacb7f=_0x4e2c6e;if(!this[_0xaacb7f(0x13b)][_0xaacb7f(0x14b)]||this[_0xaacb7f(0x100)])return;const _0x466819=this[_0xaacb7f(0x13b)][0x0][_0xaacb7f(0x13d)][_0xaacb7f(0x151)],_0x33bd0a=this[_0xaacb7f(0x14f)](_0x114e87,_0x466819);for(const _0x4cd31e of this[_0xaacb7f(0x13b)])_0x4cd31e[_0xaacb7f(0x139)][_0xaacb7f(0x136)]||_0x114e87[_0xaacb7f(0x148)](_0x4cd31e[_0xaacb7f(0x139)],_0x33bd0a,_0xaacb7f(0x111));this[_0xaacb7f(0x159)](_0x114e87);}[_0x4e2c6e(0x162)](_0x38e7ce,_0x15452b){const _0x5940e9=_0x4e2c6e;let _0x39a179=!0x1;const {inserted:_0x41c62b,removed:_0x229bea,moved:_0xdb1365}=this[_0x5940e9(0x149)][_0x5940e9(0x113)](_0x15452b);if(_0xdb1365[_0x5940e9(0x14b)]&&(this[_0x5940e9(0x100)]=_0xdb1365[0x0]),_0x41c62b[_0x5940e9(0x14b)]){if(_0x41c62b[_0x5940e9(0x14b)]>0x1||this[_0x5940e9(0x100)]&&_0x41c62b[_0x5940e9(0x106)](_0x2930cc=>_0x2930cc!==this[_0x5940e9(0x100)])){const _0x54e80d=_0x38e7ce[_0x5940e9(0x132)](_0x5940e9(0x109),{}),_0x1685ff=[];this[_0x5940e9(0x100)]&&_0x1685ff[_0x5940e9(0x11d)](this[_0x5940e9(0x100)]),_0x1685ff[_0x5940e9(0x11d)](..._0x41c62b),_0x38e7ce[_0x5940e9(0x148)](_0x54e80d,_0x1685ff[0x0],_0x5940e9(0x11c));for(const _0x1bb1c5 of _0x1685ff)_0x38e7ce[_0x5940e9(0x104)](_0x38e7ce[_0x5940e9(0x152)](_0x1bb1c5),_0x38e7ce[_0x5940e9(0x14d)](_0x54e80d,_0x5940e9(0x111))),_0x38e7ce[_0x5940e9(0x123)](_0x1bb1c5);this[_0x5940e9(0x100)]=_0x54e80d,this[_0x5940e9(0x159)](_0x38e7ce),_0x39a179=!0x0;}else this[_0x5940e9(0x100)]=_0x41c62b[0x0];}if(_0x229bea[_0x5940e9(0x14b)]&&_0x5940e9(0x118)===this[_0x5940e9(0x100)]?.[_0x5940e9(0x151)][_0x5940e9(0x130)]){for(const _0x26871c of this[_0x5940e9(0x13b)])_0x38e7ce[_0x5940e9(0x123)](_0x26871c[_0x5940e9(0x13d)]),_0x39a179=!0x0;this[_0x5940e9(0x13b)]=[],this[_0x5940e9(0x100)]=null;}return _0x39a179;}[_0x4e2c6e(0x157)](_0xdcd62d,_0x285d08){const _0x433c00=_0x4e2c6e;let _0x260548=!0x1;const _0x597657=this[_0x433c00(0x120)][_0x433c00(0x112)][_0x433c00(0x10f)](_0x433c00(0x143)),{inserted:_0x207e21,moved:_0x416aed}=this[_0x433c00(0x127)][_0x433c00(0x113)](_0x285d08);for(const _0x420d5b of[..._0x416aed,..._0x207e21]){const _0x46510e=_0x420d5b[_0x433c00(0x12d)](_0x433c00(0x13e)),_0x1a6af3=this[_0x433c00(0x10e)](_0x46510e);_0x1a6af3&&(_0x1a6af3[_0x433c00(0x139)]=_0x420d5b),_(_0xdcd62d,_0x597657,_0x420d5b)&&(_0x260548=!0x0);}return _0x260548;}[_0x4e2c6e(0x158)](_0x4e39f1,_0x60407b){const _0x167db3=_0x4e2c6e;let _0x40b075=!0x1;const {removed:_0x3e80c2,inserted:_0x590f71,moved:_0x2e1190}=this[_0x167db3(0x161)][_0x167db3(0x113)](_0x60407b);for(const _0x462b2b of _0x3e80c2)this[_0x167db3(0x15f)](_0x4e39f1,_0x462b2b)&&(_0x40b075=!0x0);for(const _0x1df92a of _0x590f71)this[_0x167db3(0x13c)](_0x4e39f1,_0x1df92a)&&(_0x40b075=!0x0);for(const _0x5936e9 of _0x2e1190)this[_0x167db3(0x137)](_0x4e39f1,_0x5936e9)&&(_0x40b075=!0x0);return _0x40b075;}[_0x4e2c6e(0x10a)](_0x15906f){const _0x43a430=_0x4e2c6e;if(!this[_0x43a430(0x100)])return!0x1;let _0x3203c2=!0x1;if(this[_0x43a430(0x100)][_0x43a430(0x15b)]!==this[_0x43a430(0x13b)][_0x43a430(0x14b)]){const _0x29303c=[];for(const _0x212037 of this[_0x43a430(0x100)][_0x43a430(0xff)]()){const _0x472af3=_0x212037[_0x43a430(0x12d)](_0x43a430(0x13e));this[_0x43a430(0x10e)](_0x472af3)||(_0x29303c[_0x43a430(0x101)](_0x212037),_0x3203c2=!0x0);}for(const _0xd96fc5 of _0x29303c)_0x15906f[_0x43a430(0x123)](_0xd96fc5);}const _0x5912e2=new Set(),_0x300021=[];for(const _0x5738e1 of this[_0x43a430(0x100)][_0x43a430(0xff)]()){const _0x3099ca=_0x5738e1[_0x43a430(0x12d)](_0x43a430(0x13e));_0x5912e2[_0x43a430(0x12a)](_0x3099ca)?(_0x300021[_0x43a430(0x101)](_0x5738e1),_0x3203c2=!0x0):_0x5912e2[_0x43a430(0x160)](_0x3099ca);}for(const _0x26bc7d of _0x300021)_0x15906f[_0x43a430(0x123)](_0x26bc7d);return this[_0x43a430(0x100)][_0x43a430(0x15b)]||(_0x15906f[_0x43a430(0x123)](this[_0x43a430(0x100)]),this[_0x43a430(0x100)]=null,_0x3203c2=!0x0),_0x3203c2;}[_0x4e2c6e(0x13c)](_0x25bdc2,_0x3bc866){const _0x5ecb40=_0x4e2c6e;if(this[_0x5ecb40(0x13b)][_0x5ecb40(0x124)](_0x36a636=>_0x36a636[_0x5ecb40(0x13d)]===_0x3bc866))return!0x1;let _0x333ec5=!0x1;const _0x21194b=_0x3bc866[_0x5ecb40(0x12d)](_0x5ecb40(0x13e)),_0x3c396c=this[_0x5ecb40(0x13b)][_0x5ecb40(0x121)](_0x2a43b4=>_0x2a43b4['id']===_0x21194b);-0x1!==_0x3c396c&&(_0x25bdc2[_0x5ecb40(0x123)](this[_0x5ecb40(0x13b)][_0x3c396c][_0x5ecb40(0x13d)]),this[_0x5ecb40(0x13b)][_0x5ecb40(0x10d)](_0x3c396c,0x1),_0x333ec5=!0x0);let _0x45a3be=this[_0x5ecb40(0x100)]?function(_0x4935c1,_0x3d615e){const _0x4b8a7e=_0x5ecb40;for(const _0x1868e1 of _0x4935c1[_0x4b8a7e(0xff)]())if(_0x1868e1[_0x4b8a7e(0x12d)](_0x4b8a7e(0x13e))===_0x3d615e)return _0x1868e1;return null;}(this[_0x5ecb40(0x100)],_0x21194b):null;_0x45a3be||(_0x45a3be=_0x25bdc2[_0x5ecb40(0x132)](_0x5ecb40(0x11e),{'footnoteId':_0x21194b}),this[_0x5ecb40(0x100)]&&(_0x25bdc2[_0x5ecb40(0x148)](_0x45a3be,this[_0x5ecb40(0x100)],_0x5ecb40(0x111)),_0x333ec5=!0x0));const _0x700dbe={'id':_0x21194b,'reference':_0x3bc866,'definition':_0x45a3be},_0x34112a=I(this[_0x5ecb40(0x120)][_0x5ecb40(0x15d)],this[_0x5ecb40(0x13b)],_0x3bc866);this[_0x5ecb40(0x13b)][_0x5ecb40(0x10d)](_0x34112a,0x0,_0x700dbe);let _0x3acae5=_0x34112a;return-0x1!==_0x3c396c&&(_0x3acae5=Math[_0x5ecb40(0x11a)](_0x34112a,_0x3c396c)),this[_0x5ecb40(0x159)](_0x25bdc2,_0x3acae5)&&(_0x333ec5=!0x0),_0x333ec5;}[_0x4e2c6e(0x15f)](_0x770b45,_0x40fbdb){const _0x38b6d3=_0x4e2c6e,_0x399ba5=this[_0x38b6d3(0x13b)][_0x38b6d3(0x121)](_0x58961c=>_0x58961c['id']===_0x40fbdb);if(-0x1===_0x399ba5)return!0x1;let _0x16b358=!0x1;const _0x3be94a=this[_0x38b6d3(0x13b)][_0x399ba5];return _0x38b6d3(0x118)!==_0x3be94a[_0x38b6d3(0x139)][_0x38b6d3(0x151)][_0x38b6d3(0x130)]&&(_0x770b45[_0x38b6d3(0x123)](_0x3be94a[_0x38b6d3(0x139)]),_0x16b358=!0x0),this[_0x38b6d3(0x13b)][_0x38b6d3(0x10d)](_0x399ba5,0x1),this[_0x38b6d3(0x159)](_0x770b45,_0x399ba5)&&(_0x16b358=!0x0),_0x16b358;}[_0x4e2c6e(0x137)](_0x73d056,_0x3c51d8){const _0x5a1d70=_0x4e2c6e,_0x289623=_0x3c51d8[_0x5a1d70(0x12d)](_0x5a1d70(0x13e)),_0x717c7a=this[_0x5a1d70(0x13b)][_0x5a1d70(0x121)](_0x115728=>_0x115728['id']===_0x289623),_0x11e160=this[_0x5a1d70(0x13b)][_0x717c7a];let _0xb42370=!0x1;_0x11e160[_0x5a1d70(0x13d)]=_0x3c51d8,this[_0x5a1d70(0x13b)][_0x5a1d70(0x10d)](_0x717c7a,0x1);const _0x9ff6f8=I(this[_0x5a1d70(0x120)][_0x5a1d70(0x15d)],this[_0x5a1d70(0x13b)],_0x3c51d8);return this[_0x5a1d70(0x13b)][_0x5a1d70(0x10d)](_0x9ff6f8,0x0,_0x11e160),this[_0x5a1d70(0x159)](_0x73d056,Math[_0x5a1d70(0x11a)](_0x717c7a,_0x9ff6f8))&&(_0xb42370=!0x0),_0xb42370;}[_0x4e2c6e(0x102)](_0x4096db,_0x33c9b4){const _0x3a8561=_0x4e2c6e;if(!this[_0x3a8561(0x100)])return!0x1;const _0x466f74=this[_0x3a8561(0x13b)][_0x33c9b4];let _0x46824c;return _0x46824c=this[_0x3a8561(0x141)]?this[_0x3a8561(0x141)]({'footnote':_0x466f74,'container':this[_0x3a8561(0x100)],'digits':String(this[_0x3a8561(0x13b)][_0x3a8561(0x14b)])[_0x3a8561(0x14b)],'value':_0x33c9b4+0x1}):String(_0x33c9b4+0x1),_0x466f74[_0x3a8561(0x13d)][_0x3a8561(0x12d)](_0x3a8561(0x155))!=_0x46824c&&(_0x4096db[_0x3a8561(0x133)](_0x3a8561(0x155),_0x46824c,_0x466f74[_0x3a8561(0x13d)]),!0x0);}[_0x4e2c6e(0x15a)](_0x306a81){const _0xddf4fe=_0x4e2c6e;if(!this[_0xddf4fe(0x100)]||this[_0xddf4fe(0x13b)][_0xddf4fe(0x14b)]<0x2)return!0x1;if(function(_0x5d4714,_0x459717){const _0x16a622=_0xddf4fe;if(_0x5d4714[_0x16a622(0x14b)]!==_0x459717[_0x16a622(0x14b)])return!0x1;for(let _0xc1bf9e=0x0;_0xc1bf9e<_0x5d4714[_0x16a622(0x14b)];_0xc1bf9e++)if(_0x5d4714[_0xc1bf9e]!==_0x459717[_0xc1bf9e])return!0x1;return!0x0;}(this[_0xddf4fe(0x13b)][_0xddf4fe(0x10c)](_0x4ca976=>_0x4ca976['id']),Array[_0xddf4fe(0x117)](this[_0xddf4fe(0x100)][_0xddf4fe(0xff)]())[_0xddf4fe(0x10c)](_0x5e2f56=>_0x5e2f56[_0xddf4fe(0x12d)](_0xddf4fe(0x13e)))))return!0x1;let _0x24c8af=!0x1;for(let _0x3d2dd9=0x0;_0x3d2dd9<this[_0xddf4fe(0x13b)][_0xddf4fe(0x14b)];_0x3d2dd9++){const _0x215d12=this[_0xddf4fe(0x13b)][_0x3d2dd9],_0x1c7c7a=_0x306a81[_0xddf4fe(0x14e)](_0x215d12[_0xddf4fe(0x139)]),_0x3070d5=_0x306a81[_0xddf4fe(0x14d)](this[_0xddf4fe(0x100)],_0x3d2dd9);_0x1c7c7a[_0xddf4fe(0x108)](_0x3070d5)||(_0x306a81[_0xddf4fe(0x104)](_0x306a81[_0xddf4fe(0x12b)](_0x215d12[_0xddf4fe(0x139)]),_0x3070d5),_0x24c8af=!0x0);}return _0x24c8af;}[_0x4e2c6e(0x163)](_0x506295){const _0x1efe97=_0x4e2c6e;if(!this[_0x1efe97(0x13b)][_0x1efe97(0x14b)])return!0x1;const {model:_0x3e55d2}=this[_0x1efe97(0x120)];let _0x83f1e3=!0x1;for(let _0x153457=0x0;_0x153457<this[_0x1efe97(0x13b)][_0x1efe97(0x14b)]-0x1;_0x153457++){const _0x349bf1=this[_0x1efe97(0x13b)][_0x153457],_0x2f7685=this[_0x1efe97(0x13b)][_0x153457+0x1],_0x4d1255=_0x3e55d2[_0x1efe97(0x14e)](_0x349bf1[_0x1efe97(0x13d)]),_0x462383=_0x3e55d2[_0x1efe97(0x14e)](_0x2f7685[_0x1efe97(0x13d)]);_0x1efe97(0x140)===_0x4d1255[_0x1efe97(0x12f)](_0x462383)&&(this[_0x1efe97(0x137)](_0x506295,_0x349bf1[_0x1efe97(0x13d)]),_0x153457=-0x1,_0x83f1e3=!0x0);}return _0x83f1e3;}}function _(_0x232fcc,_0x29f551,_0x5b81cf){const _0x160ca3=_0x4e2c6e;if(_0x5b81cf[_0x160ca3(0x15b)])return!0x1;const _0x16496a=_0x29f551?_0x160ca3(0x13f):_0x160ca3(0x114);return _0x232fcc[_0x160ca3(0x148)](_0x232fcc[_0x160ca3(0x132)](_0x16496a),_0x5b81cf),!0x0;}function _0x5c9b(){const _0x4a2403=['_ensureFootnotesReferencesHaveProperOrder','low','getChildren','_footnotesDefinitions','unshift','_updateFootnoteRefCounter','getFootnotesDefinitionsObjectElement','move','8875720UsCVwx','some','isPremiumPlugin','isEqual','footnotesDefinitions','_handleFootnotesDefinitionsObjectSync','change:data','map','splice','getFootnote','get','reset','end','config','getChanges','footnoteInlineContent','12755850MtmGqr','getFootnotesFormatter','from','$graveyard','9UKZqYh','min','10606013UlUqLc','before','push','footnoteDefinition','_ensureFootnotesDefinitionsContainerExists','editor','findIndex','5026761GktKwP','remove','find','getFootnotes','isOfficialPlugin','_footnoteDefsTracker','footnoteRef','init','has','createRangeOn','listenTo','getAttribute','3413cTdzPj','compareWith','rootName','set','createElement','setAttribute','append','enqueueChange','parent','_handleMovedFootnoteReference','getRootNames','definition','6VkZHRL','_footnotes','_handleInsertedFootnoteReference','reference','footnoteId','paragraph','after','_footnoteFormatter','singleton','footnotes.multiBlock','FootnotesTracker','document','4006348cHnKyd','4297695VgueSJ','insert','_footnoteDefsContainerTracker','8meEuhT','length','registerPostFixer','createPositionAt','createPositionBefore','_insertEmptyFootnotesDefinitionsContainer','indexOf','root','createRangeIn','setFootnoteFormatter','differ','footnoteCounter','pluginName','_handleFootnoteDefinitionsChanges','_handleFootnoteReferencesChanges','_updateFootnotesCounters','_sortFootnoteDefinitions','childCount','high','model','50KwUOdh','_handleRemoveFootnoteReferenceById','add','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectChanges'];_0x5c9b=function(){return _0x4a2403;};return _0x5c9b();}function I(_0x4896cc,_0x3de19b,_0x6ab6d6){const _0x4c163c=_0x4e2c6e;if(0x0===_0x3de19b[_0x4c163c(0x14b)])return 0x0;const _0x546d4d=_0x4896cc[_0x4c163c(0x14e)](_0x6ab6d6);for(let _0x16ed74=0x0;_0x16ed74<_0x3de19b[_0x4c163c(0x14b)];_0x16ed74++){const _0x10837b=_0x3de19b[_0x16ed74],_0x5205a5=_0x4896cc[_0x4c163c(0x14e)](_0x10837b[_0x4c163c(0x13d)]);if(_0x4c163c(0x11c)===_0x546d4d[_0x4c163c(0x12f)](_0x5205a5))return _0x16ed74;}const _0x31b9b0=_0x6ab6d6[_0x4c163c(0x151)];let _0x1204bb=-0x1;for(let _0x5acb4c=_0x3de19b[_0x4c163c(0x14b)]-0x1;_0x5acb4c>=0x0;_0x5acb4c--)if(_0x3de19b[_0x5acb4c][_0x4c163c(0x13d)][_0x4c163c(0x151)]===_0x31b9b0){_0x1204bb=_0x5acb4c;break;}if(-0x1!==_0x1204bb)return _0x1204bb+0x1;const _0x15daf2=_0x4896cc[_0x4c163c(0x145)][_0x4c163c(0x138)](),_0x5badb4=_0x15daf2[_0x4c163c(0x150)](_0x31b9b0[_0x4c163c(0x130)]),_0x27102e=_0x15daf2[_0x5badb4+0x1];if(_0x27102e){for(let _0x21004e=0x0;_0x21004e<_0x3de19b[_0x4c163c(0x14b)];_0x21004e++)if(_0x3de19b[_0x21004e][_0x4c163c(0x13d)][_0x4c163c(0x151)][_0x4c163c(0x130)]===_0x27102e)return _0x21004e;}return _0x3de19b[_0x4c163c(0x14b)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2100a9,MenuBarMenuListItemButtonView as _0x56d510}from'ckeditor5/src/ui.js';import{Plugin as _0x4eb494}from'ckeditor5/src/core.js';import{IconFootnote as _0x4bb6d6}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4eb494{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b9a46}=this,{componentFactory:_0xc9e3f5}=_0x2b9a46['ui'];_0xc9e3f5['add']('insertFootnote',x(_0x2b9a46,_0x2100a9)),_0xc9e3f5['add']('menuBar:insertFootnote',x(_0x2b9a46,_0x56d510)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x5e1244=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x28772d;for(const _0x3a191c in _0x5e1244){const _0x2fb633=_0x3a191c,_0x5d976d=_0x5e1244[_0x2fb633];if('footnotesLicenseKeyValid'==_0x5d976d||'footnotesLicenseKeyInvalid'==_0x5d976d||'footnotesLicenseKeyExpired'==_0x5d976d||'footnotesLicenseKeyDomainLimit'==_0x5d976d||'footnotesLicenseKeyNotAllowed'==_0x5d976d||'footnotesLicenseKeyEvaluationLimit'==_0x5d976d||'footnotesLicenseKeyTrialLimit'==_0x5d976d||'footnotesLicenseKeyUsageLimit'==_0x5d976d){delete _0x5e1244[_0x2fb633],_0x28772d=_0x5d976d,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x28772d&&_0x5e1244['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x28772d&&_0x5e1244['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x28772d&&_0x5e1244['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x28772d&&_0x5e1244['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5b3392,_0x505622){const _0x50b9ef=_0x5b3392['commands']['get']('insertFootnote');return _0x34f70c=>{const {t:t}=_0x34f70c,_0x3fa39d=new _0x505622(_0x34f70c),_0x443efa=_0x3fa39d instanceof _0x56d510;return _0x3fa39d['bind']('isEnabled')['to'](_0x50b9ef,'isEnabled'),_0x3fa39d['set']({'label':t(_0x443efa?'Footnote':'Insert\x20footnote'),'icon':_0x4bb6d6,'tooltip':!0x0}),_0x3fa39d['on']('execute',()=>{_0x50b9ef['execute'](),_0x5b3392['editing']['view']['focus']();}),_0x3fa39d;};}
23
+ import{ButtonView as _0x36b924,MenuBarMenuListItemButtonView as _0x3e234f}from'ckeditor5/src/ui.js';import{Plugin as _0x29a9fd}from'ckeditor5/src/core.js';import{IconFootnote as _0x3e0d69}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x29a9fd{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x250e0f}=this,{componentFactory:_0x27e85e}=_0x250e0f['ui'];_0x27e85e['add']('insertFootnote',x(_0x250e0f,_0x36b924)),_0x27e85e['add']('menuBar:insertFootnote',x(_0x250e0f,_0x3e234f)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x573adf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2367a2;for(const _0x5d48be in _0x573adf){const _0x51d2ef=_0x5d48be,_0x324c50=_0x573adf[_0x51d2ef];if('footnotesLicenseKeyValid'==_0x324c50||'footnotesLicenseKeyInvalid'==_0x324c50||'footnotesLicenseKeyExpired'==_0x324c50||'footnotesLicenseKeyDomainLimit'==_0x324c50||'footnotesLicenseKeyNotAllowed'==_0x324c50||'footnotesLicenseKeyEvaluationLimit'==_0x324c50||'footnotesLicenseKeyTrialLimit'==_0x324c50||'footnotesLicenseKeyUsageLimit'==_0x324c50){delete _0x573adf[_0x51d2ef],_0x2367a2=_0x324c50,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2367a2&&_0x573adf['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2367a2&&_0x573adf['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2367a2&&_0x573adf['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2367a2&&_0x573adf['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2367a2&&_0x573adf['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x2367a2&&_0x573adf['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x2367a2&&_0x573adf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x1717f5,_0x38a2a0){const _0x3bd10a=_0x1717f5['commands']['get']('insertFootnote');return _0x10ce49=>{const {t:t}=_0x10ce49,_0x373858=new _0x38a2a0(_0x10ce49),_0x3116fc=_0x373858 instanceof _0x3e234f;return _0x373858['bind']('isEnabled')['to'](_0x3bd10a,'isEnabled'),_0x373858['set']({'label':t(_0x3116fc?'Footnote':'Insert\x20footnote'),'icon':_0x3e0d69,'tooltip':!0x0}),_0x373858['on']('execute',()=>{_0x3bd10a['execute'](),_0x1717f5['editing']['view']['focus']();}),_0x373858;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0xdc6dcc,_0x34650a){var _0x5c6a6a=_0x46de,_0x47e2c2=_0xdc6dcc();while(!![]){try{var _0x47a4dd=-parseInt(_0x5c6a6a(0x7c))/0x1*(-parseInt(_0x5c6a6a(0x7f))/0x2)+parseInt(_0x5c6a6a(0x78))/0x3+parseInt(_0x5c6a6a(0x79))/0x4+-parseInt(_0x5c6a6a(0x80))/0x5+parseInt(_0x5c6a6a(0x7d))/0x6*(-parseInt(_0x5c6a6a(0x7b))/0x7)+parseInt(_0x5c6a6a(0x7a))/0x8*(parseInt(_0x5c6a6a(0x77))/0x9)+parseInt(_0x5c6a6a(0x7e))/0xa;if(_0x47a4dd===_0x34650a)break;else _0x47e2c2['push'](_0x47e2c2['shift']());}catch(_0x12fef4){_0x47e2c2['push'](_0x47e2c2['shift']());}}}(_0x34f9,0xc3a5b));import'./augmentation.js';function _0x46de(_0x2e5169,_0x6f97e4){var _0x34f976=_0x34f9();return _0x46de=function(_0x46de67,_0x5ace1e){_0x46de67=_0x46de67-0x77;var _0x12fd56=_0x34f976[_0x46de67];return _0x12fd56;},_0x46de(_0x2e5169,_0x6f97e4);}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';function _0x34f9(){var _0x5be3d6=['876492CISUiS','3877492AyLTIl','2324264nJacGr','32515aiqNYR','3373pXIeuY','1878meWbFb','6915360kMQnNL','478QWEsmK','3972485sTZsGV','9Riursl'];_0x34f9=function(){return _0x5be3d6;};return _0x34f9();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x1cb36a,_0x32b02c){var _0x16e401=_0x1f1e,_0x9f9753=_0x1cb36a();while(!![]){try{var _0x1a8613=parseInt(_0x16e401(0xea))/0x1*(-parseInt(_0x16e401(0xe5))/0x2)+parseInt(_0x16e401(0xe6))/0x3*(parseInt(_0x16e401(0xe9))/0x4)+-parseInt(_0x16e401(0xeb))/0x5*(-parseInt(_0x16e401(0xe7))/0x6)+parseInt(_0x16e401(0xdf))/0x7+-parseInt(_0x16e401(0xe0))/0x8*(parseInt(_0x16e401(0xe1))/0x9)+-parseInt(_0x16e401(0xe4))/0xa*(-parseInt(_0x16e401(0xe3))/0xb)+-parseInt(_0x16e401(0xe2))/0xc*(-parseInt(_0x16e401(0xe8))/0xd);if(_0x1a8613===_0x32b02c)break;else _0x9f9753['push'](_0x9f9753['shift']());}catch(_0x104b20){_0x9f9753['push'](_0x9f9753['shift']());}}}(_0x26c9,0xc552a));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x26c9(){var _0x17688f=['4499408VrGxnv','9htbfQE','241608ujZSbc','4004BkaXcE','4150gHtPAW','79098tHajXg','562821vlhqzd','3146022PgemjL','78LbHYZo','8thXxsc','16kkUpPr','5ryUtJg','5824203EHuvXF'];_0x26c9=function(){return _0x17688f;};return _0x26c9();}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x1f1e(_0x504e1f,_0x5d827d){var _0x26c9bf=_0x26c9();return _0x1f1e=function(_0x1f1e03,_0xeb8161){_0x1f1e03=_0x1f1e03-0xdf;var _0x12de32=_0x26c9bf[_0x1f1e03];return _0x12de32;},_0x1f1e(_0x504e1f,_0x5d827d);}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x260e17=_0x2ab5;function _0x2ab5(_0x39c79e,_0x12eba5){const _0x29b143=_0x29b1();return _0x2ab5=function(_0x2ab5b5,_0x31e5ea){_0x2ab5b5=_0x2ab5b5-0x1c3;let _0x32372c=_0x29b143[_0x2ab5b5];return _0x32372c;},_0x2ab5(_0x39c79e,_0x12eba5);}function _0x29b1(){const _0xde05f9=['getChanges','nodeAfter','2362265IIPIcT','8607762RKZPxJ','_trackedElements','getItems','length','reset','slice','insert','797406jKpnGW','_getElementKey','name','rootName','element','root','remove','elementName','1874416VoEUFW','34WUWJtH','from','attributes','getElementKey','add','clear','type','3237018uLHiUq','values','position','$text','delete','createRangeOn','_elementName','push','5165811pXIpfG','flat','_model','$graveyard','has','set','26603spTfyJ','12zPWGYG','get'];_0x29b1=function(){return _0xde05f9;};return _0x29b1();}(function(_0x17354d,_0x38da25){const _0x2f69cd=_0x2ab5,_0x15d8d1=_0x17354d();while(!![]){try{const _0x405c4c=-parseInt(_0x2f69cd(0x1ec))/0x1*(parseInt(_0x2f69cd(0x1d7))/0x2)+-parseInt(_0x2f69cd(0x1ce))/0x3*(-parseInt(_0x2f69cd(0x1ed))/0x4)+-parseInt(_0x2f69cd(0x1c6))/0x5+parseInt(_0x2f69cd(0x1de))/0x6+parseInt(_0x2f69cd(0x1e6))/0x7+parseInt(_0x2f69cd(0x1d6))/0x8+-parseInt(_0x2f69cd(0x1c7))/0x9;if(_0x405c4c===_0x38da25)break;else _0x15d8d1['push'](_0x15d8d1['shift']());}catch(_0x228663){_0x15d8d1['push'](_0x15d8d1['shift']());}}}(_0x29b1,0x6881e));export class ModelElementTracker{[_0x260e17(0x1e8)];[_0x260e17(0x1e4)];[_0x260e17(0x1cf)];[_0x260e17(0x1c8)]=new Map();constructor(_0x147fae,_0x1d6b46){const _0xe5dc14=_0x260e17;this[_0xe5dc14(0x1e8)]=_0x147fae,this[_0xe5dc14(0x1e4)]=_0x1d6b46[_0xe5dc14(0x1d5)],this[_0xe5dc14(0x1cf)]=_0x1d6b46[_0xe5dc14(0x1da)];}[_0x260e17(0x1cb)](){const _0x3c6224=_0x260e17;this[_0x3c6224(0x1c8)][_0x3c6224(0x1dc)]();}[_0x260e17(0x1c4)](_0x1f4a6c){const _0x3ac20f=_0x260e17,_0x5052d8=new Set(),_0x20ae66=new Map();for(const _0x2937de of _0x1f4a6c){if(_0x3ac20f(0x1cd)===_0x2937de[_0x3ac20f(0x1dd)]&&_0x3ac20f(0x1e1)!==_0x2937de[_0x3ac20f(0x1d0)]&&_0x2937de[_0x3ac20f(0x1e0)][_0x3ac20f(0x1c5)]){const _0x591493=this[_0x3ac20f(0x1e8)][_0x3ac20f(0x1e3)](_0x2937de[_0x3ac20f(0x1e0)][_0x3ac20f(0x1c5)]);for(const _0x3a4e95 of _0x591493[_0x3ac20f(0x1c9)]()){if(!_0x3a4e95['is'](_0x3ac20f(0x1d2),this[_0x3ac20f(0x1e4)]))continue;const _0x5ce13a=this[_0x3ac20f(0x1cf)](_0x3a4e95);_0x20ae66[_0x3ac20f(0x1ea)](_0x5ce13a)||_0x20ae66[_0x3ac20f(0x1eb)](_0x5ce13a,[]),_0x20ae66[_0x3ac20f(0x1c3)](_0x5ce13a)[_0x3ac20f(0x1e5)](_0x3a4e95);}}if(_0x3ac20f(0x1d4)===_0x2937de[_0x3ac20f(0x1dd)]&&_0x2937de[_0x3ac20f(0x1d0)]===this[_0x3ac20f(0x1e4)]){const _0x44d94d=this[_0x3ac20f(0x1cf)]({'getAttribute':_0x271c30=>_0x2937de[_0x3ac20f(0x1d9)][_0x3ac20f(0x1c3)](_0x271c30)});_0x5052d8[_0x3ac20f(0x1db)](_0x44d94d);}}for(const [_0x4f931a,_0x20147a]of this[_0x3ac20f(0x1c8)])_0x3ac20f(0x1e9)===_0x20147a[_0x3ac20f(0x1d3)][_0x3ac20f(0x1d1)]&&_0x5052d8[_0x3ac20f(0x1db)](_0x4f931a);for(const _0x28b213 of _0x5052d8)this[_0x3ac20f(0x1c8)][_0x3ac20f(0x1e2)](_0x28b213);for(const [_0x3efbbb,_0x1f83c4]of _0x20ae66)this[_0x3ac20f(0x1c8)][_0x3ac20f(0x1eb)](_0x3efbbb,_0x1f83c4[_0x1f83c4[_0x3ac20f(0x1ca)]-0x1]);const _0x5683f6=new Set();for(const [_0x4efabe,_0x191345]of _0x20ae66)_0x5052d8[_0x3ac20f(0x1ea)](_0x4efabe)&&(_0x5683f6[_0x3ac20f(0x1db)](_0x191345[0x0]),_0x191345[_0x3ac20f(0x1ca)]>0x1?_0x20ae66[_0x3ac20f(0x1eb)](_0x4efabe,_0x191345[_0x3ac20f(0x1cc)](0x1)):_0x20ae66[_0x3ac20f(0x1e2)](_0x4efabe),_0x5052d8[_0x3ac20f(0x1e2)](_0x4efabe));return{'removed':Array[_0x3ac20f(0x1d8)](_0x5052d8),'inserted':Array[_0x3ac20f(0x1d8)](_0x20ae66[_0x3ac20f(0x1df)]())[_0x3ac20f(0x1e7)](),'moved':Array[_0x3ac20f(0x1d8)](_0x5683f6)};}}
23
+ function _0x1feb(){const _0x5e0e9b=['push','insert','attributes','$text','delete','_model','length','remove','flat','_elementName','root','has','19858824myLGks','_trackedElements','values','3767380hiMwzF','246XPnPwA','type','3369360RJMoUc','_getElementKey','elementName','add','9328704hIOyxm','set','position','888520taOpTm','$graveyard','element','from','get','8844904hbMruY','nodeAfter','name','getElementKey','createRangeOn','getChanges','rootName','reset','clear','139595efuyZg','slice','2urtYyg','getItems'];_0x1feb=function(){return _0x5e0e9b;};return _0x1feb();}const _0x2dc754=_0x20c0;(function(_0x3f01f2,_0x44465c){const _0x59b2d9=_0x20c0,_0x353ed8=_0x3f01f2();while(!![]){try{const _0x57100a=parseInt(_0x59b2d9(0x1bf))/0x1*(-parseInt(_0x59b2d9(0x1af))/0x2)+parseInt(_0x59b2d9(0x1d3))/0x3+-parseInt(_0x59b2d9(0x1d0))/0x4+-parseInt(_0x59b2d9(0x1bd))/0x5*(-parseInt(_0x59b2d9(0x1d1))/0x6)+parseInt(_0x59b2d9(0x1d7))/0x7+parseInt(_0x59b2d9(0x1b4))/0x8+-parseInt(_0x59b2d9(0x1cd))/0x9;if(_0x57100a===_0x44465c)break;else _0x353ed8['push'](_0x353ed8['shift']());}catch(_0x515836){_0x353ed8['push'](_0x353ed8['shift']());}}}(_0x1feb,0xa35ff));function _0x20c0(_0x50864b,_0x1f23b5){const _0x1feb68=_0x1feb();return _0x20c0=function(_0x20c0e1,_0x4a9f2c){_0x20c0e1=_0x20c0e1-0x1ae;let _0x52b71c=_0x1feb68[_0x20c0e1];return _0x52b71c;},_0x20c0(_0x50864b,_0x1f23b5);}export class ModelElementTracker{[_0x2dc754(0x1c6)];[_0x2dc754(0x1ca)];[_0x2dc754(0x1d4)];[_0x2dc754(0x1ce)]=new Map();constructor(_0x2bf746,_0x16cdda){const _0x1f4c37=_0x2dc754;this[_0x1f4c37(0x1c6)]=_0x2bf746,this[_0x1f4c37(0x1ca)]=_0x16cdda[_0x1f4c37(0x1d5)],this[_0x1f4c37(0x1d4)]=_0x16cdda[_0x1f4c37(0x1b7)];}[_0x2dc754(0x1bb)](){const _0x1ca0ef=_0x2dc754;this[_0x1ca0ef(0x1ce)][_0x1ca0ef(0x1bc)]();}[_0x2dc754(0x1b9)](_0x40b129){const _0x47b2c4=_0x2dc754,_0x47a886=new Set(),_0x218eab=new Map();for(const _0x1e1fa3 of _0x40b129){if(_0x47b2c4(0x1c2)===_0x1e1fa3[_0x47b2c4(0x1d2)]&&_0x47b2c4(0x1c4)!==_0x1e1fa3[_0x47b2c4(0x1b6)]&&_0x1e1fa3[_0x47b2c4(0x1ae)][_0x47b2c4(0x1b5)]){const _0x59ca56=this[_0x47b2c4(0x1c6)][_0x47b2c4(0x1b8)](_0x1e1fa3[_0x47b2c4(0x1ae)][_0x47b2c4(0x1b5)]);for(const _0x1e11a4 of _0x59ca56[_0x47b2c4(0x1c0)]()){if(!_0x1e11a4['is'](_0x47b2c4(0x1b1),this[_0x47b2c4(0x1ca)]))continue;const _0x31e380=this[_0x47b2c4(0x1d4)](_0x1e11a4);_0x218eab[_0x47b2c4(0x1cc)](_0x31e380)||_0x218eab[_0x47b2c4(0x1d8)](_0x31e380,[]),_0x218eab[_0x47b2c4(0x1b3)](_0x31e380)[_0x47b2c4(0x1c1)](_0x1e11a4);}}if(_0x47b2c4(0x1c8)===_0x1e1fa3[_0x47b2c4(0x1d2)]&&_0x1e1fa3[_0x47b2c4(0x1b6)]===this[_0x47b2c4(0x1ca)]){const _0x1d2310=this[_0x47b2c4(0x1d4)]({'getAttribute':_0x54f42a=>_0x1e1fa3[_0x47b2c4(0x1c3)][_0x47b2c4(0x1b3)](_0x54f42a)});_0x47a886[_0x47b2c4(0x1d6)](_0x1d2310);}}for(const [_0xa56394,_0x2fb81d]of this[_0x47b2c4(0x1ce)])_0x47b2c4(0x1b0)===_0x2fb81d[_0x47b2c4(0x1cb)][_0x47b2c4(0x1ba)]&&_0x47a886[_0x47b2c4(0x1d6)](_0xa56394);for(const _0xab0b7a of _0x47a886)this[_0x47b2c4(0x1ce)][_0x47b2c4(0x1c5)](_0xab0b7a);for(const [_0x5c00d2,_0x310e3a]of _0x218eab)this[_0x47b2c4(0x1ce)][_0x47b2c4(0x1d8)](_0x5c00d2,_0x310e3a[_0x310e3a[_0x47b2c4(0x1c7)]-0x1]);const _0x3dddd5=new Set();for(const [_0x5444a2,_0x22045c]of _0x218eab)_0x47a886[_0x47b2c4(0x1cc)](_0x5444a2)&&(_0x3dddd5[_0x47b2c4(0x1d6)](_0x22045c[0x0]),_0x22045c[_0x47b2c4(0x1c7)]>0x1?_0x218eab[_0x47b2c4(0x1d8)](_0x5444a2,_0x22045c[_0x47b2c4(0x1be)](0x1)):_0x218eab[_0x47b2c4(0x1c5)](_0x5444a2),_0x47a886[_0x47b2c4(0x1c5)](_0x5444a2));return{'removed':Array[_0x47b2c4(0x1b2)](_0x47a886),'inserted':Array[_0x47b2c4(0x1b2)](_0x218eab[_0x47b2c4(0x1cf)]())[_0x47b2c4(0x1c9)](),'moved':Array[_0x47b2c4(0x1b2)](_0x3dddd5)};}}