@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251130.0 → 0.0.0-nightly-20251202.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 +10 -10
  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 _0x1d74a6}from'ckeditor5/src/core.js';import{isWidget as _0x91660f,toWidget as _0x32b4c4,toWidgetEditable as _0x56e9e4}from'ckeditor5/src/widget.js';import{uid as _0xcef626}from'ckeditor5/src/utils.js';import{PointerObserver as _0x3a45ec,ClickObserver as _0x8b55ec}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0xf7bc29}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4d52f}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1d74a6{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0xf7bc29];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xd7f3bb}=this;_0xd7f3bb['config']['define']('footnotes.multiBlock',!0x0),_0xd7f3bb['commands']['add']('insertFootnote',new _0x4d52f(_0xd7f3bb)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0xef94da){const _0x182b30=_0x17d0d4([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]),_0xe3912e=0x47a28506,_0x3d2ae6=0x47a5ff96^_0xe3912e,_0x4119e2=window[_0x17d0d4([0x44,0x61,0x74,0x65])][_0x17d0d4([0x6e,0x6f,0x77])](),_0x2a40ec=_0xef94da[_0x17d0d4([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x3be273=new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd7d6ab=>{_0x2a40ec[_0x17d0d4([0x6f,0x6e,0x63,0x65])](_0x17d0d4([0x72,0x65,0x61,0x64,0x79]),_0xd7d6ab);}),_0x29ce50={[_0x17d0d4([0x6b,0x74,0x79])]:_0x17d0d4([0x45,0x43]),[_0x17d0d4([0x75,0x73,0x65])]:_0x17d0d4([0x73,0x69,0x67]),[_0x17d0d4([0x63,0x72,0x76])]:_0x17d0d4([0x50,0x2d,0x32,0x35,0x36]),[_0x17d0d4([0x78])]:_0x17d0d4([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]),[_0x17d0d4([0x79])]:_0x17d0d4([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]),[_0x17d0d4([0x61,0x6c,0x67])]:_0x17d0d4([0x45,0x53,0x32,0x35,0x36])},_0x4a590b=_0x2a40ec[_0x17d0d4([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x17d0d4([0x67,0x65,0x74])](_0x17d0d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x322273(){let _0x5aa2eb,_0x1d7319=null,_0x2806b6=null;try{if(_0x4a590b==_0x17d0d4([0x47,0x50,0x4c]))return _0x17d0d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5aa2eb=_0x30d52d(),!_0x5aa2eb)return _0x17d0d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5aa2eb[_0x17d0d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x2806b6=_0xf1ba42(_0x5aa2eb[_0x17d0d4([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5aa2eb[_0x17d0d4([0x6a,0x74,0x69])])),await _0x2e6996()?_0x51a069()?_0x4075e4()?_0x17d0d4([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x12041b()?(_0x5aa2eb[_0x17d0d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17d0d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1d7319=_0x162717(_0x17d0d4([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5aa2eb[_0x17d0d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x17d0d4([0x74,0x72,0x69,0x61,0x6c])&&(_0x1d7319=_0x162717(_0x17d0d4([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3431be()):_0x17d0d4([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x17d0d4([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x17d0d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x17d0d4([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4075e4(){const _0x7e6336=[_0x17d0d4([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x17d0d4([0x74,0x72,0x69,0x61,0x6c])][_0x17d0d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5aa2eb[_0x17d0d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4119e2/0x3e8:0xe10*_0x3d2ae6;return _0x5aa2eb[_0x17d0d4([0x65,0x78,0x70])]<_0x7e6336;}function _0x51a069(){const _0x2f4c0d=_0x5aa2eb[_0x17d0d4([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2f4c0d&&(!!_0x2f4c0d[_0x17d0d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d0d4([0x2a]))||!!_0x2f4c0d[_0x17d0d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d0d4([0x46,0x4f,0x4f])));}function _0x12041b(){const _0x5c9e09=_0x5aa2eb[_0x17d0d4([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x5c9e09||0x0==_0x5c9e09[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x5206b4}=new URL(window[_0x17d0d4([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x5c9e09[_0x17d0d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5206b4))return!0x0;const _0x1b0c65=_0x5206b4[_0x17d0d4([0x73,0x70,0x6c,0x69,0x74])](_0x17d0d4([0x2e]));return _0x5c9e09[_0x17d0d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x366c58=>_0x366c58[_0x17d0d4([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x17d0d4([0x2a])))[_0x17d0d4([0x6d,0x61,0x70])](_0x14874b=>_0x14874b[_0x17d0d4([0x73,0x70,0x6c,0x69,0x74])](_0x17d0d4([0x2e])))[_0x17d0d4([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x4cb2b7=>_0x4cb2b7[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x1b0c65[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17d0d4([0x6d,0x61,0x70])](_0x5637dc=>Array(_0x1b0c65[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x5637dc[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x17d0d4([0x66,0x69,0x6c,0x6c])](_0x5637dc[0x0]===_0x17d0d4([0x2a])?_0x17d0d4([0x2a]):'')[_0x17d0d4([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x5637dc))[_0x17d0d4([0x73,0x6f,0x6d,0x65])](_0x128196=>_0x1b0c65[_0x17d0d4([0x65,0x76,0x65,0x72,0x79])]((_0x5e310a,_0x3cda4b)=>_0x128196[_0x3cda4b]===_0x5e310a||_0x128196[_0x3cda4b]===_0x17d0d4([0x2a])));}function _0x3431be(){return _0x1d7319&&_0x2806b6?new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x31dfcf,_0x3a03db)=>{_0x1d7319[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x31dfcf,_0x3a03db),_0x2806b6[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x5de2f4=>{_0x5de2f4!=_0x17d0d4([0x56,0x61,0x6c,0x69,0x64])&&_0x31dfcf(_0x5de2f4);},_0x3a03db);}):_0x1d7319||_0x2806b6||_0x17d0d4([0x56,0x61,0x6c,0x69,0x64]);}}function _0xf1ba42(_0x8212b0,_0x571a1c){return new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x393456=>{if(_0x3248b4())return _0x393456(_0x17d0d4([0x56,0x61,0x6c,0x69,0x64]));_0x44c8d7(),_0x2a40ec[_0x17d0d4([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x17d0d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x33ee5d=!0x1;const _0x279b15=_0xcef626();function _0x37312e(_0x18f8d9){return!!_0x18f8d9&&(typeof _0x18f8d9===_0x17d0d4([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x18f8d9===_0x17d0d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x18f8d9[_0x17d0d4([0x74,0x68,0x65,0x6e])]===_0x17d0d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x18f8d9[_0x17d0d4([0x63,0x61,0x74,0x63,0x68])]===_0x17d0d4([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x286efe(_0x31ed08){_0x3b20ec(_0x31ed08)[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x5a43d8=>{if(!_0x5a43d8||_0x5a43d8[_0x17d0d4([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x17d0d4([0x6f,0x6b]))return _0x17d0d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x5d653e(_0xe0bd30(_0x279b15+_0x571a1c))!=_0x5a43d8[_0x17d0d4([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x17d0d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x17d0d4([0x56,0x61,0x6c,0x69,0x64]);})[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x2e979c=>(_0x15050a(),_0x2e979c),()=>{const _0x23acca=_0x247056();return null==_0x23acca?(_0x15050a(),_0x17d0d4([0x56,0x61,0x6c,0x69,0x64])):_0x17d0d4(_0x4119e2-_0x23acca>(0x63ae0106^_0xe3912e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x393456)[_0x17d0d4([0x63,0x61,0x74,0x63,0x68])](()=>{_0x393456(_0x17d0d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x270c8e=0x47946b86^_0xe3912e;function _0x15050a(){const _0x22a8e0=_0x17d0d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d653e(_0xe0bd30(_0x8212b0)),_0x323a3c=_0x206627(_0x5d653e(window[_0x17d0d4([0x4d,0x61,0x74,0x68])][_0x17d0d4([0x63,0x65,0x69,0x6c])](_0x4119e2/_0x270c8e)));window[_0x17d0d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17d0d4([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x22a8e0,_0x323a3c);}function _0x247056(){const _0x287ec1=_0x17d0d4([0x6c,0x6c,0x63,0x74,0x2d])+_0x5d653e(_0xe0bd30(_0x8212b0)),_0x2a9904=window[_0x17d0d4([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x17d0d4([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x287ec1);return _0x2a9904?window[_0x17d0d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x206627(_0x2a9904),0x10)*_0x270c8e:null;}function _0x3b20ec(_0x1ea9cf){return new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x924db8,_0x5ad2ed)=>{_0x1ea9cf[_0x17d0d4([0x74,0x68,0x65,0x6e])](_0x924db8,_0x5ad2ed),window[_0x17d0d4([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x5ad2ed,0x47a351c6^_0xe3912e);});}}_0x2a40ec[_0x17d0d4([0x6f,0x6e])](_0x17d0d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x31f88b,_0x39017d)=>{if(_0x39017d[0x0]!=_0x8212b0)return _0x393456(_0x17d0d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x39017d[0x1]={..._0x39017d[0x1],[_0x17d0d4([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x279b15};},{[_0x17d0d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17d0d4([0x68,0x69,0x67,0x68])}),_0x2a40ec[_0x17d0d4([0x6f,0x6e])](_0x17d0d4([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xb76a7c=>{_0x37312e(_0xb76a7c[_0x17d0d4([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x33ee5d=!0x0,_0x286efe(_0xb76a7c[_0x17d0d4([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x17d0d4([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x17d0d4([0x6c,0x6f,0x77])}),_0x3be273[_0x17d0d4([0x74,0x68,0x65,0x6e])](()=>{_0x33ee5d||_0x393456(_0x17d0d4([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3248b4(){return _0x2a40ec[_0x17d0d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17d0d4([0x76,0x69,0x65,0x77])][_0x17d0d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x17d0d4([0x61,0x75,0x74,0x6f]);}function _0x44c8d7(){_0x2a40ec[_0x17d0d4([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x17d0d4([0x76,0x69,0x65,0x77])][_0x17d0d4([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x17d0d4([0x61,0x75,0x74,0x6f]);}}function _0x162717(_0x56ddda){const _0x62e98=[new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x55ca66=>setTimeout(_0x55ca66,0x47abbbca^_0xe3912e)),_0x3be273[_0x17d0d4([0x74,0x68,0x65,0x6e])](()=>new window[(_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1efd73=>{let _0x585b77=0x0;_0x2a40ec[_0x17d0d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d0d4([0x6f,0x6e])](_0x17d0d4([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x32ab5d,_0x511a99)=>{_0x511a99[0x0][_0x17d0d4([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x585b77++,_0x585b77==(0x47a284fe^_0xe3912e)&&(_0x1efd73(),_0x32ab5d[_0x17d0d4([0x6f,0x66,0x66])]());});}))];return window[_0x17d0d4([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x17d0d4([0x72,0x61,0x63,0x65])](_0x62e98)[_0x17d0d4([0x74,0x68,0x65,0x6e])](()=>_0x56ddda);}async function _0x418d65(){await _0x3be273,_0x2a40ec[_0x17d0d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d0d4([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x130f55,_0x2a40ec[_0x17d0d4([0x6d,0x6f,0x64,0x65,0x6c])][_0x17d0d4([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x130f55,_0x2a40ec[_0x17d0d4([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x17d0d4([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x29a5fb(_0x413358){const _0x219d3b=_0x2ca315();_0x2a40ec[_0x219d3b]=_0x17d0d4([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x413358,_0x413358!=_0x17d0d4([0x56,0x61,0x6c,0x69,0x64])&&_0x418d65();}function _0x2ca315(){const _0x2d3f09=window[_0x17d0d4([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x17d0d4([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x17d0d4([0x6e,0x6f,0x77])]())[_0x17d0d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x17d0d4([0x2e]),'');let _0x3bd7c8=_0x17d0d4([0x75]);for(let _0x542573=0x0;_0x542573<_0x2d3f09[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x542573+=0x2){let _0x5d6a16=window[_0x17d0d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2d3f09[_0x17d0d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x542573,_0x542573+0x2));_0x5d6a16>=_0x182b30[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x5d6a16-=_0x182b30[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3bd7c8+=_0x182b30[_0x5d6a16];}return _0x3bd7c8;}function _0x30d52d(){const _0x13186d=_0x4a590b[_0x17d0d4([0x73,0x70,0x6c,0x69,0x74])](_0x17d0d4([0x2e]));if(0x3!=_0x13186d[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c7b28(_0x13186d[0x1]);function _0x5c7b28(_0x51e2c1){const _0x357d4d=_0x28ce01(_0x51e2c1);return _0x357d4d&&_0x48a502()?_0x357d4d:null;function _0x48a502(){const _0x303a7d=_0x357d4d[_0x17d0d4([0x6a,0x74,0x69])],_0x3e2247=window[_0x17d0d4([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x303a7d[_0x17d0d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x303a7d[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x3fe640={..._0x357d4d,[_0x17d0d4([0x6a,0x74,0x69])]:_0x303a7d[_0x17d0d4([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x303a7d[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x3fe640[_0x17d0d4([0x76,0x63])],_0xe0bd30(_0x3fe640)==_0x3e2247;}}}async function _0x2e6996(){let _0x44fa9=!0x0;try{const _0x721de1=_0x4a590b[_0x17d0d4([0x73,0x70,0x6c,0x69,0x74])](_0x17d0d4([0x2e])),[_0x81cb9f,_0x3c9caf,_0x49155e]=_0x721de1;return _0x12debd(_0x81cb9f),await _0x4abaaf(_0x81cb9f,_0x3c9caf,_0x49155e),_0x44fa9;}catch{return!0x1;}function _0x12debd(_0x363e61){const _0x459b1a=_0x28ce01(_0x363e61);_0x459b1a&&_0x459b1a[_0x17d0d4([0x61,0x6c,0x67])]==_0x17d0d4([0x45,0x53,0x32,0x35,0x36])||(_0x44fa9=!0x1);}async function _0x4abaaf(_0x539ffe,_0x387528,_0x111182){const _0x3729cf=window[_0x17d0d4([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x17d0d4([0x66,0x72,0x6f,0x6d])](_0x495c1a(_0x111182),_0x17bce2=>_0x17bce2[_0x17d0d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x20525f=new window[(_0x17d0d4([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x17d0d4([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x539ffe+_0x17d0d4([0x2e])+_0x387528),_0xa471b=window[_0x17d0d4([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x17d0d4([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xa471b)return;const _0x55203f=await _0xa471b[_0x17d0d4([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x17d0d4([0x6a,0x77,0x6b]),_0x29ce50,{[_0x17d0d4([0x6e,0x61,0x6d,0x65])]:_0x17d0d4([0x45,0x43,0x44,0x53,0x41]),[_0x17d0d4([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x17d0d4([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x17d0d4([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xa471b[_0x17d0d4([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x17d0d4([0x6e,0x61,0x6d,0x65])]:_0x17d0d4([0x45,0x43,0x44,0x53,0x41]),[_0x17d0d4([0x68,0x61,0x73,0x68])]:{[_0x17d0d4([0x6e,0x61,0x6d,0x65])]:_0x17d0d4([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x55203f,_0x3729cf,_0x20525f)||(_0x44fa9=!0x1);}}function _0x28ce01(_0x4338a6){return _0x4338a6[_0x17d0d4([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x17d0d4([0x65,0x79]))?JSON[_0x17d0d4([0x70,0x61,0x72,0x73,0x65])](_0x495c1a(_0x4338a6)):null;}function _0x495c1a(_0x9576e1){return window[_0x17d0d4([0x61,0x74,0x6f,0x62])](_0x9576e1[_0x17d0d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x17d0d4([0x2b]))[_0x17d0d4([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x17d0d4([0x2f])));}function _0xe0bd30(_0x2a5f78){let _0x327f27=0x1505;function _0x2ef2be(_0x55187d){for(let _0x2029b0=0x0;_0x2029b0<_0x55187d[_0x17d0d4([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2029b0++){const _0x553fb4=_0x55187d[_0x17d0d4([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2029b0);_0x327f27=(_0x327f27<<0x5)+_0x327f27+_0x553fb4,_0x327f27&=_0x327f27;}}function _0x402866(_0xfd4fb1){Array[_0x17d0d4([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0xfd4fb1)?_0xfd4fb1[_0x17d0d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x402866):_0xfd4fb1&&typeof _0xfd4fb1==_0x17d0d4([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x17d0d4([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0xfd4fb1)[_0x17d0d4([0x73,0x6f,0x72,0x74])]()[_0x17d0d4([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x26b7a3,_0x47e8ee])=>{_0x2ef2be(_0x26b7a3),_0x402866(_0x47e8ee);}):_0x2ef2be(window[_0x17d0d4([0x53,0x74,0x72,0x69,0x6e,0x67])](_0xfd4fb1));}return _0x402866(_0x2a5f78),_0x327f27>>>0x0;}function _0x5d653e(_0x5f5dc6){return _0x5f5dc6[_0x17d0d4([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x17d0d4([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x17d0d4([0x30]));}function _0x206627(_0x53e23a){return _0x53e23a[_0x17d0d4([0x73,0x70,0x6c,0x69,0x74])]('')[_0x17d0d4([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x17d0d4([0x6a,0x6f,0x69,0x6e])]('');}function _0x130f55(){}function _0x17d0d4(_0x216f5c){return _0x216f5c['map'](_0x3a5512=>String['fromCharCode'](_0x3a5512))['join']('');}_0x29a5fb(await _0x322273());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1ba427){const {plugins:_0x2e37c7,editing:_0xdc2893,model:_0x4bb1d8}=this['editor'],_0x4585a4=_0x2e37c7['get'](_0xf7bc29)['getFootnote'](_0x1ba427);return!!_0x4585a4&&(_0x4bb1d8['change'](_0x470ba1=>{_0x470ba1['setSelection'](_0x470ba1['createPositionAt'](_0x4585a4['definition'],'end'));}),_0xdc2893['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x37c526){const {plugins:_0x117a83,editing:_0xaeb506,model:_0x4caddc}=this['editor'],_0xb32c97=_0x117a83['get'](_0xf7bc29)['getFootnote'](_0x37c526);return!!_0xb32c97&&(_0x4caddc['change'](_0x1bce19=>{_0x1bce19['setSelection'](_0xb32c97['reference'],'on');}),_0xaeb506['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x232146}=this['editor']['model'],_0x3b14d9=this['editor']['config']['get']('footnotes.multiBlock');_0x232146['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x232146['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x232146['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3b14d9?_0x232146['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x232146['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x232146['addChildCheck'](_0x13a731=>{for(const _0x1d0963 of _0x13a731)if('footnoteDefinition'===_0x1d0963['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x418554}=this,{conversion:_0x5364fc,editing:_0x164aa3}=_0x418554,{t:t}=_0x418554['locale'];_0x5364fc['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x33cbbf,{writer:_0x182d1f,consumable:_0x325555})=>{const _0x3deb5a=_0x33cbbf['getChild'](0x0);if(!_0x3deb5a||!_0x3deb5a['is']('element','a'))return null;const _0x3ad886=_0x3deb5a['getAttribute']('href')||'';if(!_0x3ad886['startsWith']('#'))return null;const _0xb8c094=_0x3ad886['replace'](/^#/,'');if(!_0xb8c094)return null;_0x325555['consume'](_0x3deb5a,{'name':!0x0,'attributes':['href']});for(const {item:_0x4c5f6d}of _0x164aa3['view']['createRangeIn'](_0x3deb5a))_0x4c5f6d['is']('$textProxy')?_0x325555['consume'](_0x4c5f6d['textNode'],{'name':!0x0}):_0x4c5f6d['is']('element')&&_0x325555['consume'](_0x4c5f6d,{'name':!0x0});return _0x182d1f['createElement']('footnoteRef',{'footnoteId':_0xb8c094});}}),_0x5364fc['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x338197,{writer:_0x21ab27})=>D(_0x338197,_0x21ab27)}),_0x5364fc['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x136a2c,{writer:_0x35d857})=>{const _0x5c0074=_0x136a2c['getAttribute']('footnoteCounter');return _0x32b4c4(D(_0x136a2c,_0x35d857),_0x35d857,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5c0074)});}});}['_defineDefinitionsConverters'](){const {editor:_0x51e68c}=this,{t:t}=_0x51e68c['locale'],{conversion:_0x1617b4}=_0x51e68c;_0x1617b4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x1617b4['for']('upcast')['add'](_0x5d41fa=>{_0x5d41fa['on']('element:ol',(_0x3b88c1,_0x484f61,_0x2657e8)=>{const _0x8d46d7=_0x484f61['viewItem'];if(!_0x8d46d7['hasClass']('footnotes-list')||!_0x484f61['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2657e8['consumable']['consume'](_0x8d46d7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x5aea06,modelCursor:_0x1a64a3}=_0x2657e8['convertChildren'](_0x484f61['viewItem'],_0x484f61['modelCursor']);_0x484f61['modelRange']=_0x5aea06,_0x484f61['modelCursor']=_0x1a64a3;}),_0x5d41fa['on']('element:hr',(_0x703347,_0xf45a1b,_0x4907cc)=>{const _0x292109=_0xf45a1b['viewItem'];_0x292109['hasClass']('footnotes-divider')&&_0xf45a1b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x4907cc['consumable']['consume'](_0x292109,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x1617b4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xb41d32,{writer:_0x47dc9f})=>v(_0x47dc9f)}),_0x1617b4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4467b9,{writer:_0x200b6f})=>{const _0x21a35f=v(_0x200b6f,{'data-footnotes-list-label':t('Footnotes')}),_0x3b5a0b=_0x32b4c4(_0x21a35f,_0x200b6f,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x200b6f['setCustomProperty']('footnotesDefinitions',!0x0,_0x3b5a0b),_0x3b5a0b;}});}['_defineDefinitionConverters'](){const {editor:_0x2693f6}=this,{conversion:_0x8bf8d2,locale:_0x353e96}=_0x2693f6,_0xecf7=_0x2693f6['config']['get']('footnotes.multiBlock');_0x8bf8d2['for']('upcast')['add'](_0x55683d=>{_0x55683d['on']('element:li',(_0x4dd308,_0x2a8c31,_0x39cfdb)=>{const _0x4d0b24=_0x2a8c31['viewItem'];if(!_0x4d0b24['hasClass']('footnote-definition')||!_0x4d0b24['getAttribute']('id'))return;const _0x1ce399=_0x4d0b24['parent'];if(!_0x1ce399['is']('element','ol')||!_0x1ce399['hasClass']('footnotes-list'))return;if(!_0x39cfdb['consumable']['test'](_0x4d0b24,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x5bd7fd=_0x39cfdb['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4d0b24['getAttribute']('id')});if(!_0x39cfdb['safeInsert'](_0x5bd7fd,_0x2a8c31['modelCursor']))return;_0x39cfdb['consumable']['consume'](_0x4d0b24,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x255f98=Array['from'](_0x4d0b24['getChildren']())['find'](_0x1e48cb=>_0x1e48cb['is']('element')&&_0x1e48cb['hasClass']('footnote-content'));for(const _0x158edd of _0x4d0b24['getChildren']())_0x158edd['is']('element')&&(_0x39cfdb['consumable']['consume'](_0x158edd,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x39cfdb['consumable']['consume'](_0x158edd,{'name':!0x0,'classes':'footnote-content'}));if(_0x255f98){if(_0xecf7)_0x39cfdb['convertChildren'](_0x255f98,_0x5bd7fd);else{const _0x3f3194=_0x39cfdb['writer']['createElement']('footnoteInlineContent');_0x39cfdb['writer']['insert'](_0x3f3194,_0x5bd7fd),_0x39cfdb['convertChildren'](_0x255f98,_0x3f3194);}}_0x39cfdb['updateConversionResult'](_0x5bd7fd,_0x2a8c31);});}),_0x8bf8d2['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5a57f9,{writer:_0x68bc8e})=>b(_0x5a57f9,_0x68bc8e,_0x353e96,{'dataPipeline':!0x0})}),_0x8bf8d2['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x35e645,{writer:_0x20395a})=>b(_0x35e645,_0x20395a,_0x353e96)});}['_defineBogusParagraphConverters'](){const {editor:_0x29ab4d}=this,{conversion:_0x252f22}=_0x29ab4d;_0x29ab4d['config']['get']('footnotes.multiBlock')?(_0x252f22['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x252f22['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x29ab4d['model']['document'],'change:data',()=>{!function(_0x2cc90d,_0x349e79){const _0x429b72=_0x2cc90d['document']['differ'],_0x319335=new Set();for(const _0x4cfa04 of _0x429b72['getChanges']()){const _0x3b82a5='attribute'==_0x4cfa04['type']?_0x4cfa04['range']['start']['parent']:_0x4cfa04['position']['parent'];_0x3b82a5['is']('element','footnoteDefinition')&&_0x319335['add'](_0x3b82a5);}for(const _0x27873c of _0x319335['values']()){const _0x58419f=Array['from'](_0x27873c['getChildren']())['filter'](_0x1380d6=>g(_0x1380d6,_0x349e79['mapper']));for(const _0x425480 of _0x58419f)_0x349e79['reconvertItem'](_0x425480);}}(_0x29ab4d['model'],_0x29ab4d['editing']);})):(_0x252f22['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x252f22['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x5d99d6,{writer:_0x32ff17})=>{const _0x25cbfa=_0x32ff17['createContainerElement']('span');return _0x32ff17['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x25cbfa),_0x25cbfa;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2ca9c3}=this,{editing:_0x1fded8,t:t}=_0x2ca9c3,_0x389bda=_0x2ca9c3['model']['document']['selection'];_0x2ca9c3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2ca9c3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x1fded8['view']['document'],'enter',(_0xa757c2,_0xe0d437)=>{const _0xaadd0b=function(_0x568ca3){const _0x5b7421=_0x568ca3['getSelectedElement']();if(_0x5b7421?.['is']('element','footnoteRef'))return _0x5b7421;return null;}(_0x389bda);if(_0xaadd0b){const _0x12d80e=_0xaadd0b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x12d80e),_0xe0d437['preventDefault'](),_0xa757c2['stop']();}},{'context':_0x91660f});}['_defineClickHandlers'](){const {editor:_0x215d0e}=this,{editing:_0x16ccc5}=_0x215d0e;_0x215d0e['editing']['view']['addObserver'](_0x3a45ec),_0x215d0e['editing']['view']['addObserver'](_0x8b55ec);let _0x205f3c=!0x1;this['listenTo'](_0x16ccc5['view']['document'],'pointerdown',(_0x51725a,_0x3cf8f5)=>{const {target:_0x10a1c4}=_0x3cf8f5,_0x7ea322=_0x16ccc5['view']['document']['selection'];_0x205f3c=!!(_0x10a1c4?.['is']('element','a')&&_0x10a1c4['parent']?.['is']('element','sup')&&_0x10a1c4['parent']['hasClass']('footnote'))&&_0x7ea322['getSelectedElement']()===_0x10a1c4['parent'];},{'priority':'high'}),this['listenTo'](_0x16ccc5['view']['document'],'click',(_0x68bdb3,_0x2496fb)=>{const {target:_0x22a9a2}=_0x2496fb;if(!_0x22a9a2?.['is']('element','a'))return;if(_0x22a9a2['parent']?.['is']('element','sup')&&_0x22a9a2['parent']['hasClass']('footnote')&&!_0x205f3c)return void _0x2496fb['preventDefault']();let _0x3f95cd=_0x22a9a2['getAttribute']('href');if(!_0x3f95cd?.['startsWith']('#'))return;_0x3f95cd=_0x3f95cd['slice'](0x1);let _0x464949=!0x1;(_0x3f95cd['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x3f95cd['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x3f95cd))&&(_0x464949=!0x0),_0x464949&&(_0x2496fb['preventDefault'](),_0x68bdb3['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x3da475}={}){return(_0x4e150e,{writer:_0xf9bbad})=>{if(!p(_0x4e150e))return null;if(!_0x3da475)return _0xf9bbad['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x35282e=_0xf9bbad['createContainerElement']('p');return _0xf9bbad['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x35282e),_0x35282e;};}function p(_0x1b36ec){const {parent:_0x5eb6fd}=_0x1b36ec;if(!_0x5eb6fd?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x5eb6fd['childCount'])return!0x1;for(const _0xea4fc4 of _0x1b36ec['getAttributeKeys']())if(!_0xea4fc4['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xea4fc4)return!0x1;return!0x0;}function g(_0x41dbdb,_0x396658){if(!_0x41dbdb['is']('element','paragraph'))return!0x1;const _0x4ebfcb=_0x396658['toViewElement'](_0x41dbdb);return!!_0x4ebfcb&&p(_0x41dbdb)!==_0x4ebfcb['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x179e3e){return _0x91660f(_0x179e3e)&&_0x179e3e['is']('containerElement')&&!!_0x179e3e['getCustomProperty']('footnotesDefinitions');}function v(_0x3cd2b8,_0x3fa6f2={}){const _0x4d1d20=_0x3cd2b8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x2c6ce0=_0x3cd2b8['createContainerElement']('ol',{'class':'footnotes-list'},_0x3cd2b8['createSlot']());return _0x3cd2b8['createContainerElement']('div',{'class':'footnotes',..._0x3fa6f2},[_0x4d1d20,_0x2c6ce0]);}function D(_0xf21565,_0x4cb8b4){const _0x46ce96=_0xf21565['getAttribute']('footnoteId'),_0x5e2d0c=_0xf21565['getAttribute']('footnoteCounter'),_0x59074d=_0x4cb8b4['createUIElement']('a',{'href':'#'+_0x46ce96},function(_0x24b49d){const _0xf35d00=this['toDomElement'](_0x24b49d);return _0xf35d00['textContent']=_0x5e2d0c,_0xf35d00;}),_0x307491=_0x4cb8b4['createContainerElement']('sup',{'id':'ref-'+_0x46ce96,'class':'footnote'},[_0x59074d]);return _0x307491['getFillerOffset']=()=>null,_0x307491;}function b(_0x2d1ed4,_0x4f67a9,_0x7ca30b,{dataPipeline:_0x527c2a}={}){const {t:t}=_0x7ca30b,_0x4ce2ad=_0x2d1ed4['getAttribute']('footnoteId'),_0x512db8=_0x4f67a9['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x4ce2ad},function(_0x4edf83){const _0x3032e5=this['toDomElement'](_0x4edf83);return _0x3032e5['innerText']='^',_0x3032e5;}),_0x30dba0=_0x527c2a?_0x4f67a9['createContainerElement']('div',{'class':'footnote-content'}):_0x56e9e4(_0x4f67a9['createEditableElement']('div',{'class':'footnote-content'}),_0x4f67a9,{'label':t('Footnote\x20content.')});return _0x4f67a9['insert'](_0x4f67a9['createPositionAt'](_0x30dba0,0x0),_0x4f67a9['createSlot']()),_0x4f67a9['createContainerElement']('li',{'class':'footnote-definition','id':_0x4ce2ad},[_0x512db8,_0x30dba0]);}
23
+ import{Plugin as _0x409077}from'ckeditor5/src/core.js';import{isWidget as _0x2f2ec5,toWidget as _0x23a66c,toWidgetEditable as _0x5059fc}from'ckeditor5/src/widget.js';import{uid as _0x42c879}from'ckeditor5/src/utils.js';import{PointerObserver as _0x14c5ed,ClickObserver as _0x3896ac}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1a4b4b}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x26f1c5}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x409077{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1a4b4b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2fbf62}=this;_0x2fbf62['config']['define']('footnotes.multiBlock',!0x0),_0x2fbf62['commands']['add']('insertFootnote',new _0x26f1c5(_0x2fbf62)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x1406fb){const _0x49f3f6=_0x9a29f7([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]),_0x2dba42=0x47a28506,_0x368115=0x47a5ffc6^_0x2dba42,_0x470118=window[_0x9a29f7([0x44,0x61,0x74,0x65])][_0x9a29f7([0x6e,0x6f,0x77])](),_0x100ff5=_0x1406fb[_0x9a29f7([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x42bfa7=new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4f4a2f=>{_0x100ff5[_0x9a29f7([0x6f,0x6e,0x63,0x65])](_0x9a29f7([0x72,0x65,0x61,0x64,0x79]),_0x4f4a2f);}),_0x2bb2d6={[_0x9a29f7([0x6b,0x74,0x79])]:_0x9a29f7([0x45,0x43]),[_0x9a29f7([0x75,0x73,0x65])]:_0x9a29f7([0x73,0x69,0x67]),[_0x9a29f7([0x63,0x72,0x76])]:_0x9a29f7([0x50,0x2d,0x32,0x35,0x36]),[_0x9a29f7([0x78])]:_0x9a29f7([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]),[_0x9a29f7([0x79])]:_0x9a29f7([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]),[_0x9a29f7([0x61,0x6c,0x67])]:_0x9a29f7([0x45,0x53,0x32,0x35,0x36])},_0x5ab7d0=_0x100ff5[_0x9a29f7([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x9a29f7([0x67,0x65,0x74])](_0x9a29f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x53bfbf(){let _0x434134,_0x5d918f=null,_0x33b883=null;try{if(_0x5ab7d0==_0x9a29f7([0x47,0x50,0x4c]))return _0x9a29f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x434134=_0x5036ef(),!_0x434134)return _0x9a29f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x434134[_0x9a29f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x33b883=_0x5ba09d(_0x434134[_0x9a29f7([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x434134[_0x9a29f7([0x6a,0x74,0x69])])),await _0x246bbf()?_0x32a715()?_0x1f1e26()?_0x9a29f7([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0xd23f07()?(_0x434134[_0x9a29f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9a29f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5d918f=_0x33772b(_0x9a29f7([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x434134[_0x9a29f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x9a29f7([0x74,0x72,0x69,0x61,0x6c])&&(_0x5d918f=_0x33772b(_0x9a29f7([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5fe3b1()):_0x9a29f7([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x9a29f7([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x9a29f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x9a29f7([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1f1e26(){const _0x34c9fc=[_0x9a29f7([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x9a29f7([0x74,0x72,0x69,0x61,0x6c])][_0x9a29f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x434134[_0x9a29f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x470118/0x3e8:0xe10*_0x368115;return _0x434134[_0x9a29f7([0x65,0x78,0x70])]<_0x34c9fc;}function _0x32a715(){const _0x171bc0=_0x434134[_0x9a29f7([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x171bc0&&(!!_0x171bc0[_0x9a29f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a29f7([0x2a]))||!!_0x171bc0[_0x9a29f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a29f7([0x46,0x4f,0x4f])));}function _0xd23f07(){const _0x257780=_0x434134[_0x9a29f7([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x257780||0x0==_0x257780[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x6865b9}=new URL(window[_0x9a29f7([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x257780[_0x9a29f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x6865b9))return!0x0;const _0x5b44ca=_0x6865b9[_0x9a29f7([0x73,0x70,0x6c,0x69,0x74])](_0x9a29f7([0x2e]));return _0x257780[_0x9a29f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x412e69=>_0x412e69[_0x9a29f7([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x9a29f7([0x2a])))[_0x9a29f7([0x6d,0x61,0x70])](_0x1b7b15=>_0x1b7b15[_0x9a29f7([0x73,0x70,0x6c,0x69,0x74])](_0x9a29f7([0x2e])))[_0x9a29f7([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2f2c5e=>_0x2f2c5e[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5b44ca[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9a29f7([0x6d,0x61,0x70])](_0xe63ffd=>Array(_0x5b44ca[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe63ffd[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x9a29f7([0x66,0x69,0x6c,0x6c])](_0xe63ffd[0x0]===_0x9a29f7([0x2a])?_0x9a29f7([0x2a]):'')[_0x9a29f7([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe63ffd))[_0x9a29f7([0x73,0x6f,0x6d,0x65])](_0x23ce2a=>_0x5b44ca[_0x9a29f7([0x65,0x76,0x65,0x72,0x79])]((_0x1666cb,_0x185ad7)=>_0x23ce2a[_0x185ad7]===_0x1666cb||_0x23ce2a[_0x185ad7]===_0x9a29f7([0x2a])));}function _0x5fe3b1(){return _0x5d918f&&_0x33b883?new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x54a7c2,_0x520ac9)=>{_0x5d918f[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0x54a7c2,_0x520ac9),_0x33b883[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0x24db8e=>{_0x24db8e!=_0x9a29f7([0x56,0x61,0x6c,0x69,0x64])&&_0x54a7c2(_0x24db8e);},_0x520ac9);}):_0x5d918f||_0x33b883||_0x9a29f7([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5ba09d(_0x41f887,_0x2b4056){return new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x38277a=>{if(_0x23bbb4())return _0x38277a(_0x9a29f7([0x56,0x61,0x6c,0x69,0x64]));_0x50d0c5(),_0x100ff5[_0x9a29f7([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x9a29f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4e654d=!0x1;const _0x280164=_0x42c879();function _0x52f274(_0x5aaccd){return!!_0x5aaccd&&(typeof _0x5aaccd===_0x9a29f7([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5aaccd===_0x9a29f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5aaccd[_0x9a29f7([0x74,0x68,0x65,0x6e])]===_0x9a29f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5aaccd[_0x9a29f7([0x63,0x61,0x74,0x63,0x68])]===_0x9a29f7([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x219dc9(_0x2fcebb){_0x5db46f(_0x2fcebb)[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0xe54a60=>{if(!_0xe54a60||_0xe54a60[_0x9a29f7([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x9a29f7([0x6f,0x6b]))return _0x9a29f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1eb52f(_0x588052(_0x280164+_0x2b4056))!=_0xe54a60[_0x9a29f7([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x9a29f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x9a29f7([0x56,0x61,0x6c,0x69,0x64]);})[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0x38f25b=>(_0xbb9478(),_0x38f25b),()=>{const _0x52cfad=_0x4280ea();return null==_0x52cfad?(_0xbb9478(),_0x9a29f7([0x56,0x61,0x6c,0x69,0x64])):_0x9a29f7(_0x470118-_0x52cfad>(0x63ae0106^_0x2dba42)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0x38277a)[_0x9a29f7([0x63,0x61,0x74,0x63,0x68])](()=>{_0x38277a(_0x9a29f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x6e2861=0x47946b86^_0x2dba42;function _0xbb9478(){const _0x1868f7=_0x9a29f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eb52f(_0x588052(_0x41f887)),_0x3e6804=_0x20a9df(_0x1eb52f(window[_0x9a29f7([0x4d,0x61,0x74,0x68])][_0x9a29f7([0x63,0x65,0x69,0x6c])](_0x470118/_0x6e2861)));window[_0x9a29f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9a29f7([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1868f7,_0x3e6804);}function _0x4280ea(){const _0x562d93=_0x9a29f7([0x6c,0x6c,0x63,0x74,0x2d])+_0x1eb52f(_0x588052(_0x41f887)),_0x4a1f19=window[_0x9a29f7([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x9a29f7([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x562d93);return _0x4a1f19?window[_0x9a29f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x20a9df(_0x4a1f19),0x10)*_0x6e2861:null;}function _0x5db46f(_0x1b7144){return new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x495561,_0x95dea4)=>{_0x1b7144[_0x9a29f7([0x74,0x68,0x65,0x6e])](_0x495561,_0x95dea4),window[_0x9a29f7([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x95dea4,0x47a351c6^_0x2dba42);});}}_0x100ff5[_0x9a29f7([0x6f,0x6e])](_0x9a29f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x53cc9b,_0x18cd51)=>{if(_0x18cd51[0x0]!=_0x41f887)return _0x38277a(_0x9a29f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x18cd51[0x1]={..._0x18cd51[0x1],[_0x9a29f7([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x280164};},{[_0x9a29f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9a29f7([0x68,0x69,0x67,0x68])}),_0x100ff5[_0x9a29f7([0x6f,0x6e])](_0x9a29f7([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x21d56c=>{_0x52f274(_0x21d56c[_0x9a29f7([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4e654d=!0x0,_0x219dc9(_0x21d56c[_0x9a29f7([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x9a29f7([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x9a29f7([0x6c,0x6f,0x77])}),_0x42bfa7[_0x9a29f7([0x74,0x68,0x65,0x6e])](()=>{_0x4e654d||_0x38277a(_0x9a29f7([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x23bbb4(){return _0x100ff5[_0x9a29f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9a29f7([0x76,0x69,0x65,0x77])][_0x9a29f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x9a29f7([0x61,0x75,0x74,0x6f]);}function _0x50d0c5(){_0x100ff5[_0x9a29f7([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x9a29f7([0x76,0x69,0x65,0x77])][_0x9a29f7([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x9a29f7([0x61,0x75,0x74,0x6f]);}}function _0x33772b(_0x4085b2){const _0x4d2c61=[new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c2110=>setTimeout(_0x5c2110,0x47abbbca^_0x2dba42)),_0x42bfa7[_0x9a29f7([0x74,0x68,0x65,0x6e])](()=>new window[(_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2aaede=>{let _0x4c941b=0x0;_0x100ff5[_0x9a29f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x9a29f7([0x6f,0x6e])](_0x9a29f7([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x298478,_0x45d534)=>{_0x45d534[0x0][_0x9a29f7([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x4c941b++,_0x4c941b==(0x47a284fe^_0x2dba42)&&(_0x2aaede(),_0x298478[_0x9a29f7([0x6f,0x66,0x66])]());});}))];return window[_0x9a29f7([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x9a29f7([0x72,0x61,0x63,0x65])](_0x4d2c61)[_0x9a29f7([0x74,0x68,0x65,0x6e])](()=>_0x4085b2);}async function _0x24198e(){await _0x42bfa7,_0x100ff5[_0x9a29f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x9a29f7([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x5946c8,_0x100ff5[_0x9a29f7([0x6d,0x6f,0x64,0x65,0x6c])][_0x9a29f7([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x5946c8,_0x100ff5[_0x9a29f7([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x9a29f7([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x3245c0(_0x224258){const _0x343da9=_0x4c16f3();_0x100ff5[_0x343da9]=_0x9a29f7([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x224258,_0x224258!=_0x9a29f7([0x56,0x61,0x6c,0x69,0x64])&&_0x24198e();}function _0x4c16f3(){const _0x3f0eb2=window[_0x9a29f7([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x9a29f7([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x9a29f7([0x6e,0x6f,0x77])]())[_0x9a29f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x9a29f7([0x2e]),'');let _0x44a0f7=_0x9a29f7([0x75]);for(let _0x4e1b7b=0x0;_0x4e1b7b<_0x3f0eb2[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4e1b7b+=0x2){let _0x4fbc57=window[_0x9a29f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3f0eb2[_0x9a29f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e1b7b,_0x4e1b7b+0x2));_0x4fbc57>=_0x49f3f6[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4fbc57-=_0x49f3f6[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x44a0f7+=_0x49f3f6[_0x4fbc57];}return _0x44a0f7;}function _0x5036ef(){const _0x4cf6a8=_0x5ab7d0[_0x9a29f7([0x73,0x70,0x6c,0x69,0x74])](_0x9a29f7([0x2e]));if(0x3!=_0x4cf6a8[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x39c35d(_0x4cf6a8[0x1]);function _0x39c35d(_0x479a21){const _0x2309d5=_0x1719ff(_0x479a21);return _0x2309d5&&_0x213e13()?_0x2309d5:null;function _0x213e13(){const _0x14d651=_0x2309d5[_0x9a29f7([0x6a,0x74,0x69])],_0x37616f=window[_0x9a29f7([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x14d651[_0x9a29f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x14d651[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x40bfaa={..._0x2309d5,[_0x9a29f7([0x6a,0x74,0x69])]:_0x14d651[_0x9a29f7([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x14d651[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x40bfaa[_0x9a29f7([0x76,0x63])],_0x588052(_0x40bfaa)==_0x37616f;}}}async function _0x246bbf(){let _0x199c01=!0x0;try{const _0x472708=_0x5ab7d0[_0x9a29f7([0x73,0x70,0x6c,0x69,0x74])](_0x9a29f7([0x2e])),[_0x40d6b5,_0x256c11,_0x7cf590]=_0x472708;return _0x421f9f(_0x40d6b5),await _0x1803d1(_0x40d6b5,_0x256c11,_0x7cf590),_0x199c01;}catch{return!0x1;}function _0x421f9f(_0x4f6926){const _0xa2a062=_0x1719ff(_0x4f6926);_0xa2a062&&_0xa2a062[_0x9a29f7([0x61,0x6c,0x67])]==_0x9a29f7([0x45,0x53,0x32,0x35,0x36])||(_0x199c01=!0x1);}async function _0x1803d1(_0x49d6a2,_0x1aba96,_0x3ce9e0){const _0x88cc82=window[_0x9a29f7([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x9a29f7([0x66,0x72,0x6f,0x6d])](_0x3be240(_0x3ce9e0),_0x4f1999=>_0x4f1999[_0x9a29f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1834a6=new window[(_0x9a29f7([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x9a29f7([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x49d6a2+_0x9a29f7([0x2e])+_0x1aba96),_0x174eab=window[_0x9a29f7([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x9a29f7([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x174eab)return;const _0x246ace=await _0x174eab[_0x9a29f7([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x9a29f7([0x6a,0x77,0x6b]),_0x2bb2d6,{[_0x9a29f7([0x6e,0x61,0x6d,0x65])]:_0x9a29f7([0x45,0x43,0x44,0x53,0x41]),[_0x9a29f7([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x9a29f7([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x9a29f7([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x174eab[_0x9a29f7([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x9a29f7([0x6e,0x61,0x6d,0x65])]:_0x9a29f7([0x45,0x43,0x44,0x53,0x41]),[_0x9a29f7([0x68,0x61,0x73,0x68])]:{[_0x9a29f7([0x6e,0x61,0x6d,0x65])]:_0x9a29f7([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x246ace,_0x88cc82,_0x1834a6)||(_0x199c01=!0x1);}}function _0x1719ff(_0x13fcac){return _0x13fcac[_0x9a29f7([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x9a29f7([0x65,0x79]))?JSON[_0x9a29f7([0x70,0x61,0x72,0x73,0x65])](_0x3be240(_0x13fcac)):null;}function _0x3be240(_0x513ea2){return window[_0x9a29f7([0x61,0x74,0x6f,0x62])](_0x513ea2[_0x9a29f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x9a29f7([0x2b]))[_0x9a29f7([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x9a29f7([0x2f])));}function _0x588052(_0x4d050c){let _0x1ad1e0=0x1505;function _0x357810(_0x593573){for(let _0x261b5b=0x0;_0x261b5b<_0x593573[_0x9a29f7([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x261b5b++){const _0x14fe00=_0x593573[_0x9a29f7([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x261b5b);_0x1ad1e0=(_0x1ad1e0<<0x5)+_0x1ad1e0+_0x14fe00,_0x1ad1e0&=_0x1ad1e0;}}function _0x59dcfa(_0x416f5e){Array[_0x9a29f7([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x416f5e)?_0x416f5e[_0x9a29f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x59dcfa):_0x416f5e&&typeof _0x416f5e==_0x9a29f7([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x9a29f7([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x416f5e)[_0x9a29f7([0x73,0x6f,0x72,0x74])]()[_0x9a29f7([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x27a6c3,_0x9557c2])=>{_0x357810(_0x27a6c3),_0x59dcfa(_0x9557c2);}):_0x357810(window[_0x9a29f7([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x416f5e));}return _0x59dcfa(_0x4d050c),_0x1ad1e0>>>0x0;}function _0x1eb52f(_0x262d93){return _0x262d93[_0x9a29f7([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x9a29f7([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x9a29f7([0x30]));}function _0x20a9df(_0x2d7f9a){return _0x2d7f9a[_0x9a29f7([0x73,0x70,0x6c,0x69,0x74])]('')[_0x9a29f7([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x9a29f7([0x6a,0x6f,0x69,0x6e])]('');}function _0x5946c8(){}function _0x9a29f7(_0x4f9f32){return _0x4f9f32['map'](_0x8f3697=>String['fromCharCode'](_0x8f3697))['join']('');}_0x3245c0(await _0x53bfbf());}(this);}['_moveSelectionToFootnoteDefinition'](_0x182611){const {plugins:_0x350e25,editing:_0x53ef85,model:_0x11b186}=this['editor'],_0x26fbc5=_0x350e25['get'](_0x1a4b4b)['getFootnote'](_0x182611);return!!_0x26fbc5&&(_0x11b186['change'](_0x55f5ae=>{_0x55f5ae['setSelection'](_0x55f5ae['createPositionAt'](_0x26fbc5['definition'],'end'));}),_0x53ef85['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x4b78dc){const {plugins:_0x462d19,editing:_0x568d59,model:_0x550ecf}=this['editor'],_0x5be673=_0x462d19['get'](_0x1a4b4b)['getFootnote'](_0x4b78dc);return!!_0x5be673&&(_0x550ecf['change'](_0x5fa884=>{_0x5fa884['setSelection'](_0x5be673['reference'],'on');}),_0x568d59['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4f843c}=this['editor']['model'],_0x4862ec=this['editor']['config']['get']('footnotes.multiBlock');_0x4f843c['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4f843c['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4f843c['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4862ec?_0x4f843c['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4f843c['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4f843c['addChildCheck'](_0x1c4371=>{for(const _0x3ef1e7 of _0x1c4371)if('footnoteDefinition'===_0x3ef1e7['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4989ca}=this,{conversion:_0x45d71c,editing:_0x4fa220}=_0x4989ca,{t:t}=_0x4989ca['locale'];_0x45d71c['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5d387c,{writer:_0x36626e,consumable:_0x2e7acc})=>{const _0x17f4c5=_0x5d387c['getChild'](0x0);if(!_0x17f4c5||!_0x17f4c5['is']('element','a'))return null;const _0x41e5f6=_0x17f4c5['getAttribute']('href')||'';if(!_0x41e5f6['startsWith']('#'))return null;const _0x39d420=_0x41e5f6['replace'](/^#/,'');if(!_0x39d420)return null;_0x2e7acc['consume'](_0x17f4c5,{'name':!0x0,'attributes':['href']});for(const {item:_0x11ed2c}of _0x4fa220['view']['createRangeIn'](_0x17f4c5))_0x11ed2c['is']('$textProxy')?_0x2e7acc['consume'](_0x11ed2c['textNode'],{'name':!0x0}):_0x11ed2c['is']('element')&&_0x2e7acc['consume'](_0x11ed2c,{'name':!0x0});return _0x36626e['createElement']('footnoteRef',{'footnoteId':_0x39d420});}}),_0x45d71c['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1a7111,{writer:_0x591ce4})=>D(_0x1a7111,_0x591ce4)}),_0x45d71c['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xcfd1a6,{writer:_0x26ad05})=>{const _0x221426=_0xcfd1a6['getAttribute']('footnoteCounter');return _0x23a66c(D(_0xcfd1a6,_0x26ad05),_0x26ad05,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x221426)});}});}['_defineDefinitionsConverters'](){const {editor:_0x2d9298}=this,{t:t}=_0x2d9298['locale'],{conversion:_0x216115}=_0x2d9298;_0x216115['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x216115['for']('upcast')['add'](_0x1bb3b4=>{_0x1bb3b4['on']('element:ol',(_0x4cd544,_0x23e1cb,_0x289fce)=>{const _0x2aa72b=_0x23e1cb['viewItem'];if(!_0x2aa72b['hasClass']('footnotes-list')||!_0x23e1cb['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x289fce['consumable']['consume'](_0x2aa72b,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x42429c,modelCursor:_0x68e038}=_0x289fce['convertChildren'](_0x23e1cb['viewItem'],_0x23e1cb['modelCursor']);_0x23e1cb['modelRange']=_0x42429c,_0x23e1cb['modelCursor']=_0x68e038;}),_0x1bb3b4['on']('element:hr',(_0x26c5c4,_0x42813b,_0x59b5e4)=>{const _0xc10e82=_0x42813b['viewItem'];_0xc10e82['hasClass']('footnotes-divider')&&_0x42813b['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x59b5e4['consumable']['consume'](_0xc10e82,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x216115['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x299bda,{writer:_0x7104a2})=>v(_0x7104a2)}),_0x216115['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3861d6,{writer:_0x1bc407})=>{const _0x509910=v(_0x1bc407,{'data-footnotes-list-label':t('Footnotes')}),_0x1447e7=_0x23a66c(_0x509910,_0x1bc407,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1bc407['setCustomProperty']('footnotesDefinitions',!0x0,_0x1447e7),_0x1447e7;}});}['_defineDefinitionConverters'](){const {editor:_0x358893}=this,{conversion:_0x327107,locale:_0x251e01}=_0x358893,_0xc3e2b3=_0x358893['config']['get']('footnotes.multiBlock');_0x327107['for']('upcast')['add'](_0x2859f3=>{_0x2859f3['on']('element:li',(_0x167102,_0x194933,_0x24f13b)=>{const _0x50b310=_0x194933['viewItem'];if(!_0x50b310['hasClass']('footnote-definition')||!_0x50b310['getAttribute']('id'))return;const _0xa209e2=_0x50b310['parent'];if(!_0xa209e2['is']('element','ol')||!_0xa209e2['hasClass']('footnotes-list'))return;if(!_0x24f13b['consumable']['test'](_0x50b310,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x34c81b=_0x24f13b['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x50b310['getAttribute']('id')});if(!_0x24f13b['safeInsert'](_0x34c81b,_0x194933['modelCursor']))return;_0x24f13b['consumable']['consume'](_0x50b310,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0xfb9c7b=Array['from'](_0x50b310['getChildren']())['find'](_0x286f48=>_0x286f48['is']('element')&&_0x286f48['hasClass']('footnote-content'));for(const _0xb12af8 of _0x50b310['getChildren']())_0xb12af8['is']('element')&&(_0x24f13b['consumable']['consume'](_0xb12af8,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x24f13b['consumable']['consume'](_0xb12af8,{'name':!0x0,'classes':'footnote-content'}));if(_0xfb9c7b){if(_0xc3e2b3)_0x24f13b['convertChildren'](_0xfb9c7b,_0x34c81b);else{const _0x5dd066=_0x24f13b['writer']['createElement']('footnoteInlineContent');_0x24f13b['writer']['insert'](_0x5dd066,_0x34c81b),_0x24f13b['convertChildren'](_0xfb9c7b,_0x5dd066);}}_0x24f13b['updateConversionResult'](_0x34c81b,_0x194933);});}),_0x327107['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x387405,{writer:_0x1b4b15})=>b(_0x387405,_0x1b4b15,_0x251e01,{'dataPipeline':!0x0})}),_0x327107['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4faded,{writer:_0x51b664})=>b(_0x4faded,_0x51b664,_0x251e01)});}['_defineBogusParagraphConverters'](){const {editor:_0x35ab1f}=this,{conversion:_0x51445e}=_0x35ab1f;_0x35ab1f['config']['get']('footnotes.multiBlock')?(_0x51445e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x51445e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x35ab1f['model']['document'],'change:data',()=>{!function(_0x1c1be8,_0x23dc6d){const _0x2a2360=_0x1c1be8['document']['differ'],_0x4894a5=new Set();for(const _0x272a06 of _0x2a2360['getChanges']()){const _0x283349='attribute'==_0x272a06['type']?_0x272a06['range']['start']['parent']:_0x272a06['position']['parent'];_0x283349['is']('element','footnoteDefinition')&&_0x4894a5['add'](_0x283349);}for(const _0x10c2e9 of _0x4894a5['values']()){const _0x31c761=Array['from'](_0x10c2e9['getChildren']())['filter'](_0xd110cf=>g(_0xd110cf,_0x23dc6d['mapper']));for(const _0x2c0613 of _0x31c761)_0x23dc6d['reconvertItem'](_0x2c0613);}}(_0x35ab1f['model'],_0x35ab1f['editing']);})):(_0x51445e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x51445e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xd01c01,{writer:_0x4232e8})=>{const _0x5dd97f=_0x4232e8['createContainerElement']('span');return _0x4232e8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5dd97f),_0x5dd97f;}}));}['_defineKeyboardHandlers'](){const {editor:_0xde8932}=this,{editing:_0x49e316,t:t}=_0xde8932,_0x371292=_0xde8932['model']['document']['selection'];_0xde8932['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xde8932['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x49e316['view']['document'],'enter',(_0x430b5e,_0x244865)=>{const _0x27adf2=function(_0x5ca466){const _0x27f386=_0x5ca466['getSelectedElement']();if(_0x27f386?.['is']('element','footnoteRef'))return _0x27f386;return null;}(_0x371292);if(_0x27adf2){const _0x5e04ba=_0x27adf2['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5e04ba),_0x244865['preventDefault'](),_0x430b5e['stop']();}},{'context':_0x2f2ec5});}['_defineClickHandlers'](){const {editor:_0x4d5f57}=this,{editing:_0x28cf23}=_0x4d5f57;_0x4d5f57['editing']['view']['addObserver'](_0x14c5ed),_0x4d5f57['editing']['view']['addObserver'](_0x3896ac);let _0x576fd7=!0x1;this['listenTo'](_0x28cf23['view']['document'],'pointerdown',(_0x35e31b,_0x202841)=>{const {target:_0x3215b5}=_0x202841,_0x4a266d=_0x28cf23['view']['document']['selection'];_0x576fd7=!!(_0x3215b5?.['is']('element','a')&&_0x3215b5['parent']?.['is']('element','sup')&&_0x3215b5['parent']['hasClass']('footnote'))&&_0x4a266d['getSelectedElement']()===_0x3215b5['parent'];},{'priority':'high'}),this['listenTo'](_0x28cf23['view']['document'],'click',(_0xd390af,_0x5f4e3b)=>{const {target:_0x32c164}=_0x5f4e3b;if(!_0x32c164?.['is']('element','a'))return;if(_0x32c164['parent']?.['is']('element','sup')&&_0x32c164['parent']['hasClass']('footnote')&&!_0x576fd7)return void _0x5f4e3b['preventDefault']();let _0x242b79=_0x32c164['getAttribute']('href');if(!_0x242b79?.['startsWith']('#'))return;_0x242b79=_0x242b79['slice'](0x1);let _0x35ee4c=!0x1;(_0x242b79['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x242b79['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x242b79))&&(_0x35ee4c=!0x0),_0x35ee4c&&(_0x5f4e3b['preventDefault'](),_0xd390af['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0xf5d65b}={}){return(_0x449019,{writer:_0x46aaef})=>{if(!p(_0x449019))return null;if(!_0xf5d65b)return _0x46aaef['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5adcfb=_0x46aaef['createContainerElement']('p');return _0x46aaef['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5adcfb),_0x5adcfb;};}function p(_0x53d74e){const {parent:_0x34aa07}=_0x53d74e;if(!_0x34aa07?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x34aa07['childCount'])return!0x1;for(const _0x42555a of _0x53d74e['getAttributeKeys']())if(!_0x42555a['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x42555a)return!0x1;return!0x0;}function g(_0xfdf542,_0x3a1c7f){if(!_0xfdf542['is']('element','paragraph'))return!0x1;const _0x5d904b=_0x3a1c7f['toViewElement'](_0xfdf542);return!!_0x5d904b&&p(_0xfdf542)!==_0x5d904b['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x4f40a7){return _0x2f2ec5(_0x4f40a7)&&_0x4f40a7['is']('containerElement')&&!!_0x4f40a7['getCustomProperty']('footnotesDefinitions');}function v(_0x4dbe1f,_0x4393f7={}){const _0x43aee4=_0x4dbe1f['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x29db1d=_0x4dbe1f['createContainerElement']('ol',{'class':'footnotes-list'},_0x4dbe1f['createSlot']());return _0x4dbe1f['createContainerElement']('div',{'class':'footnotes',..._0x4393f7},[_0x43aee4,_0x29db1d]);}function D(_0x5d6be9,_0x3ca35a){const _0x498abf=_0x5d6be9['getAttribute']('footnoteId'),_0x2e1c74=_0x5d6be9['getAttribute']('footnoteCounter'),_0x2e5b26=_0x3ca35a['createUIElement']('a',{'href':'#'+_0x498abf},function(_0x43b361){const _0x303747=this['toDomElement'](_0x43b361);return _0x303747['textContent']=_0x2e1c74,_0x303747;}),_0x136950=_0x3ca35a['createContainerElement']('sup',{'id':'ref-'+_0x498abf,'class':'footnote'},[_0x2e5b26]);return _0x136950['getFillerOffset']=()=>null,_0x136950;}function b(_0x391d2b,_0x421873,_0x23fcf5,{dataPipeline:_0x499f2e}={}){const {t:t}=_0x23fcf5,_0x157721=_0x391d2b['getAttribute']('footnoteId'),_0x24dd07=_0x421873['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x157721},function(_0x3ef1e8){const _0x247e73=this['toDomElement'](_0x3ef1e8);return _0x247e73['innerText']='^',_0x247e73;}),_0x322b48=_0x499f2e?_0x421873['createContainerElement']('div',{'class':'footnote-content'}):_0x5059fc(_0x421873['createEditableElement']('div',{'class':'footnote-content'}),_0x421873,{'label':t('Footnote\x20content.')});return _0x421873['insert'](_0x421873['createPositionAt'](_0x322b48,0x0),_0x421873['createSlot']()),_0x421873['createContainerElement']('li',{'class':'footnote-definition','id':_0x157721},[_0x24dd07,_0x322b48]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x5a23(_0x1788d9,_0x33e52){const _0x315ec7=_0x315e();return _0x5a23=function(_0x5a2393,_0x28b764){_0x5a2393=_0x5a2393-0x79;let _0x386876=_0x315ec7[_0x5a2393];return _0x386876;},_0x5a23(_0x1788d9,_0x33e52);}const _0x8fdd42=_0x5a23;function _0x315e(){const _0x1a8db7=['7VaHeCF','setAttribute','203106HbBqaU','200696rYfmNw','refresh','157479SAFnaP','get','317762BXjwyH','5hEQPKH','isEnabled','670omTCyt','1354784xnmTmx','_updateFootnotesCounters','getAttribute','isInteger','plugins','759396clsVvA','value','change','getFootnotesDefinitionsObjectElement','footnotesListStart','model','234okEuft','execute'];_0x315e=function(){return _0x1a8db7;};return _0x315e();}(function(_0x256060,_0xc3ada9){const _0x1318d0=_0x5a23,_0x22a2db=_0x256060();while(!![]){try{const _0x37e6b1=parseInt(_0x1318d0(0x88))/0x1+parseInt(_0x1318d0(0x8a))/0x2+-parseInt(_0x1318d0(0x7b))/0x3+-parseInt(_0x1318d0(0x86))/0x4+parseInt(_0x1318d0(0x8b))/0x5*(-parseInt(_0x1318d0(0x85))/0x6)+-parseInt(_0x1318d0(0x83))/0x7*(-parseInt(_0x1318d0(0x8e))/0x8)+parseInt(_0x1318d0(0x81))/0x9*(-parseInt(_0x1318d0(0x8d))/0xa);if(_0x37e6b1===_0xc3ada9)break;else _0x22a2db['push'](_0x22a2db['shift']());}catch(_0x54d421){_0x22a2db['push'](_0x22a2db['shift']());}}}(_0x315e,0x23d79));import{Command as _0x13bf8d}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x2cd6c0}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x13bf8d{[_0x8fdd42(0x87)](){const _0x39a5a2=_0x8fdd42,{editor:_0x2c63c2}=this,_0xca906a=_0x2c63c2[_0x39a5a2(0x7a)][_0x39a5a2(0x89)](_0x2cd6c0)[_0x39a5a2(0x7e)]();this[_0x39a5a2(0x8c)]=!!_0xca906a,this[_0x39a5a2(0x7c)]=_0xca906a?.[_0x39a5a2(0x90)](_0x39a5a2(0x7f))??null;}[_0x8fdd42(0x82)]({value:_0x408e13}){const _0x13e40f=_0x8fdd42,{editor:_0x55e2b4}=this,_0x252178=_0x55e2b4[_0x13e40f(0x7a)][_0x13e40f(0x89)](_0x2cd6c0),_0x11b106=_0x252178[_0x13e40f(0x7e)]();_0x11b106&&Number[_0x13e40f(0x79)](_0x408e13)&&_0x55e2b4[_0x13e40f(0x80)][_0x13e40f(0x7d)](_0x1e940c=>{const _0x178623=_0x13e40f;_0x1e940c[_0x178623(0x84)](_0x178623(0x7f),_0x408e13,_0x11b106),_0x252178[_0x178623(0x8f)](_0x1e940c);});}}
23
+ const _0x186ecb=_0x3280;function _0x3280(_0x8e6bf1,_0x3d7faf){const _0x58c415=_0x58c4();return _0x3280=function(_0x3280ad,_0x56bd27){_0x3280ad=_0x3280ad-0xda;let _0x4880e6=_0x58c415[_0x3280ad];return _0x4880e6;},_0x3280(_0x8e6bf1,_0x3d7faf);}(function(_0x47b14e,_0x2af1df){const _0x45d200=_0x3280,_0x5e9ecf=_0x47b14e();while(!![]){try{const _0x3a9198=parseInt(_0x45d200(0xec))/0x1+-parseInt(_0x45d200(0xe4))/0x2*(-parseInt(_0x45d200(0xed))/0x3)+parseInt(_0x45d200(0xdb))/0x4*(parseInt(_0x45d200(0xe8))/0x5)+-parseInt(_0x45d200(0xdd))/0x6*(parseInt(_0x45d200(0xe5))/0x7)+parseInt(_0x45d200(0xea))/0x8*(parseInt(_0x45d200(0xda))/0x9)+-parseInt(_0x45d200(0xe0))/0xa+parseInt(_0x45d200(0xf0))/0xb;if(_0x3a9198===_0x2af1df)break;else _0x5e9ecf['push'](_0x5e9ecf['shift']());}catch(_0x3faf06){_0x5e9ecf['push'](_0x5e9ecf['shift']());}}}(_0x58c4,0xa7b7a));import{Command as _0x227773}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x44d9ef}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x227773{[_0x186ecb(0xef)](){const _0x285ef5=_0x186ecb,{editor:_0x429dba}=this,_0x17f27b=_0x429dba[_0x285ef5(0xe1)][_0x285ef5(0xdc)](_0x44d9ef)[_0x285ef5(0xee)]();this[_0x285ef5(0xe9)]=!!_0x17f27b,this[_0x285ef5(0xe3)]=_0x17f27b?.[_0x285ef5(0xdf)](_0x285ef5(0xe2))??null;}[_0x186ecb(0xf1)]({value:_0x36e43d}){const _0x598195=_0x186ecb,{editor:_0x537b67}=this,_0x6def12=_0x537b67[_0x598195(0xe1)][_0x598195(0xdc)](_0x44d9ef),_0x34837a=_0x6def12[_0x598195(0xee)]();_0x34837a&&Number[_0x598195(0xeb)](_0x36e43d)&&_0x537b67[_0x598195(0xf2)][_0x598195(0xde)](_0x37bf0d=>{const _0x49df94=_0x598195;_0x37bf0d[_0x49df94(0xe7)](_0x49df94(0xe2),_0x36e43d,_0x34837a),_0x6def12[_0x49df94(0xe6)](_0x37bf0d);});}}function _0x58c4(){const _0x2d4438=['109213nOEtPN','525wlvlCO','getFootnotesDefinitionsObjectElement','refresh','11840994nqvvYQ','execute','model','62433fbtGiU','4mBKQdn','get','6361878cMwcWX','change','getAttribute','9361570WDLQpO','plugins','footnotesListStart','value','9328FckpUx','7TLuqPC','_updateFootnotesCounters','setAttribute','2332630HCFbvY','isEnabled','248qJtdtd','isInteger'];_0x58c4=function(){return _0x2d4438;};return _0x58c4();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1d34(_0x1c94dd,_0x5a68a3){const _0x1f557d=_0x1f55();return _0x1d34=function(_0x1d34f,_0x432563){_0x1d34f=_0x1d34f-0x1ba;let _0x2444dd=_0x1f557d[_0x1d34f];return _0x2444dd;},_0x1d34(_0x1c94dd,_0x5a68a3);}const _0x5cedea=_0x1d34;(function(_0x927e1,_0xb8955b){const _0x1f19da=_0x1d34,_0x161951=_0x927e1();while(!![]){try{const _0x15af49=-parseInt(_0x1f19da(0x1c5))/0x1+parseInt(_0x1f19da(0x1c0))/0x2+-parseInt(_0x1f19da(0x1c3))/0x3+parseInt(_0x1f19da(0x1c9))/0x4+-parseInt(_0x1f19da(0x1c8))/0x5+-parseInt(_0x1f19da(0x1be))/0x6+parseInt(_0x1f19da(0x1bd))/0x7*(parseInt(_0x1f19da(0x1ca))/0x8);if(_0x15af49===_0xb8955b)break;else _0x161951['push'](_0x161951['shift']());}catch(_0x52091b){_0x161951['push'](_0x161951['shift']());}}}(_0x1f55,0xdfb25));import{Command as _0x48d2f8}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x30382e}from'../footnotespropertiesconfig.js';function _0x1f55(){const _0x270733=['change','execute','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','get','getAttribute','model','plugins','3779783geYgUZ','1179174dWuATW','includes','1043292XYZShr','refresh','value','3902352SsvUYc','footnotesListStyle','1824257GbYqXe','isEnabled','setAttribute','4139820YFpccP','897588fQIEuv','64TNAJxv'];_0x1f55=function(){return _0x270733;};return _0x1f55();}import{FootnotesTracker as _0x4a1bc0}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x48d2f8{[_0x5cedea(0x1c1)](){const _0x1b2b0d=_0x5cedea,{editor:_0x4092a7}=this,_0x4841ca=_0x4092a7[_0x1b2b0d(0x1bc)][_0x1b2b0d(0x1cf)](_0x4a1bc0)[_0x1b2b0d(0x1ce)]();this[_0x1b2b0d(0x1c6)]=!!_0x4841ca,this[_0x1b2b0d(0x1c2)]=_0x4841ca?.[_0x1b2b0d(0x1ba)](_0x1b2b0d(0x1c4))??null;}[_0x5cedea(0x1cc)]({value:_0x1ea816}){const _0x5250ce=_0x5cedea,{editor:_0x67d286}=this,_0x39faec=_0x67d286[_0x5250ce(0x1bc)][_0x5250ce(0x1cf)](_0x4a1bc0),_0x18943b=_0x39faec[_0x5250ce(0x1ce)]();_0x18943b&&_0x30382e[_0x5250ce(0x1bf)](_0x1ea816)&&_0x67d286[_0x5250ce(0x1bb)][_0x5250ce(0x1cb)](_0x4d1b9a=>{const _0x576ed3=_0x5250ce;_0x4d1b9a[_0x576ed3(0x1c7)](_0x576ed3(0x1c4),_0x1ea816,_0x18943b),_0x39faec[_0x576ed3(0x1cd)](_0x4d1b9a);});}}
23
+ function _0x5105(_0x251450,_0x1a5cf0){const _0x2737b1=_0x2737();return _0x5105=function(_0x5105cf,_0x2d7b67){_0x5105cf=_0x5105cf-0x70;let _0x3f9dad=_0x2737b1[_0x5105cf];return _0x3f9dad;},_0x5105(_0x251450,_0x1a5cf0);}const _0x39feb0=_0x5105;function _0x2737(){const _0x3344e3=['7285500HpIkkt','execute','refresh','5465tHAcDj','change','13haBsml','footnotesListStyle','8183LdJpMq','12391038EduDuu','7368uAFqoe','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','model','isEnabled','1335frPmQK','8750016GtZycR','get','includes','getAttribute','10QFizdJ','3156oHesDP','75018MOlWsS','1096CAHZdq','value','plugins','setAttribute'];_0x2737=function(){return _0x3344e3;};return _0x2737();}(function(_0x121033,_0x294e04){const _0x487aa6=_0x5105,_0x702dea=_0x121033();while(!![]){try{const _0x5ad181=-parseInt(_0x487aa6(0x7b))/0x1*(-parseInt(_0x487aa6(0x71))/0x2)+parseInt(_0x487aa6(0x84))/0x3*(-parseInt(_0x487aa6(0x70))/0x4)+-parseInt(_0x487aa6(0x79))/0x5*(-parseInt(_0x487aa6(0x7f))/0x6)+-parseInt(_0x487aa6(0x7d))/0x7*(parseInt(_0x487aa6(0x72))/0x8)+-parseInt(_0x487aa6(0x76))/0x9+parseInt(_0x487aa6(0x89))/0xa*(parseInt(_0x487aa6(0x7e))/0xb)+-parseInt(_0x487aa6(0x85))/0xc;if(_0x5ad181===_0x294e04)break;else _0x702dea['push'](_0x702dea['shift']());}catch(_0x452a90){_0x702dea['push'](_0x702dea['shift']());}}}(_0x2737,0xdd471));import{Command as _0x5640f9}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x9fb603}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x45be2e}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x5640f9{[_0x39feb0(0x78)](){const _0x35e02f=_0x39feb0,{editor:_0x3b0cee}=this,_0x52254c=_0x3b0cee[_0x35e02f(0x74)][_0x35e02f(0x86)](_0x45be2e)[_0x35e02f(0x80)]();this[_0x35e02f(0x83)]=!!_0x52254c,this[_0x35e02f(0x73)]=_0x52254c?.[_0x35e02f(0x88)](_0x35e02f(0x7c))??null;}[_0x39feb0(0x77)]({value:_0x44efc1}){const _0x24501a=_0x39feb0,{editor:_0x461214}=this,_0x4d4234=_0x461214[_0x24501a(0x74)][_0x24501a(0x86)](_0x45be2e),_0x43dfe6=_0x4d4234[_0x24501a(0x80)]();_0x43dfe6&&_0x9fb603[_0x24501a(0x87)](_0x44efc1)&&_0x461214[_0x24501a(0x82)][_0x24501a(0x7a)](_0x15907f=>{const _0x32f62b=_0x24501a;_0x15907f[_0x32f62b(0x75)](_0x32f62b(0x7c),_0x44efc1,_0x43dfe6),_0x4d4234[_0x32f62b(0x81)](_0x15907f);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5dee53=_0x4cdb;(function(_0x5ed69b,_0x134333){const _0x4f78f5=_0x4cdb,_0x55b3bf=_0x5ed69b();while(!![]){try{const _0x1d5ff9=parseInt(_0x4f78f5(0x1f5))/0x1*(parseInt(_0x4f78f5(0x1f8))/0x2)+-parseInt(_0x4f78f5(0x1f4))/0x3*(parseInt(_0x4f78f5(0x1f2))/0x4)+-parseInt(_0x4f78f5(0x1fb))/0x5*(-parseInt(_0x4f78f5(0x1fa))/0x6)+parseInt(_0x4f78f5(0x1fc))/0x7+parseInt(_0x4f78f5(0x1f7))/0x8*(parseInt(_0x4f78f5(0x1ff))/0x9)+parseInt(_0x4f78f5(0x1fd))/0xa+-parseInt(_0x4f78f5(0x1f1))/0xb;if(_0x1d5ff9===_0x134333)break;else _0x55b3bf['push'](_0x55b3bf['shift']());}catch(_0x41a384){_0x55b3bf['push'](_0x55b3bf['shift']());}}}(_0x5f54,0x62c41));function _0x5f54(){const _0x3839f0=['34786GsVCYf','upper-latin','7374ZKAqCO','1445NygWIn','1975344UsxAdA','1375590fMzkCf','lower-alpha','595071nZPeyU','upper-alpha','lower-roman','upper-roman','lower-latin','9095493HHmPuj','476fhiWWQ','decimal-leading-zero','12615CxHXZK','17loMcFh','decimal','80Azhwru'];_0x5f54=function(){return _0x3839f0;};return _0x5f54();}function _0x4cdb(_0x42d5d6,_0x101a0c){const _0x5f5414=_0x5f54();return _0x4cdb=function(_0x4cdb4b,_0x557395){_0x4cdb4b=_0x4cdb4b-0x1f0;let _0x56619a=_0x5f5414[_0x4cdb4b];return _0x56619a;},_0x4cdb(_0x42d5d6,_0x101a0c);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5dee53(0x1f6),_0x5dee53(0x1f3),_0x5dee53(0x1f0),_0x5dee53(0x1f9),_0x5dee53(0x1fe),_0x5dee53(0x200),_0x5dee53(0x201),_0x5dee53(0x202)];
23
+ const _0x51c9c9=_0x1f7c;function _0x1f7c(_0x5f3b9d,_0x3580a8){const _0x51d521=_0x51d5();return _0x1f7c=function(_0x1f7cf0,_0x2a2f54){_0x1f7cf0=_0x1f7cf0-0x7d;let _0x21c9a4=_0x51d521[_0x1f7cf0];return _0x21c9a4;},_0x1f7c(_0x5f3b9d,_0x3580a8);}(function(_0x48af30,_0x480f96){const _0x244498=_0x1f7c,_0x128021=_0x48af30();while(!![]){try{const _0x838cf4=parseInt(_0x244498(0x7d))/0x1+-parseInt(_0x244498(0x8b))/0x2+-parseInt(_0x244498(0x7f))/0x3+-parseInt(_0x244498(0x82))/0x4*(-parseInt(_0x244498(0x86))/0x5)+-parseInt(_0x244498(0x8d))/0x6+parseInt(_0x244498(0x83))/0x7*(-parseInt(_0x244498(0x7e))/0x8)+-parseInt(_0x244498(0x88))/0x9*(-parseInt(_0x244498(0x8c))/0xa);if(_0x838cf4===_0x480f96)break;else _0x128021['push'](_0x128021['shift']());}catch(_0x15235a){_0x128021['push'](_0x128021['shift']());}}}(_0x51d5,0xb5ea0));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x51c9c9(0x81),_0x51c9c9(0x8a),_0x51c9c9(0x87),_0x51c9c9(0x84),_0x51c9c9(0x89),_0x51c9c9(0x8e),_0x51c9c9(0x85),_0x51c9c9(0x80)];function _0x51d5(){const _0x3ba6b2=['322208jHzISN','16WfBjov','835356hpCfYI','upper-roman','decimal','8WLTuvA','4635547jyOyEh','upper-latin','lower-roman','1439015SRenUu','lower-latin','1509786TmkZYG','lower-alpha','decimal-leading-zero','140860SbBQqL','100xvTxnz','941460QeOghW','upper-alpha'];_0x51d5=function(){return _0x3ba6b2;};return _0x51d5();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2953f8=_0x1a38;function _0x1a38(_0x146bc1,_0x5d9cd7){const _0x56942a=_0x5694();return _0x1a38=function(_0x1a3869,_0x37bb19){_0x1a3869=_0x1a3869-0x13c;let _0x29aa72=_0x56942a[_0x1a3869];return _0x29aa72;},_0x1a38(_0x146bc1,_0x5d9cd7);}(function(_0x1649fd,_0x5d695e){const _0x3d7b0c=_0x1a38,_0x57aa3e=_0x1649fd();while(!![]){try{const _0x1c1ff8=parseInt(_0x3d7b0c(0x19b))/0x1*(-parseInt(_0x3d7b0c(0x160))/0x2)+-parseInt(_0x3d7b0c(0x16e))/0x3+-parseInt(_0x3d7b0c(0x1a0))/0x4+-parseInt(_0x3d7b0c(0x16b))/0x5*(parseInt(_0x3d7b0c(0x1a2))/0x6)+parseInt(_0x3d7b0c(0x197))/0x7*(parseInt(_0x3d7b0c(0x141))/0x8)+-parseInt(_0x3d7b0c(0x181))/0x9*(parseInt(_0x3d7b0c(0x15f))/0xa)+-parseInt(_0x3d7b0c(0x143))/0xb*(-parseInt(_0x3d7b0c(0x17e))/0xc);if(_0x1c1ff8===_0x5d695e)break;else _0x57aa3e['push'](_0x57aa3e['shift']());}catch(_0x1dbee2){_0x57aa3e['push'](_0x57aa3e['shift']());}}}(_0x5694,0x5c2e4));import{Plugin as _0x5ce8a0}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3e6d6}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x1c5535}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x18483b}from'../footnotestracker.js';import{FootnotesEditing as _0x455b42}from'../footnotesediting.js';function _0x5694(){const _0x50ccca=['define','62652axNCON','_getDefaultStartIndex','toViewElement','1035702OuRyyy','padStart','setStyle','getChildren','max','writer','isPremiumPlugin','type','upper-roman','start','setAttribute','consume','add','model','element','footnotesListStyle','FootnotesPropertiesEditing','_defineConverters','differ','insert','commands','checkAttribute','322HesPdK','_defineSchema','plugins','downcast','19982yEKuUf','nodeAfter','pluginName','fromCharCode','getItems','1556628WPCMOL','modelCursor','434922rRCWit','consumable','editor','decimal-leading-zero','requires','lower-roman','52424LBECfC','createRangeOn','2519ehJBFY','viewItem','footnotesStyle','toLowerCase','footnotesDefinitions','schema','_updateFootnotesCounters','footnotes-list','getStyle','document','setFootnoteFormatter','parseInt','_getDefaultListStyle','for','footnotesListStart','name','item','upper-alpha','extend','toUpperCase','attribute:footnotesListStyle:footnotesDefinitions','isNaN','removeAttribute','footnotes.footnotesProperties.defaultStartIndex','find','registerPostFixer','lower-latin','lower-alpha','10aZIwxx','2uQeXfw','_defineFormatter','from','config','hasClass','footnotesStart','$text','removeStyle','upper-latin','element:ol','get','5PJyNFe','floor','getAttribute','1568313CKjAoG','upcast','list-style-type','_definePostfixer','init','isOfficialPlugin','getChanges','attribute:footnotesListStart:footnotesDefinitions','parent','mapper','position','footnotes.footnotesProperties.defaultListStyle','_formatFootnoteListValue','decimal','hasAttribute'];_0x5694=function(){return _0x50ccca;};return _0x5694();}export class FootnotesPropertiesEditing extends _0x5ce8a0{static get[_0x2953f8(0x19d)](){const _0x4d86a2=_0x2953f8;return _0x4d86a2(0x191);}static get[_0x2953f8(0x13f)](){return[_0x455b42,_0x18483b];}static get[_0x2953f8(0x173)](){return!0x0;}static get[_0x2953f8(0x187)](){return!0x0;}[_0x2953f8(0x172)](){const _0x3a16c7=_0x2953f8,{editor:_0x327540}=this;_0x327540[_0x3a16c7(0x163)][_0x3a16c7(0x17d)](_0x3a16c7(0x179),_0x3a16c7(0x17b)),_0x327540[_0x3a16c7(0x163)][_0x3a16c7(0x17d)](_0x3a16c7(0x15a),0x1),_0x327540[_0x3a16c7(0x195)][_0x3a16c7(0x18d)](_0x3a16c7(0x145),new _0x3e6d6(_0x327540)),_0x327540[_0x3a16c7(0x195)][_0x3a16c7(0x18d)](_0x3a16c7(0x165),new _0x1c5535(_0x327540)),this[_0x3a16c7(0x198)](),this[_0x3a16c7(0x192)](),this[_0x3a16c7(0x161)](),this[_0x3a16c7(0x171)]();}[_0x2953f8(0x198)](){const _0x82d6ab=_0x2953f8,{editor:_0x30d62e}=this,{schema:_0x26bda3}=_0x30d62e[_0x82d6ab(0x18e)];_0x26bda3[_0x82d6ab(0x155)](_0x82d6ab(0x147),{'allowAttributes':[_0x82d6ab(0x190),_0x82d6ab(0x151)]});}[_0x2953f8(0x192)](){const _0x311549=_0x2953f8,{editor:_0x4e3925}=this,{conversion:_0x5830d3,model:_0x3c4db9}=_0x4e3925,{schema:_0x2ce932}=_0x3c4db9;_0x5830d3[_0x311549(0x150)](_0x311549(0x16f))[_0x311549(0x18d)](_0x3c2969=>{const _0x472606=_0x311549;_0x3c2969['on'](_0x472606(0x169),(_0x36c433,_0x21ac1e,_0x3c348c)=>{const _0x43e7e3=_0x472606,_0x52b591=_0x21ac1e[_0x43e7e3(0x144)],_0x28dda1=_0x21ac1e[_0x43e7e3(0x1a1)]?.[_0x43e7e3(0x176)];_0x52b591[_0x43e7e3(0x164)](_0x43e7e3(0x14a))&&_0x28dda1?.['is'](_0x43e7e3(0x18f),_0x43e7e3(0x147))&&(function(_0x7cf415,_0x4661d5,_0x707fce,_0x227b80){const _0xdbce5e=_0x43e7e3;if(!_0x227b80[_0xdbce5e(0x196)](_0x4661d5,_0xdbce5e(0x151)))return;let _0x89273=0x1;const _0x2056b6=_0x707fce[_0xdbce5e(0x13c)][_0xdbce5e(0x18c)](_0x7cf415,{'attributes':_0xdbce5e(0x18a)});if(_0x2056b6){const _0x14cc2a=Number[_0xdbce5e(0x14e)](_0x7cf415[_0xdbce5e(0x16d)](_0xdbce5e(0x18a)),0xa);Number[_0xdbce5e(0x158)](_0x14cc2a)||(_0x89273=_0x14cc2a);}!_0x2056b6&&_0x4661d5[_0xdbce5e(0x17c)](_0xdbce5e(0x151))||_0x707fce[_0xdbce5e(0x186)][_0xdbce5e(0x18b)](_0xdbce5e(0x151),_0x89273,_0x4661d5);}(_0x52b591,_0x28dda1,_0x3c348c,_0x2ce932),function(_0x1155f0,_0x53714b,_0x181f9b,_0x598e52){const _0x25a7e1=_0x43e7e3;if(!_0x598e52[_0x25a7e1(0x196)](_0x53714b,_0x25a7e1(0x190)))return;let _0x5785ad=_0x25a7e1(0x17b),_0x3381af=!0x1;if(_0x181f9b[_0x25a7e1(0x13c)][_0x25a7e1(0x18c)](_0x1155f0,{'attributes':_0x25a7e1(0x188)})){const _0x57a48e={0x1:_0x25a7e1(0x17b),'a':_0x25a7e1(0x15e),'A':_0x25a7e1(0x154),'i':_0x25a7e1(0x140),'I':_0x25a7e1(0x189)}[_0x1155f0[_0x25a7e1(0x16d)](_0x25a7e1(0x188))];_0x57a48e&&(_0x5785ad=_0x57a48e),_0x3381af=!0x0;}_0x181f9b[_0x25a7e1(0x13c)][_0x25a7e1(0x18c)](_0x1155f0,{'styles':_0x25a7e1(0x170)})&&(_0x5785ad=_0x1155f0[_0x25a7e1(0x14b)](_0x25a7e1(0x170)),_0x3381af=!0x0),!_0x3381af&&_0x53714b[_0x25a7e1(0x17c)](_0x25a7e1(0x190))||_0x181f9b[_0x25a7e1(0x186)][_0x25a7e1(0x18b)](_0x25a7e1(0x190),_0x5785ad,_0x53714b);}(_0x52b591,_0x28dda1,_0x3c348c,_0x2ce932));});}),_0x5830d3[_0x311549(0x150)](_0x311549(0x19a))[_0x311549(0x18d)](_0x51ff28=>{const _0x588317=_0x311549;_0x51ff28['on'](_0x588317(0x175),(_0x5e2d4e,_0x45069a,_0x4f0ac1)=>{const _0x58b877=_0x588317;if(!_0x4f0ac1[_0x58b877(0x13c)][_0x58b877(0x18c)](_0x45069a[_0x58b877(0x153)],_0x5e2d4e[_0x58b877(0x152)]))return;const _0x1c3485=M(_0x45069a[_0x58b877(0x153)],_0x4f0ac1[_0x58b877(0x177)]),{attributeNewValue:_0x20b22d}=_0x45069a;null==_0x20b22d||0x1===_0x20b22d?_0x4f0ac1[_0x58b877(0x186)][_0x58b877(0x159)](_0x58b877(0x18a),_0x1c3485):_0x4f0ac1[_0x58b877(0x186)][_0x58b877(0x18b)](_0x58b877(0x18a),String(_0x20b22d),_0x1c3485);}),_0x51ff28['on'](_0x588317(0x157),(_0xb622c6,_0x37eb4a,_0xa7bae0)=>{const _0x214de1=_0x588317;if(!_0xa7bae0[_0x214de1(0x13c)][_0x214de1(0x18c)](_0x37eb4a[_0x214de1(0x153)],_0xb622c6[_0x214de1(0x152)]))return;const _0x117a6c=M(_0x37eb4a[_0x214de1(0x153)],_0xa7bae0[_0x214de1(0x177)]),{attributeNewValue:_0x2ab82e}=_0x37eb4a;_0x2ab82e&&_0x214de1(0x17b)!==_0x2ab82e?_0xa7bae0[_0x214de1(0x186)][_0x214de1(0x183)](_0x214de1(0x170),_0x2ab82e,_0x117a6c):_0xa7bae0[_0x214de1(0x186)][_0x214de1(0x167)](_0x214de1(0x170),_0x117a6c);});});}[_0x2953f8(0x171)](){const _0x40799b=_0x2953f8,{editor:_0x5f1d1e}=this,{model:_0x424643}=_0x5f1d1e,_0x277512=_0x5f1d1e[_0x40799b(0x199)][_0x40799b(0x16a)](_0x18483b),_0x36996d=this[_0x40799b(0x14f)](),_0x2a8ad1=this[_0x40799b(0x17f)]();_0x424643[_0x40799b(0x14c)][_0x40799b(0x15c)](_0x11ccce=>{const _0x51d9df=_0x40799b,_0x3eb1c5=_0x424643[_0x51d9df(0x14c)][_0x51d9df(0x193)][_0x51d9df(0x174)]();let _0x2b4143=!0x1;for(const _0x1070b7 of _0x3eb1c5){if(_0x51d9df(0x194)!==_0x1070b7[_0x51d9df(0x188)]||_0x51d9df(0x166)===_0x1070b7[_0x51d9df(0x152)])continue;const _0x23cd24=_0x424643[_0x51d9df(0x142)](_0x1070b7[_0x51d9df(0x178)][_0x51d9df(0x19c)]);for(const _0x119b43 of _0x23cd24[_0x51d9df(0x19f)]())_0x119b43['is'](_0x51d9df(0x18f),_0x51d9df(0x147))&&(!_0x119b43[_0x51d9df(0x17c)](_0x51d9df(0x151))&&_0x424643[_0x51d9df(0x148)][_0x51d9df(0x196)](_0x119b43,_0x51d9df(0x151))&&(_0x11ccce[_0x51d9df(0x18b)](_0x51d9df(0x151),_0x2a8ad1,_0x119b43),_0x2b4143=!0x0),!_0x119b43[_0x51d9df(0x17c)](_0x51d9df(0x190))&&_0x424643[_0x51d9df(0x148)][_0x51d9df(0x196)](_0x119b43,_0x51d9df(0x190))&&(_0x11ccce[_0x51d9df(0x18b)](_0x51d9df(0x190),_0x36996d,_0x119b43),_0x2b4143=!0x0));}return _0x2b4143&&_0x277512[_0x51d9df(0x149)](_0x11ccce),_0x2b4143;});}[_0x2953f8(0x161)](){const _0x428328=_0x2953f8,{editor:_0x4a449a}=this;_0x4a449a[_0x428328(0x199)][_0x428328(0x16a)](_0x18483b)[_0x428328(0x14d)](_0x1b39c3=>this[_0x428328(0x17a)](_0x1b39c3));}[_0x2953f8(0x14f)](){const _0x2dea55=_0x2953f8;return this[_0x2dea55(0x13d)][_0x2dea55(0x163)][_0x2dea55(0x16a)](_0x2dea55(0x179));}[_0x2953f8(0x17f)](){const _0x12f0c5=_0x2953f8;return this[_0x12f0c5(0x13d)][_0x12f0c5(0x163)][_0x12f0c5(0x16a)](_0x12f0c5(0x15a));}[_0x2953f8(0x17a)]({container:_0x514115,value:_0x28ff79,digits:_0x281d3e}){const _0x599ad4=_0x2953f8,_0x23f05c=_0x514115[_0x599ad4(0x16d)](_0x599ad4(0x190)),_0x5eba2d=_0x514115[_0x599ad4(0x16d)](_0x599ad4(0x151)),_0x2459a0=Math[_0x599ad4(0x16c)](_0x28ff79)+(_0x5eba2d??0x1)-0x1;switch(_0x23f05c){case _0x599ad4(0x13e):return function(_0x46d799,_0x72e95f){const _0xfe8ec6=_0x599ad4;return String(_0x46d799)[_0xfe8ec6(0x182)](_0x72e95f,'0');}(_0x2459a0,Math[_0x599ad4(0x185)](0x2,_0x281d3e));case _0x599ad4(0x15e):case _0x599ad4(0x15d):return N(_0x2459a0,!0x1);case _0x599ad4(0x154):case _0x599ad4(0x168):return N(_0x2459a0,!0x0);case _0x599ad4(0x140):return X(_0x2459a0,!0x1);case _0x599ad4(0x189):return X(_0x2459a0,!0x0);default:return String(_0x2459a0);}}}function M(_0x2e4dba,_0x4f747c){const _0x553260=_0x2953f8,_0xa3c2eb=_0x4f747c[_0x553260(0x180)](_0x2e4dba);return Array[_0x553260(0x162)](_0xa3c2eb[_0x553260(0x184)]())[_0x553260(0x15b)](_0x24e1ee=>_0x24e1ee['is'](_0x553260(0x18f),'ol')&&_0x24e1ee[_0x553260(0x164)](_0x553260(0x14a)));}function N(_0x40440b,_0x22eef4){const _0x496954=_0x2953f8;let _0x21c6d1='',_0x3126b2=_0x40440b;for(;_0x3126b2>0x0;){const _0x4c9113=(_0x3126b2-0x1)%0x1a;_0x21c6d1=String[_0x496954(0x19e)](0x61+_0x4c9113)+_0x21c6d1,_0x3126b2=Math[_0x496954(0x16c)]((_0x3126b2-0x1)/0x1a);}return _0x22eef4?_0x21c6d1[_0x496954(0x156)]():_0x21c6d1;}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(_0x7378f4,_0x4797bc){const _0x3870f0=_0x2953f8;let _0x41d134='',_0x44e505=_0x7378f4;for(const {value:_0xd58e25,numeral:_0xb41ef3}of V)for(;_0x44e505>=_0xd58e25;)_0x41d134+=_0xb41ef3,_0x44e505-=_0xd58e25;return _0x4797bc?_0x41d134:_0x41d134[_0x3870f0(0x146)]();}
23
+ const _0x1e1a41=_0x2095;(function(_0x9c668d,_0x1cb7ee){const _0x42545b=_0x2095,_0x10be91=_0x9c668d();while(!![]){try{const _0x1b223d=-parseInt(_0x42545b(0x202))/0x1*(parseInt(_0x42545b(0x21f))/0x2)+-parseInt(_0x42545b(0x1fd))/0x3*(parseInt(_0x42545b(0x215))/0x4)+parseInt(_0x42545b(0x217))/0x5+-parseInt(_0x42545b(0x238))/0x6*(parseInt(_0x42545b(0x213))/0x7)+parseInt(_0x42545b(0x1e3))/0x8*(-parseInt(_0x42545b(0x224))/0x9)+-parseInt(_0x42545b(0x225))/0xa+parseInt(_0x42545b(0x219))/0xb*(parseInt(_0x42545b(0x23b))/0xc);if(_0x1b223d===_0x1cb7ee)break;else _0x10be91['push'](_0x10be91['shift']());}catch(_0x165e81){_0x10be91['push'](_0x10be91['shift']());}}}(_0x23be,0xcda08));import{Plugin as _0x2a2615}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x44f3f1}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0xea854f}from'./commands/footnotesstartcommand.js';function _0x23be(){const _0x65e5fc=['define','mapper','47578488XqaANp','footnotesDefinitions','nodeAfter','plugins','getStyle','isPremiumPlugin','start','insert','attribute:footnotesListStyle:footnotesDefinitions','init','FootnotesPropertiesEditing','toUpperCase','downcast','removeAttribute','element:ol','16ubUXdE','commands','element','padStart','schema','from','$text','for','footnotes.footnotesProperties.defaultListStyle','footnotes.footnotesProperties.defaultStartIndex','isNaN','consume','removeStyle','getChanges','type','getItems','decimal-leading-zero','editor','_formatFootnoteListValue','createRangeOn','footnotesStyle','viewItem','attribute:footnotesListStart:footnotesDefinitions','footnotesListStyle','registerPostFixer','_getDefaultListStyle','189SJkjrk','find','parseInt','item','upcast','1642482oBBUFt','fromCharCode','pluginName','decimal','lower-alpha','footnotesListStart','hasClass','getAttribute','upper-latin','modelCursor','setFootnoteFormatter','_definePostfixer','footnotes-list','consumable','requires','_getDefaultStartIndex','_defineSchema','2305625poIPoe','toViewElement','60852fOknMz','toLowerCase','7252505QSFpRR','_defineConverters','11GqLOWW','_defineFormatter','max','hasAttribute','parent','position','2ShoEet','lower-roman','setStyle','isOfficialPlugin','upper-roman','2241018vSQyfm','11448470PqbdBd','differ','lower-latin','list-style-type','get','model','add','writer','checkAttribute','name','floor','_updateFootnotesCounters','document','footnotesStart','extend','config','getChildren','setAttribute','upper-alpha','6iZfjBl'];_0x23be=function(){return _0x65e5fc;};return _0x23be();}import{FootnotesTracker as _0x4975db}from'../footnotestracker.js';import{FootnotesEditing as _0xcca2f4}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x2a2615{static get[_0x1e1a41(0x204)](){const _0xf1cea7=_0x1e1a41;return _0xf1cea7(0x1de);}static get[_0x1e1a41(0x210)](){return[_0xcca2f4,_0x4975db];}static get[_0x1e1a41(0x222)](){return!0x0;}static get[_0x1e1a41(0x240)](){return!0x0;}[_0x1e1a41(0x1dd)](){const _0x390fd7=_0x1e1a41,{editor:_0x50cba3}=this;_0x50cba3[_0x390fd7(0x234)][_0x390fd7(0x239)](_0x390fd7(0x1eb),_0x390fd7(0x205)),_0x50cba3[_0x390fd7(0x234)][_0x390fd7(0x239)](_0x390fd7(0x1ec),0x1),_0x50cba3[_0x390fd7(0x1e4)][_0x390fd7(0x22b)](_0x390fd7(0x1f7),new _0x44f3f1(_0x50cba3)),_0x50cba3[_0x390fd7(0x1e4)][_0x390fd7(0x22b)](_0x390fd7(0x232),new _0xea854f(_0x50cba3)),this[_0x390fd7(0x212)](),this[_0x390fd7(0x218)](),this[_0x390fd7(0x21a)](),this[_0x390fd7(0x20d)]();}[_0x1e1a41(0x212)](){const _0x2eb0aa=_0x1e1a41,{editor:_0x5a462e}=this,{schema:_0x4f1b10}=_0x5a462e[_0x2eb0aa(0x22a)];_0x4f1b10[_0x2eb0aa(0x233)](_0x2eb0aa(0x23c),{'allowAttributes':[_0x2eb0aa(0x1fa),_0x2eb0aa(0x207)]});}[_0x1e1a41(0x218)](){const _0x4b5eef=_0x1e1a41,{editor:_0x19e227}=this,{conversion:_0x2bab1e,model:_0x300d81}=_0x19e227,{schema:_0x149600}=_0x300d81;_0x2bab1e[_0x4b5eef(0x1ea)](_0x4b5eef(0x201))[_0x4b5eef(0x22b)](_0x361694=>{const _0x3c5641=_0x4b5eef;_0x361694['on'](_0x3c5641(0x1e2),(_0x5a7d69,_0x1630f1,_0x5a4b4f)=>{const _0x557c55=_0x3c5641,_0x344708=_0x1630f1[_0x557c55(0x1f8)],_0x3a3f0d=_0x1630f1[_0x557c55(0x20b)]?.[_0x557c55(0x21d)];_0x344708[_0x557c55(0x208)](_0x557c55(0x20e))&&_0x3a3f0d?.['is'](_0x557c55(0x1e5),_0x557c55(0x23c))&&(function(_0x1cf689,_0x17cee7,_0xa334de,_0x50bf2a){const _0x3b1ae8=_0x557c55;if(!_0x50bf2a[_0x3b1ae8(0x22d)](_0x17cee7,_0x3b1ae8(0x207)))return;let _0x29de77=0x1;const _0x547508=_0xa334de[_0x3b1ae8(0x20f)][_0x3b1ae8(0x1ee)](_0x1cf689,{'attributes':_0x3b1ae8(0x241)});if(_0x547508){const _0x73fc84=Number[_0x3b1ae8(0x1ff)](_0x1cf689[_0x3b1ae8(0x209)](_0x3b1ae8(0x241)),0xa);Number[_0x3b1ae8(0x1ed)](_0x73fc84)||(_0x29de77=_0x73fc84);}!_0x547508&&_0x17cee7[_0x3b1ae8(0x21c)](_0x3b1ae8(0x207))||_0xa334de[_0x3b1ae8(0x22c)][_0x3b1ae8(0x236)](_0x3b1ae8(0x207),_0x29de77,_0x17cee7);}(_0x344708,_0x3a3f0d,_0x5a4b4f,_0x149600),function(_0x3d7b4b,_0x2a62cb,_0x4204ba,_0x274ff4){const _0x226e4f=_0x557c55;if(!_0x274ff4[_0x226e4f(0x22d)](_0x2a62cb,_0x226e4f(0x1fa)))return;let _0x44cc05=_0x226e4f(0x205),_0x13427f=!0x1;if(_0x4204ba[_0x226e4f(0x20f)][_0x226e4f(0x1ee)](_0x3d7b4b,{'attributes':_0x226e4f(0x1f1)})){const _0x2b03e7={0x1:_0x226e4f(0x205),'a':_0x226e4f(0x206),'A':_0x226e4f(0x237),'i':_0x226e4f(0x220),'I':_0x226e4f(0x223)}[_0x3d7b4b[_0x226e4f(0x209)](_0x226e4f(0x1f1))];_0x2b03e7&&(_0x44cc05=_0x2b03e7),_0x13427f=!0x0;}_0x4204ba[_0x226e4f(0x20f)][_0x226e4f(0x1ee)](_0x3d7b4b,{'styles':_0x226e4f(0x228)})&&(_0x44cc05=_0x3d7b4b[_0x226e4f(0x23f)](_0x226e4f(0x228)),_0x13427f=!0x0),!_0x13427f&&_0x2a62cb[_0x226e4f(0x21c)](_0x226e4f(0x1fa))||_0x4204ba[_0x226e4f(0x22c)][_0x226e4f(0x236)](_0x226e4f(0x1fa),_0x44cc05,_0x2a62cb);}(_0x344708,_0x3a3f0d,_0x5a4b4f,_0x149600));});}),_0x2bab1e[_0x4b5eef(0x1ea)](_0x4b5eef(0x1e0))[_0x4b5eef(0x22b)](_0x1c0d87=>{const _0x372de2=_0x4b5eef;_0x1c0d87['on'](_0x372de2(0x1f9),(_0x10ef53,_0x49591b,_0x218e89)=>{const _0x2b218f=_0x372de2;if(!_0x218e89[_0x2b218f(0x20f)][_0x2b218f(0x1ee)](_0x49591b[_0x2b218f(0x200)],_0x10ef53[_0x2b218f(0x22e)]))return;const _0x5c532b=M(_0x49591b[_0x2b218f(0x200)],_0x218e89[_0x2b218f(0x23a)]),{attributeNewValue:_0x2f705d}=_0x49591b;null==_0x2f705d||0x1===_0x2f705d?_0x218e89[_0x2b218f(0x22c)][_0x2b218f(0x1e1)](_0x2b218f(0x241),_0x5c532b):_0x218e89[_0x2b218f(0x22c)][_0x2b218f(0x236)](_0x2b218f(0x241),String(_0x2f705d),_0x5c532b);}),_0x1c0d87['on'](_0x372de2(0x1dc),(_0x1f869a,_0x55a586,_0x3aad2f)=>{const _0x37fca8=_0x372de2;if(!_0x3aad2f[_0x37fca8(0x20f)][_0x37fca8(0x1ee)](_0x55a586[_0x37fca8(0x200)],_0x1f869a[_0x37fca8(0x22e)]))return;const _0x223a0b=M(_0x55a586[_0x37fca8(0x200)],_0x3aad2f[_0x37fca8(0x23a)]),{attributeNewValue:_0x3e662a}=_0x55a586;_0x3e662a&&_0x37fca8(0x205)!==_0x3e662a?_0x3aad2f[_0x37fca8(0x22c)][_0x37fca8(0x221)](_0x37fca8(0x228),_0x3e662a,_0x223a0b):_0x3aad2f[_0x37fca8(0x22c)][_0x37fca8(0x1ef)](_0x37fca8(0x228),_0x223a0b);});});}[_0x1e1a41(0x20d)](){const _0xf66b22=_0x1e1a41,{editor:_0x4fccb8}=this,{model:_0x501020}=_0x4fccb8,_0x43102e=_0x4fccb8[_0xf66b22(0x23e)][_0xf66b22(0x229)](_0x4975db),_0x3f13c5=this[_0xf66b22(0x1fc)](),_0x4e7b6a=this[_0xf66b22(0x211)]();_0x501020[_0xf66b22(0x231)][_0xf66b22(0x1fb)](_0xba259b=>{const _0x313214=_0xf66b22,_0x360a27=_0x501020[_0x313214(0x231)][_0x313214(0x226)][_0x313214(0x1f0)]();let _0x4d9c65=!0x1;for(const _0x2a6b5e of _0x360a27){if(_0x313214(0x1db)!==_0x2a6b5e[_0x313214(0x1f1)]||_0x313214(0x1e9)===_0x2a6b5e[_0x313214(0x22e)])continue;const _0x6625ea=_0x501020[_0x313214(0x1f6)](_0x2a6b5e[_0x313214(0x21e)][_0x313214(0x23d)]);for(const _0xa3ed1e of _0x6625ea[_0x313214(0x1f2)]())_0xa3ed1e['is'](_0x313214(0x1e5),_0x313214(0x23c))&&(!_0xa3ed1e[_0x313214(0x21c)](_0x313214(0x207))&&_0x501020[_0x313214(0x1e7)][_0x313214(0x22d)](_0xa3ed1e,_0x313214(0x207))&&(_0xba259b[_0x313214(0x236)](_0x313214(0x207),_0x4e7b6a,_0xa3ed1e),_0x4d9c65=!0x0),!_0xa3ed1e[_0x313214(0x21c)](_0x313214(0x1fa))&&_0x501020[_0x313214(0x1e7)][_0x313214(0x22d)](_0xa3ed1e,_0x313214(0x1fa))&&(_0xba259b[_0x313214(0x236)](_0x313214(0x1fa),_0x3f13c5,_0xa3ed1e),_0x4d9c65=!0x0));}return _0x4d9c65&&_0x43102e[_0x313214(0x230)](_0xba259b),_0x4d9c65;});}[_0x1e1a41(0x21a)](){const _0x1cfa6b=_0x1e1a41,{editor:_0x47f676}=this;_0x47f676[_0x1cfa6b(0x23e)][_0x1cfa6b(0x229)](_0x4975db)[_0x1cfa6b(0x20c)](_0x378c08=>this[_0x1cfa6b(0x1f5)](_0x378c08));}[_0x1e1a41(0x1fc)](){const _0x2eb45e=_0x1e1a41;return this[_0x2eb45e(0x1f4)][_0x2eb45e(0x234)][_0x2eb45e(0x229)](_0x2eb45e(0x1eb));}[_0x1e1a41(0x211)](){const _0x12a2d0=_0x1e1a41;return this[_0x12a2d0(0x1f4)][_0x12a2d0(0x234)][_0x12a2d0(0x229)](_0x12a2d0(0x1ec));}[_0x1e1a41(0x1f5)]({container:_0x1e2a91,value:_0x206f41,digits:_0x4ca966}){const _0x4895c8=_0x1e1a41,_0x4df352=_0x1e2a91[_0x4895c8(0x209)](_0x4895c8(0x1fa)),_0x398d5b=_0x1e2a91[_0x4895c8(0x209)](_0x4895c8(0x207)),_0x5ac235=Math[_0x4895c8(0x22f)](_0x206f41)+(_0x398d5b??0x1)-0x1;switch(_0x4df352){case _0x4895c8(0x1f3):return function(_0x1835d9,_0x3654f5){const _0x43633b=_0x4895c8;return String(_0x1835d9)[_0x43633b(0x1e6)](_0x3654f5,'0');}(_0x5ac235,Math[_0x4895c8(0x21b)](0x2,_0x4ca966));case _0x4895c8(0x206):case _0x4895c8(0x227):return N(_0x5ac235,!0x1);case _0x4895c8(0x237):case _0x4895c8(0x20a):return N(_0x5ac235,!0x0);case _0x4895c8(0x220):return X(_0x5ac235,!0x1);case _0x4895c8(0x223):return X(_0x5ac235,!0x0);default:return String(_0x5ac235);}}}function _0x2095(_0x3c0947,_0x2bff4c){const _0x23be8e=_0x23be();return _0x2095=function(_0x2095b6,_0x20794d){_0x2095b6=_0x2095b6-0x1db;let _0x36c09d=_0x23be8e[_0x2095b6];return _0x36c09d;},_0x2095(_0x3c0947,_0x2bff4c);}function M(_0x3fb043,_0x19255d){const _0x187a16=_0x1e1a41,_0x518320=_0x19255d[_0x187a16(0x214)](_0x3fb043);return Array[_0x187a16(0x1e8)](_0x518320[_0x187a16(0x235)]())[_0x187a16(0x1fe)](_0x54f465=>_0x54f465['is'](_0x187a16(0x1e5),'ol')&&_0x54f465[_0x187a16(0x208)](_0x187a16(0x20e)));}function N(_0x41a49b,_0x574384){const _0x22e6dd=_0x1e1a41;let _0xf887ae='',_0x52e508=_0x41a49b;for(;_0x52e508>0x0;){const _0xd7e446=(_0x52e508-0x1)%0x1a;_0xf887ae=String[_0x22e6dd(0x203)](0x61+_0xd7e446)+_0xf887ae,_0x52e508=Math[_0x22e6dd(0x22f)]((_0x52e508-0x1)/0x1a);}return _0x574384?_0xf887ae[_0x22e6dd(0x1df)]():_0xf887ae;}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(_0x2d8801,_0x36e712){const _0x545c83=_0x1e1a41;let _0xc5087c='',_0x2183e3=_0x2d8801;for(const {value:_0x38399c,numeral:_0x51aa0e}of V)for(;_0x2183e3>=_0x38399c;)_0xc5087c+=_0x51aa0e,_0x2183e3-=_0x38399c;return _0x36e712?_0xc5087c:_0xc5087c[_0x545c83(0x216)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x33cc8d,ButtonView as _0x42489b,ContextualBalloon as _0x32e106,createDropdown as _0x1671c7}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x4fe21c}from'ckeditor5/src/widget.js';import{Plugin as _0x4ec175}from'ckeditor5/src/core.js';import{IconFootnote as _0x67f1bb,IconListStyleDecimal as _0x1b0f44,IconListStyleDecimalLeadingZero as _0x1eb3a2,IconListStyleLowerLatin as _0x422b3f,IconListStyleLowerRoman as _0x907f30,IconListStyleUpperLatin as _0x506e9e,IconListStyleUpperRoman as _0xabca62}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4307e6}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1749e8}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4ec175{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x32e106,_0x4fe21c];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x30d5cf}=this,{componentFactory:_0x277784}=_0x30d5cf['ui'];_0x30d5cf['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x277784['add']('footnotesStyle',function(_0x1bbd66){return _0x41d8c6=>{const {t:t}=_0x41d8c6,_0x5a3fa2=_0x1bbd66['commands']['get']('footnotesStyle'),_0x20b716=_0x1671c7(_0x41d8c6),{buttonView:_0x25052f}=_0x20b716;return _0x20b716['class']='ck-footnotes-styles-dropdown',_0x20b716['bind']('isEnabled')['to'](_0x5a3fa2,'isEnabled'),_0x25052f['set']({'label':t('Footnotes\x20style'),'icon':_0x67f1bb,'tooltip':!0x0}),_0x20b716['once']('change:isOpen',()=>{const _0x2219e9=function({editor:_0xe5da7d,dropdownView:_0x34c831}){const {t:t}=_0xe5da7d['locale'],_0x5197e4=t('Footnotes\x20definitions\x20styles'),_0x95cc4f=function(_0xba9dcc){const t=_0xba9dcc['locale']['t'],_0x45c543=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1b0f44},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x1eb3a2},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x907f30},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xabca62},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x422b3f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x506e9e}];return _0x45c543['map'](function(_0x59a50e){const _0x59be66=_0x59a50e['locale'];return({label:_0xbdb3a9,icon:_0x57b22c,tooltip:_0x127cbd,style:_0x30be1f})=>{const _0x9a4cac=_0x59a50e['commands']['get']('footnotesStyle'),_0xf0c879=new _0x42489b(_0x59be66);return _0xf0c879['set']({'label':_0xbdb3a9,'icon':_0x57b22c,'tooltip':_0x127cbd}),_0xf0c879['bind']('isOn')['to'](_0x9a4cac,'value',_0x4b4b60=>_0x4b4b60===_0x30be1f),_0xf0c879['bind']('isEnabled')['to'](_0x9a4cac,'isEnabled'),_0xf0c879['on']('execute',()=>{_0x59a50e['execute']('footnotesStyle',{'value':_0x30be1f}),_0x59a50e['editing']['view']['focus']();}),_0xf0c879;};}(_0xba9dcc));}(_0xe5da7d),_0xaf0343=new _0x4307e6(_0xe5da7d['locale'],{'styleGridAriaLabel':_0x5197e4,'styleButtonViews':_0x95cc4f});return _0xaf0343['delegate']('execute')['to'](_0x34c831),_0xaf0343['on']('footnotesListStart',(_0x128763,_0x18a745)=>{_0xe5da7d['execute']('footnotesStart',{'value':_0x18a745['startIndex']});}),_0xaf0343;}({'editor':_0x1bbd66,'dropdownView':_0x20b716});_0x20b716['panelView']['children']['add'](_0x2219e9);}),_0x20b716;};}(_0x30d5cf));}['afterInit'](){const {editor:_0x38214f}=this,{t:t}=_0x38214f['locale'],_0x4251a8=_0x38214f['plugins']['get'](_0x4fe21c),{defaultPositions:_0x13d3f0}=_0x33cc8d;_0x4251a8['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x38214f['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x52ec7b=>{let _0x23e848=_0x52ec7b['getFirstPosition']()?.['parent'];return _0x23e848?.['is']('$text')&&(_0x23e848=_0x23e848['parent']),_0x23e848?.['is']('element')?_0x23e848['findAncestor'](_0x1749e8):null;},'positions':[_0x13d3f0['southArrowNorth'],_0x13d3f0['southArrowNorthMiddleWest'],_0x13d3f0['southArrowNorthMiddleEast'],_0x13d3f0['southArrowNorthWest'],_0x13d3f0['southArrowNorthEast'],_0x13d3f0['northArrowSouth'],_0x13d3f0['northArrowSouthMiddleWest'],_0x13d3f0['northArrowSouthMiddleEast'],_0x13d3f0['northArrowSouthWest'],_0x13d3f0['northArrowSouthEast'],_0x13d3f0['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x1b9f2b,ButtonView as _0x257058,ContextualBalloon as _0x3fb0d1,createDropdown as _0x5c0021}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x278212}from'ckeditor5/src/widget.js';import{Plugin as _0x4f7b6e}from'ckeditor5/src/core.js';import{IconFootnote as _0x398915,IconListStyleDecimal as _0x3c652b,IconListStyleDecimalLeadingZero as _0x322230,IconListStyleLowerLatin as _0x1349c0,IconListStyleLowerRoman as _0x4ca886,IconListStyleUpperLatin as _0x57c1e7,IconListStyleUpperRoman as _0x356d34}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x160dbf}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2c220d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4f7b6e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3fb0d1,_0x278212];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x9cc795}=this,{componentFactory:_0x5044d8}=_0x9cc795['ui'];_0x9cc795['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x5044d8['add']('footnotesStyle',function(_0x28f274){return _0x3c9145=>{const {t:t}=_0x3c9145,_0x424207=_0x28f274['commands']['get']('footnotesStyle'),_0x4f8b97=_0x5c0021(_0x3c9145),{buttonView:_0x158d7e}=_0x4f8b97;return _0x4f8b97['class']='ck-footnotes-styles-dropdown',_0x4f8b97['bind']('isEnabled')['to'](_0x424207,'isEnabled'),_0x158d7e['set']({'label':t('Footnotes\x20style'),'icon':_0x398915,'tooltip':!0x0}),_0x4f8b97['once']('change:isOpen',()=>{const _0x48b2e9=function({editor:_0x47f73d,dropdownView:_0x4fdecf}){const {t:t}=_0x47f73d['locale'],_0x43b6fb=t('Footnotes\x20definitions\x20styles'),_0x308e87=function(_0x2b49e2){const t=_0x2b49e2['locale']['t'],_0x1fd042=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3c652b},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x322230},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x4ca886},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x356d34},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x1349c0},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x57c1e7}];return _0x1fd042['map'](function(_0x5ecbc6){const _0x3c4c18=_0x5ecbc6['locale'];return({label:_0x57189f,icon:_0x234d39,tooltip:_0x2f0908,style:_0x369165})=>{const _0x4df543=_0x5ecbc6['commands']['get']('footnotesStyle'),_0x5d3ad1=new _0x257058(_0x3c4c18);return _0x5d3ad1['set']({'label':_0x57189f,'icon':_0x234d39,'tooltip':_0x2f0908}),_0x5d3ad1['bind']('isOn')['to'](_0x4df543,'value',_0x41dfcb=>_0x41dfcb===_0x369165),_0x5d3ad1['bind']('isEnabled')['to'](_0x4df543,'isEnabled'),_0x5d3ad1['on']('execute',()=>{_0x5ecbc6['execute']('footnotesStyle',{'value':_0x369165}),_0x5ecbc6['editing']['view']['focus']();}),_0x5d3ad1;};}(_0x2b49e2));}(_0x47f73d),_0x49760b=new _0x160dbf(_0x47f73d['locale'],{'styleGridAriaLabel':_0x43b6fb,'styleButtonViews':_0x308e87});return _0x49760b['delegate']('execute')['to'](_0x4fdecf),_0x49760b['on']('footnotesListStart',(_0x4a9fcc,_0x40fa76)=>{_0x47f73d['execute']('footnotesStart',{'value':_0x40fa76['startIndex']});}),_0x49760b;}({'editor':_0x28f274,'dropdownView':_0x4f8b97});_0x4f8b97['panelView']['children']['add'](_0x48b2e9);}),_0x4f8b97;};}(_0x9cc795));}['afterInit'](){const {editor:_0x297577}=this,{t:t}=_0x297577['locale'],_0xff8e1f=_0x297577['plugins']['get'](_0x278212),{defaultPositions:_0x21a81c}=_0x1b9f2b;_0xff8e1f['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x297577['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x21a675=>{let _0x7e18c7=_0x21a675['getFirstPosition']()?.['parent'];return _0x7e18c7?.['is']('$text')&&(_0x7e18c7=_0x7e18c7['parent']),_0x7e18c7?.['is']('element')?_0x7e18c7['findAncestor'](_0x2c220d):null;},'positions':[_0x21a81c['southArrowNorth'],_0x21a81c['southArrowNorthMiddleWest'],_0x21a81c['southArrowNorthMiddleEast'],_0x21a81c['southArrowNorthWest'],_0x21a81c['southArrowNorthEast'],_0x21a81c['northArrowSouth'],_0x21a81c['northArrowSouthMiddleWest'],_0x21a81c['northArrowSouthMiddleEast'],_0x21a81c['northArrowSouthWest'],_0x21a81c['northArrowSouthEast'],_0x21a81c['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4f9f08,View as _0x13375e,ViewCollection as _0x2b997b,FocusCycler as _0x3720d5,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 _0x13375e{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2b997b();['focusCycler'];constructor(_0x3d85a6,{styleButtonViews:_0x3a9f59,styleGridAriaLabel:_0x171b5e}){super(_0x3d85a6),(this['focusCycler']=new _0x3720d5({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x3a9f59,_0x171b5e),[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 _0xe68fbb of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0xe68fbb['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 _0x130f48=_0x2a66a9=>_0x2a66a9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x130f48),this['keystrokes']['set']('arrowleft',_0x130f48),this['keystrokes']['set']('arrowup',_0x130f48),this['keystrokes']['set']('arrowdown',_0x130f48);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x328518,_0x31631a){const _0x327c93=new _0x13375e(this['locale']);return _0x327c93['children']=_0x327c93['createCollection'](),_0x327c93['children']['addMany'](_0x328518),_0x327c93['setTemplate']({'tag':'div','attributes':{'aria-label':_0x31631a,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x327c93['children']}),_0x327c93['children']['delegate']('execute')['to'](this),_0x327c93['focus']=function(){for(const _0x5ef1d8 of this['children'])if(_0x5ef1d8 instanceof _0x4f9f08&&_0x5ef1d8['isOn'])return void _0x5ef1d8['focus']();this['children']['first']['focus']();},_0x327c93['focusTracker']=new ot(),_0x327c93['keystrokes']=new rt(),_0x327c93['render'](),_0x327c93['keystrokes']['listenTo'](_0x327c93['element']),this['children']['add'](_0x327c93),_0x327c93;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x3bab9a=this['_createStartIndexPropertyView'](),_0x11bc8d=[_0x3bab9a],_0x895d5c=new st(this['locale'],_0x11bc8d);return _0x895d5c['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x895d5c['buttonView']['bind']('isEnabled')['toMany'](_0x11bc8d,'isEnabled',(..._0x380e6b)=>_0x380e6b['some'](_0x32c395=>_0x32c395)),_0x895d5c['buttonView']['on']('change:isEnabled',(_0xafdba7,_0x5373fa,_0x36b5f3)=>{_0x36b5f3||(_0x895d5c['isCollapsed']=!0x0);}),this['children']['add'](_0x895d5c),[_0x3bab9a,_0x895d5c];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xc3b49b=new it(this['locale'],et);return _0xc3b49b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xc3b49b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xc3b49b['fieldView']['on']('input',()=>{const _0x2b1981=_0xc3b49b['fieldView']['element'],_0x26fe2a=_0x2b1981['valueAsNumber'];Number['isNaN'](_0x26fe2a)?_0xc3b49b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2b1981['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x26fe2a}):_0xc3b49b['errorText']=t(_0x26fe2a<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xc3b49b;}}
23
+ import{ButtonView as _0x1c2c8a,View as _0x5cb5af,ViewCollection as _0x206f42,FocusCycler as _0x427b95,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 _0x5cb5af{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x206f42();['focusCycler'];constructor(_0x123c90,{styleButtonViews:_0x464114,styleGridAriaLabel:_0x482981}){super(_0x123c90),(this['focusCycler']=new _0x427b95({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x464114,_0x482981),[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 _0x5bb6ef of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5bb6ef['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 _0x1cccf9=_0x5af1d9=>_0x5af1d9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1cccf9),this['keystrokes']['set']('arrowleft',_0x1cccf9),this['keystrokes']['set']('arrowup',_0x1cccf9),this['keystrokes']['set']('arrowdown',_0x1cccf9);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5e0800,_0x450960){const _0x204b39=new _0x5cb5af(this['locale']);return _0x204b39['children']=_0x204b39['createCollection'](),_0x204b39['children']['addMany'](_0x5e0800),_0x204b39['setTemplate']({'tag':'div','attributes':{'aria-label':_0x450960,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x204b39['children']}),_0x204b39['children']['delegate']('execute')['to'](this),_0x204b39['focus']=function(){for(const _0x1c655a of this['children'])if(_0x1c655a instanceof _0x1c2c8a&&_0x1c655a['isOn'])return void _0x1c655a['focus']();this['children']['first']['focus']();},_0x204b39['focusTracker']=new ot(),_0x204b39['keystrokes']=new rt(),_0x204b39['render'](),_0x204b39['keystrokes']['listenTo'](_0x204b39['element']),this['children']['add'](_0x204b39),_0x204b39;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1758c1=this['_createStartIndexPropertyView'](),_0x41175a=[_0x1758c1],_0x3d33e5=new st(this['locale'],_0x41175a);return _0x3d33e5['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3d33e5['buttonView']['bind']('isEnabled')['toMany'](_0x41175a,'isEnabled',(..._0x490532)=>_0x490532['some'](_0x1ae1c6=>_0x1ae1c6)),_0x3d33e5['buttonView']['on']('change:isEnabled',(_0x3ac942,_0x323a00,_0x374d3a)=>{_0x374d3a||(_0x3d33e5['isCollapsed']=!0x0);}),this['children']['add'](_0x3d33e5),[_0x1758c1,_0x3d33e5];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x5f47c0=new it(this['locale'],et);return _0x5f47c0['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x5f47c0['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x5f47c0['fieldView']['on']('input',()=>{const _0xc37a71=_0x5f47c0['fieldView']['element'],_0x14c1ed=_0xc37a71['valueAsNumber'];Number['isNaN'](_0x14c1ed)?_0x5f47c0['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0xc37a71['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x14c1ed}):_0x5f47c0['errorText']=t(_0x14c1ed<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x5f47c0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x1d808f=_0x31e9;(function(_0x4641e2,_0x25a642){var _0x43eb51=_0x31e9,_0x27a400=_0x4641e2();while(!![]){try{var _0x77b5e7=-parseInt(_0x43eb51(0xd7))/0x1+-parseInt(_0x43eb51(0xd4))/0x2+-parseInt(_0x43eb51(0xd8))/0x3*(parseInt(_0x43eb51(0xd1))/0x4)+-parseInt(_0x43eb51(0xcd))/0x5*(-parseInt(_0x43eb51(0xca))/0x6)+parseInt(_0x43eb51(0xcb))/0x7*(parseInt(_0x43eb51(0xcc))/0x8)+-parseInt(_0x43eb51(0xd6))/0x9*(parseInt(_0x43eb51(0xce))/0xa)+-parseInt(_0x43eb51(0xd2))/0xb*(-parseInt(_0x43eb51(0xda))/0xc);if(_0x77b5e7===_0x25a642)break;else _0x27a400['push'](_0x27a400['shift']());}catch(_0x201801){_0x27a400['push'](_0x27a400['shift']());}}}(_0x467f,0x32344));import{Plugin as _0x1dfd52}from'ckeditor5/src/core.js';function _0x31e9(_0x1f0a8e,_0xe85e8d){var _0x467fd8=_0x467f();return _0x31e9=function(_0x31e9db,_0x31bb3a){_0x31e9db=_0x31e9db-0xca;var _0x3312f5=_0x467fd8[_0x31e9db];return _0x3312f5;},_0x31e9(_0x1f0a8e,_0xe85e8d);}import{FootnotesPropertiesEditing as _0x246415}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x378a3f}from'./footnotesproperties/footnotespropertiesui.js';function _0x467f(){var _0x4014d4=['687412GiWEhQ','FootnotesProperties','355851CviBxQ','337709aEprOZ','3IPqMIR','isOfficialPlugin','371304zJqKaK','258MNCxQP','587055umPXQx','32hJbEsy','13255HksAyA','70wNCJex','requires','isPremiumPlugin','484252niESUG','297OSEOIB','pluginName'];_0x467f=function(){return _0x4014d4;};return _0x467f();}export class FootnotesProperties extends _0x1dfd52{static get[_0x1d808f(0xd3)](){var _0x593bf0=_0x1d808f;return _0x593bf0(0xd5);}static get[_0x1d808f(0xcf)](){return[_0x246415,_0x378a3f];}static get[_0x1d808f(0xd9)](){return!0x0;}static get[_0x1d808f(0xd0)](){return!0x0;}}
23
+ var _0x2363f0=_0xf47d;function _0x2300(){var _0xfbaf2e=['862432FUzGfP','1194996RURwMf','requires','104481ZkBoqE','2797480PzgWMy','671451yPpQUo','isOfficialPlugin','FootnotesProperties','pluginName','isPremiumPlugin','151492QnggIX','578915qzJmWJ'];_0x2300=function(){return _0xfbaf2e;};return _0x2300();}(function(_0x63a44e,_0x34a6fa){var _0x5cc2b8=_0xf47d,_0x558cdf=_0x63a44e();while(!![]){try{var _0x488bc4=-parseInt(_0x5cc2b8(0x10e))/0x1+-parseInt(_0x5cc2b8(0x115))/0x2+-parseInt(_0x5cc2b8(0x110))/0x3+parseInt(_0x5cc2b8(0x10b))/0x4+parseInt(_0x5cc2b8(0x116))/0x5+-parseInt(_0x5cc2b8(0x10c))/0x6+parseInt(_0x5cc2b8(0x10f))/0x7;if(_0x488bc4===_0x34a6fa)break;else _0x558cdf['push'](_0x558cdf['shift']());}catch(_0xd466be){_0x558cdf['push'](_0x558cdf['shift']());}}}(_0x2300,0x1f34d));import{Plugin as _0x2d560d}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x210197}from'./footnotesproperties/footnotespropertiesediting.js';function _0xf47d(_0x173b54,_0x2c6cab){var _0x23009a=_0x2300();return _0xf47d=function(_0xf47d91,_0x1d0a51){_0xf47d91=_0xf47d91-0x10b;var _0x121c59=_0x23009a[_0xf47d91];return _0x121c59;},_0xf47d(_0x173b54,_0x2c6cab);}import{FootnotesPropertiesUI as _0x48da03}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2d560d{static get[_0x2363f0(0x113)](){var _0x53cd6e=_0x2363f0;return _0x53cd6e(0x112);}static get[_0x2363f0(0x10d)](){return[_0x210197,_0x48da03];}static get[_0x2363f0(0x111)](){return!0x0;}static get[_0x2363f0(0x114)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x54bf7f=_0x1f1f;(function(_0x3a9a4e,_0x408dca){const _0x429107=_0x1f1f,_0x1afdc9=_0x3a9a4e();while(!![]){try{const _0x2a8a00=parseInt(_0x429107(0x129))/0x1*(-parseInt(_0x429107(0x106))/0x2)+parseInt(_0x429107(0x11e))/0x3+parseInt(_0x429107(0x148))/0x4*(parseInt(_0x429107(0xfb))/0x5)+parseInt(_0x429107(0x130))/0x6*(parseInt(_0x429107(0x138))/0x7)+parseInt(_0x429107(0x137))/0x8*(-parseInt(_0x429107(0x102))/0x9)+-parseInt(_0x429107(0x12b))/0xa*(-parseInt(_0x429107(0x105))/0xb)+parseInt(_0x429107(0x14b))/0xc*(-parseInt(_0x429107(0xfe))/0xd);if(_0x2a8a00===_0x408dca)break;else _0x1afdc9['push'](_0x1afdc9['shift']());}catch(_0x335afb){_0x1afdc9['push'](_0x1afdc9['shift']());}}}(_0xc316,0x84a48));import{Plugin as _0x454273}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x3dd8d1}from'./modelelementtracker.js';function _0x1f1f(_0x2d6d42,_0x560747){const _0xc316dd=_0xc316();return _0x1f1f=function(_0x1f1f62,_0x47e616){_0x1f1f62=_0x1f1f62-0xe7;let _0xddc456=_0xc316dd[_0x1f1f62];return _0xddc456;},_0x1f1f(_0x2d6d42,_0x560747);}export class FootnotesTracker extends _0x454273{[_0x54bf7f(0x119)]=[];[_0x54bf7f(0xf9)]=null;[_0x54bf7f(0x11b)]=null;[_0x54bf7f(0x104)];[_0x54bf7f(0x13b)];[_0x54bf7f(0xf4)];static get[_0x54bf7f(0xf6)](){const _0x46608c=_0x54bf7f;return _0x46608c(0x103);}static get[_0x54bf7f(0x134)](){return!0x0;}static get[_0x54bf7f(0x113)](){return!0x0;}constructor(_0x48369c){const _0x241448=_0x54bf7f;super(_0x48369c),this[_0x241448(0x104)]=new _0x3dd8d1(this[_0x241448(0xff)][_0x241448(0x120)],{'elementName':_0x241448(0x139),'getElementKey':()=>_0x241448(0x13a)}),this[_0x241448(0x13b)]=new _0x3dd8d1(this[_0x241448(0xff)][_0x241448(0x120)],{'elementName':_0x241448(0x10b),'getElementKey':_0x4e763e=>_0x4e763e[_0x241448(0x14d)](_0x241448(0x14c))}),this[_0x241448(0xf4)]=new _0x3dd8d1(this[_0x241448(0xff)][_0x241448(0x120)],{'elementName':_0x241448(0xf8),'getElementKey':_0x1d4219=>_0x1d4219[_0x241448(0x14d)](_0x241448(0x14c))});}[_0x54bf7f(0x128)](){const _0x19bb5b=_0x54bf7f,{editor:_0x1763a5}=this,{model:_0x104b5d,data:_0x261c42}=_0x1763a5;_0x104b5d[_0x19bb5b(0x10f)][_0x19bb5b(0xee)](_0x3b6e53=>{const _0x423055=_0x19bb5b,_0x2d2d66=_0x104b5d[_0x423055(0x10f)][_0x423055(0x108)][_0x423055(0x109)]();let _0x3df4c3=!0x1;return this[_0x423055(0x13c)](_0x3b6e53,_0x2d2d66)&&(_0x3df4c3=!0x0),this[_0x423055(0x112)](_0x3b6e53,_0x2d2d66)&&(_0x3df4c3=!0x0),this[_0x423055(0xea)](_0x3b6e53,_0x2d2d66)&&(_0x3df4c3=!0x0),this[_0x423055(0x146)](_0x3b6e53)&&(_0x3df4c3=!0x0),this[_0x423055(0xeb)](_0x3b6e53)&&(_0x3df4c3=!0x0),this[_0x423055(0xec)](_0x3b6e53)&&(_0x3df4c3=!0x0),_0x3df4c3;}),this[_0x19bb5b(0x13f)](_0x104b5d[_0x19bb5b(0x10f)],_0x19bb5b(0xe7),()=>{const _0x150a9a=_0x19bb5b;_0x104b5d[_0x150a9a(0x142)]({'isUndoable':!0x1},_0x1802ae=>{const _0x56d650=_0x150a9a;this[_0x56d650(0x122)](_0x1802ae);});},{'priority':_0x19bb5b(0xe8)}),this[_0x19bb5b(0x13f)](_0x261c42,_0x19bb5b(0x135),()=>{const _0xbcceed=_0x19bb5b;this[_0xbcceed(0x119)]=[],this[_0xbcceed(0x104)][_0xbcceed(0x111)](),this[_0xbcceed(0x13b)][_0xbcceed(0x111)](),this[_0xbcceed(0xf4)][_0xbcceed(0x111)]();},{'priority':_0x19bb5b(0xf3)});}[_0x54bf7f(0x10a)](){const _0x3ee266=_0x54bf7f;return this[_0x3ee266(0xf9)];}[_0x54bf7f(0x147)](_0x82e220){const _0x3efb24=_0x54bf7f;return this[_0x3efb24(0x119)][_0x3efb24(0x141)](_0x2b95a5=>_0x2b95a5['id']===_0x82e220)||null;}[_0x54bf7f(0x100)](){const _0x255bab=_0x54bf7f;return Array[_0x255bab(0xe9)](this[_0x255bab(0x119)]);}[_0x54bf7f(0x12c)](){const _0x2c74eb=_0x54bf7f;return this[_0x2c74eb(0x11b)];}[_0x54bf7f(0x11d)](_0x57e365){const _0x13560c=_0x54bf7f;this[_0x13560c(0x11b)]=_0x57e365;}[_0x54bf7f(0x133)](_0x3f8a98,_0x42b46a=0x0){const _0x41d879=_0x54bf7f;let _0x2da9cd=!0x1;for(let _0x36f751=_0x42b46a;_0x36f751<this[_0x41d879(0x119)][_0x41d879(0x14e)];_0x36f751++)this[_0x41d879(0xf1)](_0x3f8a98,_0x36f751)&&(_0x2da9cd=!0x0);return _0x2da9cd;}[_0x54bf7f(0x14a)](_0x110b96,_0x522a4e){const _0x1b8514=_0x54bf7f,_0x557c88=_0x110b96[_0x1b8514(0x126)](_0x1b8514(0x139),{});return _0x110b96[_0x1b8514(0xfd)](_0x557c88,_0x522a4e),this[_0x1b8514(0xf9)]=_0x557c88,_0x557c88;}[_0x54bf7f(0x122)](_0x1b906d){const _0x4ebbb6=_0x54bf7f;if(!this[_0x4ebbb6(0x119)][_0x4ebbb6(0x14e)]||this[_0x4ebbb6(0xf9)])return;const _0x3e56e6=this[_0x4ebbb6(0x119)][0x0][_0x4ebbb6(0x115)][_0x4ebbb6(0x12d)],_0x4ff990=this[_0x4ebbb6(0x14a)](_0x1b906d,_0x3e56e6);for(const _0x340502 of this[_0x4ebbb6(0x119)])_0x340502[_0x4ebbb6(0x10d)][_0x4ebbb6(0xf2)]||_0x1b906d[_0x4ebbb6(0x118)](_0x340502[_0x4ebbb6(0x10d)],_0x4ff990,_0x4ebbb6(0x10e));this[_0x4ebbb6(0x133)](_0x1b906d);}[_0x54bf7f(0x13c)](_0x3eec7f,_0x5e57a8){const _0x17a777=_0x54bf7f;let _0x417136=!0x1;const {inserted:_0x2621ec,removed:_0x408a38,moved:_0x33ba3b}=this[_0x17a777(0x104)][_0x17a777(0x109)](_0x5e57a8);if(_0x33ba3b[_0x17a777(0x14e)]&&(this[_0x17a777(0xf9)]=_0x33ba3b[0x0]),_0x2621ec[_0x17a777(0x14e)]){if(_0x2621ec[_0x17a777(0x14e)]>0x1||this[_0x17a777(0xf9)]&&_0x2621ec[_0x17a777(0x11c)](_0x3ab1ee=>_0x3ab1ee!==this[_0x17a777(0xf9)])){const _0x47f904=_0x3eec7f[_0x17a777(0x126)](_0x17a777(0x139),{}),_0x5173d6=[];this[_0x17a777(0xf9)]&&_0x5173d6[_0x17a777(0x11f)](this[_0x17a777(0xf9)]),_0x5173d6[_0x17a777(0x11f)](..._0x2621ec),_0x3eec7f[_0x17a777(0x118)](_0x47f904,_0x5173d6[0x0],_0x17a777(0x132));for(const _0x63771a of _0x5173d6)_0x3eec7f[_0x17a777(0x10c)](_0x3eec7f[_0x17a777(0x114)](_0x63771a),_0x3eec7f[_0x17a777(0x140)](_0x47f904,_0x17a777(0x10e))),_0x3eec7f[_0x17a777(0xf7)](_0x63771a);this[_0x17a777(0xf9)]=_0x47f904,this[_0x17a777(0x133)](_0x3eec7f),_0x417136=!0x0;}else this[_0x17a777(0xf9)]=_0x2621ec[0x0];}if(_0x408a38[_0x17a777(0x14e)]&&_0x17a777(0x12a)===this[_0x17a777(0xf9)]?.[_0x17a777(0x12d)][_0x17a777(0x12e)]){for(const _0x3338cc of this[_0x17a777(0x119)])_0x3eec7f[_0x17a777(0xf7)](_0x3338cc[_0x17a777(0x115)]),_0x417136=!0x0;this[_0x17a777(0x119)]=[],this[_0x17a777(0xf9)]=null;}return _0x417136;}[_0x54bf7f(0x112)](_0x50c79a,_0x56054f){const _0x3e5f58=_0x54bf7f;let _0x38bc5=!0x1;const _0x37113b=this[_0x3e5f58(0xff)][_0x3e5f58(0x136)][_0x3e5f58(0x124)](_0x3e5f58(0x13e)),{inserted:_0x22cf8f,moved:_0x17f86f}=this[_0x3e5f58(0xf4)][_0x3e5f58(0x109)](_0x56054f);for(const _0x403dbc of[..._0x17f86f,..._0x22cf8f]){const _0x477222=_0x403dbc[_0x3e5f58(0x14d)](_0x3e5f58(0x14c)),_0x545d10=this[_0x3e5f58(0x147)](_0x477222);_0x545d10&&(_0x545d10[_0x3e5f58(0x10d)]=_0x403dbc),_(_0x50c79a,_0x37113b,_0x403dbc)&&(_0x38bc5=!0x0);}return _0x38bc5;}[_0x54bf7f(0xea)](_0x52a6a7,_0x4af8a9){const _0x22d832=_0x54bf7f;let _0x3e59ed=!0x1;const {removed:_0x344e70,inserted:_0x21b226,moved:_0xda5b62}=this[_0x22d832(0x13b)][_0x22d832(0x109)](_0x4af8a9);for(const _0x48258d of _0x344e70)this[_0x22d832(0x101)](_0x52a6a7,_0x48258d)&&(_0x3e59ed=!0x0);for(const _0x518695 of _0x21b226)this[_0x22d832(0xf0)](_0x52a6a7,_0x518695)&&(_0x3e59ed=!0x0);for(const _0xe8d23b of _0xda5b62)this[_0x22d832(0x13d)](_0x52a6a7,_0xe8d23b)&&(_0x3e59ed=!0x0);return _0x3e59ed;}[_0x54bf7f(0xeb)](_0x32995f){const _0x3779f1=_0x54bf7f;if(!this[_0x3779f1(0xf9)])return!0x1;let _0x43b94e=!0x1;if(this[_0x3779f1(0xf9)][_0x3779f1(0x117)]!==this[_0x3779f1(0x119)][_0x3779f1(0x14e)]){const _0x13c3bf=[];for(const _0x5518eb of this[_0x3779f1(0xf9)][_0x3779f1(0xfc)]()){const _0x1ac692=_0x5518eb[_0x3779f1(0x14d)](_0x3779f1(0x14c));this[_0x3779f1(0x147)](_0x1ac692)||(_0x13c3bf[_0x3779f1(0x11a)](_0x5518eb),_0x43b94e=!0x0);}for(const _0x59cce1 of _0x13c3bf)_0x32995f[_0x3779f1(0xf7)](_0x59cce1);}const _0x325b1b=new Set(),_0x55e340=[];for(const _0xb25716 of this[_0x3779f1(0xf9)][_0x3779f1(0xfc)]()){const _0x560b62=_0xb25716[_0x3779f1(0x14d)](_0x3779f1(0x14c));_0x325b1b[_0x3779f1(0xef)](_0x560b62)?(_0x55e340[_0x3779f1(0x11a)](_0xb25716),_0x43b94e=!0x0):_0x325b1b[_0x3779f1(0xf5)](_0x560b62);}for(const _0x52fc16 of _0x55e340)_0x32995f[_0x3779f1(0xf7)](_0x52fc16);return this[_0x3779f1(0xf9)][_0x3779f1(0x117)]||(_0x32995f[_0x3779f1(0xf7)](this[_0x3779f1(0xf9)]),this[_0x3779f1(0xf9)]=null,_0x43b94e=!0x0),_0x43b94e;}[_0x54bf7f(0xf0)](_0xf1e51e,_0x517a29){const _0xdde1d2=_0x54bf7f;if(this[_0xdde1d2(0x119)][_0xdde1d2(0x141)](_0x55e4db=>_0x55e4db[_0xdde1d2(0x115)]===_0x517a29))return!0x1;let _0x43c849=!0x1;const _0x39e199=_0x517a29[_0xdde1d2(0x14d)](_0xdde1d2(0x14c)),_0x192c60=this[_0xdde1d2(0x119)][_0xdde1d2(0x144)](_0x3a5087=>_0x3a5087['id']===_0x39e199);-0x1!==_0x192c60&&(_0xf1e51e[_0xdde1d2(0xf7)](this[_0xdde1d2(0x119)][_0x192c60][_0xdde1d2(0x115)]),this[_0xdde1d2(0x119)][_0xdde1d2(0x12f)](_0x192c60,0x1),_0x43c849=!0x0);let _0x6e582e=this[_0xdde1d2(0xf9)]?function(_0x407cd2,_0x2a0240){const _0x3eb145=_0xdde1d2;for(const _0x390732 of _0x407cd2[_0x3eb145(0xfc)]())if(_0x390732[_0x3eb145(0x14d)](_0x3eb145(0x14c))===_0x2a0240)return _0x390732;return null;}(this[_0xdde1d2(0xf9)],_0x39e199):null;_0x6e582e||(_0x6e582e=_0xf1e51e[_0xdde1d2(0x126)](_0xdde1d2(0xf8),{'footnoteId':_0x39e199}),this[_0xdde1d2(0xf9)]&&(_0xf1e51e[_0xdde1d2(0x118)](_0x6e582e,this[_0xdde1d2(0xf9)],_0xdde1d2(0x10e)),_0x43c849=!0x0));const _0x392d06={'id':_0x39e199,'reference':_0x517a29,'definition':_0x6e582e},_0x5e290b=I(this[_0xdde1d2(0xff)][_0xdde1d2(0x120)],this[_0xdde1d2(0x119)],_0x517a29);this[_0xdde1d2(0x119)][_0xdde1d2(0x12f)](_0x5e290b,0x0,_0x392d06);let _0x12d54d=_0x5e290b;return-0x1!==_0x192c60&&(_0x12d54d=Math[_0xdde1d2(0x125)](_0x5e290b,_0x192c60)),this[_0xdde1d2(0x133)](_0xf1e51e,_0x12d54d)&&(_0x43c849=!0x0),_0x43c849;}[_0x54bf7f(0x101)](_0x557a4a,_0x29dd1e){const _0x42d375=_0x54bf7f,_0x5a3e52=this[_0x42d375(0x119)][_0x42d375(0x144)](_0x4fe84a=>_0x4fe84a['id']===_0x29dd1e);if(-0x1===_0x5a3e52)return!0x1;let _0x2fc639=!0x1;const _0x4bdc09=this[_0x42d375(0x119)][_0x5a3e52];return _0x42d375(0x12a)!==_0x4bdc09[_0x42d375(0x10d)][_0x42d375(0x12d)][_0x42d375(0x12e)]&&(_0x557a4a[_0x42d375(0xf7)](_0x4bdc09[_0x42d375(0x10d)]),_0x2fc639=!0x0),this[_0x42d375(0x119)][_0x42d375(0x12f)](_0x5a3e52,0x1),this[_0x42d375(0x133)](_0x557a4a,_0x5a3e52)&&(_0x2fc639=!0x0),_0x2fc639;}[_0x54bf7f(0x13d)](_0x3abd53,_0x3377a2){const _0x548042=_0x54bf7f,_0x450ae7=_0x3377a2[_0x548042(0x14d)](_0x548042(0x14c)),_0x58ac5a=this[_0x548042(0x119)][_0x548042(0x144)](_0x3be32=>_0x3be32['id']===_0x450ae7),_0x2f6a39=this[_0x548042(0x119)][_0x58ac5a];let _0x18e6e8=!0x1;_0x2f6a39[_0x548042(0x115)]=_0x3377a2,this[_0x548042(0x119)][_0x548042(0x12f)](_0x58ac5a,0x1);const _0xc89644=I(this[_0x548042(0xff)][_0x548042(0x120)],this[_0x548042(0x119)],_0x3377a2);return this[_0x548042(0x119)][_0x548042(0x12f)](_0xc89644,0x0,_0x2f6a39),this[_0x548042(0x133)](_0x3abd53,Math[_0x548042(0x125)](_0x58ac5a,_0xc89644))&&(_0x18e6e8=!0x0),_0x18e6e8;}[_0x54bf7f(0xf1)](_0x35a75b,_0x12f2ef){const _0x65e788=_0x54bf7f;if(!this[_0x65e788(0xf9)])return!0x1;const _0x328f52=this[_0x65e788(0x119)][_0x12f2ef];let _0x3d8550;return _0x3d8550=this[_0x65e788(0x11b)]?this[_0x65e788(0x11b)]({'footnote':_0x328f52,'container':this[_0x65e788(0xf9)],'digits':String(this[_0x65e788(0x119)][_0x65e788(0x14e)])[_0x65e788(0x14e)],'value':_0x12f2ef+0x1}):String(_0x12f2ef+0x1),_0x328f52[_0x65e788(0x115)][_0x65e788(0x14d)](_0x65e788(0x123))!=_0x3d8550&&(_0x35a75b[_0x65e788(0x149)](_0x65e788(0x123),_0x3d8550,_0x328f52[_0x65e788(0x115)]),!0x0);}[_0x54bf7f(0xec)](_0x54c33e){const _0x4fbd4e=_0x54bf7f;if(!this[_0x4fbd4e(0xf9)]||this[_0x4fbd4e(0x119)][_0x4fbd4e(0x14e)]<0x2)return!0x1;if(function(_0x61c8ca,_0x34de89){const _0x1036e3=_0x4fbd4e;if(_0x61c8ca[_0x1036e3(0x14e)]!==_0x34de89[_0x1036e3(0x14e)])return!0x1;for(let _0x339f24=0x0;_0x339f24<_0x61c8ca[_0x1036e3(0x14e)];_0x339f24++)if(_0x61c8ca[_0x339f24]!==_0x34de89[_0x339f24])return!0x1;return!0x0;}(this[_0x4fbd4e(0x119)][_0x4fbd4e(0x131)](_0x56ca7c=>_0x56ca7c['id']),Array[_0x4fbd4e(0xe9)](this[_0x4fbd4e(0xf9)][_0x4fbd4e(0xfc)]())[_0x4fbd4e(0x131)](_0x4d1e2c=>_0x4d1e2c[_0x4fbd4e(0x14d)](_0x4fbd4e(0x14c)))))return!0x1;let _0x4a3dab=!0x1;for(let _0x282604=0x0;_0x282604<this[_0x4fbd4e(0x119)][_0x4fbd4e(0x14e)];_0x282604++){const _0x351882=this[_0x4fbd4e(0x119)][_0x282604],_0x466cbb=_0x54c33e[_0x4fbd4e(0x127)](_0x351882[_0x4fbd4e(0x10d)]),_0x46a1ff=_0x54c33e[_0x4fbd4e(0x140)](this[_0x4fbd4e(0xf9)],_0x282604);_0x466cbb[_0x4fbd4e(0x143)](_0x46a1ff)||(_0x54c33e[_0x4fbd4e(0x10c)](_0x54c33e[_0x4fbd4e(0xfa)](_0x351882[_0x4fbd4e(0x10d)]),_0x46a1ff),_0x4a3dab=!0x0);}return _0x4a3dab;}[_0x54bf7f(0x146)](_0x313143){const _0x2a791e=_0x54bf7f;if(!this[_0x2a791e(0x119)][_0x2a791e(0x14e)])return!0x1;const {model:_0x1fac25}=this[_0x2a791e(0xff)];let _0x284048=!0x1;for(let _0x18182e=0x0;_0x18182e<this[_0x2a791e(0x119)][_0x2a791e(0x14e)]-0x1;_0x18182e++){const _0x425fe6=this[_0x2a791e(0x119)][_0x18182e],_0x1f1b1e=this[_0x2a791e(0x119)][_0x18182e+0x1],_0x14ca86=_0x1fac25[_0x2a791e(0x127)](_0x425fe6[_0x2a791e(0x115)]),_0x3612b6=_0x1fac25[_0x2a791e(0x127)](_0x1f1b1e[_0x2a791e(0x115)]);_0x2a791e(0x121)===_0x14ca86[_0x2a791e(0x116)](_0x3612b6)&&(this[_0x2a791e(0x13d)](_0x313143,_0x425fe6[_0x2a791e(0x115)]),_0x18182e=-0x1,_0x284048=!0x0);}return _0x284048;}}function _0xc316(){const _0x43473c=['min','createElement','createPositionBefore','init','1052957AYJDSt','$graveyard','10fFNQcl','getFootnotesFormatter','root','rootName','splice','6PRGRfz','map','before','_updateFootnotesCounters','isOfficialPlugin','set','config','8GSJcgi','3556182wtIShC','footnotesDefinitions','singleton','_footnoteRefsTracker','_handleFootnotesDefinitionsObjectChanges','_handleMovedFootnoteReference','footnotes.multiBlock','listenTo','createPositionAt','find','enqueueChange','isEqual','findIndex','paragraph','_ensureFootnotesReferencesHaveProperOrder','getFootnote','4162124JOSady','setAttribute','_insertEmptyFootnotesDefinitionsContainer','12KgtFKZ','footnoteId','getAttribute','length','change:data','low','from','_handleFootnoteReferencesChanges','_handleFootnotesDefinitionsObjectSync','_sortFootnoteDefinitions','footnoteInlineContent','registerPostFixer','has','_handleInsertedFootnoteReference','_updateFootnoteRefCounter','parent','high','_footnoteDefsTracker','add','pluginName','remove','footnoteDefinition','_footnotesDefinitions','createRangeOn','5sDtoYx','getChildren','append','21041501BkDhSI','editor','getFootnotes','_handleRemoveFootnoteReferenceById','962514ARKSIy','FootnotesTracker','_footnoteDefsContainerTracker','8451773nDCxsl','2HFHPgM','getRootNames','differ','getChanges','getFootnotesDefinitionsObjectElement','footnoteRef','move','definition','end','document','indexOf','reset','_handleFootnoteDefinitionsChanges','isPremiumPlugin','createRangeIn','reference','compareWith','childCount','insert','_footnotes','unshift','_footnoteFormatter','some','setFootnoteFormatter','3014652GOXCPQ','push','model','after','_ensureFootnotesDefinitionsContainerExists','footnoteCounter','get'];_0xc316=function(){return _0x43473c;};return _0xc316();}function _(_0x1143c3,_0x2bd240,_0x205ccc){const _0x3e96f3=_0x54bf7f;if(_0x205ccc[_0x3e96f3(0x117)])return!0x1;const _0x3a8e43=_0x2bd240?_0x3e96f3(0x145):_0x3e96f3(0xed);return _0x1143c3[_0x3e96f3(0x118)](_0x1143c3[_0x3e96f3(0x126)](_0x3a8e43),_0x205ccc),!0x0;}function I(_0x272a09,_0x4149ca,_0x3c6470){const _0x57331a=_0x54bf7f;if(0x0===_0x4149ca[_0x57331a(0x14e)])return 0x0;const _0x257903=_0x272a09[_0x57331a(0x127)](_0x3c6470);for(let _0x2259a9=0x0;_0x2259a9<_0x4149ca[_0x57331a(0x14e)];_0x2259a9++){const _0x2d2dc1=_0x4149ca[_0x2259a9],_0x2d4dbe=_0x272a09[_0x57331a(0x127)](_0x2d2dc1[_0x57331a(0x115)]);if(_0x57331a(0x132)===_0x257903[_0x57331a(0x116)](_0x2d4dbe))return _0x2259a9;}const _0x2e564f=_0x3c6470[_0x57331a(0x12d)];let _0x2aef9e=-0x1;for(let _0x916b25=_0x4149ca[_0x57331a(0x14e)]-0x1;_0x916b25>=0x0;_0x916b25--)if(_0x4149ca[_0x916b25][_0x57331a(0x115)][_0x57331a(0x12d)]===_0x2e564f){_0x2aef9e=_0x916b25;break;}if(-0x1!==_0x2aef9e)return _0x2aef9e+0x1;const _0x22cbc5=_0x272a09[_0x57331a(0x10f)][_0x57331a(0x107)](),_0x456931=_0x22cbc5[_0x57331a(0x110)](_0x2e564f[_0x57331a(0x12e)]),_0x637687=_0x22cbc5[_0x456931+0x1];if(_0x637687){for(let _0x381fce=0x0;_0x381fce<_0x4149ca[_0x57331a(0x14e)];_0x381fce++)if(_0x4149ca[_0x381fce][_0x57331a(0x115)][_0x57331a(0x12d)][_0x57331a(0x12e)]===_0x637687)return _0x381fce;}return _0x4149ca[_0x57331a(0x14e)];}
23
+ const _0x4efcc0=_0x1278;(function(_0x5b4f16,_0x3e7261){const _0x46bd35=_0x1278,_0x2ef5f3=_0x5b4f16();while(!![]){try{const _0x1397de=-parseInt(_0x46bd35(0x1fe))/0x1+-parseInt(_0x46bd35(0x205))/0x2*(parseInt(_0x46bd35(0x218))/0x3)+parseInt(_0x46bd35(0x222))/0x4+-parseInt(_0x46bd35(0x21b))/0x5*(-parseInt(_0x46bd35(0x219))/0x6)+parseInt(_0x46bd35(0x238))/0x7+-parseInt(_0x46bd35(0x206))/0x8*(-parseInt(_0x46bd35(0x21d))/0x9)+-parseInt(_0x46bd35(0x221))/0xa;if(_0x1397de===_0x3e7261)break;else _0x2ef5f3['push'](_0x2ef5f3['shift']());}catch(_0x426d1e){_0x2ef5f3['push'](_0x2ef5f3['shift']());}}}(_0xbe07,0xe73fc));import{Plugin as _0x4e206f}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x83987c}from'./modelelementtracker.js';export class FootnotesTracker extends _0x4e206f{[_0x4efcc0(0x207)]=[];[_0x4efcc0(0x22a)]=null;[_0x4efcc0(0x23a)]=null;[_0x4efcc0(0x234)];[_0x4efcc0(0x212)];[_0x4efcc0(0x215)];static get[_0x4efcc0(0x1e0)](){const _0x42b46a=_0x4efcc0;return _0x42b46a(0x232);}static get[_0x4efcc0(0x1de)](){return!0x0;}static get[_0x4efcc0(0x23e)](){return!0x0;}constructor(_0x2d272d){const _0x2974e0=_0x4efcc0;super(_0x2d272d),this[_0x2974e0(0x234)]=new _0x83987c(this[_0x2974e0(0x211)][_0x2974e0(0x227)],{'elementName':_0x2974e0(0x228),'getElementKey':()=>_0x2974e0(0x1e3)}),this[_0x2974e0(0x212)]=new _0x83987c(this[_0x2974e0(0x211)][_0x2974e0(0x227)],{'elementName':_0x2974e0(0x223),'getElementKey':_0x100f93=>_0x100f93[_0x2974e0(0x208)](_0x2974e0(0x20f))}),this[_0x2974e0(0x215)]=new _0x83987c(this[_0x2974e0(0x211)][_0x2974e0(0x227)],{'elementName':_0x2974e0(0x1f9),'getElementKey':_0x48d81c=>_0x48d81c[_0x2974e0(0x208)](_0x2974e0(0x20f))});}[_0x4efcc0(0x1ec)](){const _0x3c62e2=_0x4efcc0,{editor:_0x38df71}=this,{model:_0x4aa8ff,data:_0x20e419}=_0x38df71;_0x4aa8ff[_0x3c62e2(0x214)][_0x3c62e2(0x20d)](_0x30f6cd=>{const _0x878ff4=_0x3c62e2,_0x39520c=_0x4aa8ff[_0x878ff4(0x214)][_0x878ff4(0x23d)][_0x878ff4(0x224)]();let _0x5e1cf4=!0x1;return this[_0x878ff4(0x20a)](_0x30f6cd,_0x39520c)&&(_0x5e1cf4=!0x0),this[_0x878ff4(0x1e8)](_0x30f6cd,_0x39520c)&&(_0x5e1cf4=!0x0),this[_0x878ff4(0x21c)](_0x30f6cd,_0x39520c)&&(_0x5e1cf4=!0x0),this[_0x878ff4(0x1e1)](_0x30f6cd)&&(_0x5e1cf4=!0x0),this[_0x878ff4(0x22c)](_0x30f6cd)&&(_0x5e1cf4=!0x0),this[_0x878ff4(0x1f1)](_0x30f6cd)&&(_0x5e1cf4=!0x0),_0x5e1cf4;}),this[_0x3c62e2(0x1db)](_0x4aa8ff[_0x3c62e2(0x214)],_0x3c62e2(0x1f3),()=>{const _0x6b3566=_0x3c62e2;_0x4aa8ff[_0x6b3566(0x217)]({'isUndoable':!0x1},_0x131579=>{const _0x1c0e42=_0x6b3566;this[_0x1c0e42(0x220)](_0x131579);});},{'priority':_0x3c62e2(0x1ef)}),this[_0x3c62e2(0x1db)](_0x20e419,_0x3c62e2(0x1e5),()=>{const _0x408b0f=_0x3c62e2;this[_0x408b0f(0x207)]=[],this[_0x408b0f(0x234)][_0x408b0f(0x1e4)](),this[_0x408b0f(0x212)][_0x408b0f(0x1e4)](),this[_0x408b0f(0x215)][_0x408b0f(0x1e4)]();},{'priority':_0x3c62e2(0x239)});}[_0x4efcc0(0x202)](){const _0x123356=_0x4efcc0;return this[_0x123356(0x22a)];}[_0x4efcc0(0x1fa)](_0x3069ab){const _0x209dab=_0x4efcc0;return this[_0x209dab(0x207)][_0x209dab(0x1ed)](_0x7c7a86=>_0x7c7a86['id']===_0x3069ab)||null;}[_0x4efcc0(0x1dc)](){const _0x28679c=_0x4efcc0;return Array[_0x28679c(0x1f4)](this[_0x28679c(0x207)]);}[_0x4efcc0(0x1f7)](){const _0x23beb5=_0x4efcc0;return this[_0x23beb5(0x23a)];}[_0x4efcc0(0x22f)](_0x5d2f36){const _0xb3be88=_0x4efcc0;this[_0xb3be88(0x23a)]=_0x5d2f36;}[_0x4efcc0(0x226)](_0x344711,_0x1b2730=0x0){const _0x46e1ee=_0x4efcc0;let _0x3271e2=!0x1;for(let _0x49f4d6=_0x1b2730;_0x49f4d6<this[_0x46e1ee(0x207)][_0x46e1ee(0x230)];_0x49f4d6++)this[_0x46e1ee(0x1e6)](_0x344711,_0x49f4d6)&&(_0x3271e2=!0x0);return _0x3271e2;}[_0x4efcc0(0x21f)](_0x3a976a,_0x2c9937){const _0x5432c5=_0x4efcc0,_0x32f78a=_0x3a976a[_0x5432c5(0x231)](_0x5432c5(0x228),{});return _0x3a976a[_0x5432c5(0x1f2)](_0x32f78a,_0x2c9937),this[_0x5432c5(0x22a)]=_0x32f78a,_0x32f78a;}[_0x4efcc0(0x220)](_0x143c0){const _0x1f6730=_0x4efcc0;if(!this[_0x1f6730(0x207)][_0x1f6730(0x230)]||this[_0x1f6730(0x22a)])return;const _0x1d4f45=this[_0x1f6730(0x207)][0x0][_0x1f6730(0x1fd)][_0x1f6730(0x1fc)],_0x5e9bad=this[_0x1f6730(0x21f)](_0x143c0,_0x1d4f45);for(const _0x393de9 of this[_0x1f6730(0x207)])_0x393de9[_0x1f6730(0x20e)][_0x1f6730(0x229)]||_0x143c0[_0x1f6730(0x1ea)](_0x393de9[_0x1f6730(0x20e)],_0x5e9bad,_0x1f6730(0x23c));this[_0x1f6730(0x226)](_0x143c0);}[_0x4efcc0(0x20a)](_0x3d7814,_0x503262){const _0xd358d2=_0x4efcc0;let _0x10b64a=!0x1;const {inserted:_0x272318,removed:_0x32d686,moved:_0x9ddf2a}=this[_0xd358d2(0x234)][_0xd358d2(0x224)](_0x503262);if(_0x9ddf2a[_0xd358d2(0x230)]&&(this[_0xd358d2(0x22a)]=_0x9ddf2a[0x0]),_0x272318[_0xd358d2(0x230)]){if(_0x272318[_0xd358d2(0x230)]>0x1||this[_0xd358d2(0x22a)]&&_0x272318[_0xd358d2(0x1df)](_0x110918=>_0x110918!==this[_0xd358d2(0x22a)])){const _0x42cee0=_0x3d7814[_0xd358d2(0x231)](_0xd358d2(0x228),{}),_0x3e77ca=[];this[_0xd358d2(0x22a)]&&_0x3e77ca[_0xd358d2(0x1f0)](this[_0xd358d2(0x22a)]),_0x3e77ca[_0xd358d2(0x1f0)](..._0x272318),_0x3d7814[_0xd358d2(0x1ea)](_0x42cee0,_0x3e77ca[0x0],_0xd358d2(0x204));for(const _0x54411f of _0x3e77ca)_0x3d7814[_0xd358d2(0x22d)](_0x3d7814[_0xd358d2(0x201)](_0x54411f),_0x3d7814[_0xd358d2(0x1f8)](_0x42cee0,_0xd358d2(0x23c))),_0x3d7814[_0xd358d2(0x1ee)](_0x54411f);this[_0xd358d2(0x22a)]=_0x42cee0,this[_0xd358d2(0x226)](_0x3d7814),_0x10b64a=!0x0;}else this[_0xd358d2(0x22a)]=_0x272318[0x0];}if(_0x32d686[_0xd358d2(0x230)]&&_0xd358d2(0x1e9)===this[_0xd358d2(0x22a)]?.[_0xd358d2(0x1fc)][_0xd358d2(0x1da)]){for(const _0x92bfa6 of this[_0xd358d2(0x207)])_0x3d7814[_0xd358d2(0x1ee)](_0x92bfa6[_0xd358d2(0x1fd)]),_0x10b64a=!0x0;this[_0xd358d2(0x207)]=[],this[_0xd358d2(0x22a)]=null;}return _0x10b64a;}[_0x4efcc0(0x1e8)](_0x4d2ca0,_0x54184e){const _0x428e3a=_0x4efcc0;let _0xb11b63=!0x1;const _0x5ab1fd=this[_0x428e3a(0x211)][_0x428e3a(0x1e2)][_0x428e3a(0x23b)](_0x428e3a(0x210)),{inserted:_0xf733e0,moved:_0x6f008b}=this[_0x428e3a(0x215)][_0x428e3a(0x224)](_0x54184e);for(const _0x43fe86 of[..._0x6f008b,..._0xf733e0]){const _0x13d04d=_0x43fe86[_0x428e3a(0x208)](_0x428e3a(0x20f)),_0x3fc768=this[_0x428e3a(0x1fa)](_0x13d04d);_0x3fc768&&(_0x3fc768[_0x428e3a(0x20e)]=_0x43fe86),_(_0x4d2ca0,_0x5ab1fd,_0x43fe86)&&(_0xb11b63=!0x0);}return _0xb11b63;}[_0x4efcc0(0x21c)](_0x1f54b7,_0x2c11df){const _0x412bf1=_0x4efcc0;let _0x153a8d=!0x1;const {removed:_0x1ff874,inserted:_0x285bd2,moved:_0x175c58}=this[_0x412bf1(0x212)][_0x412bf1(0x224)](_0x2c11df);for(const _0x13902b of _0x1ff874)this[_0x412bf1(0x209)](_0x1f54b7,_0x13902b)&&(_0x153a8d=!0x0);for(const _0x4f3f6f of _0x285bd2)this[_0x412bf1(0x21a)](_0x1f54b7,_0x4f3f6f)&&(_0x153a8d=!0x0);for(const _0x14de46 of _0x175c58)this[_0x412bf1(0x22b)](_0x1f54b7,_0x14de46)&&(_0x153a8d=!0x0);return _0x153a8d;}[_0x4efcc0(0x22c)](_0x53e3c2){const _0x1d66d5=_0x4efcc0;if(!this[_0x1d66d5(0x22a)])return!0x1;let _0x130ad1=!0x1;if(this[_0x1d66d5(0x22a)][_0x1d66d5(0x21e)]!==this[_0x1d66d5(0x207)][_0x1d66d5(0x230)]){const _0x5356c=[];for(const _0x474978 of this[_0x1d66d5(0x22a)][_0x1d66d5(0x203)]()){const _0x47e8de=_0x474978[_0x1d66d5(0x208)](_0x1d66d5(0x20f));this[_0x1d66d5(0x1fa)](_0x47e8de)||(_0x5356c[_0x1d66d5(0x225)](_0x474978),_0x130ad1=!0x0);}for(const _0x233c00 of _0x5356c)_0x53e3c2[_0x1d66d5(0x1ee)](_0x233c00);}const _0x477c5e=new Set(),_0x1fb1de=[];for(const _0xfbc80b of this[_0x1d66d5(0x22a)][_0x1d66d5(0x203)]()){const _0x641de0=_0xfbc80b[_0x1d66d5(0x208)](_0x1d66d5(0x20f));_0x477c5e[_0x1d66d5(0x1eb)](_0x641de0)?(_0x1fb1de[_0x1d66d5(0x225)](_0xfbc80b),_0x130ad1=!0x0):_0x477c5e[_0x1d66d5(0x20c)](_0x641de0);}for(const _0x4c7743 of _0x1fb1de)_0x53e3c2[_0x1d66d5(0x1ee)](_0x4c7743);return this[_0x1d66d5(0x22a)][_0x1d66d5(0x21e)]||(_0x53e3c2[_0x1d66d5(0x1ee)](this[_0x1d66d5(0x22a)]),this[_0x1d66d5(0x22a)]=null,_0x130ad1=!0x0),_0x130ad1;}[_0x4efcc0(0x21a)](_0x46e94f,_0x2eca4f){const _0x400d35=_0x4efcc0;if(this[_0x400d35(0x207)][_0x400d35(0x1ed)](_0x3b14cc=>_0x3b14cc[_0x400d35(0x1fd)]===_0x2eca4f))return!0x1;let _0x4970a5=!0x1;const _0x4c1beb=_0x2eca4f[_0x400d35(0x208)](_0x400d35(0x20f)),_0x303994=this[_0x400d35(0x207)][_0x400d35(0x213)](_0x5f01a2=>_0x5f01a2['id']===_0x4c1beb);-0x1!==_0x303994&&(_0x46e94f[_0x400d35(0x1ee)](this[_0x400d35(0x207)][_0x303994][_0x400d35(0x1fd)]),this[_0x400d35(0x207)][_0x400d35(0x20b)](_0x303994,0x1),_0x4970a5=!0x0);let _0x14e0d3=this[_0x400d35(0x22a)]?function(_0x338253,_0x1883e7){const _0x29abe7=_0x400d35;for(const _0x3d5f4e of _0x338253[_0x29abe7(0x203)]())if(_0x3d5f4e[_0x29abe7(0x208)](_0x29abe7(0x20f))===_0x1883e7)return _0x3d5f4e;return null;}(this[_0x400d35(0x22a)],_0x4c1beb):null;_0x14e0d3||(_0x14e0d3=_0x46e94f[_0x400d35(0x231)](_0x400d35(0x1f9),{'footnoteId':_0x4c1beb}),this[_0x400d35(0x22a)]&&(_0x46e94f[_0x400d35(0x1ea)](_0x14e0d3,this[_0x400d35(0x22a)],_0x400d35(0x23c)),_0x4970a5=!0x0));const _0x43039e={'id':_0x4c1beb,'reference':_0x2eca4f,'definition':_0x14e0d3},_0xed15a3=I(this[_0x400d35(0x211)][_0x400d35(0x227)],this[_0x400d35(0x207)],_0x2eca4f);this[_0x400d35(0x207)][_0x400d35(0x20b)](_0xed15a3,0x0,_0x43039e);let _0x228dc9=_0xed15a3;return-0x1!==_0x303994&&(_0x228dc9=Math[_0x400d35(0x237)](_0xed15a3,_0x303994)),this[_0x400d35(0x226)](_0x46e94f,_0x228dc9)&&(_0x4970a5=!0x0),_0x4970a5;}[_0x4efcc0(0x209)](_0x4b63fe,_0x85356b){const _0x185ca5=_0x4efcc0,_0x3c01d0=this[_0x185ca5(0x207)][_0x185ca5(0x213)](_0x3b6af6=>_0x3b6af6['id']===_0x85356b);if(-0x1===_0x3c01d0)return!0x1;let _0x5018e2=!0x1;const _0x28d72e=this[_0x185ca5(0x207)][_0x3c01d0];return _0x185ca5(0x1e9)!==_0x28d72e[_0x185ca5(0x20e)][_0x185ca5(0x1fc)][_0x185ca5(0x1da)]&&(_0x4b63fe[_0x185ca5(0x1ee)](_0x28d72e[_0x185ca5(0x20e)]),_0x5018e2=!0x0),this[_0x185ca5(0x207)][_0x185ca5(0x20b)](_0x3c01d0,0x1),this[_0x185ca5(0x226)](_0x4b63fe,_0x3c01d0)&&(_0x5018e2=!0x0),_0x5018e2;}[_0x4efcc0(0x22b)](_0x549ce8,_0x5cb5a5){const _0x526a25=_0x4efcc0,_0x1d0322=_0x5cb5a5[_0x526a25(0x208)](_0x526a25(0x20f)),_0x536802=this[_0x526a25(0x207)][_0x526a25(0x213)](_0x35d31d=>_0x35d31d['id']===_0x1d0322),_0x5314e4=this[_0x526a25(0x207)][_0x536802];let _0x388ea4=!0x1;_0x5314e4[_0x526a25(0x1fd)]=_0x5cb5a5,this[_0x526a25(0x207)][_0x526a25(0x20b)](_0x536802,0x1);const _0x3f4023=I(this[_0x526a25(0x211)][_0x526a25(0x227)],this[_0x526a25(0x207)],_0x5cb5a5);return this[_0x526a25(0x207)][_0x526a25(0x20b)](_0x3f4023,0x0,_0x5314e4),this[_0x526a25(0x226)](_0x549ce8,Math[_0x526a25(0x237)](_0x536802,_0x3f4023))&&(_0x388ea4=!0x0),_0x388ea4;}[_0x4efcc0(0x1e6)](_0x13880c,_0xcd689c){const _0x512d02=_0x4efcc0;if(!this[_0x512d02(0x22a)])return!0x1;const _0x28b124=this[_0x512d02(0x207)][_0xcd689c];let _0xa87d8f;return _0xa87d8f=this[_0x512d02(0x23a)]?this[_0x512d02(0x23a)]({'footnote':_0x28b124,'container':this[_0x512d02(0x22a)],'digits':String(this[_0x512d02(0x207)][_0x512d02(0x230)])[_0x512d02(0x230)],'value':_0xcd689c+0x1}):String(_0xcd689c+0x1),_0x28b124[_0x512d02(0x1fd)][_0x512d02(0x208)](_0x512d02(0x235))!=_0xa87d8f&&(_0x13880c[_0x512d02(0x1f5)](_0x512d02(0x235),_0xa87d8f,_0x28b124[_0x512d02(0x1fd)]),!0x0);}[_0x4efcc0(0x1f1)](_0x555777){const _0x120502=_0x4efcc0;if(!this[_0x120502(0x22a)]||this[_0x120502(0x207)][_0x120502(0x230)]<0x2)return!0x1;if(function(_0x315a7b,_0x3c06c4){const _0x331640=_0x120502;if(_0x315a7b[_0x331640(0x230)]!==_0x3c06c4[_0x331640(0x230)])return!0x1;for(let _0x1f145c=0x0;_0x1f145c<_0x315a7b[_0x331640(0x230)];_0x1f145c++)if(_0x315a7b[_0x1f145c]!==_0x3c06c4[_0x1f145c])return!0x1;return!0x0;}(this[_0x120502(0x207)][_0x120502(0x1e7)](_0x579034=>_0x579034['id']),Array[_0x120502(0x1f4)](this[_0x120502(0x22a)][_0x120502(0x203)]())[_0x120502(0x1e7)](_0x5a23e3=>_0x5a23e3[_0x120502(0x208)](_0x120502(0x20f)))))return!0x1;let _0x2b0377=!0x1;for(let _0x29c76f=0x0;_0x29c76f<this[_0x120502(0x207)][_0x120502(0x230)];_0x29c76f++){const _0x379b66=this[_0x120502(0x207)][_0x29c76f],_0x38e3d7=_0x555777[_0x120502(0x1fb)](_0x379b66[_0x120502(0x20e)]),_0x12b7f4=_0x555777[_0x120502(0x1f8)](this[_0x120502(0x22a)],_0x29c76f);_0x38e3d7[_0x120502(0x1dd)](_0x12b7f4)||(_0x555777[_0x120502(0x22d)](_0x555777[_0x120502(0x22e)](_0x379b66[_0x120502(0x20e)]),_0x12b7f4),_0x2b0377=!0x0);}return _0x2b0377;}[_0x4efcc0(0x1e1)](_0x380441){const _0x5af7b6=_0x4efcc0;if(!this[_0x5af7b6(0x207)][_0x5af7b6(0x230)])return!0x1;const {model:_0x23593b}=this[_0x5af7b6(0x211)];let _0x535a6b=!0x1;for(let _0x41a735=0x0;_0x41a735<this[_0x5af7b6(0x207)][_0x5af7b6(0x230)]-0x1;_0x41a735++){const _0x41ea75=this[_0x5af7b6(0x207)][_0x41a735],_0x351222=this[_0x5af7b6(0x207)][_0x41a735+0x1],_0x2ecea9=_0x23593b[_0x5af7b6(0x1fb)](_0x41ea75[_0x5af7b6(0x1fd)]),_0x40d8ae=_0x23593b[_0x5af7b6(0x1fb)](_0x351222[_0x5af7b6(0x1fd)]);_0x5af7b6(0x236)===_0x2ecea9[_0x5af7b6(0x200)](_0x40d8ae)&&(this[_0x5af7b6(0x22b)](_0x380441,_0x41ea75[_0x5af7b6(0x1fd)]),_0x41a735=-0x1,_0x535a6b=!0x0);}return _0x535a6b;}}function _(_0x1c04f0,_0x79ec4c,_0x1e4912){const _0x480362=_0x4efcc0;if(_0x1e4912[_0x480362(0x21e)])return!0x1;const _0x406c5e=_0x79ec4c?_0x480362(0x1f6):_0x480362(0x1ff);return _0x1c04f0[_0x480362(0x1ea)](_0x1c04f0[_0x480362(0x231)](_0x406c5e),_0x1e4912),!0x0;}function I(_0x442c71,_0x8fd3e3,_0x535f51){const _0x3f4258=_0x4efcc0;if(0x0===_0x8fd3e3[_0x3f4258(0x230)])return 0x0;const _0x16d3bc=_0x442c71[_0x3f4258(0x1fb)](_0x535f51);for(let _0x3bbc39=0x0;_0x3bbc39<_0x8fd3e3[_0x3f4258(0x230)];_0x3bbc39++){const _0x486d2c=_0x8fd3e3[_0x3bbc39],_0x3c65ca=_0x442c71[_0x3f4258(0x1fb)](_0x486d2c[_0x3f4258(0x1fd)]);if(_0x3f4258(0x204)===_0x16d3bc[_0x3f4258(0x200)](_0x3c65ca))return _0x3bbc39;}const _0x15fbae=_0x535f51[_0x3f4258(0x1fc)];let _0x472276=-0x1;for(let _0x4e5a73=_0x8fd3e3[_0x3f4258(0x230)]-0x1;_0x4e5a73>=0x0;_0x4e5a73--)if(_0x8fd3e3[_0x4e5a73][_0x3f4258(0x1fd)][_0x3f4258(0x1fc)]===_0x15fbae){_0x472276=_0x4e5a73;break;}if(-0x1!==_0x472276)return _0x472276+0x1;const _0x2b3ccb=_0x442c71[_0x3f4258(0x214)][_0x3f4258(0x216)](),_0x33eb73=_0x2b3ccb[_0x3f4258(0x233)](_0x15fbae[_0x3f4258(0x1da)]),_0x341d95=_0x2b3ccb[_0x33eb73+0x1];if(_0x341d95){for(let _0x278d31=0x0;_0x278d31<_0x8fd3e3[_0x3f4258(0x230)];_0x278d31++)if(_0x8fd3e3[_0x278d31][_0x3f4258(0x1fd)][_0x3f4258(0x1fc)][_0x3f4258(0x1da)]===_0x341d95)return _0x278d31;}return _0x8fd3e3[_0x3f4258(0x230)];}function _0x1278(_0x4b8159,_0x1f17b6){const _0xbe07e7=_0xbe07();return _0x1278=function(_0x127817,_0x3b1a70){_0x127817=_0x127817-0x1da;let _0x1dc8e4=_0xbe07e7[_0x127817];return _0x1dc8e4;},_0x1278(_0x4b8159,_0x1f17b6);}function _0xbe07(){const _0x151700=['footnoteInlineContent','compareWith','createRangeIn','getFootnotesDefinitionsObjectElement','getChildren','before','149766tOxHYZ','4520rEsimG','_footnotes','getAttribute','_handleRemoveFootnoteReferenceById','_handleFootnotesDefinitionsObjectChanges','splice','add','registerPostFixer','definition','footnoteId','footnotes.multiBlock','editor','_footnoteRefsTracker','findIndex','document','_footnoteDefsTracker','getRootNames','enqueueChange','6iJzZRa','6JXHxgR','_handleInsertedFootnoteReference','5339185xwVthZ','_handleFootnoteReferencesChanges','837mTRqob','childCount','_insertEmptyFootnotesDefinitionsContainer','_ensureFootnotesDefinitionsContainerExists','8543360zLrSgr','4636492bxkCak','footnoteRef','getChanges','unshift','_updateFootnotesCounters','model','footnotesDefinitions','parent','_footnotesDefinitions','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','move','createRangeOn','setFootnoteFormatter','length','createElement','FootnotesTracker','indexOf','_footnoteDefsContainerTracker','footnoteCounter','after','min','4947817dzqYul','high','_footnoteFormatter','get','end','differ','isPremiumPlugin','rootName','listenTo','getFootnotes','isEqual','isOfficialPlugin','some','pluginName','_ensureFootnotesReferencesHaveProperOrder','config','singleton','reset','set','_updateFootnoteRefCounter','map','_handleFootnoteDefinitionsChanges','$graveyard','insert','has','init','find','remove','low','push','_sortFootnoteDefinitions','append','change:data','from','setAttribute','paragraph','getFootnotesFormatter','createPositionAt','footnoteDefinition','getFootnote','createPositionBefore','root','reference','1035038OxryFK'];_0xbe07=function(){return _0x151700;};return _0xbe07();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x67c848,MenuBarMenuListItemButtonView as _0xd5139a}from'ckeditor5/src/ui.js';import{Plugin as _0x53357a}from'ckeditor5/src/core.js';import{IconFootnote as _0xaf3e33}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x53357a{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1decf1}=this,{componentFactory:_0x3502ea}=_0x1decf1['ui'];_0x3502ea['add']('insertFootnote',x(_0x1decf1,_0x67c848)),_0x3502ea['add']('menuBar:insertFootnote',x(_0x1decf1,_0xd5139a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x43aebc=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1bbd24;for(const _0x14a4b9 in _0x43aebc){const _0x42d407=_0x14a4b9,_0xef3dce=_0x43aebc[_0x42d407];if('footnotesLicenseKeyValid'==_0xef3dce||'footnotesLicenseKeyInvalid'==_0xef3dce||'footnotesLicenseKeyExpired'==_0xef3dce||'footnotesLicenseKeyDomainLimit'==_0xef3dce||'footnotesLicenseKeyNotAllowed'==_0xef3dce||'footnotesLicenseKeyEvaluationLimit'==_0xef3dce||'footnotesLicenseKeyTrialLimit'==_0xef3dce||'footnotesLicenseKeyUsageLimit'==_0xef3dce){delete _0x43aebc[_0x42d407],_0x1bbd24=_0xef3dce,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1bbd24&&_0x43aebc['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1bbd24&&_0x43aebc['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1bbd24&&_0x43aebc['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1bbd24&&_0x43aebc['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1bbd24&&_0x43aebc['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1bbd24&&_0x43aebc['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1bbd24&&_0x43aebc['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4163c1,_0x6adfa1){const _0x231267=_0x4163c1['commands']['get']('insertFootnote');return _0x420be8=>{const {t:t}=_0x420be8,_0x41a486=new _0x6adfa1(_0x420be8),_0x889df4=_0x41a486 instanceof _0xd5139a;return _0x41a486['bind']('isEnabled')['to'](_0x231267,'isEnabled'),_0x41a486['set']({'label':t(_0x889df4?'Footnote':'Insert\x20footnote'),'icon':_0xaf3e33,'tooltip':!0x0}),_0x41a486['on']('execute',()=>{_0x231267['execute'](),_0x4163c1['editing']['view']['focus']();}),_0x41a486;};}
23
+ import{ButtonView as _0x5338fb,MenuBarMenuListItemButtonView as _0x5b6a0b}from'ckeditor5/src/ui.js';import{Plugin as _0x179b4d}from'ckeditor5/src/core.js';import{IconFootnote as _0x51d2c7}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x179b4d{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x59f95d}=this,{componentFactory:_0x4f26a4}=_0x59f95d['ui'];_0x4f26a4['add']('insertFootnote',x(_0x59f95d,_0x5338fb)),_0x4f26a4['add']('menuBar:insertFootnote',x(_0x59f95d,_0x5b6a0b)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18f162=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x44eaa8;for(const _0x4b6bf7 in _0x18f162){const _0x323cad=_0x4b6bf7,_0x22569f=_0x18f162[_0x323cad];if('footnotesLicenseKeyValid'==_0x22569f||'footnotesLicenseKeyInvalid'==_0x22569f||'footnotesLicenseKeyExpired'==_0x22569f||'footnotesLicenseKeyDomainLimit'==_0x22569f||'footnotesLicenseKeyNotAllowed'==_0x22569f||'footnotesLicenseKeyEvaluationLimit'==_0x22569f||'footnotesLicenseKeyTrialLimit'==_0x22569f||'footnotesLicenseKeyUsageLimit'==_0x22569f){delete _0x18f162[_0x323cad],_0x44eaa8=_0x22569f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x44eaa8&&_0x18f162['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x44eaa8&&_0x18f162['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x44eaa8&&_0x18f162['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x44eaa8&&_0x18f162['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x44eaa8&&_0x18f162['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x44eaa8&&_0x18f162['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x44eaa8&&_0x18f162['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x4ca660,_0x394654){const _0x202cd6=_0x4ca660['commands']['get']('insertFootnote');return _0x28063f=>{const {t:t}=_0x28063f,_0x4951b7=new _0x394654(_0x28063f),_0xadfdb8=_0x4951b7 instanceof _0x5b6a0b;return _0x4951b7['bind']('isEnabled')['to'](_0x202cd6,'isEnabled'),_0x4951b7['set']({'label':t(_0xadfdb8?'Footnote':'Insert\x20footnote'),'icon':_0x51d2c7,'tooltip':!0x0}),_0x4951b7['on']('execute',()=>{_0x202cd6['execute'](),_0x4ca660['editing']['view']['focus']();}),_0x4951b7;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x62d5e,_0x483e35){var _0x3abc9a=_0x4cfc,_0xdf62e=_0x62d5e();while(!![]){try{var _0x28ff44=parseInt(_0x3abc9a(0x1bb))/0x1*(parseInt(_0x3abc9a(0x1b9))/0x2)+parseInt(_0x3abc9a(0x1b4))/0x3+-parseInt(_0x3abc9a(0x1b3))/0x4+parseInt(_0x3abc9a(0x1bc))/0x5*(-parseInt(_0x3abc9a(0x1b5))/0x6)+-parseInt(_0x3abc9a(0x1b2))/0x7*(-parseInt(_0x3abc9a(0x1ba))/0x8)+parseInt(_0x3abc9a(0x1b7))/0x9+-parseInt(_0x3abc9a(0x1b8))/0xa*(parseInt(_0x3abc9a(0x1b6))/0xb);if(_0x28ff44===_0x483e35)break;else _0xdf62e['push'](_0xdf62e['shift']());}catch(_0x16d018){_0xdf62e['push'](_0xdf62e['shift']());}}}(_0x4245,0xed09c));import'./augmentation.js';function _0x4cfc(_0x35cf9c,_0x5204bb){var _0x42455c=_0x4245();return _0x4cfc=function(_0x4cfc5f,_0xce6fb2){_0x4cfc5f=_0x4cfc5f-0x1b2;var _0x2da262=_0x42455c[_0x4cfc5f];return _0x2da262;},_0x4cfc(_0x35cf9c,_0x5204bb);}function _0x4245(){var _0x4f02b9=['1749786uLYNWh','22MDYaTy','10517418XYxImK','8632360McDoqQ','3265586MGjmkb','14095736eMhIVh','1gBHAom','10kkmeOl','7bqTxsO','6151516adPaFI','765477RLeezo'];_0x4245=function(){return _0x4f02b9;};return _0x4245();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x6d524e,_0xbd5dae){var _0x20bbca=_0x3fd8,_0x474921=_0x6d524e();while(!![]){try{var _0x169f3c=parseInt(_0x20bbca(0x11f))/0x1+-parseInt(_0x20bbca(0x11d))/0x2*(parseInt(_0x20bbca(0x121))/0x3)+parseInt(_0x20bbca(0x120))/0x4*(parseInt(_0x20bbca(0x11b))/0x5)+parseInt(_0x20bbca(0x123))/0x6*(parseInt(_0x20bbca(0x11a))/0x7)+-parseInt(_0x20bbca(0x122))/0x8*(-parseInt(_0x20bbca(0x11c))/0x9)+-parseInt(_0x20bbca(0x11e))/0xa+-parseInt(_0x20bbca(0x124))/0xb;if(_0x169f3c===_0xbd5dae)break;else _0x474921['push'](_0x474921['shift']());}catch(_0x2dbdcc){_0x474921['push'](_0x474921['shift']());}}}(_0x36c3,0x99139));import'./augmentation.js';function _0x36c3(){var _0x4112b7=['4IXxeKg','51309jcyhKh','67960BllnEG','288kbdDXt','8375653YKUBDr','55517axgCKd','1889555QOJUnl','126uZlVNK','6zvTPJW','3133120DBqoIK','875516HrvPun'];_0x36c3=function(){return _0x4112b7;};return _0x36c3();}export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';function _0x3fd8(_0x9c28a8,_0x532519){var _0x36c31b=_0x36c3();return _0x3fd8=function(_0x3fd8ca,_0x2b3962){_0x3fd8ca=_0x3fd8ca-0x11a;var _0x4d503b=_0x36c31b[_0x3fd8ca];return _0x4d503b;},_0x3fd8(_0x9c28a8,_0x532519);}export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x29ac3d=_0x1f17;(function(_0x5876a3,_0x2f5183){const _0x49645d=_0x1f17,_0x5c7c15=_0x5876a3();while(!![]){try{const _0xb188e=-parseInt(_0x49645d(0x92))/0x1+-parseInt(_0x49645d(0x87))/0x2+-parseInt(_0x49645d(0x84))/0x3+-parseInt(_0x49645d(0x7b))/0x4*(parseInt(_0x49645d(0x8d))/0x5)+parseInt(_0x49645d(0x9b))/0x6+parseInt(_0x49645d(0x90))/0x7*(parseInt(_0x49645d(0x94))/0x8)+parseInt(_0x49645d(0x7d))/0x9*(parseInt(_0x49645d(0x8b))/0xa);if(_0xb188e===_0x2f5183)break;else _0x5c7c15['push'](_0x5c7c15['shift']());}catch(_0x5464d3){_0x5c7c15['push'](_0x5c7c15['shift']());}}}(_0x3765,0xf17ca));export class ModelElementTracker{[_0x29ac3d(0x8a)];[_0x29ac3d(0x7f)];[_0x29ac3d(0x80)];[_0x29ac3d(0x8c)]=new Map();constructor(_0x223e1a,_0x55ca87){const _0x33a011=_0x29ac3d;this[_0x33a011(0x8a)]=_0x223e1a,this[_0x33a011(0x7f)]=_0x55ca87[_0x33a011(0x78)],this[_0x33a011(0x80)]=_0x55ca87[_0x33a011(0x95)];}[_0x29ac3d(0x9c)](){const _0x2a18dd=_0x29ac3d;this[_0x2a18dd(0x8c)][_0x2a18dd(0x82)]();}[_0x29ac3d(0xa0)](_0x33fc6a){const _0x4988af=_0x29ac3d,_0xb3553d=new Set(),_0x36b71d=new Map();for(const _0xb89a6 of _0x33fc6a){if(_0x4988af(0x9a)===_0xb89a6[_0x4988af(0x97)]&&_0x4988af(0x77)!==_0xb89a6[_0x4988af(0x9f)]&&_0xb89a6[_0x4988af(0x86)][_0x4988af(0x93)]){const _0x1d451d=this[_0x4988af(0x8a)][_0x4988af(0x76)](_0xb89a6[_0x4988af(0x86)][_0x4988af(0x93)]);for(const _0x59d419 of _0x1d451d[_0x4988af(0x7a)]()){if(!_0x59d419['is'](_0x4988af(0x85),this[_0x4988af(0x7f)]))continue;const _0x3c35c6=this[_0x4988af(0x80)](_0x59d419);_0x36b71d[_0x4988af(0x89)](_0x3c35c6)||_0x36b71d[_0x4988af(0x88)](_0x3c35c6,[]),_0x36b71d[_0x4988af(0x91)](_0x3c35c6)[_0x4988af(0xa1)](_0x59d419);}}if(_0x4988af(0x8f)===_0xb89a6[_0x4988af(0x97)]&&_0xb89a6[_0x4988af(0x9f)]===this[_0x4988af(0x7f)]){const _0x1a700d=this[_0x4988af(0x80)]({'getAttribute':_0x5140f5=>_0xb89a6[_0x4988af(0x99)][_0x4988af(0x91)](_0x5140f5)});_0xb3553d[_0x4988af(0x7e)](_0x1a700d);}}for(const [_0x29d01c,_0x409f35]of this[_0x4988af(0x8c)])_0x4988af(0x98)===_0x409f35[_0x4988af(0x83)][_0x4988af(0x9d)]&&_0xb3553d[_0x4988af(0x7e)](_0x29d01c);for(const _0x2972ce of _0xb3553d)this[_0x4988af(0x8c)][_0x4988af(0x8e)](_0x2972ce);for(const [_0x2c5057,_0x9b5fa1]of _0x36b71d)this[_0x4988af(0x8c)][_0x4988af(0x88)](_0x2c5057,_0x9b5fa1[_0x9b5fa1[_0x4988af(0x9e)]-0x1]);const _0x4f9c9e=new Set();for(const [_0x80e8f5,_0x31e988]of _0x36b71d)_0xb3553d[_0x4988af(0x89)](_0x80e8f5)&&(_0x4f9c9e[_0x4988af(0x7e)](_0x31e988[0x0]),_0x31e988[_0x4988af(0x9e)]>0x1?_0x36b71d[_0x4988af(0x88)](_0x80e8f5,_0x31e988[_0x4988af(0x96)](0x1)):_0x36b71d[_0x4988af(0x8e)](_0x80e8f5),_0xb3553d[_0x4988af(0x8e)](_0x80e8f5));return{'removed':Array[_0x4988af(0x7c)](_0xb3553d),'inserted':Array[_0x4988af(0x7c)](_0x36b71d[_0x4988af(0x81)]())[_0x4988af(0x79)](),'moved':Array[_0x4988af(0x7c)](_0x4f9c9e)};}}function _0x1f17(_0x466a5d,_0x1b7b3c){const _0x3765dc=_0x3765();return _0x1f17=function(_0x1f1782,_0x29f8ea){_0x1f1782=_0x1f1782-0x76;let _0x4761fd=_0x3765dc[_0x1f1782];return _0x4761fd;},_0x1f17(_0x466a5d,_0x1b7b3c);}function _0x3765(){const _0xbb3c0=['_trackedElements','160NGnIEz','delete','remove','21xnWEYG','get','1227960JvEqRD','nodeAfter','3098816FerbDC','getElementKey','slice','type','$graveyard','attributes','insert','7577910GNLqyf','reset','rootName','length','name','getChanges','push','createRangeOn','$text','elementName','flat','getItems','201124ARxWXN','from','275841pTPHHX','add','_elementName','_getElementKey','values','clear','root','5390679tRcCVu','element','position','3473110LdBOAy','set','has','_model','1610IhNNOQ'];_0x3765=function(){return _0xbb3c0;};return _0x3765();}
23
+ function _0x5ad5(_0x1e4ff8,_0x337d2a){const _0x71ebe8=_0x71eb();return _0x5ad5=function(_0x5ad587,_0x2b0302){_0x5ad587=_0x5ad587-0x7e;let _0x9c83e6=_0x71ebe8[_0x5ad587];return _0x9c83e6;},_0x5ad5(_0x1e4ff8,_0x337d2a);}const _0x3c1f6b=_0x5ad5;(function(_0x5bb251,_0x2669e6){const _0x2acab3=_0x5ad5,_0x2568e4=_0x5bb251();while(!![]){try{const _0x3a78fb=-parseInt(_0x2acab3(0x84))/0x1*(parseInt(_0x2acab3(0x9f))/0x2)+-parseInt(_0x2acab3(0x88))/0x3+-parseInt(_0x2acab3(0x99))/0x4+parseInt(_0x2acab3(0x91))/0x5+-parseInt(_0x2acab3(0x97))/0x6*(parseInt(_0x2acab3(0xa6))/0x7)+parseInt(_0x2acab3(0xa2))/0x8*(-parseInt(_0x2acab3(0x96))/0x9)+parseInt(_0x2acab3(0x86))/0xa;if(_0x3a78fb===_0x2669e6)break;else _0x2568e4['push'](_0x2568e4['shift']());}catch(_0x298cab){_0x2568e4['push'](_0x2568e4['shift']());}}}(_0x71eb,0xdd025));export class ModelElementTracker{[_0x3c1f6b(0xa1)];[_0x3c1f6b(0x81)];[_0x3c1f6b(0x8b)];[_0x3c1f6b(0x9e)]=new Map();constructor(_0x57b0cb,_0x4d503e){const _0x19a8ea=_0x3c1f6b;this[_0x19a8ea(0xa1)]=_0x57b0cb,this[_0x19a8ea(0x81)]=_0x4d503e[_0x19a8ea(0x9b)],this[_0x19a8ea(0x8b)]=_0x4d503e[_0x19a8ea(0x85)];}[_0x3c1f6b(0xa8)](){const _0xbf8c26=_0x3c1f6b;this[_0xbf8c26(0x9e)][_0xbf8c26(0x87)]();}[_0x3c1f6b(0x83)](_0x187baf){const _0x326b74=_0x3c1f6b,_0x15474c=new Set(),_0x4fa3f1=new Map();for(const _0x55dcf8 of _0x187baf){if(_0x326b74(0x8a)===_0x55dcf8[_0x326b74(0x89)]&&_0x326b74(0x9c)!==_0x55dcf8[_0x326b74(0x92)]&&_0x55dcf8[_0x326b74(0x8f)][_0x326b74(0xa9)]){const _0xccb4ff=this[_0x326b74(0xa1)][_0x326b74(0x80)](_0x55dcf8[_0x326b74(0x8f)][_0x326b74(0xa9)]);for(const _0x196ce5 of _0xccb4ff[_0x326b74(0x82)]()){if(!_0x196ce5['is'](_0x326b74(0x93),this[_0x326b74(0x81)]))continue;const _0x21831f=this[_0x326b74(0x8b)](_0x196ce5);_0x4fa3f1[_0x326b74(0x9d)](_0x21831f)||_0x4fa3f1[_0x326b74(0x8e)](_0x21831f,[]),_0x4fa3f1[_0x326b74(0x7e)](_0x21831f)[_0x326b74(0xa4)](_0x196ce5);}}if(_0x326b74(0x98)===_0x55dcf8[_0x326b74(0x89)]&&_0x55dcf8[_0x326b74(0x92)]===this[_0x326b74(0x81)]){const _0x155288=this[_0x326b74(0x8b)]({'getAttribute':_0x437416=>_0x55dcf8[_0x326b74(0xa0)][_0x326b74(0x7e)](_0x437416)});_0x15474c[_0x326b74(0x8c)](_0x155288);}}for(const [_0x2565ff,_0x1b39c6]of this[_0x326b74(0x9e)])_0x326b74(0xa7)===_0x1b39c6[_0x326b74(0x9a)][_0x326b74(0xa5)]&&_0x15474c[_0x326b74(0x8c)](_0x2565ff);for(const _0x21878c of _0x15474c)this[_0x326b74(0x9e)][_0x326b74(0x90)](_0x21878c);for(const [_0x90f561,_0x28d824]of _0x4fa3f1)this[_0x326b74(0x9e)][_0x326b74(0x8e)](_0x90f561,_0x28d824[_0x28d824[_0x326b74(0x95)]-0x1]);const _0x15b728=new Set();for(const [_0x1d1c9e,_0x5b6f73]of _0x4fa3f1)_0x15474c[_0x326b74(0x9d)](_0x1d1c9e)&&(_0x15b728[_0x326b74(0x8c)](_0x5b6f73[0x0]),_0x5b6f73[_0x326b74(0x95)]>0x1?_0x4fa3f1[_0x326b74(0x8e)](_0x1d1c9e,_0x5b6f73[_0x326b74(0x8d)](0x1)):_0x4fa3f1[_0x326b74(0x90)](_0x1d1c9e),_0x15474c[_0x326b74(0x90)](_0x1d1c9e));return{'removed':Array[_0x326b74(0x94)](_0x15474c),'inserted':Array[_0x326b74(0x94)](_0x4fa3f1[_0x326b74(0xa3)]())[_0x326b74(0x7f)](),'moved':Array[_0x326b74(0x94)](_0x15b728)};}}function _0x71eb(){const _0x466343=['5338935RldMni','type','insert','_getElementKey','add','slice','set','position','delete','6078625VPRlVZ','name','element','from','length','376866hybjKL','6iJHyRt','remove','3578624kOkOsX','root','elementName','$text','has','_trackedElements','38130xLCIzd','attributes','_model','96RaqXCX','values','push','rootName','1795199myWGLo','$graveyard','reset','nodeAfter','get','flat','createRangeOn','_elementName','getItems','getChanges','13GKXdxb','getElementKey','33706190LppraM','clear'];_0x71eb=function(){return _0x466343;};return _0x71eb();}