@whyour/qinglong 0.8.4 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (215) hide show
  1. package/package.json +4 -3
  2. package/sample/notify.py +1 -1
  3. package/shell/share.sh +1 -1
  4. package/static/build/api/system.js +9 -0
  5. package/static/build/app.js +2 -0
  6. package/static/build/config/index.js +2 -0
  7. package/static/build/config/util.js +8 -2
  8. package/static/build/loaders/app.js +21 -10
  9. package/static/build/loaders/db.js +3 -2
  10. package/static/build/loaders/express.js +2 -0
  11. package/static/build/loaders/initFile.js +6 -0
  12. package/static/build/loaders/logger.js +18 -13
  13. package/static/build/loaders/sentry.js +1 -0
  14. package/static/build/loaders/server.js +5 -1
  15. package/static/build/public.js +3 -1
  16. package/static/build/schedule/addCron.js +2 -1
  17. package/static/build/schedule/delCron.js +5 -0
  18. package/static/build/schedule/index.js +2 -1
  19. package/static/build/services/cron.js +3 -4
  20. package/static/build/services/dependence.js +1 -1
  21. package/static/build/services/schedule.js +9 -9
  22. package/static/build/services/subscription.js +1 -1
  23. package/static/build/services/system.js +23 -0
  24. package/static/build/shared/runCron.js +4 -4
  25. package/static/dist/1186.39086229.async.js +1 -0
  26. package/static/dist/1571.94ddca13.async.js +1 -0
  27. package/static/dist/1667.94045304.async.js +1 -0
  28. package/static/dist/1925.b3032a5e.async.js +1 -0
  29. package/static/dist/2260.6b2b0020.async.js +1 -0
  30. package/static/dist/2536.282cde37.async.js +1 -0
  31. package/static/dist/2618.d4ab1f05.async.js +1 -0
  32. package/static/dist/2715.f6d4a9ed.async.js +1 -0
  33. package/static/dist/2755.f6377d52.async.js +1 -0
  34. package/static/dist/29.dd4d8489.async.js +1 -0
  35. package/static/dist/3271.e5502cf4.async.js +1 -0
  36. package/static/dist/3330.6b55d282.async.js +1 -0
  37. package/static/dist/3639.62f45f5e.async.js +1 -0
  38. package/static/dist/3669.d39d1a9d.async.js +1 -0
  39. package/static/dist/380.1bd1f124.async.js +1 -0
  40. package/static/dist/3800.fca63cfc.async.js +1 -0
  41. package/static/dist/4124.27cef0bd.async.js +1 -0
  42. package/static/dist/4163.2fc47c9d.async.js +1 -0
  43. package/static/dist/4424.73f63db5.async.js +1 -0
  44. package/static/dist/4588.46a3a31e.async.js +1 -0
  45. package/static/dist/4618.cc1776f5.async.js +1 -0
  46. package/static/dist/4658.8a9e2830.async.js +1 -0
  47. package/static/dist/4674.0196afcf.async.js +1 -0
  48. package/static/dist/4714.4abfa66f.async.js +1 -0
  49. package/static/dist/4906.493cf3fd.async.js +1 -0
  50. package/static/dist/4925.9e8a41a2.async.js +1 -0
  51. package/static/dist/5310.213fe20f.async.js +1 -0
  52. package/static/dist/5394.de174420.async.js +1 -0
  53. package/static/dist/5484.8b81227f.async.js +1 -0
  54. package/static/dist/{6035.8de00e43.async.js → 6035.48d17c03.async.js} +1 -9
  55. package/static/dist/6064.a5141a7d.async.js +1 -0
  56. package/static/dist/6141.db67ebff.async.js +1 -0
  57. package/static/dist/6433.d9698b6c.async.js +1 -0
  58. package/static/dist/6644.fe01612c.async.js +1 -0
  59. package/static/dist/6747.36513965.async.js +1 -0
  60. package/static/dist/6805.5446eb5a.async.js +1 -0
  61. package/static/dist/6986.57a091e1.async.js +1 -0
  62. package/static/dist/7382.26e7f5a4.async.js +1 -0
  63. package/static/dist/7393.1f1df786.async.js +1 -0
  64. package/static/dist/7708.dc75b315.async.js +1 -0
  65. package/static/dist/7742.863081f5.async.js +1 -0
  66. package/static/dist/7878.91f5096f.async.js +1 -0
  67. package/static/dist/8037.dd53e9c8.async.js +1 -0
  68. package/static/dist/8044.b4f59bd9.async.js +1 -0
  69. package/static/dist/8130.10d10b7d.async.js +1 -0
  70. package/static/dist/8167.8f9d5e88.async.js +1 -0
  71. package/static/dist/819.ea86849f.async.js +1 -0
  72. package/static/dist/827.efeeec44.async.js +1 -0
  73. package/static/dist/8297.c44afb18.async.js +1 -0
  74. package/static/dist/8432.055570e6.async.js +1 -0
  75. package/static/dist/858.1899883e.async.js +1 -0
  76. package/static/dist/8605.f56664b9.async.js +1 -0
  77. package/static/dist/8969.26b0efff.async.js +1 -0
  78. package/static/dist/9065.8be8d60f.async.js +1 -0
  79. package/static/dist/9504.248f6493.async.js +1 -0
  80. package/static/dist/9532.af314989.async.js +1 -0
  81. package/static/dist/9673.5576fcd4.async.js +1 -0
  82. package/static/dist/9692.e04f774e.async.js +1 -0
  83. package/static/dist/index.html +1 -1
  84. package/static/dist/layouts__index.20e4a8b2.async.js +1 -0
  85. package/static/dist/layouts__index.dc3fe99d.chunk.css +1 -0
  86. package/static/dist/src__pages__404.f77cf9a2.async.js +1 -0
  87. package/static/dist/src__pages__config__index.34473d74.async.js +1 -0
  88. package/static/dist/src__pages__crontab__detail.91b2b006.async.js +1 -0
  89. package/static/dist/{src__pages__crontab__index.ea0ad17d.chunk.css → src__pages__crontab__index.502a1f71.chunk.css} +1 -1
  90. package/static/dist/src__pages__crontab__index.7443956f.async.js +1 -0
  91. package/static/dist/src__pages__crontab__logModal.a0c9c75c.async.js +1 -0
  92. package/static/dist/src__pages__crontab__modal.e43fadf0.async.js +1 -0
  93. package/static/dist/src__pages__crontab__type.bd5374bd.async.js +1 -0
  94. package/static/dist/src__pages__crontab__viewCreateModal.c46df55e.async.js +1 -0
  95. package/static/dist/src__pages__crontab__viewManageModal.1bb04623.async.js +1 -0
  96. package/static/dist/src__pages__dependence__index.29219078.async.js +1 -0
  97. package/static/dist/src__pages__dependence__logModal.8eb8ba1b.async.js +1 -0
  98. package/static/dist/src__pages__dependence__modal.0e940eb0.async.js +1 -0
  99. package/static/dist/src__pages__diff__index.630603fc.async.js +1 -0
  100. package/static/dist/src__pages__env__editNameModal.a1f5c3e1.async.js +1 -0
  101. package/static/dist/src__pages__env__index.03e934be.async.js +1 -0
  102. package/static/dist/src__pages__env__modal.c44800ec.async.js +1 -0
  103. package/static/dist/src__pages__error__index.521fde97.async.js +1 -0
  104. package/static/dist/src__pages__initialization__index.0e4d45ef.async.js +1 -0
  105. package/static/dist/src__pages__log__index.8da82aea.async.js +1 -0
  106. package/static/dist/src__pages__login__index.ce467c16.async.js +1 -0
  107. package/static/dist/src__pages__script__editModal.7bec90a6.async.js +1 -0
  108. package/static/dist/src__pages__script__editNameModal.d2c2b500.async.js +1 -0
  109. package/static/dist/src__pages__script__index.f666bbf7.async.js +1 -0
  110. package/static/dist/src__pages__script__renameModal.03a9a63a.async.js +1 -0
  111. package/static/dist/src__pages__script__saveModal.fe022069.async.js +1 -0
  112. package/static/dist/src__pages__script__setting.25861cb9.async.js +1 -0
  113. package/static/dist/src__pages__setting__about.5343d1cb.async.js +1 -0
  114. package/static/dist/src__pages__setting__appModal.b0f04766.async.js +1 -0
  115. package/static/dist/src__pages__setting__checkUpdate.9901a906.async.js +1 -0
  116. package/static/dist/src__pages__setting__index.6cfb3c67.async.js +1 -0
  117. package/static/dist/src__pages__setting__loginLog.4f883eb7.async.js +1 -0
  118. package/static/dist/src__pages__setting__notification.566573dd.async.js +1 -0
  119. package/static/dist/src__pages__setting__other.5babac76.async.js +1 -0
  120. package/static/dist/src__pages__setting__progress.ab51bf0a.async.js +1 -0
  121. package/static/dist/src__pages__setting__security.ef345c25.async.js +1 -0
  122. package/static/dist/src__pages__subscription__index.373b2030.async.js +1 -0
  123. package/static/dist/src__pages__subscription__logModal.1acd5872.async.js +1 -0
  124. package/static/dist/src__pages__subscription__modal.01b60226.async.js +1 -0
  125. package/static/dist/umi.e6315bf1.js +1 -0
  126. package/version.yaml +9 -11
  127. package/static/dist/1186.fba4581b.async.js +0 -2
  128. package/static/dist/1571.68121491.async.js +0 -44
  129. package/static/dist/1925.c5a319f8.async.js +0 -6
  130. package/static/dist/2260.d9fbd460.async.js +0 -1
  131. package/static/dist/2536.f6b15c54.async.js +0 -1
  132. package/static/dist/2618.1484edc2.async.js +0 -2
  133. package/static/dist/2715.80e099e1.async.js +0 -1
  134. package/static/dist/2755.5e73f03b.async.js +0 -11
  135. package/static/dist/29.b629a4b2.async.js +0 -1
  136. package/static/dist/3271.913214bd.async.js +0 -1
  137. package/static/dist/3330.962bc898.async.js +0 -1
  138. package/static/dist/3490.8d2d9399.async.js +0 -24
  139. package/static/dist/3639.58c3a3f1.async.js +0 -5
  140. package/static/dist/3669.4f05548e.async.js +0 -3
  141. package/static/dist/380.8fbf55d6.async.js +0 -1
  142. package/static/dist/3800.34124d62.async.js +0 -2
  143. package/static/dist/4124.8cba8410.async.js +0 -1
  144. package/static/dist/4163.a363bae0.async.js +0 -1
  145. package/static/dist/4424.98b4bd4c.async.js +0 -1
  146. package/static/dist/4674.403f1511.async.js +0 -1
  147. package/static/dist/4714.6f75a879.async.js +0 -4
  148. package/static/dist/4906.119e3e0f.async.js +0 -81
  149. package/static/dist/4925.eca85085.async.js +0 -1
  150. package/static/dist/5310.6c4eff46.async.js +0 -1
  151. package/static/dist/5484.826c5ee3.async.js +0 -1
  152. package/static/dist/6329.c3cd1754.async.js +0 -26
  153. package/static/dist/6433.69941426.async.js +0 -22
  154. package/static/dist/6644.5df1dec2.async.js +0 -62
  155. package/static/dist/6661.5cda5ce0.async.js +0 -1
  156. package/static/dist/6805.798ec30a.async.js +0 -1
  157. package/static/dist/6986.6960fa24.async.js +0 -1
  158. package/static/dist/7382.305c10b2.async.js +0 -27
  159. package/static/dist/7393.86229389.async.js +0 -1
  160. package/static/dist/7708.b1e590e4.async.js +0 -1
  161. package/static/dist/7742.dd8a0112.async.js +0 -12
  162. package/static/dist/8037.386b415d.async.js +0 -1
  163. package/static/dist/8044.06e91ce9.async.js +0 -18
  164. package/static/dist/8130.97ce9ff6.async.js +0 -4
  165. package/static/dist/819.c1b8de99.async.js +0 -4
  166. package/static/dist/8297.e6ac1ce9.async.js +0 -1
  167. package/static/dist/8432.5bbc2cdd.async.js +0 -1
  168. package/static/dist/858.d51fc4e2.async.js +0 -1
  169. package/static/dist/8969.2ad6c360.async.js +0 -1
  170. package/static/dist/9065.6684b5d0.async.js +0 -1
  171. package/static/dist/9504.6d4e29e7.async.js +0 -1
  172. package/static/dist/9532.a47c2a0e.async.js +0 -1
  173. package/static/dist/9673.6cf1fa68.async.js +0 -3
  174. package/static/dist/9692.aca6cd4e.async.js +0 -4
  175. package/static/dist/layouts__index.47395c48.chunk.css +0 -1
  176. package/static/dist/layouts__index.f45c1c77.async.js +0 -1
  177. package/static/dist/src__pages__404.da927616.async.js +0 -1
  178. package/static/dist/src__pages__config__index.638ee578.async.js +0 -22
  179. package/static/dist/src__pages__crontab__detail.c9ee5de3.async.js +0 -2
  180. package/static/dist/src__pages__crontab__index.f6a24b58.async.js +0 -19
  181. package/static/dist/src__pages__crontab__logModal.c630dc95.async.js +0 -1
  182. package/static/dist/src__pages__crontab__modal.c94bad49.async.js +0 -4
  183. package/static/dist/src__pages__crontab__type.136454fe.async.js +0 -1
  184. package/static/dist/src__pages__crontab__viewCreateModal.090fb218.async.js +0 -1
  185. package/static/dist/src__pages__crontab__viewManageModal.f79bdbdd.async.js +0 -1
  186. package/static/dist/src__pages__dependence__index.288f8cb2.async.js +0 -2
  187. package/static/dist/src__pages__dependence__logModal.80ff90bc.async.js +0 -4
  188. package/static/dist/src__pages__dependence__modal.8c434892.async.js +0 -5
  189. package/static/dist/src__pages__diff__index.9bff5d4a.async.js +0 -5
  190. package/static/dist/src__pages__env__editNameModal.7e592361.async.js +0 -4
  191. package/static/dist/src__pages__env__index.b9a18b25.async.js +0 -2
  192. package/static/dist/src__pages__env__modal.12d3d833.async.js +0 -5
  193. package/static/dist/src__pages__error__index.b3c10262.async.js +0 -4
  194. package/static/dist/src__pages__initialization__index.4e7bbbb9.async.js +0 -21
  195. package/static/dist/src__pages__log__index.fe97493d.async.js +0 -1
  196. package/static/dist/src__pages__login__index.7f920198.async.js +0 -1
  197. package/static/dist/src__pages__script__editModal.2a16e662.async.js +0 -4
  198. package/static/dist/src__pages__script__editNameModal.a3391e87.async.js +0 -4
  199. package/static/dist/src__pages__script__index.b772364f.async.js +0 -6
  200. package/static/dist/src__pages__script__renameModal.2bf73e46.async.js +0 -4
  201. package/static/dist/src__pages__script__saveModal.422f1cd7.async.js +0 -4
  202. package/static/dist/src__pages__script__setting.2b76ab6a.async.js +0 -4
  203. package/static/dist/src__pages__setting__about.c3cdad66.async.js +0 -1
  204. package/static/dist/src__pages__setting__appModal.b85e6aeb.async.js +0 -4
  205. package/static/dist/src__pages__setting__checkUpdate.e8512ada.async.js +0 -1
  206. package/static/dist/src__pages__setting__index.baad795d.async.js +0 -1
  207. package/static/dist/src__pages__setting__loginLog.e74c10b2.async.js +0 -18
  208. package/static/dist/src__pages__setting__notification.af705cea.async.js +0 -21
  209. package/static/dist/src__pages__setting__other.e735251a.async.js +0 -1
  210. package/static/dist/src__pages__setting__progress.bd2dfeee.async.js +0 -1
  211. package/static/dist/src__pages__setting__security.b65e9b12.async.js +0 -4
  212. package/static/dist/src__pages__subscription__index.682c6e4b.async.js +0 -1
  213. package/static/dist/src__pages__subscription__logModal.c1a59322.async.js +0 -1
  214. package/static/dist/src__pages__subscription__modal.7cdfec68.async.js +0 -4
  215. package/static/dist/umi.313dbb97.js +0 -105
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1186],{51407:function(t,e,n){var r=n(43814);function s(t,e){var n={zone:e};if(t?t instanceof s?this._date=t._date:t instanceof Date?this._date=r.DateTime.fromJSDate(t,n):"number"==typeof t?this._date=r.DateTime.fromMillis(t,n):"string"==typeof t&&(this._date=r.DateTime.fromISO(t,n),this._date.isValid||(this._date=r.DateTime.fromRFC2822(t,n)),this._date.isValid||(this._date=r.DateTime.fromSQL(t,n)),this._date.isValid||(this._date=r.DateTime.fromFormat(t,"EEE, d MMM yyyy HH:mm:ss",n))):this._date=r.DateTime.local(),!this._date||!this._date.isValid)throw new Error("CronDate: unhandled timestamp: "+JSON.stringify(t));e&&e!==this._date.zoneName&&(this._date=this._date.setZone(e))}s.prototype.addYear=function(){this._date=this._date.plus({years:1})},s.prototype.addMonth=function(){this._date=this._date.plus({months:1}).startOf("month")},s.prototype.addDay=function(){this._date=this._date.plus({days:1}).startOf("day")},s.prototype.addHour=function(){var t=this._date;this._date=this._date.plus({hours:1}).startOf("hour"),this._date<=t&&(this._date=this._date.plus({hours:1}))},s.prototype.addMinute=function(){var t=this._date;this._date=this._date.plus({minutes:1}).startOf("minute"),this._date<t&&(this._date=this._date.plus({hours:1}))},s.prototype.addSecond=function(){var t=this._date;this._date=this._date.plus({seconds:1}).startOf("second"),this._date<t&&(this._date=this._date.plus({hours:1}))},s.prototype.subtractYear=function(){this._date=this._date.minus({years:1})},s.prototype.subtractMonth=function(){this._date=this._date.minus({months:1}).endOf("month").startOf("second")},s.prototype.subtractDay=function(){this._date=this._date.minus({days:1}).endOf("day").startOf("second")},s.prototype.subtractHour=function(){var t=this._date;this._date=this._date.minus({hours:1}).endOf("hour").startOf("second"),this._date>=t&&(this._date=this._date.minus({hours:1}))},s.prototype.subtractMinute=function(){var t=this._date;this._date=this._date.minus({minutes:1}).endOf("minute").startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))},s.prototype.subtractSecond=function(){var t=this._date;this._date=this._date.minus({seconds:1}).startOf("second"),this._date>t&&(this._date=this._date.minus({hours:1}))},s.prototype.getDate=function(){return this._date.day},s.prototype.getFullYear=function(){return this._date.year},s.prototype.getDay=function(){var t=this._date.weekday;return 7==t?0:t},s.prototype.getMonth=function(){return this._date.month-1},s.prototype.getHours=function(){return this._date.hour},s.prototype.getMinutes=function(){return this._date.minute},s.prototype.getSeconds=function(){return this._date.second},s.prototype.getMilliseconds=function(){return this._date.millisecond},s.prototype.getTime=function(){return this._date.valueOf()},s.prototype.getUTCDate=function(){return this._getUTC().day},s.prototype.getUTCFullYear=function(){return this._getUTC().year},s.prototype.getUTCDay=function(){var t=this._getUTC().weekday;return 7==t?0:t},s.prototype.getUTCMonth=function(){return this._getUTC().month-1},s.prototype.getUTCHours=function(){return this._getUTC().hour},s.prototype.getUTCMinutes=function(){return this._getUTC().minute},s.prototype.getUTCSeconds=function(){return this._getUTC().second},s.prototype.toISOString=function(){return this._date.toUTC().toISO()},s.prototype.toJSON=function(){return this._date.toJSON()},s.prototype.setDate=function(t){this._date=this._date.set({day:t})},s.prototype.setFullYear=function(t){this._date=this._date.set({year:t})},s.prototype.setDay=function(t){this._date=this._date.set({weekday:t})},s.prototype.setMonth=function(t){this._date=this._date.set({month:t+1})},s.prototype.setHours=function(t){this._date=this._date.set({hour:t})},s.prototype.setMinutes=function(t){this._date=this._date.set({minute:t})},s.prototype.setSeconds=function(t){this._date=this._date.set({second:t})},s.prototype.setMilliseconds=function(t){this._date=this._date.set({millisecond:t})},s.prototype._getUTC=function(){return this._date.toUTC()},s.prototype.toString=function(){return this.toDate().toString()},s.prototype.toDate=function(){return this._date.toJSDate()},s.prototype.isLastDayOfMonth=function(){var t=this._date.plus({days:1}).startOf("day");return this._date.month!==t.month},s.prototype.isLastWeekdayOfMonth=function(){var t=this._date.plus({days:7}).startOf("day");return this._date.month!==t.month},t.exports=s},10568:function(t,e,n){var r=n(51407),s=n(53149);function i(t,e){this._options=e,this._utc=e.utc||!1,this._tz=this._utc?"UTC":e.tz,this._currentDate=new r(e.currentDate,this._tz),this._startDate=e.startDate?new r(e.startDate,this._tz):null,this._endDate=e.endDate?new r(e.endDate,this._tz):null,this._isIterator=e.iterator||!1,this._hasIterated=!1,this._nthDayOfWeek=e.nthDayOfWeek||0,this.fields=i._freezeFields(t)}i.map=["second","minute","hour","dayOfMonth","month","dayOfWeek"],i.predefined={"@yearly":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@hourly":"0 * * * *"},i.constraints=[{min:0,max:59,chars:[]},{min:0,max:59,chars:[]},{min:0,max:23,chars:[]},{min:1,max:31,chars:["L"]},{min:1,max:12,chars:[]},{min:0,max:7,chars:["L"]}],i.daysInMonth=[31,29,31,30,31,30,31,31,30,31,30,31],i.aliases={month:{jan:1,feb:2,mar:3,apr:4,may:5,jun:6,jul:7,aug:8,sep:9,oct:10,nov:11,dec:12},dayOfWeek:{sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6}},i.parseDefaults=["0","*","*","*","*","*"],i.standardValidCharacters=/^[,*\d/-]+$/,i.dayOfWeekValidCharacters=/^[?,*\dL#/-]+$/,i.dayOfMonthValidCharacters=/^[?,*\dL/-]+$/,i.validCharacters={second:i.standardValidCharacters,minute:i.standardValidCharacters,hour:i.standardValidCharacters,dayOfMonth:i.dayOfMonthValidCharacters,month:i.standardValidCharacters,dayOfWeek:i.dayOfWeekValidCharacters},i._isValidConstraintChar=function(t,e){return"string"==typeof e&&t.chars.some((function(t){return e.indexOf(t)>-1}))},i._parseField=function(t,e,n){switch(t){case"month":case"dayOfWeek":var r=i.aliases[t];e=e.replace(/[a-z]{3}/gi,(function(t){if(t=t.toLowerCase(),void 0!==r[t])return r[t];throw new Error('Validation error, cannot resolve alias "'+t+'"')}))}if(!i.validCharacters[t].test(e))throw new Error("Invalid characters, got value: "+e);function s(t){var e=t.split("/");if(e.length>2)throw new Error("Invalid repeat: "+t);return e.length>1?(e[0]==+e[0]&&(e=[e[0]+"-"+n.max,e[1]]),a(e[0],e[e.length-1])):a(t,1)}function a(e,r){var s=[],i=e.split("-");if(i.length>1){if(i.length<2)return+e;if(!i[0].length){if(!i[1].length)throw new Error("Invalid range: "+e);return+e}var a=+i[0],o=+i[1];if(Number.isNaN(a)||Number.isNaN(o)||a<n.min||o>n.max)throw new Error("Constraint error, got range "+a+"-"+o+" expected range "+n.min+"-"+n.max);if(a>o)throw new Error("Invalid range: "+e);var u=+r;if(Number.isNaN(u)||u<=0)throw new Error("Constraint error, cannot repeat at every "+u+" time.");"dayOfWeek"===t&&o%7==0&&s.push(0);for(var l=a,c=o;l<=c;l++){!(-1!==s.indexOf(l))&&u>0&&u%r==0?(u=1,s.push(l)):u++}return s}return Number.isNaN(+e)?e:+e}return-1!==e.indexOf("*")?e=e.replace(/\*/g,n.min+"-"+n.max):-1!==e.indexOf("?")&&(e=e.replace(/\?/g,n.min+"-"+n.max)),function(e){var r=[];function a(e){if(e instanceof Array)for(var s=0,a=e.length;s<a;s++){var o=e[s];if(i._isValidConstraintChar(n,o))r.push(o);else{if("number"!=typeof o||Number.isNaN(o)||o<n.min||o>n.max)throw new Error("Constraint error, got value "+o+" expected range "+n.min+"-"+n.max);r.push(o)}}else{if(i._isValidConstraintChar(n,e))return void r.push(e);var u=+e;if(Number.isNaN(u)||u<n.min||u>n.max)throw new Error("Constraint error, got value "+e+" expected range "+n.min+"-"+n.max);"dayOfWeek"===t&&(u%=7),r.push(u)}}var o=e.split(",");if(!o.every((function(t){return t.length>0})))throw new Error("Invalid list value format");if(o.length>1)for(var u=0,l=o.length;u<l;u++)a(s(o[u]));else a(s(e));return r.sort(i._sortCompareFn),r}(e)},i._sortCompareFn=function(t,e){var n="number"==typeof t,r="number"==typeof e;return n&&r?t-e:!n&&r?1:n&&!r?-1:t.localeCompare(e)},i._handleMaxDaysInMonth=function(t){if(1===t.month.length){var e=i.daysInMonth[t.month[0]-1];if(t.dayOfMonth[0]>e)throw new Error("Invalid explicit day of month definition");return t.dayOfMonth.filter((function(t){return"L"===t||t<=e})).sort(i._sortCompareFn)}},i._freezeFields=function(t){for(var e=0,n=i.map.length;e<n;++e){var r=i.map[e],s=t[r];t[r]=Object.freeze(s)}return Object.freeze(t)},i.prototype._applyTimezoneShift=function(t,e,n){if("Month"===n||"Day"===n){var r=t.getTime();t[e+n](),r===t.getTime()&&(0===t.getMinutes()&&0===t.getSeconds()?t.addHour():59===t.getMinutes()&&59===t.getSeconds()&&t.subtractHour())}else{var s=t.getHours();t[e+n]();var i=t.getHours(),a=i-s;2===a?24!==this.fields.hour.length&&(this._dstStart=i):0===a&&0===t.getMinutes()&&0===t.getSeconds()&&24!==this.fields.hour.length&&(this._dstEnd=i)}},i.prototype._findSchedule=function(t){function e(t,e){for(var n=0,r=e.length;n<r;n++)if(e[n]>=t)return e[n]===t;return e[0]===t}function n(t,e){if(e<6){if(t.getDate()<8&&1===e)return!0;var n=t.getDate()%7?1:0,r=t.getDate()-t.getDate()%7;return Math.floor(r/7)+n===e}return!1}function s(t){return t.length>0&&t.some((function(t){return"string"==typeof t&&t.indexOf("L")>=0}))}var a=(t=t||!1)?"subtract":"add",o=new r(this._currentDate,this._tz),u=this._startDate,l=this._endDate,c=o.getTime(),h=0;for(;h<1e4;){if(h++,t){if(u&&o.getTime()-u.getTime()<0)throw new Error("Out of the timespan range")}else if(l&&l.getTime()-o.getTime()<0)throw new Error("Out of the timespan range");var d=e(o.getDate(),this.fields.dayOfMonth);s(this.fields.dayOfMonth)&&(d=d||o.isLastDayOfMonth());var m=e(o.getDay(),this.fields.dayOfWeek);s(this.fields.dayOfWeek)&&(m=m||this.fields.dayOfWeek.some((function(t){if(!s([t]))return!1;var e=Number.parseInt(t[0])%7;if(Number.isNaN(e))throw new Error("Invalid last weekday of the month expression: "+t);return o.getDay()===e&&o.isLastWeekdayOfMonth()})));var f=this.fields.dayOfMonth.length>=i.daysInMonth[o.getMonth()],y=this.fields.dayOfWeek.length===i.constraints[5].max-i.constraints[5].min+1,p=o.getHours();if(d||m&&!y)if(f||!y||d)if(!f||y||m)if(this._nthDayOfWeek>0&&!n(o,this._nthDayOfWeek))this._applyTimezoneShift(o,a,"Day");else if(e(o.getMonth()+1,this.fields.month)){if(e(p,this.fields.hour)){if(this._dstEnd===p&&!t){this._dstEnd=null,this._applyTimezoneShift(o,"add","Hour");continue}}else{if(this._dstStart!==p){this._dstStart=null,this._applyTimezoneShift(o,a,"Hour");continue}if(!e(p-1,this.fields.hour)){o[a+"Hour"]();continue}}if(e(o.getMinutes(),this.fields.minute))if(e(o.getSeconds(),this.fields.second)){if(c!==o.getTime())break;"add"===a||0===o.getMilliseconds()?this._applyTimezoneShift(o,a,"Second"):o.setMilliseconds(0)}else this._applyTimezoneShift(o,a,"Second");else this._applyTimezoneShift(o,a,"Minute")}else this._applyTimezoneShift(o,a,"Month");else this._applyTimezoneShift(o,a,"Day");else this._applyTimezoneShift(o,a,"Day");else this._applyTimezoneShift(o,a,"Day")}if(h>=1e4)throw new Error("Invalid expression, loop limit exceeded");return this._currentDate=new r(o,this._tz),this._hasIterated=!0,o},i.prototype.next=function(){var t=this._findSchedule();return this._isIterator?{value:t,done:!this.hasNext()}:t},i.prototype.prev=function(){var t=this._findSchedule(!0);return this._isIterator?{value:t,done:!this.hasPrev()}:t},i.prototype.hasNext=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(),!0}catch(t){return!1}finally{this._currentDate=t,this._hasIterated=e}},i.prototype.hasPrev=function(){var t=this._currentDate,e=this._hasIterated;try{return this._findSchedule(!0),!0}catch(t){return!1}finally{this._currentDate=t,this._hasIterated=e}},i.prototype.iterate=function(t,e){var n=[];if(t>=0)for(var r=0,s=t;r<s;r++)try{var i=this.next();n.push(i),e&&e(i,r)}catch(t){break}else for(r=0,s=t;r>s;r--)try{i=this.prev();n.push(i),e&&e(i,r)}catch(t){break}return n},i.prototype.reset=function(t){this._currentDate=new r(t||this._options.currentDate)},i.prototype.stringify=function(t){for(var e=[],n=t?0:1,r=i.map.length;n<r;++n){var a=i.map[n],o=this.fields[a],u=i.constraints[n];"dayOfMonth"===a&&1===this.fields.month.length?u={min:1,max:i.daysInMonth[this.fields.month[0]-1]}:"dayOfWeek"===a&&(u={min:0,max:6},o=7===o[o.length-1]?o.slice(0,-1):o),e.push(s(o,u.min,u.max))}return e.join(" ")},i.parse=function(t,e){var n=this;function s(t,e){e||(e={}),void 0===e.currentDate&&(e.currentDate=new r(void 0,n._tz)),i.predefined[t]&&(t=i.predefined[t]);var s=[],a=(t+"").trim().split(/\s+/);if(a.length>6)throw new Error("Invalid cron expression");for(var o=i.map.length-a.length,u=0,l=i.map.length;u<l;++u){var c=i.map[u],h=a[a.length>l?u:u-o];if(u<o||!h)s.push(i._parseField(c,i.parseDefaults[u],i.constraints[u]));else{var d="dayOfWeek"===c?y(h):h;s.push(i._parseField(c,d,i.constraints[u]))}}var m={};for(u=0,l=i.map.length;u<l;u++){m[i.map[u]]=s[u]}var f=i._handleMaxDaysInMonth(m);return m.dayOfMonth=f||m.dayOfMonth,new i(m,e);function y(t){var n=t.split("#");if(n.length>1){var r=+n[n.length-1];if(/,/.test(t))throw new Error("Constraint error, invalid dayOfWeek `#` and `,` special characters are incompatible");if(/\//.test(t))throw new Error("Constraint error, invalid dayOfWeek `#` and `/` special characters are incompatible");if(/-/.test(t))throw new Error("Constraint error, invalid dayOfWeek `#` and `-` special characters are incompatible");if(n.length>2||Number.isNaN(r)||r<1||r>5)throw new Error("Constraint error, invalid dayOfWeek occurrence number (#)");return e.nthDayOfWeek=r,n[0]}return t}}return"function"==typeof e&&(e={}),s(t,e)},i.fieldsToExpression=function(t,e){function n(t,e,n){if(!e)throw new Error("Validation error, Field "+t+" is missing");if(0===e.length)throw new Error("Validation error, Field "+t+" contains no values");for(var r=0,s=e.length;r<s;r++){var a=e[r];if(!i._isValidConstraintChar(n,a)&&("number"!=typeof a||Number.isNaN(a)||a<n.min||a>n.max))throw new Error("Constraint error, got value "+a+" expected range "+n.min+"-"+n.max)}}for(var r={},s=0,a=i.map.length;s<a;++s){var o=i.map[s],u=t[o];n(o,u,i.constraints[s]);for(var l=[],c=-1;++c<u.length;)l[c]=u[c];if((u=l.sort(i._sortCompareFn).filter((function(t,e,n){return!e||t!==n[e-1]}))).length!==l.length)throw new Error("Validation error, Field "+o+" contains duplicate values");r[o]=u}var h=i._handleMaxDaysInMonth(r);return r.dayOfMonth=h||r.dayOfMonth,new i(r,e||{})},t.exports=i},65699:function(t){function e(t){return{start:t,count:1}}function n(t,e){t.end=e,t.step=e-t.start,t.count=2}function r(t,n,r){n&&(2===n.count?(t.push(e(n.start)),t.push(e(n.end))):t.push(n)),r&&t.push(r)}t.exports=function(t){for(var s=[],i=void 0,a=0;a<t.length;a++){var o=t[a];"number"!=typeof o?(r(s,i,e(o)),i=void 0):i?1===i.count?n(i,o):i.step===o-i.end?(i.count++,i.end=o):2===i.count?(s.push(e(i.start)),n(i=e(i.end),o)):(r(s,i),i=e(o)):i=e(o)}return r(s,i),s}},53149:function(t,e,n){var r=n(65699);t.exports=function(t,e,n){var s=r(t);if(1===s.length){var i=s[0];if(1===(c=i.step)&&i.start===e&&i.end===n)return"*";if(1!==c&&i.start===e&&i.end===n-c+1)return"*/"+c}for(var a=[],o=0,u=s.length;o<u;++o){var l=s[o];if(1!==l.count){var c=l.step;if(1!==l.step){var h=0==l.start?l.count-1:l.count;l.step*h>l.end?a=a.concat(Array.from({length:l.end-l.start+1}).map((function(t,e){var n=l.start+e;return(n-l.start)%l.step==0?n:null})).filter((function(t){return null!=t}))):l.end===n-l.step+1?a.push(l.start+"/"+l.step):a.push(l.start+"-"+l.end+"/"+l.step)}else a.push(l.start+"-"+l.end)}else a.push(l.start)}return a.join(",")}},11186:function(t,e,n){var r=n(10568);function s(){}s._parseEntry=function(t){var e=t.split(" ");if(6===e.length)return{interval:r.parse(t)};if(e.length>6)return{interval:r.parse(e.slice(0,6).join(" ")),command:e.slice(6,e.length)};throw new Error("Invalid entry: "+t)},s.parseExpression=function(t,e){return r.parse(t,e)},s.fieldsToExpression=function(t,e){return r.fieldsToExpression(t,e)},s.parseString=function(t){for(var e=t.split("\n"),n={variables:{},expressions:[],errors:{}},r=0,i=e.length;r<i;r++){var a=null,o=e[r].trim();if(o.length>0){if(o.match(/^#/))continue;if(a=o.match(/^(.*)=(.*)$/))n.variables[a[1]]=a[2];else{var u=null;try{u=s._parseEntry("0 "+o),n.expressions.push(u.interval)}catch(t){n.errors[o]=t}}}}return n},s.parseFile=function(t,e){n(38433).readFile(t,(function(t,n){if(!t)return e(null,s.parseString(n.toString()));e(t)}))},t.exports=s},43814:function(t,e){Object.defineProperty(e,"__esModule",{value:!0});class n extends Error{}class r extends n{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class s extends n{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class i extends n{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class a extends n{}class o extends n{constructor(t){super(`Invalid unit ${t}`)}}class u extends n{}class l extends n{constructor(){super("Zone is an abstract class")}}const c="numeric",h="short",d="long",m={year:c,month:c,day:c},f={year:c,month:h,day:c},y={year:c,month:h,day:c,weekday:h},p={year:c,month:d,day:c},g={year:c,month:d,day:c,weekday:d},w={hour:c,minute:c},v={hour:c,minute:c,second:c},T={hour:c,minute:c,second:c,timeZoneName:h},O={hour:c,minute:c,second:c,timeZoneName:d},S={hour:c,minute:c,hourCycle:"h23"},_={hour:c,minute:c,second:c,hourCycle:"h23"},M={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:h},b={hour:c,minute:c,second:c,hourCycle:"h23",timeZoneName:d},k={year:c,month:c,day:c,hour:c,minute:c},D={year:c,month:c,day:c,hour:c,minute:c,second:c},N={year:c,month:h,day:c,hour:c,minute:c},x={year:c,month:h,day:c,hour:c,minute:c,second:c},E={year:c,month:h,day:c,weekday:h,hour:c,minute:c},C={year:c,month:d,day:c,hour:c,minute:c,timeZoneName:h},I={year:c,month:d,day:c,hour:c,minute:c,second:c,timeZoneName:h},V={year:c,month:d,day:c,weekday:d,hour:c,minute:c,timeZoneName:d},F={year:c,month:d,day:c,weekday:d,hour:c,minute:c,second:c,timeZoneName:d};class Z{get type(){throw new l}get name(){throw new l}get ianaName(){return this.name}get isUniversal(){throw new l}offsetName(t,e){throw new l}formatOffset(t,e){throw new l}offset(t){throw new l}equals(t){throw new l}get isValid(){throw new l}}let z=null;class L extends Z{static get instance(){return null===z&&(z=new L),z}get type(){return"system"}get name(){return(new Intl.DateTimeFormat).resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return xt(t,e,n)}formatOffset(t,e){return Vt(this.offset(t),e)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return"system"===t.type}get isValid(){return!0}}let $={};const j={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};let U={};class A extends Z{static create(t){return U[t]||(U[t]=new A(t)),U[t]}static resetCache(){U={},$={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch(t){return!1}}constructor(t){super(),this.zoneName=t,this.valid=A.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:e,locale:n}){return xt(t,e,n,this.name)}formatOffset(t,e){return Vt(this.offset(t),e)}offset(t){const e=new Date(t);if(isNaN(e))return NaN;const n=(r=this.name,$[r]||($[r]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:r,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),$[r]);var r;let[s,i,a,o,u,l,c]=n.formatToParts?function(t,e){const n=t.formatToParts(e),r=[];for(let t=0;t<n.length;t++){const{type:e,value:s}=n[t],i=j[e];"era"===e?r[i]=s:ht(i)||(r[i]=parseInt(s,10))}return r}(n,e):function(t,e){const n=t.format(e).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,i,a,o,u,l,c]=r;return[a,s,i,o,u,l,c]}(n,e);"BC"===o&&(s=1-Math.abs(s));let h=+e;const d=h%1e3;return h-=d>=0?d:1e3+d,(kt({year:s,month:i,day:a,hour:24===u?0:u,minute:l,second:c,millisecond:0})-h)/6e4}equals(t){return"iana"===t.type&&t.name===this.name}get isValid(){return this.valid}}let q={};let W={};function H(t,e={}){const n=JSON.stringify([t,e]);let r=W[n];return r||(r=new Intl.DateTimeFormat(t,e),W[n]=r),r}let J={};let Y={};let R=null;function P(t,e,n,r,s){const i=t.listingMode(n);return"error"===i?null:"en"===i?r(e):s(e)}class G{constructor(t,e,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;const{padTo:r,floor:s,...i}=n;if(!e||Object.keys(i).length>0){const e={useGrouping:!1,...n};n.padTo>0&&(e.minimumIntegerDigits=n.padTo),this.inf=function(t,e={}){const n=JSON.stringify([t,e]);let r=J[n];return r||(r=new Intl.NumberFormat(t,e),J[n]=r),r}(t,e)}}format(t){if(this.inf){const e=this.floor?Math.floor(t):t;return this.inf.format(e)}return wt(this.floor?Math.floor(t):St(t,3),this.padTo)}}class B{constructor(t,e,n){let r;if(this.opts=n,this.originalZone=void 0,this.opts.timeZone)this.dt=t;else if("fixed"===t.zone.type){const e=t.offset/60*-1,n=e>=0?`Etc/GMT+${e}`:`Etc/GMT${e}`;0!==t.offset&&A.create(n).valid?(r=n,this.dt=t):(r="UTC",this.dt=0===t.offset?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else"system"===t.zone.type?this.dt=t:"iana"===t.zone.type?(this.dt=t,r=t.zone.name):(r="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||r,this.dtf=H(e,s)}format(){return this.originalZone?this.formatToParts().map((({value:t})=>t)).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map((t=>{if("timeZoneName"===t.type){const e=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...t,value:e}}return t})):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Q{constructor(t,e,n){this.opts={style:"long",...n},!e&&ft()&&(this.rtf=function(t,e={}){const{base:n,...r}=e,s=JSON.stringify([t,r]);let i=Y[s];return i||(i=new Intl.RelativeTimeFormat(t,e),Y[s]=i),i}(t,n))}format(t,e){return this.rtf?this.rtf.format(t,e):function(t,e,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},i=-1===["hours","minutes","seconds"].indexOf(t);if("auto"===n&&i){const n="days"===t;switch(e){case 1:return n?"tomorrow":`next ${s[t][0]}`;case-1:return n?"yesterday":`last ${s[t][0]}`;case 0:return n?"today":`this ${s[t][0]}`}}const a=Object.is(e,-0)||e<0,o=Math.abs(e),u=1===o,l=s[t],c=r?u?l[1]:l[2]||l[1]:u?s[t][0]:t;return a?`${o} ${c} ago`:`in ${o} ${c}`}(e,t,this.opts.numeric,"long"!==this.opts.style)}formatToParts(t,e){return this.rtf?this.rtf.formatToParts(t,e):[]}}class K{static fromOpts(t){return K.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,e,n,r=!1){const s=t||ct.defaultLocale,i=s||(r?"en-US":R||(R=(new Intl.DateTimeFormat).resolvedOptions().locale,R)),a=e||ct.defaultNumberingSystem,o=n||ct.defaultOutputCalendar;return new K(i,a,o,s)}static resetCache(){R=null,W={},J={},Y={}}static fromObject({locale:t,numberingSystem:e,outputCalendar:n}={}){return K.create(t,e,n)}constructor(t,e,n,r){const[s,i,a]=function(t){const e=t.indexOf("-x-");-1!==e&&(t=t.substring(0,e));const n=t.indexOf("-u-");if(-1===n)return[t];{let e,r;try{e=H(t).resolvedOptions(),r=t}catch(s){const i=t.substring(0,n);e=H(i).resolvedOptions(),r=i}const{numberingSystem:s,calendar:i}=e;return[r,s,i]}}(t);this.locale=s,this.numberingSystem=e||i||null,this.outputCalendar=n||a||null,this.intl=function(t,e,n){return n||e?(t.includes("-u-")||(t+="-u"),n&&(t+=`-ca-${n}`),e&&(t+=`-nu-${e}`),t):t}(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=r,this.fastNumbersCached=null}get fastNumbers(){var t;return null==this.fastNumbersCached&&(this.fastNumbersCached=(!(t=this).numberingSystem||"latn"===t.numberingSystem)&&("latn"===t.numberingSystem||!t.locale||t.locale.startsWith("en")||"latn"===new Intl.DateTimeFormat(t.intl).resolvedOptions().numberingSystem)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),e=!(null!==this.numberingSystem&&"latn"!==this.numberingSystem||null!==this.outputCalendar&&"gregory"!==this.outputCalendar);return t&&e?"en":"intl"}clone(t){return t&&0!==Object.getOwnPropertyNames(t).length?K.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1):this}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,e=!1,n=!0){return P(this,t,n,$t,(()=>{const n=e?{month:t,day:"numeric"}:{month:t},r=e?"format":"standalone";return this.monthsCache[r][t]||(this.monthsCache[r][t]=function(t){const e=[];for(let n=1;n<=12;n++){const r=Xn.utc(2016,n,1);e.push(t(r))}return e}((t=>this.extract(t,n,"month")))),this.monthsCache[r][t]}))}weekdays(t,e=!1,n=!0){return P(this,t,n,qt,(()=>{const n=e?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},r=e?"format":"standalone";return this.weekdaysCache[r][t]||(this.weekdaysCache[r][t]=function(t){const e=[];for(let n=1;n<=7;n++){const r=Xn.utc(2016,11,13+n);e.push(t(r))}return e}((t=>this.extract(t,n,"weekday")))),this.weekdaysCache[r][t]}))}meridiems(t=!0){return P(this,void 0,t,(()=>Wt),(()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Xn.utc(2016,11,13,9),Xn.utc(2016,11,13,19)].map((e=>this.extract(e,t,"dayperiod")))}return this.meridiemCache}))}eras(t,e=!0){return P(this,t,e,Rt,(()=>{const e={era:t};return this.eraCache[t]||(this.eraCache[t]=[Xn.utc(-40,1,1),Xn.utc(2017,1,1)].map((t=>this.extract(t,e,"era")))),this.eraCache[t]}))}extract(t,e,n){const r=this.dtFormatter(t,e).formatToParts().find((t=>t.type.toLowerCase()===n));return r?r.value:null}numberFormatter(t={}){return new G(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,e={}){return new B(t,this.intl,e)}relFormatter(t={}){return new Q(this.intl,this.isEnglish(),t)}listFormatter(t={}){return function(t,e={}){const n=JSON.stringify([t,e]);let r=q[n];return r||(r=new Intl.ListFormat(t,e),q[n]=r),r}(this.intl,t)}isEnglish(){return"en"===this.locale||"en-us"===this.locale.toLowerCase()||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let X=null;class tt extends Z{static get utcInstance(){return null===X&&(X=new tt(0)),X}static instance(t){return 0===t?tt.utcInstance:new tt(t)}static parseSpecifier(t){if(t){const e=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(e)return new tt(Et(e[1],e[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return 0===this.fixed?"UTC":`UTC${Vt(this.fixed,"narrow")}`}get ianaName(){return 0===this.fixed?"Etc/UTC":`Etc/GMT${Vt(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,e){return Vt(this.fixed,e)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return"fixed"===t.type&&t.fixed===this.fixed}get isValid(){return!0}}class et extends Z{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function nt(t,e){if(ht(t)||null===t)return e;if(t instanceof Z)return t;if("string"==typeof t){const n=t.toLowerCase();return"default"===n?e:"local"===n||"system"===n?L.instance:"utc"===n||"gmt"===n?tt.utcInstance:tt.parseSpecifier(n)||A.create(t)}return dt(t)?tt.instance(t):"object"==typeof t&&t.offset&&"number"==typeof t.offset?t:new et(t)}let rt,st=()=>Date.now(),it="system",at=null,ot=null,ut=null,lt=60;class ct{static get now(){return st}static set now(t){st=t}static set defaultZone(t){it=t}static get defaultZone(){return nt(it,L.instance)}static get defaultLocale(){return at}static set defaultLocale(t){at=t}static get defaultNumberingSystem(){return ot}static set defaultNumberingSystem(t){ot=t}static get defaultOutputCalendar(){return ut}static set defaultOutputCalendar(t){ut=t}static get twoDigitCutoffYear(){return lt}static set twoDigitCutoffYear(t){lt=t%100}static get throwOnInvalid(){return rt}static set throwOnInvalid(t){rt=t}static resetCaches(){K.resetCache(),A.resetCache()}}function ht(t){return void 0===t}function dt(t){return"number"==typeof t}function mt(t){return"number"==typeof t&&t%1==0}function ft(){try{return"undefined"!=typeof Intl&&!!Intl.RelativeTimeFormat}catch(t){return!1}}function yt(t,e,n){if(0!==t.length)return t.reduce(((t,r)=>{const s=[e(r),r];return t&&n(t[0],s[0])===t[0]?t:s}),null)[1]}function pt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function gt(t,e,n){return mt(t)&&t>=e&&t<=n}function wt(t,e=2){let n;return n=t<0?"-"+(""+-t).padStart(e,"0"):(""+t).padStart(e,"0"),n}function vt(t){return ht(t)||null===t||""===t?void 0:parseInt(t,10)}function Tt(t){return ht(t)||null===t||""===t?void 0:parseFloat(t)}function Ot(t){if(!ht(t)&&null!==t&&""!==t){const e=1e3*parseFloat("0."+t);return Math.floor(e)}}function St(t,e,n=!1){const r=10**e;return(n?Math.trunc:Math.round)(t*r)/r}function _t(t){return t%4==0&&(t%100!=0||t%400==0)}function Mt(t){return _t(t)?366:365}function bt(t,e){const n=function(t,e){return t-e*Math.floor(t/e)}(e-1,12)+1;return 2===n?_t(t+(e-n)/12)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function kt(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function Dt(t){const e=(t+Math.floor(t/4)-Math.floor(t/100)+Math.floor(t/400))%7,n=t-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return 4===e||3===r?53:52}function Nt(t){return t>99?t:t>ct.twoDigitCutoffYear?1900+t:2e3+t}function xt(t,e,n,r=null){const s=new Date(t),i={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(i.timeZone=r);const a={timeZoneName:e,...i},o=new Intl.DateTimeFormat(n,a).formatToParts(s).find((t=>"timezonename"===t.type.toLowerCase()));return o?o.value:null}function Et(t,e){let n=parseInt(t,10);Number.isNaN(n)&&(n=0);const r=parseInt(e,10)||0;return 60*n+(n<0||Object.is(n,-0)?-r:r)}function Ct(t){const e=Number(t);if("boolean"==typeof t||""===t||Number.isNaN(e))throw new u(`Invalid unit value ${t}`);return e}function It(t,e){const n={};for(const r in t)if(pt(t,r)){const s=t[r];if(null==s)continue;n[e(r)]=Ct(s)}return n}function Vt(t,e){const n=Math.trunc(Math.abs(t/60)),r=Math.trunc(Math.abs(t%60)),s=t>=0?"+":"-";switch(e){case"short":return`${s}${wt(n,2)}:${wt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${wt(n,2)}${wt(r,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Ft(t){return function(t,e){return e.reduce(((e,n)=>(e[n]=t[n],e)),{})}(t,["hour","minute","second","millisecond"])}const Zt=["January","February","March","April","May","June","July","August","September","October","November","December"],zt=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Lt=["J","F","M","A","M","J","J","A","S","O","N","D"];function $t(t){switch(t){case"narrow":return[...Lt];case"short":return[...zt];case"long":return[...Zt];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const jt=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ut=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],At=["M","T","W","T","F","S","S"];function qt(t){switch(t){case"narrow":return[...At];case"short":return[...Ut];case"long":return[...jt];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Wt=["AM","PM"],Ht=["Before Christ","Anno Domini"],Jt=["BC","AD"],Yt=["B","A"];function Rt(t){switch(t){case"narrow":return[...Yt];case"short":return[...Jt];case"long":return[...Ht];default:return null}}function Pt(t,e){let n="";for(const r of t)r.literal?n+=r.val:n+=e(r.val);return n}const Gt={D:m,DD:f,DDD:p,DDDD:g,t:w,tt:v,ttt:T,tttt:O,T:S,TT:_,TTT:M,TTTT:b,f:k,ff:N,fff:C,ffff:V,F:D,FF:x,FFF:I,FFFF:F};class Bt{static create(t,e={}){return new Bt(t,e)}static parseFormat(t){let e=null,n="",r=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);"'"===a?(n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),e=null,n="",r=!r):r||a===e?n+=a:(n.length>0&&s.push({literal:/^\s+$/.test(n),val:n}),n=a,e=a)}return n.length>0&&s.push({literal:r||/^\s+$/.test(n),val:n}),s}static macroTokenToFormatOpts(t){return Gt[t]}constructor(t,e){this.opts=e,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,e){null===this.systemLoc&&(this.systemLoc=this.loc.redefaultToSystem());return this.systemLoc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTime(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).format()}formatDateTimeParts(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).formatToParts()}formatInterval(t,e={}){return this.loc.dtFormatter(t.start,{...this.opts,...e}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,e={}){return this.loc.dtFormatter(t,{...this.opts,...e}).resolvedOptions()}num(t,e=0){if(this.opts.forceSimple)return wt(t,e);const n={...this.opts};return e>0&&(n.padTo=e),this.loc.numberFormatter(n).format(t)}formatDateTimeFromString(t,e){const n="en"===this.loc.listingMode(),r=this.loc.outputCalendar&&"gregory"!==this.loc.outputCalendar,s=(e,n)=>this.loc.extract(t,e,n),i=e=>t.isOffsetFixed&&0===t.offset&&e.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,e.format):"",a=()=>n?function(t){return Wt[t.hour<12?0:1]}(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),o=(e,r)=>n?function(t,e){return $t(e)[t.month-1]}(t,e):s(r?{month:e}:{month:e,day:"numeric"},"month"),u=(e,r)=>n?function(t,e){return qt(e)[t.weekday-1]}(t,e):s(r?{weekday:e}:{weekday:e,month:"long",day:"numeric"},"weekday"),l=e=>{const n=Bt.macroTokenToFormatOpts(e);return n?this.formatWithSystemDefault(t,n):e},c=e=>n?function(t,e){return Rt(e)[t.year<0?0:1]}(t,e):s({era:e},"era");return Pt(Bt.parseFormat(e),(e=>{switch(e){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12==0?12:t.hour%12);case"hh":return this.num(t.hour%12==0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return r?s({day:"numeric"},"day"):this.num(t.day);case"dd":return r?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":case"E":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return r?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return r?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return o("short",!0);case"LLLL":return o("long",!0);case"LLLLL":return o("narrow",!0);case"M":return r?s({month:"numeric"},"month"):this.num(t.month);case"MM":return r?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return o("short",!1);case"MMMM":return o("long",!1);case"MMMMM":return o("narrow",!1);case"y":return r?s({year:"numeric"},"year"):this.num(t.year);case"yy":return r?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return r?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return r?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return c("short");case"GG":return c("long");case"GGGGG":return c("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return l(e)}}))}formatDurationFromString(t,e){const n=t=>{switch(t[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},r=Bt.parseFormat(e),s=r.reduce(((t,{literal:e,val:n})=>e?t:t.concat(n)),[]);return Pt(r,(t=>e=>{const r=n(e);return r?this.num(t.get(r),e.length):e})(t.shiftTo(...s.map(n).filter((t=>t)))))}}class Qt{constructor(t,e){this.reason=t,this.explanation=e}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Kt=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Xt(...t){const e=t.reduce(((t,e)=>t+e.source),"");return RegExp(`^${e}$`)}function te(...t){return e=>t.reduce((([t,n,r],s)=>{const[i,a,o]=s(e,r);return[{...t,...i},a||n,o]}),[{},null,1]).slice(0,2)}function ee(t,...e){if(null==t)return[null,null];for(const[n,r]of e){const e=n.exec(t);if(e)return r(e)}return[null,null]}function ne(...t){return(e,n)=>{const r={};let s;for(s=0;s<t.length;s++)r[t[s]]=vt(e[n+s]);return[r,null,n+s]}}const re=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,se=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,ie=RegExp(`${se.source}${`(?:${re.source}?(?:\\[(${Kt.source})\\])?)?`}`),ae=RegExp(`(?:T${ie.source})?`),oe=ne("weekYear","weekNumber","weekDay"),ue=ne("year","ordinal"),le=RegExp(`${se.source} ?(?:${re.source}|(${Kt.source}))?`),ce=RegExp(`(?: ${le.source})?`);function he(t,e,n){const r=t[e];return ht(r)?n:vt(r)}function de(t,e){return[{hours:he(t,e,0),minutes:he(t,e+1,0),seconds:he(t,e+2,0),milliseconds:Ot(t[e+3])},null,e+4]}function me(t,e){const n=!t[e]&&!t[e+1],r=Et(t[e+1],t[e+2]);return[{},n?null:tt.instance(r),e+3]}function fe(t,e){return[{},t[e]?A.create(t[e]):null,e+1]}const ye=RegExp(`^T?${se.source}$`),pe=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function ge(t){const[e,n,r,s,i,a,o,u,l]=t,c="-"===e[0],h=u&&"-"===u[0],d=(t,e=!1)=>void 0!==t&&(e||t&&c)?-t:t;return[{years:d(Tt(n)),months:d(Tt(r)),weeks:d(Tt(s)),days:d(Tt(i)),hours:d(Tt(a)),minutes:d(Tt(o)),seconds:d(Tt(u),"-0"===u),milliseconds:d(Ot(l),h)}]}const we={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function ve(t,e,n,r,s,i,a){const o={year:2===e.length?Nt(vt(e)):vt(e),month:zt.indexOf(n)+1,day:vt(r),hour:vt(s),minute:vt(i)};return a&&(o.second=vt(a)),t&&(o.weekday=t.length>3?jt.indexOf(t)+1:Ut.indexOf(t)+1),o}const Te=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function Oe(t){const[,e,n,r,s,i,a,o,u,l,c,h]=t,d=ve(e,s,r,n,i,a,o);let m;return m=u?we[u]:l?0:Et(c,h),[d,new tt(m)]}const Se=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,_e=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,Me=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function be(t){const[,e,n,r,s,i,a,o]=t;return[ve(e,s,r,n,i,a,o),tt.utcInstance]}function ke(t){const[,e,n,r,s,i,a,o]=t;return[ve(e,o,n,r,s,i,a),tt.utcInstance]}const De=Xt(/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,ae),Ne=Xt(/(\d{4})-?W(\d\d)(?:-?(\d))?/,ae),xe=Xt(/(\d{4})-?(\d{3})/,ae),Ee=Xt(ie),Ce=te((function(t,e){return[{year:he(t,e),month:he(t,e+1,1),day:he(t,e+2,1)},null,e+3]}),de,me,fe),Ie=te(oe,de,me,fe),Ve=te(ue,de,me,fe),Fe=te(de,me,fe);const Ze=te(de);const ze=Xt(/(\d{4})-(\d\d)-(\d\d)/,ce),Le=Xt(le),$e=te(de,me,fe);const je={weeks:{days:7,hours:168,minutes:10080,seconds:604800,milliseconds:6048e5},days:{hours:24,minutes:1440,seconds:86400,milliseconds:864e5},hours:{minutes:60,seconds:3600,milliseconds:36e5},minutes:{seconds:60,milliseconds:6e4},seconds:{milliseconds:1e3}},Ue={years:{quarters:4,months:12,weeks:52,days:365,hours:8760,minutes:525600,seconds:31536e3,milliseconds:31536e6},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:131040,seconds:7862400,milliseconds:78624e5},months:{weeks:4,days:30,hours:720,minutes:43200,seconds:2592e3,milliseconds:2592e6},...je},Ae=365.2425,qe=30.436875,We={years:{quarters:4,months:12,weeks:52.1775,days:Ae,hours:8765.82,minutes:525949.2,seconds:525949.2*60,milliseconds:525949.2*60*1e3},quarters:{months:3,weeks:13.044375,days:91.310625,hours:2191.455,minutes:131487.3,seconds:525949.2*60/4,milliseconds:7889237999.999999},months:{weeks:4.3481250000000005,days:qe,hours:730.485,minutes:43829.1,seconds:2629746,milliseconds:2629746e3},...je},He=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Je=He.slice(0).reverse();function Ye(t,e,n=!1){const r={values:n?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new Pe(r)}function Re(t,e,n,r,s){const i=t[s][n],a=e[n]/i,o=!(Math.sign(a)===Math.sign(r[s]))&&0!==r[s]&&Math.abs(a)<=1?function(t){return t<0?Math.floor(t):Math.ceil(t)}(a):Math.trunc(a);r[s]+=o,e[n]-=o*i}class Pe{constructor(t){const e="longterm"===t.conversionAccuracy||!1;let n=e?We:Ue;t.matrix&&(n=t.matrix),this.values=t.values,this.loc=t.loc||K.create(),this.conversionAccuracy=e?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(t,e){return Pe.fromObject({milliseconds:t},e)}static fromObject(t,e={}){if(null==t||"object"!=typeof t)throw new u("Duration.fromObject: argument expected to be an object, got "+(null===t?"null":typeof t));return new Pe({values:It(t,Pe.normalizeUnit),loc:K.fromObject(e),conversionAccuracy:e.conversionAccuracy,matrix:e.matrix})}static fromDurationLike(t){if(dt(t))return Pe.fromMillis(t);if(Pe.isDuration(t))return t;if("object"==typeof t)return Pe.fromObject(t);throw new u(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,e){const[n]=function(t){return ee(t,[pe,ge])}(t);return n?Pe.fromObject(n,e):Pe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,e){const[n]=function(t){return ee(t,[ye,Ze])}(t);return n?Pe.fromObject(n,e):Pe.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Duration is invalid");const n=t instanceof Qt?t:new Qt(t,e);if(ct.throwOnInvalid)throw new i(n);return new Pe({invalid:n})}static normalizeUnit(t){const e={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t?t.toLowerCase():t];if(!e)throw new o(t);return e}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,e={}){const n={...e,floor:!1!==e.round&&!1!==e.floor};return this.isValid?Bt.create(this.loc,n).formatDurationFromString(this,t):"Invalid Duration"}toHuman(t={}){const e=He.map((e=>{const n=this.values[e];return ht(n)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:e.slice(0,-1)}).format(n)})).filter((t=>t));return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(e)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return 0!==this.years&&(t+=this.years+"Y"),0===this.months&&0===this.quarters||(t+=this.months+3*this.quarters+"M"),0!==this.weeks&&(t+=this.weeks+"W"),0!==this.days&&(t+=this.days+"D"),0===this.hours&&0===this.minutes&&0===this.seconds&&0===this.milliseconds||(t+="T"),0!==this.hours&&(t+=this.hours+"H"),0!==this.minutes&&(t+=this.minutes+"M"),0===this.seconds&&0===this.milliseconds||(t+=St(this.seconds+this.milliseconds/1e3,3)+"S"),"P"===t&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const e=this.toMillis();if(e<0||e>=864e5)return null;t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const n=this.shiftTo("hours","minutes","seconds","milliseconds");let r="basic"===t.format?"hhmm":"hh:mm";t.suppressSeconds&&0===n.seconds&&0===n.milliseconds||(r+="basic"===t.format?"ss":":ss",t.suppressMilliseconds&&0===n.milliseconds||(r+=".SSS"));let s=n.toFormat(r);return t.includePrefix&&(s="T"+s),s}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const e=Pe.fromDurationLike(t),n={};for(const t of He)(pt(e.values,t)||pt(this.values,t))&&(n[t]=e.get(t)+this.get(t));return Ye(this,{values:n},!0)}minus(t){if(!this.isValid)return this;const e=Pe.fromDurationLike(t);return this.plus(e.negate())}mapUnits(t){if(!this.isValid)return this;const e={};for(const n of Object.keys(this.values))e[n]=Ct(t(this.values[n],n));return Ye(this,{values:e},!0)}get(t){return this[Pe.normalizeUnit(t)]}set(t){if(!this.isValid)return this;return Ye(this,{values:{...this.values,...It(t,Pe.normalizeUnit)}})}reconfigure({locale:t,numberingSystem:e,conversionAccuracy:n,matrix:r}={}){return Ye(this,{loc:this.loc.clone({locale:t,numberingSystem:e}),matrix:r,conversionAccuracy:n})}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return function(t,e){Je.reduce(((n,r)=>ht(e[r])?n:(n&&Re(t,e,n,e,r),r)),null)}(this.matrix,t),Ye(this,{values:t},!0)}rescale(){if(!this.isValid)return this;return Ye(this,{values:function(t){const e={};for(const[n,r]of Object.entries(t))0!==r&&(e[n]=r);return e}(this.normalize().shiftToAll().toObject())},!0)}shiftTo(...t){if(!this.isValid)return this;if(0===t.length)return this;t=t.map((t=>Pe.normalizeUnit(t)));const e={},n={},r=this.toObject();let s;for(const i of He)if(t.indexOf(i)>=0){s=i;let t=0;for(const e in n)t+=this.matrix[e][i]*n[e],n[e]=0;dt(r[i])&&(t+=r[i]);const a=Math.trunc(t);e[i]=a,n[i]=(1e3*t-1e3*a)/1e3;for(const t in r)He.indexOf(t)>He.indexOf(i)&&Re(this.matrix,r,t,e,i)}else dt(r[i])&&(n[i]=r[i]);for(const t in n)0!==n[t]&&(e[s]+=t===s?n[t]:n[t]/this.matrix[s][t]);return Ye(this,{values:e},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;const t={};for(const e of Object.keys(this.values))t[e]=0===this.values[e]?0:-this.values[e];return Ye(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid)return!1;if(!this.loc.equals(t.loc))return!1;for(const r of He)if(e=this.values[r],n=t.values[r],!(void 0===e||0===e?void 0===n||0===n:e===n))return!1;var e,n;return!0}}const Ge="Invalid Interval";class Be{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the Interval is invalid");const n=t instanceof Qt?t:new Qt(t,e);if(ct.throwOnInvalid)throw new s(n);return new Be({invalid:n})}static fromDateTimes(t,e){const n=tr(t),r=tr(e),s=function(t,e){return t&&t.isValid?e&&e.isValid?e<t?Be.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null:Be.invalid("missing or invalid end"):Be.invalid("missing or invalid start")}(n,r);return null==s?new Be({start:n,end:r}):s}static after(t,e){const n=Pe.fromDurationLike(e),r=tr(t);return Be.fromDateTimes(r,r.plus(n))}static before(t,e){const n=Pe.fromDurationLike(e),r=tr(t);return Be.fromDateTimes(r.minus(n),r)}static fromISO(t,e){const[n,r]=(t||"").split("/",2);if(n&&r){let t,s,i,a;try{t=Xn.fromISO(n,e),s=t.isValid}catch(r){s=!1}try{i=Xn.fromISO(r,e),a=i.isValid}catch(r){a=!1}if(s&&a)return Be.fromDateTimes(t,i);if(s){const n=Pe.fromISO(r,e);if(n.isValid)return Be.after(t,n)}else if(a){const t=Pe.fromISO(n,e);if(t.isValid)return Be.before(i,t)}}return Be.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return null===this.invalidReason}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const e=this.start.startOf(t),n=this.end.startOf(t);return Math.floor(n.diff(e,t).get(t))+(n.valueOf()!==this.end.valueOf())}hasSame(t){return!!this.isValid&&(this.isEmpty()||this.e.minus(1).hasSame(this.s,t))}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return!!this.isValid&&this.s>t}isBefore(t){return!!this.isValid&&this.e<=t}contains(t){return!!this.isValid&&(this.s<=t&&this.e>t)}set({start:t,end:e}={}){return this.isValid?Be.fromDateTimes(t||this.s,e||this.e):this}splitAt(...t){if(!this.isValid)return[];const e=t.map(tr).filter((t=>this.contains(t))).sort(),n=[];let{s:r}=this,s=0;for(;r<this.e;){const t=e[s]||this.e,i=+t>+this.e?this.e:t;n.push(Be.fromDateTimes(r,i)),r=i,s+=1}return n}splitBy(t){const e=Pe.fromDurationLike(t);if(!this.isValid||!e.isValid||0===e.as("milliseconds"))return[];let n,{s:r}=this,s=1;const i=[];for(;r<this.e;){const t=this.start.plus(e.mapUnits((t=>t*s)));n=+t>+this.e?this.e:t,i.push(Be.fromDateTimes(r,n)),r=n,s+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return!!this.isValid&&+this.e==+t.s}abutsEnd(t){return!!this.isValid&&+t.e==+this.s}engulfs(t){return!!this.isValid&&(this.s<=t.s&&this.e>=t.e)}equals(t){return!(!this.isValid||!t.isValid)&&(this.s.equals(t.s)&&this.e.equals(t.e))}intersection(t){if(!this.isValid)return this;const e=this.s>t.s?this.s:t.s,n=this.e<t.e?this.e:t.e;return e>=n?null:Be.fromDateTimes(e,n)}union(t){if(!this.isValid)return this;const e=this.s<t.s?this.s:t.s,n=this.e>t.e?this.e:t.e;return Be.fromDateTimes(e,n)}static merge(t){const[e,n]=t.sort(((t,e)=>t.s-e.s)).reduce((([t,e],n)=>e?e.overlaps(n)||e.abutsStart(n)?[t,e.union(n)]:[t.concat([e]),n]:[t,n]),[[],null]);return n&&e.push(n),e}static xor(t){let e=null,n=0;const r=[],s=t.map((t=>[{time:t.s,type:"s"},{time:t.e,type:"e"}])),i=Array.prototype.concat(...s).sort(((t,e)=>t.time-e.time));for(const t of i)n+="s"===t.type?1:-1,1===n?e=t.time:(e&&+e!=+t.time&&r.push(Be.fromDateTimes(e,t.time)),e=null);return Be.merge(r)}difference(...t){return Be.xor([this].concat(t)).map((t=>this.intersection(t))).filter((t=>t&&!t.isEmpty()))}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Ge}toLocaleString(t=m,e={}){return this.isValid?Bt.create(this.s.loc.clone(e),t).formatInterval(this):Ge}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ge}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ge}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ge}toFormat(t,{separator:e=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${e}${this.e.toFormat(t)}`:Ge}toDuration(t,e){return this.isValid?this.e.diff(this.s,t,e):Pe.invalid(this.invalidReason)}mapEndpoints(t){return Be.fromDateTimes(t(this.s),t(this.e))}}class Qe{static hasDST(t=ct.defaultZone){const e=Xn.now().setZone(t).set({month:12});return!t.isUniversal&&e.offset!==e.set({month:6}).offset}static isValidIANAZone(t){return A.isValidZone(t)}static normalizeZone(t){return nt(t,ct.defaultZone)}static months(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||K.create(e,n,s)).months(t)}static monthsFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null,outputCalendar:s="gregory"}={}){return(r||K.create(e,n,s)).months(t,!0)}static weekdays(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||K.create(e,n,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:e=null,numberingSystem:n=null,locObj:r=null}={}){return(r||K.create(e,n,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return K.create(t).meridiems()}static eras(t="short",{locale:e=null}={}){return K.create(e,null,"gregory").eras(t)}static features(){return{relative:ft()}}}function Ke(t,e){const n=t=>t.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(e)-n(t);return Math.floor(Pe.fromMillis(r).as("days"))}function Xe(t,e,n,r){let[s,i,a,o]=function(t,e,n){const r=[["years",(t,e)=>e.year-t.year],["quarters",(t,e)=>e.quarter-t.quarter+4*(e.year-t.year)],["months",(t,e)=>e.month-t.month+12*(e.year-t.year)],["weeks",(t,e)=>{const n=Ke(t,e);return(n-n%7)/7}],["days",Ke]],s={},i=t;let a,o;for(const[u,l]of r)n.indexOf(u)>=0&&(a=u,s[u]=l(t,e),o=i.plus(s),o>e?(s[u]--,t=i.plus(s)):t=o);return[t,s,o,a]}(t,e,n);const u=e-s,l=n.filter((t=>["hours","minutes","seconds","milliseconds"].indexOf(t)>=0));0===l.length&&(a<e&&(a=s.plus({[o]:1})),a!==s&&(i[o]=(i[o]||0)+u/(a-s)));const c=Pe.fromObject(i,r);return l.length>0?Pe.fromMillis(u,r).shiftTo(...l).plus(c):c}const tn={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},en={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},nn=tn.hanidec.replace(/[\[|\]]/g,"").split("");function rn({numberingSystem:t},e=""){return new RegExp(`${tn[t||"latn"]}${e}`)}function sn(t,e=(t=>t)){return{regex:t,deser:([t])=>e(function(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let n=0;n<t.length;n++){const r=t.charCodeAt(n);if(-1!==t[n].search(tn.hanidec))e+=nn.indexOf(t[n]);else for(const t in en){const[n,s]=en[t];r>=n&&r<=s&&(e+=r-n)}}return parseInt(e,10)}return e}(t))}}const an=`[ ${String.fromCharCode(160)}]`,on=new RegExp(an,"g");function un(t){return t.replace(/\./g,"\\.?").replace(on,an)}function ln(t){return t.replace(/\./g,"").replace(on," ").toLowerCase()}function cn(t,e){return null===t?null:{regex:RegExp(t.map(un).join("|")),deser:([n])=>t.findIndex((t=>ln(n)===ln(t)))+e}}function hn(t,e){return{regex:t,deser:([,t,e])=>Et(t,e),groups:e}}function dn(t){return{regex:t,deser:([t])=>t}}const mn={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};let fn=null;function yn(t,e){return Array.prototype.concat(...t.map((t=>function(t,e){if(t.literal)return t;const n=gn(Bt.macroTokenToFormatOpts(t.val),e);return null==n||n.includes(void 0)?t:n}(t,e))))}function pn(t,e,n){const r=yn(Bt.parseFormat(n),t),s=r.map((e=>function(t,e){const n=rn(e),r=rn(e,"{2}"),s=rn(e,"{3}"),i=rn(e,"{4}"),a=rn(e,"{6}"),o=rn(e,"{1,2}"),u=rn(e,"{1,3}"),l=rn(e,"{1,6}"),c=rn(e,"{1,9}"),h=rn(e,"{2,4}"),d=rn(e,"{4,6}"),m=t=>{return{regex:RegExp((e=t.val,e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"))),deser:([t])=>t,literal:!0};var e},f=(f=>{if(t.literal)return m(f);switch(f.val){case"G":return cn(e.eras("short",!1),0);case"GG":return cn(e.eras("long",!1),0);case"y":return sn(l);case"yy":case"kk":return sn(h,Nt);case"yyyy":case"kkkk":return sn(i);case"yyyyy":return sn(d);case"yyyyyy":return sn(a);case"M":case"L":case"d":case"H":case"h":case"m":case"q":case"s":case"W":return sn(o);case"MM":case"LL":case"dd":case"HH":case"hh":case"mm":case"qq":case"ss":case"WW":return sn(r);case"MMM":return cn(e.months("short",!0,!1),1);case"MMMM":return cn(e.months("long",!0,!1),1);case"LLL":return cn(e.months("short",!1,!1),1);case"LLLL":return cn(e.months("long",!1,!1),1);case"o":case"S":return sn(u);case"ooo":case"SSS":return sn(s);case"u":return dn(c);case"uu":return dn(o);case"uuu":case"E":case"c":return sn(n);case"a":return cn(e.meridiems(),0);case"EEE":return cn(e.weekdays("short",!1,!1),1);case"EEEE":return cn(e.weekdays("long",!1,!1),1);case"ccc":return cn(e.weekdays("short",!0,!1),1);case"cccc":return cn(e.weekdays("long",!0,!1),1);case"Z":case"ZZ":return hn(new RegExp(`([+-]${o.source})(?::(${r.source}))?`),2);case"ZZZ":return hn(new RegExp(`([+-]${o.source})(${r.source})?`),2);case"z":return dn(/[a-z_+-/]{1,256}?/i);case" ":return dn(/[^\S\n\r]/);default:return m(f)}})(t)||{invalidReason:"missing Intl.DateTimeFormat.formatToParts support"};return f.token=t,f}(e,t))),i=s.find((t=>t.invalidReason));if(i)return{input:e,tokens:r,invalidReason:i.invalidReason};{const[t,n]=function(t){return[`^${t.map((t=>t.regex)).reduce(((t,e)=>`${t}(${e.source})`),"")}$`,t]}(s),i=RegExp(t,"i"),[o,u]=function(t,e,n){const r=t.match(e);if(r){const t={};let e=1;for(const s in n)if(pt(n,s)){const i=n[s],a=i.groups?i.groups+1:1;!i.literal&&i.token&&(t[i.token.val[0]]=i.deser(r.slice(e,e+a))),e+=a}return[r,t]}return[r,{}]}(e,i,n),[l,c,h]=u?function(t){let e,n=null;return ht(t.z)||(n=A.create(t.z)),ht(t.Z)||(n||(n=new tt(t.Z)),e=t.Z),ht(t.q)||(t.M=3*(t.q-1)+1),ht(t.h)||(t.h<12&&1===t.a?t.h+=12:12===t.h&&0===t.a&&(t.h=0)),0===t.G&&t.y&&(t.y=-t.y),ht(t.u)||(t.S=Ot(t.u)),[Object.keys(t).reduce(((e,n)=>{const r=(t=>{switch(t){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}})(n);return r&&(e[r]=t[n]),e}),{}),n,e]}(u):[null,null,void 0];if(pt(u,"a")&&pt(u,"H"))throw new a("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:r,regex:i,rawMatches:o,matches:u,result:l,zone:c,specificOffset:h}}}function gn(t,e){if(!t)return null;return Bt.create(e,t).formatDateTimeParts((fn||(fn=Xn.fromMillis(1555555555555)),fn)).map((e=>function(t,e){const{type:n,value:r}=t;if("literal"===n){const t=/^\s+$/.test(r);return{literal:!t,val:t?" ":r}}const s=e[n];let i=mn[n];if("object"==typeof i&&(i=i[s]),i)return{literal:!1,val:i}}(e,t)))}const wn=[0,31,59,90,120,151,181,212,243,273,304,334],vn=[0,31,60,91,121,152,182,213,244,274,305,335];function Tn(t,e){return new Qt("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function On(t,e,n){const r=new Date(Date.UTC(t,e-1,n));t<100&&t>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return 0===s?7:s}function Sn(t,e,n){return n+(_t(t)?vn:wn)[e-1]}function _n(t,e){const n=_t(t)?vn:wn,r=n.findIndex((t=>t<e));return{month:r+1,day:e-n[r]}}function Mn(t){const{year:e,month:n,day:r}=t,s=Sn(e,n,r),i=On(e,n,r);let a,o=Math.floor((s-i+10)/7);return o<1?(a=e-1,o=Dt(a)):o>Dt(e)?(a=e+1,o=1):a=e,{weekYear:a,weekNumber:o,weekday:i,...Ft(t)}}function bn(t){const{weekYear:e,weekNumber:n,weekday:r}=t,s=On(e,1,4),i=Mt(e);let a,o=7*n+r-s-3;o<1?(a=e-1,o+=Mt(a)):o>i?(a=e+1,o-=Mt(e)):a=e;const{month:u,day:l}=_n(a,o);return{year:a,month:u,day:l,...Ft(t)}}function kn(t){const{year:e,month:n,day:r}=t;return{year:e,ordinal:Sn(e,n,r),...Ft(t)}}function Dn(t){const{year:e,ordinal:n}=t,{month:r,day:s}=_n(e,n);return{year:e,month:r,day:s,...Ft(t)}}function Nn(t){const e=mt(t.year),n=gt(t.month,1,12),r=gt(t.day,1,bt(t.year,t.month));return e?n?!r&&Tn("day",t.day):Tn("month",t.month):Tn("year",t.year)}function xn(t){const{hour:e,minute:n,second:r,millisecond:s}=t,i=gt(e,0,23)||24===e&&0===n&&0===r&&0===s,a=gt(n,0,59),o=gt(r,0,59),u=gt(s,0,999);return i?a?o?!u&&Tn("millisecond",s):Tn("second",r):Tn("minute",n):Tn("hour",e)}const En="Invalid DateTime",Cn=864e13;function In(t){return new Qt("unsupported zone",`the zone "${t.name}" is not supported`)}function Vn(t){return null===t.weekData&&(t.weekData=Mn(t.c)),t.weekData}function Fn(t,e){const n={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new Xn({...n,...e,old:n})}function Zn(t,e,n){let r=t-60*e*1e3;const s=n.offset(r);if(e===s)return[r,e];r-=60*(s-e)*1e3;const i=n.offset(r);return s===i?[r,s]:[t-60*Math.min(s,i)*1e3,Math.max(s,i)]}function zn(t,e){const n=new Date(t+=60*e*1e3);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function Ln(t,e,n){return Zn(kt(t),e,n)}function $n(t,e){const n=t.o,r=t.c.year+Math.trunc(e.years),s=t.c.month+Math.trunc(e.months)+3*Math.trunc(e.quarters),i={...t.c,year:r,month:s,day:Math.min(t.c.day,bt(r,s))+Math.trunc(e.days)+7*Math.trunc(e.weeks)},a=Pe.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),o=kt(i);let[u,l]=Zn(o,n,t.zone);return 0!==a&&(u+=a,l=t.zone.offset(u)),{ts:u,o:l}}function jn(t,e,n,r,s,i){const{setZone:a,zone:o}=n;if(t&&0!==Object.keys(t).length||e){const r=e||o,s=Xn.fromObject(t,{...n,zone:r,specificOffset:i});return a?s:s.setZone(o)}return Xn.invalid(new Qt("unparsable",`the input "${s}" can't be parsed as ${r}`))}function Un(t,e,n=!0){return t.isValid?Bt.create(K.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(t,e):null}function An(t,e){const n=t.c.year>9999||t.c.year<0;let r="";return n&&t.c.year>=0&&(r+="+"),r+=wt(t.c.year,n?6:4),e?(r+="-",r+=wt(t.c.month),r+="-",r+=wt(t.c.day)):(r+=wt(t.c.month),r+=wt(t.c.day)),r}function qn(t,e,n,r,s,i){let a=wt(t.c.hour);return e?(a+=":",a+=wt(t.c.minute),0===t.c.second&&n||(a+=":")):a+=wt(t.c.minute),0===t.c.second&&n||(a+=wt(t.c.second),0===t.c.millisecond&&r||(a+=".",a+=wt(t.c.millisecond,3))),s&&(t.isOffsetFixed&&0===t.offset&&!i?a+="Z":t.o<0?(a+="-",a+=wt(Math.trunc(-t.o/60)),a+=":",a+=wt(Math.trunc(-t.o%60))):(a+="+",a+=wt(Math.trunc(t.o/60)),a+=":",a+=wt(Math.trunc(t.o%60)))),i&&(a+="["+t.zone.ianaName+"]"),a}const Wn={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Hn={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},Jn={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Yn=["year","month","day","hour","minute","second","millisecond"],Rn=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],Pn=["year","ordinal","hour","minute","second","millisecond"];function Gn(t){const e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new o(t);return e}function Bn(t,e){const n=nt(e.zone,ct.defaultZone),r=K.fromObject(e),s=ct.now();let i,a;if(ht(t.year))i=s;else{for(const e of Yn)ht(t[e])&&(t[e]=Wn[e]);const e=Nn(t)||xn(t);if(e)return Xn.invalid(e);const r=n.offset(s);[i,a]=Ln(t,r,n)}return new Xn({ts:i,zone:n,loc:r,o:a})}function Qn(t,e,n){const r=!!ht(n.round)||n.round,s=(t,s)=>{t=St(t,r||n.calendary?0:2,!0);return e.loc.clone(n).relFormatter(n).format(t,s)},i=r=>n.calendary?e.hasSame(t,r)?0:e.startOf(r).diff(t.startOf(r),r).get(r):e.diff(t,r).get(r);if(n.unit)return s(i(n.unit),n.unit);for(const t of n.units){const e=i(t);if(Math.abs(e)>=1)return s(e,t)}return s(t>e?-0:0,n.units[n.units.length-1])}function Kn(t){let e,n={};return t.length>0&&"object"==typeof t[t.length-1]?(n=t[t.length-1],e=Array.from(t).slice(0,t.length-1)):e=Array.from(t),[n,e]}class Xn{constructor(t){const e=t.zone||ct.defaultZone;let n=t.invalid||(Number.isNaN(t.ts)?new Qt("invalid input"):null)||(e.isValid?null:In(e));this.ts=ht(t.ts)?ct.now():t.ts;let r=null,s=null;if(!n){if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(e))[r,s]=[t.old.c,t.old.o];else{const t=e.offset(this.ts);r=zn(this.ts,t),n=Number.isNaN(r.year)?new Qt("invalid input"):null,r=n?null:r,s=n?null:t}}this._zone=e,this.loc=t.loc||K.create(),this.invalid=n,this.weekData=null,this.c=r,this.o=s,this.isLuxonDateTime=!0}static now(){return new Xn({})}static local(){const[t,e]=Kn(arguments),[n,r,s,i,a,o,u]=e;return Bn({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},t)}static utc(){const[t,e]=Kn(arguments),[n,r,s,i,a,o,u]=e;return t.zone=tt.utcInstance,Bn({year:n,month:r,day:s,hour:i,minute:a,second:o,millisecond:u},t)}static fromJSDate(t,e={}){const n=(r=t,"[object Date]"===Object.prototype.toString.call(r)?t.valueOf():NaN);var r;if(Number.isNaN(n))return Xn.invalid("invalid input");const s=nt(e.zone,ct.defaultZone);return s.isValid?new Xn({ts:n,zone:s,loc:K.fromObject(e)}):Xn.invalid(In(s))}static fromMillis(t,e={}){if(dt(t))return t<-Cn||t>Cn?Xn.invalid("Timestamp out of range"):new Xn({ts:t,zone:nt(e.zone,ct.defaultZone),loc:K.fromObject(e)});throw new u(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,e={}){if(dt(t))return new Xn({ts:1e3*t,zone:nt(e.zone,ct.defaultZone),loc:K.fromObject(e)});throw new u("fromSeconds requires a numerical input")}static fromObject(t,e={}){t=t||{};const n=nt(e.zone,ct.defaultZone);if(!n.isValid)return Xn.invalid(In(n));const r=ct.now(),s=ht(e.specificOffset)?n.offset(r):e.specificOffset,i=It(t,Gn),o=!ht(i.ordinal),u=!ht(i.year),l=!ht(i.month)||!ht(i.day),c=u||l,h=i.weekYear||i.weekNumber,d=K.fromObject(e);if((c||o)&&h)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&o)throw new a("Can't mix ordinal dates with month/day");const m=h||i.weekday&&!c;let f,y,p=zn(r,s);m?(f=Rn,y=Hn,p=Mn(p)):o?(f=Pn,y=Jn,p=kn(p)):(f=Yn,y=Wn);let g=!1;for(const t of f){ht(i[t])?i[t]=g?y[t]:p[t]:g=!0}const w=m?function(t){const e=mt(t.weekYear),n=gt(t.weekNumber,1,Dt(t.weekYear)),r=gt(t.weekday,1,7);return e?n?!r&&Tn("weekday",t.weekday):Tn("week",t.week):Tn("weekYear",t.weekYear)}(i):o?function(t){const e=mt(t.year),n=gt(t.ordinal,1,Mt(t.year));return e?!n&&Tn("ordinal",t.ordinal):Tn("year",t.year)}(i):Nn(i),v=w||xn(i);if(v)return Xn.invalid(v);const T=m?bn(i):o?Dn(i):i,[O,S]=Ln(T,s,n),_=new Xn({ts:O,zone:n,o:S,loc:d});return i.weekday&&c&&t.weekday!==_.weekday?Xn.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${_.toISO()}`):_}static fromISO(t,e={}){const[n,r]=function(t){return ee(t,[De,Ce],[Ne,Ie],[xe,Ve],[Ee,Fe])}(t);return jn(n,r,e,"ISO 8601",t)}static fromRFC2822(t,e={}){const[n,r]=function(t){return ee(function(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}(t),[Te,Oe])}(t);return jn(n,r,e,"RFC 2822",t)}static fromHTTP(t,e={}){const[n,r]=function(t){return ee(t,[Se,be],[_e,be],[Me,ke])}(t);return jn(n,r,e,"HTTP",e)}static fromFormat(t,e,n={}){if(ht(t)||ht(e))throw new u("fromFormat requires an input string and a format");const{locale:r=null,numberingSystem:s=null}=n,i=K.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),[a,o,l,c]=function(t,e,n){const{result:r,zone:s,specificOffset:i,invalidReason:a}=pn(t,e,n);return[r,s,i,a]}(i,t,e);return c?Xn.invalid(c):jn(a,o,n,`format ${e}`,t,l)}static fromString(t,e,n={}){return Xn.fromFormat(t,e,n)}static fromSQL(t,e={}){const[n,r]=function(t){return ee(t,[ze,Ce],[Le,$e])}(t);return jn(n,r,e,"SQL",t)}static invalid(t,e=null){if(!t)throw new u("need to specify a reason the DateTime is invalid");const n=t instanceof Qt?t:new Qt(t,e);if(ct.throwOnInvalid)throw new r(n);return new Xn({invalid:n})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,e={}){const n=gn(t,K.fromObject(e));return n?n.map((t=>t?t.val:null)).join(""):null}static expandFormat(t,e={}){return yn(Bt.parseFormat(t),K.fromObject(e)).map((t=>t.val)).join("")}get(t){return this[t]}get isValid(){return null===this.invalid}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Vn(this).weekYear:NaN}get weekNumber(){return this.isValid?Vn(this).weekNumber:NaN}get weekday(){return this.isValid?Vn(this).weekday:NaN}get ordinal(){return this.isValid?kn(this.c).ordinal:NaN}get monthShort(){return this.isValid?Qe.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Qe.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Qe.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Qe.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return!this.isOffsetFixed&&(this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset)}get isInLeapYear(){return _t(this.year)}get daysInMonth(){return bt(this.year,this.month)}get daysInYear(){return this.isValid?Mt(this.year):NaN}get weeksInWeekYear(){return this.isValid?Dt(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:e,numberingSystem:n,calendar:r}=Bt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:e,numberingSystem:n,outputCalendar:r}}toUTC(t=0,e={}){return this.setZone(tt.instance(t),e)}toLocal(){return this.setZone(ct.defaultZone)}setZone(t,{keepLocalTime:e=!1,keepCalendarTime:n=!1}={}){if((t=nt(t,ct.defaultZone)).equals(this.zone))return this;if(t.isValid){let r=this.ts;if(e||n){const e=t.offset(this.ts),n=this.toObject();[r]=Ln(n,e,t)}return Fn(this,{ts:r,zone:t})}return Xn.invalid(In(t))}reconfigure({locale:t,numberingSystem:e,outputCalendar:n}={}){return Fn(this,{loc:this.loc.clone({locale:t,numberingSystem:e,outputCalendar:n})})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const e=It(t,Gn),n=!ht(e.weekYear)||!ht(e.weekNumber)||!ht(e.weekday),r=!ht(e.ordinal),s=!ht(e.year),i=!ht(e.month)||!ht(e.day),o=s||i,u=e.weekYear||e.weekNumber;if((o||r)&&u)throw new a("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&r)throw new a("Can't mix ordinal dates with month/day");let l;n?l=bn({...Mn(this.c),...e}):ht(e.ordinal)?(l={...this.toObject(),...e},ht(e.day)&&(l.day=Math.min(bt(l.year,l.month),l.day))):l=Dn({...kn(this.c),...e});const[c,h]=Ln(l,this.o,this.zone);return Fn(this,{ts:c,o:h})}plus(t){if(!this.isValid)return this;return Fn(this,$n(this,Pe.fromDurationLike(t)))}minus(t){if(!this.isValid)return this;return Fn(this,$n(this,Pe.fromDurationLike(t).negate()))}startOf(t){if(!this.isValid)return this;const e={},n=Pe.normalizeUnit(t);switch(n){case"years":e.month=1;case"quarters":case"months":e.day=1;case"weeks":case"days":e.hour=0;case"hours":e.minute=0;case"minutes":e.second=0;case"seconds":e.millisecond=0}if("weeks"===n&&(e.weekday=1),"quarters"===n){const t=Math.ceil(this.month/3);e.month=3*(t-1)+1}return this.set(e)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,e={}){return this.isValid?Bt.create(this.loc.redefaultToEN(e)).formatDateTimeFromString(this,t):En}toLocaleString(t=m,e={}){return this.isValid?Bt.create(this.loc.clone(e),t).formatDateTime(this):En}toLocaleParts(t={}){return this.isValid?Bt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:e=!1,suppressMilliseconds:n=!1,includeOffset:r=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i="extended"===t;let a=An(this,i);return a+="T",a+=qn(this,i,e,n,r,s),a}toISODate({format:t="extended"}={}){return this.isValid?An(this,"extended"===t):null}toISOWeekDate(){return Un(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:e=!1,includeOffset:n=!0,includePrefix:r=!1,extendedZone:s=!1,format:i="extended"}={}){if(!this.isValid)return null;return(r?"T":"")+qn(this,"extended"===i,e,t,n,s)}toRFC2822(){return Un(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Un(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?An(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:e=!1,includeOffsetSpace:n=!0}={}){let r="HH:mm:ss.SSS";return(e||t)&&(n&&(r+=" "),e?r+="z":t&&(r+="ZZ")),Un(this,r,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():En}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const e={...this.c};return t.includeConfig&&(e.outputCalendar=this.outputCalendar,e.numberingSystem=this.loc.numberingSystem,e.locale=this.loc.locale),e}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,e="milliseconds",n={}){if(!this.isValid||!t.isValid)return Pe.invalid("created by diffing an invalid DateTime");const r={locale:this.locale,numberingSystem:this.numberingSystem,...n},s=(o=e,Array.isArray(o)?o:[o]).map(Pe.normalizeUnit),i=t.valueOf()>this.valueOf(),a=Xe(i?this:t,i?t:this,s,r);var o;return i?a.negate():a}diffNow(t="milliseconds",e={}){return this.diff(Xn.now(),t,e)}until(t){return this.isValid?Be.fromDateTimes(this,t):this}hasSame(t,e){if(!this.isValid)return!1;const n=t.valueOf(),r=this.setZone(t.zone,{keepLocalTime:!0});return r.startOf(e)<=n&&n<=r.endOf(e)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const e=t.base||Xn.fromObject({},{zone:this.zone}),n=t.padding?this<e?-t.padding:t.padding:0;let r=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(r=t.unit,s=void 0),Qn(e,this.plus(n),{...t,numeric:"always",units:r,unit:s})}toRelativeCalendar(t={}){return this.isValid?Qn(t.base||Xn.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Xn.isDateTime))throw new u("min requires all arguments be DateTimes");return yt(t,(t=>t.valueOf()),Math.min)}static max(...t){if(!t.every(Xn.isDateTime))throw new u("max requires all arguments be DateTimes");return yt(t,(t=>t.valueOf()),Math.max)}static fromFormatExplain(t,e,n={}){const{locale:r=null,numberingSystem:s=null}=n;return pn(K.fromOpts({locale:r,numberingSystem:s,defaultToEN:!0}),t,e)}static fromStringExplain(t,e,n={}){return Xn.fromFormatExplain(t,e,n)}static get DATE_SHORT(){return m}static get DATE_MED(){return f}static get DATE_MED_WITH_WEEKDAY(){return y}static get DATE_FULL(){return p}static get DATE_HUGE(){return g}static get TIME_SIMPLE(){return w}static get TIME_WITH_SECONDS(){return v}static get TIME_WITH_SHORT_OFFSET(){return T}static get TIME_WITH_LONG_OFFSET(){return O}static get TIME_24_SIMPLE(){return S}static get TIME_24_WITH_SECONDS(){return _}static get TIME_24_WITH_SHORT_OFFSET(){return M}static get TIME_24_WITH_LONG_OFFSET(){return b}static get DATETIME_SHORT(){return k}static get DATETIME_SHORT_WITH_SECONDS(){return D}static get DATETIME_MED(){return N}static get DATETIME_MED_WITH_SECONDS(){return x}static get DATETIME_MED_WITH_WEEKDAY(){return E}static get DATETIME_FULL(){return C}static get DATETIME_FULL_WITH_SECONDS(){return I}static get DATETIME_HUGE(){return V}static get DATETIME_HUGE_WITH_SECONDS(){return F}}function tr(t){if(Xn.isDateTime(t))return t;if(t&&t.valueOf&&dt(t.valueOf()))return Xn.fromJSDate(t);if(t&&"object"==typeof t)return Xn.fromObject(t);throw new u(`Unknown datetime argument: ${t}, of type ${typeof t}`)}e.DateTime=Xn,e.Duration=Pe,e.FixedOffsetZone=tt,e.IANAZone=A,e.Info=Qe,e.Interval=Be,e.InvalidZone=et,e.Settings=ct,e.SystemZone=L,e.VERSION="3.3.0",e.Zone=Z}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1571],{71571:function(e,t){!function(e){"use strict";var t=function(){return t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};function r(e,t,r,n){function o(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,a){function i(e){try{s(n.next(e))}catch(e){a(e)}}function u(e){try{s(n.throw(e))}catch(e){a(e)}}function s(e){e.done?r(e.value):o(e.value).then(i,u)}s((n=n.apply(e,t||[])).next())}))}function n(e,t){var r,n,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function u(e){return function(t){return s([e,t])}}function s(a){if(r)throw new TypeError("Generator is already executing.");for(;i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function o(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function a(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,a=r.call(e),i=[];try{for(;(void 0===t||t-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(o)throw o.error}}return i}function i(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}var u={UI_GET_DATA:"ui-get-data",UI_GET_ACTIVE_TAB_INFO:"ui-get-active-tab-info",UI_SUBSCRIBE_TO_CHANGES:"ui-subscribe-to-changes",UI_UNSUBSCRIBE_FROM_CHANGES:"ui-unsubscribe-from-changes",UI_CHANGE_SETTINGS:"ui-change-settings",UI_SET_THEME:"ui-set-theme",UI_SET_SHORTCUT:"ui-set-shortcut",UI_TOGGLE_URL:"ui-toggle-url",UI_MARK_NEWS_AS_READ:"ui-mark-news-as-read",UI_LOAD_CONFIG:"ui-load-config",UI_APPLY_DEV_DYNAMIC_THEME_FIXES:"ui-apply-dev-dynamic-theme-fixes",UI_RESET_DEV_DYNAMIC_THEME_FIXES:"ui-reset-dev-dynamic-theme-fixes",UI_APPLY_DEV_INVERSION_FIXES:"ui-apply-dev-inversion-fixes",UI_RESET_DEV_INVERSION_FIXES:"ui-reset-dev-inversion-fixes",UI_APPLY_DEV_STATIC_THEMES:"ui-apply-dev-static-themes",UI_RESET_DEV_STATIC_THEMES:"ui-reset-dev-static-themes",UI_SAVE_FILE:"ui-save-file",UI_REQUEST_EXPORT_CSS:"ui-request-export-css",BG_CHANGES:"bg-changes",BG_ADD_CSS_FILTER:"bg-add-css-filter",BG_ADD_STATIC_THEME:"bg-add-static-theme",BG_ADD_SVG_FILTER:"bg-add-svg-filter",BG_ADD_DYNAMIC_THEME:"bg-add-dynamic-theme",BG_EXPORT_CSS:"bg-export-css",BG_UNSUPPORTED_SENDER:"bg-unsupported-sender",BG_CLEAN_UP:"bg-clean-up",BG_RELOAD:"bg-reload",BG_FETCH_RESPONSE:"bg-fetch-response",BG_UI_UPDATE:"bg-ui-update",BG_CSS_UPDATE:"bg-css-update",CS_COLOR_SCHEME_CHANGE:"cs-color-scheme-change",CS_FRAME_CONNECT:"cs-frame-connect",CS_FRAME_FORGET:"cs-frame-forget",CS_FRAME_FREEZE:"cs-frame-freeze",CS_FRAME_RESUME:"cs-frame-resume",CS_EXPORT_CSS_RESPONSE:"cs-export-css-response",CS_FETCH:"cs-fetch"},s="undefined"==typeof navigator?"some useragent":navigator.userAgent.toLowerCase(),c="undefined"==typeof navigator?"some platform":navigator.platform.toLowerCase(),l=s.includes("chrome")||s.includes("chromium"),d=s.includes("thunderbird"),f=s.includes("firefox")||s.includes("librewolf")||d;s.includes("vivaldi"),s.includes("yabrowser"),s.includes("opr")||s.includes("opera"),s.includes("edg");var h=s.includes("safari")&&!l,p=c.startsWith("win"),v=c.startsWith("mac");s.includes("mobile");var m,g="function"==typeof ShadowRoot,b="function"==typeof MediaQueryList&&"function"==typeof MediaQueryList.prototype.addEventListener;(m=s.match(/chrom[e|ium]\/([^ ]+)/))&&m[1]&&m[1];var y=function(){try{return document.querySelector(":defined"),!0}catch(e){return!1}}();function S(e,t,o){return r(this,void 0,void 0,(function(){var r;return n(this,(function(n){switch(n.label){case 0:return[4,fetch(e,{cache:"force-cache",credentials:"omit",referrer:o})];case 1:if(r=n.sent(),f&&"text/css"===t&&e.startsWith("moz-extension://")&&e.endsWith(".css"))return[2,r];if(t&&!r.headers.get("Content-Type").startsWith(t))throw new Error("Mime type mismatch when loading "+e);if(!r.ok)throw new Error("Unable to load "+e+" "+r.status+" "+r.statusText);return[2,r]}}))}))}function _(e,t){return r(this,void 0,void 0,(function(){return n(this,(function(r){switch(r.label){case 0:return[4,S(e,t)];case 1:return[4,k(r.sent())];case 2:return[2,r.sent()]}}))}))}function k(e){return r(this,void 0,void 0,(function(){var t;return n(this,(function(r){switch(r.label){case 0:return[4,e.blob()];case 1:return t=r.sent(),[4,new Promise((function(e){var r=new FileReader;r.onloadend=function(){return e(r.result)},r.readAsDataURL(t)}))];case 2:return[2,r.sent()]}}))}))}"undefined"!=typeof globalThis&&globalThis.chrome&&globalThis.chrome.runtime&&globalThis.chrome.runtime.getManifest&&globalThis.chrome.runtime.getManifest().manifest_version;var w=function(e){return r(void 0,void 0,void 0,(function(){return n(this,(function(t){return[2,Promise.reject(new Error(["Embedded Dark Reader cannot access a cross-origin resource",e,"Overview your URLs and CORS policies or use","`DarkReader.setFetchMethod(fetch: (url) => Promise<Response>))`.","See if using `DarkReader.setFetchMethod(window.fetch)`","before `DarkReader.enable()` works."].join(" ")))]}))}))},E=w;function C(e){E=e||w}function x(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return[4,E(e)];case 1:return[2,t.sent()]}}))}))}function T(){if("undefined"!=typeof chrome){"undefined"==typeof window||window.chrome||(window.chrome={}),"undefined"==typeof chrome||chrome.runtime||(chrome.runtime={});var e=new Set;if("function"==typeof chrome.runtime.sendMessage){var t=chrome.runtime.sendMessage;chrome.runtime.sendMessage=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];s.apply(void 0,i([],a(e),!1)),t.apply(chrome.runtime,e)}}else chrome.runtime.sendMessage=s;if(chrome.runtime.onMessage||(chrome.runtime.onMessage={}),"function"==typeof chrome.runtime.onMessage.addListener){var o=chrome.runtime.onMessage.addListener;chrome.runtime.onMessage.addListener=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];c(e[0]),o.apply(chrome.runtime.onMessage,e)}}else chrome.runtime.onMessage.addListener=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return c(e[0])}}function s(){for(var t=[],o=0;o<arguments.length;o++)t[o]=arguments[o];return r(this,void 0,void 0,(function(){var r,o,a,i,s,c,l;return n(this,(function(n){switch(n.label){case 0:if(!t[0]||t[0].type!==u.CS_FETCH)return[3,8];r=t[0].id,n.label=1;case 1:return n.trys.push([1,7,,8]),o=t[0].data,a=o.url,i=o.responseType,[4,x(a)];case 2:return s=n.sent(),"data-url"!==i?[3,4]:[4,k(s)];case 3:return c=n.sent(),[3,6];case 4:return[4,s.text()];case 5:c=n.sent(),n.label=6;case 6:return e.forEach((function(e){return e({type:u.BG_FETCH_RESPONSE,data:c,error:null,id:r})})),[3,8];case 7:return l=n.sent(),console.error(l),e.forEach((function(e){return e({type:u.BG_FETCH_RESPONSE,data:null,error:l,id:r})})),[3,8];case 8:return[2]}}))}))}function c(t){e.add(t)}}T();var R={cssFilter:"cssFilter",svgFilter:"svgFilter",staticTheme:"staticTheme",dynamicTheme:"dynamicTheme"},V={darkScheme:{background:"#181a1b",text:"#e8e6e3"},lightScheme:{background:"#dcdad7",text:"#181a1b"}},M={mode:1,brightness:100,contrast:100,grayscale:0,sepia:0,useFont:!1,fontFamily:v?"Helvetica Neue":p?"Segoe UI":"Open Sans",textStroke:0,engine:R.dynamicTheme,stylesheet:"",darkSchemeBackgroundColor:V.darkScheme.background,darkSchemeTextColor:V.darkScheme.text,lightSchemeBackgroundColor:V.lightScheme.background,lightSchemeTextColor:V.lightScheme.text,scrollbarColor:v?"":"auto",selectionColor:"auto",styleSystemControls:!0,lightColorScheme:"Default",darkColorScheme:"Default"};function A(e){return null!=e.length}function L(e,t){var r,n;if(A(e))for(var a=0,i=e.length;a<i;a++)t(e[a]);else try{for(var u=o(e),s=u.next();!s.done;s=u.next())t(s.value)}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}}function O(e,t){L(t,(function(t){return e.push(t)}))}function P(e){for(var t=[],r=0,n=e.length;r<n;r++)t.push(e[r]);return t}function D(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function I(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function F(e){var t,r=!1,n=null,o=function(){for(var o=[],u=0;u<arguments.length;u++)o[u]=arguments[u];t=o,n?r=!0:(e.apply(void 0,i([],a(t),!1)),n=requestAnimationFrame((function(){n=null,r&&(e.apply(void 0,i([],a(t),!1)),r=!1)})))},u=function(){cancelAnimationFrame(n),r=!1,n=null};return Object.assign(o,{cancel:u})}function N(){var e=[],t=null;function r(){for(var r;r=e.shift();)r();t=null}function n(n){e.push(n),t||(t=requestAnimationFrame(r))}function o(){e.splice(0),cancelAnimationFrame(t),t=null}return{add:n,cancel:o}}function j(e){var t=0;return e.seconds&&(t+=1e3*e.seconds),e.minutes&&(t+=60*e.minutes*1e3),e.hours&&(t+=60*e.hours*60*1e3),e.days&&(t+=24*e.days*60*60*1e3),t}function B(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function U(e,t,r){void 0===r&&(r=Function.prototype);var n=10,o=j({seconds:2}),a=j({seconds:10}),i=e.previousSibling,u=e.parentNode;if(!u)throw new Error("Unable to watch for node position: parent element not found");if("prev-sibling"===t&&!i)throw new Error("Unable to watch for node position: there is no previous sibling");var s=0,c=null,l=null,d=F((function(){if(!l){s++;var h=Date.now();if(null==c)c=h;else if(s>=n){if(h-c<a)return I("Node position watcher paused: retry in "+o+"ms",e,i),void(l=setTimeout((function(){c=null,s=0,l=null,d()}),o));c=h,s=1}if("parent"===t&&i&&i.parentNode!==u)return I("Unable to restore node position: sibling parent changed",e,i,u),void p();if("prev-sibling"===t){if(null==i.parentNode)return I("Unable to restore node position: sibling was removed",e,i,u),void p();i.parentNode!==u&&(I("Style was moved to another parent",e,i,u),m(i.parentNode))}I("Restoring node position",e,i,u),u.insertBefore(e,i?i.nextSibling:u.firstChild),f.takeRecords(),r&&r()}})),f=new MutationObserver((function(){("parent"===t&&e.parentNode!==u||"prev-sibling"===t&&e.previousSibling!==i)&&d()})),h=function(){f.observe(u,{childList:!0})},p=function(){clearTimeout(l),f.disconnect(),d.cancel()},v=function(){f.takeRecords()},m=function(e){u=e,p(),h()};return h(),{run:h,stop:p,skip:v}}function q(e,t){if(null!=e)for(var r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:function(e){return null==e.shadowRoot?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT}}),n=e.shadowRoot?r.currentNode:r.nextNode();null!=n;n=r.nextNode())t(n),q(n.shadowRoot,t)}function W(){return"undefined"!=typeof document&&("complete"===document.readyState||"interactive"===document.readyState)}var H=new Set;function G(e){H.add(e)}function z(e){H.delete(e)}function $(){return"complete"===document.readyState}var Q=new Set;function K(e){Q.add(e)}function X(){Q.clear()}if(!W()){var Y=function(){W()&&(H.forEach((function(e){return e()})),H.clear(),$()&&(document.removeEventListener("readystatechange",Y),Q.forEach((function(e){return e()})),Q.clear()))};"undefined"!=typeof document&&document.addEventListener("readystatechange",Y)}var Z=1e3;function J(e){if(e.length>Z)return!0;for(var t=0,r=0;r<e.length;r++)if((t+=e[r].addedNodes.length)>Z)return!0;return!1}function ee(e){var t=new Set,r=new Set,n=new Set;e.forEach((function(e){L(e.addedNodes,(function(e){e instanceof Element&&e.isConnected&&t.add(e)})),L(e.removedNodes,(function(e){e instanceof Element&&(e.isConnected?(n.add(e),t.delete(e)):r.add(e))}))}));var o=[],a=[];return t.forEach((function(e){t.has(e.parentElement)&&o.push(e)})),r.forEach((function(e){r.has(e.parentElement)&&a.push(e)})),o.forEach((function(e){return t.delete(e)})),a.forEach((function(e){return r.delete(e)})),{additions:t,moves:n,deletions:r}}var te,re=new Map,ne=new WeakMap;function oe(e,t){var r,n,o;if(re.has(e))r=re.get(e),n=ne.get(r);else{var a=!1,i=!1;(r=new MutationObserver((function(t){if(J(t))!a||W()?n.forEach((function(t){return(0,t.onHugeMutations)(e)})):i||(G(o=function(){return n.forEach((function(t){return(0,t.onHugeMutations)(e)}))}),i=!0),a=!0;else{var r=ee(t);n.forEach((function(e){return(0,e.onMinorMutations)(r)}))}}))).observe(e,{childList:!0,subtree:!0}),re.set(e,r),n=new Set,ne.set(r,n)}return n.add(t),{disconnect:function(){n.delete(t),o&&z(o),0===n.size&&(r.disconnect(),ne.delete(r),re.delete(e))}}}var ae=new Map;function ie(e){return te||(te=document.createElement("a")),te.href=e,te.href}function ue(e,t){void 0===t&&(t=null);var r=e+(t?";"+t:"");if(ae.has(r))return ae.get(r);if(t){var n=new URL(e,ie(t));return ae.set(r,n),n}var o=new URL(ie(e));return ae.set(e,o),o}function se(e,t){if(t.match(/^data\\?\:/))return t;if(/^\/\//.test(t))return""+location.protocol+t;var r=ue(e);return ue(t,r.href).href}function ce(e){if(e.startsWith("data:"))return!0;var t=ue(e);return t.protocol===location.protocol&&t.hostname===location.hostname&&t.port===location.port&&t.pathname===location.pathname}function le(e,t,r){L(e,(function(e){if(e.selectorText)t(e);else if(e.href)try{le(e.styleSheet.cssRules,t,r)}catch(e){D("Found a non-loaded link."),r&&r()}else if(e.media){var n=Array.from(e.media),o=n.some((function(e){return e.startsWith("screen")||e.startsWith("all")||e.startsWith("(")})),a=n.some((function(e){return e.startsWith("print")||e.startsWith("speech")}));!o&&a||le(e.cssRules,t,r)}else e.conditionText?CSS.supports(e.conditionText)&&le(e.cssRules,t,r):I("CSSRule type not supported",e)}))}var de=["background","border","border-color","border-bottom","border-left","border-right","border-top","outline","outline-color"],fe=h?de.map((function(e){return[e,new RegExp(e+":\\s*(.*?)\\s*;")]})):null;function he(e,t){L(e,(function(r){var n=e.getPropertyValue(r).trim();n&&t(r,n)}));var r=e.cssText;r.includes("var(")&&(h?fe.forEach((function(e){var n=a(e,2),o=n[0],i=n[1],u=r.match(i);if(u&&u[1]){var s=u[1].trim();t(o,s)}})):de.forEach((function(r){var n=e.getPropertyValue(r);n&&n.includes("var(")&&t(r,n)})))}var pe=/url\((('.+?')|(".+?")|([^\)]*?))\)/g,ve=/@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/g;function me(e){return e.replace(/^url\((.*)\)$/,"$1").trim().replace(/^"(.*)"$/,"$1").replace(/^'(.*)'$/,"$1")}function ge(e){var t=ue(e);return""+t.origin+t.pathname.replace(/\?.*$/,"").replace(/(\/)([^\/]+)$/i,"$1")}function be(e,t){return e.replace(pe,(function(e){var r=me(e);try{return'url("'+se(t,r)+'")'}catch(t){return I("Not able to replace relative URL with Absolute URL, skipping"),e}}))}var ye=/\/\*[\s\S]*?\*\//g;function Se(e){return e.replace(ye,"")}var _e=/@font-face\s*{[^}]*}/g;function ke(e){return e.replace(_e,"")}function we(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=void 0===o?1:o;if(0===r){var u=a([n,n,n].map((function(e){return Math.round(255*e)})),3),s=u[0],c=u[1];return{r:s,g:u[2],b:c,a:i}}var l=(1-Math.abs(2*n-1))*r,d=l*(1-Math.abs(t/60%2-1)),f=n-l/2,h=a((t<60?[l,d,0]:t<120?[d,l,0]:t<180?[0,l,d]:t<240?[0,d,l]:t<300?[d,0,l]:[l,0,d]).map((function(e){return Math.round(255*(e+f))})),3);return{r:h[0],g:h[1],b:h[2],a:i}}function Ee(e){var t=e.r,r=e.g,n=e.b,o=e.a,a=void 0===o?1:o,i=t/255,u=r/255,s=n/255,c=Math.max(i,u,s),l=Math.min(i,u,s),d=c-l,f=(c+l)/2;if(0===d)return{h:0,s:0,l:f,a:a};var h=60*(c===i?(u-s)/d%6:c===u?(s-i)/d+2:(i-u)/d+4);return h<0&&(h+=360),{h:h,s:d/(1-Math.abs(2*f-1)),l:f,a:a}}function Ce(e,t){void 0===t&&(t=0);var r=e.toFixed(t);if(0===t)return r;var n=r.indexOf(".");if(n>=0){var o=r.match(/0+$/);if(o)return o.index===n+1?r.substring(0,n):r.substring(0,o.index)}return r}function xe(e){var t=e.r,r=e.g,n=e.b,o=e.a;return null!=o&&o<1?"rgba("+Ce(t)+", "+Ce(r)+", "+Ce(n)+", "+Ce(o,2)+")":"rgb("+Ce(t)+", "+Ce(r)+", "+Ce(n)+")"}function Te(e){var t=e.r,r=e.g,n=e.b,o=e.a;return"#"+(null!=o&&o<1?[t,r,n,Math.round(255*o)]:[t,r,n]).map((function(e){return(e<16?"0":"")+e.toString(16)})).join("")}function Re(e){var t=e.h,r=e.s,n=e.l,o=e.a;return null!=o&&o<1?"hsla("+Ce(t)+", "+Ce(100*r)+"%, "+Ce(100*n)+"%, "+Ce(o,2)+")":"hsl("+Ce(t)+", "+Ce(100*r)+"%, "+Ce(100*n)+"%)"}var Ve=/^rgba?\([^\(\)]+\)$/,Me=/^hsla?\([^\(\)]+\)$/,Ae=/^#[0-9a-f]+$/i;function Le(e){var t=e.trim().toLowerCase();if(t.match(Ve))return Fe(t);if(t.match(Me))return Be(t);if(t.match(Ae))return Ue(t);if($e.has(t))return qe(t);if(Qe.has(t))return We(t);if("transparent"===e)return{r:0,g:0,b:0,a:0};throw new Error("Unable to parse "+e)}function Oe(e){var t=[],r=0,n=!1,o=e.indexOf("(");e=e.substring(o+1,e.length-1);for(var a=0;a<e.length;a++){var i=e[a];i>="0"&&i<="9"||"."===i||"+"===i||"-"===i?n=!0:!n||" "!==i&&","!==i?n||(r=a+1):(t.push(e.substring(r,a)),n=!1,r=a+1)}return n&&t.push(e.substring(r,e.length)),t}function Pe(e,t,r){var n=Oe(e),o=Object.entries(r);return n.map((function(e){return e.trim()})).map((function(e,r){var n,i=o.find((function(t){var r=a(t,1)[0];return e.endsWith(r)}));return n=i?parseFloat(e.substring(0,e.length-i[0].length))/i[1]*t[r]:parseFloat(e),t[r]>1?Math.round(n):n}))}var De=[255,255,255,1],Ie={"%":100};function Fe(e){var t=a(Pe(e,De,Ie),4),r=t[0],n=t[1],o=t[2],i=t[3];return{r:r,g:n,b:o,a:void 0===i?1:i}}var Ne=[360,1,1,1],je={"%":100,deg:360,rad:2*Math.PI,turn:1};function Be(e){var t=a(Pe(e,Ne,je),4),r=t[0],n=t[1],o=t[2],i=t[3];return we({h:r,s:n,l:o,a:void 0===i?1:i})}function Ue(e){var t=e.substring(1);switch(t.length){case 3:case 4:var r=a([0,1,2].map((function(e){return parseInt(""+t[e]+t[e],16)})),3);return{r:r[0],g:r[1],b:r[2],a:3===t.length?1:parseInt(""+t[3]+t[3],16)/255};case 6:case 8:var n=a([0,2,4].map((function(e){return parseInt(t.substring(e,e+2),16)})),3);return{r:n[0],g:n[1],b:n[2],a:6===t.length?1:parseInt(t.substring(6,8),16)/255}}throw new Error("Unable to parse "+e)}function qe(e){var t=$e.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}function We(e){var t=Qe.get(e);return{r:t>>16&255,g:t>>8&255,b:t>>0&255,a:1}}var He=function(e){return e>="0"&&e<="9"},Ge=function(e){return Math.floor(Math.log10(e))+1};function ze(e){for(var t=0,r=function(t,r,n){e=e.substring(0,t)+n+e.substring(r)},n=function(){for(var r=0,n=1;n<4;n++){var o=e[t+n];if(" "===o)break;if(!He(o))break;r*=10,r+=Number(o)}var a=Ge(r);if("%"===e[(t+=a)+1])return t++,r};0!==(t=e.indexOf("calc("));){var o=t;t+=4;var a=n();if(!a)break;if(" "!==e[t+1])break;t++;var i=e[t+1];if("+"!==i&&"-"!==i)break;if(t++," "!==e[t+1])break;t++;var u=n();if(!u)break;r(o,t+2,"+"===i?a+u+"%":a-u+"%")}return e}var $e=new Map(Object.entries({aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgrey:11119017,darkgreen:25600,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,grey:8421504,green:32768,greenyellow:11403055,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgrey:13882323,lightgreen:9498256,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074})),Qe=new Map(Object.entries({ActiveBorder:3906044,ActiveCaption:0,AppWorkspace:11184810,Background:6513614,ButtonFace:16777215,ButtonHighlight:15329769,ButtonShadow:10461343,ButtonText:0,CaptionText:0,GrayText:8355711,Highlight:11720703,HighlightText:0,InactiveBorder:16777215,InactiveCaption:16777215,InactiveCaptionText:0,InfoBackground:16514245,InfoText:0,Menu:16185078,MenuText:16777215,Scrollbar:11184810,ThreeDDarkShadow:0,ThreeDFace:12632256,ThreeDHighlight:16777215,ThreeDLightShadow:16777215,ThreeDShadow:0,Window:15527148,WindowFrame:11184810,WindowText:0,"-webkit-focus-ring-color":15046400}).map((function(e){var t=a(e,2),r=t[0],n=t[1];return[r.toLowerCase(),n]})));function Ke(e,t,r,n,o){return(e-t)*(o-n)/(r-t)+n}function Xe(e,t,r){return Math.min(r,Math.max(t,e))}function Ye(e,t){for(var r=[],n=0,o=e.length;n<o;n++){r[n]=[];for(var a=0,i=t[0].length;a<i;a++){for(var u=0,s=0,c=e[0].length;s<c;s++)u+=e[n][s]*t[s][a];r[n][a]=u}}return r}function Ze(e,t,r){void 0===r&&(r=0);for(var n,o=[];n=e.exec(t);)o.push(n[r]);return o}function Je(e){function t(e){return e.replace(/^\s+/,"")}function r(e){return 0===e?"":" ".repeat(4*e)}if(e.length<5e4)for(var n=/[^{}]+{\s*}/;n.test(e);)e=e.replace(n,"");for(var o=e.replace(/\s{2,}/g," ").replace(/\{/g,"{\n").replace(/\}/g,"\n}\n").replace(/\;(?![^\(|\"]*(\)|\"))/g,";\n").replace(/\,(?![^\(|\"]*(\)|\"))/g,",\n").replace(/\n\s*\n/g,"\n").split("\n"),a=0,i=[],u=0,s=o.length;u<s;u++){var c=o[u]+"\n";c.includes("{")?i.push(r(a++)+t(c)):c.includes("}")?i.push(r(--a)+t(c)):i.push(r(a)+t(c))}return i.join("").trim()}function et(e,t){void 0===t&&(t=0);for(var r=e.length,n=0,o=-1,a=t;a<r;a++)if(0===n){if((i=e.indexOf("(",a))<0)break;o=i,n++,a=i}else{var i,u=e.indexOf(")",a);if(u<0)break;if((i=e.indexOf("(",a))<0||u<i){if(0==--n)return{start:o,end:u+1};a=u}else n++,a=i}return null}function tt(e){var t=nt.identity();return 0!==e.sepia&&(t=Ye(t,nt.sepia(e.sepia/100))),0!==e.grayscale&&(t=Ye(t,nt.grayscale(e.grayscale/100))),100!==e.contrast&&(t=Ye(t,nt.contrast(e.contrast/100))),100!==e.brightness&&(t=Ye(t,nt.brightness(e.brightness/100))),1===e.mode&&(t=Ye(t,nt.invertNHue())),t}function rt(e,t){var r=a(e,3),n=Ye(t,[[r[0]/255],[r[1]/255],[r[2]/255],[1],[1]]);return[0,1,2].map((function(e){return Xe(Math.round(255*n[e][0]),0,255)}))}var nt={identity:function(){return[[1,0,0,0,0],[0,1,0,0,0],[0,0,1,0,0],[0,0,0,1,0],[0,0,0,0,1]]},invertNHue:function(){return[[.333,-.667,-.667,0,1],[-.667,.333,-.667,0,1],[-.667,-.667,.333,0,1],[0,0,0,1,0],[0,0,0,0,1]]},brightness:function(e){return[[e,0,0,0,0],[0,e,0,0,0],[0,0,e,0,0],[0,0,0,1,0],[0,0,0,0,1]]},contrast:function(e){var t=(1-e)/2;return[[e,0,0,0,t],[0,e,0,0,t],[0,0,e,0,t],[0,0,0,1,0],[0,0,0,0,1]]},sepia:function(e){return[[.393+.607*(1-e),.769-.769*(1-e),.189-.189*(1-e),0,0],[.349-.349*(1-e),.686+.314*(1-e),.168-.168*(1-e),0,0],[.272-.272*(1-e),.534-.534*(1-e),.131+.869*(1-e),0,0],[0,0,0,1,0],[0,0,0,0,1]]},grayscale:function(e){return[[.2126+.7874*(1-e),.7152-.7152*(1-e),.0722-.0722*(1-e),0,0],[.2126-.2126*(1-e),.7152+.2848*(1-e),.0722-.0722*(1-e),0,0],[.2126-.2126*(1-e),.7152-.7152*(1-e),.0722+.9278*(1-e),0,0],[0,0,0,1,0],[0,0,0,0,1]]}};function ot(e){return e[1===e.mode?"darkSchemeBackgroundColor":"lightSchemeBackgroundColor"]}function at(e){return e[1===e.mode?"darkSchemeTextColor":"lightSchemeTextColor"]}var it=new Map,ut=new Map;function st(e){if(ut.has(e))return ut.get(e);var t=Ee(Le(e));return ut.set(e,t),t}function ct(){it.clear(),ut.clear()}var lt=["r","g","b","a"],dt=["mode","brightness","contrast","grayscale","sepia","darkSchemeBackgroundColor","darkSchemeTextColor","lightSchemeBackgroundColor","lightSchemeTextColor"];function ft(e,t){var r="";return lt.forEach((function(t){r+=e[t]+";"})),dt.forEach((function(e){r+=t[e]+";"})),r}function ht(e,t,r,n,o){var i;it.has(r)?i=it.get(r):(i=new Map,it.set(r,i));var u=ft(e,t);if(i.has(u))return i.get(u);var s=we(r(Ee(e),null==n?null:st(n),null==o?null:st(o))),c=s.r,l=s.g,d=s.b,f=s.a,h=a(rt([c,l,d],tt(t)),3),p=h[0],v=h[1],m=h[2],g=1===f?Te({r:p,g:v,b:m}):xe({r:p,g:v,b:m,a:f});return i.set(u,g),g}function pt(e){return e}function vt(e,t){return ht(e,t,pt)}function mt(e,t){var r=ot(t);return ht(e,t,gt,at(t),r)}function gt(e,t,r){var n=e.h,o=e.s,a=e.l,i=e.a,u=a<.5,s=n,c=a;return(u?a<.2||o<.12:o<.24||a>.8&&n>200&&n<280)&&(u?(s=t.h,c=t.s):(s=r.h,c=r.s)),{h:s,s:c,l:Ke(a,0,1,t.l,r.l),a:i}}var bt=.4;function yt(e,t){var r=e.h,n=e.s,o=e.l,a=e.a,i=n<.12||o>.8&&r>200&&r<280;if(o<.5){var u=Ke(o,0,.5,0,bt);return i?{h:t.h,s:t.s,l:u,a:a}:{h:r,s:n,l:u,a:a}}var s=Ke(o,.5,1,bt,t.l);if(i)return{h:t.h,s:t.s,l:s,a:a};var c=r;return r>60&&r<180&&(c=r>120?Ke(r,120,180,135,180):Ke(r,60,120,60,105)),{h:c,s:n,l:s,a:a}}function St(e,r){if(0===r.mode)return mt(e,r);var n=ot(r);return ht(e,t(t({},r),{mode:0}),yt,n)}var _t,kt=.55;function wt(e){return Ke(e,205,245,205,220)}function Et(e,t){var r=e.h,n=e.s,o=e.l,a=e.a,i=o<.2||n<.24,u=!i&&r>205&&r<245;if(o>.5){var s=Ke(o,.5,1,kt,t.l);if(i)return{h:t.h,s:t.s,l:s,a:a};var c=r;return u&&(c=wt(r)),{h:c,s:n,l:s,a:a}}if(i)return{h:t.h,s:t.s,l:Ke(o,0,.5,t.l,kt),a:a};var l,d=r;return u?(d=wt(r),l=Ke(o,0,.5,t.l,Math.min(1,kt+.05))):l=Ke(o,0,.5,t.l,kt),{h:d,s:n,l:l,a:a}}function Ct(e,r){if(0===r.mode)return mt(e,r);var n=at(r);return ht(e,t(t({},r),{mode:0}),Et,n)}function xt(e,t,r){var n=e.h,o=e.s,a=e.l,i=e.a,u=n,s=o;return(a<.2||o<.24)&&(a<.5?(u=t.h,s=t.s):(u=r.h,s=r.s)),{h:u,s:s,l:Ke(a,0,1,.5,.2),a:i}}function Tt(e,r){if(0===r.mode)return mt(e,r);var n=at(r),o=ot(r);return ht(e,t(t({},r),{mode:0}),xt,n,o)}function Rt(e,t){return St(e,t)}function Vt(e,t){return St(e,t)}function Mt(e){var t=[];return t.push('*:not(pre, pre *, code, .far, .fa, .glyphicon, [class*="vjs-"], .fab, .fa-github, .fas, .material-icons, .icofont, .typcn, mu, [class*="mu-"], .glyphicon, .icon) {'),e.useFont&&e.fontFamily&&t.push(" font-family: "+e.fontFamily+" !important;"),e.textStroke>0&&(t.push(" -webkit-text-stroke: "+e.textStroke+"px !important;"),t.push(" text-stroke: "+e.textStroke+"px !important;")),t.push("}"),t.join("\n")}function At(e){var t=[];return e.mode===_t.dark&&t.push("invert(100%) hue-rotate(180deg)"),100!==e.brightness&&t.push("brightness("+e.brightness+"%)"),100!==e.contrast&&t.push("contrast("+e.contrast+"%)"),0!==e.grayscale&&t.push("grayscale("+e.grayscale+"%)"),0!==e.sepia&&t.push("sepia("+e.sepia+"%)"),0===t.length?null:t.join(" ")}function Lt(e){return e.slice(0,4).map((function(e){return e.map((function(e){return e.toFixed(3)})).join(" ")})).join(" ")}function Ot(e){return Lt(tt(e))}!function(e){e[e.light=0]="light",e[e.dark=1]="dark"}(_t||(_t={}));var Pt=0,Dt=new Map,It=new Map;function Ft(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){return[2,new Promise((function(t,r){var n=++Pt;Dt.set(n,t),It.set(n,r),"undefined"!=typeof chrome&&chrome.runtime.sendMessage({type:u.CS_FETCH,data:e,id:n})}))]}))}))}"undefined"!=typeof chrome&&chrome.runtime.onMessage.addListener((function(e){var t=e.type,r=e.data,n=e.error,o=e.id;if(t===u.BG_FETCH_RESPONSE){var a=Dt.get(o),i=It.get(o);Dt.delete(o),It.delete(o),n?i&&i(n):a&&a(r)}}));var Nt=new(function(){function e(){this.queue=[],this.timerId=null,this.frameDuration=1e3/60}return e.prototype.addToQueue=function(e){this.queue.push(e),this.startQueue()},e.prototype.stopQueue=function(){null!==this.timerId&&(cancelAnimationFrame(this.timerId),this.timerId=null),this.queue=[]},e.prototype.startQueue=function(){var e=this;this.timerId||(this.timerId=requestAnimationFrame((function(){e.timerId=null;for(var t,r=Date.now();t=e.queue.shift();)if(t(),Date.now()-r>=e.frameDuration){e.startQueue();break}})))},e}());function jt(e){return r(this,void 0,void 0,(function(){var o=this;return n(this,(function(a){return[2,new Promise((function(a,i){return r(o,void 0,void 0,(function(){var r,o,u,s;return n(this,(function(n){switch(n.label){case 0:return e.startsWith("data:")?(r=e,[3,4]):[3,1];case 1:return n.trys.push([1,3,,4]),[4,Bt(e)];case 2:return r=n.sent(),[3,4];case 3:return o=n.sent(),i(o),[2];case 4:return n.trys.push([4,6,,7]),[4,Ut(r)];case 5:return u=n.sent(),Nt.addToQueue((function(){a(t({src:e,dataURL:r,width:u.naturalWidth,height:u.naturalHeight},Qt(u)))})),[3,7];case 6:return s=n.sent(),i(s),[3,7];case 7:return[2]}}))}))}))]}))}))}function Bt(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return new URL(e).origin!==location.origin?[3,2]:[4,_(e)];case 1:case 3:return[2,t.sent()];case 2:return[4,Ft({url:e,responseType:"data-url"})]}}))}))}function Ut(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){return[2,new Promise((function(t,r){var n=new Image;n.onload=function(){return t(n)},n.onerror=function(){return r("Unable to load image "+e)},n.src=e}))]}))}))}var qt,Wt,Ht=1024;function Gt(){var e=Ht,t=Ht;(qt=document.createElement("canvas")).width=e,qt.height=t,(Wt=qt.getContext("2d")).imageSmoothingEnabled=!1}function zt(){qt=null,Wt=null}var $t=5242880;function Qt(e){qt||Gt();var t=e.naturalWidth,r=e.naturalHeight;if(0===r||0===t)return I("logWarn(Image is empty "+e.currentSrc+")"),null;if(t*r*4>$t)return D("Skipped large image analyzing(Larger than 5mb in memory)"),{isDark:!1,isLight:!1,isTransparent:!1,isLarge:!1,isTooLarge:!0};var n=t*r,o=Math.min(1,Math.sqrt(Ht/n)),a=Math.ceil(t*o),i=Math.ceil(r*o);Wt.clearRect(0,0,a,i),Wt.drawImage(e,0,0,t,r,0,0,a,i);var u,s,c,l,d,f,h,p=Wt.getImageData(0,0,a,i).data,v=.05,m=.4,g=.7,b=0,y=0,S=0;for(c=0;c<i;c++)for(s=0;s<a;s++)l=p[0+(u=4*(c*a+s))]/255,d=p[u+1]/255,f=p[u+2]/255,p[u+3]/255<v?b++:((h=.2126*l+.7152*d+.0722*f)<m&&y++,h>g&&S++);var _=a*i,k=_-b;return{isDark:y/k>=.7,isLight:S/k>=.7,isTransparent:b/_>=.1,isLarge:n>=48e4,isTooLarge:!1}}function Kt(e,t){var r=e.dataURL,n=e.width,o=e.height,a=['<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'+n+'" height="'+o+'">',"<defs>",'<filter id="darkreader-image-filter">','<feColorMatrix type="matrix" values="'+Ot(t)+'" />',"</filter>","</defs>",'<image width="'+n+'" height="'+o+'" filter="url(#darkreader-image-filter)" xlink:href="'+r+'" />',"</svg>"].join("");return"data:image/svg+xml;base64,"+btoa(a)}function Xt(){Nt&&Nt.stopQueue(),zt()}function Yt(e,t){return Boolean(e&&e.getPropertyPriority(t))}function Zt(e,t,r,n,o,a){if(e.startsWith("--")){if(i=mr(n,e,t,r,o,a))return{property:e,value:i,important:Yt(r.style,e),sourceValue:t}}else if(t.includes("var(")){if(i=gr(n,e,t))return{property:e,value:i,important:Yt(r.style,e),sourceValue:t}}else if(e.includes("color")&&"-webkit-print-color-adjust"!==e||"fill"===e||"stroke"===e||"stop-color"===e){if(i=sr(e,t))return{property:e,value:i,important:Yt(r.style,e),sourceValue:t}}else if("background-image"===e||"list-style-image"===e){if(i=hr(t,r,o,a))return{property:e,value:i,important:Yt(r.style,e),sourceValue:t}}else if(e.includes("shadow")){var i;if(i=vr(t))return{property:e,value:i,important:Yt(r.style,e),sourceValue:t}}return null}function Jt(e,t,r){var n=[];return t||(n.push("html {"),n.push(" background-color: "+St({r:255,g:255,b:255},e)+" !important;"),n.push("}")),n.push((t?"":"html, body, ")+(r?"input, textarea, select, button":"")+" {"),n.push(" background-color: "+St({r:255,g:255,b:255},e)+";"),n.push("}"),n.push("html, body, "+(r?"input, textarea, select, button":"")+" {"),n.push(" border-color: "+Tt({r:76,g:76,b:76},e)+";"),n.push(" color: "+Ct({r:0,g:0,b:0},e)+";"),n.push("}"),n.push("a {"),n.push(" color: "+Ct({r:0,g:64,b:255},e)+";"),n.push("}"),n.push("table {"),n.push(" border-color: "+Tt({r:128,g:128,b:128},e)+";"),n.push("}"),n.push("::placeholder {"),n.push(" color: "+Ct({r:169,g:169,b:169},e)+";"),n.push("}"),n.push("input:-webkit-autofill,"),n.push("textarea:-webkit-autofill,"),n.push("select:-webkit-autofill {"),n.push(" background-color: "+St({r:250,g:255,b:189},e)+" !important;"),n.push(" color: "+Ct({r:0,g:0,b:0},e)+" !important;"),n.push("}"),e.scrollbarColor&&n.push(rr(e)),e.selectionColor&&n.push(tr(e)),n.join("\n")}function er(e){var r,n;if("auto"===e.selectionColor)r=St({r:0,g:96,b:212},t(t({},e),{grayscale:0})),n=Ct({r:255,g:255,b:255},t(t({},e),{grayscale:0}));else{var o=Ee(Le(e.selectionColor));r=e.selectionColor,n=o.l<.5?"#FFF":"#000"}return{backgroundColorSelection:r,foregroundColorSelection:n}}function tr(e){var t=[],r=er(e),n=r.backgroundColorSelection,o=r.foregroundColorSelection;return["::selection","::-moz-selection"].forEach((function(e){t.push(e+" {"),t.push(" background-color: "+n+" !important;"),t.push(" color: "+o+" !important;"),t.push("}")})),t.join("\n")}function rr(e){var r,n,o,a,i,u,s=[];if("auto"===e.scrollbarColor)r=St({r:241,g:241,b:241},e),n=Ct({r:96,g:96,b:96},e),o=St({r:176,g:176,b:176},e),a=St({r:144,g:144,b:144},e),i=St({r:96,g:96,b:96},e),u=St({r:255,g:255,b:255},e);else{var c=Ee(Le(e.scrollbarColor)),l=c.l>.5,d=function(e){return t(t({},c),{l:Xe(c.l+e,0,1)})},h=function(e){return t(t({},c),{l:Xe(c.l-e,0,1)})};r=Re(h(.4)),n=Re(l?h(.4):d(.4)),o=Re(c),a=Re(d(.1)),i=Re(d(.2))}return s.push("::-webkit-scrollbar {"),s.push(" background-color: "+r+";"),s.push(" color: "+n+";"),s.push("}"),s.push("::-webkit-scrollbar-thumb {"),s.push(" background-color: "+o+";"),s.push("}"),s.push("::-webkit-scrollbar-thumb:hover {"),s.push(" background-color: "+a+";"),s.push("}"),s.push("::-webkit-scrollbar-thumb:active {"),s.push(" background-color: "+i+";"),s.push("}"),s.push("::-webkit-scrollbar-corner {"),s.push(" background-color: "+u+";"),s.push("}"),f&&(s.push("* {"),s.push(" scrollbar-color: "+o+" "+r+";"),s.push("}")),s.join("\n")}function nr(e,t){var r=t.strict,n=[],o=location.hostname.endsWith("microsoft.com");return n.push("html, body, "+(r?"body :not(iframe)"+(o?':not(div[style^="position:absolute;top:0;left:-"]':""):"body > :not(iframe)")+" {"),n.push(" background-color: "+St({r:255,g:255,b:255},e)+" !important;"),n.push(" border-color: "+Tt({r:64,g:64,b:64},e)+" !important;"),n.push(" color: "+Ct({r:0,g:0,b:0},e)+" !important;"),n.push("}"),n.join("\n")}var or=new Set(["inherit","transparent","initial","currentcolor","none","unset"]),ar=new Map;function ir(e){if(e=e.trim(),ar.has(e))return ar.get(e);e.includes("calc(")&&(e=ze(e));var t=Le(e);return ar.set(e,t),t}function ur(e){try{return ir(e)}catch(e){return null}}function sr(e,t){if(or.has(t.toLowerCase()))return t;try{var r=ir(t);return e.includes("background")?function(e){return St(r,e)}:e.includes("border")||e.includes("outline")?function(e){return Tt(r,e)}:function(e){return Ct(r,e)}}catch(e){return I("Color parse error",e),null}}var cr=/[\-a-z]+gradient\(([^\(\)]*(\(([^\(\)]*(\(.*?\)))*[^\(\)]*\))){0,15}[^\(\)]*\)/g,lr=new Map,dr=new Map;function fr(e,t){if(!e||0===t.length)return!1;if(t.some((function(e){return"*"===e})))return!0;for(var r=e.split(/,\s*/g),n=function(e){var n=t[e];if(r.some((function(e){return e===n})))return{value:!0}},o=0;o<t.length;o++){var a=n(o);if("object"==typeof a)return a.value}return!1}function hr(e,o,a,i){var u=this;try{var s=Ze(cr,e),c=Ze(pe,e);if(0===c.length&&0===s.length)return e;var l=function(t){var r=0;return t.map((function(t){var n=e.indexOf(t,r);return r=n+t.length,{match:t,index:n}}))},d=l(c).map((function(e){return t({type:"url"},e)})).concat(l(s).map((function(e){return t({type:"gradient"},e)}))).sort((function(e,t){return e.index-t.index})),f=function(e){var t=e.match(/^(.*-gradient)\((.*)\)$/),r=t[1],n=t[2],o=/^(from|color-stop|to)\(([^\(\)]*?,\s*)?(.*?)\)$/,a=Ze(/([^\(\),]+(\([^\(\)]*(\([^\(\)]*\)*[^\(\)]*)?\))?[^\(\),]*),?/g,n,1).map((function(e){var t=ur(e=e.trim());if(t)return function(e){return Vt(t,e)};var r=e.lastIndexOf(" ");if(t=ur(e.substring(0,r)))return function(n){return Vt(t,n)+" "+e.substring(r+1)};var n=e.match(o);return n&&(t=ur(n[3]))?function(e){return n[1]+"("+(n[2]?n[2]+", ":"")+Vt(t,e)+")"}:function(){return e}}));return function(e){return r+"("+a.map((function(t){return t(e)})).join(", ")+")"}},h=function(e){var t;if(fr(o.selectorText,a))return null;var s=me(e),c=o.parentStyleSheet,l=c&&c.href?ge(c.href):(null===(t=c.ownerNode)||void 0===t?void 0:t.baseURI)||location.origin,d='url("'+(s=se(l,s))+'")';return function(e){return r(u,void 0,void 0,(function(){var t,r;return n(this,(function(n){switch(n.label){case 0:return lr.has(s)?(t=lr.get(s),[3,7]):[3,1];case 1:return n.trys.push([1,6,,7]),dr.has(s)?(r=dr.get(s),[4,new Promise((function(e){return r.push(e)}))]):[3,3];case 2:return(t=n.sent())?[3,5]:[2,null];case 3:return dr.set(s,[]),[4,jt(s)];case 4:t=n.sent(),lr.set(s,t),dr.get(s).forEach((function(e){return e(t)})),dr.delete(s),n.label=5;case 5:return i()?[2,null]:[3,7];case 6:return I(n.sent()),dr.has(s)&&(dr.get(s).forEach((function(e){return e(null)})),dr.delete(s)),[2,d];case 7:return[2,p(t,e)||d]}}))}))}},p=function(e,r){var n,o=e.isDark,a=e.isLight,i=e.isTransparent,u=e.isLarge,s=e.isTooLarge,c=e.width;return s?n='url("'+e.src+'")':o&&i&&1===r.mode&&!u&&c>2?(D("Inverting dark image "+e.src),n='url("'+Kt(e,t(t({},r),{sepia:Xe(r.sepia+10,0,100)}))+'")'):a&&!i&&1===r.mode?u?n="none":(D("Dimming light image "+e.src),n='url("'+Kt(e,r)+'")'):0===r.mode&&a&&!u?(D("Applying filter to image "+e.src),n='url("'+Kt(e,t(t({},r),{brightness:Xe(r.brightness-10,5,200),sepia:Xe(r.sepia+10,0,100)}))+'")'):n=null,n},v=[],m=0;return d.forEach((function(t,r){var n=t.match,o=t.type,a=t.index,i=m,u=a+n.length;m=u,v.push((function(){return e.substring(i,a)})),v.push("url"===o?h(n):f(n)),r===d.length-1&&v.push((function(){return e.substring(u)}))})),function(e){var t=v.filter(Boolean).map((function(t){return t(e)}));return t.some((function(e){return e instanceof Promise}))?Promise.all(t).then((function(e){return e.join("")})):t.join("")}}catch(t){return I("Unable to parse gradient "+e,t),null}}function pr(e){try{var t=0,r=Ze(/(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/gi,e,2),n=0,o=r.map((function(o,a){var i=t,u=e.indexOf(o,t),s=u+o.length;t=s;var c=ur(o);return c?function(t){return""+e.substring(i,u)+Rt(c,t)+(a===r.length-1?e.substring(s):"")}:(n++,function(){return e.substring(i,s)})}));return function(e){var t=o.map((function(t){return t(e)})).join("");return{matchesLength:r.length,unparseableMatchesLength:n,result:t}}}catch(t){return I("Unable to parse shadow "+e,t),null}}function vr(e){var t=pr(e);return t?function(e){return t(e).result}:null}function mr(e,t,r,n,o,a){return e.getModifierForVariable({varName:t,sourceValue:r,rule:n,ignoredImgSelectors:o,isCancelled:a})}function gr(e,t,r){return e.getModifierForVarDependant(t,r)}function br(){ar.clear(),ct(),lr.clear(),Xt(),dr.clear()}var yr=1,Sr=2,_r=4,kr=8,wr=new(function(){function e(){this.varTypes=new Map,this.rulesQueue=[],this.definedVars=new Set,this.varRefs=new Map,this.unknownColorVars=new Set,this.unknownBgVars=new Set,this.undefinedVars=new Set,this.initialVarTypes=new Map,this.changedTypeVars=new Set,this.typeChangeSubscriptions=new Map,this.unstableVarValues=new Map}return e.prototype.clear=function(){this.varTypes.clear(),this.rulesQueue.splice(0),this.definedVars.clear(),this.varRefs.clear(),this.unknownColorVars.clear(),this.unknownBgVars.clear(),this.undefinedVars.clear(),this.initialVarTypes.clear(),this.changedTypeVars.clear(),this.typeChangeSubscriptions.clear(),this.unstableVarValues.clear()},e.prototype.isVarType=function(e,t){return this.varTypes.has(e)&&(this.varTypes.get(e)&t)>0},e.prototype.addRulesForMatching=function(e){this.rulesQueue.push(e)},e.prototype.matchVariablesAndDependants=function(){var e=this;this.changedTypeVars.clear(),this.initialVarTypes=new Map(this.varTypes),this.collectRootVariables(),this.collectVariablesAndVarDep(this.rulesQueue),this.rulesQueue.splice(0),this.collectRootVarDependants(),this.varRefs.forEach((function(t,r){t.forEach((function(t){e.varTypes.has(r)&&e.resolveVariableType(t,e.varTypes.get(r))}))})),this.unknownColorVars.forEach((function(t){e.unknownBgVars.has(t)?(e.unknownColorVars.delete(t),e.unknownBgVars.delete(t),e.resolveVariableType(t,yr)):e.isVarType(t,yr|Sr|_r)?e.unknownColorVars.delete(t):e.undefinedVars.add(t)})),this.unknownBgVars.forEach((function(t){null!=e.findVarRef(t,(function(t){return e.unknownColorVars.has(t)||e.isVarType(t,Sr|_r)}))?e.itarateVarRefs(t,(function(t){e.resolveVariableType(t,yr)})):e.isVarType(t,yr|kr)?e.unknownBgVars.delete(t):e.undefinedVars.add(t)})),this.changedTypeVars.forEach((function(t){e.typeChangeSubscriptions.has(t)&&e.typeChangeSubscriptions.get(t).forEach((function(e){e()}))})),this.changedTypeVars.clear()},e.prototype.getModifierForVariable=function(e){var t=this;return function(r){var n=e.varName,o=e.sourceValue,a=e.rule,i=e.ignoredImgSelectors,u=e.isCancelled,s=function(){var e=[],s=function(a,i,u){if(t.isVarType(n,a)){var s,c=i(n);if(Dr(o))if(Ir(o)){var l=Wr(o,t.unstableVarValues);l||(l=a===yr?"#ffffff":"#000000"),s=u(l,r)}else s=Rr(o,(function(e){return i(e)}),(function(e){return u(e,r)}));else s=u(o,r);e.push({property:c,value:s})}};if(s(yr,Mr,Br),s(Sr,Ar,Ur),s(_r,Lr,qr),t.isVarType(n,kr)){var c=Or(n),l=o;Dr(o)&&(l=Rr(o,(function(e){return Mr(e)}),(function(e){return Br(e,r)})));var d=hr(l,a,i,u);l="function"==typeof d?d(r):d,e.push({property:c,value:l})}return e},c=new Set,l=function(e){var r=function(){var t=s();e(t)};c.add(r),t.subscribeForVarTypeChange(n,r)},d=function(){c.forEach((function(e){t.unsubscribeFromVariableTypeChanges(n,e)}))};return{declarations:s(),onTypeChange:{addListener:l,removeListeners:d}}}},e.prototype.getModifierForVarDependant=function(e,t){var r=this;if(t.match(/^\s*(rgb|hsl)a?\(/)){var n=e.startsWith("background"),o="color"===e||"caret-color"===e;return function(e){var a=Wr(t,r.unstableVarValues);return a||(a=n?"#ffffff":"#000000"),(n?Br:o?Ur:qr)(a,e)}}return"background-color"===e?function(e){return Rr(t,(function(e){return Mr(e)}),(function(t){return Br(t,e)}))}:"color"===e||"caret-color"===e?function(e){return Rr(t,(function(e){return Ar(e)}),(function(t){return Ur(t,e)}))}:"background"===e||"background-image"===e||"box-shadow"===e?function(n){var o=new Set,a=function(){var a=Rr(t,(function(e){return r.isVarType(e,yr)?Mr(e):r.isVarType(e,kr)?Or(e):(o.add(e),e)}),(function(e){return Br(e,n)}));if("box-shadow"===e){var i=pr(a)(n);if(i.unparseableMatchesLength!==i.matchesLength)return i.result}return a},i=a();return o.size>0?new Promise((function(e){var t=o.values().next().value,n=function(){r.unsubscribeFromVariableTypeChanges(t,n);var o=a();e(o)};r.subscribeForVarTypeChange(t,n)})):i}:e.startsWith("border")||e.startsWith("outline")?function(e){return Rr(t,(function(e){return Lr(e)}),(function(t){return qr(t,e)}))}:null},e.prototype.subscribeForVarTypeChange=function(e,t){this.typeChangeSubscriptions.has(e)||this.typeChangeSubscriptions.set(e,new Set);var r=this.typeChangeSubscriptions.get(e);r.has(t)||r.add(t)},e.prototype.unsubscribeFromVariableTypeChanges=function(e,t){this.typeChangeSubscriptions.has(e)&&this.typeChangeSubscriptions.get(e).delete(t)},e.prototype.collectVariablesAndVarDep=function(e){var t=this;e.forEach((function(e){le(e,(function(e){e.style&&he(e.style,(function(e,r){Pr(e)&&t.inspectVariable(e,r),Dr(r)&&t.inspectVarDependant(e,r)}))}))}))},e.prototype.collectRootVariables=function(){var e=this;he(document.documentElement.style,(function(t,r){Pr(t)&&e.inspectVariable(t,r)}))},e.prototype.inspectVariable=function(e,t){this.unstableVarValues.set(e,t),Dr(t)&&Ir(t)&&(this.unknownColorVars.add(e),this.definedVars.add(e)),this.definedVars.has(e)||(this.definedVars.add(e),ur(t)?this.unknownColorVars.add(e):(t.includes("url(")||t.includes("linear-gradient(")||t.includes("radial-gradient("))&&this.resolveVariableType(e,kr))},e.prototype.resolveVariableType=function(e,t){var r=this.initialVarTypes.get(e)||0,n=(this.varTypes.get(e)||0)|t;this.varTypes.set(e,n),(n!==r||this.undefinedVars.has(e))&&(this.changedTypeVars.add(e),this.undefinedVars.delete(e)),this.unknownColorVars.delete(e),this.unknownBgVars.delete(e)},e.prototype.collectRootVarDependants=function(){var e=this;he(document.documentElement.style,(function(t,r){Dr(r)&&e.inspectVarDependant(t,r)}))},e.prototype.inspectVarDependant=function(e,t){var r=this;Pr(e)?this.iterateVarDeps(t,(function(t){r.varRefs.has(e)||r.varRefs.set(e,new Set),r.varRefs.get(e).add(t)})):"background-color"===e||"box-shadow"===e?this.iterateVarDeps(t,(function(e){return r.resolveVariableType(e,yr)})):"color"===e||"caret-color"===e?this.iterateVarDeps(t,(function(e){return r.resolveVariableType(e,Sr)})):e.startsWith("border")||e.startsWith("outline")?this.iterateVarDeps(t,(function(e){return r.resolveVariableType(e,_r)})):"background"!==e&&"background-image"!==e||this.iterateVarDeps(t,(function(e){if(!r.isVarType(e,yr|kr)){var t=null!=r.findVarRef(e,(function(e){return r.unknownColorVars.has(e)||r.isVarType(e,Sr|_r)}));r.itarateVarRefs(e,(function(e){t?r.resolveVariableType(e,yr):r.unknownBgVars.add(e)}))}}))},e.prototype.iterateVarDeps=function(e,t){var r=new Set;Vr(e,(function(e){return r.add(e)})),r.forEach((function(e){return t(e)}))},e.prototype.findVarRef=function(e,t,r){var n,a;if(void 0===r&&(r=new Set),r.has(e))return null;if(r.add(e),t(e))return e;var i=this.varRefs.get(e);if(!i||0===i.size)return null;try{for(var u=o(i),s=u.next();!s.done;s=u.next()){var c=s.value,l=this.findVarRef(c,t,r);if(l)return l}}catch(e){n={error:e}}finally{try{s&&!s.done&&(a=u.return)&&a.call(u)}finally{if(n)throw n.error}}return null},e.prototype.itarateVarRefs=function(e,t){this.findVarRef(e,(function(e){return t(e),!1}))},e.prototype.setOnRootVariableChange=function(e){this.onRootVariableDefined=e},e.prototype.putRootVars=function(e,t){var r,n,i=this,u=e.sheet;u.cssRules.length>0&&u.deleteRule(0);var s=new Map;he(document.documentElement.style,(function(e,r){Pr(e)&&(i.isVarType(e,yr)&&s.set(Mr(e),Br(r,t)),i.isVarType(e,Sr)&&s.set(Ar(e),Ur(r,t)),i.isVarType(e,_r)&&s.set(Lr(e),qr(r,t)),i.subscribeForVarTypeChange(e,i.onRootVariableDefined))}));var c=[];c.push(":root {");try{for(var l=o(s),d=l.next();!d.done;d=l.next()){var f=a(d.value,2),h=f[0],p=f[1];c.push(" "+h+": "+p+";")}}catch(e){r={error:e}}finally{try{d&&!d.done&&(n=l.return)&&n.call(l)}finally{if(r)throw r.error}}c.push("}");var v=c.join("\n");u.insertRule(v)},e}());function Er(e,t){void 0===t&&(t=0);var r=e.indexOf("var(",t);if(r>=0){var n=et(e,r+3);return n?{start:r,end:n.end}:null}}function Cr(e){for(var t,r=[],n=0;t=Er(e,n);){var o=t.start,a=t.end;r.push({start:o,end:a,value:e.substring(o,a)}),n=t.end+1}return r}function xr(e,t){var r=Cr(e),n=r.length;if(0===n)return e;var o=e.length,a=r.map((function(e){return t(e.value)})),i=[];i.push(e.substring(0,r[0].start));for(var u=0;u<n;u++){i.push(a[u]);var s=r[u].end,c=u<n-1?r[u+1].start:o;i.push(e.substring(s,c))}return i.join("")}function Tr(e){var t,r,n=e.indexOf(",");return n>=0?(t=e.substring(4,n).trim(),r=e.substring(n+1,e.length-1).trim()):(t=e.substring(4,e.length-1).trim(),r=""),{name:t,fallback:r}}function Rr(e,t,r){return xr(e,(function(e){var n=Tr(e),o=n.name,a=n.fallback,i=t(o);return a?"var("+i+", "+(Dr(a)?Rr(a,t,r):r?r(a):a)+")":"var("+i+")"}))}function Vr(e,t){Rr(e,(function(e){return t(e),e}))}function Mr(e){return"--darkreader-bg"+e}function Ar(e){return"--darkreader-text"+e}function Lr(e){return"--darkreader-border"+e}function Or(e){return"--darkreader-bgimg"+e}function Pr(e){return e.startsWith("--")}function Dr(e){return e.includes("var(")}function Ir(e){return e.match(/^\s*(rgb|hsl)a?\(/)}var Fr=/^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;function Nr(e){if(Fr.test(e)){var t=e.split(","),r="rgb(";return t.forEach((function(e){r+=e.trim()+", "})),r=r.substr(0,r.length-2),{isRaw:!0,color:r+=")"}}return{isRaw:!1,color:e}}function jr(e,t,r){var n=Nr(e),o=n.isRaw,a=n.color,i=ur(a);if(i){var u=r(i,t);if(o){var s=ur(u);return s?s.r+", "+s.g+", "+s.b:u}return u}return a}function Br(e,t){return jr(e,t,St)}function Ur(e,t){return jr(e,t,Ct)}function qr(e,t){return jr(e,t,Tt)}function Wr(e,t,r){void 0===r&&(r=new Set);var n=!1,o=xr(e,(function(e){var o=Tr(e),a=o.name,i=o.fallback;if(r.has(a))return n=!0,null;r.add(a);var u=t.get(a)||i,s=null;return u&&(s=Dr(u)?Wr(u,t,r):u),s||(n=!0,null)}));return n?null:o}var Hr={"background-color":{customProp:"--darkreader-inline-bgcolor",cssProp:"background-color",dataAttr:"data-darkreader-inline-bgcolor"},"background-image":{customProp:"--darkreader-inline-bgimage",cssProp:"background-image",dataAttr:"data-darkreader-inline-bgimage"},"border-color":{customProp:"--darkreader-inline-border",cssProp:"border-color",dataAttr:"data-darkreader-inline-border"},"border-bottom-color":{customProp:"--darkreader-inline-border-bottom",cssProp:"border-bottom-color",dataAttr:"data-darkreader-inline-border-bottom"},"border-left-color":{customProp:"--darkreader-inline-border-left",cssProp:"border-left-color",dataAttr:"data-darkreader-inline-border-left"},"border-right-color":{customProp:"--darkreader-inline-border-right",cssProp:"border-right-color",dataAttr:"data-darkreader-inline-border-right"},"border-top-color":{customProp:"--darkreader-inline-border-top",cssProp:"border-top-color",dataAttr:"data-darkreader-inline-border-top"},"box-shadow":{customProp:"--darkreader-inline-boxshadow",cssProp:"box-shadow",dataAttr:"data-darkreader-inline-boxshadow"},color:{customProp:"--darkreader-inline-color",cssProp:"color",dataAttr:"data-darkreader-inline-color"},fill:{customProp:"--darkreader-inline-fill",cssProp:"fill",dataAttr:"data-darkreader-inline-fill"},stroke:{customProp:"--darkreader-inline-stroke",cssProp:"stroke",dataAttr:"data-darkreader-inline-stroke"},"outline-color":{customProp:"--darkreader-inline-outline",cssProp:"outline-color",dataAttr:"data-darkreader-inline-outline"},"stop-color":{customProp:"--darkreader-inline-stopcolor",cssProp:"stop-color",dataAttr:"data-darkreader-inline-stopcolor"}},Gr=Object.values(Hr),zr={};Gr.forEach((function(e){var t=e.cssProp,r=e.customProp;return zr[r]=t}));var $r=["style","fill","stop-color","stroke","bgcolor","color"],Qr=$r.map((function(e){return"["+e+"]"})).join(", ");function Kr(){return Gr.map((function(e){var t=e.dataAttr,r=e.customProp;return["["+t+"] {"," "+e.cssProp+": var("+r+") !important;","}"].join("\n")})).join("\n")}function Xr(e){var t=[];return e instanceof Element&&e.matches(Qr)&&t.push(e),(e instanceof Element||g&&e instanceof ShadowRoot||e instanceof Document)&&O(t,e.querySelectorAll(Qr)),t}var Yr=new Map,Zr=new Map;function Jr(e,t){en(document,e,t),q(document.documentElement,(function(r){en(r.shadowRoot,e,t)}))}function en(e,t,r){Yr.has(e)&&(Yr.get(e).disconnect(),Zr.get(e).disconnect());var n=new WeakSet;function o(e){Xr(e).forEach((function(e){n.has(e)||(n.add(e),t(e))})),q(e,(function(o){n.has(e)||(n.add(e),r(o.shadowRoot),en(o.shadowRoot,t,r))}))}var u=oe(e,{onMinorMutations:function(e){e.additions.forEach((function(e){return o(e)}))},onHugeMutations:function(){o(e)}});Yr.set(e,u);var s=0,c=null,l=j({seconds:10}),d=j({seconds:2}),f=50,h=[],p=null,v=F((function(e){e.forEach((function(e){$r.includes(e.attributeName)&&t(e.target)}))})),m=new MutationObserver((function(e){if(p)h.push.apply(h,i([],a(e),!1));else{s++;var t=Date.now();if(null==c)c=t;else if(s>=f){if(t-c<l)return p=setTimeout((function(){c=null,s=0,p=null;var e=h;h=[],v(e)}),d),void h.push.apply(h,i([],a(e),!1));c=t,s=1}v(e)}}));m.observe(e,{attributes:!0,attributeFilter:$r.concat(Gr.map((function(e){return e.dataAttr}))),subtree:!0}),Zr.set(e,m)}function tn(){Yr.forEach((function(e){return e.disconnect()})),Zr.forEach((function(e){return e.disconnect()})),Yr.clear(),Zr.clear()}var rn=new WeakMap,nn=["brightness","contrast","grayscale","sepia","mode"];function on(e,t){return $r.map((function(t){return t+'="'+e.getAttribute(t)+'"'})).concat(nn.map((function(e){return e+'="'+t[e]+'"'}))).join(" ")}function an(e,t){for(var r=0,n=t.length;r<n;r++){var o=t[r];if(e.matches(o))return!0}return!1}function un(e,t,r,n){if(on(e,t)!==rn.get(e)){var o=new Set(Object.keys(Hr));if(r.length>0&&an(e,r))o.forEach((function(t){e.removeAttribute(Hr[t].dataAttr)}));else{if(e.hasAttribute("bgcolor")&&(((s=e.getAttribute("bgcolor")).match(/^[0-9a-f]{3}$/i)||s.match(/^[0-9a-f]{6}$/i))&&(s="#"+s),c("background-color","background-color",s)),e.hasAttribute("color")&&"mask-icon"!==e.rel&&(((s=e.getAttribute("color")).match(/^[0-9a-f]{3}$/i)||s.match(/^[0-9a-f]{6}$/i))&&(s="#"+s),c("color","color",s)),e instanceof SVGElement){if(e.hasAttribute("fill")){var a=32,i=e.getAttribute("fill");if("none"!==i)if(e instanceof SVGTextElement)c("fill","color",i);else{var u=function(){var t=e.getBoundingClientRect(),r=t.width,n=t.height;c("fill",r>a||n>a?"background-color":"color",i)};$()?u():K(u)}}e.hasAttribute("stop-color")&&c("stop-color","background-color",e.getAttribute("stop-color"))}if(e.hasAttribute("stroke")){var s=e.getAttribute("stroke");c("stroke",e instanceof SVGLineElement||e instanceof SVGTextElement?"border-color":"color",s)}e.style&&he(e.style,(function(t,r){if("background-image"!==t||!r.includes("url"))if(Hr.hasOwnProperty(t))c(t,t,r);else{var n=zr[t];if(n&&!e.style.getPropertyValue(n)&&!e.hasAttribute(n)){if("background-color"===n&&e.hasAttribute("bgcolor"))return;e.style.setProperty(t,"")}}})),e.style&&e instanceof SVGTextElement&&e.style.fill&&c("fill","color",e.style.getPropertyValue("fill")),L(o,(function(t){e.removeAttribute(Hr[t].dataAttr)})),rn.set(e,on(e,t))}}function c(r,a,i){var u=Hr[r],s=u.customProp,c=u.dataAttr,l=Zt(a,i,{},wr,n,null);if(l){var d=l.value;"function"==typeof d&&(d=d(t)),e.style.setProperty(s,d),e.hasAttribute(c)||e.setAttribute(c,""),o.delete(r)}}}var sn="theme-color",cn='meta[name="'+sn+'"]',ln=null,dn=null;function fn(e,t){ln=ln||e.content;try{var r=Le(ln);e.content=St(r,t)}catch(e){I(e)}}function hn(e){var t=document.querySelector(cn);t?fn(t,e):(dn&&dn.disconnect(),(dn=new MutationObserver((function(t){e:for(var r=0;r<t.length;r++)for(var n=t[r].addedNodes,o=0;o<n.length;o++){var a=n[o];if(a instanceof HTMLMetaElement&&a.name===sn){dn.disconnect(),dn=null,fn(a,e);break e}}}))).observe(document.head,{childList:!0}))}function pn(){dn&&(dn.disconnect(),dn=null);var e=document.querySelector(cn);e&&ln&&(e.content=ln)}var vn=["mode","brightness","contrast","grayscale","sepia","darkSchemeBackgroundColor","darkSchemeTextColor","lightSchemeBackgroundColor","lightSchemeTextColor"];function mn(e){return vn.map((function(t){return t+":"+e[t]})).join(";")}var gn=N();function bn(){var e=0,t=new Set,r=new Map,n=new Set,o=null,u=!1,s=!1;function c(){return u&&!s}function l(c){var l=c.sourceCSSRules,d=c.theme,f=c.ignoreImageAnalysis,h=c.force,p=c.prepareSheet,v=c.isAsyncCancelled,m=0===r.size,g=new Set(r.keys()),b=mn(d),y=b!==o;u&&(s=!0);var S=[];if(le(l,(function(e){var n=e.cssText,o=!1;if(g.delete(n),e.parentRule instanceof CSSMediaRule&&(n+=";"+e.parentRule.media.mediaText),t.has(n)||(t.add(n),o=!0),o){m=!0;var a=[];e.style&&he(e.style,(function(t,r){var n=Zt(t,r,e,wr,f,v);n&&a.push(n)}));var i=null;if(a.length>0){var u=e.parentRule;i={selector:e.selectorText,declarations:a,parentRule:u},S.push(i)}r.set(n,i)}else S.push(r.get(n))}),(function(){u=!0})),g.forEach((function(e){t.delete(e),r.delete(e)})),o=b,h||m||y){e++;var _=new Map,k=new Map,w=0,E=0,C={rule:null,rules:[],isGroup:!0},x=new WeakMap;n.forEach((function(e){return e()})),n.clear(),S.filter((function(e){return e})).forEach((function(t){var r=t.selector,o=t.declarations,u=V(t.parentRule),s={selector:r,declarations:[],isGroup:!1},c=s.declarations;function l(t,r,n,o){var a=++w,i={property:t,value:null,important:n,asyncKey:a,sourceValue:o};c.push(i);var u=e;r.then((function(t){t&&!v()&&u===e&&(i.value=t,gn.add((function(){v()||u!==e||A(a)})))}))}function f(t,r,o,u){var s=r,d=s.declarations,f=s.onTypeChange,h=++E,p=e,m=c.length,g=[];if(0===d.length){var b={property:t,value:u,important:o,sourceValue:u,varKey:h};c.push(b),g=[b]}d.forEach((function(e){if(e.value instanceof Promise)l(e.property,e.value,o,u);else{var t={property:e.property,value:e.value,important:o,sourceValue:u,varKey:h};c.push(t),g.push(t)}})),f.addListener((function(t){if(!v()&&p===e){var r=t.map((function(e){return{property:e.property,value:e.value,important:o,sourceValue:u,varKey:h}})),n=c.indexOf(g[0],m);c.splice.apply(c,i([n,g.length],a(r),!1)),g=r,L(h)}})),n.add((function(){return f.removeListeners()}))}u.rules.push(s),o.forEach((function(e){var t=e.property,r=e.value,n=e.important,o=e.sourceValue;if("function"==typeof r){var a=r(d);a instanceof Promise?l(t,a,n,o):t.startsWith("--")?f(t,a,n,o):c.push({property:t,value:a,important:n,sourceValue:o})}else c.push({property:t,value:r,important:n,sourceValue:o})}))}));var T=p();M()}function R(e,t,r){var n=r.selector,o=r.declarations,a=function(e){var t=e.property,r=e.value,n=e.important,o=e.sourceValue;return t+": "+(null==r?o:r)+(n?" !important":"")+";"},i="";o.forEach((function(e){i+=a(e)+" "}));var u=n+" { "+i+" }";e.insertRule(u,t)}function V(e){if(null==e)return C;if(x.has(e))return x.get(e);var t={rule:e,rules:[],isGroup:!0};return x.set(e,t),V(e.parentRule).rules.push(t),t}function M(){function e(e,t){var r=e.rule;if(r instanceof CSSMediaRule){var n=r.media,o=t.cssRules.length;return t.insertRule("@media "+n.mediaText+" {}",o),t.cssRules[o]}return t}function t(r,n,o){r.rules.forEach((function(r){r.isGroup?t(r,e(r,n),o):o(r,n)}))}t(C,T,(function(e,t){var r=t.cssRules.length;e.declarations.forEach((function(n){var o=n.asyncKey,a=n.varKey;null!=o&&_.set(o,{rule:e,target:t,index:r}),null!=a&&k.set(a,{rule:e,target:t,index:r})})),R(t,r,e)}))}function A(e){var t=_.get(e),r=t.rule,n=t.target,o=t.index;n.deleteRule(o),R(n,o,r),_.delete(e)}function L(e){var t=k.get(e),r=t.rule,n=t.target,o=t.index;n.deleteRule(o),R(n,o,r)}}return{modifySheet:l,shouldRebuildStyle:c}}var yn='style, link[rel*="stylesheet" i]:not([disabled])';function Sn(e){return(e instanceof HTMLStyleElement||e instanceof SVGStyleElement||e instanceof HTMLLinkElement&&e.rel&&e.rel.toLowerCase().includes("stylesheet")&&!e.disabled&&(!f||!e.href.startsWith("moz-extension://")))&&!e.classList.contains("darkreader")&&"print"!==e.media.toLowerCase()&&!e.classList.contains("stylus")}function _n(e,t,r){return void 0===t&&(t=[]),void 0===r&&(r=!0),Sn(e)?t.push(e):(e instanceof Element||g&&e instanceof ShadowRoot||e===document)&&(L(e.querySelectorAll(yn),(function(e){return _n(e,t,!1)})),r&&q(e,(function(e){return _n(e.shadowRoot,t,!1)}))),t}var kn=new WeakSet,wn=new WeakSet,En=!1;"undefined"!=typeof document&&document.addEventListener("__darkreader__inlineScriptsAllowed",(function(){En=!0}));var Cn=0,xn=new Map;function Tn(){xn.clear()}function Rn(e,t){for(var o=t.update,i=t.loadingStart,u=t.loadingEnd,s=[],c=e;(c=c.nextElementSibling)&&c.matches(".darkreader");)s.push(c);var f=s.find((function(e){return e.matches(".darkreader--cors")&&!wn.has(e)}))||null,p=s.find((function(e){return e.matches(".darkreader--sync")&&!kn.has(e)}))||null,v=null,m=null,g=!1,b=!0,y=bn(),S=new MutationObserver((function(){o()})),_={attributes:!0,childList:!0,subtree:!0,characterData:!0};function k(){return e instanceof HTMLStyleElement&&e.textContent.trim().match(ve)}function w(e,t){var r=!1;if(e){var n=void 0;e:for(var o=0,a=e.length;o<a;o++)if((n=e[o]).href){if(!t){r=!0;break e}if(n.href.startsWith("http")&&!n.href.startsWith(location.origin)){r=!0;break e}}}return r}function E(){if(f)return D("[getRulesSync] Using cors-copy."),f.sheet.cssRules;if(k())return D("[getRulesSync] CSSImport detected."),null;var t=N();return e instanceof HTMLLinkElement&&!ce(e.href)&&w(t,!1)?(D("[getRulesSync] CSSImportRule detected on non-local href."),null):w(t,!0)?(D("[getRulesSync] Cross-Origin CSSImportRule detected."),null):(D("[getRulesSync] Using cssRules."),!t&&I("[getRulesSync] cssRules is null, trying again."),t)}function C(){f?(e.nextSibling!==f&&e.parentNode.insertBefore(f,e.nextSibling),f.nextSibling!==p&&e.parentNode.insertBefore(p,f.nextSibling)):e.nextSibling!==p&&e.parentNode.insertBefore(p,e.nextSibling)}function x(){(p=e instanceof SVGStyleElement?document.createElementNS("http://www.w3.org/2000/svg","style"):document.createElement("style")).classList.add("darkreader"),p.classList.add("darkreader--sync"),p.media="screen",!l&&e.title&&(p.title=e.title),kn.add(p)}var T=!1,R=!1,V=++Cn;function M(){return r(this,void 0,void 0,(function(){var t,r,o,i,u,s,c;return n(this,(function(n){switch(n.label){case 0:if(!(e instanceof HTMLLinkElement))return[3,7];if(o=a(P(),2),i=o[0],(u=o[1])&&I(u),(i||u||h)&&(!h||e.sheet)&&!F(u))return[3,5];n.label=1;case 1:return n.trys.push([1,3,,4]),D("Linkelement "+V+" is not loaded yet and thus will be await for",e),[4,Vn(e,V)];case 2:return n.sent(),[3,4];case 3:return I(n.sent()),R=!0,[3,4];case 4:if(g)return[2,null];c=a(P(),2),i=c[0],(u=c[1])&&I(u),n.label=5;case 5:return i&&!w(i,!1)?[2,i]:[4,An(e.href)];case 6:return t=n.sent(),r=ge(e.href),g?[2,null]:[3,8];case 7:if(!k())return[2,null];t=e.textContent.trim(),r=ge(location.href),n.label=8;case 8:if(!t)return[3,13];n.label=9;case 9:return n.trys.push([9,11,,12]),[4,Ln(t,r)];case 10:return s=n.sent(),f=On(e,s),[3,12];case 11:return I(n.sent()),[3,12];case 12:if(f)return v=U(f,"prev-sibling"),[2,f.sheet.cssRules];n.label=13;case 13:return[2,null]}}))}))}function A(e){var t=E();return t?{rules:t}:e.secondRound?(I("Detected dead-lock at details(), returning early to prevent it."),null):(T||R||(T=!0,i(),M().then((function(e){T=!1,u(),e&&o()})).catch((function(e){I(e),T=!1,u()}))),null)}var L=!1;function O(e,t){var r=E();function n(e){try{if(e.replaceSync)return void e.replaceSync("")}catch(e){I("Could not use fastpath for removing rules from stylesheet",e)}for(var t=e.cssRules.length-1;t>=0;t--)e.deleteRule(t)}function a(){return p||x(),m&&m.stop(),C(),null==p.sheet&&(p.textContent=""),n(p.sheet),m?m.run():m=U(p,"prev-sibling",(function(){L=!0,i()})),p.sheet}function i(){var n=L;L=!1,y.modifySheet({prepareSheet:a,sourceCSSRules:r,theme:e,ignoreImageAnalysis:t,force:n,isAsyncCancelled:function(){return g}}),b=0===p.sheet.cssRules.length,y.shouldRebuildStyle()&&K((function(){return o()}))}r&&(g=!1,i())}function P(){try{return null==e.sheet?[null,null]:[e.sheet.cssRules,null]}catch(e){return[null,e]}}function F(e){return e&&e.message&&e.message.includes("loading")}function N(){var e=a(P(),2),t=e[0],r=e[1];return r?(I(r),null):t}function j(){Y(),d||En&&e.sheet||z()}var q=null,W=null;function H(){var e=N();return e?e.length:null}function G(){return H()!==q}function z(){q=H(),$();var t=function(){G()&&(q=H(),o()),En&&e.sheet?$():W=requestAnimationFrame(t)};t()}function $(){cancelAnimationFrame(W)}var Q=!1;function X(){function e(){Q=!1,g||o()}En=!0,$(),Q||(Q=!0,"function"==typeof queueMicrotask?queueMicrotask(e):requestAnimationFrame(e))}function Y(){e.addEventListener("__darkreader__updateSheet",X)}function Z(){e.removeEventListener("__darkreader__updateSheet",X)}function J(){Z(),$()}function ee(){S.disconnect(),g=!0,v&&v.stop(),m&&m.stop(),J()}function te(){if(ee(),B(f),B(p),u(),xn.has(V)){var e=xn.get(V);xn.delete(V),e&&e()}}function re(){S.observe(e,_),e instanceof HTMLStyleElement&&j()}var ne=10,oe=0;function ae(){p&&(++oe>ne?I("Style sheet was moved multiple times",e):(I("Restore style",p,e),C(),v&&v.skip(),m&&m.skip(),b||(L=!0,o())))}return{details:A,render:O,pause:ee,destroy:te,watch:re,restore:ae}}function Vn(e,t){return r(this,void 0,void 0,(function(){return n(this,(function(r){return[2,new Promise((function(r,n){var o=function(){e.removeEventListener("load",a),e.removeEventListener("error",i),xn.delete(t)},a=function(){o(),D("Linkelement "+t+" has been loaded"),r()},i=function(){o(),n("Linkelement "+t+" couldn't be loaded. "+e.href)};xn.set(t,(function(){o(),n()})),e.addEventListener("load",a),e.addEventListener("error",i),e.href||i()}))]}))}))}function Mn(e){return me(e.substring(7).trim().replace(/;$/,"").replace(/screen$/,""))}function An(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return e.startsWith("data:")?[4,fetch(e)]:[3,3];case 1:return[4,t.sent().text()];case 2:case 4:return[2,t.sent()];case 3:return[4,Ft({url:e,responseType:"text",mimeType:"text/css",origin:window.location.origin})]}}))}))}function Ln(e,t,a){return void 0===a&&(a=new Map),r(this,void 0,void 0,(function(){var r,i,u,s,c,l,d,f,h,p;return n(this,(function(n){switch(n.label){case 0:e=be(e=ke(e=Se(e)),t),r=Ze(ve,e),n.label=1;case 1:n.trys.push([1,10,11,12]),i=o(r),u=i.next(),n.label=2;case 2:return u.done?[3,9]:(s=u.value,c=Mn(s),l=se(t,c),d=void 0,a.has(l)?(d=a.get(l),[3,7]):[3,3]);case 3:return n.trys.push([3,6,,7]),[4,An(l)];case 4:return d=n.sent(),a.set(l,d),[4,Ln(d,ge(l),a)];case 5:return d=n.sent(),[3,7];case 6:return I(n.sent()),d="",[3,7];case 7:e=e.split(s).join(d),n.label=8;case 8:return u=i.next(),[3,2];case 9:return[3,12];case 10:return f=n.sent(),h={error:f},[3,12];case 11:try{u&&!u.done&&(p=i.return)&&p.call(i)}finally{if(h)throw h.error}return[7];case 12:return[2,e=e.trim()]}}))}))}function On(e,t){if(!t)return null;var r=document.createElement("style");return r.classList.add("darkreader"),r.classList.add("darkreader--cors"),r.media="screen",r.textContent=t,e.parentNode.insertBefore(r,e.nextSibling),r.sheet.disabled=!0,wn.add(r),r}var Pn,Dn,In=[],Fn=new Map;function Nn(e){y&&L(e.querySelectorAll(":not(:defined)"),(function(e){var t=e.tagName.toLowerCase();if(!t.includes("-")){var r=e.getAttribute("is");if(!r)return;t=r}Fn.has(t)||(Fn.set(t,new Set),qn(t).then((function(){if(Dn){var e=Fn.get(t);Fn.delete(t),Dn(Array.from(e))}}))),Fn.get(t).add(e)}))}var jn=!1;"undefined"!=typeof document&&document.addEventListener("__darkreader__inlineScriptsAllowed",(function(){jn=!0}));var Bn=new Map;function Un(e){jn=!0,Bn.has(e.detail.tag)&&Bn.get(e.detail.tag)()}function qn(e){return r(this,void 0,void 0,(function(){return n(this,(function(t){return[2,new Promise((function(t){if(window.customElements&&"function"==typeof customElements.whenDefined)customElements.whenDefined(e).then((function(){return t()}));else if(jn)Bn.set(e,t),document.dispatchEvent(new CustomEvent("__darkreader__addUndefinedResolver",{detail:{tag:e}}));else{var r=function(){var n=Fn.get(e);n&&n.size>0&&(n.values().next().value.matches(":defined")?t():requestAnimationFrame(r))};requestAnimationFrame(r)}}))]}))}))}function Wn(e){Dn=e}function Hn(){Dn=null,Fn.clear(),document.removeEventListener("__darkreader__isDefined",Un)}function Gn(e,t,r){$n();var n=new Set(e),o=new WeakMap,a=new WeakMap;function i(e){o.set(e,e.previousElementSibling),a.set(e,e.nextElementSibling)}function u(e){o.delete(e),a.delete(e)}function s(e){return e.previousElementSibling!==o.get(e)||e.nextElementSibling!==a.get(e)}function c(e){var r=e.createdStyles,o=e.removedStyles,a=e.movedStyles;r.forEach((function(e){return i(e)})),a.forEach((function(e){return i(e)})),o.forEach((function(e){return u(e)})),r.forEach((function(e){return n.add(e)})),o.forEach((function(e){return n.delete(e)})),r.size+o.size+a.size>0&&t({created:Array.from(r),removed:Array.from(o),moved:Array.from(a),updated:[]})}function l(e){var t=e.additions,r=e.moves,n=e.deletions,o=new Set,a=new Set,i=new Set;t.forEach((function(e){return _n(e).forEach((function(e){return o.add(e)}))})),n.forEach((function(e){return _n(e).forEach((function(e){return a.add(e)}))})),r.forEach((function(e){return _n(e).forEach((function(e){return i.add(e)}))})),c({createdStyles:o,removedStyles:a,movedStyles:i}),t.forEach((function(e){q(e,p),Nn(e)}))}function d(e){var t=new Set(_n(e)),r=new Set,o=new Set,a=new Set;t.forEach((function(e){n.has(e)||r.add(e)})),n.forEach((function(e){t.has(e)||o.add(e)})),t.forEach((function(e){r.has(e)||o.has(e)||!s(e)||a.add(e)})),c({createdStyles:r,removedStyles:o,movedStyles:a}),q(e,p),Nn(e)}function f(e){var r=new Set,n=new Set;e.forEach((function(e){var t=e.target;t.isConnected&&(Sn(t)?r.add(t):t instanceof HTMLLinkElement&&t.disabled&&n.add(t))})),r.size+n.size>0&&t({updated:Array.from(r),created:[],removed:Array.from(n),moved:[]})}function h(e){var t=oe(e,{onMinorMutations:l,onHugeMutations:d}),r=new MutationObserver(f);r.observe(e,{attributes:!0,attributeFilter:["rel","disabled","media"],subtree:!0}),In.push(t,r),Pn.add(e)}function p(e){var t=e.shadowRoot;null==t||Pn.has(t)||(h(t),r(t))}e.forEach(i),h(document),q(document.documentElement,p),Wn((function(e){var r=[];e.forEach((function(e){return O(r,_n(e.shadowRoot))})),t({created:r,updated:[],removed:[],moved:[]}),e.forEach((function(e){var t=e.shadowRoot;null!=t&&(p(e),q(t,p),Nn(t))}))})),document.addEventListener("__darkreader__isDefined",Un),Nn(document)}function zn(){In.forEach((function(e){return e.disconnect()})),In.splice(0,In.length),Pn=new WeakSet}function $n(){zn(),Hn()}function Qn(e){return(e<16?"0":"")+e.toString(16)}function Kn(){if("undefined"==typeof crypto)return"xxx-xxxx";if("randomUUID"in crypto){var e=crypto.randomUUID();return e.substring(0,8)+e.substring(9,13)+e.substring(14,18)+e.substring(19,23)+e.substring(24)}return Array.from(crypto.getRandomValues(new Uint8Array(16))).map((function(e){return Qn(e)})).join("")}var Xn=new WeakMap,Yn=new WeakSet;function Zn(e){var t=!1;function r(t,r){var n=i([],a(e.adoptedStyleSheets),!1),o=n.indexOf(t),u=n.indexOf(r);o!==u-1&&(u>=0&&n.splice(u,1),n.splice(o+1,0,r),e.adoptedStyleSheets=n)}function n(){t=!0;var r=i([],a(e.adoptedStyleSheets),!1);e.adoptedStyleSheets.forEach((function(e){if(Yn.has(e)){var t=r.indexOf(e);t>=0&&r.splice(t,1),Xn.delete(e),Yn.delete(e)}})),e.adoptedStyleSheets=r}function o(n,o){e.adoptedStyleSheets.forEach((function(e){if(!Yn.has(e)){var a=e.rules,i=new CSSStyleSheet;bn().modifySheet({prepareSheet:u,sourceCSSRules:a,theme:n,ignoreImageAnalysis:o,force:!1,isAsyncCancelled:function(){return t}})}function u(){for(var t=i.cssRules.length-1;t>=0;t--)i.deleteRule(t);return r(e,i),Xn.set(e,i),Yn.add(i),i}}))}return{render:o,destroy:n}}function Jn(e){document.dispatchEvent(new CustomEvent("__darkreader__inlineScriptsAllowed"));var t=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"addRule"),r=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"insertRule"),n=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"deleteRule"),o=Object.getOwnPropertyDescriptor(CSSStyleSheet.prototype,"removeRule"),u=e?Object.getOwnPropertyDescriptor(Document.prototype,"styleSheets"):null,s=location.hostname.endsWith("baidu.com"),c=s?Object.getOwnPropertyDescriptor(Element.prototype,"getElementsByTagName"):null,l=function(){Object.defineProperty(CSSStyleSheet.prototype,"addRule",t),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",r),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",n),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",o),document.removeEventListener("__darkreader__cleanUp",l),document.removeEventListener("__darkreader__addUndefinedResolver",d),e&&Object.defineProperty(Document.prototype,"styleSheets",u),s&&Object.defineProperty(Element.prototype,"getElementsByTagName",c)},d=function(e){customElements.whenDefined(e.detail.tag).then((function(){document.dispatchEvent(new CustomEvent("__darkreader__isDefined",{detail:{tag:e.detail.tag}}))}))};document.addEventListener("__darkreader__cleanUp",l),document.addEventListener("__darkreader__addUndefinedResolver",d);var f=new Event("__darkreader__updateSheet");function h(e,r,n){return t.value.call(this,e,r,n),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(f),-1}function p(e,t){var n=r.value.call(this,e,t);return this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(f),n}function v(e){n.value.call(this,e),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(f)}function m(e){o.value.call(this,e),this.ownerNode&&!this.ownerNode.classList.contains("darkreader")&&this.ownerNode.dispatchEvent(f)}function g(){var e=i([],a(u.get.call(this)),!1).filter((function(e){return!e.ownerNode.classList.contains("darkreader")}));return Object.setPrototypeOf(e,StyleSheetList.prototype)}function b(e){var t=this;if("style"!==e)return c.value.call(this,e);var r=function(){var r=c.value.call(t,e);return Object.setPrototypeOf(i([],a(r),!1).filter((function(e){return!e.classList.contains("darkreader")})),NodeList.prototype)},n=r();return n=new Proxy(n,{get:function(e,t){return r()[Number(t)]}})}Object.defineProperty(CSSStyleSheet.prototype,"addRule",Object.assign({},t,{value:h})),Object.defineProperty(CSSStyleSheet.prototype,"insertRule",Object.assign({},r,{value:p})),Object.defineProperty(CSSStyleSheet.prototype,"deleteRule",Object.assign({},n,{value:v})),Object.defineProperty(CSSStyleSheet.prototype,"removeRule",Object.assign({},o,{value:m})),e&&Object.defineProperty(Document.prototype,"styleSheets",Object.assign({},u,{get:g})),s&&Object.defineProperty(Element.prototype,"getElementsByTagName",Object.assign({},c,{value:b}))}var eo=Kn(),to=new Map,ro=[],no=null,oo=null,ao=null,io=null,uo=null;function so(e,t){void 0===t&&(t=document.head||document);var r=t.querySelector("."+e);return r||((r=document.createElement("style")).classList.add("darkreader"),r.classList.add(e),r.media="screen",r.textContent=""),r}function co(e,t){void 0===t&&(t=document.head||document);var r=t.querySelector("."+e);return r||((r=document.createElement("script")).classList.add("darkreader"),r.classList.add(e)),r}var lo=new Map;function fo(e,t){lo.has(t)&&lo.get(t).stop(),lo.set(t,U(e,"parent"))}function ho(){L(lo.values(),(function(e){return e.stop()})),lo.clear()}function po(){var e=so("darkreader--fallback",document);e.textContent=nr(no,{strict:!0}),document.head.insertBefore(e,document.head.firstChild),fo(e,"fallback");var r=so("darkreader--user-agent");r.textContent=Jt(no,ao,no.styleSystemControls),document.head.insertBefore(r,e.nextSibling),fo(r,"user-agent");var n=so("darkreader--text");no.useFont||no.textStroke>0?n.textContent=Mt(no):n.textContent="",document.head.insertBefore(n,e.nextSibling),fo(n,"text");var o=so("darkreader--invert");oo&&Array.isArray(oo.invert)&&oo.invert.length>0?o.textContent=[oo.invert.join(", ")+" {"," filter: "+At(t(t({},no),{contrast:0===no.mode?no.contrast:Xe(no.contrast-10,0,100)}))+" !important;","}"].join("\n"):o.textContent="",document.head.insertBefore(o,n.nextSibling),fo(o,"invert");var a=so("darkreader--inline");a.textContent=Kr(),document.head.insertBefore(a,o.nextSibling),fo(a,"inline");var i=so("darkreader--override");i.textContent=oo&&oo.css?go(oo.css):"",document.head.appendChild(i),fo(i,"override");var u=so("darkreader--variables"),s=er(no),c=no.darkSchemeBackgroundColor,l=no.darkSchemeTextColor,d=no.lightSchemeBackgroundColor,f=no.lightSchemeTextColor,h=no.mode,p=0===h?d:c,v=0===h?f:l;p=St(Le(p),no),v=Ct(Le(v),no),u.textContent=[":root {"," --darkreader-neutral-background: "+p+";"," --darkreader-neutral-text: "+v+";"," --darkreader-selection-background: "+s.backgroundColorSelection+";"," --darkreader-selection-text: "+s.foregroundColorSelection+";","}"].join("\n"),document.head.insertBefore(u,a.nextSibling),fo(u,"variables");var m=so("darkreader--root-vars");document.head.insertBefore(m,u.nextSibling);var g=co("darkreader--proxy");g.append("("+Jn+")(!"+(oo&&oo.disableStyleSheetsProxy)+")"),document.head.insertBefore(g,m.nextSibling),g.remove()}var vo=new Set;function mo(e){var r=so("darkreader--inline",e);r.textContent=Kr(),e.insertBefore(r,e.firstChild);var n=so("darkreader--override",e);n.textContent=oo&&oo.css?go(oo.css):"",e.insertBefore(n,r.nextSibling);var o=so("darkreader--invert",e);oo&&Array.isArray(oo.invert)&&oo.invert.length>0?o.textContent=[oo.invert.join(", ")+" {"," filter: "+At(t(t({},no),{contrast:0===no.mode?no.contrast:Xe(no.contrast-10,0,100)}))+" !important;","}"].join("\n"):o.textContent="",e.insertBefore(o,n.nextSibling),vo.add(e)}function go(e){return e.replace(/\${(.+?)}/g,(function(e,t){var r=ur(t);return r?vt(r,no):(I("Couldn't parse CSSTemplate's color."),t)}))}function bo(){var e=document.querySelector(".darkreader--fallback");e&&(e.textContent="")}function yo(){Co();var e=_n(document).filter((function(e){return!to.has(e)})).map((function(e){return ko(e)}));e.map((function(e){return e.details({secondRound:!1})})).filter((function(e){return e&&e.rules.length>0})).forEach((function(e){wr.addRulesForMatching(e.rules)})),wr.matchVariablesAndDependants(),wr.setOnRootVariableChange((function(){wr.putRootVars(document.head.querySelector(".darkreader--root-vars"),no)})),wr.putRootVars(document.head.querySelector(".darkreader--root-vars"),no),to.forEach((function(e){return e.render(no,io)})),0===_o.size&&bo(),e.forEach((function(e){return e.watch()}));var t=P(document.querySelectorAll(Qr));q(document.documentElement,(function(e){mo(e.shadowRoot);var r=e.shadowRoot.querySelectorAll(Qr);r.length>0&&O(t,r)})),t.forEach((function(e){return un(e,no,uo,io)})),Lo(document)}var So=0,_o=new Set;function ko(e){var t=++So;function r(){if(!W()||!Ro){_o.add(t),D("Current amount of styles loading: "+_o.size);var e=document.querySelector(".darkreader--fallback");e.textContent||(e.textContent=nr(no,{strict:!1}))}}function n(){_o.delete(t),D("Removed loadingStyle "+t+", now awaiting: "+_o.size),D("To-do to be loaded",_o),0===_o.size&&W()&&bo()}function o(){var e=a.details({secondRound:!0});e&&(wr.addRulesForMatching(e.rules),wr.matchVariablesAndDependants(),a.render(no,io))}D("New manager for element, with loadingStyleID "+t,e);var a=Rn(e,{update:o,loadingStart:r,loadingEnd:n});return to.set(e,a),a}function wo(e){var t=to.get(e);t&&(t.destroy(),to.delete(e))}var Eo=F((function(e){to.forEach((function(e){return e.render(no,io)})),ro.forEach((function(e){return e.render(no,io)})),e&&e()})),Co=function(){Eo.cancel()};function xo(){0!==_o.size?I("DOM is ready, but still have styles being loaded.",_o):bo()}var To=null,Ro="undefined"!=typeof document&&!document.hidden;function Vo(e){var t=Boolean(To);To=function(){document.hidden||(Mo(),e(),Ro=!0)},t||document.addEventListener("visibilitychange",To)}function Mo(){document.removeEventListener("visibilitychange",To),To=null}function Ao(){function e(){yo(),Oo()}po(),document.hidden?Vo(e):e(),hn(no)}function Lo(e){if(Array.isArray(e.adoptedStyleSheets)&&e.adoptedStyleSheets.length>0){var t=Zn(e);ro.push(t),t.render(no,io)}}function Oo(){Gn(Array.from(to.keys()),(function(e){var t=e.created,r=e.updated,n=e.removed,o=e.moved,a=n,i=t.concat(r).concat(o).filter((function(e){return!to.has(e)})),u=o.filter((function(e){return to.has(e)}));D("Styles to be removed:",a),a.forEach((function(e){return wo(e)}));var s=i.map((function(e){return ko(e)}));s.map((function(e){return e.details({secondRound:!1})})).filter((function(e){return e&&e.rules.length>0})).forEach((function(e){wr.addRulesForMatching(e.rules)})),wr.matchVariablesAndDependants(),s.forEach((function(e){return e.render(no,io)})),s.forEach((function(e){return e.watch()})),u.forEach((function(e){return to.get(e).restore()}))}),(function(e){mo(e),Lo(e)})),Jr((function(e){un(e,no,uo,io),e===document.documentElement&&e.getAttribute("style").includes("--")&&(wr.matchVariablesAndDependants(),wr.putRootVars(document.head.querySelector(".darkreader--root-vars"),no))}),(function(e){mo(e);var t=e.querySelectorAll(Qr);t.length>0&&L(t,(function(e){return un(e,no,uo,io)}))})),G(xo)}function Po(){to.forEach((function(e){return e.pause()})),ho(),$n(),tn(),z(xo),X()}function Do(){var e=document.createElement("meta");e.name="darkreader",e.content=eo,document.head.appendChild(e)}function Io(){var e=document.querySelector('meta[name="darkreader"]');return e?e.content!==eo:(Do(),!1)}function Fo(e,t,r){if(no=e,(oo=t)?(io=Array.isArray(oo.ignoreImageAnalysis)?oo.ignoreImageAnalysis:[],uo=Array.isArray(oo.ignoreInlineStyle)?oo.ignoreInlineStyle:[]):(io=[],uo=[]),ao=r,document.head){if(Io())return;document.documentElement.setAttribute("data-darkreader-mode","dynamic"),document.documentElement.setAttribute("data-darkreader-scheme",no.mode?"dark":"dimmed"),Ao()}else{if(!f){var n=so("darkreader--fallback");document.documentElement.appendChild(n),n.textContent=nr(no,{strict:!0})}var o=new MutationObserver((function(){if(document.head){if(o.disconnect(),Io())return void jo();Ao()}}));o.observe(document,{childList:!0,subtree:!0})}}function No(){document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),B(document.head.querySelector(".darkreader--proxy"))}function jo(){document.documentElement.removeAttribute("data-darkreader-mode"),document.documentElement.removeAttribute("data-darkreader-scheme"),Bo(),B(document.querySelector(".darkreader--fallback")),document.head&&(pn(),B(document.head.querySelector(".darkreader--user-agent")),B(document.head.querySelector(".darkreader--text")),B(document.head.querySelector(".darkreader--invert")),B(document.head.querySelector(".darkreader--inline")),B(document.head.querySelector(".darkreader--override")),B(document.head.querySelector(".darkreader--variables")),B(document.head.querySelector(".darkreader--root-vars")),B(document.head.querySelector('meta[name="darkreader"]')),No()),vo.forEach((function(e){B(e.querySelector(".darkreader--inline")),B(e.querySelector(".darkreader--override"))})),vo.clear(),L(to.keys(),(function(e){return wo(e)})),_o.clear(),Tn(),L(document.querySelectorAll(".darkreader"),B),ro.forEach((function(e){e.destroy()})),ro.splice(0)}function Bo(){wr.clear(),ae.clear(),Mo(),Co(),Po(),br()}var Uo=/url\(\"(blob\:.*?)\"\)/g;function qo(e){return r(this,void 0,void 0,(function(){var t,r;return n(this,(function(n){switch(n.label){case 0:return t=[],Ze(Uo,e,1).forEach((function(e){var r=_(e);t.push(r)})),[4,Promise.all(t)];case 1:return r=n.sent(),[2,e.replace(Uo,(function(){return'url("'+r.shift()+'")'}))]}}))}))}var Wo='/*\n _______\n / \\\n .==. .==.\n (( ))==(( ))\n / "==" "=="\\\n /____|| || ||___\\\n ________ ____ ________ ___ ___\n | ___ \\ / \\ | ___ \\ | | / /\n | | \\ \\ / /\\ \\ | | \\ \\| |_/ /\n | | ) / /__\\ \\ | |__/ /| ___ \\\n | |__/ / ______ \\| ____ \\| | \\ \\\n_______|_______/__/ ____ \\__\\__|___\\__\\__|___\\__\\____\n| ___ \\ | ____/ / \\ | ___ \\ | ____| ___ \\\n| | \\ \\| |___ / /\\ \\ | | \\ \\| |___| | \\ \\\n| |__/ /| ____/ /__\\ \\ | | ) | ____| |__/ /\n| ____ \\| |__/ ______ \\| |__/ /| |___| ____ \\\n|__| \\__\\____/__/ \\__\\_______/ |______|__| \\__\\\n https://darkreader.org\n*/\n\n/*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/master/LICENSE */\n';function Ho(){return r(this,void 0,void 0,(function(){function e(e,r){var n=document.querySelector(e);n&&n.textContent&&(t.push("/* "+r+" */"),t.push(n.textContent),t.push(""))}var t,r,o,a,i;return n(this,(function(n){switch(n.label){case 0:return t=[Wo],e(".darkreader--fallback","Fallback Style"),e(".darkreader--user-agent","User-Agent Style"),e(".darkreader--text","Text Style"),e(".darkreader--invert","Invert Style"),e(".darkreader--variables","Variables Style"),r=[],document.querySelectorAll(".darkreader--sync").forEach((function(e){L(e.sheet.cssRules,(function(e){e&&e.cssText&&r.push(e.cssText)}))})),r.length?(o=Je(r.join("\n")),t.push("/* Modified CSS */"),i=(a=t).push,[4,qo(o)]):[3,2];case 1:i.apply(a,[n.sent()]),t.push(""),n.label=2;case 2:return e(".darkreader--override","Override Style"),[2,t.join("\n")]}}))}))}var Go=!1,zo=function(){if("undefined"==typeof window)return!1;try{return window.self!==window.top}catch(e){return console.warn(e),!0}}();function $o(e,r){void 0===e&&(e={}),void 0===r&&(r=null);var n=t(t({},M),e);if(n.engine!==R.dynamicTheme)throw new Error("Theme engine is not supported.");Fo(n,r,zo),Go=!0}function Qo(){return Go}function Ko(){jo(),Go=!1}var Xo={themeOptions:null,fixes:null};function Yo(){matchMedia("(prefers-color-scheme: dark)").matches?$o(Xo.themeOptions,Xo.fixes):Ko()}function Zo(e,t){void 0===e&&(e={}),void 0===t&&(t=null);var r=matchMedia("(prefers-color-scheme: dark)");e?(Xo={themeOptions:e,fixes:t},Yo(),b?r.addEventListener("change",Yo):r.addListener(Yo)):(b?r.removeEventListener("change",Yo):r.removeListener(Yo),Ko())}function Jo(){return r(this,void 0,void 0,(function(){return n(this,(function(e){switch(e.label){case 0:return[4,Ho()];case 1:return[2,e.sent()]}}))}))}var ea=C;e.auto=Zo,e.disable=Ko,e.enable=$o,e.exportGeneratedCSS=Jo,e.isEnabled=Qo,e.setFetchMethod=ea,Object.defineProperty(e,"__esModule",{value:!0})}(t)}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1667],{11667:function(e,t,n){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}n.r(t),n.d(t,{cython:function(){return u},mkPython:function(){return s},python:function(){return c}});var i=r(["and","or","not","is"]),a=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],o=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];function l(e){return e.scopes[e.scopes.length-1]}function s(e){for(var t="error",n=e.delimiters||e.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,s=[e.singleOperators,e.doubleOperators,e.doubleDelimiters,e.tripleDelimiters,e.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],c=0;c<s.length;c++)s[c]||s.splice(c--,1);var u=e.hangingIndent,f=a,p=o;null!=e.extra_keywords&&(f=f.concat(e.extra_keywords)),null!=e.extra_builtins&&(p=p.concat(e.extra_builtins));var d=!(e.version&&Number(e.version)<3);if(d){var m=e.identifiers||/^[_A-Za-z\u00A1-\uFFFF][_A-Za-z0-9\u00A1-\uFFFF]*/;f=f.concat(["nonlocal","None","aiter","anext","async","await","breakpoint","match","case"]),p=p.concat(["ascii","bytes","exec","print"]);var h=new RegExp("^(([rbuf]|(br)|(rb)|(fr)|(rf))?('{3}|\"{3}|['\"]))","i")}else{m=e.identifiers||/^[_A-Za-z][_A-Za-z0-9]*/;f=f.concat(["exec","print"]),p=p.concat(["apply","basestring","buffer","cmp","coerce","execfile","file","intern","long","raw_input","reduce","reload","unichr","unicode","xrange","None"]);h=new RegExp("^(([rubf]|(ur)|(br))?('{3}|\"{3}|['\"]))","i")}var b=r(f),g=r(p);function y(e,n){var r=e.sol()&&"\\"!=n.lastToken;if(r&&(n.indent=e.indentation()),r&&"py"==l(n).type){var i=l(n).offset;if(e.eatSpace()){var a=e.indentation();return a>i?v(e,n):a<i&&x(e,n)&&"#"!=e.peek()&&(n.errorToken=!0),null}var o=k(e,n);return i>0&&x(e,n)&&(o+=" "+t),o}return k(e,n)}function k(r,a,o){if(r.eatSpace())return null;if(!o&&r.match(/^#.*/))return"comment";if(r.match(/^[0-9\.]/,!1)){var l=!1;if(r.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(l=!0),r.match(/^[\d_]+\.\d*/)&&(l=!0),r.match(/^\.\d+/)&&(l=!0),l)return r.eat(/J/i),"number";var c=!1;if(r.match(/^0x[0-9a-f_]+/i)&&(c=!0),r.match(/^0b[01_]+/i)&&(c=!0),r.match(/^0o[0-7_]+/i)&&(c=!0),r.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(r.eat(/J/i),c=!0),r.match(/^0(?![\dx])/i)&&(c=!0),c)return r.eat(/L/i),"number"}if(r.match(h))return-1!==r.current().toLowerCase().indexOf("f")?(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(e){return function(t,n){var r=k(t,n,!0);return"punctuation"==r&&("{"==t.current()?n.tokenize=o(e+1):"}"==t.current()&&(n.tokenize=e>1?o(e-1):l)),r}}function l(l,s){for(;!l.eol();)if(l.eatWhile(/[^'"\{\}\\]/),l.eat("\\")){if(l.next(),i&&l.eol())return a}else{if(l.match(n))return s.tokenize=r,a;if(l.match("{{"))return a;if(l.match("{",!1))return s.tokenize=o(0),l.current()?a:s.tokenize(l,s);if(l.match("}}"))return a;if(l.match("}"))return t;l.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;s.tokenize=r}return a}return l.isString=!0,l}(r.current(),a.tokenize),a.tokenize(r,a)):(a.tokenize=function(n,r){for(;"rubf".indexOf(n.charAt(0).toLowerCase())>=0;)n=n.substr(1);var i=1==n.length,a="string";function o(o,l){for(;!o.eol();)if(o.eatWhile(/[^'"\\]/),o.eat("\\")){if(o.next(),i&&o.eol())return a}else{if(o.match(n))return l.tokenize=r,a;o.eat(/['"]/)}if(i){if(e.singleLineStringErrors)return t;l.tokenize=r}return a}return o.isString=!0,o}(r.current(),a.tokenize),a.tokenize(r,a));for(var u=0;u<s.length;u++)if(r.match(s[u]))return"operator";return r.match(n)?"punctuation":"."==a.lastToken&&r.match(m)?"property":r.match(b)||r.match(i)?"keyword":r.match(g)?"builtin":r.match(/^(self|cls)\b/)?"self":r.match(m)?"def"==a.lastToken||"class"==a.lastToken?"def":"variable":(r.next(),o?null:t)}function v(e,t){for(;"py"!=l(t).type;)t.scopes.pop();t.scopes.push({offset:l(t).offset+e.indentUnit,type:"py",align:null})}function x(e,t){for(var n=e.indentation();t.scopes.length>1&&l(t).offset>n;){if("py"!=l(t).type)return!0;t.scopes.pop()}return l(t).offset!=n}function _(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&"@"==i)return e.match(m,!1)?"meta":d?"operator":t;if(/\S/.test(i)&&(n.beginningOfLine=!1),"variable"!=r&&"builtin"!=r||"meta"!=n.lastToken||(r="meta"),"pass"!=i&&"return"!=i||(n.dedent=!0),"lambda"==i&&(n.lambda=!0),":"==i&&!n.lambda&&"py"==l(n).type&&e.match(/^\s*(?:#|$)/,!1)&&v(e,n),1==i.length&&!/string|comment/.test(r)){var a="[({".indexOf(i);if(-1!=a&&function(e,t,n){var r=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;t.scopes.push({offset:t.indent+(u||e.indentUnit),type:n,align:r})}(e,n,"])}".slice(a,a+1)),-1!=(a="])}".indexOf(i))){if(l(n).type!=i)return t;n.indent=n.scopes.pop().offset-(u||e.indentUnit)}}return n.dedent&&e.eol()&&"py"==l(n).type&&n.scopes.length>1&&n.scopes.pop(),r}return{name:"python",startState:function(){return{tokenize:y,scopes:[{offset:0,type:"py",align:null}],indent:0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=_(e,n);return i&&"comment"!=i&&(n.lastToken="keyword"==i||"punctuation"==i?e.current():i),"punctuation"==i&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?t:i},indent:function(e,t,n){if(e.tokenize!=y)return e.tokenize.isString?null:0;var r=l(e),i=r.type==t.charAt(0)||"py"==r.type&&!e.dedent&&/^(else:|elif |except |finally:)/.test(t);return null!=r.align?r.align-(i?1:0):r.offset-(i?u||n.unit:0)},languageData:{autocomplete:a.concat(o).concat(["exec","print"]),indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,commentTokens:{line:"#"},closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""']}}}}const c=s({}),u=s({extra_keywords:(f="by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE",f.split(" "))});var f}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[1925],{1633:function(e,t,n){function r(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(void 0!==i)return!!i;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var o=Object.keys(e),a=Object.keys(t);if(o.length!==a.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(t),c=0;c<o.length;c++){var l=o[c];if(!u(l))return!1;var s=e[l],f=t[l];if(!1===(i=n?n.call(r,s,f,l):void 0)||void 0===i&&s!==f)return!1}return!0}n.d(t,{w:function(){return r}})},30940:function(e,t,n){n.d(t,{J:function(){return d}});var r=n(80027),i=n(3341),o=n.n(i),a=n(63313);function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t,n){var i=function(e,t,n){var i=u((0,a.useState)((function(){return t(e)})),2),c=i[0],l=i[1],s=(0,a.useCallback)((function(){var r=t(e);o()(c,r)||(l(r),n&&n())}),[c,e,n]);return(0,r.L)(s),[c,s]}(e,t,n),c=l(i,2),s=c[0],f=c[1];return(0,r.L)((function(){var t=e.getHandlerId();if(null!=t)return e.subscribeToStateChange(f,{handlerIds:[t]})}),[e,f]),s}function d(e,t,n){return f(t,e||function(){return{}},(function(){return n.reconnect()}))}},9058:function(e,t,n){n.d(t,{c:function(){return j}});var r=n(32980),i=n(80027),o=n(63313);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),c(this,"spec",void 0),c(this,"monitor",void 0),c(this,"connector",void 0),this.spec=t,this.monitor=n,this.connector=r}var t,n,r;return t=e,(n=[{key:"beginDrag",value:function(){var e,t=this.spec,n=this.monitor;return null!==(e="object"===a(t.item)?t.item:"function"==typeof t.item?t.item(n):{})&&void 0!==e?e:null}},{key:"canDrag",value:function(){var e=this.spec,t=this.monitor;return"boolean"==typeof e.canDrag?e.canDrag:"function"!=typeof e.canDrag||e.canDrag(t)}},{key:"isDragging",value:function(e,t){var n=this.spec,r=this.monitor,i=n.isDragging;return i?i(r):t===e.getSourceId()}},{key:"endDrag",value:function(){var e=this.spec,t=this.monitor,n=this.connector,r=e.end;r&&r(t.getItem(),t),n.reconnect()}}])&&u(t.prototype,n),r&&u(t,r),e}();var s=n(24166),f=n(46123);function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function h(e,t,n){var a=(0,s.N)(),u=function(e,t,n){var r=(0,o.useMemo)((function(){return new l(e,t,n)}),[t,n]);return(0,o.useEffect)((function(){r.spec=e}),[e]),r}(e,t,n),c=function(e){return(0,o.useMemo)((function(){var t=e.type;return(0,f.k)(null!=t,"spec.type must be defined"),t}),[e])}(e);(0,i.L)((function(){if(null!=c){var e=d((0,r.w)(c,u,a),2),i=e[0],o=e[1];return t.receiveHandlerId(i),n.receiveHandlerId(i),o}}),[a,t,n,u,c])}var v=n(87916);function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=!1,m=!1,w=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),y(this,"internalMonitor",void 0),y(this,"sourceId",null),this.internalMonitor=t.getMonitor()}var t,n,r;return t=e,(n=[{key:"receiveHandlerId",value:function(e){this.sourceId=e}},{key:"getHandlerId",value:function(){return this.sourceId}},{key:"canDrag",value:function(){(0,f.k)(!b,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return b=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{b=!1}}},{key:"isDragging",value:function(){if(!this.sourceId)return!1;(0,f.k)(!m,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return m=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{m=!1}}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"isDraggingSource",value:function(e){return this.internalMonitor.isDraggingSource(e)}},{key:"isOverTarget",value:function(e,t){return this.internalMonitor.isOverTarget(e,t)}},{key:"getTargetIds",value:function(){return this.internalMonitor.getTargetIds()}},{key:"isSourcePublic",value:function(){return this.internalMonitor.isSourcePublic()}},{key:"getSourceId",value:function(){return this.internalMonitor.getSourceId()}},{key:"subscribeToOffsetChange",value:function(e){return this.internalMonitor.subscribeToOffsetChange(e)}},{key:"canDragSource",value:function(e){return this.internalMonitor.canDragSource(e)}},{key:"canDropOnTarget",value:function(e){return this.internalMonitor.canDropOnTarget(e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&p(t.prototype,n),r&&p(t,r),e}();var S=n(73529),O=n(92909),k=n(1633);function D(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),I(this,"hooks",(0,S.p)({dragSource:function(e,t){n.clearDragSource(),n.dragSourceOptions=t||null,(0,O.d)(e)?n.dragSourceRef=e:n.dragSourceNode=e,n.reconnectDragSource()},dragPreview:function(e,t){n.clearDragPreview(),n.dragPreviewOptions=t||null,(0,O.d)(e)?n.dragPreviewRef=e:n.dragPreviewNode=e,n.reconnectDragPreview()}})),I(this,"handlerId",null),I(this,"dragSourceRef",null),I(this,"dragSourceNode",void 0),I(this,"dragSourceOptionsInternal",null),I(this,"dragSourceUnsubscribe",void 0),I(this,"dragPreviewRef",null),I(this,"dragPreviewNode",void 0),I(this,"dragPreviewOptionsInternal",null),I(this,"dragPreviewUnsubscribe",void 0),I(this,"lastConnectedHandlerId",null),I(this,"lastConnectedDragSource",null),I(this,"lastConnectedDragSourceOptions",null),I(this,"lastConnectedDragPreview",null),I(this,"lastConnectedDragPreviewOptions",null),I(this,"backend",void 0),this.backend=t}var t,n,r;return t=e,(n=[{key:"receiveHandlerId",value:function(e){this.handlerId!==e&&(this.handlerId=e,this.reconnect())}},{key:"connectTarget",get:function(){return this.dragSource}},{key:"dragSourceOptions",get:function(){return this.dragSourceOptionsInternal},set:function(e){this.dragSourceOptionsInternal=e}},{key:"dragPreviewOptions",get:function(){return this.dragPreviewOptionsInternal},set:function(e){this.dragPreviewOptionsInternal=e}},{key:"reconnect",value:function(){this.reconnectDragSource(),this.reconnectDragPreview()}},{key:"reconnectDragSource",value:function(){var e=this.dragSource,t=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();t&&this.disconnectDragSource(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=e,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,e,this.dragSourceOptions)):this.lastConnectedDragSource=e)}},{key:"reconnectDragPreview",value:function(){var e=this.dragPreview,t=this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();t&&this.disconnectDragPreview(),this.handlerId&&(e?t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=e,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,e,this.dragPreviewOptions)):this.lastConnectedDragPreview=e)}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didConnectedDragSourceChange",value:function(){return this.lastConnectedDragSource!==this.dragSource}},{key:"didConnectedDragPreviewChange",value:function(){return this.lastConnectedDragPreview!==this.dragPreview}},{key:"didDragSourceOptionsChange",value:function(){return!(0,k.w)(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}},{key:"didDragPreviewOptionsChange",value:function(){return!(0,k.w)(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}},{key:"disconnectDragSource",value:function(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}},{key:"disconnectDragPreview",value:function(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}},{key:"dragSource",get:function(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}},{key:"dragPreview",get:function(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}},{key:"clearDragSource",value:function(){this.dragSourceNode=null,this.dragSourceRef=null}},{key:"clearDragPreview",value:function(){this.dragPreviewNode=null,this.dragPreviewRef=null}}])&&D(t.prototype,n),r&&D(t,r),e}();var T=n(30940);function P(e){return(0,o.useMemo)((function(){return e.hooks.dragSource()}),[e])}function M(e){return(0,o.useMemo)((function(){return e.hooks.dragPreview()}),[e])}function j(e,t){var n=(0,v.w)(e,t);(0,f.k)(!n.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");var r,a=(r=(0,s.N)(),(0,o.useMemo)((function(){return new w(r)}),[r])),u=function(e,t){var n=(0,s.N)(),r=(0,o.useMemo)((function(){return new C(n.getBackend())}),[n]);return(0,i.L)((function(){return r.dragSourceOptions=e||null,r.reconnect(),function(){return r.disconnectDragSource()}}),[r,e]),(0,i.L)((function(){return r.dragPreviewOptions=t||null,r.reconnect(),function(){return r.disconnectDragPreview()}}),[r,t]),r}(n.options,n.previewOptions);return h(n,a,u),[(0,T.J)(n.collect,a,u),P(u),M(u)]}},24166:function(e,t,n){n.d(t,{N:function(){return a}});var r=n(63313),i=n(46123),o=n(8955);function a(){var e=(0,r.useContext)(o.L).dragDropManager;return(0,i.k)(null!=e,"Expected drag drop context"),e}},18141:function(e,t,n){n.d(t,{L:function(){return T}});var r=n(32980),i=n(24166),o=n(80027),a=n(46123),u=n(63313);function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),l(this,"spec",void 0),l(this,"monitor",void 0),this.spec=t,this.monitor=n}var t,n,r;return t=e,(n=[{key:"canDrop",value:function(){var e=this.spec,t=this.monitor;return!e.canDrop||e.canDrop(t.getItem(),t)}},{key:"hover",value:function(){var e=this.spec,t=this.monitor;e.hover&&e.hover(t.getItem(),t)}},{key:"drop",value:function(){var e=this.spec,t=this.monitor;if(e.drop)return e.drop(t.getItem(),t)}}])&&c(t.prototype,n),r&&c(t,r),e}();function f(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,u=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){u=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(u)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(e,t,n){var c=(0,i.N)(),l=function(e,t){var n=(0,u.useMemo)((function(){return new s(e,t)}),[t]);return(0,u.useEffect)((function(){n.spec=e}),[e]),n}(e,t),d=function(e){var t=e.accept;return(0,u.useMemo)((function(){return(0,a.k)(null!=e.accept,"accept must be defined"),Array.isArray(t)?t:[t]}),[t])}(e);(0,o.L)((function(){var e=f((0,r.n)(d,l,c),2),i=e[0],o=e[1];return t.receiveHandlerId(i),n.receiveHandlerId(i),o}),[c,t,l,n,d.map((function(e){return e.toString()})).join("|")])}var h=n(87916);function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=!1,b=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),p(this,"internalMonitor",void 0),p(this,"targetId",null),this.internalMonitor=t.getMonitor()}var t,n,r;return t=e,(n=[{key:"receiveHandlerId",value:function(e){this.targetId=e}},{key:"getHandlerId",value:function(){return this.targetId}},{key:"subscribeToStateChange",value:function(e,t){return this.internalMonitor.subscribeToStateChange(e,t)}},{key:"canDrop",value:function(){if(!this.targetId)return!1;(0,a.k)(!y,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return y=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{y=!1}}},{key:"isOver",value:function(e){return!!this.targetId&&this.internalMonitor.isOverTarget(this.targetId,e)}},{key:"getItemType",value:function(){return this.internalMonitor.getItemType()}},{key:"getItem",value:function(){return this.internalMonitor.getItem()}},{key:"getDropResult",value:function(){return this.internalMonitor.getDropResult()}},{key:"didDrop",value:function(){return this.internalMonitor.didDrop()}},{key:"getInitialClientOffset",value:function(){return this.internalMonitor.getInitialClientOffset()}},{key:"getInitialSourceClientOffset",value:function(){return this.internalMonitor.getInitialSourceClientOffset()}},{key:"getSourceClientOffset",value:function(){return this.internalMonitor.getSourceClientOffset()}},{key:"getClientOffset",value:function(){return this.internalMonitor.getClientOffset()}},{key:"getDifferenceFromInitialOffset",value:function(){return this.internalMonitor.getDifferenceFromInitialOffset()}}])&&v(t.prototype,n),r&&v(t,r),e}();var m=n(1633),w=n(73529),S=n(92909);function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var D=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),k(this,"hooks",(0,w.p)({dropTarget:function(e,t){n.clearDropTarget(),n.dropTargetOptions=t,(0,S.d)(e)?n.dropTargetRef=e:n.dropTargetNode=e,n.reconnect()}})),k(this,"handlerId",null),k(this,"dropTargetRef",null),k(this,"dropTargetNode",void 0),k(this,"dropTargetOptionsInternal",null),k(this,"unsubscribeDropTarget",void 0),k(this,"lastConnectedHandlerId",null),k(this,"lastConnectedDropTarget",null),k(this,"lastConnectedDropTargetOptions",null),k(this,"backend",void 0),this.backend=t}var t,n,r;return t=e,(n=[{key:"connectTarget",get:function(){return this.dropTarget}},{key:"reconnect",value:function(){var e=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();e&&this.disconnectDropTarget();var t=this.dropTarget;this.handlerId&&(t?e&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=t,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,t,this.dropTargetOptions)):this.lastConnectedDropTarget=t)}},{key:"receiveHandlerId",value:function(e){e!==this.handlerId&&(this.handlerId=e,this.reconnect())}},{key:"dropTargetOptions",get:function(){return this.dropTargetOptionsInternal},set:function(e){this.dropTargetOptionsInternal=e}},{key:"didHandlerIdChange",value:function(){return this.lastConnectedHandlerId!==this.handlerId}},{key:"didDropTargetChange",value:function(){return this.lastConnectedDropTarget!==this.dropTarget}},{key:"didOptionsChange",value:function(){return!(0,m.w)(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}},{key:"disconnectDropTarget",value:function(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}},{key:"dropTarget",get:function(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}},{key:"clearDropTarget",value:function(){this.dropTargetRef=null,this.dropTargetNode=null}}])&&O(t.prototype,n),r&&O(t,r),e}();var I=n(30940);function C(e){return(0,u.useMemo)((function(){return e.hooks.dropTarget()}),[e])}function T(e,t){var n,r=(0,h.w)(e,t),a=(n=(0,i.N)(),(0,u.useMemo)((function(){return new b(n)}),[n])),c=function(e){var t=(0,i.N)(),n=(0,u.useMemo)((function(){return new D(t.getBackend())}),[t]);return(0,o.L)((function(){return n.dropTargetOptions=e||null,n.reconnect(),function(){return n.disconnectDropTarget()}}),[e]),n}(r.options);return g(r,a,c),[(0,I.J)(r.collect,a,c),C(c)]}},80027:function(e,t,n){n.d(t,{L:function(){return i}});var r=n(63313),i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect},87916:function(e,t,n){n.d(t,{w:function(){return a}});var r=n(63313);function i(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e,t){var n=i(t||[]);return null==t&&"function"!=typeof e&&n.push(e),(0,r.useMemo)((function(){return"function"==typeof e?e():e}),n)}},92909:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e){return null!==e&&"object"===r(e)&&Object.prototype.hasOwnProperty.call(e,"current")}n.d(t,{d:function(){return i}})},32980:function(e,t,n){function r(e,t,n){var r=n.getRegistry(),i=r.addTarget(e,t);return[i,function(){return r.removeTarget(i)}]}function i(e,t,n){var r=n.getRegistry(),i=r.addSource(e,t);return[i,function(){return r.removeSource(i)}]}n.d(t,{n:function(){return r},w:function(){return i}})},73529:function(e,t,n){n.d(t,{p:function(){return a}});var r=n(46123),i=n(63313);function o(e){if("string"!=typeof e.type){var t=e.type.displayName||e.type.name||"the component";throw new Error("Only native element nodes can now be passed to React DnD connectors."+"You can either wrap ".concat(t," into a <div>, or turn it into a ")+"drag source or a drop target itself.")}}function a(e){var t={};return Object.keys(e).forEach((function(n){var r=e[n];if(n.endsWith("Ref"))t[n]=e[n];else{var a=function(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!(0,i.isValidElement)(t)){var r=t;return e(r,n),r}var a=t;o(a);var u=n?function(t){return e(t,n)}:e;return c(a,u)}}(r);t[n]=function(){return a}}})),t}function u(e,t){"function"==typeof e?e(t):e.current=t}function c(e,t){var n=e.ref;return(0,r.k)("string"!=typeof n,"Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a <span> or <div>. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),n?(0,i.cloneElement)(e,{ref:function(e){u(n,e),u(t,e)}}):(0,i.cloneElement)(e,{ref:t})}},3341:function(e){e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i--;)if(!e(t[i],n[i]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i--;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i--;){var a=o[i];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_whyour_qinglong=self.webpackChunk_whyour_qinglong||[]).push([[2260],{90328:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(14797),o=n(63313),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},l=n(46420),i=function(e,t){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:a}))};i.displayName="CopyOutlined";var c=o.forwardRef(i)},32132:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(14797),o=n(63313),a={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},l=n(46420),i=function(e,t){return o.createElement(l.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:a}))};i.displayName="EditOutlined";var c=o.forwardRef(i)},20277:function(e,t,n){"use strict";var r=n(60795),o=n(25641),a=n(63313),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},i={border:0,background:"transparent",padding:0,lineHeight:"inherit",display:"inline-block"},c=a.forwardRef((function(e,t){var n=e.style,c=e.noStyle,u=e.disabled,s=l(e,["style","noStyle","disabled"]),f={};return c||(f=(0,r.Z)({},i)),u&&(f.pointerEvents="none"),f=(0,r.Z)((0,r.Z)({},f),n),a.createElement("div",(0,r.Z)({role:"button",tabIndex:0,ref:t},s,{onKeyDown:function(e){e.keyCode===o.Z.ENTER&&e.preventDefault()},onKeyUp:function(t){var n=t.keyCode,r=e.onClick;n===o.Z.ENTER&&r&&r()},style:f}))}));t.Z=c},92260:function(e,t,n){"use strict";n.d(t,{Z:function(){return ae}});var r=n(60795),o=n(63313),a=n(87807),l=n(18790),i=n(17079),c=n(59673),u=n(90328),s=n(32132),f=n(84875),d=n.n(f),p=n(874),v=n.n(p),m=n(71860),y=n(52604),b=n(36997),g=n(26230),h=n(92976),E=n(33951),Z=n(82259),w=n(76557),x=n(20277),O=n(9712),S=n(15367),C=n(14797),k={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"},R=n(46420),j=function(e,t){return o.createElement(R.Z,(0,C.Z)((0,C.Z)({},e),{},{ref:t,icon:k}))};j.displayName="EnterOutlined";var P=o.forwardRef(j),D=n(25641),N=n(67742),z=n(25515),M=function(e){var t=e.prefixCls,n=e["aria-label"],r=e.className,l=e.style,c=e.direction,u=e.maxLength,s=e.autoSize,f=void 0===s||s,p=e.value,v=e.onSave,m=e.onCancel,y=e.onEnd,b=e.component,g=e.enterIcon,h=void 0===g?o.createElement(P,null):g,E=o.useRef(null),Z=o.useRef(!1),w=o.useRef(),x=o.useState(p),O=(0,i.Z)(x,2),S=O[0],C=O[1];o.useEffect((function(){C(p)}),[p]),o.useEffect((function(){if(E.current&&E.current.resizableTextArea){var e=E.current.resizableTextArea.textArea;e.focus();var t=e.value.length;e.setSelectionRange(t,t)}}),[]);var k=function(){v(S.trim())},R=b?"".concat(t,"-").concat(b):"",j=d()(t,"".concat(t,"-edit-content"),(0,a.Z)({},"".concat(t,"-rtl"),"rtl"===c),r,R);return o.createElement("div",{className:j,style:l},o.createElement(N.Z,{ref:E,maxLength:u,value:S,onChange:function(e){var t=e.target;C(t.value.replace(/[\n\r]/g,""))},onKeyDown:function(e){var t=e.keyCode;Z.current||(w.current=t)},onKeyUp:function(e){var t=e.keyCode,n=e.ctrlKey,r=e.altKey,o=e.metaKey,a=e.shiftKey;w.current!==t||Z.current||n||r||o||a||(t===D.Z.ENTER?(k(),null==y||y()):t===D.Z.ESC&&m())},onCompositionStart:function(){Z.current=!0},onCompositionEnd:function(){Z.current=!1},onBlur:function(){k()},"aria-label":n,rows:1,autoSize:f}),null!==h?(0,z.Tm)(h,{className:"".concat(t,"-edit-content-confirm")}):null)};function I(e,t){return o.useMemo((function(){var n=!!e;return[n,(0,r.Z)((0,r.Z)({},t),n&&"object"===(0,l.Z)(e)?e:null)]}),[e])}var T=function(e,t){var n=o.useRef(!1);o.useEffect((function(){n.current?e():n.current=!0}),t)},A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};var H=o.forwardRef((function(e,t){var n=e.prefixCls,l=e.component,i=void 0===l?"article":l,c=e.className,u=e.setContentRef,s=e.children,f=e.direction,p=A(e,["prefixCls","component","className","setContentRef","children","direction"]),v=o.useContext(Z.E_),m=v.getPrefixCls,y=v.direction,b=null!=f?f:y,g=t;u&&(g=(0,E.sQ)(t,u));var h=m("typography",n),w=d()(h,(0,a.Z)({},"".concat(h,"-rtl"),"rtl"===b),c);return o.createElement(i,(0,r.Z)({className:w,ref:g},p),s)}));function L(e){var t=(0,l.Z)(e);return"string"===t||"number"===t}function K(e,t){for(var n=0,r=[],o=0;o<e.length;o+=1){if(n===t)return r;var a=e[o],l=n+(L(a)?String(a).length:1);if(l>t){var i=t-n;return r.push(String(a).slice(0,i)),r}r.push(a),n=l}return e}var U=function(e){var t=e.enabledMeasure,n=e.children,a=e.text,l=e.width,c=e.fontSize,u=e.rows,s=e.onEllipsis,f=o.useState([0,0,0]),d=(0,i.Z)(f,2),p=(0,i.Z)(d[0],3),v=p[0],m=p[1],g=p[2],h=d[1],E=o.useState(0),Z=(0,i.Z)(E,2),w=Z[0],x=Z[1],O=o.useState(0),S=(0,i.Z)(O,2),C=S[0],k=S[1],R=o.useRef(null),j=o.useRef(null),P=o.useMemo((function(){return(0,y.Z)(a)}),[a]),D=o.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){L(e)?t+=String(e).length:t+=1})),t}(P)}),[P]),N=o.useMemo((function(){return t&&3===w?n(K(P,m),m<D):n(P,!1)}),[t,w,n,P,m,D]);(0,b.Z)((function(){t&&l&&c&&D&&(x(1),h([0,Math.ceil(D/2),D]))}),[t,l,c,a,D,u]),(0,b.Z)((function(){var e;1===w&&k((null===(e=R.current)||void 0===e?void 0:e.offsetHeight)||0)}),[w]),(0,b.Z)((function(){var e,t;if(C)if(1===w)((null===(e=j.current)||void 0===e?void 0:e.offsetHeight)||0)<=u*C?(x(4),s(!1)):x(2);else if(2===w)if(v!==g){var n=(null===(t=j.current)||void 0===t?void 0:t.offsetHeight)||0,r=v,o=g;v===g-1?o=v:n<=u*C?r=m:o=m;var a=Math.ceil((r+o)/2);h([r,a,o])}else x(3),s(!0)}),[w,v,g,u,C]);var z,M,I={width:l,whiteSpace:"normal",margin:0,padding:0},T=function(e,t,n){return o.createElement("span",{"aria-hidden":!0,ref:t,style:(0,r.Z)({position:"fixed",display:"block",left:0,top:0,zIndex:-9999,visibility:"hidden",pointerEvents:"none",fontSize:2*Math.floor(c/2)},n)},e)};return o.createElement(o.Fragment,null,N,t&&3!==w&&4!==w&&o.createElement(o.Fragment,null,T("lg",R,{wordBreak:"keep-all",whiteSpace:"nowrap"}),1===w?T(n(P,!1),j,I):(z=j,M=K(P,m),T(n(M,!0),z,I))))};var _=function(e){var t=e.enabledEllipsis,n=e.isEllipsis,a=e.children,l=e.tooltipProps;return(null==l?void 0:l.title)&&t?o.createElement(S.Z,(0,r.Z)({open:!!n&&void 0},l),a):a},V=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function B(e,t,n){return!0===e||void 0===e?t:e||n&&t}function W(e){return!1===e?[!1,!1]:Array.isArray(e)?e:[e]}var F=o.forwardRef((function(e,t){var n,f,p,C=e.prefixCls,k=e.className,R=e.style,j=e.type,P=e.disabled,D=e.children,N=e.ellipsis,z=e.editable,A=e.copyable,L=e.component,K=e.title,F=V(e,["prefixCls","className","style","type","disabled","children","ellipsis","editable","copyable","component","title"]),G=o.useContext(Z.E_),q=G.getPrefixCls,Q=G.direction,X=(0,w.E)("Text")[0],J=o.useRef(null),Y=o.useRef(null),$=q("typography",C),ee=(0,h.Z)(F,["mark","code","delete","underline","strong","keyboard","italic"]),te=I(z),ne=(0,i.Z)(te,2),re=ne[0],oe=ne[1],ae=(0,g.Z)(!1,{value:oe.editing}),le=(0,i.Z)(ae,2),ie=le[0],ce=le[1],ue=oe.triggerType,se=void 0===ue?["icon"]:ue,fe=function(e){var t;e&&(null===(t=oe.onStart)||void 0===t||t.call(oe)),ce(e)};T((function(){var e;ie||null===(e=Y.current)||void 0===e||e.focus()}),[ie]);var de=function(e){null==e||e.preventDefault(),fe(!0)},pe=I(A),ve=(0,i.Z)(pe,2),me=ve[0],ye=ve[1],be=o.useState(!1),ge=(0,i.Z)(be,2),he=ge[0],Ee=ge[1],Ze=o.useRef(),we={};ye.format&&(we.format=ye.format);var xe=function(){window.clearTimeout(Ze.current)},Oe=function(e){var t;null==e||e.preventDefault(),null==e||e.stopPropagation(),v()(ye.text||String(D)||"",we),Ee(!0),xe(),Ze.current=window.setTimeout((function(){Ee(!1)}),3e3),null===(t=ye.onCopy)||void 0===t||t.call(ye,e)};o.useEffect((function(){return xe}),[]);var Se=o.useState(!1),Ce=(0,i.Z)(Se,2),ke=Ce[0],Re=Ce[1],je=o.useState(!1),Pe=(0,i.Z)(je,2),De=Pe[0],Ne=Pe[1],ze=o.useState(!1),Me=(0,i.Z)(ze,2),Ie=Me[0],Te=Me[1],Ae=o.useState(!1),He=(0,i.Z)(Ae,2),Le=He[0],Ke=He[1],Ue=o.useState(!1),_e=(0,i.Z)(Ue,2),Ve=_e[0],Be=_e[1],We=o.useState(!0),Fe=(0,i.Z)(We,2),Ge=Fe[0],qe=Fe[1],Qe=I(N,{expandable:!1}),Xe=(0,i.Z)(Qe,2),Je=Xe[0],Ye=Xe[1],$e=Je&&!Ie,et=Ye.rows,tt=void 0===et?1:et,nt=o.useMemo((function(){return!$e||void 0!==Ye.suffix||Ye.onEllipsis||Ye.expandable||re||me}),[$e,Ye,re,me]);(0,b.Z)((function(){Je&&!nt&&(Re((0,O.G)("webkitLineClamp")),Ne((0,O.G)("textOverflow")))}),[nt,Je]);var rt=o.useMemo((function(){return!nt&&(1===tt?De:ke)}),[nt,De,ke]),ot=$e&&(rt?Ve:Le),at=$e&&1===tt&&rt,lt=$e&&tt>1&&rt,it=function(e){var t;Te(!0),null===(t=Ye.onExpand)||void 0===t||t.call(Ye,e)},ct=o.useState(0),ut=(0,i.Z)(ct,2),st=ut[0],ft=ut[1],dt=o.useState(0),pt=(0,i.Z)(dt,2),vt=pt[0],mt=pt[1],yt=function(e){var t;Ke(e),Le!==e&&(null===(t=Ye.onEllipsis)||void 0===t||t.call(Ye,e))};o.useEffect((function(){var e=J.current;if(Je&&rt&&e){var t=lt?e.offsetHeight<e.scrollHeight:e.offsetWidth<e.scrollWidth;Ve!==t&&Be(t)}}),[Je,rt,D,lt,Ge]),o.useEffect((function(){var e=J.current;if("undefined"!=typeof IntersectionObserver&&e&&rt&&$e){var t=new IntersectionObserver((function(){qe(!!e.offsetParent)}));return t.observe(e),function(){t.disconnect()}}}),[rt,$e]);var bt={};bt=!0===Ye.tooltip?{title:null!==(n=oe.text)&&void 0!==n?n:D}:o.isValidElement(Ye.tooltip)?{title:Ye.tooltip}:"object"===(0,l.Z)(Ye.tooltip)?(0,r.Z)({title:null!==(f=oe.text)&&void 0!==f?f:D},Ye.tooltip):{title:Ye.tooltip};var gt=o.useMemo((function(){var e=function(e){return["string","number"].includes((0,l.Z)(e))};if(Je&&!rt)return e(oe.text)?oe.text:e(D)?D:e(K)?K:e(bt.title)?bt.title:void 0}),[Je,rt,K,bt.title,ot]);if(ie)return o.createElement(M,{value:null!==(p=oe.text)&&void 0!==p?p:"string"==typeof D?D:"",onSave:function(e){var t;null===(t=oe.onChange)||void 0===t||t.call(oe,e),fe(!1)},onCancel:function(){var e;null===(e=oe.onCancel)||void 0===e||e.call(oe),fe(!1)},onEnd:oe.onEnd,prefixCls:$,className:k,style:R,direction:Q,component:L,maxLength:oe.maxLength,autoSize:oe.autoSize,enterIcon:oe.enterIcon});var ht=function(){if(re){var e=oe.icon,t=oe.tooltip,n=(0,y.Z)(t)[0]||X.edit,r="string"==typeof n?n:"";return se.includes("icon")?o.createElement(S.Z,{key:"edit",title:!1===t?"":n},o.createElement(x.Z,{ref:Y,className:"".concat($,"-edit"),onClick:de,"aria-label":r},e||o.createElement(s.Z,{role:"button"}))):null}},Et=function(){if(me){var e=ye.tooltips,t=ye.icon,n=W(e),r=W(t),a=he?B(n[1],X.copied):B(n[0],X.copy),l=he?X.copied:X.copy,i="string"==typeof a?a:l;return o.createElement(S.Z,{key:"copy",title:a},o.createElement(x.Z,{className:d()("".concat($,"-copy"),he&&"".concat($,"-copy-success")),onClick:Oe,"aria-label":i},he?B(r[1],o.createElement(c.Z,null),!0):B(r[0],o.createElement(u.Z,null),!0)))}};return o.createElement(m.Z,{onResize:function(e,t){var n,r=e.offsetWidth;ft(r),mt(parseInt(null===(n=window.getComputedStyle)||void 0===n?void 0:n.call(window,t).fontSize,10)||0)},disabled:!$e||rt},(function(n){var l;return o.createElement(_,{tooltipProps:bt,enabledEllipsis:$e,isEllipsis:ot},o.createElement(H,(0,r.Z)({className:d()((l={},(0,a.Z)(l,"".concat($,"-").concat(j),j),(0,a.Z)(l,"".concat($,"-disabled"),P),(0,a.Z)(l,"".concat($,"-ellipsis"),Je),(0,a.Z)(l,"".concat($,"-single-line"),$e&&1===tt),(0,a.Z)(l,"".concat($,"-ellipsis-single-line"),at),(0,a.Z)(l,"".concat($,"-ellipsis-multiple-line"),lt),l),k),prefixCls:C,style:(0,r.Z)((0,r.Z)({},R),{WebkitLineClamp:lt?tt:void 0}),component:L,ref:(0,E.sQ)(n,J,t),direction:Q,onClick:se.includes("text")?de:void 0,"aria-label":null==gt?void 0:gt.toString(),title:K},ee),o.createElement(U,{enabledMeasure:$e&&!rt,text:D,rows:tt,width:st,fontSize:vt,onEllipsis:yt},(function(t,n){var r=t;t.length&&n&&gt&&(r=o.createElement("span",{key:"show-content","aria-hidden":!0},r));var a=function(e,t){var n=e.mark,r=e.code,a=e.underline,l=e.delete,i=e.strong,c=e.keyboard,u=e.italic,s=t;function f(e,t){e&&(s=o.createElement(t,{},s))}return f(i,"strong"),f(a,"u"),f(l,"del"),f(r,"code"),f(n,"mark"),f(c,"kbd"),f(u,"i"),s}(e,o.createElement(o.Fragment,null,r,function(e){return[e&&o.createElement("span",{"aria-hidden":!0,key:"ellipsis"},"..."),Ye.suffix,(t=e,[t&&(r=Ye.expandable,a=Ye.symbol,r?(n=a||X.expand,o.createElement("a",{key:"expand",className:"".concat($,"-expand"),onClick:it,"aria-label":X.expand},n)):null),ht(),Et()])];var t,n,r,a}(n)));return a}))))}))})),G=F,q=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Q=o.forwardRef((function(e,t){var n=e.ellipsis,a=e.rel,l=q(e,["ellipsis","rel"]),i=(0,r.Z)((0,r.Z)({},l),{rel:void 0===a&&"_blank"===l.target?"noopener noreferrer":a});return delete i.navigate,o.createElement(G,(0,r.Z)({},i,{ref:t,ellipsis:!!n,component:"a"}))})),X=o.forwardRef((function(e,t){return o.createElement(G,(0,r.Z)({ref:t},e,{component:"div"}))})),J=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},Y=function(e,t){var n=e.ellipsis,a=J(e,["ellipsis"]),i=o.useMemo((function(){return n&&"object"===(0,l.Z)(n)?(0,h.Z)(n,["expandable","rows"]):n}),[n]);return o.createElement(G,(0,r.Z)({ref:t},a,{ellipsis:i,component:"span"}))},$=o.forwardRef(Y),ee=n(20341),te=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},ne=(0,ee.a)(1,2,3,4,5),re=o.forwardRef((function(e,t){var n,a=e.level,l=void 0===a?1:a,i=te(e,["level"]);return n=ne.includes(l)?"h".concat(l):"h1",o.createElement(G,(0,r.Z)({ref:t},i,{component:n}))})),oe=H;oe.Text=$,oe.Link=Q,oe.Title=re,oe.Paragraph=X;var ae=oe},874:function(e,t,n){"use strict";var r=n(16935),o={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var n,a,l,i,c,u,s=!1;t||(t={}),n=t.debug||!1;try{if(l=r(),i=document.createRange(),c=document.getSelection(),(u=document.createElement("span")).textContent=e,u.ariaHidden="true",u.style.all="unset",u.style.position="fixed",u.style.top=0,u.style.clip="rect(0, 0, 0, 0)",u.style.whiteSpace="pre",u.style.webkitUserSelect="text",u.style.MozUserSelect="text",u.style.msUserSelect="text",u.style.userSelect="text",u.addEventListener("copy",(function(r){if(r.stopPropagation(),t.format)if(r.preventDefault(),void 0===r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var a=o[t.format]||o.default;window.clipboardData.setData(a,e)}else r.clipboardData.clearData(),r.clipboardData.setData(t.format,e);t.onCopy&&(r.preventDefault(),t.onCopy(r.clipboardData))})),document.body.appendChild(u),i.selectNodeContents(u),c.addRange(i),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");s=!0}catch(r){n&&console.error("unable to copy using execCommand: ",r),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),s=!0}catch(r){n&&console.error("unable to copy using clipboardData: ",r),n&&console.error("falling back to prompt"),a=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(a,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(i):c.removeAllRanges()),u&&document.body.removeChild(u),l()}return s}},9712:function(e,t,n){"use strict";n.d(t,{G:function(){return a}});var r=n(65021),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function a(e,t){return Array.isArray(e)||void 0===t?o(e):function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},16935:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,n=[],r=0;r<e.rangeCount;r++)n.push(e.getRangeAt(r));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||n.forEach((function(t){e.addRange(t)})),t&&t.focus()}}}}]);