mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-03 18:22:57 +00:00
2 lines
1.6 MiB
Plaintext
2 lines
1.6 MiB
Plaintext
(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[664],{461:(t,e,n)=>{"use strict";n.d(e,{Bs:()=>qo,A6:()=>tr,E8:()=>si,PP:()=>Ti,t1:()=>Io,ju:()=>nr,s$:()=>di,ZT:()=>rr,No:()=>Zo,kc:()=>Di,FN:()=>ti,hE:()=>fi,m_:()=>Oi});var r=n(89379),o=n(54705);function i(t){return t+.5|0}const a=(t,e,n)=>Math.max(Math.min(t,n),e);function s(t){return a(i(2.55*t),0,255)}function l(t){return a(i(255*t),0,255)}function c(t){return a(i(t/2.55)/100,0,1)}function u(t){return a(i(100*t),0,100)}const d={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"],f=t=>h[15&t],p=t=>h[(240&t)>>4]+h[15&t],g=t=>(240&t)>>4===(15&t);function m(t){var e=(t=>g(t.r)&&g(t.g)&&g(t.b)&&g(t.a))(t)?f:p;return t?"#"+e(t.r)+e(t.g)+e(t.b)+((t,e)=>t<255?e(t):"")(t.a,e):void 0}const v=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function y(t,e,n){const r=e*Math.min(n,1-n),o=function(e){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(e+t/30)%12;return n-r*Math.max(Math.min(o-3,9-o,1),-1)};return[o(0),o(8),o(4)]}function b(t,e,n){const r=function(r){let o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(r+t/60)%6;return n-n*e*Math.max(Math.min(o,4-o,1),0)};return[r(5),r(3),r(1)]}function x(t,e,n){const r=y(t,1,.5);let o;for(e+n>1&&(o=1/(e+n),e*=o,n*=o),o=0;o<3;o++)r[o]*=1-e-n,r[o]+=e;return r}function w(t){const e=t.r/255,n=t.g/255,r=t.b/255,o=Math.max(e,n,r),i=Math.min(e,n,r),a=(o+i)/2;let s,l,c;return o!==i&&(c=o-i,l=a>.5?c/(2-o-i):c/(o+i),s=function(t,e,n,r,o){return t===o?(e-n)/r+(e<n?6:0):e===o?(n-t)/r+2:(t-e)/r+4}(e,n,r,c,o),s=60*s+.5),[0|s,l||0,a]}function k(t,e,n,r){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,r)).map(l)}function A(t,e,n){return k(y,t,e,n)}function _(t){return(t%360+360)%360}function S(t){const e=v.exec(t);let n,r=255;if(!e)return;e[5]!==n&&(r=e[6]?s(+e[5]):l(+e[5]));const o=_(+e[2]),i=+e[3]/100,a=+e[4]/100;return n="hwb"===e[1]?function(t,e,n){return k(x,t,e,n)}(o,i,a):"hsv"===e[1]?function(t,e,n){return k(b,t,e,n)}(o,i,a):A(o,i,a),{r:n[0],g:n[1],b:n[2],a:r}}const C={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"},E={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"};let O;function P(t){O||(O=function(){const t={},e=Object.keys(E),n=Object.keys(C);let r,o,i,a,s;for(r=0;r<e.length;r++){for(a=s=e[r],o=0;o<n.length;o++)i=n[o],s=s.replace(i,C[i]);i=parseInt(E[a],16),t[s]=[i>>16&255,i>>8&255,255&i]}return t}(),O.transparent=[0,0,0,0]);const e=O[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:4===e.length?e[3]:255}}const M=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;const T=t=>t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055,N=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function R(t,e,n){if(t){let r=w(t);r[e]=Math.max(0,Math.min(r[e]+r[e]*n,0===e?360:1)),r=A(r),t.r=r[0],t.g=r[1],t.b=r[2]}}function L(t,e){return t?Object.assign(e||{},t):t}function D(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=l(t[3]))):(e=L(t,{r:0,g:0,b:0,a:1})).a=l(e.a),e}function j(t){return"r"===t.charAt(0)?function(t){const e=M.exec(t);let n,r,o,i=255;if(e){if(e[7]!==n){const t=+e[7];i=e[8]?s(t):a(255*t,0,255)}return n=+e[1],r=+e[3],o=+e[5],n=255&(e[2]?s(n):a(n,0,255)),r=255&(e[4]?s(r):a(r,0,255)),o=255&(e[6]?s(o):a(o,0,255)),{r:n,g:r,b:o,a:i}}}(t):S(t)}class I{constructor(t){if(t instanceof I)return t;const e=typeof t;let n;"object"===e?n=D(t):"string"===e&&(n=function(t){var e,n=t.length;return"#"===t[0]&&(4===n||5===n?e={r:255&17*d[t[1]],g:255&17*d[t[2]],b:255&17*d[t[3]],a:5===n?17*d[t[4]]:255}:7!==n&&9!==n||(e={r:d[t[1]]<<4|d[t[2]],g:d[t[3]]<<4|d[t[4]],b:d[t[5]]<<4|d[t[6]],a:9===n?d[t[7]]<<4|d[t[8]]:255})),e}(t)||P(t)||j(t)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var t=L(this._rgb);return t&&(t.a=c(t.a)),t}set rgb(t){this._rgb=D(t)}rgbString(){return this._valid?(t=this._rgb)&&(t.a<255?"rgba(".concat(t.r,", ").concat(t.g,", ").concat(t.b,", ").concat(c(t.a),")"):"rgb(".concat(t.r,", ").concat(t.g,", ").concat(t.b,")")):void 0;var t}hexString(){return this._valid?m(this._rgb):void 0}hslString(){return this._valid?function(t){if(!t)return;const e=w(t),n=e[0],r=u(e[1]),o=u(e[2]);return t.a<255?"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(c(t.a),")"):"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)")}(this._rgb):void 0}mix(t,e){if(t){const n=this.rgb,r=t.rgb;let o;const i=e===o?.5:e,a=2*i-1,s=n.a-r.a,l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;o=1-l,n.r=255&l*n.r+o*r.r+.5,n.g=255&l*n.g+o*r.g+.5,n.b=255&l*n.b+o*r.b+.5,n.a=i*n.a+(1-i)*r.a,this.rgb=n}return this}interpolate(t,e){return t&&(this._rgb=function(t,e,n){const r=N(c(t.r)),o=N(c(t.g)),i=N(c(t.b));return{r:l(T(r+n*(N(c(e.r))-r))),g:l(T(o+n*(N(c(e.g))-o))),b:l(T(i+n*(N(c(e.b))-i))),a:t.a+n*(e.a-t.a)}}(this._rgb,t._rgb,e)),this}clone(){return new I(this.rgb)}alpha(t){return this._rgb.a=l(t),this}clearer(t){return this._rgb.a*=1-t,this}greyscale(){const t=this._rgb,e=i(.3*t.r+.59*t.g+.11*t.b);return t.r=t.g=t.b=e,this}opaquer(t){return this._rgb.a*=1+t,this}negate(){const t=this._rgb;return t.r=255-t.r,t.g=255-t.g,t.b=255-t.b,this}lighten(t){return R(this._rgb,2,t),this}darken(t){return R(this._rgb,2,-t),this}saturate(t){return R(this._rgb,1,t),this}desaturate(t){return R(this._rgb,1,-t),this}rotate(t){return function(t,e){var n=w(t);n[0]=_(n[0]+e),n=A(n),t.r=n[0],t.g=n[1],t.b=n[2]}(this._rgb,t),this}}function z(){}const B=(()=>{let t=0;return()=>t++})();function F(t){return null===t||"undefined"===typeof t}function H(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return"[object"===e.slice(0,7)&&"Array]"===e.slice(-6)}function V(t){return null!==t&&"[object Object]"===Object.prototype.toString.call(t)}function q(t){return("number"===typeof t||t instanceof Number)&&isFinite(+t)}function U(t,e){return q(t)?t:e}function W(t,e){return"undefined"===typeof t?e:t}const G=(t,e)=>"string"===typeof t&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Y(t,e,n){if(t&&"function"===typeof t.call)return t.apply(n,e)}function K(t,e,n,r){let o,i,a;if(H(t))if(i=t.length,r)for(o=i-1;o>=0;o--)e.call(n,t[o],o);else for(o=0;o<i;o++)e.call(n,t[o],o);else if(V(t))for(a=Object.keys(t),i=a.length,o=0;o<i;o++)e.call(n,t[a[o]],a[o])}function $(t,e){let n,r,o,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,r=t.length;n<r;++n)if(o=t[n],i=e[n],o.datasetIndex!==i.datasetIndex||o.index!==i.index)return!1;return!0}function X(t){if(H(t))return t.map(X);if(V(t)){const e=Object.create(null),n=Object.keys(t),r=n.length;let o=0;for(;o<r;++o)e[n[o]]=X(t[n[o]]);return e}return t}function Q(t){return-1===["__proto__","prototype","constructor"].indexOf(t)}function Z(t,e,n,r){if(!Q(t))return;const o=e[t],i=n[t];V(o)&&V(i)?J(o,i,r):e[t]=X(i)}function J(t,e,n){const r=H(e)?e:[e],o=r.length;if(!V(t))return t;const i=(n=n||{}).merger||Z;let a;for(let s=0;s<o;++s){if(a=r[s],!V(a))continue;const e=Object.keys(a);for(let r=0,o=e.length;r<o;++r)i(e[r],t,a,n)}return t}function tt(t,e){return J(t,e,{merger:et})}function et(t,e,n){if(!Q(t))return;const r=e[t],o=n[t];V(r)&&V(o)?tt(r,o):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=X(o))}const nt={"":t=>t,x:t=>t.x,y:t=>t.y};function rt(t,e){const n=nt[e]||(nt[e]=function(t){const e=function(t){const e=t.split("."),n=[];let r="";for(const o of e)r+=o,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(t);return t=>{for(const n of e){if(""===n)break;t=t&&t[n]}return t}}(e));return n(t)}function ot(t){return t.charAt(0).toUpperCase()+t.slice(1)}const it=t=>"undefined"!==typeof t,at=t=>"function"===typeof t,st=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};const lt=Math.PI,ct=2*lt,ut=ct+lt,dt=Number.POSITIVE_INFINITY,ht=lt/180,ft=lt/2,pt=lt/4,gt=2*lt/3,mt=Math.log10,vt=Math.sign;function yt(t,e,n){return Math.abs(t-e)<n}function bt(t){const e=Math.round(t);t=yt(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(mt(t))),r=t/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function xt(t){return!isNaN(parseFloat(t))&&isFinite(t)}function wt(t,e,n){let r,o,i;for(r=0,o=t.length;r<o;r++)i=t[r][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function kt(t){return t*(lt/180)}function At(t){return t*(180/lt)}function _t(t){if(!q(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function St(t,e){const n=e.x-t.x,r=e.y-t.y,o=Math.sqrt(n*n+r*r);let i=Math.atan2(r,n);return i<-.5*lt&&(i+=ct),{angle:i,distance:o}}function Ct(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function Et(t,e){return(t-e+ut)%ct-lt}function Ot(t){return(t%ct+ct)%ct}function Pt(t,e,n,r){const o=Ot(t),i=Ot(e),a=Ot(n),s=Ot(i-o),l=Ot(a-o),c=Ot(o-i),u=Ot(o-a);return o===i||o===a||r&&i===a||s>l&&c<u}function Mt(t,e,n){return Math.max(e,Math.min(n,t))}function Tt(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1e-6;return t>=Math.min(e,n)-r&&t<=Math.max(e,n)+r}function Nt(t,e,n){n=n||(n=>t[n]<e);let r,o=t.length-1,i=0;for(;o-i>1;)r=i+o>>1,n(r)?i=r:o=r;return{lo:i,hi:o}}const Rt=(t,e,n,r)=>Nt(t,n,r?r=>{const o=t[r][e];return o<n||o===n&&t[r+1][e]===n}:r=>t[r][e]<n),Lt=(t,e,n)=>Nt(t,n,r=>t[r][e]>=n);const Dt=["push","pop","shift","splice","unshift"];function jt(t,e){const n=t._chartjs;if(!n)return;const r=n.listeners,o=r.indexOf(e);-1!==o&&r.splice(o,1),r.length>0||(Dt.forEach(e=>{delete t[e]}),delete t._chartjs)}function It(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const zt="undefined"===typeof window?function(t){return t()}:window.requestAnimationFrame;function Bt(t,e){let n=[],r=!1;return function(){for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];n=i,r||(r=!0,zt.call(window,()=>{r=!1,t.apply(e,n)}))}}const Ft=t=>"start"===t?"left":"end"===t?"right":"center",Ht=(t,e,n)=>"start"===t?e:"end"===t?n:(e+n)/2;function Vt(t,e,n){const r=e.length;let o=0,i=r;if(t._sorted){const{iScale:a,_parsed:s}=t,l=a.axis,{min:c,max:u,minDefined:d,maxDefined:h}=a.getUserBounds();d&&(o=Mt(Math.min(Rt(s,l,c).lo,n?r:Rt(e,l,a.getPixelForValue(c)).lo),0,r-1)),i=h?Mt(Math.max(Rt(s,a.axis,u,!0).hi+1,n?0:Rt(e,l,a.getPixelForValue(u),!0).hi+1),o,r)-o:r-o}return{start:o,count:i}}function qt(t){const{xScale:e,yScale:n,_scaleRanges:r}=t,o={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!r)return t._scaleRanges=o,!0;const i=r.xmin!==e.min||r.xmax!==e.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,o),i}const Ut=t=>0===t||1===t,Wt=(t,e,n)=>-Math.pow(2,10*(t-=1))*Math.sin((t-e)*ct/n),Gt=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*ct/n)+1,Yt={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=>1-Math.cos(t*ft),easeOutSine:t=>Math.sin(t*ft),easeInOutSine:t=>-.5*(Math.cos(lt*t)-1),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeInOutExpo:t=>Ut(t)?t:t<.5?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1))),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=>Ut(t)?t:Wt(t,.075,.3),easeOutElastic:t=>Ut(t)?t:Gt(t,.075,.3),easeInOutElastic(t){const e=.1125;return Ut(t)?t:t<.5?.5*Wt(2*t,e,.45):.5+.5*Gt(2*t-1,e,.45)},easeInBack(t){const e=1.70158;return t*t*((e+1)*t-e)},easeOutBack(t){const e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?t*t*((1+(e*=1.525))*t-e)*.5:.5*((t-=2)*t*((1+(e*=1.525))*t+e)+2)},easeInBounce:t=>1-Yt.easeOutBounce(1-t),easeOutBounce(t){const e=7.5625,n=2.75;return t<1/n?e*t*t:t<2/n?e*(t-=1.5/n)*t+.75:t<2.5/n?e*(t-=2.25/n)*t+.9375:e*(t-=2.625/n)*t+.984375},easeInOutBounce:t=>t<.5?.5*Yt.easeInBounce(2*t):.5*Yt.easeOutBounce(2*t-1)+.5};function Kt(t){if(t&&"object"===typeof t){const e=t.toString();return"[object CanvasPattern]"===e||"[object CanvasGradient]"===e}return!1}function $t(t){return Kt(t)?t:new I(t)}function Xt(t){return Kt(t)?t:new I(t).saturate(.5).darken(.1).hexString()}const Qt=["x","y","borderWidth","radius","tension"],Zt=["color","borderColor","backgroundColor"];const Jt=new Map;function te(t,e,n){return function(t,e){e=e||{};const n=t+JSON.stringify(e);let r=Jt.get(n);return r||(r=new Intl.NumberFormat(t,e),Jt.set(n,r)),r}(e,n).format(t)}const ee={values:t=>H(t)?t:""+t,numeric(t,e,n){if(0===t)return"0";const r=this.chart.options.locale;let o,i=t;if(n.length>1){const e=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(e<1e-4||e>1e15)&&(o="scientific"),i=function(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t));return n}(t,n)}const a=mt(Math.abs(i)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:o,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),te(t,r,l)},logarithmic(t,e,n){if(0===t)return"0";const r=n[e].significand||t/Math.pow(10,Math.floor(mt(t)));return[1,2,3,5,10,15].includes(r)||e>.8*n.length?ee.numeric.call(this,t,e,n):""}};var ne={formatters:ee};const re=Object.create(null),oe=Object.create(null);function ie(t,e){if(!e)return t;const n=e.split(".");for(let r=0,o=n.length;r<o;++r){const e=n[r];t=t[e]||(t[e]=Object.create(null))}return t}function ae(t,e,n){return"string"===typeof e?J(ie(t,e),n):J(ie(t,""),e)}class se{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)=>Xt(e.backgroundColor),this.hoverBorderColor=(t,e)=>Xt(e.borderColor),this.hoverColor=(t,e)=>Xt(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 ae(this,t,e)}get(t){return ie(this,t)}describe(t,e){return ae(oe,t,e)}override(t,e){return ae(re,t,e)}route(t,e,n,r){const o=ie(this,t),i=ie(this,n),a="_"+e;Object.defineProperties(o,{[a]:{value:o[e],writable:!0},[e]:{enumerable:!0,get(){const t=this[a],e=i[r];return V(t)?Object.assign({},e,t):W(t,e)},set(t){this[a]=t}}})}apply(t){t.forEach(t=>t(this))}}var le=new se({_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:Zt},numbers:{type:"number",properties:Qt}}),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:ne.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 ce(t,e,n,r,o){let i=e[o];return i||(i=e[o]=t.measureText(o).width,n.push(o)),i>r&&(r=i),r}function ue(t,e,n,r){let o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==e&&(o=r.data={},i=r.garbageCollect=[],r.font=e),t.save(),t.font=e;let a=0;const s=n.length;let l,c,u,d,h;for(l=0;l<s;l++)if(d=n[l],void 0===d||null===d||H(d)){if(H(d))for(c=0,u=d.length;c<u;c++)h=d[c],void 0===h||null===h||H(h)||(a=ce(t,o,i,a,h))}else a=ce(t,o,i,a,d);t.restore();const f=i.length/2;if(f>n.length){for(l=0;l<f;l++)delete o[i[l]];i.splice(0,f)}return a}function de(t,e,n){const r=t.currentDevicePixelRatio,o=0!==n?Math.max(n/2,.5):0;return Math.round((e-o)*r)/r+o}function he(t,e){(e=e||t.getContext("2d")).save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore()}function fe(t,e,n,r){pe(t,e,n,r,null)}function pe(t,e,n,r,o){let i,a,s,l,c,u,d,h;const f=e.pointStyle,p=e.rotation,g=e.radius;let m=(p||0)*ht;if(f&&"object"===typeof f&&(i=f.toString(),"[object HTMLImageElement]"===i||"[object HTMLCanvasElement]"===i))return t.save(),t.translate(n,r),t.rotate(m),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void t.restore();if(!(isNaN(g)||g<=0)){switch(t.beginPath(),f){default:o?t.ellipse(n,r,o/2,g,0,0,ct):t.arc(n,r,g,0,ct),t.closePath();break;case"triangle":u=o?o/2:g,t.moveTo(n+Math.sin(m)*u,r-Math.cos(m)*g),m+=gt,t.lineTo(n+Math.sin(m)*u,r-Math.cos(m)*g),m+=gt,t.lineTo(n+Math.sin(m)*u,r-Math.cos(m)*g),t.closePath();break;case"rectRounded":c=.516*g,l=g-c,a=Math.cos(m+pt)*l,d=Math.cos(m+pt)*(o?o/2-c:l),s=Math.sin(m+pt)*l,h=Math.sin(m+pt)*(o?o/2-c:l),t.arc(n-d,r-s,c,m-lt,m-ft),t.arc(n+h,r-a,c,m-ft,m),t.arc(n+d,r+s,c,m,m+ft),t.arc(n-h,r+a,c,m+ft,m+lt),t.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*g,u=o?o/2:l,t.rect(n-u,r-l,2*u,2*l);break}m+=pt;case"rectRot":d=Math.cos(m)*(o?o/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(o?o/2:g),t.moveTo(n-d,r-s),t.lineTo(n+h,r-a),t.lineTo(n+d,r+s),t.lineTo(n-h,r+a),t.closePath();break;case"crossRot":m+=pt;case"cross":d=Math.cos(m)*(o?o/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(o?o/2:g),t.moveTo(n-d,r-s),t.lineTo(n+d,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"star":d=Math.cos(m)*(o?o/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(o?o/2:g),t.moveTo(n-d,r-s),t.lineTo(n+d,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a),m+=pt,d=Math.cos(m)*(o?o/2:g),a=Math.cos(m)*g,s=Math.sin(m)*g,h=Math.sin(m)*(o?o/2:g),t.moveTo(n-d,r-s),t.lineTo(n+d,r+s),t.moveTo(n+h,r-a),t.lineTo(n-h,r+a);break;case"line":a=o?o/2:Math.cos(m)*g,s=Math.sin(m)*g,t.moveTo(n-a,r-s),t.lineTo(n+a,r+s);break;case"dash":t.moveTo(n,r),t.lineTo(n+Math.cos(m)*(o?o/2:g),r+Math.sin(m)*g);break;case!1:t.closePath()}t.fill(),e.borderWidth>0&&t.stroke()}}function ge(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 me(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function ve(t){t.restore()}function ye(t,e,n,r,o){if(!e)return t.lineTo(n.x,n.y);if("middle"===o){const r=(e.x+n.x)/2;t.lineTo(r,e.y),t.lineTo(r,n.y)}else"after"===o!==!!r?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function be(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 xe(t,e,n,r,o){if(o.strikethrough||o.underline){const i=t.measureText(r),a=e-i.actualBoundingBoxLeft,s=e+i.actualBoundingBoxRight,l=n-i.actualBoundingBoxAscent,c=n+i.actualBoundingBoxDescent,u=o.strikethrough?(l+c)/2:c;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=o.decorationWidth||2,t.moveTo(a,u),t.lineTo(s,u),t.stroke()}}function we(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function ke(t,e,n,r,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};const a=H(e)?e:[e],s=i.strokeWidth>0&&""!==i.strokeColor;let l,c;for(t.save(),t.font=o.string,function(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),F(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}(t,i),l=0;l<a.length;++l)c=a[l],i.backdrop&&we(t,i.backdrop),s&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),F(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(c,n,r,i.maxWidth)),t.fillText(c,n,r,i.maxWidth),xe(t,n,r,c,i),r+=Number(o.lineHeight);t.restore()}function Ae(t,e){const{x:n,y:r,w:o,h:i,radius:a}=e;t.arc(n+a.topLeft,r+a.topLeft,a.topLeft,1.5*lt,lt,!0),t.lineTo(n,r+i-a.bottomLeft),t.arc(n+a.bottomLeft,r+i-a.bottomLeft,a.bottomLeft,lt,ft,!0),t.lineTo(n+o-a.bottomRight,r+i),t.arc(n+o-a.bottomRight,r+i-a.bottomRight,a.bottomRight,ft,0,!0),t.lineTo(n+o,r+a.topRight),t.arc(n+o-a.topRight,r+a.topRight,a.topRight,0,-ft,!0),t.lineTo(n+a.topLeft,r)}const _e=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Se=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function Ce(t,e){const n=(""+t).match(_e);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}const Ee=t=>+t||0;function Oe(t,e){const n={},r=V(e),o=r?Object.keys(e):e,i=V(t)?r?n=>W(t[n],t[e[n]]):e=>t[e]:()=>t;for(const a of o)n[a]=Ee(i(a));return n}function Pe(t){return Oe(t,{top:"y",right:"x",bottom:"y",left:"x"})}function Me(t){return Oe(t,["topLeft","topRight","bottomLeft","bottomRight"])}function Te(t){const e=Pe(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ne(t,e){t=t||{},e=e||le.font;let n=W(t.size,e.size);"string"===typeof n&&(n=parseInt(n,10));let r=W(t.style,e.style);r&&!(""+r).match(Se)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const o={family:W(t.family,e.family),lineHeight:Ce(W(t.lineHeight,e.lineHeight),n),size:n,style:r,weight:W(t.weight,e.weight),string:""};return o.string=function(t){return!t||F(t.size)||F(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}(o),o}function Re(t,e,n,r){let o,i,a,s=!0;for(o=0,i=t.length;o<i;++o)if(a=t[o],void 0!==a&&(void 0!==e&&"function"===typeof a&&(a=a(e),s=!1),void 0!==n&&H(a)&&(a=a[n%a.length],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}function Le(t,e){return Object.assign(Object.create(t),e)}function De(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[""],n=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:()=>t[0];const o=(arguments.length>2?arguments[2]:void 0)||t;"undefined"===typeof n&&(n=Ge("_fallback",t));const i={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:o,_fallback:n,_getTarget:r,override:r=>De([r,...t],e,o,n)};return new Proxy(i,{deleteProperty:(e,n)=>(delete e[n],delete e._keys,delete t[0][n],!0),get:(n,r)=>Fe(n,r,()=>function(t,e,n,r){let o;for(const i of e)if(o=Ge(ze(i,t),n),"undefined"!==typeof o)return Be(t,o)?Ue(n,r,t,o):o}(r,e,t,n)),getOwnPropertyDescriptor:(t,e)=>Reflect.getOwnPropertyDescriptor(t._scopes[0],e),getPrototypeOf:()=>Reflect.getPrototypeOf(t[0]),has:(t,e)=>Ye(t).includes(e),ownKeys:t=>Ye(t),set(t,e,n){const o=t._storage||(t._storage=r());return t[e]=o[e]=n,delete t._keys,!0}})}function je(t,e,n,r){const o={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:Ie(t,r),setContext:e=>je(t,e,n,r),override:o=>je(t.override(o),e,n,r)};return new Proxy(o,{deleteProperty:(e,n)=>(delete e[n],delete t[n],!0),get:(t,e,n)=>Fe(t,e,()=>function(t,e,n){const{_proxy:r,_context:o,_subProxy:i,_descriptors:a}=t;let s=r[e];at(s)&&a.isScriptable(e)&&(s=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_stack:s}=n;if(s.has(t))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+t);s.add(t);let l=e(i,a||r);s.delete(t),Be(t,l)&&(l=Ue(o._scopes,o,t,l));return l}(e,s,t,n));H(s)&&s.length&&(s=function(t,e,n,r){const{_proxy:o,_context:i,_subProxy:a,_descriptors:s}=n;if("undefined"!==typeof i.index&&r(t))return e[i.index%e.length];if(V(e[0])){const n=e,r=o._scopes.filter(t=>t!==n);e=[];for(const l of n){const n=Ue(r,o,t,l);e.push(je(n,i,a&&a[t],s))}}return e}(e,s,t,a.isIndexable));Be(e,s)&&(s=je(s,o,i&&i[e],a));return s}(t,e,n)),getOwnPropertyDescriptor:(e,n)=>e._descriptors.allKeys?Reflect.has(t,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,n),getPrototypeOf:()=>Reflect.getPrototypeOf(t),has:(e,n)=>Reflect.has(t,n),ownKeys:()=>Reflect.ownKeys(t),set:(e,n,r)=>(t[n]=r,delete e[n],!0)})}function Ie(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{scriptable:!0,indexable:!0};const{_scriptable:n=e.scriptable,_indexable:r=e.indexable,_allKeys:o=e.allKeys}=t;return{allKeys:o,scriptable:n,indexable:r,isScriptable:at(n)?n:()=>n,isIndexable:at(r)?r:()=>r}}const ze=(t,e)=>t?t+ot(e):e,Be=(t,e)=>V(e)&&"adapters"!==t&&(null===Object.getPrototypeOf(e)||e.constructor===Object);function Fe(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e))return t[e];const r=n();return t[e]=r,r}function He(t,e,n){return at(t)?t(e,n):t}const Ve=(t,e)=>!0===t?e:"string"===typeof t?rt(e,t):void 0;function qe(t,e,n,r,o){for(const i of e){const e=Ve(n,i);if(e){t.add(e);const i=He(e._fallback,n,o);if("undefined"!==typeof i&&i!==n&&i!==r)return i}else if(!1===e&&"undefined"!==typeof r&&n!==r)return null}return!1}function Ue(t,e,n,r){const o=e._rootScopes,i=He(e._fallback,n,r),a=[...t,...o],s=new Set;s.add(r);let l=We(s,a,n,i||n,r);return null!==l&&(("undefined"===typeof i||i===n||(l=We(s,a,i,l,r),null!==l))&&De(Array.from(s),[""],o,i,()=>function(t,e,n){const r=t._getTarget();e in r||(r[e]={});const o=r[e];if(H(o)&&V(n))return n;return o||{}}(e,n,r)))}function We(t,e,n,r,o){for(;n;)n=qe(t,e,n,r,o);return n}function Ge(t,e){for(const n of e){if(!n)continue;const e=n[t];if("undefined"!==typeof e)return e}}function Ye(t){let e=t._keys;return e||(e=t._keys=function(t){const e=new Set;for(const n of t)for(const t of Object.keys(n).filter(t=>!t.startsWith("_")))e.add(t);return Array.from(e)}(t._scopes)),e}function Ke(t,e,n,r){const{iScale:o}=t,{key:i="r"}=this._parsing,a=new Array(r);let s,l,c,u;for(s=0,l=r;s<l;++s)c=s+n,u=e[c],a[s]={r:o.parse(rt(u,i),c)};return a}const $e=Number.EPSILON||1e-14,Xe=(t,e)=>e<t.length&&!t[e].skip&&t[e],Qe=t=>"x"===t?"y":"x";function Ze(t,e,n,r){const o=t.skip?e:t,i=e,a=n.skip?e:n,s=Ct(i,o),l=Ct(a,i);let c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=r*c,h=r*u;return{previous:{x:i.x-d*(a.x-o.x),y:i.y-d*(a.y-o.y)},next:{x:i.x+h*(a.x-o.x),y:i.y+h*(a.y-o.y)}}}function Je(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"x";const n=Qe(e),r=t.length,o=Array(r).fill(0),i=Array(r);let a,s,l,c=Xe(t,0);for(a=0;a<r;++a)if(s=l,l=c,c=Xe(t,a+1),l){if(c){const t=c[e]-l[e];o[a]=0!==t?(c[n]-l[n])/t:0}i[a]=s?c?vt(o[a-1])!==vt(o[a])?0:(o[a-1]+o[a])/2:o[a-1]:o[a]}!function(t,e,n){const r=t.length;let o,i,a,s,l,c=Xe(t,0);for(let u=0;u<r-1;++u)l=c,c=Xe(t,u+1),l&&c&&(yt(e[u],0,$e)?n[u]=n[u+1]=0:(o=n[u]/e[u],i=n[u+1]/e[u],s=Math.pow(o,2)+Math.pow(i,2),s<=9||(a=3/Math.sqrt(s),n[u]=o*a*e[u],n[u+1]=i*a*e[u])))}(t,o,i),function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"x";const r=Qe(n),o=t.length;let i,a,s,l=Xe(t,0);for(let c=0;c<o;++c){if(a=s,s=l,l=Xe(t,c+1),!s)continue;const o=s[n],u=s[r];a&&(i=(o-a[n])/3,s["cp1".concat(n)]=o-i,s["cp1".concat(r)]=u-i*e[c]),l&&(i=(l[n]-o)/3,s["cp2".concat(n)]=o+i,s["cp2".concat(r)]=u+i*e[c])}}(t,i,e)}function tn(t,e,n){return Math.max(Math.min(t,n),e)}function en(t,e,n,r,o){let i,a,s,l;if(e.spanGaps&&(t=t.filter(t=>!t.skip)),"monotone"===e.cubicInterpolationMode)Je(t,o);else{let n=r?t[t.length-1]:t[0];for(i=0,a=t.length;i<a;++i)s=t[i],l=Ze(n,s,t[Math.min(i+1,a-(r?0:1))%a],e.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,n=s}e.capBezierPoints&&function(t,e){let n,r,o,i,a,s=ge(t[0],e);for(n=0,r=t.length;n<r;++n)a=i,i=s,s=n<r-1&&ge(t[n+1],e),i&&(o=t[n],a&&(o.cp1x=tn(o.cp1x,e.left,e.right),o.cp1y=tn(o.cp1y,e.top,e.bottom)),s&&(o.cp2x=tn(o.cp2x,e.left,e.right),o.cp2y=tn(o.cp2y,e.top,e.bottom)))}(t,n)}function nn(){return"undefined"!==typeof window&&"undefined"!==typeof document}function rn(t){let e=t.parentNode;return e&&"[object ShadowRoot]"===e.toString()&&(e=e.host),e}function on(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}const an=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);const sn=["top","right","bottom","left"];function ln(t,e,n){const r={};n=n?"-"+n:"";for(let o=0;o<4;o++){const i=sn[o];r[i]=parseFloat(t[e+"-"+i+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function cn(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:r}=e,o=an(n),i="border-box"===o.boxSizing,a=ln(o,"padding"),s=ln(o,"border","width"),{x:l,y:c,box:u}=function(t,e){const n=t.touches,r=n&&n.length?n[0]:t,{offsetX:o,offsetY:i}=r;let a,s,l=!1;if(((t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot))(o,i,t.target))a=o,s=i;else{const t=e.getBoundingClientRect();a=r.clientX-t.left,s=r.clientY-t.top,l=!0}return{x:a,y:s,box:l}}(t,n),d=a.left+(u&&s.left),h=a.top+(u&&s.top);let{width:f,height:p}=e;return i&&(f-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-d)/f*n.width/r),y:Math.round((c-h)/p*n.height/r)}}const un=t=>Math.round(10*t)/10;function dn(t,e,n,r){const o=an(t),i=ln(o,"margin"),a=on(o.maxWidth,t,"clientWidth")||dt,s=on(o.maxHeight,t,"clientHeight")||dt,l=function(t,e,n){let r,o;if(void 0===e||void 0===n){const i=rn(t);if(i){const t=i.getBoundingClientRect(),a=an(i),s=ln(a,"border","width"),l=ln(a,"padding");e=t.width-l.width-s.width,n=t.height-l.height-s.height,r=on(a.maxWidth,i,"clientWidth"),o=on(a.maxHeight,i,"clientHeight")}else e=t.clientWidth,n=t.clientHeight}return{width:e,height:n,maxWidth:r||dt,maxHeight:o||dt}}(t,e,n);let{width:c,height:u}=l;if("content-box"===o.boxSizing){const t=ln(o,"border","width"),e=ln(o,"padding");c-=e.width+t.width,u-=e.height+t.height}c=Math.max(0,c-i.width),u=Math.max(0,r?c/r:u-i.height),c=un(Math.min(c,a,l.maxWidth)),u=un(Math.min(u,s,l.maxHeight)),c&&!u&&(u=un(c/2));return(void 0!==e||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=un(Math.floor(u*r))),{width:c,height:u}}function hn(t,e,n){const r=e||1,o=Math.floor(t.height*r),i=Math.floor(t.width*r);t.height=Math.floor(t.height),t.width=Math.floor(t.width);const a=t.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height="".concat(t.height,"px"),a.style.width="".concat(t.width,"px")),(t.currentDevicePixelRatio!==r||a.height!==o||a.width!==i)&&(t.currentDevicePixelRatio=r,a.height=o,a.width=i,t.ctx.setTransform(r,0,0,r,0,0),!0)}const fn=function(){let t=!1;try{const e={get passive(){return t=!0,!1}};nn()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch(e){}return t}();function pn(t,e){const n=function(t,e){return an(t).getPropertyValue(e)}(t,e),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function gn(t,e,n,r){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function mn(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 vn(t,e,n,r){const o={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},a=gn(t,o,n),s=gn(o,i,n),l=gn(i,e,n),c=gn(a,s,n),u=gn(s,l,n);return gn(c,u,n)}function yn(t,e,n){return t?function(t,e){return{x:n=>t+t+e-n,setWidth(t){e=t},textAlign:t=>"center"===t?t:"right"===t?"left":"right",xPlus:(t,e)=>t-e,leftForLtr:(t,e)=>t-e}}(e,n):{x:t=>t,setWidth(t){},textAlign:t=>t,xPlus:(t,e)=>t+e,leftForLtr:(t,e)=>t}}function bn(t,e){let n,r;"ltr"!==e&&"rtl"!==e||(n=t.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=r)}function xn(t,e){void 0!==e&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function wn(t){return"angle"===t?{between:Pt,compare:Et,normalize:Ot}:{between:Tt,compare:(t,e)=>t-e,normalize:t=>t}}function kn(t){let{start:e,end:n,count:r,loop:o,style:i}=t;return{start:e%r,end:n%r,loop:o&&(n-e+1)%r===0,style:i}}function An(t,e,n){if(!n)return[t];const{property:r,start:o,end:i}=n,a=e.length,{compare:s,between:l,normalize:c}=wn(r),{start:u,end:d,loop:h,style:f}=function(t,e,n){const{property:r,start:o,end:i}=n,{between:a,normalize:s}=wn(r),l=e.length;let c,u,{start:d,end:h,loop:f}=t;if(f){for(d+=l,h+=l,c=0,u=l;c<u&&a(s(e[d%l][r]),o,i);++c)d--,h--;d%=l,h%=l}return h<d&&(h+=l),{start:d,end:h,loop:f,style:t.style}}(t,e,n),p=[];let g,m,v,y=!1,b=null;const x=()=>y||l(o,v,g)&&0!==s(o,v),w=()=>!y||0===s(i,g)||l(i,v,g);for(let k=u,A=u;k<=d;++k)m=e[k%a],m.skip||(g=c(m[r]),g!==v&&(y=l(g,o,i),null===b&&x()&&(b=0===s(g,o)?k:A),null!==b&&w()&&(p.push(kn({start:b,end:k,loop:h,count:a,style:f})),b=null),A=k,v=g));return null!==b&&p.push(kn({start:b,end:d,loop:h,count:a,style:f})),p}function _n(t,e){const n=[],r=t.segments;for(let o=0;o<r.length;o++){const i=An(r[o],t.points,e);i.length&&n.push(...i)}return n}function Sn(t,e,n,r){return r&&r.setContext&&n?function(t,e,n,r){const o=t._chart.getContext(),i=Cn(t.options),{_datasetIndex:a,options:{spanGaps:s}}=t,l=n.length,c=[];let u=i,d=e[0].start,h=d;function f(t,e,r,o){const i=s?-1:1;if(t!==e){for(t+=l;n[t%l].skip;)t-=i;for(;n[e%l].skip;)e+=i;t%l!==e%l&&(c.push({start:t%l,end:e%l,loop:r,style:o}),u=o,d=e%l)}}for(const p of e){d=s?d:p.start;let t,e=n[d%l];for(h=d+1;h<=p.end;h++){const i=n[h%l];t=Cn(r.setContext(Le(o,{type:"segment",p0:e,p1:i,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),En(t,u)&&f(d,h-1,p.loop,u),e=i,u=t}d<h-1&&f(d,h-1,p.loop,u)}return c}(t,e,n,r):e}function Cn(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function En(t,e){if(!e)return!1;const n=[],r=function(t,e){return Kt(e)?(n.includes(e)||n.push(e),n.indexOf(e)):e};return JSON.stringify(t,r)!==JSON.stringify(e,r)}class On{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(t,e,n,r){const o=e.listeners[r],i=e.duration;o.forEach(r=>r({chart:t,initial:e.initial,numSteps:i,currentStep:Math.min(n-e.start,i)}))}_refresh(){this._request||(this._running=!0,this._request=zt.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now(),e=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;const o=n.items;let i,a=o.length-1,s=!1;for(;a>=0;--a)i=o[a],i._active?(i._total>n.duration&&(n.duration=i._total),i.tick(t),s=!0):(o[a]=o[o.length-1],o.pop());s&&(r.draw(),this._notify(r,n,t,"progress")),o.length||(n.running=!1,this._notify(r,n,t,"complete"),n.initial=!1),e+=o.length}),this._lastDate=t,0===e&&(this._running=!1)}_getAnims(t){const e=this._charts;let n=e.get(t);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},e.set(t,n)),n}listen(t,e,n){this._getAnims(t).listeners[e].push(n)}add(t,e){e&&e.length&&this._getAnims(t).items.push(...e)}has(t){return this._getAnims(t).items.length>0}start(t){const e=this._charts.get(t);e&&(e.running=!0,e.start=Date.now(),e.duration=e.items.reduce((t,e)=>Math.max(t,e._duration),0),this._refresh())}running(t){if(!this._running)return!1;const e=this._charts.get(t);return!!(e&&e.running&&e.items.length)}stop(t){const e=this._charts.get(t);if(!e||!e.items.length)return;const n=e.items;let r=n.length-1;for(;r>=0;--r)n[r].cancel();e.items=[],this._notify(t,e,Date.now(),"complete")}remove(t){return this._charts.delete(t)}}var Pn=new On;const Mn="transparent",Tn={boolean:(t,e,n)=>n>.5?e:t,color(t,e,n){const r=$t(t||Mn),o=r.valid&&$t(e||Mn);return o&&o.valid?o.mix(r,n).hexString():e},number:(t,e,n)=>t+(e-t)*n};class Nn{constructor(t,e,n,r){const o=e[n];r=Re([t.to,r,o,t.from]);const i=Re([t.from,o,r]);this._active=!0,this._fn=t.fn||Tn[t.type||typeof i],this._easing=Yt[t.easing]||Yt.linear,this._start=Math.floor(Date.now()+(t.delay||0)),this._duration=this._total=Math.floor(t.duration),this._loop=!!t.loop,this._target=e,this._prop=n,this._from=i,this._to=r,this._promises=void 0}active(){return this._active}update(t,e,n){if(this._active){this._notify(!1);const r=this._target[this._prop],o=n-this._start,i=this._duration-o;this._start=n,this._duration=Math.floor(Math.max(i,t.duration)),this._total+=o,this._loop=!!t.loop,this._to=Re([t.to,e,r,t.from]),this._from=Re([t.from,r,e])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(t){const e=t-this._start,n=this._duration,r=this._prop,o=this._from,i=this._loop,a=this._to;let s;if(this._active=o!==a&&(i||e<n),!this._active)return this._target[r]=a,void this._notify(!0);e<0?this._target[r]=o:(s=e/n%2,s=i&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(o,a,s))}wait(){const t=this._promises||(this._promises=[]);return new Promise((e,n)=>{t.push({res:e,rej:n})})}_notify(t){const e=t?"res":"rej",n=this._promises||[];for(let r=0;r<n.length;r++)n[r][e]()}}class Rn{constructor(t,e){this._chart=t,this._properties=new Map,this.configure(e)}configure(t){if(!V(t))return;const e=Object.keys(le.animation),n=this._properties;Object.getOwnPropertyNames(t).forEach(r=>{const o=t[r];if(!V(o))return;const i={};for(const t of e)i[t]=o[t];(H(o.properties)&&o.properties||[r]).forEach(t=>{t!==r&&n.has(t)||n.set(t,i)})})}_animateOptions(t,e){const n=e.options,r=function(t,e){if(!e)return;let n=t.options;if(!n)return void(t.options=e);n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}}));return n}(t,n);if(!r)return[];const o=this._createAnimations(r,n);return n.$shared&&function(t,e){const n=[],r=Object.keys(e);for(let o=0;o<r.length;o++){const e=t[r[o]];e&&e.active()&&n.push(e.wait())}return Promise.all(n)}(t.options.$animations,n).then(()=>{t.options=n},()=>{}),o}_createAnimations(t,e){const n=this._properties,r=[],o=t.$animations||(t.$animations={}),i=Object.keys(e),a=Date.now();let s;for(s=i.length-1;s>=0;--s){const l=i[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(t,e));continue}const c=e[l];let u=o[l];const d=n.get(l);if(u){if(d&&u.active()){u.update(d,c,a);continue}u.cancel()}d&&d.duration?(o[l]=u=new Nn(d,t,l,c),r.push(u)):t[l]=c}return r}update(t,e){if(0===this._properties.size)return void Object.assign(t,e);const n=this._createAnimations(t,e);return n.length?(Pn.add(this._chart,n),!0):void 0}}function Ln(t,e){const n=t&&t.options||{},r=n.reverse,o=void 0===n.min?e:0,i=void 0===n.max?e:0;return{start:r?i:o,end:r?o:i}}function Dn(t,e){const n=[],r=t._getSortedDatasetMetas(e);let o,i;for(o=0,i=r.length;o<i;++o)n.push(r[o].index);return n}function jn(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=t.keys,i="single"===r.mode;let a,s,l,c;if(null!==e){for(a=0,s=o.length;a<s;++a){if(l=+o[a],l===n){if(r.all)continue;break}c=t.values[l],q(c)&&(i||0===e||vt(e)===vt(c))&&(e+=c)}return e}}function In(t,e){const n=t&&t.options.stacked;return n||void 0===n&&void 0!==e.stack}function zn(t,e,n){const r=t[e]||(t[e]={});return r[n]||(r[n]={})}function Bn(t,e,n,r){for(const o of e.getMatchingVisibleMetas(r).reverse()){const e=t[o.index];if(n&&e>0||!n&&e<0)return o.index}return null}function Fn(t,e){const{chart:n,_cachedMeta:r}=t,o=n._stacks||(n._stacks={}),{iScale:i,vScale:a,index:s}=r,l=i.axis,c=a.axis,u=function(t,e,n){return"".concat(t.id,".").concat(e.id,".").concat(n.stack||n.type)}(i,a,r),d=e.length;let h;for(let f=0;f<d;++f){const t=e[f],{[l]:n,[c]:i}=t;h=(t._stacks||(t._stacks={}))[c]=zn(o,u,n),h[s]=i,h._top=Bn(h,a,!0,r.type),h._bottom=Bn(h,a,!1,r.type);(h._visualValues||(h._visualValues={}))[s]=i}}function Hn(t,e){const n=t.scales;return Object.keys(n).filter(t=>n[t].axis===e).shift()}function Vn(t,e){const n=t.controller.index,r=t.vScale&&t.vScale.axis;if(r){e=e||t._parsed;for(const t of e){const e=t._stacks;if(!e||void 0===e[r]||void 0===e[r][n])return;delete e[r][n],void 0!==e[r]._visualValues&&void 0!==e[r]._visualValues[n]&&delete e[r]._visualValues[n]}}}const qn=t=>"reset"===t||"none"===t,Un=(t,e)=>e?t:Object.assign({},t);class Wn{constructor(t,e){this.chart=t,this._ctx=t.ctx,this.index=e,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const t=this._cachedMeta;this.configure(),this.linkScales(),t._stacked=In(t.vScale,t),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(t){this.index!==t&&Vn(this._cachedMeta),this.index=t}linkScales(){const t=this.chart,e=this._cachedMeta,n=this.getDataset(),r=(t,e,n,r)=>"x"===t?e:"r"===t?r:n,o=e.xAxisID=W(n.xAxisID,Hn(t,"x")),i=e.yAxisID=W(n.yAxisID,Hn(t,"y")),a=e.rAxisID=W(n.rAxisID,Hn(t,"r")),s=e.indexAxis,l=e.iAxisID=r(s,o,i,a),c=e.vAxisID=r(s,i,o,a);e.xScale=this.getScaleForId(o),e.yScale=this.getScaleForId(i),e.rScale=this.getScaleForId(a),e.iScale=this.getScaleForId(l),e.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(t){return this.chart.scales[t]}_getOtherScale(t){const e=this._cachedMeta;return t===e.iScale?e.vScale:e.iScale}reset(){this._update("reset")}_destroy(){const t=this._cachedMeta;this._data&&jt(this._data,this),t._stacked&&Vn(t)}_dataCheck(){const t=this.getDataset(),e=t.data||(t.data=[]),n=this._data;if(V(e))this._data=function(t){const e=Object.keys(t),n=new Array(e.length);let r,o,i;for(r=0,o=e.length;r<o;++r)i=e[r],n[r]={x:i,y:t[i]};return n}(e);else if(n!==e){if(n){jt(n,this);const t=this._cachedMeta;Vn(t),t._parsed=[]}e&&Object.isExtensible(e)&&(o=this,(r=e)._chartjs?r._chartjs.listeners.push(o):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[o]}}),Dt.forEach(t=>{const e="_onData"+ot(t),n=r[t];Object.defineProperty(r,t,{configurable:!0,enumerable:!1,value(){for(var t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];const a=n.apply(this,o);return r._chartjs.listeners.forEach(t=>{"function"===typeof t[e]&&t[e](...o)}),a}})}))),this._syncList=[],this._data=e}var r,o}addElements(){const t=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(t.dataset=new this.datasetElementType)}buildOrUpdateElements(t){const e=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const o=e._stacked;e._stacked=In(e.vScale,e),e.stack!==n.stack&&(r=!0,Vn(e),e.stack=n.stack),this._resyncElements(t),(r||o!==e._stacked)&&Fn(this,e._parsed)}configure(){const t=this.chart.config,e=t.datasetScopeKeys(this._type),n=t.getOptionScopes(this.getDataset(),e,!0);this.options=t.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(t,e){const{_cachedMeta:n,_data:r}=this,{iScale:o,_stacked:i}=n,a=o.axis;let s,l,c,u=0===t&&e===r.length||n._sorted,d=t>0&&n._parsed[t-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,c=r;else{c=H(r[t])?this.parseArrayData(n,r,t,e):V(r[t])?this.parseObjectData(n,r,t,e):this.parsePrimitiveData(n,r,t,e);const o=()=>null===l[a]||d&&l[a]<d[a];for(s=0;s<e;++s)n._parsed[s+t]=l=c[s],u&&(o()&&(u=!1),d=l);n._sorted=u}i&&Fn(this,c)}parsePrimitiveData(t,e,n,r){const{iScale:o,vScale:i}=t,a=o.axis,s=i.axis,l=o.getLabels(),c=o===i,u=new Array(r);let d,h,f;for(d=0,h=r;d<h;++d)f=d+n,u[d]={[a]:c||o.parse(l[f],f),[s]:i.parse(e[f],f)};return u}parseArrayData(t,e,n,r){const{xScale:o,yScale:i}=t,a=new Array(r);let s,l,c,u;for(s=0,l=r;s<l;++s)c=s+n,u=e[c],a[s]={x:o.parse(u[0],c),y:i.parse(u[1],c)};return a}parseObjectData(t,e,n,r){const{xScale:o,yScale:i}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l=new Array(r);let c,u,d,h;for(c=0,u=r;c<u;++c)d=c+n,h=e[d],l[c]={x:o.parse(rt(h,a),d),y:i.parse(rt(h,s),d)};return l}getParsed(t){return this._cachedMeta._parsed[t]}getDataElement(t){return this._cachedMeta.data[t]}applyStack(t,e,n){const r=this.chart,o=this._cachedMeta,i=e[t.axis];return jn({keys:Dn(r,!0),values:e._stacks[t.axis]._visualValues},i,o.index,{mode:n})}updateRangeFromParsed(t,e,n,r){const o=n[e.axis];let i=null===o?NaN:o;const a=r&&n._stacks[e.axis];r&&a&&(r.values=a,i=jn(r,o,this._cachedMeta.index)),t.min=Math.min(t.min,i),t.max=Math.max(t.max,i)}getMinMax(t,e){const n=this._cachedMeta,r=n._parsed,o=n._sorted&&t===n.iScale,i=r.length,a=this._getOtherScale(t),s=((t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:Dn(n,!0),values:null})(e,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(t){const{min:e,max:n,minDefined:r,maxDefined:o}=t.getUserBounds();return{min:r?e:Number.NEGATIVE_INFINITY,max:o?n:Number.POSITIVE_INFINITY}}(a);let d,h;function f(){h=r[d];const e=h[a.axis];return!q(h[t.axis])||c>e||u<e}for(d=0;d<i&&(f()||(this.updateRangeFromParsed(l,t,h,s),!o));++d);if(o)for(d=i-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,t,h,s);break}return l}getAllParsedValues(t){const e=this._cachedMeta._parsed,n=[];let r,o,i;for(r=0,o=e.length;r<o;++r)i=e[r][t.axis],q(i)&&n.push(i);return n}getMaxOverflow(){return!1}getLabelAndValue(t){const e=this._cachedMeta,n=e.iScale,r=e.vScale,o=this.getParsed(t);return{label:n?""+n.getLabelForValue(o[n.axis]):"",value:r?""+r.getLabelForValue(o[r.axis]):""}}_update(t){const e=this._cachedMeta;this.update(t||"default"),e._clip=function(t){let e,n,r,o;return V(t)?(e=t.top,n=t.right,r=t.bottom,o=t.left):e=n=r=o=t,{top:e,right:n,bottom:r,left:o,disabled:!1===t}}(W(this.options.clip,function(t,e,n){if(!1===n)return!1;const r=Ln(t,n),o=Ln(e,n);return{top:o.end,right:r.end,bottom:o.start,left:r.start}}(e.xScale,e.yScale,this.getMaxOverflow())))}update(t){}draw(){const t=this._ctx,e=this.chart,n=this._cachedMeta,r=n.data||[],o=e.chartArea,i=[],a=this._drawStart||0,s=this._drawCount||r.length-a,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(t,o,a,s),c=a;c<a+s;++c){const e=r[c];e.hidden||(e.active&&l?i.push(e):e.draw(t,o))}for(c=0;c<i.length;++c)i[c].draw(t,o)}getStyle(t,e){const n=e?"active":"default";return void 0===t&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(t||0,n)}getContext(t,e,n){const r=this.getDataset();let o;if(t>=0&&t<this._cachedMeta.data.length){const e=this._cachedMeta.data[t];o=e.$context||(e.$context=function(t,e,n){return Le(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}(this.getContext(),t,e)),o.parsed=this.getParsed(t),o.raw=r.data[t],o.index=o.dataIndex=t}else o=this.$context||(this.$context=function(t,e){return Le(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),o.dataset=r,o.index=o.datasetIndex=this.index;return o.active=!!e,o.mode=n,o}resolveDatasetElementOptions(t){return this._resolveElementOptions(this.datasetElementType.id,t)}resolveDataElementOptions(t,e){return this._resolveElementOptions(this.dataElementType.id,e,t)}_resolveElementOptions(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2?arguments[2]:void 0;const r="active"===e,o=this._cachedDataOpts,i=t+"-"+e,a=o[i],s=this.enableOptionSharing&&it(n);if(a)return Un(a,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,t),u=r?["".concat(t,"Hover"),"hover",t,""]:[t,""],d=l.getOptionScopes(this.getDataset(),c),h=Object.keys(le.elements[t]),f=l.resolveNamedOptions(d,h,()=>this.getContext(n,r,e),u);return f.$shared&&(f.$shared=s,o[i]=Object.freeze(Un(f,s))),f}_resolveAnimations(t,e,n){const r=this.chart,o=this._cachedDataOpts,i="animation-".concat(e),a=o[i];if(a)return a;let s;if(!1!==r.options.animation){const r=this.chart.config,o=r.datasetAnimationScopeKeys(this._type,e),i=r.getOptionScopes(this.getDataset(),o);s=r.createResolver(i,this.getContext(t,n,e))}const l=new Rn(r,s&&s.animations);return s&&s._cacheable&&(o[i]=Object.freeze(l)),l}getSharedOptions(t){if(t.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},t))}includeOptions(t,e){return!e||qn(t)||this.chart._animationsDisabled}_getSharedOptions(t,e){const n=this.resolveDataElementOptions(t,e),r=this._sharedOptions,o=this.getSharedOptions(n),i=this.includeOptions(e,o)||o!==r;return this.updateSharedOptions(o,e,n),{sharedOptions:o,includeOptions:i}}updateElement(t,e,n,r){qn(r)?Object.assign(t,n):this._resolveAnimations(e,r).update(t,n)}updateSharedOptions(t,e,n){t&&!qn(e)&&this._resolveAnimations(void 0,e).update(t,n)}_setStyle(t,e,n,r){t.active=r;const o=this.getStyle(e,r);this._resolveAnimations(e,n,r).update(t,{options:!r&&this.getSharedOptions(o)||o})}removeHoverStyle(t,e,n){this._setStyle(t,n,"active",!1)}setHoverStyle(t,e,n){this._setStyle(t,n,"active",!0)}_removeDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!1)}_setDatasetHoverStyle(){const t=this._cachedMeta.dataset;t&&this._setStyle(t,void 0,"active",!0)}_resyncElements(t){const e=this._data,n=this._cachedMeta.data;for(const[a,s,l]of this._syncList)this[a](s,l);this._syncList=[];const r=n.length,o=e.length,i=Math.min(o,r);i&&this.parse(0,i),o>r?this._insertElements(r,o-r,t):o<r&&this._removeElements(o,r-o)}_insertElements(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=this._cachedMeta,o=r.data,i=t+e;let a;const s=t=>{for(t.length+=e,a=t.length-1;a>=i;a--)t[a]=t[a-e]};for(s(o),a=t;a<i;++a)o[a]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(t,e),n&&this.updateElements(o,t,e,"reset")}updateElements(t,e,n,r){}_removeElements(t,e){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(t,e);n._stacked&&Vn(n,r)}n.data.splice(t,e)}_sync(t){if(this._parsing)this._syncList.push(t);else{const[e,n,r]=t;this[e](n,r)}this.chart._dataChanges.push([this.index,...t])}_onDataPush(){const t=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-t,t])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(t,e){e&&this._sync(["_removeElements",t,e]);const n=arguments.length-2;n&&this._sync(["_insertElements",t,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Gn(t){const e=t.iScale,n=function(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let r=[];for(let e=0,o=n.length;e<o;e++)r=r.concat(n[e].controller.getAllParsedValues(t));t._cache.$bar=It(r.sort((t,e)=>t-e))}return t._cache.$bar}(e,t.type);let r,o,i,a,s=e._length;const l=()=>{32767!==i&&-32768!==i&&(it(a)&&(s=Math.min(s,Math.abs(i-a)||s)),a=i)};for(r=0,o=n.length;r<o;++r)i=e.getPixelForValue(n[r]),l();for(a=void 0,r=0,o=e.ticks.length;r<o;++r)i=e.getPixelForTick(r),l();return s}function Yn(t,e,n,r){return H(t)?function(t,e,n,r){const o=n.parse(t[0],r),i=n.parse(t[1],r),a=Math.min(o,i),s=Math.max(o,i);let l=a,c=s;Math.abs(a)>Math.abs(s)&&(l=s,c=a),e[n.axis]=c,e._custom={barStart:l,barEnd:c,start:o,end:i,min:a,max:s}}(t,e,n,r):e[n.axis]=n.parse(t,r),e}function Kn(t,e,n,r){const o=t.iScale,i=t.vScale,a=o.getLabels(),s=o===i,l=[];let c,u,d,h;for(c=n,u=n+r;c<u;++c)h=e[c],d={},d[o.axis]=s||o.parse(a[c],c),l.push(Yn(h,d,i,c));return l}function $n(t){return t&&void 0!==t.barStart&&void 0!==t.barEnd}function Xn(t,e,n,r){let o=e.borderSkipped;const i={};if(!o)return void(t.borderSkipped=i);if(!0===o)return void(t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0});const{start:a,end:s,reverse:l,top:c,bottom:u}=function(t){let e,n,r,o,i;return t.horizontal?(e=t.base>t.x,n="left",r="right"):(e=t.base<t.y,n="bottom",r="top"),e?(o="end",i="start"):(o="start",i="end"),{start:n,end:r,reverse:e,top:o,bottom:i}}(t);"middle"===o&&n&&(t.enableBorderRadius=!0,(n._top||0)===r?o=c:(n._bottom||0)===r?o=u:(i[Qn(u,a,s,l)]=!0,o=c)),i[Qn(o,a,s,l)]=!0,t.borderSkipped=i}function Qn(t,e,n,r){var o,i,a;return r?(a=n,t=Zn(t=(o=t)===(i=e)?a:o===a?i:o,n,e)):t=Zn(t,e,n),t}function Zn(t,e,n){return"start"===t?e:"end"===t?n:t}function Jn(t,e,n){let{inflateAmount:r}=e;t.inflateAmount="auto"===r?1===n?.33:0:r}(0,o.A)(Wn,"defaults",{}),(0,o.A)(Wn,"datasetElementType",null),(0,o.A)(Wn,"dataElementType",null);class tr extends Wn{parsePrimitiveData(t,e,n,r){return Kn(t,e,n,r)}parseArrayData(t,e,n,r){return Kn(t,e,n,r)}parseObjectData(t,e,n,r){const{iScale:o,vScale:i}=t,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l="x"===o.axis?a:s,c="x"===i.axis?a:s,u=[];let d,h,f,p;for(d=n,h=n+r;d<h;++d)p=e[d],f={},f[o.axis]=o.parse(rt(p,l),d),u.push(Yn(rt(p,c),f,i,d));return u}updateRangeFromParsed(t,e,n,r){super.updateRangeFromParsed(t,e,n,r);const o=n._custom;o&&e===this._cachedMeta.vScale&&(t.min=Math.min(t.min,o.min),t.max=Math.max(t.max,o.max))}getMaxOverflow(){return 0}getLabelAndValue(t){const e=this._cachedMeta,{iScale:n,vScale:r}=e,o=this.getParsed(t),i=o._custom,a=$n(i)?"["+i.start+", "+i.end+"]":""+r.getLabelForValue(o[r.axis]);return{label:""+n.getLabelForValue(o[n.axis]),value:a}}initialize(){this.enableOptionSharing=!0,super.initialize();this._cachedMeta.stack=this.getDataset().stack}update(t){const e=this._cachedMeta;this.updateElements(e.data,0,e.data.length,t)}updateElements(t,e,n,r){const o="reset"===r,{index:i,_cachedMeta:{vScale:a}}=this,s=a.getBasePixel(),l=a.isHorizontal(),c=this._getRuler(),{sharedOptions:u,includeOptions:d}=this._getSharedOptions(e,r);for(let h=e;h<e+n;h++){const e=this.getParsed(h),n=o||F(e[a.axis])?{base:s,head:s}:this._calculateBarValuePixels(h),f=this._calculateBarIndexPixels(h,c),p=(e._stacks||{})[a.axis],g={horizontal:l,base:n.base,enableBorderRadius:!p||$n(e._custom)||i===p._top||i===p._bottom,x:l?n.head:f.center,y:l?f.center:n.head,height:l?f.size:Math.abs(n.size),width:l?Math.abs(n.size):f.size};d&&(g.options=u||this.resolveDataElementOptions(h,t[h].active?"active":r));const m=g.options||t[h].options;Xn(g,m,p,i),Jn(g,m,c.ratio),this.updateElement(t[h],h,g,r)}}_getStacks(t,e){const{iScale:n}=this._cachedMeta,r=n.getMatchingVisibleMetas(this._type).filter(t=>t.controller.options.grouped),o=n.options.stacked,i=[],a=t=>{const n=t.controller.getParsed(e),r=n&&n[t.vScale.axis];if(F(r)||isNaN(r))return!0};for(const s of r)if((void 0===e||!a(s))&&((!1===o||-1===i.indexOf(s.stack)||void 0===o&&void 0===s.stack)&&i.push(s.stack),s.index===t))break;return i.length||i.push(void 0),i}_getStackCount(t){return this._getStacks(void 0,t).length}_getStackIndex(t,e,n){const r=this._getStacks(t,n),o=void 0!==e?r.indexOf(e):-1;return-1===o?r.length-1:o}_getRuler(){const t=this.options,e=this._cachedMeta,n=e.iScale,r=[];let o,i;for(o=0,i=e.data.length;o<i;++o)r.push(n.getPixelForValue(this.getParsed(o)[n.axis],o));const a=t.barThickness;return{min:a||Gn(e),pixels:r,start:n._startPixel,end:n._endPixel,stackCount:this._getStackCount(),scale:n,grouped:t.grouped,ratio:a?1:t.categoryPercentage*t.barPercentage}}_calculateBarValuePixels(t){const{_cachedMeta:{vScale:e,_stacked:n,index:r},options:{base:o,minBarLength:i}}=this,a=o||0,s=this.getParsed(t),l=s._custom,c=$n(l);let u,d,h=s[e.axis],f=0,p=n?this.applyStack(e,s,n):h;p!==h&&(f=p-h,p=h),c&&(h=l.barStart,p=l.barEnd-l.barStart,0!==h&&vt(h)!==vt(l.barEnd)&&(f=0),f+=h);const g=F(o)||c?f:o;let m=e.getPixelForValue(g);if(u=this.chart.getDataVisibility(t)?e.getPixelForValue(f+p):m,d=u-m,Math.abs(d)<i){d=function(t,e,n){return 0!==t?vt(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}(d,e,a)*i,h===a&&(m-=d/2);const t=e.getPixelForDecimal(0),o=e.getPixelForDecimal(1),l=Math.min(t,o),f=Math.max(t,o);m=Math.max(Math.min(m,f),l),u=m+d,n&&!c&&(s._stacks[e.axis]._visualValues[r]=e.getValueForPixel(u)-e.getValueForPixel(m))}if(m===e.getPixelForValue(a)){const t=vt(d)*e.getLineWidthForValue(a)/2;m+=t,d-=t}return{size:d,base:m,head:u,center:u+d/2}}_calculateBarIndexPixels(t,e){const n=e.scale,r=this.options,o=r.skipNull,i=W(r.maxBarThickness,1/0);let a,s;if(e.grouped){const n=o?this._getStackCount(t):e.stackCount,l="flex"===r.barThickness?function(t,e,n,r){const o=e.pixels,i=o[t];let a=t>0?o[t-1]:null,s=t<o.length-1?o[t+1]:null;const l=n.categoryPercentage;null===a&&(a=i-(null===s?e.end-e.start:s-i)),null===s&&(s=i+i-a);const c=i-(i-Math.min(a,s))/2*l;return{chunk:Math.abs(s-a)/2*l/r,ratio:n.barPercentage,start:c}}(t,e,r,n):function(t,e,n,r){const o=n.barThickness;let i,a;return F(o)?(i=e.min*n.categoryPercentage,a=n.barPercentage):(i=o*r,a=1),{chunk:i/r,ratio:a,start:e.pixels[t]-i/2}}(t,e,r,n),c=this._getStackIndex(this.index,this._cachedMeta.stack,o?t:void 0);a=l.start+l.chunk*c+l.chunk/2,s=Math.min(i,l.chunk*l.ratio)}else a=n.getPixelForValue(this.getParsed(t)[n.axis],t),s=Math.min(i,e.min*e.ratio);return{base:a-s/2,head:a+s/2,center:a,size:s}}draw(){const t=this._cachedMeta,e=t.vScale,n=t.data,r=n.length;let o=0;for(;o<r;++o)null!==this.getParsed(o)[e.axis]&&n[o].draw(this._ctx)}}(0,o.A)(tr,"id","bar"),(0,o.A)(tr,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),(0,o.A)(tr,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});class er extends Wn{initialize(){this.enableOptionSharing=!0,super.initialize()}parsePrimitiveData(t,e,n,r){const o=super.parsePrimitiveData(t,e,n,r);for(let i=0;i<o.length;i++)o[i]._custom=this.resolveDataElementOptions(i+n).radius;return o}parseArrayData(t,e,n,r){const o=super.parseArrayData(t,e,n,r);for(let i=0;i<o.length;i++){const t=e[n+i];o[i]._custom=W(t[2],this.resolveDataElementOptions(i+n).radius)}return o}parseObjectData(t,e,n,r){const o=super.parseObjectData(t,e,n,r);for(let i=0;i<o.length;i++){const t=e[n+i];o[i]._custom=W(t&&t.r&&+t.r,this.resolveDataElementOptions(i+n).radius)}return o}getMaxOverflow(){const t=this._cachedMeta.data;let e=0;for(let n=t.length-1;n>=0;--n)e=Math.max(e,t[n].size(this.resolveDataElementOptions(n))/2);return e>0&&e}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:o}=e,i=this.getParsed(t),a=r.getLabelForValue(i.x),s=o.getLabelForValue(i.y),l=i._custom;return{label:n[t]||"",value:"("+a+", "+s+(l?", "+l:"")+")"}}update(t){const e=this._cachedMeta.data;this.updateElements(e,0,e.length,t)}updateElements(t,e,n,r){const o="reset"===r,{iScale:i,vScale:a}=this._cachedMeta,{sharedOptions:s,includeOptions:l}=this._getSharedOptions(e,r),c=i.axis,u=a.axis;for(let d=e;d<e+n;d++){const e=t[d],n=!o&&this.getParsed(d),h={},f=h[c]=o?i.getPixelForDecimal(.5):i.getPixelForValue(n[c]),p=h[u]=o?a.getBasePixel():a.getPixelForValue(n[u]);h.skip=isNaN(f)||isNaN(p),l&&(h.options=s||this.resolveDataElementOptions(d,e.active?"active":r),o&&(h.options.radius=0)),this.updateElement(e,d,h,r)}}resolveDataElementOptions(t,e){const n=this.getParsed(t);let r=super.resolveDataElementOptions(t,e);r.$shared&&(r=Object.assign({},r,{$shared:!1}));const o=r.radius;return"active"!==e&&(r.radius=0),r.radius+=W(n&&n._custom,o),r}}(0,o.A)(er,"id","bubble"),(0,o.A)(er,"defaults",{datasetElementType:!1,dataElementType:"point",animations:{numbers:{type:"number",properties:["x","y","borderWidth","radius"]}}}),(0,o.A)(er,"overrides",{scales:{x:{type:"linear"},y:{type:"linear"}}});class nr extends Wn{constructor(t,e){super(t,e),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(t,e){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let o,i,a=t=>+n[t];if(V(n[t])){const{key:t="value"}=this._parsing;a=e=>+rt(n[e],t)}for(o=t,i=t+e;o<i;++o)r._parsed[o]=a(o)}}_getRotation(){return kt(this.options.rotation-90)}_getCircumference(){return kt(this.options.circumference)}_getRotationExtents(){let t=ct,e=-ct;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const r=this.chart.getDatasetMeta(n).controller,o=r._getRotation(),i=r._getCircumference();t=Math.min(t,o),e=Math.max(e,o+i)}return{rotation:t,circumference:e-t}}update(t){const e=this.chart,{chartArea:n}=e,r=this._cachedMeta,o=r.data,i=this.getMaxBorderWidth()+this.getMaxOffset(o)+this.options.spacing,a=Math.max((Math.min(n.width,n.height)-i)/2,0),s=Math.min((l=this.options.cutout,c=a,"string"===typeof l&&l.endsWith("%")?parseFloat(l)/100:+l/c),1);var l,c;const u=this._getRingWeight(this.index),{circumference:d,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:g,offsetY:m}=function(t,e,n){let r=1,o=1,i=0,a=0;if(e<ct){const s=t,l=s+e,c=Math.cos(s),u=Math.sin(s),d=Math.cos(l),h=Math.sin(l),f=(t,e,r)=>Pt(t,s,l,!0)?1:Math.max(e,e*n,r,r*n),p=(t,e,r)=>Pt(t,s,l,!0)?-1:Math.min(e,e*n,r,r*n),g=f(0,c,d),m=f(ft,u,h),v=p(lt,c,d),y=p(lt+ft,u,h);r=(g-v)/2,o=(m-y)/2,i=-(g+v)/2,a=-(m+y)/2}return{ratioX:r,ratioY:o,offsetX:i,offsetY:a}}(h,d,s),v=(n.width-i)/f,y=(n.height-i)/p,b=Math.max(Math.min(v,y)/2,0),x=G(this.options.radius,b),w=(x-Math.max(x*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=g*x,this.offsetY=m*x,r.total=this.calculateTotal(),this.outerRadius=x-w*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-w*u,0),this.updateElements(o,0,o.length,t)}_circumference(t,e){const n=this.options,r=this._cachedMeta,o=this._getCircumference();return e&&n.animation.animateRotate||!this.chart.getDataVisibility(t)||null===r._parsed[t]||r.data[t].hidden?0:this.calculateCircumference(r._parsed[t]*o/ct)}updateElements(t,e,n,r){const o="reset"===r,i=this.chart,a=i.chartArea,s=i.options.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,u=o&&s.animateScale,d=u?0:this.innerRadius,h=u?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(e,r);let g,m=this._getRotation();for(g=0;g<e;++g)m+=this._circumference(g,o);for(g=e;g<e+n;++g){const e=this._circumference(g,o),n=t[g],i={x:l+this.offsetX,y:c+this.offsetY,startAngle:m,endAngle:m+e,circumference:e,outerRadius:h,innerRadius:d};p&&(i.options=f||this.resolveDataElementOptions(g,n.active?"active":r)),m+=e,this.updateElement(n,g,i,r)}}calculateTotal(){const t=this._cachedMeta,e=t.data;let n,r=0;for(n=0;n<e.length;n++){const o=t._parsed[n];null===o||isNaN(o)||!this.chart.getDataVisibility(n)||e[n].hidden||(r+=Math.abs(o))}return r}calculateCircumference(t){const e=this._cachedMeta.total;return e>0&&!isNaN(t)?ct*(Math.abs(t)/e):0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=te(e._parsed[t],n.options.locale);return{label:r[t]||"",value:o}}getMaxBorderWidth(t){let e=0;const n=this.chart;let r,o,i,a,s;if(!t)for(r=0,o=n.data.datasets.length;r<o;++r)if(n.isDatasetVisible(r)){i=n.getDatasetMeta(r),t=i.data,a=i.controller;break}if(!t)return 0;for(r=0,o=t.length;r<o;++r)s=a.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(e=Math.max(e,s.borderWidth||0,s.hoverBorderWidth||0));return e}getMaxOffset(t){let e=0;for(let n=0,r=t.length;n<r;++n){const t=this.resolveDataElementOptions(n);e=Math.max(e,t.offset||0,t.hoverOffset||0)}return e}_getRingWeightOffset(t){let e=0;for(let n=0;n<t;++n)this.chart.isDatasetVisible(n)&&(e+=this._getRingWeight(n));return e}_getRingWeight(t){return Math.max(W(this.chart.data.datasets[t].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}(0,o.A)(nr,"id","doughnut"),(0,o.A)(nr,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),(0,o.A)(nr,"descriptors",{_scriptable:t=>"spacing"!==t,_indexable:t=>"spacing"!==t&&!t.startsWith("borderDash")&&!t.startsWith("hoverBorderDash")}),(0,o.A)(nr,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map((e,o)=>{const i=t.getDatasetMeta(0).controller.getStyle(o);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:r,lineWidth:i.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}}});class rr extends Wn{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(t){const e=this._cachedMeta,{dataset:n,data:r=[],_dataset:o}=e,i=this.chart._animationsDisabled;let{start:a,count:s}=Vt(e,r,i);this._drawStart=a,this._drawCount=s,qt(e)&&(a=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!o._decimated,n.points=r;const l=this.resolveDatasetElementOptions(t);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!i,options:l},t),this.updateElements(r,a,s,t)}updateElements(t,e,n,r){const o="reset"===r,{iScale:i,vScale:a,_stacked:s,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:u}=this._getSharedOptions(e,r),d=i.axis,h=a.axis,{spanGaps:f,segment:p}=this.options,g=xt(f)?f:Number.POSITIVE_INFINITY,m=this.chart._animationsDisabled||o||"none"===r,v=e+n,y=t.length;let b=e>0&&this.getParsed(e-1);for(let x=0;x<y;++x){const n=t[x],f=m?n:{};if(x<e||x>=v){f.skip=!0;continue}const y=this.getParsed(x),w=F(y[h]),k=f[d]=i.getPixelForValue(y[d],x),A=f[h]=o||w?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,y,s):y[h],x);f.skip=isNaN(k)||isNaN(A)||w,f.stop=x>0&&Math.abs(y[d]-b[d])>g,p&&(f.parsed=y,f.raw=l.data[x]),u&&(f.options=c||this.resolveDataElementOptions(x,n.active?"active":r)),m||this.updateElement(n,x,f,r),b=y}}getMaxOverflow(){const t=this._cachedMeta,e=t.dataset,n=e.options&&e.options.borderWidth||0,r=t.data||[];if(!r.length)return n;const o=r[0].size(this.resolveDataElementOptions(0)),i=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,o,i)/2}draw(){const t=this._cachedMeta;t.dataset.updateControlPoints(this.chart.chartArea,t.iScale.axis),super.draw()}}(0,o.A)(rr,"id","line"),(0,o.A)(rr,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),(0,o.A)(rr,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class or extends Wn{constructor(t,e){super(t,e),this.innerRadius=void 0,this.outerRadius=void 0}getLabelAndValue(t){const e=this._cachedMeta,n=this.chart,r=n.data.labels||[],o=te(e._parsed[t].r,n.options.locale);return{label:r[t]||"",value:o}}parseObjectData(t,e,n,r){return Ke.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta.data;this._updateRadius(),this.updateElements(e,0,e.length,t)}getMinMax(){const t=this._cachedMeta,e={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY};return t.data.forEach((t,n)=>{const r=this.getParsed(n).r;!isNaN(r)&&this.chart.getDataVisibility(n)&&(r<e.min&&(e.min=r),r>e.max&&(e.max=r))}),e}_updateRadius(){const t=this.chart,e=t.chartArea,n=t.options,r=Math.min(e.right-e.left,e.bottom-e.top),o=Math.max(r/2,0),i=(o-Math.max(n.cutoutPercentage?o/100*n.cutoutPercentage:1,0))/t.getVisibleDatasetCount();this.outerRadius=o-i*this.index,this.innerRadius=this.outerRadius-i}updateElements(t,e,n,r){const o="reset"===r,i=this.chart,a=i.options.animation,s=this._cachedMeta.rScale,l=s.xCenter,c=s.yCenter,u=s.getIndexAngle(0)-.5*lt;let d,h=u;const f=360/this.countVisibleElements();for(d=0;d<e;++d)h+=this._computeAngle(d,r,f);for(d=e;d<e+n;d++){const e=t[d];let n=h,p=h+this._computeAngle(d,r,f),g=i.getDataVisibility(d)?s.getDistanceFromCenterForValue(this.getParsed(d).r):0;h=p,o&&(a.animateScale&&(g=0),a.animateRotate&&(n=p=u));const m={x:l,y:c,innerRadius:0,outerRadius:g,startAngle:n,endAngle:p,options:this.resolveDataElementOptions(d,e.active?"active":r)};this.updateElement(e,d,m,r)}}countVisibleElements(){const t=this._cachedMeta;let e=0;return t.data.forEach((t,n)=>{!isNaN(this.getParsed(n).r)&&this.chart.getDataVisibility(n)&&e++}),e}_computeAngle(t,e,n){return this.chart.getDataVisibility(t)?kt(this.resolveDataElementOptions(t,e).angle||n):0}}(0,o.A)(or,"id","polarArea"),(0,o.A)(or,"defaults",{dataElementType:"arc",animation:{animateRotate:!0,animateScale:!0},animations:{numbers:{type:"number",properties:["x","y","startAngle","endAngle","innerRadius","outerRadius"]}},indexAxis:"r",startAngle:0}),(0,o.A)(or,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(t){const e=t.data;if(e.labels.length&&e.datasets.length){const{labels:{pointStyle:n,color:r}}=t.legend.options;return e.labels.map((e,o)=>{const i=t.getDatasetMeta(0).controller.getStyle(o);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,fontColor:r,lineWidth:i.borderWidth,pointStyle:n,hidden:!t.getDataVisibility(o),index:o}})}return[]}},onClick(t,e,n){n.chart.toggleDataVisibility(e.index),n.chart.update()}}},scales:{r:{type:"radialLinear",angleLines:{display:!1},beginAtZero:!0,grid:{circular:!0},pointLabels:{display:!1},startAngle:0}}});class ir extends nr{}(0,o.A)(ir,"id","pie"),(0,o.A)(ir,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});class ar extends Wn{getLabelAndValue(t){const e=this._cachedMeta.vScale,n=this.getParsed(t);return{label:e.getLabels()[t],value:""+e.getLabelForValue(n[e.axis])}}parseObjectData(t,e,n,r){return Ke.bind(this)(t,e,n,r)}update(t){const e=this._cachedMeta,n=e.dataset,r=e.data||[],o=e.iScale.getLabels();if(n.points=r,"resize"!==t){const e=this.resolveDatasetElementOptions(t);this.options.showLine||(e.borderWidth=0);const i={_loop:!0,_fullLoop:o.length===r.length,options:e};this.updateElement(n,void 0,i,t)}this.updateElements(r,0,r.length,t)}updateElements(t,e,n,r){const o=this._cachedMeta.rScale,i="reset"===r;for(let a=e;a<e+n;a++){const e=t[a],n=this.resolveDataElementOptions(a,e.active?"active":r),s=o.getPointPositionForValue(a,this.getParsed(a).r),l=i?o.xCenter:s.x,c=i?o.yCenter:s.y,u={x:l,y:c,angle:s.angle,skip:isNaN(l)||isNaN(c),options:n};this.updateElement(e,a,u,r)}}}(0,o.A)(ar,"id","radar"),(0,o.A)(ar,"defaults",{datasetElementType:"line",dataElementType:"point",indexAxis:"r",showLine:!0,elements:{line:{fill:"start"}}}),(0,o.A)(ar,"overrides",{aspectRatio:1,scales:{r:{type:"radialLinear"}}});class sr extends Wn{getLabelAndValue(t){const e=this._cachedMeta,n=this.chart.data.labels||[],{xScale:r,yScale:o}=e,i=this.getParsed(t),a=r.getLabelForValue(i.x),s=o.getLabelForValue(i.y);return{label:n[t]||"",value:"("+a+", "+s+")"}}update(t){const e=this._cachedMeta,{data:n=[]}=e,r=this.chart._animationsDisabled;let{start:o,count:i}=Vt(e,n,r);if(this._drawStart=o,this._drawCount=i,qt(e)&&(o=0,i=n.length),this.options.showLine){this.datasetElementType||this.addElements();const{dataset:o,_dataset:i}=e;o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=n;const a=this.resolveDatasetElementOptions(t);a.segment=this.options.segment,this.updateElement(o,void 0,{animated:!r,options:a},t)}else this.datasetElementType&&(delete e.dataset,this.datasetElementType=!1);this.updateElements(n,o,i,t)}addElements(){const{showLine:t}=this.options;!this.datasetElementType&&t&&(this.datasetElementType=this.chart.registry.getElement("line")),super.addElements()}updateElements(t,e,n,r){const o="reset"===r,{iScale:i,vScale:a,_stacked:s,_dataset:l}=this._cachedMeta,c=this.resolveDataElementOptions(e,r),u=this.getSharedOptions(c),d=this.includeOptions(r,u),h=i.axis,f=a.axis,{spanGaps:p,segment:g}=this.options,m=xt(p)?p:Number.POSITIVE_INFINITY,v=this.chart._animationsDisabled||o||"none"===r;let y=e>0&&this.getParsed(e-1);for(let b=e;b<e+n;++b){const e=t[b],n=this.getParsed(b),c=v?e:{},p=F(n[f]),x=c[h]=i.getPixelForValue(n[h],b),w=c[f]=o||p?a.getBasePixel():a.getPixelForValue(s?this.applyStack(a,n,s):n[f],b);c.skip=isNaN(x)||isNaN(w)||p,c.stop=b>0&&Math.abs(n[h]-y[h])>m,g&&(c.parsed=n,c.raw=l.data[b]),d&&(c.options=u||this.resolveDataElementOptions(b,e.active?"active":r)),v||this.updateElement(e,b,c,r),y=n}this.updateSharedOptions(u,r,c)}getMaxOverflow(){const t=this._cachedMeta,e=t.data||[];if(!this.options.showLine){let t=0;for(let n=e.length-1;n>=0;--n)t=Math.max(t,e[n].size(this.resolveDataElementOptions(n))/2);return t>0&&t}const n=t.dataset,r=n.options&&n.options.borderWidth||0;if(!e.length)return r;const o=e[0].size(this.resolveDataElementOptions(0)),i=e[e.length-1].size(this.resolveDataElementOptions(e.length-1));return Math.max(r,o,i)/2}}(0,o.A)(sr,"id","scatter"),(0,o.A)(sr,"defaults",{datasetElementType:!1,dataElementType:"point",showLine:!1,fill:!1}),(0,o.A)(sr,"overrides",{interaction:{mode:"point"},scales:{x:{type:"linear"},y:{type:"linear"}}});function lr(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class cr{static override(t){Object.assign(cr.prototype,t)}constructor(t){(0,o.A)(this,"options",void 0),this.options=t||{}}init(){}formats(){return lr()}parse(){return lr()}format(){return lr()}add(){return lr()}diff(){return lr()}startOf(){return lr()}endOf(){return lr()}}var ur=cr;function dr(t,e,n,r){const{controller:o,data:i,_sorted:a}=t,s=o._cachedMeta.iScale;if(s&&e===s.axis&&"r"!==e&&a&&i.length){const t=s._reversePixels?Lt:Rt;if(!r)return t(i,e,n);if(o._sharedOptions){const r=i[0],o="function"===typeof r.getRange&&r.getRange(e);if(o){const r=t(i,e,n-o),a=t(i,e,n+o);return{lo:r.lo,hi:a.hi}}}}return{lo:0,hi:i.length-1}}function hr(t,e,n,r,o){const i=t.getSortedVisibleDatasetMetas(),a=n[e];for(let s=0,l=i.length;s<l;++s){const{index:t,data:n}=i[s],{lo:l,hi:c}=dr(i[s],e,a,o);for(let e=l;e<=c;++e){const o=n[e];o.skip||r(o,t,e)}}}function fr(t,e,n,r,o){const i=[];if(!o&&!t.isPointInArea(e))return i;return hr(t,n,e,function(n,a,s){(o||ge(n,t.chartArea,0))&&n.inRange(e.x,e.y,r)&&i.push({element:n,datasetIndex:a,index:s})},!0),i}function pr(t,e,n,r,o,i){let a=[];const s=function(t){const e=-1!==t.indexOf("x"),n=-1!==t.indexOf("y");return function(t,r){const o=e?Math.abs(t.x-r.x):0,i=n?Math.abs(t.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}(n);let l=Number.POSITIVE_INFINITY;return hr(t,n,e,function(n,c,u){const d=n.inRange(e.x,e.y,o);if(r&&!d)return;const h=n.getCenterPoint(o);if(!(!!i||t.isPointInArea(h))&&!d)return;const f=s(e,h);f<l?(a=[{element:n,datasetIndex:c,index:u}],l=f):f===l&&a.push({element:n,datasetIndex:c,index:u})}),a}function gr(t,e,n,r,o,i){return i||t.isPointInArea(e)?"r"!==n||r?pr(t,e,n,r,o,i):function(t,e,n,r){let o=[];return hr(t,n,e,function(t,n,i){const{startAngle:a,endAngle:s}=t.getProps(["startAngle","endAngle"],r),{angle:l}=St(t,{x:e.x,y:e.y});Pt(l,a,s)&&o.push({element:t,datasetIndex:n,index:i})}),o}(t,e,n,o):[]}function mr(t,e,n,r,o){const i=[],a="x"===n?"inXRange":"inYRange";let s=!1;return hr(t,n,e,(t,r,l)=>{t[a](e[n],o)&&(i.push({element:t,datasetIndex:r,index:l}),s=s||t.inRange(e.x,e.y,o))}),r&&!s?[]:i}var vr={evaluateInteractionItems:hr,modes:{index(t,e,n,r){const o=cn(e,t),i=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?fr(t,o,i,r,a):gr(t,o,i,!1,r,a),l=[];return s.length?(t.getSortedVisibleDatasetMetas().forEach(t=>{const e=s[0].index,n=t.data[e];n&&!n.skip&&l.push({element:n,datasetIndex:t.index,index:e})}),l):[]},dataset(t,e,n,r){const o=cn(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?fr(t,o,i,r,a):gr(t,o,i,!1,r,a);if(s.length>0){const e=s[0].datasetIndex,n=t.getDatasetMeta(e).data;s=[];for(let t=0;t<n.length;++t)s.push({element:n[t],datasetIndex:e,index:t})}return s},point:(t,e,n,r)=>fr(t,cn(e,t),n.axis||"xy",r,n.includeInvisible||!1),nearest(t,e,n,r){const o=cn(e,t),i=n.axis||"xy",a=n.includeInvisible||!1;return gr(t,o,i,n.intersect,r,a)},x:(t,e,n,r)=>mr(t,cn(e,t),"x",n.intersect,r),y:(t,e,n,r)=>mr(t,cn(e,t),"y",n.intersect,r)}};const yr=["left","top","right","bottom"];function br(t,e){return t.filter(t=>t.pos===e)}function xr(t,e){return t.filter(t=>-1===yr.indexOf(t.pos)&&t.box.axis===e)}function wr(t,e){return t.sort((t,n)=>{const r=e?n:t,o=e?t:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight})}function kr(t,e){const n=function(t){const e={};for(const n of t){const{stack:t,pos:r,stackWeight:o}=n;if(!t||!yr.includes(r))continue;const i=e[t]||(e[t]={count:0,placed:0,weight:0,size:0});i.count++,i.weight+=o}return e}(t),{vBoxMaxWidth:r,hBoxMaxHeight:o}=e;let i,a,s;for(i=0,a=t.length;i<a;++i){s=t[i];const{fullSize:a}=s.box,l=n[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*r:a&&e.availableWidth,s.height=o):(s.width=r,s.height=c?c*o:a&&e.availableHeight)}return n}function Ar(t,e,n,r){return Math.max(t[n],e[n])+Math.max(t[r],e[r])}function _r(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function Sr(t,e,n,r){const{pos:o,box:i}=n,a=t.maxPadding;if(!V(o)){n.size&&(t[o]-=n.size);const e=r[n.stack]||{size:0,count:1};e.size=Math.max(e.size,n.horizontal?i.height:i.width),n.size=e.size/e.count,t[o]+=n.size}i.getPadding&&_r(a,i.getPadding());const s=Math.max(0,e.outerWidth-Ar(a,t,"left","right")),l=Math.max(0,e.outerHeight-Ar(a,t,"top","bottom")),c=s!==t.w,u=l!==t.h;return t.w=s,t.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Cr(t,e){const n=e.maxPadding;function r(t){const r={left:0,top:0,right:0,bottom:0};return t.forEach(t=>{r[t]=Math.max(e[t],n[t])}),r}return r(t?["left","right"]:["top","bottom"])}function Er(t,e,n,r){const o=[];let i,a,s,l,c,u;for(i=0,a=t.length,c=0;i<a;++i){s=t[i],l=s.box,l.update(s.width||e.w,s.height||e.h,Cr(s.horizontal,e));const{same:a,other:d}=Sr(e,n,s,r);c|=a&&o.length,u=u||d,l.fullSize||o.push(s)}return c&&Er(o,e,n,r)||u}function Or(t,e,n,r,o){t.top=n,t.left=e,t.right=e+r,t.bottom=n+o,t.width=r,t.height=o}function Pr(t,e,n,r){const o=n.padding;let{x:i,y:a}=e;for(const s of t){const t=s.box,l=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const r=e.w*c,i=l.size||t.height;it(l.start)&&(a=l.start),t.fullSize?Or(t,o.left,a,n.outerWidth-o.right-o.left,i):Or(t,e.left+l.placed,a,r,i),l.start=a,l.placed+=r,a=t.bottom}else{const r=e.h*c,a=l.size||t.width;it(l.start)&&(i=l.start),t.fullSize?Or(t,i,o.top,a,n.outerHeight-o.bottom-o.top):Or(t,i,e.top+l.placed,a,r),l.start=i,l.placed+=r,i=t.right}}e.x=i,e.y=a}var Mr={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(t){e.draw(t)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;-1!==n&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,r){if(!t)return;const o=Te(t.options.layout.padding),i=Math.max(e-o.width,0),a=Math.max(n-o.height,0),s=function(t){const e=function(t){const e=[];let n,r,o,i,a,s;for(n=0,r=(t||[]).length;n<r;++n)o=t[n],({position:i,options:{stack:a,stackWeight:s=1}}=o),e.push({index:n,box:o,pos:i,horizontal:o.isHorizontal(),weight:o.weight,stack:a&&i+a,stackWeight:s});return e}(t),n=wr(e.filter(t=>t.box.fullSize),!0),r=wr(br(e,"left"),!0),o=wr(br(e,"right")),i=wr(br(e,"top"),!0),a=wr(br(e,"bottom")),s=xr(e,"x"),l=xr(e,"y");return{fullSize:n,leftAndTop:r.concat(i),rightAndBottom:o.concat(l).concat(a).concat(s),chartArea:br(e,"chartArea"),vertical:r.concat(o).concat(l),horizontal:i.concat(a).concat(s)}}(t.boxes),l=s.vertical,c=s.horizontal;K(t.boxes,t=>{"function"===typeof t.beforeLayout&&t.beforeLayout()});const u=l.reduce((t,e)=>e.box.options&&!1===e.box.options.display?t:t+1,0)||1,d=Object.freeze({outerWidth:e,outerHeight:n,padding:o,availableWidth:i,availableHeight:a,vBoxMaxWidth:i/2/u,hBoxMaxHeight:a/2}),h=Object.assign({},o);_r(h,Te(r));const f=Object.assign({maxPadding:h,w:i,h:a,x:o.left,y:o.top},o),p=kr(l.concat(c),d);Er(s.fullSize,f,d,p),Er(l,f,d,p),Er(c,f,d,p)&&Er(l,f,d,p),function(t){const e=t.maxPadding;function n(n){const r=Math.max(e[n]-t[n],0);return t[n]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}(f),Pr(s.leftAndTop,f,d,p),f.x+=f.w,f.y+=f.h,Pr(s.rightAndBottom,f,d,p),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},K(s.chartArea,e=>{const n=e.box;Object.assign(n,t.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class Tr{acquireContext(t,e){}releaseContext(t){return!1}addEventListener(t,e,n){}removeEventListener(t,e,n){}getDevicePixelRatio(){return 1}getMaximumSize(t,e,n,r){return e=Math.max(0,e||t.width),n=n||t.height,{width:e,height:Math.max(0,r?Math.floor(e/r):n)}}isAttached(t){return!0}updateConfig(t){}}class Nr extends Tr{acquireContext(t){return t&&t.getContext&&t.getContext("2d")||null}updateConfig(t){t.options.animation=!1}}const Rr="$chartjs",Lr={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},Dr=t=>null===t||""===t;const jr=!!fn&&{passive:!0};function Ir(t,e,n){t.canvas.removeEventListener(e,n,jr)}function zr(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function Br(t,e,n){const r=t.canvas,o=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||zr(n.addedNodes,r),e=e&&!zr(n.removedNodes,r);e&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}function Fr(t,e,n){const r=t.canvas,o=new MutationObserver(t=>{let e=!1;for(const n of t)e=e||zr(n.removedNodes,r),e=e&&!zr(n.addedNodes,r);e&&n()});return o.observe(document,{childList:!0,subtree:!0}),o}const Hr=new Map;let Vr=0;function qr(){const t=window.devicePixelRatio;t!==Vr&&(Vr=t,Hr.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function Ur(t,e,n){const r=t.canvas,o=r&&rn(r);if(!o)return;const i=Bt((t,e)=>{const r=o.clientWidth;n(t,e),r<o.clientWidth&&n()},window),a=new ResizeObserver(t=>{const e=t[0],n=e.contentRect.width,r=e.contentRect.height;0===n&&0===r||i(n,r)});return a.observe(o),function(t,e){Hr.size||window.addEventListener("resize",qr),Hr.set(t,e)}(t,i),a}function Wr(t,e,n){n&&n.disconnect(),"resize"===e&&function(t){Hr.delete(t),Hr.size||window.removeEventListener("resize",qr)}(t)}function Gr(t,e,n){const r=t.canvas,o=Bt(e=>{null!==t.ctx&&n(function(t,e){const n=Lr[t.type]||t.type,{x:r,y:o}=cn(t,e);return{type:n,chart:e,native:t,x:void 0!==r?r:null,y:void 0!==o?o:null}}(e,t))},t);return function(t,e,n){t.addEventListener(e,n,jr)}(r,e,o),o}class Yr extends Tr{acquireContext(t,e){const n=t&&t.getContext&&t.getContext("2d");return n&&n.canvas===t?(function(t,e){const n=t.style,r=t.getAttribute("height"),o=t.getAttribute("width");if(t[Rr]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",Dr(o)){const e=pn(t,"width");void 0!==e&&(t.width=e)}if(Dr(r))if(""===t.style.height)t.height=t.width/(e||2);else{const e=pn(t,"height");void 0!==e&&(t.height=e)}}(t,e),n):null}releaseContext(t){const e=t.canvas;if(!e[Rr])return!1;const n=e[Rr].initial;["height","width"].forEach(t=>{const r=n[t];F(r)?e.removeAttribute(t):e.setAttribute(t,r)});const r=n.style||{};return Object.keys(r).forEach(t=>{e.style[t]=r[t]}),e.width=e.width,delete e[Rr],!0}addEventListener(t,e,n){this.removeEventListener(t,e);const r=t.$proxies||(t.$proxies={}),o={attach:Br,detach:Fr,resize:Ur}[e]||Gr;r[e]=o(t,e,n)}removeEventListener(t,e){const n=t.$proxies||(t.$proxies={}),r=n[e];if(!r)return;({attach:Wr,detach:Wr,resize:Wr}[e]||Ir)(t,e,r),n[e]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(t,e,n,r){return dn(t,e,n,r)}isAttached(t){const e=rn(t);return!(!e||!e.isConnected)}}class Kr{constructor(){(0,o.A)(this,"x",void 0),(0,o.A)(this,"y",void 0),(0,o.A)(this,"active",!1),(0,o.A)(this,"options",void 0),(0,o.A)(this,"$animations",void 0)}tooltipPosition(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}hasValue(){return xt(this.x)&&xt(this.y)}getProps(t,e){const n=this.$animations;if(!e||!n)return this;const r={};return t.forEach(t=>{r[t]=n[t]&&n[t].active()?n[t]._to:this[t]}),r}}function $r(t,e){const n=t.options.ticks,r=function(t){const e=t.options.offset,n=t._tickSize(),r=t._length/n+(e?0:1),o=t._maxLength/n;return Math.floor(Math.min(r,o))}(t),o=Math.min(n.maxTicksLimit||r,r),i=n.major.enabled?function(t){const e=[];let n,r;for(n=0,r=t.length;n<r;n++)t[n].major&&e.push(n);return e}(e):[],a=i.length,s=i[0],l=i[a-1],c=[];if(a>o)return function(t,e,n,r){let o,i=0,a=n[0];for(r=Math.ceil(r),o=0;o<t.length;o++)o===a&&(e.push(t[o]),i++,a=n[i*r])}(e,c,i,a/o),c;const u=function(t,e,n){const r=function(t){const e=t.length;let n,r;if(e<2)return!1;for(r=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==r)return!1;return r}(t),o=e.length/n;if(!r)return Math.max(o,1);const i=function(t){const e=[],n=Math.sqrt(t);let r;for(r=1;r<n;r++)t%r===0&&(e.push(r),e.push(t/r));return n===(0|n)&&e.push(n),e.sort((t,e)=>t-e).pop(),e}(r);for(let a=0,s=i.length-1;a<s;a++){const t=i[a];if(t>o)return t}return Math.max(o,1)}(i,e,o);if(a>0){let t,n;const r=a>1?Math.round((l-s)/(a-1)):null;for(Xr(e,c,u,F(r)?0:s-r,s),t=0,n=a-1;t<n;t++)Xr(e,c,u,i[t],i[t+1]);return Xr(e,c,u,l,F(r)?e.length:l+r),c}return Xr(e,c,u),c}function Xr(t,e,n,r,o){const i=W(r,0),a=Math.min(W(o,t.length),t.length);let s,l,c,u=0;for(n=Math.ceil(n),o&&(s=o-r,n=s/Math.floor(s/n)),c=i;c<0;)u++,c=Math.round(i+u*n);for(l=Math.max(i,0);l<a;l++)l===c&&(e.push(t[l]),u++,c=Math.round(i+u*n))}(0,o.A)(Kr,"defaults",{}),(0,o.A)(Kr,"defaultRoutes",void 0);const Qr=(t,e,n)=>"top"===e||"left"===e?t[e]+n:t[e]-n,Zr=(t,e)=>Math.min(e||t,t);function Jr(t,e){const n=[],r=t.length/e,o=t.length;let i=0;for(;i<o;i+=r)n.push(t[Math.floor(i)]);return n}function to(t,e,n){const r=t.ticks.length,o=Math.min(e,r-1),i=t._startPixel,a=t._endPixel,s=1e-6;let l,c=t.getPixelForTick(o);if(!(n&&(l=1===r?Math.max(c-i,a-c):0===e?(t.getPixelForTick(1)-c)/2:(c-t.getPixelForTick(o-1))/2,c+=o<e?l:-l,c<i-s||c>a+s)))return c}function eo(t){return t.drawTicks?t.tickLength:0}function no(t,e){if(!t.display)return 0;const n=Ne(t.font,e),r=Te(t.padding);return(H(t.text)?t.text.length:1)*n.lineHeight+r.height}function ro(t,e,n){let r=Ft(t);return(n&&"right"!==e||!n&&"right"===e)&&(r=(t=>"left"===t?"right":"right"===t?"left":t)(r)),r}class oo extends Kr{constructor(t){super(),this.id=t.id,this.type=t.type,this.options=void 0,this.ctx=t.ctx,this.chart=t.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(t){this.options=t.setContext(this.getContext()),this.axis=t.axis,this._userMin=this.parse(t.min),this._userMax=this.parse(t.max),this._suggestedMin=this.parse(t.suggestedMin),this._suggestedMax=this.parse(t.suggestedMax)}parse(t,e){return t}getUserBounds(){let{_userMin:t,_userMax:e,_suggestedMin:n,_suggestedMax:r}=this;return t=U(t,Number.POSITIVE_INFINITY),e=U(e,Number.NEGATIVE_INFINITY),n=U(n,Number.POSITIVE_INFINITY),r=U(r,Number.NEGATIVE_INFINITY),{min:U(t,n),max:U(e,r),minDefined:q(t),maxDefined:q(e)}}getMinMax(t){let e,{min:n,max:r,minDefined:o,maxDefined:i}=this.getUserBounds();if(o&&i)return{min:n,max:r};const a=this.getMatchingVisibleMetas();for(let s=0,l=a.length;s<l;++s)e=a[s].controller.getMinMax(this,t),o||(n=Math.min(n,e.min)),i||(r=Math.max(r,e.max));return n=i&&n>r?r:n,r=o&&n>r?n:r,{min:U(n,U(r,n)),max:U(r,U(n,r))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const t=this.chart.data;return this.options.labels||(this.isHorizontal()?t.xLabels:t.yLabels)||t.labels||[]}getLabelItems(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.chart.chartArea;return this._labelItems||(this._labelItems=this._computeLabelItems(t))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Y(this.options.beforeUpdate,[this])}update(t,e,n){const{beginAtZero:r,grace:o,ticks:i}=this.options,a=i.sampleSize;this.beforeUpdate(),this.maxWidth=t,this.maxHeight=e,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(t,e,n){const{min:r,max:o}=t,i=G(e,(o-r)/2),a=(t,e)=>n&&0===t?0:t+e;return{min:a(r,-Math.abs(i)),max:a(o,i)}}(this,o,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?Jr(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),i.display&&(i.autoSkip||"auto"===i.source)&&(this.ticks=$r(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let t,e,n=this.options.reverse;this.isHorizontal()?(t=this.left,e=this.right):(t=this.top,e=this.bottom,n=!n),this._startPixel=t,this._endPixel=e,this._reversePixels=n,this._length=e-t,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Y(this.options.afterUpdate,[this])}beforeSetDimensions(){Y(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Y(this.options.afterSetDimensions,[this])}_callHooks(t){this.chart.notifyPlugins(t,this.getContext()),Y(this.options[t],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Y(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(t){const e=this.options.ticks;let n,r,o;for(n=0,r=t.length;n<r;n++)o=t[n],o.label=Y(e.callback,[o.value,n,t],this)}afterTickToLabelConversion(){Y(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Y(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const t=this.options,e=t.ticks,n=Zr(this.ticks.length,t.ticks.maxTicksLimit),r=e.minRotation||0,o=e.maxRotation;let i,a,s,l=r;if(!this._isVisible()||!e.display||r>=o||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,h=Mt(this.chart.width-u,0,this.maxWidth);i=t.offset?this.maxWidth/n:h/(n-1),u+6>i&&(i=h/(n-(t.offset?.5:1)),a=this.maxHeight-eo(t.grid)-e.padding-no(t.title,this.chart.options.font),s=Math.sqrt(u*u+d*d),l=At(Math.min(Math.asin(Mt((c.highest.height+6)/i,-1,1)),Math.asin(Mt(a/s,-1,1))-Math.asin(Mt(d/s,-1,1)))),l=Math.max(r,Math.min(o,l))),this.labelRotation=l}afterCalculateLabelRotation(){Y(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Y(this.options.beforeFit,[this])}fit(){const t={width:0,height:0},{chart:e,options:{ticks:n,title:r,grid:o}}=this,i=this._isVisible(),a=this.isHorizontal();if(i){const i=no(r,e.options.font);if(a?(t.width=this.maxWidth,t.height=eo(o)+i):(t.height=this.maxHeight,t.width=eo(o)+i),n.display&&this.ticks.length){const{first:e,last:r,widest:o,highest:i}=this._getLabelSizes(),s=2*n.padding,l=kt(this.labelRotation),c=Math.cos(l),u=Math.sin(l);if(a){const e=n.mirror?0:u*o.width+c*i.height;t.height=Math.min(this.maxHeight,t.height+e+s)}else{const e=n.mirror?0:c*o.width+u*i.height;t.width=Math.min(this.maxWidth,t.width+e+s)}this._calculatePadding(e,r,u,c)}}this._handleMargins(),a?(this.width=this._length=e.width-this._margins.left-this._margins.right,this.height=t.height):(this.width=t.width,this.height=this._length=e.height-this._margins.top-this._margins.bottom)}_calculatePadding(t,e,n,r){const{ticks:{align:o,padding:i},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;s?l?(u=r*t.width,d=n*e.height):(u=n*t.height,d=r*e.width):"start"===o?d=e.width:"end"===o?u=t.width:"inner"!==o&&(u=t.width/2,d=e.width/2),this.paddingLeft=Math.max((u-a+i)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-c+i)*this.width/(this.width-c),0)}else{let n=e.height/2,r=t.height/2;"start"===o?(n=0,r=t.height):"end"===o&&(n=e.height,r=0),this.paddingTop=n+i,this.paddingBottom=r+i}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Y(this.options.afterFit,[this])}isHorizontal(){const{axis:t,position:e}=this.options;return"top"===e||"bottom"===e||"x"===t}isFullSize(){return this.options.fullSize}_convertTicksToLabels(t){let e,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(t),e=0,n=t.length;e<n;e++)F(t[e].label)&&(t.splice(e,1),n--,e--);this.afterTickToLabelConversion()}_getLabelSizes(){let t=this._labelSizes;if(!t){const e=this.options.ticks.sampleSize;let n=this.ticks;e<n.length&&(n=Jr(n,e)),this._labelSizes=t=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return t}_computeLabelSizes(t,e,n){const{ctx:r,_longestTextCache:o}=this,i=[],a=[],s=Math.floor(e/Zr(e,n));let l,c,u,d,h,f,p,g,m,v,y,b=0,x=0;for(l=0;l<e;l+=s){if(d=t[l].label,h=this._resolveTickFontOptions(l),r.font=f=h.string,p=o[f]=o[f]||{data:{},gc:[]},g=h.lineHeight,m=v=0,F(d)||H(d)){if(H(d))for(c=0,u=d.length;c<u;++c)y=d[c],F(y)||H(y)||(m=ce(r,p.data,p.gc,m,y),v+=g)}else m=ce(r,p.data,p.gc,m,d),v=g;i.push(m),a.push(v),b=Math.max(m,b),x=Math.max(v,x)}!function(t,e){K(t,t=>{const n=t.gc,r=n.length/2;let o;if(r>e){for(o=0;o<r;++o)delete t.data[n[o]];n.splice(0,r)}})}(o,e);const w=i.indexOf(b),k=a.indexOf(x),A=t=>({width:i[t]||0,height:a[t]||0});return{first:A(0),last:A(e-1),widest:A(w),highest:A(k),widths:i,heights:a}}getLabelForValue(t){return t}getPixelForValue(t,e){return NaN}getValueForPixel(t){}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getPixelForDecimal(t){this._reversePixels&&(t=1-t);const e=this._startPixel+t*this._length;return Mt(this._alignToPixels?de(this.chart,e,0):e,-32768,32767)}getDecimalForPixel(t){const e=(t-this._startPixel)/this._length;return this._reversePixels?1-e:e}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:t,max:e}=this;return t<0&&e<0?e:t>0&&e>0?t:0}getContext(t){const e=this.ticks||[];if(t>=0&&t<e.length){const n=e[t];return n.$context||(n.$context=function(t,e,n){return Le(t,{tick:n,index:e,type:"tick"})}(this.getContext(),t,n))}return this.$context||(this.$context=Le(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const t=this.options.ticks,e=kt(this.labelRotation),n=Math.abs(Math.cos(e)),r=Math.abs(Math.sin(e)),o=this._getLabelSizes(),i=t.autoSkipPadding||0,a=o?o.widest.width+i:0,s=o?o.highest.height+i:0;return this.isHorizontal()?s*n>a*r?a/n:s/r:s*r<a*n?s/n:a/r}_isVisible(){const t=this.options.display;return"auto"!==t?!!t:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(t){const e=this.axis,n=this.chart,r=this.options,{grid:o,position:i,border:a}=r,s=o.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),u=eo(o),d=[],h=a.setContext(this.getContext()),f=h.display?h.width:0,p=f/2,g=function(t){return de(n,t,f)};let m,v,y,b,x,w,k,A,_,S,C,E;if("top"===i)m=g(this.bottom),w=this.bottom-u,A=m-p,S=g(t.top)+p,E=t.bottom;else if("bottom"===i)m=g(this.top),S=t.top,E=g(t.bottom)-p,w=m+p,A=this.top+u;else if("left"===i)m=g(this.right),x=this.right-u,k=m-p,_=g(t.left)+p,C=t.right;else if("right"===i)m=g(this.left),_=t.left,C=g(t.right)-p,x=m+p,k=this.left+u;else if("x"===e){if("center"===i)m=g((t.top+t.bottom)/2+.5);else if(V(i)){const t=Object.keys(i)[0],e=i[t];m=g(this.chart.scales[t].getPixelForValue(e))}S=t.top,E=t.bottom,w=m+p,A=w+u}else if("y"===e){if("center"===i)m=g((t.left+t.right)/2);else if(V(i)){const t=Object.keys(i)[0],e=i[t];m=g(this.chart.scales[t].getPixelForValue(e))}x=m-p,k=x-u,_=t.left,C=t.right}const O=W(r.ticks.maxTicksLimit,c),P=Math.max(1,Math.ceil(c/O));for(v=0;v<c;v+=P){const t=this.getContext(v),e=o.setContext(t),r=a.setContext(t),i=e.lineWidth,c=e.color,u=r.dash||[],h=r.dashOffset,f=e.tickWidth,p=e.tickColor,g=e.tickBorderDash||[],m=e.tickBorderDashOffset;y=to(this,v,s),void 0!==y&&(b=de(n,y,i),l?x=k=_=C=b:w=A=S=E=b,d.push({tx1:x,ty1:w,tx2:k,ty2:A,x1:_,y1:S,x2:C,y2:E,width:i,color:c,borderDash:u,borderDashOffset:h,tickWidth:f,tickColor:p,tickBorderDash:g,tickBorderDashOffset:m}))}return this._ticksLength=c,this._borderValue=m,d}_computeLabelItems(t){const e=this.axis,n=this.options,{position:r,ticks:o}=n,i=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:l,padding:c,mirror:u}=o,d=eo(n.grid),h=d+c,f=u?-c:h,p=-kt(this.labelRotation),g=[];let m,v,y,b,x,w,k,A,_,S,C,E,O="middle";if("top"===r)w=this.bottom-f,k=this._getXAxisLabelAlignment();else if("bottom"===r)w=this.top+f,k=this._getXAxisLabelAlignment();else if("left"===r){const t=this._getYAxisLabelAlignment(d);k=t.textAlign,x=t.x}else if("right"===r){const t=this._getYAxisLabelAlignment(d);k=t.textAlign,x=t.x}else if("x"===e){if("center"===r)w=(t.top+t.bottom)/2+h;else if(V(r)){const t=Object.keys(r)[0],e=r[t];w=this.chart.scales[t].getPixelForValue(e)+h}k=this._getXAxisLabelAlignment()}else if("y"===e){if("center"===r)x=(t.left+t.right)/2-h;else if(V(r)){const t=Object.keys(r)[0],e=r[t];x=this.chart.scales[t].getPixelForValue(e)}k=this._getYAxisLabelAlignment(d).textAlign}"y"===e&&("start"===s?O="top":"end"===s&&(O="bottom"));const P=this._getLabelSizes();for(m=0,v=a.length;m<v;++m){y=a[m],b=y.label;const t=o.setContext(this.getContext(m));A=this.getPixelForTick(m)+o.labelOffset,_=this._resolveTickFontOptions(m),S=_.lineHeight,C=H(b)?b.length:1;const e=C/2,n=t.color,s=t.textStrokeColor,c=t.textStrokeWidth;let d,h=k;if(i?(x=A,"inner"===k&&(h=m===v-1?this.options.reverse?"left":"right":0===m?this.options.reverse?"right":"left":"center"),E="top"===r?"near"===l||0!==p?-C*S+S/2:"center"===l?-P.highest.height/2-e*S+S:-P.highest.height+S/2:"near"===l||0!==p?S/2:"center"===l?P.highest.height/2-e*S:P.highest.height-C*S,u&&(E*=-1),0===p||t.showLabelBackdrop||(x+=S/2*Math.sin(p))):(w=A,E=(1-C)*S/2),t.showLabelBackdrop){const e=Te(t.backdropPadding),n=P.heights[m],r=P.widths[m];let o=E-e.top,i=0-e.left;switch(O){case"middle":o-=n/2;break;case"bottom":o-=n}switch(k){case"center":i-=r/2;break;case"right":i-=r;break;case"inner":m===v-1?i-=r:m>0&&(i-=r/2)}d={left:i,top:o,width:r+e.width,height:n+e.height,color:t.backdropColor}}g.push({label:b,font:_,textOffset:E,options:{rotation:p,color:n,strokeColor:s,strokeWidth:c,textAlign:h,textBaseline:O,translation:[x,w],backdrop:d}})}return g}_getXAxisLabelAlignment(){const{position:t,ticks:e}=this.options;if(-kt(this.labelRotation))return"top"===t?"left":"right";let n="center";return"start"===e.align?n="left":"end"===e.align?n="right":"inner"===e.align&&(n="inner"),n}_getYAxisLabelAlignment(t){const{position:e,ticks:{crossAlign:n,mirror:r,padding:o}}=this.options,i=t+o,a=this._getLabelSizes().widest.width;let s,l;return"left"===e?r?(l=this.right+o,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-i,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l=this.left)):"right"===e?r?(l=this.left+o,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+i,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const t=this.chart,e=this.options.position;return"left"===e||"right"===e?{top:0,left:this.left,bottom:t.height,right:this.right}:"top"===e||"bottom"===e?{top:this.top,left:0,bottom:this.bottom,right:t.width}:void 0}drawBackground(){const{ctx:t,options:{backgroundColor:e},left:n,top:r,width:o,height:i}=this;e&&(t.save(),t.fillStyle=e,t.fillRect(n,r,o,i),t.restore())}getLineWidthForValue(t){const e=this.options.grid;if(!this._isVisible()||!e.display)return 0;const n=this.ticks.findIndex(e=>e.value===t);if(n>=0){return e.setContext(this.getContext(n)).lineWidth}return 0}drawGrid(t){const e=this.options.grid,n=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(t));let o,i;const a=(t,e,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(t.x,t.y),n.lineTo(e.x,e.y),n.stroke(),n.restore())};if(e.display)for(o=0,i=r.length;o<i;++o){const t=r[o];e.drawOnChartArea&&a({x:t.x1,y:t.y1},{x:t.x2,y:t.y2},t),e.drawTicks&&a({x:t.tx1,y:t.ty1},{x:t.tx2,y:t.ty2},{color:t.tickColor,width:t.tickWidth,borderDash:t.tickBorderDash,borderDashOffset:t.tickBorderDashOffset})}}drawBorder(){const{chart:t,ctx:e,options:{border:n,grid:r}}=this,o=n.setContext(this.getContext()),i=n.display?o.width:0;if(!i)return;const a=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=de(t,this.left,i)-i/2,c=de(t,this.right,a)+a/2,u=d=s):(u=de(t,this.top,i)-i/2,d=de(t,this.bottom,a)+a/2,l=c=s),e.save(),e.lineWidth=o.width,e.strokeStyle=o.color,e.beginPath(),e.moveTo(l,u),e.lineTo(c,d),e.stroke(),e.restore()}drawLabels(t){if(!this.options.ticks.display)return;const e=this.ctx,n=this._computeLabelArea();n&&me(e,n);const r=this.getLabelItems(t);for(const o of r){const t=o.options,n=o.font;ke(e,o.label,0,o.textOffset,n,t)}n&&ve(e)}drawTitle(){const{ctx:t,options:{position:e,title:n,reverse:r}}=this;if(!n.display)return;const o=Ne(n.font),i=Te(n.padding),a=n.align;let s=o.lineHeight/2;"bottom"===e||"center"===e||V(e)?(s+=i.bottom,H(n.text)&&(s+=o.lineHeight*(n.text.length-1))):s+=i.top;const{titleX:l,titleY:c,maxWidth:u,rotation:d}=function(t,e,n,r){const{top:o,left:i,bottom:a,right:s,chart:l}=t,{chartArea:c,scales:u}=l;let d,h,f,p=0;const g=a-o,m=s-i;if(t.isHorizontal()){if(h=Ht(r,i,s),V(n)){const t=Object.keys(n)[0],r=n[t];f=u[t].getPixelForValue(r)+g-e}else f="center"===n?(c.bottom+c.top)/2+g-e:Qr(t,n,e);d=s-i}else{if(V(n)){const t=Object.keys(n)[0],r=n[t];h=u[t].getPixelForValue(r)-m+e}else h="center"===n?(c.left+c.right)/2-m+e:Qr(t,n,e);f=Ht(r,a,o),p="left"===n?-ft:ft}return{titleX:h,titleY:f,maxWidth:d,rotation:p}}(this,s,e,a);ke(t,n.text,0,0,o,{color:n.color,maxWidth:u,rotation:d,textAlign:ro(a,e,r),textBaseline:"middle",translation:[l,c]})}draw(t){this._isVisible()&&(this.drawBackground(),this.drawGrid(t),this.drawBorder(),this.drawTitle(),this.drawLabels(t))}_layers(){const t=this.options,e=t.ticks&&t.ticks.z||0,n=W(t.grid&&t.grid.z,-1),r=W(t.border&&t.border.z,0);return this._isVisible()&&this.draw===oo.prototype.draw?[{z:n,draw:t=>{this.drawBackground(),this.drawGrid(t),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:e,draw:t=>{this.drawLabels(t)}}]:[{z:e,draw:t=>{this.draw(t)}}]}getMatchingVisibleMetas(t){const e=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",r=[];let o,i;for(o=0,i=e.length;o<i;++o){const i=e[o];i[n]!==this.id||t&&i.type!==t||r.push(i)}return r}_resolveTickFontOptions(t){return Ne(this.options.ticks.setContext(this.getContext(t)).font)}_maxDigits(){const t=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/t}}class io{constructor(t,e,n){this.type=t,this.scope=e,this.override=n,this.items=Object.create(null)}isForType(t){return Object.prototype.isPrototypeOf.call(this.type.prototype,t.prototype)}register(t){const e=Object.getPrototypeOf(t);let n;(function(t){return"id"in t&&"defaults"in t})(e)&&(n=this.register(e));const r=this.items,o=t.id,i=this.scope+"."+o;if(!o)throw new Error("class does not have id: "+t);return o in r||(r[o]=t,function(t,e,n){const r=J(Object.create(null),[n?le.get(n):{},le.get(e),t.defaults]);le.set(e,r),t.defaultRoutes&&function(t,e){Object.keys(e).forEach(n=>{const r=n.split("."),o=r.pop(),i=[t].concat(r).join("."),a=e[n].split("."),s=a.pop(),l=a.join(".");le.route(i,o,l,s)})}(e,t.defaultRoutes);t.descriptors&&le.describe(e,t.descriptors)}(t,i,n),this.override&&le.override(t.id,t.overrides)),i}get(t){return this.items[t]}unregister(t){const e=this.items,n=t.id,r=this.scope;n in e&&delete e[n],r&&n in le[r]&&(delete le[r][n],this.override&&delete re[n])}}class ao{constructor(){this.controllers=new io(Wn,"datasets",!0),this.elements=new io(Kr,"elements"),this.plugins=new io(Object,"plugins"),this.scales=new io(oo,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e)}remove(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e)}addControllers(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.controllers)}addElements(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.elements)}addPlugins(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.plugins)}addScales(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("register",e,this.scales)}getController(t){return this._get(t,this.controllers,"controller")}getElement(t){return this._get(t,this.elements,"element")}getPlugin(t){return this._get(t,this.plugins,"plugin")}getScale(t){return this._get(t,this.scales,"scale")}removeControllers(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.controllers)}removeElements(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.elements)}removePlugins(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.plugins)}removeScales(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this._each("unregister",e,this.scales)}_each(t,e,n){[...e].forEach(e=>{const r=n||this._getRegistryForType(e);n||r.isForType(e)||r===this.plugins&&e.id?this._exec(t,r,e):K(e,e=>{const r=n||this._getRegistryForType(e);this._exec(t,r,e)})})}_exec(t,e,n){const r=ot(t);Y(n["before"+r],[],n),e[t](n),Y(n["after"+r],[],n)}_getRegistryForType(t){for(let e=0;e<this._typedRegistries.length;e++){const n=this._typedRegistries[e];if(n.isForType(t))return n}return this.plugins}_get(t,e,n){const r=e.get(t);if(void 0===r)throw new Error('"'+t+'" is not a registered '+n+".");return r}}var so=new ao;class lo{constructor(){this._init=[]}notify(t,e,n,r){"beforeInit"===e&&(this._init=this._createDescriptors(t,!0),this._notify(this._init,t,"install"));const o=r?this._descriptors(t).filter(r):this._descriptors(t),i=this._notify(o,t,e,n);return"afterDestroy"===e&&(this._notify(o,t,"stop"),this._notify(this._init,t,"uninstall")),i}_notify(t,e,n,r){r=r||{};for(const o of t){const t=o.plugin;if(!1===Y(t[n],[e,r,o.options],t)&&r.cancelable)return!1}return!0}invalidate(){F(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(t){if(this._cache)return this._cache;const e=this._cache=this._createDescriptors(t);return this._notifyStateChanges(t),e}_createDescriptors(t,e){const n=t&&t.config,r=W(n.options&&n.options.plugins,{}),o=function(t){const e={},n=[],r=Object.keys(so.plugins.items);for(let i=0;i<r.length;i++)n.push(so.getPlugin(r[i]));const o=t.plugins||[];for(let i=0;i<o.length;i++){const t=o[i];-1===n.indexOf(t)&&(n.push(t),e[t.id]=!0)}return{plugins:n,localIds:e}}(n);return!1!==r||e?function(t,e,n,r){let{plugins:o,localIds:i}=e;const a=[],s=t.getContext();for(const l of o){const e=l.id,o=co(n[e],r);null!==o&&a.push({plugin:l,options:uo(t.config,{plugin:l,local:i[e]},o,s)})}return a}(t,o,r,e):[]}_notifyStateChanges(t){const e=this._oldCache||[],n=this._cache,r=(t,e)=>t.filter(t=>!e.some(e=>t.plugin.id===e.plugin.id));this._notify(r(e,n),t,"stop"),this._notify(r(n,e),t,"start")}}function co(t,e){return e||!1!==t?!0===t?{}:t:null}function uo(t,e,n,r){let{plugin:o,local:i}=e;const a=t.pluginScopeKeys(o),s=t.getOptionScopes(n,a);return i&&o.defaults&&s.push(o.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function ho(t,e){const n=le.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function fo(t){if("x"===t||"y"===t||"r"===t)return t}function po(t){return"top"===t||"bottom"===t?"x":"left"===t||"right"===t?"y":void 0}function go(t){if(fo(t))return t;for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];for(const o of n){const e=o.axis||po(o.position)||t.length>1&&fo(t[0].toLowerCase());if(e)return e}throw new Error("Cannot determine type of '".concat(t,"' axis. Please provide 'axis' or 'position' option."))}function mo(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function vo(t,e){const n=re[t.type]||{scales:{}},r=e.scales||{},o=ho(t.type,e),i=Object.create(null);return Object.keys(r).forEach(e=>{const a=r[e];if(!V(a))return console.error("Invalid scale configuration for scale: ".concat(e));if(a._proxy)return console.warn("Ignoring resolver passed as options for scale: ".concat(e));const s=go(e,a,function(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(e=>e.xAxisID===t||e.yAxisID===t);if(n.length)return mo(t,"x",n[0])||mo(t,"y",n[0])}return{}}(e,t),le.scales[a.type]),l=function(t,e){return t===e?"_index_":"_value_"}(s,o),c=n.scales||{};i[e]=tt(Object.create(null),[{axis:s},a,c[s],c[l]])}),t.data.datasets.forEach(n=>{const o=n.type||t.type,a=n.indexAxis||ho(o,e),s=(re[o]||{}).scales||{};Object.keys(s).forEach(t=>{const e=function(t,e){let n=t;return"_index_"===t?n=e:"_value_"===t&&(n="x"===e?"y":"x"),n}(t,a),o=n[e+"AxisID"]||e;i[o]=i[o]||Object.create(null),tt(i[o],[{axis:e},r[o],s[t]])})}),Object.keys(i).forEach(t=>{const e=i[t];tt(e,[le.scales[e.type],le.scale])}),i}function yo(t){const e=t.options||(t.options={});e.plugins=W(e.plugins,{}),e.scales=vo(t,e)}function bo(t){return(t=t||{}).datasets=t.datasets||[],t.labels=t.labels||[],t}const xo=new Map,wo=new Set;function ko(t,e){let n=xo.get(t);return n||(n=e(),xo.set(t,n),wo.add(n)),n}const Ao=(t,e,n)=>{const r=rt(e,n);void 0!==r&&t.add(r)};class _o{constructor(t){this._config=function(t){return(t=t||{}).data=bo(t.data),yo(t),t}(t),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(t){this._config.type=t}get data(){return this._config.data}set data(t){this._config.data=bo(t)}get options(){return this._config.options}set options(t){this._config.options=t}get plugins(){return this._config.plugins}update(){const t=this._config;this.clearCache(),yo(t)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(t){return ko(t,()=>[["datasets.".concat(t),""]])}datasetAnimationScopeKeys(t,e){return ko("".concat(t,".transition.").concat(e),()=>[["datasets.".concat(t,".transitions.").concat(e),"transitions.".concat(e)],["datasets.".concat(t),""]])}datasetElementScopeKeys(t,e){return ko("".concat(t,"-").concat(e),()=>[["datasets.".concat(t,".elements.").concat(e),"datasets.".concat(t),"elements.".concat(e),""]])}pluginScopeKeys(t){const e=t.id,n=this.type;return ko("".concat(n,"-plugin-").concat(e),()=>[["plugins.".concat(e),...t.additionalOptionScopes||[]]])}_cachedScopes(t,e){const n=this._scopeCache;let r=n.get(t);return r&&!e||(r=new Map,n.set(t,r)),r}getOptionScopes(t,e,n){const{options:r,type:o}=this,i=this._cachedScopes(t,n),a=i.get(e);if(a)return a;const s=new Set;e.forEach(e=>{t&&(s.add(t),e.forEach(e=>Ao(s,t,e))),e.forEach(t=>Ao(s,r,t)),e.forEach(t=>Ao(s,re[o]||{},t)),e.forEach(t=>Ao(s,le,t)),e.forEach(t=>Ao(s,oe,t))});const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),wo.has(e)&&i.set(e,l),l}chartOptionScopes(){const{options:t,type:e}=this;return[t,re[e]||{},le.datasets[e]||{},{type:e},le,oe]}resolveNamedOptions(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[""];const o={$shared:!0},{resolver:i,subPrefixes:a}=So(this._resolverCache,t,r);let s=i;if(function(t,e){const{isScriptable:n,isIndexable:r}=Ie(t);for(const o of e){const e=n(o),i=r(o),a=(i||e)&&t[o];if(e&&(at(a)||Co(a))||i&&H(a))return!0}return!1}(i,e)){o.$shared=!1;s=je(i,n=at(n)?n():n,this.createResolver(t,n,a))}for(const l of e)o[l]=s[l];return o}createResolver(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[""],r=arguments.length>3?arguments[3]:void 0;const{resolver:o}=So(this._resolverCache,t,n);return V(e)?je(o,e,void 0,r):o}}function So(t,e,n){let r=t.get(e);r||(r=new Map,t.set(e,r));const o=n.join();let i=r.get(o);if(!i){i={resolver:De(e,n),subPrefixes:n.filter(t=>!t.toLowerCase().includes("hover"))},r.set(o,i)}return i}const Co=t=>V(t)&&Object.getOwnPropertyNames(t).some(e=>at(t[e]));const Eo=["top","bottom","left","right","chartArea"];function Oo(t,e){return"top"===t||"bottom"===t||-1===Eo.indexOf(t)&&"x"===e}function Po(t,e){return function(n,r){return n[t]===r[t]?n[e]-r[e]:n[t]-r[t]}}function Mo(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Y(n&&n.onComplete,[t],e)}function To(t){const e=t.chart,n=e.options.animation;Y(n&&n.onProgress,[t],e)}function No(t){return nn()&&"string"===typeof t?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const Ro={},Lo=t=>{const e=No(t);return Object.values(Ro).filter(t=>t.canvas===e).pop()};function Do(t,e,n){const r=Object.keys(t);for(const o of r){const r=+o;if(r>=e){const i=t[o];delete t[o],(n>0||r>e)&&(t[r+n]=i)}}}function jo(t,e,n){return t.options.clip?t[n]:e[n]}class Io{static register(){so.add(...arguments),zo()}static unregister(){so.remove(...arguments),zo()}constructor(t,e){const n=this.config=new _o(e),r=No(t),o=Lo(r);if(o)throw new Error("Canvas is already in use. Chart with ID '"+o.id+"' must be destroyed before the canvas with ID '"+o.canvas.id+"' can be reused.");const i=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(t){return!nn()||"undefined"!==typeof OffscreenCanvas&&t instanceof OffscreenCanvas?Nr:Yr}(r)),this.platform.updateConfig(n);const a=this.platform.acquireContext(r,i.aspectRatio),s=a&&a.canvas,l=s&&s.height,c=s&&s.width;this.id=B(),this.ctx=a,this.canvas=s,this.width=c,this.height=l,this._options=i,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new lo,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(t,e){let n;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return e?(clearTimeout(n),n=setTimeout(t,e,o)):t.apply(this,o),e}}(t=>this.update(t),i.resizeDelay||0),this._dataChanges=[],Ro[this.id]=this,a&&s?(Pn.listen(this,"complete",Mo),Pn.listen(this,"progress",To),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:t,maintainAspectRatio:e},width:n,height:r,_aspectRatio:o}=this;return F(t)?e&&o?o:r?n/r:null:t}get data(){return this.config.data}set data(t){this.config.data=t}get options(){return this._options}set options(t){this.config.options=t}get registry(){return so}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():hn(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return he(this.canvas,this.ctx),this}stop(){return Pn.stop(this),this}resize(t,e){Pn.running(this)?this._resizeBeforeDraw={width:t,height:e}:this._resize(t,e)}_resize(t,e){const n=this.options,r=this.canvas,o=n.maintainAspectRatio&&this.aspectRatio,i=this.platform.getMaximumSize(r,t,e,o),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=i.width,this.height=i.height,this._aspectRatio=this.aspectRatio,hn(this,a,!0)&&(this.notifyPlugins("resize",{size:i}),Y(n.onResize,[this,i],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){K(this.options.scales||{},(t,e)=>{t.id=e})}buildOrUpdateScales(){const t=this.options,e=t.scales,n=this.scales,r=Object.keys(n).reduce((t,e)=>(t[e]=!1,t),{});let o=[];e&&(o=o.concat(Object.keys(e).map(t=>{const n=e[t],r=go(t,n),o="r"===r,i="x"===r;return{options:n,dposition:o?"chartArea":i?"bottom":"left",dtype:o?"radialLinear":i?"category":"linear"}}))),K(o,e=>{const o=e.options,i=o.id,a=go(i,o),s=W(o.type,e.dtype);void 0!==o.position&&Oo(o.position,a)===Oo(e.dposition)||(o.position=e.dposition),r[i]=!0;let l=null;if(i in n&&n[i].type===s)l=n[i];else{l=new(so.getScale(s))({id:i,type:s,ctx:this.ctx,chart:this}),n[l.id]=l}l.init(o,t)}),K(r,(t,e)=>{t||delete n[e]}),K(n,t=>{Mr.configure(this,t,t.options),Mr.addBox(this,t)})}_updateMetasets(){const t=this._metasets,e=this.data.datasets.length,n=t.length;if(t.sort((t,e)=>t.index-e.index),n>e){for(let t=e;t<n;++t)this._destroyDatasetMeta(t);t.splice(e,n-e)}this._sortedMetasets=t.slice(0).sort(Po("order","index"))}_removeUnreferencedMetasets(){const{_metasets:t,data:{datasets:e}}=this;t.length>e.length&&delete this._stacks,t.forEach((t,n)=>{0===e.filter(e=>e===t._dataset).length&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const t=[],e=this.data.datasets;let n,r;for(this._removeUnreferencedMetasets(),n=0,r=e.length;n<r;n++){const r=e[n];let o=this.getDatasetMeta(n);const i=r.type||this.config.type;if(o.type&&o.type!==i&&(this._destroyDatasetMeta(n),o=this.getDatasetMeta(n)),o.type=i,o.indexAxis=r.indexAxis||ho(i,this.options),o.order=r.order||0,o.index=n,o.label=""+r.label,o.visible=this.isDatasetVisible(n),o.controller)o.controller.updateIndex(n),o.controller.linkScales();else{const e=so.getController(i),{datasetElementType:r,dataElementType:a}=le.datasets[i];Object.assign(e,{dataElementType:so.getElement(a),datasetElementType:r&&so.getElement(r)}),o.controller=new e(this,n),t.push(o.controller)}}return this._updateMetasets(),t}_resetElements(){K(this.data.datasets,(t,e)=>{this.getDatasetMeta(e).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(t){const e=this.config;e.update();const n=this._options=e.createResolver(e.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:t,cancelable:!0}))return;const o=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let i=0;for(let l=0,c=this.data.datasets.length;l<c;l++){const{controller:t}=this.getDatasetMeta(l),e=!r&&-1===o.indexOf(t);t.buildOrUpdateElements(e),i=Math.max(+t.getMaxOverflow(),i)}i=this._minPadding=n.layout.autoPadding?i:0,this._updateLayout(i),r||K(o,t=>{t.reset()}),this._updateDatasets(t),this.notifyPlugins("afterUpdate",{mode:t}),this._layers.sort(Po("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){K(this.scales,t=>{Mr.removeBox(this,t)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const t=this.options,e=new Set(Object.keys(this._listeners)),n=new Set(t.events);st(e,n)&&!!this._responsiveListeners===t.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:t}=this,e=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:o}of e){Do(t,r,"_removeElements"===n?-o:o)}}_getUniformDataChanges(){const t=this._dataChanges;if(!t||!t.length)return;this._dataChanges=[];const e=this.data.datasets.length,n=e=>new Set(t.filter(t=>t[0]===e).map((t,e)=>e+","+t.splice(1).join(","))),r=n(0);for(let o=1;o<e;o++)if(!st(r,n(o)))return;return Array.from(r).map(t=>t.split(",")).map(t=>({method:t[1],start:+t[2],count:+t[3]}))}_updateLayout(t){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Mr.update(this,this.width,this.height,t);const e=this.chartArea,n=e.width<=0||e.height<=0;this._layers=[],K(this.boxes,t=>{n&&"chartArea"===t.position||(t.configure&&t.configure(),this._layers.push(...t._layers()))},this),this._layers.forEach((t,e)=>{t._idx=e}),this.notifyPlugins("afterLayout")}_updateDatasets(t){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:t,cancelable:!0})){for(let t=0,e=this.data.datasets.length;t<e;++t)this.getDatasetMeta(t).controller.configure();for(let e=0,n=this.data.datasets.length;e<n;++e)this._updateDataset(e,at(t)?t({datasetIndex:e}):t);this.notifyPlugins("afterDatasetsUpdate",{mode:t})}}_updateDataset(t,e){const n=this.getDatasetMeta(t),r={meta:n,index:t,mode:e,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(e),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(Pn.has(this)?this.attached&&!Pn.running(this)&&Pn.start(this):(this.draw(),Mo({chart:this})))}draw(){let t;if(this._resizeBeforeDraw){const{width:t,height:e}=this._resizeBeforeDraw;this._resize(t,e),this._resizeBeforeDraw=null}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const e=this._layers;for(t=0;t<e.length&&e[t].z<=0;++t)e[t].draw(this.chartArea);for(this._drawDatasets();t<e.length;++t)e[t].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(t){const e=this._sortedMetasets,n=[];let r,o;for(r=0,o=e.length;r<o;++r){const o=e[r];t&&!o.visible||n.push(o)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const t=this.getSortedVisibleDatasetMetas();for(let e=t.length-1;e>=0;--e)this._drawDataset(t[e]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(t){const e=this.ctx,n=t._clip,r=!n.disabled,o=function(t,e){const{xScale:n,yScale:r}=t;return n&&r?{left:jo(n,e,"left"),right:jo(n,e,"right"),top:jo(r,e,"top"),bottom:jo(r,e,"bottom")}:e}(t,this.chartArea),i={meta:t,index:t.index,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetDraw",i)&&(r&&me(e,{left:!1===n.left?0:o.left-n.left,right:!1===n.right?this.width:o.right+n.right,top:!1===n.top?0:o.top-n.top,bottom:!1===n.bottom?this.height:o.bottom+n.bottom}),t.controller.draw(),r&&ve(e),i.cancelable=!1,this.notifyPlugins("afterDatasetDraw",i))}isPointInArea(t){return ge(t,this.chartArea,this._minPadding)}getElementsAtEventForMode(t,e,n,r){const o=vr.modes[e];return"function"===typeof o?o(this,t,n,r):[]}getDatasetMeta(t){const e=this.data.datasets[t],n=this._metasets;let r=n.filter(t=>t&&t._dataset===e).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:e&&e.order||0,index:t,_dataset:e,_parsed:[],_sorted:!1},n.push(r)),r}getContext(){return this.$context||(this.$context=Le(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(t){const e=this.data.datasets[t];if(!e)return!1;const n=this.getDatasetMeta(t);return"boolean"===typeof n.hidden?!n.hidden:!e.hidden}setDatasetVisibility(t,e){this.getDatasetMeta(t).hidden=!e}toggleDataVisibility(t){this._hiddenIndices[t]=!this._hiddenIndices[t]}getDataVisibility(t){return!this._hiddenIndices[t]}_updateVisibility(t,e,n){const r=n?"show":"hide",o=this.getDatasetMeta(t),i=o.controller._resolveAnimations(void 0,r);it(e)?(o.data[e].hidden=!n,this.update()):(this.setDatasetVisibility(t,n),i.update(o,{visible:n}),this.update(e=>e.datasetIndex===t?r:void 0))}hide(t,e){this._updateVisibility(t,e,!1)}show(t,e){this._updateVisibility(t,e,!0)}_destroyDatasetMeta(t){const e=this._metasets[t];e&&e.controller&&e.controller._destroy(),delete this._metasets[t]}_stop(){let t,e;for(this.stop(),Pn.remove(this),t=0,e=this.data.datasets.length;t<e;++t)this._destroyDatasetMeta(t)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:t,ctx:e}=this;this._stop(),this.config.clearCache(),t&&(this.unbindEvents(),he(t,e),this.platform.releaseContext(e),this.canvas=null,this.ctx=null),delete Ro[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(){return this.canvas.toDataURL(...arguments)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const t=this._listeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(t,e,n)=>{t.offsetX=e,t.offsetY=n,this._eventHandler(t)};K(this.options.events,t=>n(t,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const t=this._responsiveListeners,e=this.platform,n=(n,r)=>{e.addEventListener(this,n,r),t[n]=r},r=(n,r)=>{t[n]&&(e.removeEventListener(this,n,r),delete t[n])},o=(t,e)=>{this.canvas&&this.resize(t,e)};let i;const a=()=>{r("attach",a),this.attached=!0,this.resize(),n("resize",o),n("detach",i)};i=()=>{this.attached=!1,r("resize",o),this._stop(),this._resize(0,0),n("attach",a)},e.isAttached(this.canvas)?a():i()}unbindEvents(){K(this._listeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._listeners={},K(this._responsiveListeners,(t,e)=>{this.platform.removeEventListener(this,e,t)}),this._responsiveListeners=void 0}updateHoverStyle(t,e,n){const r=n?"set":"remove";let o,i,a,s;for("dataset"===e&&(o=this.getDatasetMeta(t[0].datasetIndex),o.controller["_"+r+"DatasetHoverStyle"]()),a=0,s=t.length;a<s;++a){i=t[a];const e=i&&this.getDatasetMeta(i.datasetIndex).controller;e&&e[r+"HoverStyle"](i.element,i.datasetIndex,i.index)}}getActiveElements(){return this._active||[]}setActiveElements(t){const e=this._active||[],n=t.map(t=>{let{datasetIndex:e,index:n}=t;const r=this.getDatasetMeta(e);if(!r)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:r.data[n],index:n}});!$(n,e)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,e))}notifyPlugins(t,e,n){return this._plugins.notify(this,t,e,n)}isPluginEnabled(t){return 1===this._plugins._cache.filter(e=>e.plugin.id===t).length}_updateHoverStyles(t,e,n){const r=this.options.hover,o=(t,e)=>t.filter(t=>!e.some(e=>t.datasetIndex===e.datasetIndex&&t.index===e.index)),i=o(e,t),a=n?t:o(t,e);i.length&&this.updateHoverStyle(i,r.mode,!1),a.length&&r.mode&&this.updateHoverStyle(a,r.mode,!0)}_eventHandler(t,e){const n={event:t,replay:e,cancelable:!0,inChartArea:this.isPointInArea(t)},r=e=>(e.options.events||this.options.events).includes(t.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const o=this._handleEvent(t,e,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(o||n.changed)&&this.render(),this}_handleEvent(t,e,n){const{_active:r=[],options:o}=this,i=e,a=this._getActiveElements(t,r,n,i),s=function(t){return"mouseup"===t.type||"click"===t.type||"contextmenu"===t.type}(t),l=function(t,e,n,r){return n&&"mouseout"!==t.type?r?e:t:null}(t,this._lastEvent,n,s);n&&(this._lastEvent=null,Y(o.onHover,[t,a,this],this),s&&Y(o.onClick,[t,a,this],this));const c=!$(a,r);return(c||e)&&(this._active=a,this._updateHoverStyles(a,r,e)),this._lastEvent=l,c}_getActiveElements(t,e,n,r){if("mouseout"===t.type)return[];if(!n)return e;const o=this.options.hover;return this.getElementsAtEventForMode(t,o.mode,o,r)}}function zo(){return K(Io.instances,t=>t._plugins.invalidate())}function Bo(t,e,n,r){const o=Oe(t.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]);const i=(n-e)/2,a=Math.min(i,r*e/2),s=t=>{const e=(n-Math.min(i,t))*r/2;return Mt(t,0,Math.min(i,e))};return{outerStart:s(o.outerStart),outerEnd:s(o.outerEnd),innerStart:Mt(o.innerStart,0,a),innerEnd:Mt(o.innerEnd,0,a)}}function Fo(t,e,n,r){return{x:n+t*Math.cos(e),y:r+t*Math.sin(e)}}function Ho(t,e,n,r,o,i){const{x:a,y:s,startAngle:l,pixelMargin:c,innerRadius:u}=e,d=Math.max(e.outerRadius+r+n-c,0),h=u>0?u+r+n+c:0;let f=0;const p=o-l;if(r){const t=((u>0?u-r:0)+(d>0?d-r:0))/2;f=(p-(0!==t?p*t/(t+r):p))/2}const g=(p-Math.max(.001,p*d-n/lt)/d)/2,m=l+g+f,v=o-g-f,{outerStart:y,outerEnd:b,innerStart:x,innerEnd:w}=Bo(e,h,d,v-m),k=d-y,A=d-b,_=m+y/k,S=v-b/A,C=h+x,E=h+w,O=m+x/C,P=v-w/E;if(t.beginPath(),i){const e=(_+S)/2;if(t.arc(a,s,d,_,e),t.arc(a,s,d,e,S),b>0){const e=Fo(A,S,a,s);t.arc(e.x,e.y,b,S,v+ft)}const n=Fo(E,v,a,s);if(t.lineTo(n.x,n.y),w>0){const e=Fo(E,P,a,s);t.arc(e.x,e.y,w,v+ft,P+Math.PI)}const r=(v-w/h+(m+x/h))/2;if(t.arc(a,s,h,v-w/h,r,!0),t.arc(a,s,h,r,m+x/h,!0),x>0){const e=Fo(C,O,a,s);t.arc(e.x,e.y,x,O+Math.PI,m-ft)}const o=Fo(k,m,a,s);if(t.lineTo(o.x,o.y),y>0){const e=Fo(k,_,a,s);t.arc(e.x,e.y,y,m-ft,_)}}else{t.moveTo(a,s);const e=Math.cos(_)*d+a,n=Math.sin(_)*d+s;t.lineTo(e,n);const r=Math.cos(S)*d+a,o=Math.sin(S)*d+s;t.lineTo(r,o)}t.closePath()}function Vo(t,e,n,r,o){const{fullCircles:i,startAngle:a,circumference:s,options:l}=e,{borderWidth:c,borderJoinStyle:u,borderDash:d,borderDashOffset:h}=l,f="inner"===l.borderAlign;if(!c)return;t.setLineDash(d||[]),t.lineDashOffset=h,f?(t.lineWidth=2*c,t.lineJoin=u||"round"):(t.lineWidth=c,t.lineJoin=u||"bevel");let p=e.endAngle;if(i){Ho(t,e,n,r,p,o);for(let e=0;e<i;++e)t.stroke();isNaN(s)||(p=a+(s%ct||ct))}f&&function(t,e,n){const{startAngle:r,pixelMargin:o,x:i,y:a,outerRadius:s,innerRadius:l}=e;let c=o/s;t.beginPath(),t.arc(i,a,s,r-c,n+c),l>o?(c=o/l,t.arc(i,a,l,n+c,r-c,!0)):t.arc(i,a,o,n+ft,r-ft),t.closePath(),t.clip()}(t,e,p),i||(Ho(t,e,n,r,p,o),t.stroke())}(0,o.A)(Io,"defaults",le),(0,o.A)(Io,"instances",Ro),(0,o.A)(Io,"overrides",re),(0,o.A)(Io,"registry",so),(0,o.A)(Io,"version","4.4.1"),(0,o.A)(Io,"getChart",Lo);class qo extends Kr{constructor(t){super(),(0,o.A)(this,"circumference",void 0),(0,o.A)(this,"endAngle",void 0),(0,o.A)(this,"fullCircles",void 0),(0,o.A)(this,"innerRadius",void 0),(0,o.A)(this,"outerRadius",void 0),(0,o.A)(this,"pixelMargin",void 0),(0,o.A)(this,"startAngle",void 0),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.getProps(["x","y"],n),{angle:o,distance:i}=St(r,{x:t,y:e}),{startAngle:a,endAngle:s,innerRadius:l,outerRadius:c,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=(this.options.spacing+this.options.borderWidth)/2,h=W(u,s-a)>=ct||Pt(o,a,s),f=Tt(i,l+d,c+d);return h&&f}getCenterPoint(t){const{x:e,y:n,startAngle:r,endAngle:o,innerRadius:i,outerRadius:a}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],t),{offset:s,spacing:l}=this.options,c=(r+o)/2,u=(i+a+l+s)/2;return{x:e+Math.cos(c)*u,y:n+Math.sin(c)*u}}tooltipPosition(t){return this.getCenterPoint(t)}draw(t){const{options:e,circumference:n}=this,r=(e.offset||0)/4,o=(e.spacing||0)/2,i=e.circular;if(this.pixelMargin="inner"===e.borderAlign?.33:0,this.fullCircles=n>ct?Math.floor(n/ct):0,0===n||this.innerRadius<0||this.outerRadius<0)return;t.save();const a=(this.startAngle+this.endAngle)/2;t.translate(Math.cos(a)*r,Math.sin(a)*r);const s=r*(1-Math.sin(Math.min(lt,n||0)));t.fillStyle=e.backgroundColor,t.strokeStyle=e.borderColor,function(t,e,n,r,o){const{fullCircles:i,startAngle:a,circumference:s}=e;let l=e.endAngle;if(i){Ho(t,e,n,r,l,o);for(let e=0;e<i;++e)t.fill();isNaN(s)||(l=a+(s%ct||ct))}Ho(t,e,n,r,l,o),t.fill()}(t,this,s,o,i),Vo(t,this,s,o,i),t.restore()}}function Uo(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;t.lineCap=W(n.borderCapStyle,e.borderCapStyle),t.setLineDash(W(n.borderDash,e.borderDash)),t.lineDashOffset=W(n.borderDashOffset,e.borderDashOffset),t.lineJoin=W(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=W(n.borderWidth,e.borderWidth),t.strokeStyle=W(n.borderColor,e.borderColor)}function Wo(t,e,n){t.lineTo(n.x,n.y)}function Go(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.length,{start:o=0,end:i=r-1}=n,{start:a,end:s}=e,l=Math.max(o,a),c=Math.min(i,s),u=o<a&&i<a||o>s&&i>s;return{count:r,start:l,loop:e.loop,ilen:c<l&&!u?r+c-l:c-l}}function Yo(t,e,n,r){const{points:o,options:i}=e,{count:a,start:s,loop:l,ilen:c}=Go(o,n,r),u=function(t){return t.stepped?ye:t.tension||"monotone"===t.cubicInterpolationMode?be:Wo}(i);let d,h,f,{move:p=!0,reverse:g}=r||{};for(d=0;d<=c;++d)h=o[(s+(g?c-d:d))%a],h.skip||(p?(t.moveTo(h.x,h.y),p=!1):u(t,f,h,g,i.stepped),f=h);return l&&(h=o[(s+(g?c:0))%a],u(t,f,h,g,i.stepped)),!!l}function Ko(t,e,n,r){const o=e.points,{count:i,start:a,ilen:s}=Go(o,n,r),{move:l=!0,reverse:c}=r||{};let u,d,h,f,p,g,m=0,v=0;const y=t=>(a+(c?s-t:t))%i,b=()=>{f!==p&&(t.lineTo(m,p),t.lineTo(m,f),t.lineTo(m,g))};for(l&&(d=o[y(0)],t.moveTo(d.x,d.y)),u=0;u<=s;++u){if(d=o[y(u)],d.skip)continue;const e=d.x,n=d.y,r=0|e;r===h?(n<f?f=n:n>p&&(p=n),m=(v*m+e)/++v):(b(),t.lineTo(e,n),h=r,v=0,f=p=n),g=n}b()}function $o(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&"monotone"!==e.cubicInterpolationMode&&!e.stepped&&!n?Ko:Yo}(0,o.A)(qo,"id","arc"),(0,o.A)(qo,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0}),(0,o.A)(qo,"defaultRoutes",{backgroundColor:"backgroundColor"}),(0,o.A)(qo,"descriptors",{_scriptable:!0,_indexable:t=>"borderDash"!==t});const Xo="function"===typeof Path2D;function Qo(t,e,n,r){Xo&&!e.options.segment?function(t,e,n,r){let o=e._path;o||(o=e._path=new Path2D,e.path(o,n,r)&&o.closePath()),Uo(t,e.options),t.stroke(o)}(t,e,n,r):function(t,e,n,r){const{segments:o,options:i}=e,a=$o(e);for(const s of o)Uo(t,i,s.style),t.beginPath(),a(t,e,s,{start:n,end:n+r-1})&&t.closePath(),t.stroke()}(t,e,n,r)}class Zo extends Kr{constructor(t){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,t&&Object.assign(this,t)}updateControlPoints(t,e){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const r=n.spanGaps?this._loop:this._fullLoop;en(this._points,n,t,r,e),this._pointsUpdated=!0}}set points(t){this._points=t,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(t,e){const n=t.points,r=t.options.spanGaps,o=n.length;if(!o)return[];const i=!!t._loop,{start:a,end:s}=function(t,e,n,r){let o=0,i=e-1;if(n&&!r)for(;o<e&&!t[o].skip;)o++;for(;o<e&&t[o].skip;)o++;for(o%=e,n&&(i+=o);i>o&&t[i%e].skip;)i--;return i%=e,{start:o,end:i}}(n,o,i,r);return Sn(t,!0===r?[{start:a,end:s,loop:i}]:function(t,e,n,r){const o=t.length,i=[];let a,s=e,l=t[e];for(a=e+1;a<=n;++a){const n=t[a%o];n.skip||n.stop?l.skip||(r=!1,i.push({start:e%o,end:(a-1)%o,loop:r}),e=s=n.stop?a:null):(s=a,l.skip&&(e=a)),l=n}return null!==s&&i.push({start:e%o,end:s%o,loop:r}),i}(n,a,s<a?s+o:s,!!t._fullLoop&&0===a&&s===o-1),n,e)}(this,this.options.segment))}first(){const t=this.segments,e=this.points;return t.length&&e[t[0].start]}last(){const t=this.segments,e=this.points,n=t.length;return n&&e[t[n-1].end]}interpolate(t,e){const n=this.options,r=t[e],o=this.points,i=_n(this,{property:e,start:r,end:r});if(!i.length)return;const a=[],s=function(t){return t.stepped?mn:t.tension||"monotone"===t.cubicInterpolationMode?vn:gn}(n);let l,c;for(l=0,c=i.length;l<c;++l){const{start:c,end:u}=i[l],d=o[c],h=o[u];if(d===h){a.push(d);continue}const f=s(d,h,Math.abs((r-d[e])/(h[e]-d[e])),n.stepped);f[e]=t[e],a.push(f)}return 1===a.length?a[0]:a}pathSegment(t,e,n){return $o(this)(t,this,e,n)}path(t,e,n){const r=this.segments,o=$o(this);let i=this._loop;e=e||0,n=n||this.points.length-e;for(const a of r)i&=o(t,this,a,{start:e,end:e+n-1});return!!i}draw(t,e,n,r){const o=this.options||{};(this.points||[]).length&&o.borderWidth&&(t.save(),Qo(t,this,n,r),t.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}function Jo(t,e,n,r){const o=t.options,{[n]:i}=t.getProps([n],r);return Math.abs(e-i)<o.radius+o.hitRadius}(0,o.A)(Zo,"id","line"),(0,o.A)(Zo,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),(0,o.A)(Zo,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),(0,o.A)(Zo,"descriptors",{_scriptable:!0,_indexable:t=>"borderDash"!==t&&"fill"!==t});class ti extends Kr{constructor(t){super(),(0,o.A)(this,"parsed",void 0),(0,o.A)(this,"skip",void 0),(0,o.A)(this,"stop",void 0),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,t&&Object.assign(this,t)}inRange(t,e,n){const r=this.options,{x:o,y:i}=this.getProps(["x","y"],n);return Math.pow(t-o,2)+Math.pow(e-i,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(t,e){return Jo(this,t,"x",e)}inYRange(t,e){return Jo(this,t,"y",e)}getCenterPoint(t){const{x:e,y:n}=this.getProps(["x","y"],t);return{x:e,y:n}}size(t){let e=(t=t||this.options||{}).radius||0;e=Math.max(e,e&&t.hoverRadius||0);return 2*(e+(e&&t.borderWidth||0))}draw(t,e){const n=this.options;this.skip||n.radius<.1||!ge(this,e,this.size(n)/2)||(t.strokeStyle=n.borderColor,t.lineWidth=n.borderWidth,t.fillStyle=n.backgroundColor,fe(t,n,this.x,this.y))}getRange(){const t=this.options||{};return t.radius+t.hitRadius}}function ei(t,e){const{x:n,y:r,base:o,width:i,height:a}=t.getProps(["x","y","base","width","height"],e);let s,l,c,u,d;return t.horizontal?(d=a/2,s=Math.min(n,o),l=Math.max(n,o),c=r-d,u=r+d):(d=i/2,s=n-d,l=n+d,c=Math.min(r,o),u=Math.max(r,o)),{left:s,top:c,right:l,bottom:u}}function ni(t,e,n,r){return t?0:Mt(e,n,r)}function ri(t){const e=ei(t),n=e.right-e.left,r=e.bottom-e.top,o=function(t,e,n){const r=t.options.borderWidth,o=t.borderSkipped,i=Pe(r);return{t:ni(o.top,i.top,0,n),r:ni(o.right,i.right,0,e),b:ni(o.bottom,i.bottom,0,n),l:ni(o.left,i.left,0,e)}}(t,n/2,r/2),i=function(t,e,n){const{enableBorderRadius:r}=t.getProps(["enableBorderRadius"]),o=t.options.borderRadius,i=Me(o),a=Math.min(e,n),s=t.borderSkipped,l=r||V(o);return{topLeft:ni(!l||s.top||s.left,i.topLeft,0,a),topRight:ni(!l||s.top||s.right,i.topRight,0,a),bottomLeft:ni(!l||s.bottom||s.left,i.bottomLeft,0,a),bottomRight:ni(!l||s.bottom||s.right,i.bottomRight,0,a)}}(t,n/2,r/2);return{outer:{x:e.left,y:e.top,w:n,h:r,radius:i},inner:{x:e.left+o.l,y:e.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(o.t,o.l)),topRight:Math.max(0,i.topRight-Math.max(o.t,o.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(o.b,o.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(o.b,o.r))}}}}function oi(t,e,n,r){const o=null===e,i=null===n,a=t&&!(o&&i)&&ei(t,r);return a&&(o||Tt(e,a.left,a.right))&&(i||Tt(n,a.top,a.bottom))}function ii(t,e){t.rect(e.x,e.y,e.w,e.h)}function ai(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=t.x!==n.x?-e:0,o=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-r,a=(t.y+t.h!==n.y+n.h?e:0)-o;return{x:t.x+r,y:t.y+o,w:t.w+i,h:t.h+a,radius:t.radius}}(0,o.A)(ti,"id","point"),(0,o.A)(ti,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),(0,o.A)(ti,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});class si extends Kr{constructor(t){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,t&&Object.assign(this,t)}draw(t){const{inflateAmount:e,options:{borderColor:n,backgroundColor:r}}=this,{inner:o,outer:i}=ri(this),a=(s=i.radius).topLeft||s.topRight||s.bottomLeft||s.bottomRight?Ae:ii;var s;t.save(),i.w===o.w&&i.h===o.h||(t.beginPath(),a(t,ai(i,e,o)),t.clip(),a(t,ai(o,-e,i)),t.fillStyle=n,t.fill("evenodd")),t.beginPath(),a(t,ai(o,e)),t.fillStyle=r,t.fill(),t.restore()}inRange(t,e,n){return oi(this,t,e,n)}inXRange(t,e){return oi(this,t,null,e)}inYRange(t,e){return oi(this,null,t,e)}getCenterPoint(t){const{x:e,y:n,base:r,horizontal:o}=this.getProps(["x","y","base","horizontal"],t);return{x:o?(e+r)/2:e,y:o?n:(n+r)/2}}getRange(t){return"x"===t?this.width/2:this.height/2}}(0,o.A)(si,"id","bar"),(0,o.A)(si,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),(0,o.A)(si,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});const li=(t,e)=>{let{boxHeight:n=e,boxWidth:r=e}=t;return t.usePointStyle&&(n=Math.min(n,e),r=t.pointStyleWidth||Math.min(r,e)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(e,n)}};class ci extends Kr{constructor(t){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e,n){this.maxWidth=t,this.maxHeight=e,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const t=this.options.labels||{};let e=Y(t.generateLabels,[this.chart],this)||[];t.filter&&(e=e.filter(e=>t.filter(e,this.chart.data))),t.sort&&(e=e.sort((e,n)=>t.sort(e,n,this.chart.data))),this.options.reverse&&e.reverse(),this.legendItems=e}fit(){const{options:t,ctx:e}=this;if(!t.display)return void(this.width=this.height=0);const n=t.labels,r=Ne(n.font),o=r.size,i=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=li(n,o);let l,c;e.font=r.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(i,o,a,s)+10):(c=this.maxHeight,l=this._fitCols(i,r,a,s)+10),this.width=Math.min(l,t.maxWidth||this.maxWidth),this.height=Math.min(c,t.maxHeight||this.maxHeight)}_fitRows(t,e,n,r){const{ctx:o,maxWidth:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+a;let u=t;o.textAlign="left",o.textBaseline="middle";let d=-1,h=-c;return this.legendItems.forEach((t,f)=>{const p=n+e/2+o.measureText(t.text).width;(0===f||l[l.length-1]+p+2*a>i)&&(u+=c,l[l.length-(f>0?0:1)]=0,h+=c,d++),s[f]={left:0,top:h,row:d,width:p,height:r},l[l.length-1]+=p+a}),u}_fitCols(t,e,n,r){const{ctx:o,maxHeight:i,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=i-t;let u=a,d=0,h=0,f=0,p=0;return this.legendItems.forEach((t,i)=>{const{itemWidth:g,itemHeight:m}=function(t,e,n,r,o){const i=function(t,e,n,r){let o=t.text;o&&"string"!==typeof o&&(o=o.reduce((t,e)=>t.length>e.length?t:e));return e+n.size/2+r.measureText(o).width}(r,t,e,n),a=function(t,e,n){let r=t;"string"!==typeof e.text&&(r=ui(e,n));return r}(o,r,e.lineHeight);return{itemWidth:i,itemHeight:a}}(n,e,o,t,r);i>0&&h+m+2*a>c&&(u+=d+a,l.push({width:d,height:h}),f+=d+a,p++,d=h=0),s[i]={left:f,top:h,col:p,width:g,height:m},d=Math.max(d,g),h+=m+a}),u+=d,l.push({width:d,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const t=this._computeTitleHeight(),{legendHitBoxes:e,options:{align:n,labels:{padding:r},rtl:o}}=this,i=yn(o,this.left,this.width);if(this.isHorizontal()){let o=0,a=Ht(n,this.left+r,this.right-this.lineWidths[o]);for(const s of e)o!==s.row&&(o=s.row,a=Ht(n,this.left+r,this.right-this.lineWidths[o])),s.top+=this.top+t+r,s.left=i.leftForLtr(i.x(a),s.width),a+=s.width+r}else{let o=0,a=Ht(n,this.top+t+r,this.bottom-this.columnSizes[o].height);for(const s of e)s.col!==o&&(o=s.col,a=Ht(n,this.top+t+r,this.bottom-this.columnSizes[o].height)),s.top=a,s.left+=this.left+r,s.left=i.leftForLtr(i.x(s.left),s.width),a+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const t=this.ctx;me(t,this),this._draw(),ve(t)}}_draw(){const{options:t,columnSizes:e,lineWidths:n,ctx:r}=this,{align:o,labels:i}=t,a=le.color,s=yn(t.rtl,this.left,this.width),l=Ne(i.font),{padding:c}=i,u=l.size,d=u/2;let h;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:f,boxHeight:p,itemHeight:g}=li(i,u),m=this.isHorizontal(),v=this._computeTitleHeight();h=m?{x:Ht(o,this.left+c,this.right-n[0]),y:this.top+c+v,line:0}:{x:this.left+c,y:Ht(o,this.top+v+c,this.bottom-e[0].height),line:0},bn(this.ctx,t.textDirection);const y=g+c;this.legendItems.forEach((b,x)=>{r.strokeStyle=b.fontColor,r.fillStyle=b.fontColor;const w=r.measureText(b.text).width,k=s.textAlign(b.textAlign||(b.textAlign=i.textAlign)),A=f+d+w;let _=h.x,S=h.y;s.setWidth(this.width),m?x>0&&_+A+c>this.right&&(S=h.y+=y,h.line++,_=h.x=Ht(o,this.left+c,this.right-n[h.line])):x>0&&S+y>this.bottom&&(_=h.x=_+e[h.line].width+c,h.line++,S=h.y=Ht(o,this.top+v+c,this.bottom-e[h.line].height));if(function(t,e,n){if(isNaN(f)||f<=0||isNaN(p)||p<0)return;r.save();const o=W(n.lineWidth,1);if(r.fillStyle=W(n.fillStyle,a),r.lineCap=W(n.lineCap,"butt"),r.lineDashOffset=W(n.lineDashOffset,0),r.lineJoin=W(n.lineJoin,"miter"),r.lineWidth=o,r.strokeStyle=W(n.strokeStyle,a),r.setLineDash(W(n.lineDash,[])),i.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:o},l=s.xPlus(t,f/2);pe(r,a,l,e+d,i.pointStyleWidth&&f)}else{const i=e+Math.max((u-p)/2,0),a=s.leftForLtr(t,f),l=Me(n.borderRadius);r.beginPath(),Object.values(l).some(t=>0!==t)?Ae(r,{x:a,y:i,w:f,h:p,radius:l}):r.rect(a,i,f,p),r.fill(),0!==o&&r.stroke()}r.restore()}(s.x(_),S,b),_=((t,e,n,r)=>t===(r?"left":"right")?n:"center"===t?(e+n)/2:e)(k,_+f+d,m?_+A:this.right,t.rtl),function(t,e,n){ke(r,n.text,t,e+g/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(_),S,b),m)h.x+=A+c;else if("string"!==typeof b.text){const t=l.lineHeight;h.y+=ui(b,t)+c}else h.y+=y}),xn(this.ctx,t.textDirection)}drawTitle(){const t=this.options,e=t.title,n=Ne(e.font),r=Te(e.padding);if(!e.display)return;const o=yn(t.rtl,this.left,this.width),i=this.ctx,a=e.position,s=n.size/2,l=r.top+s;let c,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+l,u=Ht(t.align,u,this.right-d);else{const e=this.columnSizes.reduce((t,e)=>Math.max(t,e.height),0);c=l+Ht(t.align,this.top,this.bottom-e-t.labels.padding-this._computeTitleHeight())}const h=Ht(a,u,u+d);i.textAlign=o.textAlign(Ft(a)),i.textBaseline="middle",i.strokeStyle=e.color,i.fillStyle=e.color,i.font=n.string,ke(i,e.text,h,c,n)}_computeTitleHeight(){const t=this.options.title,e=Ne(t.font),n=Te(t.padding);return t.display?e.lineHeight+n.height:0}_getLegendItemAt(t,e){let n,r,o;if(Tt(t,this.left,this.right)&&Tt(e,this.top,this.bottom))for(o=this.legendHitBoxes,n=0;n<o.length;++n)if(r=o[n],Tt(t,r.left,r.left+r.width)&&Tt(e,r.top,r.top+r.height))return this.legendItems[n];return null}handleEvent(t){const e=this.options;if(!function(t,e){if(("mousemove"===t||"mouseout"===t)&&(e.onHover||e.onLeave))return!0;if(e.onClick&&("click"===t||"mouseup"===t))return!0;return!1}(t.type,e))return;const n=this._getLegendItemAt(t.x,t.y);if("mousemove"===t.type||"mouseout"===t.type){const i=this._hoveredItem,a=(o=n,null!==(r=i)&&null!==o&&r.datasetIndex===o.datasetIndex&&r.index===o.index);i&&!a&&Y(e.onLeave,[t,i,this],this),this._hoveredItem=n,n&&!a&&Y(e.onHover,[t,n,this],this)}else n&&Y(e.onClick,[t,n,this],this);var r,o}}function ui(t,e){return e*(t.text?t.text.length:0)}var di={id:"legend",_element:ci,start(t,e,n){const r=t.legend=new ci({ctx:t.ctx,options:n,chart:t});Mr.configure(t,r,n),Mr.addBox(t,r)},stop(t){Mr.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const r=t.legend;Mr.configure(t,r,n),r.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const r=e.datasetIndex,o=n.chart;o.isDatasetVisible(r)?(o.hide(r),e.hidden=!0):(o.show(r),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:r,textAlign:o,color:i,useBorderRadius:a,borderRadius:s}}=t.legend.options;return t._getSortedDatasetMetas().map(t=>{const l=t.controller.getStyle(n?0:void 0),c=Te(l.borderWidth);return{text:e[t.index].label,fillStyle:l.backgroundColor,fontColor:i,hidden:!t.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:r||l.pointStyle,rotation:l.rotation,textAlign:o||l.textAlign,borderRadius:a&&(s||l.borderRadius),datasetIndex:t.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class hi extends Kr{constructor(t){super(),this.chart=t.chart,this.options=t.options,this.ctx=t.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(t,e){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=t,this.height=this.bottom=e;const r=H(n.text)?n.text.length:1;this._padding=Te(n.padding);const o=r*Ne(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=o:this.width=o}isHorizontal(){const t=this.options.position;return"top"===t||"bottom"===t}_drawArgs(t){const{top:e,left:n,bottom:r,right:o,options:i}=this,a=i.align;let s,l,c,u=0;return this.isHorizontal()?(l=Ht(a,n,o),c=e+t,s=o-n):("left"===i.position?(l=n+t,c=Ht(a,r,e),u=-.5*lt):(l=o-t,c=Ht(a,e,r),u=.5*lt),s=r-e),{titleX:l,titleY:c,maxWidth:s,rotation:u}}draw(){const t=this.ctx,e=this.options;if(!e.display)return;const n=Ne(e.font),r=n.lineHeight/2+this._padding.top,{titleX:o,titleY:i,maxWidth:a,rotation:s}=this._drawArgs(r);ke(t,e.text,0,0,n,{color:e.color,maxWidth:a,rotation:s,textAlign:Ft(e.align),textBaseline:"middle",translation:[o,i]})}}var fi={id:"title",_element:hi,start(t,e,n){!function(t,e){const n=new hi({ctx:t.ctx,options:e,chart:t});Mr.configure(t,n,e),Mr.addBox(t,n),t.titleBlock=n}(t,n)},stop(t){const e=t.titleBlock;Mr.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const r=t.titleBlock;Mr.configure(t,r,n),r.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const pi={average(t){if(!t.length)return!1;let e,n,r=0,o=0,i=0;for(e=0,n=t.length;e<n;++e){const n=t[e].element;if(n&&n.hasValue()){const t=n.tooltipPosition();r+=t.x,o+=t.y,++i}}return{x:r/i,y:o/i}},nearest(t,e){if(!t.length)return!1;let n,r,o,i=e.x,a=e.y,s=Number.POSITIVE_INFINITY;for(n=0,r=t.length;n<r;++n){const r=t[n].element;if(r&&r.hasValue()){const t=Ct(e,r.getCenterPoint());t<s&&(s=t,o=r)}}if(o){const t=o.tooltipPosition();i=t.x,a=t.y}return{x:i,y:a}}};function gi(t,e){return e&&(H(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function mi(t){return("string"===typeof t||t instanceof String)&&t.indexOf("\n")>-1?t.split("\n"):t}function vi(t,e){const{element:n,datasetIndex:r,index:o}=e,i=t.getDatasetMeta(r).controller,{label:a,value:s}=i.getLabelAndValue(o);return{chart:t,label:a,parsed:i.getParsed(o),raw:t.data.datasets[r].data[o],formattedValue:s,dataset:i.getDataset(),dataIndex:o,datasetIndex:r,element:n}}function yi(t,e){const n=t.chart.ctx,{body:r,footer:o,title:i}=t,{boxWidth:a,boxHeight:s}=e,l=Ne(e.bodyFont),c=Ne(e.titleFont),u=Ne(e.footerFont),d=i.length,h=o.length,f=r.length,p=Te(e.padding);let g=p.height,m=0,v=r.reduce((t,e)=>t+e.before.length+e.lines.length+e.after.length,0);if(v+=t.beforeBody.length+t.afterBody.length,d&&(g+=d*c.lineHeight+(d-1)*e.titleSpacing+e.titleMarginBottom),v){g+=f*(e.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(v-f)*l.lineHeight+(v-1)*e.bodySpacing}h&&(g+=e.footerMarginTop+h*u.lineHeight+(h-1)*e.footerSpacing);let y=0;const b=function(t){m=Math.max(m,n.measureText(t).width+y)};return n.save(),n.font=c.string,K(t.title,b),n.font=l.string,K(t.beforeBody.concat(t.afterBody),b),y=e.displayColors?a+2+e.boxPadding:0,K(r,t=>{K(t.before,b),K(t.lines,b),K(t.after,b)}),y=0,n.font=u.string,K(t.footer,b),n.restore(),m+=p.width,{width:m,height:g}}function bi(t,e,n,r){const{x:o,width:i}=n,{width:a,chartArea:{left:s,right:l}}=t;let c="center";return"center"===r?c=o<=(s+l)/2?"left":"right":o<=i/2?c="left":o>=a-i/2&&(c="right"),function(t,e,n,r){const{x:o,width:i}=r,a=n.caretSize+n.caretPadding;return"left"===t&&o+i+a>e.width||"right"===t&&o-i-a<0||void 0}(c,t,e,n)&&(c="center"),c}function xi(t,e,n){const r=n.yAlign||e.yAlign||function(t,e){const{y:n,height:r}=e;return n<r/2?"top":n>t.height-r/2?"bottom":"center"}(t,n);return{xAlign:n.xAlign||e.xAlign||bi(t,e,n,r),yAlign:r}}function wi(t,e,n,r){const{caretSize:o,caretPadding:i,cornerRadius:a}=t,{xAlign:s,yAlign:l}=n,c=o+i,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=Me(a);let p=function(t,e){let{x:n,width:r}=t;return"right"===e?n-=r:"center"===e&&(n-=r/2),n}(e,s);const g=function(t,e,n){let{y:r,height:o}=t;return"top"===e?r+=n:r-="bottom"===e?o+n:o/2,r}(e,l,c);return"center"===l?"left"===s?p+=c:"right"===s&&(p-=c):"left"===s?p-=Math.max(u,h)+o:"right"===s&&(p+=Math.max(d,f)+o),{x:Mt(p,0,r.width-e.width),y:Mt(g,0,r.height-e.height)}}function ki(t,e,n){const r=Te(n.padding);return"center"===e?t.x+t.width/2:"right"===e?t.x+t.width-r.right:t.x+r.left}function Ai(t){return gi([],mi(t))}function _i(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Si={beforeTitle:z,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return e.dataset.label||"";if(e.label)return e.label;if(r>0&&e.dataIndex<r)return n[e.dataIndex]}return""},afterTitle:z,beforeBody:z,beforeLabel:z,label(t){if(this&&this.options&&"dataset"===this.options.mode)return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return F(n)||(e+=n),e},labelColor(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:e.borderColor,backgroundColor:e.backgroundColor,borderWidth:e.borderWidth,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const e=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:e.pointStyle,rotation:e.rotation}},afterLabel:z,afterBody:z,beforeFooter:z,footer:z,afterFooter:z};function Ci(t,e,n,r){const o=t[e].call(n,r);return"undefined"===typeof o?Si[e].call(n,r):o}class Ei extends Kr{constructor(t){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=t.chart,this.options=t.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(t){this.options=t,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const t=this._cachedAnimations;if(t)return t;const e=this.chart,n=this.options.setContext(this.getContext()),r=n.enabled&&e.options.animation&&n.animations,o=new Rn(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(o)),o}getContext(){return this.$context||(this.$context=(t=this.chart.getContext(),e=this,n=this._tooltipItems,Le(t,{tooltip:e,tooltipItems:n,type:"tooltip"})));var t,e,n}getTitle(t,e){const{callbacks:n}=e,r=Ci(n,"beforeTitle",this,t),o=Ci(n,"title",this,t),i=Ci(n,"afterTitle",this,t);let a=[];return a=gi(a,mi(r)),a=gi(a,mi(o)),a=gi(a,mi(i)),a}getBeforeBody(t,e){return Ai(Ci(e.callbacks,"beforeBody",this,t))}getBody(t,e){const{callbacks:n}=e,r=[];return K(t,t=>{const e={before:[],lines:[],after:[]},o=_i(n,t);gi(e.before,mi(Ci(o,"beforeLabel",this,t))),gi(e.lines,Ci(o,"label",this,t)),gi(e.after,mi(Ci(o,"afterLabel",this,t))),r.push(e)}),r}getAfterBody(t,e){return Ai(Ci(e.callbacks,"afterBody",this,t))}getFooter(t,e){const{callbacks:n}=e,r=Ci(n,"beforeFooter",this,t),o=Ci(n,"footer",this,t),i=Ci(n,"afterFooter",this,t);let a=[];return a=gi(a,mi(r)),a=gi(a,mi(o)),a=gi(a,mi(i)),a}_createItems(t){const e=this._active,n=this.chart.data,r=[],o=[],i=[];let a,s,l=[];for(a=0,s=e.length;a<s;++a)l.push(vi(this.chart,e[a]));return t.filter&&(l=l.filter((e,r,o)=>t.filter(e,r,o,n))),t.itemSort&&(l=l.sort((e,r)=>t.itemSort(e,r,n))),K(l,e=>{const n=_i(t.callbacks,e);r.push(Ci(n,"labelColor",this,e)),o.push(Ci(n,"labelPointStyle",this,e)),i.push(Ci(n,"labelTextColor",this,e))}),this.labelColors=r,this.labelPointStyles=o,this.labelTextColors=i,this.dataPoints=l,l}update(t,e){const n=this.options.setContext(this.getContext()),r=this._active;let o,i=[];if(r.length){const t=pi[n.position].call(this,r,this._eventPosition);i=this._createItems(n),this.title=this.getTitle(i,n),this.beforeBody=this.getBeforeBody(i,n),this.body=this.getBody(i,n),this.afterBody=this.getAfterBody(i,n),this.footer=this.getFooter(i,n);const e=this._size=yi(this,n),a=Object.assign({},t,e),s=xi(this.chart,n,a),l=wi(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,o={opacity:1,x:l.x,y:l.y,width:e.width,height:e.height,caretX:t.x,caretY:t.y}}else 0!==this.opacity&&(o={opacity:0});this._tooltipItems=i,this.$context=void 0,o&&this._resolveAnimations().update(this,o),t&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:e})}drawCaret(t,e,n,r){const o=this.getCaretPosition(t,n,r);e.lineTo(o.x1,o.y1),e.lineTo(o.x2,o.y2),e.lineTo(o.x3,o.y3)}getCaretPosition(t,e,n){const{xAlign:r,yAlign:o}=this,{caretSize:i,cornerRadius:a}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=Me(a),{x:d,y:h}=t,{width:f,height:p}=e;let g,m,v,y,b,x;return"center"===o?(b=h+p/2,"left"===r?(g=d,m=g-i,y=b+i,x=b-i):(g=d+f,m=g+i,y=b-i,x=b+i),v=g):(m="left"===r?d+Math.max(s,c)+i:"right"===r?d+f-Math.max(l,u)-i:this.caretX,"top"===o?(y=h,b=y-i,g=m-i,v=m+i):(y=h+p,b=y+i,g=m+i,v=m-i),x=y),{x1:g,x2:m,x3:v,y1:y,y2:b,y3:x}}drawTitle(t,e,n){const r=this.title,o=r.length;let i,a,s;if(o){const l=yn(n.rtl,this.x,this.width);for(t.x=ki(this,n.titleAlign,n),e.textAlign=l.textAlign(n.titleAlign),e.textBaseline="middle",i=Ne(n.titleFont),a=n.titleSpacing,e.fillStyle=n.titleColor,e.font=i.string,s=0;s<o;++s)e.fillText(r[s],l.x(t.x),t.y+i.lineHeight/2),t.y+=i.lineHeight+a,s+1===o&&(t.y+=n.titleMarginBottom-a)}}_drawColorBox(t,e,n,r,o){const i=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:s,boxWidth:l}=o,c=Ne(o.bodyFont),u=ki(this,"left",o),d=r.x(u),h=s<c.lineHeight?(c.lineHeight-s)/2:0,f=e.y+h;if(o.usePointStyle){const e={radius:Math.min(l,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=r.leftForLtr(d,l)+l/2,c=f+s/2;t.strokeStyle=o.multiKeyBackground,t.fillStyle=o.multiKeyBackground,fe(t,e,n,c),t.strokeStyle=i.borderColor,t.fillStyle=i.backgroundColor,fe(t,e,n,c)}else{t.lineWidth=V(i.borderWidth)?Math.max(...Object.values(i.borderWidth)):i.borderWidth||1,t.strokeStyle=i.borderColor,t.setLineDash(i.borderDash||[]),t.lineDashOffset=i.borderDashOffset||0;const e=r.leftForLtr(d,l),n=r.leftForLtr(r.xPlus(d,1),l-2),a=Me(i.borderRadius);Object.values(a).some(t=>0!==t)?(t.beginPath(),t.fillStyle=o.multiKeyBackground,Ae(t,{x:e,y:f,w:l,h:s,radius:a}),t.fill(),t.stroke(),t.fillStyle=i.backgroundColor,t.beginPath(),Ae(t,{x:n,y:f+1,w:l-2,h:s-2,radius:a}),t.fill()):(t.fillStyle=o.multiKeyBackground,t.fillRect(e,f,l,s),t.strokeRect(e,f,l,s),t.fillStyle=i.backgroundColor,t.fillRect(n,f+1,l-2,s-2))}t.fillStyle=this.labelTextColors[n]}drawBody(t,e,n){const{body:r}=this,{bodySpacing:o,bodyAlign:i,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=Ne(n.bodyFont);let d=u.lineHeight,h=0;const f=yn(n.rtl,this.x,this.width),p=function(n){e.fillText(n,f.x(t.x+h),t.y+d/2),t.y+=d+o},g=f.textAlign(i);let m,v,y,b,x,w,k;for(e.textAlign=i,e.textBaseline="middle",e.font=u.string,t.x=ki(this,g,n),e.fillStyle=n.bodyColor,K(this.beforeBody,p),h=a&&"right"!==g?"center"===i?l/2+c:l+2+c:0,b=0,w=r.length;b<w;++b){for(m=r[b],v=this.labelTextColors[b],e.fillStyle=v,K(m.before,p),y=m.lines,a&&y.length&&(this._drawColorBox(e,t,b,f,n),d=Math.max(u.lineHeight,s)),x=0,k=y.length;x<k;++x)p(y[x]),d=u.lineHeight;K(m.after,p)}h=0,d=u.lineHeight,K(this.afterBody,p),t.y-=o}drawFooter(t,e,n){const r=this.footer,o=r.length;let i,a;if(o){const s=yn(n.rtl,this.x,this.width);for(t.x=ki(this,n.footerAlign,n),t.y+=n.footerMarginTop,e.textAlign=s.textAlign(n.footerAlign),e.textBaseline="middle",i=Ne(n.footerFont),e.fillStyle=n.footerColor,e.font=i.string,a=0;a<o;++a)e.fillText(r[a],s.x(t.x),t.y+i.lineHeight/2),t.y+=i.lineHeight+n.footerSpacing}}drawBackground(t,e,n,r){const{xAlign:o,yAlign:i}=this,{x:a,y:s}=t,{width:l,height:c}=n,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=Me(r.cornerRadius);e.fillStyle=r.backgroundColor,e.strokeStyle=r.borderColor,e.lineWidth=r.borderWidth,e.beginPath(),e.moveTo(a+u,s),"top"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+l-d,s),e.quadraticCurveTo(a+l,s,a+l,s+d),"center"===i&&"right"===o&&this.drawCaret(t,e,n,r),e.lineTo(a+l,s+c-f),e.quadraticCurveTo(a+l,s+c,a+l-f,s+c),"bottom"===i&&this.drawCaret(t,e,n,r),e.lineTo(a+h,s+c),e.quadraticCurveTo(a,s+c,a,s+c-h),"center"===i&&"left"===o&&this.drawCaret(t,e,n,r),e.lineTo(a,s+u),e.quadraticCurveTo(a,s,a+u,s),e.closePath(),e.fill(),r.borderWidth>0&&e.stroke()}_updateAnimationTarget(t){const e=this.chart,n=this.$animations,r=n&&n.x,o=n&&n.y;if(r||o){const n=pi[t.position].call(this,this._active,this._eventPosition);if(!n)return;const i=this._size=yi(this,t),a=Object.assign({},n,this._size),s=xi(e,t,a),l=wi(t,a,s,e);r._to===l.x&&o._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=i.width,this.height=i.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(t){const e=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(e);const r={width:this.width,height:this.height},o={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const i=Te(e.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;e.enabled&&a&&(t.save(),t.globalAlpha=n,this.drawBackground(o,t,r,e),bn(t,e.textDirection),o.y+=i.top,this.drawTitle(o,t,e),this.drawBody(o,t,e),this.drawFooter(o,t,e),xn(t,e.textDirection),t.restore())}getActiveElements(){return this._active||[]}setActiveElements(t,e){const n=this._active,r=t.map(t=>{let{datasetIndex:e,index:n}=t;const r=this.chart.getDatasetMeta(e);if(!r)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:r.data[n],index:n}}),o=!$(n,r),i=this._positionChanged(r,e);(o||i)&&(this._active=r,this._eventPosition=e,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(e&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,o=this._active||[],i=this._getActiveElements(t,o,e,n),a=this._positionChanged(i,t),s=e||!$(i,o)||a;return s&&(this._active=i,(r.enabled||r.external)&&(this._eventPosition={x:t.x,y:t.y},this.update(!0,e))),s}_getActiveElements(t,e,n,r){const o=this.options;if("mouseout"===t.type)return[];if(!r)return e.filter(t=>this.chart.data.datasets[t.datasetIndex]&&void 0!==this.chart.getDatasetMeta(t.datasetIndex).controller.getParsed(t.index));const i=this.chart.getElementsAtEventForMode(t,o.mode,o,n);return o.reverse&&i.reverse(),i}_positionChanged(t,e){const{caretX:n,caretY:r,options:o}=this,i=pi[o.position].call(this,t,e);return!1!==i&&(n!==i.x||r!==i.y)}}(0,o.A)(Ei,"positioners",pi);var Oi={id:"tooltip",_element:Ei,positioners:pi,afterInit(t,e,n){n&&(t.tooltip=new Ei({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(!1===t.notifyPlugins("beforeTooltipDraw",(0,r.A)((0,r.A)({},n),{},{cancelable:!0})))return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Si},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>"filter"!==t&&"itemSort"!==t&&"external"!==t,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function Pi(t,e,n,r){const o=t.indexOf(e);if(-1===o)return((t,e,n,r)=>("string"===typeof e?(n=t.push(e)-1,r.unshift({index:n,label:e})):isNaN(e)&&(n=null),n))(t,e,n,r);return o!==t.lastIndexOf(e)?n:o}function Mi(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class Ti extends oo{constructor(t){super(t),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(t){const e=this._addedLabels;if(e.length){const t=this.getLabels();for(const{index:n,label:r}of e)t[n]===r&&t.splice(n,1);this._addedLabels=[]}super.init(t)}parse(t,e){if(F(t))return null;const n=this.getLabels();return((t,e)=>null===t?null:Mt(Math.round(t),0,e))(e=isFinite(e)&&n[e]===t?e:Pi(n,t,W(e,t),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(t||(n=0),e||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const t=this.min,e=this.max,n=this.options.offset,r=[];let o=this.getLabels();o=0===t&&e===o.length-1?o:o.slice(t,e+1),this._valueRange=Math.max(o.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let i=t;i<=e;i++)r.push({value:i});return r}getLabelForValue(t){return Mi.call(this,t)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(t){return"number"!==typeof t&&(t=this.parse(t)),null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getPixelForTick(t){const e=this.ticks;return t<0||t>e.length-1?null:this.getPixelForValue(e[t].value)}getValueForPixel(t){return Math.round(this._startValue+this.getDecimalForPixel(t)*this._valueRange)}getBasePixel(){return this.bottom}}function Ni(t,e){const n=[],{bounds:r,step:o,min:i,max:a,precision:s,count:l,maxTicks:c,maxDigits:u,includeBounds:d}=t,h=o||1,f=c-1,{min:p,max:g}=e,m=!F(i),v=!F(a),y=!F(l),b=(g-p)/(u+1);let x,w,k,A,_=bt((g-p)/f/h)*h;if(_<1e-14&&!m&&!v)return[{value:p},{value:g}];A=Math.ceil(g/_)-Math.floor(p/_),A>f&&(_=bt(A*_/f/h)*h),F(s)||(x=Math.pow(10,s),_=Math.ceil(_*x)/x),"ticks"===r?(w=Math.floor(p/_)*_,k=Math.ceil(g/_)*_):(w=p,k=g),m&&v&&o&&function(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}((a-i)/o,_/1e3)?(A=Math.round(Math.min((a-i)/_,c)),_=(a-i)/A,w=i,k=a):y?(w=m?i:w,k=v?a:k,A=l-1,_=(k-w)/A):(A=(k-w)/_,A=yt(A,Math.round(A),_/1e3)?Math.round(A):Math.ceil(A));const S=Math.max(_t(_),_t(w));x=Math.pow(10,F(s)?S:s),w=Math.round(w*x)/x,k=Math.round(k*x)/x;let C=0;for(m&&(d&&w!==i?(n.push({value:i}),w<i&&C++,yt(Math.round((w+C*_)*x)/x,i,Ri(i,b,t))&&C++):w<i&&C++);C<A;++C){const t=Math.round((w+C*_)*x)/x;if(v&&t>a)break;n.push({value:t})}return v&&d&&k!==a?n.length&&yt(n[n.length-1].value,a,Ri(a,b,t))?n[n.length-1].value=a:n.push({value:a}):v&&k!==a||n.push({value:k}),n}function Ri(t,e,n){let{horizontal:r,minRotation:o}=n;const i=kt(o),a=(r?Math.sin(i):Math.cos(i))||.001,s=.75*e*(""+t).length;return Math.min(e/a,s)}(0,o.A)(Ti,"id","category"),(0,o.A)(Ti,"defaults",{ticks:{callback:Mi}});class Li extends oo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(t,e){return F(t)||("number"===typeof t||t instanceof Number)&&!isFinite(+t)?null:+t}handleTickRangeOptions(){const{beginAtZero:t}=this.options,{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:r,max:o}=this;const i=t=>r=e?r:t,a=t=>o=n?o:t;if(t){const t=vt(r),e=vt(o);t<0&&e<0?a(0):t>0&&e>0&&i(0)}if(r===o){let e=0===o?1:Math.abs(.05*o);a(o+e),t||i(r-e)}this.min=r,this.max=o}getTickLimit(){const t=this.options.ticks;let e,{maxTicksLimit:n,stepSize:r}=t;return r?(e=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,e>1e3&&(console.warn("scales.".concat(this.id,".ticks.stepSize: ").concat(r," would result generating up to ").concat(e," ticks. Limiting to 1000.")),e=1e3)):(e=this.computeTickLimit(),n=n||11),n&&(e=Math.min(n,e)),e}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const t=this.options,e=t.ticks;let n=this.getTickLimit();n=Math.max(2,n);const r=Ni({maxTicks:n,bounds:t.bounds,min:t.min,max:t.max,precision:e.precision,step:e.stepSize,count:e.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:e.minRotation||0,includeBounds:!1!==e.includeBounds},this._range||this);return"ticks"===t.bounds&&wt(r,this,"value"),t.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const t=this.ticks;let e=this.min,n=this.max;if(super.configure(),this.options.offset&&t.length){const r=(n-e)/Math.max(t.length-1,1)/2;e-=r,n+=r}this._startValue=e,this._endValue=n,this._valueRange=n-e}getLabelForValue(t){return te(t,this.chart.options.locale,this.options.ticks.format)}}class Di extends Li{determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?t:0,this.max=q(e)?e:1,this.handleTickRangeOptions()}computeTickLimit(){const t=this.isHorizontal(),e=t?this.width:this.height,n=kt(this.options.ticks.minRotation),r=(t?Math.sin(n):Math.cos(n))||.001,o=this._resolveTickFontOptions(0);return Math.ceil(e/Math.min(40,o.lineHeight/r))}getPixelForValue(t){return null===t?NaN:this.getPixelForDecimal((t-this._startValue)/this._valueRange)}getValueForPixel(t){return this._startValue+this.getDecimalForPixel(t)*this._valueRange}}(0,o.A)(Di,"id","linear"),(0,o.A)(Di,"defaults",{ticks:{callback:ne.formatters.numeric}});const ji=t=>Math.floor(mt(t)),Ii=(t,e)=>Math.pow(10,ji(t)+e);function zi(t){return 1===t/Math.pow(10,ji(t))}function Bi(t,e,n){const r=Math.pow(10,n),o=Math.floor(t/r);return Math.ceil(e/r)-o}function Fi(t,e){let{min:n,max:r}=e;n=U(t.min,n);const o=[],i=ji(n);let a=function(t,e){let n=ji(e-t);for(;Bi(t,e,n)>10;)n++;for(;Bi(t,e,n)<10;)n--;return Math.min(n,ji(t))}(n,r),s=a<0?Math.pow(10,Math.abs(a)):1;const l=Math.pow(10,a),c=i>a?Math.pow(10,i):0,u=Math.round((n-c)*s)/s,d=Math.floor((n-c)/l/10)*l*10;let h=Math.floor((u-d)/Math.pow(10,a)),f=U(t.min,Math.round((c+d+h*Math.pow(10,a))*s)/s);for(;f<r;)o.push({value:f,major:zi(f),significand:h}),h>=10?h=h<15?15:20:h++,h>=20&&(a++,h=2,s=a>=0?1:s),f=Math.round((c+d+h*Math.pow(10,a))*s)/s;const p=U(t.max,f);return o.push({value:p,major:zi(p),significand:h}),o}class Hi extends oo{constructor(t){super(t),this.start=void 0,this.end=void 0,this._startValue=void 0,this._valueRange=0}parse(t,e){const n=Li.prototype.parse.apply(this,[t,e]);if(0!==n)return q(n)&&n>0?n:null;this._zero=!0}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!0);this.min=q(t)?Math.max(0,t):null,this.max=q(e)?Math.max(0,e):null,this.options.beginAtZero&&(this._zero=!0),this._zero&&this.min!==this._suggestedMin&&!q(this._userMin)&&(this.min=t===Ii(this.min,0)?Ii(this.min,-1):Ii(this.min,0)),this.handleTickRangeOptions()}handleTickRangeOptions(){const{minDefined:t,maxDefined:e}=this.getUserBounds();let n=this.min,r=this.max;const o=e=>n=t?n:e,i=t=>r=e?r:t;n===r&&(n<=0?(o(1),i(10)):(o(Ii(n,-1)),i(Ii(r,1)))),n<=0&&o(Ii(r,-1)),r<=0&&i(Ii(n,1)),this.min=n,this.max=r}buildTicks(){const t=this.options,e=Fi({min:this._userMin,max:this._userMax},this);return"ticks"===t.bounds&&wt(e,this,"value"),t.reverse?(e.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),e}getLabelForValue(t){return void 0===t?"0":te(t,this.chart.options.locale,this.options.ticks.format)}configure(){const t=this.min;super.configure(),this._startValue=mt(t),this._valueRange=mt(this.max)-mt(t)}getPixelForValue(t){return void 0!==t&&0!==t||(t=this.min),null===t||isNaN(t)?NaN:this.getPixelForDecimal(t===this.min?0:(mt(t)-this._startValue)/this._valueRange)}getValueForPixel(t){const e=this.getDecimalForPixel(t);return Math.pow(10,this._startValue+e*this._valueRange)}}function Vi(t){const e=t.ticks;if(e.display&&t.display){const t=Te(e.backdropPadding);return W(e.font&&e.font.size,le.font.size)+t.height}return 0}function qi(t,e,n){return n=H(n)?n:[n],{w:ue(t,e.string,n),h:n.length*e.lineHeight}}function Ui(t,e,n,r,o){return t===r||t===o?{start:e-n/2,end:e+n/2}:t<r||t>o?{start:e-n,end:e}:{start:e,end:e+n}}function Wi(t){const e={l:t.left+t._padding.left,r:t.right-t._padding.right,t:t.top+t._padding.top,b:t.bottom-t._padding.bottom},n=Object.assign({},e),r=[],o=[],i=t._pointLabels.length,a=t.options.pointLabels,s=a.centerPointLabels?lt/i:0;for(let l=0;l<i;l++){const i=a.setContext(t.getPointLabelContext(l));o[l]=i.padding;const c=t.getPointPosition(l,t.drawingArea+o[l],s),u=Ne(i.font),d=qi(t.ctx,u,t._pointLabels[l]);r[l]=d;const h=Ot(t.getIndexAngle(l)+s),f=Math.round(At(h));Gi(n,e,h,Ui(f,c.x,d.w,0,180),Ui(f,c.y,d.h,90,270))}t.setCenterPoint(e.l-n.l,n.r-e.r,e.t-n.t,n.b-e.b),t._pointLabelItems=function(t,e,n){const r=[],o=t._pointLabels.length,i=t.options,{centerPointLabels:a,display:s}=i.pointLabels,l={extra:Vi(i)/2,additionalAngle:a?lt/o:0};let c;for(let u=0;u<o;u++){l.padding=n[u],l.size=e[u];const o=Yi(t,u,l);r.push(o),"auto"===s&&(o.visible=Ki(o,c),o.visible&&(c=o))}return r}(t,r,o)}function Gi(t,e,n,r,o){const i=Math.abs(Math.sin(n)),a=Math.abs(Math.cos(n));let s=0,l=0;r.start<e.l?(s=(e.l-r.start)/i,t.l=Math.min(t.l,e.l-s)):r.end>e.r&&(s=(r.end-e.r)/i,t.r=Math.max(t.r,e.r+s)),o.start<e.t?(l=(e.t-o.start)/a,t.t=Math.min(t.t,e.t-l)):o.end>e.b&&(l=(o.end-e.b)/a,t.b=Math.max(t.b,e.b+l))}function Yi(t,e,n){const r=t.drawingArea,{extra:o,additionalAngle:i,padding:a,size:s}=n,l=t.getPointPosition(e,r+o+a,i),c=Math.round(At(Ot(l.angle+ft))),u=function(t,e,n){90===n||270===n?t-=e/2:(n>270||n<90)&&(t-=e);return t}(l.y,s.h,c),d=function(t){if(0===t||180===t)return"center";if(t<180)return"left";return"right"}(c),h=function(t,e,n){"right"===n?t-=e:"center"===n&&(t-=e/2);return t}(l.x,s.w,d);return{visible:!0,x:l.x,y:u,textAlign:d,left:h,top:u,right:h+s.w,bottom:u+s.h}}function Ki(t,e){if(!e)return!0;const{left:n,top:r,right:o,bottom:i}=t;return!(ge({x:n,y:r},e)||ge({x:n,y:i},e)||ge({x:o,y:r},e)||ge({x:o,y:i},e))}function $i(t,e,n){const{left:r,top:o,right:i,bottom:a}=n,{backdropColor:s}=e;if(!F(s)){const n=Me(e.borderRadius),l=Te(e.backdropPadding);t.fillStyle=s;const c=r-l.left,u=o-l.top,d=i-r+l.width,h=a-o+l.height;Object.values(n).some(t=>0!==t)?(t.beginPath(),Ae(t,{x:c,y:u,w:d,h:h,radius:n}),t.fill()):t.fillRect(c,u,d,h)}}function Xi(t,e,n,r){const{ctx:o}=t;if(n)o.arc(t.xCenter,t.yCenter,e,0,ct);else{let n=t.getPointPosition(0,e);o.moveTo(n.x,n.y);for(let i=1;i<r;i++)n=t.getPointPosition(i,e),o.lineTo(n.x,n.y)}}(0,o.A)(Hi,"id","logarithmic"),(0,o.A)(Hi,"defaults",{ticks:{callback:ne.formatters.logarithmic,major:{enabled:!0}}});class Qi extends Li{constructor(t){super(t),this.xCenter=void 0,this.yCenter=void 0,this.drawingArea=void 0,this._pointLabels=[],this._pointLabelItems=[]}setDimensions(){const t=this._padding=Te(Vi(this.options)/2),e=this.width=this.maxWidth-t.width,n=this.height=this.maxHeight-t.height;this.xCenter=Math.floor(this.left+e/2+t.left),this.yCenter=Math.floor(this.top+n/2+t.top),this.drawingArea=Math.floor(Math.min(e,n)/2)}determineDataLimits(){const{min:t,max:e}=this.getMinMax(!1);this.min=q(t)&&!isNaN(t)?t:0,this.max=q(e)&&!isNaN(e)?e:0,this.handleTickRangeOptions()}computeTickLimit(){return Math.ceil(this.drawingArea/Vi(this.options))}generateTickLabels(t){Li.prototype.generateTickLabels.call(this,t),this._pointLabels=this.getLabels().map((t,e)=>{const n=Y(this.options.pointLabels.callback,[t,e],this);return n||0===n?n:""}).filter((t,e)=>this.chart.getDataVisibility(e))}fit(){const t=this.options;t.display&&t.pointLabels.display?Wi(this):this.setCenterPoint(0,0,0,0)}setCenterPoint(t,e,n,r){this.xCenter+=Math.floor((t-e)/2),this.yCenter+=Math.floor((n-r)/2),this.drawingArea-=Math.min(this.drawingArea/2,Math.max(t,e,n,r))}getIndexAngle(t){return Ot(t*(ct/(this._pointLabels.length||1))+kt(this.options.startAngle||0))}getDistanceFromCenterForValue(t){if(F(t))return NaN;const e=this.drawingArea/(this.max-this.min);return this.options.reverse?(this.max-t)*e:(t-this.min)*e}getValueForDistanceFromCenter(t){if(F(t))return NaN;const e=t/(this.drawingArea/(this.max-this.min));return this.options.reverse?this.max-e:this.min+e}getPointLabelContext(t){const e=this._pointLabels||[];if(t>=0&&t<e.length){const n=e[t];return function(t,e,n){return Le(t,{label:n,index:e,type:"pointLabel"})}(this.getContext(),t,n)}}getPointPosition(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;const r=this.getIndexAngle(t)-ft+n;return{x:Math.cos(r)*e+this.xCenter,y:Math.sin(r)*e+this.yCenter,angle:r}}getPointPositionForValue(t,e){return this.getPointPosition(t,this.getDistanceFromCenterForValue(e))}getBasePosition(t){return this.getPointPositionForValue(t||0,this.getBaseValue())}getPointLabelPosition(t){const{left:e,top:n,right:r,bottom:o}=this._pointLabelItems[t];return{left:e,top:n,right:r,bottom:o}}drawBackground(){const{backgroundColor:t,grid:{circular:e}}=this.options;if(t){const n=this.ctx;n.save(),n.beginPath(),Xi(this,this.getDistanceFromCenterForValue(this._endValue),e,this._pointLabels.length),n.closePath(),n.fillStyle=t,n.fill(),n.restore()}}drawGrid(){const t=this.ctx,e=this.options,{angleLines:n,grid:r,border:o}=e,i=this._pointLabels.length;let a,s,l;if(e.pointLabels.display&&function(t,e){const{ctx:n,options:{pointLabels:r}}=t;for(let o=e-1;o>=0;o--){const e=t._pointLabelItems[o];if(!e.visible)continue;const i=r.setContext(t.getPointLabelContext(o));$i(n,i,e);const a=Ne(i.font),{x:s,y:l,textAlign:c}=e;ke(n,t._pointLabels[o],s,l+a.lineHeight/2,a,{color:i.color,textAlign:c,textBaseline:"middle"})}}(this,i),r.display&&this.ticks.forEach((t,e)=>{if(0!==e){s=this.getDistanceFromCenterForValue(t.value);const n=this.getContext(e),a=r.setContext(n),l=o.setContext(n);!function(t,e,n,r,o){const i=t.ctx,a=e.circular,{color:s,lineWidth:l}=e;!a&&!r||!s||!l||n<0||(i.save(),i.strokeStyle=s,i.lineWidth=l,i.setLineDash(o.dash),i.lineDashOffset=o.dashOffset,i.beginPath(),Xi(t,n,a,r),i.closePath(),i.stroke(),i.restore())}(this,a,s,i,l)}}),n.display){for(t.save(),a=i-1;a>=0;a--){const r=n.setContext(this.getPointLabelContext(a)),{color:o,lineWidth:i}=r;i&&o&&(t.lineWidth=i,t.strokeStyle=o,t.setLineDash(r.borderDash),t.lineDashOffset=r.borderDashOffset,s=this.getDistanceFromCenterForValue(e.ticks.reverse?this.min:this.max),l=this.getPointPosition(a,s),t.beginPath(),t.moveTo(this.xCenter,this.yCenter),t.lineTo(l.x,l.y),t.stroke())}t.restore()}}drawBorder(){}drawLabels(){const t=this.ctx,e=this.options,n=e.ticks;if(!n.display)return;const r=this.getIndexAngle(0);let o,i;t.save(),t.translate(this.xCenter,this.yCenter),t.rotate(r),t.textAlign="center",t.textBaseline="middle",this.ticks.forEach((r,a)=>{if(0===a&&!e.reverse)return;const s=n.setContext(this.getContext(a)),l=Ne(s.font);if(o=this.getDistanceFromCenterForValue(this.ticks[a].value),s.showLabelBackdrop){t.font=l.string,i=t.measureText(r.label).width,t.fillStyle=s.backdropColor;const e=Te(s.backdropPadding);t.fillRect(-i/2-e.left,-o-l.size/2-e.top,i+e.width,l.size+e.height)}ke(t,r.label,0,-o,l,{color:s.color,strokeColor:s.textStrokeColor,strokeWidth:s.textStrokeWidth})}),t.restore()}drawTitle(){}}(0,o.A)(Qi,"id","radialLinear"),(0,o.A)(Qi,"defaults",{display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,lineWidth:1,borderDash:[],borderDashOffset:0},grid:{circular:!1},startAngle:0,ticks:{showLabelBackdrop:!0,callback:ne.formatters.numeric},pointLabels:{backdropColor:void 0,backdropPadding:2,display:!0,font:{size:10},callback:t=>t,padding:5,centerPointLabels:!1}}),(0,o.A)(Qi,"defaultRoutes",{"angleLines.color":"borderColor","pointLabels.color":"color","ticks.color":"color"}),(0,o.A)(Qi,"descriptors",{angleLines:{_fallback:"grid"}});const Zi={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Ji=Object.keys(Zi);function ta(t,e){return t-e}function ea(t,e){if(F(e))return null;const n=t._adapter,{parser:r,round:o,isoWeekday:i}=t._parseOpts;let a=e;return"function"===typeof r&&(a=r(a)),q(a)||(a="string"===typeof r?n.parse(a,r):n.parse(a)),null===a?null:(o&&(a="week"!==o||!xt(i)&&!0!==i?n.startOf(a,o):n.startOf(a,"isoWeek",i)),+a)}function na(t,e,n,r){const o=Ji.length;for(let i=Ji.indexOf(t);i<o-1;++i){const t=Zi[Ji[i]],o=t.steps?t.steps:Number.MAX_SAFE_INTEGER;if(t.common&&Math.ceil((n-e)/(o*t.size))<=r)return Ji[i]}return Ji[o-1]}function ra(t,e,n){if(n){if(n.length){const{lo:r,hi:o}=Nt(n,e);t[n[r]>=e?n[r]:n[o]]=!0}}else t[e]=!0}function oa(t,e,n){const r=[],o={},i=e.length;let a,s;for(a=0;a<i;++a)s=e[a],o[s]=a,r.push({value:s,major:!1});return 0!==i&&n?function(t,e,n,r){const o=t._adapter,i=+o.startOf(e[0].value,r),a=e[e.length-1].value;let s,l;for(s=i;s<=a;s=+o.add(s,1,r))l=n[s],l>=0&&(e[l].major=!0);return e}(t,r,o,n):r}class ia extends oo{constructor(t){super(t),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=t.time||(t.time={}),r=this._adapter=new ur(t.adapters.date);r.init(e),tt(n.displayFormats,r.formats()),this._parseOpts={parser:n.parser,round:n.round,isoWeekday:n.isoWeekday},super.init(t),this._normalized=e.normalized}parse(t,e){return void 0===t?null:ea(this,t)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const t=this.options,e=this._adapter,n=t.time.unit||"day";let{min:r,max:o,minDefined:i,maxDefined:a}=this.getUserBounds();function s(t){i||isNaN(t.min)||(r=Math.min(r,t.min)),a||isNaN(t.max)||(o=Math.max(o,t.max))}i&&a||(s(this._getLabelBounds()),"ticks"===t.bounds&&"labels"===t.ticks.source||s(this.getMinMax(!1))),r=q(r)&&!isNaN(r)?r:+e.startOf(Date.now(),n),o=q(o)&&!isNaN(o)?o:+e.endOf(Date.now(),n)+1,this.min=Math.min(r,o-1),this.max=Math.max(r+1,o)}_getLabelBounds(){const t=this.getLabelTimestamps();let e=Number.POSITIVE_INFINITY,n=Number.NEGATIVE_INFINITY;return t.length&&(e=t[0],n=t[t.length-1]),{min:e,max:n}}buildTicks(){const t=this.options,e=t.time,n=t.ticks,r="labels"===n.source?this.getLabelTimestamps():this._generate();"ticks"===t.bounds&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const o=this.min,i=function(t,e,n){let r=0,o=t.length;for(;r<o&&t[r]<e;)r++;for(;o>r&&t[o-1]>n;)o--;return r>0||o<t.length?t.slice(r,o):t}(r,o,this.max);return this._unit=e.unit||(n.autoSkip?na(e.minUnit,this.min,this.max,this._getLabelCapacity(o)):function(t,e,n,r,o){for(let i=Ji.length-1;i>=Ji.indexOf(n);i--){const n=Ji[i];if(Zi[n].common&&t._adapter.diff(o,r,n)>=e-1)return n}return Ji[n?Ji.indexOf(n):0]}(this,i.length,e.minUnit,this.min,this.max)),this._majorUnit=n.major.enabled&&"year"!==this._unit?function(t){for(let e=Ji.indexOf(t)+1,n=Ji.length;e<n;++e)if(Zi[Ji[e]].common)return Ji[e]}(this._unit):void 0,this.initOffsets(r),t.reverse&&i.reverse(),oa(this,i,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(t=>+t.value))}initOffsets(){let t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=0,o=0;this.options.offset&&n.length&&(t=this.getDecimalForValue(n[0]),r=1===n.length?1-t:(this.getDecimalForValue(n[1])-t)/2,e=this.getDecimalForValue(n[n.length-1]),o=1===n.length?e:(e-this.getDecimalForValue(n[n.length-2]))/2);const i=n.length<3?.5:.25;r=Mt(r,0,i),o=Mt(o,0,i),this._offsets={start:r,end:o,factor:1/(r+1+o)}}_generate(){const t=this._adapter,e=this.min,n=this.max,r=this.options,o=r.time,i=o.unit||na(o.minUnit,e,n,this._getLabelCapacity(e)),a=W(r.ticks.stepSize,1),s="week"===i&&o.isoWeekday,l=xt(s)||!0===s,c={};let u,d,h=e;if(l&&(h=+t.startOf(h,"isoWeek",s)),h=+t.startOf(h,l?"day":i),t.diff(n,e,i)>1e5*a)throw new Error(e+" and "+n+" are too far apart with stepSize of "+a+" "+i);const f="data"===r.ticks.source&&this.getDataTimestamps();for(u=h,d=0;u<n;u=+t.add(u,a,i),d++)ra(c,u,f);return u!==n&&"ticks"!==r.bounds&&1!==d||ra(c,u,f),Object.keys(c).sort(ta).map(t=>+t)}getLabelForValue(t){const e=this._adapter,n=this.options.time;return n.tooltipFormat?e.format(t,n.tooltipFormat):e.format(t,n.displayFormats.datetime)}format(t,e){const n=this.options.time.displayFormats,r=this._unit,o=e||n[r];return this._adapter.format(t,o)}_tickFormatFunction(t,e,n,r){const o=this.options,i=o.ticks.callback;if(i)return Y(i,[t,e,n],this);const a=o.time.displayFormats,s=this._unit,l=this._majorUnit,c=s&&a[s],u=l&&a[l],d=n[e],h=l&&u&&d&&d.major;return this._adapter.format(t,r||(h?u:c))}generateTickLabels(t){let e,n,r;for(e=0,n=t.length;e<n;++e)r=t[e],r.label=this._tickFormatFunction(r.value,e,t)}getDecimalForValue(t){return null===t?NaN:(t-this.min)/(this.max-this.min)}getPixelForValue(t){const e=this._offsets,n=this.getDecimalForValue(t);return this.getPixelForDecimal((e.start+n)*e.factor)}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return this.min+n*(this.max-this.min)}_getLabelSize(t){const e=this.options.ticks,n=this.ctx.measureText(t).width,r=kt(this.isHorizontal()?e.maxRotation:e.minRotation),o=Math.cos(r),i=Math.sin(r),a=this._resolveTickFontOptions(0).size;return{w:n*o+a*i,h:n*i+a*o}}_getLabelCapacity(t){const e=this.options.time,n=e.displayFormats,r=n[e.unit]||n.millisecond,o=this._tickFormatFunction(t,0,oa(this,[t],this._majorUnit),r),i=this._getLabelSize(o),a=Math.floor(this.isHorizontal()?this.width/i.w:this.height/i.h)-1;return a>0?a:1}getDataTimestamps(){let t,e,n=this._cache.data||[];if(n.length)return n;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(t=0,e=r.length;t<e;++t)n=n.concat(r[t].controller.getAllParsedValues(this));return this._cache.data=this.normalize(n)}getLabelTimestamps(){const t=this._cache.labels||[];let e,n;if(t.length)return t;const r=this.getLabels();for(e=0,n=r.length;e<n;++e)t.push(ea(this,r[e]));return this._cache.labels=this._normalized?t:this.normalize(t)}normalize(t){return It(t.sort(ta))}}function aa(t,e,n){let r,o,i,a,s=0,l=t.length-1;n?(e>=t[s].pos&&e<=t[l].pos&&({lo:s,hi:l}=Rt(t,"pos",e)),({pos:r,time:i}=t[s]),({pos:o,time:a}=t[l])):(e>=t[s].time&&e<=t[l].time&&({lo:s,hi:l}=Rt(t,"time",e)),({time:r,pos:i}=t[s]),({time:o,pos:a}=t[l]));const c=o-r;return c?i+(a-i)*(e-r)/c:i}(0,o.A)(ia,"id","time"),(0,o.A)(ia,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});class sa extends ia{constructor(t){super(t),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const t=this._getTimestampsForTable(),e=this._table=this.buildLookupTable(t);this._minPos=aa(e,this.min),this._tableRange=aa(e,this.max)-this._minPos,super.initOffsets(t)}buildLookupTable(t){const{min:e,max:n}=this,r=[],o=[];let i,a,s,l,c;for(i=0,a=t.length;i<a;++i)l=t[i],l>=e&&l<=n&&r.push(l);if(r.length<2)return[{time:e,pos:0},{time:n,pos:1}];for(i=0,a=r.length;i<a;++i)c=r[i+1],s=r[i-1],l=r[i],Math.round((c+s)/2)!==l&&o.push({time:l,pos:i/(a-1)});return o}_generate(){const t=this.min,e=this.max;let n=super.getDataTimestamps();return n.includes(t)&&n.length||n.splice(0,0,t),n.includes(e)&&1!==n.length||n.push(e),n.sort((t,e)=>t-e)}_getTimestampsForTable(){let t=this._cache.all||[];if(t.length)return t;const e=this.getDataTimestamps(),n=this.getLabelTimestamps();return t=e.length&&n.length?this.normalize(e.concat(n)):e.length?e:n,t=this._cache.all=t,t}getDecimalForValue(t){return(aa(this._table,t)-this._minPos)/this._tableRange}getValueForPixel(t){const e=this._offsets,n=this.getDecimalForPixel(t)/e.factor-e.end;return aa(this._table,n*this._tableRange+this._minPos,!0)}}(0,o.A)(sa,"id","timeseries"),(0,o.A)(sa,"defaults",ia.defaults)},834:(t,e,n)=>{"use strict";n.d(e,{Tc:()=>a,V1:()=>s,r3:()=>i,xi:()=>o});const r=(t,e)=>t.find(t=>t.id===e);function o(t,e){const n=i(t,e);return{position:n,index:n?t[n].findIndex(t=>t.id===e):-1}}function i(t,e){for(const[n,o]of Object.entries(t))if(r(o,e))return n}function a(t){let e="center";return t.includes("right")&&(e="flex-end"),t.includes("left")&&(e="flex-start"),{display:"flex",flexDirection:"column",alignItems:e}}function s(t){return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===t||"bottom"===t?"0 auto":void 0,top:t.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:t.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:t.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:t.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}},1009:(t,e,n)=>{"use strict";n.d(e,{$Mw:()=>G,A3x:()=>d,ARf:()=>dt,B88:()=>pt,Bc_:()=>J,CKj:()=>tt,Dw7:()=>x,E19:()=>ot,F5$:()=>F,FrA:()=>xt,GGD:()=>X,HaR:()=>O,HzC:()=>V,IXo:()=>lt,Iy6:()=>I,JW4:()=>ut,JXP:()=>gt,MRc:()=>ht,Ohp:()=>y,Ojn:()=>k,PCV:()=>it,PfQ:()=>W,Pj4:()=>C,PjK:()=>b,QFc:()=>$,QPV:()=>L,Q_v:()=>ct,QuH:()=>N,Rrl:()=>q,S8s:()=>j,SG1:()=>E,VSk:()=>nt,Vap:()=>M,VeH:()=>R,WXf:()=>S,YoE:()=>ft,YrT:()=>h,_NO:()=>P,_mV:()=>Y,a4x:()=>_,ayE:()=>B,blI:()=>bt,cfS:()=>mt,cnX:()=>st,dyV:()=>s,eHT:()=>a,esJ:()=>at,fK4:()=>f,fOo:()=>g,fTJ:()=>K,fZZ:()=>D,iHs:()=>rt,irw:()=>p,jH2:()=>T,jTZ:()=>Z,kGk:()=>et,lZI:()=>A,nxz:()=>w,pHD:()=>H,pVQ:()=>vt,qdV:()=>l,ufi:()=>U,vQY:()=>c,wAb:()=>m,wIk:()=>u,wO2:()=>Q,y3G:()=>i,yGN:()=>yt,ydS:()=>v,yx1:()=>z,z1n:()=>o});var r=n(66688);function o(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"22 12 18 12 15 21 9 3 6 12 2 12"}}]})(t)}function i(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12.01",y2:"16"}}]})(t)}function a(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"}},{tag:"line",attr:{x1:"12",y1:"9",x2:"12",y2:"13"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12.01",y2:"17"}}]})(t)}function s(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}},{tag:"polyline",attr:{points:"12 5 19 12 12 19"}}]})(t)}function l(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"7",y1:"17",x2:"17",y2:"7"}},{tag:"polyline",attr:{points:"7 7 17 7 17 17"}}]})(t)}function c(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"20",x2:"18",y2:"10"}},{tag:"line",attr:{x1:"12",y1:"20",x2:"12",y2:"4"}},{tag:"line",attr:{x1:"6",y1:"20",x2:"6",y2:"14"}}]})(t)}function u(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"4",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"16",y1:"2",x2:"16",y2:"6"}},{tag:"line",attr:{x1:"8",y1:"2",x2:"8",y2:"6"}},{tag:"line",attr:{x1:"3",y1:"10",x2:"21",y2:"10"}}]})(t)}function d(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}},{tag:"polyline",attr:{points:"22 4 12 14.01 9 11.01"}}]})(t)}function h(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"20 6 9 17 4 12"}}]})(t)}function f(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"6 9 12 15 18 9"}}]})(t)}function p(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"15 18 9 12 15 6"}}]})(t)}function g(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"9 18 15 12 9 6"}}]})(t)}function m(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"18 15 12 9 6 15"}}]})(t)}function v(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}},{tag:"rect",attr:{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"}}]})(t)}function y(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"polyline",attr:{points:"12 6 12 12 16 14"}}]})(t)}function b(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 18 22 12 16 6"}},{tag:"polyline",attr:{points:"8 6 2 12 8 18"}}]})(t)}function x(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"}}]})(t)}function w(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"9",y:"9",width:"13",height:"13",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"}}]})(t)}function k(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"4",y:"4",width:"16",height:"16",rx:"2",ry:"2"}},{tag:"rect",attr:{x:"9",y:"9",width:"6",height:"6"}},{tag:"line",attr:{x1:"9",y1:"1",x2:"9",y2:"4"}},{tag:"line",attr:{x1:"15",y1:"1",x2:"15",y2:"4"}},{tag:"line",attr:{x1:"9",y1:"20",x2:"9",y2:"23"}},{tag:"line",attr:{x1:"15",y1:"20",x2:"15",y2:"23"}},{tag:"line",attr:{x1:"20",y1:"9",x2:"23",y2:"9"}},{tag:"line",attr:{x1:"20",y1:"14",x2:"23",y2:"14"}},{tag:"line",attr:{x1:"1",y1:"9",x2:"4",y2:"9"}},{tag:"line",attr:{x1:"1",y1:"14",x2:"4",y2:"14"}}]})(t)}function A(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"1",y:"4",width:"22",height:"16",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"1",y1:"10",x2:"23",y2:"10"}}]})(t)}function _(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"7 10 12 15 17 10"}},{tag:"line",attr:{x1:"12",y1:"15",x2:"12",y2:"3"}}]})(t)}function S(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 3a2.828 2.828 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5L17 3z"}}]})(t)}function C(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 20h9"}},{tag:"path",attr:{d:"M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"}}]})(t)}function E(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}},{tag:"path",attr:{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"}}]})(t)}function O(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}},{tag:"polyline",attr:{points:"15 3 21 3 21 9"}},{tag:"line",attr:{x1:"10",y1:"14",x2:"21",y2:"3"}}]})(t)}function P(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17.94 17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"}},{tag:"line",attr:{x1:"1",y1:"1",x2:"23",y2:"23"}}]})(t)}function M(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"}},{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}}]})(t)}function T(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"}},{tag:"polyline",attr:{points:"14 2 14 8 20 8"}},{tag:"line",attr:{x1:"16",y1:"13",x2:"8",y2:"13"}},{tag:"line",attr:{x1:"16",y1:"17",x2:"8",y2:"17"}},{tag:"polyline",attr:{points:"10 9 9 9 8 9"}}]})(t)}function N(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"}},{tag:"polyline",attr:{points:"13 2 13 9 20 9"}}]})(t)}function R(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"}},{tag:"path",attr:{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"}}]})(t)}function L(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"3",width:"7",height:"7"}},{tag:"rect",attr:{x:"14",y:"14",width:"7",height:"7"}},{tag:"rect",attr:{x:"3",y:"14",width:"7",height:"7"}}]})(t)}function D(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"circle",attr:{cx:"8.5",cy:"8.5",r:"1.5"}},{tag:"polyline",attr:{points:"21 15 16 10 5 21"}}]})(t)}function j(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"10"}},{tag:"line",attr:{x1:"12",y1:"16",x2:"12",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"8",x2:"12.01",y2:"8"}}]})(t)}function I(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"3",y1:"9",x2:"21",y2:"9"}},{tag:"line",attr:{x1:"9",y1:"21",x2:"9",y2:"9"}}]})(t)}function z(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M15 7h3a5 5 0 0 1 5 5 5 5 0 0 1-5 5h-3m-6 0H6a5 5 0 0 1-5-5 5 5 0 0 1 5-5h3"}},{tag:"line",attr:{x1:"8",y1:"12",x2:"16",y2:"12"}}]})(t)}function B(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}},{tag:"path",attr:{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}}]})(t)}function F(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}},{tag:"path",attr:{d:"M7 11V7a5 5 0 0 1 10 0v4"}}]})(t)}function H(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"}},{tag:"polyline",attr:{points:"22,6 12,13 2,6"}}]})(t)}function V(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}},{tag:"circle",attr:{cx:"12",cy:"10",r:"3"}}]})(t)}function q(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M12 1a3 3 0 0 0-3 3v8a3 3 0 0 0 6 0V4a3 3 0 0 0-3-3z"}},{tag:"path",attr:{d:"M19 10v2a7 7 0 0 1-14 0v-2"}},{tag:"line",attr:{x1:"12",y1:"19",x2:"12",y2:"23"}},{tag:"line",attr:{x1:"8",y1:"23",x2:"16",y2:"23"}}]})(t)}function U(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"8",y1:"21",x2:"16",y2:"21"}},{tag:"line",attr:{x1:"12",y1:"17",x2:"12",y2:"21"}}]})(t)}function W(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"5 9 2 12 5 15"}},{tag:"polyline",attr:{points:"9 5 12 2 15 5"}},{tag:"polyline",attr:{points:"15 19 12 22 9 19"}},{tag:"polyline",attr:{points:"19 9 22 12 19 15"}},{tag:"line",attr:{x1:"2",y1:"12",x2:"22",y2:"12"}},{tag:"line",attr:{x1:"12",y1:"2",x2:"12",y2:"22"}}]})(t)}function G(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M9 18V5l12-2v13"}},{tag:"circle",attr:{cx:"6",cy:"18",r:"3"}},{tag:"circle",attr:{cx:"18",cy:"16",r:"3"}}]})(t)}function Y(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48"}}]})(t)}function K(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"19",y1:"5",x2:"5",y2:"19"}},{tag:"circle",attr:{cx:"6.5",cy:"6.5",r:"2.5"}},{tag:"circle",attr:{cx:"17.5",cy:"17.5",r:"2.5"}}]})(t)}function $(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z"}}]})(t)}function X(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"12",y1:"5",x2:"12",y2:"19"}},{tag:"line",attr:{x1:"5",y1:"12",x2:"19",y2:"12"}}]})(t)}function Q(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"1 4 1 10 7 10"}},{tag:"polyline",attr:{points:"23 20 23 14 17 14"}},{tag:"path",attr:{d:"M20.49 9A9 9 0 0 0 5.64 5.64L1 10m22 4l-4.64 4.36A9 9 0 0 1 3.51 15"}}]})(t)}function Z(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 4 23 10 17 10"}},{tag:"polyline",attr:{points:"1 20 1 14 7 14"}},{tag:"path",attr:{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"}}]})(t)}function J(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M19 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11l5 5v11a2 2 0 0 1-2 2z"}},{tag:"polyline",attr:{points:"17 21 17 13 7 13 7 21"}},{tag:"polyline",attr:{points:"7 3 7 8 15 8"}}]})(t)}function tt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"11",cy:"11",r:"8"}},{tag:"line",attr:{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}}]})(t)}function et(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"22",y1:"2",x2:"11",y2:"13"}},{tag:"polygon",attr:{points:"22 2 15 22 11 13 2 9 22 2"}}]})(t)}function nt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"12",cy:"12",r:"3"}},{tag:"path",attr:{d:"M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"}}]})(t)}function rt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"circle",attr:{cx:"9",cy:"21",r:"1"}},{tag:"circle",attr:{cx:"20",cy:"21",r:"1"}},{tag:"path",attr:{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"}}]})(t)}function ot(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"3",y:"3",width:"18",height:"18",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"9",y1:"3",x2:"9",y2:"21"}}]})(t)}function it(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"5",y:"2",width:"14",height:"20",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"12",y1:"18",x2:"12.01",y2:"18"}}]})(t)}function at(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"rect",attr:{x:"4",y:"2",width:"16",height:"20",rx:"2",ry:"2"}},{tag:"line",attr:{x1:"12",y1:"18",x2:"12.01",y2:"18"}}]})(t)}function st(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z"}},{tag:"line",attr:{x1:"7",y1:"7",x2:"7.01",y2:"7"}}]})(t)}function lt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}},{tag:"line",attr:{x1:"10",y1:"11",x2:"10",y2:"17"}},{tag:"line",attr:{x1:"14",y1:"11",x2:"14",y2:"17"}}]})(t)}function ct(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"3 6 5 6 21 6"}},{tag:"path",attr:{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6m3 0V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2"}}]})(t)}function ut(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 18 13.5 8.5 8.5 13.5 1 6"}},{tag:"polyline",attr:{points:"17 18 23 18 23 12"}}]})(t)}function dt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"23 6 13.5 15.5 8.5 10.5 1 18"}},{tag:"polyline",attr:{points:"17 6 23 6 23 12"}}]})(t)}function ht(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"4 7 4 4 20 4 20 7"}},{tag:"line",attr:{x1:"9",y1:"20",x2:"15",y2:"20"}},{tag:"line",attr:{x1:"12",y1:"4",x2:"12",y2:"20"}}]})(t)}function ft(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polyline",attr:{points:"16 16 12 12 8 16"}},{tag:"line",attr:{x1:"12",y1:"12",x2:"12",y2:"21"}},{tag:"path",attr:{d:"M20.39 18.39A5 5 0 0 0 18 9h-1.26A8 8 0 1 0 3 16.3"}},{tag:"polyline",attr:{points:"16 16 12 12 8 16"}}]})(t)}function pt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}},{tag:"polyline",attr:{points:"17 8 12 3 7 8"}},{tag:"line",attr:{x1:"12",y1:"3",x2:"12",y2:"15"}}]})(t)}function gt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"12",cy:"7",r:"4"}}]})(t)}function mt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}},{tag:"circle",attr:{cx:"9",cy:"7",r:"4"}},{tag:"path",attr:{d:"M23 21v-2a4 4 0 0 0-3-3.87"}},{tag:"path",attr:{d:"M16 3.13a4 4 0 0 1 0 7.75"}}]})(t)}function vt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"23 7 16 12 23 17 23 7"}},{tag:"rect",attr:{x:"1",y:"5",width:"15",height:"14",rx:"2",ry:"2"}}]})(t)}function yt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"line",attr:{x1:"18",y1:"6",x2:"6",y2:"18"}},{tag:"line",attr:{x1:"6",y1:"6",x2:"18",y2:"18"}}]})(t)}function bt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"path",attr:{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"}},{tag:"polygon",attr:{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"}}]})(t)}function xt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},child:[{tag:"polygon",attr:{points:"13 2 3 14 12 14 11 22 21 10 12 10 13 2"}}]})(t)}},1441:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("AlignCenter",[["line",{x1:"21",x2:"3",y1:"6",y2:"6",key:"1fp77t"}],["line",{x1:"17",x2:"7",y1:"12",y2:"12",key:"rsh8ii"}],["line",{x1:"19",x2:"5",y1:"18",y2:"18",key:"1t0tuv"}]])},1620:(t,e,n)=>{"use strict";n.d(e,{k:()=>i});var r=n(50849),o=n(62316);function i(t,e){var n,i,a,s,l,c;const u=(0,r.q)(),d=null!==(n=null!==(i=null!==(a=null!==(s=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==s?s:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:u.weekStartsOn)&&void 0!==i?i:null===(c=u.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,h=(0,o.a)(t,null===e||void 0===e?void 0:e.in),f=h.getDay(),p=(f<d?7:0)+f-d;return h.setDate(h.getDate()-p),h.setHours(0,0,0,0),h}},2127:(t,e,n)=>{"use strict";n.d(e,{jBq:()=>o});var r=n(66688);function o(t){return(0,r.k5)({tag:"svg",attr:{fill:"currentColor",viewBox:"0 0 16 16"},child:[{tag:"path",attr:{d:"M13.354.646a1.207 1.207 0 0 0-1.708 0L8.5 3.793l-.646-.647a.5.5 0 1 0-.708.708L8.293 5l-7.147 7.146A.5.5 0 0 0 1 12.5v1.793l-.854.853a.5.5 0 1 0 .708.707L1.707 15H3.5a.5.5 0 0 0 .354-.146L11 7.707l1.146 1.147a.5.5 0 0 0 .708-.708l-.647-.646 3.147-3.146a1.207 1.207 0 0 0 0-1.708l-2-2zM2 12.707l7-7L10.293 7l-7 7H2v-1.293z"}}]})(t)}},2190:(t,e,n)=>{"use strict";n.d(e,{L:()=>r});const r=(0,n(65043).createContext)({})},2206:(t,e,n)=>{"use strict";n.d(e,{HU:()=>G,GF:()=>q,q8:()=>U,wq:()=>H});var r=n(89379),o=n(39611),i=n(39468),a=n(32041);const s=t=>"string"===typeof t?t.replace(/!(important)?$/,"").trim():t;function l(t){const{scale:e,transform:n,compose:r}=t;return(t,o)=>{var i;const l=((t,e)=>n=>{const r=String(e),o=(t=>/!(important)?$/.test(t))(r),i=s(r),l=t?"".concat(t,".").concat(i):i;let c=(0,a.Gv)(n.__cssMap)&&l in n.__cssMap?n.__cssMap[l].varRef:e;return c=s(c),o?"".concat(c," !important"):c})(e,t)(o);let c=null!==(i=null===n||void 0===n?void 0:n(l,o))&&void 0!==i?i:l;return r&&(c=r(c,o)),c}}const c=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return t=>e.reduce((t,e)=>e(t),t)};function u(t,e){return n=>{const r={property:n,scale:t};return r.transform=l({scale:t,transform:e}),r}}const d=t=>{let{rtl:e,ltr:n}=t;return t=>"rtl"===t.direction?e:n};const h=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];const f={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},p={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};const g={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},m={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},v=new Set(Object.values(m)),y=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),b=t=>t.trim();const x=t=>"string"===typeof t&&t.includes("(")&&t.includes(")");const w=t=>e=>"".concat(t,"(").concat(e,")"),k={filter:t=>"auto"!==t?t:f,backdropFilter:t=>"auto"!==t?t:p,ring:t=>function(t){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":t,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(k.px(t)),bgClip:t=>"text"===t?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t},transform:t=>"auto"===t?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...h].join(" "):"auto-gpu"===t?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...h].join(" "):t,vh:t=>"$100vh"===t?"var(--chakra-vh)":t,px(t){if(null==t)return t;const{unitless:e}=(t=>{const e=parseFloat(t.toString()),n=t.toString().replace(String(e),"");return{unitless:!n,value:e,unit:n}})(t);return e||"number"===typeof t?"".concat(t,"px"):t},fraction:t=>"number"!==typeof t||t>1?t:"".concat(100*t,"%"),float:(t,e)=>"rtl"===e.direction?{left:"right",right:"left"}[t]:t,degree(t){if(function(t){return/^var\(--.+\)$/.test(t)}(t)||null==t)return t;const e="string"===typeof t&&!t.endsWith("deg");return"number"===typeof t||e?"".concat(t,"deg"):t},gradient:(t,e)=>function(t,e){if(null==t||y.has(t))return t;if(!x(t)&&!y.has(t))return"url('".concat(t,"')");const n=/(^[a-z-A-Z]+)\((.*)\)/g.exec(t),r=null===n||void 0===n?void 0:n[1],o=null===n||void 0===n?void 0:n[2];if(!r||!o)return t;const i=r.includes("-gradient")?r:"".concat(r,"-gradient"),[a,...s]=o.split(",").map(b).filter(Boolean);if(0===(null===s||void 0===s?void 0:s.length))return t;const l=a in m?m[a]:a;s.unshift(l);const c=s.map(t=>{if(v.has(t))return t;const n=t.indexOf(" "),[r,o]=-1!==n?[t.substr(0,n),t.substr(n+1)]:[t],i=x(o)?o:o&&o.split(" "),a="colors.".concat(r),s=a in e.__cssMap?e.__cssMap[a].varRef:r;return i?[s,...Array.isArray(i)?i:[i]].join(" "):s});return"".concat(i,"(").concat(c.join(", "),")")}(t,null!==e&&void 0!==e?e:{}),blur:w("blur"),opacity:w("opacity"),brightness:w("brightness"),contrast:w("contrast"),dropShadow:w("drop-shadow"),grayscale:w("grayscale"),hueRotate:t=>w("hue-rotate")(k.degree(t)),invert:w("invert"),saturate:w("saturate"),sepia:w("sepia"),bgImage(t){if(null==t)return t;return x(t)||y.has(t)?t:"url(".concat(t,")")},outline(t){const e="0"===String(t)||"none"===String(t);return null!==t&&e?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection(t){var e;const{space:n,divide:r}=null!==(e=g[t])&&void 0!==e?e:{},o={flexDirection:t};return n&&(o[n]=1),r&&(o[r]=1),o}},A={borderWidths:u("borderWidths"),borderStyles:u("borderStyles"),colors:u("colors"),borders:u("borders"),gradients:u("gradients",k.gradient),radii:u("radii",k.px),space:u("space",c(k.vh,k.px)),spaceT:u("space",c(k.vh,k.px)),degreeT:t=>({property:t,transform:k.degree}),prop:(t,e,n)=>(0,r.A)({property:t,scale:e},e&&{transform:l({scale:e,transform:n})}),propT:(t,e)=>({property:t,transform:e}),sizes:u("sizes",c(k.vh,k.px)),sizesT:u("sizes",c(k.vh,k.fraction)),shadows:u("shadows"),logical:function(t){const{property:e,scale:n,transform:r}=t;return{scale:n,property:d(e),transform:n?l({scale:n,compose:r}):r}},blur:u("blur",k.blur)},_={background:A.colors("background"),backgroundColor:A.colors("backgroundColor"),backgroundImage:A.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:k.bgClip},bgSize:A.prop("backgroundSize"),bgPosition:A.prop("backgroundPosition"),bg:A.colors("background"),bgColor:A.colors("backgroundColor"),bgPos:A.prop("backgroundPosition"),bgRepeat:A.prop("backgroundRepeat"),bgAttachment:A.prop("backgroundAttachment"),bgGradient:A.gradients("backgroundImage"),bgClip:{transform:k.bgClip}};Object.assign(_,{bgImage:_.backgroundImage,bgImg:_.backgroundImage});const S={border:A.borders("border"),borderWidth:A.borderWidths("borderWidth"),borderStyle:A.borderStyles("borderStyle"),borderColor:A.colors("borderColor"),borderRadius:A.radii("borderRadius"),borderTop:A.borders("borderTop"),borderBlockStart:A.borders("borderBlockStart"),borderTopLeftRadius:A.radii("borderTopLeftRadius"),borderStartStartRadius:A.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:A.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:A.radii("borderTopRightRadius"),borderStartEndRadius:A.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:A.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:A.borders("borderRight"),borderInlineEnd:A.borders("borderInlineEnd"),borderBottom:A.borders("borderBottom"),borderBlockEnd:A.borders("borderBlockEnd"),borderBottomLeftRadius:A.radii("borderBottomLeftRadius"),borderBottomRightRadius:A.radii("borderBottomRightRadius"),borderLeft:A.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:A.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:A.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:A.borders(["borderLeft","borderRight"]),borderInline:A.borders("borderInline"),borderY:A.borders(["borderTop","borderBottom"]),borderBlock:A.borders("borderBlock"),borderTopWidth:A.borderWidths("borderTopWidth"),borderBlockStartWidth:A.borderWidths("borderBlockStartWidth"),borderTopColor:A.colors("borderTopColor"),borderBlockStartColor:A.colors("borderBlockStartColor"),borderTopStyle:A.borderStyles("borderTopStyle"),borderBlockStartStyle:A.borderStyles("borderBlockStartStyle"),borderBottomWidth:A.borderWidths("borderBottomWidth"),borderBlockEndWidth:A.borderWidths("borderBlockEndWidth"),borderBottomColor:A.colors("borderBottomColor"),borderBlockEndColor:A.colors("borderBlockEndColor"),borderBottomStyle:A.borderStyles("borderBottomStyle"),borderBlockEndStyle:A.borderStyles("borderBlockEndStyle"),borderLeftWidth:A.borderWidths("borderLeftWidth"),borderInlineStartWidth:A.borderWidths("borderInlineStartWidth"),borderLeftColor:A.colors("borderLeftColor"),borderInlineStartColor:A.colors("borderInlineStartColor"),borderLeftStyle:A.borderStyles("borderLeftStyle"),borderInlineStartStyle:A.borderStyles("borderInlineStartStyle"),borderRightWidth:A.borderWidths("borderRightWidth"),borderInlineEndWidth:A.borderWidths("borderInlineEndWidth"),borderRightColor:A.colors("borderRightColor"),borderInlineEndColor:A.colors("borderInlineEndColor"),borderRightStyle:A.borderStyles("borderRightStyle"),borderInlineEndStyle:A.borderStyles("borderInlineEndStyle"),borderTopRadius:A.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:A.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:A.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:A.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(S,{rounded:S.borderRadius,roundedTop:S.borderTopRadius,roundedTopLeft:S.borderTopLeftRadius,roundedTopRight:S.borderTopRightRadius,roundedTopStart:S.borderStartStartRadius,roundedTopEnd:S.borderStartEndRadius,roundedBottom:S.borderBottomRadius,roundedBottomLeft:S.borderBottomLeftRadius,roundedBottomRight:S.borderBottomRightRadius,roundedBottomStart:S.borderEndStartRadius,roundedBottomEnd:S.borderEndEndRadius,roundedLeft:S.borderLeftRadius,roundedRight:S.borderRightRadius,roundedStart:S.borderInlineStartRadius,roundedEnd:S.borderInlineEndRadius,borderStart:S.borderInlineStart,borderEnd:S.borderInlineEnd,borderTopStartRadius:S.borderStartStartRadius,borderTopEndRadius:S.borderStartEndRadius,borderBottomStartRadius:S.borderEndStartRadius,borderBottomEndRadius:S.borderEndEndRadius,borderStartRadius:S.borderInlineStartRadius,borderEndRadius:S.borderInlineEndRadius,borderStartWidth:S.borderInlineStartWidth,borderEndWidth:S.borderInlineEndWidth,borderStartColor:S.borderInlineStartColor,borderEndColor:S.borderInlineEndColor,borderStartStyle:S.borderInlineStartStyle,borderEndStyle:S.borderInlineEndStyle});const C={color:A.colors("color"),textColor:A.colors("color"),fill:A.colors("fill"),stroke:A.colors("stroke"),accentColor:A.colors("accentColor"),textFillColor:A.colors("textFillColor")},E={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:k.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:A.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:A.space("gap"),rowGap:A.space("rowGap"),columnGap:A.space("columnGap")};Object.assign(E,{flexDir:E.flexDirection});const O={width:A.sizesT("width"),inlineSize:A.sizesT("inlineSize"),height:A.sizes("height"),blockSize:A.sizes("blockSize"),boxSize:A.sizes(["width","height"]),minWidth:A.sizes("minWidth"),minInlineSize:A.sizes("minInlineSize"),minHeight:A.sizes("minHeight"),minBlockSize:A.sizes("minBlockSize"),maxWidth:A.sizes("maxWidth"),maxInlineSize:A.sizes("maxInlineSize"),maxHeight:A.sizes("maxHeight"),maxBlockSize:A.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(t,e)=>{var n,r;const o=null!==(n=null===(r=e.__breakpoints)||void 0===r||null===(r=r.get(t))||void 0===r?void 0:r.minW)&&void 0!==n?n:t,i="@media screen and (min-width: ".concat(o,")");return{[i]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(t,e)=>{var n,r;const o=null!==(n=null===(r=e.__breakpoints)||void 0===r||null===(r=r.get(t))||void 0===r?void 0:r._minW)&&void 0!==n?n:t,i="@media screen and (max-width: ".concat(o,")");return{[i]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:A.propT("float",k.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(O,{w:O.width,h:O.height,minW:O.minWidth,maxW:O.maxWidth,minH:O.minHeight,maxH:O.maxHeight,overscroll:O.overscrollBehavior,overscrollX:O.overscrollBehaviorX,overscrollY:O.overscrollBehaviorY});const P={filter:{transform:k.filter},blur:A.blur("--chakra-blur"),brightness:A.propT("--chakra-brightness",k.brightness),contrast:A.propT("--chakra-contrast",k.contrast),hueRotate:A.propT("--chakra-hue-rotate",k.hueRotate),invert:A.propT("--chakra-invert",k.invert),saturate:A.propT("--chakra-saturate",k.saturate),dropShadow:A.propT("--chakra-drop-shadow",k.dropShadow),backdropFilter:{transform:k.backdropFilter},backdropBlur:A.blur("--chakra-backdrop-blur"),backdropBrightness:A.propT("--chakra-backdrop-brightness",k.brightness),backdropContrast:A.propT("--chakra-backdrop-contrast",k.contrast),backdropHueRotate:A.propT("--chakra-backdrop-hue-rotate",k.hueRotate),backdropInvert:A.propT("--chakra-backdrop-invert",k.invert),backdropSaturate:A.propT("--chakra-backdrop-saturate",k.saturate)},M={ring:{transform:k.ring},ringColor:A.colors("--chakra-ring-color"),ringOffset:A.prop("--chakra-ring-offset-width"),ringOffsetColor:A.colors("--chakra-ring-offset-color"),ringInset:A.prop("--chakra-ring-inset")},T={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:k.outline},outlineOffset:!0,outlineColor:A.colors("outlineColor")},N={gridGap:A.space("gridGap"),gridColumnGap:A.space("gridColumnGap"),gridRowGap:A.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0};const R=(t=>{const e=new WeakMap;return(n,r,o,i)=>{if("undefined"===typeof n)return t(n,r,o);e.has(n)||e.set(n,new Map);const a=e.get(n);if(a.has(r))return a.get(r);const s=t(n,r,o,i);return a.set(r,s),s}})(function(t,e,n,r){const o="string"===typeof e?e.split("."):[e];for(r=0;r<o.length&&t;r+=1)t=t[o[r]];return void 0===t?n:t}),L={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},D={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},j=(t,e,n)=>{const r={},o=R(t,e,{});for(const i in o){i in n&&null!=n[i]||(r[i]=o[i])}return r},I={srOnly:{transform:t=>!0===t?L:"focusable"===t?D:{}},layerStyle:{processResult:!0,transform:(t,e,n)=>j(e,"layerStyles.".concat(t),n)},textStyle:{processResult:!0,transform:(t,e,n)=>j(e,"textStyles.".concat(t),n)},apply:{processResult:!0,transform:(t,e,n)=>j(e,t,n)}},z={position:!0,pos:A.prop("position"),zIndex:A.prop("zIndex","zIndices"),inset:A.spaceT("inset"),insetX:A.spaceT(["left","right"]),insetInline:A.spaceT("insetInline"),insetY:A.spaceT(["top","bottom"]),insetBlock:A.spaceT("insetBlock"),top:A.spaceT("top"),insetBlockStart:A.spaceT("insetBlockStart"),bottom:A.spaceT("bottom"),insetBlockEnd:A.spaceT("insetBlockEnd"),left:A.spaceT("left"),insetInlineStart:A.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:A.spaceT("right"),insetInlineEnd:A.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(z,{insetStart:z.insetInlineStart,insetEnd:z.insetInlineEnd});const B={boxShadow:A.shadows("boxShadow"),mixBlendMode:!0,blendMode:A.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:A.prop("backgroundBlendMode"),opacity:!0};Object.assign(B,{shadow:B.boxShadow});const F={margin:A.spaceT("margin"),marginTop:A.spaceT("marginTop"),marginBlockStart:A.spaceT("marginBlockStart"),marginRight:A.spaceT("marginRight"),marginInlineEnd:A.spaceT("marginInlineEnd"),marginBottom:A.spaceT("marginBottom"),marginBlockEnd:A.spaceT("marginBlockEnd"),marginLeft:A.spaceT("marginLeft"),marginInlineStart:A.spaceT("marginInlineStart"),marginX:A.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:A.spaceT("marginInline"),marginY:A.spaceT(["marginTop","marginBottom"]),marginBlock:A.spaceT("marginBlock"),padding:A.space("padding"),paddingTop:A.space("paddingTop"),paddingBlockStart:A.space("paddingBlockStart"),paddingRight:A.space("paddingRight"),paddingBottom:A.space("paddingBottom"),paddingBlockEnd:A.space("paddingBlockEnd"),paddingLeft:A.space("paddingLeft"),paddingInlineStart:A.space("paddingInlineStart"),paddingInlineEnd:A.space("paddingInlineEnd"),paddingX:A.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:A.space("paddingInline"),paddingY:A.space(["paddingTop","paddingBottom"]),paddingBlock:A.space("paddingBlock")};Object.assign(F,{m:F.margin,mt:F.marginTop,mr:F.marginRight,me:F.marginInlineEnd,marginEnd:F.marginInlineEnd,mb:F.marginBottom,ml:F.marginLeft,ms:F.marginInlineStart,marginStart:F.marginInlineStart,mx:F.marginX,my:F.marginY,p:F.padding,pt:F.paddingTop,py:F.paddingY,px:F.paddingX,pb:F.paddingBottom,pl:F.paddingLeft,ps:F.paddingInlineStart,paddingStart:F.paddingInlineStart,pr:F.paddingRight,pe:F.paddingInlineEnd,paddingEnd:F.paddingInlineEnd});const H=o({},_,S,C,E,O,P,M,T,N,I,z,B,F,{scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:A.spaceT("scrollMargin"),scrollMarginTop:A.spaceT("scrollMarginTop"),scrollMarginBottom:A.spaceT("scrollMarginBottom"),scrollMarginLeft:A.spaceT("scrollMarginLeft"),scrollMarginRight:A.spaceT("scrollMarginRight"),scrollMarginX:A.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:A.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:A.spaceT("scrollPadding"),scrollPaddingTop:A.spaceT("scrollPaddingTop"),scrollPaddingBottom:A.spaceT("scrollPaddingBottom"),scrollPaddingLeft:A.spaceT("scrollPaddingLeft"),scrollPaddingRight:A.spaceT("scrollPaddingRight"),scrollPaddingX:A.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:A.spaceT(["scrollPaddingTop","scrollPaddingBottom"])},{fontFamily:A.prop("fontFamily","fonts"),fontSize:A.prop("fontSize","fontSizes",k.px),fontWeight:A.prop("fontWeight","fontWeights"),lineHeight:A.prop("lineHeight","lineHeights"),letterSpacing:A.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(t){if(!0===t)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},{textDecorationColor:A.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:A.shadows("textShadow")},{clipPath:!0,transform:A.propT("transform",k.transform),transformOrigin:!0,translateX:A.spaceT("--chakra-translate-x"),translateY:A.spaceT("--chakra-translate-y"),skewX:A.degreeT("--chakra-skew-x"),skewY:A.degreeT("--chakra-skew-y"),scaleX:A.prop("--chakra-scale-x"),scaleY:A.prop("--chakra-scale-y"),scale:A.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:A.degreeT("--chakra-rotate")},{listStyleType:!0,listStylePosition:!0,listStylePos:A.prop("listStylePosition"),listStyleImage:!0,listStyleImg:A.prop("listStyleImage")},{transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:A.prop("transitionDuration","transition.duration"),transitionProperty:A.prop("transitionProperty","transition.property"),transitionTimingFunction:A.prop("transitionTimingFunction","transition.easing")}),V=Object.assign({},F,O,E,N,z),q=Object.keys(V),U=[...Object.keys(H),...i.s],W=(0,r.A)((0,r.A)({},H),i.T),G=t=>t in W},3053:(t,e,n)=>{"use strict";n.d(e,{$:()=>d});var r=n(70579),o=n(65043),i=n(34941),a=n(89379),s=n(80940),l=n(17212),c=n(32041);function u(t){return t&&(0,c.Gv)(t)&&(0,c.Gv)(t.target)}function d(t){const{colorScheme:e,size:n,variant:c,children:d,isDisabled:h}=t,{value:f,onChange:p}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultValue:e,value:n,onChange:r,isDisabled:i,isNative:c}=t,d=(0,s.c)(r),[h,f]=(0,l.i)({value:n,defaultValue:e||[],onChange:d}),p=(0,o.useCallback)(t=>{if(!h)return;const e=u(t)?t.target.checked:!h.includes(t),n=u(t)?t.target.value:t,r=e?[...h,n]:h.filter(t=>String(t)!==String(n));f(r)},[f,h]),g=(0,o.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=c?"checked":"isChecked";return(0,a.A)((0,a.A)({},t),{},{[e]:h.some(e=>String(t.value)===String(e)),onChange:p})},[p,c,h]);return{value:h,isDisabled:i,onChange:p,setValue:f,getCheckboxProps:g}}(t),g=(0,o.useMemo)(()=>({size:n,onChange:p,colorScheme:e,value:f,variant:c,isDisabled:h}),[n,p,e,f,c,h]);return(0,r.jsx)(i.a,{value:g,children:d})}d.displayName="CheckboxGroup"},3109:(t,e,n)=>{"use strict";n.d(e,{e:()=>y,t:()=>b});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(92970),l=n(64844),c=n(65043),u=n(7547),d=n(55003),h=n(36059),f=n(52695);const p=["children","className"],g=["htmlProps","descendants"],m=["isFitted"],[v,y]=(0,s.q)({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tabs />\" "}),b=(0,d.R)(function(t,e){const n=(0,h.o)("Tabs",t),s=(0,a.M)(t),{children:d,className:y}=s,b=(0,o.A)(s,p),x=(0,u.uc)(b),{htmlProps:w,descendants:k}=x,A=(0,o.A)(x,g),_=(0,c.useMemo)(()=>A,[A]),{isFitted:S}=w,C=(0,o.A)(w,m),E=(0,r.A)({position:"relative"},n.root);return(0,i.jsx)(u.at,{value:k,children:(0,i.jsx)(u.O_,{value:_,children:(0,i.jsx)(v,{value:n,children:(0,i.jsx)(f.B.div,(0,r.A)((0,r.A)({className:(0,l.cx)("chakra-tabs",y),ref:e},C),{},{__css:E,children:d}))})})})});b.displayName="Tabs"},3309:(t,e,n)=>{"use strict";function r(t){return Array.isArray(t)}function o(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!r(t)}n.d(e,{oY:()=>d});const i=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];var a=n(35772),s=n(39611),l=n(32041);function c(t){return"function"===typeof t}const u=t=>function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];let a=[...n],l=n[n.length-1];var u;return o(u=l)&&i.every(t=>Object.prototype.hasOwnProperty.call(u,t))&&a.length>1?a=a.slice(0,a.length-1):l=t,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return t=>e.reduce((t,e)=>e(t),t)}(...a.map(t=>e=>c(t)?t(e):function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return s({},...e,h)}(e,t)))(l)},d=u(a.w4);u(a.$7);function h(t,e,n,r){return(c(t)||c(e))&&Object.prototype.hasOwnProperty.call(r,n)?function(){const n=c(t)?t(...arguments):t,r=c(e)?e(...arguments):e;return s({},n,r,h)}:(0,l.Gv)(t)&&(0,l.cy)(e)||(0,l.cy)(t)&&(0,l.Gv)(e)?e:void 0}},3313:(t,e,n)=>{"use strict";n.d(e,{d:()=>l});var r=n(89379),o=n(70579),i=n(80511),a=n(55003),s=n(52695);const l=(0,a.R)((t,e)=>{const n=(0,i.k)();return(0,o.jsx)(s.B.thead,(0,r.A)((0,r.A)({},t),{},{ref:e,__css:n.thead}))})},3343:t=>{t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},3746:(t,e,n)=>{"use strict";n.d(e,{JY:()=>To,sx:()=>hi,gL:()=>mi});var r=n(65043),o=n(25540),i=n(58168),a=n(89379);function s(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var l="function"===typeof Symbol&&Symbol.observable||"@@observable",c=function(){return Math.random().toString(36).substring(7).split("").join(".")},u={INIT:"@@redux/INIT"+c(),REPLACE:"@@redux/REPLACE"+c(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+c()}};function d(t){if("object"!==typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function h(t,e,n){var r;if("function"===typeof e&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(s(0));if("function"===typeof e&&"undefined"===typeof n&&(n=e,e=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(s(1));return n(h)(t,e)}if("function"!==typeof t)throw new Error(s(2));var o=t,i=e,a=[],c=a,f=!1;function p(){c===a&&(c=a.slice())}function g(){if(f)throw new Error(s(3));return i}function m(t){if("function"!==typeof t)throw new Error(s(4));if(f)throw new Error(s(5));var e=!0;return p(),c.push(t),function(){if(e){if(f)throw new Error(s(6));e=!1,p();var n=c.indexOf(t);c.splice(n,1),a=null}}}function v(t){if(!d(t))throw new Error(s(7));if("undefined"===typeof t.type)throw new Error(s(8));if(f)throw new Error(s(9));try{f=!0,i=o(i,t)}finally{f=!1}for(var e=a=c,n=0;n<e.length;n++){(0,e[n])()}return t}return v({type:u.INIT}),(r={dispatch:v,subscribe:m,getState:g,replaceReducer:function(t){if("function"!==typeof t)throw new Error(s(10));o=t,v({type:u.REPLACE})}})[l]=function(){var t,e=m;return(t={subscribe:function(t){if("object"!==typeof t||null===t)throw new Error(s(11));function n(){t.next&&t.next(g())}return n(),{unsubscribe:e(n)}}})[l]=function(){return this},t},r}function f(t,e){return function(){return e(t.apply(this,arguments))}}function p(t,e){if("function"===typeof t)return f(t,e);if("object"!==typeof t||null===t)throw new Error(s(16));var n={};for(var r in t){var o=t[r];"function"===typeof o&&(n[r]=f(o,e))}return n}function g(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce(function(t,e){return function(){return t(e.apply(void 0,arguments))}})}var m=r.createContext(null);var v=function(t){t()},y=function(){return v};var b={notify:function(){},get:function(){return[]}};function x(t,e){var n,r=b;function o(){a.onStateChange&&a.onStateChange()}function i(){n||(n=e?e.addNestedSub(o):t.subscribe(o),r=function(){var t=y(),e=null,n=null;return{clear:function(){e=null,n=null},notify:function(){t(function(){for(var t=e;t;)t.callback(),t=t.next})},get:function(){for(var t=[],n=e;n;)t.push(n),n=n.next;return t},subscribe:function(t){var r=!0,o=n={callback:t,next:null,prev:n};return o.prev?o.prev.next=o:e=o,function(){r&&null!==e&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:e=o.next)}}}}())}var a={addNestedSub:function(t){return i(),r.subscribe(t)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:i,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=b)},getListeners:function(){return r}};return a}var w="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect;const k=function(t){var e=t.store,n=t.context,o=t.children,i=(0,r.useMemo)(function(){var t=x(e);return{store:e,subscription:t}},[e]),a=(0,r.useMemo)(function(){return e.getState()},[e]);w(function(){var t=i.subscription;return t.onStateChange=t.notifyNestedSubs,t.trySubscribe(),a!==e.getState()&&t.notifyNestedSubs(),function(){t.tryUnsubscribe(),t.onStateChange=null}},[i,a]);var s=n||m;return r.createElement(s.Provider,{value:i},o)};var A=n(98587),_=n(80219),S=n.n(_),C=n(32706),E=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],O=["reactReduxForwardedRef"],P=[],M=[null,null];function T(t,e){var n=t[1];return[e.payload,n+1]}function N(t,e,n){w(function(){return t.apply(void 0,e)},n)}function R(t,e,n,r,o,i,a){t.current=r,e.current=o,n.current=!1,i.current&&(i.current=null,a())}function L(t,e,n,r,o,i,a,s,l,c){if(t){var u=!1,d=null,h=function(){if(!u){var t,n,h=e.getState();try{t=r(h,o.current)}catch(f){n=f,d=f}n||(d=null),t===i.current?a.current||l():(i.current=t,s.current=t,a.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};n.onStateChange=h,n.trySubscribe(),h();return function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var D=function(){return[null,0]};function j(t,e){void 0===e&&(e={});var n=e,o=n.getDisplayName,a=void 0===o?function(t){return"ConnectAdvanced("+t+")"}:o,s=n.methodName,l=void 0===s?"connectAdvanced":s,c=n.renderCountProp,u=void 0===c?void 0:c,d=n.shouldHandleStateChanges,h=void 0===d||d,f=n.storeKey,p=void 0===f?"store":f,g=(n.withRef,n.forwardRef),v=void 0!==g&&g,y=n.context,b=void 0===y?m:y,w=(0,A.A)(n,E),k=b;return function(e){var n=e.displayName||e.name||"Component",o=a(n),s=(0,i.A)({},w,{getDisplayName:a,methodName:l,renderCountProp:u,shouldHandleStateChanges:h,storeKey:p,displayName:o,wrappedComponentName:n,WrappedComponent:e}),c=w.pure;var d=c?r.useMemo:function(t){return t()};function f(n){var o=(0,r.useMemo)(function(){var t=n.reactReduxForwardedRef,e=(0,A.A)(n,O);return[n.context,t,e]},[n]),a=o[0],l=o[1],c=o[2],u=(0,r.useMemo)(function(){return a&&a.Consumer&&(0,C.isContextConsumer)(r.createElement(a.Consumer,null))?a:k},[a,k]),f=(0,r.useContext)(u),p=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(f)&&Boolean(f.store);var g=p?n.store:f.store,m=(0,r.useMemo)(function(){return function(e){return t(e.dispatch,s)}(g)},[g]),v=(0,r.useMemo)(function(){if(!h)return M;var t=x(g,p?null:f.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]},[g,p,f]),y=v[0],b=v[1],w=(0,r.useMemo)(function(){return p?f:(0,i.A)({},f,{subscription:y})},[p,f,y]),_=(0,r.useReducer)(T,P,D),S=_[0][0],E=_[1];if(S&&S.error)throw S.error;var j=(0,r.useRef)(),I=(0,r.useRef)(c),z=(0,r.useRef)(),B=(0,r.useRef)(!1),F=d(function(){return z.current&&c===I.current?z.current:m(g.getState(),c)},[g,S,c]);N(R,[I,j,B,c,F,z,b]),N(L,[h,g,y,m,I,j,B,z,b,E],[g,y,m]);var H=(0,r.useMemo)(function(){return r.createElement(e,(0,i.A)({},F,{ref:l}))},[l,e,F]);return(0,r.useMemo)(function(){return h?r.createElement(u.Provider,{value:w},H):H},[u,H,w])}var g=c?r.memo(f):f;if(g.WrappedComponent=e,g.displayName=f.displayName=o,v){var m=r.forwardRef(function(t,e){return r.createElement(g,(0,i.A)({},t,{reactReduxForwardedRef:e}))});return m.displayName=o,m.WrappedComponent=e,S()(m,e)}return S()(g,e)}}function I(t,e){return t===e?0!==t||0!==e||1/t===1/e:t!==t&&e!==e}function z(t,e){if(I(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(e,n[o])||!I(t[n[o]],e[n[o]]))return!1;return!0}function B(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function F(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function H(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=F(t);var o=r(e,n);return"function"===typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=F(o),o=r(e,n)),o},r}}const V=[function(t){return"function"===typeof t?H(t):void 0},function(t){return t?void 0:B(function(t){return{dispatch:t}})},function(t){return t&&"object"===typeof t?B(function(e){return function(t,e){var n={},r=function(r){var o=t[r];"function"===typeof o&&(n[r]=function(){return e(o.apply(void 0,arguments))})};for(var o in t)r(o);return n}(t,e)}):void 0}];const q=[function(t){return"function"===typeof t?H(t):void 0},function(t){return t?void 0:B(function(){return{}})}];function U(t,e,n){return(0,i.A)({},n,t,e)}const W=[function(t){return"function"===typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var l=t(e,n,s);return a?o&&i(l,r)||(r=l):(a=!0,r=l),r}}}(t):void 0},function(t){return t?void 0:function(){return U}}];var G=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Y(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function K(t,e,n,r,o){var i,a,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,h=o.areStatePropsEqual,f=!1;function p(o,f){var p=!d(f,a),g=!u(o,i,f,a);return i=o,a=f,p&&g?(s=t(i,a),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):p?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(l=e(r,a)),c=n(s,l,a)):g?function(){var e=t(i,a),r=!h(e,s);return s=e,r&&(c=n(s,l,a)),c}():c}return function(o,u){return f?p(o,u):(s=t(i=o,a=u),l=e(r,a),c=n(s,l,a),f=!0,c)}}function $(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=(0,A.A)(e,G),a=n(t,i),s=r(t,i),l=o(t,i);return(i.pure?K:Y)(a,s,l,t,i)}var X=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function Q(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function Z(t,e){return t===e}function J(t){var e=void 0===t?{}:t,n=e.connectHOC,r=void 0===n?j:n,o=e.mapStateToPropsFactories,a=void 0===o?q:o,s=e.mapDispatchToPropsFactories,l=void 0===s?V:s,c=e.mergePropsFactories,u=void 0===c?W:c,d=e.selectorFactory,h=void 0===d?$:d;return function(t,e,n,o){void 0===o&&(o={});var s=o,c=s.pure,d=void 0===c||c,f=s.areStatesEqual,p=void 0===f?Z:f,g=s.areOwnPropsEqual,m=void 0===g?z:g,v=s.areStatePropsEqual,y=void 0===v?z:v,b=s.areMergedPropsEqual,x=void 0===b?z:b,w=(0,A.A)(s,X),k=Q(t,a,"mapStateToProps"),_=Q(e,l,"mapDispatchToProps"),S=Q(n,u,"mergeProps");return r(h,(0,i.A)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:k,initMapDispatchToProps:_,initMergeProps:S,pure:d,areStatesEqual:p,areOwnPropsEqual:m,areStatePropsEqual:y,areMergedPropsEqual:x},w))}}const tt=J();var et,nt=n(97950);function rt(t,e){var n=(0,r.useState)(function(){return{inputs:e,result:t()}})[0],o=(0,r.useRef)(!0),i=(0,r.useRef)(n),a=o.current||Boolean(e&&i.current.inputs&&function(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}(e,i.current.inputs))?i.current:{inputs:e,result:t()};return(0,r.useEffect)(function(){o.current=!1,i.current=a},[a]),a.result}et=nt.unstable_batchedUpdates,v=et;var ot=rt,it=function(t,e){return rt(function(){return t},e)},at="Invariant failed";var st=function(t){var e=t.top,n=t.right,r=t.bottom,o=t.left;return{top:e,right:n,bottom:r,left:o,width:n-o,height:r-e,x:o,y:e,center:{x:(n+o)/2,y:(r+e)/2}}},lt=function(t,e){return{top:t.top-e.top,left:t.left-e.left,bottom:t.bottom+e.bottom,right:t.right+e.right}},ct=function(t,e){return{top:t.top+e.top,left:t.left+e.left,bottom:t.bottom-e.bottom,right:t.right-e.right}},ut={top:0,right:0,bottom:0,left:0},dt=function(t){var e=t.borderBox,n=t.margin,r=void 0===n?ut:n,o=t.border,i=void 0===o?ut:o,a=t.padding,s=void 0===a?ut:a,l=st(lt(e,r)),c=st(ct(e,i)),u=st(ct(c,s));return{marginBox:l,borderBox:st(e),paddingBox:c,contentBox:u,margin:r,border:i,padding:s}},ht=function(t){var e=t.slice(0,-2);if("px"!==t.slice(-2))return 0;var n=Number(e);return isNaN(n)&&function(t){if(!t)throw new Error(at)}(!1),n},ft=function(t,e){var n,r,o=t.borderBox,i=t.border,a=t.margin,s=t.padding,l=(r=e,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return dt({borderBox:l,border:i,margin:a,padding:s})},pt=function(t,e){return void 0===e&&(e={x:window.pageXOffset,y:window.pageYOffset}),ft(t,e)},gt=function(t,e){var n={top:ht(e.marginTop),right:ht(e.marginRight),bottom:ht(e.marginBottom),left:ht(e.marginLeft)},r={top:ht(e.paddingTop),right:ht(e.paddingRight),bottom:ht(e.paddingBottom),left:ht(e.paddingLeft)},o={top:ht(e.borderTopWidth),right:ht(e.borderRightWidth),bottom:ht(e.borderBottomWidth),left:ht(e.borderLeftWidth)};return dt({borderBox:t,margin:n,padding:r,border:o})},mt=function(t){var e=t.getBoundingClientRect(),n=window.getComputedStyle(t);return gt(e,n)},vt=Number.isNaN||function(t){return"number"===typeof t&&t!==t};function yt(t,e){return t===e||!(!vt(t)||!vt(e))}function bt(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++)if(!yt(t[n],e[n]))return!1;return!0}const xt=function(t,e){var n;void 0===e&&(e=bt);var r,o=[],i=!1;return function(){for(var a=[],s=0;s<arguments.length;s++)a[s]=arguments[s];return i&&n===this&&e(a,o)||(r=t.apply(this,a),i=!0,n=this,o=a),r}};const wt=function(t){var e=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];e=o,n||(n=requestAnimationFrame(function(){n=null,t.apply(void 0,e)}))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function kt(t,e){}kt.bind(null,"warn"),kt.bind(null,"error");function At(){}function _t(t,e,n){var r=e.map(function(e){var r=function(t,e){return(0,i.A)({},t,{},e)}(n,e.options);return t.addEventListener(e.eventName,e.fn,r),function(){t.removeEventListener(e.eventName,e.fn,r)}});return function(){r.forEach(function(t){t()})}}var St=!0,Ct="Invariant failed";function Et(t){this.message=t}function Ot(t,e){if(!t)throw new Et(St?Ct:Ct+": "+(e||""))}Et.prototype.toString=function(){return this.message};var Pt=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).callbacks=null,e.unbind=At,e.onWindowError=function(t){var n=e.getCallbacks();n.isDragging()&&n.tryAbort(),t.error instanceof Et&&t.preventDefault()},e.getCallbacks=function(){if(!e.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return e.callbacks},e.setCallbacks=function(t){e.callbacks=t},e}(0,o.A)(e,t);var n=e.prototype;return n.componentDidMount=function(){this.unbind=_t(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(t){if(!(t instanceof Et))throw t;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},e}(r.Component),Mt=function(t){return t+1},Tt=function(t,e){var n=t.droppableId===e.droppableId,r=Mt(t.index),o=Mt(e.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+t.droppableId+"\n to list "+e.droppableId+"\n in position "+o+"\n "},Nt=function(t,e,n){return e.droppableId===n.droppableId?"\n The item "+t+"\n has been combined with "+n.draggableId:"\n The item "+t+"\n in list "+e.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Rt=function(t){return"\n The item has returned to its starting position\n of "+Mt(t.index)+"\n"},Lt={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(t){return"\n You have lifted an item in position "+Mt(t.source.index)+"\n"},onDragUpdate:function(t){var e=t.destination;if(e)return Tt(t.source,e);var n=t.combine;return n?Nt(t.draggableId,t.source,n):"You are over an area that cannot be dropped on"},onDragEnd:function(t){if("CANCEL"===t.reason)return"\n Movement cancelled.\n "+Rt(t.source)+"\n ";var e=t.destination,n=t.combine;return e?"\n You have dropped the item.\n "+Tt(t.source,e)+"\n ":n?"\n You have dropped the item.\n "+Nt(t.draggableId,t.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Rt(t.source)+"\n "}},Dt={x:0,y:0},jt=function(t,e){return{x:t.x+e.x,y:t.y+e.y}},It=function(t,e){return{x:t.x-e.x,y:t.y-e.y}},zt=function(t,e){return t.x===e.x&&t.y===e.y},Bt=function(t){return{x:0!==t.x?-t.x:0,y:0!==t.y?-t.y:0}},Ft=function(t,e,n){var r;return void 0===n&&(n=0),(r={})[t]=e,r["x"===t?"y":"x"]=n,r},Ht=function(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))},Vt=function(t,e){return Math.min.apply(Math,e.map(function(e){return Ht(t,e)}))},qt=function(t){return function(e){return{x:t(e.x),y:t(e.y)}}},Ut=function(t,e){return{top:t.top+e.y,left:t.left+e.x,bottom:t.bottom+e.y,right:t.right+e.x}},Wt=function(t){return[{x:t.left,y:t.top},{x:t.right,y:t.top},{x:t.left,y:t.bottom},{x:t.right,y:t.bottom}]},Gt=function(t,e){return e&&e.shouldClipSubject?function(t,e){var n=st({top:Math.max(e.top,t.top),right:Math.min(e.right,t.right),bottom:Math.min(e.bottom,t.bottom),left:Math.max(e.left,t.left)});return n.width<=0||n.height<=0?null:n}(e.pageMarginBox,t):st(t)},Yt=function(t){var e=t.page,n=t.withPlaceholder,r=t.axis,o=t.frame,a=function(t,e){return e?Ut(t,e.scroll.diff.displacement):t}(e.marginBox,o),s=function(t,e,n){var r;return n&&n.increasedBy?(0,i.A)({},t,((r={})[e.end]=t[e.end]+n.increasedBy[e.line],r)):t}(a,r,n);return{page:e,withPlaceholder:n,active:Gt(s,o)}},Kt=function(t,e){t.frame||Ot(!1);var n=t.frame,r=It(e,n.scroll.initial),o=Bt(r),a=(0,i.A)({},n,{scroll:{initial:n.scroll.initial,current:e,diff:{value:r,displacement:o},max:n.scroll.max}}),s=Yt({page:t.subject.page,withPlaceholder:t.subject.withPlaceholder,axis:t.axis,frame:a});return(0,i.A)({},t,{frame:a,subject:s})};function $t(t){return Object.values?Object.values(t):Object.keys(t).map(function(e){return t[e]})}function Xt(t,e){if(t.findIndex)return t.findIndex(e);for(var n=0;n<t.length;n++)if(e(t[n]))return n;return-1}function Qt(t,e){if(t.find)return t.find(e);var n=Xt(t,e);return-1!==n?t[n]:void 0}function Zt(t){return Array.prototype.slice.call(t)}var Jt=xt(function(t){return t.reduce(function(t,e){return t[e.descriptor.id]=e,t},{})}),te=xt(function(t){return t.reduce(function(t,e){return t[e.descriptor.id]=e,t},{})}),ee=xt(function(t){return $t(t)}),ne=xt(function(t){return $t(t)}),re=xt(function(t,e){var n=ne(e).filter(function(e){return t===e.descriptor.droppableId}).sort(function(t,e){return t.descriptor.index-e.descriptor.index});return n});function oe(t){return t.at&&"REORDER"===t.at.type?t.at.destination:null}function ie(t){return t.at&&"COMBINE"===t.at.type?t.at.combine:null}var ae=xt(function(t,e){return e.filter(function(e){return e.descriptor.id!==t.descriptor.id})}),se=function(t,e){return t.descriptor.droppableId===e.descriptor.id},le={point:Dt,value:0},ce={invisible:{},visible:{},all:[]},ue={displaced:ce,displacedBy:le,at:null},de=function(t,e){return function(n){return t<=n&&n<=e}},he=function(t){var e=de(t.top,t.bottom),n=de(t.left,t.right);return function(r){if(e(r.top)&&e(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=e(r.top)||e(r.bottom),i=n(r.left)||n(r.right);if(o&&i)return!0;var a=r.top<t.top&&r.bottom>t.bottom,s=r.left<t.left&&r.right>t.right;return!(!a||!s)||(a&&i||s&&o)}},fe=function(t){var e=de(t.top,t.bottom),n=de(t.left,t.right);return function(t){return e(t.top)&&e(t.bottom)&&n(t.left)&&n(t.right)}},pe={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ge={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},me=function(t){var e=t.target,n=t.destination,r=t.viewport,o=t.withDroppableDisplacement,i=t.isVisibleThroughFrameFn,a=o?function(t,e){var n=e.frame?e.frame.scroll.diff.displacement:Dt;return Ut(t,n)}(e,n):e;return function(t,e,n){return!!e.subject.active&&n(e.subject.active)(t)}(a,n,i)&&function(t,e,n){return n(e)(t)}(a,r,i)},ve=function(t){return me((0,i.A)({},t,{isVisibleThroughFrameFn:he}))},ye=function(t){return me((0,i.A)({},t,{isVisibleThroughFrameFn:fe}))};function be(t){var e=t.afterDragging,n=t.destination,r=t.displacedBy,o=t.viewport,i=t.forceShouldAnimate,a=t.last;return e.reduce(function(t,e){var s=function(t,e){var n=t.page.marginBox,r={top:e.point.y,right:0,bottom:0,left:e.point.x};return st(lt(n,r))}(e,r),l=e.descriptor.id;if(t.all.push(l),!ve({target:s,destination:n,viewport:o,withDroppableDisplacement:!0}))return t.invisible[e.descriptor.id]=!0,t;var c=function(t,e,n){if("boolean"===typeof n)return n;if(!e)return!0;var r=e.invisible,o=e.visible;if(r[t])return!1;var i=o[t];return!i||i.shouldAnimate}(l,a,i),u={draggableId:l,shouldAnimate:c};return t.visible[l]=u,t},{all:[],visible:{},invisible:{}})}function xe(t){var e=t.insideDestination,n=t.inHomeList,r=t.displacedBy,o=t.destination,i=function(t,e){if(!t.length)return 0;var n=t[t.length-1].descriptor.index;return e.inHomeList?n:n+1}(e,{inHomeList:n});return{displaced:ce,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:i}}}}function we(t){var e=t.draggable,n=t.insideDestination,r=t.destination,o=t.viewport,i=t.displacedBy,a=t.last,s=t.index,l=t.forceShouldAnimate,c=se(e,r);if(null==s)return xe({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var u=Qt(n,function(t){return t.descriptor.index===s});if(!u)return xe({insideDestination:n,inHomeList:c,displacedBy:i,destination:r});var d=ae(e,n),h=n.indexOf(u);return{displaced:be({afterDragging:d.slice(h),destination:r,displacedBy:i,last:a,viewport:o.frame,forceShouldAnimate:l}),displacedBy:i,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function ke(t,e){return Boolean(e.effected[t])}var Ae=function(t){var e=t.isMovingForward,n=t.isInHomeList,r=t.draggable,o=t.draggables,i=t.destination,a=t.insideDestination,s=t.previousImpact,l=t.viewport,c=t.afterCritical,u=s.at;if(u||Ot(!1),"REORDER"===u.type){var d=function(t){var e=t.isMovingForward,n=t.isInHomeList,r=t.insideDestination,o=t.location;if(!r.length)return null;var i=o.index,a=e?i+1:i-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return a<s||a>(n?l:l+1)?null:a}({isMovingForward:e,isInHomeList:n,location:u.destination,insideDestination:a});return null==d?null:we({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var h=function(t){var e=t.isMovingForward,n=t.destination,r=t.draggables,o=t.combine,i=t.afterCritical;if(!n.isCombineEnabled)return null;var a=o.draggableId,s=r[a].descriptor.index;return ke(a,i)?e?s:s-1:e?s+1:s}({isMovingForward:e,destination:i,displaced:s.displaced,draggables:o,combine:u.combine,afterCritical:c});return null==h?null:we({draggable:r,insideDestination:a,destination:i,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:h})},_e=function(t){var e=t.afterCritical,n=t.impact,r=t.draggables,o=ie(n);o||Ot(!1);var i=o.draggableId,a=r[i].page.borderBox.center,s=function(t){var e=t.displaced,n=t.afterCritical,r=t.combineWith,o=t.displacedBy,i=Boolean(e.visible[r]||e.invisible[r]);return ke(r,n)?i?Dt:Bt(o.point):i?o.point:Dt}({displaced:n.displaced,afterCritical:e,combineWith:i,displacedBy:n.displacedBy});return jt(a,s)},Se=function(t,e){return e.margin[t.start]+e.borderBox[t.size]/2},Ce=function(t,e,n){return e[t.crossAxisStart]+n.margin[t.crossAxisStart]+n.borderBox[t.crossAxisSize]/2},Ee=function(t){var e=t.axis,n=t.moveRelativeTo,r=t.isMoving;return Ft(e.line,n.marginBox[e.end]+Se(e,r),Ce(e,n.marginBox,r))},Oe=function(t){var e=t.axis,n=t.moveRelativeTo,r=t.isMoving;return Ft(e.line,n.marginBox[e.start]-function(t,e){return e.margin[t.end]+e.borderBox[t.size]/2}(e,r),Ce(e,n.marginBox,r))},Pe=function(t){var e=t.impact,n=t.draggable,r=t.draggables,o=t.droppable,i=t.afterCritical,a=re(o.descriptor.id,r),s=n.page,l=o.axis;if(!a.length)return function(t){var e=t.axis,n=t.moveInto,r=t.isMoving;return Ft(e.line,n.contentBox[e.start]+Se(e,r),Ce(e,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:s});var c=e.displaced,u=e.displacedBy,d=c.all[0];if(d){var h=r[d];if(ke(d,i))return Oe({axis:l,moveRelativeTo:h.page,isMoving:s});var f=ft(h.page,u.point);return Oe({axis:l,moveRelativeTo:f,isMoving:s})}var p=a[a.length-1];if(p.descriptor.id===n.descriptor.id)return s.borderBox.center;if(ke(p.descriptor.id,i)){var g=ft(p.page,Bt(i.displacedBy.point));return Ee({axis:l,moveRelativeTo:g,isMoving:s})}return Ee({axis:l,moveRelativeTo:p.page,isMoving:s})},Me=function(t,e){var n=t.frame;return n?jt(e,n.scroll.diff.displacement):e},Te=function(t){var e=function(t){var e=t.impact,n=t.draggable,r=t.droppable,o=t.draggables,i=t.afterCritical,a=n.page.borderBox.center,s=e.at;return r&&s?"REORDER"===s.type?Pe({impact:e,draggable:n,draggables:o,droppable:r,afterCritical:i}):_e({impact:e,draggables:o,afterCritical:i}):a}(t),n=t.droppable;return n?Me(n,e):e},Ne=function(t,e){var n=It(e,t.scroll.initial),r=Bt(n);return{frame:st({top:e.y,bottom:e.y+t.frame.height,left:e.x,right:e.x+t.frame.width}),scroll:{initial:t.scroll.initial,max:t.scroll.max,current:e,diff:{value:n,displacement:r}}}};function Re(t,e){return t.map(function(t){return e[t]})}var Le=function(t){var e=t.pageBorderBoxCenter,n=t.draggable,r=function(t,e){return jt(t.scroll.diff.displacement,e)}(t.viewport,e),o=It(r,n.page.borderBox.center);return jt(n.client.borderBox.center,o)},De=function(t){var e=t.draggable,n=t.destination,r=t.newPageBorderBoxCenter,o=t.viewport,a=t.withDroppableDisplacement,s=t.onlyOnMainAxis,l=void 0!==s&&s,c=It(r,e.page.borderBox.center),u={target:Ut(e.page.borderBox,c),destination:n,withDroppableDisplacement:a,viewport:o};return l?function(t){return me((0,i.A)({},t,{isVisibleThroughFrameFn:(e=t.destination.axis,function(t){var n=de(t.top,t.bottom),r=de(t.left,t.right);return function(t){return e===pe?n(t.top)&&n(t.bottom):r(t.left)&&r(t.right)}})}));var e}(u):ye(u)},je=function(t){var e=t.isMovingForward,n=t.draggable,r=t.destination,o=t.draggables,a=t.previousImpact,s=t.viewport,l=t.previousPageBorderBoxCenter,c=t.previousClientSelection,u=t.afterCritical;if(!r.isEnabled)return null;var d=re(r.descriptor.id,o),h=se(n,r),f=function(t){var e=t.isMovingForward,n=t.draggable,r=t.destination,o=t.insideDestination,a=t.previousImpact;if(!r.isCombineEnabled)return null;if(!oe(a))return null;function s(t){var e={type:"COMBINE",combine:{draggableId:t,droppableId:r.descriptor.id}};return(0,i.A)({},a,{at:e})}var l=a.displaced.all,c=l.length?l[0]:null;if(e)return c?s(c):null;var u=ae(n,o);if(!c)return u.length?s(u[u.length-1].descriptor.id):null;var d=Xt(u,function(t){return t.descriptor.id===c});-1===d&&Ot(!1);var h=d-1;return h<0?null:s(u[h].descriptor.id)}({isMovingForward:e,draggable:n,destination:r,insideDestination:d,previousImpact:a})||Ae({isMovingForward:e,isInHomeList:h,draggable:n,draggables:o,destination:r,insideDestination:d,previousImpact:a,viewport:s,afterCritical:u});if(!f)return null;var p=Te({impact:f,draggable:n,droppable:r,draggables:o,afterCritical:u});if(De({draggable:n,destination:r,newPageBorderBoxCenter:p,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:Le({pageBorderBoxCenter:p,draggable:n,viewport:s}),impact:f,scrollJumpRequest:null};var g=It(p,l),m=function(t){var e=t.impact,n=t.viewport,r=t.destination,o=t.draggables,a=t.maxScrollChange,s=Ne(n,jt(n.scroll.current,a)),l=r.frame?Kt(r,jt(r.frame.scroll.current,a)):r,c=e.displaced,u=be({afterDragging:Re(c.all,o),destination:r,displacedBy:e.displacedBy,viewport:s.frame,last:c,forceShouldAnimate:!1}),d=be({afterDragging:Re(c.all,o),destination:l,displacedBy:e.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),h={},f={},p=[c,u,d];return c.all.forEach(function(t){var e=function(t,e){for(var n=0;n<e.length;n++){var r=e[n].visible[t];if(r)return r}return null}(t,p);e?f[t]=e:h[t]=!0}),(0,i.A)({},e,{displaced:{all:c.all,invisible:h,visible:f}})}({impact:f,viewport:s,destination:r,draggables:o,maxScrollChange:g});return{clientSelection:c,impact:m,scrollJumpRequest:g}},Ie=function(t){var e=t.subject.active;return e||Ot(!1),e},ze=function(t,e){var n=t.page.borderBox.center;return ke(t.descriptor.id,e)?It(n,e.displacedBy.point):n},Be=function(t,e){var n=t.page.borderBox;return ke(t.descriptor.id,e)?Ut(n,Bt(e.displacedBy.point)):n},Fe=xt(function(t,e){var n=e[t.line];return{value:n,point:Ft(t.line,n)}}),He=function(t,e){return(0,i.A)({},t,{scroll:(0,i.A)({},t.scroll,{max:e})})},Ve=function(t,e,n){var r=t.frame;se(e,t)&&Ot(!1),t.subject.withPlaceholder&&Ot(!1);var o=Fe(t.axis,e.displaceBy).point,a=function(t,e,n){var r=t.axis;if("virtual"===t.descriptor.mode)return Ft(r.line,e[r.line]);var o=t.subject.page.contentBox[r.size],i=re(t.descriptor.id,n).reduce(function(t,e){return t+e.client.marginBox[r.size]},0)+e[r.line]-o;return i<=0?null:Ft(r.line,i)}(t,o,n),s={placeholderSize:o,increasedBy:a,oldFrameMaxScroll:t.frame?t.frame.scroll.max:null};if(!r){var l=Yt({page:t.subject.page,withPlaceholder:s,axis:t.axis,frame:t.frame});return(0,i.A)({},t,{subject:l})}var c=a?jt(r.scroll.max,a):r.scroll.max,u=He(r,c),d=Yt({page:t.subject.page,withPlaceholder:s,axis:t.axis,frame:u});return(0,i.A)({},t,{subject:d,frame:u})},qe=function(t){var e=t.isMovingForward,n=t.previousPageBorderBoxCenter,r=t.draggable,o=t.isOver,i=t.draggables,a=t.droppables,s=t.viewport,l=t.afterCritical,c=function(t){var e=t.isMovingForward,n=t.pageBorderBoxCenter,r=t.source,o=t.droppables,i=t.viewport,a=r.subject.active;if(!a)return null;var s=r.axis,l=de(a[s.start],a[s.end]),c=ee(o).filter(function(t){return t!==r}).filter(function(t){return t.isEnabled}).filter(function(t){return Boolean(t.subject.active)}).filter(function(t){return he(i.frame)(Ie(t))}).filter(function(t){var n=Ie(t);return e?a[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<a[s.crossAxisStart]}).filter(function(t){var e=Ie(t),n=de(e[s.start],e[s.end]);return l(e[s.start])||l(e[s.end])||n(a[s.start])||n(a[s.end])}).sort(function(t,n){var r=Ie(t)[s.crossAxisStart],o=Ie(n)[s.crossAxisStart];return e?r-o:o-r}).filter(function(t,e,n){return Ie(t)[s.crossAxisStart]===Ie(n[0])[s.crossAxisStart]});if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter(function(t){return de(Ie(t)[s.start],Ie(t)[s.end])(n[s.line])});return 1===u.length?u[0]:u.length>1?u.sort(function(t,e){return Ie(t)[s.start]-Ie(e)[s.start]})[0]:c.sort(function(t,e){var r=Vt(n,Wt(Ie(t))),o=Vt(n,Wt(Ie(e)));return r!==o?r-o:Ie(t)[s.start]-Ie(e)[s.start]})[0]}({isMovingForward:e,pageBorderBoxCenter:n,source:o,droppables:a,viewport:s});if(!c)return null;var u=re(c.descriptor.id,i),d=function(t){var e=t.pageBorderBoxCenter,n=t.viewport,r=t.destination,o=t.insideDestination,i=t.afterCritical,a=o.filter(function(t){return ye({target:Be(t,i),destination:r,viewport:n.frame,withDroppableDisplacement:!0})}).sort(function(t,n){var o=Ht(e,Me(r,ze(t,i))),a=Ht(e,Me(r,ze(n,i)));return o<a?-1:a<o?1:t.descriptor.index-n.descriptor.index});return a[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),h=function(t){var e=t.previousPageBorderBoxCenter,n=t.moveRelativeTo,r=t.insideDestination,o=t.draggable,i=t.draggables,a=t.destination,s=t.viewport,l=t.afterCritical;if(!n){if(r.length)return null;var c={displaced:ce,displacedBy:le,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:0}}},u=Te({impact:c,draggable:o,droppable:a,draggables:i,afterCritical:l}),d=se(o,a)?a:Ve(a,o,i);return De({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var h=Boolean(e[a.axis.line]<=n.page.borderBox.center[a.axis.line]),f=function(){var t=n.descriptor.index;return n.descriptor.id===o.descriptor.id||h?t:t+1}(),p=Fe(a.axis,o.displaceBy);return we({draggable:o,insideDestination:r,destination:a,viewport:s,displacedBy:p,last:ce,index:f})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:i,moveRelativeTo:d,insideDestination:u,viewport:s,afterCritical:l});if(!h)return null;var f=Te({impact:h,draggable:r,droppable:c,draggables:i,afterCritical:l});return{clientSelection:Le({pageBorderBoxCenter:f,draggable:r,viewport:s}),impact:h,scrollJumpRequest:null}},Ue=function(t){var e=t.at;return e?"REORDER"===e.type?e.destination.droppableId:e.combine.droppableId:null},We=function(t){var e=t.state,n=t.type,r=function(t,e){var n=Ue(t);return n?e[n]:null}(e.impact,e.dimensions.droppables),o=Boolean(r),i=e.dimensions.droppables[e.critical.droppable.id],a=r||i,s=a.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=e.dimensions.draggables[e.critical.draggable.id],d=e.current.page.borderBoxCenter,h=e.dimensions,f=h.draggables,p=h.droppables;return l?je({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:a,draggables:f,viewport:e.viewport,previousClientSelection:e.current.client.selection,previousImpact:e.impact,afterCritical:e.afterCritical}):qe({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:a,draggables:f,droppables:p,viewport:e.viewport,afterCritical:e.afterCritical})};function Ge(t){return"DRAGGING"===t.phase||"COLLECTING"===t.phase}function Ye(t){var e=de(t.top,t.bottom),n=de(t.left,t.right);return function(t){return e(t.y)&&n(t.x)}}function Ke(t){var e=t.pageBorderBox,n=t.draggable,r=t.droppables,o=ee(r).filter(function(t){if(!t.isEnabled)return!1;var n,r,o=t.subject.active;if(!o)return!1;if(r=o,!((n=e).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Ye(o)(e.center))return!0;var i=t.axis,a=o.center[i.crossAxisLine],s=e[i.crossAxisStart],l=e[i.crossAxisEnd],c=de(o[i.crossAxisStart],o[i.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<a:l>a)});return o.length?1===o.length?o[0].descriptor.id:function(t){var e=t.pageBorderBox,n=t.draggable,r=t.candidates,o=n.page.borderBox.center,i=r.map(function(t){var n=t.axis,r=Ft(t.axis.line,e.center[n.line],t.page.borderBox.center[n.crossAxisLine]);return{id:t.descriptor.id,distance:Ht(o,r)}}).sort(function(t,e){return e.distance-t.distance});return i[0]?i[0].id:null}({pageBorderBox:e,draggable:n,candidates:o}):null}var $e=function(t,e){return st(Ut(t,e))};function Xe(t){var e=t.displaced,n=t.id;return Boolean(e.visible[n]||e.invisible[n])}var Qe=function(t){var e=t.pageOffset,n=t.draggable,r=t.draggables,o=t.droppables,i=t.previousImpact,a=t.viewport,s=t.afterCritical,l=$e(n.page.borderBox,e),c=Ke({pageBorderBox:l,draggable:n,droppables:o});if(!c)return ue;var u=o[c],d=re(u.descriptor.id,r),h=function(t,e){var n=t.frame;return n?$e(e,n.scroll.diff.value):e}(u,l);return function(t){var e=t.draggable,n=t.pageBorderBoxWithDroppableScroll,r=t.previousImpact,o=t.destination,i=t.insideDestination,a=t.afterCritical;if(!o.isCombineEnabled)return null;var s=o.axis,l=Fe(o.axis,e.displaceBy),c=l.value,u=n[s.start],d=n[s.end],h=Qt(ae(e,i),function(t){var e=t.descriptor.id,n=t.page.borderBox,o=n[s.size]/4,i=ke(e,a),l=Xe({displaced:r.displaced,id:e});return i?l?d>n[s.start]+o&&d<n[s.end]-o:u>n[s.start]-c+o&&u<n[s.end]-c-o:l?d>n[s.start]+c+o&&d<n[s.end]+c-o:u>n[s.start]+o&&u<n[s.end]-o});return h?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:h.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:h,draggable:n,previousImpact:i,destination:u,insideDestination:d,afterCritical:s})||function(t){var e=t.pageBorderBoxWithDroppableScroll,n=t.draggable,r=t.destination,o=t.insideDestination,i=t.last,a=t.viewport,s=t.afterCritical,l=r.axis,c=Fe(r.axis,n.displaceBy),u=c.value,d=e[l.start],h=e[l.end],f=function(t){var e=t.draggable,n=t.closest,r=t.inHomeList;return n?r&&n.descriptor.index>e.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:Qt(ae(n,o),function(t){var e=t.descriptor.id,n=t.page.borderBox.center[l.line],r=ke(e,s),o=Xe({displaced:i,id:e});return r?o?h<=n:d<n-u:o?h<=n+u:d<n}),inHomeList:se(n,r)});return we({draggable:n,insideDestination:o,destination:r,viewport:a,last:i,displacedBy:c,index:f})}({pageBorderBoxWithDroppableScroll:h,draggable:n,destination:u,insideDestination:d,last:i.displaced,viewport:a,afterCritical:s})},Ze=function(t,e){var n;return(0,i.A)({},t,((n={})[e.descriptor.id]=e,n))},Je=function(t){var e=t.previousImpact,n=t.impact,r=t.droppables,o=Ue(e),a=Ue(n);if(!o)return r;if(o===a)return r;var s=r[o];if(!s.subject.withPlaceholder)return r;var l=function(t){var e=t.subject.withPlaceholder;e||Ot(!1);var n=t.frame;if(!n){var r=Yt({page:t.subject.page,axis:t.axis,frame:null,withPlaceholder:null});return(0,i.A)({},t,{subject:r})}var o=e.oldFrameMaxScroll;o||Ot(!1);var a=He(n,o),s=Yt({page:t.subject.page,axis:t.axis,frame:a,withPlaceholder:null});return(0,i.A)({},t,{subject:s,frame:a})}(s);return Ze(r,l)},tn=function(t){var e=t.state,n=t.clientSelection,r=t.dimensions,o=t.viewport,a=t.impact,s=t.scrollJumpRequest,l=o||e.viewport,c=r||e.dimensions,u=n||e.current.client.selection,d=It(u,e.initial.client.selection),h={offset:d,selection:u,borderBoxCenter:jt(e.initial.client.borderBoxCenter,d)},f={selection:jt(h.selection,l.scroll.current),borderBoxCenter:jt(h.borderBoxCenter,l.scroll.current),offset:jt(h.offset,l.scroll.diff.value)},p={client:h,page:f};if("COLLECTING"===e.phase)return(0,i.A)({phase:"COLLECTING"},e,{dimensions:c,viewport:l,current:p});var g=c.draggables[e.critical.draggable.id],m=a||Qe({pageOffset:f.offset,draggable:g,draggables:c.draggables,droppables:c.droppables,previousImpact:e.impact,viewport:l,afterCritical:e.afterCritical}),v=function(t){var e=t.draggable,n=t.draggables,r=t.droppables,o=t.previousImpact,i=t.impact,a=Je({previousImpact:o,impact:i,droppables:r}),s=Ue(i);if(!s)return a;var l=r[s];if(se(e,l))return a;if(l.subject.withPlaceholder)return a;var c=Ve(l,e,n);return Ze(a,c)}({draggable:g,impact:m,previousImpact:e.impact,draggables:c.draggables,droppables:c.droppables});return(0,i.A)({},e,{current:p,dimensions:{draggables:c.draggables,droppables:v},impact:m,viewport:l,scrollJumpRequest:s||null,forceShouldAnimate:!s&&null})};var en=function(t){var e=t.impact,n=t.viewport,r=t.draggables,o=t.destination,a=t.forceShouldAnimate,s=e.displaced,l=function(t,e){return t.map(function(t){return e[t]})}(s.all,r),c=be({afterDragging:l,destination:o,displacedBy:e.displacedBy,viewport:n.frame,forceShouldAnimate:a,last:s});return(0,i.A)({},e,{displaced:c})},nn=function(t){var e=t.impact,n=t.draggable,r=t.droppable,o=t.draggables,i=t.viewport,a=t.afterCritical,s=Te({impact:e,draggable:n,draggables:o,droppable:r,afterCritical:a});return Le({pageBorderBoxCenter:s,draggable:n,viewport:i})},rn=function(t){var e=t.state,n=t.dimensions,r=t.viewport;"SNAP"!==e.movementMode&&Ot(!1);var o=e.impact,i=r||e.viewport,a=n||e.dimensions,s=a.draggables,l=a.droppables,c=s[e.critical.draggable.id],u=Ue(o);u||Ot(!1);var d=l[u],h=en({impact:o,viewport:i,destination:d,draggables:s}),f=nn({impact:h,draggable:c,droppable:d,draggables:s,viewport:i,afterCritical:e.afterCritical});return tn({impact:h,clientSelection:f,state:e,dimensions:a,viewport:i})},on=function(t){var e=t.draggable,n=t.home,r=t.draggables,o=t.viewport,i=Fe(n.axis,e.displaceBy),a=re(n.descriptor.id,r),s=a.indexOf(e);-1===s&&Ot(!1);var l,c=a.slice(s+1),u=c.reduce(function(t,e){return t[e.descriptor.id]=!0,t},{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:i,effected:u};return{impact:{displaced:be({afterDragging:c,destination:n,displacedBy:i,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:i,at:{type:"REORDER",destination:(l=e.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},an=function(t){0},sn=function(t){0},ln=function(t){var e=t.additions,n=t.updatedDroppables,r=t.viewport,o=r.scroll.diff.value;return e.map(function(t){var e=t.descriptor.droppableId,a=function(t){var e=t.frame;return e||Ot(!1),e}(n[e]),s=a.scroll.diff.value,l=function(t){var e=t.draggable,n=t.offset,r=t.initialWindowScroll,o=ft(e.client,n),a=pt(o,r);return(0,i.A)({},e,{placeholder:(0,i.A)({},e.placeholder,{client:o}),client:o,page:a})}({draggable:t,offset:jt(o,s),initialWindowScroll:r.scroll.initial});return l})},cn=function(t){return"SNAP"===t.movementMode},un=function(t,e,n){var r=function(t,e){return{draggables:t.draggables,droppables:Ze(t.droppables,e)}}(t.dimensions,e);return!cn(t)||n?tn({state:t,dimensions:r}):rn({state:t,dimensions:r})};function dn(t){return t.isDragging&&"SNAP"===t.movementMode?(0,i.A)({phase:"DRAGGING"},t,{scrollJumpRequest:null}):t}var hn={phase:"IDLE",completed:null,shouldFlush:!1},fn=function(t,e){if(void 0===t&&(t=hn),"FLUSH"===e.type)return(0,i.A)({},hn,{shouldFlush:!0});if("INITIAL_PUBLISH"===e.type){"IDLE"!==t.phase&&Ot(!1);var n=e.payload,r=n.critical,o=n.clientSelection,a=n.viewport,s=n.dimensions,l=n.movementMode,c=s.draggables[r.draggable.id],u=s.droppables[r.droppable.id],d={selection:o,borderBoxCenter:c.client.borderBox.center,offset:Dt},h={client:d,page:{selection:jt(d.selection,a.scroll.initial),borderBoxCenter:jt(d.selection,a.scroll.initial),offset:jt(d.selection,a.scroll.diff.value)}},f=ee(s.droppables).every(function(t){return!t.isFixedOnPage}),p=on({draggable:c,home:u,draggables:s.draggables,viewport:a}),g=p.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:s,initial:h,current:h,isWindowScrollAllowed:f,impact:g,afterCritical:p.afterCritical,onLiftImpact:g,viewport:a,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===e.type)return"COLLECTING"===t.phase||"DROP_PENDING"===t.phase?t:("DRAGGING"!==t.phase&&Ot(!1),(0,i.A)({phase:"COLLECTING"},t,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===e.type)return"COLLECTING"!==t.phase&&"DROP_PENDING"!==t.phase&&Ot(!1),function(t){var e=t.state,n=t.published;an();var r=n.modified.map(function(t){var n=e.dimensions.droppables[t.droppableId];return Kt(n,t.scroll)}),o=(0,i.A)({},e.dimensions.droppables,{},Jt(r)),a=te(ln({additions:n.additions,updatedDroppables:o,viewport:e.viewport})),s=(0,i.A)({},e.dimensions.draggables,{},a);n.removals.forEach(function(t){delete s[t]});var l={droppables:o,draggables:s},c=Ue(e.impact),u=c?l.droppables[c]:null,d=l.draggables[e.critical.draggable.id],h=l.droppables[e.critical.droppable.id],f=on({draggable:d,home:h,draggables:s,viewport:e.viewport}),p=f.impact,g=f.afterCritical,m=u&&u.isCombineEnabled?e.impact:p,v=Qe({pageOffset:e.current.page.offset,draggable:l.draggables[e.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:m,viewport:e.viewport,afterCritical:g});sn();var y=(0,i.A)({phase:"DRAGGING"},e,{phase:"DRAGGING",impact:v,onLiftImpact:p,dimensions:l,afterCritical:g,forceShouldAnimate:!1});return"COLLECTING"===e.phase?y:(0,i.A)({phase:"DROP_PENDING"},y,{phase:"DROP_PENDING",reason:e.reason,isWaiting:!1})}({state:t,published:e.payload});if("MOVE"===e.type){if("DROP_PENDING"===t.phase)return t;Ge(t)||Ot(!1);var m=e.payload.client;return zt(m,t.current.client.selection)?t:tn({state:t,clientSelection:m,impact:cn(t)?t.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===e.type){if("DROP_PENDING"===t.phase)return dn(t);if("COLLECTING"===t.phase)return dn(t);Ge(t)||Ot(!1);var v=e.payload,y=v.id,b=v.newScroll,x=t.dimensions.droppables[y];if(!x)return t;var w=Kt(x,b);return un(t,w,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===e.type){if("DROP_PENDING"===t.phase)return t;Ge(t)||Ot(!1);var k=e.payload,A=k.id,_=k.isEnabled,S=t.dimensions.droppables[A];S||Ot(!1),S.isEnabled===_&&Ot(!1);var C=(0,i.A)({},S,{isEnabled:_});return un(t,C,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===e.type){if("DROP_PENDING"===t.phase)return t;Ge(t)||Ot(!1);var E=e.payload,O=E.id,P=E.isCombineEnabled,M=t.dimensions.droppables[O];M||Ot(!1),M.isCombineEnabled===P&&Ot(!1);var T=(0,i.A)({},M,{isCombineEnabled:P});return un(t,T,!0)}if("MOVE_BY_WINDOW_SCROLL"===e.type){if("DROP_PENDING"===t.phase||"DROP_ANIMATING"===t.phase)return t;Ge(t)||Ot(!1),t.isWindowScrollAllowed||Ot(!1);var N=e.payload.newScroll;if(zt(t.viewport.scroll.current,N))return dn(t);var R=Ne(t.viewport,N);return cn(t)?rn({state:t,viewport:R}):tn({state:t,viewport:R})}if("UPDATE_VIEWPORT_MAX_SCROLL"===e.type){if(!Ge(t))return t;var L=e.payload.maxScroll;if(zt(L,t.viewport.scroll.max))return t;var D=(0,i.A)({},t.viewport,{scroll:(0,i.A)({},t.viewport.scroll,{max:L})});return(0,i.A)({phase:"DRAGGING"},t,{viewport:D})}if("MOVE_UP"===e.type||"MOVE_DOWN"===e.type||"MOVE_LEFT"===e.type||"MOVE_RIGHT"===e.type){if("COLLECTING"===t.phase||"DROP_PENDING"===t.phase)return t;"DRAGGING"!==t.phase&&Ot(!1);var j=We({state:t,type:e.type});return j?tn({state:t,impact:j.impact,clientSelection:j.clientSelection,scrollJumpRequest:j.scrollJumpRequest}):t}if("DROP_PENDING"===e.type){var I=e.payload.reason;return"COLLECTING"!==t.phase&&Ot(!1),(0,i.A)({phase:"DROP_PENDING"},t,{phase:"DROP_PENDING",isWaiting:!0,reason:I})}if("DROP_ANIMATE"===e.type){var z=e.payload,B=z.completed,F=z.dropDuration,H=z.newHomeClientOffset;return"DRAGGING"!==t.phase&&"DROP_PENDING"!==t.phase&&Ot(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:F,newHomeClientOffset:H,dimensions:t.dimensions}}return"DROP_COMPLETE"===e.type?{phase:"IDLE",completed:e.payload.completed,shouldFlush:!1}:t},pn=function(t){return{type:"LIFT",payload:t}},gn=function(t){return{type:"PUBLISH_WHILE_DRAGGING",payload:t}},mn=function(){return{type:"COLLECTION_STARTING",payload:null}},vn=function(t){return{type:"UPDATE_DROPPABLE_SCROLL",payload:t}},yn=function(t){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:t}},bn=function(t){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:t}},xn=function(t){return{type:"MOVE",payload:t}},wn=function(){return{type:"MOVE_UP",payload:null}},kn=function(){return{type:"MOVE_DOWN",payload:null}},An=function(){return{type:"MOVE_RIGHT",payload:null}},_n=function(){return{type:"MOVE_LEFT",payload:null}},Sn=function(){return{type:"FLUSH",payload:null}},Cn=function(t){return{type:"DROP_COMPLETE",payload:t}},En=function(t){return{type:"DROP",payload:t}},On=function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}};var Pn="cubic-bezier(.2,1,.1,1)",Mn={drop:0,combining:.7},Tn={drop:.75},Nn=.2+"s "+"cubic-bezier(0.2, 0, 0, 1)",Rn={fluid:"opacity "+Nn,snap:"transform "+Nn+", opacity "+Nn,drop:function(t){var e=t+"s "+Pn;return"transform "+e+", opacity "+e},outOfTheWay:"transform "+Nn,placeholder:"height "+Nn+", width "+Nn+", margin "+Nn},Ln=function(t){return zt(t,Dt)?null:"translate("+t.x+"px, "+t.y+"px)"},Dn=Ln,jn=function(t,e){var n=Ln(t);return n?e?n+" scale("+Tn.drop+")":n:null},In=.33,zn=.55,Bn=zn-In,Fn=function(t){var e=t.getState,n=t.dispatch;return function(t){return function(r){if("DROP"===r.type){var o=e(),a=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Ot(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Ot(!1);var s=o.critical,l=o.dimensions,c=l.draggables[o.critical.draggable.id],u=function(t){var e=t.draggables,n=t.reason,r=t.lastImpact,o=t.home,a=t.viewport,s=t.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:(0,i.A)({},r,{displaced:ce}),didDropInsideDroppable:!0}:{impact:en({draggables:e,impact:s,destination:o,viewport:a,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:a,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=u.impact,h=u.didDropInsideDroppable,f=h?oe(d):null,p=h?ie(d):null,g={index:s.draggable.index,droppableId:s.droppable.id},m={draggableId:c.descriptor.id,type:c.descriptor.type,source:g,reason:a,mode:o.movementMode,destination:f,combine:p},v=function(t){var e=t.impact,n=t.draggable,r=t.dimensions,o=t.viewport,i=t.afterCritical,a=r.draggables,s=r.droppables,l=Ue(e),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=nn({impact:e,draggable:n,draggables:a,afterCritical:i,droppable:c||u,viewport:o});return It(d,n.client.borderBox.center)}({impact:d,draggable:c,dimensions:l,viewport:o.viewport,afterCritical:o.afterCritical}),y={critical:o.critical,afterCritical:o.afterCritical,result:m,impact:d};if(!zt(o.current.client.offset,v)||Boolean(m.combine)){var b=function(t){var e=t.current,n=t.destination,r=t.reason,o=Ht(e,n);if(o<=0)return In;if(o>=1500)return zn;var i=In+Bn*(o/1500);return Number(("CANCEL"===r?.6*i:i).toFixed(2))}({current:o.current.client.offset,destination:v,reason:a});n(function(t){return{type:"DROP_ANIMATE",payload:t}}({newHomeClientOffset:v,dropDuration:b,completed:y}))}else n(Cn({completed:y}))}}else n(function(t){return{type:"DROP_PENDING",payload:t}}({reason:a}))}else t(r)}}},Hn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};function Vn(t){var e=t.onWindowScroll;var n=wt(function(){e(Hn())}),r=function(t){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(e){e.target!==window&&e.target!==window.document||t()}}}(n),o=At;function i(){return o!==At}return{start:function(){i()&&Ot(!1),o=_t(window,[r])},stop:function(){i()||Ot(!1),n.cancel(),o(),o=At},isActive:i}}var qn=function(t){var e=Vn({onWindowScroll:function(e){t.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:e}})}});return function(t){return function(n){e.isActive()||"INITIAL_PUBLISH"!==n.type||e.start(),e.isActive()&&function(t){return"DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type}(n)&&e.stop(),t(n)}}},Un=function(){var t=[];return{add:function(e){var n=setTimeout(function(){return function(e){var n=Xt(t,function(t){return t.timerId===e});-1===n&&Ot(!1),t.splice(n,1)[0].callback()}(n)}),r={timerId:n,callback:e};t.push(r)},flush:function(){if(t.length){var e=[].concat(t);t.length=0,e.forEach(function(t){clearTimeout(t.timerId),t.callback()})}}}},Wn=function(t,e){an(),e(),sn()},Gn=function(t,e){return{draggableId:t.draggable.id,type:t.droppable.type,source:{droppableId:t.droppable.id,index:t.draggable.index},mode:e}},Yn=function(t,e,n,r){if(t){var o=function(t){var e=!1,n=!1,r=setTimeout(function(){n=!0}),o=function(o){e||n||(e=!0,t(o),clearTimeout(r))};return o.wasCalled=function(){return e},o}(n);t(e,{announce:o}),o.wasCalled()||n(r(e))}else n(r(e))},Kn=function(t,e){var n=function(t,e){var n=Un(),r=null,o=function(n){r||Ot(!1),r=null,Wn(0,function(){return Yn(t().onDragEnd,n,e,Lt.onDragEnd)})};return{beforeCapture:function(e,n){r&&Ot(!1),Wn(0,function(){var r=t().onBeforeCapture;r&&r({draggableId:e,mode:n})})},beforeStart:function(e,n){r&&Ot(!1),Wn(0,function(){var r=t().onBeforeDragStart;r&&r(Gn(e,n))})},start:function(o,i){r&&Ot(!1);var a=Gn(o,i);r={mode:i,lastCritical:o,lastLocation:a.source,lastCombine:null},n.add(function(){Wn(0,function(){return Yn(t().onDragStart,a,e,Lt.onDragStart)})})},update:function(o,a){var s=oe(a),l=ie(a);r||Ot(!1);var c=!function(t,e){if(t===e)return!0;var n=t.draggable.id===e.draggable.id&&t.draggable.droppableId===e.draggable.droppableId&&t.draggable.type===e.draggable.type&&t.draggable.index===e.draggable.index,r=t.droppable.id===e.droppable.id&&t.droppable.type===e.droppable.type;return n&&r}(o,r.lastCritical);c&&(r.lastCritical=o);var u,d,h=(d=s,!(null==(u=r.lastLocation)&&null==d||null!=u&&null!=d&&u.droppableId===d.droppableId&&u.index===d.index));h&&(r.lastLocation=s);var f=!function(t,e){return null==t&&null==e||null!=t&&null!=e&&t.draggableId===e.draggableId&&t.droppableId===e.droppableId}(r.lastCombine,l);if(f&&(r.lastCombine=l),c||h||f){var p=(0,i.A)({},Gn(o,r.mode),{combine:l,destination:s});n.add(function(){Wn(0,function(){return Yn(t().onDragUpdate,p,e,Lt.onDragUpdate)})})}},flush:function(){r||Ot(!1),n.flush()},drop:o,abort:function(){if(r){var t=(0,i.A)({},Gn(r.lastCritical,r.mode),{combine:null,destination:null,reason:"CANCEL"});o(t)}}}}(t,e);return function(t){return function(e){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),e(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var i=r.payload.completed.result;return n.flush(),e(r),void n.drop(i)}if(e(r),"FLUSH"!==r.type){var a=t.getState();"DRAGGING"===a.phase&&n.update(a.critical,a.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},$n=function(t){return function(e){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=t.getState();"DROP_ANIMATING"!==r.phase&&Ot(!1),t.dispatch(Cn({completed:r.completed}))}else e(n)}}},Xn=function(t){var e=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),e&&(e(),e=null)),r(o),"DROP_ANIMATE"===o.type){var i={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===t.getState().phase&&t.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame(function(){n=null,e=_t(window,[i])})}}}},Qn=function(t){return function(e){return function(n){if(e(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=t.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||t.dispatch(En({reason:r.reason})))}}}},Zn=g,Jn=function(t){var e,n=t.dimensionMarshal,r=t.focusMarshal,o=t.styleMarshal,i=t.getResponders,l=t.announce,c=t.autoScroller;return h(fn,Zn(function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(){var n=t.apply(void 0,arguments),r=function(){throw new Error(s(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},i=e.map(function(t){return t(o)});return r=g.apply(void 0,i)(n.dispatch),(0,a.A)((0,a.A)({},n),{},{dispatch:r})}}}((e=o,function(){return function(t){return function(n){"INITIAL_PUBLISH"===n.type&&e.dragging(),"DROP_ANIMATE"===n.type&&e.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||e.resting(),t(n)}}}),function(t){return function(){return function(e){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||t.stopPublishing(),e(n)}}}}(n),function(t){return function(e){var n=e.getState,r=e.dispatch;return function(e){return function(o){if("LIFT"===o.type){var i=o.payload,a=i.id,s=i.clientSelection,l=i.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(Cn({completed:c.completed})),"IDLE"!==n().phase&&Ot(!1),r(Sn()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:a,movementMode:l}});var u={draggableId:a,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=t.startPublishing(u),h=d.critical,f=d.dimensions,p=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:h,dimensions:f,clientSelection:s,movementMode:l,viewport:p}})}else e(o)}}}}(n),Fn,$n,Xn,Qn,function(t){return function(e){return function(n){return function(r){if(function(t){return"DROP_COMPLETE"===t.type||"DROP_ANIMATE"===t.type||"FLUSH"===t.type}(r))return t.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=e.getState();return"DRAGGING"!==o.phase&&Ot(!1),void t.start(o)}n(r),t.scroll(e.getState())}}}}(c),qn,function(t){var e=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return e=!0,t.tryRecordFocus(r.payload.critical.draggable.id),n(r),void t.tryRestoreFocusRecorded();if(n(r),e){if("FLUSH"===r.type)return e=!1,void t.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){e=!1;var o=r.payload.completed.result;o.combine&&t.tryShiftRecord(o.draggableId,o.combine.draggableId),t.tryRestoreFocusRecorded()}}}}}}(r),Kn(i,l))))};var tr=function(t){var e=t.scrollHeight,n=t.scrollWidth,r=t.height,o=t.width,i=It({x:n,y:e},{x:o,y:r});return{x:Math.max(0,i.x),y:Math.max(0,i.y)}},er=function(){var t=document.documentElement;return t||Ot(!1),t},nr=function(){var t=er();return tr({scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,width:t.clientWidth,height:t.clientHeight})},rr=function(t){var e=t.critical,n=t.scrollOptions,r=t.registry;an();var o=function(){var t=Hn(),e=nr(),n=t.y,r=t.x,o=er(),i=o.clientWidth,a=o.clientHeight;return{frame:st({top:n,left:r,right:r+i,bottom:n+a}),scroll:{initial:t,current:t,max:e,diff:{value:Dt,displacement:Dt}}}}(),i=o.scroll.current,a=e.droppable,s=r.droppable.getAllByType(a.type).map(function(t){return t.callbacks.getDimensionAndWatchScroll(i,n)}),l=r.draggable.getAllByType(e.draggable.type).map(function(t){return t.getDimension(i)}),c={draggables:te(l),droppables:Jt(s)};return sn(),{dimensions:c,critical:e,viewport:o}};function or(t,e,n){return n.descriptor.id!==e.id&&(n.descriptor.type===e.type&&"virtual"===t.droppable.getById(n.descriptor.droppableId).descriptor.mode)}var ir=function(t,e){var n=null,r=function(t){var e=t.registry,n=t.callbacks,r={additions:{},removals:{},modified:{}},o=null,i=function(){o||(n.collectionStarting(),o=requestAnimationFrame(function(){o=null,an();var t=r,i=t.additions,a=t.removals,s=t.modified,l=Object.keys(i).map(function(t){return e.draggable.getById(t).getDimension(Dt)}).sort(function(t,e){return t.descriptor.index-e.descriptor.index}),c=Object.keys(s).map(function(t){return{droppableId:t,scroll:e.droppable.getById(t).callbacks.getScrollWhileDragging()}}),u={additions:l,removals:Object.keys(a),modified:c};r={additions:{},removals:{},modified:{}},sn(),n.publish(u)}))};return{add:function(t){var e=t.descriptor.id;r.additions[e]=t,r.modified[t.descriptor.droppableId]=!0,r.removals[e]&&delete r.removals[e],i()},remove:function(t){var e=t.descriptor;r.removals[e.id]=!0,r.modified[e.droppableId]=!0,r.additions[e.id]&&delete r.additions[e.id],i()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:e.publishWhileDragging,collectionStarting:e.collectionStarting},registry:t}),o=function(e){n||Ot(!1);var o=n.critical.draggable;"ADDITION"===e.type&&or(t,o,e.value)&&r.add(e.value),"REMOVAL"===e.type&&or(t,o,e.value)&&r.remove(e.value)},i={updateDroppableIsEnabled:function(r,o){t.droppable.exists(r)||Ot(!1),n&&e.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(t.droppable.exists(r)||Ot(!1),e.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(e,r){n&&t.droppable.getById(e).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(t.droppable.exists(r)||Ot(!1),e.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(e){n&&Ot(!1);var r=t.draggable.getById(e.draggableId),i=t.droppable.getById(r.descriptor.droppableId),a={draggable:r.descriptor,droppable:i.descriptor},s=t.subscribe(o);return n={critical:a,unsubscribe:s},rr({critical:a,registry:t,scrollOptions:e.scrollOptions})},stopPublishing:function(){if(n){r.stop();var e=n.critical.droppable;t.droppable.getAllByType(e.type).forEach(function(t){return t.callbacks.dragStopped()}),n.unsubscribe(),n=null}}};return i},ar=function(t,e){return"IDLE"===t.phase||"DROP_ANIMATING"===t.phase&&(t.completed.result.draggableId!==e&&"DROP"===t.completed.result.reason)},sr=function(t){window.scrollBy(t.x,t.y)},lr=xt(function(t){return ee(t).filter(function(t){return!!t.isEnabled&&!!t.frame})}),cr=function(t){var e=t.center,n=t.destination,r=t.droppables;if(n){var o=r[n];return o.frame?o:null}var i=function(t,e){var n=Qt(lr(e),function(e){return e.frame||Ot(!1),Ye(e.frame.pageMarginBox)(t)});return n}(e,r);return i},ur=.25,dr=.05,hr=28,fr=function(t){return Math.pow(t,2)},pr={stopDampeningAt:1200,accelerateAt:360},gr=function(t){var e=t.startOfRange,n=t.endOfRange,r=t.current,o=n-e;return 0===o?0:(r-e)/o},mr=pr.accelerateAt,vr=pr.stopDampeningAt,yr=function(t){var e=t.distanceToEdge,n=t.thresholds,r=t.dragStartTime,o=t.shouldUseTimeDampening,i=function(t,e){if(t>e.startScrollingFrom)return 0;if(t<=e.maxScrollValueAt)return hr;if(t===e.startScrollingFrom)return 1;var n=gr({startOfRange:e.maxScrollValueAt,endOfRange:e.startScrollingFrom,current:t}),r=hr*fr(1-n);return Math.ceil(r)}(e,n);return 0===i?0:o?Math.max(function(t,e){var n=e,r=vr,o=Date.now()-n;if(o>=vr)return t;if(o<mr)return 1;var i=gr({startOfRange:mr,endOfRange:r,current:o}),a=t*fr(i);return Math.ceil(a)}(i,r),1):i},br=function(t){var e=t.container,n=t.distanceToEdges,r=t.dragStartTime,o=t.axis,i=t.shouldUseTimeDampening,a=function(t,e){return{startScrollingFrom:t[e.size]*ur,maxScrollValueAt:t[e.size]*dr}}(e,o);return n[o.end]<n[o.start]?yr({distanceToEdge:n[o.end],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i}):-1*yr({distanceToEdge:n[o.start],thresholds:a,dragStartTime:r,shouldUseTimeDampening:i})},xr=qt(function(t){return 0===t?0:t}),wr=function(t){var e=t.dragStartTime,n=t.container,r=t.subject,o=t.center,i=t.shouldUseTimeDampening,a={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},s=br({container:n,distanceToEdges:a,dragStartTime:e,axis:pe,shouldUseTimeDampening:i}),l=br({container:n,distanceToEdges:a,dragStartTime:e,axis:ge,shouldUseTimeDampening:i}),c=xr({x:l,y:s});if(zt(c,Dt))return null;var u=function(t){var e=t.container,n=t.subject,r=t.proposedScroll,o=n.height>e.height,i=n.width>e.width;return i||o?i&&o?null:{x:i?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?zt(u,Dt)?null:u:null},kr=qt(function(t){return 0===t?0:t>0?1:-1}),Ar=function(){var t=function(t,e){return t<0?t:t>e?t-e:0};return function(e){var n=e.current,r=e.max,o=e.change,i=jt(n,o),a={x:t(i.x,r.x),y:t(i.y,r.y)};return zt(a,Dt)?null:a}}(),_r=function(t){var e=t.max,n=t.current,r=t.change,o={x:Math.max(n.x,e.x),y:Math.max(n.y,e.y)},i=kr(r),a=Ar({max:o,current:n,change:i});return!a||(0!==i.x&&0===a.x||0!==i.y&&0===a.y)},Sr=function(t,e){return _r({current:t.scroll.current,max:t.scroll.max,change:e})},Cr=function(t,e){var n=t.frame;return!!n&&_r({current:n.scroll.current,max:n.scroll.max,change:e})},Er=function(t){var e=t.state,n=t.dragStartTime,r=t.shouldUseTimeDampening,o=t.scrollWindow,i=t.scrollDroppable,a=e.current.page.borderBoxCenter,s=e.dimensions.draggables[e.critical.draggable.id].page.marginBox;if(e.isWindowScrollAllowed){var l=function(t){var e=t.viewport,n=t.subject,r=t.center,o=t.dragStartTime,i=t.shouldUseTimeDampening,a=wr({dragStartTime:o,container:e.frame,subject:n,center:r,shouldUseTimeDampening:i});return a&&Sr(e,a)?a:null}({dragStartTime:n,viewport:e.viewport,subject:s,center:a,shouldUseTimeDampening:r});if(l)return void o(l)}var c=cr({center:a,destination:Ue(e.impact),droppables:e.dimensions.droppables});if(c){var u=function(t){var e=t.droppable,n=t.subject,r=t.center,o=t.dragStartTime,i=t.shouldUseTimeDampening,a=e.frame;if(!a)return null;var s=wr({dragStartTime:o,container:a.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:i});return s&&Cr(e,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:a,shouldUseTimeDampening:r});u&&i(c.descriptor.id,u)}},Or=function(t){var e=t.move,n=t.scrollDroppable,r=t.scrollWindow,o=function(t,e){if(!Cr(t,e))return e;var r=function(t,e){var n=t.frame;return n&&Cr(t,e)?Ar({current:n.scroll.current,max:n.scroll.max,change:e}):null}(t,e);if(!r)return n(t.descriptor.id,e),null;var o=It(e,r);return n(t.descriptor.id,o),It(e,o)},i=function(t,e,n){if(!t)return n;if(!Sr(e,n))return n;var o=function(t,e){if(!Sr(t,e))return null;var n=t.scroll.max,r=t.scroll.current;return Ar({current:r,max:n,change:e})}(e,n);if(!o)return r(n),null;var i=It(n,o);return r(i),It(n,i)};return function(t){var n=t.scrollJumpRequest;if(n){var r=Ue(t.impact);r||Ot(!1);var a=o(t.dimensions.droppables[r],n);if(a){var s=t.viewport,l=i(t.isWindowScrollAllowed,s,a);l&&function(t,n){var r=jt(t.current.client.selection,n);e({client:r})}(t,l)}}}},Pr=function(t){var e=t.scrollDroppable,n=t.scrollWindow,r=t.move,o=function(t){var e=t.scrollWindow,n=t.scrollDroppable,r=wt(e),o=wt(n),i=null,a=function(t){i||Ot(!1);var e=i,n=e.shouldUseTimeDampening,a=e.dragStartTime;Er({state:t,scrollWindow:r,scrollDroppable:o,dragStartTime:a,shouldUseTimeDampening:n})};return{start:function(t){an(),i&&Ot(!1);var e=Date.now(),n=!1,r=function(){n=!0};Er({state:t,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),i={dragStartTime:e,shouldUseTimeDampening:n},sn(),n&&a(t)},stop:function(){i&&(r.cancel(),o.cancel(),i=null)},scroll:a}}({scrollWindow:n,scrollDroppable:e}),i=Or({move:r,scrollWindow:n,scrollDroppable:e});return{scroll:function(t){"DRAGGING"===t.phase&&("FLUID"!==t.movementMode?t.scrollJumpRequest&&i(t):o.scroll(t))},start:o.start,stop:o.stop}},Mr="data-rbd",Tr=function(){var t=Mr+"-drag-handle";return{base:t,draggableId:t+"-draggable-id",contextId:t+"-context-id"}}(),Nr=function(){var t=Mr+"-draggable";return{base:t,contextId:t+"-context-id",id:t+"-id"}}(),Rr=function(){var t=Mr+"-droppable";return{base:t,contextId:t+"-context-id",id:t+"-id"}}(),Lr={contextId:Mr+"-scroll-container-context-id"},Dr=function(t,e){return t.map(function(t){var n=t.styles[e];return n?t.selector+" { "+n+" }":""}).join(" ")},jr=function(t){var e,n=(e=t,function(t){return"["+t+'="'+e+'"]'}),r=function(){var t="\n cursor: -webkit-grab;\n cursor: grab;\n ";return{selector:n(Tr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:t,dragging:"pointer-events: none;",dropAnimating:t}}}(),o=[function(){var t="\n transition: "+Rn.outOfTheWay+";\n ";return{selector:n(Nr.contextId),styles:{dragging:t,dropAnimating:t,userCancel:t}}}(),r,{selector:n(Rr.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:Dr(o,"always"),resting:Dr(o,"resting"),dragging:Dr(o,"dragging"),dropAnimating:Dr(o,"dropAnimating"),userCancel:Dr(o,"userCancel")}},Ir="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?r.useLayoutEffect:r.useEffect,zr=function(){var t=document.querySelector("head");return t||Ot(!1),t},Br=function(t){var e=document.createElement("style");return t&&e.setAttribute("nonce",t),e.type="text/css",e};var Fr=function(t){return t&&t.ownerDocument?t.ownerDocument.defaultView:window};function Hr(t){return t instanceof Fr(t).HTMLElement}function Vr(t,e){var n="["+Tr.contextId+'="'+t+'"]',r=Zt(document.querySelectorAll(n));if(!r.length)return null;var o=Qt(r,function(t){return t.getAttribute(Tr.draggableId)===e});return o&&Hr(o)?o:null}function qr(){var t={draggables:{},droppables:{}},e=[];function n(t){e.length&&e.forEach(function(e){return e(t)})}function r(e){return t.draggables[e]||null}function o(e){return t.droppables[e]||null}return{draggable:{register:function(e){t.draggables[e.descriptor.id]=e,n({type:"ADDITION",value:e})},update:function(e,n){var r=t.draggables[n.descriptor.id];r&&r.uniqueId===e.uniqueId&&(delete t.draggables[n.descriptor.id],t.draggables[e.descriptor.id]=e)},unregister:function(e){var o=e.descriptor.id,i=r(o);i&&e.uniqueId===i.uniqueId&&(delete t.draggables[o],n({type:"REMOVAL",value:e}))},getById:function(t){var e=r(t);return e||Ot(!1),e},findById:r,exists:function(t){return Boolean(r(t))},getAllByType:function(e){return $t(t.draggables).filter(function(t){return t.descriptor.type===e})}},droppable:{register:function(e){t.droppables[e.descriptor.id]=e},unregister:function(e){var n=o(e.descriptor.id);n&&e.uniqueId===n.uniqueId&&delete t.droppables[e.descriptor.id]},getById:function(t){var e=o(t);return e||Ot(!1),e},findById:o,exists:function(t){return Boolean(o(t))},getAllByType:function(e){return $t(t.droppables).filter(function(t){return t.descriptor.type===e})}},subscribe:function(t){return e.push(t),function(){var n=e.indexOf(t);-1!==n&&e.splice(n,1)}},clean:function(){t.draggables={},t.droppables={},e.length=0}}}var Ur=r.createContext(null),Wr=function(){var t=document.body;return t||Ot(!1),t},Gr={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Yr=function(t){return"rbd-announcement-"+t};var Kr=0,$r={separator:"::"};function Xr(t,e){return void 0===e&&(e=$r),ot(function(){return""+t+e.separator+Kr++},[e.separator,t])}var Qr=r.createContext(null);function Zr(t){0}function Jr(t,e){Zr()}function to(t){var e=(0,r.useRef)(t);return(0,r.useEffect)(function(){e.current=t}),e}var eo,no=((eo={})[13]=!0,eo[9]=!0,eo),ro=function(t){no[t.keyCode]&&t.preventDefault()},oo=function(){var t="visibilitychange";return"undefined"===typeof document?t:Qt([t,"ms"+t,"webkit"+t,"moz"+t,"o"+t],function(t){return"on"+t in document})||t}();var io,ao={type:"IDLE"};function so(t){var e=t.cancel,n=t.completed,r=t.getPhase,o=t.setPhase;return[{eventName:"mousemove",fn:function(t){var e=t.button,n=t.clientX,i=t.clientY;if(0===e){var a={x:n,y:i},s=r();if("DRAGGING"===s.type)return t.preventDefault(),void s.actions.move(a);"PENDING"!==s.type&&Ot(!1);var l=s.point;if(c=l,u=a,Math.abs(u.x-c.x)>=5||Math.abs(u.y-c.y)>=5){var c,u;t.preventDefault();var d=s.actions.fluidLift(a);o({type:"DRAGGING",actions:d})}}}},{eventName:"mouseup",fn:function(t){var o=r();"DRAGGING"===o.type?(t.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):e()}},{eventName:"mousedown",fn:function(t){"DRAGGING"===r().type&&t.preventDefault(),e()}},{eventName:"keydown",fn:function(t){if("PENDING"!==r().type)return 27===t.keyCode?(t.preventDefault(),void e()):void ro(t);e()}},{eventName:"resize",fn:e},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&e()}},{eventName:"webkitmouseforcedown",fn:function(t){var n=r();"IDLE"===n.type&&Ot(!1),n.actions.shouldRespectForcePress()?e():t.preventDefault()}},{eventName:oo,fn:e}]}function lo(){}var co=((io={})[34]=!0,io[33]=!0,io[36]=!0,io[35]=!0,io);function uo(t,e){function n(){e(),t.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),e(),void t.drop()):40===r.keyCode?(r.preventDefault(),void t.moveDown()):38===r.keyCode?(r.preventDefault(),void t.moveUp()):39===r.keyCode?(r.preventDefault(),void t.moveRight()):37===r.keyCode?(r.preventDefault(),void t.moveLeft()):void(co[r.keyCode]?r.preventDefault():ro(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:oo,fn:n}]}var ho={type:"IDLE"};var fo={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function po(t,e){if(null==e)return!1;if(Boolean(fo[e.tagName.toLowerCase()]))return!0;var n=e.getAttribute("contenteditable");return"true"===n||""===n||e!==t&&po(t,e.parentElement)}function go(t,e){var n=e.target;return!!Hr(n)&&po(t,n)}var mo=function(t){return st(t.getBoundingClientRect()).center};var vo=function(){var t="matches";return"undefined"===typeof document?t:Qt([t,"msMatchesSelector","webkitMatchesSelector"],function(t){return t in Element.prototype})||t}();function yo(t,e){return null==t?null:t[vo](e)?t:yo(t.parentElement,e)}function bo(t,e){return t.closest?t.closest(e):yo(t,e)}function xo(t,e){var n,r=e.target;if(!((n=r)instanceof Fr(n).Element))return null;var o=function(t){return"["+Tr.contextId+'="'+t+'"]'}(t),i=bo(r,o);return i&&Hr(i)?i:null}function wo(t){t.preventDefault()}function ko(t){var e=t.expected,n=t.phase,r=t.isLockActive;t.shouldWarn;return!!r()&&e===n}function Ao(t){var e=t.lockAPI,n=t.store,r=t.registry,o=t.draggableId;if(e.isClaimed())return!1;var i=r.draggable.findById(o);return!!i&&(!!i.options.isEnabled&&!!ar(n.getState(),o))}function _o(t){var e=t.lockAPI,n=t.contextId,r=t.store,o=t.registry,a=t.draggableId,s=t.forceSensorStop,l=t.sourceEvent;if(!Ao({lockAPI:e,store:r,registry:o,draggableId:a}))return null;var c=o.draggable.getById(a),u=function(t,e){var n="["+Nr.contextId+'="'+t+'"]',r=Qt(Zt(document.querySelectorAll(n)),function(t){return t.getAttribute(Nr.id)===e});return r&&Hr(r)?r:null}(n,c.descriptor.id);if(!u)return null;if(l&&!c.options.canDragInteractiveElements&&go(u,l))return null;var d=e.claim(s||At),h="PRE_DRAG";function f(){return c.options.shouldRespectForcePress}function p(){return e.isActive(d)}var g=function(t,e){ko({expected:t,phase:h,isLockActive:p,shouldWarn:!0})&&r.dispatch(e())}.bind(null,"DRAGGING");function m(t){function n(){e.release(),h="COMPLETED"}function o(e,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),t.cleanup(),o.shouldBlockNextClick){var i=_t(window,[{eventName:"click",fn:wo,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(i)}n(),r.dispatch(En({reason:e}))}return"PRE_DRAG"!==h&&(n(),"PRE_DRAG"!==h&&Ot(!1)),r.dispatch(pn(t.liftActionArgs)),h="DRAGGING",(0,i.A)({isActive:function(){return ko({expected:"DRAGGING",phase:h,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(t){return o("DROP",t)},cancel:function(t){return o("CANCEL",t)}},t.actions)}return{isActive:function(){return ko({expected:"PRE_DRAG",phase:h,isLockActive:p,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(t){var e=wt(function(t){g(function(){return xn({client:t})})}),n=m({liftActionArgs:{id:a,clientSelection:t,movementMode:"FLUID"},cleanup:function(){return e.cancel()},actions:{move:e}});return(0,i.A)({},n,{move:e})},snapLift:function(){var t={moveUp:function(){return g(wn)},moveRight:function(){return g(An)},moveDown:function(){return g(kn)},moveLeft:function(){return g(_n)}};return m({liftActionArgs:{id:a,clientSelection:mo(u),movementMode:"SNAP"},cleanup:At,actions:t})},abort:function(){ko({expected:"PRE_DRAG",phase:h,isLockActive:p,shouldWarn:!0})&&e.release()}}}var So=[function(t){var e=(0,r.useRef)(ao),n=(0,r.useRef)(At),o=ot(function(){return{eventName:"mousedown",fn:function(e){if(!e.defaultPrevented&&0===e.button&&!(e.ctrlKey||e.metaKey||e.shiftKey||e.altKey)){var r=t.findClosestDraggableId(e);if(r){var o=t.tryGetLock(r,s,{sourceEvent:e});if(o){e.preventDefault();var i={x:e.clientX,y:e.clientY};n.current(),u(o,i)}}}}}},[t]),i=ot(function(){return{eventName:"webkitmouseforcewillbegin",fn:function(e){if(!e.defaultPrevented){var n=t.findClosestDraggableId(e);if(n){var r=t.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||t.canGetLock(n)&&e.preventDefault())}}}}},[t]),a=it(function(){n.current=_t(window,[i,o],{passive:!1,capture:!0})},[i,o]),s=it(function(){"IDLE"!==e.current.type&&(e.current=ao,n.current(),a())},[a]),l=it(function(){var t=e.current;s(),"DRAGGING"===t.type&&t.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===t.type&&t.actions.abort()},[s]),c=it(function(){var t=so({cancel:l,completed:s,getPhase:function(){return e.current},setPhase:function(t){e.current=t}});n.current=_t(window,t,{capture:!0,passive:!1})},[l,s]),u=it(function(t,n){"IDLE"!==e.current.type&&Ot(!1),e.current={type:"PENDING",point:n,actions:t},c()},[c]);Ir(function(){return a(),function(){n.current()}},[a])},function(t){var e=(0,r.useRef)(lo),n=ot(function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=t.findClosestDraggableId(n);if(r){var i=t.tryGetLock(r,l,{sourceEvent:n});if(i){n.preventDefault();var a=!0,s=i.snapLift();e.current(),e.current=_t(window,uo(s,l),{capture:!0,passive:!1})}}}function l(){a||Ot(!1),a=!1,e.current(),o()}}}},[t]),o=it(function(){e.current=_t(window,[n],{passive:!1,capture:!0})},[n]);Ir(function(){return o(),function(){e.current()}},[o])},function(t){var e=(0,r.useRef)(ho),n=(0,r.useRef)(At),o=it(function(){return e.current},[]),i=it(function(t){e.current=t},[]),a=ot(function(){return{eventName:"touchstart",fn:function(e){if(!e.defaultPrevented){var r=t.findClosestDraggableId(e);if(r){var o=t.tryGetLock(r,l,{sourceEvent:e});if(o){var i=e.touches[0],a={x:i.clientX,y:i.clientY};n.current(),h(o,a)}}}}}},[t]),s=it(function(){n.current=_t(window,[a],{capture:!0,passive:!1})},[a]),l=it(function(){var t=e.current;"IDLE"!==t.type&&("PENDING"===t.type&&clearTimeout(t.longPressTimerId),i(ho),n.current(),s())},[s,i]),c=it(function(){var t=e.current;l(),"DRAGGING"===t.type&&t.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===t.type&&t.actions.abort()},[l]),u=it(function(){var t={capture:!0,passive:!1},e={cancel:c,completed:l,getPhase:o},r=_t(window,function(t){var e=t.cancel,n=t.completed,r=t.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(t){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=t.touches[0],i={x:o.clientX,y:o.clientY};t.preventDefault(),n.actions.move(i)}else e()}},{eventName:"touchend",fn:function(t){var o=r();"DRAGGING"===o.type?(t.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):e()}},{eventName:"touchcancel",fn:function(t){"DRAGGING"===r().type?(t.preventDefault(),e()):e()}},{eventName:"touchforcechange",fn:function(t){var n=r();"IDLE"===n.type&&Ot(!1);var o=t.touches[0];if(o&&o.force>=.15){var i=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return i?n.hasMoved?void t.preventDefault():void e():void t.preventDefault();i&&e()}}},{eventName:oo,fn:e}]}(e),t),i=_t(window,function(t){var e=t.cancel,n=t.getPhase;return[{eventName:"orientationchange",fn:e},{eventName:"resize",fn:e},{eventName:"contextmenu",fn:function(t){t.preventDefault()}},{eventName:"keydown",fn:function(t){"DRAGGING"===n().type?(27===t.keyCode&&t.preventDefault(),e()):e()}},{eventName:oo,fn:e}]}(e),t);n.current=function(){r(),i()}},[c,o,l]),d=it(function(){var t=o();"PENDING"!==t.type&&Ot(!1);var e=t.actions.fluidLift(t.point);i({type:"DRAGGING",actions:e,hasMoved:!1})},[o,i]),h=it(function(t,e){"IDLE"!==o().type&&Ot(!1);var n=setTimeout(d,120);i({type:"PENDING",point:e,actions:t,longPressTimerId:n}),u()},[u,o,i,d]);Ir(function(){return s(),function(){n.current();var t=o();"PENDING"===t.type&&(clearTimeout(t.longPressTimerId),i(ho))}},[o,s,i]),Ir(function(){return _t(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])},[])}];function Co(t){var e=t.contextId,n=t.store,o=t.registry,i=t.customSensors,a=t.enableDefaultSensors,s=[].concat(a?So:[],i||[]),l=(0,r.useState)(function(){return function(){var t=null;function e(){t||Ot(!1),t=null}return{isClaimed:function(){return Boolean(t)},isActive:function(e){return e===t},claim:function(e){t&&Ot(!1);var n={abandon:e};return t=n,n},release:e,tryAbandon:function(){t&&(t.abandon(),e())}}}()})[0],c=it(function(t,e){t.isDragging&&!e.isDragging&&l.tryAbandon()},[l]);Ir(function(){var t=n.getState();return n.subscribe(function(){var e=n.getState();c(t,e),t=e})},[l,n,c]),Ir(function(){return l.tryAbandon},[l.tryAbandon]);var u=it(function(t){return Ao({lockAPI:l,registry:o,store:n,draggableId:t})},[l,o,n]),d=it(function(t,r,i){return _o({lockAPI:l,registry:o,contextId:e,store:n,draggableId:t,forceSensorStop:r,sourceEvent:i&&i.sourceEvent?i.sourceEvent:null})},[e,l,o,n]),h=it(function(t){return function(t,e){var n=xo(t,e);return n?n.getAttribute(Tr.draggableId):null}(e,t)},[e]),f=it(function(t){var e=o.draggable.findById(t);return e?e.options:null},[o.draggable]),p=it(function(){l.isClaimed()&&(l.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(Sn()))},[l,n]),g=it(l.isClaimed,[l]),m=ot(function(){return{canGetLock:u,tryGetLock:d,findClosestDraggableId:h,findOptionsForDraggable:f,tryReleaseLock:p,isLockClaimed:g}},[u,d,h,f,p,g]);Zr();for(var v=0;v<s.length;v++)s[v](m)}var Eo=function(t){return{onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragEnd:t.onDragEnd,onDragUpdate:t.onDragUpdate}};function Oo(t){return t.current||Ot(!1),t.current}function Po(t){var e=t.contextId,n=t.setCallbacks,o=t.sensors,a=t.nonce,s=t.dragHandleUsageInstructions,l=(0,r.useRef)(null);Jr();var c=to(t),u=it(function(){return Eo(c.current)},[c]),d=function(t){var e=ot(function(){return Yr(t)},[t]),n=(0,r.useRef)(null);return(0,r.useEffect)(function(){var t=document.createElement("div");return n.current=t,t.id=e,t.setAttribute("aria-live","assertive"),t.setAttribute("aria-atomic","true"),(0,i.A)(t.style,Gr),Wr().appendChild(t),function(){setTimeout(function(){var e=Wr();e.contains(t)&&e.removeChild(t),t===n.current&&(n.current=null)})}},[e]),it(function(t){var e=n.current;e&&(e.textContent=t)},[])}(e),h=function(t){var e=t.contextId,n=t.text,o=Xr("hidden-text",{separator:"-"}),i=ot(function(){return"rbd-hidden-text-"+(t={contextId:e,uniqueId:o}).contextId+"-"+t.uniqueId;var t},[o,e]);return(0,r.useEffect)(function(){var t=document.createElement("div");return t.id=i,t.textContent=n,t.style.display="none",Wr().appendChild(t),function(){var e=Wr();e.contains(t)&&e.removeChild(t)}},[i,n]),i}({contextId:e,text:s}),f=function(t,e){var n=ot(function(){return jr(t)},[t]),o=(0,r.useRef)(null),i=(0,r.useRef)(null),a=it(xt(function(t){var e=i.current;e||Ot(!1),e.textContent=t}),[]),s=it(function(t){var e=o.current;e||Ot(!1),e.textContent=t},[]);Ir(function(){(o.current||i.current)&&Ot(!1);var r=Br(e),l=Br(e);return o.current=r,i.current=l,r.setAttribute(Mr+"-always",t),l.setAttribute(Mr+"-dynamic",t),zr().appendChild(r),zr().appendChild(l),s(n.always),a(n.resting),function(){var t=function(t){var e=t.current;e||Ot(!1),zr().removeChild(e),t.current=null};t(o),t(i)}},[e,s,a,n.always,n.resting,t]);var l=it(function(){return a(n.dragging)},[a,n.dragging]),c=it(function(t){a("DROP"!==t?n.userCancel:n.dropAnimating)},[a,n.dropAnimating,n.userCancel]),u=it(function(){i.current&&a(n.resting)},[a,n.resting]);return ot(function(){return{dragging:l,dropping:c,resting:u}},[l,c,u])}(e,a),g=it(function(t){Oo(l).dispatch(t)},[]),m=ot(function(){return p({publishWhileDragging:gn,updateDroppableScroll:vn,updateDroppableIsEnabled:yn,updateDroppableIsCombineEnabled:bn,collectionStarting:mn},g)},[g]),v=function(){var t=ot(qr,[]);return(0,r.useEffect)(function(){return function(){requestAnimationFrame(t.clean)}},[t]),t}(),y=ot(function(){return ir(v,m)},[v,m]),b=ot(function(){return Pr((0,i.A)({scrollWindow:sr,scrollDroppable:y.scrollDroppable},p({move:xn},g)))},[y.scrollDroppable,g]),x=function(t){var e=(0,r.useRef)({}),n=(0,r.useRef)(null),o=(0,r.useRef)(null),i=(0,r.useRef)(!1),a=it(function(t,n){var r={id:t,focus:n};return e.current[t]=r,function(){var n=e.current;n[t]!==r&&delete n[t]}},[]),s=it(function(e){var n=Vr(t,e);n&&n!==document.activeElement&&n.focus()},[t]),l=it(function(t,e){n.current===t&&(n.current=e)},[]),c=it(function(){o.current||i.current&&(o.current=requestAnimationFrame(function(){o.current=null;var t=n.current;t&&s(t)}))},[s]),u=it(function(t){n.current=null;var e=document.activeElement;e&&e.getAttribute(Tr.draggableId)===t&&(n.current=t)},[]);return Ir(function(){return i.current=!0,function(){i.current=!1;var t=o.current;t&&cancelAnimationFrame(t)}},[]),ot(function(){return{register:a,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}},[a,u,c,l])}(e),w=ot(function(){return Jn({announce:d,autoScroller:b,dimensionMarshal:y,focusMarshal:x,getResponders:u,styleMarshal:f})},[d,b,y,x,u,f]);l.current=w;var A=it(function(){var t=Oo(l);"IDLE"!==t.getState().phase&&t.dispatch(Sn())},[]),_=it(function(){var t=Oo(l).getState();return t.isDragging||"DROP_ANIMATING"===t.phase},[]);n(ot(function(){return{isDragging:_,tryAbort:A}},[_,A]));var S=it(function(t){return ar(Oo(l).getState(),t)},[]),C=it(function(){return Ge(Oo(l).getState())},[]),E=ot(function(){return{marshal:y,focus:x,contextId:e,canLift:S,isMovementAllowed:C,dragHandleUsageInstructionsId:h,registry:v}},[e,y,h,x,S,C,v]);return Co({contextId:e,store:w,registry:v,customSensors:o,enableDefaultSensors:!1!==t.enableDefaultSensors}),(0,r.useEffect)(function(){return A},[A]),r.createElement(Qr.Provider,{value:E},r.createElement(k,{context:Ur,store:w},t.children))}var Mo=0;function To(t){var e=ot(function(){return""+Mo++},[]),n=t.dragHandleUsageInstructions||Lt.dragHandleUsageInstructions;return r.createElement(Pt,null,function(o){return r.createElement(Po,{nonce:t.nonce,contextId:e,setCallbacks:o,dragHandleUsageInstructions:n,enableDefaultSensors:t.enableDefaultSensors,sensors:t.sensors,onBeforeCapture:t.onBeforeCapture,onBeforeDragStart:t.onBeforeDragStart,onDragStart:t.onDragStart,onDragUpdate:t.onDragUpdate,onDragEnd:t.onDragEnd},t.children)})}var No=function(t){return function(e){return t===e}},Ro=No("scroll"),Lo=No("auto"),Do=(No("visible"),function(t,e){return e(t.overflowX)||e(t.overflowY)}),jo=function t(e){return null==e||e===document.body||e===document.documentElement?null:function(t){var e=window.getComputedStyle(t),n={overflowX:e.overflowX,overflowY:e.overflowY};return Do(n,Ro)||Do(n,Lo)}(e)?e:t(e.parentElement)},Io=function(t){return{x:t.scrollLeft,y:t.scrollTop}},zo=function t(e){return!!e&&("fixed"===window.getComputedStyle(e).position||t(e.parentElement))},Bo=function(t){return{closestScrollable:jo(t),isFixedOnPage:zo(t)}},Fo=function(t){var e=t.ref,n=t.descriptor,r=t.env,o=t.windowScroll,i=t.direction,a=t.isDropDisabled,s=t.isCombineEnabled,l=t.shouldClipSubject,c=r.closestScrollable,u=function(t,e){var n=mt(t);if(!e)return n;if(t!==e)return n;var r=n.paddingBox.top-e.scrollTop,o=n.paddingBox.left-e.scrollLeft,i=r+e.scrollHeight,a=o+e.scrollWidth,s=lt({top:r,right:a,bottom:i,left:o},n.border);return dt({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(e,c),d=pt(u,o),h=function(){if(!c)return null;var t=mt(c),e={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:t,page:pt(t,o),scroll:Io(c),scrollSize:e,shouldClipSubject:l}}(),f=function(t){var e=t.descriptor,n=t.isEnabled,r=t.isCombineEnabled,o=t.isFixedOnPage,i=t.direction,a=t.client,s=t.page,l=t.closest,c=function(){if(!l)return null;var t=l.scrollSize,e=l.client,n=tr({scrollHeight:t.scrollHeight,scrollWidth:t.scrollWidth,height:e.paddingBox.height,width:e.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:e,scrollSize:t,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Dt,displacement:Dt}}}}(),u="vertical"===i?pe:ge;return{descriptor:e,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:a,page:s,frame:c,subject:Yt({page:s,withPlaceholder:null,axis:u,frame:c})}}({descriptor:n,isEnabled:!a,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:i,client:u,page:d,closest:h});return f},Ho={passive:!1},Vo={passive:!0},qo=function(t){return t.shouldPublishImmediately?Ho:Vo};function Uo(t){var e=(0,r.useContext)(t);return e||Ot(!1),e}var Wo=function(t){return t&&t.env.closestScrollable||null};function Go(){}var Yo={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},Ko=function(t){var e=t.isAnimatingOpenOnMount,n=t.placeholder,r=t.animate,o=function(t){var e=t.isAnimatingOpenOnMount,n=t.placeholder,r=t.animate;return e||"close"===r?Yo:{height:n.client.borderBox.height,width:n.client.borderBox.width,margin:n.client.margin}}({isAnimatingOpenOnMount:e,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?Rn.placeholder:null}};var $o=r.memo(function(t){var e=(0,r.useRef)(null),n=it(function(){e.current&&(clearTimeout(e.current),e.current=null)},[]),o=t.animate,i=t.onTransitionEnd,a=t.onClose,s=t.contextId,l=(0,r.useState)("open"===t.animate),c=l[0],u=l[1];(0,r.useEffect)(function(){return c?"open"!==o?(n(),u(!1),Go):e.current?Go:(e.current=setTimeout(function(){e.current=null,u(!1)}),n):Go},[o,c,n]);var d=it(function(t){"height"===t.propertyName&&(i(),"close"===o&&a())},[o,a,i]),h=Ko({isAnimatingOpenOnMount:c,animate:t.animate,placeholder:t.placeholder});return r.createElement(t.placeholder.tagName,{style:h,"data-rbd-placeholder-context-id":s,onTransitionEnd:d,ref:t.innerRef})}),Xo=r.createContext(null);var Qo=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).state={isVisible:Boolean(e.props.on),data:e.props.on,animate:e.props.shouldAnimate&&e.props.on?"open":"none"},e.onClose=function(){"close"===e.state.animate&&e.setState({isVisible:!1})},e}return(0,o.A)(e,t),e.getDerivedStateFromProps=function(t,e){return t.shouldAnimate?t.on?{isVisible:!0,data:t.on,animate:"open"}:e.isVisible?{isVisible:!0,data:e.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(t.on),data:t.on,animate:"none"}},e.prototype.render=function(){if(!this.state.isVisible)return null;var t={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(t)},e}(r.PureComponent),Zo=5e3,Jo=4500,ti=function(t,e){return e?Rn.drop(e.duration):t?Rn.snap:Rn.fluid},ei=function(t,e){return t?e?Mn.drop:Mn.combining:null};function ni(t){return"DRAGGING"===t.type?function(t){var e=t.dimension.client,n=t.offset,r=t.combineWith,o=t.dropping,i=Boolean(r),a=function(t){return null!=t.forceShouldAnimate?t.forceShouldAnimate:"SNAP"===t.mode}(t),s=Boolean(o),l=s?jn(n,i):Dn(n);return{position:"fixed",top:e.marginBox.top,left:e.marginBox.left,boxSizing:"border-box",width:e.borderBox.width,height:e.borderBox.height,transition:ti(a,o),transform:l,opacity:ei(i,s),zIndex:s?Jo:Zo,pointerEvents:"none"}}(t):{transform:Dn((e=t).offset),transition:e.shouldAnimateDisplacement?null:"none"};var e}function ri(t){var e=Xr("draggable"),n=t.descriptor,o=t.registry,i=t.getDraggableRef,a=t.canDragInteractiveElements,s=t.shouldRespectForcePress,l=t.isEnabled,c=ot(function(){return{canDragInteractiveElements:a,shouldRespectForcePress:s,isEnabled:l}},[a,l,s]),u=it(function(t){var e=i();return e||Ot(!1),function(t,e,n){void 0===n&&(n=Dt);var r=window.getComputedStyle(e),o=e.getBoundingClientRect(),i=gt(o,r),a=pt(i,n);return{descriptor:t,placeholder:{client:i,tagName:e.tagName.toLowerCase(),display:r.display},displaceBy:{x:i.marginBox.width,y:i.marginBox.height},client:i,page:a}}(n,e,t)},[n,i]),d=ot(function(){return{uniqueId:e,descriptor:n,options:c,getDimension:u}},[n,u,c,e]),h=(0,r.useRef)(d),f=(0,r.useRef)(!0);Ir(function(){return o.draggable.register(h.current),function(){return o.draggable.unregister(h.current)}},[o.draggable]),Ir(function(){if(f.current)f.current=!1;else{var t=h.current;h.current=d,o.draggable.update(d,t)}},[d,o.draggable])}function oi(t,e,n){Jr()}function ii(t){t.preventDefault()}var ai=function(t,e){return t===e},si=function(t){var e=t.combine,n=t.destination;return n?n.droppableId:e?e.droppableId:null};function li(t){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:t,combineWith:null}}var ci={mapped:{type:"SECONDARY",offset:Dt,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:li(null)}};var ui=tt(function(){var t=function(){var t=xt(function(t,e){return{x:t,y:e}}),e=xt(function(t,e,n,r,o){return{isDragging:!0,isClone:e,isDropAnimating:Boolean(o),dropAnimation:o,mode:t,draggingOver:n,combineWith:r,combineTargetFor:null}}),n=xt(function(t,n,r,o,i,a,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:i,combineWith:a,mode:n,offset:t,dimension:r,forceShouldAnimate:s,snapshot:e(n,o,i,a,null)}}});return function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var i=r.current.client.offset,a=r.dimensions.draggables[o.draggableId],s=Ue(r.impact),l=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(t(i.x,i.y),r.movementMode,a,o.isClone,s,l,c)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var h=o.isClone,f=r.dimensions.draggables[o.draggableId],p=d.result,g=p.mode,m=si(p),v=function(t){return t.combine?t.combine.draggableId:null}(p),y={duration:r.dropDuration,curve:Pn,moveTo:r.newHomeClientOffset,opacity:v?Mn.drop:null,scale:v?Tn.drop:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:f,dropping:y,draggingOver:m,combineWith:v,mode:g,forceShouldAnimate:null,snapshot:e(g,h,m,v,y)}}}return null}}(),e=function(){var t=xt(function(t,e){return{x:t,y:e}}),e=xt(li),n=xt(function(t,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:t,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:e(n)}}}),r=function(t){return t?n(Dt,t,!0):null},o=function(e,o,i,a){var s=i.displaced.visible[e],l=Boolean(a.inVirtualList&&a.effected[e]),c=ie(i),u=c&&c.draggableId===e?o:null;if(!s){if(!l)return r(u);if(i.displaced.invisible[e])return null;var d=Bt(a.displacedBy.point),h=t(d.x,d.y);return n(h,u,!0)}if(l)return r(u);var f=i.displacedBy.point,p=t(f.x,f.y);return n(p,u,s.shouldAnimate)};return function(t,e){if(t.isDragging)return t.critical.draggable.id===e.draggableId?null:o(e.draggableId,t.critical.draggable.id,t.impact,t.afterCritical);if("DROP_ANIMATING"===t.phase){var n=t.completed;return n.result.draggableId===e.draggableId?null:o(e.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(n,r){return t(n,r)||e(n,r)||ci}},{dropAnimationFinished:On},null,{context:Ur,pure:!0,areStatePropsEqual:ai})(function(t){var e=(0,r.useRef)(null),n=it(function(t){e.current=t},[]),o=it(function(){return e.current},[]),i=Uo(Qr),a=i.contextId,s=i.dragHandleUsageInstructionsId,l=i.registry,c=Uo(Xo),u=c.type,d=c.droppableId,h=ot(function(){return{id:t.draggableId,index:t.index,type:u,droppableId:d}},[t.draggableId,t.index,u,d]),f=t.children,p=t.draggableId,g=t.isEnabled,m=t.shouldRespectForcePress,v=t.canDragInteractiveElements,y=t.isClone,b=t.mapped,x=t.dropAnimationFinished;oi(),Zr(),y||ri(ot(function(){return{descriptor:h,registry:l,getDraggableRef:o,canDragInteractiveElements:v,shouldRespectForcePress:m,isEnabled:g}},[h,l,o,v,m,g]));var w=ot(function(){return g?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":p,"data-rbd-drag-handle-context-id":a,draggable:!1,onDragStart:ii}:null},[a,s,p,g]),k=it(function(t){"DRAGGING"===b.type&&b.dropping&&"transform"===t.propertyName&&x()},[x,b]),A=ot(function(){var t=ni(b),e="DRAGGING"===b.type&&b.dropping?k:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":a,"data-rbd-draggable-id":p,style:t,onTransitionEnd:e},dragHandleProps:w}},[a,w,p,b,k,n]),_=ot(function(){return{draggableId:h.id,type:h.type,source:{index:h.index,droppableId:h.droppableId}}},[h.droppableId,h.id,h.index,h.type]);return f(A,b.snapshot,_)});function di(t){return Uo(Xo).isUsingCloneFor!==t.draggableId||t.isClone?r.createElement(ui,t):null}function hi(t){var e="boolean"!==typeof t.isDragDisabled||!t.isDragDisabled,n=Boolean(t.disableInteractiveElementBlocking),o=Boolean(t.shouldRespectForcePress);return r.createElement(di,(0,i.A)({},t,{isClone:!1,isEnabled:e,canDragInteractiveElements:n,shouldRespectForcePress:o}))}var fi=function(t,e){return t===e.droppable.type},pi=function(t,e){return e.draggables[t.draggable.id]};var gi={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Ot(!1),document.body}},mi=tt(function(){var t={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},e=(0,i.A)({},t,{shouldAnimatePlaceholder:!1}),n=xt(function(t){return{draggableId:t.id,type:t.type,source:{index:t.index,droppableId:t.droppableId}}}),r=xt(function(r,o,i,a,s,l){var c=s.descriptor.id;if(s.descriptor.droppableId===r){var u=l?{render:l,dragging:n(s.descriptor)}:null,d={isDraggingOver:i,draggingOverWith:i?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return e;if(!a)return t;var h={isDraggingOver:i,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:h,useClone:null}});return function(n,o){var i=o.droppableId,a=o.type,s=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!fi(a,c))return e;var u=pi(c,n.dimensions),d=Ue(n.impact)===i;return r(i,s,d,d,u,l)}if("DROP_ANIMATING"===n.phase){var h=n.completed;if(!fi(a,h.critical))return e;var f=pi(h.critical,n.dimensions);return r(i,s,si(h.result)===i,Ue(h.impact)===i,f,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var p=n.completed;if(!fi(a,p.critical))return e;var g=Ue(p.impact)===i,m=Boolean(p.impact.at&&"COMBINE"===p.impact.at.type),v=p.critical.droppable.id===i;return g?m?t:e:v?t:e}return e}},{updateViewportMaxScroll:function(t){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:t}}},null,{context:Ur,pure:!0,areStatePropsEqual:ai})(function(t){var e=(0,r.useContext)(Qr);e||Ot(!1);var n=e.contextId,o=e.isMovementAllowed,i=(0,r.useRef)(null),a=(0,r.useRef)(null),s=t.children,l=t.droppableId,c=t.type,u=t.mode,d=t.direction,h=t.ignoreContainerClipping,f=t.isDropDisabled,p=t.isCombineEnabled,g=t.snapshot,m=t.useClone,v=t.updateViewportMaxScroll,y=t.getContainerForClone,b=it(function(){return i.current},[]),x=it(function(t){i.current=t},[]),w=(it(function(){return a.current},[]),it(function(t){a.current=t},[]));Jr();var k=it(function(){o()&&v({maxScroll:nr()})},[o,v]);!function(t){var e=(0,r.useRef)(null),n=Uo(Qr),o=Xr("droppable"),i=n.registry,a=n.marshal,s=to(t),l=ot(function(){return{id:t.droppableId,type:t.type,mode:t.mode}},[t.droppableId,t.mode,t.type]),c=(0,r.useRef)(l),u=ot(function(){return xt(function(t,n){e.current||Ot(!1);var r={x:t,y:n};a.updateDroppableScroll(l.id,r)})},[l.id,a]),d=it(function(){var t=e.current;return t&&t.env.closestScrollable?Io(t.env.closestScrollable):Dt},[]),h=it(function(){var t=d();u(t.x,t.y)},[d,u]),f=ot(function(){return wt(h)},[h]),p=it(function(){var t=e.current,n=Wo(t);t&&n||Ot(!1),t.scrollOptions.shouldPublishImmediately?h():f()},[f,h]),g=it(function(t,r){e.current&&Ot(!1);var o=s.current,i=o.getDroppableRef();i||Ot(!1);var a=Bo(i),c={ref:i,descriptor:l,env:a,scrollOptions:r};e.current=c;var u=Fo({ref:i,descriptor:l,env:a,windowScroll:t,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=a.closestScrollable;return d&&(d.setAttribute(Lr.contextId,n.contextId),d.addEventListener("scroll",p,qo(c.scrollOptions))),u},[n.contextId,l,p,s]),m=it(function(){var t=e.current,n=Wo(t);return t&&n||Ot(!1),Io(n)},[]),v=it(function(){var t=e.current;t||Ot(!1);var n=Wo(t);e.current=null,n&&(f.cancel(),n.removeAttribute(Lr.contextId),n.removeEventListener("scroll",p,qo(t.scrollOptions)))},[p,f]),y=it(function(t){var n=e.current;n||Ot(!1);var r=Wo(n);r||Ot(!1),r.scrollTop+=t.y,r.scrollLeft+=t.x},[]),b=ot(function(){return{getDimensionAndWatchScroll:g,getScrollWhileDragging:m,dragStopped:v,scroll:y}},[v,g,m,y]),x=ot(function(){return{uniqueId:o,descriptor:l,callbacks:b}},[b,l,o]);Ir(function(){return c.current=x.descriptor,i.droppable.register(x),function(){e.current&&v(),i.droppable.unregister(x)}},[b,l,v,x,a,i.droppable]),Ir(function(){e.current&&a.updateDroppableIsEnabled(c.current.id,!t.isDropDisabled)},[t.isDropDisabled,a]),Ir(function(){e.current&&a.updateDroppableIsCombineEnabled(c.current.id,t.isCombineEnabled)},[t.isCombineEnabled,a])}({droppableId:l,type:c,mode:u,direction:d,isDropDisabled:f,isCombineEnabled:p,ignoreContainerClipping:h,getDroppableRef:b});var A=r.createElement(Qo,{on:t.placeholder,shouldAnimate:t.shouldAnimatePlaceholder},function(t){var e=t.onClose,o=t.data,i=t.animate;return r.createElement($o,{placeholder:o,onClose:e,innerRef:w,animate:i,contextId:n,onTransitionEnd:k})}),_=ot(function(){return{innerRef:x,placeholder:A,droppableProps:{"data-rbd-droppable-id":l,"data-rbd-droppable-context-id":n}}},[n,l,A,x]),S=m?m.dragging.draggableId:null,C=ot(function(){return{droppableId:l,type:c,isUsingCloneFor:S}},[l,S,c]);return r.createElement(Xo.Provider,{value:C},s(_,g),function(){if(!m)return null;var t=m.dragging,e=m.render,n=r.createElement(di,{draggableId:t.draggableId,index:t.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},function(n,r){return e(n,r,t)});return nt.createPortal(n,y())}())});mi.defaultProps=gi},3892:t=>{t.exports=function(t){return this.__data__.has(t)}},4069:(t,e,n)=>{"use strict";n.d(e,{v:()=>v});var r=n(89379),o=n(80045),i=n(80940),a=n(43194),s=n(90221),l=n(12980),c=n(43464),u=n(86219),d=n(77402),h=n(48952),f=n(65043),p=n(73635),g=n(55814);const m=["defaultChecked","isChecked","isFocusable","onChange","isIndeterminate","name","value","tabIndex","aria-label","aria-labelledby","aria-invalid"];function v(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=(0,p.v)(t),{isDisabled:n,isReadOnly:v,isRequired:b,isInvalid:x,id:w,onBlur:k,onFocus:A,"aria-describedby":_}=e,{defaultChecked:S,isChecked:C,isFocusable:E,onChange:O,isIndeterminate:P,name:M,value:T,tabIndex:N,"aria-label":R,"aria-labelledby":L,"aria-invalid":D}=t,j=(0,o.A)(t,m),I=(0,d.c)(j,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),z=(0,i.c)(O),B=(0,i.c)(k),F=(0,i.c)(A),[H,V]=(0,f.useState)(!1),[q,U]=(0,f.useState)(!1),[W,G]=(0,f.useState)(!1),Y=(0,f.useRef)(!1);(0,f.useEffect)(()=>(0,h.Yy)(t=>{Y.current=t}),[]);const K=(0,f.useRef)(null),[$,X]=(0,f.useState)(!0),[Q,Z]=(0,f.useState)(!!S),J=void 0!==C,tt=J?C:Q,et=(0,f.useCallback)(t=>{v||n?t.preventDefault():(J||Z(tt?t.currentTarget.checked:!!P||t.currentTarget.checked),null===z||void 0===z||z(t))},[v,n,tt,J,P,z]);(0,s.U)(()=>{K.current&&(K.current.indeterminate=Boolean(P))},[P]),(0,l.w)(()=>{n&&V(!1)},[n,V]),(0,s.U)(()=>{const t=K.current;if(null===t||void 0===t||!t.form)return;const e=()=>{Z(!!S)};return t.form.addEventListener("reset",e),()=>{var n;return null===(n=t.form)||void 0===n?void 0:n.removeEventListener("reset",e)}},[]);const nt=n&&!E,rt=(0,f.useCallback)(t=>{" "===t.key&&G(!0)},[G]),ot=(0,f.useCallback)(t=>{" "===t.key&&G(!1)},[G]);(0,s.U)(()=>{if(!K.current)return;K.current.checked!==tt&&Z(K.current.checked)},[K.current]);const it=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,"data-active":(0,c.s)(W),"data-hover":(0,c.s)(q),"data-checked":(0,c.s)(tt),"data-focus":(0,c.s)(H),"data-focus-visible":(0,c.s)(H&&Y.current),"data-indeterminate":(0,c.s)(P),"data-disabled":(0,c.s)(n),"data-invalid":(0,c.s)(x),"data-readonly":(0,c.s)(v),"aria-hidden":!0,onMouseDown:(0,u.H)(t.onMouseDown,t=>{H&&t.preventDefault(),G(!0)}),onMouseUp:(0,u.H)(t.onMouseUp,()=>G(!1)),onMouseEnter:(0,u.H)(t.onMouseEnter,()=>U(!0)),onMouseLeave:(0,u.H)(t.onMouseLeave,()=>U(!1))})},[W,tt,n,H,q,P,x,v]),at=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,"data-active":(0,c.s)(W),"data-hover":(0,c.s)(q),"data-checked":(0,c.s)(tt),"data-focus":(0,c.s)(H),"data-focus-visible":(0,c.s)(H&&Y.current),"data-indeterminate":(0,c.s)(P),"data-disabled":(0,c.s)(n),"data-invalid":(0,c.s)(x),"data-readonly":(0,c.s)(v)})},[W,tt,n,H,q,P,x,v]),st=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)((0,r.A)({},I),t),{},{ref:(0,a.Px)(e,t=>{t&&X("LABEL"===t.tagName)}),onClick:(0,u.H)(t.onClick,()=>{var t;$||(null===(t=K.current)||void 0===t||t.click(),requestAnimationFrame(()=>{var t;null===(t=K.current)||void 0===t||t.focus({preventScroll:!0})}))}),"data-disabled":(0,c.s)(n),"data-checked":(0,c.s)(tt),"data-invalid":(0,c.s)(x)})},[I,n,tt,x,$]),lt=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:(0,a.Px)(K,e),type:"checkbox",name:M,value:T,id:w,tabIndex:N,onChange:(0,u.H)(t.onChange,et),onBlur:(0,u.H)(t.onBlur,B,()=>V(!1)),onFocus:(0,u.H)(t.onFocus,F,()=>V(!0)),onKeyDown:(0,u.H)(t.onKeyDown,rt),onKeyUp:(0,u.H)(t.onKeyUp,ot),required:b,checked:tt,disabled:nt,readOnly:v,"aria-label":R,"aria-labelledby":L,"aria-invalid":D?Boolean(D):x,"aria-describedby":_,"aria-disabled":n,"aria-checked":P?"mixed":tt,style:g.f})},[M,T,w,N,et,B,F,rt,ot,b,tt,nt,v,R,L,D,x,_,n,P]),ct=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,onMouseDown:(0,u.H)(t.onMouseDown,y),"data-disabled":(0,c.s)(n),"data-checked":(0,c.s)(tt),"data-invalid":(0,c.s)(x)})},[tt,n,x]);return{state:{isInvalid:x,isFocused:H,isChecked:tt,isActive:W,isHovered:q,isIndeterminate:P,isDisabled:n,isReadOnly:v,isRequired:b},getRootProps:st,getCheckboxProps:it,getIndicatorProps:at,getInputProps:lt,getLabelProps:ct,htmlProps:I}}function y(t){t.preventDefault(),t.stopPropagation()}},4178:(t,e,n)=>{"use strict";n.d(e,{e:()=>a});var r=n(66981),o=n(71562),i=n(66465);function a(t,e){return(0,i.r)(t,(0,r.f)((0,o.A)((null===e||void 0===e?void 0:e.in)||t),1),e)}},4262:(t,e,n)=>{var r=n(48895),o=n(54052);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4875:(t,e,n)=>{"use strict";n.d(e,{C:()=>r});const r=(0,n(14010).w)({displayName:"CheckCircleIcon",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})},5371:(t,e,n)=>{"use strict";n.d(e,{s:()=>c});var r=n(89379),o=n(80045),i=n(70579),a=n(55003),s=n(52695);const l=["direction","align","justify","wrap","basis","grow","shrink"],c=(0,a.R)(function(t,e){const{direction:n,align:a,justify:c,wrap:u,basis:d,grow:h,shrink:f}=t,p=(0,o.A)(t,l),g={display:"flex",flexDirection:n,alignItems:a,justifyContent:c,flexWrap:u,flexBasis:d,flexGrow:h,flexShrink:f};return(0,i.jsx)(s.B.div,(0,r.A)({ref:e,__css:g},p))});c.displayName="Flex"},5538:(t,e,n)=>{var r=n(97160),o=n(84545),i=n(10793),a=n(27760),s=n(3892),l=n(76788);function c(t){var e=this.__data__=new r(t);this.size=e.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,t.exports=c},5874:(t,e,n)=>{"use strict";n.d(e,{D:()=>r});const r=(0,n(14010).w)({displayName:"ChevronDownIcon",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})},6058:(t,e,n)=>{"use strict";n.d(e,{N1:()=>m,nu:()=>y,yP:()=>v});var r=n(80045),o=n(89379),i=n(65043),a=n(461);const s=["height","width","redraw","datasetIdKey","type","data","options","plugins","fallbackContent","updateMode"],l="label";function c(t,e){"function"===typeof t?t(e):t&&(t.current=e)}function u(t,e){t.labels=e}function d(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;const r=[];t.datasets=e.map(e=>{const i=t.datasets.find(t=>t[n]===e[n]);return i&&e.data&&!r.includes(i)?(r.push(i),Object.assign(i,e),i):(0,o.A)({},e)})}function h(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;const n={labels:[],datasets:[]};return u(n,t.labels),d(n,t.datasets,e),n}function f(t,e){const{height:n=150,width:l=300,redraw:f=!1,datasetIdKey:p,type:g,data:m,options:v,plugins:y=[],fallbackContent:b,updateMode:x}=t,w=(0,r.A)(t,s),k=(0,i.useRef)(null),A=(0,i.useRef)(),_=()=>{k.current&&(A.current=new a.t1(k.current,{type:g,data:h(m,p),options:v&&(0,o.A)({},v),plugins:y}),c(e,A.current))},S=()=>{c(e,null),A.current&&(A.current.destroy(),A.current=null)};return(0,i.useEffect)(()=>{!f&&A.current&&v&&function(t,e){const n=t.options;n&&e&&Object.assign(n,e)}(A.current,v)},[f,v]),(0,i.useEffect)(()=>{!f&&A.current&&u(A.current.config.data,m.labels)},[f,m.labels]),(0,i.useEffect)(()=>{!f&&A.current&&m.datasets&&d(A.current.config.data,m.datasets,p)},[f,m.datasets]),(0,i.useEffect)(()=>{A.current&&(f?(S(),setTimeout(_)):A.current.update(x))},[f,v,m.labels,m.datasets,x]),(0,i.useEffect)(()=>{A.current&&(S(),setTimeout(_))},[g]),(0,i.useEffect)(()=>(_(),()=>S()),[]),i.createElement("canvas",Object.assign({ref:k,role:"img",height:n,width:l},w),b)}const p=(0,i.forwardRef)(f);function g(t,e){return a.t1.register(e),(0,i.forwardRef)((e,n)=>i.createElement(p,Object.assign({},e,{ref:n,type:t})))}const m=g("line",a.ZT),v=g("bar",a.A6),y=g("doughnut",a.ju)},6175:(t,e,n)=>{"use strict";n.d(e,{cs:()=>d});const r={lessThanXSeconds:{one:{regular:"m\xe9n\u011b ne\u017e 1 sekunda",past:"p\u0159ed m\xe9n\u011b ne\u017e 1 sekundou",future:"za m\xe9n\u011b ne\u017e 1 sekundu"},few:{regular:"m\xe9n\u011b ne\u017e {{count}} sekundy",past:"p\u0159ed m\xe9n\u011b ne\u017e {{count}} sekundami",future:"za m\xe9n\u011b ne\u017e {{count}} sekundy"},many:{regular:"m\xe9n\u011b ne\u017e {{count}} sekund",past:"p\u0159ed m\xe9n\u011b ne\u017e {{count}} sekundami",future:"za m\xe9n\u011b ne\u017e {{count}} sekund"}},xSeconds:{one:{regular:"1 sekunda",past:"p\u0159ed 1 sekundou",future:"za 1 sekundu"},few:{regular:"{{count}} sekundy",past:"p\u0159ed {{count}} sekundami",future:"za {{count}} sekundy"},many:{regular:"{{count}} sekund",past:"p\u0159ed {{count}} sekundami",future:"za {{count}} sekund"}},halfAMinute:{type:"other",other:{regular:"p\u016fl minuty",past:"p\u0159ed p\u016fl minutou",future:"za p\u016fl minuty"}},lessThanXMinutes:{one:{regular:"m\xe9n\u011b ne\u017e 1 minuta",past:"p\u0159ed m\xe9n\u011b ne\u017e 1 minutou",future:"za m\xe9n\u011b ne\u017e 1 minutu"},few:{regular:"m\xe9n\u011b ne\u017e {{count}} minuty",past:"p\u0159ed m\xe9n\u011b ne\u017e {{count}} minutami",future:"za m\xe9n\u011b ne\u017e {{count}} minuty"},many:{regular:"m\xe9n\u011b ne\u017e {{count}} minut",past:"p\u0159ed m\xe9n\u011b ne\u017e {{count}} minutami",future:"za m\xe9n\u011b ne\u017e {{count}} minut"}},xMinutes:{one:{regular:"1 minuta",past:"p\u0159ed 1 minutou",future:"za 1 minutu"},few:{regular:"{{count}} minuty",past:"p\u0159ed {{count}} minutami",future:"za {{count}} minuty"},many:{regular:"{{count}} minut",past:"p\u0159ed {{count}} minutami",future:"za {{count}} minut"}},aboutXHours:{one:{regular:"p\u0159ibli\u017en\u011b 1 hodina",past:"p\u0159ibli\u017en\u011b p\u0159ed 1 hodinou",future:"p\u0159ibli\u017en\u011b za 1 hodinu"},few:{regular:"p\u0159ibli\u017en\u011b {{count}} hodiny",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} hodinami",future:"p\u0159ibli\u017en\u011b za {{count}} hodiny"},many:{regular:"p\u0159ibli\u017en\u011b {{count}} hodin",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} hodinami",future:"p\u0159ibli\u017en\u011b za {{count}} hodin"}},xHours:{one:{regular:"1 hodina",past:"p\u0159ed 1 hodinou",future:"za 1 hodinu"},few:{regular:"{{count}} hodiny",past:"p\u0159ed {{count}} hodinami",future:"za {{count}} hodiny"},many:{regular:"{{count}} hodin",past:"p\u0159ed {{count}} hodinami",future:"za {{count}} hodin"}},xDays:{one:{regular:"1 den",past:"p\u0159ed 1 dnem",future:"za 1 den"},few:{regular:"{{count}} dny",past:"p\u0159ed {{count}} dny",future:"za {{count}} dny"},many:{regular:"{{count}} dn\xed",past:"p\u0159ed {{count}} dny",future:"za {{count}} dn\xed"}},aboutXWeeks:{one:{regular:"p\u0159ibli\u017en\u011b 1 t\xfdden",past:"p\u0159ibli\u017en\u011b p\u0159ed 1 t\xfddnem",future:"p\u0159ibli\u017en\u011b za 1 t\xfdden"},few:{regular:"p\u0159ibli\u017en\u011b {{count}} t\xfddny",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} t\xfddny",future:"p\u0159ibli\u017en\u011b za {{count}} t\xfddny"},many:{regular:"p\u0159ibli\u017en\u011b {{count}} t\xfddn\u016f",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} t\xfddny",future:"p\u0159ibli\u017en\u011b za {{count}} t\xfddn\u016f"}},xWeeks:{one:{regular:"1 t\xfdden",past:"p\u0159ed 1 t\xfddnem",future:"za 1 t\xfdden"},few:{regular:"{{count}} t\xfddny",past:"p\u0159ed {{count}} t\xfddny",future:"za {{count}} t\xfddny"},many:{regular:"{{count}} t\xfddn\u016f",past:"p\u0159ed {{count}} t\xfddny",future:"za {{count}} t\xfddn\u016f"}},aboutXMonths:{one:{regular:"p\u0159ibli\u017en\u011b 1 m\u011bs\xedc",past:"p\u0159ibli\u017en\u011b p\u0159ed 1 m\u011bs\xedcem",future:"p\u0159ibli\u017en\u011b za 1 m\u011bs\xedc"},few:{regular:"p\u0159ibli\u017en\u011b {{count}} m\u011bs\xedce",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} m\u011bs\xedci",future:"p\u0159ibli\u017en\u011b za {{count}} m\u011bs\xedce"},many:{regular:"p\u0159ibli\u017en\u011b {{count}} m\u011bs\xedc\u016f",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} m\u011bs\xedci",future:"p\u0159ibli\u017en\u011b za {{count}} m\u011bs\xedc\u016f"}},xMonths:{one:{regular:"1 m\u011bs\xedc",past:"p\u0159ed 1 m\u011bs\xedcem",future:"za 1 m\u011bs\xedc"},few:{regular:"{{count}} m\u011bs\xedce",past:"p\u0159ed {{count}} m\u011bs\xedci",future:"za {{count}} m\u011bs\xedce"},many:{regular:"{{count}} m\u011bs\xedc\u016f",past:"p\u0159ed {{count}} m\u011bs\xedci",future:"za {{count}} m\u011bs\xedc\u016f"}},aboutXYears:{one:{regular:"p\u0159ibli\u017en\u011b 1 rok",past:"p\u0159ibli\u017en\u011b p\u0159ed 1 rokem",future:"p\u0159ibli\u017en\u011b za 1 rok"},few:{regular:"p\u0159ibli\u017en\u011b {{count}} roky",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} roky",future:"p\u0159ibli\u017en\u011b za {{count}} roky"},many:{regular:"p\u0159ibli\u017en\u011b {{count}} rok\u016f",past:"p\u0159ibli\u017en\u011b p\u0159ed {{count}} roky",future:"p\u0159ibli\u017en\u011b za {{count}} rok\u016f"}},xYears:{one:{regular:"1 rok",past:"p\u0159ed 1 rokem",future:"za 1 rok"},few:{regular:"{{count}} roky",past:"p\u0159ed {{count}} roky",future:"za {{count}} roky"},many:{regular:"{{count}} rok\u016f",past:"p\u0159ed {{count}} roky",future:"za {{count}} rok\u016f"}},overXYears:{one:{regular:"v\xedce ne\u017e 1 rok",past:"p\u0159ed v\xedce ne\u017e 1 rokem",future:"za v\xedce ne\u017e 1 rok"},few:{regular:"v\xedce ne\u017e {{count}} roky",past:"p\u0159ed v\xedce ne\u017e {{count}} roky",future:"za v\xedce ne\u017e {{count}} roky"},many:{regular:"v\xedce ne\u017e {{count}} rok\u016f",past:"p\u0159ed v\xedce ne\u017e {{count}} roky",future:"za v\xedce ne\u017e {{count}} rok\u016f"}},almostXYears:{one:{regular:"skoro 1 rok",past:"skoro p\u0159ed 1 rokem",future:"skoro za 1 rok"},few:{regular:"skoro {{count}} roky",past:"skoro p\u0159ed {{count}} roky",future:"skoro za {{count}} roky"},many:{regular:"skoro {{count}} rok\u016f",past:"skoro p\u0159ed {{count}} roky",future:"skoro za {{count}} rok\u016f"}}};var o=n(77576);const i={date:(0,o.k)({formats:{full:"EEEE, d. MMMM yyyy",long:"d. MMMM yyyy",medium:"d. M. yyyy",short:"dd.MM.yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'v' {{time}}",long:"{{date}} 'v' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a=["ned\u011bli","pond\u011bl\xed","\xfater\xfd","st\u0159edu","\u010dtvrtek","p\xe1tek","sobotu"],s={lastWeek:"'posledn\xed' eeee 've' p",yesterday:"'v\u010dera v' p",today:"'dnes v' p",tomorrow:"'z\xedtra v' p",nextWeek:t=>{const e=t.getDay();return"'v "+a[e]+" o' p"},other:"P"};var l=n(9494);const c={ordinalNumber:(t,e)=>Number(t)+".",era:(0,l.o)({values:{narrow:["p\u0159. n. l.","n. l."],abbreviated:["p\u0159. n. l.","n. l."],wide:["p\u0159ed na\u0161\xedm letopo\u010dtem","na\u0161eho letopo\u010dtu"]},defaultWidth:"wide"}),quarter:(0,l.o)({values:{narrow:["1","2","3","4"],abbreviated:["1. \u010dtvrtlet\xed","2. \u010dtvrtlet\xed","3. \u010dtvrtlet\xed","4. \u010dtvrtlet\xed"],wide:["1. \u010dtvrtlet\xed","2. \u010dtvrtlet\xed","3. \u010dtvrtlet\xed","4. \u010dtvrtlet\xed"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:(0,l.o)({values:{narrow:["L","\xda","B","D","K","\u010c","\u010c","S","Z","\u0158","L","P"],abbreviated:["led","\xfano","b\u0159e","dub","kv\u011b","\u010dvn","\u010dvc","srp","z\xe1\u0159","\u0159\xedj","lis","pro"],wide:["leden","\xfanor","b\u0159ezen","duben","kv\u011bten","\u010derven","\u010dervenec","srpen","z\xe1\u0159\xed","\u0159\xedjen","listopad","prosinec"]},defaultWidth:"wide",formattingValues:{narrow:["L","\xda","B","D","K","\u010c","\u010c","S","Z","\u0158","L","P"],abbreviated:["led","\xfano","b\u0159e","dub","kv\u011b","\u010dvn","\u010dvc","srp","z\xe1\u0159","\u0159\xedj","lis","pro"],wide:["ledna","\xfanora","b\u0159ezna","dubna","kv\u011btna","\u010dervna","\u010dervence","srpna","z\xe1\u0159\xed","\u0159\xedjna","listopadu","prosince"]},defaultFormattingWidth:"wide"}),day:(0,l.o)({values:{narrow:["ne","po","\xfat","st","\u010dt","p\xe1","so"],short:["ne","po","\xfat","st","\u010dt","p\xe1","so"],abbreviated:["ned","pon","\xfate","st\u0159","\u010dtv","p\xe1t","sob"],wide:["ned\u011ble","pond\u011bl\xed","\xfater\xfd","st\u0159eda","\u010dtvrtek","p\xe1tek","sobota"]},defaultWidth:"wide"}),dayPeriod:(0,l.o)({values:{narrow:{am:"dop.",pm:"odp.",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"}},defaultWidth:"wide",formattingValues:{narrow:{am:"dop.",pm:"odp.",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"},abbreviated:{am:"dop.",pm:"odp.",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"},wide:{am:"dopoledne",pm:"odpoledne",midnight:"p\u016flnoc",noon:"poledne",morning:"r\xe1no",afternoon:"odpoledne",evening:"ve\u010der",night:"noc"}},defaultFormattingWidth:"wide"})};var u=n(28612);const d={code:"cs",formatDistance:(t,e,n)=>{let o;const i=r[t];o="other"===i.type?i.other:1===e?i.one:e>1&&e<5?i.few:i.many;const a=!0===(null===n||void 0===n?void 0:n.addSuffix),s=null===n||void 0===n?void 0:n.comparison;let l;return l=a&&-1===s?o.past:a&&1===s?o.future:o.regular,l.replace("{{count}}",String(e))},formatLong:i,formatRelative:(t,e)=>{const n=s[t];return"function"===typeof n?n(e):n},localize:c,match:{ordinalNumber:(0,n(81724).K)({matchPattern:/^(\d+)\.?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(p[\u0159r](\.|ed) Kr\.|p[\u0159r](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,abbreviated:/^(p[\u0159r](\.|ed) Kr\.|p[\u0159r](\.|ed) n\. l\.|po Kr\.|n\. l\.)/i,wide:/^(p[\u0159r](\.|ed) Kristem|p[\u0159r](\.|ed) na[\u0161s][\xedi]m letopo[\u010dc]tem|po Kristu|na[\u0161s]eho letopo[\u010dc]tu)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^p[\u0159r]/i,/^(po|n)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^[1234]\. [\u010dc]tvrtlet[\xedi]/i,wide:/^[1234]\. [\u010dc]tvrtlet[\xedi]/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:(0,u.A)({matchPatterns:{narrow:/^[l\xfaubdk\u010dcsz\u0159rlp]/i,abbreviated:/^(led|[\xfau]no|b[\u0159r]e|dub|kv[\u011be]|[\u010dc]vn|[\u010dc]vc|srp|z[\xe1a][\u0159r]|[\u0159r][\xedi]j|lis|pro)/i,wide:/^(leden|ledna|[\xfau]nora?|b[\u0159r]ezen|b[\u0159r]ezna|duben|dubna|kv[\u011be]ten|kv[\u011be]tna|[\u010dc]erven(ec|ce)?|[\u010dc]ervna|srpen|srpna|z[\xe1a][\u0159r][\xedi]|[\u0159r][\xedi]jen|[\u0159r][\xedi]jna|listopad(a|u)?|prosinec|prosince)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^l/i,/^[\xfau]/i,/^b/i,/^d/i,/^k/i,/^[\u010dc]/i,/^[\u010dc]/i,/^s/i,/^z/i,/^[\u0159r]/i,/^l/i,/^p/i],any:[/^led/i,/^[\xfau]n/i,/^b[\u0159r]e/i,/^dub/i,/^kv[\u011be]/i,/^[\u010dc]vn|[\u010dc]erven(?!\w)|[\u010dc]ervna/i,/^[\u010dc]vc|[\u010dc]erven(ec|ce)/i,/^srp/i,/^z[\xe1a][\u0159r]/i,/^[\u0159r][\xedi]j/i,/^lis/i,/^pro/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[npu\xfas\u010dps]/i,short:/^(ne|po|[\xfau]t|st|[\u010dc]t|p[\xe1a]|so)/i,abbreviated:/^(ned|pon|[\xfau]te|st[r\u0159]|[\u010dc]tv|p[\xe1a]t|sob)/i,wide:/^(ned[\u011be]le|pond[\u011be]l[\xedi]|[\xfau]ter[\xfdy]|st[\u0159r]eda|[\u010dc]tvrtek|p[\xe1a]tek|sobota)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^n/i,/^p/i,/^[\xfau]/i,/^s/i,/^[\u010dc]/i,/^p/i,/^s/i],any:[/^ne/i,/^po/i,/^[\xfau]t/i,/^st/i,/^[\u010dc]t/i,/^p[\xe1a]/i,/^so/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{any:/^dopoledne|dop\.?|odpoledne|odp\.?|p[\u016fu]lnoc|poledne|r[\xe1a]no|odpoledne|ve[\u010dc]er|(v )?noci?/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^dop/i,pm:/^odp/i,midnight:/^p[\u016fu]lnoc/i,noon:/^poledne/i,morning:/r[\xe1a]no/i,afternoon:/odpoledne/i,evening:/ve[\u010dc]er/i,night:/noc/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},6571:(t,e,n)=>{var r=n(11629),o=n(56173);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},6773:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(32041),o=n(16935);var i=n(87381),a=n(17841);function s(t,e){var n;const s=function(t){var e,n;const o=(0,r.Gv)(t)?t:{fallback:null!==t&&void 0!==t?t:"base"},s=(0,a.D)().__breakpoints.details.map(t=>{let{minMaxQuery:e,breakpoint:n}=t;return{breakpoint:n,query:e.replace("@media screen and ","")}}),l=s.map(t=>t.breakpoint===o.fallback),c=(0,i.U)(s.map(t=>t.query),{fallback:l,ssr:o.ssr});return null!==(e=null===(n=s[c.findIndex(t=>1==t)])||void 0===n?void 0:n.breakpoint)&&void 0!==e?e:o.fallback}((0,r.Gv)(e)?e:{fallback:null!==e&&void 0!==e?e:"base"}),l=(0,a.D)();if(!s)return;const c=Array.from((null===(n=l.__breakpoints)||void 0===n?void 0:n.keys)||[]);return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o.fi,r=Object.keys(t).indexOf(e);if(-1!==r)return t[e];let i=n.indexOf(e);for(;i>=0;){const e=n[i];if(t.hasOwnProperty(e)){r=i;break}i-=1}if(-1!==r)return t[n[r]]}(Array.isArray(t)?Object.fromEntries(Object.entries((0,o.a1)(t,c)).map(t=>{let[e,n]=t;return[e,n]})):t,s,c)}},7093:(t,e,n)=>{"use strict";n.d(e,{l:()=>i,m:()=>a});var r=n(90221),o=n(65043);function i(t){const{loading:e,src:n,srcSet:i,onLoad:a,onError:s,crossOrigin:l,sizes:c,ignoreFallback:u}=t,[d,h]=(0,o.useState)("pending");(0,o.useEffect)(()=>{h(n?"loading":"pending")},[n]);const f=(0,o.useRef)(null),p=(0,o.useCallback)(()=>{if(!n)return;g();const t=new Image;t.src=n,l&&(t.crossOrigin=l),i&&(t.srcset=i),c&&(t.sizes=c),e&&(t.loading=e),t.onload=t=>{g(),h("loaded"),null===a||void 0===a||a(t)},t.onerror=t=>{g(),h("failed"),null===s||void 0===s||s(t)},f.current=t},[n,l,i,c,a,s,e]),g=()=>{f.current&&(f.current.onload=null,f.current.onerror=null,f.current=null)};return(0,r.U)(()=>{if(!u)return"loading"===d&&p(),()=>{g()}},[d,p,u]),u?"loaded":d}const a=(t,e)=>"loaded"!==t&&"beforeLoadOrError"===e||"failed"===t&&"onError"===e},7104:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Download",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]])},7189:(t,e,n)=>{"use strict";n.d(e,{N:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className","isExternal"],h=(0,l.R)(function(t,e){const n=(0,c.V)("Link",t),l=(0,a.M)(t),{className:h,isExternal:f}=l,p=(0,o.A)(l,d);return(0,i.jsx)(u.B.a,(0,r.A)((0,r.A)({target:f?"_blank":void 0,rel:f?"noopener":void 0,ref:e,className:(0,s.cx)("chakra-link",h)},p),{},{__css:n}))});h.displayName="Link"},7360:(t,e,n)=>{"use strict";n.d(e,{Ap:()=>ut,hJ:()=>ft,OQ:()=>dt,hB:()=>ht});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(92970),l=n(64844),c=n(80940),u=n(17212),d=n(65043);function h(t){const e=(0,d.useRef)(null);return e.current=t,e}var f=n(12980);var p=n(44521);function g(t){return!!t.touches}function m(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return g(t)?function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";const n=t.touches[0]||t.changedTouches[0];return{x:n["".concat(e,"X")],y:n["".concat(e,"Y")]}}(t,e):function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{x:t["".concat(e,"X")],y:t["".concat(e,"Y")]}}(t,e)}function v(t){return e=>{const n=function(t){const e=(0,p.Hz)(t);return"undefined"!==typeof e.PointerEvent&&t instanceof e.PointerEvent?!("mouse"!==t.pointerType):t instanceof e.MouseEvent}(e);(!n||n&&0===e.button)&&t(e)}}function y(t,e,n,r){return function(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}(t,e,function(t){function e(e){t(e,{point:m(e)})}return arguments.length>1&&void 0!==arguments[1]&&arguments[1]?v(e):e}(n,"pointerdown"===e),r)}const b=1/60*1e3,x="undefined"!==typeof performance?()=>performance.now():()=>Date.now(),w="undefined"!==typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout(()=>t(x()),b);let k=!0,A=!1,_=!1;const S={delta:0,timestamp:0},C=["read","update","preRender","render","postRender"],E=C.reduce((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,o=!1,i=!1;const a=new WeakSet,s={schedule:function(t){const i=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&o,s=i?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&a.add(t),-1===s.indexOf(t)&&(s.push(t),i&&o&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),a.delete(t)},process:l=>{if(o)i=!0;else{if(o=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(l),a.has(r)&&(s.schedule(r),t())}o=!1,i&&(i=!1,s.process(l))}}};return s}(()=>A=!0),t),{}),O=C.reduce((t,e)=>{const n=E[e];return t[e]=function(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return A||N(),n.schedule(t,e,r)},t},{}),P=C.reduce((t,e)=>(t[e]=E[e].cancel,t),{}),M=(C.reduce((t,e)=>(t[e]=()=>E[e].process(S),t),{}),t=>E[t].process(S)),T=t=>{A=!1,S.delta=k?b:Math.max(Math.min(t-S.timestamp,40),1),S.timestamp=t,_=!0,C.forEach(M),_=!1,A&&(k=!1,w(T))},N=()=>{A=!0,k=!0,_||w(T)},R=()=>S,L=O;var D=Object.defineProperty,j=(t,e,n)=>(((t,e,n)=>{e in t?D(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!==typeof e?e+"":e,n),n);class I{constructor(t,e,n){var r;if(j(this,"history",[]),j(this,"startEvent",null),j(this,"lastEvent",null),j(this,"lastEventInfo",null),j(this,"handlers",{}),j(this,"removeListeners",()=>{}),j(this,"threshold",3),j(this,"win"),j(this,"updatePoint",()=>{if(!this.lastEvent||!this.lastEventInfo)return;const t=B(this.lastEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){if("number"===typeof t&&"number"===typeof e)return V(t,e);if(q(t)&&q(e)){const n=V(t.x,e.x),r=V(t.y,e.y);return Math.sqrt(n**2+r**2)}return 0}(t.offset,{x:0,y:0})>=this.threshold;if(!e&&!n)return;const{timestamp:r}=R();this.history.push((0,o.A)((0,o.A)({},t.point),{},{timestamp:r}));const{onStart:i,onMove:a}=this.handlers;e||(null===i||void 0===i||i(this.lastEvent,t),this.startEvent=this.lastEvent),null===a||void 0===a||a(this.lastEvent,t)}),j(this,"onPointerMove",(t,e)=>{this.lastEvent=t,this.lastEventInfo=e,L.update(this.updatePoint,!0)}),j(this,"onPointerUp",(t,e)=>{const n=B(e,this.history),{onEnd:r,onSessionEnd:o}=this.handlers;null===o||void 0===o||o(t,n),this.end(),r&&this.startEvent&&(null===r||void 0===r||r(t,n))}),this.win=null!==(r=t.view)&&void 0!==r?r:window,function(t){return g(t)&&t.touches.length>1}(t))return;this.handlers=e,n&&(this.threshold=n),t.stopPropagation(),t.preventDefault();const i={point:m(t)},{timestamp:a}=R();this.history=[(0,o.A)((0,o.A)({},i.point),{},{timestamp:a})];const{onSessionStart:s}=e;null===s||void 0===s||s(t,B(i,this.history)),this.removeListeners=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return t=>e.reduce((t,e)=>e(t),t)}(y(this.win,"pointermove",this.onPointerMove),y(this.win,"pointerup",this.onPointerUp),y(this.win,"pointercancel",this.onPointerUp))}updateHandlers(t){this.handlers=t}end(){var t;null===(t=this.removeListeners)||void 0===t||t.call(this),P.update(this.updatePoint)}}function z(t,e){return{x:t.x-e.x,y:t.y-e.y}}function B(t,e){return{point:t.point,delta:z(t.point,e[e.length-1]),offset:z(t.point,e[0]),velocity:H(e,.1)}}const F=t=>1e3*t;function H(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const o=t[t.length-1];for(;n>=0&&(r=t[n],!(o.timestamp-r.timestamp>F(e)));)n--;if(!r)return{x:0,y:0};const i=(o.timestamp-r.timestamp)/1e3;if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function V(t,e){return Math.abs(t-e)}function q(t){return"x"in t&&"y"in t}var U=n(43194);function W(t,e){let n=function(t){const e=parseFloat(t);return"number"!==typeof e||Number.isNaN(e)?0:e}(t);const r=10**(null!==e&&void 0!==e?e:10);return n=Math.round(n*r)/r,e?n.toFixed(e):n.toString()}function G(t,e,n){return 100*(t-e)/(n-e)}function Y(t,e,n){const r=Math.round((t-e)/n)*n+e,o=function(t){if(!Number.isFinite(t))return 0;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n+=1;return n}(n);return W(r,o)}function K(t,e,n){return null==t?t:(n<e&&console.warn("clamp: max cannot be less than min"),Math.min(Math.max(t,e),n))}var $=n(43464),X=n(86219);function Q(t){const{orientation:e,vertical:n,horizontal:r}=t;return"vertical"===e?n:r}const Z=["min","max","onChange","value","defaultValue","isReversed","direction","orientation","id","isDisabled","isReadOnly","onChangeStart","onChangeEnd","step","getAriaValueText","aria-valuetext","aria-label","aria-labelledby","name","focusThumbOnChange"];function J(t){var e;const{min:n=0,max:i=100,onChange:a,value:s,defaultValue:l,isReversed:p,direction:g="ltr",orientation:m="horizontal",id:v,isDisabled:b,isReadOnly:x,onChangeStart:w,onChangeEnd:k,step:A=1,getAriaValueText:_,"aria-valuetext":S,"aria-label":C,"aria-labelledby":E,name:O,focusThumbOnChange:P=!0}=t,M=(0,r.A)(t,Z),T=(0,c.c)(w),N=(0,c.c)(k),R=(0,c.c)(_),L=function(t){const{isReversed:e,direction:n,orientation:r}=t;return"ltr"===n||"vertical"===r?e:!e}({isReversed:p,direction:g,orientation:m}),[D,j]=(0,u.i)({value:s,defaultValue:null!==l&&void 0!==l?l:tt(n,i),onChange:a}),[z,B]=(0,d.useState)(!1),[F,H]=(0,d.useState)(!1),V=!(b||x),q=(i-n)/10,W=A||(i-n)/100,J=K(D,n,i),et=G(L?i-J+n:J,n,i),nt="vertical"===m,rt=h({min:n,max:i,step:A,isDisabled:b,value:J,isInteractive:V,isReversed:L,isVertical:nt,eventSource:null,focusThumbOnChange:P,orientation:m}),ot=(0,d.useRef)(null),it=(0,d.useRef)(null),at=(0,d.useRef)(null),st=(0,d.useId)(),lt=null!==v&&void 0!==v?v:st,[ct,ut]=["slider-thumb-".concat(lt),"slider-track-".concat(lt)],dt=(0,d.useCallback)(t=>{var e,n;if(!ot.current)return;const r=rt.current;r.eventSource="pointer";const o=ot.current.getBoundingClientRect(),{clientX:i,clientY:a}=null!==(e=null===(n=t.touches)||void 0===n?void 0:n[0])&&void 0!==e?e:t;let s=(nt?o.bottom-a:i-o.left)/(nt?o.height:o.width);L&&(s=1-s);let l=function(t,e,n){return(n-e)*t+e}(s,r.min,r.max);return r.step&&(l=parseFloat(Y(l,r.min,r.step))),l=K(l,r.min,r.max),l},[nt,L,rt]),ht=(0,d.useCallback)(t=>{const e=rt.current;e.isInteractive&&(t=K(t=parseFloat(Y(t,e.min,W)),e.min,e.max),j(t))},[W,j,rt]),ft=(0,d.useMemo)(()=>({stepUp(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W;ht(L?J-t:J+t)},stepDown(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:W;ht(L?J+t:J-t)},reset(){ht(l||0)},stepTo(t){ht(t)}}),[ht,L,J,W,l]),pt=(0,d.useCallback)(t=>{const e=rt.current,n={ArrowRight:()=>ft.stepUp(),ArrowUp:()=>ft.stepUp(),ArrowLeft:()=>ft.stepDown(),ArrowDown:()=>ft.stepDown(),PageUp:()=>ft.stepUp(q),PageDown:()=>ft.stepDown(q),Home:()=>ht(e.min),End:()=>ht(e.max)}[t.key];n&&(t.preventDefault(),t.stopPropagation(),n(t),e.eventSource="keyboard")},[ft,ht,q,rt]),gt=null!==(e=null===R||void 0===R?void 0:R(J))&&void 0!==e?e:S,{getThumbStyle:mt,rootStyle:vt,trackStyle:yt,innerTrackStyle:bt}=(0,d.useMemo)(()=>{const t=rt.current;return function(t){const{orientation:e,thumbPercents:n,isReversed:r}=t,i=(0,o.A)({position:"absolute"},Q({orientation:e,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})),a=1===n.length,s=[0,r?100-n[0]:n[0]],l=a?s:n;let c=l[0];!a&&r&&(c=100-c);const u=Math.abs(l[l.length-1]-l[0]);return{trackStyle:i,innerTrackStyle:(0,o.A)((0,o.A)({},i),Q({orientation:e,vertical:r?{height:"".concat(u,"%"),top:"".concat(c,"%")}:{height:"".concat(u,"%"),bottom:"".concat(c,"%")},horizontal:r?{width:"".concat(u,"%"),right:"".concat(c,"%")}:{width:"".concat(u,"%"),left:"".concat(c,"%")}})),rootStyle:{position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0},getThumbStyle:t=>(0,o.A)({position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none"},Q({orientation:e,vertical:{bottom:"".concat(n[t],"%"),transform:"translate(-50%, 50%) scale(var(--slider-thumb-scale, 1))"},horizontal:{left:"".concat(n[t],"%"),transform:"translate(-50%, -50%) scale(var(--slider-thumb-scale, 1))"}}))}}({isReversed:L,orientation:t.orientation,thumbPercents:[et]})},[L,et,rt]),xt=(0,d.useCallback)(()=>{rt.current.focusThumbOnChange&&setTimeout(()=>{var t;return null===(t=it.current)||void 0===t?void 0:t.focus()})},[rt]);function wt(t){const e=dt(t);null!=e&&e!==rt.current.value&&j(e)}(0,f.w)(()=>{const t=rt.current;xt(),"keyboard"===t.eventSource&&(null===N||void 0===N||N(t.value))},[J,N]),function(t,e){const{onPan:n,onPanStart:r,onPanEnd:o,onPanSessionStart:i,onPanSessionEnd:a,threshold:s}=e,l=Boolean(n||r||o||i||a),c=(0,d.useRef)(null),u=h({onSessionStart:i,onSessionEnd:a,onStart:r,onMove:n,onEnd(t,e){c.current=null,null===o||void 0===o||o(t,e)}});(0,d.useEffect)(()=>{var t;null===(t=c.current)||void 0===t||t.updateHandlers(u.current)}),(0,d.useEffect)(()=>{const e=t.current;if(e&&l)return y(e,"pointerdown",function(t){c.current=new I(t,u.current,s)})},[t,l,u,s]),(0,d.useEffect)(()=>()=>{var t;null===(t=c.current)||void 0===t||t.end(),c.current=null},[])}(at,{onPanSessionStart(t){const e=rt.current;e.isInteractive&&(B(!0),xt(),wt(t),null===T||void 0===T||T(e.value))},onPanSessionEnd(){const t=rt.current;t.isInteractive&&(B(!1),null===N||void 0===N||N(t.value))},onPan(t){rt.current.isInteractive&&wt(t)}});const kt=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)((0,o.A)({},t),M),{},{ref:(0,U.Px)(e,at),tabIndex:-1,"aria-disabled":(0,$.r)(b),"data-focused":(0,$.s)(F),style:(0,o.A)((0,o.A)({},t.style),vt)})},[M,b,F,vt]),At=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:(0,U.Px)(e,ot),id:ut,"data-disabled":(0,$.s)(b),style:(0,o.A)((0,o.A)({},t.style),yt)})},[b,ut,yt]),_t=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:e,style:(0,o.A)((0,o.A)({},t.style),bt)})},[bt]),St=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:(0,U.Px)(e,it),role:"slider",tabIndex:V?0:void 0,id:ct,"data-active":(0,$.s)(z),"aria-valuetext":gt,"aria-valuemin":n,"aria-valuemax":i,"aria-valuenow":J,"aria-orientation":m,"aria-disabled":(0,$.r)(b),"aria-readonly":(0,$.r)(x),"aria-label":C,"aria-labelledby":C?void 0:E,style:(0,o.A)((0,o.A)({},t.style),mt(0)),onKeyDown:(0,X.H)(t.onKeyDown,pt),onFocus:(0,X.H)(t.onFocus,()=>H(!0)),onBlur:(0,X.H)(t.onBlur,()=>H(!1))})},[V,ct,z,gt,n,i,J,m,b,x,C,E,mt,pt]),Ct=(0,d.useCallback)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const r=!(t.value<n||t.value>i),a=J>=t.value,s=G(t.value,n,i),l=(0,o.A)({position:"absolute",pointerEvents:"none"},function(t){const{orientation:e,vertical:n,horizontal:r}=t;return"vertical"===e?n:r}({orientation:m,vertical:{bottom:"".concat(L?100-s:s,"%")},horizontal:{left:"".concat(L?100-s:s,"%")}}));return(0,o.A)((0,o.A)({},t),{},{ref:e,role:"presentation","aria-hidden":!0,"data-disabled":(0,$.s)(b),"data-invalid":(0,$.s)(!r),"data-highlighted":(0,$.s)(a),style:(0,o.A)((0,o.A)({},t.style),l)})},[b,L,i,n,m,J]),Et=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:e,type:"hidden",value:J,name:O})},[O,J]);return{state:{value:J,isFocused:F,isDragging:z},actions:ft,getRootProps:kt,getTrackProps:At,getInnerTrackProps:_t,getThumbProps:St,getMarkerProps:Ct,getInputProps:Et}}function tt(t,e){return e<t?t:t+(e-t)/2}var et=n(17841),nt=n(55003),rt=n(36059),ot=n(52695);const it=["getInputProps","getRootProps"],[at,st]=(0,s.q)({name:"SliderContext",hookName:"useSliderContext",providerName:"<Slider />"}),[lt,ct]=(0,s.q)({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:"<Slider />"}),ut=(0,nt.R)((t,e)=>{var n;const s=(0,o.A)((0,o.A)({},t),{},{orientation:null!==(n=null===t||void 0===t?void 0:t.orientation)&&void 0!==n?n:"horizontal"}),c=(0,rt.o)("Slider",s),u=(0,a.M)(s),{direction:d}=(0,et.D)();u.direction=d;const h=J(u),{getInputProps:f,getRootProps:p}=h,g=(0,r.A)(h,it),m=p(),v=f({},e);return(0,i.jsx)(at,{value:g,children:(0,i.jsx)(lt,{value:c,children:(0,i.jsxs)(ot.B.div,(0,o.A)((0,o.A)({},m),{},{className:(0,l.cx)("chakra-slider",s.className),__css:c.container,children:[s.children,(0,i.jsx)("input",(0,o.A)({},v))]}))})})});ut.displayName="Slider";const dt=(0,nt.R)((t,e)=>{const{getThumbProps:n}=st(),r=ct(),a=n(t,e);return(0,i.jsx)(ot.B.div,(0,o.A)((0,o.A)({},a),{},{className:(0,l.cx)("chakra-slider__thumb",t.className),__css:r.thumb}))});dt.displayName="SliderThumb";const ht=(0,nt.R)((t,e)=>{const{getTrackProps:n}=st(),r=ct(),a=n(t,e);return(0,i.jsx)(ot.B.div,(0,o.A)((0,o.A)({},a),{},{className:(0,l.cx)("chakra-slider__track",t.className),__css:r.track}))});ht.displayName="SliderTrack";const ft=(0,nt.R)((t,e)=>{const{getInnerTrackProps:n}=st(),r=ct(),a=n(t,e);return(0,i.jsx)(ot.B.div,(0,o.A)((0,o.A)({},a),{},{className:(0,l.cx)("chakra-slider__filled-track",t.className),__css:r.filledTrack}))});ft.displayName="SliderFilledTrack";(0,nt.R)((t,e)=>{const{getMarkerProps:n}=st(),r=ct(),a=n(t,e);return(0,i.jsx)(ot.B.div,(0,o.A)((0,o.A)({},a),{},{className:(0,l.cx)("chakra-slider__marker",t.className),__css:r.mark}))}).displayName="SliderMark"},7365:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},7547:(t,e,n)=>{"use strict";n.d(e,{$c:()=>_,Jn:()=>P,O_:()=>k,Vh:()=>S,at:()=>v,uc:()=>w,uo:()=>O});var r=n(89379),o=n(80045),i=n(17212),a=n(43194),s=n(86219),l=n(91432),c=n(92970),u=n(23107),d=n(65043),h=n(32315),f=n(56814);const p=["defaultIndex","onChange","index","isManual","isLazy","lazyBehavior","orientation","direction"],g=["isDisabled","isFocusable"],m=["children"],[v,y,b,x]=(0,h.D)();function w(t){var e;const{defaultIndex:n,onChange:r,index:a,isManual:s,isLazy:l,lazyBehavior:c="unmount",orientation:u="horizontal",direction:h="ltr"}=t,f=(0,o.A)(t,p),[g,m]=(0,d.useState)(null!==n&&void 0!==n?n:0),[v,y]=(0,i.i)({defaultValue:null!==n&&void 0!==n?n:0,value:a,onChange:r});(0,d.useEffect)(()=>{null!=a&&m(a)},[a]);const x=b(),w=(0,d.useId)(),k=null!==(e=t.id)&&void 0!==e?e:w;return{id:"tabs-".concat(k),selectedIndex:v,focusedIndex:g,setSelectedIndex:y,setFocusedIndex:m,isManual:s,isLazy:l,lazyBehavior:c,orientation:u,descendants:x,direction:h,htmlProps:f}}const[k,A]=(0,c.q)({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within <Tabs />"});function _(t){const{focusedIndex:e,orientation:n,direction:o}=A(),i=y(),a=(0,d.useCallback)(t=>{const r=()=>{var t;const n=i.nextEnabled(e);n&&(null===(t=n.node)||void 0===t||t.focus())},a=()=>{var t;const n=i.prevEnabled(e);n&&(null===(t=n.node)||void 0===t||t.focus())},s="horizontal"===n,l="vertical"===n,c=t.key,u="ltr"===o?"ArrowLeft":"ArrowRight",d="ltr"===o?"ArrowRight":"ArrowLeft",h={[u]:()=>s&&a(),[d]:()=>s&&r(),ArrowDown:()=>l&&r(),ArrowUp:()=>l&&a(),Home:()=>{var t;const e=i.firstEnabled();e&&(null===(t=e.node)||void 0===t||t.focus())},End:()=>{var t;const e=i.lastEnabled();e&&(null===(t=e.node)||void 0===t||t.focus())}}[c];h&&(t.preventDefault(),h(t))},[i,e,n,o]);return(0,r.A)((0,r.A)({},t),{},{role:"tablist","aria-orientation":n,onKeyDown:(0,s.H)(t.onKeyDown,a)})}function S(t){const{isDisabled:e=!1,isFocusable:n=!1}=t,i=(0,o.A)(t,g),{setSelectedIndex:l,isManual:c,id:u,setFocusedIndex:d,selectedIndex:h}=A(),{index:p,register:m}=x({disabled:e&&!n}),v=p===h,y=(0,f.I)((0,r.A)((0,r.A)({},i),{},{ref:(0,a.Px)(m,t.ref),isDisabled:e,isFocusable:n,onClick:(0,s.H)(t.onClick,()=>{l(p)})}));return(0,r.A)((0,r.A)({},y),{},{id:M(u,p),role:"tab",tabIndex:v?0:-1,type:"button","aria-selected":v,"aria-controls":T(u,p),onFocus:e?void 0:(0,s.H)(t.onFocus,()=>{d(p);!c&&!(e&&n)&&l(p)})})}const[C,E]=(0,c.q)({});function O(t){const e=A(),{id:n,selectedIndex:o}=e,i=(0,l.a)(t.children).map((t,e)=>{var r;return(0,d.createElement)(C,{key:null!==(r=t.key)&&void 0!==r?r:e,value:{isSelected:e===o,id:T(n,e),tabId:M(n,e),selectedIndex:o}},t)});return(0,r.A)((0,r.A)({},t),{},{children:i})}function P(t){const{children:e}=t,n=(0,o.A)(t,m),{isLazy:i,lazyBehavior:a}=A(),{isSelected:s,id:l,tabId:c}=E(),h=(0,d.useRef)(!1);s&&(h.current=!0);const f=(0,u.q)({wasSelected:h.current,isSelected:s,enabled:i,mode:a});return(0,r.A)((0,r.A)({tabIndex:0},n),{},{children:f?e:null,role:"tabpanel","aria-labelledby":c,hidden:!s,id:l})}function M(t,e){return"".concat(t,"--tab-").concat(e)}function T(t,e){return"".concat(t,"--tabpanel-").concat(e)}},8860:(t,e,n)=>{"use strict";n.d(e,{Rmk:()=>i,zIu:()=>o});var r=n(66688);function o(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M255.03 33.813c-1.834-.007-3.664-.007-5.5.03-6.73.14-13.462.605-20.155 1.344.333.166.544.32.47.438L204.78 75.063l73.907 49.437-.125.188 70.625.28L371 79.282 342.844 52c-15.866-6.796-32.493-11.776-49.47-14.78-12.65-2.24-25.497-3.36-38.343-3.407zM190.907 88.25l-73.656 36.78-13.813 98.407 51.344 33.657 94.345-43.438 14.875-76.5-73.094-48.906zm196.344.344l-21.25 44.5 36.75 72.72 62.063 38.905 11.312-21.282c.225.143.45.403.656.75-.77-4.954-1.71-9.893-2.81-14.782-6.446-28.59-18.59-55.962-35.5-79.97-9.07-12.872-19.526-24.778-31.095-35.5l-20.125-5.342zm-302.656 23c-6.906 8.045-13.257 16.56-18.938 25.5-15.676 24.664-26.44 52.494-31.437 81.312C31.783 232.446 30.714 246.73 31 261l20.25 5.094 33.03-40.5L98.75 122.53l-14.156-10.936zm312.719 112.844l-55.813 44.75-3.47 101.093 39.626 21.126 77.188-49.594 4.406-78.75-.094.157-61.844-38.783zm-140.844 6.406l-94.033 43.312-1.218 76.625 89.155 57.376 68.938-36.437 3.437-101.75-66.28-39.126zm-224.22 49.75c.91 8.436 2.29 16.816 4.156 25.094 6.445 28.59 18.62 55.96 35.532 79.968 3.873 5.5 8.02 10.805 12.374 15.938l-9.374-48.156.124-.032-27.03-68.844-15.782-3.968zm117.188 84.844l-51.532 8.156 10.125 52.094c8.577 7.49 17.707 14.332 27.314 20.437 14.612 9.287 30.332 16.88 46.687 22.594l62.626-13.69-4.344-31.124-90.875-58.47zm302.437.5l-64.22 41.25-42 47.375 4.408 6.156c12.027-5.545 23.57-12.144 34.406-19.72 23.97-16.76 44.604-38.304 60.28-62.97 2.51-3.947 4.87-7.99 7.125-12.092zm-122.78 97.656l-79.94 9.625-25.968 5.655c26.993 4 54.717 3.044 81.313-2.813 9.412-2.072 18.684-4.79 27.75-8.062l-3.156-4.406z"}}]})(t)}function i(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M93.75 81.443c-5.38 0-12.368 2.49-22.358 8.967 3.966 4.682 8.167 9.687 16.47 19.256 5.782 6.663 11.618 13.29 16.026 18.088.038.042.055.055.092.096l30.894-17.932-14.652-14.148c-11.292-9.404-18.644-13.866-25.418-14.293-.345-.022-.696-.034-1.055-.034zm120.08 15.082c-.885-.01-1.767-.006-2.643.01-10.46.193-20.2 2.23-26.742 5.424l-67.262 39.038c2.45.544 4.885 1.196 7.287 2.02 17.275 5.923 33.093 18.223 49.568 34.7l216.44 213.5 80.978-44.433L258.54 111.38c-8.656-7.84-22.49-12.908-36.693-14.394-2.677-.28-5.363-.43-8.018-.46zM58.192 102.74c-17.543 20.723-20.57 37.186-15.326 57.004.692 2.618 3.057 6.357 6.373 10.47 2.195-3.144 4.55-6.304 7.086-9.478 3.99-4.995 8.385-9.183 13.085-12.558l-.106-.2 2.768-1.61c1.354-.862 2.73-1.66 4.13-2.393l11.868-6.89c-4.175-4.618-8.94-10.017-13.803-15.622-5.956-6.864-11.732-13.62-16.074-18.723zm184.093 13.438l58.415 61.67c-46.086-5.037-56.79 13.2-69.027 34.2l-57.334-59.304 67.946-36.566zM103.702 157.23c-.714-.016-1.43-.016-2.15.002-6.976.18-14.207 2.058-22.252 5.885-3.035 2.29-5.99 5.196-8.91 8.852-25.77 32.264-30.45 59.135-25.484 83.477 4.965 24.343 20.536 46.656 37.916 66.455 13.314 15.168 28.86 23.992 48.472 27.93 19.614 3.94 43.438 2.708 71.98-3.475 33.246-7.2 66.01 8.42 95.81 27.665 26.118 16.868 50.676 37.09 70.98 49.95l8.79-18.935-217.52-214.57-.022-.022c-15.524-15.524-29.565-25.905-42.682-30.402-5.02-1.722-9.925-2.695-14.928-2.813zm367.08 210.456l-73.45 40.304-10.48 22.567 70.833-38.41 13.096-24.46z"}}]})(t)}},9043:(t,e,n)=>{"use strict";n.d(e,{E:()=>v});var r=n(89379),o=n(68664),i=n(20685),a=n(49939),s=n(87988),l=n(77264);class c extends l.k{constructor(t){super(),this.abortSignalConsumed=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.logger=t.logger||i.U,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||function(t){const e="function"===typeof t.initialData?t.initialData():t.initialData,n="undefined"!==typeof e,r=n?"function"===typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0;return{data:e,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(t){this.options=(0,r.A)((0,r.A)({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(t,e){const n=(0,o.pl)(this.state.data,t,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt,manual:null==e?void 0:e.manual}),n}setState(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})}cancel(t){var e;const n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(o.lQ).catch(o.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(t=>!1!==t.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(t=>t.getCurrentResult().isStale)}isStaleByTime(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,o.j3)(this.state.dataUpdatedAt,t)}onFocus(){var t;const e=this.observers.find(t=>t.shouldFetchOnWindowFocus());e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}onOnline(){var t;const e=this.observers.find(t=>t.shouldFetchOnReconnect());e&&e.refetch({cancelRefetch:!1}),null==(t=this.retryer)||t.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(e=>e!==t),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(t,e){var n,r;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=e&&e.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var i;return null==(i=this.retryer)||i.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){const t=this.observers.find(t=>t.options.queryFn);t&&this.setOptions(t.options)}const a=(0,o.jY)(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=t=>{Object.defineProperty(t,"signal",{enumerable:!0,get:()=>{if(a)return this.abortSignalConsumed=!0,a.signal}})};c(l);const u={fetchOptions:e,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(l)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var d;(c(u),null==(n=this.options.behavior)||n.onFetch(u),this.revertState=this.state,"idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(r=u.fetchOptions)?void 0:r.meta))&&this.dispatch({type:"fetch",meta:null==(d=u.fetchOptions)?void 0:d.meta});const h=t=>{var e,n,r,o;((0,s.wm)(t)&&t.silent||this.dispatch({type:"error",error:t}),(0,s.wm)(t))||(null==(e=(n=this.cache.config).onError)||e.call(n,t,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,t,this));this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,s.II)({fn:u.fetchFn,abort:null==a?void 0:a.abort.bind(a),onSuccess:t=>{var e,n,r,o;"undefined"!==typeof t?(this.setData(t),null==(e=(n=this.cache.config).onSuccess)||e.call(n,t,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,t,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):h(new Error(this.queryHash+" data is undefined"))},onError:h,onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(t){this.state=(e=>{var n,o;switch(t.type){case"failed":return(0,r.A)((0,r.A)({},e),{},{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return(0,r.A)((0,r.A)({},e),{},{fetchStatus:"paused"});case"continue":return(0,r.A)((0,r.A)({},e),{},{fetchStatus:"fetching"});case"fetch":return(0,r.A)((0,r.A)({},e),{},{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=t.meta)?n:null,fetchStatus:(0,s.v_)(this.options.networkMode)?"fetching":"paused"},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.A)((0,r.A)({},e),{},{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(o=t.dataUpdatedAt)?o:Date.now(),error:null,isInvalidated:!1,status:"success"},!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const i=t.error;return(0,s.wm)(i)&&i.revert&&this.revertState?(0,r.A)((0,r.A)({},this.revertState),{},{fetchStatus:"idle"}):(0,r.A)((0,r.A)({},e),{},{error:i,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"});case"invalidate":return(0,r.A)((0,r.A)({},e),{},{isInvalidated:!0});case"setState":return(0,r.A)((0,r.A)({},e),t.state)}})(this.state),a.j.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate(t)}),this.cache.notify({query:this,type:"updated",action:t})})}}var u=n(62078);class d extends u.Q{constructor(t){super(),this.config=t||{},this.queries=[],this.queriesMap={}}build(t,e,n){var r;const i=e.queryKey,a=null!=(r=e.queryHash)?r:(0,o.F$)(i,e);let s=this.get(a);return s||(s=new c({cache:this,logger:t.getLogger(),queryKey:i,queryHash:a,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(i)}),this.add(s)),s}add(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"added",query:t}))}remove(t){const e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter(e=>e!==t),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"removed",query:t}))}clear(){a.j.batch(()=>{this.queries.forEach(t=>{this.remove(t)})})}get(t){return this.queriesMap[t]}getAll(){return this.queries}find(t,e){const[n]=(0,o.b_)(t,e);return"undefined"===typeof n.exact&&(n.exact=!0),this.queries.find(t=>(0,o.MK)(n,t))}findAll(t,e){const[n]=(0,o.b_)(t,e);return Object.keys(n).length>0?this.queries.filter(t=>(0,o.MK)(n,t)):this.queries}notify(t){a.j.batch(()=>{this.listeners.forEach(e=>{let{listener:n}=e;n(t)})})}onFocus(){a.j.batch(()=>{this.queries.forEach(t=>{t.onFocus()})})}onOnline(){a.j.batch(()=>{this.queries.forEach(t=>{t.onOnline()})})}}var h=n(20116);class f extends u.Q{constructor(t){super(),this.config=t||{},this.mutations=[],this.mutationId=0}build(t,e,n){const r=new h.s({mutationCache:this,logger:t.getLogger(),mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0});return this.add(r),r}add(t){this.mutations.push(t),this.notify({type:"added",mutation:t})}remove(t){this.mutations=this.mutations.filter(e=>e!==t),this.notify({type:"removed",mutation:t})}clear(){a.j.batch(()=>{this.mutations.forEach(t=>{this.remove(t)})})}getAll(){return this.mutations}find(t){return"undefined"===typeof t.exact&&(t.exact=!0),this.mutations.find(e=>(0,o.nJ)(t,e))}findAll(t){return this.mutations.filter(e=>(0,o.nJ)(t,e))}notify(t){a.j.batch(()=>{this.listeners.forEach(e=>{let{listener:n}=e;n(t)})})}resumePausedMutations(){var t;return this.resuming=(null!=(t=this.resuming)?t:Promise.resolve()).then(()=>{const t=this.mutations.filter(t=>t.state.isPaused);return a.j.batch(()=>t.reduce((t,e)=>t.then(()=>e.continue().catch(o.lQ)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var p=n(82540),g=n(10585),m=n(17685);class v{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.queryCache=t.queryCache||new d,this.mutationCache=t.mutationCache||new f,this.logger=t.logger||i.U,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=p.m.subscribe(()=>{p.m.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=g.t.subscribe(()=>{g.t.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var t,e;this.mountCount--,0===this.mountCount&&(null==(t=this.unsubscribeFocus)||t.call(this),this.unsubscribeFocus=void 0,null==(e=this.unsubscribeOnline)||e.call(this),this.unsubscribeOnline=void 0)}isFetching(t,e){const[n]=(0,o.b_)(t,e);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(t){return this.mutationCache.findAll((0,r.A)((0,r.A)({},t),{},{fetching:!0})).length}getQueryData(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data}ensureQueryData(t,e,n){const r=(0,o.vh)(t,e,n),i=this.getQueryData(r.queryKey);return i?Promise.resolve(i):this.fetchQuery(r)}getQueriesData(t){return this.getQueryCache().findAll(t).map(t=>{let{queryKey:e,state:n}=t;return[e,n.data]})}setQueryData(t,e,n){const i=this.queryCache.find(t),a=null==i?void 0:i.state.data,s=(0,o.Zw)(e,a);if("undefined"===typeof s)return;const l=(0,o.vh)(t),c=this.defaultQueryOptions(l);return this.queryCache.build(this,c).setData(s,(0,r.A)((0,r.A)({},n),{},{manual:!0}))}setQueriesData(t,e,n){return a.j.batch(()=>this.getQueryCache().findAll(t).map(t=>{let{queryKey:r}=t;return[r,this.setQueryData(r,e,n)]}))}getQueryState(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state}removeQueries(t,e){const[n]=(0,o.b_)(t,e),r=this.queryCache;a.j.batch(()=>{r.findAll(n).forEach(t=>{r.remove(t)})})}resetQueries(t,e,n){const[i,s]=(0,o.b_)(t,e,n),l=this.queryCache,c=(0,r.A)({type:"active"},i);return a.j.batch(()=>(l.findAll(i).forEach(t=>{t.reset()}),this.refetchQueries(c,s)))}cancelQueries(t,e,n){const[r,i={}]=(0,o.b_)(t,e,n);"undefined"===typeof i.revert&&(i.revert=!0);const s=a.j.batch(()=>this.queryCache.findAll(r).map(t=>t.cancel(i)));return Promise.all(s).then(o.lQ).catch(o.lQ)}invalidateQueries(t,e,n){const[i,s]=(0,o.b_)(t,e,n);return a.j.batch(()=>{var t,e;if(this.queryCache.findAll(i).forEach(t=>{t.invalidate()}),"none"===i.refetchType)return Promise.resolve();const n=(0,r.A)((0,r.A)({},i),{},{type:null!=(t=null!=(e=i.refetchType)?e:i.type)?t:"active"});return this.refetchQueries(n,s)})}refetchQueries(t,e,n){const[i,s]=(0,o.b_)(t,e,n),l=a.j.batch(()=>this.queryCache.findAll(i).filter(t=>!t.isDisabled()).map(t=>{var e;return t.fetch(void 0,(0,r.A)((0,r.A)({},s),{},{cancelRefetch:null==(e=null==s?void 0:s.cancelRefetch)||e,meta:{refetchPage:i.refetchPage}}))}));let c=Promise.all(l).then(o.lQ);return null!=s&&s.throwOnError||(c=c.catch(o.lQ)),c}fetchQuery(t,e,n){const r=(0,o.vh)(t,e,n),i=this.defaultQueryOptions(r);"undefined"===typeof i.retry&&(i.retry=!1);const a=this.queryCache.build(this,i);return a.isStaleByTime(i.staleTime)?a.fetch(i):Promise.resolve(a.state.data)}prefetchQuery(t,e,n){return this.fetchQuery(t,e,n).then(o.lQ).catch(o.lQ)}fetchInfiniteQuery(t,e,n){const r=(0,o.vh)(t,e,n);return r.behavior=(0,m.PL)(),this.fetchQuery(r)}prefetchInfiniteQuery(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(o.lQ).catch(o.lQ)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(t){this.defaultOptions=t}setQueryDefaults(t,e){const n=this.queryDefaults.find(e=>(0,o.Od)(t)===(0,o.Od)(e.queryKey));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})}getQueryDefaults(t){if(!t)return;const e=this.queryDefaults.find(e=>(0,o.Cp)(t,e.queryKey));return null==e?void 0:e.defaultOptions}setMutationDefaults(t,e){const n=this.mutationDefaults.find(e=>(0,o.Od)(t)===(0,o.Od)(e.mutationKey));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})}getMutationDefaults(t){if(!t)return;const e=this.mutationDefaults.find(e=>(0,o.Cp)(t,e.mutationKey));return null==e?void 0:e.defaultOptions}defaultQueryOptions(t){if(null!=t&&t._defaulted)return t;const e=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},this.defaultOptions.queries),this.getQueryDefaults(null==t?void 0:t.queryKey)),t),{},{_defaulted:!0});return!e.queryHash&&e.queryKey&&(e.queryHash=(0,o.F$)(e.queryKey,e)),"undefined"===typeof e.refetchOnReconnect&&(e.refetchOnReconnect="always"!==e.networkMode),"undefined"===typeof e.useErrorBoundary&&(e.useErrorBoundary=!!e.suspense),e}defaultMutationOptions(t){return null!=t&&t._defaulted?t:(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},this.defaultOptions.mutations),this.getMutationDefaults(null==t?void 0:t.mutationKey)),t),{},{_defaulted:!0})}clear(){this.queryCache.clear(),this.mutationCache.clear()}}},9415:(t,e,n)=>{"use strict";n.d(e,{b:()=>i});var r=n(89379),o=n(1620);function i(t,e){return(0,o.k)(t,(0,r.A)((0,r.A)({},e),{},{weekStartsOn:1}))}},9463:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},9494:(t,e,n)=>{"use strict";function r(t){return(e,n)=>{let r;if("formatting"===(null!==n&&void 0!==n&&n.context?String(n.context):"standalone")&&t.formattingValues){const e=t.defaultFormattingWidth||t.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):e;r=t.formattingValues[o]||t.formattingValues[e]}else{const e=t.defaultWidth,o=null!==n&&void 0!==n&&n.width?String(n.width):t.defaultWidth;r=t.values[o]||t.values[e]}return r[t.argumentCallback?t.argumentCallback(e):e]}}n.d(e,{o:()=>r})},9674:(t,e,n)=>{"use strict";n.d(e,{t:()=>r});const r=(0,n(65043).createContext)(null)},9812:(t,e,n)=>{var r=n(56552).Symbol;t.exports=r},9855:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},9957:(t,e,n)=>{"use strict";n.d(e,{C_:()=>i,hA:()=>a,jm:()=>s,pb:()=>o});var r=n(92970);const[o,i]=(0,r.q)({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within `<Popover />`"}),[a,s]=(0,r.q)({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Popover />\" "})},10202:(t,e,n)=>{"use strict";n.d(e,{T:()=>a});var r=n(89379),o=n(70579),i=n(29904);const a=(0,n(55003).R)((t,e)=>(0,o.jsx)(i.B,(0,r.A)((0,r.A)({align:"center"},t),{},{direction:"column",ref:e})));a.displayName="VStack"},10227:(t,e,n)=>{"use strict";n.d(e,{K:()=>u});var r=n(89379),o=n(70579),i=n(64844),a=n(3109),s=n(7547),l=n(55003),c=n(52695);const u=(0,l.R)(function(t,e){const n=(0,s.Jn)((0,r.A)((0,r.A)({},t),{},{ref:e})),l=(0,a.e)();return(0,o.jsx)(c.B.div,(0,r.A)((0,r.A)({outline:"0"},n),{},{className:(0,i.cx)("chakra-tabs__tab-panel",t.className),__css:l.tabpanel}))});u.displayName="TabPanel"},10585:(t,e,n)=>{"use strict";n.d(e,{t:()=>s});var r=n(62078),o=n(68664);const i=["online","offline"];class a extends r.Q{constructor(){super(),this.setup=t=>{if(!o.S$&&window.addEventListener){const e=()=>t();return i.forEach(t=>{window.addEventListener(t,e,!1)}),()=>{i.forEach(t=>{window.removeEventListener(t,e)})}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"===typeof t?this.setOnline(t):this.onOnline()})}setOnline(t){this.online!==t&&(this.online=t,this.onOnline())}onOnline(){this.listeners.forEach(t=>{let{listener:e}=t;e()})}isOnline(){return"boolean"===typeof this.online?this.online:"undefined"===typeof navigator||"undefined"===typeof navigator.onLine||navigator.onLine}}const s=new a},10765:(t,e,n)=>{"use strict";n.d(e,{$:()=>d});var r=n(89379),o=n(80045),i=n(68664),a=n(49939),s=n(82540),l=n(62078),c=n(87988);const u=["refetchPage"];class d extends l.Q{constructor(t,e){super(),this.client=t,this.options=e,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(e)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),h(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return f(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return f(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(t,e){const n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryOptions(t),(0,i.f8)(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),"undefined"!==typeof this.options.enabled&&"boolean"!==typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const o=this.hasListeners();o&&p(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!o||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const a=this.computeRefetchInterval();!o||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)}getOptimisticResult(t){const e=this.client.getQueryCache().build(this.client,t),n=this.createResult(e,t);return function(t,e,n){if(n.keepPreviousData)return!1;if(void 0!==n.placeholderData)return e.isPlaceholderData;if(!(0,i.f8)(t.getCurrentResult(),e))return!0;return!1}(this,n,t)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(t){const e={};return Object.keys(t).forEach(n=>{Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),t[n])})}),e}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{refetchPage:e}=t,n=(0,o.A)(t,u);return this.fetch((0,r.A)((0,r.A)({},n),{},{meta:{refetchPage:e}}))}fetchOptimistic(t){const e=this.client.defaultQueryOptions(t),n=this.client.getQueryCache().build(this.client,e);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,e))}fetch(t){var e;return this.executeFetch((0,r.A)((0,r.A)({},t),{},{cancelRefetch:null==(e=t.cancelRefetch)||e})).then(()=>(this.updateResult(),this.currentResult))}executeFetch(t){this.updateQuery();let e=this.currentQuery.fetch(this.options,t);return null!=t&&t.throwOnError||(e=e.catch(i.lQ)),e}updateStaleTimeout(){if(this.clearStaleTimeout(),i.S$||this.currentResult.isStale||!(0,i.gn)(this.options.staleTime))return;const t=(0,i.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(()=>{this.currentResult.isStale||this.updateResult()},t)}computeRefetchInterval(){var t;return"function"===typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t}updateRefetchInterval(t){this.clearRefetchInterval(),this.currentRefetchInterval=t,!i.S$&&!1!==this.options.enabled&&(0,i.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(()=>{(this.options.refetchIntervalInBackground||s.m.isFocused())&&this.executeFetch()},this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(t,e){const n=this.currentQuery,r=this.options,o=this.currentResult,a=this.currentResultState,s=this.currentResultOptions,l=t!==n,u=l?t.state:this.currentQueryInitialState,d=l?this.currentResult:this.previousQueryResult,{state:f}=t;let m,{dataUpdatedAt:v,error:y,errorUpdatedAt:b,fetchStatus:x,status:w}=f,k=!1,A=!1;if(e._optimisticResults){const o=this.hasListeners(),i=!o&&h(t,e),a=o&&p(t,n,e,r);(i||a)&&(x=(0,c.v_)(t.options.networkMode)?"fetching":"paused",v||(w="loading")),"isRestoring"===e._optimisticResults&&(x="idle")}if(e.keepPreviousData&&!f.dataUpdatedAt&&null!=d&&d.isSuccess&&"error"!==w)m=d.data,v=d.dataUpdatedAt,w=d.status,k=!0;else if(e.select&&"undefined"!==typeof f.data)if(o&&f.data===(null==a?void 0:a.data)&&e.select===this.selectFn)m=this.selectResult;else try{this.selectFn=e.select,m=e.select(f.data),m=(0,i.pl)(null==o?void 0:o.data,m,e),this.selectResult=m,this.selectError=null}catch(E){0,this.selectError=E}else m=f.data;if("undefined"!==typeof e.placeholderData&&"undefined"===typeof m&&"loading"===w){let t;if(null!=o&&o.isPlaceholderData&&e.placeholderData===(null==s?void 0:s.placeholderData))t=o.data;else if(t="function"===typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&"undefined"!==typeof t)try{t=e.select(t),this.selectError=null}catch(E){0,this.selectError=E}"undefined"!==typeof t&&(w="success",m=(0,i.pl)(null==o?void 0:o.data,t,e),A=!0)}this.selectError&&(y=this.selectError,m=this.selectResult,b=Date.now(),w="error");const _="fetching"===x,S="loading"===w,C="error"===w;return{status:w,fetchStatus:x,isLoading:S,isSuccess:"success"===w,isError:C,isInitialLoading:S&&_,data:m,dataUpdatedAt:v,error:y,errorUpdatedAt:b,failureCount:f.fetchFailureCount,failureReason:f.fetchFailureReason,errorUpdateCount:f.errorUpdateCount,isFetched:f.dataUpdateCount>0||f.errorUpdateCount>0,isFetchedAfterMount:f.dataUpdateCount>u.dataUpdateCount||f.errorUpdateCount>u.errorUpdateCount,isFetching:_,isRefetching:_&&!S,isLoadingError:C&&0===f.dataUpdatedAt,isPaused:"paused"===x,isPlaceholderData:A,isPreviousData:k,isRefetchError:C&&0!==f.dataUpdatedAt,isStale:g(t,e),refetch:this.refetch,remove:this.remove}}updateResult(t){const e=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,i.f8)(n,e))return;this.currentResult=n;const o={cache:!0};!1!==(null==t?void 0:t.listeners)&&(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"===typeof t?t():t;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some(t=>{const n=t;return this.currentResult[n]!==e[n]&&r.has(n)})})()&&(o.listeners=!0),this.notify((0,r.A)((0,r.A)({},o),t))}updateQuery(){const t=this.client.getQueryCache().build(this.client,this.options);if(t===this.currentQuery)return;const e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}onQueryUpdate(t){const e={};"success"===t.type?e.onSuccess=!t.manual:"error"!==t.type||(0,c.wm)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()}notify(t){a.j.batch(()=>{var e,n,r,o;if(t.onSuccess)null==(e=(n=this.options).onSuccess)||e.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(t.onError){var i,a,s,l;null==(i=(a=this.options).onError)||i.call(a,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}t.listeners&&this.listeners.forEach(t=>{let{listener:e}=t;e(this.currentResult)}),t.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})})}}function h(t,e){return function(t,e){return!1!==e.enabled&&!t.state.dataUpdatedAt&&!("error"===t.state.status&&!1===e.retryOnMount)}(t,e)||t.state.dataUpdatedAt>0&&f(t,e,e.refetchOnMount)}function f(t,e,n){if(!1!==e.enabled){const r="function"===typeof n?n(t):n;return"always"===r||!1!==r&&g(t,e)}return!1}function p(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&g(t,n)}function g(t,e){return t.isStaleByTime(e.staleTime)}},10793:t=>{t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},10804:(t,e,n)=>{"use strict";n.d(e,{Wt:()=>g});var r=n(89379),o=n(70579),i=n(56294),a=n(92970),s=n(64844),l=n(73225),c=n(25011),u=n(55003),d=n(36059),h=n(52695);const[f,p]=(0,a.q)({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormError />\" "}),g=(0,u.R)((t,e)=>{const n=(0,d.o)("FormError",t),a=(0,i.M)(t),c=(0,l.Uc)();return null!==c&&void 0!==c&&c.isInvalid?(0,o.jsx)(f,{value:n,children:(0,o.jsx)(h.B.div,(0,r.A)((0,r.A)({},null===c||void 0===c?void 0:c.getErrorMessageProps(a,e)),{},{className:(0,s.cx)("chakra-form__error-message",t.className),__css:(0,r.A)({display:"flex",alignItems:"center"},n.text)}))}):null});g.displayName="FormErrorMessage";(0,u.R)((t,e)=>{const n=p(),i=(0,l.Uc)();if(null===i||void 0===i||!i.isInvalid)return null;const a=(0,s.cx)("chakra-form__error-icon",t.className);return(0,o.jsx)(c.I,(0,r.A)((0,r.A)({ref:e,"aria-hidden":!0},t),{},{__css:n.icon,className:a,children:(0,o.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})}))}).displayName="FormErrorIcon"},11054:(t,e,n)=>{"use strict";n.d(e,{m:()=>y});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(13729),l=n(78460),c=n(96938),u=n(65043),d=n(42615);const h=["unmountOnExit","in","className","transition","transitionEnd","delay","animatePresenceProps"],f={initial:"exit",animate:"enter",exit:"exit",variants:{enter:function(){var t;let{transition:e,transitionEnd:n,delay:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:1,transition:null!==(t=null===e||void 0===e?void 0:e.enter)&&void 0!==t?t:d.yA.enter(d.jd.enter,r),transitionEnd:null===n||void 0===n?void 0:n.enter}},exit:function(){var t;let{transition:e,transitionEnd:n,delay:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{opacity:0,transition:null!==(t=null===e||void 0===e?void 0:e.exit)&&void 0!==t?t:d.yA.exit(d.jd.exit,r),transitionEnd:null===n||void 0===n?void 0:n.exit}}}};(0,u.forwardRef)(function(t,e){const{unmountOnExit:n,in:l,className:u,transition:d,transitionEnd:p,delay:g,animatePresenceProps:m}=t,v=(0,o.A)(t,h),y=l||n?"enter":"exit",b=!n||l&&n,x={transition:d,transitionEnd:p,delay:g};return(0,i.jsx)(c.N,(0,r.A)((0,r.A)({},m),{},{custom:x,children:b&&(0,i.jsx)(s.P.div,(0,r.A)((0,r.A)({ref:e,className:(0,a.cx)("chakra-fade",u),custom:x},f),{},{animate:y},v))}))}).displayName="Fade";var p=n(52695),g=n(55003);const m=["className","transition","motionProps"],v=(0,p.B)(s.P.div),y=(0,g.R)((t,e)=>{const{className:n,transition:s,motionProps:c}=t,u=(0,o.A)(t,m),d=(0,a.cx)("chakra-modal__overlay",n),h=(0,l.x5)(),p=(0,r.A)({pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh"},h.overlay),{motionPreset:g}=(0,l.k3)(),y=c||("none"===g?{}:f);return(0,i.jsx)(v,(0,r.A)((0,r.A)({},y),{},{__css:p,ref:e,className:d},u))});y.displayName="ModalOverlay"},11100:(t,e,n)=>{"use strict";n.d(e,{q:()=>h});var r=n(68664),o=n(80045),i=n(89379),a=n(10765),s=n(17685);const l=["pageParam"],c=["pageParam"];class u extends a.${constructor(t,e){super(t,e)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(t,e){super.setOptions((0,i.A)((0,i.A)({},t),{},{behavior:(0,s.PL)()}),e)}getOptimisticResult(t){return t.behavior=(0,s.PL)(),super.getOptimisticResult(t)}fetchNextPage(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pageParam:e}=t,n=(0,o.A)(t,l);return this.fetch((0,i.A)((0,i.A)({},n),{},{meta:{fetchMore:{direction:"forward",pageParam:e}}}))}fetchPreviousPage(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{pageParam:e}=t,n=(0,o.A)(t,c);return this.fetch((0,i.A)((0,i.A)({},n),{},{meta:{fetchMore:{direction:"backward",pageParam:e}}}))}createResult(t,e){var n,r,o,a,l,c;const{state:u}=t,d=super.createResult(t,e),{isFetching:h,isRefetching:f}=d,p=h&&"forward"===(null==(n=u.fetchMeta)||null==(r=n.fetchMore)?void 0:r.direction),g=h&&"backward"===(null==(o=u.fetchMeta)||null==(a=o.fetchMore)?void 0:a.direction);return(0,i.A)((0,i.A)({},d),{},{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:(0,s.rB)(e,null==(l=u.data)?void 0:l.pages),hasPreviousPage:(0,s.RQ)(e,null==(c=u.data)?void 0:c.pages),isFetchingNextPage:p,isFetchingPreviousPage:g,isRefetching:f&&!p&&!g})}}var d=n(51129);function h(t,e,n){const o=(0,r.vh)(t,e,n);return(0,d.t)(o,u)}},11425:(t,e,n)=>{"use strict";n.d(e,{p:()=>a});var r=n(12440),o=n(9415),i=n(62316);function a(t,e){const n=(0,i.a)(t,null===e||void 0===e?void 0:e.in),a=n.getFullYear(),s=(0,r.w)(n,0);s.setFullYear(a+1,0,4),s.setHours(0,0,0,0);const l=(0,o.b)(s),c=(0,r.w)(n,0);c.setFullYear(a,0,4),c.setHours(0,0,0,0);const u=(0,o.b)(c);return n.getTime()>=l.getTime()?a+1:n.getTime()>=u.getTime()?a:a-1}},11629:(t,e,n)=>{var r=n(16913),o=n(46686);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},11844:t=>{t.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},12325:(t,e,n)=>{"use strict";n.d(e,{ym:()=>b,tE:()=>w,NU:()=>x});var r=n(89379),o=n(70579),i=n(92970),a=n(96938),s=n(65043),l=n(12980),c=n(80940);var u=n(72157),d=n(28917),h=n(13729),f=n(834),p=n(52695);const g={initial:t=>{const{position:e}=t,n=["top","bottom"].includes(e)?"y":"x";let r=["top-right","bottom-right"].includes(e)?1:-1;return"bottom"===e&&(r=1),{opacity:0,[n]:24*r}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},m=(0,s.memo)(t=>{const{id:e,message:n,onCloseComplete:i,onRequestRemove:a,requestClose:m=!1,position:v="bottom",duration:y=5e3,containerStyle:b,motionVariants:x=g,toastSpacing:w="0.5rem"}=t,[k,A]=(0,s.useState)(y),_=(0,d.tF)();(0,l.w)(()=>{_||null===i||void 0===i||i()},[_]),(0,l.w)(()=>{A(y)},[y]);const S=()=>{_&&a()};(0,s.useEffect)(()=>{_&&m&&a()},[_,m,a]),function(t,e){const n=(0,c.c)(t);(0,s.useEffect)(()=>{if(null==e)return;let t=null;return t=window.setTimeout(()=>{n()},e),()=>{t&&window.clearTimeout(t)}},[e,n])}(S,k);const C=(0,s.useMemo)(()=>(0,r.A)({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:w},b),[b,w]),E=(0,s.useMemo)(()=>(0,f.Tc)(v),[v]);return(0,o.jsx)(h.P.div,{layout:!0,className:"chakra-toast",variants:x,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>A(null),onHoverEnd:()=>A(y),custom:{position:v},style:E,children:(0,o.jsx)(p.B.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:C,children:(0,u.J)(n,{id:e,onClose:S})})})});m.displayName="ToastComponent";var v=n(60482),y=n(22205);const[b,x]=(0,i.q)({name:"ToastOptionsContext",strict:!1}),w=t=>{const e=(0,s.useSyncExternalStore)(v.Z.subscribe,v.Z.getState,v.Z.getState),{motionVariants:n,component:i=m,portalProps:l,animatePresenceProps:c}=t,u=Object.keys(e).map(t=>{const s=e[t];return(0,o.jsx)("div",{role:"region","aria-live":"polite","aria-label":"Notifications-".concat(t),id:"chakra-toast-manager-".concat(t),style:(0,f.V1)(t),children:(0,o.jsx)(a.N,(0,r.A)((0,r.A)({},c),{},{initial:!1,children:s.map(t=>(0,o.jsx)(i,(0,r.A)({motionVariants:n},t),t.id))}))},t)});return(0,o.jsx)(y.Z,(0,r.A)((0,r.A)({},l),{},{children:u}))}},12432:(t,e,n)=>{"use strict";n.d(e,{E:()=>x,T:()=>f,_:()=>d,a:()=>g,c:()=>y,h:()=>m,w:()=>h});var r=n(65043),o=n(93803),i=n(58168),a=function(t){var e=new WeakMap;return function(n){if(e.has(n))return e.get(n);var r=t(n);return e.set(n,r),r}},s=n(81722),l=n(66598),c=n(69436),u=r.createContext("undefined"!==typeof HTMLElement?(0,o.A)({key:"css"}):null),d=(u.Provider,function(){return(0,r.useContext)(u)}),h=function(t){return(0,r.forwardRef)(function(e,n){var o=(0,r.useContext)(u);return t(e,o,n)})},f=r.createContext({}),p=a(function(t){return a(function(e){return function(t,e){return"function"===typeof e?e(t):(0,i.A)({},t,e)}(t,e)})}),g=function(t){var e=r.useContext(f);return t.theme!==e&&(e=p(e)(t.theme)),r.createElement(f.Provider,{value:e},t.children)};var m={}.hasOwnProperty,v="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",y=function(t,e){var n={};for(var r in e)m.call(e,r)&&(n[r]=e[r]);return n[v]=t,n},b=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,s.SF)(e,n,r),(0,c.s)(function(){return(0,s.sk)(e,n,r)}),null},x=h(function(t,e,n){var o=t.css;"string"===typeof o&&void 0!==e.registered[o]&&(o=e.registered[o]);var i=t[v],a=[o],c="";"string"===typeof t.className?c=(0,s.Rk)(e.registered,a,t.className):null!=t.className&&(c=t.className+" ");var u=(0,l.J)(a,void 0,r.useContext(f));c+=e.key+"-"+u.name;var d={};for(var h in t)m.call(t,h)&&"css"!==h&&h!==v&&(d[h]=t[h]);return d.className=c,n&&(d.ref=n),r.createElement(r.Fragment,null,r.createElement(b,{cache:e,serialized:u,isStringTag:"string"===typeof i}),r.createElement(i,d))})},12440:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var r=n(84524);function o(t,e){return"function"===typeof t?t(e):t&&"object"===typeof t&&r._P in t?t[r._P](e):t instanceof Date?new t.constructor(e):new Date(e)}},12555:(t,e,n)=>{"use strict";n.d(e,{u:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className"],h=(0,l.R)(function(t,e){const n=(0,c.V)("Kbd",t),l=(0,a.M)(t),{className:h}=l,f=(0,o.A)(l,d);return(0,i.jsx)(u.B.kbd,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-kbd",h)},f),{},{__css:(0,r.A)({fontFamily:"mono"},n)}))});h.displayName="Kbd"},12622:(t,e,n)=>{var r=n(70705);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},12730:(t,e,n)=>{"use strict";n.d(e,{R:()=>r});const r=(0,n(14010).w)({d:"M0,12a1.5,1.5,0,0,0,1.5,1.5h8.75a.25.25,0,0,1,.25.25V22.5a1.5,1.5,0,0,0,3,0V13.75a.25.25,0,0,1,.25-.25H22.5a1.5,1.5,0,0,0,0-3H13.75a.25.25,0,0,1-.25-.25V1.5a1.5,1.5,0,0,0-3,0v8.75a.25.25,0,0,1-.25.25H1.5A1.5,1.5,0,0,0,0,12Z",displayName:"AddIcon"})},12733:(t,e,n)=>{"use strict";n.d(e,{W:()=>r});const r=(0,n(14010).w)({d:"M23.384,21.619,16.855,15.09a9.284,9.284,0,1,0-1.768,1.768l6.529,6.529a1.266,1.266,0,0,0,1.768,0A1.251,1.251,0,0,0,23.384,21.619ZM2.75,9.5a6.75,6.75,0,1,1,6.75,6.75A6.758,6.758,0,0,1,2.75,9.5Z",displayName:"SearchIcon"})},12836:(t,e,n)=>{"use strict";n.d(e,{n:()=>f});var r=n(89379),o=n(65043),i=n(68664),a=n(20116),s=n(49939),l=n(62078);class c extends l.Q{constructor(t,e){super(),this.client=t,this.setOptions(e),this.bindMethods(),this.updateResult()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){var e;const n=this.options;this.options=this.client.defaultMutationOptions(t),(0,i.f8)(n,this.options)||this.client.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.currentMutation,observer:this}),null==(e=this.currentMutation)||e.setOptions(this.options)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.currentMutation)||t.removeObserver(this))}onMutationUpdate(t){this.updateResult();const e={listeners:!0};"success"===t.type?e.onSuccess=!0:"error"===t.type&&(e.onError=!0),this.notify(e)}getCurrentResult(){return this.currentResult}reset(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})}mutate(t,e){return this.mutateOptions=e,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,r.A)((0,r.A)({},this.options),{},{variables:"undefined"!==typeof t?t:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()}updateResult(){const t=this.currentMutation?this.currentMutation.state:(0,a.$)(),e="loading"===t.status,n=(0,r.A)((0,r.A)({},t),{},{isLoading:e,isPending:e,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset});this.currentResult=n}notify(t){s.j.batch(()=>{var e,n,r,o;if(this.mutateOptions&&this.hasListeners())if(t.onSuccess)null==(e=(n=this.mutateOptions).onSuccess)||e.call(n,this.currentResult.data,this.currentResult.variables,this.currentResult.context),null==(r=(o=this.mutateOptions).onSettled)||r.call(o,this.currentResult.data,null,this.currentResult.variables,this.currentResult.context);else if(t.onError){var i,a,s,l;null==(i=(a=this.mutateOptions).onError)||i.call(a,this.currentResult.error,this.currentResult.variables,this.currentResult.context),null==(s=(l=this.mutateOptions).onSettled)||s.call(l,void 0,this.currentResult.error,this.currentResult.variables,this.currentResult.context)}t.listeners&&this.listeners.forEach(t=>{let{listener:e}=t;e(this.currentResult)})})}}var u=n(28873),d=n(59781),h=n(84084);function f(t,e,n){const a=(0,i.GR)(t,e,n),l=(0,d.jE)({context:a.context}),[f]=o.useState(()=>new c(l,a));o.useEffect(()=>{f.setOptions(a)},[f,a]);const g=(0,u.r)(o.useCallback(t=>f.subscribe(s.j.batchCalls(t)),[f]),()=>f.getCurrentResult(),()=>f.getCurrentResult()),m=o.useCallback((t,e)=>{f.mutate(t,e).catch(p)},[f]);if(g.error&&(0,h.G)(f.options.useErrorBoundary,[g.error]))throw g.error;return(0,r.A)((0,r.A)({},g),{},{mutate:m,mutateAsync:g.mutate})}function p(){}},12923:(t,e,n)=>{"use strict";n.d(e,{O:()=>s,v:()=>l});var r=n(70579),o=n(90221),i=n(65043);const a=(0,i.createContext)({getDocument:()=>document,getWindow:()=>window});function s(){let{defer:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const[,e]=(0,i.useReducer)(t=>t+1,0);return(0,o.U)(()=>{t&&e()},[t]),(0,i.useContext)(a)}function l(t){const{children:e,environment:n,disabled:o}=t,s=(0,i.useRef)(null),l=(0,i.useMemo)(()=>n||{getDocument:()=>{var t,e;return null!==(t=null===(e=s.current)||void 0===e?void 0:e.ownerDocument)&&void 0!==t?t:document},getWindow:()=>{var t,e;return null!==(t=null===(e=s.current)||void 0===e?void 0:e.ownerDocument.defaultView)&&void 0!==t?t:window}},[n]),c=!o||!n;return(0,r.jsxs)(a.Provider,{value:l,children:[e,c&&(0,r.jsx)("span",{id:"__chakra_env",hidden:!0,ref:s})]})}a.displayName="EnvironmentContext",l.displayName="EnvironmentProvider"},12980:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var r=n(65043);const o=(t,e)=>{const n=(0,r.useRef)(!1),o=(0,r.useRef)(!1);(0,r.useEffect)(()=>{if(n.current&&o.current)return t();o.current=!0},e),(0,r.useEffect)(()=>(n.current=!0,()=>{n.current=!1}),[])}},13028:t=>{t.exports=function(t,e){return function(n){return t(e(n))}}},13240:(t,e,n)=>{"use strict";n.d(e,{M:()=>i});var r=n(65043),o=n(80940);function i(t,e,n,i){const a=(0,o.c)(n);return(0,r.useEffect)(()=>{const r="function"===typeof t?t():null!==t&&void 0!==t?t:document;if(n&&r)return r.addEventListener(e,a,i),()=>{r.removeEventListener(e,a,i)}},[e,t,i,a,n]),()=>{const n="function"===typeof t?t():null!==t&&void 0!==t?t:document;null===n||void 0===n||n.removeEventListener(e,a,i)}}},13241:(t,e,n)=>{"use strict";n.d(e,{O:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"ViewOffIcon",path:(0,r.jsxs)("g",{fill:"currentColor",children:[(0,r.jsx)("path",{d:"M23.2,10.549a20.954,20.954,0,0,0-4.3-3.6l4-3.995a1,1,0,1,0-1.414-1.414l-.018.018a.737.737,0,0,1-.173.291l-19.5,19.5c-.008.007-.018.009-.026.017a1,1,0,0,0,1.631,1.088l4.146-4.146a11.26,11.26,0,0,0,4.31.939h.3c4.256,0,8.489-2.984,11.051-5.8A2.171,2.171,0,0,0,23.2,10.549ZM16.313,13.27a4.581,4.581,0,0,1-3,3.028,4.3,4.3,0,0,1-3.1-.19.253.253,0,0,1-.068-.407l5.56-5.559a.252.252,0,0,1,.407.067A4.3,4.3,0,0,1,16.313,13.27Z"}),(0,r.jsx)("path",{d:"M7.615,13.4a.244.244,0,0,0,.061-.24A4.315,4.315,0,0,1,7.5,12,4.5,4.5,0,0,1,12,7.5a4.276,4.276,0,0,1,1.16.173.244.244,0,0,0,.24-.062l1.941-1.942a.254.254,0,0,0-.1-.421A10.413,10.413,0,0,0,12,4.75C7.7,4.692,3.4,7.7.813,10.549a2.15,2.15,0,0,0-.007,2.9,21.209,21.209,0,0,0,3.438,3.03.256.256,0,0,0,.326-.029Z"})]})})},13440:(t,e,n)=>{var r=n(56552)["__core-js_shared__"];t.exports=r},13729:(t,e,n)=>{"use strict";n.d(e,{P:()=>ca});var r=n(89379),o=n(65043);const i=(0,o.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),a=(0,o.createContext)({});var s=n(9674),l=n(40293);const c=(0,o.createContext)({strict:!1}),u=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),d="data-"+u("framerAppearId");function h(t){return t&&"object"===typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function f(t){return"string"===typeof t||Array.isArray(t)}function p(t){return null!==t&&"object"===typeof t&&"function"===typeof t.start}const g=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...g];function v(t){return p(t.animate)||m.some(e=>f(t[e]))}function y(t){return Boolean(v(t)||t.variants)}function b(t){const{initial:e,animate:n}=function(t,e){if(v(t)){const{initial:e,animate:n}=t;return{initial:!1===e||f(e)?e:void 0,animate:f(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,o.useContext)(a));return(0,o.useMemo)(()=>({initial:e,animate:n}),[x(e),x(n)])}function x(t){return Array.isArray(t)?t.join(" "):t}const w={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},k={};for(const da in w)k[da]={isEnabled:t=>w[da].some(e=>!!t[e])};var A=n(14735),_=n(2190);const S=(0,o.createContext)({}),C=Symbol.for("motionComponentSymbol");function E(t){let{preloadedFeatures:e,createVisualElement:n,useRender:u,useVisualState:f,Component:p}=t;e&&function(t){for(const e in t)k[e]=(0,r.A)((0,r.A)({},k[e]),t[e])}(e);const g=(0,o.forwardRef)(function(t,g){let m;const v=(0,r.A)((0,r.A)((0,r.A)({},(0,o.useContext)(i)),t),{},{layoutId:O(t)}),{isStatic:y}=v,x=b(t),w=f(t,y);if(!y&&A.B){x.visualElement=function(t,e,n,r){const{visualElement:u}=(0,o.useContext)(a),h=(0,o.useContext)(c),f=(0,o.useContext)(s.t),p=(0,o.useContext)(i).reducedMotion,g=(0,o.useRef)();r=r||h.renderer,!g.current&&r&&(g.current=r(t,{visualState:e,parent:u,props:n,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:p}));const m=g.current;(0,o.useInsertionEffect)(()=>{m&&m.update(n,f)});const v=(0,o.useRef)(Boolean(n[d]&&!window.HandoffComplete));return(0,l.E)(()=>{m&&(m.render(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,o.useEffect)(()=>{m&&(m.updateFeatures(),!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(v.current=!1,window.HandoffComplete=!0))}),m}(p,w,v,n);const t=(0,o.useContext)(S),r=(0,o.useContext)(c).strict;x.visualElement&&(m=x.visualElement.loadFeatures(v,r,e,t))}return o.createElement(a.Provider,{value:x},m&&x.visualElement?o.createElement(m,(0,r.A)({visualElement:x.visualElement},v)):null,u(p,t,function(t,e,n){return(0,o.useCallback)(r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),n&&("function"===typeof n?n(r):h(n)&&(n.current=r))},[e])}(w,x.visualElement,g),w,y,x.visualElement))});return g[C]=p,g}function O(t){let{layoutId:e}=t;const n=(0,o.useContext)(_.L).id;return n&&void 0!==e?n+"-"+e:e}function P(t){function e(e){return E(t(e,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}))}if("undefined"===typeof Proxy)return e;const n=new Map;return new Proxy(e,{get:(t,r)=>(n.has(r)||n.set(r,e(r)),n.get(r))})}const M=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function T(t){return"string"===typeof t&&!t.includes("-")&&!!(M.indexOf(t)>-1||/[A-Z]/.test(t))}const N={};const R=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],L=new Set(R);function D(t,e){let{layout:n,layoutId:r}=e;return L.has(t)||t.startsWith("origin")||(n||void 0!==r)&&(!!N[t]||"opacity"===t)}const j=t=>Boolean(t&&t.getVelocity),I={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},z=R.length;const B=t=>e=>"string"===typeof e&&e.startsWith(t),F=B("--"),H=B("var(--"),V=(t,e)=>e&&"number"===typeof t?e.transform(t):t,q=(t,e,n)=>Math.min(Math.max(n,t),e),U={test:t=>"number"===typeof t,parse:parseFloat,transform:t=>t},W=(0,r.A)((0,r.A)({},U),{},{transform:t=>q(0,1,t)}),G=(0,r.A)((0,r.A)({},U),{},{default:1}),Y=t=>Math.round(1e5*t)/1e5,K=/(-)?([\d]*\.?[\d])+/g,$=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,X=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function Q(t){return"string"===typeof t}const Z=t=>({test:e=>Q(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),J=Z("deg"),tt=Z("%"),et=Z("px"),nt=Z("vh"),rt=Z("vw"),ot=(0,r.A)((0,r.A)({},tt),{},{parse:t=>tt.parse(t)/100,transform:t=>tt.transform(100*t)}),it=(0,r.A)((0,r.A)({},U),{},{transform:Math.round}),at={borderWidth:et,borderTopWidth:et,borderRightWidth:et,borderBottomWidth:et,borderLeftWidth:et,borderRadius:et,radius:et,borderTopLeftRadius:et,borderTopRightRadius:et,borderBottomRightRadius:et,borderBottomLeftRadius:et,width:et,maxWidth:et,height:et,maxHeight:et,size:et,top:et,right:et,bottom:et,left:et,padding:et,paddingTop:et,paddingRight:et,paddingBottom:et,paddingLeft:et,margin:et,marginTop:et,marginRight:et,marginBottom:et,marginLeft:et,rotate:J,rotateX:J,rotateY:J,rotateZ:J,scale:G,scaleX:G,scaleY:G,scaleZ:G,skew:J,skewX:J,skewY:J,distance:et,translateX:et,translateY:et,translateZ:et,x:et,y:et,z:et,perspective:et,transformPerspective:et,opacity:W,originX:ot,originY:ot,originZ:et,zIndex:it,fillOpacity:W,strokeOpacity:W,numOctaves:it};function st(t,e,n,r){const{style:o,vars:i,transform:a,transformOrigin:s}=t;let l=!1,c=!1,u=!0;for(const d in e){const t=e[d];if(F(d)){i[d]=t;continue}const n=at[d],r=V(t,n);if(L.has(d)){if(l=!0,a[d]=r,!u)continue;t!==(n.default||0)&&(u=!1)}else d.startsWith("origin")?(c=!0,s[d]=r):o[d]=r}if(e.transform||(l||r?o.transform=function(t,e,n,r){let{enableHardwareAcceleration:o=!0,allowTransformNone:i=!0}=e,a="";for(let s=0;s<z;s++){const e=R[s];void 0!==t[e]&&(a+="".concat(I[e]||e,"(").concat(t[e],") "))}return o&&!t.z&&(a+="translateZ(0)"),a=a.trim(),r?a=r(t,n?"":a):i&&n&&(a="none"),a}(t.transform,n,u,r):o.transform&&(o.transform="none")),c){const{originX:t="50%",originY:e="50%",originZ:n=0}=s;o.transformOrigin="".concat(t," ").concat(e," ").concat(n)}}const lt=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function ct(t,e,n){for(const r in e)j(e[r])||D(r,n)||(t[r]=e[r])}function ut(t,e,n){const r={};return ct(r,t.style||{},t),Object.assign(r,function(t,e,n){let{transformTemplate:r}=t;return(0,o.useMemo)(()=>{const t={style:{},transform:{},transformOrigin:{},vars:{}};return st(t,e,{enableHardwareAcceleration:!n},r),Object.assign({},t.vars,t.style)},[e])}(t,e,n)),t.transformValues?t.transformValues(r):r}function dt(t,e,n){const r={},o=ut(t,e,n);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=o,r}const ht=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ft(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||ht.has(t)}let pt=t=>!ft(t);try{(gt=require("@emotion/is-prop-valid").default)&&(pt=t=>t.startsWith("on")?!ft(t):gt(t))}catch(ua){}var gt;var mt=n(80045);function vt(t,e,n){return"string"===typeof t?t:et.transform(e+n*t)}const yt={offset:"stroke-dashoffset",array:"stroke-dasharray"},bt={offset:"strokeDashoffset",array:"strokeDasharray"};const xt=["attrX","attrY","attrScale","originX","originY","pathLength","pathSpacing","pathOffset"];function wt(t,e,n,r,o){let{attrX:i,attrY:a,attrScale:s,originX:l,originY:c,pathLength:u,pathSpacing:d=1,pathOffset:h=0}=e;if(st(t,(0,mt.A)(e,xt),n,o),r)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:f,style:p,dimensions:g}=t;f.transform&&(g&&(p.transform=f.transform),delete f.transform),g&&(void 0!==l||void 0!==c||p.transform)&&(p.transformOrigin=function(t,e,n){const r=vt(e,t.x,t.width),o=vt(n,t.y,t.height);return"".concat(r," ").concat(o)}(g,void 0!==l?l:.5,void 0!==c?c:.5)),void 0!==i&&(f.x=i),void 0!==a&&(f.y=a),void 0!==s&&(f.scale=s),void 0!==u&&function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];t.pathLength=1;const i=o?yt:bt;t[i.offset]=et.transform(-r);const a=et.transform(e),s=et.transform(n);t[i.array]="".concat(a," ").concat(s)}(f,u,d,h,!1)}const kt=()=>(0,r.A)((0,r.A)({},{style:{},transform:{},transformOrigin:{},vars:{}}),{},{attrs:{}}),At=t=>"string"===typeof t&&"svg"===t.toLowerCase();function _t(t,e,n,i){const a=(0,o.useMemo)(()=>{const n=kt();return wt(n,e,{enableHardwareAcceleration:!1},At(i),t.transformTemplate),(0,r.A)((0,r.A)({},n.attrs),{},{style:(0,r.A)({},n.style)})},[e]);if(t.style){const e={};ct(e,t.style,t),a.style=(0,r.A)((0,r.A)({},e),a.style)}return a}function St(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(e,n,i,a,s)=>{let{latestValues:l}=a;const c=(T(e)?_t:dt)(n,l,s,e),u=function(t,e,n){const r={};for(const o in t)"values"===o&&"object"===typeof t.values||(pt(o)||!0===n&&ft(o)||!e&&!ft(o)||t.draggable&&o.startsWith("onDrag"))&&(r[o]=t[o]);return r}(n,"string"===typeof e,t),d=(0,r.A)((0,r.A)((0,r.A)({},u),c),{},{ref:i}),{children:h}=n,f=(0,o.useMemo)(()=>j(h)?h.get():h,[h]);return(0,o.createElement)(e,(0,r.A)((0,r.A)({},d),{},{children:f}))}}function Ct(t,e,n,r){let{style:o,vars:i}=e;Object.assign(t.style,o,r&&r.getProjectionStyles(n));for(const a in i)t.style.setProperty(a,i[a])}const Et=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Ot(t,e,n,r){Ct(t,e,void 0,r);for(const o in e.attrs)t.setAttribute(Et.has(o)?o:u(o),e.attrs[o])}function Pt(t,e){const{style:n}=t,r={};for(const o in n)(j(n[o])||e.style&&j(e.style[o])||D(o,t))&&(r[o]=n[o]);return r}function Mt(t,e){const n=Pt(t,e);for(const r in t)if(j(t[r])||j(e[r])){n[-1!==R.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=t[r]}return n}function Tt(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return"function"===typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),"string"===typeof e&&(e=t.variants&&t.variants[e]),"function"===typeof e&&(e=e(void 0!==n?n:t.custom,r,o)),e}var Nt=n(34930);const Rt=t=>Array.isArray(t),Lt=t=>Rt(t)?t[t.length-1]||0:t;function Dt(t){const e=j(t)?t.get():t;return n=e,Boolean(n&&"object"===typeof n&&n.mix&&n.toValue)?e.toValue():e;var n}const jt=["transitionEnd","transition"];const It=t=>(e,n)=>{const r=(0,o.useContext)(a),i=(0,o.useContext)(s.t),l=()=>function(t,e,n,r){let{scrapeMotionValuesFromProps:o,createRenderState:i,onMount:a}=t;const s={latestValues:zt(e,n,r,o),renderState:i()};return a&&(s.mount=t=>a(e,t,s)),s}(t,e,r,i);return n?l():(0,Nt.M)(l)};function zt(t,e,n,r){const o={},i=r(t,{});for(const h in i)o[h]=Dt(i[h]);let{initial:a,animate:s}=t;const l=v(t),c=y(t);e&&c&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===s&&(s=e.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!==typeof d&&!p(d)){(Array.isArray(d)?d:[d]).forEach(e=>{const n=Tt(t,e);if(!n)return;const{transitionEnd:r,transition:i}=n,a=(0,mt.A)(n,jt);for(const t in a){let e=a[t];if(Array.isArray(e)){e=e[u?e.length-1:0]}null!==e&&(o[t]=e)}for(const t in r)o[t]=r[t]})}return o}var Bt=n(37065);const Ft={useVisualState:It({scrapeMotionValuesFromProps:Mt,createRenderState:kt,onMount:(t,e,n)=>{let{renderState:r,latestValues:o}=n;Bt.Gt.read(()=>{try{r.dimensions="function"===typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}}),Bt.Gt.render(()=>{wt(r,o,{enableHardwareAcceleration:!1},At(e.tagName),t.transformTemplate),Ot(e,r)})}})},Ht={useVisualState:It({scrapeMotionValuesFromProps:Pt,createRenderState:lt})};function Vt(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return t.addEventListener(e,n,r),()=>t.removeEventListener(e,n)}const qt=t=>"mouse"===t.pointerType?"number"!==typeof t.button||t.button<=0:!1!==t.isPrimary;function Ut(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"page";return{point:{x:t[e+"X"],y:t[e+"Y"]}}}function Wt(t,e,n,r){return Vt(t,e,(t=>e=>qt(e)&&t(e,Ut(e)))(n),r)}const Gt=(t,e)=>n=>e(t(n)),Yt=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.reduce(Gt)};function Kt(t){let e=null;return()=>{const n=()=>{e=null};return null===e&&(e=t,n)}}const $t=Kt("dragHorizontal"),Xt=Kt("dragVertical");function Qt(t){let e=!1;if("y"===t)e=Xt();else if("x"===t)e=$t();else{const t=$t(),n=Xt();t&&n?e=()=>{t(),n()}:(t&&t(),n&&n())}return e}function Zt(){const t=Qt(!0);return!t||(t(),!1)}class Jt{constructor(t){this.isMounted=!1,this.node=t}update(){}}function te(t,e){const n="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End");return Wt(t.current,n,(n,o)=>{if("touch"===n.pointerType||Zt())return;const i=t.getProps();t.animationState&&i.whileHover&&t.animationState.setActive("whileHover",e),i[r]&&Bt.Gt.update(()=>i[r](n,o))},{passive:!t.getProps()[r]})}const ee=(t,e)=>!!e&&(t===e||ee(t,e.parentElement));var ne=n(51892);function re(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Ut(n))}const oe=["root"],ie=new WeakMap,ae=new WeakMap,se=t=>{const e=ie.get(t.target);e&&e(t)},le=t=>{t.forEach(se)};function ce(t,e,n){const o=function(t){let{root:e}=t,n=(0,mt.A)(t,oe);const o=e||document;ae.has(o)||ae.set(o,{});const i=ae.get(o),a=JSON.stringify(n);return i[a]||(i[a]=new IntersectionObserver(le,(0,r.A)({root:e},n))),i[a]}(e);return ie.set(t,n),o.observe(t),()=>{ie.delete(t),o.unobserve(t)}}const ue={some:0,all:1};const de={inView:{Feature:class extends Jt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:r="some",once:o}=t,i={root:e?e.current:void 0,rootMargin:n,threshold:"number"===typeof r?r:ue[r]};return ce(this.node.current,i,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,o&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=e?n:r;i&&i(t)})}mount(){this.startObserver()}update(){if("undefined"===typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node,n=["amount","margin","root"].some(function(t){let{viewport:e={}}=t,{viewport:n={}}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t=>e[t]!==n[t]}(t,e));n&&this.startObserver()}unmount(){}}},tap:{Feature:class extends Jt{constructor(){super(...arguments),this.removeStartListeners=ne.l,this.removeEndListeners=ne.l,this.removeAccessibleListeners=ne.l,this.startPointerPress=(t,e)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=Wt(window,"pointerup",(t,e)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps();Bt.Gt.update(()=>{o||ee(this.node.current,t.target)?n&&n(t,e):r&&r(t,e)})},{passive:!(n.onTap||n.onPointerUp)}),o=Wt(window,"pointercancel",(t,e)=>this.cancelPress(t,e),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=Yt(r,o),this.startPress(t,e)},this.startAccessiblePress=()=>{const t=Vt(this.node.current,"keydown",t=>{if("Enter"!==t.key||this.isPressing)return;this.removeEndListeners(),this.removeEndListeners=Vt(this.node.current,"keyup",t=>{"Enter"===t.key&&this.checkPressEnd()&&re("up",(t,e)=>{const{onTap:n}=this.node.getProps();n&&Bt.Gt.update(()=>n(t,e))})}),re("down",(t,e)=>{this.startPress(t,e)})}),e=Vt(this.node.current,"blur",()=>{this.isPressing&&re("cancel",(t,e)=>this.cancelPress(t,e))});this.removeAccessibleListeners=Yt(t,e)}}startPress(t,e){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&Bt.Gt.update(()=>n(t,e))}checkPressEnd(){this.removeEndListeners(),this.isPressing=!1;return this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Zt()}cancelPress(t,e){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&Bt.Gt.update(()=>n(t,e))}mount(){const t=this.node.getProps(),e=Wt(t.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(t.onTapStart||t.onPointerStart)}),n=Vt(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=Yt(e,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends Jt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Yt(Vt(this.node.current,"focus",()=>this.onFocus()),Vt(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends Jt{mount(){this.unmount=Yt(te(this.node,!0),te(this.node,!1))}unmount(){}}}};function he(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}function fe(t,e,n){const r=t.getProps();return Tt(r,e,void 0!==n?n:r.custom,function(t){const e={};return t.values.forEach((t,n)=>e[n]=t.get()),e}(t),function(t){const e={};return t.values.forEach((t,n)=>e[n]=t.getVelocity()),e}(t))}var pe=n(58129);const ge=t=>1e3*t,me=t=>t/1e3,ve=!1,ye=t=>Array.isArray(t)&&"number"===typeof t[0];function be(t){return Boolean(!t||"string"===typeof t&&we[t]||ye(t)||Array.isArray(t)&&t.every(be))}const xe=t=>{let[e,n,r,o]=t;return"cubic-bezier(".concat(e,", ").concat(n,", ").concat(r,", ").concat(o,")")},we={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:xe([0,.65,.55,1]),circOut:xe([.55,0,1,.45]),backIn:xe([.31,.01,.66,-.59]),backOut:xe([.33,1.53,.69,.99])};function ke(t){if(t)return ye(t)?xe(t):Array.isArray(t)?t.map(ke):we[t]}const Ae=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function _e(t,e,n,r){if(t===e&&n===r)return ne.l;const o=e=>function(t,e,n,r,o){let i,a,s=0;do{a=e+(n-e)/2,i=Ae(a,r,o)-t,i>0?n=a:e=a}while(Math.abs(i)>1e-7&&++s<12);return a}(e,0,1,t,n);return t=>0===t||1===t?t:Ae(o(t),e,r)}const Se=_e(.42,0,1,1),Ce=_e(0,0,.58,1),Ee=_e(.42,0,.58,1),Oe=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Pe=t=>e=>1-t(1-e),Me=t=>1-Math.sin(Math.acos(t)),Te=Pe(Me),Ne=Oe(Me),Re=_e(.33,1.53,.69,.99),Le=Pe(Re),De=Oe(Le),je={linear:ne.l,easeIn:Se,easeInOut:Ee,easeOut:Ce,circIn:Me,circInOut:Ne,circOut:Te,backIn:Le,backInOut:De,backOut:Re,anticipate:t=>(t*=2)<1?.5*Le(t):.5*(2-Math.pow(2,-10*(t-1)))},Ie=t=>{if(Array.isArray(t)){(0,pe.V)(4===t.length,"Cubic bezier arrays must contain four numerical values.");const[e,n,r,o]=t;return _e(e,n,r,o)}return"string"===typeof t?((0,pe.V)(void 0!==je[t],"Invalid easing type '".concat(t,"'")),je[t]):t},ze=(t,e)=>n=>Boolean(Q(n)&&X.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),Be=(t,e,n)=>r=>{if(!Q(r))return r;const[o,i,a,s]=r.match(K);return{[t]:parseFloat(o),[e]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},Fe=(0,r.A)((0,r.A)({},U),{},{transform:t=>Math.round((t=>q(0,255,t))(t))}),He={test:ze("rgb","red"),parse:Be("red","green","blue"),transform:t=>{let{red:e,green:n,blue:r,alpha:o=1}=t;return"rgba("+Fe.transform(e)+", "+Fe.transform(n)+", "+Fe.transform(r)+", "+Y(W.transform(o))+")"}};const Ve={test:ze("#"),parse:function(t){let e="",n="",r="",o="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),o=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),o=t.substring(4,5),e+=e,n+=n,r+=r,o+=o),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:He.transform},qe={test:ze("hsl","hue"),parse:Be("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:r,alpha:o=1}=t;return"hsla("+Math.round(e)+", "+tt.transform(Y(n))+", "+tt.transform(Y(r))+", "+Y(W.transform(o))+")"}},Ue={test:t=>He.test(t)||Ve.test(t)||qe.test(t),parse:t=>He.test(t)?He.parse(t):qe.test(t)?qe.parse(t):Ve.parse(t),transform:t=>Q(t)?t:t.hasOwnProperty("red")?He.transform(t):qe.transform(t)},We=(t,e,n)=>-n*t+n*e+t;function Ge(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}const Ye=(t,e,n)=>{const r=t*t;return Math.sqrt(Math.max(0,n*(e*e-r)+r))},Ke=[Ve,He,qe];function $e(t){const e=(n=t,Ke.find(t=>t.test(n)));var n;(0,pe.V)(Boolean(e),"'".concat(t,"' is not an animatable color. Use the equivalent color code instead."));let r=e.parse(t);return e===qe&&(r=function(t){let{hue:e,saturation:n,lightness:r,alpha:o}=t;e/=360,n/=100,r/=100;let i=0,a=0,s=0;if(n){const t=r<.5?r*(1+n):r+n-r*n,o=2*r-t;i=Ge(o,t,e+1/3),a=Ge(o,t,e),s=Ge(o,t,e-1/3)}else i=a=s=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*s),alpha:o}}(r)),r}const Xe=(t,e)=>{const n=$e(t),o=$e(e),i=(0,r.A)({},n);return t=>(i.red=Ye(n.red,o.red,t),i.green=Ye(n.green,o.green,t),i.blue=Ye(n.blue,o.blue,t),i.alpha=We(n.alpha,o.alpha,t),He.transform(i))};const Qe={regex:/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g,countKey:"Vars",token:"${v}",parse:ne.l},Ze={regex:$,countKey:"Colors",token:"${c}",parse:Ue.parse},Je={regex:K,countKey:"Numbers",token:"${n}",parse:U.parse};function tn(t,e){let{regex:n,countKey:r,token:o,parse:i}=e;const a=t.tokenised.match(n);a&&(t["num"+r]=a.length,t.tokenised=t.tokenised.replace(n,o),t.values.push(...a.map(i)))}function en(t){const e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&tn(n,Qe),tn(n,Ze),tn(n,Je),n}function nn(t){return en(t).values}function rn(t){const{values:e,numColors:n,numVars:r,tokenised:o}=en(t),i=e.length;return t=>{let e=o;for(let o=0;o<i;o++)e=o<r?e.replace(Qe.token,t[o]):o<r+n?e.replace(Ze.token,Ue.transform(t[o])):e.replace(Je.token,Y(t[o]));return e}}const on=t=>"number"===typeof t?0:t;const an={test:function(t){var e,n;return isNaN(t)&&Q(t)&&((null===(e=t.match(K))||void 0===e?void 0:e.length)||0)+((null===(n=t.match($))||void 0===n?void 0:n.length)||0)>0},parse:nn,createTransformer:rn,getAnimatableNone:function(t){const e=nn(t);return rn(t)(e.map(on))}},sn=(t,e)=>n=>"".concat(n>0?e:t);function ln(t,e){return"number"===typeof t?n=>We(t,e,n):Ue.test(t)?Xe(t,e):t.startsWith("var(")?sn(t,e):dn(t,e)}const cn=(t,e)=>{const n=[...t],r=n.length,o=t.map((t,n)=>ln(t,e[n]));return t=>{for(let e=0;e<r;e++)n[e]=o[e](t);return n}},un=(t,e)=>{const n=(0,r.A)((0,r.A)({},t),e),o={};for(const r in n)void 0!==t[r]&&void 0!==e[r]&&(o[r]=ln(t[r],e[r]));return t=>{for(const e in o)n[e]=o[e](t);return n}},dn=(t,e)=>{const n=an.createTransformer(e),r=en(t),o=en(e);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?Yt(cn(r.values,o.values),n):((0,pe.$)(!0,"Complex values '".concat(t,"' and '").concat(e,"' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.")),sn(t,e))},hn=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r},fn=(t,e)=>n=>We(t,e,n);function pn(t,e,n){const r=[],o=n||("number"===typeof(i=t[0])?fn:"string"===typeof i?Ue.test(i)?Xe:dn:Array.isArray(i)?cn:"object"===typeof i?un:fn);var i;const a=t.length-1;for(let s=0;s<a;s++){let n=o(t[s],t[s+1]);if(e){const t=Array.isArray(e)?e[s]||ne.l:e;n=Yt(t,n)}r.push(n)}return r}function gn(t,e){let{clamp:n=!0,ease:r,mixer:o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const i=t.length;if((0,pe.V)(i===e.length,"Both input and output ranges must be the same length"),1===i)return()=>e[0];t[0]>t[i-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=pn(e,r,o),s=a.length,l=e=>{let n=0;if(s>1)for(;n<t.length-2&&!(e<t[n+1]);n++);const r=hn(t[n],t[n+1],e);return a[n](r)};return n?e=>l(q(t[0],t[i-1],e)):l}function mn(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let r=1;r<=e;r++){const o=hn(0,e,r);t.push(We(n,1,o))}}(e,t.length-1),e}function vn(t){let{duration:e=300,keyframes:n,times:r,ease:o="easeInOut"}=t;const i=(t=>Array.isArray(t)&&"number"!==typeof t[0])(o)?o.map(Ie):Ie(o),a={done:!1,value:n[0]},s=function(t,e){return t.map(t=>t*e)}(r&&r.length===n.length?r:mn(n),e),l=gn(s,n,{ease:Array.isArray(i)?i:(c=n,u=i,c.map(()=>u||Ee).splice(0,c.length-1))});var c,u;return{calculatedDuration:e,next:t=>(a.value=l(t),a.done=t>=e,a)}}function yn(t,e){return e?t*(1e3/e):0}function bn(t,e,n){const r=Math.max(e-5,0);return yn(n-t(r),e-r)}const xn=.001;function wn(t){let e,n,{duration:r=800,bounce:o=.25,velocity:i=0,mass:a=1}=t;(0,pe.$)(r<=ge(10),"Spring duration must be 10 seconds or less");let s=1-o;s=q(.05,1,s),r=q(.01,10,me(r)),s<1?(e=t=>{const e=t*s,n=e*r,o=e-i,a=An(t,s),l=Math.exp(-n);return xn-o/a*l},n=t=>{const n=t*s*r,o=n*i+i,a=Math.pow(s,2)*Math.pow(t,2)*r,l=Math.exp(-n),c=An(Math.pow(t,2),s);return(-e(t)+xn>0?-1:1)*((o-a)*l)/c}):(e=t=>Math.exp(-t*r)*((t-i)*r+1)-.001,n=t=>Math.exp(-t*r)*(r*r*(i-t)));const l=function(t,e,n){let r=n;for(let o=1;o<kn;o++)r-=t(r)/e(r);return r}(e,n,5/r);if(r=ge(r),isNaN(l))return{stiffness:100,damping:10,duration:r};{const t=Math.pow(l,2)*a;return{stiffness:t,damping:2*s*Math.sqrt(a*t),duration:r}}}const kn=12;function An(t,e){return t*Math.sqrt(1-e*e)}const _n=["keyframes","restDelta","restSpeed"],Sn=["duration","bounce"],Cn=["stiffness","damping","mass"];function En(t,e){return e.some(e=>void 0!==t[e])}function On(t){let{keyframes:e,restDelta:n,restSpeed:o}=t,i=(0,mt.A)(t,_n);const a=e[0],s=e[e.length-1],l={done:!1,value:a},{stiffness:c,damping:u,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=function(t){let e=(0,r.A)({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!En(t,Cn)&&En(t,Sn)){const n=wn(t);e=(0,r.A)((0,r.A)((0,r.A)({},e),n),{},{mass:1}),e.isResolvedFromDuration=!0}return e}((0,r.A)((0,r.A)({},i),{},{velocity:-me(i.velocity||0)})),g=f||0,m=u/(2*Math.sqrt(c*d)),v=s-a,y=me(Math.sqrt(c/d)),b=Math.abs(v)<5;let x;if(o||(o=b?.01:2),n||(n=b?.005:.5),m<1){const t=An(y,m);x=e=>{const n=Math.exp(-m*y*e);return s-n*((g+m*y*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}}else if(1===m)x=t=>s-Math.exp(-y*t)*(v+(g+y*v)*t);else{const t=y*Math.sqrt(m*m-1);x=e=>{const n=Math.exp(-m*y*e),r=Math.min(t*e,300);return s-n*((g+m*y*v)*Math.sinh(r)+t*v*Math.cosh(r))/t}}return{calculatedDuration:p&&h||null,next:t=>{const e=x(t);if(p)l.done=t>=h;else{let r=g;0!==t&&(r=m<1?bn(x,t,e):0);const i=Math.abs(r)<=o,a=Math.abs(s-e)<=n;l.done=i&&a}return l.value=l.done?s:e,l}}}function Pn(t){let{keyframes:e,velocity:n=0,power:r=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:s,min:l,max:c,restDelta:u=.5,restSpeed:d}=t;const h=e[0],f={done:!1,value:h},p=t=>void 0===l?c:void 0===c||Math.abs(l-t)<Math.abs(c-t)?l:c;let g=r*n;const m=h+g,v=void 0===s?m:s(m);v!==m&&(g=v-h);const y=t=>-g*Math.exp(-t/o),b=t=>v+y(t),x=t=>{const e=y(t),n=b(t);f.done=Math.abs(e)<=u,f.value=f.done?v:n};let w,k;const A=t=>{var e;(e=f.value,void 0!==l&&e<l||void 0!==c&&e>c)&&(w=t,k=On({keyframes:[f.value,p(f.value)],velocity:bn(b,t,f.value),damping:i,stiffness:a,restDelta:u,restSpeed:d}))};return A(0),{calculatedDuration:null,next:t=>{let e=!1;return k||void 0!==w||(e=!0,x(t),A(t)),void 0!==w&&t>w?k.next(t-w):(!e&&x(t),f)}}}const Mn=t=>{const e=e=>{let{timestamp:n}=e;return t(n)};return{start:()=>Bt.Gt.update(e,!0),stop:()=>(0,Bt.WG)(e),now:()=>Bt.uv.isProcessing?Bt.uv.timestamp:performance.now()}};function Tn(t){let e=0;let n=t.next(e);for(;!n.done&&e<2e4;)e+=50,n=t.next(e);return e>=2e4?1/0:e}const Nn=["autoplay","delay","driver","keyframes","type","repeat","repeatDelay","repeatType","onPlay","onStop","onComplete","onUpdate"],Rn={decay:Pn,inertia:Pn,tween:vn,keyframes:vn,spring:On};function Ln(t){let e,n,{autoplay:o=!0,delay:i=0,driver:a=Mn,keyframes:s,type:l="keyframes",repeat:c=0,repeatDelay:u=0,repeatType:d="loop",onPlay:h,onStop:f,onComplete:p,onUpdate:g}=t,m=(0,mt.A)(t,Nn),v=1,y=!1;const b=()=>{n=new Promise(t=>{e=t})};let x;b();const w=Rn[l]||vn;let k;w!==vn&&"number"!==typeof s[0]&&(k=gn([0,100],s,{clamp:!1}),s=[0,100]);const A=w((0,r.A)((0,r.A)({},m),{},{keyframes:s}));let _;"mirror"===d&&(_=w((0,r.A)((0,r.A)({},m),{},{keyframes:[...s].reverse(),velocity:-(m.velocity||0)})));let S="idle",C=null,E=null,O=null;null===A.calculatedDuration&&c&&(A.calculatedDuration=Tn(A));const{calculatedDuration:P}=A;let M=1/0,T=1/0;null!==P&&(M=P+u,T=M*(c+1)-u);let N=0;const R=t=>{if(null===E)return;v>0&&(E=Math.min(E,t)),v<0&&(E=Math.min(t-T/v,E)),N=null!==C?C:Math.round(t-E)*v;const e=N-i*(v>=0?1:-1),n=v>=0?e<0:e>T;N=Math.max(e,0),"finished"===S&&null===C&&(N=T);let r=N,o=A;if(c){const t=Math.min(N,T)/M;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,c+1);Boolean(e%2)&&("reverse"===d?(n=1-n,u&&(n-=u/M)):"mirror"===d&&(o=_)),r=q(0,1,n)*M}const a=n?{done:!1,value:s[0]}:o.next(r);k&&(a.value=k(a.value));let{done:l}=a;n||null===P||(l=v>=0?N>=T:N<=0);const h=null===C&&("finished"===S||"running"===S&&l);return g&&g(a.value),h&&j(),a},L=()=>{x&&x.stop(),x=void 0},D=()=>{S="idle",L(),e(),b(),E=O=null},j=()=>{S="finished",p&&p(),L(),e()},I=()=>{if(y)return;x||(x=a(R));const t=x.now();h&&h(),null!==C?E=t-C:E&&"finished"!==S||(E=t),"finished"===S&&b(),O=E,C=null,S="running",x.start()};o&&I();const z={then:(t,e)=>n.then(t,e),get time(){return me(N)},set time(t){t=ge(t),N=t,null===C&&x&&0!==v?E=x.now()-t/v:C=t},get duration(){const t=null===A.calculatedDuration?Tn(A):A.calculatedDuration;return me(t)},get speed(){return v},set speed(t){t!==v&&x&&(v=t,z.time=me(N))},get state(){return S},play:I,pause:()=>{S="paused",C=N},stop:()=>{y=!0,"idle"!==S&&(S="idle",f&&f(),D())},cancel:()=>{null!==O&&R(O),D()},complete:()=>{S="finished"},sample:t=>(E=0,R(t))};return z}const Dn=["onUpdate","onComplete"],jn=function(t){let e;return()=>(void 0===e&&(e=t()),e)}(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),In=new Set(["opacity","clipPath","filter","transform","backgroundColor"]);function zn(t,e,n){let{onUpdate:o,onComplete:i}=n,a=(0,mt.A)(n,Dn);if(!(jn()&&In.has(e)&&!a.repeatDelay&&"mirror"!==a.repeatType&&0!==a.damping&&"inertia"!==a.type))return!1;let s,l,c=!1,u=!1;const d=()=>{l=new Promise(t=>{s=t})};d();let{keyframes:h,duration:f=300,ease:p,times:g}=a;if(((t,e)=>"spring"===e.type||"backgroundColor"===t||!be(e.ease))(e,a)){const t=Ln((0,r.A)((0,r.A)({},a),{},{repeat:0,delay:0}));let e={done:!1,value:h[0]};const n=[];let o=0;for(;!e.done&&o<2e4;)e=t.sample(o),n.push(e.value),o+=10;g=void 0,h=n,f=o-10,p="linear"}const m=function(t,e,n){let{delay:r=0,duration:o,repeat:i=0,repeatType:a="loop",ease:s,times:l}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const c={[e]:n};l&&(c.offset=l);const u=ke(s);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(t.owner.current,e,h,(0,r.A)((0,r.A)({},a),{},{duration:f,ease:p,times:g})),v=()=>{u=!1,m.cancel()},y=()=>{u=!0,Bt.Gt.update(v),s(),d()};m.onfinish=()=>{u||(t.set(function(t,e){let{repeat:n,repeatType:r="loop"}=e;return t[n&&"loop"!==r&&n%2===1?0:t.length-1]}(h,a)),i&&i(),y())};return{then:(t,e)=>l.then(t,e),attachTimeline:t=>(m.timeline=t,m.onfinish=null,ne.l),get time(){return me(m.currentTime||0)},set time(t){m.currentTime=ge(t)},get speed(){return m.playbackRate},set speed(t){m.playbackRate=t},get duration(){return me(f)},play:()=>{c||(m.play(),(0,Bt.WG)(v))},pause:()=>m.pause(),stop:()=>{if(c=!0,"idle"===m.playState)return;const{currentTime:e}=m;if(e){const n=Ln((0,r.A)((0,r.A)({},a),{},{autoplay:!1}));t.setWithVelocity(n.sample(e-10).value,n.sample(e).value,10)}y()},complete:()=>{u||m.finish()},cancel:y}}const Bn={type:"spring",stiffness:500,damping:25,restSpeed:10},Fn={type:"keyframes",duration:.8},Hn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Vn=(t,e)=>{let{keyframes:n}=e;return n.length>2?Fn:L.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===n[1]?2*Math.sqrt(550):30,restSpeed:10}:Bn:Hn},qn=(t,e)=>"zIndex"!==t&&(!("number"!==typeof e&&!Array.isArray(e))||!("string"!==typeof e||!an.test(e)&&"0"!==e||e.startsWith("url("))),Un=new Set(["brightness","contrast","saturate","opacity"]);function Wn(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(K)||[];if(!r)return t;const o=n.replace(r,"");let i=Un.has(e)?1:0;return r!==n&&(i*=100),e+"("+i+o+")"}const Gn=/([a-z-]*)\(.*?\)/g,Yn=(0,r.A)((0,r.A)({},an),{},{getAnimatableNone:t=>{const e=t.match(Gn);return e?e.map(Wn).join(" "):t}}),Kn=(0,r.A)((0,r.A)({},at),{},{color:Ue,backgroundColor:Ue,outlineColor:Ue,fill:Ue,stroke:Ue,borderColor:Ue,borderTopColor:Ue,borderRightColor:Ue,borderBottomColor:Ue,borderLeftColor:Ue,filter:Yn,WebkitFilter:Yn}),$n=t=>Kn[t];function Xn(t,e){let n=$n(t);return n!==Yn&&(n=an),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Qn=t=>/^0[^.\s]+$/.test(t);function Zn(t){return"number"===typeof t?0===t:null!==t?"none"===t||"0"===t||Qn(t):void 0}const Jn=["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"];function tr(t,e){return t[e]||t.default||t}const er=!1,nr=function(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return i=>{const a=tr(o,t)||{},s=a.delay||o.delay||0;let{elapsed:l=0}=o;l-=ge(s);const c=function(t,e,n,r){const o=qn(e,n);let i;i=Array.isArray(n)?[...n]:[null,n];const a=void 0!==r.from?r.from:t.get();let s;const l=[];for(let c=0;c<i.length;c++)null===i[c]&&(i[c]=0===c?a:i[c-1]),Zn(i[c])&&l.push(c),"string"===typeof i[c]&&"none"!==i[c]&&"0"!==i[c]&&(s=i[c]);if(o&&l.length&&s)for(let c=0;c<l.length;c++)i[l[c]]=Xn(e,s);return i}(e,t,n,a),u=c[0],d=c[c.length-1],h=qn(t,u),f=qn(t,d);(0,pe.$)(h===f,"You are trying to animate ".concat(t,' from "').concat(u,'" to "').concat(d,'". ').concat(u," is not an animatable value - to enable this animation set ").concat(u," to a value animatable to ").concat(d," via the `style` property."));let p=(0,r.A)((0,r.A)({keyframes:c,velocity:e.getVelocity(),ease:"easeOut"},a),{},{delay:-l,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{i(),a.onComplete&&a.onComplete()}});if(function(t){let{when:e,delay:n,delayChildren:r,staggerChildren:o,staggerDirection:i,repeat:a,repeatType:s,repeatDelay:l,from:c,elapsed:u}=t,d=(0,mt.A)(t,Jn);return!!Object.keys(d).length}(a)||(p=(0,r.A)((0,r.A)({},p),Vn(t,p))),p.duration&&(p.duration=ge(p.duration)),p.repeatDelay&&(p.repeatDelay=ge(p.repeatDelay)),!h||!f||ve||!1===a.type||er)return function(t){let{keyframes:e,delay:n,onUpdate:r,onComplete:o}=t;const i=()=>(r&&r(e[e.length-1]),o&&o(),{time:0,speed:1,duration:0,play:ne.l,pause:ne.l,stop:ne.l,then:t=>(t(),Promise.resolve()),cancel:ne.l,complete:ne.l});return n?Ln({keyframes:[0,1],duration:0,delay:n,onComplete:i}):i()}(ve?(0,r.A)((0,r.A)({},p),{},{delay:0}):p);if(!o.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){const n=zn(e,t,p);if(n)return n}return Ln(p)}};function rr(t){return Boolean(j(t)&&t.add)}const or=t=>/^\-?\d*\.?\d+$/.test(t);function ir(t,e){-1===t.indexOf(e)&&t.push(e)}function ar(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class sr{constructor(){this.subscriptions=[]}add(t){return ir(this.subscriptions,t),()=>ar(this.subscriptions,t)}notify(t,e,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const lr={current:void 0};class cr{constructor(t){var e=this;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};var r;this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(t){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.prev=e.current,e.current=t;const{delta:r,timestamp:o}=Bt.uv;e.lastUpdated!==o&&(e.timeDelta=r,e.lastUpdated=o,Bt.Gt.postRender(e.scheduleVelocityCheck)),e.prev!==e.current&&e.events.change&&e.events.change.notify(e.current),e.events.velocityChange&&e.events.velocityChange.notify(e.getVelocity()),n&&e.events.renderRequest&&e.events.renderRequest.notify(e.current)},this.scheduleVelocityCheck=()=>Bt.Gt.postRender(this.velocityCheck),this.velocityCheck=t=>{let{timestamp:e}=t;e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(r=this.current,!isNaN(parseFloat(r))),this.owner=n.owner}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new sr);const n=this.events[t].add(e);return"change"===t?()=>{n(),Bt.Gt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return lr.current&&lr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?yn(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ur(t,e){return new cr(t,e)}const dr=t=>e=>e.test(t),hr=[U,et,tt,J,rt,nt,{test:t=>"auto"===t,parse:t=>t}],fr=t=>hr.find(dr(t)),pr=[...hr,Ue,an],gr=t=>pr.find(dr(t)),mr=["transitionEnd","transition"];function vr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ur(n))}function yr(t,e){const n=fe(t,e);let o=n?t.makeTargetAnimatable(n,!1):{},{transitionEnd:i={},transition:a={}}=o,s=(0,mt.A)(o,mr);s=(0,r.A)((0,r.A)({},s),i);for(const r in s){vr(t,r,Lt(s[r]))}}function br(t,e){if(!e)return;return(e[t]||e.default||e).from}const xr=["transition","transitionEnd"];function wr(t,e){let{protectedKeys:n,needsAnimating:r}=t;const o=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,o}function kr(t,e){const n=t.get();if(!Array.isArray(e))return n!==e;for(let r=0;r<e.length;r++)if(e[r]!==n)return!0}function Ar(t,e){let{delay:n=0,transitionOverride:o,type:i}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=t.makeTargetAnimatable(e),{transition:s=t.getDefaultTransition(),transitionEnd:l}=a,c=(0,mt.A)(a,xr);const u=t.getValue("willChange");o&&(s=o);const h=[],f=i&&t.animationState&&t.animationState.getState()[i];for(const p in c){const e=t.getValue(p),o=c[p];if(!e||void 0===o||f&&wr(f,p))continue;const i=(0,r.A)({delay:n,elapsed:0},tr(s||{},p));if(window.HandoffAppearAnimations){const n=t.getProps()[d];if(n){const t=window.HandoffAppearAnimations(n,p,e,Bt.Gt);null!==t&&(i.elapsed=t,i.isHandoff=!0)}}let a=!i.isHandoff&&!kr(e,o);if("spring"===i.type&&(e.getVelocity()||i.velocity)&&(a=!1),e.animation&&(a=!1),a)continue;e.start(nr(p,e,o,t.shouldReduceMotion&&L.has(p)?{type:!1}:i));const l=e.animation;rr(u)&&(u.add(p),l.then(()=>u.remove(p))),h.push(l)}return l&&Promise.all(h).then(()=>{l&&yr(t,l)}),h}function _r(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=fe(t,e,n.custom);let{transition:i=t.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all(Ar(t,o,n)):()=>Promise.resolve(),s=t.variantChildren&&t.variantChildren.size?function(){let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;const{delayChildren:a=0,staggerChildren:s,staggerDirection:l}=i;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:1,a=arguments.length>5?arguments[5]:void 0;const s=[],l=(t.variantChildren.size-1)*o,c=1===i?function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*o}:function(){return l-(arguments.length>0&&void 0!==arguments[0]?arguments[0]:0)*o};return Array.from(t.variantChildren).sort(Sr).forEach((t,o)=>{t.notify("AnimationStart",e),s.push(_r(t,e,(0,r.A)((0,r.A)({},a),{},{delay:n+c(o)})).then(()=>t.notify("AnimationComplete",e)))}),Promise.all(s)}(t,e,a+o,s,l,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[t,e]="beforeChildren"===l?[a,s]:[s,a];return t().then(()=>e())}return Promise.all([a(),s(n.delay)])}function Sr(t,e){return t.sortNodePosition(e)}const Cr=["transition","transitionEnd"],Er=[...g].reverse(),Or=g.length;function Pr(t){return e=>Promise.all(e.map(e=>{let{animation:n,options:r}=e;return function(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(t.notify("AnimationStart",e),Array.isArray(e)){const o=e.map(e=>_r(t,e,r));n=Promise.all(o)}else if("string"===typeof e)n=_r(t,e,r);else{const o="function"===typeof e?fe(t,e,r.custom):e;n=Promise.all(Ar(t,o,r))}return n.then(()=>t.notify("AnimationComplete",e))}(t,n,r)}))}function Mr(t){let e=Pr(t);const n={animate:Nr(!0),whileInView:Nr(),whileHover:Nr(),whileTap:Nr(),whileDrag:Nr(),whileFocus:Nr(),exit:Nr()};let o=!0;const i=(e,n)=>{const o=fe(t,n);if(o){const{transition:t,transitionEnd:n}=o,i=(0,mt.A)(o,Cr);e=(0,r.A)((0,r.A)((0,r.A)({},e),i),n)}return e};function a(a,s){const l=t.getProps(),c=t.getVariantContext(!0)||{},u=[],d=new Set;let h={},g=1/0;for(let e=0;e<Or;e++){const m=Er[e],v=n[m],y=void 0!==l[m]?l[m]:c[m],b=f(y),x=m===s?v.isActive:null;!1===x&&(g=e);let w=y===c[m]&&y!==l[m]&&b;if(w&&o&&t.manuallyAnimateOnMount&&(w=!1),v.protectedKeys=(0,r.A)({},h),!v.isActive&&null===x||!y&&!v.prevProp||p(y)||"boolean"===typeof y)continue;let k=Tr(v.prevProp,y)||m===s&&v.isActive&&!w&&b||e>g&&b,A=!1;const _=Array.isArray(y)?y:[y];let S=_.reduce(i,{});!1===x&&(S={});const{prevResolvedValues:C={}}=v,E=(0,r.A)((0,r.A)({},C),S),O=t=>{k=!0,d.has(t)&&(A=!0,d.delete(t)),v.needsAnimating[t]=!0};for(const t in E){const e=S[t],n=C[t];if(h.hasOwnProperty(t))continue;let r=!1;r=Rt(e)&&Rt(n)?!he(e,n):e!==n,r?void 0!==e?O(t):d.add(t):void 0!==e&&d.has(t)?O(t):v.protectedKeys[t]=!0}v.prevProp=y,v.prevResolvedValues=S,v.isActive&&(h=(0,r.A)((0,r.A)({},h),S)),o&&t.blockInitialAnimation&&(k=!1),!k||w&&!A||u.push(..._.map(t=>({animation:t,options:(0,r.A)({type:m},a)})))}if(d.size){const e={};d.forEach(n=>{const r=t.getBaseTarget(n);void 0!==r&&(e[n]=r)}),u.push({animation:e})}let m=Boolean(u.length);return!o||!1!==l.initial&&l.initial!==l.animate||t.manuallyAnimateOnMount||(m=!1),o=!1,m?e(u):Promise.resolve()}return{animateChanges:a,setActive:function(e,r,o){var i;if(n[e].isActive===r)return Promise.resolve();null===(i=t.variantChildren)||void 0===i||i.forEach(t=>{var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)}),n[e].isActive=r;const s=a(o,e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n}}function Tr(t,e){return"string"===typeof e?e!==t:!!Array.isArray(e)&&!he(e,t)}function Nr(){return{isActive:arguments.length>0&&void 0!==arguments[0]&&arguments[0],protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}let Rr=0;const Lr={animation:{Feature:class extends Jt{constructor(t){super(t),t.animationState||(t.animationState=Mr(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();this.unmount(),p(t)&&(this.unmount=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){}}},exit:{Feature:class extends Jt{constructor(){super(...arguments),this.id=Rr++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e,custom:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t,{custom:null!==n&&void 0!==n?n:this.node.getProps().custom});e&&!t&&o.then(()=>e(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}}},Dr=(t,e)=>Math.abs(t-e);class jr{constructor(t,e){let{transformPagePoint:n,contextWindow:o,dragSnapToOrigin:i=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const t=Br(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=Dr(t.x,e.x),r=Dr(t.y,e.y);return Math.sqrt(n**2+r**2)}(t.offset,{x:0,y:0})>=3;if(!e&&!n)return;const{point:o}=t,{timestamp:i}=Bt.uv;this.history.push((0,r.A)((0,r.A)({},o),{},{timestamp:i}));const{onStart:a,onMove:s}=this.handlers;e||(a&&a(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=Ir(e,this.transformPagePoint),Bt.Gt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=Br("pointercancel"===t.type?this.lastMoveEventInfo:Ir(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,i),r&&r(t,i)},!qt(t))return;this.dragSnapToOrigin=i,this.handlers=e,this.transformPagePoint=n,this.contextWindow=o||window;const a=Ir(Ut(t),this.transformPagePoint),{point:s}=a,{timestamp:l}=Bt.uv;this.history=[(0,r.A)((0,r.A)({},s),{},{timestamp:l})];const{onSessionStart:c}=e;c&&c(t,Br(a,this.history)),this.removeListeners=Yt(Wt(this.contextWindow,"pointermove",this.handlePointerMove),Wt(this.contextWindow,"pointerup",this.handlePointerUp),Wt(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),(0,Bt.WG)(this.updatePoint)}}function Ir(t,e){return e?{point:e(t.point)}:t}function zr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function Br(t,e){let{point:n}=t;return{point:n,delta:zr(n,Hr(e)),offset:zr(n,Fr(e)),velocity:Vr(e,.1)}}function Fr(t){return t[0]}function Hr(t){return t[t.length-1]}function Vr(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,r=null;const o=Hr(t);for(;n>=0&&(r=t[n],!(o.timestamp-r.timestamp>ge(e)));)n--;if(!r)return{x:0,y:0};const i=me(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function qr(t){return t.max-t.min}function Ur(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return Math.abs(t-e)<=n}function Wr(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5;t.origin=r,t.originPoint=We(e.min,e.max,t.origin),t.scale=qr(n)/qr(e),(Ur(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=We(n.min,n.max,t.origin)-t.originPoint,(Ur(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Gr(t,e,n,r){Wr(t.x,e.x,n.x,r?r.originX:void 0),Wr(t.y,e.y,n.y,r?r.originY:void 0)}function Yr(t,e,n){t.min=n.min+e.min,t.max=t.min+qr(e)}function Kr(t,e,n){t.min=e.min-n.min,t.max=t.min+qr(e)}function $r(t,e,n){Kr(t.x,e.x,n.x),Kr(t.y,e.y,n.y)}function Xr(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Qr(t,e){let n=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,r]=[r,n]),{min:n,max:r}}const Zr=.35;function Jr(t,e,n){return{min:to(t,e),max:to(t,n)}}function to(t,e){return"number"===typeof t?t:t[e]||0}const eo=()=>({x:{min:0,max:0},y:{min:0,max:0}});function no(t){return[t("x"),t("y")]}function ro(t){let{top:e,left:n,right:r,bottom:o}=t;return{x:{min:n,max:r},y:{min:e,max:o}}}function oo(t){return void 0===t||1===t}function io(t){let{scale:e,scaleX:n,scaleY:r}=t;return!oo(e)||!oo(n)||!oo(r)}function ao(t){return io(t)||so(t)||t.z||t.rotate||t.rotateX||t.rotateY}function so(t){return lo(t.x)||lo(t.y)}function lo(t){return t&&"0%"!==t}function co(t,e,n){return n+e*(t-n)}function uo(t,e,n,r,o){return void 0!==o&&(t=co(t,o,r)),co(t,n,r)+e}function ho(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;t.min=uo(t.min,e,n,r,o),t.max=uo(t.max,e,n,r,o)}function fo(t,e){let{x:n,y:r}=e;ho(t.x,n.translate,n.scale,n.originPoint),ho(t.y,r.translate,r.scale,r.originPoint)}function po(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function go(t,e){t.min=t.min+e,t.max=t.max+e}function mo(t,e,n){let[r,o,i]=n;const a=void 0!==e[i]?e[i]:.5,s=We(t.min,t.max,a);ho(t,e[r],e[o],s,e.scale)}const vo=["x","scaleX","originX"],yo=["y","scaleY","originY"];function bo(t,e){mo(t.x,e,vo),mo(t.y,e,yo)}function xo(t,e){return ro(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}const wo=t=>{let{current:e}=t;return e?e.ownerDocument.defaultView:null},ko=new WeakMap;class Ao{constructor(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}start(t){let{snapToCursor:e=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new jr(t,{onSessionStart:t=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),e&&this.snapToCursor(Ut(t,"page").point)},onStart:(t,e)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Qt(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),no(t=>{let e=this.getAxisMotionValue(t).get()||0;if(tt.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[t];if(r){e=qr(r)*(parseFloat(e)/100)}}}this.originPoint[t]=e}),o&&Bt.Gt.update(()=>o(t,e),!1,!0);const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(t,e)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=e;if(r&&null===this.currentDirection)return this.currentDirection=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10,n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),i&&i(t,e)},onSessionEnd:(t,e)=>this.stop(t,e),resumeAnimation:()=>no(t=>{var e;return"paused"===this.getAnimationState(t)&&(null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:wo(this.visualElement)})}stop(t,e){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=e;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&Bt.Gt.update(()=>o(t,e))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,n){const{drag:r}=this.getProps();if(!n||!_o(t,r,this.currentDirection))return;const o=this.getAxisMotionValue(t);let i=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(i=function(t,e,n){let{min:r,max:o}=e;return void 0!==r&&t<r?t=n?We(r,t,n.min):Math.max(t,r):void 0!==o&&t>o&&(t=n?We(o,t,n.max):Math.min(t,o)),t}(i,this.constraints[t],this.elastic[t])),o.set(i)}resolveConstraints(){var t;const{dragConstraints:e,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(t=this.visualElement.projection)||void 0===t?void 0:t.layout,o=this.constraints;e&&h(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!e||!r)&&function(t,e){let{top:n,left:r,bottom:o,right:i}=e;return{x:Xr(t.x,r,i),y:Xr(t.y,n,o)}}(r.layoutBox,e),this.elastic=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Zr;return!1===t?t=0:!0===t&&(t=Zr),{x:Jr(t,"left","right"),y:Jr(t,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&no(t=>{this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(r.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!h(t))return!1;const n=t.current;(0,pe.V)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(t,e,n){const r=xo(t,n),{scroll:o}=e;return o&&(go(r.x,o.offset.x),go(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(t,e){return{x:Qr(t.x,e.x),y:Qr(t.y,e.y)}}(r.layout.layoutBox,o);if(e){const t=e(function(t){let{x:e,y:n}=t;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(i));this.hasMutatedConstraints=!!t,t&&(i=ro(t))}return i}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:o,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:s}=this.getProps(),l=this.constraints||{},c=no(s=>{if(!_o(s,e,this.currentDirection))return;let c=l&&l[s]||{};a&&(c={min:0,max:0});const u=o?200:1e6,d=o?40:1e7,h=(0,r.A)((0,r.A)({type:"inertia",velocity:n?t[s]:0,bounceStiffness:u,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10},i),c);return this.startAxisValueAnimation(s,h)});return Promise.all(c).then(s)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return n.start(nr(t,n,0,e))}stopAnimation(){no(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){no(t=>{var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.pause()})}getAnimationState(t){var e;return null===(e=this.getAxisMotionValue(t).animation)||void 0===e?void 0:e.state}getAxisMotionValue(t){const e="_drag"+t.toUpperCase(),n=this.visualElement.getProps(),r=n[e];return r||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){no(e=>{const{drag:n}=this.getProps();if(!_o(e,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(e);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[e];o.set(t[e]-We(n,i,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!h(e)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};no(t=>{const e=this.getAxisMotionValue(t);if(e){const n=e.get();r[t]=function(t,e){let n=.5;const r=qr(t),o=qr(e);return o>r?n=hn(e.min,e.max-r,t.min):r>o&&(n=hn(t.min,t.max-o,e.min)),q(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),no(e=>{if(!_o(e,t,null))return;const n=this.getAxisMotionValue(e),{min:o,max:i}=this.constraints[e];n.set(We(o,i,r[e]))})}addListeners(){if(!this.visualElement.current)return;ko.set(this.visualElement,this);const t=Wt(this.visualElement.current,"pointerdown",t=>{const{drag:e,dragListener:n=!0}=this.getProps();e&&n&&this.start(t)}),e=()=>{const{dragConstraints:t}=this.getProps();h(t)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",e);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),e();const o=Vt(window,"resize",()=>this.scalePositionWithinConstraints()),i=n.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:n}=t;this.isDragging&&n&&(no(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),r(),i&&i()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:a=Zr,dragMomentum:s=!0}=t;return(0,r.A)((0,r.A)({},t),{},{drag:e,dragDirectionLock:n,dragPropagation:o,dragConstraints:i,dragElastic:a,dragMomentum:s})}}function _o(t,e,n){return(!0===e||e===t)&&(null===n||n===t)}const So=t=>(e,n)=>{t&&Bt.Gt.update(()=>t(e,n))};var Co=n(28917);const Eo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Oo(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const Po={correct:(t,e)=>{if(!e.target)return t;if("string"===typeof t){if(!et.test(t))return t;t=parseFloat(t)}const n=Oo(t,e.target.x),r=Oo(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},Mo={correct:(t,e)=>{let{treeScale:n,projectionDelta:r}=e;const o=t,i=an.parse(t);if(i.length>5)return o;const a=an.createTransformer(t),s="number"!==typeof i[0]?1:0,l=r.x.scale*n.x,c=r.y.scale*n.y;i[0+s]/=l,i[1+s]/=c;const u=We(l,c,.5);return"number"===typeof i[2+s]&&(i[2+s]/=u),"number"===typeof i[3+s]&&(i[3+s]/=u),a(i)}};class To extends o.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:o}=this.props,{projection:i}=t;var a;a=Ro,Object.assign(N,a),i&&(e.group&&e.group.add(i),n&&n.register&&o&&n.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions((0,r.A)((0,r.A)({},i.options),{},{onExitComplete:()=>this.safeToRemove()}))),Eo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||t.layoutDependency!==e||void 0===e?i.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?i.promote():i.relegate()||Bt.Gt.postRender(()=>{const t=i.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),queueMicrotask(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function No(t){const[e,n]=(0,Co.xQ)(),i=(0,o.useContext)(_.L);return o.createElement(To,(0,r.A)((0,r.A)({},t),{},{layoutGroup:i,switchLayoutGroup:(0,o.useContext)(S),isPresent:e,safeToRemove:n}))}const Ro={borderRadius:(0,r.A)((0,r.A)({},Po),{},{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Po,borderTopRightRadius:Po,borderBottomLeftRadius:Po,borderBottomRightRadius:Po,boxShadow:Mo},Lo=["TopLeft","TopRight","BottomLeft","BottomRight"],Do=Lo.length,jo=t=>"string"===typeof t?parseFloat(t):t,Io=t=>"number"===typeof t||et.test(t);function zo(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Bo=Ho(0,.5,Te),Fo=Ho(.5,.95,ne.l);function Ho(t,e,n){return r=>r<t?0:r>e?1:n(hn(t,e,r))}function Vo(t,e){t.min=e.min,t.max=e.max}function qo(t,e){Vo(t.x,e.x),Vo(t.y,e.y)}function Uo(t,e,n,r,o){return t=co(t-=e,1/n,r),void 0!==o&&(t=co(t,1/o,r)),t}function Wo(t,e,n,r,o){let[i,a,s]=n;!function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.5,o=arguments.length>4?arguments[4]:void 0,i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:t,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:t;tt.test(e)&&(e=parseFloat(e),e=We(a.min,a.max,e/100)-a.min);if("number"!==typeof e)return;let s=We(i.min,i.max,r);t===i&&(s-=e),t.min=Uo(t.min,e,n,s,o),t.max=Uo(t.max,e,n,s,o)}(t,e[i],e[a],e[s],e.scale,r,o)}const Go=["x","scaleX","originX"],Yo=["y","scaleY","originY"];function Ko(t,e,n,r){Wo(t.x,e,Go,n?n.x:void 0,r?r.x:void 0),Wo(t.y,e,Yo,n?n.y:void 0,r?r.y:void 0)}function $o(t){return 0===t.translate&&1===t.scale}function Xo(t){return $o(t.x)&&$o(t.y)}function Qo(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function Zo(t){return qr(t.x)/qr(t.y)}class Jo{constructor(){this.members=[]}add(t){ir(this.members,t),t.scheduleRender()}remove(t){if(ar(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){const e=this.members.findIndex(e=>t===e);if(0===e)return!1;let n;for(let r=e;r>=0;r--){const t=this.members[r];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.instance&&n.scheduleRender(),t.scheduleRender(),t.resumeFrom=n,e&&(t.resumeFrom.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:e,resumingFrom:n}=t;e.onExitComplete&&e.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function ti(t,e,n){let r="";const o=t.x.translate/e.x,i=t.y.translate/e.y;if((o||i)&&(r="translate3d(".concat(o,"px, ").concat(i,"px, 0) ")),1===e.x&&1===e.y||(r+="scale(".concat(1/e.x,", ").concat(1/e.y,") ")),n){const{rotate:t,rotateX:e,rotateY:o}=n;t&&(r+="rotate(".concat(t,"deg) ")),e&&(r+="rotateX(".concat(e,"deg) ")),o&&(r+="rotateY(".concat(o,"deg) "))}const a=t.x.scale*e.x,s=t.y.scale*e.y;return 1===a&&1===s||(r+="scale(".concat(a,", ").concat(s,")")),r||"none"}const ei=(t,e)=>t.depth-e.depth;class ni{constructor(){this.children=[],this.isDirty=!1}add(t){ir(this.children,t),this.isDirty=!0}remove(t){ar(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ei),this.isDirty=!1,this.children.forEach(t)}}const ri=["","X","Y","Z"],oi={visibility:"hidden"};let ii=0;const ai={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function si(t){let{attachResizeListener:e,defaultParent:n,measureScroll:o,checkIsScrollRoot:i,resetTransform:a}=t;return class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null===n||void 0===n?void 0:n();this.id=ii++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{var t;this.projectionUpdateScheduled=!1,ai.totalNodes=ai.resolvedTargetDeltas=ai.recalculatedProjection=0,this.nodes.forEach(ui),this.nodes.forEach(vi),this.nodes.forEach(yi),this.nodes.forEach(di),t=ai,window.MotionDebug&&window.MotionDebug.record(t)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=e?e.root||e:this,this.path=e?[...e.path,e]:[],this.parent=e,this.depth=e?e.depth+1:0;for(let n=0;n<this.path.length;n++)this.path[n].shouldResetTransform=!0;this.root===this&&(this.nodes=new ni)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new sr),this.eventHandlers.get(t).add(e)}notifyListeners(t){const e=this.eventHandlers.get(t);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e&&e.notify(...r)}hasListeners(t){return this.eventHandlers.has(t)}mount(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.root.hasTreeAnimated;if(this.instance)return;var o;this.isSVG=(o=t)instanceof SVGElement&&"svg"!==o.tagName,this.instance=t;const{layoutId:i,layout:a,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(a||i)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=performance.now(),r=o=>{let{timestamp:i}=o;const a=i-n;a>=e&&((0,Bt.WG)(r),t(a-e))};return Bt.Gt.read(r,!0),()=>(0,Bt.WG)(r)}(r,250),Eo.hasAnimatedSinceResize&&(Eo.hasAnimatedSinceResize=!1,this.nodes.forEach(mi))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||a)&&this.addEventListener("didUpdate",t=>{let{delta:e,hasLayoutChanged:n,hasRelativeTargetChanged:o,layout:i}=t;if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const a=this.options.transition||s.getDefaultTransition()||_i,{onLayoutAnimationStart:l,onLayoutAnimationComplete:c}=s.getProps(),u=!this.targetLayout||!Qo(this.targetLayout,i)||o,d=!n&&o;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||d||n&&(u||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,d);const t=(0,r.A)((0,r.A)({},tr(a,"layout")),{},{onPlay:l,onComplete:c});(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else n||mi(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,Bt.WG)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(bi),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let o=0;o<this.path.length;o++){const t=this.path[o];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(fi);this.isUpdating||this.nodes.forEach(pi),this.isUpdating=!1,this.nodes.forEach(gi),this.nodes.forEach(li),this.nodes.forEach(ci),this.clearAllSnapshots();const t=performance.now();Bt.uv.delta=q(0,1e3/60,t-Bt.uv.timestamp),Bt.uv.timestamp=t,Bt.uv.isProcessing=!0,Bt.Ci.update.process(Bt.uv),Bt.Ci.preRender.process(Bt.uv),Bt.Ci.render.process(Bt.uv),Bt.uv.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(hi),this.sharedNodes.forEach(xi)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Bt.Gt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Bt.Gt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),(!this.options.alwaysMeasureLayout||!this.isLead())&&!this.isLayoutDirty)return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const t=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"measure",e=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&(this.scroll={animationId:this.root.animationId,phase:t,isRoot:i(this.instance),offset:o(this.instance)})}resetTransform(){if(!a)return;const t=this.isLayoutDirty||this.shouldResetTransform,e=this.projectionDelta&&!Xo(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,o=r!==this.prevTransformTemplateValue;t&&(e||ao(this.latestValues)||o)&&(a(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];const e=this.measurePageBox();let n=this.removeElementScroll(e);var r;return t&&(n=this.removeTransform(n)),Ei((r=n).x),Ei(r.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox(),{scroll:n}=this.root;return n&&(go(e.x,n.offset.x),go(e.y,n.offset.y)),e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};qo(e,t);for(let n=0;n<this.path.length;n++){const r=this.path[n],{scroll:o,options:i}=r;if(r!==this.root&&o&&i.layoutScroll){if(o.isRoot){qo(e,t);const{scroll:n}=this.root;n&&(go(e.x,-n.offset.x),go(e.y,-n.offset.y))}go(e.x,o.offset.x),go(e.y,o.offset.y)}}return e}applyTransform(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n={x:{min:0,max:0},y:{min:0,max:0}};qo(n,t);for(let r=0;r<this.path.length;r++){const t=this.path[r];!e&&t.options.layoutScroll&&t.scroll&&t!==t.root&&bo(n,{x:-t.scroll.offset.x,y:-t.scroll.offset.y}),ao(t.latestValues)&&bo(n,t.latestValues)}return ao(this.latestValues)&&bo(n,this.latestValues),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};qo(e,t);for(let n=0;n<this.path.length;n++){const t=this.path[n];if(!t.instance)continue;if(!ao(t.latestValues))continue;io(t.latestValues)&&t.updateSnapshot();const r=eo();qo(r,t.measurePageBox()),Ko(e,t.latestValues,t.snapshot?t.snapshot.layoutBox:void 0,r)}return ao(this.latestValues)&&Ko(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options=(0,r.A)((0,r.A)((0,r.A)({},this.options),t),{},{crossfade:void 0===t.crossfade||t.crossfade})}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Bt.uv.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var e;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=Boolean(this.resumingFrom)||this!==n;if(!(t||r&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=Bt.uv.timestamp,!this.targetDelta&&!this.relativeTarget){const t=this.getClosestProjectingParent();t&&t.layout&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},$r(this.relativeTargetOrigin,this.layout.layoutBox,t.layout.layoutBox),qo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var a,s,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a=this.target,s=this.relativeTarget,l=this.relativeParent.target,Yr(a.x,s.x,l.x),Yr(a.y,s.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):qo(this.target,this.layout.layoutBox),fo(this.target,this.targetDelta)):qo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const t=this.getClosestProjectingParent();t&&Boolean(t.resumingFrom)===Boolean(this.resumingFrom)&&!t.options.layoutScroll&&t.target&&1!==this.animationProgress?(this.relativeParent=t,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},$r(this.relativeTargetOrigin,this.target,t.target),qo(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}ai.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!io(this.parent.latestValues)&&!so(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var t;const e=this.getLead(),n=Boolean(this.resumingFrom)||this!==e;let r=!0;if((this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty))&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===Bt.uv.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;qo(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;!function(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];const o=n.length;if(!o)return;let i,a;e.x=e.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const o=i.instance;o&&o.style&&"contents"===o.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&bo(t,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(e.x*=a.x.scale,e.y*=a.y.scale,fo(t,a)),r&&ao(i.latestValues)&&bo(t,i.latestValues))}e.x=po(e.x),e.y=po(e.y)}(this.layoutCorrected,this.treeScale,this.path,n),!e.layout||e.target||1===this.treeScale.x&&1===this.treeScale.y||(e.target=e.layout.layoutBox);const{target:l}=e;if(!l)return void(this.projectionTransform&&(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionTransform="none",this.scheduleRender()));this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});const c=this.projectionTransform;Gr(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=ti(this.projectionDelta,this.treeScale),this.projectionTransform===c&&this.treeScale.x===a&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),ai.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(){let t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.options.scheduleRender&&this.options.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=this.snapshot,o=n?n.latestValues:{},i=(0,r.A)({},this.latestValues),a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const s={x:{min:0,max:0},y:{min:0,max:0}},l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=Boolean(l&&!u&&!0===this.options.crossfade&&!this.path.some(Ai));let h;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var r,c;wi(a.x,t.x,n),wi(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&($r(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(t,e,n,r){ki(t.x,e.x,n.x,r),ki(t.y,e.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,s,n),h&&(r=this.relativeTarget,c=h,r.x.min===c.x.min&&r.x.max===c.x.max&&r.y.min===c.y.min&&r.y.max===c.y.max)&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),qo(h,this.relativeTarget)),l&&(this.animationValues=i,function(t,e,n,r,o,i){o?(t.opacity=We(0,void 0!==n.opacity?n.opacity:1,Bo(r)),t.opacityExit=We(void 0!==e.opacity?e.opacity:1,0,Fo(r))):i&&(t.opacity=We(void 0!==e.opacity?e.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let a=0;a<Do;a++){const o="border".concat(Lo[a],"Radius");let i=zo(e,o),s=zo(n,o);void 0===i&&void 0===s||(i||(i=0),s||(s=0),0===i||0===s||Io(i)===Io(s)?(t[o]=Math.max(We(jo(i),jo(s),r),0),(tt.test(s)||tt.test(i))&&(t[o]+="%")):t[o]=s)}(e.rotate||n.rotate)&&(t.rotate=We(e.rotate||0,n.rotate||0,r))}(i,o,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,Bt.WG)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Bt.Gt.update(()=>{Eo.hasAnimatedSinceResize=!0,this.currentAnimation=function(t,e,n){const r=j(t)?t:ur(t);return r.start(nr("",r,e,n)),r.animation}(0,1e3,(0,r.A)((0,r.A)({},t),{},{onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onComplete:()=>{t.onComplete&&t.onComplete(),this.completeAnimation()}})),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:r,latestValues:o}=t;if(e&&n&&r){if(this!==t&&this.layout&&r&&Oi(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=qr(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const r=qr(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+r}qo(e,n),bo(e,o),Gr(this.projectionDeltaWithTransform,this.layoutCorrected,e,o)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new Jo);this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){var t;const{layoutId:e}=this.options;return e&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this}getPrevLead(){var t;const{layoutId:e}=this.options;return e?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote(){let{needsReset:t,transition:e,preserveFollowOpacity:n}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const r=this.getStack();r&&r.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.rotate||n.rotateX||n.rotateY||n.rotateZ)&&(e=!0),!e)return;const r={};for(let o=0;o<ri.length;o++){const e="rotate"+ri[o];n[e]&&(r[e]=n[e],t.setStaticValue(e,0))}t.render();for(const o in r)t.setStaticValue(o,r[o]);t.scheduleRender()}getProjectionStyles(t){var e,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return oi;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Dt(null===t||void 0===t?void 0:t.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const e={};return this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=Dt(null===t||void 0===t?void 0:t.pointerEvents)||""),this.hasProjected&&!ao(this.latestValues)&&(e.transform=o?o({},""):"none",this.hasProjected=!1),e}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=ti(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin="".concat(100*s.origin,"% ").concat(100*l.origin,"% 0"),i.animationValues?r.opacity=i===this?null!==(n=null!==(e=a.opacity)&&void 0!==e?e:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const c in N){if(void 0===a[c])continue;const{correct:t,applyTo:e}=N[c],n="none"===r.transform?a[c]:t(a[c],i);if(e){const t=e.length;for(let o=0;o<t;o++)r[e[o]]=n}else r[c]=n}return this.options.layoutId&&(r.pointerEvents=i===this?Dt(null===t||void 0===t?void 0:t.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>{var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()}),this.root.nodes.forEach(fi),this.root.sharedNodes.clear()}}}function li(t){t.updateLayout()}function ci(t){var e;const n=(null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:e,measuredBox:r}=t.layout,{animationType:o}=t.options,i=n.source!==t.layout.source;"size"===o?no(t=>{const r=i?n.measuredBox[t]:n.layoutBox[t],o=qr(r);r.min=e[t].min,r.max=r.min+o}):Oi(o,n.layoutBox,e)&&no(r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=qr(e[r]);o.max=o.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+a)});const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Gr(a,e,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Gr(s,t.applyTransform(r,!0),n.measuredBox):Gr(s,e,n.layoutBox);const l=!Xo(a);let c=!1;if(!t.resumeFrom){const r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};$r(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};$r(s,e,i.layoutBox),Qo(a,s)||(c=!0),r.options.layoutRoot&&(t.relativeTarget=s,t.relativeTargetOrigin=a,t.relativeParent=r)}}}t.notifyListeners("didUpdate",{layout:e,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function ui(t){ai.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function di(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function hi(t){t.clearSnapshot()}function fi(t){t.clearMeasurements()}function pi(t){t.isLayoutDirty=!1}function gi(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function mi(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function vi(t){t.resolveTargetDelta()}function yi(t){t.calcProjection()}function bi(t){t.resetRotation()}function xi(t){t.removeLeadSnapshot()}function wi(t,e,n){t.translate=We(e.translate,0,n),t.scale=We(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ki(t,e,n,r){t.min=We(e.min,n.min,r),t.max=We(e.max,n.max,r)}function Ai(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const _i={duration:.45,ease:[.4,0,.1,1]},Si=t=>"undefined"!==typeof navigator&&navigator.userAgent.toLowerCase().includes(t),Ci=Si("applewebkit/")&&!Si("chrome/")?Math.round:ne.l;function Ei(t){t.min=Ci(t.min),t.max=Ci(t.max)}function Oi(t,e,n){return"position"===t||"preserve-aspect"===t&&!Ur(Zo(e),Zo(n),.2)}const Pi=si({attachResizeListener:(t,e)=>Vt(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Mi={current:void 0},Ti=si({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Mi.current){const t=new Pi({});t.mount(window),t.setOptions({layoutScroll:!0}),Mi.current=t}return Mi.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),Ni={pan:{Feature:class extends Jt{constructor(){super(...arguments),this.removePointerDownListener=ne.l}onPointerDown(t){this.session=new jr(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:So(t),onStart:So(e),onMove:n,onEnd:(t,e)=>{delete this.session,r&&Bt.Gt.update(()=>r(t,e))}}}mount(){this.removePointerDownListener=Wt(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends Jt{constructor(t){super(t),this.removeGroupControls=ne.l,this.removeListeners=ne.l,this.controls=new Ao(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||ne.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Ti,MeasureLayout:No}};const Ri=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Li(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,pe.V)(n<=4,'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.'));const[r,o]=function(t){const e=Ri.exec(t);if(!e)return[,];const[,n,r]=e;return[n,r]}(t);if(!r)return;const i=window.getComputedStyle(e).getPropertyValue(r);if(i){const t=i.trim();return or(t)?parseFloat(t):t}return H(o)?Li(o,e,n+1):o}function Di(t,e,n){let o=Object.assign({},(function(t){if(null==t)throw new TypeError("Cannot destructure "+t)}(e),e));const i=t.current;if(!(i instanceof Element))return{target:o,transitionEnd:n};n&&(n=(0,r.A)({},n)),t.values.forEach(t=>{const e=t.get();if(!H(e))return;const n=Li(e,i);n&&t.set(n)});for(const r in o){const t=o[r];if(!H(t))continue;const e=Li(t,i);e&&(o[r]=e,n||(n={}),void 0===n[r]&&(n[r]=t))}return{target:o,transitionEnd:n}}const ji=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),Ii=t=>ji.has(t),zi=t=>t===U||t===et,Bi=(t,e)=>parseFloat(t.split(", ")[e]),Fi=(t,e)=>(n,r)=>{let{transform:o}=r;if("none"===o||!o)return 0;const i=o.match(/^matrix3d\((.+)\)$/);if(i)return Bi(i[1],e);{const e=o.match(/^matrix\((.+)\)$/);return e?Bi(e[1],t):0}},Hi=new Set(["x","y","z"]),Vi=R.filter(t=>!Hi.has(t));const qi={width:(t,e)=>{let{x:n}=t,{paddingLeft:r="0",paddingRight:o="0"}=e;return n.max-n.min-parseFloat(r)-parseFloat(o)},height:(t,e)=>{let{y:n}=t,{paddingTop:r="0",paddingBottom:o="0"}=e;return n.max-n.min-parseFloat(r)-parseFloat(o)},top:(t,e)=>{let{top:n}=e;return parseFloat(n)},left:(t,e)=>{let{left:n}=e;return parseFloat(n)},bottom:(t,e)=>{let{y:n}=t,{top:r}=e;return parseFloat(r)+(n.max-n.min)},right:(t,e)=>{let{x:n}=t,{left:r}=e;return parseFloat(r)+(n.max-n.min)},x:Fi(4,13),y:Fi(5,14)};qi.translateX=qi.x,qi.translateY=qi.y;const Ui=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};e=(0,r.A)({},e),o=(0,r.A)({},o);const i=Object.keys(e).filter(Ii);let a=[],s=!1;const l=[];if(i.forEach(r=>{const i=t.getValue(r);if(!t.hasValue(r))return;let c=n[r],u=fr(c);const d=e[r];let h;if(Rt(d)){const t=d.length,e=null===d[0]?1:0;c=d[e],u=fr(c);for(let n=e;n<t&&null!==d[n];n++)h?(0,pe.V)(fr(d[n])===h,"All keyframes must be of the same type"):(h=fr(d[n]),(0,pe.V)(h===u||zi(u)&&zi(h),"Keyframes must be of the same dimension as the current value"))}else h=fr(d);if(u!==h)if(zi(u)&&zi(h)){const t=i.get();"string"===typeof t&&i.set(parseFloat(t)),"string"===typeof d?e[r]=parseFloat(d):Array.isArray(d)&&h===et&&(e[r]=d.map(parseFloat))}else(null===u||void 0===u?void 0:u.transform)&&(null===h||void 0===h?void 0:h.transform)&&(0===c||0===d)?0===c?i.set(h.transform(c)):e[r]=u.transform(d):(s||(a=function(t){const e=[];return Vi.forEach(n=>{const r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),e.length&&t.render(),e}(t),s=!0),l.push(r),o[r]=void 0!==o[r]?o[r]:e[r],i.jump(d))}),l.length){const n=l.indexOf("height")>=0?window.pageYOffset:null,r=((t,e,n)=>{const r=e.measureViewportBox(),o=e.current,i=getComputedStyle(o),{display:a}=i,s={};"none"===a&&e.setStaticValue("display",t.display||"block"),n.forEach(t=>{s[t]=qi[t](r,i)}),e.render();const l=e.measureViewportBox();return n.forEach(n=>{const r=e.getValue(n);r&&r.jump(s[n]),t[n]=qi[n](l,i)}),t})(e,t,l);return a.length&&a.forEach(e=>{let[n,r]=e;t.getValue(n).set(r)}),t.render(),A.B&&null!==n&&window.scrollTo({top:n}),{target:r,transitionEnd:o}}return{target:e,transitionEnd:o}};function Wi(t,e,n,r){return(t=>Object.keys(t).some(Ii))(e)?Ui(t,e,n,r):{target:e,transitionEnd:r}}const Gi={current:null},Yi={current:!1};const Ki=new WeakMap,$i=["willChange"],Xi=["children"],Qi=Object.keys(k),Zi=Qi.length,Ji=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ta=m.length;class ea{constructor(t){let{parent:e,props:n,presenceContext:o,reducedMotionConfig:i,visualState:a}=t,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>Bt.Gt.render(this.render,!1,!0);const{latestValues:l,renderState:c}=a;this.latestValues=l,this.baseTarget=(0,r.A)({},l),this.initialValues=n.initial?(0,r.A)({},l):{},this.renderState=c,this.parent=e,this.props=n,this.presenceContext=o,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.isControllingVariants=v(n),this.isVariantNode=y(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const u=this.scrapeMotionValuesFromProps(n,{}),{willChange:d}=u,h=(0,mt.A)(u,$i);for(const r in h){const t=h[r];void 0!==l[r]&&j(t)&&(t.set(l[r],!1),rr(d)&&d.add(r))}}scrapeMotionValuesFromProps(t,e){return{}}mount(t){this.current=t,Ki.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),Yi.current||function(){if(Yi.current=!0,A.B)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Gi.current=t.matches;t.addListener(e),e()}else Gi.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Gi.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ki.delete(this.current),this.projection&&this.projection.unmount(),(0,Bt.WG)(this.notifyUpdate),(0,Bt.WG)(this.render),this.valueSubscriptions.forEach(t=>t()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features)this.features[t].unmount();this.current=null}bindToMotionValue(t,e){const n=L.has(t),r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&Bt.Gt.update(this.notifyUpdate,!1,!0),n&&this.projection&&(this.projection.isTransformDirty=!0)}),o=e.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(t,()=>{r(),o()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}loadFeatures(t,e,n,r){let o,i,{children:a}=t,s=(0,mt.A)(t,Xi);for(let l=0;l<Zi;l++){const t=Qi[l],{isEnabled:e,Feature:n,ProjectionNode:r,MeasureLayout:a}=k[t];r&&(o=r),e(s)&&(!this.features[t]&&n&&(this.features[t]=new n(this)),a&&(i=a))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&o){this.projection=new o(this.latestValues,this.parent&&this.parent.projection);const{layoutId:t,layout:e,drag:n,dragConstraints:i,layoutScroll:a,layoutRoot:l}=s;this.projection.setOptions({layoutId:t,layout:e,alwaysMeasureLayout:Boolean(n)||i&&h(i),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"===typeof e?e:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return i}updateFeatures(){for(const t in this.features){const e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}makeTargetAnimatable(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return this.makeTargetAnimatableFromInstance(t,this.props,e)}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let n=0;n<Ji.length;n++){const e=Ji[n];this.propEventSubscriptions[e]&&(this.propEventSubscriptions[e](),delete this.propEventSubscriptions[e]);const r=t["on"+e];r&&(this.propEventSubscriptions[e]=this.on(e,r))}this.prevMotionValues=function(t,e,n){const{willChange:r}=e;for(const o in e){const i=e[o],a=n[o];if(j(i))t.addValue(o,i),rr(r)&&r.add(o);else if(j(a))t.addValue(o,ur(i,{owner:t})),rr(r)&&r.remove(o);else if(a!==i)if(t.hasValue(o)){const e=t.getValue(o);!e.hasAnimated&&e.set(i)}else{const e=t.getStaticValue(o);t.addValue(o,ur(void 0!==e?e:i,{owner:t}))}}for(const o in n)void 0===e[o]&&t.removeValue(o);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){const t=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(t.initial=this.props.initial),t}const t={};for(let e=0;e<ta;e++){const n=m[e],r=this.props[n];(f(r)||!1===r)&&(t[n]=r)}return t}addVariantChild(t){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){e!==this.values.get(t)&&(this.removeValue(t),this.bindToMotionValue(t,e)),this.values.set(t,e),this.latestValues[t]=e.get()}removeValue(t){this.values.delete(t);const e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let n=this.values.get(t);return void 0===n&&void 0!==e&&(n=ur(e,{owner:this}),this.addValue(t,n)),n}readValue(t){var e;return void 0===this.latestValues[t]&&this.current?null!==(e=this.getBaseTargetFromProps(this.props,t))&&void 0!==e?e:this.readValueFromInstance(this.current,t,this.options):this.latestValues[t]}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){var e;const{initial:n}=this.props,r="string"===typeof n||"object"===typeof n?null===(e=Tt(this.props,n))||void 0===e?void 0:e[t]:void 0;if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,t);return void 0===o||j(o)?void 0!==this.initialValues[t]&&void 0===r?void 0:this.baseTarget[t]:o}on(t,e){return this.events[t]||(this.events[t]=new sr),this.events[t].add(e)}notify(t){if(this.events[t]){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this.events[t].notify(...n)}}}const na=["transition","transitionEnd"];class ra extends ea{sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){return t.style?t.style[e]:void 0}removeValueFromRenderState(t,e){let{vars:n,style:r}=e;delete n[t],delete r[t]}makeTargetAnimatableFromInstance(t,e,n){let{transition:o,transitionEnd:i}=t,a=(0,mt.A)(t,na),{transformValues:s}=e,l=function(t,e,n){const r={};for(const o in t){const t=br(o,e);if(void 0!==t)r[o]=t;else{const t=n.getValue(o);t&&(r[o]=t.get())}}return r}(a,o||{},this);if(s&&(i&&(i=s(i)),a&&(a=s(a)),l&&(l=s(l))),n){!function(t,e,n){var r,o;const i=Object.keys(e).filter(e=>!t.hasValue(e)),a=i.length;if(a)for(let s=0;s<a;s++){const a=i[s],l=e[a];let c=null;Array.isArray(l)&&(c=l[0]),null===c&&(c=null!==(o=null!==(r=n[a])&&void 0!==r?r:t.readValue(a))&&void 0!==o?o:e[a]),void 0!==c&&null!==c&&("string"===typeof c&&(or(c)||Qn(c))?c=parseFloat(c):!gr(c)&&an.test(l)&&(c=Xn(a,l)),t.addValue(a,ur(c,{owner:t})),void 0===n[a]&&(n[a]=c),null!==c&&t.setBaseTarget(a,c))}}(this,a,l);const t=((t,e,n,r)=>{const o=Di(t,e,r);return Wi(t,e=o.target,n,r=o.transitionEnd)})(this,a,l,i);i=t.transitionEnd,a=t.target}return(0,r.A)({transition:o,transitionEnd:i},a)}}class oa extends ra{constructor(){super(...arguments),this.type="html"}readValueFromInstance(t,e){if(L.has(e)){const t=$n(e);return t&&t.default||0}{const r=(n=t,window.getComputedStyle(n)),o=(F(e)?r.getPropertyValue(e):r[e])||0;return"string"===typeof o?o.trim():o}var n}measureInstanceViewportBox(t,e){let{transformPagePoint:n}=e;return xo(t,n)}build(t,e,n,r){st(t,e,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,e){return Pt(t,e)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;j(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent="".concat(t))}))}renderInstance(t,e,n,r){Ct(t,e,n,r)}}class ia extends ra{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(L.has(e)){const t=$n(e);return t&&t.default||0}return e=Et.has(e)?e:u(e),t.getAttribute(e)}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}scrapeMotionValuesFromProps(t,e){return Mt(t,e)}build(t,e,n,r){wt(t,e,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,e,n,r){Ot(t,e,0,r)}mount(t){this.isSVGTag=At(t.tagName),super.mount(t)}}const aa=(t,e)=>T(t)?new ia(e,{enableHardwareAcceleration:!1}):new oa(e,{enableHardwareAcceleration:!0}),sa={layout:{ProjectionNode:Ti,MeasureLayout:No}},la=(0,r.A)((0,r.A)((0,r.A)((0,r.A)({},Lr),de),Ni),sa),ca=P((t,e)=>function(t,e,n,o){let{forwardMotionProps:i=!1}=e;const a=T(t)?Ft:Ht;return(0,r.A)((0,r.A)({},a),{},{preloadedFeatures:n,useRender:St(i),createVisualElement:o,Component:t})}(t,e,la,aa))},14010:(t,e,n)=>{"use strict";n.d(e,{w:()=>l});var r=n(89379),o=n(70579),i=n(65043),a=n(25011),s=n(55003);function l(t){const{viewBox:e="0 0 24 24",d:n,displayName:l,defaultProps:c={}}=t,u=i.Children.toArray(t.path),d=(0,s.R)((t,i)=>(0,o.jsx)(a.I,(0,r.A)((0,r.A)((0,r.A)({ref:i,viewBox:e},c),t),{},{children:u.length?u:(0,o.jsx)("path",{fill:"currentColor",d:n})})));return d.displayName=l,d}},14202:(t,e)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,m={};function v(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||p}function y(){}function b(t,e,n){this.props=t,this.context=e,this.refs=m,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!==typeof t&&"function"!==typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},y.prototype=v.prototype;var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var w=Array.isArray,k=Object.prototype.hasOwnProperty,A={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function S(t,e,r){var o,i={},a=null,s=null;if(null!=e)for(o in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(a=""+e.key),e)k.call(e,o)&&!_.hasOwnProperty(o)&&(i[o]=e[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(t&&t.defaultProps)for(o in l=t.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:t,key:a,ref:s,props:i,_owner:A.current}}function C(t){return"object"===typeof t&&null!==t&&t.$$typeof===n}var E=/\/+/g;function O(t,e){return"object"===typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(t){return e[t]})}(""+t.key):e.toString(36)}function P(t,e,o,i,a){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var l=!1;if(null===t)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=t),t=""===i?"."+O(l,0):i,w(a)?(o="",null!=t&&(o=t.replace(E,"$&/")+"/"),P(a,e,o,"",function(t){return t})):null!=a&&(C(a)&&(a=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(E,"$&/")+"/")+t)),e.push(a)),1;if(l=0,i=""===i?".":i+":",w(t))for(var c=0;c<t.length;c++){var u=i+O(s=t[c],c);l+=P(s,e,o,u,a)}else if(u=function(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=f&&t[f]||t["@@iterator"])?t:null}(t),"function"===typeof u)for(t=u.call(t),c=0;!(s=t.next()).done;)l+=P(s=s.value,e,o,u=i+O(s,c++),a);else if("object"===s)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return l}function M(t,e,n){if(null==t)return t;var r=[],o=0;return P(t,r,"","",function(t){return e.call(n,t,o++)}),r}function T(t){if(-1===t._status){var e=t._result;(e=e()).then(function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)},function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)}),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var N={current:null},R={transition:null},L={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:R,ReactCurrentOwner:A};function D(){throw Error("act(...) is not supported in production builds of React.")}e.Children={map:M,forEach:function(t,e,n){M(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return M(t,function(){e++}),e},toArray:function(t){return M(t,function(t){return t})||[]},only:function(t){if(!C(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=o,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=u,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,e.act=D,e.cloneElement=function(t,e,r){if(null===t||void 0===t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=g({},t.props),i=t.key,a=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(a=e.ref,s=A.current),void 0!==e.key&&(i=""+e.key),t.type&&t.type.defaultProps)var l=t.type.defaultProps;for(c in e)k.call(e,c)&&!_.hasOwnProperty(c)&&(o[c]=void 0===e[c]&&void 0!==l?l[c]:e[c])}var c=arguments.length-2;if(1===c)o.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:n,type:t.type,key:i,ref:a,props:o,_owner:s}},e.createContext=function(t){return(t={$$typeof:l,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=S,e.createFactory=function(t){var e=S.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=C,e.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:T}},e.memo=function(t,e){return{$$typeof:d,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=R.transition;R.transition={};try{t()}finally{R.transition=e}},e.unstable_act=D,e.useCallback=function(t,e){return N.current.useCallback(t,e)},e.useContext=function(t){return N.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return N.current.useDeferredValue(t)},e.useEffect=function(t,e){return N.current.useEffect(t,e)},e.useId=function(){return N.current.useId()},e.useImperativeHandle=function(t,e,n){return N.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return N.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return N.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return N.current.useMemo(t,e)},e.useReducer=function(t,e,n){return N.current.useReducer(t,e,n)},e.useRef=function(t){return N.current.useRef(t)},e.useState=function(t){return N.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return N.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return N.current.useTransition()},e.version="18.3.1"},14258:(t,e,n)=>{"use strict";function r(t){const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s+/g,e)}(t.toString());return function(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(t){if(t.includes("\\."))return t;const e=!Number.isInteger(parseFloat(t.toString()));return e?t.replace(".","\\."):t}(e))}function o(t,e){return"var(".concat(t).concat(e?", ".concat(e):"",")")}function i(t){return r("--".concat(function(t){return[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t].filter(Boolean).join("-")}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")))}function a(t,e,n){const r=i(t,n);return{variable:r,reference:o(r,e)}}n.d(e,{Vg:()=>a})},14261:(t,e,n)=>{"use strict";n.d(e,{Y:()=>r});const r=(0,n(14010).w)({d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z",displayName:"ChevronLeftIcon"})},14566:(t,e,n)=>{"use strict";n.d(e,{o:()=>d});var r=n(89379),o=n(70579),i=n(79953),a=n(64844),s=n(3109),l=n(7547),c=n(55003),u=n(52695);const d=(0,c.R)(function(t,e){const n=(0,s.e)(),c=(0,l.Vh)((0,r.A)((0,r.A)({},t),{},{ref:e})),d=(0,i.H2)((0,r.A)({outline:"0",display:"flex",alignItems:"center",justifyContent:"center"},n.tab));return(0,o.jsx)(u.B.button,(0,r.A)((0,r.A)({},c),{},{className:(0,a.cx)("chakra-tabs__tab",t.className),__css:d}))});d.displayName="Tab"},14657:t=>{t.exports=function(t,e){return null==t?void 0:t[e]}},14735:(t,e,n)=>{"use strict";n.d(e,{B:()=>r});const r="undefined"!==typeof document},15071:(t,e,n)=>{"use strict";n.d(e,{r:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(64844),l=n(65043),c=n(78460),u=n(55003),d=n(52695);const h=["className"],f=(0,u.R)((t,e)=>{const{className:n}=t,u=(0,o.A)(t,h),{headerId:f,setHeaderMounted:p}=(0,c.k3)();(0,l.useEffect)(()=>(p(!0),()=>p(!1)),[p]);const g=(0,s.cx)("chakra-modal__header",n),m=(0,c.x5)(),v=(0,a.H2)((0,r.A)({flex:0},m.header));return(0,i.jsx)(d.B.header,(0,r.A)((0,r.A)({ref:e,className:g,id:f},u),{},{__css:v}))});f.displayName="ModalHeader"},15156:(t,e,n)=>{"use strict";function r(t){const e=Object.assign({},t);for(let n in e)void 0===e[n]&&delete e[n];return e}n.d(e,{o:()=>r})},15193:(t,e,n)=>{var r=n(16913),o=n(22761);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},15707:(t,e,n)=>{"use strict";n.d(e,{J:()=>f});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(25011),l=n(55003),c=n(36059),u=n(52695);const d=["children","isDisabled","__css"];function h(t){return(0,i.jsx)(s.I,(0,o.A)((0,o.A)({focusable:"false","aria-hidden":!0},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})}))}const f=(0,l.R)(function(t,e){const n=(0,c.V)("CloseButton",t),s=(0,a.M)(t),{children:l,isDisabled:f,__css:p}=s,g=(0,r.A)(s,d);return(0,i.jsx)(u.B.button,(0,o.A)((0,o.A)({type:"button","aria-label":"Close",ref:e,disabled:f,__css:(0,o.A)((0,o.A)((0,o.A)({},{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}),n),p)},g),{},{children:l||(0,i.jsx)(h,{width:"1em",height:"1em"})}))});f.displayName="CloseButton"},15983:(t,e,n)=>{"use strict";n.d(e,{R:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(9957),l=n(52695);const c=["bg","bgColor","backgroundColor","shadow","boxShadow","shadowColor"],u=(t,e)=>e?"".concat(t,".").concat(e,", ").concat(e):void 0;function d(t){var e;const{bg:n,bgColor:d,backgroundColor:h,shadow:f,boxShadow:p,shadowColor:g}=t,m=(0,o.A)(t,c),{getArrowProps:v,getArrowInnerProps:y}=(0,s.C_)(),b=(0,s.jm)(),x=null!==(e=null!==n&&void 0!==n?n:d)&&void 0!==e?e:h,w=null!==f&&void 0!==f?f:p;return(0,i.jsx)(l.B.div,(0,r.A)((0,r.A)({},v()),{},{className:"chakra-popover__arrow-positioner",children:(0,i.jsx)(l.B.div,(0,r.A)((0,r.A)({className:(0,a.cx)("chakra-popover__arrow",t.className)},y(m)),{},{__css:(0,r.A)({"--popper-arrow-shadow-color":u("colors",g),"--popper-arrow-bg":u("colors",x),"--popper-arrow-shadow":u("shadows",w)},b.arrow)}))}))}d.displayName="PopoverArrow"},16095:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},16399:(t,e,n)=>{var r=n(5538),o=n(43668),i=n(69987),a=n(45752),s=n(26924),l=n(54052),c=n(44543),u=n(51268),d="[object Arguments]",h="[object Array]",f="[object Object]",p=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,g,m,v){var y=l(t),b=l(e),x=y?h:s(t),w=b?h:s(e),k=(x=x==d?f:x)==f,A=(w=w==d?f:w)==f,_=x==w;if(_&&c(t)){if(!c(e))return!1;y=!0,k=!1}if(_&&!k)return v||(v=new r),y||u(t)?o(t,e,n,g,m,v):i(t,e,x,n,g,m,v);if(!(1&n)){var S=k&&p.call(t,"__wrapped__"),C=A&&p.call(e,"__wrapped__");if(S||C){var E=S?t.value():t,O=C?e.value():e;return v||(v=new r),m(E,O,n,g,v)}}return!!_&&(v||(v=new r),a(t,e,n,g,m,v))}},16913:(t,e,n)=>{var r=n(9812),o=n(34552),i=n(16095),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},16935:(t,e,n)=>{"use strict";n.d(e,{a1:()=>a,bk:()=>i,fi:()=>o});var r=n(32041);const o=Object.freeze(["base","sm","md","lg","xl","2xl"]);function i(t,e){return Array.isArray(t)?t.map(t=>null===t?null:e(t)):(0,r.Gv)(t)?Object.keys(t).reduce((n,r)=>(n[r]=e(t[r]),n),{}):null!=t?e(t):null}function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o;const n={};return t.forEach((t,r)=>{const o=e[r];null!=t&&(n[o]=t)}),n}},17212:(t,e,n)=>{"use strict";n.d(e,{i:()=>i});var r=n(65043),o=n(80940);function i(t){const{value:e,defaultValue:n,onChange:i,shouldUpdate:a=(t,e)=>t!==e}=t,s=(0,o.c)(i),l=(0,o.c)(a),[c,u]=(0,r.useState)(n),d=void 0!==e,h=d?e:c,f=(0,o.c)(t=>{const e="function"===typeof t?t(h):t;l(h,e)&&(d||u(e),s(e))},[d,s,h,l]);return[h,f]}},17324:t=>{t.exports=function(t,e,n,r){var o=n?n.call(r,t,e):void 0;if(void 0!==o)return!!o;if(t===e)return!0;if("object"!==typeof t||!t||"object"!==typeof e||!e)return!1;var i=Object.keys(t),a=Object.keys(e);if(i.length!==a.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(e),l=0;l<i.length;l++){var c=i[l];if(!s(c))return!1;var u=t[c],d=e[c];if(!1===(o=n?n.call(r,u,d,c):void 0)||void 0===o&&u!==d)return!1}return!0}},17401:(t,e,n)=>{"use strict";n.d(e,{Y:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"InfoOutlineIcon",path:(0,r.jsxs)("g",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"square",strokeWidth:"2",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",fill:"none",r:"11",stroke:"currentColor"}),(0,r.jsx)("line",{fill:"none",x1:"11.959",x2:"11.959",y1:"11",y2:"17"}),(0,r.jsx)("circle",{cx:"11.959",cy:"7",r:"1",stroke:"none"})]})})},17529:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},17533:(t,e,n)=>{"use strict";n.d(e,{R:()=>r});const r=t=>{const{condition:e,message:n}=t}},17685:(t,e,n)=>{"use strict";function r(){return{onFetch:t=>{t.fetchFn=()=>{var e,n,r,a,s,l;const c=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,u=null==(r=t.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,d=null==u?void 0:u.pageParam,h="forward"===(null==u?void 0:u.direction),f="backward"===(null==u?void 0:u.direction),p=(null==(s=t.state.data)?void 0:s.pages)||[],g=(null==(l=t.state.data)?void 0:l.pageParams)||[];let m=g,v=!1;const y=t.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+t.options.queryHash+"'")),b=(t,e,n,r)=>(m=r?[e,...m]:[...m,e],r?[n,...t]:[...t,n]),x=(e,n,r,o)=>{if(v)return Promise.reject("Cancelled");if("undefined"===typeof r&&!n&&e.length)return Promise.resolve(e);const i={queryKey:t.queryKey,pageParam:r,meta:t.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>{var e,n;return null!=(e=t.signal)&&e.aborted?v=!0:null==(n=t.signal)||n.addEventListener("abort",()=>{v=!0}),t.signal}});const s=y(i);return Promise.resolve(s).then(t=>b(e,r,t,o))};let w;if(p.length)if(h){const e="undefined"!==typeof d,n=e?d:o(t.options,p);w=x(p,e,n)}else if(f){const e="undefined"!==typeof d,n=e?d:i(t.options,p);w=x(p,e,n,!0)}else{m=[];const e="undefined"===typeof t.options.getNextPageParam;w=!c||!p[0]||c(p[0],0,p)?x([],e,g[0]):Promise.resolve(b([],g[0],p[0]));for(let n=1;n<p.length;n++)w=w.then(r=>{if(!c||!p[n]||c(p[n],n,p)){const i=e?g[n]:o(t.options,r);return x(r,e,i)}return Promise.resolve(b(r,g[n],p[n]))})}else w=x([]);return w.then(t=>({pages:t,pageParams:m}))}}}}function o(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function i(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}function a(t,e){if(t.getNextPageParam&&Array.isArray(e)){const n=o(t,e);return"undefined"!==typeof n&&null!==n&&!1!==n}}function s(t,e){if(t.getPreviousPageParam&&Array.isArray(e)){const n=i(t,e);return"undefined"!==typeof n&&null!==n&&!1!==n}}n.d(e,{PL:()=>r,RQ:()=>s,rB:()=>a})},17813:(t,e,n)=>{"use strict";n.d(e,{g:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"SunIcon",path:(0,r.jsxs)("g",{strokeLinejoin:"round",strokeLinecap:"round",strokeWidth:"2",fill:"none",stroke:"currentColor",children:[(0,r.jsx)("circle",{cx:"12",cy:"12",r:"5"}),(0,r.jsx)("path",{d:"M12 1v2"}),(0,r.jsx)("path",{d:"M12 21v2"}),(0,r.jsx)("path",{d:"M4.22 4.22l1.42 1.42"}),(0,r.jsx)("path",{d:"M18.36 18.36l1.42 1.42"}),(0,r.jsx)("path",{d:"M1 12h2"}),(0,r.jsx)("path",{d:"M21 12h2"}),(0,r.jsx)("path",{d:"M4.22 19.78l1.42-1.42"}),(0,r.jsx)("path",{d:"M18.36 5.64l1.42-1.42"})]})})},17841:(t,e,n)=>{"use strict";n.d(e,{D:()=>i});var r=n(12432),o=n(65043);function i(){const t=(0,o.useContext)(r.T);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}},18864:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("FlipHorizontal",[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]])},18902:(t,e,n)=>{var r=n(64816),o=n(86179),i=n(46704);function a(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new r;++e<n;)this.add(t[e])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,t.exports=a},18943:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(12440),o=n(47891),i=n(62316);function a(t,e,n){const a=(0,i.a)(t,null===n||void 0===n?void 0:n.in),s=a.getFullYear(),l=a.getDate(),c=(0,r.w)((null===n||void 0===n?void 0:n.in)||t,0);c.setFullYear(s,e,15),c.setHours(0,0,0,0);const u=(0,o.P)(c);return a.setMonth(e,Math.min(l,u)),a}},19077:(t,e,n)=>{"use strict";n.d(e,{T:()=>g});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(77402),c=n(73635),u=n(55003),d=n(36059),h=n(52695);const f=["className","rows"],p=["h","minH","height","minHeight"],g=(0,u.R)((t,e)=>{const n=(0,d.V)("Textarea",t),u=(0,a.M)(t),{className:g,rows:m}=u,v=(0,o.A)(u,f),y=(0,c.t)(v),b=m?(0,l.c)(n,p):n;return(0,i.jsx)(h.B.textarea,(0,r.A)((0,r.A)({ref:e,rows:m},y),{},{className:(0,s.cx)("chakra-textarea",g),__css:b}))});g.displayName="Textarea"},19219:(t,e,n)=>{"use strict";n.d(e,{G:()=>o});var r=n(62316);function o(t){const e=(0,r.a)(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}},19504:(t,e,n)=>{"use strict";n.d(e,{h:()=>s});var r=n(50849),o=n(12440),i=n(1620),a=n(62316);function s(t,e){var n,s,l,c,u,d;const h=(0,a.a)(t,null===e||void 0===e?void 0:e.in),f=h.getFullYear(),p=(0,r.q)(),g=null!==(n=null!==(s=null!==(l=null!==(c=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==c?c:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:p.firstWeekContainsDate)&&void 0!==s?s:null===(d=p.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,m=(0,o.w)((null===e||void 0===e?void 0:e.in)||t,0);m.setFullYear(f+1,0,g),m.setHours(0,0,0,0);const v=(0,i.k)(m,e),y=(0,o.w)((null===e||void 0===e?void 0:e.in)||t,0);y.setFullYear(f,0,g),y.setHours(0,0,0,0);const b=(0,i.k)(y,e);return+h>=+v?f+1:+h>=+b?f:f-1}},19542:(t,e,n)=>{"use strict";n.d(e,{z:()=>k});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(63935),l=n(78460),c=n(27264),u=n(96938),d=n(13729),h=n(65043),f=n(42615);const p=["direction","style","unmountOnExit","in","className","transition","transitionEnd","delay","motionProps","animatePresenceProps"],g={exit:{duration:.15,ease:f.xf.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},m={exit:t=>{var e;let{direction:n,transition:o,transitionEnd:i,delay:a}=t;const{exit:s}=(0,f.Jv)({direction:n});return(0,r.A)((0,r.A)({},s),{},{transition:null!==(e=null===o||void 0===o?void 0:o.exit)&&void 0!==e?e:f.yA.exit(g.exit,a),transitionEnd:null===i||void 0===i?void 0:i.exit})},enter:t=>{var e;let{direction:n,transitionEnd:o,transition:i,delay:a}=t;const{enter:s}=(0,f.Jv)({direction:n});return(0,r.A)((0,r.A)({},s),{},{transition:null!==(e=null===i||void 0===i?void 0:i.enter)&&void 0!==e?e:f.yA.enter(g.enter,a),transitionEnd:null===o||void 0===o?void 0:o.enter})}},v=(0,h.forwardRef)(function(t,e){const{direction:n="right",style:s,unmountOnExit:l,in:c,className:h,transition:g,transitionEnd:v,delay:y,motionProps:b,animatePresenceProps:x}=t,w=(0,o.A)(t,p),k=(0,f.Jv)({direction:n}),A=Object.assign({position:"fixed"},k.position,s),_=!l||c&&l,S=c||l?"enter":"exit",C={transitionEnd:v,transition:g,direction:n,delay:y};return(0,i.jsx)(u.N,(0,r.A)((0,r.A)({},x),{},{custom:C,children:_&&(0,i.jsx)(d.P.div,(0,r.A)((0,r.A)({},w),{},{ref:e,initial:"exit",className:(0,a.cx)("chakra-slide",h),animate:S,exit:"exit",custom:C,variants:m,style:A},b))}))});v.displayName="Slide";var y=n(52695),b=n(55003);const x=["className","children","motionProps","containerProps"],w=(0,y.B)(v),k=(0,b.R)((t,e)=>{const{className:n,children:u,motionProps:d,containerProps:h}=t,f=(0,o.A)(t,x),{getDialogProps:p,getDialogContainerProps:g,isOpen:m}=(0,l.k3)(),v=p(f,e),b=g(h),k=(0,a.cx)("chakra-modal__content",n),A=(0,l.x5)(),_=(0,r.A)({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},A.dialog),S=(0,r.A)({display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0},A.dialogContainer),{placement:C}=(0,s.gJ)();return(0,i.jsx)(c.u,{children:(0,i.jsx)(y.B.div,(0,r.A)((0,r.A)({},b),{},{className:"chakra-modal__content-container",__css:S,children:(0,i.jsx)(w,(0,r.A)((0,r.A)({motionProps:d,direction:C,in:m,className:k},v),{},{__css:_,children:u}))}))})});k.displayName="DrawerContent"},19853:(t,e,n)=>{var r=n(26989);t.exports=function(t,e){return r(t,e)}},20116:(t,e,n)=>{"use strict";n.d(e,{$:()=>c,s:()=>l});var r=n(89379),o=n(20685),i=n(49939),a=n(77264),s=n(87988);class l extends a.k{constructor(t){super(),this.defaultOptions=t.defaultOptions,this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.logger=t.logger||o.U,this.observers=[],this.state=t.state||c(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=(0,r.A)((0,r.A)({},this.defaultOptions),t),this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(t){this.dispatch({type:"setState",state:t})}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.observers=this.observers.filter(e=>e!==t),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var t,e;return null!=(t=null==(e=this.retryer)?void 0:e.continue())?t:this.execute()}async execute(){const t=()=>{var t;return this.retryer=(0,s.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(t,e)=>{this.dispatch({type:"failed",failureCount:t,error:e})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},e="loading"===this.state.status;try{var n,r,o,i,a,l,c,u;if(!e){var d,h,f,p;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(d=(h=this.mutationCache.config).onMutate)?void 0:d.call(h,this.state.variables,this));const t=await(null==(f=(p=this.options).onMutate)?void 0:f.call(p,this.state.variables));t!==this.state.context&&this.dispatch({type:"loading",context:t,variables:this.state.variables})}const s=await t();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,s,this.state.variables,this.state.context,this)),await(null==(o=(i=this.options).onSuccess)?void 0:o.call(i,s,this.state.variables,this.state.context)),await(null==(a=(l=this.mutationCache.config).onSettled)?void 0:a.call(l,s,null,this.state.variables,this.state.context,this)),await(null==(c=(u=this.options).onSettled)?void 0:c.call(u,s,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:s}),s}catch(A){try{var g,m,v,y,b,x,w,k;throw await(null==(g=(m=this.mutationCache.config).onError)?void 0:g.call(m,A,this.state.variables,this.state.context,this)),await(null==(v=(y=this.options).onError)?void 0:v.call(y,A,this.state.variables,this.state.context)),await(null==(b=(x=this.mutationCache.config).onSettled)?void 0:b.call(x,void 0,A,this.state.variables,this.state.context,this)),await(null==(w=(k=this.options).onSettled)?void 0:w.call(k,void 0,A,this.state.variables,this.state.context)),A}finally{this.dispatch({type:"error",error:A})}}}dispatch(t){this.state=(e=>{switch(t.type){case"failed":return(0,r.A)((0,r.A)({},e),{},{failureCount:t.failureCount,failureReason:t.error});case"pause":return(0,r.A)((0,r.A)({},e),{},{isPaused:!0});case"continue":return(0,r.A)((0,r.A)({},e),{},{isPaused:!1});case"loading":return(0,r.A)((0,r.A)({},e),{},{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,s.v_)(this.options.networkMode),status:"loading",variables:t.variables});case"success":return(0,r.A)((0,r.A)({},e),{},{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return(0,r.A)((0,r.A)({},e),{},{data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"});case"setState":return(0,r.A)((0,r.A)({},e),t.state)}})(this.state),i.j.batch(()=>{this.observers.forEach(e=>{e.onMutationUpdate(t)}),this.mutationCache.notify({mutation:this,type:"updated",action:t})})}}function c(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0}}},20563:(t,e,n)=>{"use strict";n.d(e,{v:()=>o});var r=n(62316);function o(t,e,n){const o=+(0,r.a)(t,null===n||void 0===n?void 0:n.in),[i,a]=[+(0,r.a)(e.start,null===n||void 0===n?void 0:n.in),+(0,r.a)(e.end,null===n||void 0===n?void 0:n.in)].sort((t,e)=>t-e);return o>=i&&o<=a}},20685:(t,e,n)=>{"use strict";n.d(e,{U:()=>r});const r=console},22107:(t,e,n)=>{"use strict";n.d(e,{a:()=>r});const r=(0,n(52695).B)("div");r.displayName="Box"},22205:(t,e,n)=>{"use strict";n.d(e,{Z:()=>y});var r=n(80045),o=n(89379),i=n(70579),a=n(90221),s=n(92970),l=n(65043),c=n(97950),u=n(41271);const d=["containerRef"],[h,f]=(0,s.q)({strict:!1,name:"PortalContext"}),p="chakra-portal",g=t=>(0,i.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0},children:t.children}),m=t=>{const{appendToParentPortal:e,children:n}=t,[r,o]=(0,l.useState)(null),s=(0,l.useRef)(null),[,d]=(0,l.useState)({});(0,l.useEffect)(()=>d({}),[]);const m=f(),v=(0,u.T)();(0,a.U)(()=>{if(!r)return;const t=r.ownerDocument,n=e&&null!==m&&void 0!==m?m:t.body;if(!n)return;s.current=t.createElement("div"),s.current.className=p,n.appendChild(s.current),d({});const o=s.current;return()=>{n.contains(o)&&n.removeChild(o)}},[r]);const y=null!==v&&void 0!==v&&v.zIndex?(0,i.jsx)(g,{zIndex:null===v||void 0===v?void 0:v.zIndex,children:n}):n;return s.current?(0,c.createPortal)((0,i.jsx)(h,{value:s.current,children:y}),s.current):(0,i.jsx)("span",{ref:t=>{t&&o(t)}})},v=t=>{const{children:e,containerRef:n,appendToParentPortal:r}=t,o=n.current,s=null!==o&&void 0!==o?o:"undefined"!==typeof window?document.body:void 0,u=(0,l.useMemo)(()=>{const t=null===o||void 0===o?void 0:o.ownerDocument.createElement("div");return t&&(t.className=p),t},[o]),[,d]=(0,l.useState)({});return(0,a.U)(()=>d({}),[]),(0,a.U)(()=>{if(u&&s)return s.appendChild(u),()=>{s.removeChild(u)}},[u,s]),s&&u?(0,c.createPortal)((0,i.jsx)(h,{value:r?u:null,children:e}),u):null};function y(t){const e=(0,o.A)({appendToParentPortal:!0},t),{containerRef:n}=e,a=(0,r.A)(e,d);return n?(0,i.jsx)(v,(0,o.A)({containerRef:n},a)):(0,i.jsx)(m,(0,o.A)({},a))}y.className=p,y.selector=".chakra-portal",y.displayName="Portal"},22662:(t,e,n)=>{var r=n(95575);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},22740:t=>{"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var l;if(void 0===e)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(e.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},22761:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},22777:(t,e,n)=>{var r=n(15193),o=n(22761),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!s.call(t,"callee")};t.exports=l},22929:(t,e,n)=>{var r=n(56552).Uint8Array;t.exports=r},23107:(t,e,n)=>{"use strict";function r(t){const{wasSelected:e,enabled:n,isSelected:r,mode:o="unmount"}=t;return!n||(!!r||!("keepMounted"!==o||!e))}n.d(e,{q:()=>r})},23913:(t,e,n)=>{"use strict";n.d(e,{A:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(64844),l=n(65043),c=n(40493),u=n(25721),d=n(55003),h=n(52695);const f=["htmlProps"],p=(0,d.R)(function(t,e){const{children:n,className:d}=t,p=(0,u.r9)(t),{htmlProps:g}=p,m=(0,o.A)(p,f),v=(0,c.EF)(),y=(0,a.H2)((0,r.A)((0,r.A)({},v.container),{},{overflowAnchor:"none"})),b=(0,l.useMemo)(()=>m,[m]);return(0,i.jsx)(c.TG,{value:b,children:(0,i.jsx)(h.B.div,(0,r.A)((0,r.A)({ref:e},g),{},{className:(0,s.cx)("chakra-accordion__item",d),__css:y,children:"function"===typeof n?n({isExpanded:!!m.isOpen,isDisabled:!!m.isDisabled}):n}))})});p.displayName="AccordionItem"},24190:(t,e,n)=>{var r=n(61340);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},24330:(t,e,n)=>{"use strict";n.d(e,{b:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(65647),l=n(55003),c=n(52695);const u=["className"],d=(0,l.R)(function(t,e){const{className:n}=t,l=(0,o.A)(t,u),d=(0,s.Q)();return(0,i.jsx)(c.B.div,(0,r.A)({ref:e,className:(0,a.cx)("chakra-card__body",n),__css:d.body},l))})},24405:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]])},24495:(t,e,n)=>{"use strict";n.d(e,{s:()=>r});const r=(0,n(14010).w)({d:"M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",displayName:"ArrowForwardIcon"})},24653:(t,e,n)=>{"use strict";n.d(e,{H:()=>a});var r=n(84524),o=n(12440),i=n(62316);function a(t,e){var n;const a=()=>(0,o.w)(null===e||void 0===e?void 0:e.in,NaN),g=null!==(n=null===e||void 0===e?void 0:e.additionalDigits)&&void 0!==n?n:2,m=function(t){const e={},n=t.split(s.dateTimeDelimiter);let r;if(n.length>2)return e;/:/.test(n[0])?r=n[0]:(e.date=n[0],r=n[1],s.timeZoneDelimiter.test(e.date)&&(e.date=t.split(s.timeZoneDelimiter)[0],r=t.substr(e.date.length,t.length)));if(r){const t=s.timezone.exec(r);t?(e.time=r.replace(t[1],""),e.timezone=t[1]):e.time=r}return e}(t);let v;if(m.date){const t=function(t,e){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+e)+"})|(\\d{2}|[+-]\\d{"+(2+e)+"})$)"),r=t.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,i=r[2]?parseInt(r[2]):null;return{year:null===i?o:100*i,restDateString:t.slice((r[1]||r[2]).length)}}(m.date,g);v=function(t,e){if(null===e)return new Date(NaN);const n=t.match(l);if(!n)return new Date(NaN);const r=!!n[4],o=d(n[1]),i=d(n[2])-1,a=d(n[3]),s=d(n[4]),c=d(n[5])-1;if(r)return function(t,e,n){return e>=1&&e<=53&&n>=0&&n<=6}(0,s,c)?function(t,e,n){const r=new Date(0);r.setUTCFullYear(t,0,4);const o=r.getUTCDay()||7,i=7*(e-1)+n+1-o;return r.setUTCDate(r.getUTCDate()+i),r}(e,s,c):new Date(NaN);{const t=new Date(0);return function(t,e,n){return e>=0&&e<=11&&n>=1&&n<=(f[e]||(p(t)?29:28))}(e,i,a)&&function(t,e){return e>=1&&e<=(p(t)?366:365)}(e,o)?(t.setUTCFullYear(e,i,Math.max(o,a)),t):new Date(NaN)}}(t.restDateString,t.year)}if(!v||isNaN(+v))return a();const y=+v;let b,x=0;if(m.time&&(x=function(t){const e=t.match(c);if(!e)return NaN;const n=h(e[1]),o=h(e[2]),i=h(e[3]);if(!function(t,e,n){if(24===t)return 0===e&&0===n;return n>=0&&n<60&&e>=0&&e<60&&t>=0&&t<25}(n,o,i))return NaN;return n*r.s0+o*r.Cg+1e3*i}(m.time),isNaN(x)))return a();if(!m.timezone){const t=new Date(y+x),n=(0,i.a)(0,null===e||void 0===e?void 0:e.in);return n.setFullYear(t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()),n.setHours(t.getUTCHours(),t.getUTCMinutes(),t.getUTCSeconds(),t.getUTCMilliseconds()),n}return b=function(t){if("Z"===t)return 0;const e=t.match(u);if(!e)return 0;const n="+"===e[1]?-1:1,o=parseInt(e[2]),i=e[3]&&parseInt(e[3])||0;if(!function(t,e){return e>=0&&e<=59}(0,i))return NaN;return n*(o*r.s0+i*r.Cg)}(m.timezone),isNaN(b)?a():(0,i.a)(y+x+b,null===e||void 0===e?void 0:e.in)}const s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\d{2})(?::?(\d{2}))?$/;function d(t){return t?parseInt(t):1}function h(t){return t&&parseFloat(t.replace(",","."))||0}const f=[31,null,31,30,31,30,31,31,30,31,30,31];function p(t){return t%400===0||t%4===0&&t%100!==0}},24858:(t,e,n)=>{"use strict";n.d(e,{mN:()=>Lt});var r=n(89379),o=n(80045),i=n(65043);const a=["_f"],s=["name"],l=["_f"],c=["ref","message","type"],u=["formControl"];var d=t=>"checkbox"===t.type,h=t=>t instanceof Date,f=t=>null==t;const p=t=>"object"===typeof t;var g=t=>!f(t)&&!Array.isArray(t)&&p(t)&&!h(t),m=t=>g(t)&&t.target?d(t.target)?t.target.checked:t.target.value:t,v=(t,e)=>t.has((t=>t.substring(0,t.search(/\.\d+(\.|$)/))||t)(e)),y=t=>{const e=t.constructor&&t.constructor.prototype;return g(e)&&e.hasOwnProperty("isPrototypeOf")},b="undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement&&"undefined"!==typeof document;function x(t){let e;const n=Array.isArray(t),r="undefined"!==typeof FileList&&t instanceof FileList;if(t instanceof Date)e=new Date(t);else{if(b&&(t instanceof Blob||r)||!n&&!g(t))return t;if(e=n?[]:Object.create(Object.getPrototypeOf(t)),n||y(t))for(const n in t)t.hasOwnProperty(n)&&(e[n]=x(t[n]));else e=t}return e}var w=t=>/^\w*$/.test(t),k=t=>void 0===t,A=t=>Array.isArray(t)?t.filter(Boolean):[],_=t=>A(t.replace(/["|']|\]/g,"").split(/\.|\[/)),S=(t,e,n)=>{if(!e||!g(t))return n;const r=(w(e)?[e]:_(e)).reduce((t,e)=>f(t)?t:t[e],t);return k(r)||r===t?k(t[e])?n:t[e]:r},C=t=>"boolean"===typeof t,E=(t,e,n)=>{let r=-1;const o=w(e)?[e]:_(e),i=o.length,a=i-1;for(;++r<i;){const e=o[r];let i=n;if(r!==a){const n=t[e];i=g(n)||Array.isArray(n)?n:isNaN(+o[r+1])?{}:[]}if("__proto__"===e||"constructor"===e||"prototype"===e)return;t[e]=i,t=t[e]}};const O={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change"},P={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},M="max",T="min",N="maxLength",R="minLength",L="pattern",D="required",j="validate",I=i.createContext(null);I.displayName="HookFormContext";var z=function(t,e,n){let r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];const o={defaultValues:e._defaultValues};for(const i in t)Object.defineProperty(o,i,{get:()=>{const o=i;return e._proxyFormState[o]!==P.all&&(e._proxyFormState[o]=!r||P.all),n&&(n[o]=!0),t[o]}});return o};const B="undefined"!==typeof window?i.useLayoutEffect:i.useEffect;var F=t=>"string"===typeof t,H=(t,e,n,r,o)=>F(t)?(r&&e.watch.add(t),S(n,t,o)):Array.isArray(t)?t.map(t=>(r&&e.watch.add(t),S(n,t))):(r&&(e.watchAll=!0),n),V=t=>f(t)||!p(t);function q(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:new WeakSet;if(V(t)||V(e))return t===e;if(h(t)&&h(e))return t.getTime()===e.getTime();const r=Object.keys(t),o=Object.keys(e);if(r.length!==o.length)return!1;if(n.has(t)||n.has(e))return!0;n.add(t),n.add(e);for(const i of r){const r=t[i];if(!o.includes(i))return!1;if("ref"!==i){const t=e[i];if(h(r)&&h(t)||g(r)&&g(t)||Array.isArray(r)&&Array.isArray(t)?!q(r,t,n):r!==t)return!1}}return!0}var U=(t,e,n,o,i)=>e?(0,r.A)((0,r.A)({},n[t]),{},{types:(0,r.A)((0,r.A)({},n[t]&&n[t].types?n[t].types:{}),{},{[o]:i||!0})}):{},W=t=>Array.isArray(t)?t:[t],G=()=>{let t=[];return{get observers(){return t},next:e=>{for(const n of t)n.next&&n.next(e)},subscribe:e=>(t.push(e),{unsubscribe:()=>{t=t.filter(t=>t!==e)}}),unsubscribe:()=>{t=[]}}},Y=t=>g(t)&&!Object.keys(t).length,K=t=>"file"===t.type,$=t=>"function"===typeof t,X=t=>{if(!b)return!1;const e=t?t.ownerDocument:0;return t instanceof(e&&e.defaultView?e.defaultView.HTMLElement:HTMLElement)},Q=t=>"select-multiple"===t.type,Z=t=>"radio"===t.type,J=t=>Z(t)||d(t),tt=t=>X(t)&&t.isConnected;function et(t,e){const n=Array.isArray(e)?e:w(e)?[e]:_(e),r=1===n.length?t:function(t,e){const n=e.slice(0,-1).length;let r=0;for(;r<n;)t=k(t)?r++:t[e[r++]];return t}(t,n),o=n.length-1,i=n[o];return r&&delete r[i],0!==o&&(g(r)&&Y(r)||Array.isArray(r)&&function(t){for(const e in t)if(t.hasOwnProperty(e)&&!k(t[e]))return!1;return!0}(r))&&et(t,n.slice(0,-1)),t}var nt=t=>{for(const e in t)if($(t[e]))return!0;return!1};function rt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=Array.isArray(t);if(g(t)||n)for(const r in t)Array.isArray(t[r])||g(t[r])&&!nt(t[r])?(e[r]=Array.isArray(t[r])?[]:{},rt(t[r],e[r])):f(t[r])||(e[r]=!0);return e}function ot(t,e,n){const o=Array.isArray(t);if(g(t)||o)for(const i in t)Array.isArray(t[i])||g(t[i])&&!nt(t[i])?k(e)||V(n[i])?n[i]=Array.isArray(t[i])?rt(t[i],[]):(0,r.A)({},rt(t[i])):ot(t[i],f(e)?{}:e[i],n[i]):n[i]=!q(t[i],e[i]);return n}var it=(t,e)=>ot(t,e,rt(e));const at={value:!1,isValid:!1},st={value:!0,isValid:!0};var lt=t=>{if(Array.isArray(t)){if(t.length>1){const e=t.filter(t=>t&&t.checked&&!t.disabled).map(t=>t.value);return{value:e,isValid:!!e.length}}return t[0].checked&&!t[0].disabled?t[0].attributes&&!k(t[0].attributes.value)?k(t[0].value)||""===t[0].value?st:{value:t[0].value,isValid:!0}:st:at}return at},ct=(t,e)=>{let{valueAsNumber:n,valueAsDate:r,setValueAs:o}=e;return k(t)?t:n?""===t?NaN:t?+t:t:r&&F(t)?new Date(t):o?o(t):t};const ut={isValid:!1,value:null};var dt=t=>Array.isArray(t)?t.reduce((t,e)=>e&&e.checked&&!e.disabled?{isValid:!0,value:e.value}:t,ut):ut;function ht(t){const e=t.ref;return K(e)?e.files:Z(e)?dt(t.refs).value:Q(e)?[...e.selectedOptions].map(t=>{let{value:e}=t;return e}):d(e)?lt(t.refs).value:ct(k(e.value)?t.ref.value:e.value,t)}var ft=(t,e,n,r)=>{const o={};for(const i of t){const t=S(e,i);t&&E(o,i,t._f)}return{criteriaMode:n,names:[...t],fields:o,shouldUseNativeValidation:r}},pt=t=>t instanceof RegExp,gt=t=>k(t)?t:pt(t)?t.source:g(t)?pt(t.value)?t.value.source:t.value:t,mt=t=>({isOnSubmit:!t||t===P.onSubmit,isOnBlur:t===P.onBlur,isOnChange:t===P.onChange,isOnAll:t===P.all,isOnTouch:t===P.onTouched});const vt="AsyncFunction";var yt=t=>!!t&&!!t.validate&&!!($(t.validate)&&t.validate.constructor.name===vt||g(t.validate)&&Object.values(t.validate).find(t=>t.constructor.name===vt)),bt=t=>t.mount&&(t.required||t.min||t.max||t.maxLength||t.minLength||t.pattern||t.validate),xt=(t,e,n)=>!n&&(e.watchAll||e.watch.has(t)||[...e.watch].some(e=>t.startsWith(e)&&/^\.\w+/.test(t.slice(e.length))));const wt=(t,e,n,r)=>{for(const i of n||Object.keys(t)){const n=S(t,i);if(n){const{_f:t}=n,s=(0,o.A)(n,a);if(t){if(t.refs&&t.refs[0]&&e(t.refs[0],i)&&!r)return!0;if(t.ref&&e(t.ref,t.name)&&!r)return!0;if(wt(s,e))break}else if(g(s)&&wt(s,e))break}}};function kt(t,e,n){const r=S(t,n);if(r||w(n))return{error:r,name:n};const o=n.split(".");for(;o.length;){const r=o.join("."),i=S(e,r),a=S(t,r);if(i&&!Array.isArray(i)&&n!==r)return{name:n};if(a&&a.type)return{name:r,error:a};if(a&&a.root&&a.root.type)return{name:"".concat(r,".root"),error:a.root};o.pop()}return{name:n}}var At=(t,e,n,r)=>{n(t);const{name:i}=t,a=(0,o.A)(t,s);return Y(a)||Object.keys(a).length>=Object.keys(e).length||Object.keys(a).find(t=>e[t]===(!r||P.all))},_t=(t,e,n)=>!t||!e||t===e||W(t).some(t=>t&&(n?t===e:t.startsWith(e)||e.startsWith(t))),St=(t,e,n,r,o)=>!o.isOnAll&&(!n&&o.isOnTouch?!(e||t):(n?r.isOnBlur:o.isOnBlur)?!t:!(n?r.isOnChange:o.isOnChange)||t),Ct=(t,e)=>!A(S(t,e)).length&&et(t,e),Et=(t,e,n)=>{const r=W(S(t,n));return E(r,"root",e[n]),E(t,n,r),t},Ot=t=>F(t);function Pt(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"validate";if(Ot(t)||Array.isArray(t)&&t.every(Ot)||C(t)&&!t)return{type:n,message:Ot(t)?t:"",ref:e}}var Mt=t=>g(t)&&!pt(t)?t:{value:t,message:""},Tt=async(t,e,n,o,i,a)=>{const{ref:s,refs:l,required:c,maxLength:u,minLength:h,min:p,max:m,pattern:v,validate:y,name:b,valueAsNumber:x,mount:w}=t._f,A=S(n,b);if(!w||e.has(b))return{};const _=l?l[0]:s,E=t=>{i&&_.reportValidity&&(_.setCustomValidity(C(t)?"":t||""),_.reportValidity())},O={},P=Z(s),I=d(s),z=P||I,B=(x||K(s))&&k(s.value)&&k(A)||X(s)&&""===s.value||""===A||Array.isArray(A)&&!A.length,H=U.bind(null,b,o,O),V=function(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:N,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:R;const a=t?e:n;O[b]=(0,r.A)({type:t?o:i,message:a,ref:s},H(t?o:i,a))};if(a?!Array.isArray(A)||!A.length:c&&(!z&&(B||f(A))||C(A)&&!A||I&&!lt(l).isValid||P&&!dt(l).isValid)){const{value:t,message:e}=Ot(c)?{value:!!c,message:c}:Mt(c);if(t&&(O[b]=(0,r.A)({type:D,message:e,ref:_},H(D,e)),!o))return E(e),O}if(!B&&(!f(p)||!f(m))){let t,e;const n=Mt(m),r=Mt(p);if(f(A)||isNaN(A)){const o=s.valueAsDate||new Date(A),i=t=>new Date((new Date).toDateString()+" "+t),a="time"==s.type,l="week"==s.type;F(n.value)&&A&&(t=a?i(A)>i(n.value):l?A>n.value:o>new Date(n.value)),F(r.value)&&A&&(e=a?i(A)<i(r.value):l?A<r.value:o<new Date(r.value))}else{const o=s.valueAsNumber||(A?+A:A);f(n.value)||(t=o>n.value),f(r.value)||(e=o<r.value)}if((t||e)&&(V(!!t,n.message,r.message,M,T),!o))return E(O[b].message),O}if((u||h)&&!B&&(F(A)||a&&Array.isArray(A))){const t=Mt(u),e=Mt(h),n=!f(t.value)&&A.length>+t.value,r=!f(e.value)&&A.length<+e.value;if((n||r)&&(V(n,t.message,e.message),!o))return E(O[b].message),O}if(v&&!B&&F(A)){const{value:t,message:e}=Mt(v);if(pt(t)&&!A.match(t)&&(O[b]=(0,r.A)({type:L,message:e,ref:s},H(L,e)),!o))return E(e),O}if(y)if($(y)){const t=Pt(await y(A,n),_);if(t&&(O[b]=(0,r.A)((0,r.A)({},t),H(j,t.message)),!o))return E(t.message),O}else if(g(y)){let t={};for(const e in y){if(!Y(t)&&!o)break;const i=Pt(await y[e](A,n),_,e);i&&(t=(0,r.A)((0,r.A)({},i),H(e,i.message)),E(i.message),o&&(O[b]=t))}if(!Y(t)&&(O[b]=(0,r.A)({ref:_},t),!o))return O}return E(!0),O};const Nt={mode:P.onSubmit,reValidateMode:P.onChange,shouldFocusError:!0};function Rt(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=(0,r.A)((0,r.A)({},Nt),e),i={submitCount:0,isDirty:!1,isReady:!1,isLoading:$(n.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:n.errors||{},disabled:n.disabled||!1},a={},s=(g(n.defaultValues)||g(n.values))&&x(n.defaultValues||n.values)||{},u=n.shouldUnregister?{}:x(s),p={action:!1,mount:!1,watch:!1},y={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},w=0;const _={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1};let M=(0,r.A)({},_);const T={array:G(),state:G()},N=n.criteriaMode===P.all,R=async t=>{if(!n.disabled&&(_.isValid||M.isValid||t)){const t=n.resolver?Y((await z()).errors):await B(a,!0);t!==i.isValid&&T.state.next({isValid:t})}},L=(t,e)=>{!n.disabled&&(_.isValidating||_.validatingFields||M.isValidating||M.validatingFields)&&((t||Array.from(y.mount)).forEach(t=>{t&&(e?E(i.validatingFields,t,e):et(i.validatingFields,t))}),T.state.next({validatingFields:i.validatingFields,isValidating:!Y(i.validatingFields)}))},D=(t,e,n,r)=>{const o=S(a,t);if(o){const i=S(u,t,k(n)?S(s,t):n);k(i)||r&&r.defaultChecked||e?E(u,t,e?i:ht(o._f)):Z(t,i),p.mount&&R()}},j=(t,e,r,o,a)=>{let l=!1,c=!1;const u={name:t};if(!n.disabled){if(!r||o){(_.isDirty||M.isDirty)&&(c=i.isDirty,i.isDirty=u.isDirty=V(),l=c!==u.isDirty);const n=q(S(s,t),e);c=!!S(i.dirtyFields,t),n?et(i.dirtyFields,t):E(i.dirtyFields,t,!0),u.dirtyFields=i.dirtyFields,l=l||(_.dirtyFields||M.dirtyFields)&&c!==!n}if(r){const e=S(i.touchedFields,t);e||(E(i.touchedFields,t,r),u.touchedFields=i.touchedFields,l=l||(_.touchedFields||M.touchedFields)&&e!==r)}l&&a&&T.state.next(u)}return l?u:{}},I=(e,o,a,s)=>{const l=S(i.errors,e),c=(_.isValid||M.isValid)&&C(o)&&i.isValid!==o;var u;if(n.delayError&&a?(u=()=>((t,e)=>{E(i.errors,t,e),T.state.next({errors:i.errors})})(e,a),t=t=>{clearTimeout(w),w=setTimeout(u,t)},t(n.delayError)):(clearTimeout(w),t=null,a?E(i.errors,e,a):et(i.errors,e)),(a?!q(l,a):l)||!Y(s)||c){const t=(0,r.A)((0,r.A)((0,r.A)({},s),c&&C(o)?{isValid:o}:{}),{},{errors:i.errors,name:e});i=(0,r.A)((0,r.A)({},i),t),T.state.next(t)}},z=async t=>{L(t,!0);const e=await n.resolver(u,n.context,ft(t||y.mount,a,n.criteriaMode,n.shouldUseNativeValidation));return L(t),e},B=async function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{valid:!0};for(const a in t){const s=t[a];if(s){const{_f:t}=s,c=(0,o.A)(s,l);if(t){const o=y.array.has(t.name),l=s._f&&yt(s._f);l&&_.validatingFields&&L([a],!0);const c=await Tt(s,y.disabled,u,N,n.shouldUseNativeValidation&&!e,o);if(l&&_.validatingFields&&L([a]),c[t.name]&&(r.valid=!1,e))break;!e&&(S(c,t.name)?o?Et(i.errors,c,t.name):E(i.errors,t.name,c[t.name]):et(i.errors,t.name))}!Y(c)&&await B(c,e,r)}}return r.valid},V=(t,e)=>!n.disabled&&(t&&e&&E(u,t,e),!q(lt(),s)),U=(t,e,n)=>H(t,y,(0,r.A)({},p.mount?u:k(e)?s:F(t)?{[t]:e}:e),n,e),Z=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=S(a,t);let o=e;if(r){const n=r._f;n&&(!n.disabled&&E(u,t,ct(e,n)),o=X(n.ref)&&f(e)?"":e,Q(n.ref)?[...n.ref.options].forEach(t=>t.selected=o.includes(t.value)):n.refs?d(n.ref)?n.refs.forEach(t=>{t.defaultChecked&&t.disabled||(Array.isArray(o)?t.checked=!!o.find(e=>e===t.value):t.checked=o===t.value||!!o)}):n.refs.forEach(t=>t.checked=t.value===o):K(n.ref)?n.ref.value="":(n.ref.value=o,n.ref.type||T.state.next({name:t,values:x(u)})))}(n.shouldDirty||n.shouldTouch)&&j(t,o,n.shouldTouch,n.shouldDirty,!0),n.shouldValidate&&st(t)},nt=(t,e,n)=>{for(const r in e){if(!e.hasOwnProperty(r))return;const o=e[r],i=t+"."+r,s=S(a,i);(y.array.has(t)||g(o)||s&&!s._f)&&!h(o)?nt(i,o,n):Z(i,o,n)}},rt=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const o=S(a,t),l=y.array.has(t),c=x(e);E(u,t,c),l?(T.array.next({name:t,values:x(u)}),(_.isDirty||_.dirtyFields||M.isDirty||M.dirtyFields)&&n.shouldDirty&&T.state.next({name:t,dirtyFields:it(s,u),isDirty:V(t,c)})):!o||o._f||f(c)?Z(t,c,n):nt(t,c,n),xt(t,y)&&T.state.next((0,r.A)((0,r.A)({},i),{},{name:t})),T.state.next({name:p.mount?t:void 0,values:x(u)})},ot=async e=>{p.mount=!0;const o=e.target;let s=o.name,l=!0;const c=S(a,s),d=t=>{l=Number.isNaN(t)||h(t)&&isNaN(t.getTime())||q(t,S(u,s,t))},f=mt(n.mode),g=mt(n.reValidateMode);if(c){let h,p;const v=o.type?ht(c._f):m(e),b=e.type===O.BLUR||e.type===O.FOCUS_OUT,w=!bt(c._f)&&!n.resolver&&!S(i.errors,s)&&!c._f.deps||St(b,S(i.touchedFields,s),i.isSubmitted,g,f),k=xt(s,y,b);E(u,s,v),b?o&&o.readOnly||(c._f.onBlur&&c._f.onBlur(e),t&&t(0)):c._f.onChange&&c._f.onChange(e);const A=j(s,v,b),C=!Y(A)||k;if(!b&&T.state.next({name:s,type:e.type,values:x(u)}),w)return(_.isValid||M.isValid)&&("onBlur"===n.mode?b&&R():b||R()),C&&T.state.next((0,r.A)({name:s},k?{}:A));if(!b&&k&&T.state.next((0,r.A)({},i)),n.resolver){const{errors:t}=await z([s]);if(d(v),l){const e=kt(i.errors,a,s),n=kt(t,a,e.name||s);h=n.error,s=n.name,p=Y(t)}}else L([s],!0),h=(await Tt(c,y.disabled,u,N,n.shouldUseNativeValidation))[s],L([s]),d(v),l&&(h?p=!1:(_.isValid||M.isValid)&&(p=await B(a,!0)));l&&(c._f.deps&&st(c._f.deps),I(s,p,h,A))}},at=(t,e)=>{if(S(i.errors,e)&&t.focus)return t.focus(),1},st=async function(t){let e,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const l=W(t);if(n.resolver){const n=await(async t=>{const{errors:e}=await z(t);if(t)for(const n of t){const t=S(e,n);t?E(i.errors,n,t):et(i.errors,n)}else i.errors=e;return e})(k(t)?t:l);e=Y(n),o=t?!l.some(t=>S(n,t)):e}else t?(o=(await Promise.all(l.map(async t=>{const e=S(a,t);return await B(e&&e._f?{[t]:e}:e)}))).every(Boolean),(o||i.isValid)&&R()):o=e=await B(a);return T.state.next((0,r.A)((0,r.A)((0,r.A)({},!F(t)||(_.isValid||M.isValid)&&e!==i.isValid?{}:{name:t}),n.resolver||!t?{isValid:e}:{}),{},{errors:i.errors})),s.shouldFocus&&!o&&wt(a,at,t?l:y.mount),o},lt=t=>{const e=(0,r.A)({},p.mount?u:s);return k(t)?e:F(t)?S(e,t):t.map(t=>S(e,t))},ut=(t,e)=>({invalid:!!S((e||i).errors,t),isDirty:!!S((e||i).dirtyFields,t),error:S((e||i).errors,t),isValidating:!!S(i.validatingFields,t),isTouched:!!S((e||i).touchedFields,t)}),dt=(t,e,n)=>{const s=(S(a,t,{_f:{}})._f||{}).ref,l=S(i.errors,t)||{},{ref:u,message:d,type:h}=l,f=(0,o.A)(l,c);E(i.errors,t,(0,r.A)((0,r.A)((0,r.A)({},f),e),{},{ref:s})),T.state.next({name:t,errors:i.errors,isValid:!1}),n&&n.shouldFocus&&s&&s.focus&&s.focus()},pt=t=>T.state.subscribe({next:e=>{_t(t.name,e.name,t.exact)&&At(e,t.formState||_,jt,t.reRenderRoot)&&t.callback((0,r.A)((0,r.A)((0,r.A)({values:(0,r.A)({},u)},i),e),{},{defaultValues:s}))}}).unsubscribe,vt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(const r of t?W(t):y.mount)y.mount.delete(r),y.array.delete(r),e.keepValue||(et(a,r),et(u,r)),!e.keepError&&et(i.errors,r),!e.keepDirty&&et(i.dirtyFields,r),!e.keepTouched&&et(i.touchedFields,r),!e.keepIsValidating&&et(i.validatingFields,r),!n.shouldUnregister&&!e.keepDefaultValue&&et(s,r);T.state.next({values:x(u)}),T.state.next((0,r.A)((0,r.A)({},i),e.keepDirty?{isDirty:V()}:{})),!e.keepIsValid&&R()},Ot=t=>{let{disabled:e,name:n}=t;(C(e)&&p.mount||e||y.disabled.has(n))&&(e?y.disabled.add(n):y.disabled.delete(n))},Pt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=S(a,t);const i=C(e.disabled)||C(n.disabled);return E(a,t,(0,r.A)((0,r.A)({},o||{}),{},{_f:(0,r.A)((0,r.A)({},o&&o._f?o._f:{ref:{name:t}}),{},{name:t,mount:!0},e)})),y.mount.add(t),o?Ot({disabled:C(e.disabled)?e.disabled:n.disabled,name:t}):D(t,!0,e.value),(0,r.A)((0,r.A)((0,r.A)({},i?{disabled:e.disabled||n.disabled}:{}),n.progressive?{required:!!e.required,min:gt(e.min),max:gt(e.max),minLength:gt(e.minLength),maxLength:gt(e.maxLength),pattern:gt(e.pattern)}:{}),{},{name:t,onChange:ot,onBlur:ot,ref:i=>{if(i){Pt(t,e),o=S(a,t);const n=k(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,l=J(n),c=o._f.refs||[];if(l?c.find(t=>t===n):n===o._f.ref)return;E(a,t,{_f:(0,r.A)((0,r.A)({},o._f),l?{refs:[...c.filter(tt),n,...Array.isArray(S(s,t))?[{}]:[]],ref:{type:n.type,name:t}}:{ref:n})}),D(t,!1,void 0,n)}else o=S(a,t,{}),o._f&&(o._f.mount=!1),(n.shouldUnregister||e.shouldUnregister)&&(!v(y.array,t)||!p.action)&&y.unMount.add(t)}})},Mt=()=>n.shouldFocusError&&wt(a,at,y.mount),Rt=(t,e)=>async o=>{let s;o&&(o.preventDefault&&o.preventDefault(),o.persist&&o.persist());let l=x(u);if(T.state.next({isSubmitting:!0}),n.resolver){const{errors:t,values:e}=await z();i.errors=t,l=x(e)}else await B(a);if(y.disabled.size)for(const t of y.disabled)et(l,t);if(et(i.errors,"root"),Y(i.errors)){T.state.next({errors:{}});try{await t(l,o)}catch(c){s=c}}else e&&await e((0,r.A)({},i.errors),o),Mt(),setTimeout(Mt);if(T.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Y(i.errors)&&!s,submitCount:i.submitCount+1,errors:i.errors}),s)throw s},Lt=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=t?x(t):s,l=x(o),c=Y(t),d=c?s:l;if(e.keepDefaultValues||(s=o),!e.keepValues){if(e.keepDirtyValues){const t=new Set([...y.mount,...Object.keys(it(s,u))]);for(const e of Array.from(t))S(i.dirtyFields,e)?E(d,e,S(u,e)):rt(e,S(d,e))}else{if(b&&k(t))for(const t of y.mount){const e=S(a,t);if(e&&e._f){const t=Array.isArray(e._f.refs)?e._f.refs[0]:e._f.ref;if(X(t)){const e=t.closest("form");if(e){e.reset();break}}}}if(e.keepFieldsRef)for(const t of y.mount)rt(t,S(d,t));else a={}}u=n.shouldUnregister?e.keepDefaultValues?x(s):{}:x(d),T.array.next({values:(0,r.A)({},d)}),T.state.next({values:(0,r.A)({},d)})}y={mount:e.keepDirtyValues?y.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},p.mount=!_.isValid||!!e.keepIsValid||!!e.keepDirtyValues,p.watch=!!n.shouldUnregister,T.state.next({submitCount:e.keepSubmitCount?i.submitCount:0,isDirty:!c&&(e.keepDirty?i.isDirty:!(!e.keepDefaultValues||q(t,s))),isSubmitted:!!e.keepIsSubmitted&&i.isSubmitted,dirtyFields:c?{}:e.keepDirtyValues?e.keepDefaultValues&&u?it(s,u):i.dirtyFields:e.keepDefaultValues&&t?it(s,t):e.keepDirty?i.dirtyFields:{},touchedFields:e.keepTouched?i.touchedFields:{},errors:e.keepErrors?i.errors:{},isSubmitSuccessful:!!e.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1,defaultValues:s})},Dt=(t,e)=>Lt($(t)?t(u):t,e),jt=t=>{i=(0,r.A)((0,r.A)({},i),t)},It={control:{register:Pt,unregister:vt,getFieldState:ut,handleSubmit:Rt,setError:dt,_subscribe:pt,_runSchema:z,_focusError:Mt,_getWatch:U,_getDirty:V,_setValid:R,_setFieldArray:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,l=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],c=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];if(o&&r&&!n.disabled){if(p.action=!0,c&&Array.isArray(S(a,t))){const e=r(S(a,t),o.argA,o.argB);l&&E(a,t,e)}if(c&&Array.isArray(S(i.errors,t))){const e=r(S(i.errors,t),o.argA,o.argB);l&&E(i.errors,t,e),Ct(i.errors,t)}if((_.touchedFields||M.touchedFields)&&c&&Array.isArray(S(i.touchedFields,t))){const e=r(S(i.touchedFields,t),o.argA,o.argB);l&&E(i.touchedFields,t,e)}(_.dirtyFields||M.dirtyFields)&&(i.dirtyFields=it(s,u)),T.state.next({name:t,isDirty:V(t,e),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else E(u,t,e)},_setDisabledField:Ot,_setErrors:t=>{i.errors=t,T.state.next({errors:i.errors,isValid:!1})},_getFieldArray:t=>A(S(p.mount?u:s,t,n.shouldUnregister?S(s,t,[]):[])),_reset:Lt,_resetDefaultValues:()=>$(n.defaultValues)&&n.defaultValues().then(t=>{Dt(t,n.resetOptions),T.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const t of y.unMount){const e=S(a,t);e&&(e._f.refs?e._f.refs.every(t=>!tt(t)):!tt(e._f.ref))&&vt(t)}y.unMount=new Set},_disableForm:t=>{C(t)&&(T.state.next({disabled:t}),wt(a,(e,n)=>{const r=S(a,n);r&&(e.disabled=r._f.disabled||t,Array.isArray(r._f.refs)&&r._f.refs.forEach(e=>{e.disabled=r._f.disabled||t}))},0,!1))},_subjects:T,_proxyFormState:_,get _fields(){return a},get _formValues(){return u},get _state(){return p},set _state(t){p=t},get _defaultValues(){return s},get _names(){return y},set _names(t){y=t},get _formState(){return i},get _options(){return n},set _options(t){n=(0,r.A)((0,r.A)({},n),t)}},subscribe:t=>(p.mount=!0,M=(0,r.A)((0,r.A)({},M),t.formState),pt((0,r.A)((0,r.A)({},t),{},{formState:M}))),trigger:st,register:Pt,handleSubmit:Rt,watch:(t,e)=>$(t)?T.state.subscribe({next:n=>"values"in n&&t(U(void 0,e),n)}):U(t,e,!0),setValue:rt,getValues:lt,reset:Dt,resetField:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};S(a,t)&&(k(e.defaultValue)?rt(t,x(S(s,t))):(rt(t,e.defaultValue),E(s,t,x(e.defaultValue))),e.keepTouched||et(i.touchedFields,t),e.keepDirty||(et(i.dirtyFields,t),i.isDirty=e.defaultValue?V(t,x(S(s,t))):V()),e.keepError||(et(i.errors,t),_.isValid&&R()),T.state.next((0,r.A)({},i)))},clearErrors:t=>{t&&W(t).forEach(t=>et(i.errors,t)),T.state.next({errors:t?i.errors:{}})},unregister:vt,setError:dt,setFocus:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=S(a,t),r=n&&n._f;if(r){const t=r.refs?r.refs[0]:r.ref;t.focus&&(t.focus(),e.shouldSelect&&$(t.select)&&t.select())}},getFieldState:ut};return(0,r.A)((0,r.A)({},It),{},{formControl:It})}function Lt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=i.useRef(void 0),n=i.useRef(void 0),[a,s]=i.useState({isDirty:!1,isValidating:!1,isLoading:$(t.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1,isReady:!1,defaultValues:$(t.defaultValues)?void 0:t.defaultValues});if(!e.current)if(t.formControl)e.current=(0,r.A)((0,r.A)({},t.formControl),{},{formState:a}),t.defaultValues&&!$(t.defaultValues)&&t.formControl.reset(t.defaultValues,t.resetOptions);else{const n=Rt(t),{formControl:i}=n,s=(0,o.A)(n,u);e.current=(0,r.A)((0,r.A)({},s),{},{formState:a})}const l=e.current.control;return l._options=t,B(()=>{const t=l._subscribe({formState:l._proxyFormState,callback:()=>s((0,r.A)({},l._formState)),reRenderRoot:!0});return s(t=>(0,r.A)((0,r.A)({},t),{},{isReady:!0})),l._formState.isReady=!0,t},[l]),i.useEffect(()=>l._disableForm(t.disabled),[l,t.disabled]),i.useEffect(()=>{t.mode&&(l._options.mode=t.mode),t.reValidateMode&&(l._options.reValidateMode=t.reValidateMode)},[l,t.mode,t.reValidateMode]),i.useEffect(()=>{t.errors&&(l._setErrors(t.errors),l._focusError())},[l,t.errors]),i.useEffect(()=>{t.shouldUnregister&&l._subjects.state.next({values:l._getWatch()})},[l,t.shouldUnregister]),i.useEffect(()=>{if(l._proxyFormState.isDirty){const t=l._getDirty();t!==a.isDirty&&l._subjects.state.next({isDirty:t})}},[l,a.isDirty]),i.useEffect(()=>{t.values&&!q(t.values,n.current)?(l._reset(t.values,(0,r.A)({keepFieldsRef:!0},l._options.resetOptions)),n.current=t.values,s(t=>(0,r.A)({},t))):l._resetDefaultValues()},[l,t.values]),i.useEffect(()=>{l._state.mount||(l._setValid(),l._state.mount=!0),l._state.watch&&(l._state.watch=!1,l._subjects.state.next((0,r.A)({},l._formState))),l._removeUnmounted()}),e.current.formState=z(a,l),e.current}},25011:(t,e,n)=>{"use strict";n.d(e,{I:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(55003),l=n(36059),c=n(52695);const u=["as","viewBox","color","focusable","children","className","__css"],d={path:(0,i.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,i.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,i.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,i.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},h=(0,s.R)((t,e)=>{const{as:n,viewBox:s,color:h="currentColor",focusable:f=!1,children:p,className:g,__css:m}=t,v=(0,o.A)(t,u),y=(0,a.cx)("chakra-icon",g),b=(0,l.V)("Icon",t),x={ref:e,focusable:f,className:y,__css:(0,r.A)((0,r.A)({w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:h},m),b)},w=null!==s&&void 0!==s?s:d.viewBox;if(n&&"string"!==typeof n)return(0,i.jsx)(c.B.svg,(0,r.A)((0,r.A)({as:n},x),v));const k=null!==p&&void 0!==p?p:d.path;return(0,i.jsx)(c.B.svg,(0,r.A)((0,r.A)((0,r.A)({verticalAlign:"middle",viewBox:w},x),v),{},{children:k}))});h.displayName="Icon"},25051:t=>{t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},25527:(t,e,n)=>{"use strict";n.d(e,{E:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(15156),s=n(16935),l=n(55003),c=n(52695);const u=["area","colSpan","colStart","colEnd","rowEnd","rowSpan","rowStart"];function d(t){return(0,s.bk)(t,t=>"auto"===t?"auto":"span ".concat(t,"/span ").concat(t))}const h=(0,l.R)(function(t,e){const{area:n,colSpan:s,colStart:l,colEnd:h,rowEnd:f,rowSpan:p,rowStart:g}=t,m=(0,o.A)(t,u),v=(0,a.o)({gridArea:n,gridColumn:d(s),gridRow:d(p),gridColumnStart:l,gridColumnEnd:h,gridRowStart:g,gridRowEnd:f});return(0,i.jsx)(c.B.div,(0,r.A)({ref:e,__css:v},m))});h.displayName="GridItem"},25540:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{A:()=>o})},25721:(t,e,n)=>{"use strict";n.d(e,{Dr:()=>m,If:()=>g,O3:()=>p,r9:()=>v});var r=n(89379),o=n(80045),i=n(17212),a=n(43194),s=n(86219),l=n(92970),c=n(17533),u=n(65043),d=n(40493);const h=["onChange","defaultIndex","index","allowMultiple","allowToggle"],f=["isDisabled","isFocusable","id"];function p(t){const{onChange:e,defaultIndex:n,index:r,allowMultiple:a,allowToggle:s}=t,l=(0,o.A)(t,h);!function(t){const e=t.index||t.defaultIndex,n=null!=e&&!Array.isArray(e)&&t.allowMultiple;(0,c.R)({condition:!!n,message:"If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ".concat(typeof e,",")})}(t),function(t){(0,c.R)({condition:!(!t.allowMultiple||!t.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"})}(t);const f=(0,d.Of)(),[p,g]=(0,u.useState)(-1);(0,u.useEffect)(()=>()=>{g(-1)},[]);const[m,v]=(0,i.i)({value:r,defaultValue:()=>a?null!==n&&void 0!==n?n:[]:null!==n&&void 0!==n?n:-1,onChange:e});return{index:m,setIndex:v,htmlProps:l,getAccordionItemProps:t=>{let e=!1;null!==t&&(e=Array.isArray(m)?m.includes(t):m===t);return{isOpen:e,onChange:e=>{if(null!==t)if(a&&Array.isArray(m)){const n=e?m.concat(t):m.filter(e=>e!==t);v(n)}else e?v(t):s&&v(-1)}}},focusedIndex:p,setFocusedIndex:g,descendants:f}}const[g,m]=(0,l.q)({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function v(t){const{isDisabled:e,isFocusable:n,id:i}=t,l=(0,o.A)(t,f),{getAccordionItemProps:h,setFocusedIndex:p}=m(),g=(0,u.useRef)(null),v=(0,u.useId)(),y=null!==i&&void 0!==i?i:v,b="accordion-button-".concat(y),x="accordion-panel-".concat(y);!function(t){(0,c.R)({condition:!(!t.isFocusable||t.isDisabled),message:"Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well.\n "})}(t);const{register:w,index:k,descendants:A}=(0,d.v3)({disabled:e&&!n}),{isOpen:_,onChange:S}=h(-1===k?null:k);!function(t){(0,c.R)({condition:t.isOpen&&!!t.isDisabled,message:"Cannot open a disabled accordion item"})}({isOpen:_,isDisabled:e});const C=(0,u.useCallback)(()=>{null===S||void 0===S||S(!_),p(k)},[k,p,_,S]),E=(0,u.useCallback)(t=>{const e={ArrowDown:()=>{const t=A.nextEnabled(k);null===t||void 0===t||t.node.focus()},ArrowUp:()=>{const t=A.prevEnabled(k);null===t||void 0===t||t.node.focus()},Home:()=>{const t=A.firstEnabled();null===t||void 0===t||t.node.focus()},End:()=>{const t=A.lastEnabled();null===t||void 0===t||t.node.focus()}}[t.key];e&&(t.preventDefault(),e(t))},[A,k]),O=(0,u.useCallback)(()=>{p(k)},[p,k]),P=(0,u.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{type:"button",ref:(0,a.Px)(w,g,n),id:b,disabled:!!e,"aria-expanded":!!_,"aria-controls":x,onClick:(0,s.H)(t.onClick,C),onFocus:(0,s.H)(t.onFocus,O),onKeyDown:(0,s.H)(t.onKeyDown,E)})},[b,e,_,C,O,E,x,w]),M=(0,u.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,role:"region",id:x,"aria-labelledby":b,hidden:!_})},[b,_,x]);return{isOpen:_,isDisabled:e,isFocusable:n,onOpen:()=>{null===S||void 0===S||S(!0)},onClose:()=>{null===S||void 0===S||S(!1)},getButtonProps:P,getPanelProps:M,htmlProps:l}}},26201:(t,e,n)=>{"use strict";n.d(e,{a:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(65647),l=n(55003),c=n(52695);const u=["className"],d=(0,l.R)(function(t,e){const{className:n}=t,l=(0,o.A)(t,u),d=(0,s.Q)();return(0,i.jsx)(c.B.div,(0,r.A)({ref:e,className:(0,a.cx)("chakra-card__header",n),__css:d.header},l))})},26381:(t,e,n)=>{"use strict";n.d(e,{Ip:()=>h});var r=n(80045),o=n(89379),i=n(70579),a=n(94217),s=n(25011),l=n(52695);const c=["type","aria-label"],u=t=>(0,i.jsx)(s.I,(0,o.A)((0,o.A)({color:"red.400"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})}));function d(t){return(0,i.jsx)(s.I,(0,o.A)((0,o.A)({color:"green.400"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})}))}function h(t){const{type:e,"aria-label":n}=t,s=(0,r.A)(t,c),h=(0,a.E)(),f="increase"===e?d:u,p=n||("increase"===e?"increased by":"decreased by");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.B.span,{srOnly:!0,children:p}),(0,i.jsx)(f,(0,o.A)((0,o.A)({"aria-hidden":!0},s),{},{__css:h.icon}))]})}u.displayName="StatDownArrow",d.displayName="StatUpArrow",h.displayName="StatArrow"},26600:(t,e,n)=>{var r=n(87937)(n(56552),"WeakMap");t.exports=r},26806:(t,e,n)=>{"use strict";n.d(e,{J:()=>v});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(91432),l=n(64844),c=n(65043),u=n(45821),d=n(32332),h=n(55003),f=n(52695);const p=["spacing"],g=(0,h.R)(function(t,e){const{spacing:n}=t,s=(0,o.A)(t,p),l=(0,u.F)(),c=(0,a.H2)((0,r.A)({mx:n},l.separator));return(0,i.jsx)(f.B.span,(0,r.A)((0,r.A)({ref:e,role:"presentation"},s),{},{__css:c}))});g.displayName="BreadcrumbSeparator";const m=["isCurrentPage","separator","isLastChild","spacing","children","className"],v=(0,h.R)(function(t,e){const{isCurrentPage:n,separator:h,isLastChild:p,spacing:v,children:y,className:b}=t,x=(0,o.A)(t,m),w=(0,s.a)(y).map(t=>t.type===d.w?(0,c.cloneElement)(t,{isCurrentPage:n}):t.type===g?(0,c.cloneElement)(t,{spacing:v,children:t.props.children||h}):t),k=(0,u.F)(),A=(0,a.H2)((0,r.A)({display:"inline-flex",alignItems:"center"},k.item)),_=(0,l.cx)("chakra-breadcrumb__list-item",b);return(0,i.jsxs)(f.B.li,(0,r.A)((0,r.A)({ref:e,className:_},x),{},{__css:A,children:[w,!p&&(0,i.jsx)(g,{spacing:v,children:h})]}))});v.displayName="BreadcrumbItem"},26924:(t,e,n)=>{var r=n(97685),o=n(85204),i=n(65387),a=n(72070),s=n(26600),l=n(16913),c=n(96996),u="[object Map]",d="[object Promise]",h="[object Set]",f="[object WeakMap]",p="[object DataView]",g=c(r),m=c(o),v=c(i),y=c(a),b=c(s),x=l;(r&&x(new r(new ArrayBuffer(1)))!=p||o&&x(new o)!=u||i&&x(i.resolve())!=d||a&&x(new a)!=h||s&&x(new s)!=f)&&(x=function(t){var e=l(t),n="[object Object]"==e?t.constructor:void 0,r=n?c(n):"";if(r)switch(r){case g:return p;case m:return u;case v:return d;case y:return h;case b:return f}return e}),t.exports=x},26989:(t,e,n)=>{var r=n(16399),o=n(22761);t.exports=function t(e,n,i,a,s){return e===n||(null==e||null==n||!o(e)&&!o(n)?e!==e&&n!==n:r(e,n,i,a,t,s))}},27024:(t,e,n)=>{"use strict";n.d(e,{e:()=>C});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(56294),l=n(64844),c=n(43464),u=n(86219),d=n(65043),h=n(92970);const[f,p]=(0,h.q)({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:"<Avatar/>"});var g=n(52695);const m=["name","getInitials"];function v(t){var e;const n=t.trim().split(" "),r=null!==(e=n[0])&&void 0!==e?e:"",o=n.length>1?n[n.length-1]:"";return r&&o?"".concat(r.charAt(0)).concat(o.charAt(0)):r.charAt(0)}function y(t){const{name:e,getInitials:n}=t,a=(0,o.A)(t,m),s=p();return(0,i.jsx)(g.B.div,(0,r.A)((0,r.A)({role:"img","aria-label":e},a),{},{__css:s.label,children:e?null===n||void 0===n?void 0:n(e):null}))}y.displayName="AvatarName";const b=t=>(0,i.jsxs)(g.B.svg,(0,r.A)((0,r.A)({viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg"},t),{},{children:[(0,i.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,i.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]}));var x=n(7093);function w(t){const{src:e,srcSet:n,onError:r,onLoad:o,getInitials:a,name:s,borderRadius:l,loading:c,iconLabel:u,icon:h=(0,i.jsx)(b,{}),ignoreFallback:f,referrerPolicy:p,crossOrigin:m}=t,v=(0,x.l)({src:e,onError:r,crossOrigin:m,ignoreFallback:f});return!e||!("loaded"===v)?s?(0,i.jsx)(y,{className:"chakra-avatar__initials",getInitials:a,name:s}):(0,d.cloneElement)(h,{role:"img","aria-label":u}):(0,i.jsx)(g.B.img,{src:e,srcSet:n,alt:null!==s&&void 0!==s?s:u,onLoad:o,referrerPolicy:p,crossOrigin:null!==m&&void 0!==m?m:void 0,className:"chakra-avatar__img",loading:c,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:l}})}w.displayName="AvatarImage";var k=n(55003),A=n(36059);const _=["src","srcSet","name","showBorder","borderRadius","onError","onLoad","getInitials","icon","iconLabel","loading","children","borderColor","ignoreFallback","crossOrigin","referrerPolicy"],S=(0,a.H2)({display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0}),C=(0,k.R)((t,e)=>{const n=(0,A.o)("Avatar",t),[a,h]=(0,d.useState)(!1),p=(0,s.M)(t),{src:m,srcSet:y,name:x,showBorder:k,borderRadius:C="full",onError:E,onLoad:O,getInitials:P=v,icon:M=(0,i.jsx)(b,{}),iconLabel:T=" avatar",loading:N,children:R,borderColor:L,ignoreFallback:D,crossOrigin:j,referrerPolicy:I}=p,z=(0,o.A)(p,_),B=(0,r.A)((0,r.A)({borderRadius:C,borderWidth:k?"2px":void 0},S),n.container);return L&&(B.borderColor=L),(0,i.jsx)(g.B.span,(0,r.A)((0,r.A)({ref:e},z),{},{className:(0,l.cx)("chakra-avatar",t.className),"data-loaded":(0,c.s)(a),__css:B,children:(0,i.jsxs)(f,{value:n,children:[(0,i.jsx)(w,{src:m,srcSet:y,loading:N,onLoad:(0,u.H)(O,()=>{h(!0)}),onError:E,getInitials:P,name:x,borderRadius:C,icon:M,iconLabel:T,ignoreFallback:D,crossOrigin:j,referrerPolicy:I}),R]})}))});C.displayName="Avatar"},27149:(t,e,n)=>{"use strict";n.d(e,{oDq:()=>o});var r=n(66688);function o(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"}},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 3.3l1.35-.95a8.01 8.01 0 014.38 3.34l-.39 1.34-1.35.46L13 6.7V5.3zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34a8.103 8.103 0 014.38-3.34zM7.08 17.11l-1.14.1A7.938 7.938 0 014 12c0-.12.01-.23.02-.35l1-.73 1.38.48 1.46 4.34-.78 1.37zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11-.7 1.48zM14.27 15H9.73l-1.35-4.02L12 8.44l3.63 2.54L14.27 15zm3.79 2.21l-1.14-.1-.79-1.37 1.46-4.34 1.39-.47 1 .73c.01.11.02.22.02.34 0 1.99-.73 3.81-1.94 5.21z"}}]})(t)}},27234:(t,e)=>{"use strict";function n(t,e){var n=t.length;t.push(e);t:for(;0<n;){var r=n-1>>>1,o=t[r];if(!(0<i(o,e)))break t;t[r]=e,t[n]=o,n=r}}function r(t){return 0===t.length?null:t[0]}function o(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,o=t.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=t[s],c=s+1,u=t[c];if(0>i(l,n))c<o&&0>i(u,l)?(t[r]=u,t[c]=n,r=c):(t[r]=l,t[s]=n,r=s);else{if(!(c<o&&0>i(u,n)))break t;t[r]=u,t[c]=n,r=c}}}return e}function i(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"===typeof performance&&"function"===typeof performance.now){var a=performance;e.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,g=!1,m=!1,v="function"===typeof setTimeout?setTimeout:null,y="function"===typeof clearTimeout?clearTimeout:null,b="undefined"!==typeof setImmediate?setImmediate:null;function x(t){for(var e=r(u);null!==e;){if(null===e.callback)o(u);else{if(!(e.startTime<=t))break;o(u),e.sortIndex=e.expirationTime,n(c,e)}e=r(u)}}function w(t){if(m=!1,x(t),!g)if(null!==r(c))g=!0,R(k);else{var e=r(u);null!==e&&L(w,e.startTime-t)}}function k(t,n){g=!1,m&&(m=!1,y(C),C=-1),p=!0;var i=f;try{for(x(n),h=r(c);null!==h&&(!(h.expirationTime>n)||t&&!P());){var a=h.callback;if("function"===typeof a){h.callback=null,f=h.priorityLevel;var s=a(h.expirationTime<=n);n=e.unstable_now(),"function"===typeof s?h.callback=s:h===r(c)&&o(c),x(n)}else o(c);h=r(c)}if(null!==h)var l=!0;else{var d=r(u);null!==d&&L(w,d.startTime-n),l=!1}return l}finally{h=null,f=i,p=!1}}"undefined"!==typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var A,_=!1,S=null,C=-1,E=5,O=-1;function P(){return!(e.unstable_now()-O<E)}function M(){if(null!==S){var t=e.unstable_now();O=t;var n=!0;try{n=S(!0,t)}finally{n?A():(_=!1,S=null)}}else _=!1}if("function"===typeof b)A=function(){b(M)};else if("undefined"!==typeof MessageChannel){var T=new MessageChannel,N=T.port2;T.port1.onmessage=M,A=function(){N.postMessage(null)}}else A=function(){v(M,0)};function R(t){S=t,_||(_=!0,A())}function L(t,n){C=v(function(){t(e.unstable_now())},n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){g||p||(g=!0,R(k))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):E=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return r(c)},e.unstable_next=function(t){switch(f){case 1:case 2:case 3:var e=3;break;default:e=f}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_scheduleCallback=function(t,o,i){var a=e.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?a+i:a:i=a,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:d++,callback:o,priorityLevel:t,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(t.sortIndex=i,n(u,t),null===r(c)&&t===r(u)&&(m?(y(C),C=-1):m=!0,L(w,i-a))):(t.sortIndex=s,n(c,t),g||p||(g=!0,R(k))),t},e.unstable_shouldYield=P,e.unstable_wrapCallback=function(t){var e=f;return function(){var n=f;f=e;try{return t.apply(this,arguments)}finally{f=n}}}},27264:(t,e,n)=>{"use strict";n.d(e,{u:()=>We});var r=n(70579),o=n(28917),i=n(65043);var a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)};function s(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n}Object.create;function l(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}Object.create;"function"===typeof SuppressedError&&SuppressedError;var c="right-scroll-bar-position",u="width-before-scroll-bar";function d(t,e){return"function"===typeof t?t(e):t&&(t.current=e),t}var h="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,f=new WeakMap;function p(t,e){var n=function(t,e){var n=(0,i.useState)(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(t){var e=n.value;e!==t&&(n.value=t,n.callback(t,e))}}}})[0];return n.callback=e,n.facade}(e||null,function(e){return t.forEach(function(t){return d(t,e)})});return h(function(){var e=f.get(n);if(e){var r=new Set(e),o=new Set(t),i=n.current;r.forEach(function(t){o.has(t)||d(t,null)}),o.forEach(function(t){r.has(t)||d(t,i)})}f.set(n,t)},[t]),n}function g(t){return t}function m(t,e){void 0===e&&(e=g);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(t){var o=e(t,r);return n.push(o),function(){n=n.filter(function(t){return t!==o})}},assignSyncMedium:function(t){for(r=!0;n.length;){var e=n;n=[],e.forEach(t)}n={push:function(e){return t(e)},filter:function(){return n}}},assignMedium:function(t){r=!0;var e=[];if(n.length){var o=n;n=[],o.forEach(t),e=n}var i=function(){var n=e;e=[],n.forEach(t)},a=function(){return Promise.resolve().then(i)};a(),n={push:function(t){e.push(t),a()},filter:function(t){return e=e.filter(t),n}}}}}function v(t,e){return void 0===e&&(e=g),m(t,e)}function y(t){void 0===t&&(t={});var e=m(null);return e.options=a({async:!0,ssr:!1},t),e}var b=y(),x=function(){},w=i.forwardRef(function(t,e){var n=i.useRef(null),r=i.useState({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:x}),o=r[0],l=r[1],c=t.forwardProps,u=t.children,d=t.className,h=t.removeScrollBar,f=t.enabled,g=t.shards,m=t.sideCar,v=t.noRelative,y=t.noIsolation,w=t.inert,k=t.allowPinchZoom,A=t.as,_=void 0===A?"div":A,S=t.gapMode,C=s(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,O=p([n,e]),P=a(a({},C),o);return i.createElement(i.Fragment,null,f&&i.createElement(E,{sideCar:b,removeScrollBar:h,shards:g,noRelative:v,noIsolation:y,inert:w,setCallbacks:l,allowPinchZoom:!!k,lockRef:n,gapMode:S}),c?i.cloneElement(i.Children.only(u),a(a({},P),{ref:O})):i.createElement(_,a({},P,{className:d,ref:O}),u))});w.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},w.classNames={fullWidth:u,zeroRight:c};var k,A=function(t){var e=t.sideCar,n=s(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return i.createElement(r,a({},n))};A.isSideCarExport=!0;function _(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=k||n.nc;return e&&t.setAttribute("nonce",e),t}var S=function(){var t=0,e=null;return{add:function(n){var r,o;0==t&&(e=_())&&(o=n,(r=e).styleSheet?r.styleSheet.cssText=o:r.appendChild(document.createTextNode(o)),function(t){(document.head||document.getElementsByTagName("head")[0]).appendChild(t)}(e)),t++},remove:function(){! --t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}},C=function(){var t=function(){var t=S();return function(e,n){i.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}}();return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},E={left:0,top:0,right:0,gap:0},O=function(t){return parseInt(t||"",10)||0},P=function(t){if(void 0===t&&(t="margin"),"undefined"===typeof window)return E;var e=function(t){var e=window.getComputedStyle(document.body),n=e["padding"===t?"paddingLeft":"marginLeft"],r=e["padding"===t?"paddingTop":"marginTop"],o=e["padding"===t?"paddingRight":"marginRight"];return[O(n),O(r),O(o)]}(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}},M=C(),T="data-scroll-locked",N=function(t,e,n,r){var o=t.left,i=t.top,a=t.right,s=t.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(s,"px ").concat(r,";\n }\n body[").concat(T,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([e&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(i,"px;\n padding-right: ").concat(a,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(c," {\n right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(u," {\n margin-right: ").concat(s,"px ").concat(r,";\n }\n \n .").concat(c," .").concat(c," {\n right: 0 ").concat(r,";\n }\n \n .").concat(u," .").concat(u," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(T,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},R=function(){var t=parseInt(document.body.getAttribute(T)||"0",10);return isFinite(t)?t:0},L=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=void 0===r?"margin":r;i.useEffect(function(){return document.body.setAttribute(T,(R()+1).toString()),function(){var t=R()-1;t<=0?document.body.removeAttribute(T):document.body.setAttribute(T,t.toString())}},[]);var a=i.useMemo(function(){return P(o)},[o]);return i.createElement(M,{styles:N(a,!e,o,n?"":"!important")})},D=!1;if("undefined"!==typeof window)try{var j=Object.defineProperty({},"passive",{get:function(){return D=!0,!0}});window.addEventListener("test",j,j),window.removeEventListener("test",j,j)}catch(Ge){D=!1}var I=!!D&&{passive:!1},z=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return"hidden"!==n[e]&&!(n.overflowY===n.overflowX&&!function(t){return"TEXTAREA"===t.tagName}(t)&&"visible"===n[e])},B=function(t,e){var n=e.ownerDocument,r=e;do{if("undefined"!==typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),F(t,r)){var o=H(t,r);if(o[1]>o[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},F=function(t,e){return"v"===t?function(t){return z(t,"overflowY")}(e):function(t){return z(t,"overflowX")}(e)},H=function(t,e){return"v"===t?[(n=e).scrollTop,n.scrollHeight,n.clientHeight]:function(t){return[t.scrollLeft,t.scrollWidth,t.clientWidth]}(e);var n},V=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},q=function(t){return[t.deltaX,t.deltaY]},U=function(t){return t&&"current"in t?t.current:t},W=function(t){return"\n .block-interactivity-".concat(t," {pointer-events: none;}\n .allow-interactivity-").concat(t," {pointer-events: all;}\n")},G=0,Y=[];function K(t){for(var e=null;null!==t;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const $=(X=function(t){var e=i.useRef([]),n=i.useRef([0,0]),r=i.useRef(),o=i.useState(G++)[0],a=i.useState(C)[0],s=i.useRef(t);i.useEffect(function(){s.current=t},[t]),i.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var e=l([t.lockRef.current],(t.shards||[]).map(U),!0).filter(Boolean);return e.forEach(function(t){return t.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),e.forEach(function(t){return t.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var c=i.useCallback(function(t,e){if("touches"in t&&2===t.touches.length||"wheel"===t.type&&t.ctrlKey)return!s.current.allowPinchZoom;var o,i=V(t),a=n.current,l="deltaX"in t?t.deltaX:a[0]-i[0],c="deltaY"in t?t.deltaY:a[1]-i[1],u=t.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in t&&"h"===d&&"range"===u.type)return!1;var h=B(d,u);if(!h)return!0;if(h?o=d:(o="v"===d?"h":"v",h=B(d,u)),!h)return!1;if(!r.current&&"changedTouches"in t&&(l||c)&&(r.current=o),!o)return!0;var f=r.current||o;return function(t,e,n,r,o){var i=function(t,e){return"h"===t&&"rtl"===e?-1:1}(t,window.getComputedStyle(e).direction),a=i*r,s=n.target,l=e.contains(s),c=!1,u=a>0,d=0,h=0;do{if(!s)break;var f=H(t,s),p=f[0],g=f[1]-f[2]-i*p;(p||g)&&F(t,s)&&(d+=g,h+=p);var m=s.parentNode;s=m&&m.nodeType===Node.DOCUMENT_FRAGMENT_NODE?m.host:m}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(u&&(o&&Math.abs(d)<1||!o&&a>d)||!u&&(o&&Math.abs(h)<1||!o&&-a>h))&&(c=!0),c}(f,e,t,"h"===f?l:c,!0)},[]),u=i.useCallback(function(t){var n=t;if(Y.length&&Y[Y.length-1]===a){var r="deltaY"in n?q(n):V(n),o=e.current.filter(function(t){return t.name===n.type&&(t.target===n.target||n.target===t.shadowParent)&&(e=t.delta,o=r,e[0]===o[0]&&e[1]===o[1]);var e,o})[0];if(o&&o.should)n.cancelable&&n.preventDefault();else if(!o){var i=(s.current.shards||[]).map(U).filter(Boolean).filter(function(t){return t.contains(n.target)});(i.length>0?c(n,i[0]):!s.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),d=i.useCallback(function(t,n,r,o){var i={name:t,delta:n,target:r,should:o,shadowParent:K(r)};e.current.push(i),setTimeout(function(){e.current=e.current.filter(function(t){return t!==i})},1)},[]),h=i.useCallback(function(t){n.current=V(t),r.current=void 0},[]),f=i.useCallback(function(e){d(e.type,q(e),e.target,c(e,t.lockRef.current))},[]),p=i.useCallback(function(e){d(e.type,V(e),e.target,c(e,t.lockRef.current))},[]);i.useEffect(function(){return Y.push(a),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",u,I),document.addEventListener("touchmove",u,I),document.addEventListener("touchstart",h,I),function(){Y=Y.filter(function(t){return t!==a}),document.removeEventListener("wheel",u,I),document.removeEventListener("touchmove",u,I),document.removeEventListener("touchstart",h,I)}},[]);var g=t.removeScrollBar,m=t.inert;return i.createElement(i.Fragment,null,m?i.createElement(a,{styles:W(o)}):null,g?i.createElement(L,{noRelative:t.noRelative,gapMode:t.gapMode}):null)},b.useMedium(X),A);var X,Q=i.forwardRef(function(t,e){return i.createElement(w,a({},t,{ref:e,sideCar:$}))});Q.classNames=w.classNames;const Z=Q;var J=n(78460),tt=n(53165),et=n(98587),nt=n(58168),rt="data-focus-lock",ot="data-focus-lock-disabled",it={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},at=function(t){var e=t.children,n=void 0===e?null:e;return i.createElement(i.Fragment,null,i.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:it}),n,n&&i.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:it}))};at.propTypes={};var st=v({},function(t){return{target:t.target,currentTarget:t.currentTarget}}),lt=v(),ct=v(),ut=y({async:!0,ssr:"undefined"!==typeof document}),dt=(0,i.createContext)(void 0),ht=[],ft=(0,i.forwardRef)(function(t,e){var n,r=(0,i.useState)(),o=r[0],a=r[1],s=(0,i.useRef)(),l=(0,i.useRef)(!1),c=(0,i.useRef)(null),u=(0,i.useState)({})[1],d=t.children,h=t.disabled,f=void 0!==h&&h,g=t.noFocusGuards,m=void 0!==g&&g,v=t.persistentFocus,y=void 0!==v&&v,b=t.crossFrame,x=void 0===b||b,w=t.autoFocus,k=void 0===w||w,A=(t.allowTextSelection,t.group),_=t.className,S=t.whiteList,C=t.hasPositiveIndices,E=t.shards,O=void 0===E?ht:E,P=t.as,M=void 0===P?"div":P,T=t.lockProps,N=void 0===T?{}:T,R=t.sideCar,L=t.returnFocus,D=void 0!==L&&L,j=t.focusOptions,I=t.onActivation,z=t.onDeactivation,B=(0,i.useState)({})[0],F=(0,i.useCallback)(function(t){var e=t.captureFocusRestore;if(!c.current){var n,r=null==(n=document)?void 0:n.activeElement;c.current=r,r!==document.body&&(c.current=e(r))}s.current&&I&&I(s.current),l.current=!0,u()},[I]),H=(0,i.useCallback)(function(){l.current=!1,z&&z(s.current),u()},[z]),V=(0,i.useCallback)(function(t){var e=c.current;if(e){var n=("function"===typeof e?e():e)||document.body,r="function"===typeof D?D(n):D;if(r){var o="object"===typeof r?r:void 0;c.current=null,t?Promise.resolve().then(function(){return n.focus(o)}):n.focus(o)}}},[D]),q=(0,i.useCallback)(function(t){l.current&&st.useMedium(t)},[]),U=lt.useMedium,W=(0,i.useCallback)(function(t){s.current!==t&&(s.current=t,a(t))},[]);var G=(0,nt.A)(((n={})[ot]=f&&"disabled",n[rt]=A,n),N),Y=!0!==m,K=Y&&"tail"!==m,$=p([e,W]),X=(0,i.useMemo)(function(){return{observed:s,shards:O,enabled:!f,active:l.current}},[f,l.current,O,o]);return i.createElement(i.Fragment,null,Y&&[i.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:f?-1:0,style:it}),C?i.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:f?-1:1,style:it}):null],!f&&i.createElement(R,{id:B,sideCar:ut,observed:o,disabled:f,persistentFocus:y,crossFrame:x,autoFocus:k,whiteList:S,shards:O,onActivation:F,onDeactivation:H,returnFocus:V,focusOptions:j,noFocusGuards:m}),i.createElement(M,(0,nt.A)({ref:$},G,{className:_,onBlur:U,onFocus:q}),i.createElement(dt.Provider,{value:X},d)),K&&i.createElement("div",{"data-focus-guard":!0,tabIndex:f?-1:0,style:it}))});ft.propTypes={};const pt=ft;var gt=n(25540),mt=n(54705);const vt=function(t,e){return function(n){var r,o=[];function a(){r=t(o.map(function(t){return t.props})),e(r)}var s=function(t){function e(){return t.apply(this,arguments)||this}(0,gt.A)(e,t),e.peek=function(){return r};var s=e.prototype;return s.componentDidMount=function(){o.push(this),a()},s.componentDidUpdate=function(){a()},s.componentWillUnmount=function(){var t=o.indexOf(this);o.splice(t,1),a()},s.render=function(){return i.createElement(n,this.props)},e}(i.PureComponent);return(0,mt.A)(s,"displayName","SideEffect("+function(t){return t.displayName||t.name||"Component"}(n)+")"),s}};var yt=function(t){for(var e=Array(t.length),n=0;n<t.length;++n)e[n]=t[n];return e},bt=function(t){return Array.isArray(t)?t:[t]},xt=function(t){return Array.isArray(t)?t[0]:t},wt=function(t){return t.parentNode&&t.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?t.parentNode.host:t.parentNode},kt=function(t){return t===document||t&&t.nodeType===Node.DOCUMENT_NODE},At=function(t,e){return!t||kt(t)||!function(t){if(t.nodeType!==Node.ELEMENT_NODE)return!1;var e=window.getComputedStyle(t,null);return!(!e||!e.getPropertyValue)&&("none"===e.getPropertyValue("display")||"hidden"===e.getPropertyValue("visibility"))}(t)&&!function(t){return t.hasAttribute("inert")}(t)&&e(wt(t))},_t=function(t,e){var n=t.get(e);if(void 0!==n)return n;var r=At(e,_t.bind(void 0,t));return t.set(e,r),r},St=function(t,e){var n=t.get(e);if(void 0!==n)return n;var r=function(t,e){return!(t&&!kt(t))||!!Pt(t)&&e(wt(t))}(e,St.bind(void 0,t));return t.set(e,r),r},Ct=function(t){return t.dataset},Et=function(t){return"INPUT"===t.tagName},Ot=function(t){return Et(t)&&"radio"===t.type},Pt=function(t){var e=t.getAttribute("data-no-autofocus");return![!0,"true",""].includes(e)},Mt=function(t){var e;return Boolean(t&&(null===(e=Ct(t))||void 0===e?void 0:e.focusGuard))},Tt=function(t){return!Mt(t)},Nt=function(t){return Boolean(t)},Rt=function(t,e){var n=Math.max(0,t.tabIndex),r=Math.max(0,e.tabIndex),o=n-r,i=t.index-e.index;if(o){if(!n)return 1;if(!r)return-1}return o||i},Lt=function(t,e,n){return yt(t).map(function(t,e){var r=function(t){return t.tabIndex<0&&!t.hasAttribute("tabindex")?0:t.tabIndex}(t);return{node:t,index:e,tabIndex:n&&-1===r?(t.dataset||{}).focusGuard?0:-1:r}}).filter(function(t){return!e||t.tabIndex>=0}).sort(Rt)},Dt=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),jt="".concat(Dt,", [data-focus-guard]"),It=function(t,e){return yt((t.shadowRoot||t).children).reduce(function(t,n){return t.concat(n.matches(e?jt:Dt)?[n]:[],It(n))},[])},zt=function(t,e){return t.reduce(function(t,n){var r,o=It(n,e),i=(r=[]).concat.apply(r,o.map(function(t){return function(t,e){var n;return t instanceof HTMLIFrameElement&&(null===(n=t.contentDocument)||void 0===n?void 0:n.body)?zt([t.contentDocument.body],e):[t]}(t,e)}));return t.concat(i,n.parentNode?yt(n.parentNode.querySelectorAll(Dt)).filter(function(t){return t===n}):[])},[])},Bt=function(t,e){return yt(t).filter(function(t){return _t(e,t)}).filter(function(t){return function(t){return!((Et(t)||function(t){return"BUTTON"===t.tagName}(t))&&("hidden"===t.type||t.disabled))}(t)})},Ft=function(t,e){return void 0===e&&(e=new Map),yt(t).filter(function(t){return St(e,t)})},Ht=function(t,e,n){return Lt(Bt(zt(t,n),e),!0,n)},Vt=function(t,e){return Lt(Bt(zt(t),e),!1)},qt=function(t,e){return Bt(function(t){var e=t.querySelectorAll("[".concat("data-autofocus-inside","]"));return yt(e).map(function(t){return zt([t])}).reduce(function(t,e){return t.concat(e)},[])}(t),e)},Ut=function(t,e){return t.shadowRoot?Ut(t.shadowRoot,e):!(void 0===Object.getPrototypeOf(t).contains||!Object.getPrototypeOf(t).contains.call(t,e))||yt(t.children).some(function(t){var n;if(t instanceof HTMLIFrameElement){var r=null===(n=t.contentDocument)||void 0===n?void 0:n.body;return!!r&&Ut(r,e)}return Ut(t,e)})},Wt=function(t){if(void 0===t&&(t=document),t&&t.activeElement){var e=t.activeElement;return e.shadowRoot?Wt(e.shadowRoot):e instanceof HTMLIFrameElement&&function(t){try{return t()}catch(e){return}}(function(){return e.contentWindow.document})?Wt(e.contentWindow.document):e}},Gt=function(t){return t.parentNode?Gt(t.parentNode):t},Yt=function(t){return bt(t).filter(Boolean).reduce(function(t,e){var n=e.getAttribute(rt);return t.push.apply(t,n?function(t){for(var e=new Set,n=t.length,r=0;r<n;r+=1)for(var o=r+1;o<n;o+=1){var i=t[r].compareDocumentPosition(t[o]);(i&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&e.add(o),(i&Node.DOCUMENT_POSITION_CONTAINS)>0&&e.add(r)}return t.filter(function(t,n){return!e.has(n)})}(yt(Gt(e).querySelectorAll("[".concat(rt,'="').concat(n,'"]:not([').concat(ot,'="disabled"])')))):[e]),t},[])},Kt=function(t,e){return void 0===e&&(e=Wt(xt(t).ownerDocument)),!(!e||e.dataset&&e.dataset.focusGuard)&&Yt(t).some(function(t){return Ut(t,e)||function(t,e){return Boolean(yt(t.querySelectorAll("iframe")).some(function(t){return function(t,e){return t===e}(t,e)}))}(t,e)})},$t=function(t,e){t&&("focus"in t&&t.focus(e),"contentWindow"in t&&t.contentWindow&&t.contentWindow.focus())},Xt=function(t,e){return Ot(t)&&t.name?function(t,e){return e.filter(Ot).filter(function(e){return e.name===t.name}).filter(function(t){return t.checked})[0]||t}(t,e):t},Qt=function(t){return t[0]&&t.length>1?Xt(t[0],t):t[0]},Zt=function(t,e){return t.indexOf(Xt(e,t))},Jt="NEW_FOCUS",te=function(t,e,n,r,o){var i=t.length,a=t[0],s=t[i-1],l=Mt(r);if(!(r&&t.indexOf(r)>=0)){var c=void 0!==r?n.indexOf(r):-1,u=o?n.indexOf(o):c,d=o?t.indexOf(o):-1;if(-1===c)return-1!==d?d:Jt;if(-1===d)return Jt;var h=c-u,f=n.indexOf(a),p=n.indexOf(s),g=function(t){var e=new Set;return t.forEach(function(n){return e.add(Xt(n,t))}),t.filter(function(t){return e.has(t)})}(n),m=void 0!==r?g.indexOf(r):-1,v=o?g.indexOf(o):m,y=g.filter(function(t){return t.tabIndex>=0}),b=void 0!==r?y.indexOf(r):-1,x=o?y.indexOf(o):b,w=b>=0&&x>=0?x-b:v-m;if(!h&&d>=0)return d;if(0===e.length)return d;var k=Zt(t,e[0]),A=Zt(t,e[e.length-1]);return c<=f&&l&&Math.abs(h)>1?A:c>=p&&l&&Math.abs(h)>1?k:h&&Math.abs(w)>1?d:c<=f?A:c>p?k:h?Math.abs(h)>1?d:(i+d+h)%i:void 0}},ee=function(t,e,n){var r,o=t.map(function(t){return t.node}),i=Ft(o.filter((r=n,function(t){var e,n=null===(e=Ct(t))||void 0===e?void 0:e.autofocus;return t.autofocus||void 0!==n&&"false"!==n||r.indexOf(t)>=0})));return i&&i.length?Qt(i):Qt(Ft(e))},ne=function(t,e){return void 0===e&&(e=[]),e.push(t),t.parentNode&&ne(t.parentNode.host||t.parentNode,e),e},re=function(t,e){for(var n=ne(t),r=ne(e),o=0;o<n.length;o+=1){var i=n[o];if(r.indexOf(i)>=0)return i}return!1},oe=function(t,e,n){var r=bt(t),o=bt(e),i=r[0],a=!1;return o.filter(Boolean).forEach(function(t){a=re(a||t,t)||a,n.filter(Boolean).forEach(function(t){var e=re(i,t);e&&(a=!a||Ut(e,a)?e:re(e,a))})}),a},ie=function(t,e){return t.reduce(function(t,n){return t.concat(qt(n,e))},[])},ae=function(t,e){var n=Wt(bt(t).length>0?document:xt(t).ownerDocument),r=Yt(t).filter(Tt),o=oe(n||t,t,r),i=new Map,a=Vt(r,i),s=a.filter(function(t){var e=t.node;return Tt(e)});if(s[0]){var l=Vt([o],i).map(function(t){return t.node}),c=function(t,e){var n=new Map;return e.forEach(function(t){return n.set(t.node,t)}),t.map(function(t){return n.get(t)}).filter(Nt)}(l,s),u=c.map(function(t){return t.node}),d=c.filter(function(t){return t.tabIndex>=0}).map(function(t){return t.node}),h=te(u,d,l,n,e);if(h===Jt){var f=ee(a,d,ie(r,i))||ee(a,u,ie(r,i));return f?{node:f}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===h?h:c[h]}},se=0,le=!1,ce=function(t,e,n){void 0===n&&(n={});var r=ae(t,e);if(!le&&r){if(se>2)return console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),le=!0,void setTimeout(function(){le=!1},1);se++,$t(r.node,n.focusOptions),se--}};function ue(t){if(!t)return null;if("undefined"===typeof WeakRef)return function(){return t||null};var e=t?new WeakRef(t):null;return function(){return(null===e||void 0===e?void 0:e.deref())||null}}var de=function(t){var e=function(t){if(!t)return null;for(var e=[],n=t;n&&n!==document.body;)e.push({current:ue(n),parent:ue(n.parentElement),left:ue(n.previousElementSibling),right:ue(n.nextElementSibling)}),n=n.parentElement;return{element:ue(t),stack:e,ownerDocument:t.ownerDocument}}(t);return function(){return function(t){var e,n,r,o,i;if(t)for(var a=t.stack,s=t.ownerDocument,l=new Map,c=0,u=a;c<u.length;c++){var d=u[c],h=null===(e=d.parent)||void 0===e?void 0:e.call(d);if(h&&s.contains(h)){for(var f=null===(n=d.left)||void 0===n?void 0:n.call(d),p=d.current(),g=h.contains(p)?p:void 0,m=null===(r=d.right)||void 0===r?void 0:r.call(d),v=Ht([h],l),y=null!==(i=null!==(o=null!==g&&void 0!==g?g:null===f||void 0===f?void 0:f.nextElementSibling)&&void 0!==o?o:m)&&void 0!==i?i:f;y;){for(var b=0,x=v;b<x.length;b++){var w=x[b];if(null===y||void 0===y?void 0:y.contains(w.node))return w.node}y=y.nextElementSibling}if(v.length)return v[0].node}}}(e)}},he=function(t,e,n){void 0===e&&(e={});var r=function(t){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},t)}(e),o=function(t,e,n){if(!t||!e)return console.error("no element or scope given"),{};var r=bt(e);if(r.every(function(e){return!Ut(e,t)}))return console.error("Active element is not contained in the scope"),{};var o=n?Ht(r,new Map):Vt(r,new Map),i=o.findIndex(function(e){return e.node===t});return-1!==i?{prev:o[i-1],next:o[i+1],first:o[0],last:o[o.length-1]}:void 0}(t,r.scope,r.onlyTabbable);if(o){var i=n(o,r.cycle);i&&$t(i.node,r.focusOptions)}},fe=function(t,e,n){var r,o=function(t,e){var n=e?Ht(bt(t),new Map):Vt(bt(t),new Map);return{first:n[0],last:n[n.length-1]}}(t,null===(r=e.onlyTabbable)||void 0===r||r)[n];o&&$t(o.node,e.focusOptions)};function pe(t){setTimeout(t,1)}var ge=function(t){return t&&"current"in t?t.current:t},me=function(){return document&&document.activeElement===document.body},ve=function(){return me()||function(t){void 0===t&&(t=document);var e=Wt(t);return!!e&&yt(t.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(t){return Ut(t,e)})}()},ye=null,be=null,xe=function(){return null},we=null,ke=!1,Ae=!1,_e=function(){return!0};function Se(t,e,n,r){var o=null,i=t;do{var a=r[i];if(a.guard)a.node.dataset.focusAutoGuard&&(o=a);else{if(!a.lockItem)break;if(i!==t)return;o=null}}while((i+=n)!==e);o&&(o.node.tabIndex=0)}var Ce=function t(e,n,r){return n&&(n.host===e&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&t(e,n.parentNode,r))},Ee=function(t){return Vt(t,new Map)},Oe=function(){var t,e,n=!1;if(ye){var r=ye,o=r.observed,i=r.persistentFocus,a=r.autoFocus,s=r.shards,l=r.crossFrame,c=r.focusOptions,u=r.noFocusGuards,d=o||we&&we.portaledElement;if(me()&&be&&be!==document.body&&(!document.body.contains(be)||!Ee([(e=be).parentNode]).some(function(t){return t.node===e}))){var h=xe();h&&h.focus()}var f=document&&document.activeElement;if(d){var p=[d].concat(s.map(ge).filter(Boolean));if(f&&!function(t){return(ye.whiteList||_e)(t)}(f)||(i||function(){if(!(l?Boolean(ke):"meanwhile"===ke)||!u||!be||Ae)return!1;var t=Ee(p),e=t.findIndex(function(t){return t.node===be});return 0===e||e===t.length-1}()||!ve()||!be&&a)&&(d&&!(Kt(p)||f&&function(t,e){return e.some(function(e){return Ce(t,e,e)})}(f,p)||(t=f,we&&we.portaledElement===t))&&(document&&!be&&f&&!a?(f.blur&&f.blur(),document.body.focus()):(n=ce(p,be,{focusOptions:c}),we={})),(be=document&&document.activeElement)!==document.body&&(xe=de(be)),ke=!1),document&&f!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var g=document&&document.activeElement,m=function(t){var e=Yt(t).filter(Tt),n=oe(t,t,e),r=Lt(zt([n],!0),!0,!0),o=zt(e,!1);return r.map(function(t){var e=t.node;return{node:e,index:t.index,lockItem:o.indexOf(e)>=0,guard:Mt(e)}})}(p),v=m.map(function(t){return t.node}).indexOf(g);v>-1&&(m.filter(function(t){var e=t.guard,n=t.node;return e&&n.dataset.focusAutoGuard}).forEach(function(t){return t.node.removeAttribute("tabIndex")}),Se(v,m.length,1,m),Se(v,-1,-1,m))}}}return n},Pe=function(t){Oe()&&t&&(t.stopPropagation(),t.preventDefault())},Me=function(){return pe(Oe)},Te=function(t){var e=t.target,n=t.currentTarget;n.contains(e)||(we={observerNode:n,portaledElement:e})},Ne=function(){Ae=!0},Re=function(){Ae=!1,ke="just",pe(function(){ke="meanwhile"})};var Le={moveFocusInside:ce,focusInside:Kt,focusNextElement:function(t,e){void 0===e&&(e={}),he(t,e,function(t,e){var n=t.next,r=t.first;return n||e&&r})},focusPrevElement:function(t,e){void 0===e&&(e={}),he(t,e,function(t,e){var n=t.prev,r=t.last;return n||e&&r})},focusFirstElement:function(t,e){void 0===e&&(e={}),fe(t,e,"first")},focusLastElement:function(t,e){void 0===e&&(e={}),fe(t,e,"last")},captureFocusRestore:de};st.assignSyncMedium(Te),lt.assignMedium(Me),ct.assignMedium(function(t){return t(Le)});const De=vt(function(t){return t.filter(function(t){return!t.disabled})},function(t){var e=t.slice(-1)[0];e&&!ye&&(document.addEventListener("focusin",Pe),document.addEventListener("focusout",Me),window.addEventListener("focus",Ne),window.addEventListener("blur",Re));var n=ye,r=n&&e&&e.id===n.id;ye=e,n&&!r&&(n.onDeactivation(),t.filter(function(t){return t.id===n.id}).length||n.returnFocus(!e)),e?(be=null,r&&n.observed===e.observed||e.onActivation(Le),Oe(),pe(Oe)):(document.removeEventListener("focusin",Pe),document.removeEventListener("focusout",Me),window.removeEventListener("focus",Ne),window.removeEventListener("blur",Re),be=null)})(function(){return null});var je=(0,i.forwardRef)(function(t,e){return i.createElement(pt,(0,nt.A)({sideCar:De,ref:e},t))}),Ie=pt.propTypes||{};Ie.sideCar,(0,et.A)(Ie,["sideCar"]);je.propTypes={};const ze=je;var Be=n(84444);const Fe=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function He(t){const e=Array.from(t.querySelectorAll(Fe));return e.unshift(t),e.filter(t=>(0,Be.tp)(t)&&(t=>t.offsetWidth>0&&t.offsetHeight>0)(t))}var Ve;const qe=null!==(Ve=ze.default)&&void 0!==Ve?Ve:ze,Ue=t=>{const{initialFocusRef:e,finalFocusRef:n,contentRef:o,restoreFocus:a,children:s,isDisabled:l,autoFocus:c,persistentFocus:u,lockFocusAcrossFrames:d}=t,h=(0,i.useCallback)(()=>{if(null!==e&&void 0!==e&&e.current)e.current.focus();else if(null!==o&&void 0!==o&&o.current){0===He(o.current).length&&requestAnimationFrame(()=>{var t;null===(t=o.current)||void 0===t||t.focus()})}},[e,o]),f=(0,i.useCallback)(()=>{var t;null===n||void 0===n||null===(t=n.current)||void 0===t||t.focus()},[n]),p=a&&!n;return(0,r.jsx)(qe,{crossFrame:d,persistentFocus:u,autoFocus:c,disabled:l,onActivation:h,onDeactivation:f,returnFocus:p,children:s})};function We(t){const{autoFocus:e,trapFocus:n,dialogRef:a,initialFocusRef:s,blockScrollOnMount:l,allowPinchZoom:c,finalFocusRef:u,returnFocusOnClose:d,preserveScrollBarGap:h,lockFocusAcrossFrames:f,isOpen:p}=(0,J.k3)(),[g,m]=(0,o.xQ)();(0,i.useEffect)(()=>{!g&&m&&setTimeout(m)},[g,m]);const v=(0,tt.y)(a,p);return(0,r.jsx)(Ue,{autoFocus:e,isDisabled:!n,initialFocusRef:s,finalFocusRef:u,restoreFocus:d,contentRef:a,lockFocusAcrossFrames:f,children:(0,r.jsx)(Z,{removeScrollBar:!h,allowPinchZoom:c,enabled:1===v&&l,forwardProps:!0,children:t.children})})}Ue.displayName="FocusLock"},27265:(t,e,n)=>{"use strict";n.d(e,{v:()=>a});var r=n(44521),o=n(65043),i=n(13240);function a(t){const{isOpen:e,ref:n}=t,[a,s]=(0,o.useState)(e),[l,c]=(0,o.useState)(!1);(0,o.useEffect)(()=>{l||(s(e),c(!0))},[e,l,a]),(0,i.M)(()=>n.current,"animationend",()=>{s(e)});return{present:!(!e&&!a),onComplete(){var t;const e=new((0,r.mD)(n.current).CustomEvent)("animationend",{bubbles:!0});null===(t=n.current)||void 0===t||t.dispatchEvent(e)}}}},27615:(t,e,n)=>{var r=n(95575);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},27760:t=>{t.exports=function(t){return this.__data__.get(t)}},27940:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]])},28344:(t,e,n)=>{"use strict";n.d(e,{c:()=>a});var r=n(12440),o=n(71562),i=n(66465);function a(t,e){return(0,i.r)((0,r.w)((null===e||void 0===e?void 0:e.in)||t,t),(0,o.A)((null===e||void 0===e?void 0:e.in)||t))}},28612:(t,e,n)=>{"use strict";function r(t){return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],i=e.match(o);if(!i)return null;const a=i[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?function(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n;return}(s,t=>t.test(a)):function(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n;return}(s,t=>t.test(a));let c;c=t.valueCallback?t.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c;return{value:c,rest:e.slice(a.length)}}}n.d(e,{A:()=>r})},28646:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},28673:(t,e,n)=>{var r=n(73204),o=n(83713),i=n(6571);t.exports=function(t){return i(t)?r(t):o(t)}},28846:(t,e,n)=>{"use strict";n.d(e,{D:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className"],h=(0,l.R)(function(t,e){const n=(0,c.V)("Heading",t),l=(0,a.M)(t),{className:h}=l,f=(0,o.A)(l,d);return(0,i.jsx)(u.B.h2,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-heading",t.className)},f),{},{__css:n}))});h.displayName="Heading"},28873:(t,e,n)=>{"use strict";n.d(e,{r:()=>r});const r=n(29461).useSyncExternalStore},28917:(t,e,n)=>{"use strict";n.d(e,{tF:()=>a,xQ:()=>i});var r=n(65043),o=n(9674);function i(){const t=(0,r.useContext)(o.t);if(null===t)return[!0,null];const{isPresent:e,onExitComplete:n,register:i}=t,a=(0,r.useId)();(0,r.useEffect)(()=>i(a),[]);return!e&&n?[!1,()=>n&&n(a)]:[!0]}function a(){return null===(t=(0,r.useContext)(o.t))||t.isPresent;var t}},29244:(t,e,n)=>{"use strict";n.d(e,{W:()=>g,t:()=>m});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(45973),l=n(52695),c=n(55003);const u=["placement"],d=["className"],h=["className"],f=(0,l.B)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),p=(0,c.R)(function(t,e){var n,a;const{placement:l="left"}=t,c=(0,o.A)(t,u),d=(0,s.Z)(),h=d.field,p="left"===l?"insetStart":"insetEnd",g=(0,r.A)({[p]:"0",width:null!==(n=null===h||void 0===h?void 0:h.height)&&void 0!==n?n:null===h||void 0===h?void 0:h.h,height:null!==(a=null===h||void 0===h?void 0:h.height)&&void 0!==a?a:null===h||void 0===h?void 0:h.h,fontSize:null===h||void 0===h?void 0:h.fontSize},d.element);return(0,i.jsx)(f,(0,r.A)({ref:e,__css:g},c))});p.id="InputElement",p.displayName="InputElement";const g=(0,c.R)(function(t,e){const{className:n}=t,s=(0,o.A)(t,d),l=(0,a.cx)("chakra-input__left-element",n);return(0,i.jsx)(p,(0,r.A)({ref:e,placement:"left",className:l},s))});g.id="InputLeftElement",g.displayName="InputLeftElement";const m=(0,c.R)(function(t,e){const{className:n}=t,s=(0,o.A)(t,h),l=(0,a.cx)("chakra-input__right-element",n);return(0,i.jsx)(p,(0,r.A)({ref:e,placement:"right",className:l},s))});m.id="InputRightElement",m.displayName="InputRightElement"},29461:(t,e,n)=>{"use strict";t.exports=n(72330)},29676:(t,e,n)=>{"use strict";n.d(e,{R:()=>u,d:()=>d});var r=n(32041);function o(t){const e=null==t?0:t.length;return e?t[e-1]:void 0}function i(t){if(null==t)return t;const{unitless:e}=function(t){const e=parseFloat(t.toString()),n=t.toString().replace(String(e),"");return{unitless:!n,value:e,unit:n}}(t);return e||"number"===typeof t?"".concat(t,"px"):t}const a=(t,e)=>parseInt(t[1],10)>parseInt(e[1],10)?1:-1,s=t=>Object.fromEntries(Object.entries(t).sort(a));function l(t){const e=s(t);return Object.assign(Object.values(e),e)}function c(t){var e;if(!t)return t;t=null!==(e=i(t))&&void 0!==e?e:t;return"number"===typeof t?"".concat(t+-.02):t.replace(/([0-9]+\.?[0-9]*)/,t=>"".concat(parseFloat(t)+-.02))}function u(t,e){const n=["@media screen"];return t&&n.push("and","(min-width: ".concat(i(t),")")),e&&n.push("and","(max-width: ".concat(i(e),")")),n.join(" ")}function d(t){var e;if(!t)return null;t.base=null!==(e=t.base)&&void 0!==e?e:"0px";const n=l(t),i=Object.entries(t).sort(a).map((t,e,n)=>{var r;let[o,i]=t,[,a]=null!==(r=n[e+1])&&void 0!==r?r:[];return a=parseFloat(a)>0?c(a):void 0,{_minW:c(i),breakpoint:o,minW:i,maxW:a,maxWQuery:u(null,a),minWQuery:u(i),minMaxQuery:u(i,a)}}),d=function(t){const e=Object.keys(s(t));return new Set(e)}(t),h=Array.from(d.values());return{keys:d,normalized:n,isResponsive(t){const e=Object.keys(t);return e.length>0&&e.every(t=>d.has(t))},asObject:s(t),asArray:l(t),details:i,get:t=>i.find(e=>e.breakpoint===t),media:[null,...n.map(t=>u(t)).slice(1)],toArrayValue(t){if(!(0,r.Gv)(t))throw new Error("toArrayValue: value must be an object");const e=h.map(e=>{var n;return null!==(n=t[e])&&void 0!==n?n:null});for(;null===o(e);)e.pop();return e},toObjectValue(t){if(!Array.isArray(t))throw new Error("toObjectValue: value must be an array");return t.reduce((t,e,n)=>{const r=h[n];return null!=r&&null!=e&&(t[r]=e),t},{})}}}},29868:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},29904:(t,e,n)=>{"use strict";n.d(e,{B:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(91432),s=n(64844),l=n(65043),c=n(52695);const u=t=>(0,i.jsx)(c.B.div,(0,r.A)((0,r.A)({className:"chakra-stack__item"},t),{},{__css:(0,r.A)({display:"inline-block",flex:"0 0 auto",minWidth:0},t.__css)}));u.displayName="StackItem";var d=n(16935);var h=n(55003);const f=["isInline","direction","align","justify","spacing","wrap","children","divider","className","shouldWrapChildren"],p=(0,h.R)((t,e)=>{const{isInline:n,direction:h,align:p,justify:g,spacing:m="0.5rem",wrap:v,children:y,divider:b,className:x,shouldWrapChildren:w}=t,k=(0,o.A)(t,f),A=n?"row":null!==h&&void 0!==h?h:"column",_=(0,l.useMemo)(()=>function(t){const{spacing:e,direction:n}=t,r={column:{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":(0,d.bk)(n,t=>r[t])}}({spacing:m,direction:A}),[m,A]),S=!!b,C=!w&&!S,E=(0,l.useMemo)(()=>{const t=(0,a.a)(y);return C?t:t.map((e,n)=>{const r="undefined"!==typeof e.key?e.key:n,o=n+1===t.length,a=w?(0,i.jsx)(u,{children:e},r):e;if(!S)return a;const s=(0,l.cloneElement)(b,{__css:_}),c=o?null:s;return(0,i.jsxs)(l.Fragment,{children:[a,c]},r)})},[b,_,S,C,w,y]),O=(0,s.cx)("chakra-stack",x);return(0,i.jsx)(c.B.div,(0,r.A)((0,r.A)({ref:e,display:"flex",alignItems:p,justifyContent:g,flexDirection:A,flexWrap:v,gap:S?void 0:m,className:O},k),{},{children:E}))});p.displayName="Stack"},29935:(t,e,n)=>{var r=n(61340),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)}},30086:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]])},30502:(t,e,n)=>{"use strict";n.d(e,{d:()=>d});var r=n(89379),o=n(65043),i=n(72157),a=n(56827);function s(t,e){var n;const r=null!==t&&void 0!==t?t:"bottom",o={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[r];return null!==(n=null===o||void 0===o?void 0:o[e])&&void 0!==n?n:r}var l=n(60482);var c=n(12325),u=n(36448);function d(t){const{theme:e}=(0,u.UQ)(),n=(0,c.NU)();return(0,o.useMemo)(()=>function(t,e){const n=n=>{var o;return(0,r.A)((0,r.A)((0,r.A)({},e),n),{},{position:s(null!==(o=null===n||void 0===n?void 0:n.position)&&void 0!==o?o:null===e||void 0===e?void 0:e.position,t)})},o=t=>{const e=n(t),r=(0,a.q)(e);return l.Z.notify(r,e)};return o.update=(t,e)=>{l.Z.update(t,n(e))},o.promise=(t,e)=>{const n=o((0,r.A)((0,r.A)({},e.loading),{},{status:"loading",duration:null}));t.then(t=>o.update(n,(0,r.A)({status:"success",duration:5e3},(0,i.J)(e.success,t)))).catch(t=>o.update(n,(0,r.A)({status:"error",duration:5e3},(0,i.J)(e.error,t))))},o.closeAll=l.Z.closeAll,o.close=l.Z.close,o.isActive=l.Z.isActive,o}(e.direction,(0,r.A)((0,r.A)({},n),t)),[t,e.direction,n])}},30918:(t,e,n)=>{"use strict";function r(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}n.d(e,{A:()=>r})},31387:(t,e,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}var o;n.d(e,{AO:()=>d,Gh:()=>L,HS:()=>D,Oi:()=>s,Rr:()=>h,pX:()=>F,pb:()=>M,rc:()=>o,tH:()=>B,ue:()=>g,yD:()=>R,zR:()=>a}),function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(o||(o={}));const i="popstate";function a(t){return void 0===t&&(t={}),f(function(t,e){let{pathname:n,search:r,hash:o}=t.location;return u("",{pathname:n,search:r,hash:o},e.state&&e.state.usr||null,e.state&&e.state.key||"default")},function(t,e){return"string"===typeof e?e:d(e)},null,t)}function s(t,e){if(!1===t||null===t||"undefined"===typeof t)throw new Error(e)}function l(t,e){if(!t){"undefined"!==typeof console&&console.warn(e);try{throw new Error(e)}catch(n){}}}function c(t,e){return{usr:t.state,key:t.key,idx:e}}function u(t,e,n,o){return void 0===n&&(n=null),r({pathname:"string"===typeof t?t:t.pathname,search:"",hash:""},"string"===typeof e?h(e):e,{state:n,key:e&&e.key||o||Math.random().toString(36).substr(2,8)})}function d(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&"?"!==n&&(e+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(e+="#"===r.charAt(0)?r:"#"+r),e}function h(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}function f(t,e,n,a){void 0===a&&(a={});let{window:l=document.defaultView,v5Compat:h=!1}=a,f=l.history,p=o.Pop,g=null,m=v();function v(){return(f.state||{idx:null}).idx}function y(){p=o.Pop;let t=v(),e=null==t?null:t-m;m=t,g&&g({action:p,location:x.location,delta:e})}function b(t){let e="null"!==l.location.origin?l.location.origin:l.location.href,n="string"===typeof t?t:d(t);return n=n.replace(/ $/,"%20"),s(e,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,e)}null==m&&(m=0,f.replaceState(r({},f.state,{idx:m}),""));let x={get action(){return p},get location(){return t(l,f)},listen(t){if(g)throw new Error("A history only accepts one active listener");return l.addEventListener(i,y),g=t,()=>{l.removeEventListener(i,y),g=null}},createHref:t=>e(l,t),createURL:b,encodeLocation(t){let e=b(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){p=o.Push;let r=u(x.location,t,e);n&&n(r,t),m=v()+1;let i=c(r,m),a=x.createHref(r);try{f.pushState(i,"",a)}catch(s){if(s instanceof DOMException&&"DataCloneError"===s.name)throw s;l.location.assign(a)}h&&g&&g({action:p,location:x.location,delta:1})},replace:function(t,e){p=o.Replace;let r=u(x.location,t,e);n&&n(r,t),m=v();let i=c(r,m),a=x.createHref(r);f.replaceState(i,"",a),h&&g&&g({action:p,location:x.location,delta:0})},go:t=>f.go(t)};return x}var p;!function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"}(p||(p={}));new Set(["lazy","caseSensitive","path","id","index","children"]);function g(t,e,n){return void 0===n&&(n="/"),m(t,e,n,!1)}function m(t,e,n,r){let o=M(("string"===typeof e?h(e):e).pathname||"/",n);if(null==o)return null;let i=v(t);!function(t){t.sort((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){let n=t.length===e.length&&t.slice(0,-1).every((t,n)=>t===e[n]);return n?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map(t=>t.childrenIndex),e.routesMeta.map(t=>t.childrenIndex)))}(i);let a=null;for(let s=0;null==a&&s<i.length;++s){let t=P(o);a=E(i[s],t,r)}return a}function v(t,e,n,r){void 0===e&&(e=[]),void 0===n&&(n=[]),void 0===r&&(r="");let o=(t,o,i)=>{let a={relativePath:void 0===i?t.path||"":i,caseSensitive:!0===t.caseSensitive,childrenIndex:o,route:t};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path "'+r+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(r.length));let l=D([r,a.relativePath]),c=n.concat(a);t.children&&t.children.length>0&&(s(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),v(t.children,e,c,l)),(null!=t.path||t.index)&&e.push({path:l,score:C(l,t.index),routesMeta:c})};return t.forEach((t,e)=>{var n;if(""!==t.path&&null!=(n=t.path)&&n.includes("?"))for(let r of y(t.path))o(t,e,r);else o(t,e)}),e}function y(t){let e=t.split("/");if(0===e.length)return[];let[n,...r]=e,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=y(r.join("/")),s=[];return s.push(...a.map(t=>""===t?i:[i,t].join("/"))),o&&s.push(...a),s.map(e=>t.startsWith("/")&&""===e?"/":e)}const b=/^:[\w-]+$/,x=3,w=2,k=1,A=10,_=-2,S=t=>"*"===t;function C(t,e){let n=t.split("/"),r=n.length;return n.some(S)&&(r+=_),e&&(r+=w),n.filter(t=>!S(t)).reduce((t,e)=>t+(b.test(e)?x:""===e?k:A),r)}function E(t,e,n){void 0===n&&(n=!1);let{routesMeta:r}=t,o={},i="/",a=[];for(let s=0;s<r.length;++s){let t=r[s],l=s===r.length-1,c="/"===i?e:e.slice(i.length)||"/",u=O({path:t.relativePath,caseSensitive:t.caseSensitive,end:l},c),d=t.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=O({path:t.relativePath,caseSensitive:t.caseSensitive,end:!1},c)),!u)return null;Object.assign(o,u.params),a.push({params:o,pathname:D([i,u.pathname]),pathnameBase:j(D([i,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(i=D([i,u.pathnameBase]))}return a}function O(t,e){"string"===typeof t&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=function(t,e,n){void 0===e&&(e=!1);void 0===n&&(n=!0);l("*"===t||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were "'+t.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+t.replace(/\*$/,"/*")+'".');let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(t,e,n)=>(r.push({paramName:e,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));t.endsWith("*")?(r.push({paramName:"*"}),o+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==t&&"/"!==t&&(o+="(?:(?=\\/|$))");let i=new RegExp(o,e?void 0:"i");return[i,r]}(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((t,e,n)=>{let{paramName:r,isOptional:o}=e;if("*"===r){let t=s[n]||"";a=i.slice(0,i.length-t.length).replace(/(.)\/+$/,"$1")}const l=s[n];return t[r]=o&&!l?void 0:(l||"").replace(/%2F/g,"/"),t},{}),pathname:i,pathnameBase:a,pattern:t}}function P(t){try{return t.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(e){return l(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}function M(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&"/"!==r?null:t.slice(n)||"/"}function T(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified `to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.'}function N(t){return t.filter((t,e)=>0===e||t.route.path&&t.route.path.length>0)}function R(t,e){let n=N(t);return e?n.map((t,e)=>e===n.length-1?t.pathname:t.pathnameBase):n.map(t=>t.pathnameBase)}function L(t,e,n,o){let i;void 0===o&&(o=!1),"string"===typeof t?i=h(t):(i=r({},t),s(!i.pathname||!i.pathname.includes("?"),T("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),T("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),T("#","search","hash",i)));let a,l=""===t||""===i.pathname,c=l?"/":i.pathname;if(null==c)a=n;else{let t=e.length-1;if(!o&&c.startsWith("..")){let e=c.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}a=t>=0?e[t]:"/"}let u=function(t,e){void 0===e&&(e="/");let{pathname:n,search:r="",hash:o=""}="string"===typeof t?h(t):t,i=n?n.startsWith("/")?n:function(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)}),n.length>1?n.join("/"):"/"}(n,e):e;return{pathname:i,search:I(r),hash:z(o)}}(i,a),d=c&&"/"!==c&&c.endsWith("/"),f=(l||"."===c)&&n.endsWith("/");return u.pathname.endsWith("/")||!d&&!f||(u.pathname+="/"),u}const D=t=>t.join("/").replace(/\/\/+/g,"/"),j=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),I=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",z=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";class B extends Error{}function F(t){return null!=t&&"number"===typeof t.status&&"string"===typeof t.statusText&&"boolean"===typeof t.internal&&"data"in t}const H=["post","put","patch","delete"],V=(new Set(H),["get",...H]);new Set(V),new Set([301,302,303,307,308]),new Set([307,308]);Symbol("deferred")},31411:(t,e,n)=>{"use strict";n.d(e,{w:()=>d});var r=n(89379),o=n(70579),i=n(79953),a=n(64844),s=n(3109),l=n(7547),c=n(55003),u=n(52695);const d=(0,c.R)(function(t,e){const n=(0,l.$c)((0,r.A)((0,r.A)({},t),{},{ref:e})),c=(0,s.e)(),d=(0,i.H2)((0,r.A)({display:"flex"},c.tablist));return(0,o.jsx)(u.B.div,(0,r.A)((0,r.A)({},n),{},{className:(0,a.cx)("chakra-tabs__tablist",t.className),__css:d}))});d.displayName="TabList"},32041:(t,e,n)=>{"use strict";function r(t){return Array.isArray(t)}function o(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!r(t)}n.d(e,{Gv:()=>o,cy:()=>r})},32077:(t,e,n)=>{"use strict";n.d(e,{g:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(16935),l=n(65043),c=n(55003),u=n(52695);const d=["ratio","children","className"],h=(0,c.R)(function(t,e){const{ratio:n=4/3,children:c,className:h}=t,f=(0,o.A)(t,d),p=l.Children.only(c),g=(0,a.cx)("chakra-aspect-ratio",h);return(0,i.jsx)(u.B.div,(0,r.A)((0,r.A)({ref:e,position:"relative",className:g,_before:{height:0,content:'""',display:"block",paddingBottom:(0,s.bk)(n,t=>"".concat(1/t*100,"%"))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}}},f),{},{children:p}))});h.displayName="AspectRatio"},32315:(t,e,n)=>{"use strict";n.d(e,{D:()=>g});var r=n(43194),o=n(92970),i=n(65043),a=n(89379);function s(t){return t.sort((t,e)=>{const n=t.compareDocumentPosition(e);if(n&Node.DOCUMENT_POSITION_FOLLOWING||n&Node.DOCUMENT_POSITION_CONTAINED_BY)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING||n&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(n&Node.DOCUMENT_POSITION_DISCONNECTED||n&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC)throw Error("Cannot sort the given nodes.");return 0})}function l(t,e,n){let r=t+1;return n&&r>=e&&(r=0),r}function c(t,e,n){let r=t-1;return n&&r<0&&(r=e),r}const u="undefined"!==typeof window?i.useLayoutEffect:i.useEffect,d=t=>t;var h=Object.defineProperty,f=(t,e,n)=>(((t,e,n)=>{e in t?h(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!==typeof e?e+"":e,n),n);class p{constructor(){var t=this;f(this,"descendants",new Map),f(this,"register",t=>{var e;if(null!=t)return"object"==typeof(e=t)&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE?this.registerNode(t):e=>{this.registerNode(e,t)}}),f(this,"unregister",t=>{this.descendants.delete(t);const e=s(Array.from(this.descendants.keys()));this.assignIndex(e)}),f(this,"destroy",()=>{this.descendants.clear()}),f(this,"assignIndex",t=>{this.descendants.forEach(e=>{const n=t.indexOf(e.node);e.index=n,e.node.dataset.index=e.index.toString()})}),f(this,"count",()=>this.descendants.size),f(this,"enabledCount",()=>this.enabledValues().length),f(this,"values",()=>Array.from(this.descendants.values()).sort((t,e)=>t.index-e.index)),f(this,"enabledValues",()=>this.values().filter(t=>!t.disabled)),f(this,"item",t=>{if(0!==this.count())return this.values()[t]}),f(this,"enabledItem",t=>{if(0!==this.enabledCount())return this.enabledValues()[t]}),f(this,"first",()=>this.item(0)),f(this,"firstEnabled",()=>this.enabledItem(0)),f(this,"last",()=>this.item(this.descendants.size-1)),f(this,"lastEnabled",()=>{const t=this.enabledValues().length-1;return this.enabledItem(t)}),f(this,"indexOf",t=>{var e,n;return t&&null!==(e=null===(n=this.descendants.get(t))||void 0===n?void 0:n.index)&&void 0!==e?e:-1}),f(this,"enabledIndexOf",t=>null==t?-1:this.enabledValues().findIndex(e=>e.node.isSameNode(t))),f(this,"next",function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=l(e,t.count(),n);return t.item(r)}),f(this,"nextEnabled",function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=t.item(e);if(!r)return;const o=l(t.enabledIndexOf(r.node),t.enabledCount(),n);return t.enabledItem(o)}),f(this,"prev",function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=c(e,t.count()-1,n);return t.item(r)}),f(this,"prevEnabled",function(e){let n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];const r=t.item(e);if(!r)return;const o=c(t.enabledIndexOf(r.node),t.enabledCount()-1,n);return t.enabledItem(o)}),f(this,"registerNode",(t,e)=>{if(!t||this.descendants.has(t))return;const n=s(Array.from(this.descendants.keys()).concat(t));null!==e&&void 0!==e&&e.disabled&&(e.disabled=!!e.disabled);const r=(0,a.A)({node:t,index:-1},e);this.descendants.set(t,r),this.assignIndex(n)})}}function g(){const[t,e]=(0,o.q)({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});return[t,e,()=>{const t=(0,i.useRef)(new p);return u(()=>()=>t.current.destroy()),t.current},t=>{const n=e(),[o,a]=(0,i.useState)(-1),s=(0,i.useRef)(null);u(()=>()=>{s.current&&n.unregister(s.current)},[]),u(()=>{if(!s.current)return;const t=Number(s.current.dataset.index);o==t||Number.isNaN(t)||a(t)});const l=d(t?n.register(t):n.register);return{descendants:n,index:o,enabledIndex:n.enabledIndexOf(s.current),register:(0,r.Px)(l,s)}}]}},32332:(t,e,n)=>{"use strict";n.d(e,{w:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(45821),l=n(55003),c=n(52695);const u=["isCurrentPage","as","className","href"],d=(0,l.R)(function(t,e){const{isCurrentPage:n,as:l,className:d,href:h}=t,f=(0,o.A)(t,u),p=(0,s.F)(),g=(0,r.A)({ref:e,as:l,className:(0,a.cx)("chakra-breadcrumb__link",d)},f);return n?(0,i.jsx)(c.B.span,(0,r.A)({"aria-current":"page",__css:p.link},g)):(0,i.jsx)(c.B.a,(0,r.A)({__css:p.link,href:h},g))});d.displayName="BreadcrumbLink"},32706:(t,e,n)=>{"use strict";t.exports=n(47358)},33171:(t,e,n)=>{"use strict";n.d(e,{n:()=>m});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(65043),c=n(40493),u=n(25721),d=n(55003),h=n(36059),f=n(52695);const p=["children","reduceMotion"],g=["htmlProps","descendants"],m=(0,d.R)(function(t,e){let{children:n,reduceMotion:d}=t,m=(0,o.A)(t,p);const v=(0,h.o)("Accordion",m),y=(0,a.M)(m),b=(0,u.O3)(y),{htmlProps:x,descendants:w}=b,k=(0,o.A)(b,g),A=(0,l.useMemo)(()=>(0,r.A)((0,r.A)({},k),{},{reduceMotion:!!d}),[k,d]);return(0,i.jsx)(c.C3,{value:w,children:(0,i.jsx)(u.If,{value:A,children:(0,i.jsx)(c.gm,{value:v,children:(0,i.jsx)(f.B.div,(0,r.A)((0,r.A)({ref:e},x),{},{className:(0,s.cx)("chakra-accordion",m.className),__css:v.root,children:n}))})})})});m.displayName="Accordion"},33192:(t,e,n)=>{"use strict";n.d(e,{e:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(9957),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const{getBodyProps:n}=(0,a.C_)(),s=(0,a.jm)();return(0,o.jsx)(l.B.div,(0,r.A)((0,r.A)({},n(t,e)),{},{className:(0,i.cx)("chakra-popover__body",t.className),__css:s.body}))});c.displayName="PopoverBody"},33430:(t,e,n)=>{"use strict";n.d(e,{X:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(78360),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const n=(0,a.mC)(),{status:s}=(0,a.ZM)();return(0,o.jsx)(l.B.div,(0,r.A)((0,r.A)({ref:e,"data-status":s},t),{},{className:(0,i.cx)("chakra-alert__title",t.className),__css:n.title}))});c.displayName="AlertTitle"},33572:(t,e,n)=>{"use strict";n.d(e,{_:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(77402),s=n(55003);const l=["htmlWidth","htmlHeight","alt"],c=(0,s.R)(function(t,e){const{htmlWidth:n,htmlHeight:a,alt:s}=t,c=(0,o.A)(t,l);return(0,i.jsx)("img",(0,r.A)({width:n,height:a,ref:e,alt:s},c))});c.displayName="NativeImage";var u=n(7093),d=n(52695);const h=["fallbackSrc","fallback","src","srcSet","align","fit","loading","ignoreFallback","crossOrigin","fallbackStrategy","referrerPolicy"],f=(0,s.R)(function(t,e){const{fallbackSrc:n,fallback:s,src:l,srcSet:f,align:p,fit:g,loading:m,ignoreFallback:v,crossOrigin:y,fallbackStrategy:b="beforeLoadOrError",referrerPolicy:x}=t,w=(0,o.A)(t,h),k=null!=m||v||!(void 0!==n||void 0!==s),A=(0,u.l)((0,r.A)((0,r.A)({},t),{},{crossOrigin:y,ignoreFallback:k})),_=(0,u.m)(A,b),S=(0,r.A)({ref:e,objectFit:g,objectPosition:p},k?w:(0,a.c)(w,["onError","onLoad"]));return _?s||(0,i.jsx)(d.B.img,(0,r.A)({as:c,className:"chakra-image__placeholder",src:n},S)):(0,i.jsx)(d.B.img,(0,r.A)({as:c,src:l,srcSet:f,crossOrigin:y,loading:m,referrerPolicy:x,className:"chakra-image"},S))});f.displayName="Image"},33695:(t,e,n)=>{"use strict";n.d(e,{p:()=>o});var r=n(62316);function o(t,e){const n=(0,r.a)(t,null===e||void 0===e?void 0:e.in),o=n.getMonth();return n.setFullYear(n.getFullYear(),o+1,0),n.setHours(23,59,59,999),n}},34334:(t,e,n)=>{"use strict";n.d(e,{T:()=>u});var r=n(89379),o=n(70579),i=n(79953),a=n(64844),s=n(78360),l=n(55003),c=n(52695);const u=(0,l.R)(function(t,e){const{status:n}=(0,s.ZM)(),l=(0,s.mC)(),u=(0,i.H2)((0,r.A)({display:"inline"},l.description));return(0,o.jsx)(c.B.div,(0,r.A)((0,r.A)({ref:e,"data-status":n},t),{},{className:(0,a.cx)("chakra-alert__desc",t.className),__css:u}))});u.displayName="AlertDescription"},34552:(t,e,n)=>{var r=n(9812),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,s),n=t[s];try{t[s]=void 0;var r=!0}catch(l){}var o=a.call(t);return r&&(e?t[s]=n:delete t[s]),o}},34766:(t,e,n)=>{"use strict";n.d(e,{Q:()=>o});var r=n(65043);function o(t){var e;const n=r.version;return"string"!==typeof n||n.startsWith("18.")?null===t||void 0===t?void 0:t.ref:null===t||void 0===t||null===(e=t.props)||void 0===e?void 0:e.ref}},34930:(t,e,n)=>{"use strict";n.d(e,{M:()=>o});var r=n(65043);function o(t){const e=(0,r.useRef)(null);return null===e.current&&(e.current=t()),e.current}},34941:(t,e,n)=>{"use strict";n.d(e,{L:()=>i,a:()=>o});var r=n(92970);const[o,i]=(0,r.q)({name:"CheckboxGroupContext",strict:!1})},34946:(t,e,n)=>{"use strict";n.d(e,{S:()=>E});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(86219),l=n(15156),c=n(64844),u=n(83290),d=n(65043),h=n(34941),f=n(52695);const p=["isIndeterminate","isChecked"];function g(t){return(0,i.jsx)(f.B.svg,(0,o.A)((0,o.A)({width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16}},t),{},{children:(0,i.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})}))}function m(t){return(0,i.jsx)(f.B.svg,(0,o.A)((0,o.A)({width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4}},t),{},{children:(0,i.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})}))}function v(t){const{isIndeterminate:e,isChecked:n}=t,a=(0,r.A)(t,p),s=e?m:g;return n||e?(0,i.jsx)(f.B.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,i.jsx)(s,(0,o.A)({},a))}):null}var y=n(4069);var b=n(55003),x=n(36059);const w=["spacing","className","children","iconColor","iconSize","icon","isChecked","isDisabled","onChange","inputProps"],k={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},A={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},_=(0,u.i7)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),S=(0,u.i7)({from:{opacity:0},to:{opacity:1}}),C=(0,u.i7)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),E=(0,b.R)(function(t,e){const n=(0,h.L)(),u=(0,o.A)((0,o.A)({},n),t),p=(0,x.o)("Checkbox",u),g=(0,a.M)(t),{spacing:m="0.5rem",className:b,children:E,iconColor:O,iconSize:P,icon:M=(0,i.jsx)(v,{}),isChecked:T,isDisabled:N=(null===n||void 0===n?void 0:n.isDisabled),onChange:R,inputProps:L}=g,D=(0,r.A)(g,w);let j=T;null!==n&&void 0!==n&&n.value&&g.value&&(j=n.value.includes(g.value));let I=R;null!==n&&void 0!==n&&n.onChange&&g.value&&(I=(0,s.O)(n.onChange,R));const{state:z,getInputProps:B,getCheckboxProps:F,getLabelProps:H,getRootProps:V}=(0,y.v)((0,o.A)((0,o.A)({},D),{},{isDisabled:N,isChecked:j,onChange:I})),q=function(t){const[e,n]=(0,d.useState)(t),[r,o]=(0,d.useState)(!1);return t!==e&&(o(!0),n(t)),r}(z.isChecked),U=(0,d.useMemo)(()=>(0,o.A)((0,o.A)({animation:q?z.isIndeterminate?"".concat(S," 20ms linear, ").concat(C," 200ms linear"):"".concat(_," 200ms linear"):void 0},p.icon),(0,l.o)({fontSize:P,color:O})),[O,P,q,z.isIndeterminate,p.icon]),W=(0,d.cloneElement)(M,{__css:U,isIndeterminate:z.isIndeterminate,isChecked:z.isChecked});return(0,i.jsxs)(f.B.label,(0,o.A)((0,o.A)({__css:(0,o.A)((0,o.A)({},A),p.container),className:(0,c.cx)("chakra-checkbox",b)},V()),{},{children:[(0,i.jsx)("input",(0,o.A)({className:"chakra-checkbox__input"},B(L,e))),(0,i.jsx)(f.B.span,(0,o.A)((0,o.A)({__css:(0,o.A)((0,o.A)({},k),p.control),className:"chakra-checkbox__control"},F()),{},{children:W})),E&&(0,i.jsx)(f.B.span,(0,o.A)((0,o.A)({className:"chakra-checkbox__label"},H()),{},{__css:(0,o.A)({marginStart:m},p.label),children:E}))]}))});E.displayName="Checkbox"},35087:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},35385:(t,e,n)=>{"use strict";n.d(e,{s:()=>c});var r=n(84524),o=n(9415),i=n(12440),a=n(11425);function s(t,e){const n=(0,a.p)(t,e),r=(0,i.w)((null===e||void 0===e?void 0:e.in)||t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,o.b)(r)}var l=n(62316);function c(t,e){const n=(0,l.a)(t,null===e||void 0===e?void 0:e.in),i=+(0,o.b)(n)-+s(n);return Math.round(i/r.my)+1}},35428:(t,e,n)=>{var r=n(16913),o=n(56173),i=n(22761),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},35475:(t,e,n)=>{"use strict";var r,o;n.d(e,{Kd:()=>p,N_:()=>v,ok:()=>x});var i=n(65043),a=n(97950),s=n(73216),l=n(31387);function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c.apply(this,arguments)}function u(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}function d(t){return void 0===t&&(t=""),new URLSearchParams("string"===typeof t||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map(t=>[n,t]):[[n,r]])},[]))}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const h=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"];try{window.__reactRouterVersion="6"}catch(w){}new Map;const f=(r||(r=n.t(i,2))).startTransition;(o||(o=n.t(a,2))).flushSync,(r||(r=n.t(i,2))).useId;function p(t){let{basename:e,children:n,future:r,window:o}=t,a=i.useRef();null==a.current&&(a.current=(0,l.zR)({window:o,v5Compat:!0}));let c=a.current,[u,d]=i.useState({action:c.action,location:c.location}),{v7_startTransition:h}=r||{},p=i.useCallback(t=>{h&&f?f(()=>d(t)):d(t)},[d,h]);return i.useLayoutEffect(()=>c.listen(p),[c,p]),i.useEffect(()=>(0,s.V8)(r),[r]),i.createElement(s.Ix,{basename:e,children:n,location:u.location,navigationType:u.action,navigator:c,future:r})}const g="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement,m=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,v=i.forwardRef(function(t,e){let n,{onClick:r,relative:o,reloadDocument:a,replace:d,state:f,target:p,to:v,preventScrollReset:y,viewTransition:b}=t,x=u(t,h),{basename:k}=i.useContext(s.jb),A=!1;if("string"===typeof v&&m.test(v)&&(n=v,g))try{let t=new URL(window.location.href),e=v.startsWith("//")?new URL(t.protocol+v):new URL(v),n=(0,l.pb)(e.pathname,k);e.origin===t.origin&&null!=n?v=n+e.search+e.hash:A=!0}catch(w){}let _=(0,s.$P)(v,{relative:o}),S=function(t,e){let{target:n,replace:r,state:o,preventScrollReset:a,relative:c,viewTransition:u}=void 0===e?{}:e,d=(0,s.Zp)(),h=(0,s.zy)(),f=(0,s.x$)(t,{relative:c});return i.useCallback(e=>{if(function(t,e){return 0===t.button&&(!e||"_self"===e)&&!function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)}(e,n)){e.preventDefault();let n=void 0!==r?r:(0,l.AO)(h)===(0,l.AO)(f);d(t,{replace:n,state:o,preventScrollReset:a,relative:c,viewTransition:u})}},[h,d,f,r,o,n,t,a,c,u])}(v,{replace:d,state:f,target:p,preventScrollReset:y,relative:o,viewTransition:b});return i.createElement("a",c({},x,{href:n||_,onClick:A||a?r:function(t){r&&r(t),t.defaultPrevented||S(t)},ref:e,target:p}))});var y,b;function x(t){let e=i.useRef(d(t)),n=i.useRef(!1),r=(0,s.zy)(),o=i.useMemo(()=>function(t,e){let n=d(t);return e&&e.forEach((t,r)=>{n.has(r)||e.getAll(r).forEach(t=>{n.append(r,t)})}),n}(r.search,n.current?null:e.current),[r.search]),a=(0,s.Zp)(),l=i.useCallback((t,e)=>{const r=d("function"===typeof t?t(o):t);n.current=!0,a("?"+r,e)},[a,o]);return[o,l]}(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(y||(y={})),function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"}(b||(b={}))},35699:(t,e,n)=>{"use strict";n.d(e,{p:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(73635),c=n(55003),u=n(36059),d=n(52695);const h=["htmlSize"],f=(0,c.R)(function(t,e){const{htmlSize:n}=t,c=(0,o.A)(t,h),f=(0,u.o)("Input",c),p=(0,a.M)(c),g=(0,l.t)(p),m=(0,s.cx)("chakra-input",t.className);return(0,i.jsx)(d.B.input,(0,r.A)((0,r.A)({size:n},g),{},{__css:f.field,ref:e,className:m}))});f.displayName="Input",f.id="Input"},35746:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Send",[["path",{d:"m22 2-7 20-4-9-9-4Z",key:"1q3vgg"}],["path",{d:"M22 2 11 13",key:"nzbqef"}]])},35772:(t,e,n)=>{"use strict";n.d(e,{$7:()=>ji,w4:()=>Di});var r=n(89379);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=!1;function r(e){const n=(["container","root"].includes(null!==e&&void 0!==e?e:"")?[t]:[t,e]).filter(Boolean).join("__"),r="chakra-".concat(n);return{className:r,selector:".".concat(r),toString:()=>e}}return{parts:function(){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];for(const t of a)e[t]=r(t);return o(t,e)},toPart:r,extend:function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];for(const t of i)t in e||(e[t]=r(t));return o(t,e)},selectors:function(){return Object.fromEntries(Object.entries(e).map(t=>{let[e,n]=t;return[e,n.selector]}))},classnames:function(){return Object.fromEntries(Object.entries(e).map(t=>{let[e,n]=t;return[e,n.className]}))},get keys(){return Object.keys(e)},__type:{}}}const i=o("accordion").parts("root","container","button","panel","icon"),a=o("alert").parts("title","description","container","icon","spinner"),s=o("avatar").parts("label","badge","container","excessLabel","group"),l=o("breadcrumb").parts("link","item","container","separator"),c=(o("button").parts(),o("checkbox").parts("control","icon","container","label")),u=(o("progress").parts("track","filledTrack","label"),o("drawer").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer")),d=o("editable").parts("preview","input","textarea"),h=o("form").parts("container","requiredIndicator","helperText"),f=o("formError").parts("text","icon"),p=o("input").parts("addon","field","element","group"),g=o("list").parts("container","item","icon"),m=o("menu").parts("button","list","item","groupTitle","icon","command","divider"),v=o("modal").parts("overlay","dialogContainer","dialog","header","closeButton","body","footer"),y=o("numberinput").parts("root","field","stepperGroup","stepper"),b=(o("pininput").parts("field"),o("popover").parts("content","header","body","footer","popper","arrow","closeButton")),x=o("progress").parts("label","filledTrack","track"),w=o("radio").parts("container","control","label"),k=o("select").parts("field","icon"),A=o("slider").parts("container","track","thumb","filledTrack","mark"),_=o("stat").parts("container","label","helpText","number","icon"),S=o("switch").parts("container","track","thumb","label"),C=o("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),E=o("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),O=o("tag").parts("container","label","closeButton"),P=o("card").parts("container","header","body","footer");o("stepper").parts("stepper","step","title","description","indicator","separator","icon","number");function M(t){return{definePartsStyle:t=>t,defineMultiStyleConfig:e=>(0,r.A)({parts:t},e)}}const{definePartsStyle:T,defineMultiStyleConfig:N}=M(i.keys),R=N({baseStyle:T({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})});function L(t){const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s+/g,e)}(t.toString());return function(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(t){if(t.includes("\\."))return t;const e=!Number.isInteger(parseFloat(t.toString()));return e?t.replace(".","\\."):t}(e))}function D(t,e){return"var(".concat(t).concat(e?", ".concat(e):"",")")}function j(t){return L("--".concat(function(t){return[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",t].filter(Boolean).join("-")}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:"")))}function I(t,e,n){const r=j(t,n);return{variable:r,reference:D(r,e)}}function z(t,e,n){return Math.min(Math.max(t,n),e)}class B extends Error{constructor(t){super('Failed to parse color: "'.concat(t,'"'))}}var F=B;function H(t){if("string"!==typeof t)throw new F(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=$.test(t)?function(t){const e=t.toLowerCase().trim(),n=q[function(t){let e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return(e>>>0)%2341}(e)];if(!n)throw new F(t);return"#".concat(n)}(t):t;const n=W.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map(t=>parseInt(U(t,2),16)),parseInt(U(t[3]||"f",2),16)/255]}const r=G.exec(e);if(r){const t=Array.from(r).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,16)),parseInt(t[3]||"ff",16)/255]}const o=Y.exec(e);if(o){const t=Array.from(o).slice(1);return[...t.slice(0,3).map(t=>parseInt(t,10)),parseFloat(t[3]||"1")]}const i=K.exec(e);if(i){const[e,n,r,o]=Array.from(i).slice(1).map(parseFloat);if(z(0,100,n)!==n)throw new F(t);if(z(0,100,r)!==r)throw new F(t);return[...Q(e,n,r),Number.isNaN(o)?1:o]}throw new F(t)}const V=t=>parseInt(t.replace(/_/g,""),36),q="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((t,e)=>{const n=V(e.substring(0,3)),r=V(e.substring(3)).toString(16);let o="";for(let i=0;i<6-r.length;i++)o+="0";return t[n]="".concat(o).concat(r),t},{});const U=(t,e)=>Array.from(Array(e)).map(()=>t).join(""),W=new RegExp("^#".concat(U("([a-f0-9])",3),"([a-f0-9])?$"),"i"),G=new RegExp("^#".concat(U("([a-f0-9]{2})",3),"([a-f0-9]{2})?$"),"i"),Y=new RegExp("^rgba?\\(\\s*(\\d+)\\s*".concat(U(",\\s*(\\d+)\\s*",2),"(?:,\\s*([\\d.]+))?\\s*\\)$"),"i"),K=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,$=/^[a-z]+$/i,X=t=>Math.round(255*t),Q=(t,e,n)=>{let r=n/100;if(0===e)return[r,r,r].map(X);const o=(t%360+360)%360/60,i=(1-Math.abs(2*r-1))*(e/100),a=i*(1-Math.abs(o%2-1));let s=0,l=0,c=0;o>=0&&o<1?(s=i,l=a):o>=1&&o<2?(s=a,l=i):o>=2&&o<3?(l=i,c=a):o>=3&&o<4?(l=a,c=i):o>=4&&o<5?(s=a,c=i):o>=5&&o<6&&(s=i,c=a);const u=r-i/2;return[s+u,l+u,c+u].map(X)};function Z(t,e,n,r){return"rgba(".concat(z(0,255,t).toFixed(),", ").concat(z(0,255,e).toFixed(),", ").concat(z(0,255,n).toFixed(),", ").concat(parseFloat(z(0,1,r).toFixed(3)),")")}function J(t,e){const[n,r,o,i]=H(t);return Z(n,r,o,i-e)}const tt=(t,e,n)=>{const r=function(t,e,n,r,o){for(e=e.split?e.split("."):e,r=0;r<e.length;r++)t=t?t[e[r]]:o;return t===o?n:t}(t,"colors.".concat(e),e);try{return function(t){const[e,n,r,o]=H(t);let i=t=>{const e=z(0,255,t).toString(16);return 1===e.length?"0".concat(e):e};"#".concat(i(e)).concat(i(n)).concat(i(r)).concat(o<1?i(Math.round(255*o)):"")}(r),r}catch(o){return null!==n&&void 0!==n?n:"#000000"}},et=t=>e=>{const n=(t=>{const[e,n,r]=H(t);return(299*e+587*n+114*r)/1e3})(tt(e,t));return n<128?"dark":"light"},nt=(t,e)=>n=>J(tt(n,t),1-e);function rt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"1rem",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"rgba(255, 255, 255, 0.15)";return{backgroundImage:"linear-gradient(\n 45deg,\n ".concat(e," 25%,\n transparent 25%,\n transparent 50%,\n ").concat(e," 50%,\n ").concat(e," 75%,\n transparent 75%,\n transparent\n )"),backgroundSize:"".concat(t," ").concat(t)}}function ot(t){const e="#".concat(Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0"));return t&&(n=t,0!==Object.keys(n).length)?t.string&&t.colors?function(t,e){let n=0;if(0===t.length)return e[0];for(let r=0;r<t.length;r+=1)n=t.charCodeAt(r)+((n<<5)-n),n&=n;return n=(n%e.length+e.length)%e.length,e[n]}(t.string,t.colors):t.string&&!t.colors?function(t){let e=0;if(0===t.length)return e.toString();for(let r=0;r<t.length;r+=1)e=t.charCodeAt(r)+((e<<5)-e),e&=e;let n="#";for(let r=0;r<3;r+=1){n+="00".concat((e>>8*r&255).toString(16)).substr(-2)}return n}(t.string):t.colors&&!t.string?(r=t.colors)[Math.floor(Math.random()*r.length)]:e:e;var n,r}const{definePartsStyle:it,defineMultiStyleConfig:at}=M(a.keys),st=I("alert-fg"),lt=I("alert-bg");function ct(t){const{theme:e,colorScheme:n}=t,r=nt("".concat(n,".200"),.16)(e);return{light:"colors.".concat(n,".100"),dark:r}}const ut=at({baseStyle:it({container:{bg:lt.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:st.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:st.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:it(t=>{const{colorScheme:e}=t,n=ct(t);return{container:{[st.variable]:"colors.".concat(e,".600"),[lt.variable]:n.light,_dark:{[st.variable]:"colors.".concat(e,".200"),[lt.variable]:n.dark}}}}),"left-accent":it(t=>{const{colorScheme:e}=t,n=ct(t);return{container:{[st.variable]:"colors.".concat(e,".600"),[lt.variable]:n.light,_dark:{[st.variable]:"colors.".concat(e,".200"),[lt.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:st.reference}}}),"top-accent":it(t=>{const{colorScheme:e}=t,n=ct(t);return{container:{[st.variable]:"colors.".concat(e,".600"),[lt.variable]:n.light,_dark:{[st.variable]:"colors.".concat(e,".200"),[lt.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:st.reference}}}),solid:it(t=>{const{colorScheme:e}=t;return{container:{[st.variable]:"colors.white",[lt.variable]:"colors.".concat(e,".600"),_dark:{[st.variable]:"colors.gray.900",[lt.variable]:"colors.".concat(e,".200")},color:st.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),dt={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},ht=(0,r.A)((0,r.A)((0,r.A)({},dt),{max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch"}),{},{container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}});function ft(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return"function"===typeof t?t(...n):t}const{definePartsStyle:pt,defineMultiStyleConfig:gt}=M(s.keys),mt=I("avatar-border-color"),vt=I("avatar-bg"),yt=I("avatar-font-size"),bt=I("avatar-size"),xt={borderRadius:"full",border:"0.2em solid",borderColor:mt.reference,[mt.variable]:"white",_dark:{[mt.variable]:"colors.gray.800"}},wt={bg:vt.reference,fontSize:yt.reference,width:bt.reference,height:bt.reference,lineHeight:"1",[vt.variable]:"colors.gray.200",_dark:{[vt.variable]:"colors.whiteAlpha.400"}},kt=t=>{const{name:e,theme:n}=t,r=e?ot({string:e}):"colors.gray.400",o=(t=>e=>"dark"===et(t)(e))(r)(n);let i="white";return o||(i="gray.800"),{bg:vt.reference,fontSize:yt.reference,color:i,borderColor:mt.reference,verticalAlign:"top",width:bt.reference,height:bt.reference,"&:not([data-loaded])":{[vt.variable]:r},[mt.variable]:"colors.white",_dark:{[mt.variable]:"colors.gray.800"}}},At={fontSize:yt.reference,lineHeight:"1"};function _t(t){const e="100%"!==t?ht[t]:void 0;return pt({container:{[bt.variable]:null!==e&&void 0!==e?e:t,[yt.variable]:"calc(".concat(null!==e&&void 0!==e?e:t," / 2.5)")},excessLabel:{[bt.variable]:null!==e&&void 0!==e?e:t,[yt.variable]:"calc(".concat(null!==e&&void 0!==e?e:t," / 2.5)")}})}const St=gt({baseStyle:pt(t=>({badge:ft(xt,t),excessLabel:ft(wt,t),container:ft(kt,t),label:At})),sizes:{"2xs":_t(4),xs:_t(6),sm:_t(8),md:_t(12),lg:_t(16),xl:_t(24),"2xl":_t(32),full:_t("100%")},defaultProps:{size:"md"}}),Ct=function(t,e){const n={};for(const r of e){if(Array.isArray(r)){const[e,o]=r;n[e]=I("".concat(t,"-").concat(e),o);continue}n[r]=I("".concat(t,"-").concat(r))}return n}("badge",["bg","color","shadow"]),Et=t=>{const{colorScheme:e,theme:n}=t,r=nt("".concat(e,".500"),.6)(n);return{[Ct.bg.variable]:"colors.".concat(e,".500"),[Ct.color.variable]:"colors.white",_dark:{[Ct.bg.variable]:r,[Ct.color.variable]:"colors.whiteAlpha.800"}}},Ot=t=>{const{colorScheme:e,theme:n}=t,r=nt("".concat(e,".200"),.16)(n);return{[Ct.bg.variable]:"colors.".concat(e,".100"),[Ct.color.variable]:"colors.".concat(e,".800"),_dark:{[Ct.bg.variable]:r,[Ct.color.variable]:"colors.".concat(e,".200")}}},Pt=t=>{const{colorScheme:e,theme:n}=t,r=nt("".concat(e,".200"),.8)(n);return{[Ct.color.variable]:"colors.".concat(e,".500"),_dark:{[Ct.color.variable]:r},[Ct.shadow.variable]:"inset 0 0 0px 1px ".concat(Ct.color.reference)}},Mt={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:Ct.bg.reference,color:Ct.color.reference,boxShadow:Ct.shadow.reference},variants:{solid:Et,subtle:Ot,outline:Pt},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Tt,definePartsStyle:Nt}=M(l.keys),Rt=I("breadcrumb-link-decor"),Lt=Tt({baseStyle:Nt({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:Rt.reference,[Rt.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[Rt.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})});function Dt(t,e){return n=>"dark"===n.colorMode?e:t}function jt(t){const{orientation:e,vertical:n,horizontal:r}=t;return e?"vertical"===e?n:r:{}}const It=t=>{const{colorScheme:e,theme:n}=t;if("gray"===e)return{color:Dt("gray.800","whiteAlpha.900")(t),_hover:{bg:Dt("gray.100","whiteAlpha.200")(t)},_active:{bg:Dt("gray.200","whiteAlpha.300")(t)}};const r=nt("".concat(e,".200"),.12)(n),o=nt("".concat(e,".200"),.24)(n);return{color:Dt("".concat(e,".600"),"".concat(e,".200"))(t),bg:"transparent",_hover:{bg:Dt("".concat(e,".50"),r)(t)},_active:{bg:Dt("".concat(e,".100"),o)(t)}}},zt={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},Bt={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:It,outline:t=>{const{colorScheme:e}=t,n=Dt("gray.200","whiteAlpha.300")(t);return(0,r.A)({border:"1px solid",borderColor:"gray"===e?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"}},ft(It,t))},solid:t=>{var e;const{colorScheme:n}=t;if("gray"===n){const e=Dt("gray.100","whiteAlpha.200")(t);return{bg:e,color:Dt("gray.800","whiteAlpha.900")(t),_hover:{bg:Dt("gray.200","whiteAlpha.300")(t),_disabled:{bg:e}},_active:{bg:Dt("gray.300","whiteAlpha.400")(t)}}}const{bg:r="".concat(n,".500"),color:o="white",hoverBg:i="".concat(n,".600"),activeBg:a="".concat(n,".700")}=null!==(e=zt[n])&&void 0!==e?e:{},s=Dt(r,"".concat(n,".200"))(t);return{bg:s,color:Dt(o,"gray.800")(t),_hover:{bg:Dt(i,"".concat(n,".300"))(t),_disabled:{bg:s}},_active:{bg:Dt(a,"".concat(n,".400"))(t)}}},link:t=>{const{colorScheme:e}=t;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:Dt("".concat(e,".500"),"".concat(e,".200"))(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:Dt("".concat(e,".700"),"".concat(e,".500"))(t)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:Ft,defineMultiStyleConfig:Ht}=M(P.keys),Vt=I("card-bg"),qt=I("card-padding"),Ut=I("card-shadow"),Wt=I("card-radius"),Gt=I("card-border-width","0"),Yt=I("card-border-color"),Kt=Ft({container:{[Vt.variable]:"colors.chakra-body-bg",backgroundColor:Vt.reference,boxShadow:Ut.reference,borderRadius:Wt.reference,color:"chakra-body-text",borderWidth:Gt.reference,borderColor:Yt.reference},body:{padding:qt.reference,flex:"1 1 0%"},header:{padding:qt.reference},footer:{padding:qt.reference}}),$t={sm:Ft({container:{[Wt.variable]:"radii.base",[qt.variable]:"space.3"}}),md:Ft({container:{[Wt.variable]:"radii.md",[qt.variable]:"space.5"}}),lg:Ft({container:{[Wt.variable]:"radii.xl",[qt.variable]:"space.7"}})},Xt=Ht({baseStyle:Kt,variants:{elevated:Ft({container:{[Ut.variable]:"shadows.base",_dark:{[Vt.variable]:"colors.gray.700"}}}),outline:Ft({container:{[Gt.variable]:"1px",[Yt.variable]:"colors.chakra-border-color"}}),filled:Ft({container:{[Vt.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[qt.variable]:0},header:{[qt.variable]:0},footer:{[qt.variable]:0}}},sizes:$t,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:Qt,defineMultiStyleConfig:Zt}=M(c.keys),Jt=I("checkbox-size"),te=t=>{const{colorScheme:e}=t;return{w:Jt.reference,h:Jt.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:Dt("".concat(e,".500"),"".concat(e,".200"))(t),borderColor:Dt("".concat(e,".500"),"".concat(e,".200"))(t),color:Dt("white","gray.900")(t),_hover:{bg:Dt("".concat(e,".600"),"".concat(e,".300"))(t),borderColor:Dt("".concat(e,".600"),"".concat(e,".300"))(t)},_disabled:{borderColor:Dt("gray.200","transparent")(t),bg:Dt("gray.200","whiteAlpha.300")(t),color:Dt("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:Dt("".concat(e,".500"),"".concat(e,".200"))(t),borderColor:Dt("".concat(e,".500"),"".concat(e,".200"))(t),color:Dt("white","gray.900")(t)},_disabled:{bg:Dt("gray.100","whiteAlpha.100")(t),borderColor:Dt("gray.100","transparent")(t)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:Dt("red.500","red.300")(t)}}},ee={_disabled:{cursor:"not-allowed"}},ne={userSelect:"none",_disabled:{opacity:.4}},re={transitionProperty:"transform",transitionDuration:"normal"},oe=Zt({baseStyle:Qt(t=>({icon:re,container:ee,control:ft(te,t),label:ne})),sizes:{sm:Qt({control:{[Jt.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:Qt({control:{[Jt.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:Qt({control:{[Jt.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}});function ie(t){const e=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return t.replace(/\s+/g,e)}(t.toString());return e.includes("\\.")?t:function(t){return!Number.isInteger(parseFloat(t.toString()))}(t)?e.replace(".","\\."):t}function ae(t,e){return"var(".concat(ie(t)).concat(e?", ".concat(e):"",")")}function se(t){return"--".concat(function(t){return[arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",ie(t)].filter(Boolean).join("-")}(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:""))}function le(t,e){const n=se(t,null===e||void 0===e?void 0:e.prefix);return{variable:n,reference:ae(n,ce(null===e||void 0===e?void 0:e.fallback))}}function ce(t){return"string"===typeof t?t:null===t||void 0===t?void 0:t.reference}const ue=le("close-button-size"),de=le("close-button-bg"),he={baseStyle:{w:[ue.reference],h:[ue.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[de.variable]:"colors.blackAlpha.100",_dark:{[de.variable]:"colors.whiteAlpha.100"}},_active:{[de.variable]:"colors.blackAlpha.200",_dark:{[de.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:de.reference},sizes:{lg:{[ue.variable]:"sizes.10",fontSize:"md"},md:{[ue.variable]:"sizes.8",fontSize:"xs"},sm:{[ue.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:fe,defaultProps:pe}=Mt,ge={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:Ct.bg.reference,color:Ct.color.reference,boxShadow:Ct.shadow.reference},variants:fe,defaultProps:pe},me={baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},ve={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},{definePartsStyle:ye,defineMultiStyleConfig:be}=M(u.keys),xe=I("drawer-bg"),we=I("drawer-box-shadow");function ke(t){return ye("full"===t?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:t}})}const Ae={bg:"blackAlpha.600",zIndex:"modal"},_e={display:"flex",zIndex:"modal",justifyContent:"center"},Se=t=>{const{isFullHeight:e}=t;return(0,r.A)((0,r.A)({},e&&{height:"100vh"}),{},{zIndex:"modal",maxH:"100vh",color:"inherit",[xe.variable]:"colors.white",[we.variable]:"shadows.lg",_dark:{[xe.variable]:"colors.gray.700",[we.variable]:"shadows.dark-lg"},bg:xe.reference,boxShadow:we.reference})},Ce={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Ee={position:"absolute",top:"2",insetEnd:"3"},Oe={px:"6",py:"2",flex:"1",overflow:"auto"},Pe={px:"6",py:"4"},Me=be({baseStyle:ye(t=>({overlay:Ae,dialogContainer:_e,dialog:ft(Se,t),header:Ce,closeButton:Ee,body:Oe,footer:Pe})),sizes:{xs:ke("xs"),sm:ke("md"),md:ke("lg"),lg:ke("2xl"),xl:ke("4xl"),full:ke("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Te,defineMultiStyleConfig:Ne}=M(d.keys),Re=Ne({baseStyle:Te({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:Le,defineMultiStyleConfig:De}=M(h.keys),je=I("form-control-color"),Ie=De({baseStyle:Le({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[je.variable]:"colors.red.500",_dark:{[je.variable]:"colors.red.300"},color:je.reference},helperText:{mt:"2",[je.variable]:"colors.gray.600",_dark:{[je.variable]:"colors.whiteAlpha.600"},color:je.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:ze,defineMultiStyleConfig:Be}=M(f.keys),Fe=I("form-error-color"),He=Be({baseStyle:ze({text:{[Fe.variable]:"colors.red.500",_dark:{[Fe.variable]:"colors.red.300"},color:Fe.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Fe.variable]:"colors.red.500",_dark:{[Fe.variable]:"colors.red.300"},color:Fe.reference}})}),Ve={baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},qe={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},{definePartsStyle:Ue,defineMultiStyleConfig:We}=M(p.keys),Ge=I("input-height"),Ye=I("input-font-size"),Ke=I("input-padding"),$e=I("input-border-radius"),Xe=Ue({addon:{height:Ge.reference,fontSize:Ye.reference,px:Ke.reference,borderRadius:$e.reference},field:{width:"100%",height:Ge.reference,fontSize:Ye.reference,px:Ke.reference,borderRadius:$e.reference,minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),Qe={lg:{[Ye.variable]:"fontSizes.lg",[Ke.variable]:"space.4",[$e.variable]:"radii.md",[Ge.variable]:"sizes.12"},md:{[Ye.variable]:"fontSizes.md",[Ke.variable]:"space.4",[$e.variable]:"radii.md",[Ge.variable]:"sizes.10"},sm:{[Ye.variable]:"fontSizes.sm",[Ke.variable]:"space.3",[$e.variable]:"radii.sm",[Ge.variable]:"sizes.8"},xs:{[Ye.variable]:"fontSizes.xs",[Ke.variable]:"space.2",[$e.variable]:"radii.sm",[Ge.variable]:"sizes.6"}},Ze={lg:Ue({field:Qe.lg,group:Qe.lg}),md:Ue({field:Qe.md,group:Qe.md}),sm:Ue({field:Qe.sm,group:Qe.sm}),xs:Ue({field:Qe.xs,group:Qe.xs})};function Je(t){const{focusBorderColor:e,errorBorderColor:n}=t;return{focusBorderColor:e||Dt("blue.500","blue.300")(t),errorBorderColor:n||Dt("red.500","red.300")(t)}}const tn=Ue(t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=Je(t);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:Dt("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tt(e,r),boxShadow:"0 0 0 1px ".concat(tt(e,r))},_focusVisible:{zIndex:1,borderColor:tt(e,n),boxShadow:"0 0 0 1px ".concat(tt(e,n))}},addon:{border:"1px solid",borderColor:Dt("inherit","whiteAlpha.50")(t),bg:Dt("gray.100","whiteAlpha.300")(t)}}}),en=Ue(t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=Je(t);return{field:{border:"2px solid",borderColor:"transparent",bg:Dt("gray.100","whiteAlpha.50")(t),_hover:{bg:Dt("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tt(e,r)},_focusVisible:{bg:"transparent",borderColor:tt(e,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:Dt("gray.100","whiteAlpha.50")(t)}}}),nn=Ue(t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=Je(t);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:tt(e,r),boxShadow:"0px 1px 0px 0px ".concat(tt(e,r))},_focusVisible:{borderColor:tt(e,n),boxShadow:"0px 1px 0px 0px ".concat(tt(e,n))}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),rn=We({baseStyle:Xe,sizes:Ze,variants:{outline:tn,filled:en,flushed:nn,unstyled:Ue({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),on=I("kbd-bg"),an={baseStyle:{[on.variable]:"colors.gray.100",_dark:{[on.variable]:"colors.whiteAlpha.100"},bg:on.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},sn={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},{defineMultiStyleConfig:ln,definePartsStyle:cn}=M(g.keys),un=ln({baseStyle:cn({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:dn,definePartsStyle:hn}=M(m.keys),fn=I("menu-bg"),pn=I("menu-shadow"),gn=dn({baseStyle:hn({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[fn.variable]:"#fff",[pn.variable]:"shadows.sm",_dark:{[fn.variable]:"colors.gray.700",[pn.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:"dropdown",borderRadius:"md",borderWidth:"1px",bg:fn.reference,boxShadow:pn.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[fn.variable]:"colors.gray.100",_dark:{[fn.variable]:"colors.whiteAlpha.100"}},_active:{[fn.variable]:"colors.gray.200",_dark:{[fn.variable]:"colors.whiteAlpha.200"}},_expanded:{[fn.variable]:"colors.gray.100",_dark:{[fn.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:fn.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},icon:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:mn,definePartsStyle:vn}=M(v.keys),yn=I("modal-bg"),bn=I("modal-shadow"),xn={bg:"blackAlpha.600",zIndex:"modal"},wn=t=>{const{isCentered:e,scrollBehavior:n}=t;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},kn=t=>{const{isCentered:e,scrollBehavior:n}=t;return{borderRadius:"md",color:"inherit",my:e?"auto":"16",mx:e?"auto":void 0,zIndex:"modal",maxH:"inside"===n?"calc(100% - 7.5rem)":void 0,[yn.variable]:"colors.white",[bn.variable]:"shadows.lg",_dark:{[yn.variable]:"colors.gray.700",[bn.variable]:"shadows.dark-lg"},bg:yn.reference,boxShadow:bn.reference}},An={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},_n={position:"absolute",top:"2",insetEnd:"3"},Sn=t=>{const{scrollBehavior:e}=t;return{px:"6",py:"2",flex:"1",overflow:"inside"===e?"auto":void 0}},Cn={px:"6",py:"4"};function En(t){return vn("full"===t?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:t}})}const On=mn({baseStyle:vn(t=>({overlay:xn,dialogContainer:ft(wn,t),dialog:ft(kn,t),header:An,closeButton:_n,body:ft(Sn,t),footer:Cn})),sizes:{xs:En("xs"),sm:En("sm"),md:En("md"),lg:En("lg"),xl:En("xl"),"2xl":En("2xl"),"3xl":En("3xl"),"4xl":En("4xl"),"5xl":En("5xl"),"6xl":En("6xl"),full:En("full")},defaultProps:{size:"md"}});function Pn(t){return Array.isArray(t)}function Mn(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Pn(t)}function Tn(t){return Mn(t)&&t.reference?t.reference:String(t)}const Nn=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.map(Tn).join(" ".concat(t," ")).replace(/calc/g,"")},Rn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Nn("+",...e),")")},Ln=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Nn("-",...e),")")},Dn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Nn("*",...e),")")},jn=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Nn("/",...e),")")},In=t=>{const e=Tn(t);return null==e||Number.isNaN(parseFloat(e))?Dn(e,-1):String(e).startsWith("-")?String(e).slice(1):"-".concat(e)},zn=Object.assign(t=>({add:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return zn(Rn(t,...n))},subtract:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return zn(Ln(t,...n))},multiply:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return zn(Dn(t,...n))},divide:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return zn(jn(t,...n))},negate:()=>zn(In(t)),toString:()=>t.toString()}),{add:Rn,subtract:Ln,multiply:Dn,divide:jn,negate:In}),Bn={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:Fn,definePartsStyle:Hn}=M(y.keys),Vn=le("number-input-stepper-width"),qn=le("number-input-input-padding"),Un=zn(Vn).add("0.5rem").toString(),Wn=le("number-input-bg"),Gn=le("number-input-color"),Yn=le("number-input-border-color"),Kn={[Vn.variable]:"sizes.6",[qn.variable]:Un},$n=t=>{var e,n;return null!==(e=null===(n=ft(rn.baseStyle,t))||void 0===n?void 0:n.field)&&void 0!==e?e:{}},Xn={width:Vn.reference},Qn={borderStart:"1px solid",borderStartColor:Yn.reference,color:Gn.reference,bg:Wn.reference,[Gn.variable]:"colors.chakra-body-text",[Yn.variable]:"colors.chakra-border-color",_dark:{[Gn.variable]:"colors.whiteAlpha.800",[Yn.variable]:"colors.whiteAlpha.300"},_active:{[Wn.variable]:"colors.gray.200",_dark:{[Wn.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function Zn(t){var e,n,o;const i=null===(e=rn.sizes)||void 0===e?void 0:e[t],a={lg:"md",md:"md",sm:"sm",xs:"sm"},s=null!==(n=null===(o=i.field)||void 0===o?void 0:o.fontSize)&&void 0!==n?n:"md",l=Bn.fontSizes[s];return Hn({field:(0,r.A)((0,r.A)({},i.field),{},{paddingInlineEnd:qn.reference,verticalAlign:"top"}),stepper:{fontSize:zn(l).multiply(.75).toString(),_first:{borderTopEndRadius:a[t]},_last:{borderBottomEndRadius:a[t],mt:"-1px",borderTopWidth:1}}})}const Jn=Fn({baseStyle:Hn(t=>{var e;return{root:Kn,field:null!==(e=ft($n,t))&&void 0!==e?e:{},stepperGroup:Xn,stepper:Qn}}),sizes:{xs:Zn("xs"),sm:Zn("sm"),md:Zn("md"),lg:Zn("lg")},variants:rn.variants,defaultProps:rn.defaultProps});var tr,er,nr;const rr={baseStyle:(0,r.A)((0,r.A)({},null===(tr=rn.baseStyle)||void 0===tr?void 0:tr.field),{},{textAlign:"center"}),sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:t=>{var e,n,r;return null!==(e=null===(n=ft(null===(r=rn.variants)||void 0===r?void 0:r.outline,t))||void 0===n?void 0:n.field)&&void 0!==e?e:{}},flushed:t=>{var e,n,r;return null!==(e=null===(n=ft(null===(r=rn.variants)||void 0===r?void 0:r.flushed,t))||void 0===n?void 0:n.field)&&void 0!==e?e:{}},filled:t=>{var e,n,r;return null!==(e=null===(n=ft(null===(r=rn.variants)||void 0===r?void 0:r.filled,t))||void 0===n?void 0:n.field)&&void 0!==e?e:{}},unstyled:null!==(er=null===(nr=rn.variants)||void 0===nr?void 0:nr.unstyled.field)&&void 0!==er?er:{}},defaultProps:rn.defaultProps},{defineMultiStyleConfig:or,definePartsStyle:ir}=M(b.keys),ar=le("popper-bg"),sr=le("popper-arrow-bg"),lr=le("popper-arrow-shadow-color"),cr=or({baseStyle:ir({popper:{zIndex:"popover"},content:{[ar.variable]:"colors.white",bg:ar.reference,[sr.variable]:ar.reference,[lr.variable]:"colors.gray.200",_dark:{[ar.variable]:"colors.gray.700",[lr.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{defineMultiStyleConfig:ur,definePartsStyle:dr}=M(x.keys),hr=t=>{const{colorScheme:e,theme:n,isIndeterminate:o,hasStripe:i}=t,a=Dt(rt(),rt("1rem","rgba(0,0,0,0.1)"))(t),s=Dt("".concat(e,".500"),"".concat(e,".200"))(t),l="linear-gradient(\n to right,\n transparent 0%,\n ".concat(tt(n,s)," 50%,\n transparent 100%\n )"),c=!o&&i;return(0,r.A)((0,r.A)({},c&&a),o?{bgImage:l}:{bgColor:s})},fr={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},pr=t=>({bg:Dt("gray.100","whiteAlpha.300")(t)}),gr=t=>(0,r.A)({transitionProperty:"common",transitionDuration:"slow"},hr(t)),mr=dr(t=>({label:fr,filledTrack:gr(t),track:pr(t)})),vr=ur({sizes:{xs:dr({track:{h:"1"}}),sm:dr({track:{h:"2"}}),md:dr({track:{h:"3"}}),lg:dr({track:{h:"4"}})},baseStyle:mr,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:yr,definePartsStyle:br}=M(w.keys),xr=t=>{var e;const n=null===(e=ft(oe.baseStyle,t))||void 0===e?void 0:e.control;return(0,r.A)((0,r.A)({},n),{},{borderRadius:"full",_checked:(0,r.A)((0,r.A)({},null===n||void 0===n?void 0:n._checked),{},{_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}})})},wr=yr({baseStyle:br(t=>{var e,n;return{label:null===(e=oe.baseStyle)||void 0===e?void 0:e.call(oe,t).label,container:null===(n=oe.baseStyle)||void 0===n?void 0:n.call(oe,t).container,control:xr(t)}}),sizes:{md:br({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:br({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:br({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}});var kr,Ar,_r,Sr,Cr,Er,Or,Pr,Mr;const{defineMultiStyleConfig:Tr,definePartsStyle:Nr}=M(k.keys),Rr=I("select-bg"),Lr={paddingInlineEnd:"8"},Dr=Tr({baseStyle:Nr({field:(0,r.A)((0,r.A)({},null===(kr=rn.baseStyle)||void 0===kr?void 0:kr.field),{},{appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Rr.reference,[Rr.variable]:"colors.white",_dark:{[Rr.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Rr.reference}}),icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:(0,r.A)((0,r.A)({},null===(Ar=rn.sizes)||void 0===Ar?void 0:Ar.lg),{},{field:(0,r.A)((0,r.A)({},null===(_r=rn.sizes)||void 0===_r?void 0:_r.lg.field),Lr)}),md:(0,r.A)((0,r.A)({},null===(Sr=rn.sizes)||void 0===Sr?void 0:Sr.md),{},{field:(0,r.A)((0,r.A)({},null===(Cr=rn.sizes)||void 0===Cr?void 0:Cr.md.field),Lr)}),sm:(0,r.A)((0,r.A)({},null===(Er=rn.sizes)||void 0===Er?void 0:Er.sm),{},{field:(0,r.A)((0,r.A)({},null===(Or=rn.sizes)||void 0===Or?void 0:Or.sm.field),Lr)}),xs:(0,r.A)((0,r.A)({},null===(Pr=rn.sizes)||void 0===Pr?void 0:Pr.xs),{},{field:(0,r.A)((0,r.A)({},null===(Mr=rn.sizes)||void 0===Mr?void 0:Mr.xs.field),Lr),icon:{insetEnd:"1"}})},variants:rn.variants,defaultProps:rn.defaultProps}),jr=I("skeleton-start-color"),Ir=I("skeleton-end-color"),zr={baseStyle:{[jr.variable]:"colors.gray.100",[Ir.variable]:"colors.gray.400",_dark:{[jr.variable]:"colors.gray.800",[Ir.variable]:"colors.gray.600"},background:jr.reference,borderColor:Ir.reference,opacity:.7,borderRadius:"sm"}},Br=I("skip-link-bg"),Fr={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Br.variable]:"colors.white",_dark:{[Br.variable]:"colors.gray.700"},bg:Br.reference}}};function Hr(t){return Array.isArray(t)}function Vr(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Hr(t)}function qr(t){return Vr(t)&&t.reference?t.reference:String(t)}const Ur=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.map(qr).join(" ".concat(t," ")).replace(/calc/g,"")},Wr=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Ur("+",...e),")")},Gr=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Ur("-",...e),")")},Yr=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Ur("*",...e),")")},Kr=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(Ur("/",...e),")")},$r=t=>{const e=qr(t);return null==e||Number.isNaN(parseFloat(e))?Yr(e,-1):String(e).startsWith("-")?String(e).slice(1):"-".concat(e)},Xr=Object.assign(t=>({add:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Xr(Wr(t,...n))},subtract:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Xr(Gr(t,...n))},multiply:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Xr(Yr(t,...n))},divide:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Xr(Kr(t,...n))},negate:()=>Xr($r(t)),toString:()=>t.toString()}),{add:Wr,subtract:Gr,multiply:Yr,divide:Kr,negate:$r}),{defineMultiStyleConfig:Qr,definePartsStyle:Zr}=M(A.keys),Jr=I("slider-thumb-size"),to=I("slider-track-size"),eo=I("slider-bg"),no=t=>{const{orientation:e}=t;return(0,r.A)({display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"}},jt({orientation:e,vertical:{h:"100%",px:Xr(Jr.reference).divide(2).toString()},horizontal:{w:"100%",py:Xr(Jr.reference).divide(2).toString()}}))},ro=t=>{const e=jt({orientation:t.orientation,horizontal:{h:to.reference},vertical:{w:to.reference}});return(0,r.A)((0,r.A)({},e),{},{overflow:"hidden",borderRadius:"sm",[eo.variable]:"colors.gray.200",_dark:{[eo.variable]:"colors.whiteAlpha.200"},_disabled:{[eo.variable]:"colors.gray.300",_dark:{[eo.variable]:"colors.whiteAlpha.300"}},bg:eo.reference})},oo=t=>{const{orientation:e}=t,n=jt({orientation:e,vertical:{left:"50%"},horizontal:{top:"50%"}});return(0,r.A)((0,r.A)({},n),{},{w:Jr.reference,h:Jr.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_active:{"--slider-thumb-scale":"1.15"},_disabled:{bg:"gray.300"}})},io=t=>{const{colorScheme:e}=t;return{width:"inherit",height:"inherit",[eo.variable]:"colors.".concat(e,".500"),_dark:{[eo.variable]:"colors.".concat(e,".200")},bg:eo.reference}},ao=Qr({baseStyle:Zr(t=>({container:no(t),track:ro(t),thumb:oo(t),filledTrack:io(t)})),sizes:{lg:Zr({container:{[Jr.variable]:"sizes.4",[to.variable]:"sizes.1"}}),md:Zr({container:{[Jr.variable]:"sizes.3.5",[to.variable]:"sizes.1"}}),sm:Zr({container:{[Jr.variable]:"sizes.2.5",[to.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),so=le("spinner-size"),lo={baseStyle:{width:[so.reference],height:[so.reference]},sizes:{xs:{[so.variable]:"sizes.3"},sm:{[so.variable]:"sizes.4"},md:{[so.variable]:"sizes.6"},lg:{[so.variable]:"sizes.8"},xl:{[so.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:co,definePartsStyle:uo}=M(_.keys),ho=co({baseStyle:uo({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:uo({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:fo,definePartsStyle:po}=M(["stepper","step","title","description","indicator","separator","icon","number"]),go=I("stepper-indicator-size"),mo=I("stepper-icon-size"),vo=I("stepper-title-font-size"),yo=I("stepper-description-font-size"),bo=I("stepper-accent-color"),xo=fo({baseStyle:po(t=>{let{colorScheme:e}=t;return{stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[bo.variable]:"colors.".concat(e,".500"),_dark:{[bo.variable]:"colors.".concat(e,".200")}},title:{fontSize:vo.reference,fontWeight:"medium"},description:{fontSize:yo.reference,color:"chakra-subtle-text"},number:{fontSize:vo.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:mo.reference,height:mo.reference},indicator:{flexShrink:0,borderRadius:"full",width:go.reference,height:go.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:bo.reference},"&[data-status=complete]":{bg:bo.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:bo.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:"calc(100% - ".concat(go.reference," - 8px)"),top:"calc(".concat(go.reference," + 4px)"),insetStart:"calc(".concat(go.reference," / 2 - 1px)")}}}}),sizes:{xs:po({stepper:{[go.variable]:"sizes.4",[mo.variable]:"sizes.3",[vo.variable]:"fontSizes.xs",[yo.variable]:"fontSizes.xs"}}),sm:po({stepper:{[go.variable]:"sizes.6",[mo.variable]:"sizes.4",[vo.variable]:"fontSizes.sm",[yo.variable]:"fontSizes.xs"}}),md:po({stepper:{[go.variable]:"sizes.8",[mo.variable]:"sizes.5",[vo.variable]:"fontSizes.md",[yo.variable]:"fontSizes.sm"}}),lg:po({stepper:{[go.variable]:"sizes.10",[mo.variable]:"sizes.6",[vo.variable]:"fontSizes.lg",[yo.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:wo,definePartsStyle:ko}=M(S.keys),Ao=le("switch-track-width"),_o=le("switch-track-height"),So=le("switch-track-diff"),Co=zn.subtract(Ao,_o),Eo=le("switch-thumb-x"),Oo=le("switch-bg"),Po=t=>{const{colorScheme:e}=t;return{borderRadius:"full",p:"0.5",width:[Ao.reference],height:[_o.reference],transitionProperty:"common",transitionDuration:"fast",[Oo.variable]:"colors.gray.300",_dark:{[Oo.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[Oo.variable]:"colors.".concat(e,".500"),_dark:{[Oo.variable]:"colors.".concat(e,".200")}},bg:Oo.reference}},Mo={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[_o.reference],height:[_o.reference],_checked:{transform:"translateX(".concat(Eo.reference,")")}},To=wo({baseStyle:ko(t=>({container:{[So.variable]:Co,[Eo.variable]:So.reference,_rtl:{[Eo.variable]:zn(So).negate().toString()}},track:Po(t),thumb:Mo})),sizes:{sm:ko({container:{[Ao.variable]:"1.375rem",[_o.variable]:"sizes.3"}}),md:ko({container:{[Ao.variable]:"1.875rem",[_o.variable]:"sizes.4"}}),lg:ko({container:{[Ao.variable]:"2.875rem",[_o.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:No,definePartsStyle:Ro}=M(C.keys),Lo=Ro({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),Do={"&[data-is-numeric=true]":{textAlign:"end"}},jo=No({baseStyle:Lo,variants:{simple:Ro(t=>{const{colorScheme:e}=t;return{th:(0,r.A)({color:Dt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:Dt("".concat(e,".100"),"".concat(e,".700"))(t)},Do),td:(0,r.A)({borderBottom:"1px",borderColor:Dt("".concat(e,".100"),"".concat(e,".700"))(t)},Do),caption:{color:Dt("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:Ro(t=>{const{colorScheme:e}=t;return{th:(0,r.A)({color:Dt("gray.600","gray.400")(t),borderBottom:"1px",borderColor:Dt("".concat(e,".100"),"".concat(e,".700"))(t)},Do),td:(0,r.A)({borderBottom:"1px",borderColor:Dt("".concat(e,".100"),"".concat(e,".700"))(t)},Do),caption:{color:Dt("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:Dt("".concat(e,".100"),"".concat(e,".700"))(t)},td:{background:Dt("".concat(e,".100"),"".concat(e,".700"))(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:Ro({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:Ro({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:Ro({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),Io=I("tabs-color"),zo=I("tabs-bg"),Bo=I("tabs-border-color"),{defineMultiStyleConfig:Fo,definePartsStyle:Ho}=M(E.keys),Vo=t=>{const{orientation:e}=t;return{display:"vertical"===e?"flex":"block"}},qo=t=>{const{isFitted:e}=t;return{flex:e?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},Uo=t=>{const{align:e="start",orientation:n}=t;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[e],flexDirection:"vertical"===n?"column":"row"}},Wo={p:4},Go=Ho(t=>({root:Vo(t),tab:qo(t),tablist:Uo(t),tabpanel:Wo})),Yo={sm:Ho({tab:{py:1,px:4,fontSize:"sm"}}),md:Ho({tab:{fontSize:"md",py:2,px:4}}),lg:Ho({tab:{fontSize:"lg",py:3,px:4}})},Ko=Ho(t=>{const{colorScheme:e,orientation:n}=t,r="vertical"===n,o=r?"borderStart":"borderBottom",i=r?"marginStart":"marginBottom";return{tablist:{[o]:"2px solid",borderColor:"inherit"},tab:{[o]:"2px solid",borderColor:"transparent",[i]:"-2px",_selected:{[Io.variable]:"colors.".concat(e,".600"),_dark:{[Io.variable]:"colors.".concat(e,".300")},borderColor:"currentColor"},_active:{[zo.variable]:"colors.gray.200",_dark:{[zo.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:Io.reference,bg:zo.reference}}}),$o=Ho(t=>{const{colorScheme:e}=t;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[Bo.variable]:"transparent",_selected:{[Io.variable]:"colors.".concat(e,".600"),[Bo.variable]:"colors.white",_dark:{[Io.variable]:"colors.".concat(e,".300"),[Bo.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:Bo.reference},color:Io.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Xo=Ho(t=>{const{colorScheme:e}=t;return{tab:{border:"1px solid",borderColor:"inherit",[zo.variable]:"colors.gray.50",_dark:{[zo.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[zo.variable]:"colors.white",[Io.variable]:"colors.".concat(e,".600"),_dark:{[zo.variable]:"colors.gray.800",[Io.variable]:"colors.".concat(e,".300")},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:Io.reference,bg:zo.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),Qo=Ho(t=>{const{colorScheme:e,theme:n}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:tt(n,"".concat(e,".700")),bg:tt(n,"".concat(e,".100"))}}}}),Zo=Fo({baseStyle:Go,sizes:Yo,variants:{line:Ko,enclosed:$o,"enclosed-colored":Xo,"soft-rounded":Qo,"solid-rounded":Ho(t=>{const{colorScheme:e}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",[Io.variable]:"colors.gray.600",_dark:{[Io.variable]:"inherit"},_selected:{[Io.variable]:"colors.white",[zo.variable]:"colors.".concat(e,".600"),_dark:{[Io.variable]:"colors.gray.800",[zo.variable]:"colors.".concat(e,".300")}},color:Io.reference,bg:zo.reference}}}),unstyled:Ho({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Jo,definePartsStyle:ti}=M(O.keys),ei=I("tag-bg"),ni=I("tag-color"),ri=I("tag-shadow"),oi=I("tag-min-height"),ii=I("tag-min-width"),ai=I("tag-font-size"),si=I("tag-padding-inline"),li=ti({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[ni.variable]:Ct.color.reference,[ei.variable]:Ct.bg.reference,[ri.variable]:Ct.shadow.reference,color:ni.reference,bg:ei.reference,boxShadow:ri.reference,borderRadius:"md",minH:oi.reference,minW:ii.reference,fontSize:ai.reference,px:si.reference,_focusVisible:{[ri.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),ci={sm:ti({container:{[oi.variable]:"sizes.5",[ii.variable]:"sizes.5",[ai.variable]:"fontSizes.xs",[si.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:ti({container:{[oi.variable]:"sizes.6",[ii.variable]:"sizes.6",[ai.variable]:"fontSizes.sm",[si.variable]:"space.2"}}),lg:ti({container:{[oi.variable]:"sizes.8",[ii.variable]:"sizes.8",[ai.variable]:"fontSizes.md",[si.variable]:"space.3"}})},ui=Jo({variants:{subtle:ti(t=>{var e;return{container:null===(e=Mt.variants)||void 0===e?void 0:e.subtle(t)}}),solid:ti(t=>{var e;return{container:null===(e=Mt.variants)||void 0===e?void 0:e.solid(t)}}),outline:ti(t=>{var e;return{container:null===(e=Mt.variants)||void 0===e?void 0:e.outline(t)}})},baseStyle:li,sizes:ci,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}});var di,hi,fi,pi,gi,mi,vi,yi,bi,xi,wi;const ki=(0,r.A)((0,r.A)({},null===(di=rn.baseStyle)||void 0===di?void 0:di.field),{},{paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"}),Ai={outline:t=>{var e,n;return null!==(e=null===(n=rn.variants)||void 0===n?void 0:n.outline(t).field)&&void 0!==e?e:{}},flushed:t=>{var e,n;return null!==(e=null===(n=rn.variants)||void 0===n?void 0:n.flushed(t).field)&&void 0!==e?e:{}},filled:t=>{var e,n;return null!==(e=null===(n=rn.variants)||void 0===n?void 0:n.filled(t).field)&&void 0!==e?e:{}},unstyled:null!==(hi=null===(fi=rn.variants)||void 0===fi?void 0:fi.unstyled.field)&&void 0!==hi?hi:{}},_i={baseStyle:ki,sizes:{xs:null!==(pi=null===(gi=rn.sizes)||void 0===gi?void 0:gi.xs.field)&&void 0!==pi?pi:{},sm:null!==(mi=null===(vi=rn.sizes)||void 0===vi?void 0:vi.sm.field)&&void 0!==mi?mi:{},md:null!==(yi=null===(bi=rn.sizes)||void 0===bi?void 0:bi.md.field)&&void 0!==yi?yi:{},lg:null!==(xi=null===(wi=rn.sizes)||void 0===wi?void 0:wi.lg.field)&&void 0!==xi?xi:{}},variants:Ai,defaultProps:{size:"md",variant:"outline"}},Si=le("tooltip-bg"),Ci=le("tooltip-fg"),Ei=le("popper-arrow-bg"),Oi={bg:Si.reference,color:Ci.reference,[Si.variable]:"colors.gray.700",[Ci.variable]:"colors.whiteAlpha.900",_dark:{[Si.variable]:"colors.gray.300",[Ci.variable]:"colors.gray.900"},[Ei.variable]:Si.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},Pi={Accordion:R,Alert:ut,Avatar:St,Badge:Mt,Breadcrumb:Lt,Button:Bt,Checkbox:oe,CloseButton:he,Code:ge,Container:me,Divider:ve,Drawer:Me,Editable:Re,Form:Ie,FormError:He,FormLabel:Ve,Heading:qe,Input:rn,Kbd:an,Link:sn,List:un,Menu:gn,Modal:On,NumberInput:Jn,PinInput:rr,Popover:cr,Progress:vr,Radio:wr,Select:Dr,Skeleton:zr,SkipLink:Fr,Slider:ao,Spinner:lo,Stat:ho,Switch:To,Table:jo,Tabs:Zo,Tag:ui,Textarea:_i,Tooltip:{baseStyle:Oi},Card:Xt,Stepper:xo},Mi={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Ti=(0,r.A)((0,r.A)({breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"}}},Bn),{},{sizes:ht,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:dt,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:Mi}),Ni={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Ri={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},Li={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Di=(0,r.A)((0,r.A)({semanticTokens:Ni,direction:"ltr"},Ti),{},{components:Pi,styles:Ri,config:Li}),ji=(0,r.A)((0,r.A)({semanticTokens:Ni,direction:"ltr",components:{}},Ti),{},{styles:Ri,config:Li})},35929:(t,e,n)=>{"use strict";n.d(e,{s:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(86219),s=n(64844),l=n(78460),c=n(15707),u=n(55003);const d=["onClick","className"],h=(0,u.R)((t,e)=>{const{onClick:n,className:u}=t,h=(0,o.A)(t,d),{onClose:f}=(0,l.k3)(),p=(0,s.cx)("chakra-modal__close-btn",u),g=(0,l.x5)();return(0,i.jsx)(c.J,(0,r.A)({ref:e,__css:g.closeButton,className:p,onClick:(0,a.H)(n,t=>{t.stopPropagation(),f()})},h))});h.displayName="ModalCloseButton"},36059:(t,e,n)=>{"use strict";n.d(e,{o:()=>v,V:()=>m});var r=n(80045),o=n(32041),i=n(29676),a=n(72157),s=n(39611);function l(t,e){for(let n=e+1;n<t.length;n++)if(null!=t[n])return n;return-1}function c(t){const e=t.__breakpoints;return function(t,n,r,c){if(!e)return;const u={},d=function(t,e){return Array.isArray(t)?t:(0,o.Gv)(t)?e(t):null!=t?[t]:void 0}(r,e.toArrayValue);if(!d)return u;const h=d.length,f=1===h,p=!!t.parts;for(let o=0;o<h;o++){var g;const r=e.details[o],h=e.details[l(d,o)],v=(0,i.R)(r.minW,null===h||void 0===h?void 0:h._minW),y=(0,a.J)(null===(g=t[n])||void 0===g?void 0:g[d[o]],c);var m;if(y)if(p)null===(m=t.parts)||void 0===m||m.forEach(t=>{s(u,{[t]:f?y[t]:{[v]:y[t]}})});else p?u[v]=y:f?s(u,y):u[v]=y}return u}}var u=n(64011),d=n(65043),h=n(66366),f=n(36448);const p=["styleConfig"];function g(t){var e;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{styleConfig:o}=n,i=(0,r.A)(n,p),{theme:l,colorMode:g}=(0,f.UQ)(),m=t?(0,u.r)(l,"components.".concat(t)):void 0,v=o||m,y=s({theme:l,colorMode:g},null!==(e=null===v||void 0===v?void 0:v.defaultProps)&&void 0!==e?e:{},function(t){return Object.fromEntries(Object.entries(t).filter(t=>{let[e,n]=t;return void 0!==n&&"children"!==e&&!(0,d.isValidElement)(n)}))}(i),(t,e)=>t?void 0:e),b=(0,d.useRef)({});if(v){const t=(x=v,t=>{var e;const{variant:n,size:r,theme:o}=t,i=c(o);return s({},(0,a.J)(null!==(e=x.baseStyle)&&void 0!==e?e:{},t),i(x,"sizes",r,t),i(x,"variants",n,t))}),e=t(y);h(b.current,e)||(b.current=e)}var x;return b.current}function m(t){return g(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}function v(t){return g(t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{})}},36140:t=>{var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},36210:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},36448:(t,e,n)=>{"use strict";n.d(e,{UQ:()=>a,gf:()=>l,rd:()=>s});var r=n(89379),o=n(17841),i=n(44093);function a(){const t=(0,i.G6)(),e=(0,o.D)();return(0,r.A)((0,r.A)({},t),{},{theme:e})}function s(t,e,n){const r=(0,o.D)();return l(t,e,n)(r)}function l(t,e,n){const r=Array.isArray(e)?e:[e],o=Array.isArray(n)?n:[n];return n=>{const i=o.filter(Boolean),a=r.map((e,r)=>{var o,a;if("breakpoints"===t)return function(t,e,n){var r,o;if(null==e)return e;const i=e=>{var n;return null===(n=t.__breakpoints)||void 0===n||null===(n=n.asArray)||void 0===n?void 0:n[e]};return null!==(r=null!==(o=i(e))&&void 0!==o?o:i(n))&&void 0!==r?r:n}(n,e,null!==(a=i[r])&&void 0!==a?a:e);const s="".concat(t,".").concat(e);return function(t,e,n){var r,o;if(null==e)return e;const i=e=>{var n;return null===(n=t.__cssMap)||void 0===n||null===(n=n[e])||void 0===n?void 0:n.value};return null!==(r=null!==(o=i(e))&&void 0!==o?o:i(n))&&void 0!==r?r:n}(n,s,null!==(o=i[r])&&void 0!==o?o:e)});return Array.isArray(e)?a:a[0]}}},36743:(t,e,n)=>{"use strict";function r(t){return null!=t&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function o(t){return!(!t.parentElement||!o(t.parentElement))||t.hidden}function i(t){const e=t.getAttribute("contenteditable");return"false"!==e&&null!=e}function a(t){return!0===Boolean(t.getAttribute("disabled"))||!0===Boolean(t.getAttribute("aria-disabled"))}n.d(e,{N3:()=>o,pj:()=>a,sb:()=>r,wu:()=>i})},36954:(t,e,n)=>{var r=n(11629),o=n(37857),i=n(46686),a=n(96996),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,h=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?h:s).test(a(t))}},37065:(t,e,n)=>{"use strict";n.d(e,{WG:()=>s,Gt:()=>a,uv:()=>l,Ci:()=>c});var r=n(51892);class o{constructor(){this.order=[],this.scheduled=new Set}add(t){if(!this.scheduled.has(t))return this.scheduled.add(t),this.order.push(t),!0}remove(t){const e=this.order.indexOf(t);-1!==e&&(this.order.splice(e,1),this.scheduled.delete(t))}clear(){this.order.length=0,this.scheduled.clear()}}const i=["prepare","read","update","preRender","render","postRender"];const{schedule:a,cancel:s,state:l,steps:c}=function(t,e){let n=!1,r=!0;const a={delta:0,timestamp:0,isProcessing:!1},s=i.reduce((t,e)=>(t[e]=function(t){let e=new o,n=new o,r=0,i=!1,a=!1;const s=new WeakSet,l={schedule:function(t){const o=arguments.length>2&&void 0!==arguments[2]&&arguments[2]&&i,a=o?e:n;return arguments.length>1&&void 0!==arguments[1]&&arguments[1]&&s.add(t),a.add(t)&&o&&i&&(r=e.order.length),t},cancel:t=>{n.remove(t),s.delete(t)},process:o=>{if(i)a=!0;else{if(i=!0,[e,n]=[n,e],n.clear(),r=e.order.length,r)for(let n=0;n<r;n++){const r=e.order[n];r(o),s.has(r)&&(l.schedule(r),t())}i=!1,a&&(a=!1,l.process(o))}}};return l}(()=>n=!0),t),{}),l=t=>s[t].process(a),c=()=>{const o=performance.now();n=!1,a.delta=r?1e3/60:Math.max(Math.min(o-a.timestamp,40),1),a.timestamp=o,a.isProcessing=!0,i.forEach(l),a.isProcessing=!1,n&&e&&(r=!1,t(c))},u=i.reduce((e,o)=>{const i=s[o];return e[o]=function(e){let o=arguments.length>1&&void 0!==arguments[1]&&arguments[1],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return n||(n=!0,r=!0,a.isProcessing||t(c)),i.schedule(e,o,s)},e},{});return{schedule:u,cancel:t=>i.forEach(e=>s[e].cancel(t)),state:a,steps:s}}("undefined"!==typeof requestAnimationFrame?requestAnimationFrame:r.l,!0)},37105:(t,e,n)=>{var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},37159:(t,e,n)=>{var r=n(12622);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},37558:(t,e,n)=>{"use strict";function r(t){return null!=t&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}function o(){return Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)}function i(t){return!(!t.parentElement||!i(t.parentElement))||t.hidden}function a(t){const e=t.getAttribute("contenteditable");return"false"!==e&&null!=e}function s(t){return!0===Boolean(t.getAttribute("disabled"))||!0===Boolean(t.getAttribute("aria-disabled"))}n.d(e,{Bd:()=>o,N3:()=>i,pj:()=>s,sb:()=>r,wu:()=>a})},37575:(t,e,n)=>{"use strict";n.d(e,{U:()=>r});const r=(0,n(14010).w)({displayName:"CloseIcon",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})},37857:(t,e,n)=>{var r=n(13440),o=function(){var t=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();t.exports=function(t){return!!o&&o in t}},38025:(t,e,n)=>{"use strict";n.d(e,{m:()=>a});var r=n(70579);const o=new Set(["dark","light","system"]);function i(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{initialColorMode:e="light",type:n="localStorage",storageKey:r="chakra-ui-color-mode"}=t,i=function(t){let e=t;return o.has(e)||(e="light"),e}(e),a="cookie"===n,s='(function(){try{var a=function(o){var l="(prefers-color-scheme: dark)",v=window.matchMedia(l).matches?"dark":"light",e=o==="system"?v:o,d=document.documentElement,m=document.body,i="chakra-ui-light",n="chakra-ui-dark",s=e==="dark";return m.classList.add(s?n:i),m.classList.remove(s?i:n),d.style.colorScheme=e,d.dataset.theme=e,e},u=a,h="'.concat(i,'",r="').concat(r,'",t=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),c=t?t[2]:null;c?a(c):document.cookie="".concat(r,"=").concat(a(h),"; max-age=31536000; path=/")}catch(a){}})();\n '),l='(function(){try{var a=function(c){var v="(prefers-color-scheme: dark)",h=window.matchMedia(v).matches?"dark":"light",r=c==="system"?h:c,o=document.documentElement,s=document.body,l="chakra-ui-light",d="chakra-ui-dark",i=r==="dark";return s.classList.add(i?d:l),s.classList.remove(i?l:d),o.style.colorScheme=r,o.dataset.theme=r,r},n=a,m="'.concat(i,'",e="').concat(r,'",t=localStorage.getItem(e);t?a(t):localStorage.setItem(e,a(m))}catch(a){}})();\n ');return"!".concat(a?s:l).trim()}function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{nonce:e}=t;return(0,r.jsx)("script",{id:"chakra-script",nonce:e,dangerouslySetInnerHTML:{__html:i(t)}})}},38298:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]])},38326:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},38605:(t,e,n)=>{"use strict";n.d(e,{$:()=>i});var r=n(50849),o=n(62316);function i(t,e){var n,i,a,s,l,c;const u=(0,r.q)(),d=null!==(n=null!==(i=null!==(a=null!==(s=null===e||void 0===e?void 0:e.weekStartsOn)&&void 0!==s?s:null===e||void 0===e||null===(l=e.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:u.weekStartsOn)&&void 0!==i?i:null===(c=u.locale)||void 0===c||null===(c=c.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0,h=(0,o.a)(t,null===e||void 0===e?void 0:e.in),f=h.getDay(),p=6+(f<d?-7:0)-(f-d);return h.setDate(h.getDate()+p),h.setHours(23,59,59,999),h}},38638:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("FlipVertical",[["path",{d:"M21 8V5a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v3",key:"14bfxa"}],["path",{d:"M21 16v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-3",key:"14rx03"}],["path",{d:"M4 12H2",key:"rhcxmi"}],["path",{d:"M10 12H8",key:"s88cx1"}],["path",{d:"M16 12h-2",key:"10asgb"}],["path",{d:"M22 12h-2",key:"14jgyd"}]])},39081:(t,e,n)=>{"use strict";n.d(e,{E:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(15156),l=n(64844),c=n(55003),u=n(36059),d=n(52695);const h=["className","align","decoration","casing"],f=(0,c.R)(function(t,e){const n=(0,u.V)("Text",t),c=(0,a.M)(t),{className:f,align:p,decoration:g,casing:m}=c,v=(0,o.A)(c,h),y=(0,s.o)({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return(0,i.jsx)(d.B.p,(0,r.A)((0,r.A)((0,r.A)({ref:e,className:(0,l.cx)("chakra-text",t.className)},y),v),{},{__css:n}))});f.displayName="Text"},39292:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},39468:(t,e,n)=>{"use strict";n.d(e,{T:()=>m,s:()=>v});const r=(t,e)=>"".concat(t,"[data-closed], ").concat(t,"[data-state=closed] ").concat(e),o=(t,e)=>"".concat(t,":hover ").concat(e,", ").concat(t,"[data-hover] ").concat(e),i=(t,e)=>"".concat(t,":focus ").concat(e,", ").concat(t,"[data-focus] ").concat(e),a=(t,e)=>"".concat(t,":focus-visible ").concat(e),s=(t,e)=>"".concat(t,":focus-within ").concat(e),l=(t,e)=>"".concat(t,":active ").concat(e,", ").concat(t,"[data-active] ").concat(e),c=(t,e)=>"".concat(t,":disabled ").concat(e,", ").concat(t,"[data-disabled] ").concat(e),u=(t,e)=>"".concat(t,":invalid ").concat(e,", ").concat(t,"[data-invalid] ").concat(e),d=(t,e)=>"".concat(t,":checked ").concat(e,", ").concat(t,"[data-checked] ").concat(e),h=(t,e)=>"".concat(t,":placeholder-shown ").concat(e),f=t=>g(e=>t(e,"&"),"[role=group]","[data-group]",".group"),p=t=>g(e=>t(e,"~ &"),"[data-peer]",".peer"),g=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.map(t).join(", ")},m={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within, &[data-focus-within]",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty, &[data-empty]",_expanded:"&[aria-expanded=true], &[data-expanded], &[data-state=expanded]",_checked:"&[aria-checked=true], &[data-checked], &[data-state=checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate], &[data-state=indeterminate]",_groupOpen:f((t,e)=>"".concat(t,"[data-open], ").concat(t,"[open], ").concat(t,"[data-state=open] ").concat(e)),_groupClosed:f(r),_groupHover:f(o),_peerHover:p(o),_groupFocus:f(i),_peerFocus:p(i),_groupFocusVisible:f(a),_peerFocusVisible:p(a),_groupActive:f(l),_peerActive:p(l),_groupDisabled:f(c),_peerDisabled:p(c),_groupInvalid:f(u),_peerInvalid:p(u),_groupChecked:f(d),_peerChecked:p(d),_groupFocusWithin:f(s),_peerFocusWithin:p(s),_peerPlaceholderShown:p(h),_placeholder:"&::placeholder, &[data-placeholder]",_placeholderShown:"&:placeholder-shown, &[data-placeholder-shown]",_fullScreen:"&:fullscreen, &[data-fullscreen]",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]",_open:"&[data-open], &[open], &[data-state=open]",_closed:"&[data-closed], &[data-state=closed]",_complete:"&[data-complete]",_incomplete:"&[data-incomplete]",_current:"&[data-current]"},v=Object.keys(m)},39611:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Function]",s="[object Object]",l=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[i]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[a]=u["[object Map]"]=u["[object Number]"]=u[s]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var d="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,h="object"==typeof self&&self&&self.Object===Object&&self,f=d||h||Function("return this")(),p=e&&!e.nodeType&&e,g=p&&t&&!t.nodeType&&t,m=g&&g.exports===p,v=m&&d.process,y=function(){try{var t=g&&g.require&&g.require("util").types;return t||v&&v.binding&&v.binding("util")}catch(e){}}(),b=y&&y.isTypedArray;var x,w,k=Array.prototype,A=Function.prototype,_=Object.prototype,S=f["__core-js_shared__"],C=A.toString,E=_.hasOwnProperty,O=function(){var t=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),P=_.toString,M=C.call(Object),T=RegExp("^"+C.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),N=m?f.Buffer:void 0,R=f.Symbol,L=f.Uint8Array,D=N?N.allocUnsafe:void 0,j=(x=Object.getPrototypeOf,w=Object,function(t){return x(w(t))}),I=Object.create,z=_.propertyIsEnumerable,B=k.splice,F=R?R.toStringTag:void 0,H=function(){try{var t=ft(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),V=N?N.isBuffer:void 0,q=Math.max,U=Date.now,W=ft(f,"Map"),G=ft(Object,"create"),Y=function(){function t(){}return function(e){if(!St(e))return{};if(I)return I(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function K(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function X(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Q(t){var e=this.__data__=new $(t);this.size=e.size}function Z(t,e){var n=xt(t),r=!n&&bt(t),o=!n&&!r&&kt(t),i=!n&&!r&&!o&&Et(t),a=n||r||o||i,s=a?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],l=s.length;for(var c in t)!e&&!E.call(t,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||pt(c,l))||s.push(c);return s}function J(t,e,n){(void 0!==n&&!yt(t[e],n)||void 0===n&&!(e in t))&&nt(t,e,n)}function tt(t,e,n){var r=t[e];E.call(t,e)&&yt(r,n)&&(void 0!==n||e in t)||nt(t,e,n)}function et(t,e){for(var n=t.length;n--;)if(yt(t[n][0],e))return n;return-1}function nt(t,e,n){"__proto__"==e&&H?H(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}K.prototype.clear=function(){this.__data__=G?G(null):{},this.size=0},K.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},K.prototype.get=function(t){var e=this.__data__;if(G){var n=e[t];return n===r?void 0:n}return E.call(e,t)?e[t]:void 0},K.prototype.has=function(t){var e=this.__data__;return G?void 0!==e[t]:E.call(e,t)},K.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=G&&void 0===e?r:e,this},$.prototype.clear=function(){this.__data__=[],this.size=0},$.prototype.delete=function(t){var e=this.__data__,n=et(e,t);return!(n<0)&&(n==e.length-1?e.pop():B.call(e,n,1),--this.size,!0)},$.prototype.get=function(t){var e=this.__data__,n=et(e,t);return n<0?void 0:e[n][1]},$.prototype.has=function(t){return et(this.__data__,t)>-1},$.prototype.set=function(t,e){var n=this.__data__,r=et(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},X.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(W||$),string:new K}},X.prototype.delete=function(t){var e=ht(this,t).delete(t);return this.size-=e?1:0,e},X.prototype.get=function(t){return ht(this,t).get(t)},X.prototype.has=function(t){return ht(this,t).has(t)},X.prototype.set=function(t,e){var n=ht(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Q.prototype.clear=function(){this.__data__=new $,this.size=0},Q.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Q.prototype.get=function(t){return this.__data__.get(t)},Q.prototype.has=function(t){return this.__data__.has(t)},Q.prototype.set=function(t,e){var n=this.__data__;if(n instanceof $){var r=n.__data__;if(!W||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new X(r)}return n.set(t,e),this.size=n.size,this};var rt,ot=function(t,e,n){for(var r=-1,o=Object(t),i=n(t),a=i.length;a--;){var s=i[rt?a:++r];if(!1===e(o[s],s,o))break}return t};function it(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":F&&F in Object(t)?function(t){var e=E.call(t,F),n=t[F];try{t[F]=void 0;var r=!0}catch(i){}var o=P.call(t);r&&(e?t[F]=n:delete t[F]);return o}(t):function(t){return P.call(t)}(t)}function at(t){return Ct(t)&&it(t)==i}function st(t){return!(!St(t)||function(t){return!!O&&O in t}(t))&&(At(t)?T:l).test(function(t){if(null!=t){try{return C.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(t))}function lt(t){if(!St(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=gt(t),n=[];for(var r in t)("constructor"!=r||!e&&E.call(t,r))&&n.push(r);return n}function ct(t,e,n,r,o){t!==e&&ot(e,function(i,a){if(o||(o=new Q),St(i))!function(t,e,n,r,o,i,a){var l=mt(t,n),c=mt(e,n),u=a.get(c);if(u)return void J(t,n,u);var d=i?i(l,c,n+"",t,e,a):void 0,h=void 0===d;if(h){var f=xt(c),p=!f&&kt(c),g=!f&&!p&&Et(c);d=c,f||p||g?xt(l)?d=l:Ct(m=l)&&wt(m)?d=function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(l):p?(h=!1,d=function(t,e){if(e)return t.slice();var n=t.length,r=D?D(n):new t.constructor(n);return t.copy(r),r}(c,!0)):g?(h=!1,d=function(t,e){var n=e?function(t){var e=new t.constructor(t.byteLength);return new L(e).set(new L(t)),e}(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}(c,!0)):d=[]:function(t){if(!Ct(t)||it(t)!=s)return!1;var e=j(t);if(null===e)return!0;var n=E.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&C.call(n)==M}(c)||bt(c)?(d=l,bt(l)?d=function(t){return function(t,e,n,r){var o=!n;n||(n={});var i=-1,a=e.length;for(;++i<a;){var s=e[i],l=r?r(n[s],t[s],s,n,t):void 0;void 0===l&&(l=t[s]),o?nt(n,s,l):tt(n,s,l)}return n}(t,Ot(t))}(l):St(l)&&!At(l)||(d=function(t){return"function"!=typeof t.constructor||gt(t)?{}:Y(j(t))}(c))):h=!1}var m;h&&(a.set(c,d),o(d,c,r,i,a),a.delete(c));J(t,n,d)}(t,e,a,n,ct,r,o);else{var l=r?r(mt(t,a),i,a+"",t,e,o):void 0;void 0===l&&(l=i),J(t,a,l)}},Ot)}function ut(t,e){return vt(function(t,e,n){return e=q(void 0===e?t.length-1:e,0),function(){for(var r=arguments,o=-1,i=q(r.length-e,0),a=Array(i);++o<i;)a[o]=r[e+o];o=-1;for(var s=Array(e+1);++o<e;)s[o]=r[o];return s[e]=n(a),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,s)}}(t,e,Tt),t+"")}var dt=H?function(t,e){return H(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Tt;function ht(t,e){var n=t.__data__;return function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}(e)?n["string"==typeof e?"string":"hash"]:n.map}function ft(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return st(n)?n:void 0}function pt(t,e){var n=typeof t;return!!(e=null==e?o:e)&&("number"==n||"symbol"!=n&&c.test(t))&&t>-1&&t%1==0&&t<e}function gt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||_)}function mt(t,e){if(("constructor"!==e||"function"!==typeof t[e])&&"__proto__"!=e)return t[e]}var vt=function(t){var e=0,n=0;return function(){var r=U(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(dt);function yt(t,e){return t===e||t!==t&&e!==e}var bt=at(function(){return arguments}())?at:function(t){return Ct(t)&&E.call(t,"callee")&&!z.call(t,"callee")},xt=Array.isArray;function wt(t){return null!=t&&_t(t.length)&&!At(t)}var kt=V||function(){return!1};function At(t){if(!St(t))return!1;var e=it(t);return e==a||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function _t(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=o}function St(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Ct(t){return null!=t&&"object"==typeof t}var Et=b?function(t){return function(e){return t(e)}}(b):function(t){return Ct(t)&&_t(t.length)&&!!u[it(t)]};function Ot(t){return wt(t)?Z(t,!0):lt(t)}var Pt,Mt=(Pt=function(t,e,n,r){ct(t,e,n,r)},ut(function(t,e){var n=-1,r=e.length,o=r>1?e[r-1]:void 0,i=r>2?e[2]:void 0;for(o=Pt.length>3&&"function"==typeof o?(r--,o):void 0,i&&function(t,e,n){if(!St(n))return!1;var r=typeof e;return!!("number"==r?wt(n)&&pt(e,n.length):"string"==r&&e in n)&&yt(n[e],t)}(e[0],e[1],i)&&(o=r<3?void 0:o,r=1),t=Object(t);++n<r;){var a=e[n];a&&Pt(t,a,n,o)}return t}));function Tt(t){return t}t.exports=Mt},40139:t=>{t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEach(function(e){t.addRange(e)}),e&&e.focus()}}},40293:(t,e,n)=>{"use strict";n.d(e,{E:()=>o});var r=n(65043);const o=n(14735).B?r.useLayoutEffect:r.useEffect},40493:(t,e,n)=>{"use strict";n.d(e,{AV:()=>l,C3:()=>c,EF:()=>a,Of:()=>d,TG:()=>s,gm:()=>i,v3:()=>h});var r=n(92970),o=n(32315);const[i,a]=(0,r.q)({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:"<Accordion />"}),[s,l]=(0,r.q)({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:"<AccordionItem />"}),[c,u,d,h]=(0,o.D)()},40523:(t,e,n)=>{"use strict";n.d(e,{zy:()=>F,NP:()=>D,Wh:()=>B});var r=n(70579),o=n(89379),i=n(29676),a=n(32041),s=n(39611);function l(t){return(0,a.Gv)(t)&&t.reference?t.reference:String(t)}const c=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return n.map(l).join(" ".concat(t," ")).replace(/calc/g,"")},u=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(c("+",...e),")")},d=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(c("-",...e),")")},h=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(c("*",...e),")")},f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return"calc(".concat(c("/",...e),")")},p=t=>{const e=l(t);return null==e||Number.isNaN(parseFloat(e))?h(e,-1):String(e).startsWith("-")?String(e).slice(1):"-".concat(e)},g=Object.assign(t=>({add:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return g(u(t,...n))},subtract:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return g(d(t,...n))},multiply:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return g(h(t,...n))},divide:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return g(f(t,...n))},negate:()=>g(p(t)),toString:()=>t.toString()}),{add:u,subtract:d,multiply:h,divide:f,negate:p});var m=n(14258);function v(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const{stop:r,getKey:o}=n;return function t(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if((0,a.Gv)(n)||Array.isArray(n)){const a={};for(const[l,c]of Object.entries(n)){var s;const u=null!==(s=null===o||void 0===o?void 0:o(l))&&void 0!==s?s:l,d=[...i,u];if(null!==r&&void 0!==r&&r(n,d))return e(n,i);a[u]=t(c,d)}return a}return e(n,i)}(t)}var y=n(39468),b=n(80045),x=n(80974);const w=["__cssMap","__cssVars","__breakpoints"],k=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"];function A(t){const e=k;return(0,x.U)(t,e)}function _(t,e){return(0,m.Vg)(String(t).replace(/\./g,"-"),void 0,e)}function S(t){var e;const n=function(t){const e=A(t),n=function(t){return t.semanticTokens}(t),r=t=>y.s.includes(t)||"default"===t,o={};return v(e,(t,e)=>{null!=t&&(o[e.join(".")]={isSemantic:!1,value:t})}),v(n,(t,e)=>{null!=t&&(o[e.join(".")]={isSemantic:!0,value:t})},{stop:t=>Object.keys(t).every(r)}),o}(t),r=null===(e=t.config)||void 0===e?void 0:e.cssVarPrefix;let o={};const i={};function l(t,e){const o=[String(t).split(".")[0],e].join(".");if(!n[o])return e;const{reference:i}=_(o,r);return i}for(const[c,u]of Object.entries(n)){const{isSemantic:t,value:e}=u,{variable:n,reference:d}=_(c,r);if(!t){if(c.startsWith("space")){const t=c.split("."),[r,...o]=t,a="".concat(r,".-").concat(o.join(".")),s=g.negate(e),l=g.negate(d);i[a]={value:s,var:n,varRef:l}}o[n]=e,i[c]={value:e,var:n,varRef:d};continue}const h=(0,a.Gv)(e)?e:{default:e};o=s(o,Object.entries(h).reduce((t,e)=>{var r;let[o,i]=e;if(!i)return t;const a=l(c,"".concat(i));if("default"===o)return t[n]=a,t;return t[null!==(r=null===y.T||void 0===y.T?void 0:y.T[o])&&void 0!==r?r:o]={[n]:a},t},{})),i[c]={value:d,var:n,varRef:d}}return{cssVars:o,cssMap:i}}function C(t){const e=function(t){const{__cssMap:e,__cssVars:n,__breakpoints:r}=t;return(0,b.A)(t,w)}(t),{cssMap:n,cssVars:r}=S(e);return Object.assign(e,{__cssVars:(0,o.A)((0,o.A)({},{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0"}),r),__cssMap:n,__breakpoints:(0,i.d)(e.breakpoints)}),e}var E=n(94975),O=n(92970),P=n(64011),M=n(72157),T=n(12432),N=n(83290),R=n(65043),L=n(44093);function D(t){const{cssVarsRoot:e,theme:n,children:o}=t,i=(0,R.useMemo)(()=>C(n),[n]);return(0,r.jsxs)(T.a,{theme:i,children:[(0,r.jsx)(j,{root:e}),o]})}function j(t){let{root:e=":host, :root"}=t;const n=[e,"[data-theme]"].join(",");return(0,r.jsx)(N.mL,{styles:t=>({[n]:t.__cssVars})})}const[I,z]=(0,O.q)({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function B(t){return(0,O.q)({name:"".concat(t,"StylesContext"),errorMessage:'useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<'.concat(t,' />" ')})}function F(){const{colorMode:t}=(0,L.G6)();return(0,r.jsx)(N.mL,{styles:e=>{const n=(0,P.r)(e,"styles.global"),r=(0,M.J)(n,{theme:e,colorMode:t});if(!r)return;return(0,E.A)(r)(e)}})}},40614:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},41271:(t,e,n)=>{"use strict";n.d(e,{T:()=>a,w:()=>s});var r=n(70579),o=n(92970);const[i,a]=(0,o.q)({strict:!1,name:"PortalManagerContext"});function s(t){const{children:e,zIndex:n}=t;return(0,r.jsx)(i,{value:{zIndex:n},children:e})}s.displayName="PortalManager"},41282:(t,e,n)=>{"use strict";n.d(e,{Xu:()=>A,BV:()=>E,b:()=>M,db:()=>T,KZ:()=>O,Os:()=>D,jy:()=>R,F9:()=>L});var r=n(89379),o=n(80045),i=n(96870),a=n(81401),s=n(83804),l=n(27265),c=n(65043);function u(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=function(t,e){const n=(0,c.useId)();return(0,c.useMemo)(()=>t||[e,n].filter(Boolean).join("-"),[t,e,n])}(t);return(0,c.useMemo)(()=>n.map(t=>"".concat(t,"-").concat(o)),[o,n])}var d=n(12980),h=n(43194),f=n(92970),p=n(43464),g=n(86219),m=n(23107);function v(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{timeout:e=300,preventDefault:n=()=>!0}=t,[r,o]=(0,c.useState)([]),i=(0,c.useRef)(void 0),a=()=>{i.current&&(clearTimeout(i.current),i.current=null)};return(0,c.useEffect)(()=>a,[]),function(t){return s=>{if("Backspace"===s.key){const t=[...r];return t.pop(),void o(t)}if(function(t){const{key:e}=t;return 1===e.length||e.length>1&&/[^a-zA-Z0-9]/.test(e)}(s)){const l=r.concat(s.key);n(s)&&(s.preventDefault(),s.stopPropagation()),o(l),t(l.join("")),a(),i.current=setTimeout(()=>{o([]),i.current=null},e)}}}}var y=n(32315),b=n(61992),x=n(56814);const w=["id","closeOnSelect","closeOnBlur","initialFocusRef","autoSelect","isLazy","isOpen","defaultIsOpen","onClose","onOpen","placement","lazyBehavior","direction","computePositionOnMount"],k=["onMouseEnter","onMouseMove","onMouseLeave","onClick","onFocus","isDisabled","isFocusable","closeOnSelect","type"],[A,_,S,C]=(0,y.D)(),[E,O]=(0,f.q)({strict:!1,name:"MenuContext"});function P(t){var e;return null!==(e=null===t||void 0===t?void 0:t.ownerDocument)&&void 0!==e?e:document}function M(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{id:e,closeOnSelect:n=!0,closeOnBlur:h=!0,initialFocusRef:f,autoSelect:p=!0,isLazy:g,isOpen:m,defaultIsOpen:v,onClose:y,onOpen:x,placement:k="bottom-start",lazyBehavior:A="unmount",direction:_,computePositionOnMount:C=!1}=t,E=(0,o.A)(t,w),O=(0,c.useRef)(null),M=(0,c.useRef)(null),T=(0,c.useRef)(!0),N=S(),R=(0,c.useCallback)(()=>{requestAnimationFrame(()=>{var t;null===(t=O.current)||void 0===t||t.focus({preventScroll:!1})})},[]),L=(0,c.useCallback)(()=>{const t=setTimeout(()=>{var t;if(f)null===(t=f.current)||void 0===t||t.focus();else if(N.count()){const t=N.firstEnabled();t&&q(t.index)}else{var e;null===(e=O.current)||void 0===e||e.focus({preventScroll:!1})}});K.current.add(t)},[N,f]),D=(0,c.useCallback)(()=>{const t=setTimeout(()=>{if(N.count()){const t=N.lastEnabled();t&&q(t.index)}else{var t;null===(t=O.current)||void 0===t||t.focus({preventScroll:!1})}});K.current.add(t)},[N]),j=(0,c.useCallback)(()=>{null===x||void 0===x||x(),p?L():R()},[p,L,R,x]),{isOpen:I,onOpen:z,onClose:B,onToggle:F}=(0,i.j)({isOpen:m,defaultIsOpen:v,onClose:y,onOpen:j});(0,a.j)({enabled:I&&h,ref:O,handler:t=>{var e,n,r;const o=null!==(e=null===(n=t.composedPath)||void 0===n||null===(n=n.call(t))||void 0===n?void 0:n[0])&&void 0!==e?e:t.target;null!==(r=M.current)&&void 0!==r&&r.contains(o)||B()}});const H=(0,b.E)((0,r.A)((0,r.A)({},E),{},{enabled:I||C,placement:k,direction:_})),[V,q]=(0,c.useState)(-1);(0,s.X)(O,{focusRef:M,visible:I,shouldFocus:!0});const U=(0,l.v)({isOpen:I,ref:O}),[W,G]=u(e,"menu-button","menu-list"),Y=(0,c.useCallback)(()=>{z(),R()},[z,R]),K=(0,c.useRef)(new Set([]));(0,c.useEffect)(()=>{const t=K.current;return()=>{t.forEach(t=>clearTimeout(t)),t.clear()}},[]),(0,d.w)(()=>{var t;I||(q(-1),null===(t=O.current)||void 0===t||t.scrollTo(0,0))},[I]),(0,d.w)(()=>{I&&-1===V&&R()},[V,I]),(0,c.useEffect)(()=>{var t;if(!I)return;const e=N.item(V);null===e||void 0===e||null===(t=e.node)||void 0===t||t.focus({preventScroll:!T.current})},[N,V,I]);return{openAndFocusMenu:Y,openAndFocusFirstItem:(0,c.useCallback)(()=>{z(),L()},[L,z]),openAndFocusLastItem:(0,c.useCallback)(()=>{T.current=!0,z(),D()},[z,D]),onTransitionEnd:(0,c.useCallback)(()=>{var t,e;const n=P(O.current),r=null===(t=O.current)||void 0===t?void 0:t.contains(n.activeElement);if(!(I&&!r))return;const o=null===(e=N.item(V))||void 0===e?void 0:e.node;null===o||void 0===o||o.focus({preventScroll:!T.current})},[I,V,N]),unstable__animationState:U,descendants:N,popper:H,buttonId:W,menuId:G,forceUpdate:H.forceUpdate,orientation:"vertical",isOpen:I,onToggle:F,onOpen:z,onClose:B,menuRef:O,buttonRef:M,focusedIndex:V,closeOnSelect:n,closeOnBlur:h,autoSelect:p,setFocusedIndex:q,isLazy:g,lazyBehavior:A,initialFocusRef:f,scrollIntoViewRef:T}}function T(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=O(),{onToggle:o,popper:i,openAndFocusFirstItem:a,openAndFocusLastItem:s,scrollIntoViewRef:l}=n,u=(0,c.useCallback)(t=>{const e=t.key,n={Enter:a,ArrowDown:a,ArrowUp:s}[e];n&&(l.current=!0,t.preventDefault(),t.stopPropagation(),n(t))},[a,s,l]);return(0,r.A)((0,r.A)({},t),{},{ref:(0,h.Px)(n.buttonRef,e,i.referenceRef),id:n.buttonId,"data-active":(0,p.s)(n.isOpen),"aria-expanded":n.isOpen,"aria-haspopup":"menu","aria-controls":n.menuId,onClick:(0,g.H)(t.onClick,o),onKeyDown:(0,g.H)(t.onKeyDown,u)})}function N(t){var e;return function(t){var e;if(!function(t){return null!=t&&"object"==typeof t&&"nodeType"in t&&t.nodeType===Node.ELEMENT_NODE}(t))return!1;const n=null!==(e=t.ownerDocument.defaultView)&&void 0!==e?e:window;return t instanceof n.HTMLElement}(t)&&!(null===t||void 0===t||null===(e=t.getAttribute("role"))||void 0===e||!e.startsWith("menuitem"))}function R(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=O();if(!n)throw new Error("useMenuContext: context is undefined. Seems you forgot to wrap component within <Menu>");const{focusedIndex:o,setFocusedIndex:i,menuRef:a,isOpen:s,onClose:l,menuId:u,isLazy:d,lazyBehavior:f,scrollIntoViewRef:p,unstable__animationState:y}=n,b=_(),x=v({preventDefault:t=>" "!==t.key&&N(t.target)}),w=(0,c.useCallback)(t=>{if(!t.currentTarget.contains(t.target))return;const e={Tab:t=>t.preventDefault(),Escape:t=>{t.stopPropagation(),l()},ArrowDown:()=>{var t;p.current=!0;const e=null!==(t=b.nextEnabled(o))&&void 0!==t?t:b.firstEnabled();e&&i(e.index)},ArrowUp:()=>{var t;p.current=!0;const e=null!==(t=b.prevEnabled(o))&&void 0!==t?t:b.firstEnabled();e&&i(e.index)}}[t.key];if(e)return t.preventDefault(),void e(t);const n=x(t=>{const e=function(t,e,n,r){if(null==e)return r;if(!r)return t.find(t=>n(t).toLowerCase().startsWith(e.toLowerCase()));const o=t.filter(t=>n(t).toLowerCase().startsWith(e.toLowerCase()));if(o.length>0){let e;return o.includes(r)?(e=o.indexOf(r)+1,e===o.length&&(e=0),o[e]):(e=t.indexOf(o[0]),t[e])}return r}(b.values(),t,t=>{var e,n;return null!==(e=null===t||void 0===t||null===(n=t.node)||void 0===n?void 0:n.textContent)&&void 0!==e?e:""},b.item(o));if(e){const t=b.indexOf(e.node);i(t)}});N(t.target)&&n(t)},[b,o,x,l,i,p]),k=(0,c.useRef)(!1);s&&(k.current=!0);const A=(0,m.q)({wasSelected:k.current,enabled:d,mode:f,isSelected:y.present});return(0,r.A)((0,r.A)({},t),{},{ref:(0,h.Px)(a,e),children:A?t.children:null,tabIndex:-1,role:"menu",id:u,style:(0,r.A)((0,r.A)({},t.style),{},{transformOrigin:"var(--popper-transform-origin)"}),"aria-orientation":"vertical",onKeyDown:(0,g.H)(t.onKeyDown,w)})}function L(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{popper:e,isOpen:n}=O();return e.getPopperProps((0,r.A)((0,r.A)({},t),{},{style:(0,r.A)({visibility:n?"visible":"hidden"},t.style)}))}function D(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{onMouseEnter:n,onMouseMove:i,onMouseLeave:a,onClick:s,onFocus:l,isDisabled:u,isFocusable:d,closeOnSelect:f,type:p}=t,g=(0,o.A)(t,k),m=O(),{setFocusedIndex:v,focusedIndex:y,closeOnSelect:b,onClose:w,menuId:A,scrollIntoViewRef:_}=m,S=(0,c.useRef)(null),E="".concat(A,"-menuitem-").concat((0,c.useId)()),{index:M,register:T}=C({disabled:u&&!d}),R=(0,c.useCallback)(t=>{null===n||void 0===n||n(t),u||(_.current=!1,v(M))},[v,M,u,n,_]),L=(0,c.useCallback)(t=>{var e;null===i||void 0===i||i(t),S.current&&P(e=S.current).activeElement!==e&&R(t)},[R,i]),D=(0,c.useCallback)(t=>{null===a||void 0===a||a(t),u||v(-1)},[v,u,a]),j=(0,c.useCallback)(t=>{null===s||void 0===s||s(t),N(t.currentTarget)&&(null!==f&&void 0!==f?f:b)&&w()},[w,s,b,f]),I=(0,c.useCallback)(t=>{null===l||void 0===l||l(t),v(M)},[v,l,M]),z=M===y,B=(0,x.I)({onClick:j,onFocus:I,onMouseEnter:R,onMouseMove:L,onMouseLeave:D,ref:(0,h.Px)(T,S,e),isDisabled:u,isFocusable:d});return(0,r.A)((0,r.A)((0,r.A)({},g),B),{},{type:null!==p&&void 0!==p?p:B.type,id:E,role:"menuitem",tabIndex:z?0:-1})}},42128:(t,e,n)=>{"use strict";n.d(e,{p:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"ExternalLinkIcon",path:(0,r.jsxs)("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[(0,r.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"}),(0,r.jsx)("path",{d:"M15 3h6v6"}),(0,r.jsx)("path",{d:"M10 14L21 3"})]})})},42615:(t,e,n)=>{"use strict";n.d(e,{Jv:()=>a,jd:()=>s,xf:()=>o,yA:()=>l});var r=n(89379);const o={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},i={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function a(t){var e;switch(null!==(e=null===t||void 0===t?void 0:t.direction)&&void 0!==e?e:"right"){case"right":default:return i.slideRight;case"left":return i.slideLeft;case"bottom":return i.slideDown;case"top":return i.slideUp}}const s={enter:{duration:.2,ease:o.easeOut},exit:{duration:.1,ease:o.easeIn}},l={enter:(t,e)=>(0,r.A)((0,r.A)({},t),{},{delay:"number"===typeof e?e:null===e||void 0===e?void 0:e.enter}),exit:(t,e)=>(0,r.A)((0,r.A)({},t),{},{delay:"number"===typeof e?e:null===e||void 0===e?void 0:e.exit})}},42703:(t,e,n)=>{"use strict";n.d(e,{K:()=>u});var r=n(89379),o=n(80045),i=n(70579),a=n(65043),s=n(98662),l=n(55003);const c=["icon","children","isRound","aria-label"],u=(0,l.R)((t,e)=>{const{icon:n,children:l,isRound:u,"aria-label":d}=t,h=(0,o.A)(t,c),f=n||l,p=(0,a.isValidElement)(f)?(0,a.cloneElement)(f,{"aria-hidden":!0,focusable:!1}):null;return(0,i.jsx)(s.$,(0,r.A)((0,r.A)({px:"0",py:"0",borderRadius:u?"full":void 0,ref:e,"aria-label":d},h),{},{children:p}))});u.displayName="IconButton"},43194:(t,e,n)=>{"use strict";n.d(e,{Px:()=>o,SV:()=>i});var r=n(65043);function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return t=>{e.forEach(e=>{!function(t,e){if(null!=t)if("function"!==typeof t)try{t.current=e}catch(n){throw new Error("Cannot assign value '".concat(e,"' to ref '").concat(t,"'"))}else t(e)}(e,t)})}}function i(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,r.useMemo)(()=>o(...e),e)}},43464:(t,e,n)=>{"use strict";n.d(e,{r:()=>o,s:()=>r});const r=t=>t?"":void 0,o=t=>!!t||void 0},43533:(t,e,n)=>{"use strict";n.d(e,{x:()=>c});var r=n(89379),o=n(80045),i=n(70579),a=n(55003),s=n(52695);const l=["templateAreas","gap","rowGap","columnGap","column","row","autoFlow","autoRows","templateRows","autoColumns","templateColumns"],c=(0,a.R)(function(t,e){const{templateAreas:n,gap:a,rowGap:c,columnGap:u,column:d,row:h,autoFlow:f,autoRows:p,templateRows:g,autoColumns:m,templateColumns:v}=t,y=(0,o.A)(t,l),b={display:"grid",gridTemplateAreas:n,gridGap:a,gridRowGap:c,gridColumnGap:u,gridAutoColumns:m,gridColumn:d,gridRow:h,gridAutoFlow:f,gridAutoRows:p,gridTemplateRows:g,gridTemplateColumns:v};return(0,i.jsx)(s.B.div,(0,r.A)({ref:e,__css:b},y))});c.displayName="Grid"},43668:(t,e,n)=>{var r=n(18902),o=n(52587),i=n(58114);t.exports=function(t,e,n,a,s,l){var c=1&n,u=t.length,d=e.length;if(u!=d&&!(c&&d>u))return!1;var h=l.get(t),f=l.get(e);if(h&&f)return h==e&&f==t;var p=-1,g=!0,m=2&n?new r:void 0;for(l.set(t,e),l.set(e,t);++p<u;){var v=t[p],y=e[p];if(a)var b=c?a(y,v,p,e,t,l):a(v,y,p,t,e,l);if(void 0!==b){if(b)continue;g=!1;break}if(m){if(!o(e,function(t,e){if(!i(m,e)&&(v===t||s(v,t,n,a,l)))return m.push(e)})){g=!1;break}}else if(v!==y&&!s(v,y,n,a,l)){g=!1;break}}return l.delete(t),l.delete(e),g}},44093:(t,e,n)=>{"use strict";n.d(e,{G6:()=>i,Ig:()=>o,dU:()=>a});var r=n(65043);const o=(0,r.createContext)({});function i(){const t=(0,r.useContext)(o);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t}function a(t,e){const{colorMode:n}=i();return"dark"===n?e:t}o.displayName="ColorModeContext"},44245:(t,e,n)=>{"use strict";n.d(e,{Q:()=>r});const r=(0,n(14010).w)({d:"M23.414,20.591l-4.645-4.645a10.256,10.256,0,1,0-2.828,2.829l4.645,4.644a2.025,2.025,0,0,0,2.828,0A2,2,0,0,0,23.414,20.591ZM10.25,3.005A7.25,7.25,0,1,1,3,10.255,7.258,7.258,0,0,1,10.25,3.005Z",displayName:"Search2Icon"})},44521:(t,e,n)=>{"use strict";n.d(e,{Hz:()=>a,bq:()=>s,mD:()=>o});var r=n(36743);function o(t){var e,n;return null!==(e=null===(n=i(t))||void 0===n?void 0:n.defaultView)&&void 0!==e?e:window}function i(t){return(0,r.sb)(t)?t.ownerDocument:document}function a(t){var e;return null!==(e=t.view)&&void 0!==e?e:window}function s(t){return i(t).activeElement}},44543:(t,e,n)=>{t=n.nmd(t);var r=n(56552),o=n(60014),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,s=a&&a.exports===i?r.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;t.exports=l},44632:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]])},44978:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>H});var r=n(89379);const o={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};class i{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||o,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,r){return r&&!this.debug?null:("string"===typeof t[0]&&(t[0]="".concat(n).concat(this.prefix," ").concat(t[0])),this.logger[e](t))}create(t){return new i(this.logger,(0,r.A)((0,r.A)({},{prefix:"".concat(this.prefix,":").concat(t,":")}),this.options))}clone(t){return(t=t||this.options).prefix=t.prefix||this.prefix,new i(this.logger,t)}}var a=new i;class s{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]=this.observers[t]||[],this.observers[t].push(e)}),this}off(t,e){this.observers[t]&&(e?this.observers[t]=this.observers[t].filter(t=>t!==e):delete this.observers[t])}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];if(this.observers[t]){[].concat(this.observers[t]).forEach(t=>{t(...n)})}if(this.observers["*"]){[].concat(this.observers["*"]).forEach(e=>{e.apply(e,[t,...n])})}}}function l(){let t,e;const n=new Promise((n,r)=>{t=n,e=r});return n.resolve=t,n.reject=e,n}function c(t){return null==t?"":""+t}function u(t,e,n){function r(t){return t&&t.indexOf("###")>-1?t.replace(/###/g,"."):t}function o(){return!t||"string"===typeof t}const i="string"!==typeof e?[].concat(e):e.split(".");for(;i.length>1;){if(o())return{};const e=r(i.shift());!t[e]&&n&&(t[e]=new n),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{}}return o()?{}:{obj:t,k:r(i.shift())}}function d(t,e,n){const{obj:r,k:o}=u(t,e,Object);r[o]=n}function h(t,e){const{obj:n,k:r}=u(t,e);if(n)return n[r]}function f(t,e,n){for(const r in e)"__proto__"!==r&&"constructor"!==r&&(r in t?"string"===typeof t[r]||t[r]instanceof String||"string"===typeof e[r]||e[r]instanceof String?n&&(t[r]=e[r]):f(t[r],e[r],n):t[r]=e[r]);return t}function p(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var g={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function m(t){return"string"===typeof t?t.replace(/[&<>"'\/]/g,t=>g[t]):t}const v=[" ",",","?","!",";"];function y(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];const r=e.split(n);let o=t;for(let i=0;i<r.length;++i){if(!o)return;if("string"===typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){let t=2,a=r.slice(i,i+t).join(n),s=o[a];for(;void 0===s&&r.length>i+t;)t++,a=r.slice(i,i+t).join(n),s=o[a];if(void 0===s)return;if(null===s)return null;if(e.endsWith(a)){if("string"===typeof s)return s;if(a&&"string"===typeof s[a])return s[a]}const l=r.slice(i+t).join(n);return l?y(s,l,n):void 0}o=o[r[i]]}return o}function b(t){return t&&t.indexOf("_")>0?t.replace("_","-"):t}class x extends s{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a=[t,e];n&&"string"!==typeof n&&(a=a.concat(n)),n&&"string"===typeof n&&(a=a.concat(o?n.split(o):n)),t.indexOf(".")>-1&&(a=t.split("."));const s=h(this.data,a);return s||!i||"string"!==typeof n?s:y(this.data&&this.data[t]&&this.data[t][e],n,o)}addResource(t,e,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let a=[t,e];n&&(a=a.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(a=t.split("."),r=e,e=a[1]),this.addNamespaces(e),d(this.data,a,r),o.silent||this.emit("added",t,e,n,r)}addResources(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const o in n)"string"!==typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(t,e,o,n[o],{silent:!0});r.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,o,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},s=[t,e];t.indexOf(".")>-1&&(s=t.split("."),o=n,n=e,e=s[1]),this.addNamespaces(e);let l=h(this.data,s)||{};o?f(l,n,i):l=(0,r.A)((0,r.A)({},l),n),d(this.data,s,l),a.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?(0,r.A)((0,r.A)({},{}),this.getResource(t,e)):this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}}var w={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,o){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,n,r,o))}),e}};const k={};class A extends s{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),function(t,e,n){t.forEach(t=>{e[t]&&(n[t]=e[t])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=a.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(void 0===t||null===t)return!1;const n=this.resolve(t,e);return n&&void 0!==n.res}extractFromKey(t,e){let n=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,a=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!function(t,e,n){e=e||"",n=n||"";const r=v.filter(t=>e.indexOf(t)<0&&n.indexOf(t)<0);if(0===r.length)return!0;const o=new RegExp("(".concat(r.map(t=>"?"===t?"\\?":t).join("|"),")"));let i=!o.test(t);if(!i){const e=t.indexOf(n);e>0&&!o.test(t.substring(0,e))&&(i=!0)}return i}(t,n,r);if(i&&!a){const e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:o};const i=t.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),t=i.join(r)}return"string"===typeof o&&(o=[o]),{key:t,namespaces:o}}translate(t,e,n){if("object"!==typeof e&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),"object"===typeof e&&(e=(0,r.A)({},e)),e||(e={}),void 0===t||null===t)return"";Array.isArray(t)||(t=[String(t)]);const o=void 0!==e.returnDetails?e.returnDetails:this.options.returnDetails,i=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator,{key:a,namespaces:s}=this.extractFromKey(t[t.length-1],e),l=s[s.length-1],c=e.lng||this.language,u=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(u){const t=e.nsSeparator||this.options.nsSeparator;return o?{res:"".concat(l).concat(t).concat(a),usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:"".concat(l).concat(t).concat(a)}return o?{res:a,usedKey:a,exactUsedKey:a,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:a}const d=this.resolve(t,e);let h=d&&d.res;const f=d&&d.usedKey||a,p=d&&d.exactUsedKey||a,g=Object.prototype.toString.apply(h),m=void 0!==e.joinArrays?e.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject;if(v&&h&&("string"!==typeof h&&"boolean"!==typeof h&&"number"!==typeof h)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(g)<0&&("string"!==typeof m||"[object Array]"!==g)){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(f,h,(0,r.A)((0,r.A)({},e),{},{ns:s})):"key '".concat(a," (").concat(this.language,")' returned an object instead of string.");return o?(d.res=t,d.usedParams=this.getUsedParamsDetails(e),d):t}if(i){const t="[object Array]"===g,n=t?[]:{},o=t?p:f;for(const a in h)if(Object.prototype.hasOwnProperty.call(h,a)){const t="".concat(o).concat(i).concat(a);n[a]=this.translate(t,(0,r.A)((0,r.A)({},e),{joinArrays:!1,ns:s})),n[a]===t&&(n[a]=h[a])}h=n}}else if(v&&"string"===typeof m&&"[object Array]"===g)h=h.join(m),h&&(h=this.extendTranslation(h,t,e,n));else{let o=!1,s=!1;const u=void 0!==e.count&&"string"!==typeof e.count,f=A.hasDefaultValue(e),p=u?this.pluralResolver.getSuffix(c,e.count,e):"",g=e.ordinal&&u?this.pluralResolver.getSuffix(c,e.count,{ordinal:!1}):"",m=e["defaultValue".concat(p)]||e["defaultValue".concat(g)]||e.defaultValue;!this.isValidLookup(h)&&f&&(o=!0,h=m),this.isValidLookup(h)||(s=!0,h=a);const v=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:h,y=f&&m!==h&&this.options.updateMissing;if(s||o||y){if(this.logger.log(y?"updateKey":"missingKey",c,l,a,y?m:h),i){const t=this.resolve(a,(0,r.A)((0,r.A)({},e),{},{keySeparator:!1}));t&&t.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let t=[];const n=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if("fallback"===this.options.saveMissingTo&&n&&n[0])for(let e=0;e<n.length;e++)t.push(n[e]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(e.lng||this.language):t.push(e.lng||this.language);const o=(t,n,r)=>{const o=f&&r!==h?r:v;this.options.missingKeyHandler?this.options.missingKeyHandler(t,l,n,o,y,e):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,l,n,o,y,e),this.emit("missingKey",t,l,n,h)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?t.forEach(t=>{this.pluralResolver.getSuffixes(t,e).forEach(n=>{o([t],a+n,e["defaultValue".concat(n)]||m)})}):o(t,a,m))}h=this.extendTranslation(h,t,e,d,n),s&&h===a&&this.options.appendNamespaceToMissingKey&&(h="".concat(l,":").concat(a)),(s||o)&&this.options.parseMissingKeyHandler&&(h="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(l,":").concat(a):a,o?h:void 0):this.options.parseMissingKeyHandler(h))}return o?(d.res=h,d.usedParams=this.getUsedParamsDetails(e),d):h}extendTranslation(t,e,n,o,i){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,(0,r.A)((0,r.A)({},this.options.interpolation.defaultVariables),n),n.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init((0,r.A)((0,r.A)({},n),{interpolation:(0,r.A)((0,r.A)({},this.options.interpolation),n.interpolation)}));const s="string"===typeof t&&(n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let l;if(s){const e=t.match(this.interpolator.nestingRegexp);l=e&&e.length}let c=n.replace&&"string"!==typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(c=(0,r.A)((0,r.A)({},this.options.interpolation.defaultVariables),c)),t=this.interpolator.interpolate(t,c,n.lng||this.language,n),s){const e=t.match(this.interpolator.nestingRegexp);l<(e&&e.length)&&(n.nest=!1)}!n.lng&&"v1"!==this.options.compatibilityAPI&&o&&o.res&&(n.lng=o.usedLng),!1!==n.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return i&&i[0]===r[0]&&!n.context?(a.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(e[0])),null):a.translate(...r,e)},n)),n.interpolation&&this.interpolator.reset()}const s=n.postProcess||this.options.postProcess,l="string"===typeof s?[s]:s;return void 0!==t&&null!==t&&l&&l.length&&!1!==n.applyPostProcessor&&(t=w.handle(l,t,e,this.options&&this.options.postProcessPassResolved?(0,r.A)({i18nResolved:(0,r.A)((0,r.A)({},o),{},{usedParams:this.getUsedParamsDetails(n)})},n):n,this)),t}resolve(t){let e,n,r,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"===typeof t&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;const s=this.extractFromKey(t,a),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==a.count&&"string"!==typeof a.count,d=u&&!a.ordinal&&0===a.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==a.context&&("string"===typeof a.context||"number"===typeof a.context)&&""!==a.context,f=a.lngs?a.lngs:this.languageUtils.toResolveHierarchy(a.lng||this.language,a.fallbackLng);c.forEach(t=>{this.isValidLookup(e)||(i=t,!k["".concat(f[0],"-").concat(t)]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(k["".concat(f[0],"-").concat(t)]=!0,this.logger.warn('key "'.concat(n,'" for languages "').concat(f.join(", "),'" won\'t get resolved as namespace "').concat(i,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(n=>{if(this.isValidLookup(e))return;o=n;const i=[l];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,n,t,a);else{let t;u&&(t=this.pluralResolver.getSuffix(n,a.count,a));const e="".concat(this.options.pluralSeparator,"zero"),r="".concat(this.options.pluralSeparator,"ordinal").concat(this.options.pluralSeparator);if(u&&(i.push(l+t),a.ordinal&&0===t.indexOf(r)&&i.push(l+t.replace(r,this.options.pluralSeparator)),d&&i.push(l+e)),h){const n="".concat(l).concat(this.options.contextSeparator).concat(a.context);i.push(n),u&&(i.push(n+t),a.ordinal&&0===t.indexOf(r)&&i.push(n+t.replace(r,this.options.pluralSeparator)),d&&i.push(n+e))}}let s;for(;s=i.pop();)this.isValidLookup(e)||(r=s,e=this.getResource(n,t,s,a))}))})}),{res:e,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}isValidLookup(t){return void 0!==t&&!(!this.options.returnNull&&null===t)&&!(!this.options.returnEmptyString&&""===t)}getResource(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,n,r):this.resourceStore.getResource(t,e,n,r)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&"string"!==typeof t.replace;let o=n?t.replace:t;if(n&&"undefined"!==typeof t.count&&(o.count=t.count),this.options.interpolation.defaultVariables&&(o=(0,r.A)((0,r.A)({},this.options.interpolation.defaultVariables),o)),!n){o=(0,r.A)({},o);for(const t of e)delete o[t]}return o}static hasDefaultValue(t){const e="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,12)&&void 0!==t[n])return!0;return!1}}function _(t){return t.charAt(0).toUpperCase()+t.slice(1)}class S{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=a.create("languageUtils")}getScriptPartFromCode(t){if(!(t=b(t))||t.indexOf("-")<0)return null;const e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}getLanguagePartFromCode(t){if(!(t=b(t))||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if("string"===typeof t&&t.indexOf("-")>-1){const e=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(t=>t.toLowerCase()):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),e.indexOf(n[1].toLowerCase())>-1&&(n[1]=_(n[1].toLowerCase())),e.indexOf(n[2].toLowerCase())>-1&&(n[2]=_(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(t=>{if(e)return;const n=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(n)||(e=n)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;const n=this.getLanguagePartFromCode(t);if(this.isSupportedCode(n))return e=n;e=this.options.supportedLngs.find(t=>t===n?t:t.indexOf("-")<0&&n.indexOf("-")<0?void 0:0===t.indexOf(n)?t:void 0)}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if("function"===typeof t&&(t=t(e)),"string"===typeof t&&(t=[t]),"[object Array]"===Object.prototype.toString.apply(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){const n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),r=[],o=t=>{t&&(this.isSupportedCode(t)?r.push(t):this.logger.warn("rejecting language code not found in supportedLngs: ".concat(t)))};return"string"===typeof t&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):"string"===typeof t&&o(this.formatLanguageCode(t)),n.forEach(t=>{r.indexOf(t)<0&&o(this.formatLanguageCode(t))}),r}}let C=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],E={1:function(t){return Number(t>1)},2:function(t){return Number(1!=t)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(1==t?0:t>=2&&t<=4?1:2)},7:function(t){return Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(1==t?0:2==t?1:8!=t&&11!=t?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(1==t?0:2==t?1:t<7?2:t<11?3:4)},11:function(t){return Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(0!==t)},14:function(t){return Number(1==t?0:2==t?1:3==t?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:0!==t?1:2)},17:function(t){return Number(1==t||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(0==t?0:1==t?1:2)},19:function(t){return Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(1==t?0:0==t||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)}};const O=["v1","v2","v3"],P=["v4"],M={zero:0,one:1,two:2,few:3,many:4,other:5};class T{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=a.create("pluralResolver"),this.options.compatibilityJSON&&!P.includes(this.options.compatibilityJSON)||"undefined"!==typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=function(){const t={};return C.forEach(e=>{e.lngs.forEach(n=>{t[n]={numbers:e.nr,plurals:E[e.fc]}})}),t}()}addRule(t,e){this.rules[t]=e}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(b(t),{type:e.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,n).map(t=>"".concat(e).concat(t))}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=this.getRule(t,e);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((t,e)=>M[t]-M[e]).map(t=>"".concat(this.options.prepend).concat(e.ordinal?"ordinal".concat(this.options.prepend):"").concat(t)):n.numbers.map(n=>this.getSuffix(t,n,e)):[]}getSuffix(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=this.getRule(t,n);return r?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.ordinal?"ordinal".concat(this.options.prepend):"").concat(r.select(e)):this.getSuffixRetroCompatible(r,e):(this.logger.warn("no plural rule found for: ".concat(t)),"")}getSuffixRetroCompatible(t,e){const n=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let r=t.numbers[n];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===r?r="plural":1===r&&(r=""));const o=()=>this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString();return"v1"===this.options.compatibilityJSON?1===r?"":"number"===typeof r?"_plural_".concat(r.toString()):o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!O.includes(this.options.compatibilityJSON)}}function N(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=function(t,e,n){const r=h(t,n);return void 0!==r?r:h(e,n)}(t,e,n);return!i&&o&&"string"===typeof n&&(i=y(t,n,r),void 0===i&&(i=y(e,n,r))),i}class R{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=a.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const e=t.interpolation;this.escape=void 0!==e.escape?e.escape:m,this.escapeValue=void 0===e.escapeValue||e.escapeValue,this.useRawValueToEscape=void 0!==e.useRawValueToEscape&&e.useRawValueToEscape,this.prefix=e.prefix?p(e.prefix):e.prefixEscaped||"{{",this.suffix=e.suffix?p(e.suffix):e.suffixEscaped||"}}",this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||",",this.unescapePrefix=e.unescapeSuffix?"":e.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":e.unescapeSuffix||"",this.nestingPrefix=e.nestingPrefix?p(e.nestingPrefix):e.nestingPrefixEscaped||p("$t("),this.nestingSuffix=e.nestingSuffix?p(e.nestingSuffix):e.nestingSuffixEscaped||p(")"),this.nestingOptionsSeparator=e.nestingOptionsSeparator?e.nestingOptionsSeparator:e.nestingOptionsSeparator||",",this.maxReplaces=e.maxReplaces?e.maxReplaces:1e3,this.alwaysFormat=void 0!==e.alwaysFormat&&e.alwaysFormat,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(t,"g");const e="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(e,"g");const n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}interpolate(t,e,n,o){let i,a,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(t){return t.replace(/\$/g,"$$$$")}const d=t=>{if(t.indexOf(this.formatSeparator)<0){const i=N(e,l,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(i,void 0,n,(0,r.A)((0,r.A)((0,r.A)({},o),e),{},{interpolationkey:t})):i}const i=t.split(this.formatSeparator),a=i.shift().trim(),s=i.join(this.formatSeparator).trim();return this.format(N(e,l,a,this.options.keySeparator,this.options.ignoreJSONStructure),s,n,(0,r.A)((0,r.A)((0,r.A)({},o),e),{},{interpolationkey:a}))};this.resetRegExp();const h=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:t=>u(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?u(this.escape(t)):u(t)}].forEach(e=>{for(s=0;i=e.regex.exec(t);){const n=i[1].trim();if(a=d(n),void 0===a)if("function"===typeof h){const e=h(t,i,o);a="string"===typeof e?e:""}else if(o&&Object.prototype.hasOwnProperty.call(o,n))a="";else{if(f){a=i[0];continue}this.logger.warn("missed to pass in variable ".concat(n," for interpolating ").concat(t)),a=""}else"string"===typeof a||this.useRawValueToEscape||(a=c(a));const r=e.safeValue(a);if(t=t.replace(i[0],r),f?(e.regex.lastIndex+=a.length,e.regex.lastIndex-=i[0].length):e.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),t}nest(t,e){let n,o,i,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function s(t,e){const n=this.nestingOptionsSeparator;if(t.indexOf(n)<0)return t;const o=t.split(new RegExp("".concat(n,"[ ]*{")));let a="{".concat(o[1]);t=o[0],a=this.interpolate(a,i);const s=a.match(/'/g),l=a.match(/"/g);(s&&s.length%2===0&&!l||l.length%2!==0)&&(a=a.replace(/'/g,'"'));try{i=JSON.parse(a),e&&(i=(0,r.A)((0,r.A)({},e),i))}catch(c){return this.logger.warn("failed parsing options string in nesting for key ".concat(t),c),"".concat(t).concat(n).concat(a)}return delete i.defaultValue,t}for(;n=this.nestingRegexp.exec(t);){let l=[];i=(0,r.A)({},a),i=i.replace&&"string"!==typeof i.replace?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){const t=n[1].split(this.formatSeparator).map(t=>t.trim());n[1]=t.shift(),l=t,u=!0}if(o=e(s.call(this,n[1].trim(),i),i),o&&n[0]===t&&"string"!==typeof o)return o;"string"!==typeof o&&(o=c(o)),o||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(t)),o=""),u&&(o=l.reduce((t,e)=>this.format(t,e,a.lng,(0,r.A)((0,r.A)({},a),{},{interpolationkey:n[1].trim()})),o.trim())),t=t.replace(n[0],o),this.regexp.lastIndex=0}return t}}function L(t){const e={};return function(n,r,o){const i=r+JSON.stringify(o);let a=e[i];return a||(a=t(b(r),o),e[i]=a),a(n)}}class D{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=a.create("formatter"),this.options=t,this.formats={number:L((t,e)=>{const n=new Intl.NumberFormat(t,(0,r.A)({},e));return t=>n.format(t)}),currency:L((t,e)=>{const n=new Intl.NumberFormat(t,(0,r.A)((0,r.A)({},e),{},{style:"currency"}));return t=>n.format(t)}),datetime:L((t,e)=>{const n=new Intl.DateTimeFormat(t,(0,r.A)({},e));return t=>n.format(t)}),relativetime:L((t,e)=>{const n=new Intl.RelativeTimeFormat(t,(0,r.A)({},e));return t=>n.format(t,e.range||"day")}),list:L((t,e)=>{const n=new Intl.ListFormat(t,(0,r.A)({},e));return t=>n.format(t)})},this.init(t)}init(t){const e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=e.formatSeparator?e.formatSeparator:e.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=L(e)}format(t,e,n){let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return e.split(this.formatSeparator).reduce((t,e)=>{const{formatName:i,formatOptions:a}=function(t){let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===e&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(t=>{if(!t)return;const[e,...r]=t.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,"");n[e.trim()]||(n[e.trim()]=o),"false"===o&&(n[e.trim()]=!1),"true"===o&&(n[e.trim()]=!0),isNaN(o)||(n[e.trim()]=parseInt(o,10))})}return{formatName:e,formatOptions:n}}(e);if(this.formats[i]){let e=t;try{const s=o&&o.formatParams&&o.formatParams[o.interpolationkey]||{},l=s.locale||s.lng||o.locale||o.lng||n;e=this.formats[i](t,l,(0,r.A)((0,r.A)((0,r.A)({},a),o),s))}catch(s){this.logger.warn(s)}return e}return this.logger.warn("there was no format function for ".concat(i)),t},t)}}class j extends s{constructor(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=a.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,r.backend,r)}queueLoad(t,e,n,r){const o={},i={},a={},s={};return t.forEach(t=>{let r=!0;e.forEach(e=>{const a="".concat(t,"|").concat(e);!n.reload&&this.store.hasResourceBundle(t,e)?this.state[a]=2:this.state[a]<0||(1===this.state[a]?void 0===i[a]&&(i[a]=!0):(this.state[a]=1,r=!1,void 0===i[a]&&(i[a]=!0),void 0===o[a]&&(o[a]=!0),void 0===s[e]&&(s[e]=!0)))}),r||(a[t]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(a),toLoadNamespaces:Object.keys(s)}}loaded(t,e,n){const r=t.split("|"),o=r[0],i=r[1];e&&this.emit("failedLoading",o,i,e),n&&this.store.addResourceBundle(o,i,n),this.state[t]=e?-1:2;const a={};this.queue.forEach(n=>{!function(t,e,n,r){const{obj:o,k:i}=u(t,e,Object);o[i]=o[i]||[],r&&(o[i]=o[i].concat(n)),r||o[i].push(n)}(n.loaded,[o],i),function(t,e){void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)}(n,t),e&&n.errors.push(e),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(t=>{a[t]||(a[t]={});const e=n.loaded[t];e.length&&e.forEach(e=>{void 0===a[t][e]&&(a[t][e]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",a),this.queue=this.queue.filter(t=>!t.done)}read(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:e,fcName:n,tried:r,wait:o,callback:i});this.readingCalls++;const a=(a,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}a&&s&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,t,e,n,r+1,2*o,i)},o):i(a,s)},s=this.backend[n].bind(this.backend);if(2!==s.length)return s(t,e,a);try{const n=s(t,e);n&&"function"===typeof n.then?n.then(t=>a(null,t)).catch(a):a(null,n)}catch(l){a(l)}}prepareLoading(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();"string"===typeof t&&(t=this.languageUtils.toResolveHierarchy(t)),"string"===typeof e&&(e=[e]);const o=this.queueLoad(t,e,n,r);if(!o.toLoad.length)return o.pending.length||r(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=t.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,i)=>{n&&this.logger.warn("".concat(e,"loading namespace ").concat(o," for language ").concat(r," failed"),n),!n&&i&&this.logger.log("".concat(e,"loaded namespace ").concat(o," for language ").concat(r),i),this.loaded(t,n,i)})}saveMissing(t,e,n,o,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(e,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");else if(void 0!==n&&null!==n&&""!==n){if(this.backend&&this.backend.create){const c=(0,r.A)((0,r.A)({},a),{},{isUpdate:i}),u=this.backend.create.bind(this.backend);if(u.length<6)try{let r;r=5===u.length?u(t,e,n,o,c):u(t,e,n,o),r&&"function"===typeof r.then?r.then(t=>s(null,t)).catch(s):s(null,r)}catch(l){s(l)}else u(t,e,n,o,s,c)}t&&t[0]&&this.store.addResource(t[0],e,n,o)}}}function I(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let e={};if("object"===typeof t[1]&&(e=t[1]),"string"===typeof t[1]&&(e.defaultValue=t[1]),"string"===typeof t[2]&&(e.tDescription=t[2]),"object"===typeof t[2]||"object"===typeof t[3]){const n=t[3]||t[2];Object.keys(n).forEach(t=>{e[t]=n[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function z(t){return"string"===typeof t.ns&&(t.ns=[t.ns]),"string"===typeof t.fallbackLng&&(t.fallbackLng=[t.fallbackLng]),"string"===typeof t.fallbackNS&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function B(){}class F extends s{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;var n;if(super(),this.options=z(t),this.services={},this.logger=a,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(t=>{"function"===typeof n[t]&&(n[t]=n[t].bind(n))}),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;"function"===typeof e&&(n=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&("string"===typeof e.ns?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const o=I();function i(t){return t?"function"===typeof t?new t:t:null}if(this.options=(0,r.A)((0,r.A)((0,r.A)({},o),this.options),z(e)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=(0,r.A)((0,r.A)({},o.interpolation),this.options.interpolation)),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),!this.options.isClone){let e;this.modules.logger?a.init(i(this.modules.logger),this.options):a.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!==typeof Intl&&(e=D);const n=new S(this.options);this.store=new x(this.options.resources,this.options);const r=this.services;r.logger=a,r.resourceStore=this.store,r.languageUtils=n,r.pluralResolver=new T(n,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!e||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(r.formatter=i(e),r.formatter.init(r,this.options),this.options.interpolation.format=r.formatter.format.bind(r.formatter)),r.interpolator=new R(this.options),r.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},r.backendConnector=new j(i(this.modules.backend),r.resourceStore,r,this.options),r.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.languageDetector&&(r.languageDetector=i(this.modules.languageDetector),r.languageDetector.init&&r.languageDetector.init(r,this.options.detection,this.options)),this.modules.i18nFormat&&(r.i18nFormat=i(this.modules.i18nFormat),r.i18nFormat.init&&r.i18nFormat.init(this)),this.translator=new A(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t.emit(e,...r)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,n||(n=B),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});const s=l(),c=()=>{const t=(t,e)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(e),n(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),s}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B;const n="string"===typeof t?t:this.language;if("function"===typeof t&&(e=t),!this.options.resources||this.options.partialBundledLanguages){if(n&&"cimode"===n.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],r=e=>{if(!e)return;if("cimode"===e)return;this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&t.indexOf(e)<0&&t.push(e)})};if(n)r(n);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>r(t))}this.options.preload&&this.options.preload.forEach(t=>r(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)})}else e(null)}reloadResources(t,e,n){const r=l();return t||(t=this.languages),e||(e=this.options.ns),n||(n=B),this.services.backendConnector.reload(t,e,t=>{r.resolve(),n(t)}),r}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&w.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;const r=l();this.emit("languageChanging",t);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},i=(t,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,r.resolve(function(){return n.t(...arguments)}),e&&e(t,function(){return n.t(...arguments)})},a=e=>{t||e||!this.services.languageDetector||(e=[]);const n="string"===typeof e?e:this.services.languageUtils.getBestMatchFromCodes(e);n&&(this.language||o(n),this.translator.language||this.translator.changeLanguage(n),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(n)),this.loadResources(n,t=>{i(t,n)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(t):a(this.services.languageDetector.detect()),r}getFixedT(t,e,n){var o=this;const i=function(t,e){let a;if("object"!==typeof e){for(var s=arguments.length,l=new Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];a=o.options.overloadTranslationOptionHandler([t,e].concat(l))}else a=(0,r.A)({},e);a.lng=a.lng||i.lng,a.lngs=a.lngs||i.lngs,a.ns=a.ns||i.ns,a.keyPrefix=a.keyPrefix||n||i.keyPrefix;const u=o.options.keySeparator||".";let d;return d=a.keyPrefix&&Array.isArray(t)?t.map(t=>"".concat(a.keyPrefix).concat(u).concat(t)):a.keyPrefix?"".concat(a.keyPrefix).concat(u).concat(t):t,o.t(d,a)};return"string"===typeof t?i.lng=t:i.lngs=t,i.ns=e,i.keyPrefix=n,i}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=e.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const i=(t,e)=>{const n=this.services.backendConnector.state["".concat(t,"|").concat(e)];return-1===n||2===n};if(e.precheck){const t=e.precheck(this,i);if(void 0!==t)return t}return!!this.hasResourceBundle(n,t)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!i(n,t)||r&&!i(o,t)))}loadNamespaces(t,e){const n=l();return this.options.ns?("string"===typeof t&&(t=[t]),t.forEach(t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){const n=l();"string"===typeof t&&(t=[t]);const r=this.options.preload||[],o=t.filter(t=>r.indexOf(t)<0);return o.length?(this.options.preload=r.concat(o),this.loadResources(t=>{n.resolve(),e&&e(t)}),n):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=this.services&&this.services.languageUtils||new S(I());return["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new F(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:B;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const o=(0,r.A)((0,r.A)((0,r.A)({},this.options),t),{isClone:!0}),i=new F(o);void 0===t.debug&&void 0===t.prefix||(i.logger=i.logger.clone(t));return["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services=(0,r.A)({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new x(this.store.data,o),i.services.resourceStore=i.store),i.translator=new A(i.services,o),i.translator.on("*",function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];i.emit(t,...n)}),i.init(o,e),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const H=F.createInstance();H.createInstance=F.createInstance;H.createInstance,H.dir,H.init,H.loadResources,H.reloadResources,H.use,H.changeLanguage,H.getFixedT,H.t,H.exists,H.setDefaultNamespace,H.hasLoadedNamespace,H.loadNamespaces,H.loadLanguages},45752:(t,e,n)=>{var r=n(59395),o=Object.prototype.hasOwnProperty;t.exports=function(t,e,n,i,a,s){var l=1&n,c=r(t),u=c.length;if(u!=r(e).length&&!l)return!1;for(var d=u;d--;){var h=c[d];if(!(l?h in e:o.call(e,h)))return!1}var f=s.get(t),p=s.get(e);if(f&&p)return f==e&&p==t;var g=!0;s.set(t,e),s.set(e,t);for(var m=l;++d<u;){var v=t[h=c[d]],y=e[h];if(i)var b=l?i(y,v,h,e,t,s):i(v,y,h,t,e,s);if(!(void 0===b?v===y||a(v,y,n,i,s):b)){g=!1;break}m||(m="constructor"==h)}if(g&&!m){var x=t.constructor,w=e.constructor;x==w||!("constructor"in t)||!("constructor"in e)||"function"==typeof x&&x instanceof x&&"function"==typeof w&&w instanceof w||(g=!1)}return s.delete(t),s.delete(e),g}},45821:(t,e,n)=>{"use strict";n.d(e,{F:()=>i,H:()=>o});var r=n(92970);const[o,i]=(0,r.q)({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Breadcrumb />\" "})},45973:(t,e,n)=>{"use strict";n.d(e,{M:()=>y,Z:()=>v});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(91432),l=n(15156),c=n(92970),u=n(64844),d=n(65043),h=n(55003),f=n(36059),p=n(52695);const g=["children","className"],[m,v]=(0,c.q)({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),y=(0,h.R)(function(t,e){const n=(0,f.o)("Input",t),c=(0,a.M)(t),{children:h,className:v}=c,y=(0,o.A)(c,g),b=(0,u.cx)("chakra-input__group",v),x={},w=(0,s.a)(h),k=n.field;w.forEach(t=>{if(n){var e,r;if(k&&"InputLeftElement"===t.type.id)x.paddingStart=null!==(e=k.height)&&void 0!==e?e:k.h;if(k&&"InputRightElement"===t.type.id)x.paddingEnd=null!==(r=k.height)&&void 0!==r?r:k.h;"InputRightAddon"===t.type.id&&(x.borderEndRadius=0),"InputLeftAddon"===t.type.id&&(x.borderStartRadius=0)}});const A=w.map(e=>{var n,r;const o=(0,l.o)({size:(null===(n=e.props)||void 0===n?void 0:n.size)||t.size,variant:(null===(r=e.props)||void 0===r?void 0:r.variant)||t.variant});return"Input"!==e.type.id?(0,d.cloneElement)(e,o):(0,d.cloneElement)(e,Object.assign(o,x,e.props))});return(0,i.jsx)(p.B.div,(0,r.A)((0,r.A)({className:b,ref:e,__css:(0,r.A)({width:"100%",display:"flex",position:"relative",isolation:"isolate"},n.group),"data-group":!0},y),{},{children:(0,i.jsx)(m,{value:n,children:A})}))});y.displayName="InputGroup"},46686:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},46704:t=>{t.exports=function(t){return this.__data__.has(t)}},47251:(t,e,n)=>{var r=n(98724),o=n(97160),i=n(85204);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},47358:(t,e)=>{"use strict";var n=60103,r=60106,o=60107,i=60108,a=60114,s=60109,l=60110,c=60112,u=60113,d=60120,h=60115,f=60116,p=60121,g=60122,m=60117,v=60129,y=60131;if("function"===typeof Symbol&&Symbol.for){var b=Symbol.for;n=b("react.element"),r=b("react.portal"),o=b("react.fragment"),i=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),c=b("react.forward_ref"),u=b("react.suspense"),d=b("react.suspense_list"),h=b("react.memo"),f=b("react.lazy"),p=b("react.block"),g=b("react.server.block"),m=b("react.fundamental"),v=b("react.debug_trace_mode"),y=b("react.legacy_hidden")}function x(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case n:switch(t=t.type){case o:case a:case i:case u:case d:return t;default:switch(t=t&&t.$$typeof){case l:case c:case f:case h:case s:return t;default:return e}}case r:return e}}}e.isContextConsumer=function(t){return x(t)===l}},47574:t=>{t.exports=function(t){return function(e){return t(e)}}},47680:function(t){var e;"undefined"!==typeof self&&self,e=function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=109)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),h=n(32),f=n(33),p=n(31),g=n(1),m={Scope:g.Scope,create:g.create,find:g.find,query:g.query,register:g.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:h.default,Style:f.default,Store:p.default}};e.default=m},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(e){var n=this;return e="[Parchment] "+e,(n=t.call(this,e)||this).message=e,n.name=n.constructor.name,n}return r(e,t),e}(Error);e.ParchmentError=o;var i,a={},s={},l={},c={};function u(t,e){var n;if(void 0===e&&(e=i.ANY),"string"===typeof t)n=c[t]||a[t];else if(t instanceof Text||t.nodeType===Node.TEXT_NODE)n=c.text;else if("number"===typeof t)t&i.LEVEL&i.BLOCK?n=c.block:t&i.LEVEL&i.INLINE&&(n=c.inline);else if(t instanceof HTMLElement){var r=(t.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=s[r[o]])break;n=n||l[t.tagName]}return null==n?null:e&i.LEVEL&n.scope&&e&i.TYPE&n.scope?n:null}e.DATA_KEY="__blot",function(t){t[t.TYPE=3]="TYPE",t[t.LEVEL=12]="LEVEL",t[t.ATTRIBUTE=13]="ATTRIBUTE",t[t.BLOT=14]="BLOT",t[t.INLINE=7]="INLINE",t[t.BLOCK=11]="BLOCK",t[t.BLOCK_BLOT=10]="BLOCK_BLOT",t[t.INLINE_BLOT=6]="INLINE_BLOT",t[t.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",t[t.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",t[t.ANY=15]="ANY"}(i=e.Scope||(e.Scope={})),e.create=function(t,e){var n=u(t);if(null==n)throw new o("Unable to create "+t+" blot");var r=n,i=t instanceof Node||t.nodeType===Node.TEXT_NODE?t:r.create(e);return new r(i,e)},e.find=function t(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[e.DATA_KEY]?n[e.DATA_KEY].blot:r?t(n.parentNode,r):null},e.query=u,e.register=function t(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(e.length>1)return e.map(function(e){return t(e)});var r=e[0];if("string"!==typeof r.blotName&&"string"!==typeof r.attrName)throw new o("Invalid definition");if("abstract"===r.blotName)throw new o("Cannot register abstract class");return c[r.blotName||r.attrName]=r,"string"===typeof r.keyName?a[r.keyName]=r:(null!=r.className&&(s[r.className]=r),null!=r.tagName&&(Array.isArray(r.tagName)?r.tagName=r.tagName.map(function(t){return t.toUpperCase()}):r.tagName=r.tagName.toUpperCase(),(Array.isArray(r.tagName)?r.tagName:[r.tagName]).forEach(function(t){null!=l[t]&&null!=r.className||(l[t]=r)}))),r}},function(t,e,n){var r=n(51),o=n(11),i=n(3),a=n(20),s=String.fromCharCode(0),l=function(t){Array.isArray(t)?this.ops=t:null!=t&&Array.isArray(t.ops)?this.ops=t.ops:this.ops=[]};l.prototype.insert=function(t,e){var n={};return 0===t.length?this:(n.insert=t,null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n))},l.prototype.delete=function(t){return t<=0?this:this.push({delete:t})},l.prototype.retain=function(t,e){if(t<=0)return this;var n={retain:t};return null!=e&&"object"===typeof e&&Object.keys(e).length>0&&(n.attributes=e),this.push(n)},l.prototype.push=function(t){var e=this.ops.length,n=this.ops[e-1];if(t=i(!0,{},t),"object"===typeof n){if("number"===typeof t.delete&&"number"===typeof n.delete)return this.ops[e-1]={delete:n.delete+t.delete},this;if("number"===typeof n.delete&&null!=t.insert&&(e-=1,"object"!==typeof(n=this.ops[e-1])))return this.ops.unshift(t),this;if(o(t.attributes,n.attributes)){if("string"===typeof t.insert&&"string"===typeof n.insert)return this.ops[e-1]={insert:n.insert+t.insert},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this;if("number"===typeof t.retain&&"number"===typeof n.retain)return this.ops[e-1]={retain:n.retain+t.retain},"object"===typeof t.attributes&&(this.ops[e-1].attributes=t.attributes),this}}return e===this.ops.length?this.ops.push(t):this.ops.splice(e,0,t),this},l.prototype.chop=function(){var t=this.ops[this.ops.length-1];return t&&t.retain&&!t.attributes&&this.ops.pop(),this},l.prototype.filter=function(t){return this.ops.filter(t)},l.prototype.forEach=function(t){this.ops.forEach(t)},l.prototype.map=function(t){return this.ops.map(t)},l.prototype.partition=function(t){var e=[],n=[];return this.forEach(function(r){(t(r)?e:n).push(r)}),[e,n]},l.prototype.reduce=function(t,e){return this.ops.reduce(t,e)},l.prototype.changeLength=function(){return this.reduce(function(t,e){return e.insert?t+a.length(e):e.delete?t-e.delete:t},0)},l.prototype.length=function(){return this.reduce(function(t,e){return t+a.length(e)},0)},l.prototype.slice=function(t,e){t=t||0,"number"!==typeof e&&(e=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o<e&&r.hasNext();){var i;o<t?i=r.next(t-o):(i=r.next(e-o),n.push(i)),o+=a.length(i)}return new l(n)},l.prototype.compose=function(t){var e=a.iterator(this.ops),n=a.iterator(t.ops),r=[],i=n.peek();if(null!=i&&"number"===typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===e.peekType()&&e.peekLength()<=s;)s-=e.peekLength(),r.push(e.next());i.retain-s>0&&n.next(i.retain-s)}for(var c=new l(r);e.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===e.peekType())c.push(e.next());else{var u=Math.min(e.peekLength(),n.peekLength()),d=e.next(u),h=n.next(u);if("number"===typeof h.retain){var f={};"number"===typeof d.retain?f.retain=u:f.insert=d.insert;var p=a.attributes.compose(d.attributes,h.attributes,"number"===typeof d.retain);if(p&&(f.attributes=p),c.push(f),!n.hasNext()&&o(c.ops[c.ops.length-1],f)){var g=new l(e.rest());return c.concat(g).chop()}}else"number"===typeof h.delete&&"number"===typeof d.retain&&c.push(h)}return c.chop()},l.prototype.concat=function(t){var e=new l(this.ops.slice());return t.ops.length>0&&(e.push(t.ops[0]),e.ops=e.ops.concat(t.ops.slice(1))),e},l.prototype.diff=function(t,e){if(this.ops===t.ops)return new l;var n=[this,t].map(function(e){return e.map(function(n){if(null!=n.insert)return"string"===typeof n.insert?n.insert:s;throw new Error("diff() called "+(e===t?"on":"with")+" non-document")}).join("")}),i=new l,c=r(n[0],n[1],e),u=a.iterator(this.ops),d=a.iterator(t.ops);return c.forEach(function(t){for(var e=t[1].length;e>0;){var n=0;switch(t[0]){case r.INSERT:n=Math.min(d.peekLength(),e),i.push(d.next(n));break;case r.DELETE:n=Math.min(e,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),e);var s=u.next(n),l=d.next(n);o(s.insert,l.insert)?i.retain(n,a.attributes.diff(s.attributes,l.attributes)):i.push(l).delete(n)}e-=n}}),i.chop()},l.prototype.eachLine=function(t,e){e=e||"\n";for(var n=a.iterator(this.ops),r=new l,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=a.length(i)-n.peekLength(),c="string"===typeof i.insert?i.insert.indexOf(e,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===t(r,n.next(1).attributes||{},o))return;o+=1,r=new l}}r.length()>0&&t(r,{},o)},l.prototype.transform=function(t,e){if(e=!!e,"number"===typeof t)return this.transformPosition(t,e);for(var n=a.iterator(this.ops),r=a.iterator(t.ops),o=new l;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!e&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),s=n.next(i),c=r.next(i);if(s.delete)continue;c.delete?o.push(c):o.retain(i,a.attributes.transform(s.attributes,c.attributes,e))}else o.retain(a.length(n.next()));return o.chop()},l.prototype.transformPosition=function(t,e){e=!!e;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=t;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<t||!e)&&(t+=o),r+=o):t-=Math.min(o,t-r)}return t},t.exports=l},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(t){return"function"===typeof Array.isArray?Array.isArray(t):"[object Array]"===r.call(t)},s=function(t){if(!t||"[object Object]"!==r.call(t))return!1;var e,o=n.call(t,"constructor"),i=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!o&&!i)return!1;for(e in t);return"undefined"===typeof e||n.call(t,e)},l=function(t,e){o&&"__proto__"===e.name?o(t,e.name,{enumerable:!0,configurable:!0,value:e.newValue,writable:!0}):t[e.name]=e.newValue},c=function(t,e){if("__proto__"===e){if(!n.call(t,e))return;if(i)return i(t,e).value}return t[e]};t.exports=function t(){var e,n,r,o,i,u,d=arguments[0],h=1,f=arguments.length,p=!1;for("boolean"===typeof d&&(p=d,d=arguments[1]||{},h=2),(null==d||"object"!==typeof d&&"function"!==typeof d)&&(d={});h<f;++h)if(null!=(e=arguments[h]))for(n in e)r=c(d,n),d!==(o=c(e,n))&&(p&&o&&(s(o)||(i=a(o)))?(i?(i=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},l(d,{name:n,newValue:t(p,u,o)})):"undefined"!==typeof o&&l(d,{name:n,newValue:o}));return d}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BlockEmbed=e.bubbleFormats=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=d(n(3)),a=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t){function e(){return h(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),r(e,[{key:"attach",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(t,e){var n=s.default.query(t,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,e)}},{key:"formatAt",value:function(t,e,n,r){this.format(n,r)}},{key:"insertAt",value:function(t,n,r){if("string"===typeof n&&n.endsWith("\n")){var i=s.default.create(m.blotName);this.parent.insertBefore(i,0===t?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r)}}]),e}(s.default.Embed);g.scope=s.default.Scope.BLOCK_BLOT;var m=function(t){function e(t){h(this,e);var n=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.cache={},n}return p(e,t),r(e,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce(function(t,e){return 0===e.length()?t:t.insert(e.value(),v(e))},new a.default).insert("\n",v(this))),this.cache.delta}},{key:"deleteAt",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),this.cache={}}},{key:"formatAt",value:function(t,n,r,i){n<=0||(s.default.query(r,s.default.Scope.BLOCK)?t+n===this.length()&&this.format(r,i):o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,Math.min(n,this.length()-t-1),r,i),this.cache={})}},{key:"insertAt",value:function(t,n,r){if(null!=r)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(t<this.length()-1||null==this.children.tail?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,Math.min(t,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;i.reduce(function(t,e){return(s=s.split(t,!0)).insertAt(0,e),e.length},t+a.length)}}},{key:"insertBefore",value:function(t,n){var r=this.children.head;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n),r instanceof l.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(t,n){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"moveChildren",this).call(this,t,n),this.cache={}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.cache={}}},{key:"path",value:function(t){return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t,!0)}},{key:"removeChild",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"removeChild",this).call(this,t),this.cache={}}},{key:"split",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===t||t>=this.length()-1)){var r=this.clone();return 0===t?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"split",this).call(this,t,n);return this.cache={},i}}]),e}(s.default.Block);function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==t?e:("function"===typeof t.formats&&(e=(0,i.default)(e,t.formats())),null==t.parent||"scroll"==t.parent.blotName||t.parent.statics.scope!==t.statics.scope?e:v(t.parent,e))}m.blotName="block",m.tagName="P",m.defaultChild="break",m.allowedChildren=[c.default,s.default.Embed,u.default],e.bubbleFormats=v,e.BlockEmbed=g,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.overload=e.expandConfig=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();n(50);var a=m(n(2)),s=m(n(14)),l=m(n(8)),c=m(n(9)),u=m(n(0)),d=n(15),h=m(d),f=m(n(3)),p=m(n(10)),g=m(n(34));function m(t){return t&&t.__esModule?t:{default:t}}function v(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=(0,p.default)("quill"),b=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=x(e,r),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",e);this.options.debug&&t.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new h.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,function(t){t===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())}),this.emitter.on(l.default.events.SCROLL_UPDATE,function(t,e){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;w.call(n,function(){return n.editor.update(null,e,o)},t)});var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(t,null,[{key:"debug",value:function(t){!0===t&&(t="log"),p.default.level(t)}},{key:"find",value:function(t){return t.__quill||u.default.find(t)}},{key:"import",value:function(t){return null==this.imports[t]&&y.error("Cannot import "+t+". Are you sure it was registered?"),this.imports[t]}},{key:"register",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!==typeof t){var o=t.attrName||t.blotName;"string"===typeof o?this.register("formats/"+o,t,e):Object.keys(t).forEach(function(r){n.register(r,t[r],e)})}else null==this.imports[t]||r||y.warn("Overwriting "+t+" with",e),this.imports[t]=e,(t.startsWith("blots/")||t.startsWith("formats/"))&&"abstract"!==e.blotName?u.default.register(e):t.startsWith("modules")&&"function"===typeof e.register&&e.register()}}]),i(t,[{key:"addContainer",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"===typeof t){var n=t;(t=document.createElement("div")).classList.add(n)}return this.container.insertBefore(t,e),t}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(t,e,n){var r=this,i=k(t,e,n),a=o(i,4);return t=a[0],e=a[1],n=a[3],w.call(this,function(){return r.editor.deleteText(t,e)},n,t,-1*e)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(t),this.container.classList.toggle("ql-disabled",!t)}},{key:"focus",value:function(){var t=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=t,this.scrollIntoView()}},{key:"format",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return w.call(this,function(){var r=n.getSelection(!0),o=new a.default;if(null==r)return o;if(u.default.query(t,u.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,v({},t,e));else{if(0===r.length)return n.selection.format(t,e),o;o=n.editor.formatText(r.index,r.length,v({},t,e))}return n.setSelection(r,l.default.sources.SILENT),o},r)}},{key:"formatLine",value:function(t,e,n,r,i){var a,s=this,l=k(t,e,n,r,i),c=o(l,4);return t=c[0],e=c[1],a=c[2],i=c[3],w.call(this,function(){return s.editor.formatLine(t,e,a)},i,t,0)}},{key:"formatText",value:function(t,e,n,r,i){var a,s=this,l=k(t,e,n,r,i),c=o(l,4);return t=c[0],e=c[1],a=c[2],i=c[3],w.call(this,function(){return s.editor.formatText(t,e,a)},i,t,0)}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"===typeof t?this.selection.getBounds(t,e):this.selection.getBounds(t.index,t.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=k(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getContents(t,e)}},{key:"getFormat",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"===typeof t?this.editor.getFormat(t,e):this.editor.getFormat(t.index,t.length)}},{key:"getIndex",value:function(t){return t.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(t){return this.scroll.leaf(t)}},{key:"getLine",value:function(t){return this.scroll.line(t)}},{key:"getLines",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!==typeof t?this.scroll.lines(t.index,t.length):this.scroll.lines(t,e)}},{key:"getModule",value:function(t){return this.theme.modules[t]}},{key:"getSelection",value:function(){return arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-t,n=k(t,e),r=o(n,2);return t=r[0],e=r[1],this.editor.getText(t,e)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(e,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t.sources.API;return w.call(this,function(){return o.editor.insertEmbed(e,n,r)},i,e)}},{key:"insertText",value:function(t,e,n,r,i){var a,s=this,l=k(t,0,n,r,i),c=o(l,4);return t=c[0],a=c[2],i=c[3],w.call(this,function(){return s.editor.insertText(t,e,a)},i,t,e.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(t,e,n){this.clipboard.dangerouslyPasteHTML(t,e,n)}},{key:"removeFormat",value:function(t,e,n){var r=this,i=k(t,e,n),a=o(i,4);return t=a[0],e=a[1],n=a[3],w.call(this,function(){return r.editor.removeFormat(t,e)},n,t)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){t=new a.default(t);var n=e.getLength(),r=e.editor.deleteText(0,n),o=e.editor.applyDelta(t),i=o.ops[o.ops.length-1];return null!=i&&"string"===typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(e.editor.deleteText(e.getLength()-1,1),o.delete(1)),r.compose(o)},n)}},{key:"setSelection",value:function(e,n,r){if(null==e)this.selection.setRange(null,n||t.sources.API);else{var i=k(e,n,r),a=o(i,4);e=a[0],n=a[1],r=a[3],this.selection.setRange(new d.Range(e,n),r),r!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(t);return this.setContents(n,e)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.scroll.update(t);return this.selection.update(t),e}},{key:"updateContents",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return w.call(this,function(){return t=new a.default(t),e.editor.applyDelta(t,n)},n,!0)}}]),t}();function x(t,e){if((e=(0,f.default)(!0,{container:t,modules:{clipboard:!0,keyboard:!0,history:!0}},e)).theme&&e.theme!==b.DEFAULTS.theme){if(e.theme=b.import("themes/"+e.theme),null==e.theme)throw new Error("Invalid theme "+e.theme+". Did you register it?")}else e.theme=g.default;var n=(0,f.default)(!0,{},e.theme.DEFAULTS);[n,e].forEach(function(t){t.modules=t.modules||{},Object.keys(t.modules).forEach(function(e){!0===t.modules[e]&&(t.modules[e]={})})});var r=Object.keys(n.modules).concat(Object.keys(e.modules)).reduce(function(t,e){var n=b.import("modules/"+e);return null==n?y.error("Cannot load "+e+" module. Are you sure you registered it?"):t[e]=n.DEFAULTS||{},t},{});return null!=e.modules&&e.modules.toolbar&&e.modules.toolbar.constructor!==Object&&(e.modules.toolbar={container:e.modules.toolbar}),e=(0,f.default)(!0,{},b.DEFAULTS,{modules:r},n,e),["bounds","container","scrollingContainer"].forEach(function(t){"string"===typeof e[t]&&(e[t]=document.querySelector(e[t]))}),e.modules=Object.keys(e.modules).reduce(function(t,n){return e.modules[n]&&(t[n]=e.modules[n]),t},{}),e}function w(t,e,n,r){if(this.options.strict&&!this.isEnabled()&&e===l.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,s=t();if(null!=o&&(!0===n&&(n=o.index),null==r?o=A(o,s,e):0!==r&&(o=A(o,n,r,e)),this.setSelection(o,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,i,e];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),e!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function k(t,e,n,o,i){var a={};return"number"===typeof t.index&&"number"===typeof t.length?"number"!==typeof e?(i=o,o=n,n=e,e=t.length,t=t.index):(e=t.length,t=t.index):"number"!==typeof e&&(i=o,o=n,n=e,e=0),"object"===("undefined"===typeof n?"undefined":r(n))?(a=n,i=o):"string"===typeof n&&(null!=o?a[n]=o:i=n),[t,e,a,i=i||l.default.sources.API]}function A(t,e,n,r){if(null==t)return null;var i=void 0,s=void 0;if(e instanceof a.default){var c=[t.index,t.index+t.length].map(function(t){return e.transformPosition(t,r!==l.default.sources.USER)}),u=o(c,2);i=u[0],s=u[1]}else{var h=[t.index,t.index+t.length].map(function(t){return t<e||t===e&&r===l.default.sources.USER?t:n>=0?t+n:Math.max(e,t+n)}),f=o(h,2);i=f[0],s=f[1]}return new d.Range(i,s-i)}b.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},b.events=l.default.events,b.sources=l.default.sources,b.version="1.3.7",b.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":g.default},e.expandConfig=x,e.overload=k,e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(7)),a=s(n(0));function s(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"formatAt",value:function(t,n,r,i){if(e.compare(this.statics.blotName,r)<0&&a.default.query(r,a.default.Scope.BLOT)){var s=this.isolate(t,n);i&&s.wrap(r,i)}else o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,i)}},{key:"optimize",value:function(t){if(o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.parent instanceof e&&e.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(t,n){var r=e.order.indexOf(t),o=e.order.indexOf(n);return r>=0||o>=0?r-o:t===n?0:t<n?-1:1}}]),e}(a.default.Inline);l.allowedChildren=[l,a.default.Embed,i.default],l.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(0),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default.Text);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=a(n(54));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach(function(t){document.addEventListener(t,function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach(function(t){var n;t.__quill&&t.__quill.emitter&&(n=t.__quill.emitter).handleDOM.apply(n,e)})})});var l=function(t){function e(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var t=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return t.listeners={},t.on("error",s.error),t}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"emit",value:function(){s.log.apply(s,arguments),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];(this.listeners[t.type]||[]).forEach(function(e){var r=e.node,o=e.handler;(t.target===r||r.contains(t.target))&&o.apply(void 0,[t].concat(n))})}},{key:"listenDOM",value:function(t,e,n){this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push({node:e,handler:n})}}]),e}(i.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},e.default=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n};r.DEFAULTS={},e.default=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(t){if(r.indexOf(t)<=r.indexOf(o)){for(var e,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(e=console)[t].apply(e,i)}}function a(t){return r.reduce(function(e,n){return e[n]=i.bind(console,n,t),e},{})}i.level=a.level=function(t){o=t},e.default=a},function(t,e,n){var r=Array.prototype.slice,o=n(52),i=n(53),a=t.exports=function(t,e,n){return n||(n={}),t===e||(t instanceof Date&&e instanceof Date?t.getTime()===e.getTime():!t||!e||"object"!=typeof t&&"object"!=typeof e?n.strict?t===e:t==e:function(t,e,n){var c,u;if(s(t)||s(e))return!1;if(t.prototype!==e.prototype)return!1;if(i(t))return!!i(e)&&(t=r.call(t),e=r.call(e),a(t,e,n));if(l(t)){if(!l(e))return!1;if(t.length!==e.length)return!1;for(c=0;c<t.length;c++)if(t[c]!==e[c])return!1;return!0}try{var d=o(t),h=o(e)}catch(f){return!1}if(d.length!=h.length)return!1;for(d.sort(),h.sort(),c=d.length-1;c>=0;c--)if(d[c]!=h[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(t[u],e[u],n))return!1;return typeof t===typeof e}(t,e,n))};function s(t){return null===t||void 0===t}function l(t){return!(!t||"object"!==typeof t||"number"!==typeof t.length)&&"function"===typeof t.copy&&"function"===typeof t.slice&&!(t.length>0&&"number"!==typeof t[0])}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t,e,n){void 0===n&&(n={}),this.attrName=t,this.keyName=e;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return t.keys=function(t){return[].map.call(t.attributes,function(t){return t.name})},t.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.setAttribute(this.keyName,e),!0)},t.prototype.canAdd=function(t,e){return null!=r.query(t,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"===typeof e?this.whitelist.indexOf(e.replace(/["']/g,""))>-1:this.whitelist.indexOf(e)>-1))},t.prototype.remove=function(t){t.removeAttribute(this.keyName)},t.prototype.value=function(t){var e=t.getAttribute(this.keyName);return this.canAdd(t,e)&&e?e:""},t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Code=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=function(t){function e(){return h(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),e}(c.default);g.blotName="code",g.tagName="CODE";var m=function(t){function e(){return h(this,e),f(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return p(e,t),o(e,[{key:"delta",value:function(){var t=this,e=this.domNode.textContent;return e.endsWith("\n")&&(e=e.slice(0,-1)),e.split("\n").reduce(function(e,n){return e.insert(n).insert("\n",t.formats())},new a.default)}},{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=r(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}},{key:"formatAt",value:function(t,n,r,o){if(0!==n&&null!=s.default.query(r,s.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(t);if(!(i<0||i>=t+n)){var a=this.newlineIndex(t,!0)+1,l=i-a+1,c=this.isolate(a,l),u=c.next;c.format(r,o),u instanceof e&&u.formatAt(0,t-a+n-l,r,o)}}}},{key:"insertAt",value:function(t,e,n){if(null==n){var o=this.descendant(u.default,t),i=r(o,2),a=i[0],s=i[1];a.insertAt(s,e)}}},{key:"length",value:function(){var t=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?t:t+1}},{key:"newlineIndex",value:function(t){if(arguments.length>1&&void 0!==arguments[1]&&arguments[1])return this.domNode.textContent.slice(0,t).lastIndexOf("\n");var e=this.domNode.textContent.slice(t).indexOf("\n");return e>-1?t+e:-1}},{key:"optimize",value:function(t){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(t),n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t),[].slice.call(this.domNode.querySelectorAll("*")).forEach(function(t){var e=s.default.find(t);null==e?t.parentNode.removeChild(t):e instanceof s.default.Embed?e.remove():e.unwrap()})}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),e}(l.default);m.blotName="code-block",m.tagName="PRE",m.TAB=" ",e.Code=g,e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=v(n(2)),s=v(n(20)),l=v(n(0)),c=v(n(13)),u=v(n(24)),d=n(4),h=v(d),f=v(n(16)),p=v(n(21)),g=v(n(11)),m=v(n(3));function v(t){return t&&t.__esModule?t:{default:t}}var y=/^[ -~]*$/,b=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scroll=e,this.delta=this.getDelta()}return i(t,[{key:"applyDelta",value:function(t){var e=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(t=function(t){return t.reduce(function(t,e){if(1===e.insert){var n=(0,p.default)(e.attributes);return delete n.image,t.insert({image:e.attributes.image},n)}if(null==e.attributes||!0!==e.attributes.list&&!0!==e.attributes.bullet||((e=(0,p.default)(e)).attributes.list?e.attributes.list="ordered":(e.attributes.list="bullet",delete e.attributes.bullet)),"string"===typeof e.insert){var r=e.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return t.insert(r,e.attributes)}return t.push(e)},new a.default)}(t)).reduce(function(t,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"===typeof a.insert){var f=a.insert;f.endsWith("\n")&&n&&(n=!1,f=f.slice(0,-1)),t>=i&&!f.endsWith("\n")&&(n=!0),e.scroll.insertAt(t,f);var p=e.scroll.line(t),g=o(p,2),v=g[0],y=g[1],b=(0,m.default)({},(0,d.bubbleFormats)(v));if(v instanceof h.default){var x=v.descendant(l.default.Leaf,y),w=o(x,1)[0];b=(0,m.default)(b,(0,d.bubbleFormats)(w))}u=s.default.attributes.diff(b,u)||{}}else if("object"===r(a.insert)){var k=Object.keys(a.insert)[0];if(null==k)return t;e.scroll.insertAt(t,k,a.insert[k])}i+=c}return Object.keys(u).forEach(function(n){e.scroll.formatAt(t,c,n,u[n])}),t+c},0),t.reduce(function(t,n){return"number"===typeof n.delete?(e.scroll.deleteAt(t,n.delete),t):t+(n.retain||n.insert.length||1)},0),this.scroll.batchEnd(),this.update(t)}},{key:"deleteText",value:function(t,e){return this.scroll.deleteAt(t,e),this.update((new a.default).retain(t).delete(e))}},{key:"formatLine",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach(function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(t,Math.max(e,1)),a=e;i.forEach(function(e){var i=e.length();if(e instanceof c.default){var s=t-e.offset(n.scroll),l=e.newlineIndex(s+a)-s+1;e.formatAt(s,l,o,r[o])}else e.format(o,r[o]);a-=i})}}),this.scroll.optimize(),this.update((new a.default).retain(t).retain(e,(0,p.default)(r)))}},{key:"formatText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e,o,r[o])}),this.update((new a.default).retain(t).retain(e,(0,p.default)(r)))}},{key:"getContents",value:function(t,e){return this.delta.slice(t,t+e)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce(function(t,e){return t.concat(e.delta())},new a.default)}},{key:"getFormat",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===e?this.scroll.path(t).forEach(function(t){var e=o(t,1)[0];e instanceof h.default?n.push(e):e instanceof l.default.Leaf&&r.push(e)}):(n=this.scroll.lines(t,e),r=this.scroll.descendants(l.default.Leaf,t,e));var i=[n,r].map(function(t){if(0===t.length)return{};for(var e=(0,d.bubbleFormats)(t.shift());Object.keys(e).length>0;){var n=t.shift();if(null==n)return e;e=x((0,d.bubbleFormats)(n),e)}return e});return m.default.apply(m.default,i)}},{key:"getText",value:function(t,e){return this.getContents(t,e).filter(function(t){return"string"===typeof t.insert}).map(function(t){return t.insert}).join("")}},{key:"insertEmbed",value:function(t,e,n){return this.scroll.insertAt(t,e,n),this.update((new a.default).retain(t).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},e,n)))}},{key:"insertText",value:function(t,e){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e=e.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(t,e),Object.keys(r).forEach(function(o){n.scroll.formatAt(t,e.length,o,r[o])}),this.update((new a.default).retain(t).insert(e,(0,p.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var t=this.scroll.children.head;return t.statics.blotName===h.default.blotName&&!(t.children.length>1)&&t.children.head instanceof f.default}},{key:"removeFormat",value:function(t,e){var n=this.getText(t,e),r=this.scroll.line(t+e),i=o(r,2),s=i[0],l=i[1],u=0,d=new a.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var h=this.getContents(t,e+u).diff((new a.default).insert(n).concat(d)),f=(new a.default).retain(t).concat(h);return this.applyDelta(f)}},{key:"update",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===e.length&&"characterData"===e[0].type&&e[0].target.data.match(y)&&l.default.find(e[0].target)){var o=l.default.find(e[0].target),i=(0,d.bubbleFormats)(o),s=o.offset(this.scroll),c=e[0].oldValue.replace(u.default.CONTENTS,""),h=(new a.default).insert(c),f=(new a.default).insert(o.value());t=(new a.default).retain(s).concat(h.diff(f,n)).reduce(function(t,e){return e.insert?t.insert(e.insert,i):t.push(e)},new a.default),this.delta=r.compose(t)}else this.delta=this.getDelta(),t&&(0,g.default)(r.compose(t),this.delta)||(t=r.diff(this.delta,n));return t}}]),t}();function x(t,e){return Object.keys(e).reduce(function(n,r){return null==t[r]||(e[r]===t[r]?n[r]=e[r]:Array.isArray(e[r])?e[r].indexOf(t[r])<0&&(n[r]=e[r].concat([t[r]])):n[r]=[e[r],t[r]]),n},{})}e.default=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Range=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=c(n(0)),a=c(n(21)),s=c(n(11)),l=c(n(8));function c(t){return t&&t.__esModule?t:{default:t}}function u(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var h=(0,c(n(10)).default)("quill:selection"),f=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,t),this.index=e,this.length=n},p=function(){function t(e,n){var r=this;d(this,t),this.emitter=n,this.scroll=e,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new f(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,function(){r.mouseDown||setTimeout(r.update.bind(r,l.default.sources.USER),1)}),this.emitter.on(l.default.events.EDITOR_CHANGE,function(t,e){t===l.default.events.TEXT_CHANGE&&e.length()>0&&r.update(l.default.sources.SILENT)}),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,function(){if(r.hasFocus()){var t=r.getNativeRange();null!=t&&t.start.node!==r.cursor.textNode&&r.emitter.once(l.default.events.SCROLL_UPDATE,function(){try{r.setNativeRange(t.start.node,t.start.offset,t.end.node,t.end.offset)}catch(e){}})}}),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,function(t,e){if(e.range){var n=e.range,o=n.startNode,i=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(o,i,a,s)}}),this.update(l.default.sources.SILENT)}return o(t,[{key:"handleComposition",value:function(){var t=this;this.root.addEventListener("compositionstart",function(){t.composing=!0}),this.root.addEventListener("compositionend",function(){if(t.composing=!1,t.cursor.parent){var e=t.cursor.restore();if(!e)return;setTimeout(function(){t.setNativeRange(e.startNode,e.startOffset,e.endNode,e.endOffset)},1)}})}},{key:"handleDragging",value:function(){var t=this;this.emitter.listenDOM("mousedown",document.body,function(){t.mouseDown=!0}),this.emitter.listenDOM("mouseup",document.body,function(){t.mouseDown=!1,t.update(l.default.sources.USER)})}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(t,e){if(null==this.scroll.whitelist||this.scroll.whitelist[t]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(t,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(t,e),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();t=Math.min(t,n-1),e=Math.min(t+e,n-1)-t;var o=void 0,i=this.scroll.leaf(t),a=r(i,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);o=u[0],l=u[1];var d=document.createRange();if(e>0){d.setStart(o,l);var h=this.scroll.leaf(t+e),f=r(h,2);if(s=f[0],l=f[1],null==s)return null;var p=s.position(l,!0),g=r(p,2);return o=g[0],l=g[1],d.setEnd(o,l),d.getBoundingClientRect()}var m="left",v=void 0;return o instanceof Text?(l<o.data.length?(d.setStart(o,l),d.setEnd(o,l+1)):(d.setStart(o,l-1),d.setEnd(o,l),m="right"),v=d.getBoundingClientRect()):(v=s.domNode.getBoundingClientRect(),l>0&&(m="right")),{bottom:v.top+v.height,height:v.height,left:v[m],right:v[m],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var t=document.getSelection();if(null==t||t.rangeCount<=0)return null;var e=t.getRangeAt(0);if(null==e)return null;var n=this.normalizeNative(e);return h.info("getNativeRange",n),n}},{key:"getRange",value:function(){var t=this.getNativeRange();return null==t?[null,null]:[this.normalizedToRange(t),t]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(t){var e=this,n=[[t.start.node,t.start.offset]];t.native.collapsed||n.push([t.end.node,t.end.offset]);var o=n.map(function(t){var n=r(t,2),o=n[0],a=n[1],s=i.default.find(o,!0),l=s.offset(e.scroll);return 0===a?l:s instanceof i.default.Container?l+s.length():l+s.index(o,a)}),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new f(s,a-s)}},{key:"normalizeNative",value:function(t){if(!g(this.root,t.startContainer)||!t.collapsed&&!g(this.root,t.endContainer))return null;var e={start:{node:t.startContainer,offset:t.startOffset},end:{node:t.endContainer,offset:t.endOffset},native:t};return[e.start,e.end].forEach(function(t){for(var e=t.node,n=t.offset;!(e instanceof Text)&&e.childNodes.length>0;)if(e.childNodes.length>n)e=e.childNodes[n],n=0;else{if(e.childNodes.length!==n)break;n=(e=e.lastChild)instanceof Text?e.data.length:e.childNodes.length+1}t.node=e,t.offset=n}),e}},{key:"rangeToNative",value:function(t){var e=this,n=t.collapsed?[t.index]:[t.index,t.index+t.length],o=[],i=this.scroll.length();return n.forEach(function(t,n){t=Math.min(i-1,t);var a,s=e.scroll.leaf(t),l=r(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),h=r(d,2);a=h[0],u=h[1],o.push(a,u)}),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(t){var e=this.lastRange;if(null!=e){var n=this.getBounds(e.index,e.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(e.index,o)),a=r(i,1)[0],s=a;if(e.length>0){var l=this.scroll.line(Math.min(e.index+e.length,o));s=r(l,1)[0]}if(null!=a&&null!=s){var c=t.getBoundingClientRect();n.top<c.top?t.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(t.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(h.info("setNativeRange",t,e,n,r),null==t||null!=this.root.parentNode&&null!=t.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=t){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||t!==a.startContainer||e!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==t.tagName&&(e=[].indexOf.call(t.parentNode.childNodes,t),t=t.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(t,e),s.setEnd(n,r),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"===typeof e&&(n=e,e=!1),h.info("setRange",t),null!=t){var r=this.rangeToNative(t);this.setNativeRange.apply(this,u(r).concat([e]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,e=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],c=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(e,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,h=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(e),t];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(h)),t!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,h)}}}]),t}();function g(t,e){try{e.parentNode}catch(n){return!1}return e instanceof Text&&(e=e.parentNode),t.contains(e)}e.Range=f,e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"insertInto",value:function(t,n){0===t.children.length?i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertInto",this).call(this,t,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default.Embed);s.blotName="break",s.tagName="BR",e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(44),i=n(30),a=n(1),s=function(t){function e(e){var n=t.call(this,e)||this;return n.build(),n}return r(e,t),e.prototype.appendChild=function(t){this.insertBefore(t)},e.prototype.attach=function(){t.prototype.attach.call(this),this.children.forEach(function(t){t.attach()})},e.prototype.build=function(){var t=this;this.children=new o.default,[].slice.call(this.domNode.childNodes).reverse().forEach(function(e){try{var n=l(e);t.insertBefore(n,t.children.head||void 0)}catch(r){if(r instanceof a.ParchmentError)return;throw r}})},e.prototype.deleteAt=function(t,e){if(0===t&&e===this.length())return this.remove();this.children.forEachAt(t,e,function(t,e,n){t.deleteAt(e,n)})},e.prototype.descendant=function(t,n){var r=this.children.find(n),o=r[0],i=r[1];return null==t.blotName&&t(o)||null!=t.blotName&&o instanceof t?[o,i]:o instanceof e?o.descendant(t,i):[null,-1]},e.prototype.descendants=function(t,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,function(n,r,a){(null==t.blotName&&t(n)||null!=t.blotName&&n instanceof t)&&o.push(n),n instanceof e&&(o=o.concat(n.descendants(t,r,i))),i-=a}),o},e.prototype.detach=function(){this.children.forEach(function(t){t.detach()}),t.prototype.detach.call(this)},e.prototype.formatAt=function(t,e,n,r){this.children.forEachAt(t,e,function(t,e,o){t.formatAt(e,o,n,r)})},e.prototype.insertAt=function(t,e,n){var r=this.children.find(t),o=r[0],i=r[1];if(o)o.insertAt(i,e,n);else{var s=null==n?a.create("text",e):a.create(e,n);this.appendChild(s)}},e.prototype.insertBefore=function(t,e){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some(function(e){return t instanceof e}))throw new a.ParchmentError("Cannot insert "+t.statics.blotName+" into "+this.statics.blotName);t.insertInto(this,e)},e.prototype.length=function(){return this.children.reduce(function(t,e){return t+e.length()},0)},e.prototype.moveChildren=function(t,e){this.children.forEach(function(n){t.insertBefore(n,e)})},e.prototype.optimize=function(e){if(t.prototype.optimize.call(this,e),0===this.children.length)if(null!=this.statics.defaultChild){var n=a.create(this.statics.defaultChild);this.appendChild(n),n.optimize(e)}else this.remove()},e.prototype.path=function(t,n){void 0===n&&(n=!1);var r=this.children.find(t,n),o=r[0],i=r[1],a=[[this,t]];return o instanceof e?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},e.prototype.removeChild=function(t){this.children.remove(t)},e.prototype.replace=function(n){n instanceof e&&n.moveChildren(this),t.prototype.replace.call(this,n)},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(t,this.length(),function(t,r,o){t=t.split(r,e),n.appendChild(t)}),n},e.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},e.prototype.update=function(t,e){var n=this,r=[],o=[];t.forEach(function(t){t.target===n.domNode&&"childList"===t.type&&(r.push.apply(r,t.addedNodes),o.push.apply(o,t.removedNodes))}),o.forEach(function(t){if(!(null!=t.parentNode&&"IFRAME"!==t.tagName&&document.body.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var e=a.find(t);null!=e&&(null!=e.domNode.parentNode&&e.domNode.parentNode!==n.domNode||e.detach())}}),r.filter(function(t){return t.parentNode==n.domNode}).sort(function(t,e){return t===e?0:t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1}).forEach(function(t){var e=null;null!=t.nextSibling&&(e=a.find(t.nextSibling));var r=l(t);r.next==e&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,e||void 0))})},e}(i.default);function l(t){var e=a.find(t);if(null==e)try{e=a.create(t)}catch(n){e=a.create(a.Scope.INLINE),[].slice.call(t.childNodes).forEach(function(t){e.domNode.appendChild(t)}),t.parentNode&&t.parentNode.replaceChild(e.domNode,t),e.attach()}return e}e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(12),i=n(31),a=n(17),s=n(1),l=function(t){function e(e){var n=t.call(this,e)||this;return n.attributes=new i.default(n.domNode),n}return r(e,t),e.formats=function(t){return"string"===typeof this.tagName||(Array.isArray(this.tagName)?t.tagName.toLowerCase():void 0)},e.prototype.format=function(t,e){var n=s.query(t);n instanceof o.default?this.attributes.attribute(n,e):e&&(null==n||t===this.statics.blotName&&this.formats()[t]===e||this.replaceWith(t,e))},e.prototype.formats=function(){var t=this.attributes.values(),e=this.statics.formats(this.domNode);return null!=e&&(t[this.statics.blotName]=e),t},e.prototype.replaceWith=function(e,n){var r=t.prototype.replaceWith.call(this,e,n);return this.attributes.copy(r),r},e.prototype.update=function(e,n){var r=this;t.prototype.update.call(this,e,n),e.some(function(t){return t.target===r.domNode&&"attributes"===t.type})&&this.attributes.build()},e.prototype.wrap=function(n,r){var o=t.prototype.wrap.call(this,n,r);return o instanceof e&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},e}(a.default);e.default=l},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(30),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.value=function(t){return!0},e.prototype.index=function(t,e){return this.domNode===t||this.domNode.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(e,1):-1},e.prototype.position=function(t,e){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return t>0&&(n+=1),[this.parent.domNode,n]},e.prototype.value=function(){var t;return(t={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,t},e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,n){var r=n(11),o=n(3),i={attributes:{compose:function(t,e,n){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var r=o(!0,{},e);for(var i in n||(r=Object.keys(r).reduce(function(t,e){return null!=r[e]&&(t[e]=r[e]),t},{})),t)void 0!==t[i]&&void 0===e[i]&&(r[i]=t[i]);return Object.keys(r).length>0?r:void 0},diff:function(t,e){"object"!==typeof t&&(t={}),"object"!==typeof e&&(e={});var n=Object.keys(t).concat(Object.keys(e)).reduce(function(n,o){return r(t[o],e[o])||(n[o]=void 0===e[o]?null:e[o]),n},{});return Object.keys(n).length>0?n:void 0},transform:function(t,e,n){if("object"!==typeof t)return e;if("object"===typeof e){if(!n)return e;var r=Object.keys(e).reduce(function(n,r){return void 0===t[r]&&(n[r]=e[r]),n},{});return Object.keys(r).length>0?r:void 0}}},iterator:function(t){return new a(t)},length:function(t){return"number"===typeof t.delete?t.delete:"number"===typeof t.retain?t.retain:"string"===typeof t.insert?t.insert.length:1}};function a(t){this.ops=t,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(t){t||(t=1/0);var e=this.ops[this.index];if(e){var n=this.offset,r=i.length(e);if(t>=r-n?(t=r-n,this.index+=1,this.offset=0):this.offset+=t,"number"===typeof e.delete)return{delete:t};var o={};return e.attributes&&(o.attributes=e.attributes),"number"===typeof e.retain?o.retain=t:"string"===typeof e.insert?o.insert=e.insert.substr(n,t):o.insert=e.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"===typeof this.ops[this.index].delete?"delete":"number"===typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var t=this.offset,e=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=t,this.index=e,[n].concat(r)}return[]},t.exports=i},function(t,e){var n=function(){"use strict";function t(t,e){return null!=e&&t instanceof e}var e,n,r;try{e=Map}catch(s){e=function(){}}try{n=Set}catch(s){n=function(){}}try{r=Promise}catch(s){r=function(){}}function o(i,s,l,c,u){"object"===typeof s&&(l=s.depth,c=s.prototype,u=s.includeNonEnumerable,s=s.circular);var d=[],h=[],f="undefined"!=typeof Buffer;return"undefined"==typeof s&&(s=!0),"undefined"==typeof l&&(l=1/0),function i(l,p){if(null===l)return null;if(0===p)return l;var g,m;if("object"!=typeof l)return l;if(t(l,e))g=new e;else if(t(l,n))g=new n;else if(t(l,r))g=new r(function(t,e){l.then(function(e){t(i(e,p-1))},function(t){e(i(t,p-1))})});else if(o.__isArray(l))g=[];else if(o.__isRegExp(l))g=new RegExp(l.source,a(l)),l.lastIndex&&(g.lastIndex=l.lastIndex);else if(o.__isDate(l))g=new Date(l.getTime());else{if(f&&Buffer.isBuffer(l))return g=Buffer.allocUnsafe?Buffer.allocUnsafe(l.length):new Buffer(l.length),l.copy(g),g;t(l,Error)?g=Object.create(l):"undefined"==typeof c?(m=Object.getPrototypeOf(l),g=Object.create(m)):(g=Object.create(c),m=c)}if(s){var v=d.indexOf(l);if(-1!=v)return h[v];d.push(l),h.push(g)}for(var y in t(l,e)&&l.forEach(function(t,e){var n=i(e,p-1),r=i(t,p-1);g.set(n,r)}),t(l,n)&&l.forEach(function(t){var e=i(t,p-1);g.add(e)}),l){var b;m&&(b=Object.getOwnPropertyDescriptor(m,y)),b&&null==b.set||(g[y]=i(l[y],p-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(l);for(y=0;y<x.length;y++){var w=x[y];(!(A=Object.getOwnPropertyDescriptor(l,w))||A.enumerable||u)&&(g[w]=i(l[w],p-1),A.enumerable||Object.defineProperty(g,w,{enumerable:!1}))}}if(u){var k=Object.getOwnPropertyNames(l);for(y=0;y<k.length;y++){var A,_=k[y];(A=Object.getOwnPropertyDescriptor(l,_))&&A.enumerable||(g[_]=i(l[_],p-1),Object.defineProperty(g,_,{enumerable:!1}))}}return g}(i,l)}function i(t){return Object.prototype.toString.call(t)}function a(t){var e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),e}return o.clonePrototype=function(t){if(null===t)return null;var e=function(){};return e.prototype=t,new e},o.__objToStr=i,o.__isDate=function(t){return"object"===typeof t&&"[object Date]"===i(t)},o.__isArray=function(t){return"object"===typeof t&&"[object Array]"===i(t)},o.__isRegExp=function(t){return"object"===typeof t&&"[object RegExp]"===i(t)},o.__getRegExpFlags=a,o}();"object"===typeof t&&t.exports&&(t.exports=n)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=f(n(0)),s=f(n(8)),l=n(4),c=f(l),u=f(n(16)),d=f(n(13)),h=f(n(25));function f(t){return t&&t.__esModule?t:{default:t}}function p(t){return t instanceof c.default||t instanceof l.BlockEmbed}var g=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce(function(t,e){return t[e]=!0,t},{})),r.domNode.addEventListener("DOMNodeInserted",function(){}),r.optimize(),r.enable(),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(t,n){var o=this.line(t),a=r(o,2),s=a[0],c=a[1],h=this.line(t+n),f=r(h,1)[0];if(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"deleteAt",this).call(this,t,n),null!=f&&s!==f&&c>0){if(s instanceof l.BlockEmbed||f instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var p=s.newlineIndex(s.length(),!0);if(p>-1&&(s=s.split(p+1))===f)return void this.optimize()}else if(f instanceof d.default){var g=f.newlineIndex(0);g>-1&&f.split(g+1)}var m=f.children.head instanceof u.default?null:f.children.head;s.moveChildren(f,m),s.remove()}this.optimize()}},{key:"enable",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",t)}},{key:"formatAt",value:function(t,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"formatAt",this).call(this,t,n,r,o),this.optimize())}},{key:"insertAt",value:function(t,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(t>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var s=a.default.create(n,r);this.appendChild(s)}else i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertAt",this).call(this,t,n,r);this.optimize()}}},{key:"insertBefore",value:function(t,n){if(t.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(t),t=r}i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n)}},{key:"leaf",value:function(t){return this.path(t).pop()||[null,-1]}},{key:"line",value:function(t){return t===this.length()?this.line(t-1):this.descendant(p,t)}},{key:"lines",value:function(){return function t(e,n,r){var o=[],i=r;return e.children.forEachAt(n,r,function(e,n,r){p(e)?o.push(e):e instanceof a.default.Container&&(o=o.concat(t(e,n,i))),i-=r}),o}(this,arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE)}},{key:"optimize",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t,n),t.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,t,n))}},{key:"path",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"path",this).call(this,t).slice(1)}},{key:"update",value:function(t){if(!0!==this.batch){var n=s.default.sources.USER;"string"===typeof t&&(n=t),Array.isArray(t)||(t=this.observer.takeRecords()),t.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,t),i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"update",this).call(this,t.concat([])),t.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,t)}}}]),e}(a.default.Scroll);g.blotName="scroll",g.className="ql-editor",g.tagName="DIV",g.defaultChild="block",g.allowedChildren=[c.default,l.BlockEmbed,h.default],e.default=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SHORTKEY=e.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=g(n(21)),s=g(n(11)),l=g(n(3)),c=g(n(2)),u=g(n(20)),d=g(n(0)),h=g(n(5)),f=g(n(10)),p=g(n(9));function g(t){return t&&t.__esModule?t:{default:t}}function m(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var v=(0,f.default)("quill:keyboard"),y=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",b=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.bindings={},Object.keys(r.options.bindings).forEach(function(e){("list autofill"!==e||null==t.scroll.whitelist||t.scroll.whitelist.list)&&r.options.bindings[e]&&r.addBinding(r.options.bindings[e])}),r.addBinding({key:e.keys.ENTER,shiftKey:null},_),r.addBinding({key:e.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},function(){}),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0},k)):(r.addBinding({key:e.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},w),r.addBinding({key:e.keys.DELETE},{collapsed:!0,suffix:/^.?$/},k)),r.addBinding({key:e.keys.BACKSPACE},{collapsed:!1},A),r.addBinding({key:e.keys.DELETE},{collapsed:!1},A),r.addBinding({key:e.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},w),r.listen(),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,null,[{key:"match",value:function(t,e){return e=E(e),!["altKey","ctrlKey","metaKey","shiftKey"].some(function(n){return!!e[n]!==t[n]&&null!==e[n]})&&e.key===(t.which||t.keyCode)}}]),i(e,[{key:"addBinding",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=E(t);if(null==r||null==r.key)return v.warn("Attempted to add invalid keyboard binding",r);"function"===typeof e&&(e={handler:e}),"function"===typeof n&&(n={handler:n}),r=(0,l.default)(r,e,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var t=this;this.quill.root.addEventListener("keydown",function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(t.bindings[i]||[]).filter(function(t){return e.match(n,t)});if(0!==a.length){var l=t.quill.getSelection();if(null!=l&&t.quill.hasFocus()){var c=t.quill.getLine(l.index),u=o(c,2),h=u[0],f=u[1],p=t.quill.getLeaf(l.index),g=o(p,2),m=g[0],v=g[1],y=0===l.length?[m,v]:t.quill.getLeaf(l.index+l.length),b=o(y,2),x=b[0],w=b[1],k=m instanceof d.default.Text?m.value().slice(0,v):"",A=x instanceof d.default.Text?x.value().slice(w):"",_={collapsed:0===l.length,empty:0===l.length&&h.length()<=1,format:t.quill.getFormat(l),offset:f,prefix:k,suffix:A};a.some(function(e){if(null!=e.collapsed&&e.collapsed!==_.collapsed)return!1;if(null!=e.empty&&e.empty!==_.empty)return!1;if(null!=e.offset&&e.offset!==_.offset)return!1;if(Array.isArray(e.format)){if(e.format.every(function(t){return null==_.format[t]}))return!1}else if("object"===r(e.format)&&!Object.keys(e.format).every(function(t){return!0===e.format[t]?null!=_.format[t]:!1===e.format[t]?null==_.format[t]:(0,s.default)(e.format[t],_.format[t])}))return!1;return!(null!=e.prefix&&!e.prefix.test(_.prefix))&&!(null!=e.suffix&&!e.suffix.test(_.suffix))&&!0!==e.handler.call(t,l,_)})&&n.preventDefault()}}}})}}]),e}(p.default);function x(t,e){var n,r=t===b.keys.LEFT?"prefix":"suffix";return m(n={key:t,shiftKey:e,altKey:null},r,/^$/),m(n,"handler",function(n){var r=n.index;t===b.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof d.default.Embed)||(t===b.keys.LEFT?e?this.quill.setSelection(n.index-1,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index-1,h.default.sources.USER):e?this.quill.setSelection(n.index,n.length+1,h.default.sources.USER):this.quill.setSelection(n.index+n.length+1,h.default.sources.USER),!1)}),n}function w(t,e){if(!(0===t.index||this.quill.getLength()<=1)){var n=this.quill.getLine(t.index),r=o(n,1)[0],i={};if(0===e.offset){var a=this.quill.getLine(t.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var l=r.formats(),c=this.quill.getFormat(t.index-1,1);i=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(e.prefix)?2:1;this.quill.deleteText(t.index-d,d,h.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(t.index-d,d,i,h.default.sources.USER),this.quill.focus()}}function k(t,e){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(e.suffix)?2:1;if(!(t.index>=this.quill.getLength()-n)){var r={},i=0,a=this.quill.getLine(t.index),s=o(a,1)[0];if(e.offset>=s.length()-1){var l=this.quill.getLine(t.index+1),c=o(l,1)[0];if(c){var d=s.formats(),f=this.quill.getFormat(t.index,1);r=u.default.attributes.diff(d,f)||{},i=c.length()}}this.quill.deleteText(t.index,n,h.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(t.index+i-1,n,r,h.default.sources.USER)}}function A(t){var e=this.quill.getLines(t),n={};if(e.length>1){var r=e[0].formats(),o=e[e.length-1].formats();n=u.default.attributes.diff(o,r)||{}}this.quill.deleteText(t,h.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(t.index,1,n,h.default.sources.USER),this.quill.setSelection(t.index,h.default.sources.SILENT),this.quill.focus()}function _(t,e){var n=this;t.length>0&&this.quill.scroll.deleteAt(t.index,t.length);var r=Object.keys(e.format).reduce(function(t,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(e.format[n])&&(t[n]=e.format[n]),t},{});this.quill.insertText(t.index,"\n",r,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.focus(),Object.keys(e.format).forEach(function(t){null==r[t]&&(Array.isArray(e.format[t])||"link"!==t&&n.quill.format(t,e.format[t],h.default.sources.USER))})}function S(t){return{key:b.keys.TAB,shiftKey:!t,format:{"code-block":!0},handler:function(e){var n=d.default.query("code-block"),r=e.index,i=e.length,a=this.quill.scroll.descendant(n,r),s=o(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),f=l.newlineIndex(c,!0)+1,p=l.newlineIndex(u+c+i),g=l.domNode.textContent.slice(f,p).split("\n");c=0,g.forEach(function(e,o){t?(l.insertAt(f+c,n.TAB),c+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):e.startsWith(n.TAB)&&(l.deleteAt(f+c,n.TAB.length),c-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),c+=e.length+1}),this.quill.update(h.default.sources.USER),this.quill.setSelection(r,i,h.default.sources.SILENT)}}}}function C(t){return{key:t[0].toUpperCase(),shortKey:!0,handler:function(e,n){this.quill.format(t,!n.format[t],h.default.sources.USER)}}}function E(t){if("string"===typeof t||"number"===typeof t)return E({key:t});if("object"===("undefined"===typeof t?"undefined":r(t))&&(t=(0,a.default)(t,!1)),"string"===typeof t.key)if(null!=b.keys[t.key.toUpperCase()])t.key=b.keys[t.key.toUpperCase()];else{if(1!==t.key.length)return null;t.key=t.key.toUpperCase().charCodeAt(0)}return t.shortKey&&(t[y]=t.shortKey,delete t.shortKey),t}b.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},b.DEFAULTS={bindings:{bold:C("bold"),italic:C("italic"),underline:C("underline"),indent:{key:b.keys.TAB,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","+1",h.default.sources.USER)}},outdent:{key:b.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(t,e){if(e.collapsed&&0!==e.offset)return!0;this.quill.format("indent","-1",h.default.sources.USER)}},"outdent backspace":{key:b.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(t,e){null!=e.format.indent?this.quill.format("indent","-1",h.default.sources.USER):null!=e.format.list&&this.quill.format("list",!1,h.default.sources.USER)}},"indent code-block":S(!0),"outdent code-block":S(!1),"remove tab":{key:b.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(t){this.quill.deleteText(t.index-1,1,h.default.sources.USER)}},tab:{key:b.keys.TAB,handler:function(t){this.quill.history.cutoff();var e=(new c.default).retain(t.index).delete(t.length).insert("\t");this.quill.updateContents(e,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index+1,h.default.sources.SILENT)}},"list empty enter":{key:b.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(t,e){this.quill.format("list",!1,h.default.sources.USER),e.format.indent&&this.quill.format("indent",!1,h.default.sources.USER)}},"checklist enter":{key:b.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),r=n[0],i=n[1],a=(0,l.default)({},r.formats(),{list:"checked"}),s=(new c.default).retain(t.index).insert("\n",a).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:b.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(t,e){var n=this.quill.getLine(t.index),r=o(n,2),i=r[0],a=r[1],s=(new c.default).retain(t.index).insert("\n",e.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,h.default.sources.USER),this.quill.setSelection(t.index+1,h.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(t,e){var n=e.prefix.length,r=this.quill.getLine(t.index),i=o(r,2),a=i[0],s=i[1];if(s>n)return!0;var l=void 0;switch(e.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(t.index," ",h.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(t.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,h.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(t.index-n,h.default.sources.SILENT)}},"code exit":{key:b.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(t){var e=this.quill.getLine(t.index),n=o(e,2),r=n[0],i=n[1],a=(new c.default).retain(t.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,h.default.sources.USER)}},"embed left":x(b.keys.LEFT,!1),"embed left shift":x(b.keys.LEFT,!0),"embed right":x(b.keys.RIGHT,!1),"embed right shift":x(b.keys.RIGHT,!0)}},e.default=b,e.SHORTKEY=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=l(n(0)),s=l(n(7));function l(t){return t&&t.__esModule?t:{default:t}}var c=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.selection=n,r.textNode=document.createTextNode(e.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,null,[{key:"value",value:function(){}}]),i(e,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(t,n){if(0!==this._length)return o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);for(var r=this,i=0;null!=r&&r.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=e.CONTENTS.length,r.optimize(),r.formatAt(i,e.CONTENTS.length,t,n),this._length=0)}},{key:"index",value:function(t,n){return t===this.textNode?0:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var t=this.textNode,n=this.selection.getNativeRange(),o=void 0,i=void 0,l=void 0;if(null!=n&&n.start.node===t&&n.end.node===t){var c=[t,n.start.offset,n.end.offset];o=c[0],i=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==e.CONTENTS){var u=this.textNode.data.split(e.CONTENTS).join("");this.next instanceof s.default?(o=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=e.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(e.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,l].map(function(t){return Math.max(0,Math.min(o.data.length,t-1))}),h=r(d,2);return i=h[0],l=h[1],{startNode:o,startOffset:i,endNode:o,endOffset:l}}}}},{key:"update",value:function(t,e){var n=this;if(t.some(function(t){return"characterData"===t.type&&t.target===n.textNode})){var r=this.restore();r&&(e.range=r)}}},{key:"value",value:function(){return""}}]),e}(a.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=a(n(0)),o=n(4),i=a(o);function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(r.default.Container);s.allowedChildren=[i.default,o.BlockEmbed,s],e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ColorStyle=e.ColorClass=e.ColorAttributor=void 0;var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"value",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map(function(t){return("00"+parseInt(t).toString(16)).slice(-2)}).join("")):n}}]),e}(s.default.Attributor.Style),c=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),u=new l("color","color",{scope:s.default.Scope.INLINE});e.ColorAttributor=l,e.ColorClass=c,e.ColorStyle=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.sanitize=e.default=void 0;var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){if(t!==this.statics.blotName||!n)return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return t=this.sanitize(t),n.setAttribute("href",t),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(t){return t.getAttribute("href")}},{key:"sanitize",value:function(t){return l(t,this.PROTOCOL_WHITELIST)?t:this.SANITIZED_URL}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);function l(t,e){var n=document.createElement("a");n.href=t;var r=n.href.slice(0,n.href.indexOf(":"));return e.indexOf(r)>-1}s.blotName="link",s.tagName="A",s.SANITIZED_URL="about:blank",s.PROTOCOL_WHITELIST=["http","https","mailto","tel"],e.default=s,e.sanitize=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=s(n(23)),a=s(n(107));function s(t){return t&&t.__esModule?t:{default:t}}var l=0;function c(t,e){t.setAttribute(e,!("true"===t.getAttribute(e)))}var u=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.select=e,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",function(){n.togglePicker()}),this.label.addEventListener("keydown",function(t){switch(t.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),t.preventDefault()}}),this.select.addEventListener("change",this.update.bind(this))}return o(t,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(t){var e=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),t.hasAttribute("value")&&n.setAttribute("data-value",t.getAttribute("value")),t.textContent&&n.setAttribute("data-label",t.textContent),n.addEventListener("click",function(){e.selectItem(n,!0)}),n.addEventListener("keydown",function(t){switch(t.keyCode){case i.default.keys.ENTER:e.selectItem(n,!0),t.preventDefault();break;case i.default.keys.ESCAPE:e.escape(),t.preventDefault()}}),n}},{key:"buildLabel",value:function(){var t=document.createElement("span");return t.classList.add("ql-picker-label"),t.innerHTML=a.default,t.tabIndex="0",t.setAttribute("role","button"),t.setAttribute("aria-expanded","false"),this.container.appendChild(t),t}},{key:"buildOptions",value:function(){var t=this,e=document.createElement("span");e.classList.add("ql-picker-options"),e.setAttribute("aria-hidden","true"),e.tabIndex="-1",e.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",e.id),this.options=e,[].slice.call(this.select.options).forEach(function(n){var r=t.buildItem(n);e.appendChild(r),!0===n.selected&&t.selectItem(r)}),this.container.appendChild(e)}},{key:"buildPicker",value:function(){var t=this;[].slice.call(this.select.attributes).forEach(function(e){t.container.setAttribute(e.name,e.value)}),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var t=this;this.close(),setTimeout(function(){return t.label.focus()},1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(t!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=t&&(t.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(t.parentNode.children,t),t.hasAttribute("data-value")?this.label.setAttribute("data-value",t.getAttribute("data-value")):this.label.removeAttribute("data-value"),t.hasAttribute("data-label")?this.label.setAttribute("data-label",t.getAttribute("data-label")):this.label.removeAttribute("data-label"),e))){if("function"===typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"===typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var t=void 0;if(this.select.selectedIndex>-1){var e=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];t=this.select.options[this.select.selectedIndex],this.selectItem(e)}else this.selectItem(null);var n=null!=t&&t!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),t}();e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=v(n(0)),o=v(n(5)),i=n(4),a=v(i),s=v(n(16)),l=v(n(25)),c=v(n(24)),u=v(n(35)),d=v(n(6)),h=v(n(22)),f=v(n(7)),p=v(n(55)),g=v(n(42)),m=v(n(23));function v(t){return t&&t.__esModule?t:{default:t}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":h.default,"blots/text":f.default,"modules/clipboard":p.default,"modules/history":g.default,"modules/keyboard":m.default}),r.default.register(a.default,s.default,c.default,d.default,h.default,f.default),e.default=o.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(1),o=function(){function t(t){this.domNode=t,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(t.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),t.create=function(t){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var e;return Array.isArray(this.tagName)?("string"===typeof t&&(t=t.toUpperCase(),parseInt(t).toString()===t&&(t=parseInt(t))),e="number"===typeof t?document.createElement(this.tagName[t-1]):this.tagName.indexOf(t)>-1?document.createElement(t):document.createElement(this.tagName[0])):e=document.createElement(this.tagName),this.className&&e.classList.add(this.className),e},t.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},t.prototype.clone=function(){var t=this.domNode.cloneNode(!1);return r.create(t)},t.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},t.prototype.deleteAt=function(t,e){this.isolate(t,e).remove()},t.prototype.formatAt=function(t,e,n,o){var i=this.isolate(t,e);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},t.prototype.insertAt=function(t,e,n){var o=null==n?r.create("text",e):r.create(e,n),i=this.split(t);this.parent.insertBefore(o,i)},t.prototype.insertInto=function(t,e){void 0===e&&(e=null),null!=this.parent&&this.parent.children.remove(this);var n=null;t.children.insertBefore(this,e),null!=e&&(n=e.domNode),this.domNode.parentNode==t.domNode&&this.domNode.nextSibling==n||t.domNode.insertBefore(this.domNode,n),this.parent=t,this.attach()},t.prototype.isolate=function(t,e){var n=this.split(t);return n.split(e),n},t.prototype.length=function(){return 1},t.prototype.offset=function(t){return void 0===t&&(t=this.parent),null==this.parent||this==t?0:this.parent.children.offset(this)+this.parent.offset(t)},t.prototype.optimize=function(t){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},t.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},t.prototype.replace=function(t){null!=t.parent&&(t.parent.insertBefore(this,t.next),t.remove())},t.prototype.replaceWith=function(t,e){var n="string"===typeof t?r.create(t,e):t;return n.replace(this),n},t.prototype.split=function(t,e){return 0===t?this:this.next},t.prototype.update=function(t,e){},t.prototype.wrap=function(t,e){var n="string"===typeof t?r.create(t,e):t;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},t.blotName="abstract",t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),s=function(){function t(t){this.attributes={},this.domNode=t,this.build()}return t.prototype.attribute=function(t,e){e?t.add(this.domNode,e)&&(null!=t.value(this.domNode)?this.attributes[t.attrName]=t:delete this.attributes[t.attrName]):(t.remove(this.domNode),delete this.attributes[t.attrName])},t.prototype.build=function(){var t=this;this.attributes={};var e=r.default.keys(this.domNode),n=o.default.keys(this.domNode),s=i.default.keys(this.domNode);e.concat(n).concat(s).forEach(function(e){var n=a.query(e,a.Scope.ATTRIBUTE);n instanceof r.default&&(t.attributes[n.attrName]=n)})},t.prototype.copy=function(t){var e=this;Object.keys(this.attributes).forEach(function(n){var r=e.attributes[n].value(e.domNode);t.format(n,r)})},t.prototype.move=function(t){var e=this;this.copy(t),Object.keys(this.attributes).forEach(function(t){e.attributes[t].remove(e.domNode)}),this.attributes={}},t.prototype.values=function(){var t=this;return Object.keys(this.attributes).reduce(function(e,n){return e[n]=t.attributes[n].value(t.domNode),e},{})},t}();e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(t,e){return(t.getAttribute("class")||"").split(/\s+/).filter(function(t){return 0===t.indexOf(e+"-")})}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("class")||"").split(/\s+/).map(function(t){return t.split("-").slice(0,-1).join("-")})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(this.remove(t),t.classList.add(this.keyName+"-"+e),!0)},e.prototype.remove=function(t){o(t,this.keyName).forEach(function(e){t.classList.remove(e)}),0===t.classList.length&&t.removeAttribute("class")},e.prototype.value=function(t){var e=(o(t,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();function o(t){var e=t.split("-"),n=e.slice(1).map(function(t){return t[0].toUpperCase()+t.slice(1)}).join("");return e[0]+n}Object.defineProperty(e,"__esModule",{value:!0});var i=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.keys=function(t){return(t.getAttribute("style")||"").split(";").map(function(t){return t.split(":")[0].trim()})},e.prototype.add=function(t,e){return!!this.canAdd(t,e)&&(t.style[o(this.keyName)]=e,!0)},e.prototype.remove=function(t){t.style[o(this.keyName)]="",t.getAttribute("style")||t.removeAttribute("style")},e.prototype.value=function(t){var e=t.style[o(this.keyName)];return this.canAdd(t,e)?e:""},e}(n(12).default);e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.options=n,this.modules={}}return r(t,[{key:"init",value:function(){var t=this;Object.keys(this.options.modules).forEach(function(e){null==t.modules[e]&&t.addModule(e)})}},{key:"addModule",value:function(t){var e=this.quill.constructor.import("modules/"+t);return this.modules[t]=new e(this.quill,this.options.modules[t]||{}),this.modules[t]}}]),t}();o.DEFAULTS={modules:{}},o.themes={default:o},e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(7));function s(t){return t&&t.__esModule?t:{default:t}}var l="\ufeff",c=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach(function(t){n.contentNode.appendChild(t)}),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),n}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"index",value:function(t,n){return t===this.leftGuard?0:t===this.rightGuard?1:o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"index",this).call(this,t,n)}},{key:"restore",value:function(t){var e=void 0,n=void 0,r=t.data.split(l).join("");if(t===this.leftGuard)if(this.prev instanceof a.default){var o=this.prev.length();this.prev.insertAt(o,r),e={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),e={startNode:n,startOffset:r.length};else t===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,r),e={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),e={startNode:n,startOffset:r.length}));return t.data=l,e}},{key:"update",value:function(t,e){var n=this;t.forEach(function(t){if("characterData"===t.type&&(t.target===n.leftGuard||t.target===n.rightGuard)){var r=n.restore(t.target);r&&(e.range=r)}})}}]),e}(i.default.Embed);e.default=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AlignStyle=e.AlignClass=e.AlignAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",a),l=new i.default.Attributor.Class("align","ql-align",a),c=new i.default.Attributor.Style("align","text-align",a);e.AlignAttribute=s,e.AlignClass=l,e.AlignStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BackgroundStyle=e.BackgroundClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});e.BackgroundClass=s,e.BackgroundStyle=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DirectionStyle=e.DirectionClass=e.DirectionAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",a),l=new i.default.Attributor.Class("direction","ql-direction",a),c=new i.default.Attributor.Style("direction","direction",a);e.DirectionAttribute=s,e.DirectionClass=l,e.DirectionStyle=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FontClass=e.FontStyle=void 0;var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},c=new s.default.Attributor.Class("font","ql-font",l),u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"value",value:function(t){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t).replace(/["']/g,"")}}]),e}(s.default.Attributor.Style),d=new u("font","font-family",l);e.FontStyle=d,e.FontClass=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SizeStyle=e.SizeClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});e.SizeClass=a,e.SizeStyle=s},function(t,e,n){"use strict";t.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getLastChangeIndex=e.default=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=a(n(0)),i=a(n(5));function a(t){return t&&t.__esModule?t:{default:t}}var s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,function(t,e,n,o){t!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(e):r.record(e,n))}),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),r(e,[{key:"change",value:function(t,e){if(0!==this.stack[t].length){var n=this.stack[t].pop();this.stack[e].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[t],i.default.sources.USER),this.ignoreChange=!1;var r=l(n[t]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(t,e){if(0!==t.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(e),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),t=o.redo.compose(t)}else this.lastRecorded=r;this.stack.undo.push({redo:t,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(t){this.stack.undo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)}),this.stack.redo.forEach(function(e){e.undo=t.transform(e.undo,!0),e.redo=t.transform(e.redo,!0)})}},{key:"undo",value:function(){this.change("undo","redo")}}]),e}(a(n(9)).default);function l(t){var e=t.reduce(function(t,e){return t+=e.delete||0},0),n=t.length()-e;return function(t){var e=t.ops[t.ops.length-1];return null!=e&&(null!=e.insert?"string"===typeof e.insert&&e.insert.endsWith("\n"):null!=e.attributes&&Object.keys(e.attributes).some(function(t){return null!=o.default.query(t,o.default.Scope.BLOCK)}))}(t)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},e.default=s,e.getLastChangeIndex=l},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BaseTooltip=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=p(n(3)),a=p(n(2)),s=p(n(8)),l=p(n(23)),c=p(n(34)),u=p(n(59)),d=p(n(60)),h=p(n(28)),f=p(n(61));function p(t){return t&&t.__esModule?t:{default:t}}function g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function m(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function v(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var y=[!1,"center","right","justify"],b=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],x=[!1,"serif","monospace"],w=["1","2","3",!1],k=["small",!1,"large","huge"],A=function(t){function e(t,n){g(this,e);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return t.emitter.listenDOM("click",document.body,function e(n){if(!document.body.contains(t.root))return document.body.removeEventListener("click",e);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach(function(t){t.container.contains(n.target)||t.close()})}),r}return v(e,t),r(e,[{key:"addModule",value:function(t){var n=o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"addModule",this).call(this,t);return"toolbar"===t&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(t,e){t.forEach(function(t){(t.getAttribute("class")||"").split(/\s+/).forEach(function(n){if(n.startsWith("ql-")&&(n=n.slice(3),null!=e[n]))if("direction"===n)t.innerHTML=e[n][""]+e[n].rtl;else if("string"===typeof e[n])t.innerHTML=e[n];else{var r=t.value||"";null!=r&&e[n][r]&&(t.innerHTML=e[n][r])}})})}},{key:"buildPickers",value:function(t,e){var n=this;this.pickers=t.map(function(t){if(t.classList.contains("ql-align"))return null==t.querySelector("option")&&S(t,y),new d.default(t,e.align);if(t.classList.contains("ql-background")||t.classList.contains("ql-color")){var n=t.classList.contains("ql-background")?"background":"color";return null==t.querySelector("option")&&S(t,b,"background"===n?"#ffffff":"#000000"),new u.default(t,e[n])}return null==t.querySelector("option")&&(t.classList.contains("ql-font")?S(t,x):t.classList.contains("ql-header")?S(t,w):t.classList.contains("ql-size")&&S(t,k)),new h.default(t)}),this.quill.on(s.default.events.EDITOR_CHANGE,function(){n.pickers.forEach(function(t){t.update()})})}}]),e}(c.default);A.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var t=this,e=this.container.querySelector("input.ql-image[type=file]");null==e&&((e=document.createElement("input")).setAttribute("type","file"),e.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),e.classList.add("ql-image"),e.addEventListener("change",function(){if(null!=e.files&&null!=e.files[0]){var n=new FileReader;n.onload=function(n){var r=t.quill.getSelection(!0);t.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),s.default.sources.USER),t.quill.setSelection(r.index+1,s.default.sources.SILENT),e.value=""},n.readAsDataURL(e.files[0])}}),this.container.appendChild(e)),e.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var _=function(t){function e(t,n){g(this,e);var r=m(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return v(e,t),r(e,[{key:"listen",value:function(){var t=this;this.textbox.addEventListener("keydown",function(e){l.default.match(e,"enter")?(t.save(),e.preventDefault()):l.default.match(e,"escape")&&(t.cancel(),e.preventDefault())})}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=e?this.textbox.value=e:t!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+t)||""),this.root.setAttribute("data-mode",t)}},{key:"restoreFocus",value:function(){var t=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=t}},{key:"save",value:function(){var t=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var e=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",t,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",t,s.default.sources.USER)),this.quill.root.scrollTop=e;break;case"video":t=function(t){var e=t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||t.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return e?(e[1]||"https")+"://www.youtube.com/embed/"+e[2]+"?showinfo=0":(e=t.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(e[1]||"https")+"://player.vimeo.com/video/"+e[2]+"/":t}(t);case"formula":if(!t)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),t,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",s.default.sources.USER),this.quill.setSelection(r+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),e}(f.default);function S(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];e.forEach(function(e){var r=document.createElement("option");e===n?r.setAttribute("selected","selected"):r.setAttribute("value",e),t.appendChild(r)})}e.BaseTooltip=_,e.default=A},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){this.head=this.tail=null,this.length=0}return t.prototype.append=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];this.insertBefore(t[0],null),t.length>1&&this.append.apply(this,t.slice(1))},t.prototype.contains=function(t){for(var e,n=this.iterator();e=n();)if(e===t)return!0;return!1},t.prototype.insertBefore=function(t,e){t&&(t.next=e,null!=e?(t.prev=e.prev,null!=e.prev&&(e.prev.next=t),e.prev=t,e===this.head&&(this.head=t)):null!=this.tail?(this.tail.next=t,t.prev=this.tail,this.tail=t):(t.prev=null,this.head=this.tail=t),this.length+=1)},t.prototype.offset=function(t){for(var e=0,n=this.head;null!=n;){if(n===t)return e;e+=n.length(),n=n.next}return-1},t.prototype.remove=function(t){this.contains(t)&&(null!=t.prev&&(t.prev.next=t.next),null!=t.next&&(t.next.prev=t.prev),t===this.head&&(this.head=t.next),t===this.tail&&(this.tail=t.prev),this.length-=1)},t.prototype.iterator=function(t){return void 0===t&&(t=this.head),function(){var e=t;return null!=t&&(t=t.next),e}},t.prototype.find=function(t,e){void 0===e&&(e=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(t<o||e&&t===o&&(null==n.next||0!==n.next.length()))return[n,t];t-=o}return[null,0]},t.prototype.forEach=function(t){for(var e,n=this.iterator();e=n();)t(e)},t.prototype.forEachAt=function(t,e,n){if(!(e<=0))for(var r,o=this.find(t),i=o[0],a=t-o[1],s=this.iterator(i);(r=s())&&a<t+e;){var l=r.length();t>a?n(r,t-a,Math.min(e,a+l-t)):n(r,0,Math.min(l,t+e-a)),a+=l}},t.prototype.map=function(t){return this.reduce(function(e,n){return e.push(t(n)),e},[])},t.prototype.reduce=function(t,e){for(var n,r=this.iterator();n=r();)e=t(e,n);return e},t}();e.default=r},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(17),i=n(1),a={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},s=function(t){function e(e){var n=t.call(this,e)||this;return n.scroll=n,n.observer=new MutationObserver(function(t){n.update(t)}),n.observer.observe(n.domNode,a),n.attach(),n}return r(e,t),e.prototype.detach=function(){t.prototype.detach.call(this),this.observer.disconnect()},e.prototype.deleteAt=function(e,n){this.update(),0===e&&n===this.length()?this.children.forEach(function(t){t.remove()}):t.prototype.deleteAt.call(this,e,n)},e.prototype.formatAt=function(e,n,r,o){this.update(),t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){this.update(),t.prototype.insertAt.call(this,e,n,r)},e.prototype.optimize=function(e,n){var r=this;void 0===e&&(e=[]),void 0===n&&(n={}),t.prototype.optimize.call(this,n);for(var a=[].slice.call(this.observer.takeRecords());a.length>0;)e.push(a.pop());for(var s=function(t,e){void 0===e&&(e=!0),null!=t&&t!==r&&null!=t.domNode.parentNode&&(null==t.domNode[i.DATA_KEY].mutations&&(t.domNode[i.DATA_KEY].mutations=[]),e&&s(t.parent))},l=function(t){null!=t.domNode[i.DATA_KEY]&&null!=t.domNode[i.DATA_KEY].mutations&&(t instanceof o.default&&t.children.forEach(l),t.optimize(n))},c=e,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach(function(t){var e=i.find(t.target,!0);null!=e&&(e.domNode===t.target&&("childList"===t.type?(s(i.find(t.previousSibling,!1)),[].forEach.call(t.addedNodes,function(t){var e=i.find(t,!1);s(e,!1),e instanceof o.default&&e.children.forEach(function(t){s(t,!1)})})):"attributes"===t.type&&s(e.prev)),s(e))}),this.children.forEach(l),a=(c=[].slice.call(this.observer.takeRecords())).slice();a.length>0;)e.push(a.pop())}},e.prototype.update=function(e,n){var r=this;void 0===n&&(n={}),(e=e||this.observer.takeRecords()).map(function(t){var e=i.find(t.target,!0);return null==e?null:null==e.domNode[i.DATA_KEY].mutations?(e.domNode[i.DATA_KEY].mutations=[t],e):(e.domNode[i.DATA_KEY].mutations.push(t),null)}).forEach(function(t){null!=t&&t!==r&&null!=t.domNode[i.DATA_KEY]&&t.update(t.domNode[i.DATA_KEY].mutations||[],n)}),null!=this.domNode[i.DATA_KEY].mutations&&t.prototype.update.call(this,this.domNode[i.DATA_KEY].mutations,n),this.optimize(e,n)},e.blotName="scroll",e.defaultChild="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="DIV",e}(o.default);e.default=s},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){if(n.tagName!==e.tagName)return t.formats.call(this,n)},e.prototype.format=function(n,r){var i=this;n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):(this.children.forEach(function(t){t instanceof o.default||(t=t.wrap(e.blotName,!0)),i.attributes.copy(t)}),this.unwrap())},e.prototype.formatAt=function(e,n,r,o){null!=this.formats()[r]||i.query(r,i.Scope.ATTRIBUTE)?this.isolate(e,n).format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof e&&o.prev===this&&function(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},e.blotName="inline",e.scope=i.Scope.INLINE_BLOT,e.tagName="SPAN",e}(o.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(18),i=n(1),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(n){var r=i.query(e.blotName).tagName;if(n.tagName!==r)return t.formats.call(this,n)},e.prototype.format=function(n,r){null!=i.query(n,i.Scope.BLOCK)&&(n!==this.statics.blotName||r?t.prototype.format.call(this,n,r):this.replaceWith(e.blotName))},e.prototype.formatAt=function(e,n,r,o){null!=i.query(r,i.Scope.BLOCK)?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.insertAt=function(e,n,r){if(null==r||null!=i.query(n,i.Scope.INLINE))t.prototype.insertAt.call(this,e,n,r);else{var o=this.split(e),a=i.create(n,r);o.parent.insertBefore(a,o)}},e.prototype.update=function(e,n){navigator.userAgent.match(/Trident/)?this.build():t.prototype.update.call(this,e,n)},e.blotName="block",e.scope=i.Scope.BLOCK_BLOT,e.tagName="P",e}(o.default);e.default=a},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.formats=function(t){},e.prototype.format=function(e,n){t.prototype.formatAt.call(this,0,this.length(),e,n)},e.prototype.formatAt=function(e,n,r,o){0===e&&n===this.length()?this.format(r,o):t.prototype.formatAt.call(this,e,n,r,o)},e.prototype.formats=function(){return this.statics.formats(this.domNode)},e}(n(19).default);e.default=o},function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}();Object.defineProperty(e,"__esModule",{value:!0});var o=n(19),i=n(1),a=function(t){function e(e){var n=t.call(this,e)||this;return n.text=n.statics.value(n.domNode),n}return r(e,t),e.create=function(t){return document.createTextNode(t)},e.value=function(t){var e=t.data;return e.normalize&&(e=e.normalize()),e},e.prototype.deleteAt=function(t,e){this.domNode.data=this.text=this.text.slice(0,t)+this.text.slice(t+e)},e.prototype.index=function(t,e){return this.domNode===t?e:-1},e.prototype.insertAt=function(e,n,r){null==r?(this.text=this.text.slice(0,e)+n+this.text.slice(e),this.domNode.data=this.text):t.prototype.insertAt.call(this,e,n,r)},e.prototype.length=function(){return this.text.length},e.prototype.optimize=function(n){t.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof e&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},e.prototype.position=function(t,e){return void 0===e&&(e=!1),[this.domNode,t]},e.prototype.split=function(t,e){if(void 0===e&&(e=!1),!e){if(0===t)return this;if(t===this.length())return this.next}var n=i.create(this.domNode.splitText(t));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},e.prototype.update=function(t,e){var n=this;t.some(function(t){return"characterData"===t.type&&t.target===n.domNode})&&(this.text=this.statics.value(this.domNode))},e.prototype.value=function(){return this.text},e.blotName="text",e.scope=i.Scope.INLINE_BLOT,e}(o.default);e.default=a},function(t,e,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,e){return arguments.length>1&&!this.contains(t)===!e?e:o.call(this,t)}}String.prototype.startsWith||(String.prototype.startsWith=function(t,e){return e=e||0,this.substr(e,t.length)===t}),String.prototype.endsWith||(String.prototype.endsWith=function(t,e){var n=this.toString();("number"!==typeof e||!isFinite(e)||Math.floor(e)!==e||e>n.length)&&(e=n.length),e-=t.length;var r=n.indexOf(t,e);return-1!==r&&r===e}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof t)throw new TypeError("predicate must be a function");for(var e,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(e=n[i],t.call(o,e,i,n))return e}}),document.addEventListener("DOMContentLoaded",function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)})},function(t,e){var n=-1;function r(t,e,l){if(t==e)return t?[[0,t]]:[];(l<0||t.length<l)&&(l=null);var u=i(t,e),d=t.substring(0,u);u=a(t=t.substring(u),e=e.substring(u));var h=t.substring(t.length-u),f=function(t,e){var s;if(!t)return[[1,e]];if(!e)return[[n,t]];var l=t.length>e.length?t:e,c=t.length>e.length?e:t,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],t.length>e.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,t],[1,e]];var d=function(t,e){var n=t.length>e.length?t:e,r=t.length>e.length?e:t;if(n.length<4||2*r.length<n.length)return null;function o(t,e,n){for(var r,o,s,l,c=t.substring(n,n+Math.floor(t.length/4)),u=-1,d="";-1!=(u=e.indexOf(c,u+1));){var h=i(t.substring(n),e.substring(u)),f=a(t.substring(0,n),e.substring(0,u));d.length<f+h&&(d=e.substring(u-f,u)+e.substring(u,u+h),r=t.substring(0,n-f),o=t.substring(n+h),s=e.substring(0,u-f),l=e.substring(u+h))}return 2*d.length>=t.length?[r,o,s,l,d]:null}var s,l,c,u,d,h=o(n,r,Math.ceil(n.length/4)),f=o(n,r,Math.ceil(n.length/2));if(!h&&!f)return null;s=f?h&&h[4].length>f[4].length?h:f:h,t.length>e.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var p=s[4];return[l,c,u,d,p]}(t,e);if(d){var h=d[0],f=d[1],p=d[2],g=d[3],m=d[4],v=r(h,p),y=r(f,g);return v.concat([[0,m]],y)}return function(t,e){for(var r=t.length,i=e.length,a=Math.ceil((r+i)/2),s=a,l=2*a,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var h=r-i,f=h%2!=0,p=0,g=0,m=0,v=0,y=0;y<a;y++){for(var b=-y+p;b<=y-g;b+=2){for(var x=s+b,w=(C=b==-y||b!=y&&c[x-1]<c[x+1]?c[x+1]:c[x-1]+1)-b;C<r&&w<i&&t.charAt(C)==e.charAt(w);)C++,w++;if(c[x]=C,C>r)g+=2;else if(w>i)p+=2;else if(f&&(_=s+h-b)>=0&&_<l&&-1!=u[_]&&C>=(A=r-u[_]))return o(t,e,C,w)}for(var k=-y+m;k<=y-v;k+=2){for(var A,_=s+k,S=(A=k==-y||k!=y&&u[_-1]<u[_+1]?u[_+1]:u[_-1]+1)-k;A<r&&S<i&&t.charAt(r-A-1)==e.charAt(i-S-1);)A++,S++;if(u[_]=A,A>r)v+=2;else if(S>i)m+=2;else if(!f){var C;if((x=s+h-k)>=0&&x<l&&-1!=c[x])if(w=s+(C=c[x])-x,C>=(A=r-A))return o(t,e,C,w)}}}return[[n,t],[1,e]]}(t,e)}(t=t.substring(0,t.length-u),e=e.substring(0,e.length-u));return d&&f.unshift([0,d]),h&&f.push([0,h]),s(f),null!=l&&(f=function(t,e){var r=function(t,e){if(0===e)return[0,t];for(var r=0,o=0;o<t.length;o++){var i=t[o];if(i[0]===n||0===i[0]){var a=r+i[1].length;if(e===a)return[o+1,t];if(e<a){t=t.slice();var s=e-r,l=[i[0],i[1].slice(0,s)],c=[i[0],i[1].slice(s)];return t.splice(o,1,l,c),[o+1,t]}r=a}}throw new Error("cursor_pos is out of bounds!")}(t,e),o=r[1],i=r[0],a=o[i],s=o[i+1];if(null==a)return t;if(0!==a[0])return t;if(null!=s&&a[1]+s[1]===s[1]+a[1])return o.splice(i,2,s,a),c(o,i,2);if(null!=s&&0===s[1].indexOf(a[1])){o.splice(i,2,[s[0],a[1]],[0,a[1]]);var l=s[1].slice(a[1].length);return l.length>0&&o.splice(i+2,0,[s[0],l]),c(o,i,3)}return t}(f,l)),f=function(t){for(var e=!1,r=function(t){return t.charCodeAt(0)>=56320&&t.charCodeAt(0)<=57343},o=function(t){return t.charCodeAt(t.length-1)>=55296&&t.charCodeAt(t.length-1)<=56319},i=2;i<t.length;i+=1)0===t[i-2][0]&&o(t[i-2][1])&&t[i-1][0]===n&&r(t[i-1][1])&&1===t[i][0]&&r(t[i][1])&&(e=!0,t[i-1][1]=t[i-2][1].slice(-1)+t[i-1][1],t[i][1]=t[i-2][1].slice(-1)+t[i][1],t[i-2][1]=t[i-2][1].slice(0,-1));if(!e)return t;var a=[];for(i=0;i<t.length;i+=1)t[i][1].length>0&&a.push(t[i]);return a}(f)}function o(t,e,n,o){var i=t.substring(0,n),a=e.substring(0,o),s=t.substring(n),l=e.substring(o),c=r(i,a),u=r(s,l);return c.concat(u)}function i(t,e){if(!t||!e||t.charAt(0)!=e.charAt(0))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(i,o)==e.substring(i,o)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function a(t,e){if(!t||!e||t.charAt(t.length-1)!=e.charAt(e.length-1))return 0;for(var n=0,r=Math.min(t.length,e.length),o=r,i=0;n<o;)t.substring(t.length-o,t.length-i)==e.substring(e.length-o,e.length-i)?i=n=o:r=o,o=Math.floor((r-n)/2+n);return o}function s(t){t.push([0,""]);for(var e,r=0,o=0,l=0,c="",u="";r<t.length;)switch(t[r][0]){case 1:l++,u+=t[r][1],r++;break;case n:o++,c+=t[r][1],r++;break;case 0:o+l>1?(0!==o&&0!==l&&(0!==(e=i(u,c))&&(r-o-l>0&&0==t[r-o-l-1][0]?t[r-o-l-1][1]+=u.substring(0,e):(t.splice(0,0,[0,u.substring(0,e)]),r++),u=u.substring(e),c=c.substring(e)),0!==(e=a(u,c))&&(t[r][1]=u.substring(u.length-e)+t[r][1],u=u.substring(0,u.length-e),c=c.substring(0,c.length-e))),0===o?t.splice(r-l,o+l,[1,u]):0===l?t.splice(r-o,o+l,[n,c]):t.splice(r-o-l,o+l,[n,c],[1,u]),r=r-o-l+(o?1:0)+(l?1:0)+1):0!==r&&0==t[r-1][0]?(t[r-1][1]+=t[r][1],t.splice(r,1)):r++,l=0,o=0,c="",u=""}""===t[t.length-1][1]&&t.pop();var d=!1;for(r=1;r<t.length-1;)0==t[r-1][0]&&0==t[r+1][0]&&(t[r][1].substring(t[r][1].length-t[r-1][1].length)==t[r-1][1]?(t[r][1]=t[r-1][1]+t[r][1].substring(0,t[r][1].length-t[r-1][1].length),t[r+1][1]=t[r-1][1]+t[r+1][1],t.splice(r-1,1),d=!0):t[r][1].substring(0,t[r+1][1].length)==t[r+1][1]&&(t[r-1][1]+=t[r+1][1],t[r][1]=t[r][1].substring(t[r+1][1].length)+t[r+1][1],t.splice(r+1,1),d=!0)),r++;d&&s(t)}var l=r;function c(t,e,n){for(var r=e+n-1;r>=0&&r>=e-1;r--)if(r+1<t.length){var o=t[r],i=t[r+1];o[0]===i[1]&&t.splice(r,2,[o[0],o[1]+i[1]])}return t}l.INSERT=1,l.DELETE=n,l.EQUAL=0,t.exports=l},function(t,e){function n(t){var e=[];for(var n in t)e.push(n);return e}(t.exports="function"===typeof Object.keys?Object.keys:n).shim=n},function(t,e){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(t){return"[object Arguments]"==Object.prototype.toString.call(t)}function o(t){return t&&"object"==typeof t&&"number"==typeof t.length&&Object.prototype.hasOwnProperty.call(t,"callee")&&!Object.prototype.propertyIsEnumerable.call(t,"callee")||!1}(e=t.exports=n?r:o).supported=r,e.unsupported=o},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(t,e,n){this.fn=t,this.context=e,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),a.prototype.eventNames=function(){var t,e,o=[];if(0===this._eventsCount)return o;for(e in t=this._events)n.call(t,e)&&o.push(r?e.slice(1):e);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(t)):o},a.prototype.listeners=function(t,e){var n=r?r+t:t,o=this._events[n];if(e)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,s=new Array(a);i<a;i++)s[i]=o[i].fn;return s},a.prototype.emit=function(t,e,n,o,i,a){var s=r?r+t:t;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(t,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,e),!0;case 3:return u.fn.call(u.context,e,n),!0;case 4:return u.fn.call(u.context,e,n,o),!0;case 5:return u.fn.call(u.context,e,n,o,i),!0;case 6:return u.fn.call(u.context,e,n,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var h,f=u.length;for(c=0;c<f;c++)switch(u[c].once&&this.removeListener(t,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,e);break;case 3:u[c].fn.call(u[c].context,e,n);break;case 4:u[c].fn.call(u[c].context,e,n,o);break;default:if(!l)for(h=1,l=new Array(d-1);h<d;h++)l[h-1]=arguments[h];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(t,e,n){var o=new i(e,n||this),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(t,e,n){var o=new i(e,n||this,!0),a=r?r+t:t;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(t,e,n,i){var a=r?r+t:t;if(!this._events[a])return this;if(!e)return 0===--this._eventsCount?this._events=new o:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==e||i&&!s.once||n&&s.context!==n||(0===--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==e||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:0===--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(t){var e;return t?(e=r?r+t:t,this._events[e]&&(0===--this._eventsCount?this._events=new o:delete this._events[e])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,"undefined"!==typeof t&&(t.exports=a)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.matchText=e.matchSpacing=e.matchNewline=e.matchBlot=e.matchAttributor=e.default=void 0;var r="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=b(n(3)),s=b(n(2)),l=b(n(0)),c=b(n(5)),u=b(n(10)),d=b(n(9)),h=n(36),f=n(37),p=b(n(13)),g=n(26),m=n(38),v=n(39),y=n(40);function b(t){return t&&t.__esModule?t:{default:t}}function x(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var w=(0,u.default)("quill:clipboard"),k="__ql-matcher",A=[[Node.TEXT_NODE,I],[Node.TEXT_NODE,D],["br",function(t,e){return P(e,"\n")||e.insert("\n"),e}],[Node.ELEMENT_NODE,D],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,j],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,function(t,e){var n={},r=t.style||{};return r.fontStyle&&"italic"===O(t).fontStyle&&(n.italic=!0),r.fontWeight&&(O(t).fontWeight.startsWith("bold")||parseInt(O(t).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(e=E(e,n)),parseFloat(r.textIndent||0)>0&&(e=(new s.default).insert("\t").concat(e)),e}],["li",function(t,e){var n=l.default.query(t);if(null==n||"list-item"!==n.blotName||!P(e,"\n"))return e;for(var r=-1,o=t.parentNode;!o.classList.contains("ql-clipboard");)"list"===(l.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?e:e.compose((new s.default).retain(e.length()-1).retain(1,{indent:r}))}],["b",N.bind(N,"bold")],["i",N.bind(N,"italic")],["style",function(){return new s.default}]],_=[h.AlignAttribute,m.DirectionAttribute].reduce(function(t,e){return t[e.keyName]=e,t},{}),S=[h.AlignStyle,f.BackgroundStyle,g.ColorStyle,m.DirectionStyle,v.FontStyle,y.SizeStyle].reduce(function(t,e){return t[e.keyName]=e,t},{}),C=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],A.concat(r.options.matchers).forEach(function(t){var e=o(t,2),i=e[0],a=e[1];(n.matchVisual||a!==j)&&r.addMatcher(i,a)}),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"addMatcher",value:function(t,e){this.matchers.push([t,e])}},{key:"convert",value:function(t){if("string"===typeof t)return this.container.innerHTML=t.replace(/\>\r?\n +\</g,"><"),this.convert();var e=this.quill.getFormat(this.quill.selection.savedRange.index);if(e[p.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,x({},p.default.blotName,e[p.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),a=i[0],l=i[1],c=T(this.container,a,l);return P(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),w.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"===typeof t)this.quill.setContents(this.convert(t),e),this.quill.setSelection(0,c.default.sources.SILENT);else{var r=this.convert(e);this.quill.updateContents((new s.default).retain(t).concat(r),n),this.quill.setSelection(t+r.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(t){var e=this;if(!t.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new s.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout(function(){r=r.concat(e.convert()).delete(n.length),e.quill.updateContents(r,c.default.sources.USER),e.quill.setSelection(r.length()-n.length,c.default.sources.SILENT),e.quill.scrollingContainer.scrollTop=o,e.quill.focus()},1)}}},{key:"prepareMatching",value:function(){var t=this,e=[],n=[];return this.matchers.forEach(function(r){var i=o(r,2),a=i[0],s=i[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:e.push(s);break;default:[].forEach.call(t.container.querySelectorAll(a),function(t){t[k]=t[k]||[],t[k].push(s)})}}),[e,n]}}]),e}(d.default);function E(t,e,n){return"object"===("undefined"===typeof e?"undefined":r(e))?Object.keys(e).reduce(function(t,n){return E(t,n,e[n])},t):t.reduce(function(t,r){return r.attributes&&r.attributes[e]?t.push(r):t.insert(r.insert,(0,a.default)({},x({},e,n),r.attributes))},new s.default)}function O(t){if(t.nodeType!==Node.ELEMENT_NODE)return{};var e="__ql-computed-style";return t[e]||(t[e]=window.getComputedStyle(t))}function P(t,e){for(var n="",r=t.ops.length-1;r>=0&&n.length<e.length;--r){var o=t.ops[r];if("string"!==typeof o.insert)break;n=o.insert+n}return n.slice(-1*e.length)===e}function M(t){if(0===t.childNodes.length)return!1;var e=O(t);return["block","list-item"].indexOf(e.display)>-1}function T(t,e,n){return t.nodeType===t.TEXT_NODE?n.reduce(function(e,n){return n(t,e)},new s.default):t.nodeType===t.ELEMENT_NODE?[].reduce.call(t.childNodes||[],function(r,o){var i=T(o,e,n);return o.nodeType===t.ELEMENT_NODE&&(i=e.reduce(function(t,e){return e(o,t)},i),i=(o[k]||[]).reduce(function(t,e){return e(o,t)},i)),r.concat(i)},new s.default):new s.default}function N(t,e,n){return E(n,t,!0)}function R(t,e){var n=l.default.Attributor.Attribute.keys(t),r=l.default.Attributor.Class.keys(t),o=l.default.Attributor.Style.keys(t),i={};return n.concat(r).concat(o).forEach(function(e){var n=l.default.query(e,l.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(t),i[n.attrName])||(null==(n=_[e])||n.attrName!==e&&n.keyName!==e||(i[n.attrName]=n.value(t)||void 0),null==(n=S[e])||n.attrName!==e&&n.keyName!==e||(n=S[e],i[n.attrName]=n.value(t)||void 0))}),Object.keys(i).length>0&&(e=E(e,i)),e}function L(t,e){var n=l.default.query(t);if(null==n)return e;if(n.prototype instanceof l.default.Embed){var r={},o=n.value(t);null!=o&&(r[n.blotName]=o,e=(new s.default).insert(r,n.formats(t)))}else"function"===typeof n.formats&&(e=E(e,n.blotName,n.formats(t)));return e}function D(t,e){return P(e,"\n")||(M(t)||e.length()>0&&t.nextSibling&&M(t.nextSibling))&&e.insert("\n"),e}function j(t,e){if(M(t)&&null!=t.nextElementSibling&&!P(e,"\n\n")){var n=t.offsetHeight+parseFloat(O(t).marginTop)+parseFloat(O(t).marginBottom);t.nextElementSibling.offsetTop>t.offsetTop+1.5*n&&e.insert("\n")}return e}function I(t,e){var n=t.data;if("O:P"===t.parentNode.tagName)return e.insert(n.trim());if(0===n.trim().length&&t.parentNode.classList.contains("ql-clipboard"))return e;if(!O(t.parentNode).whiteSpace.startsWith("pre")){var r=function(t,e){return(e=e.replace(/[^\u00a0]/g,"")).length<1&&t?" ":e};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==t.previousSibling&&M(t.parentNode)||null!=t.previousSibling&&M(t.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==t.nextSibling&&M(t.parentNode)||null!=t.nextSibling&&M(t.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return e.insert(n)}C.DEFAULTS={matchers:[],matchVisual:!0},e.default=C,e.matchAttributor=R,e.matchBlot=L,e.matchNewline=D,e.matchSpacing=j,e.matchText=I},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"optimize",value:function(t){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);s.blotName="bold",s.tagName=["STRONG","B"],e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addControls=e.default=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=u(n(2)),a=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}var h=(0,l.default)("quill:toolbar"),f=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var o,i=d(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");g(a,i.options.container),t.container.parentNode.insertBefore(a,t.container),i.container=a}else"string"===typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach(function(t){i.addHandler(t,i.options.handlers[t])}),[].forEach.call(i.container.querySelectorAll("button, select"),function(t){i.attach(t)}),i.quill.on(s.default.events.EDITOR_CHANGE,function(t,e){t===s.default.events.SELECTION_CHANGE&&i.update(e)}),i.quill.on(s.default.events.SCROLL_OPTIMIZE,function(){var t=i.quill.selection.getRange(),e=r(t,1)[0];i.update(e)}),i):(o=h.error("Container required for toolbar",i.options),d(i,o))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"addHandler",value:function(t,e){this.handlers[t]=e}},{key:"attach",value:function(t){var e=this,n=[].find.call(t.classList,function(t){return 0===t.indexOf("ql-")});if(n){if(n=n.slice(3),"BUTTON"===t.tagName&&t.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void h.warn("ignoring attaching to disabled format",n,t);if(null==a.default.query(n))return void h.warn("ignoring attaching to nonexistent format",n,t)}var o="SELECT"===t.tagName?"change":"click";t.addEventListener(o,function(o){var l=void 0;if("SELECT"===t.tagName){if(t.selectedIndex<0)return;var c=t.options[t.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!t.classList.contains("ql-active")&&(t.value||!t.hasAttribute("value")),o.preventDefault();e.quill.focus();var u=e.quill.selection.getRange(),d=r(u,1)[0];if(null!=e.handlers[n])e.handlers[n].call(e,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;e.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},n,l)),s.default.sources.USER)}else e.quill.format(n,l,s.default.sources.USER);e.update(d)}),this.controls.push([n,t])}}},{key:"update",value:function(t){var e=null==t?{}:this.quill.getFormat(t);this.controls.forEach(function(n){var o=r(n,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var s=void 0;if(null==t)s=null;else if(null==e[i])s=a.querySelector("option[selected]");else if(!Array.isArray(e[i])){var l=e[i];"string"===typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==t)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=e[i]===a.getAttribute("value")||null!=e[i]&&e[i].toString()===a.getAttribute("value")||null==e[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=e[i])})}}]),e}(c.default);function p(t,e,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+e),null!=n&&(r.value=n),t.appendChild(r)}function g(t,e){Array.isArray(e[0])||(e=[e]),e.forEach(function(e){var n=document.createElement("span");n.classList.add("ql-formats"),e.forEach(function(t){if("string"===typeof t)p(n,t);else{var e=Object.keys(t)[0],r=t[e];Array.isArray(r)?function(t,e,n){var r=document.createElement("select");r.classList.add("ql-"+e),n.forEach(function(t){var e=document.createElement("option");!1!==t?e.setAttribute("value",t):e.setAttribute("selected","selected"),r.appendChild(e)}),t.appendChild(r)}(n,e,r):p(n,e,r)}}),t.appendChild(n)})}f.DEFAULTS={},f.DEFAULTS={container:null,handlers:{clean:function(){var t=this,e=this.quill.getSelection();if(null!=e)if(0==e.length){var n=this.quill.getFormat();Object.keys(n).forEach(function(e){null!=a.default.query(e,a.default.Scope.INLINE)&&t.quill.format(e,!1)})}else this.quill.removeFormat(e,s.default.sources.USER)},direction:function(t){var e=this.quill.getFormat().align;"rtl"===t&&null==e?this.quill.format("align","right",s.default.sources.USER):t||"right"!==e||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",t,s.default.sources.USER)},indent:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e),r=parseInt(n.indent||0);if("+1"===t||"-1"===t){var o="+1"===t?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,s.default.sources.USER)}},link:function(t){!0===t&&(t=prompt("Enter link URL:")),this.quill.format("link",t,s.default.sources.USER)},list:function(t){var e=this.quill.getSelection(),n=this.quill.getFormat(e);"check"===t?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",t,s.default.sources.USER)}}},e.default=f,e.addControls=g},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach(function(t){t.classList.add("ql-primary")}),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"buildItem",value:function(t){var n=i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"buildItem",this).call(this,t);return n.style.backgroundColor=t.getAttribute("value")||"",n}},{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n);var r=this.label.querySelector(".ql-color-label"),o=t&&t.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(t){function e(t,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var r=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),function(t){t.innerHTML=n[t.getAttribute("data-value")||""]}),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"selectItem",value:function(t,n){i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"selectItem",this).call(this,t,n),t=t||this.defaultItem,this.label.innerHTML=t.innerHTML}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function(){function t(e,n){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.quill=e,this.boundsContainer=n||document.body,this.root=e.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"}),this.hide()}return r(t,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(t){var e=t.left+t.width/2-this.root.offsetWidth/2,n=t.bottom+this.quill.root.scrollTop;this.root.style.left=e+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=e+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=e+i+"px"),o.bottom>r.bottom){var a=o.bottom-o.top,s=t.bottom-t.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),t}();e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(l){o=!0,i=l}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=f(n(3)),s=f(n(8)),l=n(43),c=f(l),u=f(n(27)),d=n(15),h=f(n(41));function f(t){return t&&t.__esModule?t:{default:t}}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function m(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],y=function(t){function e(t,n){p(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-snow"),r}return m(e,t),i(e,[{key:"extendToolbar",value:function(t){t.container.classList.add("ql-snow"),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),h.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),h.default),this.tooltip=new b(this.quill,this.options.bounds),t.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},function(e,n){t.handlers.link.call(t,!n.format.link)})}}]),e}(c.default);y.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){if(t){var e=this.quill.getSelection();if(null==e||0==e.length)return;var n=this.quill.getText(e);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var b=function(t){function e(t,n){p(this,e);var r=g(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return m(e,t),i(e,[{key:"listen",value:function(){var t=this;o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",function(e){t.root.classList.contains("ql-editing")?t.save():t.edit("link",t.preview.textContent),e.preventDefault()}),this.root.querySelector("a.ql-remove").addEventListener("click",function(e){if(null!=t.linkRange){var n=t.linkRange;t.restoreFocus(),t.quill.formatText(n,"link",!1,s.default.sources.USER),delete t.linkRange}e.preventDefault(),t.hide()}),this.quill.on(s.default.events.SELECTION_CHANGE,function(e,n,o){if(null!=e){if(0===e.length&&o===s.default.sources.USER){var i=t.quill.scroll.descendant(u.default,e.index),a=r(i,2),l=a[0],c=a[1];if(null!=l){t.linkRange=new d.Range(e.index-c,l.length());var h=u.default.formats(l.domNode);return t.preview.textContent=h,t.preview.setAttribute("href",h),t.show(),void t.position(t.quill.getBounds(t.linkRange))}}else delete t.linkRange;t.hide()}})}},{key:"show",value:function(){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),e}(l.BaseTooltip);b.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),e.default=y},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=D(n(29)),o=n(36),i=n(38),a=n(64),s=D(n(65)),l=D(n(66)),c=n(67),u=D(c),d=n(37),h=n(26),f=n(39),p=n(40),g=D(n(56)),m=D(n(68)),v=D(n(27)),y=D(n(69)),b=D(n(70)),x=D(n(71)),w=D(n(72)),k=D(n(73)),A=n(13),_=D(A),S=D(n(74)),C=D(n(75)),E=D(n(57)),O=D(n(41)),P=D(n(28)),M=D(n(59)),T=D(n(60)),N=D(n(61)),R=D(n(108)),L=D(n(62));function D(t){return t&&t.__esModule?t:{default:t}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":h.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":f.FontClass,"attributors/class/size":p.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":h.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":f.FontStyle,"attributors/style/size":p.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":h.ColorStyle,"formats/font":f.FontClass,"formats/size":p.SizeClass,"formats/blockquote":s.default,"formats/code-block":_.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":g.default,"formats/code":A.Code,"formats/italic":m.default,"formats/link":v.default,"formats/script":y.default,"formats/strike":b.default,"formats/underline":x.default,"formats/image":w.default,"formats/video":k.default,"formats/list/item":c.ListItem,"modules/formula":S.default,"modules/syntax":C.default,"modules/toolbar":E.default,"themes/bubble":R.default,"themes/snow":L.default,"ui/icons":O.default,"ui/picker":P.default,"ui/icon-picker":T.default,"ui/color-picker":M.default,"ui/tooltip":N.default},!0),e.default=r.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.IndentClass=void 0;var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"add",value:function(t,n){if("+1"===n||"-1"===n){var r=this.value(t)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(t),!0):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"add",this).call(this,t,n)}},{key:"canAdd",value:function(t,n){return i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,n)||i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"canAdd",this).call(this,t,parseInt(n))}},{key:"value",value:function(t){return parseInt(i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"value",this).call(this,t))||void 0}}]),e}(s.default.Attributor.Class),c=new l("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});e.IndentClass=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(4),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);i.blotName="blockquote",i.tagName="blockquote",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(4),a=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"formats",value:function(t){return this.tagName.indexOf(t.tagName)+1}}]),e}(((r=i)&&r.__esModule?r:{default:r}).default);a.blotName="header",a.tagName=["H1","H2","H3","H4","H5","H6"],e.default=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ListItem=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(4)),s=l(n(25));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,[{key:"format",value:function(t,n){t!==f.blotName||n?o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(t,n){return this.parent.isolate(this.offset(this.parent),this.length()),t===this.parent.statics.blotName?(this.parent.replaceWith(t,n),this):(this.parent.unwrap(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t,n))}}],[{key:"formats",value:function(t){return t.tagName===this.tagName?void 0:o(e.__proto__||Object.getPrototypeOf(e),"formats",this).call(this,t)}}]),e}(a.default);h.blotName="list-item",h.tagName="LI";var f=function(t){function e(t){c(this,e);var n=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t)),r=function(e){if(e.target.parentNode===t){var r=n.statics.formats(t),o=i.default.find(e.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return t.addEventListener("touchstart",r),t.addEventListener("mousedown",r),n}return d(e,t),r(e,null,[{key:"create",value:function(t){var n="ordered"===t?"OL":"UL",r=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,n);return"checked"!==t&&"unchecked"!==t||r.setAttribute("data-checked","checked"===t),r}},{key:"formats",value:function(t){return"OL"===t.tagName?"ordered":"UL"===t.tagName?t.hasAttribute("data-checked")?"true"===t.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(e,[{key:"format",value:function(t,e){this.children.length>0&&this.children.tail.format(t,e)}},{key:"formats",value:function(){return t={},e=this.statics.blotName,n=this.statics.formats(this.domNode),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}},{key:"insertBefore",value:function(t,n){if(t instanceof h)o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"insertBefore",this).call(this,t,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(t,i)}}},{key:"optimize",value:function(t){o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"optimize",this).call(this,t);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(t){if(t.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);t.moveChildren(n),this.appendChild(n)}o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replace",this).call(this,t)}}]),e}(s.default);f.blotName="list",f.scope=i.default.Scope.BLOCK_BLOT,f.tagName=["OL","UL"],f.defaultChild="list-item",f.allowedChildren=[h],e.ListItem=h,e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(56),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);i.blotName="italic",i.tagName=["EM","I"],e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6),s=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,null,[{key:"create",value:function(t){return"super"===t?document.createElement("sup"):"sub"===t?document.createElement("sub"):i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t)}},{key:"formats",value:function(t){return"SUB"===t.tagName?"sub":"SUP"===t.tagName?"super":void 0}}]),e}(((r=a)&&r.__esModule?r:{default:r}).default);s.blotName="script",s.tagName=["SUB","SUP"],e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);i.blotName="strike",i.tagName="S",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=n(6),i=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(((r=o)&&r.__esModule?r:{default:r}).default);i.blotName="underline",i.tagName="U",e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l=n(27),c=["alt","height","width"],u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){c.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return c.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"match",value:function(t){return/\.(jpe?g|gif|png)$/.test(t)||/^data:image\/.+;base64/.test(t)}},{key:"sanitize",value:function(t){return(0,l.sanitize)(t,["http","https","data"])?t:"//:0"}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(s.default.Embed);u.blotName="image",u.tagName="IMG",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r,o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(4),s=n(27),l=(r=s)&&r.__esModule?r:{default:r},c=["height","width"],u=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"format",value:function(t,n){c.indexOf(t)>-1?n?this.domNode.setAttribute(t,n):this.domNode.removeAttribute(t):i(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"format",this).call(this,t,n)}}],[{key:"create",value:function(t){var n=i(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(t)),n}},{key:"formats",value:function(t){return c.reduce(function(e,n){return t.hasAttribute(n)&&(e[n]=t.getAttribute(n)),e},{})}},{key:"sanitize",value:function(t){return l.default.sanitize(t)}},{key:"value",value:function(t){return t.getAttribute("src")}}]),e}(a.BlockEmbed);u.blotName="video",u.className="ql-video",u.tagName="IFRAME",e.default=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.FormulaBlot=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(35)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,null,[{key:"create",value:function(t){var n=o(e.__proto__||Object.getPrototypeOf(e),"create",this).call(this,t);return"string"===typeof t&&(window.katex.render(t,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",t)),n}},{key:"value",value:function(t){return t.getAttribute("data-value")}}]),e}(i.default);h.blotName="formula",h.className="ql-formula",h.tagName="SPAN";var f=function(t){function e(){c(this,e);var t=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return t}return d(e,t),r(e,null,[{key:"register",value:function(){a.default.register(h,!0)}}]),e}(s.default);e.FormulaBlot=h,e.default=f},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.CodeToken=e.CodeBlock=void 0;var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),o=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(5)),s=l(n(9));function l(t){return t&&t.__esModule?t:{default:t}}function c(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function d(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var h=function(t){function e(){return c(this,e),u(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return d(e,t),r(e,[{key:"replaceWith",value:function(t){this.domNode.textContent=this.domNode.textContent,this.attach(),o(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"replaceWith",this).call(this,t)}},{key:"highlight",value:function(t){var e=this.domNode.textContent;this.cachedText!==e&&((e.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=t(e),this.domNode.normalize(),this.attach()),this.cachedText=e)}}]),e}(l(n(13)).default);h.className="ql-syntax";var f=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),p=function(t){function e(t,n){c(this,e);var r=u(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));if("function"!==typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){clearTimeout(o),o=setTimeout(function(){r.highlight(),o=null},r.options.interval)}),r.highlight(),r}return d(e,t),r(e,null,[{key:"register",value:function(){a.default.register(f,!0),a.default.register(h,!0)}}]),r(e,[{key:"highlight",value:function(){var t=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var e=this.quill.getSelection();this.quill.scroll.descendants(h).forEach(function(e){e.highlight(t.options.highlight)}),this.quill.update(a.default.sources.SILENT),null!=e&&this.quill.setSelection(e,a.default.sources.SILENT)}}}]),e}(s.default);p.DEFAULTS={highlight:null==window.hljs?null:function(t){return window.hljs.highlightAuto(t).value},interval:1e3},e.CodeBlock=h,e.CodeToken=f,e.default=p},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(t,e){t.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(t,e){t.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(t,e){t.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.BubbleTooltip=void 0;var r=function t(e,n,r){null===e&&(e=Function.prototype);var o=Object.getOwnPropertyDescriptor(e,n);if(void 0===o){var i=Object.getPrototypeOf(e);return null===i?void 0:t(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=d(n(3)),a=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(t){return t&&t.__esModule?t:{default:t}}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==typeof e&&"function"!==typeof e?t:e}function p(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var g=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],m=function(t){function e(t,n){h(this,e),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=g);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.container.classList.add("ql-bubble"),r}return p(e,t),o(e,[{key:"extendToolbar",value:function(t){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(t.container),this.buildButtons([].slice.call(t.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(t.container.querySelectorAll("select")),u.default)}}]),e}(l.default);m.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(t){t?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(t){function e(t,n){h(this,e);var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return r.quill.on(a.default.events.EDITOR_CHANGE,function(t,e,n,o){if(t===a.default.events.SELECTION_CHANGE)if(null!=e&&e.length>0&&o===a.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(e.index,e.length);if(1===i.length)r.position(r.quill.getBounds(e));else{var s=i[i.length-1],l=r.quill.getIndex(s),u=Math.min(s.length()-1,e.index+e.length-l),d=r.quill.getBounds(new c.Range(l,u));r.position(d)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()}),r}return p(e,t),o(e,[{key:"listen",value:function(){var t=this;r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",function(){t.root.classList.remove("ql-editing")}),this.quill.on(a.default.events.SCROLL_OPTIMIZE,function(){setTimeout(function(){if(!t.root.classList.contains("ql-hidden")){var e=t.quill.getSelection();null!=e&&t.position(t.quill.getBounds(e))}},1)})}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(t){var n=r(e.prototype.__proto__||Object.getPrototypeOf(e.prototype),"position",this).call(this,t),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),e}(s.BaseTooltip);v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),e.BubbleTooltip=v,e.default=m},function(t,e,n){t.exports=n(63)}]).default},t.exports=e()},47781:(t,e,n)=>{"use strict";n.d(e,{B8:()=>y,Xy:()=>x,_J:()=>b,ck:()=>w});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(91432),l=n(92970),c=n(25011),u=n(55003),d=n(36059),h=n(52695);const f=["children","styleType","stylePosition","spacing"],p=["as"],g=["as"],[m,v]=(0,l.q)({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),y=(0,u.R)(function(t,e){const n=(0,d.o)("List",t),l=(0,a.M)(t),{children:c,styleType:u="none",stylePosition:p,spacing:g}=l,v=(0,o.A)(l,f),y=(0,s.a)(c),b="& > *:not(style) ~ *:not(style)",x=g?{[b]:{mt:g}}:{};return(0,i.jsx)(m,{value:n,children:(0,i.jsx)(h.B.ul,(0,r.A)((0,r.A)({ref:e,listStyleType:u,listStylePosition:p,role:"list",__css:(0,r.A)((0,r.A)({},n.container),x)},v),{},{children:y}))})});y.displayName="List";const b=(0,u.R)((t,e)=>{const{as:n}=t,a=(0,o.A)(t,p);return(0,i.jsx)(y,(0,r.A)({ref:e,as:"ol",styleType:"decimal",marginStart:"1em"},a))});b.displayName="OrderedList";const x=(0,u.R)(function(t,e){const{as:n}=t,a=(0,o.A)(t,g);return(0,i.jsx)(y,(0,r.A)({ref:e,as:"ul",styleType:"initial",marginStart:"1em"},a))});x.displayName="UnorderedList";const w=(0,u.R)(function(t,e){const n=v();return(0,i.jsx)(h.B.li,(0,r.A)((0,r.A)({ref:e},t),{},{__css:n.item}))});w.displayName="ListItem";(0,u.R)(function(t,e){const n=v();return(0,i.jsx)(c.I,(0,r.A)((0,r.A)({ref:e,role:"presentation"},t),{},{__css:n.icon}))}).displayName="ListIcon"},47891:(t,e,n)=>{"use strict";n.d(e,{P:()=>i});var r=n(12440),o=n(62316);function i(t,e){const n=(0,o.a)(t,null===e||void 0===e?void 0:e.in),i=n.getFullYear(),a=n.getMonth(),s=(0,r.w)(n,0);return s.setFullYear(i,a+1,0),s.setHours(0,0,0,0),s.getDate()}},48239:(t,e,n)=>{"use strict";n.d(e,{d1:()=>m,vw:()=>g});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(92970),l=n(25011),c=n(55003),u=n(36059),d=n(52695);const h=["isDisabled","children"],[f,p]=(0,s.q)({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Tag />\" "}),g=(0,c.R)((t,e)=>{const n=(0,u.o)("Tag",t),r=(0,a.M)(t),s=(0,o.A)({display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%"},n.container);return(0,i.jsx)(f,{value:n,children:(0,i.jsx)(d.B.span,(0,o.A)((0,o.A)({ref:e},r),{},{__css:s}))})});g.displayName="Tag";const m=(0,c.R)((t,e)=>{const n=p();return(0,i.jsx)(d.B.span,(0,o.A)((0,o.A)({ref:e,noOfLines:1},t),{},{__css:n.label}))});m.displayName="TagLabel";(0,c.R)((t,e)=>(0,i.jsx)(l.I,(0,o.A)({ref:e,verticalAlign:"top",marginEnd:"0.5rem"},t))).displayName="TagLeftIcon";(0,c.R)((t,e)=>(0,i.jsx)(l.I,(0,o.A)({ref:e,verticalAlign:"top",marginStart:"0.5rem"},t))).displayName="TagRightIcon";const v=t=>(0,i.jsx)(l.I,(0,o.A)((0,o.A)({verticalAlign:"inherit",viewBox:"0 0 512 512"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})}));v.displayName="TagCloseIcon";(0,c.R)((t,e)=>{const{isDisabled:n,children:a}=t,s=(0,r.A)(t,h),l=p(),c=(0,o.A)({display:"flex",alignItems:"center",justifyContent:"center",outline:"0"},l.closeButton);return(0,i.jsx)(d.B.button,(0,o.A)((0,o.A)({ref:e,"aria-label":"close"},s),{},{type:"button",disabled:n,__css:c,children:a||(0,i.jsx)(v,{})}))}).displayName="TagCloseButton"},48734:(t,e,n)=>{var r=n(95575),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},48895:t=>{t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},48952:(t,e,n)=>{"use strict";n.d(e,{Yy:()=>y});var r=()=>"undefined"!==typeof document;var o=!1,i=null,a=!1,s=!1,l=new Set;function c(t,e){l.forEach(n=>n(t,e))}var u="undefined"!==typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function d(t){var e;a=!0,(e=t).metaKey||!u&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(i="keyboard",c("keyboard",t))}function h(t){if(i="pointer","mousedown"===t.type||"pointerdown"===t.type){a=!0;const n=t.composedPath?t.composedPath()[0]:t.target;let r=!1;try{r=n.matches(":focus-visible")}catch(e){}if(r)return;c("pointer",t)}}function f(t){var e;(0===(e=t).mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(a=!0,i="virtual")}function p(t){t.target!==window&&t.target!==document&&(t.target instanceof Element&&t.target.hasAttribute("tabindex")||(a||s||(i="virtual",c("virtual",t)),a=!1,s=!1))}function g(){a=!1,s=!0}function m(){return"pointer"!==i}function v(){if(!r()||o)return;const{focus:t}=HTMLElement.prototype;HTMLElement.prototype.focus=function(){a=!0;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.apply(this,n)},document.addEventListener("keydown",d,!0),document.addEventListener("keyup",d,!0),document.addEventListener("click",f,!0),window.addEventListener("focus",p,!0),window.addEventListener("blur",g,!1),"undefined"!==typeof PointerEvent?(document.addEventListener("pointerdown",h,!0),document.addEventListener("pointermove",h,!0),document.addEventListener("pointerup",h,!0)):(document.addEventListener("mousedown",h,!0),document.addEventListener("mousemove",h,!0),document.addEventListener("mouseup",h,!0)),o=!0}function y(t){v(),t(m());const e=()=>t(m());return l.add(e),()=>{l.delete(e)}}},49027:(t,e,n)=>{"use strict";n.d(e,{Q:()=>g});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(91432),l=n(64844),c=n(65043),u=n(45821),d=n(55003),h=n(36059),f=n(52695);const p=["children","spacing","separator","className","listProps"],g=(0,d.R)(function(t,e){const n=(0,h.o)("Breadcrumb",t),d=(0,a.M)(t),{children:g,spacing:m="0.5rem",separator:v="/",className:y,listProps:b}=d,x=(0,o.A)(d,p),w=(0,s.a)(g),k=w.length,A=w.map((t,e)=>(0,c.cloneElement)(t,{separator:v,spacing:m,isLastChild:k===e+1})),_=(0,l.cx)("chakra-breadcrumb",y);return(0,i.jsx)(f.B.nav,(0,r.A)((0,r.A)({ref:e,"aria-label":"breadcrumb",className:_,__css:n.container},x),{},{children:(0,i.jsx)(u.H,{value:n,children:(0,i.jsx)(f.B.ol,(0,r.A)((0,r.A)({className:"chakra-breadcrumb__list"},b),{},{__css:(0,r.A)({display:"flex",alignItems:"center"},n.list),children:A}))})}))});g.displayName="Breadcrumb"},49367:(t,e,n)=>{"use strict";n.d(e,{mg:()=>it,vd:()=>Z});var r=n(80045),o=n(54705),i=n(89379),a=n(65043),s=n(66366),l=n.n(s),c=n(22740),u=n.n(c),d=n(17324),h=n.n(d);const f=["children"],p=["children"];var g,m,v=(t=>(t.BASE="base",t.BODY="body",t.HEAD="head",t.HTML="html",t.LINK="link",t.META="meta",t.NOSCRIPT="noscript",t.SCRIPT="script",t.STYLE="style",t.TITLE="title",t.FRAGMENT="Symbol(react.fragment)",t))(v||{}),y={rel:["amphtml","canonical","alternate"]},b={type:["application/ld+json"]},x={charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},w=Object.values(v),k={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},A=Object.entries(k).reduce((t,e)=>{let[n,r]=e;return t[r]=n,t},{}),_="data-rh",S="defaultTitle",C="defer",E="encodeSpecialCharacters",O="onChangeClientState",P="titleTemplate",M="prioritizeSeoTags",T=(t,e)=>{for(let n=t.length-1;n>=0;n-=1){const r=t[n];if(Object.prototype.hasOwnProperty.call(r,e))return r[e]}return null},N=t=>{let e=T(t,"title");const n=T(t,P);if(Array.isArray(e)&&(e=e.join("")),n&&e)return n.replace(/%s/g,()=>e);const r=T(t,S);return e||r||void 0},R=t=>T(t,O)||(()=>{}),L=(t,e)=>e.filter(e=>"undefined"!==typeof e[t]).map(e=>e[t]).reduce((t,e)=>(0,i.A)((0,i.A)({},t),e),{}),D=(t,e)=>e.filter(t=>"undefined"!==typeof t.base).map(t=>t.base).reverse().reduce((e,n)=>{if(!e.length){const r=Object.keys(n);for(let o=0;o<r.length;o+=1){const i=r[o].toLowerCase();if(-1!==t.indexOf(i)&&n[i])return e.concat(n)}}return e},[]),j=(t,e,n)=>{const r={};return n.filter(e=>{return!!Array.isArray(e[t])||("undefined"!==typeof e[t]&&(n="Helmet: ".concat(t,' should be of type "Array". Instead found type "').concat(typeof e[t],'"'),console&&"function"===typeof console.warn&&console.warn(n)),!1);var n}).map(e=>e[t]).reverse().reduce((t,n)=>{const o={};n.filter(t=>{let n;const i=Object.keys(t);for(let r=0;r<i.length;r+=1){const o=i[r],a=o.toLowerCase();-1===e.indexOf(a)||"rel"===n&&"canonical"===t[n].toLowerCase()||"rel"===a&&"stylesheet"===t[a].toLowerCase()||(n=a),-1===e.indexOf(o)||"innerHTML"!==o&&"cssText"!==o&&"itemprop"!==o||(n=o)}if(!n||!t[n])return!1;const a=t[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][a]&&(o[n][a]=!0,!0)}).reverse().forEach(e=>t.push(e));const a=Object.keys(o);for(let e=0;e<a.length;e+=1){const t=a[e],n=(0,i.A)((0,i.A)({},r[t]),o[t]);r[t]=n}return t},[]).reverse()},I=(t,e)=>{if(Array.isArray(t)&&t.length)for(let n=0;n<t.length;n+=1){if(t[n][e])return!0}return!1},z=t=>Array.isArray(t)?t.join(""):t,B=(t,e)=>Array.isArray(t)?t.reduce((t,n)=>(((t,e)=>{const n=Object.keys(t);for(let r=0;r<n.length;r+=1)if(e[n[r]]&&e[n[r]].includes(t[n[r]]))return!0;return!1})(n,e)?t.priority.push(n):t.default.push(n),t),{priority:[],default:[]}):{default:t,priority:[]},F=(t,e)=>(0,i.A)((0,i.A)({},t),{},{[e]:void 0}),H=["noscript","script","style"],V=function(t){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(t):String(t).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},q=t=>Object.keys(t).reduce((e,n)=>{const r="undefined"!==typeof t[n]?"".concat(n,'="').concat(t[n],'"'):"".concat(n);return e?"".concat(e," ").concat(r):r},""),U=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(t).reduce((e,n)=>(e[k[n]||n]=t[n],e),e)},W=(t,e)=>e.map((e,n)=>{const r={key:n,[_]:!0};return Object.keys(e).forEach(t=>{const n=k[t]||t;if("innerHTML"===n||"cssText"===n){const t=e.innerHTML||e.cssText;r.dangerouslySetInnerHTML={__html:t}}else r[n]=e[t]}),a.createElement(t,r)}),G=function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];switch(t){case"title":return{toComponent:()=>((t,e,n)=>{const r=U(n,{key:e,[_]:!0});return[a.createElement("title",r,e)]})(0,e.title,e.titleAttributes),toString:()=>((t,e,n,r)=>{const o=q(n),i=z(e);return o?"<".concat(t," ").concat(_,'="true" ').concat(o,">").concat(V(i,r),"</").concat(t,">"):"<".concat(t," ").concat(_,'="true">').concat(V(i,r),"</").concat(t,">")})(t,e.title,e.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>U(e),toString:()=>q(e)};default:return{toComponent:()=>W(t,e),toString:()=>function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return e.reduce((e,r)=>{const o=r,i=Object.keys(o).filter(t=>!("innerHTML"===t||"cssText"===t)).reduce((t,e)=>{const r="undefined"===typeof o[e]?e:"".concat(e,'="').concat(V(o[e],n),'"');return t?"".concat(t," ").concat(r):r},""),a=o.innerHTML||o.cssText||"",s=-1===H.indexOf(t);return"".concat(e,"<").concat(t," ").concat(_,'="true" ').concat(i).concat(s?"/>":">".concat(a,"</").concat(t,">"))},"")}(t,e,n)}}},Y=t=>{const{baseTag:e,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:a,title:s="",titleAttributes:l,prioritizeSeoTags:c}=t;let{linkTags:u,metaTags:d,scriptTags:h}=t,f={toComponent:()=>{},toString:()=>""};return c&&({priorityMethods:f,linkTags:u,metaTags:d,scriptTags:h}=(t=>{let{metaTags:e,linkTags:n,scriptTags:r,encode:o}=t;const i=B(e,x),a=B(n,y),s=B(r,b);return{priorityMethods:{toComponent:()=>[...W("meta",i.priority),...W("link",a.priority),...W("script",s.priority)],toString:()=>"".concat(G("meta",i.priority,o)," ").concat(G("link",a.priority,o)," ").concat(G("script",s.priority,o))},metaTags:i.default,linkTags:a.default,scriptTags:s.default}})(t)),{priority:f,base:G("base",e,r),bodyAttributes:G("bodyAttributes",n,r),htmlAttributes:G("htmlAttributes",o,r),link:G("link",u,r),meta:G("meta",d,r),noscript:G("noscript",i,r),script:G("script",h,r),style:G("style",a,r),title:G("title",{title:s,titleAttributes:l},r)}},K=[],$=!("undefined"===typeof window||!window.document||!window.document.createElement),X=class{constructor(t,e){(0,o.A)(this,"instances",[]),(0,o.A)(this,"canUseDOM",$),(0,o.A)(this,"context",void 0),(0,o.A)(this,"value",{setHelmet:t=>{this.context.helmet=t},helmetInstances:{get:()=>this.canUseDOM?K:this.instances,add:t=>{(this.canUseDOM?K:this.instances).push(t)},remove:t=>{const e=(this.canUseDOM?K:this.instances).indexOf(t);(this.canUseDOM?K:this.instances).splice(e,1)}}}),this.context=t,this.canUseDOM=e||!1,e||(t.helmet=Y({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},Q=a.createContext({}),Z=(g=class t extends a.Component{constructor(e){super(e),(0,o.A)(this,"helmetData",void 0),this.helmetData=new X(this.props.context||{},t.canUseDOM)}render(){return a.createElement(Q.Provider,{value:this.helmetData.value},this.props.children)}},(0,o.A)(g,"canUseDOM",$),g),J=(t,e)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll("".concat(t,"[").concat(_,"]")),o=[].slice.call(r),i=[];let a;return e&&e.length&&e.forEach(e=>{const n=document.createElement(t);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t))if("innerHTML"===t)n.innerHTML=e.innerHTML;else if("cssText"===t)n.styleSheet?n.styleSheet.cssText=e.cssText:n.appendChild(document.createTextNode(e.cssText));else{const r=t,o="undefined"===typeof e[r]?"":e[r];n.setAttribute(t,o)}n.setAttribute(_,"true"),o.some((t,e)=>(a=e,n.isEqualNode(t)))?o.splice(a,1):i.push(n)}),o.forEach(t=>{var e;return null===(e=t.parentNode)||void 0===e?void 0:e.removeChild(t)}),i.forEach(t=>n.appendChild(t)),{oldTags:o,newTags:i}},tt=(t,e)=>{const n=document.getElementsByTagName(t)[0];if(!n)return;const r=n.getAttribute(_),o=r?r.split(","):[],i=[...o],a=Object.keys(e);for(const s of a){const t=e[s]||"";n.getAttribute(s)!==t&&n.setAttribute(s,t),-1===o.indexOf(s)&&o.push(s);const r=i.indexOf(s);-1!==r&&i.splice(r,1)}for(let s=i.length-1;s>=0;s-=1)n.removeAttribute(i[s]);o.length===i.length?n.removeAttribute(_):n.getAttribute(_)!==a.join(",")&&n.setAttribute(_,a.join(","))},et=(t,e)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:a,noscriptTags:s,onChangeClientState:l,scriptTags:c,styleTags:u,title:d,titleAttributes:h}=t;tt("body",r),tt("html",o),((t,e)=>{"undefined"!==typeof t&&document.title!==t&&(document.title=z(t)),tt("title",e)})(d,h);const f={baseTag:J("base",n),linkTags:J("link",i),metaTags:J("meta",a),noscriptTags:J("noscript",s),scriptTags:J("script",c),styleTags:J("style",u)},p={},g={};Object.keys(f).forEach(t=>{const{newTags:e,oldTags:n}=f[t];e.length&&(p[t]=e),n.length&&(g[t]=f[t].oldTags)}),e&&e(),l(t,p,g)},nt=null,rt=t=>{nt&&cancelAnimationFrame(nt),t.defer?nt=requestAnimationFrame(()=>{et(t,()=>{nt=null})}):(et(t),nt=null)},ot=class extends a.Component{constructor(){super(...arguments),(0,o.A)(this,"rendered",!1)}shouldComponentUpdate(t){return!h()(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:e}=this.props.context;let n=null;const r=(o=t.get().map(t=>{const e=(0,i.A)({},t.props);return delete e.context,e}),{baseTag:D(["href"],o),bodyAttributes:L("bodyAttributes",o),defer:T(o,C),encode:T(o,E),htmlAttributes:L("htmlAttributes",o),linkTags:j("link",["rel","href"],o),metaTags:j("meta",["name","charset","http-equiv","property","itemprop"],o),noscriptTags:j("noscript",["innerHTML"],o),onChangeClientState:R(o),scriptTags:j("script",["src","innerHTML"],o),styleTags:j("style",["cssText"],o),title:N(o),titleAttributes:L("titleAttributes",o),prioritizeSeoTags:I(o,M)});var o;Z.canUseDOM?rt(r):Y&&(n=Y(r)),e(n)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},it=(m=class extends a.Component{shouldComponentUpdate(t){return!l()(F(this.props,"helmetData"),F(t,"helmetData"))}mapNestedChildrenToProps(t,e){if(!e)return null;switch(t.type){case"script":case"noscript":return{innerHTML:e};case"style":return{cssText:e};default:throw new Error("<".concat(t.type," /> elements are self-closing and can not contain children. Refer to our API for more information."))}}flattenArrayTypeChildren(t,e,n,r){return(0,i.A)((0,i.A)({},e),{},{[t.type]:[...e[t.type]||[],(0,i.A)((0,i.A)({},n),this.mapNestedChildrenToProps(t,r))]})}mapObjectTypeChildren(t,e,n,r){switch(t.type){case"title":return(0,i.A)((0,i.A)({},e),{},{[t.type]:r,titleAttributes:(0,i.A)({},n)});case"body":return(0,i.A)((0,i.A)({},e),{},{bodyAttributes:(0,i.A)({},n)});case"html":return(0,i.A)((0,i.A)({},e),{},{htmlAttributes:(0,i.A)({},n)});default:return(0,i.A)((0,i.A)({},e),{},{[t.type]:(0,i.A)({},n)})}}mapArrayTypeChildrenToProps(t,e){let n=(0,i.A)({},e);return Object.keys(t).forEach(e=>{n=(0,i.A)((0,i.A)({},n),{},{[e]:t[e]})}),n}warnOnInvalidChildren(t,e){return u()(w.some(e=>t.type===e),"function"===typeof t.type?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types ".concat(w.join(", ")," are allowed. Helmet does not support rendering <").concat(t.type,"> elements. Refer to our API for more information.")),u()(!e||"string"===typeof e||Array.isArray(e)&&!e.some(t=>"string"!==typeof t),"Helmet expects a string as a child of <".concat(t.type,">. Did you forget to wrap your children in braces? ( <").concat(t.type,">{``}</").concat(t.type,"> ) Refer to our API for more information.")),!0}mapChildrenToProps(t,e){let n={};return a.Children.forEach(t,t=>{if(!t||!t.props)return;const o=t.props,{children:i}=o,a=(0,r.A)(o,f),s=Object.keys(a).reduce((t,e)=>(t[A[e]||e]=a[e],t),{});let{type:l}=t;switch("symbol"===typeof l?l=l.toString():this.warnOnInvalidChildren(t,i),l){case"Symbol(react.fragment)":e=this.mapChildrenToProps(i,e);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(t,n,s,i);break;default:e=this.mapObjectTypeChildren(t,e,s,i)}}),this.mapArrayTypeChildrenToProps(n,e)}render(){const t=this.props,{children:e}=t,n=(0,r.A)(t,p);let o=(0,i.A)({},n),{helmetData:s}=n;if(e&&(o=this.mapChildrenToProps(e,o)),s&&!(s instanceof X)){s=new X(s.context,!0),delete o.helmetData}return s?a.createElement(ot,(0,i.A)((0,i.A)({},o),{},{context:s.value})):a.createElement(Q.Consumer,null,t=>a.createElement(ot,(0,i.A)((0,i.A)({},o),{},{context:t})))}},(0,o.A)(m,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),m)},49939:(t,e,n)=>{"use strict";n.d(e,{j:()=>o});var r=n(68664);const o=function(){let t=[],e=0,n=t=>{t()},o=t=>{t()};const i=o=>{e?t.push(o):(0,r.G6)(()=>{n(o)})},a=()=>{const e=t;t=[],e.length&&(0,r.G6)(()=>{o(()=>{e.forEach(t=>{n(t)})})})};return{batch:t=>{let n;e++;try{n=t()}finally{e--,e||a()}return n},batchCalls:t=>function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];i(()=>{t(...n)})},schedule:i,setNotifyFunction:t=>{n=t},setBatchNotifyFunction:t=>{o=t}}}()},50464:(t,e,n)=>{"use strict";n.d(e,{c:()=>M,M:()=>T});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(91432),l=n(64844),c=n(65043),u=n(17212),d=n(43194),h=n(92970),f=n(43464),p=n(86219),g=n(32315);const m=["index"],[v,y,b,x]=(0,g.D)(),[w,k]=(0,h.q)({name:"PinInputContext",errorMessage:"usePinInputContext: `context` is undefined. Seems you forgot to place all pin input fields within `<PinInput />`"}),A=t=>null===t||void 0===t?void 0:t.split("");function _(t,e){return("alphanumeric"===e?/^[a-zA-Z0-9]+$/i:/^[0-9]+$/).test(t)}var S=n(55003),C=n(36059),E=n(52695);const O=["children"],P=["descendants"];function M(t){const e=(0,C.V)("PinInput",t),n=(0,a.M)(t),{children:l}=n,d=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{autoFocus:e,value:n,defaultValue:i,onChange:a,onComplete:s,placeholder:l="\u25cb",manageFocus:d=!0,otp:h=!1,id:g,isDisabled:v,isInvalid:y,type:x="number",mask:w}=t,k=(0,c.useId)(),S=null!==g&&void 0!==g?g:"pin-input-".concat(k),C=b(),[E,O]=(0,c.useState)(!0),[P,M]=(0,c.useState)(-1),[T,N]=(0,u.i)({defaultValue:A(i)||[],value:A(n),onChange:t=>null===a||void 0===a?void 0:a(t.join(""))});(0,c.useEffect)(()=>{if(e){const t=C.first();t&&requestAnimationFrame(()=>{t.node.focus()})}},[C]);const R=(0,c.useCallback)(t=>{if(!E||!d)return;const e=C.next(t,!1);e&&requestAnimationFrame(()=>{e.node.focus()})},[C,E,d]),L=(0,c.useCallback)(function(t,e){let n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const r=[...T];r[e]=t,N(r),""!==t&&r.length===C.count()&&r.every(t=>null!=t&&""!==t)?null===s||void 0===s||s(r.join("")):n&&R(e)},[T,N,R,s,C]),D=(0,c.useCallback)(()=>{var t;const e=Array(C.count()).fill("");N(e);const n=C.first();null===n||void 0===n||null===(t=n.node)||void 0===t||t.focus()},[C,N]),j=(0,c.useCallback)((t,e)=>{let n=e;return(null===t||void 0===t?void 0:t.length)>0&&(t[0]===e.charAt(0)?n=e.charAt(1):t[0]===e.charAt(1)&&(n=e.charAt(0))),n},[]);return{getInputProps:(0,c.useCallback)(t=>{const{index:e}=t,n=(0,o.A)(t,m),i=P===e,a="number"===x?"tel":"text";return(0,r.A)((0,r.A)({"aria-label":"Please enter your pin code",inputMode:"number"===x?"numeric":"text",type:w?"password":a},n),{},{id:"".concat(S,"-").concat(e),disabled:v,"aria-invalid":(0,f.r)(y),onChange:(0,p.H)(n.onChange,t=>{const n=t.currentTarget.value,r=T[e],o=j(r,n);if(""!==o)if(n.length>2){if(_(n,x)){const t=n.split("").filter((t,e)=>e<C.count());N(t),t.length===C.count()&&(null===s||void 0===s||s(t.join("")))}}else _(o,x)&&L(o,e),O(!0);else L("",e)}),onKeyDown:(0,p.H)(n.onKeyDown,t=>{if("Backspace"===t.key&&d)if(""===t.currentTarget.value){const t=C.prev(e,!1);var n;t&&(L("",e-1,!1),null===(n=t.node)||void 0===n||n.focus(),O(!0))}else O(!1)}),onFocus:(0,p.H)(n.onFocus,()=>{M(e)}),onBlur:(0,p.H)(n.onBlur,()=>{M(-1)}),value:T[e]||"",autoComplete:h?"one-time-code":"off",placeholder:i?"":l})},[C,P,j,S,v,w,y,d,s,h,l,L,N,x,T]),id:S,descendants:C,values:T,setValue:L,setValues:N,clear:D}}((0,o.A)(n,O)),{descendants:h}=d,g=(0,o.A)(d,P),y=(0,s.a)(l).map(t=>(0,c.cloneElement)(t,{__css:e}));return(0,i.jsx)(v,{value:h,children:(0,i.jsx)(w,{value:g,children:y})})}M.displayName="PinInput";const T=(0,S.R)(function(t,e){const n=function(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{getInputProps:o}=k(),{index:i,register:a}=x();return o((0,r.A)((0,r.A)({},e),{},{ref:(0,d.Px)(a,n),index:null!==(t=e.index)&&void 0!==t?t:i}))}(t,e);return(0,i.jsx)(E.B.input,(0,r.A)((0,r.A)({},n),{},{className:(0,l.cx)("chakra-pin-input",t.className)}))});T.displayName="PinInputField"},50516:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},50797:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]])},50849:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});let r={};function o(){return r}},51129:(t,e,n)=>{"use strict";n.d(e,{t:()=>b});var r=n(65043),o=n(49939),i=n(28873);function a(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}const s=r.createContext(a()),l=()=>r.useContext(s);var c=n(59781);const u=r.createContext(!1),d=()=>r.useContext(u);u.Provider;var h=n(84084);const f=(t,e)=>{(t.suspense||t.useErrorBoundary)&&(e.isReset()||(t.retryOnMount=!1))},p=t=>{r.useEffect(()=>{t.clearReset()},[t])},g=t=>{let{result:e,errorResetBoundary:n,useErrorBoundary:r,query:o}=t;return e.isError&&!n.isReset()&&!e.isFetching&&(0,h.G)(r,[e.error,o])},m=t=>{t.suspense&&"number"!==typeof t.staleTime&&(t.staleTime=1e3)},v=(t,e,n)=>(null==t?void 0:t.suspense)&&((t,e)=>t.isLoading&&t.isFetching&&!e)(e,n),y=(t,e,n)=>e.fetchOptimistic(t).then(e=>{let{data:n}=e;null==t.onSuccess||t.onSuccess(n),null==t.onSettled||t.onSettled(n,null)}).catch(e=>{n.clearReset(),null==t.onError||t.onError(e),null==t.onSettled||t.onSettled(void 0,e)});function b(t,e){const n=(0,c.jE)({context:t.context}),a=d(),s=l(),u=n.defaultQueryOptions(t);u._optimisticResults=a?"isRestoring":"optimistic",u.onError&&(u.onError=o.j.batchCalls(u.onError)),u.onSuccess&&(u.onSuccess=o.j.batchCalls(u.onSuccess)),u.onSettled&&(u.onSettled=o.j.batchCalls(u.onSettled)),m(u),f(u,s),p(s);const[h]=r.useState(()=>new e(n,u)),b=h.getOptimisticResult(u);if((0,i.r)(r.useCallback(t=>{const e=a?()=>{}:h.subscribe(o.j.batchCalls(t));return h.updateResult(),e},[h,a]),()=>h.getCurrentResult(),()=>h.getCurrentResult()),r.useEffect(()=>{h.setOptions(u,{listeners:!1})},[u,h]),v(u,b,a))throw y(u,h,s);if(g({result:b,errorResetBoundary:s,useErrorBoundary:u.useErrorBoundary,query:h.getCurrentQuery()}))throw b.error;return u.notifyOnChangeProps?b:h.trackResult(b)}},51153:(t,e,n)=>{"use strict";var r=n(65043),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(t,e,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==e.key&&(c=""+e.key),void 0!==e.ref&&(u=e.ref),e)a.call(e,r)&&!l.hasOwnProperty(r)&&(i[r]=e[r]);if(t&&t.defaultProps)for(r in e=t.defaultProps)void 0===i[r]&&(i[r]=e[r]);return{$$typeof:o,type:t,key:c,ref:u,props:i,_owner:s.current}}e.Fragment=i,e.jsx=c,e.jsxs=c},51268:(t,e,n)=>{var r=n(35428),o=n(47574),i=n(56832),a=i&&i.isTypedArray,s=a?o(a):r;t.exports=s},51794:(t,e,n)=>{"use strict";n.d(e,{T:()=>u});var r=n(89379),o=n(70579),i=n(64844),a=n(3109),s=n(7547),l=n(55003),c=n(52695);const u=(0,l.R)(function(t,e){const n=(0,s.uo)(t),l=(0,a.e)();return(0,o.jsx)(c.B.div,(0,r.A)((0,r.A)({},n),{},{width:"100%",ref:e,className:(0,i.cx)("chakra-tabs__tab-panels",t.className),__css:l.tabpanels}))});u.displayName="TabPanels"},51844:(t,e,n)=>{"use strict";n.d(e,{x:()=>o});var r=n(12440);function o(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];const i=r.w.bind(null,t||n.find(t=>"object"===typeof t));return n.map(i)}},51892:(t,e,n)=>{"use strict";n.d(e,{l:()=>r});const r=t=>t},51946:(t,e,n)=>{var r=n(61340);t.exports=function(t){return r(this.__data__,t)>-1}},52074:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t){n[++e]=t}),n}},52587:t=>{t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}},52695:(t,e,n)=>{"use strict";n.d(e,{B:()=>L});var r=n(89379),o=n(80045),i=n(2206),a=n(94975);var s=n(72157);var l=n(15156),c=n(58168),u=n(12432),d=n(66598),h=n(69436),f=n(81722),p=n(65043),g=n(30918),m=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,v=(0,g.A)(function(t){return m.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}),y=function(t){return"theme"!==t},b=function(t){return"string"===typeof t&&t.charCodeAt(0)>96?v:y},x=function(t,e,n){var r;if(e){var o=e.shouldForwardProp;r=t.__emotion_forwardProp&&o?function(e){return t.__emotion_forwardProp(e)&&o(e)}:o}return"function"!==typeof r&&n&&(r=t.__emotion_forwardProp),r},w=function(t){var e=t.cache,n=t.serialized,r=t.isStringTag;return(0,f.SF)(e,n,r),(0,h.s)(function(){return(0,f.sk)(e,n,r)}),null},k=function t(e,n){var r,o,i=e.__emotion_real===e,a=i&&e.__emotion_base||e;void 0!==n&&(r=n.label,o=n.target);var s=x(e,n,i),l=s||b(a),h=!l("as");return function(){var g=arguments,m=i&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==r&&m.push("label:"+r+";"),null==g[0]||void 0===g[0].raw)m.push.apply(m,g);else{var v=g[0];m.push(v[0]);for(var y=g.length,k=1;k<y;k++)m.push(g[k],v[k])}var A=(0,u.w)(function(t,e,n){var r=h&&t.as||a,i="",c=[],g=t;if(null==t.theme){for(var v in g={},t)g[v]=t[v];g.theme=p.useContext(u.T)}"string"===typeof t.className?i=(0,f.Rk)(e.registered,c,t.className):null!=t.className&&(i=t.className+" ");var y=(0,d.J)(m.concat(c),e.registered,g);i+=e.key+"-"+y.name,void 0!==o&&(i+=" "+o);var x=h&&void 0===s?b(r):l,k={};for(var A in t)h&&"as"===A||x(A)&&(k[A]=t[A]);return k.className=i,n&&(k.ref=n),p.createElement(p.Fragment,null,p.createElement(w,{cache:e,serialized:y,isStringTag:"string"===typeof r}),p.createElement(r,k))});return A.displayName=void 0!==r?r:"Styled("+("string"===typeof a?a:a.displayName||a.name||"Component")+")",A.defaultProps=e.defaultProps,A.__emotion_real=A,A.__emotion_base=a,A.__emotion_styles=m,A.__emotion_forwardProp=s,Object.defineProperty(A,"toString",{value:function(){return"."+o}}),A.withComponent=function(e,r){return t(e,(0,c.A)({},n,r,{shouldForwardProp:x(A,r,!0)})).apply(void 0,m)},A}}.bind(null);["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(t){k[t]=k(t)});const A=new Set([...i.q8,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),_=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function S(t){return(_.has(t)||!A.has(t))&&"_"!==t[0]}var C=n(44093);const E=["theme","css","__css","sx"],O=["baseStyle"],P=["children"],M=(T=k).default||T;var T;const N=t=>{let{baseStyle:e}=t;return t=>{const{theme:n,css:c,__css:u,sx:d}=t,h=(0,o.A)(t,E),[f]=function(t){const e=Object.getOwnPropertyDescriptors(t),n=Object.keys(e),r=t=>{const n={};for(let r=0;r<t.length;r++){const o=t[r];e[o]&&(Object.defineProperty(n,o,e[o]),delete e[o])}return n};for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return i.map(t=>r(Array.isArray(t)?t:n.filter(t))).concat(r(n))}(h,i.HU),p=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");const e=(0,r.A)({},t);for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];for(const r of o)if(null!=r)for(const t in r)Object.prototype.hasOwnProperty.call(r,t)&&(t in e&&delete e[t],e[t]=r[t]);return e}({},u,(0,s.J)(e,t),(0,l.o)(f),d),g=(0,a.A)(p)(t.theme);return c?[g,c]:g}};function R(t,e){const n=null!==e&&void 0!==e?e:{},{baseStyle:i}=n,a=(0,o.A)(n,O);a.shouldForwardProp||(a.shouldForwardProp=S);const s=N({baseStyle:i}),l=M(t,a)(s);return(0,p.forwardRef)(function(t,e){const{children:n}=t,i=(0,o.A)(t,P),{colorMode:a,forced:s}=(0,C.G6)(),c=s?a:void 0;return(0,p.createElement)(l,(0,r.A)({ref:e,"data-theme":c},i),n)})}const L=function(){const t=new Map;return new Proxy(R,{apply:(t,e,n)=>R(...n),get:(e,n)=>(t.has(n)||t.set(n,R(n)),t.get(n))})}()},53165:(t,e,n)=>{"use strict";n.d(e,{J:()=>a,y:()=>s});var r=n(65043),o=Object.defineProperty,i=(t,e,n)=>(((t,e,n)=>{e in t?o(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n})(t,"symbol"!==typeof e?e+"":e,n),n);const a=new class{constructor(){i(this,"modals"),this.modals=new Set}add(t){return this.modals.add(t),this.modals.size}remove(t){this.modals.delete(t)}isTopModal(t){if(!t)return!1;return t===Array.from(this.modals)[this.modals.size-1]}};function s(t,e){const[n,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{const n=t.current;if(n){if(e){const t=a.add(n);o(t)}return()=>{a.remove(n),o(0)}}},[e,t]),n}},53332:(t,e,n)=>{"use strict";n.d(e,{v:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(94217),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const n=(0,a.E)();return(0,o.jsx)(l.B.dt,(0,r.A)((0,r.A)({ref:e},t),{},{className:(0,i.cx)("chakra-stat__label",t.className),__css:n.label}))});c.displayName="StatLabel"},53407:(t,e,n)=>{"use strict";n.d(e,{S:()=>g});var r=n(80045),o=n(89379),i=n(70579),a=n(64844),s=n(17533),l=n(13729),c=n(96938),u=n(65043),d=n(42615);const h=["in","unmountOnExit","animateOpacity","startingHeight","endingHeight","style","className","transition","transitionEnd","animatePresenceProps"],f={exit:{height:{duration:.2,ease:d.xf.ease},opacity:{duration:.3,ease:d.xf.ease}},enter:{height:{duration:.3,ease:d.xf.ease},opacity:{duration:.4,ease:d.xf.ease}}},p={exit:t=>{var e;let{animateOpacity:n,startingHeight:r,transition:i,transitionEnd:a,delay:s}=t;return(0,o.A)((0,o.A)({},n&&{opacity:(l=r,null!=l&&parseInt(l.toString(),10)>0?1:0)}),{},{height:r,transitionEnd:null===a||void 0===a?void 0:a.exit,transition:null!==(e=null===i||void 0===i?void 0:i.exit)&&void 0!==e?e:d.yA.exit(f.exit,s)});var l},enter:t=>{var e;let{animateOpacity:n,endingHeight:r,transition:i,transitionEnd:a,delay:s}=t;return(0,o.A)((0,o.A)({},n&&{opacity:1}),{},{height:r,transitionEnd:null===a||void 0===a?void 0:a.enter,transition:null!==(e=null===i||void 0===i?void 0:i.enter)&&void 0!==e?e:d.yA.enter(f.enter,s)})}},g=(0,u.forwardRef)((t,e)=>{const{in:n,unmountOnExit:d,animateOpacity:f=!0,startingHeight:g=0,endingHeight:m="auto",style:v,className:y,transition:b,transitionEnd:x,animatePresenceProps:w}=t,k=(0,r.A)(t,h),[A,_]=(0,u.useState)(!1);(0,u.useEffect)(()=>{const t=setTimeout(()=>{_(!0)});return()=>clearTimeout(t)},[]),(0,s.R)({condition:Number(g)>0&&!!d,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});const S=parseFloat(g.toString())>0,C={startingHeight:g,endingHeight:m,animateOpacity:f,transition:A?b:{enter:{duration:0}},transitionEnd:{enter:null===x||void 0===x?void 0:x.enter,exit:d?null===x||void 0===x?void 0:x.exit:(0,o.A)((0,o.A)({},null===x||void 0===x?void 0:x.exit),{},{display:S?"block":"none"})}},E=!d||n,O=n||d?"enter":"exit";return(0,i.jsx)(c.N,(0,o.A)((0,o.A)({},w),{},{initial:!1,custom:C,children:E&&(0,i.jsx)(l.P.div,(0,o.A)((0,o.A)({ref:e},k),{},{className:(0,a.cx)("chakra-collapse",y),style:(0,o.A)({overflow:"hidden",display:"block"},v),custom:C,variants:p,initial:!!d&&"exit",animate:O,exit:"exit"}))}))});g.displayName="Collapse"},53560:(t,e,n)=>{"use strict";n.d(e,{D:()=>y});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(59883),l=n(55003),c=n(52695);const u=(0,l.R)((t,e)=>{const n=(0,s.$)();return(0,i.jsx)(c.B.span,(0,r.A)((0,r.A)({ref:e},t),{},{__css:n.command,className:"chakra-menu__command"}))});u.displayName="MenuCommand";var d=n(65043);const h=["className","children"],f=t=>{const{className:e,children:n}=t,l=(0,o.A)(t,h),u=(0,s.$)(),f=d.Children.only(n),p=(0,d.isValidElement)(f)?(0,d.cloneElement)(f,{focusable:"false","aria-hidden":!0,className:(0,a.cx)("chakra-menu__icon",f.props.className)}):null,g=(0,a.cx)("chakra-menu__icon-wrapper",e);return(0,i.jsx)(c.B.span,(0,r.A)((0,r.A)({className:g},l),{},{__css:u.icon,children:p}))};f.displayName="MenuIcon";const p=["type"],g=(0,l.R)((t,e)=>{const{type:n}=t,a=(0,o.A)(t,p),l=(0,s.$)(),u=a.as||n?null!==n&&void 0!==n?n:void 0:"button",h=(0,d.useMemo)(()=>(0,r.A)({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0},l.item),[l.item]);return(0,i.jsx)(c.B.button,(0,r.A)((0,r.A)({ref:e,type:u},a),{},{__css:h}))});var m=n(41282);const v=["icon","iconSpacing","command","commandSpacing","children"],y=(0,l.R)((t,e)=>{const{icon:n,iconSpacing:s="0.75rem",command:l,commandSpacing:c="0.75rem",children:d}=t,h=(0,o.A)(t,v),p=(0,m.Os)(h,e),y=n||l?(0,i.jsx)("span",{style:{pointerEvents:"none",flex:1},children:d}):d;return(0,i.jsxs)(g,(0,r.A)((0,r.A)({},p),{},{className:(0,a.cx)("chakra-menu__menuitem",p.className),children:[n&&(0,i.jsx)(f,{fontSize:"0.8em",marginEnd:s,children:n}),y,l&&(0,i.jsx)(u,{marginStart:c,children:l})]}))});y.displayName="MenuItem"},53710:(t,e,n)=>{"use strict";n.d(e,{r:()=>r});const r=(0,n(14010).w)({d:"M21.4,13.7C20.6,13.9,19.8,14,19,14c-5,0-9-4-9-9c0-0.8,0.1-1.6,0.3-2.4c0.1-0.3,0-0.7-0.3-1 c-0.3-0.3-0.6-0.4-1-0.3C4.3,2.7,1,7.1,1,12c0,6.1,4.9,11,11,11c4.9,0,9.3-3.3,10.6-8.1c0.1-0.3,0-0.7-0.3-1 C22.1,13.7,21.7,13.6,21.4,13.7z",displayName:"MoonIcon"})},53763:(t,e,n)=>{"use strict";t.exports=n(54983)},54052:t=>{var e=Array.isArray;t.exports=e},54160:t=>{t.exports=function(t){var e=-1,n=Array(t.size);return t.forEach(function(t,r){n[++e]=[r,t]}),n}},54348:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("AlignRight",[["line",{x1:"21",x2:"3",y1:"6",y2:"6",key:"1fp77t"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}],["line",{x1:"21",x2:"7",y1:"18",y2:"18",key:"1g9eri"}]])},54705:(t,e,n)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function o(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}function i(t,e,n){return(e=o(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{A:()=>i})},54983:(t,e)=>{"use strict";var n="function"===typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,h=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,m=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,x=n?Symbol.for("react.scope"):60119;function w(t){if("object"===typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case u:case d:case i:case s:case a:case f:return t;default:switch(t=t&&t.$$typeof){case c:case h:case m:case g:case l:return t;default:return e}}case o:return e}}}function k(t){return w(t)===d}e.AsyncMode=u,e.ConcurrentMode=d,e.ContextConsumer=c,e.ContextProvider=l,e.Element=r,e.ForwardRef=h,e.Fragment=i,e.Lazy=m,e.Memo=g,e.Portal=o,e.Profiler=s,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(t){return k(t)||w(t)===u},e.isConcurrentMode=k,e.isContextConsumer=function(t){return w(t)===c},e.isContextProvider=function(t){return w(t)===l},e.isElement=function(t){return"object"===typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return w(t)===h},e.isFragment=function(t){return w(t)===i},e.isLazy=function(t){return w(t)===m},e.isMemo=function(t){return w(t)===g},e.isPortal=function(t){return w(t)===o},e.isProfiler=function(t){return w(t)===s},e.isStrictMode=function(t){return w(t)===a},e.isSuspense=function(t){return w(t)===f},e.isValidElementType=function(t){return"string"===typeof t||"function"===typeof t||t===i||t===d||t===s||t===a||t===f||t===p||"object"===typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===l||t.$$typeof===c||t.$$typeof===h||t.$$typeof===y||t.$$typeof===b||t.$$typeof===x||t.$$typeof===v)},e.typeOf=w},55003:(t,e,n)=>{"use strict";n.d(e,{R:()=>o});var r=n(65043);function o(t){return(0,r.forwardRef)(t)}},55206:(t,e,n)=>{"use strict";n.d(e,{t:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"ViewIcon",path:(0,r.jsxs)("g",{fill:"currentColor",children:[(0,r.jsx)("path",{d:"M23.432,10.524C20.787,7.614,16.4,4.538,12,4.6,7.6,4.537,3.213,7.615.568,10.524a2.211,2.211,0,0,0,0,2.948C3.182,16.351,7.507,19.4,11.839,19.4h.308c4.347,0,8.671-3.049,11.288-5.929A2.21,2.21,0,0,0,23.432,10.524ZM7.4,12A4.6,4.6,0,1,1,12,16.6,4.6,4.6,0,0,1,7.4,12Z"}),(0,r.jsx)("circle",{cx:"12",cy:"12",r:"2"})]})})},55395:(t,e,n)=>{"use strict";n.d(e,{Tr:()=>l});var r=n(89379),o=n(70579),i=n(80511),a=n(55003),s=n(52695);const l=(0,a.R)((t,e)=>{const n=(0,i.k)();return(0,o.jsx)(s.B.tr,(0,r.A)((0,r.A)({},t),{},{ref:e,__css:n.tr}))})},55814:(t,e,n)=>{"use strict";n.d(e,{f:()=>r});const r={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"}},56099:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]])},56173:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},56294:(t,e,n)=>{"use strict";n.d(e,{M:()=>o});var r=n(77402);function o(t){return(0,r.c)(t,["styleConfig","size","variant","colorScheme"])}},56511:(t,e,n)=>{"use strict";n.d(e,{c:()=>u});const r={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var o=n(77576);const i={date:(0,o.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,o.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var s=n(9494);const l={ordinalNumber:(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:(0,s.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var c=n(28612);const u={code:"en-US",formatDistance:(t,e,n)=>{let o;const i=r[t];return o="string"===typeof i?i:1===e?i.one:i.other.replace("{{count}}",e.toString()),null!==n&&void 0!==n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o},formatLong:i,formatRelative:(t,e,n,r)=>a[t],localize:l,match:{ordinalNumber:(0,n(81724).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:(0,c.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,c.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:(0,c.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,c.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,c.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},56529:(t,e,n)=>{"use strict";n.d(e,{j:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(64844),l=n(78460),c=n(55003),u=n(52695);const d=["className"],h=(0,c.R)((t,e)=>{const{className:n}=t,c=(0,o.A)(t,d),h=(0,s.cx)("chakra-modal__footer",n),f=(0,l.x5)(),p=(0,a.H2)((0,r.A)({display:"flex",alignItems:"center",justifyContent:"flex-end"},f.footer));return(0,i.jsx)(u.B.footer,(0,r.A)((0,r.A)({ref:e},c),{},{__css:p,className:h}))});h.displayName="ModalFooter"},56552:(t,e,n)=>{var r=n(37105),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},56814:(t,e,n)=>{"use strict";n.d(e,{I:()=>u});var r=n(89379),o=n(80045),i=n(43194),a=n(43464),s=n(65043);const l=["ref","isDisabled","isFocusable","clickOnEnter","clickOnSpace","onMouseDown","onMouseUp","onClick","onKeyDown","onKeyUp","tabIndex","onMouseOver","onMouseLeave"];function c(t){var e,n;const r=null!==(e=null===(n=t.composedPath)||void 0===n||null===(n=n.call(t))||void 0===n?void 0:n[0])&&void 0!==e?e:t.target,{tagName:o,isContentEditable:i}=r;return"INPUT"!==o&&"TEXTAREA"!==o&&!0!==i}function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{ref:e,isDisabled:n,isFocusable:u,clickOnEnter:d=!0,clickOnSpace:h=!0,onMouseDown:f,onMouseUp:p,onClick:g,onKeyDown:m,onKeyUp:v,tabIndex:y,onMouseOver:b,onMouseLeave:x}=t,w=(0,o.A)(t,l),[k,A]=(0,s.useState)(!0),[_,S]=(0,s.useState)(!1),C=function(){const t=(0,s.useRef)(new Map),e=t.current,n=(0,s.useCallback)((e,n,r,o)=>{t.current.set(r,{type:n,el:e,options:o}),e.addEventListener(n,r,o)},[]),r=(0,s.useCallback)((e,n,r,o)=>{e.removeEventListener(n,r,o),t.current.delete(r)},[]);return(0,s.useEffect)(()=>()=>{e.forEach((t,e)=>{r(t.el,t.type,e,t.options)})},[r,e]),{add:n,remove:r}}(),E=k?y:y||0,O=n&&!u,P=(0,s.useCallback)(t=>{if(n)return t.stopPropagation(),void t.preventDefault();t.currentTarget.focus(),null===g||void 0===g||g(t)},[n,g]),M=(0,s.useCallback)(t=>{_&&c(t)&&(t.preventDefault(),t.stopPropagation(),S(!1),C.remove(document,"keyup",M,!1))},[_,C]),T=(0,s.useCallback)(t=>{if(null===m||void 0===m||m(t),n||t.defaultPrevented||t.metaKey)return;if(!c(t.nativeEvent)||k)return;const e=d&&"Enter"===t.key;if(h&&" "===t.key&&(t.preventDefault(),S(!0)),e){t.preventDefault();t.currentTarget.click()}C.add(document,"keyup",M,!1)},[n,k,m,d,h,C,M]),N=(0,s.useCallback)(t=>{if(null===v||void 0===v||v(t),n||t.defaultPrevented||t.metaKey)return;if(!c(t.nativeEvent)||k)return;if(h&&" "===t.key){t.preventDefault(),S(!1);t.currentTarget.click()}},[h,k,n,v]),R=(0,s.useCallback)(t=>{0===t.button&&(S(!1),C.remove(document,"mouseup",R,!1))},[C]),L=(0,s.useCallback)(t=>{if(0!==t.button)return;if(n)return t.stopPropagation(),void t.preventDefault();k||S(!0);t.currentTarget.focus({preventScroll:!0}),C.add(document,"mouseup",R,!1),null===f||void 0===f||f(t)},[n,k,f,C,R]),D=(0,s.useCallback)(t=>{0===t.button&&(k||S(!1),null===p||void 0===p||p(t))},[p,k]),j=(0,s.useCallback)(t=>{n?t.preventDefault():null===b||void 0===b||b(t)},[n,b]),I=(0,s.useCallback)(t=>{_&&(t.preventDefault(),S(!1)),null===x||void 0===x||x(t)},[_,x]),z=(0,i.Px)(e,t=>{t&&"BUTTON"!==t.tagName&&A(!1)});return k?(0,r.A)((0,r.A)({},w),{},{ref:z,type:"button","aria-disabled":O?void 0:n,disabled:O,onClick:P,onMouseDown:f,onMouseUp:p,onKeyUp:v,onKeyDown:m,onMouseOver:b,onMouseLeave:x}):(0,r.A)((0,r.A)({},w),{},{ref:z,role:"button","data-active":(0,a.s)(_),"aria-disabled":n?"true":void 0,tabIndex:O?void 0:E,onClick:P,onMouseDown:L,onMouseUp:D,onKeyUp:N,onKeyDown:T,onMouseOver:j,onMouseLeave:I})}},56827:(t,e,n)=>{"use strict";n.d(e,{q:()=>h});var r=n(89379),o=n(70579),i=n(88787),a=n(85871),s=n(33430),l=n(34334),c=n(15707),u=n(52695);const d=t=>{const{status:e,variant:n="solid",id:r,title:d,isClosable:h,onClose:f,description:p,colorScheme:g,icon:m}=t,v=r?{root:"toast-".concat(r),title:"toast-".concat(r,"-title"),description:"toast-".concat(r,"-description")}:void 0;return(0,o.jsxs)(i.F,{addRole:!1,status:e,variant:n,id:null===v||void 0===v?void 0:v.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:g,children:[(0,o.jsx)(a._,{children:m}),(0,o.jsxs)(u.B.div,{flex:"1",maxWidth:"100%",children:[d&&(0,o.jsx)(s.X,{id:null===v||void 0===v?void 0:v.title,children:d}),p&&(0,o.jsx)(l.T,{id:null===v||void 0===v?void 0:v.description,display:"block",children:p})]}),h&&(0,o.jsx)(c.J,{size:"sm",onClick:f,position:"absolute",insetEnd:1,top:1})]})};function h(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{render:e,toastComponent:n=d}=t;return i=>"function"===typeof e?e((0,r.A)((0,r.A)({},i),t)):(0,o.jsx)(n,(0,r.A)((0,r.A)({},i),t))}},56832:(t,e,n)=>{t=n.nmd(t);var r=n(37105),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,s=function(){try{var t=i&&i.require&&i.require("util").types;return t||a&&a.binding&&a.binding("util")}catch(e){}}();t.exports=s},56874:(t,e,n)=>{var r=n(12622);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},57234:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3v0a2 2 0 0 1 2 2v0c0 1.1.9 2 2 2v0a2 2 0 0 0 2-2v0c0-1.1.9-2 2-2h3.17",key:"1fi5u6"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2v0a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"xsiumc"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},57590:()=>{},57735:(t,e,n)=>{"use strict";n.d(e,{d:()=>o});var r=n(62316);function o(t,e){return+(0,r.a)(t)>+(0,r.a)(e)}},57828:t=>{t.exports=function(){return[]}},58114:t=>{t.exports=function(t,e){return t.has(e)}},58129:(t,e,n)=>{"use strict";n.d(e,{$:()=>o,V:()=>i});var r=n(51892);let o=r.l,i=r.l},58168:(t,e,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)({}).hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(null,arguments)}n.d(e,{A:()=>r})},58584:(t,e,n)=>{"use strict";n.d(e,{d:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"DeleteIcon",path:(0,r.jsx)("g",{fill:"currentColor",children:(0,r.jsx)("path",{d:"M19.452 7.5H4.547a.5.5 0 00-.5.545l1.287 14.136A2 2 0 007.326 24h9.347a2 2 0 001.992-1.819L19.95 8.045a.5.5 0 00-.129-.382.5.5 0 00-.369-.163zm-9.2 13a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zm5 0a.75.75 0 01-1.5 0v-9a.75.75 0 011.5 0zM22 4h-4.75a.25.25 0 01-.25-.25V2.5A2.5 2.5 0 0014.5 0h-5A2.5 2.5 0 007 2.5v1.25a.25.25 0 01-.25.25H2a1 1 0 000 2h20a1 1 0 000-2zM9 3.75V2.5a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v1.25a.25.25 0 01-.25.25h-5.5A.25.25 0 019 3.75z"})})})},58861:(t,e,n)=>{"use strict";n.d(e,{B:()=>h,Q:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(65043),l=n(55003),c=n(52695);const u=["spacing","spacingX","spacingY","children","justify","direction","align","className","shouldWrapChildren"],d=["className"],h=(0,l.R)(function(t,e){const{spacing:n="0.5rem",spacingX:l,spacingY:d,children:h,justify:p,direction:g,align:m,className:v,shouldWrapChildren:y}=t,b=(0,o.A)(t,u),x=(0,s.useMemo)(()=>y?s.Children.map(h,(t,e)=>(0,i.jsx)(f,{children:t},e)):h,[h,y]);return(0,i.jsx)(c.B.div,(0,r.A)((0,r.A)({ref:e,className:(0,a.cx)("chakra-wrap",v)},b),{},{children:(0,i.jsx)(c.B.ul,{className:"chakra-wrap__list",__css:{display:"flex",flexWrap:"wrap",justifyContent:p,alignItems:m,flexDirection:g,listStyleType:"none",gap:n,columnGap:l,rowGap:d,padding:"0"},children:x})}))});h.displayName="Wrap";const f=(0,l.R)(function(t,e){const{className:n}=t,s=(0,o.A)(t,d);return(0,i.jsx)(c.B.li,(0,r.A)({ref:e,__css:{display:"flex",alignItems:"flex-start"},className:(0,a.cx)("chakra-wrap__listitem",n)},s))});f.displayName="WrapItem"},59218:(t,e,n)=>{"use strict";n.d(e,{v:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(40493),l=n(25721),c=n(53407),u=n(55003),d=n(52695);const h=["className","motionProps"],f=(0,u.R)(function(t,e){const{className:n,motionProps:u}=t,f=(0,o.A)(t,h),{reduceMotion:p}=(0,l.Dr)(),{getPanelProps:g,isOpen:m}=(0,s.AV)(),v=g(f,e),y=(0,a.cx)("chakra-accordion__panel",n),b=(0,s.EF)();p||delete v.hidden;const x=(0,i.jsx)(d.B.div,(0,r.A)((0,r.A)({},v),{},{__css:b.panel,className:y}));return p?x:(0,i.jsx)(c.S,(0,r.A)((0,r.A)({in:m},u),{},{children:x}))});f.displayName="AccordionPanel"},59395:(t,e,n)=>{var r=n(4262),o=n(69621),i=n(28673);t.exports=function(t){return r(t,i,o)}},59781:(t,e,n)=>{"use strict";n.d(e,{Ht:()=>l,jE:()=>s});var r=n(65043);const o=r.createContext(void 0),i=r.createContext(!1);function a(t,e){return t||(e&&"undefined"!==typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}const s=function(){let{context:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=r.useContext(a(t,r.useContext(i)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},l=t=>{let{client:e,children:n,context:o,contextSharing:s=!1}=t;r.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]);const l=a(o,s);return r.createElement(i.Provider,{value:!o&&s},r.createElement(l.Provider,{value:e},n))}},59883:(t,e,n)=>{"use strict";n.d(e,{$:()=>g,W:()=>m});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(92970),l=n(72157),c=n(65043),u=n(41282),d=n(17841),h=n(36059);const f=["descendants"],[p,g]=(0,s.q)({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Menu />\" "}),m=t=>{const{children:e}=t,n=(0,h.o)("Menu",t),s=(0,a.M)(t),{direction:g}=(0,d.D)(),m=(0,u.b)((0,r.A)((0,r.A)({},s),{},{direction:g})),{descendants:v}=m,y=(0,o.A)(m,f),b=(0,c.useMemo)(()=>y,[y]),{isOpen:x,onClose:w,forceUpdate:k}=b;return(0,i.jsx)(u.Xu,{value:v,children:(0,i.jsx)(u.BV,{value:b,children:(0,i.jsx)(p,{value:n,children:(0,l.J)(e,{isOpen:x,onClose:w,forceUpdate:k})})})})};m.displayName="Menu"},60014:t=>{t.exports=function(){return!1}},60482:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var r=n(89379),o=n(56827),i=n(834);const a=function(t){let e=t;const n=new Set,l=t=>{e=t(e),n.forEach(t=>t())};return{getState:()=>e,subscribe:e=>(n.add(e),()=>{l(()=>t),n.delete(e)}),removeToast:(t,e)=>{l(n=>(0,r.A)((0,r.A)({},n),{},{[e]:n[e].filter(e=>e.id!=t)}))},notify:(t,e)=>{const n=function(t){var e,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s+=1;const o=null!==(e=r.id)&&void 0!==e?e:s,i=null!==(n=r.position)&&void 0!==n?n:"bottom";return{id:o,message:t,position:i,duration:r.duration,onCloseComplete:r.onCloseComplete,onRequestRemove:()=>a.removeToast(String(o),i),status:r.status,requestClose:!1,containerStyle:r.containerStyle}}(t,e),{position:o,id:i}=n;return l(t=>{var e,i;const a=o.includes("top")?[n,...null!==(e=t[o])&&void 0!==e?e:[]]:[...null!==(i=t[o])&&void 0!==i?i:[],n];return(0,r.A)((0,r.A)({},t),{},{[o]:a})}),i},update:(t,e)=>{t&&l(n=>{const a=(0,r.A)({},n),{position:s,index:l}=(0,i.xi)(a,t);return s&&-1!==l&&(a[s][l]=(0,r.A)((0,r.A)((0,r.A)({},a[s][l]),e),{},{message:(0,o.q)(e)})),a})},closeAll:function(){let{positions:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};l(e=>(null!==t&&void 0!==t?t:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((t,n)=>(t[n]=e[n].map(t=>(0,r.A)((0,r.A)({},t),{},{requestClose:!0})),t),(0,r.A)({},e)))},close:t=>{l(e=>{const n=(0,i.r3)(e,t);return n?(0,r.A)((0,r.A)({},e),{},{[n]:e[n].map(e=>e.id==t?(0,r.A)((0,r.A)({},e),{},{requestClose:!0}):e)}):e})},isActive:t=>Boolean((0,i.xi)(a.getState(),t).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});let s=0},61143:(t,e,n)=>{var r=n(13028)(Object.keys,Object);t.exports=r},61340:(t,e,n)=>{var r=n(93211);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},61714:(t,e,n)=>{var r=n(61340);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},61724:(t,e,n)=>{"use strict";n.d(e,{l:()=>x});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(2206),l=n(65663),c=n(43464),u=n(65043),d=n(64844),h=n(55003),f=n(52695);const p=["children","placeholder","className"],g=(0,h.R)(function(t,e){const{children:n,placeholder:a,className:s}=t,l=(0,o.A)(t,p);return(0,i.jsxs)(f.B.select,(0,r.A)((0,r.A)({},l),{},{ref:e,className:(0,d.cx)("chakra-select",s),children:[a&&(0,i.jsx)("option",{value:"",children:a}),n]}))});g.displayName="SelectField";var m=n(73635),v=n(36059);const y=["rootProps","placeholder","icon","color","height","h","minH","minHeight","iconColor","iconSize"],b=["children"],x=(0,h.R)((t,e)=>{var n;const u=(0,v.o)("Select",t),d=(0,a.M)(t),{rootProps:h,placeholder:p,icon:b,color:x,height:w,h:k,minH:_,minHeight:S,iconColor:C,iconSize:E}=d,O=(0,o.A)(d,y),[P,M]=(0,l.l)(O,s.GF),T=(0,m.t)(M),N={width:"100%",height:"fit-content",position:"relative",color:x},R=(0,r.A)((0,r.A)({paddingEnd:"2rem"},u.field),{},{_focus:(0,r.A)({zIndex:"unset"},null===(n=u.field)||void 0===n?void 0:n._focus)});return(0,i.jsxs)(f.B.div,(0,r.A)((0,r.A)((0,r.A)({className:"chakra-select__wrapper",__css:N},P),h),{},{children:[(0,i.jsx)(g,(0,r.A)((0,r.A)({ref:e,height:null!==k&&void 0!==k?k:w,minH:null!==_&&void 0!==_?_:S,placeholder:p},T),{},{__css:R,children:t.children})),(0,i.jsx)(A,(0,r.A)((0,r.A)((0,r.A)({"data-disabled":(0,c.s)(T.disabled)},(C||x)&&{color:C||x}),{},{__css:u.icon},E&&{fontSize:E}),{},{children:b}))]}))});x.displayName="Select";const w=t=>(0,i.jsx)("svg",(0,r.A)((0,r.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})),k=(0,f.B)("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),A=t=>{const{children:e=(0,i.jsx)(w,{})}=t,n=(0,o.A)(t,b),a=(0,u.cloneElement)(e,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,i.jsx)(k,(0,r.A)((0,r.A)({},n),{},{className:"chakra-select__icon-wrapper",children:(0,u.isValidElement)(e)?a:null}))};A.displayName="SelectIcon"},61992:(t,e,n)=>{"use strict";n.d(e,{E:()=>Nt});var r=n(80045),o=n(89379),i=n(43194);function a(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function s(t){return t instanceof a(t).Element||t instanceof Element}function l(t){return t instanceof a(t).HTMLElement||t instanceof HTMLElement}function c(t){return"undefined"!==typeof ShadowRoot&&(t instanceof a(t).ShadowRoot||t instanceof ShadowRoot)}var u=Math.max,d=Math.min,h=Math.round;function f(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function p(){return!/^((?!chrome|android).)*safari/i.test(f())}function g(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var r=t.getBoundingClientRect(),o=1,i=1;e&&l(t)&&(o=t.offsetWidth>0&&h(r.width)/t.offsetWidth||1,i=t.offsetHeight>0&&h(r.height)/t.offsetHeight||1);var c=(s(t)?a(t):window).visualViewport,u=!p()&&n,d=(r.left+(u&&c?c.offsetLeft:0))/o,f=(r.top+(u&&c?c.offsetTop:0))/i,g=r.width/o,m=r.height/i;return{width:g,height:m,top:f,right:d+g,bottom:f+m,left:d,x:d,y:f}}function m(t){var e=a(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function v(t){return t?(t.nodeName||"").toLowerCase():null}function y(t){return((s(t)?t.ownerDocument:t.document)||window.document).documentElement}function b(t){return g(y(t)).left+m(t).scrollLeft}function x(t){return a(t).getComputedStyle(t)}function w(t){var e=x(t),n=e.overflow,r=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function k(t,e,n){void 0===n&&(n=!1);var r=l(e),o=l(e)&&function(t){var e=t.getBoundingClientRect(),n=h(e.width)/t.offsetWidth||1,r=h(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),i=y(e),s=g(t,o,n),c={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==v(e)||w(i))&&(c=function(t){return t!==a(t)&&l(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:m(t);var e}(e)),l(e)?((u=g(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):i&&(u.x=b(i))),{x:s.left+c.scrollLeft-u.x,y:s.top+c.scrollTop-u.y,width:s.width,height:s.height}}function A(t){var e=g(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function _(t){return"html"===v(t)?t:t.assignedSlot||t.parentNode||(c(t)?t.host:null)||y(t)}function S(t){return["html","body","#document"].indexOf(v(t))>=0?t.ownerDocument.body:l(t)&&w(t)?t:S(_(t))}function C(t,e){var n;void 0===e&&(e=[]);var r=S(t),o=r===(null==(n=t.ownerDocument)?void 0:n.body),i=a(r),s=o?[i].concat(i.visualViewport||[],w(r)?r:[]):r,l=e.concat(s);return o?l:l.concat(C(_(s)))}function E(t){return["table","td","th"].indexOf(v(t))>=0}function O(t){return l(t)&&"fixed"!==x(t).position?t.offsetParent:null}function P(t){for(var e=a(t),n=O(t);n&&E(n)&&"static"===x(n).position;)n=O(n);return n&&("html"===v(n)||"body"===v(n)&&"static"===x(n).position)?e:n||function(t){var e=/firefox/i.test(f());if(/Trident/i.test(f())&&l(t)&&"fixed"===x(t).position)return null;var n=_(t);for(c(n)&&(n=n.host);l(n)&&["html","body"].indexOf(v(n))<0;){var r=x(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var M="top",T="bottom",N="right",R="left",L="auto",D=[M,T,N,R],j="start",I="end",z="viewport",B="popper",F=D.reduce(function(t,e){return t.concat([e+"-"+j,e+"-"+I])},[]),H=[].concat(D,[L]).reduce(function(t,e){return t.concat([e,e+"-"+j,e+"-"+I])},[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(t){var e=new Map,n=new Set,r=[];function o(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!n.has(t)){var r=e.get(t);r&&o(r)}}),r.push(t)}return t.forEach(function(t){e.set(t.name,t)}),t.forEach(function(t){n.has(t.name)||o(t)}),r}function U(t){var e;return function(){return e||(e=new Promise(function(n){Promise.resolve().then(function(){e=void 0,n(t())})})),e}}var W={placement:"bottom",modifiers:[],strategy:"absolute"};function G(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some(function(t){return!(t&&"function"===typeof t.getBoundingClientRect)})}function Y(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,o=e.defaultOptions,i=void 0===o?W:o;return function(t,e,n){void 0===n&&(n=i);var o={placement:"bottom",orderedModifiers:[],options:Object.assign({},W,i),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},a=[],l=!1,c={state:o,setOptions:function(n){var l="function"===typeof n?n(o.options):n;u(),o.options=Object.assign({},i,o.options,l),o.scrollParents={reference:s(t)?C(t):t.contextElement?C(t.contextElement):[],popper:C(e)};var d=function(t){var e=q(t);return V.reduce(function(t,n){return t.concat(e.filter(function(t){return t.phase===n}))},[])}(function(t){var e=t.reduce(function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t},{});return Object.keys(e).map(function(t){return e[t]})}([].concat(r,o.options.modifiers)));return o.orderedModifiers=d.filter(function(t){return t.enabled}),o.orderedModifiers.forEach(function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"===typeof i){var s=i({state:o,name:e,instance:c,options:r}),l=function(){};a.push(s||l)}}),c.update()},forceUpdate:function(){if(!l){var t=o.elements,e=t.reference,n=t.popper;if(G(e,n)){o.rects={reference:k(e,P(n),"fixed"===o.options.strategy),popper:A(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(t){return o.modifiersData[t.name]=Object.assign({},t.data)});for(var r=0;r<o.orderedModifiers.length;r++)if(!0!==o.reset){var i=o.orderedModifiers[r],a=i.fn,s=i.options,u=void 0===s?{}:s,d=i.name;"function"===typeof a&&(o=a({state:o,options:u,name:d,instance:c})||o)}else o.reset=!1,r=-1}}},update:U(function(){return new Promise(function(t){c.forceUpdate(),t(o)})}),destroy:function(){u(),l=!0}};if(!G(t,e))return c;function u(){a.forEach(function(t){return t()}),a=[]}return c.setOptions(n).then(function(t){!l&&n.onFirstUpdate&&n.onFirstUpdate(t)}),c}}var K={passive:!0};function $(t){return t.split("-")[0]}function X(t){return t.split("-")[1]}function Q(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Z(t){var e,n=t.reference,r=t.element,o=t.placement,i=o?$(o):null,a=o?X(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case M:e={x:s,y:n.y-r.height};break;case T:e={x:s,y:n.y+n.height};break;case N:e={x:n.x+n.width,y:l};break;case R:e={x:n.x-r.width,y:l};break;default:e={x:n.x,y:n.y}}var c=i?Q(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case j:e[c]=e[c]-(n[u]/2-r[u]/2);break;case I:e[c]=e[c]+(n[u]/2-r[u]/2)}}return e}var J={top:"auto",right:"auto",bottom:"auto",left:"auto"};function tt(t){var e,n=t.popper,r=t.popperRect,o=t.placement,i=t.variation,s=t.offsets,l=t.position,c=t.gpuAcceleration,u=t.adaptive,d=t.roundOffsets,f=t.isFixed,p=s.x,g=void 0===p?0:p,m=s.y,v=void 0===m?0:m,b="function"===typeof d?d({x:g,y:v}):{x:g,y:v};g=b.x,v=b.y;var w=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),A=R,_=M,S=window;if(u){var C=P(n),E="clientHeight",O="clientWidth";if(C===a(n)&&"static"!==x(C=y(n)).position&&"absolute"===l&&(E="scrollHeight",O="scrollWidth"),o===M||(o===R||o===N)&&i===I)_=T,v-=(f&&C===S&&S.visualViewport?S.visualViewport.height:C[E])-r.height,v*=c?1:-1;if(o===R||(o===M||o===T)&&i===I)A=N,g-=(f&&C===S&&S.visualViewport?S.visualViewport.width:C[O])-r.width,g*=c?1:-1}var L,D=Object.assign({position:l},u&&J),j=!0===d?function(t,e){var n=t.x,r=t.y,o=e.devicePixelRatio||1;return{x:h(n*o)/o||0,y:h(r*o)/o||0}}({x:g,y:v},a(n)):{x:g,y:v};return g=j.x,v=j.y,c?Object.assign({},D,((L={})[_]=k?"0":"",L[A]=w?"0":"",L.transform=(S.devicePixelRatio||1)<=1?"translate("+g+"px, "+v+"px)":"translate3d("+g+"px, "+v+"px, 0)",L)):Object.assign({},D,((e={})[_]=k?v+"px":"",e[A]=w?g+"px":"",e.transform="",e))}const et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.offset,i=void 0===o?[0,0]:o,a=H.reduce(function(t,n){return t[n]=function(t,e,n){var r=$(t),o=[R,M].indexOf(r)>=0?-1:1,i="function"===typeof n?n(Object.assign({},e,{placement:t})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[R,N].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,e.rects,i),t},{}),s=a[e.placement],l=s.x,c=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=l,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=a}};var nt={left:"right",right:"left",bottom:"top",top:"bottom"};function rt(t){return t.replace(/left|right|bottom|top/g,function(t){return nt[t]})}var ot={start:"end",end:"start"};function it(t){return t.replace(/start|end/g,function(t){return ot[t]})}function at(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&c(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function st(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function lt(t,e,n){return e===z?st(function(t,e){var n=a(t),r=y(t),o=n.visualViewport,i=r.clientWidth,s=r.clientHeight,l=0,c=0;if(o){i=o.width,s=o.height;var u=p();(u||!u&&"fixed"===e)&&(l=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:l+b(t),y:c}}(t,n)):s(e)?function(t,e){var n=g(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):st(function(t){var e,n=y(t),r=m(t),o=null==(e=t.ownerDocument)?void 0:e.body,i=u(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=u(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+b(t),l=-r.scrollTop;return"rtl"===x(o||n).direction&&(s+=u(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(y(t)))}function ct(t,e,n,r){var o="clippingParents"===e?function(t){var e=C(_(t)),n=["absolute","fixed"].indexOf(x(t).position)>=0&&l(t)?P(t):t;return s(n)?e.filter(function(t){return s(t)&&at(t,n)&&"body"!==v(t)}):[]}(t):[].concat(e),i=[].concat(o,[n]),a=i[0],c=i.reduce(function(e,n){var o=lt(t,n,r);return e.top=u(o.top,e.top),e.right=d(o.right,e.right),e.bottom=d(o.bottom,e.bottom),e.left=u(o.left,e.left),e},lt(t,a,r));return c.width=c.right-c.left,c.height=c.bottom-c.top,c.x=c.left,c.y=c.top,c}function ut(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function dt(t,e){return e.reduce(function(e,n){return e[n]=t,e},{})}function ht(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=void 0===r?t.placement:r,i=n.strategy,a=void 0===i?t.strategy:i,l=n.boundary,c=void 0===l?"clippingParents":l,u=n.rootBoundary,d=void 0===u?z:u,h=n.elementContext,f=void 0===h?B:h,p=n.altBoundary,m=void 0!==p&&p,v=n.padding,b=void 0===v?0:v,x=ut("number"!==typeof b?b:dt(b,D)),w=f===B?"reference":B,k=t.rects.popper,A=t.elements[m?w:f],_=ct(s(A)?A:A.contextElement||y(t.elements.popper),c,d,a),S=g(t.elements.reference),C=Z({reference:S,element:k,strategy:"absolute",placement:o}),E=st(Object.assign({},k,C)),O=f===B?E:S,P={top:_.top-O.top+x.top,bottom:O.bottom-_.bottom+x.bottom,left:_.left-O.left+x.left,right:O.right-_.right+x.right},R=t.modifiersData.offset;if(f===B&&R){var L=R[o];Object.keys(P).forEach(function(t){var e=[N,T].indexOf(t)>=0?1:-1,n=[M,T].indexOf(t)>=0?"y":"x";P[t]+=L[n]*e})}return P}function ft(t,e,n){return u(t,d(e,n))}const pt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,c=n.rootBoundary,h=n.altBoundary,f=n.padding,p=n.tether,g=void 0===p||p,m=n.tetherOffset,v=void 0===m?0:m,y=ht(e,{boundary:l,rootBoundary:c,padding:f,altBoundary:h}),b=$(e.placement),x=X(e.placement),w=!x,k=Q(b),_="x"===k?"y":"x",S=e.modifiersData.popperOffsets,C=e.rects.reference,E=e.rects.popper,O="function"===typeof v?v(Object.assign({},e.rects,{placement:e.placement})):v,L="number"===typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(S){if(i){var z,B="y"===k?M:R,F="y"===k?T:N,H="y"===k?"height":"width",V=S[k],q=V+y[B],U=V-y[F],W=g?-E[H]/2:0,G=x===j?C[H]:E[H],Y=x===j?-E[H]:-C[H],K=e.elements.arrow,Z=g&&K?A(K):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},tt=J[B],et=J[F],nt=ft(0,C[H],Z[H]),rt=w?C[H]/2-W-nt-tt-L.mainAxis:G-nt-tt-L.mainAxis,ot=w?-C[H]/2+W+nt+et+L.mainAxis:Y+nt+et+L.mainAxis,it=e.elements.arrow&&P(e.elements.arrow),at=it?"y"===k?it.clientTop||0:it.clientLeft||0:0,st=null!=(z=null==D?void 0:D[k])?z:0,lt=V+ot-st,ct=ft(g?d(q,V+rt-st-at):q,V,g?u(U,lt):U);S[k]=ct,I[k]=ct-V}if(s){var ut,dt="x"===k?M:R,pt="x"===k?T:N,gt=S[_],mt="y"===_?"height":"width",vt=gt+y[dt],yt=gt-y[pt],bt=-1!==[M,R].indexOf(b),xt=null!=(ut=null==D?void 0:D[_])?ut:0,wt=bt?vt:gt-C[mt]-E[mt]-xt+L.altAxis,kt=bt?gt+C[mt]+E[mt]-xt-L.altAxis:yt,At=g&&bt?function(t,e,n){var r=ft(t,e,n);return r>n?n:r}(wt,gt,kt):ft(g?wt:vt,gt,g?kt:yt);S[_]=At,I[_]=At-gt}e.modifiersData[r]=I}},requiresIfExists:["offset"]};const gt={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,o=t.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=$(n.placement),l=Q(s),c=[R,N].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(t,e){return ut("number"!==typeof(t="function"===typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:dt(t,D))}(o.padding,n),d=A(i),h="y"===l?M:R,f="y"===l?T:N,p=n.rects.reference[c]+n.rects.reference[l]-a[l]-n.rects.popper[c],g=a[l]-n.rects.reference[l],m=P(i),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=p/2-g/2,b=u[h],x=v-d[c]-u[f],w=v/2-d[c]/2+y,k=ft(b,w,x),_=l;n.modifiersData[r]=((e={})[_]=k,e.centerOffset=k-w,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=e.elements.popper.querySelector(r)))&&at(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function mt(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function vt(t){return[M,N,T,R].some(function(e){return t[e]>=0})}var yt=Y({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,s=r.resize,l=void 0===s||s,c=a(e.elements.popper),u=[].concat(e.scrollParents.reference,e.scrollParents.popper);return i&&u.forEach(function(t){t.addEventListener("scroll",n.update,K)}),l&&c.addEventListener("resize",n.update,K),function(){i&&u.forEach(function(t){t.removeEventListener("scroll",n.update,K)}),l&&c.removeEventListener("resize",n.update,K)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Z({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,c={placement:$(e.placement),variation:X(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,tt(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:a,roundOffsets:l})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,tt(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach(function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},o=e.elements[t];l(o)&&v(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(t){var e=r[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)}))})},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach(function(t){var r=e.elements[t],o=e.attributes[t]||{},i=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce(function(t,e){return t[e]="",t},{});l(r)&&v(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(t){r.removeAttribute(t)}))})}},requires:["computeStyles"]},et,{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,c=n.padding,u=n.boundary,d=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=e.options.placement,v=$(m),y=l||(v===m||!p?[rt(m)]:function(t){if($(t)===L)return[];var e=rt(t);return[it(t),e,it(e)]}(m)),b=[m].concat(y).reduce(function(t,n){return t.concat($(n)===L?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?H:l,u=X(r),d=u?s?F:F.filter(function(t){return X(t)===u}):D,h=d.filter(function(t){return c.indexOf(t)>=0});0===h.length&&(h=d);var f=h.reduce(function(e,n){return e[n]=ht(t,{placement:n,boundary:o,rootBoundary:i,padding:a})[$(n)],e},{});return Object.keys(f).sort(function(t,e){return f[t]-f[e]})}(e,{placement:n,boundary:u,rootBoundary:d,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)},[]),x=e.rects.reference,w=e.rects.popper,k=new Map,A=!0,_=b[0],S=0;S<b.length;S++){var C=b[S],E=$(C),O=X(C)===j,P=[M,T].indexOf(E)>=0,I=P?"width":"height",z=ht(e,{placement:C,boundary:u,rootBoundary:d,altBoundary:h,padding:c}),B=P?O?N:R:O?T:M;x[I]>w[I]&&(B=rt(B));var V=rt(B),q=[];if(i&&q.push(z[E]<=0),s&&q.push(z[B]<=0,z[V]<=0),q.every(function(t){return t})){_=C,A=!1;break}k.set(C,q)}if(A)for(var U=function(t){var e=b.find(function(e){var n=k.get(e);if(n)return n.slice(0,t).every(function(t){return t})});if(e)return _=e,"break"},W=p?3:1;W>0;W--){if("break"===U(W))break}e.placement!==_&&(e.modifiersData[r]._skip=!0,e.placement=_,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},pt,gt,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,o=e.rects.popper,i=e.modifiersData.preventOverflow,a=ht(e,{elementContext:"reference"}),s=ht(e,{altBoundary:!0}),l=mt(a,r),c=mt(s,o,i),u=vt(l),d=vt(c);e.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),bt=n(65043),xt=n(83818);const wt={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:t=>{let{state:e}=t;e.styles.popper.width="".concat(e.rects.reference.width,"px")},effect:t=>{let{state:e}=t;return()=>{const t=e.elements.reference;e.elements.popper.style.width="".concat(t.offsetWidth,"px")}}},kt={name:"transformOrigin",enabled:!0,phase:"write",fn:t=>{let{state:e}=t;At(e)},effect:t=>{let{state:e}=t;return()=>{At(e)}}},At=t=>{t.elements.popper.style.setProperty(xt.O3.transformOrigin.var,(0,xt.ed)(t.placement))},_t={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:t=>{let{state:e}=t;St(e)}},St=t=>{var e;if(!t.placement)return;const n=Ct(t.placement);if(null!==(e=t.elements)&&void 0!==e&&e.arrow&&n){Object.assign(t.elements.arrow.style,{[n.property]:n.value,width:xt.O3.arrowSize.varRef,height:xt.O3.arrowSize.varRef,zIndex:-1});const e={[xt.O3.arrowSizeHalf.var]:"calc(".concat(xt.O3.arrowSize.varRef," / 2 - 1px)"),[xt.O3.arrowOffset.var]:"calc(".concat(xt.O3.arrowSizeHalf.varRef," * -1)")};for(const n in e)t.elements.arrow.style.setProperty(n,e[n])}},Ct=t=>t.startsWith("top")?{property:"bottom",value:xt.O3.arrowOffset.varRef}:t.startsWith("bottom")?{property:"top",value:xt.O3.arrowOffset.varRef}:t.startsWith("left")?{property:"right",value:xt.O3.arrowOffset.varRef}:t.startsWith("right")?{property:"left",value:xt.O3.arrowOffset.varRef}:void 0,Et={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:t=>{let{state:e}=t;Ot(e)},effect:t=>{let{state:e}=t;return()=>{Ot(e)}}},Ot=t=>{if(!t.elements.arrow)return;const e=t.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!e)return;const n=(0,xt.Ky)(t.placement);n&&e.style.setProperty("--popper-arrow-default-shadow",n),Object.assign(e.style,{transform:"rotate(45deg)",background:xt.O3.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},Pt={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},Mt={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};const Tt=["size","shadowColor","bg","style"];function Nt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{enabled:e=!0,modifiers:n,placement:a="bottom",strategy:s="absolute",arrowPadding:l=8,eventListeners:c=!0,offset:u,gutter:d=8,flip:h=!0,boundary:f="clippingParents",preventOverflow:p=!0,matchWidth:g,direction:m="ltr"}=t,v=(0,bt.useRef)(null),y=(0,bt.useRef)(null),b=(0,bt.useRef)(null),x=function(t){var e,n;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ltr";const o=(null===(e=Pt[t])||void 0===e?void 0:e[r])||t;return"ltr"===r?o:null!==(n=Mt[t])&&void 0!==n?n:o}(a,m),w=(0,bt.useRef)(()=>{}),k=(0,bt.useCallback)(()=>{var t;e&&v.current&&y.current&&(null===(t=w.current)||void 0===t||t.call(w),b.current=yt(v.current,y.current,{placement:x,modifiers:[Et,_t,kt,(0,o.A)((0,o.A)({},wt),{},{enabled:!!g}),(0,o.A)({name:"eventListeners"},(0,xt.Fs)(c)),{name:"arrow",options:{padding:l}},{name:"offset",options:{offset:null!==u&&void 0!==u?u:[0,d]}},{name:"flip",enabled:!!h,options:{padding:8}},{name:"preventOverflow",enabled:!!p,options:{boundary:f}},...null!==n&&void 0!==n?n:[]],strategy:s}),b.current.forceUpdate(),w.current=b.current.destroy)},[x,e,n,g,c,l,u,d,h,p,f,s]);(0,bt.useEffect)(()=>()=>{var t;v.current||y.current||(null===(t=b.current)||void 0===t||t.destroy(),b.current=null)},[]);const A=(0,bt.useCallback)(t=>{v.current=t,k()},[k]),_=(0,bt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:(0,i.Px)(A,e)})},[A]),S=(0,bt.useCallback)(t=>{y.current=t,k()},[k]),C=(0,bt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:(0,i.Px)(S,e),style:(0,o.A)((0,o.A)({},t.style),{},{position:s,minWidth:g?void 0:"max-content",inset:"0 auto auto 0"})})},[s,S,g]),E=(0,bt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const{size:n,shadowColor:i,bg:a,style:s}=t,l=(0,r.A)(t,Tt);return(0,o.A)((0,o.A)({},l),{},{ref:e,"data-popper-arrow":"",style:Rt(t)})},[]),O=(0,bt.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:e,"data-popper-arrow-inner":""})},[]);return{update(){var t;null===(t=b.current)||void 0===t||t.update()},forceUpdate(){var t;null===(t=b.current)||void 0===t||t.forceUpdate()},transformOrigin:xt.O3.transformOrigin.varRef,referenceRef:A,popperRef:S,getPopperProps:C,getArrowProps:E,getArrowInnerProps:O,getReferenceProps:_}}function Rt(t){const{size:e,shadowColor:n,bg:r,style:i}=t,a=(0,o.A)((0,o.A)({},i),{},{position:"absolute"});return e&&(a["--popper-arrow-size"]=e),n&&(a["--popper-arrow-shadow-color"]=n),r&&(a["--popper-arrow-bg"]=r),a}},62078:(t,e,n)=>{"use strict";n.d(e,{Q:()=>r});class r{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(t){const e={listener:t};return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},62316:(t,e,n)=>{"use strict";n.d(e,{a:()=>o});var r=n(12440);function o(t,e){return(0,r.w)(e||t,t)}},62468:(t,e,n)=>{"use strict";n.d(e,{J:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(40493),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const{getButtonProps:n}=(0,a.AV)(),s=n(t,e),c=(0,a.EF)(),u=(0,r.A)({display:"flex",alignItems:"center",width:"100%",outline:0},c.button);return(0,o.jsx)(l.B.button,(0,r.A)((0,r.A)({},s),{},{className:(0,i.cx)("chakra-accordion__button",t.className),__css:u}))});c.displayName="AccordionButton"},62750:(t,e,n)=>{"use strict";n.d(e,{N:()=>u});var r=n(84524),o=n(1620),i=n(50849),a=n(12440),s=n(19504);function l(t,e){var n,r,l,c,u,d;const h=(0,i.q)(),f=null!==(n=null!==(r=null!==(l=null!==(c=null===e||void 0===e?void 0:e.firstWeekContainsDate)&&void 0!==c?c:null===e||void 0===e||null===(u=e.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==l?l:h.firstWeekContainsDate)&&void 0!==r?r:null===(d=h.locale)||void 0===d||null===(d=d.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==n?n:1,p=(0,s.h)(t,e),g=(0,a.w)((null===e||void 0===e?void 0:e.in)||t,0);g.setFullYear(p,0,f),g.setHours(0,0,0,0);return(0,o.k)(g,e)}var c=n(62316);function u(t,e){const n=(0,c.a)(t,null===e||void 0===e?void 0:e.in),i=+(0,o.k)(n,e)-+l(n,e);return Math.round(i/r.my)+1}},63856:(t,e,n)=>{"use strict";n.d(e,{v:()=>r});const r=(0,n(14010).w)({d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z",displayName:"ChevronRightIcon"})},63935:(t,e,n)=>{"use strict";n.d(e,{_s:()=>f,gJ:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(92970),s=n(78460),l=n(17841);const c=["isOpen","onClose","placement","children"],[u,d]=(0,a.q)(),h={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function f(t){var e;const{isOpen:n,onClose:a,placement:d="right",children:f}=t,p=(0,o.A)(t,c),g=(0,l.D)(),m=null===(e=g.components)||void 0===e?void 0:e.Drawer,v=function(t,e){var n,r;if(t)return null!==(n=null===(r=h[t])||void 0===r?void 0:r[e])&&void 0!==n?n:t}(d,g.direction);return(0,i.jsx)(u,{value:{placement:v},children:(0,i.jsx)(s.aF,(0,r.A)((0,r.A)({isOpen:n,onClose:a,styleConfig:m},p),{},{children:f}))})}},64011:(t,e,n)=>{"use strict";n.d(e,{r:()=>r});const r=(t=>{const e=new WeakMap;return(n,r,o,i)=>{if("undefined"===typeof n)return t(n,r,o);e.has(n)||e.set(n,new Map);const a=e.get(n);if(a.has(r))return a.get(r);const s=t(n,r,o,i);return a.set(r,s),s}})(function(t,e,n,r){const o="string"===typeof e?e.split("."):[e];for(r=0;r<o.length&&t;r+=1)t=t[o[r]];return void 0===t?n:t})},64367:(t,e,n)=>{"use strict";n.d(e,{d:()=>i,l:()=>o});var r=n(92970);const[o,i]=(0,r.q)({strict:!1,name:"ButtonGroupContext"})},64816:(t,e,n)=>{var r=n(47251),o=n(37159),i=n(80438),a=n(69394),s=n(56874);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},64830:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},64844:(t,e,n)=>{"use strict";n.d(e,{cx:()=>r});const r=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(Boolean).join(" ")}},64942:(t,e,n)=>{"use strict";n.d(e,{Ss:()=>l,ef:()=>a,xM:()=>s});const r=/^D+$/,o=/^Y+$/,i=["D","DD","YY","YYYY"];function a(t){return r.test(t)}function s(t){return o.test(t)}function l(t,e,n){const r=function(t,e,n){const r="Y"===t[0]?"years":"days of the month";return"Use `".concat(t.toLowerCase(),"` instead of `").concat(t,"` (in `").concat(e,"`) for formatting ").concat(r," to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(t,e,n);if(console.warn(r),i.includes(t))throw new RangeError(r)}},65043:(t,e,n)=>{"use strict";t.exports=n(14202)},65387:(t,e,n)=>{var r=n(87937)(n(56552),"Promise");t.exports=r},65505:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Pencil",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]])},65647:(t,e,n)=>{"use strict";n.d(e,{Q:()=>i,s:()=>o});var r=n(40523);const[o,i]=(0,r.Wh)("Card")},65663:(t,e,n)=>{"use strict";function r(t,e){const n={},r={};for(const[o,i]of Object.entries(t))e.includes(o)?n[o]=i:r[o]=i;return[n,r]}n.d(e,{l:()=>r})},65757:(t,e,n)=>{"use strict";n.d(e,{t:()=>o});var r=n(51844);function o(t,e,n){const[o,i]=(0,r.x)(null===n||void 0===n?void 0:n.in,t,e);return o.getFullYear()===i.getFullYear()&&o.getMonth()===i.getMonth()}},66366:t=>{var e="undefined"!==typeof Element,n="function"===typeof Map,r="function"===typeof Set,o="function"===typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(t,a){if(t===a)return!0;if(t&&a&&"object"==typeof t&&"object"==typeof a){if(t.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(t)){if((s=t.length)!=a.length)return!1;for(l=s;0!==l--;)if(!i(t[l],a[l]))return!1;return!0}if(n&&t instanceof Map&&a instanceof Map){if(t.size!==a.size)return!1;for(u=t.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=t.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&t instanceof Set&&a instanceof Set){if(t.size!==a.size)return!1;for(u=t.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(a)){if((s=t.length)!=a.length)return!1;for(l=s;0!==l--;)if(t[l]!==a[l])return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf&&"function"===typeof t.valueOf&&"function"===typeof a.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString&&"function"===typeof t.toString&&"function"===typeof a.toString)return t.toString()===a.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(a).length)return!1;for(l=s;0!==l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(e&&t instanceof Element)return!1;for(l=s;0!==l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!t.$$typeof)&&!i(t[c[l]],a[c[l]]))return!1;return!0}return t!==t&&a!==a}t.exports=function(t,e){try{return i(t,e)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},66465:(t,e,n)=>{"use strict";n.d(e,{r:()=>i});var r=n(51844),o=n(91176);function i(t,e,n){const[i,a]=(0,r.x)(null===n||void 0===n?void 0:n.in,t,e);return+(0,o.o)(i)===+(0,o.o)(a)}},66598:(t,e,n)=>{"use strict";n.d(e,{J:()=>m});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(30918),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(t){return 45===t.charCodeAt(1)},c=function(t){return null!=t&&"boolean"!==typeof t},u=(0,o.A)(function(t){return l(t)?t:t.replace(a,"-$&").toLowerCase()}),d=function(t,e){switch(t){case"animation":case"animationName":if("string"===typeof e)return e.replace(s,function(t,e,n){return p={name:e,styles:n,next:p},e})}return 1===r[t]||l(t)||"number"!==typeof e||0===e?e:e+"px"},h="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function f(t,e,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return p={name:o.name,styles:o.styles,next:p},o.name;var a=n;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)p={name:s.name,styles:s.styles,next:p},s=s.next;return a.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=f(t,e,n[o])+";";else for(var a in n){var s=n[a];if("object"!==typeof s){var l=s;null!=e&&void 0!==e[l]?r+=a+"{"+e[l]+"}":c(l)&&(r+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(h);if(!Array.isArray(s)||"string"!==typeof s[0]||null!=e&&void 0!==e[s[0]]){var p=f(t,e,s);switch(a){case"animation":case"animationName":r+=u(a)+":"+p+";";break;default:r+=a+"{"+p+"}"}}else for(var g=0;g<s.length;g++)c(s[g])&&(r+=u(a)+":"+d(a,s[g])+";")}}return r}(t,e,n);case"function":if(void 0!==t){var l=p,g=n(t);return p=l,f(t,e,g)}}var m=n;if(null==e)return m;var v=e[m];return void 0!==v?v:m}var p,g=/label:\s*([^\s;{]+)\s*(;|$)/g;function m(t,e,n){if(1===t.length&&"object"===typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,o="";p=void 0;var i=t[0];null==i||void 0===i.raw?(r=!1,o+=f(n,e,i)):o+=i[0];for(var a=1;a<t.length;a++){if(o+=f(n,e,t[a]),r)o+=i[a]}g.lastIndex=0;for(var s,l="";null!==(s=g.exec(o));)l+="-"+s[1];var c=function(t){for(var e,n=0,r=0,o=t.length;o>=4;++r,o-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:p}}},66686:(t,e,n)=>{"use strict";n.d(e,{z:()=>y,R:()=>v});var r=n(89379),o=n(80045),i=n(70579),a=n(92970),s=n(64844),l=n(65043),c=n(43194),u=n(32041);const d=["onChange","value","defaultValue","name","isDisabled","isFocusable","isNative"];function h(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onChange:e,value:n,defaultValue:i,name:a,isDisabled:s,isFocusable:h,isNative:f}=t,p=(0,o.A)(t,d),[g,m]=(0,l.useState)(i||""),v="undefined"!==typeof n,y=v?n:g,b=(0,l.useRef)(null),x=(0,l.useCallback)(()=>{const t=b.current;if(!t)return;let e="input:not(:disabled):checked";const n=t.querySelector(e);if(n)return void n.focus();e="input:not(:disabled)";const r=t.querySelector(e);null===r||void 0===r||r.focus()},[]),w=(0,l.useId)(),k="radio-".concat(w),A=a||k,_=(0,l.useCallback)(t=>{const n=function(t){return t&&(0,u.Gv)(t)&&(0,u.Gv)(t.target)}(t)?t.target.value:t;v||m(n),null===e||void 0===e||e(String(n))},[e,v]),S=(0,l.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:(0,c.Px)(e,b),role:"radiogroup"})},[]),C=(0,l.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=f?"checked":"isChecked";return(0,r.A)((0,r.A)({},t),{},{ref:e,name:A,[n]:null!=y?t.value===y:void 0,onChange(t){_(t)},"data-radiogroup":!0})},[f,A,_,y]);return{getRootProps:S,getRadioProps:C,name:A,ref:b,focus:x,setValue:m,value:y,onChange:_,isDisabled:s,isFocusable:h,htmlProps:p}}var f=n(55003),p=n(52695);const g=["colorScheme","size","variant","children","className","isDisabled","isFocusable"],[m,v]=(0,a.q)({name:"RadioGroupContext",strict:!1}),y=(0,f.R)((t,e)=>{const{colorScheme:n,size:a,variant:c,children:u,className:d,isDisabled:f,isFocusable:v}=t,y=(0,o.A)(t,g),{value:b,onChange:x,getRootProps:w,name:k,htmlProps:A}=h(y),_=(0,l.useMemo)(()=>({name:k,size:a,onChange:x,colorScheme:n,value:b,variant:c,isDisabled:f,isFocusable:v}),[k,a,x,n,b,c,f,v]);return(0,i.jsx)(m,{value:_,children:(0,i.jsx)(p.B.div,(0,r.A)((0,r.A)({},w(A,e)),{},{className:(0,s.cx)("chakra-radio-group",d),children:u}))})});y.displayName="RadioGroup"},66688:(t,e,n)=>{"use strict";n.d(e,{k5:()=>c});var r=n(65043),o={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(o),a=function(){return a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},a.apply(this,arguments)},s=function(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]])}return n};function l(t){return t&&t.map(function(t,e){return r.createElement(t.tag,a({key:e},t.attr),l(t.child))})}function c(t){return function(e){return r.createElement(u,a({attr:a({},t.attr)},e),l(t.child))}}function u(t){var e=function(e){var n,o=t.attr,i=t.size,l=t.title,c=s(t,["attr","size","title"]),u=i||e.size||"1em";return e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className),r.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,o,c,{className:n,style:a(a({color:t.color||e.color},e.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),l&&r.createElement("title",null,l),t.children)};return void 0!==i?r.createElement(i.Consumer,null,function(t){return e(t)}):e(o)}},66981:(t,e,n)=>{"use strict";n.d(e,{f:()=>i});var r=n(12440),o=n(62316);function i(t,e,n){const i=(0,o.a)(t,null===n||void 0===n?void 0:n.in);return isNaN(e)?(0,r.w)((null===n||void 0===n?void 0:n.in)||t,NaN):e?(i.setDate(i.getDate()+e),i):i}},67516:(t,e,n)=>{"use strict";n.d(e,{c:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(65043),l=n(78460),c=n(55003),u=n(52695);const d=["className"],h=(0,c.R)((t,e)=>{const{className:n}=t,c=(0,o.A)(t,d),{bodyId:h,setBodyMounted:f}=(0,l.k3)();(0,s.useEffect)(()=>(f(!0),()=>f(!1)),[f]);const p=(0,a.cx)("chakra-modal__body",n),g=(0,l.x5)();return(0,i.jsx)(u.B.div,(0,r.A)((0,r.A)({ref:e,className:p,id:h},c),{},{__css:g.body}))});h.displayName="ModalBody"},67813:(t,e,n)=>{"use strict";n.d(e,{Td:()=>u});var r=n(89379),o=n(80045),i=n(70579),a=n(80511),s=n(55003),l=n(52695);const c=["isNumeric"],u=(0,s.R)((t,e)=>{let{isNumeric:n}=t,s=(0,o.A)(t,c);const u=(0,a.k)();return(0,i.jsx)(l.B.td,(0,r.A)((0,r.A)({},s),{},{ref:e,__css:u.td,"data-is-numeric":n}))})},68455:(t,e,n)=>{"use strict";n.d(e,{EO:()=>d,Lt:()=>u});var r=n(89379),o=n(80045),i=n(70579),a=n(78460),s=n(85421),l=n(55003);const c=["leastDestructiveRef"];function u(t){const{leastDestructiveRef:e}=t,n=(0,o.A)(t,c);return(0,i.jsx)(a.aF,(0,r.A)((0,r.A)({},n),{},{initialFocusRef:e}))}const d=(0,l.R)((t,e)=>(0,i.jsx)(s.$,(0,r.A)({ref:e,role:"alertdialog"},t)))},68655:(t,e,n)=>{"use strict";n.d(e,{Q:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(40493),s=n(25721),l=n(25011);function c(t){const{isOpen:e,isDisabled:n}=(0,a.AV)(),{reduceMotion:c}=(0,s.Dr)(),u=(0,i.cx)("chakra-accordion__icon",t.className),d=(0,a.EF)(),h=(0,r.A)({opacity:n?.4:1,transform:e?"rotate(-180deg)":void 0,transition:c?void 0:"transform 0.2s",transformOrigin:"center"},d.icon);return(0,o.jsx)(l.I,(0,r.A)((0,r.A)({viewBox:"0 0 24 24","aria-hidden":!0,className:u,__css:h},t),{},{children:(0,o.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}))}c.displayName="AccordionIcon"},68659:(t,e,n)=>{"use strict";n.d(e,{o:()=>c});var r=n(89379),o=n(80045),i=n(70579),a=n(52695),s=n(55003);const l=["axis"],c=(0,a.B)("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});c.displayName="Center";const u={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}};(0,s.R)(function(t,e){const{axis:n="both"}=t,s=(0,o.A)(t,l);return(0,i.jsx)(a.B.div,(0,r.A)((0,r.A)({ref:e,__css:u[n]},s),{},{position:"absolute"}))})},68664:(t,e,n)=>{"use strict";n.d(e,{Cp:()=>m,F$:()=>p,G6:()=>S,GR:()=>u,MK:()=>h,Od:()=>g,S$:()=>o,Zw:()=>a,b_:()=>d,f8:()=>b,gn:()=>s,j3:()=>l,jY:()=>C,lQ:()=>i,nJ:()=>f,pl:()=>E,vh:()=>c,yy:()=>_});var r=n(89379);const o="undefined"===typeof window||"Deno"in window;function i(){}function a(t,e){return"function"===typeof t?t(e):t}function s(t){return"number"===typeof t&&t>=0&&t!==1/0}function l(t,e){return Math.max(t+(e||0)-Date.now(),0)}function c(t,e,n){return A(t)?"function"===typeof e?(0,r.A)((0,r.A)({},n),{},{queryKey:t,queryFn:e}):(0,r.A)((0,r.A)({},e),{},{queryKey:t}):t}function u(t,e,n){return A(t)?"function"===typeof e?(0,r.A)((0,r.A)({},n),{},{mutationKey:t,mutationFn:e}):(0,r.A)((0,r.A)({},e),{},{mutationKey:t}):"function"===typeof t?(0,r.A)((0,r.A)({},e),{},{mutationFn:t}):(0,r.A)({},t)}function d(t,e,n){return A(t)?[(0,r.A)((0,r.A)({},e),{},{queryKey:t}),n]:[t||{},e]}function h(t,e){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=t;if(A(a))if(r){if(e.queryHash!==p(a,e.options))return!1}else if(!m(e.queryKey,a))return!1;if("all"!==n){const t=e.isActive();if("active"===n&&!t)return!1;if("inactive"===n&&t)return!1}return("boolean"!==typeof s||e.isStale()===s)&&(("undefined"===typeof o||o===e.state.fetchStatus)&&!(i&&!i(e)))}function f(t,e){const{exact:n,fetching:r,predicate:o,mutationKey:i}=t;if(A(i)){if(!e.options.mutationKey)return!1;if(n){if(g(e.options.mutationKey)!==g(i))return!1}else if(!m(e.options.mutationKey,i))return!1}return("boolean"!==typeof r||"loading"===e.state.status===r)&&!(o&&!o(e))}function p(t,e){return((null==e?void 0:e.queryKeyHashFn)||g)(t)}function g(t){return JSON.stringify(t,(t,e)=>w(e)?Object.keys(e).sort().reduce((t,n)=>(t[n]=e[n],t),{}):e)}function m(t,e){return v(t,e)}function v(t,e){return t===e||typeof t===typeof e&&(!(!t||!e||"object"!==typeof t||"object"!==typeof e)&&!Object.keys(e).some(n=>!v(t[n],e[n])))}function y(t,e){if(t===e)return t;const n=x(t)&&x(e);if(n||w(t)&&w(e)){const r=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),i=o.length,a=n?[]:{};let s=0;for(let l=0;l<i;l++){const r=n?l:o[l];a[r]=y(t[r],e[r]),a[r]===t[r]&&s++}return r===i&&s===r?t:a}return e}function b(t,e){if(t&&!e||e&&!t)return!1;for(const n in t)if(t[n]!==e[n])return!1;return!0}function x(t){return Array.isArray(t)&&t.length===Object.keys(t).length}function w(t){if(!k(t))return!1;const e=t.constructor;if("undefined"===typeof e)return!0;const n=e.prototype;return!!k(n)&&!!n.hasOwnProperty("isPrototypeOf")}function k(t){return"[object Object]"===Object.prototype.toString.call(t)}function A(t){return Array.isArray(t)}function _(t){return new Promise(e=>{setTimeout(e,t)})}function S(t){_(0).then(t)}function C(){if("function"===typeof AbortController)return new AbortController}function E(t,e,n){return null!=n.isDataEqual&&n.isDataEqual(t,e)?t:"function"===typeof n.structuralSharing?n.structuralSharing(t,e):!1!==n.structuralSharing?y(t,e):e}},68707:(t,e,n)=>{"use strict";n.d(e,{D:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(9957),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const{getHeaderProps:n}=(0,a.C_)(),s=(0,a.jm)();return(0,o.jsx)(l.B.header,(0,r.A)((0,r.A)({},n(t,e)),{},{className:(0,i.cx)("chakra-popover__header",t.className),__css:s.header}))});c.displayName="PopoverHeader"},69023:(t,e,n)=>{"use strict";n.d(e,{GP:()=>z});var r=n(56511),o=n(50849),i=n(19219),a=n(51844),s=n(84524),l=n(91176);function c(t,e,n){const[r,o]=(0,a.x)(null===n||void 0===n?void 0:n.in,t,e),c=(0,l.o)(r),u=(0,l.o)(o),d=+c-(0,i.G)(c),h=+u-(0,i.G)(u);return Math.round((d-h)/s.w4)}var u=n(62316);function d(t,e){const n=(0,u.a)(t,null===e||void 0===e?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function h(t,e){const n=(0,u.a)(t,null===e||void 0===e?void 0:e.in);return c(n,d(n))+1}var f=n(35385),p=n(11425),g=n(62750),m=n(19504);function v(t,e){return(t<0?"-":"")+Math.abs(t).toString().padStart(e,"0")}const y={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return v("yy"===e?r%100:r,e.length)},M(t,e){const n=t.getMonth();return"M"===e?String(n+1):v(n+1,2)},d:(t,e)=>v(t.getDate(),e.length),a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(t,e)=>v(t.getHours()%12||12,e.length),H:(t,e)=>v(t.getHours(),e.length),m:(t,e)=>v(t.getMinutes(),e.length),s:(t,e)=>v(t.getSeconds(),e.length),S(t,e){const n=e.length,r=t.getMilliseconds();return v(Math.trunc(r*Math.pow(10,n-3)),e.length)}},b="midnight",x="noon",w="morning",k="afternoon",A="evening",_="night",S={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if("yo"===e){const e=t.getFullYear(),r=e>0?e:1-e;return n.ordinalNumber(r,{unit:"year"})}return y.y(t,e)},Y:function(t,e,n,r){const o=(0,m.h)(t,r),i=o>0?o:1-o;if("YY"===e){return v(i%100,2)}return"Yo"===e?n.ordinalNumber(i,{unit:"year"}):v(i,e.length)},R:function(t,e){return v((0,p.p)(t),e.length)},u:function(t,e){return v(t.getFullYear(),e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return v(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return v(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return y.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return v(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const o=(0,g.N)(t,r);return"wo"===e?n.ordinalNumber(o,{unit:"week"}):v(o,e.length)},I:function(t,e,n){const r=(0,f.s)(t);return"Io"===e?n.ordinalNumber(r,{unit:"week"}):v(r,e.length)},d:function(t,e,n){return"do"===e?n.ordinalNumber(t.getDate(),{unit:"date"}):y.d(t,e)},D:function(t,e,n){const r=h(t);return"Do"===e?n.ordinalNumber(r,{unit:"dayOfYear"}):v(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const o=t.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return v(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const o=t.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return v(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),o=0===r?7:r;switch(e){case"i":return String(o);case"ii":return v(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let o;switch(o=12===r?x:0===r?b:r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let o;switch(o=r>=17?A:r>=12?k:r>=4?w:_,e){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,n){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),n.ordinalNumber(e,{unit:"hour"})}return y.h(t,e)},H:function(t,e,n){return"Ho"===e?n.ordinalNumber(t.getHours(),{unit:"hour"}):y.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return"Ko"===e?n.ordinalNumber(r,{unit:"hour"}):v(r,e.length)},k:function(t,e,n){let r=t.getHours();return 0===r&&(r=24),"ko"===e?n.ordinalNumber(r,{unit:"hour"}):v(r,e.length)},m:function(t,e,n){return"mo"===e?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):y.m(t,e)},s:function(t,e,n){return"so"===e?n.ordinalNumber(t.getSeconds(),{unit:"second"}):y.s(t,e)},S:function(t,e){return y.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(0===r)return"Z";switch(e){case"X":return E(r);case"XXXX":case"XX":return O(r);default:return O(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return E(r);case"xxxx":case"xx":return O(r);default:return O(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+C(r,":");default:return"GMT"+O(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+C(r,":");default:return"GMT"+O(r,":")}},t:function(t,e,n){return v(Math.trunc(+t/1e3),e.length)},T:function(t,e,n){return v(+t,e.length)}};function C(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=t>0?"-":"+",r=Math.abs(t),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+e+v(i,2)}function E(t,e){if(t%60===0){return(t>0?"-":"+")+v(Math.abs(t)/60,2)}return O(t,e)}function O(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=t>0?"-":"+",r=Math.abs(t);return n+v(Math.trunc(r/60),2)+e+v(r%60,2)}var P=n(97099),M=n(64942);function T(t){return t instanceof Date||"object"===typeof t&&"[object Date]"===Object.prototype.toString.call(t)}function N(t){return!(!T(t)&&"number"!==typeof t||isNaN(+(0,u.a)(t)))}const R=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,L=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,D=/^'([^]*?)'?$/,j=/''/g,I=/[a-zA-Z]/;function z(t,e,n){var i,a,s,l,c,d,h,f,p,g,m,v,y,b;const x=(0,o.q)(),w=null!==(i=null!==(a=null===n||void 0===n?void 0:n.locale)&&void 0!==a?a:x.locale)&&void 0!==i?i:r.c,k=null!==(s=null!==(l=null!==(c=null!==(d=null===n||void 0===n?void 0:n.firstWeekContainsDate)&&void 0!==d?d:null===n||void 0===n||null===(h=n.locale)||void 0===h||null===(h=h.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==c?c:x.firstWeekContainsDate)&&void 0!==l?l:null===(f=x.locale)||void 0===f||null===(f=f.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==s?s:1,A=null!==(p=null!==(g=null!==(m=null!==(v=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==v?v:null===n||void 0===n||null===(y=n.locale)||void 0===y||null===(y=y.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==m?m:x.weekStartsOn)&&void 0!==g?g:null===(b=x.locale)||void 0===b||null===(b=b.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==p?p:0,_=(0,u.a)(t,null===n||void 0===n?void 0:n.in);if(!N(_))throw new RangeError("Invalid time value");let C=e.match(L).map(t=>{const e=t[0];if("p"===e||"P"===e){return(0,P.m[e])(t,w.formatLong)}return t}).join("").match(R).map(t=>{if("''"===t)return{isToken:!1,value:"'"};const e=t[0];if("'"===e)return{isToken:!1,value:B(t)};if(S[e])return{isToken:!0,value:t};if(e.match(I))throw new RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});w.localize.preprocessor&&(C=w.localize.preprocessor(_,C));const E={firstWeekContainsDate:k,weekStartsOn:A,locale:w};return C.map(r=>{if(!r.isToken)return r.value;const o=r.value;(null!==n&&void 0!==n&&n.useAdditionalWeekYearTokens||!(0,M.xM)(o))&&(null!==n&&void 0!==n&&n.useAdditionalDayOfYearTokens||!(0,M.ef)(o))||(0,M.Ss)(o,e,String(t));return(0,S[o[0]])(_,o,w.localize,E)}).join("")}function B(t){const e=t.match(D);return e?e[1].replace(j,"'"):t}},69194:t=>{var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},69394:(t,e,n)=>{var r=n(12622);t.exports=function(t){return r(this,t).has(t)}},69436:(t,e,n)=>{"use strict";var r;n.d(e,{i:()=>s,s:()=>a});var o=n(65043),i=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,a=i||function(t){return t()},s=i||o.useLayoutEffect},69477:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("SearchX",[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},69621:(t,e,n)=>{var r=n(17529),o=n(57828),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(t){return null==t?[]:(t=Object(t),r(a(t),function(e){return i.call(t,e)}))}:o;t.exports=s},69987:(t,e,n)=>{var r=n(9812),o=n(22929),i=n(93211),a=n(43668),s=n(54160),l=n(52074),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;t.exports=function(t,e,n,r,c,d,h){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!d(new o(t),new o(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var f=s;case"[object Set]":var p=1&r;if(f||(f=l),t.size!=e.size&&!p)return!1;var g=h.get(t);if(g)return g==e;r|=2,h.set(t,e);var m=a(f(t),f(e),r,c,d,h);return h.delete(t),m;case"[object Symbol]":if(u)return u.call(t)==u.call(e)}return!1}},70067:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]])},70579:(t,e,n)=>{"use strict";t.exports=n(51153)},70705:t=>{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},70764:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},71360:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},71562:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(12440);function o(t){return(0,r.w)(t,Date.now())}},71586:(t,e,n)=>{"use strict";n.d(e,{Ay:()=>m});var r=n(89379),o=n(65043),i=Object.defineProperty,a=(t,e,n)=>((t,e,n)=>e in t?i(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n)(t,"symbol"!=typeof e?e+"":e,n);const s={x:0,y:0,width:0,height:0,unit:"px"},l=(t,e,n)=>Math.min(Math.max(t,e),n),c=(t,e)=>t===e||t.width===e.width&&t.height===e.height&&t.x===e.x&&t.y===e.y&&t.unit===e.unit;function u(t,e,n){return"%"===t.unit?(0,r.A)((0,r.A)((0,r.A)({},s),t),{},{unit:"%"}):{unit:"%",x:t.x?t.x/e*100:0,y:t.y?t.y/n*100:0,width:t.width?t.width/e*100:0,height:t.height?t.height/n*100:0}}function d(t,e,n){return t.unit?"px"===t.unit?(0,r.A)((0,r.A)((0,r.A)({},s),t),{},{unit:"px"}):{unit:"px",x:t.x?t.x*e/100:0,y:t.y?t.y*n/100:0,width:t.width?t.width*e/100:0,height:t.height?t.height*n/100:0}:(0,r.A)((0,r.A)((0,r.A)({},s),t),{},{unit:"px"})}function h(t,e,n,o,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:o,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:i;const u=(0,r.A)({},t);let d=Math.min(a,o),h=Math.min(s,i),f=Math.min(l,o),p=Math.min(c,i);e&&(e>1?(d=s?s*e:d,h=d/e,f=l*e):(h=a?a/e:h,d=h*e,p=c/e)),u.y<0&&(u.height=Math.max(u.height+u.y,h),u.y=0),u.x<0&&(u.width=Math.max(u.width+u.x,d),u.x=0);const g=o-(u.x+u.width);g<0&&(u.x=Math.min(u.x,o-d),u.width+=g);const m=i-(u.y+u.height);if(m<0&&(u.y=Math.min(u.y,i-h),u.height+=m),u.width<d&&(("sw"===n||"nw"==n)&&(u.x-=d-u.width),u.width=d),u.height<h&&(("nw"===n||"ne"==n)&&(u.y-=h-u.height),u.height=h),u.width>f&&(("sw"===n||"nw"==n)&&(u.x-=f-u.width),u.width=f),u.height>p&&(("nw"===n||"ne"==n)&&(u.y-=p-u.height),u.height=p),e){const t=u.width/u.height;if(t<e){const t=Math.max(u.width/e,h);("nw"===n||"ne"==n)&&(u.y-=t-u.height),u.height=t}else if(t>e){const t=Math.max(u.height*e,d);("sw"===n||"nw"==n)&&(u.x-=t-u.width),u.width=t}}return u}const f={capture:!0,passive:!1};let p=0;const g=class t extends o.PureComponent{constructor(){super(...arguments),a(this,"docMoveBound",!1),a(this,"mouseDownOnCrop",!1),a(this,"dragStarted",!1),a(this,"evData",{startClientX:0,startClientY:0,startCropX:0,startCropY:0,clientX:0,clientY:0,isResize:!0}),a(this,"componentRef",(0,o.createRef)()),a(this,"mediaRef",(0,o.createRef)()),a(this,"resizeObserver"),a(this,"initChangeCalled",!1),a(this,"instanceId","rc-".concat(p++)),a(this,"state",{cropIsActive:!1,newCropIsBeingDrawn:!1}),a(this,"onCropPointerDown",t=>{const{crop:e,disabled:n}=this.props,r=this.getBox();if(!e)return;const o=d(e,r.width,r.height);if(n)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const i=t.target.dataset.ord,a=!!i;let s=t.clientX,l=t.clientY,c=o.x,u=o.y;if(i){const e=t.clientX-r.x,n=t.clientY-r.y;let a=0,d=0;"ne"===i||"e"==i?(a=e-(o.x+o.width),d=n-o.y,c=o.x,u=o.y+o.height):"se"===i||"s"===i?(a=e-(o.x+o.width),d=n-(o.y+o.height),c=o.x,u=o.y):"sw"===i||"w"==i?(a=e-o.x,d=n-(o.y+o.height),c=o.x+o.width,u=o.y):("nw"===i||"n"==i)&&(a=e-o.x,d=n-o.y,c=o.x+o.width,u=o.y+o.height),s=c+r.x+a,l=u+r.y+d}this.evData={startClientX:s,startClientY:l,startCropX:c,startCropY:u,clientX:t.clientX,clientY:t.clientY,isResize:a,ord:i},this.mouseDownOnCrop=!0,this.setState({cropIsActive:!0})}),a(this,"onComponentPointerDown",t=>{const{crop:e,disabled:n,locked:r,keepSelection:o,onChange:i}=this.props,a=this.getBox();if(n||r||o&&e)return;t.cancelable&&t.preventDefault(),this.bindDocMove(),this.componentRef.current.focus({preventScroll:!0});const s=t.clientX-a.x,l=t.clientY-a.y,c={unit:"px",x:s,y:l,width:0,height:0};this.evData={startClientX:t.clientX,startClientY:t.clientY,startCropX:s,startCropY:l,clientX:t.clientX,clientY:t.clientY,isResize:!0},this.mouseDownOnCrop=!0,i(d(c,a.width,a.height),u(c,a.width,a.height)),this.setState({cropIsActive:!0,newCropIsBeingDrawn:!0})}),a(this,"onDocPointerMove",t=>{const{crop:e,disabled:n,onChange:r,onDragStart:o}=this.props,i=this.getBox();if(n||!e||!this.mouseDownOnCrop)return;t.cancelable&&t.preventDefault(),this.dragStarted||(this.dragStarted=!0,o&&o(t));const{evData:a}=this;let s;a.clientX=t.clientX,a.clientY=t.clientY,s=a.isResize?this.resizeCrop():this.dragCrop(),c(e,s)||r(d(s,i.width,i.height),u(s,i.width,i.height))}),a(this,"onComponentKeyDown",e=>{const{crop:n,disabled:r,onChange:o,onComplete:i}=this.props;if(r)return;const a=e.key;let s=!1;if(!n)return;const c=this.getBox(),h=this.makePixelCrop(c),f=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?t.nudgeStepLarge:e.shiftKey?t.nudgeStepMedium:t.nudgeStep;if("ArrowLeft"===a?(h.x-=f,s=!0):"ArrowRight"===a?(h.x+=f,s=!0):"ArrowUp"===a?(h.y-=f,s=!0):"ArrowDown"===a&&(h.y+=f,s=!0),s){e.cancelable&&e.preventDefault(),h.x=l(h.x,0,c.width-h.width),h.y=l(h.y,0,c.height-h.height);const t=d(h,c.width,c.height),n=u(h,c.width,c.height);o(t,n),i&&i(t,n)}}),a(this,"onHandlerKeyDown",(e,n)=>{const{aspect:o=0,crop:i,disabled:a,minWidth:s=0,minHeight:l=0,maxWidth:f,maxHeight:p,onChange:g,onComplete:m}=this.props,v=this.getBox();if(a||!i)return;if("ArrowUp"!==e.key&&"ArrowDown"!==e.key&&"ArrowLeft"!==e.key&&"ArrowRight"!==e.key)return;e.stopPropagation(),e.preventDefault();const y=(navigator.platform.match("Mac")?e.metaKey:e.ctrlKey)?t.nudgeStepLarge:e.shiftKey?t.nudgeStepMedium:t.nudgeStep,b=function(t,e,n,o){const i=(0,r.A)({},t);return"ArrowLeft"===e?"nw"===o?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):"w"===o?(i.x-=n,i.width+=n):"sw"===o?(i.x-=n,i.width+=n,i.height+=n):"ne"===o?(i.y+=n,i.width-=n,i.height-=n):"e"===o?i.width-=n:"se"===o&&(i.width-=n,i.height-=n):"ArrowRight"===e&&("nw"===o?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):"w"===o?(i.x+=n,i.width-=n):"sw"===o?(i.x+=n,i.width-=n,i.height-=n):"ne"===o?(i.y-=n,i.width+=n,i.height+=n):"e"===o?i.width+=n:"se"===o&&(i.width+=n,i.height+=n)),"ArrowUp"===e?"nw"===o?(i.x-=n,i.y-=n,i.width+=n,i.height+=n):"n"===o?(i.y-=n,i.height+=n):"ne"===o?(i.y-=n,i.width+=n,i.height+=n):"sw"===o?(i.x+=n,i.width-=n,i.height-=n):"s"===o?i.height-=n:"se"===o&&(i.width-=n,i.height-=n):"ArrowDown"===e&&("nw"===o?(i.x+=n,i.y+=n,i.width-=n,i.height-=n):"n"===o?(i.y+=n,i.height-=n):"ne"===o?(i.y+=n,i.width-=n,i.height-=n):"sw"===o?(i.x-=n,i.width+=n,i.height+=n):"s"===o?i.height+=n:"se"===o&&(i.width+=n,i.height+=n)),i}(d(i,v.width,v.height),e.key,y,n),x=h(b,o,n,v.width,v.height,s,l,f,p);if(!c(i,x)){const t=u(x,v.width,v.height);g(x,t),m&&m(x,t)}}),a(this,"onDocPointerDone",t=>{const{crop:e,disabled:n,onComplete:r,onDragEnd:o}=this.props,i=this.getBox();this.unbindDocMove(),!n&&e&&this.mouseDownOnCrop&&(this.mouseDownOnCrop=!1,this.dragStarted=!1,o&&o(t),r&&r(d(e,i.width,i.height),u(e,i.width,i.height)),this.setState({cropIsActive:!1,newCropIsBeingDrawn:!1}))}),a(this,"onDragFocus",()=>{var t;null==(t=this.componentRef.current)||t.scrollTo(0,0)})}get document(){return document}getBox(){const t=this.mediaRef.current;if(!t)return{x:0,y:0,width:0,height:0};const{x:e,y:n,width:r,height:o}=t.getBoundingClientRect();return{x:e,y:n,width:r,height:o}}componentDidUpdate(t){const{crop:e,onComplete:n}=this.props;if(n&&!t.crop&&e){const{width:t,height:r}=this.getBox();t&&r&&n(d(e,t,r),u(e,t,r))}}componentWillUnmount(){this.resizeObserver&&this.resizeObserver.disconnect(),this.unbindDocMove()}bindDocMove(){this.docMoveBound||(this.document.addEventListener("pointermove",this.onDocPointerMove,f),this.document.addEventListener("pointerup",this.onDocPointerDone,f),this.document.addEventListener("pointercancel",this.onDocPointerDone,f),this.docMoveBound=!0)}unbindDocMove(){this.docMoveBound&&(this.document.removeEventListener("pointermove",this.onDocPointerMove,f),this.document.removeEventListener("pointerup",this.onDocPointerDone,f),this.document.removeEventListener("pointercancel",this.onDocPointerDone,f),this.docMoveBound=!1)}getCropStyle(){const{crop:t}=this.props;if(t)return{top:"".concat(t.y).concat(t.unit),left:"".concat(t.x).concat(t.unit),width:"".concat(t.width).concat(t.unit),height:"".concat(t.height).concat(t.unit)}}dragCrop(){const{evData:t}=this,e=this.getBox(),n=this.makePixelCrop(e),r=t.clientX-t.startClientX,o=t.clientY-t.startClientY;return n.x=l(t.startCropX+r,0,e.width-n.width),n.y=l(t.startCropY+o,0,e.height-n.height),n}getPointRegion(t,e,n,r){const{evData:o}=this,i=o.clientX-t.x,a=o.clientY-t.y;let s,l;return s=r&&e?"nw"===e||"n"===e||"ne"===e:a<o.startCropY,l=n&&e?"nw"===e||"w"===e||"sw"===e:i<o.startCropX,l?s?"nw":"sw":s?"ne":"se"}resolveMinDimensions(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;const o=Math.min(n,t.width),i=Math.min(r,t.height);return e&&(o||i)?e>1?o?[o,o/e]:[i*e,i]:i?[i*e,i]:[o,o/e]:[o,i]}resizeCrop(){const{evData:e}=this,{aspect:n=0,maxWidth:r,maxHeight:o}=this.props,i=this.getBox(),[a,s]=this.resolveMinDimensions(i,n,this.props.minWidth,this.props.minHeight);let c=this.makePixelCrop(i);const u=this.getPointRegion(i,e.ord,a,s),d=e.ord||u;let f=e.clientX-e.startClientX,p=e.clientY-e.startClientY;(a&&"nw"===d||"w"===d||"sw"===d)&&(f=Math.min(f,-a)),(s&&"nw"===d||"n"===d||"ne"===d)&&(p=Math.min(p,-s));const g={unit:"px",x:0,y:0,width:0,height:0};"ne"===u?(g.x=e.startCropX,g.width=f,n?(g.height=g.width/n,g.y=e.startCropY-g.height):(g.height=Math.abs(p),g.y=e.startCropY-g.height)):"se"===u?(g.x=e.startCropX,g.y=e.startCropY,g.width=f,g.height=n?g.width/n:p):"sw"===u?(g.x=e.startCropX+f,g.y=e.startCropY,g.width=Math.abs(f),g.height=n?g.width/n:p):"nw"===u&&(g.x=e.startCropX+f,g.width=Math.abs(f),n?(g.height=g.width/n,g.y=e.startCropY-g.height):(g.height=Math.abs(p),g.y=e.startCropY+p));const m=h(g,n,u,i.width,i.height,a,s,r,o);return n||t.xyOrds.indexOf(d)>-1?c=m:t.xOrds.indexOf(d)>-1?(c.x=m.x,c.width=m.width):t.yOrds.indexOf(d)>-1&&(c.y=m.y,c.height=m.height),c.x=l(c.x,0,i.width-c.width),c.y=l(c.y,0,i.height-c.height),c}renderCropSelection(){const{ariaLabels:e=t.defaultProps.ariaLabels,disabled:n,locked:r,renderSelectionAddon:i,ruleOfThirds:a,crop:s}=this.props,l=this.getCropStyle();if(s)return o.createElement("div",{style:l,className:"ReactCrop__crop-selection",onPointerDown:this.onCropPointerDown,"aria-label":e.cropArea,tabIndex:0,onKeyDown:this.onComponentKeyDown,role:"group"},!n&&!r&&o.createElement("div",{className:"ReactCrop__drag-elements",onFocus:this.onDragFocus},o.createElement("div",{className:"ReactCrop__drag-bar ord-n","data-ord":"n"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-e","data-ord":"e"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-s","data-ord":"s"}),o.createElement("div",{className:"ReactCrop__drag-bar ord-w","data-ord":"w"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-nw","data-ord":"nw",tabIndex:0,"aria-label":e.nwDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"nw"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-n","data-ord":"n",tabIndex:0,"aria-label":e.nDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"n"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-ne","data-ord":"ne",tabIndex:0,"aria-label":e.neDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"ne"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-e","data-ord":"e",tabIndex:0,"aria-label":e.eDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"e"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-se","data-ord":"se",tabIndex:0,"aria-label":e.seDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"se"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-s","data-ord":"s",tabIndex:0,"aria-label":e.sDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"s"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-sw","data-ord":"sw",tabIndex:0,"aria-label":e.swDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"sw"),role:"button"}),o.createElement("div",{className:"ReactCrop__drag-handle ord-w","data-ord":"w",tabIndex:0,"aria-label":e.wDragHandle,onKeyDown:t=>this.onHandlerKeyDown(t,"w"),role:"button"})),i&&o.createElement("div",{className:"ReactCrop__selection-addon",onPointerDown:t=>t.stopPropagation()},i(this.state)),a&&o.createElement(o.Fragment,null,o.createElement("div",{className:"ReactCrop__rule-of-thirds-hz"}),o.createElement("div",{className:"ReactCrop__rule-of-thirds-vt"})))}makePixelCrop(t){return d((0,r.A)((0,r.A)({},s),this.props.crop||{}),t.width,t.height)}render(){const{aspect:t,children:e,circularCrop:n,className:r,crop:i,disabled:a,locked:s,style:l,ruleOfThirds:c}=this.props,{cropIsActive:u,newCropIsBeingDrawn:d}=this.state,h=i?this.renderCropSelection():null,f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(t=>t&&"string"==typeof t).join(" ")}("ReactCrop",r,u&&"ReactCrop--active",a&&"ReactCrop--disabled",s&&"ReactCrop--locked",d&&"ReactCrop--new-crop",i&&t&&"ReactCrop--fixed-aspect",i&&n&&"ReactCrop--circular-crop",i&&c&&"ReactCrop--rule-of-thirds",!this.dragStarted&&i&&!i.width&&!i.height&&"ReactCrop--invisible-crop",n&&"ReactCrop--no-animate");return o.createElement("div",{ref:this.componentRef,className:f,style:l},o.createElement("div",{ref:this.mediaRef,className:"ReactCrop__child-wrapper",onPointerDown:this.onComponentPointerDown},e),i?o.createElement("svg",{className:"ReactCrop__crop-mask",width:"100%",height:"100%"},o.createElement("defs",null,o.createElement("mask",{id:"hole-".concat(this.instanceId)},o.createElement("rect",{width:"100%",height:"100%",fill:"white"}),n?o.createElement("ellipse",{cx:"".concat(i.x+i.width/2).concat(i.unit),cy:"".concat(i.y+i.height/2).concat(i.unit),rx:"".concat(i.width/2).concat(i.unit),ry:"".concat(i.height/2).concat(i.unit),fill:"black"}):o.createElement("rect",{x:"".concat(i.x).concat(i.unit),y:"".concat(i.y).concat(i.unit),width:"".concat(i.width).concat(i.unit),height:"".concat(i.height).concat(i.unit),fill:"black"}))),o.createElement("rect",{fill:"black",fillOpacity:.5,width:"100%",height:"100%",mask:"url(#hole-".concat(this.instanceId,")")})):void 0,h)}};a(g,"xOrds",["e","w"]),a(g,"yOrds",["n","s"]),a(g,"xyOrds",["nw","ne","se","sw"]),a(g,"nudgeStep",1),a(g,"nudgeStepMedium",10),a(g,"nudgeStepLarge",100),a(g,"defaultProps",{ariaLabels:{cropArea:"Use the arrow keys to move the crop selection area",nwDragHandle:"Use the arrow keys to move the north west drag handle to change the crop selection area",nDragHandle:"Use the up and down arrow keys to move the north drag handle to change the crop selection area",neDragHandle:"Use the arrow keys to move the north east drag handle to change the crop selection area",eDragHandle:"Use the up and down arrow keys to move the east drag handle to change the crop selection area",seDragHandle:"Use the arrow keys to move the south east drag handle to change the crop selection area",sDragHandle:"Use the up and down arrow keys to move the south drag handle to change the crop selection area",swDragHandle:"Use the arrow keys to move the south west drag handle to change the crop selection area",wDragHandle:"Use the up and down arrow keys to move the west drag handle to change the crop selection area"}});let m=g},72070:(t,e,n)=>{var r=n(87937)(n(56552),"Set");t.exports=r},72105:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Code",[["polyline",{points:"16 18 22 12 16 6",key:"z7tu5w"}],["polyline",{points:"8 6 2 12 8 18",key:"1eg1df"}]])},72154:(t,e,n)=>{var r=n(95575),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},72157:(t,e,n)=>{"use strict";n.d(e,{J:()=>o});const r=t=>"function"===typeof t;function o(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return r(t)?t(...n):t}},72313:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},72330:(t,e,n)=>{"use strict";var r=n(65043);var o="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e},i=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!o(t,n)}catch(r){return!0}}var u="undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement?function(t,e){return e()}:function(t,e){var n=e(),r=i({inst:{value:n,getSnapshot:e}}),o=r[0].inst,u=r[1];return s(function(){o.value=n,o.getSnapshot=e,c(o)&&u({inst:o})},[t,n,e]),a(function(){return c(o)&&u({inst:o}),t(function(){c(o)&&u({inst:o})})},[t]),l(n),n};e.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},72431:(t,e,n)=>{"use strict";n.d(e,{s:()=>k});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(2206),l=n(86219),c=n(65663),u=n(66686),d=n(43464),h=n(48952),f=n(65043),p=n(73225),g=n(55814);const m=["defaultChecked","isChecked","isFocusable","isDisabled","isReadOnly","isRequired","onChange","isInvalid","name","value","id","data-radiogroup","aria-describedby"];function v(t){t.preventDefault(),t.stopPropagation()}var y=n(55003),b=n(36059),x=n(52695);const w=["spacing","children","isDisabled","isFocusable","inputProps"],k=(0,y.R)((t,e)=>{var n;const y=(0,u.R)(),{onChange:k,value:A}=t,_=(0,b.o)("Radio",(0,o.A)((0,o.A)({},y),t)),S=(0,a.M)(t),{spacing:C="0.5rem",children:E,isDisabled:O=(null===y||void 0===y?void 0:y.isDisabled),isFocusable:P=(null===y||void 0===y?void 0:y.isFocusable),inputProps:M}=S,T=(0,r.A)(S,w);let N=t.isChecked;null!=(null===y||void 0===y?void 0:y.value)&&null!=A&&(N=y.value===A);let R=k;null!==y&&void 0!==y&&y.onChange&&null!=A&&(R=(0,l.O)(y.onChange,k));const L=null!==(n=null===t||void 0===t?void 0:t.name)&&void 0!==n?n:null===y||void 0===y?void 0:y.name,{getInputProps:D,getRadioProps:j,getLabelProps:I,getRootProps:z,htmlProps:B}=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{defaultChecked:e,isChecked:n,isFocusable:i,isDisabled:a,isReadOnly:s,isRequired:c,onChange:y,isInvalid:b,name:x,value:w,id:k,"data-radiogroup":A,"aria-describedby":_}=t,S=(0,r.A)(t,m),C="radio-".concat((0,f.useId)()),E=(0,p.Uc)(),O=(0,u.R)();let P=!E||O||A?C:E.id;P=null!==k&&void 0!==k?k:P;const M=null!==a&&void 0!==a?a:null===E||void 0===E?void 0:E.isDisabled,T=null!==s&&void 0!==s?s:null===E||void 0===E?void 0:E.isReadOnly,N=null!==c&&void 0!==c?c:null===E||void 0===E?void 0:E.isRequired,R=null!==b&&void 0!==b?b:null===E||void 0===E?void 0:E.isInvalid,[L,D]=(0,f.useState)(!1),[j,I]=(0,f.useState)(!1),[z,B]=(0,f.useState)(!1),[F,H]=(0,f.useState)(Boolean(e)),V="undefined"!==typeof n,q=V?n:F,U=(0,f.useRef)(!1);(0,f.useEffect)(()=>(0,h.Yy)(t=>{U.current=t}),[]);const W=(0,f.useCallback)(t=>{T||M?t.preventDefault():(V||H(t.currentTarget.checked),null===y||void 0===y||y(t))},[V,M,T,y]),G=(0,f.useCallback)(t=>{" "===t.key&&B(!0)},[B]),Y=(0,f.useCallback)(t=>{" "===t.key&&B(!1)},[B]),K=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:e,"data-active":(0,d.s)(z),"data-hover":(0,d.s)(j),"data-disabled":(0,d.s)(M),"data-invalid":(0,d.s)(R),"data-checked":(0,d.s)(q),"data-focus":(0,d.s)(L),"data-focus-visible":(0,d.s)(L&&U.current),"data-readonly":(0,d.s)(T),"aria-hidden":!0,onMouseDown:(0,l.H)(t.onMouseDown,()=>B(!0)),onMouseUp:(0,l.H)(t.onMouseUp,()=>B(!1)),onMouseEnter:(0,l.H)(t.onMouseEnter,()=>I(!0)),onMouseLeave:(0,l.H)(t.onMouseLeave,()=>I(!1))})},[z,j,M,R,q,L,T]),{onFocus:$,onBlur:X}=null!==E&&void 0!==E?E:{},Q=(0,f.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=M&&!i;return(0,o.A)((0,o.A)({},t),{},{id:P,ref:e,type:"radio",name:x,value:w,onChange:(0,l.H)(t.onChange,W),onBlur:(0,l.H)(X,t.onBlur,()=>D(!1)),onFocus:(0,l.H)($,t.onFocus,()=>D(!0)),onKeyDown:(0,l.H)(t.onKeyDown,G),onKeyUp:(0,l.H)(t.onKeyUp,Y),checked:q,disabled:n,readOnly:T,required:N,"aria-invalid":(0,d.r)(R),"aria-disabled":(0,d.r)(n),"aria-required":(0,d.r)(N),"data-readonly":(0,d.s)(T),"aria-describedby":_,style:g.f})},[M,i,P,x,w,W,X,$,G,Y,q,T,N,R,_]);return{state:{isInvalid:R,isFocused:L,isChecked:q,isActive:z,isHovered:j,isDisabled:M,isReadOnly:T,isRequired:N},getRadioProps:K,getInputProps:Q,getLabelProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({},t),{},{ref:e,onMouseDown:(0,l.H)(t.onMouseDown,v),"data-disabled":(0,d.s)(M),"data-checked":(0,d.s)(q),"data-invalid":(0,d.s)(R)})},getRootProps:function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,o.A)((0,o.A)({htmlFor:P},t),{},{ref:e,"data-disabled":(0,d.s)(M),"data-checked":(0,d.s)(q),"data-invalid":(0,d.s)(R)})},htmlProps:S}}((0,o.A)((0,o.A)({},T),{},{isChecked:N,isFocusable:P,isDisabled:O,onChange:R,name:L})),[F,H]=(0,c.l)(B,s.GF),V=j(H),q=D(M,e),U=I(),W=Object.assign({},F,z()),G=(0,o.A)({display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative"},_.container),Y=(0,o.A)({display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},_.control),K=(0,o.A)({userSelect:"none",marginStart:C},_.label);return(0,i.jsxs)(x.B.label,(0,o.A)((0,o.A)({className:"chakra-radio"},W),{},{__css:G,children:[(0,i.jsx)("input",(0,o.A)({className:"chakra-radio__input"},q)),(0,i.jsx)(x.B.span,(0,o.A)((0,o.A)({className:"chakra-radio__control"},V),{},{__css:Y})),E&&(0,i.jsx)(x.B.span,(0,o.A)((0,o.A)({className:"chakra-radio__label"},U),{},{__css:K,children:E}))]}))});k.displayName="Radio"},72515:(t,e,n)=>{"use strict";n.d(e,{S:()=>o});var r=n(70579);const o=(0,n(14010).w)({viewBox:"0 0 14 14",path:(0,r.jsx)("g",{fill:"currentColor",children:(0,r.jsx)("polygon",{points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})})})},72526:(t,e,n)=>{"use strict";n.d(e,{I:()=>a});var r=n(10765),o=n(68664),i=n(51129);function a(t,e,n){const a=(0,o.vh)(t,e,n);return(0,i.t)(a,r.$)}},73204:(t,e,n)=>{var r=n(3343),o=n(22777),i=n(54052),a=n(44543),s=n(69194),l=n(51268),c=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),u=!n&&o(t),d=!n&&!u&&a(t),h=!n&&!u&&!d&&l(t),f=n||u||d||h,p=f?r(t.length,String):[],g=p.length;for(var m in t)!e&&!c.call(t,m)||f&&("length"==m||d&&("offset"==m||"parent"==m)||h&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||p.push(m);return p}},73212:(t,e,n)=>{"use strict";n.d(e,{r:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(16935),s=n(43533),l=n(17841),c=n(36448),u=n(55003);const d=["columns","spacingX","spacingY","spacing","minChildWidth"],h=(0,u.R)(function(t,e){const{columns:n,spacingX:u,spacingY:h,spacing:f,minChildWidth:p}=t,g=(0,o.A)(t,d),m=(0,l.D)(),v=p?function(t,e){return(0,a.bk)(t,t=>{const n=(0,c.gf)("sizes",t,"number"===typeof(r=t)?"".concat(r,"px"):r)(e);var r;return null===t?null:"repeat(auto-fit, minmax(".concat(n,", 1fr))")})}(p,m):(y=n,(0,a.bk)(y,t=>null===t?null:"repeat(".concat(t,", minmax(0, 1fr))")));var y;return(0,i.jsx)(s.x,(0,r.A)({ref:e,gap:f,columnGap:u,rowGap:h,templateColumns:v},g))});h.displayName="SimpleGrid"},73216:(t,e,n)=>{"use strict";var r;n.d(e,{$P:()=>f,BV:()=>B,C5:()=>D,Ix:()=>z,V8:()=>L,Zp:()=>v,g:()=>b,jb:()=>c,qh:()=>I,sv:()=>j,x$:()=>x,zy:()=>g});var o=n(65043),i=n(31387);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}const s=o.createContext(null);const l=o.createContext(null);const c=o.createContext(null);const u=o.createContext(null);const d=o.createContext({outlet:null,matches:[],isDataRoute:!1});const h=o.createContext(null);function f(t,e){let{relative:n}=void 0===e?{}:e;p()||(0,i.Oi)(!1);let{basename:r,navigator:a}=o.useContext(c),{hash:s,pathname:l,search:u}=x(t,{relative:n}),d=l;return"/"!==r&&(d="/"===l?r:(0,i.HS)([r,l])),a.createHref({pathname:d,search:u,hash:s})}function p(){return null!=o.useContext(u)}function g(){return p()||(0,i.Oi)(!1),o.useContext(u).location}function m(t){o.useContext(c).static||o.useLayoutEffect(t)}function v(){let{isDataRoute:t}=o.useContext(d);return t?function(){let{router:t}=P(E.UseNavigateStable),e=T(O.UseNavigateStable),n=o.useRef(!1);return m(()=>{n.current=!0}),o.useCallback(function(r,o){void 0===o&&(o={}),n.current&&("number"===typeof r?t.navigate(r):t.navigate(r,a({fromRouteId:e},o)))},[t,e])}():function(){p()||(0,i.Oi)(!1);let t=o.useContext(s),{basename:e,future:n,navigator:r}=o.useContext(c),{matches:a}=o.useContext(d),{pathname:l}=g(),u=JSON.stringify((0,i.yD)(a,n.v7_relativeSplatPath)),h=o.useRef(!1);return m(()=>{h.current=!0}),o.useCallback(function(n,o){if(void 0===o&&(o={}),!h.current)return;if("number"===typeof n)return void r.go(n);let a=(0,i.Gh)(n,JSON.parse(u),l,"path"===o.relative);null==t&&"/"!==e&&(a.pathname="/"===a.pathname?e:(0,i.HS)([e,a.pathname])),(o.replace?r.replace:r.push)(a,o.state,o)},[e,r,u,l,t])}()}const y=o.createContext(null);function b(){let{matches:t}=o.useContext(d),e=t[t.length-1];return e?e.params:{}}function x(t,e){let{relative:n}=void 0===e?{}:e,{future:r}=o.useContext(c),{matches:a}=o.useContext(d),{pathname:s}=g(),l=JSON.stringify((0,i.yD)(a,r.v7_relativeSplatPath));return o.useMemo(()=>(0,i.Gh)(t,JSON.parse(l),s,"path"===n),[t,l,s,n])}function w(t,e,n,r){p()||(0,i.Oi)(!1);let{navigator:s}=o.useContext(c),{matches:l}=o.useContext(d),h=l[l.length-1],f=h?h.params:{},m=(h&&h.pathname,h?h.pathnameBase:"/");h&&h.route;let v,y=g();if(e){var b;let t="string"===typeof e?(0,i.Rr)(e):e;"/"===m||(null==(b=t.pathname)?void 0:b.startsWith(m))||(0,i.Oi)(!1),v=t}else v=y;let x=v.pathname||"/",w=x;if("/"!==m){let t=m.replace(/^\//,"").split("/");w="/"+x.replace(/^\//,"").split("/").slice(t.length).join("/")}let k=(0,i.ue)(t,{pathname:w});let A=C(k&&k.map(t=>Object.assign({},t,{params:Object.assign({},f,t.params),pathname:(0,i.HS)([m,s.encodeLocation?s.encodeLocation(t.pathname).pathname:t.pathname]),pathnameBase:"/"===t.pathnameBase?m:(0,i.HS)([m,s.encodeLocation?s.encodeLocation(t.pathnameBase).pathname:t.pathnameBase])})),l,n,r);return e&&A?o.createElement(u.Provider,{value:{location:a({pathname:"/",search:"",hash:"",state:null,key:"default"},v),navigationType:i.rc.Pop}},A):A}function k(){let t=function(){var t;let e=o.useContext(h),n=M(O.UseRouteError),r=T(O.UseRouteError);if(void 0!==e)return e;return null==(t=n.errors)?void 0:t[r]}(),e=(0,i.pX)(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r};return o.createElement(o.Fragment,null,o.createElement("h2",null,"Unexpected Application Error!"),o.createElement("h3",{style:{fontStyle:"italic"}},e),n?o.createElement("pre",{style:a},n):null,null)}const A=o.createElement(k,null);class _ extends o.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||"idle"!==e.revalidation&&"idle"===t.revalidation?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:void 0!==t.error?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){console.error("React Router caught the following error during render",t,e)}render(){return void 0!==this.state.error?o.createElement(d.Provider,{value:this.props.routeContext},o.createElement(h.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function S(t){let{routeContext:e,match:n,children:r}=t,i=o.useContext(s);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),o.createElement(d.Provider,{value:e},r)}function C(t,e,n,r){var a;if(void 0===e&&(e=[]),void 0===n&&(n=null),void 0===r&&(r=null),null==t){var s;if(!n)return null;if(n.errors)t=n.matches;else{if(!(null!=(s=r)&&s.v7_partialHydration&&0===e.length&&!n.initialized&&n.matches.length>0))return null;t=n.matches}}let l=t,c=null==(a=n)?void 0:a.errors;if(null!=c){let t=l.findIndex(t=>t.route.id&&void 0!==(null==c?void 0:c[t.route.id]));t>=0||(0,i.Oi)(!1),l=l.slice(0,Math.min(l.length,t+1))}let u=!1,d=-1;if(n&&r&&r.v7_partialHydration)for(let o=0;o<l.length;o++){let t=l[o];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=o),t.route.id){let{loaderData:e,errors:r}=n,o=t.route.loader&&void 0===e[t.route.id]&&(!r||void 0===r[t.route.id]);if(t.route.lazy||o){u=!0,l=d>=0?l.slice(0,d+1):[l[0]];break}}}return l.reduceRight((t,r,i)=>{let a,s=!1,h=null,f=null;var p;n&&(a=c&&r.route.id?c[r.route.id]:void 0,h=r.route.errorElement||A,u&&(d<0&&0===i?(p="route-fallback",!1||N[p]||(N[p]=!0),s=!0,f=null):d===i&&(s=!0,f=r.route.hydrateFallbackElement||null)));let g=e.concat(l.slice(0,i+1)),m=()=>{let e;return e=a?h:s?f:r.route.Component?o.createElement(r.route.Component,null):r.route.element?r.route.element:t,o.createElement(S,{match:r,routeContext:{outlet:t,matches:g,isDataRoute:null!=n},children:e})};return n&&(r.route.ErrorBoundary||r.route.errorElement||0===i)?o.createElement(_,{location:n.location,revalidation:n.revalidation,component:h,error:a,children:m(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var E=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(E||{}),O=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(O||{});function P(t){let e=o.useContext(s);return e||(0,i.Oi)(!1),e}function M(t){let e=o.useContext(l);return e||(0,i.Oi)(!1),e}function T(t){let e=function(){let t=o.useContext(d);return t||(0,i.Oi)(!1),t}(),n=e.matches[e.matches.length-1];return n.route.id||(0,i.Oi)(!1),n.route.id}const N={};const R=(t,e,n)=>{};function L(t,e){void 0===(null==t?void 0:t.v7_startTransition)&&R("v7_startTransition","React Router will begin wrapping state updates in `React.startTransition` in v7","https://reactrouter.com/v6/upgrading/future#v7_starttransition"),void 0!==(null==t?void 0:t.v7_relativeSplatPath)||e&&void 0!==e.v7_relativeSplatPath||R("v7_relativeSplatPath","Relative route resolution within Splat routes is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_relativesplatpath"),e&&(void 0===e.v7_fetcherPersist&&R("v7_fetcherPersist","The persistence behavior of fetchers is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_fetcherpersist"),void 0===e.v7_normalizeFormMethod&&R("v7_normalizeFormMethod","Casing of `formMethod` fields is being normalized to uppercase in v7","https://reactrouter.com/v6/upgrading/future#v7_normalizeformmethod"),void 0===e.v7_partialHydration&&R("v7_partialHydration","`RouterProvider` hydration behavior is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_partialhydration"),void 0===e.v7_skipActionErrorRevalidation&&R("v7_skipActionErrorRevalidation","The revalidation behavior after 4xx/5xx `action` responses is changing in v7","https://reactrouter.com/v6/upgrading/future#v7_skipactionerrorrevalidation"))}(r||(r=n.t(o,2))).startTransition;function D(t){let{to:e,replace:n,state:r,relative:a}=t;p()||(0,i.Oi)(!1);let{future:s,static:l}=o.useContext(c),{matches:u}=o.useContext(d),{pathname:h}=g(),f=v(),m=(0,i.Gh)(e,(0,i.yD)(u,s.v7_relativeSplatPath),h,"path"===a),y=JSON.stringify(m);return o.useEffect(()=>f(JSON.parse(y),{replace:n,state:r,relative:a}),[f,y,a,n,r]),null}function j(t){return function(t){let e=o.useContext(d).outlet;return e?o.createElement(y.Provider,{value:t},e):e}(t.context)}function I(t){(0,i.Oi)(!1)}function z(t){let{basename:e="/",children:n=null,location:r,navigationType:s=i.rc.Pop,navigator:l,static:d=!1,future:h}=t;p()&&(0,i.Oi)(!1);let f=e.replace(/^\/*/,"/"),g=o.useMemo(()=>({basename:f,navigator:l,static:d,future:a({v7_relativeSplatPath:!1},h)}),[f,h,l,d]);"string"===typeof r&&(r=(0,i.Rr)(r));let{pathname:m="/",search:v="",hash:y="",state:b=null,key:x="default"}=r,w=o.useMemo(()=>{let t=(0,i.pb)(m,f);return null==t?null:{location:{pathname:t,search:v,hash:y,state:b,key:x},navigationType:s}},[f,m,v,y,b,x,s]);return null==w?null:o.createElement(c.Provider,{value:g},o.createElement(u.Provider,{children:n,value:w}))}function B(t){let{children:e,location:n}=t;return w(F(e),n)}new Promise(()=>{});o.Component;function F(t,e){void 0===e&&(e=[]);let n=[];return o.Children.forEach(t,(t,r)=>{if(!o.isValidElement(t))return;let a=[...e,r];if(t.type===o.Fragment)return void n.push.apply(n,F(t.props.children,a));t.type!==I&&(0,i.Oi)(!1),t.props.index&&t.props.children&&(0,i.Oi)(!1);let s={id:t.props.id||a.join("-"),caseSensitive:t.props.caseSensitive,element:t.props.element,Component:t.props.Component,index:t.props.index,path:t.props.path,loader:t.props.loader,action:t.props.action,errorElement:t.props.errorElement,ErrorBoundary:t.props.ErrorBoundary,hasErrorBoundary:null!=t.props.ErrorBoundary||null!=t.props.errorElement,shouldRevalidate:t.props.shouldRevalidate,handle:t.props.handle,lazy:t.props.lazy};t.props.children&&(s.children=F(t.props.children,a)),n.push(s)}),n}},73225:(t,e,n)=>{"use strict";n.d(e,{MJ:()=>w,TP:()=>y,Uc:()=>x,eK:()=>k});var r=n(89379),o=n(80045),i=n(70579),a=n(43194),s=n(56294),l=n(43464),c=n(92970),u=n(64844),d=n(65043),h=n(55003),f=n(36059),p=n(52695);const g=["id","isRequired","isInvalid","isDisabled","isReadOnly"],m=["getRootProps","htmlProps"],[v,y]=(0,c.q)({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[b,x]=(0,c.q)({strict:!1,name:"FormControlContext"});const w=(0,h.R)(function(t,e){const n=(0,f.o)("Form",t),c=function(t){const{id:e,isRequired:n,isInvalid:i,isDisabled:s,isReadOnly:c}=t,u=(0,o.A)(t,g),h=(0,d.useId)(),f=e||"field-".concat(h),p="".concat(f,"-label"),m="".concat(f,"-feedback"),v="".concat(f,"-helptext"),[y,b]=(0,d.useState)(!1),[x,w]=(0,d.useState)(!1),[k,A]=(0,d.useState)(!1),_=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({id:v},t),{},{ref:(0,a.Px)(e,t=>{t&&w(!0)})})},[v]),S=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,"data-focus":(0,l.s)(k),"data-disabled":(0,l.s)(s),"data-invalid":(0,l.s)(i),"data-readonly":(0,l.s)(c),id:void 0!==t.id?t.id:p,htmlFor:void 0!==t.htmlFor?t.htmlFor:f})},[f,s,k,i,c,p]),C=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({id:m},t),{},{ref:(0,a.Px)(e,t=>{t&&b(!0)}),"aria-live":"polite"})},[m]),E=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)((0,r.A)({},t),u),{},{ref:e,role:"group","data-focus":(0,l.s)(k),"data-disabled":(0,l.s)(s),"data-invalid":(0,l.s)(i),"data-readonly":(0,l.s)(c)})},[u,s,k,i,c]),O=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:e,role:"presentation","aria-hidden":!0,children:t.children||"*"})},[]);return{isRequired:!!n,isInvalid:!!i,isReadOnly:!!c,isDisabled:!!s,isFocused:!!k,onFocus:()=>A(!0),onBlur:()=>A(!1),hasFeedbackText:y,setHasFeedbackText:b,hasHelpText:x,setHasHelpText:w,id:f,labelId:p,feedbackId:m,helpTextId:v,htmlProps:u,getHelpTextProps:_,getErrorMessageProps:C,getRootProps:E,getLabelProps:S,getRequiredIndicatorProps:O}}((0,s.M)(t)),{getRootProps:h,htmlProps:y}=c,x=(0,o.A)(c,m),w=(0,u.cx)("chakra-form-control",t.className);return(0,i.jsx)(b,{value:x,children:(0,i.jsx)(v,{value:n,children:(0,i.jsx)(p.B.div,(0,r.A)((0,r.A)({},h({},e)),{},{className:w,__css:n.container}))})})});w.displayName="FormControl";const k=(0,h.R)(function(t,e){const n=x(),o=y(),a=(0,u.cx)("chakra-form__helper-text",t.className);return(0,i.jsx)(p.B.div,(0,r.A)((0,r.A)({},null===n||void 0===n?void 0:n.getHelpTextProps(t,e)),{},{__css:o.helperText,className:a}))});k.displayName="FormHelperText"},73635:(t,e,n)=>{"use strict";n.d(e,{t:()=>u,v:()=>d});var r=n(89379),o=n(80045),i=n(43464),a=n(86219),s=n(73225);const l=["isDisabled","isInvalid","isReadOnly","isRequired"],c=["id","disabled","readOnly","required","isRequired","isInvalid","isReadOnly","isDisabled","onFocus","onBlur"];function u(t){const e=d(t),{isDisabled:n,isInvalid:a,isReadOnly:s,isRequired:c}=e,u=(0,o.A)(e,l);return(0,r.A)((0,r.A)({},u),{},{disabled:n,readOnly:s,required:c,"aria-invalid":(0,i.r)(a),"aria-required":(0,i.r)(c),"aria-readonly":(0,i.r)(s)})}function d(t){var e,n,i;const l=(0,s.Uc)(),{id:u,disabled:d,readOnly:h,required:f,isRequired:p,isInvalid:g,isReadOnly:m,isDisabled:v,onFocus:y,onBlur:b}=t,x=(0,o.A)(t,c),w=t["aria-describedby"]?[t["aria-describedby"]]:[];return null!==l&&void 0!==l&&l.hasFeedbackText&&null!==l&&void 0!==l&&l.isInvalid&&w.push(l.feedbackId),null!==l&&void 0!==l&&l.hasHelpText&&w.push(l.helpTextId),(0,r.A)((0,r.A)({},x),{},{"aria-describedby":w.join(" ")||void 0,id:null!==u&&void 0!==u?u:null===l||void 0===l?void 0:l.id,isDisabled:null!==(e=null!==d&&void 0!==d?d:v)&&void 0!==e?e:null===l||void 0===l?void 0:l.isDisabled,isReadOnly:null!==(n=null!==h&&void 0!==h?h:m)&&void 0!==n?n:null===l||void 0===l?void 0:l.isReadOnly,isRequired:null!==(i=null!==f&&void 0!==f?f:p)&&void 0!==i?i:null===l||void 0===l?void 0:l.isRequired,isInvalid:null!==g&&void 0!==g?g:null===l||void 0===l?void 0:l.isInvalid,onFocus:(0,a.H)(null===l||void 0===l?void 0:l.onFocus,y),onBlur:(0,a.H)(null===l||void 0===l?void 0:l.onBlur,b)})}},73669:(t,e,n)=>{"use strict";n.d(e,{h:()=>r});const r=(0,n(52695).B)("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});r.displayName="Spacer"},74117:(t,e,n)=>{"use strict";n.d(e,{r9:()=>g,Bd:()=>b});var r=n(65043);n(11844);Object.create(null);const o={};function i(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];"string"===typeof e[0]&&o[e[0]]||("string"===typeof e[0]&&(o[e[0]]=new Date),function(){if(console&&console.warn){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];"string"===typeof e[0]&&(e[0]="react-i18next:: ".concat(e[0])),console.warn(...e)}}(...e))}const a=(t,e)=>()=>{if(t.isInitialized)e();else{const n=()=>{setTimeout(()=>{t.off("initialized",n)},0),e()};t.on("initialized",n)}};function s(t,e,n){t.loadNamespaces(e,a(t,n))}function l(t,e,n,r){"string"===typeof n&&(n=[n]),n.forEach(e=>{t.options.ns.indexOf(e)<0&&t.options.ns.push(e)}),t.loadLanguages(e,a(t,r))}var c=n(89379);const u=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,d={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"\u2026","…":"\u2026","/":"/","/":"/"},h=t=>d[t];let f={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:t=>t.replace(u,h)};let p;const g={type:"3rdParty",init(t){!function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};f=(0,c.A)((0,c.A)({},f),t)}(t.options.react),function(t){p=t}(t)}},m=(0,r.createContext)();class v{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const y=(t,e)=>{const n=(0,r.useRef)();return(0,r.useEffect)(()=>{n.current=e?n.current:t},[t,e]),n.current};function b(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{i18n:n}=e,{i18n:o,defaultNS:a}=(0,r.useContext)(m)||{},u=n||o||p;if(u&&!u.reportNamespaces&&(u.reportNamespaces=new v),!u){i("You will need to pass in an i18next instance by using initReactI18next");const t=(t,e)=>"string"===typeof e?e:e&&"object"===typeof e&&"string"===typeof e.defaultValue?e.defaultValue:Array.isArray(t)?t[t.length-1]:t,e=[t,{},!1];return e.t=t,e.i18n={},e.ready=!1,e}u.options.react&&void 0!==u.options.react.wait&&i("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const d=(0,c.A)((0,c.A)((0,c.A)({},f),u.options.react),e),{useSuspense:h,keyPrefix:g}=d;let b=t||a||u.options&&u.options.defaultNS;b="string"===typeof b?[b]:b||["translation"],u.reportNamespaces.addUsedNamespaces&&u.reportNamespaces.addUsedNamespaces(b);const x=(u.isInitialized||u.initializedStoreOnce)&&b.every(t=>function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return e.languages&&e.languages.length?void 0!==e.options.ignoreJSONStructure?e.hasLoadedNamespace(t,{lng:n.lng,precheck:(e,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!r(e.isLanguageChangingTo,t))return!1}}):function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const r=e.languages[0],o=!!e.options&&e.options.fallbackLng,i=e.languages[e.languages.length-1];if("cimode"===r.toLowerCase())return!0;const a=(t,n)=>{const r=e.services.backendConnector.state["".concat(t,"|").concat(n)];return-1===r||2===r};return!(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&e.services.backendConnector.backend&&e.isLanguageChangingTo&&!a(e.isLanguageChangingTo,t))&&(!!e.hasResourceBundle(r,t)||!(e.services.backendConnector.backend&&(!e.options.resources||e.options.partialBundledLanguages))||!(!a(r,t)||o&&!a(i,t)))}(t,e,n):(i("i18n.languages were undefined or empty",e.languages),!0)}(t,u,d));function w(){return u.getFixedT(e.lng||null,"fallback"===d.nsMode?b:b[0],g)}const[k,A]=(0,r.useState)(w);let _=b.join();e.lng&&(_="".concat(e.lng).concat(_));const S=y(_),C=(0,r.useRef)(!0);(0,r.useEffect)(()=>{const{bindI18n:t,bindI18nStore:n}=d;function r(){C.current&&A(w)}return C.current=!0,x||h||(e.lng?l(u,e.lng,b,()=>{C.current&&A(w)}):s(u,b,()=>{C.current&&A(w)})),x&&S&&S!==_&&C.current&&A(w),t&&u&&u.on(t,r),n&&u&&u.store.on(n,r),()=>{C.current=!1,t&&u&&t.split(" ").forEach(t=>u.off(t,r)),n&&u&&n.split(" ").forEach(t=>u.store.off(t,r))}},[u,_]);const E=(0,r.useRef)(!0);(0,r.useEffect)(()=>{C.current&&!E.current&&A(w),E.current=!1},[u,g]);const O=[k,u,x];if(O.t=k,O.i18n=u,O.ready=x,x)return O;if(!x&&!h)return O;throw new Promise(t=>{e.lng?l(u,e.lng,b,()=>t()):s(u,b,()=>t())})}},74912:(t,e,n)=>{"use strict";n.d(e,{w:()=>o});var r=n(62316);function o(t,e){const n=(0,r.a)(t,null===e||void 0===e?void 0:e.in);return n.setDate(1),n.setHours(0,0,0,0),n}},75081:(t,e,n)=>{"use strict";n.d(e,{Q:()=>d});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(55003),l=n(52695);const c=["isExternal","target","rel","className"],u=["className"],d=((0,s.R)(function(t,e){const{isExternal:n,target:s,rel:u,className:d}=t,h=(0,o.A)(t,c);return(0,i.jsx)(l.B.a,(0,r.A)((0,r.A)({},h),{},{ref:e,className:(0,a.cx)("chakra-linkbox__overlay",d),rel:n?"noopener noreferrer":u,target:n?"_blank":s,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}}))}),(0,s.R)(function(t,e){const{className:n}=t,s=(0,o.A)(t,u);return(0,i.jsx)(l.B.div,(0,r.A)((0,r.A)({ref:e,position:"relative"},s),{},{className:(0,a.cx)("chakra-linkbox",n),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}}))}))},75088:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},75270:(t,e,n)=>{"use strict";var r=n(40139),o={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,i,a,s,l,c,u=!1;e||(e={}),n=e.debug||!1;try{if(a=r(),s=document.createRange(),l=document.getSelection(),(c=document.createElement("span")).textContent=t,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(r){if(r.stopPropagation(),e.format)if(r.preventDefault(),"undefined"===typeof r.clipboardData){n&&console.warn("unable to use e.clipboardData"),n&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var i=o[e.format]||o.default;window.clipboardData.setData(i,t)}else r.clipboardData.clearData(),r.clipboardData.setData(e.format,t);e.onCopy&&(r.preventDefault(),e.onCopy(r.clipboardData))}),document.body.appendChild(c),s.selectNodeContents(c),l.addRange(s),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(d){n&&console.error("unable to copy using execCommand: ",d),n&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),u=!0}catch(d){n&&console.error("unable to copy using clipboardData: ",d),n&&console.error("falling back to prompt"),i=function(t){var e=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return t.replace(/#{\s*key\s*}/g,e)}("message"in e?e.message:"Copy to clipboard: #{key}, Enter"),window.prompt(i,t)}}finally{l&&("function"==typeof l.removeRange?l.removeRange(s):l.removeAllRanges()),c&&document.body.removeChild(c),a()}return u}},75780:(t,e,n)=>{"use strict";n.d(e,{W:()=>s});var r=n(70579),o=n(65043),i=n(9957),a=n(34766);function s(t){const e=o.Children.only(t.children),{getTriggerProps:n}=(0,i.C_)();return(0,r.jsx)(r.Fragment,{children:(0,o.cloneElement)(e,n(e.props,(0,a.Q)(e)))})}s.displayName="PopoverTrigger"},76479:(t,e,n)=>{"use strict";n.d(e,{K:()=>r});const r=(0,n(14010).w)({d:"M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8-8 8z",displayName:"ArrowUpIcon"})},76659:(t,e,n)=>{"use strict";n.d(e,{y:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(83290),c=n(55003),u=n(36059),d=n(52695);const h=["label","thickness","speed","emptyColor","className"],f=(0,l.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),p=(0,c.R)((t,e)=>{const n=(0,u.V)("Spinner",t),l=(0,a.M)(t),{label:c="Loading...",thickness:p="2px",speed:g="0.45s",emptyColor:m="transparent",className:v}=l,y=(0,o.A)(l,h),b=(0,s.cx)("chakra-spinner",v),x=(0,r.A)({display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:p,borderBottomColor:m,borderLeftColor:m,animation:"".concat(f," ").concat(g," linear infinite")},n);return(0,i.jsx)(d.B.div,(0,r.A)((0,r.A)({ref:e,__css:x,className:b},y),{},{children:c&&(0,i.jsx)(d.B.span,{srOnly:!0,children:c})}))});p.displayName="Spinner"},76668:(t,e,n)=>{"use strict";n.d(e,{l:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(73225),c=n(55003),u=n(36059),d=n(52695);const h=["className","children","requiredIndicator","optionalIndicator"],f=(0,c.R)(function(t,e){var n;const c=(0,u.V)("FormLabel",t),f=(0,a.M)(t),{className:g,children:m,requiredIndicator:v=(0,i.jsx)(p,{}),optionalIndicator:y=null}=f,b=(0,o.A)(f,h),x=(0,l.Uc)(),w=null!==(n=null===x||void 0===x?void 0:x.getLabelProps(b,e))&&void 0!==n?n:(0,r.A)({ref:e},b);return(0,i.jsxs)(d.B.label,(0,r.A)((0,r.A)({},w),{},{className:(0,s.cx)("chakra-form__label",f.className),__css:(0,r.A)({display:"block",textAlign:"start"},c),children:[m,null!==x&&void 0!==x&&x.isRequired?v:y]}))});f.displayName="FormLabel";const p=(0,c.R)(function(t,e){const n=(0,l.Uc)(),o=(0,l.TP)();if(null===n||void 0===n||!n.isRequired)return null;const a=(0,s.cx)("chakra-form__required-indicator",t.className);return(0,i.jsx)(d.B.span,(0,r.A)((0,r.A)({},null===n||void 0===n?void 0:n.getRequiredIndicatorProps(t,e)),{},{__css:o.requiredIndicator,className:a}))});p.displayName="RequiredIndicator"},76672:(t,e,n)=>{"use strict";n.d(e,{i:()=>i});var r=n(12440),o=n(62316);function i(t,e,n){const i=(0,o.a)(t,null===n||void 0===n?void 0:n.in);return isNaN(+i)?(0,r.w)((null===n||void 0===n?void 0:n.in)||t,NaN):(i.setFullYear(e),i)}},76788:(t,e,n)=>{var r=n(97160),o=n(85204),i=n(64816);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},76833:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},77264:(t,e,n)=>{"use strict";n.d(e,{k:()=>o});var r=n(68664);class o{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(()=>{this.optionalRemove()},this.cacheTime))}updateCacheTime(t){this.cacheTime=Math.max(this.cacheTime||0,null!=t?t:r.S$?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},77402:(t,e,n)=>{"use strict";function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=Object.assign({},t);for(const r of e)r in n&&delete n[r];return n}n.d(e,{c:()=>r})},77576:(t,e,n)=>{"use strict";function r(t){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}n.d(e,{k:()=>r})},77784:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(89379),o=n(80045),i=n(65043);const a=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((t,e,n)=>Boolean(t)&&n.indexOf(t)===e).join(" ")};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const l=["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"],c=(0,i.forwardRef)((t,e)=>{let{color:n="currentColor",size:c=24,strokeWidth:u=2,absoluteStrokeWidth:d,className:h="",children:f,iconNode:p}=t,g=(0,o.A)(t,l);return(0,i.createElement)("svg",(0,r.A)((0,r.A)({ref:e},s),{},{width:c,height:c,stroke:n,strokeWidth:d?24*Number(u)/Number(c):u,className:a("lucide",h)},g),[...p.map(t=>{let[e,n]=t;return(0,i.createElement)(e,n)}),...Array.isArray(f)?f:[f]])}),u=["className"],d=(t,e)=>{const n=(0,i.forwardRef)((n,s)=>{let{className:l}=n,d=(0,o.A)(n,u);return(0,i.createElement)(c,(0,r.A)({ref:s,iconNode:e,className:a("lucide-".concat((h=t,h.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase())),l)},d));var h});return n.displayName="".concat(t),n}},78149:(t,e,n)=>{"use strict";n.d(e,{k:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(94217),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const n=(0,a.E)();return(0,o.jsx)(l.B.dd,(0,r.A)((0,r.A)({ref:e},t),{},{className:(0,i.cx)("chakra-stat__number",t.className),__css:(0,r.A)((0,r.A)({},n.number),{},{fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"})}))});c.displayName="StatNumber"},78360:(t,e,n)=>{"use strict";n.d(e,{Sw:()=>c,_N:()=>d,He:()=>p,cR:()=>g,ZM:()=>u,mC:()=>h});var r=n(92970),o=n(89379),i=n(70579),a=n(25011);function s(t){return(0,i.jsx)(a.I,(0,o.A)((0,o.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})}))}var l=n(76659);const[c,u]=(0,r.q)({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[d,h]=(0,r.q)({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),f={info:{icon:function(t){return(0,i.jsx)(a.I,(0,o.A)((0,o.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})}))},colorScheme:"blue"},warning:{icon:s,colorScheme:"orange"},success:{icon:function(t){return(0,i.jsx)(a.I,(0,o.A)((0,o.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})}))},colorScheme:"green"},error:{icon:s,colorScheme:"red"},loading:{icon:l.y,colorScheme:"blue"}};function p(t){return f[t].colorScheme}function g(t){return f[t].icon}},78460:(t,e,n)=>{"use strict";n.d(e,{aF:()=>C,k3:()=>S,x5:()=>A});var r=n(89379),o=n(70579),i=n(92970),a=n(96938),s=n(43194),l=n(86219),c=function(t){return"undefined"===typeof document?null:(Array.isArray(t)?t[0]:t).ownerDocument.body},u=new WeakMap,d=new WeakMap,h={},f=0,p=function(t){return t&&(t.host||p(t.parentNode))},g=function(t,e,n,r){var o=function(t,e){return e.map(function(e){if(t.contains(e))return e;var n=p(e);return n&&t.contains(n)?n:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(t){return Boolean(t)})}(e,Array.isArray(t)?t:[t]);h[n]||(h[n]=new WeakMap);var i=h[n],a=[],s=new Set,l=new Set(o),c=function(t){t&&!s.has(t)&&(s.add(t),c(t.parentNode))};o.forEach(c);var g=function(t){t&&!l.has(t)&&Array.prototype.forEach.call(t.children,function(t){if(s.has(t))g(t);else try{var e=t.getAttribute(r),o=null!==e&&"false"!==e,l=(u.get(t)||0)+1,c=(i.get(t)||0)+1;u.set(t,l),i.set(t,c),a.push(t),1===l&&o&&d.set(t,!0),1===c&&t.setAttribute(n,"true"),o||t.setAttribute(r,"true")}catch(h){console.error("aria-hidden: cannot operate on ",t,h)}})};return g(e),s.clear(),f++,function(){a.forEach(function(t){var e=u.get(t)-1,o=i.get(t)-1;u.set(t,e),i.set(t,o),e||(d.has(t)||t.removeAttribute(r),d.delete(t)),o||t.removeAttribute(n)}),--f||(u=new WeakMap,u=new WeakMap,d=new WeakMap,h={})}},m=function(t,e,n){void 0===n&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=e||c(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),g(r,o,n,"aria-hidden")):function(){return null}},v=n(65043),y=n(53165);function b(t){const{isOpen:e,onClose:n,id:o,closeOnOverlayClick:i=!0,closeOnEsc:a=!0,useInert:c=!0,onOverlayClick:u,onEsc:d}=t,h=(0,v.useRef)(null),f=(0,v.useRef)(null),[p,g,b]=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];const o=(0,v.useId)(),i=t||o;return(0,v.useMemo)(()=>n.map(t=>"".concat(t,"-").concat(i)),[i,n])}(o,"chakra-modal","chakra-modal--header","chakra-modal--body");!function(t,e){const n=t.current;(0,v.useEffect)(()=>{if(t.current&&e)return m(t.current)},[e,t,n])}(h,e&&c);const x=(0,y.y)(h,e),w=(0,v.useRef)(null),k=(0,v.useCallback)(t=>{w.current=t.target},[]),A=(0,v.useCallback)(t=>{"Escape"===t.key&&(t.stopPropagation(),a&&(null===n||void 0===n||n()),null===d||void 0===d||d())},[a,n,d]),[_,S]=(0,v.useState)(!1),[C,E]=(0,v.useState)(!1),O=(0,v.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({role:"dialog"},t),{},{ref:(0,s.Px)(e,h),id:p,tabIndex:-1,"aria-modal":!0,"aria-labelledby":_?g:void 0,"aria-describedby":C?b:void 0,onClick:(0,l.H)(t.onClick,t=>t.stopPropagation())})},[b,C,p,g,_]),P=(0,v.useCallback)(t=>{t.stopPropagation(),w.current===t.target&&y.J.isTopModal(h.current)&&(i&&(null===n||void 0===n||n()),null===u||void 0===u||u())},[n,i,u]),M=(0,v.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:(0,s.Px)(e,f),onClick:(0,l.H)(t.onClick,P),onKeyDown:(0,l.H)(t.onKeyDown,A),onMouseDown:(0,l.H)(t.onMouseDown,k)})},[A,k,P]);return{isOpen:e,onClose:n,headerId:g,bodyId:b,setBodyMounted:E,setHeaderMounted:S,dialogRef:h,overlayRef:f,getDialogProps:O,getDialogContainerProps:M,index:x}}var x=n(22205),w=n(36059);const[k,A]=(0,i.q)({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Modal />\" "}),[_,S]=(0,i.q)({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in `<Modal />`"}),C=t=>{var e;const n=(0,r.A)((0,r.A)({scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,preserveScrollBarGap:!0,motionPreset:"scale"},t),{},{lockFocusAcrossFrames:null===(e=t.lockFocusAcrossFrames)||void 0===e||e}),{portalProps:i,children:s,autoFocus:l,trapFocus:c,initialFocusRef:u,finalFocusRef:d,returnFocusOnClose:h,blockScrollOnMount:f,allowPinchZoom:p,preserveScrollBarGap:g,motionPreset:m,lockFocusAcrossFrames:v,animatePresenceProps:y,onCloseComplete:A}=n,S=(0,w.o)("Modal",n),C=b(n),E=(0,r.A)((0,r.A)({},C),{},{autoFocus:l,trapFocus:c,initialFocusRef:u,finalFocusRef:d,returnFocusOnClose:h,blockScrollOnMount:f,allowPinchZoom:p,preserveScrollBarGap:g,motionPreset:m,lockFocusAcrossFrames:v});return(0,o.jsx)(_,{value:E,children:(0,o.jsx)(k,{value:S,children:(0,o.jsx)(a.N,(0,r.A)((0,r.A)({},y),{},{onExitComplete:A,children:E.isOpen&&(0,o.jsx)(x.Z,(0,r.A)((0,r.A)({},i),{},{children:s}))}))})})};C.displayName="Modal"},78853:(t,e,n)=>{"use strict";t.exports=n(27234)},79722:(t,e,n)=>{"use strict";n.d(e,{A:()=>Ee});var r={};function o(t,e){return function(){return t.apply(e,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>ut,hasStandardBrowserEnv:()=>ht,hasStandardBrowserWebWorkerEnv:()=>ft,navigator:()=>dt,origin:()=>pt});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,{iterator:s,toStringTag:l}=Symbol,c=(u=Object.create(null),t=>{const e=i.call(t);return u[e]||(u[e]=e.slice(8,-1).toLowerCase())});var u;const d=t=>(t=t.toLowerCase(),e=>c(e)===t),h=t=>e=>typeof e===t,{isArray:f}=Array,p=h("undefined");function g(t){return null!==t&&!p(t)&&null!==t.constructor&&!p(t.constructor)&&y(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const m=d("ArrayBuffer");const v=h("string"),y=h("function"),b=h("number"),x=t=>null!==t&&"object"===typeof t,w=t=>{if("object"!==c(t))return!1;const e=a(t);return(null===e||e===Object.prototype||null===Object.getPrototypeOf(e))&&!(l in t)&&!(s in t)},k=d("Date"),A=d("File"),_=d("Blob"),S=d("FileList"),C=d("URLSearchParams"),[E,O,P,M]=["ReadableStream","Request","Response","Headers"].map(d);function T(t,e){let n,r,{allOwnKeys:o=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null!==t&&"undefined"!==typeof t)if("object"!==typeof t&&(t=[t]),f(t))for(n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else{if(g(t))return;const r=o?Object.getOwnPropertyNames(t):Object.keys(t),i=r.length;let a;for(n=0;n<i;n++)a=r[n],e.call(null,t[a],a,t)}}function N(t,e){if(g(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r,o=n.length;for(;o-- >0;)if(r=n[o],e===r.toLowerCase())return r;return null}const R="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,L=t=>!p(t)&&t!==R;const D=(j="undefined"!==typeof Uint8Array&&a(Uint8Array),t=>j&&t instanceof j);var j;const I=d("HTMLFormElement"),z=(t=>{let{hasOwnProperty:e}=t;return(t,n)=>e.call(t,n)})(Object.prototype),B=d("RegExp"),F=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};T(n,(n,o)=>{let i;!1!==(i=e(n,o,t))&&(r[o]=i||n)}),Object.defineProperties(t,r)};const H=d("AsyncFunction"),V=((t,e)=>{return t?setImmediate:e?(n="axios@".concat(Math.random()),r=[],R.addEventListener("message",t=>{let{source:e,data:o}=t;e===R&&o===n&&r.length&&r.shift()()},!1),t=>{r.push(t),R.postMessage(n,"*")}):t=>setTimeout(t);var n,r})("function"===typeof setImmediate,y(R.postMessage)),q="undefined"!==typeof queueMicrotask?queueMicrotask.bind(R):"undefined"!==typeof process&&process.nextTick||V,U={isArray:f,isArrayBuffer:m,isBuffer:g,isFormData:t=>{let e;return t&&("function"===typeof FormData&&t instanceof FormData||y(t.append)&&("formdata"===(e=c(t))||"object"===e&&y(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&m(t.buffer),e},isString:v,isNumber:b,isBoolean:t=>!0===t||!1===t,isObject:x,isPlainObject:w,isEmptyObject:t=>{if(!x(t)||g(t))return!1;try{return 0===Object.keys(t).length&&Object.getPrototypeOf(t)===Object.prototype}catch(e){return!1}},isReadableStream:E,isRequest:O,isResponse:P,isHeaders:M,isUndefined:p,isDate:k,isFile:A,isBlob:_,isRegExp:B,isFunction:y,isStream:t=>x(t)&&y(t.pipe),isURLSearchParams:C,isTypedArray:D,isFileList:S,forEach:T,merge:function t(){const{caseless:e,skipUndefined:n}=L(this)&&this||{},r={},o=(o,i)=>{const a=e&&N(r,i)||i;w(r[a])&&w(o)?r[a]=t(r[a],o):w(o)?r[a]=t({},o):f(o)?r[a]=o.slice():n&&p(o)||(r[a]=o)};for(let i=0,a=arguments.length;i<a;i++)arguments[i]&&T(arguments[i],o);return r},extend:function(t,e,n){let{allOwnKeys:r}=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return T(e,(e,r)=>{n&&y(e)?t[r]=o(e,n):t[r]=e},{allOwnKeys:r}),t},trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let o,i,s;const l={};if(e=e||{},null==t)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],r&&!r(s,t,e)||l[s]||(e[s]=t[s],l[s]=!0);t=!1!==n&&a(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:c,kindOfTest:d,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(f(t))return t;let e=t.length;if(!b(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[s]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:I,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:F,freezeMethods:t=>{F(t,(e,n)=>{if(y(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];y(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach(t=>{n[t]=!0})};return f(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(t,e,n){return e.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(t,e)=>null!=t&&Number.isFinite(t=+t)?t:e,findKey:N,global:R,isContextDefined:L,isSpecCompliantForm:function(t){return!!(t&&y(t.append)&&"FormData"===t[l]&&t[s])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(x(t)){if(e.indexOf(t)>=0)return;if(g(t))return t;if(!("toJSON"in t)){e[r]=t;const o=f(t)?[]:{};return T(t,(t,e)=>{const i=n(t,r+1);!p(i)&&(o[e]=i)}),e[r]=void 0,o}}return t};return n(t,0)},isAsyncFn:H,isThenable:t=>t&&(x(t)||y(t))&&y(t.then)&&y(t.catch),setImmediate:V,asap:q,isIterable:t=>null!=t&&y(t[s])};function W(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}U.inherits(W,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:U.toJSONObject(this.config),code:this.code,status:this.status}}});const G=W.prototype,Y={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Y[t]={value:t}}),Object.defineProperties(W,Y),Object.defineProperty(G,"isAxiosError",{value:!0}),W.from=(t,e,n,r,o,i)=>{const a=Object.create(G);U.toFlatObject(t,a,function(t){return t!==Error.prototype},t=>"isAxiosError"!==t);const s=t&&t.message?t.message:"Error",l=null==e&&t?t.code:e;return W.call(a,s,l,n,r,o),t&&null==a.cause&&Object.defineProperty(a,"cause",{value:t,configurable:!0}),a.name=t&&t.name||"Error",i&&Object.assign(a,i),a};const K=W;function $(t){return U.isPlainObject(t)||U.isArray(t)}function X(t){return U.endsWith(t,"[]")?t.slice(0,-2):t}function Q(t,e,n){return t?t.concat(e).map(function(t,e){return t=X(t),!n&&e?"["+t+"]":t}).join(n?".":""):e}const Z=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});const J=function(t,e,n){if(!U.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=U.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(t,e){return!U.isUndefined(e[t])})).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!==typeof Blob&&Blob)&&U.isSpecCompliantForm(e);if(!U.isFunction(o))throw new TypeError("visitor must be a function");function l(t){if(null===t)return"";if(U.isDate(t))return t.toISOString();if(U.isBoolean(t))return t.toString();if(!s&&U.isBlob(t))throw new K("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(t)||U.isTypedArray(t)?s&&"function"===typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,o){let s=t;if(t&&!o&&"object"===typeof t)if(U.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(U.isArray(t)&&function(t){return U.isArray(t)&&!t.some($)}(t)||(U.isFileList(t)||U.endsWith(n,"[]"))&&(s=U.toArray(t)))return n=X(n),s.forEach(function(t,r){!U.isUndefined(t)&&null!==t&&e.append(!0===a?Q([n],r,i):null===a?n:n+"[]",l(t))}),!1;return!!$(t)||(e.append(Q(o,n,i),l(t)),!1)}const u=[],d=Object.assign(Z,{defaultVisitor:c,convertValue:l,isVisitable:$});if(!U.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!U.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),U.forEach(n,function(n,i){!0===(!(U.isUndefined(n)||null===n)&&o.call(e,n,U.isString(i)?i.trim():i,r,d))&&t(n,r?r.concat(i):[i])}),u.pop()}}(t),e};function tt(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(t){return e[t]})}function et(t,e){this._pairs=[],t&&J(t,this,e)}const nt=et.prototype;nt.append=function(t,e){this._pairs.push([t,e])},nt.toString=function(t){const e=t?function(e){return t.call(this,e,tt)}:tt;return this._pairs.map(function(t){return e(t[0])+"="+e(t[1])},"").join("&")};const rt=et;function ot(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function it(t,e,n){if(!e)return t;const r=n&&n.encode||ot;U.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let i;if(i=o?o(e,n):U.isURLSearchParams(e)?e.toString():new rt(e,n).toString(r),i){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}const at=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){U.forEach(this.handlers,function(e){null!==e&&t(e)})}},st={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1};var lt=n(89379);const ct={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:rt,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},ut="undefined"!==typeof window&&"undefined"!==typeof document,dt="object"===typeof navigator&&navigator||void 0,ht=ut&&(!dt||["ReactNative","NativeScript","NS"].indexOf(dt.product)<0),ft="undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,pt=ut&&window.location.href||"http://localhost",gt=(0,lt.A)((0,lt.A)({},r),ct);const mt=function(t){function e(t,n,r,o){let i=t[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=t.length;if(i=!i&&U.isArray(r)?r.length:i,s)return U.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&U.isObject(r[i])||(r[i]=[]);return e(t,n,r[i],o)&&U.isArray(r[i])&&(r[i]=function(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}(r[i])),!a}if(U.isFormData(t)&&U.isFunction(t.entries)){const n={};return U.forEachEntry(t,(t,r)=>{e(function(t){return U.matchAll(/\w+|\[(\w*)]/g,t).map(t=>"[]"===t[0]?"":t[1]||t[0])}(t),r,n,0)}),n}return null};const vt={transitional:st,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,o=U.isObject(t);o&&U.isHTMLForm(t)&&(t=new FormData(t));if(U.isFormData(t))return r?JSON.stringify(mt(t)):t;if(U.isArrayBuffer(t)||U.isBuffer(t)||U.isStream(t)||U.isFile(t)||U.isBlob(t)||U.isReadableStream(t))return t;if(U.isArrayBufferView(t))return t.buffer;if(U.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return J(t,new gt.classes.URLSearchParams,(0,lt.A)({visitor:function(t,e,n,r){return gt.isNode&&U.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((i=U.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return J(i?{"files[]":t}:t,e&&new e,this.formSerializer)}}return o||r?(e.setContentType("application/json",!1),function(t,e,n){if(U.isString(t))try{return(e||JSON.parse)(t),U.trim(t)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||vt.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(U.isResponse(t)||U.isReadableStream(t))return t;if(t&&U.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t,this.parseReviver)}catch(o){if(n){if("SyntaxError"===o.name)throw K.from(o,K.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:gt.classes.FormData,Blob:gt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch"],t=>{vt.headers[t]={}});const yt=vt,bt=U.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xt=Symbol("internals");function wt(t){return t&&String(t).trim().toLowerCase()}function kt(t){return!1===t||null==t?t:U.isArray(t)?t.map(kt):String(t)}function At(t,e,n,r,o){return U.isFunction(r)?r.call(this,e,n):(o&&(e=n),U.isString(e)?U.isString(r)?-1!==e.indexOf(r):U.isRegExp(r)?r.test(e):void 0:void 0)}class _t{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function o(t,e,n){const o=wt(e);if(!o)throw new Error("header name must be a non-empty string");const i=U.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||e]=kt(t))}const i=(t,e)=>U.forEach(t,(t,n)=>o(t,n,e));if(U.isPlainObject(t)||t instanceof this.constructor)i(t,e);else if(U.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim()))i((t=>{const e={};let n,r,o;return t&&t.split("\n").forEach(function(t){o=t.indexOf(":"),n=t.substring(0,o).trim().toLowerCase(),r=t.substring(o+1).trim(),!n||e[n]&&bt[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e})(t),e);else if(U.isObject(t)&&U.isIterable(t)){let n,r,o={};for(const e of t){if(!U.isArray(e))throw TypeError("Object iterator must return a key-value pair");o[r=e[0]]=(n=o[r])?U.isArray(n)?[...n,e[1]]:[n,e[1]]:e[1]}i(o,e)}else null!=t&&o(e,t,n);return this}get(t,e){if(t=wt(t)){const n=U.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(U.isFunction(e))return e.call(this,t,n);if(U.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=wt(t)){const n=U.findKey(this,t);return!(!n||void 0===this[n]||e&&!At(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function o(t){if(t=wt(t)){const o=U.findKey(n,t);!o||e&&!At(0,n[o],o,e)||(delete n[o],r=!0)}}return U.isArray(t)?t.forEach(o):o(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const o=e[n];t&&!At(0,this[o],o,t,!0)||(delete this[o],r=!0)}return r}normalize(t){const e=this,n={};return U.forEach(this,(r,o)=>{const i=U.findKey(n,o);if(i)return e[i]=kt(r),void delete e[o];const a=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,e,n)=>e.toUpperCase()+n)}(o):String(o).trim();a!==o&&delete e[o],e[a]=kt(r),n[a]=!0}),this}concat(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.constructor.concat(this,...e)}toJSON(t){const e=Object.create(null);return U.forEach(this,(n,r)=>{null!=n&&!1!==n&&(e[r]=t&&U.isArray(n)?n.join(", "):n)}),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(t=>{let[e,n]=t;return e+": "+n}).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t){const e=new this(t);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach(t=>e.set(t)),e}static accessor(t){const e=(this[xt]=this[xt]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=wt(t);e[r]||(!function(t,e){const n=U.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(t,n,o){return this[r].call(this,e,t,n,o)},configurable:!0})})}(n,t),e[r]=!0)}return U.isArray(t)?t.forEach(r):r(t),this}}_t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),U.reduceDescriptors(_t.prototype,(t,e)=>{let{value:n}=t,r=e[0].toUpperCase()+e.slice(1);return{get:()=>n,set(t){this[r]=t}}}),U.freezeMethods(_t);const St=_t;function Ct(t,e){const n=this||yt,r=e||n,o=St.from(r.headers);let i=r.data;return U.forEach(t,function(t){i=t.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Et(t){return!(!t||!t.__CANCEL__)}function Ot(t,e,n){K.call(this,null==t?"canceled":t,K.ERR_CANCELED,e,n),this.name="CanceledError"}U.inherits(Ot,K,{__CANCEL__:!0});const Pt=Ot;function Mt(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new K("Request failed with status code "+n.status,[K.ERR_BAD_REQUEST,K.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}const Tt=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o,i=0,a=0;return e=void 0!==e?e:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=t;if(i=(i+1)%t,i===a&&(a=(a+1)%t),l-o<e)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}};const Nt=function(t,e){let n,r,o=0,i=1e3/e;const a=function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();o=i,n=null,r&&(clearTimeout(r),r=null),t(...e)};return[function(){const t=Date.now(),e=t-o;for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];e>=i?a(l,t):(n=l,r||(r=setTimeout(()=>{r=null,a(n)},i-e)))},()=>n&&a(n)]},Rt=function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=0;const o=Tt(50,250);return Nt(n=>{const i=n.loaded,a=n.lengthComputable?n.total:void 0,s=i-r,l=o(s);r=i;t({loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:n,lengthComputable:null!=a,[e?"download":"upload"]:!0})},n)},Lt=(t,e)=>{const n=null!=t;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},Dt=t=>function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return U.asap(()=>t(...n))},jt=gt.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,gt.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(gt.origin),gt.navigator&&/(msie|trident)/i.test(gt.navigator.userAgent)):()=>!0,It=gt.hasStandardBrowserEnv?{write(t,e,n,r,o,i,a){if("undefined"===typeof document)return;const s=["".concat(t,"=").concat(encodeURIComponent(e))];U.isNumber(n)&&s.push("expires=".concat(new Date(n).toUTCString())),U.isString(r)&&s.push("path=".concat(r)),U.isString(o)&&s.push("domain=".concat(o)),!0===i&&s.push("secure"),U.isString(a)&&s.push("SameSite=".concat(a)),document.cookie=s.join("; ")},read(t){if("undefined"===typeof document)return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};function zt(t,e,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);return t&&(r||0==n)?function(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const Bt=t=>t instanceof St?(0,lt.A)({},t):t;function Ft(t,e){e=e||{};const n={};function r(t,e,n,r){return U.isPlainObject(t)&&U.isPlainObject(e)?U.merge.call({caseless:r},t,e):U.isPlainObject(e)?U.merge({},e):U.isArray(e)?e.slice():e}function o(t,e,n,o){return U.isUndefined(e)?U.isUndefined(t)?void 0:r(void 0,t,0,o):r(t,e,0,o)}function i(t,e){if(!U.isUndefined(e))return r(void 0,e)}function a(t,e){return U.isUndefined(e)?U.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,o,i){return i in e?r(n,o):i in t?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(t,e,n)=>o(Bt(t),Bt(e),0,!0)};return U.forEach(Object.keys((0,lt.A)((0,lt.A)({},t),e)),function(r){const i=l[r]||o,a=i(t[r],e[r],r);U.isUndefined(a)&&i!==s||(n[r]=a)}),n}const Ht=t=>{const e=Ft({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:i,headers:a,auth:s}=e;if(e.headers=a=St.from(a),e.url=it(zt(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),U.isFormData(n))if(gt.hasStandardBrowserEnv||gt.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(U.isFunction(n.getHeaders)){const t=n.getHeaders(),e=["content-type","content-length"];Object.entries(t).forEach(t=>{let[n,r]=t;e.includes(n.toLowerCase())&&a.set(n,r)})}if(gt.hasStandardBrowserEnv&&(r&&U.isFunction(r)&&(r=r(e)),r||!1!==r&&jt(e.url))){const t=o&&i&&It.read(i);t&&a.set(o,t)}return e},Vt="undefined"!==typeof XMLHttpRequest&&function(t){return new Promise(function(e,n){const r=Ht(t);let o=r.data;const i=St.from(r.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function m(){if(!g)return;const r=St.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());Mt(function(t){e(t),p()},function(t){n(t),p()},{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g}),g=null}g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(new K("Request aborted",K.ECONNABORTED,t,g)),g=null)},g.onerror=function(e){const r=e&&e.message?e.message:"Network Error",o=new K(r,K.ERR_NETWORK,t,g);o.event=e||null,n(o),g=null},g.ontimeout=function(){let e=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||st;r.timeoutErrorMessage&&(e=r.timeoutErrorMessage),n(new K(e,o.clarifyTimeoutError?K.ETIMEDOUT:K.ECONNABORTED,t,g)),g=null},void 0===o&&i.setContentType(null),"setRequestHeader"in g&&U.forEach(i.toJSON(),function(t,e){g.setRequestHeader(e,t)}),U.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),d&&"json"!==d&&(g.responseType=r.responseType),f&&([l,u]=Rt(f,!0),g.addEventListener("progress",l)),h&&g.upload&&([s,c]=Rt(h),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(a=e=>{g&&(n(!e||e.type?new Pt(null,t,g):e),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const v=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(r.url);v&&-1===gt.protocols.indexOf(v)?n(new K("Unsupported protocol "+v+":",K.ERR_BAD_REQUEST,t)):g.send(o||null)})},qt=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let n,r=new AbortController;const o=function(t){if(!n){n=!0,a();const e=t instanceof Error?t:this.reason;r.abort(e instanceof K?e:new Pt(e instanceof Error?e.message:e))}};let i=e&&setTimeout(()=>{i=null,o(new K("timeout ".concat(e," of ms exceeded"),K.ETIMEDOUT))},e);const a=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(t=>{t.unsubscribe?t.unsubscribe(o):t.removeEventListener("abort",o)}),t=null)};t.forEach(t=>t.addEventListener("abort",o));const{signal:s}=r;return s.unsubscribe=()=>U.asap(a),s}};function Ut(t,e){this.v=t,this.k=e}function Wt(t){return function(){return new Gt(t.apply(this,arguments))}}function Gt(t){var e,n;function r(e,n){try{var i=t[e](n),a=i.value,s=a instanceof Ut;Promise.resolve(s?a.v:a).then(function(n){if(s){var l="return"===e?"return":"next";if(!a.k||n.done)return r(l,n);n=t[l](n).value}o(i.done?"return":"normal",n)},function(t){r("throw",t)})}catch(t){o("throw",t)}}function o(t,o){switch(t){case"return":e.resolve({value:o,done:!0});break;case"throw":e.reject(o);break;default:e.resolve({value:o,done:!1})}(e=e.next)?r(e.key,e.arg):n=null}this._invoke=function(t,o){return new Promise(function(i,a){var s={key:t,arg:o,resolve:i,reject:a,next:null};n?n=n.next=s:(e=n=s,r(t,o))})},"function"!=typeof t.return&&(this.return=void 0)}function Yt(t){return new Ut(t,0)}function Kt(t){var e={},n=!1;function r(e,r){return n=!0,r=new Promise(function(n){n(t[e](r))}),{done:!1,value:new Ut(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):r("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return r("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):r("return",t)}),e}function $t(t){var e,n,r,o=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,r=Symbol.iterator);o--;){if(n&&null!=(e=t[n]))return e.call(t);if(r&&null!=(e=t[r]))return new Xt(e.call(t));n="@@asyncIterator",r="@@iterator"}throw new TypeError("Object is not async iterable")}function Xt(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then(function(t){return{value:t,done:e}})}return Xt=function(t){this.s=t,this.n=t.next},Xt.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new Xt(t)}Gt.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Gt.prototype.next=function(t){return this._invoke("next",t)},Gt.prototype.throw=function(t){return this._invoke("throw",t)},Gt.prototype.return=function(t){return this._invoke("return",t)};const Qt=function*(t,e){let n=t.byteLength;if(!e||n<e)return void(yield t);let r,o=0;for(;o<n;)r=o+e,yield t.slice(o,r),o=r},Zt=function(){var t=Wt(function*(t,e){var n,r=!1,o=!1;try{for(var i,a=$t(Jt(t));r=!(i=yield Yt(a.next())).done;r=!1){const t=i.value;yield*Kt($t(Qt(t,e)))}}catch(s){o=!0,n=s}finally{try{r&&null!=a.return&&(yield Yt(a.return()))}finally{if(o)throw n}}});return function(e,n){return t.apply(this,arguments)}}(),Jt=function(){var t=Wt(function*(t){if(t[Symbol.asyncIterator])return void(yield*Kt($t(t)));const e=t.getReader();try{for(;;){const{done:t,value:n}=yield Yt(e.read());if(t)break;yield n}}finally{yield Yt(e.cancel())}});return function(e){return t.apply(this,arguments)}}(),te=(t,e,n,r)=>{const o=Zt(t,e);let i,a=0,s=t=>{i||(i=!0,r&&r(t))};return new ReadableStream({async pull(t){try{const{done:e,value:r}=await o.next();if(e)return s(),void t.close();let i=r.byteLength;if(n){let t=a+=i;n(t)}t.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel:t=>(s(t),o.return())},{highWaterMark:2})},{isFunction:ee}=U,ne=(t=>{let{Request:e,Response:n}=t;return{Request:e,Response:n}})(U.global),{ReadableStream:re,TextEncoder:oe}=U.global,ie=function(t){try{for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return!!t(...n)}catch(o){return!1}},ae=t=>{t=U.merge.call({skipUndefined:!0},ne,t);const{fetch:e,Request:n,Response:r}=t,o=e?ee(e):"function"===typeof fetch,i=ee(n),a=ee(r);if(!o)return!1;const s=o&&ee(re),l=o&&("function"===typeof oe?(c=new oe,t=>c.encode(t)):async t=>new Uint8Array(await new n(t).arrayBuffer()));var c;const u=i&&s&&ie(()=>{let t=!1;const e=new n(gt.origin,{body:new re,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),d=a&&s&&ie(()=>U.isReadableStream(new r("").body)),h={stream:d&&(t=>t.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!h[t]&&(h[t]=(e,n)=>{let r=e&&e[t];if(r)return r.call(e);throw new K("Response type '".concat(t,"' is not supported"),K.ERR_NOT_SUPPORT,n)})});const f=async(t,e)=>{const r=U.toFiniteNumber(t.getContentLength());return null==r?(async t=>{if(null==t)return 0;if(U.isBlob(t))return t.size;if(U.isSpecCompliantForm(t)){const e=new n(gt.origin,{method:"POST",body:t});return(await e.arrayBuffer()).byteLength}return U.isArrayBufferView(t)||U.isArrayBuffer(t)?t.byteLength:(U.isURLSearchParams(t)&&(t+=""),U.isString(t)?(await l(t)).byteLength:void 0)})(e):r};return async t=>{let{url:o,method:a,data:s,signal:l,cancelToken:c,timeout:p,onDownloadProgress:g,onUploadProgress:m,responseType:v,headers:y,withCredentials:b="same-origin",fetchOptions:x}=Ht(t),w=e||fetch;v=v?(v+"").toLowerCase():"text";let k=qt([l,c&&c.toAbortSignal()],p),A=null;const _=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let S;try{if(m&&u&&"get"!==a&&"head"!==a&&0!==(S=await f(y,s))){let t,e=new n(o,{method:"POST",body:s,duplex:"half"});if(U.isFormData(s)&&(t=e.headers.get("content-type"))&&y.setContentType(t),e.body){const[t,n]=Lt(S,Rt(Dt(m)));s=te(e.body,65536,t,n)}}U.isString(b)||(b=b?"include":"omit");const e=i&&"credentials"in n.prototype,l=(0,lt.A)((0,lt.A)({},x),{},{signal:k,method:a.toUpperCase(),headers:y.normalize().toJSON(),body:s,duplex:"half",credentials:e?b:void 0});A=i&&new n(o,l);let c=await(i?w(A,x):w(o,l));const p=d&&("stream"===v||"response"===v);if(d&&(g||p&&_)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=c[e]});const e=U.toFiniteNumber(c.headers.get("content-length")),[n,o]=g&&Lt(e,Rt(Dt(g),!0))||[];c=new r(te(c.body,65536,n,()=>{o&&o(),_&&_()}),t)}v=v||"text";let C=await h[U.findKey(h,v)||"text"](c,t);return!p&&_&&_(),await new Promise((e,n)=>{Mt(e,n,{data:C,headers:St.from(c.headers),status:c.status,statusText:c.statusText,config:t,request:A})})}catch(C){if(_&&_(),C&&"TypeError"===C.name&&/Load failed|fetch/i.test(C.message))throw Object.assign(new K("Network Error",K.ERR_NETWORK,t,A),{cause:C.cause||C});throw K.from(C,C&&C.code,t,A)}}},se=new Map,le=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:o}=e,i=[r,o,n];let a,s,l=i.length,c=se;for(;l--;)a=i[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:ae(e)),c=s;return s},ce=(le(),{http:null,xhr:Vt,fetch:{get:le}});U.forEach(ce,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(n){}Object.defineProperty(t,"adapterName",{value:e})}});const ue=t=>"- ".concat(t),de=t=>U.isFunction(t)||null===t||!1===t;const he={getAdapter:function(t,e){t=U.isArray(t)?t:[t];const{length:n}=t;let r,o;const i={};for(let a=0;a<n;a++){let n;if(r=t[a],o=r,!de(r)&&(o=ce[(n=String(r)).toLowerCase()],void 0===o))throw new K("Unknown adapter '".concat(n,"'"));if(o&&(U.isFunction(o)||(o=o.get(e))))break;i[n||"#"+a]=o}if(!o){const t=Object.entries(i).map(t=>{let[e,n]=t;return"adapter ".concat(e," ")+(!1===n?"is not supported by the environment":"is not available in the build")});let e=n?t.length>1?"since :\n"+t.map(ue).join("\n"):" "+ue(t[0]):"as no adapter specified";throw new K("There is no suitable adapter to dispatch the request "+e,"ERR_NOT_SUPPORT")}return o},adapters:ce};function fe(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Pt(null,t)}function pe(t){fe(t),t.headers=St.from(t.headers),t.data=Ct.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return he.getAdapter(t.adapter||yt.adapter,t)(t).then(function(e){return fe(t),e.data=Ct.call(t,t.transformResponse,e),e.headers=St.from(e.headers),e},function(e){return Et(e)||(fe(t),e&&e.response&&(e.response.data=Ct.call(t,t.transformResponse,e.response),e.response.headers=St.from(e.response.headers))),Promise.reject(e)})}const ge="1.13.2",me={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{me[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const ve={};me.transitional=function(t,e,n){function r(t,e){return"[Axios v"+ge+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,o,i)=>{if(!1===t)throw new K(r(o," has been removed"+(e?" in "+e:"")),K.ERR_DEPRECATED);return e&&!ve[o]&&(ve[o]=!0,console.warn(r(o," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,o,i)}},me.spelling=function(t){return(e,n)=>(console.warn("".concat(n," is likely a misspelling of ").concat(t)),!0)};const ye={assertOptions:function(t,e,n){if("object"!==typeof t)throw new K("options must be an object",K.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],a=e[i];if(a){const e=t[i],n=void 0===e||a(e,i,t);if(!0!==n)throw new K("option "+i+" must be "+n,K.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new K("Unknown option "+i,K.ERR_BAD_OPTION)}},validators:me},be=ye.validators;class xe{constructor(t){this.defaults=t||{},this.interceptors={request:new at,response:new at}}async request(t,e){try{return await this._request(t,e)}catch(n){if(n instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const e=t.stack?t.stack.replace(/^.+\n/,""):"";try{n.stack?e&&!String(n.stack).endsWith(e.replace(/^.+\n.+\n/,""))&&(n.stack+="\n"+e):n.stack=e}catch(r){}}throw n}}_request(t,e){"string"===typeof t?(e=e||{}).url=t:e=t||{},e=Ft(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:o}=e;void 0!==n&&ye.assertOptions(n,{silentJSONParsing:be.transitional(be.boolean),forcedJSONParsing:be.transitional(be.boolean),clarifyTimeoutError:be.transitional(be.boolean)},!1),null!=r&&(U.isFunction(r)?e.paramsSerializer={serialize:r}:ye.assertOptions(r,{encode:be.function,serialize:be.function},!0)),void 0!==e.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?e.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:e.allowAbsoluteUrls=!0),ye.assertOptions(e,{baseUrl:be.spelling("baseURL"),withXsrfToken:be.spelling("withXSRFToken")},!0),e.method=(e.method||this.defaults.method||"get").toLowerCase();let i=o&&U.merge(o.common,o[e.method]);o&&U.forEach(["delete","get","head","post","put","patch","common"],t=>{delete o[t]}),e.headers=St.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach(function(t){"function"===typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,a.unshift(t.fulfilled,t.rejected))});const l=[];let c;this.interceptors.response.forEach(function(t){l.push(t.fulfilled,t.rejected)});let u,d=0;if(!s){const t=[pe.bind(this),void 0];for(t.unshift(...a),t.push(...l),u=t.length,c=Promise.resolve(e);d<u;)c=c.then(t[d++],t[d++]);return c}u=a.length;let h=e;for(;d<u;){const t=a[d++],e=a[d++];try{h=t(h)}catch(f){e.call(this,f);break}}try{c=pe.call(this,h)}catch(f){return Promise.reject(f)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(t){return it(zt((t=Ft(this.defaults,t)).baseURL,t.url,t.allowAbsoluteUrls),t.params,t.paramsSerializer)}}U.forEach(["delete","get","head","options"],function(t){xe.prototype[t]=function(e,n){return this.request(Ft(n||{},{method:t,url:e,data:(n||{}).data}))}}),U.forEach(["post","put","patch"],function(t){function e(e){return function(n,r,o){return this.request(Ft(o||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}xe.prototype[t]=e(),xe.prototype[t+"Form"]=e(!0)});const we=xe;class ke{constructor(t){if("function"!==typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise(function(t){e=t});const n=this;this.promise.then(t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null}),this.promise.then=t=>{let e;const r=new Promise(t=>{n.subscribe(t),e=t}).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t(function(t,r,o){n.reason||(n.reason=new Pt(t,r,o),e(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}toAbortSignal(){const t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new ke(function(e){t=e}),cancel:t}}}const Ae=ke;const _e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(_e).forEach(t=>{let[e,n]=t;_e[n]=e});const Se=_e;const Ce=function t(e){const n=new we(e),r=o(we.prototype.request,n);return U.extend(r,we.prototype,n,{allOwnKeys:!0}),U.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t(Ft(e,n))},r}(yt);Ce.Axios=we,Ce.CanceledError=Pt,Ce.CancelToken=Ae,Ce.isCancel=Et,Ce.VERSION=ge,Ce.toFormData=J,Ce.AxiosError=K,Ce.Cancel=Ce.CanceledError,Ce.all=function(t){return Promise.all(t)},Ce.spread=function(t){return function(e){return t.apply(null,e)}},Ce.isAxiosError=function(t){return U.isObject(t)&&!0===t.isAxiosError},Ce.mergeConfig=Ft,Ce.AxiosHeaders=St,Ce.formToJSON=t=>mt(U.isHTMLForm(t)?new FormData(t):t),Ce.getAdapter=he.getAdapter,Ce.HttpStatusCode=Se,Ce.default=Ce;const Ee=Ce},79953:(t,e,n)=>{"use strict";function r(t){return t}n.d(e,{H2:()=>r})},80045:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(98587);function o(t,e){if(null==t)return{};var n,o,i=(0,r.A)(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)n=a[o],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},80219:(t,e,n)=>{"use strict";var r=n(53763),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!==typeof n){if(p){var o=f(n);o&&o!==p&&t(e,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(e),g=l(n),m=0;m<a.length;++m){var v=a[m];if(!i[v]&&(!r||!r[v])&&(!g||!g[v])&&(!s||!s[v])){var y=h(n,v);try{c(e,v,y)}catch(b){}}}}return e}},80359:(t,e,n)=>{"use strict";n.d(e,{s:()=>j});var r=n(35772),o=n(89379),i=n(80045),a=n(70579),s=n(37558),l=n(12432),c=n(65043),u=n(44093);const d="chakra-ui-light",h="chakra-ui-dark";const f="chakra-ui-color-mode";const p=(g=f,{ssr:!1,type:"localStorage",get(t){if(null===globalThis||void 0===globalThis||!globalThis.document)return t;let e;try{e=localStorage.getItem(g)||t}catch(n){}return e||t},set(t){try{localStorage.setItem(g,t)}catch(e){}}});var g;function m(t,e){const n=t.match(new RegExp("(^| )".concat(e,"=([^;]+)")));return null===n||void 0===n?void 0:n[2]}function v(t,e){return{ssr:!!e,type:"cookie",get:n=>e?m(e,t):null!==globalThis&&void 0!==globalThis&&globalThis.document&&m(document.cookie,t)||n,set(e){document.cookie="".concat(t,"=").concat(e,"; max-age=31536000; path=/")}}}v(f);const y=()=>{},b=(0,s.Bd)()?c.useLayoutEffect:c.useEffect;function x(t,e){return"cookie"===t.type&&t.ssr?t.get(e):e}const w=function(t){const{value:e,children:n,options:{useSystemColorMode:r,initialColorMode:o,disableTransitionOnChange:i}={},colorModeManager:s=p}=t,f=(0,l._)(),g="dark"===o?"dark":"light",[m,v]=(0,c.useState)(()=>x(s,g)),[w,k]=(0,c.useState)(()=>x(s)),{getSystemTheme:A,setClassName:_,setDataset:S,addListener:C}=(0,c.useMemo)(()=>function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{preventTransition:e=!0,nonce:n}=t,r={setDataset:t=>{const n=e?r.preventTransition():void 0;document.documentElement.dataset.theme=t,document.documentElement.style.colorScheme=t,null===n||void 0===n||n()},setClassName(t){document.body.classList.add(t?h:d),document.body.classList.remove(t?d:h)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(t){var e;return(null!==(e=r.query().matches)&&void 0!==e?e:"dark"===t)?"dark":"light"},addListener(t){const e=r.query(),n=e=>{t(e.matches?"dark":"light")};return"function"===typeof e.addListener?e.addListener(n):e.addEventListener("change",n),()=>{"function"===typeof e.removeListener?e.removeListener(n):e.removeEventListener("change",n)}},preventTransition(){const t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),void 0!==n&&(t.nonce=n),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(t)})})}}};return r}({preventTransition:i,nonce:null===f||void 0===f?void 0:f.nonce}),[i,null===f||void 0===f?void 0:f.nonce]),E="system"!==o||m?m:w,O=(0,c.useCallback)(t=>{const e="system"===t?A():t;v(e),_("dark"===e),S(e),s.set(e)},[s,A,_,S]);b(()=>{"system"===o&&k(A())},[]),(0,c.useEffect)(()=>{const t=s.get();O(t||("system"!==o?g:"system"))},[s,g,o,O]);const P=(0,c.useCallback)(()=>{O("dark"===E?"light":"dark")},[E,O]);(0,c.useEffect)(()=>{if(r)return C(O)},[r,C,O]);const M=(0,c.useMemo)(()=>({colorMode:null!==e&&void 0!==e?e:E,toggleColorMode:e?y:P,setColorMode:e?y:O,forced:void 0!==e}),[E,P,O,e]);return(0,a.jsx)(u.Ig.Provider,{value:M,children:n})};function k(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}w.displayName="ColorModeProvider";var A,_,S=n(83290);const C=String.raw,E=C(A||(A=k(["\n :root,\n :host {\n --chakra-vh: 100vh;\n }\n\n @supports (height: -webkit-fill-available) {\n :root,\n :host {\n --chakra-vh: -webkit-fill-available;\n }\n }\n\n @supports (height: -moz-fill-available) {\n :root,\n :host {\n --chakra-vh: -moz-fill-available;\n }\n }\n\n @supports (height: 100dvh) {\n :root,\n :host {\n --chakra-vh: 100dvh;\n }\n }\n"]))),O=()=>(0,a.jsx)(S.mL,{styles:E}),P=t=>{let{scope:e=""}=t;return(0,a.jsx)(S.mL,{styles:C(_||(_=k(['\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n margin: 0;\n font-feature-settings: "kern";\n }\n\n '," :where(*, *::before, *::after) {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n word-wrap: break-word;\n }\n\n main {\n display: block;\n }\n\n "," hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n "," :where(pre, code, kbd,samp) {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n "," a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n "," abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n "," :where(b, strong) {\n font-weight: bold;\n }\n\n "," small {\n font-size: 80%;\n }\n\n "," :where(sub,sup) {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n "," sub {\n bottom: -0.25em;\n }\n\n "," sup {\n top: -0.5em;\n }\n\n "," img {\n border-style: none;\n }\n\n "," :where(button, input, optgroup, select, textarea) {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n "," :where(button, input) {\n overflow: visible;\n }\n\n "," :where(button, select) {\n text-transform: none;\n }\n\n ",' :where(\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner\n ) {\n border-style: none;\n padding: 0;\n }\n\n '," fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n "," legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n "," progress {\n vertical-align: baseline;\n }\n\n "," textarea {\n overflow: auto;\n }\n\n ",' :where([type="checkbox"], [type="radio"]) {\n box-sizing: border-box;\n padding: 0;\n }\n\n ',' input[type="number"]::-webkit-inner-spin-button,\n ',' input[type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n ',' input[type="number"] {\n -moz-appearance: textfield;\n }\n\n ',' input[type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n ',' input[type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n '," ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n "," details {\n display: block;\n }\n\n "," summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n "," :where(\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre\n ) {\n margin: 0;\n }\n\n "," button {\n background: transparent;\n padding: 0;\n }\n\n "," fieldset {\n margin: 0;\n padding: 0;\n }\n\n "," :where(ol, ul) {\n margin: 0;\n padding: 0;\n }\n\n "," textarea {\n resize: vertical;\n }\n\n ",' :where(button, [role="button"]) {\n cursor: pointer;\n }\n\n '," button::-moz-focus-inner {\n border: 0 !important;\n }\n\n "," table {\n border-collapse: collapse;\n }\n\n "," :where(h1, h2, h3, h4, h5, h6) {\n font-size: inherit;\n font-weight: inherit;\n }\n\n "," :where(button, input, optgroup, select, textarea) {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n "," :where(img, svg, video, canvas, audio, iframe, embed, object) {\n display: block;\n }\n\n "," :where(img, video) {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible]\n :focus:not([data-focus-visible-added]):not(\n [data-focus-visible-disabled]\n ) {\n outline: none;\n box-shadow: none;\n }\n\n "," select::-ms-expand {\n display: none;\n }\n\n ","\n "])),e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,e,E)})};var M=n(40523),T=n(41271),N=n(12923);const R=t=>{const{children:e,colorModeManager:n,portalZIndex:r,resetScope:o,resetCSS:i=!0,theme:s={},environment:l,cssVarsRoot:c,disableEnvironment:u,disableGlobalStyle:d}=t,h=(0,a.jsx)(N.v,{environment:l,disabled:u,children:e});return(0,a.jsx)(M.NP,{theme:s,cssVarsRoot:c,children:(0,a.jsxs)(w,{colorModeManager:n,options:s.config,children:[i?(0,a.jsx)(P,{scope:o}):(0,a.jsx)(O,{}),!d&&(0,a.jsx)(M.zy,{}),r?(0,a.jsx)(T.w,{zIndex:r,children:h}):h]})})};var L=n(12325);const D=["children","theme","toastOptions"],j=(I=r.w4,function(t){let{children:e,theme:n=I,toastOptions:r}=t,s=(0,i.A)(t,D);return(0,a.jsxs)(R,(0,o.A)((0,o.A)({theme:n},s),{},{children:[(0,a.jsx)(L.ym,{value:null===r||void 0===r?void 0:r.defaultOptions,children:e}),(0,a.jsx)(L.tE,(0,o.A)({},r))]}))});var I},80438:(t,e,n)=>{var r=n(12622);t.exports=function(t){return r(this,t).get(t)}},80511:(t,e,n)=>{"use strict";n.d(e,{X:()=>g,k:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(92970),l=n(64844),c=n(55003),u=n(36059),d=n(52695);const h=["className","layout"],[f,p]=(0,s.q)({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Table />\" "}),g=(0,c.R)((t,e)=>{const n=(0,u.o)("Table",t),s=(0,a.M)(t),{className:c,layout:p}=s,g=(0,o.A)(s,h);return(0,i.jsx)(f,{value:n,children:(0,i.jsx)(d.B.table,(0,r.A)({ref:e,__css:(0,r.A)({tableLayout:p},n.table),className:(0,l.cx)("chakra-table",c)},g))})});g.displayName="Table"},80810:(t,e,n)=>{"use strict";n.d(e,{T:()=>r});const r=(0,n(14010).w)({d:"M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z",displayName:"CopyIcon"})},80940:(t,e,n)=>{"use strict";n.d(e,{c:()=>o});var r=n(65043);function o(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n=(0,r.useRef)(t);return(0,r.useEffect)(()=>{n.current=t}),(0,r.useCallback)(function(){for(var t,e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return null===(t=n.current)||void 0===t?void 0:t.call(n,...r)},e)}},80974:(t,e,n)=>{"use strict";function r(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}n.d(e,{U:()=>r})},81401:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});var r=n(65043),o=n(80940);function i(t){const{ref:e,handler:n,enabled:i=!0}=t,l=(0,o.c)(n),c=(0,r.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,r.useEffect)(()=>{if(!i)return;const t=t=>{a(t,e)&&(c.isPointerDown=!0)},r=t=>{c.ignoreEmulatedMouseEvents?c.ignoreEmulatedMouseEvents=!1:c.isPointerDown&&n&&a(t,e)&&(c.isPointerDown=!1,l(t))},o=t=>{c.ignoreEmulatedMouseEvents=!0,n&&c.isPointerDown&&a(t,e)&&(c.isPointerDown=!1,l(t))},u=s(e.current);return u.addEventListener("mousedown",t,!0),u.addEventListener("mouseup",r,!0),u.addEventListener("touchstart",t,!0),u.addEventListener("touchend",o,!0),()=>{u.removeEventListener("mousedown",t,!0),u.removeEventListener("mouseup",r,!0),u.removeEventListener("touchstart",t,!0),u.removeEventListener("touchend",o,!0)}},[n,e,l,c,i])}function a(t,e){var n,r,o;const i=null!==(n=null===(r=t.composedPath)||void 0===r?void 0:r.call(t)[0])&&void 0!==n?n:t.target;if(i){if(!s(i).contains(i))return!1}return!(null!==(o=e.current)&&void 0!==o&&o.contains(i))}function s(t){var e;return null!==(e=null===t||void 0===t?void 0:t.ownerDocument)&&void 0!==e?e:document}},81722:(t,e,n)=>{"use strict";n.d(e,{Rk:()=>r,SF:()=>o,sk:()=>i});function r(t,e,n){var r="";return n.split(" ").forEach(function(n){void 0!==t[n]?e.push(t[n]+";"):n&&(r+=n+" ")}),r}var o=function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)},i=function(t,e,n){o(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+r:"",i,t.sheet,!0),i=i.next}while(void 0!==i)}}},81724:(t,e,n)=>{"use strict";function r(t){return function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=e.match(t.matchPattern);if(!r)return null;const o=r[0],i=e.match(t.parsePattern);if(!i)return null;let a=t.valueCallback?t.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;return{value:a,rest:e.slice(o.length)}}}n.d(e,{K:()=>r})},82054:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("CircleCheckBig",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},82459:(t,e,n)=>{"use strict";n.d(e,{c:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["borderLeftWidth","borderBottomWidth","borderTopWidth","borderRightWidth","borderWidth","borderStyle","borderColor"],h=["className","orientation","__css"],f=(0,l.R)(function(t,e){const n=(0,c.V)("Divider",t),{borderLeftWidth:l,borderBottomWidth:f,borderTopWidth:p,borderRightWidth:g,borderWidth:m,borderStyle:v,borderColor:y}=n,b=(0,o.A)(n,d),x=(0,a.M)(t),{className:w,orientation:k="horizontal",__css:A}=x,_=(0,o.A)(x,h),S={vertical:{borderLeftWidth:l||g||m||"1px",height:"100%"},horizontal:{borderBottomWidth:f||p||m||"1px",width:"100%"}};return(0,i.jsx)(u.B.hr,(0,r.A)((0,r.A)({ref:e,"aria-orientation":k},_),{},{__css:(0,r.A)((0,r.A)((0,r.A)({},b),{},{border:"0",borderColor:y,borderStyle:v},S[k]),A),className:(0,s.cx)("chakra-divider",w)}))});f.displayName="Divider"},82540:(t,e,n)=>{"use strict";n.d(e,{m:()=>a});var r=n(62078),o=n(68664);class i extends r.Q{constructor(){super(),this.setup=t=>{if(!o.S$&&window.addEventListener){const e=()=>t();return window.addEventListener("visibilitychange",e,!1),window.addEventListener("focus",e,!1),()=>{window.removeEventListener("visibilitychange",e),window.removeEventListener("focus",e)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)}setEventListener(t){var e;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t(t=>{"boolean"===typeof t?this.setFocused(t):this.onFocus()})}setFocused(t){this.focused!==t&&(this.focused=t,this.onFocus())}onFocus(){this.listeners.forEach(t=>{let{listener:e}=t;e()})}isFocused(){return"boolean"===typeof this.focused?this.focused:"undefined"===typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}const a=new i},82595:(t,e,n)=>{"use strict";n.d(e,{N:()=>l});var r=n(89379),o=n(70579),i=n(80511),a=n(55003),s=n(52695);const l=(0,a.R)((t,e)=>{const n=(0,i.k)();return(0,o.jsx)(s.B.tbody,(0,r.A)((0,r.A)({},t),{},{ref:e,__css:n.tbody}))})},82730:(t,e,n)=>{"use strict";var r=n(65043),o=n(78853);function i(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(t,e){c(t,e),c(t+"Capture",e)}function c(t,e){for(s[t]=e,t=0;t<e.length;t++)a.add(e[t])}var u=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function g(t,e,n,r,o,i,a){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){m[t]=new g(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var e=t[0];m[e]=new g(e,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){m[t]=new g(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){m[t]=new g(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){m[t]=new g(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){m[t]=new g(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){m[t]=new g(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){m[t]=new g(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){m[t]=new g(t,5,!1,t.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function y(t){return t[1].toUpperCase()}function b(t,e,n,r){var o=m.hasOwnProperty(e)?m[e]:null;(null!==o?0!==o.type:r||!(2<e.length)||"o"!==e[0]&&"O"!==e[0]||"n"!==e[1]&&"N"!==e[1])&&(function(t,e,n,r){if(null===e||"undefined"===typeof e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,o,r)&&(n=null),r||null===o?function(t){return!!d.call(p,t)||!d.call(f,t)&&(h.test(t)?p[t]=!0:(f[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):o.mustUseProperty?t[o.propertyName]=null===n?3!==o.type&&"":n:(e=o.attributeName,r=o.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var e=t.replace(v,y);m[e]=new g(e,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var e=t.replace(v,y);m[e]=new g(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var e=t.replace(v,y);m[e]=new g(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){m[t]=new g(t,1,!1,t.toLowerCase(),null,!1,!1)}),m.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){m[t]=new g(t,1,!1,t.toLowerCase(),null,!0,!0)});var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),k=Symbol.for("react.portal"),A=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),E=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),P=Symbol.for("react.suspense"),M=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var R=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function D(t){return null===t||"object"!==typeof t?null:"function"===typeof(t=L&&t[L]||t["@@iterator"])?t:null}var j,I=Object.assign;function z(t){if(void 0===j)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);j=e&&e[1]||""}return"\n"+j+t}var B=!1;function F(t,e){if(!t||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(c){var r=c}Reflect.construct(t,[],e)}else{try{e.call()}catch(c){r=c}t.call(e.prototype)}else{try{throw Error()}catch(c){r=c}t()}}catch(c){if(c&&r&&"string"===typeof c.stack){for(var o=c.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return t.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",t.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?z(t):""}function H(t){switch(t.tag){case 5:return z(t.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return t=F(t.type,!1);case 11:return t=F(t.type.render,!1);case 1:return t=F(t.type,!0);default:return""}}function V(t){if(null==t)return null;if("function"===typeof t)return t.displayName||t.name||null;if("string"===typeof t)return t;switch(t){case A:return"Fragment";case k:return"Portal";case S:return"Profiler";case _:return"StrictMode";case P:return"Suspense";case M:return"SuspenseList"}if("object"===typeof t)switch(t.$$typeof){case E:return(t.displayName||"Context")+".Consumer";case C:return(t._context.displayName||"Context")+".Provider";case O:var e=t.render;return(t=t.displayName)||(t=""!==(t=e.displayName||e.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case T:return null!==(e=t.displayName||null)?e:V(t.type)||"Memo";case N:e=t._payload,t=t._init;try{return V(t(e))}catch(n){}}return null}function q(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=(t=e.render).displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(e);case 8:return e===_?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e}return null}function U(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":case"object":return t;default:return""}}function W(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function G(t){t._valueTracker||(t._valueTracker=function(t){var e=W(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return o.call(this)},set:function(t){r=""+t,i.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function Y(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=W(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function K(t){if("undefined"===typeof(t=t||("undefined"!==typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function $(t,e){var n=e.checked;return I({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function X(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=U(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function Q(t,e){null!=(e=e.checked)&&b(t,"checked",e,!1)}function Z(t,e){Q(t,e);var n=U(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?tt(t,e.type,n):e.hasOwnProperty("defaultValue")&&tt(t,e.type,U(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function J(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function tt(t,e,n){"number"===e&&K(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var et=Array.isArray;function nt(t,e,n,r){if(t=t.options,e){e={};for(var o=0;o<n.length;o++)e["$"+n[o]]=!0;for(n=0;n<t.length;n++)o=e.hasOwnProperty("$"+t[n].value),t[n].selected!==o&&(t[n].selected=o),o&&r&&(t[n].defaultSelected=!0)}else{for(n=""+U(n),e=null,o=0;o<t.length;o++){if(t[o].value===n)return t[o].selected=!0,void(r&&(t[o].defaultSelected=!0));null!==e||t[o].disabled||(e=t[o])}null!==e&&(e.selected=!0)}}function rt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(i(91));return I({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function ot(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(i(92));if(et(n)){if(1<n.length)throw Error(i(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:U(n)}}function it(t,e){var n=U(e.value),r=U(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function at(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}function st(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function lt(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?st(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var ct,ut,dt=(ut=function(t,e){if("http://www.w3.org/2000/svg"!==t.namespaceURI||"innerHTML"in t)t.innerHTML=e;else{for((ct=ct||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=ct.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction(function(){return ut(t,e)})}:ut);function ht(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var ft={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pt=["Webkit","ms","Moz","O"];function gt(t,e,n){return null==e||"boolean"===typeof e||""===e?"":n||"number"!==typeof e||0===e||ft.hasOwnProperty(t)&&ft[t]?(""+e).trim():e+"px"}function mt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=gt(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,o):t[n]=o}}Object.keys(ft).forEach(function(t){pt.forEach(function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),ft[e]=ft[t]})});var vt=I({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function yt(t,e){if(e){if(vt[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(i(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(i(60));if("object"!==typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=e.style&&"object"!==typeof e.style)throw Error(i(62))}}function bt(t,e){if(-1===t.indexOf("-"))return"string"===typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xt=null;function wt(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var kt=null,At=null,_t=null;function St(t){if(t=xo(t)){if("function"!==typeof kt)throw Error(i(280));var e=t.stateNode;e&&(e=ko(e),kt(t.stateNode,t.type,e))}}function Ct(t){At?_t?_t.push(t):_t=[t]:At=t}function Et(){if(At){var t=At,e=_t;if(_t=At=null,St(t),e)for(t=0;t<e.length;t++)St(e[t])}}function Ot(t,e){return t(e)}function Pt(){}var Mt=!1;function Tt(t,e,n){if(Mt)return t(e,n);Mt=!0;try{return Ot(t,e,n)}finally{Mt=!1,(null!==At||null!==_t)&&(Pt(),Et())}}function Nt(t,e){var n=t.stateNode;if(null===n)return null;var r=ko(n);if(null===r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!==typeof n)throw Error(i(231,e,typeof n));return n}var Rt=!1;if(u)try{var Lt={};Object.defineProperty(Lt,"passive",{get:function(){Rt=!0}}),window.addEventListener("test",Lt,Lt),window.removeEventListener("test",Lt,Lt)}catch(ut){Rt=!1}function Dt(t,e,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(u){this.onError(u)}}var jt=!1,It=null,zt=!1,Bt=null,Ft={onError:function(t){jt=!0,It=t}};function Ht(t,e,n,r,o,i,a,s,l){jt=!1,It=null,Dt.apply(Ft,arguments)}function Vt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!==(4098&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function qt(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function Ut(t){if(Vt(t)!==t)throw Error(i(188))}function Wt(t){return null!==(t=function(t){var e=t.alternate;if(!e){if(null===(e=Vt(t)))throw Error(i(188));return e!==t?null:t}for(var n=t,r=e;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return Ut(o),t;if(a===r)return Ut(o),e;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?t:e}(t))?Gt(t):null}function Gt(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var e=Gt(t);if(null!==e)return e;t=t.sibling}return null}var Yt=o.unstable_scheduleCallback,Kt=o.unstable_cancelCallback,$t=o.unstable_shouldYield,Xt=o.unstable_requestPaint,Qt=o.unstable_now,Zt=o.unstable_getCurrentPriorityLevel,Jt=o.unstable_ImmediatePriority,te=o.unstable_UserBlockingPriority,ee=o.unstable_NormalPriority,ne=o.unstable_LowPriority,re=o.unstable_IdlePriority,oe=null,ie=null;var ae=Math.clz32?Math.clz32:function(t){return t>>>=0,0===t?32:31-(se(t)/le|0)|0},se=Math.log,le=Math.LN2;var ce=64,ue=4194304;function de(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&t;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&t;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function he(t,e){var n=t.pendingLanes;if(0===n)return 0;var r=0,o=t.suspendedLanes,i=t.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=de(s):0!==(i&=a)&&(r=de(i))}else 0!==(a=n&~o)?r=de(a):0!==i&&(r=de(i));if(0===r)return 0;if(0!==e&&e!==r&&0===(e&o)&&((o=r&-r)>=(i=e&-e)||16===o&&0!==(4194240&i)))return e;if(0!==(4&r)&&(r|=16&n),0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)o=1<<(n=31-ae(e)),r|=t[n],e&=~o;return r}function fe(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function pe(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ge(){var t=ce;return 0===(4194240&(ce<<=1))&&(ce=64),t}function me(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ve(t,e,n){t.pendingLanes|=e,536870912!==e&&(t.suspendedLanes=0,t.pingedLanes=0),(t=t.eventTimes)[e=31-ae(e)]=n}function ye(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-ae(n),o=1<<r;o&e|t[r]&e&&(t[r]|=e),n&=~o}}var be=0;function xe(t){return 1<(t&=-t)?4<t?0!==(268435455&t)?16:536870912:4:1}var we,ke,Ae,_e,Se,Ce=!1,Ee=[],Oe=null,Pe=null,Me=null,Te=new Map,Ne=new Map,Re=[],Le="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function De(t,e){switch(t){case"focusin":case"focusout":Oe=null;break;case"dragenter":case"dragleave":Pe=null;break;case"mouseover":case"mouseout":Me=null;break;case"pointerover":case"pointerout":Te.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ne.delete(e.pointerId)}}function je(t,e,n,r,o,i){return null===t||t.nativeEvent!==i?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==e&&(null!==(e=xo(e))&&ke(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==o&&-1===e.indexOf(o)&&e.push(o),t)}function Ie(t){var e=bo(t.target);if(null!==e){var n=Vt(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=qt(n)))return t.blockedOn=e,void Se(t.priority,function(){Ae(n)})}else if(3===e&&n.stateNode.current.memoizedState.isDehydrated)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function ze(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=$e(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=xo(n))&&ke(e),t.blockedOn=n,!1;var r=new(n=t.nativeEvent).constructor(n.type,n);xt=r,n.target.dispatchEvent(r),xt=null,e.shift()}return!0}function Be(t,e,n){ze(t)&&n.delete(e)}function Fe(){Ce=!1,null!==Oe&&ze(Oe)&&(Oe=null),null!==Pe&&ze(Pe)&&(Pe=null),null!==Me&&ze(Me)&&(Me=null),Te.forEach(Be),Ne.forEach(Be)}function He(t,e){t.blockedOn===e&&(t.blockedOn=null,Ce||(Ce=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Fe)))}function Ve(t){function e(e){return He(e,t)}if(0<Ee.length){He(Ee[0],t);for(var n=1;n<Ee.length;n++){var r=Ee[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Oe&&He(Oe,t),null!==Pe&&He(Pe,t),null!==Me&&He(Me,t),Te.forEach(e),Ne.forEach(e),n=0;n<Re.length;n++)(r=Re[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Re.length&&null===(n=Re[0]).blockedOn;)Ie(n),null===n.blockedOn&&Re.shift()}var qe=x.ReactCurrentBatchConfig,Ue=!0;function We(t,e,n,r){var o=be,i=qe.transition;qe.transition=null;try{be=1,Ye(t,e,n,r)}finally{be=o,qe.transition=i}}function Ge(t,e,n,r){var o=be,i=qe.transition;qe.transition=null;try{be=4,Ye(t,e,n,r)}finally{be=o,qe.transition=i}}function Ye(t,e,n,r){if(Ue){var o=$e(t,e,n,r);if(null===o)Ur(t,e,r,Ke,n),De(t,r);else if(function(t,e,n,r,o){switch(e){case"focusin":return Oe=je(Oe,t,e,n,r,o),!0;case"dragenter":return Pe=je(Pe,t,e,n,r,o),!0;case"mouseover":return Me=je(Me,t,e,n,r,o),!0;case"pointerover":var i=o.pointerId;return Te.set(i,je(Te.get(i)||null,t,e,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ne.set(i,je(Ne.get(i)||null,t,e,n,r,o)),!0}return!1}(o,t,e,n,r))r.stopPropagation();else if(De(t,r),4&e&&-1<Le.indexOf(t)){for(;null!==o;){var i=xo(o);if(null!==i&&we(i),null===(i=$e(t,e,n,r))&&Ur(t,e,r,Ke,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Ur(t,e,r,null,n)}}var Ke=null;function $e(t,e,n,r){if(Ke=null,null!==(t=bo(t=wt(r))))if(null===(e=Vt(t)))t=null;else if(13===(n=e.tag)){if(null!==(t=qt(e)))return t;t=null}else if(3===n){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return Ke=t,null}function Xe(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Zt()){case Jt:return 1;case te:return 4;case ee:case ne:return 16;case re:return 536870912;default:return 16}default:return 16}}var Qe=null,Ze=null,Je=null;function tn(){if(Je)return Je;var t,e,n=Ze,r=n.length,o="value"in Qe?Qe.value:Qe.textContent,i=o.length;for(t=0;t<r&&n[t]===o[t];t++);var a=r-t;for(e=1;e<=a&&n[r-e]===o[i-e];e++);return Je=o.slice(t,1<e?1-e:void 0)}function en(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function nn(){return!0}function rn(){return!1}function on(t){function e(e,n,r,o,i){for(var a in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,t)t.hasOwnProperty(a)&&(e=t[a],this[a]=e?e(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return I(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!==typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!==typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),e}var an,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=on(cn),dn=I({},cn,{view:0,detail:0}),hn=on(dn),fn=I({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ln&&(ln&&"mousemove"===t.type?(an=t.screenX-ln.screenX,sn=t.screenY-ln.screenY):sn=an=0,ln=t),an)},movementY:function(t){return"movementY"in t?t.movementY:sn}}),pn=on(fn),gn=on(I({},fn,{dataTransfer:0})),mn=on(I({},dn,{relatedTarget:0})),vn=on(I({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=I({},cn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),bn=on(yn),xn=on(I({},cn,{data:0})),wn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},An={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function _n(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=An[t])&&!!e[t]}function Sn(){return _n}var Cn=I({},dn,{key:function(t){if(t.key){var e=wn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=en(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?kn[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(t){return"keypress"===t.type?en(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?en(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),En=on(Cn),On=on(I({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Pn=on(I({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Mn=on(I({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=I({},fn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Tn),Rn=[9,13,27,32],Ln=u&&"CompositionEvent"in window,Dn=null;u&&"documentMode"in document&&(Dn=document.documentMode);var jn=u&&"TextEvent"in window&&!Dn,In=u&&(!Ln||Dn&&8<Dn&&11>=Dn),zn=String.fromCharCode(32),Bn=!1;function Fn(t,e){switch(t){case"keyup":return-1!==Rn.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(t){return"object"===typeof(t=t.detail)&&"data"in t?t.data:null}var Vn=!1;var qn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Un(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!qn[t.type]:"textarea"===e}function Wn(t,e,n,r){Ct(r),0<(e=Gr(e,"onChange")).length&&(n=new un("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Gn=null,Yn=null;function Kn(t){zr(t,0)}function $n(t){if(Y(wo(t)))return t}function Xn(t,e){if("change"===t)return e}var Qn=!1;if(u){var Zn;if(u){var Jn="oninput"in document;if(!Jn){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),Jn="function"===typeof tr.oninput}Zn=Jn}else Zn=!1;Qn=Zn&&(!document.documentMode||9<document.documentMode)}function er(){Gn&&(Gn.detachEvent("onpropertychange",nr),Yn=Gn=null)}function nr(t){if("value"===t.propertyName&&$n(Yn)){var e=[];Wn(e,Yn,t,wt(t)),Tt(Kn,e)}}function rr(t,e,n){"focusin"===t?(er(),Yn=n,(Gn=e).attachEvent("onpropertychange",nr)):"focusout"===t&&er()}function or(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return $n(Yn)}function ir(t,e){if("click"===t)return $n(e)}function ar(t,e){if("input"===t||"change"===t)return $n(e)}var sr="function"===typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t===1/e)||t!==t&&e!==e};function lr(t,e){if(sr(t,e))return!0;if("object"!==typeof t||null===t||"object"!==typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(e,o)||!sr(t[o],e[o]))return!1}return!0}function cr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ur(t,e){var n,r=cr(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=cr(r)}}function dr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?dr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function hr(){for(var t=window,e=K();e instanceof t.HTMLIFrameElement;){try{var n="string"===typeof e.contentWindow.location.href}catch(r){n=!1}if(!n)break;e=K((t=e.contentWindow).document)}return e}function fr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}function pr(t){var e=hr(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(e=r.start,void 0===(t=r.end)&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if((t=(e=n.ownerDocument||document)&&e.defaultView||window).getSelection){t=t.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!t.extend&&i>r&&(o=r,r=i,i=o),o=ur(n,i);var a=ur(n,r);o&&a&&(1!==t.rangeCount||t.anchorNode!==o.node||t.anchorOffset!==o.offset||t.focusNode!==a.node||t.focusOffset!==a.offset)&&((e=e.createRange()).setStart(o.node,o.offset),t.removeAllRanges(),i>r?(t.addRange(e),t.extend(a.node,a.offset)):(e.setEnd(a.node,a.offset),t.addRange(e)))}for(e=[],t=n;t=t.parentNode;)1===t.nodeType&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for("function"===typeof n.focus&&n.focus(),n=0;n<e.length;n++)(t=e[n]).element.scrollLeft=t.left,t.element.scrollTop=t.top}}var gr=u&&"documentMode"in document&&11>=document.documentMode,mr=null,vr=null,yr=null,br=!1;function xr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==K(r)||("selectionStart"in(r=mr)&&fr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},yr&&lr(yr,r)||(yr=r,0<(r=Gr(vr,"onSelect")).length&&(e=new un("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=mr)))}function wr(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var kr={animationend:wr("Animation","AnimationEnd"),animationiteration:wr("Animation","AnimationIteration"),animationstart:wr("Animation","AnimationStart"),transitionend:wr("Transition","TransitionEnd")},Ar={},_r={};function Sr(t){if(Ar[t])return Ar[t];if(!kr[t])return t;var e,n=kr[t];for(e in n)if(n.hasOwnProperty(e)&&e in _r)return Ar[t]=n[e];return t}u&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete kr.animationend.animation,delete kr.animationiteration.animation,delete kr.animationstart.animation),"TransitionEvent"in window||delete kr.transitionend.transition);var Cr=Sr("animationend"),Er=Sr("animationiteration"),Or=Sr("animationstart"),Pr=Sr("transitionend"),Mr=new Map,Tr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(t,e){Mr.set(t,e),l(e,[t])}for(var Rr=0;Rr<Tr.length;Rr++){var Lr=Tr[Rr];Nr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Nr(Cr,"onAnimationEnd"),Nr(Er,"onAnimationIteration"),Nr(Or,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Pr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),jr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Ir(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,o,a,s,l,c){if(Ht.apply(this,arguments),jt){if(!jt)throw Error(i(198));var u=It;jt=!1,It=null,zt||(zt=!0,Bt=u)}}(r,e,void 0,t),t.currentTarget=null}function zr(t,e){e=0!==(4&e);for(var n=0;n<t.length;n++){var r=t[n],o=r.event;r=r.listeners;t:{var i=void 0;if(e)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break t;Ir(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break t;Ir(o,s,c),i=l}}}if(zt)throw t=Bt,zt=!1,Bt=null,t}function Br(t,e){var n=e[mo];void 0===n&&(n=e[mo]=new Set);var r=t+"__bubble";n.has(r)||(qr(e,t,2,!1),n.add(r))}function Fr(t,e,n){var r=0;e&&(r|=4),qr(n,t,r,e)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Vr(t){if(!t[Hr]){t[Hr]=!0,a.forEach(function(e){"selectionchange"!==e&&(jr.has(e)||Fr(e,!1,t),Fr(e,!0,t))});var e=9===t.nodeType?t:t.ownerDocument;null===e||e[Hr]||(e[Hr]=!0,Fr("selectionchange",!1,e))}}function qr(t,e,n,r){switch(Xe(e)){case 1:var o=We;break;case 4:o=Ge;break;default:o=Ye}n=o.bind(null,e,n,t),o=void 0,!Rt||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(o=!0),r?void 0!==o?t.addEventListener(e,n,{capture:!0,passive:o}):t.addEventListener(e,n,!0):void 0!==o?t.addEventListener(e,n,{passive:o}):t.addEventListener(e,n,!1)}function Ur(t,e,n,r,o){var i=r;if(0===(1&e)&&0===(2&e)&&null!==r)t:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue t}s=s.parentNode}}r=r.return}Tt(function(){var r=i,o=wt(n),a=[];t:{var s=Mr.get(t);if(void 0!==s){var l=un,c=t;switch(t){case"keypress":if(0===en(n))break t;case"keydown":case"keyup":l=En;break;case"focusin":c="focus",l=mn;break;case"focusout":c="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Pn;break;case Cr:case Er:case Or:l=vn;break;case Pr:l=Mn;break;case"scroll":l=hn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var u=0!==(4&e),d=!u&&"scroll"===t,h=u?null!==s?s+"Capture":null:s;u=[];for(var f,p=r;null!==p;){var g=(f=p).stateNode;if(5===f.tag&&null!==g&&(f=g,null!==h&&(null!=(g=Nt(p,h))&&u.push(Wr(p,g,f)))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0===(7&e)){if(l="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||n===xt||!(c=n.relatedTarget||n.fromElement)||!bo(c)&&!c[go])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bo(c):null)&&(c!==(d=Vt(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,g="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==t&&"pointerover"!==t||(u=On,g="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?s:wo(l),f=null==c?s:wo(c),(s=new u(g,p+"leave",l,n,o)).target=d,s.relatedTarget=f,g=null,bo(o)===r&&((u=new u(h,p+"enter",c,n,o)).target=f,u.relatedTarget=d,g=u),d=g,l&&c)t:{for(h=c,p=0,f=u=l;f;f=Yr(f))p++;for(f=0,g=h;g;g=Yr(g))f++;for(;0<p-f;)u=Yr(u),p--;for(;0<f-p;)h=Yr(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break t;u=Yr(u),h=Yr(h)}u=null}else u=null;null!==l&&Kr(a,s,l,u,!1),null!==c&&null!==d&&Kr(a,d,c,u,!0)}if("select"===(l=(s=r?wo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Xn;else if(Un(s))if(Qn)m=ar;else{m=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(t,r))?Wn(a,m,n,o):(v&&v(t,s,r),"focusout"===t&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&tt(s,"number",s.value)),v=r?wo(r):window,t){case"focusin":(Un(v)||"true"===v.contentEditable)&&(mr=v,vr=r,yr=null);break;case"focusout":yr=vr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,xr(a,n,o);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":xr(a,n,o)}var y;if(Ln)t:{switch(t){case"compositionstart":var b="onCompositionStart";break t;case"compositionend":b="onCompositionEnd";break t;case"compositionupdate":b="onCompositionUpdate";break t}b=void 0}else Vn?Fn(t,n)&&(b="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(b="onCompositionStart");b&&(In&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(y=tn()):(Ze="value"in(Qe=o)?Qe.value:Qe.textContent,Vn=!0)),0<(v=Gr(r,b)).length&&(b=new xn(b,t,null,n,o),a.push({event:b,listeners:v}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=jn?function(t,e){switch(t){case"compositionend":return Hn(e);case"keypress":return 32!==e.which?null:(Bn=!0,zn);case"textInput":return(t=e.data)===zn&&Bn?null:t;default:return null}}(t,n):function(t,e){if(Vn)return"compositionend"===t||!Ln&&Fn(t,e)?(t=tn(),Je=Ze=Qe=null,Vn=!1,t):null;switch(t){case"paste":default:return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return In&&"ko"!==e.locale?null:e.data}}(t,n))&&(0<(r=Gr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=y))}zr(a,e)})}function Wr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Gr(t,e){for(var n=e+"Capture",r=[];null!==t;){var o=t,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Nt(t,n))&&r.unshift(Wr(t,i,o)),null!=(i=Nt(t,e))&&r.push(Wr(t,i,o))),t=t.return}return r}function Yr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function Kr(t,e,n,r,o){for(var i=e._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Nt(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=Nt(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&t.push({event:e,listeners:a})}var $r=/\r\n?/g,Xr=/\u0000|\uFFFD/g;function Qr(t){return("string"===typeof t?t:""+t).replace($r,"\n").replace(Xr,"")}function Zr(t,e,n){if(e=Qr(e),Qr(t)!==e&&n)throw Error(i(425))}function Jr(){}var to=null,eo=null;function no(t,e){return"textarea"===t||"noscript"===t||"string"===typeof e.children||"number"===typeof e.children||"object"===typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var ro="function"===typeof setTimeout?setTimeout:void 0,oo="function"===typeof clearTimeout?clearTimeout:void 0,io="function"===typeof Promise?Promise:void 0,ao="function"===typeof queueMicrotask?queueMicrotask:"undefined"!==typeof io?function(t){return io.resolve(null).then(t).catch(so)}:ro;function so(t){setTimeout(function(){throw t})}function lo(t,e){var n=e,r=0;do{var o=n.nextSibling;if(t.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return t.removeChild(o),void Ve(e);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ve(e)}function co(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break;if(8===e){if("$"===(e=t.data)||"$!"===e||"$?"===e)break;if("/$"===e)return null}}return t}function uo(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var ho=Math.random().toString(36).slice(2),fo="__reactFiber$"+ho,po="__reactProps$"+ho,go="__reactContainer$"+ho,mo="__reactEvents$"+ho,vo="__reactListeners$"+ho,yo="__reactHandles$"+ho;function bo(t){var e=t[fo];if(e)return e;for(var n=t.parentNode;n;){if(e=n[go]||n[fo]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=uo(t);null!==t;){if(n=t[fo])return n;t=uo(t)}return e}n=(t=n).parentNode}return null}function xo(t){return!(t=t[fo]||t[go])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function wo(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(i(33))}function ko(t){return t[po]||null}var Ao=[],_o=-1;function So(t){return{current:t}}function Co(t){0>_o||(t.current=Ao[_o],Ao[_o]=null,_o--)}function Eo(t,e){_o++,Ao[_o]=t.current,t.current=e}var Oo={},Po=So(Oo),Mo=So(!1),To=Oo;function No(t,e){var n=t.type.contextTypes;if(!n)return Oo;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=e[o];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=i),i}function Ro(t){return null!==(t=t.childContextTypes)&&void 0!==t}function Lo(){Co(Mo),Co(Po)}function Do(t,e,n){if(Po.current!==Oo)throw Error(i(168));Eo(Po,e),Eo(Mo,n)}function jo(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,q(t)||"Unknown",o));return I({},n,r)}function Io(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Oo,To=Po.current,Eo(Po,t),Eo(Mo,Mo.current),!0}function zo(t,e,n){var r=t.stateNode;if(!r)throw Error(i(169));n?(t=jo(t,e,To),r.__reactInternalMemoizedMergedChildContext=t,Co(Mo),Co(Po),Eo(Po,t)):Co(Mo),Eo(Mo,n)}var Bo=null,Fo=!1,Ho=!1;function Vo(t){null===Bo?Bo=[t]:Bo.push(t)}function qo(){if(!Ho&&null!==Bo){Ho=!0;var t=0,e=be;try{var n=Bo;for(be=1;t<n.length;t++){var r=n[t];do{r=r(!0)}while(null!==r)}Bo=null,Fo=!1}catch(o){throw null!==Bo&&(Bo=Bo.slice(t+1)),Yt(Jt,qo),o}finally{be=e,Ho=!1}}return null}var Uo=[],Wo=0,Go=null,Yo=0,Ko=[],$o=0,Xo=null,Qo=1,Zo="";function Jo(t,e){Uo[Wo++]=Yo,Uo[Wo++]=Go,Go=t,Yo=e}function ti(t,e,n){Ko[$o++]=Qo,Ko[$o++]=Zo,Ko[$o++]=Xo,Xo=t;var r=Qo;t=Zo;var o=32-ae(r)-1;r&=~(1<<o),n+=1;var i=32-ae(e)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-ae(e)+o|n<<o|r,Zo=i+t}else Qo=1<<i|n<<o|r,Zo=t}function ei(t){null!==t.return&&(Jo(t,1),ti(t,1,0))}function ni(t){for(;t===Go;)Go=Uo[--Wo],Uo[Wo]=null,Yo=Uo[--Wo],Uo[Wo]=null;for(;t===Xo;)Xo=Ko[--$o],Ko[$o]=null,Zo=Ko[--$o],Ko[$o]=null,Qo=Ko[--$o],Ko[$o]=null}var ri=null,oi=null,ii=!1,ai=null;function si(t,e){var n=Tc(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,null===(e=t.deletions)?(t.deletions=[n],t.flags|=16):e.push(n)}function li(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,ri=t,oi=co(e.firstChild),!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,ri=t,oi=null,!0);case 13:return null!==(e=8!==e.nodeType?null:e)&&(n=null!==Xo?{id:Qo,overflow:Zo}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},(n=Tc(18,null,null,0)).stateNode=e,n.return=t,t.child=n,ri=t,oi=null,!0);default:return!1}}function ci(t){return 0!==(1&t.mode)&&0===(128&t.flags)}function ui(t){if(ii){var e=oi;if(e){var n=e;if(!li(t,e)){if(ci(t))throw Error(i(418));e=co(n.nextSibling);var r=ri;e&&li(t,e)?si(r,n):(t.flags=-4097&t.flags|2,ii=!1,ri=t)}}else{if(ci(t))throw Error(i(418));t.flags=-4097&t.flags|2,ii=!1,ri=t}}}function di(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;ri=t}function hi(t){if(t!==ri)return!1;if(!ii)return di(t),ii=!0,!1;var e;if((e=3!==t.tag)&&!(e=5!==t.tag)&&(e="head"!==(e=t.type)&&"body"!==e&&!no(t.type,t.memoizedProps)),e&&(e=oi)){if(ci(t))throw fi(),Error(i(418));for(;e;)si(t,e),e=co(e.nextSibling)}if(di(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(i(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){oi=co(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}oi=null}}else oi=ri?co(t.stateNode.nextSibling):null;return!0}function fi(){for(var t=oi;t;)t=co(t.nextSibling)}function pi(){oi=ri=null,ii=!1}function gi(t){null===ai?ai=[t]:ai.push(t)}var mi=x.ReactCurrentBatchConfig;function vi(t,e,n){if(null!==(t=n.ref)&&"function"!==typeof t&&"object"!==typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,t));var o=r,a=""+t;return null!==e&&null!==e.ref&&"function"===typeof e.ref&&e.ref._stringRef===a?e.ref:(e=function(t){var e=o.refs;null===t?delete e[a]:e[a]=t},e._stringRef=a,e)}if("string"!==typeof t)throw Error(i(284));if(!n._owner)throw Error(i(290,t))}return t}function yi(t,e){throw t=Object.prototype.toString.call(e),Error(i(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function bi(t){return(0,t._init)(t._payload)}function xi(t){function e(e,n){if(t){var r=e.deletions;null===r?(e.deletions=[n],e.flags|=16):r.push(n)}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function o(t,e){return(t=Rc(t,e)).index=0,t.sibling=null,t}function a(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags|=2,n):r:(e.flags|=2,n):(e.flags|=1048576,n)}function s(e){return t&&null===e.alternate&&(e.flags|=2),e}function l(t,e,n,r){return null===e||6!==e.tag?((e=Ic(n,t.mode,r)).return=t,e):((e=o(e,n)).return=t,e)}function c(t,e,n,r){var i=n.type;return i===A?d(t,e,n.props.children,r,n.key):null!==e&&(e.elementType===i||"object"===typeof i&&null!==i&&i.$$typeof===N&&bi(i)===e.type)?((r=o(e,n.props)).ref=vi(t,e,n),r.return=t,r):((r=Lc(n.type,n.key,n.props,null,t.mode,r)).ref=vi(t,e,n),r.return=t,r)}function u(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=zc(n,t.mode,r)).return=t,e):((e=o(e,n.children||[])).return=t,e)}function d(t,e,n,r,i){return null===e||7!==e.tag?((e=Dc(n,t.mode,r,i)).return=t,e):((e=o(e,n)).return=t,e)}function h(t,e,n){if("string"===typeof e&&""!==e||"number"===typeof e)return(e=Ic(""+e,t.mode,n)).return=t,e;if("object"===typeof e&&null!==e){switch(e.$$typeof){case w:return(n=Lc(e.type,e.key,e.props,null,t.mode,n)).ref=vi(t,null,e),n.return=t,n;case k:return(e=zc(e,t.mode,n)).return=t,e;case N:return h(t,(0,e._init)(e._payload),n)}if(et(e)||D(e))return(e=Dc(e,t.mode,n,null)).return=t,e;yi(t,e)}return null}function f(t,e,n,r){var o=null!==e?e.key:null;if("string"===typeof n&&""!==n||"number"===typeof n)return null!==o?null:l(t,e,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===o?c(t,e,n,r):null;case k:return n.key===o?u(t,e,n,r):null;case N:return f(t,e,(o=n._init)(n._payload),r)}if(et(n)||D(n))return null!==o?null:d(t,e,n,r,null);yi(t,n)}return null}function p(t,e,n,r,o){if("string"===typeof r&&""!==r||"number"===typeof r)return l(e,t=t.get(n)||null,""+r,o);if("object"===typeof r&&null!==r){switch(r.$$typeof){case w:return c(e,t=t.get(null===r.key?n:r.key)||null,r,o);case k:return u(e,t=t.get(null===r.key?n:r.key)||null,r,o);case N:return p(t,e,n,(0,r._init)(r._payload),o)}if(et(r)||D(r))return d(e,t=t.get(n)||null,r,o,null);yi(e,r)}return null}function g(o,i,s,l){for(var c=null,u=null,d=i,g=i=0,m=null;null!==d&&g<s.length;g++){d.index>g?(m=d,d=null):m=d.sibling;var v=f(o,d,s[g],l);if(null===v){null===d&&(d=m);break}t&&d&&null===v.alternate&&e(o,d),i=a(v,i,g),null===u?c=v:u.sibling=v,u=v,d=m}if(g===s.length)return n(o,d),ii&&Jo(o,g),c;if(null===d){for(;g<s.length;g++)null!==(d=h(o,s[g],l))&&(i=a(d,i,g),null===u?c=d:u.sibling=d,u=d);return ii&&Jo(o,g),c}for(d=r(o,d);g<s.length;g++)null!==(m=p(d,o,g,s[g],l))&&(t&&null!==m.alternate&&d.delete(null===m.key?g:m.key),i=a(m,i,g),null===u?c=m:u.sibling=m,u=m);return t&&d.forEach(function(t){return e(o,t)}),ii&&Jo(o,g),c}function m(o,s,l,c){var u=D(l);if("function"!==typeof u)throw Error(i(150));if(null==(l=u.call(l)))throw Error(i(151));for(var d=u=null,g=s,m=s=0,v=null,y=l.next();null!==g&&!y.done;m++,y=l.next()){g.index>m?(v=g,g=null):v=g.sibling;var b=f(o,g,y.value,c);if(null===b){null===g&&(g=v);break}t&&g&&null===b.alternate&&e(o,g),s=a(b,s,m),null===d?u=b:d.sibling=b,d=b,g=v}if(y.done)return n(o,g),ii&&Jo(o,m),u;if(null===g){for(;!y.done;m++,y=l.next())null!==(y=h(o,y.value,c))&&(s=a(y,s,m),null===d?u=y:d.sibling=y,d=y);return ii&&Jo(o,m),u}for(g=r(o,g);!y.done;m++,y=l.next())null!==(y=p(g,o,m,y.value,c))&&(t&&null!==y.alternate&&g.delete(null===y.key?m:y.key),s=a(y,s,m),null===d?u=y:d.sibling=y,d=y);return t&&g.forEach(function(t){return e(o,t)}),ii&&Jo(o,m),u}return function t(r,i,a,l){if("object"===typeof a&&null!==a&&a.type===A&&null===a.key&&(a=a.props.children),"object"===typeof a&&null!==a){switch(a.$$typeof){case w:t:{for(var c=a.key,u=i;null!==u;){if(u.key===c){if((c=a.type)===A){if(7===u.tag){n(r,u.sibling),(i=o(u,a.props.children)).return=r,r=i;break t}}else if(u.elementType===c||"object"===typeof c&&null!==c&&c.$$typeof===N&&bi(c)===u.type){n(r,u.sibling),(i=o(u,a.props)).ref=vi(r,u,a),i.return=r,r=i;break t}n(r,u);break}e(r,u),u=u.sibling}a.type===A?((i=Dc(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Lc(a.type,a.key,a.props,null,r.mode,l)).ref=vi(r,i,a),l.return=r,r=l)}return s(r);case k:t:{for(u=a.key;null!==i;){if(i.key===u){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break t}n(r,i);break}e(r,i),i=i.sibling}(i=zc(a,r.mode,l)).return=r,r=i}return s(r);case N:return t(r,i,(u=a._init)(a._payload),l)}if(et(a))return g(r,i,a,l);if(D(a))return m(r,i,a,l);yi(r,a)}return"string"===typeof a&&""!==a||"number"===typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Ic(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var wi=xi(!0),ki=xi(!1),Ai=So(null),_i=null,Si=null,Ci=null;function Ei(){Ci=Si=_i=null}function Oi(t){var e=Ai.current;Co(Ai),t._currentValue=e}function Pi(t,e,n){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,null!==r&&(r.childLanes|=e)):null!==r&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Mi(t,e){_i=t,Ci=Si=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!==(t.lanes&e)&&(bs=!0),t.firstContext=null)}function Ti(t){var e=t._currentValue;if(Ci!==t)if(t={context:t,memoizedValue:e,next:null},null===Si){if(null===_i)throw Error(i(308));Si=t,_i.dependencies={lanes:0,firstContext:t}}else Si=Si.next=t;return e}var Ni=null;function Ri(t){null===Ni?Ni=[t]:Ni.push(t)}function Li(t,e,n,r){var o=e.interleaved;return null===o?(n.next=n,Ri(e)):(n.next=o.next,o.next=n),e.interleaved=n,Di(t,r)}function Di(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}var ji=!1;function Ii(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function zi(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Bi(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function Fi(t,e,n){var r=t.updateQueue;if(null===r)return null;if(r=r.shared,0!==(2&Ol)){var o=r.pending;return null===o?e.next=e:(e.next=o.next,o.next=e),r.pending=e,Di(t,n)}return null===(o=r.interleaved)?(e.next=e,Ri(r)):(e.next=o.next,o.next=e),r.interleaved=e,Di(t,n)}function Hi(t,e,n){if(null!==(e=e.updateQueue)&&(e=e.shared,0!==(4194240&n))){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,ye(t,n)}}function Vi(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=e:i=i.next=e}else o=i=e;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function qi(t,e,n,r){var o=t.updateQueue;ji=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===a?i=c:a.next=c,a=l;var u=t.alternate;null!==u&&((s=(u=u.updateQueue).lastBaseUpdate)!==a&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,u=c=l=null,s=i;;){var h=s.lane,f=s.eventTime;if((r&h)===h){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});t:{var p=t,g=s;switch(h=e,f=n,g.tag){case 1:if("function"===typeof(p=g.payload)){d=p.call(f,d,h);break t}d=p;break t;case 3:p.flags=-65537&p.flags|128;case 0:if(null===(h="function"===typeof(p=g.payload)?p.call(f,d,h):p)||void 0===h)break t;d=I({},d,h);break t;case 2:ji=!0}}null!==s.callback&&0!==s.lane&&(t.flags|=64,null===(h=o.effects)?o.effects=[s]:h.push(s))}else f={eventTime:f,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,a|=h;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(h=s).next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(e=o.shared.interleaved)){o=e;do{a|=o.lane,o=o.next}while(o!==e)}else null===i&&(o.shared.lanes=0);jl|=a,t.lanes=a,t.memoizedState=d}}function Ui(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!==typeof o)throw Error(i(191,o));o.call(r)}}}var Wi={},Gi=So(Wi),Yi=So(Wi),Ki=So(Wi);function $i(t){if(t===Wi)throw Error(i(174));return t}function Xi(t,e){switch(Eo(Ki,e),Eo(Yi,t),Eo(Gi,Wi),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:lt(null,"");break;default:e=lt(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}Co(Gi),Eo(Gi,e)}function Qi(){Co(Gi),Co(Yi),Co(Ki)}function Zi(t){$i(Ki.current);var e=$i(Gi.current),n=lt(e,t.type);e!==n&&(Eo(Yi,t),Eo(Gi,n))}function Ji(t){Yi.current===t&&(Co(Gi),Co(Yi))}var ta=So(0);function ea(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!==(128&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var na=[];function ra(){for(var t=0;t<na.length;t++)na[t]._workInProgressVersionPrimary=null;na.length=0}var oa=x.ReactCurrentDispatcher,ia=x.ReactCurrentBatchConfig,aa=0,sa=null,la=null,ca=null,ua=!1,da=!1,ha=0,fa=0;function pa(){throw Error(i(321))}function ga(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!sr(t[n],e[n]))return!1;return!0}function ma(t,e,n,r,o,a){if(aa=a,sa=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,oa.current=null===t||null===t.memoizedState?Ja:ts,t=n(r,o),da){a=0;do{if(da=!1,ha=0,25<=a)throw Error(i(301));a+=1,ca=la=null,e.updateQueue=null,oa.current=es,t=n(r,o)}while(da)}if(oa.current=Za,e=null!==la&&null!==la.next,aa=0,ca=la=sa=null,ua=!1,e)throw Error(i(300));return t}function va(){var t=0!==ha;return ha=0,t}function ya(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ca?sa.memoizedState=ca=t:ca=ca.next=t,ca}function ba(){if(null===la){var t=sa.alternate;t=null!==t?t.memoizedState:null}else t=la.next;var e=null===ca?sa.memoizedState:ca.next;if(null!==e)ca=e,la=t;else{if(null===t)throw Error(i(310));t={memoizedState:(la=t).memoizedState,baseState:la.baseState,baseQueue:la.baseQueue,queue:la.queue,next:null},null===ca?sa.memoizedState=ca=t:ca=ca.next=t}return ca}function xa(t,e){return"function"===typeof e?e(t):e}function wa(t){var e=ba(),n=e.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=t;var r=la,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,c=null,u=a;do{var d=u.lane;if((aa&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:t(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=r):c=c.next=h,sa.lanes|=d,jl|=d}u=u.next}while(null!==u&&u!==a);null===c?s=r:c.next=l,sr(r,e.memoizedState)||(bs=!0),e.memoizedState=r,e.baseState=s,e.baseQueue=c,n.lastRenderedState=r}if(null!==(t=n.interleaved)){o=t;do{a=o.lane,sa.lanes|=a,jl|=a,o=o.next}while(o!==t)}else null===o&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function ka(t){var e=ba(),n=e.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=t;var r=n.dispatch,o=n.pending,a=e.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=t(a,s.action),s=s.next}while(s!==o);sr(a,e.memoizedState)||(bs=!0),e.memoizedState=a,null===e.baseQueue&&(e.baseState=a),n.lastRenderedState=a}return[a,r]}function Aa(){}function _a(t,e){var n=sa,r=ba(),o=e(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,ja(Ea.bind(null,n,r,t),[t]),r.getSnapshot!==e||a||null!==ca&&1&ca.memoizedState.tag){if(n.flags|=2048,Ta(9,Ca.bind(null,n,r,o,e),void 0,null),null===Pl)throw Error(i(349));0!==(30&aa)||Sa(n,e,o)}return o}function Sa(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},null===(e=sa.updateQueue)?(e={lastEffect:null,stores:null},sa.updateQueue=e,e.stores=[t]):null===(n=e.stores)?e.stores=[t]:n.push(t)}function Ca(t,e,n,r){e.value=n,e.getSnapshot=r,Oa(e)&&Pa(t)}function Ea(t,e,n){return n(function(){Oa(e)&&Pa(t)})}function Oa(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!sr(t,n)}catch(r){return!0}}function Pa(t){var e=Di(t,1);null!==e&&nc(e,t,1,-1)}function Ma(t){var e=ya();return"function"===typeof t&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:xa,lastRenderedState:t},e.queue=t,t=t.dispatch=Ka.bind(null,sa,t),[e.memoizedState,t]}function Ta(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=sa.updateQueue)?(e={lastEffect:null,stores:null},sa.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function Na(){return ba().memoizedState}function Ra(t,e,n,r){var o=ya();sa.flags|=t,o.memoizedState=Ta(1|e,n,void 0,void 0===r?null:r)}function La(t,e,n,r){var o=ba();r=void 0===r?null:r;var i=void 0;if(null!==la){var a=la.memoizedState;if(i=a.destroy,null!==r&&ga(r,a.deps))return void(o.memoizedState=Ta(e,n,i,r))}sa.flags|=t,o.memoizedState=Ta(1|e,n,i,r)}function Da(t,e){return Ra(8390656,8,t,e)}function ja(t,e){return La(2048,8,t,e)}function Ia(t,e){return La(4,2,t,e)}function za(t,e){return La(4,4,t,e)}function Ba(t,e){return"function"===typeof e?(t=t(),e(t),function(){e(null)}):null!==e&&void 0!==e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Fa(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,La(4,4,Ba.bind(null,e,t),n)}function Ha(){}function Va(t,e){var n=ba();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ga(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function qa(t,e){var n=ba();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&ga(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Ua(t,e,n){return 0===(21&aa)?(t.baseState&&(t.baseState=!1,bs=!0),t.memoizedState=n):(sr(n,e)||(n=ge(),sa.lanes|=n,jl|=n,t.baseState=!0),e)}function Wa(t,e){var n=be;be=0!==n&&4>n?n:4,t(!0);var r=ia.transition;ia.transition={};try{t(!1),e()}finally{be=n,ia.transition=r}}function Ga(){return ba().memoizedState}function Ya(t,e,n){var r=ec(t);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},$a(t))Xa(e,n);else if(null!==(n=Li(t,e,n,r))){nc(n,t,r,tc()),Qa(n,e,r)}}function Ka(t,e,n){var r=ec(t),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if($a(t))Xa(e,o);else{var i=t.alternate;if(0===t.lanes&&(null===i||0===i.lanes)&&null!==(i=e.lastRenderedReducer))try{var a=e.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=e.interleaved;return null===l?(o.next=o,Ri(e)):(o.next=l.next,l.next=o),void(e.interleaved=o)}}catch(c){}null!==(n=Li(t,e,o,r))&&(nc(n,t,r,o=tc()),Qa(n,e,r))}}function $a(t){var e=t.alternate;return t===sa||null!==e&&e===sa}function Xa(t,e){da=ua=!0;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function Qa(t,e,n){if(0!==(4194240&n)){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,ye(t,n)}}var Za={readContext:Ti,useCallback:pa,useContext:pa,useEffect:pa,useImperativeHandle:pa,useInsertionEffect:pa,useLayoutEffect:pa,useMemo:pa,useReducer:pa,useRef:pa,useState:pa,useDebugValue:pa,useDeferredValue:pa,useTransition:pa,useMutableSource:pa,useSyncExternalStore:pa,useId:pa,unstable_isNewReconciler:!1},Ja={readContext:Ti,useCallback:function(t,e){return ya().memoizedState=[t,void 0===e?null:e],t},useContext:Ti,useEffect:Da,useImperativeHandle:function(t,e,n){return n=null!==n&&void 0!==n?n.concat([t]):null,Ra(4194308,4,Ba.bind(null,e,t),n)},useLayoutEffect:function(t,e){return Ra(4194308,4,t,e)},useInsertionEffect:function(t,e){return Ra(4,2,t,e)},useMemo:function(t,e){var n=ya();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=ya();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=Ya.bind(null,sa,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},ya().memoizedState=t},useState:Ma,useDebugValue:Ha,useDeferredValue:function(t){return ya().memoizedState=t},useTransition:function(){var t=Ma(!1),e=t[0];return t=Wa.bind(null,t[1]),ya().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=sa,o=ya();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=e(),null===Pl)throw Error(i(349));0!==(30&aa)||Sa(r,e,n)}o.memoizedState=n;var a={value:n,getSnapshot:e};return o.queue=a,Da(Ea.bind(null,r,a,t),[t]),r.flags|=2048,Ta(9,Ca.bind(null,r,a,n,e),void 0,null),n},useId:function(){var t=ya(),e=Pl.identifierPrefix;if(ii){var n=Zo;e=":"+e+"R"+(n=(Qo&~(1<<32-ae(Qo)-1)).toString(32)+n),0<(n=ha++)&&(e+="H"+n.toString(32)),e+=":"}else e=":"+e+"r"+(n=fa++).toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},ts={readContext:Ti,useCallback:Va,useContext:Ti,useEffect:ja,useImperativeHandle:Fa,useInsertionEffect:Ia,useLayoutEffect:za,useMemo:qa,useReducer:wa,useRef:Na,useState:function(){return wa(xa)},useDebugValue:Ha,useDeferredValue:function(t){return Ua(ba(),la.memoizedState,t)},useTransition:function(){return[wa(xa)[0],ba().memoizedState]},useMutableSource:Aa,useSyncExternalStore:_a,useId:Ga,unstable_isNewReconciler:!1},es={readContext:Ti,useCallback:Va,useContext:Ti,useEffect:ja,useImperativeHandle:Fa,useInsertionEffect:Ia,useLayoutEffect:za,useMemo:qa,useReducer:ka,useRef:Na,useState:function(){return ka(xa)},useDebugValue:Ha,useDeferredValue:function(t){var e=ba();return null===la?e.memoizedState=t:Ua(e,la.memoizedState,t)},useTransition:function(){return[ka(xa)[0],ba().memoizedState]},useMutableSource:Aa,useSyncExternalStore:_a,useId:Ga,unstable_isNewReconciler:!1};function ns(t,e){if(t&&t.defaultProps){for(var n in e=I({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}function rs(t,e,n,r){n=null===(n=n(r,e=t.memoizedState))||void 0===n?e:I({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var os={isMounted:function(t){return!!(t=t._reactInternals)&&Vt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=tc(),o=ec(t),i=Bi(r,o);i.payload=e,void 0!==n&&null!==n&&(i.callback=n),null!==(e=Fi(t,i,o))&&(nc(e,t,o,r),Hi(e,t,o))},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=tc(),o=ec(t),i=Bi(r,o);i.tag=1,i.payload=e,void 0!==n&&null!==n&&(i.callback=n),null!==(e=Fi(t,i,o))&&(nc(e,t,o,r),Hi(e,t,o))},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=tc(),r=ec(t),o=Bi(n,r);o.tag=2,void 0!==e&&null!==e&&(o.callback=e),null!==(e=Fi(t,o,r))&&(nc(e,t,r,n),Hi(e,t,r))}};function is(t,e,n,r,o,i,a){return"function"===typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,i,a):!e.prototype||!e.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function as(t,e,n){var r=!1,o=Oo,i=e.contextType;return"object"===typeof i&&null!==i?i=Ti(i):(o=Ro(e)?To:Po.current,i=(r=null!==(r=e.contextTypes)&&void 0!==r)?No(t,o):Oo),e=new e(n,i),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=os,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=i),e}function ss(t,e,n,r){t=e.state,"function"===typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"===typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&os.enqueueReplaceState(e,e.state,null)}function ls(t,e,n,r){var o=t.stateNode;o.props=n,o.state=t.memoizedState,o.refs={},Ii(t);var i=e.contextType;"object"===typeof i&&null!==i?o.context=Ti(i):(i=Ro(e)?To:Po.current,o.context=No(t,i)),o.state=t.memoizedState,"function"===typeof(i=e.getDerivedStateFromProps)&&(rs(t,e,i,n),o.state=t.memoizedState),"function"===typeof e.getDerivedStateFromProps||"function"===typeof o.getSnapshotBeforeUpdate||"function"!==typeof o.UNSAFE_componentWillMount&&"function"!==typeof o.componentWillMount||(e=o.state,"function"===typeof o.componentWillMount&&o.componentWillMount(),"function"===typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),e!==o.state&&os.enqueueReplaceState(o,o.state,null),qi(t,n,o,r),o.state=t.memoizedState),"function"===typeof o.componentDidMount&&(t.flags|=4194308)}function cs(t,e){try{var n="",r=e;do{n+=H(r),r=r.return}while(r);var o=n}catch(i){o="\nError generating stack: "+i.message+"\n"+i.stack}return{value:t,source:e,stack:o,digest:null}}function us(t,e,n){return{value:t,source:null,stack:null!=n?n:null,digest:null!=e?e:null}}function ds(t,e){try{console.error(e.value)}catch(n){setTimeout(function(){throw n})}}var hs="function"===typeof WeakMap?WeakMap:Map;function fs(t,e,n){(n=Bi(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){Ul||(Ul=!0,Wl=r),ds(0,e)},n}function ps(t,e,n){(n=Bi(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"===typeof r){var o=e.value;n.payload=function(){return r(o)},n.callback=function(){ds(0,e)}}var i=t.stateNode;return null!==i&&"function"===typeof i.componentDidCatch&&(n.callback=function(){ds(0,e),"function"!==typeof r&&(null===Gl?Gl=new Set([this]):Gl.add(this));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}function gs(t,e,n){var r=t.pingCache;if(null===r){r=t.pingCache=new hs;var o=new Set;r.set(e,o)}else void 0===(o=r.get(e))&&(o=new Set,r.set(e,o));o.has(n)||(o.add(n),t=Sc.bind(null,t,e,n),e.then(t,t))}function ms(t){do{var e;if((e=13===t.tag)&&(e=null===(e=t.memoizedState)||null!==e.dehydrated),e)return t;t=t.return}while(null!==t);return null}function vs(t,e,n,r,o){return 0===(1&t.mode)?(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((e=Bi(-1,1)).tag=2,Fi(n,e,1))),n.lanes|=1),t):(t.flags|=65536,t.lanes=o,t)}var ys=x.ReactCurrentOwner,bs=!1;function xs(t,e,n,r){e.child=null===t?ki(e,null,n,r):wi(e,t.child,n,r)}function ws(t,e,n,r,o){n=n.render;var i=e.ref;return Mi(e,o),r=ma(t,e,n,r,i,o),n=va(),null===t||bs?(ii&&n&&ei(e),e.flags|=1,xs(t,e,r,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Us(t,e,o))}function ks(t,e,n,r,o){if(null===t){var i=n.type;return"function"!==typeof i||Nc(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Lc(n.type,null,r,e,e.mode,o)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=i,As(t,e,i,r,o))}if(i=t.child,0===(t.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&t.ref===e.ref)return Us(t,e,o)}return e.flags|=1,(t=Rc(i,r)).ref=e.ref,t.return=e,e.child=t}function As(t,e,n,r,o){if(null!==t){var i=t.memoizedProps;if(lr(i,r)&&t.ref===e.ref){if(bs=!1,e.pendingProps=r=i,0===(t.lanes&o))return e.lanes=t.lanes,Us(t,e,o);0!==(131072&t.flags)&&(bs=!0)}}return Cs(t,e,n,r,o)}function _s(t,e,n){var r=e.pendingProps,o=r.children,i=null!==t?t.memoizedState:null;if("hidden"===r.mode)if(0===(1&e.mode))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Eo(Rl,Nl),Nl|=n;else{if(0===(1073741824&n))return t=null!==i?i.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Eo(Rl,Nl),Nl|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Eo(Rl,Nl),Nl|=r}else null!==i?(r=i.baseLanes|n,e.memoizedState=null):r=n,Eo(Rl,Nl),Nl|=r;return xs(t,e,o,n),e.child}function Ss(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function Cs(t,e,n,r,o){var i=Ro(n)?To:Po.current;return i=No(e,i),Mi(e,o),n=ma(t,e,n,r,i,o),r=va(),null===t||bs?(ii&&r&&ei(e),e.flags|=1,xs(t,e,n,o),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~o,Us(t,e,o))}function Es(t,e,n,r,o){if(Ro(n)){var i=!0;Io(e)}else i=!1;if(Mi(e,o),null===e.stateNode)qs(t,e),as(e,n,r),ls(e,n,r,o),r=!0;else if(null===t){var a=e.stateNode,s=e.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"===typeof c&&null!==c?c=Ti(c):c=No(e,c=Ro(n)?To:Po.current);var u=n.getDerivedStateFromProps,d="function"===typeof u||"function"===typeof a.getSnapshotBeforeUpdate;d||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==r||l!==c)&&ss(e,a,r,c),ji=!1;var h=e.memoizedState;a.state=h,qi(e,r,a,o),l=e.memoizedState,s!==r||h!==l||Mo.current||ji?("function"===typeof u&&(rs(e,n,u,r),l=e.memoizedState),(s=ji||is(e,n,s,r,h,l,c))?(d||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||("function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"===typeof a.componentDidMount&&(e.flags|=4194308)):("function"===typeof a.componentDidMount&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"===typeof a.componentDidMount&&(e.flags|=4194308),r=!1)}else{a=e.stateNode,zi(t,e),s=e.memoizedProps,c=e.type===e.elementType?s:ns(e.type,s),a.props=c,d=e.pendingProps,h=a.context,"object"===typeof(l=n.contextType)&&null!==l?l=Ti(l):l=No(e,l=Ro(n)?To:Po.current);var f=n.getDerivedStateFromProps;(u="function"===typeof f||"function"===typeof a.getSnapshotBeforeUpdate)||"function"!==typeof a.UNSAFE_componentWillReceiveProps&&"function"!==typeof a.componentWillReceiveProps||(s!==d||h!==l)&&ss(e,a,r,l),ji=!1,h=e.memoizedState,a.state=h,qi(e,r,a,o);var p=e.memoizedState;s!==d||h!==p||Mo.current||ji?("function"===typeof f&&(rs(e,n,f,r),p=e.memoizedState),(c=ji||is(e,n,c,r,h,p,l)||!1)?(u||"function"!==typeof a.UNSAFE_componentWillUpdate&&"function"!==typeof a.componentWillUpdate||("function"===typeof a.componentWillUpdate&&a.componentWillUpdate(r,p,l),"function"===typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,p,l)),"function"===typeof a.componentDidUpdate&&(e.flags|=4),"function"===typeof a.getSnapshotBeforeUpdate&&(e.flags|=1024)):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=p),a.props=r,a.state=p,a.context=l,r=c):("function"!==typeof a.componentDidUpdate||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=4),"function"!==typeof a.getSnapshotBeforeUpdate||s===t.memoizedProps&&h===t.memoizedState||(e.flags|=1024),r=!1)}return Os(t,e,n,r,i,o)}function Os(t,e,n,r,o,i){Ss(t,e);var a=0!==(128&e.flags);if(!r&&!a)return o&&zo(e,n,!1),Us(t,e,i);r=e.stateNode,ys.current=e;var s=a&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&a?(e.child=wi(e,t.child,null,i),e.child=wi(e,null,s,i)):xs(t,e,s,i),e.memoizedState=r.state,o&&zo(e,n,!0),e.child}function Ps(t){var e=t.stateNode;e.pendingContext?Do(0,e.pendingContext,e.pendingContext!==e.context):e.context&&Do(0,e.context,!1),Xi(t,e.containerInfo)}function Ms(t,e,n,r,o){return pi(),gi(o),e.flags|=256,xs(t,e,n,r),e.child}var Ts,Ns,Rs,Ls,Ds={dehydrated:null,treeContext:null,retryLane:0};function js(t){return{baseLanes:t,cachePool:null,transitions:null}}function Is(t,e,n){var r,o=e.pendingProps,a=ta.current,s=!1,l=0!==(128&e.flags);if((r=l)||(r=(null===t||null!==t.memoizedState)&&0!==(2&a)),r?(s=!0,e.flags&=-129):null!==t&&null===t.memoizedState||(a|=1),Eo(ta,1&a),null===t)return ui(e),null!==(t=e.memoizedState)&&null!==(t=t.dehydrated)?(0===(1&e.mode)?e.lanes=1:"$!"===t.data?e.lanes=8:e.lanes=1073741824,null):(l=o.children,t=o.fallback,s?(o=e.mode,s=e.child,l={mode:"hidden",children:l},0===(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=jc(l,o,0,null),t=Dc(t,o,n,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=js(n),e.memoizedState=Ds,t):zs(e,l));if(null!==(a=t.memoizedState)&&null!==(r=a.dehydrated))return function(t,e,n,r,o,a,s){if(n)return 256&e.flags?(e.flags&=-257,Bs(t,e,s,r=us(Error(i(422))))):null!==e.memoizedState?(e.child=t.child,e.flags|=128,null):(a=r.fallback,o=e.mode,r=jc({mode:"visible",children:r.children},o,0,null),(a=Dc(a,o,s,null)).flags|=2,r.return=e,a.return=e,r.sibling=a,e.child=r,0!==(1&e.mode)&&wi(e,t.child,null,s),e.child.memoizedState=js(s),e.memoizedState=Ds,a);if(0===(1&e.mode))return Bs(t,e,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Bs(t,e,s,r=us(a=Error(i(419)),r,void 0))}if(l=0!==(s&t.childLanes),bs||l){if(null!==(r=Pl)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Di(t,o),nc(r,t,o,-1))}return gc(),Bs(t,e,s,r=us(Error(i(421))))}return"$?"===o.data?(e.flags|=128,e.child=t.child,e=Ec.bind(null,t),o._reactRetry=e,null):(t=a.treeContext,oi=co(o.nextSibling),ri=e,ii=!0,ai=null,null!==t&&(Ko[$o++]=Qo,Ko[$o++]=Zo,Ko[$o++]=Xo,Qo=t.id,Zo=t.overflow,Xo=e),e=zs(e,r.children),e.flags|=4096,e)}(t,e,l,o,r,a,n);if(s){s=o.fallback,l=e.mode,r=(a=t.child).sibling;var c={mode:"hidden",children:o.children};return 0===(1&l)&&e.child!==a?((o=e.child).childLanes=0,o.pendingProps=c,e.deletions=null):(o=Rc(a,c)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Rc(r,s):(s=Dc(s,l,n,null)).flags|=2,s.return=e,o.return=e,o.sibling=s,e.child=o,o=s,s=e.child,l=null===(l=t.child.memoizedState)?js(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=t.childLanes&~n,e.memoizedState=Ds,o}return t=(s=t.child).sibling,o=Rc(s,{mode:"visible",children:o.children}),0===(1&e.mode)&&(o.lanes=n),o.return=e,o.sibling=null,null!==t&&(null===(n=e.deletions)?(e.deletions=[t],e.flags|=16):n.push(t)),e.child=o,e.memoizedState=null,o}function zs(t,e){return(e=jc({mode:"visible",children:e},t.mode,0,null)).return=t,t.child=e}function Bs(t,e,n,r){return null!==r&&gi(r),wi(e,t.child,null,n),(t=zs(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,t}function Fs(t,e,n){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),Pi(t.return,e,n)}function Hs(t,e,n,r,o){var i=t.memoizedState;null===i?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=e,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vs(t,e,n){var r=e.pendingProps,o=r.revealOrder,i=r.tail;if(xs(t,e,r.children,n),0!==(2&(r=ta.current)))r=1&r|2,e.flags|=128;else{if(null!==t&&0!==(128&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&Fs(t,n,e);else if(19===t.tag)Fs(t,n,e);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Eo(ta,r),0===(1&e.mode))e.memoizedState=null;else switch(o){case"forwards":for(n=e.child,o=null;null!==n;)null!==(t=n.alternate)&&null===ea(t)&&(o=n),n=n.sibling;null===(n=o)?(o=e.child,e.child=null):(o=n.sibling,n.sibling=null),Hs(e,!1,o,n,i);break;case"backwards":for(n=null,o=e.child,e.child=null;null!==o;){if(null!==(t=o.alternate)&&null===ea(t)){e.child=o;break}t=o.sibling,o.sibling=n,n=o,o=t}Hs(e,!0,n,null,i);break;case"together":Hs(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function qs(t,e){0===(1&e.mode)&&null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2)}function Us(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),jl|=e.lanes,0===(n&e.childLanes))return null;if(null!==t&&e.child!==t.child)throw Error(i(153));if(null!==e.child){for(n=Rc(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Rc(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Ws(t,e){if(!ii)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function Gs(t){var e=null!==t.alternate&&t.alternate.child===t.child,n=0,r=0;if(e)for(var o=t.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=t,o=o.sibling;else for(o=t.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=t,o=o.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function Ys(t,e,n){var r=e.pendingProps;switch(ni(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Gs(e),null;case 1:case 17:return Ro(e.type)&&Lo(),Gs(e),null;case 3:return r=e.stateNode,Qi(),Co(Mo),Co(Po),ra(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(hi(e)?e.flags|=4:null===t||t.memoizedState.isDehydrated&&0===(256&e.flags)||(e.flags|=1024,null!==ai&&(ac(ai),ai=null))),Ns(t,e),Gs(e),null;case 5:Ji(e);var o=$i(Ki.current);if(n=e.type,null!==t&&null!=e.stateNode)Rs(t,e,n,r,o),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(null===e.stateNode)throw Error(i(166));return Gs(e),null}if(t=$i(Gi.current),hi(e)){r=e.stateNode,n=e.type;var a=e.memoizedProps;switch(r[fo]=e,r[po]=a,t=0!==(1&e.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":X(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":ot(r,a),Br("invalid",r)}for(var l in yt(n,a),o=null,a)if(a.hasOwnProperty(l)){var c=a[l];"children"===l?"string"===typeof c?r.textContent!==c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,t),o=["children",c]):"number"===typeof c&&r.textContent!==""+c&&(!0!==a.suppressHydrationWarning&&Zr(r.textContent,c,t),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":G(r),J(r,a,!0);break;case"textarea":G(r),at(r);break;case"select":case"option":break;default:"function"===typeof a.onClick&&(r.onclick=Jr)}r=o,e.updateQueue=r,null!==r&&(e.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===t&&(t=st(n)),"http://www.w3.org/1999/xhtml"===t?"script"===n?((t=l.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"===typeof r.is?t=l.createElement(n,{is:r.is}):(t=l.createElement(n),"select"===n&&(l=t,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):t=l.createElementNS(t,n),t[fo]=e,t[po]=r,Ts(t,e,!1,!1),e.stateNode=t;t:{switch(l=bt(n,r),n){case"dialog":Br("cancel",t),Br("close",t),o=r;break;case"iframe":case"object":case"embed":Br("load",t),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],t);o=r;break;case"source":Br("error",t),o=r;break;case"img":case"image":case"link":Br("error",t),Br("load",t),o=r;break;case"details":Br("toggle",t),o=r;break;case"input":X(t,r),o=$(t,r),Br("invalid",t);break;case"option":default:o=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},o=I({},r,{value:void 0}),Br("invalid",t);break;case"textarea":ot(t,r),o=rt(t,r),Br("invalid",t)}for(a in yt(n,o),c=o)if(c.hasOwnProperty(a)){var u=c[a];"style"===a?mt(t,u):"dangerouslySetInnerHTML"===a?null!=(u=u?u.__html:void 0)&&dt(t,u):"children"===a?"string"===typeof u?("textarea"!==n||""!==u)&&ht(t,u):"number"===typeof u&&ht(t,""+u):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=u&&"onScroll"===a&&Br("scroll",t):null!=u&&b(t,a,u,l))}switch(n){case"input":G(t),J(t,r,!1);break;case"textarea":G(t),at(t);break;case"option":null!=r.value&&t.setAttribute("value",""+U(r.value));break;case"select":t.multiple=!!r.multiple,null!=(a=r.value)?nt(t,!!r.multiple,a,!1):null!=r.defaultValue&&nt(t,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(t.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}}r&&(e.flags|=4)}null!==e.ref&&(e.flags|=512,e.flags|=2097152)}return Gs(e),null;case 6:if(t&&null!=e.stateNode)Ls(t,e,t.memoizedProps,r);else{if("string"!==typeof r&&null===e.stateNode)throw Error(i(166));if(n=$i(Ki.current),$i(Gi.current),hi(e)){if(r=e.stateNode,n=e.memoizedProps,r[fo]=e,(a=r.nodeValue!==n)&&null!==(t=ri))switch(t.tag){case 3:Zr(r.nodeValue,n,0!==(1&t.mode));break;case 5:!0!==t.memoizedProps.suppressHydrationWarning&&Zr(r.nodeValue,n,0!==(1&t.mode))}a&&(e.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fo]=e,e.stateNode=r}return Gs(e),null;case 13:if(Co(ta),r=e.memoizedState,null===t||null!==t.memoizedState&&null!==t.memoizedState.dehydrated){if(ii&&null!==oi&&0!==(1&e.mode)&&0===(128&e.flags))fi(),pi(),e.flags|=98560,a=!1;else if(a=hi(e),null!==r&&null!==r.dehydrated){if(null===t){if(!a)throw Error(i(318));if(!(a=null!==(a=e.memoizedState)?a.dehydrated:null))throw Error(i(317));a[fo]=e}else pi(),0===(128&e.flags)&&(e.memoizedState=null),e.flags|=4;Gs(e),a=!1}else null!==ai&&(ac(ai),ai=null),a=!0;if(!a)return 65536&e.flags?e:null}return 0!==(128&e.flags)?(e.lanes=n,e):((r=null!==r)!==(null!==t&&null!==t.memoizedState)&&r&&(e.child.flags|=8192,0!==(1&e.mode)&&(null===t||0!==(1&ta.current)?0===Ll&&(Ll=3):gc())),null!==e.updateQueue&&(e.flags|=4),Gs(e),null);case 4:return Qi(),Ns(t,e),null===t&&Vr(e.stateNode.containerInfo),Gs(e),null;case 10:return Oi(e.type._context),Gs(e),null;case 19:if(Co(ta),null===(a=e.memoizedState))return Gs(e),null;if(r=0!==(128&e.flags),null===(l=a.rendering))if(r)Ws(a,!1);else{if(0!==Ll||null!==t&&0!==(128&t.flags))for(t=e.child;null!==t;){if(null!==(l=ea(t))){for(e.flags|=128,Ws(a,!1),null!==(r=l.updateQueue)&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;null!==n;)t=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=t,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,t=l.dependencies,a.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Eo(ta,1&ta.current|2),e.child}t=t.sibling}null!==a.tail&&Qt()>Vl&&(e.flags|=128,r=!0,Ws(a,!1),e.lanes=4194304)}else{if(!r)if(null!==(t=ea(l))){if(e.flags|=128,r=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),Ws(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Gs(e),null}else 2*Qt()-a.renderingStartTime>Vl&&1073741824!==n&&(e.flags|=128,r=!0,Ws(a,!1),e.lanes=4194304);a.isBackwards?(l.sibling=e.child,e.child=l):(null!==(n=a.last)?n.sibling=l:e.child=l,a.last=l)}return null!==a.tail?(e=a.tail,a.rendering=e,a.tail=e.sibling,a.renderingStartTime=Qt(),e.sibling=null,n=ta.current,Eo(ta,r?1&n|2:1&n),e):(Gs(e),null);case 22:case 23:return dc(),r=null!==e.memoizedState,null!==t&&null!==t.memoizedState!==r&&(e.flags|=8192),r&&0!==(1&e.mode)?0!==(1073741824&Nl)&&(Gs(e),6&e.subtreeFlags&&(e.flags|=8192)):Gs(e),null;case 24:case 25:return null}throw Error(i(156,e.tag))}function Ks(t,e){switch(ni(e),e.tag){case 1:return Ro(e.type)&&Lo(),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return Qi(),Co(Mo),Co(Po),ra(),0!==(65536&(t=e.flags))&&0===(128&t)?(e.flags=-65537&t|128,e):null;case 5:return Ji(e),null;case 13:if(Co(ta),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(i(340));pi()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return Co(ta),null;case 4:return Qi(),null;case 10:return Oi(e.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ts=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ns=function(){},Rs=function(t,e,n,r){var o=t.memoizedProps;if(o!==r){t=e.stateNode,$i(Gi.current);var i,a=null;switch(n){case"input":o=$(t,o),r=$(t,r),a=[];break;case"select":o=I({},o,{value:void 0}),r=I({},r,{value:void 0}),a=[];break;case"textarea":o=rt(t,o),r=rt(t,r),a=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(t.onclick=Jr)}for(u in yt(n,r),n=null,o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?a||(a=[]):(a=a||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=o?o[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(i in l)!l.hasOwnProperty(i)||c&&c.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in c)c.hasOwnProperty(i)&&l[i]!==c[i]&&(n||(n={}),n[i]=c[i])}else n||(a||(a=[]),a.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(a=a||[]).push(u,c)):"children"===u?"string"!==typeof c&&"number"!==typeof c||(a=a||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Br("scroll",t),a||l===c||(a=[])):(a=a||[]).push(u,c))}n&&(a=a||[]).push("style",n);var u=a;(e.updateQueue=u)&&(e.flags|=4)}},Ls=function(t,e,n,r){n!==r&&(e.flags|=4)};var $s=!1,Xs=!1,Qs="function"===typeof WeakSet?WeakSet:Set,Zs=null;function Js(t,e){var n=t.ref;if(null!==n)if("function"===typeof n)try{n(null)}catch(r){_c(t,e,r)}else n.current=null}function tl(t,e,n){try{n()}catch(r){_c(t,e,r)}}var el=!1;function nl(t,e,n){var r=e.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&t)===t){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(e,n,i)}o=o.next}while(o!==r)}}function rl(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function ol(t){var e=t.ref;if(null!==e){var n=t.stateNode;t.tag,t=n,"function"===typeof e?e(t):e.current=t}}function il(t){var e=t.alternate;null!==e&&(t.alternate=null,il(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&(null!==(e=t.stateNode)&&(delete e[fo],delete e[po],delete e[mo],delete e[vo],delete e[yo])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function al(t){return 5===t.tag||3===t.tag||4===t.tag}function sl(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||al(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function ll(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!==(n=n._reactRootContainer)&&void 0!==n||null!==e.onclick||(e.onclick=Jr));else if(4!==r&&null!==(t=t.child))for(ll(t,e,n),t=t.sibling;null!==t;)ll(t,e,n),t=t.sibling}function cl(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(cl(t,e,n),t=t.sibling;null!==t;)cl(t,e,n),t=t.sibling}var ul=null,dl=!1;function hl(t,e,n){for(n=n.child;null!==n;)fl(t,e,n),n=n.sibling}function fl(t,e,n){if(ie&&"function"===typeof ie.onCommitFiberUnmount)try{ie.onCommitFiberUnmount(oe,n)}catch(s){}switch(n.tag){case 5:Xs||Js(n,e);case 6:var r=ul,o=dl;ul=null,hl(t,e,n),dl=o,null!==(ul=r)&&(dl?(t=ul,n=n.stateNode,8===t.nodeType?t.parentNode.removeChild(n):t.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(t=ul,n=n.stateNode,8===t.nodeType?lo(t.parentNode,n):1===t.nodeType&&lo(t,n),Ve(t)):lo(ul,n.stateNode));break;case 4:r=ul,o=dl,ul=n.stateNode.containerInfo,dl=!0,hl(t,e,n),ul=r,dl=o;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!==(2&i)||0!==(4&i))&&tl(n,e,a),o=o.next}while(o!==r)}hl(t,e,n);break;case 1:if(!Xs&&(Js(n,e),"function"===typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){_c(n,e,s)}hl(t,e,n);break;case 21:hl(t,e,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,hl(t,e,n),Xs=r):hl(t,e,n);break;default:hl(t,e,n)}}function pl(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new Qs),e.forEach(function(e){var r=Oc.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))})}}function gl(t,e){var n=e.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=t,s=e,l=s;t:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break t;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break t}l=l.return}if(null===ul)throw Error(i(160));fl(a,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(u){_c(o,e,u)}}if(12854&e.subtreeFlags)for(e=e.child;null!==e;)ml(e,t),e=e.sibling}function ml(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(gl(e,t),vl(t),4&r){try{nl(3,t,t.return),rl(3,t)}catch(m){_c(t,t.return,m)}try{nl(5,t,t.return)}catch(m){_c(t,t.return,m)}}break;case 1:gl(e,t),vl(t),512&r&&null!==n&&Js(n,n.return);break;case 5:if(gl(e,t),vl(t),512&r&&null!==n&&Js(n,n.return),32&t.flags){var o=t.stateNode;try{ht(o,"")}catch(m){_c(t,t.return,m)}}if(4&r&&null!=(o=t.stateNode)){var a=t.memoizedProps,s=null!==n?n.memoizedProps:a,l=t.type,c=t.updateQueue;if(t.updateQueue=null,null!==c)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),bt(l,s);var u=bt(l,a);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?mt(o,h):"dangerouslySetInnerHTML"===d?dt(o,h):"children"===d?ht(o,h):b(o,d,h,u)}switch(l){case"input":Z(o,a);break;case"textarea":it(o,a);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var p=a.value;null!=p?nt(o,!!a.multiple,p,!1):f!==!!a.multiple&&(null!=a.defaultValue?nt(o,!!a.multiple,a.defaultValue,!0):nt(o,!!a.multiple,a.multiple?[]:"",!1))}o[po]=a}catch(m){_c(t,t.return,m)}}break;case 6:if(gl(e,t),vl(t),4&r){if(null===t.stateNode)throw Error(i(162));o=t.stateNode,a=t.memoizedProps;try{o.nodeValue=a}catch(m){_c(t,t.return,m)}}break;case 3:if(gl(e,t),vl(t),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ve(e.containerInfo)}catch(m){_c(t,t.return,m)}break;case 4:default:gl(e,t),vl(t);break;case 13:gl(e,t),vl(t),8192&(o=t.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hl=Qt())),4&r&&pl(t);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&t.mode?(Xs=(u=Xs)||d,gl(e,t),Xs=u):gl(e,t),vl(t),8192&r){if(u=null!==t.memoizedState,(t.stateNode.isHidden=u)&&!d&&0!==(1&t.mode))for(Zs=t,d=t.child;null!==d;){for(h=Zs=d;null!==Zs;){switch(p=(f=Zs).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Js(f,f.return);var g=f.stateNode;if("function"===typeof g.componentWillUnmount){r=f,n=f.return;try{e=r,g.props=e.memoizedProps,g.state=e.memoizedState,g.componentWillUnmount()}catch(m){_c(r,n,m)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){wl(h);continue}}null!==p?(p.return=f,Zs=p):wl(h)}d=d.sibling}t:for(d=null,h=t;;){if(5===h.tag){if(null===d){d=h;try{o=h.stateNode,u?"function"===typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=h.stateNode,s=void 0!==(c=h.memoizedProps.style)&&null!==c&&c.hasOwnProperty("display")?c.display:null,l.style.display=gt("display",s))}catch(m){_c(t,t.return,m)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(m){_c(t,t.return,m)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===t)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===t)break t;for(;null===h.sibling;){if(null===h.return||h.return===t)break t;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:gl(e,t),vl(t),4&r&&pl(t);case 21:}}function vl(t){var e=t.flags;if(2&e){try{t:{for(var n=t.return;null!==n;){if(al(n)){var r=n;break t}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(ht(o,""),r.flags&=-33),cl(t,sl(t),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ll(t,sl(t),a);break;default:throw Error(i(161))}}catch(s){_c(t,t.return,s)}t.flags&=-3}4096&e&&(t.flags&=-4097)}function yl(t,e,n){Zs=t,bl(t,e,n)}function bl(t,e,n){for(var r=0!==(1&t.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||$s;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=$s;var c=Xs;if($s=a,(Xs=l)&&!c)for(Zs=o;null!==Zs;)l=(a=Zs).child,22===a.tag&&null!==a.memoizedState?kl(o):null!==l?(l.return=a,Zs=l):kl(o);for(;null!==i;)Zs=i,bl(i,e,n),i=i.sibling;Zs=o,$s=s,Xs=c}xl(t)}else 0!==(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zs=i):xl(t)}}function xl(t){for(;null!==Zs;){var e=Zs;if(0!==(8772&e.flags)){var n=e.alternate;try{if(0!==(8772&e.flags))switch(e.tag){case 0:case 11:case 15:Xs||rl(5,e);break;case 1:var r=e.stateNode;if(4&e.flags&&!Xs)if(null===n)r.componentDidMount();else{var o=e.elementType===e.type?n.memoizedProps:ns(e.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=e.updateQueue;null!==a&&Ui(e,a,r);break;case 3:var s=e.updateQueue;if(null!==s){if(n=null,null!==e.child)switch(e.child.tag){case 5:case 1:n=e.child.stateNode}Ui(e,s,n)}break;case 5:var l=e.stateNode;if(null===n&&4&e.flags){n=l;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===e.memoizedState){var u=e.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Ve(h)}}}break;default:throw Error(i(163))}Xs||512&e.flags&&ol(e)}catch(f){_c(e,e.return,f)}}if(e===t){Zs=null;break}if(null!==(n=e.sibling)){n.return=e.return,Zs=n;break}Zs=e.return}}function wl(t){for(;null!==Zs;){var e=Zs;if(e===t){Zs=null;break}var n=e.sibling;if(null!==n){n.return=e.return,Zs=n;break}Zs=e.return}}function kl(t){for(;null!==Zs;){var e=Zs;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{rl(4,e)}catch(l){_c(e,n,l)}break;case 1:var r=e.stateNode;if("function"===typeof r.componentDidMount){var o=e.return;try{r.componentDidMount()}catch(l){_c(e,o,l)}}var i=e.return;try{ol(e)}catch(l){_c(e,i,l)}break;case 5:var a=e.return;try{ol(e)}catch(l){_c(e,a,l)}}}catch(l){_c(e,e.return,l)}if(e===t){Zs=null;break}var s=e.sibling;if(null!==s){s.return=e.return,Zs=s;break}Zs=e.return}}var Al,_l=Math.ceil,Sl=x.ReactCurrentDispatcher,Cl=x.ReactCurrentOwner,El=x.ReactCurrentBatchConfig,Ol=0,Pl=null,Ml=null,Tl=0,Nl=0,Rl=So(0),Ll=0,Dl=null,jl=0,Il=0,zl=0,Bl=null,Fl=null,Hl=0,Vl=1/0,ql=null,Ul=!1,Wl=null,Gl=null,Yl=!1,Kl=null,$l=0,Xl=0,Ql=null,Zl=-1,Jl=0;function tc(){return 0!==(6&Ol)?Qt():-1!==Zl?Zl:Zl=Qt()}function ec(t){return 0===(1&t.mode)?1:0!==(2&Ol)&&0!==Tl?Tl&-Tl:null!==mi.transition?(0===Jl&&(Jl=ge()),Jl):0!==(t=be)?t:t=void 0===(t=window.event)?16:Xe(t.type)}function nc(t,e,n,r){if(50<Xl)throw Xl=0,Ql=null,Error(i(185));ve(t,n,r),0!==(2&Ol)&&t===Pl||(t===Pl&&(0===(2&Ol)&&(Il|=n),4===Ll&&sc(t,Tl)),rc(t,r),1===n&&0===Ol&&0===(1&e.mode)&&(Vl=Qt()+500,Fo&&qo()))}function rc(t,e){var n=t.callbackNode;!function(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,o=t.expirationTimes,i=t.pendingLanes;0<i;){var a=31-ae(i),s=1<<a,l=o[a];-1===l?0!==(s&n)&&0===(s&r)||(o[a]=fe(s,e)):l<=e&&(t.expiredLanes|=s),i&=~s}}(t,e);var r=he(t,t===Pl?Tl:0);if(0===r)null!==n&&Kt(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(null!=n&&Kt(n),1===e)0===t.tag?function(t){Fo=!0,Vo(t)}(lc.bind(null,t)):Vo(lc.bind(null,t)),ao(function(){0===(6&Ol)&&qo()}),n=null;else{switch(xe(r)){case 1:n=Jt;break;case 4:n=te;break;case 16:default:n=ee;break;case 536870912:n=re}n=Pc(n,oc.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function oc(t,e){if(Zl=-1,Jl=0,0!==(6&Ol))throw Error(i(327));var n=t.callbackNode;if(kc()&&t.callbackNode!==n)return null;var r=he(t,t===Pl?Tl:0);if(0===r)return null;if(0!==(30&r)||0!==(r&t.expiredLanes)||e)e=mc(t,r);else{e=r;var o=Ol;Ol|=2;var a=pc();for(Pl===t&&Tl===e||(ql=null,Vl=Qt()+500,hc(t,e));;)try{yc();break}catch(l){fc(t,l)}Ei(),Sl.current=a,Ol=o,null!==Ml?e=0:(Pl=null,Tl=0,e=Ll)}if(0!==e){if(2===e&&(0!==(o=pe(t))&&(r=o,e=ic(t,o))),1===e)throw n=Dl,hc(t,0),sc(t,r),rc(t,Qt()),n;if(6===e)sc(t,r);else{if(o=t.current.alternate,0===(30&r)&&!function(t){for(var e=t;;){if(16384&e.flags){var n=e.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(s){return!1}}}if(n=e.child,16384&e.subtreeFlags&&null!==n)n.return=e,e=n;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}(o)&&(2===(e=mc(t,r))&&(0!==(a=pe(t))&&(r=a,e=ic(t,a))),1===e))throw n=Dl,hc(t,0),sc(t,r),rc(t,Qt()),n;switch(t.finishedWork=o,t.finishedLanes=r,e){case 0:case 1:throw Error(i(345));case 2:case 5:wc(t,Fl,ql);break;case 3:if(sc(t,r),(130023424&r)===r&&10<(e=Hl+500-Qt())){if(0!==he(t,0))break;if(((o=t.suspendedLanes)&r)!==r){tc(),t.pingedLanes|=t.suspendedLanes&o;break}t.timeoutHandle=ro(wc.bind(null,t,Fl,ql),e);break}wc(t,Fl,ql);break;case 4:if(sc(t,r),(4194240&r)===r)break;for(e=t.eventTimes,o=-1;0<r;){var s=31-ae(r);a=1<<s,(s=e[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*_l(r/1960))-r)){t.timeoutHandle=ro(wc.bind(null,t,Fl,ql),r);break}wc(t,Fl,ql);break;default:throw Error(i(329))}}}return rc(t,Qt()),t.callbackNode===n?oc.bind(null,t):null}function ic(t,e){var n=Bl;return t.current.memoizedState.isDehydrated&&(hc(t,e).flags|=256),2!==(t=mc(t,e))&&(e=Fl,Fl=n,null!==e&&ac(e)),t}function ac(t){null===Fl?Fl=t:Fl.push.apply(Fl,t)}function sc(t,e){for(e&=~zl,e&=~Il,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-ae(e),r=1<<n;t[n]=-1,e&=~r}}function lc(t){if(0!==(6&Ol))throw Error(i(327));kc();var e=he(t,0);if(0===(1&e))return rc(t,Qt()),null;var n=mc(t,e);if(0!==t.tag&&2===n){var r=pe(t);0!==r&&(e=r,n=ic(t,r))}if(1===n)throw n=Dl,hc(t,0),sc(t,e),rc(t,Qt()),n;if(6===n)throw Error(i(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,wc(t,Fl,ql),rc(t,Qt()),null}function cc(t,e){var n=Ol;Ol|=1;try{return t(e)}finally{0===(Ol=n)&&(Vl=Qt()+500,Fo&&qo())}}function uc(t){null!==Kl&&0===Kl.tag&&0===(6&Ol)&&kc();var e=Ol;Ol|=1;var n=El.transition,r=be;try{if(El.transition=null,be=1,t)return t()}finally{be=r,El.transition=n,0===(6&(Ol=e))&&qo()}}function dc(){Nl=Rl.current,Co(Rl)}function hc(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,oo(n)),null!==Ml)for(n=Ml.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&Lo();break;case 3:Qi(),Co(Mo),Co(Po),ra();break;case 5:Ji(r);break;case 4:Qi();break;case 13:case 19:Co(ta);break;case 10:Oi(r.type._context);break;case 22:case 23:dc()}n=n.return}if(Pl=t,Ml=t=Rc(t.current,null),Tl=Nl=e,Ll=0,Dl=null,zl=Il=jl=0,Fl=Bl=null,null!==Ni){for(e=0;e<Ni.length;e++)if(null!==(r=(n=Ni[e]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ni=null}return t}function fc(t,e){for(;;){var n=Ml;try{if(Ei(),oa.current=Za,ua){for(var r=sa.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ua=!1}if(aa=0,ca=la=sa=null,da=!1,ha=0,Cl.current=null,null===n||null===n.return){Ll=1,Dl=e,Ml=null;break}t:{var a=t,s=n.return,l=n,c=e;if(e=Tl,l.flags|=32768,null!==c&&"object"===typeof c&&"function"===typeof c.then){var u=c,d=l,h=d.tag;if(0===(1&d.mode)&&(0===h||11===h||15===h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=ms(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,e),1&p.mode&&gs(a,u,e),c=u;var g=(e=p).updateQueue;if(null===g){var m=new Set;m.add(c),e.updateQueue=m}else g.add(c);break t}if(0===(1&e)){gs(a,u,e),gc();break t}c=Error(i(426))}else if(ii&&1&l.mode){var v=ms(s);if(null!==v){0===(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,e),gi(cs(c,l));break t}}a=c=cs(c,l),4!==Ll&&(Ll=2),null===Bl?Bl=[a]:Bl.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,e&=-e,a.lanes|=e,Vi(a,fs(0,c,e));break t;case 1:l=c;var y=a.type,b=a.stateNode;if(0===(128&a.flags)&&("function"===typeof y.getDerivedStateFromError||null!==b&&"function"===typeof b.componentDidCatch&&(null===Gl||!Gl.has(b)))){a.flags|=65536,e&=-e,a.lanes|=e,Vi(a,ps(a,l,e));break t}}a=a.return}while(null!==a)}xc(n)}catch(x){e=x,Ml===n&&null!==n&&(Ml=n=n.return);continue}break}}function pc(){var t=Sl.current;return Sl.current=Za,null===t?Za:t}function gc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===Pl||0===(268435455&jl)&&0===(268435455&Il)||sc(Pl,Tl)}function mc(t,e){var n=Ol;Ol|=2;var r=pc();for(Pl===t&&Tl===e||(ql=null,hc(t,e));;)try{vc();break}catch(o){fc(t,o)}if(Ei(),Ol=n,Sl.current=r,null!==Ml)throw Error(i(261));return Pl=null,Tl=0,Ll}function vc(){for(;null!==Ml;)bc(Ml)}function yc(){for(;null!==Ml&&!$t();)bc(Ml)}function bc(t){var e=Al(t.alternate,t,Nl);t.memoizedProps=t.pendingProps,null===e?xc(t):Ml=e,Cl.current=null}function xc(t){var e=t;do{var n=e.alternate;if(t=e.return,0===(32768&e.flags)){if(null!==(n=Ys(n,e,Nl)))return void(Ml=n)}else{if(null!==(n=Ks(n,e)))return n.flags&=32767,void(Ml=n);if(null===t)return Ll=6,void(Ml=null);t.flags|=32768,t.subtreeFlags=0,t.deletions=null}if(null!==(e=e.sibling))return void(Ml=e);Ml=e=t}while(null!==e);0===Ll&&(Ll=5)}function wc(t,e,n){var r=be,o=El.transition;try{El.transition=null,be=1,function(t,e,n,r){do{kc()}while(null!==Kl);if(0!==(6&Ol))throw Error(i(327));n=t.finishedWork;var o=t.finishedLanes;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(i(177));t.callbackNode=null,t.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var o=31-ae(n),i=1<<o;e[o]=0,r[o]=-1,t[o]=-1,n&=~i}}(t,a),t===Pl&&(Ml=Pl=null,Tl=0),0===(2064&n.subtreeFlags)&&0===(2064&n.flags)||Yl||(Yl=!0,Pc(ee,function(){return kc(),null})),a=0!==(15990&n.flags),0!==(15990&n.subtreeFlags)||a){a=El.transition,El.transition=null;var s=be;be=1;var l=Ol;Ol|=4,Cl.current=null,function(t,e){if(to=Ue,fr(t=hr())){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{var r=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(w){n=null;break t}var s=0,l=-1,c=-1,u=0,d=0,h=t,f=null;e:for(;;){for(var p;h!==n||0!==o&&3!==h.nodeType||(l=s+o),h!==a||0!==r&&3!==h.nodeType||(c=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===t)break e;if(f===n&&++u===o&&(l=s),f===a&&++d===r&&(c=s),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(eo={focusedElem:t,selectionRange:n},Ue=!1,Zs=e;null!==Zs;)if(t=(e=Zs).child,0!==(1028&e.subtreeFlags)&&null!==t)t.return=e,Zs=t;else for(;null!==Zs;){e=Zs;try{var g=e.alternate;if(0!==(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var m=g.memoizedProps,v=g.memoizedState,y=e.stateNode,b=y.getSnapshotBeforeUpdate(e.elementType===e.type?m:ns(e.type,m),v);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var x=e.stateNode.containerInfo;1===x.nodeType?x.textContent="":9===x.nodeType&&x.documentElement&&x.removeChild(x.documentElement);break;default:throw Error(i(163))}}catch(w){_c(e,e.return,w)}if(null!==(t=e.sibling)){t.return=e.return,Zs=t;break}Zs=e.return}g=el,el=!1}(t,n),ml(n,t),pr(eo),Ue=!!to,eo=to=null,t.current=n,yl(n,t,o),Xt(),Ol=l,be=s,El.transition=a}else t.current=n;if(Yl&&(Yl=!1,Kl=t,$l=o),a=t.pendingLanes,0===a&&(Gl=null),function(t){if(ie&&"function"===typeof ie.onCommitFiberRoot)try{ie.onCommitFiberRoot(oe,t,void 0,128===(128&t.current.flags))}catch(e){}}(n.stateNode),rc(t,Qt()),null!==e)for(r=t.onRecoverableError,n=0;n<e.length;n++)o=e[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Ul)throw Ul=!1,t=Wl,Wl=null,t;0!==(1&$l)&&0!==t.tag&&kc(),a=t.pendingLanes,0!==(1&a)?t===Ql?Xl++:(Xl=0,Ql=t):Xl=0,qo()}(t,e,n,r)}finally{El.transition=o,be=r}return null}function kc(){if(null!==Kl){var t=xe($l),e=El.transition,n=be;try{if(El.transition=null,be=16>t?16:t,null===Kl)var r=!1;else{if(t=Kl,Kl=null,$l=0,0!==(6&Ol))throw Error(i(331));var o=Ol;for(Ol|=4,Zs=t.current;null!==Zs;){var a=Zs,s=a.child;if(0!==(16&Zs.flags)){var l=a.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Zs=u;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:nl(8,d,a)}var h=d.child;if(null!==h)h.return=d,Zs=h;else for(;null!==Zs;){var f=(d=Zs).sibling,p=d.return;if(il(d),d===u){Zs=null;break}if(null!==f){f.return=p,Zs=f;break}Zs=p}}}var g=a.alternate;if(null!==g){var m=g.child;if(null!==m){g.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Zs=a}}if(0!==(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else t:for(;null!==Zs;){if(0!==(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:nl(9,a,a.return)}var y=a.sibling;if(null!==y){y.return=a.return,Zs=y;break t}Zs=a.return}}var b=t.current;for(Zs=b;null!==Zs;){var x=(s=Zs).child;if(0!==(2064&s.subtreeFlags)&&null!==x)x.return=s,Zs=x;else t:for(s=b;null!==Zs;){if(0!==(2048&(l=Zs).flags))try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(k){_c(l,l.return,k)}if(l===s){Zs=null;break t}var w=l.sibling;if(null!==w){w.return=l.return,Zs=w;break t}Zs=l.return}}if(Ol=o,qo(),ie&&"function"===typeof ie.onPostCommitFiberRoot)try{ie.onPostCommitFiberRoot(oe,t)}catch(k){}r=!0}return r}finally{be=n,El.transition=e}}return!1}function Ac(t,e,n){t=Fi(t,e=fs(0,e=cs(n,e),1),1),e=tc(),null!==t&&(ve(t,1,e),rc(t,e))}function _c(t,e,n){if(3===t.tag)Ac(t,t,n);else for(;null!==e;){if(3===e.tag){Ac(e,t,n);break}if(1===e.tag){var r=e.stateNode;if("function"===typeof e.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Gl||!Gl.has(r))){e=Fi(e,t=ps(e,t=cs(n,t),1),1),t=tc(),null!==e&&(ve(e,1,t),rc(e,t));break}}e=e.return}}function Sc(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=tc(),t.pingedLanes|=t.suspendedLanes&n,Pl===t&&(Tl&n)===n&&(4===Ll||3===Ll&&(130023424&Tl)===Tl&&500>Qt()-Hl?hc(t,0):zl|=n),rc(t,e)}function Cc(t,e){0===e&&(0===(1&t.mode)?e=1:(e=ue,0===(130023424&(ue<<=1))&&(ue=4194304)));var n=tc();null!==(t=Di(t,e))&&(ve(t,e,n),rc(t,n))}function Ec(t){var e=t.memoizedState,n=0;null!==e&&(n=e.retryLane),Cc(t,n)}function Oc(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,o=t.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(e),Cc(t,n)}function Pc(t,e){return Yt(t,e)}function Mc(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Tc(t,e,n,r){return new Mc(t,e,n,r)}function Nc(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Rc(t,e){var n=t.alternate;return null===n?((n=Tc(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Lc(t,e,n,r,o,a){var s=2;if(r=t,"function"===typeof t)Nc(t)&&(s=1);else if("string"===typeof t)s=5;else t:switch(t){case A:return Dc(n.children,o,a,e);case _:s=8,o|=8;break;case S:return(t=Tc(12,n,e,2|o)).elementType=S,t.lanes=a,t;case P:return(t=Tc(13,n,e,o)).elementType=P,t.lanes=a,t;case M:return(t=Tc(19,n,e,o)).elementType=M,t.lanes=a,t;case R:return jc(n,o,a,e);default:if("object"===typeof t&&null!==t)switch(t.$$typeof){case C:s=10;break t;case E:s=9;break t;case O:s=11;break t;case T:s=14;break t;case N:s=16,r=null;break t}throw Error(i(130,null==t?t:typeof t,""))}return(e=Tc(s,n,e,o)).elementType=t,e.type=r,e.lanes=a,e}function Dc(t,e,n,r){return(t=Tc(7,t,r,e)).lanes=n,t}function jc(t,e,n,r){return(t=Tc(22,t,r,e)).elementType=R,t.lanes=n,t.stateNode={isHidden:!1},t}function Ic(t,e,n){return(t=Tc(6,t,null,e)).lanes=n,t}function zc(t,e,n){return(e=Tc(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Bc(t,e,n,r,o){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=me(0),this.expirationTimes=me(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=me(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Fc(t,e,n,r,o,i,a,s,l){return t=new Bc(t,e,n,s,l),1===e?(e=1,!0===i&&(e|=8)):e=0,i=Tc(3,null,null,e),t.current=i,i.stateNode=t,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ii(i),t}function Hc(t){if(!t)return Oo;t:{if(Vt(t=t._reactInternals)!==t||1!==t.tag)throw Error(i(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(Ro(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(null!==e);throw Error(i(171))}if(1===t.tag){var n=t.type;if(Ro(n))return jo(t,n,e)}return e}function Vc(t,e,n,r,o,i,a,s,l){return(t=Fc(n,r,!0,t,0,i,0,s,l)).context=Hc(null),n=t.current,(i=Bi(r=tc(),o=ec(n))).callback=void 0!==e&&null!==e?e:null,Fi(n,i,o),t.current.lanes=o,ve(t,o,r),rc(t,r),t}function qc(t,e,n,r){var o=e.current,i=tc(),a=ec(o);return n=Hc(n),null===e.context?e.context=n:e.pendingContext=n,(e=Bi(i,a)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),null!==(t=Fi(o,e,a))&&(nc(t,o,a,i),Hi(t,o,a)),a}function Uc(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function Wc(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function Gc(t,e){Wc(t,e),(t=t.alternate)&&Wc(t,e)}Al=function(t,e,n){if(null!==t)if(t.memoizedProps!==e.pendingProps||Mo.current)bs=!0;else{if(0===(t.lanes&n)&&0===(128&e.flags))return bs=!1,function(t,e,n){switch(e.tag){case 3:Ps(e),pi();break;case 5:Zi(e);break;case 1:Ro(e.type)&&Io(e);break;case 4:Xi(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,o=e.memoizedProps.value;Eo(Ai,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=e.memoizedState))return null!==r.dehydrated?(Eo(ta,1&ta.current),e.flags|=128,null):0!==(n&e.child.childLanes)?Is(t,e,n):(Eo(ta,1&ta.current),null!==(t=Us(t,e,n))?t.sibling:null);Eo(ta,1&ta.current);break;case 19:if(r=0!==(n&e.childLanes),0!==(128&t.flags)){if(r)return Vs(t,e,n);e.flags|=128}if(null!==(o=e.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Eo(ta,ta.current),r)break;return null;case 22:case 23:return e.lanes=0,_s(t,e,n)}return Us(t,e,n)}(t,e,n);bs=0!==(131072&t.flags)}else bs=!1,ii&&0!==(1048576&e.flags)&&ti(e,Yo,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;qs(t,e),t=e.pendingProps;var o=No(e,Po.current);Mi(e,n),o=ma(null,e,r,t,o,n);var a=va();return e.flags|=1,"object"===typeof o&&null!==o&&"function"===typeof o.render&&void 0===o.$$typeof?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Ro(r)?(a=!0,Io(e)):a=!1,e.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ii(e),o.updater=os,e.stateNode=o,o._reactInternals=e,ls(e,r,t,n),e=Os(null,e,r,!0,a,n)):(e.tag=0,ii&&a&&ei(e),xs(null,e,o,n),e=e.child),e;case 16:r=e.elementType;t:{switch(qs(t,e),t=e.pendingProps,r=(o=r._init)(r._payload),e.type=r,o=e.tag=function(t){if("function"===typeof t)return Nc(t)?1:0;if(void 0!==t&&null!==t){if((t=t.$$typeof)===O)return 11;if(t===T)return 14}return 2}(r),t=ns(r,t),o){case 0:e=Cs(null,e,r,t,n);break t;case 1:e=Es(null,e,r,t,n);break t;case 11:e=ws(null,e,r,t,n);break t;case 14:e=ks(null,e,r,ns(r.type,t),n);break t}throw Error(i(306,r,""))}return e;case 0:return r=e.type,o=e.pendingProps,Cs(t,e,r,o=e.elementType===r?o:ns(r,o),n);case 1:return r=e.type,o=e.pendingProps,Es(t,e,r,o=e.elementType===r?o:ns(r,o),n);case 3:t:{if(Ps(e),null===t)throw Error(i(387));r=e.pendingProps,o=(a=e.memoizedState).element,zi(t,e),qi(e,r,null,n);var s=e.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=a,e.memoizedState=a,256&e.flags){e=Ms(t,e,r,n,o=cs(Error(i(423)),e));break t}if(r!==o){e=Ms(t,e,r,n,o=cs(Error(i(424)),e));break t}for(oi=co(e.stateNode.containerInfo.firstChild),ri=e,ii=!0,ai=null,n=ki(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(pi(),r===o){e=Us(t,e,n);break t}xs(t,e,r,n)}e=e.child}return e;case 5:return Zi(e),null===t&&ui(e),r=e.type,o=e.pendingProps,a=null!==t?t.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(e.flags|=32),Ss(t,e),xs(t,e,s,n),e.child;case 6:return null===t&&ui(e),null;case 13:return Is(t,e,n);case 4:return Xi(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=wi(e,null,r,n):xs(t,e,r,n),e.child;case 11:return r=e.type,o=e.pendingProps,ws(t,e,r,o=e.elementType===r?o:ns(r,o),n);case 7:return xs(t,e,e.pendingProps,n),e.child;case 8:case 12:return xs(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,o=e.pendingProps,a=e.memoizedProps,s=o.value,Eo(Ai,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Mo.current){e=Us(t,e,n);break t}}else for(null!==(a=e.child)&&(a.return=e);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===a.tag){(c=Bi(-1,n&-n)).tag=2;var u=a.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}a.lanes|=n,null!==(c=a.alternate)&&(c.lanes|=n),Pi(a.return,n,e),l.lanes|=n;break}c=c.next}}else if(10===a.tag)s=a.type===e.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Pi(s,n,e),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===e){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}xs(t,e,o.children,n),e=e.child}return e;case 9:return o=e.type,r=e.pendingProps.children,Mi(e,n),r=r(o=Ti(o)),e.flags|=1,xs(t,e,r,n),e.child;case 14:return o=ns(r=e.type,e.pendingProps),ks(t,e,r,o=ns(r.type,o),n);case 15:return As(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,o=e.pendingProps,o=e.elementType===r?o:ns(r,o),qs(t,e),e.tag=1,Ro(r)?(t=!0,Io(e)):t=!1,Mi(e,n),as(e,r,o),ls(e,r,o,n),Os(null,e,r,!0,t,n);case 19:return Vs(t,e,n);case 22:return _s(t,e,n)}throw Error(i(156,e.tag))};var Yc="function"===typeof reportError?reportError:function(t){console.error(t)};function Kc(t){this._internalRoot=t}function $c(t){this._internalRoot=t}function Xc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function Qc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Zc(){}function Jc(t,e,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"===typeof o){var s=o;o=function(){var t=Uc(a);s.call(t)}}qc(e,a,t,o)}else a=function(t,e,n,r,o){if(o){if("function"===typeof r){var i=r;r=function(){var t=Uc(a);i.call(t)}}var a=Vc(e,r,t,0,null,!1,0,"",Zc);return t._reactRootContainer=a,t[go]=a.current,Vr(8===t.nodeType?t.parentNode:t),uc(),a}for(;o=t.lastChild;)t.removeChild(o);if("function"===typeof r){var s=r;r=function(){var t=Uc(l);s.call(t)}}var l=Fc(t,0,!1,null,0,!1,0,"",Zc);return t._reactRootContainer=l,t[go]=l.current,Vr(8===t.nodeType?t.parentNode:t),uc(function(){qc(e,l,n,r)}),l}(n,e,t,o,r);return Uc(a)}$c.prototype.render=Kc.prototype.render=function(t){var e=this._internalRoot;if(null===e)throw Error(i(409));qc(t,e,null,null)},$c.prototype.unmount=Kc.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var e=t.containerInfo;uc(function(){qc(null,t,null,null)}),e[go]=null}},$c.prototype.unstable_scheduleHydration=function(t){if(t){var e=_e();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Re.length&&0!==e&&e<Re[n].priority;n++);Re.splice(n,0,t),0===n&&Ie(t)}},we=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=de(e.pendingLanes);0!==n&&(ye(e,1|n),rc(e,Qt()),0===(6&Ol)&&(Vl=Qt()+500,qo()))}break;case 13:uc(function(){var e=Di(t,1);if(null!==e){var n=tc();nc(e,t,1,n)}}),Gc(t,1)}},ke=function(t){if(13===t.tag){var e=Di(t,134217728);if(null!==e)nc(e,t,134217728,tc());Gc(t,134217728)}},Ae=function(t){if(13===t.tag){var e=ec(t),n=Di(t,e);if(null!==n)nc(n,t,e,tc());Gc(t,e)}},_e=function(){return be},Se=function(t,e){var n=be;try{return be=t,e()}finally{be=n}},kt=function(t,e,n){switch(e){case"input":if(Z(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var o=ko(r);if(!o)throw Error(i(90));Y(r),Z(r,o)}}}break;case"textarea":it(t,n);break;case"select":null!=(e=n.value)&&nt(t,!!n.multiple,e,!1)}},Ot=cc,Pt=uc;var tu={usingClientEntryPoint:!1,Events:[xo,wo,ko,Ct,Et,cc]},eu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:eu.bundleType,version:eu.version,rendererPackageName:eu.rendererPackageName,rendererConfig:eu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Wt(t))?null:t.stateNode},findFiberByHostInstance:eu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{oe=ru.inject(nu),ie=ru}catch(ut){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tu,e.createPortal=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(e))throw Error(i(200));return function(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}(t,e,null,n)},e.createRoot=function(t,e){if(!Xc(t))throw Error(i(299));var n=!1,r="",o=Yc;return null!==e&&void 0!==e&&(!0===e.unstable_strictMode&&(n=!0),void 0!==e.identifierPrefix&&(r=e.identifierPrefix),void 0!==e.onRecoverableError&&(o=e.onRecoverableError)),e=Fc(t,1,!1,null,0,n,0,r,o),t[go]=e.current,Vr(8===t.nodeType?t.parentNode:t),new Kc(e)},e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"===typeof t.render)throw Error(i(188));throw t=Object.keys(t).join(","),Error(i(268,t))}return t=null===(t=Wt(e))?null:t.stateNode},e.flushSync=function(t){return uc(t)},e.hydrate=function(t,e,n){if(!Qc(e))throw Error(i(200));return Jc(null,t,e,!0,n)},e.hydrateRoot=function(t,e,n){if(!Xc(t))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Yc;if(null!==n&&void 0!==n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),e=Vc(e,null,t,1,null!=n?n:null,o,0,a,s),t[go]=e.current,Vr(t),r)for(t=0;t<r.length;t++)o=(o=(n=r[t])._getVersion)(n._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[n,o]:e.mutableSourceEagerHydrationData.push(n,o);return new $c(e)},e.render=function(t,e,n){if(!Qc(e))throw Error(i(200));return Jc(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!Qc(t))throw Error(i(40));return!!t._reactRootContainer&&(uc(function(){Jc(null,null,t,!1,function(){t._reactRootContainer=null,t[go]=null})}),!0)},e.unstable_batchedUpdates=cc,e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Qc(n))throw Error(i(200));if(null==t||void 0===t._reactInternals)throw Error(i(38));return Jc(t,e,n,!1,r)},e.version="18.3.1-next-f1338f8080-20240426"},82846:(t,e,n)=>{"use strict";n.d(e,{A:()=>N});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(72157),l=n(9957),c=n(96870),u=n(27265),d=n(13240);const h=()=>"undefined"!==typeof window;const f=t=>h()&&t.test(function(){var t;const e=navigator.userAgentData;return null!==(t=null===e||void 0===e?void 0:e.platform)&&void 0!==t?t:navigator.platform}()),p=()=>{return f(/mac|iphone|ipad|ipod/i)&&(t=/apple/i,h()&&t.test(navigator.vendor));var t};var g=n(83804),m=n(81401),v=n(43194),y=n(84444),b=n(23107),x=n(86219),w=n(65043),k=n(61992),A=n(83818);const _=["closeOnBlur","closeOnEsc","initialFocusRef","id","returnFocusOnClose","autoFocus","arrowSize","arrowShadowColor","trigger","openDelay","closeDelay","isLazy","lazyBehavior","computePositionOnMount"],S={click:"click",hover:"hover"};function C(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{closeOnBlur:e=!0,closeOnEsc:n=!0,initialFocusRef:i,id:a,returnFocusOnClose:s=!0,autoFocus:l=!0,arrowSize:h,arrowShadowColor:f,trigger:C=S.click,openDelay:P=200,closeDelay:M=200,isLazy:T,lazyBehavior:N="unmount",computePositionOnMount:R}=t,L=(0,o.A)(t,_),{isOpen:D,onClose:j,onOpen:I,onToggle:z}=(0,c.j)(t),[B,F]=(0,w.useState)(s);(0,w.useEffect)(()=>F(s),[s]);const H=(0,w.useRef)(null),V=(0,w.useRef)(null),q=(0,w.useRef)(null),U=(0,w.useRef)(!1),W=(0,w.useRef)(!1);D&&(W.current=!0);const[G,Y]=(0,w.useState)(!1),[K,$]=(0,w.useState)(!1),X=(0,w.useId)(),Q=null!==a&&void 0!==a?a:X,[Z,J,tt,et]=["popover-trigger","popover-content","popover-header","popover-body"].map(t=>"".concat(t,"-").concat(Q)),{referenceRef:nt,getArrowProps:rt,getPopperProps:ot,getArrowInnerProps:it,forceUpdate:at}=(0,k.E)((0,r.A)((0,r.A)({},L),{},{enabled:D||!!R})),st=(0,u.v)({isOpen:D,ref:q});!function(t){const{ref:e,elements:n,enabled:r}=t,o=()=>{var t,n;return null!==(t=null===(n=e.current)||void 0===n?void 0:n.ownerDocument)&&void 0!==t?t:document};(0,d.M)(o,"pointerdown",t=>{var i,a;if(!p()||!r)return;const s=null!==(i=null===(a=t.composedPath)||void 0===a||null===(a=a.call(t))||void 0===a?void 0:a[0])&&void 0!==i?i:t.target,l=(null!==n&&void 0!==n?n:[e]).some(t=>{const e="current"in t?t.current:t;return(null===e||void 0===e?void 0:e.contains(s))||e===s});o().activeElement!==s&&l&&(t.preventDefault(),s.focus())})}({enabled:D,ref:V}),(0,g.X)(q,{focusRef:V,visible:D,shouldFocus:B&&C===S.click}),(0,g.w)(q,{focusRef:i,visible:D,shouldFocus:l&&C===S.click}),(0,m.j)({enabled:D&&e,ref:q,handler(t){var e,n;const r=null!==(e=null===(n=t.composedPath)||void 0===n?void 0:n.call(t)[0])&&void 0!==e?e:[t.target];E(V.current,r)||(r&&F(!(0,y.tp)(r)),j())}});const lt=(0,b.q)({wasSelected:W.current,enabled:T,mode:N,isSelected:st.present}),ct=(0,w.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const i=(0,r.A)((0,r.A)({},t),{},{style:(0,r.A)((0,r.A)({},t.style),{},{transformOrigin:A.O3.transformOrigin.varRef,[A.O3.arrowSize.var]:h?"".concat(h,"px"):void 0,[A.O3.arrowShadowColor.var]:f}),ref:(0,v.Px)(q,o),children:lt?t.children:null,id:J,tabIndex:-1,role:"dialog",onKeyDown:(0,x.H)(t.onKeyDown,t=>{t.nativeEvent.isComposing||n&&"Escape"===t.key&&(t.preventDefault(),t.stopPropagation(),j())}),onBlur:(0,x.H)(t.onBlur,t=>{const n=O(t),r=E(q.current,n),o=E(V.current,n),i=!r&&!o;n&&F(!(0,y.tp)(n)),D&&e&&i&&j()}),"aria-labelledby":G?tt:void 0,"aria-describedby":K?et:void 0});return C===S.hover&&(i.role="tooltip",i.onMouseEnter=(0,x.H)(t.onMouseEnter,()=>{U.current=!0}),i.onMouseLeave=(0,x.H)(t.onMouseLeave,t=>{null!==t.nativeEvent.relatedTarget&&(U.current=!1,setTimeout(()=>j(),M))})),i},[lt,J,G,tt,K,et,C,n,j,D,e,M,f,h]),ut=(0,w.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return ot((0,r.A)((0,r.A)({},t),{},{style:(0,r.A)({visibility:D?"visible":"hidden"},t.style)}),e)},[D,ot]),dt=(0,w.useCallback)(function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:(0,v.Px)(e,H,nt)})},[H,nt]),ht=(0,w.useRef)(void 0),ft=(0,w.useRef)(void 0),pt=(0,w.useCallback)(t=>{null==H.current&&nt(t)},[nt]),gt=(0,w.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const o=(0,r.A)((0,r.A)({},t),{},{ref:(0,v.Px)(V,n,pt),id:Z,"aria-haspopup":"dialog","aria-expanded":D,"aria-controls":J});return C===S.click&&(o.onClick=(0,x.H)(t.onClick,z)),C===S.hover&&(o.onFocus=(0,x.H)(t.onFocus,()=>{void 0===ht.current&&I()}),o.onBlur=(0,x.H)(t.onBlur,t=>{const n=O(t),r=!E(q.current,n);D&&e&&r&&j()}),o.onKeyDown=(0,x.H)(t.onKeyDown,t=>{"Escape"===t.key&&j()}),o.onMouseEnter=(0,x.H)(t.onMouseEnter,()=>{U.current=!0,ht.current=window.setTimeout(()=>I(),P)}),o.onMouseLeave=(0,x.H)(t.onMouseLeave,()=>{U.current=!1,ht.current&&(clearTimeout(ht.current),ht.current=void 0),ft.current=window.setTimeout(()=>{!1===U.current&&j()},M)})),o},[Z,D,J,C,pt,z,I,e,j,P,M]);(0,w.useEffect)(()=>()=>{ht.current&&clearTimeout(ht.current),ft.current&&clearTimeout(ft.current)},[]);const mt=(0,w.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{id:tt,ref:(0,v.Px)(e,t=>{Y(!!t)})})},[tt]),vt=(0,w.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{id:et,ref:(0,v.Px)(e,t=>{$(!!t)})})},[et]);return{forceUpdate:at,isOpen:D,onAnimationComplete:st.onComplete,onClose:j,getAnchorProps:dt,getArrowProps:rt,getArrowInnerProps:it,getPopoverPositionerProps:ut,getPopoverProps:ct,getTriggerProps:gt,getHeaderProps:mt,getBodyProps:vt}}function E(t,e){return t===e||(null===t||void 0===t?void 0:t.contains(e))}function O(t){var e;const n=t.currentTarget.ownerDocument.activeElement;return null!==(e=t.relatedTarget)&&void 0!==e?e:n}var P=n(17841),M=n(36059);const T=["children"];function N(t){const e=(0,M.o)("Popover",t),n=(0,a.M)(t),{children:c}=n,u=(0,o.A)(n,T),d=(0,P.D)(),h=C((0,r.A)((0,r.A)({},u),{},{direction:d.direction}));return(0,i.jsx)(l.pb,{value:h,children:(0,i.jsx)(l.hA,{value:e,children:(0,s.J)(c,{isOpen:h.isOpen,onClose:h.onClose,forceUpdate:h.forceUpdate})})})}N.displayName="Popover"},83149:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("AlignLeft",[["line",{x1:"21",x2:"3",y1:"6",y2:"6",key:"1fp77t"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}],["line",{x1:"17",x2:"3",y1:"18",y2:"18",key:"1awlsn"}]])},83169:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(65647),c=n(55003),u=n(36059),d=n(52695);const h=["className","children","direction","justify","align"],f=(0,c.R)(function(t,e){const n=(0,a.M)(t),{className:c,children:f,direction:p="column",justify:g,align:m}=n,v=(0,o.A)(n,h),y=(0,u.o)("Card",t);return(0,i.jsx)(d.B.div,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-card",c),__css:(0,r.A)({display:"flex",flexDirection:p,justifyContent:g,alignItems:m,position:"relative",minWidth:0,wordWrap:"break-word"},y.container)},v),{},{children:(0,i.jsx)(l.s,{value:y,children:f})}))})},83201:(t,e,n)=>{"use strict";n.d(e,{Th:()=>u});var r=n(89379),o=n(80045),i=n(70579),a=n(80511),s=n(55003),l=n(52695);const c=["isNumeric"],u=(0,s.R)((t,e)=>{let{isNumeric:n}=t,s=(0,o.A)(t,c);const u=(0,a.k)();return(0,i.jsx)(l.B.th,(0,r.A)((0,r.A)({},s),{},{ref:e,__css:u.th,"data-is-numeric":n}))})},83290:(t,e,n)=>{"use strict";n.d(e,{i7:()=>d,mL:()=>c});var r=n(12432),o=n(65043),i=n(81722),a=n(69436),s=n(66598),l=(n(93803),n(80219),function(t,e){var n=arguments;if(null==e||!r.h.call(e,"css"))return o.createElement.apply(void 0,n);var i=n.length,a=new Array(i);a[0]=r.E,a[1]=(0,r.c)(t,e);for(var s=2;s<i;s++)a[s]=n[s];return o.createElement.apply(null,a)});!function(t){var e;e||(e=t.JSX||(t.JSX={}))}(l||(l={}));var c=(0,r.w)(function(t,e){var n=t.styles,l=(0,s.J)([n],void 0,o.useContext(r.T)),c=o.useRef();return(0,a.i)(function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+t+" "+l.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",t),n.hydrate([o])),c.current=[n,r],function(){n.flush()}},[e]),(0,a.i)(function(){var t=c.current,n=t[0];if(t[1])t[1]=!1;else{if(void 0!==l.next&&(0,i.sk)(e,l.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",l,n,!1)}},[e,l.name]),null});function u(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(0,s.J)(e)}function d(){var t=u.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},83713:(t,e,n)=>{var r=n(36140),o=n(61143),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},83804:(t,e,n)=>{"use strict";n.d(e,{X:()=>m,w:()=>y});var r=n(44521),o=n(36743);const i=t=>t.hasAttribute("tabindex"),a=t=>i(t)&&-1===t.tabIndex;function s(t){if(!(0,o.sb)(t)||(0,o.N3)(t)||(0,o.pj)(t))return!1;const{localName:e}=t;if(["input","select","textarea","button"].indexOf(e)>=0)return!0;const n={a:()=>t.hasAttribute("href"),audio:()=>t.hasAttribute("controls"),video:()=>t.hasAttribute("controls")};return e in n?n[e]():!!(0,o.wu)(t)||i(t)}const l=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join(),c=t=>t.offsetWidth>0&&t.offsetHeight>0;function u(t){const e=Array.from(t.querySelectorAll(l));return e.unshift(t),e.filter(t=>s(t)&&c(t))}var d=n(65043),h=n(13240),f=n(90221),p=n(12980);function g(t){const e=t.current;if(!e)return!1;const n=(0,r.bq)(e);return!!n&&(!e.contains(n)&&!(!((i=n)&&(0,o.sb)(i)&&s(i))||a(i)));var i}function m(t,e){const{shouldFocus:n,visible:r,focusRef:o}=e,i=n&&!r;(0,p.w)(()=>{if(!i)return;if(g(t))return;const e=(null===o||void 0===o?void 0:o.current)||t.current;let n;return e?(n=requestAnimationFrame(()=>{e.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(n)}):void 0},[i,t,o])}const v={preventScroll:!0,shouldFocus:!1};function y(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v;const{focusRef:n,preventScroll:r,shouldFocus:o,visible:i}=e,a="current"in t?t.current:t;const s=o&&i,l=(0,d.useRef)(s),c=(0,d.useRef)(i);(0,f.U)(()=>{!c.current&&i&&(l.current=s),c.current=i},[i,s]);const g=(0,d.useCallback)(()=>{if(i&&a&&l.current&&(l.current=!1,!a.contains(document.activeElement)))if(null!==n&&void 0!==n&&n.current)requestAnimationFrame(()=>{var t;null===(t=n.current)||void 0===t||t.focus({preventScroll:r})});else{const t=u(a);t.length>0&&requestAnimationFrame(()=>{t[0].focus({preventScroll:r})})}},[i,r,a,n]);(0,p.w)(()=>{g()},[g]),(0,h.M)(a,"transitionend",g)}},83818:(t,e,n)=>{"use strict";n.d(e,{Fs:()=>u,Ky:()=>a,O3:()=>i,ed:()=>l});var r=n(89379);const o=(t,e)=>({var:t,varRef:e?"var(".concat(t,", ").concat(e,")"):"var(".concat(t,")")}),i={arrowShadowColor:o("--popper-arrow-shadow-color"),arrowSize:o("--popper-arrow-size","8px"),arrowSizeHalf:o("--popper-arrow-size-half"),arrowBg:o("--popper-arrow-bg"),transformOrigin:o("--popper-transform-origin"),arrowOffset:o("--popper-arrow-offset")};function a(t){return t.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":t.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":t.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":t.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}const s={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},l=t=>s[t],c={scroll:!0,resize:!0};function u(t){let e;return e="object"===typeof t?{enabled:!0,options:(0,r.A)((0,r.A)({},c),t)}:{enabled:t,options:c},e}},84084:(t,e,n)=>{"use strict";function r(t,e){return"function"===typeof t?t(...e):!!t}n.d(e,{G:()=>r})},84391:(t,e,n)=>{"use strict";var r=n(97950);e.createRoot=r.createRoot,e.hydrateRoot=r.hydrateRoot},84444:(t,e,n)=>{"use strict";n.d(e,{tp:()=>i});var r=n(37558);const o=t=>t.hasAttribute("tabindex");function i(t){if(!(0,r.sb)(t)||(0,r.N3)(t)||(0,r.pj)(t))return!1;const{localName:e}=t;if(["input","select","textarea","button"].indexOf(e)>=0)return!0;const n={a:()=>t.hasAttribute("href"),audio:()=>t.hasAttribute("controls"),video:()=>t.hasAttribute("controls")};return e in n?n[e]():!!(0,r.wu)(t)||o(t)}},84524:(t,e,n)=>{"use strict";n.d(e,{Cg:()=>i,_P:()=>l,_m:()=>s,my:()=>r,s0:()=>a,w4:()=>o});Math.pow(10,8);const r=6048e5,o=864e5,i=6e4,a=36e5,s=1e3,l=Symbol.for("constructDateFrom")},84545:(t,e,n)=>{var r=n(97160);t.exports=function(){this.__data__=new r,this.size=0}},84937:(t,e,n)=>{"use strict";n.d(e,{M:()=>r});const r=(0,n(14010).w)({d:"M12 8l-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14z",displayName:"ChevronUpIcon"})},85034:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Contrast",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 18a6 6 0 0 0 0-12v12z",key:"j4l70d"}]])},85204:(t,e,n)=>{var r=n(87937)(n(56552),"Map");t.exports=r},85369:(t,e,n)=>{"use strict";n.d(e,{$BV:()=>Jt,$ZR:()=>G,A7C:()=>L,Acq:()=>Ht,AnD:()=>wt,BS8:()=>Q,CMH:()=>D,Cab:()=>Dt,Cer:()=>Rt,DDN:()=>ut,DFS:()=>oe,EEI:()=>ce,EQc:()=>Z,FDZ:()=>p,HiP:()=>ge,IFh:()=>Tt,IoZ:()=>Gt,Iz3:()=>St,JV:()=>c,KP4:()=>Qt,KRc:()=>_,KSO:()=>Wt,Ky9:()=>Kt,L2J:()=>K,M1W:()=>ot,M5n:()=>de,MxO:()=>Et,Nhm:()=>Mt,Ny1:()=>J,O4U:()=>o,O5k:()=>nt,O6N:()=>ve,OXb:()=>v,OiG:()=>zt,PVM:()=>be,Pcn:()=>H,QCr:()=>re,QEs:()=>s,Qro:()=>bt,RBv:()=>C,R_2:()=>ee,SBv:()=>se,Swo:()=>qt,T0M:()=>jt,TNq:()=>X,Uhg:()=>A,V6H:()=>Ot,Vk6:()=>d,Vr3:()=>j,WhN:()=>ct,Wp:()=>st,YXz:()=>pe,YYR:()=>R,YhS:()=>$t,YiW:()=>me,Z0L:()=>m,ZPX:()=>xt,ZYm:()=>At,_G3:()=>Bt,__w:()=>mt,aBc:()=>ue,amN:()=>dt,ao$:()=>a,axc:()=>Yt,bfZ:()=>E,bk_:()=>z,dRU:()=>Lt,dkL:()=>pt,e7y:()=>he,ed2:()=>f,f35:()=>lt,feZ:()=>u,g1V:()=>rt,g5D:()=>q,gSK:()=>It,gUT:()=>O,gZZ:()=>Vt,gqt:()=>yt,hYw:()=>U,hko:()=>x,i0U:()=>it,iYk:()=>i,ist:()=>Zt,itz:()=>P,jNV:()=>y,kQE:()=>gt,kkU:()=>l,kkc:()=>I,l2R:()=>Ft,lHQ:()=>b,lSZ:()=>ye,lV_:()=>Nt,lfF:()=>kt,lhZ:()=>ft,maD:()=>$,p5B:()=>M,pBr:()=>at,pXu:()=>vt,qbC:()=>ae,rQ8:()=>ht,rle:()=>Ct,rrY:()=>k,sdT:()=>S,t69:()=>tt,tVd:()=>ne,tmj:()=>F,toK:()=>h,uCC:()=>g,uN:()=>W,uO9:()=>Y,ugv:()=>Pt,umw:()=>le,uoG:()=>Ut,v$b:()=>N,vF8:()=>T,vZy:()=>B,vd0:()=>w,vgu:()=>V,vq8:()=>_t,wQq:()=>Xt,x$1:()=>fe,x7F:()=>te,xXS:()=>et,xdT:()=>ie});var r=n(66688);function o(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z"}}]})(t)}function i(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"}}]})(t)}function a(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"}}]})(t)}function s(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"}}]})(t)}function l(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"}}]})(t)}function c(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M391.17,103.47H352.54v109.7h38.63ZM285,103H246.37V212.75H285ZM120.83,0,24.31,91.42V420.58H140.14V512l96.53-91.42h77.25L487.69,256V0ZM449.07,237.75l-77.22,73.12H294.61l-67.6,64v-64H140.14V36.58H449.07Z"}}]})(t)}function u(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"}}]})(t)}function d(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z"}}]})(t)}function h(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"}}]})(t)}function f(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}]})(t)}function p(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}]})(t)}function g(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"}}]})(t)}function m(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}}]})(t)}function v(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}]})(t)}function y(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"}}]})(t)}function b(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M296 160H180.6l42.6-129.8C227.2 15 215.7 0 200 0H56C44 0 33.8 8.9 32.2 20.8l-32 240C-1.7 275.2 9.5 288 24 288h118.7L96.6 482.5c-3.6 15.2 8 29.5 23.3 29.5 8.4 0 16.4-4.4 20.8-12l176-304c9.3-15.9-2.2-36-20.7-36z"}}]})(t)}function x(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M542.22 32.05c-54.8 3.11-163.72 14.43-230.96 55.59-4.64 2.84-7.27 7.89-7.27 13.17v363.87c0 11.55 12.63 18.85 23.28 13.49 69.18-34.82 169.23-44.32 218.7-46.92 16.89-.89 30.02-14.43 30.02-30.66V62.75c.01-17.71-15.35-31.74-33.77-30.7zM264.73 87.64C197.5 46.48 88.58 35.17 33.78 32.05 15.36 31.01 0 45.04 0 62.75V400.6c0 16.24 13.13 29.78 30.02 30.66 49.49 2.6 149.59 12.11 218.77 46.95 10.62 5.35 23.21-1.94 23.21-13.46V100.63c0-5.29-2.62-10.14-7.27-12.99z"}}]})(t)}function w(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}}]})(t)}function k(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9zm212.6-112.2L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9z"}}]})(t)}function A(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M150.94 192h33.73c11.01 0 18.61-10.83 14.86-21.18-4.93-13.58-7.55-27.98-7.55-42.82s2.62-29.24 7.55-42.82C203.29 74.83 195.68 64 184.67 64h-33.73c-7.01 0-13.46 4.49-15.41 11.23C130.64 92.21 128 109.88 128 128c0 18.12 2.64 35.79 7.54 52.76 1.94 6.74 8.39 11.24 15.4 11.24zM89.92 23.34C95.56 12.72 87.97 0 75.96 0H40.63c-6.27 0-12.14 3.59-14.74 9.31C9.4 45.54 0 85.65 0 128c0 24.75 3.12 68.33 26.69 118.86 2.62 5.63 8.42 9.14 14.61 9.14h34.84c12.02 0 19.61-12.74 13.95-23.37-49.78-93.32-16.71-178.15-.17-209.29zM614.06 9.29C611.46 3.58 605.6 0 599.33 0h-35.42c-11.98 0-19.66 12.66-14.02 23.25 18.27 34.29 48.42 119.42.28 209.23-5.72 10.68 1.8 23.52 13.91 23.52h35.23c6.27 0 12.13-3.58 14.73-9.29C630.57 210.48 640 170.36 640 128s-9.42-82.48-25.94-118.71zM489.06 64h-33.73c-11.01 0-18.61 10.83-14.86 21.18 4.93 13.58 7.55 27.98 7.55 42.82s-2.62 29.24-7.55 42.82c-3.76 10.35 3.85 21.18 14.86 21.18h33.73c7.02 0 13.46-4.49 15.41-11.24 4.9-16.97 7.53-34.64 7.53-52.76 0-18.12-2.64-35.79-7.54-52.76-1.94-6.75-8.39-11.24-15.4-11.24zm-116.3 100.12c7.05-10.29 11.2-22.71 11.2-36.12 0-35.35-28.63-64-63.96-64-35.32 0-63.96 28.65-63.96 64 0 13.41 4.15 25.83 11.2 36.12l-130.5 313.41c-3.4 8.15.46 17.52 8.61 20.92l29.51 12.31c8.15 3.4 17.52-.46 20.91-8.61L244.96 384h150.07l49.2 118.15c3.4 8.16 12.76 12.01 20.91 8.61l29.51-12.31c8.15-3.4 12-12.77 8.61-20.92l-130.5-313.41zM271.62 320L320 203.81 368.38 320h-96.76z"}}]})(t)}function _(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}]})(t)}function S(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}}]})(t)}function C(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}}]})(t)}function E(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"}}]})(t)}function O(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M436 160H12c-6.627 0-12-5.373-12-12v-36c0-26.51 21.49-48 48-48h48V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h128V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h48c26.51 0 48 21.49 48 48v36c0 6.627-5.373 12-12 12zM12 192h424c6.627 0 12 5.373 12 12v260c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V204c0-6.627 5.373-12 12-12zm333.296 95.947l-28.169-28.398c-4.667-4.705-12.265-4.736-16.97-.068L194.12 364.665l-45.98-46.352c-4.667-4.705-12.266-4.736-16.971-.068l-28.397 28.17c-4.705 4.667-4.736 12.265-.068 16.97l82.601 83.269c4.667 4.705 12.265 4.736 16.97.068l142.953-141.805c4.705-4.667 4.736-12.265.068-16.97z"}}]})(t)}function P(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z"}}]})(t)}function M(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"}}]})(t)}function T(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 64h448v352h64V40c0-22.06-17.94-40-40-40H72C49.94 0 32 17.94 32 40v376h64V64zm528 384H480v-64H288v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}]})(t)}function N(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}]})(t)}function R(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"}}]})(t)}function L(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"}}]})(t)}function D(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}]})(t)}function j(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}]})(t)}function I(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"}}]})(t)}function z(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M416 128c-.6 0-1.1.2-1.6.2 1.1-5.2 1.6-10.6 1.6-16.2 0-44.2-35.8-80-80-80-24.6 0-46.3 11.3-61 28.8C256.4 24.8 219.3 0 176 0 114.1 0 64 50.1 64 112c0 7.3.8 14.3 2.1 21.2C27.8 145.8 0 181.5 0 224c0 53 43 96 96 96h320c53 0 96-43 96-96s-43-96-96-96zM88 374.2c-12.8 44.4-40 56.4-40 87.7 0 27.7 21.5 50.1 48 50.1s48-22.4 48-50.1c0-31.4-27.2-43.1-40-87.7-2.2-8.1-13.5-8.5-16 0zm160 0c-12.8 44.4-40 56.4-40 87.7 0 27.7 21.5 50.1 48 50.1s48-22.4 48-50.1c0-31.4-27.2-43.1-40-87.7-2.2-8.1-13.5-8.5-16 0zm160 0c-12.8 44.4-40 56.4-40 87.7 0 27.7 21.5 50.1 48 50.1s48-22.4 48-50.1c0-31.4-27.2-43.1-40-87.7-2.2-8.1-13.5-8.5-16 0z"}}]})(t)}function B(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M575.2 325.7c.2-1.9.8-3.7.8-5.6 0-35.3-28.7-64-64-64-12.6 0-24.2 3.8-34.1 10-17.6-38.8-56.5-66-101.9-66-61.8 0-112 50.1-112 112 0 3 .7 5.8.9 8.7-49.6 3.7-88.9 44.7-88.9 95.3 0 53 43 96 96 96h272c53 0 96-43 96-96 0-42.1-27.2-77.4-64.8-90.4zm-430.4-22.6c-43.7-43.7-43.7-114.7 0-158.3 43.7-43.7 114.7-43.7 158.4 0 9.7 9.7 16.9 20.9 22.3 32.7 9.8-3.7 20.1-6 30.7-7.5L386 81.1c4-11.9-7.3-23.1-19.2-19.2L279 91.2 237.5 8.4C232-2.8 216-2.8 210.4 8.4L169 91.2 81.1 61.9C69.3 58 58 69.3 61.9 81.1l29.3 87.8-82.8 41.5c-11.2 5.6-11.2 21.5 0 27.1l82.8 41.4-29.3 87.8c-4 11.9 7.3 23.1 19.2 19.2l76.1-25.3c6.1-12.4 14-23.7 23.6-33.5-13.1-5.4-25.4-13.4-36-24zm-4.8-79.2c0 40.8 29.3 74.8 67.9 82.3 8-4.7 16.3-8.8 25.2-11.7 5.4-44.3 31-82.5 67.4-105C287.3 160.4 258 140 224 140c-46.3 0-84 37.6-84 83.9z"}}]})(t)}function F(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"}}]})(t)}function H(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M487.4 315.7l-42.6-24.6c4.3-23.2 4.3-47 0-70.2l42.6-24.6c4.9-2.8 7.1-8.6 5.5-14-11.1-35.6-30-67.8-54.7-94.6-3.8-4.1-10-5.1-14.8-2.3L380.8 110c-17.9-15.4-38.5-27.3-60.8-35.1V25.8c0-5.6-3.9-10.5-9.4-11.7-36.7-8.2-74.3-7.8-109.2 0-5.5 1.2-9.4 6.1-9.4 11.7V75c-22.2 7.9-42.8 19.8-60.8 35.1L88.7 85.5c-4.9-2.8-11-1.9-14.8 2.3-24.7 26.7-43.6 58.9-54.7 94.6-1.7 5.4.6 11.2 5.5 14L67.3 221c-4.3 23.2-4.3 47 0 70.2l-42.6 24.6c-4.9 2.8-7.1 8.6-5.5 14 11.1 35.6 30 67.8 54.7 94.6 3.8 4.1 10 5.1 14.8 2.3l42.6-24.6c17.9 15.4 38.5 27.3 60.8 35.1v49.2c0 5.6 3.9 10.5 9.4 11.7 36.7 8.2 74.3 7.8 109.2 0 5.5-1.2 9.4-6.1 9.4-11.7v-49.2c22.2-7.9 42.8-19.8 60.8-35.1l42.6 24.6c4.9 2.8 11 1.9 14.8-2.3 24.7-26.7 43.6-58.9 54.7-94.6 1.5-5.5-.7-11.3-5.6-14.1zM256 336c-44.1 0-80-35.9-80-80s35.9-80 80-80 80 35.9 80 80-35.9 80-80 80z"}}]})(t)}function V(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"}}]})(t)}function q(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"}}]})(t)}function U(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(t)}function W(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"}}]})(t)}function G(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262 2.2 250 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v133.9l-160 80z"}}]})(t)}function Y(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M402.6 83.2l90.2 90.2c3.8 3.8 3.8 10 0 13.8L274.4 405.6l-92.8 10.3c-12.4 1.4-22.9-9.1-21.5-21.5l10.3-92.8L388.8 83.2c3.8-3.8 10-3.8 13.8 0zm162-22.9l-48.8-48.8c-15.2-15.2-39.9-15.2-55.2 0l-35.4 35.4c-3.8 3.8-3.8 10 0 13.8l90.2 90.2c3.8 3.8 10 3.8 13.8 0l35.4-35.4c15.2-15.3 15.2-40 0-55.2zM384 346.2V448H64V128h229.8c3.2 0 6.2-1.3 8.5-3.5l40-40c7.6-7.6 2.2-20.5-8.5-20.5H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V306.2c0-10.7-12.9-16-20.5-8.5l-40 40c-2.2 2.3-3.5 5.3-3.5 8.5z"}}]})(t)}function K(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M176 216h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16zm-16 80c0 8.84 7.16 16 16 16h160c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16H176c-8.84 0-16 7.16-16 16v16zm96 121.13c-16.42 0-32.84-5.06-46.86-15.19L0 250.86V464c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V250.86L302.86 401.94c-14.02 10.12-30.44 15.19-46.86 15.19zm237.61-254.18c-8.85-6.94-17.24-13.47-29.61-22.81V96c0-26.51-21.49-48-48-48h-77.55c-3.04-2.2-5.87-4.26-9.04-6.56C312.6 29.17 279.2-.35 256 0c-23.2-.35-56.59 29.17-73.41 41.44-3.17 2.3-6 4.36-9.04 6.56H96c-26.51 0-48 21.49-48 48v44.14c-12.37 9.33-20.76 15.87-29.61 22.81A47.995 47.995 0 0 0 0 200.72v10.65l96 69.35V96h320v184.72l96-69.35v-10.65c0-14.74-6.78-28.67-18.39-37.77z"}}]})(t)}function $(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"}}]})(t)}function X(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}}]})(t)}function Q(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"}}]})(t)}function Z(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z"}}]})(t)}function J(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.52 241.4C518.29 135.59 410.93 64 288 64S57.68 135.64 3.48 241.41a32.35 32.35 0 0 0 0 29.19C57.71 376.41 165.07 448 288 448s230.32-71.64 284.52-177.41a32.35 32.35 0 0 0 0-29.19zM288 400a144 144 0 1 1 144-144 143.93 143.93 0 0 1-144 144zm0-240a95.31 95.31 0 0 0-25.31 3.79 47.85 47.85 0 0 1-66.9 66.9A95.78 95.78 0 1 0 288 160z"}}]})(t)}function tt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M224 136V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zm64 236c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-64c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12v8zm0-72v8c0 6.6-5.4 12-12 12H108c-6.6 0-12-5.4-12-12v-8c0-6.6 5.4-12 12-12h168c6.6 0 12 5.4 12 12zm96-114.1v6.1H256V0h6.1c6.4 0 12.5 2.5 17 7l97.9 98c4.5 4.5 7 10.6 7 16.9z"}}]})(t)}function et(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M377 105L279.1 7c-4.5-4.5-10.6-7-17-7H256v128h128v-6.1c0-6.3-2.5-12.4-7-16.9zm-153 31V0H24C10.7 0 0 10.7 0 24v464c0 13.3 10.7 24 24 24h336c13.3 0 24-10.7 24-24V160H248c-13.2 0-24-10.8-24-24zM64 72c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8V72zm0 80v-16c0-4.42 3.58-8 8-8h80c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8zm144 263.88V440c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-24.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V232c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v24.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07z"}}]})(t)}function nt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M349.565 98.783C295.978 98.783 251.721 64 184.348 64c-24.955 0-47.309 4.384-68.045 12.013a55.947 55.947 0 0 0 3.586-23.562C118.117 24.015 94.806 1.206 66.338.048 34.345-1.254 8 24.296 8 56c0 19.026 9.497 35.825 24 45.945V488c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-94.4c28.311-12.064 63.582-22.122 114.435-22.122 53.588 0 97.844 34.783 165.217 34.783 48.169 0 86.667-16.294 122.505-40.858C506.84 359.452 512 349.571 512 339.045v-243.1c0-23.393-24.269-38.87-45.485-29.016-34.338 15.948-76.454 31.854-116.95 31.854z"}}]})(t)}function rt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M572.694 292.093L500.27 416.248A63.997 63.997 0 0 1 444.989 448H45.025c-18.523 0-30.064-20.093-20.731-36.093l72.424-124.155A64 64 0 0 1 152 256h399.964c18.523 0 30.064 20.093 20.73 36.093zM152 224h328v-48c0-26.51-21.49-48-48-48H272l-64-64H48C21.49 64 0 85.49 0 112v278.046l69.077-118.418C86.214 242.25 117.989 224 152 224z"}}]})(t)}function ot(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 128H272l-64-64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V176c0-26.51-21.49-48-48-48z"}}]})(t)}function it(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"}}]})(t)}function at(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M480.07 96H160a160 160 0 1 0 114.24 272h91.52A160 160 0 1 0 480.07 96zM248 268a12 12 0 0 1-12 12h-52v52a12 12 0 0 1-12 12h-24a12 12 0 0 1-12-12v-52H84a12 12 0 0 1-12-12v-24a12 12 0 0 1 12-12h52v-52a12 12 0 0 1 12-12h24a12 12 0 0 1 12 12v52h52a12 12 0 0 1 12 12zm216 76a40 40 0 1 1 40-40 40 40 0 0 1-40 40zm64-96a40 40 0 1 1 40-40 40 40 0 0 1-40 40z"}}]})(t)}function st(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M32 448c0 17.7 14.3 32 32 32h160V320H32v128zm256 32h160c17.7 0 32-14.3 32-32V320H288v160zm192-320h-42.1c6.2-12.1 10.1-25.5 10.1-40 0-48.5-39.5-88-88-88-41.6 0-68.5 21.3-103 68.3-34.5-47-61.4-68.3-103-68.3-48.5 0-88 39.5-88 88 0 14.5 3.8 27.9 10.1 40H32c-17.7 0-32 14.3-32 32v80c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16v-80c0-17.7-14.3-32-32-32zm-326.1 0c-22.1 0-40-17.9-40-40s17.9-40 40-40c19.9 0 34.6 3.3 86.1 80h-86.1zm206.1 0h-86.1c51.4-76.5 65.7-80 86.1-80 22.1 0 40 17.9 40 40s-17.9 40-40 40z"}}]})(t)}function lt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M336.5 160C322 70.7 287.8 8 248 8s-74 62.7-88.5 152h177zM152 256c0 22.2 1.2 43.5 3.3 64h185.3c2.1-20.5 3.3-41.8 3.3-64s-1.2-43.5-3.3-64H155.3c-2.1 20.5-3.3 41.8-3.3 64zm324.7-96c-28.6-67.9-86.5-120.4-158-141.6 24.4 33.8 41.2 84.7 50 141.6h108zM177.2 18.4C105.8 39.6 47.8 92.1 19.3 160h108c8.7-56.9 25.5-107.8 49.9-141.6zM487.4 192H372.7c2.1 21 3.3 42.5 3.3 64s-1.2 43-3.3 64h114.6c5.5-20.5 8.6-41.8 8.6-64s-3.1-43.5-8.5-64zM120 256c0-21.5 1.2-43 3.3-64H8.6C3.2 212.5 0 233.8 0 256s3.2 43.5 8.6 64h114.6c-2-21-3.2-42.5-3.2-64zm39.5 96c14.5 89.3 48.7 152 88.5 152s74-62.7 88.5-152h-177zm159.3 141.6c71.4-21.2 129.4-73.7 158-141.6h-108c-8.8 56.9-25.6 107.8-50 141.6zM19.3 352c28.6 67.9 86.5 120.4 158 141.6-24.4-33.8-41.2-84.7-50-141.6h-108z"}}]})(t)}function ct(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M96 32H32C14.33 32 0 46.33 0 64v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160H32c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zM288 32h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32zm0 160h-64c-17.67 0-32 14.33-32 32v64c0 17.67 14.33 32 32 32h64c17.67 0 32-14.33 32-32v-64c0-17.67-14.33-32-32-32z"}}]})(t)}function ut(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M434.7 64h-85.9c-8 0-15.7 3-21.6 8.4l-98.3 90c-.1.1-.2.3-.3.4-16.6 15.6-16.3 40.5-2.1 56 12.7 13.9 39.4 17.6 56.1 2.7.1-.1.3-.1.4-.2l79.9-73.2c6.5-5.9 16.7-5.5 22.6 1 6 6.5 5.5 16.6-1 22.6l-26.1 23.9L504 313.8c2.9 2.4 5.5 5 7.9 7.7V128l-54.6-54.6c-5.9-6-14.1-9.4-22.6-9.4zM544 128.2v223.9c0 17.7 14.3 32 32 32h64V128.2h-96zm48 223.9c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zM0 384h64c17.7 0 32-14.3 32-32V128.2H0V384zm48-63.9c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16c0-8.9 7.2-16 16-16zm435.9 18.6L334.6 217.5l-30 27.5c-29.7 27.1-75.2 24.5-101.7-4.4-26.9-29.4-24.8-74.9 4.4-101.7L289.1 64h-83.8c-8.5 0-16.6 3.4-22.6 9.4L128 128v223.9h18.3l90.5 81.9c27.4 22.3 67.7 18.1 90-9.3l.2-.2 17.9 15.5c15.9 13 39.4 10.5 52.3-5.4l31.4-38.6 5.4 4.4c13.7 11.1 33.9 9.1 45-4.7l9.5-11.7c11.2-13.8 9.1-33.9-4.6-45.1z"}}]})(t)}function dt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M440.667 182.109l7.143-40c1.313-7.355-4.342-14.109-11.813-14.109h-74.81l14.623-81.891C377.123 38.754 371.468 32 363.997 32h-40.632a12 12 0 0 0-11.813 9.891L296.175 128H197.54l14.623-81.891C213.477 38.754 207.822 32 200.35 32h-40.632a12 12 0 0 0-11.813 9.891L132.528 128H53.432a12 12 0 0 0-11.813 9.891l-7.143 40C33.163 185.246 38.818 192 46.289 192h74.81L98.242 320H19.146a12 12 0 0 0-11.813 9.891l-7.143 40C-1.123 377.246 4.532 384 12.003 384h74.81L72.19 465.891C70.877 473.246 76.532 480 84.003 480h40.632a12 12 0 0 0 11.813-9.891L151.826 384h98.634l-14.623 81.891C234.523 473.246 240.178 480 247.65 480h40.632a12 12 0 0 0 11.813-9.891L315.472 384h79.096a12 12 0 0 0 11.813-9.891l7.143-40c1.313-7.355-4.342-14.109-11.813-14.109h-74.81l22.857-128h79.096a12 12 0 0 0 11.813-9.891zM261.889 320h-98.634l22.857-128h98.634l-22.857 128z"}}]})(t)}function ht(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M280.37 148.26L96 300.11V464a16 16 0 0 0 16 16l112.06-.29a16 16 0 0 0 15.92-16V368a16 16 0 0 1 16-16h64a16 16 0 0 1 16 16v95.64a16 16 0 0 0 16 16.05L464 480a16 16 0 0 0 16-16V300L295.67 148.26a12.19 12.19 0 0 0-15.3 0zM571.6 251.47L488 182.56V44.05a12 12 0 0 0-12-12h-56a12 12 0 0 0-12 12v72.61L318.47 43a48 48 0 0 0-61 0L4.34 251.47a12 12 0 0 0-1.6 16.9l25.5 31A12 12 0 0 0 45.15 301l235.22-193.74a12.19 12.19 0 0 1 15.3 0L530.9 301a12 12 0 0 0 16.9-1.6l25.5-31a12 12 0 0 0-1.7-16.93z"}}]})(t)}function ft(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M360 0H24C10.745 0 0 10.745 0 24v16c0 13.255 10.745 24 24 24 0 90.965 51.016 167.734 120.842 192C75.016 280.266 24 357.035 24 448c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24 0-90.965-51.016-167.734-120.842-192C308.984 231.734 360 154.965 360 64c13.255 0 24-10.745 24-24V24c0-13.255-10.745-24-24-24zm-75.078 384H99.08c17.059-46.797 52.096-80 92.92-80 40.821 0 75.862 33.196 92.922 80zm.019-256H99.078C91.988 108.548 88 86.748 88 64h208c0 22.805-3.987 44.587-11.059 64z"}}]})(t)}function pt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 448H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48zM112 120c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zM64 384h384V272l-87.515-87.515c-4.686-4.686-12.284-4.686-16.971 0L208 320l-55.515-55.515c-4.686-4.686-12.284-4.686-16.971 0L64 336v48z"}}]})(t)}function gt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M480 416v16c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V176c0-26.51 21.49-48 48-48h16v208c0 44.112 35.888 80 80 80h336zm96-80V80c0-26.51-21.49-48-48-48H144c-26.51 0-48 21.49-48 48v256c0 26.51 21.49 48 48 48h384c26.51 0 48-21.49 48-48zM256 128c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-96 144l55.515-55.515c4.686-4.686 12.284-4.686 16.971 0L272 256l135.515-135.515c4.686-4.686 12.284-4.686 16.971 0L512 208v112H160v-48z"}}]})(t)}function mt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"}}]})(t)}function vt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M512 176.001C512 273.203 433.202 352 336 352c-11.22 0-22.19-1.062-32.827-3.069l-24.012 27.014A23.999 23.999 0 0 1 261.223 384H224v40c0 13.255-10.745 24-24 24h-40v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24v-78.059c0-6.365 2.529-12.47 7.029-16.971l161.802-161.802C163.108 213.814 160 195.271 160 176 160 78.798 238.797.001 335.999 0 433.488-.001 512 78.511 512 176.001zM336 128c0 26.51 21.49 48 48 48s48-21.49 48-48-21.49-48-48-48-48 21.49-48 48z"}}]})(t)}function yt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M152.1 236.2c-3.5-12.1-7.8-33.2-7.8-33.2h-.5s-4.3 21.1-7.8 33.2l-11.1 37.5H163zM616 96H336v320h280c13.3 0 24-10.7 24-24V120c0-13.3-10.7-24-24-24zm-24 120c0 6.6-5.4 12-12 12h-11.4c-6.9 23.6-21.7 47.4-42.7 69.9 8.4 6.4 17.1 12.5 26.1 18 5.5 3.4 7.3 10.5 4.1 16.2l-7.9 13.9c-3.4 5.9-10.9 7.8-16.7 4.3-12.6-7.8-24.5-16.1-35.4-24.9-10.9 8.7-22.7 17.1-35.4 24.9-5.8 3.5-13.3 1.6-16.7-4.3l-7.9-13.9c-3.2-5.6-1.4-12.8 4.2-16.2 9.3-5.7 18-11.7 26.1-18-7.9-8.4-14.9-17-21-25.7-4-5.7-2.2-13.6 3.7-17.1l6.5-3.9 7.3-4.3c5.4-3.2 12.4-1.7 16 3.4 5 7 10.8 14 17.4 20.9 13.5-14.2 23.8-28.9 30-43.2H412c-6.6 0-12-5.4-12-12v-16c0-6.6 5.4-12 12-12h64v-16c0-6.6 5.4-12 12-12h16c6.6 0 12 5.4 12 12v16h64c6.6 0 12 5.4 12 12zM0 120v272c0 13.3 10.7 24 24 24h280V96H24c-13.3 0-24 10.7-24 24zm58.9 216.1L116.4 167c1.7-4.9 6.2-8.1 11.4-8.1h32.5c5.1 0 9.7 3.3 11.4 8.1l57.5 169.1c2.6 7.8-3.1 15.9-11.4 15.9h-22.9a12 12 0 0 1-11.5-8.6l-9.4-31.9h-60.2l-9.1 31.8c-1.5 5.1-6.2 8.7-11.5 8.7H70.3c-8.2 0-14-8.1-11.4-15.9z"}}]})(t)}function bt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm173.696 119.559l-63.399 63.399c-10.987-18.559-26.67-34.252-45.255-45.255l63.399-63.399a218.396 218.396 0 0 1 45.255 45.255zM256 352c-53.019 0-96-42.981-96-96s42.981-96 96-96 96 42.981 96 96-42.981 96-96 96zM127.559 82.304l63.399 63.399c-18.559 10.987-34.252 26.67-45.255 45.255l-63.399-63.399a218.372 218.372 0 0 1 45.255-45.255zM82.304 384.441l63.399-63.399c10.987 18.559 26.67 34.252 45.255 45.255l-63.399 63.399a218.396 218.396 0 0 1-45.255-45.255zm302.137 45.255l-63.399-63.399c18.559-10.987 34.252-26.67 45.255-45.255l63.399 63.399a218.403 218.403 0 0 1-45.255 45.255z"}}]})(t)}function xt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M96.06 454.35c.01 6.29 1.87 12.45 5.36 17.69l17.09 25.69a31.99 31.99 0 0 0 26.64 14.28h61.71a31.99 31.99 0 0 0 26.64-14.28l17.09-25.69a31.989 31.989 0 0 0 5.36-17.69l.04-38.35H96.01l.05 38.35zM0 176c0 44.37 16.45 84.85 43.56 115.78 16.52 18.85 42.36 58.23 52.21 91.45.04.26.07.52.11.78h160.24c.04-.26.07-.51.11-.78 9.85-33.22 35.69-72.6 52.21-91.45C335.55 260.85 352 220.37 352 176 352 78.61 272.91-.3 175.45 0 73.44.31 0 82.97 0 176zm176-80c-44.11 0-80 35.89-80 80 0 8.84-7.16 16-16 16s-16-7.16-16-16c0-61.76 50.24-112 112-112 8.84 0 16 7.16 16 16s-7.16 16-16 16z"}}]})(t)}function wt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M326.612 185.391c59.747 59.809 58.927 155.698.36 214.59-.11.12-.24.25-.36.37l-67.2 67.2c-59.27 59.27-155.699 59.262-214.96 0-59.27-59.26-59.27-155.7 0-214.96l37.106-37.106c9.84-9.84 26.786-3.3 27.294 10.606.648 17.722 3.826 35.527 9.69 52.721 1.986 5.822.567 12.262-3.783 16.612l-13.087 13.087c-28.026 28.026-28.905 73.66-1.155 101.96 28.024 28.579 74.086 28.749 102.325.51l67.2-67.19c28.191-28.191 28.073-73.757 0-101.83-3.701-3.694-7.429-6.564-10.341-8.569a16.037 16.037 0 0 1-6.947-12.606c-.396-10.567 3.348-21.456 11.698-29.806l21.054-21.055c5.521-5.521 14.182-6.199 20.584-1.731a152.482 152.482 0 0 1 20.522 17.197zM467.547 44.449c-59.261-59.262-155.69-59.27-214.96 0l-67.2 67.2c-.12.12-.25.25-.36.37-58.566 58.892-59.387 154.781.36 214.59a152.454 152.454 0 0 0 20.521 17.196c6.402 4.468 15.064 3.789 20.584-1.731l21.054-21.055c8.35-8.35 12.094-19.239 11.698-29.806a16.037 16.037 0 0 0-6.947-12.606c-2.912-2.005-6.64-4.875-10.341-8.569-28.073-28.073-28.191-73.639 0-101.83l67.2-67.19c28.239-28.239 74.3-28.069 102.325.51 27.75 28.3 26.872 73.934-1.155 101.96l-13.087 13.087c-4.35 4.35-5.769 10.79-3.783 16.612 5.864 17.194 9.042 34.999 9.69 52.721.509 13.906 17.454 20.446 27.294 10.606l37.106-37.106c59.271-59.259 59.271-155.699.001-214.959z"}}]})(t)}function kt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M61.77 401l17.5-20.15a19.92 19.92 0 0 0 5.07-14.19v-3.31C84.34 356 80.5 352 73 352H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8h22.83a157.41 157.41 0 0 0-11 12.31l-5.61 7c-4 5.07-5.25 10.13-2.8 14.88l1.05 1.93c3 5.76 6.29 7.88 12.25 7.88h4.73c10.33 0 15.94 2.44 15.94 9.09 0 4.72-4.2 8.22-14.36 8.22a41.54 41.54 0 0 1-15.47-3.12c-6.49-3.88-11.74-3.5-15.6 3.12l-5.59 9.31c-3.72 6.13-3.19 11.72 2.63 15.94 7.71 4.69 20.38 9.44 37 9.44 34.16 0 48.5-22.75 48.5-44.12-.03-14.38-9.12-29.76-28.73-34.88zM496 224H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zm0-160H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16V80a16 16 0 0 0-16-16zm0 320H176a16 16 0 0 0-16 16v32a16 16 0 0 0 16 16h320a16 16 0 0 0 16-16v-32a16 16 0 0 0-16-16zM16 160h64a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H64V40a8 8 0 0 0-8-8H32a8 8 0 0 0-7.14 4.42l-8 16A8 8 0 0 0 24 64h8v64H16a8 8 0 0 0-8 8v16a8 8 0 0 0 8 8zm-3.91 160H80a8 8 0 0 0 8-8v-16a8 8 0 0 0-8-8H41.32c3.29-10.29 48.34-18.68 48.34-56.44 0-29.06-25-39.56-44.47-39.56-21.36 0-33.8 10-40.46 18.75-4.37 5.59-3 10.84 2.8 15.37l8.58 6.88c5.61 4.56 11 2.47 16.12-2.44a13.44 13.44 0 0 1 9.46-3.84c3.33 0 9.28 1.56 9.28 8.75C51 248.19 0 257.31 0 304.59v4C0 316 5.08 320 12.09 320z"}}]})(t)}function At(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 0c-69.59 0-126 56.41-126 126 0 56.26 82.35 158.8 113.9 196.02 6.39 7.54 17.82 7.54 24.2 0C331.65 284.8 414 182.26 414 126 414 56.41 357.59 0 288 0zm0 168c-23.2 0-42-18.8-42-42s18.8-42 42-42 42 18.8 42 42-18.8 42-42 42zM20.12 215.95A32.006 32.006 0 0 0 0 245.66v250.32c0 11.32 11.43 19.06 21.94 14.86L160 448V214.92c-8.84-15.98-16.07-31.54-21.25-46.42L20.12 215.95zM288 359.67c-14.07 0-27.38-6.18-36.51-16.96-19.66-23.2-40.57-49.62-59.49-76.72v182l192 64V266c-18.92 27.09-39.82 53.52-59.49 76.72-9.13 10.77-22.44 16.95-36.51 16.95zm266.06-198.51L416 224v288l139.88-55.95A31.996 31.996 0 0 0 576 426.34V176.02c0-11.32-11.43-19.06-21.94-14.86z"}}]})(t)}function _t(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"}}]})(t)}function St(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M507.31 84.69L464 41.37c-6-6-14.14-9.37-22.63-9.37H288V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v16H56c-13.25 0-24 10.75-24 24v80c0 13.25 10.75 24 24 24h385.37c8.49 0 16.62-3.37 22.63-9.37l43.31-43.31c6.25-6.26 6.25-16.38 0-22.63zM224 496c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-64v112zm232-272H288v-32h-64v32H70.63c-8.49 0-16.62 3.37-22.63 9.37L4.69 276.69c-6.25 6.25-6.25 16.38 0 22.63L48 342.63c6 6 14.14 9.37 22.63 9.37H456c13.25 0 24-10.75 24-24v-80c0-13.25-10.75-24-24-24z"}}]})(t)}function Ct(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M272 0H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48zM160 480c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm112-108c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V60c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v312z"}}]})(t)}function Et(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M621.16 54.46C582.37 38.19 543.55 32 504.75 32c-123.17-.01-246.33 62.34-369.5 62.34-30.89 0-61.76-3.92-92.65-13.72-3.47-1.1-6.95-1.62-10.35-1.62C15.04 79 0 92.32 0 110.81v317.26c0 12.63 7.23 24.6 18.84 29.46C57.63 473.81 96.45 480 135.25 480c123.17 0 246.34-62.35 369.51-62.35 30.89 0 61.76 3.92 92.65 13.72 3.47 1.1 6.95 1.62 10.35 1.62 17.21 0 32.25-13.32 32.25-31.81V83.93c-.01-12.64-7.24-24.6-18.85-29.47zM48 132.22c20.12 5.04 41.12 7.57 62.72 8.93C104.84 170.54 79 192.69 48 192.69v-60.47zm0 285v-47.78c34.37 0 62.18 27.27 63.71 61.4-22.53-1.81-43.59-6.31-63.71-13.62zM320 352c-44.19 0-80-42.99-80-96 0-53.02 35.82-96 80-96s80 42.98 80 96c0 53.03-35.83 96-80 96zm272 27.78c-17.52-4.39-35.71-6.85-54.32-8.44 5.87-26.08 27.5-45.88 54.32-49.28v57.72zm0-236.11c-30.89-3.91-54.86-29.7-55.81-61.55 19.54 2.17 38.09 6.23 55.81 12.66v48.89z"}}]})(t)}function Ot(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M283.211 512c78.962 0 151.079-35.925 198.857-94.792 7.068-8.708-.639-21.43-11.562-19.35-124.203 23.654-238.262-71.576-238.262-196.954 0-72.222 38.662-138.635 101.498-174.394 9.686-5.512 7.25-20.197-3.756-22.23A258.156 258.156 0 0 0 283.211 0c-141.309 0-256 114.511-256 256 0 141.309 114.511 256 256 256z"}}]})(t)}function Pt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 320 512"},child:[{tag:"path",attr:{d:"M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z"}}]})(t)}function Mt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H88c-13.255 0-24 10.745-24 24v8H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h472c26.51 0 48-21.49 48-48V88c0-13.255-10.745-24-24-24zM56 400a8 8 0 0 1-8-8V144h16v248a8 8 0 0 1-8 8zm236-16H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm-208-96H140c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm208 0H348c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h152c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12zm0-96H140c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12z"}}]})(t)}function Tt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M167.02 309.34c-40.12 2.58-76.53 17.86-97.19 72.3-2.35 6.21-8 9.98-14.59 9.98-11.11 0-45.46-27.67-55.25-34.35C0 439.62 37.93 512 128 512c75.86 0 128-43.77 128-120.19 0-3.11-.65-6.08-.97-9.13l-88.01-73.34zM457.89 0c-15.16 0-29.37 6.71-40.21 16.45C213.27 199.05 192 203.34 192 257.09c0 13.7 3.25 26.76 8.73 38.7l63.82 53.18c7.21 1.8 14.64 3.03 22.39 3.03 62.11 0 98.11-45.47 211.16-256.46 7.38-14.35 13.9-29.85 13.9-45.99C512 20.64 486 0 457.89 0z"}}]})(t)}function Nt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M204.3 5C104.9 24.4 24.8 104.3 5.2 203.4c-37 187 131.7 326.4 258.8 306.7 41.2-6.4 61.4-54.6 42.5-91.7-23.1-45.4 9.9-98.4 60.9-98.4h79.7c35.8 0 64.8-29.6 64.9-65.3C511.5 97.1 368.1-26.9 204.3 5zM96 320c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm32-128c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128-64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 64c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}]})(t)}function Rt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M476 3.2L12.5 270.6c-18.1 10.4-15.8 35.6 2.2 43.2L121 358.4l287.3-253.2c5.5-4.9 13.3 2.6 8.6 8.3L176 407v80.5c0 23.6 28.5 32.9 42.5 15.8L282 426l124.6 52.2c14.2 6 30.4-2.9 33-18.2l72-432C515 7.8 493.3-6.8 476 3.2z"}}]})(t)}function Lt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497.39 361.8l-112-48a24 24 0 0 0-28 6.9l-49.6 60.6A370.66 370.66 0 0 1 130.6 204.11l60.6-49.6a23.94 23.94 0 0 0 6.9-28l-48-112A24.16 24.16 0 0 0 122.6.61l-104 24A24 24 0 0 0 0 48c0 256.5 207.9 464 464 464a24 24 0 0 0 23.4-18.6l24-104a24.29 24.29 0 0 0-14.01-27.6z"}}]})(t)}function Dt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M493.4 24.6l-104-24c-11.3-2.6-22.9 3.3-27.5 13.9l-48 112c-4.2 9.8-1.4 21.3 6.9 28l60.6 49.6c-36 76.7-98.9 140.5-177.2 177.2l-49.6-60.6c-6.8-8.3-18.2-11.1-28-6.9l-112 48C3.9 366.5-2 378.1.6 389.4l24 104C27.1 504.2 36.7 512 48 512c256.1 0 464-207.5 464-464 0-11.2-7.7-20.9-18.6-23.4z"}}]})(t)}function jt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M608 0H160a32 32 0 0 0-32 32v96h160V64h192v320h128a32 32 0 0 0 32-32V32a32 32 0 0 0-32-32zM232 103a9 9 0 0 1-9 9h-30a9 9 0 0 1-9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm352 208a9 9 0 0 1-9 9h-30a9 9 0 0 1-9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1-9 9h-30a9 9 0 0 1-9-9v-30a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm0-104a9 9 0 0 1-9 9h-30a9 9 0 0 1-9-9V73a9 9 0 0 1 9-9h30a9 9 0 0 1 9 9zm-168 57H32a32 32 0 0 0-32 32v288a32 32 0 0 0 32 32h384a32 32 0 0 0 32-32V192a32 32 0 0 0-32-32zM96 224a32 32 0 1 1-32 32 32 32 0 0 1 32-32zm288 224H64v-32l64-64 32 32 128-128 96 96z"}}]})(t)}function It(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"}}]})(t)}function zt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 208H272V64c0-17.67-14.33-32-32-32h-32c-17.67 0-32 14.33-32 32v144H32c-17.67 0-32 14.33-32 32v32c0 17.67 14.33 32 32 32h144v144c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32V304h144c17.67 0 32-14.33 32-32v-32c0-17.67-14.33-32-32-32z"}}]})(t)}function Bt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M267.429 488.563C262.286 507.573 242.858 512 224 512c-18.857 0-38.286-4.427-43.428-23.437C172.927 460.134 160 388.898 160 355.75c0-35.156 31.142-43.75 64-43.75s64 8.594 64 43.75c0 32.949-12.871 104.179-20.571 132.813zM156.867 288.554c-18.693-18.308-29.958-44.173-28.784-72.599 2.054-49.724 42.395-89.956 92.124-91.881C274.862 121.958 320 165.807 320 220c0 26.827-11.064 51.116-28.866 68.552-2.675 2.62-2.401 6.986.628 9.187 9.312 6.765 16.46 15.343 21.234 25.363 1.741 3.654 6.497 4.66 9.449 1.891 28.826-27.043 46.553-65.783 45.511-108.565-1.855-76.206-63.595-138.208-139.793-140.369C146.869 73.753 80 139.215 80 220c0 41.361 17.532 78.7 45.55 104.989 2.953 2.771 7.711 1.77 9.453-1.887 4.774-10.021 11.923-18.598 21.235-25.363 3.029-2.2 3.304-6.566.629-9.185zM224 0C100.204 0 0 100.185 0 224c0 89.992 52.602 165.647 125.739 201.408 4.333 2.118 9.267-1.544 8.535-6.31-2.382-15.512-4.342-30.946-5.406-44.339-.146-1.836-1.149-3.486-2.678-4.512-47.4-31.806-78.564-86.016-78.187-147.347.592-96.237 79.29-174.648 175.529-174.899C320.793 47.747 400 126.797 400 224c0 61.932-32.158 116.49-80.65 147.867-.999 14.037-3.069 30.588-5.624 47.23-.732 4.767 4.203 8.429 8.535 6.31C395.227 389.727 448 314.187 448 224 448 100.205 347.815 0 224 0zm0 160c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64z"}}]})(t)}function Ft(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM160 368c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V240c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v128zm96 0c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V144c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v224zm96 0c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16v-64c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v64z"}}]})(t)}function Ht(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M0 224h192V32H0v192zM64 96h64v64H64V96zm192-64v192h192V32H256zm128 128h-64V96h64v64zM0 480h192V288H0v192zm64-128h64v64H64v-64zm352-64h32v128h-96v-32h-32v96h-64V288h96v32h64v-32zm0 160h32v32h-32v-32zm-64 0h32v32h-32v-32z"}}]})(t)}function Vt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"}}]})(t)}function qt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M500.33 0h-47.41a12 12 0 0 0-12 12.57l4 82.76A247.42 247.42 0 0 0 256 8C119.34 8 7.9 119.53 8 256.19 8.1 393.07 119.1 504 256 504a247.1 247.1 0 0 0 166.18-63.91 12 12 0 0 0 .48-17.43l-34-34a12 12 0 0 0-16.38-.55A176 176 0 1 1 402.1 157.8l-101.53-4.87a12 12 0 0 0-12.57 12v47.41a12 12 0 0 0 12 12h200.33a12 12 0 0 0 12-12V12a12 12 0 0 0-12-12z"}}]})(t)}function Ut(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505.12019,19.09375c-1.18945-5.53125-6.65819-11-12.207-12.1875C460.716,0,435.507,0,410.40747,0,307.17523,0,245.26909,55.20312,199.05238,128H94.83772c-16.34763.01562-35.55658,11.875-42.88664,26.48438L2.51562,253.29688A28.4,28.4,0,0,0,0,264a24.00867,24.00867,0,0,0,24.00582,24H127.81618l-22.47457,22.46875c-11.36521,11.36133-12.99607,32.25781,0,45.25L156.24582,406.625c11.15623,11.1875,32.15619,13.15625,45.27726,0l22.47457-22.46875V488a24.00867,24.00867,0,0,0,24.00581,24,28.55934,28.55934,0,0,0,10.707-2.51562l98.72834-49.39063c14.62888-7.29687,26.50776-26.5,26.50776-42.85937V312.79688c72.59753-46.3125,128.03493-108.40626,128.03493-211.09376C512.07526,76.5,512.07526,51.29688,505.12019,19.09375ZM384.04033,168A40,40,0,1,1,424.05,128,40.02322,40.02322,0,0,1,384.04033,168Z"}}]})(t)}function Wt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"}}]})(t)}function Gt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M352 160v-32C352 57.42 294.579 0 224 0 153.42 0 96 57.42 96 128v32H0v272c0 44.183 35.817 80 80 80h288c44.183 0 80-35.817 80-80V160h-96zm-192-32c0-35.29 28.71-64 64-64s64 28.71 64 64v32H160v-32zm160 120c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24zm-192 0c-13.255 0-24-10.745-24-24s10.745-24 24-24 24 10.745 24 24-10.745 24-24 24z"}}]})(t)}function Yt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M497 273L329 441c-15 15-41 4.5-41-17v-96H152c-13.3 0-24-10.7-24-24v-96c0-13.3 10.7-24 24-24h136V88c0-21.4 25.9-32 41-17l168 168c9.3 9.4 9.3 24.6 0 34zM192 436v-40c0-6.6-5.4-12-12-12H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h84c6.6 0 12-5.4 12-12V76c0-6.6-5.4-12-12-12H96c-53 0-96 43-96 96v192c0 53 43 96 96 96h84c6.6 0 12-5.4 12-12z"}}]})(t)}function Kt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm80 168c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm-160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32-32-14.3-32-32 14.3-32 32-32zm194.8 170.2C334.3 380.4 292.5 400 248 400s-86.3-19.6-114.8-53.8c-13.6-16.3 11-36.7 24.6-20.5 22.4 26.9 55.2 42.2 90.2 42.2s67.8-15.4 90.2-42.2c13.4-16.2 38.1 4.2 24.6 20.5z"}}]})(t)}function $t(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M440.3 345.2l-33.8-19.5 26-7c8.2-2.2 13.1-10.7 10.9-18.9l-4-14.9c-2.2-8.2-10.7-13.1-18.9-10.9l-70.8 19-63.9-37 63.8-36.9 70.8 19c8.2 2.2 16.7-2.7 18.9-10.9l4-14.9c2.2-8.2-2.7-16.7-10.9-18.9l-26-7 33.8-19.5c7.4-4.3 9.9-13.7 5.7-21.1L430.4 119c-4.3-7.4-13.7-9.9-21.1-5.7l-33.8 19.5 7-26c2.2-8.2-2.7-16.7-10.9-18.9l-14.9-4c-8.2-2.2-16.7 2.7-18.9 10.9l-19 70.8-62.8 36.2v-77.5l53.7-53.7c6.2-6.2 6.2-16.4 0-22.6l-11.3-11.3c-6.2-6.2-16.4-6.2-22.6 0L256 56.4V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v40.4l-19.7-19.7c-6.2-6.2-16.4-6.2-22.6 0L138.3 48c-6.3 6.2-6.3 16.4 0 22.6l53.7 53.7v77.5l-62.8-36.2-19-70.8c-2.2-8.2-10.7-13.1-18.9-10.9l-14.9 4c-8.2 2.2-13.1 10.7-10.9 18.9l7 26-33.8-19.5c-7.4-4.3-16.8-1.7-21.1 5.7L2.1 145.7c-4.3 7.4-1.7 16.8 5.7 21.1l33.8 19.5-26 7c-8.3 2.2-13.2 10.7-11 19l4 14.9c2.2 8.2 10.7 13.1 18.9 10.9l70.8-19 63.8 36.9-63.8 36.9-70.8-19c-8.2-2.2-16.7 2.7-18.9 10.9l-4 14.9c-2.2 8.2 2.7 16.7 10.9 18.9l26 7-33.8 19.6c-7.4 4.3-9.9 13.7-5.7 21.1l15.5 26.8c4.3 7.4 13.7 9.9 21.1 5.7l33.8-19.5-7 26c-2.2 8.2 2.7 16.7 10.9 18.9l14.9 4c8.2 2.2 16.7-2.7 18.9-10.9l19-70.8 62.8-36.2v77.5l-53.7 53.7c-6.3 6.2-6.3 16.4 0 22.6l11.3 11.3c6.2 6.2 16.4 6.2 22.6 0l19.7-19.7V496c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16v-40.4l19.7 19.7c6.2 6.2 16.4 6.2 22.6 0l11.3-11.3c6.2-6.2 6.2-16.4 0-22.6L256 387.7v-77.5l62.8 36.2 19 70.8c2.2 8.2 10.7 13.1 18.9 10.9l14.9-4c8.2-2.2 13.1-10.7 10.9-18.9l-7-26 33.8 19.5c7.4 4.3 16.8 1.7 21.1-5.7l15.5-26.8c4.3-7.3 1.8-16.8-5.6-21z"}}]})(t)}function Xt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z"}}]})(t)}function Qt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M370.72 133.28C339.458 104.008 298.888 87.962 255.848 88c-77.458.068-144.328 53.178-162.791 126.85-1.344 5.363-6.122 9.15-11.651 9.15H24.103c-7.498 0-13.194-6.807-11.807-14.176C33.933 94.924 134.813 8 256 8c66.448 0 126.791 26.136 171.315 68.685L463.03 40.97C478.149 25.851 504 36.559 504 57.941V192c0 13.255-10.745 24-24 24H345.941c-21.382 0-32.09-25.851-16.971-40.971l41.75-41.749zM32 296h134.059c21.382 0 32.09 25.851 16.971 40.971l-41.75 41.75c31.262 29.273 71.835 45.319 114.876 45.28 77.418-.07 144.315-53.144 162.787-126.849 1.344-5.363 6.122-9.15 11.651-9.15h57.304c7.498 0 13.194 6.807 11.807 14.176C478.067 417.076 377.187 504 256 504c-66.448 0-126.791-26.136-171.315-68.685L48.97 471.03C33.851 486.149 8 475.441 8 454.059V320c0-13.255 10.745-24 24-24z"}}]})(t)}function Zt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64v-96h160v96zm0-160H64v-96h160v96zm224 160H288v-96h160v96zm0-160H288v-96h160v96z"}}]})(t)}function Jt(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M288 32C128.94 32 0 160.94 0 320c0 52.8 14.25 102.26 39.06 144.8 5.61 9.62 16.3 15.2 27.44 15.2h443c11.14 0 21.83-5.58 27.44-15.2C561.75 422.26 576 372.8 576 320c0-159.06-128.94-288-288-288zm0 64c14.71 0 26.58 10.13 30.32 23.65-1.11 2.26-2.64 4.23-3.45 6.67l-9.22 27.67c-5.13 3.49-10.97 6.01-17.64 6.01-17.67 0-32-14.33-32-32S270.33 96 288 96zM96 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm48-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm246.77-72.41l-61.33 184C343.13 347.33 352 364.54 352 384c0 11.72-3.38 22.55-8.88 32H232.88c-5.5-9.45-8.88-20.28-8.88-32 0-33.94 26.5-61.43 59.9-63.59l61.34-184.01c4.17-12.56 17.73-19.45 30.36-15.17 12.57 4.19 19.35 17.79 15.17 30.36zm14.66 57.2l15.52-46.55c3.47-1.29 7.13-2.23 11.05-2.23 17.67 0 32 14.33 32 32s-14.33 32-32 32c-11.38-.01-20.89-6.28-26.57-15.22zM480 384c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}]})(t)}function te(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M296 32h192c13.255 0 24 10.745 24 24v160c0 13.255-10.745 24-24 24H296c-13.255 0-24-10.745-24-24V56c0-13.255 10.745-24 24-24zm-80 0H24C10.745 32 0 42.745 0 56v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V56c0-13.255-10.745-24-24-24zM0 296v160c0 13.255 10.745 24 24 24h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H24c-13.255 0-24 10.745-24 24zm296 184h192c13.255 0 24-10.745 24-24V296c0-13.255-10.745-24-24-24H296c-13.255 0-24 10.745-24 24v160c0 13.255 10.745 24 24 24z"}}]})(t)}function ee(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 256 512"},child:[{tag:"path",attr:{d:"M192 384c0 35.346-28.654 64-64 64s-64-28.654-64-64c0-23.685 12.876-44.349 32-55.417V224c0-17.673 14.327-32 32-32s32 14.327 32 32v104.583c19.124 11.068 32 31.732 32 55.417zm32-84.653c19.912 22.563 32 52.194 32 84.653 0 70.696-57.303 128-128 128-.299 0-.609-.001-.909-.003C56.789 511.509-.357 453.636.002 383.333.166 351.135 12.225 321.755 32 299.347V96c0-53.019 42.981-96 96-96s96 42.981 96 96v203.347zM208 384c0-34.339-19.37-52.19-32-66.502V96c0-26.467-21.533-48-48-48S80 69.533 80 96v221.498c-12.732 14.428-31.825 32.1-31.999 66.08-.224 43.876 35.563 80.116 79.423 80.42L128 464c44.112 0 80-35.888 80-80z"}}]})(t)}function ne(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M128 160h320v192H128V160zm400 96c0 26.51 21.49 48 48 48v96c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48v-96c26.51 0 48-21.49 48-48s-21.49-48-48-48v-96c0-26.51 21.49-48 48-48h480c26.51 0 48 21.49 48 48v96c-26.51 0-48 21.49-48 48zm-48-104c0-13.255-10.745-24-24-24H120c-13.255 0-24 10.745-24 24v208c0 13.255 10.745 24 24 24h336c13.255 0 24-10.745 24-24V152z"}}]})(t)}function re(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}}]})(t)}function oe(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 352 512"},child:[{tag:"path",attr:{d:"M205.22 22.09c-7.94-28.78-49.44-30.12-58.44 0C100.01 179.85 0 222.72 0 333.91 0 432.35 78.72 512 176 512s176-79.65 176-178.09c0-111.75-99.79-153.34-146.78-311.82zM176 448c-61.75 0-112-50.25-112-112 0-8.84 7.16-16 16-16s16 7.16 16 16c0 44.11 35.89 80 80 80 8.84 0 16 7.16 16 16s-7.16 16-16 16z"}}]})(t)}function ie(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M501.1 395.7L384 278.6c-23.1-23.1-57.6-27.6-85.4-13.9L192 158.1V96L64 0 0 64l96 128h62.1l106.6 106.6c-13.6 27.8-9.2 62.3 13.9 85.4l117.1 117.1c14.6 14.6 38.2 14.6 52.7 0l52.7-52.7c14.5-14.6 14.5-38.2 0-52.7zM331.7 225c28.3 0 54.9 11 74.9 31l19.4 19.4c15.8-6.9 30.8-16.5 43.8-29.5 37.1-37.1 49.7-89.3 37.9-136.7-2.2-9-13.5-12.1-20.1-5.5l-74.4 74.4-67.9-11.3L334 98.9l74.4-74.4c6.6-6.6 3.4-17.9-5.7-20.2-47.4-11.7-99.6.9-136.6 37.9-28.5 28.5-41.9 66.1-41.2 103.6l82.1 82.1c8.1-1.9 16.5-2.9 24.7-2.9zm-103.9 82l-56.7-56.7L18.7 402.8c-25 25-25 65.5 0 90.5s65.5 25 90.5 0l123.6-123.6c-7.6-19.9-9.9-41.6-5-62.7zM64 472c-13.2 0-24-10.8-24-24 0-13.3 10.7-24 24-24s24 10.7 24 24c0 13.2-10.7 24-24 24z"}}]})(t)}function ae(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M432 32H312l-9.4-18.7A24 24 0 0 0 281.1 0H166.8a23.72 23.72 0 0 0-21.4 13.3L136 32H16A16 16 0 0 0 0 48v32a16 16 0 0 0 16 16h416a16 16 0 0 0 16-16V48a16 16 0 0 0-16-16zM53.2 467a48 48 0 0 0 47.9 45h245.8a48 48 0 0 0 47.9-45L416 128H32z"}}]})(t)}function se(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H448V24c0-13.3-10.7-24-24-24H152c-13.3 0-24 10.7-24 24v40H24C10.7 64 0 74.7 0 88v56c0 35.7 22.5 72.4 61.9 100.7 31.5 22.7 69.8 37.1 110 41.7C203.3 338.5 240 360 240 360v72h-48c-35.3 0-64 20.7-64 56v12c0 6.6 5.4 12 12 12h296c6.6 0 12-5.4 12-12v-12c0-35.3-28.7-56-64-56h-48v-72s36.7-21.5 68.1-73.6c40.3-4.6 78.6-19 110-41.7 39.3-28.3 61.9-65 61.9-100.7V88c0-13.3-10.7-24-24-24zM99.3 192.8C74.9 175.2 64 155.6 64 144v-16h64.2c1 32.6 5.8 61.2 12.8 86.2-15.1-5.2-29.2-12.4-41.7-21.4zM512 144c0 16.1-17.7 36.1-35.3 48.8-12.5 9-26.7 16.2-41.8 21.4 7-25 11.8-53.6 12.8-86.2H512v16z"}}]})(t)}function le(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M631.2 96.5L436.5 0C416.4 27.8 371.9 47.2 320 47.2S223.6 27.8 203.5 0L8.8 96.5c-7.9 4-11.1 13.6-7.2 21.5l57.2 114.5c4 7.9 13.6 11.1 21.5 7.2l56.6-27.7c10.6-5.2 23 2.5 23 14.4V480c0 17.7 14.3 32 32 32h256c17.7 0 32-14.3 32-32V226.3c0-11.8 12.4-19.6 23-14.4l56.6 27.7c7.9 4 17.5.8 21.5-7.2L638.3 118c4-7.9.8-17.6-7.1-21.5z"}}]})(t)}function ce(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M212.333 224.333H12c-6.627 0-12-5.373-12-12V12C0 5.373 5.373 0 12 0h48c6.627 0 12 5.373 12 12v78.112C117.773 39.279 184.26 7.47 258.175 8.007c136.906.994 246.448 111.623 246.157 248.532C504.041 393.258 393.12 504 256.333 504c-64.089 0-122.496-24.313-166.51-64.215-5.099-4.622-5.334-12.554-.467-17.42l33.967-33.967c4.474-4.474 11.662-4.717 16.401-.525C170.76 415.336 211.58 432 256.333 432c97.268 0 176-78.716 176-176 0-97.267-78.716-176-176-176-58.496 0-110.28 28.476-142.274 72.333h98.274c6.627 0 12 5.373 12 12v48c0 6.627-5.373 12-12 12z"}}]})(t)}function ue(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M610.5 373.3c2.6-14.1 2.6-28.5 0-42.6l25.8-14.9c3-1.7 4.3-5.2 3.3-8.5-6.7-21.6-18.2-41.2-33.2-57.4-2.3-2.5-6-3.1-9-1.4l-25.8 14.9c-10.9-9.3-23.4-16.5-36.9-21.3v-29.8c0-3.4-2.4-6.4-5.7-7.1-22.3-5-45-4.8-66.2 0-3.3.7-5.7 3.7-5.7 7.1v29.8c-13.5 4.8-26 12-36.9 21.3l-25.8-14.9c-2.9-1.7-6.7-1.1-9 1.4-15 16.2-26.5 35.8-33.2 57.4-1 3.3.4 6.8 3.3 8.5l25.8 14.9c-2.6 14.1-2.6 28.5 0 42.6l-25.8 14.9c-3 1.7-4.3 5.2-3.3 8.5 6.7 21.6 18.2 41.1 33.2 57.4 2.3 2.5 6 3.1 9 1.4l25.8-14.9c10.9 9.3 23.4 16.5 36.9 21.3v29.8c0 3.4 2.4 6.4 5.7 7.1 22.3 5 45 4.8 66.2 0 3.3-.7 5.7-3.7 5.7-7.1v-29.8c13.5-4.8 26-12 36.9-21.3l25.8 14.9c2.9 1.7 6.7 1.1 9-1.4 15-16.2 26.5-35.8 33.2-57.4 1-3.3-.4-6.8-3.3-8.5l-25.8-14.9zM496 400.5c-26.8 0-48.5-21.8-48.5-48.5s21.8-48.5 48.5-48.5 48.5 21.8 48.5 48.5-21.7 48.5-48.5 48.5zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm201.2 226.5c-2.3-1.2-4.6-2.6-6.8-3.9l-7.9 4.6c-6 3.4-12.8 5.3-19.6 5.3-10.9 0-21.4-4.6-28.9-12.6-18.3-19.8-32.3-43.9-40.2-69.6-5.5-17.7 1.9-36.4 17.9-45.7l7.9-4.6c-.1-2.6-.1-5.2 0-7.8l-7.9-4.6c-16-9.2-23.4-28-17.9-45.7.9-2.9 2.2-5.8 3.2-8.7-3.8-.3-7.5-1.2-11.4-1.2h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c10.1 0 19.5-3.2 27.2-8.5-1.2-3.8-2-7.7-2-11.8v-9.2z"}}]})(t)}function de(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M192 256c61.9 0 112-50.1 112-112S253.9 32 192 32 80 82.1 80 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C51.6 288 0 339.6 0 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zM480 256c53 0 96-43 96-96s-43-96-96-96-96 43-96 96 43 96 96 96zm48 32h-3.8c-13.9 4.8-28.6 8-44.2 8s-30.3-3.2-44.2-8H432c-20.4 0-39.2 5.9-55.7 15.4 24.4 26.3 39.7 61.2 39.7 99.8v38.4c0 2.2-.5 4.3-.6 6.4H592c26.5 0 48-21.5 48-48 0-61.9-50.1-112-112-112z"}}]})(t)}function he(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M622.3 271.1l-115.2-45c-4.1-1.6-12.6-3.7-22.2 0l-115.2 45c-10.7 4.2-17.7 14-17.7 24.9 0 111.6 68.7 188.8 132.9 213.9 9.6 3.7 18 1.6 22.2 0C558.4 489.9 640 420.5 640 296c0-10.9-7-20.7-17.7-24.9zM496 462.4V273.3l95.5 37.3c-5.6 87.1-60.9 135.4-95.5 151.8zM224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm96 40c0-2.5.8-4.8 1.1-7.2-2.5-.1-4.9-.8-7.5-.8h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c6.8 0 13.3-1.5 19.2-4-54-42.9-99.2-116.7-99.2-212z"}}]})(t)}function fe(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"}}]})(t)}function pe(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 640 512"},child:[{tag:"path",attr:{d:"M96 224c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm448 0c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm32 32h-64c-17.6 0-33.5 7.1-45.1 18.6 40.3 22.1 68.9 62 75.1 109.4h66c17.7 0 32-14.3 32-32v-32c0-35.3-28.7-64-64-64zm-256 0c61.9 0 112-50.1 112-112S381.9 32 320 32 208 82.1 208 144s50.1 112 112 112zm76.8 32h-8.3c-20.8 10-43.9 16-68.5 16s-47.6-6-68.5-16h-8.3C179.6 288 128 339.6 128 403.2V432c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48v-28.8c0-63.6-51.6-115.2-115.2-115.2zm-223.7-13.4C161.5 263.1 145.6 256 128 256H64c-35.3 0-64 28.7-64 64v32c0 17.7 14.3 32 32 32h65.9c6.3-47.4 34.9-87.3 75.2-109.4z"}}]})(t)}function ge(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M336.2 64H47.8C21.4 64 0 85.4 0 111.8v288.4C0 426.6 21.4 448 47.8 448h288.4c26.4 0 47.8-21.4 47.8-47.8V111.8c0-26.4-21.4-47.8-47.8-47.8zm189.4 37.7L416 177.3v157.4l109.6 75.5c21.2 14.6 50.4-.3 50.4-25.8V127.5c0-25.4-29.1-40.4-50.4-25.8z"}}]})(t)}function me(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M156.7 256H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h142.2c15.9 0 30.8 10.9 33.4 26.6 3.3 20-12.1 37.4-31.6 37.4-14.1 0-26.1-9.2-30.4-21.9-2.1-6.3-8.6-10.1-15.2-10.1H81.6c-9.8 0-17.7 8.8-15.9 18.4 8.6 44.1 47.6 77.6 94.2 77.6 57.1 0 102.7-50.1 95.2-108.6C249 291 205.4 256 156.7 256zM16 224h336c59.7 0 106.8-54.8 93.8-116.7-7.6-36.2-36.9-65.5-73.1-73.1-55.4-11.6-105.1 24.9-114.9 75.5-1.9 9.6 6.1 18.3 15.8 18.3h32.8c6.7 0 13.1-3.8 15.2-10.1C325.9 105.2 337.9 96 352 96c19.4 0 34.9 17.4 31.6 37.4-2.6 15.7-17.4 26.6-33.4 26.6H16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16zm384 32H243.7c19.3 16.6 33.2 38.8 39.8 64H400c26.5 0 48 21.5 48 48s-21.5 48-48 48c-17.9 0-33.3-9.9-41.6-24.4-2.9-5-8.7-7.6-14.5-7.6h-33.8c-10.9 0-19 10.8-15.3 21.1 17.8 50.6 70.5 84.8 129.4 72.3 41.2-8.7 75.1-41.6 84.7-82.7C526 321.5 470.5 256 400 256z"}}]})(t)}function ve(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 384 512"},child:[{tag:"path",attr:{d:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm144 418c0 3.3-2.7 6-6 6H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h42v36c0 6.6 5.4 12 12 12h168c6.6 0 12-5.4 12-12v-36h42c3.3 0 6 2.7 6 6z"}}]})(t)}function ye(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 576 512"},child:[{tag:"path",attr:{d:"M552 64H112c-20.858 0-38.643 13.377-45.248 32H24c-13.255 0-24 10.745-24 24v272c0 30.928 25.072 56 56 56h496c13.255 0 24-10.745 24-24V88c0-13.255-10.745-24-24-24zM48 392V144h16v248c0 4.411-3.589 8-8 8s-8-3.589-8-8zm480 8H111.422c.374-2.614.578-5.283.578-8V112h416v288zM172 280h136c6.627 0 12-5.373 12-12v-96c0-6.627-5.373-12-12-12H172c-6.627 0-12 5.373-12 12v96c0 6.627 5.373 12 12 12zm28-80h80v40h-80v-40zm-40 140v-24c0-6.627 5.373-12 12-12h136c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H172c-6.627 0-12-5.373-12-12zm192 0v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0-144v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12zm0 72v-24c0-6.627 5.373-12 12-12h104c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12H364c-6.627 0-12-5.373-12-12z"}}]})(t)}function be(t){return(0,r.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V86c0-3.3 2.7-6 6-6h340c3.3 0 6 2.7 6 6v340c0 3.3-2.7 6-6 6z"}}]})(t)}},85421:(t,e,n)=>{"use strict";n.d(e,{$:()=>C});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(64844),l=n(78460),c=n(27264),u=n(13729),d=n(65043),h=n(96938),f=n(42615);const p=["unmountOnExit","in","reverse","className","offsetX","offsetY","transition","transitionEnd","delay","animatePresenceProps"],g={initial:"initial",animate:"enter",exit:"exit",variants:{initial:t=>{var e;let{offsetX:n,offsetY:r,transition:o,transitionEnd:i,delay:a}=t;return{opacity:0,x:n,y:r,transition:null!==(e=null===o||void 0===o?void 0:o.exit)&&void 0!==e?e:f.yA.exit(f.jd.exit,a),transitionEnd:null===i||void 0===i?void 0:i.exit}},enter:t=>{var e;let{transition:n,transitionEnd:r,delay:o}=t;return{opacity:1,x:0,y:0,transition:null!==(e=null===n||void 0===n?void 0:n.enter)&&void 0!==e?e:f.yA.enter(f.jd.enter,o),transitionEnd:null===r||void 0===r?void 0:r.enter}},exit:t=>{var e;let{offsetY:n,offsetX:o,transition:i,transitionEnd:a,reverse:s,delay:l}=t;const c={x:o,y:n};return(0,r.A)({opacity:0,transition:null!==(e=null===i||void 0===i?void 0:i.exit)&&void 0!==e?e:f.yA.exit(f.jd.exit,l)},s?(0,r.A)((0,r.A)({},c),{},{transitionEnd:null===a||void 0===a?void 0:a.exit}):{transitionEnd:(0,r.A)((0,r.A)({},c),null===a||void 0===a?void 0:a.exit)})}}};(0,d.forwardRef)(function(t,e){const{unmountOnExit:n,in:a,reverse:l=!0,className:c,offsetX:d=0,offsetY:f=8,transition:m,transitionEnd:v,delay:y,animatePresenceProps:b}=t,x=(0,o.A)(t,p),w=!n||a&&n,k=a||n?"enter":"exit",A={offsetX:d,offsetY:f,reverse:l,transition:m,transitionEnd:v,delay:y};return(0,i.jsx)(h.N,(0,r.A)((0,r.A)({},b),{},{custom:A,children:w&&(0,i.jsx)(u.P.div,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-offset-slide",c),custom:A},g),{},{animate:k},x))}))}).displayName="SlideFade";const m=["unmountOnExit","in","reverse","initialScale","className","transition","transitionEnd","delay","animatePresenceProps"],v={initial:"exit",animate:"enter",exit:"exit",variants:{exit:t=>{var e;let{reverse:n,initialScale:o,transition:i,transitionEnd:a,delay:s}=t;return(0,r.A)((0,r.A)({opacity:0},n?{scale:o,transitionEnd:null===a||void 0===a?void 0:a.exit}:{transitionEnd:(0,r.A)({scale:o},null===a||void 0===a?void 0:a.exit)}),{},{transition:null!==(e=null===i||void 0===i?void 0:i.exit)&&void 0!==e?e:f.yA.exit(f.jd.exit,s)})},enter:t=>{var e;let{transitionEnd:n,transition:r,delay:o}=t;return{opacity:1,scale:1,transition:null!==(e=null===r||void 0===r?void 0:r.enter)&&void 0!==e?e:f.yA.enter(f.jd.enter,o),transitionEnd:null===n||void 0===n?void 0:n.enter}}}};(0,d.forwardRef)(function(t,e){const{unmountOnExit:n,in:a,reverse:l=!0,initialScale:c=.95,className:d,transition:f,transitionEnd:p,delay:g,animatePresenceProps:y}=t,b=(0,o.A)(t,m),x=!n||a&&n,w=a||n?"enter":"exit",k={initialScale:c,reverse:l,transition:f,transitionEnd:p,delay:g};return(0,i.jsx)(h.N,(0,r.A)((0,r.A)({},y),{},{custom:k,children:x&&(0,i.jsx)(u.P.div,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-offset-slide",d)},v),{},{animate:w,custom:k},b))}))}).displayName="ScaleFade";var y=n(52695);const b=["preset","motionProps"],x={slideInBottom:(0,r.A)((0,r.A)({},g),{},{custom:{offsetY:16,reverse:!0}}),slideInRight:(0,r.A)((0,r.A)({},g),{},{custom:{offsetX:16,reverse:!0}}),slideInTop:(0,r.A)((0,r.A)({},g),{},{custom:{offsetY:-16,reverse:!0}}),slideInLeft:(0,r.A)((0,r.A)({},g),{},{custom:{offsetX:-16,reverse:!0}}),scale:(0,r.A)((0,r.A)({},v),{},{custom:{initialScale:.95,reverse:!0}}),none:{}},w=(0,y.B)(u.P.section),k=t=>x[t||"none"],A=(0,d.forwardRef)((t,e)=>{const{preset:n,motionProps:a=k(n)}=t,s=(0,o.A)(t,b);return(0,i.jsx)(w,(0,r.A)((0,r.A)({ref:e},a),s))});A.displayName="ModalTransition";var _=n(55003);const S=["className","children","containerProps","motionProps"],C=(0,_.R)((t,e)=>{const{className:n,children:u,containerProps:d,motionProps:h}=t,f=(0,o.A)(t,S),{getDialogProps:p,getDialogContainerProps:g}=(0,l.k3)(),m=p(f,e),v=g(d),b=(0,s.cx)("chakra-modal__content",n),x=(0,l.x5)(),w=(0,a.H2)((0,r.A)({display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0},x.dialog)),k=(0,a.H2)((0,r.A)({display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0},x.dialogContainer)),{motionPreset:_}=(0,l.k3)();return(0,i.jsx)(c.u,{children:(0,i.jsx)(y.B.div,(0,r.A)((0,r.A)({},v),{},{className:"chakra-modal__content-container",tabIndex:-1,__css:k,children:(0,i.jsx)(A,(0,r.A)((0,r.A)({preset:_,motionProps:h,className:b},m),{},{__css:w,children:u}))}))})});C.displayName="ModalContent"},85871:(t,e,n)=>{"use strict";n.d(e,{_:()=>l});var r=n(89379),o=n(70579),i=n(64844),a=n(78360),s=n(52695);function l(t){const{status:e}=(0,a.ZM)(),n=(0,a.cR)(e),l=(0,a.mC)(),c="loading"===e?l.spinner:l.icon;return(0,o.jsx)(s.B.span,(0,r.A)((0,r.A)({display:"inherit","data-status":e},t),{},{className:(0,i.cx)("chakra-alert__icon",t.className),__css:c,children:t.children||(0,o.jsx)(n,{h:"100%",w:"100%"})}))}l.displayName="AlertIcon"},86179:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},86219:(t,e,n)=>{"use strict";function r(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];e.forEach(t=>null===t||void 0===t?void 0:t(...n))}}function o(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){e.some(e=>(null===e||void 0===e||e(t),null===t||void 0===t?void 0:t.defaultPrevented))}}n.d(e,{H:()=>o,O:()=>r})},86236:(t,e,n)=>{"use strict";n.d(e,{I:()=>f});var r=n(80045),o=n(89379),i=n(70579),a=n(64844),s=n(59883),l=n(41282),c=n(55003),u=n(52695);const d=["children","as"],h=(0,c.R)((t,e)=>{const n=(0,s.$)();return(0,i.jsx)(u.B.button,(0,o.A)((0,o.A)({ref:e},t),{},{__css:(0,o.A)({display:"inline-flex",appearance:"none",alignItems:"center",outline:0},n.button)}))}),f=(0,c.R)((t,e)=>{const{children:n,as:s}=t,c=(0,r.A)(t,d),f=(0,l.db)(c,e),p=s||h;return(0,i.jsx)(p,(0,o.A)((0,o.A)({},f),{},{className:(0,a.cx)("chakra-menu__menu-button",t.className),children:(0,i.jsx)(u.B.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:t.children})}))});f.displayName="MenuButton"},87139:(t,e,n)=>{"use strict";n.d(e,{E:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className"],h=(0,l.R)(function(t,e){const n=(0,c.V)("Badge",t),l=(0,a.M)(t),{className:h}=l,f=(0,o.A)(l,d);return(0,i.jsx)(u.B.span,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-badge",t.className)},f),{},{__css:(0,r.A)({display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle"},n)}))});h.displayName="Badge"},87381:(t,e,n)=>{"use strict";n.d(e,{U:()=>a});var r=n(89379),o=n(65043),i=n(12923);function a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{ssr:n=!0,fallback:a}=e,{getWindow:s}=(0,i.O)(),l=Array.isArray(t)?t:[t];let c=Array.isArray(a)?a:[a];c=c.filter(t=>null!=t);const[u,d]=(0,o.useState)(()=>l.map((t,e)=>({media:t,matches:n?!!c[e]:s().matchMedia(t).matches})));return(0,o.useEffect)(()=>{const t=s();d(l.map(e=>({media:e,matches:t.matchMedia(e).matches})));const e=l.map(e=>t.matchMedia(e)),n=t=>{d(e=>e.slice().map(e=>e.media===t.media?(0,r.A)((0,r.A)({},e),{},{matches:t.matches}):e))};return e.forEach(t=>{"function"===typeof t.addListener?t.addListener(n):t.addEventListener("change",n)}),()=>{e.forEach(t=>{"function"===typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)})}},[s]),u.map(t=>t.matches)}},87563:t=>{t.exports=function(){this.__data__=[],this.size=0}},87937:(t,e,n)=>{var r=n(36954),o=n(14657);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},87977:(t,e,n)=>{"use strict";n.d(e,{A:()=>st});const{entries:r,setPrototypeOf:o,isFrozen:i,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object;let{freeze:l,seal:c,create:u}=Object,{apply:d,construct:h}="undefined"!==typeof Reflect&&Reflect;l||(l=function(t){return t}),c||(c=function(t){return t}),d||(d=function(t,e,n){return t.apply(e,n)}),h||(h=function(t,e){return new t(...e)});const f=O(Array.prototype.forEach),p=O(Array.prototype.lastIndexOf),g=O(Array.prototype.pop),m=O(Array.prototype.push),v=O(Array.prototype.splice),y=O(String.prototype.toLowerCase),b=O(String.prototype.toString),x=O(String.prototype.match),w=O(String.prototype.replace),k=O(String.prototype.indexOf),A=O(String.prototype.trim),_=O(Object.prototype.hasOwnProperty),S=O(RegExp.prototype.test),C=(E=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return h(E,e)});var E;function O(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return d(t,e,r)}}function P(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y;o&&o(t,null);let r=e.length;for(;r--;){let o=e[r];if("string"===typeof o){const t=n(o);t!==o&&(i(e)||(e[r]=t),o=t)}t[o]=!0}return t}function M(t){for(let e=0;e<t.length;e++){_(t,e)||(t[e]=null)}return t}function T(t){const e=u(null);for(const[n,o]of r(t)){_(t,n)&&(Array.isArray(o)?e[n]=M(o):o&&"object"===typeof o&&o.constructor===Object?e[n]=T(o):e[n]=o)}return e}function N(t,e){for(;null!==t;){const n=s(t,e);if(n){if(n.get)return O(n.get);if("function"===typeof n.value)return O(n.value)}t=a(t)}return function(){return null}}const R=l(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),L=l(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),D=l(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),j=l(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=l(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),z=l(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),B=l(["#text"]),F=l(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),H=l(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),V=l(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),q=l(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),U=c(/\{\{[\w\W]*|[\w\W]*\}\}/gm),W=c(/<%[\w\W]*|[\w\W]*%>/gm),G=c(/\$\{[\w\W]*/gm),Y=c(/^data-[\-\w.\u00B7-\uFFFF]+$/),K=c(/^aria-[\-\w]+$/),$=c(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),X=c(/^(?:\w+script|data):/i),Q=c(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Z=c(/^html$/i),J=c(/^[a-z][.\w]*(-[.\w]+)+$/i);var tt=Object.freeze({__proto__:null,ARIA_ATTR:K,ATTR_WHITESPACE:Q,CUSTOM_ELEMENT:J,DATA_ATTR:Y,DOCTYPE_NAME:Z,ERB_EXPR:W,IS_ALLOWED_URI:$,IS_SCRIPT_OR_DATA:X,MUSTACHE_EXPR:U,TMPLIT_EXPR:G});const et=1,nt=3,rt=7,ot=8,it=9,at=function(){return"undefined"===typeof window?null:window};var st=function t(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:at();const n=e=>t(e);if(n.version="3.2.6",n.removed=[],!e||!e.document||e.document.nodeType!==it||!e.Element)return n.isSupported=!1,n;let{document:o}=e;const i=o,a=i.currentScript,{DocumentFragment:s,HTMLTemplateElement:c,Node:d,Element:h,NodeFilter:E,NamedNodeMap:O=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:M,DOMParser:U,trustedTypes:W}=e,G=h.prototype,Y=N(G,"cloneNode"),K=N(G,"remove"),X=N(G,"nextSibling"),Q=N(G,"childNodes"),J=N(G,"parentNode");if("function"===typeof c){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let st,lt="";const{implementation:ct,createNodeIterator:ut,createDocumentFragment:dt,getElementsByTagName:ht}=o,{importNode:ft}=i;let pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"===typeof r&&"function"===typeof J&&ct&&void 0!==ct.createHTMLDocument;const{MUSTACHE_EXPR:gt,ERB_EXPR:mt,TMPLIT_EXPR:vt,DATA_ATTR:yt,ARIA_ATTR:bt,IS_SCRIPT_OR_DATA:xt,ATTR_WHITESPACE:wt,CUSTOM_ELEMENT:kt}=tt;let{IS_ALLOWED_URI:At}=tt,_t=null;const St=P({},[...R,...L,...D,...I,...B]);let Ct=null;const Et=P({},[...F,...H,...V,...q]);let Ot=Object.seal(u(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Pt=null,Mt=null,Tt=!0,Nt=!0,Rt=!1,Lt=!0,Dt=!1,jt=!0,It=!1,zt=!1,Bt=!1,Ft=!1,Ht=!1,Vt=!1,qt=!0,Ut=!1,Wt=!0,Gt=!1,Yt={},Kt=null;const $t=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Xt=null;const Qt=P({},["audio","video","img","source","image","track"]);let Zt=null;const Jt=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),te="http://www.w3.org/1998/Math/MathML",ee="http://www.w3.org/2000/svg",ne="http://www.w3.org/1999/xhtml";let re=ne,oe=!1,ie=null;const ae=P({},[te,ee,ne],b);let se=P({},["mi","mo","mn","ms","mtext"]),le=P({},["annotation-xml"]);const ce=P({},["title","style","font","a","script"]);let ue=null;const de=["application/xhtml+xml","text/html"];let he=null,fe=null;const pe=o.createElement("form"),ge=function(t){return t instanceof RegExp||t instanceof Function},me=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!fe||fe!==t){if(t&&"object"===typeof t||(t={}),t=T(t),ue=-1===de.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,he="application/xhtml+xml"===ue?b:y,_t=_(t,"ALLOWED_TAGS")?P({},t.ALLOWED_TAGS,he):St,Ct=_(t,"ALLOWED_ATTR")?P({},t.ALLOWED_ATTR,he):Et,ie=_(t,"ALLOWED_NAMESPACES")?P({},t.ALLOWED_NAMESPACES,b):ae,Zt=_(t,"ADD_URI_SAFE_ATTR")?P(T(Jt),t.ADD_URI_SAFE_ATTR,he):Jt,Xt=_(t,"ADD_DATA_URI_TAGS")?P(T(Qt),t.ADD_DATA_URI_TAGS,he):Qt,Kt=_(t,"FORBID_CONTENTS")?P({},t.FORBID_CONTENTS,he):$t,Pt=_(t,"FORBID_TAGS")?P({},t.FORBID_TAGS,he):T({}),Mt=_(t,"FORBID_ATTR")?P({},t.FORBID_ATTR,he):T({}),Yt=!!_(t,"USE_PROFILES")&&t.USE_PROFILES,Tt=!1!==t.ALLOW_ARIA_ATTR,Nt=!1!==t.ALLOW_DATA_ATTR,Rt=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Lt=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Dt=t.SAFE_FOR_TEMPLATES||!1,jt=!1!==t.SAFE_FOR_XML,It=t.WHOLE_DOCUMENT||!1,Ft=t.RETURN_DOM||!1,Ht=t.RETURN_DOM_FRAGMENT||!1,Vt=t.RETURN_TRUSTED_TYPE||!1,Bt=t.FORCE_BODY||!1,qt=!1!==t.SANITIZE_DOM,Ut=t.SANITIZE_NAMED_PROPS||!1,Wt=!1!==t.KEEP_CONTENT,Gt=t.IN_PLACE||!1,At=t.ALLOWED_URI_REGEXP||$,re=t.NAMESPACE||ne,se=t.MATHML_TEXT_INTEGRATION_POINTS||se,le=t.HTML_INTEGRATION_POINTS||le,Ot=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Ot.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ge(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Ot.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"===typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(Ot.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Dt&&(Nt=!1),Ht&&(Ft=!0),Yt&&(_t=P({},B),Ct=[],!0===Yt.html&&(P(_t,R),P(Ct,F)),!0===Yt.svg&&(P(_t,L),P(Ct,H),P(Ct,q)),!0===Yt.svgFilters&&(P(_t,D),P(Ct,H),P(Ct,q)),!0===Yt.mathMl&&(P(_t,I),P(Ct,V),P(Ct,q))),t.ADD_TAGS&&(_t===St&&(_t=T(_t)),P(_t,t.ADD_TAGS,he)),t.ADD_ATTR&&(Ct===Et&&(Ct=T(Ct)),P(Ct,t.ADD_ATTR,he)),t.ADD_URI_SAFE_ATTR&&P(Zt,t.ADD_URI_SAFE_ATTR,he),t.FORBID_CONTENTS&&(Kt===$t&&(Kt=T(Kt)),P(Kt,t.FORBID_CONTENTS,he)),Wt&&(_t["#text"]=!0),It&&P(_t,["html","head","body"]),_t.table&&(P(_t,["tbody"]),delete Pt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!==typeof t.TRUSTED_TYPES_POLICY.createHTML)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!==typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');st=t.TRUSTED_TYPES_POLICY,lt=st.createHTML("")}else void 0===st&&(st=function(t,e){if("object"!==typeof t||"function"!==typeof t.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";e&&e.hasAttribute(r)&&(n=e.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML:t=>t,createScriptURL:t=>t})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(W,a)),null!==st&&"string"===typeof lt&&(lt=st.createHTML(""));l&&l(t),fe=t}},ve=P({},[...L,...D,...j]),ye=P({},[...I,...z]),be=function(t){m(n.removed,{element:t});try{J(t).removeChild(t)}catch(e){K(t)}},xe=function(t,e){try{m(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(r){m(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t)if(Ft||Ht)try{be(e)}catch(r){}else try{e.setAttribute(t,"")}catch(r){}},we=function(t){let e=null,n=null;if(Bt)t="<remove></remove>"+t;else{const e=x(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===ue&&re===ne&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const r=st?st.createHTML(t):t;if(re===ne)try{e=(new U).parseFromString(r,ue)}catch(a){}if(!e||!e.documentElement){e=ct.createDocument(re,"template",null);try{e.documentElement.innerHTML=oe?lt:r}catch(a){}}const i=e.body||e.documentElement;return t&&n&&i.insertBefore(o.createTextNode(n),i.childNodes[0]||null),re===ne?ht.call(e,It?"html":"body")[0]:It?e.documentElement:i},ke=function(t){return ut.call(t.ownerDocument||t,t,E.SHOW_ELEMENT|E.SHOW_COMMENT|E.SHOW_TEXT|E.SHOW_PROCESSING_INSTRUCTION|E.SHOW_CDATA_SECTION,null)},Ae=function(t){return t instanceof M&&("string"!==typeof t.nodeName||"string"!==typeof t.textContent||"function"!==typeof t.removeChild||!(t.attributes instanceof O)||"function"!==typeof t.removeAttribute||"function"!==typeof t.setAttribute||"string"!==typeof t.namespaceURI||"function"!==typeof t.insertBefore||"function"!==typeof t.hasChildNodes)},_e=function(t){return"function"===typeof d&&t instanceof d};function Se(t,e,r){f(t,t=>{t.call(n,e,r,fe)})}const Ce=function(t){let e=null;if(Se(pt.beforeSanitizeElements,t,null),Ae(t))return be(t),!0;const r=he(t.nodeName);if(Se(pt.uponSanitizeElement,t,{tagName:r,allowedTags:_t}),jt&&t.hasChildNodes()&&!_e(t.firstElementChild)&&S(/<[/\w!]/g,t.innerHTML)&&S(/<[/\w!]/g,t.textContent))return be(t),!0;if(t.nodeType===rt)return be(t),!0;if(jt&&t.nodeType===ot&&S(/<[/\w]/g,t.data))return be(t),!0;if(!_t[r]||Pt[r]){if(!Pt[r]&&Oe(r)){if(Ot.tagNameCheck instanceof RegExp&&S(Ot.tagNameCheck,r))return!1;if(Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(r))return!1}if(Wt&&!Kt[r]){const e=J(t)||t.parentNode,n=Q(t)||t.childNodes;if(n&&e){for(let r=n.length-1;r>=0;--r){const o=Y(n[r],!0);o.__removalCount=(t.__removalCount||0)+1,e.insertBefore(o,X(t))}}}return be(t),!0}return t instanceof h&&!function(t){let e=J(t);e&&e.tagName||(e={namespaceURI:re,tagName:"template"});const n=y(t.tagName),r=y(e.tagName);return!!ie[t.namespaceURI]&&(t.namespaceURI===ee?e.namespaceURI===ne?"svg"===n:e.namespaceURI===te?"svg"===n&&("annotation-xml"===r||se[r]):Boolean(ve[n]):t.namespaceURI===te?e.namespaceURI===ne?"math"===n:e.namespaceURI===ee?"math"===n&&le[r]:Boolean(ye[n]):t.namespaceURI===ne?!(e.namespaceURI===ee&&!le[r])&&!(e.namespaceURI===te&&!se[r])&&!ye[n]&&(ce[n]||!ve[n]):!("application/xhtml+xml"!==ue||!ie[t.namespaceURI]))}(t)?(be(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!S(/<\/no(script|embed|frames)/i,t.innerHTML)?(Dt&&t.nodeType===nt&&(e=t.textContent,f([gt,mt,vt],t=>{e=w(e,t," ")}),t.textContent!==e&&(m(n.removed,{element:t.cloneNode()}),t.textContent=e)),Se(pt.afterSanitizeElements,t,null),!1):(be(t),!0)},Ee=function(t,e,n){if(qt&&("id"===e||"name"===e)&&(n in o||n in pe))return!1;if(Nt&&!Mt[e]&&S(yt,e));else if(Tt&&S(bt,e));else if(!Ct[e]||Mt[e]){if(!(Oe(t)&&(Ot.tagNameCheck instanceof RegExp&&S(Ot.tagNameCheck,t)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(t))&&(Ot.attributeNameCheck instanceof RegExp&&S(Ot.attributeNameCheck,e)||Ot.attributeNameCheck instanceof Function&&Ot.attributeNameCheck(e))||"is"===e&&Ot.allowCustomizedBuiltInElements&&(Ot.tagNameCheck instanceof RegExp&&S(Ot.tagNameCheck,n)||Ot.tagNameCheck instanceof Function&&Ot.tagNameCheck(n))))return!1}else if(Zt[e]);else if(S(At,w(n,wt,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==k(n,"data:")||!Xt[t]){if(Rt&&!S(xt,w(n,wt,"")));else if(n)return!1}else;return!0},Oe=function(t){return"annotation-xml"!==t&&x(t,kt)},Pe=function(t){Se(pt.beforeSanitizeAttributes,t,null);const{attributes:e}=t;if(!e||Ae(t))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Ct,forceKeepAttr:void 0};let o=e.length;for(;o--;){const a=e[o],{name:s,namespaceURI:l,value:c}=a,u=he(s),d=c;let h="value"===s?d:A(d);if(r.attrName=u,r.attrValue=h,r.keepAttr=!0,r.forceKeepAttr=void 0,Se(pt.uponSanitizeAttribute,t,r),h=r.attrValue,!Ut||"id"!==u&&"name"!==u||(xe(s,t),h="user-content-"+h),jt&&S(/((--!?|])>)|<\/(style|title)/i,h)){xe(s,t);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){xe(s,t);continue}if(!Lt&&S(/\/>/i,h)){xe(s,t);continue}Dt&&f([gt,mt,vt],t=>{h=w(h,t," ")});const p=he(t.nodeName);if(Ee(p,u,h)){if(st&&"object"===typeof W&&"function"===typeof W.getAttributeType)if(l);else switch(W.getAttributeType(p,u)){case"TrustedHTML":h=st.createHTML(h);break;case"TrustedScriptURL":h=st.createScriptURL(h)}if(h!==d)try{l?t.setAttributeNS(l,s,h):t.setAttribute(s,h),Ae(t)?be(t):g(n.removed)}catch(i){xe(s,t)}}else xe(s,t)}Se(pt.afterSanitizeAttributes,t,null)},Me=function t(e){let n=null;const r=ke(e);for(Se(pt.beforeSanitizeShadowDOM,e,null);n=r.nextNode();)Se(pt.uponSanitizeShadowNode,n,null),Ce(n),Pe(n),n.content instanceof s&&t(n.content);Se(pt.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,a=null,l=null;if(oe=!t,oe&&(t="\x3c!--\x3e"),"string"!==typeof t&&!_e(t)){if("function"!==typeof t.toString)throw C("toString is not a function");if("string"!==typeof(t=t.toString()))throw C("dirty is not a string, aborting")}if(!n.isSupported)return t;if(zt||me(e),n.removed=[],"string"===typeof t&&(Gt=!1),Gt){if(t.nodeName){const e=he(t.nodeName);if(!_t[e]||Pt[e])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)r=we("\x3c!----\x3e"),o=r.ownerDocument.importNode(t,!0),o.nodeType===et&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Ft&&!Dt&&!It&&-1===t.indexOf("<"))return st&&Vt?st.createHTML(t):t;if(r=we(t),!r)return Ft?null:Vt?lt:""}r&&Bt&&be(r.firstChild);const c=ke(Gt?t:r);for(;a=c.nextNode();)Ce(a),Pe(a),a.content instanceof s&&Me(a.content);if(Gt)return t;if(Ft){if(Ht)for(l=dt.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(Ct.shadowroot||Ct.shadowrootmode)&&(l=ft.call(i,l,!0)),l}let u=It?r.outerHTML:r.innerHTML;return It&&_t["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&S(Z,r.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+u),Dt&&f([gt,mt,vt],t=>{u=w(u,t," ")}),st&&Vt?st.createHTML(u):u},n.setConfig=function(){me(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),zt=!0},n.clearConfig=function(){fe=null,zt=!1},n.isValidAttribute=function(t,e,n){fe||me({});const r=he(t),o=he(e);return Ee(r,o,n)},n.addHook=function(t,e){"function"===typeof e&&m(pt[t],e)},n.removeHook=function(t,e){if(void 0!==e){const n=p(pt[t],e);return-1===n?void 0:v(pt[t],n,1)[0]}return g(pt[t])},n.removeHooks=function(t){pt[t]=[]},n.removeAllHooks=function(){pt={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}()},87988:(t,e,n)=>{"use strict";n.d(e,{II:()=>u,v_:()=>s,wm:()=>c});var r=n(82540),o=n(10585),i=n(68664);function a(t){return Math.min(1e3*2**t,3e4)}function s(t){return"online"!==(null!=t?t:"online")||o.t.isOnline()}class l{constructor(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent}}function c(t){return t instanceof l}function u(t){let e,n,c,u=!1,d=0,h=!1;const f=new Promise((t,e)=>{n=t,c=e}),p=()=>!r.m.isFocused()||"always"!==t.networkMode&&!o.t.isOnline(),g=r=>{h||(h=!0,null==t.onSuccess||t.onSuccess(r),null==e||e(),n(r))},m=n=>{h||(h=!0,null==t.onError||t.onError(n),null==e||e(),c(n))},v=()=>new Promise(n=>{e=t=>{const e=h||!p();return e&&n(t),e},null==t.onPause||t.onPause()}).then(()=>{e=void 0,h||null==t.onContinue||t.onContinue()}),y=()=>{if(h)return;let e;try{e=t.fn()}catch(n){e=Promise.reject(n)}Promise.resolve(e).then(g).catch(e=>{var n,r;if(h)return;const o=null!=(n=t.retry)?n:3,s=null!=(r=t.retryDelay)?r:a,l="function"===typeof s?s(d,e):s,c=!0===o||"number"===typeof o&&d<o||"function"===typeof o&&o(d,e);!u&&c?(d++,null==t.onFail||t.onFail(d,e),(0,i.yy)(l).then(()=>{if(p())return v()}).then(()=>{u?m(e):y()})):m(e)})};return s(t.networkMode)?y():v().then(y),{promise:f,cancel:e=>{h||(m(new l(e)),null==t.abort||t.abort())},continue:()=>(null==e?void 0:e())?f:Promise.resolve(),cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1}}}},88019:(t,e,n)=>{"use strict";n.d(e,{k:()=>b});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(92970),l=n(83290);(0,l.i7)({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),(0,l.i7)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});const c=(0,l.i7)({"0%":{left:"-40%"},"100%":{left:"100%"}}),u=(0,l.i7)({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});var d=n(55003),h=n(52695),f=n(36059);const p=["min","max","value","isIndeterminate","role"],g=["value","min","max","hasStripe","isAnimated","children","borderRadius","isIndeterminate","aria-label","aria-labelledby","aria-valuetext","title","role"],[m,v]=(0,s.q)({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Progress />\" "}),y=(0,d.R)((t,e)=>{const{min:n,max:a,value:s,isIndeterminate:l,role:c}=t,u=(0,o.A)(t,p),d=function(t){const{value:e=0,min:n,max:r,valueText:o,getValueText:i,isIndeterminate:a,role:s="progressbar"}=t,l=function(t,e,n){return 100*(t-e)/(n-e)}(e,n,r);return{bind:{"data-indeterminate":a?"":void 0,"aria-valuemax":r,"aria-valuemin":n,"aria-valuenow":a?void 0:e,"aria-valuetext":(()=>{if(null!=e)return"function"===typeof i?i(e,l):o})(),role:s},percent:l,value:e}}({value:s,min:n,max:a,isIndeterminate:l,role:c}),f=v(),g=(0,r.A)({height:"100%"},f.filledTrack);return(0,i.jsx)(h.B.div,(0,r.A)((0,r.A)((0,r.A)({ref:e,style:(0,r.A)({width:"".concat(d.percent,"%")},u.style)},d.bind),u),{},{__css:g}))}),b=(0,d.R)((t,e)=>{var n;const s=(0,a.M)(t),{value:l,min:d=0,max:p=100,hasStripe:v,isAnimated:b,children:x,borderRadius:w,isIndeterminate:k,"aria-label":A,"aria-labelledby":_,"aria-valuetext":S,title:C,role:E}=s,O=(0,o.A)(s,g),P=(0,f.o)("Progress",t),M=null!==w&&void 0!==w?w:null===(n=P.track)||void 0===n?void 0:n.borderRadius,T={animation:"".concat(u," 1s linear infinite")},N=!k&&v&&b,R=(0,r.A)((0,r.A)({},N&&T),k&&{position:"absolute",willChange:"left",minWidth:"50%",animation:"".concat(c," 1s ease infinite normal none running")}),L=(0,r.A)({overflow:"hidden",position:"relative"},P.track);return(0,i.jsx)(h.B.div,(0,r.A)((0,r.A)({ref:e,borderRadius:M,__css:L},O),{},{children:(0,i.jsxs)(m,{value:P,children:[(0,i.jsx)(y,{"aria-label":A,"aria-labelledby":_,"aria-valuetext":S,min:d,max:p,value:l,isIndeterminate:k,css:R,borderRadius:M,title:C,role:E}),x]})}))});b.displayName="Progress"},88306:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Share2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},88787:(t,e,n)=>{"use strict";n.d(e,{F:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(56294),l=n(64844),c=n(78360),u=n(36059),d=n(55003),h=n(52695);const f=["status","addRole"],p=(0,d.R)(function(t,e){var n;const d=(0,s.M)(t),{status:p="info",addRole:g=!0}=d,m=(0,o.A)(d,f),v=null!==(n=t.colorScheme)&&void 0!==n?n:(0,c.He)(p),y=(0,u.o)("Alert",(0,r.A)((0,r.A)({},t),{},{colorScheme:v})),b=(0,a.H2)((0,r.A)({width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden"},y.container));return(0,i.jsx)(c.Sw,{value:{status:p},children:(0,i.jsx)(c._N,{value:y,children:(0,i.jsx)(h.B.div,(0,r.A)((0,r.A)({"data-status":p,role:g?"alert":void 0,ref:e},m),{},{className:(0,l.cx)("chakra-alert",t.className),__css:b}))})})});p.displayName="Alert"},89379:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(54705);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){(0,r.A)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}},89576:()=>{},90221:(t,e,n)=>{"use strict";n.d(e,{U:()=>o});var r=n(65043);const o=Boolean(null===globalThis||void 0===globalThis?void 0:globalThis.document)?r.useLayoutEffect:r.useEffect},91176:(t,e,n)=>{"use strict";n.d(e,{o:()=>o});var r=n(62316);function o(t,e){const n=(0,r.a)(t,null===e||void 0===e?void 0:e.in);return n.setHours(0,0,0,0),n}},91208:(t,e,n)=>{"use strict";n.d(e,{a:()=>o});var r=n(92885);function o(t,e,n){return(0,r.P)(t,-e,n)}},91432:(t,e,n)=>{"use strict";n.d(e,{a:()=>o});var r=n(65043);function o(t){return r.Children.toArray(t).filter(t=>(0,r.isValidElement)(t))}},91751:(t,e,n)=>{"use strict";n.d(e,{C:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className"],h=(0,l.R)(function(t,e){const n=(0,c.V)("Code",t),l=(0,a.M)(t),{className:h}=l,f=(0,o.A)(l,d);return(0,i.jsx)(u.B.code,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-code",t.className)},f),{},{__css:(0,r.A)({display:"inline-block"},n)}))});h.displayName="Code"},91765:(t,e,n)=>{"use strict";n.d(e,{h:()=>b});var r=n(89379),o=n(80045),i=n(70579),a=n(79953),s=n(86219),l=n(64844),c=n(9957),u=n(13729),d=n(52695),h=n(55003);const f=["variants"];function p(t){if(t)return{enter:(0,r.A)((0,r.A)({},t.enter),{},{visibility:"visible"}),exit:(0,r.A)((0,r.A)({},t.exit),{},{transitionEnd:{visibility:"hidden"}})}}const g={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},m=(0,d.B)(u.P.section),v=(0,h.R)(function(t,e){const{variants:n=g}=t,a=(0,o.A)(t,f),{isOpen:s}=(0,c.C_)();return(0,i.jsx)(m,(0,r.A)({ref:e,variants:p(n),initial:!1,animate:s?"enter":"exit"},a))});v.displayName="PopoverTransition";const y=["rootProps","motionProps"],b=(0,h.R)(function(t,e){const{rootProps:n,motionProps:u}=t,h=(0,o.A)(t,y),{getPopoverProps:f,getPopoverPositionerProps:p,onAnimationComplete:g}=(0,c.C_)(),m=(0,c.jm)(),b=(0,a.H2)((0,r.A)({position:"relative",display:"flex",flexDirection:"column"},m.content));return(0,i.jsx)(d.B.div,(0,r.A)((0,r.A)({},p(n)),{},{__css:m.popper,className:"chakra-popover__popper",children:(0,i.jsx)(v,(0,r.A)((0,r.A)((0,r.A)({},u),f(h,e)),{},{onAnimationComplete:(0,s.O)(g,h.onAnimationComplete),className:(0,l.cx)("chakra-popover__content",t.className),__css:b}))}))});b.displayName="PopoverContent"},91872:(t,e,n)=>{"use strict";n.d(e,{c:()=>m});var r=n(89379),o=n(80045),i=n(70579),a=n(86219),s=n(64844),l=n(13729),c=n(59883),u=n(41282),d=n(52695),h=n(55003);const f=["rootProps","motionProps"],p={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},g=(0,d.B)(l.P.div),m=(0,h.R)(function(t,e){var n,l;const{rootProps:h,motionProps:m}=t,v=(0,o.A)(t,f),{isOpen:y,onTransitionEnd:b,unstable__animationState:x}=(0,u.KZ)(),w=(0,u.jy)(v,e),k=(0,u.F9)(h),A=(0,c.$)();return(0,i.jsx)(d.B.div,(0,r.A)((0,r.A)({},k),{},{__css:{zIndex:null!==(n=t.zIndex)&&void 0!==n?n:null===(l=A.list)||void 0===l?void 0:l.zIndex},children:(0,i.jsx)(g,(0,r.A)((0,r.A)((0,r.A)({variants:p,initial:!1,animate:y?"enter":"exit",__css:(0,r.A)({outline:0},A.list)},m),w),{},{className:(0,s.cx)("chakra-menu__menu-list",w.className),onUpdate:b,onAnimationComplete:(0,a.O)(x.onComplete,w.onAnimationComplete)}))}))});m.displayName="MenuList"},91933:(t,e,n)=>{"use strict";n.d(e,{q:()=>l});var r=n(89379),o=n(70579),i=n(64844),a=n(9957),s=n(15707);const l=(0,n(55003).R)(function(t,e){const{onClose:n}=(0,a.C_)(),l=(0,a.jm)();return(0,o.jsx)(s.J,(0,r.A)({size:"sm",onClick:n,className:(0,i.cx)("chakra-popover__close-btn",t.className),__css:l.closeButton,ref:e},t))});l.displayName="PopoverCloseButton"},92293:(t,e,n)=>{"use strict";n.d(e,{G:()=>r});const r=(0,n(14010).w)({d:"M23.555,8.729a1.505,1.505,0,0,0-1.406-.98H16.062a.5.5,0,0,1-.472-.334L13.405,1.222a1.5,1.5,0,0,0-2.81,0l-.005.016L8.41,7.415a.5.5,0,0,1-.471.334H1.85A1.5,1.5,0,0,0,.887,10.4l5.184,4.3a.5.5,0,0,1,.155.543L4.048,21.774a1.5,1.5,0,0,0,2.31,1.684l5.346-3.92a.5.5,0,0,1,.591,0l5.344,3.919a1.5,1.5,0,0,0,2.312-1.683l-2.178-6.535a.5.5,0,0,1,.155-.543l5.194-4.306A1.5,1.5,0,0,0,23.555,8.729Z",displayName:"StarIcon"})},92330:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]])},92342:(t,e,n)=>{"use strict";n.d(e,{R:()=>r});const r=(0,n(14010).w)({displayName:"HamburgerIcon",viewBox:"0 0 24 24",d:"M 3 5 A 1.0001 1.0001 0 1 0 3 7 L 21 7 A 1.0001 1.0001 0 1 0 21 5 L 3 5 z M 3 11 A 1.0001 1.0001 0 1 0 3 13 L 21 13 A 1.0001 1.0001 0 1 0 21 11 L 3 11 z M 3 17 A 1.0001 1.0001 0 1 0 3 19 L 21 19 A 1.0001 1.0001 0 1 0 21 17 L 3 17 z"})},92410:(t,e,n)=>{"use strict";n.d(e,{qg:()=>vt});var r=n(56511),o=n(97099),i=n(64942),a=n(12440),s=n(50849);function l(){return Object.assign({},(0,s.q)())}var c=n(62316),u=n(54705);function d(t,e){const n=function(t){var e;return"function"===typeof t&&(null===(e=t.prototype)||void 0===e?void 0:e.constructor)===t}(e)?new e(0):(0,a.w)(e,0);return n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n.setHours(t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()),n}class h{constructor(){(0,u.A)(this,"subPriority",0)}validate(t,e){return!0}}class f extends h{constructor(t,e,n,r,o){super(),this.value=t,this.validateValue=e,this.setValue=n,this.priority=r,o&&(this.subPriority=o)}validate(t,e){return this.validateValue(t,this.value,e)}set(t,e,n){return this.setValue(t,e,this.value,n)}}class p extends h{constructor(t,e){super(),(0,u.A)(this,"priority",10),(0,u.A)(this,"subPriority",-1),this.context=t||(t=>(0,a.w)(e,t))}set(t,e){return e.timestampIsSet?t:(0,a.w)(t,d(t,this.context))}}class g{run(t,e,n,r){const o=this.parse(t,e,n,r);return o?{setter:new f(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}validate(t,e,n){return!0}}var m=n(84524);const v=/^(1[0-2]|0?\d)/,y=/^(3[0-1]|[0-2]?\d)/,b=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,x=/^(5[0-3]|[0-4]?\d)/,w=/^(2[0-3]|[0-1]?\d)/,k=/^(2[0-4]|[0-1]?\d)/,A=/^(1[0-1]|0?\d)/,_=/^(1[0-2]|0?\d)/,S=/^[0-5]?\d/,C=/^[0-5]?\d/,E=/^\d/,O=/^\d{1,2}/,P=/^\d{1,3}/,M=/^\d{1,4}/,T=/^-?\d+/,N=/^-?\d/,R=/^-?\d{1,2}/,L=/^-?\d{1,3}/,D=/^-?\d{1,4}/,j=/^([+-])(\d{2})(\d{2})?|Z/,I=/^([+-])(\d{2})(\d{2})|Z/,z=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,B=/^([+-])(\d{2}):(\d{2})|Z/,F=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function H(t,e){return t?{value:e(t.value),rest:t.rest}:t}function V(t,e){const n=e.match(t);return n?{value:parseInt(n[0],10),rest:e.slice(n[0].length)}:null}function q(t,e){const n=e.match(t);if(!n)return null;if("Z"===n[0])return{value:0,rest:e.slice(1)};const r="+"===n[1]?1:-1,o=n[2]?parseInt(n[2],10):0,i=n[3]?parseInt(n[3],10):0,a=n[5]?parseInt(n[5],10):0;return{value:r*(o*m.s0+i*m.Cg+a*m._m),rest:e.slice(n[0].length)}}function U(t){return V(T,t)}function W(t,e){switch(t){case 1:return V(E,e);case 2:return V(O,e);case 3:return V(P,e);case 4:return V(M,e);default:return V(new RegExp("^\\d{1,"+t+"}"),e)}}function G(t,e){switch(t){case 1:return V(N,e);case 2:return V(R,e);case 3:return V(L,e);case 4:return V(D,e);default:return V(new RegExp("^-?\\d{1,"+t+"}"),e)}}function Y(t){switch(t){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function K(t,e){const n=e>0,r=n?e:1-e;let o;if(r<=50)o=t||100;else{const e=r+50;o=t+100*Math.trunc(e/100)-(t>=e%100?100:0)}return n?o:1-o}function $(t){return t%400===0||t%4===0&&t%100!==0}var X=n(19504),Q=n(1620);var Z=n(9415);var J=n(62750);function tt(t,e,n){const r=(0,c.a)(t,null===n||void 0===n?void 0:n.in),o=(0,J.N)(r,n)-e;return r.setDate(r.getDate()-7*o),(0,c.a)(r,null===n||void 0===n?void 0:n.in)}var et=n(35385);function nt(t,e,n){const r=(0,c.a)(t,null===n||void 0===n?void 0:n.in),o=(0,et.s)(r,n)-e;return r.setDate(r.getDate()-7*o),r}const rt=[31,28,31,30,31,30,31,31,30,31,30,31],ot=[31,29,31,30,31,30,31,31,30,31,30,31];var it=n(66981);function at(t,e,n){var r,o,i,a,l,u;const d=(0,s.q)(),h=null!==(r=null!==(o=null!==(i=null!==(a=null===n||void 0===n?void 0:n.weekStartsOn)&&void 0!==a?a:null===n||void 0===n||null===(l=n.locale)||void 0===l||null===(l=l.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==i?i:d.weekStartsOn)&&void 0!==o?o:null===(u=d.locale)||void 0===u||null===(u=u.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==r?r:0,f=(0,c.a)(t,null===n||void 0===n?void 0:n.in),p=f.getDay(),g=7-h,m=e<0||e>6?e-(p+g)%7:((e%7+7)%7+g)%7-(p+g)%7;return(0,it.f)(f,m,n)}function st(t,e){const n=(0,c.a)(t,null===e||void 0===e?void 0:e.in).getDay();return 0===n?7:n}function lt(t,e,n){const r=(0,c.a)(t,null===n||void 0===n?void 0:n.in),o=e-st(r,n);return(0,it.f)(r,o,n)}var ct=n(19219);const ut={G:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",140),(0,u.A)(this,"incompatibleTokens",["R","u","t","T"])}parse(t,e,n){switch(e){case"G":case"GG":case"GGG":return n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"});case"GGGGG":return n.era(t,{width:"narrow"});default:return n.era(t,{width:"wide"})||n.era(t,{width:"abbreviated"})||n.era(t,{width:"narrow"})}}set(t,e,n){return e.era=n,t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},y:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",130),(0,u.A)(this,"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"])}parse(t,e,n){const r=t=>({year:t,isTwoDigitYear:"yy"===e});switch(e){case"y":return H(W(4,t),r);case"yo":return H(n.ordinalNumber(t,{unit:"year"}),r);default:return H(W(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n){const r=t.getFullYear();if(n.isTwoDigitYear){const e=K(n.year,r);return t.setFullYear(e,0,1),t.setHours(0,0,0,0),t}const o="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(o,0,1),t.setHours(0,0,0,0),t}},Y:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",130),(0,u.A)(this,"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"])}parse(t,e,n){const r=t=>({year:t,isTwoDigitYear:"YY"===e});switch(e){case"Y":return H(W(4,t),r);case"Yo":return H(n.ordinalNumber(t,{unit:"year"}),r);default:return H(W(e.length,t),r)}}validate(t,e){return e.isTwoDigitYear||e.year>0}set(t,e,n,r){const o=(0,X.h)(t,r);if(n.isTwoDigitYear){const e=K(n.year,o);return t.setFullYear(e,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),(0,Q.k)(t,r)}const i="era"in e&&1!==e.era?1-n.year:n.year;return t.setFullYear(i,0,r.firstWeekContainsDate),t.setHours(0,0,0,0),(0,Q.k)(t,r)}},R:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",130),(0,u.A)(this,"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"])}parse(t,e){return G("R"===e?4:e.length,t)}set(t,e,n){const r=(0,a.w)(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),(0,Z.b)(r)}},u:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",130),(0,u.A)(this,"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"])}parse(t,e){return G("u"===e?4:e.length,t)}set(t,e,n){return t.setFullYear(n,0,1),t.setHours(0,0,0,0),t}},Q:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",120),(0,u.A)(this,"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,e,n){switch(e){case"Q":case"QQ":return W(e.length,t);case"Qo":return n.ordinalNumber(t,{unit:"quarter"});case"QQQ":return n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(t,{width:"narrow",context:"formatting"});default:return n.quarter(t,{width:"wide",context:"formatting"})||n.quarter(t,{width:"abbreviated",context:"formatting"})||n.quarter(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}},q:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",120),(0,u.A)(this,"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"])}parse(t,e,n){switch(e){case"q":case"qq":return W(e.length,t);case"qo":return n.ordinalNumber(t,{unit:"quarter"});case"qqq":return n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(t,{width:"narrow",context:"standalone"});default:return n.quarter(t,{width:"wide",context:"standalone"})||n.quarter(t,{width:"abbreviated",context:"standalone"})||n.quarter(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=1&&e<=4}set(t,e,n){return t.setMonth(3*(n-1),1),t.setHours(0,0,0,0),t}},M:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),(0,u.A)(this,"priority",110)}parse(t,e,n){const r=t=>t-1;switch(e){case"M":return H(V(v,t),r);case"MM":return H(W(2,t),r);case"Mo":return H(n.ordinalNumber(t,{unit:"month"}),r);case"MMM":return n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(t,{width:"narrow",context:"formatting"});default:return n.month(t,{width:"wide",context:"formatting"})||n.month(t,{width:"abbreviated",context:"formatting"})||n.month(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},L:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",110),(0,u.A)(this,"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"])}parse(t,e,n){const r=t=>t-1;switch(e){case"L":return H(V(v,t),r);case"LL":return H(W(2,t),r);case"Lo":return H(n.ordinalNumber(t,{unit:"month"}),r);case"LLL":return n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(t,{width:"narrow",context:"standalone"});default:return n.month(t,{width:"wide",context:"standalone"})||n.month(t,{width:"abbreviated",context:"standalone"})||n.month(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.setMonth(n,1),t.setHours(0,0,0,0),t}},w:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",100),(0,u.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"])}parse(t,e,n){switch(e){case"w":return V(x,t);case"wo":return n.ordinalNumber(t,{unit:"week"});default:return W(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n,r){return(0,Q.k)(tt(t,n,r),r)}},I:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",100),(0,u.A)(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"])}parse(t,e,n){switch(e){case"I":return V(x,t);case"Io":return n.ordinalNumber(t,{unit:"week"});default:return W(e.length,t)}}validate(t,e){return e>=1&&e<=53}set(t,e,n){return(0,Z.b)(nt(t,n))}},d:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"subPriority",1),(0,u.A)(this,"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"])}parse(t,e,n){switch(e){case"d":return V(y,t);case"do":return n.ordinalNumber(t,{unit:"date"});default:return W(e.length,t)}}validate(t,e){const n=$(t.getFullYear()),r=t.getMonth();return n?e>=1&&e<=ot[r]:e>=1&&e<=rt[r]}set(t,e,n){return t.setDate(n),t.setHours(0,0,0,0),t}},D:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"subpriority",1),(0,u.A)(this,"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"])}parse(t,e,n){switch(e){case"D":case"DD":return V(b,t);case"Do":return n.ordinalNumber(t,{unit:"date"});default:return W(e.length,t)}}validate(t,e){return $(t.getFullYear())?e>=1&&e<=366:e>=1&&e<=365}set(t,e,n){return t.setMonth(0,n),t.setHours(0,0,0,0),t}},E:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"incompatibleTokens",["D","i","e","c","t","T"])}parse(t,e,n){switch(e){case"E":case"EE":case"EEE":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(t,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=at(t,n,r)).setHours(0,0,0,0),t}},e:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"])}parse(t,e,n,r){const o=t=>{const e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"e":case"ee":return H(W(e.length,t),o);case"eo":return H(n.ordinalNumber(t,{unit:"day"}),o);case"eee":return n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});case"eeeee":return n.day(t,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"});default:return n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=at(t,n,r)).setHours(0,0,0,0),t}},c:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"])}parse(t,e,n,r){const o=t=>{const e=7*Math.floor((t-1)/7);return(t+r.weekStartsOn+6)%7+e};switch(e){case"c":case"cc":return H(W(e.length,t),o);case"co":return H(n.ordinalNumber(t,{unit:"day"}),o);case"ccc":return n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});case"ccccc":return n.day(t,{width:"narrow",context:"standalone"});case"cccccc":return n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"});default:return n.day(t,{width:"wide",context:"standalone"})||n.day(t,{width:"abbreviated",context:"standalone"})||n.day(t,{width:"short",context:"standalone"})||n.day(t,{width:"narrow",context:"standalone"})}}validate(t,e){return e>=0&&e<=6}set(t,e,n,r){return(t=at(t,n,r)).setHours(0,0,0,0),t}},i:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",90),(0,u.A)(this,"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"])}parse(t,e,n){const r=t=>0===t?7:t;switch(e){case"i":case"ii":return W(e.length,t);case"io":return n.ordinalNumber(t,{unit:"day"});case"iii":return H(n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiii":return H(n.day(t,{width:"narrow",context:"formatting"}),r);case"iiiiii":return H(n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r);default:return H(n.day(t,{width:"wide",context:"formatting"})||n.day(t,{width:"abbreviated",context:"formatting"})||n.day(t,{width:"short",context:"formatting"})||n.day(t,{width:"narrow",context:"formatting"}),r)}}validate(t,e){return e>=1&&e<=7}set(t,e,n){return(t=lt(t,n)).setHours(0,0,0,0),t}},a:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",80),(0,u.A)(this,"incompatibleTokens",["b","B","H","k","t","T"])}parse(t,e,n){switch(e){case"a":case"aa":case"aaa":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Y(n),0,0,0),t}},b:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",80),(0,u.A)(this,"incompatibleTokens",["a","B","H","k","t","T"])}parse(t,e,n){switch(e){case"b":case"bb":case"bbb":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Y(n),0,0,0),t}},B:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",80),(0,u.A)(this,"incompatibleTokens",["a","b","t","T"])}parse(t,e,n){switch(e){case"B":case"BB":case"BBB":return n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(t,{width:"narrow",context:"formatting"});default:return n.dayPeriod(t,{width:"wide",context:"formatting"})||n.dayPeriod(t,{width:"abbreviated",context:"formatting"})||n.dayPeriod(t,{width:"narrow",context:"formatting"})}}set(t,e,n){return t.setHours(Y(n),0,0,0),t}},h:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",70),(0,u.A)(this,"incompatibleTokens",["H","K","k","t","T"])}parse(t,e,n){switch(e){case"h":return V(_,t);case"ho":return n.ordinalNumber(t,{unit:"hour"});default:return W(e.length,t)}}validate(t,e){return e>=1&&e<=12}set(t,e,n){const r=t.getHours()>=12;return r&&n<12?t.setHours(n+12,0,0,0):r||12!==n?t.setHours(n,0,0,0):t.setHours(0,0,0,0),t}},H:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",70),(0,u.A)(this,"incompatibleTokens",["a","b","h","K","k","t","T"])}parse(t,e,n){switch(e){case"H":return V(w,t);case"Ho":return n.ordinalNumber(t,{unit:"hour"});default:return W(e.length,t)}}validate(t,e){return e>=0&&e<=23}set(t,e,n){return t.setHours(n,0,0,0),t}},K:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",70),(0,u.A)(this,"incompatibleTokens",["h","H","k","t","T"])}parse(t,e,n){switch(e){case"K":return V(A,t);case"Ko":return n.ordinalNumber(t,{unit:"hour"});default:return W(e.length,t)}}validate(t,e){return e>=0&&e<=11}set(t,e,n){return t.getHours()>=12&&n<12?t.setHours(n+12,0,0,0):t.setHours(n,0,0,0),t}},k:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",70),(0,u.A)(this,"incompatibleTokens",["a","b","h","H","K","t","T"])}parse(t,e,n){switch(e){case"k":return V(k,t);case"ko":return n.ordinalNumber(t,{unit:"hour"});default:return W(e.length,t)}}validate(t,e){return e>=1&&e<=24}set(t,e,n){const r=n<=24?n%24:n;return t.setHours(r,0,0,0),t}},m:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",60),(0,u.A)(this,"incompatibleTokens",["t","T"])}parse(t,e,n){switch(e){case"m":return V(S,t);case"mo":return n.ordinalNumber(t,{unit:"minute"});default:return W(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setMinutes(n,0,0),t}},s:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",50),(0,u.A)(this,"incompatibleTokens",["t","T"])}parse(t,e,n){switch(e){case"s":return V(C,t);case"so":return n.ordinalNumber(t,{unit:"second"});default:return W(e.length,t)}}validate(t,e){return e>=0&&e<=59}set(t,e,n){return t.setSeconds(n,0),t}},S:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",30),(0,u.A)(this,"incompatibleTokens",["t","T"])}parse(t,e){return H(W(e.length,t),t=>Math.trunc(t*Math.pow(10,3-e.length)))}set(t,e,n){return t.setMilliseconds(n),t}},X:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",10),(0,u.A)(this,"incompatibleTokens",["t","T","x"])}parse(t,e){switch(e){case"X":return q(j,t);case"XX":return q(I,t);case"XXXX":return q(z,t);case"XXXXX":return q(F,t);default:return q(B,t)}}set(t,e,n){return e.timestampIsSet?t:(0,a.w)(t,t.getTime()-(0,ct.G)(t)-n)}},x:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",10),(0,u.A)(this,"incompatibleTokens",["t","T","X"])}parse(t,e){switch(e){case"x":return q(j,t);case"xx":return q(I,t);case"xxxx":return q(z,t);case"xxxxx":return q(F,t);default:return q(B,t)}}set(t,e,n){return e.timestampIsSet?t:(0,a.w)(t,t.getTime()-(0,ct.G)(t)-n)}},t:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",40),(0,u.A)(this,"incompatibleTokens","*")}parse(t){return U(t)}set(t,e,n){return[(0,a.w)(t,1e3*n),{timestampIsSet:!0}]}},T:new class extends g{constructor(){super(...arguments),(0,u.A)(this,"priority",20),(0,u.A)(this,"incompatibleTokens","*")}parse(t){return U(t)}set(t,e,n){return[(0,a.w)(t,n),{timestampIsSet:!0}]}}},dt=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ht=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ft=/^'([^]*?)'?$/,pt=/''/g,gt=/\S/,mt=/[a-zA-Z]/;function vt(t,e,n,s){var u,d,h,f,g,m,v,y,b,x,w,k,A,_;const S=()=>(0,a.w)((null===s||void 0===s?void 0:s.in)||n,NaN),C=l(),E=null!==(u=null!==(d=null===s||void 0===s?void 0:s.locale)&&void 0!==d?d:C.locale)&&void 0!==u?u:r.c,O=null!==(h=null!==(f=null!==(g=null!==(m=null===s||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==m?m:null===s||void 0===s||null===(v=s.locale)||void 0===v||null===(v=v.options)||void 0===v?void 0:v.firstWeekContainsDate)&&void 0!==g?g:C.firstWeekContainsDate)&&void 0!==f?f:null===(y=C.locale)||void 0===y||null===(y=y.options)||void 0===y?void 0:y.firstWeekContainsDate)&&void 0!==h?h:1,P=null!==(b=null!==(x=null!==(w=null!==(k=null===s||void 0===s?void 0:s.weekStartsOn)&&void 0!==k?k:null===s||void 0===s||null===(A=s.locale)||void 0===A||null===(A=A.options)||void 0===A?void 0:A.weekStartsOn)&&void 0!==w?w:C.weekStartsOn)&&void 0!==x?x:null===(_=C.locale)||void 0===_||null===(_=_.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==b?b:0;if(!e)return t?S():(0,c.a)(n,null===s||void 0===s?void 0:s.in);const M={firstWeekContainsDate:O,weekStartsOn:P,locale:E},T=[new p(null===s||void 0===s?void 0:s.in,n)],N=e.match(ht).map(t=>{const e=t[0];if(e in o.m){return(0,o.m[e])(t,E.formatLong)}return t}).join("").match(dt),R=[];for(let r of N){null!==s&&void 0!==s&&s.useAdditionalWeekYearTokens||!(0,i.xM)(r)||(0,i.Ss)(r,e,t),null!==s&&void 0!==s&&s.useAdditionalDayOfYearTokens||!(0,i.ef)(r)||(0,i.Ss)(r,e,t);const n=r[0],o=ut[n];if(o){const{incompatibleTokens:e}=o;if(Array.isArray(e)){const t=R.find(t=>e.includes(t.token)||t.token===n);if(t)throw new RangeError("The format string mustn't contain `".concat(t.fullToken,"` and `").concat(r,"` at the same time"))}else if("*"===o.incompatibleTokens&&R.length>0)throw new RangeError("The format string mustn't contain `".concat(r,"` and any other token at the same time"));R.push({token:n,fullToken:r});const i=o.run(t,r,E.match,M);if(!i)return S();T.push(i.setter),t=i.rest}else{if(n.match(mt))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===r?r="'":"'"===n&&(r=yt(r)),0!==t.indexOf(r))return S();t=t.slice(r.length)}}if(t.length>0&>.test(t))return S();const L=T.map(t=>t.priority).sort((t,e)=>e-t).filter((t,e,n)=>n.indexOf(t)===e).map(t=>T.filter(e=>e.priority===t).sort((t,e)=>e.subPriority-t.subPriority)).map(t=>t[0]);let D=(0,c.a)(n,null===s||void 0===s?void 0:s.in);if(isNaN(+D))return S();const j={};for(const r of L){if(!r.validate(D,M))return S();const t=r.set(D,j,M);Array.isArray(t)?(D=t[0],Object.assign(j,t[1])):D=t}return D}function yt(t){return t.match(ft)[1].replace(pt,"'")}},92823:function(t,e,n){"use strict";var r=this&&this.__extends||function(){var t=function(e,n){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},t(e,n)};return function(e,n){function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},o.apply(this,arguments)},i=this&&this.__spreadArrays||function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;var r=Array(t),o=0;for(e=0;e<n;e++)for(var i=arguments[e],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},a=this&&this.__importDefault||function(t){return t&&t.__esModule?t:{default:t}},s=a(n(65043)),l=a(n(97950)),c=a(n(19853)),u=a(n(47680)),d=function(t){function e(e){var n=t.call(this,e)||this;n.dirtyProps=["modules","formats","bounds","theme","children"],n.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],n.state={generation:0},n.selection=null,n.onEditorChange=function(t,e,r,o){var i,a,s,l;"text-change"===t?null===(a=(i=n).onEditorChangeText)||void 0===a||a.call(i,n.editor.root.innerHTML,e,o,n.unprivilegedEditor):"selection-change"===t&&(null===(l=(s=n).onEditorChangeSelection)||void 0===l||l.call(s,e,o,n.unprivilegedEditor))};var r=n.isControlled()?e.value:e.defaultValue;return n.value=null!==r&&void 0!==r?r:"",n}return r(e,t),e.prototype.validateProps=function(t){var e;if(s.default.Children.count(t.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(s.default.Children.count(t.children)&&"textarea"===(null===(e=s.default.Children.only(t.children))||void 0===e?void 0:e.type))throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.");if(this.lastDeltaChangeSet&&t.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")},e.prototype.shouldComponentUpdate=function(t,e){var n,r=this;if(this.validateProps(t),!this.editor||this.state.generation!==e.generation)return!0;if("value"in t){var o=this.getEditorContents(),a=null!==(n=t.value)&&void 0!==n?n:"";this.isEqualValue(a,o)||this.setEditorContents(this.editor,a)}return t.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,t.readOnly),i(this.cleanProps,this.dirtyProps).some(function(e){return!c.default(t[e],r.props[e])})},e.prototype.shouldComponentRegenerate=function(t){var e=this;return this.dirtyProps.some(function(n){return!c.default(t[n],e.props[n])})},e.prototype.componentDidMount=function(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())},e.prototype.componentWillUnmount=function(){this.destroyEditor()},e.prototype.componentDidUpdate=function(t,e){var n=this;if(this.editor&&this.shouldComponentRegenerate(t)){var r=this.editor.getContents(),o=this.editor.getSelection();this.regenerationSnapshot={delta:r,selection:o},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==e.generation){var i=this.regenerationSnapshot,a=(r=i.delta,i.selection);delete this.regenerationSnapshot,this.instantiateEditor();var s=this.editor;s.setContents(r),h(function(){return n.setEditorSelection(s,a)})}},e.prototype.instantiateEditor=function(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())},e.prototype.destroyEditor=function(){this.editor&&this.unhookEditor(this.editor)},e.prototype.isControlled=function(){return"value"in this.props},e.prototype.getEditorConfig=function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},e.prototype.getEditor=function(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor},e.prototype.createEditor=function(t,e){var n=new u.default(t,e);return null!=e.tabIndex&&this.setEditorTabIndex(n,e.tabIndex),this.hookEditor(n),n},e.prototype.hookEditor=function(t){this.unprivilegedEditor=this.makeUnprivilegedEditor(t),t.on("editor-change",this.onEditorChange)},e.prototype.unhookEditor=function(t){t.off("editor-change",this.onEditorChange)},e.prototype.getEditorContents=function(){return this.value},e.prototype.getEditorSelection=function(){return this.selection},e.prototype.isDelta=function(t){return t&&t.ops},e.prototype.isEqualValue=function(t,e){return this.isDelta(t)&&this.isDelta(e)?c.default(t.ops,e.ops):c.default(t,e)},e.prototype.setEditorContents=function(t,e){var n=this;this.value=e;var r=this.getEditorSelection();"string"===typeof e?t.setContents(t.clipboard.convert(e)):t.setContents(e),h(function(){return n.setEditorSelection(t,r)})},e.prototype.setEditorSelection=function(t,e){if(this.selection=e,e){var n=t.getLength();e.index=Math.max(0,Math.min(e.index,n-1)),e.length=Math.max(0,Math.min(e.length,n-1-e.index)),t.setSelection(e)}},e.prototype.setEditorTabIndex=function(t,e){var n,r;(null===(r=null===(n=t)||void 0===n?void 0:n.scroll)||void 0===r?void 0:r.domNode)&&(t.scroll.domNode.tabIndex=e)},e.prototype.setEditorReadOnly=function(t,e){e?t.disable():t.enable()},e.prototype.makeUnprivilegedEditor=function(t){var e=t;return{getHTML:function(){return e.root.innerHTML},getLength:e.getLength.bind(e),getText:e.getText.bind(e),getContents:e.getContents.bind(e),getSelection:e.getSelection.bind(e),getBounds:e.getBounds.bind(e)}},e.prototype.getEditingArea=function(){if(!this.editingArea)throw new Error("Instantiating on missing editing area");var t=l.default.findDOMNode(this.editingArea);if(!t)throw new Error("Cannot find element for editing area");if(3===t.nodeType)throw new Error("Editing area cannot be a text node");return t},e.prototype.renderEditingArea=function(){var t=this,e=this.props,n=e.children,r=e.preserveWhitespace,i={key:this.state.generation,ref:function(e){t.editingArea=e}};return s.default.Children.count(n)?s.default.cloneElement(s.default.Children.only(n),i):r?s.default.createElement("pre",o({},i)):s.default.createElement("div",o({},i))},e.prototype.render=function(){var t;return s.default.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:"quill "+(t=this.props.className,null!==t&&void 0!==t?t:""),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},e.prototype.onEditorChangeText=function(t,e,n,r){var o,i;if(this.editor){var a=this.isDelta(this.value)?r.getContents():r.getHTML();a!==this.getEditorContents()&&(this.lastDeltaChangeSet=e,this.value=a,null===(i=(o=this.props).onChange)||void 0===i||i.call(o,t,e,n,r))}},e.prototype.onEditorChangeSelection=function(t,e,n){var r,o,i,a,s,l;if(this.editor){var u=this.getEditorSelection(),d=!u&&t,h=u&&!t;c.default(t,u)||(this.selection=t,null===(o=(r=this.props).onChangeSelection)||void 0===o||o.call(r,t,e,n),d?null===(a=(i=this.props).onFocus)||void 0===a||a.call(i,t,e,n):h&&(null===(l=(s=this.props).onBlur)||void 0===l||l.call(s,u,e,n)))}},e.prototype.focus=function(){this.editor&&this.editor.focus()},e.prototype.blur=function(){this.editor&&(this.selection=null,this.editor.blur())},e.displayName="React Quill",e.Quill=u.default,e.defaultProps={theme:"snow",modules:{},readOnly:!1},e}(s.default.Component);function h(t){Promise.resolve().then(t)}t.exports=d},92835:(t,e,n)=>{"use strict";n.d(e,{a:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"EmailIcon",path:(0,r.jsxs)("g",{fill:"currentColor",children:[(0,r.jsx)("path",{d:"M11.114,14.556a1.252,1.252,0,0,0,1.768,0L22.568,4.87a.5.5,0,0,0-.281-.849A1.966,1.966,0,0,0,22,4H2a1.966,1.966,0,0,0-.289.021.5.5,0,0,0-.281.849Z"}),(0,r.jsx)("path",{d:"M23.888,5.832a.182.182,0,0,0-.2.039l-6.2,6.2a.251.251,0,0,0,0,.354l5.043,5.043a.75.75,0,1,1-1.06,1.061l-5.043-5.043a.25.25,0,0,0-.354,0l-2.129,2.129a2.75,2.75,0,0,1-3.888,0L7.926,13.488a.251.251,0,0,0-.354,0L2.529,18.531a.75.75,0,0,1-1.06-1.061l5.043-5.043a.251.251,0,0,0,0-.354l-6.2-6.2a.18.18,0,0,0-.2-.039A.182.182,0,0,0,0,6V18a2,2,0,0,0,2,2H22a2,2,0,0,0,2-2V6A.181.181,0,0,0,23.888,5.832Z"})]})})},92885:(t,e,n)=>{"use strict";n.d(e,{P:()=>i});var r=n(12440),o=n(62316);function i(t,e,n){const i=(0,o.a)(t,null===n||void 0===n?void 0:n.in);if(isNaN(e))return(0,r.w)((null===n||void 0===n?void 0:n.in)||t,NaN);if(!e)return i;const a=i.getDate(),s=(0,r.w)((null===n||void 0===n?void 0:n.in)||t,i.getTime());s.setMonth(i.getMonth()+e+1,0);return a>=s.getDate()?s:(i.setFullYear(s.getFullYear(),s.getMonth(),a),i)}},92970:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var r=n(65043);function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{name:e,strict:n=!0,hookName:o="useContext",providerName:i="Provider",errorMessage:a,defaultValue:s}=t,l=(0,r.createContext)(s);return l.displayName=e,[l.Provider,function t(){const e=(0,r.useContext)(l);if(!e&&n){var s;const e=new Error(null!==a&&void 0!==a?a:(c=i,"".concat(o," returned `undefined`. Seems you forgot to wrap component within ").concat(c)));throw e.name="ContextError",null===(s=Error.captureStackTrace)||void 0===s||s.call(Error,e,t),e}var c;return e},l]}},93211:t=>{t.exports=function(t,e){return t===e||t!==t&&e!==e}},93803:(t,e,n)=>{"use strict";n.d(e,{A:()=>ot});var r=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(r){}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach(function(t){var e;return null==(e=t.parentNode)?void 0:e.removeChild(t)}),this.tags=[],this.ctr=0},t}(),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(t){return t.trim()}function l(t,e,n){return t.replace(e,n)}function c(t,e){return t.indexOf(e)}function u(t,e){return 0|t.charCodeAt(e)}function d(t,e,n){return t.slice(e,n)}function h(t){return t.length}function f(t){return t.length}function p(t,e){return e.push(t),t}var g=1,m=1,v=0,y=0,b=0,x="";function w(t,e,n,r,o,i,a){return{value:t,root:e,parent:n,type:r,props:o,children:i,line:g,column:m,length:a,return:""}}function k(t,e){return a(w("",null,null,"",null,null,0),t,{length:-t.length},e)}function A(){return b=y>0?u(x,--y):0,m--,10===b&&(m=1,g--),b}function _(){return b=y<v?u(x,y++):0,m++,10===b&&(m=1,g++),b}function S(){return u(x,y)}function C(){return y}function E(t,e){return d(x,t,e)}function O(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(t){return g=m=1,v=h(x=t),y=0,[]}function M(t){return x="",t}function T(t){return s(E(y-1,L(91===t?t+2:40===t?t+1:t)))}function N(t){for(;(b=S())&&b<33;)_();return O(t)>2||O(b)>3?"":" "}function R(t,e){for(;--e&&_()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return E(t,C()+(e<6&&32==S()&&32==_()))}function L(t){for(;_();)switch(b){case t:return y;case 34:case 39:34!==t&&39!==t&&L(b);break;case 40:41===t&&L(t);break;case 92:_()}return y}function D(t,e){for(;_()&&t+b!==57&&(t+b!==84||47!==S()););return"/*"+E(e,y-1)+"*"+i(47===t?t:_())}function j(t){for(;!O(S());)_();return E(t,y)}var I="-ms-",z="-moz-",B="-webkit-",F="comm",H="rule",V="decl",q="@keyframes";function U(t,e){for(var n="",r=f(t),o=0;o<r;o++)n+=e(t[o],o,t,e)||"";return n}function W(t,e,n,r){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case V:return t.return=t.return||t.value;case F:return"";case q:return t.return=t.value+"{"+U(t.children,r)+"}";case H:t.value=t.props.join(",")}return h(n=U(t.children,r))?t.return=t.value+"{"+n+"}":""}function G(t){return M(Y("",null,null,null,[""],t=P(t),0,[0],t))}function Y(t,e,n,r,o,a,s,d,f){for(var g=0,m=0,v=s,y=0,b=0,x=0,w=1,k=1,E=1,O=0,P="",M=o,L=a,I=r,z=P;k;)switch(x=O,O=_()){case 40:if(108!=x&&58==u(z,v-1)){-1!=c(z+=l(T(O),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:z+=T(O);break;case 9:case 10:case 13:case 32:z+=N(x);break;case 92:z+=R(C()-1,7);continue;case 47:switch(S()){case 42:case 47:p($(D(_(),C()),e,n),f);break;default:z+="/"}break;case 123*w:d[g++]=h(z)*E;case 125*w:case 59:case 0:switch(O){case 0:case 125:k=0;case 59+m:-1==E&&(z=l(z,/\f/g,"")),b>0&&h(z)-v&&p(b>32?X(z+";",r,n,v-1):X(l(z," ","")+";",r,n,v-2),f);break;case 59:z+=";";default:if(p(I=K(z,e,n,g,m,o,d,P,M=[],L=[],v),a),123===O)if(0===m)Y(z,e,I,I,M,a,v,d,L);else switch(99===y&&110===u(z,3)?100:y){case 100:case 108:case 109:case 115:Y(t,I,I,r&&p(K(t,I,I,0,0,o,d,P,o,M=[],v),L),o,L,v,d,r?M:L);break;default:Y(z,I,I,I,[""],L,0,d,L)}}g=m=b=0,w=E=1,P=z="",v=s;break;case 58:v=1+h(z),b=x;default:if(w<1)if(123==O)--w;else if(125==O&&0==w++&&125==A())continue;switch(z+=i(O),O*w){case 38:E=m>0?1:(z+="\f",-1);break;case 44:d[g++]=(h(z)-1)*E,E=1;break;case 64:45===S()&&(z+=T(_())),y=S(),m=v=h(P=z+=j(C())),O++;break;case 45:45===x&&2==h(z)&&(w=0)}}return a}function K(t,e,n,r,i,a,c,u,h,p,g){for(var m=i-1,v=0===i?a:[""],y=f(v),b=0,x=0,k=0;b<r;++b)for(var A=0,_=d(t,m+1,m=o(x=c[b])),S=t;A<y;++A)(S=s(x>0?v[A]+" "+_:l(_,/&\f/g,v[A])))&&(h[k++]=S);return w(t,e,n,0===i?H:u,h,p,g)}function $(t,e,n){return w(t,e,n,F,i(b),d(t,2,-2),0)}function X(t,e,n,r){return w(t,e,n,V,d(t,0,r),d(t,r+1,-1),r)}var Q=function(t,e,n){for(var r=0,o=0;r=o,o=S(),38===r&&12===o&&(e[n]=1),!O(o);)_();return E(t,y)},Z=function(t,e){return M(function(t,e){var n=-1,r=44;do{switch(O(r)){case 0:38===r&&12===S()&&(e[n]=1),t[n]+=Q(y-1,e,n);break;case 2:t[n]+=T(r);break;case 4:if(44===r){t[++n]=58===S()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=i(r)}}while(r=_());return t}(P(t),e))},J=new WeakMap,tt=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||J.get(n))&&!r){J.set(t,!0);for(var o=[],i=Z(e,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)t.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},et=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}};function nt(t,e){switch(function(t,e){return 45^u(t,0)?(((e<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0}(t,e)){case 5103:return B+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return B+t+z+t+I+t+t;case 6828:case 4268:return B+t+I+t+t;case 6165:return B+t+I+"flex-"+t+t;case 5187:return B+t+l(t,/(\w+).+(:[^]+)/,B+"box-$1$2"+I+"flex-$1$2")+t;case 5443:return B+t+I+"flex-item-"+l(t,/flex-|-self/,"")+t;case 4675:return B+t+I+"flex-line-pack"+l(t,/align-content|flex-|-self/,"")+t;case 5548:return B+t+I+l(t,"shrink","negative")+t;case 5292:return B+t+I+l(t,"basis","preferred-size")+t;case 6060:return B+"box-"+l(t,"-grow","")+B+t+I+l(t,"grow","positive")+t;case 4554:return B+l(t,/([^-])(transform)/g,"$1"+B+"$2")+t;case 6187:return l(l(l(t,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),t,"")+t;case 5495:case 3959:return l(t,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return l(l(t,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+t+t;case 4095:case 3583:case 4068:case 2532:return l(t,/(.+)-inline(.+)/,B+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(h(t)-1-e>6)switch(u(t,e+1)){case 109:if(45!==u(t,e+4))break;case 102:return l(t,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+z+(108==u(t,e+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?nt(l(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==u(t,e+1))break;case 6444:switch(u(t,h(t)-3-(~c(t,"!important")&&10))){case 107:return l(t,":",":"+B)+t;case 101:return l(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===u(t,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+I+"$2box$3")+t}break;case 5936:switch(u(t,e+11)){case 114:return B+t+I+l(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return B+t+I+l(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return B+t+I+l(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return B+t+I+t+t}return t}var rt=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case V:t.return=nt(t.value,t.length);break;case q:return U([k(t,{value:l(t.value,"@","@"+B)})],r);case H:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return U([k(t,{props:[l(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return U([k(t,{props:[l(e,/:(plac\w+)/,":"+B+"input-$1")]}),k(t,{props:[l(e,/:(plac\w+)/,":-moz-$1")]}),k(t,{props:[l(e,/:(plac\w+)/,I+"input-$1")]})],r)}return""})}}],ot=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))})}var o,i,a=t.stylisPlugins||rt,s={},l=[];o=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;l.push(t)});var c,u,d=[W,(u=function(t){c.insert(t)},function(t){t.root||(t=t.return)&&u(t)})],h=function(t){var e=f(t);return function(n,r,o,i){for(var a="",s=0;s<e;s++)a+=t[s](n,r,o,i)||"";return a}}([tt,et].concat(a,d));i=function(t,e,n,r){c=n,U(G(t?t+"{"+e.styles+"}":e.styles),h),r&&(p.inserted[e.name]=!0)};var p={key:e,sheet:new r({key:e,container:o,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:i};return p.sheet.hydrate(l),p}},94085:(t,e,n)=>{"use strict";n.d(e,{h:()=>c});var r=n(89379),o=n(70579),i=n(64844),a=n(94217),s=n(55003),l=n(52695);const c=(0,s.R)(function(t,e){const n=(0,a.E)();return(0,o.jsx)(l.B.dd,(0,r.A)((0,r.A)({ref:e},t),{},{className:(0,i.cx)("chakra-stat__help-text",t.className),__css:n.helpText}))});c.displayName="StatHelpText"},94217:(t,e,n)=>{"use strict";n.d(e,{E:()=>p,r:()=>g});var r=n(80045),o=n(89379),i=n(70579),a=n(56294),s=n(92970),l=n(64844),c=n(55003),u=n(36059),d=n(52695);const h=["className","children"],[f,p]=(0,s.q)({name:"StatStylesContext",errorMessage:"useStatStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Stat />\" "}),g=(0,c.R)(function(t,e){const n=(0,u.o)("Stat",t),s=(0,o.A)({position:"relative",flex:"1 1 0%"},n.container),c=(0,a.M)(t),{className:p,children:g}=c,m=(0,r.A)(c,h);return(0,i.jsx)(f,{value:n,children:(0,i.jsx)(d.B.div,(0,o.A)((0,o.A)({ref:e},m),{},{className:(0,l.cx)("chakra-stat",p),__css:s,children:(0,i.jsx)("dl",{children:g})}))})});g.displayName="Stat"},94699:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]])},94805:(t,e,n)=>{"use strict";n.d(e,{A:()=>r});const r=(0,n(77784).A)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},94975:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(72157),o=n(32041),i=n(39611),a=n(39468),s=n(2206);const l=(t,e)=>t.startsWith("--")&&"string"===typeof e&&!function(t){return/^var\(--.+\)$/.test(t)}(e),c=(t,e)=>{var n,r;if(null==e)return e;const o=e=>{var n;return null===(n=t.__cssMap)||void 0===n||null===(n=n[e])||void 0===n?void 0:n.varRef},i=t=>{var e;return null!==(e=o(t))&&void 0!==e?e:t},[a,s]=function(t){const e=[];let n="",r=!1;for(let o=0;o<t.length;o++){const i=t[o];"("===i?(r=!0,n+=i):")"===i?(r=!1,n+=i):","!==i||r?n+=i:(e.push(n),n="")}return n=n.trim(),n&&e.push(n),e}(e);return e=null!==(n=null!==(r=o(a))&&void 0!==r?r:i(s))&&void 0!==n?n:i(e)};function u(t){const{configs:e={},pseudos:n={},theme:a}=t,s=function(t){let u=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const d=(0,r.J)(t,a),h=(t=>e=>{if(!e.__breakpoints)return t;const{isResponsive:n,toArrayValue:i,media:a}=e.__breakpoints,s={};for(const l in t){let c=(0,r.J)(t[l],e);if(null==c)continue;if(c=(0,o.Gv)(c)&&n(c)?i(c):c,!Array.isArray(c)){s[l]=c;continue}const u=c.slice(0,a.length).length;for(let t=0;t<u;t+=1){const e=null===a||void 0===a?void 0:a[t];e?(s[e]=s[e]||{},null!=c[t]&&(s[e][l]=c[t])):s[l]=c[t]}}return s})(d)(a);let f={};for(let w in h){var p,g,m,v,y,b;const t=h[w];let k=(0,r.J)(t,a);w in n&&(w=n[w]),l(w,k)&&(k=c(a,k));let A=e[w];if(!0===A&&(A={property:w}),(0,o.Gv)(k)){var x;f[w]=null!==(x=f[w])&&void 0!==x?x:{},f[w]=i({},f[w],s(k,!0));continue}let _=null!==(p=null===(g=A)||void 0===g||null===(m=g.transform)||void 0===m?void 0:m.call(g,k,a,d))&&void 0!==p?p:k;_=null!==(v=A)&&void 0!==v&&v.processResult?s(_,!0):_;const S=(0,r.J)(null===(y=A)||void 0===y?void 0:y.property,a);if(!u&&null!==(b=A)&&void 0!==b&&b.static){const t=(0,r.J)(A.static,a);f=i({},f,t)}if(S&&Array.isArray(S))for(const e of S)f[e]=_;else S?"&"===S&&(0,o.Gv)(_)?f=i({},f,_):f[S]=_:(0,o.Gv)(_)?f=i({},f,_):f[w]=_}return f};return s}const d=t=>e=>u({theme:e,pseudos:a.T,configs:s.wq})(t)},95575:(t,e,n)=>{var r=n(87937)(Object,"create");t.exports=r},96148:(t,e,n)=>{"use strict";n.d(e,{z:()=>a});var r=n(89379),o=n(70579),i=n(29904);const a=(0,n(55003).R)((t,e)=>(0,o.jsx)(i.B,(0,r.A)((0,r.A)({align:"center"},t),{},{direction:"row",ref:e})));a.displayName="HStack"},96351:(t,e,n)=>{"use strict";n.d(e,{e:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(64844),s=n(65043),l=n(64367),c=n(55003),u=n(52695);const d=["size","colorScheme","variant","className","spacing","isAttached","isDisabled","orientation"],h={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},f={horizontal:t=>({"& > *:not(style) ~ *:not(style)":{marginStart:t}}),vertical:t=>({"& > *:not(style) ~ *:not(style)":{marginTop:t}})},p=(0,c.R)(function(t,e){const{size:n,colorScheme:c,variant:p,className:g,spacing:m="0.5rem",isAttached:v,isDisabled:y,orientation:b="horizontal"}=t,x=(0,o.A)(t,d),w=(0,a.cx)("chakra-button__group",g),k=(0,s.useMemo)(()=>({size:n,colorScheme:c,variant:p,isDisabled:y}),[n,c,p,y]);let A=(0,r.A)({display:"inline-flex"},v?h[b]:f[b](m));const _="vertical"===b;return(0,i.jsx)(l.l,{value:k,children:(0,i.jsx)(u.B.div,(0,r.A)({ref:e,role:"group",__css:A,className:w,"data-attached":v?"":void 0,"data-orientation":b,flexDir:_?"column":void 0},x))})});p.displayName="ButtonGroup"},96420:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const r=(0,n(14010).w)({d:"M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8 8-8z",displayName:"ArrowDownIcon"})},96870:(t,e,n)=>{"use strict";n.d(e,{j:()=>a});var r=n(89379),o=n(80940),i=n(65043);function a(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onClose:e,onOpen:n,isOpen:a,id:s}=t,l=(0,o.c)(n),c=(0,o.c)(e),[u,d]=(0,i.useState)(t.defaultIsOpen||!1),h=void 0!==a?a:u,f=void 0!==a,p=(0,i.useId)(),g=null!==s&&void 0!==s?s:"disclosure-".concat(p),m=(0,i.useCallback)(()=>{f||d(!1),null===c||void 0===c||c()},[f,c]),v=(0,i.useCallback)(()=>{f||d(!0),null===l||void 0===l||l()},[f,l]),y=(0,i.useCallback)(()=>{h?m():v()},[h,v,m]);return{isOpen:h,onOpen:v,onClose:m,onToggle:y,isControlled:f,getButtonProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.A)((0,r.A)({},t),{},{"aria-expanded":h,"aria-controls":g,onClick(e){var n;null===(n=t.onClick)||void 0===n||n.call(t,e),y()}})},getDisclosureProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,r.A)((0,r.A)({},t),{},{hidden:!h,id:g})}}}},96938:(t,e,n)=>{"use strict";n.d(e,{N:()=>m});var r=n(65043),o=n(40293);function i(){const t=(0,r.useRef)(!1);return(0,o.E)(()=>(t.current=!0,()=>{t.current=!1}),[]),t}var a=n(37065);var s=n(9674),l=n(34930);class c extends r.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){const t=this.props.sizeRef.current;t.height=e.offsetHeight||0,t.width=e.offsetWidth||0,t.top=e.offsetTop,t.left=e.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u(t){let{children:e,isPresent:n}=t;const o=(0,r.useId)(),i=(0,r.useRef)(null),a=(0,r.useRef)({width:0,height:0,top:0,left:0});return(0,r.useInsertionEffect)(()=>{const{width:t,height:e,top:r,left:s}=a.current;if(n||!i.current||!t||!e)return;i.current.dataset.motionPopId=o;const l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule('\n [data-motion-pop-id="'.concat(o,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n top: ").concat(r,"px !important;\n left: ").concat(s,"px !important;\n }\n ")),()=>{document.head.removeChild(l)}},[n]),r.createElement(c,{isPresent:n,childRef:i,sizeRef:a},r.cloneElement(e,{ref:i}))}const d=t=>{let{children:e,initial:n,isPresent:o,onExitComplete:i,custom:a,presenceAffectsLayout:c,mode:d}=t;const f=(0,l.M)(h),p=(0,r.useId)(),g=(0,r.useMemo)(()=>({id:p,initial:n,isPresent:o,custom:a,onExitComplete:t=>{f.set(t,!0);for(const e of f.values())if(!e)return;i&&i()},register:t=>(f.set(t,!1),()=>f.delete(t))}),c?void 0:[o]);return(0,r.useMemo)(()=>{f.forEach((t,e)=>f.set(e,!1))},[o]),r.useEffect(()=>{!o&&!f.size&&i&&i()},[o]),"popLayout"===d&&(e=r.createElement(u,{isPresent:o},e)),r.createElement(s.t.Provider,{value:g},e)};function h(){return new Map}var f=n(2190);var p=n(58129);const g=t=>t.key||"";const m=t=>{let{children:e,custom:n,initial:s=!0,onExitComplete:l,exitBeforeEnter:c,presenceAffectsLayout:u=!0,mode:h="sync"}=t;(0,p.V)(!c,"Replace exitBeforeEnter with mode='wait'");const m=(0,r.useContext)(f.L).forceRender||function(){const t=i(),[e,n]=(0,r.useState)(0),o=(0,r.useCallback)(()=>{t.current&&n(e+1)},[e]);return[(0,r.useCallback)(()=>a.Gt.postRender(o),[o]),e]}()[0],v=i(),y=function(t){const e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}(e);let b=y;const x=(0,r.useRef)(new Map).current,w=(0,r.useRef)(b),k=(0,r.useRef)(new Map).current,A=(0,r.useRef)(!0);var _;if((0,o.E)(()=>{A.current=!1,function(t,e){t.forEach(t=>{const n=g(t);e.set(n,t)})}(y,k),w.current=b}),_=()=>{A.current=!0,k.clear(),x.clear()},(0,r.useEffect)(()=>()=>_(),[]),A.current)return r.createElement(r.Fragment,null,b.map(t=>r.createElement(d,{key:g(t),isPresent:!0,initial:!!s&&void 0,presenceAffectsLayout:u,mode:h},t)));b=[...b];const S=w.current.map(g),C=y.map(g),E=S.length;for(let r=0;r<E;r++){const t=S[r];-1!==C.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===h&&x.size&&(b=[]),x.forEach((t,e)=>{if(-1!==C.indexOf(e))return;const o=k.get(e);if(!o)return;const i=S.indexOf(e);let a=t;if(!a){const t=()=>{x.delete(e);const t=Array.from(k.keys()).filter(t=>!C.includes(t));if(t.forEach(t=>k.delete(t)),w.current=y.filter(n=>{const r=g(n);return r===e||t.includes(r)}),!x.size){if(!1===v.current)return;m(),l&&l()}};a=r.createElement(d,{key:g(o),isPresent:!1,onExitComplete:t,custom:n,presenceAffectsLayout:u,mode:h},o),x.set(e,a)}b.splice(i,0,a)}),b=b.map(t=>{const e=t.key;return x.has(e)?t:r.createElement(d,{key:g(t),isPresent:!0,presenceAffectsLayout:u,mode:h},t)}),r.createElement(r.Fragment,null,x.size?b:b.map(t=>(0,r.cloneElement)(t)))}},96996:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(n){}try{return t+""}catch(n){}}return""}},97099:(t,e,n)=>{"use strict";n.d(e,{m:()=>i});const r=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},o=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},i={p:o,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return r(t,e);let s;switch(i){case"P":s=e.dateTime({width:"short"});break;case"PP":s=e.dateTime({width:"medium"});break;case"PPP":s=e.dateTime({width:"long"});break;default:s=e.dateTime({width:"full"})}return s.replace("{{date}}",r(i,e)).replace("{{time}}",o(a,e))}}},97160:(t,e,n)=>{var r=n(87563),o=n(29935),i=n(24190),a=n(51946),s=n(61714);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},97541:(t,e,n)=>{"use strict";n.d(e,{i:()=>s});var r=n(80045),o=n(65043),i=n(75270);const a=["timeout"];function s(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const[n,s]=(0,o.useState)(!1),[l,c]=(0,o.useState)(t);(0,o.useEffect)(()=>c(t),[t]);const u="number"===typeof e?{timeout:e}:e,{timeout:d=1500}=u,h=(0,r.A)(u,a),f=(0,o.useCallback)(t=>{const e="string"===typeof t?t:l;"clipboard"in navigator?navigator.clipboard.writeText(e).then(()=>s(!0)).catch(()=>s(i(e,h))):s(i(e,h))},[l,h]);return(0,o.useEffect)(()=>{let t=null;return n&&(t=window.setTimeout(()=>{s(!1)},d)),()=>{t&&window.clearTimeout(t)}},[d,n]),{value:l,setValue:c,onCopy:f,hasCopied:n}}},97569:(t,e,n)=>{"use strict";n.d(e,{Sh:()=>U,Q0:()=>W,Q7:()=>F,OO:()=>V,lw:()=>H});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(92970),l=n(64844),c=n(65043),u=n(25011);const d=t=>(0,i.jsx)(u.I,(0,r.A)((0,r.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})})),h=t=>(0,i.jsx)(u.I,(0,r.A)((0,r.A)({viewBox:"0 0 24 24"},t),{},{children:(0,i.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})}));var f=n(80940);function p(t,e){let n=function(t){const e=parseFloat(t);return"number"!==typeof e||Number.isNaN(e)?0:e}(t);const r=10**(null!==e&&void 0!==e?e:10);return n=Math.round(n*r)/r,e?n.toFixed(e):n.toString()}function g(t){if(!Number.isFinite(t))return 0;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n+=1;return n}function m(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{onChange:e,precision:n,defaultValue:r,value:o,step:i=1,min:a=Number.MIN_SAFE_INTEGER,max:s=Number.MAX_SAFE_INTEGER,keepWithinRange:l=!0}=t,u=(0,f.c)(e),[d,h]=(0,c.useState)(()=>{var t;return null==r?"":null!==(t=b(r,i,n))&&void 0!==t?t:""}),g="undefined"!==typeof o,m=g?o:d,x=y(v(m),i),w=null!==n&&void 0!==n?n:x,k=(0,c.useCallback)(t=>{t!==m&&(g||h(t.toString()),null===u||void 0===u||u(t.toString(),v(t)))},[u,g,m]),A=(0,c.useCallback)(t=>{let e=t;return l&&(e=function(t,e,n){return null==t?t:(n<e&&console.warn("clamp: max cannot be less than min"),Math.min(Math.max(t,e),n))}(e,a,s)),p(e,w)},[w,l,s,a]),_=(0,c.useCallback)(function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;t=""===m?v(e):v(m)+e,t=A(t),k(t)},[A,i,k,m]),S=(0,c.useCallback)(function(){let t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;t=""===m?v(-e):v(m)-e,t=A(t),k(t)},[A,i,k,m]),C=(0,c.useCallback)(()=>{let t;var e;null==r?t="":t=null!==(e=b(r,i,n))&&void 0!==e?e:a;k(t)},[r,n,i,k,a]),E=(0,c.useCallback)(t=>{var e;const n=null!==(e=b(t,i,w))&&void 0!==e?e:a;k(n)},[w,i,k,a]),O=v(m);return{isOutOfRange:O>s||O<a,isAtMax:O===s,isAtMin:O===a,precision:w,value:m,valueAsNumber:O,update:k,reset:C,increment:_,decrement:S,clamp:A,cast:E,setValue:h}}function v(t){return parseFloat(t.toString().replace(/[^\w.-]+/g,""))}function y(t,e){return Math.max(g(e),g(t))}function b(t,e,n){const r=v(t);if(Number.isNaN(r))return;const o=y(r,e);return p(r,null!==n&&void 0!==n?n:o)}var x=n(12980),w=n(90221),k=n(13240),A=n(43194),_=n(86219),S=n(43464);function C(t,e,n,r){(0,c.useEffect)(()=>{var o;if(!t.current||!r)return;const i=null!==(o=t.current.ownerDocument.defaultView)&&void 0!==o?o:window,a=Array.isArray(e)?e:[e],s=new i.MutationObserver(t=>{for(const e of t)"attributes"===e.type&&e.attributeName&&a.includes(e.attributeName)&&n(e)});return s.observe(t.current,{attributes:!0,attributeFilter:a}),()=>s.disconnect()})}function E(t,e){const[n,r]=(0,c.useState)(!1),[o,i]=(0,c.useState)(null),[a,s]=(0,c.useState)(!0),l=(0,c.useRef)(null),u=()=>clearTimeout(l.current);!function(t,e){const n=(0,f.c)(t);(0,c.useEffect)(()=>{let t=null;const r=()=>n();return null!==e&&(t=window.setInterval(r,e)),()=>{t&&window.clearInterval(t)}},[e,n])}(()=>{"increment"===o&&t(),"decrement"===o&&e()},n?50:null);const d=(0,c.useCallback)(()=>{a&&t(),l.current=setTimeout(()=>{s(!1),r(!0),i("increment")},300)},[t,a]),h=(0,c.useCallback)(()=>{a&&e(),l.current=setTimeout(()=>{s(!1),r(!0),i("decrement")},300)},[e,a]),p=(0,c.useCallback)(()=>{s(!0),r(!1),u()},[]);return(0,c.useEffect)(()=>()=>u(),[]),{up:d,down:h,stop:p,isSpinning:n}}const O=["focusInputOnChange","clampValueOnBlur","keepWithinRange","min","max","step","isReadOnly","isDisabled","isRequired","isInvalid","pattern","inputMode","allowMouseWheel","id","onChange","precision","name","aria-describedby","aria-label","aria-labelledby","onFocus","onBlur","onInvalid","getAriaValueText","isValidCharacter","format","parse"],P=/^[Ee0-9+\-.]$/;function M(t){return P.test(t)}var T=n(73635),N=n(55003),R=n(52695),L=n(36059);const D=["htmlProps"],[j,I]=(0,s.q)({name:"NumberInputStylesContext",errorMessage:"useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<NumberInput />\" "}),[z,B]=(0,s.q)({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within <NumberInput />"}),F=(0,N.R)(function(t,e){const n=(0,L.o)("NumberInput",t),s=(0,a.M)(t),u=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{focusInputOnChange:e=!0,clampValueOnBlur:n=!0,keepWithinRange:i=!0,min:a=Number.MIN_SAFE_INTEGER,max:s=Number.MAX_SAFE_INTEGER,step:l=1,isReadOnly:u,isDisabled:d,isRequired:h,isInvalid:p,pattern:g="[0-9]*(.[0-9]+)?",inputMode:v="decimal",allowMouseWheel:y,id:b,onChange:P,precision:T,name:N,"aria-describedby":R,"aria-label":L,"aria-labelledby":D,onFocus:j,onBlur:I,onInvalid:z,getAriaValueText:B,isValidCharacter:F,format:H,parse:V}=t,q=(0,o.A)(t,O),U=(0,f.c)(j),W=(0,f.c)(I),G=(0,f.c)(z),Y=(0,f.c)(null!==F&&void 0!==F?F:M),K=(0,f.c)(B),$=m(t),{update:X,increment:Q,decrement:Z}=$,[J,tt]=(0,c.useState)(!1),et=!(u||d),nt=(0,c.useRef)(null),rt=(0,c.useRef)(null),ot=(0,c.useRef)(null),it=(0,c.useRef)(null),at=(0,c.useCallback)(t=>t.split("").filter(Y).join(""),[Y]),st=(0,c.useCallback)(t=>{var e;return null!==(e=null===V||void 0===V?void 0:V(t))&&void 0!==e?e:t},[V]),lt=(0,c.useCallback)(t=>{var e;return(null!==(e=null===H||void 0===H?void 0:H(t))&&void 0!==e?e:t).toString()},[H]);(0,x.w)(()=>{($.valueAsNumber>s||$.valueAsNumber<a)&&(null===G||void 0===G||G("rangeOverflow",lt($.value),$.valueAsNumber))},[$.valueAsNumber,$.value,lt,G]),(0,w.U)(()=>{if(nt.current&&nt.current.value!=$.value){const t=st(nt.current.value);$.setValue(at(t))}},[st,at]);const ct=(0,c.useCallback)(function(){et&&Q(arguments.length>0&&void 0!==arguments[0]?arguments[0]:l)},[Q,et,l]),ut=(0,c.useCallback)(function(){et&&Z(arguments.length>0&&void 0!==arguments[0]?arguments[0]:l)},[Z,et,l]),dt=E(ct,ut);C(ot,"disabled",dt.stop,dt.isSpinning),C(it,"disabled",dt.stop,dt.isSpinning);const ht=(0,c.useCallback)(t=>{if(t.nativeEvent.isComposing)return;const e=st(t.currentTarget.value);X(at(e)),rt.current={start:t.currentTarget.selectionStart,end:t.currentTarget.selectionEnd}},[X,at,st]),ft=(0,c.useCallback)(t=>{var e,n,r;null===U||void 0===U||U(t),rt.current&&(t.currentTarget.selectionStart=null!==(e=rt.current.start)&&void 0!==e?e:null===(n=t.currentTarget.value)||void 0===n?void 0:n.length,t.currentTarget.selectionEnd=null!==(r=rt.current.end)&&void 0!==r?r:t.currentTarget.selectionStart)},[U]),pt=(0,c.useCallback)(t=>{if(t.nativeEvent.isComposing)return;(function(t,e){if(null==t.key)return!0;const n=t.ctrlKey||t.altKey||t.metaKey;return!(1===t.key.length&&!n)||e(t.key)})(t,Y)||t.preventDefault();const e=gt(t)*l,n={ArrowUp:()=>ct(e),ArrowDown:()=>ut(e),Home:()=>X(a),End:()=>X(s)}[t.key];n&&(t.preventDefault(),n(t))},[Y,l,ct,ut,X,a,s]),gt=t=>{let e=1;return(t.metaKey||t.ctrlKey)&&(e=.1),t.shiftKey&&(e=10),e},mt=(0,c.useMemo)(()=>{const t=null===K||void 0===K?void 0:K($.value);if(null!=t)return t;return $.value.toString()||void 0},[$.value,K]),vt=(0,c.useCallback)(()=>{let t=$.value;""!==$.value&&(/^[eE]/.test($.value.toString())?$.setValue(""):($.valueAsNumber<a&&(t=a),$.valueAsNumber>s&&(t=s),$.cast(t)))},[$,s,a]),yt=(0,c.useCallback)(()=>{tt(!1),n&&vt()},[n,tt,vt]),bt=(0,c.useCallback)(()=>{e&&requestAnimationFrame(()=>{var t;null===(t=nt.current)||void 0===t||t.focus()})},[e]),xt=(0,c.useCallback)(t=>{t.preventDefault(),dt.up(),bt()},[bt,dt]),wt=(0,c.useCallback)(t=>{t.preventDefault(),dt.down(),bt()},[bt,dt]);(0,k.M)(()=>nt.current,"wheel",t=>{var e,n;const r=(null!==(e=null===(n=nt.current)||void 0===n?void 0:n.ownerDocument)&&void 0!==e?e:document).activeElement===nt.current;if(!y||!r)return;t.preventDefault();const o=gt(t)*l,i=Math.sign(t.deltaY);-1===i?ct(o):1===i&&ut(o)},{passive:!1});const kt=(0,c.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=d||i&&$.isAtMax;return(0,r.A)((0,r.A)({},t),{},{ref:(0,A.Px)(e,ot),role:"button",tabIndex:-1,onPointerDown:(0,_.H)(t.onPointerDown,t=>{0!==t.button||n||xt(t)}),onPointerLeave:(0,_.H)(t.onPointerLeave,dt.stop),onPointerUp:(0,_.H)(t.onPointerUp,dt.stop),disabled:n,"aria-disabled":(0,S.r)(n)})},[$.isAtMax,i,xt,dt.stop,d]),At=(0,c.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=d||i&&$.isAtMin;return(0,r.A)((0,r.A)({},t),{},{ref:(0,A.Px)(e,it),role:"button",tabIndex:-1,onPointerDown:(0,_.H)(t.onPointerDown,t=>{0!==t.button||n||wt(t)}),onPointerLeave:(0,_.H)(t.onPointerLeave,dt.stop),onPointerUp:(0,_.H)(t.onPointerUp,dt.stop),disabled:n,"aria-disabled":(0,S.r)(n)})},[$.isAtMin,i,wt,dt.stop,d]),_t=(0,c.useCallback)(function(){var t,e,n,o;let i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({name:N,inputMode:v,type:"text",pattern:g,"aria-labelledby":D,"aria-label":L,"aria-describedby":R,id:b,disabled:d,role:"spinbutton"},i),{},{readOnly:null!==(t=i.readOnly)&&void 0!==t?t:u,"aria-readonly":null!==(e=i.readOnly)&&void 0!==e?e:u,"aria-required":null!==(n=i.required)&&void 0!==n?n:h,required:null!==(o=i.required)&&void 0!==o?o:h,ref:(0,A.Px)(nt,l),value:lt($.value),"aria-valuemin":a,"aria-valuemax":s,"aria-valuenow":Number.isNaN($.valueAsNumber)?void 0:$.valueAsNumber,"aria-invalid":(0,S.r)(null!==p&&void 0!==p?p:$.isOutOfRange),"aria-valuetext":mt,autoComplete:"off",autoCorrect:"off",onChange:(0,_.H)(i.onChange,ht),onKeyDown:(0,_.H)(i.onKeyDown,pt),onFocus:(0,_.H)(i.onFocus,ft,()=>tt(!0)),onBlur:(0,_.H)(i.onBlur,W,yt)})},[N,v,g,D,L,lt,R,b,d,h,u,p,$.value,$.valueAsNumber,$.isOutOfRange,a,s,mt,ht,pt,ft,W,yt]);return{value:lt($.value),valueAsNumber:$.valueAsNumber,isFocused:J,isDisabled:d,isReadOnly:u,getIncrementButtonProps:kt,getDecrementButtonProps:At,getInputProps:_t,htmlProps:q}}((0,T.v)(s)),{htmlProps:d}=u,h=(0,o.A)(u,D),p=(0,c.useMemo)(()=>h,[h]);return(0,i.jsx)(z,{value:p,children:(0,i.jsx)(j,{value:n,children:(0,i.jsx)(R.B.div,(0,r.A)((0,r.A)({},d),{},{ref:e,className:(0,l.cx)("chakra-numberinput",t.className),__css:(0,r.A)({position:"relative",zIndex:0},n.root)}))})})});F.displayName="NumberInput";const H=(0,N.R)(function(t,e){const n=I();return(0,i.jsx)(R.B.div,(0,r.A)((0,r.A)({"aria-hidden":!0,ref:e},t),{},{__css:(0,r.A)({display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1},n.stepperGroup)}))});H.displayName="NumberInputStepper";const V=(0,N.R)(function(t,e){const{getInputProps:n}=B(),o=n(t,e),a=I();return(0,i.jsx)(R.B.input,(0,r.A)((0,r.A)({},o),{},{className:(0,l.cx)("chakra-numberinput__field",t.className),__css:(0,r.A)({width:"100%"},a.field)}))});V.displayName="NumberInputField";const q=(0,R.B)("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),U=(0,N.R)(function(t,e){var n;const o=I(),{getDecrementButtonProps:a}=B(),s=a(t,e);return(0,i.jsx)(q,(0,r.A)((0,r.A)({},s),{},{__css:o.stepper,children:null!==(n=t.children)&&void 0!==n?n:(0,i.jsx)(d,{})}))});U.displayName="NumberDecrementStepper";const W=(0,N.R)(function(t,e){var n;const{getIncrementButtonProps:o}=B(),a=o(t,e),s=I();return(0,i.jsx)(q,(0,r.A)((0,r.A)({},a),{},{__css:s.stepper,children:null!==(n=t.children)&&void 0!==n?n:(0,i.jsx)(h,{})}))});W.displayName="NumberIncrementStepper"},97685:(t,e,n)=>{var r=n(87937)(n(56552),"DataView");t.exports=r},97950:(t,e,n)=>{"use strict";!function t(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(e){console.error(e)}}(),t.exports=n(82730)},98481:(t,e,n)=>{"use strict";n.d(e,{d:()=>p});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(65043),c=n(4069),u=n(55003),d=n(36059),h=n(52695);const f=["spacing","children"],p=(0,u.R)(function(t,e){const n=(0,d.o)("Switch",t),u=(0,a.M)(t),{spacing:p="0.5rem",children:g}=u,m=(0,o.A)(u,f),{getIndicatorProps:v,getInputProps:y,getCheckboxProps:b,getRootProps:x,getLabelProps:w}=(0,c.v)(m),k=(0,l.useMemo)(()=>(0,r.A)({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0},n.container),[n.container]),A=(0,l.useMemo)(()=>(0,r.A)({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer"},n.track),[n.track]),_=(0,l.useMemo)(()=>(0,r.A)({userSelect:"none",marginStart:p},n.label),[p,n.label]);return(0,i.jsxs)(h.B.label,(0,r.A)((0,r.A)({},x()),{},{className:(0,s.cx)("chakra-switch",t.className),__css:k,children:[(0,i.jsx)("input",(0,r.A)({className:"chakra-switch__input"},y({},e))),(0,i.jsx)(h.B.span,(0,r.A)((0,r.A)({},b()),{},{className:"chakra-switch__track",__css:A,children:(0,i.jsx)(h.B.span,(0,r.A)({__css:n.thumb,className:"chakra-switch__thumb"},v()))})),g&&(0,i.jsx)(h.B.span,(0,r.A)((0,r.A)({className:"chakra-switch__label"},w()),{},{__css:_,children:g}))]}))});p.displayName="Switch"},98587:(t,e,n)=>{"use strict";function r(t,e){if(null==t)return{};var n={};for(var r in t)if({}.hasOwnProperty.call(t,r)){if(-1!==e.indexOf(r))continue;n[r]=t[r]}return n}n.d(e,{A:()=>r})},98662:(t,e,n)=>{"use strict";n.d(e,{$:()=>k});var r=n(80045),o=n(89379),i=n(70579),a=n(43194),s=n(56294),l=n(43464),c=n(64844),u=n(65043),d=n(64367),h=n(52695);const f=["children","className"];function p(t){const{children:e,className:n}=t,a=(0,r.A)(t,f),s=(0,u.isValidElement)(e)?(0,u.cloneElement)(e,{"aria-hidden":!0,focusable:!1}):e,l=(0,c.cx)("chakra-button__icon",n);return(0,i.jsx)(h.B.span,(0,o.A)((0,o.A)({display:"inline-flex",alignSelf:"center",flexShrink:0},a),{},{className:l,children:s}))}p.displayName="ButtonIcon";var g=n(79953),m=n(76659);const v=["label","placement","spacing","children","className","__css"];function y(t){const{label:e,placement:n,spacing:a="0.5rem",children:s=(0,i.jsx)(m.y,{color:"currentColor",width:"1em",height:"1em"}),className:l,__css:d}=t,f=(0,r.A)(t,v),p=(0,c.cx)("chakra-button__spinner",l),y="start"===n?"marginEnd":"marginStart",b=(0,u.useMemo)(()=>(0,g.H2)((0,o.A)({display:"flex",alignItems:"center",position:e?"relative":"absolute",[y]:e?a:0,fontSize:"1em",lineHeight:"normal"},d)),[d,e,y,a]);return(0,i.jsx)(h.B.div,(0,o.A)((0,o.A)({className:p},f),{},{__css:b,children:s}))}y.displayName="ButtonSpinner";var b=n(55003),x=n(36059);const w=["isDisabled","isLoading","isActive","children","leftIcon","rightIcon","loadingText","iconSpacing","type","spinner","spinnerPlacement","className","as","shouldWrapChildren"],k=(0,b.R)((t,e)=>{const n=(0,d.d)(),f=(0,x.V)("Button",(0,o.A)((0,o.A)({},n),t)),p=(0,s.M)(t),{isDisabled:g=(null===n||void 0===n?void 0:n.isDisabled),isLoading:m,isActive:v,children:b,leftIcon:k,rightIcon:_,loadingText:S,iconSpacing:C="0.5rem",type:E,spinner:O,spinnerPlacement:P="start",className:M,as:T,shouldWrapChildren:N}=p,R=(0,r.A)(p,w),L=(0,u.useMemo)(()=>{const t=(0,o.A)((0,o.A)({},null===f||void 0===f?void 0:f._focus),{},{zIndex:1});return(0,o.A)((0,o.A)({display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none"},f),!!n&&{_focus:t})},[f,n]),{ref:D,type:j}=function(t){const[e,n]=(0,u.useState)(!t);return{ref:(0,u.useCallback)(t=>{t&&n("BUTTON"===t.tagName)},[]),type:e?"button":void 0}}(T),I={rightIcon:_,leftIcon:k,iconSpacing:C,children:b,shouldWrapChildren:N};return(0,i.jsxs)(h.B.button,(0,o.A)((0,o.A)({disabled:g||m,ref:(0,a.SV)(e,D),as:T,type:null!==E&&void 0!==E?E:j,"data-active":(0,l.s)(v),"data-loading":(0,l.s)(m),__css:L,className:(0,c.cx)("chakra-button",M)},R),{},{children:[m&&"start"===P&&(0,i.jsx)(y,{className:"chakra-button__spinner--start",label:S,placement:"start",spacing:C,children:O}),m?S||(0,i.jsx)(h.B.span,{opacity:0,children:(0,i.jsx)(A,(0,o.A)({},I))}):(0,i.jsx)(A,(0,o.A)({},I)),m&&"end"===P&&(0,i.jsx)(y,{className:"chakra-button__spinner--end",label:S,placement:"end",spacing:C,children:O})]}))});function A(t){const{leftIcon:e,rightIcon:n,children:r,iconSpacing:o,shouldWrapChildren:a}=t;return a?(0,i.jsxs)("span",{style:{display:"contents"},children:[e&&(0,i.jsx)(p,{marginEnd:o,children:e}),r,n&&(0,i.jsx)(p,{marginStart:o,children:n})]}):(0,i.jsxs)(i.Fragment,{children:[e&&(0,i.jsx)(p,{marginEnd:o,children:e}),r,n&&(0,i.jsx)(p,{marginStart:o,children:n})]})}k.displayName="Button"},98724:(t,e,n)=>{var r=n(27615),o=n(25051),i=n(72154),a=n(48734),s=n(22662);function l(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,t.exports=l},98939:(t,e,n)=>{"use strict";n.d(e,{m:()=>h});var r=n(89379),o=n(80045),i=n(70579),a=n(56294),s=n(64844),l=n(55003),c=n(36059),u=n(52695);const d=["className","centerContent"],h=(0,l.R)(function(t,e){const n=(0,a.M)(t),{className:l,centerContent:h}=n,f=(0,o.A)(n,d),p=(0,c.V)("Container",t);return(0,i.jsx)(u.B.div,(0,r.A)((0,r.A)({ref:e,className:(0,s.cx)("chakra-container",l)},f),{},{__css:(0,r.A)((0,r.A)({},p),h&&{display:"flex",flexDirection:"column",alignItems:"center"})}))});h.displayName="Container"},98971:(t,e,n)=>{"use strict";n.d(e,{C:()=>r});const r=(0,n(14010).w)({displayName:"CalendarIcon",viewBox:"0 0 14 14",d:"M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111,1.05556 L3.88889,1.05556 L3.88889,0 L2.33333,0 L2.33333,1.05556 L1.55556,1.05556 C0.692222,1.05556 0.00777777,1.75556 0.00777777,2.61111 L0,12.5 C0,13.3556 0.692222,14 1.55556,14 L12.4444,14 C13.3,14 14,13.3556 14,12.5 L14,2.61111 C14,1.75556 13.3,1.05556 12.4444,1.05556 Z M12.4444,12.5 L1.55556,12.5 L1.55556,3.94444 L12.4444,3.94444 L12.4444,12.5 Z M8.55556,8.61111 L3.11111,8.61111 L3.11111,10.1667 L8.55556,10.1667 L8.55556,8.61111 Z"})},99032:(t,e,n)=>{"use strict";n.d(e,{E:()=>w});var r=n(80045),o=n(89379),i=n(70579),a=n(65043);var s=n(14258),l=n(56294),c=n(64844),u=n(83290);var d=n(36448),h=n(52695),f=n(55003),p=n(36059);const g=["startColor","endColor","isLoaded","fadeDuration","speed","className","fitContent","animation"],m=(0,h.B)("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),v=(0,s.Vg)("skeleton-start-color"),y=(0,s.Vg)("skeleton-end-color"),b=(0,u.i7)({from:{opacity:0},to:{opacity:1}}),x=(0,u.i7)({from:{borderColor:v.reference,background:v.reference},to:{borderColor:y.reference,background:y.reference}}),w=(0,f.R)((t,e)=>{const n=(0,o.A)((0,o.A)({},t),{},{fadeDuration:"number"===typeof t.fadeDuration?t.fadeDuration:.4,speed:"number"===typeof t.speed?t.speed:.8}),s=(0,p.V)("Skeleton",n),u=function(){const t=(0,a.useRef)(!0);return(0,a.useEffect)(()=>{t.current=!1},[]),t.current}(),f=(0,l.M)(n),{startColor:w="",endColor:k="",isLoaded:A,fadeDuration:_,speed:S,className:C,fitContent:E,animation:O}=f,P=(0,r.A)(f,g),[M,T]=(0,d.rd)("colors",[w,k]),N=function(t){const e=(0,a.useRef)(void 0);return(0,a.useEffect)(()=>{e.current=t},[t]),e.current}(A),R=(0,c.cx)("chakra-skeleton",C),L=(0,o.A)((0,o.A)({},M&&{[v.variable]:M}),T&&{[y.variable]:T});if(A){const t=u||N?"none":"".concat(b," ").concat(_,"s");return(0,i.jsx)(h.B.div,(0,o.A)({ref:e,className:R,__css:{animation:t}},P))}return(0,i.jsx)(m,(0,o.A)((0,o.A)({ref:e,className:R},P),{},{__css:(0,o.A)((0,o.A)((0,o.A)({width:E?"fit-content":void 0},s),L),{},{_dark:(0,o.A)((0,o.A)({},s._dark),L),animation:O||"".concat(S,"s linear infinite alternate ").concat(x)})}))});w.displayName="Skeleton"},99956:(t,e,n)=>{"use strict";n.d(e,{m:()=>L});var r=n(89379),o=n(80045),i=n(70579),a=n(56294);var s=n(77402),l=n(80974),c=n(13729),u=n(96938),d=n(65043),h=n(34766);const f={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};var p=n(96870),g=n(13240),m=n(43194),v=n(37558);function y(t){return["html","body","#document"].includes(t.localName)?t.ownerDocument.body:(0,v.sb)(t)&&function(t){const e=t.ownerDocument.defaultView||window,{overflow:n,overflowX:r,overflowY:o}=e.getComputedStyle(t);return/auto|scroll|overlay|hidden/.test(n+o+r)}(t)?t:y(function(t){return"html"===t.localName?t:t.assignedSlot||t.parentElement||t.ownerDocument.documentElement}(t))}var b=n(86219),x=n(61992),w=n(83818);const k=["openDelay","closeDelay","closeOnClick","closeOnMouseDown","closeOnScroll","closeOnPointerDown","closeOnEsc","onOpen","onClose","placement","id","isOpen","defaultIsOpen","arrowSize","arrowShadowColor","arrowPadding","modifiers","isDisabled","gutter","offset","direction"],A=t=>{var e;return(null===(e=t.current)||void 0===e?void 0:e.ownerDocument)||document},_=t=>{var e;return(null===(e=t.current)||void 0===e||null===(e=e.ownerDocument)||void 0===e?void 0:e.defaultView)||window};function S(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const{openDelay:e=0,closeDelay:n=0,closeOnClick:i=!0,closeOnMouseDown:a,closeOnScroll:s,closeOnPointerDown:l=a,closeOnEsc:c=!0,onOpen:u,onClose:h,placement:f,id:v,isOpen:S,defaultIsOpen:E,arrowSize:O=10,arrowShadowColor:P,arrowPadding:M,modifiers:T,isDisabled:N,gutter:R,offset:L,direction:D}=t,j=(0,o.A)(t,k),{isOpen:I,onOpen:z,onClose:B}=(0,p.j)({isOpen:S,defaultIsOpen:E,onOpen:u,onClose:h}),{referenceRef:F,getPopperProps:H,getArrowInnerProps:V,getArrowProps:q}=(0,x.E)({enabled:I,placement:f,arrowPadding:M,modifiers:T,gutter:R,offset:L,direction:D}),U=(0,d.useId)(),W="tooltip-".concat(null!==v&&void 0!==v?v:U),G=(0,d.useRef)(null),Y=(0,d.useRef)(void 0),K=(0,d.useCallback)(()=>{Y.current&&(clearTimeout(Y.current),Y.current=void 0)},[]),$=(0,d.useRef)(void 0),X=(0,d.useCallback)(()=>{$.current&&(clearTimeout($.current),$.current=void 0)},[]),Q=(0,d.useCallback)(()=>{X(),B()},[B,X]),Z=function(t,e){return(0,d.useEffect)(()=>{const n=A(t);return n.addEventListener(C,e),()=>n.removeEventListener(C,e)},[e,t]),()=>{const e=A(t),n=_(t);e.dispatchEvent(new n.CustomEvent(C))}}(G,Q),J=(0,d.useCallback)(()=>{if(!N&&!Y.current){I&&Z();const t=_(G);Y.current=t.setTimeout(z,e)}},[Z,N,I,z,e]),tt=(0,d.useCallback)(()=>{K();const t=_(G);$.current=t.setTimeout(Q,n)},[n,Q,K]),et=(0,d.useCallback)(()=>{I&&i&&tt()},[i,tt,I]),nt=(0,d.useCallback)(()=>{I&&l&&tt()},[l,tt,I]),rt=(0,d.useCallback)(t=>{I&&"Escape"===t.key&&tt()},[I,tt]);(0,g.M)(()=>A(G),"keydown",c?rt:void 0),(0,g.M)(()=>{if(!s)return null;const t=G.current;if(!t)return null;const e=y(t);return"body"===e.localName?_(G):e},"scroll",()=>{I&&s&&Q()},{passive:!0,capture:!0}),(0,d.useEffect)(()=>{N&&(K(),I&&B())},[N,I,B,K]),(0,d.useEffect)(()=>()=>{K(),X()},[K,X]),(0,g.M)(()=>G.current,"pointerleave",tt);const ot=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return(0,r.A)((0,r.A)({},t),{},{ref:(0,m.Px)(G,e,F),onPointerEnter:(0,b.H)(t.onPointerEnter,t=>{"touch"!==t.pointerType&&J()}),onClick:(0,b.H)(t.onClick,et),onPointerDown:(0,b.H)(t.onPointerDown,nt),onFocus:(0,b.H)(t.onFocus,J),onBlur:(0,b.H)(t.onBlur,tt),"aria-describedby":I?W:void 0})},[J,tt,nt,I,W,et,F]),it=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return H((0,r.A)((0,r.A)({},t),{},{style:(0,r.A)((0,r.A)({},t.style),{},{[w.O3.arrowSize.var]:O?"".concat(O,"px"):void 0,[w.O3.arrowShadowColor.var]:P})}),e)},[H,O,P]),at=(0,d.useCallback)(function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;const n=(0,r.A)((0,r.A)({},t.style),{},{position:"relative",transformOrigin:w.O3.transformOrigin.varRef});return(0,r.A)((0,r.A)((0,r.A)({ref:e},j),t),{},{id:W,role:"tooltip",style:n})},[j,W]);return{isOpen:I,show:J,hide:tt,getTriggerProps:ot,getTooltipProps:at,getTooltipPositionerProps:it,getArrowProps:q,getArrowInnerProps:V}}const C="chakra-ui:close-tooltip";var E=n(17841),O=n(22205),P=n(52695),M=n(55003),T=n(36059);const N=["children","label","shouldWrapChildren","aria-label","hasArrow","bg","portalProps","background","backgroundColor","bgColor","motionProps","animatePresenceProps"],R=(0,P.B)(c.P.div),L=(0,M.R)((t,e)=>{var n,c;const p=(0,T.V)("Tooltip",t),g=(0,a.M)(t),m=(0,E.D)(),{children:v,label:y,shouldWrapChildren:b,"aria-label":x,hasArrow:k,bg:A,portalProps:_,background:C,backgroundColor:M,bgColor:L,motionProps:D,animatePresenceProps:j}=g,I=(0,o.A)(g,N),z=null!==(n=null!==(c=null!==C&&void 0!==C?C:M)&&void 0!==c?c:A)&&void 0!==n?n:L;if(z){p.bg=z;const t=function(t,e,n){var r,o;return null!==(r=null===(o=t.__cssMap)||void 0===o||null===(o=o["".concat(e,".").concat(n)])||void 0===o?void 0:o.varRef)&&void 0!==r?r:n}(m,"colors",z);p[w.O3.arrowBg.var]=t}const B=S((0,r.A)((0,r.A)({},I),{},{direction:m.direction}));let F;if(!(0,d.isValidElement)(v)||b)F=(0,i.jsx)(P.B.span,(0,r.A)((0,r.A)({display:"inline-block",tabIndex:0},B.getTriggerProps()),{},{children:v}));else{const t=d.Children.only(v);F=(0,d.cloneElement)(t,B.getTriggerProps(t.props,(0,h.Q)(t)))}const H=!!x,V=B.getTooltipProps({},e),q=H?(0,s.c)(V,["role","id"]):V,U=(0,l.U)(V,["role","id"]);return y?(0,i.jsxs)(i.Fragment,{children:[F,(0,i.jsx)(u.N,(0,r.A)((0,r.A)({},j),{},{children:B.isOpen&&(0,i.jsx)(O.Z,(0,r.A)((0,r.A)({},_),{},{children:(0,i.jsx)(P.B.div,(0,r.A)((0,r.A)({},B.getTooltipPositionerProps()),{},{__css:{zIndex:p.zIndex,pointerEvents:"none"},children:(0,i.jsxs)(R,(0,r.A)((0,r.A)((0,r.A)({variants:f,initial:"exit",animate:"enter",exit:"exit"},D),q),{},{__css:p,children:[y,H&&(0,i.jsx)(P.B.span,(0,r.A)((0,r.A)({srOnly:!0},U),{},{children:x})),k&&(0,i.jsx)(P.B.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,i.jsx)(P.B.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:p.bg}})})]}))}))}))}))]}):(0,i.jsx)(i.Fragment,{children:v})});L.displayName="Tooltip"},99973:(t,e,n)=>{"use strict";n.d(e,{q:()=>o});var r=n(70579);const o=(0,n(14010).w)({displayName:"EditIcon",path:(0,r.jsxs)("g",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",children:[(0,r.jsx)("path",{d:"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"}),(0,r.jsx)("path",{d:"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z"})]})})}}]);
|
|
//# sourceMappingURL=664.d9b6a63b.js.map |