@ckeditor/ckeditor5-footnotes 47.4.0-alpha.0 → 47.4.0-alpha.2

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 _0x207398}from'ckeditor5/src/core.js';import{isWidget as _0x2f6fb5,toWidget as _0x36e0bc,toWidgetEditable as _0x5c5091}from'ckeditor5/src/widget.js';import{uid as _0x398248}from'ckeditor5/src/utils.js';import{PointerObserver as _0xdfb3b4,ClickObserver as _0x1c8afc}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x429790}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x414bc8}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x207398{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x429790];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x20c34c}=this;_0x20c34c['config']['define']('footnotes.multiBlock',!0x0),_0x20c34c['commands']['add']('insertFootnote',new _0x414bc8(_0x20c34c)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x24fb24){const _0x5df620=_0x408e24([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]),_0x2fd525=0x47a28506,_0x2451f2=0x47a5fb3e^_0x2fd525,_0xaab1b6=window[_0x408e24([0x44,0x61,0x74,0x65])][_0x408e24([0x6e,0x6f,0x77])](),_0x85b833=_0x24fb24[_0x408e24([0x65,0x64,0x69,0x74,0x6f,0x72])],_0xb94f2=new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5d7888=>{_0x85b833[_0x408e24([0x6f,0x6e,0x63,0x65])](_0x408e24([0x72,0x65,0x61,0x64,0x79]),_0x5d7888);}),_0x449fe7={[_0x408e24([0x6b,0x74,0x79])]:_0x408e24([0x45,0x43]),[_0x408e24([0x75,0x73,0x65])]:_0x408e24([0x73,0x69,0x67]),[_0x408e24([0x63,0x72,0x76])]:_0x408e24([0x50,0x2d,0x32,0x35,0x36]),[_0x408e24([0x78])]:_0x408e24([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]),[_0x408e24([0x79])]:_0x408e24([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]),[_0x408e24([0x61,0x6c,0x67])]:_0x408e24([0x45,0x53,0x32,0x35,0x36])},_0xb157c9=_0x85b833[_0x408e24([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x408e24([0x67,0x65,0x74])](_0x408e24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x549b33(){let _0x54f7e7,_0x3c0a03=null,_0xb3ed43=null;try{if(_0xb157c9==_0x408e24([0x47,0x50,0x4c]))return _0x408e24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x54f7e7=_0x47accd(),!_0x54f7e7)return _0x408e24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x54f7e7[_0x408e24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0xb3ed43=_0x47f775(_0x54f7e7[_0x408e24([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x54f7e7[_0x408e24([0x6a,0x74,0x69])])),await _0x180522()?_0x47e238()?_0x3a47ed()?_0x408e24([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x2061cf()?(_0x54f7e7[_0x408e24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x408e24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x3c0a03=_0x307496(_0x408e24([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x5bbdb6()):_0x408e24([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x408e24([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x408e24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x408e24([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x3a47ed(){const _0x4150d4=[_0x408e24([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x408e24([0x74,0x72,0x69,0x61,0x6c])][_0x408e24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x54f7e7[_0x408e24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0xaab1b6/0x3e8:0xe10*_0x2451f2;return _0x54f7e7[_0x408e24([0x65,0x78,0x70])]<_0x4150d4;}function _0x47e238(){const _0x452a1c=_0x54f7e7[_0x408e24([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x452a1c&&(!!_0x452a1c[_0x408e24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408e24([0x2a]))||!!_0x452a1c[_0x408e24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408e24([0x46,0x4f,0x4f])));}function _0x2061cf(){const _0x2559e6=_0x54f7e7[_0x408e24([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0x2559e6||0x0==_0x2559e6[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x1c9ea5}=new URL(window[_0x408e24([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0x2559e6[_0x408e24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x1c9ea5))return!0x0;const _0xaf1661=_0x1c9ea5[_0x408e24([0x73,0x70,0x6c,0x69,0x74])](_0x408e24([0x2e]));return _0x2559e6[_0x408e24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x58949d=>_0x58949d[_0x408e24([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x408e24([0x2a])))[_0x408e24([0x6d,0x61,0x70])](_0x186010=>_0x186010[_0x408e24([0x73,0x70,0x6c,0x69,0x74])](_0x408e24([0x2e])))[_0x408e24([0x66,0x69,0x6c,0x74,0x65,0x72])](_0xd762db=>_0xd762db[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0xaf1661[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408e24([0x6d,0x61,0x70])](_0x53bb45=>Array(_0xaf1661[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x53bb45[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x408e24([0x66,0x69,0x6c,0x6c])](_0x53bb45[0x0]===_0x408e24([0x2a])?_0x408e24([0x2a]):'')[_0x408e24([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x53bb45))[_0x408e24([0x73,0x6f,0x6d,0x65])](_0x228d5c=>_0xaf1661[_0x408e24([0x65,0x76,0x65,0x72,0x79])]((_0x24269e,_0x21efc2)=>_0x228d5c[_0x21efc2]===_0x24269e||_0x228d5c[_0x21efc2]===_0x408e24([0x2a])));}function _0x5bbdb6(){return _0x3c0a03&&_0xb3ed43?new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x64ff0d,_0x58d706)=>{_0x3c0a03[_0x408e24([0x74,0x68,0x65,0x6e])](_0x64ff0d,_0x58d706),_0xb3ed43[_0x408e24([0x74,0x68,0x65,0x6e])](_0x120853=>{_0x120853!=_0x408e24([0x56,0x61,0x6c,0x69,0x64])&&_0x64ff0d(_0x120853);},_0x58d706);}):_0x3c0a03||_0xb3ed43||_0x408e24([0x56,0x61,0x6c,0x69,0x64]);}}function _0x47f775(_0x4f248f,_0x23dff7){return new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1e805e=>{if(_0x5e4705())return _0x1e805e(_0x408e24([0x56,0x61,0x6c,0x69,0x64]));_0x3dfdb9(),_0x85b833[_0x408e24([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x408e24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x25151c=!0x1;const _0x36aa37=_0x398248();function _0x38b80d(_0x5571c3){return!!_0x5571c3&&(typeof _0x5571c3===_0x408e24([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x5571c3===_0x408e24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x5571c3[_0x408e24([0x74,0x68,0x65,0x6e])]===_0x408e24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x5571c3[_0x408e24([0x63,0x61,0x74,0x63,0x68])]===_0x408e24([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0x3642dd(_0x23c6cb){_0x3d5191(_0x23c6cb)[_0x408e24([0x74,0x68,0x65,0x6e])](_0x13667e=>{if(!_0x13667e||_0x13667e[_0x408e24([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x408e24([0x6f,0x6b]))return _0x408e24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x42dea6(_0x2b22e3(_0x36aa37+_0x23dff7))!=_0x13667e[_0x408e24([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x408e24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x408e24([0x56,0x61,0x6c,0x69,0x64]);})[_0x408e24([0x74,0x68,0x65,0x6e])](_0x465266=>(_0x5974e7(),_0x465266),()=>{const _0x4712cf=_0x118ea4();return null==_0x4712cf?(_0x5974e7(),_0x408e24([0x56,0x61,0x6c,0x69,0x64])):_0x408e24(_0xaab1b6-_0x4712cf>(0x63ae0106^_0x2fd525)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x408e24([0x74,0x68,0x65,0x6e])](_0x1e805e)[_0x408e24([0x63,0x61,0x74,0x63,0x68])](()=>{_0x1e805e(_0x408e24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0x252691=0x47946b86^_0x2fd525;function _0x5974e7(){const _0x3dabee=_0x408e24([0x6c,0x6c,0x63,0x74,0x2d])+_0x42dea6(_0x2b22e3(_0x4f248f)),_0x4c978c=_0x55f987(_0x42dea6(window[_0x408e24([0x4d,0x61,0x74,0x68])][_0x408e24([0x63,0x65,0x69,0x6c])](_0xaab1b6/_0x252691)));window[_0x408e24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408e24([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x3dabee,_0x4c978c);}function _0x118ea4(){const _0x4a1384=_0x408e24([0x6c,0x6c,0x63,0x74,0x2d])+_0x42dea6(_0x2b22e3(_0x4f248f)),_0x43ab62=window[_0x408e24([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x408e24([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x4a1384);return _0x43ab62?window[_0x408e24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x55f987(_0x43ab62),0x10)*_0x252691:null;}function _0x3d5191(_0x5bb620){return new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x369a4e,_0x28ca5f)=>{_0x5bb620[_0x408e24([0x74,0x68,0x65,0x6e])](_0x369a4e,_0x28ca5f),window[_0x408e24([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x28ca5f,0x47a351c6^_0x2fd525);});}}_0x85b833[_0x408e24([0x6f,0x6e])](_0x408e24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x3617b7,_0x220206)=>{if(_0x220206[0x0]!=_0x4f248f)return _0x1e805e(_0x408e24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x220206[0x1]={..._0x220206[0x1],[_0x408e24([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x36aa37};},{[_0x408e24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408e24([0x68,0x69,0x67,0x68])}),_0x85b833[_0x408e24([0x6f,0x6e])](_0x408e24([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x3e5e93=>{_0x38b80d(_0x3e5e93[_0x408e24([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x25151c=!0x0,_0x3642dd(_0x3e5e93[_0x408e24([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x408e24([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x408e24([0x6c,0x6f,0x77])}),_0xb94f2[_0x408e24([0x74,0x68,0x65,0x6e])](()=>{_0x25151c||_0x1e805e(_0x408e24([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5e4705(){return _0x85b833[_0x408e24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408e24([0x76,0x69,0x65,0x77])][_0x408e24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x408e24([0x61,0x75,0x74,0x6f]);}function _0x3dfdb9(){_0x85b833[_0x408e24([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x408e24([0x76,0x69,0x65,0x77])][_0x408e24([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x408e24([0x61,0x75,0x74,0x6f]);}}function _0x307496(_0x21b828){const _0x498ed9=[new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3e0a9e=>setTimeout(_0x3e0a9e,0x47abbbca^_0x2fd525)),_0xb94f2[_0x408e24([0x74,0x68,0x65,0x6e])](()=>new window[(_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x1b7967=>{let _0x5846c9=0x0;_0x85b833[_0x408e24([0x6d,0x6f,0x64,0x65,0x6c])][_0x408e24([0x6f,0x6e])](_0x408e24([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x8e5496,_0x5234e7)=>{_0x5234e7[0x0][_0x408e24([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x5846c9++,_0x5846c9==(0x47a280ee^_0x2fd525)&&(_0x1b7967(),_0x8e5496[_0x408e24([0x6f,0x66,0x66])]());});}))];return window[_0x408e24([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x408e24([0x72,0x61,0x63,0x65])](_0x498ed9)[_0x408e24([0x74,0x68,0x65,0x6e])](()=>_0x21b828);}async function _0x9e3289(){await _0xb94f2,_0x85b833[_0x408e24([0x6d,0x6f,0x64,0x65,0x6c])][_0x408e24([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x3fed71,_0x85b833[_0x408e24([0x6d,0x6f,0x64,0x65,0x6c])][_0x408e24([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x3fed71,_0x85b833[_0x408e24([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x408e24([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x1c547a(_0xd49e0e){const _0x516b76=_0x5875b9();_0x85b833[_0x516b76]=_0x408e24([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0xd49e0e,_0xd49e0e!=_0x408e24([0x56,0x61,0x6c,0x69,0x64])&&_0x9e3289();}function _0x5875b9(){const _0x30aca3=window[_0x408e24([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x408e24([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x408e24([0x6e,0x6f,0x77])]())[_0x408e24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x408e24([0x2e]),'');let _0x5cbcb5=_0x408e24([0x75]);for(let _0x37abfa=0x0;_0x37abfa<_0x30aca3[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x37abfa+=0x2){let _0xf912f5=window[_0x408e24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x30aca3[_0x408e24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x37abfa,_0x37abfa+0x2));_0xf912f5>=_0x5df620[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0xf912f5-=_0x5df620[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x5cbcb5+=_0x5df620[_0xf912f5];}return _0x5cbcb5;}function _0x47accd(){const _0x301c82=_0xb157c9[_0x408e24([0x73,0x70,0x6c,0x69,0x74])](_0x408e24([0x2e]));if(0x3!=_0x301c82[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x15f0df(_0x301c82[0x1]);function _0x15f0df(_0x10eaba){const _0x1afc32=_0x27519c(_0x10eaba);return _0x1afc32&&_0x31f06d()?_0x1afc32:null;function _0x31f06d(){const _0x31ba1a=_0x1afc32[_0x408e24([0x6a,0x74,0x69])],_0x55664b=window[_0x408e24([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x31ba1a[_0x408e24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x31ba1a[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x220b03={..._0x1afc32,[_0x408e24([0x6a,0x74,0x69])]:_0x31ba1a[_0x408e24([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x31ba1a[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x220b03[_0x408e24([0x76,0x63])],_0x2b22e3(_0x220b03)==_0x55664b;}}}async function _0x180522(){let _0x4bb168=!0x0;try{const _0x4bf3b=_0xb157c9[_0x408e24([0x73,0x70,0x6c,0x69,0x74])](_0x408e24([0x2e])),[_0x4f52f3,_0x5ac025,_0x57a37a]=_0x4bf3b;return _0x3ebf08(_0x4f52f3),await _0x501b8e(_0x4f52f3,_0x5ac025,_0x57a37a),_0x4bb168;}catch{return!0x1;}function _0x3ebf08(_0xc10e54){const _0x139efd=_0x27519c(_0xc10e54);_0x139efd&&_0x139efd[_0x408e24([0x61,0x6c,0x67])]==_0x408e24([0x45,0x53,0x32,0x35,0x36])||(_0x4bb168=!0x1);}async function _0x501b8e(_0x324116,_0x3487db,_0x3333f4){const _0x46d743=window[_0x408e24([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x408e24([0x66,0x72,0x6f,0x6d])](_0x2b8b16(_0x3333f4),_0x543df2=>_0x543df2[_0x408e24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x1b3a3a=new window[(_0x408e24([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x408e24([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x324116+_0x408e24([0x2e])+_0x3487db),_0x2fc64c=window[_0x408e24([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x408e24([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x2fc64c)return;const _0x251c19=await _0x2fc64c[_0x408e24([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x408e24([0x6a,0x77,0x6b]),_0x449fe7,{[_0x408e24([0x6e,0x61,0x6d,0x65])]:_0x408e24([0x45,0x43,0x44,0x53,0x41]),[_0x408e24([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x408e24([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x408e24([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x2fc64c[_0x408e24([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x408e24([0x6e,0x61,0x6d,0x65])]:_0x408e24([0x45,0x43,0x44,0x53,0x41]),[_0x408e24([0x68,0x61,0x73,0x68])]:{[_0x408e24([0x6e,0x61,0x6d,0x65])]:_0x408e24([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x251c19,_0x46d743,_0x1b3a3a)||(_0x4bb168=!0x1);}}function _0x27519c(_0x29e2b5){return _0x29e2b5[_0x408e24([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x408e24([0x65,0x79]))?JSON[_0x408e24([0x70,0x61,0x72,0x73,0x65])](_0x2b8b16(_0x29e2b5)):null;}function _0x2b8b16(_0x378c60){return window[_0x408e24([0x61,0x74,0x6f,0x62])](_0x378c60[_0x408e24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x408e24([0x2b]))[_0x408e24([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x408e24([0x2f])));}function _0x2b22e3(_0x131add){let _0x5546ea=0x1505;function _0x22c092(_0x572650){for(let _0x3745e0=0x0;_0x3745e0<_0x572650[_0x408e24([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x3745e0++){const _0x7edb5=_0x572650[_0x408e24([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x3745e0);_0x5546ea=(_0x5546ea<<0x5)+_0x5546ea+_0x7edb5,_0x5546ea&=_0x5546ea;}}function _0x49a2a4(_0x1de66f){Array[_0x408e24([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x1de66f)?_0x1de66f[_0x408e24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x49a2a4):_0x1de66f&&typeof _0x1de66f==_0x408e24([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x408e24([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x1de66f)[_0x408e24([0x73,0x6f,0x72,0x74])]()[_0x408e24([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x422ee2,_0x465ee7])=>{_0x22c092(_0x422ee2),_0x49a2a4(_0x465ee7);}):_0x22c092(window[_0x408e24([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x1de66f));}return _0x49a2a4(_0x131add),_0x5546ea>>>0x0;}function _0x42dea6(_0x2d2e80){return _0x2d2e80[_0x408e24([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x408e24([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x408e24([0x30]));}function _0x55f987(_0x34dd90){return _0x34dd90[_0x408e24([0x73,0x70,0x6c,0x69,0x74])]('')[_0x408e24([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x408e24([0x6a,0x6f,0x69,0x6e])]('');}function _0x3fed71(){}function _0x408e24(_0x2f55c8){return _0x2f55c8['map'](_0x12cc9a=>String['fromCharCode'](_0x12cc9a))['join']('');}_0x1c547a(await _0x549b33());}(this);}['_moveSelectionToFootnoteDefinition'](_0x4a8f7a){const {plugins:_0x155d79,editing:_0x34b73f,model:_0x599584}=this['editor'],_0x434e0f=_0x155d79['get'](_0x429790)['getFootnote'](_0x4a8f7a);return!!_0x434e0f&&(_0x599584['change'](_0x25d409=>{_0x25d409['setSelection'](_0x25d409['createPositionAt'](_0x434e0f['definition'],'end'));}),_0x34b73f['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x6e273b){const {plugins:_0x110227,editing:_0x3acbd8,model:_0x51039c}=this['editor'],_0x5c1d4a=_0x110227['get'](_0x429790)['getFootnote'](_0x6e273b);return!!_0x5c1d4a&&(_0x51039c['change'](_0xf0d757=>{_0xf0d757['setSelection'](_0x5c1d4a['reference'],'on');}),_0x3acbd8['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x58929f}=this['editor']['model'],_0x17f980=this['editor']['config']['get']('footnotes.multiBlock');_0x58929f['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x58929f['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x58929f['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x17f980?_0x58929f['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x58929f['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x58929f['addChildCheck'](_0x540e32=>{for(const _0x2f57b2 of _0x540e32)if('footnoteDefinition'===_0x2f57b2['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x219168}=this,{conversion:_0x53cac4,editing:_0x583a81}=_0x219168,{t:t}=_0x219168['locale'];_0x53cac4['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x27091f,{writer:_0x3a4ee4,consumable:_0x4c9d2a})=>{const _0x2c0bfb=_0x27091f['getChild'](0x0);if(!_0x2c0bfb||!_0x2c0bfb['is']('element','a'))return null;const _0x5ca440=_0x2c0bfb['getAttribute']('href')||'';if(!_0x5ca440['startsWith']('#'))return null;const _0x21aa74=_0x5ca440['replace'](/^#/,'');if(!_0x21aa74)return null;_0x4c9d2a['consume'](_0x2c0bfb,{'name':!0x0,'attributes':['href']});for(const {item:_0x3de64b}of _0x583a81['view']['createRangeIn'](_0x2c0bfb))_0x3de64b['is']('$textProxy')?_0x4c9d2a['consume'](_0x3de64b['textNode'],{'name':!0x0}):_0x3de64b['is']('element')&&_0x4c9d2a['consume'](_0x3de64b,{'name':!0x0});return _0x3a4ee4['createElement']('footnoteRef',{'footnoteId':_0x21aa74});}}),_0x53cac4['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x39c768,{writer:_0x238043})=>b(_0x39c768,_0x238043)}),_0x53cac4['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x22e50d,{writer:_0x49bf79})=>{const _0x460222=_0x22e50d['getAttribute']('footnoteCounter');return _0x36e0bc(b(_0x22e50d,_0x49bf79),_0x49bf79,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x460222)});}});}['_defineDefinitionsConverters'](){const {editor:_0x144e88}=this,{t:t}=_0x144e88['locale'],{conversion:_0x52feb2}=_0x144e88;_0x52feb2['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x52feb2['for']('upcast')['add'](_0x55699c=>{_0x55699c['on']('element:ol',(_0x1b1c96,_0x247312,_0x5a8c1a)=>{const _0x1c15b9=_0x247312['viewItem'];if(!_0x1c15b9['hasClass']('footnotes-list')||!_0x247312['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x5a8c1a['consumable']['consume'](_0x1c15b9,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x441144,modelCursor:_0x643de2}=_0x5a8c1a['convertChildren'](_0x247312['viewItem'],_0x247312['modelCursor']);_0x247312['modelRange']=_0x441144,_0x247312['modelCursor']=_0x643de2;}),_0x55699c['on']('element:hr',(_0x1ac2d9,_0x3f1012,_0x504382)=>{const _0x2ecd2e=_0x3f1012['viewItem'];_0x2ecd2e['hasClass']('footnotes-divider')&&_0x3f1012['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x504382['consumable']['consume'](_0x2ecd2e,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x52feb2['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x40ebda,{writer:_0xc74370})=>D(_0xc74370)}),_0x52feb2['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x536c72,{writer:_0x3e182e})=>{const _0x2d9e49=D(_0x3e182e,{'data-footnotes-list-label':t('Footnotes')}),_0x12fdbd=_0x36e0bc(_0x2d9e49,_0x3e182e,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x3e182e['setCustomProperty']('footnotesDefinitions',!0x0,_0x12fdbd),_0x12fdbd;}});}['_defineDefinitionConverters'](){const {editor:_0x2e75ca}=this,{conversion:_0x4cb4f4,locale:_0x52333e}=_0x2e75ca,_0x55af47=_0x2e75ca['config']['get']('footnotes.multiBlock');_0x4cb4f4['for']('upcast')['add'](_0x457d31=>{_0x457d31['on']('element:li',(_0x11cb12,_0x2e7f89,_0x1f06cd)=>{const _0x1527ce=_0x2e7f89['viewItem'];if(!_0x1527ce['hasClass']('footnote-definition')||!_0x1527ce['getAttribute']('id'))return;const _0x449726=_0x1527ce['parent'];if(!_0x449726['is']('element','ol')||!_0x449726['hasClass']('footnotes-list'))return;if(!_0x1f06cd['consumable']['test'](_0x1527ce,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x58940e=_0x1f06cd['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x1527ce['getAttribute']('id')});if(!_0x1f06cd['safeInsert'](_0x58940e,_0x2e7f89['modelCursor']))return;_0x1f06cd['consumable']['consume'](_0x1527ce,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x4b1749=Array['from'](_0x1527ce['getChildren']())['find'](_0x5d9881=>_0x5d9881['is']('element')&&_0x5d9881['hasClass']('footnote-content'));for(const _0x2d317f of _0x1527ce['getChildren']())_0x2d317f['is']('element')&&(_0x1f06cd['consumable']['consume'](_0x2d317f,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x1f06cd['consumable']['consume'](_0x2d317f,{'name':!0x0,'classes':'footnote-content'}));if(_0x4b1749){if(_0x55af47)_0x1f06cd['convertChildren'](_0x4b1749,_0x58940e);else{const _0x5b2ee8=_0x1f06cd['writer']['createElement']('footnoteInlineContent');_0x1f06cd['writer']['insert'](_0x5b2ee8,_0x58940e),_0x1f06cd['convertChildren'](_0x4b1749,_0x5b2ee8);}}_0x1f06cd['updateConversionResult'](_0x58940e,_0x2e7f89);});}),_0x4cb4f4['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x9b25ca,{writer:_0x4e79dc})=>y(_0x9b25ca,_0x4e79dc,_0x52333e,{'dataPipeline':!0x0})}),_0x4cb4f4['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x28814a,{writer:_0x43d101})=>y(_0x28814a,_0x43d101,_0x52333e)});}['_defineBogusParagraphConverters'](){const {editor:_0x4b4698}=this,{conversion:_0x2d89fa}=_0x4b4698;_0x4b4698['config']['get']('footnotes.multiBlock')?(_0x2d89fa['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x2d89fa['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x4b4698['model']['document'],'change:data',()=>{!function(_0x4fe3e4,_0x525d32){const _0x12b5e3=_0x4fe3e4['document']['differ'],_0x179c1f=new Set();for(const _0x479624 of _0x12b5e3['getChanges']()){const _0x36488b='attribute'==_0x479624['type']?_0x479624['range']['start']['parent']:_0x479624['position']['parent'];_0x36488b['is']('element','footnoteDefinition')&&_0x179c1f['add'](_0x36488b);}for(const _0xb84637 of _0x179c1f['values']()){const _0x338b1a=Array['from'](_0xb84637['getChildren']())['filter'](_0x38382c=>v(_0x38382c,_0x525d32['mapper']));for(const _0x32ffbc of _0x338b1a)_0x525d32['reconvertItem'](_0x32ffbc);}}(_0x4b4698['model'],_0x4b4698['editing']);})):(_0x2d89fa['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x2d89fa['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0xc7e118,{writer:_0x280ac9})=>{const _0x32aa3d=_0x280ac9['createContainerElement']('span');return _0x280ac9['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x32aa3d),_0x32aa3d;}}));}['_defineKeyboardHandlers'](){const {editor:_0xf791ee}=this,{editing:_0x43bbe2,t:t}=_0xf791ee,_0x2a861a=_0xf791ee['model']['document']['selection'];_0xf791ee['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0xf791ee['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x43bbe2['view']['document'],'enter',(_0x550b53,_0x3dddb9)=>{const _0x1da828=function(_0x285b4e){const _0x2f9330=_0x285b4e['getSelectedElement']();if(_0x2f9330?.['is']('element','footnoteRef'))return _0x2f9330;return null;}(_0x2a861a);if(_0x1da828){const _0x52d22e=_0x1da828['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x52d22e),_0x3dddb9['preventDefault'](),_0x550b53['stop']();}},{'context':_0x2f6fb5});}['_defineClickHandlers'](){const {editor:_0x1c76f0}=this,{editing:_0x1bc9f7}=_0x1c76f0;_0x1c76f0['editing']['view']['addObserver'](_0xdfb3b4),_0x1c76f0['editing']['view']['addObserver'](_0x1c8afc);let _0x3fd6d0=!0x1;this['listenTo'](_0x1bc9f7['view']['document'],'pointerdown',(_0x260726,_0xbc4624)=>{const {target:_0x24be0a}=_0xbc4624,_0x5c4547=_0x1bc9f7['view']['document']['selection'];_0x3fd6d0=!!(_0x24be0a?.['is']('element','a')&&_0x24be0a['parent']?.['is']('element','sup')&&_0x24be0a['parent']['hasClass']('footnote'))&&_0x5c4547['getSelectedElement']()===_0x24be0a['parent'];},{'priority':'high'}),this['listenTo'](_0x1bc9f7['view']['document'],'click',(_0x4a2cf3,_0x51be1c)=>{const {target:_0x180e3e}=_0x51be1c;if(!_0x180e3e?.['is']('element','a'))return;if(_0x180e3e['parent']?.['is']('element','sup')&&_0x180e3e['parent']['hasClass']('footnote')&&!_0x3fd6d0)return void _0x51be1c['preventDefault']();let _0x66b8ac=_0x180e3e['getAttribute']('href');if(!_0x66b8ac?.['startsWith']('#'))return;_0x66b8ac=_0x66b8ac['slice'](0x1);let _0x1224b8=!0x1;(_0x66b8ac['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x66b8ac['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x66b8ac))&&(_0x1224b8=!0x0),_0x1224b8&&(_0x51be1c['preventDefault'](),_0x4a2cf3['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1223cb}={}){return(_0x2bcaa4,{writer:_0x411435})=>{if(!g(_0x2bcaa4))return null;if(!_0x1223cb)return _0x411435['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x538174=_0x411435['createContainerElement']('p');return _0x411435['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x538174),_0x538174;};}function g(_0x1ed9cd){const {parent:_0x353634}=_0x1ed9cd;if(!_0x353634?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x353634['childCount'])return!0x1;for(const _0x51173b of _0x1ed9cd['getAttributeKeys']())if(!_0x51173b['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x51173b)return!0x1;return!0x0;}function v(_0x520d03,_0xb8dfa0){if(!_0x520d03['is']('element','paragraph'))return!0x1;const _0x563a97=_0xb8dfa0['toViewElement'](_0x520d03);return!!_0x563a97&&g(_0x520d03)!==_0x563a97['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x2b6aad){return _0x2f6fb5(_0x2b6aad)&&_0x2b6aad['is']('containerElement')&&!!_0x2b6aad['getCustomProperty']('footnotesDefinitions');}function D(_0x328ca8,_0x2c10f8={}){const _0x139e9b=_0x328ca8['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x163057=_0x328ca8['createContainerElement']('ol',{'class':'footnotes-list'},_0x328ca8['createSlot']());return _0x328ca8['createContainerElement']('div',{'class':'footnotes',..._0x2c10f8},[_0x139e9b,_0x163057]);}function b(_0x27c71c,_0x16fdab){const _0x172740=_0x27c71c['getAttribute']('footnoteId'),_0x22b535=_0x27c71c['getAttribute']('footnoteCounter'),_0x563927=_0x16fdab['createUIElement']('a',{'href':'#'+_0x172740},function(_0x2ef64c){const _0x3de5f7=this['toDomElement'](_0x2ef64c);return _0x3de5f7['textContent']=_0x22b535,_0x3de5f7;}),_0x2367d6=_0x16fdab['createContainerElement']('sup',{'id':'ref-'+_0x172740,'class':'footnote'},[_0x563927]);return _0x2367d6['getFillerOffset']=()=>null,_0x2367d6;}function y(_0x5998d4,_0x1c5752,_0x5bbdf8,{dataPipeline:_0x1c9565}={}){const {t:t}=_0x5bbdf8,_0x40a5bd=_0x5998d4['getAttribute']('footnoteId'),_0x423210=_0x1c5752['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x40a5bd},function(_0x919848){const _0x4a0be3=this['toDomElement'](_0x919848);return _0x4a0be3['innerText']='^',_0x4a0be3;}),_0x4f2358=_0x1c9565?_0x1c5752['createContainerElement']('div',{'class':'footnote-content'}):_0x5c5091(_0x1c5752['createEditableElement']('div',{'class':'footnote-content'}),_0x1c5752,{'label':t('Footnote\x20content.')});return _0x1c5752['insert'](_0x1c5752['createPositionAt'](_0x4f2358,0x0),_0x1c5752['createSlot']()),_0x1c5752['createContainerElement']('li',{'class':'footnote-definition','id':_0x40a5bd},[_0x423210,_0x4f2358]);}
23
+ import{Plugin as _0x405db5}from'ckeditor5/src/core.js';import{isWidget as _0x47fe90,toWidget as _0x31705e,toWidgetEditable as _0x391675}from'ckeditor5/src/widget.js';import{uid as _0x595b1d}from'ckeditor5/src/utils.js';import{PointerObserver as _0x45a534,ClickObserver as _0x15d330}from'ckeditor5/src/engine.js';import{FootnotesTracker as _0x1db227}from'./footnotestracker.js';import{InsertFootnoteCommand as _0x312373}from'./commands/insertfootnotecommand.js';export class FootnotesEditing extends _0x405db5{static get['pluginName'](){return'FootnotesEditing';}static get['requires'](){return[_0x1db227];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0xe0fac6}=this;_0xe0fac6['config']['define']('footnotes.multiBlock',!0x0),_0xe0fac6['commands']['add']('insertFootnote',new _0x312373(_0xe0fac6)),this['_defineSchema'](),this['_defineRefsConverters'](),this['_defineDefinitionsConverters'](),this['_defineDefinitionConverters'](),this['_defineBogusParagraphConverters'](),this['_defineKeyboardHandlers'](),this['_defineClickHandlers']();}['afterInit'](){!async function(_0x5ed8a2){const _0x56213f=_0x20a449([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]),_0x3d15e=0x47a28506,_0x43744b=0x47a5fb6e^_0x3d15e,_0x4d2c95=window[_0x20a449([0x44,0x61,0x74,0x65])][_0x20a449([0x6e,0x6f,0x77])](),_0xb95154=_0x5ed8a2[_0x20a449([0x65,0x64,0x69,0x74,0x6f,0x72])],_0x12b7c3=new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x5db773=>{_0xb95154[_0x20a449([0x6f,0x6e,0x63,0x65])](_0x20a449([0x72,0x65,0x61,0x64,0x79]),_0x5db773);}),_0x445108={[_0x20a449([0x6b,0x74,0x79])]:_0x20a449([0x45,0x43]),[_0x20a449([0x75,0x73,0x65])]:_0x20a449([0x73,0x69,0x67]),[_0x20a449([0x63,0x72,0x76])]:_0x20a449([0x50,0x2d,0x32,0x35,0x36]),[_0x20a449([0x78])]:_0x20a449([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]),[_0x20a449([0x79])]:_0x20a449([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]),[_0x20a449([0x61,0x6c,0x67])]:_0x20a449([0x45,0x53,0x32,0x35,0x36])},_0x2a2744=_0xb95154[_0x20a449([0x63,0x6f,0x6e,0x66,0x69,0x67])][_0x20a449([0x67,0x65,0x74])](_0x20a449([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79]));async function _0x344a8e(){let _0x2542a3,_0x54a95f=null,_0x1e611a=null;try{if(_0x2a2744==_0x20a449([0x47,0x50,0x4c]))return _0x20a449([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]);if(_0x2542a3=_0x4d6d25(),!_0x2542a3)return _0x20a449([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);return _0x2542a3[_0x20a449([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])]&&(_0x1e611a=_0x459a23(_0x2542a3[_0x20a449([0x75,0x73,0x61,0x67,0x65,0x45,0x6e,0x64,0x70,0x6f,0x69,0x6e,0x74])],_0x2542a3[_0x20a449([0x6a,0x74,0x69])])),await _0x149b87()?_0x56a2e3()?_0x23d617()?_0x20a449([0x45,0x78,0x70,0x69,0x72,0x65,0x64]):_0x218676()?(_0x2542a3[_0x20a449([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])]==_0x20a449([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e])&&(_0x54a95f=_0x25f184(_0x20a449([0x45,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e,0x4c,0x69,0x6d,0x69,0x74]))),await _0x3d36b2()):_0x20a449([0x44,0x6f,0x6d,0x61,0x69,0x6e,0x4c,0x69,0x6d,0x69,0x74]):_0x20a449([0x4e,0x6f,0x74,0x41,0x6c,0x6c,0x6f,0x77,0x65,0x64]):_0x20a449([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}catch{return _0x20a449([0x49,0x6e,0x76,0x61,0x6c,0x69,0x64]);}function _0x23d617(){const _0x11c6b9=[_0x20a449([0x65,0x76,0x61,0x6c,0x75,0x61,0x74,0x69,0x6f,0x6e]),_0x20a449([0x74,0x72,0x69,0x61,0x6c])][_0x20a449([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2542a3[_0x20a449([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x54,0x79,0x70,0x65])])?_0x4d2c95/0x3e8:0xe10*_0x43744b;return _0x2542a3[_0x20a449([0x65,0x78,0x70])]<_0x11c6b9;}function _0x56a2e3(){const _0x181943=_0x2542a3[_0x20a449([0x66,0x65,0x61,0x74,0x75,0x72,0x65,0x73])];return!!_0x181943&&(!!_0x181943[_0x20a449([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a449([0x2a]))||!!_0x181943[_0x20a449([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a449([0x46,0x4f,0x4f])));}function _0x218676(){const _0xf7131c=_0x2542a3[_0x20a449([0x6c,0x69,0x63,0x65,0x6e,0x73,0x65,0x64,0x48,0x6f,0x73,0x74,0x73])];if(!_0xf7131c||0x0==_0xf7131c[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])])return!0x0;const {hostname:_0x2c8426}=new URL(window[_0x20a449([0x6c,0x6f,0x63,0x61,0x74,0x69,0x6f,0x6e])]['href']);if(_0xf7131c[_0x20a449([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x2c8426))return!0x0;const _0x3e0952=_0x2c8426[_0x20a449([0x73,0x70,0x6c,0x69,0x74])](_0x20a449([0x2e]));return _0xf7131c[_0x20a449([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x286a94=>_0x286a94[_0x20a449([0x69,0x6e,0x63,0x6c,0x75,0x64,0x65,0x73])](_0x20a449([0x2a])))[_0x20a449([0x6d,0x61,0x70])](_0x38e035=>_0x38e035[_0x20a449([0x73,0x70,0x6c,0x69,0x74])](_0x20a449([0x2e])))[_0x20a449([0x66,0x69,0x6c,0x74,0x65,0x72])](_0x5374a6=>_0x5374a6[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]<=_0x3e0952[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20a449([0x6d,0x61,0x70])](_0x3b6f36=>Array(_0x3e0952[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]-_0x3b6f36[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])])[_0x20a449([0x66,0x69,0x6c,0x6c])](_0x3b6f36[0x0]===_0x20a449([0x2a])?_0x20a449([0x2a]):'')[_0x20a449([0x63,0x6f,0x6e,0x63,0x61,0x74])](_0x3b6f36))[_0x20a449([0x73,0x6f,0x6d,0x65])](_0x4c2645=>_0x3e0952[_0x20a449([0x65,0x76,0x65,0x72,0x79])]((_0x1cba53,_0x25f08e)=>_0x4c2645[_0x25f08e]===_0x1cba53||_0x4c2645[_0x25f08e]===_0x20a449([0x2a])));}function _0x3d36b2(){return _0x54a95f&&_0x1e611a?new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x43f868,_0x2e294b)=>{_0x54a95f[_0x20a449([0x74,0x68,0x65,0x6e])](_0x43f868,_0x2e294b),_0x1e611a[_0x20a449([0x74,0x68,0x65,0x6e])](_0x39df8e=>{_0x39df8e!=_0x20a449([0x56,0x61,0x6c,0x69,0x64])&&_0x43f868(_0x39df8e);},_0x2e294b);}):_0x54a95f||_0x1e611a||_0x20a449([0x56,0x61,0x6c,0x69,0x64]);}}function _0x459a23(_0x50f2be,_0xf954c3){return new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x456e15=>{if(_0x5af5fa())return _0x456e15(_0x20a449([0x56,0x61,0x6c,0x69,0x64]));_0x9c8bfb(),_0xb95154[_0x20a449([0x64,0x65,0x63,0x6f,0x72,0x61,0x74,0x65])](_0x20a449([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]));let _0x1a6b1a=!0x1;const _0x83206=_0x595b1d();function _0xe27924(_0x1baced){return!!_0x1baced&&(typeof _0x1baced===_0x20a449([0x6f,0x62,0x6a,0x65,0x63,0x74])||typeof _0x1baced===_0x20a449([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]))&&typeof _0x1baced[_0x20a449([0x74,0x68,0x65,0x6e])]===_0x20a449([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e])&&typeof _0x1baced[_0x20a449([0x63,0x61,0x74,0x63,0x68])]===_0x20a449([0x66,0x75,0x6e,0x63,0x74,0x69,0x6f,0x6e]);}function _0xace9de(_0x491ae9){_0x55ac8d(_0x491ae9)[_0x20a449([0x74,0x68,0x65,0x6e])](_0x50d3de=>{if(!_0x50d3de||_0x50d3de[_0x20a449([0x73,0x74,0x61,0x74,0x75,0x73])]!=_0x20a449([0x6f,0x6b]))return _0x20a449([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]);return _0x1b539b(_0x1593d7(_0x83206+_0xf954c3))!=_0x50d3de[_0x20a449([0x76,0x65,0x72,0x69,0x66,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e])]?_0x20a449([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]):_0x20a449([0x56,0x61,0x6c,0x69,0x64]);})[_0x20a449([0x74,0x68,0x65,0x6e])](_0x3294dc=>(_0x1e4541(),_0x3294dc),()=>{const _0x10e1a0=_0x3fac84();return null==_0x10e1a0?(_0x1e4541(),_0x20a449([0x56,0x61,0x6c,0x69,0x64])):_0x20a449(_0x4d2c95-_0x10e1a0>(0x63ae0106^_0x3d15e)?[0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]:[0x56,0x61,0x6c,0x69,0x64]);})[_0x20a449([0x74,0x68,0x65,0x6e])](_0x456e15)[_0x20a449([0x63,0x61,0x74,0x63,0x68])](()=>{_0x456e15(_0x20a449([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});const _0xf62e2c=0x47946b86^_0x3d15e;function _0x1e4541(){const _0x32ae69=_0x20a449([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b539b(_0x1593d7(_0x50f2be)),_0x4a4cc1=_0x1cf6da(_0x1b539b(window[_0x20a449([0x4d,0x61,0x74,0x68])][_0x20a449([0x63,0x65,0x69,0x6c])](_0x4d2c95/_0xf62e2c)));window[_0x20a449([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20a449([0x73,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x32ae69,_0x4a4cc1);}function _0x3fac84(){const _0x2dc22e=_0x20a449([0x6c,0x6c,0x63,0x74,0x2d])+_0x1b539b(_0x1593d7(_0x50f2be)),_0x5a4e2d=window[_0x20a449([0x6c,0x6f,0x63,0x61,0x6c,0x53,0x74,0x6f,0x72,0x61,0x67,0x65])][_0x20a449([0x67,0x65,0x74,0x49,0x74,0x65,0x6d])](_0x2dc22e);return _0x5a4e2d?window[_0x20a449([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x1cf6da(_0x5a4e2d),0x10)*_0xf62e2c:null;}function _0x55ac8d(_0x52bd6c){return new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))]((_0x646d3,_0x4fc3b0)=>{_0x52bd6c[_0x20a449([0x74,0x68,0x65,0x6e])](_0x646d3,_0x4fc3b0),window[_0x20a449([0x73,0x65,0x74,0x54,0x69,0x6d,0x65,0x6f,0x75,0x74])](_0x4fc3b0,0x47a351c6^_0x3d15e);});}}_0xb95154[_0x20a449([0x6f,0x6e])](_0x20a449([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),(_0x58581c,_0x5b0bd8)=>{if(_0x5b0bd8[0x0]!=_0x50f2be)return _0x456e15(_0x20a449([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));_0x5b0bd8[0x1]={..._0x5b0bd8[0x1],[_0x20a449([0x72,0x65,0x71,0x75,0x65,0x73,0x74,0x49,0x64])]:_0x83206};},{[_0x20a449([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20a449([0x68,0x69,0x67,0x68])}),_0xb95154[_0x20a449([0x6f,0x6e])](_0x20a449([0x5f,0x73,0x65,0x6e,0x64,0x55,0x73,0x61,0x67,0x65,0x52,0x65,0x71,0x75,0x65,0x73,0x74]),_0x504055=>{_0xe27924(_0x504055[_0x20a449([0x72,0x65,0x74,0x75,0x72,0x6e])])&&(_0x1a6b1a=!0x0,_0xace9de(_0x504055[_0x20a449([0x72,0x65,0x74,0x75,0x72,0x6e])]));},{[_0x20a449([0x70,0x72,0x69,0x6f,0x72,0x69,0x74,0x79])]:_0x20a449([0x6c,0x6f,0x77])}),_0x12b7c3[_0x20a449([0x74,0x68,0x65,0x6e])](()=>{_0x1a6b1a||_0x456e15(_0x20a449([0x55,0x73,0x61,0x67,0x65,0x4c,0x69,0x6d,0x69,0x74]));});});function _0x5af5fa(){return _0xb95154[_0x20a449([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20a449([0x76,0x69,0x65,0x77])][_0x20a449([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]==_0x20a449([0x61,0x75,0x74,0x6f]);}function _0x9c8bfb(){_0xb95154[_0x20a449([0x65,0x64,0x69,0x74,0x69,0x6e,0x67])][_0x20a449([0x76,0x69,0x65,0x77])][_0x20a449([0x5f,0x6f,0x76,0x65,0x72,0x6c,0x61,0x79,0x4d,0x6f,0x64,0x65,0x48,0x69,0x6e,0x74])]=_0x20a449([0x61,0x75,0x74,0x6f]);}}function _0x25f184(_0x3ce050){const _0x15ceaa=[new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x454b80=>setTimeout(_0x454b80,0x47abbbca^_0x3d15e)),_0x12b7c3[_0x20a449([0x74,0x68,0x65,0x6e])](()=>new window[(_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65]))](_0x3a58b5=>{let _0x37691b=0x0;_0xb95154[_0x20a449([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a449([0x6f,0x6e])](_0x20a449([0x61,0x70,0x70,0x6c,0x79,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e]),(_0x35340c,_0x4332ee)=>{_0x4332ee[0x0][_0x20a449([0x69,0x73,0x44,0x6f,0x63,0x75,0x6d,0x65,0x6e,0x74,0x4f,0x70,0x65,0x72,0x61,0x74,0x69,0x6f,0x6e])]&&_0x37691b++,_0x37691b==(0x47a280ee^_0x3d15e)&&(_0x3a58b5(),_0x35340c[_0x20a449([0x6f,0x66,0x66])]());});}))];return window[_0x20a449([0x50,0x72,0x6f,0x6d,0x69,0x73,0x65])][_0x20a449([0x72,0x61,0x63,0x65])](_0x15ceaa)[_0x20a449([0x74,0x68,0x65,0x6e])](()=>_0x3ce050);}async function _0x3ed0a7(){await _0x12b7c3,_0xb95154[_0x20a449([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a449([0x63,0x68,0x61,0x6e,0x67,0x65])]=_0x12b0e5,_0xb95154[_0x20a449([0x6d,0x6f,0x64,0x65,0x6c])][_0x20a449([0x65,0x6e,0x71,0x75,0x65,0x75,0x65,0x43,0x68,0x61,0x6e,0x67,0x65])]=_0x12b0e5,_0xb95154[_0x20a449([0x65,0x6e,0x61,0x62,0x6c,0x65,0x52,0x65,0x61,0x64,0x4f,0x6e,0x6c,0x79,0x4d,0x6f,0x64,0x65])](_0x20a449([0x6d,0x6f,0x64,0x65,0x6c]));}function _0x24ffb7(_0x1d246b){const _0x18e447=_0x2c908a();_0xb95154[_0x18e447]=_0x20a449([0x66,0x6f,0x6f,0x74,0x6e,0x6f,0x74,0x65,0x73,0x4c,0x69,0x63,0x65,0x6e,0x73,0x65,0x4b,0x65,0x79])+_0x1d246b,_0x1d246b!=_0x20a449([0x56,0x61,0x6c,0x69,0x64])&&_0x3ed0a7();}function _0x2c908a(){const _0x5b05b2=window[_0x20a449([0x53,0x74,0x72,0x69,0x6e,0x67])](window[_0x20a449([0x70,0x65,0x72,0x66,0x6f,0x72,0x6d,0x61,0x6e,0x63,0x65])][_0x20a449([0x6e,0x6f,0x77])]())[_0x20a449([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](_0x20a449([0x2e]),'');let _0x6318f9=_0x20a449([0x75]);for(let _0x2c3e7b=0x0;_0x2c3e7b<_0x5b05b2[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x2c3e7b+=0x2){let _0x118487=window[_0x20a449([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5b05b2[_0x20a449([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x2c3e7b,_0x2c3e7b+0x2));_0x118487>=_0x56213f[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]&&(_0x118487-=_0x56213f[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]),_0x6318f9+=_0x56213f[_0x118487];}return _0x6318f9;}function _0x4d6d25(){const _0x2709c9=_0x2a2744[_0x20a449([0x73,0x70,0x6c,0x69,0x74])](_0x20a449([0x2e]));if(0x3!=_0x2709c9[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])])return null;return _0x3d8aa2(_0x2709c9[0x1]);function _0x3d8aa2(_0xfd6a26){const _0x293fea=_0x2717b1(_0xfd6a26);return _0x293fea&&_0x5cd93d()?_0x293fea:null;function _0x5cd93d(){const _0x5f2aee=_0x293fea[_0x20a449([0x6a,0x74,0x69])],_0x4d0d8a=window[_0x20a449([0x70,0x61,0x72,0x73,0x65,0x49,0x6e,0x74])](_0x5f2aee[_0x20a449([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](_0x5f2aee[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8),0x10),_0x32e429={..._0x293fea,[_0x20a449([0x6a,0x74,0x69])]:_0x5f2aee[_0x20a449([0x73,0x75,0x62,0x73,0x74,0x72,0x69,0x6e,0x67])](0x0,_0x5f2aee[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])]-0x8)};return delete _0x32e429[_0x20a449([0x76,0x63])],_0x1593d7(_0x32e429)==_0x4d0d8a;}}}async function _0x149b87(){let _0xeb51a6=!0x0;try{const _0x278a9b=_0x2a2744[_0x20a449([0x73,0x70,0x6c,0x69,0x74])](_0x20a449([0x2e])),[_0x264084,_0x54d75c,_0x2d9ad6]=_0x278a9b;return _0x5131b1(_0x264084),await _0x21fc59(_0x264084,_0x54d75c,_0x2d9ad6),_0xeb51a6;}catch{return!0x1;}function _0x5131b1(_0x16f51b){const _0x559720=_0x2717b1(_0x16f51b);_0x559720&&_0x559720[_0x20a449([0x61,0x6c,0x67])]==_0x20a449([0x45,0x53,0x32,0x35,0x36])||(_0xeb51a6=!0x1);}async function _0x21fc59(_0x53d0e1,_0x3ab002,_0x4874f3){const _0x4e2612=window[_0x20a449([0x55,0x69,0x6e,0x74,0x38,0x41,0x72,0x72,0x61,0x79])][_0x20a449([0x66,0x72,0x6f,0x6d])](_0x148d07(_0x4874f3),_0x21349f=>_0x21349f[_0x20a449([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](0x0)),_0x58503d=new window[(_0x20a449([0x54,0x65,0x78,0x74,0x45,0x6e,0x63,0x6f,0x64,0x65,0x72]))]()[_0x20a449([0x65,0x6e,0x63,0x6f,0x64,0x65])](_0x53d0e1+_0x20a449([0x2e])+_0x3ab002),_0x535985=window[_0x20a449([0x63,0x72,0x79,0x70,0x74,0x6f])][_0x20a449([0x73,0x75,0x62,0x74,0x6c,0x65])];if(!_0x535985)return;const _0x40bccc=await _0x535985[_0x20a449([0x69,0x6d,0x70,0x6f,0x72,0x74,0x4b,0x65,0x79])](_0x20a449([0x6a,0x77,0x6b]),_0x445108,{[_0x20a449([0x6e,0x61,0x6d,0x65])]:_0x20a449([0x45,0x43,0x44,0x53,0x41]),[_0x20a449([0x6e,0x61,0x6d,0x65,0x64,0x43,0x75,0x72,0x76,0x65])]:_0x20a449([0x50,0x2d,0x32,0x35,0x36])},!0x1,[_0x20a449([0x76,0x65,0x72,0x69,0x66,0x79])]);await _0x535985[_0x20a449([0x76,0x65,0x72,0x69,0x66,0x79])]({[_0x20a449([0x6e,0x61,0x6d,0x65])]:_0x20a449([0x45,0x43,0x44,0x53,0x41]),[_0x20a449([0x68,0x61,0x73,0x68])]:{[_0x20a449([0x6e,0x61,0x6d,0x65])]:_0x20a449([0x53,0x48,0x41,0x2d,0x32,0x35,0x36])}},_0x40bccc,_0x4e2612,_0x58503d)||(_0xeb51a6=!0x1);}}function _0x2717b1(_0x4214af){return _0x4214af[_0x20a449([0x73,0x74,0x61,0x72,0x74,0x73,0x57,0x69,0x74,0x68])](_0x20a449([0x65,0x79]))?JSON[_0x20a449([0x70,0x61,0x72,0x73,0x65])](_0x148d07(_0x4214af)):null;}function _0x148d07(_0x1f77ff){return window[_0x20a449([0x61,0x74,0x6f,0x62])](_0x1f77ff[_0x20a449([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/-/g,_0x20a449([0x2b]))[_0x20a449([0x72,0x65,0x70,0x6c,0x61,0x63,0x65])](/_/g,_0x20a449([0x2f])));}function _0x1593d7(_0x18a0b1){let _0x1fe442=0x1505;function _0x1a2826(_0x5205c7){for(let _0x53eca6=0x0;_0x53eca6<_0x5205c7[_0x20a449([0x6c,0x65,0x6e,0x67,0x74,0x68])];_0x53eca6++){const _0x31b9fb=_0x5205c7[_0x20a449([0x63,0x68,0x61,0x72,0x43,0x6f,0x64,0x65,0x41,0x74])](_0x53eca6);_0x1fe442=(_0x1fe442<<0x5)+_0x1fe442+_0x31b9fb,_0x1fe442&=_0x1fe442;}}function _0x23c31b(_0x414c42){Array[_0x20a449([0x69,0x73,0x41,0x72,0x72,0x61,0x79])](_0x414c42)?_0x414c42[_0x20a449([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](_0x23c31b):_0x414c42&&typeof _0x414c42==_0x20a449([0x6f,0x62,0x6a,0x65,0x63,0x74])?Object[_0x20a449([0x65,0x6e,0x74,0x72,0x69,0x65,0x73])](_0x414c42)[_0x20a449([0x73,0x6f,0x72,0x74])]()[_0x20a449([0x66,0x6f,0x72,0x45,0x61,0x63,0x68])](([_0x30abbf,_0x1b30b7])=>{_0x1a2826(_0x30abbf),_0x23c31b(_0x1b30b7);}):_0x1a2826(window[_0x20a449([0x53,0x74,0x72,0x69,0x6e,0x67])](_0x414c42));}return _0x23c31b(_0x18a0b1),_0x1fe442>>>0x0;}function _0x1b539b(_0x3746a8){return _0x3746a8[_0x20a449([0x74,0x6f,0x53,0x74,0x72,0x69,0x6e,0x67])](0x10)[_0x20a449([0x70,0x61,0x64,0x53,0x74,0x61,0x72,0x74])](0x8,_0x20a449([0x30]));}function _0x1cf6da(_0x21b229){return _0x21b229[_0x20a449([0x73,0x70,0x6c,0x69,0x74])]('')[_0x20a449([0x72,0x65,0x76,0x65,0x72,0x73,0x65])]()[_0x20a449([0x6a,0x6f,0x69,0x6e])]('');}function _0x12b0e5(){}function _0x20a449(_0x49509a){return _0x49509a['map'](_0x5e922c=>String['fromCharCode'](_0x5e922c))['join']('');}_0x24ffb7(await _0x344a8e());}(this);}['_moveSelectionToFootnoteDefinition'](_0x5b9150){const {plugins:_0x427507,editing:_0x3b3eec,model:_0x358bd0}=this['editor'],_0x5019ac=_0x427507['get'](_0x1db227)['getFootnote'](_0x5b9150);return!!_0x5019ac&&(_0x358bd0['change'](_0x3ab2d4=>{_0x3ab2d4['setSelection'](_0x3ab2d4['createPositionAt'](_0x5019ac['definition'],'end'));}),_0x3b3eec['view']['scrollToTheSelection'](),!0x0);}['_moveSelectionToFootnoteReference'](_0x3c50dc){const {plugins:_0x1bf995,editing:_0x327c1f,model:_0x3afcc9}=this['editor'],_0x326f7a=_0x1bf995['get'](_0x1db227)['getFootnote'](_0x3c50dc);return!!_0x326f7a&&(_0x3afcc9['change'](_0x196d9f=>{_0x196d9f['setSelection'](_0x326f7a['reference'],'on');}),_0x327c1f['view']['scrollToTheSelection'](),!0x0);}['_defineSchema'](){const {schema:_0x535427}=this['editor']['model'],_0x34c680=this['editor']['config']['get']('footnotes.multiBlock');_0x535427['register']('footnoteRef',{'inheritAllFrom':'$inlineObject','allowAttributes':['footnoteId','footnoteCounter']}),_0x535427['register']('footnotesDefinitions',{'inheritAllFrom':'$blockObject','allowChildren':['footnoteDefinition']}),_0x535427['register']('footnoteDefinition',{'allowAttributes':['footnoteId'],'disallowAttributes':['listItemId'],'isLimit':!0x0}),_0x34c680?_0x535427['extend']('footnoteDefinition',{'allowContentOf':'$container'}):_0x535427['register']('footnoteInlineContent',{'allowIn':'footnoteDefinition','allowContentOf':'$block','isLimit':!0x0}),_0x535427['addChildCheck'](_0x5a43ad=>{for(const _0x5291e5 of _0x5a43ad)if('footnoteDefinition'===_0x5291e5['name'])return!0x1;},'footnoteRef');}['_defineRefsConverters'](){const {editor:_0x4c3d08}=this,{conversion:_0x1e94db,editing:_0x504500}=_0x4c3d08,{t:t}=_0x4c3d08['locale'];_0x1e94db['for']('upcast')['elementToElement']({'view':{'name':'sup','classes':'footnote'},'model':(_0x8d9675,{writer:_0x41c2c7,consumable:_0x19c2ac})=>{const _0x51ae1e=_0x8d9675['getChild'](0x0);if(!_0x51ae1e||!_0x51ae1e['is']('element','a'))return null;const _0x524f86=_0x51ae1e['getAttribute']('href')||'';if(!_0x524f86['startsWith']('#'))return null;const _0x4e5239=_0x524f86['replace'](/^#/,'');if(!_0x4e5239)return null;_0x19c2ac['consume'](_0x51ae1e,{'name':!0x0,'attributes':['href']});for(const {item:_0x54635c}of _0x504500['view']['createRangeIn'](_0x51ae1e))_0x54635c['is']('$textProxy')?_0x19c2ac['consume'](_0x54635c['textNode'],{'name':!0x0}):_0x54635c['is']('element')&&_0x19c2ac['consume'](_0x54635c,{'name':!0x0});return _0x41c2c7['createElement']('footnoteRef',{'footnoteId':_0x4e5239});}}),_0x1e94db['for']('dataDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x50c655,{writer:_0x5f5232})=>b(_0x50c655,_0x5f5232)}),_0x1e94db['for']('editingDowncast')['elementToElement']({'model':{'name':'footnoteRef','attributes':['footnoteId','footnoteCounter']},'view':(_0x399d08,{writer:_0x121703})=>{const _0x1ed83a=_0x399d08['getAttribute']('footnoteCounter');return _0x31705e(b(_0x399d08,_0x121703),_0x121703,{'label':t('Footnote\x20%0.\x20Press\x20ENTER\x20to\x20jump\x20to\x20footnote\x20definition.',_0x1ed83a)});}});}['_defineDefinitionsConverters'](){const {editor:_0x36efe5}=this,{t:t}=_0x36efe5['locale'],{conversion:_0x3da8f4}=_0x36efe5;_0x3da8f4['for']('upcast')['elementToElement']({'view':{'name':'div','classes':'footnotes'},'model':'footnotesDefinitions'}),_0x3da8f4['for']('upcast')['add'](_0x294326=>{_0x294326['on']('element:ol',(_0x5efa19,_0x2a7a0c,_0x2feb55)=>{const _0x1bd451=_0x2a7a0c['viewItem'];if(!_0x1bd451['hasClass']('footnotes-list')||!_0x2a7a0c['modelCursor']['parent']?.['is']('element','footnotesDefinitions'))return;if(!_0x2feb55['consumable']['consume'](_0x1bd451,{'name':!0x0,'classes':'footnotes-list'}))return;const {modelRange:_0x34d09e,modelCursor:_0xb3de87}=_0x2feb55['convertChildren'](_0x2a7a0c['viewItem'],_0x2a7a0c['modelCursor']);_0x2a7a0c['modelRange']=_0x34d09e,_0x2a7a0c['modelCursor']=_0xb3de87;}),_0x294326['on']('element:hr',(_0x476a38,_0x5a7831,_0x5a82ff)=>{const _0x39aa34=_0x5a7831['viewItem'];_0x39aa34['hasClass']('footnotes-divider')&&_0x5a7831['modelCursor']['parent']?.['is']('element','footnotesDefinitions')&&_0x5a82ff['consumable']['consume'](_0x39aa34,{'name':!0x0,'classes':'footnotes-divider'});});}),_0x3da8f4['for']('dataDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x334d8c,{writer:_0x18d0a2})=>D(_0x18d0a2)}),_0x3da8f4['for']('editingDowncast')['elementToStructure']({'model':'footnotesDefinitions','view':(_0x310ca0,{writer:_0x515cb8})=>{const _0x3ca2f0=D(_0x515cb8,{'data-footnotes-list-label':t('Footnotes')}),_0x5e61bb=_0x31705e(_0x3ca2f0,_0x515cb8,{'hasSelectionHandle':!0x0,'label':t('Footnotes')});return _0x515cb8['setCustomProperty']('footnotesDefinitions',!0x0,_0x5e61bb),_0x5e61bb;}});}['_defineDefinitionConverters'](){const {editor:_0x3a1849}=this,{conversion:_0x1175f1,locale:_0x9ed7c1}=_0x3a1849,_0x203db6=_0x3a1849['config']['get']('footnotes.multiBlock');_0x1175f1['for']('upcast')['add'](_0x566609=>{_0x566609['on']('element:li',(_0x282125,_0x35eef9,_0x402334)=>{const _0x4335be=_0x35eef9['viewItem'];if(!_0x4335be['hasClass']('footnote-definition')||!_0x4335be['getAttribute']('id'))return;const _0x115c74=_0x4335be['parent'];if(!_0x115c74['is']('element','ol')||!_0x115c74['hasClass']('footnotes-list'))return;if(!_0x402334['consumable']['test'](_0x4335be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'}))return;const _0x62402f=_0x402334['writer']['createElement']('footnoteDefinition',{'footnoteId':_0x4335be['getAttribute']('id')});if(!_0x402334['safeInsert'](_0x62402f,_0x35eef9['modelCursor']))return;_0x402334['consumable']['consume'](_0x4335be,{'name':!0x0,'attributes':'id','classes':'footnote-definition'});const _0x5ec87b=Array['from'](_0x4335be['getChildren']())['find'](_0x23e1b6=>_0x23e1b6['is']('element')&&_0x23e1b6['hasClass']('footnote-content'));for(const _0x1346e0 of _0x4335be['getChildren']())_0x1346e0['is']('element')&&(_0x402334['consumable']['consume'](_0x1346e0,{'name':!0x0,'classes':'footnote-backlink','attributes':'href'}),_0x402334['consumable']['consume'](_0x1346e0,{'name':!0x0,'classes':'footnote-content'}));if(_0x5ec87b){if(_0x203db6)_0x402334['convertChildren'](_0x5ec87b,_0x62402f);else{const _0x1f4a79=_0x402334['writer']['createElement']('footnoteInlineContent');_0x402334['writer']['insert'](_0x1f4a79,_0x62402f),_0x402334['convertChildren'](_0x5ec87b,_0x1f4a79);}}_0x402334['updateConversionResult'](_0x62402f,_0x35eef9);});}),_0x1175f1['for']('dataDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x10af76,{writer:_0xb45604})=>y(_0x10af76,_0xb45604,_0x9ed7c1,{'dataPipeline':!0x0})}),_0x1175f1['for']('editingDowncast')['elementToStructure']({'model':{'name':'footnoteDefinition','attributes':['footnoteId']},'view':(_0x24a2f0,{writer:_0x5859cb})=>y(_0x24a2f0,_0x5859cb,_0x9ed7c1)});}['_defineBogusParagraphConverters'](){const {editor:_0x3f6bec}=this,{conversion:_0x53b471}=_0x3f6bec;_0x3f6bec['config']['get']('footnotes.multiBlock')?(_0x53b471['for']('editingDowncast')['elementToElement']({'model':'paragraph','view':p(),'converterPriority':'high'}),_0x53b471['for']('dataDowncast')['elementToElement']({'model':'paragraph','view':p({'dataPipeline':!0x0}),'converterPriority':'high'}),this['listenTo'](_0x3f6bec['model']['document'],'change:data',()=>{!function(_0x1d03ba,_0x262ec7){const _0x4faec7=_0x1d03ba['document']['differ'],_0x44d8fd=new Set();for(const _0x6a4df2 of _0x4faec7['getChanges']()){const _0x479fd6='attribute'==_0x6a4df2['type']?_0x6a4df2['range']['start']['parent']:_0x6a4df2['position']['parent'];_0x479fd6['is']('element','footnoteDefinition')&&_0x44d8fd['add'](_0x479fd6);}for(const _0x5061d5 of _0x44d8fd['values']()){const _0x566b58=Array['from'](_0x5061d5['getChildren']())['filter'](_0x51d7d9=>v(_0x51d7d9,_0x262ec7['mapper']));for(const _0x1eff24 of _0x566b58)_0x262ec7['reconvertItem'](_0x1eff24);}}(_0x3f6bec['model'],_0x3f6bec['editing']);})):(_0x53b471['for']('editingDowncast')['elementToElement']({'model':'footnoteInlineContent','view':p()}),_0x53b471['for']('dataDowncast')['elementToElement']({'model':'footnoteInlineContent','view':(_0x4116e3,{writer:_0x4a9b7d})=>{const _0x33e8ad=_0x4a9b7d['createContainerElement']('span');return _0x4a9b7d['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x33e8ad),_0x33e8ad;}}));}['_defineKeyboardHandlers'](){const {editor:_0x5bcc2d}=this,{editing:_0x3bde46,t:t}=_0x5bcc2d,_0x5ecdbb=_0x5bcc2d['model']['document']['selection'];_0x5bcc2d['keystrokes']['set']('Ctrl+Alt+F','insertFootnote'),_0x5bcc2d['accessibility']['addKeystrokeInfos']({'keystrokes':[{'label':t('Insert\x20footnote'),'keystroke':'Ctrl+Alt+F'}]}),this['listenTo'](_0x3bde46['view']['document'],'enter',(_0x5d3a0a,_0x20e415)=>{const _0x433f23=function(_0x5bf5d9){const _0x25fd88=_0x5bf5d9['getSelectedElement']();if(_0x25fd88?.['is']('element','footnoteRef'))return _0x25fd88;return null;}(_0x5ecdbb);if(_0x433f23){const _0x41ac67=_0x433f23['getAttribute']('footnoteId');this['_moveSelectionToFootnoteDefinition'](_0x41ac67),_0x20e415['preventDefault'](),_0x5d3a0a['stop']();}},{'context':_0x47fe90});}['_defineClickHandlers'](){const {editor:_0x2e5839}=this,{editing:_0x3868a9}=_0x2e5839;_0x2e5839['editing']['view']['addObserver'](_0x45a534),_0x2e5839['editing']['view']['addObserver'](_0x15d330);let _0x28a572=!0x1;this['listenTo'](_0x3868a9['view']['document'],'pointerdown',(_0x39cbf0,_0x26b1ee)=>{const {target:_0x5a18b6}=_0x26b1ee,_0x41c7dc=_0x3868a9['view']['document']['selection'];_0x28a572=!!(_0x5a18b6?.['is']('element','a')&&_0x5a18b6['parent']?.['is']('element','sup')&&_0x5a18b6['parent']['hasClass']('footnote'))&&_0x41c7dc['getSelectedElement']()===_0x5a18b6['parent'];},{'priority':'high'}),this['listenTo'](_0x3868a9['view']['document'],'click',(_0x5edb3d,_0x16aed0)=>{const {target:_0x34f3a2}=_0x16aed0;if(!_0x34f3a2?.['is']('element','a'))return;if(_0x34f3a2['parent']?.['is']('element','sup')&&_0x34f3a2['parent']['hasClass']('footnote')&&!_0x28a572)return void _0x16aed0['preventDefault']();let _0x2312a0=_0x34f3a2['getAttribute']('href');if(!_0x2312a0?.['startsWith']('#'))return;_0x2312a0=_0x2312a0['slice'](0x1);let _0xce56c2=!0x1;(_0x2312a0['startsWith']('ref-')&&this['_moveSelectionToFootnoteReference'](_0x2312a0['slice'](0x4))||this['_moveSelectionToFootnoteDefinition'](_0x2312a0))&&(_0xce56c2=!0x0),_0xce56c2&&(_0x16aed0['preventDefault'](),_0x5edb3d['stop']());},{'priority':'high','context':'$capture'});}}function p({dataPipeline:_0x1ccbae}={}){return(_0x81302d,{writer:_0x1d0409})=>{if(!g(_0x81302d))return null;if(!_0x1ccbae)return _0x1d0409['createContainerElement']('span',{'class':'ck-footnote-bogus-paragraph'});const _0x111c53=_0x1d0409['createContainerElement']('p');return _0x1d0409['setCustomProperty']('dataPipeline:transparentRendering',!0x0,_0x111c53),_0x111c53;};}function g(_0x385690){const {parent:_0x419dfb}=_0x385690;if(!_0x419dfb?.['is']('element','footnoteDefinition'))return!0x1;if(0x1!=_0x419dfb['childCount'])return!0x1;for(const _0x4085ed of _0x385690['getAttributeKeys']())if(!_0x4085ed['startsWith']('selection:')&&'htmlEmptyBlock'!=_0x4085ed)return!0x1;return!0x0;}function v(_0x7cbcd1,_0x4546af){if(!_0x7cbcd1['is']('element','paragraph'))return!0x1;const _0x3e39e8=_0x4546af['toViewElement'](_0x7cbcd1);return!!_0x3e39e8&&g(_0x7cbcd1)!==_0x3e39e8['is']('element','span');}export function isFootnotesDefinitionsWidget(_0x3a1e4e){return _0x47fe90(_0x3a1e4e)&&_0x3a1e4e['is']('containerElement')&&!!_0x3a1e4e['getCustomProperty']('footnotesDefinitions');}function D(_0x41af8c,_0x3b28e6={}){const _0x1859a8=_0x41af8c['createEmptyElement']('hr',{'class':'footnotes-divider'}),_0x253686=_0x41af8c['createContainerElement']('ol',{'class':'footnotes-list'},_0x41af8c['createSlot']());return _0x41af8c['createContainerElement']('div',{'class':'footnotes',..._0x3b28e6},[_0x1859a8,_0x253686]);}function b(_0x1f0c17,_0x2f0e89){const _0x31822f=_0x1f0c17['getAttribute']('footnoteId'),_0x55408e=_0x1f0c17['getAttribute']('footnoteCounter'),_0x2e11b8=_0x2f0e89['createUIElement']('a',{'href':'#'+_0x31822f},function(_0x4b9798){const _0x423afb=this['toDomElement'](_0x4b9798);return _0x423afb['textContent']=_0x55408e,_0x423afb;}),_0x33f81b=_0x2f0e89['createContainerElement']('sup',{'id':'ref-'+_0x31822f,'class':'footnote'},[_0x2e11b8]);return _0x33f81b['getFillerOffset']=()=>null,_0x33f81b;}function y(_0x18e4f1,_0x314afa,_0x1a9e48,{dataPipeline:_0x2909b8}={}){const {t:t}=_0x1a9e48,_0x229710=_0x18e4f1['getAttribute']('footnoteId'),_0x44b558=_0x314afa['createUIElement']('a',{'class':'footnote-backlink','href':'#ref-'+_0x229710},function(_0x36d43b){const _0x534d4a=this['toDomElement'](_0x36d43b);return _0x534d4a['innerText']='^',_0x534d4a;}),_0x30f745=_0x2909b8?_0x314afa['createContainerElement']('div',{'class':'footnote-content'}):_0x391675(_0x314afa['createEditableElement']('div',{'class':'footnote-content'}),_0x314afa,{'label':t('Footnote\x20content.')});return _0x314afa['insert'](_0x314afa['createPositionAt'](_0x30f745,0x0),_0x314afa['createSlot']()),_0x314afa['createContainerElement']('li',{'class':'footnote-definition','id':_0x229710},[_0x44b558,_0x30f745]);}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x5d4125=_0x379f;function _0x379f(_0x28193f,_0x24dcb5){const _0x1abe3e=_0x1abe();return _0x379f=function(_0x379fdb,_0x33de5f){_0x379fdb=_0x379fdb-0x148;let _0x3a8124=_0x1abe3e[_0x379fdb];return _0x3a8124;},_0x379f(_0x28193f,_0x24dcb5);}(function(_0x1eb001,_0x452caa){const _0x4530ae=_0x379f,_0x97a76f=_0x1eb001();while(!![]){try{const _0x31bfa8=parseInt(_0x4530ae(0x157))/0x1+-parseInt(_0x4530ae(0x14a))/0x2*(-parseInt(_0x4530ae(0x151))/0x3)+parseInt(_0x4530ae(0x14d))/0x4+parseInt(_0x4530ae(0x15d))/0x5+parseInt(_0x4530ae(0x159))/0x6*(-parseInt(_0x4530ae(0x15a))/0x7)+parseInt(_0x4530ae(0x158))/0x8+-parseInt(_0x4530ae(0x153))/0x9;if(_0x31bfa8===_0x452caa)break;else _0x97a76f['push'](_0x97a76f['shift']());}catch(_0x41be84){_0x97a76f['push'](_0x97a76f['shift']());}}}(_0x1abe,0x3a44f));import{Command as _0x206c02}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3f79f9}from'../../footnotestracker.js';export class FootnotesStartCommand extends _0x206c02{[_0x5d4125(0x14c)](){const _0x3282fe=_0x5d4125,{editor:_0x16d1e5}=this,_0x37c789=_0x16d1e5[_0x3282fe(0x15c)][_0x3282fe(0x15b)](_0x3f79f9)[_0x3282fe(0x150)]();this[_0x3282fe(0x152)]=!!_0x37c789,this[_0x3282fe(0x156)]=_0x37c789?.[_0x3282fe(0x149)](_0x3282fe(0x14f))??null;}[_0x5d4125(0x155)]({value:_0x13c764}){const _0x2025f7=_0x5d4125,{editor:_0x24af3f}=this,_0x1b2efa=_0x24af3f[_0x2025f7(0x15c)][_0x2025f7(0x15b)](_0x3f79f9),_0x23ac12=_0x1b2efa[_0x2025f7(0x150)]();_0x23ac12&&Number[_0x2025f7(0x154)](_0x13c764)&&_0x24af3f[_0x2025f7(0x15e)][_0x2025f7(0x14e)](_0x41732b=>{const _0x2692dd=_0x2025f7;_0x41732b[_0x2692dd(0x14b)](_0x2692dd(0x14f),_0x13c764,_0x23ac12),_0x1b2efa[_0x2692dd(0x148)](_0x41732b);});}}function _0x1abe(){const _0x4c0b7d=['_updateFootnotesCounters','getAttribute','32586YkfQUf','setAttribute','refresh','1407452yxObCY','change','footnotesListStart','getFootnotesDefinitionsObjectElement','42tVFIrH','isEnabled','3974688aQQAEl','isInteger','execute','value','277300vpkwlK','386352SkIeoh','6690IGeUCe','2569BMVrQJ','get','plugins','919745AuFNsB','model'];_0x1abe=function(){return _0x4c0b7d;};return _0x1abe();}
23
+ const _0x52f559=_0x4532;(function(_0x5c0d9f,_0x5b008f){const _0x354181=_0x4532,_0x446ae2=_0x5c0d9f();while(!![]){try{const _0x41adb5=-parseInt(_0x354181(0x1b6))/0x1+-parseInt(_0x354181(0x1c0))/0x2+parseInt(_0x354181(0x1ae))/0x3+parseInt(_0x354181(0x1ba))/0x4*(parseInt(_0x354181(0x1bf))/0x5)+parseInt(_0x354181(0x1ac))/0x6+parseInt(_0x354181(0x1bb))/0x7*(parseInt(_0x354181(0x1bd))/0x8)+-parseInt(_0x354181(0x1b4))/0x9;if(_0x41adb5===_0x5b008f)break;else _0x446ae2['push'](_0x446ae2['shift']());}catch(_0x34643f){_0x446ae2['push'](_0x446ae2['shift']());}}}(_0x2a8c,0xbfd4a));import{Command as _0x16f56c}from'ckeditor5/src/core.js';import{FootnotesTracker as _0x3f611f}from'../../footnotestracker.js';function _0x4532(_0x137e62,_0x52df42){const _0x2a8c12=_0x2a8c();return _0x4532=function(_0x453215,_0x446ac0){_0x453215=_0x453215-0x1ab;let _0x57b79c=_0x2a8c12[_0x453215];return _0x57b79c;},_0x4532(_0x137e62,_0x52df42);}export class FootnotesStartCommand extends _0x16f56c{[_0x52f559(0x1b8)](){const _0x69301=_0x52f559,{editor:_0x36bd44}=this,_0x4a1636=_0x36bd44[_0x69301(0x1bc)][_0x69301(0x1b5)](_0x3f611f)[_0x69301(0x1b7)]();this[_0x69301(0x1c1)]=!!_0x4a1636,this[_0x69301(0x1b2)]=_0x4a1636?.[_0x69301(0x1b1)](_0x69301(0x1ad))??null;}[_0x52f559(0x1b9)]({value:_0x51a6dc}){const _0x5c395f=_0x52f559,{editor:_0x24f78c}=this,_0x504048=_0x24f78c[_0x5c395f(0x1bc)][_0x5c395f(0x1b5)](_0x3f611f),_0x34755c=_0x504048[_0x5c395f(0x1b7)]();_0x34755c&&Number[_0x5c395f(0x1be)](_0x51a6dc)&&_0x24f78c[_0x5c395f(0x1af)][_0x5c395f(0x1ab)](_0x3bf40d=>{const _0x1650a6=_0x5c395f;_0x3bf40d[_0x1650a6(0x1b0)](_0x1650a6(0x1ad),_0x51a6dc,_0x34755c),_0x504048[_0x1650a6(0x1b3)](_0x3bf40d);});}}function _0x2a8c(){const _0x395a97=['1179954SYZhqo','model','setAttribute','getAttribute','value','_updateFootnotesCounters','19310292dcZHZK','get','531929SSzcNG','getFootnotesDefinitionsObjectElement','refresh','execute','1683224sSMMHd','1253trpxdE','plugins','21544YGvFFh','isInteger','15GnkXoG','158936PxjZKw','isEnabled','change','8429640OPmBMQ','footnotesListStart'];_0x2a8c=function(){return _0x395a97;};return _0x2a8c();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x3672(){const _0x4d9e22=['499kXzTYj','24UcIQYG','22203qDsAyI','setAttribute','93532kprDBM','860dhymFU','footnotesListStyle','805025VduSnw','getAttribute','_updateFootnotesCounters','model','refresh','18RNRxLB','plugins','includes','isEnabled','509217xlJEiJ','change','3858suKvyS','40188SDwFLF','get','502306owToIM','execute','value','getFootnotesDefinitionsObjectElement','4609oPBHcy'];_0x3672=function(){return _0x4d9e22;};return _0x3672();}const _0x12f17c=_0x2966;(function(_0x552ca1,_0x183a8c){const _0x4a2b35=_0x2966,_0xbb212e=_0x552ca1();while(!![]){try{const _0x4ec892=parseInt(_0x4a2b35(0x128))/0x1*(parseInt(_0x4a2b35(0x13a))/0x2)+parseInt(_0x4a2b35(0x138))/0x3+parseInt(_0x4a2b35(0x12c))/0x4+parseInt(_0x4a2b35(0x12f))/0x5*(parseInt(_0x4a2b35(0x134))/0x6)+parseInt(_0x4a2b35(0x13d))/0x7*(parseInt(_0x4a2b35(0x129))/0x8)+-parseInt(_0x4a2b35(0x12a))/0x9*(-parseInt(_0x4a2b35(0x12d))/0xa)+parseInt(_0x4a2b35(0x127))/0xb*(-parseInt(_0x4a2b35(0x13b))/0xc);if(_0x4ec892===_0x183a8c)break;else _0xbb212e['push'](_0xbb212e['shift']());}catch(_0x476bcc){_0xbb212e['push'](_0xbb212e['shift']());}}}(_0x3672,0xa1d81));import{Command as _0x8880d4}from'ckeditor5/src/core.js';function _0x2966(_0x16dfb3,_0x33a9fc){const _0x367284=_0x3672();return _0x2966=function(_0x29668f,_0x4f7222){_0x29668f=_0x29668f-0x127;let _0x48fc83=_0x367284[_0x29668f];return _0x48fc83;},_0x2966(_0x16dfb3,_0x33a9fc);}import{FOOTNOTES_DEFINITIONS_STYLES as _0x572dad}from'../footnotespropertiesconfig.js';import{FootnotesTracker as _0x5d8dc0}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0x8880d4{[_0x12f17c(0x133)](){const _0x5c57bc=_0x12f17c,{editor:_0x5238e9}=this,_0x633e11=_0x5238e9[_0x5c57bc(0x135)][_0x5c57bc(0x13c)](_0x5d8dc0)[_0x5c57bc(0x140)]();this[_0x5c57bc(0x137)]=!!_0x633e11,this[_0x5c57bc(0x13f)]=_0x633e11?.[_0x5c57bc(0x130)](_0x5c57bc(0x12e))??null;}[_0x12f17c(0x13e)]({value:_0x262214}){const _0x4b57c6=_0x12f17c,{editor:_0x2de511}=this,_0x1b6346=_0x2de511[_0x4b57c6(0x135)][_0x4b57c6(0x13c)](_0x5d8dc0),_0x2359bd=_0x1b6346[_0x4b57c6(0x140)]();_0x2359bd&&_0x572dad[_0x4b57c6(0x136)](_0x262214)&&_0x2de511[_0x4b57c6(0x132)][_0x4b57c6(0x139)](_0x251d20=>{const _0x513162=_0x4b57c6;_0x251d20[_0x513162(0x12b)](_0x513162(0x12e),_0x262214,_0x2359bd),_0x1b6346[_0x513162(0x131)](_0x251d20);});}}
23
+ const _0x11d796=_0x4f40;(function(_0x36049b,_0x451a7d){const _0x4fd061=_0x4f40,_0x6053fc=_0x36049b();while(!![]){try{const _0x510118=-parseInt(_0x4fd061(0x194))/0x1*(parseInt(_0x4fd061(0x184))/0x2)+-parseInt(_0x4fd061(0x17c))/0x3*(parseInt(_0x4fd061(0x18b))/0x4)+parseInt(_0x4fd061(0x18c))/0x5+-parseInt(_0x4fd061(0x17e))/0x6+parseInt(_0x4fd061(0x188))/0x7*(-parseInt(_0x4fd061(0x182))/0x8)+-parseInt(_0x4fd061(0x17d))/0x9*(parseInt(_0x4fd061(0x17b))/0xa)+parseInt(_0x4fd061(0x191))/0xb*(parseInt(_0x4fd061(0x185))/0xc);if(_0x510118===_0x451a7d)break;else _0x6053fc['push'](_0x6053fc['shift']());}catch(_0x6df1bd){_0x6053fc['push'](_0x6053fc['shift']());}}}(_0x37bf,0x6b98c));import{Command as _0xef0de5}from'ckeditor5/src/core.js';import{FOOTNOTES_DEFINITIONS_STYLES as _0x15da9b}from'../footnotespropertiesconfig.js';function _0x4f40(_0x48abbd,_0x4449df){const _0x37bf42=_0x37bf();return _0x4f40=function(_0x4f4038,_0x11d3d7){_0x4f4038=_0x4f4038-0x17b;let _0x4a7173=_0x37bf42[_0x4f4038];return _0x4a7173;},_0x4f40(_0x48abbd,_0x4449df);}import{FootnotesTracker as _0x31d606}from'../../footnotestracker.js';export class FootnotesStyleCommand extends _0xef0de5{[_0x11d796(0x18d)](){const _0x1ebbbd=_0x11d796,{editor:_0x35f566}=this,_0x5f0f3a=_0x35f566[_0x1ebbbd(0x18e)][_0x1ebbbd(0x192)](_0x31d606)[_0x1ebbbd(0x180)]();this[_0x1ebbbd(0x187)]=!!_0x5f0f3a,this[_0x1ebbbd(0x18a)]=_0x5f0f3a?.[_0x1ebbbd(0x190)](_0x1ebbbd(0x183))??null;}[_0x11d796(0x189)]({value:_0x4a7a75}){const _0x252809=_0x11d796,{editor:_0x250a79}=this,_0x314272=_0x250a79[_0x252809(0x18e)][_0x252809(0x192)](_0x31d606),_0xb1664a=_0x314272[_0x252809(0x180)]();_0xb1664a&&_0x15da9b[_0x252809(0x18f)](_0x4a7a75)&&_0x250a79[_0x252809(0x181)][_0x252809(0x17f)](_0x13810d=>{const _0x29162c=_0x252809;_0x13810d[_0x29162c(0x193)](_0x29162c(0x183),_0x4a7a75,_0xb1664a),_0x314272[_0x29162c(0x186)](_0x13810d);});}}function _0x37bf(){const _0x4913db=['2952mGZGmA','footnotesListStyle','2bJlFNB','13344108wxUcct','_updateFootnotesCounters','isEnabled','9611GPwHNn','execute','value','312020JftpCX','1642955wsyOHx','refresh','plugins','includes','getAttribute','22gbOXCP','get','setAttribute','207219PGvsES','1297470iHZfXP','15njBDqo','45vlMNDK','2155662kQpXVP','change','getFootnotesDefinitionsObjectElement','model'];_0x37bf=function(){return _0x4913db;};return _0x37bf();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x152f18=_0x21ce;(function(_0x3c0d98,_0x5eb5d2){const _0x1dc0e3=_0x21ce,_0x541152=_0x3c0d98();while(!![]){try{const _0x51f101=parseInt(_0x1dc0e3(0x6d))/0x1+-parseInt(_0x1dc0e3(0x70))/0x2+-parseInt(_0x1dc0e3(0x6f))/0x3+-parseInt(_0x1dc0e3(0x75))/0x4+-parseInt(_0x1dc0e3(0x68))/0x5*(-parseInt(_0x1dc0e3(0x71))/0x6)+parseInt(_0x1dc0e3(0x6b))/0x7*(-parseInt(_0x1dc0e3(0x65))/0x8)+parseInt(_0x1dc0e3(0x67))/0x9;if(_0x51f101===_0x5eb5d2)break;else _0x541152['push'](_0x541152['shift']());}catch(_0xa8ec2f){_0x541152['push'](_0x541152['shift']());}}}(_0x1489,0x4851c));function _0x1489(){const _0x23a66b=['5MVqQKM','decimal','lower-alpha','55363hcpMfK','upper-roman','413750gZIVSJ','upper-alpha','626421hkUhUi','542978PvJSgE','2445846hmlplP','upper-latin','lower-roman','decimal-leading-zero','2293236XKsdjc','120Qoukta','lower-latin','5823621nLLayP'];_0x1489=function(){return _0x23a66b;};return _0x1489();}function _0x21ce(_0x13df18,_0x156a61){const _0x1489fb=_0x1489();return _0x21ce=function(_0x21ce40,_0x7d8505){_0x21ce40=_0x21ce40-0x65;let _0x547f7f=_0x1489fb[_0x21ce40];return _0x547f7f;},_0x21ce(_0x13df18,_0x156a61);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x152f18(0x69),_0x152f18(0x74),_0x152f18(0x66),_0x152f18(0x72),_0x152f18(0x6a),_0x152f18(0x6e),_0x152f18(0x73),_0x152f18(0x6c)];
23
+ const _0x588b98=_0x2744;function _0x5430(){const _0x42fd6a=['lower-alpha','70jOgChI','38058DfGjOz','3245232RdwFus','decimal','526339Gzbled','2091DgxtZk','474653jcpMYZ','upper-roman','1405670qVOqOE','1516atpnku','5232852zmtYFL','lower-latin','decimal-leading-zero','4QekAhu','lower-roman','upper-latin','364enEPot','upper-alpha'];_0x5430=function(){return _0x42fd6a;};return _0x5430();}(function(_0x13fc5c,_0xa064ac){const _0x4c18a2=_0x2744,_0x490750=_0x13fc5c();while(!![]){try{const _0x218c37=parseInt(_0x4c18a2(0x1d7))/0x1+-parseInt(_0x4c18a2(0x1c7))/0x2*(-parseInt(_0x4c18a2(0x1d6))/0x3)+-parseInt(_0x4c18a2(0x1cb))/0x4*(-parseInt(_0x4c18a2(0x1d9))/0x5)+parseInt(_0x4c18a2(0x1d2))/0x6*(parseInt(_0x4c18a2(0x1ce))/0x7)+-parseInt(_0x4c18a2(0x1d3))/0x8+-parseInt(_0x4c18a2(0x1c8))/0x9+-parseInt(_0x4c18a2(0x1d1))/0xa*(parseInt(_0x4c18a2(0x1d5))/0xb);if(_0x218c37===_0xa064ac)break;else _0x490750['push'](_0x490750['shift']());}catch(_0x3996c4){_0x490750['push'](_0x490750['shift']());}}}(_0x5430,0x47454));function _0x2744(_0x263503,_0x1d2347){const _0x543066=_0x5430();return _0x2744=function(_0x2744bf,_0x15c91a){_0x2744bf=_0x2744bf-0x1c7;let _0x417113=_0x543066[_0x2744bf];return _0x417113;},_0x2744(_0x263503,_0x1d2347);}export const FOOTNOTES_DEFINITIONS_STYLES=[_0x588b98(0x1d4),_0x588b98(0x1ca),_0x588b98(0x1c9),_0x588b98(0x1cd),_0x588b98(0x1d0),_0x588b98(0x1cf),_0x588b98(0x1cc),_0x588b98(0x1d8)];
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- function _0x40ba(_0x1f5196,_0x4d6c5d){const _0x188ec1=_0x188e();return _0x40ba=function(_0x40ba50,_0x150451){_0x40ba50=_0x40ba50-0x1cb;let _0x397b20=_0x188ec1[_0x40ba50];return _0x397b20;},_0x40ba(_0x1f5196,_0x4d6c5d);}const _0x1f9601=_0x40ba;(function(_0x3fb8e8,_0x3308a3){const _0x1c390a=_0x40ba,_0xe61986=_0x3fb8e8();while(!![]){try{const _0x37e0bf=parseInt(_0x1c390a(0x20d))/0x1*(parseInt(_0x1c390a(0x201))/0x2)+-parseInt(_0x1c390a(0x1e8))/0x3*(parseInt(_0x1c390a(0x204))/0x4)+parseInt(_0x1c390a(0x1cf))/0x5*(-parseInt(_0x1c390a(0x22f))/0x6)+parseInt(_0x1c390a(0x214))/0x7*(parseInt(_0x1c390a(0x22c))/0x8)+-parseInt(_0x1c390a(0x22b))/0x9*(parseInt(_0x1c390a(0x208))/0xa)+-parseInt(_0x1c390a(0x20f))/0xb*(parseInt(_0x1c390a(0x232))/0xc)+parseInt(_0x1c390a(0x1dd))/0xd;if(_0x37e0bf===_0x3308a3)break;else _0xe61986['push'](_0xe61986['shift']());}catch(_0x1f3400){_0xe61986['push'](_0xe61986['shift']());}}}(_0x188e,0x793cc));import{Plugin as _0x1c137d}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x30a5c8}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x25ff12}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x3dfd56}from'../footnotestracker.js';import{FootnotesEditing as _0x359a52}from'../footnotesediting.js';function _0x188e(){const _0x202c7e=['7gbCSNr','plugins','getChanges','footnotes-list','footnotesDefinitions','lower-alpha','commands','item','fromCharCode','_getDefaultListStyle','footnotesStart','$text','attribute:footnotesListStyle:footnotesDefinitions','registerPostFixer','getAttribute','max','padStart','modelCursor','find','editor','_defineSchema','define','position','9Mgawrk','5857064izJbzQ','upcast','consume','146058gZdDLo','footnotes.footnotesProperties.defaultListStyle','decimal-leading-zero','36uqaoEI','footnotesListStart','for','getChildren','schema','55ZpenhR','pluginName','removeStyle','parent','floor','_formatFootnoteListValue','model','document','viewItem','toViewElement','from','start','insert','setAttribute','15728193dTsCnB','isOfficialPlugin','lower-roman','parseInt','footnotesListStyle','list-style-type','downcast','writer','_getDefaultStartIndex','attribute:footnotesListStart:footnotesDefinitions','type','681XspLct','setFootnoteFormatter','getStyle','_defineConverters','element:ol','setStyle','element','consumable','createRangeOn','_definePostfixer','add','FootnotesPropertiesEditing','differ','isNaN','name','lower-latin','removeAttribute','checkAttribute','isPremiumPlugin','hasClass','upper-roman','_updateFootnotesCounters','getItems','extend','mapper','790892WrqHnr','nodeAfter','footnotes.footnotesProperties.defaultStartIndex','8536cKqpuL','upper-latin','get','init','9600490ojLInT','footnotesStyle','config','toUpperCase','decimal','2vuKrmV','toLowerCase','1921546kROwJk','requires','hasAttribute','upper-alpha','_defineFormatter'];_0x188e=function(){return _0x202c7e;};return _0x188e();}export class FootnotesPropertiesEditing extends _0x1c137d{static get[_0x1f9601(0x1d0)](){const _0x95aba4=_0x1f9601;return _0x95aba4(0x1f3);}static get[_0x1f9601(0x210)](){return[_0x359a52,_0x3dfd56];}static get[_0x1f9601(0x1de)](){return!0x0;}static get[_0x1f9601(0x1fa)](){return!0x0;}[_0x1f9601(0x207)](){const _0x2e6d80=_0x1f9601,{editor:_0x484a8a}=this;_0x484a8a[_0x2e6d80(0x20a)][_0x2e6d80(0x229)](_0x2e6d80(0x230),_0x2e6d80(0x20c)),_0x484a8a[_0x2e6d80(0x20a)][_0x2e6d80(0x229)](_0x2e6d80(0x203),0x1),_0x484a8a[_0x2e6d80(0x21a)][_0x2e6d80(0x1f2)](_0x2e6d80(0x209),new _0x30a5c8(_0x484a8a)),_0x484a8a[_0x2e6d80(0x21a)][_0x2e6d80(0x1f2)](_0x2e6d80(0x21e),new _0x25ff12(_0x484a8a)),this[_0x2e6d80(0x228)](),this[_0x2e6d80(0x1eb)](),this[_0x2e6d80(0x213)](),this[_0x2e6d80(0x1f1)]();}[_0x1f9601(0x228)](){const _0x22d313=_0x1f9601,{editor:_0x20be2c}=this,{schema:_0x2469f8}=_0x20be2c[_0x22d313(0x1d5)];_0x2469f8[_0x22d313(0x1ff)](_0x22d313(0x218),{'allowAttributes':[_0x22d313(0x1e1),_0x22d313(0x1cb)]});}[_0x1f9601(0x1eb)](){const _0x558fad=_0x1f9601,{editor:_0x170499}=this,{conversion:_0xdebe46,model:_0x750d0a}=_0x170499,{schema:_0x18e33a}=_0x750d0a;_0xdebe46[_0x558fad(0x1cc)](_0x558fad(0x22d))[_0x558fad(0x1f2)](_0x749aac=>{const _0x3d442e=_0x558fad;_0x749aac['on'](_0x3d442e(0x1ec),(_0x2eb6b2,_0x11a4fd,_0x17d219)=>{const _0x41d03a=_0x3d442e,_0x44d7f1=_0x11a4fd[_0x41d03a(0x1d7)],_0x3a33fc=_0x11a4fd[_0x41d03a(0x225)]?.[_0x41d03a(0x1d2)];_0x44d7f1[_0x41d03a(0x1fb)](_0x41d03a(0x217))&&_0x3a33fc?.['is'](_0x41d03a(0x1ee),_0x41d03a(0x218))&&(function(_0x401515,_0x57baaf,_0x4c2b48,_0x5cc38a){const _0x5d3aaf=_0x41d03a;if(!_0x5cc38a[_0x5d3aaf(0x1f9)](_0x57baaf,_0x5d3aaf(0x1cb)))return;let _0x370543=0x1;const _0xe84081=_0x4c2b48[_0x5d3aaf(0x1ef)][_0x5d3aaf(0x22e)](_0x401515,{'attributes':_0x5d3aaf(0x1da)});if(_0xe84081){const _0x2da4a8=Number[_0x5d3aaf(0x1e0)](_0x401515[_0x5d3aaf(0x222)](_0x5d3aaf(0x1da)),0xa);Number[_0x5d3aaf(0x1f5)](_0x2da4a8)||(_0x370543=_0x2da4a8);}!_0xe84081&&_0x57baaf[_0x5d3aaf(0x211)](_0x5d3aaf(0x1cb))||_0x4c2b48[_0x5d3aaf(0x1e4)][_0x5d3aaf(0x1dc)](_0x5d3aaf(0x1cb),_0x370543,_0x57baaf);}(_0x44d7f1,_0x3a33fc,_0x17d219,_0x18e33a),function(_0x23e93e,_0x159839,_0x241ca9,_0x309d3e){const _0x1a9124=_0x41d03a;if(!_0x309d3e[_0x1a9124(0x1f9)](_0x159839,_0x1a9124(0x1e1)))return;let _0x500a34=_0x1a9124(0x20c),_0x1137a5=!0x1;if(_0x241ca9[_0x1a9124(0x1ef)][_0x1a9124(0x22e)](_0x23e93e,{'attributes':_0x1a9124(0x1e7)})){const _0x147165={0x1:_0x1a9124(0x20c),'a':_0x1a9124(0x219),'A':_0x1a9124(0x212),'i':_0x1a9124(0x1df),'I':_0x1a9124(0x1fc)}[_0x23e93e[_0x1a9124(0x222)](_0x1a9124(0x1e7))];_0x147165&&(_0x500a34=_0x147165),_0x1137a5=!0x0;}_0x241ca9[_0x1a9124(0x1ef)][_0x1a9124(0x22e)](_0x23e93e,{'styles':_0x1a9124(0x1e2)})&&(_0x500a34=function(_0x165788){const _0x2d93ee=_0x1a9124;switch(_0x165788){case _0x2d93ee(0x219):return _0x2d93ee(0x1f7);case _0x2d93ee(0x212):return _0x2d93ee(0x205);default:return _0x165788;}}(_0x23e93e[_0x1a9124(0x1ea)](_0x1a9124(0x1e2))),_0x1137a5=!0x0),!_0x1137a5&&_0x159839[_0x1a9124(0x211)](_0x1a9124(0x1e1))||_0x241ca9[_0x1a9124(0x1e4)][_0x1a9124(0x1dc)](_0x1a9124(0x1e1),_0x500a34,_0x159839);}(_0x44d7f1,_0x3a33fc,_0x17d219,_0x18e33a));});}),_0xdebe46[_0x558fad(0x1cc)](_0x558fad(0x1e3))[_0x558fad(0x1f2)](_0x53a26c=>{const _0x42f922=_0x558fad;_0x53a26c['on'](_0x42f922(0x1e6),(_0x37f618,_0x169179,_0x3b71f8)=>{const _0x918294=_0x42f922;if(!_0x3b71f8[_0x918294(0x1ef)][_0x918294(0x22e)](_0x169179[_0x918294(0x21b)],_0x37f618[_0x918294(0x1f6)]))return;const _0x4cc8e1=M(_0x169179[_0x918294(0x21b)],_0x3b71f8[_0x918294(0x200)]),{attributeNewValue:_0x53e921}=_0x169179;null==_0x53e921||0x1===_0x53e921?_0x3b71f8[_0x918294(0x1e4)][_0x918294(0x1f8)](_0x918294(0x1da),_0x4cc8e1):_0x3b71f8[_0x918294(0x1e4)][_0x918294(0x1dc)](_0x918294(0x1da),String(_0x53e921),_0x4cc8e1);}),_0x53a26c['on'](_0x42f922(0x220),(_0x444080,_0x3c5541,_0x1554ca)=>{const _0x57d263=_0x42f922;if(!_0x1554ca[_0x57d263(0x1ef)][_0x57d263(0x22e)](_0x3c5541[_0x57d263(0x21b)],_0x444080[_0x57d263(0x1f6)]))return;const _0x5d97f3=M(_0x3c5541[_0x57d263(0x21b)],_0x1554ca[_0x57d263(0x200)]),{attributeNewValue:_0x4a1ba4}=_0x3c5541;_0x4a1ba4&&_0x57d263(0x20c)!==_0x4a1ba4?_0x1554ca[_0x57d263(0x1e4)][_0x57d263(0x1ed)](_0x57d263(0x1e2),_0x4a1ba4,_0x5d97f3):_0x1554ca[_0x57d263(0x1e4)][_0x57d263(0x1d1)](_0x57d263(0x1e2),_0x5d97f3);});});}[_0x1f9601(0x1f1)](){const _0x30dca8=_0x1f9601,{editor:_0x226978}=this,{model:_0x1afaeb}=_0x226978,_0x127cc9=_0x226978[_0x30dca8(0x215)][_0x30dca8(0x206)](_0x3dfd56),_0x377545=this[_0x30dca8(0x21d)](),_0x476d9e=this[_0x30dca8(0x1e5)]();_0x1afaeb[_0x30dca8(0x1d6)][_0x30dca8(0x221)](_0x5ae1f3=>{const _0x5db7b1=_0x30dca8,_0x584ec2=_0x1afaeb[_0x5db7b1(0x1d6)][_0x5db7b1(0x1f4)][_0x5db7b1(0x216)]();let _0x231555=!0x1;for(const _0x5a1493 of _0x584ec2){if(_0x5db7b1(0x1db)!==_0x5a1493[_0x5db7b1(0x1e7)]||_0x5db7b1(0x21f)===_0x5a1493[_0x5db7b1(0x1f6)])continue;const _0x47ca29=_0x1afaeb[_0x5db7b1(0x1f0)](_0x5a1493[_0x5db7b1(0x22a)][_0x5db7b1(0x202)]);for(const _0x3e9e9b of _0x47ca29[_0x5db7b1(0x1fe)]())_0x3e9e9b['is'](_0x5db7b1(0x1ee),_0x5db7b1(0x218))&&(!_0x3e9e9b[_0x5db7b1(0x211)](_0x5db7b1(0x1cb))&&_0x1afaeb[_0x5db7b1(0x1ce)][_0x5db7b1(0x1f9)](_0x3e9e9b,_0x5db7b1(0x1cb))&&(_0x5ae1f3[_0x5db7b1(0x1dc)](_0x5db7b1(0x1cb),_0x476d9e,_0x3e9e9b),_0x231555=!0x0),!_0x3e9e9b[_0x5db7b1(0x211)](_0x5db7b1(0x1e1))&&_0x1afaeb[_0x5db7b1(0x1ce)][_0x5db7b1(0x1f9)](_0x3e9e9b,_0x5db7b1(0x1e1))&&(_0x5ae1f3[_0x5db7b1(0x1dc)](_0x5db7b1(0x1e1),_0x377545,_0x3e9e9b),_0x231555=!0x0));}return _0x231555&&_0x127cc9[_0x5db7b1(0x1fd)](_0x5ae1f3),_0x231555;});}[_0x1f9601(0x213)](){const _0x27f252=_0x1f9601,{editor:_0x24339c}=this;_0x24339c[_0x27f252(0x215)][_0x27f252(0x206)](_0x3dfd56)[_0x27f252(0x1e9)](_0x478f9c=>this[_0x27f252(0x1d4)](_0x478f9c));}[_0x1f9601(0x21d)](){const _0x4b2dff=_0x1f9601;return this[_0x4b2dff(0x227)][_0x4b2dff(0x20a)][_0x4b2dff(0x206)](_0x4b2dff(0x230));}[_0x1f9601(0x1e5)](){const _0x2d200e=_0x1f9601;return this[_0x2d200e(0x227)][_0x2d200e(0x20a)][_0x2d200e(0x206)](_0x2d200e(0x203));}[_0x1f9601(0x1d4)]({container:_0xdcf785,value:_0x3a9916,digits:_0x2dfb9b}){const _0x10486d=_0x1f9601,_0x5dbce2=_0xdcf785[_0x10486d(0x222)](_0x10486d(0x1e1)),_0x1345b0=_0xdcf785[_0x10486d(0x222)](_0x10486d(0x1cb)),_0x3e0a50=Math[_0x10486d(0x1d3)](_0x3a9916)+(_0x1345b0??0x1)-0x1;switch(_0x5dbce2){case _0x10486d(0x231):return function(_0x27d1a3,_0x310821){const _0x5415a9=_0x10486d;return String(_0x27d1a3)[_0x5415a9(0x224)](_0x310821,'0');}(_0x3e0a50,Math[_0x10486d(0x223)](0x2,_0x2dfb9b));case _0x10486d(0x219):case _0x10486d(0x1f7):return N(_0x3e0a50,!0x1);case _0x10486d(0x212):case _0x10486d(0x205):return N(_0x3e0a50,!0x0);case _0x10486d(0x1df):return X(_0x3e0a50,!0x1);case _0x10486d(0x1fc):return X(_0x3e0a50,!0x0);default:return String(_0x3e0a50);}}}function M(_0x2b046d,_0xc4042){const _0xafa514=_0x1f9601,_0x37109e=_0xc4042[_0xafa514(0x1d8)](_0x2b046d);return Array[_0xafa514(0x1d9)](_0x37109e[_0xafa514(0x1cd)]())[_0xafa514(0x226)](_0x2fc2f7=>_0x2fc2f7['is'](_0xafa514(0x1ee),'ol')&&_0x2fc2f7[_0xafa514(0x1fb)](_0xafa514(0x217)));}function N(_0x5cd6ef,_0x3437ae){const _0x6e241a=_0x1f9601;let _0x49bac4='',_0x40de23=_0x5cd6ef;for(;_0x40de23>0x0;){const _0x53e307=(_0x40de23-0x1)%0x1a;_0x49bac4=String[_0x6e241a(0x21c)](0x61+_0x53e307)+_0x49bac4,_0x40de23=Math[_0x6e241a(0x1d3)]((_0x40de23-0x1)/0x1a);}return _0x3437ae?_0x49bac4[_0x6e241a(0x20b)]():_0x49bac4;}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(_0x5eb24c,_0x3e2709){const _0x3f7a50=_0x1f9601;let _0x431176='',_0x7ede72=_0x5eb24c;for(const {value:_0x3cbf77,numeral:_0x468259}of V)for(;_0x7ede72>=_0x3cbf77;)_0x431176+=_0x468259,_0x7ede72-=_0x3cbf77;return _0x3e2709?_0x431176:_0x431176[_0x3f7a50(0x20e)]();}
23
+ function _0x427b(){const _0x4cd89f=['footnotesListStyle','find','4942840lyHVfI','fromCharCode','editor','75736beoTBy','isOfficialPlugin','footnotes.footnotesProperties.defaultListStyle','floor','isPremiumPlugin','type','_getDefaultListStyle','element:ol','name','_defineFormatter','lower-latin','writer','get','81cNoOiw','config','getChanges','createRangeOn','commands','start','_defineSchema','upper-roman','1224767sDTlCY','schema','removeStyle','8842932eGWUjO','_definePostfixer','document','consumable','extend','removeAttribute','footnotesListStart','mapper','setAttribute','lower-alpha','footnotes.footnotesProperties.defaultStartIndex','FootnotesPropertiesEditing','padStart','3067911eYmYFj','upper-alpha','toViewElement','footnotesDefinitions','registerPostFixer','_defineConverters','isNaN','upcast','268279CtUXgd','modelCursor','differ','footnotesStyle','decimal-leading-zero','downcast','_formatFootnoteListValue','_getDefaultStartIndex','viewItem','lower-roman','define','attribute:footnotesListStart:footnotesDefinitions','insert','from','setStyle','pluginName','getAttribute','model','footnotes-list','parseInt','290MTXlMa','consume','getChildren','for','hasAttribute','toUpperCase','getStyle','max','plugins','hasClass','list-style-type','nodeAfter','init','getItems','$text','attribute:footnotesListStyle:footnotesDefinitions','element','upper-latin','decimal','position','item','4402578DjKoTG','setFootnoteFormatter','2butkdE','checkAttribute','footnotesStart','toLowerCase','5lEPyZs','parent','_updateFootnotesCounters','add','requires','24BKRMbn'];_0x427b=function(){return _0x4cd89f;};return _0x427b();}function _0x2d0c(_0x3caa9e,_0x5bb00e){const _0x427bee=_0x427b();return _0x2d0c=function(_0x2d0c5e,_0x5ccb5c){_0x2d0c5e=_0x2d0c5e-0xfc;let _0x3ce410=_0x427bee[_0x2d0c5e];return _0x3ce410;},_0x2d0c(_0x3caa9e,_0x5bb00e);}const _0x26b352=_0x2d0c;(function(_0x130159,_0x5b4191){const _0x180da8=_0x2d0c,_0xd8cb1e=_0x130159();while(!![]){try{const _0x1f812b=-parseInt(_0x180da8(0x13c))/0x1*(-parseInt(_0x180da8(0x118))/0x2)+-parseInt(_0x180da8(0x134))/0x3*(-parseInt(_0x180da8(0x127))/0x4)+parseInt(_0x180da8(0x11c))/0x5*(parseInt(_0x180da8(0x116))/0x6)+-parseInt(_0x180da8(0x124))/0x7+parseInt(_0x180da8(0x121))/0x8*(-parseInt(_0x180da8(0x14c))/0x9)+-parseInt(_0x180da8(0x101))/0xa*(parseInt(_0x180da8(0x154))/0xb)+parseInt(_0x180da8(0x13f))/0xc;if(_0x1f812b===_0x5b4191)break;else _0xd8cb1e['push'](_0xd8cb1e['shift']());}catch(_0x5a81cb){_0xd8cb1e['push'](_0xd8cb1e['shift']());}}}(_0x427b,0xbc23d));import{Plugin as _0x5a73b8}from'ckeditor5/src/core.js';import{FootnotesStyleCommand as _0x55a11e}from'./commands/footnotesstylecommand.js';import{FootnotesStartCommand as _0x340f35}from'./commands/footnotesstartcommand.js';import{FootnotesTracker as _0x335d6d}from'../footnotestracker.js';import{FootnotesEditing as _0x318af1}from'../footnotesediting.js';export class FootnotesPropertiesEditing extends _0x5a73b8{static get[_0x26b352(0xfc)](){const _0x291bb7=_0x26b352;return _0x291bb7(0x14a);}static get[_0x26b352(0x120)](){return[_0x318af1,_0x335d6d];}static get[_0x26b352(0x128)](){return!0x0;}static get[_0x26b352(0x12b)](){return!0x0;}[_0x26b352(0x10d)](){const _0x34562c=_0x26b352,{editor:_0x58cba0}=this;_0x58cba0[_0x34562c(0x135)][_0x34562c(0x15e)](_0x34562c(0x129),_0x34562c(0x113)),_0x58cba0[_0x34562c(0x135)][_0x34562c(0x15e)](_0x34562c(0x149),0x1),_0x58cba0[_0x34562c(0x138)][_0x34562c(0x11f)](_0x34562c(0x157),new _0x55a11e(_0x58cba0)),_0x58cba0[_0x34562c(0x138)][_0x34562c(0x11f)](_0x34562c(0x11a),new _0x340f35(_0x58cba0)),this[_0x34562c(0x13a)](),this[_0x34562c(0x151)](),this[_0x34562c(0x130)](),this[_0x34562c(0x140)]();}[_0x26b352(0x13a)](){const _0x4d2432=_0x26b352,{editor:_0x542023}=this,{schema:_0x18ff5e}=_0x542023[_0x4d2432(0xfe)];_0x18ff5e[_0x4d2432(0x143)](_0x4d2432(0x14f),{'allowAttributes':[_0x4d2432(0x122),_0x4d2432(0x145)]});}[_0x26b352(0x151)](){const _0x2fc69c=_0x26b352,{editor:_0xacf49a}=this,{conversion:_0x50125c,model:_0x3bc446}=_0xacf49a,{schema:_0x2b2322}=_0x3bc446;_0x50125c[_0x2fc69c(0x104)](_0x2fc69c(0x153))[_0x2fc69c(0x11f)](_0x270db5=>{const _0x20236b=_0x2fc69c;_0x270db5['on'](_0x20236b(0x12e),(_0x4c2315,_0x17d091,_0x3f4cbb)=>{const _0x16b0c1=_0x20236b,_0x2d5021=_0x17d091[_0x16b0c1(0x15c)],_0x2c31df=_0x17d091[_0x16b0c1(0x155)]?.[_0x16b0c1(0x11d)];_0x2d5021[_0x16b0c1(0x10a)](_0x16b0c1(0xff))&&_0x2c31df?.['is'](_0x16b0c1(0x111),_0x16b0c1(0x14f))&&(function(_0x1900ea,_0x36a87e,_0x19b472,_0x490b4a){const _0x14d741=_0x16b0c1;if(!_0x490b4a[_0x14d741(0x119)](_0x36a87e,_0x14d741(0x145)))return;let _0x4fecc2=0x1;const _0x50cfea=_0x19b472[_0x14d741(0x142)][_0x14d741(0x102)](_0x1900ea,{'attributes':_0x14d741(0x139)});if(_0x50cfea){const _0x525ac8=Number[_0x14d741(0x100)](_0x1900ea[_0x14d741(0xfd)](_0x14d741(0x139)),0xa);Number[_0x14d741(0x152)](_0x525ac8)||(_0x4fecc2=_0x525ac8);}!_0x50cfea&&_0x36a87e[_0x14d741(0x105)](_0x14d741(0x145))||_0x19b472[_0x14d741(0x132)][_0x14d741(0x147)](_0x14d741(0x145),_0x4fecc2,_0x36a87e);}(_0x2d5021,_0x2c31df,_0x3f4cbb,_0x2b2322),function(_0x29db46,_0x2290a5,_0x42cc1e,_0x121c2b){const _0x3c5985=_0x16b0c1;if(!_0x121c2b[_0x3c5985(0x119)](_0x2290a5,_0x3c5985(0x122)))return;let _0x26e5d0=_0x3c5985(0x113),_0x56e2a9=!0x1;if(_0x42cc1e[_0x3c5985(0x142)][_0x3c5985(0x102)](_0x29db46,{'attributes':_0x3c5985(0x12c)})){const _0x1fc895={0x1:_0x3c5985(0x113),'a':_0x3c5985(0x148),'A':_0x3c5985(0x14d),'i':_0x3c5985(0x15d),'I':_0x3c5985(0x13b)}[_0x29db46[_0x3c5985(0xfd)](_0x3c5985(0x12c))];_0x1fc895&&(_0x26e5d0=_0x1fc895),_0x56e2a9=!0x0;}_0x42cc1e[_0x3c5985(0x142)][_0x3c5985(0x102)](_0x29db46,{'styles':_0x3c5985(0x10b)})&&(_0x26e5d0=function(_0xd21f87){const _0x2232fb=_0x3c5985;switch(_0xd21f87){case _0x2232fb(0x148):return _0x2232fb(0x131);case _0x2232fb(0x14d):return _0x2232fb(0x112);default:return _0xd21f87;}}(_0x29db46[_0x3c5985(0x107)](_0x3c5985(0x10b))),_0x56e2a9=!0x0),!_0x56e2a9&&_0x2290a5[_0x3c5985(0x105)](_0x3c5985(0x122))||_0x42cc1e[_0x3c5985(0x132)][_0x3c5985(0x147)](_0x3c5985(0x122),_0x26e5d0,_0x2290a5);}(_0x2d5021,_0x2c31df,_0x3f4cbb,_0x2b2322));});}),_0x50125c[_0x2fc69c(0x104)](_0x2fc69c(0x159))[_0x2fc69c(0x11f)](_0x4281f9=>{const _0x411e31=_0x2fc69c;_0x4281f9['on'](_0x411e31(0x15f),(_0x10ec9e,_0x1e707c,_0x272812)=>{const _0x1b99f4=_0x411e31;if(!_0x272812[_0x1b99f4(0x142)][_0x1b99f4(0x102)](_0x1e707c[_0x1b99f4(0x115)],_0x10ec9e[_0x1b99f4(0x12f)]))return;const _0x4a8637=M(_0x1e707c[_0x1b99f4(0x115)],_0x272812[_0x1b99f4(0x146)]),{attributeNewValue:_0x248217}=_0x1e707c;null==_0x248217||0x1===_0x248217?_0x272812[_0x1b99f4(0x132)][_0x1b99f4(0x144)](_0x1b99f4(0x139),_0x4a8637):_0x272812[_0x1b99f4(0x132)][_0x1b99f4(0x147)](_0x1b99f4(0x139),String(_0x248217),_0x4a8637);}),_0x4281f9['on'](_0x411e31(0x110),(_0x4f5cc4,_0x5b5f90,_0x2568ea)=>{const _0x50fc51=_0x411e31;if(!_0x2568ea[_0x50fc51(0x142)][_0x50fc51(0x102)](_0x5b5f90[_0x50fc51(0x115)],_0x4f5cc4[_0x50fc51(0x12f)]))return;const _0x1e912f=M(_0x5b5f90[_0x50fc51(0x115)],_0x2568ea[_0x50fc51(0x146)]),{attributeNewValue:_0x503965}=_0x5b5f90;_0x503965&&_0x50fc51(0x113)!==_0x503965?_0x2568ea[_0x50fc51(0x132)][_0x50fc51(0x162)](_0x50fc51(0x10b),_0x503965,_0x1e912f):_0x2568ea[_0x50fc51(0x132)][_0x50fc51(0x13e)](_0x50fc51(0x10b),_0x1e912f);});});}[_0x26b352(0x140)](){const _0x2ccf59=_0x26b352,{editor:_0x232c4b}=this,{model:_0x4756e0}=_0x232c4b,_0x244105=_0x232c4b[_0x2ccf59(0x109)][_0x2ccf59(0x133)](_0x335d6d),_0x11b913=this[_0x2ccf59(0x12d)](),_0x2a9826=this[_0x2ccf59(0x15b)]();_0x4756e0[_0x2ccf59(0x141)][_0x2ccf59(0x150)](_0x35cd55=>{const _0x3969b7=_0x2ccf59,_0x45db16=_0x4756e0[_0x3969b7(0x141)][_0x3969b7(0x156)][_0x3969b7(0x136)]();let _0x10046e=!0x1;for(const _0x540ed7 of _0x45db16){if(_0x3969b7(0x160)!==_0x540ed7[_0x3969b7(0x12c)]||_0x3969b7(0x10f)===_0x540ed7[_0x3969b7(0x12f)])continue;const _0x225ba0=_0x4756e0[_0x3969b7(0x137)](_0x540ed7[_0x3969b7(0x114)][_0x3969b7(0x10c)]);for(const _0x4508f4 of _0x225ba0[_0x3969b7(0x10e)]())_0x4508f4['is'](_0x3969b7(0x111),_0x3969b7(0x14f))&&(!_0x4508f4[_0x3969b7(0x105)](_0x3969b7(0x145))&&_0x4756e0[_0x3969b7(0x13d)][_0x3969b7(0x119)](_0x4508f4,_0x3969b7(0x145))&&(_0x35cd55[_0x3969b7(0x147)](_0x3969b7(0x145),_0x2a9826,_0x4508f4),_0x10046e=!0x0),!_0x4508f4[_0x3969b7(0x105)](_0x3969b7(0x122))&&_0x4756e0[_0x3969b7(0x13d)][_0x3969b7(0x119)](_0x4508f4,_0x3969b7(0x122))&&(_0x35cd55[_0x3969b7(0x147)](_0x3969b7(0x122),_0x11b913,_0x4508f4),_0x10046e=!0x0));}return _0x10046e&&_0x244105[_0x3969b7(0x11e)](_0x35cd55),_0x10046e;});}[_0x26b352(0x130)](){const _0x56258c=_0x26b352,{editor:_0x3da900}=this;_0x3da900[_0x56258c(0x109)][_0x56258c(0x133)](_0x335d6d)[_0x56258c(0x117)](_0x36f81c=>this[_0x56258c(0x15a)](_0x36f81c));}[_0x26b352(0x12d)](){const _0xd7e99f=_0x26b352;return this[_0xd7e99f(0x126)][_0xd7e99f(0x135)][_0xd7e99f(0x133)](_0xd7e99f(0x129));}[_0x26b352(0x15b)](){const _0x3182d9=_0x26b352;return this[_0x3182d9(0x126)][_0x3182d9(0x135)][_0x3182d9(0x133)](_0x3182d9(0x149));}[_0x26b352(0x15a)]({container:_0x144bf5,value:_0x16b92f,digits:_0x1910e3}){const _0x1a2eeb=_0x26b352,_0x26af3c=_0x144bf5[_0x1a2eeb(0xfd)](_0x1a2eeb(0x122)),_0x375bfc=_0x144bf5[_0x1a2eeb(0xfd)](_0x1a2eeb(0x145)),_0x27646f=Math[_0x1a2eeb(0x12a)](_0x16b92f)+(_0x375bfc??0x1)-0x1;switch(_0x26af3c){case _0x1a2eeb(0x158):return function(_0x48d2d8,_0x18b110){const _0x2d241c=_0x1a2eeb;return String(_0x48d2d8)[_0x2d241c(0x14b)](_0x18b110,'0');}(_0x27646f,Math[_0x1a2eeb(0x108)](0x2,_0x1910e3));case _0x1a2eeb(0x148):case _0x1a2eeb(0x131):return N(_0x27646f,!0x1);case _0x1a2eeb(0x14d):case _0x1a2eeb(0x112):return N(_0x27646f,!0x0);case _0x1a2eeb(0x15d):return X(_0x27646f,!0x1);case _0x1a2eeb(0x13b):return X(_0x27646f,!0x0);default:return String(_0x27646f);}}}function M(_0x4a4e84,_0x27ae9b){const _0x588e35=_0x26b352,_0x27b957=_0x27ae9b[_0x588e35(0x14e)](_0x4a4e84);return Array[_0x588e35(0x161)](_0x27b957[_0x588e35(0x103)]())[_0x588e35(0x123)](_0x456a56=>_0x456a56['is'](_0x588e35(0x111),'ol')&&_0x456a56[_0x588e35(0x10a)](_0x588e35(0xff)));}function N(_0x5d0cc4,_0x1eb1f1){const _0x5025e8=_0x26b352;let _0x1636e0='',_0x3e3e05=_0x5d0cc4;for(;_0x3e3e05>0x0;){const _0x1bd07d=(_0x3e3e05-0x1)%0x1a;_0x1636e0=String[_0x5025e8(0x125)](0x61+_0x1bd07d)+_0x1636e0,_0x3e3e05=Math[_0x5025e8(0x12a)]((_0x3e3e05-0x1)/0x1a);}return _0x1eb1f1?_0x1636e0[_0x5025e8(0x106)]():_0x1636e0;}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(_0x5c368d,_0x51ecee){const _0x29a5ab=_0x26b352;let _0x26c51f='',_0x1ce97f=_0x5c368d;for(const {value:_0x24a541,numeral:_0x205390}of V)for(;_0x1ce97f>=_0x24a541;)_0x26c51f+=_0x205390,_0x1ce97f-=_0x24a541;return _0x51ecee?_0x26c51f:_0x26c51f[_0x29a5ab(0x11b)]();}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{BalloonPanelView as _0x3bf77c,ButtonView as _0x5890ae,ContextualBalloon as _0x2097a4,createDropdown as _0x29cbc2}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x258480}from'ckeditor5/src/widget.js';import{Plugin as _0xb29b66}from'ckeditor5/src/core.js';import{IconFootnote as _0x44acc4,IconListStyleDecimal as _0xef68a3,IconListStyleDecimalLeadingZero as _0x4c4a4c,IconListStyleLowerLatin as _0xcb705f,IconListStyleLowerRoman as _0x5f0650,IconListStyleUpperLatin as _0x208ab0,IconListStyleUpperRoman as _0x525b7f}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x517b62}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x1f2401}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0xb29b66{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x2097a4,_0x258480];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x2530a0}=this,{componentFactory:_0x3e9cf9}=_0x2530a0['ui'];_0x2530a0['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x3e9cf9['add']('footnotesStyle',function(_0x44af7e){return _0x3177f3=>{const {t:t}=_0x3177f3,_0x4af4ed=_0x44af7e['commands']['get']('footnotesStyle'),_0x4d7e83=_0x29cbc2(_0x3177f3),{buttonView:_0x347128}=_0x4d7e83;return _0x4d7e83['class']='ck-footnotes-styles-dropdown',_0x4d7e83['bind']('isEnabled')['to'](_0x4af4ed,'isEnabled'),_0x347128['set']({'label':t('Footnotes\x20style'),'icon':_0x44acc4,'tooltip':!0x0}),_0x4d7e83['once']('change:isOpen',()=>{const _0x3030ea=function({editor:_0x11bf55,dropdownView:_0x13bada}){const {t:t}=_0x11bf55['locale'],_0x275407=t('Footnotes\x20definitions\x20styles'),_0x2319d9=function(_0x519c19){const t=_0x519c19['locale']['t'],_0xb374f=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0xef68a3},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0x4c4a4c},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x5f0650},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x525b7f},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0xcb705f},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x208ab0}];return _0xb374f['map'](function(_0x1d724c){const _0x47ae63=_0x1d724c['locale'];return({label:_0xe874c,icon:_0x41f774,tooltip:_0x3f740f,style:_0x1408d1})=>{const _0x26d942=_0x1d724c['commands']['get']('footnotesStyle'),_0x245186=new _0x5890ae(_0x47ae63);return _0x245186['set']({'label':_0xe874c,'icon':_0x41f774,'tooltip':_0x3f740f}),_0x245186['bind']('isOn')['to'](_0x26d942,'value',_0x24828e=>_0x24828e===_0x1408d1),_0x245186['bind']('isEnabled')['to'](_0x26d942,'isEnabled'),_0x245186['on']('execute',()=>{_0x1d724c['execute']('footnotesStyle',{'value':_0x1408d1}),_0x1d724c['editing']['view']['focus']();}),_0x245186;};}(_0x519c19));}(_0x11bf55),_0x5db5cc=new _0x517b62(_0x11bf55['locale'],{'styleGridAriaLabel':_0x275407,'styleButtonViews':_0x2319d9}),_0x2d598e=_0x11bf55['commands']['get']('footnotesStart');return _0x5db5cc['startIndexFieldView']['bind']('isEnabled')['to'](_0x2d598e),_0x5db5cc['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x2d598e),_0x5db5cc['on']('footnotesListStart',(_0xebaadf,_0x36fe84)=>{_0x11bf55['execute']('footnotesStart',{'value':_0x36fe84['startIndex']});}),_0x5db5cc['delegate']('execute')['to'](_0x13bada),_0x5db5cc;}({'editor':_0x44af7e,'dropdownView':_0x4d7e83});_0x4d7e83['panelView']['children']['add'](_0x3030ea);}),_0x4d7e83;};}(_0x2530a0));}['afterInit'](){const {editor:_0x690e52}=this,{t:t}=_0x690e52['locale'],_0x12c220=_0x690e52['plugins']['get'](_0x258480),{defaultPositions:_0x183e35}=_0x3bf77c;_0x12c220['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x690e52['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0xb29f7e=>{let _0x27ac53=_0xb29f7e['getFirstPosition']()?.['parent'];return _0x27ac53?.['is']('$text')&&(_0x27ac53=_0x27ac53['parent']),_0x27ac53?.['is']('element')?_0x27ac53['findAncestor'](_0x1f2401):null;},'positions':[_0x183e35['southArrowNorth'],_0x183e35['southArrowNorthMiddleWest'],_0x183e35['southArrowNorthMiddleEast'],_0x183e35['southArrowNorthWest'],_0x183e35['southArrowNorthEast'],_0x183e35['northArrowSouth'],_0x183e35['northArrowSouthMiddleWest'],_0x183e35['northArrowSouthMiddleEast'],_0x183e35['northArrowSouthWest'],_0x183e35['northArrowSouthEast'],_0x183e35['viewportStickyNorth']]});}}
23
+ import{BalloonPanelView as _0x22169b,ButtonView as _0x537fb0,ContextualBalloon as _0x5c86aa,createDropdown as _0x11f53b}from'ckeditor5/src/ui.js';import{WidgetToolbarRepository as _0x2181e2}from'ckeditor5/src/widget.js';import{Plugin as _0x2780bb}from'ckeditor5/src/core.js';import{IconFootnote as _0x51fc02,IconListStyleDecimal as _0x356350,IconListStyleDecimalLeadingZero as _0xda4ab5,IconListStyleLowerLatin as _0x5e63db,IconListStyleLowerRoman as _0x1c533e,IconListStyleUpperLatin as _0x4ec0cd,IconListStyleUpperRoman as _0x3dae8c}from'ckeditor5/src/icons.js';import{FootnotesDefinitionsPropertiesView as _0x5173af}from'./ui/footnotesdefinitionspropertiesview.js';import{isFootnotesDefinitionsWidget as _0x4d49c5}from'../footnotesediting.js';import'../../theme/footnotesproperties.css';export class FootnotesPropertiesUI extends _0x2780bb{static get['pluginName'](){return'FootnotesPropertiesUI';}static get['requires'](){return[_0x5c86aa,_0x2181e2];}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x335858}=this,{componentFactory:_0x17ce1f}=_0x335858['ui'];_0x335858['config']['define']('footnotes.footnotesProperties.toolbar',['footnotesStyle']),_0x17ce1f['add']('footnotesStyle',function(_0x1af22f){return _0x138be4=>{const {t:t}=_0x138be4,_0x11598d=_0x1af22f['commands']['get']('footnotesStyle'),_0x117e91=_0x11f53b(_0x138be4),{buttonView:_0x5e18a3}=_0x117e91;return _0x117e91['class']='ck-footnotes-styles-dropdown',_0x117e91['bind']('isEnabled')['to'](_0x11598d,'isEnabled'),_0x5e18a3['set']({'label':t('Footnotes\x20style'),'icon':_0x51fc02,'tooltip':!0x0}),_0x117e91['once']('change:isOpen',()=>{const _0x3db69a=function({editor:_0x4cc175,dropdownView:_0x4c8b2b}){const {t:t}=_0x4cc175['locale'],_0x4c41ca=t('Footnotes\x20definitions\x20styles'),_0x42dc52=function(_0x2d321f){const t=_0x2d321f['locale']['t'],_0x5e0c68=[{'label':t('Toggle\x20the\x20decimal\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes'),'style':'decimal','icon':_0x356350},{'label':t('Toggle\x20the\x20decimal\x20with\x20leading\x20zero\x20footnotes\x20style'),'tooltip':t('Decimal\x20footnotes\x20with\x20leading\x20zero'),'style':'decimal-leading-zero','icon':_0xda4ab5},{'label':t('Toggle\x20the\x20lower–roman\x20footnotes\x20style'),'tooltip':t('Lower–roman\x20footnotes'),'style':'lower-roman','icon':_0x1c533e},{'label':t('Toggle\x20the\x20upper–roman\x20footnotes\x20style'),'tooltip':t('Upper-roman\x20footnotes'),'style':'upper-roman','icon':_0x3dae8c},{'label':t('Toggle\x20the\x20lower–latin\x20footnotes\x20style'),'tooltip':t('Lower-latin\x20footnotes'),'style':'lower-latin','icon':_0x5e63db},{'label':t('Toggle\x20the\x20upper–latin\x20footnotes\x20style'),'tooltip':t('Upper-latin\x20footnotes'),'style':'upper-latin','icon':_0x4ec0cd}];return _0x5e0c68['map'](function(_0x3664c1){const _0x49bd00=_0x3664c1['locale'];return({label:_0x3e480f,icon:_0x3459b1,tooltip:_0x137ef8,style:_0xf75fec})=>{const _0xa2a6c0=_0x3664c1['commands']['get']('footnotesStyle'),_0x27637c=new _0x537fb0(_0x49bd00);return _0x27637c['set']({'label':_0x3e480f,'icon':_0x3459b1,'tooltip':_0x137ef8}),_0x27637c['bind']('isOn')['to'](_0xa2a6c0,'value',_0x456611=>_0x456611===_0xf75fec),_0x27637c['bind']('isEnabled')['to'](_0xa2a6c0,'isEnabled'),_0x27637c['on']('execute',()=>{_0x3664c1['execute']('footnotesStyle',{'value':_0xf75fec}),_0x3664c1['editing']['view']['focus']();}),_0x27637c;};}(_0x2d321f));}(_0x4cc175),_0x47d469=new _0x5173af(_0x4cc175['locale'],{'styleGridAriaLabel':_0x4c41ca,'styleButtonViews':_0x42dc52}),_0x57e346=_0x4cc175['commands']['get']('footnotesStart');return _0x47d469['startIndexFieldView']['bind']('isEnabled')['to'](_0x57e346),_0x47d469['startIndexFieldView']['fieldView']['bind']('value')['to'](_0x57e346),_0x47d469['on']('footnotesListStart',(_0x1fd9de,_0x2d15a0)=>{_0x4cc175['execute']('footnotesStart',{'value':_0x2d15a0['startIndex']});}),_0x47d469['delegate']('execute')['to'](_0x4c8b2b),_0x47d469;}({'editor':_0x1af22f,'dropdownView':_0x117e91});_0x117e91['panelView']['children']['add'](_0x3db69a);}),_0x117e91;};}(_0x335858));}['afterInit'](){const {editor:_0x420160}=this,{t:t}=_0x420160['locale'],_0x5c8999=_0x420160['plugins']['get'](_0x2181e2),{defaultPositions:_0xc88964}=_0x22169b;_0x5c8999['register']('footnotesDefinitions',{'ariaLabel':t('Footnotes\x20definitions\x20toolbar'),'items':_0x420160['config']['get']('footnotes.footnotesProperties.toolbar'),'balloonClassName':'ck-footnotes-style-balloon\x20ck-toolbar-container','getRelatedElement':_0x290cf6=>{let _0x15cc9d=_0x290cf6['getFirstPosition']()?.['parent'];return _0x15cc9d?.['is']('$text')&&(_0x15cc9d=_0x15cc9d['parent']),_0x15cc9d?.['is']('element')?_0x15cc9d['findAncestor'](_0x4d49c5):null;},'positions':[_0xc88964['southArrowNorth'],_0xc88964['southArrowNorthMiddleWest'],_0xc88964['southArrowNorthMiddleEast'],_0xc88964['southArrowNorthWest'],_0xc88964['southArrowNorthEast'],_0xc88964['northArrowSouth'],_0xc88964['northArrowSouthMiddleWest'],_0xc88964['northArrowSouthMiddleEast'],_0xc88964['northArrowSouthWest'],_0xc88964['northArrowSouthEast'],_0xc88964['viewportStickyNorth']]});}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x6691b0,View as _0x5f2755,ViewCollection as _0x5b8f47,FocusCycler as tt,addKeyboardHandlingForGrid as st,CollapsibleView as it,LabeledFieldView as et,createLabeledInputNumber as ot}from'ckeditor5/src/ui.js';import{FocusTracker as rt,KeystrokeHandler as nt,global as at}from'ckeditor5/src/utils.js';export class FootnotesDefinitionsPropertiesView extends _0x5f2755{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new rt();['keystrokes']=new nt();['focusables']=new _0x5b8f47();['focusCycler'];constructor(_0xcf49c8,{styleButtonViews:_0x5deffc,styleGridAriaLabel:_0x5a504e}){super(_0xcf49c8),(this['focusCycler']=new tt({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x5deffc,_0x5a504e),[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 _0x281ff9 of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x281ff9['element']);st({'keystrokeHandler':this['stylesView']['keystrokes'],'focusTracker':this['stylesView']['focusTracker'],'gridItems':this['stylesView']['children'],'numberOfColumns':()=>at['window']['getComputedStyle'](this['stylesView']['element'])['getPropertyValue']('grid-template-columns')['split']('\x20')['length'],'uiLanguageDirection':this['locale']&&this['locale']['uiLanguageDirection']});}if(this['startIndexFieldView']){this['focusables']['add'](this['startIndexFieldView']),this['focusTracker']['add'](this['startIndexFieldView']['element']);const _0x12f777=_0x29eff9=>_0x29eff9['stopPropagation']();this['keystrokes']['set']('arrowright',_0x12f777),this['keystrokes']['set']('arrowleft',_0x12f777),this['keystrokes']['set']('arrowup',_0x12f777),this['keystrokes']['set']('arrowdown',_0x12f777);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0x420009,_0x1cfda6){const _0x243d08=new _0x5f2755(this['locale']);return _0x243d08['children']=_0x243d08['createCollection'](),_0x243d08['children']['addMany'](_0x420009),_0x243d08['setTemplate']({'tag':'div','attributes':{'aria-label':_0x1cfda6,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x243d08['children']}),_0x243d08['children']['delegate']('execute')['to'](this),_0x243d08['focus']=function(){for(const _0x49ec42 of this['children'])if(_0x49ec42 instanceof _0x6691b0&&_0x49ec42['isOn'])return void _0x49ec42['focus']();this['children']['first']['focus']();},_0x243d08['focusTracker']=new rt(),_0x243d08['keystrokes']=new nt(),_0x243d08['render'](),_0x243d08['keystrokes']['listenTo'](_0x243d08['element']),this['children']['add'](_0x243d08),_0x243d08;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x50cfb6=this['_createStartIndexPropertyView'](),_0x10d2b3=[_0x50cfb6],_0x3034ba=new it(this['locale'],_0x10d2b3);return _0x3034ba['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x3034ba['buttonView']['bind']('isEnabled')['toMany'](_0x10d2b3,'isEnabled',(..._0x543f8c)=>_0x543f8c['some'](_0x32bf41=>_0x32bf41)),_0x3034ba['buttonView']['on']('change:isEnabled',(_0x3d5cb9,_0x19620a,_0x1beec1)=>{_0x1beec1||(_0x3034ba['isCollapsed']=!0x0);}),this['children']['add'](_0x3034ba),[_0x50cfb6,_0x3034ba];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x45d2b7=new et(this['locale'],ot);return _0x45d2b7['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x45d2b7['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x45d2b7['fieldView']['on']('input',()=>{const _0x182005=_0x45d2b7['fieldView']['element'],_0x4bb594=_0x182005['valueAsNumber'];Number['isNaN'](_0x4bb594)?_0x45d2b7['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x182005['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x4bb594}):_0x45d2b7['errorText']=t(_0x4bb594<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x45d2b7;}}
23
+ import{ButtonView as _0x4ac81f,View as _0x195228,ViewCollection as _0x29b13c,FocusCycler as _0x2efbef,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 _0x195228{['children'];['stylesView']=null;['additionalProperties']=null;['startIndexFieldView']=null;['focusTracker']=new ot();['keystrokes']=new rt();['focusables']=new _0x29b13c();['focusCycler'];constructor(_0x1a15cb,{styleButtonViews:_0x339f7d,styleGridAriaLabel:_0x53494e}){super(_0x1a15cb),(this['focusCycler']=new _0x2efbef({'focusables':this['focusables'],'focusTracker':this['focusTracker'],'keystrokeHandler':this['keystrokes'],'actions':{'focusPrevious':'shift\x20+\x20tab','focusNext':'tab'}}),this['children']=this['createCollection'](),this['stylesView']=this['_appendStylesView'](_0x339f7d,_0x53494e),[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 _0x39ae1f of this['stylesView']['children'])this['stylesView']['focusTracker']['add'](_0x39ae1f['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 _0x5cef8a=_0x56eb1f=>_0x56eb1f['stopPropagation']();this['keystrokes']['set']('arrowright',_0x5cef8a),this['keystrokes']['set']('arrowleft',_0x5cef8a),this['keystrokes']['set']('arrowup',_0x5cef8a),this['keystrokes']['set']('arrowdown',_0x5cef8a);}this['keystrokes']['listenTo'](this['element']);}['focus'](){this['focusCycler']['focusFirst']();}['focusLast'](){this['focusCycler']['focusLast']();}['destroy'](){super['destroy'](),this['focusTracker']['destroy'](),this['keystrokes']['destroy']();}['_appendStylesView'](_0xe72920,_0x711293){const _0x140f62=new _0x195228(this['locale']);return _0x140f62['children']=_0x140f62['createCollection'](),_0x140f62['children']['addMany'](_0xe72920),_0x140f62['setTemplate']({'tag':'div','attributes':{'aria-label':_0x711293,'class':['ck','ck-footnotes-definitions-styles-list']},'children':_0x140f62['children']}),_0x140f62['children']['delegate']('execute')['to'](this),_0x140f62['focus']=function(){for(const _0x3cee80 of this['children'])if(_0x3cee80 instanceof _0x4ac81f&&_0x3cee80['isOn'])return void _0x3cee80['focus']();this['children']['first']['focus']();},_0x140f62['focusTracker']=new ot(),_0x140f62['keystrokes']=new rt(),_0x140f62['render'](),_0x140f62['keystrokes']['listenTo'](_0x140f62['element']),this['children']['add'](_0x140f62),_0x140f62;}['_appendAdditionalPropertiesCollapsibleView'](){const {t:t}=this['locale'],_0x2f02fe=this['_createStartIndexPropertyView'](),_0x3a34ad=[_0x2f02fe],_0x5d4010=new st(this['locale'],_0x3a34ad);return _0x5d4010['set']({'label':t('Footnotes\x20properties'),'isCollapsed':!0x0}),_0x5d4010['buttonView']['bind']('isEnabled')['toMany'](_0x3a34ad,'isEnabled',(..._0xa27039)=>_0xa27039['some'](_0x35992f=>_0x35992f)),_0x5d4010['buttonView']['on']('change:isEnabled',(_0x386ae8,_0xc14841,_0x349028)=>{_0x349028||(_0x5d4010['isCollapsed']=!0x0);}),this['children']['add'](_0x5d4010),[_0x2f02fe,_0x5d4010];}['_createStartIndexPropertyView'](){const {t:t}=this['locale'],_0x3a347a=new it(this['locale'],et);return _0x3a347a['set']({'label':t('Footnotes\x20start\x20at'),'class':'ck-footnotes-definitions-properties__start-index'}),_0x3a347a['fieldView']['set']({'min':0x0,'max':Math['pow'](0x2,0x1e),'step':0x1,'value':0x1,'inputMode':'numeric'}),_0x3a347a['fieldView']['on']('input',()=>{const _0x2ae378=_0x3a347a['fieldView']['element'],_0x2ecc82=_0x2ae378['valueAsNumber'];Number['isNaN'](_0x2ecc82)?_0x3a347a['errorText']=t('Invalid\x20footnotes\x20start\x20index\x20value.'):_0x2ae378['checkValidity']()?this['fire']('footnotesListStart',{'startIndex':_0x2ecc82}):_0x3a347a['errorText']=t(_0x2ecc82<0x0?'Footnotes\x20start\x20index\x20must\x20be\x20greater\x20than\x200.':'Footnotes\x20start\x20index\x20is\x20too\x20large.');}),_0x3a347a;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- var _0xaaea3f=_0x4ae2;(function(_0x2d888d,_0x4549a0){var _0x4d9e80=_0x4ae2,_0x5ee102=_0x2d888d();while(!![]){try{var _0x1bf888=parseInt(_0x4d9e80(0xa6))/0x1*(-parseInt(_0x4d9e80(0xac))/0x2)+-parseInt(_0x4d9e80(0xa8))/0x3*(parseInt(_0x4d9e80(0xad))/0x4)+parseInt(_0x4d9e80(0xa9))/0x5*(-parseInt(_0x4d9e80(0xa4))/0x6)+parseInt(_0x4d9e80(0xa3))/0x7*(-parseInt(_0x4d9e80(0xae))/0x8)+-parseInt(_0x4d9e80(0xaf))/0x9+parseInt(_0x4d9e80(0xaa))/0xa+parseInt(_0x4d9e80(0xa7))/0xb;if(_0x1bf888===_0x4549a0)break;else _0x5ee102['push'](_0x5ee102['shift']());}catch(_0x444b0a){_0x5ee102['push'](_0x5ee102['shift']());}}}(_0x4215,0xaea31));import{Plugin as _0x174cd5}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x527f42}from'./footnotesproperties/footnotespropertiesediting.js';function _0x4ae2(_0x4f56b2,_0x30848c){var _0x421599=_0x4215();return _0x4ae2=function(_0x4ae2ea,_0x361e14){_0x4ae2ea=_0x4ae2ea-0xa2;var _0x484732=_0x421599[_0x4ae2ea];return _0x484732;},_0x4ae2(_0x4f56b2,_0x30848c);}function _0x4215(){var _0x1882f6=['90801AGUSZC','10qCPZBK','2135500WyQeWS','requires','9848GGPhhm','76SMvDzs','264488tilela','1855035cfWzQH','isOfficialPlugin','FootnotesProperties','isPremiumPlugin','161DHVomU','2732466LeFIoK','pluginName','29iNyWAI','34066692YuNmiX'];_0x4215=function(){return _0x1882f6;};return _0x4215();}import{FootnotesPropertiesUI as _0x355f61}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x174cd5{static get[_0xaaea3f(0xa5)](){var _0x223810=_0xaaea3f;return _0x223810(0xb1);}static get[_0xaaea3f(0xab)](){return[_0x527f42,_0x355f61];}static get[_0xaaea3f(0xb0)](){return!0x0;}static get[_0xaaea3f(0xa2)](){return!0x0;}}
23
+ var _0x1221d6=_0x4b79;function _0x4b79(_0x36a8ad,_0x2cdae6){var _0x1010de=_0x1010();return _0x4b79=function(_0x4b79d1,_0x500f82){_0x4b79d1=_0x4b79d1-0x1f0;var _0x52e590=_0x1010de[_0x4b79d1];return _0x52e590;},_0x4b79(_0x36a8ad,_0x2cdae6);}(function(_0xb910e9,_0x42f248){var _0x117ced=_0x4b79,_0x2f988f=_0xb910e9();while(!![]){try{var _0x136f9a=-parseInt(_0x117ced(0x1f1))/0x1*(-parseInt(_0x117ced(0x1fa))/0x2)+-parseInt(_0x117ced(0x1f3))/0x3+parseInt(_0x117ced(0x1fe))/0x4*(-parseInt(_0x117ced(0x1f6))/0x5)+-parseInt(_0x117ced(0x1f5))/0x6*(-parseInt(_0x117ced(0x1f8))/0x7)+parseInt(_0x117ced(0x1f7))/0x8+parseInt(_0x117ced(0x1fc))/0x9*(parseInt(_0x117ced(0x1ff))/0xa)+-parseInt(_0x117ced(0x1f4))/0xb;if(_0x136f9a===_0x42f248)break;else _0x2f988f['push'](_0x2f988f['shift']());}catch(_0xfdf4e3){_0x2f988f['push'](_0x2f988f['shift']());}}}(_0x1010,0xe4b02));function _0x1010(){var _0x3d1a95=['isPremiumPlugin','1606263vJWwNz','4087611rGubAR','6fvDsgL','335sAxNTx','13864360oLMQXy','1524719OBodCT','isOfficialPlugin','272GFyyDp','requires','260721rsrKEA','FootnotesProperties','98284IuAlQY','110MtEonD','pluginName','8974hwQzuN'];_0x1010=function(){return _0x3d1a95;};return _0x1010();}import{Plugin as _0x270870}from'ckeditor5/src/core.js';import{FootnotesPropertiesEditing as _0x5031dc}from'./footnotesproperties/footnotespropertiesediting.js';import{FootnotesPropertiesUI as _0xe0d422}from'./footnotesproperties/footnotespropertiesui.js';export class FootnotesProperties extends _0x270870{static get[_0x1221d6(0x1f0)](){var _0x1bebcd=_0x1221d6;return _0x1bebcd(0x1fd);}static get[_0x1221d6(0x1fb)](){return[_0x5031dc,_0xe0d422];}static get[_0x1221d6(0x1f9)](){return!0x0;}static get[_0x1221d6(0x1f2)](){return!0x0;}}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x469782=_0x734c;(function(_0x58e56a,_0x4a48fb){const _0x3a6386=_0x734c,_0x272f14=_0x58e56a();while(!![]){try{const _0x55cef8=-parseInt(_0x3a6386(0x13b))/0x1+-parseInt(_0x3a6386(0x140))/0x2*(parseInt(_0x3a6386(0x130))/0x3)+parseInt(_0x3a6386(0x15c))/0x4+-parseInt(_0x3a6386(0x167))/0x5*(parseInt(_0x3a6386(0x152))/0x6)+parseInt(_0x3a6386(0x12a))/0x7*(parseInt(_0x3a6386(0x172))/0x8)+parseInt(_0x3a6386(0x151))/0x9*(-parseInt(_0x3a6386(0x141))/0xa)+-parseInt(_0x3a6386(0x17f))/0xb*(-parseInt(_0x3a6386(0x175))/0xc);if(_0x55cef8===_0x4a48fb)break;else _0x272f14['push'](_0x272f14['shift']());}catch(_0x28cc46){_0x272f14['push'](_0x272f14['shift']());}}}(_0x21f7,0x4cc01));import{Plugin as _0x2f7d03}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x52f68d}from'./modelelementtracker.js';function _0x734c(_0x5f502d,_0x356d9c){const _0x21f70e=_0x21f7();return _0x734c=function(_0x734c19,_0x5f165b){_0x734c19=_0x734c19-0x120;let _0x1590f2=_0x21f70e[_0x734c19];return _0x1590f2;},_0x734c(_0x5f502d,_0x356d9c);}function _0x21f7(){const _0x225ac3=['_handleFootnotesDefinitionsObjectSync','push','isOfficialPlugin','1213752XxUUvO','getFootnotesDefinitionsObjectElement','init','footnoteRef','footnoteCounter','reset','_sortFootnoteDefinitions','isPremiumPlugin','getChanges','min','setAttribute','67015IkvPVY','_footnoteDefsContainerTracker','change:data','paragraph','set','footnoteId','createElement','getRootNames','_handleFootnoteReferencesChanges','FootnotesTracker','_updateFootnoteRefCounter','4096024jLFqow','singleton','model','108252HQsjmh','after','setFootnoteFormatter','rootName','before','createRangeOn','pluginName','document','parent','compareWith','1507JMzuzI','footnotesDefinitions','length','indexOf','footnoteInlineContent','createPositionAt','get','_footnotes','_footnoteDefsTracker','footnotes.multiBlock','getFootnotes','footnoteDefinition','end','createPositionBefore','isEqual','_handleRemoveFootnoteReferenceById','getFootnotesFormatter','getChildren','7GybiUC','append','createRangeIn','find','enqueueChange','add','12AXzfiE','_footnoteRefsTracker','childCount','move','high','root','_updateFootnotesCounters','getAttribute','_handleMovedFootnoteReference','config','_handleFootnoteDefinitionsChanges','561835ONJnfU','_handleInsertedFootnoteReference','$graveyard','has','splice','48098cMgzEY','10ZbSTPT','_handleFootnotesDefinitionsObjectChanges','findIndex','_footnotesDefinitions','remove','low','unshift','_insertEmptyFootnotesDefinitionsContainer','editor','_ensureFootnotesDefinitionsContainerExists','registerPostFixer','reference','definition','getFootnote','_footnoteFormatter','insert','4402674ngtktx','264PBZruh','from','some','_ensureFootnotesReferencesHaveProperOrder','listenTo','map','differ'];_0x21f7=function(){return _0x225ac3;};return _0x21f7();}export class FootnotesTracker extends _0x2f7d03{[_0x469782(0x186)]=[];[_0x469782(0x144)]=null;[_0x469782(0x14f)]=null;[_0x469782(0x168)];[_0x469782(0x131)];[_0x469782(0x120)];static get[_0x469782(0x17b)](){const _0x10b57a=_0x469782;return _0x10b57a(0x170);}static get[_0x469782(0x15b)](){return!0x0;}static get[_0x469782(0x163)](){return!0x0;}constructor(_0x29a9ac){const _0x42291b=_0x469782;super(_0x29a9ac),this[_0x42291b(0x168)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x180),'getElementKey':()=>_0x42291b(0x173)}),this[_0x42291b(0x131)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x15f),'getElementKey':_0x32d840=>_0x32d840[_0x42291b(0x137)](_0x42291b(0x16c))}),this[_0x42291b(0x120)]=new _0x52f68d(this[_0x42291b(0x149)][_0x42291b(0x174)],{'elementName':_0x42291b(0x123),'getElementKey':_0x5b7b6c=>_0x5b7b6c[_0x42291b(0x137)](_0x42291b(0x16c))});}[_0x469782(0x15e)](){const _0x162e9e=_0x469782,{editor:_0x355245}=this,{model:_0x21e7c1,data:_0x1d1ad3}=_0x355245;_0x21e7c1[_0x162e9e(0x17c)][_0x162e9e(0x14b)](_0x2bef45=>{const _0x288f43=_0x162e9e,_0x347432=_0x21e7c1[_0x288f43(0x17c)][_0x288f43(0x158)][_0x288f43(0x164)]();let _0x1be9a1=!0x1;return this[_0x288f43(0x142)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x13a)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x16f)](_0x2bef45,_0x347432)&&(_0x1be9a1=!0x0),this[_0x288f43(0x155)](_0x2bef45)&&(_0x1be9a1=!0x0),this[_0x288f43(0x159)](_0x2bef45)&&(_0x1be9a1=!0x0),this[_0x288f43(0x162)](_0x2bef45)&&(_0x1be9a1=!0x0),_0x1be9a1;}),this[_0x162e9e(0x156)](_0x21e7c1[_0x162e9e(0x17c)],_0x162e9e(0x169),()=>{const _0x3e1193=_0x162e9e;_0x21e7c1[_0x3e1193(0x12e)]({'isUndoable':!0x1},_0x2aeba4=>{const _0x52b92f=_0x3e1193;this[_0x52b92f(0x14a)](_0x2aeba4);});},{'priority':_0x162e9e(0x146)}),this[_0x162e9e(0x156)](_0x1d1ad3,_0x162e9e(0x16b),()=>{const _0xf31a9=_0x162e9e;this[_0xf31a9(0x186)]=[],this[_0xf31a9(0x168)][_0xf31a9(0x161)](),this[_0xf31a9(0x131)][_0xf31a9(0x161)](),this[_0xf31a9(0x120)][_0xf31a9(0x161)]();},{'priority':_0x162e9e(0x134)});}[_0x469782(0x15d)](){const _0x19d6fa=_0x469782;return this[_0x19d6fa(0x144)];}[_0x469782(0x14e)](_0x5056da){const _0x37a0ee=_0x469782;return this[_0x37a0ee(0x186)][_0x37a0ee(0x12d)](_0x1c314c=>_0x1c314c['id']===_0x5056da)||null;}[_0x469782(0x122)](){const _0x2cc902=_0x469782;return Array[_0x2cc902(0x153)](this[_0x2cc902(0x186)]);}[_0x469782(0x128)](){const _0x5ed546=_0x469782;return this[_0x5ed546(0x14f)];}[_0x469782(0x177)](_0x3a29ef){const _0x14a605=_0x469782;this[_0x14a605(0x14f)]=_0x3a29ef;}[_0x469782(0x136)](_0x16a4ec,_0x19b7f9=0x0){const _0x4cc79d=_0x469782;let _0x5a0d33=!0x1;for(let _0x2cad79=_0x19b7f9;_0x2cad79<this[_0x4cc79d(0x186)][_0x4cc79d(0x181)];_0x2cad79++)this[_0x4cc79d(0x171)](_0x16a4ec,_0x2cad79)&&(_0x5a0d33=!0x0);return _0x5a0d33;}[_0x469782(0x148)](_0x9b71d4,_0x2746bc){const _0x1a37c6=_0x469782,_0x58643d=_0x9b71d4[_0x1a37c6(0x16d)](_0x1a37c6(0x180),{});return _0x9b71d4[_0x1a37c6(0x12b)](_0x58643d,_0x2746bc),this[_0x1a37c6(0x144)]=_0x58643d,_0x58643d;}[_0x469782(0x14a)](_0x30bd2b){const _0x475620=_0x469782;if(!this[_0x475620(0x186)][_0x475620(0x181)]||this[_0x475620(0x144)])return;const _0xef061=this[_0x475620(0x186)][0x0][_0x475620(0x14c)][_0x475620(0x135)],_0x132248=this[_0x475620(0x148)](_0x30bd2b,_0xef061);for(const _0x2fae88 of this[_0x475620(0x186)])_0x2fae88[_0x475620(0x14d)][_0x475620(0x17d)]||_0x30bd2b[_0x475620(0x150)](_0x2fae88[_0x475620(0x14d)],_0x132248,_0x475620(0x124));this[_0x475620(0x136)](_0x30bd2b);}[_0x469782(0x142)](_0x7f309,_0x1a5daa){const _0x4a17c0=_0x469782;let _0x51a4ee=!0x1;const {inserted:_0x1eadf4,removed:_0x450074,moved:_0x60e63d}=this[_0x4a17c0(0x168)][_0x4a17c0(0x164)](_0x1a5daa);if(_0x60e63d[_0x4a17c0(0x181)]&&(this[_0x4a17c0(0x144)]=_0x60e63d[0x0]),_0x1eadf4[_0x4a17c0(0x181)]){if(_0x1eadf4[_0x4a17c0(0x181)]>0x1||this[_0x4a17c0(0x144)]&&_0x1eadf4[_0x4a17c0(0x154)](_0x334a68=>_0x334a68!==this[_0x4a17c0(0x144)])){const _0x405780=_0x7f309[_0x4a17c0(0x16d)](_0x4a17c0(0x180),{}),_0x57e8a8=[];this[_0x4a17c0(0x144)]&&_0x57e8a8[_0x4a17c0(0x15a)](this[_0x4a17c0(0x144)]),_0x57e8a8[_0x4a17c0(0x15a)](..._0x1eadf4),_0x7f309[_0x4a17c0(0x150)](_0x405780,_0x57e8a8[0x0],_0x4a17c0(0x179));for(const _0x32da82 of _0x57e8a8)_0x7f309[_0x4a17c0(0x133)](_0x7f309[_0x4a17c0(0x12c)](_0x32da82),_0x7f309[_0x4a17c0(0x184)](_0x405780,_0x4a17c0(0x124))),_0x7f309[_0x4a17c0(0x145)](_0x32da82);this[_0x4a17c0(0x144)]=_0x405780,this[_0x4a17c0(0x136)](_0x7f309),_0x51a4ee=!0x0;}else this[_0x4a17c0(0x144)]=_0x1eadf4[0x0];}if(_0x450074[_0x4a17c0(0x181)]&&_0x4a17c0(0x13d)===this[_0x4a17c0(0x144)]?.[_0x4a17c0(0x135)][_0x4a17c0(0x178)]){for(const _0x25a97e of this[_0x4a17c0(0x186)])_0x7f309[_0x4a17c0(0x145)](_0x25a97e[_0x4a17c0(0x14c)]),_0x51a4ee=!0x0;this[_0x4a17c0(0x186)]=[],this[_0x4a17c0(0x144)]=null;}return _0x51a4ee;}[_0x469782(0x13a)](_0x2cbf13,_0xc6f539){const _0x40dc82=_0x469782;let _0x30635d=!0x1;const _0x239b33=this[_0x40dc82(0x149)][_0x40dc82(0x139)][_0x40dc82(0x185)](_0x40dc82(0x121)),{inserted:_0x2b2b4b,moved:_0x3d19eb}=this[_0x40dc82(0x120)][_0x40dc82(0x164)](_0xc6f539);for(const _0x51e679 of[..._0x3d19eb,..._0x2b2b4b]){const _0x9a2d5b=_0x51e679[_0x40dc82(0x137)](_0x40dc82(0x16c)),_0x3a7236=this[_0x40dc82(0x14e)](_0x9a2d5b);_0x3a7236&&(_0x3a7236[_0x40dc82(0x14d)]=_0x51e679),_(_0x2cbf13,_0x239b33,_0x51e679)&&(_0x30635d=!0x0);}return _0x30635d;}[_0x469782(0x16f)](_0x49cc88,_0x8402e0){const _0x33a4cb=_0x469782;let _0x1b80b3=!0x1;const {removed:_0x54cad9,inserted:_0x4d273d,moved:_0x45fa18}=this[_0x33a4cb(0x131)][_0x33a4cb(0x164)](_0x8402e0);for(const _0x22f5a3 of _0x54cad9)this[_0x33a4cb(0x127)](_0x49cc88,_0x22f5a3)&&(_0x1b80b3=!0x0);for(const _0x74c2e4 of _0x4d273d)this[_0x33a4cb(0x13c)](_0x49cc88,_0x74c2e4)&&(_0x1b80b3=!0x0);for(const _0x46dc07 of _0x45fa18)this[_0x33a4cb(0x138)](_0x49cc88,_0x46dc07)&&(_0x1b80b3=!0x0);return _0x1b80b3;}[_0x469782(0x159)](_0x48f14c){const _0x1fe6de=_0x469782;if(!this[_0x1fe6de(0x144)])return!0x1;let _0x2db2a3=!0x1;if(this[_0x1fe6de(0x144)][_0x1fe6de(0x132)]!==this[_0x1fe6de(0x186)][_0x1fe6de(0x181)]){const _0x1083c3=[];for(const _0x23fafd of this[_0x1fe6de(0x144)][_0x1fe6de(0x129)]()){const _0x4b6875=_0x23fafd[_0x1fe6de(0x137)](_0x1fe6de(0x16c));this[_0x1fe6de(0x14e)](_0x4b6875)||(_0x1083c3[_0x1fe6de(0x147)](_0x23fafd),_0x2db2a3=!0x0);}for(const _0x3bd4f2 of _0x1083c3)_0x48f14c[_0x1fe6de(0x145)](_0x3bd4f2);}const _0x475629=new Set(),_0x5455c3=[];for(const _0x43def5 of this[_0x1fe6de(0x144)][_0x1fe6de(0x129)]()){const _0x435401=_0x43def5[_0x1fe6de(0x137)](_0x1fe6de(0x16c));_0x475629[_0x1fe6de(0x13e)](_0x435401)?(_0x5455c3[_0x1fe6de(0x147)](_0x43def5),_0x2db2a3=!0x0):_0x475629[_0x1fe6de(0x12f)](_0x435401);}for(const _0x20645d of _0x5455c3)_0x48f14c[_0x1fe6de(0x145)](_0x20645d);return this[_0x1fe6de(0x144)][_0x1fe6de(0x132)]||(_0x48f14c[_0x1fe6de(0x145)](this[_0x1fe6de(0x144)]),this[_0x1fe6de(0x144)]=null,_0x2db2a3=!0x0),_0x2db2a3;}[_0x469782(0x13c)](_0x3eb7db,_0x24e1a0){const _0x2c9357=_0x469782;if(this[_0x2c9357(0x186)][_0x2c9357(0x12d)](_0x5d6b92=>_0x5d6b92[_0x2c9357(0x14c)]===_0x24e1a0))return!0x1;let _0x59818a=!0x1;const _0xd882c6=_0x24e1a0[_0x2c9357(0x137)](_0x2c9357(0x16c)),_0x139682=this[_0x2c9357(0x186)][_0x2c9357(0x143)](_0x4c8f53=>_0x4c8f53['id']===_0xd882c6);-0x1!==_0x139682&&(_0x3eb7db[_0x2c9357(0x145)](this[_0x2c9357(0x186)][_0x139682][_0x2c9357(0x14c)]),this[_0x2c9357(0x186)][_0x2c9357(0x13f)](_0x139682,0x1),_0x59818a=!0x0);let _0x2c5bb8=this[_0x2c9357(0x144)]?function(_0x45cc86,_0x5528e8){const _0x4aeb2e=_0x2c9357;for(const _0x260727 of _0x45cc86[_0x4aeb2e(0x129)]())if(_0x260727[_0x4aeb2e(0x137)](_0x4aeb2e(0x16c))===_0x5528e8)return _0x260727;return null;}(this[_0x2c9357(0x144)],_0xd882c6):null;_0x2c5bb8||(_0x2c5bb8=_0x3eb7db[_0x2c9357(0x16d)](_0x2c9357(0x123),{'footnoteId':_0xd882c6}),this[_0x2c9357(0x144)]&&(_0x3eb7db[_0x2c9357(0x150)](_0x2c5bb8,this[_0x2c9357(0x144)],_0x2c9357(0x124)),_0x59818a=!0x0));const _0x31d2c9={'id':_0xd882c6,'reference':_0x24e1a0,'definition':_0x2c5bb8},_0x35cf2c=I(this[_0x2c9357(0x149)][_0x2c9357(0x174)],this[_0x2c9357(0x186)],_0x24e1a0);this[_0x2c9357(0x186)][_0x2c9357(0x13f)](_0x35cf2c,0x0,_0x31d2c9);let _0x48d949=_0x35cf2c;return-0x1!==_0x139682&&(_0x48d949=Math[_0x2c9357(0x165)](_0x35cf2c,_0x139682)),this[_0x2c9357(0x136)](_0x3eb7db,_0x48d949)&&(_0x59818a=!0x0),_0x59818a;}[_0x469782(0x127)](_0x1af87b,_0x19b8ce){const _0x339fb9=_0x469782,_0x5b9d28=this[_0x339fb9(0x186)][_0x339fb9(0x143)](_0x25c679=>_0x25c679['id']===_0x19b8ce);if(-0x1===_0x5b9d28)return!0x1;let _0xdffe4=!0x1;const _0x44945b=this[_0x339fb9(0x186)][_0x5b9d28];return _0x339fb9(0x13d)!==_0x44945b[_0x339fb9(0x14d)][_0x339fb9(0x135)][_0x339fb9(0x178)]&&(_0x1af87b[_0x339fb9(0x145)](_0x44945b[_0x339fb9(0x14d)]),_0xdffe4=!0x0),this[_0x339fb9(0x186)][_0x339fb9(0x13f)](_0x5b9d28,0x1),this[_0x339fb9(0x136)](_0x1af87b,_0x5b9d28)&&(_0xdffe4=!0x0),_0xdffe4;}[_0x469782(0x138)](_0x4e2594,_0x48e537){const _0x1b817=_0x469782,_0x364d4c=_0x48e537[_0x1b817(0x137)](_0x1b817(0x16c)),_0x55653f=this[_0x1b817(0x186)][_0x1b817(0x143)](_0x425991=>_0x425991['id']===_0x364d4c),_0xb672ff=this[_0x1b817(0x186)][_0x55653f];let _0x391281=!0x1;_0xb672ff[_0x1b817(0x14c)]=_0x48e537,this[_0x1b817(0x186)][_0x1b817(0x13f)](_0x55653f,0x1);const _0x5d2ec7=I(this[_0x1b817(0x149)][_0x1b817(0x174)],this[_0x1b817(0x186)],_0x48e537);return this[_0x1b817(0x186)][_0x1b817(0x13f)](_0x5d2ec7,0x0,_0xb672ff),this[_0x1b817(0x136)](_0x4e2594,Math[_0x1b817(0x165)](_0x55653f,_0x5d2ec7))&&(_0x391281=!0x0),_0x391281;}[_0x469782(0x171)](_0x3936b6,_0x23bbe6){const _0x3bce08=_0x469782;if(!this[_0x3bce08(0x144)])return!0x1;const _0x534557=this[_0x3bce08(0x186)][_0x23bbe6];let _0x2ed582;return _0x2ed582=this[_0x3bce08(0x14f)]?this[_0x3bce08(0x14f)]({'footnote':_0x534557,'container':this[_0x3bce08(0x144)],'digits':String(this[_0x3bce08(0x186)][_0x3bce08(0x181)])[_0x3bce08(0x181)],'value':_0x23bbe6+0x1}):String(_0x23bbe6+0x1),_0x534557[_0x3bce08(0x14c)][_0x3bce08(0x137)](_0x3bce08(0x160))!=_0x2ed582&&(_0x3936b6[_0x3bce08(0x166)](_0x3bce08(0x160),_0x2ed582,_0x534557[_0x3bce08(0x14c)]),!0x0);}[_0x469782(0x162)](_0x3d0351){const _0x41ea0d=_0x469782;if(!this[_0x41ea0d(0x144)]||this[_0x41ea0d(0x186)][_0x41ea0d(0x181)]<0x2)return!0x1;if(function(_0x5a84b5,_0x3b6e97){const _0x2d9f14=_0x41ea0d;if(_0x5a84b5[_0x2d9f14(0x181)]!==_0x3b6e97[_0x2d9f14(0x181)])return!0x1;for(let _0x2f523b=0x0;_0x2f523b<_0x5a84b5[_0x2d9f14(0x181)];_0x2f523b++)if(_0x5a84b5[_0x2f523b]!==_0x3b6e97[_0x2f523b])return!0x1;return!0x0;}(this[_0x41ea0d(0x186)][_0x41ea0d(0x157)](_0x131635=>_0x131635['id']),Array[_0x41ea0d(0x153)](this[_0x41ea0d(0x144)][_0x41ea0d(0x129)]())[_0x41ea0d(0x157)](_0x47af3e=>_0x47af3e[_0x41ea0d(0x137)](_0x41ea0d(0x16c)))))return!0x1;let _0x421280=!0x1;for(let _0x1f196a=0x0;_0x1f196a<this[_0x41ea0d(0x186)][_0x41ea0d(0x181)];_0x1f196a++){const _0x5ace8c=this[_0x41ea0d(0x186)][_0x1f196a],_0x590feb=_0x3d0351[_0x41ea0d(0x125)](_0x5ace8c[_0x41ea0d(0x14d)]),_0x754f01=_0x3d0351[_0x41ea0d(0x184)](this[_0x41ea0d(0x144)],_0x1f196a);_0x590feb[_0x41ea0d(0x126)](_0x754f01)||(_0x3d0351[_0x41ea0d(0x133)](_0x3d0351[_0x41ea0d(0x17a)](_0x5ace8c[_0x41ea0d(0x14d)]),_0x754f01),_0x421280=!0x0);}return _0x421280;}[_0x469782(0x155)](_0x5b6951){const _0x4a0689=_0x469782;if(!this[_0x4a0689(0x186)][_0x4a0689(0x181)])return!0x1;const {model:_0x4d25d7}=this[_0x4a0689(0x149)];let _0x45cfd1=!0x1;for(let _0x3f20f5=0x0;_0x3f20f5<this[_0x4a0689(0x186)][_0x4a0689(0x181)]-0x1;_0x3f20f5++){const _0x333ae8=this[_0x4a0689(0x186)][_0x3f20f5],_0x4e787f=this[_0x4a0689(0x186)][_0x3f20f5+0x1],_0x49e551=_0x4d25d7[_0x4a0689(0x125)](_0x333ae8[_0x4a0689(0x14c)]),_0x220cde=_0x4d25d7[_0x4a0689(0x125)](_0x4e787f[_0x4a0689(0x14c)]);_0x4a0689(0x176)===_0x49e551[_0x4a0689(0x17e)](_0x220cde)&&(this[_0x4a0689(0x138)](_0x5b6951,_0x333ae8[_0x4a0689(0x14c)]),_0x3f20f5=-0x1,_0x45cfd1=!0x0);}return _0x45cfd1;}}function _(_0x1bb997,_0xeefdb9,_0x22fdbc){const _0x49d7fe=_0x469782;if(_0x22fdbc[_0x49d7fe(0x132)])return!0x1;const _0x120aed=_0xeefdb9?_0x49d7fe(0x16a):_0x49d7fe(0x183);return _0x1bb997[_0x49d7fe(0x150)](_0x1bb997[_0x49d7fe(0x16d)](_0x120aed),_0x22fdbc),!0x0;}function I(_0x65c4d5,_0x1d70a1,_0x4fb5fc){const _0x4a20b2=_0x469782;if(0x0===_0x1d70a1[_0x4a20b2(0x181)])return 0x0;const _0x2627dd=_0x65c4d5[_0x4a20b2(0x125)](_0x4fb5fc);for(let _0x5d6e3d=0x0;_0x5d6e3d<_0x1d70a1[_0x4a20b2(0x181)];_0x5d6e3d++){const _0x42ca88=_0x1d70a1[_0x5d6e3d],_0x4a2025=_0x65c4d5[_0x4a20b2(0x125)](_0x42ca88[_0x4a20b2(0x14c)]);if(_0x4a20b2(0x179)===_0x2627dd[_0x4a20b2(0x17e)](_0x4a2025))return _0x5d6e3d;}const _0x53a3ac=_0x4fb5fc[_0x4a20b2(0x135)];let _0x12d293=-0x1;for(let _0xc295f7=_0x1d70a1[_0x4a20b2(0x181)]-0x1;_0xc295f7>=0x0;_0xc295f7--)if(_0x1d70a1[_0xc295f7][_0x4a20b2(0x14c)][_0x4a20b2(0x135)]===_0x53a3ac){_0x12d293=_0xc295f7;break;}if(-0x1!==_0x12d293)return _0x12d293+0x1;const _0x1c5d70=_0x65c4d5[_0x4a20b2(0x17c)][_0x4a20b2(0x16e)](),_0x268108=_0x1c5d70[_0x4a20b2(0x182)](_0x53a3ac[_0x4a20b2(0x178)]),_0x522ab8=_0x1c5d70[_0x268108+0x1];if(_0x522ab8){for(let _0x326ec6=0x0;_0x326ec6<_0x1d70a1[_0x4a20b2(0x181)];_0x326ec6++)if(_0x1d70a1[_0x326ec6][_0x4a20b2(0x14c)][_0x4a20b2(0x135)][_0x4a20b2(0x178)]===_0x522ab8)return _0x326ec6;}return _0x1d70a1[_0x4a20b2(0x181)];}
23
+ const _0x1877c4=_0x4d76;(function(_0x4ad034,_0xe9989d){const _0x49494a=_0x4d76,_0x22ae40=_0x4ad034();while(!![]){try{const _0x4dc5cc=parseInt(_0x49494a(0x14e))/0x1+-parseInt(_0x49494a(0x188))/0x2+-parseInt(_0x49494a(0x16b))/0x3*(parseInt(_0x49494a(0x144))/0x4)+parseInt(_0x49494a(0x173))/0x5*(parseInt(_0x49494a(0x161))/0x6)+parseInt(_0x49494a(0x12f))/0x7+parseInt(_0x49494a(0x14d))/0x8+parseInt(_0x49494a(0x16c))/0x9*(parseInt(_0x49494a(0x183))/0xa);if(_0x4dc5cc===_0xe9989d)break;else _0x22ae40['push'](_0x22ae40['shift']());}catch(_0x449250){_0x22ae40['push'](_0x22ae40['shift']());}}}(_0x1d73,0x22dcd));import{Plugin as _0x1ba336}from'ckeditor5/src/core.js';import{ModelElementTracker as _0x37c792}from'./modelelementtracker.js';function _0x1d73(){const _0x4f9a9b=['createRangeIn','reference','_footnotes','668390aOxUKn','footnotesDefinitions','enqueueChange','_handleFootnoteReferencesChanges','reset','388530WqsqmB','_handleFootnotesDefinitionsObjectChanges','before','getFootnotesFormatter','some','footnoteInlineContent','add','document','splice','getAttribute','indexOf','from','1501339XihKZn','compareWith','_handleMovedFootnoteReference','push','parent','getFootnote','definition','isOfficialPlugin','config','_ensureFootnotesReferencesHaveProperOrder','init','root','unshift','$graveyard','_updateFootnoteRefCounter','_handleFootnotesDefinitionsObjectSync','_handleInsertedFootnoteReference','_footnoteFormatter','low','registerPostFixer','find','502080AxDlLV','isEqual','model','listenTo','setFootnoteFormatter','min','_handleRemoveFootnoteReferenceById','change:data','editor','171976XgIWET','234262DdAhyd','set','getFootnotes','getChanges','createPositionAt','end','_footnotesDefinitions','paragraph','_footnoteDefsTracker','_updateFootnotesCounters','_ensureFootnotesDefinitionsContainerExists','footnoteRef','findIndex','after','footnotes.multiBlock','_footnoteDefsContainerTracker','singleton','getRootNames','_sortFootnoteDefinitions','6RheuBj','footnoteDefinition','footnoteCounter','rootName','FootnotesTracker','childCount','_footnoteRefsTracker','pluginName','footnoteId','insert','6GryiZS','9dcYvZd','length','move','differ','createElement','setAttribute','createPositionBefore','255135bnFYEL','isPremiumPlugin','_insertEmptyFootnotesDefinitionsContainer','append','high','remove','has','map','getFootnotesDefinitionsObjectElement','getChildren','createRangeOn','get','_handleFootnoteDefinitionsChanges'];_0x1d73=function(){return _0x4f9a9b;};return _0x1d73();}export class FootnotesTracker extends _0x1ba336{[_0x1877c4(0x182)]=[];[_0x1877c4(0x154)]=null;[_0x1877c4(0x140)]=null;[_0x1877c4(0x15d)];[_0x1877c4(0x167)];[_0x1877c4(0x156)];static get[_0x1877c4(0x168)](){const _0x506c56=_0x1877c4;return _0x506c56(0x165);}static get[_0x1877c4(0x136)](){return!0x0;}static get[_0x1877c4(0x174)](){return!0x0;}constructor(_0x30ae9a){const _0x43ede6=_0x1877c4;super(_0x30ae9a),this[_0x43ede6(0x15d)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x184),'getElementKey':()=>_0x43ede6(0x15e)}),this[_0x43ede6(0x167)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x159),'getElementKey':_0x5797bd=>_0x5797bd[_0x43ede6(0x191)](_0x43ede6(0x169))}),this[_0x43ede6(0x156)]=new _0x37c792(this[_0x43ede6(0x14c)][_0x43ede6(0x146)],{'elementName':_0x43ede6(0x162),'getElementKey':_0x494b3d=>_0x494b3d[_0x43ede6(0x191)](_0x43ede6(0x169))});}[_0x1877c4(0x139)](){const _0xa4ff05=_0x1877c4,{editor:_0x59b522}=this,{model:_0x3005e1,data:_0x3c24d2}=_0x59b522;_0x3005e1[_0xa4ff05(0x18f)][_0xa4ff05(0x142)](_0x21c4e4=>{const _0x12b9ff=_0xa4ff05,_0x3f70ae=_0x3005e1[_0x12b9ff(0x18f)][_0x12b9ff(0x16f)][_0x12b9ff(0x151)]();let _0x62eb57=!0x1;return this[_0x12b9ff(0x189)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x17f)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x186)](_0x21c4e4,_0x3f70ae)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x138)](_0x21c4e4)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x13e)](_0x21c4e4)&&(_0x62eb57=!0x0),this[_0x12b9ff(0x160)](_0x21c4e4)&&(_0x62eb57=!0x0),_0x62eb57;}),this[_0xa4ff05(0x147)](_0x3005e1[_0xa4ff05(0x18f)],_0xa4ff05(0x14b),()=>{const _0x53872c=_0xa4ff05;_0x3005e1[_0x53872c(0x185)]({'isUndoable':!0x1},_0x2d4b82=>{const _0x3259ba=_0x53872c;this[_0x3259ba(0x158)](_0x2d4b82);});},{'priority':_0xa4ff05(0x141)}),this[_0xa4ff05(0x147)](_0x3c24d2,_0xa4ff05(0x14f),()=>{const _0x54bf54=_0xa4ff05;this[_0x54bf54(0x182)]=[],this[_0x54bf54(0x15d)][_0x54bf54(0x187)](),this[_0x54bf54(0x167)][_0x54bf54(0x187)](),this[_0x54bf54(0x156)][_0x54bf54(0x187)]();},{'priority':_0xa4ff05(0x177)});}[_0x1877c4(0x17b)](){const _0x47f633=_0x1877c4;return this[_0x47f633(0x154)];}[_0x1877c4(0x134)](_0x36eb98){const _0x25e6d5=_0x1877c4;return this[_0x25e6d5(0x182)][_0x25e6d5(0x143)](_0x14523c=>_0x14523c['id']===_0x36eb98)||null;}[_0x1877c4(0x150)](){const _0x444110=_0x1877c4;return Array[_0x444110(0x193)](this[_0x444110(0x182)]);}[_0x1877c4(0x18b)](){const _0x5ecb74=_0x1877c4;return this[_0x5ecb74(0x140)];}[_0x1877c4(0x148)](_0x426060){const _0x3454de=_0x1877c4;this[_0x3454de(0x140)]=_0x426060;}[_0x1877c4(0x157)](_0x219e7c,_0x1acdbc=0x0){const _0xec1a55=_0x1877c4;let _0x4dba0c=!0x1;for(let _0x481d91=_0x1acdbc;_0x481d91<this[_0xec1a55(0x182)][_0xec1a55(0x16d)];_0x481d91++)this[_0xec1a55(0x13d)](_0x219e7c,_0x481d91)&&(_0x4dba0c=!0x0);return _0x4dba0c;}[_0x1877c4(0x175)](_0x4cac85,_0x296b4e){const _0x201c3b=_0x1877c4,_0x2ddbb2=_0x4cac85[_0x201c3b(0x170)](_0x201c3b(0x184),{});return _0x4cac85[_0x201c3b(0x176)](_0x2ddbb2,_0x296b4e),this[_0x201c3b(0x154)]=_0x2ddbb2,_0x2ddbb2;}[_0x1877c4(0x158)](_0x3e6d4e){const _0x14ddc5=_0x1877c4;if(!this[_0x14ddc5(0x182)][_0x14ddc5(0x16d)]||this[_0x14ddc5(0x154)])return;const _0xc797b5=this[_0x14ddc5(0x182)][0x0][_0x14ddc5(0x181)][_0x14ddc5(0x13a)],_0x5c2f34=this[_0x14ddc5(0x175)](_0x3e6d4e,_0xc797b5);for(const _0x1d3576 of this[_0x14ddc5(0x182)])_0x1d3576[_0x14ddc5(0x135)][_0x14ddc5(0x133)]||_0x3e6d4e[_0x14ddc5(0x16a)](_0x1d3576[_0x14ddc5(0x135)],_0x5c2f34,_0x14ddc5(0x153));this[_0x14ddc5(0x157)](_0x3e6d4e);}[_0x1877c4(0x189)](_0x5d0f9c,_0x3aec56){const _0x49758d=_0x1877c4;let _0xe2400d=!0x1;const {inserted:_0x5ea77e,removed:_0x130519,moved:_0x5a4253}=this[_0x49758d(0x15d)][_0x49758d(0x151)](_0x3aec56);if(_0x5a4253[_0x49758d(0x16d)]&&(this[_0x49758d(0x154)]=_0x5a4253[0x0]),_0x5ea77e[_0x49758d(0x16d)]){if(_0x5ea77e[_0x49758d(0x16d)]>0x1||this[_0x49758d(0x154)]&&_0x5ea77e[_0x49758d(0x18c)](_0x45687b=>_0x45687b!==this[_0x49758d(0x154)])){const _0x2cc828=_0x5d0f9c[_0x49758d(0x170)](_0x49758d(0x184),{}),_0x398648=[];this[_0x49758d(0x154)]&&_0x398648[_0x49758d(0x132)](this[_0x49758d(0x154)]),_0x398648[_0x49758d(0x132)](..._0x5ea77e),_0x5d0f9c[_0x49758d(0x16a)](_0x2cc828,_0x398648[0x0],_0x49758d(0x18a));for(const _0xc7c014 of _0x398648)_0x5d0f9c[_0x49758d(0x16e)](_0x5d0f9c[_0x49758d(0x180)](_0xc7c014),_0x5d0f9c[_0x49758d(0x152)](_0x2cc828,_0x49758d(0x153))),_0x5d0f9c[_0x49758d(0x178)](_0xc7c014);this[_0x49758d(0x154)]=_0x2cc828,this[_0x49758d(0x157)](_0x5d0f9c),_0xe2400d=!0x0;}else this[_0x49758d(0x154)]=_0x5ea77e[0x0];}if(_0x130519[_0x49758d(0x16d)]&&_0x49758d(0x13c)===this[_0x49758d(0x154)]?.[_0x49758d(0x13a)][_0x49758d(0x164)]){for(const _0xd4e287 of this[_0x49758d(0x182)])_0x5d0f9c[_0x49758d(0x178)](_0xd4e287[_0x49758d(0x181)]),_0xe2400d=!0x0;this[_0x49758d(0x182)]=[],this[_0x49758d(0x154)]=null;}return _0xe2400d;}[_0x1877c4(0x17f)](_0x35c1b6,_0x20b44f){const _0x2b4c6c=_0x1877c4;let _0x4aa8f6=!0x1;const _0x1c6fcd=this[_0x2b4c6c(0x14c)][_0x2b4c6c(0x137)][_0x2b4c6c(0x17e)](_0x2b4c6c(0x15c)),{inserted:_0x4b234d,moved:_0xaea94d}=this[_0x2b4c6c(0x156)][_0x2b4c6c(0x151)](_0x20b44f);for(const _0x99333e of[..._0xaea94d,..._0x4b234d]){const _0x15da8f=_0x99333e[_0x2b4c6c(0x191)](_0x2b4c6c(0x169)),_0x45b59b=this[_0x2b4c6c(0x134)](_0x15da8f);_0x45b59b&&(_0x45b59b[_0x2b4c6c(0x135)]=_0x99333e),_(_0x35c1b6,_0x1c6fcd,_0x99333e)&&(_0x4aa8f6=!0x0);}return _0x4aa8f6;}[_0x1877c4(0x186)](_0xae393c,_0x42525e){const _0x552cd1=_0x1877c4;let _0x66860d=!0x1;const {removed:_0x51f26f,inserted:_0x3d8455,moved:_0x46ed45}=this[_0x552cd1(0x167)][_0x552cd1(0x151)](_0x42525e);for(const _0x56a7c3 of _0x51f26f)this[_0x552cd1(0x14a)](_0xae393c,_0x56a7c3)&&(_0x66860d=!0x0);for(const _0x414936 of _0x3d8455)this[_0x552cd1(0x13f)](_0xae393c,_0x414936)&&(_0x66860d=!0x0);for(const _0x2f576e of _0x46ed45)this[_0x552cd1(0x131)](_0xae393c,_0x2f576e)&&(_0x66860d=!0x0);return _0x66860d;}[_0x1877c4(0x13e)](_0x574eef){const _0x25a863=_0x1877c4;if(!this[_0x25a863(0x154)])return!0x1;let _0x1928f4=!0x1;if(this[_0x25a863(0x154)][_0x25a863(0x166)]!==this[_0x25a863(0x182)][_0x25a863(0x16d)]){const _0x2a503f=[];for(const _0x243b53 of this[_0x25a863(0x154)][_0x25a863(0x17c)]()){const _0x11b663=_0x243b53[_0x25a863(0x191)](_0x25a863(0x169));this[_0x25a863(0x134)](_0x11b663)||(_0x2a503f[_0x25a863(0x13b)](_0x243b53),_0x1928f4=!0x0);}for(const _0x5d4d3f of _0x2a503f)_0x574eef[_0x25a863(0x178)](_0x5d4d3f);}const _0x4cb48c=new Set(),_0x16c037=[];for(const _0x2965da of this[_0x25a863(0x154)][_0x25a863(0x17c)]()){const _0x1cfc98=_0x2965da[_0x25a863(0x191)](_0x25a863(0x169));_0x4cb48c[_0x25a863(0x179)](_0x1cfc98)?(_0x16c037[_0x25a863(0x13b)](_0x2965da),_0x1928f4=!0x0):_0x4cb48c[_0x25a863(0x18e)](_0x1cfc98);}for(const _0x3d24bc of _0x16c037)_0x574eef[_0x25a863(0x178)](_0x3d24bc);return this[_0x25a863(0x154)][_0x25a863(0x166)]||(_0x574eef[_0x25a863(0x178)](this[_0x25a863(0x154)]),this[_0x25a863(0x154)]=null,_0x1928f4=!0x0),_0x1928f4;}[_0x1877c4(0x13f)](_0x328739,_0x159968){const _0x384a7f=_0x1877c4;if(this[_0x384a7f(0x182)][_0x384a7f(0x143)](_0x508880=>_0x508880[_0x384a7f(0x181)]===_0x159968))return!0x1;let _0x4e1519=!0x1;const _0x3a4cac=_0x159968[_0x384a7f(0x191)](_0x384a7f(0x169)),_0x5aa2ba=this[_0x384a7f(0x182)][_0x384a7f(0x15a)](_0x2750c7=>_0x2750c7['id']===_0x3a4cac);-0x1!==_0x5aa2ba&&(_0x328739[_0x384a7f(0x178)](this[_0x384a7f(0x182)][_0x5aa2ba][_0x384a7f(0x181)]),this[_0x384a7f(0x182)][_0x384a7f(0x190)](_0x5aa2ba,0x1),_0x4e1519=!0x0);let _0x184480=this[_0x384a7f(0x154)]?function(_0x4b0caf,_0x20b90e){const _0xffd823=_0x384a7f;for(const _0x2be3ba of _0x4b0caf[_0xffd823(0x17c)]())if(_0x2be3ba[_0xffd823(0x191)](_0xffd823(0x169))===_0x20b90e)return _0x2be3ba;return null;}(this[_0x384a7f(0x154)],_0x3a4cac):null;_0x184480||(_0x184480=_0x328739[_0x384a7f(0x170)](_0x384a7f(0x162),{'footnoteId':_0x3a4cac}),this[_0x384a7f(0x154)]&&(_0x328739[_0x384a7f(0x16a)](_0x184480,this[_0x384a7f(0x154)],_0x384a7f(0x153)),_0x4e1519=!0x0));const _0x4d8670={'id':_0x3a4cac,'reference':_0x159968,'definition':_0x184480},_0x6fb225=I(this[_0x384a7f(0x14c)][_0x384a7f(0x146)],this[_0x384a7f(0x182)],_0x159968);this[_0x384a7f(0x182)][_0x384a7f(0x190)](_0x6fb225,0x0,_0x4d8670);let _0x1a28cc=_0x6fb225;return-0x1!==_0x5aa2ba&&(_0x1a28cc=Math[_0x384a7f(0x149)](_0x6fb225,_0x5aa2ba)),this[_0x384a7f(0x157)](_0x328739,_0x1a28cc)&&(_0x4e1519=!0x0),_0x4e1519;}[_0x1877c4(0x14a)](_0x111177,_0x42eb23){const _0x54eb8d=_0x1877c4,_0x4d4a1e=this[_0x54eb8d(0x182)][_0x54eb8d(0x15a)](_0x435c9a=>_0x435c9a['id']===_0x42eb23);if(-0x1===_0x4d4a1e)return!0x1;let _0x4315c1=!0x1;const _0x4cf745=this[_0x54eb8d(0x182)][_0x4d4a1e];return _0x54eb8d(0x13c)!==_0x4cf745[_0x54eb8d(0x135)][_0x54eb8d(0x13a)][_0x54eb8d(0x164)]&&(_0x111177[_0x54eb8d(0x178)](_0x4cf745[_0x54eb8d(0x135)]),_0x4315c1=!0x0),this[_0x54eb8d(0x182)][_0x54eb8d(0x190)](_0x4d4a1e,0x1),this[_0x54eb8d(0x157)](_0x111177,_0x4d4a1e)&&(_0x4315c1=!0x0),_0x4315c1;}[_0x1877c4(0x131)](_0x5d9367,_0x3e4edd){const _0x4372ac=_0x1877c4,_0x3922a2=_0x3e4edd[_0x4372ac(0x191)](_0x4372ac(0x169)),_0x2d3775=this[_0x4372ac(0x182)][_0x4372ac(0x15a)](_0x4f79f9=>_0x4f79f9['id']===_0x3922a2),_0x16138f=this[_0x4372ac(0x182)][_0x2d3775];let _0x57bf5e=!0x1;_0x16138f[_0x4372ac(0x181)]=_0x3e4edd,this[_0x4372ac(0x182)][_0x4372ac(0x190)](_0x2d3775,0x1);const _0xb97018=I(this[_0x4372ac(0x14c)][_0x4372ac(0x146)],this[_0x4372ac(0x182)],_0x3e4edd);return this[_0x4372ac(0x182)][_0x4372ac(0x190)](_0xb97018,0x0,_0x16138f),this[_0x4372ac(0x157)](_0x5d9367,Math[_0x4372ac(0x149)](_0x2d3775,_0xb97018))&&(_0x57bf5e=!0x0),_0x57bf5e;}[_0x1877c4(0x13d)](_0x255a11,_0x2dc149){const _0x605d0=_0x1877c4;if(!this[_0x605d0(0x154)])return!0x1;const _0x40c1a4=this[_0x605d0(0x182)][_0x2dc149];let _0x25efa1;return _0x25efa1=this[_0x605d0(0x140)]?this[_0x605d0(0x140)]({'footnote':_0x40c1a4,'container':this[_0x605d0(0x154)],'digits':String(this[_0x605d0(0x182)][_0x605d0(0x16d)])[_0x605d0(0x16d)],'value':_0x2dc149+0x1}):String(_0x2dc149+0x1),_0x40c1a4[_0x605d0(0x181)][_0x605d0(0x191)](_0x605d0(0x163))!=_0x25efa1&&(_0x255a11[_0x605d0(0x171)](_0x605d0(0x163),_0x25efa1,_0x40c1a4[_0x605d0(0x181)]),!0x0);}[_0x1877c4(0x160)](_0x280c44){const _0x2d6bf2=_0x1877c4;if(!this[_0x2d6bf2(0x154)]||this[_0x2d6bf2(0x182)][_0x2d6bf2(0x16d)]<0x2)return!0x1;if(function(_0x338ba4,_0x40fc5e){const _0xbda9af=_0x2d6bf2;if(_0x338ba4[_0xbda9af(0x16d)]!==_0x40fc5e[_0xbda9af(0x16d)])return!0x1;for(let _0x434a7a=0x0;_0x434a7a<_0x338ba4[_0xbda9af(0x16d)];_0x434a7a++)if(_0x338ba4[_0x434a7a]!==_0x40fc5e[_0x434a7a])return!0x1;return!0x0;}(this[_0x2d6bf2(0x182)][_0x2d6bf2(0x17a)](_0x31c175=>_0x31c175['id']),Array[_0x2d6bf2(0x193)](this[_0x2d6bf2(0x154)][_0x2d6bf2(0x17c)]())[_0x2d6bf2(0x17a)](_0x444800=>_0x444800[_0x2d6bf2(0x191)](_0x2d6bf2(0x169)))))return!0x1;let _0x20491d=!0x1;for(let _0x100c13=0x0;_0x100c13<this[_0x2d6bf2(0x182)][_0x2d6bf2(0x16d)];_0x100c13++){const _0x5712d0=this[_0x2d6bf2(0x182)][_0x100c13],_0x27162d=_0x280c44[_0x2d6bf2(0x172)](_0x5712d0[_0x2d6bf2(0x135)]),_0x3db2a8=_0x280c44[_0x2d6bf2(0x152)](this[_0x2d6bf2(0x154)],_0x100c13);_0x27162d[_0x2d6bf2(0x145)](_0x3db2a8)||(_0x280c44[_0x2d6bf2(0x16e)](_0x280c44[_0x2d6bf2(0x17d)](_0x5712d0[_0x2d6bf2(0x135)]),_0x3db2a8),_0x20491d=!0x0);}return _0x20491d;}[_0x1877c4(0x138)](_0x3b9c6e){const _0x33036a=_0x1877c4;if(!this[_0x33036a(0x182)][_0x33036a(0x16d)])return!0x1;const {model:_0x1cb823}=this[_0x33036a(0x14c)];let _0x2516bf=!0x1;for(let _0x3bc987=0x0;_0x3bc987<this[_0x33036a(0x182)][_0x33036a(0x16d)]-0x1;_0x3bc987++){const _0xc0371e=this[_0x33036a(0x182)][_0x3bc987],_0x12c5cc=this[_0x33036a(0x182)][_0x3bc987+0x1],_0x73cf4b=_0x1cb823[_0x33036a(0x172)](_0xc0371e[_0x33036a(0x181)]),_0x2ff2a6=_0x1cb823[_0x33036a(0x172)](_0x12c5cc[_0x33036a(0x181)]);_0x33036a(0x15b)===_0x73cf4b[_0x33036a(0x130)](_0x2ff2a6)&&(this[_0x33036a(0x131)](_0x3b9c6e,_0xc0371e[_0x33036a(0x181)]),_0x3bc987=-0x1,_0x2516bf=!0x0);}return _0x2516bf;}}function _0x4d76(_0x22027b,_0x3ba397){const _0x1d7377=_0x1d73();return _0x4d76=function(_0x4d76bb,_0x4c87b3){_0x4d76bb=_0x4d76bb-0x12f;let _0x17bede=_0x1d7377[_0x4d76bb];return _0x17bede;},_0x4d76(_0x22027b,_0x3ba397);}function _(_0xc8dfe5,_0x2bf36c,_0x365122){const _0x5dc4e4=_0x1877c4;if(_0x365122[_0x5dc4e4(0x166)])return!0x1;const _0x189c73=_0x2bf36c?_0x5dc4e4(0x155):_0x5dc4e4(0x18d);return _0xc8dfe5[_0x5dc4e4(0x16a)](_0xc8dfe5[_0x5dc4e4(0x170)](_0x189c73),_0x365122),!0x0;}function I(_0x33e435,_0x2dbde5,_0x2ee536){const _0x1b04bd=_0x1877c4;if(0x0===_0x2dbde5[_0x1b04bd(0x16d)])return 0x0;const _0x283fb1=_0x33e435[_0x1b04bd(0x172)](_0x2ee536);for(let _0x4f77ae=0x0;_0x4f77ae<_0x2dbde5[_0x1b04bd(0x16d)];_0x4f77ae++){const _0x3c99a9=_0x2dbde5[_0x4f77ae],_0x57d6a4=_0x33e435[_0x1b04bd(0x172)](_0x3c99a9[_0x1b04bd(0x181)]);if(_0x1b04bd(0x18a)===_0x283fb1[_0x1b04bd(0x130)](_0x57d6a4))return _0x4f77ae;}const _0x542a7a=_0x2ee536[_0x1b04bd(0x13a)];let _0x45965b=-0x1;for(let _0x335381=_0x2dbde5[_0x1b04bd(0x16d)]-0x1;_0x335381>=0x0;_0x335381--)if(_0x2dbde5[_0x335381][_0x1b04bd(0x181)][_0x1b04bd(0x13a)]===_0x542a7a){_0x45965b=_0x335381;break;}if(-0x1!==_0x45965b)return _0x45965b+0x1;const _0x3eb802=_0x33e435[_0x1b04bd(0x18f)][_0x1b04bd(0x15f)](),_0x248703=_0x3eb802[_0x1b04bd(0x192)](_0x542a7a[_0x1b04bd(0x164)]),_0x2e8420=_0x3eb802[_0x248703+0x1];if(_0x2e8420){for(let _0xbad4dc=0x0;_0xbad4dc<_0x2dbde5[_0x1b04bd(0x16d)];_0xbad4dc++)if(_0x2dbde5[_0xbad4dc][_0x1b04bd(0x181)][_0x1b04bd(0x13a)][_0x1b04bd(0x164)]===_0x2e8420)return _0xbad4dc;}return _0x2dbde5[_0x1b04bd(0x16d)];}
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- import{ButtonView as _0x772b4,MenuBarMenuListItemButtonView as _0x2351bc}from'ckeditor5/src/ui.js';import{Plugin as _0x2c1a66}from'ckeditor5/src/core.js';import{IconFootnote as _0x3eec6b}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x2c1a66{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x143bc6}=this,{componentFactory:_0x56727f}=_0x143bc6['ui'];_0x56727f['add']('insertFootnote',E(_0x143bc6,_0x772b4)),_0x56727f['add']('menuBar:insertFootnote',E(_0x143bc6,_0x2351bc)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x18c673=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x2e4416;for(const _0x289b53 in _0x18c673){const _0x338dff=_0x289b53,_0x5da71a=_0x18c673[_0x338dff];if('footnotesLicenseKeyValid'==_0x5da71a||'footnotesLicenseKeyInvalid'==_0x5da71a||'footnotesLicenseKeyExpired'==_0x5da71a||'footnotesLicenseKeyDomainLimit'==_0x5da71a||'footnotesLicenseKeyNotAllowed'==_0x5da71a||'footnotesLicenseKeyEvaluationLimit'==_0x5da71a||'footnotesLicenseKeyUsageLimit'==_0x5da71a){delete _0x18c673[_0x338dff],_0x2e4416=_0x5da71a,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x2e4416&&_0x18c673['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x2e4416&&_0x18c673['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x2e4416&&_0x18c673['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x2e4416&&_0x18c673['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x281927,_0x2a8742){const _0x4a06f4=_0x281927['commands']['get']('insertFootnote');return _0x4264b4=>{const {t:t}=_0x4264b4,_0x4c6c19=new _0x2a8742(_0x4264b4),_0x37004e=_0x4c6c19 instanceof _0x2351bc;return _0x4c6c19['bind']('isEnabled')['to'](_0x4a06f4,'isEnabled'),_0x4c6c19['set']({'label':t(_0x37004e?'Footnote':'Insert\x20footnote'),'icon':_0x3eec6b,'tooltip':!0x0}),_0x4c6c19['on']('execute',()=>{_0x4a06f4['execute'](),_0x281927['editing']['view']['focus']();}),_0x4c6c19;};}
23
+ import{ButtonView as _0x4d058f,MenuBarMenuListItemButtonView as _0x2e5d0a}from'ckeditor5/src/ui.js';import{Plugin as _0x57b730}from'ckeditor5/src/core.js';import{IconFootnote as _0x117641}from'ckeditor5/src/icons.js';import'../theme/footnotes.css';export class FootnotesUI extends _0x57b730{['licenseKey'];['_licenseKeyCheckInterval'];static get['pluginName'](){return'FootnotesUI';}static get['isOfficialPlugin'](){return!0x0;}static get['isPremiumPlugin'](){return!0x0;}['init'](){const {editor:_0x40bc78}=this,{componentFactory:_0x4c3186}=_0x40bc78['ui'];_0x4c3186['add']('insertFootnote',E(_0x40bc78,_0x4d058f)),_0x4c3186['add']('menuBar:insertFootnote',E(_0x40bc78,_0x2e5d0a)),this['licenseKey']=this['editor']['config']['get']('licenseKey');const _0x2d2aaf=this['editor'];this['_licenseKeyCheckInterval']=setInterval(()=>{let _0x400df3;for(const _0xf2e02 in _0x2d2aaf){const _0x1b7893=_0xf2e02,_0x3644fd=_0x2d2aaf[_0x1b7893];if('footnotesLicenseKeyValid'==_0x3644fd||'footnotesLicenseKeyInvalid'==_0x3644fd||'footnotesLicenseKeyExpired'==_0x3644fd||'footnotesLicenseKeyDomainLimit'==_0x3644fd||'footnotesLicenseKeyNotAllowed'==_0x3644fd||'footnotesLicenseKeyEvaluationLimit'==_0x3644fd||'footnotesLicenseKeyUsageLimit'==_0x3644fd){delete _0x2d2aaf[_0x1b7893],_0x400df3=_0x3644fd,clearInterval(this['_licenseKeyCheckInterval']),this['_licenseKeyCheckInterval']=void 0x0;break;}}'footnotesLicenseKeyInvalid'==_0x400df3&&_0x2d2aaf['_showLicenseError']('invalid'),'footnotesLicenseKeyExpired'==_0x400df3&&_0x2d2aaf['_showLicenseError']('expired'),'footnotesLicenseKeyDomainLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('domainLimit'),'footnotesLicenseKeyNotAllowed'==_0x400df3&&_0x2d2aaf['_showLicenseError']('featureNotAllowed','Footnotes'),'footnotesLicenseKeyEvaluationLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('evaluationLimit'),'footnotesLicenseKeyUsageLimit'==_0x400df3&&_0x2d2aaf['_showLicenseError']('usageLimit');},0x3e8);}['destroy'](){super['destroy'](),this['_licenseKeyCheckInterval']&&clearInterval(this['_licenseKeyCheckInterval']);}}function E(_0x522757,_0x962df){const _0xd5d411=_0x522757['commands']['get']('insertFootnote');return _0x5980e0=>{const {t:t}=_0x5980e0,_0x2a047a=new _0x962df(_0x5980e0),_0x3ecb34=_0x2a047a instanceof _0x2e5d0a;return _0x2a047a['bind']('isEnabled')['to'](_0xd5d411,'isEnabled'),_0x2a047a['set']({'label':t(_0x3ecb34?'Footnote':'Insert\x20footnote'),'icon':_0x117641,'tooltip':!0x0}),_0x2a047a['on']('execute',()=>{_0xd5d411['execute'](),_0x522757['editing']['view']['focus']();}),_0x2a047a;};}
package/src/index.js CHANGED
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- (function(_0x41e3b1,_0x523847){var _0x3a879a=_0x1c01,_0x5293e1=_0x41e3b1();while(!![]){try{var _0x3d0cf9=parseInt(_0x3a879a(0x1a0))/0x1*(-parseInt(_0x3a879a(0x1a3))/0x2)+-parseInt(_0x3a879a(0x19c))/0x3*(parseInt(_0x3a879a(0x1a5))/0x4)+-parseInt(_0x3a879a(0x1a4))/0x5*(parseInt(_0x3a879a(0x1a6))/0x6)+-parseInt(_0x3a879a(0x1a2))/0x7*(parseInt(_0x3a879a(0x1a1))/0x8)+-parseInt(_0x3a879a(0x1a7))/0x9*(parseInt(_0x3a879a(0x19f))/0xa)+parseInt(_0x3a879a(0x19d))/0xb+parseInt(_0x3a879a(0x19e))/0xc;if(_0x3d0cf9===_0x523847)break;else _0x5293e1['push'](_0x5293e1['shift']());}catch(_0x18d6ce){_0x5293e1['push'](_0x5293e1['shift']());}}}(_0x2083,0x8e635));import'./augmentation.js';export{Footnotes}from'./footnotes.js';function _0x2083(){var _0x2295a8=['50wJLowr','7EdkaGa','30896gQmdEa','1827RyEMQX','162166ItdTMD','65EkKHzN','3940tsAUyt','22908HbkLpe','1529973bscUKZ','1146mSjotA','5948701AVXQcB','34726584msimlA'];_0x2083=function(){return _0x2295a8;};return _0x2083();}export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';function _0x1c01(_0x10638d,_0x5b1613){var _0x20837a=_0x2083();return _0x1c01=function(_0x1c01df,_0x163b09){_0x1c01df=_0x1c01df-0x19c;var _0x5b15e6=_0x20837a[_0x1c01df];return _0x5b15e6;},_0x1c01(_0x10638d,_0x5b1613);}export{FootnotesProperties}from'./footnotesproperties.js';
23
+ (function(_0x21da07,_0x5e57b6){var _0xd56e76=_0x4183,_0x13d0a9=_0x21da07();while(!![]){try{var _0x3e8acc=parseInt(_0xd56e76(0xc0))/0x1*(parseInt(_0xd56e76(0xbb))/0x2)+parseInt(_0xd56e76(0xbf))/0x3+parseInt(_0xd56e76(0xb8))/0x4*(parseInt(_0xd56e76(0xbc))/0x5)+-parseInt(_0xd56e76(0xc1))/0x6+parseInt(_0xd56e76(0xba))/0x7+-parseInt(_0xd56e76(0xbe))/0x8+parseInt(_0xd56e76(0xbd))/0x9*(-parseInt(_0xd56e76(0xb9))/0xa);if(_0x3e8acc===_0x5e57b6)break;else _0x13d0a9['push'](_0x13d0a9['shift']());}catch(_0x239114){_0x13d0a9['push'](_0x13d0a9['shift']());}}}(_0x46b9,0x33a51));import'./augmentation.js';export{Footnotes}from'./footnotes.js';export{FootnotesEditing}from'./footnotesediting.js';export{FootnotesClipboard}from'./footnotesclipboard.js';function _0x46b9(){var _0xefeb85=['1827545VKwdnF','218745XiWyLU','1882320GAFDsB','1113066hrhcjS','147WBEdae','1171896yTunLG','4BolARx','150VLLFir','1587754iRAQED','590AdQILV'];_0x46b9=function(){return _0xefeb85;};return _0x46b9();}export{FootnotesUI}from'./footnotesui.js';export{InsertFootnoteCommand}from'./commands/insertfootnotecommand.js';export{FootnotesTracker}from'./footnotestracker.js';export{FootnotesStyleCommand}from'./footnotesproperties/commands/footnotesstylecommand.js';function _0x4183(_0x2ba5ad,_0x3353db){var _0x46b990=_0x46b9();return _0x4183=function(_0x418357,_0x5f039a){_0x418357=_0x418357-0xb8;var _0x48469e=_0x46b990[_0x418357];return _0x48469e;},_0x4183(_0x2ba5ad,_0x3353db);}export{FootnotesStartCommand}from'./footnotesproperties/commands/footnotesstartcommand.js';export{FootnotesPropertiesEditing}from'./footnotesproperties/footnotespropertiesediting.js';export{FootnotesPropertiesUI}from'./footnotesproperties/footnotespropertiesui.js';export{FootnotesProperties}from'./footnotesproperties.js';
@@ -20,4 +20,4 @@
20
20
  *
21
21
  *
22
22
  */
23
- const _0x2f18ce=_0x3423;function _0x129b(){const _0x565811=['reset','root','_trackedElements','getChanges','values','getElementKey','1WJoibl','remove','createRangeOn','6976635XEcUiI','position','26401122SqUFuf','clear','attributes','rootName','_getElementKey','_model','length','7376152iBmNiU','insert','1300174zxZlPR','258EzBBfq','name','4117284nBXJpR','set','getItems','push','elementName','delete','_elementName','$text','109476irIapp','132321FHccuO','has','get','slice','from','type','$graveyard','flat','add','element','nodeAfter'];_0x129b=function(){return _0x565811;};return _0x129b();}function _0x3423(_0x29145b,_0x16109b){const _0x129b96=_0x129b();return _0x3423=function(_0x34236f,_0x4b8aa4){_0x34236f=_0x34236f-0x1e6;let _0x2e4c85=_0x129b96[_0x34236f];return _0x2e4c85;},_0x3423(_0x29145b,_0x16109b);}(function(_0x2f06aa,_0x4641c3){const _0x3dc312=_0x3423,_0x850bc8=_0x2f06aa();while(!![]){try{const _0x480eb5=parseInt(_0x3dc312(0x1f6))/0x1*(parseInt(_0x3dc312(0x204))/0x2)+-parseInt(_0x3dc312(0x207))/0x3+parseInt(_0x3dc312(0x20f))/0x4+-parseInt(_0x3dc312(0x1f9))/0x5+parseInt(_0x3dc312(0x205))/0x6*(parseInt(_0x3dc312(0x210))/0x7)+-parseInt(_0x3dc312(0x202))/0x8+parseInt(_0x3dc312(0x1fb))/0x9;if(_0x480eb5===_0x4641c3)break;else _0x850bc8['push'](_0x850bc8['shift']());}catch(_0x15476a){_0x850bc8['push'](_0x850bc8['shift']());}}}(_0x129b,0xb3311));export class ModelElementTracker{[_0x2f18ce(0x200)];[_0x2f18ce(0x20d)];[_0x2f18ce(0x1ff)];[_0x2f18ce(0x1f2)]=new Map();constructor(_0x3165d7,_0x415ae5){const _0x551e7e=_0x2f18ce;this[_0x551e7e(0x200)]=_0x3165d7,this[_0x551e7e(0x20d)]=_0x415ae5[_0x551e7e(0x20b)],this[_0x551e7e(0x1ff)]=_0x415ae5[_0x551e7e(0x1f5)];}[_0x2f18ce(0x1f0)](){const _0x58010a=_0x2f18ce;this[_0x58010a(0x1f2)][_0x58010a(0x1fc)]();}[_0x2f18ce(0x1f3)](_0x415965){const _0x56f785=_0x2f18ce,_0xb23cb2=new Set(),_0x3ee62a=new Map();for(const _0x2907b8 of _0x415965){if(_0x56f785(0x203)===_0x2907b8[_0x56f785(0x1ea)]&&_0x56f785(0x20e)!==_0x2907b8[_0x56f785(0x206)]&&_0x2907b8[_0x56f785(0x1fa)][_0x56f785(0x1ef)]){const _0x75e71a=this[_0x56f785(0x200)][_0x56f785(0x1f8)](_0x2907b8[_0x56f785(0x1fa)][_0x56f785(0x1ef)]);for(const _0x2a0b7e of _0x75e71a[_0x56f785(0x209)]()){if(!_0x2a0b7e['is'](_0x56f785(0x1ee),this[_0x56f785(0x20d)]))continue;const _0x43a1ed=this[_0x56f785(0x1ff)](_0x2a0b7e);_0x3ee62a[_0x56f785(0x1e6)](_0x43a1ed)||_0x3ee62a[_0x56f785(0x208)](_0x43a1ed,[]),_0x3ee62a[_0x56f785(0x1e7)](_0x43a1ed)[_0x56f785(0x20a)](_0x2a0b7e);}}if(_0x56f785(0x1f7)===_0x2907b8[_0x56f785(0x1ea)]&&_0x2907b8[_0x56f785(0x206)]===this[_0x56f785(0x20d)]){const _0x464530=this[_0x56f785(0x1ff)]({'getAttribute':_0x52ead3=>_0x2907b8[_0x56f785(0x1fd)][_0x56f785(0x1e7)](_0x52ead3)});_0xb23cb2[_0x56f785(0x1ed)](_0x464530);}}for(const [_0x1336bc,_0xd4ba72]of this[_0x56f785(0x1f2)])_0x56f785(0x1eb)===_0xd4ba72[_0x56f785(0x1f1)][_0x56f785(0x1fe)]&&_0xb23cb2[_0x56f785(0x1ed)](_0x1336bc);for(const _0x2a8d26 of _0xb23cb2)this[_0x56f785(0x1f2)][_0x56f785(0x20c)](_0x2a8d26);for(const [_0x4ba78b,_0x4f3254]of _0x3ee62a)this[_0x56f785(0x1f2)][_0x56f785(0x208)](_0x4ba78b,_0x4f3254[_0x4f3254[_0x56f785(0x201)]-0x1]);const _0x3d659b=new Set();for(const [_0x49ed33,_0x2addb6]of _0x3ee62a)_0xb23cb2[_0x56f785(0x1e6)](_0x49ed33)&&(_0x3d659b[_0x56f785(0x1ed)](_0x2addb6[0x0]),_0x2addb6[_0x56f785(0x201)]>0x1?_0x3ee62a[_0x56f785(0x208)](_0x49ed33,_0x2addb6[_0x56f785(0x1e8)](0x1)):_0x3ee62a[_0x56f785(0x20c)](_0x49ed33),_0xb23cb2[_0x56f785(0x20c)](_0x49ed33));return{'removed':Array[_0x56f785(0x1e9)](_0xb23cb2),'inserted':Array[_0x56f785(0x1e9)](_0x3ee62a[_0x56f785(0x1f4)]())[_0x56f785(0x1ec)](),'moved':Array[_0x56f785(0x1e9)](_0x3d659b)};}}
23
+ function _0x3ac0(){const _0x1b1103=['values','getElementKey','has','rootName','_model','4FTtcvW','element','attributes','$graveyard','_trackedElements','createRangeOn','$text','set','2034432fSkmIF','position','690603yJkRRC','reset','getChanges','getItems','9461600eVttfj','get','remove','4361460TesKOZ','insert','nodeAfter','root','push','4428851OUXnQE','type','length','_elementName','elementName','816650XHbtLq','527WsCXIw','slice','from','clear','delete','add','1910gptmUM','name','flat','_getElementKey','8FMgCSi'];_0x3ac0=function(){return _0x1b1103;};return _0x3ac0();}const _0x1d229a=_0x56ec;(function(_0x53ae34,_0x4d5abf){const _0x19a243=_0x56ec,_0x325740=_0x53ae34();while(!![]){try{const _0x3a8e53=parseInt(_0x19a243(0x167))/0x1*(-parseInt(_0x19a243(0x16d))/0x2)+-parseInt(_0x19a243(0x181))/0x3*(-parseInt(_0x19a243(0x177))/0x4)+-parseInt(_0x19a243(0x166))/0x5+parseInt(_0x19a243(0x15c))/0x6+-parseInt(_0x19a243(0x161))/0x7*(parseInt(_0x19a243(0x171))/0x8)+-parseInt(_0x19a243(0x17f))/0x9+parseInt(_0x19a243(0x159))/0xa;if(_0x3a8e53===_0x4d5abf)break;else _0x325740['push'](_0x325740['shift']());}catch(_0x15b8f9){_0x325740['push'](_0x325740['shift']());}}}(_0x3ac0,0x5c43b));function _0x56ec(_0x252d23,_0x21f858){const _0x3ac070=_0x3ac0();return _0x56ec=function(_0x56ec11,_0x128d56){_0x56ec11=_0x56ec11-0x159;let _0x46fd66=_0x3ac070[_0x56ec11];return _0x46fd66;},_0x56ec(_0x252d23,_0x21f858);}export class ModelElementTracker{[_0x1d229a(0x176)];[_0x1d229a(0x164)];[_0x1d229a(0x170)];[_0x1d229a(0x17b)]=new Map();constructor(_0x1e9aed,_0x54de5a){const _0x62d12a=_0x1d229a;this[_0x62d12a(0x176)]=_0x1e9aed,this[_0x62d12a(0x164)]=_0x54de5a[_0x62d12a(0x165)],this[_0x62d12a(0x170)]=_0x54de5a[_0x62d12a(0x173)];}[_0x1d229a(0x182)](){const _0x2108eb=_0x1d229a;this[_0x2108eb(0x17b)][_0x2108eb(0x16a)]();}[_0x1d229a(0x183)](_0x303022){const _0x583df4=_0x1d229a,_0x50ce73=new Set(),_0x3fdfa4=new Map();for(const _0x402df4 of _0x303022){if(_0x583df4(0x15d)===_0x402df4[_0x583df4(0x162)]&&_0x583df4(0x17d)!==_0x402df4[_0x583df4(0x16e)]&&_0x402df4[_0x583df4(0x180)][_0x583df4(0x15e)]){const _0x1ec293=this[_0x583df4(0x176)][_0x583df4(0x17c)](_0x402df4[_0x583df4(0x180)][_0x583df4(0x15e)]);for(const _0x509833 of _0x1ec293[_0x583df4(0x184)]()){if(!_0x509833['is'](_0x583df4(0x178),this[_0x583df4(0x164)]))continue;const _0x25bbc9=this[_0x583df4(0x170)](_0x509833);_0x3fdfa4[_0x583df4(0x174)](_0x25bbc9)||_0x3fdfa4[_0x583df4(0x17e)](_0x25bbc9,[]),_0x3fdfa4[_0x583df4(0x15a)](_0x25bbc9)[_0x583df4(0x160)](_0x509833);}}if(_0x583df4(0x15b)===_0x402df4[_0x583df4(0x162)]&&_0x402df4[_0x583df4(0x16e)]===this[_0x583df4(0x164)]){const _0x16222d=this[_0x583df4(0x170)]({'getAttribute':_0x1d1938=>_0x402df4[_0x583df4(0x179)][_0x583df4(0x15a)](_0x1d1938)});_0x50ce73[_0x583df4(0x16c)](_0x16222d);}}for(const [_0x5196ee,_0x6f356a]of this[_0x583df4(0x17b)])_0x583df4(0x17a)===_0x6f356a[_0x583df4(0x15f)][_0x583df4(0x175)]&&_0x50ce73[_0x583df4(0x16c)](_0x5196ee);for(const _0x40f32a of _0x50ce73)this[_0x583df4(0x17b)][_0x583df4(0x16b)](_0x40f32a);for(const [_0x36a7ef,_0x4a248c]of _0x3fdfa4)this[_0x583df4(0x17b)][_0x583df4(0x17e)](_0x36a7ef,_0x4a248c[_0x4a248c[_0x583df4(0x163)]-0x1]);const _0x28b60f=new Set();for(const [_0x1b46d,_0x252c9b]of _0x3fdfa4)_0x50ce73[_0x583df4(0x174)](_0x1b46d)&&(_0x28b60f[_0x583df4(0x16c)](_0x252c9b[0x0]),_0x252c9b[_0x583df4(0x163)]>0x1?_0x3fdfa4[_0x583df4(0x17e)](_0x1b46d,_0x252c9b[_0x583df4(0x168)](0x1)):_0x3fdfa4[_0x583df4(0x16b)](_0x1b46d),_0x50ce73[_0x583df4(0x16b)](_0x1b46d));return{'removed':Array[_0x583df4(0x169)](_0x50ce73),'inserted':Array[_0x583df4(0x169)](_0x3fdfa4[_0x583df4(0x172)]())[_0x583df4(0x16f)](),'moved':Array[_0x583df4(0x169)](_0x28b60f)};}}