@ckeditor/ckeditor5-footnotes 0.0.0-internal-20251210.0 → 0.0.0-internal-20251211.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x4f6b2d}from'ckeditor5/src/core.js';import{isWidget as _0x4786bb,toWidget as _0x506259,toWidgetEditable as _0x888e54}from'ckeditor5/src/widget.js';import{uid as _0x3ad473}from'ckeditor5/src/utils.js';import{PointerObserver as _0x394201,ClickObserver as _0x18c85a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x42cb3b}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1bad1a}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x4f6b2d{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x42cb3b];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x8d2ad1}=this;_0x8d2ad1['config']['define']('footnotes.multiBlock',!0x0),_0x8d2ad1['commands']['add']('insertFootnote',new _0x1bad1a(_0x8d2ad1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x38422d){const _0x1b5aaf=_0x2b5403([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]),_0x58738b=0x47a28506,_0x104f92=0x47a5fe86^_0x58738b,_0x4634be=window[_0x2b5403([0x44,0x61,0x74,0x65])][_0x2b5403([0x6e,0x6f,0x77])](),_0x59cdfa=_0x38422d[_0x2b5403([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x19edc9=new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x4e1750=>{_0x59cdfa[_0x2b5403([0x6f,0x6e,0x63,0x65])](_0x2b5403([0x72,0x65,0x61,0x64,0x79]),_0x4e1750);}),_0x4bf2aa={[_0x2b5403([0x6b,0x74,0x79])]:_0x2b5403([0x45,0x43]),[_0x2b5403([0x75,0x73,0x65])]:_0x2b5403([0x73,0x69,0x67]),[_0x2b5403([0x63,0x72,0x76])]:_0x2b5403([0x50,0x2d,0x32,0x35,0x36]),[_0x2b5403([0x78])]:_0x2b5403([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]),[_0x2b5403([0x79])]:_0x2b5403([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]),[_0x2b5403([0x61,0x6c,0x67])]:_0x2b5403([0x45,0x53,0x32,0x35,0x36])},_0x56cfff=_0x59cdfa[_0x2b5403([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2b5403([0x67,0x65,0x74])](_0x2b5403([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x5c6222(){let _0xd4fc2b,_0x36275b=null,_0xf657e6=null;try{if(_0x56cfff==_0x2b5403([0x47,0x50,0x4c]))return _0x2b5403([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0xd4fc2b=_0x5c27ec(),!_0xd4fc2b)return _0x2b5403([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0xd4fc2b[_0x2b5403([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xf657e6=_0x285064(_0xd4fc2b[_0x2b5403([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0xd4fc2b[_0x2b5403([0x6a,0x74,0x69])])),await _0x1232e9()?_0x129b3c()?_0x4a71d7()?_0x2b5403([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x201d07()?(_0xd4fc2b[_0x2b5403([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b5403([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x36275b=_0x48d2ed(_0x2b5403([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0xd4fc2b[_0x2b5403([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2b5403([0x74,0x72,0x69,0x61,0x6c])&&(_0x36275b=_0x48d2ed(_0x2b5403([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x4606f4()):_0x2b5403([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5403([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2b5403([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2b5403([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4a71d7(){const _0xad300f=[_0x2b5403([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2b5403([0x74,0x72,0x69,0x61,0x6c])][_0x2b5403([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd4fc2b[_0x2b5403([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4634be/0x3e8:0xe10*_0x104f92;return _0xd4fc2b[_0x2b5403([0x65,0x78,0x70])]<_0xad300f;}function _0x129b3c(){const _0x19c319=_0xd4fc2b[_0x2b5403([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x19c319&&(!!_0x19c319[_0x2b5403([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5403([0x2a]))||!!_0x19c319[_0x2b5403([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5403([0x46,0x4f,0x4f])));}function _0x201d07(){const _0x29c618=_0xd4fc2b[_0x2b5403([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x29c618||0x0==_0x29c618[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x43b5bc}=new URL(window[_0x2b5403([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x29c618[_0x2b5403([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x43b5bc))return!0x0;const _0x465c5e=_0x43b5bc[_0x2b5403([0x73,0x70,0x6c,0x69,0x74])](_0x2b5403([0x2e]));return _0x29c618[_0x2b5403([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2d8099=>_0x2d8099[_0x2b5403([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2b5403([0x2a])))[_0x2b5403([0x6d,0x61,0x70])](_0x48b95e=>_0x48b95e[_0x2b5403([0x73,0x70,0x6c,0x69,0x74])](_0x2b5403([0x2e])))[_0x2b5403([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3f1b54=>_0x3f1b54[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x465c5e[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5403([0x6d,0x61,0x70])](_0xe2beb9=>Array(_0x465c5e[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0xe2beb9[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2b5403([0x66,0x69,0x6c,0x6c])](_0xe2beb9[0x0]===_0x2b5403([0x2a])?_0x2b5403([0x2a]):'')[_0x2b5403([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0xe2beb9))[_0x2b5403([0x73,0x6f,0x6d,0x65])](_0x29f3fa=>_0x465c5e[_0x2b5403([0x65,0x76,0x65,0x72,0x79])]((_0x5615c5,_0x6a581f)=>_0x29f3fa[_0x6a581f]===_0x5615c5||_0x29f3fa[_0x6a581f]===_0x2b5403([0x2a])));}function _0x4606f4(){return _0x36275b&&_0xf657e6?new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x298b33,_0x5a4790)=>{_0x36275b[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x298b33,_0x5a4790),_0xf657e6[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x246725=>{_0x246725!=_0x2b5403([0x56,0x61,0x6c,0x69,0x64])&&_0x298b33(_0x246725);},_0x5a4790);}):_0x36275b||_0xf657e6||_0x2b5403([0x56,0x61,0x6c,0x69,0x64]);}}function _0x285064(_0x1f60e9,_0x2639aa){return new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5ac81e=>{if(_0x3f0fab())return _0x5ac81e(_0x2b5403([0x56,0x61,0x6c,0x69,0x64]));_0x472999(),_0x59cdfa[_0x2b5403([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2b5403([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1dcb1b=!0x1;const _0x478190=_0x3ad473();function _0x1292c5(_0x221875){return!!_0x221875&&(typeof _0x221875===_0x2b5403([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x221875===_0x2b5403([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x221875[_0x2b5403([0x74,0x68,0x65,0x6e])]===_0x2b5403([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x221875[_0x2b5403([0x63,0x61,0x74,0x63,0x68])]===_0x2b5403([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x524d8f(_0x2573c6){_0x7edd38(_0x2573c6)[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x21c297=>{if(!_0x21c297||_0x21c297[_0x2b5403([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2b5403([0x6f,0x6b]))return _0x2b5403([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x2a79da(_0x596d06(_0x478190+_0x2639aa))!=_0x21c297[_0x2b5403([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2b5403([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2b5403([0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x2dac29=>(_0x254c81(),_0x2dac29),()=>{const _0x1b9ba9=_0x3f9762();return null==_0x1b9ba9?(_0x254c81(),_0x2b5403([0x56,0x61,0x6c,0x69,0x64])):_0x2b5403(_0x4634be-_0x1b9ba9>(0x63ae0106^_0x58738b)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x5ac81e)[_0x2b5403([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5ac81e(_0x2b5403([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x2da246=0x47946b86^_0x58738b;function _0x254c81(){const _0x3d61b9=_0x2b5403([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a79da(_0x596d06(_0x1f60e9)),_0x528cba=_0x2aa86f(_0x2a79da(window[_0x2b5403([0x4d,0x61,0x74,0x68])][_0x2b5403([0x63,0x65,0x69,0x6c])](_0x4634be/_0x2da246)));window[_0x2b5403([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5403([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3d61b9,_0x528cba);}function _0x3f9762(){const _0x1b2de2=_0x2b5403([0x6c,0x6c,0x63,0x74,0x2d])+_0x2a79da(_0x596d06(_0x1f60e9)),_0x58d1eb=window[_0x2b5403([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2b5403([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1b2de2);return _0x58d1eb?window[_0x2b5403([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2aa86f(_0x58d1eb),0x10)*_0x2da246:null;}function _0x7edd38(_0x2cfdf5){return new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x45da8e,_0x11942c)=>{_0x2cfdf5[_0x2b5403([0x74,0x68,0x65,0x6e])](_0x45da8e,_0x11942c),window[_0x2b5403([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x11942c,0x47a351c6^_0x58738b);});}}_0x59cdfa[_0x2b5403([0x6f,0x6e])](_0x2b5403([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x535815,_0x5b12a0)=>{if(_0x5b12a0[0x0]!=_0x1f60e9)return _0x5ac81e(_0x2b5403([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b12a0[0x1]={..._0x5b12a0[0x1],[_0x2b5403([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x478190};},{[_0x2b5403([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5403([0x68,0x69,0x67,0x68])}),_0x59cdfa[_0x2b5403([0x6f,0x6e])](_0x2b5403([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3a26e7=>{_0x1292c5(_0x3a26e7[_0x2b5403([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1dcb1b=!0x0,_0x524d8f(_0x3a26e7[_0x2b5403([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2b5403([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2b5403([0x6c,0x6f,0x77])}),_0x19edc9[_0x2b5403([0x74,0x68,0x65,0x6e])](()=>{_0x1dcb1b||_0x5ac81e(_0x2b5403([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3f0fab(){return _0x59cdfa[_0x2b5403([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5403([0x76,0x69,0x65,0x77])][_0x2b5403([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2b5403([0x61,0x75,0x74,0x6f]);}function _0x472999(){_0x59cdfa[_0x2b5403([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2b5403([0x76,0x69,0x65,0x77])][_0x2b5403([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2b5403([0x61,0x75,0x74,0x6f]);}}function _0x48d2ed(_0x2677d7){const _0x4a87c7=[new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x95eaf5=>setTimeout(_0x95eaf5,0x47abbbca^_0x58738b)),_0x19edc9[_0x2b5403([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1bb5a5=>{let _0x48df3b=0x0;_0x59cdfa[_0x2b5403([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5403([0x6f,0x6e])](_0x2b5403([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x5a735a,_0x1ce973)=>{_0x1ce973[0x0][_0x2b5403([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x48df3b++,_0x48df3b==(0x47a284fe^_0x58738b)&&(_0x1bb5a5(),_0x5a735a[_0x2b5403([0x6f,0x66,0x66])]());});}))];return window[_0x2b5403([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2b5403([0x72,0x61,0x63,0x65])](_0x4a87c7)[_0x2b5403([0x74,0x68,0x65,0x6e])](()=>_0x2677d7);}async function _0x9e119d(){await _0x19edc9,_0x59cdfa[_0x2b5403([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5403([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x189c68,_0x59cdfa[_0x2b5403([0x6d,0x6f,0x64,0x65,0x6c])][_0x2b5403([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x189c68,_0x59cdfa[_0x2b5403([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2b5403([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x461400(_0x516d13){const _0x55dd94=_0x5a3199();_0x59cdfa[_0x55dd94]=_0x2b5403([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x516d13,_0x516d13!=_0x2b5403([0x56,0x61,0x6c,0x69,0x64])&&_0x9e119d();}function _0x5a3199(){const _0x5c5215=window[_0x2b5403([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2b5403([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2b5403([0x6e,0x6f,0x77])]())[_0x2b5403([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2b5403([0x2e]),'');let _0x341391=_0x2b5403([0x75]);for(let _0x368edf=0x0;_0x368edf<_0x5c5215[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x368edf+=0x2){let _0x4e7823=window[_0x2b5403([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c5215[_0x2b5403([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x368edf,_0x368edf+0x2));_0x4e7823>=_0x1b5aaf[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x4e7823-=_0x1b5aaf[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x341391+=_0x1b5aaf[_0x4e7823];}return _0x341391;}function _0x5c27ec(){const _0x166122=_0x56cfff[_0x2b5403([0x73,0x70,0x6c,0x69,0x74])](_0x2b5403([0x2e]));if(0x3!=_0x166122[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1b855f(_0x166122[0x1]);function _0x1b855f(_0x212d47){const _0x4b56e5=_0x9e7ce0(_0x212d47);return _0x4b56e5&&_0x356af3()?_0x4b56e5:null;function _0x356af3(){const _0x3ff215=_0x4b56e5[_0x2b5403([0x6a,0x74,0x69])],_0x21f5e2=window[_0x2b5403([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3ff215[_0x2b5403([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3ff215[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x470138={..._0x4b56e5,[_0x2b5403([0x6a,0x74,0x69])]:_0x3ff215[_0x2b5403([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3ff215[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x470138[_0x2b5403([0x76,0x63])],_0x596d06(_0x470138)==_0x21f5e2;}}}async function _0x1232e9(){let _0x2ae4c1=!0x0;try{const _0x206872=_0x56cfff[_0x2b5403([0x73,0x70,0x6c,0x69,0x74])](_0x2b5403([0x2e])),[_0x49ee5c,_0x53e62c,_0x50766f]=_0x206872;return _0x555be7(_0x49ee5c),await _0x278d4f(_0x49ee5c,_0x53e62c,_0x50766f),_0x2ae4c1;}catch{return!0x1;}function _0x555be7(_0x423f1e){const _0x21be7b=_0x9e7ce0(_0x423f1e);_0x21be7b&&_0x21be7b[_0x2b5403([0x61,0x6c,0x67])]==_0x2b5403([0x45,0x53,0x32,0x35,0x36])||(_0x2ae4c1=!0x1);}async function _0x278d4f(_0x1d0e2d,_0x2bd565,_0x30dd31){const _0x5837f5=window[_0x2b5403([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2b5403([0x66,0x72,0x6f,0x6d])](_0x1f98ec(_0x30dd31),_0x5c2968=>_0x5c2968[_0x2b5403([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x437540=new window[(_0x2b5403([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2b5403([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1d0e2d+_0x2b5403([0x2e])+_0x2bd565),_0x2184f3=window[_0x2b5403([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2b5403([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2184f3)return;const _0x531c30=await _0x2184f3[_0x2b5403([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2b5403([0x6a,0x77,0x6b]),_0x4bf2aa,{[_0x2b5403([0x6e,0x61,0x6d,0x65])]:_0x2b5403([0x45,0x43,0x44,0x53,0x41]),[_0x2b5403([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2b5403([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2b5403([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2184f3[_0x2b5403([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2b5403([0x6e,0x61,0x6d,0x65])]:_0x2b5403([0x45,0x43,0x44,0x53,0x41]),[_0x2b5403([0x68,0x61,0x73,0x68])]:{[_0x2b5403([0x6e,0x61,0x6d,0x65])]:_0x2b5403([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x531c30,_0x5837f5,_0x437540)||(_0x2ae4c1=!0x1);}}function _0x9e7ce0(_0x344e2f){return _0x344e2f[_0x2b5403([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2b5403([0x65,0x79]))?JSON[_0x2b5403([0x70,0x61,0x72,0x73,0x65])](_0x1f98ec(_0x344e2f)):null;}function _0x1f98ec(_0x1fdbd7){return window[_0x2b5403([0x61,0x74,0x6f,0x62])](_0x1fdbd7[_0x2b5403([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2b5403([0x2b]))[_0x2b5403([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2b5403([0x2f])));}function _0x596d06(_0x4d3268){let _0x5155f0=0x1505;function _0x54fa87(_0x5772c1){for(let _0x3a8b4f=0x0;_0x3a8b4f<_0x5772c1[_0x2b5403([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3a8b4f++){const _0x379a4d=_0x5772c1[_0x2b5403([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3a8b4f);_0x5155f0=(_0x5155f0<<0x5)+_0x5155f0+_0x379a4d,_0x5155f0&=_0x5155f0;}}function _0x1fa450(_0x4e68cc){Array[_0x2b5403([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4e68cc)?_0x4e68cc[_0x2b5403([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1fa450):_0x4e68cc&&typeof _0x4e68cc==_0x2b5403([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2b5403([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4e68cc)[_0x2b5403([0x73,0x6f,0x72,0x74])]()[_0x2b5403([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x21056a,_0x48bac5])=>{_0x54fa87(_0x21056a),_0x1fa450(_0x48bac5);}):_0x54fa87(window[_0x2b5403([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4e68cc));}return _0x1fa450(_0x4d3268),_0x5155f0>>>0x0;}function _0x2a79da(_0x684c01){return _0x684c01[_0x2b5403([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2b5403([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2b5403([0x30]));}function _0x2aa86f(_0x39e7f0){return _0x39e7f0[_0x2b5403([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2b5403([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2b5403([0x6a,0x6f,0x69,0x6e])]('');}function _0x189c68(){}function _0x2b5403(_0x98319b){return _0x98319b['map'](_0x3adda5=>String['fromCharCode'](_0x3adda5))['join']('');}_0x461400(await _0x5c6222());}(this);}['_moveSelectionToFootnoteDefinition'](_0x1a0f36){const {plugins:_0xbdacf5,editing:_0x57c30f,model:_0x3b3e0c}=this['editor'],_0x35d77c=_0xbdacf5['get'](_0x42cb3b)['getFootnote'](_0x1a0f36);return!!_0x35d77c&&(_0x3b3e0c['change'](_0x287425=>{_0x287425['setSelection'](_0x287425['createPositionAt'](_0x35d77c['definition'],'end'));}),_0x57c30f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x1db0d4){const {plugins:_0x4f9178,editing:_0x2f759f,model:_0x2120ee}=this['editor'],_0x3e2855=_0x4f9178['get'](_0x42cb3b)['getFootnote'](_0x1db0d4);return!!_0x3e2855&&(_0x2120ee['change'](_0x5a8a7a=>{_0x5a8a7a['setSelection'](_0x3e2855['reference'],'on');}),_0x2f759f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2efd16}=this['editor']['model'],_0x211359=this['editor']['config']['get']('footnotes.multiBlock');_0x2efd16['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2efd16['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2efd16['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x211359?_0x2efd16['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2efd16['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2efd16['addChildCheck'](_0x200205=>{for(const _0x200541 of _0x200205)if('footnoteDefinition'===_0x200541['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x585f70}=this,{conversion:_0xe81f45,editing:_0x2c97bd}=_0x585f70,{t:t}=_0x585f70['locale'];_0xe81f45['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x4da914,{writer:_0x2c794d,consumable:_0x35b844})=>{const _0xd3f582=_0x4da914['getChild'](0x0);if(!_0xd3f582||!_0xd3f582['is']('element','a'))return null;const _0xcb8c2=_0xd3f582['getAttribute']('href')||'';if(!_0xcb8c2['startsWith']('#'))return null;const _0x53042c=_0xcb8c2['replace'](/^#/,'');if(!_0x53042c)return null;_0x35b844['consume'](_0xd3f582,{'name':!0x0,'attributes':['href']});for(const {item:_0x1e9ff9}of _0x2c97bd['view']['createRangeIn'](_0xd3f582))_0x1e9ff9['is']('$textProxy')?_0x35b844['consume'](_0x1e9ff9['textNode'],{'name':!0x0}):_0x1e9ff9['is']('element')&&_0x35b844['consume'](_0x1e9ff9,{'name':!0x0});return _0x2c794d['createElement']('footnoteRef',{'footnoteId':_0x53042c});}}),_0xe81f45['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x153a6c,{writer:_0x801ad2})=>D(_0x153a6c,_0x801ad2)}),_0xe81f45['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x376453,{writer:_0x1dcf0a})=>{const _0x565ee0=_0x376453['getAttribute']('footnoteCounter');return _0x506259(D(_0x376453,_0x1dcf0a),_0x1dcf0a,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x565ee0)});}});}['_defineDefinitionsConverters'](){const {editor:_0x226a97}=this,{t:t}=_0x226a97['locale'],{conversion:_0x418f08}=_0x226a97;_0x418f08['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x418f08['for']('upcast')['add'](_0x71d31b=>{_0x71d31b['on']('element:ol',(_0x526bd5,_0x48cb4f,_0x1a50c5)=>{const _0x237814=_0x48cb4f['viewItem'];if(!_0x237814['hasClass']('footnotes-list')||!_0x48cb4f['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x1a50c5['consumable']['consume'](_0x237814,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x55aa0d,modelCursor:_0x79411}=_0x1a50c5['convertChildren'](_0x48cb4f['viewItem'],_0x48cb4f['modelCursor']);_0x48cb4f['modelRange']=_0x55aa0d,_0x48cb4f['modelCursor']=_0x79411;}),_0x71d31b['on']('element:hr',(_0x8aa2a6,_0x1095b3,_0x20a550)=>{const _0x1dab0f=_0x1095b3['viewItem'];_0x1dab0f['hasClass']('footnotes-divider')&&_0x1095b3['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x20a550['consumable']['consume'](_0x1dab0f,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x418f08['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x19a252,{writer:_0x54b4bb})=>v(_0x54b4bb)}),_0x418f08['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x3c97f6,{writer:_0x1269f2})=>{const _0x30507a=v(_0x1269f2,{'data-footnotes-list-label':t('Footnotes')}),_0x33fe15=_0x506259(_0x30507a,_0x1269f2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x1269f2['setCustomProperty']('footnotesDefinitions',!0x0,_0x33fe15),_0x33fe15;}});}['_defineDefinitionConverters'](){const {editor:_0x401904}=this,{conversion:_0x338e55,locale:_0x23f70a}=_0x401904,_0x1c8c49=_0x401904['config']['get']('footnotes.multiBlock');_0x338e55['for']('upcast')['add'](_0x59dc9a=>{_0x59dc9a['on']('element:li',(_0x3352df,_0x2f39bd,_0x507af3)=>{const _0x102996=_0x2f39bd['viewItem'];if(!_0x102996['hasClass']('footnote-definition')||!_0x102996['getAttribute']('id'))return;const _0x1d39ef=_0x102996['parent'];if(!_0x1d39ef['is']('element','ol')||!_0x1d39ef['hasClass']('footnotes-list'))return;if(!_0x507af3['consumable']['test'](_0x102996,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x549630=_0x507af3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x102996['getAttribute']('id')});if(!_0x507af3['safeInsert'](_0x549630,_0x2f39bd['modelCursor']))return;_0x507af3['consumable']['consume'](_0x102996,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5b941f=Array['from'](_0x102996['getChildren']())['find'](_0x7dfd63=>_0x7dfd63['is']('element')&&_0x7dfd63['hasClass']('footnote-content'));for(const _0x2fc3a5 of _0x102996['getChildren']())_0x2fc3a5['is']('element')&&(_0x507af3['consumable']['consume'](_0x2fc3a5,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x507af3['consumable']['consume'](_0x2fc3a5,{'name':!0x0,'classes':'footnote-content'}));if(_0x5b941f){if(_0x1c8c49)_0x507af3['convertChildren'](_0x5b941f,_0x549630);else{const _0x5a6506=_0x507af3['writer']['createElement']('footnoteInlineContent');_0x507af3['writer']['insert'](_0x5a6506,_0x549630),_0x507af3['convertChildren'](_0x5b941f,_0x5a6506);}}_0x507af3['updateConversionResult'](_0x549630,_0x2f39bd);});}),_0x338e55['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x2ca026,{writer:_0xebac5e})=>b(_0x2ca026,_0xebac5e,_0x23f70a,{'dataPipeline':!0x0})}),_0x338e55['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4ab86e,{writer:_0x4b9539})=>b(_0x4ab86e,_0x4b9539,_0x23f70a)});}['_defineBogusParagraphConverters'](){const {editor:_0x51687d}=this,{conversion:_0x11ccd2}=_0x51687d;_0x51687d['config']['get']('footnotes.multiBlock')?(_0x11ccd2['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x11ccd2['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x51687d['model']['document'],'change:data',()=>{!function(_0x5b7c85,_0x2ecf2b){const _0x538738=_0x5b7c85['document']['differ'],_0x1cc475=new Set();for(const _0xdfb13e of _0x538738['getChanges']()){const _0x4cd693='attribute'==_0xdfb13e['type']?_0xdfb13e['range']['start']['parent']:_0xdfb13e['position']['parent'];_0x4cd693['is']('element','footnoteDefinition')&&_0x1cc475['add'](_0x4cd693);}for(const _0x528c76 of _0x1cc475['values']()){const _0x1a9eb8=Array['from'](_0x528c76['getChildren']())['filter'](_0x256995=>g(_0x256995,_0x2ecf2b['mapper']));for(const _0x206de0 of _0x1a9eb8)_0x2ecf2b['reconvertItem'](_0x206de0);}}(_0x51687d['model'],_0x51687d['editing']);})):(_0x11ccd2['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x11ccd2['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4a8238,{writer:_0x6a759e})=>{const _0x134542=_0x6a759e['createContainerElement']('span');return _0x6a759e['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x134542),_0x134542;}}));}['_defineKeyboardHandlers'](){const {editor:_0xb73106}=this,{editing:_0x6b1849,t:t}=_0xb73106,_0x310059=_0xb73106['model']['document']['selection'];_0xb73106['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xb73106['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x6b1849['view']['document'],'enter',(_0x43bd9d,_0x55ccee)=>{const _0x30d276=function(_0x71d8d1){const _0x98e554=_0x71d8d1['getSelectedElement']();if(_0x98e554?.['is']('element','footnoteRef'))return _0x98e554;return null;}(_0x310059);if(_0x30d276){const _0x591c75=_0x30d276['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x591c75),_0x55ccee['preventDefault'](),_0x43bd9d['stop']();}},{'context':_0x4786bb});}['_defineClickHandlers'](){const {editor:_0x5d4fb0}=this,{editing:_0x2f268e}=_0x5d4fb0;_0x5d4fb0['editing']['view']['addObserver'](_0x394201),_0x5d4fb0['editing']['view']['addObserver'](_0x18c85a);let _0x10d85a=!0x1;this['listenTo'](_0x2f268e['view']['document'],'pointerdown',(_0x30b3d4,_0x3cff92)=>{const {target:_0x4560cf}=_0x3cff92,_0x2dfe4d=_0x2f268e['view']['document']['selection'];_0x10d85a=!!(_0x4560cf?.['is']('element','a')&&_0x4560cf['parent']?.['is']('element','sup')&&_0x4560cf['parent']['hasClass']('footnote'))&&_0x2dfe4d['getSelectedElement']()===_0x4560cf['parent'];},{'priority':'high'}),this['listenTo'](_0x2f268e['view']['document'],'click',(_0x133093,_0x2a560f)=>{const {target:_0x507ef6}=_0x2a560f;if(!_0x507ef6?.['is']('element','a'))return;if(_0x507ef6['parent']?.['is']('element','sup')&&_0x507ef6['parent']['hasClass']('footnote')&&!_0x10d85a)return void _0x2a560f['preventDefault']();let _0x59dc12=_0x507ef6['getAttribute']('href');if(!_0x59dc12?.['startsWith']('#'))return;_0x59dc12=_0x59dc12['slice'](0x1);let _0x307514=!0x1;(_0x59dc12['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x59dc12['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x59dc12))&&(_0x307514=!0x0),_0x307514&&(_0x2a560f['preventDefault'](),_0x133093['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x5a86a2}={}){return(_0x17d873,{writer:_0x575785})=>{if(!p(_0x17d873))return null;if(!_0x5a86a2)return _0x575785['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x29d3fd=_0x575785['createContainerElement']('p');return _0x575785['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x29d3fd),_0x29d3fd;};}function p(_0x256c3e){const {parent:_0x2d8437}=_0x256c3e;if(!_0x2d8437?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2d8437['childCount'])return!0x1;for(const _0x56a78c of _0x256c3e['getAttributeKeys']())if(!_0x56a78c['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x56a78c)return!0x1;return!0x0;}function g(_0x5ef392,_0x52ecd1){if(!_0x5ef392['is']('element','paragraph'))return!0x1;const _0x18dfdf=_0x52ecd1['toViewElement'](_0x5ef392);return!!_0x18dfdf&&p(_0x5ef392)!==_0x18dfdf['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x1b8d73){return _0x4786bb(_0x1b8d73)&&_0x1b8d73['is']('containerElement')&&!!_0x1b8d73['getCustomProperty']('footnotesDefinitions');}function v(_0x339fdf,_0x471b59={}){const _0x36488d=_0x339fdf['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x14f222=_0x339fdf['createContainerElement']('ol',{'class':'footnotes-list'},_0x339fdf['createSlot']());return _0x339fdf['createContainerElement']('div',{'class':'footnotes',..._0x471b59},[_0x36488d,_0x14f222]);}function D(_0xfd9e55,_0x3f333b){const _0x17a7fe=_0xfd9e55['getAttribute']('footnoteId'),_0x2d3119=_0xfd9e55['getAttribute']('footnoteCounter'),_0xbe7078=_0x3f333b['createUIElement']('a',{'href':'#'+_0x17a7fe},function(_0x558ce0){const _0x2be7e7=this['toDomElement'](_0x558ce0);return _0x2be7e7['textContent']=_0x2d3119,_0x2be7e7;}),_0x1021c5=_0x3f333b['createContainerElement']('sup',{'id':'ref-'+_0x17a7fe,'class':'footnote'},[_0xbe7078]);return _0x1021c5['getFillerOffset']=()=>null,_0x1021c5;}function b(_0x439377,_0x433f1a,_0x1084ab,{dataPipeline:_0x3baa15}={}){const {t:t}=_0x1084ab,_0x36c6e8=_0x439377['getAttribute']('footnoteId'),_0x8585c7=_0x433f1a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x36c6e8},function(_0x101d19){const _0x1cd671=this['toDomElement'](_0x101d19);return _0x1cd671['innerText']='^',_0x1cd671;}),_0x3ae8a3=_0x3baa15?_0x433f1a['createContainerElement']('div',{'class':'footnote-content'}):_0x888e54(_0x433f1a['createEditableElement']('div',{'class':'footnote-content'}),_0x433f1a,{'label':t('Footnote\x20content.')});return _0x433f1a['insert'](_0x433f1a['createPositionAt'](_0x3ae8a3,0x0),_0x433f1a['createSlot']()),_0x433f1a['createContainerElement']('li',{'class':'footnote-definition','id':_0x36c6e8},[_0x8585c7,_0x3ae8a3]);}
23
+ import{Plugin as _0x56b445}from'ckeditor5/src/core.js';import{isWidget as _0x1acc78,toWidget as _0x4d81a6,toWidgetEditable as _0x12132e}from'ckeditor5/src/widget.js';import{uid as _0x2bd01e}from'ckeditor5/src/utils.js';import{PointerObserver as _0x188314,ClickObserver as _0x59189a}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2bf0de}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x5aa0b6}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x56b445{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2bf0de];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x17c7c1}=this;_0x17c7c1['config']['define']('footnotes.multiBlock',!0x0),_0x17c7c1['commands']['add']('insertFootnote',new _0x5aa0b6(_0x17c7c1)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4bbc78){const _0x25beb7=_0x2ee28c([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]),_0x330662=0x47a28506,_0x570bc6=0x47a5fe9e^_0x330662,_0xb29d94=window[_0x2ee28c([0x44,0x61,0x74,0x65])][_0x2ee28c([0x6e,0x6f,0x77])](),_0x38df7e=_0x4bbc78[_0x2ee28c([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x21dced=new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x974486=>{_0x38df7e[_0x2ee28c([0x6f,0x6e,0x63,0x65])](_0x2ee28c([0x72,0x65,0x61,0x64,0x79]),_0x974486);}),_0xdf5416={[_0x2ee28c([0x6b,0x74,0x79])]:_0x2ee28c([0x45,0x43]),[_0x2ee28c([0x75,0x73,0x65])]:_0x2ee28c([0x73,0x69,0x67]),[_0x2ee28c([0x63,0x72,0x76])]:_0x2ee28c([0x50,0x2d,0x32,0x35,0x36]),[_0x2ee28c([0x78])]:_0x2ee28c([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]),[_0x2ee28c([0x79])]:_0x2ee28c([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]),[_0x2ee28c([0x61,0x6c,0x67])]:_0x2ee28c([0x45,0x53,0x32,0x35,0x36])},_0x17852a=_0x38df7e[_0x2ee28c([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x2ee28c([0x67,0x65,0x74])](_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x4620e4(){let _0x45372b,_0x1612ce=null,_0xd9c217=null;try{if(_0x17852a==_0x2ee28c([0x47,0x50,0x4c]))return _0x2ee28c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x45372b=_0x42eb1f(),!_0x45372b)return _0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x45372b[_0x2ee28c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xd9c217=_0x5061c5(_0x45372b[_0x2ee28c([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x45372b[_0x2ee28c([0x6a,0x74,0x69])])),await _0x5b1b4d()?_0x51b1b4()?_0x4dc992()?_0x2ee28c([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x30d411()?(_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ee28c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1612ce=_0x129348(_0x2ee28c([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x2ee28c([0x74,0x72,0x69,0x61,0x6c])&&(_0x1612ce=_0x129348(_0x2ee28c([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5deb76()):_0x2ee28c([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x2ee28c([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x2ee28c([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x4dc992(){const _0x2b627d=[_0x2ee28c([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x2ee28c([0x74,0x72,0x69,0x61,0x6c])][_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xb29d94/0x3e8:0xe10*_0x570bc6;return _0x45372b[_0x2ee28c([0x65,0x78,0x70])]<_0x2b627d;}function _0x51b1b4(){const _0x5a9539=_0x45372b[_0x2ee28c([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x5a9539&&(!!_0x5a9539[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x2a]))||!!_0x5a9539[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x46,0x4f,0x4f])));}function _0x30d411(){const _0x4db342=_0x45372b[_0x2ee28c([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4db342||0x0==_0x4db342[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x4cb3fc}=new URL(window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4db342[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4cb3fc))return!0x0;const _0x412344=_0x4cb3fc[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e]));return _0x4db342[_0x2ee28c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x19fa09=>_0x19fa09[_0x2ee28c([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2ee28c([0x2a])))[_0x2ee28c([0x6d,0x61,0x70])](_0xf97542=>_0xf97542[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e])))[_0x2ee28c([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x17d8ec=>_0x17d8ec[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x412344[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ee28c([0x6d,0x61,0x70])](_0x2185c3=>Array(_0x412344[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2185c3[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x2ee28c([0x66,0x69,0x6c,0x6c])](_0x2185c3[0x0]===_0x2ee28c([0x2a])?_0x2ee28c([0x2a]):'')[_0x2ee28c([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2185c3))[_0x2ee28c([0x73,0x6f,0x6d,0x65])](_0x10724d=>_0x412344[_0x2ee28c([0x65,0x76,0x65,0x72,0x79])]((_0x3f4409,_0xcc017d)=>_0x10724d[_0xcc017d]===_0x3f4409||_0x10724d[_0xcc017d]===_0x2ee28c([0x2a])));}function _0x5deb76(){return _0x1612ce&&_0xd9c217?new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xf33650,_0xd600a9)=>{_0x1612ce[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0xf33650,_0xd600a9),_0xd9c217[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x55ccb3=>{_0x55ccb3!=_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])&&_0xf33650(_0x55ccb3);},_0xd600a9);}):_0x1612ce||_0xd9c217||_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]);}}function _0x5061c5(_0x472c39,_0x51c6eb){return new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xd822ea=>{if(_0x24ecc0())return _0xd822ea(_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]));_0x2b77d1(),_0x38df7e[_0x2ee28c([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x67ffe=!0x1;const _0x2632bd=_0x2bd01e();function _0x4ba2d0(_0x3cc0f9){return!!_0x3cc0f9&&(typeof _0x3cc0f9===_0x2ee28c([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x3cc0f9===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x3cc0f9[_0x2ee28c([0x74,0x68,0x65,0x6e])]===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x3cc0f9[_0x2ee28c([0x63,0x61,0x74,0x63,0x68])]===_0x2ee28c([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x5ea53c(_0x52e4d9){_0x4693f6(_0x52e4d9)[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x5ecf3c=>{if(!_0x5ecf3c||_0x5ecf3c[_0x2ee28c([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x2ee28c([0x6f,0x6b]))return _0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x104cb5(_0x1b2fef(_0x2632bd+_0x51c6eb))!=_0x5ecf3c[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x2ee28c([0x56,0x61,0x6c,0x69,0x64]);})[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x5cda78=>(_0x57c662(),_0x5cda78),()=>{const _0x1a9ecb=_0x1558b8();return null==_0x1a9ecb?(_0x57c662(),_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])):_0x2ee28c(_0xb29d94-_0x1a9ecb>(0x63ae0106^_0x330662)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0xd822ea)[_0x2ee28c([0x63,0x61,0x74,0x63,0x68])](()=>{_0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x350c4e=0x47946b86^_0x330662;function _0x57c662(){const _0x4e868f=_0x2ee28c([0x6c,0x6c,0x63,0x74,0x2d])+_0x104cb5(_0x1b2fef(_0x472c39)),_0x5dc6b3=_0x4d92ce(_0x104cb5(window[_0x2ee28c([0x4d,0x61,0x74,0x68])][_0x2ee28c([0x63,0x65,0x69,0x6c])](_0xb29d94/_0x350c4e)));window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ee28c([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e868f,_0x5dc6b3);}function _0x1558b8(){const _0x4289a7=_0x2ee28c([0x6c,0x6c,0x63,0x74,0x2d])+_0x104cb5(_0x1b2fef(_0x472c39)),_0x4ff7c8=window[_0x2ee28c([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x2ee28c([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4289a7);return _0x4ff7c8?window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4d92ce(_0x4ff7c8),0x10)*_0x350c4e:null;}function _0x4693f6(_0x5ff7bc){return new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3d31a5,_0x3b2ad7)=>{_0x5ff7bc[_0x2ee28c([0x74,0x68,0x65,0x6e])](_0x3d31a5,_0x3b2ad7),window[_0x2ee28c([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x3b2ad7,0x47a351c6^_0x330662);});}}_0x38df7e[_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a7977,_0xdb724a)=>{if(_0xdb724a[0x0]!=_0x472c39)return _0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0xdb724a[0x1]={..._0xdb724a[0x1],[_0x2ee28c([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2632bd};},{[_0x2ee28c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ee28c([0x68,0x69,0x67,0x68])}),_0x38df7e[_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x2d8b9d=>{_0x4ba2d0(_0x2d8b9d[_0x2ee28c([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x67ffe=!0x0,_0x5ea53c(_0x2d8b9d[_0x2ee28c([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x2ee28c([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x2ee28c([0x6c,0x6f,0x77])}),_0x21dced[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>{_0x67ffe||_0xd822ea(_0x2ee28c([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x24ecc0(){return _0x38df7e[_0x2ee28c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ee28c([0x76,0x69,0x65,0x77])][_0x2ee28c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x2ee28c([0x61,0x75,0x74,0x6f]);}function _0x2b77d1(){_0x38df7e[_0x2ee28c([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x2ee28c([0x76,0x69,0x65,0x77])][_0x2ee28c([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x2ee28c([0x61,0x75,0x74,0x6f]);}}function _0x129348(_0x5215da){const _0x3bc416=[new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5a2b9b=>setTimeout(_0x5a2b9b,0x47abbbca^_0x330662)),_0x21dced[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>new window[(_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1a6ca6=>{let _0x517cef=0x0;_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x6f,0x6e])](_0x2ee28c([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1b31f6,_0x300708)=>{_0x300708[0x0][_0x2ee28c([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x517cef++,_0x517cef==(0x47a284fe^_0x330662)&&(_0x1a6ca6(),_0x1b31f6[_0x2ee28c([0x6f,0x66,0x66])]());});}))];return window[_0x2ee28c([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x2ee28c([0x72,0x61,0x63,0x65])](_0x3bc416)[_0x2ee28c([0x74,0x68,0x65,0x6e])](()=>_0x5215da);}async function _0x2e94a2(){await _0x21dced,_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x593e02,_0x38df7e[_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c])][_0x2ee28c([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x593e02,_0x38df7e[_0x2ee28c([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x2ee28c([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x4846ac(_0x22d40c){const _0x4299d6=_0x5a2d3b();_0x38df7e[_0x4299d6]=_0x2ee28c([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x22d40c,_0x22d40c!=_0x2ee28c([0x56,0x61,0x6c,0x69,0x64])&&_0x2e94a2();}function _0x5a2d3b(){const _0x5c73a0=window[_0x2ee28c([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x2ee28c([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x2ee28c([0x6e,0x6f,0x77])]())[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x2ee28c([0x2e]),'');let _0x29c481=_0x2ee28c([0x75]);for(let _0x19a433=0x0;_0x19a433<_0x5c73a0[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x19a433+=0x2){let _0x8ed490=window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5c73a0[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x19a433,_0x19a433+0x2));_0x8ed490>=_0x25beb7[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x8ed490-=_0x25beb7[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x29c481+=_0x25beb7[_0x8ed490];}return _0x29c481;}function _0x42eb1f(){const _0x42a0a9=_0x17852a[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e]));if(0x3!=_0x42a0a9[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5c3120(_0x42a0a9[0x1]);function _0x5c3120(_0x20f6f0){const _0x2c0be3=_0x1e987f(_0x20f6f0);return _0x2c0be3&&_0x2305c4()?_0x2c0be3:null;function _0x2305c4(){const _0x33ab36=_0x2c0be3[_0x2ee28c([0x6a,0x74,0x69])],_0x23805d=window[_0x2ee28c([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x33ab36[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x33ab36[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x11123a={..._0x2c0be3,[_0x2ee28c([0x6a,0x74,0x69])]:_0x33ab36[_0x2ee28c([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x33ab36[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x11123a[_0x2ee28c([0x76,0x63])],_0x1b2fef(_0x11123a)==_0x23805d;}}}async function _0x5b1b4d(){let _0x319184=!0x0;try{const _0x36d495=_0x17852a[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])](_0x2ee28c([0x2e])),[_0x58f939,_0xecb210,_0x5c4509]=_0x36d495;return _0xb5fa1f(_0x58f939),await _0x2ee3c9(_0x58f939,_0xecb210,_0x5c4509),_0x319184;}catch{return!0x1;}function _0xb5fa1f(_0xe86c61){const _0xe8906c=_0x1e987f(_0xe86c61);_0xe8906c&&_0xe8906c[_0x2ee28c([0x61,0x6c,0x67])]==_0x2ee28c([0x45,0x53,0x32,0x35,0x36])||(_0x319184=!0x1);}async function _0x2ee3c9(_0x27b4ff,_0x38a6d7,_0x508949){const _0x3367bd=window[_0x2ee28c([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x2ee28c([0x66,0x72,0x6f,0x6d])](_0x128bae(_0x508949),_0xd703f7=>_0xd703f7[_0x2ee28c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0xa20516=new window[(_0x2ee28c([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x2ee28c([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x27b4ff+_0x2ee28c([0x2e])+_0x38a6d7),_0xb52f71=window[_0x2ee28c([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x2ee28c([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0xb52f71)return;const _0x6a6c5c=await _0xb52f71[_0x2ee28c([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x2ee28c([0x6a,0x77,0x6b]),_0xdf5416,{[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x45,0x43,0x44,0x53,0x41]),[_0x2ee28c([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x2ee28c([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0xb52f71[_0x2ee28c([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x45,0x43,0x44,0x53,0x41]),[_0x2ee28c([0x68,0x61,0x73,0x68])]:{[_0x2ee28c([0x6e,0x61,0x6d,0x65])]:_0x2ee28c([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x6a6c5c,_0x3367bd,_0xa20516)||(_0x319184=!0x1);}}function _0x1e987f(_0x4f92f3){return _0x4f92f3[_0x2ee28c([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x2ee28c([0x65,0x79]))?JSON[_0x2ee28c([0x70,0x61,0x72,0x73,0x65])](_0x128bae(_0x4f92f3)):null;}function _0x128bae(_0xfba9d8){return window[_0x2ee28c([0x61,0x74,0x6f,0x62])](_0xfba9d8[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x2ee28c([0x2b]))[_0x2ee28c([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x2ee28c([0x2f])));}function _0x1b2fef(_0x4f0460){let _0x4b88e7=0x1505;function _0x351baa(_0x1547b6){for(let _0x30ef02=0x0;_0x30ef02<_0x1547b6[_0x2ee28c([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x30ef02++){const _0x263b04=_0x1547b6[_0x2ee28c([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x30ef02);_0x4b88e7=(_0x4b88e7<<0x5)+_0x4b88e7+_0x263b04,_0x4b88e7&=_0x4b88e7;}}function _0x405495(_0x16fb0a){Array[_0x2ee28c([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x16fb0a)?_0x16fb0a[_0x2ee28c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x405495):_0x16fb0a&&typeof _0x16fb0a==_0x2ee28c([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x2ee28c([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x16fb0a)[_0x2ee28c([0x73,0x6f,0x72,0x74])]()[_0x2ee28c([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0xb08655,_0x11ff8e])=>{_0x351baa(_0xb08655),_0x405495(_0x11ff8e);}):_0x351baa(window[_0x2ee28c([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x16fb0a));}return _0x405495(_0x4f0460),_0x4b88e7>>>0x0;}function _0x104cb5(_0x4e008a){return _0x4e008a[_0x2ee28c([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x2ee28c([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x2ee28c([0x30]));}function _0x4d92ce(_0x11099e){return _0x11099e[_0x2ee28c([0x73,0x70,0x6c,0x69,0x74])]('')[_0x2ee28c([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x2ee28c([0x6a,0x6f,0x69,0x6e])]('');}function _0x593e02(){}function _0x2ee28c(_0x318e81){return _0x318e81['map'](_0x1e78ae=>String['fromCharCode'](_0x1e78ae))['join']('');}_0x4846ac(await _0x4620e4());}(this);}['_moveSelectionToFootnoteDefinition'](_0x388e76){const {plugins:_0x468042,editing:_0x5ad6b7,model:_0x39b0d8}=this['editor'],_0x1e2ec0=_0x468042['get'](_0x2bf0de)['getFootnote'](_0x388e76);return!!_0x1e2ec0&&(_0x39b0d8['change'](_0xa78e3c=>{_0xa78e3c['setSelection'](_0xa78e3c['createPositionAt'](_0x1e2ec0['definition'],'end'));}),_0x5ad6b7['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd71468){const {plugins:_0x43f85d,editing:_0x4536a8,model:_0x5eb3f2}=this['editor'],_0xdce534=_0x43f85d['get'](_0x2bf0de)['getFootnote'](_0xd71468);return!!_0xdce534&&(_0x5eb3f2['change'](_0x17d55f=>{_0x17d55f['setSelection'](_0xdce534['reference'],'on');}),_0x4536a8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x3d1be4}=this['editor']['model'],_0x46e60e=this['editor']['config']['get']('footnotes.multiBlock');_0x3d1be4['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x3d1be4['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x3d1be4['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x46e60e?_0x3d1be4['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x3d1be4['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x3d1be4['addChildCheck'](_0x49e3d9=>{for(const _0x2946cf of _0x49e3d9)if('footnoteDefinition'===_0x2946cf['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x48a695}=this,{conversion:_0x3bda00,editing:_0x4ab8e}=_0x48a695,{t:t}=_0x48a695['locale'];_0x3bda00['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x5da4a0,{writer:_0x27806f,consumable:_0x1aca00})=>{const _0x2eca4d=_0x5da4a0['getChild'](0x0);if(!_0x2eca4d||!_0x2eca4d['is']('element','a'))return null;const _0x4bc24c=_0x2eca4d['getAttribute']('href')||'';if(!_0x4bc24c['startsWith']('#'))return null;const _0x507eba=_0x4bc24c['replace'](/^#/,'');if(!_0x507eba)return null;_0x1aca00['consume'](_0x2eca4d,{'name':!0x0,'attributes':['href']});for(const {item:_0x5cfc7d}of _0x4ab8e['view']['createRangeIn'](_0x2eca4d))_0x5cfc7d['is']('$textProxy')?_0x1aca00['consume'](_0x5cfc7d['textNode'],{'name':!0x0}):_0x5cfc7d['is']('element')&&_0x1aca00['consume'](_0x5cfc7d,{'name':!0x0});return _0x27806f['createElement']('footnoteRef',{'footnoteId':_0x507eba});}}),_0x3bda00['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5a7937,{writer:_0x128b41})=>D(_0x5a7937,_0x128b41)}),_0x3bda00['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22e613,{writer:_0x54e8f0})=>{const _0x215715=_0x22e613['getAttribute']('footnoteCounter');return _0x4d81a6(D(_0x22e613,_0x54e8f0),_0x54e8f0,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x215715)});}});}['_defineDefinitionsConverters'](){const {editor:_0x20e5c7}=this,{t:t}=_0x20e5c7['locale'],{conversion:_0x102c1d}=_0x20e5c7;_0x102c1d['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x102c1d['for']('upcast')['add'](_0x596c32=>{_0x596c32['on']('element:ol',(_0x271e99,_0x4e971a,_0x2a6f13)=>{const _0x5a640d=_0x4e971a['viewItem'];if(!_0x5a640d['hasClass']('footnotes-list')||!_0x4e971a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2a6f13['consumable']['consume'](_0x5a640d,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x294d74,modelCursor:_0x1f5bfc}=_0x2a6f13['convertChildren'](_0x4e971a['viewItem'],_0x4e971a['modelCursor']);_0x4e971a['modelRange']=_0x294d74,_0x4e971a['modelCursor']=_0x1f5bfc;}),_0x596c32['on']('element:hr',(_0x191362,_0x58d508,_0x44723a)=>{const _0x193fb4=_0x58d508['viewItem'];_0x193fb4['hasClass']('footnotes-divider')&&_0x58d508['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x44723a['consumable']['consume'](_0x193fb4,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x102c1d['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24d31c,{writer:_0x512900})=>v(_0x512900)}),_0x102c1d['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x11a571,{writer:_0x409881})=>{const _0x2f2479=v(_0x409881,{'data-footnotes-list-label':t('Footnotes')}),_0x3f695d=_0x4d81a6(_0x2f2479,_0x409881,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x409881['setCustomProperty']('footnotesDefinitions',!0x0,_0x3f695d),_0x3f695d;}});}['_defineDefinitionConverters'](){const {editor:_0x19c68a}=this,{conversion:_0x25a2f0,locale:_0x32123e}=_0x19c68a,_0xf6d4b1=_0x19c68a['config']['get']('footnotes.multiBlock');_0x25a2f0['for']('upcast')['add'](_0x154fc4=>{_0x154fc4['on']('element:li',(_0x587559,_0x385cb0,_0x49a025)=>{const _0x39c48f=_0x385cb0['viewItem'];if(!_0x39c48f['hasClass']('footnote-definition')||!_0x39c48f['getAttribute']('id'))return;const _0x41840f=_0x39c48f['parent'];if(!_0x41840f['is']('element','ol')||!_0x41840f['hasClass']('footnotes-list'))return;if(!_0x49a025['consumable']['test'](_0x39c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3d9918=_0x49a025['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x39c48f['getAttribute']('id')});if(!_0x49a025['safeInsert'](_0x3d9918,_0x385cb0['modelCursor']))return;_0x49a025['consumable']['consume'](_0x39c48f,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x293909=Array['from'](_0x39c48f['getChildren']())['find'](_0x599d42=>_0x599d42['is']('element')&&_0x599d42['hasClass']('footnote-content'));for(const _0x55ef19 of _0x39c48f['getChildren']())_0x55ef19['is']('element')&&(_0x49a025['consumable']['consume'](_0x55ef19,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x49a025['consumable']['consume'](_0x55ef19,{'name':!0x0,'classes':'footnote-content'}));if(_0x293909){if(_0xf6d4b1)_0x49a025['convertChildren'](_0x293909,_0x3d9918);else{const _0x436181=_0x49a025['writer']['createElement']('footnoteInlineContent');_0x49a025['writer']['insert'](_0x436181,_0x3d9918),_0x49a025['convertChildren'](_0x293909,_0x436181);}}_0x49a025['updateConversionResult'](_0x3d9918,_0x385cb0);});}),_0x25a2f0['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x5c31e9,{writer:_0x4ec620})=>b(_0x5c31e9,_0x4ec620,_0x32123e,{'dataPipeline':!0x0})}),_0x25a2f0['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4e537a,{writer:_0x448549})=>b(_0x4e537a,_0x448549,_0x32123e)});}['_defineBogusParagraphConverters'](){const {editor:_0x1bb13b}=this,{conversion:_0x1a7190}=_0x1bb13b;_0x1bb13b['config']['get']('footnotes.multiBlock')?(_0x1a7190['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x1a7190['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x1bb13b['model']['document'],'change:data',()=>{!function(_0xb9257c,_0x44631c){const _0x44ccaa=_0xb9257c['document']['differ'],_0x4a2156=new Set();for(const _0xa3127c of _0x44ccaa['getChanges']()){const _0x1aafe9='attribute'==_0xa3127c['type']?_0xa3127c['range']['start']['parent']:_0xa3127c['position']['parent'];_0x1aafe9['is']('element','footnoteDefinition')&&_0x4a2156['add'](_0x1aafe9);}for(const _0x5a1aa4 of _0x4a2156['values']()){const _0x537628=Array['from'](_0x5a1aa4['getChildren']())['filter'](_0x52c312=>g(_0x52c312,_0x44631c['mapper']));for(const _0x34e6c1 of _0x537628)_0x44631c['reconvertItem'](_0x34e6c1);}}(_0x1bb13b['model'],_0x1bb13b['editing']);})):(_0x1a7190['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x1a7190['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4fdcf3,{writer:_0x4f93bf})=>{const _0x5297e6=_0x4f93bf['createContainerElement']('span');return _0x4f93bf['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5297e6),_0x5297e6;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1afe50}=this,{editing:_0x46fb03,t:t}=_0x1afe50,_0x46bec7=_0x1afe50['model']['document']['selection'];_0x1afe50['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1afe50['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x46fb03['view']['document'],'enter',(_0x9ea9ae,_0x183dea)=>{const _0xc91e7b=function(_0x50b435){const _0x51064d=_0x50b435['getSelectedElement']();if(_0x51064d?.['is']('element','footnoteRef'))return _0x51064d;return null;}(_0x46bec7);if(_0xc91e7b){const _0x3e2f73=_0xc91e7b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3e2f73),_0x183dea['preventDefault'](),_0x9ea9ae['stop']();}},{'context':_0x1acc78});}['_defineClickHandlers'](){const {editor:_0x4a6833}=this,{editing:_0x36b488}=_0x4a6833;_0x4a6833['editing']['view']['addObserver'](_0x188314),_0x4a6833['editing']['view']['addObserver'](_0x59189a);let _0x5c9015=!0x1;this['listenTo'](_0x36b488['view']['document'],'pointerdown',(_0x115ef7,_0x404768)=>{const {target:_0x178723}=_0x404768,_0x3c12a6=_0x36b488['view']['document']['selection'];_0x5c9015=!!(_0x178723?.['is']('element','a')&&_0x178723['parent']?.['is']('element','sup')&&_0x178723['parent']['hasClass']('footnote'))&&_0x3c12a6['getSelectedElement']()===_0x178723['parent'];},{'priority':'high'}),this['listenTo'](_0x36b488['view']['document'],'click',(_0x586b8a,_0x3ebd96)=>{const {target:_0x4fa17e}=_0x3ebd96;if(!_0x4fa17e?.['is']('element','a'))return;if(_0x4fa17e['parent']?.['is']('element','sup')&&_0x4fa17e['parent']['hasClass']('footnote')&&!_0x5c9015)return void _0x3ebd96['preventDefault']();let _0x559bff=_0x4fa17e['getAttribute']('href');if(!_0x559bff?.['startsWith']('#'))return;_0x559bff=_0x559bff['slice'](0x1);let _0xbb4509=!0x1;(_0x559bff['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x559bff['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x559bff))&&(_0xbb4509=!0x0),_0xbb4509&&(_0x3ebd96['preventDefault'](),_0x586b8a['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x12ef98}={}){return(_0x2de122,{writer:_0x5bbc4f})=>{if(!p(_0x2de122))return null;if(!_0x12ef98)return _0x5bbc4f['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xe7452a=_0x5bbc4f['createContainerElement']('p');return _0x5bbc4f['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xe7452a),_0xe7452a;};}function p(_0x50e01d){const {parent:_0x32e203}=_0x50e01d;if(!_0x32e203?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x32e203['childCount'])return!0x1;for(const _0x47cec5 of _0x50e01d['getAttributeKeys']())if(!_0x47cec5['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x47cec5)return!0x1;return!0x0;}function g(_0x3ebef7,_0x368180){if(!_0x3ebef7['is']('element','paragraph'))return!0x1;const _0x5a6093=_0x368180['toViewElement'](_0x3ebef7);return!!_0x5a6093&&p(_0x3ebef7)!==_0x5a6093['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x150ecd){return _0x1acc78(_0x150ecd)&&_0x150ecd['is']('containerElement')&&!!_0x150ecd['getCustomProperty']('footnotesDefinitions');}function v(_0x59ffe1,_0x437438={}){const _0x4f64b7=_0x59ffe1['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x1aedf6=_0x59ffe1['createContainerElement']('ol',{'class':'footnotes-list'},_0x59ffe1['createSlot']());return _0x59ffe1['createContainerElement']('div',{'class':'footnotes',..._0x437438},[_0x4f64b7,_0x1aedf6]);}function D(_0x39884d,_0x18897f){const _0x495210=_0x39884d['getAttribute']('footnoteId'),_0x2de77b=_0x39884d['getAttribute']('footnoteCounter'),_0x1f0b9a=_0x18897f['createUIElement']('a',{'href':'#'+_0x495210},function(_0x191d13){const _0x27549d=this['toDomElement'](_0x191d13);return _0x27549d['textContent']=_0x2de77b,_0x27549d;}),_0x5035db=_0x18897f['createContainerElement']('sup',{'id':'ref-'+_0x495210,'class':'footnote'},[_0x1f0b9a]);return _0x5035db['getFillerOffset']=()=>null,_0x5035db;}function b(_0x13b69c,_0x3e4b8a,_0xbf8686,{dataPipeline:_0x206f60}={}){const {t:t}=_0xbf8686,_0x56cef9=_0x13b69c['getAttribute']('footnoteId'),_0x25d882=_0x3e4b8a['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x56cef9},function(_0x310c71){const _0x2e091f=this['toDomElement'](_0x310c71);return _0x2e091f['innerText']='^',_0x2e091f;}),_0x13a2dc=_0x206f60?_0x3e4b8a['createContainerElement']('div',{'class':'footnote-content'}):_0x12132e(_0x3e4b8a['createEditableElement']('div',{'class':'footnote-content'}),_0x3e4b8a,{'label':t('Footnote\x20content.')});return _0x3e4b8a['insert'](_0x3e4b8a['createPositionAt'](_0x13a2dc,0x0),_0x3e4b8a['createSlot']()),_0x3e4b8a['createContainerElement']('li',{'class':'footnote-definition','id':_0x56cef9},[_0x25d882,_0x13a2dc]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x6c83(){const _0x28ca4a=['753464oELtrd','isInteger','getAttribute','model','plugins','36kYOVVK','setAttribute','11XaHsal','35PezPlX','footnotesListStart','get','38010DmEhmo','4808676dCnBUL','value','63iSCRcR','196254RDjFZC','change','72vHsJkg','refresh','execute','_updateFootnotesCounters','2114571RMCgcS','1236260ATdnoC','getFootnotesDefinitionsObjectElement','isEnabled','14754VhLArV'];_0x6c83=function(){return _0x28ca4a;};return _0x6c83();}const _0xb73084=_0xf0ef;(function(_0x2eb372,_0x4e0088){const _0x3dde8d=_0xf0ef,_0x320792=_0x2eb372();while(!![]){try{const _0xf41864=-parseInt(_0x3dde8d(0xc2))/0x1*(-parseInt(_0x3dde8d(0xb9))/0x2)+parseInt(_0x3dde8d(0xcf))/0x3+parseInt(_0x3dde8d(0xcb))/0x4*(-parseInt(_0x3dde8d(0xc5))/0x5)+-parseInt(_0x3dde8d(0xc9))/0x6*(parseInt(_0x3dde8d(0xc8))/0x7)+parseInt(_0x3dde8d(0xba))/0x8*(parseInt(_0x3dde8d(0xbf))/0x9)+-parseInt(_0x3dde8d(0xd0))/0xa*(parseInt(_0x3dde8d(0xc1))/0xb)+-parseInt(_0x3dde8d(0xc6))/0xc;if(_0xf41864===_0x4e0088)break;else _0x320792['push'](_0x320792['shift']());}catch(_0x5aad7e){_0x320792['push'](_0x320792['shift']());}}}(_0x6c83,0x5dcda));import{Command as _0x3ee834}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x339d17}from'../../footnotestracker.js';function _0xf0ef(_0x354c22,_0x53e6d4){const _0x6c83a6=_0x6c83();return _0xf0ef=function(_0xf0efdb,_0xb7df65){_0xf0efdb=_0xf0efdb-0xb7;let _0x2a1eef=_0x6c83a6[_0xf0efdb];return _0x2a1eef;},_0xf0ef(_0x354c22,_0x53e6d4);}export class FootnotesStartCommand extends _0x3ee834{[_0xb73084(0xcc)](){const _0x423266=_0xb73084,{editor:_0x97e537}=this,_0x4bb5db=_0x97e537[_0x423266(0xbe)][_0x423266(0xc4)](_0x339d17)[_0x423266(0xb7)]();this[_0x423266(0xb8)]=!!_0x4bb5db,this[_0x423266(0xc7)]=_0x4bb5db?.[_0x423266(0xbc)](_0x423266(0xc3))??null;}[_0xb73084(0xcd)]({value:_0x1086b2}){const _0x3c5ff4=_0xb73084,{editor:_0x105705}=this,_0x2a56ce=_0x105705[_0x3c5ff4(0xbe)][_0x3c5ff4(0xc4)](_0x339d17),_0x1c56bc=_0x2a56ce[_0x3c5ff4(0xb7)]();_0x1c56bc&&Number[_0x3c5ff4(0xbb)](_0x1086b2)&&_0x105705[_0x3c5ff4(0xbd)][_0x3c5ff4(0xca)](_0x5d9045=>{const _0x4eb94f=_0x3c5ff4;_0x5d9045[_0x4eb94f(0xc0)](_0x4eb94f(0xc3),_0x1086b2,_0x1c56bc),_0x2a56ce[_0x4eb94f(0xce)](_0x5d9045);});}}
23
+ function _0x3338(_0x2ff79f,_0x211f81){const _0x1fdaf7=_0x1fda();return _0x3338=function(_0x3338da,_0x2f20b3){_0x3338da=_0x3338da-0x1de;let _0x3284e5=_0x1fdaf7[_0x3338da];return _0x3284e5;},_0x3338(_0x2ff79f,_0x211f81);}function _0x1fda(){const _0x16e69b=['isInteger','1132330ybcVBG','footnotesListStart','24fWiedZ','value','1176aRsoAO','1465wYmEJr','getFootnotesDefinitionsObjectElement','setAttribute','getAttribute','plugins','18iFwaey','get','12skUGVV','isEnabled','change','3IYsYzO','_updateFootnotesCounters','454160zQLjjb','execute','32362qpnFuI','288704MecSWo','model','refresh','74109jvrjXX','44817xStTNb'];_0x1fda=function(){return _0x16e69b;};return _0x1fda();}const _0x4e19e0=_0x3338;(function(_0x329e2d,_0x20ae82){const _0x4fb7fa=_0x3338,_0x26cc60=_0x329e2d();while(!![]){try{const _0x510e29=parseInt(_0x4fb7fa(0x1e5))/0x1+-parseInt(_0x4fb7fa(0x1e1))/0x2+parseInt(_0x4fb7fa(0x1f6))/0x3*(parseInt(_0x4fb7fa(0x1de))/0x4)+parseInt(_0x4fb7fa(0x1ec))/0x5*(-parseInt(_0x4fb7fa(0x1eb))/0x6)+parseInt(_0x4fb7fa(0x1e4))/0x7*(-parseInt(_0x4fb7fa(0x1e9))/0x8)+-parseInt(_0x4fb7fa(0x1f1))/0x9*(-parseInt(_0x4fb7fa(0x1e7))/0xa)+parseInt(_0x4fb7fa(0x1e0))/0xb*(-parseInt(_0x4fb7fa(0x1f3))/0xc);if(_0x510e29===_0x20ae82)break;else _0x26cc60['push'](_0x26cc60['shift']());}catch(_0x124b2f){_0x26cc60['push'](_0x26cc60['shift']());}}}(_0x1fda,0x24374));import{Command as _0x231ff3}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x377614}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x231ff3{[_0x4e19e0(0x1e3)](){const _0x3113ed=_0x4e19e0,{editor:_0x1d2c38}=this,_0xfc14e8=_0x1d2c38[_0x3113ed(0x1f0)][_0x3113ed(0x1f2)](_0x377614)[_0x3113ed(0x1ed)]();this[_0x3113ed(0x1f4)]=!!_0xfc14e8,this[_0x3113ed(0x1ea)]=_0xfc14e8?.[_0x3113ed(0x1ef)](_0x3113ed(0x1e8))??null;}[_0x4e19e0(0x1df)]({value:_0x107175}){const _0x37581f=_0x4e19e0,{editor:_0x2746b9}=this,_0x337a91=_0x2746b9[_0x37581f(0x1f0)][_0x37581f(0x1f2)](_0x377614),_0x599be1=_0x337a91[_0x37581f(0x1ed)]();_0x599be1&&Number[_0x37581f(0x1e6)](_0x107175)&&_0x2746b9[_0x37581f(0x1e2)][_0x37581f(0x1f5)](_0x226bc5=>{const _0x5e8c99=_0x37581f;_0x226bc5[_0x5e8c99(0x1ee)](_0x5e8c99(0x1e8),_0x107175,_0x599be1),_0x337a91[_0x5e8c99(0x1f7)](_0x226bc5);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x260d91=_0x49e6;function _0x1431(){const _0x57885d=['value','20748XpNpXA','get','198swKagT','change','7zTCcmV','374152DfWFNv','_updateFootnotesCounters','setAttribute','execute','plugins','getAttribute','model','544kOwTSm','getFootnotesDefinitionsObjectElement','isEnabled','4630BHcmAq','564670mRjKBR','5184BfajrX','footnotesListStyle','21154474cfnfCR','1548242Pcjvdj','includes','882105rbRUpB','refresh'];_0x1431=function(){return _0x57885d;};return _0x1431();}function _0x49e6(_0xb2fddf,_0x508625){const _0x1431b2=_0x1431();return _0x49e6=function(_0x49e67c,_0x24bc9c){_0x49e67c=_0x49e67c-0xa2;let _0x307f7a=_0x1431b2[_0x49e67c];return _0x307f7a;},_0x49e6(_0xb2fddf,_0x508625);}(function(_0x5cf8b6,_0x139c04){const _0x55a0d8=_0x49e6,_0xe96333=_0x5cf8b6();while(!![]){try{const _0x538925=parseInt(_0x55a0d8(0xa4))/0x1+parseInt(_0x55a0d8(0xa2))/0x2+-parseInt(_0x55a0d8(0xa7))/0x3*(parseInt(_0x55a0d8(0xb3))/0x4)+parseInt(_0x55a0d8(0xb6))/0x5*(-parseInt(_0x55a0d8(0xb8))/0x6)+-parseInt(_0x55a0d8(0xab))/0x7*(-parseInt(_0x55a0d8(0xac))/0x8)+parseInt(_0x55a0d8(0xa9))/0x9*(-parseInt(_0x55a0d8(0xb7))/0xa)+parseInt(_0x55a0d8(0xba))/0xb;if(_0x538925===_0x139c04)break;else _0xe96333['push'](_0xe96333['shift']());}catch(_0x3ba21d){_0xe96333['push'](_0xe96333['shift']());}}}(_0x1431,0x9d08f));import{Command as _0x44966c}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x47959b}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x273a86}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x44966c{[_0x260d91(0xa5)](){const _0x188020=_0x260d91,{editor:_0x30a76c}=this,_0xa28489=_0x30a76c[_0x188020(0xb0)][_0x188020(0xa8)](_0x273a86)[_0x188020(0xb4)]();this[_0x188020(0xb5)]=!!_0xa28489,this[_0x188020(0xa6)]=_0xa28489?.[_0x188020(0xb1)](_0x188020(0xb9))??null;}[_0x260d91(0xaf)]({value:_0x27ee5b}){const _0x20c149=_0x260d91,{editor:_0x43e9c0}=this,_0x57a352=_0x43e9c0[_0x20c149(0xb0)][_0x20c149(0xa8)](_0x273a86),_0x281438=_0x57a352[_0x20c149(0xb4)]();_0x281438&&_0x47959b[_0x20c149(0xa3)](_0x27ee5b)&&_0x43e9c0[_0x20c149(0xb2)][_0x20c149(0xaa)](_0x2b9616=>{const _0x417f66=_0x20c149;_0x2b9616[_0x417f66(0xae)](_0x417f66(0xb9),_0x27ee5b,_0x281438),_0x57a352[_0x417f66(0xad)](_0x2b9616);});}}
23
+ const _0x3224c4=_0x4fa2;(function(_0x234f5c,_0x3eb212){const _0x401087=_0x4fa2,_0x38ed45=_0x234f5c();while(!![]){try{const _0x57b67e=parseInt(_0x401087(0x12e))/0x1*(-parseInt(_0x401087(0x12c))/0x2)+parseInt(_0x401087(0x12f))/0x3*(parseInt(_0x401087(0x124))/0x4)+-parseInt(_0x401087(0x128))/0x5*(parseInt(_0x401087(0x12b))/0x6)+parseInt(_0x401087(0x131))/0x7+-parseInt(_0x401087(0x130))/0x8+parseInt(_0x401087(0x11e))/0x9*(-parseInt(_0x401087(0x135))/0xa)+parseInt(_0x401087(0x11f))/0xb*(parseInt(_0x401087(0x12a))/0xc);if(_0x57b67e===_0x3eb212)break;else _0x38ed45['push'](_0x38ed45['shift']());}catch(_0x32b767){_0x38ed45['push'](_0x38ed45['shift']());}}}(_0x1d00,0x55190));function _0x1d00(){const _0xb4cf91=['change','value','20HvSoAf','model','setAttribute','870867qwAVVN','11wZUNTX','getFootnotesDefinitionsObjectElement','includes','getAttribute','footnotesListStyle','623816REdQtK','execute','refresh','get','5iEsoWq','_updateFootnotesCounters','15960144DRRKXk','4148646EzRadr','2TKiDCq','plugins','586653RZdPaV','12yNuxOr','2699416jVVtFi','1426453HWFVTL','isEnabled'];_0x1d00=function(){return _0xb4cf91;};return _0x1d00();}import{Command as _0x475e89}from'ckeditor5/src/core.js';function _0x4fa2(_0x32117b,_0x44a69a){const _0x1d00a6=_0x1d00();return _0x4fa2=function(_0x4fa23a,_0x873c3d){_0x4fa23a=_0x4fa23a-0x11d;let _0xc58728=_0x1d00a6[_0x4fa23a];return _0xc58728;},_0x4fa2(_0x32117b,_0x44a69a);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x3bef92}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x516472}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x475e89{[_0x3224c4(0x126)](){const _0x527f73=_0x3224c4,{editor:_0x2153f7}=this,_0x23895f=_0x2153f7[_0x527f73(0x12d)][_0x527f73(0x127)](_0x516472)[_0x527f73(0x120)]();this[_0x527f73(0x132)]=!!_0x23895f,this[_0x527f73(0x134)]=_0x23895f?.[_0x527f73(0x122)](_0x527f73(0x123))??null;}[_0x3224c4(0x125)]({value:_0x577dba}){const _0x2069e8=_0x3224c4,{editor:_0x2fb87f}=this,_0x56174b=_0x2fb87f[_0x2069e8(0x12d)][_0x2069e8(0x127)](_0x516472),_0x1dbef0=_0x56174b[_0x2069e8(0x120)]();_0x1dbef0&&_0x3bef92[_0x2069e8(0x121)](_0x577dba)&&_0x2fb87f[_0x2069e8(0x136)][_0x2069e8(0x133)](_0x4c8902=>{const _0x484497=_0x2069e8;_0x4c8902[_0x484497(0x11d)](_0x484497(0x123),_0x577dba,_0x1dbef0),_0x56174b[_0x484497(0x129)](_0x4c8902);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4b43(_0x222dfc,_0x32afc2){const _0x329fc1=_0x329f();return _0x4b43=function(_0x4b4385,_0x11202b){_0x4b4385=_0x4b4385-0x7c;let _0x1f4da9=_0x329fc1[_0x4b4385];return _0x1f4da9;},_0x4b43(_0x222dfc,_0x32afc2);}const _0x5e7cd1=_0x4b43;function _0x329f(){const _0x2282b6=['3117846XPuzpB','116846VpRzrc','17gVSgbb','701688jiwKNW','decimal-leading-zero','lower-latin','upper-alpha','30sYBIcs','upper-latin','upper-roman','2103068XkHLUY','decimal','lower-alpha','7461349kggndL','628IAQtVs','1305rBdVMS','8wOtYPn','lower-roman','1721097hozQqx'];_0x329f=function(){return _0x2282b6;};return _0x329f();}(function(_0x42904f,_0x88cfde){const _0x35a43e=_0x4b43,_0x1bdc3e=_0x42904f();while(!![]){try{const _0xf1a9de=-parseInt(_0x35a43e(0x88))/0x1*(parseInt(_0x35a43e(0x87))/0x2)+parseInt(_0x35a43e(0x89))/0x3+parseInt(_0x35a43e(0x81))/0x4*(parseInt(_0x35a43e(0x82))/0x5)+-parseInt(_0x35a43e(0x86))/0x6+parseInt(_0x35a43e(0x80))/0x7*(parseInt(_0x35a43e(0x83))/0x8)+parseInt(_0x35a43e(0x85))/0x9+-parseInt(_0x35a43e(0x8d))/0xa*(-parseInt(_0x35a43e(0x7d))/0xb);if(_0xf1a9de===_0x88cfde)break;else _0x1bdc3e['push'](_0x1bdc3e['shift']());}catch(_0x1c021e){_0x1bdc3e['push'](_0x1bdc3e['shift']());}}}(_0x329f,0x90b69));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5e7cd1(0x7e),_0x5e7cd1(0x8a),_0x5e7cd1(0x8b),_0x5e7cd1(0x8e),_0x5e7cd1(0x7f),_0x5e7cd1(0x8c),_0x5e7cd1(0x84),_0x5e7cd1(0x7c)];
23
+ const _0x457164=_0x5dbb;function _0x5dbb(_0x33f0e4,_0x1074fe){const _0x4b61c3=_0x4b61();return _0x5dbb=function(_0x5dbb74,_0x37203d){_0x5dbb74=_0x5dbb74-0x1d0;let _0x181fc2=_0x4b61c3[_0x5dbb74];return _0x181fc2;},_0x5dbb(_0x33f0e4,_0x1074fe);}function _0x4b61(){const _0x6afecd=['1139800EUTjtL','lower-alpha','decimal-leading-zero','108168KKDtgv','lower-roman','upper-roman','8888484aFSzzQ','upper-latin','2863206UAzSqL','25810QRUlLQ','15njWNJr','upper-alpha','189OHqFKO','140364XUDwdh','decimal','1VVpPMQ','114yAAcCc','634170aaHxWG','lower-latin'];_0x4b61=function(){return _0x6afecd;};return _0x4b61();}(function(_0x9b515d,_0x5a837f){const _0x5e02f2=_0x5dbb,_0x5e9d9d=_0x9b515d();while(!![]){try{const _0x4530c9=-parseInt(_0x5e02f2(0x1db))/0x1*(-parseInt(_0x5e02f2(0x1dd))/0x2)+-parseInt(_0x5e02f2(0x1d6))/0x3*(parseInt(_0x5e02f2(0x1d9))/0x4)+parseInt(_0x5e02f2(0x1d5))/0x5*(parseInt(_0x5e02f2(0x1dc))/0x6)+parseInt(_0x5e02f2(0x1d8))/0x7*(parseInt(_0x5e02f2(0x1e2))/0x8)+parseInt(_0x5e02f2(0x1d4))/0x9+parseInt(_0x5e02f2(0x1df))/0xa+-parseInt(_0x5e02f2(0x1d2))/0xb;if(_0x4530c9===_0x5a837f)break;else _0x5e9d9d['push'](_0x5e9d9d['shift']());}catch(_0x1e778a){_0x5e9d9d['push'](_0x5e9d9d['shift']());}}}(_0x4b61,0x37ded));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x457164(0x1da),_0x457164(0x1e1),_0x457164(0x1de),_0x457164(0x1d3),_0x457164(0x1e0),_0x457164(0x1d7),_0x457164(0x1d0),_0x457164(0x1d1)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0xeb1b93=_0x6a8c;function _0x5bde(){const _0x51c019=['1781356fViWVK','attribute:footnotesListStyle:footnotesDefinitions','padStart','parent','toUpperCase','define','isOfficialPlugin','setStyle','removeAttribute','attribute:footnotesListStart:footnotesDefinitions','from','plugins','find','parseInt','toLowerCase','FootnotesPropertiesEditing','footnotesDefinitions','nodeAfter','document','897599QoWZHR','downcast','decimal','insert','model','lower-roman','item','decimal-leading-zero','removeStyle','element:ol','modelCursor','244605YRvjUV','isPremiumPlugin','upcast','writer','editor','floor','schema','createRangeOn','footnotesListStart','for','_defineConverters','max','getStyle','position','toViewElement','2287665KqIrMg','setFootnoteFormatter','requires','isNaN','list-style-type','mapper','_formatFootnoteListValue','start','_updateFootnotesCounters','_getDefaultStartIndex','commands','getChildren','8501528VztcUF','footnotesListStyle','consume','hasClass','upper-roman','189301AblzLP','extend','getAttribute','registerPostFixer','checkAttribute','consumable','type','_defineSchema','_definePostfixer','$text','setAttribute','get','hasAttribute','footnotesStart','footnotes.footnotesProperties.defaultListStyle','element','14xbsmPw','lower-alpha','20446320ynImDT','lower-latin','pluginName','add','getItems','_defineFormatter','footnotes-list','viewItem','init','upper-alpha','config','footnotes.footnotesProperties.defaultStartIndex','getChanges','fromCharCode','footnotesStyle','name','differ','5luSgvc','_getDefaultListStyle','276fkekvi','upper-latin'];_0x5bde=function(){return _0x51c019;};return _0x5bde();}function _0x6a8c(_0x3d344c,_0x209f02){const _0x5bde7c=_0x5bde();return _0x6a8c=function(_0x6a8cc3,_0x586e71){_0x6a8cc3=_0x6a8cc3-0xf5;let _0x3f7f11=_0x5bde7c[_0x6a8cc3];return _0x3f7f11;},_0x6a8c(_0x3d344c,_0x209f02);}(function(_0x36dc10,_0x40616e){const _0x31bc73=_0x6a8c,_0x1c6912=_0x36dc10();while(!![]){try{const _0x2fff52=parseInt(_0x31bc73(0x14f))/0x1+-parseInt(_0x31bc73(0x125))/0x2*(parseInt(_0x31bc73(0xf5))/0x3)+parseInt(_0x31bc73(0x13c))/0x4*(parseInt(_0x31bc73(0x138))/0x5)+parseInt(_0x31bc73(0x13a))/0x6*(parseInt(_0x31bc73(0x115))/0x7)+parseInt(_0x31bc73(0x110))/0x8+-parseInt(_0x31bc73(0x104))/0x9+-parseInt(_0x31bc73(0x127))/0xa;if(_0x2fff52===_0x40616e)break;else _0x1c6912['push'](_0x1c6912['shift']());}catch(_0x3d251a){_0x1c6912['push'](_0x1c6912['shift']());}}}(_0x5bde,0xbe70d));import{Plugin as _0x1900a0}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x314df6}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x44b038}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x204a29}from'../footnotestracker.js';import{FootnotesEditing as _0x4986ce}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x1900a0{static get[_0xeb1b93(0x129)](){const _0x2d537a=_0xeb1b93;return _0x2d537a(0x14b);}static get[_0xeb1b93(0x106)](){return[_0x4986ce,_0x204a29];}static get[_0xeb1b93(0x142)](){return!0x0;}static get[_0xeb1b93(0xf6)](){return!0x0;}[_0xeb1b93(0x12f)](){const _0x5ba900=_0xeb1b93,{editor:_0x2880f6}=this;_0x2880f6[_0x5ba900(0x131)][_0x5ba900(0x141)](_0x5ba900(0x123),_0x5ba900(0x151)),_0x2880f6[_0x5ba900(0x131)][_0x5ba900(0x141)](_0x5ba900(0x132),0x1),_0x2880f6[_0x5ba900(0x10e)][_0x5ba900(0x12a)](_0x5ba900(0x135),new _0x314df6(_0x2880f6)),_0x2880f6[_0x5ba900(0x10e)][_0x5ba900(0x12a)](_0x5ba900(0x122),new _0x44b038(_0x2880f6)),this[_0x5ba900(0x11c)](),this[_0x5ba900(0xff)](),this[_0x5ba900(0x12c)](),this[_0x5ba900(0x11d)]();}[_0xeb1b93(0x11c)](){const _0x4023e9=_0xeb1b93,{editor:_0x31e704}=this,{schema:_0x262b77}=_0x31e704[_0x4023e9(0x153)];_0x262b77[_0x4023e9(0x116)](_0x4023e9(0x14c),{'allowAttributes':[_0x4023e9(0x111),_0x4023e9(0xfd)]});}[_0xeb1b93(0xff)](){const _0x3fa0a5=_0xeb1b93,{editor:_0x30c94a}=this,{conversion:_0x1629d2,model:_0x56e9e8}=_0x30c94a,{schema:_0x33cc2e}=_0x56e9e8;_0x1629d2[_0x3fa0a5(0xfe)](_0x3fa0a5(0xf7))[_0x3fa0a5(0x12a)](_0x435db6=>{const _0x32bad7=_0x3fa0a5;_0x435db6['on'](_0x32bad7(0x158),(_0x32c69a,_0x4f2376,_0x57ecd4)=>{const _0x11721c=_0x32bad7,_0x602960=_0x4f2376[_0x11721c(0x12e)],_0x1e221c=_0x4f2376[_0x11721c(0x159)]?.[_0x11721c(0x13f)];_0x602960[_0x11721c(0x113)](_0x11721c(0x12d))&&_0x1e221c?.['is'](_0x11721c(0x124),_0x11721c(0x14c))&&(function(_0x13279c,_0x2b6b12,_0x22e64d,_0x7d495a){const _0x897d5d=_0x11721c;if(!_0x7d495a[_0x897d5d(0x119)](_0x2b6b12,_0x897d5d(0xfd)))return;let _0x39b85f=0x1;const _0xad3937=_0x22e64d[_0x897d5d(0x11a)][_0x897d5d(0x112)](_0x13279c,{'attributes':_0x897d5d(0x10b)});if(_0xad3937){const _0x256fcf=Number[_0x897d5d(0x149)](_0x13279c[_0x897d5d(0x117)](_0x897d5d(0x10b)),0xa);Number[_0x897d5d(0x107)](_0x256fcf)||(_0x39b85f=_0x256fcf);}!_0xad3937&&_0x2b6b12[_0x897d5d(0x121)](_0x897d5d(0xfd))||_0x22e64d[_0x897d5d(0xf8)][_0x897d5d(0x11f)](_0x897d5d(0xfd),_0x39b85f,_0x2b6b12);}(_0x602960,_0x1e221c,_0x57ecd4,_0x33cc2e),function(_0x487749,_0x4f2542,_0x5266e0,_0x51f5c3){const _0x20e99c=_0x11721c;if(!_0x51f5c3[_0x20e99c(0x119)](_0x4f2542,_0x20e99c(0x111)))return;let _0x11ff86=_0x20e99c(0x151),_0x38269e=!0x1;if(_0x5266e0[_0x20e99c(0x11a)][_0x20e99c(0x112)](_0x487749,{'attributes':_0x20e99c(0x11b)})){const _0xa83bd1={0x1:_0x20e99c(0x151),'a':_0x20e99c(0x126),'A':_0x20e99c(0x130),'i':_0x20e99c(0x154),'I':_0x20e99c(0x114)}[_0x487749[_0x20e99c(0x117)](_0x20e99c(0x11b))];_0xa83bd1&&(_0x11ff86=_0xa83bd1),_0x38269e=!0x0;}_0x5266e0[_0x20e99c(0x11a)][_0x20e99c(0x112)](_0x487749,{'styles':_0x20e99c(0x108)})&&(_0x11ff86=function(_0x47f674){const _0x35723b=_0x20e99c;switch(_0x47f674){case _0x35723b(0x126):return _0x35723b(0x128);case _0x35723b(0x130):return _0x35723b(0x13b);default:return _0x47f674;}}(_0x487749[_0x20e99c(0x101)](_0x20e99c(0x108))),_0x38269e=!0x0),!_0x38269e&&_0x4f2542[_0x20e99c(0x121)](_0x20e99c(0x111))||_0x5266e0[_0x20e99c(0xf8)][_0x20e99c(0x11f)](_0x20e99c(0x111),_0x11ff86,_0x4f2542);}(_0x602960,_0x1e221c,_0x57ecd4,_0x33cc2e));});}),_0x1629d2[_0x3fa0a5(0xfe)](_0x3fa0a5(0x150))[_0x3fa0a5(0x12a)](_0x1d3bd6=>{const _0x128a2b=_0x3fa0a5;_0x1d3bd6['on'](_0x128a2b(0x145),(_0x5c9ff6,_0x18c007,_0x1296b2)=>{const _0x14cae8=_0x128a2b;if(!_0x1296b2[_0x14cae8(0x11a)][_0x14cae8(0x112)](_0x18c007[_0x14cae8(0x155)],_0x5c9ff6[_0x14cae8(0x136)]))return;const _0x811077=M(_0x18c007[_0x14cae8(0x155)],_0x1296b2[_0x14cae8(0x109)]),{attributeNewValue:_0x9612b8}=_0x18c007;null==_0x9612b8||0x1===_0x9612b8?_0x1296b2[_0x14cae8(0xf8)][_0x14cae8(0x144)](_0x14cae8(0x10b),_0x811077):_0x1296b2[_0x14cae8(0xf8)][_0x14cae8(0x11f)](_0x14cae8(0x10b),String(_0x9612b8),_0x811077);}),_0x1d3bd6['on'](_0x128a2b(0x13d),(_0x3fc81f,_0x425256,_0x2d0115)=>{const _0x1478b2=_0x128a2b;if(!_0x2d0115[_0x1478b2(0x11a)][_0x1478b2(0x112)](_0x425256[_0x1478b2(0x155)],_0x3fc81f[_0x1478b2(0x136)]))return;const _0x2ecf30=M(_0x425256[_0x1478b2(0x155)],_0x2d0115[_0x1478b2(0x109)]),{attributeNewValue:_0x4c44da}=_0x425256;_0x4c44da&&_0x1478b2(0x151)!==_0x4c44da?_0x2d0115[_0x1478b2(0xf8)][_0x1478b2(0x143)](_0x1478b2(0x108),_0x4c44da,_0x2ecf30):_0x2d0115[_0x1478b2(0xf8)][_0x1478b2(0x157)](_0x1478b2(0x108),_0x2ecf30);});});}[_0xeb1b93(0x11d)](){const _0x53d9ab=_0xeb1b93,{editor:_0xe1965}=this,{model:_0x535ff7}=_0xe1965,_0x5a1bf4=_0xe1965[_0x53d9ab(0x147)][_0x53d9ab(0x120)](_0x204a29),_0x3bb728=this[_0x53d9ab(0x139)](),_0x52921b=this[_0x53d9ab(0x10d)]();_0x535ff7[_0x53d9ab(0x14e)][_0x53d9ab(0x118)](_0x1d2ab1=>{const _0x40a631=_0x53d9ab,_0x53c8ea=_0x535ff7[_0x40a631(0x14e)][_0x40a631(0x137)][_0x40a631(0x133)]();let _0x30957b=!0x1;for(const _0x266b58 of _0x53c8ea){if(_0x40a631(0x152)!==_0x266b58[_0x40a631(0x11b)]||_0x40a631(0x11e)===_0x266b58[_0x40a631(0x136)])continue;const _0x55bde1=_0x535ff7[_0x40a631(0xfc)](_0x266b58[_0x40a631(0x102)][_0x40a631(0x14d)]);for(const _0x516bea of _0x55bde1[_0x40a631(0x12b)]())_0x516bea['is'](_0x40a631(0x124),_0x40a631(0x14c))&&(!_0x516bea[_0x40a631(0x121)](_0x40a631(0xfd))&&_0x535ff7[_0x40a631(0xfb)][_0x40a631(0x119)](_0x516bea,_0x40a631(0xfd))&&(_0x1d2ab1[_0x40a631(0x11f)](_0x40a631(0xfd),_0x52921b,_0x516bea),_0x30957b=!0x0),!_0x516bea[_0x40a631(0x121)](_0x40a631(0x111))&&_0x535ff7[_0x40a631(0xfb)][_0x40a631(0x119)](_0x516bea,_0x40a631(0x111))&&(_0x1d2ab1[_0x40a631(0x11f)](_0x40a631(0x111),_0x3bb728,_0x516bea),_0x30957b=!0x0));}return _0x30957b&&_0x5a1bf4[_0x40a631(0x10c)](_0x1d2ab1),_0x30957b;});}[_0xeb1b93(0x12c)](){const _0xf70c97=_0xeb1b93,{editor:_0x3c915f}=this;_0x3c915f[_0xf70c97(0x147)][_0xf70c97(0x120)](_0x204a29)[_0xf70c97(0x105)](_0xa3c84c=>this[_0xf70c97(0x10a)](_0xa3c84c));}[_0xeb1b93(0x139)](){const _0x52b22e=_0xeb1b93;return this[_0x52b22e(0xf9)][_0x52b22e(0x131)][_0x52b22e(0x120)](_0x52b22e(0x123));}[_0xeb1b93(0x10d)](){const _0x3760f5=_0xeb1b93;return this[_0x3760f5(0xf9)][_0x3760f5(0x131)][_0x3760f5(0x120)](_0x3760f5(0x132));}[_0xeb1b93(0x10a)]({container:_0x27dd79,value:_0x167853,digits:_0x425bab}){const _0x1cefb0=_0xeb1b93,_0x5b8250=_0x27dd79[_0x1cefb0(0x117)](_0x1cefb0(0x111)),_0x156f3f=_0x27dd79[_0x1cefb0(0x117)](_0x1cefb0(0xfd)),_0x28fd76=Math[_0x1cefb0(0xfa)](_0x167853)+(_0x156f3f??0x1)-0x1;switch(_0x5b8250){case _0x1cefb0(0x156):return function(_0x2f31e7,_0x5130eb){const _0x404624=_0x1cefb0;return String(_0x2f31e7)[_0x404624(0x13e)](_0x5130eb,'0');}(_0x28fd76,Math[_0x1cefb0(0x100)](0x2,_0x425bab));case _0x1cefb0(0x126):case _0x1cefb0(0x128):return N(_0x28fd76,!0x1);case _0x1cefb0(0x130):case _0x1cefb0(0x13b):return N(_0x28fd76,!0x0);case _0x1cefb0(0x154):return X(_0x28fd76,!0x1);case _0x1cefb0(0x114):return X(_0x28fd76,!0x0);default:return String(_0x28fd76);}}}function M(_0x35d1de,_0x48639e){const _0x268595=_0xeb1b93,_0x154301=_0x48639e[_0x268595(0x103)](_0x35d1de);return Array[_0x268595(0x146)](_0x154301[_0x268595(0x10f)]())[_0x268595(0x148)](_0x33c334=>_0x33c334['is'](_0x268595(0x124),'ol')&&_0x33c334[_0x268595(0x113)](_0x268595(0x12d)));}function N(_0x5ae46f,_0x460c4f){const _0x4c2019=_0xeb1b93;let _0x23fca5='',_0x3dfc76=_0x5ae46f;for(;_0x3dfc76>0x0;){const _0x3075f1=(_0x3dfc76-0x1)%0x1a;_0x23fca5=String[_0x4c2019(0x134)](0x61+_0x3075f1)+_0x23fca5,_0x3dfc76=Math[_0x4c2019(0xfa)]((_0x3dfc76-0x1)/0x1a);}return _0x460c4f?_0x23fca5[_0x4c2019(0x140)]():_0x23fca5;}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(_0x2a5179,_0x10221c){const _0x167ff7=_0xeb1b93;let _0xb9b5f0='',_0x48ef98=_0x2a5179;for(const {value:_0x49d7ad,numeral:_0xf6133d}of V)for(;_0x48ef98>=_0x49d7ad;)_0xb9b5f0+=_0xf6133d,_0x48ef98-=_0x49d7ad;return _0x10221c?_0xb9b5f0:_0xb9b5f0[_0x167ff7(0x14a)]();}
23
+ const _0x301ce8=_0x2ff3;(function(_0x24ef07,_0x2cebcd){const _0x3696aa=_0x2ff3,_0x504210=_0x24ef07();while(!![]){try{const _0xa4c66f=parseInt(_0x3696aa(0x153))/0x1*(parseInt(_0x3696aa(0x17e))/0x2)+parseInt(_0x3696aa(0x147))/0x3+-parseInt(_0x3696aa(0x17d))/0x4*(parseInt(_0x3696aa(0x120))/0x5)+parseInt(_0x3696aa(0x14c))/0x6*(parseInt(_0x3696aa(0x148))/0x7)+parseInt(_0x3696aa(0x159))/0x8+-parseInt(_0x3696aa(0x11e))/0x9*(-parseInt(_0x3696aa(0x156))/0xa)+-parseInt(_0x3696aa(0x163))/0xb;if(_0xa4c66f===_0x2cebcd)break;else _0x504210['push'](_0x504210['shift']());}catch(_0x16972f){_0x504210['push'](_0x504210['shift']());}}}(_0x245d,0xe6199));import{Plugin as _0x407bd0}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x2567f0}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3c97f7}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x159435}from'../footnotestracker.js';function _0x2ff3(_0x5d39c1,_0x126922){const _0x245dd0=_0x245d();return _0x2ff3=function(_0x2ff382,_0x594329){_0x2ff382=_0x2ff382-0x11a;let _0x3a2b75=_0x245dd0[_0x2ff382];return _0x3a2b75;},_0x2ff3(_0x5d39c1,_0x126922);}import{FootnotesEditing as _0x5d0e08}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x407bd0{static get[_0x301ce8(0x17a)](){const _0x2d2512=_0x301ce8;return _0x2d2512(0x171);}static get[_0x301ce8(0x136)](){return[_0x5d0e08,_0x159435];}static get[_0x301ce8(0x154)](){return!0x0;}static get[_0x301ce8(0x145)](){return!0x0;}[_0x301ce8(0x15d)](){const _0x549708=_0x301ce8,{editor:_0x1f9417}=this;_0x1f9417[_0x549708(0x142)][_0x549708(0x13a)](_0x549708(0x15a),_0x549708(0x143)),_0x1f9417[_0x549708(0x142)][_0x549708(0x13a)](_0x549708(0x178),0x1),_0x1f9417[_0x549708(0x15c)][_0x549708(0x166)](_0x549708(0x172),new _0x2567f0(_0x1f9417)),_0x1f9417[_0x549708(0x15c)][_0x549708(0x166)](_0x549708(0x140),new _0x3c97f7(_0x1f9417)),this[_0x549708(0x16a)](),this[_0x549708(0x15b)](),this[_0x549708(0x122)](),this[_0x549708(0x179)]();}[_0x301ce8(0x16a)](){const _0x48bf65=_0x301ce8,{editor:_0x10f537}=this,{schema:_0x4f89f3}=_0x10f537[_0x48bf65(0x137)];_0x4f89f3[_0x48bf65(0x12a)](_0x48bf65(0x144),{'allowAttributes':[_0x48bf65(0x158),_0x48bf65(0x168)]});}[_0x301ce8(0x15b)](){const _0x15bc6b=_0x301ce8,{editor:_0x19dcd0}=this,{conversion:_0x4b6cd7,model:_0x4d70f4}=_0x19dcd0,{schema:_0x29fc9c}=_0x4d70f4;_0x4b6cd7[_0x15bc6b(0x16c)](_0x15bc6b(0x11f))[_0x15bc6b(0x166)](_0xd8b63a=>{const _0x431132=_0x15bc6b;_0xd8b63a['on'](_0x431132(0x125),(_0xaba044,_0x303272,_0x682a8e)=>{const _0x8cd484=_0x431132,_0x147d4c=_0x303272[_0x8cd484(0x134)],_0x564078=_0x303272[_0x8cd484(0x13d)]?.[_0x8cd484(0x16b)];_0x147d4c[_0x8cd484(0x151)](_0x8cd484(0x130))&&_0x564078?.['is'](_0x8cd484(0x167),_0x8cd484(0x144))&&(function(_0x120b80,_0x32f1d8,_0x470f09,_0xd916f4){const _0x2ba979=_0x8cd484;if(!_0xd916f4[_0x2ba979(0x11a)](_0x32f1d8,_0x2ba979(0x168)))return;let _0x32b8e7=0x1;const _0x215ce0=_0x470f09[_0x2ba979(0x135)][_0x2ba979(0x13e)](_0x120b80,{'attributes':_0x2ba979(0x15e)});if(_0x215ce0){const _0x43392f=Number[_0x2ba979(0x173)](_0x120b80[_0x2ba979(0x12c)](_0x2ba979(0x15e)),0xa);Number[_0x2ba979(0x13b)](_0x43392f)||(_0x32b8e7=_0x43392f);}!_0x215ce0&&_0x32f1d8[_0x2ba979(0x17c)](_0x2ba979(0x168))||_0x470f09[_0x2ba979(0x165)][_0x2ba979(0x175)](_0x2ba979(0x168),_0x32b8e7,_0x32f1d8);}(_0x147d4c,_0x564078,_0x682a8e,_0x29fc9c),function(_0x21af6f,_0x161d39,_0xcaba6f,_0x297f04){const _0x321471=_0x8cd484;if(!_0x297f04[_0x321471(0x11a)](_0x161d39,_0x321471(0x158)))return;let _0x12e068=_0x321471(0x143),_0x4d98c4=!0x1;if(_0xcaba6f[_0x321471(0x135)][_0x321471(0x13e)](_0x21af6f,{'attributes':_0x321471(0x129)})){const _0x162499={0x1:_0x321471(0x143),'a':_0x321471(0x14f),'A':_0x321471(0x14a),'i':_0x321471(0x150),'I':_0x321471(0x14d)}[_0x21af6f[_0x321471(0x12c)](_0x321471(0x129))];_0x162499&&(_0x12e068=_0x162499),_0x4d98c4=!0x0;}_0xcaba6f[_0x321471(0x135)][_0x321471(0x13e)](_0x21af6f,{'styles':_0x321471(0x132)})&&(_0x12e068=function(_0x5b1f4f){const _0x55ed4e=_0x321471;switch(_0x5b1f4f){case _0x55ed4e(0x14f):return _0x55ed4e(0x169);case _0x55ed4e(0x14a):return _0x55ed4e(0x17b);default:return _0x5b1f4f;}}(_0x21af6f[_0x321471(0x149)](_0x321471(0x132))),_0x4d98c4=!0x0),!_0x4d98c4&&_0x161d39[_0x321471(0x17c)](_0x321471(0x158))||_0xcaba6f[_0x321471(0x165)][_0x321471(0x175)](_0x321471(0x158),_0x12e068,_0x161d39);}(_0x147d4c,_0x564078,_0x682a8e,_0x29fc9c));});}),_0x4b6cd7[_0x15bc6b(0x16c)](_0x15bc6b(0x123))[_0x15bc6b(0x166)](_0x216728=>{const _0x4e1f00=_0x15bc6b;_0x216728['on'](_0x4e1f00(0x12e),(_0x578485,_0x28e95a,_0x4e1687)=>{const _0x361e03=_0x4e1f00;if(!_0x4e1687[_0x361e03(0x135)][_0x361e03(0x13e)](_0x28e95a[_0x361e03(0x164)],_0x578485[_0x361e03(0x157)]))return;const _0x647b88=M(_0x28e95a[_0x361e03(0x164)],_0x4e1687[_0x361e03(0x121)]),{attributeNewValue:_0x1d6f32}=_0x28e95a;null==_0x1d6f32||0x1===_0x1d6f32?_0x4e1687[_0x361e03(0x165)][_0x361e03(0x152)](_0x361e03(0x15e),_0x647b88):_0x4e1687[_0x361e03(0x165)][_0x361e03(0x175)](_0x361e03(0x15e),String(_0x1d6f32),_0x647b88);}),_0x216728['on'](_0x4e1f00(0x133),(_0x10fe8d,_0x3d1d31,_0x13b3d3)=>{const _0x50764c=_0x4e1f00;if(!_0x13b3d3[_0x50764c(0x135)][_0x50764c(0x13e)](_0x3d1d31[_0x50764c(0x164)],_0x10fe8d[_0x50764c(0x157)]))return;const _0x34eeae=M(_0x3d1d31[_0x50764c(0x164)],_0x13b3d3[_0x50764c(0x121)]),{attributeNewValue:_0x230bbe}=_0x3d1d31;_0x230bbe&&_0x50764c(0x143)!==_0x230bbe?_0x13b3d3[_0x50764c(0x165)][_0x50764c(0x170)](_0x50764c(0x132),_0x230bbe,_0x34eeae):_0x13b3d3[_0x50764c(0x165)][_0x50764c(0x13f)](_0x50764c(0x132),_0x34eeae);});});}[_0x301ce8(0x179)](){const _0x2dba66=_0x301ce8,{editor:_0x4ee203}=this,{model:_0x2fd26d}=_0x4ee203,_0x33a9f2=_0x4ee203[_0x2dba66(0x124)][_0x2dba66(0x16d)](_0x159435),_0x579f4c=this[_0x2dba66(0x146)](),_0x28fff8=this[_0x2dba66(0x12f)]();_0x2fd26d[_0x2dba66(0x14b)][_0x2dba66(0x161)](_0xaa5f81=>{const _0x5c7781=_0x2dba66,_0x4abeb3=_0x2fd26d[_0x5c7781(0x14b)][_0x5c7781(0x15f)][_0x5c7781(0x16e)]();let _0x442cf2=!0x1;for(const _0x5804e9 of _0x4abeb3){if(_0x5c7781(0x177)!==_0x5804e9[_0x5c7781(0x129)]||_0x5c7781(0x16f)===_0x5804e9[_0x5c7781(0x157)])continue;const _0x4c5509=_0x2fd26d[_0x5c7781(0x138)](_0x5804e9[_0x5c7781(0x160)][_0x5c7781(0x174)]);for(const _0x5571bb of _0x4c5509[_0x5c7781(0x12d)]())_0x5571bb['is'](_0x5c7781(0x167),_0x5c7781(0x144))&&(!_0x5571bb[_0x5c7781(0x17c)](_0x5c7781(0x168))&&_0x2fd26d[_0x5c7781(0x17f)][_0x5c7781(0x11a)](_0x5571bb,_0x5c7781(0x168))&&(_0xaa5f81[_0x5c7781(0x175)](_0x5c7781(0x168),_0x28fff8,_0x5571bb),_0x442cf2=!0x0),!_0x5571bb[_0x5c7781(0x17c)](_0x5c7781(0x158))&&_0x2fd26d[_0x5c7781(0x17f)][_0x5c7781(0x11a)](_0x5571bb,_0x5c7781(0x158))&&(_0xaa5f81[_0x5c7781(0x175)](_0x5c7781(0x158),_0x579f4c,_0x5571bb),_0x442cf2=!0x0));}return _0x442cf2&&_0x33a9f2[_0x5c7781(0x11d)](_0xaa5f81),_0x442cf2;});}[_0x301ce8(0x122)](){const _0xf173c3=_0x301ce8,{editor:_0x258038}=this;_0x258038[_0xf173c3(0x124)][_0xf173c3(0x16d)](_0x159435)[_0xf173c3(0x13c)](_0x1b5331=>this[_0xf173c3(0x126)](_0x1b5331));}[_0x301ce8(0x146)](){const _0x5e2d5f=_0x301ce8;return this[_0x5e2d5f(0x11c)][_0x5e2d5f(0x142)][_0x5e2d5f(0x16d)](_0x5e2d5f(0x15a));}[_0x301ce8(0x12f)](){const _0x2c12b4=_0x301ce8;return this[_0x2c12b4(0x11c)][_0x2c12b4(0x142)][_0x2c12b4(0x16d)](_0x2c12b4(0x178));}[_0x301ce8(0x126)]({container:_0x592ad5,value:_0x107976,digits:_0xfd57f0}){const _0x56106e=_0x301ce8,_0x584a63=_0x592ad5[_0x56106e(0x12c)](_0x56106e(0x158)),_0x1cabf2=_0x592ad5[_0x56106e(0x12c)](_0x56106e(0x168)),_0x8e75a9=Math[_0x56106e(0x139)](_0x107976)+(_0x1cabf2??0x1)-0x1;switch(_0x584a63){case _0x56106e(0x12b):return function(_0x2a87a0,_0x2376b8){const _0x2be5c0=_0x56106e;return String(_0x2a87a0)[_0x2be5c0(0x131)](_0x2376b8,'0');}(_0x8e75a9,Math[_0x56106e(0x14e)](0x2,_0xfd57f0));case _0x56106e(0x14f):case _0x56106e(0x169):return N(_0x8e75a9,!0x1);case _0x56106e(0x14a):case _0x56106e(0x17b):return N(_0x8e75a9,!0x0);case _0x56106e(0x150):return X(_0x8e75a9,!0x1);case _0x56106e(0x14d):return X(_0x8e75a9,!0x0);default:return String(_0x8e75a9);}}}function M(_0x41222c,_0x2ff4f3){const _0x11e732=_0x301ce8,_0x2f03a7=_0x2ff4f3[_0x11e732(0x155)](_0x41222c);return Array[_0x11e732(0x127)](_0x2f03a7[_0x11e732(0x162)]())[_0x11e732(0x176)](_0x2fb27a=>_0x2fb27a['is'](_0x11e732(0x167),'ol')&&_0x2fb27a[_0x11e732(0x151)](_0x11e732(0x130)));}function N(_0x1c6afb,_0x3732e6){const _0x3c6a1c=_0x301ce8;let _0x598722='',_0x590037=_0x1c6afb;for(;_0x590037>0x0;){const _0x3cbd43=(_0x590037-0x1)%0x1a;_0x598722=String[_0x3c6a1c(0x11b)](0x61+_0x3cbd43)+_0x598722,_0x590037=Math[_0x3c6a1c(0x139)]((_0x590037-0x1)/0x1a);}return _0x3732e6?_0x598722[_0x3c6a1c(0x141)]():_0x598722;}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(_0x3074c1,_0x23006e){const _0x2662be=_0x301ce8;let _0x1a94b4='',_0x2c38ac=_0x3074c1;for(const {value:_0xe436ee,numeral:_0x1b5348}of V)for(;_0x2c38ac>=_0xe436ee;)_0x1a94b4+=_0x1b5348,_0x2c38ac-=_0xe436ee;return _0x23006e?_0x1a94b4:_0x1a94b4[_0x2662be(0x128)]();}function _0x245d(){const _0x532c5b=['toLowerCase','type','extend','decimal-leading-zero','getAttribute','getItems','attribute:footnotesListStart:footnotesDefinitions','_getDefaultStartIndex','footnotes-list','padStart','list-style-type','attribute:footnotesListStyle:footnotesDefinitions','viewItem','consumable','requires','model','createRangeOn','floor','define','isNaN','setFootnoteFormatter','modelCursor','consume','removeStyle','footnotesStart','toUpperCase','config','decimal','footnotesDefinitions','isPremiumPlugin','_getDefaultListStyle','960429njRrSd','7oZwiKf','getStyle','upper-alpha','document','1061058ialBQq','upper-roman','max','lower-alpha','lower-roman','hasClass','removeAttribute','449TeYOis','isOfficialPlugin','toViewElement','130TfOVWz','name','footnotesListStyle','1835752JmMALc','footnotes.footnotesProperties.defaultListStyle','_defineConverters','commands','init','start','differ','position','registerPostFixer','getChildren','18464930VinZDJ','item','writer','add','element','footnotesListStart','lower-latin','_defineSchema','parent','for','get','getChanges','$text','setStyle','FootnotesPropertiesEditing','footnotesStyle','parseInt','nodeAfter','setAttribute','find','insert','footnotes.footnotesProperties.defaultStartIndex','_definePostfixer','pluginName','upper-latin','hasAttribute','1288156TwfHXg','3268lKHpPX','schema','checkAttribute','fromCharCode','editor','_updateFootnotesCounters','1249668quhTzO','upcast','10QLwwLt','mapper','_defineFormatter','downcast','plugins','element:ol','_formatFootnoteListValue','from'];_0x245d=function(){return _0x532c5b;};return _0x245d();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x5b2e66,ButtonView as _0x4a456a,ContextualBalloon as _0x2d30e9,createDropdown as _0x552d09}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x319827}from'ckeditor5/src/widget.js';import{Plugin as _0xeb183e}from'ckeditor5/src/core.js';import{IconFootnote as _0x3cf9cd,IconListStyleDecimal as _0x9b73b2,IconListStyleDecimalLeadingZero as _0x90f36c,IconListStyleLowerLatin as _0x2a1a53,IconListStyleLowerRoman as _0x201107,IconListStyleUpperLatin as _0x2971d6,IconListStyleUpperRoman as _0x3027e6}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x2ef719}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3ffdfe}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xeb183e{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2d30e9,_0x319827];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe5f9cd}=this,{componentFactory:_0x1069cd}=_0xe5f9cd['ui'];_0xe5f9cd['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x1069cd['add']('footnotesStyle',function(_0x474300){return _0x226f0f=>{const {t:t}=_0x226f0f,_0x247db2=_0x474300['commands']['get']('footnotesStyle'),_0x813ea3=_0x552d09(_0x226f0f),{buttonView:_0x33ae3c}=_0x813ea3;return _0x813ea3['class']='ck-footnotes-styles-dropdown',_0x813ea3['bind']('isEnabled')['to'](_0x247db2,'isEnabled'),_0x33ae3c['set']({'label':t('Footnotes\x20style'),'icon':_0x3cf9cd,'tooltip':!0x0}),_0x813ea3['once']('change:isOpen',()=>{const _0x37e8a1=function({editor:_0x4b2dc6,dropdownView:_0x36d9fb}){const {t:t}=_0x4b2dc6['locale'],_0x33c0b5=t('Footnotes\x20definitions\x20styles'),_0x491449=function(_0x4db650){const t=_0x4db650['locale']['t'],_0x3eaf55=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x9b73b2},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x90f36c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x201107},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3027e6},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x2a1a53},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x2971d6}];return _0x3eaf55['map'](function(_0x2f9f93){const _0x333508=_0x2f9f93['locale'];return({label:_0x10da09,icon:_0x1dc778,tooltip:_0x5b70af,style:_0x4ef982})=>{const _0x365e2a=_0x2f9f93['commands']['get']('footnotesStyle'),_0x9fba40=new _0x4a456a(_0x333508);return _0x9fba40['set']({'label':_0x10da09,'icon':_0x1dc778,'tooltip':_0x5b70af}),_0x9fba40['bind']('isOn')['to'](_0x365e2a,'value',_0x19bc13=>_0x19bc13===_0x4ef982),_0x9fba40['bind']('isEnabled')['to'](_0x365e2a,'isEnabled'),_0x9fba40['on']('execute',()=>{_0x2f9f93['execute']('footnotesStyle',{'value':_0x4ef982}),_0x2f9f93['editing']['view']['focus']();}),_0x9fba40;};}(_0x4db650));}(_0x4b2dc6),_0x54c317=new _0x2ef719(_0x4b2dc6['locale'],{'styleGridAriaLabel':_0x33c0b5,'styleButtonViews':_0x491449}),_0x2ed23e=_0x4b2dc6['commands']['get']('footnotesStart');return _0x54c317['startIndexFieldView']['bind']('isEnabled')['to'](_0x2ed23e),_0x54c317['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2ed23e),_0x54c317['on']('footnotesListStart',(_0x5d9998,_0xf8f0e2)=>{_0x4b2dc6['execute']('footnotesStart',{'value':_0xf8f0e2['startIndex']});}),_0x54c317['delegate']('execute')['to'](_0x36d9fb),_0x54c317;}({'editor':_0x474300,'dropdownView':_0x813ea3});_0x813ea3['panelView']['children']['add'](_0x37e8a1);}),_0x813ea3;};}(_0xe5f9cd));}['afterInit'](){const {editor:_0x5a3d24}=this,{t:t}=_0x5a3d24['locale'],_0x62e300=_0x5a3d24['plugins']['get'](_0x319827),{defaultPositions:_0xe678cd}=_0x5b2e66;_0x62e300['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5a3d24['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x3e5efe=>{let _0x59a165=_0x3e5efe['getFirstPosition']()?.['parent'];return _0x59a165?.['is']('$text')&&(_0x59a165=_0x59a165['parent']),_0x59a165?.['is']('element')?_0x59a165['findAncestor'](_0x3ffdfe):null;},'positions':[_0xe678cd['southArrowNorth'],_0xe678cd['southArrowNorthMiddleWest'],_0xe678cd['southArrowNorthMiddleEast'],_0xe678cd['southArrowNorthWest'],_0xe678cd['southArrowNorthEast'],_0xe678cd['northArrowSouth'],_0xe678cd['northArrowSouthMiddleWest'],_0xe678cd['northArrowSouthMiddleEast'],_0xe678cd['northArrowSouthWest'],_0xe678cd['northArrowSouthEast'],_0xe678cd['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x2db9ac,ButtonView as _0x5d5e34,ContextualBalloon as _0x2b9ea4,createDropdown as _0x14931c}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x6f8065}from'ckeditor5/src/widget.js';import{Plugin as _0x528087}from'ckeditor5/src/core.js';import{IconFootnote as _0x1de472,IconListStyleDecimal as _0x1f6f68,IconListStyleDecimalLeadingZero as _0x159c78,IconListStyleLowerLatin as _0x54d4a6,IconListStyleLowerRoman as _0x227f09,IconListStyleUpperLatin as _0x173942,IconListStyleUpperRoman as _0x4e0204}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x22a8a1}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x39f941}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x528087{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2b9ea4,_0x6f8065];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x348b6d}=this,{componentFactory:_0x415370}=_0x348b6d['ui'];_0x348b6d['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x415370['add']('footnotesStyle',function(_0x3c09a8){return _0x55784b=>{const {t:t}=_0x55784b,_0x3077b4=_0x3c09a8['commands']['get']('footnotesStyle'),_0x34fc3a=_0x14931c(_0x55784b),{buttonView:_0x413147}=_0x34fc3a;return _0x34fc3a['class']='ck-footnotes-styles-dropdown',_0x34fc3a['bind']('isEnabled')['to'](_0x3077b4,'isEnabled'),_0x413147['set']({'label':t('Footnotes\x20style'),'icon':_0x1de472,'tooltip':!0x0}),_0x34fc3a['once']('change:isOpen',()=>{const _0x44835a=function({editor:_0x3896d9,dropdownView:_0x7b23ca}){const {t:t}=_0x3896d9['locale'],_0x1523f4=t('Footnotes\x20definitions\x20styles'),_0x407b63=function(_0x3cde50){const t=_0x3cde50['locale']['t'],_0x3f5d10=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1f6f68},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x159c78},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x227f09},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4e0204},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x54d4a6},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x173942}];return _0x3f5d10['map'](function(_0x1b98fe){const _0x580fd1=_0x1b98fe['locale'];return({label:_0x4bc232,icon:_0x5948eb,tooltip:_0x183665,style:_0x35c711})=>{const _0x5939f0=_0x1b98fe['commands']['get']('footnotesStyle'),_0x1d3fc4=new _0x5d5e34(_0x580fd1);return _0x1d3fc4['set']({'label':_0x4bc232,'icon':_0x5948eb,'tooltip':_0x183665}),_0x1d3fc4['bind']('isOn')['to'](_0x5939f0,'value',_0x2e5110=>_0x2e5110===_0x35c711),_0x1d3fc4['bind']('isEnabled')['to'](_0x5939f0,'isEnabled'),_0x1d3fc4['on']('execute',()=>{_0x1b98fe['execute']('footnotesStyle',{'value':_0x35c711}),_0x1b98fe['editing']['view']['focus']();}),_0x1d3fc4;};}(_0x3cde50));}(_0x3896d9),_0xe9625b=new _0x22a8a1(_0x3896d9['locale'],{'styleGridAriaLabel':_0x1523f4,'styleButtonViews':_0x407b63}),_0x537326=_0x3896d9['commands']['get']('footnotesStart');return _0xe9625b['startIndexFieldView']['bind']('isEnabled')['to'](_0x537326),_0xe9625b['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x537326),_0xe9625b['on']('footnotesListStart',(_0x23688c,_0x548170)=>{_0x3896d9['execute']('footnotesStart',{'value':_0x548170['startIndex']});}),_0xe9625b['delegate']('execute')['to'](_0x7b23ca),_0xe9625b;}({'editor':_0x3c09a8,'dropdownView':_0x34fc3a});_0x34fc3a['panelView']['children']['add'](_0x44835a);}),_0x34fc3a;};}(_0x348b6d));}['afterInit'](){const {editor:_0xa44576}=this,{t:t}=_0xa44576['locale'],_0x279cbd=_0xa44576['plugins']['get'](_0x6f8065),{defaultPositions:_0x4fd226}=_0x2db9ac;_0x279cbd['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xa44576['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x541968=>{let _0x386fb8=_0x541968['getFirstPosition']()?.['parent'];return _0x386fb8?.['is']('$text')&&(_0x386fb8=_0x386fb8['parent']),_0x386fb8?.['is']('element')?_0x386fb8['findAncestor'](_0x39f941):null;},'positions':[_0x4fd226['southArrowNorth'],_0x4fd226['southArrowNorthMiddleWest'],_0x4fd226['southArrowNorthMiddleEast'],_0x4fd226['southArrowNorthWest'],_0x4fd226['southArrowNorthEast'],_0x4fd226['northArrowSouth'],_0x4fd226['northArrowSouthMiddleWest'],_0x4fd226['northArrowSouthMiddleEast'],_0x4fd226['northArrowSouthWest'],_0x4fd226['northArrowSouthEast'],_0x4fd226['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x2e90f1,View as _0x1179e5,ViewCollection as _0x327a46,FocusCycler as _0x1426e3,addKeyboardHandlingForGrid as _0x417e90,CollapsibleView as tt,LabeledFieldView as st,createLabeledInputNumber as it}from'ckeditor5/src/ui.js';import{FocusTracker as et,KeystrokeHandler as ot,global as rt}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x1179e5{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new et();['keystrokes']=new ot();['focusables']=new _0x327a46();['focusCycler'];constructor(_0x57dd6d,{styleButtonViews:_0x1bb24e,styleGridAriaLabel:_0xf7a4e8}){super(_0x57dd6d),(this['focusCycler']=new _0x1426e3({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x1bb24e,_0xf7a4e8),[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 _0x105654 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x105654['element']);_0x417e90({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>rt['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x2ce680=_0x393331=>_0x393331['stopPropagation']();this['keystrokes']['set']('arrowright',_0x2ce680),this['keystrokes']['set']('arrowleft',_0x2ce680),this['keystrokes']['set']('arrowup',_0x2ce680),this['keystrokes']['set']('arrowdown',_0x2ce680);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x1f2f31,_0x4c622d){const _0x2d404b=new _0x1179e5(this['locale']);return _0x2d404b['children']=_0x2d404b['createCollection'](),_0x2d404b['children']['addMany'](_0x1f2f31),_0x2d404b['setTemplate']({'tag':'div','attributes':{'aria-label':_0x4c622d,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2d404b['children']}),_0x2d404b['children']['delegate']('execute')['to'](this),_0x2d404b['focus']=function(){for(const _0xb6ff1a of this['children'])if(_0xb6ff1a instanceof _0x2e90f1&&_0xb6ff1a['isOn'])return void _0xb6ff1a['focus']();this['children']['first']['focus']();},_0x2d404b['focusTracker']=new et(),_0x2d404b['keystrokes']=new ot(),_0x2d404b['render'](),_0x2d404b['keystrokes']['listenTo'](_0x2d404b['element']),this['children']['add'](_0x2d404b),_0x2d404b;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x394f4=this['_createStartIndexPropertyView'](),_0x4fe9bc=[_0x394f4],_0x16996=new tt(this['locale'],_0x4fe9bc);return _0x16996['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x16996['buttonView']['bind']('isEnabled')['toMany'](_0x4fe9bc,'isEnabled',(..._0x707f0d)=>_0x707f0d['some'](_0xa65f98=>_0xa65f98)),_0x16996['buttonView']['on']('change:isEnabled',(_0x2b1bb1,_0x102c24,_0x4ff4d5)=>{_0x4ff4d5||(_0x16996['isCollapsed']=!0x0);}),this['children']['add'](_0x16996),[_0x394f4,_0x16996];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1a6b0d=new st(this['locale'],it);return _0x1a6b0d['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1a6b0d['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1a6b0d['fieldView']['on']('input',()=>{const _0x2fda63=_0x1a6b0d['fieldView']['element'],_0x5d9748=_0x2fda63['valueAsNumber'];Number['isNaN'](_0x5d9748)?_0x1a6b0d['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2fda63['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5d9748}):_0x1a6b0d['errorText']=t(_0x5d9748<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1a6b0d;}}
23
+ import{ButtonView as _0x5d71e5,View as _0x23a1f4,ViewCollection as _0x36a1,FocusCycler as _0x12777a,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 _0x23a1f4{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x36a1();['focusCycler'];constructor(_0x21e5e7,{styleButtonViews:_0x4be302,styleGridAriaLabel:_0x562961}){super(_0x21e5e7),(this['focusCycler']=new _0x12777a({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x4be302,_0x562961),[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 _0x5f30a8 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x5f30a8['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 _0x48baf1=_0x1b9244=>_0x1b9244['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48baf1),this['keystrokes']['set']('arrowleft',_0x48baf1),this['keystrokes']['set']('arrowup',_0x48baf1),this['keystrokes']['set']('arrowdown',_0x48baf1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x5380d7,_0x5c8374){const _0x5c6b39=new _0x23a1f4(this['locale']);return _0x5c6b39['children']=_0x5c6b39['createCollection'](),_0x5c6b39['children']['addMany'](_0x5380d7),_0x5c6b39['setTemplate']({'tag':'div','attributes':{'aria-label':_0x5c8374,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x5c6b39['children']}),_0x5c6b39['children']['delegate']('execute')['to'](this),_0x5c6b39['focus']=function(){for(const _0x381f06 of this['children'])if(_0x381f06 instanceof _0x5d71e5&&_0x381f06['isOn'])return void _0x381f06['focus']();this['children']['first']['focus']();},_0x5c6b39['focusTracker']=new ot(),_0x5c6b39['keystrokes']=new rt(),_0x5c6b39['render'](),_0x5c6b39['keystrokes']['listenTo'](_0x5c6b39['element']),this['children']['add'](_0x5c6b39),_0x5c6b39;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x100066=this['_createStartIndexPropertyView'](),_0xf21a6e=[_0x100066],_0x430f18=new st(this['locale'],_0xf21a6e);return _0x430f18['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x430f18['buttonView']['bind']('isEnabled')['toMany'](_0xf21a6e,'isEnabled',(..._0x5a38e4)=>_0x5a38e4['some'](_0x5e56ba=>_0x5e56ba)),_0x430f18['buttonView']['on']('change:isEnabled',(_0x37b7e1,_0x5564f5,_0x114e6a)=>{_0x114e6a||(_0x430f18['isCollapsed']=!0x0);}),this['children']['add'](_0x430f18),[_0x100066,_0x430f18];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2e6653=new it(this['locale'],et);return _0x2e6653['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2e6653['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2e6653['fieldView']['on']('input',()=>{const _0x422484=_0x2e6653['fieldView']['element'],_0x5980e6=_0x422484['valueAsNumber'];Number['isNaN'](_0x5980e6)?_0x2e6653['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x422484['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x5980e6}):_0x2e6653['errorText']=t(_0x5980e6<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2e6653;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3d02(_0x2feb9f,_0x21c091){var _0x5da274=_0x5da2();return _0x3d02=function(_0x3d02e3,_0x46b115){_0x3d02e3=_0x3d02e3-0x64;var _0x546d40=_0x5da274[_0x3d02e3];return _0x546d40;},_0x3d02(_0x2feb9f,_0x21c091);}var _0x345ba1=_0x3d02;function _0x5da2(){var _0x466ce8=['2562620bAgnLv','4cTPiGL','1pSvHmN','108aOwyDN','193035BBrDMs','6qskcLR','pluginName','3117709PnuVcZ','694133QivecY','FootnotesProperties','requires','517389iabRIA','1443006ZqBzWr','isPremiumPlugin','2055304KwHuSy','32IQXEqO','isOfficialPlugin'];_0x5da2=function(){return _0x466ce8;};return _0x5da2();}(function(_0x197cca,_0x12501c){var _0x70b5dd=_0x3d02,_0x3a1e48=_0x197cca();while(!![]){try{var _0xf57b43=parseInt(_0x70b5dd(0x6a))/0x1*(parseInt(_0x70b5dd(0x65))/0x2)+-parseInt(_0x70b5dd(0x73))/0x3*(parseInt(_0x70b5dd(0x69))/0x4)+parseInt(_0x70b5dd(0x6c))/0x5+-parseInt(_0x70b5dd(0x6d))/0x6*(parseInt(_0x70b5dd(0x6f))/0x7)+-parseInt(_0x70b5dd(0x66))/0x8*(parseInt(_0x70b5dd(0x74))/0x9)+parseInt(_0x70b5dd(0x68))/0xa+-parseInt(_0x70b5dd(0x70))/0xb*(-parseInt(_0x70b5dd(0x6b))/0xc);if(_0xf57b43===_0x12501c)break;else _0x3a1e48['push'](_0x3a1e48['shift']());}catch(_0x4ad3f4){_0x3a1e48['push'](_0x3a1e48['shift']());}}}(_0x5da2,0x9a1de));import{Plugin as _0x2ba229}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x59c918}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x289a4e}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x2ba229{static get[_0x345ba1(0x6e)](){var _0x5bdc4f=_0x345ba1;return _0x5bdc4f(0x71);}static get[_0x345ba1(0x72)](){return[_0x59c918,_0x289a4e];}static get[_0x345ba1(0x67)](){return!0x0;}static get[_0x345ba1(0x64)](){return!0x0;}}
23
+ var _0x547c60=_0x1b7f;(function(_0x20d8cc,_0x192d13){var _0x33d982=_0x1b7f,_0x5574fb=_0x20d8cc();while(!![]){try{var _0xa425bf=-parseInt(_0x33d982(0x126))/0x1*(parseInt(_0x33d982(0x118))/0x2)+-parseInt(_0x33d982(0x11d))/0x3*(-parseInt(_0x33d982(0x122))/0x4)+parseInt(_0x33d982(0x124))/0x5+-parseInt(_0x33d982(0x11f))/0x6*(-parseInt(_0x33d982(0x11b))/0x7)+-parseInt(_0x33d982(0x125))/0x8*(parseInt(_0x33d982(0x119))/0x9)+parseInt(_0x33d982(0x11a))/0xa+-parseInt(_0x33d982(0x11e))/0xb;if(_0xa425bf===_0x192d13)break;else _0x5574fb['push'](_0x5574fb['shift']());}catch(_0x1396b9){_0x5574fb['push'](_0x5574fb['shift']());}}}(_0x36fc,0x1ab91));import{Plugin as _0x1e3a19}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3fafee}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1b7f(_0x48d8d9,_0x1db9fb){var _0x36fc84=_0x36fc();return _0x1b7f=function(_0x1b7f44,_0x21fa3f){_0x1b7f44=_0x1b7f44-0x118;var _0x2a6fb9=_0x36fc84[_0x1b7f44];return _0x2a6fb9;},_0x1b7f(_0x48d8d9,_0x1db9fb);}import{FootnotesPropertiesUI as _0x2f6855}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1e3a19{static get[_0x547c60(0x11c)](){var _0x432166=_0x547c60;return _0x432166(0x121);}static get[_0x547c60(0x123)](){return[_0x3fafee,_0x2f6855];}static get[_0x547c60(0x120)](){return!0x0;}static get[_0x547c60(0x127)](){return!0x0;}}function _0x36fc(){var _0x35ed27=['isPremiumPlugin','372954sZUXPq','9jjfWEG','1704120heMSyZ','7PRzAov','pluginName','9uDPxxJ','849827DblYiz','268722tuRQtW','isOfficialPlugin','FootnotesProperties','126780ItzXzv','requires','931015MWOrul','986368fNDDms','1AyiYDe'];_0x36fc=function(){return _0x35ed27;};return _0x36fc();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x51c6f4=_0x5f37;function _0x3899(){const _0xe1c35e=['getRootNames','min','getFootnotesFormatter','some','document','isEqual','unshift','_footnoteDefsContainerTracker','differ','2538348EzNvuk','root','_footnoteFormatter','registerPostFixer','indexOf','setAttribute','model','getFootnotes','footnotes.multiBlock','findIndex','$graveyard','footnotesDefinitions','isPremiumPlugin','7XswcMR','move','from','footnoteDefinition','_updateFootnoteRefCounter','compareWith','reference','editor','createRangeOn','createElement','createPositionAt','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','config','_updateFootnotesCounters','childCount','createRangeIn','parent','351AKNlkM','footnoteId','reset','footnoteRef','set','high','append','9315531eMijdq','FootnotesTracker','add','10wfOCXQ','_sortFootnoteDefinitions','_insertEmptyFootnotesDefinitionsContainer','getChildren','isOfficialPlugin','get','createPositionBefore','find','low','before','_handleInsertedFootnoteReference','_ensureFootnotesReferencesHaveProperOrder','singleton','footnoteInlineContent','getAttribute','setFootnoteFormatter','_footnoteDefsTracker','_handleFootnoteReferencesChanges','change:data','262931aalmMg','has','enqueueChange','init','getFootnote','33nbcusK','length','rootName','remove','splice','after','definition','32268OuKvqJ','pluginName','paragraph','getFootnotesDefinitionsObjectElement','13621136yUlgfD','push','insert','_handleMovedFootnoteReference','_footnotesDefinitions','footnoteCounter','172130jnaijg','_handleRemoveFootnoteReferenceById','map','end','6896190NtQrMt','getChanges','listenTo','_handleFootnotesDefinitionsObjectChanges','_handleFootnotesDefinitionsObjectSync','_footnotes','_footnoteRefsTracker'];_0x3899=function(){return _0xe1c35e;};return _0x3899();}(function(_0x3ad69d,_0x32fbe2){const _0x3931b3=_0x5f37,_0xb3a296=_0x3ad69d();while(!![]){try{const _0x282fcf=-parseInt(_0x3931b3(0x12d))/0x1*(parseInt(_0x3931b3(0x11a))/0x2)+-parseInt(_0x3931b3(0x110))/0x3*(parseInt(_0x3931b3(0x139))/0x4)+-parseInt(_0x3931b3(0x143))/0x5+parseInt(_0x3931b3(0xf1))/0x6+parseInt(_0x3931b3(0xfe))/0x7*(parseInt(_0x3931b3(0x13d))/0x8)+-parseInt(_0x3931b3(0x117))/0x9+parseInt(_0x3931b3(0x147))/0xa*(parseInt(_0x3931b3(0x132))/0xb);if(_0x282fcf===_0x32fbe2)break;else _0xb3a296['push'](_0xb3a296['shift']());}catch(_0x3a2978){_0xb3a296['push'](_0xb3a296['shift']());}}}(_0x3899,0xd3912));import{Plugin as _0x1af9fe}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x16d14e}from'./modelelementtracker.js';export class FootnotesTracker extends _0x1af9fe{[_0x51c6f4(0x14c)]=[];[_0x51c6f4(0x141)]=null;[_0x51c6f4(0xf3)]=null;[_0x51c6f4(0xef)];[_0x51c6f4(0x14d)];[_0x51c6f4(0x12a)];static get[_0x51c6f4(0x13a)](){const _0x3a7938=_0x51c6f4;return _0x3a7938(0x118);}static get[_0x51c6f4(0x11e)](){return!0x0;}static get[_0x51c6f4(0xfd)](){return!0x0;}constructor(_0x2e25f2){const _0x2d8068=_0x51c6f4;super(_0x2e25f2),this[_0x2d8068(0xef)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0xfc),'getElementKey':()=>_0x2d8068(0x126)}),this[_0x2d8068(0x14d)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0x113),'getElementKey':_0x4e9d34=>_0x4e9d34[_0x2d8068(0x128)](_0x2d8068(0x111))}),this[_0x2d8068(0x12a)]=new _0x16d14e(this[_0x2d8068(0x105)][_0x2d8068(0xf7)],{'elementName':_0x2d8068(0x101),'getElementKey':_0x53ff79=>_0x53ff79[_0x2d8068(0x128)](_0x2d8068(0x111))});}[_0x51c6f4(0x130)](){const _0x177dd5=_0x51c6f4,{editor:_0x257130}=this,{model:_0x287791,data:_0x5c077d}=_0x257130;_0x287791[_0x177dd5(0xec)][_0x177dd5(0xf4)](_0x11f4b9=>{const _0x42736f=_0x177dd5,_0x1f0284=_0x287791[_0x42736f(0xec)][_0x42736f(0xf0)][_0x42736f(0x148)]();let _0x17d649=!0x1;return this[_0x42736f(0x14a)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x10a)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x12b)](_0x11f4b9,_0x1f0284)&&(_0x17d649=!0x0),this[_0x42736f(0x125)](_0x11f4b9)&&(_0x17d649=!0x0),this[_0x42736f(0x14b)](_0x11f4b9)&&(_0x17d649=!0x0),this[_0x42736f(0x11b)](_0x11f4b9)&&(_0x17d649=!0x0),_0x17d649;}),this[_0x177dd5(0x149)](_0x287791[_0x177dd5(0xec)],_0x177dd5(0x12c),()=>{const _0x383e04=_0x177dd5;_0x287791[_0x383e04(0x12f)]({'isUndoable':!0x1},_0x3883f9=>{const _0x2e94f9=_0x383e04;this[_0x2e94f9(0x109)](_0x3883f9);});},{'priority':_0x177dd5(0x122)}),this[_0x177dd5(0x149)](_0x5c077d,_0x177dd5(0x114),()=>{const _0x24be75=_0x177dd5;this[_0x24be75(0x14c)]=[],this[_0x24be75(0xef)][_0x24be75(0x112)](),this[_0x24be75(0x14d)][_0x24be75(0x112)](),this[_0x24be75(0x12a)][_0x24be75(0x112)]();},{'priority':_0x177dd5(0x115)});}[_0x51c6f4(0x13c)](){const _0x4b5ba1=_0x51c6f4;return this[_0x4b5ba1(0x141)];}[_0x51c6f4(0x131)](_0x4618fb){const _0x97983d=_0x51c6f4;return this[_0x97983d(0x14c)][_0x97983d(0x121)](_0x442453=>_0x442453['id']===_0x4618fb)||null;}[_0x51c6f4(0xf8)](){const _0x450087=_0x51c6f4;return Array[_0x450087(0x100)](this[_0x450087(0x14c)]);}[_0x51c6f4(0x150)](){const _0x1317d9=_0x51c6f4;return this[_0x1317d9(0xf3)];}[_0x51c6f4(0x129)](_0x6c173){const _0x51d06d=_0x51c6f4;this[_0x51d06d(0xf3)]=_0x6c173;}[_0x51c6f4(0x10c)](_0x5d0e1d,_0x51995e=0x0){const _0x26596a=_0x51c6f4;let _0x43c7b4=!0x1;for(let _0x3c1109=_0x51995e;_0x3c1109<this[_0x26596a(0x14c)][_0x26596a(0x133)];_0x3c1109++)this[_0x26596a(0x102)](_0x5d0e1d,_0x3c1109)&&(_0x43c7b4=!0x0);return _0x43c7b4;}[_0x51c6f4(0x11c)](_0x2649ed,_0x3a42d2){const _0xbebbe8=_0x51c6f4,_0x150999=_0x2649ed[_0xbebbe8(0x107)](_0xbebbe8(0xfc),{});return _0x2649ed[_0xbebbe8(0x116)](_0x150999,_0x3a42d2),this[_0xbebbe8(0x141)]=_0x150999,_0x150999;}[_0x51c6f4(0x109)](_0x20869c){const _0x20a6a6=_0x51c6f4;if(!this[_0x20a6a6(0x14c)][_0x20a6a6(0x133)]||this[_0x20a6a6(0x141)])return;const _0x74ef82=this[_0x20a6a6(0x14c)][0x0][_0x20a6a6(0x104)][_0x20a6a6(0xf2)],_0x1a8d5b=this[_0x20a6a6(0x11c)](_0x20869c,_0x74ef82);for(const _0x2fa860 of this[_0x20a6a6(0x14c)])_0x2fa860[_0x20a6a6(0x138)][_0x20a6a6(0x10f)]||_0x20869c[_0x20a6a6(0x13f)](_0x2fa860[_0x20a6a6(0x138)],_0x1a8d5b,_0x20a6a6(0x146));this[_0x20a6a6(0x10c)](_0x20869c);}[_0x51c6f4(0x14a)](_0x32a55e,_0x2b2562){const _0x475eab=_0x51c6f4;let _0xadcc39=!0x1;const {inserted:_0x4ab534,removed:_0x527b76,moved:_0x5a1cb5}=this[_0x475eab(0xef)][_0x475eab(0x148)](_0x2b2562);if(_0x5a1cb5[_0x475eab(0x133)]&&(this[_0x475eab(0x141)]=_0x5a1cb5[0x0]),_0x4ab534[_0x475eab(0x133)]){if(_0x4ab534[_0x475eab(0x133)]>0x1||this[_0x475eab(0x141)]&&_0x4ab534[_0x475eab(0x151)](_0x20f90d=>_0x20f90d!==this[_0x475eab(0x141)])){const _0x316381=_0x32a55e[_0x475eab(0x107)](_0x475eab(0xfc),{}),_0x4f59ce=[];this[_0x475eab(0x141)]&&_0x4f59ce[_0x475eab(0x13e)](this[_0x475eab(0x141)]),_0x4f59ce[_0x475eab(0x13e)](..._0x4ab534),_0x32a55e[_0x475eab(0x13f)](_0x316381,_0x4f59ce[0x0],_0x475eab(0x123));for(const _0x2e33f5 of _0x4f59ce)_0x32a55e[_0x475eab(0xff)](_0x32a55e[_0x475eab(0x10e)](_0x2e33f5),_0x32a55e[_0x475eab(0x108)](_0x316381,_0x475eab(0x146))),_0x32a55e[_0x475eab(0x135)](_0x2e33f5);this[_0x475eab(0x141)]=_0x316381,this[_0x475eab(0x10c)](_0x32a55e),_0xadcc39=!0x0;}else this[_0x475eab(0x141)]=_0x4ab534[0x0];}if(_0x527b76[_0x475eab(0x133)]&&_0x475eab(0xfb)===this[_0x475eab(0x141)]?.[_0x475eab(0xf2)][_0x475eab(0x134)]){for(const _0x37f952 of this[_0x475eab(0x14c)])_0x32a55e[_0x475eab(0x135)](_0x37f952[_0x475eab(0x104)]),_0xadcc39=!0x0;this[_0x475eab(0x14c)]=[],this[_0x475eab(0x141)]=null;}return _0xadcc39;}[_0x51c6f4(0x10a)](_0x5bdd1f,_0x77499c){const _0x5cecc2=_0x51c6f4;let _0x1bbf4a=!0x1;const _0x5552df=this[_0x5cecc2(0x105)][_0x5cecc2(0x10b)][_0x5cecc2(0x11f)](_0x5cecc2(0xf9)),{inserted:_0x52360e,moved:_0x439e5f}=this[_0x5cecc2(0x12a)][_0x5cecc2(0x148)](_0x77499c);for(const _0x437d69 of[..._0x439e5f,..._0x52360e]){const _0x61406e=_0x437d69[_0x5cecc2(0x128)](_0x5cecc2(0x111)),_0x177406=this[_0x5cecc2(0x131)](_0x61406e);_0x177406&&(_0x177406[_0x5cecc2(0x138)]=_0x437d69),_(_0x5bdd1f,_0x5552df,_0x437d69)&&(_0x1bbf4a=!0x0);}return _0x1bbf4a;}[_0x51c6f4(0x12b)](_0x58fbd4,_0xf0f63a){const _0x2668de=_0x51c6f4;let _0x3c1e48=!0x1;const {removed:_0x49b211,inserted:_0x5d4f07,moved:_0xb529a1}=this[_0x2668de(0x14d)][_0x2668de(0x148)](_0xf0f63a);for(const _0x230d71 of _0x49b211)this[_0x2668de(0x144)](_0x58fbd4,_0x230d71)&&(_0x3c1e48=!0x0);for(const _0x5629dc of _0x5d4f07)this[_0x2668de(0x124)](_0x58fbd4,_0x5629dc)&&(_0x3c1e48=!0x0);for(const _0x4158a2 of _0xb529a1)this[_0x2668de(0x140)](_0x58fbd4,_0x4158a2)&&(_0x3c1e48=!0x0);return _0x3c1e48;}[_0x51c6f4(0x14b)](_0x1072db){const _0x4c47fd=_0x51c6f4;if(!this[_0x4c47fd(0x141)])return!0x1;let _0x5de2d4=!0x1;if(this[_0x4c47fd(0x141)][_0x4c47fd(0x10d)]!==this[_0x4c47fd(0x14c)][_0x4c47fd(0x133)]){const _0x96da87=[];for(const _0x5126c9 of this[_0x4c47fd(0x141)][_0x4c47fd(0x11d)]()){const _0x1e19a6=_0x5126c9[_0x4c47fd(0x128)](_0x4c47fd(0x111));this[_0x4c47fd(0x131)](_0x1e19a6)||(_0x96da87[_0x4c47fd(0xee)](_0x5126c9),_0x5de2d4=!0x0);}for(const _0x9d575a of _0x96da87)_0x1072db[_0x4c47fd(0x135)](_0x9d575a);}const _0x2109a5=new Set(),_0x4fe6a5=[];for(const _0x312a2a of this[_0x4c47fd(0x141)][_0x4c47fd(0x11d)]()){const _0x4e85df=_0x312a2a[_0x4c47fd(0x128)](_0x4c47fd(0x111));_0x2109a5[_0x4c47fd(0x12e)](_0x4e85df)?(_0x4fe6a5[_0x4c47fd(0xee)](_0x312a2a),_0x5de2d4=!0x0):_0x2109a5[_0x4c47fd(0x119)](_0x4e85df);}for(const _0x25e47c of _0x4fe6a5)_0x1072db[_0x4c47fd(0x135)](_0x25e47c);return this[_0x4c47fd(0x141)][_0x4c47fd(0x10d)]||(_0x1072db[_0x4c47fd(0x135)](this[_0x4c47fd(0x141)]),this[_0x4c47fd(0x141)]=null,_0x5de2d4=!0x0),_0x5de2d4;}[_0x51c6f4(0x124)](_0x130856,_0x12f2ae){const _0x9c0860=_0x51c6f4;if(this[_0x9c0860(0x14c)][_0x9c0860(0x121)](_0xae0bfb=>_0xae0bfb[_0x9c0860(0x104)]===_0x12f2ae))return!0x1;let _0xc07698=!0x1;const _0x5c30cb=_0x12f2ae[_0x9c0860(0x128)](_0x9c0860(0x111)),_0x5e4540=this[_0x9c0860(0x14c)][_0x9c0860(0xfa)](_0x3725b7=>_0x3725b7['id']===_0x5c30cb);-0x1!==_0x5e4540&&(_0x130856[_0x9c0860(0x135)](this[_0x9c0860(0x14c)][_0x5e4540][_0x9c0860(0x104)]),this[_0x9c0860(0x14c)][_0x9c0860(0x136)](_0x5e4540,0x1),_0xc07698=!0x0);let _0x1336a4=this[_0x9c0860(0x141)]?function(_0x1ee521,_0x16764a){const _0x2b2806=_0x9c0860;for(const _0x528135 of _0x1ee521[_0x2b2806(0x11d)]())if(_0x528135[_0x2b2806(0x128)](_0x2b2806(0x111))===_0x16764a)return _0x528135;return null;}(this[_0x9c0860(0x141)],_0x5c30cb):null;_0x1336a4||(_0x1336a4=_0x130856[_0x9c0860(0x107)](_0x9c0860(0x101),{'footnoteId':_0x5c30cb}),this[_0x9c0860(0x141)]&&(_0x130856[_0x9c0860(0x13f)](_0x1336a4,this[_0x9c0860(0x141)],_0x9c0860(0x146)),_0xc07698=!0x0));const _0x3065f2={'id':_0x5c30cb,'reference':_0x12f2ae,'definition':_0x1336a4},_0x47e650=I(this[_0x9c0860(0x105)][_0x9c0860(0xf7)],this[_0x9c0860(0x14c)],_0x12f2ae);this[_0x9c0860(0x14c)][_0x9c0860(0x136)](_0x47e650,0x0,_0x3065f2);let _0x425e3e=_0x47e650;return-0x1!==_0x5e4540&&(_0x425e3e=Math[_0x9c0860(0x14f)](_0x47e650,_0x5e4540)),this[_0x9c0860(0x10c)](_0x130856,_0x425e3e)&&(_0xc07698=!0x0),_0xc07698;}[_0x51c6f4(0x144)](_0x534382,_0x1bd466){const _0x5ee832=_0x51c6f4,_0x1a07d8=this[_0x5ee832(0x14c)][_0x5ee832(0xfa)](_0x2cca6d=>_0x2cca6d['id']===_0x1bd466);if(-0x1===_0x1a07d8)return!0x1;let _0x44b367=!0x1;const _0x340578=this[_0x5ee832(0x14c)][_0x1a07d8];return _0x5ee832(0xfb)!==_0x340578[_0x5ee832(0x138)][_0x5ee832(0xf2)][_0x5ee832(0x134)]&&(_0x534382[_0x5ee832(0x135)](_0x340578[_0x5ee832(0x138)]),_0x44b367=!0x0),this[_0x5ee832(0x14c)][_0x5ee832(0x136)](_0x1a07d8,0x1),this[_0x5ee832(0x10c)](_0x534382,_0x1a07d8)&&(_0x44b367=!0x0),_0x44b367;}[_0x51c6f4(0x140)](_0x382a26,_0xe913ae){const _0x519483=_0x51c6f4,_0x568568=_0xe913ae[_0x519483(0x128)](_0x519483(0x111)),_0x7869b4=this[_0x519483(0x14c)][_0x519483(0xfa)](_0x3ef373=>_0x3ef373['id']===_0x568568),_0x5867d5=this[_0x519483(0x14c)][_0x7869b4];let _0xa32866=!0x1;_0x5867d5[_0x519483(0x104)]=_0xe913ae,this[_0x519483(0x14c)][_0x519483(0x136)](_0x7869b4,0x1);const _0x266aa7=I(this[_0x519483(0x105)][_0x519483(0xf7)],this[_0x519483(0x14c)],_0xe913ae);return this[_0x519483(0x14c)][_0x519483(0x136)](_0x266aa7,0x0,_0x5867d5),this[_0x519483(0x10c)](_0x382a26,Math[_0x519483(0x14f)](_0x7869b4,_0x266aa7))&&(_0xa32866=!0x0),_0xa32866;}[_0x51c6f4(0x102)](_0x227586,_0x4dcbaf){const _0x7d35c=_0x51c6f4;if(!this[_0x7d35c(0x141)])return!0x1;const _0x5cf02b=this[_0x7d35c(0x14c)][_0x4dcbaf];let _0x1fb849;return _0x1fb849=this[_0x7d35c(0xf3)]?this[_0x7d35c(0xf3)]({'footnote':_0x5cf02b,'container':this[_0x7d35c(0x141)],'digits':String(this[_0x7d35c(0x14c)][_0x7d35c(0x133)])[_0x7d35c(0x133)],'value':_0x4dcbaf+0x1}):String(_0x4dcbaf+0x1),_0x5cf02b[_0x7d35c(0x104)][_0x7d35c(0x128)](_0x7d35c(0x142))!=_0x1fb849&&(_0x227586[_0x7d35c(0xf6)](_0x7d35c(0x142),_0x1fb849,_0x5cf02b[_0x7d35c(0x104)]),!0x0);}[_0x51c6f4(0x11b)](_0x468cf5){const _0xcfc62a=_0x51c6f4;if(!this[_0xcfc62a(0x141)]||this[_0xcfc62a(0x14c)][_0xcfc62a(0x133)]<0x2)return!0x1;if(function(_0x142a19,_0x5acff8){const _0x285ac7=_0xcfc62a;if(_0x142a19[_0x285ac7(0x133)]!==_0x5acff8[_0x285ac7(0x133)])return!0x1;for(let _0x165f1d=0x0;_0x165f1d<_0x142a19[_0x285ac7(0x133)];_0x165f1d++)if(_0x142a19[_0x165f1d]!==_0x5acff8[_0x165f1d])return!0x1;return!0x0;}(this[_0xcfc62a(0x14c)][_0xcfc62a(0x145)](_0xbbb34a=>_0xbbb34a['id']),Array[_0xcfc62a(0x100)](this[_0xcfc62a(0x141)][_0xcfc62a(0x11d)]())[_0xcfc62a(0x145)](_0x5ececc=>_0x5ececc[_0xcfc62a(0x128)](_0xcfc62a(0x111)))))return!0x1;let _0x3a6946=!0x1;for(let _0x4e8687=0x0;_0x4e8687<this[_0xcfc62a(0x14c)][_0xcfc62a(0x133)];_0x4e8687++){const _0x530314=this[_0xcfc62a(0x14c)][_0x4e8687],_0x3fadd2=_0x468cf5[_0xcfc62a(0x120)](_0x530314[_0xcfc62a(0x138)]),_0xe6e1e1=_0x468cf5[_0xcfc62a(0x108)](this[_0xcfc62a(0x141)],_0x4e8687);_0x3fadd2[_0xcfc62a(0xed)](_0xe6e1e1)||(_0x468cf5[_0xcfc62a(0xff)](_0x468cf5[_0xcfc62a(0x106)](_0x530314[_0xcfc62a(0x138)]),_0xe6e1e1),_0x3a6946=!0x0);}return _0x3a6946;}[_0x51c6f4(0x125)](_0x5907f6){const _0x4fc39e=_0x51c6f4;if(!this[_0x4fc39e(0x14c)][_0x4fc39e(0x133)])return!0x1;const {model:_0x1b2d4e}=this[_0x4fc39e(0x105)];let _0x531fba=!0x1;for(let _0x252ce7=0x0;_0x252ce7<this[_0x4fc39e(0x14c)][_0x4fc39e(0x133)]-0x1;_0x252ce7++){const _0x3ddf90=this[_0x4fc39e(0x14c)][_0x252ce7],_0x3f8ec8=this[_0x4fc39e(0x14c)][_0x252ce7+0x1],_0x4bfce5=_0x1b2d4e[_0x4fc39e(0x120)](_0x3ddf90[_0x4fc39e(0x104)]),_0x3ae231=_0x1b2d4e[_0x4fc39e(0x120)](_0x3f8ec8[_0x4fc39e(0x104)]);_0x4fc39e(0x137)===_0x4bfce5[_0x4fc39e(0x103)](_0x3ae231)&&(this[_0x4fc39e(0x140)](_0x5907f6,_0x3ddf90[_0x4fc39e(0x104)]),_0x252ce7=-0x1,_0x531fba=!0x0);}return _0x531fba;}}function _(_0x261671,_0xcd3da9,_0x5c2aaf){const _0x548079=_0x51c6f4;if(_0x5c2aaf[_0x548079(0x10d)])return!0x1;const _0xe272b=_0xcd3da9?_0x548079(0x13b):_0x548079(0x127);return _0x261671[_0x548079(0x13f)](_0x261671[_0x548079(0x107)](_0xe272b),_0x5c2aaf),!0x0;}function _0x5f37(_0x288b40,_0x206270){const _0x3899fe=_0x3899();return _0x5f37=function(_0x5f3759,_0x326442){_0x5f3759=_0x5f3759-0xec;let _0x3f08cf=_0x3899fe[_0x5f3759];return _0x3f08cf;},_0x5f37(_0x288b40,_0x206270);}function I(_0x22f5da,_0x3153b1,_0x467968){const _0x41a0ce=_0x51c6f4;if(0x0===_0x3153b1[_0x41a0ce(0x133)])return 0x0;const _0x23ae45=_0x22f5da[_0x41a0ce(0x120)](_0x467968);for(let _0x53135b=0x0;_0x53135b<_0x3153b1[_0x41a0ce(0x133)];_0x53135b++){const _0x415f5f=_0x3153b1[_0x53135b],_0x55baba=_0x22f5da[_0x41a0ce(0x120)](_0x415f5f[_0x41a0ce(0x104)]);if(_0x41a0ce(0x123)===_0x23ae45[_0x41a0ce(0x103)](_0x55baba))return _0x53135b;}const _0x446026=_0x467968[_0x41a0ce(0xf2)];let _0x501a8b=-0x1;for(let _0x409d17=_0x3153b1[_0x41a0ce(0x133)]-0x1;_0x409d17>=0x0;_0x409d17--)if(_0x3153b1[_0x409d17][_0x41a0ce(0x104)][_0x41a0ce(0xf2)]===_0x446026){_0x501a8b=_0x409d17;break;}if(-0x1!==_0x501a8b)return _0x501a8b+0x1;const _0x14c4e5=_0x22f5da[_0x41a0ce(0xec)][_0x41a0ce(0x14e)](),_0x28a2d6=_0x14c4e5[_0x41a0ce(0xf5)](_0x446026[_0x41a0ce(0x134)]),_0x4f134b=_0x14c4e5[_0x28a2d6+0x1];if(_0x4f134b){for(let _0x3b43d2=0x0;_0x3b43d2<_0x3153b1[_0x41a0ce(0x133)];_0x3b43d2++)if(_0x3153b1[_0x3b43d2][_0x41a0ce(0x104)][_0x41a0ce(0xf2)][_0x41a0ce(0x134)]===_0x4f134b)return _0x3b43d2;}return _0x3153b1[_0x41a0ce(0x133)];}
23
+ const _0x585aa6=_0xd379;(function(_0x14215b,_0x12bfca){const _0x3ecbd0=_0xd379,_0x398c18=_0x14215b();while(!![]){try{const _0x41cf98=parseInt(_0x3ecbd0(0x10e))/0x1+-parseInt(_0x3ecbd0(0x134))/0x2+-parseInt(_0x3ecbd0(0x14b))/0x3+-parseInt(_0x3ecbd0(0x12e))/0x4*(parseInt(_0x3ecbd0(0x10c))/0x5)+-parseInt(_0x3ecbd0(0x14a))/0x6+parseInt(_0x3ecbd0(0x11d))/0x7+parseInt(_0x3ecbd0(0x156))/0x8;if(_0x41cf98===_0x12bfca)break;else _0x398c18['push'](_0x398c18['shift']());}catch(_0x3d3d0a){_0x398c18['push'](_0x398c18['shift']());}}}(_0x1804,0x9eb6f));function _0x1804(){const _0x4a3c56=['3301842xOCrSW','1718454AkcXjj','paragraph','add','$graveyard','document','splice','setAttribute','pluginName','rootName','remove','footnoteDefinition','8694688WxuXHj','parent','enqueueChange','getAttribute','get','findIndex','reset','_footnotes','high','getFootnotesFormatter','definition','createPositionBefore','setFootnoteFormatter','_handleMovedFootnoteReference','change:data','low','_ensureFootnotesDefinitionsContainerExists','getFootnote','_handleFootnoteReferencesChanges','getRootNames','reference','_footnoteDefsContainerTracker','unshift','isEqual','getFootnotes','10ZBHiSV','move','977592JxKpIb','_updateFootnotesCounters','registerPostFixer','_footnoteFormatter','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','createRangeOn','_footnotesDefinitions','_footnoteRefsTracker','footnoteInlineContent','set','find','editor','_handleFootnotesDefinitionsObjectChanges','listenTo','2180780caCHKf','end','from','isPremiumPlugin','getChildren','init','push','differ','compareWith','footnotes.multiBlock','insert','config','before','createElement','some','_handleFootnoteDefinitionsChanges','_handleRemoveFootnoteReferenceById','286820aMRIdW','_handleInsertedFootnoteReference','append','isOfficialPlugin','_sortFootnoteDefinitions','singleton','918676BlDJlF','model','createRangeIn','root','getFootnotesDefinitionsObjectElement','after','getChanges','_footnoteDefsTracker','footnoteRef','min','length','footnoteId','_ensureFootnotesReferencesHaveProperOrder','has','createPositionAt','map','footnotesDefinitions','childCount','FootnotesTracker','_insertEmptyFootnotesDefinitionsContainer','indexOf','footnoteCounter'];_0x1804=function(){return _0x4a3c56;};return _0x1804();}function _0xd379(_0xe3d692,_0x4f2b53){const _0x1804f3=_0x1804();return _0xd379=function(_0xd37938,_0x4c8ebd){_0xd37938=_0xd37938-0x10c;let _0x31b1c1=_0x1804f3[_0xd37938];return _0x31b1c1;},_0xd379(_0xe3d692,_0x4f2b53);}import{Plugin as _0x5bbda2}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x44b3d2}from'./modelelementtracker.js';export class FootnotesTracker extends _0x5bbda2{[_0x585aa6(0x15d)]=[];[_0x585aa6(0x115)]=null;[_0x585aa6(0x111)]=null;[_0x585aa6(0x16b)];[_0x585aa6(0x116)];[_0x585aa6(0x13b)];static get[_0x585aa6(0x152)](){const _0x31d8e8=_0x585aa6;return _0x31d8e8(0x146);}static get[_0x585aa6(0x131)](){return!0x0;}static get[_0x585aa6(0x120)](){return!0x0;}constructor(_0x5d7524){const _0x441c93=_0x585aa6;super(_0x5d7524),this[_0x441c93(0x16b)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x144),'getElementKey':()=>_0x441c93(0x133)}),this[_0x441c93(0x116)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x13c),'getElementKey':_0x32d12b=>_0x32d12b[_0x441c93(0x159)](_0x441c93(0x13f))}),this[_0x441c93(0x13b)]=new _0x44b3d2(this[_0x441c93(0x11a)][_0x441c93(0x135)],{'elementName':_0x441c93(0x155),'getElementKey':_0x147d05=>_0x147d05[_0x441c93(0x159)](_0x441c93(0x13f))});}[_0x585aa6(0x122)](){const _0x48c767=_0x585aa6,{editor:_0x316a24}=this,{model:_0x59cae8,data:_0x398627}=_0x316a24;_0x59cae8[_0x48c767(0x14f)][_0x48c767(0x110)](_0x4cc04b=>{const _0x2ed8f9=_0x48c767,_0xba2003=_0x59cae8[_0x2ed8f9(0x14f)][_0x2ed8f9(0x124)][_0x2ed8f9(0x13a)]();let _0x2c96db=!0x1;return this[_0x2ed8f9(0x11b)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x12c)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x168)](_0x4cc04b,_0xba2003)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x140)](_0x4cc04b)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x113)](_0x4cc04b)&&(_0x2c96db=!0x0),this[_0x2ed8f9(0x132)](_0x4cc04b)&&(_0x2c96db=!0x0),_0x2c96db;}),this[_0x48c767(0x11c)](_0x59cae8[_0x48c767(0x14f)],_0x48c767(0x164),()=>{const _0x3fb6d3=_0x48c767;_0x59cae8[_0x3fb6d3(0x158)]({'isUndoable':!0x1},_0x557194=>{const _0x2f53d2=_0x3fb6d3;this[_0x2f53d2(0x166)](_0x557194);});},{'priority':_0x48c767(0x165)}),this[_0x48c767(0x11c)](_0x398627,_0x48c767(0x118),()=>{const _0x2f859a=_0x48c767;this[_0x2f859a(0x15d)]=[],this[_0x2f859a(0x16b)][_0x2f859a(0x15c)](),this[_0x2f859a(0x116)][_0x2f859a(0x15c)](),this[_0x2f859a(0x13b)][_0x2f859a(0x15c)]();},{'priority':_0x48c767(0x15e)});}[_0x585aa6(0x138)](){const _0x1e7adb=_0x585aa6;return this[_0x1e7adb(0x115)];}[_0x585aa6(0x167)](_0xd6e1bf){const _0x21f8dc=_0x585aa6;return this[_0x21f8dc(0x15d)][_0x21f8dc(0x119)](_0x21d824=>_0x21d824['id']===_0xd6e1bf)||null;}[_0x585aa6(0x16e)](){const _0x4348d8=_0x585aa6;return Array[_0x4348d8(0x11f)](this[_0x4348d8(0x15d)]);}[_0x585aa6(0x15f)](){const _0x492fc5=_0x585aa6;return this[_0x492fc5(0x111)];}[_0x585aa6(0x162)](_0x36e3ce){const _0x7f097a=_0x585aa6;this[_0x7f097a(0x111)]=_0x36e3ce;}[_0x585aa6(0x10f)](_0x47e0c9,_0x3e1349=0x0){const _0xd90bd2=_0x585aa6;let _0x29d293=!0x1;for(let _0x4123ff=_0x3e1349;_0x4123ff<this[_0xd90bd2(0x15d)][_0xd90bd2(0x13e)];_0x4123ff++)this[_0xd90bd2(0x112)](_0x47e0c9,_0x4123ff)&&(_0x29d293=!0x0);return _0x29d293;}[_0x585aa6(0x147)](_0x4b809b,_0x2bb13e){const _0x1c2980=_0x585aa6,_0x175cdf=_0x4b809b[_0x1c2980(0x12a)](_0x1c2980(0x144),{});return _0x4b809b[_0x1c2980(0x130)](_0x175cdf,_0x2bb13e),this[_0x1c2980(0x115)]=_0x175cdf,_0x175cdf;}[_0x585aa6(0x166)](_0x1b8d0a){const _0x44fc04=_0x585aa6;if(!this[_0x44fc04(0x15d)][_0x44fc04(0x13e)]||this[_0x44fc04(0x115)])return;const _0x1d7006=this[_0x44fc04(0x15d)][0x0][_0x44fc04(0x16a)][_0x44fc04(0x137)],_0x3dabe3=this[_0x44fc04(0x147)](_0x1b8d0a,_0x1d7006);for(const _0x15e202 of this[_0x44fc04(0x15d)])_0x15e202[_0x44fc04(0x160)][_0x44fc04(0x157)]||_0x1b8d0a[_0x44fc04(0x127)](_0x15e202[_0x44fc04(0x160)],_0x3dabe3,_0x44fc04(0x11e));this[_0x44fc04(0x10f)](_0x1b8d0a);}[_0x585aa6(0x11b)](_0x576bb7,_0x5df28a){const _0x4691c0=_0x585aa6;let _0x196d52=!0x1;const {inserted:_0x55c1b7,removed:_0x34364b,moved:_0x57ec41}=this[_0x4691c0(0x16b)][_0x4691c0(0x13a)](_0x5df28a);if(_0x57ec41[_0x4691c0(0x13e)]&&(this[_0x4691c0(0x115)]=_0x57ec41[0x0]),_0x55c1b7[_0x4691c0(0x13e)]){if(_0x55c1b7[_0x4691c0(0x13e)]>0x1||this[_0x4691c0(0x115)]&&_0x55c1b7[_0x4691c0(0x12b)](_0x371bfa=>_0x371bfa!==this[_0x4691c0(0x115)])){const _0x5717fc=_0x576bb7[_0x4691c0(0x12a)](_0x4691c0(0x144),{}),_0x330531=[];this[_0x4691c0(0x115)]&&_0x330531[_0x4691c0(0x123)](this[_0x4691c0(0x115)]),_0x330531[_0x4691c0(0x123)](..._0x55c1b7),_0x576bb7[_0x4691c0(0x127)](_0x5717fc,_0x330531[0x0],_0x4691c0(0x129));for(const _0x5de1f8 of _0x330531)_0x576bb7[_0x4691c0(0x10d)](_0x576bb7[_0x4691c0(0x136)](_0x5de1f8),_0x576bb7[_0x4691c0(0x142)](_0x5717fc,_0x4691c0(0x11e))),_0x576bb7[_0x4691c0(0x154)](_0x5de1f8);this[_0x4691c0(0x115)]=_0x5717fc,this[_0x4691c0(0x10f)](_0x576bb7),_0x196d52=!0x0;}else this[_0x4691c0(0x115)]=_0x55c1b7[0x0];}if(_0x34364b[_0x4691c0(0x13e)]&&_0x4691c0(0x14e)===this[_0x4691c0(0x115)]?.[_0x4691c0(0x137)][_0x4691c0(0x153)]){for(const _0x400a02 of this[_0x4691c0(0x15d)])_0x576bb7[_0x4691c0(0x154)](_0x400a02[_0x4691c0(0x16a)]),_0x196d52=!0x0;this[_0x4691c0(0x15d)]=[],this[_0x4691c0(0x115)]=null;}return _0x196d52;}[_0x585aa6(0x12c)](_0x1a17b1,_0x40e4d1){const _0x18fd0a=_0x585aa6;let _0x198295=!0x1;const _0x25fc03=this[_0x18fd0a(0x11a)][_0x18fd0a(0x128)][_0x18fd0a(0x15a)](_0x18fd0a(0x126)),{inserted:_0x1c0814,moved:_0xf1bc9d}=this[_0x18fd0a(0x13b)][_0x18fd0a(0x13a)](_0x40e4d1);for(const _0x432304 of[..._0xf1bc9d,..._0x1c0814]){const _0x1a1469=_0x432304[_0x18fd0a(0x159)](_0x18fd0a(0x13f)),_0x2e07df=this[_0x18fd0a(0x167)](_0x1a1469);_0x2e07df&&(_0x2e07df[_0x18fd0a(0x160)]=_0x432304),_(_0x1a17b1,_0x25fc03,_0x432304)&&(_0x198295=!0x0);}return _0x198295;}[_0x585aa6(0x168)](_0x49eeac,_0x22d7e3){const _0xf5f059=_0x585aa6;let _0x410c6f=!0x1;const {removed:_0x38d42d,inserted:_0x3d2f1a,moved:_0x43b9ed}=this[_0xf5f059(0x116)][_0xf5f059(0x13a)](_0x22d7e3);for(const _0x406d81 of _0x38d42d)this[_0xf5f059(0x12d)](_0x49eeac,_0x406d81)&&(_0x410c6f=!0x0);for(const _0x11b5d8 of _0x3d2f1a)this[_0xf5f059(0x12f)](_0x49eeac,_0x11b5d8)&&(_0x410c6f=!0x0);for(const _0x12fb22 of _0x43b9ed)this[_0xf5f059(0x163)](_0x49eeac,_0x12fb22)&&(_0x410c6f=!0x0);return _0x410c6f;}[_0x585aa6(0x113)](_0x374542){const _0x51a264=_0x585aa6;if(!this[_0x51a264(0x115)])return!0x1;let _0x2028a1=!0x1;if(this[_0x51a264(0x115)][_0x51a264(0x145)]!==this[_0x51a264(0x15d)][_0x51a264(0x13e)]){const _0x41573e=[];for(const _0x37ae12 of this[_0x51a264(0x115)][_0x51a264(0x121)]()){const _0x449ee7=_0x37ae12[_0x51a264(0x159)](_0x51a264(0x13f));this[_0x51a264(0x167)](_0x449ee7)||(_0x41573e[_0x51a264(0x16c)](_0x37ae12),_0x2028a1=!0x0);}for(const _0x18ce53 of _0x41573e)_0x374542[_0x51a264(0x154)](_0x18ce53);}const _0x2a7c99=new Set(),_0x3c2471=[];for(const _0x233f9 of this[_0x51a264(0x115)][_0x51a264(0x121)]()){const _0x41c3b2=_0x233f9[_0x51a264(0x159)](_0x51a264(0x13f));_0x2a7c99[_0x51a264(0x141)](_0x41c3b2)?(_0x3c2471[_0x51a264(0x16c)](_0x233f9),_0x2028a1=!0x0):_0x2a7c99[_0x51a264(0x14d)](_0x41c3b2);}for(const _0x1dfcc0 of _0x3c2471)_0x374542[_0x51a264(0x154)](_0x1dfcc0);return this[_0x51a264(0x115)][_0x51a264(0x145)]||(_0x374542[_0x51a264(0x154)](this[_0x51a264(0x115)]),this[_0x51a264(0x115)]=null,_0x2028a1=!0x0),_0x2028a1;}[_0x585aa6(0x12f)](_0x1f1c4f,_0x498833){const _0x2cb5ab=_0x585aa6;if(this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x119)](_0x599608=>_0x599608[_0x2cb5ab(0x16a)]===_0x498833))return!0x1;let _0x3af7ab=!0x1;const _0x196d1a=_0x498833[_0x2cb5ab(0x159)](_0x2cb5ab(0x13f)),_0x9a801e=this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x15b)](_0x1c5aa7=>_0x1c5aa7['id']===_0x196d1a);-0x1!==_0x9a801e&&(_0x1f1c4f[_0x2cb5ab(0x154)](this[_0x2cb5ab(0x15d)][_0x9a801e][_0x2cb5ab(0x16a)]),this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x150)](_0x9a801e,0x1),_0x3af7ab=!0x0);let _0x10a0c4=this[_0x2cb5ab(0x115)]?function(_0xca4168,_0x1dc0f0){const _0x296e54=_0x2cb5ab;for(const _0xdc8d1c of _0xca4168[_0x296e54(0x121)]())if(_0xdc8d1c[_0x296e54(0x159)](_0x296e54(0x13f))===_0x1dc0f0)return _0xdc8d1c;return null;}(this[_0x2cb5ab(0x115)],_0x196d1a):null;_0x10a0c4||(_0x10a0c4=_0x1f1c4f[_0x2cb5ab(0x12a)](_0x2cb5ab(0x155),{'footnoteId':_0x196d1a}),this[_0x2cb5ab(0x115)]&&(_0x1f1c4f[_0x2cb5ab(0x127)](_0x10a0c4,this[_0x2cb5ab(0x115)],_0x2cb5ab(0x11e)),_0x3af7ab=!0x0));const _0x46cd2c={'id':_0x196d1a,'reference':_0x498833,'definition':_0x10a0c4},_0x573d23=I(this[_0x2cb5ab(0x11a)][_0x2cb5ab(0x135)],this[_0x2cb5ab(0x15d)],_0x498833);this[_0x2cb5ab(0x15d)][_0x2cb5ab(0x150)](_0x573d23,0x0,_0x46cd2c);let _0x1bc62b=_0x573d23;return-0x1!==_0x9a801e&&(_0x1bc62b=Math[_0x2cb5ab(0x13d)](_0x573d23,_0x9a801e)),this[_0x2cb5ab(0x10f)](_0x1f1c4f,_0x1bc62b)&&(_0x3af7ab=!0x0),_0x3af7ab;}[_0x585aa6(0x12d)](_0x3416d8,_0x623db5){const _0x42f588=_0x585aa6,_0xcb6417=this[_0x42f588(0x15d)][_0x42f588(0x15b)](_0x1acf93=>_0x1acf93['id']===_0x623db5);if(-0x1===_0xcb6417)return!0x1;let _0x22b7da=!0x1;const _0x4b944c=this[_0x42f588(0x15d)][_0xcb6417];return _0x42f588(0x14e)!==_0x4b944c[_0x42f588(0x160)][_0x42f588(0x137)][_0x42f588(0x153)]&&(_0x3416d8[_0x42f588(0x154)](_0x4b944c[_0x42f588(0x160)]),_0x22b7da=!0x0),this[_0x42f588(0x15d)][_0x42f588(0x150)](_0xcb6417,0x1),this[_0x42f588(0x10f)](_0x3416d8,_0xcb6417)&&(_0x22b7da=!0x0),_0x22b7da;}[_0x585aa6(0x163)](_0x25fb4a,_0x2d760c){const _0x3c372d=_0x585aa6,_0x2aeef7=_0x2d760c[_0x3c372d(0x159)](_0x3c372d(0x13f)),_0x2e17fd=this[_0x3c372d(0x15d)][_0x3c372d(0x15b)](_0x4053ce=>_0x4053ce['id']===_0x2aeef7),_0x4eecf6=this[_0x3c372d(0x15d)][_0x2e17fd];let _0xbc73d=!0x1;_0x4eecf6[_0x3c372d(0x16a)]=_0x2d760c,this[_0x3c372d(0x15d)][_0x3c372d(0x150)](_0x2e17fd,0x1);const _0x231f04=I(this[_0x3c372d(0x11a)][_0x3c372d(0x135)],this[_0x3c372d(0x15d)],_0x2d760c);return this[_0x3c372d(0x15d)][_0x3c372d(0x150)](_0x231f04,0x0,_0x4eecf6),this[_0x3c372d(0x10f)](_0x25fb4a,Math[_0x3c372d(0x13d)](_0x2e17fd,_0x231f04))&&(_0xbc73d=!0x0),_0xbc73d;}[_0x585aa6(0x112)](_0x433ba3,_0x472fc9){const _0x41035f=_0x585aa6;if(!this[_0x41035f(0x115)])return!0x1;const _0x3dd176=this[_0x41035f(0x15d)][_0x472fc9];let _0x4bc01d;return _0x4bc01d=this[_0x41035f(0x111)]?this[_0x41035f(0x111)]({'footnote':_0x3dd176,'container':this[_0x41035f(0x115)],'digits':String(this[_0x41035f(0x15d)][_0x41035f(0x13e)])[_0x41035f(0x13e)],'value':_0x472fc9+0x1}):String(_0x472fc9+0x1),_0x3dd176[_0x41035f(0x16a)][_0x41035f(0x159)](_0x41035f(0x149))!=_0x4bc01d&&(_0x433ba3[_0x41035f(0x151)](_0x41035f(0x149),_0x4bc01d,_0x3dd176[_0x41035f(0x16a)]),!0x0);}[_0x585aa6(0x132)](_0x5d9650){const _0x522630=_0x585aa6;if(!this[_0x522630(0x115)]||this[_0x522630(0x15d)][_0x522630(0x13e)]<0x2)return!0x1;if(function(_0x5a4042,_0x4a4de1){const _0x389a90=_0x522630;if(_0x5a4042[_0x389a90(0x13e)]!==_0x4a4de1[_0x389a90(0x13e)])return!0x1;for(let _0x33e016=0x0;_0x33e016<_0x5a4042[_0x389a90(0x13e)];_0x33e016++)if(_0x5a4042[_0x33e016]!==_0x4a4de1[_0x33e016])return!0x1;return!0x0;}(this[_0x522630(0x15d)][_0x522630(0x143)](_0x1b5bbc=>_0x1b5bbc['id']),Array[_0x522630(0x11f)](this[_0x522630(0x115)][_0x522630(0x121)]())[_0x522630(0x143)](_0x8c10cd=>_0x8c10cd[_0x522630(0x159)](_0x522630(0x13f)))))return!0x1;let _0x226ad2=!0x1;for(let _0x5dc952=0x0;_0x5dc952<this[_0x522630(0x15d)][_0x522630(0x13e)];_0x5dc952++){const _0x2eb39d=this[_0x522630(0x15d)][_0x5dc952],_0x410fe6=_0x5d9650[_0x522630(0x161)](_0x2eb39d[_0x522630(0x160)]),_0x26009b=_0x5d9650[_0x522630(0x142)](this[_0x522630(0x115)],_0x5dc952);_0x410fe6[_0x522630(0x16d)](_0x26009b)||(_0x5d9650[_0x522630(0x10d)](_0x5d9650[_0x522630(0x114)](_0x2eb39d[_0x522630(0x160)]),_0x26009b),_0x226ad2=!0x0);}return _0x226ad2;}[_0x585aa6(0x140)](_0x5ef3f2){const _0x1a2fdd=_0x585aa6;if(!this[_0x1a2fdd(0x15d)][_0x1a2fdd(0x13e)])return!0x1;const {model:_0x5c5b6c}=this[_0x1a2fdd(0x11a)];let _0xe22950=!0x1;for(let _0x5075e8=0x0;_0x5075e8<this[_0x1a2fdd(0x15d)][_0x1a2fdd(0x13e)]-0x1;_0x5075e8++){const _0xea5243=this[_0x1a2fdd(0x15d)][_0x5075e8],_0x2878ec=this[_0x1a2fdd(0x15d)][_0x5075e8+0x1],_0x1faeed=_0x5c5b6c[_0x1a2fdd(0x161)](_0xea5243[_0x1a2fdd(0x16a)]),_0x36df10=_0x5c5b6c[_0x1a2fdd(0x161)](_0x2878ec[_0x1a2fdd(0x16a)]);_0x1a2fdd(0x139)===_0x1faeed[_0x1a2fdd(0x125)](_0x36df10)&&(this[_0x1a2fdd(0x163)](_0x5ef3f2,_0xea5243[_0x1a2fdd(0x16a)]),_0x5075e8=-0x1,_0xe22950=!0x0);}return _0xe22950;}}function _(_0x5279e7,_0x191659,_0x297a48){const _0x2d9e4c=_0x585aa6;if(_0x297a48[_0x2d9e4c(0x145)])return!0x1;const _0x4532e8=_0x191659?_0x2d9e4c(0x14c):_0x2d9e4c(0x117);return _0x5279e7[_0x2d9e4c(0x127)](_0x5279e7[_0x2d9e4c(0x12a)](_0x4532e8),_0x297a48),!0x0;}function I(_0x1de631,_0x190828,_0x263fde){const _0x2896e7=_0x585aa6;if(0x0===_0x190828[_0x2896e7(0x13e)])return 0x0;const _0x153d37=_0x1de631[_0x2896e7(0x161)](_0x263fde);for(let _0x7eb0c4=0x0;_0x7eb0c4<_0x190828[_0x2896e7(0x13e)];_0x7eb0c4++){const _0x2ed4f4=_0x190828[_0x7eb0c4],_0x35961f=_0x1de631[_0x2896e7(0x161)](_0x2ed4f4[_0x2896e7(0x16a)]);if(_0x2896e7(0x129)===_0x153d37[_0x2896e7(0x125)](_0x35961f))return _0x7eb0c4;}const _0x282798=_0x263fde[_0x2896e7(0x137)];let _0x486ffe=-0x1;for(let _0x574d52=_0x190828[_0x2896e7(0x13e)]-0x1;_0x574d52>=0x0;_0x574d52--)if(_0x190828[_0x574d52][_0x2896e7(0x16a)][_0x2896e7(0x137)]===_0x282798){_0x486ffe=_0x574d52;break;}if(-0x1!==_0x486ffe)return _0x486ffe+0x1;const _0x528993=_0x1de631[_0x2896e7(0x14f)][_0x2896e7(0x169)](),_0x4dadf1=_0x528993[_0x2896e7(0x148)](_0x282798[_0x2896e7(0x153)]),_0x1be292=_0x528993[_0x4dadf1+0x1];if(_0x1be292){for(let _0x36433a=0x0;_0x36433a<_0x190828[_0x2896e7(0x13e)];_0x36433a++)if(_0x190828[_0x36433a][_0x2896e7(0x16a)][_0x2896e7(0x137)][_0x2896e7(0x153)]===_0x1be292)return _0x36433a;}return _0x190828[_0x2896e7(0x13e)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x1cf490,MenuBarMenuListItemButtonView as _0x4df21d}from'ckeditor5/src/ui.js';import{Plugin as _0x45bb74}from'ckeditor5/src/core.js';import{IconFootnote as _0x186225}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x45bb74{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xf781a6}=this,{componentFactory:_0x1fbbaf}=_0xf781a6['ui'];_0x1fbbaf['add']('insertFootnote',x(_0xf781a6,_0x1cf490)),_0x1fbbaf['add']('menuBar:insertFootnote',x(_0xf781a6,_0x4df21d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xd55eb4=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4bdd32;for(const _0x47595e in _0xd55eb4){const _0x2425f9=_0x47595e,_0x170393=_0xd55eb4[_0x2425f9];if('footnotesLicenseKeyValid'==_0x170393||'footnotesLicenseKeyInvalid'==_0x170393||'footnotesLicenseKeyExpired'==_0x170393||'footnotesLicenseKeyDomainLimit'==_0x170393||'footnotesLicenseKeyNotAllowed'==_0x170393||'footnotesLicenseKeyEvaluationLimit'==_0x170393||'footnotesLicenseKeyTrialLimit'==_0x170393||'footnotesLicenseKeyUsageLimit'==_0x170393){delete _0xd55eb4[_0x2425f9],_0x4bdd32=_0x170393,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4bdd32&&_0xd55eb4['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2ba211,_0x434a5e){const _0x2abc7a=_0x2ba211['commands']['get']('insertFootnote');return _0x5d33e8=>{const {t:t}=_0x5d33e8,_0x22828b=new _0x434a5e(_0x5d33e8),_0xe383d6=_0x22828b instanceof _0x4df21d;return _0x22828b['bind']('isEnabled')['to'](_0x2abc7a,'isEnabled'),_0x22828b['set']({'label':t(_0xe383d6?'Footnote':'Insert\x20footnote'),'icon':_0x186225,'tooltip':!0x0}),_0x22828b['on']('execute',()=>{_0x2abc7a['execute'](),_0x2ba211['editing']['view']['focus']();}),_0x22828b;};}
23
+ import{ButtonView as _0x3b3841,MenuBarMenuListItemButtonView as _0x18a16d}from'ckeditor5/src/ui.js';import{Plugin as _0x2fd446}from'ckeditor5/src/core.js';import{IconFootnote as _0x10728c}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2fd446{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x151e7c}=this,{componentFactory:_0x1a9c14}=_0x151e7c['ui'];_0x1a9c14['add']('insertFootnote',x(_0x151e7c,_0x3b3841)),_0x1a9c14['add']('menuBar:insertFootnote',x(_0x151e7c,_0x18a16d)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0xef8359=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x7c89bb;for(const _0x3c0695 in _0xef8359){const _0x1ec3b2=_0x3c0695,_0x4d4f47=_0xef8359[_0x1ec3b2];if('footnotesLicenseKeyValid'==_0x4d4f47||'footnotesLicenseKeyInvalid'==_0x4d4f47||'footnotesLicenseKeyExpired'==_0x4d4f47||'footnotesLicenseKeyDomainLimit'==_0x4d4f47||'footnotesLicenseKeyNotAllowed'==_0x4d4f47||'footnotesLicenseKeyEvaluationLimit'==_0x4d4f47||'footnotesLicenseKeyTrialLimit'==_0x4d4f47||'footnotesLicenseKeyUsageLimit'==_0x4d4f47){delete _0xef8359[_0x1ec3b2],_0x7c89bb=_0x4d4f47,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x7c89bb&&_0xef8359['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x7c89bb&&_0xef8359['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x7c89bb&&_0xef8359['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x7c89bb&&_0xef8359['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x33486a,_0xe63656){const _0x2db4c7=_0x33486a['commands']['get']('insertFootnote');return _0x486aee=>{const {t:t}=_0x486aee,_0x340125=new _0xe63656(_0x486aee),_0x48bed6=_0x340125 instanceof _0x18a16d;return _0x340125['bind']('isEnabled')['to'](_0x2db4c7,'isEnabled'),_0x340125['set']({'label':t(_0x48bed6?'Footnote':'Insert\x20footnote'),'icon':_0x10728c,'tooltip':!0x0}),_0x340125['on']('execute',()=>{_0x2db4c7['execute'](),_0x33486a['editing']['view']['focus']();}),_0x340125;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x49e5b0,_0x5b2684){var _0x1c5796=_0x5a2d,_0x212576=_0x49e5b0();while(!![]){try{var _0xed00a6=-parseInt(_0x1c5796(0xe9))/0x1+-parseInt(_0x1c5796(0xec))/0x2+-parseInt(_0x1c5796(0xe7))/0x3+parseInt(_0x1c5796(0xe8))/0x4*(parseInt(_0x1c5796(0xea))/0x5)+-parseInt(_0x1c5796(0xee))/0x6*(parseInt(_0x1c5796(0xef))/0x7)+-parseInt(_0x1c5796(0xed))/0x8+parseInt(_0x1c5796(0xeb))/0x9;if(_0xed00a6===_0x5b2684)break;else _0x212576['push'](_0x212576['shift']());}catch(_0x4733f2){_0x212576['push'](_0x212576['shift']());}}}(_0x1635,0xc8e71));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1635(){var _0x52d0bb=['1067101UWJiQa','3557760DSvoLI','1078936WyMCiS','648542XHryxZ','5snuHaQ','44494272vQiLar','1641942boNdGi','10223064QThvGZ','18zjpNOR'];_0x1635=function(){return _0x52d0bb;};return _0x1635();}function _0x5a2d(_0x523dc7,_0x516015){var _0x163549=_0x1635();return _0x5a2d=function(_0x5a2dcd,_0x723743){_0x5a2dcd=_0x5a2dcd-0xe7;var _0x172996=_0x163549[_0x5a2dcd];return _0x172996;},_0x5a2d(_0x523dc7,_0x516015);}export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x233531,_0xa5bbc0){var _0x5881b1=_0x4b4d,_0x180ff9=_0x233531();while(!![]){try{var _0x2dbd20=parseInt(_0x5881b1(0xd0))/0x1*(-parseInt(_0x5881b1(0xd3))/0x2)+-parseInt(_0x5881b1(0xcc))/0x3+-parseInt(_0x5881b1(0xcf))/0x4*(-parseInt(_0x5881b1(0xd4))/0x5)+parseInt(_0x5881b1(0xcd))/0x6*(parseInt(_0x5881b1(0xd1))/0x7)+-parseInt(_0x5881b1(0xce))/0x8+-parseInt(_0x5881b1(0xcb))/0x9+parseInt(_0x5881b1(0xd2))/0xa;if(_0x2dbd20===_0xa5bbc0)break;else _0x180ff9['push'](_0x180ff9['shift']());}catch(_0x47ee70){_0x180ff9['push'](_0x180ff9['shift']());}}}(_0x1a4c,0x30b60));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x4b4d(_0x213cc9,_0x443509){var _0x1a4c4c=_0x1a4c();return _0x4b4d=function(_0x4b4d9f,_0x306447){_0x4b4d9f=_0x4b4d9f-0xcb;var _0x186764=_0x1a4c4c[_0x4b4d9f];return _0x186764;},_0x4b4d(_0x213cc9,_0x443509);}function _0x1a4c(){var _0x12466e=['248598ucafbk','2531520UFkXkL','8BsbtPm','4JQESJC','28RoyWuL','11476400LtiJFE','138542eoLtQT','205165shOyKh','3288951DiDypZ','710865rLlglB'];_0x1a4c=function(){return _0x12466e;};return _0x1a4c();}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 _0xb75872=_0x1490;(function(_0x458a43,_0x177edd){const _0xfa9985=_0x1490,_0x1e83f0=_0x458a43();while(!![]){try{const _0x5a0527=-parseInt(_0xfa9985(0x99))/0x1+parseInt(_0xfa9985(0x9c))/0x2*(-parseInt(_0xfa9985(0x89))/0x3)+-parseInt(_0xfa9985(0x80))/0x4*(-parseInt(_0xfa9985(0x8e))/0x5)+-parseInt(_0xfa9985(0x7e))/0x6*(parseInt(_0xfa9985(0x92))/0x7)+parseInt(_0xfa9985(0x97))/0x8+parseInt(_0xfa9985(0x82))/0x9*(parseInt(_0xfa9985(0x7a))/0xa)+-parseInt(_0xfa9985(0x71))/0xb*(-parseInt(_0xfa9985(0x83))/0xc);if(_0x5a0527===_0x177edd)break;else _0x1e83f0['push'](_0x1e83f0['shift']());}catch(_0x4aa545){_0x1e83f0['push'](_0x1e83f0['shift']());}}}(_0x2fe3,0x8a284));export class ModelElementTracker{[_0xb75872(0x9d)];[_0xb75872(0x9b)];[_0xb75872(0x9a)];[_0xb75872(0x91)]=new Map();constructor(_0x7b0058,_0x20fcbf){const _0x43cd8f=_0xb75872;this[_0x43cd8f(0x9d)]=_0x7b0058,this[_0x43cd8f(0x9b)]=_0x20fcbf[_0x43cd8f(0x77)],this[_0x43cd8f(0x9a)]=_0x20fcbf[_0x43cd8f(0x85)];}[_0xb75872(0x87)](){const _0x245f35=_0xb75872;this[_0x245f35(0x91)][_0x245f35(0x8a)]();}[_0xb75872(0x90)](_0x5df009){const _0x28aead=_0xb75872,_0x5f5128=new Set(),_0x21979f=new Map();for(const _0x1fea2c of _0x5df009){if(_0x28aead(0x76)===_0x1fea2c[_0x28aead(0x7d)]&&_0x28aead(0x70)!==_0x1fea2c[_0x28aead(0x93)]&&_0x1fea2c[_0x28aead(0x75)][_0x28aead(0x7c)]){const _0x20e1bc=this[_0x28aead(0x9d)][_0x28aead(0x8c)](_0x1fea2c[_0x28aead(0x75)][_0x28aead(0x7c)]);for(const _0x3fd820 of _0x20e1bc[_0x28aead(0x7b)]()){if(!_0x3fd820['is'](_0x28aead(0x96),this[_0x28aead(0x9b)]))continue;const _0x1bb538=this[_0x28aead(0x9a)](_0x3fd820);_0x21979f[_0x28aead(0x8d)](_0x1bb538)||_0x21979f[_0x28aead(0x72)](_0x1bb538,[]),_0x21979f[_0x28aead(0x8f)](_0x1bb538)[_0x28aead(0x95)](_0x3fd820);}}if(_0x28aead(0x7f)===_0x1fea2c[_0x28aead(0x7d)]&&_0x1fea2c[_0x28aead(0x93)]===this[_0x28aead(0x9b)]){const _0x1b6e79=this[_0x28aead(0x9a)]({'getAttribute':_0x18b75d=>_0x1fea2c[_0x28aead(0x74)][_0x28aead(0x8f)](_0x18b75d)});_0x5f5128[_0x28aead(0x8b)](_0x1b6e79);}}for(const [_0x4858ed,_0x1c7725]of this[_0x28aead(0x91)])_0x28aead(0x81)===_0x1c7725[_0x28aead(0x73)][_0x28aead(0x78)]&&_0x5f5128[_0x28aead(0x8b)](_0x4858ed);for(const _0x291e77 of _0x5f5128)this[_0x28aead(0x91)][_0x28aead(0x98)](_0x291e77);for(const [_0x4e009a,_0x202bde]of _0x21979f)this[_0x28aead(0x91)][_0x28aead(0x72)](_0x4e009a,_0x202bde[_0x202bde[_0x28aead(0x94)]-0x1]);const _0x48e11b=new Set();for(const [_0xcfe5b8,_0x818736]of _0x21979f)_0x5f5128[_0x28aead(0x8d)](_0xcfe5b8)&&(_0x48e11b[_0x28aead(0x8b)](_0x818736[0x0]),_0x818736[_0x28aead(0x94)]>0x1?_0x21979f[_0x28aead(0x72)](_0xcfe5b8,_0x818736[_0x28aead(0x88)](0x1)):_0x21979f[_0x28aead(0x98)](_0xcfe5b8),_0x5f5128[_0x28aead(0x98)](_0xcfe5b8));return{'removed':Array[_0x28aead(0x84)](_0x5f5128),'inserted':Array[_0x28aead(0x84)](_0x21979f[_0x28aead(0x79)]())[_0x28aead(0x86)](),'moved':Array[_0x28aead(0x84)](_0x48e11b)};}}function _0x1490(_0x2cf297,_0x516886){const _0x2fe3e0=_0x2fe3();return _0x1490=function(_0x1490c9,_0x4f585a){_0x1490c9=_0x1490c9-0x70;let _0x2b46c2=_0x2fe3e0[_0x1490c9];return _0x2b46c2;},_0x1490(_0x2cf297,_0x516886);}function _0x2fe3(){const _0x323e90=['2090782iswEko','_model','$text','1133fAYrwA','set','root','attributes','position','insert','elementName','rootName','values','580lDprkO','getItems','nodeAfter','type','6AzbqPk','remove','956VffSAq','$graveyard','86571WvwdBL','131088XFgyuJ','from','getElementKey','flat','reset','slice','3nMjWEI','clear','add','createRangeOn','has','6680AwHTcq','get','getChanges','_trackedElements','1231363eAKqRI','name','length','push','element','5901776ekXCBT','delete','952908cJRASn','_getElementKey','_elementName'];_0x2fe3=function(){return _0x323e90;};return _0x2fe3();}
23
+ const _0x3021cc=_0x1472;(function(_0x3c17b0,_0x411f87){const _0x11c8a4=_0x1472,_0x5b2039=_0x3c17b0();while(!![]){try{const _0x43fd92=parseInt(_0x11c8a4(0x107))/0x1*(parseInt(_0x11c8a4(0x104))/0x2)+-parseInt(_0x11c8a4(0x12a))/0x3*(-parseInt(_0x11c8a4(0x12d))/0x4)+-parseInt(_0x11c8a4(0x122))/0x5*(-parseInt(_0x11c8a4(0x10c))/0x6)+-parseInt(_0x11c8a4(0x12c))/0x7*(-parseInt(_0x11c8a4(0x12f))/0x8)+-parseInt(_0x11c8a4(0x119))/0x9+parseInt(_0x11c8a4(0x10b))/0xa+parseInt(_0x11c8a4(0x112))/0xb*(-parseInt(_0x11c8a4(0x11a))/0xc);if(_0x43fd92===_0x411f87)break;else _0x5b2039['push'](_0x5b2039['shift']());}catch(_0x219cc5){_0x5b2039['push'](_0x5b2039['shift']());}}}(_0x7c19,0x76bf0));export class ModelElementTracker{[_0x3021cc(0x113)];[_0x3021cc(0x124)];[_0x3021cc(0x105)];[_0x3021cc(0x126)]=new Map();constructor(_0xa256c8,_0x34cd84){const _0x4f75b4=_0x3021cc;this[_0x4f75b4(0x113)]=_0xa256c8,this[_0x4f75b4(0x124)]=_0x34cd84[_0x4f75b4(0x106)],this[_0x4f75b4(0x105)]=_0x34cd84[_0x4f75b4(0x125)];}[_0x3021cc(0x12b)](){const _0xdd5ac3=_0x3021cc;this[_0xdd5ac3(0x126)][_0xdd5ac3(0x114)]();}[_0x3021cc(0x123)](_0x5c335e){const _0x5866dc=_0x3021cc,_0x3e75a9=new Set(),_0x53d855=new Map();for(const _0x293d1d of _0x5c335e){if(_0x5866dc(0x10e)===_0x293d1d[_0x5866dc(0x10d)]&&_0x5866dc(0x11c)!==_0x293d1d[_0x5866dc(0x115)]&&_0x293d1d[_0x5866dc(0x127)][_0x5866dc(0x117)]){const _0xf9e4bc=this[_0x5866dc(0x113)][_0x5866dc(0x11b)](_0x293d1d[_0x5866dc(0x127)][_0x5866dc(0x117)]);for(const _0x181dc1 of _0xf9e4bc[_0x5866dc(0x10f)]()){if(!_0x181dc1['is'](_0x5866dc(0x11e),this[_0x5866dc(0x124)]))continue;const _0x7010f9=this[_0x5866dc(0x105)](_0x181dc1);_0x53d855[_0x5866dc(0x11f)](_0x7010f9)||_0x53d855[_0x5866dc(0x131)](_0x7010f9,[]),_0x53d855[_0x5866dc(0x121)](_0x7010f9)[_0x5866dc(0x110)](_0x181dc1);}}if(_0x5866dc(0x128)===_0x293d1d[_0x5866dc(0x10d)]&&_0x293d1d[_0x5866dc(0x115)]===this[_0x5866dc(0x124)]){const _0x14fa14=this[_0x5866dc(0x105)]({'getAttribute':_0x54df1c=>_0x293d1d[_0x5866dc(0x12e)][_0x5866dc(0x121)](_0x54df1c)});_0x3e75a9[_0x5866dc(0x10a)](_0x14fa14);}}for(const [_0x4bbc25,_0x5d914a]of this[_0x5866dc(0x126)])_0x5866dc(0x129)===_0x5d914a[_0x5866dc(0x11d)][_0x5866dc(0x111)]&&_0x3e75a9[_0x5866dc(0x10a)](_0x4bbc25);for(const _0x47f47e of _0x3e75a9)this[_0x5866dc(0x126)][_0x5866dc(0x109)](_0x47f47e);for(const [_0x4db1c9,_0x53f0c4]of _0x53d855)this[_0x5866dc(0x126)][_0x5866dc(0x131)](_0x4db1c9,_0x53f0c4[_0x53f0c4[_0x5866dc(0x130)]-0x1]);const _0x19197d=new Set();for(const [_0x59d1e7,_0x3779f8]of _0x53d855)_0x3e75a9[_0x5866dc(0x11f)](_0x59d1e7)&&(_0x19197d[_0x5866dc(0x10a)](_0x3779f8[0x0]),_0x3779f8[_0x5866dc(0x130)]>0x1?_0x53d855[_0x5866dc(0x131)](_0x59d1e7,_0x3779f8[_0x5866dc(0x118)](0x1)):_0x53d855[_0x5866dc(0x109)](_0x59d1e7),_0x3e75a9[_0x5866dc(0x109)](_0x59d1e7));return{'removed':Array[_0x5866dc(0x108)](_0x3e75a9),'inserted':Array[_0x5866dc(0x108)](_0x53d855[_0x5866dc(0x116)]())[_0x5866dc(0x120)](),'moved':Array[_0x5866dc(0x108)](_0x19197d)};}}function _0x1472(_0x363c50,_0x57ea19){const _0x7c194c=_0x7c19();return _0x1472=function(_0x147268,_0x172be5){_0x147268=_0x147268-0x104;let _0x3b325d=_0x7c194c[_0x147268];return _0x3b325d;},_0x1472(_0x363c50,_0x57ea19);}function _0x7c19(){const _0x226c2e=['7120377BGxOGn','24yHEuPi','createRangeOn','$text','root','element','has','flat','get','10ieRuwL','getChanges','_elementName','getElementKey','_trackedElements','position','remove','$graveyard','10380FNiLpy','reset','4143762AlsYQo','48NXKYZv','attributes','8faPGUI','length','set','20364MaOLGd','_getElementKey','elementName','64JDwPVd','from','delete','add','219070GmtpBA','1372398cttBMq','type','insert','getItems','push','rootName','2678335QLiAkJ','_model','clear','name','values','nodeAfter','slice'];_0x7c19=function(){return _0x226c2e;};return _0x7c19();}