(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4254],{96500:function(t,e,n){"use strict";n.d(e,{Z:function(){return d}});var r=n(93726),o=n(67648),i=n(20916),a=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter(function(t,e,n){return!!t&&n.indexOf(t)===e}).join(" ")},s=n(79113),c=n(66553),u=n(99962),l={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"},h=(0,i.forwardRef)(function(t,e){var n=t.color,h=t.size,d=void 0===h?24:h,m=t.strokeWidth,f=void 0===m?2:m,v=t.absoluteStrokeWidth,p=t.className,y=t.children,g=t.iconNode,b=(0,o._)(t,["color","size","strokeWidth","absoluteStrokeWidth","className","children","iconNode"]);return(0,i.createElement)("svg",(0,r._)((0,s._)((0,r._)({ref:e},l),{width:d,height:d,stroke:void 0===n?"currentColor":n,strokeWidth:v?24*Number(f)/Number(d):f,className:a("lucide",void 0===p?"":p)}),b),(0,u._)(g.map(function(t){var e=(0,c._)(t,2),n=e[0],r=e[1];return(0,i.createElement)(n,r)})).concat((0,u._)(Array.isArray(y)?y:[y])))}),d=function(t,e){var n=(0,i.forwardRef)(function(n,s){var c=n.className,u=(0,o._)(n,["className"]);return(0,i.createElement)(h,(0,r._)({ref:s,iconNode:e,className:a("lucide-".concat(t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),c)},u))});return n.displayName="".concat(t),n}},35961:function(t,e,n){"use strict";var r=n(10524);n.o(r,"useParams")&&n.d(e,{useParams:function(){return r.useParams}}),n.o(r,"usePathname")&&n.d(e,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(e,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(e,{useSearchParams:function(){return r.useSearchParams}})},32608:function(t){var e,n,r,o=t.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(t){n=a}}();var c=[],u=!1,l=-1;function h(){u&&r&&(u=!1,r.length?c=r.concat(c):l=-1,c.length&&d())}function d(){if(!u){var t=s(h);u=!0;for(var e=c.length;e;){for(r=c,c=[];++l<e;)r&&r[l].run();l=-1,e=c.length}r=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function m(t,e){this.fun=t,this.array=e}function f(){}o.nextTick=function(t){var e=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new m(t,e)),1!==c.length||u||s(d)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=f,o.addListener=f,o.once=f,o.off=f,o.removeListener=f,o.removeAllListeners=f,o.emit=f,o.prependListener=f,o.prependOnceListener=f,o.listeners=function(t){return[]},o.binding=function(t){throw Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw Error("process.chdir is not supported")},o.umask=function(){return 0}},34225:function(t,e,n){"use strict";n.d(e,{R:function(){return s},m:function(){return a}});var r=n(86230),o=n(60326),i=n(87384),a=class extends o.F{#t;#e;#n;constructor(t){super(),this.mutationId=t.mutationId,this.#e=t.mutationCache,this.#t=[],this.state=t.state||s(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#t.includes(t)||(this.#t.push(t),this.clearGcTimeout(),this.#e.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#t=this.#t.filter(e=>e!==t),this.scheduleGc(),this.#e.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#t.length||("pending"===this.state.status?this.scheduleGc():this.#e.remove(this))}continue(){return this.#n?.continue()??this.execute(this.state.variables)}async execute(t){this.#n=(0,i.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#r({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#r({type:"pause"})},onContinue:()=>{this.#r({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#e.canRun(this)});let e="pending"===this.state.status,n=!this.#n.canStart();try{if(!e){this.#r({type:"pending",variables:t,isPaused:n}),await this.#e.config.onMutate?.(t,this);let e=await this.options.onMutate?.(t);e!==this.state.context&&this.#r({type:"pending",context:e,variables:t,isPaused:n})}let r=await this.#n.start();return await this.#e.config.onSuccess?.(r,t,this.state.context,this),await this.options.onSuccess?.(r,t,this.state.context),await this.#e.config.onSettled?.(r,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(r,null,t,this.state.context),this.#r({type:"success",data:r}),r}catch(e){try{throw await this.#e.config.onError?.(e,t,this.state.context,this),await this.options.onError?.(e,t,this.state.context),await this.#e.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,e,t,this.state.context),e}finally{this.#r({type:"error",error:e})}}finally{this.#e.runNext(this)}}#r(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),r.V.batch(()=>{this.#t.forEach(e=>{e.onMutationUpdate(t)}),this.#e.notify({mutation:this,type:"updated",action:t})})}};function s(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},30617:function(t,e,n){"use strict";n.d(e,{F:function(){return d},f:function(){return m}});var r=n(93726),o=n(66553),i=n(99962),a=n(20916),s=["light","dark"],c="(prefers-color-scheme: dark)",u="undefined"==typeof window,l=a.createContext(void 0),h={setTheme:function(t){},themes:[]},d=function(){var t;return null!=(t=a.useContext(l))?t:h},m=function(t){return a.useContext(l)?t.children:a.createElement(v,(0,r._)({},t))},f=["light","dark"],v=function(t){var e=t.forcedTheme,n=t.disableTransitionOnChange,r=void 0!==n&&n,u=t.enableSystem,h=void 0===u||u,d=t.enableColorScheme,m=void 0===d||d,v=t.storageKey,w=void 0===v?"theme":v,C=t.themes,T=void 0===C?f:C,S=t.defaultTheme,k=void 0===S?h?"system":"light":S,x=t.attribute,E=void 0===x?"data-theme":x,_=t.value,N=t.children,P=t.nonce,L=(0,o._)(a.useState(function(){return y(w,k)}),2),R=L[0],A=L[1],M=(0,o._)(a.useState(function(){return y(w)}),2),O=M[0],I=M[1],F=_?Object.values(_):T,W=a.useCallback(function(t){var e,n=t;if(n){"system"===t&&h&&(n=b());var o=_?_[n]:n,a=r?g():null,c=document.documentElement;if("class"===E?((e=c.classList).remove.apply(e,(0,i._)(F)),o&&c.classList.add(o)):o?c.setAttribute(E,o):c.removeAttribute(E),m){var u=s.includes(k)?k:null,l=s.includes(n)?n:u;c.style.colorScheme=l}null==a||a()}},[]),j=a.useCallback(function(t){var e="function"==typeof t?t(t):t;A(e);try{localStorage.setItem(w,e)}catch(t){}},[e]),z=a.useCallback(function(t){I(b(t)),"system"===R&&h&&!e&&W("system")},[R,e]);a.useEffect(function(){var t=window.matchMedia(c);return t.addListener(z),z(t),function(){return t.removeListener(z)}},[z]),a.useEffect(function(){var t=function(t){t.key===w&&j(t.newValue||k)};return window.addEventListener("storage",t),function(){return window.removeEventListener("storage",t)}},[j]),a.useEffect(function(){W(null!=e?e:R)},[e,R]);var G=a.useMemo(function(){return{theme:R,setTheme:j,forcedTheme:e,resolvedTheme:"system"===R?O:R,themes:h?(0,i._)(T).concat(["system"]):T,systemTheme:h?O:void 0}},[R,j,e,O,h,T]);return a.createElement(l.Provider,{value:G},a.createElement(p,{forcedTheme:e,disableTransitionOnChange:r,enableSystem:h,enableColorScheme:m,storageKey:w,themes:T,defaultTheme:k,attribute:E,value:_,children:N,attrs:F,nonce:P}),N)},p=a.memo(function(t){var e=t.forcedTheme,n=t.storageKey,r=t.attribute,o=t.enableSystem,i=t.enableColorScheme,u=t.defaultTheme,l=t.value,h=t.attrs,d=t.nonce,m="system"===u,f="class"===r?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(h.map(function(t){return"'".concat(t,"'")}).join(","),")"),";"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),v=i?(s.includes(u)?u:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(u,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],o=l?l[t]:t,a=e?t+"|| ''":"'".concat(o,"'"),c="";return i&&n&&!e&&s.includes(t)&&(c+="d.style.colorScheme = '".concat(t,"';")),"class"===r?e||o?c+="c.add(".concat(a,")"):c+="null":o&&(c+="d[s](n,".concat(a,")")),c},y=e?"!function(){".concat(f).concat(p(e),"}()"):o?"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(m,")){var t='").concat(c,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(p("dark"),"}else{").concat(p("light"),"}}else if(e){").concat(l?"var x=".concat(JSON.stringify(l),";"):"").concat(p(l?"x[e]":"e",!0),"}").concat(m?"":"else{"+p(u,!1,!1)+"}").concat(v,"}catch(e){}}()"):"!function(){try{".concat(f,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(l?"var x=".concat(JSON.stringify(l),";"):"").concat(p(l?"x[e]":"e",!0),"}else{").concat(p(u,!1,!1),";}").concat(v,"}catch(t){}}();");return a.createElement("script",{nonce:d,dangerouslySetInnerHTML:{__html:y}})}),y=function(t,e){var n;if(!u){try{n=localStorage.getItem(t)||void 0}catch(t){}return n||e}},g=function(){var 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}")),document.head.appendChild(t),function(){window.getComputedStyle(document.body),setTimeout(function(){document.head.removeChild(t)},1)}},b=function(t){return t||(t=window.matchMedia(c)),t.matches?"dark":"light"}}}]);