@perses-dev/prometheus-plugin 0.51.0-beta.2 → 0.51.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/__mf/css/async/8909.dacad691.css +1 -0
  2. package/__mf/css/async/9263.dacad691.css +1 -0
  3. package/__mf/js/{622.f7592106.js → 622.d6ff9685.js} +1 -1
  4. package/__mf/js/{Prometheus.328aad7c.js → Prometheus.bee3ab4b.js} +3 -3
  5. package/__mf/js/async/1407.a7511546.js +7 -0
  6. package/__mf/js/async/1742.c468cb18.js +1 -0
  7. package/__mf/js/async/1959.ad668ff3.js +23 -0
  8. package/__mf/js/async/2285.15378f70.js +1 -0
  9. package/__mf/js/async/2292.37cc6c8f.js +2 -0
  10. package/__mf/js/async/2581.7c85a457.js +1 -0
  11. package/__mf/js/async/2641.1cd3c706.js +1 -0
  12. package/__mf/js/async/2675.99cf926f.js +1 -0
  13. package/__mf/js/async/4062.3ab7f987.js +1 -0
  14. package/__mf/js/async/4421.d4715b5f.js +1 -0
  15. package/__mf/js/async/4425.4a89f3b8.js +1 -0
  16. package/__mf/js/async/4659.c56181df.js +1 -0
  17. package/__mf/js/async/4665.70feb200.js +1 -0
  18. package/__mf/js/async/4800.e23c630f.js +1 -0
  19. package/__mf/js/async/{5345.8c2e4b4a.js → 5345.05718f02.js} +1 -1
  20. package/__mf/js/async/5409.d646c006.js +1 -0
  21. package/__mf/js/async/5769.f14c9663.js +1 -0
  22. package/__mf/js/async/{5913.9d30fd07.js → 5913.c7536be1.js} +3 -3
  23. package/__mf/js/async/6386.d92b974a.js +1 -0
  24. package/__mf/js/async/6712.341e962a.js +1 -0
  25. package/__mf/js/async/7376.c7eb05b9.js +1 -0
  26. package/__mf/js/async/7488.e0afae27.js +23 -0
  27. package/__mf/js/async/8909.a5d96930.js +1 -0
  28. package/__mf/js/async/8980.afe002d4.js +28 -0
  29. package/__mf/js/async/9216.7a78af54.js +1 -0
  30. package/__mf/js/async/9263.2c4799b2.js +1 -0
  31. package/__mf/js/async/9550.e19763f8.js +38 -0
  32. package/__mf/js/async/9611.58220d82.js +1 -0
  33. package/__mf/js/async/__federation_expose_PrometheusDatasource.19952f82.js +1 -0
  34. package/__mf/js/async/__federation_expose_PrometheusExplorer.035ddd24.js +1 -0
  35. package/__mf/js/async/{__federation_expose_PrometheusLabelNamesVariable.86d0ad5a.js → __federation_expose_PrometheusLabelNamesVariable.93231b2e.js} +1 -1
  36. package/__mf/js/async/{__federation_expose_PrometheusLabelValuesVariable.b2893484.js → __federation_expose_PrometheusLabelValuesVariable.f216888c.js} +1 -1
  37. package/__mf/js/async/{__federation_expose_PrometheusPromQLVariable.cd16f6e8.js → __federation_expose_PrometheusPromQLVariable.0060ab26.js} +1 -1
  38. package/__mf/js/async/__federation_expose_PrometheusTimeSeriesQuery.4e934fa1.js +1 -0
  39. package/__mf/js/main.8b69f3f7.js +1 -0
  40. package/lib/cjs/explore/PrometheusMetricsFinder/filter/FinderFilters.js +5 -1
  41. package/lib/cjs/model/prometheus-selectors.js +5 -4
  42. package/lib/cjs/plugins/index.js +1 -0
  43. package/lib/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +3 -1
  44. package/lib/cjs/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +3 -2
  45. package/lib/cjs/plugins/prometheus-time-series-query/get-time-series-data.js +4 -2
  46. package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.d.ts.map +1 -1
  47. package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js +6 -2
  48. package/lib/explore/PrometheusMetricsFinder/filter/FinderFilters.js.map +1 -1
  49. package/lib/model/prometheus-selectors.d.ts +5 -4
  50. package/lib/model/prometheus-selectors.d.ts.map +1 -1
  51. package/lib/model/prometheus-selectors.js +7 -6
  52. package/lib/model/prometheus-selectors.js.map +1 -1
  53. package/lib/plugins/index.d.ts +1 -0
  54. package/lib/plugins/index.d.ts.map +1 -1
  55. package/lib/plugins/index.js +1 -0
  56. package/lib/plugins/index.js.map +1 -1
  57. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.d.ts.map +1 -1
  58. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js +4 -2
  59. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQuery.js.map +1 -1
  60. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.d.ts.map +1 -1
  61. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js +4 -3
  62. package/lib/plugins/prometheus-time-series-query/PrometheusTimeSeriesQueryEditor.js.map +1 -1
  63. package/lib/plugins/prometheus-time-series-query/get-time-series-data.d.ts.map +1 -1
  64. package/lib/plugins/prometheus-time-series-query/get-time-series-data.js +6 -4
  65. package/lib/plugins/prometheus-time-series-query/get-time-series-data.js.map +1 -1
  66. package/lib/plugins/prometheus-time-series-query/time-series-query-model.d.ts +2 -1
  67. package/lib/plugins/prometheus-time-series-query/time-series-query-model.d.ts.map +1 -1
  68. package/lib/plugins/prometheus-time-series-query/time-series-query-model.js.map +1 -1
  69. package/mf-manifest.json +287 -235
  70. package/mf-stats.json +293 -241
  71. package/package.json +9 -7
  72. package/__mf/js/async/1495.6c8b8071.js +0 -1
  73. package/__mf/js/async/1864.df7c4beb.js +0 -1
  74. package/__mf/js/async/1950.704c331e.js +0 -1
  75. package/__mf/js/async/1996.01084c88.js +0 -2
  76. package/__mf/js/async/212.bd5d617a.js +0 -1
  77. package/__mf/js/async/2316.fec4907a.js +0 -1
  78. package/__mf/js/async/2675.c3b73822.js +0 -1
  79. package/__mf/js/async/3436.97c926a4.js +0 -1
  80. package/__mf/js/async/3818.dde21d04.js +0 -1
  81. package/__mf/js/async/4421.1bcc1637.js +0 -1
  82. package/__mf/js/async/4489.3361e7bc.js +0 -29
  83. package/__mf/js/async/537.6911ea2e.js +0 -1
  84. package/__mf/js/async/5387.fd6e16d6.js +0 -1
  85. package/__mf/js/async/5654.ecb41aea.js +0 -38
  86. package/__mf/js/async/684.ca510333.js +0 -1
  87. package/__mf/js/async/8265.b9e2c31e.js +0 -1
  88. package/__mf/js/async/8587.4891ea90.js +0 -1
  89. package/__mf/js/async/8610.8300df79.js +0 -1
  90. package/__mf/js/async/87.fdc843ac.js +0 -1
  91. package/__mf/js/async/8997.18901f45.js +0 -28
  92. package/__mf/js/async/__federation_expose_PrometheusDatasource.f6f57299.js +0 -1
  93. package/__mf/js/async/__federation_expose_PrometheusExplorer.5fcf955a.js +0 -1
  94. package/__mf/js/async/__federation_expose_PrometheusTimeSeriesQuery.eb9eefa6.js +0 -1
  95. package/__mf/js/main.154a5b65.js +0 -1
  96. /package/__mf/js/async/{4489.3361e7bc.js.LICENSE.txt → 1407.a7511546.js.LICENSE.txt} +0 -0
  97. /package/__mf/js/async/{1996.01084c88.js.LICENSE.txt → 2292.37cc6c8f.js.LICENSE.txt} +0 -0
  98. /package/__mf/js/async/{5913.9d30fd07.js.LICENSE.txt → 5913.c7536be1.js.LICENSE.txt} +0 -0
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["537"],{35015:function(e,t,a){async function i(...e){let t=await a.g.fetch(...e);if(!1===t.ok){let e=t.headers.get("content-type");if(e?.includes("application/json")){let e=await t.json();if(e.error)throw new o(e.error,t.status);if(e.message)throw new o(e.message,t.status)}let a=await t.text();if(a)throw new o(a,t.status);throw new n(t)}return t}async function r(...e){let t=await i(...e);return await t.json()}a.d(t,{he:()=>i,rd:()=>r});class n extends Error{status;constructor(e){super(`${e.status} ${e.statusText}`),this.status=e.status,Object.setPrototypeOf(this,n.prototype)}}class o extends Error{status;constructor(e,t){super(e),this.status=t,Object.setPrototypeOf(this,o.prototype)}}},51217:function(e,t,a){a.d(t,{q9:()=>z});var i,r,n,o,l,s,c,u,h=a(7749),p=a(94197);let O={inf:147,nan:148,bool:1,ignoring:2,on:3,group_left:4,group_right:5,offset:6},d=(e,t)=>O[e.toLowerCase()]||-1,v={avg:8,atan2:7,bottomk:9,count:10,count_values:11,group:12,max:13,min:14,quantile:15,stddev:16,stdvar:17,sum:18,topk:19,by:20,without:21,and:22,or:23,unless:24,start:25,end:26},f=(e,t)=>v[e.toLowerCase()]||-1,m=(0,p.Gv)({LineComment:p.pJ.comment,LabelName:p.pJ.labelName,StringLiteral:p.pJ.string,NumberLiteral:p.pJ.number,Duration:p.pJ.number,Identifier:p.pJ.variableName,"Abs Absent AbsentOverTime Acos Acosh Asin Asinh Atan Atanh AvgOverTime Ceil Changes Clamp ClampMax ClampMin Cos Cosh CountOverTime DaysInMonth DayOfMonth DayOfWeek DayOfYear Deg Delta Deriv Exp Floor HistogramCount HistogramFraction HistogramQuantile HistogramSum HoltWinters Hour Idelta Increase Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MaxOverTime MinOverTime Minute Month Pi PredictLinear PresentOverTime QuantileOverTime Rad Rate Resets Round Scalar Sgn Sin Sinh Sort SortDesc Sqrt StddevOverTime StdvarOverTime SumOverTime Tan Tanh Time Timestamp Vector Year":p.pJ.function(p.pJ.variableName),"Avg Bottomk Count Count_values Group Max Min Quantile Stddev Stdvar Sum Topk":p.pJ.operatorKeyword,"By Without Bool On Ignoring GroupLeft GroupRight Offset Start End":p.pJ.modifier,"And Unless Or":p.pJ.logicOperator,"Sub Add Mul Mod Div Atan2 Eql Neq Lte Lss Gte Gtr EqlRegex EqlSingle NeqRegex Pow At":p.pJ.operator,UnaryOp:p.pJ.arithmeticOperator,"( )":p.pJ.paren,"[ ]":p.pJ.squareBracket,"{ }":p.pJ.brace,"⚠":p.pJ.invalid}),g={__proto__:null,absent_over_time:313,absent:315,abs:317,acos:319,acosh:321,asin:323,asinh:325,atan:327,atanh:329,avg_over_time:331,ceil:333,changes:335,clamp:337,clamp_max:339,clamp_min:341,cos:343,cosh:345,count_over_time:347,days_in_month:349,day_of_month:351,day_of_week:353,day_of_year:355,deg:357,delta:359,deriv:361,exp:363,floor:365,histogram_count:367,histogram_fraction:369,histogram_quantile:371,histogram_sum:373,holt_winters:375,hour:377,idelta:379,increase:381,irate:383,label_replace:385,label_join:387,last_over_time:389,ln:391,log10:393,log2:395,max_over_time:397,min_over_time:399,minute:401,month:403,pi:405,predict_linear:407,present_over_time:409,quantile_over_time:411,rad:413,rate:415,resets:417,round:419,scalar:421,sgn:423,sin:425,sinh:427,sort:429,sort_desc:431,sqrt:433,stddev_over_time:435,stdvar_over_time:437,sum_over_time:439,tan:441,tanh:443,timestamp:445,time:447,vector:449,year:451},$=h.WQ.deserialize({version:14,states:"7pOYQPOOO'XQPOOOOQO'#Cz'#CzO'^QPO'#CyQ'iQQOOOOQO'#Da'#DaO'dQPO'#D`OOQO'#E}'#E}O(vQPO'#FTOYQPO'#FPOYQPO'#FSO/OQSO'#FVO/WQQO'#FUOOQO'#FU'#FUOOQO'#Fi'#FiOOQO'#Db'#DbOOQO'#Dd'#DdOOQO'#De'#DeOOQO'#Df'#DfOOQO'#Dg'#DgOOQO'#Dh'#DhOOQO'#Di'#DiOOQO'#Dj'#DjOOQO'#Dk'#DkOOQO'#Dl'#DlOOQO'#Dm'#DmOOQO'#Dn'#DnOOQO'#Do'#DoOOQO'#Dp'#DpOOQO'#Dq'#DqOOQO'#Dr'#DrOOQO'#Ds'#DsOOQO'#Dt'#DtOOQO'#Du'#DuOOQO'#Dv'#DvOOQO'#Dw'#DwOOQO'#Dx'#DxOOQO'#Dy'#DyOOQO'#Dz'#DzOOQO'#D{'#D{OOQO'#D|'#D|OOQO'#D}'#D}OOQO'#EO'#EOOOQO'#EP'#EPOOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETOOQO'#EU'#EUOOQO'#EV'#EVOOQO'#EW'#EWOOQO'#EX'#EXOOQO'#EY'#EYOOQO'#EZ'#EZOOQO'#E['#E[OOQO'#E]'#E]OOQO'#E^'#E^OOQO'#E_'#E_OOQO'#E`'#E`OOQO'#Ea'#EaOOQO'#Eb'#EbOOQO'#Ec'#EcOOQO'#Ed'#EdOOQO'#Ee'#EeOOQO'#Ef'#EfOOQO'#Eg'#EgOOQO'#Eh'#EhOOQO'#Ei'#EiOOQO'#Ej'#EjOOQO'#Ek'#EkOOQO'#El'#ElOOQO'#Em'#EmOOQO'#En'#EnOOQO'#Eo'#EoOOQO'#Ep'#EpOOQO'#Eq'#EqOOQO'#Er'#ErOOQO'#Es'#EsOOQO'#Et'#EtOOQO'#Eu'#EuOOQO'#Ev'#EvOOQO'#Ew'#EwOOQO'#Ex'#ExOOQO'#Ey'#EyOOQO'#Ez'#EzQOQPOOO0qQPO'#C{O0vQPO'#DOO'dQPO,59eO0}QQO,59eO2kQPO,59kO2kQPO,59kO2kQPO,59kO2kQPO,59kO2kQPO,59kO8sQQO,5;gO8xQQO,5;jO9QQPO,5;wOOQO,59z,59zOOQO,5;i,5;iO9iQQO,5;kO9pQQO,5;nO;WQPO'#FWOOQO,5;q,5;qO;fQPO,5;qOOQO,5;p,5;pO;nQSO'#C|OOQO,59g,59gOOQO,59j,59jO;vQQO,59jOOQO1G/P1G/POOQO'#DR'#DRO0qQPO'#DSOOQO'#Fm'#FmO<QQPO'#FmOYQPO1G/VOYQPO1G/VOYQPO1G/VOYQPO1G/VOYQPO1G/VOBVQSO1G1ROOQO1G1U1G1UOB_QQO1G1UOBdQPO'#E}OOQO'#F_'#F_OOQO1G1c1G1cOBoQPO1G1cOOQO1G1V1G1VOOQO'#FX'#FXOBtQPO,5;rOByQSO1G1]OCRQPO1G1]OOQO1G1]1G1]OOQO,59h,59hOCZQPO,59hOYQPO'#FbOCcQPO1G/UOOQO1G/U1G/UOCkQPO,59nOOQO,5<X,5<XOJzQQO7+$qOK[QQO7+$qOLpQQO7+$qOMWQQO7+$qONoQQO7+$qOOQO7+&m7+&mO! YQQO7+&sOOQO7+&p7+&pO! bQPO7+&}OOQO1G1^1G1^OOQO,5;},5;}OOQO7+&w7+&wO! gQSO7+&wOOQO-E9a-E9aO! oQSO1G/SO! wQPO1G/SOOQO1G/S1G/SO!!PQQO,5;|OOQO-E9`-E9`OOQO7+$p7+$pO!!ZQPO1G/YOOQO<<J_<<J_O!(YQPO<<J_OOQO<<Ji<<JiOOQO<<Jc<<JcP!(_QSO'#FcOOQO,5;{,5;{OOQO7+$n7+$nO!(dQSO7+$nOOQO-E9_-E9_OOQO7+$t7+$tOOQOAN?yAN?yOOQO<<HY<<HYP!(lQSO'#Fa",stateData:"!(q~O$[OSkOS~OWQOXQOYQOZQO[QO]QO^QO_QO`QOaQObQOcQO!V[O#t^O$XVO$YVO$^XO$b_O$c`O$daO$ebO$fcO$gdO$heO$ifO$jgO$khO$liO$mjO$nkO$olO$pmO$qnO$roO$spO$tqO$urO$vsO$wtO$xuO$yvO$zwO${xO$|yO$}zO%O{O%P|O%Q}O%R!OO%S!PO%T!QO%U!RO%V!SO%W!TO%X!UO%Y!VO%Z!WO%[!XO%]!YO%^!ZO%_![O%`!]O%a!^O%b!_O%c!`O%d!aO%e!bO%f!cO%g!dO%h!eO%i!fO%j!gO%k!hO%l!iO%m!jO%n!kO%o!lO%p!mO%q!nO%r!oO%s!pO%t!qO%u!rO%v!sO%w!tO%x!uO%y!vO%|WO%}WO&OVO&QZO~O!V!wO~Od!xOe!xO$^!yO~OU#SOV!|Of#POg#QOh#POt!|Ow!|Ox!|Oy!|Oz!}O{!}O|#OO}#OO!O#OO!P#OO!Q#OO!R#OO$Q#TO%z#RO~O$X#VO$Y#VO&O#VOW#wXX#wXY#wXZ#wX[#wX]#wX^#wX_#wX`#wXa#wXb#wXc#wX!V#wX#t#wX$X#wX$Y#wX$^#wX$b#wX$c#wX$d#wX$e#wX$f#wX$g#wX$h#wX$i#wX$j#wX$k#wX$l#wX$m#wX$n#wX$o#wX$p#wX$q#wX$r#wX$s#wX$t#wX$u#wX$v#wX$w#wX$x#wX$y#wX$z#wX${#wX$|#wX$}#wX%O#wX%P#wX%Q#wX%R#wX%S#wX%T#wX%U#wX%V#wX%W#wX%X#wX%Y#wX%Z#wX%[#wX%]#wX%^#wX%_#wX%`#wX%a#wX%b#wX%c#wX%d#wX%e#wX%f#wX%g#wX%h#wX%i#wX%j#wX%k#wX%l#wX%m#wX%n#wX%o#wX%p#wX%q#wX%r#wX%s#wX%t#wX%u#wX%v#wX%w#wX%x#wX%y#wX%|#wX%}#wX&O#wX&Q#wX~Oq#YO&R#ZO~O&QZOU#xXV#xXf#xXg#xXh#xXt#xXw#xXx#xXy#xXz#xX{#xX|#xX}#xX!O#xX!P#xX!Q#xX!R#xX$Q#xX$W#xX%z#xX$`#xX$_#xX~O$^#^O~O$`#`O~PYOd!xOe!xOUmaVmafmagmahmatmawmaxmaymazma{ma|ma}ma!Oma!Pma!Qma!Rma$Qma$Wma%zma$`ma$_ma~OP#cOQ#dOR#dOW$aPX$aPY$aPZ$aP[$aP]$aP^$aP_$aP`$aPa$aPb$aPc$aP!V$aP#t$aP$X$aP$Y$aP$^$aP$b$aP$c$aP$d$aP$e$aP$f$aP$g$aP$h$aP$i$aP$j$aP$k$aP$l$aP$m$aP$n$aP$o$aP$p$aP$q$aP$r$aP$s$aP$t$aP$u$aP$v$aP$w$aP$x$aP$y$aP$z$aP${$aP$|$aP$}$aP%O$aP%P$aP%Q$aP%R$aP%S$aP%T$aP%U$aP%V$aP%W$aP%X$aP%Y$aP%Z$aP%[$aP%]$aP%^$aP%_$aP%`$aP%a$aP%b$aP%c$aP%d$aP%e$aP%f$aP%g$aP%h$aP%i$aP%j$aP%k$aP%l$aP%m$aP%n$aP%o$aP%p$aP%q$aP%r$aP%s$aP%t$aP%u$aP%v$aP%w$aP%x$aP%y$aP%|$aP%}$aP&O$aP&Q$aP~O#p#lO~O{#nO#p#mO~Oi#pOj#pO$XVO$YVO%|#oO%}#oO&OVO~O$`#sO~P'iOt!|OU#vaV#vaf#vag#vah#vaw#vax#vay#vaz#va{#va|#va}#va!O#va!P#va!Q#va!R#va$Q#va$W#va%z#va$`#va$_#va~O!R#tO#|#tO#}#tO$O#tO~O$_#vO&R#xO~Oq#zO$`#yO~O$_#{O$`#}O~P'iOQ#dOR#dOW$aXX$aXY$aXZ$aX[$aX]$aX^$aX_$aX`$aXa$aXb$aXc$aX!V$aX#t$aX$X$aX$Y$aX$^$aX$b$aX$c$aX$d$aX$e$aX$f$aX$g$aX$h$aX$i$aX$j$aX$k$aX$l$aX$m$aX$n$aX$o$aX$p$aX$q$aX$r$aX$s$aX$t$aX$u$aX$v$aX$w$aX$x$aX$y$aX$z$aX${$aX$|$aX$}$aX%O$aX%P$aX%Q$aX%R$aX%S$aX%T$aX%U$aX%V$aX%W$aX%X$aX%Y$aX%Z$aX%[$aX%]$aX%^$aX%_$aX%`$aX%a$aX%b$aX%c$aX%d$aX%e$aX%f$aX%g$aX%h$aX%i$aX%j$aX%k$aX%l$aX%m$aX%n$aX%o$aX%p$aX%q$aX%r$aX%s$aX%t$aX%u$aX%v$aX%w$aX%x$aX%y$aX%|$aX%}$aX&O$aX&Q$aX~O%{$VO&P$WO~O#p$XO~O$X#VO$Y#VO&O#VO~O$^$YO~O#t$ZO~Oq#YO&R$]O~O$_$^O&R$]O~O$_$`O$`$bO~O$_#{O$`$eO~OS$fOT$fOWvaXvaYvaZva[va]va^va_va`vaavabvacva!Vva#tva$Xva$Yva$^va$bva$cva$dva$eva$fva$gva$hva$iva$jva$kva$lva$mva$nva$ova$pva$qva$rva$sva$tva$uva$vva$wva$xva$yva$zva${va$|va$}va%Ova%Pva%Qva%Rva%Sva%Tva%Uva%Vva%Wva%Xva%Yva%Zva%[va%]va%^va%_va%`va%ava%bva%cva%dva%eva%fva%gva%hva%iva%jva%kva%lva%mva%nva%ova%pva%qva%rva%sva%tva%uva%vva%wva%xva%yva%|va%}va&Ova&Qva~Ot!|OUsqfsqgsqhsqzsq{sq|sq}sq!Osq!Psq!Qsq!Rsq$Qsq$Wsq%zsq$`sq$_sq~OVsqwsqxsqysq~PIpOV!|Ow!|Ox!|Oy!|O~PIpOV!|Ot!|Ow!|Ox!|Oy!|Oz!}O{!}OUsqfsqgsqhsq$Qsq$Wsq%zsq$`sq$_sq~O|sq}sq!Osq!Psq!Qsq!Rsq~PKlO|#OO}#OO!O#OO!P#OO!Q#OO!R#OO~PKlOV!|Of#POh#POt!|Ow!|Ox!|Oy!|Oz!}O{!}O|#OO}#OO!O#OO!P#OO!Q#OO!R#OO~OUsqgsq$Qsq$Wsq%zsq$`sq$_sq~PMnO#p$hO%{$gO~O$`$iO~Oq#YO&R$jO~Oq$lO$`$mO~O$_$nO$`$mO~O$_$Ua$`$Ua~P'iO$^#^OWviXviYviZvi[vi]vi^vi_vi`viavibvicvi!Vvi#tvi$Xvi$Yvi$bvi$cvi$dvi$evi$fvi$gvi$hvi$ivi$jvi$kvi$lvi$mvi$nvi$ovi$pvi$qvi$rvi$svi$tvi$uvi$vvi$wvi$xvi$yvi$zvi${vi$|vi$}vi%Ovi%Pvi%Qvi%Rvi%Svi%Tvi%Uvi%Vvi%Wvi%Xvi%Yvi%Zvi%[vi%]vi%^vi%_vi%`vi%avi%bvi%cvi%dvi%evi%fvi%gvi%hvi%ivi%jvi%kvi%lvi%mvi%nvi%ovi%pvi%qvi%rvi%svi%tvi%uvi%vvi%wvi%xvi%yvi%|vi%}vi&Ovi&Qvi~O%{$qO~Oq#YO~Oq$lO$`$rO~Oq$lO~O",goto:"({$bPPPPPPPPPPPPPPPPPPPPPPPPPPPPP$c$o${%RP%[$cP%e%lPPPPPPPPPPP$c%v&SP&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S&S$cP&`$c$cP$c$c&o$c&{'['dPPP$cP'gP'j'p'vPPPPP'|PPP(le^OXY!y#g#h#i#j#k#{eROXY!y#g#h#i#j#k#{Q!zRR#b!{Q#_!xQ$O#dR$p$fQ!{RQ#UUR#b!zZ#f!|!}#O#P#QY#e!|!}#O#P#QR$P#feUOXY!y#g#h#i#j#k#{eTOXY!y#g#h#i#j#k#{d^OXY!y#g#h#i#j#k#{R#q#TeYOXY!y#g#h#i#j#k#{d]OXY!y#g#h#i#j#k#{R#][Q#[ZV$[#v$^$kR#u#YR#r#TQ$a#zR$o$aQ#|#aR$d#|Q#w#[R$_#wQSOQ#WXQ#XYQ#a!yQ$Q#gQ$R#hQ$S#iQ$T#jQ$U#kR$c#{Q#g!|Q#h!}Q#i#OQ#j#PR#k#Q",nodeNames:"⚠ Bool Ignoring On GroupLeft GroupRight Offset Atan2 Avg Bottomk Count CountValues Group Max Min Quantile Stddev Stdvar Sum Topk By Without And Or Unless Start End LineComment PromQL AggregateExpr AggregateOp AggregateModifier GroupingLabels LabelName FunctionCallBody BinaryExpr Pow BoolModifier MatchingModifierClause Mul Div Mod Add Sub Eql Gte Gtr Lte Lss Neq FunctionCall FunctionIdentifier AbsentOverTime Identifier Absent Abs Acos Acosh Asin Asinh Atan Atanh AvgOverTime Ceil Changes Clamp ClampMax ClampMin Cos Cosh CountOverTime DaysInMonth DayOfMonth DayOfWeek DayOfYear Deg Delta Deriv Exp Floor HistogramCount HistogramFraction HistogramQuantile HistogramSum HoltWinters Hour Idelta Increase Irate LabelReplace LabelJoin LastOverTime Ln Log10 Log2 MaxOverTime MinOverTime Minute Month Pi PredictLinear PresentOverTime QuantileOverTime Rad Rate Resets Round Scalar Sgn Sin Sinh Sort SortDesc Sqrt StddevOverTime StdvarOverTime SumOverTime Tan Tanh Timestamp Time Vector Year MatrixSelector Duration NumberLiteral OffsetExpr ParenExpr StringLiteral SubqueryExpr UnaryExpr UnaryOp VectorSelector LabelMatchers LabelMatcher MatchOp EqlSingle EqlRegex NeqRegex StepInvariantExpr At AtModifierPreprocessors MetricName",maxTerm:233,nodeProps:[["group",-12,29,35,50,123,125,126,127,128,129,130,132,139,"Expr"]],propSources:[m],skippedNodes:[0,27],repeatNodeCount:3,tokenData:"3s~RwX^#lpq#lqr$ars$tst&luv'Twx'Yxy({yz)Qz{)V{|)[|})c}!O)h!O!P)o!P!Q*o!Q!R*t!R![+l![!]0W!^!_1S!_!`1a!`!a1v!b!c2T!c!}2Y!}#O2p#P#Q2u#Q#R2z#R#S2Y#S#T3P#T#o2Y#o#p3i#q#r3n#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~#qY$[~X^#lpq#l#y#z#l$f$g#l#BY#BZ#l$IS$I_#l$I|$JO#l$JT$JU#l$KV$KW#l&FU&FV#l~$dQ!_!`$j#r#s$o~$oO!R~~$tO$O~~$yW#t~OY$tZr$trs%cs#O$t#O#P%h#P;'S$t;'S;=`&f<%lO$t~%hO#t~~%kRO;'S$t;'S;=`%t;=`O$t~%yX#t~OY$tZr$trs%cs#O$t#O#P%h#P;'S$t;'S;=`&f;=`<%l$t<%lO$t~&iP;=`<%l$t~&qSk~OY&lZ;'S&l;'S;=`&}<%lO&l~'QP;=`<%l&l~'YOy~~'_W#t~OY'YZw'Ywx%cx#O'Y#O#P'w#P;'S'Y;'S;=`(u<%lO'Y~'zRO;'S'Y;'S;=`(T;=`O'Y~(YX#t~OY'YZw'Ywx%cx#O'Y#O#P'w#P;'S'Y;'S;=`(u;=`<%l'Y<%lO'Y~(xP;=`<%l'Y~)QO$^~~)VO$`~~)[Ow~R)cO%}PzQ~)hO$_~R)oO%|P{QP)rP!Q![)uP)zR&OP!Q![)u!g!h*T#X#Y*TP*WR{|*a}!O*a!Q![*gP*dP!Q![*gP*lP&OP!Q![*g~*tOx~R*yZ&OP!O!P)u!Q![+l!g!h*T#W#X,a#X#Y*T#[#],x#a#b-^#g#h.Q#k#l.c#l#m/l#m#n.}R+qY&OP!O!P)u!Q![+l!g!h*T#W#X,a#X#Y*T#[#],x#a#b-^#g#h.Q#k#l.c#m#n.}Q,fP#pQ!Q![,iQ,lS!Q![,i#[#],x#a#b-^#g#h.QQ,}P#pQ!Q![-QQ-TR!Q![-Q#a#b-^#g#h.QQ-cQ#pQ!Q![-i#g#h-{Q-lR!Q![-i#a#b-u#g#h.QQ-xP#g#h-{Q.QO#pQQ.VP#pQ!Q![.YQ.]Q!Q![.Y#a#b-uQ.hP#pQ!Q![.kQ.nT!Q![.k#W#X,a#[#],x#a#b-^#g#h.QQ/SP#pQ!Q![/VQ/YU!Q![/V#W#X,a#[#],x#a#b-^#g#h.Q#k#l.cP/oR!Q![/x!c!i/x#T#Z/xP/}R&OP!Q![/x!c!i/x#T#Z/xV0_T&PS!VR!Q![0n![!]0n!c!}0n#R#S0n#T#o0nR0sT!VR!Q![0n![!]0n!c!}0n#R#S0n#T#o0n~1XP!Q~!_!`1[~1aO!P~~1fQ#|P!_!`1l#r#s1qQ1qO|Q~1vO#}~~1{P!O~!_!`2O~2TO}~~2YO$Q~V2aT!VRqS!Q![2Y![!]0n!c!}2Y#R#S2Y#T#o2Y~2uO%z~~2zO%{~~3POt~~3STO#S3P#S#T%c#T;'S3P;'S;=`3c<%lO3P~3fP;=`<%l3P~3nO&Q~~3sO&R~",tokenizers:[0,1,2],topRules:{PromQL:[0,28],MetricName:[1,142]},specialized:[{term:53,get:(e,t)=>d(e)<<1,external:d},{term:53,get:(e,t)=>f(e)<<1|1,external:f,extend:!0},{term:53,get:e=>g[e]||-1}],tokenPrec:0});(i=l||(l={})).none="none",i.vector="vector",i.scalar="scalar",i.matrix="matrix",i.string="string";let y={55:{name:"abs",argTypes:[l.vector],variadic:0,returnType:l.vector},54:{name:"absent",argTypes:[l.vector],variadic:0,returnType:l.vector},52:{name:"absent_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},56:{name:"acos",argTypes:[l.vector],variadic:0,returnType:l.vector},57:{name:"acosh",argTypes:[l.vector],variadic:0,returnType:l.vector},58:{name:"asin",argTypes:[l.vector],variadic:0,returnType:l.vector},59:{name:"asinh",argTypes:[l.vector],variadic:0,returnType:l.vector},60:{name:"atan",argTypes:[l.vector],variadic:0,returnType:l.vector},61:{name:"atanh",argTypes:[l.vector],variadic:0,returnType:l.vector},62:{name:"avg_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},63:{name:"ceil",argTypes:[l.vector],variadic:0,returnType:l.vector},64:{name:"changes",argTypes:[l.matrix],variadic:0,returnType:l.vector},65:{name:"clamp",argTypes:[l.vector,l.scalar,l.scalar],variadic:0,returnType:l.vector},66:{name:"clamp_max",argTypes:[l.vector,l.scalar],variadic:0,returnType:l.vector},67:{name:"clamp_min",argTypes:[l.vector,l.scalar],variadic:0,returnType:l.vector},68:{name:"cos",argTypes:[l.vector],variadic:0,returnType:l.vector},69:{name:"Cosh",argTypes:[l.vector],variadic:0,returnType:l.vector},70:{name:"count_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},71:{name:"days_in_month",argTypes:[l.vector],variadic:1,returnType:l.vector},72:{name:"day_of_month",argTypes:[l.vector],variadic:1,returnType:l.vector},73:{name:"day_of_week",argTypes:[l.vector],variadic:1,returnType:l.vector},74:{name:"day_of_year",argTypes:[l.vector],variadic:1,returnType:l.vector},75:{name:"deg",argTypes:[l.vector],variadic:0,returnType:l.vector},76:{name:"delta",argTypes:[l.matrix],variadic:0,returnType:l.vector},77:{name:"deriv",argTypes:[l.matrix],variadic:0,returnType:l.vector},78:{name:"exp",argTypes:[l.vector],variadic:0,returnType:l.vector},79:{name:"floor",argTypes:[l.vector],variadic:0,returnType:l.vector},80:{name:"histogram_count",argTypes:[l.vector],variadic:0,returnType:l.vector},81:{name:"histogram_fraction",argTypes:[l.scalar,l.scalar,l.vector],variadic:0,returnType:l.vector},82:{name:"histogram_quantile",argTypes:[l.scalar,l.vector],variadic:0,returnType:l.vector},83:{name:"histogram_sum",argTypes:[l.vector],variadic:0,returnType:l.vector},84:{name:"holt_winters",argTypes:[l.matrix,l.scalar,l.scalar],variadic:0,returnType:l.vector},85:{name:"hour",argTypes:[l.vector],variadic:1,returnType:l.vector},86:{name:"idelta",argTypes:[l.matrix],variadic:0,returnType:l.vector},87:{name:"increase",argTypes:[l.matrix],variadic:0,returnType:l.vector},88:{name:"irate",argTypes:[l.matrix],variadic:0,returnType:l.vector},89:{name:"label_replace",argTypes:[l.vector,l.string,l.string,l.string,l.string],variadic:0,returnType:l.vector},90:{name:"label_join",argTypes:[l.vector,l.string,l.string,l.string],variadic:-1,returnType:l.vector},91:{name:"last_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},92:{name:"ln",argTypes:[l.vector],variadic:0,returnType:l.vector},93:{name:"log10",argTypes:[l.vector],variadic:0,returnType:l.vector},94:{name:"log2",argTypes:[l.vector],variadic:0,returnType:l.vector},95:{name:"max_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},96:{name:"min_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},97:{name:"minute",argTypes:[l.vector],variadic:1,returnType:l.vector},98:{name:"month",argTypes:[l.vector],variadic:1,returnType:l.vector},99:{name:"pi",argTypes:[],variadic:0,returnType:l.vector},100:{name:"predict_linear",argTypes:[l.matrix,l.scalar],variadic:0,returnType:l.vector},101:{name:"present_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},102:{name:"quantile_over_time",argTypes:[l.scalar,l.matrix],variadic:0,returnType:l.vector},103:{name:"rad",argTypes:[l.vector],variadic:0,returnType:l.vector},104:{name:"rate",argTypes:[l.matrix],variadic:0,returnType:l.vector},105:{name:"resets",argTypes:[l.matrix],variadic:0,returnType:l.vector},106:{name:"round",argTypes:[l.vector,l.scalar],variadic:1,returnType:l.vector},107:{name:"scalar",argTypes:[l.vector],variadic:0,returnType:l.scalar},108:{name:"sgn",argTypes:[l.vector],variadic:0,returnType:l.vector},109:{name:"sin",argTypes:[l.vector],variadic:0,returnType:l.vector},110:{name:"Sinh",argTypes:[l.vector],variadic:0,returnType:l.vector},111:{name:"sort",argTypes:[l.vector],variadic:0,returnType:l.vector},112:{name:"sort_desc",argTypes:[l.vector],variadic:0,returnType:l.vector},113:{name:"sqrt",argTypes:[l.vector],variadic:0,returnType:l.vector},114:{name:"stddev_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},115:{name:"stdvar_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},116:{name:"sum_over_time",argTypes:[l.matrix],variadic:0,returnType:l.vector},117:{name:"tan",argTypes:[l.vector],variadic:0,returnType:l.vector},118:{name:"tanh",argTypes:[l.vector],variadic:0,returnType:l.vector},120:{name:"time",argTypes:[],variadic:0,returnType:l.scalar},119:{name:"timestamp",argTypes:[l.vector],variadic:0,returnType:l.vector},121:{name:"vector",argTypes:[l.scalar],variadic:0,returnType:l.vector},122:{name:"year",argTypes:[l.vector],variadic:1,returnType:l.vector}};class b{constructor(e,t,a){this.type=e,this.name=t,this.value=a}matchesEmpty(){switch(this.type){case 136:return""===this.value;case 49:return""!==this.value;default:return!1}}}function _(e,t){let a=[];return e.forEach(e=>{a.push(function(e,t){let a=new b(0,"",""),i=e.cursor();if(!i.next())return a;do switch(i.type.id){case 33:a.name=t.sliceDoc(i.from,i.to);break;case 135:let r=i.node.firstChild;r&&(a.type=r.type.id);break;case 128:a.value=t.sliceDoc(i.from,i.to).slice(1,-1)}while(i.nextSibling());return a}(e,t))}),a}function Q(e,t){for(;;){if(!e||e.type.id===t)return e;e=e.parent}return null}function P(e,...t){let a=e.cursor();if(!a.next())return!1;let i=!1;do i=t.some(e=>a.type.id===e||a.type.name===e);while(!i&&a.nextSibling());return i}function w(e,...t){let a=e.cursor();if(!a.next())return!1;let i=0;do a.type.is(t[i])&&i++;while(i<t.length&&a.nextSibling());return i>=t.length}(r=s||(s={})).CardOneToOne="one-to-one",r.CardManyToOne="many-to-one",r.CardOneToMany="one-to-many",r.CardManyToMany="many-to-many";var x=a(61262);class T{constructor(e){this.tree=(0,x.qz)(e),this.state=e,this.diagnostics=[]}getDiagnostics(){return this.diagnostics.sort((e,t)=>e.from-t.from)}analyze(){this.checkAST(this.tree.topNode.firstChild),this.diagnoseAllErrorNodes()}diagnoseAllErrorNodes(){let e=this.tree.cursor();for(;e.next();)if(0===e.type.id&&e.to!==this.tree.topNode.to){let t=e.node.parent;this.diagnostics.push({severity:"error",message:"unexpected expression",from:t?t.from:e.from,to:t?t.to:e.to})}}checkAST(e){if(!e)return l.none;switch(e.type.id){case 29:this.checkAggregationExpr(e);break;case 35:this.checkBinaryExpr(e);break;case 50:this.checkCallFunction(e);break;case 127:case 123:this.checkAST(e.getChild("Expr"));break;case 130:let t=this.checkAST(e.getChild("Expr"));t!==l.scalar&&t!==l.vector&&this.addDiagnostic(e,`unary expression only allowed on expressions of type scalar or instant vector, got ${t}`);break;case 129:let a=this.checkAST(e.getChild("Expr"));a!==l.vector&&this.addDiagnostic(e,`subquery is only allowed on instant vector, got ${a} in ${e.name} instead`);break;case 132:this.checkVectorSelector(e);break;case 139:let i=this.checkAST(e.getChild("Expr"));i!==l.vector&&i!==l.matrix&&this.addDiagnostic(e,"@ modifier must be preceded by an instant selector vector or range vector selector or a subquery")}return function e(t){var a;if(!t)return l.none;switch(t.type.id){case 29:case 132:return l.vector;case 126:return e(t.firstChild);case 128:return l.string;case 125:return l.scalar;case 123:case 129:return l.matrix;case 127:case 130:case 139:return e(t.getChild("Expr"));case 35:let i=e(t.firstChild),r=e(t.lastChild);if(i===l.scalar&&r===l.scalar)return l.scalar;return l.vector;case 50:let n=null===(a=t.firstChild)||void 0===a?void 0:a.firstChild;if(!n)return l.none;return y[n.type.id].returnType;default:return l.none}}(e)}checkAggregationExpr(e){var t;let a=null===(t=e.firstChild)||void 0===t?void 0:t.firstChild;if(!a){this.addDiagnostic(e,"aggregation operator expected in aggregation expression but got nothing");return}let i=e.getChild(34),r=i?i.getChildren("Expr"):[];if(!r.length){this.addDiagnostic(e,"unable to find the parameter for the expression");return}this.expectType(r[r.length-1],l.vector,"aggregation expression"),(19===a.type.id||9===a.type.id||15===a.type.id)&&this.expectType(r[0],l.scalar,"aggregation parameter"),11===a.type.id&&this.expectType(r[0],l.string,"aggregation parameter")}checkBinaryExpr(e){let t=e.firstChild,a=e.lastChild;if(!t||!a){this.addDiagnostic(e,"left or right expression is missing in binary expression");return}let i=this.checkAST(t),r=this.checkAST(a),n=e.getChild(37),o=P(e,44,49,47,48,45,46),c=P(e,22,23,24);n?o||this.addDiagnostic(e,"bool modifier can only be used on comparison operators"):o&&i===l.scalar&&r===l.scalar&&this.addDiagnostic(e,"comparisons between scalars must use BOOL modifier");let u=function(e,t){if(!t||35!==t.type.id)return null;let a={card:s.CardOneToOne,matchingLabels:[],on:!1,include:[]},i=t.getChild(38);if(i){a.on=null!==i.getChild(3);let t=i.getChild(32);for(let i of t?t.getChildren(33):[])a.matchingLabels.push(e.sliceDoc(i.from,i.to));let r=i.getChild(4),n=i.getChild(5),o=r||n;if(o){a.card=r?s.CardManyToOne:s.CardOneToMany;let t=o.nextSibling;for(let i of(null==t?void 0:t.getChildren(33))||[])a.include.push(e.sliceDoc(i.from,i.to))}}return P(t,22,23,24)&&a.card===s.CardOneToOne&&(a.card=s.CardManyToMany),a}(this.state,e);if(null!==u&&u.on)for(let t of u.matchingLabels)for(let a of u.include)t===a&&this.addDiagnostic(e,`label "${t}" must not occur in ON and GROUP clause at once`);i!==l.scalar&&i!==l.vector&&this.addDiagnostic(t,"binary expression must contain only scalar and instant vector types"),r!==l.scalar&&r!==l.vector&&this.addDiagnostic(a,"binary expression must contain only scalar and instant vector types"),(i!==l.vector||r!==l.vector)&&null!==u?u.matchingLabels.length>0&&this.addDiagnostic(e,"vector matching only allowed between instant vectors"):c&&(((null==u?void 0:u.card)===s.CardOneToMany||(null==u?void 0:u.card)===s.CardManyToOne)&&this.addDiagnostic(e,"no grouping allowed for set operations"),(null==u?void 0:u.card)!==s.CardManyToMany&&this.addDiagnostic(e,"set operations must always be many-to-many")),(i===l.scalar||r===l.scalar)&&c&&this.addDiagnostic(e,"set operator not allowed in binary scalar expression")}checkCallFunction(e){var t;let a=null===(t=e.firstChild)||void 0===t?void 0:t.firstChild;if(!a){this.addDiagnostic(e,"function not defined");return}let i=e.getChild(34),r=i?i.getChildren("Expr"):[],n=y[a.type.id],o=n.argTypes.length;if(0===n.variadic)r.length!==o&&this.addDiagnostic(e,`expected ${o} argument(s) in call to "${n.name}", got ${r.length}`);else{let t=o-1;if(t>r.length)this.addDiagnostic(e,`expected at least ${t} argument(s) in call to "${n.name}", got ${r.length}`);else{let a=t+n.variadic;n.variadic>0&&a<r.length&&this.addDiagnostic(e,`expected at most ${a} argument(s) in call to "${n.name}", got ${r.length}`)}}let l=0;for(let e=0;e<r.length;e++){if((l=e)>=n.argTypes.length){if(0===n.variadic)break;l=n.argTypes.length-1}this.expectType(r[e],n.argTypes[l],`call to function "${n.name}"`)}}checkVectorSelector(e){let t=e.getChild(133),a=_(t?t.getChildren(134):[],this.state),i="",r=e.getChild(53);if(r&&(i=this.state.sliceDoc(r.from,r.to)),""!==i){let t=a.find(e=>"__name__"===e.name);t&&this.addDiagnostic(e,`metric name must not be set twice: ${i} or ${t.value}`),a.push(new b(136,"__name__",i))}a.every(e=>e.matchesEmpty())&&this.addDiagnostic(e,"vector selector must contain at least one non-empty matcher")}expectType(e,t,a){let i=this.checkAST(e);i!==t&&this.addDiagnostic(e,`expected type ${t} in ${a}, got ${i}`)}addDiagnostic(e,t){this.diagnostics.push({severity:"error",message:t,from:e.from,to:e.to})}}var X=a(13018);let k=[{label:"^"},{label:"*"},{label:"/"},{label:"%"},{label:"+"},{label:"-"},{label:"=="},{label:">="},{label:">"},{label:"<"},{label:"<="},{label:"!="},{label:"atan2"},{label:"and"},{label:"or"},{label:"unless"}],S=[{label:"avg",detail:"aggregation",info:"Calculate the average over dimensions",type:"keyword"},{label:"bottomk",detail:"aggregation",info:"Smallest k elements by sample value",type:"keyword"},{label:"count",detail:"aggregation",info:"Count number of elements in the vector",type:"keyword"},{label:"count_values",detail:"aggregation",info:"Count number of elements with the same value",type:"keyword"},{label:"group",detail:"aggregation",info:"Group series, while setting the sample value to 1",type:"keyword"},{label:"max",detail:"aggregation",info:"Select maximum over dimensions",type:"keyword"},{label:"min",detail:"aggregation",info:"Select minimum over dimensions",type:"keyword"},{label:"quantile",detail:"aggregation",info:"Calculate φ-quantile (0 ≤ φ ≤ 1) over dimensions",type:"keyword"},{label:"stddev",detail:"aggregation",info:"Calculate population standard deviation over dimensions",type:"keyword"},{label:"stdvar",detail:"aggregation",info:"Calculate population standard variance over dimensions",type:"keyword"},{label:"sum",detail:"aggregation",info:"Calculate sum over dimensions",type:"keyword"},{label:"topk",detail:"aggregation",info:"Largest k elements by sample value",type:"keyword"}],E=[{label:"sum(rate(__input_vector__[5m]))",type:"function",detail:"snippet",info:"Sum over rates of increase",apply:(0,X.DB)("sum(rate(${__input_vector__}[5m]))")},{label:"histogram_quantile(__quantile__, sum by(le) (rate(__histogram_metric__[5m])))",type:"function",detail:"snippet",info:"Approximate a quantile value from an aggregated histogram",apply:(0,X.DB)("histogram_quantile(${__quantile__}, sum by(le) (rate(${__histogram_metric__}[5m])))")},{label:'label_replace(__input_vector__, "__dst__", "__replacement__", "__src__", "__regex__")',type:"function",detail:"snippet",info:"Set or replace a label value in an input vector",apply:(0,X.DB)('label_replace(${__input_vector__}, "${__dst__}", "${__replacement__}", "${__src__}", "${__regex__}")')},{label:"topk(__rank_number__, __input_vector__)",type:"function",detail:"snippet",info:"Largest k elements by sample value",apply:(0,X.DB)("topk(${__rank_number__}, ${__input_vector__})")},{label:"bottomk(__rank_number__, __input_vector__)",type:"function",detail:"snippet",info:"Smallest k elements by sample value",apply:(0,X.DB)("bottomk(${__rank_number__}, ${__input_vector__})")},{label:'count_values("__label_name__", __input_vector__)',type:"function",detail:"snippet",info:"Count the number of series per distinct sample value",apply:(0,X.DB)('count_values("${__label_name__}", ${__metric__})')}],C={matchOp:[{label:"="},{label:"!="},{label:"=~"},{label:"!~"}],binOp:k,duration:[{label:"y"},{label:"w"},{label:"d"},{label:"h"},{label:"m"},{label:"s"},{label:"ms"}],binOpModifier:[{label:"on",info:"Match only on specified labels",type:"keyword"},{label:"ignoring",info:"Ignore specified labels for matching",type:"keyword"},{label:"group_left",info:"Allow many-to-one matching",type:"keyword"},{label:"group_right",info:"Allow one-to-many matching",type:"keyword"}],atModifier:[{label:"start()",info:"resolve to the start of the query",type:"keyword"},{label:"end()",info:"resolve to the end of the query",type:"keyword"}],functionIdentifier:[{label:"abs",detail:"function",info:"Return absolute values of input series",type:"function"},{label:"absent",detail:"function",info:"Determine whether input vector is empty",type:"function"},{label:"absent_over_time",detail:"function",info:"Determine whether input range vector is empty",type:"function"},{label:"acos",detail:"function",info:"Calculate the arccosine, in radians, for input series",type:"function"},{label:"acosh",detail:"function",info:"Calculate the inverse hyperbolic cosine, in radians, for input series",type:"function"},{label:"asin",detail:"function",info:"Calculate the arcsine, in radians, for input series",type:"function"},{label:"asinh",detail:"function",info:"Calculate the inverse hyperbolic sine, in radians, for input series",type:"function"},{label:"atan",detail:"function",info:"Calculate the arctangent, in radians, for input series",type:"function"},{label:"atanh",detail:"function",info:"Calculate the inverse hyperbolic tangent, in radians, for input series",type:"function"},{label:"avg_over_time",detail:"function",info:"Average series values over time",type:"function"},{label:"ceil",detail:"function",info:"Round up values of input series to nearest integer",type:"function"},{label:"changes",detail:"function",info:"Return number of value changes in input series over time",type:"function"},{label:"clamp",detail:"function",info:"Limit the value of input series between a minimum and a maximum",type:"function"},{label:"clamp_max",detail:"function",info:"Limit the value of input series to a maximum",type:"function"},{label:"clamp_min",detail:"function",info:"Limit the value of input series to a minimum",type:"function"},{label:"cos",detail:"function",info:"Calculate the cosine, in radians, for input series",type:"function",boost:-1},{label:"cosh",detail:"function",info:"Calculate the hyperbolic cosine, in radians, for input series",type:"function",boost:-1},{label:"count_over_time",detail:"function",info:"Count the number of values for each input series",type:"function"},{label:"days_in_month",detail:"function",info:"Return the number of days in current month for provided timestamps",type:"function"},{label:"day_of_month",detail:"function",info:"Return the day of the month for provided timestamps",type:"function"},{label:"day_of_week",detail:"function",info:"Return the day of the week for provided timestamps",type:"function"},{label:"day_of_year",detail:"function",info:"Return the day of the year for provided timestamps",type:"function"},{label:"deg",detail:"function",info:"Convert radians to degrees for input series",type:"function",boost:-1},{label:"delta",detail:"function",info:"Calculate the difference between beginning and end of a range vector (for gauges)",type:"function"},{label:"deriv",detail:"function",info:"Calculate the per-second derivative over series in a range vector (for gauges)",type:"function"},{label:"exp",detail:"function",info:"Calculate exponential function for input vector values",type:"function"},{label:"floor",detail:"function",info:"Round down values of input series to nearest integer",type:"function"},{label:"histogram_count",detail:"function",info:"Return the count of observations from a native histogram (experimental feature)",type:"function"},{label:"histogram_fraction",detail:"function",info:"Calculate fractions of observations within an interval from a native histogram (experimental feature)",type:"function"},{label:"histogram_quantile",detail:"function",info:"Calculate quantiles from native histograms (experimental) and from conventional histogram buckets",type:"function"},{label:"histogram_sum",detail:"function",info:"Return the sum of observations from a native histogram (experimental feature)",type:"function"},{label:"holt_winters",detail:"function",info:"Calculate smoothed value of input series",type:"function"},{label:"hour",detail:"function",info:"Return the hour of the day for provided timestamps",type:"function"},{label:"idelta",detail:"function",info:"Calculate the difference between the last two samples of a range vector (for counters)",type:"function"},{label:"increase",detail:"function",info:"Calculate the increase in value over a range of time (for counters)",type:"function"},{label:"irate",detail:"function",info:"Calculate the per-second increase over the last two samples of a range vector (for counters)",type:"function"},{label:"label_replace",detail:"function",info:"Set or replace label values",type:"function"},{label:"label_join",detail:"function",info:"Join together label values into new label",type:"function"},{label:"last_over_time",detail:"function",info:"The most recent point value in specified interval.",type:"function"},{label:"ln",detail:"function",info:"Calculate natural logarithm of input series",type:"function"},{label:"log10",detail:"function",info:"Calulcate base-10 logarithm of input series",type:"function"},{label:"log2",detail:"function",info:"Calculate base-2 logarithm of input series",type:"function"},{label:"max_over_time",detail:"function",info:"Return the maximum value over time for input series",type:"function"},{label:"min_over_time",detail:"function",info:"Return the minimum value over time for input series",type:"function"},{label:"minute",detail:"function",info:"Return the minute of the hour for provided timestamps",type:"function"},{label:"month",detail:"function",info:"Return the month for provided timestamps",type:"function"},{label:"pi",detail:"function",info:"Return pi",type:"function"},{label:"predict_linear",detail:"function",info:"Predict the value of a gauge into the future",type:"function"},{label:"present_over_time",detail:"function",info:"the value 1 for any series in the specified interval",type:"function"},{label:"quantile_over_time",detail:"function",info:"Calculate value quantiles over time for input series",type:"function"},{label:"rad",detail:"function",info:"Convert degrees to radians for input series",type:"function",boost:-1},{label:"rate",detail:"function",info:"Calculate per-second increase over a range vector (for counters)",type:"function"},{label:"resets",detail:"function",info:"Return number of value decreases (resets) in input series of time",type:"function"},{label:"round",detail:"function",info:"Round values of input series to nearest integer",type:"function"},{label:"scalar",detail:"function",info:"Convert single-element series vector into scalar value",type:"function"},{label:"sgn",detail:"function",info:"Returns the sign of the instant vector",type:"function"},{label:"sin",detail:"function",info:"Calculate the sine, in radians, for input series",type:"function"},{label:"sinh",detail:"function",info:"Calculate the hyperbolic sine, in radians, for input series",type:"function"},{label:"sort",detail:"function",info:"Sort input series ascendingly by value",type:"function"},{label:"sort_desc",detail:"function",info:"Sort input series descendingly by value",type:"function"},{label:"sqrt",detail:"function",info:"Return the square root for input series",type:"function"},{label:"stddev_over_time",detail:"function",info:"Calculate the standard deviation within input series over time",type:"function"},{label:"stdvar_over_time",detail:"function",info:"Calculate the standard variation within input series over time",type:"function"},{label:"sum_over_time",detail:"function",info:"Calculate the sum over the values of input series over time",type:"function"},{label:"tan",detail:"function",info:"Calculate the tangent, in radians, for input series",type:"function"},{label:"tanh",detail:"function",info:"Calculate the hyperbolic tangent, in radians, for input series",type:"function"},{label:"time",detail:"function",info:"Return the Unix timestamp at the current evaluation time",type:"function"},{label:"timestamp",detail:"function",info:"Return the Unix timestamp for the samples in the input vector",type:"function"},{label:"vector",detail:"function",info:"Convert a scalar value into a single-element series vector",type:"function"},{label:"year",detail:"function",info:"Return the year for provided timestamps",type:"function"}],aggregateOp:S,aggregateOpModifier:[{label:"by",info:"Keep the listed labels, remove all others.",type:"keyword"},{label:"without",info:"Remove the listed labels, preserve all others.",type:"keyword"}],number:[{label:"nan",info:"Floating-point NaN value",type:"constant"},{label:"inf",info:"Floating-point infinity",type:"constant"}]};function D(e,t){let a=Q(e,132);return a&&(a=a.getChild(53))?t.sliceDoc(a.from,a.to):""}(n=c||(c={}))[n.MetricName=0]="MetricName",n[n.LabelName=1]="LabelName",n[n.LabelValue=2]="LabelValue",n[n.Function=3]="Function",n[n.Aggregation=4]="Aggregation",n[n.BinOpModifier=5]="BinOpModifier",n[n.BinOp=6]="BinOp",n[n.MatchOp=7]="MatchOp",n[n.AggregateOpModifier=8]="AggregateOpModifier",n[n.Duration=9]="Duration",n[n.Offset=10]="Offset",n[n.Bool=11]="Bool",n[n.AtModifiers=12]="AtModifiers",n[n.Number=13]="Number";class q{constructor(e,t=1e4){this.prometheusClient=e,this.maxMetricsMetadata=t}getPrometheusClient(){return this.prometheusClient}promQL(e){let{state:t,pos:a}=e,i=(0,x.qz)(t).resolve(a,-1),r=function(e,t){var a,i,r,n,o,l,s,u,h,p,O,d,v,f;let m=[];switch(t.type.id){case 0:if((null===(a=t.parent)||void 0===a?void 0:a.type.id)===126){m.push({kind:c.Duration});break}if((null===(i=t.parent)||void 0===i?void 0:i.type.id)===134){m.push({kind:c.MatchOp});break}if((null===(r=t.parent)||void 0===r?void 0:r.type.id)===123||(null===(n=t.parent)||void 0===n?void 0:n.type.id)===129&&P(t.parent,124)){m.push({kind:c.Duration});break}let g=e.sliceDoc(t.from,t.to);k.filter(e=>e.label.includes(g)).length>0&&m.push({kind:c.BinOp});break;case 53:if((null===(o=t.parent)||void 0===o?void 0:o.type.id)===0){let a=t.parent.parent;if((null==a?void 0:a.type.id)===139){m.push({kind:c.AtModifiers});break}if((null==a?void 0:a.type.id)===29){m.push({kind:c.AggregateOpModifier},{kind:c.BinOp});break}if((null==a?void 0:a.type.id)===132){let a=D(t,e);S.filter(e=>e.label===a).length>0&&m.push({kind:c.AggregateOpModifier}),m.push({kind:c.BinOp},{kind:c.Offset});break}if(a&&w(a,"Expr")){m.push({kind:c.BinOp},{kind:c.Offset});break}}let $=null===(l=t.parent)||void 0===l?void 0:l.parent;if(!$){m.push({kind:c.MetricName,metricName:e.sliceDoc(t.from,t.to)});break}w($,"Expr","Expr")?35!==$.type.id||P($,0)||(m.push({kind:c.MetricName,metricName:e.sliceDoc(t.from,t.to)},{kind:c.Function},{kind:c.Aggregation},{kind:c.BinOpModifier},{kind:c.Number}),P($,44,45,46,47,48,49)&&!P($,37)&&m.push({kind:c.Bool})):(m.push({kind:c.MetricName,metricName:e.sliceDoc(t.from,t.to)},{kind:c.Function},{kind:c.Aggregation}),34!==$.type.id&&123!==$.type.id&&m.push({kind:c.Number}));break;case 28:null!==t.firstChild&&0===t.firstChild.type.id&&m.push({kind:c.MetricName,metricName:""},{kind:c.Function},{kind:c.Aggregation},{kind:c.Number});break;case 32:m.push({kind:c.LabelName,metricName:function(e,t){let a=Q(e,29);if(!a)return"";let i="";return a.cursor().iterate(e=>{if(132===e.type.id&&(i=D(e.node,t)))return!1}),i}(t,e)});break;case 133:m.push({kind:c.LabelName,metricName:D(t,e)});break;case 33:(null===(s=t.parent)||void 0===s?void 0:s.type.id)===32?m.push({kind:c.LabelName}):(null===(u=t.parent)||void 0===u?void 0:u.type.id)===134&&m.push({kind:c.LabelName,metricName:D(t,e)});break;case 128:if((null===(h=t.parent)||void 0===h?void 0:h.type.id)===134){let a="";(null===(p=t.parent.firstChild)||void 0===p?void 0:p.type.id)===33&&(a=e.sliceDoc(t.parent.firstChild.from,t.parent.firstChild.to));let i=D(t,e),r=Q(t,133),n=_(r?r.getChildren(134):[],e);m.push({kind:c.LabelValue,metricName:i,labelName:a,matchers:n})}break;case 125:(null===(O=t.parent)||void 0===O?void 0:O.type.id)===0&&(null===(d=t.parent.parent)||void 0===d?void 0:d.type.id)===129?m.push({kind:c.Duration}):m.push({kind:c.Number});break;case 124:case 126:m.push({kind:c.Duration});break;case 34:m.push({kind:c.MetricName,metricName:""},{kind:c.Function},{kind:c.Aggregation});break;case 49:(null===(v=t.parent)||void 0===v?void 0:v.type.id)===135?m.push({kind:c.MatchOp}):(null===(f=t.parent)||void 0===f?void 0:f.type.id)===35&&m.push({kind:c.BinOp});break;case 136:case 137:case 138:case 135:m.push({kind:c.MatchOp});break;case 36:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:case 22:case 24:case 23:case 35:m.push({kind:c.BinOp})}return m}(t,i),n=Promise.resolve([]),o=!1,l=!0;for(let e of r)switch(e.kind){case c.Aggregation:o=!0,n=n.then(e=>e.concat(C.aggregateOp));break;case c.Function:o=!0,n=n.then(e=>e.concat(C.functionIdentifier));break;case c.BinOpModifier:n=n.then(e=>e.concat(C.binOpModifier));break;case c.BinOp:n=n.then(e=>e.concat(C.binOp));break;case c.MatchOp:n=n.then(e=>e.concat(C.matchOp));break;case c.AggregateOpModifier:n=n.then(e=>e.concat(C.aggregateOpModifier));break;case c.Duration:l=!1,n=n.then(e=>e.concat(C.duration));break;case c.Offset:n=n.then(e=>e.concat([{label:"offset"}]));break;case c.Bool:n=n.then(e=>e.concat([{label:"bool"}]));break;case c.AtModifiers:n=n.then(e=>e.concat(C.atModifier));break;case c.Number:n=n.then(e=>e.concat(C.number));break;case c.MetricName:n=n.then(t=>this.autocompleteMetricName(t,e));break;case c.LabelName:n=n.then(t=>this.autocompleteLabelName(t,e));break;case c.LabelValue:n=n.then(t=>this.autocompleteLabelValue(t,e))}return n.then(e=>(function(e,t,a,i=!1,r=!0){return i&&e.push(...E),{from:t,to:a,options:e,validFor:r?/^[a-zA-Z0-9_:]+$/:void 0}})(e,function(e,t){var a,i,r,n,o,l;let s=e.from;if(133===e.type.id||32===e.type.id){let a;a=e.from+1,null!==e.firstChild&&(a=t),s=a}else 34===e.type.id||128===e.type.id&&(null===(a=e.parent)||void 0===a?void 0:a.type.id)===134?s++:(126===e.type.id||125===e.type.id&&(null===(i=e.parent)||void 0===i?void 0:i.type.id)===0&&(null===(r=e.parent.parent)||void 0===r?void 0:r.type.id)===129||0===e.type.id&&((null===(n=e.parent)||void 0===n?void 0:n.type.id)===126||(null===(o=e.parent)||void 0===o?void 0:o.type.id)===123||(null===(l=e.parent)||void 0===l?void 0:l.type.id)===129&&P(e.parent,124)))&&(s=t);return s}(i,a),a,o,l))}autocompleteMetricName(e,t){if(!this.prometheusClient)return e;let a=new Map;return this.prometheusClient.metricNames(t.metricName).then(e=>{var t;for(let t of e)a.set(t,{label:t,type:"constant"});if(e.length<=this.maxMetricsMetadata)return null===(t=this.prometheusClient)||void 0===t?void 0:t.metricMetadata()}).then(t=>{if(t)for(let[e,i]of a){let a=t[e.replace(/(_count|_sum|_bucket)$/,"")];if(a){if(a.length>1)for(let e of a)""===i.detail?i.detail=e.type:i.detail!==e.type&&(i.detail="unknown",i.info="multiple different definitions for this metric"),""===i.info?i.info=e.help:i.info!==e.help&&(i.info="multiple different definitions for this metric");else if(1===a.length){let{type:t,help:r}=a[0];("histogram"===t||"summary"===t)&&(e.endsWith("_count")&&(t="counter",r=`The total number of observations for: ${r}`),e.endsWith("_sum")&&(t="counter",r=`The total sum of observations for: ${r}`),e.endsWith("_bucket")&&(t="counter",r=`The total count of observations for a bucket in the histogram: ${r}`)),i.detail=t,i.info=r}}}return e.concat(Array.from(a.values()))})}autocompleteLabelName(e,t){return this.prometheusClient?this.prometheusClient.labelNames(t.metricName).then(t=>e.concat(t.map(e=>({label:e,type:"constant"})))):e}autocompleteLabelValue(e,t){return this.prometheusClient&&t.labelName?this.prometheusClient.labelValues(t.labelName,t.metricName,t.matchers).then(t=>e.concat(t.map(e=>({label:e,type:"text"})))):e}}var M=a(54685),R=a.n(M);class A{constructor(e){this.lookbackInterval=432e5,this.httpMethod="POST",this.apiPrefix="/api/v1",this.fetchFn=(e,t)=>fetch(e,t),this.url=e.url?e.url:"",this.errorHandler=e.httpErrorHandler,e.lookbackInterval&&(this.lookbackInterval=e.lookbackInterval),e.fetchFn&&(this.fetchFn=e.fetchFn),e.httpMethod&&(this.httpMethod=e.httpMethod),e.apiPrefix&&(this.apiPrefix=e.apiPrefix)}labelNames(e){let t=new Date,a=new Date(t.getTime()-this.lookbackInterval);if(void 0===e||""===e){let e=this.buildRequest(this.labelsEndpoint(),new URLSearchParams({start:a.toISOString(),end:t.toISOString()}));return this.fetchAPI(e.uri,{method:this.httpMethod,body:e.body}).catch(e=>(this.errorHandler&&this.errorHandler(e),[]))}return this.series(e).then(e=>{let t=new Set;for(let a of e)for(let[e]of Object.entries(a))"__name__"!==e&&t.add(e);return Array.from(t)})}labelValues(e,t,a){let i=new Date,r=new Date(i.getTime()-this.lookbackInterval);if(!t||0===t.length){let t=new URLSearchParams({start:r.toISOString(),end:i.toISOString()});return this.fetchAPI(`${this.labelValuesEndpoint().replace(/:name/gi,e)}?${t}`).catch(e=>(this.errorHandler&&this.errorHandler(e),[]))}return this.series(t,a,e).then(t=>{let a=new Set;for(let i of t)for(let[t,r]of Object.entries(i))"__name__"!==t&&t===e&&a.add(r);return Array.from(a)})}metricMetadata(){return this.fetchAPI(this.metricMetadataEndpoint()).catch(e=>(this.errorHandler&&this.errorHandler(e),{}))}series(e,t,a){let i=new Date,r=new Date(i.getTime()-this.lookbackInterval),n=this.buildRequest(this.seriesEndpoint(),new URLSearchParams({start:r.toISOString(),end:i.toISOString(),"match[]":function(e,t,a){if(!t||0===t.length)return e;let i="";for(let e of t){if(e.name===a||""===e.value)continue;let t="";switch(e.type){case 136:default:t="=";break;case 49:t="!=";break;case 138:t="!~";break;case 137:t="=~"}let r=`${e.name}${t}"${e.value}"`;i=""===i?r:`${i},${r}`}return`${e}{${i}}`}(e,t,a)}));return this.fetchAPI(n.uri,{method:this.httpMethod,body:n.body}).catch(e=>(this.errorHandler&&this.errorHandler(e),[]))}metricNames(){return this.labelValues("__name__")}flags(){return this.fetchAPI(this.flagsEndpoint()).catch(e=>(this.errorHandler&&this.errorHandler(e),{}))}fetchAPI(e,t){return this.fetchFn(this.url+e,t).then(e=>{if(!e.ok&&![400,422,503].includes(e.status))throw Error(e.statusText);return e}).then(e=>e.json()).then(e=>{if("error"===e.status)throw Error(void 0!==e.error?e.error:'missing "error" field in response JSON');if(void 0===e.data)throw Error('missing "data" field in response JSON');return e.data})}buildRequest(e,t){let a=e,i=t;return"GET"===this.httpMethod&&(a=`${a}?${t}`,i=null),{uri:a,body:i}}labelsEndpoint(){return`${this.apiPrefix}/labels`}labelValuesEndpoint(){return`${this.apiPrefix}/label/:name/values`}seriesEndpoint(){return`${this.apiPrefix}/series`}metricMetadataEndpoint(){return`${this.apiPrefix}/metadata`}flagsEndpoint(){return`${this.apiPrefix}/status/flags`}}class V{constructor(e){let t=e&&e.maxAge?e.maxAge:3e5;this.completeAssociation=new(R())(t),this.metricMetadata={},this.labelValues=new(R())(t),this.labelNames=[],this.flags={},(null==e?void 0:e.initialMetricList)&&this.setLabelValues("__name__",e.initialMetricList)}setAssociations(e,t){t.forEach(t=>{let a=this.completeAssociation.get(e);for(let[i,r]of(a||(a=new Map,this.completeAssociation.set(e,a)),Object.entries(t))){if("__name__"===i)continue;let e=a.get(i);void 0===e?a.set(i,new Set([r])):e.add(r)}})}setFlags(e){this.flags=e}getFlags(){return this.flags}setMetricMetadata(e){this.metricMetadata=e}getMetricMetadata(){return this.metricMetadata}setLabelNames(e){this.labelNames=e}getLabelNames(e){if(!e||0===e.length)return this.labelNames;let t=this.completeAssociation.get(e);return t?Array.from(t.keys()):[]}setLabelValues(e,t){this.labelValues.set(e,t)}getLabelValues(e,t){if(!t||0===t.length)return this.labelValues.get(e)||[];let a=this.completeAssociation.get(t);if(a){let t=a.get(e);return t?Array.from(t):[]}return[]}}class Y{constructor(e,t){this.client=e,this.cache=new V(t)}labelNames(e){let t=this.cache.getLabelNames(e);return t&&t.length>0?Promise.resolve(t):void 0===e||""===e?this.client.labelNames().then(e=>(this.cache.setLabelNames(e),e)):this.series(e).then(()=>this.cache.getLabelNames(e))}labelValues(e,t){let a=this.cache.getLabelValues(e,t);return a&&a.length>0?Promise.resolve(a):void 0===t||""===t?this.client.labelValues(e).then(t=>(this.cache.setLabelValues(e,t),t)):this.series(t).then(()=>this.cache.getLabelValues(e,t))}metricMetadata(){let e=this.cache.getMetricMetadata();return e&&Object.keys(e).length>0?Promise.resolve(e):this.client.metricMetadata().then(e=>(this.cache.setMetricMetadata(e),e))}series(e){return this.client.series(e).then(t=>(this.cache.setAssociations(e,t),t))}metricNames(){return this.labelValues("__name__")}flags(){let e=this.cache.getFlags();return e&&Object.keys(e).length>0?Promise.resolve(e):this.client.flags().then(e=>(this.cache.setFlags(e),e))}}function N(e){if(null==e?void 0:e.completeStrategy)return e.completeStrategy;if(null==e?void 0:e.remote){var t;return"function"==typeof(t=e.remote).labelNames&&"function"==typeof t.labelValues&&"function"==typeof t.metricMetadata&&"function"==typeof t.series&&"function"==typeof t.metricNames?new q(e.remote,e.maxMetricsMetadata):new q(new Y(new A(e.remote),e.remote.cache),e.maxMetricsMetadata)}return new q}var L=a(68799);class F{promQL(){return e=>{let t=new T(e.state);return t.analyze(),t.getDiagnostics()}}}(o=u||(u={})).PromQL="PromQL",o.MetricName="MetricName";class z{constructor(){this.complete=N(),this.lint=new F,this.enableLinter=!0,this.enableCompletion=!0}setComplete(e){return this.complete=N(e),this}getComplete(){return this.complete}activateCompletion(e){return this.enableCompletion=e,this}setLinter(e){return this.lint=e,this}getLinter(){return this.lint}activateLinter(e){return this.enableLinter=e,this}asExtension(e=u.PromQL){var t,a;let i=x.qp.define({parser:$.configure({top:e}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}}),r=[i];if(this.enableCompletion){let e=i.data.of({autocomplete:e=>this.complete.promQL(e)});r=r.concat(e)}return this.enableLinter&&(r=r.concat((t=this.lint.promQL,a=this.lint,(0,L.ir)(t.call(a))))),r}}},54685:function(e,t,a){let i=a(94403),r=Symbol("max"),n=Symbol("length"),o=Symbol("lengthCalculator"),l=Symbol("allowStale"),s=Symbol("maxAge"),c=Symbol("dispose"),u=Symbol("noDisposeOnSet"),h=Symbol("lruList"),p=Symbol("cache"),O=Symbol("updateAgeOnGet"),d=()=>1,v=(e,t,a)=>{let i=e[p].get(t);if(i){let t=i.value;if(f(e,t)){if(g(e,i),!e[l])return}else a&&(e[O]&&(i.value.now=Date.now()),e[h].unshiftNode(i));return t.value}},f=(e,t)=>{if(!t||!t.maxAge&&!e[s])return!1;let a=Date.now()-t.now;return t.maxAge?a>t.maxAge:e[s]&&a>e[s]},m=e=>{if(e[n]>e[r])for(let t=e[h].tail;e[n]>e[r]&&null!==t;){let a=t.prev;g(e,t),t=a}},g=(e,t)=>{if(t){let a=t.value;e[c]&&e[c](a.key,a.value),e[n]-=a.length,e[p].delete(a.key),e[h].removeNode(t)}};class ${constructor(e,t,a,i,r){this.key=e,this.value=t,this.length=a,this.now=i,this.maxAge=r||0}}let y=(e,t,a,i)=>{let r=a.value;f(e,r)&&(g(e,a),e[l]||(r=void 0)),r&&t.call(i,r.value,r.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[r]=e.max||1/0;let t=e.length||d;if(this[o]="function"!=typeof t?d:t,this[l]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[s]=e.maxAge||0,this[c]=e.dispose,this[u]=e.noDisposeOnSet||!1,this[O]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[r]=e||1/0,m(this)}get max(){return this[r]}set allowStale(e){this[l]=!!e}get allowStale(){return this[l]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[s]=e,m(this)}get maxAge(){return this[s]}set lengthCalculator(e){"function"!=typeof e&&(e=d),e!==this[o]&&(this[o]=e,this[n]=0,this[h].forEach(e=>{e.length=this[o](e.value,e.key),this[n]+=e.length})),m(this)}get lengthCalculator(){return this[o]}get length(){return this[n]}get itemCount(){return this[h].length}rforEach(e,t){t=t||this;for(let a=this[h].tail;null!==a;){let i=a.prev;y(this,e,a,t),a=i}}forEach(e,t){t=t||this;for(let a=this[h].head;null!==a;){let i=a.next;y(this,e,a,t),a=i}}keys(){return this[h].toArray().map(e=>e.key)}values(){return this[h].toArray().map(e=>e.value)}reset(){this[c]&&this[h]&&this[h].length&&this[h].forEach(e=>this[c](e.key,e.value)),this[p]=new Map,this[h]=new i,this[n]=0}dump(){return this[h].map(e=>!f(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[h]}set(e,t,a){if((a=a||this[s])&&"number"!=typeof a)throw TypeError("maxAge must be a number");let i=a?Date.now():0,l=this[o](t,e);if(this[p].has(e)){if(l>this[r])return g(this,this[p].get(e)),!1;let o=this[p].get(e).value;return this[c]&&!this[u]&&this[c](e,o.value),o.now=i,o.maxAge=a,o.value=t,this[n]+=l-o.length,o.length=l,this.get(e),m(this),!0}let O=new $(e,t,l,i,a);return O.length>this[r]?(this[c]&&this[c](e,t),!1):(this[n]+=O.length,this[h].unshift(O),this[p].set(e,this[h].head),m(this),!0)}has(e){return!!this[p].has(e)&&!f(this,this[p].get(e).value)}get(e){return v(this,e,!0)}peek(e){return v(this,e,!1)}pop(){let e=this[h].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();let t=Date.now();for(let a=e.length-1;a>=0;a--){let i=e[a],r=i.e||0;if(0===r)this.set(i.k,i.v);else{let e=r-t;e>0&&this.set(i.k,i.v,e)}}}prune(){this[p].forEach((e,t)=>v(this,t,!1))}}},80663:function(e){e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},94403:function(e,t,a){function i(e){var t=this;if(t instanceof i||(t=new i),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var a=0,r=arguments.length;a<r;a++)t.push(arguments[a]);return t}function r(e,t,a,i){if(!(this instanceof r))return new r(e,t,a,i);this.list=i,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,a?(a.prev=this,this.next=a):this.next=null}e.exports=i,i.Node=r,i.create=i,i.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,a=e.prev;return t&&(t.prev=a),a&&(a.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=a),e.list.length--,e.next=null,e.prev=null,e.list=null,t},i.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},i.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},i.prototype.push=function(){for(var e,t,a=0,i=arguments.length;a<i;a++){e=this,t=arguments[a],e.tail=new r(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}return this.length},i.prototype.unshift=function(){for(var e,t,a=0,i=arguments.length;a<i;a++){e=this,t=arguments[a],e.head=new r(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}return this.length},i.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},i.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},i.prototype.forEach=function(e,t){t=t||this;for(var a=this.head,i=0;null!==a;i++)e.call(t,a.value,i,this),a=a.next},i.prototype.forEachReverse=function(e,t){t=t||this;for(var a=this.tail,i=this.length-1;null!==a;i--)e.call(t,a.value,i,this),a=a.prev},i.prototype.get=function(e){for(var t=0,a=this.head;null!==a&&t<e;t++)a=a.next;if(t===e&&null!==a)return a.value},i.prototype.getReverse=function(e){for(var t=0,a=this.tail;null!==a&&t<e;t++)a=a.prev;if(t===e&&null!==a)return a.value},i.prototype.map=function(e,t){t=t||this;for(var a=new i,r=this.head;null!==r;)a.push(e.call(t,r.value,this)),r=r.next;return a},i.prototype.mapReverse=function(e,t){t=t||this;for(var a=new i,r=this.tail;null!==r;)a.push(e.call(t,r.value,this)),r=r.prev;return a},i.prototype.reduce=function(e,t){var a,i=this.head;if(arguments.length>1)a=t;else if(this.head)i=this.head.next,a=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var r=0;null!==i;r++)a=e(a,i.value,r),i=i.next;return a},i.prototype.reduceReverse=function(e,t){var a,i=this.tail;if(arguments.length>1)a=t;else if(this.tail)i=this.tail.prev,a=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var r=this.length-1;null!==i;r--)a=e(a,i.value,r),i=i.prev;return a},i.prototype.toArray=function(){for(var e=Array(this.length),t=0,a=this.head;null!==a;t++)e[t]=a.value,a=a.next;return e},i.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,a=this.tail;null!==a;t++)e[t]=a.value,a=a.prev;return e},i.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var a=new i;if(t<e||t<0)return a;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,n=this.head;null!==n&&r<e;r++)n=n.next;for(;null!==n&&r<t;r++,n=n.next)a.push(n.value);return a},i.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var a=new i;if(t<e||t<0)return a;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,n=this.tail;null!==n&&r>t;r--)n=n.prev;for(;null!==n&&r>e;r--,n=n.prev)a.push(n.value);return a},i.prototype.splice=function(e,t,...a){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var i=0,n=this.head;null!==n&&i<e;i++)n=n.next;for(var o=[],i=0;n&&i<t;i++)o.push(n.value),n=this.removeNode(n);null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev);for(var i=0;i<a.length;i++)n=function(e,t,a){var i=t===e.head?new r(a,null,t,e):new r(a,t,t.next,e);return null===i.next&&(e.tail=i),null===i.prev&&(e.head=i),e.length++,i}(this,n,a[i]);return o},i.prototype.reverse=function(){for(var e=this.head,t=this.tail,a=e;null!==a;a=a.prev){var i=a.prev;a.prev=a.next,a.next=i}return this.head=t,this.tail=e,this};try{a(80663)(i)}catch(e){}},78277:function(e,t,a){t.default=void 0;var i,r=(i=a(30265))&&i.__esModule?i:{default:i};t.default=(0,r.default)("M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z","AlertCircle")},96402:function(e,t,a){t.default=void 0;var i,r=(i=a(30265))&&i.__esModule?i:{default:i};t.default=(0,r.default)("M3,3H9V7H3V3M15,10H21V14H15V10M15,17H21V21H15V17M13,13H7V18H13V20H7L5,20V9H7V11H13V13Z","FileTree")}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["5387"],{76439:function(e,t,n){n.d(t,{Z:()=>s});var r=n(54538),u=n(96858),i=n(49267),a=n(24105);let c={...r}.useSyncExternalStore;function l(e={}){let{themeId:t}=e;return function(e,n={}){let l=(0,a.Z)();l&&t&&(l=l[t]||l);let s="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:d=s?window.matchMedia:null,ssrMatchMedia:h=null,noSsr:m=!1}=(0,i.Z)({name:"MuiUseMediaQuery",props:n,theme:l}),f="function"==typeof e?e(l):e;return(void 0!==c?function(e,t,n,u,i){let a=r.useCallback(()=>t,[t]),l=r.useMemo(()=>{if(i&&n)return()=>n(e).matches;if(null!==u){let{matches:t}=u(e);return()=>t}return a},[a,e,u,i,n]),[s,o]=r.useMemo(()=>{if(null===n)return[a,()=>()=>{}];let t=n(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[a,n,e]);return c(o,s,l)}:function(e,t,n,i,a){let[c,l]=r.useState(()=>a&&n?n(e).matches:i?i(e).matches:t);return(0,u.Z)(()=>{if(!n)return;let t=n(e),r=()=>{l(t.matches)};return r(),t.addEventListener("change",r),()=>{t.removeEventListener("change",r)}},[e,n]),c})(f=f.replace(/^@media( ?)/m,""),o,d,h,m)}}l();let s=l({themeId:n(92994).Z})},56050:function(){}}]);
@@ -1,38 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["5654"],{11774:function(e,t,r){r.d(t,{Z:()=>U});var o,n,a=r(54538),i=r(90496),l=r(82267),s=r(16838),p=r(57174),d=r(75651),u=r(12709),c=r(82319),g=r(51751),h=r(51640),f=r(44124),m=r(6749);function b(e){return(0,m.ZP)("MuiListSubheader",e)}(0,f.Z)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var v=r(24246);let y=e=>{let{classes:t,color:r,disableGutters:o,inset:n,disableSticky:a}=e,i={root:["root","default"!==r&&`color${(0,h.Z)(r)}`,!o&&"gutters",n&&"inset",!a&&"sticky"]};return(0,l.Z)(i,b,t)},x=(0,u.ZP)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,h.Z)(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})((0,c.Z)(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),Z=a.forwardRef(function(e,t){let r=(0,g.i)({props:e,name:"MuiListSubheader"}),{className:o,color:n="default",component:a="li",disableGutters:l=!1,disableSticky:s=!1,inset:p=!1,...d}=r,u={...r,color:n,component:a,disableGutters:l,disableSticky:s,inset:p},c=y(u);return(0,v.jsx)(x,{as:a,className:(0,i.Z)(c.root,o),ref:t,ownerState:u,...d})});Z&&(Z.muiSkipListHighlight=!0);var $=r(28866),k=r(75094),C=r(52889),P=r(28678),S=r(3597),R=r(8782),w=r(6499),I=r(23049),A=r(97686);function M(e){return(0,m.ZP)("MuiAutocomplete",e)}let O=(0,f.Z)("MuiAutocomplete",["root","expanded","fullWidth","focused","focusVisible","tag","tagSizeSmall","tagSizeMedium","hasPopupIcon","hasClearIcon","inputRoot","input","inputFocused","endAdornment","clearIndicator","popupIndicator","popupIndicatorOpen","popper","popperDisablePortal","paper","listbox","loading","noOptions","option","groupLabel","groupUl"]);var z=r(16351);let L=e=>{let{classes:t,disablePortal:r,expanded:o,focused:n,fullWidth:a,hasClearIcon:i,hasPopupIcon:s,inputFocused:p,popupOpen:d,size:u}=e,c={root:["root",o&&"expanded",n&&"focused",a&&"fullWidth",i&&"hasClearIcon",s&&"hasPopupIcon"],inputRoot:["inputRoot"],input:["input",p&&"inputFocused"],tag:["tag",`tagSize${(0,h.Z)(u)}`],endAdornment:["endAdornment"],clearIndicator:["clearIndicator"],popupIndicator:["popupIndicator",d&&"popupIndicatorOpen"],popper:["popper",r&&"popperDisablePortal"],paper:["paper"],listbox:["listbox"],loading:["loading"],noOptions:["noOptions"],option:["option"],groupLabel:["groupLabel"],groupUl:["groupUl"]};return(0,l.Z)(c,M,t)},T=(0,u.ZP)("div",{name:"MuiAutocomplete",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e,{fullWidth:o,hasClearIcon:n,hasPopupIcon:a,inputFocused:i,size:l}=r;return[{[`& .${O.tag}`]:t.tag},{[`& .${O.tag}`]:t[`tagSize${(0,h.Z)(l)}`]},{[`& .${O.inputRoot}`]:t.inputRoot},{[`& .${O.input}`]:t.input},{[`& .${O.input}`]:i&&t.inputFocused},t.root,o&&t.fullWidth,a&&t.hasPopupIcon,n&&t.hasClearIcon]}})({[`&.${O.focused} .${O.clearIndicator}`]:{visibility:"visible"},"@media (pointer: fine)":{[`&:hover .${O.clearIndicator}`]:{visibility:"visible"}},[`& .${O.tag}`]:{margin:3,maxWidth:"calc(100% - 6px)"},[`& .${O.inputRoot}`]:{[`.${O.hasPopupIcon}&, .${O.hasClearIcon}&`]:{paddingRight:30},[`.${O.hasPopupIcon}.${O.hasClearIcon}&`]:{paddingRight:56},[`& .${O.input}`]:{width:0,minWidth:30}},[`& .${P.Z.root}`]:{paddingBottom:1,"& .MuiInput-input":{padding:"4px 4px 4px 0px"}},[`& .${P.Z.root}.${S.Z.sizeSmall}`]:{[`& .${P.Z.input}`]:{padding:"2px 4px 3px 0"}},[`& .${R.Z.root}`]:{padding:9,[`.${O.hasPopupIcon}&, .${O.hasClearIcon}&`]:{paddingRight:39},[`.${O.hasPopupIcon}.${O.hasClearIcon}&`]:{paddingRight:65},[`& .${O.input}`]:{padding:"7.5px 4px 7.5px 5px"},[`& .${O.endAdornment}`]:{right:9}},[`& .${R.Z.root}.${S.Z.sizeSmall}`]:{paddingTop:6,paddingBottom:6,paddingLeft:6,[`& .${O.input}`]:{padding:"2.5px 4px 2.5px 8px"}},[`& .${w.Z.root}`]:{paddingTop:19,paddingLeft:8,[`.${O.hasPopupIcon}&, .${O.hasClearIcon}&`]:{paddingRight:39},[`.${O.hasPopupIcon}.${O.hasClearIcon}&`]:{paddingRight:65},[`& .${w.Z.input}`]:{padding:"7px 4px"},[`& .${O.endAdornment}`]:{right:9}},[`& .${w.Z.root}.${S.Z.sizeSmall}`]:{paddingBottom:1,[`& .${w.Z.input}`]:{padding:"2.5px 4px"}},[`& .${S.Z.hiddenLabel}`]:{paddingTop:8},[`& .${w.Z.root}.${S.Z.hiddenLabel}`]:{paddingTop:0,paddingBottom:0,[`& .${O.input}`]:{paddingTop:16,paddingBottom:17}},[`& .${w.Z.root}.${S.Z.hiddenLabel}.${S.Z.sizeSmall}`]:{[`& .${O.input}`]:{paddingTop:8,paddingBottom:9}},[`& .${O.input}`]:{flexGrow:1,textOverflow:"ellipsis",opacity:0},variants:[{props:{fullWidth:!0},style:{width:"100%"}},{props:{size:"small"},style:{[`& .${O.tag}`]:{margin:2,maxWidth:"calc(100% - 4px)"}}},{props:{inputFocused:!0},style:{[`& .${O.input}`]:{opacity:1}}},{props:{multiple:!0},style:{[`& .${O.inputRoot}`]:{flexWrap:"wrap"}}}]}),j=(0,u.ZP)("div",{name:"MuiAutocomplete",slot:"EndAdornment",overridesResolver:(e,t)=>t.endAdornment})({position:"absolute",right:0,top:"50%",transform:"translate(0, -50%)"}),D=(0,u.ZP)(k.Z,{name:"MuiAutocomplete",slot:"ClearIndicator",overridesResolver:(e,t)=>t.clearIndicator})({marginRight:-2,padding:4,visibility:"hidden"}),N=(0,u.ZP)(k.Z,{name:"MuiAutocomplete",slot:"PopupIndicator",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.popupIndicator,r.popupOpen&&t.popupIndicatorOpen]}})({padding:2,marginRight:-2,variants:[{props:{popupOpen:!0},style:{transform:"rotate(180deg)"}}]}),H=(0,u.ZP)(d.Z,{name:"MuiAutocomplete",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${O.option}`]:t.option},t.popper,r.disablePortal&&t.popperDisablePortal]}})((0,c.Z)(({theme:e})=>({zIndex:(e.vars||e).zIndex.modal,variants:[{props:{disablePortal:!0},style:{position:"absolute"}}]}))),F=(0,u.ZP)($.Z,{name:"MuiAutocomplete",slot:"Paper",overridesResolver:(e,t)=>t.paper})((0,c.Z)(({theme:e})=>({...e.typography.body1,overflow:"auto"}))),W=(0,u.ZP)("div",{name:"MuiAutocomplete",slot:"Loading",overridesResolver:(e,t)=>t.loading})((0,c.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),B=(0,u.ZP)("div",{name:"MuiAutocomplete",slot:"NoOptions",overridesResolver:(e,t)=>t.noOptions})((0,c.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,padding:"14px 16px"}))),E=(0,u.ZP)("ul",{name:"MuiAutocomplete",slot:"Listbox",overridesResolver:(e,t)=>t.listbox})((0,c.Z)(({theme:e})=>({listStyle:"none",margin:0,padding:"8px 0",maxHeight:"40vh",overflow:"auto",position:"relative",[`& .${O.option}`]:{minHeight:48,display:"flex",overflow:"hidden",justifyContent:"flex-start",alignItems:"center",cursor:"pointer",paddingTop:6,boxSizing:"border-box",outline:"0",WebkitTapHighlightColor:"transparent",paddingBottom:6,paddingLeft:16,paddingRight:16,[e.breakpoints.up("sm")]:{minHeight:"auto"},[`&.${O.focused}`]:{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},'&[aria-disabled="true"]':{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`&.${O.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},'&[aria-selected="true"]':{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,s.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${O.focused}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,s.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${O.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,s.Fq)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}}}}))),q=(0,u.ZP)(Z,{name:"MuiAutocomplete",slot:"GroupLabel",overridesResolver:(e,t)=>t.groupLabel})((0,c.Z)(({theme:e})=>({backgroundColor:(e.vars||e).palette.background.paper,top:-8}))),V=(0,u.ZP)("ul",{name:"MuiAutocomplete",slot:"GroupUl",overridesResolver:(e,t)=>t.groupUl})({padding:0,[`& .${O.option}`]:{paddingLeft:24}}),U=a.forwardRef(function(e,t){let r;let l=(0,g.i)({props:e,name:"MuiAutocomplete"}),{autoComplete:s=!1,autoHighlight:u=!1,autoSelect:c=!1,blurOnSelect:h=!1,ChipProps:f,className:m,clearIcon:b=o||(o=(0,v.jsx)(I.Z,{fontSize:"small"})),clearOnBlur:y=!l.freeSolo,clearOnEscape:x=!1,clearText:Z="Clear",closeText:k="Close",componentsProps:P,defaultValue:S=l.multiple?[]:null,disableClearable:R=!1,disableCloseOnSelect:w=!1,disabled:M=!1,disabledItemsFocusable:O=!1,disableListWrap:U=!1,disablePortal:G=!1,filterOptions:K,filterSelectedOptions:X=!1,forcePopupIcon:J="auto",freeSolo:_=!1,fullWidth:Q=!1,getLimitTagsText:Y=e=>`+${e}`,getOptionDisabled:ee,getOptionKey:et,getOptionLabel:er,isOptionEqualToValue:eo,groupBy:en,handleHomeEndKeys:ea=!l.freeSolo,id:ei,includeInputInList:el=!1,inputValue:es,limitTags:ep=-1,ListboxComponent:ed,ListboxProps:eu,loading:ec=!1,loadingText:eg="Loading…",multiple:eh=!1,noOptionsText:ef="No options",onChange:em,onClose:eb,onHighlightChange:ev,onInputChange:ey,onOpen:ex,open:eZ,openOnFocus:e$=!1,openText:ek="Open",options:eC,PaperComponent:eP,PopperComponent:eS,popupIcon:eR=n||(n=(0,v.jsx)(A.Z,{})),readOnly:ew=!1,renderGroup:eI,renderInput:eA,renderOption:eM,renderTags:eO,selectOnFocus:ez=!l.freeSolo,size:eL="medium",slots:eT={},slotProps:ej={},value:eD,...eN}=l,{getRootProps:eH,getInputProps:eF,getInputLabelProps:eW,getPopupIndicatorProps:eB,getClearProps:eE,getTagProps:eq,getListboxProps:eV,getOptionProps:eU,value:eG,dirty:eK,expanded:eX,id:eJ,popupOpen:e_,focused:eQ,focusedTag:eY,anchorEl:e0,setAnchorEl:e1,inputValue:e2,groupedOptions:e4}=(0,p.Z)({...l,componentName:"Autocomplete"}),e5=!R&&!M&&eK&&!ew,e6=(!_||!0===J)&&!1!==J,{onMouseDown:e9}=eF(),{ref:e8,...e7}=eV(),e3=er||(e=>e.label??e),te={...l,disablePortal:G,expanded:eX,focused:eQ,fullWidth:Q,getOptionLabel:e3,hasClearIcon:e5,hasPopupIcon:e6,inputFocused:-1===eY,popupOpen:e_,size:eL},tt=L(te),tr={slots:{paper:eP,popper:eS,...eT},slotProps:{chip:f,listbox:eu,...P,...ej}},[to,tn]=(0,z.Z)("listbox",{elementType:E,externalForwardedProps:tr,ownerState:te,className:tt.listbox,additionalProps:e7,ref:e8}),[ta,ti]=(0,z.Z)("paper",{elementType:$.Z,externalForwardedProps:tr,ownerState:te,className:tt.paper}),[tl,ts]=(0,z.Z)("popper",{elementType:d.Z,externalForwardedProps:tr,ownerState:te,className:tt.popper,additionalProps:{disablePortal:G,style:{width:e0?e0.clientWidth:null},role:"presentation",anchorEl:e0,open:e_}});if(eh&&eG.length>0){let e=e=>({className:tt.tag,disabled:M,...eq(e)});r=eO?eO(eG,e,te):eG.map((t,r)=>{let{key:o,...n}=e({index:r});return(0,v.jsx)(C.Z,{label:e3(t),size:eL,...n,...tr.slotProps.chip},o)})}if(ep>-1&&Array.isArray(r)){let e=r.length-ep;!eQ&&e>0&&(r=r.splice(0,ep)).push((0,v.jsx)("span",{className:tt.tag,children:Y(e)},r.length))}let tp=eI||(e=>(0,v.jsxs)("li",{children:[(0,v.jsx)(q,{className:tt.groupLabel,ownerState:te,component:"div",children:e.group}),(0,v.jsx)(V,{className:tt.groupUl,ownerState:te,children:e.children})]},e.key)),td=eM||((e,t)=>{let{key:r,...o}=e;return(0,v.jsx)("li",{...o,children:e3(t)},r)}),tu=(e,t)=>{let r=eU({option:e,index:t});return td({...r,className:tt.option},e,{selected:r["aria-selected"],index:t,inputValue:e2},te)},tc=tr.slotProps.clearIndicator,tg=tr.slotProps.popupIndicator;return(0,v.jsxs)(a.Fragment,{children:[(0,v.jsx)(T,{ref:t,className:(0,i.Z)(tt.root,m),ownerState:te,...eH(eN),children:eA({id:eJ,disabled:M,fullWidth:!0,size:"small"===eL?"small":void 0,InputLabelProps:eW(),InputProps:{ref:e1,className:tt.inputRoot,startAdornment:r,onMouseDown:e=>{e.target===e.currentTarget&&e9(e)},...(e5||e6)&&{endAdornment:(0,v.jsxs)(j,{className:tt.endAdornment,ownerState:te,children:[e5?(0,v.jsx)(D,{...eE(),"aria-label":Z,title:Z,ownerState:te,...tc,className:(0,i.Z)(tt.clearIndicator,tc?.className),children:b}):null,e6?(0,v.jsx)(N,{...eB(),disabled:M,"aria-label":e_?k:ek,title:e_?k:ek,ownerState:te,...tg,className:(0,i.Z)(tt.popupIndicator,tg?.className),children:eR}):null]})}},inputProps:{className:tt.input,disabled:M,readOnly:ew,...eF()}})}),e0?(0,v.jsx)(H,{as:tl,...ts,children:(0,v.jsxs)(F,{as:ta,...ti,children:[ec&&0===e4.length?(0,v.jsx)(W,{className:tt.loading,ownerState:te,children:eg}):null,0!==e4.length||_||ec?null:(0,v.jsx)(B,{className:tt.noOptions,ownerState:te,role:"presentation",onMouseDown:e=>{e.preventDefault()},children:ef}),e4.length>0?(0,v.jsx)(to,{as:ed,...tn,children:e4.map((e,t)=>en?tp({key:e.key,group:e.group,children:e.options.map((t,r)=>tu(t,e.index+r))}):tu(e,t))}):null]})}):null]})})},82707:function(e,t,r){r.d(t,{Z:()=>A});var o=r(54538),n=r(90496),a=r(82267),i=r(16838),l=r(99140),s=r(90247),p=r(24246);let d=(0,s.Z)((0,p.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),u=(0,s.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),c=(0,s.Z)((0,p.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var g=r(51640),h=r(73037),f=r(44124),m=r(6749);function b(e){return(0,m.ZP)("MuiCheckbox",e)}let v=(0,f.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);var y=r(12709),x=r(82319),Z=r(90433),$=r(51751),k=r(27834),C=r(16351);let P=e=>{let{classes:t,indeterminate:r,color:o,size:n}=e,i={root:["root",r&&"indeterminate",`color${(0,g.Z)(o)}`,`size${(0,g.Z)(n)}`]},l=(0,a.Z)(i,b,t);return{...t,...l}},S=(0,y.ZP)(l.Z,{shouldForwardProp:e=>(0,h.Z)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${(0,g.Z)(r.size)}`],"default"!==r.color&&t[`color${(0,g.Z)(r.color)}`]]}})((0,x.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((0,Z.Z)()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)(e.palette[t].main,e.palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter((0,Z.Z)()).map(([t])=>({props:{color:t},style:{[`&.${v.checked}, &.${v.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${v.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),R=(0,p.jsx)(u,{}),w=(0,p.jsx)(d,{}),I=(0,p.jsx)(c,{}),A=o.forwardRef(function(e,t){let r=(0,$.i)({props:e,name:"MuiCheckbox"}),{checkedIcon:a=R,color:i="primary",icon:l=w,indeterminate:s=!1,indeterminateIcon:d=I,inputProps:u,size:c="medium",disableRipple:g=!1,className:h,slots:f={},slotProps:m={},...b}=r,v=s?d:l,y=s?d:a,x={...r,disableRipple:g,color:i,indeterminate:s,size:c},Z=P(x),A=m.input??u,[M,O]=(0,C.Z)("root",{ref:t,elementType:S,className:(0,n.Z)(Z.root,h),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:m,...b},ownerState:x,additionalProps:{type:"checkbox",icon:o.cloneElement(v,{fontSize:v.props.fontSize??c}),checkedIcon:o.cloneElement(y,{fontSize:y.props.fontSize??c}),disableRipple:g,slots:f,slotProps:{input:(0,k.Z)("function"==typeof A?A(x):A,{"data-indeterminate":s})}}});return(0,p.jsx)(M,{...O,classes:Z})})},66224:function(e,t,r){r.d(t,{Z:()=>Z});var o=r(54538),n=r(90496),a=r(82267),i=r(16838),l=r(72116),s=r(12709),p=r(82319),d=r(51751),u=r(44124),c=r(6749);function g(e){return(0,c.ZP)("MuiSkeleton",e)}(0,u.Z)("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var h=r(24246);let f=e=>{let{classes:t,variant:r,animation:o,hasChildren:n,width:i,height:l}=e;return(0,a.Z)({root:["root",r,o,n&&"withChildren",n&&!i&&"fitContent",n&&!l&&"heightAuto"]},g,t)},m=(0,l.keyframes)`
2
- 0% {
3
- opacity: 1;
4
- }
5
-
6
- 50% {
7
- opacity: 0.4;
8
- }
9
-
10
- 100% {
11
- opacity: 1;
12
- }
13
- `,b=(0,l.keyframes)`
14
- 0% {
15
- transform: translateX(-100%);
16
- }
17
-
18
- 50% {
19
- /* +0.5s of delay between each loop */
20
- transform: translateX(100%);
21
- }
22
-
23
- 100% {
24
- transform: translateX(100%);
25
- }
26
- `,v="string"!=typeof m?(0,l.css)`
27
- animation: ${m} 2s ease-in-out 0.5s infinite;
28
- `:null,y="string"!=typeof b?(0,l.css)`
29
- &::after {
30
- animation: ${b} 2s linear 0.5s infinite;
31
- }
32
- `:null,x=(0,s.ZP)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})((0,p.Z)(({theme:e})=>{let t=String(e.shape.borderRadius).match(/[\d.\-+]*\s*(.*)/)[1]||"px",r=parseFloat(e.shape.borderRadius);return{display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:(0,i.Fq)(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em",variants:[{props:{variant:"text"},style:{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${r}${t}/${Math.round(r/.6*10)/10}${t}`,"&:empty:before":{content:'"\\00a0"'}}},{props:{variant:"circular"},style:{borderRadius:"50%"}},{props:{variant:"rounded"},style:{borderRadius:(e.vars||e).shape.borderRadius}},{props:({ownerState:e})=>e.hasChildren,style:{"& > *":{visibility:"hidden"}}},{props:({ownerState:e})=>e.hasChildren&&!e.width,style:{maxWidth:"fit-content"}},{props:({ownerState:e})=>e.hasChildren&&!e.height,style:{height:"auto"}},{props:{animation:"pulse"},style:v||{animation:`${m} 2s ease-in-out 0.5s infinite`}},{props:{animation:"wave"},style:{position:"relative",overflow:"hidden",WebkitMaskImage:"-webkit-radial-gradient(white, black)","&::after":{background:`linear-gradient(
33
- 90deg,
34
- transparent,
35
- ${(e.vars||e).palette.action.hover},
36
- transparent
37
- )`,content:'""',position:"absolute",transform:"translateX(-100%)",bottom:0,left:0,right:0,top:0}}},{props:{animation:"wave"},style:y||{"&::after":{animation:`${b} 2s linear 0.5s infinite`}}}]}})),Z=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiSkeleton"}),{animation:o="pulse",className:a,component:i="span",height:l,style:s,variant:p="text",width:u,...c}=r,g={...r,animation:o,component:i,variant:p,hasChildren:!!c.children},m=f(g);return(0,h.jsx)(x,{as:i,ref:t,className:(0,n.Z)(m.root,a),ownerState:g,...c,style:{width:u,height:l,...s}})})},72679:function(e,t,r){r.d(t,{Z:()=>o});let o=r(54538).createContext()},32641:function(e,t,r){r.d(t,{Z:()=>o});let o=r(54538).createContext()},96205:function(e,t,r){r.d(t,{Z:()=>x});var o=r(54538),n=r(90496),a=r(82267),i=r(16838),l=r(51640),s=r(72679),p=r(32641),d=r(12709),u=r(82319),c=r(51751),g=r(44124),h=r(6749);function f(e){return(0,h.ZP)("MuiTableCell",e)}let m=(0,g.Z)("MuiTableCell",["root","head","body","footer","sizeSmall","sizeMedium","paddingCheckbox","paddingNone","alignLeft","alignCenter","alignRight","alignJustify","stickyHeader"]);var b=r(24246);let v=e=>{let{classes:t,variant:r,align:o,padding:n,size:i,stickyHeader:s}=e,p={root:["root",r,s&&"stickyHeader","inherit"!==o&&`align${(0,l.Z)(o)}`,"normal"!==n&&`padding${(0,l.Z)(n)}`,`size${(0,l.Z)(i)}`]};return(0,a.Z)(p,f,t)},y=(0,d.ZP)("td",{name:"MuiTableCell",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t[`size${(0,l.Z)(r.size)}`],"normal"!==r.padding&&t[`padding${(0,l.Z)(r.padding)}`],"inherit"!==r.align&&t[`align${(0,l.Z)(r.align)}`],r.stickyHeader&&t.stickyHeader]}})((0,u.Z)(({theme:e})=>({...e.typography.body2,display:"table-cell",verticalAlign:"inherit",borderBottom:e.vars?`1px solid ${e.vars.palette.TableCell.border}`:`1px solid
38
- ${"light"===e.palette.mode?(0,i.$n)((0,i.Fq)(e.palette.divider,1),.88):(0,i._j)((0,i.Fq)(e.palette.divider,1),.68)}`,textAlign:"left",padding:16,variants:[{props:{variant:"head"},style:{color:(e.vars||e).palette.text.primary,lineHeight:e.typography.pxToRem(24),fontWeight:e.typography.fontWeightMedium}},{props:{variant:"body"},style:{color:(e.vars||e).palette.text.primary}},{props:{variant:"footer"},style:{color:(e.vars||e).palette.text.secondary,lineHeight:e.typography.pxToRem(21),fontSize:e.typography.pxToRem(12)}},{props:{size:"small"},style:{padding:"6px 16px",[`&.${m.paddingCheckbox}`]:{width:24,padding:"0 12px 0 16px","& > *":{padding:0}}}},{props:{padding:"checkbox"},style:{width:48,padding:"0 0 0 4px"}},{props:{padding:"none"},style:{padding:0}},{props:{align:"left"},style:{textAlign:"left"}},{props:{align:"center"},style:{textAlign:"center"}},{props:{align:"right"},style:{textAlign:"right",flexDirection:"row-reverse"}},{props:{align:"justify"},style:{textAlign:"justify"}},{props:({ownerState:e})=>e.stickyHeader,style:{position:"sticky",top:0,zIndex:2,backgroundColor:(e.vars||e).palette.background.default}}]}))),x=o.forwardRef(function(e,t){let r;let a=(0,c.i)({props:e,name:"MuiTableCell"}),{align:i="inherit",className:l,component:d,padding:u,scope:g,size:h,sortDirection:f,variant:m,...x}=a,Z=o.useContext(s.Z),$=o.useContext(p.Z),k=$&&"head"===$.variant,C=g;"td"===(r=d||(k?"th":"td"))?C=void 0:!C&&k&&(C="col");let P=m||$&&$.variant,S={...a,align:i,component:r,padding:u||(Z&&Z.padding?Z.padding:"normal"),size:h||(Z&&Z.size?Z.size:"medium"),sortDirection:f,stickyHeader:"head"===P&&Z&&Z.stickyHeader,variant:P},R=v(S),w=null;return f&&(w="asc"===f?"ascending":"descending"),(0,b.jsx)(y,{as:r,ref:t,className:(0,n.Z)(R.root,l),"aria-sort":w,scope:C,ownerState:S,...x})})},57174:function(e,t,r){r.d(t,{D:()=>d,Z:()=>f});var o=r(54538),n=r(5056),a=r(9831);let i=e=>{let t=o.useRef({});return o.useEffect(()=>{t.current=e}),t.current};var l=r(81925),s=r(85817);function p(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"")}function d(e={}){let{ignoreAccents:t=!0,ignoreCase:r=!0,limit:o,matchFrom:n="any",stringify:a,trim:i=!1}=e;return(e,{inputValue:l,getOptionLabel:s})=>{let d=i?l.trim():l;r&&(d=d.toLowerCase()),t&&(d=p(d));let u=d?e.filter(e=>{let o=(a||s)(e);return r&&(o=o.toLowerCase()),t&&(o=p(o)),"start"===n?o.startsWith(d):o.includes(d)}):e;return"number"==typeof o?u.slice(0,o):u}}let u=d(),c=e=>null!==e.current&&e.current.parentElement?.contains(document.activeElement),g=[];function h(e,t,r){if(t||null==e)return"";let o=r(e);return"string"==typeof o?o:""}let f=function(e){let{unstable_isActiveElementInListbox:t=c,unstable_classNamePrefix:r="Mui",autoComplete:p=!1,autoHighlight:d=!1,autoSelect:f=!1,blurOnSelect:m=!1,clearOnBlur:b=!e.freeSolo,clearOnEscape:v=!1,componentName:y="useAutocomplete",defaultValue:x=e.multiple?g:null,disableClearable:Z=!1,disableCloseOnSelect:$=!1,disabled:k,disabledItemsFocusable:C=!1,disableListWrap:P=!1,filterOptions:S=u,filterSelectedOptions:R=!1,freeSolo:w=!1,getOptionDisabled:I,getOptionKey:A,getOptionLabel:M=e=>e.label??e,groupBy:O,handleHomeEndKeys:z=!e.freeSolo,id:L,includeInputInList:T=!1,inputValue:j,isOptionEqualToValue:D=(e,t)=>e===t,multiple:N=!1,onChange:H,onClose:F,onHighlightChange:W,onInputChange:B,onOpen:E,open:q,openOnFocus:V=!1,options:U,readOnly:G=!1,selectOnFocus:K=!e.freeSolo,value:X}=e,J=(0,n.Z)(L),_=M;_=e=>{let t=M(e);return"string"!=typeof t?String(t):t};let Q=o.useRef(!1),Y=o.useRef(!0),ee=o.useRef(null),et=o.useRef(null),[er,eo]=o.useState(null),[en,ea]=o.useState(-1),ei=d?0:-1,el=o.useRef(ei),es=o.useRef(h(x,N,_)).current,[ep,ed]=(0,a.Z)({controlled:X,default:x,name:y}),[eu,ec]=(0,a.Z)({controlled:j,default:es,name:y,state:"inputValue"}),[eg,eh]=o.useState(!1),ef=o.useCallback((e,t,r)=>{if(!(N?ep.length<t.length:null!==t)&&!b)return;let o=h(t,N,_);eu!==o&&(ec(o),B&&B(e,o,r))},[_,eu,N,B,ec,b,ep]),[em,eb]=(0,a.Z)({controlled:q,default:!1,name:y,state:"open"}),[ev,ey]=o.useState(!0),ex=!N&&null!=ep&&eu===_(ep),eZ=em&&!G,e$=eZ?S(U.filter(e=>!(R&&(N?ep:[ep]).some(t=>null!==t&&D(e,t)))),{inputValue:ex&&ev?"":eu,getOptionLabel:_}):[],ek=i({filteredOptions:e$,value:ep,inputValue:eu});o.useEffect(()=>{let e=ep!==ek.value;(!eg||e)&&(!w||e)&&ef(null,ep,"reset")},[ep,ef,eg,ek.value,w]);let eC=em&&e$.length>0&&!G,eP=(0,l.Z)(e=>{-1===e?ee.current.focus():er.querySelector(`[data-tag-index="${e}"]`).focus()});o.useEffect(()=>{N&&en>ep.length-1&&(ea(-1),eP(-1))},[ep,N,en,eP]);let eS=(0,l.Z)(({event:e,index:t,reason:o="auto"})=>{if(el.current=t,-1===t?ee.current.removeAttribute("aria-activedescendant"):ee.current.setAttribute("aria-activedescendant",`${J}-option-${t}`),W&&W(e,-1===t?null:e$[t],o),!et.current)return;let n=et.current.querySelector(`[role="option"].${r}-focused`);n&&(n.classList.remove(`${r}-focused`),n.classList.remove(`${r}-focusVisible`));let a=et.current;if("listbox"!==et.current.getAttribute("role")&&(a=et.current.parentElement.querySelector('[role="listbox"]')),!a)return;if(-1===t){a.scrollTop=0;return}let i=et.current.querySelector(`[data-option-index="${t}"]`);if(i&&(i.classList.add(`${r}-focused`),"keyboard"===o&&i.classList.add(`${r}-focusVisible`),a.scrollHeight>a.clientHeight&&"mouse"!==o&&"touch"!==o)){let e=a.clientHeight+a.scrollTop,t=i.offsetTop+i.offsetHeight;t>e?a.scrollTop=t-a.clientHeight:i.offsetTop-i.offsetHeight*(1.3*!!O)<a.scrollTop&&(a.scrollTop=i.offsetTop-i.offsetHeight*(1.3*!!O))}}),eR=(0,l.Z)(({event:e,diff:t,direction:r="next",reason:o="auto"})=>{if(!eZ)return;let n=function(e,t){if(!et.current||e<0||e>=e$.length)return -1;let r=e;for(;;){let o=et.current.querySelector(`[data-option-index="${r}"]`),n=!C&&(!o||o.disabled||"true"===o.getAttribute("aria-disabled"));if(o&&o.hasAttribute("tabindex")&&!n)return r;if((r="next"===t?(r+1)%e$.length:(r-1+e$.length)%e$.length)===e)return -1}}((()=>{let e=e$.length-1;if("reset"===t)return ei;if("start"===t)return 0;if("end"===t)return e;let r=el.current+t;return r<0?-1===r&&T?-1:P&&-1!==el.current||Math.abs(t)>1?0:e:r>e?r===e+1&&T?-1:P||Math.abs(t)>1?e:0:r})(),r);if(eS({index:n,reason:o,event:e}),p&&"reset"!==t){if(-1===n)ee.current.value=eu;else{let e=_(e$[n]);ee.current.value=e,0===e.toLowerCase().indexOf(eu.toLowerCase())&&eu.length>0&&ee.current.setSelectionRange(eu.length,e.length)}}}),ew=()=>{var e,t;if(-1!==el.current&&ek.filteredOptions&&ek.filteredOptions.length!==e$.length&&ek.inputValue===eu&&(N?ep.length===ek.value.length&&ek.value.every((e,t)=>_(ep[t])===_(e)):(e=ek.value,t=ep,(e?_(e):"")===(t?_(t):"")))){let e=ek.filteredOptions[el.current];if(e)return e$.findIndex(t=>_(t)===_(e))}return -1},eI=o.useCallback(()=>{if(!eZ)return;let e=ew();if(-1!==e){el.current=e;return}let t=N?ep[0]:ep;if(0===e$.length||null==t){eR({diff:"reset"});return}if(et.current){if(null!=t){let e=e$[el.current];if(N&&e&&-1!==ep.findIndex(t=>D(e,t)))return;let r=e$.findIndex(e=>D(e,t));-1===r?eR({diff:"reset"}):eS({index:r});return}if(el.current>=e$.length-1){eS({index:e$.length-1});return}eS({index:el.current})}},[e$.length,!N&&ep,R,eR,eS,eZ,eu,N]),eA=(0,l.Z)(e=>{(0,s.Z)(et,e),e&&eI()});o.useEffect(()=>{eI()},[eI]);let eM=e=>{!em&&(eb(!0),ey(!0),E&&E(e))},eO=(e,t)=>{em&&(eb(!1),F&&F(e,t))},ez=(e,t,r,o)=>{if(N){if(ep.length===t.length&&ep.every((e,r)=>e===t[r]))return}else if(ep===t)return;H&&H(e,t,r,o),ed(t)},eL=o.useRef(!1),eT=(e,t,r="selectOption",o="options")=>{let n=r,a=t;if(N){let e=(a=Array.isArray(ep)?ep.slice():[]).findIndex(e=>D(t,e));-1===e?a.push(t):"freeSolo"!==o&&(a.splice(e,1),n="removeOption")}ef(e,a,n),ez(e,a,n,{option:t}),$||e&&(e.ctrlKey||e.metaKey)||eO(e,n),(!0===m||"touch"===m&&eL.current||"mouse"===m&&!eL.current)&&ee.current.blur()},ej=(e,t)=>{if(!N)return;""===eu&&eO(e,"toggleInput");let r=en;-1===en?""===eu&&"previous"===t&&(r=ep.length-1):((r+="next"===t?1:-1)<0&&(r=0),r===ep.length&&(r=-1)),ea(r=function(e,t){if(-1===e)return -1;let r=e;for(;;){if("next"===t&&r===ep.length||"previous"===t&&-1===r)return -1;let e=er.querySelector(`[data-tag-index="${r}"]`);if(e&&e.hasAttribute("tabindex")&&!e.disabled&&"true"!==e.getAttribute("aria-disabled"))return r;r+="next"===t?1:-1}}(r,t)),eP(r)},eD=e=>{Q.current=!0,ec(""),B&&B(e,"","clear"),ez(e,N?[]:null,"clear")},eN=e=>t=>{if(e.onKeyDown&&e.onKeyDown(t),!t.defaultMuiPrevented&&(-1===en||["ArrowLeft","ArrowRight"].includes(t.key)||(ea(-1),eP(-1)),229!==t.which))switch(t.key){case"Home":eZ&&z&&(t.preventDefault(),eR({diff:"start",direction:"next",reason:"keyboard",event:t}));break;case"End":eZ&&z&&(t.preventDefault(),eR({diff:"end",direction:"previous",reason:"keyboard",event:t}));break;case"PageUp":t.preventDefault(),eR({diff:-5,direction:"previous",reason:"keyboard",event:t}),eM(t);break;case"PageDown":t.preventDefault(),eR({diff:5,direction:"next",reason:"keyboard",event:t}),eM(t);break;case"ArrowDown":t.preventDefault(),eR({diff:1,direction:"next",reason:"keyboard",event:t}),eM(t);break;case"ArrowUp":t.preventDefault(),eR({diff:-1,direction:"previous",reason:"keyboard",event:t}),eM(t);break;case"ArrowLeft":ej(t,"previous");break;case"ArrowRight":ej(t,"next");break;case"Enter":if(-1!==el.current&&eZ){let e=e$[el.current],r=!!I&&I(e);if(t.preventDefault(),r)return;eT(t,e,"selectOption"),p&&ee.current.setSelectionRange(ee.current.value.length,ee.current.value.length)}else w&&""!==eu&&!1===ex&&(N&&t.preventDefault(),eT(t,eu,"createOption","freeSolo"));break;case"Escape":eZ?(t.preventDefault(),t.stopPropagation(),eO(t,"escape")):v&&(""!==eu||N&&ep.length>0)&&(t.preventDefault(),t.stopPropagation(),eD(t));break;case"Backspace":if(N&&!G&&""===eu&&ep.length>0){let e=-1===en?ep.length-1:en,r=ep.slice();r.splice(e,1),ez(t,r,"removeOption",{option:ep[e]})}break;case"Delete":if(N&&!G&&""===eu&&ep.length>0&&-1!==en){let e=ep.slice();e.splice(en,1),ez(t,e,"removeOption",{option:ep[en]})}}},eH=e=>{eh(!0),V&&!Q.current&&eM(e)},eF=e=>{if(t(et)){ee.current.focus();return}eh(!1),Y.current=!0,Q.current=!1,f&&-1!==el.current&&eZ?eT(e,e$[el.current],"blur"):f&&w&&""!==eu?eT(e,eu,"blur","freeSolo"):b&&ef(e,ep,"blur"),eO(e,"blur")},eW=e=>{let t=e.target.value;eu!==t&&(ec(t),ey(!1),B&&B(e,t,"input")),""===t?Z||N||ez(e,null,"clear"):eM(e)},eB=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));el.current!==t&&eS({event:e,index:t,reason:"mouse"})},eE=e=>{eS({event:e,index:Number(e.currentTarget.getAttribute("data-option-index")),reason:"touch"}),eL.current=!0},eq=e=>{let t=Number(e.currentTarget.getAttribute("data-option-index"));eT(e,e$[t],"selectOption"),eL.current=!1},eV=e=>t=>{let r=ep.slice();r.splice(e,1),ez(t,r,"removeOption",{option:ep[e]})},eU=e=>{em?eO(e,"toggleInput"):eM(e)},eG=e=>{e.currentTarget.contains(e.target)&&e.target.getAttribute("id")!==J&&e.preventDefault()},eK=e=>{e.currentTarget.contains(e.target)&&(ee.current.focus(),K&&Y.current&&ee.current.selectionEnd-ee.current.selectionStart==0&&ee.current.select(),Y.current=!1)},eX=e=>{k||""!==eu&&em||eU(e)},eJ=w&&eu.length>0;eJ=eJ||(N?ep.length>0:null!==ep);let e_=e$;return O&&(e_=e$.reduce((e,t,r)=>{let o=O(t);return e.length>0&&e[e.length-1].group===o?e[e.length-1].options.push(t):e.push({key:r,index:r,group:o,options:[t]}),e},[])),k&&eg&&eF(),{getRootProps:(e={})=>({...e,onKeyDown:eN(e),onMouseDown:eG,onClick:eK}),getInputLabelProps:()=>({id:`${J}-label`,htmlFor:J}),getInputProps:()=>({id:J,value:eu,onBlur:eF,onFocus:eH,onChange:eW,onMouseDown:eX,"aria-activedescendant":eZ?"":null,"aria-autocomplete":p?"both":"list","aria-controls":eC?`${J}-listbox`:void 0,"aria-expanded":eC,autoComplete:"off",ref:ee,autoCapitalize:"none",spellCheck:"false",role:"combobox",disabled:k}),getClearProps:()=>({tabIndex:-1,type:"button",onClick:eD}),getPopupIndicatorProps:()=>({tabIndex:-1,type:"button",onClick:eU}),getTagProps:({index:e})=>({key:e,"data-tag-index":e,tabIndex:-1,...!G&&{onDelete:eV(e)}}),getListboxProps:()=>({role:"listbox",id:`${J}-listbox`,"aria-labelledby":`${J}-label`,ref:eA,onMouseDown:e=>{e.preventDefault()}}),getOptionProps:({index:e,option:t})=>{let r=(N?ep:[ep]).some(e=>null!=e&&D(t,e)),o=!!I&&I(t);return{key:A?.(t)??_(t),tabIndex:-1,role:"option",id:`${J}-option-${e}`,onMouseMove:eB,onClick:eq,onTouchStart:eE,"data-option-index":e,"aria-disabled":o,"aria-selected":r}},id:J,inputValue:eu,value:ep,dirty:eJ,expanded:eZ&&er,popupOpen:eZ,focused:eg||-1!==en,anchorEl:er,setAnchorEl:eo,focusedTag:en,groupedOptions:e_}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["684"],{35015:function(t,s,e){async function r(...t){let s=await e.g.fetch(...t);if(!1===s.ok){let t=s.headers.get("content-type");if(t?.includes("application/json")){let t=await s.json();if(t.error)throw new n(t.error,s.status);if(t.message)throw new n(t.message,s.status)}let e=await s.text();if(e)throw new n(e,s.status);throw new o(s)}return s}async function a(...t){let s=await r(...t);return await s.json()}e.d(s,{he:()=>r,rd:()=>a});class o extends Error{status;constructor(t){super(`${t.status} ${t.statusText}`),this.status=t.status,Object.setPrototypeOf(this,o.prototype)}}class n extends Error{status;constructor(t,s){super(t),this.status=s,Object.setPrototypeOf(this,n.prototype)}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["8265"],{70313:function(e,r,t){t.d(r,{d:()=>a});var n=t(54538),o=t(97048),u=t(81925),s=t(80668),i=t(94680);function c(e){return e.substring(2).toLowerCase()}function a(e){let{children:r,disableReactTree:t=!1,mouseEvent:a="onClick",onClickAway:l,touchEvent:f="onTouchEnd"}=e,d=n.useRef(!1),v=n.useRef(null),m=n.useRef(!1),p=n.useRef(!1);n.useEffect(()=>(setTimeout(()=>{m.current=!0},0),()=>{m.current=!1}),[]);let h=(0,o.Z)((0,i.Z)(r),v),E=(0,u.Z)(e=>{let r;let n=p.current;p.current=!1;let o=(0,s.Z)(v.current);if(m.current&&v.current&&(!("clientX"in e)||!(o.documentElement.clientWidth<e.clientX)&&!(o.documentElement.clientHeight<e.clientY))){if(d.current){d.current=!1;return}(e.composedPath?e.composedPath().includes(v.current):!o.documentElement.contains(e.target)||v.current.contains(e.target))||!t&&n||l(e)}}),w=e=>t=>{p.current=!0;let n=r.props[e];n&&n(t)},Z={ref:h};return!1!==f&&(Z[f]=w(f)),n.useEffect(()=>{if(!1!==f){let e=c(f),r=(0,s.Z)(v.current),t=()=>{d.current=!0};return r.addEventListener(e,E),r.addEventListener("touchmove",t),()=>{r.removeEventListener(e,E),r.removeEventListener("touchmove",t)}}},[E,f]),!1!==a&&(Z[a]=w(a)),n.useEffect(()=>{if(!1!==a){let e=c(a),r=(0,s.Z)(v.current);return r.addEventListener(e,E),()=>{r.removeEventListener(e,E)}}},[E,a]),n.cloneElement(r,Z)}},85843:function(e,r,t){t.d(r,{Z:()=>h});var n=t(54538),o=t(90496),u=t(82267),s=t(12709),i=t(51751),c=t(44124),a=t(6749);function l(e){return(0,a.ZP)("MuiFormGroup",e)}(0,c.Z)("MuiFormGroup",["root","row","error"]);var f=t(36683),d=t(33567),v=t(24246);let m=e=>{let{classes:r,row:t,error:n}=e;return(0,u.Z)({root:["root",t&&"row",n&&"error"]},l,r)},p=(0,s.ZP)("div",{name:"MuiFormGroup",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,t.row&&r.row]}})({display:"flex",flexDirection:"column",flexWrap:"wrap",variants:[{props:{row:!0},style:{flexDirection:"row"}}]}),h=n.forwardRef(function(e,r){let t=(0,i.i)({props:e,name:"MuiFormGroup"}),{className:n,row:u=!1,...s}=t,c=(0,f.Z)(),a=(0,d.Z)({props:t,muiFormControl:c,states:["error"]}),l={...t,row:u,error:a.error},h=m(l);return(0,v.jsx)(p,{className:(0,o.Z)(h.root,n),ownerState:l,ref:r,...s})})},66694:function(e,r,t){t.d(r,{Q:()=>o,U:()=>n});let n="1h",o="0s"},67469:function(e,r,t){t.d(r,{z:()=>o});var n=t(54538);function o(e){let r=(0,n.useRef)(e);return(0,n.useLayoutEffect)(()=>{r.current=e}),(0,n.useCallback)((...e)=>r.current(...e),[])}},14371:function(e,r,t){r.default=void 0;var n,o=(n=t(30265))&&n.__esModule?n:{default:n};r.default=(0,o.default)("M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z","OpenInNew")},494:function(e,r,t){t.d(r,{F:()=>s});var n=t(84275),o=t(57576),u=function(e,r){for(var t={};e.length;){var n=e[0],u=n.code,s=n.message,i=n.path.join(".");if(!t[i]){if("unionErrors"in n){var c=n.unionErrors[0].errors[0];t[i]={message:c.message,type:c.code}}else t[i]={message:s,type:u}}if("unionErrors"in n&&n.unionErrors.forEach(function(r){return r.errors.forEach(function(r){return e.push(r)})}),r){var a=t[i].types,l=a&&a[n.code];t[i]=(0,o.appendErrors)(i,r,t,u,l?[].concat(l,n.message):n.message)}e.shift()}return t},s=function(e,r,t){return void 0===t&&(t={}),function(o,s,i){try{return Promise.resolve(function(u,s){try{var c=Promise.resolve(e["sync"===t.mode?"parse":"parseAsync"](o,r)).then(function(e){return i.shouldUseNativeValidation&&(0,n.validateFieldsNatively)({},i),{errors:{},values:t.raw?o:e}})}catch(e){return s(e)}return c&&c.then?c.then(void 0,s):c}(0,function(e){if(Array.isArray(null==e?void 0:e.errors))return{values:{},errors:(0,n.toNestErrors)(u(e.errors,!i.shouldUseNativeValidation&&"all"===i.criteriaMode),i)};throw e}))}catch(e){return Promise.reject(e)}}}}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunkPrometheus=self.webpackChunkPrometheus||[]).push([["8587"],{19090:function(e,t,r){r.d(t,{Z:()=>v});var n=r(54538),o=r(90496),i=r(82267),a=r(12709),l=r(51751),s=r(16351),d=r(69761),u=r(44124),p=r(6749);function c(e){return(0,p.ZP)("MuiBackdrop",e)}(0,u.Z)("MuiBackdrop",["root","invisible"]);var f=r(24246);let m=e=>{let{classes:t,invisible:r}=e;return(0,i.Z)({root:["root",r&&"invisible"]},c,t)},h=(0,a.ZP)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),v=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiBackdrop"}),{children:n,className:i,component:a="div",invisible:u=!1,open:p,components:c={},componentsProps:v={},slotProps:b={},slots:y={},TransitionComponent:g,transitionDuration:x,...Z}=r,S={...r,component:a,invisible:u},M=m(S),E={slots:{transition:g,root:c.Root,...y},slotProps:{...v,...b}},[w,R]=(0,s.Z)("root",{elementType:h,externalForwardedProps:E,className:(0,o.Z)(M.root,i),ownerState:S}),[k,P]=(0,s.Z)("transition",{elementType:d.Z,externalForwardedProps:E,ownerState:S});return(0,f.jsx)(k,{in:p,timeout:x,...Z,...P,children:(0,f.jsx)(w,{"aria-hidden":!0,...R,classes:M,ref:t,children:n})})})},69761:function(e,t,r){r.d(t,{Z:()=>p});var n=r(54538),o=r(41825),i=r(94680),a=r(94776),l=r(42777),s=r(51183),d=r(24246);let u={entering:{opacity:1},entered:{opacity:1}},p=n.forwardRef(function(e,t){let r=(0,a.Z)(),p={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:c,appear:f=!0,children:m,easing:h,in:v,onEnter:b,onEntered:y,onEntering:g,onExit:x,onExited:Z,onExiting:S,style:M,timeout:E=p,TransitionComponent:w=o.ZP,...R}=e,k=n.useRef(null),P=(0,s.Z)(k,(0,i.Z)(m),t),C=e=>t=>{if(e){let r=k.current;void 0===t?e(r):e(r,t)}},T=C(g),I=C((e,t)=>{(0,l.n)(e);let n=(0,l.C)({style:M,timeout:E,easing:h},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),b&&b(e,t)}),O=C(y),N=C(S),$=C(e=>{let t=(0,l.C)({style:M,timeout:E,easing:h},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),x&&x(e)}),j=C(Z);return(0,d.jsx)(w,{appear:f,in:v,nodeRef:k,onEnter:I,onEntered:O,onEntering:T,onExit:$,onExited:j,onExiting:N,addEndListener:e=>{c&&c(k.current,e)},timeout:E,...R,children:(e,{ownerState:t,...r})=>n.cloneElement(m,{style:{opacity:0,visibility:"exited"!==e||v?void 0:"hidden",...u[e],...M,...m.props.style},ref:P,...r})})})},90222:function(e,t,r){r.d(t,{Z:()=>g});var n=r(54538),o=r(61170),i=r(82267),a=r(55879),l=r(73037),s=r(12709),d=r(82319),u=r(90433),p=r(51751),c=r(6499),f=r(51640),m=r(24246);let h=e=>{let{classes:t,disableUnderline:r,startAdornment:n,endAdornment:o,size:a,hiddenLabel:l,multiline:s}=e,d={root:["root",!r&&"underline",n&&"adornedStart",o&&"adornedEnd","small"===a&&`size${(0,f.Z)(a)}`,l&&"hiddenLabel",s&&"multiline"],input:["input"]},u=(0,i.Z)(d,c._,t);return{...t,...u}},v=(0,s.ZP)(a.Ej,{shouldForwardProp:e=>(0,l.Z)(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,d.Z)(({theme:e})=>{let t="light"===e.palette.mode,r=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)","@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r}},[`&.${c.Z.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:r},[`&.${c.Z.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)"},variants:[{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${c.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${c.Z.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)"}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${c.Z.disabled}, .${c.Z.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${c.Z.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,u.Z)()).map(([t])=>({props:{disableUnderline:!1,color:t},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t]?.main}`}}})),{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:12}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:12}},{props:({ownerState:e})=>e.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.multiline&&e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}}]}})),b=(0,s.ZP)(a.ni,{name:"MuiFilledInput",slot:"Input",overridesResolver:a._o})((0,d.Z)(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:e})=>e.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}},{props:({ownerState:e})=>e.hiddenLabel&&"small"===e.size,style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:e})=>e.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),y=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:i={},componentsProps:l,fullWidth:s=!1,hiddenLabel:d,inputComponent:u="input",multiline:c=!1,slotProps:f,slots:y={},type:g="text",...x}=r,Z={...r,disableUnderline:n,fullWidth:s,inputComponent:u,multiline:c,type:g},S=h(r),M={root:{ownerState:Z},input:{ownerState:Z}},E=f??l?(0,o.Z)(M,f??l):M,w=y.root??i.Root??v,R=y.input??i.Input??b;return(0,m.jsx)(a.ZP,{slots:{root:w,input:R},slotProps:E,fullWidth:s,inputComponent:u,multiline:c,ref:t,type:g,...x,classes:S})});y.muiName="Input";let g=y},6499:function(e,t,r){r.d(t,{Z:()=>a,_:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiFilledInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])}},90192:function(e,t,r){r.d(t,{Z:()=>y});var n=r(54538),o=r(90496),i=r(82267),a=r(12709),l=r(51751),s=r(65021),d=r(51640),u=r(70777),p=r(29992),c=r(44124),f=r(6749);function m(e){return(0,f.ZP)("MuiFormControl",e)}(0,c.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var h=r(24246);let v=e=>{let{classes:t,margin:r,fullWidth:n}=e,o={root:["root","none"!==r&&`margin${(0,d.Z)(r)}`,n&&"fullWidth"]};return(0,i.Z)(o,m,t)},b=(0,a.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`margin${(0,d.Z)(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),y=n.forwardRef(function(e,t){let r;let i=(0,l.i)({props:e,name:"MuiFormControl"}),{children:a,className:d,color:c="primary",component:f="div",disabled:m=!1,error:y=!1,focused:g,fullWidth:x=!1,hiddenLabel:Z=!1,margin:S="none",required:M=!1,size:E="medium",variant:w="outlined",...R}=i,k={...i,color:c,component:f,disabled:m,error:y,fullWidth:x,hiddenLabel:Z,margin:S,required:M,size:E,variant:w},P=v(k),[C,T]=n.useState(()=>{let e=!1;return a&&n.Children.forEach(a,t=>{if(!(0,u.Z)(t,["Input","Select"]))return;let r=(0,u.Z)(t,["Select"])?t.props.input:t;r&&(0,s.B7)(r.props)&&(e=!0)}),e}),[I,O]=n.useState(()=>{let e=!1;return a&&n.Children.forEach(a,t=>{(0,u.Z)(t,["Input","Select"])&&((0,s.vd)(t.props,!0)||(0,s.vd)(t.props.inputProps,!0))&&(e=!0)}),e}),[N,$]=n.useState(!1);m&&N&&$(!1);let j=void 0===g||m?N:g;n.useRef(!1);let F=n.useCallback(()=>{O(!0)},[]),L=n.useCallback(()=>{O(!1)},[]),A=n.useMemo(()=>({adornedStart:C,setAdornedStart:T,color:c,disabled:m,error:y,filled:I,focused:j,fullWidth:x,hiddenLabel:Z,size:E,onBlur:()=>{$(!1)},onFocus:()=>{$(!0)},onEmpty:L,onFilled:F,registerEffect:r,required:M,variant:w}),[C,c,m,y,I,j,x,Z,r,L,F,M,E,w]);return(0,h.jsx)(p.Z.Provider,{value:A,children:(0,h.jsx)(b,{as:f,ownerState:k,className:(0,o.Z)(P.root,d),ref:t,...R,children:a})})})},29992:function(e,t,r){r.d(t,{Z:()=>n});let n=r(54538).createContext(void 0)},33567:function(e,t,r){r.d(t,{Z:()=>n});function n({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}},36683:function(e,t,r){r.d(t,{Z:()=>i});var n=r(54538),o=r(29992);function i(){return n.useContext(o.Z)}},32931:function(e,t,r){r.d(t,{Z:()=>x});var n,o=r(54538),i=r(90496),a=r(82267),l=r(33567),s=r(36683),d=r(12709),u=r(82319),p=r(51751),c=r(51640),f=r(44124),m=r(6749);function h(e){return(0,m.ZP)("MuiFormHelperText",e)}let v=(0,f.Z)("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var b=r(24246);let y=e=>{let{classes:t,contained:r,size:n,disabled:o,error:i,filled:l,focused:s,required:d}=e,u={root:["root",o&&"disabled",i&&"error",n&&`size${(0,c.Z)(n)}`,r&&"contained",s&&"focused",l&&"filled",d&&"required"]};return(0,a.Z)(u,h,t)},g=(0,d.ZP)("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.size&&t[`size${(0,c.Z)(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})((0,u.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${v.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${v.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:e})=>e.contained,style:{marginLeft:14,marginRight:14}}]}))),x=o.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiFormHelperText"}),{children:o,className:a,component:d="p",disabled:u,error:c,filled:f,focused:m,margin:h,required:v,variant:x,...Z}=r,S=(0,s.Z)(),M=(0,l.Z)({props:r,muiFormControl:S,states:["variant","size","disabled","error","filled","focused","required"]}),E={...r,component:d,contained:"filled"===M.variant||"outlined"===M.variant,variant:M.variant,size:M.size,disabled:M.disabled,error:M.error,filled:M.filled,focused:M.focused,required:M.required};delete E.ownerState;let w=y(E);return(0,b.jsx)(g,{as:d,className:(0,i.Z)(w.root,a),ref:t,...Z,ownerState:E,children:" "===o?n||(n=(0,b.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"})):o})})},23626:function(e,t,r){r.d(t,{Z:()=>y});var n=r(54538),o=r(90496),i=r(82267),a=r(33567),l=r(36683),s=r(51640),d=r(12709),u=r(82319),p=r(90433),c=r(51751),f=r(15143),m=r(24246);let h=e=>{let{classes:t,color:r,focused:n,disabled:o,error:a,filled:l,required:d}=e,u={root:["root",`color${(0,s.Z)(r)}`,o&&"disabled",a&&"error",l&&"filled",n&&"focused",d&&"required"],asterisk:["asterisk",a&&"error"]};return(0,i.Z)(u,f.M,t)},v=(0,d.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"secondary"===r.color&&t.colorSecondary,r.filled&&t.filled]}})((0,u.Z)(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter((0,p.Z)()).map(([t])=>({props:{color:t},style:{[`&.${f.Z.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${f.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),b=(0,d.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((0,u.Z)(({theme:e})=>({[`&.${f.Z.error}`]:{color:(e.vars||e).palette.error.main}}))),y=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiFormLabel"}),{children:n,className:i,color:s,component:d="label",disabled:u,error:p,filled:f,focused:y,required:g,...x}=r,Z=(0,l.Z)(),S=(0,a.Z)({props:r,muiFormControl:Z,states:["color","required","focused","disabled","error","filled"]}),M={...r,color:S.color||"primary",component:d,disabled:S.disabled,error:S.error,filled:S.filled,focused:S.focused,required:S.required},E=h(M);return(0,m.jsxs)(v,{as:d,ownerState:M,className:(0,o.Z)(E.root,i),ref:t,...x,children:[n,S.required&&(0,m.jsxs)(b,{ownerState:M,"aria-hidden":!0,className:E.asterisk,children:[" ","*"]})]})})},15143:function(e,t,r){r.d(t,{M:()=>i,Z:()=>a});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiFormLabel",e)}let a=(0,n.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"])},23382:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),o=r(47126),i=r(94680),a=r(41825),l=r(94776),s=r(42777),d=r(51183),u=r(24246);function p(e){return`scale(${e}, ${e**2})`}let c={entering:{opacity:1,transform:p(1)},entered:{opacity:1,transform:"none"}},f="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),m=n.forwardRef(function(e,t){let{addEndListener:r,appear:m=!0,children:h,easing:v,in:b,onEnter:y,onEntered:g,onEntering:x,onExit:Z,onExited:S,onExiting:M,style:E,timeout:w="auto",TransitionComponent:R=a.ZP,...k}=e,P=(0,o.Z)(),C=n.useRef(),T=(0,l.Z)(),I=n.useRef(null),O=(0,d.Z)(I,(0,i.Z)(h),t),N=e=>t=>{if(e){let r=I.current;void 0===t?e(r):e(r,t)}},$=N(x),j=N((e,t)=>{let r;(0,s.n)(e);let{duration:n,delay:o,easing:i}=(0,s.C)({style:E,timeout:w,easing:v},{mode:"enter"});"auto"===w?(r=T.transitions.getAutoHeightDuration(e.clientHeight),C.current=r):r=n,e.style.transition=[T.transitions.create("opacity",{duration:r,delay:o}),T.transitions.create("transform",{duration:f?r:.666*r,delay:o,easing:i})].join(","),y&&y(e,t)}),F=N(g),L=N(M),A=N(e=>{let t;let{duration:r,delay:n,easing:o}=(0,s.C)({style:E,timeout:w,easing:v},{mode:"exit"});"auto"===w?(t=T.transitions.getAutoHeightDuration(e.clientHeight),C.current=t):t=r,e.style.transition=[T.transitions.create("opacity",{duration:t,delay:n}),T.transitions.create("transform",{duration:f?t:.666*t,delay:f?n:n||.333*t,easing:o})].join(","),e.style.opacity=0,e.style.transform=p(.75),Z&&Z(e)}),z=N(S);return(0,u.jsx)(R,{appear:m,in:b,nodeRef:I,onEnter:j,onEntered:F,onEntering:$,onExit:A,onExited:z,onExiting:L,addEndListener:e=>{"auto"===w&&P.start(C.current||0,e),r&&r(I.current,e)},timeout:"auto"===w?null:w,...k,children:(e,{ownerState:t,...r})=>n.cloneElement(h,{style:{opacity:0,transform:p(.75),visibility:"exited"!==e||b?void 0:"hidden",...c[e],...E,...h.props.style},ref:O,...r})})});m&&(m.muiSupportAuto=!0);let h=m},20540:function(e,t,r){r.d(t,{Z:()=>y});var n=r(54538),o=r(82267),i=r(61170),a=r(55879),l=r(73037),s=r(12709),d=r(82319),u=r(90433),p=r(51751),c=r(28678),f=r(24246);let m=e=>{let{classes:t,disableUnderline:r}=e,n=(0,o.Z)({root:["root",!r&&"underline"],input:["input"]},c.l,t);return{...t,...n}},h=(0,s.ZP)(a.Ej,{shouldForwardProp:e=>(0,l.Z)(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[...(0,a.Gx)(e,t),!r.disableUnderline&&t.underline]}})((0,d.Z)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),{position:"relative",variants:[{props:({ownerState:e})=>e.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:e})=>!e.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${c.Z.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${c.Z.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${c.Z.disabled}, .${c.Z.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${c.Z.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter((0,u.Z)()).map(([t])=>({props:{color:t,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t].main}`}}}))]}})),v=(0,s.ZP)(a.ni,{name:"MuiInput",slot:"Input",overridesResolver:a._o})({}),b=n.forwardRef(function(e,t){let r=(0,p.i)({props:e,name:"MuiInput"}),{disableUnderline:n=!1,components:o={},componentsProps:l,fullWidth:s=!1,inputComponent:d="input",multiline:u=!1,slotProps:c,slots:b={},type:y="text",...g}=r,x=m(r),Z={root:{ownerState:{disableUnderline:n}}},S=c??l?(0,i.Z)(c??l,Z):Z,M=b.root??o.Root??h,E=b.input??o.Input??v;return(0,f.jsx)(a.ZP,{slots:{root:M,input:E},slotProps:S,fullWidth:s,inputComponent:d,multiline:u,ref:t,type:y,...g,classes:x})});b.muiName="Input";let y=b},28678:function(e,t,r){r.d(t,{Z:()=>a,l:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiInput",["root","underline","input"])}},55879:function(e,t,r){r.d(t,{Gx:()=>I,ZP:()=>L,Ej:()=>$,_o:()=>O,ni:()=>j});var n,o=r(62220),i=r(54538),a=r(90496),l=r(82267),s=r(97048),d=r(33205),u=r(81925),p=r(96858),c=r(24384),f=r(24246);function m(e){return parseInt(e,10)||0}let h={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"};function v(e){return function(e){for(let t in e)return!1;return!0}(e)||0===e.outerHeightStyle&&!e.overflowing}let b=i.forwardRef(function(e,t){let{onChange:r,maxRows:n,minRows:o=1,style:a,value:l,...b}=e,{current:y}=i.useRef(null!=l),g=i.useRef(null),x=(0,s.Z)(t,g),Z=i.useRef(null),S=i.useRef(null),M=i.useCallback(()=>{let t=g.current,r=S.current;if(!t||!r)return;let i=(0,d.Z)(t).getComputedStyle(t);if("0px"===i.width)return{outerHeightStyle:0,overflowing:!1};r.style.width=i.width,r.value=t.value||e.placeholder||"x","\n"===r.value.slice(-1)&&(r.value+=" ");let a=i.boxSizing,l=m(i.paddingBottom)+m(i.paddingTop),s=m(i.borderBottomWidth)+m(i.borderTopWidth),u=r.scrollHeight;r.value="x";let p=r.scrollHeight,c=u;return o&&(c=Math.max(Number(o)*p,c)),n&&(c=Math.min(Number(n)*p,c)),{outerHeightStyle:(c=Math.max(c,p))+("border-box"===a?l+s:0),overflowing:1>=Math.abs(c-u)}},[n,o,e.placeholder]),E=(0,u.Z)(()=>{let e=g.current,t=M();if(!e||!t||v(t))return!1;let r=t.outerHeightStyle;return null!=Z.current&&Z.current!==r}),w=i.useCallback(()=>{let e=g.current,t=M();if(!e||!t||v(t))return;let r=t.outerHeightStyle;Z.current!==r&&(Z.current=r,e.style.height=`${r}px`),e.style.overflow=t.overflowing?"hidden":""},[M]),R=i.useRef(-1);return(0,p.Z)(()=>{let e;let t=(0,c.Z)(w),r=g?.current;if(!r)return;let n=(0,d.Z)(r);return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(e=new ResizeObserver(()=>{E()&&(e.unobserve(r),cancelAnimationFrame(R.current),w(),R.current=requestAnimationFrame(()=>{e.observe(r)}))})).observe(r),()=>{t.clear(),cancelAnimationFrame(R.current),n.removeEventListener("resize",t),e&&e.disconnect()}},[M,w,E]),(0,p.Z)(()=>{w()}),(0,f.jsxs)(i.Fragment,{children:[(0,f.jsx)("textarea",{value:l,onChange:e=>{y||w(),r&&r(e)},ref:x,rows:o,style:a,...b}),(0,f.jsx)("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:S,tabIndex:-1,style:{...h,...a,paddingTop:0,paddingBottom:0}})]})});var y=r(88653),g=r(33567),x=r(29992),Z=r(36683),S=r(12709),M=r(32543),E=r(82319),w=r(51751),R=r(51640),k=r(51183),P=r(16758),C=r(65021),T=r(3597);let I=(e,t)=>{let{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${(0,R.Z)(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},O=(e,t)=>{let{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},N=e=>{let{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:d,hiddenLabel:u,multiline:p,readOnly:c,size:f,startAdornment:m,type:h}=e,v={root:["root",`color${(0,R.Z)(r)}`,n&&"disabled",o&&"error",d&&"fullWidth",a&&"focused",s&&"formControl",f&&"medium"!==f&&`size${(0,R.Z)(f)}`,p&&"multiline",m&&"adornedStart",i&&"adornedEnd",u&&"hiddenLabel",c&&"readOnly"],input:["input",n&&"disabled","search"===h&&"inputTypeSearch",p&&"inputMultiline","small"===f&&"inputSizeSmall",u&&"inputHiddenLabel",m&&"inputAdornedStart",i&&"inputAdornedEnd",c&&"readOnly"]};return(0,l.Z)(v,T.u,t)},$=(0,S.ZP)("div",{name:"MuiInputBase",slot:"Root",overridesResolver:I})((0,E.Z)(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${T.Z.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:e})=>e.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{paddingTop:1}},{props:({ownerState:e})=>e.fullWidth,style:{width:"100%"}}]}))),j=(0,S.ZP)("input",{name:"MuiInputBase",slot:"Input",overridesResolver:O})((0,E.Z)(({theme:e})=>{let t="light"===e.palette.mode,r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},o=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${T.Z.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":o,"&:focus::-moz-placeholder":o,"&:focus::-ms-input-placeholder":o},[`&.${T.Z.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:e})=>!e.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:e})=>e.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),F=(0,M.zY)({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),L=i.forwardRef(function(e,t){let r=(0,w.i)({props:e,name:"MuiInputBase"}),{"aria-describedby":l,autoComplete:s,autoFocus:d,className:u,color:p,components:c={},componentsProps:m={},defaultValue:h,disabled:v,disableInjectingGlobalStyles:S,endAdornment:M,error:E,fullWidth:R=!1,id:T,inputComponent:I="input",inputProps:O={},inputRef:L,margin:A,maxRows:z,minRows:B,multiline:W=!1,name:D,onBlur:H,onChange:q,onClick:U,onFocus:K,onKeyDown:V,onKeyUp:X,placeholder:G,readOnly:Y,renderSuffix:_,rows:Q,size:J,slotProps:ee={},slots:et={},startAdornment:er,type:en="text",value:eo,...ei}=r,ea=null!=O.value?O.value:eo,{current:el}=i.useRef(null!=ea),es=i.useRef(),ed=i.useCallback(e=>{},[]),eu=(0,k.Z)(es,L,O.ref,ed),[ep,ec]=i.useState(!1),ef=(0,Z.Z)(),em=(0,g.Z)({props:r,muiFormControl:ef,states:["color","disabled","error","hiddenLabel","size","required","filled"]});em.focused=ef?ef.focused:ep,i.useEffect(()=>{!ef&&v&&ep&&(ec(!1),H&&H())},[ef,v,ep,H]);let eh=ef&&ef.onFilled,ev=ef&&ef.onEmpty,eb=i.useCallback(e=>{(0,C.vd)(e)?eh&&eh():ev&&ev()},[eh,ev]);(0,P.Z)(()=>{el&&eb({value:ea})},[ea,eb,el]),i.useEffect(()=>{eb(es.current)},[]);let ey=I,eg=O;W&&"input"===ey&&(eg=Q?{type:void 0,minRows:Q,maxRows:Q,...eg}:{type:void 0,maxRows:z,minRows:B,...eg},ey=b),i.useEffect(()=>{ef&&ef.setAdornedStart(!!er)},[ef,er]);let ex={...r,color:em.color||"primary",disabled:em.disabled,endAdornment:M,error:em.error,focused:em.focused,formControl:ef,fullWidth:R,hiddenLabel:em.hiddenLabel,multiline:W,size:em.size,startAdornment:er,type:en},eZ=N(ex),eS=et.root||c.Root||$,eM=ee.root||m.root||{},eE=et.input||c.Input||j;return eg={...eg,...ee.input??m.input},(0,f.jsxs)(i.Fragment,{children:[!S&&"function"==typeof F&&(n||(n=(0,f.jsx)(F,{}))),(0,f.jsxs)(eS,{...eM,ref:t,onClick:e=>{es.current&&e.currentTarget===e.target&&es.current.focus(),U&&U(e)},...ei,...!(0,y.Z)(eS)&&{ownerState:{...ex,...eM.ownerState}},className:(0,a.Z)(eZ.root,eM.className,u,Y&&"MuiInputBase-readOnly"),children:[er,(0,f.jsx)(x.Z.Provider,{value:null,children:(0,f.jsx)(eE,{"aria-invalid":em.error,"aria-describedby":l,autoComplete:s,autoFocus:d,defaultValue:h,disabled:em.disabled,id:T,onAnimationStart:e=>{eb("mui-auto-fill-cancel"===e.animationName?es.current:{value:"x"})},name:D,placeholder:G,readOnly:Y,required:em.required,rows:Q,value:ea,onKeyDown:V,onKeyUp:X,type:en,...eg,...!(0,y.Z)(eE)&&{as:ey,ownerState:{...ex,...eg.ownerState}},ref:eu,className:(0,a.Z)(eZ.input,eg.className,Y&&"MuiInputBase-readOnly"),onBlur:e=>{H&&H(e),O.onBlur&&O.onBlur(e),ef&&ef.onBlur?ef.onBlur(e):ec(!1)},onChange:(e,...t)=>{if(!el){let t=e.target||es.current;if(null==t)throw Error((0,o.Z)(1));eb({value:t.value})}O.onChange&&O.onChange(e,...t),q&&q(e,...t)},onFocus:e=>{K&&K(e),O.onFocus&&O.onFocus(e),ef&&ef.onFocus?ef.onFocus(e):ec(!0)}})}),M,_?_({...em,startAdornment:er}):null]})]})})},3597:function(e,t,r){r.d(t,{Z:()=>a,u:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiInputBase",e)}let a=(0,n.Z)("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"])},65021:function(e,t,r){function n(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function o(e,t=!1){return e&&(n(e.value)&&""!==e.value||t&&n(e.defaultValue)&&""!==e.defaultValue)}function i(e){return e.startAdornment}r.d(t,{B7:()=>i,vd:()=>o})},68808:function(e,t,r){r.d(t,{Z:()=>Z});var n=r(54538),o=r(82267),i=r(90496),a=r(33567),l=r(36683),s=r(23626),d=r(15143),u=r(51640),p=r(73037),c=r(12709),f=r(82319),m=r(51751),h=r(44124),v=r(6749);function b(e){return(0,v.ZP)("MuiInputLabel",e)}(0,h.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);var y=r(24246);let g=e=>{let{classes:t,formControl:r,size:n,shrink:i,disableAnimation:a,variant:l,required:s}=e,d={root:["root",r&&"formControl",!a&&"animated",i&&"shrink",n&&"normal"!==n&&`size${(0,u.Z)(n)}`,l],asterisk:[s&&"asterisk"]},p=(0,o.Z)(d,b,t);return{...t,...p}},x=(0,c.ZP)(s.Z,{shouldForwardProp:e=>(0,p.Z)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`& .${d.Z.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})((0,f.Z)(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:e})=>e.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:e})=>e.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:e})=>!e.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:e,ownerState:t})=>"filled"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:e,ownerState:t,size:r})=>"filled"===e&&t.shrink&&"small"===r,style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:e,ownerState:t})=>"outlined"===e&&t.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Z=n.forwardRef(function(e,t){let r=(0,m.i)({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:o,shrink:s,variant:d,className:u,...p}=r,c=(0,l.Z)(),f=s;void 0===f&&c&&(f=c.filled||c.focused||c.adornedStart);let h=(0,a.Z)({props:r,muiFormControl:c,states:["size","variant","required","focused"]}),v={...r,disableAnimation:n,formControl:c,shrink:f,size:h.size,variant:h.variant,required:h.required,focused:h.focused},b=g(v);return(0,y.jsx)(x,{"data-shrink":f,ref:t,className:(0,i.Z)(b.root,u),...p,ownerState:v,classes:b})})},71852:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),o=r(90496),i=r(82267),a=r(12709),l=r(51751),s=r(78849),d=r(44124),u=r(6749);function p(e){return(0,u.ZP)("MuiList",e)}(0,d.Z)("MuiList",["root","padding","dense","subheader"]);var c=r(24246);let f=e=>{let{classes:t,disablePadding:r,dense:n,subheader:o}=e;return(0,i.Z)({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},p,t)},m=(0,a.ZP)("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),h=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiList"}),{children:i,className:a,component:d="ul",dense:u=!1,disablePadding:p=!1,subheader:h,...v}=r,b=n.useMemo(()=>({dense:u}),[u]),y={...r,component:d,dense:u,disablePadding:p},g=f(y);return(0,c.jsx)(s.Z.Provider,{value:b,children:(0,c.jsxs)(m,{as:d,className:(0,o.Z)(g.root,a),ref:t,ownerState:y,...v,children:[h,i]})})})},78849:function(e,t,r){r.d(t,{Z:()=>n});let n=r(54538).createContext({})},5549:function(e,t,r){r.d(t,{Z:()=>E});var n=r(54538),o=r(90496),i=r(82267),a=r(6595),l=r(25399),s=r(18873),d=r(6714),u=r(73037),p=r(12709),c=r(51751),f=r(44124),m=r(6749);function h(e){return(0,m.ZP)("MuiMenu",e)}(0,f.Z)("MuiMenu",["root","paper","list"]);var v=r(16351),b=r(24246);let y={vertical:"top",horizontal:"right"},g={vertical:"top",horizontal:"left"},x=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"],paper:["paper"],list:["list"]},h,t)},Z=(0,p.ZP)(d.ZP,{shouldForwardProp:e=>(0,u.Z)(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),S=(0,p.ZP)(d.XS,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),M=(0,p.ZP)(s.Z,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),E=n.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiMenu"}),{autoFocus:i=!0,children:s,className:d,disableAutoFocusItem:u=!1,MenuListProps:p={},onClose:f,open:m,PaperProps:h={},PopoverClasses:E,transitionDuration:w="auto",TransitionProps:{onEntering:R,...k}={},variant:P="selectedMenu",slots:C={},slotProps:T={},...I}=r,O=(0,a.V)(),N={...r,autoFocus:i,disableAutoFocusItem:u,MenuListProps:p,onEntering:R,PaperProps:h,transitionDuration:w,TransitionProps:k,variant:P},$=x(N),j=i&&!u&&m,F=n.useRef(null),L=(e,t)=>{F.current&&F.current.adjustStyleForScrollbar(e,{direction:O?"rtl":"ltr"}),R&&R(e,t)},A=e=>{"Tab"===e.key&&(e.preventDefault(),f&&f(e,"tabKeyDown"))},z=-1;n.Children.map(s,(e,t)=>{n.isValidElement(e)&&(e.props.disabled||("selectedMenu"===P&&e.props.selected?z=t:-1!==z||(z=t)))});let B={slots:C,slotProps:{list:p,transition:k,paper:h,...T}},W=(0,l.Z)({elementType:C.root,externalSlotProps:T.root,ownerState:N,className:[$.root,d]}),[D,H]=(0,v.Z)("paper",{className:$.paper,elementType:S,externalForwardedProps:B,shouldForwardComponentProp:!0,ownerState:N}),[q,U]=(0,v.Z)("list",{className:(0,o.Z)($.list,p.className),elementType:M,shouldForwardComponentProp:!0,externalForwardedProps:B,getSlotProps:e=>({...e,onKeyDown:t=>{A(t),e.onKeyDown?.(t)}}),ownerState:N}),K="function"==typeof B.slotProps.transition?B.slotProps.transition(N):B.slotProps.transition;return(0,b.jsx)(Z,{onClose:f,anchorOrigin:{vertical:"bottom",horizontal:O?"right":"left"},transformOrigin:O?y:g,slots:{root:C.root,paper:D,backdrop:C.backdrop,...C.transition&&{transition:C.transition}},slotProps:{root:W,paper:H,backdrop:"function"==typeof T.backdrop?T.backdrop(N):T.backdrop,transition:{...K,onEntering:(...e)=>{L(...e),K?.onEntering?.(...e)}}},open:m,ref:t,transitionDuration:w,ownerState:N,...I,classes:E,children:(0,b.jsx)(q,{actions:F,autoFocus:i&&(-1===z||u),autoFocusItem:j,variant:P,...U,children:s})})})},18873:function(e,t,r){r.d(t,{Z:()=>h});var n=r(54538),o=r(2444),i=r(71852);let a=r(16046).Z;var l=r(51183),s=r(16758),d=r(24255),u=r(24246);function p(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function c(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function f(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),0!==(r=r.trim().toLowerCase()).length&&(t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join("")))}function m(e,t,r,n,o,i){let a=!1,l=o(e,t,!!t&&r);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}let t=!n&&(l.disabled||"true"===l.getAttribute("aria-disabled"));if(l.hasAttribute("tabindex")&&f(l,i)&&!t)return l.focus(),!0;l=o(e,l,r)}return!1}let h=n.forwardRef(function(e,t){let{actions:r,autoFocus:h=!1,autoFocusItem:v=!1,children:b,className:y,disabledItemsFocusable:g=!1,disableListWrap:x=!1,onKeyDown:Z,variant:S="selectedMenu",...M}=e,E=n.useRef(null),w=n.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});(0,s.Z)(()=>{h&&E.current.focus()},[h]),n.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{let r=!E.current.style.width;if(e.clientHeight<E.current.clientHeight&&r){let r=`${a((0,d.Z)(e))}px`;E.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,E.current.style.width=`calc(100% + ${r})`}return E.current}}),[]);let R=(0,l.Z)(E,t),k=-1;n.Children.forEach(b,(e,t)=>{if(!n.isValidElement(e)){k===t&&(k+=1)>=b.length&&(k=-1);return}e.props.disabled||("selectedMenu"===S&&e.props.selected?k=t:-1!==k||(k=t)),k===t&&(e.props.disabled||e.props.muiSkipListHighlight||e.type.muiSkipListHighlight)&&(k+=1)>=b.length&&(k=-1)});let P=n.Children.map(b,(e,t)=>{if(t===k){let t={};return v&&(t.autoFocus=!0),void 0===e.props.tabIndex&&"selectedMenu"===S&&(t.tabIndex=0),n.cloneElement(e,t)}return e});return(0,u.jsx)(i.Z,{role:"menu",ref:R,className:y,onKeyDown:e=>{let t=E.current,r=e.key;if(e.ctrlKey||e.metaKey||e.altKey){Z&&Z(e);return}let n=(0,o.Z)(t).activeElement;if("ArrowDown"===r)e.preventDefault(),m(t,n,x,g,p);else if("ArrowUp"===r)e.preventDefault(),m(t,n,x,g,c);else if("Home"===r)e.preventDefault(),m(t,null,x,g,p);else if("End"===r)e.preventDefault(),m(t,null,x,g,c);else if(1===r.length){let o=w.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);let l=n&&!o.repeating&&f(n,o);o.previousKeyMatched&&(l||m(t,n,!1,g,p,o))?e.preventDefault():o.previousKeyMatched=!1}Z&&Z(e)},tabIndex:h?0:-1,...M,children:P})})},49106:function(e,t,r){r.d(t,{Z:()=>L});var n=r(54538),o=r(90496),i=r(82267),a=r(97048),l=r(94680),s=r(80668),d=r(24246);function u(e){let t=[],r=[];return Array.from(e.querySelectorAll('input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])')).forEach((e,n)=>{let o=function(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);!(-1===o||e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`),r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function p(){return!0}let c=function(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:c=u,isEnabled:f=p,open:m}=e,h=n.useRef(!1),v=n.useRef(null),b=n.useRef(null),y=n.useRef(null),g=n.useRef(null),x=n.useRef(!1),Z=n.useRef(null),S=(0,a.Z)((0,l.Z)(t),Z),M=n.useRef(null);n.useEffect(()=>{m&&Z.current&&(x.current=!r)},[r,m]),n.useEffect(()=>{if(!m||!Z.current)return;let e=(0,s.Z)(Z.current);return!Z.current.contains(e.activeElement)&&(Z.current.hasAttribute("tabIndex")||Z.current.setAttribute("tabIndex","-1"),x.current&&Z.current.focus()),()=>{i||(y.current&&y.current.focus&&(h.current=!0,y.current.focus()),y.current=null)}},[m]),n.useEffect(()=>{if(!m||!Z.current)return;let e=(0,s.Z)(Z.current),t=t=>{M.current=t,!o&&f()&&"Tab"===t.key&&e.activeElement===Z.current&&t.shiftKey&&(h.current=!0,b.current&&b.current.focus())},r=()=>{let t=Z.current;if(null===t)return;if(!e.hasFocus()||!f()||h.current){h.current=!1;return}if(t.contains(e.activeElement)||o&&e.activeElement!==v.current&&e.activeElement!==b.current)return;if(e.activeElement!==g.current)g.current=null;else if(null!==g.current)return;if(!x.current)return;let r=[];if((e.activeElement===v.current||e.activeElement===b.current)&&(r=c(Z.current)),r.length>0){let e=!!(M.current?.shiftKey&&M.current?.key==="Tab"),t=r[0],n=r[r.length-1];"string"!=typeof t&&"string"!=typeof n&&(e?n.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);let n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,o,i,f,m,c]);let E=e=>{null===y.current&&(y.current=e.relatedTarget),x.current=!0};return(0,d.jsxs)(n.Fragment,{children:[(0,d.jsx)("div",{tabIndex:m?0:-1,onFocus:E,ref:v,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:S,onFocus:e=>{null===y.current&&(y.current=e.relatedTarget),x.current=!0,g.current=e.target;let r=t.props.onFocus;r&&r(e)}}),(0,d.jsx)("div",{tabIndex:m?0:-1,onFocus:E,ref:b,"data-testid":"sentinelEnd"})]})};var f=r(7444),m=r(12709),h=r(82319),v=r(51751),b=r(19090),y=r(81925),g=r(38543),x=r(92438),Z=r(33205),S=r(16046);function M(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function E(e){return parseInt((0,Z.Z)(e).getComputedStyle(e).paddingRight,10)||0}function w(e,t,r,n,o){let i=[t,r,...n];[].forEach.call(e.children,e=>{let t=!i.includes(e),r=!function(e){let t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&M(e,o)})}function R(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}let k=()=>{},P=new class{constructor(){this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&M(e.modalRef,!1);let n=function(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);w(t,e.mount,e.modalRef,n,!0);let o=R(this.containers,e=>e.container===t);return -1!==o?this.containers[o].modals.push(e):this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r}mount(e,t){let r=R(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){let r=[],n=e.container;if(!t.disableScrollLock){let e;if(function(e){let t=(0,s.Z)(e);return t.body===e?(0,Z.Z)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){let e=(0,S.Z)((0,Z.Z)(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${E(n)+e}px`;let t=(0,s.Z)(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${E(t)+e}px`})}if(n.parentNode instanceof DocumentFragment)e=(0,s.Z)(n).body;else{let t=n.parentElement,r=(0,Z.Z)(n);e=t?.nodeName==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){let r=this.modals.indexOf(e);if(-1===r)return r;let n=R(this.containers,t=>t.modals.includes(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&M(e.modalRef,t),w(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=o.modals[o.modals.length-1];e.modalRef&&M(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}},C=function(e){let{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:o=!1,closeAfterTransition:i=!1,onTransitionEnter:l,onTransitionExited:d,children:u,onClose:p,open:c,rootRef:f}=e,m=n.useRef({}),h=n.useRef(null),v=n.useRef(null),b=(0,a.Z)(v,f),[Z,S]=n.useState(!c),E=!!u&&u.props.hasOwnProperty("in"),w=!0;("false"===e["aria-hidden"]||!1===e["aria-hidden"])&&(w=!1);let R=()=>(0,s.Z)(h.current),C=()=>(m.current.modalRef=v.current,m.current.mount=h.current,m.current),T=()=>{P.mount(C(),{disableScrollLock:o}),v.current&&(v.current.scrollTop=0)},I=(0,y.Z)(()=>{let e=("function"==typeof t?t():t)||R().body;P.add(C(),e),v.current&&T()}),O=()=>P.isTopModal(C()),N=(0,y.Z)(e=>{h.current=e,e&&(c&&O()?T():v.current&&M(v.current,w))}),$=n.useCallback(()=>{P.remove(C(),w)},[w]);n.useEffect(()=>()=>{$()},[$]),n.useEffect(()=>{c?I():E&&i||$()},[c,$,E,i,I]);let j=e=>t=>{e.onKeyDown?.(t),"Escape"===t.key&&229!==t.which&&O()&&!r&&(t.stopPropagation(),p&&p(t,"escapeKeyDown"))},F=e=>t=>{e.onClick?.(t),t.target===t.currentTarget&&p&&p(t,"backdropClick")};return{getRootProps:(t={})=>{let r=(0,x.Z)(e);delete r.onTransitionEnter,delete r.onTransitionExited;let n={...r,...t};return{role:"presentation",...n,onKeyDown:j(n),ref:b}},getBackdropProps:(e={})=>({"aria-hidden":!0,...e,onClick:F(e),open:c}),getTransitionProps:()=>({onEnter:(0,g.Z)(()=>{S(!1),l&&l()},u?.props.onEnter??k),onExited:(0,g.Z)(()=>{S(!0),d&&d(),i&&$()},u?.props.onExited??k)}),rootRef:b,portalRef:N,isTopModal:O,exited:Z,hasTransition:E}};var T=r(44124),I=r(6749);function O(e){return(0,I.ZP)("MuiModal",e)}(0,T.Z)("MuiModal",["root","hidden","backdrop"]);var N=r(16351);let $=e=>{let{open:t,exited:r,classes:n}=e;return(0,i.Z)({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},O,n)},j=(0,m.ZP)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,h.Z)(({theme:e})=>({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:({ownerState:e})=>!e.open&&e.exited,style:{visibility:"hidden"}}]}))),F=(0,m.ZP)(b.Z,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),L=n.forwardRef(function(e,t){let r=(0,v.i)({name:"MuiModal",props:e}),{BackdropComponent:i=F,BackdropProps:a,classes:l,className:s,closeAfterTransition:u=!1,children:p,container:m,component:h,components:b={},componentsProps:y={},disableAutoFocus:g=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:Z=!1,disablePortal:S=!1,disableRestoreFocus:M=!1,disableScrollLock:E=!1,hideBackdrop:w=!1,keepMounted:R=!1,onBackdropClick:k,onClose:P,onTransitionEnter:T,onTransitionExited:I,open:O,slotProps:L={},slots:A={},theme:z,...B}=r,W={...r,closeAfterTransition:u,disableAutoFocus:g,disableEnforceFocus:x,disableEscapeKeyDown:Z,disablePortal:S,disableRestoreFocus:M,disableScrollLock:E,hideBackdrop:w,keepMounted:R},{getRootProps:D,getBackdropProps:H,getTransitionProps:q,portalRef:U,isTopModal:K,exited:V,hasTransition:X}=C({...W,rootRef:t}),G={...W,exited:V},Y=$(G),_={};if(void 0===p.props.tabIndex&&(_.tabIndex="-1"),X){let{onEnter:e,onExited:t}=q();_.onEnter=e,_.onExited=t}let Q={slots:{root:b.Root,backdrop:b.Backdrop,...A},slotProps:{...y,...L}},[J,ee]=(0,N.Z)("root",{ref:t,elementType:j,externalForwardedProps:{...Q,...B,component:h},getSlotProps:D,ownerState:G,className:(0,o.Z)(s,Y?.root,!G.open&&G.exited&&Y?.hidden)}),[et,er]=(0,N.Z)("backdrop",{ref:a?.ref,elementType:i,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:a,getSlotProps:e=>H({...e,onClick:t=>{k&&k(t),e?.onClick&&e.onClick(t)}}),className:(0,o.Z)(a?.className,Y?.backdrop),ownerState:G});return R||O||X&&!V?(0,d.jsx)(f.Z,{ref:U,container:m,disablePortal:S,children:(0,d.jsxs)(J,{...ee,children:[!w&&i?(0,d.jsx)(et,{...er}):null,(0,d.jsx)(c,{disableEnforceFocus:x,disableAutoFocus:g,disableRestoreFocus:M,isEnabled:K,open:O,children:n.cloneElement(p,_)})]})}):null})},51857:function(e,t,r){r.d(t,{Z:()=>M});var n,o=r(54538),i=r(82267),a=r(73037),l=r(12709),s=r(82319),d=r(24246);let u=(0,l.ZP)("fieldset",{shouldForwardProp:a.Z})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),p=(0,l.ZP)("legend",{shouldForwardProp:a.Z})((0,s.Z)(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:e})=>!e.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:e})=>e.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:e})=>e.withLabel&&e.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));var c=r(36683),f=r(33567),m=r(90433),h=r(51751),v=r(8782),b=r(55879);let y=e=>{let{classes:t}=e,r=(0,i.Z)({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},v.e,t);return{...t,...r}},g=(0,l.ZP)(b.Ej,{shouldForwardProp:e=>(0,a.Z)(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:b.Gx})((0,s.Z)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${v.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${v.Z.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}},[`&.${v.Z.focused} .${v.Z.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter((0,m.Z)()).map(([t])=>({props:{color:t},style:{[`&.${v.Z.focused} .${v.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${v.Z.error} .${v.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${v.Z.disabled} .${v.Z.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:14}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:14}},{props:({ownerState:e})=>e.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:e,size:t})=>e.multiline&&"small"===t,style:{padding:"8.5px 14px"}}]}})),x=(0,l.ZP)(function(e){let{children:t,classes:r,className:o,label:i,notched:a,...l}=e,s=null!=i&&""!==i,c={...e,notched:a,withLabel:s};return(0,d.jsx)(u,{"aria-hidden":!0,className:o,ownerState:c,...l,children:(0,d.jsx)(p,{ownerState:c,children:s?(0,d.jsx)("span",{children:i}):n||(n=(0,d.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})((0,s.Z)(({theme:e})=>{let t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}})),Z=(0,l.ZP)(b.ni,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:b._o})((0,s.Z)(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:e})=>e.multiline,style:{padding:0}},{props:({ownerState:e})=>e.startAdornment,style:{paddingLeft:0}},{props:({ownerState:e})=>e.endAdornment,style:{paddingRight:0}}]}))),S=o.forwardRef(function(e,t){var r;let n=(0,h.i)({props:e,name:"MuiOutlinedInput"}),{components:i={},fullWidth:a=!1,inputComponent:l="input",label:s,multiline:u=!1,notched:p,slots:m={},type:v="text",...S}=n,M=y(n),E=(0,c.Z)(),w=(0,f.Z)({props:n,muiFormControl:E,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),R={...n,color:w.color||"primary",disabled:w.disabled,error:w.error,focused:w.focused,formControl:E,fullWidth:a,hiddenLabel:w.hiddenLabel,multiline:u,size:w.size,type:v},k=m.root??i.Root??g,P=m.input??i.Input??Z;return(0,d.jsx)(b.ZP,{slots:{root:k,input:P},renderSuffix:e=>(0,d.jsx)(x,{ownerState:R,className:M.notchedOutline,label:null!=s&&""!==s&&w.required?r||(r=(0,d.jsxs)(o.Fragment,{children:[s," ","*"]})):s,notched:void 0!==p?p:!!(e.startAdornment||e.filled||e.focused)}),fullWidth:a,inputComponent:l,multiline:u,ref:t,type:v,...S,classes:{...M,notchedOutline:null}})});S.muiName="Input";let M=S},8782:function(e,t,r){r.d(t,{Z:()=>a,e:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiOutlinedInput",e)}let a={...r(3597).Z,...(0,n.Z)("MuiOutlinedInput",["root","notchedOutline","input"])}},6714:function(e,t,r){r.d(t,{XS:()=>k,ZP:()=>P});var n=r(54538),o=r(90496),i=r(82267),a=r(88653),l=r(12709),s=r(51751),d=r(77999),u=r(2444),p=r(24255),c=r(23382),f=r(49106),m=r(28866),h=r(44124),v=r(6749);function b(e){return(0,v.ZP)("MuiPopover",e)}(0,h.Z)("MuiPopover",["root","paper"]);var y=r(16351),g=r(27834),x=r(24246);function Z(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function S(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function M(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function E(e){return"function"==typeof e?e():e}let w=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"],paper:["paper"]},b,t)},R=(0,l.ZP)(f.Z,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),k=(0,l.ZP)(m.Z,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),P=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiPopover"}),{action:i,anchorEl:l,anchorOrigin:f={vertical:"top",horizontal:"left"},anchorPosition:m,anchorReference:h="anchorEl",children:v,className:b,container:P,elevation:C=8,marginThreshold:T=16,open:I,PaperProps:O={},slots:N={},slotProps:$={},transformOrigin:j={vertical:"top",horizontal:"left"},TransitionComponent:F,transitionDuration:L="auto",TransitionProps:A={},disableScrollLock:z=!1,...B}=r,W=n.useRef(),D={...r,anchorOrigin:f,anchorReference:h,elevation:C,marginThreshold:T,transformOrigin:j,TransitionComponent:F,transitionDuration:L,TransitionProps:A},H=w(D),q=n.useCallback(()=>{if("anchorPosition"===h)return m;let e=E(l),t=(e&&1===e.nodeType?e:(0,u.Z)(W.current).body).getBoundingClientRect();return{top:t.top+Z(t,f.vertical),left:t.left+S(t,f.horizontal)}},[l,f.horizontal,f.vertical,m,h]),U=n.useCallback(e=>({vertical:Z(e,j.vertical),horizontal:S(e,j.horizontal)}),[j.horizontal,j.vertical]),K=n.useCallback(e=>{let t={width:e.offsetWidth,height:e.offsetHeight},r=U(t);if("none"===h)return{top:null,left:null,transformOrigin:M(r)};let n=q(),o=n.top-r.vertical,i=n.left-r.horizontal,a=o+t.height,s=i+t.width,d=(0,p.Z)(E(l)),u=d.innerHeight-T,c=d.innerWidth-T;if(null!==T&&o<T){let e=o-T;o-=e,r.vertical+=e}else if(null!==T&&a>u){let e=a-u;o-=e,r.vertical+=e}if(null!==T&&i<T){let e=i-T;i-=e,r.horizontal+=e}else if(s>c){let e=s-c;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:M(r)}},[l,h,q,U,T]),[V,X]=n.useState(I),G=n.useCallback(()=>{let e=W.current;if(!e)return;let t=K(e);null!==t.top&&e.style.setProperty("top",t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,X(!0)},[K]);n.useEffect(()=>(z&&window.addEventListener("scroll",G),()=>window.removeEventListener("scroll",G)),[l,z,G]);let Y=()=>{G()},_=()=>{X(!1)};n.useEffect(()=>{I&&G()}),n.useImperativeHandle(i,()=>I?{updatePosition:()=>{G()}}:null,[I,G]),n.useEffect(()=>{if(!I)return;let e=(0,d.Z)(()=>{G()}),t=(0,p.Z)(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,I,G]);let Q=L,J={slots:{transition:F,...N},slotProps:{transition:A,paper:O,...$}},[ee,et]=(0,y.Z)("transition",{elementType:c.Z,externalForwardedProps:J,ownerState:D,getSlotProps:e=>({...e,onEntering:(t,r)=>{e.onEntering?.(t,r),Y()},onExited:t=>{e.onExited?.(t),_()}}),additionalProps:{appear:!0,in:I}});"auto"!==L||ee.muiSupportAuto||(Q=void 0);let er=P||(l?(0,u.Z)(E(l)).body:void 0),[en,{slots:eo,slotProps:ei,...ea}]=(0,y.Z)("root",{ref:t,elementType:R,externalForwardedProps:{...J,...B},shouldForwardComponentProp:!0,additionalProps:{slots:{backdrop:N.backdrop},slotProps:{backdrop:(0,g.Z)("function"==typeof $.backdrop?$.backdrop(D):$.backdrop,{invisible:!0})},container:er,open:I},ownerState:D,className:(0,o.Z)(H.root,b)}),[el,es]=(0,y.Z)("paper",{ref:W,className:H.paper,elementType:k,externalForwardedProps:J,shouldForwardComponentProp:!0,additionalProps:{elevation:C,style:V?void 0:{opacity:0}},ownerState:D});return(0,x.jsx)(en,{...ea,...!(0,a.Z)(en)&&{slots:eo,slotProps:ei,disableScrollLock:z},children:(0,x.jsx)(ee,{...et,timeout:Q,children:(0,x.jsx)(el,{...es,children:v})})})})},7444:function(e,t,r){r.d(t,{Z:()=>d});var n=r(54538),o=r(6085),i=r(97048),a=r(94680),l=r(96858),s=r(85817);let d=n.forwardRef(function(e,t){let{children:r,container:d,disablePortal:u=!1}=e,[p,c]=n.useState(null),f=(0,i.Z)(n.isValidElement(r)?(0,a.Z)(r):null,t);return((0,l.Z)(()=>{if(!u)c(("function"==typeof d?d():d)||document.body)},[d,u]),(0,l.Z)(()=>{if(p&&!u)return(0,s.Z)(t,p),()=>{(0,s.Z)(t,null)}},[t,p,u]),u)?n.isValidElement(r)?n.cloneElement(r,{ref:f}):r:p?o.createPortal(r,p):p})},63767:function(e,t,r){r.d(t,{Z:()=>Q});var n,o=r(54538),i=r(90496),a=r(61170),l=r(82267),s=r(94680),d=r(62220),u=r(5056),p=r(2444),c=r(51640),f=r(5549),m=r(44124),h=r(6749);function v(e){return(0,h.ZP)("MuiNativeSelect",e)}let b=(0,m.Z)("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var y=r(12709),g=r(73037),x=r(24246);let Z=e=>{let{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,s={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,c.Z)(r)}`,i&&"iconOpen",n&&"disabled"]};return(0,l.Z)(s,v,t)},S=(0,y.ZP)("select")(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${b.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:e})=>"filled"!==e.variant&&"outlined"!==e.variant,style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),M=(0,y.ZP)(S,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:g.Z,overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${b.multiple}`]:t.multiple}]}})({}),E=(0,y.ZP)("svg")(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${b.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:e})=>e.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),w=(0,y.ZP)(E,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,c.Z)(r.variant)}`],r.open&&t.iconOpen]}})({}),R=o.forwardRef(function(e,t){let{className:r,disabled:n,error:a,IconComponent:l,inputRef:s,variant:d="standard",...u}=e,p={...e,disabled:n,variant:d,error:a},c=Z(p);return(0,x.jsxs)(o.Fragment,{children:[(0,x.jsx)(M,{ownerState:p,className:(0,i.Z)(c.select,r),disabled:n,ref:s||t,...u}),e.multiple?null:(0,x.jsx)(w,{as:l,ownerState:p,className:c.icon})]})});var k=r(65021),P=r(4005),C=r(51183),T=r(18817);function I(e){return(0,h.ZP)("MuiSelect",e)}let O=(0,m.Z)("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),N=(0,y.ZP)(S,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[{[`&.${O.select}`]:t.select},{[`&.${O.select}`]:t[r.variant]},{[`&.${O.error}`]:t.error},{[`&.${O.multiple}`]:t.multiple}]}})({[`&.${O.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),$=(0,y.ZP)(E,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${(0,c.Z)(r.variant)}`],r.open&&t.iconOpen]}})({}),j=(0,y.ZP)("input",{shouldForwardProp:e=>(0,P.Z)(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function F(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}let L=e=>{let{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e,s={select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${(0,c.Z)(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return(0,l.Z)(s,I,t)},A=o.forwardRef(function(e,t){var r;let a,l,s;let{"aria-describedby":c,"aria-label":m,autoFocus:h,autoWidth:v,children:b,className:y,defaultOpen:g,defaultValue:Z,disabled:S,displayEmpty:M,error:E=!1,IconComponent:w,inputRef:R,labelId:P,MenuProps:I={},multiple:O,name:A,onBlur:z,onChange:B,onClose:W,onFocus:D,onOpen:H,open:q,readOnly:U,renderValue:K,required:V,SelectDisplayProps:X={},tabIndex:G,type:Y,value:_,variant:Q="standard",...J}=e,[ee,et]=(0,T.Z)({controlled:_,default:Z,name:"Select"}),[er,en]=(0,T.Z)({controlled:q,default:g,name:"Select"}),eo=o.useRef(null),ei=o.useRef(null),[ea,el]=o.useState(null),{current:es}=o.useRef(null!=q),[ed,eu]=o.useState(),ep=(0,C.Z)(t,R),ec=o.useCallback(e=>{ei.current=e,e&&el(e)},[]),ef=ea?.parentNode;o.useImperativeHandle(ep,()=>({focus:()=>{ei.current.focus()},node:eo.current,value:ee}),[ee]),o.useEffect(()=>{g&&er&&ea&&!es&&(eu(v?null:ef.clientWidth),ei.current.focus())},[ea,v]),o.useEffect(()=>{h&&ei.current.focus()},[h]),o.useEffect(()=>{if(!P)return;let e=(0,p.Z)(ei.current).getElementById(P);if(e){let t=()=>{getSelection().isCollapsed&&ei.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[P]);let em=(e,t)=>{e?H&&H(t):W&&W(t),es||(eu(v?null:ef.clientWidth),en(e))},eh=o.Children.toArray(b),ev=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(O){r=Array.isArray(ee)?ee.slice():[];let t=ee.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),ee!==r&&(et(r),B)){let n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:A}}),B(o,e)}O||em(!1,t)}},eb=null!==ea&&er;delete J["aria-invalid"];let ey=[],eg=!1;((0,k.vd)({value:ee})||M)&&(K?a=K(ee):eg=!0);let ex=eh.map(e=>{let t;if(!o.isValidElement(e))return null;if(O){if(!Array.isArray(ee))throw Error((0,d.Z)(2));(t=ee.some(t=>F(t,e.props.value)))&&eg&&ey.push(e.props.children)}else(t=F(ee,e.props.value))&&eg&&(l=e.props.children);return o.cloneElement(e,{"aria-selected":t?"true":"false",onClick:ev(e),onKeyUp:t=>{" "===t.key&&t.preventDefault(),e.props.onKeyUp&&e.props.onKeyUp(t)},role:"option",selected:t,value:void 0,"data-value":e.props.value})});eg&&(a=O?0===ey.length?null:ey.reduce((e,t,r)=>(e.push(t),r<ey.length-1&&e.push(", "),e),[]):l);let eZ=ed;!v&&es&&ea&&(eZ=ef.clientWidth),s=void 0!==G?G:S?null:0;let eS=X.id||(A?`mui-component-select-${A}`:void 0),eM={...e,variant:Q,value:ee,open:eb,error:E},eE=L(eM),ew={...I.PaperProps,...I.slotProps?.paper},eR=(0,u.Z)();return(0,x.jsxs)(o.Fragment,{children:[(0,x.jsx)(N,{as:"div",ref:ec,tabIndex:s,role:"combobox","aria-controls":eb?eR:void 0,"aria-disabled":S?"true":void 0,"aria-expanded":eb?"true":"false","aria-haspopup":"listbox","aria-label":m,"aria-labelledby":[P,eS].filter(Boolean).join(" ")||void 0,"aria-describedby":c,"aria-required":V?"true":void 0,"aria-invalid":E?"true":void 0,onKeyDown:e=>{!U&&[" ","ArrowUp","ArrowDown","Enter"].includes(e.key)&&(e.preventDefault(),em(!0,e))},onMouseDown:S||U?null:e=>{0===e.button&&(e.preventDefault(),ei.current.focus(),em(!0,e))},onBlur:e=>{!eb&&z&&(Object.defineProperty(e,"target",{writable:!0,value:{value:ee,name:A}}),z(e))},onFocus:D,...X,ownerState:eM,className:(0,i.Z)(X.className,eE.select,y),id:eS,children:null!=(r=a)&&("string"!=typeof r||r.trim())?a:n||(n=(0,x.jsx)("span",{className:"notranslate","aria-hidden":!0,children:"​"}))}),(0,x.jsx)(j,{"aria-invalid":E,value:Array.isArray(ee)?ee.join(","):ee,name:A,ref:eo,"aria-hidden":!0,onChange:e=>{let t=eh.find(t=>t.props.value===e.target.value);void 0!==t&&(et(t.props.value),B&&B(e,t))},tabIndex:-1,disabled:S,className:eE.nativeInput,autoFocus:h,required:V,...J,ownerState:eM}),(0,x.jsx)($,{as:w,className:eE.icon,ownerState:eM}),(0,x.jsx)(f.Z,{id:`menu-${A||""}`,anchorEl:ef,open:eb,onClose:e=>{em(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...I,slotProps:{...I.slotProps,list:{"aria-labelledby":P,role:"listbox","aria-multiselectable":O?"true":void 0,disableListWrap:!0,id:eR,...I.MenuListProps},paper:{...ew,style:{minWidth:eZ,...null!=ew?ew.style:null}}},children:ex})]})});var z=r(33567),B=r(36683),W=r(97686),D=r(20540),H=r(90222),q=r(51857),U=r(51751);let K=e=>{let{classes:t}=e,r=(0,l.Z)({root:["root"]},I,t);return{...t,...r}},V={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>(0,g.Z)(e)&&"variant"!==e,slot:"Root"},X=(0,y.ZP)(D.Z,V)(""),G=(0,y.ZP)(q.Z,V)(""),Y=(0,y.ZP)(H.Z,V)(""),_=o.forwardRef(function(e,t){let r=(0,U.i)({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:l,classes:d={},className:u,defaultOpen:p=!1,displayEmpty:c=!1,IconComponent:f=W.Z,id:m,input:h,inputProps:v,label:b,labelId:y,MenuProps:g,multiple:Z=!1,native:S=!1,onClose:M,onOpen:E,open:w,renderValue:k,SelectDisplayProps:P,variant:T="outlined",...I}=r,O=(0,B.Z)(),N=(0,z.Z)({props:r,muiFormControl:O,states:["variant","error"]}),$=N.variant||T,j={...r,variant:$,classes:d},F=K(j),{root:L,...D}=F,H=h||({standard:(0,x.jsx)(X,{ownerState:j}),outlined:(0,x.jsx)(G,{label:b,ownerState:j}),filled:(0,x.jsx)(Y,{ownerState:j})})[$],q=(0,C.Z)(t,(0,s.Z)(H));return(0,x.jsx)(o.Fragment,{children:o.cloneElement(H,{inputComponent:S?R:A,inputProps:{children:l,error:N.error,IconComponent:f,variant:$,type:void 0,multiple:Z,...S?{id:m}:{autoWidth:n,defaultOpen:p,displayEmpty:c,labelId:y,MenuProps:g,onClose:M,onOpen:E,open:w,renderValue:k,SelectDisplayProps:{id:m,...P}},...v,classes:v?(0,a.Z)(D,v.classes):D,...h?h.props.inputProps:{}},...(Z&&S||c)&&"outlined"===$?{notched:!0}:{},ref:q,className:(0,i.Z)(H.props.className,u,F.root),...!h&&{variant:$},...I})})});_.muiName="Select";let Q=_},8695:function(e,t,r){r.d(t,{Z:()=>E});var n=r(54538),o=r(90496),i=r(82267),a=r(5056),l=r(12709),s=r(51751),d=r(20540),u=r(90222),p=r(51857),c=r(68808),f=r(90192),m=r(32931),h=r(63767),v=r(44124),b=r(6749);function y(e){return(0,b.ZP)("MuiTextField",e)}(0,v.Z)("MuiTextField",["root"]);var g=r(16351),x=r(24246);let Z={standard:d.Z,filled:u.Z,outlined:p.Z},S=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"]},y,t)},M=(0,l.ZP)(f.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),E=n.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:i=!1,children:l,className:d,color:u="primary",defaultValue:p,disabled:f=!1,error:v=!1,FormHelperTextProps:b,fullWidth:y=!1,helperText:E,id:w,InputLabelProps:R,inputProps:k,InputProps:P,inputRef:C,label:T,maxRows:I,minRows:O,multiline:N=!1,name:$,onBlur:j,onChange:F,onFocus:L,placeholder:A,required:z=!1,rows:B,select:W=!1,SelectProps:D,slots:H={},slotProps:q={},type:U,value:K,variant:V="outlined",...X}=r,G={...r,autoFocus:i,color:u,disabled:f,error:v,fullWidth:y,multiline:N,required:z,select:W,variant:V},Y=S(G),_=(0,a.Z)(w),Q=E&&_?`${_}-helper-text`:void 0,J=T&&_?`${_}-label`:void 0,ee=Z[V],et={slots:H,slotProps:{input:P,inputLabel:R,htmlInput:k,formHelperText:b,select:D,...q}},er={},en=et.slotProps.inputLabel;"outlined"===V&&(en&&void 0!==en.shrink&&(er.notched=en.shrink),er.label=T),W&&(D&&D.native||(er.id=void 0),er["aria-describedby"]=void 0);let[eo,ei]=(0,g.Z)("input",{elementType:ee,externalForwardedProps:et,additionalProps:er,ownerState:G}),[ea,el]=(0,g.Z)("inputLabel",{elementType:c.Z,externalForwardedProps:et,ownerState:G}),[es,ed]=(0,g.Z)("htmlInput",{elementType:"input",externalForwardedProps:et,ownerState:G}),[eu,ep]=(0,g.Z)("formHelperText",{elementType:m.Z,externalForwardedProps:et,ownerState:G}),[ec,ef]=(0,g.Z)("select",{elementType:h.Z,externalForwardedProps:et,ownerState:G}),em=(0,x.jsx)(eo,{"aria-describedby":Q,autoComplete:n,autoFocus:i,defaultValue:p,fullWidth:y,multiline:N,name:$,rows:B,maxRows:I,minRows:O,type:U,value:K,id:_,inputRef:C,onBlur:j,onChange:F,onFocus:L,placeholder:A,inputProps:ed,slots:{input:H.htmlInput?es:void 0},...ei});return(0,x.jsxs)(M,{className:(0,o.Z)(Y.root,d),disabled:f,error:v,fullWidth:y,ref:t,required:z,color:u,variant:V,ownerState:G,...X,children:[null!=T&&""!==T&&(0,x.jsx)(ea,{htmlFor:_,id:J,...el,children:T}),W?(0,x.jsx)(ec,{"aria-describedby":Q,id:_,labelId:J,value:K,input:em,...ef,children:l}):em,E&&(0,x.jsx)(eu,{id:Q,...ep,children:E})]})})},52054:function(e,t,r){r.d(t,{Z:()=>g});var n=r(54538),o=r(90496),i=r(82267),a=r(32543),l=r(12709),s=r(82319),d=r(51751),u=r(51640),p=r(90433),c=r(67488),f=r(24246);let m={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},h=(0,a.u7)(),v=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:a,classes:l}=e,s={root:["root",a,"inherit"!==e.align&&`align${(0,u.Z)(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]};return(0,i.Z)(s,c.f,l)},b=(0,l.ZP)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${(0,u.Z)(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,s.Z)(({theme:e})=>({margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(e.typography).filter(([e,t])=>"inherit"!==e&&t&&"object"==typeof t).map(([e,t])=>({props:{variant:e},style:t})),...Object.entries(e.palette).filter((0,p.Z)()).map(([t])=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),...Object.entries(e.palette?.text||{}).filter(([,e])=>"string"==typeof e).map(([t])=>({props:{color:`text${(0,u.Z)(t)}`},style:{color:(e.vars||e).palette.text[t]}})),{props:({ownerState:e})=>"inherit"!==e.align,style:{textAlign:"var(--Typography-textAlign)"}},{props:({ownerState:e})=>e.noWrap,style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:({ownerState:e})=>e.gutterBottom,style:{marginBottom:"0.35em"}},{props:({ownerState:e})=>e.paragraph,style:{marginBottom:16}}]}))),y={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},g=n.forwardRef(function(e,t){let{color:r,...n}=(0,d.i)({props:e,name:"MuiTypography"}),i=!m[r],a=h({...n,...i&&{color:r}}),{align:l="inherit",className:s,component:u,gutterBottom:p=!1,noWrap:c=!1,paragraph:g=!1,variant:x="body1",variantMapping:Z=y,...S}=a,M={...a,align:l,color:r,className:s,component:u,gutterBottom:p,noWrap:c,paragraph:g,variant:x,variantMapping:Z},E=u||(g?"p":Z[x]||y[x])||"span",w=v(M);return(0,f.jsx)(b,{as:E,ref:t,className:(0,o.Z)(w.root,s),...S,ownerState:M,style:{..."inherit"!==l&&{"--Typography-textAlign":l},...S.style}})})},67488:function(e,t,r){r.d(t,{Z:()=>a,f:()=>i});var n=r(44124),o=r(6749);function i(e){return(0,o.ZP)("MuiTypography",e)}let a=(0,n.Z)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},97686:function(e,t,r){r.d(t,{Z:()=>i}),r(54538);var n=r(90247),o=r(24246);let i=(0,n.Z)((0,o.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown")},42777:function(e,t,r){r.d(t,{C:()=>o,n:()=>n});let n=e=>e.scrollTop;function o(e,t){let{timeout:r,easing:n,style:o={}}=e;return{duration:o.transitionDuration??("number"==typeof r?r:r[t.mode]||0),easing:o.transitionTimingFunction??("object"==typeof n?n[t.mode]:n),delay:o.transitionDelay}}},90433:function(e,t,r){r.d(t,{Z:()=>n});function n(e=[]){return([,t])=>t&&function(e,t=[]){if("string"!=typeof e.main)return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}(t,e)}},88653:function(e,t,r){r.d(t,{Z:()=>n});let n=function(e){return"string"==typeof e}},70777:function(e,t,r){r.d(t,{Z:()=>n});let n=r(11104).Z},27834:function(e,t,r){r.d(t,{Z:()=>o});var n=r(90496);function o(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return r=>{let o="function"==typeof t?t(r):t,i="function"==typeof e?e({...r,...o}):e,a=(0,n.Z)(r?.className,o?.className,i?.className);return{...o,...i,...!!a&&{className:a},...o?.style&&i?.style&&{style:{...o.style,...i.style}},...o?.sx&&i?.sx&&{sx:[...Array.isArray(o.sx)?o.sx:[o.sx],...Array.isArray(i.sx)?i.sx:[i.sx]]}}};let r=(0,n.Z)(t?.className,e?.className);return{...t,...e,...!!r&&{className:r},...t?.style&&e?.style&&{style:{...t.style,...e.style}},...t?.sx&&e?.sx&&{sx:[...Array.isArray(t.sx)?t.sx:[t.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}},18817:function(e,t,r){r.d(t,{Z:()=>n});let n=r(9831).Z},32543:function(e,t,r){r.d(t,{zY:()=>c,u7:()=>f}),r(54538);var n=r(93772),o=r(72116),i=r(24246);function a(e){let{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>t(null==e||0===Object.keys(e).length?r:e):t;return(0,i.jsx)(o.Global,{styles:n})}var l=r(38971);let s=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,l.Z)(r),o="function"==typeof e?e(t&&n[t]||n):e;return(0,i.jsx)(a,{styles:o})};var d=r(53126),u=r(92994);let p=function(e){return(0,i.jsx)(s,{...e,defaultTheme:d.Z,themeId:u.Z})};function c(e){return function(t){return(0,i.jsx)(p,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function f(){return n.Z}},38543:function(e,t,r){r.d(t,{Z:()=>n});function n(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}},94680:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);function o(e){return parseInt(n.version,10)>=19?e?.props?.ref||null:e?.ref||null}},16046:function(e,t,r){r.d(t,{Z:()=>n});function n(e=window){let t=e.document.documentElement.clientWidth;return e.innerWidth-t}},11104:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);function o(e,t){return n.isValidElement(e)&&-1!==t.indexOf(e.type.muiName??e.type?._payload?.value?.muiName)}},9831:function(e,t,r){r.d(t,{Z:()=>o});var n=r(54538);function o({controlled:e,default:t,name:r,state:o="value"}){let{current:i}=n.useRef(void 0!==e),[a,l]=n.useState(t),s=n.useCallback(e=>{i||l(e)},[]);return[i?e:a,s]}},5056:function(e,t,r){r.d(t,{Z:()=>a});var n=r(54538);let o=0,i={...n}.useId;function a(e){if(void 0!==i){let t=i();return e??t}return function(e){let[t,r]=n.useState(e),i=e||t;return n.useEffect(()=>{null==t&&(o+=1,r(`mui-${o}`))},[t]),i}(e)}},29085:function(e,t,r){r.d(t,{Gt:()=>d,Ib:()=>l,LU:()=>p,YF:()=>f,fs:()=>s,oK:()=>u,s3:()=>o,sG:()=>i});var n=r(20461);function o(e){return void 0!==e.pastDuration}function i(e){let t=e.end??new Date;return{start:(0,n.sub)(t,l(e.pastDuration)),end:t}}let a=/^(?:(\d+)y)?(?:(\d+)w)?(?:(\d+)d)?(?:(\d+)h)?(?:(\d+)m)?(?:(\d+)s)?(?:(\d+)ms)?$/;function l(e){let t=a.exec(e);if(null===t)throw Error(`Invalid duration string '${e}'`);return{years:parseInt(t[1]??"0"),months:0,weeks:parseInt(t[2]??"0"),days:parseInt(t[3]??"0"),hours:parseInt(t[4]??"0"),minutes:parseInt(t[5]??"0"),seconds:parseInt(t[6]??"0")+parseInt(t[7]??"0")/1e3}}function s(e){return""!==e&&a.test(e)}function d(e){return u(e.end.valueOf()-e.start.valueOf())}function u(e){let t=Math.trunc(e/31536e6);t>0&&(e-=31536e6*t);let r=Math.trunc(e/6048e5);r>0&&(e-=6048e5*r);let n=Math.trunc(e/864e5);n>0&&(e-=864e5*n);let o=Math.trunc(e/36e5);o>0&&(e-=36e5*o);let i=Math.trunc(e/6e4);return i>0&&(e-=6e4*i),{years:t,months:0,weeks:r,days:n,hours:o,minutes:i,seconds:e/1e3}}function p(e){let t=[];if(e.years&&t.push(`${e.years}y`),e.weeks&&t.push(`${e.weeks}w`),e.days&&t.push(`${e.days}d`),e.hours&&t.push(`${e.hours}h`),e.minutes&&t.push(`${e.minutes}m`),e.seconds){let r=Math.trunc(e.seconds);r&&t.push(`${r}s`);let n=Math.round((e.seconds-r)*1e3);n&&t.push(`${n}ms`)}return t.join("")}let c=[{maxMs:15,roundedStepMs:10,display:"0.01s"},{maxMs:35,roundedStepMs:20,display:"0.02s"},{maxMs:75,roundedStepMs:50,display:"0.05s"},{maxMs:150,roundedStepMs:100,display:"0.1s"},{maxMs:350,roundedStepMs:200,display:"0.2s"},{maxMs:750,roundedStepMs:500,display:"0.5s"},{maxMs:1500,roundedStepMs:1e3,display:"1s"},{maxMs:3500,roundedStepMs:2e3,display:"2s"},{maxMs:7500,roundedStepMs:5e3,display:"5s"},{maxMs:12500,roundedStepMs:1e4,display:"10s"},{maxMs:17500,roundedStepMs:15e3,display:"15s"},{maxMs:25e3,roundedStepMs:2e4,display:"20s"},{maxMs:45e3,roundedStepMs:3e4,display:"30s"},{maxMs:9e4,roundedStepMs:6e4,display:"1m"},{maxMs:21e4,roundedStepMs:12e4,display:"2m"},{maxMs:45e4,roundedStepMs:3e5,display:"5m"},{maxMs:75e4,roundedStepMs:6e5,display:"10m"},{maxMs:75e4,roundedStepMs:9e5,display:"15m"},{maxMs:15e5,roundedStepMs:12e5,display:"20m"},{maxMs:27e5,roundedStepMs:18e5,display:"30m"},{maxMs:54e5,roundedStepMs:36e5,display:"1h"},{maxMs:9e6,roundedStepMs:72e5,display:"2h"},{maxMs:162e5,roundedStepMs:108e5,display:"3h"},{maxMs:324e5,roundedStepMs:216e5,display:"6h"},{maxMs:864e5,roundedStepMs:432e5,display:"12h"},{maxMs:6048e5,roundedStepMs:864e5,display:"1d"},{maxMs:18144e5,roundedStepMs:6048e5,display:"1w"},{maxMs:36288e5,roundedStepMs:2592e6,display:"30d"},{maxMs:63072e6,roundedStepMs:31536e6,display:"1y"}];function f(e,t){return function(e){for(let{maxMs:t,roundedStepMs:r}of c)if(e<t)return r;return 15e3}(Math.floor((e.end.valueOf()-e.start.valueOf())/t))}},41825:function(e,t,r){r.d(t,{ZP:()=>g});var n=r(97784),o=r(54652),i=r(54538),a=r.n(i),l=r(6085),s=r.n(l);let d={disabled:!1};var u=r(16897),p=r(98683),c="unmounted",f="exited",m="entering",h="entered",v="exiting",b=function(e){function t(t,r){n=e.call(this,t,r)||this;var n,o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=f,n.appearStatus=m):o=h:o=t.unmountOnExit||t.mountOnEnter?c:f,n.state={status:o},n.nextCallback=null,n}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:f}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==m&&r!==h&&(t=m):(r===m||r===h)&&(t=v)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this);r&&(0,p.Q)(r)}this.performEnter(e)}else this.performExit()}else this.props.unmountOnExit&&this.state.status===f&&this.setState({status:c})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[s().findDOMNode(this),n],i=o[0],a=o[1],l=this.getTimeouts(),u=n?l.appear:l.enter;if(!e&&!r||d.disabled){this.safeSetState({status:h},function(){t.props.onEntered(i)});return}this.props.onEnter(i,a),this.safeSetState({status:m},function(){t.props.onEntering(i,a),t.onTransitionEnd(u,function(){t.safeSetState({status:h},function(){t.props.onEntered(i,a)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:s().findDOMNode(this);if(!t||d.disabled){this.safeSetState({status:f},function(){e.props.onExited(n)});return}this.props.onExit(n),this.safeSetState({status:v},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:f},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:s().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,r=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a().createElement(u.Z.Provider,{value:null},"function"==typeof r?r(e,o):a().cloneElement(a().Children.only(r),o))},t}(a().Component);function y(){}b.contextType=u.Z,b.propTypes={},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},b.UNMOUNTED=c,b.EXITED=f,b.ENTERING=m,b.ENTERED=h,b.EXITING=v;let g=b},98683:function(e,t,r){r.d(t,{Q:()=>n});var n=function(e){return e.scrollTop}}}]);