1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[498],{80498:function(e,t,n){n.d(t,{iR:function(){return J},Ms:function(){return et},gs:function(){return Z},Uj:function(){return ee}});var r=n(85893),i=n(65544),a=n(52110),l=n(34926),s=n(95372),o=n(27091),u=n(67294);function c(e){let t=(0,u.useRef)(null);return t.current=e,t}var h=n(4840);function d(e,t="page"){return e.touches?function(e,t="page"){let n=e.touches[0]||e.changedTouches[0];return{x:n[`${t}X`],y:n[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}function f(e,t,n,r){var i;return i=function(e,t=!1){function n(t){e(t,{point:d(t)})}return t?e=>{let t=function(e){let t=e.view??window;return void 0!==t.PointerEvent&&e instanceof t.PointerEvent?!("mouse"!==e.pointerType):e instanceof t.MouseEvent}(e);(!t||t&&0===e.button)&&n(e)}:n}(n,"pointerdown"===t),e.addEventListener(t,i,r),()=>{e.removeEventListener(t,i,r)}}let p=1/60*1e3,m="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),v="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(m()),p),y=!0,b=!1,x=!1,w={delta:0,timestamp:0},g=["read","update","preRender","render","postRender"],k=g.reduce((e,t)=>(e[t]=function(e){let t=[],n=[],r=0,i=!1,a=!1,l=new WeakSet,s={schedule:(e,a=!1,s=!1)=>{let o=s&&i,u=o?t:n;return a&&l.add(e),-1===u.indexOf(e)&&(u.push(e),o&&i&&(r=t.length)),e},cancel:e=>{let t=n.indexOf(e);-1!==t&&n.splice(t,1),l.delete(e)},process:o=>{if(i){a=!0;return}if(i=!0,[t,n]=[n,t],n.length=0,r=t.length)for(let n=0;n<r;n++){let r=t[n];r(o),l.has(r)&&(s.schedule(r),e())}i=!1,a&&(a=!1,s.process(o))}};return s}(()=>b=!0),e),{}),S=g.reduce((e,t)=>{let n=k[t];return e[t]=(e,t=!1,r=!1)=>(b||_(),n.schedule(e,t,r)),e},{}),E=g.reduce((e,t)=>(e[t]=k[t].cancel,e),{});g.reduce((e,t)=>(e[t]=()=>k[t].process(w),e),{});let N=e=>k[e].process(w),P=e=>{b=!1,w.delta=y?p:Math.max(Math.min(e-w.timestamp,40),1),w.timestamp=e,x=!0,g.forEach(N),x=!1,b&&(y=!1,v(P))},_=()=>{b=!0,y=!0,x||v(P)},C=()=>w;var $=Object.defineProperty,M=(e,t,n)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,T=(e,t,n)=>(M(e,"symbol"!=typeof t?t+"":t,n),n);class U{constructor(e,t,n){if(T(this,"history",[]),T(this,"startEvent",null),T(this,"lastEvent",null),T(this,"lastEventInfo",null),T(this,"handlers",{}),T(this,"removeListeners",()=>{}),T(this,"threshold",3),T(this,"win"),T(this,"updatePoint",()=>{var e,t;if(!(this.lastEvent&&this.lastEventInfo))return;let n=j(this.lastEventInfo,this.history),r=null!==this.startEvent,i=(e=n.offset,t={x:0,y:0},(F(e)&&F(t)?Math.sqrt(I(e.x,t.x)**2+I(e.y,t.y)**2):0)>=this.threshold);if(!r&&!i)return;let{timestamp:a}=C();this.history.push({...n.point,timestamp:a});let{onStart:l,onMove:s}=this.handlers;r||(l?.(this.lastEvent,n),this.startEvent=this.lastEvent),s?.(this.lastEvent,n)}),T(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,S.update(this.updatePoint,!0)}),T(this,"onPointerUp",(e,t)=>{let n=j(t,this.history),{onEnd:r,onSessionEnd:i}=this.handlers;i?.(e,n),this.end(),r&&this.startEvent&&r?.(e,n)}),this.win=e.view??window,e.touches&&e.touches.length>1)return;this.handlers=t,n&&(this.threshold=n),e.stopPropagation(),e.preventDefault();let r={point:d(e)},{timestamp:i}=C();this.history=[{...r.point,timestamp:i}];let{onSessionStart:a}=t;a?.(e,j(r,this.history)),this.removeListeners=function(...e){return t=>e.reduce((e,t)=>t(e),t)}(f(this.win,"pointermove",this.onPointerMove),f(this.win,"pointerup",this.onPointerUp),f(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners?.(),E.update(this.updatePoint)}}function R(e,t){return{x:e.x-t.x,y:e.y-t.y}}function j(e,t){return{point:e.point,delta:R(e.point,t[t.length-1]),offset:R(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=e[e.length-1];for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>D(.1)));)n--;if(!r)return{x:0,y:0};let a=(i.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};let l={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return l.x===1/0&&(l.x=0),l.y===1/0&&(l.y=0),l}(t,0)}}let D=e=>1e3*e;function I(e,t){return Math.abs(e-t)}function F(e){return"x"in e&&"y"in e}var z=n(29062);function A(e,t,n){return function(e,t){let n=function(e){let t=parseFloat(e);return"number"!=typeof t||Number.isNaN(t)?0:t}(e),r=10**(t??10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}(Math.round((e-t)/n)*n+t,function(e){if(!Number.isFinite(e))return 0;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n+=1;return n}(n))}function L(e,t,n){return null==e?e:(n<t&&console.warn("clamp: max cannot be less than min"),Math.min(Math.max(e,t),n))}var W=n(20397),q=n(68928);function G(e){let{orientation:t,vertical:n,horizontal:r}=e;return"vertical"===t?n:r}var H=n(37984),O=n(49381),B=n(73035),Q=n(37430);let[X,Y]=(0,a.k)({name:"SliderContext",hookName:"useSliderContext",providerName:"<Slider />"}),[K,V]=(0,a.k)({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:"<Slider />"}),J=(0,O.G)((e,t)=>{let n={...e,orientation:e?.orientation??"horizontal"},a=(0,B.j)("Slider",n),d=(0,i.L)(n),{direction:p}=(0,H.F)();d.direction=p;let{getInputProps:m,getRootProps:v,...y}=function(e){let{min:t=0,max:n=100,onChange:r,value:i,defaultValue:a,isReversed:l,direction:d="ltr",orientation:p="horizontal",id:m,isDisabled:v,isReadOnly:y,onChangeStart:b,onChangeEnd:x,step:w=1,getAriaValueText:g,"aria-valuetext":k,"aria-label":S,"aria-labelledby":E,name:N,focusThumbOnChange:P=!0,..._}=e,C=(0,s.W)(b),$=(0,s.W)(x),M=(0,s.W)(g),T=function(e){let{isReversed:t,direction:n,orientation:r}=e;return"ltr"===n||"vertical"===r?t:!t}({isReversed:l,direction:d,orientation:p}),[R,j]=(0,o.T)({value:i,defaultValue:a??(n<t?t:t+(n-t)/2),onChange:r}
1),[D,I]=(0,u.useState)(!1),[F,H]=(0,u.useState)(!1),O=!(v||y),B=(n-t)/10,Q=w||(n-t)/100,X=L(R,t,n),Y=n-X+t,K=((T?Y:X)-t)*100/(n-t),V="vertical"===p,J=c({min:t,max:n,step:w,isDisabled:v,value:X,isInteractive:O,isReversed:T,isVertical:V,eventSource:null,focusThumbOnChange:P,orientation:p}),Z=(0,u.useRef)(null),ee=(0,u.useRef)(null),et=(0,u.useRef)(null),en=(0,u.useId)(),er=m??en,[ei,ea]=[`slider-thumb-${er}`,`slider-track-${er}`],el=(0,u.useCallback)(e=>{var t,n;if(!Z.current)return;let r=J.current;r.eventSource="pointer";let i=Z.current.getBoundingClientRect(),{clientX:a,clientY:l}=e.touches?.[0]??e,s=(V?i.bottom-l:a-i.left)/(V?i.height:i.width);T&&(s=1-s);let o=(t=s,n=r.min,(r.max-n)*t+n);return r.step&&(o=parseFloat(A(o,r.min,r.step))),o=L(o,r.min,r.max)},[V,T,J]),es=(0,u.useCallback)(e=>{let t=J.current;t.isInteractive&&j(e=L(e=parseFloat(A(e,t.min,Q)),t.min,t.max))},[Q,j,J]),eo=(0,u.useMemo)(()=>({stepUp(e=Q){es(T?X-e:X+e)},stepDown(e=Q){es(T?X+e:X-e)},reset(){es(a||0)},stepTo(e){es(e)}}),[es,T,X,Q,a]),eu=(0,u.useCallback)(e=>{let t=J.current,n={ArrowRight:()=>eo.stepUp(),ArrowUp:()=>eo.stepUp(),ArrowLeft:()=>eo.stepDown(),ArrowDown:()=>eo.stepDown(),PageUp:()=>eo.stepUp(B),PageDown:()=>eo.stepDown(B),Home:()=>es(t.min),End:()=>es(t.max)}[e.key];n&&(e.preventDefault(),e.stopPropagation(),n(e),t.eventSource="keyboard")},[eo,es,B,J]),ec=M?.(X)??k,{getThumbStyle:eh,rootStyle:ed,trackStyle:ef,innerTrackStyle:ep}=(0,u.useMemo)(()=>(function(e){let{orientation:t,thumbPercents:n,isReversed:r}=e,i={position:"absolute",...G({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},a=1===n.length,l=[0,r?100-n[0]:n[0]],s=a?l:n,o=s[0];!a&&r&&(o=100-o);let u=Math.abs(s[s.length-1]-s[0]),c={...i,...G({orientation:t,vertical:r?{height:`${u}%`,top:`${o}%`}:{height:`${u}%`,bottom:`${o}%`},horizontal:r?{width:`${u}%`,right:`${o}%`}:{width:`${u}%`,left:`${o}%`}})};return{trackStyle:i,innerTrackStyle:c,rootStyle:{position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0},getThumbStyle:e=>({position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...G({orientation:t,vertical:{bottom:`calc(${n[e]}% - var(--slider-thumb-size) / 2)`},horizontal:{left:`calc(${n[e]}% - var(--slider-thumb-size) / 2)`}})})}})({isReversed:T,orientation:J.current.orientation,thumbPercents:[K]}),[T,K,J]),em=(0,u.useCallback)(()=>{J.current.focusThumbOnChange&&setTimeout(()=>ee.current?.focus())},[J]);function ev(e){let t=el(e);null!=t&&t!==J.current.value&&j(t)}(0,h.r)(()=>{let e=J.current;em(),"keyboard"===e.eventSource&&$?.(e.value)},[X,$]),function(e,t){let{onPan:n,onPanStart:r,onPanEnd:i,onPanSessionStart:a,onPanSessionEnd:l,threshold:s}=t,o=!!(n||r||i||a||l),h=(0,u.useRef)(null),d=c({onSessionStart:a,onSessionEnd:l,onStart:r,onMove:n,onEnd(e,t){h.current=null,i?.(e,t)}});(0,u.useEffect)(()=>{h.current?.updateHandlers(d.current)}),(0,u.useEffect)(()=>{let t=e.current;if(t&&o)return f(t,"pointerdown",function(e){h.current=new U(e,d.current,s)})},[e,o,d,s]),(0,u.useEffect)(()=>()=>{h.current?.end(),h.current=null},[])}(et,{onPanSessionStart(e){let t=J.current;t.isInteractive&&(I(!0),em(),ev(e),C?.(t.value))},onPanSessionEnd(){let e=J.current;e.isInteractive&&(I(!1),$?.(e.value))},onPan(e){J.current.isInteractive&&ev(e)}});let ey=(0,u.useCallback)((e={},t=null)=>({...e,..._,ref:(0,z.lq)(t,et),tabIndex:-1,"aria-disabled":(0,W.Q)(v),"data-focused":(0,W.P)(F),style:{...e.style,...ed}}),[_,v,F,ed]),eb=(0,u.useCallback)((e={},t=null)=>({...e,ref:(0,z.lq)(t,Z),id:ea,"data-disabled":(0,W.P)(v),style:{...e.style,...ef}}),[v,ea,ef]),ex=(0,u.useCallback)((e={},t=null)=>({...e,ref:t,style:{...e.style,...ep}}),[ep]),ew=(0,u.useCallback)((e={},r=null)=>({...e,ref:(0,z.lq)(r,ee),role:"slider",tabIndex:O?0:void 0,id:ei,"data-active":(0,W.P)(D),"aria-valuetext":ec,"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":X,"aria-orientation":p,"aria-disabled":(0,W.Q)(v),"aria-readonly":(0,W.Q)(y),"aria-label":S,"aria-labelledby":S?void 0:E,style:{...e.style,...eh(0)},onKeyDown:(0,q.v)(e.onKeyDown,eu),onFocus:(0,q.v)(e.onFocus,()=>H(!0)),onBlur:(0,q.v)(e.onBlur,()=>H(!1))}),[O,ei,D,ec,t,n,X,p,v,y,S,E,eh,eu]),eg=(0,u.useCallback)((e,r=null)=>{let i=!(e.value<t||e.value>n),a=X>=e.value,l=(e.value-t)*100/(n-t),s={position:"absolute",pointerEvents:"none",...function(e){let{orientation:t,vertical:n,horizontal:r}=e;return"vertical"===t?n:r}({orientation:p,vertical:{bottom:T?`${100-l}%`:`${l}%`},horizontal:{left:T?`${100-l}%`:`${l}%`}})};return{...e,ref:r,role:"presentation","aria-hidden":!0,"data-disabled":(0,W.P)(v),"data-invalid":(0,W.P)(!i),"data-highlighted":(0,W.P)(a),style:{...e.style,...s}}},[v,T,n,t,p,X]),ek=(0,u.useCallback)((e={},t=null)=>({...e,ref:t,type:"hidden",value:X,name:N}),[N,X]);return{state:{value:X,isFocused:F,isDragging:D},actions:eo,getRootProps:ey,getTrackProps:eb,getInnerTrackProps:ex,getThumbProps:ew,getMarkerProps:eg,getInputProps:ek}}(d),b=v(),x=m({},t);return(0,r.jsx)(X,{value:y,children:(0,r.jsx)(K,{value:a,children:(0,r.jsxs)(Q.m.div,{...b,className:(0,l.cx)("chakra-sli
1der",n.className),__css:a.container,children:[n.children,(0,r.jsx)("input",{...x})]})})})});J.displayName="Slider";let Z=(0,O.G)((e,t)=>{let{getThumbProps:n}=Y(),i=V(),a=n(e,t);return(0,r.jsx)(Q.m.div,{...a,className:(0,l.cx)("chakra-slider__thumb",e.className),__css:i.thumb})});Z.displayName="SliderThumb";let ee=(0,O.G)((e,t)=>{let{getTrackProps:n}=Y(),i=V(),a=n(e,t);return(0,r.jsx)(Q.m.div,{...a,className:(0,l.cx)("chakra-slider__track",e.className),__css:i.track})});ee.displayName="SliderTrack";let et=(0,O.G)((e,t)=>{let{getInnerTrackProps:n}=Y(),i=V(),a=n(e,t);return(0,r.jsx)(Q.m.div,{...a,className:(0,l.cx)("chakra-slider__filled-track",e.className),__css:i.filledTrack})});et.displayName="SliderFilledTrack",(0,O.G)((e,t)=>{let{getMarkerProps:n}=Y(),i=V(),a=n(e,t);return(0,r.jsx)(Q.m.div,{...a,className:(0,l.cx)("chakra-slider__marker",e.className),__css:i.mark})}).displayName="SliderMark"}}]);
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.