1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[77130],{61761:function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.isNavigator=e.isBrowser=e.off=e.on=e.noop=void 0,e.noop=function(){},e.on=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t&&t.addEventListener&&t.addEventListener.apply(t,e)},e.off=function(t){for(var e=[],i=1;i<arguments.length;i++)e[i-1]=arguments[i];t&&t.removeEventListener&&t.removeEventListener.apply(t,e)},e.isBrowser=!0,e.isNavigator="undefined"!=typeof navigator},73619:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(44194);e.default=function(t){n.useEffect(t,[])}},46844:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(92336),s=i(44194),r=n.__importDefault(i(77901));e.default=function(t){var e=s.useRef(0),i=s.useState(t),n=i[0],a=i[1],o=s.useCallback(function(t){cancelAnimationFrame(e.current),e.current=requestAnimationFrame(function(){a(t)})},[]);return r.default(function(){cancelAnimationFrame(e.current)}),[n,o]}},77901:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0});var n=i(92336),s=i(44194),r=n.__importDefault(i(73619));e.default=function(t){var e=s.useRef(t);e.current=t,r.default(function(){return function(){return e.current()}})}},67560:function(t,e,i){var n=i(92336),s=i(44194),r=n.__importDefault(i(46844)),a=i(61761);e.Z=function(t){var e=void 0===t?{}:t,i=e.initialWidth,n=e.initialHeight,o=e.onChange,h=r.default({width:a.isBrowser?window.innerWidth:void 0===i?1/0:i,height:a.isBrowser?window.innerHeight:void 0===n?1/0:n}),c=h[0],u=h[1];return s.useEffect(function(){if(a.isBrowser){var t=function(){var t=window.innerWidth,e=window.innerHeight;u({width:t,height:e}),o&&o(t,e)};return a.on(window,"resize",t),function(){a.off(window,"resize",t)}}},[]),c}},76777:function(t){var e={linear:function(t,e,i,n){return(i-e)*t/n+e},easeInQuad:function(t,e,i,n){return(i-e)*(t/=n)*t+e},easeOutQuad:function(t,e,i,n){return-(i-e)*(t/=n)*(t-2)+e},easeInOutQuad:function(t,e,i,n){var s=i-e;return(t/=n/2)<1?s/2*t*t+e:-s/2*(--t*(t-2)-1)+e},easeInCubic:function(t,e,i,n){return(i-e)*(t/=n)*t*t+e},easeOutCubic:function(t,e,i,n){return(i-e)*((t=t/n-1)*t*t+1)+e},easeInOutCubic:function(t,e,i,n){var s=i-e;return(t/=n/2)<1?s/2*t*t*t+e:s/2*((t-=2)*t*t+2)+e},easeInQuart:function(t,e,i,n){return(i-e)*(t/=n)*t*t*t+e},easeOutQuart:function(t,e,i,n){return-(i-e)*((t=t/n-1)*t*t*t-1)+e},easeInOutQuart:function(t,e,i,n){var s=i-e;return(t/=n/2)<1?s/2*t*t*t*t+e:-s/2*((t-=2)*t*t*t-2)+e},easeInQuint:function(t,e,i,n){return(i-e)*(t/=n)*t*t*t*t+e},easeOutQuint:function(t,e,i,n){return(i-e)*((t=t/n-1)*t*t*t*t+1)+e},easeInOutQuint:function(t,e,i,n){var s=i-e;return(t/=n/2)<1?s/2*t*t*t*t*t+e:s/2*((t-=2)*t*t*t*t+2)+e},easeInSine:function(t,e,i,n){var s=i-e;return-s*Math.cos(t/n*(Math.PI/2))+s+e},easeOutSine:function(t,e,i,n){return(i-e)*Math.sin(t/n*(Math.PI/2))+e},easeInOutSine:function(t,e,i,n){return-(i-e)/2*(Math.cos(Math.PI*t/n)-1)+e},easeInExpo:function(t,e,i,n){return 0==t?e:(i-e)*Math.pow(2,10*(t/n-1))+e},easeOutExpo:function(t,e,i,n){var s=i-e;return t==n?e+s:s*(-Math.pow(2,-10*t/n)+1)+e},easeInOutExpo:function(t,e,i,n){var s=i-e;return 0===t?e:t===n?e+s:(t/=n/2)<1?s/2*Math.pow(2,10*(t-1))+e:s/2*(-Math.pow(2,-10*--t)+2)+e},easeInCirc:function(t,e,i,n){return-(i-e)*(Math.sqrt(1-(t/=n)*t)-1)+e},easeOutCirc:function(t,e,i,n){return(i-e)*Math.sqrt(1-(t=t/n-1)*t)+e},easeInOutCirc:function(t,e,i,n){var s=i-e;return(t/=n/2)<1?-s/2*(Math.sqrt(1-t*t)-1)+e:s/2*(Math.sqrt(1-(t-=2)*t)+1)+e},easeInElastic:function(t,e,i,n){var s,r,a,o=i-e;return(a=1.70158,r=0,s=o,0===t)?e:1==(t/=n)?e+o:(r||(r=.3*n),s<Math.abs(o)?(s=o,a=r/4):a=r/(2*Math.PI)*Math.asin(o/s),-(s*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t*n-a)/r))+e)},easeOutElastic:function(t,e,i,n){var s,r,a,o=i-e;return(a=1.70158,r=0,s=o,0===t)?e:1==(t/=n)?e+o:(r||(r=.3*n),s<Math.abs(o)?(s=o,a=r/4):a=r/(2*Math.PI)*Math.asin(o/s),s*Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*n-a)/r)+o+e)},easeInOutElastic:function(t,e,i,n){var s,r,a,o=i-e;return(a=1.70158,r=0,s=o,0===t)?e:2==(t/=n/2)?e+o:(r||(r=.3*1.5*n),s<Math.abs(o)?(s=o,a=r/4):a=r/(2*Math.PI)*Math.asin(o/s),t<1)?-(s*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t*n-a)/r)*.5)+e:s*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t*n-a)/r)*.5+o+e}
1,easeInBack:function(t,e,i,n,s){return void 0===s&&(s=1.70158),(i-e)*(t/=n)*t*((s+1)*t-s)+e},easeOutBack:function(t,e,i,n,s){return void 0===s&&(s=1.70158),(i-e)*((t=t/n-1)*t*((s+1)*t+s)+1)+e},easeInOutBack:function(t,e,i,n,s){var r=i-e;return(void 0===s&&(s=1.70158),(t/=n/2)<1)?r/2*(t*t*(((s*=1.525)+1)*t-s))+e:r/2*((t-=2)*t*(((s*=1.525)+1)*t+s)+2)+e},easeInBounce:function(t,i,n,s){var r,a=n-i;return r=e.easeOutBounce(s-t,0,a,s),a-r+i},easeOutBounce:function(t,e,i,n){var s=i-e;return(t/=n)<1/2.75?7.5625*t*t*s+e:t<2/2.75?s*(7.5625*(t-=1.5/2.75)*t+.75)+e:t<2.5/2.75?s*(7.5625*(t-=2.25/2.75)*t+.9375)+e:s*(7.5625*(t-=2.625/2.75)*t+.984375)+e},easeInOutBounce:function(t,i,n,s){var r=n-i;return t<s/2?.5*e.easeInBounce(2*t,0,r,s)+i:.5*e.easeOutBounce(2*t-s,0,r,s)+.5*r+i}};t.exports=e},60578:function(t,e,i){i.d(e,{Z:function(){return x}});var n,s,r,a,o=i(31549),h=i(44194),c=i(76777);function u(t,e){return t+Math.random()*(e-t)}(n=r||(r={}))[n.Circle=0]="Circle",n[n.Square=1]="Square",n[n.Strip=2]="Strip",(s=a||(a={}))[s.Positive=1]="Positive",s[s.Negative=-1]="Negative";let l=1e3/60;class f{constructor(t,e,i,n){this.getOptions=e;let{colors:s,initialVelocityX:r,initialVelocityY:o}=this.getOptions();this.context=t,this.x=i,this.y=n,this.w=u(5,20),this.h=u(5,20),this.radius=u(5,10),this.vx="number"==typeof r?u(-r,r):u(r.min,r.max),this.vy="number"==typeof o?u(-o,0):u(o.min,o.max),this.shape=Math.floor(0+3*Math.random()),this.angle=u(0,360)*Math.PI/180,this.angularSpin=u(-.2,.2),this.color=s[Math.floor(Math.random()*s.length)],this.rotateY=u(0,1),this.rotationDirection=u(0,1)?a.Positive:a.Negative}update(t){let{gravity:e,wind:i,friction:n,opacity:s,drawShape:o}=this.getOptions(),h=t/l;this.x+=this.vx*h,this.y+=this.vy*h,this.vy+=e*h,this.vx+=i*h,this.vx*=n**h,this.vy*=n**h,this.rotateY>=1&&this.rotationDirection===a.Positive?this.rotationDirection=a.Negative:this.rotateY<=-1&&this.rotationDirection===a.Negative&&(this.rotationDirection=a.Positive);let c=.1*this.rotationDirection*h;if(this.rotateY+=c,this.angle+=this.angularSpin,this.context.save(),this.context.translate(this.x,this.y),this.context.rotate(this.angle),this.context.scale(1,this.rotateY),this.context.rotate(this.angle),this.context.beginPath(),this.context.fillStyle=this.color,this.context.strokeStyle=this.color,this.context.globalAlpha=s,this.context.lineCap="round",this.context.lineWidth=2,o&&"function"==typeof o)o.call(this,this.context);else switch(this.shape){case r.Circle:this.context.beginPath(),this.context.arc(0,0,this.radius,0,2*Math.PI),this.context.fill();break;case r.Square:this.context.fillRect(-this.w/2,-this.h/2,this.w,this.h);break;case r.Strip:this.context.fillRect(-this.w/6,-this.h/2,this.w/3,this.h)}this.context.closePath(),this.context.restore()}}class p{constructor(t,e){this.x=0,this.y=0,this.w=0,this.h=0,this.lastNumberOfPieces=0,this.tweenProgress=0,this.tweenFrom=0,this.particles=[],this.particlesGenerated=0,this.removeParticleAt=t=>{this.particles.splice(t,1)},this.getParticle=()=>{let t=u(this.x,this.w+this.x),e=u(this.y,this.h+this.y);return new f(this.context,this.getOptions,t,e)},this.animate=t=>{let{canvas:e,context:i,particlesGenerated:n,lastNumberOfPieces:s}=this,{run:r,recycle:a,numberOfPieces:o,debug:h,tweenFunction:c,tweenDuration:u}=this.getOptions();if(!r)return!1;let l=this.particles.length,f=a?l:n;if(f<o){s!==o&&(this.tweenProgress=0,this.tweenFrom=f,this.lastNumberOfPieces=o),this.tweenProgress=Math.min(u,Math.max(0,this.tweenProgress+t));let e=Math.round(c(this.tweenProgress,this.tweenFrom,o,u)-f);for(let t=0;t<e;t++)this.particles.push(this.getParticle());this.particlesGenerated+=e}h&&(i.font="12px sans-serif",i.fillStyle="#333",i.textAlign="right",i.fillText(`Particles: ${l}`,e.width-10,e.height-20));for(let i=this.particles.length-1;i>=0;i--){let n=this.particles[i];n.update(t),(n.y>e.height||n.y<-100||n.x>e.width+100||n.x<-100)&&(a&&f<=o?this.particles[i]=this.getParticle():this.removeParticleAt(i))}return l>0||f<o},this.canvas=t;let i=this.canvas.getContext("2d");if(!i)throw Error("Could not get canvas context");this.context=i,this.getOptions=e}}let d={width:"undefined"!=typeof window?window.innerWidth:300,height:"undefined"!=typeof window?window.innerHeight:200,numberOfPieces:200,friction:.99,wind:0,gravity:.1,initialVelocityX:4,initialVelocityY:10,colors:["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4CAF50","#8BC34A","#CDDC39","#FFEB3B","#FFC107","#F
1F9800","#FF5722","#795548"],opacity:1,debug:!1,tweenFunction:c.easeInOutQuad,tweenDuration:5e3,recycle:!0,run:!0};class v{constructor(t,e){this.lastFrameTime=0,this.setOptionsWithDefaults=t=>{let e={confettiSource:{x:0,y:0,w:this.canvas.width,h:0}};this._options={...e,...d,...t},Object.assign(this,t.confettiSource)},this.update=(t=0)=>{let{options:{run:e,onConfettiComplete:i,frameRate:n},canvas:s,context:r}=this,a=Math.min(t-this.lastFrameTime,50);if(n&&a<1e3/n){this.rafId=requestAnimationFrame(this.update);return}this.lastFrameTime=t-(n?a%n:0),e&&(r.fillStyle="white",r.clearRect(0,0,s.width,s.height)),this.generator.animate(a)?this.rafId=requestAnimationFrame(this.update):(i&&"function"==typeof i&&this.generator.particlesGenerated>0&&i.call(this,this),this._options.run=!1)},this.reset=()=>{this.generator&&this.generator.particlesGenerated>0&&(this.generator.particlesGenerated=0,this.generator.particles=[],this.generator.lastNumberOfPieces=0)},this.stop=()=>{this.options={run:!1},this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=void 0)},this.canvas=t;let i=this.canvas.getContext("2d");if(!i)throw Error("Could not get canvas context");this.context=i,this.generator=new p(this.canvas,()=>this.options),this.options=e,this.update()}get options(){return this._options}set options(t){let e=this._options?.run,i=this._options?.recycle;this.setOptionsWithDefaults(t),this.generator&&(Object.assign(this.generator,this.options.confettiSource),"boolean"==typeof t.recycle&&t.recycle&&!1===i&&(this.generator.lastNumberOfPieces=this.generator.particles.length)),"boolean"==typeof t.run&&t.run&&!1===e&&this.update()}}let g=h.createRef();class w extends h.Component{constructor(t){super(t),this.canvas=h.createRef(),this.canvas=t.canvasRef||g}componentDidMount(){if(this.canvas.current){let t=m(this.props)[0];this.confetti=new v(this.canvas.current,t)}}componentDidUpdate(){let t=m(this.props)[0];this.confetti&&(this.confetti.options=t)}componentWillUnmount(){this.confetti&&this.confetti.stop(),this.confetti=void 0}render(){let[t,e]=m(this.props),i={zIndex:2,position:"absolute",pointerEvents:"none",top:0,left:0,bottom:0,right:0,...e.style};return(0,o.jsx)("canvas",{width:t.width,height:t.height,ref:this.canvas,...e,style:i})}}function m(t){let e={},i={},n=[...Object.keys(d),"confettiSource","drawShape","onConfettiComplete","frameRate"],s=["canvasRef"];for(let r in t){let a=t[r];n.includes(r)?e[r]=a:s.includes(r)?s[r]=a:i[r]=a}return[e,i,{}]}w.defaultProps={...d},w.displayName="ReactConfetti";let x=h.forwardRef((t,e)=>(0,o.jsx)(w,{canvasRef:e,...t}))}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.