@ckeditor/ckeditor5-footnotes 0.0.0-nightly-20251119.0 → 0.0.0-nightly-20251121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/build/footnotes.js +1 -1
  2. package/dist/index.js +1 -1
  3. package/dist/translations/af.js +1 -1
  4. package/dist/translations/af.umd.js +1 -1
  5. package/dist/translations/ar.js +1 -1
  6. package/dist/translations/ar.umd.js +1 -1
  7. package/dist/translations/ast.js +1 -1
  8. package/dist/translations/ast.umd.js +1 -1
  9. package/dist/translations/az.js +1 -1
  10. package/dist/translations/az.umd.js +1 -1
  11. package/dist/translations/be.js +1 -1
  12. package/dist/translations/be.umd.js +1 -1
  13. package/dist/translations/bg.js +1 -1
  14. package/dist/translations/bg.umd.js +1 -1
  15. package/dist/translations/bn.js +1 -1
  16. package/dist/translations/bn.umd.js +1 -1
  17. package/dist/translations/bs.js +1 -1
  18. package/dist/translations/bs.umd.js +1 -1
  19. package/dist/translations/ca.js +1 -1
  20. package/dist/translations/ca.umd.js +1 -1
  21. package/dist/translations/cs.js +1 -1
  22. package/dist/translations/cs.umd.js +1 -1
  23. package/dist/translations/da.js +1 -1
  24. package/dist/translations/da.umd.js +1 -1
  25. package/dist/translations/de-ch.js +1 -1
  26. package/dist/translations/de-ch.umd.js +1 -1
  27. package/dist/translations/de.js +1 -1
  28. package/dist/translations/de.umd.js +1 -1
  29. package/dist/translations/el.js +1 -1
  30. package/dist/translations/el.umd.js +1 -1
  31. package/dist/translations/en-au.js +1 -1
  32. package/dist/translations/en-au.umd.js +1 -1
  33. package/dist/translations/en-gb.js +1 -1
  34. package/dist/translations/en-gb.umd.js +1 -1
  35. package/dist/translations/en.js +1 -1
  36. package/dist/translations/en.umd.js +1 -1
  37. package/dist/translations/eo.js +1 -1
  38. package/dist/translations/eo.umd.js +1 -1
  39. package/dist/translations/es-co.js +1 -1
  40. package/dist/translations/es-co.umd.js +1 -1
  41. package/dist/translations/es.js +1 -1
  42. package/dist/translations/es.umd.js +1 -1
  43. package/dist/translations/et.js +1 -1
  44. package/dist/translations/et.umd.js +1 -1
  45. package/dist/translations/eu.js +1 -1
  46. package/dist/translations/eu.umd.js +1 -1
  47. package/dist/translations/fa.js +1 -1
  48. package/dist/translations/fa.umd.js +1 -1
  49. package/dist/translations/fi.js +1 -1
  50. package/dist/translations/fi.umd.js +1 -1
  51. package/dist/translations/fr.js +1 -1
  52. package/dist/translations/fr.umd.js +1 -1
  53. package/dist/translations/gl.js +1 -1
  54. package/dist/translations/gl.umd.js +1 -1
  55. package/dist/translations/gu.js +1 -1
  56. package/dist/translations/gu.umd.js +1 -1
  57. package/dist/translations/he.js +1 -1
  58. package/dist/translations/he.umd.js +1 -1
  59. package/dist/translations/hi.js +1 -1
  60. package/dist/translations/hi.umd.js +1 -1
  61. package/dist/translations/hr.js +1 -1
  62. package/dist/translations/hr.umd.js +1 -1
  63. package/dist/translations/hu.js +1 -1
  64. package/dist/translations/hu.umd.js +1 -1
  65. package/dist/translations/hy.js +1 -1
  66. package/dist/translations/hy.umd.js +1 -1
  67. package/dist/translations/id.js +1 -1
  68. package/dist/translations/id.umd.js +1 -1
  69. package/dist/translations/it.js +1 -1
  70. package/dist/translations/it.umd.js +1 -1
  71. package/dist/translations/ja.js +1 -1
  72. package/dist/translations/ja.umd.js +1 -1
  73. package/dist/translations/jv.js +1 -1
  74. package/dist/translations/jv.umd.js +1 -1
  75. package/dist/translations/kk.js +1 -1
  76. package/dist/translations/kk.umd.js +1 -1
  77. package/dist/translations/km.js +1 -1
  78. package/dist/translations/km.umd.js +1 -1
  79. package/dist/translations/kn.js +1 -1
  80. package/dist/translations/kn.umd.js +1 -1
  81. package/dist/translations/ko.js +1 -1
  82. package/dist/translations/ko.umd.js +1 -1
  83. package/dist/translations/ku.js +1 -1
  84. package/dist/translations/ku.umd.js +1 -1
  85. package/dist/translations/lt.js +1 -1
  86. package/dist/translations/lt.umd.js +1 -1
  87. package/dist/translations/lv.js +1 -1
  88. package/dist/translations/lv.umd.js +1 -1
  89. package/dist/translations/ms.js +1 -1
  90. package/dist/translations/ms.umd.js +1 -1
  91. package/dist/translations/nb.js +1 -1
  92. package/dist/translations/nb.umd.js +1 -1
  93. package/dist/translations/ne.js +1 -1
  94. package/dist/translations/ne.umd.js +1 -1
  95. package/dist/translations/nl.js +1 -1
  96. package/dist/translations/nl.umd.js +1 -1
  97. package/dist/translations/no.js +1 -1
  98. package/dist/translations/no.umd.js +1 -1
  99. package/dist/translations/oc.js +1 -1
  100. package/dist/translations/oc.umd.js +1 -1
  101. package/dist/translations/pl.js +1 -1
  102. package/dist/translations/pl.umd.js +1 -1
  103. package/dist/translations/pt-br.js +1 -1
  104. package/dist/translations/pt-br.umd.js +1 -1
  105. package/dist/translations/pt.js +1 -1
  106. package/dist/translations/pt.umd.js +1 -1
  107. package/dist/translations/ro.js +1 -1
  108. package/dist/translations/ro.umd.js +1 -1
  109. package/dist/translations/ru.js +1 -1
  110. package/dist/translations/ru.umd.js +1 -1
  111. package/dist/translations/si.js +1 -1
  112. package/dist/translations/si.umd.js +1 -1
  113. package/dist/translations/sk.js +1 -1
  114. package/dist/translations/sk.umd.js +1 -1
  115. package/dist/translations/sl.js +1 -1
  116. package/dist/translations/sl.umd.js +1 -1
  117. package/dist/translations/sq.js +1 -1
  118. package/dist/translations/sq.umd.js +1 -1
  119. package/dist/translations/sr-latn.js +1 -1
  120. package/dist/translations/sr-latn.umd.js +1 -1
  121. package/dist/translations/sr.js +1 -1
  122. package/dist/translations/sr.umd.js +1 -1
  123. package/dist/translations/sv.js +1 -1
  124. package/dist/translations/sv.umd.js +1 -1
  125. package/dist/translations/th.js +1 -1
  126. package/dist/translations/th.umd.js +1 -1
  127. package/dist/translations/ti.js +1 -1
  128. package/dist/translations/ti.umd.js +1 -1
  129. package/dist/translations/tk.js +1 -1
  130. package/dist/translations/tk.umd.js +1 -1
  131. package/dist/translations/tr.js +1 -1
  132. package/dist/translations/tr.umd.js +1 -1
  133. package/dist/translations/tt.js +1 -1
  134. package/dist/translations/tt.umd.js +1 -1
  135. package/dist/translations/ug.js +1 -1
  136. package/dist/translations/ug.umd.js +1 -1
  137. package/dist/translations/uk.js +1 -1
  138. package/dist/translations/uk.umd.js +1 -1
  139. package/dist/translations/ur.js +1 -1
  140. package/dist/translations/ur.umd.js +1 -1
  141. package/dist/translations/uz.js +1 -1
  142. package/dist/translations/uz.umd.js +1 -1
  143. package/dist/translations/vi.js +1 -1
  144. package/dist/translations/vi.umd.js +1 -1
  145. package/dist/translations/zh-cn.js +1 -1
  146. package/dist/translations/zh-cn.umd.js +1 -1
  147. package/dist/translations/zh.js +1 -1
  148. package/dist/translations/zh.umd.js +1 -1
  149. package/package.json +9 -9
  150. package/src/commands/insertfootnotecommand.js +1 -1
  151. package/src/footnotes.js +1 -1
  152. package/src/footnotesclipboard.js +1 -1
  153. package/src/footnotesediting.js +1 -1
  154. package/src/footnotesproperties/commands/footnotesstartcommand.js +1 -1
  155. package/src/footnotesproperties/commands/footnotesstylecommand.js +1 -1
  156. package/src/footnotesproperties/footnotespropertiesconfig.js +1 -1
  157. package/src/footnotesproperties/footnotespropertiesediting.js +1 -1
  158. package/src/footnotesproperties/footnotespropertiesui.js +1 -1
  159. package/src/footnotesproperties/ui/footnotesdefinitionspropertiesview.js +1 -1
  160. package/src/footnotesproperties.js +1 -1
  161. package/src/footnotestracker.js +1 -1
  162. package/src/footnotesui.js +1 -1
  163. package/src/index.js +1 -1
  164. package/src/modelelementtracker.js +1 -1
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{Plugin as _0x546941}from'ckeditor5/src/core.js';import{isWidget as _0x1e492a,toWidget as _0x5657c0,toWidgetEditable as _0x440508}from'ckeditor5/src/widget.js';import{uid as _0x32740c}from'ckeditor5/src/utils.js';import{PointerObserver as _0x551087,ClickObserver as _0x232a39}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1bb690}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x3f6c03}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x546941{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1bb690];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3703bf}=this;_0x3703bf['config']['define']('footnotes.multiBlock',!0x0),_0x3703bf['commands']['add']('insertFootnote',new _0x3f6c03(_0x3703bf)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x451825){const _0x4bf573=_0x4a2142([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]),_0x3b2c4f=0x47a28506,_0x1b9cfa=0x47a5fc8e^_0x3b2c4f,_0x13f764=window[_0x4a2142([0x44,0x61,0x74,0x65])][_0x4a2142([0x6e,0x6f,0x77])](),_0x6bccf9=_0x451825[_0x4a2142([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x1ca6d2=new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x221124=>{_0x6bccf9[_0x4a2142([0x6f,0x6e,0x63,0x65])](_0x4a2142([0x72,0x65,0x61,0x64,0x79]),_0x221124);}),_0xc24643={[_0x4a2142([0x6b,0x74,0x79])]:_0x4a2142([0x45,0x43]),[_0x4a2142([0x75,0x73,0x65])]:_0x4a2142([0x73,0x69,0x67]),[_0x4a2142([0x63,0x72,0x76])]:_0x4a2142([0x50,0x2d,0x32,0x35,0x36]),[_0x4a2142([0x78])]:_0x4a2142([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]),[_0x4a2142([0x79])]:_0x4a2142([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]),[_0x4a2142([0x61,0x6c,0x67])]:_0x4a2142([0x45,0x53,0x32,0x35,0x36])},_0x2eeb9d=_0x6bccf9[_0x4a2142([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x4a2142([0x67,0x65,0x74])](_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x1610a5(){let _0x5cf1e0,_0x1566dd=null,_0x136b8a=null;try{if(_0x2eeb9d==_0x4a2142([0x47,0x50,0x4c]))return _0x4a2142([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x5cf1e0=_0x5442a6(),!_0x5cf1e0)return _0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x5cf1e0[_0x4a2142([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x136b8a=_0x24e80b(_0x5cf1e0[_0x4a2142([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x5cf1e0[_0x4a2142([0x6a,0x74,0x69])])),await _0x449350()?_0xd8a730()?_0x212207()?_0x4a2142([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x19d682()?(_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2142([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x1566dd=_0x3e5076(_0x4a2142([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x4a2142([0x74,0x72,0x69,0x61,0x6c])&&(_0x1566dd=_0x3e5076(_0x4a2142([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x330005()):_0x4a2142([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2142([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x4a2142([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x212207(){const _0x538e6f=[_0x4a2142([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x4a2142([0x74,0x72,0x69,0x61,0x6c])][_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x13f764/0x3e8:0xe10*_0x1b9cfa;return _0x5cf1e0[_0x4a2142([0x65,0x78,0x70])]<_0x538e6f;}function _0xd8a730(){const _0x43d297=_0x5cf1e0[_0x4a2142([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x43d297&&(!!_0x43d297[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x2a]))||!!_0x43d297[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x46,0x4f,0x4f])));}function _0x19d682(){const _0x4bcafa=_0x5cf1e0[_0x4a2142([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x4bcafa||0x0==_0x4bcafa[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0xd51cac}=new URL(window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x4bcafa[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0xd51cac))return!0x0;const _0x206e5e=_0xd51cac[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e]));return _0x4bcafa[_0x4a2142([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x325566=>_0x325566[_0x4a2142([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x4a2142([0x2a])))[_0x4a2142([0x6d,0x61,0x70])](_0xb4e4ac=>_0xb4e4ac[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e])))[_0x4a2142([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x323afa=>_0x323afa[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x206e5e[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2142([0x6d,0x61,0x70])](_0x581e17=>Array(_0x206e5e[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x581e17[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x4a2142([0x66,0x69,0x6c,0x6c])](_0x581e17[0x0]===_0x4a2142([0x2a])?_0x4a2142([0x2a]):'')[_0x4a2142([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x581e17))[_0x4a2142([0x73,0x6f,0x6d,0x65])](_0x389cb0=>_0x206e5e[_0x4a2142([0x65,0x76,0x65,0x72,0x79])]((_0x2d983f,_0x4e10cb)=>_0x389cb0[_0x4e10cb]===_0x2d983f||_0x389cb0[_0x4e10cb]===_0x4a2142([0x2a])));}function _0x330005(){return _0x1566dd&&_0x136b8a?new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0xd28e3f,_0x58c349)=>{_0x1566dd[_0x4a2142([0x74,0x68,0x65,0x6e])](_0xd28e3f,_0x58c349),_0x136b8a[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x2d67f1=>{_0x2d67f1!=_0x4a2142([0x56,0x61,0x6c,0x69,0x64])&&_0xd28e3f(_0x2d67f1);},_0x58c349);}):_0x1566dd||_0x136b8a||_0x4a2142([0x56,0x61,0x6c,0x69,0x64]);}}function _0x24e80b(_0x3a9dd1,_0x3dc9f6){return new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5c05da=>{if(_0x3a1bc1())return _0x5c05da(_0x4a2142([0x56,0x61,0x6c,0x69,0x64]));_0x13e2f5(),_0x6bccf9[_0x4a2142([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x3a563a=!0x1;const _0x5ecb5b=_0x32740c();function _0x1ce0f6(_0x22fa8b){return!!_0x22fa8b&&(typeof _0x22fa8b===_0x4a2142([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x22fa8b===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x22fa8b[_0x4a2142([0x74,0x68,0x65,0x6e])]===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x22fa8b[_0x4a2142([0x63,0x61,0x74,0x63,0x68])]===_0x4a2142([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x4f60de(_0x18003b){_0x4294d0(_0x18003b)[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x2b48fe=>{if(!_0x2b48fe||_0x2b48fe[_0x4a2142([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x4a2142([0x6f,0x6b]))return _0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x237c24(_0x23da5e(_0x5ecb5b+_0x3dc9f6))!=_0x2b48fe[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x4a2142([0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x3439dd=>(_0x46dc72(),_0x3439dd),()=>{const _0x55ba17=_0x19c221();return null==_0x55ba17?(_0x46dc72(),_0x4a2142([0x56,0x61,0x6c,0x69,0x64])):_0x4a2142(_0x13f764-_0x55ba17>(0x63ae0106^_0x3b2c4f)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x5c05da)[_0x4a2142([0x63,0x61,0x74,0x63,0x68])](()=>{_0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x43c654=0x47946b86^_0x3b2c4f;function _0x46dc72(){const _0x7b6c88=_0x4a2142([0x6c,0x6c,0x63,0x74,0x2d])+_0x237c24(_0x23da5e(_0x3a9dd1)),_0x5ea9c6=_0x2527cb(_0x237c24(window[_0x4a2142([0x4d,0x61,0x74,0x68])][_0x4a2142([0x63,0x65,0x69,0x6c])](_0x13f764/_0x43c654)));window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2142([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x7b6c88,_0x5ea9c6);}function _0x19c221(){const _0x4d827d=_0x4a2142([0x6c,0x6c,0x63,0x74,0x2d])+_0x237c24(_0x23da5e(_0x3a9dd1)),_0x4b20d2=window[_0x4a2142([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x4a2142([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4d827d);return _0x4b20d2?window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2527cb(_0x4b20d2),0x10)*_0x43c654:null;}function _0x4294d0(_0x16e35b){return new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x34e0c3,_0x2594b2)=>{_0x16e35b[_0x4a2142([0x74,0x68,0x65,0x6e])](_0x34e0c3,_0x2594b2),window[_0x4a2142([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2594b2,0x47a351c6^_0x3b2c4f);});}}_0x6bccf9[_0x4a2142([0x6f,0x6e])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x396952,_0x2c2c0a)=>{if(_0x2c2c0a[0x0]!=_0x3a9dd1)return _0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2c2c0a[0x1]={..._0x2c2c0a[0x1],[_0x4a2142([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x5ecb5b};},{[_0x4a2142([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2142([0x68,0x69,0x67,0x68])}),_0x6bccf9[_0x4a2142([0x6f,0x6e])](_0x4a2142([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0xa2e358=>{_0x1ce0f6(_0xa2e358[_0x4a2142([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x3a563a=!0x0,_0x4f60de(_0xa2e358[_0x4a2142([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x4a2142([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x4a2142([0x6c,0x6f,0x77])}),_0x1ca6d2[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>{_0x3a563a||_0x5c05da(_0x4a2142([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x3a1bc1(){return _0x6bccf9[_0x4a2142([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2142([0x76,0x69,0x65,0x77])][_0x4a2142([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x4a2142([0x61,0x75,0x74,0x6f]);}function _0x13e2f5(){_0x6bccf9[_0x4a2142([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x4a2142([0x76,0x69,0x65,0x77])][_0x4a2142([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x4a2142([0x61,0x75,0x74,0x6f]);}}function _0x3e5076(_0x35bb82){const _0x2f1eb9=[new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x2c709b=>setTimeout(_0x2c709b,0x47abbbca^_0x3b2c4f)),_0x1ca6d2[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>new window[(_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1d422b=>{let _0x2d0fe9=0x0;_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x6f,0x6e])](_0x4a2142([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x11d4cd,_0x52f942)=>{_0x52f942[0x0][_0x4a2142([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x2d0fe9++,_0x2d0fe9==(0x47a284fe^_0x3b2c4f)&&(_0x1d422b(),_0x11d4cd[_0x4a2142([0x6f,0x66,0x66])]());});}))];return window[_0x4a2142([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x4a2142([0x72,0x61,0x63,0x65])](_0x2f1eb9)[_0x4a2142([0x74,0x68,0x65,0x6e])](()=>_0x35bb82);}async function _0x50f27d(){await _0x1ca6d2,_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fe0c9,_0x6bccf9[_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c])][_0x4a2142([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fe0c9,_0x6bccf9[_0x4a2142([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x4a2142([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24d603(_0x1893b8){const _0x724ae5=_0x341ccc();_0x6bccf9[_0x724ae5]=_0x4a2142([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1893b8,_0x1893b8!=_0x4a2142([0x56,0x61,0x6c,0x69,0x64])&&_0x50f27d();}function _0x341ccc(){const _0x55c396=window[_0x4a2142([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x4a2142([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x4a2142([0x6e,0x6f,0x77])]())[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x4a2142([0x2e]),'');let _0x88f39b=_0x4a2142([0x75]);for(let _0x4abd32=0x0;_0x4abd32<_0x55c396[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4abd32+=0x2){let _0x554c19=window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55c396[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4abd32,_0x4abd32+0x2));_0x554c19>=_0x4bf573[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x554c19-=_0x4bf573[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x88f39b+=_0x4bf573[_0x554c19];}return _0x88f39b;}function _0x5442a6(){const _0x517965=_0x2eeb9d[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e]));if(0x3!=_0x517965[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x5943bc(_0x517965[0x1]);function _0x5943bc(_0x150760){const _0x56222d=_0x839386(_0x150760);return _0x56222d&&_0x2b2465()?_0x56222d:null;function _0x2b2465(){const _0x4c7964=_0x56222d[_0x4a2142([0x6a,0x74,0x69])],_0x2fcd4d=window[_0x4a2142([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x4c7964[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x4c7964[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x516ee4={..._0x56222d,[_0x4a2142([0x6a,0x74,0x69])]:_0x4c7964[_0x4a2142([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x4c7964[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x516ee4[_0x4a2142([0x76,0x63])],_0x23da5e(_0x516ee4)==_0x2fcd4d;}}}async function _0x449350(){let _0x55389d=!0x0;try{const _0x528d52=_0x2eeb9d[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])](_0x4a2142([0x2e])),[_0x1dc44b,_0x573624,_0x57dd29]=_0x528d52;return _0x529e09(_0x1dc44b),await _0x4a5eb9(_0x1dc44b,_0x573624,_0x57dd29),_0x55389d;}catch{return!0x1;}function _0x529e09(_0x369212){const _0x50d91d=_0x839386(_0x369212);_0x50d91d&&_0x50d91d[_0x4a2142([0x61,0x6c,0x67])]==_0x4a2142([0x45,0x53,0x32,0x35,0x36])||(_0x55389d=!0x1);}async function _0x4a5eb9(_0x1306c4,_0x37fdde,_0x257527){const _0x303793=window[_0x4a2142([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x4a2142([0x66,0x72,0x6f,0x6d])](_0x52c006(_0x257527),_0x43bccd=>_0x43bccd[_0x4a2142([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x5049a0=new window[(_0x4a2142([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x4a2142([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x1306c4+_0x4a2142([0x2e])+_0x37fdde),_0x33ad11=window[_0x4a2142([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x4a2142([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x33ad11)return;const _0x2c70e7=await _0x33ad11[_0x4a2142([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x4a2142([0x6a,0x77,0x6b]),_0xc24643,{[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x45,0x43,0x44,0x53,0x41]),[_0x4a2142([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x4a2142([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x33ad11[_0x4a2142([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x45,0x43,0x44,0x53,0x41]),[_0x4a2142([0x68,0x61,0x73,0x68])]:{[_0x4a2142([0x6e,0x61,0x6d,0x65])]:_0x4a2142([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x2c70e7,_0x303793,_0x5049a0)||(_0x55389d=!0x1);}}function _0x839386(_0x10e621){return _0x10e621[_0x4a2142([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x4a2142([0x65,0x79]))?JSON[_0x4a2142([0x70,0x61,0x72,0x73,0x65])](_0x52c006(_0x10e621)):null;}function _0x52c006(_0xae6e49){return window[_0x4a2142([0x61,0x74,0x6f,0x62])](_0xae6e49[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x4a2142([0x2b]))[_0x4a2142([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x4a2142([0x2f])));}function _0x23da5e(_0x2c6f93){let _0x178b45=0x1505;function _0x7e85fa(_0x487dcb){for(let _0x2172d8=0x0;_0x2172d8<_0x487dcb[_0x4a2142([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2172d8++){const _0x32ac7c=_0x487dcb[_0x4a2142([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x2172d8);_0x178b45=(_0x178b45<<0x5)+_0x178b45+_0x32ac7c,_0x178b45&=_0x178b45;}}function _0x490f0e(_0x5c0d26){Array[_0x4a2142([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x5c0d26)?_0x5c0d26[_0x4a2142([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x490f0e):_0x5c0d26&&typeof _0x5c0d26==_0x4a2142([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x4a2142([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x5c0d26)[_0x4a2142([0x73,0x6f,0x72,0x74])]()[_0x4a2142([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x503cdc,_0x5760f1])=>{_0x7e85fa(_0x503cdc),_0x490f0e(_0x5760f1);}):_0x7e85fa(window[_0x4a2142([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x5c0d26));}return _0x490f0e(_0x2c6f93),_0x178b45>>>0x0;}function _0x237c24(_0xbf236f){return _0xbf236f[_0x4a2142([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x4a2142([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x4a2142([0x30]));}function _0x2527cb(_0xd9253f){return _0xd9253f[_0x4a2142([0x73,0x70,0x6c,0x69,0x74])]('')[_0x4a2142([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x4a2142([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fe0c9(){}function _0x4a2142(_0x281237){return _0x281237['map'](_0x45050f=>String['fromCharCode'](_0x45050f))['join']('');}_0x24d603(await _0x1610a5());}(this);}['_moveSelectionToFootnoteDefinition'](_0x10471d){const {plugins:_0x382381,editing:_0x364f96,model:_0x54ba6a}=this['editor'],_0x1661d7=_0x382381['get'](_0x1bb690)['getFootnote'](_0x10471d);return!!_0x1661d7&&(_0x54ba6a['change'](_0x564f70=>{_0x564f70['setSelection'](_0x564f70['createPositionAt'](_0x1661d7['definition'],'end'));}),_0x364f96['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x40d172){const {plugins:_0x352f54,editing:_0x555204,model:_0x1f9596}=this['editor'],_0x47b5ba=_0x352f54['get'](_0x1bb690)['getFootnote'](_0x40d172);return!!_0x47b5ba&&(_0x1f9596['change'](_0x1261b9=>{_0x1261b9['setSelection'](_0x47b5ba['reference'],'on');}),_0x555204['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x4f4fb2}=this['editor']['model'],_0x2e0b64=this['editor']['config']['get']('footnotes.multiBlock');_0x4f4fb2['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x4f4fb2['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x4f4fb2['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x2e0b64?_0x4f4fb2['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x4f4fb2['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x4f4fb2['addChildCheck'](_0xba6681=>{for(const _0x8e554a of _0xba6681)if('footnoteDefinition'===_0x8e554a['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x22ebd4}=this,{conversion:_0x4c190a,editing:_0x5c3046}=_0x22ebd4,{t:t}=_0x22ebd4['locale'];_0x4c190a['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x46465b,{writer:_0x4551ae,consumable:_0xd49c84})=>{const _0x24ca84=_0x46465b['getChild'](0x0);if(!_0x24ca84||!_0x24ca84['is']('element','a'))return null;const _0x46e448=_0x24ca84['getAttribute']('href')||'';if(!_0x46e448['startsWith']('#'))return null;const _0x1f3db8=_0x46e448['replace'](/^#/,'');if(!_0x1f3db8)return null;_0xd49c84['consume'](_0x24ca84,{'name':!0x0,'attributes':['href']});for(const {item:_0x40561b}of _0x5c3046['view']['createRangeIn'](_0x24ca84))_0x40561b['is']('$textProxy')?_0xd49c84['consume'](_0x40561b['textNode'],{'name':!0x0}):_0x40561b['is']('element')&&_0xd49c84['consume'](_0x40561b,{'name':!0x0});return _0x4551ae['createElement']('footnoteRef',{'footnoteId':_0x1f3db8});}}),_0x4c190a['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x4f67bc,{writer:_0xc4c043})=>D(_0x4f67bc,_0xc4c043)}),_0x4c190a['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d3529,{writer:_0x1bc763})=>{const _0x5b546d=_0x2d3529['getAttribute']('footnoteCounter');return _0x5657c0(D(_0x2d3529,_0x1bc763),_0x1bc763,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x5b546d)});}});}['_defineDefinitionsConverters'](){const {editor:_0x24b731}=this,{t:t}=_0x24b731['locale'],{conversion:_0x423c10}=_0x24b731;_0x423c10['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x423c10['for']('upcast')['add'](_0x1e6d34=>{_0x1e6d34['on']('element:ol',(_0x4c4197,_0x5d45ad,_0x256637)=>{const _0xfdec2c=_0x5d45ad['viewItem'];if(!_0xfdec2c['hasClass']('footnotes-list')||!_0x5d45ad['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x256637['consumable']['consume'](_0xfdec2c,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x1f965d,modelCursor:_0x36392b}=_0x256637['convertChildren'](_0x5d45ad['viewItem'],_0x5d45ad['modelCursor']);_0x5d45ad['modelRange']=_0x1f965d,_0x5d45ad['modelCursor']=_0x36392b;}),_0x1e6d34['on']('element:hr',(_0x17f173,_0x39b81e,_0x2e6f1f)=>{const _0xc9d244=_0x39b81e['viewItem'];_0xc9d244['hasClass']('footnotes-divider')&&_0x39b81e['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x2e6f1f['consumable']['consume'](_0xc9d244,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x423c10['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x419a33,{writer:_0x589231})=>v(_0x589231)}),_0x423c10['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x255c6f,{writer:_0x328842})=>{const _0x5da7f0=v(_0x328842,{'data-footnotes-list-label':t('Footnotes')}),_0x584f3c=_0x5657c0(_0x5da7f0,_0x328842,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x328842['setCustomProperty']('footnotesDefinitions',!0x0,_0x584f3c),_0x584f3c;}});}['_defineDefinitionConverters'](){const {editor:_0x31f7ca}=this,{conversion:_0x3d6f39,locale:_0x1b430c}=_0x31f7ca,_0x414ead=_0x31f7ca['config']['get']('footnotes.multiBlock');_0x3d6f39['for']('upcast')['add'](_0x1eb016=>{_0x1eb016['on']('element:li',(_0xf5aed9,_0x46ffa6,_0x43bad3)=>{const _0x463dbf=_0x46ffa6['viewItem'];if(!_0x463dbf['hasClass']('footnote-definition')||!_0x463dbf['getAttribute']('id'))return;const _0x2ed8e5=_0x463dbf['parent'];if(!_0x2ed8e5['is']('element','ol')||!_0x2ed8e5['hasClass']('footnotes-list'))return;if(!_0x43bad3['consumable']['test'](_0x463dbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x1f3cea=_0x43bad3['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x463dbf['getAttribute']('id')});if(!_0x43bad3['safeInsert'](_0x1f3cea,_0x46ffa6['modelCursor']))return;_0x43bad3['consumable']['consume'](_0x463dbf,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x181513=Array['from'](_0x463dbf['getChildren']())['find'](_0x390636=>_0x390636['is']('element')&&_0x390636['hasClass']('footnote-content'));for(const _0xe78889 of _0x463dbf['getChildren']())_0xe78889['is']('element')&&(_0x43bad3['consumable']['consume'](_0xe78889,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x43bad3['consumable']['consume'](_0xe78889,{'name':!0x0,'classes':'footnote-content'}));if(_0x181513){if(_0x414ead)_0x43bad3['convertChildren'](_0x181513,_0x1f3cea);else{const _0x5e5ebf=_0x43bad3['writer']['createElement']('footnoteInlineContent');_0x43bad3['writer']['insert'](_0x5e5ebf,_0x1f3cea),_0x43bad3['convertChildren'](_0x181513,_0x5e5ebf);}}_0x43bad3['updateConversionResult'](_0x1f3cea,_0x46ffa6);});}),_0x3d6f39['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x3959a6,{writer:_0x1249a1})=>b(_0x3959a6,_0x1249a1,_0x1b430c,{'dataPipeline':!0x0})}),_0x3d6f39['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x12c295,{writer:_0x506cb7})=>b(_0x12c295,_0x506cb7,_0x1b430c)});}['_defineBogusParagraphConverters'](){const {editor:_0x462a35}=this,{conversion:_0x235719}=_0x462a35;_0x462a35['config']['get']('footnotes.multiBlock')?(_0x235719['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x235719['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x462a35['model']['document'],'change:data',()=>{!function(_0x53a993,_0x4d4c22){const _0x295119=_0x53a993['document']['differ'],_0x414221=new Set();for(const _0x524a98 of _0x295119['getChanges']()){const _0x38fa93='attribute'==_0x524a98['type']?_0x524a98['range']['start']['parent']:_0x524a98['position']['parent'];_0x38fa93['is']('element','footnoteDefinition')&&_0x414221['add'](_0x38fa93);}for(const _0x17135a of _0x414221['values']()){const _0x24dd0f=Array['from'](_0x17135a['getChildren']())['filter'](_0x265571=>g(_0x265571,_0x4d4c22['mapper']));for(const _0x99a7c8 of _0x24dd0f)_0x4d4c22['reconvertItem'](_0x99a7c8);}}(_0x462a35['model'],_0x462a35['editing']);})):(_0x235719['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x235719['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4f82d5,{writer:_0x54c69b})=>{const _0x2b2128=_0x54c69b['createContainerElement']('span');return _0x54c69b['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x2b2128),_0x2b2128;}}));}['_defineKeyboardHandlers'](){const {editor:_0x1ca6b3}=this,{editing:_0x3598e6,t:t}=_0x1ca6b3,_0x19bcc4=_0x1ca6b3['model']['document']['selection'];_0x1ca6b3['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x1ca6b3['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3598e6['view']['document'],'enter',(_0x18f04b,_0x36ee19)=>{const _0x515fe5=function(_0x383ec4){const _0x47fe7d=_0x383ec4['getSelectedElement']();if(_0x47fe7d?.['is']('element','footnoteRef'))return _0x47fe7d;return null;}(_0x19bcc4);if(_0x515fe5){const _0x396a2c=_0x515fe5['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x396a2c),_0x36ee19['preventDefault'](),_0x18f04b['stop']();}},{'context':_0x1e492a});}['_defineClickHandlers'](){const {editor:_0x2668f1}=this,{editing:_0x43e8ee}=_0x2668f1;_0x2668f1['editing']['view']['addObserver'](_0x551087),_0x2668f1['editing']['view']['addObserver'](_0x232a39);let _0x5e2d0f=!0x1;this['listenTo'](_0x43e8ee['view']['document'],'pointerdown',(_0x1c3343,_0x49867c)=>{const {target:_0x1ce55a}=_0x49867c,_0x62d72a=_0x43e8ee['view']['document']['selection'];_0x5e2d0f=!!(_0x1ce55a?.['is']('element','a')&&_0x1ce55a['parent']?.['is']('element','sup')&&_0x1ce55a['parent']['hasClass']('footnote'))&&_0x62d72a['getSelectedElement']()===_0x1ce55a['parent'];},{'priority':'high'}),this['listenTo'](_0x43e8ee['view']['document'],'click',(_0x6f7506,_0x1deeee)=>{const {target:_0x29e8fa}=_0x1deeee;if(!_0x29e8fa?.['is']('element','a'))return;if(_0x29e8fa['parent']?.['is']('element','sup')&&_0x29e8fa['parent']['hasClass']('footnote')&&!_0x5e2d0f)return void _0x1deeee['preventDefault']();let _0x1341fb=_0x29e8fa['getAttribute']('href');if(!_0x1341fb?.['startsWith']('#'))return;_0x1341fb=_0x1341fb['slice'](0x1);let _0x5424ab=!0x1;(_0x1341fb['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x1341fb['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x1341fb))&&(_0x5424ab=!0x0),_0x5424ab&&(_0x1deeee['preventDefault'](),_0x6f7506['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x513f74}={}){return(_0x766f6f,{writer:_0x5bf9d8})=>{if(!p(_0x766f6f))return null;if(!_0x513f74)return _0x5bf9d8['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x5df64b=_0x5bf9d8['createContainerElement']('p');return _0x5bf9d8['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x5df64b),_0x5df64b;};}function p(_0x4391db){const {parent:_0x2fec95}=_0x4391db;if(!_0x2fec95?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x2fec95['childCount'])return!0x1;for(const _0xa1521b of _0x4391db['getAttributeKeys']())if(!_0xa1521b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0xa1521b)return!0x1;return!0x0;}function g(_0x264dc4,_0x255966){if(!_0x264dc4['is']('element','paragraph'))return!0x1;const _0x507f80=_0x255966['toViewElement'](_0x264dc4);return!!_0x507f80&&p(_0x264dc4)!==_0x507f80['is']('element','span');}export function isFootnotesDefinitionsWidget(_0xdca5fc){return _0x1e492a(_0xdca5fc)&&_0xdca5fc['is']('containerElement')&&!!_0xdca5fc['getCustomProperty']('footnotesDefinitions');}function v(_0x4e6852,_0x286ee6={}){const _0x2f720a=_0x4e6852['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x46cc15=_0x4e6852['createContainerElement']('ol',{'class':'footnotes-list'},_0x4e6852['createSlot']());return _0x4e6852['createContainerElement']('div',{'class':'footnotes',..._0x286ee6},[_0x2f720a,_0x46cc15]);}function D(_0xcf3d4b,_0x16f758){const _0x51b7db=_0xcf3d4b['getAttribute']('footnoteId'),_0x5159f1=_0xcf3d4b['getAttribute']('footnoteCounter'),_0x214f72=_0x16f758['createUIElement']('a',{'href':'#'+_0x51b7db},function(_0x24b88c){const _0x58ea7a=this['toDomElement'](_0x24b88c);return _0x58ea7a['textContent']=_0x5159f1,_0x58ea7a;}),_0x308402=_0x16f758['createContainerElement']('sup',{'id':'ref-'+_0x51b7db,'class':'footnote'},[_0x214f72]);return _0x308402['getFillerOffset']=()=>null,_0x308402;}function b(_0x48789d,_0x387dee,_0x680fee,{dataPipeline:_0x51cc48}={}){const {t:t}=_0x680fee,_0x47dc8e=_0x48789d['getAttribute']('footnoteId'),_0x5689d1=_0x387dee['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x47dc8e},function(_0x2bdada){const _0x5ae7af=this['toDomElement'](_0x2bdada);return _0x5ae7af['innerText']='^',_0x5ae7af;}),_0x4440d3=_0x51cc48?_0x387dee['createContainerElement']('div',{'class':'footnote-content'}):_0x440508(_0x387dee['createEditableElement']('div',{'class':'footnote-content'}),_0x387dee,{'label':t('Footnote\x20content.')});return _0x387dee['insert'](_0x387dee['createPositionAt'](_0x4440d3,0x0),_0x387dee['createSlot']()),_0x387dee['createContainerElement']('li',{'class':'footnote-definition','id':_0x47dc8e},[_0x5689d1,_0x4440d3]);}
23
+ import{Plugin as _0x10bf23}from'ckeditor5/src/core.js';import{isWidget as _0x183c3a,toWidget as _0x56657e,toWidgetEditable as _0x183b92}from'ckeditor5/src/widget.js';import{uid as _0x584f9f}from'ckeditor5/src/utils.js';import{PointerObserver as _0x50e6da,ClickObserver as _0x574753}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x170bc3}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x2ef1e7}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x10bf23{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x170bc3];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xaa31c9}=this;_0xaa31c9['config']['define']('footnotes.multiBlock',!0x0),_0xaa31c9['commands']['add']('insertFootnote',new _0x2ef1e7(_0xaa31c9)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x53135b){const _0x5ec110=_0x205d71([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]),_0x395107=0x47a28506,_0x31ecf5=0x47a5fcbe^_0x395107,_0x593025=window[_0x205d71([0x44,0x61,0x74,0x65])][_0x205d71([0x6e,0x6f,0x77])](),_0x1d4196=_0x53135b[_0x205d71([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x4b0761=new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0xc4ee66=>{_0x1d4196[_0x205d71([0x6f,0x6e,0x63,0x65])](_0x205d71([0x72,0x65,0x61,0x64,0x79]),_0xc4ee66);}),_0x44f35f={[_0x205d71([0x6b,0x74,0x79])]:_0x205d71([0x45,0x43]),[_0x205d71([0x75,0x73,0x65])]:_0x205d71([0x73,0x69,0x67]),[_0x205d71([0x63,0x72,0x76])]:_0x205d71([0x50,0x2d,0x32,0x35,0x36]),[_0x205d71([0x78])]:_0x205d71([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]),[_0x205d71([0x79])]:_0x205d71([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]),[_0x205d71([0x61,0x6c,0x67])]:_0x205d71([0x45,0x53,0x32,0x35,0x36])},_0xcafdae=_0x1d4196[_0x205d71([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x205d71([0x67,0x65,0x74])](_0x205d71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x465fac(){let _0x2e238f,_0x44eb2d=null,_0x556e8b=null;try{if(_0xcafdae==_0x205d71([0x47,0x50,0x4c]))return _0x205d71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2e238f=_0x39854b(),!_0x2e238f)return _0x205d71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2e238f[_0x205d71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x556e8b=_0x3e71ed(_0x2e238f[_0x205d71([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2e238f[_0x205d71([0x6a,0x74,0x69])])),await _0x10efdc()?_0x5834af()?_0x1e5efc()?_0x205d71([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2cebda()?(_0x2e238f[_0x205d71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205d71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x44eb2d=_0x3853bf(_0x205d71([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),_0x2e238f[_0x205d71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x205d71([0x74,0x72,0x69,0x61,0x6c])&&(_0x44eb2d=_0x3853bf(_0x205d71([0x54,0x72,0x69,0x61,0x6c,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5147c4()):_0x205d71([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x205d71([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x205d71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x205d71([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x1e5efc(){const _0x5a85ee=[_0x205d71([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x205d71([0x74,0x72,0x69,0x61,0x6c])][_0x205d71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2e238f[_0x205d71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x593025/0x3e8:0xe10*_0x31ecf5;return _0x2e238f[_0x205d71([0x65,0x78,0x70])]<_0x5a85ee;}function _0x5834af(){const _0xf90eb7=_0x2e238f[_0x205d71([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0xf90eb7&&(!!_0xf90eb7[_0x205d71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205d71([0x2a]))||!!_0xf90eb7[_0x205d71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205d71([0x46,0x4f,0x4f])));}function _0x2cebda(){const _0x459902=_0x2e238f[_0x205d71([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x459902||0x0==_0x459902[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x52cec9}=new URL(window[_0x205d71([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x459902[_0x205d71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x52cec9))return!0x0;const _0x3d4064=_0x52cec9[_0x205d71([0x73,0x70,0x6c,0x69,0x74])](_0x205d71([0x2e]));return _0x459902[_0x205d71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x1218e8=>_0x1218e8[_0x205d71([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x205d71([0x2a])))[_0x205d71([0x6d,0x61,0x70])](_0x10b2d0=>_0x10b2d0[_0x205d71([0x73,0x70,0x6c,0x69,0x74])](_0x205d71([0x2e])))[_0x205d71([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x3d42a2=>_0x3d42a2[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3d4064[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205d71([0x6d,0x61,0x70])](_0x4b1f3d=>Array(_0x3d4064[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x4b1f3d[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x205d71([0x66,0x69,0x6c,0x6c])](_0x4b1f3d[0x0]===_0x205d71([0x2a])?_0x205d71([0x2a]):'')[_0x205d71([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x4b1f3d))[_0x205d71([0x73,0x6f,0x6d,0x65])](_0x4d9659=>_0x3d4064[_0x205d71([0x65,0x76,0x65,0x72,0x79])]((_0x4ba43c,_0x3631e4)=>_0x4d9659[_0x3631e4]===_0x4ba43c||_0x4d9659[_0x3631e4]===_0x205d71([0x2a])));}function _0x5147c4(){return _0x44eb2d&&_0x556e8b?new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3e1838,_0x275f29)=>{_0x44eb2d[_0x205d71([0x74,0x68,0x65,0x6e])](_0x3e1838,_0x275f29),_0x556e8b[_0x205d71([0x74,0x68,0x65,0x6e])](_0x227f96=>{_0x227f96!=_0x205d71([0x56,0x61,0x6c,0x69,0x64])&&_0x3e1838(_0x227f96);},_0x275f29);}):_0x44eb2d||_0x556e8b||_0x205d71([0x56,0x61,0x6c,0x69,0x64]);}}function _0x3e71ed(_0x586535,_0x42ffa0){return new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x41ad19=>{if(_0x59fed1())return _0x41ad19(_0x205d71([0x56,0x61,0x6c,0x69,0x64]));_0x314dc4(),_0x1d4196[_0x205d71([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x205d71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x4741d8=!0x1;const _0x2763ca=_0x584f9f();function _0x306fb9(_0x5d6ebb){return!!_0x5d6ebb&&(typeof _0x5d6ebb===_0x205d71([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5d6ebb===_0x205d71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5d6ebb[_0x205d71([0x74,0x68,0x65,0x6e])]===_0x205d71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5d6ebb[_0x205d71([0x63,0x61,0x74,0x63,0x68])]===_0x205d71([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x55399b(_0x48fb6a){_0x581c24(_0x48fb6a)[_0x205d71([0x74,0x68,0x65,0x6e])](_0x276cae=>{if(!_0x276cae||_0x276cae[_0x205d71([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x205d71([0x6f,0x6b]))return _0x205d71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x470b15(_0x22050a(_0x2763ca+_0x42ffa0))!=_0x276cae[_0x205d71([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x205d71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x205d71([0x56,0x61,0x6c,0x69,0x64]);})[_0x205d71([0x74,0x68,0x65,0x6e])](_0x506bcc=>(_0x2a895a(),_0x506bcc),()=>{const _0x151d81=_0x2d33a8();return null==_0x151d81?(_0x2a895a(),_0x205d71([0x56,0x61,0x6c,0x69,0x64])):_0x205d71(_0x593025-_0x151d81>(0x63ae0106^_0x395107)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x205d71([0x74,0x68,0x65,0x6e])](_0x41ad19)[_0x205d71([0x63,0x61,0x74,0x63,0x68])](()=>{_0x41ad19(_0x205d71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x3f7a38=0x47946b86^_0x395107;function _0x2a895a(){const _0x4e2fe9=_0x205d71([0x6c,0x6c,0x63,0x74,0x2d])+_0x470b15(_0x22050a(_0x586535)),_0x15da39=_0x2c1a01(_0x470b15(window[_0x205d71([0x4d,0x61,0x74,0x68])][_0x205d71([0x63,0x65,0x69,0x6c])](_0x593025/_0x3f7a38)));window[_0x205d71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205d71([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4e2fe9,_0x15da39);}function _0x2d33a8(){const _0x54345f=_0x205d71([0x6c,0x6c,0x63,0x74,0x2d])+_0x470b15(_0x22050a(_0x586535)),_0x390024=window[_0x205d71([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x205d71([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x54345f);return _0x390024?window[_0x205d71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2c1a01(_0x390024),0x10)*_0x3f7a38:null;}function _0x581c24(_0x12a3cc){return new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x3443f6,_0x2c96a5)=>{_0x12a3cc[_0x205d71([0x74,0x68,0x65,0x6e])](_0x3443f6,_0x2c96a5),window[_0x205d71([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x2c96a5,0x47a351c6^_0x395107);});}}_0x1d4196[_0x205d71([0x6f,0x6e])](_0x205d71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x88c3be,_0x2e73d0)=>{if(_0x2e73d0[0x0]!=_0x586535)return _0x41ad19(_0x205d71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x2e73d0[0x1]={..._0x2e73d0[0x1],[_0x205d71([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x2763ca};},{[_0x205d71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205d71([0x68,0x69,0x67,0x68])}),_0x1d4196[_0x205d71([0x6f,0x6e])](_0x205d71([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x566ff5=>{_0x306fb9(_0x566ff5[_0x205d71([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x4741d8=!0x0,_0x55399b(_0x566ff5[_0x205d71([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x205d71([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x205d71([0x6c,0x6f,0x77])}),_0x4b0761[_0x205d71([0x74,0x68,0x65,0x6e])](()=>{_0x4741d8||_0x41ad19(_0x205d71([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x59fed1(){return _0x1d4196[_0x205d71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205d71([0x76,0x69,0x65,0x77])][_0x205d71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x205d71([0x61,0x75,0x74,0x6f]);}function _0x314dc4(){_0x1d4196[_0x205d71([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x205d71([0x76,0x69,0x65,0x77])][_0x205d71([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x205d71([0x61,0x75,0x74,0x6f]);}}function _0x3853bf(_0x1c3e17){const _0x3d942d=[new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x6f659b=>setTimeout(_0x6f659b,0x47abbbca^_0x395107)),_0x4b0761[_0x205d71([0x74,0x68,0x65,0x6e])](()=>new window[(_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x246f14=>{let _0xdd2dfd=0x0;_0x1d4196[_0x205d71([0x6d,0x6f,0x64,0x65,0x6c])][_0x205d71([0x6f,0x6e])](_0x205d71([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x120aca,_0x5688c9)=>{_0x5688c9[0x0][_0x205d71([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0xdd2dfd++,_0xdd2dfd==(0x47a284fe^_0x395107)&&(_0x246f14(),_0x120aca[_0x205d71([0x6f,0x66,0x66])]());});}))];return window[_0x205d71([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x205d71([0x72,0x61,0x63,0x65])](_0x3d942d)[_0x205d71([0x74,0x68,0x65,0x6e])](()=>_0x1c3e17);}async function _0x248e1e(){await _0x4b0761,_0x1d4196[_0x205d71([0x6d,0x6f,0x64,0x65,0x6c])][_0x205d71([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x326269,_0x1d4196[_0x205d71([0x6d,0x6f,0x64,0x65,0x6c])][_0x205d71([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x326269,_0x1d4196[_0x205d71([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x205d71([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x45748f(_0x1f856d){const _0x1f51a7=_0x4bda1f();_0x1d4196[_0x1f51a7]=_0x205d71([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1f856d,_0x1f856d!=_0x205d71([0x56,0x61,0x6c,0x69,0x64])&&_0x248e1e();}function _0x4bda1f(){const _0x2e3487=window[_0x205d71([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x205d71([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x205d71([0x6e,0x6f,0x77])]())[_0x205d71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x205d71([0x2e]),'');let _0x1c12b0=_0x205d71([0x75]);for(let _0x38d3f8=0x0;_0x38d3f8<_0x2e3487[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x38d3f8+=0x2){let _0x45ab6f=window[_0x205d71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x2e3487[_0x205d71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x38d3f8,_0x38d3f8+0x2));_0x45ab6f>=_0x5ec110[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x45ab6f-=_0x5ec110[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x1c12b0+=_0x5ec110[_0x45ab6f];}return _0x1c12b0;}function _0x39854b(){const _0x404455=_0xcafdae[_0x205d71([0x73,0x70,0x6c,0x69,0x74])](_0x205d71([0x2e]));if(0x3!=_0x404455[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x11dbd6(_0x404455[0x1]);function _0x11dbd6(_0x4c8aa0){const _0x44287b=_0x1804d3(_0x4c8aa0);return _0x44287b&&_0x3a1ad1()?_0x44287b:null;function _0x3a1ad1(){const _0x1025e8=_0x44287b[_0x205d71([0x6a,0x74,0x69])],_0x5d1b38=window[_0x205d71([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1025e8[_0x205d71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x1025e8[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x55b71c={..._0x44287b,[_0x205d71([0x6a,0x74,0x69])]:_0x1025e8[_0x205d71([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x1025e8[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x55b71c[_0x205d71([0x76,0x63])],_0x22050a(_0x55b71c)==_0x5d1b38;}}}async function _0x10efdc(){let _0x2e25c0=!0x0;try{const _0x326396=_0xcafdae[_0x205d71([0x73,0x70,0x6c,0x69,0x74])](_0x205d71([0x2e])),[_0x54cb01,_0x344314,_0x5d9647]=_0x326396;return _0x318f02(_0x54cb01),await _0x118024(_0x54cb01,_0x344314,_0x5d9647),_0x2e25c0;}catch{return!0x1;}function _0x318f02(_0x2cbe39){const _0x5db3ac=_0x1804d3(_0x2cbe39);_0x5db3ac&&_0x5db3ac[_0x205d71([0x61,0x6c,0x67])]==_0x205d71([0x45,0x53,0x32,0x35,0x36])||(_0x2e25c0=!0x1);}async function _0x118024(_0x40c490,_0x184ba3,_0x16b0c9){const _0x364f46=window[_0x205d71([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x205d71([0x66,0x72,0x6f,0x6d])](_0x72df73(_0x16b0c9),_0x460c9f=>_0x460c9f[_0x205d71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x529310=new window[(_0x205d71([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x205d71([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x40c490+_0x205d71([0x2e])+_0x184ba3),_0x5616e7=window[_0x205d71([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x205d71([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x5616e7)return;const _0x24c4be=await _0x5616e7[_0x205d71([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x205d71([0x6a,0x77,0x6b]),_0x44f35f,{[_0x205d71([0x6e,0x61,0x6d,0x65])]:_0x205d71([0x45,0x43,0x44,0x53,0x41]),[_0x205d71([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x205d71([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x205d71([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x5616e7[_0x205d71([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x205d71([0x6e,0x61,0x6d,0x65])]:_0x205d71([0x45,0x43,0x44,0x53,0x41]),[_0x205d71([0x68,0x61,0x73,0x68])]:{[_0x205d71([0x6e,0x61,0x6d,0x65])]:_0x205d71([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x24c4be,_0x364f46,_0x529310)||(_0x2e25c0=!0x1);}}function _0x1804d3(_0x48b797){return _0x48b797[_0x205d71([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x205d71([0x65,0x79]))?JSON[_0x205d71([0x70,0x61,0x72,0x73,0x65])](_0x72df73(_0x48b797)):null;}function _0x72df73(_0x23313b){return window[_0x205d71([0x61,0x74,0x6f,0x62])](_0x23313b[_0x205d71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x205d71([0x2b]))[_0x205d71([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x205d71([0x2f])));}function _0x22050a(_0x3c9295){let _0x5d9c3c=0x1505;function _0x145a27(_0x12037b){for(let _0x4cc682=0x0;_0x4cc682<_0x12037b[_0x205d71([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x4cc682++){const _0x4b8f76=_0x12037b[_0x205d71([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x4cc682);_0x5d9c3c=(_0x5d9c3c<<0x5)+_0x5d9c3c+_0x4b8f76,_0x5d9c3c&=_0x5d9c3c;}}function _0x464fa1(_0x3c906f){Array[_0x205d71([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x3c906f)?_0x3c906f[_0x205d71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x464fa1):_0x3c906f&&typeof _0x3c906f==_0x205d71([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x205d71([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x3c906f)[_0x205d71([0x73,0x6f,0x72,0x74])]()[_0x205d71([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x428d85,_0x1de60f])=>{_0x145a27(_0x428d85),_0x464fa1(_0x1de60f);}):_0x145a27(window[_0x205d71([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x3c906f));}return _0x464fa1(_0x3c9295),_0x5d9c3c>>>0x0;}function _0x470b15(_0x103022){return _0x103022[_0x205d71([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x205d71([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x205d71([0x30]));}function _0x2c1a01(_0xeb7c4c){return _0xeb7c4c[_0x205d71([0x73,0x70,0x6c,0x69,0x74])]('')[_0x205d71([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x205d71([0x6a,0x6f,0x69,0x6e])]('');}function _0x326269(){}function _0x205d71(_0x1d79b8){return _0x1d79b8['map'](_0x23fef9=>String['fromCharCode'](_0x23fef9))['join']('');}_0x45748f(await _0x465fac());}(this);}['_moveSelectionToFootnoteDefinition'](_0x237429){const {plugins:_0x1e73b3,editing:_0x388876,model:_0x57fd1c}=this['editor'],_0x2df957=_0x1e73b3['get'](_0x170bc3)['getFootnote'](_0x237429);return!!_0x2df957&&(_0x57fd1c['change'](_0x24467a=>{_0x24467a['setSelection'](_0x24467a['createPositionAt'](_0x2df957['definition'],'end'));}),_0x388876['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0xd0f9d6){const {plugins:_0x29cdd0,editing:_0x47dcca,model:_0x38f3a7}=this['editor'],_0x351265=_0x29cdd0['get'](_0x170bc3)['getFootnote'](_0xd0f9d6);return!!_0x351265&&(_0x38f3a7['change'](_0xae2197=>{_0xae2197['setSelection'](_0x351265['reference'],'on');}),_0x47dcca['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x28b40a}=this['editor']['model'],_0x3a8ba0=this['editor']['config']['get']('footnotes.multiBlock');_0x28b40a['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x28b40a['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x28b40a['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x3a8ba0?_0x28b40a['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x28b40a['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x28b40a['addChildCheck'](_0x18c9d0=>{for(const _0x1beaa5 of _0x18c9d0)if('footnoteDefinition'===_0x1beaa5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4ea6fd}=this,{conversion:_0x155b40,editing:_0x2f1787}=_0x4ea6fd,{t:t}=_0x4ea6fd['locale'];_0x155b40['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x57eede,{writer:_0x565792,consumable:_0x4936f1})=>{const _0x205c02=_0x57eede['getChild'](0x0);if(!_0x205c02||!_0x205c02['is']('element','a'))return null;const _0x16bccf=_0x205c02['getAttribute']('href')||'';if(!_0x16bccf['startsWith']('#'))return null;const _0x287f3b=_0x16bccf['replace'](/^#/,'');if(!_0x287f3b)return null;_0x4936f1['consume'](_0x205c02,{'name':!0x0,'attributes':['href']});for(const {item:_0x51e312}of _0x2f1787['view']['createRangeIn'](_0x205c02))_0x51e312['is']('$textProxy')?_0x4936f1['consume'](_0x51e312['textNode'],{'name':!0x0}):_0x51e312['is']('element')&&_0x4936f1['consume'](_0x51e312,{'name':!0x0});return _0x565792['createElement']('footnoteRef',{'footnoteId':_0x287f3b});}}),_0x155b40['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x2d1169,{writer:_0x305bd1})=>D(_0x2d1169,_0x305bd1)}),_0x155b40['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x463e27,{writer:_0x2d00d2})=>{const _0x1d32cf=_0x463e27['getAttribute']('footnoteCounter');return _0x56657e(D(_0x463e27,_0x2d00d2),_0x2d00d2,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1d32cf)});}});}['_defineDefinitionsConverters'](){const {editor:_0x266aee}=this,{t:t}=_0x266aee['locale'],{conversion:_0x3f548e}=_0x266aee;_0x3f548e['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3f548e['for']('upcast')['add'](_0x3a4f6e=>{_0x3a4f6e['on']('element:ol',(_0x1f3762,_0xb81ef8,_0x131b0c)=>{const _0x461516=_0xb81ef8['viewItem'];if(!_0x461516['hasClass']('footnotes-list')||!_0xb81ef8['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x131b0c['consumable']['consume'](_0x461516,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x373799,modelCursor:_0x1f242a}=_0x131b0c['convertChildren'](_0xb81ef8['viewItem'],_0xb81ef8['modelCursor']);_0xb81ef8['modelRange']=_0x373799,_0xb81ef8['modelCursor']=_0x1f242a;}),_0x3a4f6e['on']('element:hr',(_0x4c031d,_0x3f1521,_0x532d9f)=>{const _0x5cb63b=_0x3f1521['viewItem'];_0x5cb63b['hasClass']('footnotes-divider')&&_0x3f1521['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x532d9f['consumable']['consume'](_0x5cb63b,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3f548e['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0xf2bfd3,{writer:_0x14ee0d})=>v(_0x14ee0d)}),_0x3f548e['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x2067bc,{writer:_0x198313})=>{const _0x451188=v(_0x198313,{'data-footnotes-list-label':t('Footnotes')}),_0x56da2f=_0x56657e(_0x451188,_0x198313,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x198313['setCustomProperty']('footnotesDefinitions',!0x0,_0x56da2f),_0x56da2f;}});}['_defineDefinitionConverters'](){const {editor:_0x146876}=this,{conversion:_0x50961f,locale:_0x4e1d90}=_0x146876,_0x208081=_0x146876['config']['get']('footnotes.multiBlock');_0x50961f['for']('upcast')['add'](_0x293c82=>{_0x293c82['on']('element:li',(_0x3f0334,_0x3135bb,_0x107485)=>{const _0x404374=_0x3135bb['viewItem'];if(!_0x404374['hasClass']('footnote-definition')||!_0x404374['getAttribute']('id'))return;const _0x26608a=_0x404374['parent'];if(!_0x26608a['is']('element','ol')||!_0x26608a['hasClass']('footnotes-list'))return;if(!_0x107485['consumable']['test'](_0x404374,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x53b348=_0x107485['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x404374['getAttribute']('id')});if(!_0x107485['safeInsert'](_0x53b348,_0x3135bb['modelCursor']))return;_0x107485['consumable']['consume'](_0x404374,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x39d18c=Array['from'](_0x404374['getChildren']())['find'](_0x27c1c8=>_0x27c1c8['is']('element')&&_0x27c1c8['hasClass']('footnote-content'));for(const _0x447bce of _0x404374['getChildren']())_0x447bce['is']('element')&&(_0x107485['consumable']['consume'](_0x447bce,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x107485['consumable']['consume'](_0x447bce,{'name':!0x0,'classes':'footnote-content'}));if(_0x39d18c){if(_0x208081)_0x107485['convertChildren'](_0x39d18c,_0x53b348);else{const _0x55526a=_0x107485['writer']['createElement']('footnoteInlineContent');_0x107485['writer']['insert'](_0x55526a,_0x53b348),_0x107485['convertChildren'](_0x39d18c,_0x55526a);}}_0x107485['updateConversionResult'](_0x53b348,_0x3135bb);});}),_0x50961f['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0xd3a3fc,{writer:_0x3b576d})=>b(_0xd3a3fc,_0x3b576d,_0x4e1d90,{'dataPipeline':!0x0})}),_0x50961f['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x495199,{writer:_0x4d6caf})=>b(_0x495199,_0x4d6caf,_0x4e1d90)});}['_defineBogusParagraphConverters'](){const {editor:_0x24e824}=this,{conversion:_0x45e64e}=_0x24e824;_0x24e824['config']['get']('footnotes.multiBlock')?(_0x45e64e['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':h(),'converterPriority':'high'}),_0x45e64e['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':h({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x24e824['model']['document'],'change:data',()=>{!function(_0x2e436a,_0x3e278f){const _0x578148=_0x2e436a['document']['differ'],_0x4238ba=new Set();for(const _0xdc4155 of _0x578148['getChanges']()){const _0x27d22c='attribute'==_0xdc4155['type']?_0xdc4155['range']['start']['parent']:_0xdc4155['position']['parent'];_0x27d22c['is']('element','footnoteDefinition')&&_0x4238ba['add'](_0x27d22c);}for(const _0x3adaaf of _0x4238ba['values']()){const _0x5dfda7=Array['from'](_0x3adaaf['getChildren']())['filter'](_0x2499e4=>g(_0x2499e4,_0x3e278f['mapper']));for(const _0x2b2bc8 of _0x5dfda7)_0x3e278f['reconvertItem'](_0x2b2bc8);}}(_0x24e824['model'],_0x24e824['editing']);})):(_0x45e64e['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':h()}),_0x45e64e['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4933c0,{writer:_0x237a93})=>{const _0x387264=_0x237a93['createContainerElement']('span');return _0x237a93['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x387264),_0x387264;}}));}['_defineKeyboardHandlers'](){const {editor:_0x53deb9}=this,{editing:_0xbbf98b,t:t}=_0x53deb9,_0x216995=_0x53deb9['model']['document']['selection'];_0x53deb9['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x53deb9['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0xbbf98b['view']['document'],'enter',(_0xcbb7dc,_0x269962)=>{const _0x578261=function(_0x33677b){const _0x1f05c0=_0x33677b['getSelectedElement']();if(_0x1f05c0?.['is']('element','footnoteRef'))return _0x1f05c0;return null;}(_0x216995);if(_0x578261){const _0x5bcca9=_0x578261['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x5bcca9),_0x269962['preventDefault'](),_0xcbb7dc['stop']();}},{'context':_0x183c3a});}['_defineClickHandlers'](){const {editor:_0x3447ab}=this,{editing:_0x2fab0a}=_0x3447ab;_0x3447ab['editing']['view']['addObserver'](_0x50e6da),_0x3447ab['editing']['view']['addObserver'](_0x574753);let _0x340f5a=!0x1;this['listenTo'](_0x2fab0a['view']['document'],'pointerdown',(_0x356ac9,_0x46fe5f)=>{const {target:_0x243571}=_0x46fe5f,_0x43e877=_0x2fab0a['view']['document']['selection'];_0x340f5a=!!(_0x243571?.['is']('element','a')&&_0x243571['parent']?.['is']('element','sup')&&_0x243571['parent']['hasClass']('footnote'))&&_0x43e877['getSelectedElement']()===_0x243571['parent'];},{'priority':'high'}),this['listenTo'](_0x2fab0a['view']['document'],'click',(_0x46e14d,_0x16fe9f)=>{const {target:_0x4e7ba2}=_0x16fe9f;if(!_0x4e7ba2?.['is']('element','a'))return;if(_0x4e7ba2['parent']?.['is']('element','sup')&&_0x4e7ba2['parent']['hasClass']('footnote')&&!_0x340f5a)return void _0x16fe9f['preventDefault']();let _0xa0fdcf=_0x4e7ba2['getAttribute']('href');if(!_0xa0fdcf?.['startsWith']('#'))return;_0xa0fdcf=_0xa0fdcf['slice'](0x1);let _0x2ff5a0=!0x1;(_0xa0fdcf['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0xa0fdcf['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0xa0fdcf))&&(_0x2ff5a0=!0x0),_0x2ff5a0&&(_0x16fe9f['preventDefault'](),_0x46e14d['stop']());},{'priority':'high','context':'$capture'});}}function h({dataPipeline:_0x2c8cd1}={}){return(_0x17bb64,{writer:_0x203c9d})=>{if(!p(_0x17bb64))return null;if(!_0x2c8cd1)return _0x203c9d['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0xefb1ec=_0x203c9d['createContainerElement']('p');return _0x203c9d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0xefb1ec),_0xefb1ec;};}function p(_0x2baf5d){const {parent:_0x77c9eb}=_0x2baf5d;if(!_0x77c9eb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x77c9eb['childCount'])return!0x1;for(const _0x253ae6 of _0x2baf5d['getAttributeKeys']())if(!_0x253ae6['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x253ae6)return!0x1;return!0x0;}function g(_0x16203a,_0x1f6465){if(!_0x16203a['is']('element','paragraph'))return!0x1;const _0x134e05=_0x1f6465['toViewElement'](_0x16203a);return!!_0x134e05&&p(_0x16203a)!==_0x134e05['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x84063){return _0x183c3a(_0x84063)&&_0x84063['is']('containerElement')&&!!_0x84063['getCustomProperty']('footnotesDefinitions');}function v(_0x488fd6,_0x583754={}){const _0x213934=_0x488fd6['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0xbd35aa=_0x488fd6['createContainerElement']('ol',{'class':'footnotes-list'},_0x488fd6['createSlot']());return _0x488fd6['createContainerElement']('div',{'class':'footnotes',..._0x583754},[_0x213934,_0xbd35aa]);}function D(_0x118ed5,_0x415685){const _0x481922=_0x118ed5['getAttribute']('footnoteId'),_0x497201=_0x118ed5['getAttribute']('footnoteCounter'),_0x1359f7=_0x415685['createUIElement']('a',{'href':'#'+_0x481922},function(_0x248950){const _0x1970ed=this['toDomElement'](_0x248950);return _0x1970ed['textContent']=_0x497201,_0x1970ed;}),_0x40435f=_0x415685['createContainerElement']('sup',{'id':'ref-'+_0x481922,'class':'footnote'},[_0x1359f7]);return _0x40435f['getFillerOffset']=()=>null,_0x40435f;}function b(_0x5c21f5,_0x44fe1f,_0x23d5db,{dataPipeline:_0x572076}={}){const {t:t}=_0x23d5db,_0x35fa73=_0x5c21f5['getAttribute']('footnoteId'),_0x3fb7cf=_0x44fe1f['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x35fa73},function(_0x86f7f5){const _0x47c677=this['toDomElement'](_0x86f7f5);return _0x47c677['innerText']='^',_0x47c677;}),_0x3d8a17=_0x572076?_0x44fe1f['createContainerElement']('div',{'class':'footnote-content'}):_0x183b92(_0x44fe1f['createEditableElement']('div',{'class':'footnote-content'}),_0x44fe1f,{'label':t('Footnote\x20content.')});return _0x44fe1f['insert'](_0x44fe1f['createPositionAt'](_0x3d8a17,0x0),_0x44fe1f['createSlot']()),_0x44fe1f['createContainerElement']('li',{'class':'footnote-definition','id':_0x35fa73},[_0x3fb7cf,_0x3d8a17]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x332204=_0x5d66;(function(_0x366313,_0x59eda9){const _0x165d05=_0x5d66,_0x39d39e=_0x366313();while(!![]){try{const _0x5f52a8=parseInt(_0x165d05(0x19b))/0x1+parseInt(_0x165d05(0x18a))/0x2*(parseInt(_0x165d05(0x18c))/0x3)+parseInt(_0x165d05(0x18b))/0x4*(parseInt(_0x165d05(0x195))/0x5)+parseInt(_0x165d05(0x197))/0x6*(-parseInt(_0x165d05(0x18f))/0x7)+parseInt(_0x165d05(0x19e))/0x8*(-parseInt(_0x165d05(0x19d))/0x9)+parseInt(_0x165d05(0x194))/0xa+-parseInt(_0x165d05(0x19f))/0xb*(parseInt(_0x165d05(0x196))/0xc);if(_0x5f52a8===_0x59eda9)break;else _0x39d39e['push'](_0x39d39e['shift']());}catch(_0x49af51){_0x39d39e['push'](_0x39d39e['shift']());}}}(_0x54a9,0x2a661));function _0x5d66(_0x54d742,_0x37013d){const _0x54a913=_0x54a9();return _0x5d66=function(_0x5d66a2,_0x54d7d9){_0x5d66a2=_0x5d66a2-0x187;let _0x35e36a=_0x54a913[_0x5d66a2];return _0x35e36a;},_0x5d66(_0x54d742,_0x37013d);}import{Command as _0x17cbfd}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x5767a7}from'../../footnotestracker.js';function _0x54a9(){const _0x4b2677=['get','setAttribute','getFootnotesDefinitionsObjectElement','132410vJRTCI','1581140ltDBqY','180hUXqXd','34530qSZKqz','getAttribute','change','isInteger','207388UwcDHE','_updateFootnotesCounters','1233bVGLIZ','632ZOCbsc','319693czkIlJ','isEnabled','model','plugins','value','14RMoKtB','4ERontL','62949SgDinW','footnotesListStart','execute','77TlMagA','refresh'];_0x54a9=function(){return _0x4b2677;};return _0x54a9();}export class FootnotesStartCommand extends _0x17cbfd{[_0x332204(0x190)](){const _0x5f0909=_0x332204,{editor:_0x3d8196}=this,_0x4e1a96=_0x3d8196[_0x5f0909(0x188)][_0x5f0909(0x191)](_0x5767a7)[_0x5f0909(0x193)]();this[_0x5f0909(0x1a0)]=!!_0x4e1a96,this[_0x5f0909(0x189)]=_0x4e1a96?.[_0x5f0909(0x198)](_0x5f0909(0x18d))??null;}[_0x332204(0x18e)]({value:_0x18aa3a}){const _0x46f793=_0x332204,{editor:_0x45bd47}=this,_0x529e16=_0x45bd47[_0x46f793(0x188)][_0x46f793(0x191)](_0x5767a7),_0x2923b2=_0x529e16[_0x46f793(0x193)]();_0x2923b2&&Number[_0x46f793(0x19a)](_0x18aa3a)&&_0x45bd47[_0x46f793(0x187)][_0x46f793(0x199)](_0x1f7dc7=>{const _0x3af5c6=_0x46f793;_0x1f7dc7[_0x3af5c6(0x192)](_0x3af5c6(0x18d),_0x18aa3a,_0x2923b2),_0x529e16[_0x3af5c6(0x19c)](_0x1f7dc7);});}}
23
+ const _0xa62645=_0x4146;(function(_0xa8f547,_0x112474){const _0x3d321e=_0x4146,_0xcead02=_0xa8f547();while(!![]){try{const _0x326d70=parseInt(_0x3d321e(0x10b))/0x1*(-parseInt(_0x3d321e(0x115))/0x2)+-parseInt(_0x3d321e(0x118))/0x3+parseInt(_0x3d321e(0x111))/0x4+parseInt(_0x3d321e(0x112))/0x5*(parseInt(_0x3d321e(0x116))/0x6)+parseInt(_0x3d321e(0x109))/0x7*(parseInt(_0x3d321e(0x10c))/0x8)+-parseInt(_0x3d321e(0x11a))/0x9*(parseInt(_0x3d321e(0x106))/0xa)+parseInt(_0x3d321e(0x114))/0xb;if(_0x326d70===_0x112474)break;else _0xcead02['push'](_0xcead02['shift']());}catch(_0x4ab798){_0xcead02['push'](_0xcead02['shift']());}}}(_0x18c0,0xc4212));import{Command as _0xc0667c}from'ckeditor5/src/core.js';function _0x4146(_0x5261ce,_0x51fd79){const _0x18c049=_0x18c0();return _0x4146=function(_0x41461b,_0x49d79c){_0x41461b=_0x41461b-0x106;let _0x19dee6=_0x18c049[_0x41461b];return _0x19dee6;},_0x4146(_0x5261ce,_0x51fd79);}import{FootnotesTracker as _0x371520}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0xc0667c{[_0xa62645(0x10a)](){const _0xb2126b=_0xa62645,{editor:_0x288eda}=this,_0xf886a8=_0x288eda[_0xb2126b(0x113)][_0xb2126b(0x117)](_0x371520)[_0xb2126b(0x10f)]();this[_0xb2126b(0x110)]=!!_0xf886a8,this[_0xb2126b(0x11e)]=_0xf886a8?.[_0xb2126b(0x107)](_0xb2126b(0x11d))??null;}[_0xa62645(0x11b)]({value:_0x434e32}){const _0xaa963f=_0xa62645,{editor:_0x187a19}=this,_0x10acc1=_0x187a19[_0xaa963f(0x113)][_0xaa963f(0x117)](_0x371520),_0x1ff955=_0x10acc1[_0xaa963f(0x10f)]();_0x1ff955&&Number[_0xaa963f(0x10d)](_0x434e32)&&_0x187a19[_0xaa963f(0x119)][_0xaa963f(0x10e)](_0xb27f45=>{const _0x3d193e=_0xaa963f;_0xb27f45[_0x3d193e(0x11c)](_0x3d193e(0x11d),_0x434e32,_0x1ff955),_0x10acc1[_0x3d193e(0x108)](_0xb27f45);});}}function _0x18c0(){const _0xeea77e=['1405dIhzFL','plugins','8356128WLTKIT','194kXFLNk','32196SaTFfw','get','1556442Rjigcm','model','1179WdtugJ','execute','setAttribute','footnotesListStart','value','73760AQUnXD','getAttribute','_updateFootnotesCounters','3389603FMVuJG','refresh','7127DufNnN','8xhIIcW','isInteger','change','getFootnotesDefinitionsObjectElement','isEnabled','912048PMHnrM'];_0x18c0=function(){return _0xeea77e;};return _0x18c0();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x4a842b=_0x1499;(function(_0x2e4719,_0x507f80){const _0x31dd7b=_0x1499,_0x15251e=_0x2e4719();while(!![]){try{const _0x22c112=-parseInt(_0x31dd7b(0xe6))/0x1+parseInt(_0x31dd7b(0xfb))/0x2+parseInt(_0x31dd7b(0xed))/0x3+-parseInt(_0x31dd7b(0xf8))/0x4+parseInt(_0x31dd7b(0xf1))/0x5+parseInt(_0x31dd7b(0xf9))/0x6*(parseInt(_0x31dd7b(0xeb))/0x7)+-parseInt(_0x31dd7b(0xee))/0x8;if(_0x22c112===_0x507f80)break;else _0x15251e['push'](_0x15251e['shift']());}catch(_0x28d4c6){_0x15251e['push'](_0x15251e['shift']());}}}(_0x4c45,0x72dd7));import{Command as _0x362b75}from'ckeditor5/src/core.js';function _0x1499(_0x2fb073,_0xdbd607){const _0x4c4551=_0x4c45();return _0x1499=function(_0x149907,_0xaaf9a2){_0x149907=_0x149907-0xe6;let _0x116adb=_0x4c4551[_0x149907];return _0x116adb;},_0x1499(_0x2fb073,_0xdbd607);}import{FOOTNOTES_DEFINITIONS_STYLES as _0xed9806}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x44d45c}from'../../footnotestracker.js';function _0x4c45(){const _0xd96620=['3528556fRvTBl','1032dhriaL','change','1094224fvlJDY','623021UvVoZD','plugins','footnotesListStyle','refresh','setAttribute','23219FMuJAU','isEnabled','2401698dLGFmY','3878328DqWIAF','includes','model','2711180umEGqK','getAttribute','value','get','getFootnotesDefinitionsObjectElement','_updateFootnotesCounters','execute'];_0x4c45=function(){return _0xd96620;};return _0x4c45();}export class FootnotesStyleCommand extends _0x362b75{[_0x4a842b(0xe9)](){const _0x559d89=_0x4a842b,{editor:_0x21cda1}=this,_0x19df1d=_0x21cda1[_0x559d89(0xe7)][_0x559d89(0xf4)](_0x44d45c)[_0x559d89(0xf5)]();this[_0x559d89(0xec)]=!!_0x19df1d,this[_0x559d89(0xf3)]=_0x19df1d?.[_0x559d89(0xf2)](_0x559d89(0xe8))??null;}[_0x4a842b(0xf7)]({value:_0x11a658}){const _0x279e89=_0x4a842b,{editor:_0x2575d2}=this,_0x4a320d=_0x2575d2[_0x279e89(0xe7)][_0x279e89(0xf4)](_0x44d45c),_0x520ecd=_0x4a320d[_0x279e89(0xf5)]();_0x520ecd&&_0xed9806[_0x279e89(0xef)](_0x11a658)&&_0x2575d2[_0x279e89(0xf0)][_0x279e89(0xfa)](_0x3e4be5=>{const _0x520949=_0x279e89;_0x3e4be5[_0x520949(0xea)](_0x520949(0xe8),_0x11a658,_0x520ecd),_0x4a320d[_0x520949(0xf6)](_0x3e4be5);});}}
23
+ function _0x294b(_0x4e82b5,_0x45f37f){const _0x2dc508=_0x2dc5();return _0x294b=function(_0x294bae,_0x1b6b76){_0x294bae=_0x294bae-0x6a;let _0x5af384=_0x2dc508[_0x294bae];return _0x5af384;},_0x294b(_0x4e82b5,_0x45f37f);}function _0x2dc5(){const _0x4fd2e8=['isEnabled','refresh','104sYTRrG','7126IZPxMm','plugins','getFootnotesDefinitionsObjectElement','value','34MZtWrA','model','17970glyhcN','1027638cBhQnQ','913CXwmLX','getAttribute','_updateFootnotesCounters','12474DugpQl','206616zNdINu','20LluYrG','execute','774486dhShGB','footnotesListStyle','98128cZQqmN','includes','change','get','setAttribute'];_0x2dc5=function(){return _0x4fd2e8;};return _0x2dc5();}const _0xe12833=_0x294b;(function(_0x19a047,_0x1cf625){const _0xd3a464=_0x294b,_0x1ac668=_0x19a047();while(!![]){try{const _0x10c976=-parseInt(_0xd3a464(0x72))/0x1*(parseInt(_0xd3a464(0x79))/0x2)+parseInt(_0xd3a464(0x7d))/0x3+-parseInt(_0xd3a464(0x7f))/0x4*(-parseInt(_0xd3a464(0x7b))/0x5)+-parseInt(_0xd3a464(0x7a))/0x6+parseInt(_0xd3a464(0x6e))/0x7*(parseInt(_0xd3a464(0x6d))/0x8)+-parseInt(_0xd3a464(0x75))/0x9+parseInt(_0xd3a464(0x74))/0xa*(parseInt(_0xd3a464(0x76))/0xb);if(_0x10c976===_0x1cf625)break;else _0x1ac668['push'](_0x1ac668['shift']());}catch(_0xbecea8){_0x1ac668['push'](_0x1ac668['shift']());}}}(_0x2dc5,0x2692f));import{Command as _0x3234e5}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x1d9144}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x43d4a1}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x3234e5{[_0xe12833(0x6c)](){const _0x1a7fc9=_0xe12833,{editor:_0x5bca8a}=this,_0x270c3b=_0x5bca8a[_0x1a7fc9(0x6f)][_0x1a7fc9(0x82)](_0x43d4a1)[_0x1a7fc9(0x70)]();this[_0x1a7fc9(0x6b)]=!!_0x270c3b,this[_0x1a7fc9(0x71)]=_0x270c3b?.[_0x1a7fc9(0x77)](_0x1a7fc9(0x7e))??null;}[_0xe12833(0x7c)]({value:_0x3eeb04}){const _0x8c915=_0xe12833,{editor:_0xd1afe8}=this,_0x46444e=_0xd1afe8[_0x8c915(0x6f)][_0x8c915(0x82)](_0x43d4a1),_0x1f41e8=_0x46444e[_0x8c915(0x70)]();_0x1f41e8&&_0x1d9144[_0x8c915(0x80)](_0x3eeb04)&&_0xd1afe8[_0x8c915(0x73)][_0x8c915(0x81)](_0x36e763=>{const _0x54a69c=_0x8c915;_0x36e763[_0x54a69c(0x6a)](_0x54a69c(0x7e),_0x3eeb04,_0x1f41e8),_0x46444e[_0x54a69c(0x78)](_0x36e763);});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x15ce(_0x282ea8,_0x1dbb2f){const _0x32e104=_0x32e1();return _0x15ce=function(_0x15ce0f,_0x7995c0){_0x15ce0f=_0x15ce0f-0x12e;let _0x488fcd=_0x32e104[_0x15ce0f];return _0x488fcd;},_0x15ce(_0x282ea8,_0x1dbb2f);}const _0x2765f7=_0x15ce;function _0x32e1(){const _0x2c2e59=['11efDRPJ','84646nqCrWs','5cHPTZU','714808PUylnt','lower-alpha','4419300foOvvm','lower-roman','246366IXYKlZ','3kqRfLq','lower-latin','21FmRdgS','upper-alpha','upper-latin','decimal','460908ntCCqy','decimal-leading-zero','upper-roman','448656yxpYYK','681776RtPFjK'];_0x32e1=function(){return _0x2c2e59;};return _0x32e1();}(function(_0x2443ec,_0x3454c6){const _0x312627=_0x15ce,_0x134448=_0x2443ec();while(!![]){try{const _0x2cd8fe=-parseInt(_0x312627(0x134))/0x1+parseInt(_0x312627(0x12e))/0x2*(parseInt(_0x312627(0x135))/0x3)+-parseInt(_0x312627(0x130))/0x4*(parseInt(_0x312627(0x12f))/0x5)+-parseInt(_0x312627(0x13e))/0x6+-parseInt(_0x312627(0x137))/0x7*(-parseInt(_0x312627(0x13f))/0x8)+-parseInt(_0x312627(0x13b))/0x9+parseInt(_0x312627(0x132))/0xa*(parseInt(_0x312627(0x140))/0xb);if(_0x2cd8fe===_0x3454c6)break;else _0x134448['push'](_0x134448['shift']());}catch(_0x4119f7){_0x134448['push'](_0x134448['shift']());}}}(_0x32e1,0x2e1bf));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x2765f7(0x13a),_0x2765f7(0x13c),_0x2765f7(0x136),_0x2765f7(0x139),_0x2765f7(0x131),_0x2765f7(0x138),_0x2765f7(0x133),_0x2765f7(0x13d)];
23
+ function _0x134a(){const _0x17b210=['upper-latin','1337016YUCNLh','lower-alpha','5xOyMnK','upper-roman','60003EBwblL','8iCQDHa','883172GYIaUw','1017604vyRgKi','126rSYgbx','lower-latin','decimal','3144057RcSyYE','1139352UvVCWS','lower-roman','1563930NkjmKP','decimal-leading-zero','upper-alpha'];_0x134a=function(){return _0x17b210;};return _0x134a();}function _0x1d79(_0x27ddce,_0x56ba13){const _0x134a74=_0x134a();return _0x1d79=function(_0x1d7942,_0x896526){_0x1d7942=_0x1d7942-0x1cd;let _0x51cba7=_0x134a74[_0x1d7942];return _0x51cba7;},_0x1d79(_0x27ddce,_0x56ba13);}const _0x4cdeb4=_0x1d79;(function(_0x4f8c1e,_0x1e7567){const _0x34665c=_0x1d79,_0x229958=_0x4f8c1e();while(!![]){try{const _0x47c8be=-parseInt(_0x34665c(0x1d8))/0x1+-parseInt(_0x34665c(0x1db))/0x2+-parseInt(_0x34665c(0x1ce))/0x3+-parseInt(_0x34665c(0x1da))/0x4*(parseInt(_0x34665c(0x1d6))/0x5)+-parseInt(_0x34665c(0x1d4))/0x6+-parseInt(_0x34665c(0x1cd))/0x7*(parseInt(_0x34665c(0x1d9))/0x8)+parseInt(_0x34665c(0x1dc))/0x9*(parseInt(_0x34665c(0x1d0))/0xa);if(_0x47c8be===_0x1e7567)break;else _0x229958['push'](_0x229958['shift']());}catch(_0x268052){_0x229958['push'](_0x229958['shift']());}}}(_0x134a,0x54fe5));export const FOOTNOTES_DEFINITIONS_STYLES=[_0x4cdeb4(0x1de),_0x4cdeb4(0x1d1),_0x4cdeb4(0x1dd),_0x4cdeb4(0x1d3),_0x4cdeb4(0x1d5),_0x4cdeb4(0x1d2),_0x4cdeb4(0x1cf),_0x4cdeb4(0x1d7)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x30d648=_0xfcd4;(function(_0x3bcad4,_0x1a097c){const _0x32bc94=_0xfcd4,_0x26fbee=_0x3bcad4();while(!![]){try{const _0x28c956=parseInt(_0x32bc94(0x1f9))/0x1*(-parseInt(_0x32bc94(0x225))/0x2)+-parseInt(_0x32bc94(0x1f4))/0x3+-parseInt(_0x32bc94(0x1ea))/0x4+parseInt(_0x32bc94(0x1cc))/0x5*(parseInt(_0x32bc94(0x20e))/0x6)+-parseInt(_0x32bc94(0x1ca))/0x7*(parseInt(_0x32bc94(0x1dd))/0x8)+-parseInt(_0x32bc94(0x21e))/0x9+parseInt(_0x32bc94(0x200))/0xa*(parseInt(_0x32bc94(0x226))/0xb);if(_0x28c956===_0x1a097c)break;else _0x26fbee['push'](_0x26fbee['shift']());}catch(_0x3fa9dc){_0x26fbee['push'](_0x26fbee['shift']());}}}(_0x5806,0x45ff7));function _0x5806(){const _0x23fbb1=['extend','list-style-type','410863cMfrsk','hasAttribute','mapper','differ','parent','footnotesDefinitions','start','660280VEXQHh','viewItem','setAttribute','isPremiumPlugin','_getDefaultStartIndex','padStart','config','upper-latin','lower-latin','_getDefaultListStyle','model','toUpperCase','position','toViewElement','6gOoGQO','isNaN','_updateFootnotesCounters','setStyle','floor','footnotesStyle','toLowerCase','nodeAfter','registerPostFixer','add','_formatFootnoteListValue','upper-roman','writer','from','find','removeAttribute','1780155EEnTwd','document','for','insert','schema','getStyle','FootnotesPropertiesEditing','2enzwCj','319wGViEd','removeStyle','footnotesListStart','footnotesStart','footnotes-list','hasClass','max','footnotes.footnotesProperties.defaultStartIndex','footnotesListStyle','createRangeOn','339689wYVQKh','get','479075UQxpjH','element','footnotes.footnotesProperties.defaultListStyle','type','downcast','define','getAttribute','name','decimal','consume','attribute:footnotesListStyle:footnotesDefinitions','decimal-leading-zero','plugins','element:ol','attribute:footnotesListStart:footnotesDefinitions','init','_defineSchema','8MvPTXb','$text','modelCursor','getChanges','getChildren','parseInt','getItems','lower-alpha','requires','consumable','lower-roman','commands','editor','2219952YCMZlN','checkAttribute','fromCharCode','_definePostfixer','upcast','_defineFormatter','_defineConverters','upper-alpha','pluginName','isOfficialPlugin','1535229pXDgvy','setFootnoteFormatter','item'];_0x5806=function(){return _0x23fbb1;};return _0x5806();}function _0xfcd4(_0x2b61c2,_0x550fd6){const _0x5806f8=_0x5806();return _0xfcd4=function(_0xfcd480,_0x9ce69b){_0xfcd480=_0xfcd480-0x1c3;let _0x4fd35e=_0x5806f8[_0xfcd480];return _0x4fd35e;},_0xfcd4(_0x2b61c2,_0x550fd6);}import{Plugin as _0x495bf6}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x25e742}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x3b39e1}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x40f23d}from'../footnotestracker.js';import{FootnotesEditing as _0x449c53}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x495bf6{static get[_0x30d648(0x1f2)](){const _0x1194ca=_0x30d648;return _0x1194ca(0x224);}static get[_0x30d648(0x1e5)](){return[_0x449c53,_0x40f23d];}static get[_0x30d648(0x1f3)](){return!0x0;}static get[_0x30d648(0x203)](){return!0x0;}[_0x30d648(0x1db)](){const _0x2a6dec=_0x30d648,{editor:_0x253560}=this;_0x253560[_0x2a6dec(0x206)][_0x2a6dec(0x1d1)](_0x2a6dec(0x1ce),_0x2a6dec(0x1d4)),_0x253560[_0x2a6dec(0x206)][_0x2a6dec(0x1d1)](_0x2a6dec(0x1c7),0x1),_0x253560[_0x2a6dec(0x1e8)][_0x2a6dec(0x217)](_0x2a6dec(0x213),new _0x25e742(_0x253560)),_0x253560[_0x2a6dec(0x1e8)][_0x2a6dec(0x217)](_0x2a6dec(0x1c3),new _0x3b39e1(_0x253560)),this[_0x2a6dec(0x1dc)](),this[_0x2a6dec(0x1f0)](),this[_0x2a6dec(0x1ef)](),this[_0x2a6dec(0x1ed)]();}[_0x30d648(0x1dc)](){const _0x4ce49e=_0x30d648,{editor:_0x29f017}=this,{schema:_0x10d5ad}=_0x29f017[_0x4ce49e(0x20a)];_0x10d5ad[_0x4ce49e(0x1f7)](_0x4ce49e(0x1fe),{'allowAttributes':[_0x4ce49e(0x1c8),_0x4ce49e(0x228)]});}[_0x30d648(0x1f0)](){const _0x3a6109=_0x30d648,{editor:_0x245920}=this,{conversion:_0x584275,model:_0x4b2a37}=_0x245920,{schema:_0x55363b}=_0x4b2a37;_0x584275[_0x3a6109(0x220)](_0x3a6109(0x1ee))[_0x3a6109(0x217)](_0x419ff5=>{const _0xadbb59=_0x3a6109;_0x419ff5['on'](_0xadbb59(0x1d9),(_0x3a6047,_0x57fbeb,_0x36df35)=>{const _0x4a5cb8=_0xadbb59,_0x57cf48=_0x57fbeb[_0x4a5cb8(0x201)],_0x3a0c00=_0x57fbeb[_0x4a5cb8(0x1df)]?.[_0x4a5cb8(0x1fd)];_0x57cf48[_0x4a5cb8(0x1c5)](_0x4a5cb8(0x1c4))&&_0x3a0c00?.['is'](_0x4a5cb8(0x1cd),_0x4a5cb8(0x1fe))&&(function(_0x56eb6c,_0x2fd7fb,_0x1709a4,_0x7fc8e0){const _0x1431ec=_0x4a5cb8;if(!_0x7fc8e0[_0x1431ec(0x1eb)](_0x2fd7fb,_0x1431ec(0x228)))return;let _0x41c5f7=0x1;const _0x4eaaaa=_0x1709a4[_0x1431ec(0x1e6)][_0x1431ec(0x1d5)](_0x56eb6c,{'attributes':_0x1431ec(0x1ff)});if(_0x4eaaaa){const _0x254ee6=Number[_0x1431ec(0x1e2)](_0x56eb6c[_0x1431ec(0x1d2)](_0x1431ec(0x1ff)),0xa);Number[_0x1431ec(0x20f)](_0x254ee6)||(_0x41c5f7=_0x254ee6);}!_0x4eaaaa&&_0x2fd7fb[_0x1431ec(0x1fa)](_0x1431ec(0x228))||_0x1709a4[_0x1431ec(0x21a)][_0x1431ec(0x202)](_0x1431ec(0x228),_0x41c5f7,_0x2fd7fb);}(_0x57cf48,_0x3a0c00,_0x36df35,_0x55363b),function(_0x43f0b5,_0x8a958c,_0x29c47e,_0x55f29b){const _0x3b31a6=_0x4a5cb8;if(!_0x55f29b[_0x3b31a6(0x1eb)](_0x8a958c,_0x3b31a6(0x1c8)))return;let _0x404c26=_0x3b31a6(0x1d4),_0x46d026=!0x1;if(_0x29c47e[_0x3b31a6(0x1e6)][_0x3b31a6(0x1d5)](_0x43f0b5,{'attributes':_0x3b31a6(0x1cf)})){const _0x3c8e0d={0x1:_0x3b31a6(0x1d4),'a':_0x3b31a6(0x1e4),'A':_0x3b31a6(0x1f1),'i':_0x3b31a6(0x1e7),'I':_0x3b31a6(0x219)}[_0x43f0b5[_0x3b31a6(0x1d2)](_0x3b31a6(0x1cf))];_0x3c8e0d&&(_0x404c26=_0x3c8e0d),_0x46d026=!0x0;}_0x29c47e[_0x3b31a6(0x1e6)][_0x3b31a6(0x1d5)](_0x43f0b5,{'styles':_0x3b31a6(0x1f8)})&&(_0x404c26=_0x43f0b5[_0x3b31a6(0x223)](_0x3b31a6(0x1f8)),_0x46d026=!0x0),!_0x46d026&&_0x8a958c[_0x3b31a6(0x1fa)](_0x3b31a6(0x1c8))||_0x29c47e[_0x3b31a6(0x21a)][_0x3b31a6(0x202)](_0x3b31a6(0x1c8),_0x404c26,_0x8a958c);}(_0x57cf48,_0x3a0c00,_0x36df35,_0x55363b));});}),_0x584275[_0x3a6109(0x220)](_0x3a6109(0x1d0))[_0x3a6109(0x217)](_0x4f53a4=>{const _0x4670f9=_0x3a6109;_0x4f53a4['on'](_0x4670f9(0x1da),(_0x4dddf3,_0x96b4fe,_0x4196c7)=>{const _0x3fb7dc=_0x4670f9;if(!_0x4196c7[_0x3fb7dc(0x1e6)][_0x3fb7dc(0x1d5)](_0x96b4fe[_0x3fb7dc(0x1f6)],_0x4dddf3[_0x3fb7dc(0x1d3)]))return;const _0x1f3900=M(_0x96b4fe[_0x3fb7dc(0x1f6)],_0x4196c7[_0x3fb7dc(0x1fb)]),{attributeNewValue:_0x3f022e}=_0x96b4fe;null==_0x3f022e||0x1===_0x3f022e?_0x4196c7[_0x3fb7dc(0x21a)][_0x3fb7dc(0x21d)](_0x3fb7dc(0x1ff),_0x1f3900):_0x4196c7[_0x3fb7dc(0x21a)][_0x3fb7dc(0x202)](_0x3fb7dc(0x1ff),String(_0x3f022e),_0x1f3900);}),_0x4f53a4['on'](_0x4670f9(0x1d6),(_0x101b96,_0x269bc8,_0x3b9b0)=>{const _0x2c70fe=_0x4670f9;if(!_0x3b9b0[_0x2c70fe(0x1e6)][_0x2c70fe(0x1d5)](_0x269bc8[_0x2c70fe(0x1f6)],_0x101b96[_0x2c70fe(0x1d3)]))return;const _0x3113eb=M(_0x269bc8[_0x2c70fe(0x1f6)],_0x3b9b0[_0x2c70fe(0x1fb)]),{attributeNewValue:_0x95cd69}=_0x269bc8;_0x95cd69&&_0x2c70fe(0x1d4)!==_0x95cd69?_0x3b9b0[_0x2c70fe(0x21a)][_0x2c70fe(0x211)](_0x2c70fe(0x1f8),_0x95cd69,_0x3113eb):_0x3b9b0[_0x2c70fe(0x21a)][_0x2c70fe(0x227)](_0x2c70fe(0x1f8),_0x3113eb);});});}[_0x30d648(0x1ed)](){const _0x52c08c=_0x30d648,{editor:_0x442e9d}=this,{model:_0x43edf0}=_0x442e9d,_0x2874f4=_0x442e9d[_0x52c08c(0x1d8)][_0x52c08c(0x1cb)](_0x40f23d),_0x235878=this[_0x52c08c(0x209)](),_0x2a3ea3=this[_0x52c08c(0x204)]();_0x43edf0[_0x52c08c(0x21f)][_0x52c08c(0x216)](_0x578f2f=>{const _0x7a60be=_0x52c08c,_0x548dd0=_0x43edf0[_0x7a60be(0x21f)][_0x7a60be(0x1fc)][_0x7a60be(0x1e0)]();let _0x1e98b6=!0x1;for(const _0x121f1a of _0x548dd0){if(_0x7a60be(0x221)!==_0x121f1a[_0x7a60be(0x1cf)]||_0x7a60be(0x1de)===_0x121f1a[_0x7a60be(0x1d3)])continue;const _0x16bd93=_0x43edf0[_0x7a60be(0x1c9)](_0x121f1a[_0x7a60be(0x20c)][_0x7a60be(0x215)]);for(const _0x59fd50 of _0x16bd93[_0x7a60be(0x1e3)]())_0x59fd50['is'](_0x7a60be(0x1cd),_0x7a60be(0x1fe))&&(!_0x59fd50[_0x7a60be(0x1fa)](_0x7a60be(0x228))&&_0x43edf0[_0x7a60be(0x222)][_0x7a60be(0x1eb)](_0x59fd50,_0x7a60be(0x228))&&(_0x578f2f[_0x7a60be(0x202)](_0x7a60be(0x228),_0x2a3ea3,_0x59fd50),_0x1e98b6=!0x0),!_0x59fd50[_0x7a60be(0x1fa)](_0x7a60be(0x1c8))&&_0x43edf0[_0x7a60be(0x222)][_0x7a60be(0x1eb)](_0x59fd50,_0x7a60be(0x1c8))&&(_0x578f2f[_0x7a60be(0x202)](_0x7a60be(0x1c8),_0x235878,_0x59fd50),_0x1e98b6=!0x0));}return _0x1e98b6&&_0x2874f4[_0x7a60be(0x210)](_0x578f2f),_0x1e98b6;});}[_0x30d648(0x1ef)](){const _0x3e71e9=_0x30d648,{editor:_0x5f400b}=this;_0x5f400b[_0x3e71e9(0x1d8)][_0x3e71e9(0x1cb)](_0x40f23d)[_0x3e71e9(0x1f5)](_0x21d91d=>this[_0x3e71e9(0x218)](_0x21d91d));}[_0x30d648(0x209)](){const _0x56bb3c=_0x30d648;return this[_0x56bb3c(0x1e9)][_0x56bb3c(0x206)][_0x56bb3c(0x1cb)](_0x56bb3c(0x1ce));}[_0x30d648(0x204)](){const _0x5bcc33=_0x30d648;return this[_0x5bcc33(0x1e9)][_0x5bcc33(0x206)][_0x5bcc33(0x1cb)](_0x5bcc33(0x1c7));}[_0x30d648(0x218)]({container:_0x22760f,value:_0x1679d6,digits:_0x3ddab3}){const _0x4c10f4=_0x30d648,_0x5811fb=_0x22760f[_0x4c10f4(0x1d2)](_0x4c10f4(0x1c8)),_0x17f5d1=_0x22760f[_0x4c10f4(0x1d2)](_0x4c10f4(0x228)),_0x5b8edc=Math[_0x4c10f4(0x212)](_0x1679d6)+(_0x17f5d1??0x1)-0x1;switch(_0x5811fb){case _0x4c10f4(0x1d7):return function(_0x43a296,_0x5e4e1d){const _0x43e0e8=_0x4c10f4;return String(_0x43a296)[_0x43e0e8(0x205)](_0x5e4e1d,'0');}(_0x5b8edc,Math[_0x4c10f4(0x1c6)](0x2,_0x3ddab3));case _0x4c10f4(0x1e4):case _0x4c10f4(0x208):return N(_0x5b8edc,!0x1);case _0x4c10f4(0x1f1):case _0x4c10f4(0x207):return N(_0x5b8edc,!0x0);case _0x4c10f4(0x1e7):return X(_0x5b8edc,!0x1);case _0x4c10f4(0x219):return X(_0x5b8edc,!0x0);default:return String(_0x5b8edc);}}}function M(_0x56675b,_0x4bfe92){const _0x507f41=_0x30d648,_0x2e8ba9=_0x4bfe92[_0x507f41(0x20d)](_0x56675b);return Array[_0x507f41(0x21b)](_0x2e8ba9[_0x507f41(0x1e1)]())[_0x507f41(0x21c)](_0x5eb21f=>_0x5eb21f['is'](_0x507f41(0x1cd),'ol')&&_0x5eb21f[_0x507f41(0x1c5)](_0x507f41(0x1c4)));}function N(_0x217317,_0x436ff3){const _0x344d5d=_0x30d648;let _0x1ad536='',_0x4925c7=_0x217317;for(;_0x4925c7>0x0;){const _0x3947c7=(_0x4925c7-0x1)%0x1a;_0x1ad536=String[_0x344d5d(0x1ec)](0x61+_0x3947c7)+_0x1ad536,_0x4925c7=Math[_0x344d5d(0x212)]((_0x4925c7-0x1)/0x1a);}return _0x436ff3?_0x1ad536[_0x344d5d(0x20b)]():_0x1ad536;}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(_0x579719,_0xe7af2e){const _0xe8f2c1=_0x30d648;let _0x2f9a3f='',_0x508cd5=_0x579719;for(const {value:_0x26c7d9,numeral:_0x2b926b}of V)for(;_0x508cd5>=_0x26c7d9;)_0x2f9a3f+=_0x2b926b,_0x508cd5-=_0x26c7d9;return _0xe7af2e?_0x2f9a3f:_0x2f9a3f[_0xe8f2c1(0x214)]();}
23
+ function _0x36d6(_0x26cd19,_0x42402f){const _0x185f88=_0x185f();return _0x36d6=function(_0x36d6b2,_0x490b59){_0x36d6b2=_0x36d6b2-0xfd;let _0x18df3b=_0x185f88[_0x36d6b2];return _0x18df3b;},_0x36d6(_0x26cd19,_0x42402f);}const _0x5570d0=_0x36d6;(function(_0x68d246,_0xcfe822){const _0x46e9f0=_0x36d6,_0x1ee853=_0x68d246();while(!![]){try{const _0x2f5d05=-parseInt(_0x46e9f0(0x14b))/0x1+-parseInt(_0x46e9f0(0x113))/0x2+parseInt(_0x46e9f0(0x10a))/0x3*(-parseInt(_0x46e9f0(0x150))/0x4)+-parseInt(_0x46e9f0(0x146))/0x5*(parseInt(_0x46e9f0(0x106))/0x6)+parseInt(_0x46e9f0(0x128))/0x7+-parseInt(_0x46e9f0(0x148))/0x8*(-parseInt(_0x46e9f0(0x152))/0x9)+-parseInt(_0x46e9f0(0x118))/0xa*(-parseInt(_0x46e9f0(0x132))/0xb);if(_0x2f5d05===_0xcfe822)break;else _0x1ee853['push'](_0x1ee853['shift']());}catch(_0x5369fa){_0x1ee853['push'](_0x1ee853['shift']());}}}(_0x185f,0x5487f));import{Plugin as _0x25a32f}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x44acb2}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x59d453}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x5254d1}from'../footnotestracker.js';import{FootnotesEditing as _0x22a92a}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x25a32f{static get[_0x5570d0(0x117)](){const _0x1f998b=_0x5570d0;return _0x1f998b(0x12b);}static get[_0x5570d0(0x140)](){return[_0x22a92a,_0x5254d1];}static get[_0x5570d0(0x15f)](){return!0x0;}static get[_0x5570d0(0x103)](){return!0x0;}[_0x5570d0(0x138)](){const _0x187bdf=_0x5570d0,{editor:_0x3af6e6}=this;_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x12e),_0x187bdf(0x15d)),_0x3af6e6[_0x187bdf(0x135)][_0x187bdf(0x120)](_0x187bdf(0x104),0x1),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x110),new _0x44acb2(_0x3af6e6)),_0x3af6e6[_0x187bdf(0x14a)][_0x187bdf(0x154)](_0x187bdf(0x153),new _0x59d453(_0x3af6e6)),this[_0x187bdf(0x108)](),this[_0x187bdf(0x111)](),this[_0x187bdf(0x124)](),this[_0x187bdf(0x13e)]();}[_0x5570d0(0x108)](){const _0x42f441=_0x5570d0,{editor:_0x469904}=this,{schema:_0x134ac8}=_0x469904[_0x42f441(0x119)];_0x134ac8[_0x42f441(0x10b)](_0x42f441(0x116),{'allowAttributes':[_0x42f441(0x134),_0x42f441(0x101)]});}[_0x5570d0(0x111)](){const _0x2474f5=_0x5570d0,{editor:_0x35b455}=this,{conversion:_0x4056e9,model:_0xeee6c3}=_0x35b455,{schema:_0x104d80}=_0xeee6c3;_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x15a))[_0x2474f5(0x154)](_0x3faac6=>{const _0x58db0c=_0x2474f5;_0x3faac6['on'](_0x58db0c(0x123),(_0x1632cb,_0x66bcb,_0x1561a0)=>{const _0xf915e3=_0x58db0c,_0x33a357=_0x66bcb[_0xf915e3(0x112)],_0xdae1f3=_0x66bcb[_0xf915e3(0x105)]?.[_0xf915e3(0x145)];_0x33a357[_0xf915e3(0x158)](_0xf915e3(0x155))&&_0xdae1f3?.['is'](_0xf915e3(0xff),_0xf915e3(0x116))&&(function(_0x17f990,_0xf1981f,_0x5d8a19,_0x35f654){const _0x13dc85=_0xf915e3;if(!_0x35f654[_0x13dc85(0x151)](_0xf1981f,_0x13dc85(0x101)))return;let _0x280bff=0x1;const _0x1983b6=_0x5d8a19[_0x13dc85(0x14e)][_0x13dc85(0x114)](_0x17f990,{'attributes':_0x13dc85(0x11b)});if(_0x1983b6){const _0x5b0c4b=Number[_0x13dc85(0x10c)](_0x17f990[_0x13dc85(0x107)](_0x13dc85(0x11b)),0xa);Number[_0x13dc85(0x14f)](_0x5b0c4b)||(_0x280bff=_0x5b0c4b);}!_0x1983b6&&_0xf1981f[_0x13dc85(0x161)](_0x13dc85(0x101))||_0x5d8a19[_0x13dc85(0x13d)][_0x13dc85(0x11f)](_0x13dc85(0x101),_0x280bff,_0xf1981f);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80),function(_0x1c5cb8,_0x27fb63,_0x2c826e,_0x2b37d6){const _0xa3c432=_0xf915e3;if(!_0x2b37d6[_0xa3c432(0x151)](_0x27fb63,_0xa3c432(0x134)))return;let _0x569bce=_0xa3c432(0x15d),_0x49462a=!0x1;if(_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'attributes':_0xa3c432(0x126)})){const _0x45696b={0x1:_0xa3c432(0x15d),'a':_0xa3c432(0x115),'A':_0xa3c432(0x144),'i':_0xa3c432(0x121),'I':_0xa3c432(0x13b)}[_0x1c5cb8[_0xa3c432(0x107)](_0xa3c432(0x126))];_0x45696b&&(_0x569bce=_0x45696b),_0x49462a=!0x0;}_0x2c826e[_0xa3c432(0x14e)][_0xa3c432(0x114)](_0x1c5cb8,{'styles':_0xa3c432(0x162)})&&(_0x569bce=_0x1c5cb8[_0xa3c432(0x160)](_0xa3c432(0x162)),_0x49462a=!0x0),!_0x49462a&&_0x27fb63[_0xa3c432(0x161)](_0xa3c432(0x134))||_0x2c826e[_0xa3c432(0x13d)][_0xa3c432(0x11f)](_0xa3c432(0x134),_0x569bce,_0x27fb63);}(_0x33a357,_0xdae1f3,_0x1561a0,_0x104d80));});}),_0x4056e9[_0x2474f5(0x157)](_0x2474f5(0x131))[_0x2474f5(0x154)](_0xee0fe6=>{const _0x264f29=_0x2474f5;_0xee0fe6['on'](_0x264f29(0x11d),(_0x5bb770,_0x3de727,_0x3242f3)=>{const _0x1ec369=_0x264f29;if(!_0x3242f3[_0x1ec369(0x14e)][_0x1ec369(0x114)](_0x3de727[_0x1ec369(0x125)],_0x5bb770[_0x1ec369(0x130)]))return;const _0x3b5db9=M(_0x3de727[_0x1ec369(0x125)],_0x3242f3[_0x1ec369(0x14c)]),{attributeNewValue:_0xcd64bc}=_0x3de727;null==_0xcd64bc||0x1===_0xcd64bc?_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11c)](_0x1ec369(0x11b),_0x3b5db9):_0x3242f3[_0x1ec369(0x13d)][_0x1ec369(0x11f)](_0x1ec369(0x11b),String(_0xcd64bc),_0x3b5db9);}),_0xee0fe6['on'](_0x264f29(0x12f),(_0x24b82a,_0x37d378,_0x2fc1c7)=>{const _0x17dc85=_0x264f29;if(!_0x2fc1c7[_0x17dc85(0x14e)][_0x17dc85(0x114)](_0x37d378[_0x17dc85(0x125)],_0x24b82a[_0x17dc85(0x130)]))return;const _0x5275c6=M(_0x37d378[_0x17dc85(0x125)],_0x2fc1c7[_0x17dc85(0x14c)]),{attributeNewValue:_0x43f5d8}=_0x37d378;_0x43f5d8&&_0x17dc85(0x15d)!==_0x43f5d8?_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x133)](_0x17dc85(0x162),_0x43f5d8,_0x5275c6):_0x2fc1c7[_0x17dc85(0x13d)][_0x17dc85(0x12a)](_0x17dc85(0x162),_0x5275c6);});});}[_0x5570d0(0x13e)](){const _0x5b5945=_0x5570d0,{editor:_0x5eb0f3}=this,{model:_0x50f880}=_0x5eb0f3,_0x5c14be=_0x5eb0f3[_0x5b5945(0x127)][_0x5b5945(0x15b)](_0x5254d1),_0x554a6c=this[_0x5b5945(0x139)](),_0xc0e6b=this[_0x5b5945(0x13a)]();_0x50f880[_0x5b5945(0x10f)][_0x5b5945(0x100)](_0x5c7205=>{const _0x38606c=_0x5b5945,_0x52f7cc=_0x50f880[_0x38606c(0x10f)][_0x38606c(0x137)][_0x38606c(0x109)]();let _0x52e027=!0x1;for(const _0x37ddc8 of _0x52f7cc){if(_0x38606c(0x129)!==_0x37ddc8[_0x38606c(0x126)]||_0x38606c(0x147)===_0x37ddc8[_0x38606c(0x130)])continue;const _0x55954d=_0x50f880[_0x38606c(0x12c)](_0x37ddc8[_0x38606c(0x11e)][_0x38606c(0x15e)]);for(const _0x36132b of _0x55954d[_0x38606c(0x12d)]())_0x36132b['is'](_0x38606c(0xff),_0x38606c(0x116))&&(!_0x36132b[_0x38606c(0x161)](_0x38606c(0x101))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x101))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x101),_0xc0e6b,_0x36132b),_0x52e027=!0x0),!_0x36132b[_0x38606c(0x161)](_0x38606c(0x134))&&_0x50f880[_0x38606c(0x159)][_0x38606c(0x151)](_0x36132b,_0x38606c(0x134))&&(_0x5c7205[_0x38606c(0x11f)](_0x38606c(0x134),_0x554a6c,_0x36132b),_0x52e027=!0x0));}return _0x52e027&&_0x5c14be[_0x38606c(0x13c)](_0x5c7205),_0x52e027;});}[_0x5570d0(0x124)](){const _0x41d084=_0x5570d0,{editor:_0x5d5bf7}=this;_0x5d5bf7[_0x41d084(0x127)][_0x41d084(0x15b)](_0x5254d1)[_0x41d084(0xfd)](_0x3f00b8=>this[_0x41d084(0x11a)](_0x3f00b8));}[_0x5570d0(0x139)](){const _0x1f33ba=_0x5570d0;return this[_0x1f33ba(0x102)][_0x1f33ba(0x135)][_0x1f33ba(0x15b)](_0x1f33ba(0x12e));}[_0x5570d0(0x13a)](){const _0x338abc=_0x5570d0;return this[_0x338abc(0x102)][_0x338abc(0x135)][_0x338abc(0x15b)](_0x338abc(0x104));}[_0x5570d0(0x11a)]({container:_0x5d34b1,value:_0x5beb58,digits:_0x47039c}){const _0xcb161a=_0x5570d0,_0x1c69ba=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x134)),_0x25dd19=_0x5d34b1[_0xcb161a(0x107)](_0xcb161a(0x101)),_0x361d74=Math[_0xcb161a(0x14d)](_0x5beb58)+(_0x25dd19??0x1)-0x1;switch(_0x1c69ba){case _0xcb161a(0x10d):return function(_0x5ab0b1,_0x50d028){const _0x46f470=_0xcb161a;return String(_0x5ab0b1)[_0x46f470(0x143)](_0x50d028,'0');}(_0x361d74,Math[_0xcb161a(0x13f)](0x2,_0x47039c));case _0xcb161a(0x115):case _0xcb161a(0x156):return N(_0x361d74,!0x1);case _0xcb161a(0x144):case _0xcb161a(0xfe):return N(_0x361d74,!0x0);case _0xcb161a(0x121):return X(_0x361d74,!0x1);case _0xcb161a(0x13b):return X(_0x361d74,!0x0);default:return String(_0x361d74);}}}function M(_0x2b0be4,_0x436be3){const _0x5d0b98=_0x5570d0,_0x5a29b3=_0x436be3[_0x5d0b98(0x142)](_0x2b0be4);return Array[_0x5d0b98(0x10e)](_0x5a29b3[_0x5d0b98(0x149)]())[_0x5d0b98(0x141)](_0x5e8890=>_0x5e8890['is'](_0x5d0b98(0xff),'ol')&&_0x5e8890[_0x5d0b98(0x158)](_0x5d0b98(0x155)));}function N(_0x3b1100,_0x10741c){const _0x2b49b5=_0x5570d0;let _0x4c0843='',_0x5718e0=_0x3b1100;for(;_0x5718e0>0x0;){const _0x19a27e=(_0x5718e0-0x1)%0x1a;_0x4c0843=String[_0x2b49b5(0x122)](0x61+_0x19a27e)+_0x4c0843,_0x5718e0=Math[_0x2b49b5(0x14d)]((_0x5718e0-0x1)/0x1a);}return _0x10741c?_0x4c0843[_0x2b49b5(0x15c)]():_0x4c0843;}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 _0x185f(){const _0xcb79fa=['getAttribute','_defineSchema','getChanges','3aCeIeX','extend','parseInt','decimal-leading-zero','from','document','footnotesStyle','_defineConverters','viewItem','1038540TqNJcQ','consume','lower-alpha','footnotesDefinitions','pluginName','12105440aFEhCh','model','_formatFootnoteListValue','start','removeAttribute','attribute:footnotesListStart:footnotesDefinitions','position','setAttribute','define','lower-roman','fromCharCode','element:ol','_defineFormatter','item','type','plugins','393358tNaHsR','insert','removeStyle','FootnotesPropertiesEditing','createRangeOn','getItems','footnotes.footnotesProperties.defaultListStyle','attribute:footnotesListStyle:footnotesDefinitions','name','downcast','11vtJWmh','setStyle','footnotesListStyle','config','toLowerCase','differ','init','_getDefaultListStyle','_getDefaultStartIndex','upper-roman','_updateFootnotesCounters','writer','_definePostfixer','max','requires','find','toViewElement','padStart','upper-alpha','parent','10XhoRNq','$text','4936016SBGFkO','getChildren','commands','463990fkRtbg','mapper','floor','consumable','isNaN','566156RharKo','checkAttribute','9XMUFgJ','footnotesStart','add','footnotes-list','lower-latin','for','hasClass','schema','upcast','get','toUpperCase','decimal','nodeAfter','isOfficialPlugin','getStyle','hasAttribute','list-style-type','setFootnoteFormatter','upper-latin','element','registerPostFixer','footnotesListStart','editor','isPremiumPlugin','footnotes.footnotesProperties.defaultStartIndex','modelCursor','1238106yXgBWS'];_0x185f=function(){return _0xcb79fa;};return _0x185f();}function X(_0x44c6cd,_0x270ce6){const _0x98f8b4=_0x5570d0;let _0x2d8828='',_0x19b591=_0x44c6cd;for(const {value:_0x238ef5,numeral:_0x3374dc}of V)for(;_0x19b591>=_0x238ef5;)_0x2d8828+=_0x3374dc,_0x19b591-=_0x238ef5;return _0x270ce6?_0x2d8828:_0x2d8828[_0x98f8b4(0x136)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x3430e8,ButtonView as _0x13d4c0,ContextualBalloon as _0x3211e9,createDropdown as _0x2d9b82}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x5499cf}from'ckeditor5/src/widget.js';import{Plugin as _0x5bdca2}from'ckeditor5/src/core.js';import{IconFootnote as _0x5ea8aa,IconListStyleDecimal as _0x34dfec,IconListStyleDecimalLeadingZero as _0x3b8d09,IconListStyleLowerLatin as _0x4f6eb4,IconListStyleLowerRoman as _0x37647d,IconListStyleUpperLatin as _0x4ea2e0,IconListStyleUpperRoman as _0x4714dd}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x422523}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1c3790}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x5bdca2{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x3211e9,_0x5499cf];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x3dd2ba}=this,{componentFactory:_0x562d90}=_0x3dd2ba['ui'];_0x3dd2ba['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x562d90['add']('footnotesStyle',function(_0x1fb687){return _0x4747b5=>{const {t:t}=_0x4747b5,_0x38c2cc=_0x1fb687['commands']['get']('footnotesStyle'),_0x26f2c5=_0x2d9b82(_0x4747b5),{buttonView:_0x5799b6}=_0x26f2c5;return _0x26f2c5['class']='ck-footnotes-styles-dropdown',_0x26f2c5['bind']('isEnabled')['to'](_0x38c2cc,'isEnabled'),_0x5799b6['set']({'label':t('Footnotes\x20style'),'icon':_0x5ea8aa,'tooltip':!0x0}),_0x26f2c5['once']('change:isOpen',()=>{const _0x9572d6=function({editor:_0x4fa74a,dropdownView:_0x44718f}){const {t:t}=_0x4fa74a['locale'],_0x5bac5a=t('Footnotes\x20definitions\x20styles'),_0x3da1f4=function(_0x29dcf8){const t=_0x29dcf8['locale']['t'],_0x1164d5=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x34dfec},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x3b8d09},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x37647d},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x4714dd},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x4f6eb4},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4ea2e0}];return _0x1164d5['map'](function(_0x12e9b7){const _0x6d5fdd=_0x12e9b7['locale'];return({label:_0x415a75,icon:_0x42dd96,tooltip:_0x487698,style:_0x3e723b})=>{const _0x1df2d5=_0x12e9b7['commands']['get']('footnotesStyle'),_0x97f647=new _0x13d4c0(_0x6d5fdd);return _0x97f647['set']({'label':_0x415a75,'icon':_0x42dd96,'tooltip':_0x487698}),_0x97f647['bind']('isOn')['to'](_0x1df2d5,'value',_0x663630=>_0x663630===_0x3e723b),_0x97f647['bind']('isEnabled')['to'](_0x1df2d5,'isEnabled'),_0x97f647['on']('execute',()=>{_0x12e9b7['execute']('footnotesStyle',{'value':_0x3e723b}),_0x12e9b7['editing']['view']['focus']();}),_0x97f647;};}(_0x29dcf8));}(_0x4fa74a),_0x16dafe=new _0x422523(_0x4fa74a['locale'],{'styleGridAriaLabel':_0x5bac5a,'styleButtonViews':_0x3da1f4});return _0x16dafe['delegate']('execute')['to'](_0x44718f),_0x16dafe['on']('footnotesListStart',(_0x17d0dc,_0x4a3d31)=>{_0x4fa74a['execute']('footnotesStart',{'value':_0x4a3d31['startIndex']});}),_0x16dafe;}({'editor':_0x1fb687,'dropdownView':_0x26f2c5});_0x26f2c5['panelView']['children']['add'](_0x9572d6);}),_0x26f2c5;};}(_0x3dd2ba));}['afterInit'](){const {editor:_0x5e1c70}=this,{t:t}=_0x5e1c70['locale'],_0x314636=_0x5e1c70['plugins']['get'](_0x5499cf),{defaultPositions:_0x17de6c}=_0x3430e8;_0x314636['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x5e1c70['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x30cce9=>{let _0x2399fa=_0x30cce9['getFirstPosition']()?.['parent'];return _0x2399fa?.['is']('$text')&&(_0x2399fa=_0x2399fa['parent']),_0x2399fa?.['is']('element')?_0x2399fa['findAncestor'](_0x1c3790):null;},'positions':[_0x17de6c['southArrowNorth'],_0x17de6c['southArrowNorthMiddleWest'],_0x17de6c['southArrowNorthMiddleEast'],_0x17de6c['southArrowNorthWest'],_0x17de6c['southArrowNorthEast'],_0x17de6c['northArrowSouth'],_0x17de6c['northArrowSouthMiddleWest'],_0x17de6c['northArrowSouthMiddleEast'],_0x17de6c['northArrowSouthWest'],_0x17de6c['northArrowSouthEast'],_0x17de6c['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x4e8324,ButtonView as _0x28cb74,ContextualBalloon as _0x462d6a,createDropdown as _0x3cdf8e}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x49ac1f}from'ckeditor5/src/widget.js';import{Plugin as _0xefdae4}from'ckeditor5/src/core.js';import{IconFootnote as _0x17877b,IconListStyleDecimal as _0x126572,IconListStyleDecimalLeadingZero as _0x58a53d,IconListStyleLowerLatin as _0x53c593,IconListStyleLowerRoman as _0x5d1f5a,IconListStyleUpperLatin as _0x21cfd7,IconListStyleUpperRoman as _0x2aa979}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x58bb5f}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x24ccf2}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xefdae4{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x462d6a,_0x49ac1f];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x110318}=this,{componentFactory:_0x4d8e3e}=_0x110318['ui'];_0x110318['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x4d8e3e['add']('footnotesStyle',function(_0x8be9b1){return _0x10b7c6=>{const {t:t}=_0x10b7c6,_0xa82a5a=_0x8be9b1['commands']['get']('footnotesStyle'),_0x2cf043=_0x3cdf8e(_0x10b7c6),{buttonView:_0x55680d}=_0x2cf043;return _0x2cf043['class']='ck-footnotes-styles-dropdown',_0x2cf043['bind']('isEnabled')['to'](_0xa82a5a,'isEnabled'),_0x55680d['set']({'label':t('Footnotes\x20style'),'icon':_0x17877b,'tooltip':!0x0}),_0x2cf043['once']('change:isOpen',()=>{const _0x95a330=function({editor:_0x2ad4a6,dropdownView:_0x24fbb7}){const {t:t}=_0x2ad4a6['locale'],_0x56e028=t('Footnotes\x20definitions\x20styles'),_0x4d76cd=function(_0x42f79a){const t=_0x42f79a['locale']['t'],_0x4718f6=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x126572},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x58a53d},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5d1f5a},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x2aa979},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x53c593},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x21cfd7}];return _0x4718f6['map'](function(_0x2d71ed){const _0x262ea3=_0x2d71ed['locale'];return({label:_0x1abdbd,icon:_0x4ff9a5,tooltip:_0x19838f,style:_0x210f92})=>{const _0x4591b7=_0x2d71ed['commands']['get']('footnotesStyle'),_0x462555=new _0x28cb74(_0x262ea3);return _0x462555['set']({'label':_0x1abdbd,'icon':_0x4ff9a5,'tooltip':_0x19838f}),_0x462555['bind']('isOn')['to'](_0x4591b7,'value',_0x3e1cec=>_0x3e1cec===_0x210f92),_0x462555['bind']('isEnabled')['to'](_0x4591b7,'isEnabled'),_0x462555['on']('execute',()=>{_0x2d71ed['execute']('footnotesStyle',{'value':_0x210f92}),_0x2d71ed['editing']['view']['focus']();}),_0x462555;};}(_0x42f79a));}(_0x2ad4a6),_0x1068cf=new _0x58bb5f(_0x2ad4a6['locale'],{'styleGridAriaLabel':_0x56e028,'styleButtonViews':_0x4d76cd});return _0x1068cf['delegate']('execute')['to'](_0x24fbb7),_0x1068cf['on']('footnotesListStart',(_0x1b02c6,_0x4816f6)=>{_0x2ad4a6['execute']('footnotesStart',{'value':_0x4816f6['startIndex']});}),_0x1068cf;}({'editor':_0x8be9b1,'dropdownView':_0x2cf043});_0x2cf043['panelView']['children']['add'](_0x95a330);}),_0x2cf043;};}(_0x110318));}['afterInit'](){const {editor:_0xcbbdeb}=this,{t:t}=_0xcbbdeb['locale'],_0x43a1c4=_0xcbbdeb['plugins']['get'](_0x49ac1f),{defaultPositions:_0x242493}=_0x4e8324;_0x43a1c4['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0xcbbdeb['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x16f010=>{let _0x2cb1bc=_0x16f010['getFirstPosition']()?.['parent'];return _0x2cb1bc?.['is']('$text')&&(_0x2cb1bc=_0x2cb1bc['parent']),_0x2cb1bc?.['is']('element')?_0x2cb1bc['findAncestor'](_0x24ccf2):null;},'positions':[_0x242493['southArrowNorth'],_0x242493['southArrowNorthMiddleWest'],_0x242493['southArrowNorthMiddleEast'],_0x242493['southArrowNorthWest'],_0x242493['southArrowNorthEast'],_0x242493['northArrowSouth'],_0x242493['northArrowSouthMiddleWest'],_0x242493['northArrowSouthMiddleEast'],_0x242493['northArrowSouthWest'],_0x242493['northArrowSouthEast'],_0x242493['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0xb5188e,View as _0x236c43,ViewCollection as _0x2856e9,FocusCycler as _0x37b353,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 _0x236c43{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x2856e9();['focusCycler'];constructor(_0x359322,{styleButtonViews:_0x14f01f,styleGridAriaLabel:_0x2f50b5}){super(_0x359322),(this['focusCycler']=new _0x37b353({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x14f01f,_0x2f50b5),[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 _0x504303 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x504303['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 _0x48cd7c=_0x8e58d0=>_0x8e58d0['stopPropagation']();this['keystrokes']['set']('arrowright',_0x48cd7c),this['keystrokes']['set']('arrowleft',_0x48cd7c),this['keystrokes']['set']('arrowup',_0x48cd7c),this['keystrokes']['set']('arrowdown',_0x48cd7c);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x17bce2,_0x52c992){const _0x2b8657=new _0x236c43(this['locale']);return _0x2b8657['children']=_0x2b8657['createCollection'](),_0x2b8657['children']['addMany'](_0x17bce2),_0x2b8657['setTemplate']({'tag':'div','attributes':{'aria-label':_0x52c992,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x2b8657['children']}),_0x2b8657['children']['delegate']('execute')['to'](this),_0x2b8657['focus']=function(){for(const _0x366928 of this['children'])if(_0x366928 instanceof _0xb5188e&&_0x366928['isOn'])return void _0x366928['focus']();this['children']['first']['focus']();},_0x2b8657['focusTracker']=new ot(),_0x2b8657['keystrokes']=new rt(),_0x2b8657['render'](),_0x2b8657['keystrokes']['listenTo'](_0x2b8657['element']),this['children']['add'](_0x2b8657),_0x2b8657;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x1a2216=this['_createStartIndexPropertyView'](),_0x4f8b1a=[_0x1a2216],_0x240f94=new st(this['locale'],_0x4f8b1a);return _0x240f94['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x240f94['buttonView']['bind']('isEnabled')['toMany'](_0x4f8b1a,'isEnabled',(..._0x3f49eb)=>_0x3f49eb['some'](_0xf2c692=>_0xf2c692)),_0x240f94['buttonView']['on']('change:isEnabled',(_0x5137e6,_0x2d92a4,_0x169760)=>{_0x169760||(_0x240f94['isCollapsed']=!0x0);}),this['children']['add'](_0x240f94),[_0x1a2216,_0x240f94];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x445aa7=new it(this['locale'],et);return _0x445aa7['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x445aa7['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x445aa7['fieldView']['on']('input',()=>{const _0x5e6194=_0x445aa7['fieldView']['element'],_0x31aa75=_0x5e6194['valueAsNumber'];Number['isNaN'](_0x31aa75)?_0x445aa7['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x5e6194['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x31aa75}):_0x445aa7['errorText']=t(_0x31aa75<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x445aa7;}}
23
+ import{ButtonView as _0x4bde13,View as _0x56d459,ViewCollection as _0x13fff5,FocusCycler as _0xa9e860,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 _0x56d459{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x13fff5();['focusCycler'];constructor(_0x63c81d,{styleButtonViews:_0x47078e,styleGridAriaLabel:_0x47ec1e}){super(_0x63c81d),(this['focusCycler']=new _0xa9e860({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x47078e,_0x47ec1e),[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 _0x4fbabd of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x4fbabd['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 _0x579b95=_0x2c028b=>_0x2c028b['stopPropagation']();this['keystrokes']['set']('arrowright',_0x579b95),this['keystrokes']['set']('arrowleft',_0x579b95),this['keystrokes']['set']('arrowup',_0x579b95),this['keystrokes']['set']('arrowdown',_0x579b95);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x188f1d,_0x58f0ae){const _0x87615c=new _0x56d459(this['locale']);return _0x87615c['children']=_0x87615c['createCollection'](),_0x87615c['children']['addMany'](_0x188f1d),_0x87615c['setTemplate']({'tag':'div','attributes':{'aria-label':_0x58f0ae,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x87615c['children']}),_0x87615c['children']['delegate']('execute')['to'](this),_0x87615c['focus']=function(){for(const _0x21aa71 of this['children'])if(_0x21aa71 instanceof _0x4bde13&&_0x21aa71['isOn'])return void _0x21aa71['focus']();this['children']['first']['focus']();},_0x87615c['focusTracker']=new ot(),_0x87615c['keystrokes']=new rt(),_0x87615c['render'](),_0x87615c['keystrokes']['listenTo'](_0x87615c['element']),this['children']['add'](_0x87615c),_0x87615c;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x395bee=this['_createStartIndexPropertyView'](),_0xe92850=[_0x395bee],_0xce9cf8=new st(this['locale'],_0xe92850);return _0xce9cf8['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0xce9cf8['buttonView']['bind']('isEnabled')['toMany'](_0xe92850,'isEnabled',(..._0x3c1a0b)=>_0x3c1a0b['some'](_0x13f52c=>_0x13f52c)),_0xce9cf8['buttonView']['on']('change:isEnabled',(_0x4cbe58,_0x23742a,_0x4b67b4)=>{_0x4b67b4||(_0xce9cf8['isCollapsed']=!0x0);}),this['children']['add'](_0xce9cf8),[_0x395bee,_0xce9cf8];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x1db54b=new it(this['locale'],et);return _0x1db54b['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x1db54b['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x1db54b['fieldView']['on']('input',()=>{const _0x22dfcb=_0x1db54b['fieldView']['element'],_0x1404d5=_0x22dfcb['valueAsNumber'];Number['isNaN'](_0x1404d5)?_0x1db54b['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x22dfcb['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x1404d5}):_0x1db54b['errorText']=t(_0x1404d5<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x1db54b;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x2b8d(_0x2b57a7,_0x300218){var _0x3b284c=_0x3b28();return _0x2b8d=function(_0x2b8da2,_0x1a2f19){_0x2b8da2=_0x2b8da2-0x177;var _0x3cf518=_0x3b284c[_0x2b8da2];return _0x3cf518;},_0x2b8d(_0x2b57a7,_0x300218);}var _0x1a2338=_0x2b8d;(function(_0x4be034,_0x71ebf2){var _0x23a604=_0x2b8d,_0x10c51c=_0x4be034();while(!![]){try{var _0x2eb5b8=parseInt(_0x23a604(0x181))/0x1+-parseInt(_0x23a604(0x17a))/0x2*(parseInt(_0x23a604(0x183))/0x3)+-parseInt(_0x23a604(0x17b))/0x4+-parseInt(_0x23a604(0x17e))/0x5*(-parseInt(_0x23a604(0x180))/0x6)+parseInt(_0x23a604(0x182))/0x7*(parseInt(_0x23a604(0x17d))/0x8)+parseInt(_0x23a604(0x185))/0x9+parseInt(_0x23a604(0x184))/0xa;if(_0x2eb5b8===_0x71ebf2)break;else _0x10c51c['push'](_0x10c51c['shift']());}catch(_0x36976f){_0x10c51c['push'](_0x10c51c['shift']());}}}(_0x3b28,0x98cb4));import{Plugin as _0xb204a3}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0xa67f02}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x5aedc2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0xb204a3{static get[_0x1a2338(0x177)](){var _0x54bcc7=_0x1a2338;return _0x54bcc7(0x179);}static get[_0x1a2338(0x17c)](){return[_0xa67f02,_0x5aedc2];}static get[_0x1a2338(0x17f)](){return!0x0;}static get[_0x1a2338(0x178)](){return!0x0;}}function _0x3b28(){var _0x1fecda=['8210079ZXucnt','pluginName','isPremiumPlugin','FootnotesProperties','158152fzqcBW','4360972bnKgCw','requires','552yTWUpf','1015fWMjGi','isOfficialPlugin','10434kFwtcN','383874atPcqs','41447cKfxoN','21nNOHCE','2119480MBuOdo'];_0x3b28=function(){return _0x1fecda;};return _0x3b28();}
23
+ var _0x1f5614=_0x3181;(function(_0x3e7a25,_0x3ce8c1){var _0x4ef66c=_0x3181,_0x232efe=_0x3e7a25();while(!![]){try{var _0x58d33a=-parseInt(_0x4ef66c(0x117))/0x1*(parseInt(_0x4ef66c(0x114))/0x2)+-parseInt(_0x4ef66c(0x10a))/0x3+parseInt(_0x4ef66c(0x10c))/0x4*(-parseInt(_0x4ef66c(0x111))/0x5)+-parseInt(_0x4ef66c(0x10e))/0x6*(-parseInt(_0x4ef66c(0x115))/0x7)+-parseInt(_0x4ef66c(0x118))/0x8+parseInt(_0x4ef66c(0x112))/0x9*(-parseInt(_0x4ef66c(0x10d))/0xa)+-parseInt(_0x4ef66c(0x10f))/0xb*(-parseInt(_0x4ef66c(0x109))/0xc);if(_0x58d33a===_0x3ce8c1)break;else _0x232efe['push'](_0x232efe['shift']());}catch(_0x93b8a5){_0x232efe['push'](_0x232efe['shift']());}}}(_0x52fc,0x6a284));function _0x52fc(){var _0x4d3525=['10ZPYPJG','205326PIdfKc','2173941ZGkDCw','isOfficialPlugin','425YxRdnc','4338531ioPnfx','pluginName','4664IqntGO','70RRlYao','FootnotesProperties','153xXflwc','767152SNLOuI','isPremiumPlugin','84DOTwEC','396504SmuNGZ','requires','10536dZJbbD'];_0x52fc=function(){return _0x4d3525;};return _0x52fc();}function _0x3181(_0x2193a7,_0x5ea4f6){var _0x52fc9e=_0x52fc();return _0x3181=function(_0x3181b4,_0x50eae1){_0x3181b4=_0x3181b4-0x108;var _0x19a530=_0x52fc9e[_0x3181b4];return _0x19a530;},_0x3181(_0x2193a7,_0x5ea4f6);}import{Plugin as _0x10de82}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x2f98c9}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0x3015e2}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x10de82{static get[_0x1f5614(0x113)](){var _0x2555a3=_0x1f5614;return _0x2555a3(0x116);}static get[_0x1f5614(0x10b)](){return[_0x2f98c9,_0x3015e2];}static get[_0x1f5614(0x110)](){return!0x0;}static get[_0x1f5614(0x108)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x54db(_0x535659,_0x26e749){const _0x3ec784=_0x3ec7();return _0x54db=function(_0x54db7e,_0x4b8e62){_0x54db7e=_0x54db7e-0xc7;let _0x446c26=_0x3ec784[_0x54db7e];return _0x446c26;},_0x54db(_0x535659,_0x26e749);}const _0x3cc163=_0x54db;(function(_0x42db0f,_0x47fa76){const _0x16b393=_0x54db,_0x6a26e3=_0x42db0f();while(!![]){try{const _0x5c4e69=-parseInt(_0x16b393(0x102))/0x1*(-parseInt(_0x16b393(0xe9))/0x2)+-parseInt(_0x16b393(0xf1))/0x3+-parseInt(_0x16b393(0xdf))/0x4+-parseInt(_0x16b393(0xfd))/0x5+-parseInt(_0x16b393(0x127))/0x6*(-parseInt(_0x16b393(0x10e))/0x7)+-parseInt(_0x16b393(0xd3))/0x8*(-parseInt(_0x16b393(0x121))/0x9)+parseInt(_0x16b393(0x111))/0xa*(parseInt(_0x16b393(0x10f))/0xb);if(_0x5c4e69===_0x47fa76)break;else _0x6a26e3['push'](_0x6a26e3['shift']());}catch(_0x4bed57){_0x6a26e3['push'](_0x6a26e3['shift']());}}}(_0x3ec7,0x5ef2e));import{Plugin as _0x40ddf5}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x20ecae}from'./modelelementtracker.js';export class FootnotesTracker extends _0x40ddf5{[_0x3cc163(0xe3)]=[];[_0x3cc163(0xe1)]=null;[_0x3cc163(0xd0)]=null;[_0x3cc163(0x105)];[_0x3cc163(0x119)];[_0x3cc163(0xf2)];static get[_0x3cc163(0x103)](){const _0x1b945b=_0x3cc163;return _0x1b945b(0xc9);}static get[_0x3cc163(0x109)](){return!0x0;}static get[_0x3cc163(0x106)](){return!0x0;}constructor(_0x460f49){const _0x108afc=_0x3cc163;super(_0x460f49),this[_0x108afc(0x105)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0x10d),'getElementKey':()=>_0x108afc(0x110)}),this[_0x108afc(0x119)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0x101),'getElementKey':_0x5a1b64=>_0x5a1b64[_0x108afc(0xec)](_0x108afc(0xd9))}),this[_0x108afc(0xf2)]=new _0x20ecae(this[_0x108afc(0x118)][_0x108afc(0xcd)],{'elementName':_0x108afc(0xd4),'getElementKey':_0x4d8a81=>_0x4d8a81[_0x108afc(0xec)](_0x108afc(0xd9))});}[_0x3cc163(0x108)](){const _0x1473dc=_0x3cc163,{editor:_0xa5d0ff}=this,{model:_0x18d48c,data:_0x388a3a}=_0xa5d0ff;_0x18d48c[_0x1473dc(0xe2)][_0x1473dc(0xda)](_0x368359=>{const _0x7c8064=_0x1473dc,_0x5d9cd4=_0x18d48c[_0x7c8064(0xe2)][_0x7c8064(0x125)][_0x7c8064(0x11d)]();let _0x2c53e1=!0x1;return this[_0x7c8064(0xfa)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0x114)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf7)](_0x368359,_0x5d9cd4)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf4)](_0x368359)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xf5)](_0x368359)&&(_0x2c53e1=!0x0),this[_0x7c8064(0xca)](_0x368359)&&(_0x2c53e1=!0x0),_0x2c53e1;}),this[_0x1473dc(0x11a)](_0x18d48c[_0x1473dc(0xe2)],_0x1473dc(0x12a),()=>{const _0x342c56=_0x1473dc;_0x18d48c[_0x342c56(0xe4)]({'isUndoable':!0x1},_0x3306c1=>{const _0x3ecb40=_0x342c56;this[_0x3ecb40(0xe0)](_0x3306c1);});},{'priority':_0x1473dc(0xcb)}),this[_0x1473dc(0x11a)](_0x388a3a,_0x1473dc(0xef),()=>{const _0x593bc3=_0x1473dc;this[_0x593bc3(0xe3)]=[],this[_0x593bc3(0x105)][_0x593bc3(0xf6)](),this[_0x593bc3(0x119)][_0x593bc3(0xf6)](),this[_0x593bc3(0xf2)][_0x593bc3(0xf6)]();},{'priority':_0x1473dc(0x10b)});}[_0x3cc163(0xe7)](){const _0x57c1f8=_0x3cc163;return this[_0x57c1f8(0xe1)];}[_0x3cc163(0xd6)](_0x632318){const _0x30f4b7=_0x3cc163;return this[_0x30f4b7(0xe3)][_0x30f4b7(0x129)](_0x4e596a=>_0x4e596a['id']===_0x632318)||null;}[_0x3cc163(0xea)](){const _0x287cbf=_0x3cc163;return Array[_0x287cbf(0xfe)](this[_0x287cbf(0xe3)]);}[_0x3cc163(0xd5)](){const _0x4b84ab=_0x3cc163;return this[_0x4b84ab(0xd0)];}[_0x3cc163(0x117)](_0x28cc95){const _0x5c8ee5=_0x3cc163;this[_0x5c8ee5(0xd0)]=_0x28cc95;}[_0x3cc163(0x112)](_0xf559d5,_0x1c8e10=0x0){const _0x93228f=_0x3cc163;let _0x248a71=!0x1;for(let _0x3d102d=_0x1c8e10;_0x3d102d<this[_0x93228f(0xe3)][_0x93228f(0xff)];_0x3d102d++)this[_0x93228f(0xd1)](_0xf559d5,_0x3d102d)&&(_0x248a71=!0x0);return _0x248a71;}[_0x3cc163(0x128)](_0x3c522b,_0x45c28c){const _0xf3158a=_0x3cc163,_0x3e58d3=_0x3c522b[_0xf3158a(0x12b)](_0xf3158a(0x10d),{});return _0x3c522b[_0xf3158a(0xe8)](_0x3e58d3,_0x45c28c),this[_0xf3158a(0xe1)]=_0x3e58d3,_0x3e58d3;}[_0x3cc163(0xe0)](_0x15bf9a){const _0x305b2a=_0x3cc163;if(!this[_0x305b2a(0xe3)][_0x305b2a(0xff)]||this[_0x305b2a(0xe1)])return;const _0x26d2a9=this[_0x305b2a(0xe3)][0x0][_0x305b2a(0xfc)][_0x305b2a(0x100)],_0xb07896=this[_0x305b2a(0x128)](_0x15bf9a,_0x26d2a9);for(const _0x4384d4 of this[_0x305b2a(0xe3)])_0x4384d4[_0x305b2a(0xc7)][_0x305b2a(0xd2)]||_0x15bf9a[_0x305b2a(0xde)](_0x4384d4[_0x305b2a(0xc7)],_0xb07896,_0x305b2a(0xf8));this[_0x305b2a(0x112)](_0x15bf9a);}[_0x3cc163(0xfa)](_0x285af5,_0x4678cb){const _0x8286f0=_0x3cc163;let _0x565672=!0x1;const {inserted:_0x47dc1,removed:_0x54526b,moved:_0x7d47da}=this[_0x8286f0(0x105)][_0x8286f0(0x11d)](_0x4678cb);if(_0x7d47da[_0x8286f0(0xff)]&&(this[_0x8286f0(0xe1)]=_0x7d47da[0x0]),_0x47dc1[_0x8286f0(0xff)]){if(_0x47dc1[_0x8286f0(0xff)]>0x1||this[_0x8286f0(0xe1)]&&_0x47dc1[_0x8286f0(0xd8)](_0x2c841b=>_0x2c841b!==this[_0x8286f0(0xe1)])){const _0x3e5b6e=_0x285af5[_0x8286f0(0x12b)](_0x8286f0(0x10d),{}),_0x19abd8=[];this[_0x8286f0(0xe1)]&&_0x19abd8[_0x8286f0(0x120)](this[_0x8286f0(0xe1)]),_0x19abd8[_0x8286f0(0x120)](..._0x47dc1),_0x285af5[_0x8286f0(0xde)](_0x3e5b6e,_0x19abd8[0x0],_0x8286f0(0x123));for(const _0x4309fa of _0x19abd8)_0x285af5[_0x8286f0(0x10a)](_0x285af5[_0x8286f0(0xdc)](_0x4309fa),_0x285af5[_0x8286f0(0xcc)](_0x3e5b6e,_0x8286f0(0xf8))),_0x285af5[_0x8286f0(0xeb)](_0x4309fa);this[_0x8286f0(0xe1)]=_0x3e5b6e,this[_0x8286f0(0x112)](_0x285af5),_0x565672=!0x0;}else this[_0x8286f0(0xe1)]=_0x47dc1[0x0];}if(_0x54526b[_0x8286f0(0xff)]&&_0x8286f0(0x11e)===this[_0x8286f0(0xe1)]?.[_0x8286f0(0x100)][_0x8286f0(0x104)]){for(const _0x55ba5b of this[_0x8286f0(0xe3)])_0x285af5[_0x8286f0(0xeb)](_0x55ba5b[_0x8286f0(0xfc)]),_0x565672=!0x0;this[_0x8286f0(0xe3)]=[],this[_0x8286f0(0xe1)]=null;}return _0x565672;}[_0x3cc163(0x114)](_0x656eba,_0x5927e3){const _0x3b9923=_0x3cc163;let _0xc242a5=!0x1;const _0x58484c=this[_0x3b9923(0x118)][_0x3b9923(0xf9)][_0x3b9923(0xc8)](_0x3b9923(0x124)),{inserted:_0x5a6617,moved:_0x17f3ba}=this[_0x3b9923(0xf2)][_0x3b9923(0x11d)](_0x5927e3);for(const _0x25ce37 of[..._0x17f3ba,..._0x5a6617]){const _0x43a334=_0x25ce37[_0x3b9923(0xec)](_0x3b9923(0xd9)),_0x56feb3=this[_0x3b9923(0xd6)](_0x43a334);_0x56feb3&&(_0x56feb3[_0x3b9923(0xc7)]=_0x25ce37),_(_0x656eba,_0x58484c,_0x25ce37)&&(_0xc242a5=!0x0);}return _0xc242a5;}[_0x3cc163(0xf7)](_0x5cc55b,_0x10c4b6){const _0x56ec87=_0x3cc163;let _0x478b55=!0x1;const {removed:_0x28e30e,inserted:_0x58c7d6,moved:_0x1be633}=this[_0x56ec87(0x119)][_0x56ec87(0x11d)](_0x10c4b6);for(const _0x4dcc34 of _0x28e30e)this[_0x56ec87(0xce)](_0x5cc55b,_0x4dcc34)&&(_0x478b55=!0x0);for(const _0x50103b of _0x58c7d6)this[_0x56ec87(0x11f)](_0x5cc55b,_0x50103b)&&(_0x478b55=!0x0);for(const _0x2c4dfa of _0x1be633)this[_0x56ec87(0x11c)](_0x5cc55b,_0x2c4dfa)&&(_0x478b55=!0x0);return _0x478b55;}[_0x3cc163(0xf5)](_0x1318b9){const _0x1b6ee5=_0x3cc163;if(!this[_0x1b6ee5(0xe1)])return!0x1;let _0x58a84f=!0x1;if(this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x113)]!==this[_0x1b6ee5(0xe3)][_0x1b6ee5(0xff)]){const _0x2bb8c1=[];for(const _0x142fba of this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x116)]()){const _0x5063c4=_0x142fba[_0x1b6ee5(0xec)](_0x1b6ee5(0xd9));this[_0x1b6ee5(0xd6)](_0x5063c4)||(_0x2bb8c1[_0x1b6ee5(0xe6)](_0x142fba),_0x58a84f=!0x0);}for(const _0x32bfc2 of _0x2bb8c1)_0x1318b9[_0x1b6ee5(0xeb)](_0x32bfc2);}const _0x26a444=new Set(),_0x463a6d=[];for(const _0x5c0e0f of this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x116)]()){const _0x1f0bd1=_0x5c0e0f[_0x1b6ee5(0xec)](_0x1b6ee5(0xd9));_0x26a444[_0x1b6ee5(0xfb)](_0x1f0bd1)?(_0x463a6d[_0x1b6ee5(0xe6)](_0x5c0e0f),_0x58a84f=!0x0):_0x26a444[_0x1b6ee5(0x11b)](_0x1f0bd1);}for(const _0x3c2e10 of _0x463a6d)_0x1318b9[_0x1b6ee5(0xeb)](_0x3c2e10);return this[_0x1b6ee5(0xe1)][_0x1b6ee5(0x113)]||(_0x1318b9[_0x1b6ee5(0xeb)](this[_0x1b6ee5(0xe1)]),this[_0x1b6ee5(0xe1)]=null,_0x58a84f=!0x0),_0x58a84f;}[_0x3cc163(0x11f)](_0x28df9f,_0x1b8ba0){const _0x2cb204=_0x3cc163;if(this[_0x2cb204(0xe3)][_0x2cb204(0x129)](_0x573cbf=>_0x573cbf[_0x2cb204(0xfc)]===_0x1b8ba0))return!0x1;let _0xd5d18d=!0x1;const _0x18ae2e=_0x1b8ba0[_0x2cb204(0xec)](_0x2cb204(0xd9)),_0x1f0b12=this[_0x2cb204(0xe3)][_0x2cb204(0xd7)](_0x556bf9=>_0x556bf9['id']===_0x18ae2e);-0x1!==_0x1f0b12&&(_0x28df9f[_0x2cb204(0xeb)](this[_0x2cb204(0xe3)][_0x1f0b12][_0x2cb204(0xfc)]),this[_0x2cb204(0xe3)][_0x2cb204(0xf3)](_0x1f0b12,0x1),_0xd5d18d=!0x0);let _0x3d7dd3=this[_0x2cb204(0xe1)]?function(_0x58fb5b,_0x38b3cd){const _0x1a5dc9=_0x2cb204;for(const _0x51db78 of _0x58fb5b[_0x1a5dc9(0x116)]())if(_0x51db78[_0x1a5dc9(0xec)](_0x1a5dc9(0xd9))===_0x38b3cd)return _0x51db78;return null;}(this[_0x2cb204(0xe1)],_0x18ae2e):null;_0x3d7dd3||(_0x3d7dd3=_0x28df9f[_0x2cb204(0x12b)](_0x2cb204(0xd4),{'footnoteId':_0x18ae2e}),this[_0x2cb204(0xe1)]&&(_0x28df9f[_0x2cb204(0xde)](_0x3d7dd3,this[_0x2cb204(0xe1)],_0x2cb204(0xf8)),_0xd5d18d=!0x0));const _0xefbb8d={'id':_0x18ae2e,'reference':_0x1b8ba0,'definition':_0x3d7dd3},_0x59fde8=I(this[_0x2cb204(0x118)][_0x2cb204(0xcd)],this[_0x2cb204(0xe3)],_0x1b8ba0);this[_0x2cb204(0xe3)][_0x2cb204(0xf3)](_0x59fde8,0x0,_0xefbb8d);let _0x1a78ce=_0x59fde8;return-0x1!==_0x1f0b12&&(_0x1a78ce=Math[_0x2cb204(0xee)](_0x59fde8,_0x1f0b12)),this[_0x2cb204(0x112)](_0x28df9f,_0x1a78ce)&&(_0xd5d18d=!0x0),_0xd5d18d;}[_0x3cc163(0xce)](_0x1ee14a,_0x3f56ea){const _0x78d323=_0x3cc163,_0x5b8243=this[_0x78d323(0xe3)][_0x78d323(0xd7)](_0x35a0fe=>_0x35a0fe['id']===_0x3f56ea);if(-0x1===_0x5b8243)return!0x1;let _0xa2effe=!0x1;const _0xe89765=this[_0x78d323(0xe3)][_0x5b8243];return _0x78d323(0x11e)!==_0xe89765[_0x78d323(0xc7)][_0x78d323(0x100)][_0x78d323(0x104)]&&(_0x1ee14a[_0x78d323(0xeb)](_0xe89765[_0x78d323(0xc7)]),_0xa2effe=!0x0),this[_0x78d323(0xe3)][_0x78d323(0xf3)](_0x5b8243,0x1),this[_0x78d323(0x112)](_0x1ee14a,_0x5b8243)&&(_0xa2effe=!0x0),_0xa2effe;}[_0x3cc163(0x11c)](_0x43efaa,_0x1c3dc2){const _0x4d1a17=_0x3cc163,_0x51f229=_0x1c3dc2[_0x4d1a17(0xec)](_0x4d1a17(0xd9)),_0x5af475=this[_0x4d1a17(0xe3)][_0x4d1a17(0xd7)](_0x518101=>_0x518101['id']===_0x51f229),_0x1ae9fe=this[_0x4d1a17(0xe3)][_0x5af475];let _0x122a80=!0x1;_0x1ae9fe[_0x4d1a17(0xfc)]=_0x1c3dc2,this[_0x4d1a17(0xe3)][_0x4d1a17(0xf3)](_0x5af475,0x1);const _0x3cc989=I(this[_0x4d1a17(0x118)][_0x4d1a17(0xcd)],this[_0x4d1a17(0xe3)],_0x1c3dc2);return this[_0x4d1a17(0xe3)][_0x4d1a17(0xf3)](_0x3cc989,0x0,_0x1ae9fe),this[_0x4d1a17(0x112)](_0x43efaa,Math[_0x4d1a17(0xee)](_0x5af475,_0x3cc989))&&(_0x122a80=!0x0),_0x122a80;}[_0x3cc163(0xd1)](_0x20f6c3,_0x37e895){const _0x473e3d=_0x3cc163;if(!this[_0x473e3d(0xe1)])return!0x1;const _0x19c1de=this[_0x473e3d(0xe3)][_0x37e895];let _0x335c57;return _0x335c57=this[_0x473e3d(0xd0)]?this[_0x473e3d(0xd0)]({'footnote':_0x19c1de,'container':this[_0x473e3d(0xe1)],'digits':String(this[_0x473e3d(0xe3)][_0x473e3d(0xff)])[_0x473e3d(0xff)],'value':_0x37e895+0x1}):String(_0x37e895+0x1),_0x19c1de[_0x473e3d(0xfc)][_0x473e3d(0xec)](_0x473e3d(0xdd))!=_0x335c57&&(_0x20f6c3[_0x473e3d(0xdb)](_0x473e3d(0xdd),_0x335c57,_0x19c1de[_0x473e3d(0xfc)]),!0x0);}[_0x3cc163(0xca)](_0x583821){const _0xe1ecb2=_0x3cc163;if(!this[_0xe1ecb2(0xe1)]||this[_0xe1ecb2(0xe3)][_0xe1ecb2(0xff)]<0x2)return!0x1;if(function(_0x578b1d,_0x150ff9){const _0x8af6ec=_0xe1ecb2;if(_0x578b1d[_0x8af6ec(0xff)]!==_0x150ff9[_0x8af6ec(0xff)])return!0x1;for(let _0x3c4275=0x0;_0x3c4275<_0x578b1d[_0x8af6ec(0xff)];_0x3c4275++)if(_0x578b1d[_0x3c4275]!==_0x150ff9[_0x3c4275])return!0x1;return!0x0;}(this[_0xe1ecb2(0xe3)][_0xe1ecb2(0x122)](_0x3fa312=>_0x3fa312['id']),Array[_0xe1ecb2(0xfe)](this[_0xe1ecb2(0xe1)][_0xe1ecb2(0x116)]())[_0xe1ecb2(0x122)](_0x2e9903=>_0x2e9903[_0xe1ecb2(0xec)](_0xe1ecb2(0xd9)))))return!0x1;let _0x7ebe62=!0x1;for(let _0x4e6da7=0x0;_0x4e6da7<this[_0xe1ecb2(0xe3)][_0xe1ecb2(0xff)];_0x4e6da7++){const _0x139d40=this[_0xe1ecb2(0xe3)][_0x4e6da7],_0x5c7df6=_0x583821[_0xe1ecb2(0x126)](_0x139d40[_0xe1ecb2(0xc7)]),_0x2f035d=_0x583821[_0xe1ecb2(0xcc)](this[_0xe1ecb2(0xe1)],_0x4e6da7);_0x5c7df6[_0xe1ecb2(0x10c)](_0x2f035d)||(_0x583821[_0xe1ecb2(0x10a)](_0x583821[_0xe1ecb2(0xcf)](_0x139d40[_0xe1ecb2(0xc7)]),_0x2f035d),_0x7ebe62=!0x0);}return _0x7ebe62;}[_0x3cc163(0xf4)](_0x34db16){const _0x7304dd=_0x3cc163;if(!this[_0x7304dd(0xe3)][_0x7304dd(0xff)])return!0x1;const {model:_0xaee5b3}=this[_0x7304dd(0x118)];let _0x4668c2=!0x1;for(let _0x1a44ce=0x0;_0x1a44ce<this[_0x7304dd(0xe3)][_0x7304dd(0xff)]-0x1;_0x1a44ce++){const _0x3f19f0=this[_0x7304dd(0xe3)][_0x1a44ce],_0x5ca48f=this[_0x7304dd(0xe3)][_0x1a44ce+0x1],_0xe6309d=_0xaee5b3[_0x7304dd(0x126)](_0x3f19f0[_0x7304dd(0xfc)]),_0x511070=_0xaee5b3[_0x7304dd(0x126)](_0x5ca48f[_0x7304dd(0xfc)]);_0x7304dd(0x115)===_0xe6309d[_0x7304dd(0xf0)](_0x511070)&&(this[_0x7304dd(0x11c)](_0x34db16,_0x3f19f0[_0x7304dd(0xfc)]),_0x1a44ce=-0x1,_0x4668c2=!0x0);}return _0x4668c2;}}function _0x3ec7(){const _0x246c81=['document','_footnotes','enqueueChange','indexOf','unshift','getFootnotesDefinitionsObjectElement','append','12682AwVDcH','getFootnotes','remove','getAttribute','footnoteInlineContent','min','set','compareWith','673812RCkLhS','_footnoteDefsTracker','splice','_ensureFootnotesReferencesHaveProperOrder','_handleFootnotesDefinitionsObjectSync','reset','_handleFootnoteReferencesChanges','end','config','_handleFootnotesDefinitionsObjectChanges','has','reference','2591845vhMhTq','from','length','root','footnoteRef','109gvlCcr','pluginName','rootName','_footnoteDefsContainerTracker','isPremiumPlugin','paragraph','init','isOfficialPlugin','move','high','isEqual','footnotesDefinitions','166922nFEeSw','77brrAoX','singleton','403400dmovZQ','_updateFootnotesCounters','childCount','_handleFootnoteDefinitionsChanges','after','getChildren','setFootnoteFormatter','editor','_footnoteRefsTracker','listenTo','add','_handleMovedFootnoteReference','getChanges','$graveyard','_handleInsertedFootnoteReference','push','4311RhqsOk','map','before','footnotes.multiBlock','differ','createPositionBefore','108grMDoq','_insertEmptyFootnotesDefinitionsContainer','find','change:data','createElement','getRootNames','definition','get','FootnotesTracker','_sortFootnoteDefinitions','low','createPositionAt','model','_handleRemoveFootnoteReferenceById','createRangeOn','_footnoteFormatter','_updateFootnoteRefCounter','parent','4280RUWXXa','footnoteDefinition','getFootnotesFormatter','getFootnote','findIndex','some','footnoteId','registerPostFixer','setAttribute','createRangeIn','footnoteCounter','insert','2108636mUTJyc','_ensureFootnotesDefinitionsContainerExists','_footnotesDefinitions'];_0x3ec7=function(){return _0x246c81;};return _0x3ec7();}function _(_0x139dfb,_0x12e2d7,_0x453261){const _0x2099dc=_0x3cc163;if(_0x453261[_0x2099dc(0x113)])return!0x1;const _0x20424a=_0x12e2d7?_0x2099dc(0x107):_0x2099dc(0xed);return _0x139dfb[_0x2099dc(0xde)](_0x139dfb[_0x2099dc(0x12b)](_0x20424a),_0x453261),!0x0;}function I(_0x6dd9ff,_0x509704,_0x135e20){const _0x71d56f=_0x3cc163;if(0x0===_0x509704[_0x71d56f(0xff)])return 0x0;const _0x443204=_0x6dd9ff[_0x71d56f(0x126)](_0x135e20);for(let _0x84357c=0x0;_0x84357c<_0x509704[_0x71d56f(0xff)];_0x84357c++){const _0x38f945=_0x509704[_0x84357c],_0x1579ec=_0x6dd9ff[_0x71d56f(0x126)](_0x38f945[_0x71d56f(0xfc)]);if(_0x71d56f(0x123)===_0x443204[_0x71d56f(0xf0)](_0x1579ec))return _0x84357c;}const _0x22301a=_0x135e20[_0x71d56f(0x100)];let _0x1828e2=-0x1;for(let _0x2757cf=_0x509704[_0x71d56f(0xff)]-0x1;_0x2757cf>=0x0;_0x2757cf--)if(_0x509704[_0x2757cf][_0x71d56f(0xfc)][_0x71d56f(0x100)]===_0x22301a){_0x1828e2=_0x2757cf;break;}if(-0x1!==_0x1828e2)return _0x1828e2+0x1;const _0x236919=_0x6dd9ff[_0x71d56f(0xe2)][_0x71d56f(0x12c)](),_0x579eae=_0x236919[_0x71d56f(0xe5)](_0x22301a[_0x71d56f(0x104)]),_0x310fa4=_0x236919[_0x579eae+0x1];if(_0x310fa4){for(let _0x2834ec=0x0;_0x2834ec<_0x509704[_0x71d56f(0xff)];_0x2834ec++)if(_0x509704[_0x2834ec][_0x71d56f(0xfc)][_0x71d56f(0x100)][_0x71d56f(0x104)]===_0x310fa4)return _0x2834ec;}return _0x509704[_0x71d56f(0xff)];}
23
+ const _0x584ec0=_0x292d;(function(_0x336349,_0x42739f){const _0x1a973a=_0x292d,_0x13996c=_0x336349();while(!![]){try{const _0x430a7d=parseInt(_0x1a973a(0x1b5))/0x1+parseInt(_0x1a973a(0x19d))/0x2*(parseInt(_0x1a973a(0x18f))/0x3)+parseInt(_0x1a973a(0x1aa))/0x4*(parseInt(_0x1a973a(0x19f))/0x5)+parseInt(_0x1a973a(0x17c))/0x6+-parseInt(_0x1a973a(0x1a5))/0x7+parseInt(_0x1a973a(0x1c3))/0x8+-parseInt(_0x1a973a(0x1bb))/0x9;if(_0x430a7d===_0x42739f)break;else _0x13996c['push'](_0x13996c['shift']());}catch(_0x199c81){_0x13996c['push'](_0x13996c['shift']());}}}(_0x30b4,0x1f068));import{Plugin as _0x54b784}from'ckeditor5/src/core.js';function _0x30b4(){const _0x409a19=['footnoteRef','setFootnoteFormatter','footnotesDefinitions','4pPhrCx','push','after','remove','footnotes.multiBlock','$graveyard','_handleFootnotesDefinitionsObjectChanges','isEqual','_ensureFootnotesDefinitionsContainerExists','footnoteDefinition','getChanges','138005WqBTGg','get','_footnotesDefinitions','_insertEmptyFootnotesDefinitionsContainer','footnoteInlineContent','editor','3722787PUPlCC','find','compareWith','childCount','high','model','document','getFootnotesDefinitionsObjectElement','31224zPvWTx','move','config','reference','set','min','getFootnote','differ','from','footnoteId','add','indexOf','init','change:data','map','pluginName','_footnoteRefsTracker','_handleRemoveFootnoteReferenceById','end','createRangeOn','some','_updateFootnotesCounters','singleton','paragraph','getFootnotes','_handleFootnoteReferencesChanges','_sortFootnoteDefinitions','enqueueChange','createPositionBefore','976620OMcTAX','_footnoteDefsTracker','parent','setAttribute','createRangeIn','registerPostFixer','footnoteCounter','insert','isPremiumPlugin','_handleInsertedFootnoteReference','_handleFootnoteDefinitionsChanges','isOfficialPlugin','definition','listenTo','rootName','root','has','FootnotesTracker','findIndex','3KYvsRb','unshift','_footnotes','low','_ensureFootnotesReferencesHaveProperOrder','getRootNames','getChildren','_footnoteDefsContainerTracker','append','getAttribute','createPositionAt','_handleMovedFootnoteReference','_handleFootnotesDefinitionsObjectSync','reset','81766hBaMZh','splice','1016035YMsNrD','length','getFootnotesFormatter','createElement','before','_footnoteFormatter','56315OctbiW','_updateFootnoteRefCounter'];_0x30b4=function(){return _0x409a19;};return _0x30b4();}import{ModelElementTracker as _0x4cc8bd}from'./modelelementtracker.js';export class FootnotesTracker extends _0x54b784{[_0x584ec0(0x191)]=[];[_0x584ec0(0x1b7)]=null;[_0x584ec0(0x1a4)]=null;[_0x584ec0(0x196)];[_0x584ec0(0x1d3)];[_0x584ec0(0x17d)];static get[_0x584ec0(0x1d2)](){const _0x47fd07=_0x584ec0;return _0x47fd07(0x18d);}static get[_0x584ec0(0x187)](){return!0x0;}static get[_0x584ec0(0x184)](){return!0x0;}constructor(_0x2dc42c){const _0x54861c=_0x584ec0;super(_0x2dc42c),this[_0x54861c(0x196)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a9),'getElementKey':()=>_0x54861c(0x1d9)}),this[_0x54861c(0x1d3)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1a7),'getElementKey':_0x38f5b9=>_0x38f5b9[_0x54861c(0x198)](_0x54861c(0x1cc))}),this[_0x54861c(0x17d)]=new _0x4cc8bd(this[_0x54861c(0x1ba)][_0x54861c(0x1c0)],{'elementName':_0x54861c(0x1b3),'getElementKey':_0x428399=>_0x428399[_0x54861c(0x198)](_0x54861c(0x1cc))});}[_0x584ec0(0x1cf)](){const _0x245bfd=_0x584ec0,{editor:_0x44c886}=this,{model:_0x5d4c66,data:_0x4e3831}=_0x44c886;_0x5d4c66[_0x245bfd(0x1c1)][_0x245bfd(0x181)](_0x4d5d39=>{const _0x1c75d6=_0x245bfd,_0x4e408a=_0x5d4c66[_0x1c75d6(0x1c1)][_0x1c75d6(0x1ca)][_0x1c75d6(0x1b4)]();let _0xf3849=!0x1;return this[_0x1c75d6(0x1b0)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x186)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dc)](_0x4d5d39,_0x4e408a)&&(_0xf3849=!0x0),this[_0x1c75d6(0x193)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x19b)](_0x4d5d39)&&(_0xf3849=!0x0),this[_0x1c75d6(0x1dd)](_0x4d5d39)&&(_0xf3849=!0x0),_0xf3849;}),this[_0x245bfd(0x189)](_0x5d4c66[_0x245bfd(0x1c1)],_0x245bfd(0x1d0),()=>{const _0x44b892=_0x245bfd;_0x5d4c66[_0x44b892(0x17a)]({'isUndoable':!0x1},_0x470787=>{const _0x2898eb=_0x44b892;this[_0x2898eb(0x1b2)](_0x470787);});},{'priority':_0x245bfd(0x192)}),this[_0x245bfd(0x189)](_0x4e3831,_0x245bfd(0x1c7),()=>{const _0x5630bc=_0x245bfd;this[_0x5630bc(0x191)]=[],this[_0x5630bc(0x196)][_0x5630bc(0x19c)](),this[_0x5630bc(0x1d3)][_0x5630bc(0x19c)](),this[_0x5630bc(0x17d)][_0x5630bc(0x19c)]();},{'priority':_0x245bfd(0x1bf)});}[_0x584ec0(0x1c2)](){const _0xe3b9e=_0x584ec0;return this[_0xe3b9e(0x1b7)];}[_0x584ec0(0x1c9)](_0x32cacf){const _0x353f45=_0x584ec0;return this[_0x353f45(0x191)][_0x353f45(0x1bc)](_0x2383ad=>_0x2383ad['id']===_0x32cacf)||null;}[_0x584ec0(0x1db)](){const _0x42cf28=_0x584ec0;return Array[_0x42cf28(0x1cb)](this[_0x42cf28(0x191)]);}[_0x584ec0(0x1a1)](){const _0x3f79da=_0x584ec0;return this[_0x3f79da(0x1a4)];}[_0x584ec0(0x1a8)](_0x2881c1){const _0x50ba8e=_0x584ec0;this[_0x50ba8e(0x1a4)]=_0x2881c1;}[_0x584ec0(0x1d8)](_0x112948,_0x457cf9=0x0){const _0x54c606=_0x584ec0;let _0x21dcd9=!0x1;for(let _0x1e8982=_0x457cf9;_0x1e8982<this[_0x54c606(0x191)][_0x54c606(0x1a0)];_0x1e8982++)this[_0x54c606(0x1a6)](_0x112948,_0x1e8982)&&(_0x21dcd9=!0x0);return _0x21dcd9;}[_0x584ec0(0x1b8)](_0x2652ea,_0x50af7b){const _0x4c072a=_0x584ec0,_0x5169ff=_0x2652ea[_0x4c072a(0x1a2)](_0x4c072a(0x1a9),{});return _0x2652ea[_0x4c072a(0x197)](_0x5169ff,_0x50af7b),this[_0x4c072a(0x1b7)]=_0x5169ff,_0x5169ff;}[_0x584ec0(0x1b2)](_0xaaaf3f){const _0x150d2f=_0x584ec0;if(!this[_0x150d2f(0x191)][_0x150d2f(0x1a0)]||this[_0x150d2f(0x1b7)])return;const _0x1505c5=this[_0x150d2f(0x191)][0x0][_0x150d2f(0x1c6)][_0x150d2f(0x18b)],_0x681af5=this[_0x150d2f(0x1b8)](_0xaaaf3f,_0x1505c5);for(const _0x14b041 of this[_0x150d2f(0x191)])_0x14b041[_0x150d2f(0x188)][_0x150d2f(0x17e)]||_0xaaaf3f[_0x150d2f(0x183)](_0x14b041[_0x150d2f(0x188)],_0x681af5,_0x150d2f(0x1d5));this[_0x150d2f(0x1d8)](_0xaaaf3f);}[_0x584ec0(0x1b0)](_0x475fed,_0x418fb8){const _0x126b93=_0x584ec0;let _0x5a7227=!0x1;const {inserted:_0x289fce,removed:_0x418c13,moved:_0x194620}=this[_0x126b93(0x196)][_0x126b93(0x1b4)](_0x418fb8);if(_0x194620[_0x126b93(0x1a0)]&&(this[_0x126b93(0x1b7)]=_0x194620[0x0]),_0x289fce[_0x126b93(0x1a0)]){if(_0x289fce[_0x126b93(0x1a0)]>0x1||this[_0x126b93(0x1b7)]&&_0x289fce[_0x126b93(0x1d7)](_0xceb231=>_0xceb231!==this[_0x126b93(0x1b7)])){const _0x58fcfd=_0x475fed[_0x126b93(0x1a2)](_0x126b93(0x1a9),{}),_0x42d676=[];this[_0x126b93(0x1b7)]&&_0x42d676[_0x126b93(0x1ab)](this[_0x126b93(0x1b7)]),_0x42d676[_0x126b93(0x1ab)](..._0x289fce),_0x475fed[_0x126b93(0x183)](_0x58fcfd,_0x42d676[0x0],_0x126b93(0x1a3));for(const _0x582f3b of _0x42d676)_0x475fed[_0x126b93(0x1c4)](_0x475fed[_0x126b93(0x180)](_0x582f3b),_0x475fed[_0x126b93(0x199)](_0x58fcfd,_0x126b93(0x1d5))),_0x475fed[_0x126b93(0x1ad)](_0x582f3b);this[_0x126b93(0x1b7)]=_0x58fcfd,this[_0x126b93(0x1d8)](_0x475fed),_0x5a7227=!0x0;}else this[_0x126b93(0x1b7)]=_0x289fce[0x0];}if(_0x418c13[_0x126b93(0x1a0)]&&_0x126b93(0x1af)===this[_0x126b93(0x1b7)]?.[_0x126b93(0x18b)][_0x126b93(0x18a)]){for(const _0xb44259 of this[_0x126b93(0x191)])_0x475fed[_0x126b93(0x1ad)](_0xb44259[_0x126b93(0x1c6)]),_0x5a7227=!0x0;this[_0x126b93(0x191)]=[],this[_0x126b93(0x1b7)]=null;}return _0x5a7227;}[_0x584ec0(0x186)](_0x18257e,_0x5cb7d7){const _0x10524f=_0x584ec0;let _0x4b9b10=!0x1;const _0x346cd8=this[_0x10524f(0x1ba)][_0x10524f(0x1c5)][_0x10524f(0x1b6)](_0x10524f(0x1ae)),{inserted:_0x175508,moved:_0x51f065}=this[_0x10524f(0x17d)][_0x10524f(0x1b4)](_0x5cb7d7);for(const _0x5696cf of[..._0x51f065,..._0x175508]){const _0x573322=_0x5696cf[_0x10524f(0x198)](_0x10524f(0x1cc)),_0x59a7dc=this[_0x10524f(0x1c9)](_0x573322);_0x59a7dc&&(_0x59a7dc[_0x10524f(0x188)]=_0x5696cf),_(_0x18257e,_0x346cd8,_0x5696cf)&&(_0x4b9b10=!0x0);}return _0x4b9b10;}[_0x584ec0(0x1dc)](_0x299ad2,_0xf177e9){const _0xd0dabf=_0x584ec0;let _0x3b0344=!0x1;const {removed:_0x5b4437,inserted:_0x461857,moved:_0x25856f}=this[_0xd0dabf(0x1d3)][_0xd0dabf(0x1b4)](_0xf177e9);for(const _0x2cf3bb of _0x5b4437)this[_0xd0dabf(0x1d4)](_0x299ad2,_0x2cf3bb)&&(_0x3b0344=!0x0);for(const _0xe9030d of _0x461857)this[_0xd0dabf(0x185)](_0x299ad2,_0xe9030d)&&(_0x3b0344=!0x0);for(const _0x484833 of _0x25856f)this[_0xd0dabf(0x19a)](_0x299ad2,_0x484833)&&(_0x3b0344=!0x0);return _0x3b0344;}[_0x584ec0(0x19b)](_0x494c82){const _0x193392=_0x584ec0;if(!this[_0x193392(0x1b7)])return!0x1;let _0x2d779c=!0x1;if(this[_0x193392(0x1b7)][_0x193392(0x1be)]!==this[_0x193392(0x191)][_0x193392(0x1a0)]){const _0x4cb0ef=[];for(const _0x158840 of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0xb2949e=_0x158840[_0x193392(0x198)](_0x193392(0x1cc));this[_0x193392(0x1c9)](_0xb2949e)||(_0x4cb0ef[_0x193392(0x190)](_0x158840),_0x2d779c=!0x0);}for(const _0x39954e of _0x4cb0ef)_0x494c82[_0x193392(0x1ad)](_0x39954e);}const _0x246352=new Set(),_0x479887=[];for(const _0x57fcca of this[_0x193392(0x1b7)][_0x193392(0x195)]()){const _0x47f904=_0x57fcca[_0x193392(0x198)](_0x193392(0x1cc));_0x246352[_0x193392(0x18c)](_0x47f904)?(_0x479887[_0x193392(0x190)](_0x57fcca),_0x2d779c=!0x0):_0x246352[_0x193392(0x1cd)](_0x47f904);}for(const _0x217682 of _0x479887)_0x494c82[_0x193392(0x1ad)](_0x217682);return this[_0x193392(0x1b7)][_0x193392(0x1be)]||(_0x494c82[_0x193392(0x1ad)](this[_0x193392(0x1b7)]),this[_0x193392(0x1b7)]=null,_0x2d779c=!0x0),_0x2d779c;}[_0x584ec0(0x185)](_0xf21eb2,_0x241866){const _0x4d92f2=_0x584ec0;if(this[_0x4d92f2(0x191)][_0x4d92f2(0x1bc)](_0xeeef50=>_0xeeef50[_0x4d92f2(0x1c6)]===_0x241866))return!0x1;let _0xa1ea72=!0x1;const _0x1bcc9a=_0x241866[_0x4d92f2(0x198)](_0x4d92f2(0x1cc)),_0x1747de=this[_0x4d92f2(0x191)][_0x4d92f2(0x18e)](_0x457872=>_0x457872['id']===_0x1bcc9a);-0x1!==_0x1747de&&(_0xf21eb2[_0x4d92f2(0x1ad)](this[_0x4d92f2(0x191)][_0x1747de][_0x4d92f2(0x1c6)]),this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x1747de,0x1),_0xa1ea72=!0x0);let _0x13cef9=this[_0x4d92f2(0x1b7)]?function(_0x73b890,_0x138b4d){const _0x35ca69=_0x4d92f2;for(const _0x2a37e3 of _0x73b890[_0x35ca69(0x195)]())if(_0x2a37e3[_0x35ca69(0x198)](_0x35ca69(0x1cc))===_0x138b4d)return _0x2a37e3;return null;}(this[_0x4d92f2(0x1b7)],_0x1bcc9a):null;_0x13cef9||(_0x13cef9=_0xf21eb2[_0x4d92f2(0x1a2)](_0x4d92f2(0x1b3),{'footnoteId':_0x1bcc9a}),this[_0x4d92f2(0x1b7)]&&(_0xf21eb2[_0x4d92f2(0x183)](_0x13cef9,this[_0x4d92f2(0x1b7)],_0x4d92f2(0x1d5)),_0xa1ea72=!0x0));const _0x1ae71e={'id':_0x1bcc9a,'reference':_0x241866,'definition':_0x13cef9},_0x4e0fc5=I(this[_0x4d92f2(0x1ba)][_0x4d92f2(0x1c0)],this[_0x4d92f2(0x191)],_0x241866);this[_0x4d92f2(0x191)][_0x4d92f2(0x19e)](_0x4e0fc5,0x0,_0x1ae71e);let _0x5b750b=_0x4e0fc5;return-0x1!==_0x1747de&&(_0x5b750b=Math[_0x4d92f2(0x1c8)](_0x4e0fc5,_0x1747de)),this[_0x4d92f2(0x1d8)](_0xf21eb2,_0x5b750b)&&(_0xa1ea72=!0x0),_0xa1ea72;}[_0x584ec0(0x1d4)](_0x3b5d6a,_0x58beef){const _0xca4755=_0x584ec0,_0x11de26=this[_0xca4755(0x191)][_0xca4755(0x18e)](_0x40a7cc=>_0x40a7cc['id']===_0x58beef);if(-0x1===_0x11de26)return!0x1;let _0x4c20a7=!0x1;const _0x117952=this[_0xca4755(0x191)][_0x11de26];return _0xca4755(0x1af)!==_0x117952[_0xca4755(0x188)][_0xca4755(0x18b)][_0xca4755(0x18a)]&&(_0x3b5d6a[_0xca4755(0x1ad)](_0x117952[_0xca4755(0x188)]),_0x4c20a7=!0x0),this[_0xca4755(0x191)][_0xca4755(0x19e)](_0x11de26,0x1),this[_0xca4755(0x1d8)](_0x3b5d6a,_0x11de26)&&(_0x4c20a7=!0x0),_0x4c20a7;}[_0x584ec0(0x19a)](_0x23f318,_0x4ed9d9){const _0x246de0=_0x584ec0,_0x579d82=_0x4ed9d9[_0x246de0(0x198)](_0x246de0(0x1cc)),_0x526377=this[_0x246de0(0x191)][_0x246de0(0x18e)](_0x2a2df0=>_0x2a2df0['id']===_0x579d82),_0x326e15=this[_0x246de0(0x191)][_0x526377];let _0x17e44e=!0x1;_0x326e15[_0x246de0(0x1c6)]=_0x4ed9d9,this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x526377,0x1);const _0x3a90ce=I(this[_0x246de0(0x1ba)][_0x246de0(0x1c0)],this[_0x246de0(0x191)],_0x4ed9d9);return this[_0x246de0(0x191)][_0x246de0(0x19e)](_0x3a90ce,0x0,_0x326e15),this[_0x246de0(0x1d8)](_0x23f318,Math[_0x246de0(0x1c8)](_0x526377,_0x3a90ce))&&(_0x17e44e=!0x0),_0x17e44e;}[_0x584ec0(0x1a6)](_0x5c80ab,_0x7bc70c){const _0x27edb9=_0x584ec0;if(!this[_0x27edb9(0x1b7)])return!0x1;const _0x1ad8fa=this[_0x27edb9(0x191)][_0x7bc70c];let _0x39222a;return _0x39222a=this[_0x27edb9(0x1a4)]?this[_0x27edb9(0x1a4)]({'footnote':_0x1ad8fa,'container':this[_0x27edb9(0x1b7)],'digits':String(this[_0x27edb9(0x191)][_0x27edb9(0x1a0)])[_0x27edb9(0x1a0)],'value':_0x7bc70c+0x1}):String(_0x7bc70c+0x1),_0x1ad8fa[_0x27edb9(0x1c6)][_0x27edb9(0x198)](_0x27edb9(0x182))!=_0x39222a&&(_0x5c80ab[_0x27edb9(0x17f)](_0x27edb9(0x182),_0x39222a,_0x1ad8fa[_0x27edb9(0x1c6)]),!0x0);}[_0x584ec0(0x1dd)](_0x117a26){const _0x437f34=_0x584ec0;if(!this[_0x437f34(0x1b7)]||this[_0x437f34(0x191)][_0x437f34(0x1a0)]<0x2)return!0x1;if(function(_0x46132d,_0x4112ad){const _0x500aa6=_0x437f34;if(_0x46132d[_0x500aa6(0x1a0)]!==_0x4112ad[_0x500aa6(0x1a0)])return!0x1;for(let _0x452bae=0x0;_0x452bae<_0x46132d[_0x500aa6(0x1a0)];_0x452bae++)if(_0x46132d[_0x452bae]!==_0x4112ad[_0x452bae])return!0x1;return!0x0;}(this[_0x437f34(0x191)][_0x437f34(0x1d1)](_0x36416d=>_0x36416d['id']),Array[_0x437f34(0x1cb)](this[_0x437f34(0x1b7)][_0x437f34(0x195)]())[_0x437f34(0x1d1)](_0x494ff9=>_0x494ff9[_0x437f34(0x198)](_0x437f34(0x1cc)))))return!0x1;let _0x4ee93c=!0x1;for(let _0x4ae516=0x0;_0x4ae516<this[_0x437f34(0x191)][_0x437f34(0x1a0)];_0x4ae516++){const _0x4087bd=this[_0x437f34(0x191)][_0x4ae516],_0x3dc096=_0x117a26[_0x437f34(0x17b)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4=_0x117a26[_0x437f34(0x199)](this[_0x437f34(0x1b7)],_0x4ae516);_0x3dc096[_0x437f34(0x1b1)](_0x3e8ff4)||(_0x117a26[_0x437f34(0x1c4)](_0x117a26[_0x437f34(0x1d6)](_0x4087bd[_0x437f34(0x188)]),_0x3e8ff4),_0x4ee93c=!0x0);}return _0x4ee93c;}[_0x584ec0(0x193)](_0x4b7ec4){const _0x173919=_0x584ec0;if(!this[_0x173919(0x191)][_0x173919(0x1a0)])return!0x1;const {model:_0x5b8493}=this[_0x173919(0x1ba)];let _0x359a40=!0x1;for(let _0xf85d81=0x0;_0xf85d81<this[_0x173919(0x191)][_0x173919(0x1a0)]-0x1;_0xf85d81++){const _0x4910b3=this[_0x173919(0x191)][_0xf85d81],_0x25a1ad=this[_0x173919(0x191)][_0xf85d81+0x1],_0x1442c1=_0x5b8493[_0x173919(0x17b)](_0x4910b3[_0x173919(0x1c6)]),_0x432d32=_0x5b8493[_0x173919(0x17b)](_0x25a1ad[_0x173919(0x1c6)]);_0x173919(0x1ac)===_0x1442c1[_0x173919(0x1bd)](_0x432d32)&&(this[_0x173919(0x19a)](_0x4b7ec4,_0x4910b3[_0x173919(0x1c6)]),_0xf85d81=-0x1,_0x359a40=!0x0);}return _0x359a40;}}function _(_0x1dd544,_0x15eaaf,_0x1c1a2a){const _0xb8241a=_0x584ec0;if(_0x1c1a2a[_0xb8241a(0x1be)])return!0x1;const _0x1ccbce=_0x15eaaf?_0xb8241a(0x1da):_0xb8241a(0x1b9);return _0x1dd544[_0xb8241a(0x183)](_0x1dd544[_0xb8241a(0x1a2)](_0x1ccbce),_0x1c1a2a),!0x0;}function _0x292d(_0x2159a3,_0x3e6b76){const _0x30b45d=_0x30b4();return _0x292d=function(_0x292de9,_0x13558c){_0x292de9=_0x292de9-0x17a;let _0x7ec890=_0x30b45d[_0x292de9];return _0x7ec890;},_0x292d(_0x2159a3,_0x3e6b76);}function I(_0x100668,_0x124a6f,_0x4d3417){const _0x3f2997=_0x584ec0;if(0x0===_0x124a6f[_0x3f2997(0x1a0)])return 0x0;const _0x5c9fee=_0x100668[_0x3f2997(0x17b)](_0x4d3417);for(let _0x4e1e4c=0x0;_0x4e1e4c<_0x124a6f[_0x3f2997(0x1a0)];_0x4e1e4c++){const _0x2c3448=_0x124a6f[_0x4e1e4c],_0x226fca=_0x100668[_0x3f2997(0x17b)](_0x2c3448[_0x3f2997(0x1c6)]);if(_0x3f2997(0x1a3)===_0x5c9fee[_0x3f2997(0x1bd)](_0x226fca))return _0x4e1e4c;}const _0x2be977=_0x4d3417[_0x3f2997(0x18b)];let _0x53e11c=-0x1;for(let _0x360b2c=_0x124a6f[_0x3f2997(0x1a0)]-0x1;_0x360b2c>=0x0;_0x360b2c--)if(_0x124a6f[_0x360b2c][_0x3f2997(0x1c6)][_0x3f2997(0x18b)]===_0x2be977){_0x53e11c=_0x360b2c;break;}if(-0x1!==_0x53e11c)return _0x53e11c+0x1;const _0xa65d34=_0x100668[_0x3f2997(0x1c1)][_0x3f2997(0x194)](),_0x5390e9=_0xa65d34[_0x3f2997(0x1ce)](_0x2be977[_0x3f2997(0x18a)]),_0x643125=_0xa65d34[_0x5390e9+0x1];if(_0x643125){for(let _0x2ae4be=0x0;_0x2ae4be<_0x124a6f[_0x3f2997(0x1a0)];_0x2ae4be++)if(_0x124a6f[_0x2ae4be][_0x3f2997(0x1c6)][_0x3f2997(0x18b)][_0x3f2997(0x18a)]===_0x643125)return _0x2ae4be;}return _0x124a6f[_0x3f2997(0x1a0)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x115cc3,MenuBarMenuListItemButtonView as _0xffb88c}from'ckeditor5/src/ui.js';import{Plugin as _0x749b5b}from'ckeditor5/src/core.js';import{IconFootnote as _0x14078c}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x749b5b{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x4274ea}=this,{componentFactory:_0x211e7b}=_0x4274ea['ui'];_0x211e7b['add']('insertFootnote',x(_0x4274ea,_0x115cc3)),_0x211e7b['add']('menuBar:insertFootnote',x(_0x4274ea,_0xffb88c)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d194d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x4d98c2;for(const _0x48ef9c in _0x4d194d){const _0x23d48a=_0x48ef9c,_0x47cc74=_0x4d194d[_0x23d48a];if('footnotesLicenseKeyValid'==_0x47cc74||'footnotesLicenseKeyInvalid'==_0x47cc74||'footnotesLicenseKeyExpired'==_0x47cc74||'footnotesLicenseKeyDomainLimit'==_0x47cc74||'footnotesLicenseKeyNotAllowed'==_0x47cc74||'footnotesLicenseKeyEvaluationLimit'==_0x47cc74||'footnotesLicenseKeyTrialLimit'==_0x47cc74||'footnotesLicenseKeyUsageLimit'==_0x47cc74){delete _0x4d194d[_0x23d48a],_0x4d98c2=_0x47cc74,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x4d98c2&&_0x4d194d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x4d98c2&&_0x4d194d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x4d98c2&&_0x4d194d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x4d98c2&&_0x4d194d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x4d98c2&&_0x4d194d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0x4d98c2&&_0x4d194d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0x4d98c2&&_0x4d194d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x465e4b,_0x538e21){const _0x262968=_0x465e4b['commands']['get']('insertFootnote');return _0x168add=>{const {t:t}=_0x168add,_0x5d0440=new _0x538e21(_0x168add),_0x26b455=_0x5d0440 instanceof _0xffb88c;return _0x5d0440['bind']('isEnabled')['to'](_0x262968,'isEnabled'),_0x5d0440['set']({'label':t(_0x26b455?'Footnote':'Insert\x20footnote'),'icon':_0x14078c,'tooltip':!0x0}),_0x5d0440['on']('execute',()=>{_0x262968['execute'](),_0x465e4b['editing']['view']['focus']();}),_0x5d0440;};}
23
+ import{ButtonView as _0x2e2b41,MenuBarMenuListItemButtonView as _0x29ae13}from'ckeditor5/src/ui.js';import{Plugin as _0x1ad2f2}from'ckeditor5/src/core.js';import{IconFootnote as _0xeee26b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x1ad2f2{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xff012f}=this,{componentFactory:_0x3833be}=_0xff012f['ui'];_0x3833be['add']('insertFootnote',x(_0xff012f,_0x2e2b41)),_0x3833be['add']('menuBar:insertFootnote',x(_0xff012f,_0x29ae13)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x4d451d=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0xc6587b;for(const _0x2c7822 in _0x4d451d){const _0x46874b=_0x2c7822,_0x569100=_0x4d451d[_0x46874b];if('footnotesLicenseKeyValid'==_0x569100||'footnotesLicenseKeyInvalid'==_0x569100||'footnotesLicenseKeyExpired'==_0x569100||'footnotesLicenseKeyDomainLimit'==_0x569100||'footnotesLicenseKeyNotAllowed'==_0x569100||'footnotesLicenseKeyEvaluationLimit'==_0x569100||'footnotesLicenseKeyTrialLimit'==_0x569100||'footnotesLicenseKeyUsageLimit'==_0x569100){delete _0x4d451d[_0x46874b],_0xc6587b=_0x569100,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0xc6587b&&_0x4d451d['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0xc6587b&&_0x4d451d['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0xc6587b&&_0x4d451d['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyTrialLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('trialLimit'),'footnotesLicenseKeyUsageLimit'==_0xc6587b&&_0x4d451d['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function x(_0x5e3030,_0x864cec){const _0x329a3b=_0x5e3030['commands']['get']('insertFootnote');return _0x20a305=>{const {t:t}=_0x20a305,_0x56c9bc=new _0x864cec(_0x20a305),_0x1a8a76=_0x56c9bc instanceof _0x29ae13;return _0x56c9bc['bind']('isEnabled')['to'](_0x329a3b,'isEnabled'),_0x56c9bc['set']({'label':t(_0x1a8a76?'Footnote':'Insert\x20footnote'),'icon':_0xeee26b,'tooltip':!0x0}),_0x56c9bc['on']('execute',()=>{_0x329a3b['execute'](),_0x5e3030['editing']['view']['focus']();}),_0x56c9bc;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x5c31e9,_0x33be79){var _0x3b4beb=_0xff68,_0x3192a5=_0x5c31e9();while(!![]){try{var _0x3844a9=parseInt(_0x3b4beb(0x126))/0x1+-parseInt(_0x3b4beb(0x123))/0x2*(-parseInt(_0x3b4beb(0x121))/0x3)+parseInt(_0x3b4beb(0x129))/0x4+parseInt(_0x3b4beb(0x127))/0x5*(-parseInt(_0x3b4beb(0x125))/0x6)+-parseInt(_0x3b4beb(0x128))/0x7*(parseInt(_0x3b4beb(0x12a))/0x8)+parseInt(_0x3b4beb(0x124))/0x9+-parseInt(_0x3b4beb(0x122))/0xa;if(_0x3844a9===_0x33be79)break;else _0x3192a5['push'](_0x3192a5['shift']());}catch(_0x123723){_0x3192a5['push'](_0x3192a5['shift']());}}}(_0x53d1,0x5ca3d));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';function _0x53d1(){var _0x40cc9e=['335gxciep','7ZLRSLO','937960zdOjLU','317816mMklOf','12mgROXo','5716850CbZXZG','283438HFwzky','4910076gSqzgU','67806XUKfyF','401102wCZAke'];_0x53d1=function(){return _0x40cc9e;};return _0x53d1();}export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0xff68(_0xad58e5,_0x3fd4b7){var _0x53d149=_0x53d1();return _0xff68=function(_0xff6860,_0x564989){_0xff6860=_0xff6860-0x121;var _0x5afcbe=_0x53d149[_0xff6860];return _0x5afcbe;},_0xff68(_0xad58e5,_0x3fd4b7);}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(_0x428442,_0x3f023d){var _0x1404e9=_0x2a3d,_0x2fe20a=_0x428442();while(!![]){try{var _0x1b974e=parseInt(_0x1404e9(0x80))/0x1+-parseInt(_0x1404e9(0x85))/0x2*(-parseInt(_0x1404e9(0x7a))/0x3)+parseInt(_0x1404e9(0x7e))/0x4+parseInt(_0x1404e9(0x82))/0x5*(parseInt(_0x1404e9(0x84))/0x6)+parseInt(_0x1404e9(0x81))/0x7*(-parseInt(_0x1404e9(0x83))/0x8)+parseInt(_0x1404e9(0x7c))/0x9*(parseInt(_0x1404e9(0x7d))/0xa)+parseInt(_0x1404e9(0x7f))/0xb*(-parseInt(_0x1404e9(0x7b))/0xc);if(_0x1b974e===_0x3f023d)break;else _0x2fe20a['push'](_0x2fe20a['shift']());}catch(_0xa05812){_0x2fe20a['push'](_0x2fe20a['shift']());}}}(_0x5f21,0x7912b));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';function _0x2a3d(_0x537999,_0x35b433){var _0x5f2154=_0x5f21();return _0x2a3d=function(_0x2a3d04,_0x4cb55d){_0x2a3d04=_0x2a3d04-0x7a;var _0x3e3fdb=_0x5f2154[_0x2a3d04];return _0x3e3fdb;},_0x2a3d(_0x537999,_0x35b433);}export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';function _0x5f21(){var _0x23dbaa=['40ysuEGc','6ZPcMLK','599384EYNdtL','6hxVpkP','11100kJzrpm','9SYbaRI','280510VgKRwE','3866048pPqYKR','30206iPIeup','991341VLptqz','363650yVjgdX','3552135CgyCMt'];_0x5f21=function(){return _0x23dbaa;};return _0x5f21();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x426337=_0x7a9e;function _0x7a9e(_0x4c4efe,_0x3c99d8){const _0x29f5a6=_0x29f5();return _0x7a9e=function(_0x7a9e12,_0x5c93fd){_0x7a9e12=_0x7a9e12-0xc4;let _0x45f9f0=_0x29f5a6[_0x7a9e12];return _0x45f9f0;},_0x7a9e(_0x4c4efe,_0x3c99d8);}(function(_0x2f2dac,_0x10ae0a){const _0x59a636=_0x7a9e,_0x4587ee=_0x2f2dac();while(!![]){try{const _0x177e12=parseInt(_0x59a636(0xcb))/0x1*(parseInt(_0x59a636(0xed))/0x2)+-parseInt(_0x59a636(0xee))/0x3+parseInt(_0x59a636(0xda))/0x4+parseInt(_0x59a636(0xd8))/0x5+parseInt(_0x59a636(0xe7))/0x6+parseInt(_0x59a636(0xd6))/0x7+parseInt(_0x59a636(0xea))/0x8*(-parseInt(_0x59a636(0xce))/0x9);if(_0x177e12===_0x10ae0a)break;else _0x4587ee['push'](_0x4587ee['shift']());}catch(_0x271422){_0x4587ee['push'](_0x4587ee['shift']());}}}(_0x29f5,0xcc3f9));function _0x29f5(){const _0x3249b1=['attributes','960029YafXuU','length','1009590UcxWGF','reset','978220dmGivu','rootName','getItems','$graveyard','from','set','root','get','clear','flat','slice','_trackedElements','delete','3864666ZSboOp','has','remove','1048pjilkK','createRangeOn','_model','1678LeFjNV','4133316WnwIlI','name','position','$text','_getElementKey','add','element','_elementName','1445xYLGfa','type','insert','15507JOEzXZ','values','getElementKey','getChanges','nodeAfter','push','elementName'];_0x29f5=function(){return _0x3249b1;};return _0x29f5();}export class ModelElementTracker{[_0x426337(0xec)];[_0x426337(0xca)];[_0x426337(0xc7)];[_0x426337(0xe5)]=new Map();constructor(_0xda3f40,_0x241143){const _0x53751c=_0x426337;this[_0x53751c(0xec)]=_0xda3f40,this[_0x53751c(0xca)]=_0x241143[_0x53751c(0xd4)],this[_0x53751c(0xc7)]=_0x241143[_0x53751c(0xd0)];}[_0x426337(0xd9)](){const _0x2cf4e9=_0x426337;this[_0x2cf4e9(0xe5)][_0x2cf4e9(0xe2)]();}[_0x426337(0xd1)](_0x3977c9){const _0x11ecd4=_0x426337,_0x1e81eb=new Set(),_0x317673=new Map();for(const _0x5b9910 of _0x3977c9){if(_0x11ecd4(0xcd)===_0x5b9910[_0x11ecd4(0xcc)]&&_0x11ecd4(0xc6)!==_0x5b9910[_0x11ecd4(0xc4)]&&_0x5b9910[_0x11ecd4(0xc5)][_0x11ecd4(0xd2)]){const _0x196780=this[_0x11ecd4(0xec)][_0x11ecd4(0xeb)](_0x5b9910[_0x11ecd4(0xc5)][_0x11ecd4(0xd2)]);for(const _0x43c390 of _0x196780[_0x11ecd4(0xdc)]()){if(!_0x43c390['is'](_0x11ecd4(0xc9),this[_0x11ecd4(0xca)]))continue;const _0x136140=this[_0x11ecd4(0xc7)](_0x43c390);_0x317673[_0x11ecd4(0xe8)](_0x136140)||_0x317673[_0x11ecd4(0xdf)](_0x136140,[]),_0x317673[_0x11ecd4(0xe1)](_0x136140)[_0x11ecd4(0xd3)](_0x43c390);}}if(_0x11ecd4(0xe9)===_0x5b9910[_0x11ecd4(0xcc)]&&_0x5b9910[_0x11ecd4(0xc4)]===this[_0x11ecd4(0xca)]){const _0x11e15f=this[_0x11ecd4(0xc7)]({'getAttribute':_0xe29a21=>_0x5b9910[_0x11ecd4(0xd5)][_0x11ecd4(0xe1)](_0xe29a21)});_0x1e81eb[_0x11ecd4(0xc8)](_0x11e15f);}}for(const [_0x44357e,_0x10339d]of this[_0x11ecd4(0xe5)])_0x11ecd4(0xdd)===_0x10339d[_0x11ecd4(0xe0)][_0x11ecd4(0xdb)]&&_0x1e81eb[_0x11ecd4(0xc8)](_0x44357e);for(const _0x3bf8a9 of _0x1e81eb)this[_0x11ecd4(0xe5)][_0x11ecd4(0xe6)](_0x3bf8a9);for(const [_0x410046,_0x30cf05]of _0x317673)this[_0x11ecd4(0xe5)][_0x11ecd4(0xdf)](_0x410046,_0x30cf05[_0x30cf05[_0x11ecd4(0xd7)]-0x1]);const _0x363816=new Set();for(const [_0x58dca9,_0x47c815]of _0x317673)_0x1e81eb[_0x11ecd4(0xe8)](_0x58dca9)&&(_0x363816[_0x11ecd4(0xc8)](_0x47c815[0x0]),_0x47c815[_0x11ecd4(0xd7)]>0x1?_0x317673[_0x11ecd4(0xdf)](_0x58dca9,_0x47c815[_0x11ecd4(0xe4)](0x1)):_0x317673[_0x11ecd4(0xe6)](_0x58dca9),_0x1e81eb[_0x11ecd4(0xe6)](_0x58dca9));return{'removed':Array[_0x11ecd4(0xde)](_0x1e81eb),'inserted':Array[_0x11ecd4(0xde)](_0x317673[_0x11ecd4(0xcf)]())[_0x11ecd4(0xe3)](),'moved':Array[_0x11ecd4(0xde)](_0x363816)};}}
23
+ const _0x4ba7c6=_0x4804;function _0x118a(){const _0x15815f=['$text','558573ZVQJVJ','has','4639590Ddmnzb','from','reset','_model','flat','remove','7386yHavnz','10uKkJqK','type','_trackedElements','push','767522uMIPrW','$graveyard','1465ozprox','createRangeOn','add','_elementName','getElementKey','slice','set','39XwjnvB','rootName','insert','getItems','_getElementKey','8rAOsFW','elementName','length','delete','root','9XVldGd','1419sRuvhZ','values','name','50057HMrrrO','nodeAfter','element','14424wZkXpX','8QOstxy','attributes','clear','get','2407748NZlpiX','position','getChanges'];_0x118a=function(){return _0x15815f;};return _0x118a();}function _0x4804(_0x4af518,_0xb99303){const _0x118a58=_0x118a();return _0x4804=function(_0x480453,_0xfd1a6b){_0x480453=_0x480453-0x11f;let _0x41ff65=_0x118a58[_0x480453];return _0x41ff65;},_0x4804(_0x4af518,_0xb99303);}(function(_0x5b1d3b,_0x463229){const _0x10b077=_0x4804,_0x50f471=_0x5b1d3b();while(!![]){try{const _0x5d9caa=parseInt(_0x10b077(0x147))/0x1*(parseInt(_0x10b077(0x12c))/0x2)+-parseInt(_0x10b077(0x123))/0x3*(parseInt(_0x10b077(0x13e))/0x4)+-parseInt(_0x10b077(0x132))/0x5*(-parseInt(_0x10b077(0x12b))/0x6)+-parseInt(_0x10b077(0x130))/0x7*(parseInt(_0x10b077(0x14b))/0x8)+-parseInt(_0x10b077(0x143))/0x9*(parseInt(_0x10b077(0x125))/0xa)+-parseInt(_0x10b077(0x144))/0xb*(-parseInt(_0x10b077(0x14a))/0xc)+-parseInt(_0x10b077(0x139))/0xd*(-parseInt(_0x10b077(0x11f))/0xe);if(_0x5d9caa===_0x463229)break;else _0x50f471['push'](_0x50f471['shift']());}catch(_0x2b7606){_0x50f471['push'](_0x50f471['shift']());}}}(_0x118a,0x52071));export class ModelElementTracker{[_0x4ba7c6(0x128)];[_0x4ba7c6(0x135)];[_0x4ba7c6(0x13d)];[_0x4ba7c6(0x12e)]=new Map();constructor(_0x324829,_0x1fab59){const _0x3fb1ca=_0x4ba7c6;this[_0x3fb1ca(0x128)]=_0x324829,this[_0x3fb1ca(0x135)]=_0x1fab59[_0x3fb1ca(0x13f)],this[_0x3fb1ca(0x13d)]=_0x1fab59[_0x3fb1ca(0x136)];}[_0x4ba7c6(0x127)](){const _0x893360=_0x4ba7c6;this[_0x893360(0x12e)][_0x893360(0x14d)]();}[_0x4ba7c6(0x121)](_0x43a0d1){const _0x3291ec=_0x4ba7c6,_0x30e932=new Set(),_0x80eaee=new Map();for(const _0x2e6cdc of _0x43a0d1){if(_0x3291ec(0x13b)===_0x2e6cdc[_0x3291ec(0x12d)]&&_0x3291ec(0x122)!==_0x2e6cdc[_0x3291ec(0x146)]&&_0x2e6cdc[_0x3291ec(0x120)][_0x3291ec(0x148)]){const _0x496c49=this[_0x3291ec(0x128)][_0x3291ec(0x133)](_0x2e6cdc[_0x3291ec(0x120)][_0x3291ec(0x148)]);for(const _0x49cbaa of _0x496c49[_0x3291ec(0x13c)]()){if(!_0x49cbaa['is'](_0x3291ec(0x149),this[_0x3291ec(0x135)]))continue;const _0x365aca=this[_0x3291ec(0x13d)](_0x49cbaa);_0x80eaee[_0x3291ec(0x124)](_0x365aca)||_0x80eaee[_0x3291ec(0x138)](_0x365aca,[]),_0x80eaee[_0x3291ec(0x14e)](_0x365aca)[_0x3291ec(0x12f)](_0x49cbaa);}}if(_0x3291ec(0x12a)===_0x2e6cdc[_0x3291ec(0x12d)]&&_0x2e6cdc[_0x3291ec(0x146)]===this[_0x3291ec(0x135)]){const _0x52dac5=this[_0x3291ec(0x13d)]({'getAttribute':_0x23aafb=>_0x2e6cdc[_0x3291ec(0x14c)][_0x3291ec(0x14e)](_0x23aafb)});_0x30e932[_0x3291ec(0x134)](_0x52dac5);}}for(const [_0x2e2321,_0x137b2a]of this[_0x3291ec(0x12e)])_0x3291ec(0x131)===_0x137b2a[_0x3291ec(0x142)][_0x3291ec(0x13a)]&&_0x30e932[_0x3291ec(0x134)](_0x2e2321);for(const _0x3d582a of _0x30e932)this[_0x3291ec(0x12e)][_0x3291ec(0x141)](_0x3d582a);for(const [_0x446bfb,_0x1646f1]of _0x80eaee)this[_0x3291ec(0x12e)][_0x3291ec(0x138)](_0x446bfb,_0x1646f1[_0x1646f1[_0x3291ec(0x140)]-0x1]);const _0x1f0100=new Set();for(const [_0x20d756,_0x11228b]of _0x80eaee)_0x30e932[_0x3291ec(0x124)](_0x20d756)&&(_0x1f0100[_0x3291ec(0x134)](_0x11228b[0x0]),_0x11228b[_0x3291ec(0x140)]>0x1?_0x80eaee[_0x3291ec(0x138)](_0x20d756,_0x11228b[_0x3291ec(0x137)](0x1)):_0x80eaee[_0x3291ec(0x141)](_0x20d756),_0x30e932[_0x3291ec(0x141)](_0x20d756));return{'removed':Array[_0x3291ec(0x126)](_0x30e932),'inserted':Array[_0x3291ec(0x126)](_0x80eaee[_0x3291ec(0x145)]())[_0x3291ec(0x129)](),'moved':Array[_0x3291ec(0x126)](_0x1f0100)};}}