(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7701],{2599:function(e,t,n){var r,o;void 0!==(o="function"==typeof(r=function(){"use strict";function t(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){a(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function r(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function o(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var i="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,l=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),a=i.saveAs||("object"!=typeof window||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!l?function(e,n,l){var a=i.URL||i.webkitURL,u=document.createElement("a");n=n||e.name||"download",u.download=n,u.rel="noopener","string"==typeof e?(u.href=e,u.origin===location.origin?o(u):r(u.href)?t(e,n,l):o(u,u.target="_blank")):(u.href=a.createObjectURL(e),setTimeout(function(){a.revokeObjectURL(u.href)},4e4),setTimeout(function(){o(u)},0))}:"msSaveOrOpenBlob"in navigator?function(e,n,i){if(n=n||e.name||"download","string"!=typeof e){var l;navigator.msSaveOrOpenBlob((void 0===(l=i)?l={autoBom:!1}:"object"!=typeof l&&(console.warn("Deprecated: Expected third argument to be a object"),l={autoBom:!l}),l.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\uFEFF",e],{type:e.type}):e),n)}else if(r(e))t(e,n,i);else{var a=document.createElement("a");a.href=e,a.target="_blank",setTimeout(function(){o(a)})}}:function(e,n,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return t(e,n,r);var a="application/octet-stream"===e.type,u=/constructor/i.test(i.HTMLElement)||i.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||a&&u||l)&&"undefined"!=typeof FileReader){var f=new FileReader;f.onloadend=function(){var e=f.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},f.readAsDataURL(e)}else{var s=i.URL||i.webkitURL,d=s.createObjectURL(e);o?o.location=d:location.href=d,o=null,setTimeout(function(){s.revokeObjectURL(d)},4e4)}});i.saveAs=a.saveAs=a,e.exports=a})?r.apply(t,[]):r)&&(e.exports=o)},26033:function(e,t,n){var r=0/0,o=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,s=c||f||Function("return this")(),d=Object.prototype.toString,p=Math.max,m=Math.min,v=function(){return s.Date.now()};function h(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function w(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==d.call(t))return r;if(h(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=h(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var c=l.test(e);return c||a.test(e)?u(e.slice(2),c?2:8):i.test(e)?r:+e}e.exports=function(e,t,n){var r,o,i,l,a,u,c=0,f=!1,s=!1,d=!0;if("function"!=typeof e)throw TypeError("Expected a function");function g(t){var n=r,i=o;return r=o=void 0,c=t,l=e.apply(i,n)}function b(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||s&&r>=i}function y(){var e,n,r,o=v();if(b(o))return S(o);a=setTimeout(y,(e=o-u,n=o-c,r=t-e,s?m(r,i-n):r))}function S(e){return(a=void 0,d&&r)?g(e):(r=o=void 0,l)}function E(){var e,n=v(),i=b(n);if(r=arguments,o=this,u=n,i){if(void 0===a)return c=e=u,a=setTimeout(y,t),f?g(e):l;if(s)return a=setTimeout(y,t),g(u)}return void 0===a&&(a=setTimeout(y,t)),l}return t=w(t)||0,h(n)&&(f=!!n.leading,i=(s="maxWait"in n)?p(w(n.maxWait)||0,t):i,d="trailing"in n?!!n.trailing:d),E.cancel=function(){void 0!==a&&clearTimeout(a),c=0,r=u=o=a=void 0},E.flush=function(){return void 0===a?l:S(v())},E}},14749:function(e,t,n){"use strict";function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}n.d(t,{Z:function(){return r}})},54652:function(e,t,n){"use strict";n.d(t,{e6:function(){return V},fC:function(){return B},bU:function(){return W},fQ:function(){return F}});var r=n(14749),o=n(2265);function i(e,[t,n]){return Math.min(n,Math.max(t,e))}function l(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(null==e||e(r),!1===n||!r.defaultPrevented)return null==t?void 0:t(r)}}function a(...e){return t=>e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}function u(...e){return(0,o.useCallback)(a(...e),e)}function c(e,t=[]){let n=[],r=()=>{let t=n.map(e=>(0,o.createContext)(e));return function(n){let r=(null==n?void 0:n[e])||t;return(0,o.useMemo)(()=>({[`__scope${e}`]:{...n,[e]:r}}),[n,r])}};return r.scopeName=e,[function(t,r){let i=(0,o.createContext)(r),l=n.length;function a(t){let{scope:n,children:r,...a}=t,u=(null==n?void 0:n[e][l])||i,c=(0,o.useMemo)(()=>a,Object.values(a));return(0,o.createElement)(u.Provider,{value:c},r)}return n=[...n,r],a.displayName=t+"Provider",[a,function(n,a){let u=(null==a?void 0:a[e][l])||i,c=(0,o.useContext)(u);if(c)return c;if(void 0!==r)return r;throw Error(`\`${n}\` must be used within \`${t}\``)}]},function(...e){let t=e[0];if(1===e.length)return t;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let r=n.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return(0,o.useMemo)(()=>({[`__scope${t.scopeName}`]:r}),[r])}};return n.scopeName=t.scopeName,n}(r,...t)]}function f(e){let t=(0,o.useRef)(e);return(0,o.useEffect)(()=>{t.current=e}),(0,o.useMemo)(()=>(...e)=>{var n;return null===(n=t.current)||void 0===n?void 0:n.call(t,...e)},[])}let s=(0,o.createContext)(void 0),d=(null==globalThis?void 0:globalThis.document)?o.useLayoutEffect:()=>{};n(54887);let p=(0,o.forwardRef)((e,t)=>{let{children:n,...i}=e,l=o.Children.toArray(n),a=l.find(h);if(a){let e=a.props.children,n=l.map(t=>t!==a?t:o.Children.count(e)>1?o.Children.only(null):(0,o.isValidElement)(e)?e.props.children:null);return(0,o.createElement)(m,(0,r.Z)({},i,{ref:t}),(0,o.isValidElement)(e)?(0,o.cloneElement)(e,void 0,n):null)}return(0,o.createElement)(m,(0,r.Z)({},i,{ref:t}),n)});p.displayName="Slot";let m=(0,o.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,o.isValidElement)(n)?(0,o.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?a(t,n.ref):n.ref}):o.Children.count(n)>1?o.Children.only(null):null});m.displayName="SlotClone";let v=({children:e})=>(0,o.createElement)(o.Fragment,null,e);function h(e){return(0,o.isValidElement)(e)&&e.type===v}let w=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"].reduce((e,t)=>{let n=(0,o.forwardRef)((e,n)=>{let{asChild:i,...l}=e,a=i?p:t;return(0,o.useEffect)(()=>{window[Symbol.for("radix-ui")]=!0},[]),(0,o.createElement)(a,(0,r.Z)({},l,{ref:n}))});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),g=["PageUp","PageDown"],b=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],y={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},S="Slider",[E,R,x]=function(e){let t=e+"CollectionProvider",[n,r]=c(t),[i,l]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=e+"CollectionSlot",f=o.forwardRef((e,t)=>{let{scope:n,children:r}=e,i=u(t,l(a,n).collectionRef);return o.createElement(p,{ref:i},r)}),s=e+"CollectionItemSlot",d="data-radix-collection-item";return[{Provider:e=>{let{scope:t,children:n}=e,r=o.useRef(null),l=o.useRef(new Map).current;return o.createElement(i,{scope:t,itemMap:l,collectionRef:r},n)},Slot:f,ItemSlot:o.forwardRef((e,t)=>{let{scope:n,children:r,...i}=e,a=o.useRef(null),c=u(t,a),f=l(s,n);return o.useEffect(()=>(f.itemMap.set(a,{ref:a,...i}),()=>void f.itemMap.delete(a))),o.createElement(p,{[d]:"",ref:c},r)})},function(t){let n=l(e+"CollectionConsumer",t);return o.useCallback(()=>{let e=n.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll(`[${d}]`));return Array.from(n.itemMap.values()).sort((e,n)=>t.indexOf(e.ref.current)-t.indexOf(n.ref.current))},[n.collectionRef,n.itemMap])},r]}(S),[M,C]=c(S,[x]),[D,_]=M(S),A=(0,o.forwardRef)((e,t)=>{let{name:n,min:a=0,max:c=100,step:s=1,orientation:d="horizontal",disabled:p=!1,minStepsBetweenThumbs:m=0,defaultValue:v=[a],value:h,onValueChange:w=()=>{},onValueCommit:y=()=>{},inverted:S=!1,...R}=e,[x,M]=(0,o.useState)(null),C=u(t,e=>M(e)),_=(0,o.useRef)(new Set),A=(0,o.useRef)(0),P="horizontal"===d,O=!x||!!x.closest("form"),[T=[],L]=function({prop:e,defaultProp:t,onChange:n=()=>{}}){let[r,i]=function({defaultProp:e,onChange:t}){let n=(0,o.useState)(e),[r]=n,i=(0,o.useRef)(r),l=f(t);return(0,o.useEffect)(()=>{i.current!==r&&(l(r),i.current=r)},[r,i,l]),n}({defaultProp:t,onChange:n}),l=void 0!==e,a=l?e:r,u=f(n);return[a,(0,o.useCallback)(t=>{if(l){let n="function"==typeof t?t(e):t;n!==e&&u(n)}else i(t)},[l,e,i,u])]}({prop:h,defaultProp:v,onChange:e=>{var t;null===(t=[..._.current][A.current])||void 0===t||t.focus(),w(e)}}),H=(0,o.useRef)(T);function U(e,t,{commit:n}={commit:!1}){let r=(String(s).split(".")[1]||"").length,o=i(function(e,t){let n=Math.pow(10,t);return Math.round(e*n)/n}(Math.round((e-a)/s)*s+a,r),[a,c]);L((e=[])=>{var r,i;let l=function(e=[],t,n){let r=[...e];return r[n]=t,r.sort((e,t)=>e-t)}(e,o,t);if(r=l,!(!((i=m*s)>0)||Math.min(...r.slice(0,-1).map((e,t)=>r[t+1]-e))>=i))return e;{A.current=l.indexOf(o);let t=String(l)!==String(e);return t&&n&&y(l),t?l:e}})}return(0,o.createElement)(D,{scope:e.__scopeSlider,disabled:p,min:a,max:c,valueIndexToChangeRef:A,thumbs:_.current,values:T,orientation:d},(0,o.createElement)(E.Provider,{scope:e.__scopeSlider},(0,o.createElement)(E.Slot,{scope:e.__scopeSlider},(0,o.createElement)(P?j:k,(0,r.Z)({"aria-disabled":p,"data-disabled":p?"":void 0},R,{ref:C,onPointerDown:l(R.onPointerDown,()=>{p||(H.current=T)}),min:a,max:c,inverted:S,onSlideStart:p?void 0:function(e){let t=function(e,t){if(1===e.length)return 0;let n=e.map(e=>Math.abs(e-t));return n.indexOf(Math.min(...n))}(T,e);U(e,t)},onSlideMove:p?void 0:function(e){U(e,A.current)},onSlideEnd:p?void 0:function(){let e=H.current[A.current];T[A.current]!==e&&y(T)},onHomeKeyDown:()=>!p&&U(a,0,{commit:!0}),onEndKeyDown:()=>!p&&U(c,T.length-1,{commit:!0}),onStepKeyDown:({event:e,direction:t})=>{if(!p){let n=g.includes(e.key)||e.shiftKey&&b.includes(e.key),r=A.current;U(T[r]+s*(n?10:1)*t,r,{commit:!0})}}})))),O&&T.map((e,t)=>(0,o.createElement)(Z,{key:t,name:n?n+(T.length>1?"[]":""):void 0,value:e})))}),[P,O]=M(S,{startEdge:"left",endEdge:"right",size:"width",direction:1}),j=(0,o.forwardRef)((e,t)=>{let{min:n,max:i,dir:l,inverted:a,onSlideStart:c,onSlideMove:f,onSlideEnd:d,onStepKeyDown:p,...m}=e,[v,h]=(0,o.useState)(null),w=u(t,e=>h(e)),g=(0,o.useRef)(),b=function(e){let t=(0,o.useContext)(s);return e||t||"ltr"}(l),S="ltr"===b,E=S&&!a||!S&&a;function R(e){let t=g.current||v.getBoundingClientRect(),r=z([0,t.width],E?[n,i]:[i,n]);return g.current=t,r(e-t.left)}return(0,o.createElement)(P,{scope:e.__scopeSlider,startEdge:E?"left":"right",endEdge:E?"right":"left",direction:E?1:-1,size:"width"},(0,o.createElement)(T,(0,r.Z)({dir:b,"data-orientation":"horizontal"},m,{ref:w,style:{...m.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:e=>{let t=R(e.clientX);null==c||c(t)},onSlideMove:e=>{let t=R(e.clientX);null==f||f(t)},onSlideEnd:()=>{g.current=void 0,null==d||d()},onStepKeyDown:e=>{let t=y[E?"from-left":"from-right"].includes(e.key);null==p||p({event:e,direction:t?-1:1})}})))}),k=(0,o.forwardRef)((e,t)=>{let{min:n,max:i,inverted:l,onSlideStart:a,onSlideMove:c,onSlideEnd:f,onStepKeyDown:s,...d}=e,p=(0,o.useRef)(null),m=u(t,p),v=(0,o.useRef)(),h=!l;function w(e){let t=v.current||p.current.getBoundingClientRect(),r=z([0,t.height],h?[i,n]:[n,i]);return v.current=t,r(e-t.top)}return(0,o.createElement)(P,{scope:e.__scopeSlider,startEdge:h?"bottom":"top",endEdge:h?"top":"bottom",size:"height",direction:h?1:-1},(0,o.createElement)(T,(0,r.Z)({"data-orientation":"vertical"},d,{ref:m,style:{...d.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:e=>{let t=w(e.clientY);null==a||a(t)},onSlideMove:e=>{let t=w(e.clientY);null==c||c(t)},onSlideEnd:()=>{v.current=void 0,null==f||f()},onStepKeyDown:e=>{let t=y[h?"from-bottom":"from-top"].includes(e.key);null==s||s({event:e,direction:t?-1:1})}})))}),T=(0,o.forwardRef)((e,t)=>{let{__scopeSlider:n,onSlideStart:i,onSlideMove:a,onSlideEnd:u,onHomeKeyDown:c,onEndKeyDown:f,onStepKeyDown:s,...d}=e,p=_(S,n);return(0,o.createElement)(w.span,(0,r.Z)({},d,{ref:t,onKeyDown:l(e.onKeyDown,e=>{"Home"===e.key?(c(e),e.preventDefault()):"End"===e.key?(f(e),e.preventDefault()):g.concat(b).includes(e.key)&&(s(e),e.preventDefault())}),onPointerDown:l(e.onPointerDown,e=>{let t=e.target;t.setPointerCapture(e.pointerId),e.preventDefault(),p.thumbs.has(t)?t.focus():i(e)}),onPointerMove:l(e.onPointerMove,e=>{e.target.hasPointerCapture(e.pointerId)&&a(e)}),onPointerUp:l(e.onPointerUp,e=>{let t=e.target;t.hasPointerCapture(e.pointerId)&&(t.releasePointerCapture(e.pointerId),u(e))})}))}),L=(0,o.forwardRef)((e,t)=>{let{__scopeSlider:n,...i}=e,l=_("SliderTrack",n);return(0,o.createElement)(w.span,(0,r.Z)({"data-disabled":l.disabled?"":void 0,"data-orientation":l.orientation},i,{ref:t}))}),H="SliderRange",U=(0,o.forwardRef)((e,t)=>{let{__scopeSlider:n,...i}=e,l=_(H,n),a=O(H,n),c=u(t,(0,o.useRef)(null)),f=l.values.length,s=l.values.map(e=>I(e,l.min,l.max));return(0,o.createElement)(w.span,(0,r.Z)({"data-orientation":l.orientation,"data-disabled":l.disabled?"":void 0},i,{ref:c,style:{...e.style,[a.startEdge]:(f>1?Math.min(...s):0)+"%",[a.endEdge]:100-Math.max(...s)+"%"}}))}),$="SliderThumb",K=(0,o.forwardRef)((e,t)=>{let n=R(e.__scopeSlider),[i,l]=(0,o.useState)(null),a=u(t,e=>l(e)),c=(0,o.useMemo)(()=>i?n().findIndex(e=>e.ref.current===i):-1,[n,i]);return(0,o.createElement)(N,(0,r.Z)({},e,{ref:a,index:c}))}),N=(0,o.forwardRef)((e,t)=>{var n;let{__scopeSlider:i,index:a,...c}=e,f=_($,i),s=O($,i),[p,m]=(0,o.useState)(null),v=u(t,e=>m(e)),h=function(e){let[t,n]=(0,o.useState)(void 0);return d(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),t}(p),g=f.values[a],b=void 0===g?0:I(g,f.min,f.max),y=(n=f.values.length)>2?`Value ${a+1} of ${n}`:2===n?["Minimum","Maximum"][a]:void 0,S=null==h?void 0:h[s.size],R=S?function(e,t,n){let r=e/2,o=z([0,50],[0,r]);return(r-o(t)*n)*n}(S,b,s.direction):0;return(0,o.useEffect)(()=>{if(p)return f.thumbs.add(p),()=>{f.thumbs.delete(p)}},[p,f.thumbs]),(0,o.createElement)("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${b}% + ${R}px)`}},(0,o.createElement)(E.ItemSlot,{scope:e.__scopeSlider},(0,o.createElement)(w.span,(0,r.Z)({role:"slider","aria-label":e["aria-label"]||y,"aria-valuemin":f.min,"aria-valuenow":g,"aria-valuemax":f.max,"aria-orientation":f.orientation,"data-orientation":f.orientation,"data-disabled":f.disabled?"":void 0,tabIndex:f.disabled?void 0:0},c,{ref:v,style:void 0===g?{display:"none"}:e.style,onFocus:l(e.onFocus,()=>{f.valueIndexToChangeRef.current=a})}))))}),Z=e=>{let{value:t,...n}=e,i=(0,o.useRef)(null),l=function(e){let t=(0,o.useRef)({value:e,previous:e});return(0,o.useMemo)(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}(t);return(0,o.useEffect)(()=>{let e=i.current,n=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value").set;if(l!==t&&n){let r=new Event("input",{bubbles:!0});n.call(e,t),e.dispatchEvent(r)}},[l,t]),(0,o.createElement)("input",(0,r.Z)({style:{display:"none"}},n,{ref:i,defaultValue:t}))};function I(e,t,n){return i(100/(n-t)*(e-t),[0,100])}function z(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}let B=A,F=L,V=U,W=K},75504:function(e,t,n){"use strict";function r(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=function e(t){var n,r,o="";if("string"==typeof t||"number"==typeof t)o+=t;else if("object"==typeof t){if(Array.isArray(t)){var i=t.length;for(n=0;n<i;n++)t[n]&&(r=e(t[n]))&&(o&&(o+=" "),o+=r)}else for(r in t)t[r]&&(o&&(o+=" "),o+=r)}return o}(e))&&(r&&(r+=" "),r+=t);return r}n.d(t,{W:function(){return r}})}}]);