@ckeditor/ckeditor5-footnotes 47.5.0-alpha.6 → 47.5.0-alpha.8

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 _0x5e412}from'ckeditor5/src/core.js';import{isWidget as _0x4c44d1,toWidget as _0x54a6a1,toWidgetEditable as _0x2d194a}from'ckeditor5/src/widget.js';import{uid as _0x28c2d6}from'ckeditor5/src/utils.js';import{PointerObserver as _0x277f7a,ClickObserver as _0x45738c}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x26bfa6}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x20fca5}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x5e412{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x26bfa6];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x141098}=this;_0x141098['config']['define']('footnotes.multiBlock',!0x0),_0x141098['commands']['add']('insertFootnote',new _0x20fca5(_0x141098)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x9ebd1c){const _0x25b922=_0x33fd39([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]),_0x41bc41=0x47a28506,_0x2d1378=0x47a5043e^_0x41bc41,_0x3c79fe=window[_0x33fd39([0x44,0x61,0x74,0x65])][_0x33fd39([0x6e,0x6f,0x77])](),_0x1829c0=_0x9ebd1c[_0x33fd39([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x10bb9e=new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x133539=>{_0x1829c0[_0x33fd39([0x6f,0x6e,0x63,0x65])](_0x33fd39([0x72,0x65,0x61,0x64,0x79]),_0x133539);}),_0x2d6c3b={[_0x33fd39([0x6b,0x74,0x79])]:_0x33fd39([0x45,0x43]),[_0x33fd39([0x75,0x73,0x65])]:_0x33fd39([0x73,0x69,0x67]),[_0x33fd39([0x63,0x72,0x76])]:_0x33fd39([0x50,0x2d,0x32,0x35,0x36]),[_0x33fd39([0x78])]:_0x33fd39([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]),[_0x33fd39([0x79])]:_0x33fd39([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]),[_0x33fd39([0x61,0x6c,0x67])]:_0x33fd39([0x45,0x53,0x32,0x35,0x36])},_0x1dd515=_0x1829c0[_0x33fd39([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x33fd39([0x67,0x65,0x74])](_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x527e10(){let _0x338c38,_0x31577c=null,_0x35adf1=null;try{if(_0x1dd515==_0x33fd39([0x47,0x50,0x4c]))return _0x33fd39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x338c38=_0x277d0f(),!_0x338c38)return _0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x338c38[_0x33fd39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x35adf1=_0x36422c(_0x338c38[_0x33fd39([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x338c38[_0x33fd39([0x6a,0x74,0x69])])),await _0x2e8cf0()?_0x172be6()?_0x1c01ca()?_0x33fd39([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x53fd45()?(_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x33fd39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x31577c=_0x642759(_0x33fd39([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x581c48()):_0x33fd39([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x33fd39([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x33fd39([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1c01ca(){const _0x171dd9=[_0x33fd39([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x33fd39([0x74,0x72,0x69,0x61,0x6c])][_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x3c79fe/0x3e8:0xe10*_0x2d1378;return _0x338c38[_0x33fd39([0x65,0x78,0x70])]<_0x171dd9;}function _0x172be6(){const _0x3056fc=_0x338c38[_0x33fd39([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x3056fc&&(!!_0x3056fc[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x2a]))||!!_0x3056fc[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x46,0x4f,0x4f])));}function _0x53fd45(){const _0x51f95d=_0x338c38[_0x33fd39([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x51f95d||0x0==_0x51f95d[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x35b416}=new URL(window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x51f95d[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x35b416))return!0x0;const _0x5e3f39=_0x35b416[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e]));return _0x51f95d[_0x33fd39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x226880=>_0x226880[_0x33fd39([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x33fd39([0x2a])))[_0x33fd39([0x6d,0x61,0x70])](_0x27b1fe=>_0x27b1fe[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e])))[_0x33fd39([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x6ea89d=>_0x6ea89d[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x5e3f39[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33fd39([0x6d,0x61,0x70])](_0x520d98=>Array(_0x5e3f39[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x520d98[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x33fd39([0x66,0x69,0x6c,0x6c])](_0x520d98[0x0]===_0x33fd39([0x2a])?_0x33fd39([0x2a]):'')[_0x33fd39([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x520d98))[_0x33fd39([0x73,0x6f,0x6d,0x65])](_0x4e1310=>_0x5e3f39[_0x33fd39([0x65,0x76,0x65,0x72,0x79])]((_0xd94146,_0x2df942)=>_0x4e1310[_0x2df942]===_0xd94146||_0x4e1310[_0x2df942]===_0x33fd39([0x2a])));}function _0x581c48(){return _0x31577c&&_0x35adf1?new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x2e55e0,_0x4dbce2)=>{_0x31577c[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x2e55e0,_0x4dbce2),_0x35adf1[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x926230=>{_0x926230!=_0x33fd39([0x56,0x61,0x6c,0x69,0x64])&&_0x2e55e0(_0x926230);},_0x4dbce2);}):_0x31577c||_0x35adf1||_0x33fd39([0x56,0x61,0x6c,0x69,0x64]);}}function _0x36422c(_0x4b0443,_0x19bfc3){return new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x7beb81=>{if(_0x170e4a())return _0x7beb81(_0x33fd39([0x56,0x61,0x6c,0x69,0x64]));_0x2b223a(),_0x1829c0[_0x33fd39([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1c8431=!0x1;const _0x21c2c7=_0x28c2d6();function _0x57e102(_0x34cb16){return!!_0x34cb16&&(typeof _0x34cb16===_0x33fd39([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x34cb16===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x34cb16[_0x33fd39([0x74,0x68,0x65,0x6e])]===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x34cb16[_0x33fd39([0x63,0x61,0x74,0x63,0x68])]===_0x33fd39([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x27aae3(_0x4ff1b2){_0x159b9d(_0x4ff1b2)[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x1babb9=>{if(!_0x1babb9||_0x1babb9[_0x33fd39([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x33fd39([0x6f,0x6b]))return _0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x29b830(_0x40b252(_0x21c2c7+_0x19bfc3))!=_0x1babb9[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x33fd39([0x56,0x61,0x6c,0x69,0x64]);})[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x417bbe=>(_0x5ad0c5(),_0x417bbe),()=>{const _0x1ad3e3=_0x43c30b();return null==_0x1ad3e3?(_0x5ad0c5(),_0x33fd39([0x56,0x61,0x6c,0x69,0x64])):_0x33fd39(_0x3c79fe-_0x1ad3e3>(0x63ae0106^_0x41bc41)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x7beb81)[_0x33fd39([0x63,0x61,0x74,0x63,0x68])](()=>{_0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x28841f=0x47946b86^_0x41bc41;function _0x5ad0c5(){const _0x1e732a=_0x33fd39([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b830(_0x40b252(_0x4b0443)),_0x433bb8=_0x2cb8f1(_0x29b830(window[_0x33fd39([0x4d,0x61,0x74,0x68])][_0x33fd39([0x63,0x65,0x69,0x6c])](_0x3c79fe/_0x28841f)));window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33fd39([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1e732a,_0x433bb8);}function _0x43c30b(){const _0x1164b3=_0x33fd39([0x6c,0x6c,0x63,0x74,0x2d])+_0x29b830(_0x40b252(_0x4b0443)),_0x5ad922=window[_0x33fd39([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x33fd39([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x1164b3);return _0x5ad922?window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2cb8f1(_0x5ad922),0x10)*_0x28841f:null;}function _0x159b9d(_0x3aa020){return new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x38c71c,_0x4e4d09)=>{_0x3aa020[_0x33fd39([0x74,0x68,0x65,0x6e])](_0x38c71c,_0x4e4d09),window[_0x33fd39([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4e4d09,0x47a351c6^_0x41bc41);});}}_0x1829c0[_0x33fd39([0x6f,0x6e])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x1272b3,_0x377fd6)=>{if(_0x377fd6[0x0]!=_0x4b0443)return _0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x377fd6[0x1]={..._0x377fd6[0x1],[_0x33fd39([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x21c2c7};},{[_0x33fd39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33fd39([0x68,0x69,0x67,0x68])}),_0x1829c0[_0x33fd39([0x6f,0x6e])](_0x33fd39([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x5da518=>{_0x57e102(_0x5da518[_0x33fd39([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1c8431=!0x0,_0x27aae3(_0x5da518[_0x33fd39([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x33fd39([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x33fd39([0x6c,0x6f,0x77])}),_0x10bb9e[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>{_0x1c8431||_0x7beb81(_0x33fd39([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x170e4a(){return _0x1829c0[_0x33fd39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33fd39([0x76,0x69,0x65,0x77])][_0x33fd39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x33fd39([0x61,0x75,0x74,0x6f]);}function _0x2b223a(){_0x1829c0[_0x33fd39([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x33fd39([0x76,0x69,0x65,0x77])][_0x33fd39([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x33fd39([0x61,0x75,0x74,0x6f]);}}function _0x642759(_0x2859e3){const _0x446f70=[new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x202a7d=>setTimeout(_0x202a7d,0x47abbbca^_0x41bc41)),_0x10bb9e[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>new window[(_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5de764=>{let _0x254247=0x0;_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x6f,0x6e])](_0x33fd39([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x24602a,_0x43c804)=>{_0x43c804[0x0][_0x33fd39([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x254247++,_0x254247==(0x47a280ee^_0x41bc41)&&(_0x5de764(),_0x24602a[_0x33fd39([0x6f,0x66,0x66])]());});}))];return window[_0x33fd39([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x33fd39([0x72,0x61,0x63,0x65])](_0x446f70)[_0x33fd39([0x74,0x68,0x65,0x6e])](()=>_0x2859e3);}async function _0x10d792(){await _0x10bb9e,_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0xc62f41,_0x1829c0[_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c])][_0x33fd39([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0xc62f41,_0x1829c0[_0x33fd39([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x33fd39([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x10679f(_0xf1d6fc){const _0x229cda=_0x29c6d9();_0x1829c0[_0x229cda]=_0x33fd39([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xf1d6fc,_0xf1d6fc!=_0x33fd39([0x56,0x61,0x6c,0x69,0x64])&&_0x10d792();}function _0x29c6d9(){const _0x3fabe9=window[_0x33fd39([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x33fd39([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x33fd39([0x6e,0x6f,0x77])]())[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x33fd39([0x2e]),'');let _0x2a8144=_0x33fd39([0x75]);for(let _0x1f0701=0x0;_0x1f0701<_0x3fabe9[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x1f0701+=0x2){let _0x19bcd5=window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x3fabe9[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1f0701,_0x1f0701+0x2));_0x19bcd5>=_0x25b922[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x19bcd5-=_0x25b922[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x2a8144+=_0x25b922[_0x19bcd5];}return _0x2a8144;}function _0x277d0f(){const _0x34e7ec=_0x1dd515[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e]));if(0x3!=_0x34e7ec[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x560d67(_0x34e7ec[0x1]);function _0x560d67(_0x28e400){const _0x30cb5d=_0x41e753(_0x28e400);return _0x30cb5d&&_0x15a646()?_0x30cb5d:null;function _0x15a646(){const _0x4e6b32=_0x30cb5d[_0x33fd39([0x6a,0x74,0x69])],_0x2ac871=window[_0x33fd39([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4e6b32[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4e6b32[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x4e9414={..._0x30cb5d,[_0x33fd39([0x6a,0x74,0x69])]:_0x4e6b32[_0x33fd39([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4e6b32[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x4e9414[_0x33fd39([0x76,0x63])],_0x40b252(_0x4e9414)==_0x2ac871;}}}async function _0x2e8cf0(){let _0x31138c=!0x0;try{const _0xd05ddf=_0x1dd515[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])](_0x33fd39([0x2e])),[_0x4aea61,_0x49808a,_0x83cd8a]=_0xd05ddf;return _0x535774(_0x4aea61),await _0x7a6ca7(_0x4aea61,_0x49808a,_0x83cd8a),_0x31138c;}catch{return!0x1;}function _0x535774(_0x1d033f){const _0x5a8a2b=_0x41e753(_0x1d033f);_0x5a8a2b&&_0x5a8a2b[_0x33fd39([0x61,0x6c,0x67])]==_0x33fd39([0x45,0x53,0x32,0x35,0x36])||(_0x31138c=!0x1);}async function _0x7a6ca7(_0x4f229a,_0x48d1d4,_0x5aac76){const _0x4c581e=window[_0x33fd39([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x33fd39([0x66,0x72,0x6f,0x6d])](_0x4693fe(_0x5aac76),_0x23a4cf=>_0x23a4cf[_0x33fd39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x2018a7=new window[(_0x33fd39([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x33fd39([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x4f229a+_0x33fd39([0x2e])+_0x48d1d4),_0x131247=window[_0x33fd39([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x33fd39([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x131247)return;const _0x704553=await _0x131247[_0x33fd39([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x33fd39([0x6a,0x77,0x6b]),_0x2d6c3b,{[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x45,0x43,0x44,0x53,0x41]),[_0x33fd39([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x33fd39([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x131247[_0x33fd39([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x45,0x43,0x44,0x53,0x41]),[_0x33fd39([0x68,0x61,0x73,0x68])]:{[_0x33fd39([0x6e,0x61,0x6d,0x65])]:_0x33fd39([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x704553,_0x4c581e,_0x2018a7)||(_0x31138c=!0x1);}}function _0x41e753(_0x18d699){return _0x18d699[_0x33fd39([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x33fd39([0x65,0x79]))?JSON[_0x33fd39([0x70,0x61,0x72,0x73,0x65])](_0x4693fe(_0x18d699)):null;}function _0x4693fe(_0x5893af){return window[_0x33fd39([0x61,0x74,0x6f,0x62])](_0x5893af[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x33fd39([0x2b]))[_0x33fd39([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x33fd39([0x2f])));}function _0x40b252(_0x293b21){let _0x587861=0x1505;function _0xbf058b(_0x178519){for(let _0x7299e3=0x0;_0x7299e3<_0x178519[_0x33fd39([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x7299e3++){const _0x25d9f9=_0x178519[_0x33fd39([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x7299e3);_0x587861=(_0x587861<<0x5)+_0x587861+_0x25d9f9,_0x587861&=_0x587861;}}function _0x25a5cb(_0x163f0a){Array[_0x33fd39([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x163f0a)?_0x163f0a[_0x33fd39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x25a5cb):_0x163f0a&&typeof _0x163f0a==_0x33fd39([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x33fd39([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x163f0a)[_0x33fd39([0x73,0x6f,0x72,0x74])]()[_0x33fd39([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x58db53,_0x5822a0])=>{_0xbf058b(_0x58db53),_0x25a5cb(_0x5822a0);}):_0xbf058b(window[_0x33fd39([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x163f0a));}return _0x25a5cb(_0x293b21),_0x587861>>>0x0;}function _0x29b830(_0xf14f9c){return _0xf14f9c[_0x33fd39([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x33fd39([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x33fd39([0x30]));}function _0x2cb8f1(_0x550cfa){return _0x550cfa[_0x33fd39([0x73,0x70,0x6c,0x69,0x74])]('')[_0x33fd39([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x33fd39([0x6a,0x6f,0x69,0x6e])]('');}function _0xc62f41(){}function _0x33fd39(_0xf902c3){return _0xf902c3['map'](_0x31776e=>String['fromCharCode'](_0x31776e))['join']('');}_0x10679f(await _0x527e10());}(this);}['_moveSelectionToFootnoteDefinition'](_0x14909c){const {plugins:_0x2d25a7,editing:_0x3e78ed,model:_0x20000a}=this['editor'],_0x97a7e4=_0x2d25a7['get'](_0x26bfa6)['getFootnote'](_0x14909c);return!!_0x97a7e4&&(_0x20000a['change'](_0x5345f0=>{_0x5345f0['setSelection'](_0x5345f0['createPositionAt'](_0x97a7e4['definition'],'end'));}),_0x3e78ed['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x7c1e43){const {plugins:_0x13de86,editing:_0x2fc2d2,model:_0x16d714}=this['editor'],_0xa2b7b2=_0x13de86['get'](_0x26bfa6)['getFootnote'](_0x7c1e43);return!!_0xa2b7b2&&(_0x16d714['change'](_0x5ab0be=>{_0x5ab0be['setSelection'](_0xa2b7b2['reference'],'on');}),_0x2fc2d2['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x29afdc}=this['editor']['model'],_0x48a7ca=this['editor']['config']['get']('footnotes.multiBlock');_0x29afdc['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x29afdc['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x29afdc['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x48a7ca?_0x29afdc['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x29afdc['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x29afdc['addChildCheck'](_0x5e1836=>{for(const _0x2b2bc3 of _0x5e1836)if('footnoteDefinition'===_0x2b2bc3['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x5f0156}=this,{conversion:_0x715085,editing:_0x284894}=_0x5f0156,{t:t}=_0x5f0156['locale'];_0x715085['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x52b157,{writer:_0x1a719c,consumable:_0x1d1c96})=>{const _0x3c8323=_0x52b157['getChild'](0x0);if(!_0x3c8323||!_0x3c8323['is']('element','a'))return null;const _0xbd32aa=_0x3c8323['getAttribute']('href')||'';if(!_0xbd32aa['startsWith']('#'))return null;const _0x5daf12=_0xbd32aa['replace'](/^#/,'');if(!_0x5daf12)return null;_0x1d1c96['consume'](_0x3c8323,{'name':!0x0,'attributes':['href']});for(const {item:_0x2be457}of _0x284894['view']['createRangeIn'](_0x3c8323))_0x2be457['is']('$textProxy')?_0x1d1c96['consume'](_0x2be457['textNode'],{'name':!0x0}):_0x2be457['is']('element')&&_0x1d1c96['consume'](_0x2be457,{'name':!0x0});return _0x1a719c['createElement']('footnoteRef',{'footnoteId':_0x5daf12});}}),_0x715085['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x3e09a8,{writer:_0x3525f4})=>b(_0x3e09a8,_0x3525f4)}),_0x715085['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x33c1b1,{writer:_0x4173c9})=>{const _0x5f1fc4=_0x33c1b1['getAttribute']('footnoteCounter');return _0x54a6a1(b(_0x33c1b1,_0x4173c9),_0x4173c9,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5f1fc4)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5c0dc8}=this,{t:t}=_0x5c0dc8['locale'],{conversion:_0x176378}=_0x5c0dc8;_0x176378['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x176378['for']('upcast')['add'](_0x5d64c1=>{_0x5d64c1['on']('element:ol',(_0x3e0e57,_0x3699d7,_0x49889e)=>{const _0x1bc611=_0x3699d7['viewItem'];if(!_0x1bc611['hasClass']('footnotes-list')||!_0x3699d7['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x49889e['consumable']['consume'](_0x1bc611,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x50c6ce,modelCursor:_0x5938a5}=_0x49889e['convertChildren'](_0x3699d7['viewItem'],_0x3699d7['modelCursor']);_0x3699d7['modelRange']=_0x50c6ce,_0x3699d7['modelCursor']=_0x5938a5;}),_0x5d64c1['on']('element:hr',(_0x3126f1,_0xbbefbe,_0x3cff3f)=>{const _0x2c2dce=_0xbbefbe['viewItem'];_0x2c2dce['hasClass']('footnotes-divider')&&_0xbbefbe['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x3cff3f['consumable']['consume'](_0x2c2dce,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x176378['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4e08e7,{writer:_0x405c64})=>D(_0x405c64)}),_0x176378['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x4fc4e5,{writer:_0x5b552e})=>{const _0x48b1b9=D(_0x5b552e,{'data-footnotes-list-label':t('Footnotes')}),_0x21457e=_0x54a6a1(_0x48b1b9,_0x5b552e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x5b552e['setCustomProperty']('footnotesDefinitions',!0x0,_0x21457e),_0x21457e;}});}['_defineDefinitionConverters'](){const {editor:_0x3cc634}=this,{conversion:_0x506690,locale:_0x33f4ad}=_0x3cc634,_0xefef5c=_0x3cc634['config']['get']('footnotes.multiBlock');_0x506690['for']('upcast')['add'](_0x58e1d9=>{_0x58e1d9['on']('element:li',(_0x4bcdde,_0x4e7c6d,_0x185243)=>{const _0x5c1597=_0x4e7c6d['viewItem'];if(!_0x5c1597['hasClass']('footnote-definition')||!_0x5c1597['getAttribute']('id'))return;const _0x12b647=_0x5c1597['parent'];if(!_0x12b647['is']('element','ol')||!_0x12b647['hasClass']('footnotes-list'))return;if(!_0x185243['consumable']['test'](_0x5c1597,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1d7918=_0x185243['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x5c1597['getAttribute']('id')});if(!_0x185243['safeInsert'](_0x1d7918,_0x4e7c6d['modelCursor']))return;_0x185243['consumable']['consume'](_0x5c1597,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4f84b2=Array['from'](_0x5c1597['getChildren']())['find'](_0x5c7294=>_0x5c7294['is']('element')&&_0x5c7294['hasClass']('footnote-content'));for(const _0x1a8b94 of _0x5c1597['getChildren']())_0x1a8b94['is']('element')&&(_0x185243['consumable']['consume'](_0x1a8b94,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x185243['consumable']['consume'](_0x1a8b94,{'name':!0x0,'classes':'footnote-content'}));if(_0x4f84b2){if(_0xefef5c)_0x185243['convertChildren'](_0x4f84b2,_0x1d7918);else{const _0x43a267=_0x185243['writer']['createElement']('footnoteInlineContent');_0x185243['writer']['insert'](_0x43a267,_0x1d7918),_0x185243['convertChildren'](_0x4f84b2,_0x43a267);}}_0x185243['updateConversionResult'](_0x1d7918,_0x4e7c6d);});}),_0x506690['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x17c8bb,{writer:_0x5c837d})=>y(_0x17c8bb,_0x5c837d,_0x33f4ad,{'dataPipeline':!0x0})}),_0x506690['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xe23bd2,{writer:_0xe2517b})=>y(_0xe23bd2,_0xe2517b,_0x33f4ad)});}['_defineBogusParagraphConverters'](){const {editor:_0x42bbd4}=this,{conversion:_0x14d495}=_0x42bbd4;_0x42bbd4['config']['get']('footnotes.multiBlock')?(_0x14d495['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x14d495['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x42bbd4['model']['document'],'change:data',()=>{!function(_0x36e61d,_0x4895bf){const _0x426529=_0x36e61d['document']['differ'],_0x4da729=new Set();for(const _0x370937 of _0x426529['getChanges']()){const _0x39cca5='attribute'==_0x370937['type']?_0x370937['range']['start']['parent']:_0x370937['position']['parent'];_0x39cca5['is']('element','footnoteDefinition')&&_0x4da729['add'](_0x39cca5);}for(const _0x377819 of _0x4da729['values']()){const _0x2d8333=Array['from'](_0x377819['getChildren']())['filter'](_0x1b518e=>v(_0x1b518e,_0x4895bf['mapper']));for(const _0xe4e814 of _0x2d8333)_0x4895bf['reconvertItem'](_0xe4e814);}}(_0x42bbd4['model'],_0x42bbd4['editing']);})):(_0x14d495['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x14d495['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x22cc15,{writer:_0x48494b})=>{const _0x1234be=_0x48494b['createContainerElement']('span');return _0x48494b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x1234be),_0x1234be;}}));}['_defineKeyboardHandlers'](){const {editor:_0x28b8bf}=this,{editing:_0x38bbfe,t:t}=_0x28b8bf,_0x290117=_0x28b8bf['model']['document']['selection'];_0x28b8bf['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x28b8bf['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x38bbfe['view']['document'],'enter',(_0x20a764,_0x742d9b)=>{const _0x13d57a=function(_0x2695f5){const _0x18dfc1=_0x2695f5['getSelectedElement']();if(_0x18dfc1?.['is']('element','footnoteRef'))return _0x18dfc1;return null;}(_0x290117);if(_0x13d57a){const _0x198754=_0x13d57a['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x198754),_0x742d9b['preventDefault'](),_0x20a764['stop']();}},{'context':_0x4c44d1});}['_defineClickHandlers'](){const {editor:_0x1b74d6}=this,{editing:_0x3e3bb4}=_0x1b74d6;_0x1b74d6['editing']['view']['addObserver'](_0x277f7a),_0x1b74d6['editing']['view']['addObserver'](_0x45738c);let _0x1538ea=!0x1;this['listenTo'](_0x3e3bb4['view']['document'],'pointerdown',(_0x2f6112,_0x14e97e)=>{const {target:_0xcf4f02}=_0x14e97e,_0x44f7f4=_0x3e3bb4['view']['document']['selection'];_0x1538ea=!!(_0xcf4f02?.['is']('element','a')&&_0xcf4f02['parent']?.['is']('element','sup')&&_0xcf4f02['parent']['hasClass']('footnote'))&&_0x44f7f4['getSelectedElement']()===_0xcf4f02['parent'];},{'priority':'high'}),this['listenTo'](_0x3e3bb4['view']['document'],'click',(_0x48bab8,_0x4bbdd1)=>{const {target:_0x480895}=_0x4bbdd1;if(!_0x480895?.['is']('element','a'))return;if(_0x480895['parent']?.['is']('element','sup')&&_0x480895['parent']['hasClass']('footnote')&&!_0x1538ea)return void _0x4bbdd1['preventDefault']();let _0xcf55c1=_0x480895['getAttribute']('href');if(!_0xcf55c1?.['startsWith']('#'))return;_0xcf55c1=_0xcf55c1['slice'](0x1);let _0x219c89=!0x1;(_0xcf55c1['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xcf55c1['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xcf55c1))&&(_0x219c89=!0x0),_0x219c89&&(_0x4bbdd1['preventDefault'](),_0x48bab8['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x3ec0dc}={}){return(_0x12653c,{writer:_0x18c3a9})=>{if(!g(_0x12653c))return null;if(!_0x3ec0dc)return _0x18c3a9['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x180b95=_0x18c3a9['createContainerElement']('p');return _0x18c3a9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x180b95),_0x180b95;};}function g(_0xda9c59){const {parent:_0x51f912}=_0xda9c59;if(!_0x51f912?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x51f912['childCount'])return!0x1;for(const _0x48bd1b of _0xda9c59['getAttributeKeys']())if(!_0x48bd1b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x48bd1b)return!0x1;return!0x0;}function v(_0x36fb34,_0x5d356f){if(!_0x36fb34['is']('element','paragraph'))return!0x1;const _0x15e0c6=_0x5d356f['toViewElement'](_0x36fb34);return!!_0x15e0c6&&g(_0x36fb34)!==_0x15e0c6['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x400d9f){return _0x4c44d1(_0x400d9f)&&_0x400d9f['is']('containerElement')&&!!_0x400d9f['getCustomProperty']('footnotesDefinitions');}function D(_0x15d7e8,_0x2b514b={}){const _0x8f3086=_0x15d7e8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x5948f6=_0x15d7e8['createContainerElement']('ol',{'class':'footnotes-list'},_0x15d7e8['createSlot']());return _0x15d7e8['createContainerElement']('div',{'class':'footnotes',..._0x2b514b},[_0x8f3086,_0x5948f6]);}function b(_0x1140f1,_0x4046d4){const _0x27e1b1=_0x1140f1['getAttribute']('footnoteId'),_0xf9277=_0x1140f1['getAttribute']('footnoteCounter'),_0x2905bd=_0x4046d4['createUIElement']('a',{'href':'#'+_0x27e1b1},function(_0xd18f75){const _0x2e83ce=this['toDomElement'](_0xd18f75);return _0x2e83ce['textContent']=_0xf9277,_0x2e83ce;}),_0x245b67=_0x4046d4['createContainerElement']('sup',{'id':'ref-'+_0x27e1b1,'class':'footnote'},[_0x2905bd]);return _0x245b67['getFillerOffset']=()=>null,_0x245b67;}function y(_0x1d646b,_0x2f60ba,_0x1c5fae,{dataPipeline:_0x276a43}={}){const {t:t}=_0x1c5fae,_0x2a6985=_0x1d646b['getAttribute']('footnoteId'),_0xca7a2a=_0x2f60ba['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x2a6985},function(_0x1989fe){const _0x238229=this['toDomElement'](_0x1989fe);return _0x238229['innerText']='^',_0x238229;}),_0x1d7a11=_0x276a43?_0x2f60ba['createContainerElement']('div',{'class':'footnote-content'}):_0x2d194a(_0x2f60ba['createEditableElement']('div',{'class':'footnote-content'}),_0x2f60ba,{'label':t('Footnote\x20content.')});return _0x2f60ba['insert'](_0x2f60ba['createPositionAt'](_0x1d7a11,0x0),_0x2f60ba['createSlot']()),_0x2f60ba['createContainerElement']('li',{'class':'footnote-definition','id':_0x2a6985},[_0xca7a2a,_0x1d7a11]);}
23
+ import{Plugin as _0x48ca3c}from'ckeditor5/src/core.js';import{isWidget as _0x42fb98,toWidget as _0x357b5b,toWidgetEditable as _0x236159}from'ckeditor5/src/widget.js';import{uid as _0xed74ee}from'ckeditor5/src/utils.js';import{PointerObserver as _0x4fc515,ClickObserver as _0x2e3767}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x512f6d}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x4b33e4}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x48ca3c{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x512f6d];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4db752}=this;_0x4db752['config']['define']('footnotes.multiBlock',!0x0),_0x4db752['commands']['add']('insertFootnote',new _0x4b33e4(_0x4db752)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x4f0d81){const _0x228414=_0x30e675([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]),_0x37ffbc=0x47a28506,_0x5e935e=0x47a5046e^_0x37ffbc,_0x45cfc7=window[_0x30e675([0x44,0x61,0x74,0x65])][_0x30e675([0x6e,0x6f,0x77])](),_0x2f2520=_0x4f0d81[_0x30e675([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x2e9f86=new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d2aaa=>{_0x2f2520[_0x30e675([0x6f,0x6e,0x63,0x65])](_0x30e675([0x72,0x65,0x61,0x64,0x79]),_0x1d2aaa);}),_0x4c2c10={[_0x30e675([0x6b,0x74,0x79])]:_0x30e675([0x45,0x43]),[_0x30e675([0x75,0x73,0x65])]:_0x30e675([0x73,0x69,0x67]),[_0x30e675([0x63,0x72,0x76])]:_0x30e675([0x50,0x2d,0x32,0x35,0x36]),[_0x30e675([0x78])]:_0x30e675([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]),[_0x30e675([0x79])]:_0x30e675([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]),[_0x30e675([0x61,0x6c,0x67])]:_0x30e675([0x45,0x53,0x32,0x35,0x36])},_0xa3b9d1=_0x2f2520[_0x30e675([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x30e675([0x67,0x65,0x74])](_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x18d5b9(){let _0x592103,_0x37e87c=null,_0x4dfc2a=null;try{if(_0xa3b9d1==_0x30e675([0x47,0x50,0x4c]))return _0x30e675([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x592103=_0x39f844(),!_0x592103)return _0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x592103[_0x30e675([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x4dfc2a=_0x4bf9a4(_0x592103[_0x30e675([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x592103[_0x30e675([0x6a,0x74,0x69])])),await _0x57c7f7()?_0x582f4e()?_0x1a9855()?_0x30e675([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x61604a()?(_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x30e675([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x37e87c=_0x207f18(_0x30e675([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x559b7a()):_0x30e675([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x30e675([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x30e675([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1a9855(){const _0x3477c7=[_0x30e675([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x30e675([0x74,0x72,0x69,0x61,0x6c])][_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x45cfc7/0x3e8:0xe10*_0x5e935e;return _0x592103[_0x30e675([0x65,0x78,0x70])]<_0x3477c7;}function _0x582f4e(){const _0xd511f=_0x592103[_0x30e675([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xd511f&&(!!_0xd511f[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x2a]))||!!_0xd511f[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x46,0x4f,0x4f])));}function _0x61604a(){const _0x1641e6=_0x592103[_0x30e675([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x1641e6||0x0==_0x1641e6[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1f692d}=new URL(window[_0x30e675([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x1641e6[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1f692d))return!0x0;const _0x3570f2=_0x1f692d[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e]));return _0x1641e6[_0x30e675([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1a5ad8=>_0x1a5ad8[_0x30e675([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x30e675([0x2a])))[_0x30e675([0x6d,0x61,0x70])](_0x2985b6=>_0x2985b6[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e])))[_0x30e675([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x2413b8=>_0x2413b8[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3570f2[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30e675([0x6d,0x61,0x70])](_0x2da80c=>Array(_0x3570f2[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x2da80c[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x30e675([0x66,0x69,0x6c,0x6c])](_0x2da80c[0x0]===_0x30e675([0x2a])?_0x30e675([0x2a]):'')[_0x30e675([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x2da80c))[_0x30e675([0x73,0x6f,0x6d,0x65])](_0x4e51bc=>_0x3570f2[_0x30e675([0x65,0x76,0x65,0x72,0x79])]((_0x3312e0,_0x1f204d)=>_0x4e51bc[_0x1f204d]===_0x3312e0||_0x4e51bc[_0x1f204d]===_0x30e675([0x2a])));}function _0x559b7a(){return _0x37e87c&&_0x4dfc2a?new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x20be86,_0x95408b)=>{_0x37e87c[_0x30e675([0x74,0x68,0x65,0x6e])](_0x20be86,_0x95408b),_0x4dfc2a[_0x30e675([0x74,0x68,0x65,0x6e])](_0x269911=>{_0x269911!=_0x30e675([0x56,0x61,0x6c,0x69,0x64])&&_0x20be86(_0x269911);},_0x95408b);}):_0x37e87c||_0x4dfc2a||_0x30e675([0x56,0x61,0x6c,0x69,0x64]);}}function _0x4bf9a4(_0x2bfb55,_0x2bf534){return new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x585ef=>{if(_0x3d29f9())return _0x585ef(_0x30e675([0x56,0x61,0x6c,0x69,0x64]));_0x34a209(),_0x2f2520[_0x30e675([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x210f51=!0x1;const _0x1593b3=_0xed74ee();function _0x502445(_0x4f03cf){return!!_0x4f03cf&&(typeof _0x4f03cf===_0x30e675([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x4f03cf===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x4f03cf[_0x30e675([0x74,0x68,0x65,0x6e])]===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x4f03cf[_0x30e675([0x63,0x61,0x74,0x63,0x68])]===_0x30e675([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x327100(_0x292fd5){_0x45e292(_0x292fd5)[_0x30e675([0x74,0x68,0x65,0x6e])](_0x2c8183=>{if(!_0x2c8183||_0x2c8183[_0x30e675([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x30e675([0x6f,0x6b]))return _0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x188e5b(_0x31f1b7(_0x1593b3+_0x2bf534))!=_0x2c8183[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x30e675([0x56,0x61,0x6c,0x69,0x64]);})[_0x30e675([0x74,0x68,0x65,0x6e])](_0x353102=>(_0x4dd5df(),_0x353102),()=>{const _0x317454=_0x11cf6a();return null==_0x317454?(_0x4dd5df(),_0x30e675([0x56,0x61,0x6c,0x69,0x64])):_0x30e675(_0x45cfc7-_0x317454>(0x63ae0106^_0x37ffbc)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x30e675([0x74,0x68,0x65,0x6e])](_0x585ef)[_0x30e675([0x63,0x61,0x74,0x63,0x68])](()=>{_0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x533336=0x47946b86^_0x37ffbc;function _0x4dd5df(){const _0x17ad6f=_0x30e675([0x6c,0x6c,0x63,0x74,0x2d])+_0x188e5b(_0x31f1b7(_0x2bfb55)),_0x3a886e=_0x53ae4c(_0x188e5b(window[_0x30e675([0x4d,0x61,0x74,0x68])][_0x30e675([0x63,0x65,0x69,0x6c])](_0x45cfc7/_0x533336)));window[_0x30e675([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e675([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x17ad6f,_0x3a886e);}function _0x11cf6a(){const _0x235b42=_0x30e675([0x6c,0x6c,0x63,0x74,0x2d])+_0x188e5b(_0x31f1b7(_0x2bfb55)),_0xeb83fc=window[_0x30e675([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x30e675([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x235b42);return _0xeb83fc?window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x53ae4c(_0xeb83fc),0x10)*_0x533336:null;}function _0x45e292(_0x160b4c){return new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x1a47ee,_0x2af672)=>{_0x160b4c[_0x30e675([0x74,0x68,0x65,0x6e])](_0x1a47ee,_0x2af672),window[_0x30e675([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2af672,0x47a351c6^_0x37ffbc);});}}_0x2f2520[_0x30e675([0x6f,0x6e])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x413f54,_0x5bda6f)=>{if(_0x5bda6f[0x0]!=_0x2bfb55)return _0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5bda6f[0x1]={..._0x5bda6f[0x1],[_0x30e675([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x1593b3};},{[_0x30e675([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e675([0x68,0x69,0x67,0x68])}),_0x2f2520[_0x30e675([0x6f,0x6e])](_0x30e675([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x23b083=>{_0x502445(_0x23b083[_0x30e675([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x210f51=!0x0,_0x327100(_0x23b083[_0x30e675([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x30e675([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x30e675([0x6c,0x6f,0x77])}),_0x2e9f86[_0x30e675([0x74,0x68,0x65,0x6e])](()=>{_0x210f51||_0x585ef(_0x30e675([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3d29f9(){return _0x2f2520[_0x30e675([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e675([0x76,0x69,0x65,0x77])][_0x30e675([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x30e675([0x61,0x75,0x74,0x6f]);}function _0x34a209(){_0x2f2520[_0x30e675([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x30e675([0x76,0x69,0x65,0x77])][_0x30e675([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x30e675([0x61,0x75,0x74,0x6f]);}}function _0x207f18(_0x4fd3f5){const _0x8634ed=[new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3d18dd=>setTimeout(_0x3d18dd,0x47abbbca^_0x37ffbc)),_0x2e9f86[_0x30e675([0x74,0x68,0x65,0x6e])](()=>new window[(_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2fa922=>{let _0x375eea=0x0;_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x6f,0x6e])](_0x30e675([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x411d99,_0x2264de)=>{_0x2264de[0x0][_0x30e675([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x375eea++,_0x375eea==(0x47a280ee^_0x37ffbc)&&(_0x2fa922(),_0x411d99[_0x30e675([0x6f,0x66,0x66])]());});}))];return window[_0x30e675([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x30e675([0x72,0x61,0x63,0x65])](_0x8634ed)[_0x30e675([0x74,0x68,0x65,0x6e])](()=>_0x4fd3f5);}async function _0x442557(){await _0x2e9f86,_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x29087b,_0x2f2520[_0x30e675([0x6d,0x6f,0x64,0x65,0x6c])][_0x30e675([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x29087b,_0x2f2520[_0x30e675([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x30e675([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x306490(_0x4dd7e5){const _0x5b6088=_0x5c3edd();_0x2f2520[_0x5b6088]=_0x30e675([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x4dd7e5,_0x4dd7e5!=_0x30e675([0x56,0x61,0x6c,0x69,0x64])&&_0x442557();}function _0x5c3edd(){const _0x218a0f=window[_0x30e675([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x30e675([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x30e675([0x6e,0x6f,0x77])]())[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x30e675([0x2e]),'');let _0x428719=_0x30e675([0x75]);for(let _0xdcd0=0x0;_0xdcd0<_0x218a0f[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0xdcd0+=0x2){let _0x121bdf=window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x218a0f[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0xdcd0,_0xdcd0+0x2));_0x121bdf>=_0x228414[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x121bdf-=_0x228414[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x428719+=_0x228414[_0x121bdf];}return _0x428719;}function _0x39f844(){const _0xb2a18b=_0xa3b9d1[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e]));if(0x3!=_0xb2a18b[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x1546c3(_0xb2a18b[0x1]);function _0x1546c3(_0x4cdcb8){const _0x5e100f=_0x28234f(_0x4cdcb8);return _0x5e100f&&_0x15b4b7()?_0x5e100f:null;function _0x15b4b7(){const _0x1e8119=_0x5e100f[_0x30e675([0x6a,0x74,0x69])],_0x39b212=window[_0x30e675([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1e8119[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1e8119[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x146f20={..._0x5e100f,[_0x30e675([0x6a,0x74,0x69])]:_0x1e8119[_0x30e675([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1e8119[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x146f20[_0x30e675([0x76,0x63])],_0x31f1b7(_0x146f20)==_0x39b212;}}}async function _0x57c7f7(){let _0xcdbc67=!0x0;try{const _0x5b5170=_0xa3b9d1[_0x30e675([0x73,0x70,0x6c,0x69,0x74])](_0x30e675([0x2e])),[_0x23f567,_0x293607,_0x4c7e6f]=_0x5b5170;return _0x3d86b7(_0x23f567),await _0x411461(_0x23f567,_0x293607,_0x4c7e6f),_0xcdbc67;}catch{return!0x1;}function _0x3d86b7(_0x2643a9){const _0x2886e2=_0x28234f(_0x2643a9);_0x2886e2&&_0x2886e2[_0x30e675([0x61,0x6c,0x67])]==_0x30e675([0x45,0x53,0x32,0x35,0x36])||(_0xcdbc67=!0x1);}async function _0x411461(_0x19b81d,_0x51537a,_0x39d84d){const _0x205461=window[_0x30e675([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x30e675([0x66,0x72,0x6f,0x6d])](_0x470853(_0x39d84d),_0x3efca7=>_0x3efca7[_0x30e675([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x4e2a94=new window[(_0x30e675([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x30e675([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x19b81d+_0x30e675([0x2e])+_0x51537a),_0x299072=window[_0x30e675([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x30e675([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x299072)return;const _0xbe1622=await _0x299072[_0x30e675([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x30e675([0x6a,0x77,0x6b]),_0x4c2c10,{[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x45,0x43,0x44,0x53,0x41]),[_0x30e675([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x30e675([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x299072[_0x30e675([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x45,0x43,0x44,0x53,0x41]),[_0x30e675([0x68,0x61,0x73,0x68])]:{[_0x30e675([0x6e,0x61,0x6d,0x65])]:_0x30e675([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0xbe1622,_0x205461,_0x4e2a94)||(_0xcdbc67=!0x1);}}function _0x28234f(_0x4b41d1){return _0x4b41d1[_0x30e675([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x30e675([0x65,0x79]))?JSON[_0x30e675([0x70,0x61,0x72,0x73,0x65])](_0x470853(_0x4b41d1)):null;}function _0x470853(_0x13912b){return window[_0x30e675([0x61,0x74,0x6f,0x62])](_0x13912b[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x30e675([0x2b]))[_0x30e675([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x30e675([0x2f])));}function _0x31f1b7(_0x568612){let _0x3066a9=0x1505;function _0x5087f6(_0x54b356){for(let _0x36e112=0x0;_0x36e112<_0x54b356[_0x30e675([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x36e112++){const _0x224266=_0x54b356[_0x30e675([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x36e112);_0x3066a9=(_0x3066a9<<0x5)+_0x3066a9+_0x224266,_0x3066a9&=_0x3066a9;}}function _0x211171(_0x4840c0){Array[_0x30e675([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x4840c0)?_0x4840c0[_0x30e675([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x211171):_0x4840c0&&typeof _0x4840c0==_0x30e675([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x30e675([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x4840c0)[_0x30e675([0x73,0x6f,0x72,0x74])]()[_0x30e675([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x24dd0d,_0x5651fc])=>{_0x5087f6(_0x24dd0d),_0x211171(_0x5651fc);}):_0x5087f6(window[_0x30e675([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x4840c0));}return _0x211171(_0x568612),_0x3066a9>>>0x0;}function _0x188e5b(_0x1e335d){return _0x1e335d[_0x30e675([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x30e675([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x30e675([0x30]));}function _0x53ae4c(_0x5a3892){return _0x5a3892[_0x30e675([0x73,0x70,0x6c,0x69,0x74])]('')[_0x30e675([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x30e675([0x6a,0x6f,0x69,0x6e])]('');}function _0x29087b(){}function _0x30e675(_0x800759){return _0x800759['map'](_0x26e80c=>String['fromCharCode'](_0x26e80c))['join']('');}_0x306490(await _0x18d5b9());}(this);}['_moveSelectionToFootnoteDefinition'](_0x461bc9){const {plugins:_0x447b26,editing:_0x287105,model:_0x1de657}=this['editor'],_0x1e6ee0=_0x447b26['get'](_0x512f6d)['getFootnote'](_0x461bc9);return!!_0x1e6ee0&&(_0x1de657['change'](_0x40d9b1=>{_0x40d9b1['setSelection'](_0x40d9b1['createPositionAt'](_0x1e6ee0['definition'],'end'));}),_0x287105['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x551cfd){const {plugins:_0x55d05d,editing:_0x3c04a4,model:_0x17947d}=this['editor'],_0x41b4c6=_0x55d05d['get'](_0x512f6d)['getFootnote'](_0x551cfd);return!!_0x41b4c6&&(_0x17947d['change'](_0x26bfd2=>{_0x26bfd2['setSelection'](_0x41b4c6['reference'],'on');}),_0x3c04a4['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x2d8859}=this['editor']['model'],_0x52d814=this['editor']['config']['get']('footnotes.multiBlock');_0x2d8859['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x2d8859['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x2d8859['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x52d814?_0x2d8859['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x2d8859['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x2d8859['addChildCheck'](_0x486cb1=>{for(const _0x32c326 of _0x486cb1)if('footnoteDefinition'===_0x32c326['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x384b7e}=this,{conversion:_0x51bce5,editing:_0xcc66a7}=_0x384b7e,{t:t}=_0x384b7e['locale'];_0x51bce5['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x1956da,{writer:_0x13bda5,consumable:_0x589f96})=>{const _0x2a3297=_0x1956da['getChild'](0x0);if(!_0x2a3297||!_0x2a3297['is']('element','a'))return null;const _0x42684a=_0x2a3297['getAttribute']('href')||'';if(!_0x42684a['startsWith']('#'))return null;const _0x3c6f95=_0x42684a['replace'](/^#/,'');if(!_0x3c6f95)return null;_0x589f96['consume'](_0x2a3297,{'name':!0x0,'attributes':['href']});for(const {item:_0x5b653d}of _0xcc66a7['view']['createRangeIn'](_0x2a3297))_0x5b653d['is']('$textProxy')?_0x589f96['consume'](_0x5b653d['textNode'],{'name':!0x0}):_0x5b653d['is']('element')&&_0x589f96['consume'](_0x5b653d,{'name':!0x0});return _0x13bda5['createElement']('footnoteRef',{'footnoteId':_0x3c6f95});}}),_0x51bce5['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0xbb1801,{writer:_0x1ac274})=>b(_0xbb1801,_0x1ac274)}),_0x51bce5['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x558ef6,{writer:_0xf0237b})=>{const _0x35ccd2=_0x558ef6['getAttribute']('footnoteCounter');return _0x357b5b(b(_0x558ef6,_0xf0237b),_0xf0237b,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x35ccd2)});}});}['_defineDefinitionsConverters'](){const {editor:_0x5ec968}=this,{t:t}=_0x5ec968['locale'],{conversion:_0x46637e}=_0x5ec968;_0x46637e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x46637e['for']('upcast')['add'](_0x2aebfb=>{_0x2aebfb['on']('element:ol',(_0x2be3b4,_0x46427a,_0x2d3e5f)=>{const _0x15ecd4=_0x46427a['viewItem'];if(!_0x15ecd4['hasClass']('footnotes-list')||!_0x46427a['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2d3e5f['consumable']['consume'](_0x15ecd4,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x26131c,modelCursor:_0x36ca25}=_0x2d3e5f['convertChildren'](_0x46427a['viewItem'],_0x46427a['modelCursor']);_0x46427a['modelRange']=_0x26131c,_0x46427a['modelCursor']=_0x36ca25;}),_0x2aebfb['on']('element:hr',(_0x258933,_0x371f76,_0x51d13b)=>{const _0x28988a=_0x371f76['viewItem'];_0x28988a['hasClass']('footnotes-divider')&&_0x371f76['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x51d13b['consumable']['consume'](_0x28988a,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x46637e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x1ddedf,{writer:_0x432e31})=>D(_0x432e31)}),_0x46637e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xe2fb15,{writer:_0xbbf983})=>{const _0x94b9d3=D(_0xbbf983,{'data-footnotes-list-label':t('Footnotes')}),_0x575658=_0x357b5b(_0x94b9d3,_0xbbf983,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0xbbf983['setCustomProperty']('footnotesDefinitions',!0x0,_0x575658),_0x575658;}});}['_defineDefinitionConverters'](){const {editor:_0x5ed921}=this,{conversion:_0x5235ac,locale:_0x1b871e}=_0x5ed921,_0x29f529=_0x5ed921['config']['get']('footnotes.multiBlock');_0x5235ac['for']('upcast')['add'](_0x152d00=>{_0x152d00['on']('element:li',(_0x431799,_0x3f815a,_0x486fa0)=>{const _0x54ad81=_0x3f815a['viewItem'];if(!_0x54ad81['hasClass']('footnote-definition')||!_0x54ad81['getAttribute']('id'))return;const _0x531270=_0x54ad81['parent'];if(!_0x531270['is']('element','ol')||!_0x531270['hasClass']('footnotes-list'))return;if(!_0x486fa0['consumable']['test'](_0x54ad81,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x14767a=_0x486fa0['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x54ad81['getAttribute']('id')});if(!_0x486fa0['safeInsert'](_0x14767a,_0x3f815a['modelCursor']))return;_0x486fa0['consumable']['consume'](_0x54ad81,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x3c9d59=Array['from'](_0x54ad81['getChildren']())['find'](_0x26fb24=>_0x26fb24['is']('element')&&_0x26fb24['hasClass']('footnote-content'));for(const _0xe5f0e0 of _0x54ad81['getChildren']())_0xe5f0e0['is']('element')&&(_0x486fa0['consumable']['consume'](_0xe5f0e0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x486fa0['consumable']['consume'](_0xe5f0e0,{'name':!0x0,'classes':'footnote-content'}));if(_0x3c9d59){if(_0x29f529)_0x486fa0['convertChildren'](_0x3c9d59,_0x14767a);else{const _0x3c5d12=_0x486fa0['writer']['createElement']('footnoteInlineContent');_0x486fa0['writer']['insert'](_0x3c5d12,_0x14767a),_0x486fa0['convertChildren'](_0x3c9d59,_0x3c5d12);}}_0x486fa0['updateConversionResult'](_0x14767a,_0x3f815a);});}),_0x5235ac['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xc5c242,{writer:_0x568f09})=>y(_0xc5c242,_0x568f09,_0x1b871e,{'dataPipeline':!0x0})}),_0x5235ac['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x1be77a,{writer:_0x1ba43d})=>y(_0x1be77a,_0x1ba43d,_0x1b871e)});}['_defineBogusParagraphConverters'](){const {editor:_0x4a4908}=this,{conversion:_0x1caafb}=_0x4a4908;_0x4a4908['config']['get']('footnotes.multiBlock')?(_0x1caafb['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x1caafb['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4a4908['model']['document'],'change:data',()=>{!function(_0x202578,_0x1ac68d){const _0x557085=_0x202578['document']['differ'],_0x155d98=new Set();for(const _0x9d6f3c of _0x557085['getChanges']()){const _0x40822c='attribute'==_0x9d6f3c['type']?_0x9d6f3c['range']['start']['parent']:_0x9d6f3c['position']['parent'];_0x40822c['is']('element','footnoteDefinition')&&_0x155d98['add'](_0x40822c);}for(const _0x1f8cc5 of _0x155d98['values']()){const _0x1c1c5b=Array['from'](_0x1f8cc5['getChildren']())['filter'](_0x1f4382=>v(_0x1f4382,_0x1ac68d['mapper']));for(const _0x4adca7 of _0x1c1c5b)_0x1ac68d['reconvertItem'](_0x4adca7);}}(_0x4a4908['model'],_0x4a4908['editing']);})):(_0x1caafb['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x1caafb['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x590d01,{writer:_0x2ce287})=>{const _0x216bc5=_0x2ce287['createContainerElement']('span');return _0x2ce287['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x216bc5),_0x216bc5;}}));}['_defineKeyboardHandlers'](){const {editor:_0x2a1a15}=this,{editing:_0x459bc4,t:t}=_0x2a1a15,_0x3b91ce=_0x2a1a15['model']['document']['selection'];_0x2a1a15['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x2a1a15['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x459bc4['view']['document'],'enter',(_0x70d1ae,_0x440561)=>{const _0x3f559b=function(_0xd72685){const _0x48264e=_0xd72685['getSelectedElement']();if(_0x48264e?.['is']('element','footnoteRef'))return _0x48264e;return null;}(_0x3b91ce);if(_0x3f559b){const _0x494a71=_0x3f559b['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x494a71),_0x440561['preventDefault'](),_0x70d1ae['stop']();}},{'context':_0x42fb98});}['_defineClickHandlers'](){const {editor:_0xafb09a}=this,{editing:_0x4199cc}=_0xafb09a;_0xafb09a['editing']['view']['addObserver'](_0x4fc515),_0xafb09a['editing']['view']['addObserver'](_0x2e3767);let _0x14feb2=!0x1;this['listenTo'](_0x4199cc['view']['document'],'pointerdown',(_0x4d12ed,_0x2a3635)=>{const {target:_0x4189f2}=_0x2a3635,_0x47d16d=_0x4199cc['view']['document']['selection'];_0x14feb2=!!(_0x4189f2?.['is']('element','a')&&_0x4189f2['parent']?.['is']('element','sup')&&_0x4189f2['parent']['hasClass']('footnote'))&&_0x47d16d['getSelectedElement']()===_0x4189f2['parent'];},{'priority':'high'}),this['listenTo'](_0x4199cc['view']['document'],'click',(_0x350dd0,_0x45dc82)=>{const {target:_0x258e03}=_0x45dc82;if(!_0x258e03?.['is']('element','a'))return;if(_0x258e03['parent']?.['is']('element','sup')&&_0x258e03['parent']['hasClass']('footnote')&&!_0x14feb2)return void _0x45dc82['preventDefault']();let _0x49457f=_0x258e03['getAttribute']('href');if(!_0x49457f?.['startsWith']('#'))return;_0x49457f=_0x49457f['slice'](0x1);let _0x150904=!0x1;(_0x49457f['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x49457f['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x49457f))&&(_0x150904=!0x0),_0x150904&&(_0x45dc82['preventDefault'](),_0x350dd0['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x12692d}={}){return(_0xb8671e,{writer:_0x5e3e10})=>{if(!g(_0xb8671e))return null;if(!_0x12692d)return _0x5e3e10['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x434fad=_0x5e3e10['createContainerElement']('p');return _0x5e3e10['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x434fad),_0x434fad;};}function g(_0x16e27c){const {parent:_0x526c62}=_0x16e27c;if(!_0x526c62?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x526c62['childCount'])return!0x1;for(const _0x199c28 of _0x16e27c['getAttributeKeys']())if(!_0x199c28['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x199c28)return!0x1;return!0x0;}function v(_0x5b2369,_0x51054e){if(!_0x5b2369['is']('element','paragraph'))return!0x1;const _0x3f05c7=_0x51054e['toViewElement'](_0x5b2369);return!!_0x3f05c7&&g(_0x5b2369)!==_0x3f05c7['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x5d5124){return _0x42fb98(_0x5d5124)&&_0x5d5124['is']('containerElement')&&!!_0x5d5124['getCustomProperty']('footnotesDefinitions');}function D(_0x4a979a,_0x21d445={}){const _0x311ecd=_0x4a979a['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x39c4f2=_0x4a979a['createContainerElement']('ol',{'class':'footnotes-list'},_0x4a979a['createSlot']());return _0x4a979a['createContainerElement']('div',{'class':'footnotes',..._0x21d445},[_0x311ecd,_0x39c4f2]);}function b(_0x55aa3f,_0x424ed9){const _0x441dfd=_0x55aa3f['getAttribute']('footnoteId'),_0x4f4aee=_0x55aa3f['getAttribute']('footnoteCounter'),_0x15023f=_0x424ed9['createUIElement']('a',{'href':'#'+_0x441dfd},function(_0x82833){const _0x2962ff=this['toDomElement'](_0x82833);return _0x2962ff['textContent']=_0x4f4aee,_0x2962ff;}),_0x109c0f=_0x424ed9['createContainerElement']('sup',{'id':'ref-'+_0x441dfd,'class':'footnote'},[_0x15023f]);return _0x109c0f['getFillerOffset']=()=>null,_0x109c0f;}function y(_0x389a0a,_0x5dd535,_0x109fc0,{dataPipeline:_0x4173a9}={}){const {t:t}=_0x109fc0,_0x23a780=_0x389a0a['getAttribute']('footnoteId'),_0x2e6642=_0x5dd535['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x23a780},function(_0x37074a){const _0xbcedf9=this['toDomElement'](_0x37074a);return _0xbcedf9['innerText']='^',_0xbcedf9;}),_0x47591f=_0x4173a9?_0x5dd535['createContainerElement']('div',{'class':'footnote-content'}):_0x236159(_0x5dd535['createEditableElement']('div',{'class':'footnote-content'}),_0x5dd535,{'label':t('Footnote\x20content.')});return _0x5dd535['insert'](_0x5dd535['createPositionAt'](_0x47591f,0x0),_0x5dd535['createSlot']()),_0x5dd535['createContainerElement']('li',{'class':'footnote-definition','id':_0x23a780},[_0x2e6642,_0x47591f]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f664d=_0x3ccd;(function(_0x8e21a3,_0x51f8f7){const _0x55dd32=_0x3ccd,_0x1b0586=_0x8e21a3();while(!![]){try{const _0xd41456=-parseInt(_0x55dd32(0x90))/0x1+parseInt(_0x55dd32(0xa4))/0x2+parseInt(_0x55dd32(0xa3))/0x3+-parseInt(_0x55dd32(0x94))/0x4*(parseInt(_0x55dd32(0x99))/0x5)+parseInt(_0x55dd32(0x92))/0x6+parseInt(_0x55dd32(0x96))/0x7*(parseInt(_0x55dd32(0x98))/0x8)+-parseInt(_0x55dd32(0xa2))/0x9*(-parseInt(_0x55dd32(0x8e))/0xa);if(_0xd41456===_0x51f8f7)break;else _0x1b0586['push'](_0x1b0586['shift']());}catch(_0x3fe57e){_0x1b0586['push'](_0x1b0586['shift']());}}}(_0x2219,0x2ef9f));import{Command as _0x45603b}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x345b7e}from'../../footnotestracker.js';function _0x2219(){const _0x58d949=['change','10376DmpsTP','87350KvoSZZ','plugins','setAttribute','getAttribute','model','footnotesListStart','_updateFootnotesCounters','get','refresh','6489aKKLpU','221034lbJAOv','120712VQvRDN','isEnabled','470cpskdx','getFootnotesDefinitionsObjectElement','103263bUnRuZ','value','1519500OPOdNn','execute','32LRmOOO','isInteger','77guDFwJ'];_0x2219=function(){return _0x58d949;};return _0x2219();}function _0x3ccd(_0x4b9458,_0x2e7113){const _0x2219ec=_0x2219();return _0x3ccd=function(_0x3ccd8b,_0x391fb0){_0x3ccd8b=_0x3ccd8b-0x8d;let _0x151ac8=_0x2219ec[_0x3ccd8b];return _0x151ac8;},_0x3ccd(_0x4b9458,_0x2e7113);}export class FootnotesStartCommand extends _0x45603b{[_0x2f664d(0xa1)](){const _0x3b36ce=_0x2f664d,{editor:_0x3333e8}=this,_0x19beca=_0x3333e8[_0x3b36ce(0x9a)][_0x3b36ce(0xa0)](_0x345b7e)[_0x3b36ce(0x8f)]();this[_0x3b36ce(0x8d)]=!!_0x19beca,this[_0x3b36ce(0x91)]=_0x19beca?.[_0x3b36ce(0x9c)](_0x3b36ce(0x9e))??null;}[_0x2f664d(0x93)]({value:_0x542be6}){const _0x5e921d=_0x2f664d,{editor:_0x485469}=this,_0x17a660=_0x485469[_0x5e921d(0x9a)][_0x5e921d(0xa0)](_0x345b7e),_0x8667f=_0x17a660[_0x5e921d(0x8f)]();_0x8667f&&Number[_0x5e921d(0x95)](_0x542be6)&&_0x485469[_0x5e921d(0x9d)][_0x5e921d(0x97)](_0x4b021a=>{const _0x4cd9fe=_0x5e921d;_0x4b021a[_0x4cd9fe(0x9b)](_0x4cd9fe(0x9e),_0x542be6,_0x8667f),_0x17a660[_0x4cd9fe(0x9f)](_0x4b021a);});}}
23
+ const _0xb79739=_0x68a4;(function(_0x52d940,_0x402c09){const _0x2f2f25=_0x68a4,_0x48882d=_0x52d940();while(!![]){try{const _0x380c58=parseInt(_0x2f2f25(0x100))/0x1*(parseInt(_0x2f2f25(0xfd))/0x2)+-parseInt(_0x2f2f25(0x104))/0x3+parseInt(_0x2f2f25(0xf7))/0x4*(-parseInt(_0x2f2f25(0x10f))/0x5)+-parseInt(_0x2f2f25(0xfe))/0x6*(-parseInt(_0x2f2f25(0xf8))/0x7)+-parseInt(_0x2f2f25(0x103))/0x8*(parseInt(_0x2f2f25(0xfb))/0x9)+-parseInt(_0x2f2f25(0x10b))/0xa+-parseInt(_0x2f2f25(0x107))/0xb*(-parseInt(_0x2f2f25(0xff))/0xc);if(_0x380c58===_0x402c09)break;else _0x48882d['push'](_0x48882d['shift']());}catch(_0x4e66d1){_0x48882d['push'](_0x48882d['shift']());}}}(_0x422e,0x1dbcb));function _0x68a4(_0x5e96ba,_0x4892cd){const _0x422ed3=_0x422e();return _0x68a4=function(_0x68a410,_0x33bca5){_0x68a410=_0x68a410-0xf6;let _0x532fa4=_0x422ed3[_0x68a410];return _0x532fa4;},_0x68a4(_0x5e96ba,_0x4892cd);}import{Command as _0x5999ad}from'ckeditor5/src/core.js';import{FootnotesTracker as _0xe3c449}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x5999ad{[_0xb79739(0x106)](){const _0x32ce40=_0xb79739,{editor:_0x1ac763}=this,_0x459952=_0x1ac763[_0x32ce40(0xfc)][_0x32ce40(0x102)](_0xe3c449)[_0x32ce40(0x109)]();this[_0x32ce40(0x105)]=!!_0x459952,this[_0x32ce40(0x10d)]=_0x459952?.[_0x32ce40(0xfa)](_0x32ce40(0x101))??null;}[_0xb79739(0x10c)]({value:_0xc44f43}){const _0x4383dc=_0xb79739,{editor:_0x589d73}=this,_0x22c5f0=_0x589d73[_0x4383dc(0xfc)][_0x4383dc(0x102)](_0xe3c449),_0x33b4e1=_0x22c5f0[_0x4383dc(0x109)]();_0x33b4e1&&Number[_0x4383dc(0x10e)](_0xc44f43)&&_0x589d73[_0x4383dc(0xf9)][_0x4383dc(0xf6)](_0x578056=>{const _0x469888=_0x4383dc;_0x578056[_0x469888(0x10a)](_0x469888(0x101),_0xc44f43,_0x33b4e1),_0x22c5f0[_0x469888(0x108)](_0x578056);});}}function _0x422e(){const _0x46a721=['2QXNIOM','6iEowqY','48xqVrSl','145414xfjoRM','footnotesListStart','get','208BBgwkT','700839OmnVQM','isEnabled','refresh','990066OJeklg','_updateFootnotesCounters','getFootnotesDefinitionsObjectElement','setAttribute','2172800lFhGMs','execute','value','isInteger','681925cDcTtQ','change','4mvGtsB','1518139GNOfBK','model','getAttribute','4581YUUmbk','plugins'];_0x422e=function(){return _0x46a721;};return _0x422e();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x20b24a=_0x5198;(function(_0x100830,_0x1df381){const _0x54a877=_0x5198,_0x374045=_0x100830();while(!![]){try{const _0x5f2e91=parseInt(_0x54a877(0x185))/0x1*(-parseInt(_0x54a877(0x181))/0x2)+parseInt(_0x54a877(0x189))/0x3*(-parseInt(_0x54a877(0x177))/0x4)+-parseInt(_0x54a877(0x182))/0x5*(parseInt(_0x54a877(0x17d))/0x6)+-parseInt(_0x54a877(0x180))/0x7+parseInt(_0x54a877(0x17b))/0x8+parseInt(_0x54a877(0x176))/0x9+parseInt(_0x54a877(0x183))/0xa;if(_0x5f2e91===_0x1df381)break;else _0x374045['push'](_0x374045['shift']());}catch(_0x5ae8da){_0x374045['push'](_0x374045['shift']());}}}(_0x26c8,0xd3dc2));import{Command as _0xcf4d6f}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x4d74d0}from'../footnotespropertiesconfig.js';function _0x26c8(){const _0x3bc8f1=['11666515zdGsQI','382jaspXY','15275UduBDq','35363450jbIcVs','_updateFootnotesCounters','4304wegFVx','execute','value','change','2079711VznoDU','getAttribute','setAttribute','getFootnotesDefinitionsObjectElement','footnotesListStyle','10604196lXCmky','4EEzOOa','includes','plugins','refresh','7365440VYzRbd','isEnabled','3114ziUPFn','model','get'];_0x26c8=function(){return _0x3bc8f1;};return _0x26c8();}function _0x5198(_0x3a74fa,_0x4169c7){const _0x26c835=_0x26c8();return _0x5198=function(_0x5198dd,_0x1fc570){_0x5198dd=_0x5198dd-0x175;let _0x5a90e3=_0x26c835[_0x5198dd];return _0x5a90e3;},_0x5198(_0x3a74fa,_0x4169c7);}import{FootnotesTracker as _0x304c15}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xcf4d6f{[_0x20b24a(0x17a)](){const _0x14989b=_0x20b24a,{editor:_0x5921fd}=this,_0x375481=_0x5921fd[_0x14989b(0x179)][_0x14989b(0x17f)](_0x304c15)[_0x14989b(0x18c)]();this[_0x14989b(0x17c)]=!!_0x375481,this[_0x14989b(0x187)]=_0x375481?.[_0x14989b(0x18a)](_0x14989b(0x175))??null;}[_0x20b24a(0x186)]({value:_0x1c8709}){const _0x1d5770=_0x20b24a,{editor:_0x47363a}=this,_0x183dc2=_0x47363a[_0x1d5770(0x179)][_0x1d5770(0x17f)](_0x304c15),_0x176ca7=_0x183dc2[_0x1d5770(0x18c)]();_0x176ca7&&_0x4d74d0[_0x1d5770(0x178)](_0x1c8709)&&_0x47363a[_0x1d5770(0x17e)][_0x1d5770(0x188)](_0x21d2e4=>{const _0x54afaa=_0x1d5770;_0x21d2e4[_0x54afaa(0x18b)](_0x54afaa(0x175),_0x1c8709,_0x176ca7),_0x183dc2[_0x54afaa(0x184)](_0x21d2e4);});}}
23
+ const _0x40b76f=_0x28ce;(function(_0x18ecbe,_0x5e7bbf){const _0x5926be=_0x28ce,_0x242113=_0x18ecbe();while(!![]){try{const _0x5932ae=parseInt(_0x5926be(0x192))/0x1+-parseInt(_0x5926be(0x17f))/0x2*(-parseInt(_0x5926be(0x18e))/0x3)+-parseInt(_0x5926be(0x180))/0x4*(parseInt(_0x5926be(0x195))/0x5)+parseInt(_0x5926be(0x191))/0x6+-parseInt(_0x5926be(0x188))/0x7*(-parseInt(_0x5926be(0x189))/0x8)+-parseInt(_0x5926be(0x18c))/0x9*(parseInt(_0x5926be(0x187))/0xa)+-parseInt(_0x5926be(0x18b))/0xb;if(_0x5932ae===_0x5e7bbf)break;else _0x242113['push'](_0x242113['shift']());}catch(_0x545378){_0x242113['push'](_0x242113['shift']());}}}(_0x531d,0x9891e));import{Command as _0x111165}from'ckeditor5/src/core.js';function _0x28ce(_0x16059a,_0x2a83cd){const _0x531da2=_0x531d();return _0x28ce=function(_0x28cef5,_0xdddb49){_0x28cef5=_0x28cef5-0x17f;let _0x5521da=_0x531da2[_0x28cef5];return _0x5521da;},_0x28ce(_0x16059a,_0x2a83cd);}function _0x531d(){const _0x1b86c2=['refresh','value','10wrxzDm','161FhUGtZ','58616ICUXtd','plugins','10808226SNcspk','8212167BBkTlK','getAttribute','24JHKqai','setAttribute','includes','6431880ENtkOD','930103XOzteq','isEnabled','execute','5SHWyHG','model','get','304576QEDuFr','3475812PloygZ','getFootnotesDefinitionsObjectElement','footnotesListStyle','_updateFootnotesCounters','change'];_0x531d=function(){return _0x1b86c2;};return _0x531d();}import{FOOTNOTES_DEFINITIONS_STYLES as _0x55872a}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x26a603}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x111165{[_0x40b76f(0x185)](){const _0x4e09ec=_0x40b76f,{editor:_0x216be2}=this,_0x27e475=_0x216be2[_0x4e09ec(0x18a)][_0x4e09ec(0x197)](_0x26a603)[_0x4e09ec(0x181)]();this[_0x4e09ec(0x193)]=!!_0x27e475,this[_0x4e09ec(0x186)]=_0x27e475?.[_0x4e09ec(0x18d)](_0x4e09ec(0x182))??null;}[_0x40b76f(0x194)]({value:_0x530201}){const _0x4f912e=_0x40b76f,{editor:_0x533f98}=this,_0x3bc93c=_0x533f98[_0x4f912e(0x18a)][_0x4f912e(0x197)](_0x26a603),_0x5ce788=_0x3bc93c[_0x4f912e(0x181)]();_0x5ce788&&_0x55872a[_0x4f912e(0x190)](_0x530201)&&_0x533f98[_0x4f912e(0x196)][_0x4f912e(0x184)](_0x1c0a64=>{const _0x24c752=_0x4f912e;_0x1c0a64[_0x24c752(0x18f)](_0x24c752(0x182),_0x530201,_0x5ce788),_0x3bc93c[_0x24c752(0x183)](_0x1c0a64);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5c8178=_0x1e39;(function(_0x52e488,_0x2bfa03){const _0x38f506=_0x1e39,_0x2db13e=_0x52e488();while(!![]){try{const _0x3db4a9=parseInt(_0x38f506(0x8a))/0x1*(parseInt(_0x38f506(0x88))/0x2)+-parseInt(_0x38f506(0x8d))/0x3*(parseInt(_0x38f506(0x93))/0x4)+parseInt(_0x38f506(0x85))/0x5+-parseInt(_0x38f506(0x91))/0x6*(parseInt(_0x38f506(0x84))/0x7)+-parseInt(_0x38f506(0x92))/0x8+parseInt(_0x38f506(0x80))/0x9*(-parseInt(_0x38f506(0x86))/0xa)+parseInt(_0x38f506(0x82))/0xb*(parseInt(_0x38f506(0x81))/0xc);if(_0x3db4a9===_0x2bfa03)break;else _0x2db13e['push'](_0x2db13e['shift']());}catch(_0x515a88){_0x2db13e['push'](_0x2db13e['shift']());}}}(_0xa9db,0x83adc));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x5c8178(0x89),_0x5c8178(0x8e),_0x5c8178(0x90),_0x5c8178(0x87),_0x5c8178(0x8f),_0x5c8178(0x8c),_0x5c8178(0x8b),_0x5c8178(0x83)];function _0x1e39(_0x247ab0,_0x1895e8){const _0xa9dbce=_0xa9db();return _0x1e39=function(_0x1e398d,_0x712aa0){_0x1e398d=_0x1e398d-0x80;let _0x4e5a94=_0xa9dbce[_0x1e398d];return _0x4e5a94;},_0x1e39(_0x247ab0,_0x1895e8);}function _0xa9db(){const _0xa64e3f=['lower-roman','upper-alpha','2676pbUaOq','decimal-leading-zero','lower-alpha','lower-latin','43338KWSADk','1319800XFWapH','4108DJSVRv','8271szBekn','708apVbYc','308649WFUfcd','upper-roman','973tchJVV','3660555JbrLmE','4110UVPOjE','upper-latin','136562CBsxGD','decimal','9YZkAPc'];_0xa9db=function(){return _0xa64e3f;};return _0xa9db();}
23
+ const _0x23e663=_0x5936;(function(_0x322716,_0x18535a){const _0x5d766e=_0x5936,_0x317ce4=_0x322716();while(!![]){try{const _0x554ac9=parseInt(_0x5d766e(0x1cd))/0x1+-parseInt(_0x5d766e(0x1ca))/0x2*(parseInt(_0x5d766e(0x1cb))/0x3)+-parseInt(_0x5d766e(0x1c5))/0x4+parseInt(_0x5d766e(0x1c6))/0x5+parseInt(_0x5d766e(0x1c4))/0x6*(parseInt(_0x5d766e(0x1d3))/0x7)+-parseInt(_0x5d766e(0x1c2))/0x8*(parseInt(_0x5d766e(0x1cc))/0x9)+parseInt(_0x5d766e(0x1cf))/0xa*(parseInt(_0x5d766e(0x1c3))/0xb);if(_0x554ac9===_0x18535a)break;else _0x317ce4['push'](_0x317ce4['shift']());}catch(_0x3cb6c2){_0x317ce4['push'](_0x317ce4['shift']());}}}(_0x2d62,0x26089));function _0x2d62(){const _0x3d644d=['360eigmEc','decimal','lower-roman','decimal-leading-zero','70yvtcYc','lower-alpha','360896UTuGhV','13497DHfTBq','33834IIaBhv','1197508QWlfiQ','1150930xRPTHH','upper-roman','upper-latin','lower-latin','2746tbpJpt','273NRKqiq','9uqujhM','294469lOJzDL','upper-alpha'];_0x2d62=function(){return _0x3d644d;};return _0x2d62();}function _0x5936(_0x2eea4e,_0x422afb){const _0x2d622c=_0x2d62();return _0x5936=function(_0x5936b8,_0x24fd71){_0x5936b8=_0x5936b8-0x1c2;let _0xa4af1c=_0x2d622c[_0x5936b8];return _0xa4af1c;},_0x5936(_0x2eea4e,_0x422afb);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x23e663(0x1d0),_0x23e663(0x1d2),_0x23e663(0x1c9),_0x23e663(0x1c8),_0x23e663(0x1d4),_0x23e663(0x1ce),_0x23e663(0x1d1),_0x23e663(0x1c7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x3872d5=_0x56be;(function(_0x3c93b8,_0x4bc0ae){const _0x460f29=_0x56be,_0x369198=_0x3c93b8();while(!![]){try{const _0x42147c=parseInt(_0x460f29(0x166))/0x1*(parseInt(_0x460f29(0x17a))/0x2)+parseInt(_0x460f29(0x18b))/0x3*(-parseInt(_0x460f29(0x167))/0x4)+parseInt(_0x460f29(0x16c))/0x5*(-parseInt(_0x460f29(0x1a0))/0x6)+parseInt(_0x460f29(0x147))/0x7*(-parseInt(_0x460f29(0x14c))/0x8)+-parseInt(_0x460f29(0x19a))/0x9+-parseInt(_0x460f29(0x189))/0xa*(-parseInt(_0x460f29(0x15f))/0xb)+-parseInt(_0x460f29(0x194))/0xc*(-parseInt(_0x460f29(0x198))/0xd);if(_0x42147c===_0x4bc0ae)break;else _0x369198['push'](_0x369198['shift']());}catch(_0x54a790){_0x369198['push'](_0x369198['shift']());}}}(_0x4b35,0xa75f2));import{Plugin as _0x2e908d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x33a1eb}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x28c639}from'./commands/footnotesstartcommand.js';function _0x4b35(){const _0x39bb88=['document','attribute:footnotesListStyle:footnotesDefinitions','toLowerCase','init','6640cJeSYg','differ','get','list-style-type','parent','footnotesDefinitions','registerPostFixer','setAttribute','item','getStyle','consume','consumable','element','getAttribute','82souOQt','type','footnotesStart','_defineSchema','setStyle','footnotesStyle','from','isPremiumPlugin','getItems','floor','footnotes-list','insert','hasAttribute','setFootnoteFormatter','padStart','10289350Rbihjp','decimal','1080rSpMpy','removeAttribute','_getDefaultListStyle','getChildren','find','FootnotesPropertiesEditing','modelCursor','plugins','upper-alpha','25269900XyDwQW','isOfficialPlugin','pluginName','_defineConverters','13esMuJU','nodeAfter','4437162MEFnsY','$text','attribute:footnotesListStart:footnotesDefinitions','requires','checkAttribute','_formatFootnoteListValue','5268uiLDDC','footnotesListStyle','upcast','upper-latin','max','upper-roman','footnotes.footnotesProperties.defaultStartIndex','getChanges','schema','lower-roman','_defineFormatter','toViewElement','footnotes.footnotesProperties.defaultListStyle','removeStyle','commands','21609bQaEic','createRangeOn','position','_updateFootnotesCounters','parseInt','216wyxaYv','config','start','writer','lower-latin','lower-alpha','define','editor','downcast','fromCharCode','element:ol','_getDefaultStartIndex','for','name','viewItem','isNaN','mapper','footnotesListStart','model','11RFsdoN','extend','_definePostfixer','hasClass','add','toUpperCase','decimal-leading-zero','1945SJqsfy','8740GPXGGN'];_0x4b35=function(){return _0x39bb88;};return _0x4b35();}import{FootnotesTracker as _0x35a513}from'../footnotestracker.js';import{FootnotesEditing as _0x31a006}from'../footnotesediting.js';function _0x56be(_0x3d1435,_0x5a94eb){const _0x4b3547=_0x4b35();return _0x56be=function(_0x56be21,_0x2344d1){_0x56be21=_0x56be21-0x139;let _0x3b9290=_0x4b3547[_0x56be21];return _0x3b9290;},_0x56be(_0x3d1435,_0x5a94eb);}export class FootnotesPropertiesEditing extends _0x2e908d{static get[_0x3872d5(0x196)](){const _0x789a50=_0x3872d5;return _0x789a50(0x190);}static get[_0x3872d5(0x19d)](){return[_0x31a006,_0x35a513];}static get[_0x3872d5(0x195)](){return!0x0;}static get[_0x3872d5(0x181)](){return!0x0;}[_0x3872d5(0x16b)](){const _0x3a0c2f=_0x3872d5,{editor:_0x5a4f6a}=this;_0x5a4f6a[_0x3a0c2f(0x14d)][_0x3a0c2f(0x152)](_0x3a0c2f(0x144),_0x3a0c2f(0x18a)),_0x5a4f6a[_0x3a0c2f(0x14d)][_0x3a0c2f(0x152)](_0x3a0c2f(0x13e),0x1),_0x5a4f6a[_0x3a0c2f(0x146)][_0x3a0c2f(0x163)](_0x3a0c2f(0x17f),new _0x33a1eb(_0x5a4f6a)),_0x5a4f6a[_0x3a0c2f(0x146)][_0x3a0c2f(0x163)](_0x3a0c2f(0x17c),new _0x28c639(_0x5a4f6a)),this[_0x3a0c2f(0x17d)](),this[_0x3a0c2f(0x197)](),this[_0x3a0c2f(0x142)](),this[_0x3a0c2f(0x161)]();}[_0x3872d5(0x17d)](){const _0x10cc4c=_0x3872d5,{editor:_0x125222}=this,{schema:_0x3568ef}=_0x125222[_0x10cc4c(0x15e)];_0x3568ef[_0x10cc4c(0x160)](_0x10cc4c(0x171),{'allowAttributes':[_0x10cc4c(0x139),_0x10cc4c(0x15d)]});}[_0x3872d5(0x197)](){const _0x1b65e6=_0x3872d5,{editor:_0x55deab}=this,{conversion:_0x4ecea2,model:_0x4e2083}=_0x55deab,{schema:_0x1c2ec1}=_0x4e2083;_0x4ecea2[_0x1b65e6(0x158)](_0x1b65e6(0x13a))[_0x1b65e6(0x163)](_0x4adc52=>{const _0x176915=_0x1b65e6;_0x4adc52['on'](_0x176915(0x156),(_0x3396fd,_0x2eaef6,_0x232055)=>{const _0x583284=_0x176915,_0x4fbacc=_0x2eaef6[_0x583284(0x15a)],_0x2f148d=_0x2eaef6[_0x583284(0x191)]?.[_0x583284(0x170)];_0x4fbacc[_0x583284(0x162)](_0x583284(0x184))&&_0x2f148d?.['is'](_0x583284(0x178),_0x583284(0x171))&&(function(_0x4624f0,_0x483a69,_0x5e2c07,_0x40498e){const _0x4ae6cf=_0x583284;if(!_0x40498e[_0x4ae6cf(0x19e)](_0x483a69,_0x4ae6cf(0x15d)))return;let _0x44e660=0x1;const _0x3ba5cf=_0x5e2c07[_0x4ae6cf(0x177)][_0x4ae6cf(0x176)](_0x4624f0,{'attributes':_0x4ae6cf(0x14e)});if(_0x3ba5cf){const _0x4b3cde=Number[_0x4ae6cf(0x14b)](_0x4624f0[_0x4ae6cf(0x179)](_0x4ae6cf(0x14e)),0xa);Number[_0x4ae6cf(0x15b)](_0x4b3cde)||(_0x44e660=_0x4b3cde);}!_0x3ba5cf&&_0x483a69[_0x4ae6cf(0x186)](_0x4ae6cf(0x15d))||_0x5e2c07[_0x4ae6cf(0x14f)][_0x4ae6cf(0x173)](_0x4ae6cf(0x15d),_0x44e660,_0x483a69);}(_0x4fbacc,_0x2f148d,_0x232055,_0x1c2ec1),function(_0x4a979a,_0x5fee6e,_0xfeca19,_0x4fa992){const _0x5a44f=_0x583284;if(!_0x4fa992[_0x5a44f(0x19e)](_0x5fee6e,_0x5a44f(0x139)))return;let _0x4ff909=_0x5a44f(0x18a),_0xd9ac54=!0x1;if(_0xfeca19[_0x5a44f(0x177)][_0x5a44f(0x176)](_0x4a979a,{'attributes':_0x5a44f(0x17b)})){const _0x28ce01={0x1:_0x5a44f(0x18a),'a':_0x5a44f(0x151),'A':_0x5a44f(0x193),'i':_0x5a44f(0x141),'I':_0x5a44f(0x13d)}[_0x4a979a[_0x5a44f(0x179)](_0x5a44f(0x17b))];_0x28ce01&&(_0x4ff909=_0x28ce01),_0xd9ac54=!0x0;}_0xfeca19[_0x5a44f(0x177)][_0x5a44f(0x176)](_0x4a979a,{'styles':_0x5a44f(0x16f)})&&(_0x4ff909=function(_0x576f7c){const _0x3b7c81=_0x5a44f;switch(_0x576f7c){case _0x3b7c81(0x151):return _0x3b7c81(0x150);case _0x3b7c81(0x193):return _0x3b7c81(0x13b);default:return _0x576f7c;}}(_0x4a979a[_0x5a44f(0x175)](_0x5a44f(0x16f))),_0xd9ac54=!0x0),!_0xd9ac54&&_0x5fee6e[_0x5a44f(0x186)](_0x5a44f(0x139))||_0xfeca19[_0x5a44f(0x14f)][_0x5a44f(0x173)](_0x5a44f(0x139),_0x4ff909,_0x5fee6e);}(_0x4fbacc,_0x2f148d,_0x232055,_0x1c2ec1));});}),_0x4ecea2[_0x1b65e6(0x158)](_0x1b65e6(0x154))[_0x1b65e6(0x163)](_0x16db16=>{const _0x6b03a5=_0x1b65e6;_0x16db16['on'](_0x6b03a5(0x19c),(_0x4bd351,_0x1a9c31,_0x31c136)=>{const _0x191798=_0x6b03a5;if(!_0x31c136[_0x191798(0x177)][_0x191798(0x176)](_0x1a9c31[_0x191798(0x174)],_0x4bd351[_0x191798(0x159)]))return;const _0x34e5c8=M(_0x1a9c31[_0x191798(0x174)],_0x31c136[_0x191798(0x15c)]),{attributeNewValue:_0x273108}=_0x1a9c31;null==_0x273108||0x1===_0x273108?_0x31c136[_0x191798(0x14f)][_0x191798(0x18c)](_0x191798(0x14e),_0x34e5c8):_0x31c136[_0x191798(0x14f)][_0x191798(0x173)](_0x191798(0x14e),String(_0x273108),_0x34e5c8);}),_0x16db16['on'](_0x6b03a5(0x169),(_0x1026c9,_0xbe879d,_0x36da14)=>{const _0xe65643=_0x6b03a5;if(!_0x36da14[_0xe65643(0x177)][_0xe65643(0x176)](_0xbe879d[_0xe65643(0x174)],_0x1026c9[_0xe65643(0x159)]))return;const _0x2e951d=M(_0xbe879d[_0xe65643(0x174)],_0x36da14[_0xe65643(0x15c)]),{attributeNewValue:_0x33938e}=_0xbe879d;_0x33938e&&_0xe65643(0x18a)!==_0x33938e?_0x36da14[_0xe65643(0x14f)][_0xe65643(0x17e)](_0xe65643(0x16f),_0x33938e,_0x2e951d):_0x36da14[_0xe65643(0x14f)][_0xe65643(0x145)](_0xe65643(0x16f),_0x2e951d);});});}[_0x3872d5(0x161)](){const _0x104180=_0x3872d5,{editor:_0xa438b4}=this,{model:_0x112bbb}=_0xa438b4,_0x4ffee1=_0xa438b4[_0x104180(0x192)][_0x104180(0x16e)](_0x35a513),_0x12c8d7=this[_0x104180(0x18d)](),_0x4048e5=this[_0x104180(0x157)]();_0x112bbb[_0x104180(0x168)][_0x104180(0x172)](_0xa74018=>{const _0x3b7d63=_0x104180,_0xf1a06b=_0x112bbb[_0x3b7d63(0x168)][_0x3b7d63(0x16d)][_0x3b7d63(0x13f)]();let _0x532007=!0x1;for(const _0x1a76c3 of _0xf1a06b){if(_0x3b7d63(0x185)!==_0x1a76c3[_0x3b7d63(0x17b)]||_0x3b7d63(0x19b)===_0x1a76c3[_0x3b7d63(0x159)])continue;const _0x3994ba=_0x112bbb[_0x3b7d63(0x148)](_0x1a76c3[_0x3b7d63(0x149)][_0x3b7d63(0x199)]);for(const _0x2e9fd2 of _0x3994ba[_0x3b7d63(0x182)]())_0x2e9fd2['is'](_0x3b7d63(0x178),_0x3b7d63(0x171))&&(!_0x2e9fd2[_0x3b7d63(0x186)](_0x3b7d63(0x15d))&&_0x112bbb[_0x3b7d63(0x140)][_0x3b7d63(0x19e)](_0x2e9fd2,_0x3b7d63(0x15d))&&(_0xa74018[_0x3b7d63(0x173)](_0x3b7d63(0x15d),_0x4048e5,_0x2e9fd2),_0x532007=!0x0),!_0x2e9fd2[_0x3b7d63(0x186)](_0x3b7d63(0x139))&&_0x112bbb[_0x3b7d63(0x140)][_0x3b7d63(0x19e)](_0x2e9fd2,_0x3b7d63(0x139))&&(_0xa74018[_0x3b7d63(0x173)](_0x3b7d63(0x139),_0x12c8d7,_0x2e9fd2),_0x532007=!0x0));}return _0x532007&&_0x4ffee1[_0x3b7d63(0x14a)](_0xa74018),_0x532007;});}[_0x3872d5(0x142)](){const _0x570ccf=_0x3872d5,{editor:_0x18c525}=this;_0x18c525[_0x570ccf(0x192)][_0x570ccf(0x16e)](_0x35a513)[_0x570ccf(0x187)](_0x19b5f6=>this[_0x570ccf(0x19f)](_0x19b5f6));}[_0x3872d5(0x18d)](){const _0x273852=_0x3872d5;return this[_0x273852(0x153)][_0x273852(0x14d)][_0x273852(0x16e)](_0x273852(0x144));}[_0x3872d5(0x157)](){const _0x2f473a=_0x3872d5;return this[_0x2f473a(0x153)][_0x2f473a(0x14d)][_0x2f473a(0x16e)](_0x2f473a(0x13e));}[_0x3872d5(0x19f)]({container:_0x2e2079,value:_0x1467ec,digits:_0x5867bf}){const _0x4bdf12=_0x3872d5,_0x47a1ae=_0x2e2079[_0x4bdf12(0x179)](_0x4bdf12(0x139)),_0x20480b=_0x2e2079[_0x4bdf12(0x179)](_0x4bdf12(0x15d)),_0x4caeef=Math[_0x4bdf12(0x183)](_0x1467ec)+(_0x20480b??0x1)-0x1;switch(_0x47a1ae){case _0x4bdf12(0x165):return function(_0x258201,_0x294bea){const _0x1b3568=_0x4bdf12;return String(_0x258201)[_0x1b3568(0x188)](_0x294bea,'0');}(_0x4caeef,Math[_0x4bdf12(0x13c)](0x2,_0x5867bf));case _0x4bdf12(0x151):case _0x4bdf12(0x150):return N(_0x4caeef,!0x1);case _0x4bdf12(0x193):case _0x4bdf12(0x13b):return N(_0x4caeef,!0x0);case _0x4bdf12(0x141):return X(_0x4caeef,!0x1);case _0x4bdf12(0x13d):return X(_0x4caeef,!0x0);default:return String(_0x4caeef);}}}function M(_0x3f4a61,_0xa582b1){const _0x401039=_0x3872d5,_0x183887=_0xa582b1[_0x401039(0x143)](_0x3f4a61);return Array[_0x401039(0x180)](_0x183887[_0x401039(0x18e)]())[_0x401039(0x18f)](_0x2cb945=>_0x2cb945['is'](_0x401039(0x178),'ol')&&_0x2cb945[_0x401039(0x162)](_0x401039(0x184)));}function N(_0x45e154,_0x5d93ac){const _0x19c37e=_0x3872d5;let _0xdc02da='',_0x2892e2=_0x45e154;for(;_0x2892e2>0x0;){const _0x1e3c70=(_0x2892e2-0x1)%0x1a;_0xdc02da=String[_0x19c37e(0x155)](0x61+_0x1e3c70)+_0xdc02da,_0x2892e2=Math[_0x19c37e(0x183)]((_0x2892e2-0x1)/0x1a);}return _0x5d93ac?_0xdc02da[_0x19c37e(0x164)]():_0xdc02da;}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(_0x5203d8,_0x5b740e){const _0x38c00f=_0x3872d5;let _0x4aa14c='',_0x1fdd4b=_0x5203d8;for(const {value:_0x375112,numeral:_0x133783}of V)for(;_0x1fdd4b>=_0x375112;)_0x4aa14c+=_0x133783,_0x1fdd4b-=_0x375112;return _0x5b740e?_0x4aa14c:_0x4aa14c[_0x38c00f(0x16a)]();}
23
+ function _0x40a3(){const _0x32b72a=['downcast','328349WJgUnQ','createRangeOn','item','element:ol','toLowerCase','checkAttribute','parent','extend','upper-roman','insert','decimal','footnotesListStart','modelCursor','consumable','add','7550715tmEtXO','694337EwDKbi','plugins','lower-latin','8786050KrEgNA','getChanges','decimal-leading-zero','16xLfaDj','attribute:footnotesListStyle:footnotesDefinitions','upper-latin','96219ePunUi','footnotesStyle','schema','type','_updateFootnotesCounters','writer','attribute:footnotesListStart:footnotesDefinitions','from','get','upcast','footnotes.footnotesProperties.defaultListStyle','element','isPremiumPlugin','hasAttribute','toViewElement','_defineFormatter','footnotesDefinitions','document','fromCharCode','define','_getDefaultStartIndex','lower-roman','FootnotesPropertiesEditing','hasClass','footnotes-list','config','toUpperCase','getStyle','_defineSchema','removeStyle','36UbcIjc','setStyle','footnotesStart','1472206ErdZfI','for','parseInt','position','nodeAfter','max','$text','commands','setFootnoteFormatter','footnotesListStyle','_definePostfixer','81hVAYQt','differ','init','removeAttribute','lower-alpha','21992iYwIDl','floor','editor','registerPostFixer','start','getChildren','_defineConverters','setAttribute','getAttribute','viewItem','isOfficialPlugin','padStart','model','consume','footnotes.footnotesProperties.defaultStartIndex','requires','mapper','find','_getDefaultListStyle','upper-alpha','pluginName','isNaN','getItems','list-style-type','name','_formatFootnoteListValue'];_0x40a3=function(){return _0x32b72a;};return _0x40a3();}const _0x3a506f=_0x4475;(function(_0x39896f,_0x43064a){const _0x44d37e=_0x4475,_0x2d3991=_0x39896f();while(!![]){try{const _0xf75b07=-parseInt(_0x44d37e(0xc2))/0x1+-parseInt(_0x44d37e(0xfc))/0x2+-parseInt(_0x44d37e(0xdb))/0x3*(-parseInt(_0x44d37e(0xd8))/0x4)+parseInt(_0x44d37e(0xd1))/0x5+-parseInt(_0x44d37e(0xf9))/0x6*(parseInt(_0x44d37e(0xd2))/0x7)+parseInt(_0x44d37e(0x10c))/0x8*(parseInt(_0x44d37e(0x107))/0x9)+parseInt(_0x44d37e(0xd5))/0xa;if(_0xf75b07===_0x43064a)break;else _0x2d3991['push'](_0x2d3991['shift']());}catch(_0x3b909e){_0x2d3991['push'](_0x2d3991['shift']());}}}(_0x40a3,0xd7607));import{Plugin as _0xf213c4}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x259508}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x53629e}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x26d87d}from'../footnotestracker.js';import{FootnotesEditing as _0x72f143}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0xf213c4{static get[_0x3a506f(0xbb)](){const _0x969703=_0x3a506f;return _0x969703(0xf1);}static get[_0x3a506f(0xb6)](){return[_0x72f143,_0x26d87d];}static get[_0x3a506f(0xb1)](){return!0x0;}static get[_0x3a506f(0xe7)](){return!0x0;}[_0x3a506f(0x109)](){const _0x2a7061=_0x3a506f,{editor:_0x5bf5f3}=this;_0x5bf5f3[_0x2a7061(0xf4)][_0x2a7061(0xee)](_0x2a7061(0xe5),_0x2a7061(0xcc)),_0x5bf5f3[_0x2a7061(0xf4)][_0x2a7061(0xee)](_0x2a7061(0xb5),0x1),_0x5bf5f3[_0x2a7061(0x103)][_0x2a7061(0xd0)](_0x2a7061(0xdc),new _0x259508(_0x5bf5f3)),_0x5bf5f3[_0x2a7061(0x103)][_0x2a7061(0xd0)](_0x2a7061(0xfb),new _0x53629e(_0x5bf5f3)),this[_0x2a7061(0xf7)](),this[_0x2a7061(0x112)](),this[_0x2a7061(0xea)](),this[_0x2a7061(0x106)]();}[_0x3a506f(0xf7)](){const _0x3b02f8=_0x3a506f,{editor:_0x36c9f6}=this,{schema:_0xb9fa5}=_0x36c9f6[_0x3b02f8(0xb3)];_0xb9fa5[_0x3b02f8(0xc9)](_0x3b02f8(0xeb),{'allowAttributes':[_0x3b02f8(0x105),_0x3b02f8(0xcd)]});}[_0x3a506f(0x112)](){const _0x1623c0=_0x3a506f,{editor:_0x5a92a8}=this,{conversion:_0x7ebdc,model:_0x47ee7d}=_0x5a92a8,{schema:_0x43aaaa}=_0x47ee7d;_0x7ebdc[_0x1623c0(0xfd)](_0x1623c0(0xe4))[_0x1623c0(0xd0)](_0x211b40=>{const _0x562a11=_0x1623c0;_0x211b40['on'](_0x562a11(0xc5),(_0x144a56,_0x16f7c1,_0x2f52c2)=>{const _0xea844=_0x562a11,_0x4decc3=_0x16f7c1[_0xea844(0xb0)],_0x392a49=_0x16f7c1[_0xea844(0xce)]?.[_0xea844(0xc8)];_0x4decc3[_0xea844(0xf2)](_0xea844(0xf3))&&_0x392a49?.['is'](_0xea844(0xe6),_0xea844(0xeb))&&(function(_0x34b483,_0x2302b2,_0x147459,_0xf2177e){const _0x45c2e1=_0xea844;if(!_0xf2177e[_0x45c2e1(0xc7)](_0x2302b2,_0x45c2e1(0xcd)))return;let _0x25580d=0x1;const _0x76fd04=_0x147459[_0x45c2e1(0xcf)][_0x45c2e1(0xb4)](_0x34b483,{'attributes':_0x45c2e1(0x110)});if(_0x76fd04){const _0x4de58c=Number[_0x45c2e1(0xfe)](_0x34b483[_0x45c2e1(0xaf)](_0x45c2e1(0x110)),0xa);Number[_0x45c2e1(0xbc)](_0x4de58c)||(_0x25580d=_0x4de58c);}!_0x76fd04&&_0x2302b2[_0x45c2e1(0xe8)](_0x45c2e1(0xcd))||_0x147459[_0x45c2e1(0xe0)][_0x45c2e1(0x113)](_0x45c2e1(0xcd),_0x25580d,_0x2302b2);}(_0x4decc3,_0x392a49,_0x2f52c2,_0x43aaaa),function(_0x53c0c7,_0x30add2,_0x18b54a,_0x1c8c75){const _0x5970b4=_0xea844;if(!_0x1c8c75[_0x5970b4(0xc7)](_0x30add2,_0x5970b4(0x105)))return;let _0x2ed006=_0x5970b4(0xcc),_0x21b638=!0x1;if(_0x18b54a[_0x5970b4(0xcf)][_0x5970b4(0xb4)](_0x53c0c7,{'attributes':_0x5970b4(0xde)})){const _0x13e223={0x1:_0x5970b4(0xcc),'a':_0x5970b4(0x10b),'A':_0x5970b4(0xba),'i':_0x5970b4(0xf0),'I':_0x5970b4(0xca)}[_0x53c0c7[_0x5970b4(0xaf)](_0x5970b4(0xde))];_0x13e223&&(_0x2ed006=_0x13e223),_0x21b638=!0x0;}_0x18b54a[_0x5970b4(0xcf)][_0x5970b4(0xb4)](_0x53c0c7,{'styles':_0x5970b4(0xbe)})&&(_0x2ed006=function(_0x524fb8){const _0x40c035=_0x5970b4;switch(_0x524fb8){case _0x40c035(0x10b):return _0x40c035(0xd4);case _0x40c035(0xba):return _0x40c035(0xda);default:return _0x524fb8;}}(_0x53c0c7[_0x5970b4(0xf6)](_0x5970b4(0xbe))),_0x21b638=!0x0),!_0x21b638&&_0x30add2[_0x5970b4(0xe8)](_0x5970b4(0x105))||_0x18b54a[_0x5970b4(0xe0)][_0x5970b4(0x113)](_0x5970b4(0x105),_0x2ed006,_0x30add2);}(_0x4decc3,_0x392a49,_0x2f52c2,_0x43aaaa));});}),_0x7ebdc[_0x1623c0(0xfd)](_0x1623c0(0xc1))[_0x1623c0(0xd0)](_0x5e121e=>{const _0xfa93d=_0x1623c0;_0x5e121e['on'](_0xfa93d(0xe1),(_0x189fff,_0xc2e2ba,_0x542908)=>{const _0x1cc64a=_0xfa93d;if(!_0x542908[_0x1cc64a(0xcf)][_0x1cc64a(0xb4)](_0xc2e2ba[_0x1cc64a(0xc4)],_0x189fff[_0x1cc64a(0xbf)]))return;const _0x55319b=M(_0xc2e2ba[_0x1cc64a(0xc4)],_0x542908[_0x1cc64a(0xb7)]),{attributeNewValue:_0x33d676}=_0xc2e2ba;null==_0x33d676||0x1===_0x33d676?_0x542908[_0x1cc64a(0xe0)][_0x1cc64a(0x10a)](_0x1cc64a(0x110),_0x55319b):_0x542908[_0x1cc64a(0xe0)][_0x1cc64a(0x113)](_0x1cc64a(0x110),String(_0x33d676),_0x55319b);}),_0x5e121e['on'](_0xfa93d(0xd9),(_0x11fe95,_0x29032a,_0x14f9ec)=>{const _0x5d355c=_0xfa93d;if(!_0x14f9ec[_0x5d355c(0xcf)][_0x5d355c(0xb4)](_0x29032a[_0x5d355c(0xc4)],_0x11fe95[_0x5d355c(0xbf)]))return;const _0x237e60=M(_0x29032a[_0x5d355c(0xc4)],_0x14f9ec[_0x5d355c(0xb7)]),{attributeNewValue:_0x261e85}=_0x29032a;_0x261e85&&_0x5d355c(0xcc)!==_0x261e85?_0x14f9ec[_0x5d355c(0xe0)][_0x5d355c(0xfa)](_0x5d355c(0xbe),_0x261e85,_0x237e60):_0x14f9ec[_0x5d355c(0xe0)][_0x5d355c(0xf8)](_0x5d355c(0xbe),_0x237e60);});});}[_0x3a506f(0x106)](){const _0x20a545=_0x3a506f,{editor:_0x3e9707}=this,{model:_0x31c194}=_0x3e9707,_0x3af14f=_0x3e9707[_0x20a545(0xd3)][_0x20a545(0xe3)](_0x26d87d),_0x2b0a83=this[_0x20a545(0xb9)](),_0x4b8a26=this[_0x20a545(0xef)]();_0x31c194[_0x20a545(0xec)][_0x20a545(0x10f)](_0x55dafd=>{const _0x369d0b=_0x20a545,_0x29e2b9=_0x31c194[_0x369d0b(0xec)][_0x369d0b(0x108)][_0x369d0b(0xd6)]();let _0x17bc96=!0x1;for(const _0x22e303 of _0x29e2b9){if(_0x369d0b(0xcb)!==_0x22e303[_0x369d0b(0xde)]||_0x369d0b(0x102)===_0x22e303[_0x369d0b(0xbf)])continue;const _0x2a9eac=_0x31c194[_0x369d0b(0xc3)](_0x22e303[_0x369d0b(0xff)][_0x369d0b(0x100)]);for(const _0x12caca of _0x2a9eac[_0x369d0b(0xbd)]())_0x12caca['is'](_0x369d0b(0xe6),_0x369d0b(0xeb))&&(!_0x12caca[_0x369d0b(0xe8)](_0x369d0b(0xcd))&&_0x31c194[_0x369d0b(0xdd)][_0x369d0b(0xc7)](_0x12caca,_0x369d0b(0xcd))&&(_0x55dafd[_0x369d0b(0x113)](_0x369d0b(0xcd),_0x4b8a26,_0x12caca),_0x17bc96=!0x0),!_0x12caca[_0x369d0b(0xe8)](_0x369d0b(0x105))&&_0x31c194[_0x369d0b(0xdd)][_0x369d0b(0xc7)](_0x12caca,_0x369d0b(0x105))&&(_0x55dafd[_0x369d0b(0x113)](_0x369d0b(0x105),_0x2b0a83,_0x12caca),_0x17bc96=!0x0));}return _0x17bc96&&_0x3af14f[_0x369d0b(0xdf)](_0x55dafd),_0x17bc96;});}[_0x3a506f(0xea)](){const _0xa75ef5=_0x3a506f,{editor:_0x4507b8}=this;_0x4507b8[_0xa75ef5(0xd3)][_0xa75ef5(0xe3)](_0x26d87d)[_0xa75ef5(0x104)](_0x4841b3=>this[_0xa75ef5(0xc0)](_0x4841b3));}[_0x3a506f(0xb9)](){const _0x1e0971=_0x3a506f;return this[_0x1e0971(0x10e)][_0x1e0971(0xf4)][_0x1e0971(0xe3)](_0x1e0971(0xe5));}[_0x3a506f(0xef)](){const _0x2403e2=_0x3a506f;return this[_0x2403e2(0x10e)][_0x2403e2(0xf4)][_0x2403e2(0xe3)](_0x2403e2(0xb5));}[_0x3a506f(0xc0)]({container:_0x68e5e0,value:_0x1dfcd7,digits:_0x57ceaf}){const _0x42dd56=_0x3a506f,_0x53b959=_0x68e5e0[_0x42dd56(0xaf)](_0x42dd56(0x105)),_0x1f97c9=_0x68e5e0[_0x42dd56(0xaf)](_0x42dd56(0xcd)),_0x438c95=Math[_0x42dd56(0x10d)](_0x1dfcd7)+(_0x1f97c9??0x1)-0x1;switch(_0x53b959){case _0x42dd56(0xd7):return function(_0x86a2d8,_0x5953c6){const _0x3f7d3d=_0x42dd56;return String(_0x86a2d8)[_0x3f7d3d(0xb2)](_0x5953c6,'0');}(_0x438c95,Math[_0x42dd56(0x101)](0x2,_0x57ceaf));case _0x42dd56(0x10b):case _0x42dd56(0xd4):return N(_0x438c95,!0x1);case _0x42dd56(0xba):case _0x42dd56(0xda):return N(_0x438c95,!0x0);case _0x42dd56(0xf0):return X(_0x438c95,!0x1);case _0x42dd56(0xca):return X(_0x438c95,!0x0);default:return String(_0x438c95);}}}function M(_0x1fde04,_0x2bfd7c){const _0x2a2f69=_0x3a506f,_0x533f83=_0x2bfd7c[_0x2a2f69(0xe9)](_0x1fde04);return Array[_0x2a2f69(0xe2)](_0x533f83[_0x2a2f69(0x111)]())[_0x2a2f69(0xb8)](_0x12e059=>_0x12e059['is'](_0x2a2f69(0xe6),'ol')&&_0x12e059[_0x2a2f69(0xf2)](_0x2a2f69(0xf3)));}function _0x4475(_0xf03d25,_0x3c562b){const _0x40a31f=_0x40a3();return _0x4475=function(_0x44752d,_0x554746){_0x44752d=_0x44752d-0xaf;let _0x500adc=_0x40a31f[_0x44752d];return _0x500adc;},_0x4475(_0xf03d25,_0x3c562b);}function N(_0x234f2a,_0x288f2b){const _0x2da686=_0x3a506f;let _0x5e4d9c='',_0x5e882e=_0x234f2a;for(;_0x5e882e>0x0;){const _0x178e0a=(_0x5e882e-0x1)%0x1a;_0x5e4d9c=String[_0x2da686(0xed)](0x61+_0x178e0a)+_0x5e4d9c,_0x5e882e=Math[_0x2da686(0x10d)]((_0x5e882e-0x1)/0x1a);}return _0x288f2b?_0x5e4d9c[_0x2da686(0xf5)]():_0x5e4d9c;}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(_0x3d6a65,_0x3e80a0){const _0x2d5273=_0x3a506f;let _0x546108='',_0x44ed0f=_0x3d6a65;for(const {value:_0x5198cf,numeral:_0x9dcc49}of V)for(;_0x44ed0f>=_0x5198cf;)_0x546108+=_0x9dcc49,_0x44ed0f-=_0x5198cf;return _0x3e80a0?_0x546108:_0x546108[_0x2d5273(0xc6)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x433cb7,ButtonView as _0x4321d5,ContextualBalloon as _0xe351d7,createDropdown as _0x4cdc03}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x533671}from'ckeditor5/src/widget.js';import{Plugin as _0x369ce1}from'ckeditor5/src/core.js';import{IconFootnote as _0x26ce0f,IconListStyleDecimal as _0x188fd0,IconListStyleDecimalLeadingZero as _0x58bb80,IconListStyleLowerLatin as _0x10d265,IconListStyleLowerRoman as _0x8c3b2,IconListStyleUpperLatin as _0x29cb2c,IconListStyleUpperRoman as _0xfaf9b8}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x4f5a52}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x2709a0}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x369ce1{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0xe351d7,_0x533671];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x57277e}=this,{componentFactory:_0x8721d4}=_0x57277e['ui'];_0x57277e['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x8721d4['add']('footnotesStyle',function(_0xe1aacc){return _0x1d4454=>{const {t:t}=_0x1d4454,_0x422179=_0xe1aacc['commands']['get']('footnotesStyle'),_0x979254=_0x4cdc03(_0x1d4454),{buttonView:_0x5d8f0f}=_0x979254;return _0x979254['class']='ck-footnotes-styles-dropdown',_0x979254['bind']('isEnabled')['to'](_0x422179,'isEnabled'),_0x5d8f0f['set']({'label':t('Footnotes\x20style'),'icon':_0x26ce0f,'tooltip':!0x0}),_0x979254['once']('change:isOpen',()=>{const _0x3a6226=function({editor:_0x483ce5,dropdownView:_0x388abe}){const {t:t}=_0x483ce5['locale'],_0x49a3fa=t('Footnotes\x20definitions\x20styles'),_0x3f8f89=function(_0x2d3352){const t=_0x2d3352['locale']['t'],_0x3a185f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x188fd0},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x58bb80},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x8c3b2},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0xfaf9b8},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x10d265},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x29cb2c}];return _0x3a185f['map'](function(_0xa46e3a){const _0xd2f396=_0xa46e3a['locale'];return({label:_0x15c6ea,icon:_0x33777a,tooltip:_0x293d23,style:_0xf45e0c})=>{const _0x5d2e63=_0xa46e3a['commands']['get']('footnotesStyle'),_0x4f1f2e=new _0x4321d5(_0xd2f396);return _0x4f1f2e['set']({'label':_0x15c6ea,'icon':_0x33777a,'tooltip':_0x293d23}),_0x4f1f2e['bind']('isOn')['to'](_0x5d2e63,'value',_0x521142=>_0x521142===_0xf45e0c),_0x4f1f2e['bind']('isEnabled')['to'](_0x5d2e63,'isEnabled'),_0x4f1f2e['on']('execute',()=>{_0xa46e3a['execute']('footnotesStyle',{'value':_0xf45e0c}),_0xa46e3a['editing']['view']['focus']();}),_0x4f1f2e;};}(_0x2d3352));}(_0x483ce5),_0x7b2c23=new _0x4f5a52(_0x483ce5['locale'],{'styleGridAriaLabel':_0x49a3fa,'styleButtonViews':_0x3f8f89}),_0x4d1780=_0x483ce5['commands']['get']('footnotesStart');return _0x7b2c23['startIndexFieldView']['bind']('isEnabled')['to'](_0x4d1780),_0x7b2c23['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x4d1780),_0x7b2c23['on']('footnotesListStart',(_0x3f295a,_0xdbcc5a)=>{_0x483ce5['execute']('footnotesStart',{'value':_0xdbcc5a['startIndex']});}),_0x7b2c23['delegate']('execute')['to'](_0x388abe),_0x7b2c23;}({'editor':_0xe1aacc,'dropdownView':_0x979254});_0x979254['panelView']['children']['add'](_0x3a6226);}),_0x979254;};}(_0x57277e));}['afterInit'](){const {editor:_0x45e3e9}=this,{t:t}=_0x45e3e9['locale'],_0x315c0c=_0x45e3e9['plugins']['get'](_0x533671),{defaultPositions:_0x5ec4ea}=_0x433cb7;_0x315c0c['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x45e3e9['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x263728=>{let _0x486e24=_0x263728['getFirstPosition']()?.['parent'];return _0x486e24?.['is']('$text')&&(_0x486e24=_0x486e24['parent']),_0x486e24?.['is']('element')?_0x486e24['findAncestor'](_0x2709a0):null;},'positions':[_0x5ec4ea['southArrowNorth'],_0x5ec4ea['southArrowNorthMiddleWest'],_0x5ec4ea['southArrowNorthMiddleEast'],_0x5ec4ea['southArrowNorthWest'],_0x5ec4ea['southArrowNorthEast'],_0x5ec4ea['northArrowSouth'],_0x5ec4ea['northArrowSouthMiddleWest'],_0x5ec4ea['northArrowSouthMiddleEast'],_0x5ec4ea['northArrowSouthWest'],_0x5ec4ea['northArrowSouthEast'],_0x5ec4ea['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x4c06ce,ButtonView as _0x413d43,ContextualBalloon as _0x56cf96,createDropdown as _0x3896a5}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x472ae0}from'ckeditor5/src/widget.js';import{Plugin as _0x4f84f6}from'ckeditor5/src/core.js';import{IconFootnote as _0x5289c8,IconListStyleDecimal as _0x31c2c7,IconListStyleDecimalLeadingZero as _0x3dba9e,IconListStyleLowerLatin as _0x303018,IconListStyleLowerRoman as _0x2fe476,IconListStyleUpperLatin as _0x429424,IconListStyleUpperRoman as _0x45c3f4}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x3a0f9b}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x3188c1}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x4f84f6{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x56cf96,_0x472ae0];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x35d464}=this,{componentFactory:_0x571206}=_0x35d464['ui'];_0x35d464['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x571206['add']('footnotesStyle',function(_0x2f7b1c){return _0x5c604c=>{const {t:t}=_0x5c604c,_0x59b8e0=_0x2f7b1c['commands']['get']('footnotesStyle'),_0x5b3269=_0x3896a5(_0x5c604c),{buttonView:_0x1d07ab}=_0x5b3269;return _0x5b3269['class']='ck-footnotes-styles-dropdown',_0x5b3269['bind']('isEnabled')['to'](_0x59b8e0,'isEnabled'),_0x1d07ab['set']({'label':t('Footnotes\x20style'),'icon':_0x5289c8,'tooltip':!0x0}),_0x5b3269['once']('change:isOpen',()=>{const _0x4efc82=function({editor:_0x1c28c5,dropdownView:_0x4f09ab}){const {t:t}=_0x1c28c5['locale'],_0x17a29f=t('Footnotes\x20definitions\x20styles'),_0x523e7d=function(_0x492e2d){const t=_0x492e2d['locale']['t'],_0x5127c2=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x31c2c7},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3dba9e},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x2fe476},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x45c3f4},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x303018},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x429424}];return _0x5127c2['map'](function(_0x17b368){const _0x5ee258=_0x17b368['locale'];return({label:_0x4a1933,icon:_0x425a46,tooltip:_0x5d0520,style:_0x5e3100})=>{const _0x2668bb=_0x17b368['commands']['get']('footnotesStyle'),_0x31d9e0=new _0x413d43(_0x5ee258);return _0x31d9e0['set']({'label':_0x4a1933,'icon':_0x425a46,'tooltip':_0x5d0520}),_0x31d9e0['bind']('isOn')['to'](_0x2668bb,'value',_0x324eba=>_0x324eba===_0x5e3100),_0x31d9e0['bind']('isEnabled')['to'](_0x2668bb,'isEnabled'),_0x31d9e0['on']('execute',()=>{_0x17b368['execute']('footnotesStyle',{'value':_0x5e3100}),_0x17b368['editing']['view']['focus']();}),_0x31d9e0;};}(_0x492e2d));}(_0x1c28c5),_0x647ac0=new _0x3a0f9b(_0x1c28c5['locale'],{'styleGridAriaLabel':_0x17a29f,'styleButtonViews':_0x523e7d}),_0x1fb594=_0x1c28c5['commands']['get']('footnotesStart');return _0x647ac0['startIndexFieldView']['bind']('isEnabled')['to'](_0x1fb594),_0x647ac0['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x1fb594),_0x647ac0['on']('footnotesListStart',(_0x203b6a,_0x332025)=>{_0x1c28c5['execute']('footnotesStart',{'value':_0x332025['startIndex']});}),_0x647ac0['delegate']('execute')['to'](_0x4f09ab),_0x647ac0;}({'editor':_0x2f7b1c,'dropdownView':_0x5b3269});_0x5b3269['panelView']['children']['add'](_0x4efc82);}),_0x5b3269;};}(_0x35d464));}['afterInit'](){const {editor:_0x4b9dbb}=this,{t:t}=_0x4b9dbb['locale'],_0x5d5876=_0x4b9dbb['plugins']['get'](_0x472ae0),{defaultPositions:_0x53f8c5}=_0x4c06ce;_0x5d5876['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x4b9dbb['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x1c4cd5=>{let _0x1f7c1d=_0x1c4cd5['getFirstPosition']()?.['parent'];return _0x1f7c1d?.['is']('$text')&&(_0x1f7c1d=_0x1f7c1d['parent']),_0x1f7c1d?.['is']('element')?_0x1f7c1d['findAncestor'](_0x3188c1):null;},'positions':[_0x53f8c5['southArrowNorth'],_0x53f8c5['southArrowNorthMiddleWest'],_0x53f8c5['southArrowNorthMiddleEast'],_0x53f8c5['southArrowNorthWest'],_0x53f8c5['southArrowNorthEast'],_0x53f8c5['northArrowSouth'],_0x53f8c5['northArrowSouthMiddleWest'],_0x53f8c5['northArrowSouthMiddleEast'],_0x53f8c5['northArrowSouthWest'],_0x53f8c5['northArrowSouthEast'],_0x53f8c5['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x194db2,View as _0x52287e,ViewCollection as _0x45f41d,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x52287e{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x45f41d();['focusCycler'];constructor(_0x1ee67e,{styleButtonViews:_0x469be9,styleGridAriaLabel:_0x147c06}){super(_0x1ee67e),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x469be9,_0x147c06),[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 _0x8e418c of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x8e418c['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['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 _0x486066=_0x57ccd9=>_0x57ccd9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x486066),this['keystrokes']['set']('arrowleft',_0x486066),this['keystrokes']['set']('arrowup',_0x486066),this['keystrokes']['set']('arrowdown',_0x486066);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3a9018,_0x121623){const _0x1eb600=new _0x52287e(this['locale']);return _0x1eb600['children']=_0x1eb600['createCollection'](),_0x1eb600['children']['addMany'](_0x3a9018),_0x1eb600['setTemplate']({'tag':'div','attributes':{'aria-label':_0x121623,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x1eb600['children']}),_0x1eb600['children']['delegate']('execute')['to'](this),_0x1eb600['focus']=function(){for(const _0x5e438e of this['children'])if(_0x5e438e instanceof _0x194db2&&_0x5e438e['isOn'])return void _0x5e438e['focus']();this['children']['first']['focus']();},_0x1eb600['focusTracker']=new rt(),_0x1eb600['keystrokes']=new nt(),_0x1eb600['render'](),_0x1eb600['keystrokes']['listenTo'](_0x1eb600['element']),this['children']['add'](_0x1eb600),_0x1eb600;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x24e9e2=this['_createStartIndexPropertyView'](),_0x343fec=[_0x24e9e2],_0x71a5cd=new it(this['locale'],_0x343fec);return _0x71a5cd['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x71a5cd['buttonView']['bind']('isEnabled')['toMany'](_0x343fec,'isEnabled',(..._0x248db5)=>_0x248db5['some'](_0xfb5af6=>_0xfb5af6)),_0x71a5cd['buttonView']['on']('change:isEnabled',(_0x1c19f3,_0x52f39f,_0x5b9231)=>{_0x5b9231||(_0x71a5cd['isCollapsed']=!0x0);}),this['children']['add'](_0x71a5cd),[_0x24e9e2,_0x71a5cd];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x133286=new et(this['locale'],ot);return _0x133286['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x133286['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x133286['fieldView']['on']('input',()=>{const _0x5b2216=_0x133286['fieldView']['element'],_0x27db60=_0x5b2216['valueAsNumber'];Number['isNaN'](_0x27db60)?_0x133286['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5b2216['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x27db60}):_0x133286['errorText']=t(_0x27db60<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x133286;}}
23
+ import{ButtonView as _0x38fe61,View as _0x210d66,ViewCollection as _0x2543da,FocusCycler as _0x454e6b,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 _0x210d66{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2543da();['focusCycler'];constructor(_0x2430e8,{styleButtonViews:_0x117f4f,styleGridAriaLabel:_0x28c165}){super(_0x2430e8),(this['focusCycler']=new _0x454e6b({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x117f4f,_0x28c165),[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 _0x3825ec of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x3825ec['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 _0x42a30a=_0x1bc207=>_0x1bc207['stopPropagation']();this['keystrokes']['set']('arrowright',_0x42a30a),this['keystrokes']['set']('arrowleft',_0x42a30a),this['keystrokes']['set']('arrowup',_0x42a30a),this['keystrokes']['set']('arrowdown',_0x42a30a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x3c5f68,_0x29133e){const _0x4525c8=new _0x210d66(this['locale']);return _0x4525c8['children']=_0x4525c8['createCollection'](),_0x4525c8['children']['addMany'](_0x3c5f68),_0x4525c8['setTemplate']({'tag':'div','attributes':{'aria-label':_0x29133e,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x4525c8['children']}),_0x4525c8['children']['delegate']('execute')['to'](this),_0x4525c8['focus']=function(){for(const _0x3daa51 of this['children'])if(_0x3daa51 instanceof _0x38fe61&&_0x3daa51['isOn'])return void _0x3daa51['focus']();this['children']['first']['focus']();},_0x4525c8['focusTracker']=new ot(),_0x4525c8['keystrokes']=new rt(),_0x4525c8['render'](),_0x4525c8['keystrokes']['listenTo'](_0x4525c8['element']),this['children']['add'](_0x4525c8),_0x4525c8;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x44f9a1=this['_createStartIndexPropertyView'](),_0x17cd52=[_0x44f9a1],_0x5a70e7=new st(this['locale'],_0x17cd52);return _0x5a70e7['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5a70e7['buttonView']['bind']('isEnabled')['toMany'](_0x17cd52,'isEnabled',(..._0x3444f7)=>_0x3444f7['some'](_0x4db22e=>_0x4db22e)),_0x5a70e7['buttonView']['on']('change:isEnabled',(_0x13086d,_0x1cd68d,_0x2e812e)=>{_0x2e812e||(_0x5a70e7['isCollapsed']=!0x0);}),this['children']['add'](_0x5a70e7),[_0x44f9a1,_0x5a70e7];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x2a515f=new it(this['locale'],et);return _0x2a515f['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x2a515f['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x2a515f['fieldView']['on']('input',()=>{const _0x416787=_0x2a515f['fieldView']['element'],_0x2dccb2=_0x416787['valueAsNumber'];Number['isNaN'](_0x2dccb2)?_0x2a515f['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x416787['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2dccb2}):_0x2a515f['errorText']=t(_0x2dccb2<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x2a515f;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x1981(){var _0x383f7c=['8STwRNJ','2790eGHSuk','isPremiumPlugin','FootnotesProperties','50769bbXeQB','isOfficialPlugin','9191847fWaYrB','requires','3686451QunxCX','329318KTmRyY','pluginName','1577895pcFNNc','2161104QRXDWh','10sPPFyV','26489089MGummp','4WrTiIE'];_0x1981=function(){return _0x383f7c;};return _0x1981();}var _0xca3b16=_0x1d1c;(function(_0x4036f7,_0x5ccc2f){var _0x4a59d0=_0x1d1c,_0x23d391=_0x4036f7();while(!![]){try{var _0x1a1f4e=parseInt(_0x4a59d0(0xcb))/0x1*(parseInt(_0x4a59d0(0xbf))/0x2)+-parseInt(_0x4a59d0(0xca))/0x3*(parseInt(_0x4a59d0(0xc1))/0x4)+parseInt(_0x4a59d0(0xcd))/0x5+-parseInt(_0x4a59d0(0xce))/0x6+-parseInt(_0x4a59d0(0xc8))/0x7*(-parseInt(_0x4a59d0(0xc2))/0x8)+-parseInt(_0x4a59d0(0xc6))/0x9*(-parseInt(_0x4a59d0(0xc3))/0xa)+-parseInt(_0x4a59d0(0xc0))/0xb;if(_0x1a1f4e===_0x5ccc2f)break;else _0x23d391['push'](_0x23d391['shift']());}catch(_0x45350f){_0x23d391['push'](_0x23d391['shift']());}}}(_0x1981,0xd003d));import{Plugin as _0x223295}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x3d41db}from'./footnotesproperties/footnotespropertiesediting.js';function _0x1d1c(_0xe2ad26,_0x528767){var _0x1981c8=_0x1981();return _0x1d1c=function(_0x1d1c96,_0x3a84a2){_0x1d1c96=_0x1d1c96-0xbf;var _0x42ee6e=_0x1981c8[_0x1d1c96];return _0x42ee6e;},_0x1d1c(_0xe2ad26,_0x528767);}import{FootnotesPropertiesUI as _0x254f29}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x223295{static get[_0xca3b16(0xcc)](){var _0x5d9752=_0xca3b16;return _0x5d9752(0xc5);}static get[_0xca3b16(0xc9)](){return[_0x3d41db,_0x254f29];}static get[_0xca3b16(0xc7)](){return!0x0;}static get[_0xca3b16(0xc4)](){return!0x0;}}
23
+ var _0x28eece=_0x410c;function _0x410c(_0x449aef,_0x3836fc){var _0x3d1b6e=_0x3d1b();return _0x410c=function(_0x410c2a,_0x2664e8){_0x410c2a=_0x410c2a-0xdf;var _0x19f166=_0x3d1b6e[_0x410c2a];return _0x19f166;},_0x410c(_0x449aef,_0x3836fc);}(function(_0x23e93f,_0x1b95ee){var _0x117d3a=_0x410c,_0x33a255=_0x23e93f();while(!![]){try{var _0x3424cd=parseInt(_0x117d3a(0xe0))/0x1*(parseInt(_0x117d3a(0xef))/0x2)+parseInt(_0x117d3a(0xe5))/0x3*(parseInt(_0x117d3a(0xe8))/0x4)+parseInt(_0x117d3a(0xdf))/0x5+-parseInt(_0x117d3a(0xe1))/0x6+-parseInt(_0x117d3a(0xee))/0x7*(parseInt(_0x117d3a(0xec))/0x8)+parseInt(_0x117d3a(0xeb))/0x9*(-parseInt(_0x117d3a(0xe4))/0xa)+parseInt(_0x117d3a(0xed))/0xb*(-parseInt(_0x117d3a(0xe7))/0xc);if(_0x3424cd===_0x1b95ee)break;else _0x33a255['push'](_0x33a255['shift']());}catch(_0x4d658b){_0x33a255['push'](_0x33a255['shift']());}}}(_0x3d1b,0x26496));import{Plugin as _0x1f7ab1}from'ckeditor5/src/core.js';function _0x3d1b(){var _0x356bda=['requires','10ctaqKr','27OLPIIL','isPremiumPlugin','5844rtyamc','33416lrrtZE','isOfficialPlugin','FootnotesProperties','916497AOpCbO','46640ZtRVjz','968vUTHwz','14ZkDtCn','5656zzVWvx','356275UJPEpa','107ffomMA','815196uBzbNR','pluginName'];_0x3d1b=function(){return _0x356bda;};return _0x3d1b();}import{FootnotesPropertiesEditing as _0x52a402}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x6323a7}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x1f7ab1{static get[_0x28eece(0xe2)](){var _0x5bcbd2=_0x28eece;return _0x5bcbd2(0xea);}static get[_0x28eece(0xe3)](){return[_0x52a402,_0x6323a7];}static get[_0x28eece(0xe9)](){return!0x0;}static get[_0x28eece(0xe6)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4c9570=_0x2e1b;(function(_0x16d780,_0x471928){const _0x4741cf=_0x2e1b,_0x2492b1=_0x16d780();while(!![]){try{const _0x1b7484=-parseInt(_0x4741cf(0x1fe))/0x1+-parseInt(_0x4741cf(0x1df))/0x2+parseInt(_0x4741cf(0x1a6))/0x3+-parseInt(_0x4741cf(0x1b2))/0x4+-parseInt(_0x4741cf(0x1a4))/0x5+-parseInt(_0x4741cf(0x1c7))/0x6*(parseInt(_0x4741cf(0x1c8))/0x7)+parseInt(_0x4741cf(0x1cf))/0x8;if(_0x1b7484===_0x471928)break;else _0x2492b1['push'](_0x2492b1['shift']());}catch(_0x40d89b){_0x2492b1['push'](_0x2492b1['shift']());}}}(_0x27eb,0x1a237));import{Plugin as _0x47f204}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x4bba40}from'./modelelementtracker.js';export class FootnotesTracker extends _0x47f204{[_0x4c9570(0x1ee)]=[];[_0x4c9570(0x1c4)]=null;[_0x4c9570(0x1b9)]=null;[_0x4c9570(0x1b6)];[_0x4c9570(0x1ab)];[_0x4c9570(0x1a0)];static get[_0x4c9570(0x1e9)](){const _0x4be713=_0x4c9570;return _0x4be713(0x1c5);}static get[_0x4c9570(0x1b3)](){return!0x0;}static get[_0x4c9570(0x1ce)](){return!0x0;}constructor(_0x4d4897){const _0x3e8929=_0x4c9570;super(_0x4d4897),this[_0x3e8929(0x1b6)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1bf),'getElementKey':()=>_0x3e8929(0x1c3)}),this[_0x3e8929(0x1ab)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1a9),'getElementKey':_0x4db0e5=>_0x4db0e5[_0x3e8929(0x1d9)](_0x3e8929(0x1b4))}),this[_0x3e8929(0x1a0)]=new _0x4bba40(this[_0x3e8929(0x1cd)][_0x3e8929(0x1e6)],{'elementName':_0x3e8929(0x1c6),'getElementKey':_0x6059d1=>_0x6059d1[_0x3e8929(0x1d9)](_0x3e8929(0x1b4))});}[_0x4c9570(0x1d1)](){const _0x562b19=_0x4c9570,{editor:_0x5239c1}=this,{model:_0x1457af,data:_0x59a635}=_0x5239c1;_0x1457af[_0x562b19(0x1bc)][_0x562b19(0x1d2)](_0x5c2a00=>{const _0x5a3be7=_0x562b19,_0x3cde4d=_0x1457af[_0x5a3be7(0x1bc)][_0x5a3be7(0x1f4)][_0x5a3be7(0x1e2)]();let _0x905e05=!0x1;return this[_0x5a3be7(0x1ec)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1d8)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1c9)](_0x5c2a00,_0x3cde4d)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1a2)](_0x5c2a00)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1f3)](_0x5c2a00)&&(_0x905e05=!0x0),this[_0x5a3be7(0x1de)](_0x5c2a00)&&(_0x905e05=!0x0),_0x905e05;}),this[_0x562b19(0x19f)](_0x1457af[_0x562b19(0x1bc)],_0x562b19(0x1f8),()=>{const _0x27b41d=_0x562b19;_0x1457af[_0x27b41d(0x1d5)]({'isUndoable':!0x1},_0x16813b=>{const _0x2a506a=_0x27b41d;this[_0x2a506a(0x1d7)](_0x16813b);});},{'priority':_0x562b19(0x1b7)}),this[_0x562b19(0x19f)](_0x59a635,_0x562b19(0x1ca),()=>{const _0x3dbc26=_0x562b19;this[_0x3dbc26(0x1ee)]=[],this[_0x3dbc26(0x1b6)][_0x3dbc26(0x1af)](),this[_0x3dbc26(0x1ab)][_0x3dbc26(0x1af)](),this[_0x3dbc26(0x1a0)][_0x3dbc26(0x1af)]();},{'priority':_0x562b19(0x1f0)});}[_0x4c9570(0x1a7)](){const _0x4b62ef=_0x4c9570;return this[_0x4b62ef(0x1c4)];}[_0x4c9570(0x1fb)](_0x3acf06){const _0x3cab30=_0x4c9570;return this[_0x3cab30(0x1ee)][_0x3cab30(0x1b8)](_0x49282f=>_0x49282f['id']===_0x3acf06)||null;}[_0x4c9570(0x1eb)](){const _0x14ce8f=_0x4c9570;return Array[_0x14ce8f(0x1a5)](this[_0x14ce8f(0x1ee)]);}[_0x4c9570(0x1b5)](){const _0x261720=_0x4c9570;return this[_0x261720(0x1b9)];}[_0x4c9570(0x1dc)](_0x7f9042){const _0x141205=_0x4c9570;this[_0x141205(0x1b9)]=_0x7f9042;}[_0x4c9570(0x1b0)](_0x28ff4c,_0x4c33c4=0x0){const _0x12fba7=_0x4c9570;let _0x41ce50=!0x1;for(let _0x3e22f8=_0x4c33c4;_0x3e22f8<this[_0x12fba7(0x1ee)][_0x12fba7(0x1cb)];_0x3e22f8++)this[_0x12fba7(0x1ea)](_0x28ff4c,_0x3e22f8)&&(_0x41ce50=!0x0);return _0x41ce50;}[_0x4c9570(0x1a3)](_0xd7eeac,_0x34b592){const _0x54aee6=_0x4c9570,_0x5b631f=_0xd7eeac[_0x54aee6(0x1da)](_0x54aee6(0x1bf),{});return _0xd7eeac[_0x54aee6(0x1e3)](_0x5b631f,_0x34b592),this[_0x54aee6(0x1c4)]=_0x5b631f,_0x5b631f;}[_0x4c9570(0x1d7)](_0x25ed60){const _0x3572a5=_0x4c9570;if(!this[_0x3572a5(0x1ee)][_0x3572a5(0x1cb)]||this[_0x3572a5(0x1c4)])return;const _0xea6cfb=this[_0x3572a5(0x1ee)][0x0][_0x3572a5(0x1d6)][_0x3572a5(0x1ac)],_0x18293a=this[_0x3572a5(0x1a3)](_0x25ed60,_0xea6cfb);for(const _0x526b32 of this[_0x3572a5(0x1ee)])_0x526b32[_0x3572a5(0x1be)][_0x3572a5(0x1ae)]||_0x25ed60[_0x3572a5(0x1f6)](_0x526b32[_0x3572a5(0x1be)],_0x18293a,_0x3572a5(0x1e0));this[_0x3572a5(0x1b0)](_0x25ed60);}[_0x4c9570(0x1ec)](_0x1a4481,_0x8c8774){const _0x4876f0=_0x4c9570;let _0x72db69=!0x1;const {inserted:_0x223d57,removed:_0x580e52,moved:_0x394d50}=this[_0x4876f0(0x1b6)][_0x4876f0(0x1e2)](_0x8c8774);if(_0x394d50[_0x4876f0(0x1cb)]&&(this[_0x4876f0(0x1c4)]=_0x394d50[0x0]),_0x223d57[_0x4876f0(0x1cb)]){if(_0x223d57[_0x4876f0(0x1cb)]>0x1||this[_0x4876f0(0x1c4)]&&_0x223d57[_0x4876f0(0x1a1)](_0x4b6ef3=>_0x4b6ef3!==this[_0x4876f0(0x1c4)])){const _0x561820=_0x1a4481[_0x4876f0(0x1da)](_0x4876f0(0x1bf),{}),_0x3e25fe=[];this[_0x4876f0(0x1c4)]&&_0x3e25fe[_0x4876f0(0x1fc)](this[_0x4876f0(0x1c4)]),_0x3e25fe[_0x4876f0(0x1fc)](..._0x223d57),_0x1a4481[_0x4876f0(0x1f6)](_0x561820,_0x3e25fe[0x0],_0x4876f0(0x1fd));for(const _0x18a1dc of _0x3e25fe)_0x1a4481[_0x4876f0(0x1f5)](_0x1a4481[_0x4876f0(0x1a8)](_0x18a1dc),_0x1a4481[_0x4876f0(0x1cc)](_0x561820,_0x4876f0(0x1e0))),_0x1a4481[_0x4876f0(0x1bd)](_0x18a1dc);this[_0x4876f0(0x1c4)]=_0x561820,this[_0x4876f0(0x1b0)](_0x1a4481),_0x72db69=!0x0;}else this[_0x4876f0(0x1c4)]=_0x223d57[0x0];}if(_0x580e52[_0x4876f0(0x1cb)]&&_0x4876f0(0x1ad)===this[_0x4876f0(0x1c4)]?.[_0x4876f0(0x1ac)][_0x4876f0(0x1e4)]){for(const _0x27c176 of this[_0x4876f0(0x1ee)])_0x1a4481[_0x4876f0(0x1bd)](_0x27c176[_0x4876f0(0x1d6)]),_0x72db69=!0x0;this[_0x4876f0(0x1ee)]=[],this[_0x4876f0(0x1c4)]=null;}return _0x72db69;}[_0x4c9570(0x1d8)](_0x4656c9,_0x4b568e){const _0x187f04=_0x4c9570;let _0x54af21=!0x1;const _0x3d7585=this[_0x187f04(0x1cd)][_0x187f04(0x1f7)][_0x187f04(0x1d4)](_0x187f04(0x1d0)),{inserted:_0x397fdb,moved:_0x451ff9}=this[_0x187f04(0x1a0)][_0x187f04(0x1e2)](_0x4b568e);for(const _0x6b69b3 of[..._0x451ff9,..._0x397fdb]){const _0x5bba91=_0x6b69b3[_0x187f04(0x1d9)](_0x187f04(0x1b4)),_0x65f33b=this[_0x187f04(0x1fb)](_0x5bba91);_0x65f33b&&(_0x65f33b[_0x187f04(0x1be)]=_0x6b69b3),_(_0x4656c9,_0x3d7585,_0x6b69b3)&&(_0x54af21=!0x0);}return _0x54af21;}[_0x4c9570(0x1c9)](_0x3e7c5d,_0x1cf85c){const _0x81822a=_0x4c9570;let _0x53ed8f=!0x1;const {removed:_0xa1d38e,inserted:_0x1690bf,moved:_0x19155a}=this[_0x81822a(0x1ab)][_0x81822a(0x1e2)](_0x1cf85c);for(const _0x4c3d53 of _0xa1d38e)this[_0x81822a(0x1c1)](_0x3e7c5d,_0x4c3d53)&&(_0x53ed8f=!0x0);for(const _0x3cf9ce of _0x1690bf)this[_0x81822a(0x1ef)](_0x3e7c5d,_0x3cf9ce)&&(_0x53ed8f=!0x0);for(const _0xf9e827 of _0x19155a)this[_0x81822a(0x1bb)](_0x3e7c5d,_0xf9e827)&&(_0x53ed8f=!0x0);return _0x53ed8f;}[_0x4c9570(0x1f3)](_0x544cca){const _0x3108ce=_0x4c9570;if(!this[_0x3108ce(0x1c4)])return!0x1;let _0x1ba41e=!0x1;if(this[_0x3108ce(0x1c4)][_0x3108ce(0x1f2)]!==this[_0x3108ce(0x1ee)][_0x3108ce(0x1cb)]){const _0x23f041=[];for(const _0x2ab928 of this[_0x3108ce(0x1c4)][_0x3108ce(0x1e8)]()){const _0x80fab1=_0x2ab928[_0x3108ce(0x1d9)](_0x3108ce(0x1b4));this[_0x3108ce(0x1fb)](_0x80fab1)||(_0x23f041[_0x3108ce(0x1e5)](_0x2ab928),_0x1ba41e=!0x0);}for(const _0x7bb717 of _0x23f041)_0x544cca[_0x3108ce(0x1bd)](_0x7bb717);}const _0x3fea8d=new Set(),_0x3f37ea=[];for(const _0x199d18 of this[_0x3108ce(0x1c4)][_0x3108ce(0x1e8)]()){const _0x2cd18c=_0x199d18[_0x3108ce(0x1d9)](_0x3108ce(0x1b4));_0x3fea8d[_0x3108ce(0x1e7)](_0x2cd18c)?(_0x3f37ea[_0x3108ce(0x1e5)](_0x199d18),_0x1ba41e=!0x0):_0x3fea8d[_0x3108ce(0x1dd)](_0x2cd18c);}for(const _0x57898d of _0x3f37ea)_0x544cca[_0x3108ce(0x1bd)](_0x57898d);return this[_0x3108ce(0x1c4)][_0x3108ce(0x1f2)]||(_0x544cca[_0x3108ce(0x1bd)](this[_0x3108ce(0x1c4)]),this[_0x3108ce(0x1c4)]=null,_0x1ba41e=!0x0),_0x1ba41e;}[_0x4c9570(0x1ef)](_0x14350a,_0x3dfeeb){const _0x375ac1=_0x4c9570;if(this[_0x375ac1(0x1ee)][_0x375ac1(0x1b8)](_0x38a0fb=>_0x38a0fb[_0x375ac1(0x1d6)]===_0x3dfeeb))return!0x1;let _0x3c1b11=!0x1;const _0x4da0ee=_0x3dfeeb[_0x375ac1(0x1d9)](_0x375ac1(0x1b4)),_0xa8ff21=this[_0x375ac1(0x1ee)][_0x375ac1(0x1ed)](_0x33df46=>_0x33df46['id']===_0x4da0ee);-0x1!==_0xa8ff21&&(_0x14350a[_0x375ac1(0x1bd)](this[_0x375ac1(0x1ee)][_0xa8ff21][_0x375ac1(0x1d6)]),this[_0x375ac1(0x1ee)][_0x375ac1(0x1ba)](_0xa8ff21,0x1),_0x3c1b11=!0x0);let _0x55c3cf=this[_0x375ac1(0x1c4)]?function(_0x3e37f8,_0x30f294){const _0x53fd9b=_0x375ac1;for(const _0x28a55b of _0x3e37f8[_0x53fd9b(0x1e8)]())if(_0x28a55b[_0x53fd9b(0x1d9)](_0x53fd9b(0x1b4))===_0x30f294)return _0x28a55b;return null;}(this[_0x375ac1(0x1c4)],_0x4da0ee):null;_0x55c3cf||(_0x55c3cf=_0x14350a[_0x375ac1(0x1da)](_0x375ac1(0x1c6),{'footnoteId':_0x4da0ee}),this[_0x375ac1(0x1c4)]&&(_0x14350a[_0x375ac1(0x1f6)](_0x55c3cf,this[_0x375ac1(0x1c4)],_0x375ac1(0x1e0)),_0x3c1b11=!0x0));const _0x4f18f7={'id':_0x4da0ee,'reference':_0x3dfeeb,'definition':_0x55c3cf},_0x1a9592=I(this[_0x375ac1(0x1cd)][_0x375ac1(0x1e6)],this[_0x375ac1(0x1ee)],_0x3dfeeb);this[_0x375ac1(0x1ee)][_0x375ac1(0x1ba)](_0x1a9592,0x0,_0x4f18f7);let _0x62414d=_0x1a9592;return-0x1!==_0xa8ff21&&(_0x62414d=Math[_0x375ac1(0x1f9)](_0x1a9592,_0xa8ff21)),this[_0x375ac1(0x1b0)](_0x14350a,_0x62414d)&&(_0x3c1b11=!0x0),_0x3c1b11;}[_0x4c9570(0x1c1)](_0x4d3212,_0x4995be){const _0x3bdb14=_0x4c9570,_0x55c368=this[_0x3bdb14(0x1ee)][_0x3bdb14(0x1ed)](_0x5d9e76=>_0x5d9e76['id']===_0x4995be);if(-0x1===_0x55c368)return!0x1;let _0x5a9899=!0x1;const _0x1e0aa0=this[_0x3bdb14(0x1ee)][_0x55c368];return _0x3bdb14(0x1ad)!==_0x1e0aa0[_0x3bdb14(0x1be)][_0x3bdb14(0x1ac)][_0x3bdb14(0x1e4)]&&(_0x4d3212[_0x3bdb14(0x1bd)](_0x1e0aa0[_0x3bdb14(0x1be)]),_0x5a9899=!0x0),this[_0x3bdb14(0x1ee)][_0x3bdb14(0x1ba)](_0x55c368,0x1),this[_0x3bdb14(0x1b0)](_0x4d3212,_0x55c368)&&(_0x5a9899=!0x0),_0x5a9899;}[_0x4c9570(0x1bb)](_0xced281,_0xafac71){const _0x19fdb8=_0x4c9570,_0xcf8f25=_0xafac71[_0x19fdb8(0x1d9)](_0x19fdb8(0x1b4)),_0x57daec=this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ed)](_0x59aeaf=>_0x59aeaf['id']===_0xcf8f25),_0x480e94=this[_0x19fdb8(0x1ee)][_0x57daec];let _0x17fec7=!0x1;_0x480e94[_0x19fdb8(0x1d6)]=_0xafac71,this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ba)](_0x57daec,0x1);const _0x380c5f=I(this[_0x19fdb8(0x1cd)][_0x19fdb8(0x1e6)],this[_0x19fdb8(0x1ee)],_0xafac71);return this[_0x19fdb8(0x1ee)][_0x19fdb8(0x1ba)](_0x380c5f,0x0,_0x480e94),this[_0x19fdb8(0x1b0)](_0xced281,Math[_0x19fdb8(0x1f9)](_0x57daec,_0x380c5f))&&(_0x17fec7=!0x0),_0x17fec7;}[_0x4c9570(0x1ea)](_0x3c8360,_0x2ae678){const _0x4a51a5=_0x4c9570;if(!this[_0x4a51a5(0x1c4)])return!0x1;const _0x28df17=this[_0x4a51a5(0x1ee)][_0x2ae678];let _0x335e3d;return _0x335e3d=this[_0x4a51a5(0x1b9)]?this[_0x4a51a5(0x1b9)]({'footnote':_0x28df17,'container':this[_0x4a51a5(0x1c4)],'digits':String(this[_0x4a51a5(0x1ee)][_0x4a51a5(0x1cb)])[_0x4a51a5(0x1cb)],'value':_0x2ae678+0x1}):String(_0x2ae678+0x1),_0x28df17[_0x4a51a5(0x1d6)][_0x4a51a5(0x1d9)](_0x4a51a5(0x1d3))!=_0x335e3d&&(_0x3c8360[_0x4a51a5(0x1fa)](_0x4a51a5(0x1d3),_0x335e3d,_0x28df17[_0x4a51a5(0x1d6)]),!0x0);}[_0x4c9570(0x1de)](_0x48bfe4){const _0x2af1bd=_0x4c9570;if(!this[_0x2af1bd(0x1c4)]||this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1cb)]<0x2)return!0x1;if(function(_0x2a64f4,_0x38238e){const _0x7e8dbd=_0x2af1bd;if(_0x2a64f4[_0x7e8dbd(0x1cb)]!==_0x38238e[_0x7e8dbd(0x1cb)])return!0x1;for(let _0x26779e=0x0;_0x26779e<_0x2a64f4[_0x7e8dbd(0x1cb)];_0x26779e++)if(_0x2a64f4[_0x26779e]!==_0x38238e[_0x26779e])return!0x1;return!0x0;}(this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1ff)](_0x4a7709=>_0x4a7709['id']),Array[_0x2af1bd(0x1a5)](this[_0x2af1bd(0x1c4)][_0x2af1bd(0x1e8)]())[_0x2af1bd(0x1ff)](_0x3ae5ff=>_0x3ae5ff[_0x2af1bd(0x1d9)](_0x2af1bd(0x1b4)))))return!0x1;let _0x3e0d55=!0x1;for(let _0x3cc375=0x0;_0x3cc375<this[_0x2af1bd(0x1ee)][_0x2af1bd(0x1cb)];_0x3cc375++){const _0x2c9715=this[_0x2af1bd(0x1ee)][_0x3cc375],_0x1a2e84=_0x48bfe4[_0x2af1bd(0x1e1)](_0x2c9715[_0x2af1bd(0x1be)]),_0x35dbc9=_0x48bfe4[_0x2af1bd(0x1cc)](this[_0x2af1bd(0x1c4)],_0x3cc375);_0x1a2e84[_0x2af1bd(0x1aa)](_0x35dbc9)||(_0x48bfe4[_0x2af1bd(0x1f5)](_0x48bfe4[_0x2af1bd(0x1db)](_0x2c9715[_0x2af1bd(0x1be)]),_0x35dbc9),_0x3e0d55=!0x0);}return _0x3e0d55;}[_0x4c9570(0x1a2)](_0x358aac){const _0x1d0831=_0x4c9570;if(!this[_0x1d0831(0x1ee)][_0x1d0831(0x1cb)])return!0x1;const {model:_0x597342}=this[_0x1d0831(0x1cd)];let _0x266757=!0x1;for(let _0x2ab148=0x0;_0x2ab148<this[_0x1d0831(0x1ee)][_0x1d0831(0x1cb)]-0x1;_0x2ab148++){const _0x471591=this[_0x1d0831(0x1ee)][_0x2ab148],_0x213971=this[_0x1d0831(0x1ee)][_0x2ab148+0x1],_0x85d37f=_0x597342[_0x1d0831(0x1e1)](_0x471591[_0x1d0831(0x1d6)]),_0x232ed0=_0x597342[_0x1d0831(0x1e1)](_0x213971[_0x1d0831(0x1d6)]);_0x1d0831(0x1f1)===_0x85d37f[_0x1d0831(0x1b1)](_0x232ed0)&&(this[_0x1d0831(0x1bb)](_0x358aac,_0x471591[_0x1d0831(0x1d6)]),_0x2ab148=-0x1,_0x266757=!0x0);}return _0x266757;}}function _0x2e1b(_0x30b61a,_0x4dca50){const _0x27ebc5=_0x27eb();return _0x2e1b=function(_0x2e1b32,_0x19b992){_0x2e1b32=_0x2e1b32-0x19d;let _0x17d28c=_0x27ebc5[_0x2e1b32];return _0x17d28c;},_0x2e1b(_0x30b61a,_0x4dca50);}function _0x27eb(){const _0x10a3a9=['getFootnote','push','before','33171gyqaLC','map','footnoteInlineContent','getRootNames','listenTo','_footnoteDefsTracker','some','_ensureFootnotesReferencesHaveProperOrder','_insertEmptyFootnotesDefinitionsContainer','1069295AMOgSY','from','285990XFKodX','getFootnotesDefinitionsObjectElement','createRangeIn','footnoteRef','isEqual','_footnoteRefsTracker','root','$graveyard','parent','reset','_updateFootnotesCounters','compareWith','617512QqOwvU','isOfficialPlugin','footnoteId','getFootnotesFormatter','_footnoteDefsContainerTracker','low','find','_footnoteFormatter','splice','_handleMovedFootnoteReference','document','remove','definition','footnotesDefinitions','paragraph','_handleRemoveFootnoteReferenceById','indexOf','singleton','_footnotesDefinitions','FootnotesTracker','footnoteDefinition','646698BAChkp','7cTzRsG','_handleFootnoteReferencesChanges','set','length','createPositionAt','editor','isPremiumPlugin','4647216obWBXW','footnotes.multiBlock','init','registerPostFixer','footnoteCounter','get','enqueueChange','reference','_ensureFootnotesDefinitionsContainerExists','_handleFootnoteDefinitionsChanges','getAttribute','createElement','createRangeOn','setFootnoteFormatter','add','_sortFootnoteDefinitions','119956WIRjEt','end','createPositionBefore','getChanges','append','rootName','unshift','model','has','getChildren','pluginName','_updateFootnoteRefCounter','getFootnotes','_handleFootnotesDefinitionsObjectChanges','findIndex','_footnotes','_handleInsertedFootnoteReference','high','after','childCount','_handleFootnotesDefinitionsObjectSync','differ','move','insert','config','change:data','min','setAttribute'];_0x27eb=function(){return _0x10a3a9;};return _0x27eb();}function _(_0x41904d,_0x3bfd1b,_0x5cfb75){const _0xabb531=_0x4c9570;if(_0x5cfb75[_0xabb531(0x1f2)])return!0x1;const _0x409be0=_0x3bfd1b?_0xabb531(0x1c0):_0xabb531(0x19d);return _0x41904d[_0xabb531(0x1f6)](_0x41904d[_0xabb531(0x1da)](_0x409be0),_0x5cfb75),!0x0;}function I(_0x42a903,_0x393f6f,_0x442ba1){const _0x2104a0=_0x4c9570;if(0x0===_0x393f6f[_0x2104a0(0x1cb)])return 0x0;const _0x5b56db=_0x42a903[_0x2104a0(0x1e1)](_0x442ba1);for(let _0xcf43d6=0x0;_0xcf43d6<_0x393f6f[_0x2104a0(0x1cb)];_0xcf43d6++){const _0x3e53db=_0x393f6f[_0xcf43d6],_0x2d7386=_0x42a903[_0x2104a0(0x1e1)](_0x3e53db[_0x2104a0(0x1d6)]);if(_0x2104a0(0x1fd)===_0x5b56db[_0x2104a0(0x1b1)](_0x2d7386))return _0xcf43d6;}const _0x186bfb=_0x442ba1[_0x2104a0(0x1ac)];let _0x418785=-0x1;for(let _0x43150d=_0x393f6f[_0x2104a0(0x1cb)]-0x1;_0x43150d>=0x0;_0x43150d--)if(_0x393f6f[_0x43150d][_0x2104a0(0x1d6)][_0x2104a0(0x1ac)]===_0x186bfb){_0x418785=_0x43150d;break;}if(-0x1!==_0x418785)return _0x418785+0x1;const _0x2fb062=_0x42a903[_0x2104a0(0x1bc)][_0x2104a0(0x19e)](),_0x1abe27=_0x2fb062[_0x2104a0(0x1c2)](_0x186bfb[_0x2104a0(0x1e4)]),_0x4b94d8=_0x2fb062[_0x1abe27+0x1];if(_0x4b94d8){for(let _0x105a85=0x0;_0x105a85<_0x393f6f[_0x2104a0(0x1cb)];_0x105a85++)if(_0x393f6f[_0x105a85][_0x2104a0(0x1d6)][_0x2104a0(0x1ac)][_0x2104a0(0x1e4)]===_0x4b94d8)return _0x105a85;}return _0x393f6f[_0x2104a0(0x1cb)];}
23
+ const _0x4799c4=_0x57b9;(function(_0x18e0c0,_0x34d522){const _0x3bd996=_0x57b9,_0x3dee54=_0x18e0c0();while(!![]){try{const _0x3f5e52=-parseInt(_0x3bd996(0x186))/0x1+parseInt(_0x3bd996(0x1aa))/0x2*(-parseInt(_0x3bd996(0x18a))/0x3)+-parseInt(_0x3bd996(0x16a))/0x4+-parseInt(_0x3bd996(0x198))/0x5+-parseInt(_0x3bd996(0x1b3))/0x6+parseInt(_0x3bd996(0x1c2))/0x7*(parseInt(_0x3bd996(0x1a9))/0x8)+-parseInt(_0x3bd996(0x1b8))/0x9*(-parseInt(_0x3bd996(0x1a5))/0xa);if(_0x3f5e52===_0x34d522)break;else _0x3dee54['push'](_0x3dee54['shift']());}catch(_0x47bab7){_0x3dee54['push'](_0x3dee54['shift']());}}}(_0x9744,0x2eef4));import{Plugin as _0x423b29}from'ckeditor5/src/core.js';function _0x57b9(_0x5553cd,_0x158f88){const _0x974469=_0x9744();return _0x57b9=function(_0x57b936,_0x52ec00){_0x57b936=_0x57b936-0x161;let _0x5d35e1=_0x974469[_0x57b936];return _0x5d35e1;},_0x57b9(_0x5553cd,_0x158f88);}import{ModelElementTracker as _0x1fc4cc}from'./modelelementtracker.js';function _0x9744(){const _0x561d35=['before','18yPBtso','createPositionAt','setAttribute','setFootnoteFormatter','low','footnoteCounter','compareWith','createRangeIn','createRangeOn','pluginName','2191pVPfYX','init','_footnoteDefsContainerTracker','_footnotes','high','has','push','rootName','_insertEmptyFootnotesDefinitionsContainer','getFootnotesDefinitionsObjectElement','_handleInsertedFootnoteReference','length','editor','51352yqpoCW','_footnotesDefinitions','some','getFootnote','min','isOfficialPlugin','get','_ensureFootnotesDefinitionsContainerExists','getAttribute','_footnoteDefsTracker','set','footnoteDefinition','_handleFootnotesDefinitionsObjectSync','_handleMovedFootnoteReference','getFootnotes','config','find','insert','findIndex','model','_handleFootnoteReferencesChanges','createElement','map','getFootnotesFormatter','document','change:data','reset','$graveyard','316564cKccQD','isPremiumPlugin','_handleFootnoteDefinitionsChanges','footnoteRef','83235XzVvdv','getChildren','getChanges','singleton','_handleRemoveFootnoteReferenceById','differ','_updateFootnoteRefCounter','enqueueChange','add','move','FootnotesTracker','paragraph','_footnoteFormatter','root','619060GOusut','indexOf','reference','_sortFootnoteDefinitions','footnoteId','from','parent','footnotes.multiBlock','registerPostFixer','listenTo','_handleFootnotesDefinitionsObjectChanges','append','footnotesDefinitions','3479110EDqIJX','footnoteInlineContent','createPositionBefore','_footnoteRefsTracker','8984CKsgYR','18gnbhln','after','remove','childCount','splice','unshift','_updateFootnotesCounters','isEqual','end','912948eJxMQO','getRootNames','definition','_ensureFootnotesReferencesHaveProperOrder'];_0x9744=function(){return _0x561d35;};return _0x9744();}export class FootnotesTracker extends _0x423b29{[_0x4799c4(0x1c5)]=[];[_0x4799c4(0x16b)]=null;[_0x4799c4(0x196)]=null;[_0x4799c4(0x1c4)];[_0x4799c4(0x1a8)];[_0x4799c4(0x173)];static get[_0x4799c4(0x1c1)](){const _0x17c181=_0x4799c4;return _0x17c181(0x194);}static get[_0x4799c4(0x16f)](){return!0x0;}static get[_0x4799c4(0x187)](){return!0x0;}constructor(_0x4a0f42){const _0xb89847=_0x4799c4;super(_0x4a0f42),this[_0xb89847(0x1c4)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x1a4),'getElementKey':()=>_0xb89847(0x18d)}),this[_0xb89847(0x1a8)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x189),'getElementKey':_0x353cb2=>_0x353cb2[_0xb89847(0x172)](_0xb89847(0x19c))}),this[_0xb89847(0x173)]=new _0x1fc4cc(this[_0xb89847(0x169)][_0xb89847(0x17d)],{'elementName':_0xb89847(0x175),'getElementKey':_0x1d5994=>_0x1d5994[_0xb89847(0x172)](_0xb89847(0x19c))});}[_0x4799c4(0x1c3)](){const _0x553bab=_0x4799c4,{editor:_0x4563fd}=this,{model:_0xaa7da3,data:_0xd6b64f}=_0x4563fd;_0xaa7da3[_0x553bab(0x182)][_0x553bab(0x1a0)](_0x4fc60e=>{const _0x1ab562=_0x553bab,_0x5b9bf5=_0xaa7da3[_0x1ab562(0x182)][_0x1ab562(0x18f)][_0x1ab562(0x18c)]();let _0x5d12ba=!0x1;return this[_0x1ab562(0x1a2)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x188)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x17e)](_0x4fc60e,_0x5b9bf5)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x1b6)](_0x4fc60e)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x176)](_0x4fc60e)&&(_0x5d12ba=!0x0),this[_0x1ab562(0x19b)](_0x4fc60e)&&(_0x5d12ba=!0x0),_0x5d12ba;}),this[_0x553bab(0x1a1)](_0xaa7da3[_0x553bab(0x182)],_0x553bab(0x183),()=>{const _0x1396bf=_0x553bab;_0xaa7da3[_0x1396bf(0x191)]({'isUndoable':!0x1},_0x3411e9=>{const _0x209f2b=_0x1396bf;this[_0x209f2b(0x171)](_0x3411e9);});},{'priority':_0x553bab(0x1bc)}),this[_0x553bab(0x1a1)](_0xd6b64f,_0x553bab(0x174),()=>{const _0x37ccd0=_0x553bab;this[_0x37ccd0(0x1c5)]=[],this[_0x37ccd0(0x1c4)][_0x37ccd0(0x184)](),this[_0x37ccd0(0x1a8)][_0x37ccd0(0x184)](),this[_0x37ccd0(0x173)][_0x37ccd0(0x184)]();},{'priority':_0x553bab(0x161)});}[_0x4799c4(0x166)](){const _0xa77c0c=_0x4799c4;return this[_0xa77c0c(0x16b)];}[_0x4799c4(0x16d)](_0x2d0b6f){const _0x5b541f=_0x4799c4;return this[_0x5b541f(0x1c5)][_0x5b541f(0x17a)](_0x56c97e=>_0x56c97e['id']===_0x2d0b6f)||null;}[_0x4799c4(0x178)](){const _0x54a27d=_0x4799c4;return Array[_0x54a27d(0x19d)](this[_0x54a27d(0x1c5)]);}[_0x4799c4(0x181)](){const _0x4a9185=_0x4799c4;return this[_0x4a9185(0x196)];}[_0x4799c4(0x1bb)](_0x4eadc8){const _0x3ee1f8=_0x4799c4;this[_0x3ee1f8(0x196)]=_0x4eadc8;}[_0x4799c4(0x1b0)](_0x45773b,_0xf1e024=0x0){const _0x4dd7ca=_0x4799c4;let _0x34a275=!0x1;for(let _0x25479d=_0xf1e024;_0x25479d<this[_0x4dd7ca(0x1c5)][_0x4dd7ca(0x168)];_0x25479d++)this[_0x4dd7ca(0x190)](_0x45773b,_0x25479d)&&(_0x34a275=!0x0);return _0x34a275;}[_0x4799c4(0x165)](_0x4ad3ae,_0x4f167f){const _0xa61518=_0x4799c4,_0xd7f00e=_0x4ad3ae[_0xa61518(0x17f)](_0xa61518(0x1a4),{});return _0x4ad3ae[_0xa61518(0x1a3)](_0xd7f00e,_0x4f167f),this[_0xa61518(0x16b)]=_0xd7f00e,_0xd7f00e;}[_0x4799c4(0x171)](_0x104a03){const _0x3710c3=_0x4799c4;if(!this[_0x3710c3(0x1c5)][_0x3710c3(0x168)]||this[_0x3710c3(0x16b)])return;const _0xdaa0a3=this[_0x3710c3(0x1c5)][0x0][_0x3710c3(0x19a)][_0x3710c3(0x197)],_0x560a60=this[_0x3710c3(0x165)](_0x104a03,_0xdaa0a3);for(const _0x4d40be of this[_0x3710c3(0x1c5)])_0x4d40be[_0x3710c3(0x1b5)][_0x3710c3(0x19e)]||_0x104a03[_0x3710c3(0x17b)](_0x4d40be[_0x3710c3(0x1b5)],_0x560a60,_0x3710c3(0x1b2));this[_0x3710c3(0x1b0)](_0x104a03);}[_0x4799c4(0x1a2)](_0x2069d3,_0x9c2de){const _0x4626bb=_0x4799c4;let _0x31d056=!0x1;const {inserted:_0x5060a4,removed:_0x42202f,moved:_0x167bd4}=this[_0x4626bb(0x1c4)][_0x4626bb(0x18c)](_0x9c2de);if(_0x167bd4[_0x4626bb(0x168)]&&(this[_0x4626bb(0x16b)]=_0x167bd4[0x0]),_0x5060a4[_0x4626bb(0x168)]){if(_0x5060a4[_0x4626bb(0x168)]>0x1||this[_0x4626bb(0x16b)]&&_0x5060a4[_0x4626bb(0x16c)](_0x118c8b=>_0x118c8b!==this[_0x4626bb(0x16b)])){const _0x74549b=_0x2069d3[_0x4626bb(0x17f)](_0x4626bb(0x1a4),{}),_0x1d484b=[];this[_0x4626bb(0x16b)]&&_0x1d484b[_0x4626bb(0x163)](this[_0x4626bb(0x16b)]),_0x1d484b[_0x4626bb(0x163)](..._0x5060a4),_0x2069d3[_0x4626bb(0x17b)](_0x74549b,_0x1d484b[0x0],_0x4626bb(0x1b7));for(const _0x48ce8d of _0x1d484b)_0x2069d3[_0x4626bb(0x193)](_0x2069d3[_0x4626bb(0x1bf)](_0x48ce8d),_0x2069d3[_0x4626bb(0x1b9)](_0x74549b,_0x4626bb(0x1b2))),_0x2069d3[_0x4626bb(0x1ac)](_0x48ce8d);this[_0x4626bb(0x16b)]=_0x74549b,this[_0x4626bb(0x1b0)](_0x2069d3),_0x31d056=!0x0;}else this[_0x4626bb(0x16b)]=_0x5060a4[0x0];}if(_0x42202f[_0x4626bb(0x168)]&&_0x4626bb(0x185)===this[_0x4626bb(0x16b)]?.[_0x4626bb(0x197)][_0x4626bb(0x164)]){for(const _0x508be5 of this[_0x4626bb(0x1c5)])_0x2069d3[_0x4626bb(0x1ac)](_0x508be5[_0x4626bb(0x19a)]),_0x31d056=!0x0;this[_0x4626bb(0x1c5)]=[],this[_0x4626bb(0x16b)]=null;}return _0x31d056;}[_0x4799c4(0x188)](_0x116da2,_0x54b859){const _0x3d434d=_0x4799c4;let _0x27e342=!0x1;const _0x778561=this[_0x3d434d(0x169)][_0x3d434d(0x179)][_0x3d434d(0x170)](_0x3d434d(0x19f)),{inserted:_0xaeaf56,moved:_0x5b814d}=this[_0x3d434d(0x173)][_0x3d434d(0x18c)](_0x54b859);for(const _0x47ba6c of[..._0x5b814d,..._0xaeaf56]){const _0x2e9ae6=_0x47ba6c[_0x3d434d(0x172)](_0x3d434d(0x19c)),_0xf16553=this[_0x3d434d(0x16d)](_0x2e9ae6);_0xf16553&&(_0xf16553[_0x3d434d(0x1b5)]=_0x47ba6c),_(_0x116da2,_0x778561,_0x47ba6c)&&(_0x27e342=!0x0);}return _0x27e342;}[_0x4799c4(0x17e)](_0x1ca4d0,_0x38bab5){const _0x4a0bc7=_0x4799c4;let _0x44d847=!0x1;const {removed:_0x96128,inserted:_0x56dcb2,moved:_0x171725}=this[_0x4a0bc7(0x1a8)][_0x4a0bc7(0x18c)](_0x38bab5);for(const _0x3e2154 of _0x96128)this[_0x4a0bc7(0x18e)](_0x1ca4d0,_0x3e2154)&&(_0x44d847=!0x0);for(const _0x35632f of _0x56dcb2)this[_0x4a0bc7(0x167)](_0x1ca4d0,_0x35632f)&&(_0x44d847=!0x0);for(const _0xf0f289 of _0x171725)this[_0x4a0bc7(0x177)](_0x1ca4d0,_0xf0f289)&&(_0x44d847=!0x0);return _0x44d847;}[_0x4799c4(0x176)](_0x5c2c55){const _0x1ac858=_0x4799c4;if(!this[_0x1ac858(0x16b)])return!0x1;let _0x51ed95=!0x1;if(this[_0x1ac858(0x16b)][_0x1ac858(0x1ad)]!==this[_0x1ac858(0x1c5)][_0x1ac858(0x168)]){const _0x24104e=[];for(const _0x20c88e of this[_0x1ac858(0x16b)][_0x1ac858(0x18b)]()){const _0x424ade=_0x20c88e[_0x1ac858(0x172)](_0x1ac858(0x19c));this[_0x1ac858(0x16d)](_0x424ade)||(_0x24104e[_0x1ac858(0x1af)](_0x20c88e),_0x51ed95=!0x0);}for(const _0x41d92d of _0x24104e)_0x5c2c55[_0x1ac858(0x1ac)](_0x41d92d);}const _0x3d3de6=new Set(),_0x80608f=[];for(const _0x44cecc of this[_0x1ac858(0x16b)][_0x1ac858(0x18b)]()){const _0x565271=_0x44cecc[_0x1ac858(0x172)](_0x1ac858(0x19c));_0x3d3de6[_0x1ac858(0x162)](_0x565271)?(_0x80608f[_0x1ac858(0x1af)](_0x44cecc),_0x51ed95=!0x0):_0x3d3de6[_0x1ac858(0x192)](_0x565271);}for(const _0x5e57fe of _0x80608f)_0x5c2c55[_0x1ac858(0x1ac)](_0x5e57fe);return this[_0x1ac858(0x16b)][_0x1ac858(0x1ad)]||(_0x5c2c55[_0x1ac858(0x1ac)](this[_0x1ac858(0x16b)]),this[_0x1ac858(0x16b)]=null,_0x51ed95=!0x0),_0x51ed95;}[_0x4799c4(0x167)](_0x3da428,_0x19bde1){const _0x449dbf=_0x4799c4;if(this[_0x449dbf(0x1c5)][_0x449dbf(0x17a)](_0x342059=>_0x342059[_0x449dbf(0x19a)]===_0x19bde1))return!0x1;let _0x2dbda8=!0x1;const _0x5e4de0=_0x19bde1[_0x449dbf(0x172)](_0x449dbf(0x19c)),_0x1d40e1=this[_0x449dbf(0x1c5)][_0x449dbf(0x17c)](_0x55738c=>_0x55738c['id']===_0x5e4de0);-0x1!==_0x1d40e1&&(_0x3da428[_0x449dbf(0x1ac)](this[_0x449dbf(0x1c5)][_0x1d40e1][_0x449dbf(0x19a)]),this[_0x449dbf(0x1c5)][_0x449dbf(0x1ae)](_0x1d40e1,0x1),_0x2dbda8=!0x0);let _0x443189=this[_0x449dbf(0x16b)]?function(_0x148295,_0x12cc86){const _0x3f8223=_0x449dbf;for(const _0x7532a5 of _0x148295[_0x3f8223(0x18b)]())if(_0x7532a5[_0x3f8223(0x172)](_0x3f8223(0x19c))===_0x12cc86)return _0x7532a5;return null;}(this[_0x449dbf(0x16b)],_0x5e4de0):null;_0x443189||(_0x443189=_0x3da428[_0x449dbf(0x17f)](_0x449dbf(0x175),{'footnoteId':_0x5e4de0}),this[_0x449dbf(0x16b)]&&(_0x3da428[_0x449dbf(0x17b)](_0x443189,this[_0x449dbf(0x16b)],_0x449dbf(0x1b2)),_0x2dbda8=!0x0));const _0x58e080={'id':_0x5e4de0,'reference':_0x19bde1,'definition':_0x443189},_0x330acd=I(this[_0x449dbf(0x169)][_0x449dbf(0x17d)],this[_0x449dbf(0x1c5)],_0x19bde1);this[_0x449dbf(0x1c5)][_0x449dbf(0x1ae)](_0x330acd,0x0,_0x58e080);let _0x3e5014=_0x330acd;return-0x1!==_0x1d40e1&&(_0x3e5014=Math[_0x449dbf(0x16e)](_0x330acd,_0x1d40e1)),this[_0x449dbf(0x1b0)](_0x3da428,_0x3e5014)&&(_0x2dbda8=!0x0),_0x2dbda8;}[_0x4799c4(0x18e)](_0x5e1fae,_0x1f3842){const _0x347569=_0x4799c4,_0x1c2287=this[_0x347569(0x1c5)][_0x347569(0x17c)](_0x3818fb=>_0x3818fb['id']===_0x1f3842);if(-0x1===_0x1c2287)return!0x1;let _0x4016b1=!0x1;const _0x34fdc5=this[_0x347569(0x1c5)][_0x1c2287];return _0x347569(0x185)!==_0x34fdc5[_0x347569(0x1b5)][_0x347569(0x197)][_0x347569(0x164)]&&(_0x5e1fae[_0x347569(0x1ac)](_0x34fdc5[_0x347569(0x1b5)]),_0x4016b1=!0x0),this[_0x347569(0x1c5)][_0x347569(0x1ae)](_0x1c2287,0x1),this[_0x347569(0x1b0)](_0x5e1fae,_0x1c2287)&&(_0x4016b1=!0x0),_0x4016b1;}[_0x4799c4(0x177)](_0xe509e2,_0x3af4f8){const _0x2e855f=_0x4799c4,_0xf5c0f3=_0x3af4f8[_0x2e855f(0x172)](_0x2e855f(0x19c)),_0x5c9354=this[_0x2e855f(0x1c5)][_0x2e855f(0x17c)](_0x2e6f53=>_0x2e6f53['id']===_0xf5c0f3),_0x25c61c=this[_0x2e855f(0x1c5)][_0x5c9354];let _0x4c1314=!0x1;_0x25c61c[_0x2e855f(0x19a)]=_0x3af4f8,this[_0x2e855f(0x1c5)][_0x2e855f(0x1ae)](_0x5c9354,0x1);const _0x2b7382=I(this[_0x2e855f(0x169)][_0x2e855f(0x17d)],this[_0x2e855f(0x1c5)],_0x3af4f8);return this[_0x2e855f(0x1c5)][_0x2e855f(0x1ae)](_0x2b7382,0x0,_0x25c61c),this[_0x2e855f(0x1b0)](_0xe509e2,Math[_0x2e855f(0x16e)](_0x5c9354,_0x2b7382))&&(_0x4c1314=!0x0),_0x4c1314;}[_0x4799c4(0x190)](_0x4aff51,_0x46f863){const _0x134850=_0x4799c4;if(!this[_0x134850(0x16b)])return!0x1;const _0x127cab=this[_0x134850(0x1c5)][_0x46f863];let _0x5d6431;return _0x5d6431=this[_0x134850(0x196)]?this[_0x134850(0x196)]({'footnote':_0x127cab,'container':this[_0x134850(0x16b)],'digits':String(this[_0x134850(0x1c5)][_0x134850(0x168)])[_0x134850(0x168)],'value':_0x46f863+0x1}):String(_0x46f863+0x1),_0x127cab[_0x134850(0x19a)][_0x134850(0x172)](_0x134850(0x1bd))!=_0x5d6431&&(_0x4aff51[_0x134850(0x1ba)](_0x134850(0x1bd),_0x5d6431,_0x127cab[_0x134850(0x19a)]),!0x0);}[_0x4799c4(0x19b)](_0x3b0642){const _0x2a011b=_0x4799c4;if(!this[_0x2a011b(0x16b)]||this[_0x2a011b(0x1c5)][_0x2a011b(0x168)]<0x2)return!0x1;if(function(_0x572b1b,_0x10a896){const _0x5c4e04=_0x2a011b;if(_0x572b1b[_0x5c4e04(0x168)]!==_0x10a896[_0x5c4e04(0x168)])return!0x1;for(let _0x5c58f5=0x0;_0x5c58f5<_0x572b1b[_0x5c4e04(0x168)];_0x5c58f5++)if(_0x572b1b[_0x5c58f5]!==_0x10a896[_0x5c58f5])return!0x1;return!0x0;}(this[_0x2a011b(0x1c5)][_0x2a011b(0x180)](_0x41237b=>_0x41237b['id']),Array[_0x2a011b(0x19d)](this[_0x2a011b(0x16b)][_0x2a011b(0x18b)]())[_0x2a011b(0x180)](_0xa11916=>_0xa11916[_0x2a011b(0x172)](_0x2a011b(0x19c)))))return!0x1;let _0x5e5ec9=!0x1;for(let _0x58dc7a=0x0;_0x58dc7a<this[_0x2a011b(0x1c5)][_0x2a011b(0x168)];_0x58dc7a++){const _0x359354=this[_0x2a011b(0x1c5)][_0x58dc7a],_0x1c26ee=_0x3b0642[_0x2a011b(0x1a7)](_0x359354[_0x2a011b(0x1b5)]),_0x538060=_0x3b0642[_0x2a011b(0x1b9)](this[_0x2a011b(0x16b)],_0x58dc7a);_0x1c26ee[_0x2a011b(0x1b1)](_0x538060)||(_0x3b0642[_0x2a011b(0x193)](_0x3b0642[_0x2a011b(0x1c0)](_0x359354[_0x2a011b(0x1b5)]),_0x538060),_0x5e5ec9=!0x0);}return _0x5e5ec9;}[_0x4799c4(0x1b6)](_0x19a6ac){const _0x425eeb=_0x4799c4;if(!this[_0x425eeb(0x1c5)][_0x425eeb(0x168)])return!0x1;const {model:_0x5ab3a7}=this[_0x425eeb(0x169)];let _0x4e0a7e=!0x1;for(let _0x47c52a=0x0;_0x47c52a<this[_0x425eeb(0x1c5)][_0x425eeb(0x168)]-0x1;_0x47c52a++){const _0x41933b=this[_0x425eeb(0x1c5)][_0x47c52a],_0x1a90eb=this[_0x425eeb(0x1c5)][_0x47c52a+0x1],_0x2428d3=_0x5ab3a7[_0x425eeb(0x1a7)](_0x41933b[_0x425eeb(0x19a)]),_0x5d8171=_0x5ab3a7[_0x425eeb(0x1a7)](_0x1a90eb[_0x425eeb(0x19a)]);_0x425eeb(0x1ab)===_0x2428d3[_0x425eeb(0x1be)](_0x5d8171)&&(this[_0x425eeb(0x177)](_0x19a6ac,_0x41933b[_0x425eeb(0x19a)]),_0x47c52a=-0x1,_0x4e0a7e=!0x0);}return _0x4e0a7e;}}function _(_0x4f4261,_0x1be6bc,_0x1dc22e){const _0x27de04=_0x4799c4;if(_0x1dc22e[_0x27de04(0x1ad)])return!0x1;const _0x1ce02f=_0x1be6bc?_0x27de04(0x195):_0x27de04(0x1a6);return _0x4f4261[_0x27de04(0x17b)](_0x4f4261[_0x27de04(0x17f)](_0x1ce02f),_0x1dc22e),!0x0;}function I(_0x3993cc,_0x4d6063,_0x1b4f08){const _0x619b14=_0x4799c4;if(0x0===_0x4d6063[_0x619b14(0x168)])return 0x0;const _0x5796df=_0x3993cc[_0x619b14(0x1a7)](_0x1b4f08);for(let _0x33c4d6=0x0;_0x33c4d6<_0x4d6063[_0x619b14(0x168)];_0x33c4d6++){const _0x42f103=_0x4d6063[_0x33c4d6],_0x564bd2=_0x3993cc[_0x619b14(0x1a7)](_0x42f103[_0x619b14(0x19a)]);if(_0x619b14(0x1b7)===_0x5796df[_0x619b14(0x1be)](_0x564bd2))return _0x33c4d6;}const _0x566853=_0x1b4f08[_0x619b14(0x197)];let _0xe9bc92=-0x1;for(let _0x17a9d1=_0x4d6063[_0x619b14(0x168)]-0x1;_0x17a9d1>=0x0;_0x17a9d1--)if(_0x4d6063[_0x17a9d1][_0x619b14(0x19a)][_0x619b14(0x197)]===_0x566853){_0xe9bc92=_0x17a9d1;break;}if(-0x1!==_0xe9bc92)return _0xe9bc92+0x1;const _0x439256=_0x3993cc[_0x619b14(0x182)][_0x619b14(0x1b4)](),_0x4b1b70=_0x439256[_0x619b14(0x199)](_0x566853[_0x619b14(0x164)]),_0x1e2001=_0x439256[_0x4b1b70+0x1];if(_0x1e2001){for(let _0x2a5a37=0x0;_0x2a5a37<_0x4d6063[_0x619b14(0x168)];_0x2a5a37++)if(_0x4d6063[_0x2a5a37][_0x619b14(0x19a)][_0x619b14(0x197)][_0x619b14(0x164)]===_0x1e2001)return _0x2a5a37;}return _0x4d6063[_0x619b14(0x168)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x4c70d5,MenuBarMenuListItemButtonView as _0x2b14b0}from'ckeditor5/src/ui.js';import{Plugin as _0x1b2d27}from'ckeditor5/src/core.js';import{IconFootnote as _0x275e77}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1b2d27{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xcdec66}=this,{componentFactory:_0x3510ec}=_0xcdec66['ui'];_0x3510ec['add']('insertFootnote',E(_0xcdec66,_0x4c70d5)),_0x3510ec['add']('menuBar:insertFootnote',E(_0xcdec66,_0x2b14b0)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x69c754=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x19454f;for(const _0x9d5c22 in _0x69c754){const _0x18fa14=_0x9d5c22,_0x129832=_0x69c754[_0x18fa14];if('footnotesLicenseKeyValid'==_0x129832||'footnotesLicenseKeyInvalid'==_0x129832||'footnotesLicenseKeyExpired'==_0x129832||'footnotesLicenseKeyDomainLimit'==_0x129832||'footnotesLicenseKeyNotAllowed'==_0x129832||'footnotesLicenseKeyEvaluationLimit'==_0x129832||'footnotesLicenseKeyUsageLimit'==_0x129832){delete _0x69c754[_0x18fa14],_0x19454f=_0x129832,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x19454f&&_0x69c754['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x19454f&&_0x69c754['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x19454f&&_0x69c754['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x19454f&&_0x69c754['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x19454f&&_0x69c754['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x19454f&&_0x69c754['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x18d4e0,_0xbce733){const _0x341b50=_0x18d4e0['commands']['get']('insertFootnote');return _0x283cb8=>{const {t:t}=_0x283cb8,_0x4e21ed=new _0xbce733(_0x283cb8),_0x30fef2=_0x4e21ed instanceof _0x2b14b0;return _0x4e21ed['bind']('isEnabled')['to'](_0x341b50,'isEnabled'),_0x4e21ed['set']({'label':t(_0x30fef2?'Footnote':'Insert\x20footnote'),'icon':_0x275e77,'tooltip':!0x0}),_0x4e21ed['on']('execute',()=>{_0x341b50['execute'](),_0x18d4e0['editing']['view']['focus']();}),_0x4e21ed;};}
23
+ import{ButtonView as _0x368f84,MenuBarMenuListItemButtonView as _0x468445}from'ckeditor5/src/ui.js';import{Plugin as _0x4bb232}from'ckeditor5/src/core.js';import{IconFootnote as _0x39f904}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x4bb232{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x5ca253}=this,{componentFactory:_0x253e7d}=_0x5ca253['ui'];_0x253e7d['add']('insertFootnote',E(_0x5ca253,_0x368f84)),_0x253e7d['add']('menuBar:insertFootnote',E(_0x5ca253,_0x468445)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x3c08f1=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x409491;for(const _0x4593c7 in _0x3c08f1){const _0xbb5b51=_0x4593c7,_0x3277b6=_0x3c08f1[_0xbb5b51];if('footnotesLicenseKeyValid'==_0x3277b6||'footnotesLicenseKeyInvalid'==_0x3277b6||'footnotesLicenseKeyExpired'==_0x3277b6||'footnotesLicenseKeyDomainLimit'==_0x3277b6||'footnotesLicenseKeyNotAllowed'==_0x3277b6||'footnotesLicenseKeyEvaluationLimit'==_0x3277b6||'footnotesLicenseKeyUsageLimit'==_0x3277b6){delete _0x3c08f1[_0xbb5b51],_0x409491=_0x3277b6,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x409491&&_0x3c08f1['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x409491&&_0x3c08f1['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x409491&&_0x3c08f1['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x409491&&_0x3c08f1['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x409491&&_0x3c08f1['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x409491&&_0x3c08f1['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x481354,_0x4e935c){const _0x203119=_0x481354['commands']['get']('insertFootnote');return _0x3ae1f9=>{const {t:t}=_0x3ae1f9,_0x1df7cc=new _0x4e935c(_0x3ae1f9),_0x896912=_0x1df7cc instanceof _0x468445;return _0x1df7cc['bind']('isEnabled')['to'](_0x203119,'isEnabled'),_0x1df7cc['set']({'label':t(_0x896912?'Footnote':'Insert\x20footnote'),'icon':_0x39f904,'tooltip':!0x0}),_0x1df7cc['on']('execute',()=>{_0x203119['execute'](),_0x481354['editing']['view']['focus']();}),_0x1df7cc;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x3b1fb2,_0x5c083b){var _0x3cd911=_0x1936,_0x36e035=_0x3b1fb2();while(!![]){try{var _0x55a4c1=-parseInt(_0x3cd911(0xb7))/0x1*(-parseInt(_0x3cd911(0xbf))/0x2)+-parseInt(_0x3cd911(0xbc))/0x3*(parseInt(_0x3cd911(0xb8))/0x4)+parseInt(_0x3cd911(0xbe))/0x5+-parseInt(_0x3cd911(0xba))/0x6*(parseInt(_0x3cd911(0xc1))/0x7)+-parseInt(_0x3cd911(0xbb))/0x8*(-parseInt(_0x3cd911(0xbd))/0x9)+-parseInt(_0x3cd911(0xc0))/0xa+-parseInt(_0x3cd911(0xb9))/0xb;if(_0x55a4c1===_0x5c083b)break;else _0x36e035['push'](_0x36e035['shift']());}catch(_0x6b0212){_0x36e035['push'](_0x36e035['shift']());}}}(_0x4415,0xd9e77));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';function _0x1936(_0x14a4a9,_0x1519bd){var _0x4415ad=_0x4415();return _0x1936=function(_0x193684,_0x206947){_0x193684=_0x193684-0xb7;var _0x5af1d0=_0x4415ad[_0x193684];return _0x5af1d0;},_0x1936(_0x14a4a9,_0x1519bd);}export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4415(){var _0x12ffe0=['6648990NEkoyi','424SAuhcO','3OMeMWP','260046ITglna','6477385gGtKVd','6ykutBu','2186990ifqESe','7edwgTS','586793Wedoqj','4623416NnCOWr','13331835BCJYlR'];_0x4415=function(){return _0x12ffe0;};return _0x4415();}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x3e9e59,_0x4fd4f5){var _0x330ba4=_0x4d7b,_0x513dca=_0x3e9e59();while(!![]){try{var _0x40db91=parseInt(_0x330ba4(0x13f))/0x1+-parseInt(_0x330ba4(0x141))/0x2+parseInt(_0x330ba4(0x13b))/0x3+parseInt(_0x330ba4(0x140))/0x4*(parseInt(_0x330ba4(0x13c))/0x5)+parseInt(_0x330ba4(0x13d))/0x6+-parseInt(_0x330ba4(0x142))/0x7+-parseInt(_0x330ba4(0x13e))/0x8;if(_0x40db91===_0x4fd4f5)break;else _0x513dca['push'](_0x513dca['shift']());}catch(_0x4492d6){_0x513dca['push'](_0x513dca['shift']());}}}(_0x4b50,0xc9f9d));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x4b50(){var _0x580496=['5320458hHoWCr','18672488YeDpxf','1542578xHTLYs','4vBWqiR','2226088jWIsMD','4916555WybZzD','4195527cazEHV','5744665omWggA'];_0x4b50=function(){return _0x580496;};return _0x4b50();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x4d7b(_0x65daf,_0x544e8d){var _0x4b50a0=_0x4b50();return _0x4d7b=function(_0x4d7bcf,_0x42318f){_0x4d7bcf=_0x4d7bcf-0x13b;var _0x476624=_0x4b50a0[_0x4d7bcf];return _0x476624;},_0x4d7b(_0x65daf,_0x544e8d);}export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2c0d4e=_0x38ec;(function(_0x136653,_0x5091e6){const _0x113acb=_0x38ec,_0x5db9db=_0x136653();while(!![]){try{const _0xc9c128=parseInt(_0x113acb(0x89))/0x1*(parseInt(_0x113acb(0x7c))/0x2)+parseInt(_0x113acb(0x90))/0x3+parseInt(_0x113acb(0x8e))/0x4*(-parseInt(_0x113acb(0x6b))/0x5)+parseInt(_0x113acb(0x7f))/0x6+parseInt(_0x113acb(0x70))/0x7*(-parseInt(_0x113acb(0x68))/0x8)+-parseInt(_0x113acb(0x91))/0x9*(parseInt(_0x113acb(0x6e))/0xa)+parseInt(_0x113acb(0x8b))/0xb;if(_0xc9c128===_0x5091e6)break;else _0x5db9db['push'](_0x5db9db['shift']());}catch(_0x4a8155){_0x5db9db['push'](_0x5db9db['shift']());}}}(_0x7cac,0x4b875));function _0x7cac(){const _0x174d3b=['9KzZIja','$graveyard','rootName','length','70344sIvDap','insert','attributes','35WljHva','element','flat','3139930pyyBKU','push','483YsvomN','_getElementKey','elementName','set','reset','root','position','remove','nodeAfter','_elementName','from','type','98FAzOld','getItems','getChanges','734340NGUVtL','_model','add','createRangeOn','get','clear','getElementKey','slice','delete','values','9514mrGMkZ','has','4289307FRpDwO','$text','_trackedElements','174144GugLuZ','name','1668942DsiCEI'];_0x7cac=function(){return _0x174d3b;};return _0x7cac();}function _0x38ec(_0x56cc53,_0x3c1a82){const _0x7cac49=_0x7cac();return _0x38ec=function(_0x38ecd8,_0x39a70e){_0x38ecd8=_0x38ecd8-0x65;let _0x1c461d=_0x7cac49[_0x38ecd8];return _0x1c461d;},_0x38ec(_0x56cc53,_0x3c1a82);}export class ModelElementTracker{[_0x2c0d4e(0x80)];[_0x2c0d4e(0x79)];[_0x2c0d4e(0x71)];[_0x2c0d4e(0x8d)]=new Map();constructor(_0x4819d4,_0x546fb6){const _0x2720ec=_0x2c0d4e;this[_0x2720ec(0x80)]=_0x4819d4,this[_0x2720ec(0x79)]=_0x546fb6[_0x2720ec(0x72)],this[_0x2720ec(0x71)]=_0x546fb6[_0x2720ec(0x85)];}[_0x2c0d4e(0x74)](){const _0x2ebfe4=_0x2c0d4e;this[_0x2ebfe4(0x8d)][_0x2ebfe4(0x84)]();}[_0x2c0d4e(0x7e)](_0x5e1b08){const _0x3c038a=_0x2c0d4e,_0x491d57=new Set(),_0x57ac6f=new Map();for(const _0x230de6 of _0x5e1b08){if(_0x3c038a(0x69)===_0x230de6[_0x3c038a(0x7b)]&&_0x3c038a(0x8c)!==_0x230de6[_0x3c038a(0x8f)]&&_0x230de6[_0x3c038a(0x76)][_0x3c038a(0x78)]){const _0x34f9eb=this[_0x3c038a(0x80)][_0x3c038a(0x82)](_0x230de6[_0x3c038a(0x76)][_0x3c038a(0x78)]);for(const _0x23548d of _0x34f9eb[_0x3c038a(0x7d)]()){if(!_0x23548d['is'](_0x3c038a(0x6c),this[_0x3c038a(0x79)]))continue;const _0x15db0c=this[_0x3c038a(0x71)](_0x23548d);_0x57ac6f[_0x3c038a(0x8a)](_0x15db0c)||_0x57ac6f[_0x3c038a(0x73)](_0x15db0c,[]),_0x57ac6f[_0x3c038a(0x83)](_0x15db0c)[_0x3c038a(0x6f)](_0x23548d);}}if(_0x3c038a(0x77)===_0x230de6[_0x3c038a(0x7b)]&&_0x230de6[_0x3c038a(0x8f)]===this[_0x3c038a(0x79)]){const _0x2bf475=this[_0x3c038a(0x71)]({'getAttribute':_0x156ec8=>_0x230de6[_0x3c038a(0x6a)][_0x3c038a(0x83)](_0x156ec8)});_0x491d57[_0x3c038a(0x81)](_0x2bf475);}}for(const [_0x41f7ec,_0x56b4eb]of this[_0x3c038a(0x8d)])_0x3c038a(0x65)===_0x56b4eb[_0x3c038a(0x75)][_0x3c038a(0x66)]&&_0x491d57[_0x3c038a(0x81)](_0x41f7ec);for(const _0x4c6abe of _0x491d57)this[_0x3c038a(0x8d)][_0x3c038a(0x87)](_0x4c6abe);for(const [_0x234f5b,_0xff0bd9]of _0x57ac6f)this[_0x3c038a(0x8d)][_0x3c038a(0x73)](_0x234f5b,_0xff0bd9[_0xff0bd9[_0x3c038a(0x67)]-0x1]);const _0xdfd4c1=new Set();for(const [_0xbfce11,_0x289b36]of _0x57ac6f)_0x491d57[_0x3c038a(0x8a)](_0xbfce11)&&(_0xdfd4c1[_0x3c038a(0x81)](_0x289b36[0x0]),_0x289b36[_0x3c038a(0x67)]>0x1?_0x57ac6f[_0x3c038a(0x73)](_0xbfce11,_0x289b36[_0x3c038a(0x86)](0x1)):_0x57ac6f[_0x3c038a(0x87)](_0xbfce11),_0x491d57[_0x3c038a(0x87)](_0xbfce11));return{'removed':Array[_0x3c038a(0x7a)](_0x491d57),'inserted':Array[_0x3c038a(0x7a)](_0x57ac6f[_0x3c038a(0x88)]())[_0x3c038a(0x6d)](),'moved':Array[_0x3c038a(0x7a)](_0xdfd4c1)};}}
23
+ function _0x3da3(_0x3094b1,_0x13e088){const _0x3ecb51=_0x3ecb();return _0x3da3=function(_0x3da367,_0x5ad983){_0x3da367=_0x3da367-0x148;let _0x505a0c=_0x3ecb51[_0x3da367];return _0x505a0c;},_0x3da3(_0x3094b1,_0x13e088);}const _0x232df0=_0x3da3;(function(_0x310ab8,_0x2d7d65){const _0x580420=_0x3da3,_0x5cbc73=_0x310ab8();while(!![]){try{const _0x5bc4f0=parseInt(_0x580420(0x165))/0x1*(-parseInt(_0x580420(0x16e))/0x2)+-parseInt(_0x580420(0x16f))/0x3*(-parseInt(_0x580420(0x16d))/0x4)+parseInt(_0x580420(0x172))/0x5*(parseInt(_0x580420(0x168))/0x6)+parseInt(_0x580420(0x157))/0x7*(parseInt(_0x580420(0x14f))/0x8)+parseInt(_0x580420(0x162))/0x9*(parseInt(_0x580420(0x154))/0xa)+parseInt(_0x580420(0x164))/0xb+-parseInt(_0x580420(0x14e))/0xc;if(_0x5bc4f0===_0x2d7d65)break;else _0x5cbc73['push'](_0x5cbc73['shift']());}catch(_0x47086b){_0x5cbc73['push'](_0x5cbc73['shift']());}}}(_0x3ecb,0x6dae6));function _0x3ecb(){const _0x4e9125=['$graveyard','getItems','1133217EKDatj','length','6060780IgosgN','3XmApba','type','reset','74586ZWJhWd','add','insert','getElementKey','delete','653612qLgKpl','276268oGnKZp','15RAefZx','elementName','_model','45oohCQE','_elementName','nodeAfter','has','from','push','rootName','clear','_getElementKey','getChanges','22771524yMRZoq','1600072JJTgVq','$text','attributes','set','name','70ETZTiZ','root','flat','14ZiorMB','get','position','_trackedElements','element','values','slice','createRangeOn','remove'];_0x3ecb=function(){return _0x4e9125;};return _0x3ecb();}export class ModelElementTracker{[_0x232df0(0x171)];[_0x232df0(0x173)];[_0x232df0(0x14c)];[_0x232df0(0x15a)]=new Map();constructor(_0x253300,_0xb7e64f){const _0x28a3c3=_0x232df0;this[_0x28a3c3(0x171)]=_0x253300,this[_0x28a3c3(0x173)]=_0xb7e64f[_0x28a3c3(0x170)],this[_0x28a3c3(0x14c)]=_0xb7e64f[_0x28a3c3(0x16b)];}[_0x232df0(0x167)](){const _0x28e8ae=_0x232df0;this[_0x28e8ae(0x15a)][_0x28e8ae(0x14b)]();}[_0x232df0(0x14d)](_0x3286e7){const _0x16eb32=_0x232df0,_0x1ca9df=new Set(),_0x1df28a=new Map();for(const _0x966eb8 of _0x3286e7){if(_0x16eb32(0x16a)===_0x966eb8[_0x16eb32(0x166)]&&_0x16eb32(0x150)!==_0x966eb8[_0x16eb32(0x153)]&&_0x966eb8[_0x16eb32(0x159)][_0x16eb32(0x174)]){const _0x26d63e=this[_0x16eb32(0x171)][_0x16eb32(0x15e)](_0x966eb8[_0x16eb32(0x159)][_0x16eb32(0x174)]);for(const _0x584b99 of _0x26d63e[_0x16eb32(0x161)]()){if(!_0x584b99['is'](_0x16eb32(0x15b),this[_0x16eb32(0x173)]))continue;const _0x117de3=this[_0x16eb32(0x14c)](_0x584b99);_0x1df28a[_0x16eb32(0x175)](_0x117de3)||_0x1df28a[_0x16eb32(0x152)](_0x117de3,[]),_0x1df28a[_0x16eb32(0x158)](_0x117de3)[_0x16eb32(0x149)](_0x584b99);}}if(_0x16eb32(0x15f)===_0x966eb8[_0x16eb32(0x166)]&&_0x966eb8[_0x16eb32(0x153)]===this[_0x16eb32(0x173)]){const _0x2212a8=this[_0x16eb32(0x14c)]({'getAttribute':_0x211d3d=>_0x966eb8[_0x16eb32(0x151)][_0x16eb32(0x158)](_0x211d3d)});_0x1ca9df[_0x16eb32(0x169)](_0x2212a8);}}for(const [_0x3951b8,_0x818b5a]of this[_0x16eb32(0x15a)])_0x16eb32(0x160)===_0x818b5a[_0x16eb32(0x155)][_0x16eb32(0x14a)]&&_0x1ca9df[_0x16eb32(0x169)](_0x3951b8);for(const _0x36218a of _0x1ca9df)this[_0x16eb32(0x15a)][_0x16eb32(0x16c)](_0x36218a);for(const [_0x4cacbc,_0x3777bd]of _0x1df28a)this[_0x16eb32(0x15a)][_0x16eb32(0x152)](_0x4cacbc,_0x3777bd[_0x3777bd[_0x16eb32(0x163)]-0x1]);const _0x5a35a9=new Set();for(const [_0x221a49,_0x123686]of _0x1df28a)_0x1ca9df[_0x16eb32(0x175)](_0x221a49)&&(_0x5a35a9[_0x16eb32(0x169)](_0x123686[0x0]),_0x123686[_0x16eb32(0x163)]>0x1?_0x1df28a[_0x16eb32(0x152)](_0x221a49,_0x123686[_0x16eb32(0x15d)](0x1)):_0x1df28a[_0x16eb32(0x16c)](_0x221a49),_0x1ca9df[_0x16eb32(0x16c)](_0x221a49));return{'removed':Array[_0x16eb32(0x148)](_0x1ca9df),'inserted':Array[_0x16eb32(0x148)](_0x1df28a[_0x16eb32(0x15c)]())[_0x16eb32(0x156)](),'moved':Array[_0x16eb32(0x148)](_0x5a35a9)};}}