"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[417],{5531:function(e,t,n){n.d(t,{Z:function(){return createLucideIcon}});var o=n(2265);/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let toKebabCase=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),toCamelCase=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),toPascalCase=e=>{let t=toCamelCase(e);return t.charAt(0).toUpperCase()+t.slice(1)},mergeClasses=(...e)=>e.filter((e,t,n)=>!!e&&""!==e.trim()&&n.indexOf(e)===t).join(" ").trim(),hasA11yProp=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var i={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"};/** * @license lucide-react v0.511.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */let s=(0,o.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:l="",children:c,iconNode:a,...u},d)=>(0,o.createElement)("svg",{ref:d,...i,width:t,height:t,stroke:e,strokeWidth:s?24*Number(n)/Number(t):n,className:mergeClasses("lucide",l),...!c&&!hasA11yProp(u)&&{"aria-hidden":"true"},...u},[...a.map(([e,t])=>(0,o.createElement)(e,t)),...Array.isArray(c)?c:[c]])),createLucideIcon=(e,t)=>{let n=(0,o.forwardRef)(({className:n,...i},l)=>(0,o.createElement)(s,{ref:l,iconNode:t,className:mergeClasses(`lucide-${toKebabCase(toPascalCase(e))}`,`lucide-${e}`,n),...i}));return n.displayName=toPascalCase(e),n}},3523:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(5531);let i=(0,o.Z)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])},1291:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(5531);let i=(0,o.Z)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},7158:function(e,t,n){n.d(t,{Z:function(){return i}});var o=n(5531);let i=(0,o.Z)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},1393:function(e,t,n){n.d(t,{M:function(){return AnimatePresence}});var o=n(7437),i=n(2265),s=n(781),l=n(961),c=n(538),a=n(8243),u=n(6119),d=n(5968);let PopChildMeasure=class PopChildMeasure extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,n=(0,u.R)(e)&&e.offsetWidth||0,o=this.props.sizeRef.current;o.height=t.offsetHeight||0,o.width=t.offsetWidth||0,o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left}return null}componentDidUpdate(){}render(){return this.props.children}};function PopChild({children:e,isPresent:t,anchorX:n}){let s=(0,i.useId)(),l=(0,i.useRef)(null),c=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:a}=(0,i.useContext)(d._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:o,top:i,left:u,right:d}=c.current;if(t||!l.current||!e||!o)return;let f="left"===n?`left: ${u}`:`right: ${d}`;l.current.dataset.motionPopId=s;let h=document.createElement("style");return a&&(h.nonce=a),document.head.appendChild(h),h.sheet&&h.sheet.insertRule(` [data-motion-pop-id="${s}"] { position: absolute !important; width: ${e}px !important; height: ${o}px !important; ${f}px !important; top: ${i}px !important; } `),()=>{document.head.contains(h)&&document.head.removeChild(h)}},[t]),(0,o.jsx)(PopChildMeasure,{isPresent:t,childRef:l,sizeRef:c,children:i.cloneElement(e,{ref:l})})}let PresenceChild=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:c,presenceAffectsLayout:u,mode:d,anchorX:f})=>{let h=(0,l.h)(newChildrenMap),p=(0,i.useId)(),m=!0,w=(0,i.useMemo)(()=>(m=!1,{id:p,initial:t,isPresent:n,custom:c,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;s&&s()},register:e=>(h.set(e,!1),()=>h.delete(e))}),[n,h,s]);return u&&m&&(w={...w}),(0,i.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[n]),i.useEffect(()=>{n||h.size||!s||s()},[n]),"popLayout"===d&&(e=(0,o.jsx)(PopChild,{isPresent:n,anchorX:f,children:e})),(0,o.jsx)(a.O.Provider,{value:w,children:e})};function newChildrenMap(){return new Map}var f=n(7196);let getChildKey=e=>e.key||"";function onlyElements(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let AnimatePresence=({children:e,custom:t,initial:n=!0,onExitComplete:a,presenceAffectsLayout:u=!0,mode:d="sync",propagate:h=!1,anchorX:p="left"})=>{let[m,w]=(0,f.oO)(h),y=(0,i.useMemo)(()=>onlyElements(e),[e]),C=h&&!m?[]:y.map(getChildKey),O=(0,i.useRef)(!0),P=(0,i.useRef)(y),x=(0,l.h)(()=>new Map),[L,k]=(0,i.useState)(y),[z,S]=(0,i.useState)(y);(0,c.L)(()=>{O.current=!1,P.current=y;for(let e=0;e{let i=getChildKey(e),s=(!h||!!m)&&(y===z||C.includes(i));return(0,o.jsx)(PresenceChild,{isPresent:s,initial:(!O.current||!!n)&&void 0,custom:t,presenceAffectsLayout:u,mode:d,onExitComplete:s?void 0:()=>{if(!x.has(i))return;x.set(i,!0);let e=!0;x.forEach(t=>{t||(e=!1)}),e&&(_?.(),S(P.current),h&&w?.(),a&&a())},anchorX:p,children:e},i)})})}},8149:function(e,t,n){n.d(t,{o:function(){return useDragControls}});var o=n(961);let DragControls=class DragControls{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}};let createDragControls=()=>new DragControls;function useDragControls(){return(0,o.h)(createDragControls)}},609:function(e,t,n){n.d(t,{c:function(){return useMotionValue}});var o=n(4761),i=n(2265),s=n(5968),l=n(961);function useMotionValue(e){let t=(0,l.h)(()=>(0,o.BX)(e)),{isStatic:n}=(0,i.useContext)(s._);if(n){let[,n]=(0,i.useState)(e);(0,i.useEffect)(()=>t.on("change",n),[])}return t}},9261:function(e,t,n){n.d(t,{Tfp:function(){return FiChevronRight},YFh:function(){return FiChevronLeft}});var o=n(3118);function FiChevronLeft(e){return(0,o.w_)({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"},child:[]}]})(e)}function FiChevronRight(e){return(0,o.w_)({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"},child:[]}]})(e)}},3118:function(e,t,n){n.d(t,{w_:function(){return GenIcon}});var o=n(2265),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=o.createContext&&o.createContext(i),l=["attr","size","title"];function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;to.createElement(IconBase,_extends({attr:_objectSpread({},e.attr)},t),function Tree2Element(e){return e&&e.map((e,t)=>o.createElement(e.tag,_objectSpread({key:t},e.attr),Tree2Element(e.child)))}(e.child))}function IconBase(e){var elem=t=>{var n,{attr:i,size:s,title:c}=e,a=function(e,t){if(null==e)return{};var n,o,i=function(e,t){if(null==e)return{};var n={};for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){if(t.indexOf(o)>=0)continue;n[o]=e[o]}return n}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,l),u=s||t.size||"1em";return t.className&&(n=t.className),e.className&&(n=(n?n+" ":"")+e.className),o.createElement("svg",_extends({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,a,{className:n,style:_objectSpread(_objectSpread({color:e.color||t.color},t.style),e.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),c&&o.createElement("title",null,c),e.children)};return void 0!==s?o.createElement(s.Consumer,null,e=>elem(e)):elem(i)}},521:function(e,t,n){n.d(t,{Z:function(){return j}});var o=n(2265);function g(e,t){let n;return(...o)=>{window.clearTimeout(n),n=window.setTimeout(()=>e(...o),t)}}function j({debounce:e,scroll:t,polyfill:n,offsetSize:i}={debounce:0,scroll:!1,offsetSize:!1}){var s;let l=n||("undefined"==typeof window?class{}:window.ResizeObserver);if(!l)throw Error("This browser does not support ResizeObserver out of the box. See: https://github.com/react-spring/react-use-measure/#resize-observer-polyfills");let[c,a]=(0,o.useState)({left:0,top:0,width:0,height:0,bottom:0,right:0,x:0,y:0}),u=(0,o.useRef)({element:null,scrollContainers:null,resizeObserver:null,lastBounds:c,orientationHandler:null}),d=e?"number"==typeof e?e:e.scroll:null,f=e?"number"==typeof e?e:e.resize:null,h=(0,o.useRef)(!1);(0,o.useEffect)(()=>(h.current=!0,()=>void(h.current=!1)));let[p,m,w]=(0,o.useMemo)(()=>{let r=()=>{if(!u.current.element)return;let{left:e,top:t,width:n,height:o,bottom:s,right:l,x:c,y:d}=u.current.element.getBoundingClientRect(),f={left:e,top:t,width:n,height:o,bottom:s,right:l,x:c,y:d};u.current.element instanceof HTMLElement&&i&&(f.height=u.current.element.offsetHeight,f.width=u.current.element.offsetWidth),Object.freeze(f),h.current&&!D(u.current.lastBounds,f)&&a(u.current.lastBounds=f)};return[r,f?g(r,f):r,d?g(r,d):r]},[a,i,d,f]);function v(){u.current.scrollContainers&&(u.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",w,!0)),u.current.scrollContainers=null),u.current.resizeObserver&&(u.current.resizeObserver.disconnect(),u.current.resizeObserver=null),u.current.orientationHandler&&("orientation"in screen&&"removeEventListener"in screen.orientation?screen.orientation.removeEventListener("change",u.current.orientationHandler):"onorientationchange"in window&&window.removeEventListener("orientationchange",u.current.orientationHandler))}function b(){u.current.element&&(u.current.resizeObserver=new l(w),u.current.resizeObserver.observe(u.current.element),t&&u.current.scrollContainers&&u.current.scrollContainers.forEach(e=>e.addEventListener("scroll",w,{capture:!0,passive:!0})),u.current.orientationHandler=()=>{w()},"orientation"in screen&&"addEventListener"in screen.orientation?screen.orientation.addEventListener("change",u.current.orientationHandler):"onorientationchange"in window&&window.addEventListener("orientationchange",u.current.orientationHandler))}return s=!!t,(0,o.useEffect)(()=>{if(s)return window.addEventListener("scroll",w,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",w,!0)},[w,s]),(0,o.useEffect)(()=>(window.addEventListener("resize",m),()=>void window.removeEventListener("resize",m)),[m]),(0,o.useEffect)(()=>{v(),b()},[t,w,m]),(0,o.useEffect)(()=>v,[]),[e=>{e&&e!==u.current.element&&(v(),u.current.element=e,u.current.scrollContainers=function E(e){let t=[];if(!e||e===document.body)return t;let{overflow:n,overflowX:o,overflowY:i}=window.getComputedStyle(e);return[n,o,i].some(e=>"auto"===e||"scroll"===e)&&t.push(e),[...t,...E(e.parentElement)]}(e),b())},c,p]}let i=["x","y","top","bottom","left","right","width","height"],D=(e,t)=>i.every(n=>e[n]===t[n])}}]);