@ckeditor/ckeditor5-footnotes 47.3.0-alpha.0 → 47.3.0-alpha.1

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 _0x8572a9}from'ckeditor5/src/core.js';import{isWidget as _0x59a34c,toWidget as _0x45445f,toWidgetEditable as _0x357d76}from'ckeditor5/src/widget.js';import{uid as _0x31f20c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x592a32,ClickObserver as _0x59771c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1a4ea5}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3754a4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x8572a9{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1a4ea5];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1982be}=this;_0x1982be['config']['define']('footnotes.multiBlock',!0x0),_0x1982be['commands']['add']('insertFootnote',new _0x3754a4(_0x1982be)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x443fae){const _0x277865=_0xb6ab2f([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]),_0x417202=0x47a28506,_0x55f485=0x47a5ff36^_0x417202,_0x2fcf5b=window[_0xb6ab2f([0x44,0x61,0x74,0x65])][_0xb6ab2f([0x6e,0x6f,0x77])](),_0x4d2433=_0x443fae[_0xb6ab2f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xe966b9=new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x22e3d2=>{_0x4d2433[_0xb6ab2f([0x6f,0x6e,0x63,0x65])](_0xb6ab2f([0x72,0x65,0x61,0x64,0x79]),_0x22e3d2);}),_0x1905e7={[_0xb6ab2f([0x6b,0x74,0x79])]:_0xb6ab2f([0x45,0x43]),[_0xb6ab2f([0x75,0x73,0x65])]:_0xb6ab2f([0x73,0x69,0x67]),[_0xb6ab2f([0x63,0x72,0x76])]:_0xb6ab2f([0x50,0x2d,0x32,0x35,0x36]),[_0xb6ab2f([0x78])]:_0xb6ab2f([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]),[_0xb6ab2f([0x79])]:_0xb6ab2f([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]),[_0xb6ab2f([0x61,0x6c,0x67])]:_0xb6ab2f([0x45,0x53,0x32,0x35,0x36])},_0x3ab3ac=_0x4d2433[_0xb6ab2f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0xb6ab2f([0x67,0x65,0x74])](_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x2856b6(){let _0x127546,_0x5b2504=null,_0x37c68d=null;try{if(_0x3ab3ac==_0xb6ab2f([0x47,0x50,0x4c]))return _0xb6ab2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x127546=_0x951365(),!_0x127546)return _0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x127546[_0xb6ab2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x37c68d=_0x4c9c42(_0x127546[_0xb6ab2f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x127546[_0xb6ab2f([0x6a,0x74,0x69])])),await _0x132255()?_0x298c80()?_0x448293()?_0xb6ab2f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x590c1a()?(_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6ab2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x5b2504=_0xf0268d(_0xb6ab2f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0xb6ab2f([0x74,0x72,0x69,0x61,0x6c])&&(_0x5b2504=_0xf0268d(_0xb6ab2f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x50fc7d()):_0xb6ab2f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0xb6ab2f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0xb6ab2f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x448293(){const _0x12b6b0=[_0xb6ab2f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0xb6ab2f([0x74,0x72,0x69,0x61,0x6c])][_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x2fcf5b/0x3e8:0xe10*_0x55f485;return _0x127546[_0xb6ab2f([0x65,0x78,0x70])]<_0x12b6b0;}function _0x298c80(){const _0x2b5b7e=_0x127546[_0xb6ab2f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x2b5b7e&&(!!_0x2b5b7e[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x2a]))||!!_0x2b5b7e[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x46,0x4f,0x4f])));}function _0x590c1a(){const _0x3f4020=_0x127546[_0xb6ab2f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x3f4020||0x0==_0x3f4020[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x541fba}=new URL(window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x3f4020[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x541fba))return!0x0;const _0x15e523=_0x541fba[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e]));return _0x3f4020[_0xb6ab2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x32ba5f=>_0x32ba5f[_0xb6ab2f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xb6ab2f([0x2a])))[_0xb6ab2f([0x6d,0x61,0x70])](_0x1aafb8=>_0x1aafb8[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e])))[_0xb6ab2f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2b71ec=>_0x2b71ec[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x15e523[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb6ab2f([0x6d,0x61,0x70])](_0x8fd809=>Array(_0x15e523[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x8fd809[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0xb6ab2f([0x66,0x69,0x6c,0x6c])](_0x8fd809[0x0]===_0xb6ab2f([0x2a])?_0xb6ab2f([0x2a]):'')[_0xb6ab2f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x8fd809))[_0xb6ab2f([0x73,0x6f,0x6d,0x65])](_0x13e527=>_0x15e523[_0xb6ab2f([0x65,0x76,0x65,0x72,0x79])]((_0x53330a,_0x518998)=>_0x13e527[_0x518998]===_0x53330a||_0x13e527[_0x518998]===_0xb6ab2f([0x2a])));}function _0x50fc7d(){return _0x5b2504&&_0x37c68d?new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x388650,_0x2f4b81)=>{_0x5b2504[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x388650,_0x2f4b81),_0x37c68d[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x2bc338=>{_0x2bc338!=_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])&&_0x388650(_0x2bc338);},_0x2f4b81);}):_0x5b2504||_0x37c68d||_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c9c42(_0x41aa81,_0x5b7ae4){return new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x72948e=>{if(_0x1bfb7e())return _0x72948e(_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]));_0x29e015(),_0x4d2433[_0xb6ab2f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2425a1=!0x1;const _0x568b6a=_0x31f20c();function _0x41fc63(_0x1aff4f){return!!_0x1aff4f&&(typeof _0x1aff4f===_0xb6ab2f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1aff4f===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1aff4f[_0xb6ab2f([0x74,0x68,0x65,0x6e])]===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1aff4f[_0xb6ab2f([0x63,0x61,0x74,0x63,0x68])]===_0xb6ab2f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x46e36c(_0x4f5c76){_0x5314f4(_0x4f5c76)[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x14d28e=>{if(!_0x14d28e||_0x14d28e[_0xb6ab2f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0xb6ab2f([0x6f,0x6b]))return _0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x334226(_0x1c252c(_0x568b6a+_0x5b7ae4))!=_0x14d28e[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64]);})[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x59f978=>(_0x40a538(),_0x59f978),()=>{const _0x2f8c53=_0x3775f5();return null==_0x2f8c53?(_0x40a538(),_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])):_0xb6ab2f(_0x2fcf5b-_0x2f8c53>(0x63ae0106^_0x417202)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0x72948e)[_0xb6ab2f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3e25b0=0x47946b86^_0x417202;function _0x40a538(){const _0x5dbb03=_0xb6ab2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x334226(_0x1c252c(_0x41aa81)),_0x95f3c2=_0x803bf5(_0x334226(window[_0xb6ab2f([0x4d,0x61,0x74,0x68])][_0xb6ab2f([0x63,0x65,0x69,0x6c])](_0x2fcf5b/_0x3e25b0)));window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6ab2f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x5dbb03,_0x95f3c2);}function _0x3775f5(){const _0x1bc7b8=_0xb6ab2f([0x6c,0x6c,0x63,0x74,0x2d])+_0x334226(_0x1c252c(_0x41aa81)),_0x396872=window[_0xb6ab2f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0xb6ab2f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1bc7b8);return _0x396872?window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x803bf5(_0x396872),0x10)*_0x3e25b0:null;}function _0x5314f4(_0x125a2f){return new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd87939,_0x30c3a2)=>{_0x125a2f[_0xb6ab2f([0x74,0x68,0x65,0x6e])](_0xd87939,_0x30c3a2),window[_0xb6ab2f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x30c3a2,0x47a351c6^_0x417202);});}}_0x4d2433[_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x65749a,_0x1b8605)=>{if(_0x1b8605[0x0]!=_0x41aa81)return _0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x1b8605[0x1]={..._0x1b8605[0x1],[_0xb6ab2f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x568b6a};},{[_0xb6ab2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6ab2f([0x68,0x69,0x67,0x68])}),_0x4d2433[_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x38cae9=>{_0x41fc63(_0x38cae9[_0xb6ab2f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2425a1=!0x0,_0x46e36c(_0x38cae9[_0xb6ab2f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0xb6ab2f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0xb6ab2f([0x6c,0x6f,0x77])}),_0xe966b9[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>{_0x2425a1||_0x72948e(_0xb6ab2f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x1bfb7e(){return _0x4d2433[_0xb6ab2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6ab2f([0x76,0x69,0x65,0x77])][_0xb6ab2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0xb6ab2f([0x61,0x75,0x74,0x6f]);}function _0x29e015(){_0x4d2433[_0xb6ab2f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0xb6ab2f([0x76,0x69,0x65,0x77])][_0xb6ab2f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0xb6ab2f([0x61,0x75,0x74,0x6f]);}}function _0xf0268d(_0x8b7495){const _0x2f19b9=[new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xb796e2=>setTimeout(_0xb796e2,0x47abbbca^_0x417202)),_0xe966b9[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>new window[(_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23752e=>{let _0x43aa0d=0x0;_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x6f,0x6e])](_0xb6ab2f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x2ef49f,_0x7a39ed)=>{_0x7a39ed[0x0][_0xb6ab2f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x43aa0d++,_0x43aa0d==(0x47a284fe^_0x417202)&&(_0x23752e(),_0x2ef49f[_0xb6ab2f([0x6f,0x66,0x66])]());});}))];return window[_0xb6ab2f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0xb6ab2f([0x72,0x61,0x63,0x65])](_0x2f19b9)[_0xb6ab2f([0x74,0x68,0x65,0x6e])](()=>_0x8b7495);}async function _0x3660ae(){await _0xe966b9,_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x1550f3,_0x4d2433[_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c])][_0xb6ab2f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x1550f3,_0x4d2433[_0xb6ab2f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0xb6ab2f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x129e56(_0x5d5bda){const _0x41b361=_0x21816a();_0x4d2433[_0x41b361]=_0xb6ab2f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5d5bda,_0x5d5bda!=_0xb6ab2f([0x56,0x61,0x6c,0x69,0x64])&&_0x3660ae();}function _0x21816a(){const _0x51bc0e=window[_0xb6ab2f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0xb6ab2f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0xb6ab2f([0x6e,0x6f,0x77])]())[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0xb6ab2f([0x2e]),'');let _0x3eb835=_0xb6ab2f([0x75]);for(let _0x1cb5f8=0x0;_0x1cb5f8<_0x51bc0e[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1cb5f8+=0x2){let _0x22c765=window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x51bc0e[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1cb5f8,_0x1cb5f8+0x2));_0x22c765>=_0x277865[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x22c765-=_0x277865[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x3eb835+=_0x277865[_0x22c765];}return _0x3eb835;}function _0x951365(){const _0x2f2f31=_0x3ab3ac[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e]));if(0x3!=_0x2f2f31[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x257dcc(_0x2f2f31[0x1]);function _0x257dcc(_0x371308){const _0x23ab21=_0x2e7bbf(_0x371308);return _0x23ab21&&_0x780c43()?_0x23ab21:null;function _0x780c43(){const _0x3037b4=_0x23ab21[_0xb6ab2f([0x6a,0x74,0x69])],_0x4ea88e=window[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3037b4[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x3037b4[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x58f919={..._0x23ab21,[_0xb6ab2f([0x6a,0x74,0x69])]:_0x3037b4[_0xb6ab2f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x3037b4[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x58f919[_0xb6ab2f([0x76,0x63])],_0x1c252c(_0x58f919)==_0x4ea88e;}}}async function _0x132255(){let _0x4ac1fc=!0x0;try{const _0x538617=_0x3ab3ac[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])](_0xb6ab2f([0x2e])),[_0x1f4d5b,_0x31e885,_0x400c2f]=_0x538617;return _0x2cdf6f(_0x1f4d5b),await _0x2ee328(_0x1f4d5b,_0x31e885,_0x400c2f),_0x4ac1fc;}catch{return!0x1;}function _0x2cdf6f(_0x452635){const _0x3e8ebe=_0x2e7bbf(_0x452635);_0x3e8ebe&&_0x3e8ebe[_0xb6ab2f([0x61,0x6c,0x67])]==_0xb6ab2f([0x45,0x53,0x32,0x35,0x36])||(_0x4ac1fc=!0x1);}async function _0x2ee328(_0x46ef3b,_0x24ab4d,_0x4ff9a4){const _0x3571a8=window[_0xb6ab2f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0xb6ab2f([0x66,0x72,0x6f,0x6d])](_0x4bee19(_0x4ff9a4),_0x328384=>_0x328384[_0xb6ab2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1defbb=new window[(_0xb6ab2f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0xb6ab2f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x46ef3b+_0xb6ab2f([0x2e])+_0x24ab4d),_0x2f1694=window[_0xb6ab2f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0xb6ab2f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2f1694)return;const _0xa774=await _0x2f1694[_0xb6ab2f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0xb6ab2f([0x6a,0x77,0x6b]),_0x1905e7,{[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x45,0x43,0x44,0x53,0x41]),[_0xb6ab2f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0xb6ab2f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2f1694[_0xb6ab2f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x45,0x43,0x44,0x53,0x41]),[_0xb6ab2f([0x68,0x61,0x73,0x68])]:{[_0xb6ab2f([0x6e,0x61,0x6d,0x65])]:_0xb6ab2f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xa774,_0x3571a8,_0x1defbb)||(_0x4ac1fc=!0x1);}}function _0x2e7bbf(_0x35bf02){return _0x35bf02[_0xb6ab2f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0xb6ab2f([0x65,0x79]))?JSON[_0xb6ab2f([0x70,0x61,0x72,0x73,0x65])](_0x4bee19(_0x35bf02)):null;}function _0x4bee19(_0xdc3584){return window[_0xb6ab2f([0x61,0x74,0x6f,0x62])](_0xdc3584[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0xb6ab2f([0x2b]))[_0xb6ab2f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0xb6ab2f([0x2f])));}function _0x1c252c(_0x151986){let _0x4c7646=0x1505;function _0x7001c9(_0x44521f){for(let _0x1fa00c=0x0;_0x1fa00c<_0x44521f[_0xb6ab2f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1fa00c++){const _0x3bbcb6=_0x44521f[_0xb6ab2f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x1fa00c);_0x4c7646=(_0x4c7646<<0x5)+_0x4c7646+_0x3bbcb6,_0x4c7646&=_0x4c7646;}}function _0x1d39ea(_0x598543){Array[_0xb6ab2f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x598543)?_0x598543[_0xb6ab2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x1d39ea):_0x598543&&typeof _0x598543==_0xb6ab2f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0xb6ab2f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x598543)[_0xb6ab2f([0x73,0x6f,0x72,0x74])]()[_0xb6ab2f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x1028d4,_0x4b3d28])=>{_0x7001c9(_0x1028d4),_0x1d39ea(_0x4b3d28);}):_0x7001c9(window[_0xb6ab2f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x598543));}return _0x1d39ea(_0x151986),_0x4c7646>>>0x0;}function _0x334226(_0xbfd73a){return _0xbfd73a[_0xb6ab2f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0xb6ab2f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0xb6ab2f([0x30]));}function _0x803bf5(_0x2cbd33){return _0x2cbd33[_0xb6ab2f([0x73,0x70,0x6c,0x69,0x74])]('')[_0xb6ab2f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0xb6ab2f([0x6a,0x6f,0x69,0x6e])]('');}function _0x1550f3(){}function _0xb6ab2f(_0x57367c){return _0x57367c['map'](_0x4f5063=>String['fromCharCode'](_0x4f5063))['join']('');}_0x129e56(await _0x2856b6());}(this);}['_moveSelectionToFootnoteDefinition'](_0xc31e1c){const {plugins:_0x56216d,editing:_0x268fe6,model:_0x598714}=this['editor'],_0x1103dc=_0x56216d['get'](_0x1a4ea5)['getFootnote'](_0xc31e1c);return!!_0x1103dc&&(_0x598714['change'](_0x4a9c89=>{_0x4a9c89['setSelection'](_0x4a9c89['createPositionAt'](_0x1103dc['definition'],'end'));}),_0x268fe6['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x2d98d0){const {plugins:_0x59e6b4,editing:_0x2498fc,model:_0x1a7d5c}=this['editor'],_0x50ce12=_0x59e6b4['get'](_0x1a4ea5)['getFootnote'](_0x2d98d0);return!!_0x50ce12&&(_0x1a7d5c['change'](_0x1d81ac=>{_0x1d81ac['setSelection'](_0x50ce12['reference'],'on');}),_0x2498fc['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32fc94}=this['editor']['model'],_0x4a9a43=this['editor']['config']['get']('footnotes.multiBlock');_0x32fc94['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32fc94['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32fc94['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x4a9a43?_0x32fc94['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32fc94['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32fc94['addChildCheck'](_0x23124e=>{for(const _0x431d81 of _0x23124e)if('footnoteDefinition'===_0x431d81['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x9391d1}=this,{conversion:_0x3835ec,editing:_0xa2dee5}=_0x9391d1,{t:t}=_0x9391d1['locale'];_0x3835ec['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x3c1b94,{writer:_0x456051,consumable:_0x442e46})=>{const _0x418ce6=_0x3c1b94['getChild'](0x0);if(!_0x418ce6||!_0x418ce6['is']('element','a'))return null;const _0x17fc81=_0x418ce6['getAttribute']('href')||'';if(!_0x17fc81['startsWith']('#'))return null;const _0x4d1c19=_0x17fc81['replace'](/^#/,'');if(!_0x4d1c19)return null;_0x442e46['consume'](_0x418ce6,{'name':!0x0,'attributes':['href']});for(const {item:_0x1ab087}of _0xa2dee5['view']['createRangeIn'](_0x418ce6))_0x1ab087['is']('$textProxy')?_0x442e46['consume'](_0x1ab087['textNode'],{'name':!0x0}):_0x1ab087['is']('element')&&_0x442e46['consume'](_0x1ab087,{'name':!0x0});return _0x456051['createElement']('footnoteRef',{'footnoteId':_0x4d1c19});}}),_0x3835ec['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x5b087c,{writer:_0x49632b})=>D(_0x5b087c,_0x49632b)}),_0x3835ec['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x212966,{writer:_0x2989d9})=>{const _0x2a2549=_0x212966['getAttribute']('footnoteCounter');return _0x45445f(D(_0x212966,_0x2989d9),_0x2989d9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x2a2549)});}});}['_defineDefinitionsConverters'](){const {editor:_0x1c9152}=this,{t:t}=_0x1c9152['locale'],{conversion:_0x217300}=_0x1c9152;_0x217300['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x217300['for']('upcast')['add'](_0x1dfb1a=>{_0x1dfb1a['on']('element:ol',(_0x5b0ac0,_0x18ee1c,_0x3af315)=>{const _0x5efa02=_0x18ee1c['viewItem'];if(!_0x5efa02['hasClass']('footnotes-list')||!_0x18ee1c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x3af315['consumable']['consume'](_0x5efa02,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x11626d,modelCursor:_0x288b25}=_0x3af315['convertChildren'](_0x18ee1c['viewItem'],_0x18ee1c['modelCursor']);_0x18ee1c['modelRange']=_0x11626d,_0x18ee1c['modelCursor']=_0x288b25;}),_0x1dfb1a['on']('element:hr',(_0x52c618,_0x1c685d,_0x41fb72)=>{const _0x10beb6=_0x1c685d['viewItem'];_0x10beb6['hasClass']('footnotes-divider')&&_0x1c685d['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x41fb72['consumable']['consume'](_0x10beb6,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x217300['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x24f685,{writer:_0x959c18})=>v(_0x959c18)}),_0x217300['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1fad25,{writer:_0x463ec2})=>{const _0x24f47d=v(_0x463ec2,{'data-footnotes-list-label':t('Footnotes')}),_0x5237a4=_0x45445f(_0x24f47d,_0x463ec2,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x463ec2['setCustomProperty']('footnotesDefinitions',!0x0,_0x5237a4),_0x5237a4;}});}['_defineDefinitionConverters'](){const {editor:_0x51e67b}=this,{conversion:_0x7e8b78,locale:_0x39d276}=_0x51e67b,_0x4e282a=_0x51e67b['config']['get']('footnotes.multiBlock');_0x7e8b78['for']('upcast')['add'](_0x3448cc=>{_0x3448cc['on']('element:li',(_0x5e0e39,_0x135f15,_0x1a4616)=>{const _0x4e2eb4=_0x135f15['viewItem'];if(!_0x4e2eb4['hasClass']('footnote-definition')||!_0x4e2eb4['getAttribute']('id'))return;const _0x3155af=_0x4e2eb4['parent'];if(!_0x3155af['is']('element','ol')||!_0x3155af['hasClass']('footnotes-list'))return;if(!_0x1a4616['consumable']['test'](_0x4e2eb4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x3c8b78=_0x1a4616['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4e2eb4['getAttribute']('id')});if(!_0x1a4616['safeInsert'](_0x3c8b78,_0x135f15['modelCursor']))return;_0x1a4616['consumable']['consume'](_0x4e2eb4,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x28ca0f=Array['from'](_0x4e2eb4['getChildren']())['find'](_0x13ee0b=>_0x13ee0b['is']('element')&&_0x13ee0b['hasClass']('footnote-content'));for(const _0x4dbcf0 of _0x4e2eb4['getChildren']())_0x4dbcf0['is']('element')&&(_0x1a4616['consumable']['consume'](_0x4dbcf0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1a4616['consumable']['consume'](_0x4dbcf0,{'name':!0x0,'classes':'footnote-content'}));if(_0x28ca0f){if(_0x4e282a)_0x1a4616['convertChildren'](_0x28ca0f,_0x3c8b78);else{const _0x1ff6f6=_0x1a4616['writer']['createElement']('footnoteInlineContent');_0x1a4616['writer']['insert'](_0x1ff6f6,_0x3c8b78),_0x1a4616['convertChildren'](_0x28ca0f,_0x1ff6f6);}}_0x1a4616['updateConversionResult'](_0x3c8b78,_0x135f15);});}),_0x7e8b78['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x4f53fb,{writer:_0x1345aa})=>b(_0x4f53fb,_0x1345aa,_0x39d276,{'dataPipeline':!0x0})}),_0x7e8b78['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3041bb,{writer:_0x1cd7f1})=>b(_0x3041bb,_0x1cd7f1,_0x39d276)});}['_defineBogusParagraphConverters'](){const {editor:_0x62fa73}=this,{conversion:_0x4a1fde}=_0x62fa73;_0x62fa73['config']['get']('footnotes.multiBlock')?(_0x4a1fde['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x4a1fde['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x62fa73['model']['document'],'change:data',()=>{!function(_0x5c37f8,_0x5b1fb7){const _0xeb4067=_0x5c37f8['document']['differ'],_0x343baa=new Set();for(const _0x32f2f0 of _0xeb4067['getChanges']()){const _0x474ef8='attribute'==_0x32f2f0['type']?_0x32f2f0['range']['start']['parent']:_0x32f2f0['position']['parent'];_0x474ef8['is']('element','footnoteDefinition')&&_0x343baa['add'](_0x474ef8);}for(const _0x4e45ff of _0x343baa['values']()){const _0xfc6e30=Array['from'](_0x4e45ff['getChildren']())['filter'](_0x3e9845=>g(_0x3e9845,_0x5b1fb7['mapper']));for(const _0x23caeb of _0xfc6e30)_0x5b1fb7['reconvertItem'](_0x23caeb);}}(_0x62fa73['model'],_0x62fa73['editing']);})):(_0x4a1fde['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x4a1fde['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2d788e,{writer:_0x17ef42})=>{const _0x4d9175=_0x17ef42['createContainerElement']('span');return _0x17ef42['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x4d9175),_0x4d9175;}}));}['_defineKeyboardHandlers'](){const {editor:_0x13fb81}=this,{editing:_0x5d1ed2,t:t}=_0x13fb81,_0x70c0dd=_0x13fb81['model']['document']['selection'];_0x13fb81['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x13fb81['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5d1ed2['view']['document'],'enter',(_0xcd1f78,_0xbb0a20)=>{const _0x4fd5d5=function(_0x1206b7){const _0x8f8d5a=_0x1206b7['getSelectedElement']();if(_0x8f8d5a?.['is']('element','footnoteRef'))return _0x8f8d5a;return null;}(_0x70c0dd);if(_0x4fd5d5){const _0x5584a6=_0x4fd5d5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5584a6),_0xbb0a20['preventDefault'](),_0xcd1f78['stop']();}},{'context':_0x59a34c});}['_defineClickHandlers'](){const {editor:_0x5d36bb}=this,{editing:_0x25248c}=_0x5d36bb;_0x5d36bb['editing']['view']['addObserver'](_0x592a32),_0x5d36bb['editing']['view']['addObserver'](_0x59771c);let _0x2483e1=!0x1;this['listenTo'](_0x25248c['view']['document'],'pointerdown',(_0x136f16,_0x29be29)=>{const {target:_0x152a72}=_0x29be29,_0x5014be=_0x25248c['view']['document']['selection'];_0x2483e1=!!(_0x152a72?.['is']('element','a')&&_0x152a72['parent']?.['is']('element','sup')&&_0x152a72['parent']['hasClass']('footnote'))&&_0x5014be['getSelectedElement']()===_0x152a72['parent'];},{'priority':'high'}),this['listenTo'](_0x25248c['view']['document'],'click',(_0x3935a3,_0x493b54)=>{const {target:_0x45ccd0}=_0x493b54;if(!_0x45ccd0?.['is']('element','a'))return;if(_0x45ccd0['parent']?.['is']('element','sup')&&_0x45ccd0['parent']['hasClass']('footnote')&&!_0x2483e1)return void _0x493b54['preventDefault']();let _0x53354c=_0x45ccd0['getAttribute']('href');if(!_0x53354c?.['startsWith']('#'))return;_0x53354c=_0x53354c['slice'](0x1);let _0x37c0e1=!0x1;(_0x53354c['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x53354c['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x53354c))&&(_0x37c0e1=!0x0),_0x37c0e1&&(_0x493b54['preventDefault'](),_0x3935a3['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x38acf2}={}){return(_0x13c065,{writer:_0x48c797})=>{if(!p(_0x13c065))return null;if(!_0x38acf2)return _0x48c797['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x102f9f=_0x48c797['createContainerElement']('p');return _0x48c797['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x102f9f),_0x102f9f;};}function p(_0x484b70){const {parent:_0x4e8141}=_0x484b70;if(!_0x4e8141?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x4e8141['childCount'])return!0x1;for(const _0x188045 of _0x484b70['getAttributeKeys']())if(!_0x188045['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x188045)return!0x1;return!0x0;}function g(_0x33798d,_0x4be6a2){if(!_0x33798d['is']('element','paragraph'))return!0x1;const _0xe8066f=_0x4be6a2['toViewElement'](_0x33798d);return!!_0xe8066f&&p(_0x33798d)!==_0xe8066f['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x26510d){return _0x59a34c(_0x26510d)&&_0x26510d['is']('containerElement')&&!!_0x26510d['getCustomProperty']('footnotesDefinitions');}function v(_0x113b5d,_0x40d717={}){const _0x5a78f8=_0x113b5d['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x264845=_0x113b5d['createContainerElement']('ol',{'class':'footnotes-list'},_0x113b5d['createSlot']());return _0x113b5d['createContainerElement']('div',{'class':'footnotes',..._0x40d717},[_0x5a78f8,_0x264845]);}function D(_0x8a8a9f,_0x23ab0b){const _0x3898c8=_0x8a8a9f['getAttribute']('footnoteId'),_0x35705e=_0x8a8a9f['getAttribute']('footnoteCounter'),_0x4f293b=_0x23ab0b['createUIElement']('a',{'href':'#'+_0x3898c8},function(_0x571dae){const _0x391507=this['toDomElement'](_0x571dae);return _0x391507['textContent']=_0x35705e,_0x391507;}),_0x591fe4=_0x23ab0b['createContainerElement']('sup',{'id':'ref-'+_0x3898c8,'class':'footnote'},[_0x4f293b]);return _0x591fe4['getFillerOffset']=()=>null,_0x591fe4;}function b(_0x293247,_0x51174e,_0x17e565,{dataPipeline:_0x48bf4e}={}){const {t:t}=_0x17e565,_0xb1e301=_0x293247['getAttribute']('footnoteId'),_0x974b01=_0x51174e['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0xb1e301},function(_0x4e4da2){const _0x2e9638=this['toDomElement'](_0x4e4da2);return _0x2e9638['innerText']='^',_0x2e9638;}),_0x54c346=_0x48bf4e?_0x51174e['createContainerElement']('div',{'class':'footnote-content'}):_0x357d76(_0x51174e['createEditableElement']('div',{'class':'footnote-content'}),_0x51174e,{'label':t('Footnote\x20content.')});return _0x51174e['insert'](_0x51174e['createPositionAt'](_0x54c346,0x0),_0x51174e['createSlot']()),_0x51174e['createContainerElement']('li',{'class':'footnote-definition','id':_0xb1e301},[_0x974b01,_0x54c346]);}
23
+ import{Plugin as _0x1d6d2f}from'ckeditor5/src/core.js';import{isWidget as _0x19d4b9,toWidget as _0xdeed9a,toWidgetEditable as _0x481f65}from'ckeditor5/src/widget.js';import{uid as _0x55b78a}from'ckeditor5/src/utils.js';import{PointerObserver as _0x35260b,ClickObserver as _0x2c6cd9}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x2d4304}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x1876a0}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x1d6d2f{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x2d4304];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x6afa1e}=this;_0x6afa1e['config']['define']('footnotes.multiBlock',!0x0),_0x6afa1e['commands']['add']('insertFootnote',new _0x1876a0(_0x6afa1e)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x54f57f){const _0x11006d=_0x46cc3f([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]),_0x573f70=0x47a28506,_0x215247=0x47a5ff4e^_0x573f70,_0x35c501=window[_0x46cc3f([0x44,0x61,0x74,0x65])][_0x46cc3f([0x6e,0x6f,0x77])](),_0x2064ca=_0x54f57f[_0x46cc3f([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x246637=new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x23767d=>{_0x2064ca[_0x46cc3f([0x6f,0x6e,0x63,0x65])](_0x46cc3f([0x72,0x65,0x61,0x64,0x79]),_0x23767d);}),_0x23aabe={[_0x46cc3f([0x6b,0x74,0x79])]:_0x46cc3f([0x45,0x43]),[_0x46cc3f([0x75,0x73,0x65])]:_0x46cc3f([0x73,0x69,0x67]),[_0x46cc3f([0x63,0x72,0x76])]:_0x46cc3f([0x50,0x2d,0x32,0x35,0x36]),[_0x46cc3f([0x78])]:_0x46cc3f([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]),[_0x46cc3f([0x79])]:_0x46cc3f([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]),[_0x46cc3f([0x61,0x6c,0x67])]:_0x46cc3f([0x45,0x53,0x32,0x35,0x36])},_0xdd8640=_0x2064ca[_0x46cc3f([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x46cc3f([0x67,0x65,0x74])](_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x52e5ef(){let _0x648965,_0x455ba7=null,_0x4c7b8d=null;try{if(_0xdd8640==_0x46cc3f([0x47,0x50,0x4c]))return _0x46cc3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x648965=_0x5ea593(),!_0x648965)return _0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x648965[_0x46cc3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4c7b8d=_0x4c57cf(_0x648965[_0x46cc3f([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x648965[_0x46cc3f([0x6a,0x74,0x69])])),await _0x4e25e9()?_0x47eb7b()?_0x1df6bf()?_0x46cc3f([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x46432b()?(_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46cc3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x455ba7=_0x210c16(_0x46cc3f([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x46cc3f([0x74,0x72,0x69,0x61,0x6c])&&(_0x455ba7=_0x210c16(_0x46cc3f([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x1fcf92()):_0x46cc3f([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x46cc3f([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x46cc3f([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1df6bf(){const _0x520730=[_0x46cc3f([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x46cc3f([0x74,0x72,0x69,0x61,0x6c])][_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x35c501/0x3e8:0xe10*_0x215247;return _0x648965[_0x46cc3f([0x65,0x78,0x70])]<_0x520730;}function _0x47eb7b(){const _0x21bd42=_0x648965[_0x46cc3f([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x21bd42&&(!!_0x21bd42[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x2a]))||!!_0x21bd42[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x46,0x4f,0x4f])));}function _0x46432b(){const _0x2c36d7=_0x648965[_0x46cc3f([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2c36d7||0x0==_0x2c36d7[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x28e965}=new URL(window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2c36d7[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x28e965))return!0x0;const _0x2849ee=_0x28e965[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e]));return _0x2c36d7[_0x46cc3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3bc0d4=>_0x3bc0d4[_0x46cc3f([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x46cc3f([0x2a])))[_0x46cc3f([0x6d,0x61,0x70])](_0xffbee1=>_0xffbee1[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e])))[_0x46cc3f([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x232b9f=>_0x232b9f[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x2849ee[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46cc3f([0x6d,0x61,0x70])](_0x1ca60e=>Array(_0x2849ee[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x1ca60e[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x46cc3f([0x66,0x69,0x6c,0x6c])](_0x1ca60e[0x0]===_0x46cc3f([0x2a])?_0x46cc3f([0x2a]):'')[_0x46cc3f([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x1ca60e))[_0x46cc3f([0x73,0x6f,0x6d,0x65])](_0xf45e36=>_0x2849ee[_0x46cc3f([0x65,0x76,0x65,0x72,0x79])]((_0x65f9ce,_0x24b12d)=>_0xf45e36[_0x24b12d]===_0x65f9ce||_0xf45e36[_0x24b12d]===_0x46cc3f([0x2a])));}function _0x1fcf92(){return _0x455ba7&&_0x4c7b8d?new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x158881,_0x251a24)=>{_0x455ba7[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x158881,_0x251a24),_0x4c7b8d[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x32ef41=>{_0x32ef41!=_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])&&_0x158881(_0x32ef41);},_0x251a24);}):_0x455ba7||_0x4c7b8d||_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4c57cf(_0x3fccef,_0x23aa99){return new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x25e613=>{if(_0x4a40f6())return _0x25e613(_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]));_0x549a4e(),_0x2064ca[_0x46cc3f([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x2d61b7=!0x1;const _0x3fd1cb=_0x55b78a();function _0x4c2496(_0x4d2562){return!!_0x4d2562&&(typeof _0x4d2562===_0x46cc3f([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4d2562===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4d2562[_0x46cc3f([0x74,0x68,0x65,0x6e])]===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4d2562[_0x46cc3f([0x63,0x61,0x74,0x63,0x68])]===_0x46cc3f([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x283109(_0x27239c){_0x39eda6(_0x27239c)[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x43e01a=>{if(!_0x43e01a||_0x43e01a[_0x46cc3f([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x46cc3f([0x6f,0x6b]))return _0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x56a9fe(_0x58b25c(_0x3fd1cb+_0x23aa99))!=_0x43e01a[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x46cc3f([0x56,0x61,0x6c,0x69,0x64]);})[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x524936=>(_0x304905(),_0x524936),()=>{const _0x3ebac1=_0x1d92e9();return null==_0x3ebac1?(_0x304905(),_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])):_0x46cc3f(_0x35c501-_0x3ebac1>(0x63ae0106^_0x573f70)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x25e613)[_0x46cc3f([0x63,0x61,0x74,0x63,0x68])](()=>{_0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x560361=0x47946b86^_0x573f70;function _0x304905(){const _0x4bc6f6=_0x46cc3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x56a9fe(_0x58b25c(_0x3fccef)),_0x720a20=_0x45136a(_0x56a9fe(window[_0x46cc3f([0x4d,0x61,0x74,0x68])][_0x46cc3f([0x63,0x65,0x69,0x6c])](_0x35c501/_0x560361)));window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46cc3f([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4bc6f6,_0x720a20);}function _0x1d92e9(){const _0x52d9bb=_0x46cc3f([0x6c,0x6c,0x63,0x74,0x2d])+_0x56a9fe(_0x58b25c(_0x3fccef)),_0x156ebc=window[_0x46cc3f([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x46cc3f([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x52d9bb);return _0x156ebc?window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x45136a(_0x156ebc),0x10)*_0x560361:null;}function _0x39eda6(_0x3f2029){return new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x430665,_0x1e1278)=>{_0x3f2029[_0x46cc3f([0x74,0x68,0x65,0x6e])](_0x430665,_0x1e1278),window[_0x46cc3f([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x1e1278,0x47a351c6^_0x573f70);});}}_0x2064ca[_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x5a2b29,_0x50a5fc)=>{if(_0x50a5fc[0x0]!=_0x3fccef)return _0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x50a5fc[0x1]={..._0x50a5fc[0x1],[_0x46cc3f([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x3fd1cb};},{[_0x46cc3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46cc3f([0x68,0x69,0x67,0x68])}),_0x2064ca[_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x56c514=>{_0x4c2496(_0x56c514[_0x46cc3f([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x2d61b7=!0x0,_0x283109(_0x56c514[_0x46cc3f([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x46cc3f([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x46cc3f([0x6c,0x6f,0x77])}),_0x246637[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>{_0x2d61b7||_0x25e613(_0x46cc3f([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x4a40f6(){return _0x2064ca[_0x46cc3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46cc3f([0x76,0x69,0x65,0x77])][_0x46cc3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x46cc3f([0x61,0x75,0x74,0x6f]);}function _0x549a4e(){_0x2064ca[_0x46cc3f([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x46cc3f([0x76,0x69,0x65,0x77])][_0x46cc3f([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x46cc3f([0x61,0x75,0x74,0x6f]);}}function _0x210c16(_0x4954a4){const _0x51cfe7=[new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x107ef4=>setTimeout(_0x107ef4,0x47abbbca^_0x573f70)),_0x246637[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>new window[(_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x36e37b=>{let _0x566006=0x0;_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x6f,0x6e])](_0x46cc3f([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x1a767b,_0x5d07c3)=>{_0x5d07c3[0x0][_0x46cc3f([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x566006++,_0x566006==(0x47a284fe^_0x573f70)&&(_0x36e37b(),_0x1a767b[_0x46cc3f([0x6f,0x66,0x66])]());});}))];return window[_0x46cc3f([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x46cc3f([0x72,0x61,0x63,0x65])](_0x51cfe7)[_0x46cc3f([0x74,0x68,0x65,0x6e])](()=>_0x4954a4);}async function _0x3e4069(){await _0x246637,_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x46841a,_0x2064ca[_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c])][_0x46cc3f([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x46841a,_0x2064ca[_0x46cc3f([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x46cc3f([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x21691c(_0x5b1404){const _0x165fb9=_0x28f51b();_0x2064ca[_0x165fb9]=_0x46cc3f([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x5b1404,_0x5b1404!=_0x46cc3f([0x56,0x61,0x6c,0x69,0x64])&&_0x3e4069();}function _0x28f51b(){const _0x3a367f=window[_0x46cc3f([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x46cc3f([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x46cc3f([0x6e,0x6f,0x77])]())[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x46cc3f([0x2e]),'');let _0x2fef5f=_0x46cc3f([0x75]);for(let _0x13e838=0x0;_0x13e838<_0x3a367f[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x13e838+=0x2){let _0x51723a=window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3a367f[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x13e838,_0x13e838+0x2));_0x51723a>=_0x11006d[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x51723a-=_0x11006d[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2fef5f+=_0x11006d[_0x51723a];}return _0x2fef5f;}function _0x5ea593(){const _0x5a3520=_0xdd8640[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e]));if(0x3!=_0x5a3520[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x74a83(_0x5a3520[0x1]);function _0x74a83(_0x4e0b2d){const _0x246c93=_0x2e2f45(_0x4e0b2d);return _0x246c93&&_0x593154()?_0x246c93:null;function _0x593154(){const _0x2592e9=_0x246c93[_0x46cc3f([0x6a,0x74,0x69])],_0x52d7f6=window[_0x46cc3f([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2592e9[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2592e9[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x346046={..._0x246c93,[_0x46cc3f([0x6a,0x74,0x69])]:_0x2592e9[_0x46cc3f([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x2592e9[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x346046[_0x46cc3f([0x76,0x63])],_0x58b25c(_0x346046)==_0x52d7f6;}}}async function _0x4e25e9(){let _0x2b2208=!0x0;try{const _0x1a8058=_0xdd8640[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])](_0x46cc3f([0x2e])),[_0x5cc5fc,_0x33d0fa,_0x5d6a80]=_0x1a8058;return _0x51bf7e(_0x5cc5fc),await _0x5af684(_0x5cc5fc,_0x33d0fa,_0x5d6a80),_0x2b2208;}catch{return!0x1;}function _0x51bf7e(_0x34a572){const _0xbe28bb=_0x2e2f45(_0x34a572);_0xbe28bb&&_0xbe28bb[_0x46cc3f([0x61,0x6c,0x67])]==_0x46cc3f([0x45,0x53,0x32,0x35,0x36])||(_0x2b2208=!0x1);}async function _0x5af684(_0x2a3e4c,_0x1f21ce,_0x2a0ab4){const _0x390635=window[_0x46cc3f([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x46cc3f([0x66,0x72,0x6f,0x6d])](_0x1bf94f(_0x2a0ab4),_0x2297e3=>_0x2297e3[_0x46cc3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x67ac5f=new window[(_0x46cc3f([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x46cc3f([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x2a3e4c+_0x46cc3f([0x2e])+_0x1f21ce),_0x470bc7=window[_0x46cc3f([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x46cc3f([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x470bc7)return;const _0x503a1c=await _0x470bc7[_0x46cc3f([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x46cc3f([0x6a,0x77,0x6b]),_0x23aabe,{[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x45,0x43,0x44,0x53,0x41]),[_0x46cc3f([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x46cc3f([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x470bc7[_0x46cc3f([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x45,0x43,0x44,0x53,0x41]),[_0x46cc3f([0x68,0x61,0x73,0x68])]:{[_0x46cc3f([0x6e,0x61,0x6d,0x65])]:_0x46cc3f([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x503a1c,_0x390635,_0x67ac5f)||(_0x2b2208=!0x1);}}function _0x2e2f45(_0x49d349){return _0x49d349[_0x46cc3f([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x46cc3f([0x65,0x79]))?JSON[_0x46cc3f([0x70,0x61,0x72,0x73,0x65])](_0x1bf94f(_0x49d349)):null;}function _0x1bf94f(_0xeb6425){return window[_0x46cc3f([0x61,0x74,0x6f,0x62])](_0xeb6425[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x46cc3f([0x2b]))[_0x46cc3f([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x46cc3f([0x2f])));}function _0x58b25c(_0x32de24){let _0x302a46=0x1505;function _0x551068(_0x1df049){for(let _0x2f4c61=0x0;_0x2f4c61<_0x1df049[_0x46cc3f([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2f4c61++){const _0xe02971=_0x1df049[_0x46cc3f([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2f4c61);_0x302a46=(_0x302a46<<0x5)+_0x302a46+_0xe02971,_0x302a46&=_0x302a46;}}function _0x49afe8(_0x41f574){Array[_0x46cc3f([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x41f574)?_0x41f574[_0x46cc3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49afe8):_0x41f574&&typeof _0x41f574==_0x46cc3f([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x46cc3f([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x41f574)[_0x46cc3f([0x73,0x6f,0x72,0x74])]()[_0x46cc3f([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x920af,_0x5504ec])=>{_0x551068(_0x920af),_0x49afe8(_0x5504ec);}):_0x551068(window[_0x46cc3f([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x41f574));}return _0x49afe8(_0x32de24),_0x302a46>>>0x0;}function _0x56a9fe(_0x5307f9){return _0x5307f9[_0x46cc3f([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x46cc3f([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x46cc3f([0x30]));}function _0x45136a(_0x58f89d){return _0x58f89d[_0x46cc3f([0x73,0x70,0x6c,0x69,0x74])]('')[_0x46cc3f([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x46cc3f([0x6a,0x6f,0x69,0x6e])]('');}function _0x46841a(){}function _0x46cc3f(_0x5698fe){return _0x5698fe['map'](_0x2c2c87=>String['fromCharCode'](_0x2c2c87))['join']('');}_0x21691c(await _0x52e5ef());}(this);}['_moveSelectionToFootnoteDefinition'](_0xf384b3){const {plugins:_0x15d988,editing:_0x27647b,model:_0x4089e8}=this['editor'],_0x182254=_0x15d988['get'](_0x2d4304)['getFootnote'](_0xf384b3);return!!_0x182254&&(_0x4089e8['change'](_0x1b98c1=>{_0x1b98c1['setSelection'](_0x1b98c1['createPositionAt'](_0x182254['definition'],'end'));}),_0x27647b['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x769bc7){const {plugins:_0x3815fa,editing:_0x16427a,model:_0x43fc17}=this['editor'],_0x235004=_0x3815fa['get'](_0x2d4304)['getFootnote'](_0x769bc7);return!!_0x235004&&(_0x43fc17['change'](_0x1b7f49=>{_0x1b7f49['setSelection'](_0x235004['reference'],'on');}),_0x16427a['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x32347b}=this['editor']['model'],_0x2e09cc=this['editor']['config']['get']('footnotes.multiBlock');_0x32347b['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x32347b['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x32347b['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2e09cc?_0x32347b['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x32347b['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x32347b['addChildCheck'](_0x2723ae=>{for(const _0x5d1a88 of _0x2723ae)if('footnoteDefinition'===_0x5d1a88['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5386ab}=this,{conversion:_0x41697d,editing:_0x3f5cd8}=_0x5386ab,{t:t}=_0x5386ab['locale'];_0x41697d['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1e49fd,{writer:_0x21a51a,consumable:_0x1d7851})=>{const _0x421966=_0x1e49fd['getChild'](0x0);if(!_0x421966||!_0x421966['is']('element','a'))return null;const _0x23c8aa=_0x421966['getAttribute']('href')||'';if(!_0x23c8aa['startsWith']('#'))return null;const _0x367629=_0x23c8aa['replace'](/^#/,'');if(!_0x367629)return null;_0x1d7851['consume'](_0x421966,{'name':!0x0,'attributes':['href']});for(const {item:_0x490029}of _0x3f5cd8['view']['createRangeIn'](_0x421966))_0x490029['is']('$textProxy')?_0x1d7851['consume'](_0x490029['textNode'],{'name':!0x0}):_0x490029['is']('element')&&_0x1d7851['consume'](_0x490029,{'name':!0x0});return _0x21a51a['createElement']('footnoteRef',{'footnoteId':_0x367629});}}),_0x41697d['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xa0c237,{writer:_0x4feb92})=>D(_0xa0c237,_0x4feb92)}),_0x41697d['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x1f5af3,{writer:_0x18a85c})=>{const _0x693911=_0x1f5af3['getAttribute']('footnoteCounter');return _0xdeed9a(D(_0x1f5af3,_0x18a85c),_0x18a85c,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x693911)});}});}['_defineDefinitionsConverters'](){const {editor:_0x4c79e9}=this,{t:t}=_0x4c79e9['locale'],{conversion:_0x3b0d56}=_0x4c79e9;_0x3b0d56['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3b0d56['for']('upcast')['add'](_0x528d13=>{_0x528d13['on']('element:ol',(_0x39ed72,_0x591766,_0x490cd9)=>{const _0x4135b7=_0x591766['viewItem'];if(!_0x4135b7['hasClass']('footnotes-list')||!_0x591766['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x490cd9['consumable']['consume'](_0x4135b7,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0xf6059e,modelCursor:_0x144e49}=_0x490cd9['convertChildren'](_0x591766['viewItem'],_0x591766['modelCursor']);_0x591766['modelRange']=_0xf6059e,_0x591766['modelCursor']=_0x144e49;}),_0x528d13['on']('element:hr',(_0xcefbe3,_0x561c41,_0x3432b)=>{const _0x4c3e97=_0x561c41['viewItem'];_0x4c3e97['hasClass']('footnotes-divider')&&_0x561c41['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3432b['consumable']['consume'](_0x4c3e97,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3b0d56['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4a941f,{writer:_0x4e792b})=>v(_0x4e792b)}),_0x3b0d56['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x33f1bf,{writer:_0x2292a8})=>{const _0x84fcd3=v(_0x2292a8,{'data-footnotes-list-label':t('Footnotes')}),_0x2fbadb=_0xdeed9a(_0x84fcd3,_0x2292a8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x2292a8['setCustomProperty']('footnotesDefinitions',!0x0,_0x2fbadb),_0x2fbadb;}});}['_defineDefinitionConverters'](){const {editor:_0x1dfbbf}=this,{conversion:_0x46a8f5,locale:_0x5a1ca5}=_0x1dfbbf,_0x26588c=_0x1dfbbf['config']['get']('footnotes.multiBlock');_0x46a8f5['for']('upcast')['add'](_0x259700=>{_0x259700['on']('element:li',(_0x142938,_0xb24bbd,_0x2dea4f)=>{const _0x5ccd3c=_0xb24bbd['viewItem'];if(!_0x5ccd3c['hasClass']('footnote-definition')||!_0x5ccd3c['getAttribute']('id'))return;const _0x1fdd7f=_0x5ccd3c['parent'];if(!_0x1fdd7f['is']('element','ol')||!_0x1fdd7f['hasClass']('footnotes-list'))return;if(!_0x2dea4f['consumable']['test'](_0x5ccd3c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x22016f=_0x2dea4f['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5ccd3c['getAttribute']('id')});if(!_0x2dea4f['safeInsert'](_0x22016f,_0xb24bbd['modelCursor']))return;_0x2dea4f['consumable']['consume'](_0x5ccd3c,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4bef24=Array['from'](_0x5ccd3c['getChildren']())['find'](_0x1e4a4b=>_0x1e4a4b['is']('element')&&_0x1e4a4b['hasClass']('footnote-content'));for(const _0x4d4d0c of _0x5ccd3c['getChildren']())_0x4d4d0c['is']('element')&&(_0x2dea4f['consumable']['consume'](_0x4d4d0c,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x2dea4f['consumable']['consume'](_0x4d4d0c,{'name':!0x0,'classes':'footnote-content'}));if(_0x4bef24){if(_0x26588c)_0x2dea4f['convertChildren'](_0x4bef24,_0x22016f);else{const _0x45b2a9=_0x2dea4f['writer']['createElement']('footnoteInlineContent');_0x2dea4f['writer']['insert'](_0x45b2a9,_0x22016f),_0x2dea4f['convertChildren'](_0x4bef24,_0x45b2a9);}}_0x2dea4f['updateConversionResult'](_0x22016f,_0xb24bbd);});}),_0x46a8f5['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x351b7c,{writer:_0x310d40})=>b(_0x351b7c,_0x310d40,_0x5a1ca5,{'dataPipeline':!0x0})}),_0x46a8f5['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x56e070,{writer:_0x58ef94})=>b(_0x56e070,_0x58ef94,_0x5a1ca5)});}['_defineBogusParagraphConverters'](){const {editor:_0x42d4b7}=this,{conversion:_0x195723}=_0x42d4b7;_0x42d4b7['config']['get']('footnotes.multiBlock')?(_0x195723['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x195723['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x42d4b7['model']['document'],'change:data',()=>{!function(_0x4f9fa5,_0x28ec6c){const _0x172d4b=_0x4f9fa5['document']['differ'],_0x1d3156=new Set();for(const _0x190846 of _0x172d4b['getChanges']()){const _0x54d334='attribute'==_0x190846['type']?_0x190846['range']['start']['parent']:_0x190846['position']['parent'];_0x54d334['is']('element','footnoteDefinition')&&_0x1d3156['add'](_0x54d334);}for(const _0x40e7a7 of _0x1d3156['values']()){const _0x3315ba=Array['from'](_0x40e7a7['getChildren']())['filter'](_0x534932=>g(_0x534932,_0x28ec6c['mapper']));for(const _0x591683 of _0x3315ba)_0x28ec6c['reconvertItem'](_0x591683);}}(_0x42d4b7['model'],_0x42d4b7['editing']);})):(_0x195723['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x195723['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x2afd0c,{writer:_0xc4e964})=>{const _0x23d482=_0xc4e964['createContainerElement']('span');return _0xc4e964['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x23d482),_0x23d482;}}));}['_defineKeyboardHandlers'](){const {editor:_0x3e4bca}=this,{editing:_0x5b2c60,t:t}=_0x3e4bca,_0x29b6b8=_0x3e4bca['model']['document']['selection'];_0x3e4bca['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x3e4bca['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x5b2c60['view']['document'],'enter',(_0x3d03f5,_0x419f46)=>{const _0x142d5c=function(_0x598d5b){const _0x579ea3=_0x598d5b['getSelectedElement']();if(_0x579ea3?.['is']('element','footnoteRef'))return _0x579ea3;return null;}(_0x29b6b8);if(_0x142d5c){const _0x3aaa31=_0x142d5c['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x3aaa31),_0x419f46['preventDefault'](),_0x3d03f5['stop']();}},{'context':_0x19d4b9});}['_defineClickHandlers'](){const {editor:_0x79795a}=this,{editing:_0x99f699}=_0x79795a;_0x79795a['editing']['view']['addObserver'](_0x35260b),_0x79795a['editing']['view']['addObserver'](_0x2c6cd9);let _0x5dbbde=!0x1;this['listenTo'](_0x99f699['view']['document'],'pointerdown',(_0x7e59a6,_0x21985e)=>{const {target:_0x48216b}=_0x21985e,_0x1fb78b=_0x99f699['view']['document']['selection'];_0x5dbbde=!!(_0x48216b?.['is']('element','a')&&_0x48216b['parent']?.['is']('element','sup')&&_0x48216b['parent']['hasClass']('footnote'))&&_0x1fb78b['getSelectedElement']()===_0x48216b['parent'];},{'priority':'high'}),this['listenTo'](_0x99f699['view']['document'],'click',(_0x152f96,_0x4416be)=>{const {target:_0x57cb4a}=_0x4416be;if(!_0x57cb4a?.['is']('element','a'))return;if(_0x57cb4a['parent']?.['is']('element','sup')&&_0x57cb4a['parent']['hasClass']('footnote')&&!_0x5dbbde)return void _0x4416be['preventDefault']();let _0x34d410=_0x57cb4a['getAttribute']('href');if(!_0x34d410?.['startsWith']('#'))return;_0x34d410=_0x34d410['slice'](0x1);let _0x37c07a=!0x1;(_0x34d410['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x34d410['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x34d410))&&(_0x37c07a=!0x0),_0x37c07a&&(_0x4416be['preventDefault'](),_0x152f96['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x4dd378}={}){return(_0xe92df0,{writer:_0x61d8b1})=>{if(!p(_0xe92df0))return null;if(!_0x4dd378)return _0x61d8b1['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x55151d=_0x61d8b1['createContainerElement']('p');return _0x61d8b1['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x55151d),_0x55151d;};}function p(_0x26d0b0){const {parent:_0x22c078}=_0x26d0b0;if(!_0x22c078?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x22c078['childCount'])return!0x1;for(const _0x34f199 of _0x26d0b0['getAttributeKeys']())if(!_0x34f199['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x34f199)return!0x1;return!0x0;}function g(_0x49c072,_0x22933d){if(!_0x49c072['is']('element','paragraph'))return!0x1;const _0x17279d=_0x22933d['toViewElement'](_0x49c072);return!!_0x17279d&&p(_0x49c072)!==_0x17279d['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x18adaf){return _0x19d4b9(_0x18adaf)&&_0x18adaf['is']('containerElement')&&!!_0x18adaf['getCustomProperty']('footnotesDefinitions');}function v(_0x3bb588,_0x18465a={}){const _0x3b434a=_0x3bb588['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x206f06=_0x3bb588['createContainerElement']('ol',{'class':'footnotes-list'},_0x3bb588['createSlot']());return _0x3bb588['createContainerElement']('div',{'class':'footnotes',..._0x18465a},[_0x3b434a,_0x206f06]);}function D(_0x4e723d,_0x5f117b){const _0x3d3582=_0x4e723d['getAttribute']('footnoteId'),_0x37857d=_0x4e723d['getAttribute']('footnoteCounter'),_0x5b099d=_0x5f117b['createUIElement']('a',{'href':'#'+_0x3d3582},function(_0x25a2b3){const _0x5859a2=this['toDomElement'](_0x25a2b3);return _0x5859a2['textContent']=_0x37857d,_0x5859a2;}),_0x29e4fa=_0x5f117b['createContainerElement']('sup',{'id':'ref-'+_0x3d3582,'class':'footnote'},[_0x5b099d]);return _0x29e4fa['getFillerOffset']=()=>null,_0x29e4fa;}function b(_0x575d0e,_0x4f3517,_0x3da5e1,{dataPipeline:_0x31766a}={}){const {t:t}=_0x3da5e1,_0x472515=_0x575d0e['getAttribute']('footnoteId'),_0x4e0d7b=_0x4f3517['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x472515},function(_0x4c6971){const _0x52d3a9=this['toDomElement'](_0x4c6971);return _0x52d3a9['innerText']='^',_0x52d3a9;}),_0x4f4f0a=_0x31766a?_0x4f3517['createContainerElement']('div',{'class':'footnote-content'}):_0x481f65(_0x4f3517['createEditableElement']('div',{'class':'footnote-content'}),_0x4f3517,{'label':t('Footnote\x20content.')});return _0x4f3517['insert'](_0x4f3517['createPositionAt'](_0x4f4f0a,0x0),_0x4f3517['createSlot']()),_0x4f3517['createContainerElement']('li',{'class':'footnote-definition','id':_0x472515},[_0x4e0d7b,_0x4f4f0a]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x89bd(_0x14641a,_0x11b006){const _0x28edd9=_0x28ed();return _0x89bd=function(_0x89bdcf,_0x2bd960){_0x89bdcf=_0x89bdcf-0x1dd;let _0x22a321=_0x28edd9[_0x89bdcf];return _0x22a321;},_0x89bd(_0x14641a,_0x11b006);}const _0x330803=_0x89bd;(function(_0x360212,_0x1031ab){const _0x23587d=_0x89bd,_0x43e1ef=_0x360212();while(!![]){try{const _0x113b9b=parseInt(_0x23587d(0x1f1))/0x1+parseInt(_0x23587d(0x1ed))/0x2+-parseInt(_0x23587d(0x1e2))/0x3+parseInt(_0x23587d(0x1f0))/0x4*(-parseInt(_0x23587d(0x1dd))/0x5)+parseInt(_0x23587d(0x1e3))/0x6+parseInt(_0x23587d(0x1de))/0x7+-parseInt(_0x23587d(0x1f2))/0x8;if(_0x113b9b===_0x1031ab)break;else _0x43e1ef['push'](_0x43e1ef['shift']());}catch(_0x44d2bc){_0x43e1ef['push'](_0x43e1ef['shift']());}}}(_0x28ed,0xd469e));import{Command as _0x519c52}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x1322a6}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x519c52{[_0x330803(0x1df)](){const _0x55f926=_0x330803,{editor:_0x14629e}=this,_0x517bb5=_0x14629e[_0x55f926(0x1ee)][_0x55f926(0x1e7)](_0x1322a6)[_0x55f926(0x1e0)]();this[_0x55f926(0x1e6)]=!!_0x517bb5,this[_0x55f926(0x1ea)]=_0x517bb5?.[_0x55f926(0x1ef)](_0x55f926(0x1e1))??null;}[_0x330803(0x1eb)]({value:_0xb9c4d5}){const _0x5b6ae6=_0x330803,{editor:_0x9a55ee}=this,_0x5f380b=_0x9a55ee[_0x5b6ae6(0x1ee)][_0x5b6ae6(0x1e7)](_0x1322a6),_0x246797=_0x5f380b[_0x5b6ae6(0x1e0)]();_0x246797&&Number[_0x5b6ae6(0x1e4)](_0xb9c4d5)&&_0x9a55ee[_0x5b6ae6(0x1ec)][_0x5b6ae6(0x1e5)](_0x1f491d=>{const _0x5b0b61=_0x5b6ae6;_0x1f491d[_0x5b0b61(0x1e8)](_0x5b0b61(0x1e1),_0xb9c4d5,_0x246797),_0x5f380b[_0x5b0b61(0x1e9)](_0x1f491d);});}}function _0x28ed(){const _0x16b5f7=['getFootnotesDefinitionsObjectElement','footnotesListStart','1859823LtzIyb','1024998mUMgsv','isInteger','change','isEnabled','get','setAttribute','_updateFootnotesCounters','value','execute','model','1080058jkxLwj','plugins','getAttribute','4kgmGXo','610779PLRDsA','4358208zBNHId','2518170FNNesL','8517292jHAXNo','refresh'];_0x28ed=function(){return _0x16b5f7;};return _0x28ed();}
23
+ const _0x2d4803=_0x3002;(function(_0x4aeca6,_0x53b355){const _0x5b4d91=_0x3002,_0x1b1135=_0x4aeca6();while(!![]){try{const _0x2080ef=-parseInt(_0x5b4d91(0xc4))/0x1*(parseInt(_0x5b4d91(0xc8))/0x2)+parseInt(_0x5b4d91(0xc3))/0x3+parseInt(_0x5b4d91(0xca))/0x4+-parseInt(_0x5b4d91(0xc1))/0x5+-parseInt(_0x5b4d91(0xc2))/0x6+parseInt(_0x5b4d91(0xc6))/0x7*(-parseInt(_0x5b4d91(0xbf))/0x8)+-parseInt(_0x5b4d91(0xba))/0x9*(-parseInt(_0x5b4d91(0xbb))/0xa);if(_0x2080ef===_0x53b355)break;else _0x1b1135['push'](_0x1b1135['shift']());}catch(_0xffd6d4){_0x1b1135['push'](_0x1b1135['shift']());}}}(_0x17f8,0x290c8));function _0x3002(_0x510f75,_0xa6f2b9){const _0x17f8a4=_0x17f8();return _0x3002=function(_0x300223,_0x45fab1){_0x300223=_0x300223-0xb5;let _0x3883ec=_0x17f8a4[_0x300223];return _0x3883ec;},_0x3002(_0x510f75,_0xa6f2b9);}import{Command as _0x2d1214}from'ckeditor5/src/core.js';function _0x17f8(){const _0x380422=['699273tPSLdY','38618nhyvuE','model','1446333QSRkZm','isEnabled','4LmPoSc','value','834964rYlvbr','change','getAttribute','getFootnotesDefinitionsObjectElement','plugins','execute','setAttribute','get','261WWCpNu','150050uflatT','isInteger','_updateFootnotesCounters','refresh','8SRGjDS','footnotesListStart','1499770rDlDBz','750192BTchIF'];_0x17f8=function(){return _0x380422;};return _0x17f8();}import{FootnotesTracker as _0x300172}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x2d1214{[_0x2d4803(0xbe)](){const _0x44276f=_0x2d4803,{editor:_0x5defaa}=this,_0x2fd8e2=_0x5defaa[_0x44276f(0xb6)][_0x44276f(0xb9)](_0x300172)[_0x44276f(0xb5)]();this[_0x44276f(0xc7)]=!!_0x2fd8e2,this[_0x44276f(0xc9)]=_0x2fd8e2?.[_0x44276f(0xcc)](_0x44276f(0xc0))??null;}[_0x2d4803(0xb7)]({value:_0x1703a2}){const _0x69928e=_0x2d4803,{editor:_0xdada29}=this,_0x1e8f0c=_0xdada29[_0x69928e(0xb6)][_0x69928e(0xb9)](_0x300172),_0x43d5f9=_0x1e8f0c[_0x69928e(0xb5)]();_0x43d5f9&&Number[_0x69928e(0xbc)](_0x1703a2)&&_0xdada29[_0x69928e(0xc5)][_0x69928e(0xcb)](_0x51d367=>{const _0x83fd96=_0x69928e;_0x51d367[_0x83fd96(0xb8)](_0x83fd96(0xc0),_0x1703a2,_0x43d5f9),_0x1e8f0c[_0x83fd96(0xbd)](_0x51d367);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5a16d3=_0x280b;(function(_0x2e10e0,_0x5528bf){const _0x3c7555=_0x280b,_0x3ce404=_0x2e10e0();while(!![]){try{const _0x3cd5db=parseInt(_0x3c7555(0xcc))/0x1*(-parseInt(_0x3c7555(0xc5))/0x2)+-parseInt(_0x3c7555(0xc3))/0x3*(-parseInt(_0x3c7555(0xb9))/0x4)+-parseInt(_0x3c7555(0xc8))/0x5+-parseInt(_0x3c7555(0xbb))/0x6+-parseInt(_0x3c7555(0xbc))/0x7+-parseInt(_0x3c7555(0xb5))/0x8*(-parseInt(_0x3c7555(0xb6))/0x9)+-parseInt(_0x3c7555(0xc6))/0xa*(-parseInt(_0x3c7555(0xb8))/0xb);if(_0x3cd5db===_0x5528bf)break;else _0x3ce404['push'](_0x3ce404['shift']());}catch(_0x1c3387){_0x3ce404['push'](_0x3ce404['shift']());}}}(_0x2c83,0xbaff5));import{Command as _0x30e1e3}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x4d651d}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x1be578}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x30e1e3{[_0x5a16d3(0xc0)](){const _0x528dc2=_0x5a16d3,{editor:_0x19dd3d}=this,_0x34261a=_0x19dd3d[_0x528dc2(0xb7)][_0x528dc2(0xc7)](_0x1be578)[_0x528dc2(0xba)]();this[_0x528dc2(0xca)]=!!_0x34261a,this[_0x528dc2(0xc2)]=_0x34261a?.[_0x528dc2(0xbf)](_0x528dc2(0xcd))??null;}[_0x5a16d3(0xbe)]({value:_0x5e637a}){const _0x27559a=_0x5a16d3,{editor:_0x4b4bc0}=this,_0x459c7b=_0x4b4bc0[_0x27559a(0xb7)][_0x27559a(0xc7)](_0x1be578),_0x416364=_0x459c7b[_0x27559a(0xba)]();_0x416364&&_0x4d651d[_0x27559a(0xc1)](_0x5e637a)&&_0x4b4bc0[_0x27559a(0xc4)][_0x27559a(0xcb)](_0x16cd8b=>{const _0x31d00c=_0x27559a;_0x16cd8b[_0x31d00c(0xc9)](_0x31d00c(0xcd),_0x5e637a,_0x416364),_0x459c7b[_0x31d00c(0xbd)](_0x16cd8b);});}}function _0x280b(_0x48a951,_0xa5c3ad){const _0x2c8333=_0x2c83();return _0x280b=function(_0x280b88,_0x5a58c5){_0x280b88=_0x280b88-0xb5;let _0x5e0d9d=_0x2c8333[_0x280b88];return _0x5e0d9d;},_0x280b(_0x48a951,_0xa5c3ad);}function _0x2c83(){const _0x390327=['plugins','80157yZupsv','12036SYaURU','getFootnotesDefinitionsObjectElement','6036360lkORpN','7406889SjOLMJ','_updateFootnotesCounters','execute','getAttribute','refresh','includes','value','1128XJxkig','model','2qTeqBq','3510Jyotud','get','4090075guBZzw','setAttribute','isEnabled','change','595112EeFCIq','footnotesListStyle','4433072MEEVCY','9aopUBK'];_0x2c83=function(){return _0x390327;};return _0x2c83();}
23
+ const _0x478d15=_0x2970;(function(_0x3e04bb,_0x2e8abf){const _0x363d5d=_0x2970,_0x1f68b5=_0x3e04bb();while(!![]){try{const _0x2bdc7c=-parseInt(_0x363d5d(0x18a))/0x1*(-parseInt(_0x363d5d(0x19d))/0x2)+parseInt(_0x363d5d(0x189))/0x3*(parseInt(_0x363d5d(0x194))/0x4)+-parseInt(_0x363d5d(0x19c))/0x5*(-parseInt(_0x363d5d(0x18e))/0x6)+parseInt(_0x363d5d(0x191))/0x7*(parseInt(_0x363d5d(0x18f))/0x8)+-parseInt(_0x363d5d(0x196))/0x9*(-parseInt(_0x363d5d(0x19f))/0xa)+-parseInt(_0x363d5d(0x18c))/0xb+parseInt(_0x363d5d(0x195))/0xc*(-parseInt(_0x363d5d(0x197))/0xd);if(_0x2bdc7c===_0x2e8abf)break;else _0x1f68b5['push'](_0x1f68b5['shift']());}catch(_0x59d4d4){_0x1f68b5['push'](_0x1f68b5['shift']());}}}(_0x24e1,0xa59a9));function _0x24e1(){const _0x53838a=['3786464KaqCeq','_updateFootnotesCounters','6YTRUSc','1914264dxqUjH','value','7CeLRnW','getFootnotesDefinitionsObjectElement','setAttribute','124yJVyiT','23980836NQEDrP','36DEaUwI','13OoXavH','model','execute','isEnabled','getAttribute','2810930QEWRNg','1981546rgYzQA','get','1897310cieNdd','includes','footnotesListStyle','change','plugins','45462qGevPs','1dcTbjy','refresh'];_0x24e1=function(){return _0x53838a;};return _0x24e1();}import{Command as _0x4f8925}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x94bfe4}from'../footnotespropertiesconfig.js';function _0x2970(_0x582b3,_0x477b66){const _0x24e1a5=_0x24e1();return _0x2970=function(_0x297053,_0x409bb0){_0x297053=_0x297053-0x188;let _0x279739=_0x24e1a5[_0x297053];return _0x279739;},_0x2970(_0x582b3,_0x477b66);}import{FootnotesTracker as _0x2b1c53}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x4f8925{[_0x478d15(0x18b)](){const _0x17f702=_0x478d15,{editor:_0x38b1f4}=this,_0x13bd2a=_0x38b1f4[_0x17f702(0x188)][_0x17f702(0x19e)](_0x2b1c53)[_0x17f702(0x192)]();this[_0x17f702(0x19a)]=!!_0x13bd2a,this[_0x17f702(0x190)]=_0x13bd2a?.[_0x17f702(0x19b)](_0x17f702(0x1a1))??null;}[_0x478d15(0x199)]({value:_0x51d011}){const _0x5d0e5d=_0x478d15,{editor:_0x4be381}=this,_0x5e5fec=_0x4be381[_0x5d0e5d(0x188)][_0x5d0e5d(0x19e)](_0x2b1c53),_0x5c89ef=_0x5e5fec[_0x5d0e5d(0x192)]();_0x5c89ef&&_0x94bfe4[_0x5d0e5d(0x1a0)](_0x51d011)&&_0x4be381[_0x5d0e5d(0x198)][_0x5d0e5d(0x1a2)](_0x570944=>{const _0x1c5b85=_0x5d0e5d;_0x570944[_0x1c5b85(0x193)](_0x1c5b85(0x1a1),_0x51d011,_0x5c89ef),_0x5e5fec[_0x1c5b85(0x18d)](_0x570944);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x389930=_0x18bf;function _0x18bf(_0x4d207f,_0x1e40c1){const _0x1ef648=_0x1ef6();return _0x18bf=function(_0x18bf34,_0x3a8177){_0x18bf34=_0x18bf34-0x163;let _0x19775f=_0x1ef648[_0x18bf34];return _0x19775f;},_0x18bf(_0x4d207f,_0x1e40c1);}function _0x1ef6(){const _0x3d588c=['lower-latin','decimal-leading-zero','upper-latin','7451136wbGjQZ','lower-roman','49567752TRZtlR','801539wnEQxA','4008616tasOEl','decimal','5123418fmFfZz','14235stkLAw','1160044KTElUk','lower-alpha','upper-alpha','upper-roman','2148mYyXCd','21MTaeKa'];_0x1ef6=function(){return _0x3d588c;};return _0x1ef6();}(function(_0x2a365e,_0x45c77d){const _0x3617cb=_0x18bf,_0xeb63f9=_0x2a365e();while(!![]){try{const _0x482091=parseInt(_0x3617cb(0x170))/0x1+parseInt(_0x3617cb(0x164))/0x2+-parseInt(_0x3617cb(0x173))/0x3+parseInt(_0x3617cb(0x168))/0x4*(-parseInt(_0x3617cb(0x163))/0x5)+-parseInt(_0x3617cb(0x16d))/0x6+parseInt(_0x3617cb(0x169))/0x7*(-parseInt(_0x3617cb(0x171))/0x8)+parseInt(_0x3617cb(0x16f))/0x9;if(_0x482091===_0x45c77d)break;else _0xeb63f9['push'](_0xeb63f9['shift']());}catch(_0x1c12f5){_0xeb63f9['push'](_0xeb63f9['shift']());}}}(_0x1ef6,0xdd85d));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x389930(0x172),_0x389930(0x16b),_0x389930(0x16a),_0x389930(0x16c),_0x389930(0x165),_0x389930(0x166),_0x389930(0x16e),_0x389930(0x167)];
23
+ const _0x261282=_0x4d21;(function(_0x83477b,_0x2655b5){const _0x1cdd6e=_0x4d21,_0x3c321c=_0x83477b();while(!![]){try{const _0x4965b4=parseInt(_0x1cdd6e(0x15a))/0x1*(parseInt(_0x1cdd6e(0x15c))/0x2)+-parseInt(_0x1cdd6e(0x168))/0x3*(-parseInt(_0x1cdd6e(0x162))/0x4)+-parseInt(_0x1cdd6e(0x159))/0x5+-parseInt(_0x1cdd6e(0x163))/0x6+-parseInt(_0x1cdd6e(0x167))/0x7+parseInt(_0x1cdd6e(0x166))/0x8*(-parseInt(_0x1cdd6e(0x15e))/0x9)+parseInt(_0x1cdd6e(0x160))/0xa;if(_0x4965b4===_0x2655b5)break;else _0x3c321c['push'](_0x3c321c['shift']());}catch(_0x3c57a3){_0x3c321c['push'](_0x3c321c['shift']());}}}(_0x5a4a,0xcacca));function _0x4d21(_0x340593,_0x11e81d){const _0x5a4aa0=_0x5a4a();return _0x4d21=function(_0x4d21dc,_0x156ef6){_0x4d21dc=_0x4d21dc-0x158;let _0x78169d=_0x5a4aa0[_0x4d21dc];return _0x78169d;},_0x4d21(_0x340593,_0x11e81d);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x261282(0x15b),_0x261282(0x15f),_0x261282(0x164),_0x261282(0x165),_0x261282(0x15d),_0x261282(0x169),_0x261282(0x158),_0x261282(0x161)];function _0x5a4a(){const _0x5e2f36=['7538EwCUPc','lower-alpha','9KHDpJd','decimal-leading-zero','35426160VVZfZI','upper-roman','834876EtKqSF','2291568nBLIbr','lower-latin','upper-latin','10306184fkgSAY','7996415LLvsdG','12kIYYWi','upper-alpha','lower-roman','3954075TKLatK','15cjXBMO','decimal'];_0x5a4a=function(){return _0x5e2f36;};return _0x5a4a();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x4ad0(){const _0x44b8b2=['getAttribute','differ','1191602YDtuWJ','document','getItems','upper-latin','name','_defineFormatter','decimal-leading-zero','mapper','parent','_getDefaultListStyle','getChildren','_updateFootnotesCounters','6563412CynPof','schema','upper-roman','getStyle','6329853ADGSJL','insert','_definePostfixer','toUpperCase','1KxPVLw','4aaqdPp','decimal','isNaN','pluginName','upper-alpha','36645IAqJgE','getChanges','attribute:footnotesListStart:footnotesDefinitions','removeAttribute','init','822aYCQUA','consume','_getDefaultStartIndex','list-style-type','downcast','$text','isOfficialPlugin','checkAttribute','1305063CHgRDi','FootnotesPropertiesEditing','toViewElement','registerPostFixer','for','position','from','add','model','modelCursor','footnotesListStyle','footnotesStyle','removeStyle','commands','footnotesStart','44LmNUoL','lower-roman','start','attribute:footnotesListStyle:footnotesDefinitions','hasClass','padStart','nodeAfter','footnotesListStart','get','footnotes.footnotesProperties.defaultStartIndex','floor','setAttribute','_defineConverters','item','footnotesDefinitions','consumable','setStyle','setFootnoteFormatter','find','231180imyDWf','extend','upcast','plugins','type','toLowerCase','isPremiumPlugin','viewItem','651uNKbOL','define','_defineSchema','editor','footnotes.footnotesProperties.defaultListStyle','config','max','lower-alpha','_formatFootnoteListValue','lower-latin','footnotes-list','element','element:ol','51248YvdMMI','writer','createRangeOn','parseInt','hasAttribute','requires','fromCharCode'];_0x4ad0=function(){return _0x44b8b2;};return _0x4ad0();}function _0x375e(_0x2ca41e,_0x1f7dce){const _0x4ad07b=_0x4ad0();return _0x375e=function(_0x375e65,_0x39cd3c){_0x375e65=_0x375e65-0x186;let _0x4064a5=_0x4ad07b[_0x375e65];return _0x4064a5;},_0x375e(_0x2ca41e,_0x1f7dce);}const _0x1467e1=_0x375e;(function(_0x44ec69,_0x158d1c){const _0x1cfbb2=_0x375e,_0x493622=_0x44ec69();while(!![]){try{const _0x54990d=parseInt(_0x1cfbb2(0x1ca))/0x1*(-parseInt(_0x1cfbb2(0x1b6))/0x2)+parseInt(_0x1cfbb2(0x1dd))/0x3*(parseInt(_0x1cfbb2(0x1cb))/0x4)+-parseInt(_0x1cfbb2(0x1d0))/0x5*(parseInt(_0x1cfbb2(0x1d5))/0x6)+parseInt(_0x1cfbb2(0x1a0))/0x7*(parseInt(_0x1cfbb2(0x1ad))/0x8)+parseInt(_0x1cfbb2(0x1c6))/0x9+-parseInt(_0x1cfbb2(0x198))/0xa*(parseInt(_0x1cfbb2(0x1ec))/0xb)+parseInt(_0x1cfbb2(0x1c2))/0xc;if(_0x54990d===_0x158d1c)break;else _0x493622['push'](_0x493622['shift']());}catch(_0x599bda){_0x493622['push'](_0x493622['shift']());}}}(_0x4ad0,0x8fb9d));import{Plugin as _0x415c9b}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x3f0003}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x4df650}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0xf99a7f}from'../footnotestracker.js';import{FootnotesEditing as _0x32938a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x415c9b{static get[_0x1467e1(0x1ce)](){const _0x4af2dd=_0x1467e1;return _0x4af2dd(0x1de);}static get[_0x1467e1(0x1b2)](){return[_0x32938a,_0xf99a7f];}static get[_0x1467e1(0x1db)](){return!0x0;}static get[_0x1467e1(0x19e)](){return!0x0;}[_0x1467e1(0x1d4)](){const _0x433ec8=_0x1467e1,{editor:_0x106a1f}=this;_0x106a1f[_0x433ec8(0x1a5)][_0x433ec8(0x1a1)](_0x433ec8(0x1a4),_0x433ec8(0x1cc)),_0x106a1f[_0x433ec8(0x1a5)][_0x433ec8(0x1a1)](_0x433ec8(0x18e),0x1),_0x106a1f[_0x433ec8(0x1ea)][_0x433ec8(0x1e4)](_0x433ec8(0x1e8),new _0x3f0003(_0x106a1f)),_0x106a1f[_0x433ec8(0x1ea)][_0x433ec8(0x1e4)](_0x433ec8(0x1eb),new _0x4df650(_0x106a1f)),this[_0x433ec8(0x1a2)](),this[_0x433ec8(0x191)](),this[_0x433ec8(0x1bb)](),this[_0x433ec8(0x1c8)]();}[_0x1467e1(0x1a2)](){const _0x221b83=_0x1467e1,{editor:_0x1af80b}=this,{schema:_0x2787f4}=_0x1af80b[_0x221b83(0x1e5)];_0x2787f4[_0x221b83(0x199)](_0x221b83(0x193),{'allowAttributes':[_0x221b83(0x1e7),_0x221b83(0x18c)]});}[_0x1467e1(0x191)](){const _0x4fec22=_0x1467e1,{editor:_0x3d5619}=this,{conversion:_0x1656f6,model:_0x3da2bf}=_0x3d5619,{schema:_0x420d4b}=_0x3da2bf;_0x1656f6[_0x4fec22(0x1e1)](_0x4fec22(0x19a))[_0x4fec22(0x1e4)](_0x483710=>{const _0x403df5=_0x4fec22;_0x483710['on'](_0x403df5(0x1ac),(_0x446d5d,_0x3065c5,_0x1296d8)=>{const _0xfbf513=_0x403df5,_0x4fd639=_0x3065c5[_0xfbf513(0x19f)],_0x2a4da5=_0x3065c5[_0xfbf513(0x1e6)]?.[_0xfbf513(0x1be)];_0x4fd639[_0xfbf513(0x189)](_0xfbf513(0x1aa))&&_0x2a4da5?.['is'](_0xfbf513(0x1ab),_0xfbf513(0x193))&&(function(_0x4830d8,_0x240907,_0x1e3891,_0x416e4f){const _0x2ac966=_0xfbf513;if(!_0x416e4f[_0x2ac966(0x1dc)](_0x240907,_0x2ac966(0x18c)))return;let _0x1a6f90=0x1;const _0x289bf1=_0x1e3891[_0x2ac966(0x194)][_0x2ac966(0x1d6)](_0x4830d8,{'attributes':_0x2ac966(0x187)});if(_0x289bf1){const _0x3e0be3=Number[_0x2ac966(0x1b0)](_0x4830d8[_0x2ac966(0x1b4)](_0x2ac966(0x187)),0xa);Number[_0x2ac966(0x1cd)](_0x3e0be3)||(_0x1a6f90=_0x3e0be3);}!_0x289bf1&&_0x240907[_0x2ac966(0x1b1)](_0x2ac966(0x18c))||_0x1e3891[_0x2ac966(0x1ae)][_0x2ac966(0x190)](_0x2ac966(0x18c),_0x1a6f90,_0x240907);}(_0x4fd639,_0x2a4da5,_0x1296d8,_0x420d4b),function(_0x73c3b4,_0x5df6d6,_0x3041be,_0x7e6f0){const _0x1128ca=_0xfbf513;if(!_0x7e6f0[_0x1128ca(0x1dc)](_0x5df6d6,_0x1128ca(0x1e7)))return;let _0x1194bd=_0x1128ca(0x1cc),_0x3510f5=!0x1;if(_0x3041be[_0x1128ca(0x194)][_0x1128ca(0x1d6)](_0x73c3b4,{'attributes':_0x1128ca(0x19c)})){const _0x186d90={0x1:_0x1128ca(0x1cc),'a':_0x1128ca(0x1a7),'A':_0x1128ca(0x1cf),'i':_0x1128ca(0x186),'I':_0x1128ca(0x1c4)}[_0x73c3b4[_0x1128ca(0x1b4)](_0x1128ca(0x19c))];_0x186d90&&(_0x1194bd=_0x186d90),_0x3510f5=!0x0;}_0x3041be[_0x1128ca(0x194)][_0x1128ca(0x1d6)](_0x73c3b4,{'styles':_0x1128ca(0x1d8)})&&(_0x1194bd=_0x73c3b4[_0x1128ca(0x1c5)](_0x1128ca(0x1d8)),_0x3510f5=!0x0),!_0x3510f5&&_0x5df6d6[_0x1128ca(0x1b1)](_0x1128ca(0x1e7))||_0x3041be[_0x1128ca(0x1ae)][_0x1128ca(0x190)](_0x1128ca(0x1e7),_0x1194bd,_0x5df6d6);}(_0x4fd639,_0x2a4da5,_0x1296d8,_0x420d4b));});}),_0x1656f6[_0x4fec22(0x1e1)](_0x4fec22(0x1d9))[_0x4fec22(0x1e4)](_0x4bff17=>{const _0x2fc12d=_0x4fec22;_0x4bff17['on'](_0x2fc12d(0x1d2),(_0x51766b,_0x735b58,_0x33d53b)=>{const _0x3bcda7=_0x2fc12d;if(!_0x33d53b[_0x3bcda7(0x194)][_0x3bcda7(0x1d6)](_0x735b58[_0x3bcda7(0x192)],_0x51766b[_0x3bcda7(0x1ba)]))return;const _0x2ee6ca=M(_0x735b58[_0x3bcda7(0x192)],_0x33d53b[_0x3bcda7(0x1bd)]),{attributeNewValue:_0x32b6a0}=_0x735b58;null==_0x32b6a0||0x1===_0x32b6a0?_0x33d53b[_0x3bcda7(0x1ae)][_0x3bcda7(0x1d3)](_0x3bcda7(0x187),_0x2ee6ca):_0x33d53b[_0x3bcda7(0x1ae)][_0x3bcda7(0x190)](_0x3bcda7(0x187),String(_0x32b6a0),_0x2ee6ca);}),_0x4bff17['on'](_0x2fc12d(0x188),(_0x48f812,_0x2790f3,_0x5347cc)=>{const _0x17a2a8=_0x2fc12d;if(!_0x5347cc[_0x17a2a8(0x194)][_0x17a2a8(0x1d6)](_0x2790f3[_0x17a2a8(0x192)],_0x48f812[_0x17a2a8(0x1ba)]))return;const _0x46df59=M(_0x2790f3[_0x17a2a8(0x192)],_0x5347cc[_0x17a2a8(0x1bd)]),{attributeNewValue:_0x3c8306}=_0x2790f3;_0x3c8306&&_0x17a2a8(0x1cc)!==_0x3c8306?_0x5347cc[_0x17a2a8(0x1ae)][_0x17a2a8(0x195)](_0x17a2a8(0x1d8),_0x3c8306,_0x46df59):_0x5347cc[_0x17a2a8(0x1ae)][_0x17a2a8(0x1e9)](_0x17a2a8(0x1d8),_0x46df59);});});}[_0x1467e1(0x1c8)](){const _0x189465=_0x1467e1,{editor:_0x15e110}=this,{model:_0x511e01}=_0x15e110,_0x193c9c=_0x15e110[_0x189465(0x19b)][_0x189465(0x18d)](_0xf99a7f),_0x54c0d5=this[_0x189465(0x1bf)](),_0x57ce3d=this[_0x189465(0x1d7)]();_0x511e01[_0x189465(0x1b7)][_0x189465(0x1e0)](_0x25559e=>{const _0x1c3bd5=_0x189465,_0xf84111=_0x511e01[_0x1c3bd5(0x1b7)][_0x1c3bd5(0x1b5)][_0x1c3bd5(0x1d1)]();let _0xa29d53=!0x1;for(const _0x307ef1 of _0xf84111){if(_0x1c3bd5(0x1c7)!==_0x307ef1[_0x1c3bd5(0x19c)]||_0x1c3bd5(0x1da)===_0x307ef1[_0x1c3bd5(0x1ba)])continue;const _0x53db88=_0x511e01[_0x1c3bd5(0x1af)](_0x307ef1[_0x1c3bd5(0x1e2)][_0x1c3bd5(0x18b)]);for(const _0x448512 of _0x53db88[_0x1c3bd5(0x1b8)]())_0x448512['is'](_0x1c3bd5(0x1ab),_0x1c3bd5(0x193))&&(!_0x448512[_0x1c3bd5(0x1b1)](_0x1c3bd5(0x18c))&&_0x511e01[_0x1c3bd5(0x1c3)][_0x1c3bd5(0x1dc)](_0x448512,_0x1c3bd5(0x18c))&&(_0x25559e[_0x1c3bd5(0x190)](_0x1c3bd5(0x18c),_0x57ce3d,_0x448512),_0xa29d53=!0x0),!_0x448512[_0x1c3bd5(0x1b1)](_0x1c3bd5(0x1e7))&&_0x511e01[_0x1c3bd5(0x1c3)][_0x1c3bd5(0x1dc)](_0x448512,_0x1c3bd5(0x1e7))&&(_0x25559e[_0x1c3bd5(0x190)](_0x1c3bd5(0x1e7),_0x54c0d5,_0x448512),_0xa29d53=!0x0));}return _0xa29d53&&_0x193c9c[_0x1c3bd5(0x1c1)](_0x25559e),_0xa29d53;});}[_0x1467e1(0x1bb)](){const _0x10ba71=_0x1467e1,{editor:_0x3c0b66}=this;_0x3c0b66[_0x10ba71(0x19b)][_0x10ba71(0x18d)](_0xf99a7f)[_0x10ba71(0x196)](_0x19ee4c=>this[_0x10ba71(0x1a8)](_0x19ee4c));}[_0x1467e1(0x1bf)](){const _0x2d157d=_0x1467e1;return this[_0x2d157d(0x1a3)][_0x2d157d(0x1a5)][_0x2d157d(0x18d)](_0x2d157d(0x1a4));}[_0x1467e1(0x1d7)](){const _0x2cfc61=_0x1467e1;return this[_0x2cfc61(0x1a3)][_0x2cfc61(0x1a5)][_0x2cfc61(0x18d)](_0x2cfc61(0x18e));}[_0x1467e1(0x1a8)]({container:_0x5d9c09,value:_0x732a39,digits:_0x535f46}){const _0x12ae45=_0x1467e1,_0x51fdf5=_0x5d9c09[_0x12ae45(0x1b4)](_0x12ae45(0x1e7)),_0x254220=_0x5d9c09[_0x12ae45(0x1b4)](_0x12ae45(0x18c)),_0xbbe716=Math[_0x12ae45(0x18f)](_0x732a39)+(_0x254220??0x1)-0x1;switch(_0x51fdf5){case _0x12ae45(0x1bc):return function(_0x181fa6,_0x2d957d){const _0x3dd693=_0x12ae45;return String(_0x181fa6)[_0x3dd693(0x18a)](_0x2d957d,'0');}(_0xbbe716,Math[_0x12ae45(0x1a6)](0x2,_0x535f46));case _0x12ae45(0x1a7):case _0x12ae45(0x1a9):return N(_0xbbe716,!0x1);case _0x12ae45(0x1cf):case _0x12ae45(0x1b9):return N(_0xbbe716,!0x0);case _0x12ae45(0x186):return X(_0xbbe716,!0x1);case _0x12ae45(0x1c4):return X(_0xbbe716,!0x0);default:return String(_0xbbe716);}}}function M(_0x5d9451,_0x5a5eab){const _0x2623fd=_0x1467e1,_0x2f1daf=_0x5a5eab[_0x2623fd(0x1df)](_0x5d9451);return Array[_0x2623fd(0x1e3)](_0x2f1daf[_0x2623fd(0x1c0)]())[_0x2623fd(0x197)](_0xd5bcc7=>_0xd5bcc7['is'](_0x2623fd(0x1ab),'ol')&&_0xd5bcc7[_0x2623fd(0x189)](_0x2623fd(0x1aa)));}function N(_0x495178,_0x2d96a6){const _0x322c1f=_0x1467e1;let _0x44a1a6='',_0xef03b=_0x495178;for(;_0xef03b>0x0;){const _0x5d9573=(_0xef03b-0x1)%0x1a;_0x44a1a6=String[_0x322c1f(0x1b3)](0x61+_0x5d9573)+_0x44a1a6,_0xef03b=Math[_0x322c1f(0x18f)]((_0xef03b-0x1)/0x1a);}return _0x2d96a6?_0x44a1a6[_0x322c1f(0x1c9)]():_0x44a1a6;}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(_0x4dd889,_0x43d8a4){const _0x13d932=_0x1467e1;let _0x3ae327='',_0xbf06bd=_0x4dd889;for(const {value:_0x463fbe,numeral:_0x45b0a9}of V)for(;_0xbf06bd>=_0x463fbe;)_0x3ae327+=_0x45b0a9,_0xbf06bd-=_0x463fbe;return _0x43d8a4?_0x3ae327:_0x3ae327[_0x13d932(0x19d)]();}
23
+ const _0x547bb2=_0x19a0;(function(_0x57139b,_0x5bbb76){const _0x5a2240=_0x19a0,_0xe8d705=_0x57139b();while(!![]){try{const _0x4d5d49=-parseInt(_0x5a2240(0x11c))/0x1*(-parseInt(_0x5a2240(0x12c))/0x2)+-parseInt(_0x5a2240(0x157))/0x3*(parseInt(_0x5a2240(0x123))/0x4)+-parseInt(_0x5a2240(0x136))/0x5+parseInt(_0x5a2240(0x148))/0x6*(parseInt(_0x5a2240(0x13a))/0x7)+parseInt(_0x5a2240(0x145))/0x8+parseInt(_0x5a2240(0x147))/0x9*(parseInt(_0x5a2240(0x132))/0xa)+-parseInt(_0x5a2240(0x125))/0xb;if(_0x4d5d49===_0x5bbb76)break;else _0xe8d705['push'](_0xe8d705['shift']());}catch(_0x57b4cc){_0xe8d705['push'](_0xe8d705['shift']());}}}(_0x4f06,0xd58b7));import{Plugin as _0x3a9cf5}from'ckeditor5/src/core.js';function _0x19a0(_0x516f9d,_0x478aa3){const _0x4f0624=_0x4f06();return _0x19a0=function(_0x19a0b9,_0x9fec16){_0x19a0b9=_0x19a0b9-0xf9;let _0x18e6db=_0x4f0624[_0x19a0b9];return _0x18e6db;},_0x19a0(_0x516f9d,_0x478aa3);}import{FootnotesStyleCommand as _0x355e0a}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x630741}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x27313b}from'../footnotestracker.js';import{FootnotesEditing as _0x1f2305}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x3a9cf5{static get[_0x547bb2(0x13f)](){const _0x3e486a=_0x547bb2;return _0x3e486a(0x10b);}static get[_0x547bb2(0x13e)](){return[_0x1f2305,_0x27313b];}static get[_0x547bb2(0x133)](){return!0x0;}static get[_0x547bb2(0x156)](){return!0x0;}[_0x547bb2(0x15c)](){const _0x51cfa8=_0x547bb2,{editor:_0x519acf}=this;_0x519acf[_0x51cfa8(0x114)][_0x51cfa8(0x126)](_0x51cfa8(0xfd),_0x51cfa8(0x121)),_0x519acf[_0x51cfa8(0x114)][_0x51cfa8(0x126)](_0x51cfa8(0x135),0x1),_0x519acf[_0x51cfa8(0x122)][_0x51cfa8(0x102)](_0x51cfa8(0xfb),new _0x355e0a(_0x519acf)),_0x519acf[_0x51cfa8(0x122)][_0x51cfa8(0x102)](_0x51cfa8(0x128),new _0x630741(_0x519acf)),this[_0x51cfa8(0x11f)](),this[_0x51cfa8(0x11a)](),this[_0x51cfa8(0x149)](),this[_0x51cfa8(0x127)]();}[_0x547bb2(0x11f)](){const _0xc7dd18=_0x547bb2,{editor:_0x4e929c}=this,{schema:_0x34c2c0}=_0x4e929c[_0xc7dd18(0x155)];_0x34c2c0[_0xc7dd18(0x124)](_0xc7dd18(0x118),{'allowAttributes':[_0xc7dd18(0x10e),_0xc7dd18(0x152)]});}[_0x547bb2(0x11a)](){const _0x12413b=_0x547bb2,{editor:_0x5406d2}=this,{conversion:_0x2c1ecf,model:_0x3ffef3}=_0x5406d2,{schema:_0x274b80}=_0x3ffef3;_0x2c1ecf[_0x12413b(0x140)](_0x12413b(0xfe))[_0x12413b(0x102)](_0x44777e=>{const _0x4e6e57=_0x12413b;_0x44777e['on'](_0x4e6e57(0x104),(_0x2ec08a,_0x5f4e27,_0x19b557)=>{const _0x3963b5=_0x4e6e57,_0xdc81a3=_0x5f4e27[_0x3963b5(0x100)],_0x3d19d9=_0x5f4e27[_0x3963b5(0x150)]?.[_0x3963b5(0x15b)];_0xdc81a3[_0x3963b5(0x10d)](_0x3963b5(0xff))&&_0x3d19d9?.['is'](_0x3963b5(0x116),_0x3963b5(0x118))&&(function(_0x171265,_0x171757,_0xc21443,_0x29840e){const _0x5eab63=_0x3963b5;if(!_0x29840e[_0x5eab63(0x15e)](_0x171757,_0x5eab63(0x152)))return;let _0x4317e6=0x1;const _0x30b607=_0xc21443[_0x5eab63(0x12a)][_0x5eab63(0x144)](_0x171265,{'attributes':_0x5eab63(0x109)});if(_0x30b607){const _0xb6dd7=Number[_0x5eab63(0x14f)](_0x171265[_0x5eab63(0xfa)](_0x5eab63(0x109)),0xa);Number[_0x5eab63(0x15a)](_0xb6dd7)||(_0x4317e6=_0xb6dd7);}!_0x30b607&&_0x171757[_0x5eab63(0x13c)](_0x5eab63(0x152))||_0xc21443[_0x5eab63(0x131)][_0x5eab63(0x146)](_0x5eab63(0x152),_0x4317e6,_0x171757);}(_0xdc81a3,_0x3d19d9,_0x19b557,_0x274b80),function(_0x54493e,_0x97aedd,_0xe8d2e8,_0x199419){const _0x51f8d1=_0x3963b5;if(!_0x199419[_0x51f8d1(0x15e)](_0x97aedd,_0x51f8d1(0x10e)))return;let _0x1637dc=_0x51f8d1(0x121),_0x1b35db=!0x1;if(_0xe8d2e8[_0x51f8d1(0x12a)][_0x51f8d1(0x144)](_0x54493e,{'attributes':_0x51f8d1(0x113)})){const _0x451a89={0x1:_0x51f8d1(0x121),'a':_0x51f8d1(0x14b),'A':_0x51f8d1(0x103),'i':_0x51f8d1(0x159),'I':_0x51f8d1(0x130)}[_0x54493e[_0x51f8d1(0xfa)](_0x51f8d1(0x113))];_0x451a89&&(_0x1637dc=_0x451a89),_0x1b35db=!0x0;}_0xe8d2e8[_0x51f8d1(0x12a)][_0x51f8d1(0x144)](_0x54493e,{'styles':_0x51f8d1(0x110)})&&(_0x1637dc=_0x54493e[_0x51f8d1(0x105)](_0x51f8d1(0x110)),_0x1b35db=!0x0),!_0x1b35db&&_0x97aedd[_0x51f8d1(0x13c)](_0x51f8d1(0x10e))||_0xe8d2e8[_0x51f8d1(0x131)][_0x51f8d1(0x146)](_0x51f8d1(0x10e),_0x1637dc,_0x97aedd);}(_0xdc81a3,_0x3d19d9,_0x19b557,_0x274b80));});}),_0x2c1ecf[_0x12413b(0x140)](_0x12413b(0x158))[_0x12413b(0x102)](_0x576288=>{const _0x577620=_0x12413b;_0x576288['on'](_0x577620(0x10c),(_0x11c931,_0x768bc2,_0x43e04c)=>{const _0x3fd508=_0x577620;if(!_0x43e04c[_0x3fd508(0x12a)][_0x3fd508(0x144)](_0x768bc2[_0x3fd508(0x153)],_0x11c931[_0x3fd508(0x106)]))return;const _0x347083=M(_0x768bc2[_0x3fd508(0x153)],_0x43e04c[_0x3fd508(0x11e)]),{attributeNewValue:_0x144cd2}=_0x768bc2;null==_0x144cd2||0x1===_0x144cd2?_0x43e04c[_0x3fd508(0x131)][_0x3fd508(0x112)](_0x3fd508(0x109),_0x347083):_0x43e04c[_0x3fd508(0x131)][_0x3fd508(0x146)](_0x3fd508(0x109),String(_0x144cd2),_0x347083);}),_0x576288['on'](_0x577620(0x117),(_0x46a4c1,_0x5094e8,_0x53ced6)=>{const _0x1ccb6d=_0x577620;if(!_0x53ced6[_0x1ccb6d(0x12a)][_0x1ccb6d(0x144)](_0x5094e8[_0x1ccb6d(0x153)],_0x46a4c1[_0x1ccb6d(0x106)]))return;const _0x39e844=M(_0x5094e8[_0x1ccb6d(0x153)],_0x53ced6[_0x1ccb6d(0x11e)]),{attributeNewValue:_0x2aa64c}=_0x5094e8;_0x2aa64c&&_0x1ccb6d(0x121)!==_0x2aa64c?_0x53ced6[_0x1ccb6d(0x131)][_0x1ccb6d(0x10f)](_0x1ccb6d(0x110),_0x2aa64c,_0x39e844):_0x53ced6[_0x1ccb6d(0x131)][_0x1ccb6d(0x101)](_0x1ccb6d(0x110),_0x39e844);});});}[_0x547bb2(0x127)](){const _0x435a32=_0x547bb2,{editor:_0x51cc0a}=this,{model:_0x3a10ff}=_0x51cc0a,_0x26f257=_0x51cc0a[_0x435a32(0x12f)][_0x435a32(0x14d)](_0x27313b),_0x218138=this[_0x435a32(0x129)](),_0x2c540c=this[_0x435a32(0x14c)]();_0x3a10ff[_0x435a32(0x154)][_0x435a32(0x107)](_0x134aff=>{const _0x8976ab=_0x435a32,_0x1120c3=_0x3a10ff[_0x8976ab(0x154)][_0x8976ab(0x13d)][_0x8976ab(0x14a)]();let _0x4d888d=!0x1;for(const _0x620aae of _0x1120c3){if(_0x8976ab(0xfc)!==_0x620aae[_0x8976ab(0x113)]||_0x8976ab(0x115)===_0x620aae[_0x8976ab(0x106)])continue;const _0x4e74e5=_0x3a10ff[_0x8976ab(0x120)](_0x620aae[_0x8976ab(0x139)][_0x8976ab(0x119)]);for(const _0x54965f of _0x4e74e5[_0x8976ab(0xf9)]())_0x54965f['is'](_0x8976ab(0x116),_0x8976ab(0x118))&&(!_0x54965f[_0x8976ab(0x13c)](_0x8976ab(0x152))&&_0x3a10ff[_0x8976ab(0x12e)][_0x8976ab(0x15e)](_0x54965f,_0x8976ab(0x152))&&(_0x134aff[_0x8976ab(0x146)](_0x8976ab(0x152),_0x2c540c,_0x54965f),_0x4d888d=!0x0),!_0x54965f[_0x8976ab(0x13c)](_0x8976ab(0x10e))&&_0x3a10ff[_0x8976ab(0x12e)][_0x8976ab(0x15e)](_0x54965f,_0x8976ab(0x10e))&&(_0x134aff[_0x8976ab(0x146)](_0x8976ab(0x10e),_0x218138,_0x54965f),_0x4d888d=!0x0));}return _0x4d888d&&_0x26f257[_0x8976ab(0x10a)](_0x134aff),_0x4d888d;});}[_0x547bb2(0x149)](){const _0x46d310=_0x547bb2,{editor:_0x42f492}=this;_0x42f492[_0x46d310(0x12f)][_0x46d310(0x14d)](_0x27313b)[_0x46d310(0x138)](_0x3dd2df=>this[_0x46d310(0x13b)](_0x3dd2df));}[_0x547bb2(0x129)](){const _0x605991=_0x547bb2;return this[_0x605991(0x111)][_0x605991(0x114)][_0x605991(0x14d)](_0x605991(0xfd));}[_0x547bb2(0x14c)](){const _0x3c39c7=_0x547bb2;return this[_0x3c39c7(0x111)][_0x3c39c7(0x114)][_0x3c39c7(0x14d)](_0x3c39c7(0x135));}[_0x547bb2(0x13b)]({container:_0x40c827,value:_0x4054b7,digits:_0x467a57}){const _0x3c6160=_0x547bb2,_0x1b718e=_0x40c827[_0x3c6160(0xfa)](_0x3c6160(0x10e)),_0x1e958e=_0x40c827[_0x3c6160(0xfa)](_0x3c6160(0x152)),_0x14fd3f=Math[_0x3c6160(0x12b)](_0x4054b7)+(_0x1e958e??0x1)-0x1;switch(_0x1b718e){case _0x3c6160(0x141):return function(_0x34c8f6,_0x3bb3c0){const _0x1dab4c=_0x3c6160;return String(_0x34c8f6)[_0x1dab4c(0x11b)](_0x3bb3c0,'0');}(_0x14fd3f,Math[_0x3c6160(0x137)](0x2,_0x467a57));case _0x3c6160(0x14b):case _0x3c6160(0x108):return N(_0x14fd3f,!0x1);case _0x3c6160(0x103):case _0x3c6160(0x134):return N(_0x14fd3f,!0x0);case _0x3c6160(0x159):return X(_0x14fd3f,!0x1);case _0x3c6160(0x130):return X(_0x14fd3f,!0x0);default:return String(_0x14fd3f);}}}function M(_0x56d2fe,_0x528a4d){const _0xa7d5b9=_0x547bb2,_0x21ff23=_0x528a4d[_0xa7d5b9(0x11d)](_0x56d2fe);return Array[_0xa7d5b9(0x142)](_0x21ff23[_0xa7d5b9(0x151)]())[_0xa7d5b9(0x12d)](_0x58ddf1=>_0x58ddf1['is'](_0xa7d5b9(0x116),'ol')&&_0x58ddf1[_0xa7d5b9(0x10d)](_0xa7d5b9(0xff)));}function N(_0x383e01,_0x5020bb){const _0x143611=_0x547bb2;let _0xb8cb0e='',_0x522f3d=_0x383e01;for(;_0x522f3d>0x0;){const _0x4bbd99=(_0x522f3d-0x1)%0x1a;_0xb8cb0e=String[_0x143611(0x15d)](0x61+_0x4bbd99)+_0xb8cb0e,_0x522f3d=Math[_0x143611(0x12b)]((_0x522f3d-0x1)/0x1a);}return _0x5020bb?_0xb8cb0e[_0x143611(0x14e)]():_0xb8cb0e;}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 _0x4f06(){const _0x5a5ee9=['18367vtLYXt','toViewElement','mapper','_defineSchema','createRangeOn','decimal','commands','16ERcBUu','extend','1790723EcnCmY','define','_definePostfixer','footnotesStart','_getDefaultListStyle','consumable','floor','88vZMMEq','find','schema','plugins','upper-roman','writer','687070YZHCJk','isOfficialPlugin','upper-latin','footnotes.footnotesProperties.defaultStartIndex','8603620hsexyU','max','setFootnoteFormatter','position','63fNlWPK','_formatFootnoteListValue','hasAttribute','differ','requires','pluginName','for','decimal-leading-zero','from','toLowerCase','consume','9276824qblmMZ','setAttribute','180xyaAzN','728814qfUPlB','_defineFormatter','getChanges','lower-alpha','_getDefaultStartIndex','get','toUpperCase','parseInt','modelCursor','getChildren','footnotesListStart','item','document','model','isPremiumPlugin','1257687EpGQDE','downcast','lower-roman','isNaN','parent','init','fromCharCode','checkAttribute','getItems','getAttribute','footnotesStyle','insert','footnotes.footnotesProperties.defaultListStyle','upcast','footnotes-list','viewItem','removeStyle','add','upper-alpha','element:ol','getStyle','name','registerPostFixer','lower-latin','start','_updateFootnotesCounters','FootnotesPropertiesEditing','attribute:footnotesListStart:footnotesDefinitions','hasClass','footnotesListStyle','setStyle','list-style-type','editor','removeAttribute','type','config','$text','element','attribute:footnotesListStyle:footnotesDefinitions','footnotesDefinitions','nodeAfter','_defineConverters','padStart'];_0x4f06=function(){return _0x5a5ee9;};return _0x4f06();}function X(_0x33a9a5,_0x2e1626){const _0x202357=_0x547bb2;let _0x109abc='',_0x5c50eb=_0x33a9a5;for(const {value:_0x3d5ac7,numeral:_0x3feb63}of V)for(;_0x5c50eb>=_0x3d5ac7;)_0x109abc+=_0x3feb63,_0x5c50eb-=_0x3d5ac7;return _0x2e1626?_0x109abc:_0x109abc[_0x202357(0x143)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x8196bf,ButtonView as _0x36963f,ContextualBalloon as _0x285307,createDropdown as _0x5125f6}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2b906d}from'ckeditor5/src/widget.js';import{Plugin as _0x1ca67f}from'ckeditor5/src/core.js';import{IconFootnote as _0x215c2e,IconListStyleDecimal as _0x3caee7,IconListStyleDecimalLeadingZero as _0x519d4a,IconListStyleLowerLatin as _0x274450,IconListStyleLowerRoman as _0x43bf7a,IconListStyleUpperLatin as _0x25256d,IconListStyleUpperRoman as _0x3fc32a}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x42ebf7}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x45cae7}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1ca67f{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x285307,_0x2b906d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2b3fc6}=this,{componentFactory:_0x419738}=_0x2b3fc6['ui'];_0x2b3fc6['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x419738['add']('footnotesStyle',function(_0x1fcf42){return _0x504f51=>{const {t:t}=_0x504f51,_0x17b4ad=_0x1fcf42['commands']['get']('footnotesStyle'),_0x49fed1=_0x5125f6(_0x504f51),{buttonView:_0x156c97}=_0x49fed1;return _0x49fed1['class']='ck-footnotes-styles-dropdown',_0x49fed1['bind']('isEnabled')['to'](_0x17b4ad,'isEnabled'),_0x156c97['set']({'label':t('Footnotes\x20style'),'icon':_0x215c2e,'tooltip':!0x0}),_0x49fed1['once']('change:isOpen',()=>{const _0xab3cee=function({editor:_0x182e84,dropdownView:_0x19b785}){const {t:t}=_0x182e84['locale'],_0x3d7838=t('Footnotes\x20definitions\x20styles'),_0x191178=function(_0x1e1e6e){const t=_0x1e1e6e['locale']['t'],_0x50a1fb=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x3caee7},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x519d4a},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x43bf7a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3fc32a},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x274450},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x25256d}];return _0x50a1fb['map'](function(_0x5f0ef2){const _0x22f81a=_0x5f0ef2['locale'];return({label:_0xeb3281,icon:_0x411226,tooltip:_0x4021f4,style:_0x64f17})=>{const _0x21c004=_0x5f0ef2['commands']['get']('footnotesStyle'),_0x1e79fa=new _0x36963f(_0x22f81a);return _0x1e79fa['set']({'label':_0xeb3281,'icon':_0x411226,'tooltip':_0x4021f4}),_0x1e79fa['bind']('isOn')['to'](_0x21c004,'value',_0x4eddb9=>_0x4eddb9===_0x64f17),_0x1e79fa['bind']('isEnabled')['to'](_0x21c004,'isEnabled'),_0x1e79fa['on']('execute',()=>{_0x5f0ef2['execute']('footnotesStyle',{'value':_0x64f17}),_0x5f0ef2['editing']['view']['focus']();}),_0x1e79fa;};}(_0x1e1e6e));}(_0x182e84),_0x2d390f=new _0x42ebf7(_0x182e84['locale'],{'styleGridAriaLabel':_0x3d7838,'styleButtonViews':_0x191178});return _0x2d390f['delegate']('execute')['to'](_0x19b785),_0x2d390f['on']('footnotesListStart',(_0x29cc2c,_0x4c6fd6)=>{_0x182e84['execute']('footnotesStart',{'value':_0x4c6fd6['startIndex']});}),_0x2d390f;}({'editor':_0x1fcf42,'dropdownView':_0x49fed1});_0x49fed1['panelView']['children']['add'](_0xab3cee);}),_0x49fed1;};}(_0x2b3fc6));}['afterInit'](){const {editor:_0x119879}=this,{t:t}=_0x119879['locale'],_0x409b62=_0x119879['plugins']['get'](_0x2b906d),{defaultPositions:_0x29f44e}=_0x8196bf;_0x409b62['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x119879['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x25cc8f=>{let _0xac2ba2=_0x25cc8f['getFirstPosition']()?.['parent'];return _0xac2ba2?.['is']('$text')&&(_0xac2ba2=_0xac2ba2['parent']),_0xac2ba2?.['is']('element')?_0xac2ba2['findAncestor'](_0x45cae7):null;},'positions':[_0x29f44e['southArrowNorth'],_0x29f44e['southArrowNorthMiddleWest'],_0x29f44e['southArrowNorthMiddleEast'],_0x29f44e['southArrowNorthWest'],_0x29f44e['southArrowNorthEast'],_0x29f44e['northArrowSouth'],_0x29f44e['northArrowSouthMiddleWest'],_0x29f44e['northArrowSouthMiddleEast'],_0x29f44e['northArrowSouthWest'],_0x29f44e['northArrowSouthEast'],_0x29f44e['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x22a277,ButtonView as _0x209d07,ContextualBalloon as _0xe2ba60,createDropdown as _0x35c767}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x35e4ac}from'ckeditor5/src/widget.js';import{Plugin as _0x1e4362}from'ckeditor5/src/core.js';import{IconFootnote as _0x4fc487,IconListStyleDecimal as _0x1c5120,IconListStyleDecimalLeadingZero as _0x82117,IconListStyleLowerLatin as _0x3a9bb1,IconListStyleLowerRoman as _0x5b42dc,IconListStyleUpperLatin as _0x3f3b00,IconListStyleUpperRoman as _0x26890f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5883d0}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2f977d}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x1e4362{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe2ba60,_0x35e4ac];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4cf305}=this,{componentFactory:_0x4463b0}=_0x4cf305['ui'];_0x4cf305['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4463b0['add']('footnotesStyle',function(_0x2cf746){return _0x2a8743=>{const {t:t}=_0x2a8743,_0x3978a2=_0x2cf746['commands']['get']('footnotesStyle'),_0x28efeb=_0x35c767(_0x2a8743),{buttonView:_0x42bc8f}=_0x28efeb;return _0x28efeb['class']='ck-footnotes-styles-dropdown',_0x28efeb['bind']('isEnabled')['to'](_0x3978a2,'isEnabled'),_0x42bc8f['set']({'label':t('Footnotes\x20style'),'icon':_0x4fc487,'tooltip':!0x0}),_0x28efeb['once']('change:isOpen',()=>{const _0x229579=function({editor:_0x2faf94,dropdownView:_0x579947}){const {t:t}=_0x2faf94['locale'],_0x3ffcfe=t('Footnotes\x20definitions\x20styles'),_0x41508e=function(_0x81245){const t=_0x81245['locale']['t'],_0x5b6474=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x1c5120},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x82117},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5b42dc},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x26890f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x3a9bb1},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x3f3b00}];return _0x5b6474['map'](function(_0x161c93){const _0x3a2043=_0x161c93['locale'];return({label:_0x23ac21,icon:_0x2da361,tooltip:_0xd3e5c9,style:_0x4cb521})=>{const _0x239779=_0x161c93['commands']['get']('footnotesStyle'),_0x4d7470=new _0x209d07(_0x3a2043);return _0x4d7470['set']({'label':_0x23ac21,'icon':_0x2da361,'tooltip':_0xd3e5c9}),_0x4d7470['bind']('isOn')['to'](_0x239779,'value',_0x123403=>_0x123403===_0x4cb521),_0x4d7470['bind']('isEnabled')['to'](_0x239779,'isEnabled'),_0x4d7470['on']('execute',()=>{_0x161c93['execute']('footnotesStyle',{'value':_0x4cb521}),_0x161c93['editing']['view']['focus']();}),_0x4d7470;};}(_0x81245));}(_0x2faf94),_0x24df5a=new _0x5883d0(_0x2faf94['locale'],{'styleGridAriaLabel':_0x3ffcfe,'styleButtonViews':_0x41508e});return _0x24df5a['delegate']('execute')['to'](_0x579947),_0x24df5a['on']('footnotesListStart',(_0xc735ac,_0x2612e2)=>{_0x2faf94['execute']('footnotesStart',{'value':_0x2612e2['startIndex']});}),_0x24df5a;}({'editor':_0x2cf746,'dropdownView':_0x28efeb});_0x28efeb['panelView']['children']['add'](_0x229579);}),_0x28efeb;};}(_0x4cf305));}['afterInit'](){const {editor:_0x308218}=this,{t:t}=_0x308218['locale'],_0x50e8b0=_0x308218['plugins']['get'](_0x35e4ac),{defaultPositions:_0x251a04}=_0x22a277;_0x50e8b0['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x308218['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x51cca0=>{let _0x578329=_0x51cca0['getFirstPosition']()?.['parent'];return _0x578329?.['is']('$text')&&(_0x578329=_0x578329['parent']),_0x578329?.['is']('element')?_0x578329['findAncestor'](_0x2f977d):null;},'positions':[_0x251a04['southArrowNorth'],_0x251a04['southArrowNorthMiddleWest'],_0x251a04['southArrowNorthMiddleEast'],_0x251a04['southArrowNorthWest'],_0x251a04['southArrowNorthEast'],_0x251a04['northArrowSouth'],_0x251a04['northArrowSouthMiddleWest'],_0x251a04['northArrowSouthMiddleEast'],_0x251a04['northArrowSouthWest'],_0x251a04['northArrowSouthEast'],_0x251a04['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x131793,View as _0x3afe42,ViewCollection as _0x35614b,FocusCycler as _0x5ca867,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 _0x3afe42{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x35614b();['focusCycler'];constructor(_0x5cb6bd,{styleButtonViews:_0x2f6fa9,styleGridAriaLabel:_0x25d934}){super(_0x5cb6bd),(this['focusCycler']=new _0x5ca867({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x2f6fa9,_0x25d934),[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 _0x587d40 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x587d40['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 _0x467f10=_0x438440=>_0x438440['stopPropagation']();this['keystrokes']['set']('arrowright',_0x467f10),this['keystrokes']['set']('arrowleft',_0x467f10),this['keystrokes']['set']('arrowup',_0x467f10),this['keystrokes']['set']('arrowdown',_0x467f10);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x353eef,_0x90eddb){const _0x4ed6ce=new _0x3afe42(this['locale']);return _0x4ed6ce['children']=_0x4ed6ce['createCollection'](),_0x4ed6ce['children']['addMany'](_0x353eef),_0x4ed6ce['setTemplate']({'tag':'div','attributes':{'aria-label':_0x90eddb,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4ed6ce['children']}),_0x4ed6ce['children']['delegate']('execute')['to'](this),_0x4ed6ce['focus']=function(){for(const _0x7b82f8 of this['children'])if(_0x7b82f8 instanceof _0x131793&&_0x7b82f8['isOn'])return void _0x7b82f8['focus']();this['children']['first']['focus']();},_0x4ed6ce['focusTracker']=new ot(),_0x4ed6ce['keystrokes']=new rt(),_0x4ed6ce['render'](),_0x4ed6ce['keystrokes']['listenTo'](_0x4ed6ce['element']),this['children']['add'](_0x4ed6ce),_0x4ed6ce;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x487c97=this['_createStartIndexPropertyView'](),_0x8afcf8=[_0x487c97],_0x26a5e8=new st(this['locale'],_0x8afcf8);return _0x26a5e8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x26a5e8['buttonView']['bind']('isEnabled')['toMany'](_0x8afcf8,'isEnabled',(..._0x158198)=>_0x158198['some'](_0x3fadaa=>_0x3fadaa)),_0x26a5e8['buttonView']['on']('change:isEnabled',(_0x457099,_0x341257,_0x273126)=>{_0x273126||(_0x26a5e8['isCollapsed']=!0x0);}),this['children']['add'](_0x26a5e8),[_0x487c97,_0x26a5e8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x4d5310=new it(this['locale'],et);return _0x4d5310['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x4d5310['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x4d5310['fieldView']['on']('input',()=>{const _0x1194bd=_0x4d5310['fieldView']['element'],_0x407a69=_0x1194bd['valueAsNumber'];Number['isNaN'](_0x407a69)?_0x4d5310['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x1194bd['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x407a69}):_0x4d5310['errorText']=t(_0x407a69<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x4d5310;}}
23
+ import{ButtonView as _0x3e3749,View as _0x1500a3,ViewCollection as _0x1f8458,FocusCycler as _0x17714d,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 _0x1500a3{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x1f8458();['focusCycler'];constructor(_0x3c9d69,{styleButtonViews:_0x382e0f,styleGridAriaLabel:_0x31dec9}){super(_0x3c9d69),(this['focusCycler']=new _0x17714d({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x382e0f,_0x31dec9),[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 _0x4a2c43 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4a2c43['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 _0x1abcd1=_0x273184=>_0x273184['stopPropagation']();this['keystrokes']['set']('arrowright',_0x1abcd1),this['keystrokes']['set']('arrowleft',_0x1abcd1),this['keystrokes']['set']('arrowup',_0x1abcd1),this['keystrokes']['set']('arrowdown',_0x1abcd1);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x395ecb,_0x178141){const _0x4d5fcb=new _0x1500a3(this['locale']);return _0x4d5fcb['children']=_0x4d5fcb['createCollection'](),_0x4d5fcb['children']['addMany'](_0x395ecb),_0x4d5fcb['setTemplate']({'tag':'div','attributes':{'aria-label':_0x178141,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4d5fcb['children']}),_0x4d5fcb['children']['delegate']('execute')['to'](this),_0x4d5fcb['focus']=function(){for(const _0xefae28 of this['children'])if(_0xefae28 instanceof _0x3e3749&&_0xefae28['isOn'])return void _0xefae28['focus']();this['children']['first']['focus']();},_0x4d5fcb['focusTracker']=new ot(),_0x4d5fcb['keystrokes']=new rt(),_0x4d5fcb['render'](),_0x4d5fcb['keystrokes']['listenTo'](_0x4d5fcb['element']),this['children']['add'](_0x4d5fcb),_0x4d5fcb;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x5d37cc=this['_createStartIndexPropertyView'](),_0x17c6a7=[_0x5d37cc],_0x497293=new st(this['locale'],_0x17c6a7);return _0x497293['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x497293['buttonView']['bind']('isEnabled')['toMany'](_0x17c6a7,'isEnabled',(..._0x5088c6)=>_0x5088c6['some'](_0xe49b03=>_0xe49b03)),_0x497293['buttonView']['on']('change:isEnabled',(_0x46717c,_0x2fd86d,_0x59b5eb)=>{_0x59b5eb||(_0x497293['isCollapsed']=!0x0);}),this['children']['add'](_0x497293),[_0x5d37cc,_0x497293];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0xeb32e2=new it(this['locale'],et);return _0xeb32e2['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0xeb32e2['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0xeb32e2['fieldView']['on']('input',()=>{const _0x8c145c=_0xeb32e2['fieldView']['element'],_0x4a9277=_0x8c145c['valueAsNumber'];Number['isNaN'](_0x4a9277)?_0xeb32e2['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x8c145c['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4a9277}):_0xeb32e2['errorText']=t(_0x4a9277<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0xeb32e2;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0x5507e6=_0x5ac2;function _0x5ac2(_0x38af4d,_0x4b85dd){var _0x58f03c=_0x58f0();return _0x5ac2=function(_0x5ac216,_0x42a531){_0x5ac216=_0x5ac216-0x142;var _0xc42c40=_0x58f03c[_0x5ac216];return _0xc42c40;},_0x5ac2(_0x38af4d,_0x4b85dd);}(function(_0x5dd47d,_0x320abf){var _0x6197dd=_0x5ac2,_0x8bde67=_0x5dd47d();while(!![]){try{var _0x51753c=parseInt(_0x6197dd(0x143))/0x1+-parseInt(_0x6197dd(0x146))/0x2+-parseInt(_0x6197dd(0x148))/0x3+-parseInt(_0x6197dd(0x14c))/0x4*(parseInt(_0x6197dd(0x149))/0x5)+parseInt(_0x6197dd(0x147))/0x6+-parseInt(_0x6197dd(0x14d))/0x7+parseInt(_0x6197dd(0x14f))/0x8*(parseInt(_0x6197dd(0x14b))/0x9);if(_0x51753c===_0x320abf)break;else _0x8bde67['push'](_0x8bde67['shift']());}catch(_0x1e925f){_0x8bde67['push'](_0x8bde67['shift']());}}}(_0x58f0,0xb77b1));import{Plugin as _0x234cb8}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x546be1}from'./footnotesproperties/footnotespropertiesediting.js';function _0x58f0(){var _0x1aaf99=['1384698CMdWBh','2079516iihAxH','5VSyNuJ','isPremiumPlugin','22278447dGpOBv','801428oXPNsq','5413968HKRqiz','pluginName','8ZKgObS','isOfficialPlugin','558138HyZLqa','requires','FootnotesProperties','1691628krjBAr'];_0x58f0=function(){return _0x1aaf99;};return _0x58f0();}import{FootnotesPropertiesUI as _0x182467}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x234cb8{static get[_0x5507e6(0x14e)](){var _0x4b5118=_0x5507e6;return _0x4b5118(0x145);}static get[_0x5507e6(0x144)](){return[_0x546be1,_0x182467];}static get[_0x5507e6(0x142)](){return!0x0;}static get[_0x5507e6(0x14a)](){return!0x0;}}
23
+ function _0x497a(_0x47c70b,_0xa4f343){var _0xb7161a=_0xb716();return _0x497a=function(_0x497aac,_0x5542c5){_0x497aac=_0x497aac-0xb1;var _0x40647b=_0xb7161a[_0x497aac];return _0x40647b;},_0x497a(_0x47c70b,_0xa4f343);}var _0x1ea09c=_0x497a;(function(_0x22eb38,_0x519c55){var _0x525bc5=_0x497a,_0x500d95=_0x22eb38();while(!![]){try{var _0x2e4367=-parseInt(_0x525bc5(0xb2))/0x1+-parseInt(_0x525bc5(0xbc))/0x2*(-parseInt(_0x525bc5(0xbb))/0x3)+parseInt(_0x525bc5(0xbd))/0x4*(-parseInt(_0x525bc5(0xb5))/0x5)+-parseInt(_0x525bc5(0xb6))/0x6*(parseInt(_0x525bc5(0xbf))/0x7)+parseInt(_0x525bc5(0xb8))/0x8*(parseInt(_0x525bc5(0xb7))/0x9)+-parseInt(_0x525bc5(0xba))/0xa+parseInt(_0x525bc5(0xb4))/0xb;if(_0x2e4367===_0x519c55)break;else _0x500d95['push'](_0x500d95['shift']());}catch(_0x2b7fc2){_0x500d95['push'](_0x500d95['shift']());}}}(_0xb716,0x90ad9));import{Plugin as _0x4a748b}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3b4de5}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x2aaa40}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x4a748b{static get[_0x1ea09c(0xb3)](){var _0x4b5ce2=_0x1ea09c;return _0x4b5ce2(0xb9);}static get[_0x1ea09c(0xbe)](){return[_0x3b4de5,_0x2aaa40];}static get[_0x1ea09c(0xb1)](){return!0x0;}static get[_0x1ea09c(0xc0)](){return!0x0;}}function _0xb716(){var _0x2e6b1d=['8286GhPavw','254xSODzy','12PLhpRY','requires','7hcHHiV','isPremiumPlugin','isOfficialPlugin','295373tkaQZz','pluginName','10572001kYtkYL','1618795MLoiHe','1885578SVjKqo','198sEnOrJ','316456bwFSZd','FootnotesProperties','86050uxJfKM'];_0xb716=function(){return _0x2e6b1d;};return _0xb716();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1694(){const _0x2526d0=['append','getFootnotes','195731jPVQVy','footnoteCounter','getFootnotesDefinitionsObjectElement','getFootnote','high','_ensureFootnotesDefinitionsContainerExists','enqueueChange','document','_handleFootnotesDefinitionsObjectSync','_handleRemoveFootnoteReferenceById','model','_ensureFootnotesReferencesHaveProperOrder','_sortFootnoteDefinitions','singleton','before','isOfficialPlugin','root','min','_handleFootnoteDefinitionsChanges','reset','remove','after','getFootnotesFormatter','init','_handleInsertedFootnoteReference','findIndex','compareWith','_insertEmptyFootnotesDefinitionsContainer','has','2424lHqCIs','FootnotesTracker','some','getChildren','splice','listenTo','find','differ','createPositionAt','footnotesDefinitions','createPositionBefore','config','_footnoteDefsContainerTracker','move','_updateFootnotesCounters','_footnotes','_footnotesDefinitions','change:data','createRangeOn','map','end','153FRGKHJ','_updateFootnoteRefCounter','reference','createElement','132785Kfdvyg','412110iaWHeM','footnoteRef','_handleFootnotesDefinitionsObjectChanges','isPremiumPlugin','_footnoteFormatter','get','_footnoteDefsTracker','from','isEqual','_handleMovedFootnoteReference','getAttribute','paragraph','setFootnoteFormatter','push','unshift','pluginName','footnoteDefinition','childCount','750864zfuecM','footnotes.multiBlock','_footnoteRefsTracker','footnoteId','insert','add','set','getRootNames','parent','getChanges','$graveyard','indexOf','_handleFootnoteReferencesChanges','rootName','641895oSTwCb','48sLjqXM','329JQfxjA','low','425970WyzAMu','footnoteInlineContent','editor','length','definition','registerPostFixer','setAttribute','createRangeIn'];_0x1694=function(){return _0x2526d0;};return _0x1694();}const _0x42f411=_0x5a17;(function(_0x43217f,_0x18456c){const _0x5e7e4a=_0x5a17,_0x1b3b55=_0x43217f();while(!![]){try{const _0x5562a9=-parseInt(_0x5e7e4a(0xc9))/0x1+-parseInt(_0x5e7e4a(0x9b))/0x2+parseInt(_0x5e7e4a(0xbb))/0x3+-parseInt(_0x5e7e4a(0xad))/0x4+parseInt(_0x5e7e4a(0x9a))/0x5*(-parseInt(_0x5e7e4a(0xbc))/0x6)+parseInt(_0x5e7e4a(0xbd))/0x7*(-parseInt(_0x5e7e4a(0x81))/0x8)+parseInt(_0x5e7e4a(0x96))/0x9*(parseInt(_0x5e7e4a(0xbf))/0xa);if(_0x5562a9===_0x18456c)break;else _0x1b3b55['push'](_0x1b3b55['shift']());}catch(_0xcc743c){_0x1b3b55['push'](_0x1b3b55['shift']());}}}(_0x1694,0x1dc3b));function _0x5a17(_0x1967f7,_0x533426){const _0x1694e8=_0x1694();return _0x5a17=function(_0x5a17c0,_0x3a3913){_0x5a17c0=_0x5a17c0-0x6c;let _0x58cd42=_0x1694e8[_0x5a17c0];return _0x58cd42;},_0x5a17(_0x1967f7,_0x533426);}import{Plugin as _0x523f25}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x1b4db8}from'./modelelementtracker.js';export class FootnotesTracker extends _0x523f25{[_0x42f411(0x90)]=[];[_0x42f411(0x91)]=null;[_0x42f411(0x9f)]=null;[_0x42f411(0x8d)];[_0x42f411(0xaf)];[_0x42f411(0xa1)];static get[_0x42f411(0xaa)](){const _0x50839c=_0x42f411;return _0x50839c(0x82);}static get[_0x42f411(0x73)](){return!0x0;}static get[_0x42f411(0x9e)](){return!0x0;}constructor(_0x45afe9){const _0x457333=_0x42f411;super(_0x45afe9),this[_0x457333(0x8d)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0x8a),'getElementKey':()=>_0x457333(0x71)}),this[_0x457333(0xaf)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0x9c),'getElementKey':_0xacf941=>_0xacf941[_0x457333(0xa5)](_0x457333(0xb0))}),this[_0x457333(0xa1)]=new _0x1b4db8(this[_0x457333(0xc1)][_0x457333(0x6e)],{'elementName':_0x457333(0xab),'getElementKey':_0x32fe9e=>_0x32fe9e[_0x457333(0xa5)](_0x457333(0xb0))});}[_0x42f411(0x7b)](){const _0x2b3917=_0x42f411,{editor:_0x52519b}=this,{model:_0x414c05,data:_0x55be11}=_0x52519b;_0x414c05[_0x2b3917(0xd0)][_0x2b3917(0xc4)](_0x25a2b9=>{const _0x45f31d=_0x2b3917,_0x23d953=_0x414c05[_0x45f31d(0xd0)][_0x45f31d(0x88)][_0x45f31d(0xb6)]();let _0x594aeb=!0x1;return this[_0x45f31d(0x9d)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0x76)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0xb9)](_0x25a2b9,_0x23d953)&&(_0x594aeb=!0x0),this[_0x45f31d(0x6f)](_0x25a2b9)&&(_0x594aeb=!0x0),this[_0x45f31d(0x6c)](_0x25a2b9)&&(_0x594aeb=!0x0),this[_0x45f31d(0x70)](_0x25a2b9)&&(_0x594aeb=!0x0),_0x594aeb;}),this[_0x2b3917(0x86)](_0x414c05[_0x2b3917(0xd0)],_0x2b3917(0x92),()=>{const _0x498aea=_0x2b3917;_0x414c05[_0x498aea(0xcf)]({'isUndoable':!0x1},_0x3e6ae2=>{const _0x347cfa=_0x498aea;this[_0x347cfa(0xce)](_0x3e6ae2);});},{'priority':_0x2b3917(0xbe)}),this[_0x2b3917(0x86)](_0x55be11,_0x2b3917(0xb3),()=>{const _0x22952f=_0x2b3917;this[_0x22952f(0x90)]=[],this[_0x22952f(0x8d)][_0x22952f(0x77)](),this[_0x22952f(0xaf)][_0x22952f(0x77)](),this[_0x22952f(0xa1)][_0x22952f(0x77)]();},{'priority':_0x2b3917(0xcd)});}[_0x42f411(0xcb)](){const _0x4a818d=_0x42f411;return this[_0x4a818d(0x91)];}[_0x42f411(0xcc)](_0x405d25){const _0x5b3d96=_0x42f411;return this[_0x5b3d96(0x90)][_0x5b3d96(0x87)](_0x45665a=>_0x45665a['id']===_0x405d25)||null;}[_0x42f411(0xc8)](){const _0x52658c=_0x42f411;return Array[_0x52658c(0xa2)](this[_0x52658c(0x90)]);}[_0x42f411(0x7a)](){const _0x156b04=_0x42f411;return this[_0x156b04(0x9f)];}[_0x42f411(0xa7)](_0x1f9c08){const _0x574794=_0x42f411;this[_0x574794(0x9f)]=_0x1f9c08;}[_0x42f411(0x8f)](_0x53bdc2,_0x2d8dfd=0x0){const _0x43eb9a=_0x42f411;let _0x48d62a=!0x1;for(let _0x3e41a4=_0x2d8dfd;_0x3e41a4<this[_0x43eb9a(0x90)][_0x43eb9a(0xc2)];_0x3e41a4++)this[_0x43eb9a(0x97)](_0x53bdc2,_0x3e41a4)&&(_0x48d62a=!0x0);return _0x48d62a;}[_0x42f411(0x7f)](_0x1c9e60,_0x12a622){const _0x193131=_0x42f411,_0x11419a=_0x1c9e60[_0x193131(0x99)](_0x193131(0x8a),{});return _0x1c9e60[_0x193131(0xc7)](_0x11419a,_0x12a622),this[_0x193131(0x91)]=_0x11419a,_0x11419a;}[_0x42f411(0xce)](_0x56ed9d){const _0x51355b=_0x42f411;if(!this[_0x51355b(0x90)][_0x51355b(0xc2)]||this[_0x51355b(0x91)])return;const _0x14da45=this[_0x51355b(0x90)][0x0][_0x51355b(0x98)][_0x51355b(0x74)],_0x24b674=this[_0x51355b(0x7f)](_0x56ed9d,_0x14da45);for(const _0x3aad89 of this[_0x51355b(0x90)])_0x3aad89[_0x51355b(0xc3)][_0x51355b(0xb5)]||_0x56ed9d[_0x51355b(0xb1)](_0x3aad89[_0x51355b(0xc3)],_0x24b674,_0x51355b(0x95));this[_0x51355b(0x8f)](_0x56ed9d);}[_0x42f411(0x9d)](_0x457345,_0x5d299a){const _0x14f2e4=_0x42f411;let _0x3890e5=!0x1;const {inserted:_0x45a1ae,removed:_0x313713,moved:_0x37db8e}=this[_0x14f2e4(0x8d)][_0x14f2e4(0xb6)](_0x5d299a);if(_0x37db8e[_0x14f2e4(0xc2)]&&(this[_0x14f2e4(0x91)]=_0x37db8e[0x0]),_0x45a1ae[_0x14f2e4(0xc2)]){if(_0x45a1ae[_0x14f2e4(0xc2)]>0x1||this[_0x14f2e4(0x91)]&&_0x45a1ae[_0x14f2e4(0x83)](_0x56de34=>_0x56de34!==this[_0x14f2e4(0x91)])){const _0x226d7d=_0x457345[_0x14f2e4(0x99)](_0x14f2e4(0x8a),{}),_0x46c1fb=[];this[_0x14f2e4(0x91)]&&_0x46c1fb[_0x14f2e4(0xa8)](this[_0x14f2e4(0x91)]),_0x46c1fb[_0x14f2e4(0xa8)](..._0x45a1ae),_0x457345[_0x14f2e4(0xb1)](_0x226d7d,_0x46c1fb[0x0],_0x14f2e4(0x72));for(const _0x2a9bdb of _0x46c1fb)_0x457345[_0x14f2e4(0x8e)](_0x457345[_0x14f2e4(0xc6)](_0x2a9bdb),_0x457345[_0x14f2e4(0x89)](_0x226d7d,_0x14f2e4(0x95))),_0x457345[_0x14f2e4(0x78)](_0x2a9bdb);this[_0x14f2e4(0x91)]=_0x226d7d,this[_0x14f2e4(0x8f)](_0x457345),_0x3890e5=!0x0;}else this[_0x14f2e4(0x91)]=_0x45a1ae[0x0];}if(_0x313713[_0x14f2e4(0xc2)]&&_0x14f2e4(0xb7)===this[_0x14f2e4(0x91)]?.[_0x14f2e4(0x74)][_0x14f2e4(0xba)]){for(const _0xe93e74 of this[_0x14f2e4(0x90)])_0x457345[_0x14f2e4(0x78)](_0xe93e74[_0x14f2e4(0x98)]),_0x3890e5=!0x0;this[_0x14f2e4(0x90)]=[],this[_0x14f2e4(0x91)]=null;}return _0x3890e5;}[_0x42f411(0x76)](_0x558bac,_0x3f6cff){const _0x192d43=_0x42f411;let _0x435383=!0x1;const _0x13a47d=this[_0x192d43(0xc1)][_0x192d43(0x8c)][_0x192d43(0xa0)](_0x192d43(0xae)),{inserted:_0x288e81,moved:_0x7985e}=this[_0x192d43(0xa1)][_0x192d43(0xb6)](_0x3f6cff);for(const _0x3aa24d of[..._0x7985e,..._0x288e81]){const _0x483684=_0x3aa24d[_0x192d43(0xa5)](_0x192d43(0xb0)),_0x3b9e06=this[_0x192d43(0xcc)](_0x483684);_0x3b9e06&&(_0x3b9e06[_0x192d43(0xc3)]=_0x3aa24d),_(_0x558bac,_0x13a47d,_0x3aa24d)&&(_0x435383=!0x0);}return _0x435383;}[_0x42f411(0xb9)](_0xe4fda8,_0x424529){const _0x2f7433=_0x42f411;let _0x1c8ece=!0x1;const {removed:_0x50fde8,inserted:_0x42371b,moved:_0x1ee81f}=this[_0x2f7433(0xaf)][_0x2f7433(0xb6)](_0x424529);for(const _0x4ffb8f of _0x50fde8)this[_0x2f7433(0x6d)](_0xe4fda8,_0x4ffb8f)&&(_0x1c8ece=!0x0);for(const _0x14aab5 of _0x42371b)this[_0x2f7433(0x7c)](_0xe4fda8,_0x14aab5)&&(_0x1c8ece=!0x0);for(const _0xe44418 of _0x1ee81f)this[_0x2f7433(0xa4)](_0xe4fda8,_0xe44418)&&(_0x1c8ece=!0x0);return _0x1c8ece;}[_0x42f411(0x6c)](_0x5b85c1){const _0x2be19c=_0x42f411;if(!this[_0x2be19c(0x91)])return!0x1;let _0x55ddca=!0x1;if(this[_0x2be19c(0x91)][_0x2be19c(0xac)]!==this[_0x2be19c(0x90)][_0x2be19c(0xc2)]){const _0x5918f1=[];for(const _0x59390f of this[_0x2be19c(0x91)][_0x2be19c(0x84)]()){const _0x2bb437=_0x59390f[_0x2be19c(0xa5)](_0x2be19c(0xb0));this[_0x2be19c(0xcc)](_0x2bb437)||(_0x5918f1[_0x2be19c(0xa9)](_0x59390f),_0x55ddca=!0x0);}for(const _0x5ec681 of _0x5918f1)_0x5b85c1[_0x2be19c(0x78)](_0x5ec681);}const _0x29bee4=new Set(),_0x3e5439=[];for(const _0x3ab961 of this[_0x2be19c(0x91)][_0x2be19c(0x84)]()){const _0x2a93e2=_0x3ab961[_0x2be19c(0xa5)](_0x2be19c(0xb0));_0x29bee4[_0x2be19c(0x80)](_0x2a93e2)?(_0x3e5439[_0x2be19c(0xa9)](_0x3ab961),_0x55ddca=!0x0):_0x29bee4[_0x2be19c(0xb2)](_0x2a93e2);}for(const _0x59ff0e of _0x3e5439)_0x5b85c1[_0x2be19c(0x78)](_0x59ff0e);return this[_0x2be19c(0x91)][_0x2be19c(0xac)]||(_0x5b85c1[_0x2be19c(0x78)](this[_0x2be19c(0x91)]),this[_0x2be19c(0x91)]=null,_0x55ddca=!0x0),_0x55ddca;}[_0x42f411(0x7c)](_0x57ec93,_0x22a08d){const _0x2306d6=_0x42f411;if(this[_0x2306d6(0x90)][_0x2306d6(0x87)](_0x106971=>_0x106971[_0x2306d6(0x98)]===_0x22a08d))return!0x1;let _0x568b9b=!0x1;const _0x3771af=_0x22a08d[_0x2306d6(0xa5)](_0x2306d6(0xb0)),_0x521569=this[_0x2306d6(0x90)][_0x2306d6(0x7d)](_0x2910e4=>_0x2910e4['id']===_0x3771af);-0x1!==_0x521569&&(_0x57ec93[_0x2306d6(0x78)](this[_0x2306d6(0x90)][_0x521569][_0x2306d6(0x98)]),this[_0x2306d6(0x90)][_0x2306d6(0x85)](_0x521569,0x1),_0x568b9b=!0x0);let _0x299175=this[_0x2306d6(0x91)]?function(_0x1346af,_0xb5623e){const _0x5d6ce0=_0x2306d6;for(const _0x30dc9f of _0x1346af[_0x5d6ce0(0x84)]())if(_0x30dc9f[_0x5d6ce0(0xa5)](_0x5d6ce0(0xb0))===_0xb5623e)return _0x30dc9f;return null;}(this[_0x2306d6(0x91)],_0x3771af):null;_0x299175||(_0x299175=_0x57ec93[_0x2306d6(0x99)](_0x2306d6(0xab),{'footnoteId':_0x3771af}),this[_0x2306d6(0x91)]&&(_0x57ec93[_0x2306d6(0xb1)](_0x299175,this[_0x2306d6(0x91)],_0x2306d6(0x95)),_0x568b9b=!0x0));const _0x7d8388={'id':_0x3771af,'reference':_0x22a08d,'definition':_0x299175},_0x41bf3f=I(this[_0x2306d6(0xc1)][_0x2306d6(0x6e)],this[_0x2306d6(0x90)],_0x22a08d);this[_0x2306d6(0x90)][_0x2306d6(0x85)](_0x41bf3f,0x0,_0x7d8388);let _0x187cd6=_0x41bf3f;return-0x1!==_0x521569&&(_0x187cd6=Math[_0x2306d6(0x75)](_0x41bf3f,_0x521569)),this[_0x2306d6(0x8f)](_0x57ec93,_0x187cd6)&&(_0x568b9b=!0x0),_0x568b9b;}[_0x42f411(0x6d)](_0x4d9e54,_0x576e9a){const _0x5b93ad=_0x42f411,_0xb13d87=this[_0x5b93ad(0x90)][_0x5b93ad(0x7d)](_0x2c1646=>_0x2c1646['id']===_0x576e9a);if(-0x1===_0xb13d87)return!0x1;let _0x38936e=!0x1;const _0x5d9784=this[_0x5b93ad(0x90)][_0xb13d87];return _0x5b93ad(0xb7)!==_0x5d9784[_0x5b93ad(0xc3)][_0x5b93ad(0x74)][_0x5b93ad(0xba)]&&(_0x4d9e54[_0x5b93ad(0x78)](_0x5d9784[_0x5b93ad(0xc3)]),_0x38936e=!0x0),this[_0x5b93ad(0x90)][_0x5b93ad(0x85)](_0xb13d87,0x1),this[_0x5b93ad(0x8f)](_0x4d9e54,_0xb13d87)&&(_0x38936e=!0x0),_0x38936e;}[_0x42f411(0xa4)](_0x48c1fc,_0x44bb80){const _0x4bf0b7=_0x42f411,_0x4eec6a=_0x44bb80[_0x4bf0b7(0xa5)](_0x4bf0b7(0xb0)),_0x5d9069=this[_0x4bf0b7(0x90)][_0x4bf0b7(0x7d)](_0x3a4f37=>_0x3a4f37['id']===_0x4eec6a),_0x4d3034=this[_0x4bf0b7(0x90)][_0x5d9069];let _0x2d67fc=!0x1;_0x4d3034[_0x4bf0b7(0x98)]=_0x44bb80,this[_0x4bf0b7(0x90)][_0x4bf0b7(0x85)](_0x5d9069,0x1);const _0x7ade22=I(this[_0x4bf0b7(0xc1)][_0x4bf0b7(0x6e)],this[_0x4bf0b7(0x90)],_0x44bb80);return this[_0x4bf0b7(0x90)][_0x4bf0b7(0x85)](_0x7ade22,0x0,_0x4d3034),this[_0x4bf0b7(0x8f)](_0x48c1fc,Math[_0x4bf0b7(0x75)](_0x5d9069,_0x7ade22))&&(_0x2d67fc=!0x0),_0x2d67fc;}[_0x42f411(0x97)](_0x21c9f2,_0x5529e6){const _0x339151=_0x42f411;if(!this[_0x339151(0x91)])return!0x1;const _0x388425=this[_0x339151(0x90)][_0x5529e6];let _0xab62b2;return _0xab62b2=this[_0x339151(0x9f)]?this[_0x339151(0x9f)]({'footnote':_0x388425,'container':this[_0x339151(0x91)],'digits':String(this[_0x339151(0x90)][_0x339151(0xc2)])[_0x339151(0xc2)],'value':_0x5529e6+0x1}):String(_0x5529e6+0x1),_0x388425[_0x339151(0x98)][_0x339151(0xa5)](_0x339151(0xca))!=_0xab62b2&&(_0x21c9f2[_0x339151(0xc5)](_0x339151(0xca),_0xab62b2,_0x388425[_0x339151(0x98)]),!0x0);}[_0x42f411(0x70)](_0x4f5fd4){const _0x685973=_0x42f411;if(!this[_0x685973(0x91)]||this[_0x685973(0x90)][_0x685973(0xc2)]<0x2)return!0x1;if(function(_0x36df9c,_0x36f41a){const _0x662540=_0x685973;if(_0x36df9c[_0x662540(0xc2)]!==_0x36f41a[_0x662540(0xc2)])return!0x1;for(let _0x31e279=0x0;_0x31e279<_0x36df9c[_0x662540(0xc2)];_0x31e279++)if(_0x36df9c[_0x31e279]!==_0x36f41a[_0x31e279])return!0x1;return!0x0;}(this[_0x685973(0x90)][_0x685973(0x94)](_0x938e46=>_0x938e46['id']),Array[_0x685973(0xa2)](this[_0x685973(0x91)][_0x685973(0x84)]())[_0x685973(0x94)](_0x1e1f7f=>_0x1e1f7f[_0x685973(0xa5)](_0x685973(0xb0)))))return!0x1;let _0x1ccff5=!0x1;for(let _0x1eb856=0x0;_0x1eb856<this[_0x685973(0x90)][_0x685973(0xc2)];_0x1eb856++){const _0x363032=this[_0x685973(0x90)][_0x1eb856],_0x545e67=_0x4f5fd4[_0x685973(0x8b)](_0x363032[_0x685973(0xc3)]),_0x56e3d1=_0x4f5fd4[_0x685973(0x89)](this[_0x685973(0x91)],_0x1eb856);_0x545e67[_0x685973(0xa3)](_0x56e3d1)||(_0x4f5fd4[_0x685973(0x8e)](_0x4f5fd4[_0x685973(0x93)](_0x363032[_0x685973(0xc3)]),_0x56e3d1),_0x1ccff5=!0x0);}return _0x1ccff5;}[_0x42f411(0x6f)](_0x248cd5){const _0xab2f4e=_0x42f411;if(!this[_0xab2f4e(0x90)][_0xab2f4e(0xc2)])return!0x1;const {model:_0x2d779c}=this[_0xab2f4e(0xc1)];let _0x18b712=!0x1;for(let _0x273e90=0x0;_0x273e90<this[_0xab2f4e(0x90)][_0xab2f4e(0xc2)]-0x1;_0x273e90++){const _0x3e72b4=this[_0xab2f4e(0x90)][_0x273e90],_0x257ad0=this[_0xab2f4e(0x90)][_0x273e90+0x1],_0x2be6b5=_0x2d779c[_0xab2f4e(0x8b)](_0x3e72b4[_0xab2f4e(0x98)]),_0x3be37c=_0x2d779c[_0xab2f4e(0x8b)](_0x257ad0[_0xab2f4e(0x98)]);_0xab2f4e(0x79)===_0x2be6b5[_0xab2f4e(0x7e)](_0x3be37c)&&(this[_0xab2f4e(0xa4)](_0x248cd5,_0x3e72b4[_0xab2f4e(0x98)]),_0x273e90=-0x1,_0x18b712=!0x0);}return _0x18b712;}}function _(_0x7d6ed1,_0x15beea,_0x49e46b){const _0x344b5d=_0x42f411;if(_0x49e46b[_0x344b5d(0xac)])return!0x1;const _0x4da1e7=_0x15beea?_0x344b5d(0xa6):_0x344b5d(0xc0);return _0x7d6ed1[_0x344b5d(0xb1)](_0x7d6ed1[_0x344b5d(0x99)](_0x4da1e7),_0x49e46b),!0x0;}function I(_0x4878f1,_0x4ba21f,_0x477e2b){const _0x22e663=_0x42f411;if(0x0===_0x4ba21f[_0x22e663(0xc2)])return 0x0;const _0xb6b538=_0x4878f1[_0x22e663(0x8b)](_0x477e2b);for(let _0xe89ba6=0x0;_0xe89ba6<_0x4ba21f[_0x22e663(0xc2)];_0xe89ba6++){const _0x578d7f=_0x4ba21f[_0xe89ba6],_0x2501dd=_0x4878f1[_0x22e663(0x8b)](_0x578d7f[_0x22e663(0x98)]);if(_0x22e663(0x72)===_0xb6b538[_0x22e663(0x7e)](_0x2501dd))return _0xe89ba6;}const _0x25def6=_0x477e2b[_0x22e663(0x74)];let _0x280b52=-0x1;for(let _0xd5bcd1=_0x4ba21f[_0x22e663(0xc2)]-0x1;_0xd5bcd1>=0x0;_0xd5bcd1--)if(_0x4ba21f[_0xd5bcd1][_0x22e663(0x98)][_0x22e663(0x74)]===_0x25def6){_0x280b52=_0xd5bcd1;break;}if(-0x1!==_0x280b52)return _0x280b52+0x1;const _0x2f70af=_0x4878f1[_0x22e663(0xd0)][_0x22e663(0xb4)](),_0x18822e=_0x2f70af[_0x22e663(0xb8)](_0x25def6[_0x22e663(0xba)]),_0x5d8dd0=_0x2f70af[_0x18822e+0x1];if(_0x5d8dd0){for(let _0x28701e=0x0;_0x28701e<_0x4ba21f[_0x22e663(0xc2)];_0x28701e++)if(_0x4ba21f[_0x28701e][_0x22e663(0x98)][_0x22e663(0x74)][_0x22e663(0xba)]===_0x5d8dd0)return _0x28701e;}return _0x4ba21f[_0x22e663(0xc2)];}
23
+ const _0x1d3c90=_0x1d46;(function(_0x84bb10,_0x3fed11){const _0x2b49c4=_0x1d46,_0x254c7d=_0x84bb10();while(!![]){try{const _0x2ffb17=parseInt(_0x2b49c4(0x16e))/0x1*(-parseInt(_0x2b49c4(0x18d))/0x2)+-parseInt(_0x2b49c4(0x17c))/0x3*(parseInt(_0x2b49c4(0x19d))/0x4)+-parseInt(_0x2b49c4(0x186))/0x5+parseInt(_0x2b49c4(0x181))/0x6+parseInt(_0x2b49c4(0x1b9))/0x7*(parseInt(_0x2b49c4(0x18f))/0x8)+parseInt(_0x2b49c4(0x1ba))/0x9*(-parseInt(_0x2b49c4(0x196))/0xa)+parseInt(_0x2b49c4(0x1b7))/0xb;if(_0x2ffb17===_0x3fed11)break;else _0x254c7d['push'](_0x254c7d['shift']());}catch(_0x529066){_0x254c7d['push'](_0x254c7d['shift']());}}}(_0x4450,0xe430e));import{Plugin as _0x17ef0c}from'ckeditor5/src/core.js';function _0x4450(){const _0xc565dd=['_handleMovedFootnoteReference','_footnotesDefinitions','20884bvvDpq','_footnoteRefsTracker','_footnoteDefsContainerTracker','createElement','footnoteInlineContent','getFootnotes','length','createPositionBefore','createRangeIn','document','add','_handleRemoveFootnoteReferenceById','remove','insert','compareWith','rootName','move','before','_sortFootnoteDefinitions','pluginName','append','push','createPositionAt','_ensureFootnotesDefinitionsContainerExists','_insertEmptyFootnotesDefinitionsContainer','setAttribute','47023658hOZAxG','listenTo','28opEvlS','6394347ezuLwg','footnotes.multiBlock','end','registerPostFixer','enqueueChange','isOfficialPlugin','setFootnoteFormatter','getFootnote','getFootnotesDefinitionsObjectElement','singleton','$graveyard','_footnoteFormatter','_footnotes','findIndex','model','splice','footnoteId','_handleFootnoteDefinitionsChanges','getFootnotesFormatter','_ensureFootnotesReferencesHaveProperOrder','getChanges','has','getAttribute','definition','config','editor','1pfLirZ','footnoteRef','isEqual','_footnoteDefsTracker','_handleFootnoteReferencesChanges','init','childCount','FootnotesTracker','_handleFootnotesDefinitionsObjectChanges','differ','reference','get','getRootNames','indexOf','1044HZLizR','_updateFootnoteRefCounter','footnotesDefinitions','set','find','9819528JVZTOR','map','createRangeOn','some','footnoteDefinition','5061885JLBbCN','root','getChildren','_handleInsertedFootnoteReference','min','after','_handleFootnotesDefinitionsObjectSync','3400082AVdRCh','_updateFootnotesCounters','1946992nBmkui','footnoteCounter','low','from','reset','change:data','unshift','20kmZVKK','isPremiumPlugin','paragraph','high','parent'];_0x4450=function(){return _0xc565dd;};return _0x4450();}function _0x1d46(_0x15b8dd,_0x524779){const _0x44503c=_0x4450();return _0x1d46=function(_0x1d4614,_0x118254){_0x1d4614=_0x1d4614-0x169;let _0x7997a2=_0x44503c[_0x1d4614];return _0x7997a2;},_0x1d46(_0x15b8dd,_0x524779);}import{ModelElementTracker as _0x270769}from'./modelelementtracker.js';export class FootnotesTracker extends _0x17ef0c{[_0x1d3c90(0x1c6)]=[];[_0x1d3c90(0x19c)]=null;[_0x1d3c90(0x1c5)]=null;[_0x1d3c90(0x19f)];[_0x1d3c90(0x19e)];[_0x1d3c90(0x171)];static get[_0x1d3c90(0x1b0)](){const _0x3a05da=_0x1d3c90;return _0x3a05da(0x175);}static get[_0x1d3c90(0x1bf)](){return!0x0;}static get[_0x1d3c90(0x197)](){return!0x0;}constructor(_0x4c4776){const _0x431606=_0x1d3c90;super(_0x4c4776),this[_0x431606(0x19f)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x17e),'getElementKey':()=>_0x431606(0x1c3)}),this[_0x431606(0x19e)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x16f),'getElementKey':_0x42ccc7=>_0x42ccc7[_0x431606(0x16a)](_0x431606(0x1ca))}),this[_0x431606(0x171)]=new _0x270769(this[_0x431606(0x16d)][_0x431606(0x1c8)],{'elementName':_0x431606(0x185),'getElementKey':_0x349391=>_0x349391[_0x431606(0x16a)](_0x431606(0x1ca))});}[_0x1d3c90(0x173)](){const _0x4ebb1f=_0x1d3c90,{editor:_0xe4239c}=this,{model:_0x501f57,data:_0x597b98}=_0xe4239c;_0x501f57[_0x4ebb1f(0x1a6)][_0x4ebb1f(0x1bd)](_0x50653f=>{const _0x28dce8=_0x4ebb1f,_0x24952e=_0x501f57[_0x28dce8(0x1a6)][_0x28dce8(0x177)][_0x28dce8(0x1ce)]();let _0x68a27e=!0x1;return this[_0x28dce8(0x176)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1cb)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x172)](_0x50653f,_0x24952e)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1cd)](_0x50653f)&&(_0x68a27e=!0x0),this[_0x28dce8(0x18c)](_0x50653f)&&(_0x68a27e=!0x0),this[_0x28dce8(0x1af)](_0x50653f)&&(_0x68a27e=!0x0),_0x68a27e;}),this[_0x4ebb1f(0x1b8)](_0x501f57[_0x4ebb1f(0x1a6)],_0x4ebb1f(0x194),()=>{const _0x57e809=_0x4ebb1f;_0x501f57[_0x57e809(0x1be)]({'isUndoable':!0x1},_0x454343=>{const _0x4d4b9f=_0x57e809;this[_0x4d4b9f(0x1b4)](_0x454343);});},{'priority':_0x4ebb1f(0x191)}),this[_0x4ebb1f(0x1b8)](_0x597b98,_0x4ebb1f(0x17f),()=>{const _0x4da37d=_0x4ebb1f;this[_0x4da37d(0x1c6)]=[],this[_0x4da37d(0x19f)][_0x4da37d(0x193)](),this[_0x4da37d(0x19e)][_0x4da37d(0x193)](),this[_0x4da37d(0x171)][_0x4da37d(0x193)]();},{'priority':_0x4ebb1f(0x199)});}[_0x1d3c90(0x1c2)](){const _0x474bd1=_0x1d3c90;return this[_0x474bd1(0x19c)];}[_0x1d3c90(0x1c1)](_0x4cf742){const _0x15a46b=_0x1d3c90;return this[_0x15a46b(0x1c6)][_0x15a46b(0x180)](_0x4b2c27=>_0x4b2c27['id']===_0x4cf742)||null;}[_0x1d3c90(0x1a2)](){const _0x223a43=_0x1d3c90;return Array[_0x223a43(0x192)](this[_0x223a43(0x1c6)]);}[_0x1d3c90(0x1cc)](){const _0x1b5687=_0x1d3c90;return this[_0x1b5687(0x1c5)];}[_0x1d3c90(0x1c0)](_0x28e7f5){const _0x5a4bbd=_0x1d3c90;this[_0x5a4bbd(0x1c5)]=_0x28e7f5;}[_0x1d3c90(0x18e)](_0x1fcfb6,_0x1663b1=0x0){const _0x241d1a=_0x1d3c90;let _0xd2c9c2=!0x1;for(let _0x2a2159=_0x1663b1;_0x2a2159<this[_0x241d1a(0x1c6)][_0x241d1a(0x1a3)];_0x2a2159++)this[_0x241d1a(0x17d)](_0x1fcfb6,_0x2a2159)&&(_0xd2c9c2=!0x0);return _0xd2c9c2;}[_0x1d3c90(0x1b5)](_0x17228e,_0x550cd3){const _0x17bb62=_0x1d3c90,_0x37d15e=_0x17228e[_0x17bb62(0x1a0)](_0x17bb62(0x17e),{});return _0x17228e[_0x17bb62(0x1b1)](_0x37d15e,_0x550cd3),this[_0x17bb62(0x19c)]=_0x37d15e,_0x37d15e;}[_0x1d3c90(0x1b4)](_0x49f350){const _0x35e69b=_0x1d3c90;if(!this[_0x35e69b(0x1c6)][_0x35e69b(0x1a3)]||this[_0x35e69b(0x19c)])return;const _0x3573f9=this[_0x35e69b(0x1c6)][0x0][_0x35e69b(0x178)][_0x35e69b(0x187)],_0x56ee8d=this[_0x35e69b(0x1b5)](_0x49f350,_0x3573f9);for(const _0x480207 of this[_0x35e69b(0x1c6)])_0x480207[_0x35e69b(0x16b)][_0x35e69b(0x19a)]||_0x49f350[_0x35e69b(0x1aa)](_0x480207[_0x35e69b(0x16b)],_0x56ee8d,_0x35e69b(0x1bc));this[_0x35e69b(0x18e)](_0x49f350);}[_0x1d3c90(0x176)](_0x16e28b,_0x2a5fc4){const _0x3863f=_0x1d3c90;let _0x517632=!0x1;const {inserted:_0x545c40,removed:_0x523647,moved:_0xb770d7}=this[_0x3863f(0x19f)][_0x3863f(0x1ce)](_0x2a5fc4);if(_0xb770d7[_0x3863f(0x1a3)]&&(this[_0x3863f(0x19c)]=_0xb770d7[0x0]),_0x545c40[_0x3863f(0x1a3)]){if(_0x545c40[_0x3863f(0x1a3)]>0x1||this[_0x3863f(0x19c)]&&_0x545c40[_0x3863f(0x184)](_0x407581=>_0x407581!==this[_0x3863f(0x19c)])){const _0x46b27a=_0x16e28b[_0x3863f(0x1a0)](_0x3863f(0x17e),{}),_0x4d2819=[];this[_0x3863f(0x19c)]&&_0x4d2819[_0x3863f(0x1b2)](this[_0x3863f(0x19c)]),_0x4d2819[_0x3863f(0x1b2)](..._0x545c40),_0x16e28b[_0x3863f(0x1aa)](_0x46b27a,_0x4d2819[0x0],_0x3863f(0x1ae));for(const _0xa6b761 of _0x4d2819)_0x16e28b[_0x3863f(0x1ad)](_0x16e28b[_0x3863f(0x1a5)](_0xa6b761),_0x16e28b[_0x3863f(0x1b3)](_0x46b27a,_0x3863f(0x1bc))),_0x16e28b[_0x3863f(0x1a9)](_0xa6b761);this[_0x3863f(0x19c)]=_0x46b27a,this[_0x3863f(0x18e)](_0x16e28b),_0x517632=!0x0;}else this[_0x3863f(0x19c)]=_0x545c40[0x0];}if(_0x523647[_0x3863f(0x1a3)]&&_0x3863f(0x1c4)===this[_0x3863f(0x19c)]?.[_0x3863f(0x187)][_0x3863f(0x1ac)]){for(const _0x1ef21f of this[_0x3863f(0x1c6)])_0x16e28b[_0x3863f(0x1a9)](_0x1ef21f[_0x3863f(0x178)]),_0x517632=!0x0;this[_0x3863f(0x1c6)]=[],this[_0x3863f(0x19c)]=null;}return _0x517632;}[_0x1d3c90(0x1cb)](_0x1ca5bc,_0x28fe0f){const _0x43587c=_0x1d3c90;let _0x1c359b=!0x1;const _0x18634d=this[_0x43587c(0x16d)][_0x43587c(0x16c)][_0x43587c(0x179)](_0x43587c(0x1bb)),{inserted:_0x3467e9,moved:_0x2e625c}=this[_0x43587c(0x171)][_0x43587c(0x1ce)](_0x28fe0f);for(const _0x431896 of[..._0x2e625c,..._0x3467e9]){const _0x57dd88=_0x431896[_0x43587c(0x16a)](_0x43587c(0x1ca)),_0x5b6b79=this[_0x43587c(0x1c1)](_0x57dd88);_0x5b6b79&&(_0x5b6b79[_0x43587c(0x16b)]=_0x431896),_(_0x1ca5bc,_0x18634d,_0x431896)&&(_0x1c359b=!0x0);}return _0x1c359b;}[_0x1d3c90(0x172)](_0x45ace0,_0x1af7fc){const _0x2d0031=_0x1d3c90;let _0x5b981d=!0x1;const {removed:_0x40538d,inserted:_0x551f2b,moved:_0x5aff1a}=this[_0x2d0031(0x19e)][_0x2d0031(0x1ce)](_0x1af7fc);for(const _0x3c0939 of _0x40538d)this[_0x2d0031(0x1a8)](_0x45ace0,_0x3c0939)&&(_0x5b981d=!0x0);for(const _0x336b8c of _0x551f2b)this[_0x2d0031(0x189)](_0x45ace0,_0x336b8c)&&(_0x5b981d=!0x0);for(const _0x7927af of _0x5aff1a)this[_0x2d0031(0x19b)](_0x45ace0,_0x7927af)&&(_0x5b981d=!0x0);return _0x5b981d;}[_0x1d3c90(0x18c)](_0x385ecc){const _0x393b41=_0x1d3c90;if(!this[_0x393b41(0x19c)])return!0x1;let _0x144654=!0x1;if(this[_0x393b41(0x19c)][_0x393b41(0x174)]!==this[_0x393b41(0x1c6)][_0x393b41(0x1a3)]){const _0x301e1c=[];for(const _0x158d37 of this[_0x393b41(0x19c)][_0x393b41(0x188)]()){const _0x465c3e=_0x158d37[_0x393b41(0x16a)](_0x393b41(0x1ca));this[_0x393b41(0x1c1)](_0x465c3e)||(_0x301e1c[_0x393b41(0x195)](_0x158d37),_0x144654=!0x0);}for(const _0x18b54e of _0x301e1c)_0x385ecc[_0x393b41(0x1a9)](_0x18b54e);}const _0x4d6fb3=new Set(),_0xf7e598=[];for(const _0x33ac5f of this[_0x393b41(0x19c)][_0x393b41(0x188)]()){const _0x45dc86=_0x33ac5f[_0x393b41(0x16a)](_0x393b41(0x1ca));_0x4d6fb3[_0x393b41(0x169)](_0x45dc86)?(_0xf7e598[_0x393b41(0x195)](_0x33ac5f),_0x144654=!0x0):_0x4d6fb3[_0x393b41(0x1a7)](_0x45dc86);}for(const _0x1d0e3f of _0xf7e598)_0x385ecc[_0x393b41(0x1a9)](_0x1d0e3f);return this[_0x393b41(0x19c)][_0x393b41(0x174)]||(_0x385ecc[_0x393b41(0x1a9)](this[_0x393b41(0x19c)]),this[_0x393b41(0x19c)]=null,_0x144654=!0x0),_0x144654;}[_0x1d3c90(0x189)](_0xdb661b,_0x3c24c6){const _0x254ecb=_0x1d3c90;if(this[_0x254ecb(0x1c6)][_0x254ecb(0x180)](_0x122238=>_0x122238[_0x254ecb(0x178)]===_0x3c24c6))return!0x1;let _0x37efd0=!0x1;const _0x1e04d6=_0x3c24c6[_0x254ecb(0x16a)](_0x254ecb(0x1ca)),_0x5fcc09=this[_0x254ecb(0x1c6)][_0x254ecb(0x1c7)](_0x230302=>_0x230302['id']===_0x1e04d6);-0x1!==_0x5fcc09&&(_0xdb661b[_0x254ecb(0x1a9)](this[_0x254ecb(0x1c6)][_0x5fcc09][_0x254ecb(0x178)]),this[_0x254ecb(0x1c6)][_0x254ecb(0x1c9)](_0x5fcc09,0x1),_0x37efd0=!0x0);let _0x52ce3c=this[_0x254ecb(0x19c)]?function(_0x1f0aa6,_0x2949ca){const _0x214e74=_0x254ecb;for(const _0x323f3c of _0x1f0aa6[_0x214e74(0x188)]())if(_0x323f3c[_0x214e74(0x16a)](_0x214e74(0x1ca))===_0x2949ca)return _0x323f3c;return null;}(this[_0x254ecb(0x19c)],_0x1e04d6):null;_0x52ce3c||(_0x52ce3c=_0xdb661b[_0x254ecb(0x1a0)](_0x254ecb(0x185),{'footnoteId':_0x1e04d6}),this[_0x254ecb(0x19c)]&&(_0xdb661b[_0x254ecb(0x1aa)](_0x52ce3c,this[_0x254ecb(0x19c)],_0x254ecb(0x1bc)),_0x37efd0=!0x0));const _0x4f2dbe={'id':_0x1e04d6,'reference':_0x3c24c6,'definition':_0x52ce3c},_0x1eac6d=I(this[_0x254ecb(0x16d)][_0x254ecb(0x1c8)],this[_0x254ecb(0x1c6)],_0x3c24c6);this[_0x254ecb(0x1c6)][_0x254ecb(0x1c9)](_0x1eac6d,0x0,_0x4f2dbe);let _0x2506bc=_0x1eac6d;return-0x1!==_0x5fcc09&&(_0x2506bc=Math[_0x254ecb(0x18a)](_0x1eac6d,_0x5fcc09)),this[_0x254ecb(0x18e)](_0xdb661b,_0x2506bc)&&(_0x37efd0=!0x0),_0x37efd0;}[_0x1d3c90(0x1a8)](_0x2f5ced,_0x3762b8){const _0xddba98=_0x1d3c90,_0x15d4b3=this[_0xddba98(0x1c6)][_0xddba98(0x1c7)](_0x7cc371=>_0x7cc371['id']===_0x3762b8);if(-0x1===_0x15d4b3)return!0x1;let _0x3a6b5c=!0x1;const _0x563232=this[_0xddba98(0x1c6)][_0x15d4b3];return _0xddba98(0x1c4)!==_0x563232[_0xddba98(0x16b)][_0xddba98(0x187)][_0xddba98(0x1ac)]&&(_0x2f5ced[_0xddba98(0x1a9)](_0x563232[_0xddba98(0x16b)]),_0x3a6b5c=!0x0),this[_0xddba98(0x1c6)][_0xddba98(0x1c9)](_0x15d4b3,0x1),this[_0xddba98(0x18e)](_0x2f5ced,_0x15d4b3)&&(_0x3a6b5c=!0x0),_0x3a6b5c;}[_0x1d3c90(0x19b)](_0x29eab7,_0x23ecdd){const _0x4d4d52=_0x1d3c90,_0x5a4732=_0x23ecdd[_0x4d4d52(0x16a)](_0x4d4d52(0x1ca)),_0x179afa=this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c7)](_0xffdca7=>_0xffdca7['id']===_0x5a4732),_0x171981=this[_0x4d4d52(0x1c6)][_0x179afa];let _0x4d40e4=!0x1;_0x171981[_0x4d4d52(0x178)]=_0x23ecdd,this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c9)](_0x179afa,0x1);const _0x551e10=I(this[_0x4d4d52(0x16d)][_0x4d4d52(0x1c8)],this[_0x4d4d52(0x1c6)],_0x23ecdd);return this[_0x4d4d52(0x1c6)][_0x4d4d52(0x1c9)](_0x551e10,0x0,_0x171981),this[_0x4d4d52(0x18e)](_0x29eab7,Math[_0x4d4d52(0x18a)](_0x179afa,_0x551e10))&&(_0x4d40e4=!0x0),_0x4d40e4;}[_0x1d3c90(0x17d)](_0xd23561,_0x52de52){const _0xb14b=_0x1d3c90;if(!this[_0xb14b(0x19c)])return!0x1;const _0x57dbde=this[_0xb14b(0x1c6)][_0x52de52];let _0x5eeda1;return _0x5eeda1=this[_0xb14b(0x1c5)]?this[_0xb14b(0x1c5)]({'footnote':_0x57dbde,'container':this[_0xb14b(0x19c)],'digits':String(this[_0xb14b(0x1c6)][_0xb14b(0x1a3)])[_0xb14b(0x1a3)],'value':_0x52de52+0x1}):String(_0x52de52+0x1),_0x57dbde[_0xb14b(0x178)][_0xb14b(0x16a)](_0xb14b(0x190))!=_0x5eeda1&&(_0xd23561[_0xb14b(0x1b6)](_0xb14b(0x190),_0x5eeda1,_0x57dbde[_0xb14b(0x178)]),!0x0);}[_0x1d3c90(0x1af)](_0x179d42){const _0x35b49d=_0x1d3c90;if(!this[_0x35b49d(0x19c)]||this[_0x35b49d(0x1c6)][_0x35b49d(0x1a3)]<0x2)return!0x1;if(function(_0x1b384a,_0x5d9b63){const _0x527eaf=_0x35b49d;if(_0x1b384a[_0x527eaf(0x1a3)]!==_0x5d9b63[_0x527eaf(0x1a3)])return!0x1;for(let _0x561edf=0x0;_0x561edf<_0x1b384a[_0x527eaf(0x1a3)];_0x561edf++)if(_0x1b384a[_0x561edf]!==_0x5d9b63[_0x561edf])return!0x1;return!0x0;}(this[_0x35b49d(0x1c6)][_0x35b49d(0x182)](_0x31af96=>_0x31af96['id']),Array[_0x35b49d(0x192)](this[_0x35b49d(0x19c)][_0x35b49d(0x188)]())[_0x35b49d(0x182)](_0xce5b1d=>_0xce5b1d[_0x35b49d(0x16a)](_0x35b49d(0x1ca)))))return!0x1;let _0x13eb3f=!0x1;for(let _0x3215f6=0x0;_0x3215f6<this[_0x35b49d(0x1c6)][_0x35b49d(0x1a3)];_0x3215f6++){const _0x20c621=this[_0x35b49d(0x1c6)][_0x3215f6],_0x5191f9=_0x179d42[_0x35b49d(0x1a4)](_0x20c621[_0x35b49d(0x16b)]),_0x1d18f7=_0x179d42[_0x35b49d(0x1b3)](this[_0x35b49d(0x19c)],_0x3215f6);_0x5191f9[_0x35b49d(0x170)](_0x1d18f7)||(_0x179d42[_0x35b49d(0x1ad)](_0x179d42[_0x35b49d(0x183)](_0x20c621[_0x35b49d(0x16b)]),_0x1d18f7),_0x13eb3f=!0x0);}return _0x13eb3f;}[_0x1d3c90(0x1cd)](_0x1ba75a){const _0x6b2523=_0x1d3c90;if(!this[_0x6b2523(0x1c6)][_0x6b2523(0x1a3)])return!0x1;const {model:_0x2d3ac1}=this[_0x6b2523(0x16d)];let _0x5c9c1c=!0x1;for(let _0x2592d5=0x0;_0x2592d5<this[_0x6b2523(0x1c6)][_0x6b2523(0x1a3)]-0x1;_0x2592d5++){const _0x434046=this[_0x6b2523(0x1c6)][_0x2592d5],_0x55926a=this[_0x6b2523(0x1c6)][_0x2592d5+0x1],_0x498ba5=_0x2d3ac1[_0x6b2523(0x1a4)](_0x434046[_0x6b2523(0x178)]),_0x3c37ab=_0x2d3ac1[_0x6b2523(0x1a4)](_0x55926a[_0x6b2523(0x178)]);_0x6b2523(0x18b)===_0x498ba5[_0x6b2523(0x1ab)](_0x3c37ab)&&(this[_0x6b2523(0x19b)](_0x1ba75a,_0x434046[_0x6b2523(0x178)]),_0x2592d5=-0x1,_0x5c9c1c=!0x0);}return _0x5c9c1c;}}function _(_0x2b8d92,_0x3a9040,_0x1c7a17){const _0x4638ee=_0x1d3c90;if(_0x1c7a17[_0x4638ee(0x174)])return!0x1;const _0xc545da=_0x3a9040?_0x4638ee(0x198):_0x4638ee(0x1a1);return _0x2b8d92[_0x4638ee(0x1aa)](_0x2b8d92[_0x4638ee(0x1a0)](_0xc545da),_0x1c7a17),!0x0;}function I(_0x22ded4,_0x1a585f,_0x2b0446){const _0x588525=_0x1d3c90;if(0x0===_0x1a585f[_0x588525(0x1a3)])return 0x0;const _0x59653e=_0x22ded4[_0x588525(0x1a4)](_0x2b0446);for(let _0x33941d=0x0;_0x33941d<_0x1a585f[_0x588525(0x1a3)];_0x33941d++){const _0x32809e=_0x1a585f[_0x33941d],_0x86bfe2=_0x22ded4[_0x588525(0x1a4)](_0x32809e[_0x588525(0x178)]);if(_0x588525(0x1ae)===_0x59653e[_0x588525(0x1ab)](_0x86bfe2))return _0x33941d;}const _0x391a3b=_0x2b0446[_0x588525(0x187)];let _0x99fa2e=-0x1;for(let _0x259c20=_0x1a585f[_0x588525(0x1a3)]-0x1;_0x259c20>=0x0;_0x259c20--)if(_0x1a585f[_0x259c20][_0x588525(0x178)][_0x588525(0x187)]===_0x391a3b){_0x99fa2e=_0x259c20;break;}if(-0x1!==_0x99fa2e)return _0x99fa2e+0x1;const _0x144324=_0x22ded4[_0x588525(0x1a6)][_0x588525(0x17a)](),_0xbb60b0=_0x144324[_0x588525(0x17b)](_0x391a3b[_0x588525(0x1ac)]),_0x1054a2=_0x144324[_0xbb60b0+0x1];if(_0x1054a2){for(let _0x191146=0x0;_0x191146<_0x1a585f[_0x588525(0x1a3)];_0x191146++)if(_0x1a585f[_0x191146][_0x588525(0x178)][_0x588525(0x187)][_0x588525(0x1ac)]===_0x1054a2)return _0x191146;}return _0x1a585f[_0x588525(0x1a3)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x59e458,MenuBarMenuListItemButtonView as _0x44a726}from'ckeditor5/src/ui.js';import{Plugin as _0x48d682}from'ckeditor5/src/core.js';import{IconFootnote as _0x4bcca3}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x48d682{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x1ca99b}=this,{componentFactory:_0x42b017}=_0x1ca99b['ui'];_0x42b017['add']('insertFootnote',x(_0x1ca99b,_0x59e458)),_0x42b017['add']('menuBar:insertFootnote',x(_0x1ca99b,_0x44a726)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3f5ab3=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x1bc382;for(const _0x566167 in _0x3f5ab3){const _0x868fec=_0x566167,_0xb4e75a=_0x3f5ab3[_0x868fec];if('footnotesLicenseKeyValid'==_0xb4e75a||'footnotesLicenseKeyInvalid'==_0xb4e75a||'footnotesLicenseKeyExpired'==_0xb4e75a||'footnotesLicenseKeyDomainLimit'==_0xb4e75a||'footnotesLicenseKeyNotAllowed'==_0xb4e75a||'footnotesLicenseKeyEvaluationLimit'==_0xb4e75a||'footnotesLicenseKeyTrialLimit'==_0xb4e75a||'footnotesLicenseKeyUsageLimit'==_0xb4e75a){delete _0x3f5ab3[_0x868fec],_0x1bc382=_0xb4e75a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x1bc382&&_0x3f5ab3['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x2d0d17,_0xbe240e){const _0x159e3b=_0x2d0d17['commands']['get']('insertFootnote');return _0x263b9c=>{const {t:t}=_0x263b9c,_0x67c18d=new _0xbe240e(_0x263b9c),_0x5049ed=_0x67c18d instanceof _0x44a726;return _0x67c18d['bind']('isEnabled')['to'](_0x159e3b,'isEnabled'),_0x67c18d['set']({'label':t(_0x5049ed?'Footnote':'Insert\x20footnote'),'icon':_0x4bcca3,'tooltip':!0x0}),_0x67c18d['on']('execute',()=>{_0x159e3b['execute'](),_0x2d0d17['editing']['view']['focus']();}),_0x67c18d;};}
23
+ import{ButtonView as _0x1a2f3b,MenuBarMenuListItemButtonView as _0x1a2ef0}from'ckeditor5/src/ui.js';import{Plugin as _0x441868}from'ckeditor5/src/core.js';import{IconFootnote as _0x183d11}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x441868{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4e0ecc}=this,{componentFactory:_0x325f7b}=_0x4e0ecc['ui'];_0x325f7b['add']('insertFootnote',x(_0x4e0ecc,_0x1a2f3b)),_0x325f7b['add']('menuBar:insertFootnote',x(_0x4e0ecc,_0x1a2ef0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x7f5c56=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x42e81a;for(const _0x516ef7 in _0x7f5c56){const _0x329e17=_0x516ef7,_0x45978f=_0x7f5c56[_0x329e17];if('footnotesLicenseKeyValid'==_0x45978f||'footnotesLicenseKeyInvalid'==_0x45978f||'footnotesLicenseKeyExpired'==_0x45978f||'footnotesLicenseKeyDomainLimit'==_0x45978f||'footnotesLicenseKeyNotAllowed'==_0x45978f||'footnotesLicenseKeyEvaluationLimit'==_0x45978f||'footnotesLicenseKeyTrialLimit'==_0x45978f||'footnotesLicenseKeyUsageLimit'==_0x45978f){delete _0x7f5c56[_0x329e17],_0x42e81a=_0x45978f,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x42e81a&&_0x7f5c56['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x42e81a&&_0x7f5c56['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x42e81a&&_0x7f5c56['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x42e81a&&_0x7f5c56['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x59d80d,_0x1d2063){const _0xe0593f=_0x59d80d['commands']['get']('insertFootnote');return _0x56be04=>{const {t:t}=_0x56be04,_0x20f616=new _0x1d2063(_0x56be04),_0xe9a8ec=_0x20f616 instanceof _0x1a2ef0;return _0x20f616['bind']('isEnabled')['to'](_0xe0593f,'isEnabled'),_0x20f616['set']({'label':t(_0xe9a8ec?'Footnote':'Insert\x20footnote'),'icon':_0x183d11,'tooltip':!0x0}),_0x20f616['on']('execute',()=>{_0xe0593f['execute'](),_0x59d80d['editing']['view']['focus']();}),_0x20f616;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x46d17b,_0x2bbe90){var _0x59e0a6=_0x99f7,_0x56e6b7=_0x46d17b();while(!![]){try{var _0x1ee991=parseInt(_0x59e0a6(0xf8))/0x1*(parseInt(_0x59e0a6(0xf7))/0x2)+parseInt(_0x59e0a6(0xf6))/0x3+-parseInt(_0x59e0a6(0xf1))/0x4*(-parseInt(_0x59e0a6(0xf9))/0x5)+-parseInt(_0x59e0a6(0xf2))/0x6+-parseInt(_0x59e0a6(0xef))/0x7*(-parseInt(_0x59e0a6(0xf0))/0x8)+parseInt(_0x59e0a6(0xf4))/0x9*(parseInt(_0x59e0a6(0xf3))/0xa)+-parseInt(_0x59e0a6(0xf5))/0xb;if(_0x1ee991===_0x2bbe90)break;else _0x56e6b7['push'](_0x56e6b7['shift']());}catch(_0x3ecd7b){_0x56e6b7['push'](_0x56e6b7['shift']());}}}(_0x12ce,0x31624));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x99f7(_0x5df070,_0x177ffa){var _0x12ceee=_0x12ce();return _0x99f7=function(_0x99f786,_0x446291){_0x99f786=_0x99f786-0xef;var _0x271928=_0x12ceee[_0x99f786];return _0x271928;},_0x99f7(_0x5df070,_0x177ffa);}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';function _0x12ce(){var _0x1951df=['1096929iVpULI','6prmMLu','8503sQTVJm','904955erZxkX','126BGWrFy','108656kvLBHG','4QNhpca','200682puVXHT','436950rvKXVv','36kwRTCy','8312436XVmDAX'];_0x12ce=function(){return _0x1951df;};return _0x12ce();}
23
+ (function(_0x3021a7,_0x4c533e){var _0x1a50b9=_0x5031,_0x406009=_0x3021a7();while(!![]){try{var _0x57e636=parseInt(_0x1a50b9(0x1e9))/0x1*(parseInt(_0x1a50b9(0x1e2))/0x2)+-parseInt(_0x1a50b9(0x1e4))/0x3+-parseInt(_0x1a50b9(0x1e6))/0x4*(parseInt(_0x1a50b9(0x1e3))/0x5)+-parseInt(_0x1a50b9(0x1e5))/0x6*(-parseInt(_0x1a50b9(0x1ea))/0x7)+parseInt(_0x1a50b9(0x1e8))/0x8*(-parseInt(_0x1a50b9(0x1ec))/0x9)+parseInt(_0x1a50b9(0x1e7))/0xa*(parseInt(_0x1a50b9(0x1eb))/0xb)+-parseInt(_0x1a50b9(0x1ed))/0xc;if(_0x57e636===_0x4c533e)break;else _0x406009['push'](_0x406009['shift']());}catch(_0x3cfa4c){_0x406009['push'](_0x406009['shift']());}}}(_0x318e,0xf2b4d));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x318e(){var _0x165976=['1130776aPkOxA','5HyuYVF','1494828tVuhse','12ehGoiu','2113556WjoTDS','40UVzXuc','24EcLDCq','1EboHQj','6153896IexeMu','4746170bAAXnM','3783357qiTuNP','9211380pdzpVT'];_0x318e=function(){return _0x165976;};return _0x318e();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x5031(_0x5482ad,_0x57d8b1){var _0x318eff=_0x318e();return _0x5031=function(_0x503149,_0x1fee0f){_0x503149=_0x503149-0x1e2;var _0x2ae672=_0x318eff[_0x503149];return _0x2ae672;},_0x5031(_0x5482ad,_0x57d8b1);}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 _0x2b1946=_0x2a30;(function(_0x3458e6,_0x51a497){const _0x2ba836=_0x2a30,_0x21c359=_0x3458e6();while(!![]){try{const _0x4a5080=-parseInt(_0x2ba836(0x172))/0x1*(-parseInt(_0x2ba836(0x16b))/0x2)+parseInt(_0x2ba836(0x173))/0x3*(-parseInt(_0x2ba836(0x166))/0x4)+-parseInt(_0x2ba836(0x164))/0x5+parseInt(_0x2ba836(0x17c))/0x6*(-parseInt(_0x2ba836(0x163))/0x7)+-parseInt(_0x2ba836(0x17e))/0x8+parseInt(_0x2ba836(0x17f))/0x9+parseInt(_0x2ba836(0x177))/0xa;if(_0x4a5080===_0x51a497)break;else _0x21c359['push'](_0x21c359['shift']());}catch(_0x1ba5a6){_0x21c359['push'](_0x21c359['shift']());}}}(_0x3a7b,0x57380));export class ModelElementTracker{[_0x2b1946(0x17d)];[_0x2b1946(0x169)];[_0x2b1946(0x165)];[_0x2b1946(0x16f)]=new Map();constructor(_0x3ffa0e,_0x1a4b89){const _0x3af4a8=_0x2b1946;this[_0x3af4a8(0x17d)]=_0x3ffa0e,this[_0x3af4a8(0x169)]=_0x1a4b89[_0x3af4a8(0x16a)],this[_0x3af4a8(0x165)]=_0x1a4b89[_0x3af4a8(0x17b)];}[_0x2b1946(0x15b)](){const _0x38abb1=_0x2b1946;this[_0x38abb1(0x16f)][_0x38abb1(0x180)]();}[_0x2b1946(0x17a)](_0xd34c41){const _0xe494c1=_0x2b1946,_0x190f61=new Set(),_0x46f7ac=new Map();for(const _0x4df7dd of _0xd34c41){if(_0xe494c1(0x183)===_0x4df7dd[_0xe494c1(0x178)]&&_0xe494c1(0x162)!==_0x4df7dd[_0xe494c1(0x179)]&&_0x4df7dd[_0xe494c1(0x15a)][_0xe494c1(0x160)]){const _0x156bed=this[_0xe494c1(0x17d)][_0xe494c1(0x15d)](_0x4df7dd[_0xe494c1(0x15a)][_0xe494c1(0x160)]);for(const _0x378b79 of _0x156bed[_0xe494c1(0x16c)]()){if(!_0x378b79['is'](_0xe494c1(0x16d),this[_0xe494c1(0x169)]))continue;const _0x33e68c=this[_0xe494c1(0x165)](_0x378b79);_0x46f7ac[_0xe494c1(0x181)](_0x33e68c)||_0x46f7ac[_0xe494c1(0x185)](_0x33e68c,[]),_0x46f7ac[_0xe494c1(0x168)](_0x33e68c)[_0xe494c1(0x171)](_0x378b79);}}if(_0xe494c1(0x170)===_0x4df7dd[_0xe494c1(0x178)]&&_0x4df7dd[_0xe494c1(0x179)]===this[_0xe494c1(0x169)]){const _0x3db20b=this[_0xe494c1(0x165)]({'getAttribute':_0x2dc1eb=>_0x4df7dd[_0xe494c1(0x15f)][_0xe494c1(0x168)](_0x2dc1eb)});_0x190f61[_0xe494c1(0x167)](_0x3db20b);}}for(const [_0x14e001,_0x333973]of this[_0xe494c1(0x16f)])_0xe494c1(0x174)===_0x333973[_0xe494c1(0x182)][_0xe494c1(0x16e)]&&_0x190f61[_0xe494c1(0x167)](_0x14e001);for(const _0x3da6f6 of _0x190f61)this[_0xe494c1(0x16f)][_0xe494c1(0x161)](_0x3da6f6);for(const [_0x4bda69,_0x3c5fc5]of _0x46f7ac)this[_0xe494c1(0x16f)][_0xe494c1(0x185)](_0x4bda69,_0x3c5fc5[_0x3c5fc5[_0xe494c1(0x15e)]-0x1]);const _0x3b8025=new Set();for(const [_0x10f5de,_0x37dff9]of _0x46f7ac)_0x190f61[_0xe494c1(0x181)](_0x10f5de)&&(_0x3b8025[_0xe494c1(0x167)](_0x37dff9[0x0]),_0x37dff9[_0xe494c1(0x15e)]>0x1?_0x46f7ac[_0xe494c1(0x185)](_0x10f5de,_0x37dff9[_0xe494c1(0x184)](0x1)):_0x46f7ac[_0xe494c1(0x161)](_0x10f5de),_0x190f61[_0xe494c1(0x161)](_0x10f5de));return{'removed':Array[_0xe494c1(0x175)](_0x190f61),'inserted':Array[_0xe494c1(0x175)](_0x46f7ac[_0xe494c1(0x15c)]())[_0xe494c1(0x176)](),'moved':Array[_0xe494c1(0x175)](_0x3b8025)};}}function _0x2a30(_0x472b0c,_0x4ea624){const _0x3a7b3d=_0x3a7b();return _0x2a30=function(_0x2a30e3,_0x6d2072){_0x2a30e3=_0x2a30e3-0x15a;let _0x3b6b0c=_0x3a7b3d[_0x2a30e3];return _0x3b6b0c;},_0x2a30(_0x472b0c,_0x4ea624);}function _0x3a7b(){const _0x18463e=['type','name','getChanges','getElementKey','244296cyVIQL','_model','3878832IencIy','1785024XmoGCE','clear','has','root','insert','slice','set','position','reset','values','createRangeOn','length','attributes','nodeAfter','delete','$text','91xqWrvJ','2995015cYimqZ','_getElementKey','540fRQoFJ','add','get','_elementName','elementName','2gkaFNU','getItems','element','rootName','_trackedElements','remove','push','76808WyicSp','1446xfYZlQ','$graveyard','from','flat','17603390ppoMtJ'];_0x3a7b=function(){return _0x18463e;};return _0x3a7b();}
23
+ const _0x348bd8=_0x21ec;function _0x21ec(_0x2c0aed,_0x23f558){const _0x46bff7=_0x46bf();return _0x21ec=function(_0x21ece2,_0x1db4e0){_0x21ece2=_0x21ece2-0x105;let _0x489e23=_0x46bff7[_0x21ece2];return _0x489e23;},_0x21ec(_0x2c0aed,_0x23f558);}(function(_0x4897e4,_0x39e9f3){const _0x4cee61=_0x21ec,_0x213c6f=_0x4897e4();while(!![]){try{const _0x305431=parseInt(_0x4cee61(0x106))/0x1+-parseInt(_0x4cee61(0x112))/0x2+parseInt(_0x4cee61(0x10d))/0x3+parseInt(_0x4cee61(0x10a))/0x4+-parseInt(_0x4cee61(0x10f))/0x5+parseInt(_0x4cee61(0x12d))/0x6*(-parseInt(_0x4cee61(0x120))/0x7)+-parseInt(_0x4cee61(0x115))/0x8*(-parseInt(_0x4cee61(0x118))/0x9);if(_0x305431===_0x39e9f3)break;else _0x213c6f['push'](_0x213c6f['shift']());}catch(_0x3c3dcb){_0x213c6f['push'](_0x213c6f['shift']());}}}(_0x46bf,0x6f187));function _0x46bf(){const _0x564318=['741330TmMyaA','attributes','3535190XAiZMR','element','type','303714GcKGnm','elementName','name','8iNnkeH','delete','length','1219041soiBcf','$text','_model','remove','root','getItems','getElementKey','insert','1488753VWUUbJ','push','has','values','reset','nodeAfter','createRangeOn','getChanges','add','_elementName','clear','$graveyard','flat','6MfwCYZ','get','rootName','_trackedElements','655688gYcbgf','slice','position','_getElementKey','1953496prgcav','from','set'];_0x46bf=function(){return _0x564318;};return _0x46bf();}export class ModelElementTracker{[_0x348bd8(0x11a)];[_0x348bd8(0x129)];[_0x348bd8(0x109)];[_0x348bd8(0x105)]=new Map();constructor(_0x43083f,_0x50835f){const _0x870110=_0x348bd8;this[_0x870110(0x11a)]=_0x43083f,this[_0x870110(0x129)]=_0x50835f[_0x870110(0x113)],this[_0x870110(0x109)]=_0x50835f[_0x870110(0x11e)];}[_0x348bd8(0x124)](){const _0xe50f73=_0x348bd8;this[_0xe50f73(0x105)][_0xe50f73(0x12a)]();}[_0x348bd8(0x127)](_0x400e1f){const _0x389e88=_0x348bd8,_0x5080ed=new Set(),_0x13daac=new Map();for(const _0x3b7e45 of _0x400e1f){if(_0x389e88(0x11f)===_0x3b7e45[_0x389e88(0x111)]&&_0x389e88(0x119)!==_0x3b7e45[_0x389e88(0x114)]&&_0x3b7e45[_0x389e88(0x108)][_0x389e88(0x125)]){const _0x174062=this[_0x389e88(0x11a)][_0x389e88(0x126)](_0x3b7e45[_0x389e88(0x108)][_0x389e88(0x125)]);for(const _0x172122 of _0x174062[_0x389e88(0x11d)]()){if(!_0x172122['is'](_0x389e88(0x110),this[_0x389e88(0x129)]))continue;const _0x4bbe77=this[_0x389e88(0x109)](_0x172122);_0x13daac[_0x389e88(0x122)](_0x4bbe77)||_0x13daac[_0x389e88(0x10c)](_0x4bbe77,[]),_0x13daac[_0x389e88(0x12e)](_0x4bbe77)[_0x389e88(0x121)](_0x172122);}}if(_0x389e88(0x11b)===_0x3b7e45[_0x389e88(0x111)]&&_0x3b7e45[_0x389e88(0x114)]===this[_0x389e88(0x129)]){const _0xfb9b54=this[_0x389e88(0x109)]({'getAttribute':_0x29b38e=>_0x3b7e45[_0x389e88(0x10e)][_0x389e88(0x12e)](_0x29b38e)});_0x5080ed[_0x389e88(0x128)](_0xfb9b54);}}for(const [_0x4c1520,_0x4e211e]of this[_0x389e88(0x105)])_0x389e88(0x12b)===_0x4e211e[_0x389e88(0x11c)][_0x389e88(0x12f)]&&_0x5080ed[_0x389e88(0x128)](_0x4c1520);for(const _0x20c9c2 of _0x5080ed)this[_0x389e88(0x105)][_0x389e88(0x116)](_0x20c9c2);for(const [_0x109041,_0x3aaf6f]of _0x13daac)this[_0x389e88(0x105)][_0x389e88(0x10c)](_0x109041,_0x3aaf6f[_0x3aaf6f[_0x389e88(0x117)]-0x1]);const _0x42ae7f=new Set();for(const [_0x9f4f9e,_0x215139]of _0x13daac)_0x5080ed[_0x389e88(0x122)](_0x9f4f9e)&&(_0x42ae7f[_0x389e88(0x128)](_0x215139[0x0]),_0x215139[_0x389e88(0x117)]>0x1?_0x13daac[_0x389e88(0x10c)](_0x9f4f9e,_0x215139[_0x389e88(0x107)](0x1)):_0x13daac[_0x389e88(0x116)](_0x9f4f9e),_0x5080ed[_0x389e88(0x116)](_0x9f4f9e));return{'removed':Array[_0x389e88(0x10b)](_0x5080ed),'inserted':Array[_0x389e88(0x10b)](_0x13daac[_0x389e88(0x123)]())[_0x389e88(0x12c)](),'moved':Array[_0x389e88(0x10b)](_0x42ae7f)};}}