Files
owncast/static/web/_next/static/chunks/2629-ccb81fcf6e37b4ca.js
2024-02-07 19:05:09 +00:00

11 lines
47 KiB
JavaScript
Vendored

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2629],{41760:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var r=n(97685),i=n(67294);function o(){var t=i.useReducer(function(t){return t+1},0);return(0,r.Z)(t,2)[1]}},55050:function(t,e,n){"use strict";var r=n(75664);e.Z=r.Z},49947:function(t,e,n){"use strict";var r=n(82215),i=n(63085),o=r.ZP;o.Header=r.h4,o.Footer=r.$_,o.Content=r.VY,o.Sider=i.Z,o._InternalSiderContext=i.D,e.default=o},6647:function(t,e,n){"use strict";var r=n(37525);e.Z=r.Z},23132:function(t,e,n){"use strict";n.d(e,{Z:function(){return M}});var r=n(4942),i=n(87462),o=n(71002),a=n(93967),l=n.n(a),c=n(67294),u=n(71946),s=n(55548),f=function(t){var e=t.prefixCls,n=t.className,o=t.style,a=t.size,u=t.shape,s=l()((0,r.Z)((0,r.Z)({},"".concat(e,"-lg"),"large"===a),"".concat(e,"-sm"),"small"===a)),f=l()((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(e,"-circle"),"circle"===u),"".concat(e,"-square"),"square"===u),"".concat(e,"-round"),"round"===u)),h=c.useMemo(function(){return"number"==typeof a?{width:a,height:a,lineHeight:"".concat(a,"px")}:{}},[a]);return c.createElement("span",{className:l()(e,s,f,n),style:(0,i.Z)((0,i.Z)({},h),o)})},h=n(1413),d={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},g=n(32206),p=function(t,e){return c.createElement(g.Z,(0,h.Z)((0,h.Z)({},t),{},{ref:e,icon:d}))};p.displayName="DotChartOutlined";var b=c.forwardRef(p),m=n(74902),y=function(t){var e=function(e){var n=t.width,r=t.rows;return Array.isArray(n)?n[e]:(void 0===r?2:r)-1===e?n:void 0},n=t.prefixCls,r=t.className,i=t.style,o=t.rows,a=(0,m.Z)(Array(o)).map(function(t,n){return c.createElement("li",{key:n,style:{width:e(n)}})});return c.createElement("ul",{className:l()(n,r),style:i},a)},x=function(t){var e=t.prefixCls,n=t.className,r=t.width,o=t.style;return c.createElement("h3",{className:l()(e,n),style:(0,i.Z)({width:r},o)})};function v(t){return t&&"object"===(0,o.Z)(t)?t:{}}var w=function(t){var e=t.prefixCls,n=t.loading,o=t.className,a=t.style,s=t.children,h=t.avatar,d=void 0!==h&&h,g=t.title,p=void 0===g||g,b=t.paragraph,m=void 0===b||b,w=t.active,M=t.round,k=c.useContext(u.E_),_=k.getPrefixCls,O=k.direction,C=_("skeleton",e);if(n||!("loading"in t)){var T=!!d,E=!!p,P=!!m;if(T){var S=(0,i.Z)((0,i.Z)({prefixCls:"".concat(C,"-avatar")},E&&!P?{size:"large",shape:"square"}:{size:"large",shape:"circle"}),v(d));Z=c.createElement("div",{className:"".concat(C,"-header")},c.createElement(f,(0,i.Z)({},S)))}if(E||P){if(E){var Z,N,R,j,I=(0,i.Z)((0,i.Z)({prefixCls:"".concat(C,"-title")},!T&&P?{width:"38%"}:T&&P?{width:"50%"}:{}),v(p));R=c.createElement(x,(0,i.Z)({},I))}if(P){var A,F=(0,i.Z)((0,i.Z)({prefixCls:"".concat(C,"-paragraph")},(A={},T&&E||(A.width="61%"),!T&&E?A.rows=3:A.rows=2,A)),v(m));j=c.createElement(y,(0,i.Z)({},F))}N=c.createElement("div",{className:"".concat(C,"-content")},R,j)}var W=l()(C,(0,r.Z)((0,r.Z)((0,r.Z)((0,r.Z)({},"".concat(C,"-with-avatar"),T),"".concat(C,"-active"),w),"".concat(C,"-rtl"),"rtl"===O),"".concat(C,"-round"),M),o);return c.createElement("div",{className:W,style:a},Z,N)}return void 0!==s?s:null};w.Button=function(t){var e=t.prefixCls,n=t.className,o=t.active,a=t.block,h=t.size,d=(0,c.useContext(u.E_).getPrefixCls)("skeleton",e),g=(0,s.Z)(t,["prefixCls"]),p=l()(d,"".concat(d,"-element"),(0,r.Z)((0,r.Z)({},"".concat(d,"-active"),o),"".concat(d,"-block"),void 0!==a&&a),n);return c.createElement("div",{className:p},c.createElement(f,(0,i.Z)({prefixCls:"".concat(d,"-button"),size:void 0===h?"default":h},g)))},w.Avatar=function(t){var e=t.prefixCls,n=t.className,o=t.active,a=t.shape,h=t.size,d=(0,c.useContext(u.E_).getPrefixCls)("skeleton",e),g=(0,s.Z)(t,["prefixCls","className"]),p=l()(d,"".concat(d,"-element"),(0,r.Z)({},"".concat(d,"-active"),o),n);return c.createElement("div",{className:p},c.createElement(f,(0,i.Z)({prefixCls:"".concat(d,"-avatar"),shape:void 0===a?"circle":a,size:void 0===h?"default":h},g)))},w.Input=function(t){var e=t.prefixCls,n=t.className,o=t.active,a=t.block,h=t.size,d=(0,c.useContext(u.E_).getPrefixCls)("skeleton",e),g=(0,s.Z)(t,["prefixCls"]),p=l()(d,"".concat(d,"-element"),(0,r.Z)((0,r.Z)({},"".concat(d,"-active"),o),"".concat(d,"-block"),a),n);return c.createElement("div",{className:p},c.createElement(f,(0,i.Z)({prefixCls:"".concat(d,"-input"),size:void 0===h?"default":h},g)))},w.Image=function(t){var e=t.prefixCls,n=t.className,i=t.style,o=t.active,a=(0,c.useContext(u.E_).getPrefixCls)("skeleton",e),s=l()(a,"".concat(a,"-element"),(0,r.Z)({},"".concat(a,"-active"),o),n);return c.createElement("div",{className:s},c.createElement("div",{className:l()("".concat(a,"-image"),n),style:i},c.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:"".concat(a,"-image-svg")},c.createElement("path",{d:"M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z",className:"".concat(a,"-image-path")}))))},w.Node=function(t){var e=t.prefixCls,n=t.className,i=t.style,o=t.active,a=t.children,s=(0,c.useContext(u.E_).getPrefixCls)("skeleton",e),f=l()(s,"".concat(s,"-element"),(0,r.Z)({},"".concat(s,"-active"),o),n),h=null!=a?a:c.createElement(b,null);return c.createElement("div",{className:f},c.createElement("div",{className:l()("".concat(s,"-image"),n),style:i},h))};var M=w},11163:function(t,e,n){t.exports=n(73035)},9676:function(t,e,n){"use strict";let r,i;/*!
* @kurkle/color v0.3.2
* https://github.com/kurkle/color#readme
* (c) 2023 Jukka Kurkela
* Released under the MIT License
*/function o(t){return t+.5|0}n.d(e,{$:function(){return eh},A:function(){return tI},B:function(){return tj},C:function(){return es},D:function(){return tO},E:function(){return ek},F:function(){return H},G:function(){return eG},H:function(){return tf},I:function(){return eH},J:function(){return e5},K:function(){return e1},L:function(){return tL},M:function(){return eD},N:function(){return ty},O:function(){return B},P:function(){return ta},Q:function(){return D},R:function(){return eC},S:function(){return tS},T:function(){return tl},U:function(){return tk},V:function(){return ei},W:function(){return tZ},X:function(){return ea},Y:function(){return ef},Z:function(){return ep},_:function(){return tB},a:function(){return eO},a0:function(){return e_},a1:function(){return tD},a2:function(){return tH},a3:function(){return t3},a4:function(){return K},a5:function(){return te},a6:function(){return t9},a7:function(){return tr},a8:function(){return function t(e,n,r,i){let o={_cacheable:!1,_proxy:e,_context:n,_subProxy:r,_stack:new Set,_descriptors:eP(e,i),setContext:n=>t(e,n,r,i),override:o=>t(e.override(o),n,r,i)};return new Proxy(o,{deleteProperty:(t,n)=>(delete t[n],delete e[n],!0),get:(e,n,r)=>eN(e,n,()=>(function(e,n,r){let{_proxy:i,_context:o,_subProxy:a,_descriptors:l}=e,c=i[n];return tr(c)&&l.isScriptable(n)&&(c=function(t,e,n,r){let{_proxy:i,_context:o,_subProxy:a,_stack:l}=n;if(l.has(t))throw Error("Recursion detected: "+Array.from(l).join("->")+"->"+t);l.add(t);let c=e(o,a||r);return l.delete(t),eZ(t,c)&&(c=ej(i._scopes,i,t,c)),c}(n,c,e,r)),F(c)&&c.length&&(c=function(e,n,r,i){let{_proxy:o,_context:a,_subProxy:l,_descriptors:c}=r;if(void 0!==a.index&&i(e))return n[a.index%n.length];if(W(n[0])){let r=n,i=o._scopes.filter(t=>t!==r);for(let u of(n=[],r)){let r=ej(i,o,e,u);n.push(t(r,a,l&&l[e],c))}}return n}(n,c,e,l.isIndexable)),eZ(n,c)&&(c=t(c,o,a&&a[n],l)),c})(e,n,r)),getOwnPropertyDescriptor:(t,n)=>t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n),getPrototypeOf:()=>Reflect.getPrototypeOf(e),has:(t,n)=>Reflect.has(e,n),ownKeys:()=>Reflect.ownKeys(e),set:(t,n,r)=>(e[n]=r,delete t[n],!0)})}},a9:function(){return eE},aA:function(){return e6},aB:function(){return t$},aC:function(){return e3},aD:function(){return eu},aE:function(){return tC},aF:function(){return j},aG:function(){return tw},aH:function(){return tm},aI:function(){return tv},aJ:function(){return tb},aK:function(){return t_},aL:function(){return t6},aM:function(){return tg},aN:function(){return eo},aO:function(){return tA},aP:function(){return tR},aa:function(){return eP},ab:function(){return U},ac:function(){return I},ad:function(){return tq},ae:function(){return e0},af:function(){return el},ag:function(){return ti},ah:function(){return $},ai:function(){return to},aj:function(){return tN},ak:function(){return ev},al:function(){return eq},am:function(){return nr},an:function(){return nn},ao:function(){return e4},ap:function(){return e7},aq:function(){return e2},ar:function(){return ed},as:function(){return eg},at:function(){return ec},au:function(){return eb},av:function(){return ew},aw:function(){return eM},ax:function(){return ne},ay:function(){return tE},az:function(){return e8},b:function(){return F},c:function(){return t0},d:function(){return er},e:function(){return tJ},f:function(){return tt},g:function(){return Y},h:function(){return tn},i:function(){return W},j:function(){return eT},k:function(){return A},l:function(){return tW},m:function(){return L},n:function(){return q},o:function(){return t7},p:function(){return tP},q:function(){return tX},r:function(){return tz},s:function(){return tp},t:function(){return tM},u:function(){return tY},v:function(){return z},w:function(){return tV},x:function(){return tx},y:function(){return eW},z:function(){return eU}});let a=(t,e,n)=>Math.max(Math.min(t,n),e);function l(t){return a(o(2.55*t),0,255)}function c(t){return a(o(255*t),0,255)}function u(t){return a(o(t/2.55)/100,0,1)}function s(t){return a(o(100*t),0,100)}let f={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},h=[..."0123456789ABCDEF"],d=t=>h[15&t],g=t=>h[(240&t)>>4]+h[15&t],p=t=>(240&t)>>4==(15&t),b=t=>p(t.r)&&p(t.g)&&p(t.b)&&p(t.a),m=(t,e)=>t<255?e(t):"",y=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function x(t,e,n){let r=e*Math.min(n,1-n),i=(e,i=(e+t/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function v(t,e,n){let r=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function w(t,e,n){let r;let i=x(t,1,.5);for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)i[r]*=1-e-n,i[r]+=e;return i}function M(t){let e,n,r;let i=t.r/255,o=t.g/255,a=t.b/255,l=Math.max(i,o,a),c=Math.min(i,o,a),u=(l+c)/2;return l!==c&&(r=l-c,n=u>.5?r/(2-l-c):r/(l+c),e=60*(e=i===l?(o-a)/r+(o<a?6:0):o===l?(a-i)/r+2:(i-o)/r+4)+.5),[0|e,n||0,u]}function k(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(c)}function _(t){return(t%360+360)%360}let O={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},C={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"},T=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,E=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,P=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function S(t,e,n){if(t){let r=M(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=k(x,r,void 0,void 0),t.r=r[0],t.g=r[1],t.b=r[2]}}function Z(t,e){return t?Object.assign(e||{},t):t}function N(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=c(t[3]))):(e=Z(t,{r:0,g:0,b:0,a:1})).a=c(e.a),e}class R{constructor(t){let e;if(t instanceof R)return t;let n=typeof t;if("object"===n)e=N(t);else if("string"===n){var i,o;o=t.length,"#"===t[0]&&(4===o||5===o?i={r:255&17*f[t[1]],g:255&17*f[t[2]],b:255&17*f[t[3]],a:5===o?17*f[t[4]]:255}:(7===o||9===o)&&(i={r:f[t[1]]<<4|f[t[2]],g:f[t[3]]<<4|f[t[4]],b:f[t[5]]<<4|f[t[6]],a:9===o?f[t[7]]<<4|f[t[8]]:255})),e=i||function(t){r||((r=function(){let t,e,n,r,i;let o={},a=Object.keys(C),l=Object.keys(O);for(t=0;t<a.length;t++){for(e=0,r=i=a[t];e<l.length;e++)n=l[e],i=i.replace(n,O[n]);n=parseInt(C[r],16),o[i]=[n>>16&255,n>>8&255,255&n]}return o}()).transparent=[0,0,0,0]);let e=r[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}(t)||("r"===t.charAt(0)?function(t){let e,n,r;let i=T.exec(t),o=255;if(i){if(i[7]!==e){let t=+i[7];o=i[8]?l(t):a(255*t,0,255)}return e=+i[1],n=+i[3],r=+i[5],{r:e=255&(i[2]?l(e):a(e,0,255)),g:n=255&(i[4]?l(n):a(n,0,255)),b:r=255&(i[6]?l(r):a(r,0,255)),a:o}}}(t):function(t){let e;let n=y.exec(t),r=255;if(!n)return;n[5]!==e&&(r=n[6]?l(+n[5]):c(+n[5]));let i=_(+n[2]),o=+n[3]/100,a=+n[4]/100;return{r:(e="hwb"===n[1]?k(w,i,o,a):"hsv"===n[1]?k(v,i,o,a):k(x,i,o,a))[0],g:e[1],b:e[2],a:r}}(t))}this._rgb=e,this._valid=!!e}get valid(){return this._valid}get rgb(){var t=Z(this._rgb);return t&&(t.a=u(t.a)),t}set rgb(t){this._rgb=N(t)}rgbString(){var t;return this._valid?(t=this._rgb)&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${u(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`):void 0}hexString(){var t,e;return this._valid?(e=b(t=this._rgb)?d:g,t?"#"+e(t.r)+e(t.g)+e(t.b)+m(t.a,e):void 0):void 0}hslString(){return this._valid?function(t){if(!t)return;let e=M(t),n=e[0],r=s(e[1]),i=s(e[2]);return t.a<255?`hsla(${n}, ${r}%, ${i}%, ${u(t.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(t,e){if(t){let n;let r=this.rgb,i=t.rgb,o=e===n?.5:e,a=2*o-1,l=r.a-i.a,c=((a*l==-1?a:(a+l)/(1+a*l))+1)/2;n=1-c,r.r=255&c*r.r+n*i.r+.5,r.g=255&c*r.g+n*i.g+.5,r.b=255&c*r.b+n*i.b+.5,r.a=o*r.a+(1-o)*i.a,this.rgb=r}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){let r=P(u(t.r)),i=P(u(t.g)),o=P(u(t.b));return{r:c(E(r+n*(P(u(e.r))-r))),g:c(E(i+n*(P(u(e.g))-i))),b:c(E(o+n*(P(u(e.b))-o))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new R(this.rgb)}alpha(t){return this._rgb.a=c(t),this}clearer(t){let e=this._rgb;return e.a*=1-t,this}greyscale(){let t=this._rgb,e=o(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){let e=this._rgb;return e.a*=1+t,this}negate(){let t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return S(this._rgb,2,t),this}darken(t){return S(this._rgb,2,-t),this}saturate(t){return S(this._rgb,1,t),this}desaturate(t){return S(this._rgb,1,-t),this}rotate(t){var e,n;return(n=M(e=this._rgb))[0]=_(n[0]+t),n=k(x,n,void 0,void 0),e.r=n[0],e.g=n[1],e.b=n[2],this}}/*!
* Chart.js v4.4.1
* https://www.chartjs.org
* (c) 2023 Chart.js Contributors
* Released under the MIT License
*/function j(){}let I=(i=0,()=>i++);function A(t){return null==t}function F(t){if(Array.isArray&&Array.isArray(t))return!0;let e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function W(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function Y(t){return("number"==typeof t||t instanceof Number)&&isFinite(+t)}function B(t,e){return Y(t)?t:e}function z(t,e){return void 0===t?e:t}let L=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100:+t/e,q=(t,e)=>"string"==typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function D(t,e,n){if(t&&"function"==typeof t.call)return t.apply(n,e)}function H(t,e,n,r){let i,o,a;if(F(t)){if(o=t.length,r)for(i=o-1;i>=0;i--)e.call(n,t[i],i);else for(i=0;i<o;i++)e.call(n,t[i],i)}else if(W(t))for(i=0,o=(a=Object.keys(t)).length;i<o;i++)e.call(n,t[a[i]],a[i])}function $(t,e){let n,r,i,o;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(i=t[n],o=e[n],i.datasetIndex!==o.datasetIndex||i.index!==o.index)return!1;return!0}function X(t){if(F(t))return t.map(X);if(W(t)){let e=Object.create(null),n=Object.keys(t),r=n.length,i=0;for(;i<r;++i)e[n[i]]=X(t[n[i]]);return e}return t}function V(t){return -1===["__proto__","prototype","constructor"].indexOf(t)}function Q(t,e,n,r){if(!V(t))return;let i=e[t],o=n[t];W(i)&&W(o)?K(i,o,r):e[t]=X(o)}function K(t,e,n){let r;let i=F(e)?e:[e],o=i.length;if(!W(t))return t;let a=(n=n||{}).merger||Q;for(let e=0;e<o;++e){if(!W(r=i[e]))continue;let o=Object.keys(r);for(let e=0,i=o.length;e<i;++e)a(o[e],t,r,n)}return t}function U(t,e){return K(t,e,{merger:J})}function J(t,e,n){if(!V(t))return;let r=e[t],i=n[t];W(r)&&W(i)?U(r,i):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=X(i))}let G={"":t=>t,x:t=>t.x,y:t=>t.y};function tt(t,e){return(G[e]||(G[e]=function(t){let e=function(t){let e=t.split("."),n=[],r="";for(let t of e)(r+=t).endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(let n of e){if(""===n)break;t=t&&t[n]}return t}}(e)))(t)}function te(t){return t.charAt(0).toUpperCase()+t.slice(1)}let tn=t=>void 0!==t,tr=t=>"function"==typeof t,ti=(t,e)=>{if(t.size!==e.size)return!1;for(let n of t)if(!e.has(n))return!1;return!0};function to(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}let ta=Math.PI,tl=2*ta,tc=tl+ta,tu=Number.POSITIVE_INFINITY,ts=ta/180,tf=ta/2,th=ta/4,td=2*ta/3,tg=Math.log10,tp=Math.sign;function tb(t,e,n){return Math.abs(t-e)<n}function tm(t){let e=Math.round(t),n=Math.pow(10,Math.floor(tg(t=tb(t,e,t/1e3)?e:t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function ty(t){let e;let n=[],r=Math.sqrt(t);for(e=1;e<r;e++)t%e==0&&(n.push(e),n.push(t/e));return r===(0|r)&&n.push(r),n.sort((t,e)=>t-e).pop(),n}function tx(t){return!isNaN(parseFloat(t))&&isFinite(t)}function tv(t,e){let n=Math.round(t);return n-e<=t&&n+e>=t}function tw(t,e,n){let r,i,o;for(r=0,i=t.length;r<i;r++)isNaN(o=t[r][n])||(e.min=Math.min(e.min,o),e.max=Math.max(e.max,o))}function tM(t){return ta/180*t}function tk(t){return 180/ta*t}function t_(t){if(!Y(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function tO(t,e){let n=e.x-t.x,r=e.y-t.y,i=Math.atan2(r,n);return i<-.5*ta&&(i+=tl),{angle:i,distance:Math.sqrt(n*n+r*r)}}function tC(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function tT(t,e){return(t-e+tc)%tl-ta}function tE(t){return(t%tl+tl)%tl}function tP(t,e,n,r){let i=tE(t),o=tE(e),a=tE(n),l=tE(o-i),c=tE(a-i),u=tE(i-o),s=tE(i-a);return i===o||i===a||r&&o===a||l>c&&u<s}function tS(t,e,n){return Math.max(e,Math.min(n,t))}function tZ(t){return tS(t,-32768,32767)}function tN(t,e,n,r=1e-6){return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function tR(t,e,n){let r;n=n||(n=>t[n]<e);let i=t.length-1,o=0;for(;i-o>1;)n(r=o+i>>1)?o=r:i=r;return{lo:o,hi:i}}let tj=(t,e,n,r)=>tR(t,n,r?r=>{let i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),tI=(t,e,n)=>tR(t,n,r=>t[r][e]>=n);function tA(t,e,n){let r=0,i=t.length;for(;r<i&&t[r]<e;)r++;for(;i>r&&t[i-1]>n;)i--;return r>0||i<t.length?t.slice(r,i):t}let tF=["push","pop","shift","splice","unshift"];function tW(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),tF.forEach(e=>{let n="_onData"+te(e),r=t[e];Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value(...e){let i=r.apply(this,e);return t._chartjs.listeners.forEach(t=>{"function"==typeof t[n]&&t[n](...e)}),i}})})}function tY(t,e){let n=t._chartjs;if(!n)return;let r=n.listeners,i=r.indexOf(e);-1!==i&&r.splice(i,1),r.length>0||(tF.forEach(e=>{delete t[e]}),delete t._chartjs)}function tB(t){let e=new Set(t);return e.size===t.length?t:Array.from(e)}let tz="undefined"==typeof window?function(t){return t()}:window.requestAnimationFrame;function tL(t,e){let n=[],r=!1;return function(...i){n=i,r||(r=!0,tz.call(window,()=>{r=!1,t.apply(e,n)}))}}function tq(t,e){let n;return function(...r){return e?(clearTimeout(n),n=setTimeout(t,e,r)):t.apply(this,r),e}}let tD=t=>"start"===t?"left":"end"===t?"right":"center",tH=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2,t$=(t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e;function tX(t,e,n){let r=e.length,i=0,o=r;if(t._sorted){let{iScale:a,_parsed:l}=t,c=a.axis,{min:u,max:s,minDefined:f,maxDefined:h}=a.getUserBounds();f&&(i=tS(Math.min(tj(l,c,u).lo,n?r:tj(e,c,a.getPixelForValue(u)).lo),0,r-1)),o=h?tS(Math.max(tj(l,a.axis,s,!0).hi+1,n?0:tj(e,c,a.getPixelForValue(s),!0).hi+1),i,r)-i:r-i}return{start:i,count:o}}function tV(t){let{xScale:e,yScale:n,_scaleRanges:r}=t,i={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=i,!0;let o=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),o}let tQ=t=>0===t||1===t,tK=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*tl/n)),tU=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*tl/n)+1,tJ={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*tf)+1,easeOutSine:t=>Math.sin(t*tf),easeInOutSine:t=>-.5*(Math.cos(ta*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>tQ(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(-Math.pow(2,-10*(2*t-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>tQ(t)?t:tK(t,.075,.3),easeOutElastic:t=>tQ(t)?t:tU(t,.075,.3),easeInOutElastic:t=>tQ(t)?t:t<.5?.5*tK(2*t,.1125,.45):.5+.5*tU(2*t-1,.1125,.45),easeInBack:t=>t*t*(2.70158*t-1.70158),easeOutBack:t=>(t-=1)*t*(2.70158*t+1.70158)+1,easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*(((e*=1.525)+1)*t-e)*.5:.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-tJ.easeOutBounce(1-t),easeOutBounce:t=>t<.36363636363636365?7.5625*t*t:t<.7272727272727273?7.5625*(t-=.5454545454545454)*t+.75:t<.9090909090909091?7.5625*(t-=.8181818181818182)*t+.9375:7.5625*(t-=.9545454545454546)*t+.984375,easeInOutBounce:t=>t<.5?.5*tJ.easeInBounce(2*t):.5*tJ.easeOutBounce(2*t-1)+.5};function tG(t){if(t&&"object"==typeof t){let e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function t0(t){return tG(t)?t:new R(t)}function t1(t){return tG(t)?t:new R(t).saturate(.5).darken(.1).hexString()}let t5=["x","y","borderWidth","radius","tension"],t2=["color","borderColor","backgroundColor"],t4=new Map;function t7(t,e,n){return(function(t,e){let n=t+JSON.stringify(e=e||{}),r=t4.get(n);return r||(r=new Intl.NumberFormat(t,e),t4.set(n,r)),r})(e,n).format(t)}let t8={values:t=>F(t)?t:""+t,numeric(t,e,n){let r;if(0===t)return"0";let i=this.chart.options.locale,o=t;if(n.length>1){let e;let i=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(i<1e-4||i>1e15)&&(r="scientific"),Math.abs(e=n.length>3?n[2].value-n[1].value:n[1].value-n[0].value)>=1&&t!==Math.floor(t)&&(e=t-Math.floor(t)),o=e}let a=tg(Math.abs(o)),l=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),c={notation:r,minimumFractionDigits:l,maximumFractionDigits:l};return Object.assign(c,this.options.ticks.format),t7(t,i,c)},logarithmic(t,e,n){return 0===t?"0":[1,2,3,5,10,15].includes(n[e].significand||t/Math.pow(10,Math.floor(tg(t))))||e>.8*n.length?t8.numeric.call(this,t,e,n):""}};var t6={formatters:t8};let t3=Object.create(null),t9=Object.create(null);function et(t,e){if(!e)return t;let n=e.split(".");for(let e=0,r=n.length;e<r;++e){let r=n[e];t=t[r]||(t[r]=Object.create(null))}return t}function ee(t,e,n){return"string"==typeof e?K(et(t,e),n):K(et(t,""),e)}class en{constructor(t,e){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=t=>t.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(t,e)=>t1(e.backgroundColor),this.hoverBorderColor=(t,e)=>t1(e.borderColor),this.hoverColor=(t,e)=>t1(e.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(t),this.apply(e)}set(t,e){return ee(this,t,e)}get(t){return et(this,t)}describe(t,e){return ee(t9,t,e)}override(t,e){return ee(t3,t,e)}route(t,e,n,r){let i=et(this,t),o=et(this,n),a="_"+e;Object.defineProperties(i,{[a]:{value:i[e],writable:!0},[e]:{enumerable:!0,get(){let t=this[a],e=o[r];return W(t)?Object.assign({},e,t):z(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}}var er=new en({_scriptable:t=>!t.startsWith("on"),_indexable:t=>"events"!==t,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:t=>"onProgress"!==t&&"onComplete"!==t&&"fn"!==t}),t.set("animations",{colors:{type:"color",properties:t2},numbers:{type:"number",properties:t5}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:t=>0|t}}}})},function(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(t,e)=>e.lineWidth,tickColor:(t,e)=>e.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:t6.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:t=>!t.startsWith("before")&&!t.startsWith("after")&&"callback"!==t&&"parser"!==t,_indexable:t=>"borderDash"!==t&&"tickBorderDash"!==t&&"dash"!==t}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:t=>"backdropPadding"!==t&&"callback"!==t,_indexable:t=>"backdropPadding"!==t})}]);function ei(t,e,n,r,i){let o=e[i];return o||(o=e[i]=t.measureText(i).width,n.push(i)),o>r&&(r=o),r}function eo(t,e,n,r){let i,o,a,l,c;let u=(r=r||{}).data=r.data||{},s=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(u=r.data={},s=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let f=0,h=n.length;for(i=0;i<h;i++)if(null==(l=n[i])||F(l)){if(F(l))for(o=0,a=l.length;o<a;o++)null==(c=l[o])||F(c)||(f=ei(t,u,s,f,c))}else f=ei(t,u,s,f,l);t.restore();let d=s.length/2;if(d>n.length){for(i=0;i<d;i++)delete u[s[i]];s.splice(0,d)}return f}function ea(t,e,n){let r=t.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((e-i)*r)/r+i}function el(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function ec(t,e,n,r){eu(t,e,n,r,null)}function eu(t,e,n,r,i){let o,a,l,c,u,s,f,h;let d=e.pointStyle,g=e.rotation,p=e.radius,b=(g||0)*ts;if(d&&"object"==typeof d&&("[object HTMLImageElement]"===(o=d.toString())||"[object HTMLCanvasElement]"===o)){t.save(),t.translate(n,r),t.rotate(b),t.drawImage(d,-d.width/2,-d.height/2,d.width,d.height),t.restore();return}if(!isNaN(p)&&!(p<=0)){switch(t.beginPath(),d){default:i?t.ellipse(n,r,i/2,p,0,0,tl):t.arc(n,r,p,0,tl),t.closePath();break;case"triangle":s=i?i/2:p,t.moveTo(n+Math.sin(b)*s,r-Math.cos(b)*p),b+=td,t.lineTo(n+Math.sin(b)*s,r-Math.cos(b)*p),b+=td,t.lineTo(n+Math.sin(b)*s,r-Math.cos(b)*p),t.closePath();break;case"rectRounded":u=.516*p,a=Math.cos(b+th)*(c=p-u),f=Math.cos(b+th)*(i?i/2-u:c),l=Math.sin(b+th)*c,h=Math.sin(b+th)*(i?i/2-u:c),t.arc(n-f,r-l,u,b-ta,b-tf),t.arc(n+h,r-a,u,b-tf,b),t.arc(n+f,r+l,u,b,b+tf),t.arc(n-h,r+a,u,b+tf,b+ta),t.closePath();break;case"rect":if(!g){c=Math.SQRT1_2*p,s=i?i/2:c,t.rect(n-s,r-c,2*s,2*c);break}b+=th;case"rectRot":f=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-f,r-l),t.lineTo(n+h,r-a),t.lineTo(n+f,r+l),t.lineTo(n-h,r+a),t.closePath();break;case"crossRot":b+=th;case"cross":f=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-f,r-l),t.lineTo(n+f,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"star":f=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-f,r-l),t.lineTo(n+f,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a),b+=th,f=Math.cos(b)*(i?i/2:p),a=Math.cos(b)*p,l=Math.sin(b)*p,h=Math.sin(b)*(i?i/2:p),t.moveTo(n-f,r-l),t.lineTo(n+f,r+l),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"line":a=i?i/2:Math.cos(b)*p,l=Math.sin(b)*p,t.moveTo(n-a,r-l),t.lineTo(n+a,r+l);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(b)*(i?i/2:p),r+Math.sin(b)*p);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function es(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function ef(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function eh(t){t.restore()}function ed(t,e,n,r,i){if(!e)return t.lineTo(n.x,n.y);if("middle"===i){let r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===i!=!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function eg(t,e,n,r){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(r?e.cp1x:e.cp2x,r?e.cp1y:e.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function ep(t,e,n,r,i,o={}){let a,l;let c=F(e)?e:[e],u=o.strokeWidth>0&&""!==o.strokeColor;for(t.save(),t.font=i.string,o.translation&&t.translate(o.translation[0],o.translation[1]),A(o.rotation)||t.rotate(o.rotation),o.color&&(t.fillStyle=o.color),o.textAlign&&(t.textAlign=o.textAlign),o.textBaseline&&(t.textBaseline=o.textBaseline),a=0;a<c.length;++a)l=c[a],o.backdrop&&function(t,e){let n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}(t,o.backdrop),u&&(o.strokeColor&&(t.strokeStyle=o.strokeColor),A(o.strokeWidth)||(t.lineWidth=o.strokeWidth),t.strokeText(l,n,r,o.maxWidth)),t.fillText(l,n,r,o.maxWidth),function(t,e,n,r,i){if(i.strikethrough||i.underline){let o=t.measureText(r),a=e-o.actualBoundingBoxLeft,l=e+o.actualBoundingBoxRight,c=n-o.actualBoundingBoxAscent,u=n+o.actualBoundingBoxDescent,s=i.strikethrough?(c+u)/2:u;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=i.decorationWidth||2,t.moveTo(a,s),t.lineTo(l,s),t.stroke()}}(t,n,r,l,o),r+=Number(i.lineHeight);t.restore()}function eb(t,e){let{x:n,y:r,w:i,h:o,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*ta,ta,!0),t.lineTo(n,r+o-a.bottomLeft),t.arc(n+a.bottomLeft,r+o-a.bottomLeft,a.bottomLeft,ta,tf,!0),t.lineTo(n+i-a.bottomRight,r+o),t.arc(n+i-a.bottomRight,r+o-a.bottomRight,a.bottomRight,tf,0,!0),t.lineTo(n+i,r+a.topRight),t.arc(n+i-a.topRight,r+a.topRight,a.topRight,0,-tf,!0),t.lineTo(n+a.topLeft,r)}let em=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,ey=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/,ex=t=>+t||0;function ev(t,e){let n={},r=W(e),i=r?Object.keys(e):e,o=W(t)?r?n=>z(t[n],t[e[n]]):e=>t[e]:()=>t;for(let t of i)n[t]=ex(o(t));return n}function ew(t){return ev(t,{top:"y",right:"x",bottom:"y",left:"x"})}function eM(t){return ev(t,["topLeft","topRight","bottomLeft","bottomRight"])}function ek(t){let e=ew(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function e_(t,e){t=t||{},e=e||er.font;let n=z(t.size,e.size);"string"==typeof n&&(n=parseInt(n,10));let r=z(t.style,e.style);r&&!(""+r).match(ey)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);let i={family:z(t.family,e.family),lineHeight:function(t,e){let n=(""+t).match(em);if(!n||"normal"===n[1])return 1.2*e;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100}return e*t}(z(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:z(t.weight,e.weight),string:""};return i.string=!i||A(i.size)||A(i.family)?null:(i.style?i.style+" ":"")+(i.weight?i.weight+" ":"")+i.size+"px "+i.family,i}function eO(t,e,n,r){let i,o,a,l=!0;for(i=0,o=t.length;i<o;++i)if(void 0!==(a=t[i])&&(void 0!==e&&"function"==typeof a&&(a=a(e),l=!1),void 0!==n&&F(a)&&(a=a[n%a.length],l=!1),void 0!==a))return r&&!l&&(r.cacheable=!1),a}function eC(t,e,n){let{min:r,max:i}=t,o=q(e,(i-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(o)),max:a(i,o)}}function eT(t,e){return Object.assign(Object.create(t),e)}function eE(t,e=[""],n,r,i=()=>t[0]){let o=n||t;void 0===r&&(r=eA("_fallback",t));let a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:r,_getTarget:i,override:n=>eE([n,...t],e,o,r)};return new Proxy(a,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>eN(n,r,()=>(function(t,e,n,r){let i;for(let o of e)if(void 0!==(i=eA(eS(o,t),n)))return eZ(t,i)?ej(n,r,t,i):i})(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>eF(t).includes(e),ownKeys:t=>eF(t),set(t,e,n){let r=t._storage||(t._storage=i());return t[e]=r[e]=n,delete t._keys,!0}})}function eP(t,e={scriptable:!0,indexable:!0}){let{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:i=e.allKeys}=t;return{allKeys:i,scriptable:n,indexable:r,isScriptable:tr(n)?n:()=>n,isIndexable:tr(r)?r:()=>r}}let eS=(t,e)=>t?t+te(e):e,eZ=(t,e)=>W(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function eN(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];let r=n();return t[e]=r,r}let eR=(t,e)=>!0===t?e:"string"==typeof t?tt(e,t):void 0;function ej(t,e,n,r){var i;let o=e._rootScopes,a=tr(i=e._fallback)?i(n,r):i,l=[...t,...o],c=new Set;c.add(r);let u=eI(c,l,n,a||n,r);return null!==u&&(void 0===a||a===n||null!==(u=eI(c,l,a,u,r)))&&eE(Array.from(c),[""],o,a,()=>(function(t,e,n){let r=t._getTarget();e in r||(r[e]={});let i=r[e];return F(i)&&W(n)?n:i||{}})(e,n,r))}function eI(t,e,n,r,i){for(;n;)n=function(t,e,n,r,i){for(let a of e){let e=eR(n,a);if(e){var o;t.add(e);let a=tr(o=e._fallback)?o(n,i):o;if(void 0!==a&&a!==n&&a!==r)return a}else if(!1===e&&void 0!==r&&n!==r)return null}return!1}(t,e,n,r,i);return n}function eA(t,e){for(let n of e){if(!n)continue;let e=n[t];if(void 0!==e)return e}}function eF(t){let e=t._keys;return e||(e=t._keys=function(t){let e=new Set;for(let n of t)for(let t of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(t);return Array.from(e)}(t._scopes)),e}function eW(t,e,n,r){let i,o,a;let{iScale:l}=t,{key:c="r"}=this._parsing,u=Array(r);for(i=0;i<r;++i)a=e[o=i+n],u[i]={r:l.parse(tt(a,c),o)};return u}let eY=Number.EPSILON||1e-14,eB=(t,e)=>e<t.length&&!t[e].skip&&t[e],ez=t=>"x"===t?"y":"x";function eL(t,e,n){return Math.max(Math.min(t,n),e)}function eq(t,e,n,r,i){let o,a,l,c;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)!function(t,e="x"){let n,r,i;let o=ez(e),a=t.length,l=Array(a).fill(0),c=Array(a),u=eB(t,0);for(n=0;n<a;++n)if(r=i,i=u,u=eB(t,n+1),i){if(u){let t=u[e]-i[e];l[n]=0!==t?(u[o]-i[o])/t:0}c[n]=r?u?tp(l[n-1])!==tp(l[n])?0:(l[n-1]+l[n])/2:l[n-1]:l[n]}!function(t,e,n){let r,i,o,a,l;let c=t.length,u=eB(t,0);for(let s=0;s<c-1;++s)if(l=u,u=eB(t,s+1),l&&u){if(tb(e[s],0,eY)){n[s]=n[s+1]=0;continue}(a=Math.pow(r=n[s]/e[s],2)+Math.pow(i=n[s+1]/e[s],2))<=9||(o=3/Math.sqrt(a),n[s]=r*o*e[s],n[s+1]=i*o*e[s])}}(t,l,c),function(t,e,n="x"){let r,i,o;let a=ez(n),l=t.length,c=eB(t,0);for(let u=0;u<l;++u){if(i=o,o=c,c=eB(t,u+1),!o)continue;let l=o[n],s=o[a];i&&(r=(l-i[n])/3,o[`cp1${n}`]=l-r,o[`cp1${a}`]=s-r*e[u]),c&&(r=(c[n]-l)/3,o[`cp2${n}`]=l+r,o[`cp2${a}`]=s+r*e[u])}}(t,c,e)}(t,i);else{let n=r?t[t.length-1]:t[0];for(o=0,a=t.length;o<a;++o)c=function(t,e,n,r){let i=t.skip?e:t,o=n.skip?e:n,a=tC(e,i),l=tC(o,e),c=a/(a+l),u=l/(a+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;let s=r*c,f=r*u;return{previous:{x:e.x-s*(o.x-i.x),y:e.y-s*(o.y-i.y)},next:{x:e.x+f*(o.x-i.x),y:e.y+f*(o.y-i.y)}}}(n,l=t[o],t[Math.min(o+1,a-(r?0:1))%a],e.tension),l.cp1x=c.previous.x,l.cp1y=c.previous.y,l.cp2x=c.next.x,l.cp2y=c.next.y,n=l}e.capBezierPoints&&function(t,e){let n,r,i,o,a;let l=es(t[0],e);for(n=0,r=t.length;n<r;++n)a=o,o=l,l=n<r-1&&es(t[n+1],e),o&&(i=t[n],a&&(i.cp1x=eL(i.cp1x,e.left,e.right),i.cp1y=eL(i.cp1y,e.top,e.bottom)),l&&(i.cp2x=eL(i.cp2x,e.left,e.right),i.cp2y=eL(i.cp2y,e.top,e.bottom)))}(t,n)}function eD(){return"undefined"!=typeof window&&"undefined"!=typeof document}function eH(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function e$(t,e,n){let r;return"string"==typeof t?(r=parseInt(t,10),-1!==t.indexOf("%")&&(r=r/100*e.parentNode[n])):r=t,r}let eX=t=>t.ownerDocument.defaultView.getComputedStyle(t,null),eV=["top","right","bottom","left"];function eQ(t,e,n){let r={};n=n?"-"+n:"";for(let i=0;i<4;i++){let o=eV[i];r[o]=parseFloat(t[e+"-"+o+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}let eK=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function eU(t,e){if("native"in t)return t;let{canvas:n,currentDevicePixelRatio:r}=e,i=eX(n),o="border-box"===i.boxSizing,a=eQ(i,"padding"),l=eQ(i,"border","width"),{x:c,y:u,box:s}=function(t,e){let n,r;let i=t.touches,o=i&&i.length?i[0]:t,{offsetX:a,offsetY:l}=o,c=!1;if(eK(a,l,t.target))n=a,r=l;else{let t=e.getBoundingClientRect();n=o.clientX-t.left,r=o.clientY-t.top,c=!0}return{x:n,y:r,box:c}}(t,n),f=a.left+(s&&l.left),h=a.top+(s&&l.top),{width:d,height:g}=e;return o&&(d-=a.width+l.width,g-=a.height+l.height),{x:Math.round((c-f)/d*n.width/r),y:Math.round((u-h)/g*n.height/r)}}let eJ=t=>Math.round(10*t)/10;function eG(t,e,n,r){let i=eX(t),o=eQ(i,"margin"),a=e$(i.maxWidth,t,"clientWidth")||tu,l=e$(i.maxHeight,t,"clientHeight")||tu,c=function(t,e,n){let r,i;if(void 0===e||void 0===n){let o=eH(t);if(o){let t=o.getBoundingClientRect(),a=eX(o),l=eQ(a,"border","width"),c=eQ(a,"padding");e=t.width-c.width-l.width,n=t.height-c.height-l.height,r=e$(a.maxWidth,o,"clientWidth"),i=e$(a.maxHeight,o,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||tu,maxHeight:i||tu}}(t,e,n),{width:u,height:s}=c;if("content-box"===i.boxSizing){let t=eQ(i,"border","width"),e=eQ(i,"padding");u-=e.width+t.width,s-=e.height+t.height}return u=Math.max(0,u-o.width),s=Math.max(0,r?u/r:s-o.height),u=eJ(Math.min(u,a,c.maxWidth)),s=eJ(Math.min(s,l,c.maxHeight)),u&&!s&&(s=eJ(u/2)),(void 0!==e||void 0!==n)&&r&&c.height&&s>c.height&&(u=eJ(Math.floor((s=c.height)*r))),{width:u,height:s}}function e0(t,e,n){let r=e||1,i=Math.floor(t.height*r),o=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);let a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${t.height}px`,a.style.width=`${t.width}px`),(t.currentDevicePixelRatio!==r||a.height!==i||a.width!==o)&&(t.currentDevicePixelRatio=r,a.height=i,a.width=o,t.ctx.setTransform(r,0,0,r,0,0),!0)}let e1=function(){let t=!1;try{let e={get passive(){return t=!0,!1}};eD()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(t){}return t}();function e5(t,e){let n=eX(t).getPropertyValue(e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function e2(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function e4(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:"middle"===r?n<.5?t.y:e.y:"after"===r?n<1?t.y:e.y:n>0?e.y:t.y}}function e7(t,e,n,r){let i={x:t.cp2x,y:t.cp2y},o={x:e.cp1x,y:e.cp1y},a=e2(t,i,n),l=e2(i,o,n),c=e2(o,e,n),u=e2(a,l,n),s=e2(l,c,n);return e2(u,s,n)}function e8(t,e,n){var r;return t?(r=n,{x:t=>e+e+r-t,setWidth(t){r=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function e6(t,e){let n,r;("ltr"===e||"rtl"===e)&&(r=[(n=t.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function e3(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function e9(t){return"angle"===t?{between:tP,compare:tT,normalize:tE}:{between:tN,compare:(t,e)=>t-e,normalize:t=>t}}function nt({start:t,end:e,count:n,loop:r,style:i}){return{start:t%n,end:e%n,loop:r&&(e-t+1)%n==0,style:i}}function ne(t,e,n){let r,i,o;if(!n)return[t];let{property:a,start:l,end:c}=n,u=e.length,{compare:s,between:f,normalize:h}=e9(a),{start:d,end:g,loop:p,style:b}=function(t,e,n){let r;let{property:i,start:o,end:a}=n,{between:l,normalize:c}=e9(i),u=e.length,{start:s,end:f,loop:h}=t;if(h){for(s+=u,f+=u,r=0;r<u&&l(c(e[s%u][i]),o,a);++r)s--,f--;s%=u,f%=u}return f<s&&(f+=u),{start:s,end:f,loop:h,style:t.style}}(t,e,n),m=[],y=!1,x=null,v=()=>f(l,o,r)&&0!==s(l,o),w=()=>0===s(c,r)||f(c,o,r),M=()=>y||v(),k=()=>!y||w();for(let t=d,n=d;t<=g;++t)(i=e[t%u]).skip||(r=h(i[a]))===o||(y=f(r,l,c),null===x&&M()&&(x=0===s(r,l)?t:n),null!==x&&k()&&(m.push(nt({start:x,end:t,loop:p,count:u,style:b})),x=null),n=t,o=r);return null!==x&&m.push(nt({start:x,end:g,loop:p,count:u,style:b})),m}function nn(t,e){let n=[],r=t.segments;for(let i=0;i<r.length;i++){let o=ne(r[i],t.points,e);o.length&&n.push(...o)}return n}function nr(t,e){let n=t.points,r=t.options.spanGaps,i=n.length;if(!i)return[];let o=!!t._loop,{start:a,end:l}=function(t,e,n,r){let i=0,o=e-1;if(n&&!r)for(;i<e&&!t[i].skip;)i++;for(;i<e&&t[i].skip;)i++;for(i%=e,n&&(o+=i);o>i&&t[o%e].skip;)o--;return{start:i,end:o%=e}}(n,i,o,r);if(!0===r)return ni(t,[{start:a,end:l,loop:o}],n,e);let c=l<a?l+i:l,u=!!t._fullLoop&&0===a&&l===i-1;return ni(t,function(t,e,n,r){let i;let o=t.length,a=[],l=e,c=t[e];for(i=e+1;i<=n;++i){let n=t[i%o];n.skip||n.stop?c.skip||(r=!1,a.push({start:e%o,end:(i-1)%o,loop:r}),e=l=n.stop?i:null):(l=i,c.skip&&(e=i)),c=n}return null!==l&&a.push({start:e%o,end:l%o,loop:r}),a}(n,a,c,u),n,e)}function ni(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){let i=t._chart.getContext(),o=no(t.options),{_datasetIndex:a,options:{spanGaps:l}}=t,c=n.length,u=[],s=o,f=e[0].start,h=f;function d(t,e,r,i){let o=l?-1:1;if(t!==e){for(t+=c;n[t%c].skip;)t-=o;for(;n[e%c].skip;)e+=o;t%c!=e%c&&(u.push({start:t%c,end:e%c,loop:r,style:i}),s=i,f=e%c)}}for(let t of e){let e;let o=n[(f=l?f:t.start)%c];for(h=f+1;h<=t.end;h++){let l=n[h%c];(function(t,e){if(!e)return!1;let n=[],r=function(t,e){return tG(e)?(n.includes(e)||n.push(e),n.indexOf(e)):e};return JSON.stringify(t,r)!==JSON.stringify(e,r)})(e=no(r.setContext(eT(i,{type:"segment",p0:o,p1:l,p0DataIndex:(h-1)%c,p1DataIndex:h%c,datasetIndex:a}))),s)&&d(f,h-1,t.loop,s),o=l,s=e}f<h-1&&d(f,h-1,t.loop,s)}return u}(t,e,n,r):e}function no(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}},26495:function(t,e,n){"use strict";n.d(e,{x1:function(){return s}});var r,i=n(67294),o=n(23148);let a="label";function l(t,e){"function"==typeof t?t(e):t&&(t.current=e)}function c(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,r=[];t.datasets=e.map(e=>{let i=t.datasets.find(t=>t[n]===e[n]);return!i||!e.data||r.includes(i)?{...e}:(r.push(i),Object.assign(i,e),i)})}let u=(0,i.forwardRef)(function(t,e){let{height:n=150,width:r=300,redraw:u=!1,datasetIdKey:s,type:f,data:h,options:d,plugins:g=[],fallbackContent:p,updateMode:b,...m}=t,y=(0,i.useRef)(null),x=(0,i.useRef)(),v=()=>{y.current&&(x.current=new o.kL(y.current,{type:f,data:function(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,r={labels:[],datasets:[]};return e=t.labels,r.labels=e,c(r,t.datasets,n),r}(h,s),options:d&&{...d},plugins:g}),l(e,x.current))},w=()=>{l(e,null),x.current&&(x.current.destroy(),x.current=null)};return(0,i.useEffect)(()=>{!u&&x.current&&d&&function(t,e){let n=t.options;n&&e&&Object.assign(n,e)}(x.current,d)},[u,d]),(0,i.useEffect)(()=>{if(!u&&x.current){var t,e;t=x.current.config.data,e=h.labels,t.labels=e}},[u,h.labels]),(0,i.useEffect)(()=>{!u&&x.current&&h.datasets&&c(x.current.config.data,h.datasets,s)},[u,h.datasets]),(0,i.useEffect)(()=>{x.current&&(u?(w(),setTimeout(v)):x.current.update(b))},[u,d,h.labels,h.datasets,b]),(0,i.useEffect)(()=>{x.current&&(w(),setTimeout(v))},[f]),(0,i.useEffect)(()=>(v(),()=>w()),[]),i.createElement("canvas",Object.assign({ref:y,role:"img",height:n,width:r},m),p)}),s=(r=o.ST,o.kL.register(r),(0,i.forwardRef)((t,e)=>i.createElement(u,Object.assign({},t,{ref:e,type:"line"}))))}}]);