"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5484],{6533:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]])},7725:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},12879:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},17347:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},27785:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},27871:(e,t,r)=>{r.d(t,{UC:()=>Y,ZL:()=>X,bL:()=>J,bm:()=>et,hE:()=>ee,hJ:()=>Q});var n=r(91712),l=r(38782),a=r(26187),o=r(46205),i=r(3208),u=r(10212),c=r(8344),s=r(2468),d=r(34875),f=r(74163),p=r(89528),m=r(8830),v=r(94213),h=r(65942),g=r(35175),b=r(19948),y="Dialog",[E,w]=(0,o.A)(y),[k,C]=E(y),A=e=>{let{__scopeDialog:t,children:r,open:l,defaultOpen:a,onOpenChange:o,modal:c=!0}=e,s=n.useRef(null),d=n.useRef(null),[f,p]=(0,u.i)({prop:l,defaultProp:null!=a&&a,onChange:o,caller:y});return(0,b.jsx)(k,{scope:t,triggerRef:s,contentRef:d,contentId:(0,i.B)(),titleId:(0,i.B)(),descriptionId:(0,i.B)(),open:f,onOpenChange:p,onOpenToggle:n.useCallback(()=>p(e=>!e),[p]),modal:c,children:r})};A.displayName=y;var x="DialogTrigger";n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,o=C(x,r),i=(0,a.s)(t,o.triggerRef);return(0,b.jsx)(p.sG.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":T(o.open),...n,ref:i,onClick:(0,l.mK)(e.onClick,o.onOpenToggle)})}).displayName=x;var R="DialogPortal",[I,S]=E(R,{forceMount:void 0}),D=e=>{let{__scopeDialog:t,forceMount:r,children:l,container:a}=e,o=C(R,t);return(0,b.jsx)(I,{scope:t,forceMount:r,children:n.Children.map(l,e=>(0,b.jsx)(f.C,{present:r||o.open,children:(0,b.jsx)(d.Z,{asChild:!0,container:a,children:e})}))})};D.displayName=R;var M="DialogOverlay",j=n.forwardRef((e,t)=>{let r=S(M,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,a=C(M,e.__scopeDialog);return a.modal?(0,b.jsx)(f.C,{present:n||a.open,children:(0,b.jsx)(F,{...l,ref:t})}):null});j.displayName=M;var O=(0,g.TL)("DialogOverlay.RemoveScroll"),F=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=C(M,r);return(0,b.jsx)(v.A,{as:O,allowPinchZoom:!0,shards:[l.contentRef],children:(0,b.jsx)(p.sG.div,{"data-state":T(l.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),N="DialogContent",P=n.forwardRef((e,t)=>{let r=S(N,e.__scopeDialog),{forceMount:n=r.forceMount,...l}=e,a=C(N,e.__scopeDialog);return(0,b.jsx)(f.C,{present:n||a.open,children:a.modal?(0,b.jsx)(_,{...l,ref:t}):(0,b.jsx)(B,{...l,ref:t})})});P.displayName=N;var _=n.forwardRef((e,t)=>{let r=C(N,e.__scopeDialog),o=n.useRef(null),i=(0,a.s)(t,r.contentRef,o);return n.useEffect(()=>{let e=o.current;if(e)return(0,h.Eq)(e)},[]),(0,b.jsx)(G,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,l.mK)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),null==(t=r.triggerRef.current)||t.focus()}),onPointerDownOutside:(0,l.mK)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:(0,l.mK)(e.onFocusOutside,e=>e.preventDefault())})}),B=n.forwardRef((e,t)=>{let r=C(N,e.__scopeDialog),l=n.useRef(!1),a=n.useRef(!1);return(0,b.jsx)(G,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var n,o;null==(n=e.onCloseAutoFocus)||n.call(e,t),t.defaultPrevented||(l.current||null==(o=r.triggerRef.current)||o.focus(),t.preventDefault()),l.current=!1,a.current=!1},onInteractOutside:t=>{var n,o;null==(n=e.onInteractOutside)||n.call(e,t),t.defaultPrevented||(l.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let i=t.target;(null==(o=r.triggerRef.current)?void 0:o.contains(i))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),G=n.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:o,onCloseAutoFocus:i,...u}=e,d=C(N,r),f=n.useRef(null),p=(0,a.s)(t,f);return(0,m.Oh)(),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(s.n,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:o,onUnmountAutoFocus:i,children:(0,b.jsx)(c.qW,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":T(d.open),...u,ref:p,onDismiss:()=>d.onOpenChange(!1)})}),(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)(Z,{titleId:d.titleId}),(0,b.jsx)($,{contentRef:f,descriptionId:d.descriptionId})]})]})}),K="DialogTitle",q=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=C(K,r);return(0,b.jsx)(p.sG.h2,{id:l.titleId,...n,ref:t})});q.displayName=K;var L="DialogDescription";n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,l=C(L,r);return(0,b.jsx)(p.sG.p,{id:l.descriptionId,...n,ref:t})}).displayName=L;var U="DialogClose",V=n.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=C(U,r);return(0,b.jsx)(p.sG.button,{type:"button",...n,ref:t,onClick:(0,l.mK)(e.onClick,()=>a.onOpenChange(!1))})});function T(e){return e?"open":"closed"}V.displayName=U;var z="DialogTitleWarning",[W,H]=(0,o.q)(z,{contentName:N,titleName:K,docsSlug:"dialog"}),Z=e=>{let{titleId:t}=e,r=H(z),l="`".concat(r.contentName,"` requires a `").concat(r.titleName,"` for the component to be accessible for screen reader users.\n\nIf you want to hide the `").concat(r.titleName,"`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/").concat(r.docsSlug);return n.useEffect(()=>{t&&(document.getElementById(t)||console.error(l))},[l,t]),null},$=e=>{let{contentRef:t,descriptionId:r}=e,l=H("DialogDescriptionWarning"),a="Warning: Missing `Description` or `aria-describedby={undefined}` for {".concat(l.contentName,"}.");return n.useEffect(()=>{var e;let n=null==(e=t.current)?void 0:e.getAttribute("aria-describedby");r&&n&&(document.getElementById(r)||console.warn(a))},[a,t,r]),null},J=A,X=D,Q=j,Y=P,ee=q,et=V},31409:(e,t,r)=>{r.d(t,{uB:()=>O});var n=/[\\\/_+.#"@\[\(\{&]/,l=/[\\\/_+.#"@\[\(\{&]/g,a=/[\s-]/,o=/[\s-]/g;function i(e){return e.toLowerCase().replace(o," ")}var u=r(27871),c=r(91712),s=r(89528),d=r(3208),f=r(26187),p='[cmdk-group=""]',m='[cmdk-group-items=""]',v='[cmdk-item=""]',h="".concat(v,':not([aria-disabled="true"])'),g="cmdk-item-select",b="data-value",y=(e,t,r)=>(function(e,t,r){return function e(t,r,i,u,c,s,d){if(s===r.length)return c===t.length?1:.99;var f=`${c},${s}`;if(void 0!==d[f])return d[f];for(var p,m,v,h,g=u.charAt(s),b=i.indexOf(g,c),y=0;b>=0;)(p=e(t,r,i,u,b+1,s+1,d))>y&&(b===c?p*=1:n.test(t.charAt(b-1))?(p*=.8,(v=t.slice(c,b-1).match(l))&&c>0&&(p*=Math.pow(.999,v.length))):a.test(t.charAt(b-1))?(p*=.9,(h=t.slice(c,b-1).match(o))&&c>0&&(p*=Math.pow(.999,h.length))):(p*=.17,c>0&&(p*=Math.pow(.999,b-c))),t.charAt(b)!==r.charAt(s)&&(p*=.9999)),(p<.1>p&&(p=.1*m),p>y&&(y=p),b=i.indexOf(g,b+1);return d[f]=y,y}(e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,t,i(e),i(t),0,0,{})})(e,t,r),E=c.createContext(void 0),w=()=>c.useContext(E),k=c.createContext(void 0),C=()=>c.useContext(k),A=c.createContext(void 0),x=c.forwardRef((e,t)=>{let r=P(()=>{var t,r;return{search:"",value:null!=(r=null!=(t=e.value)?t:e.defaultValue)?r:"",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),n=P(()=>new Set),l=P(()=>new Map),a=P(()=>new Map),o=P(()=>new Set),i=F(e),{label:u,children:f,value:w,onValueChange:C,filter:A,shouldFilter:x,loop:R,disablePointerSelection:I=!1,vimBindings:S=!0,...D}=e,M=(0,d.B)(),j=(0,d.B)(),O=(0,d.B)(),_=c.useRef(null),B=G();N(()=>{if(void 0!==w){let e=w.trim();r.current.value=e,L.emit()}},[w]),N(()=>{B(6,H)},[]);let L=c.useMemo(()=>({subscribe:e=>(o.current.add(e),()=>o.current.delete(e)),snapshot:()=>r.current,setState:(e,t,n)=>{var l,a,o,u;if(!Object.is(r.current[e],t)){if(r.current[e]=t,"search"===e)W(),T(),B(1,z);else if("value"===e){if(document.activeElement.hasAttribute("cmdk-input")||document.activeElement.hasAttribute("cmdk-root")){let e=document.getElementById(O);e?e.focus():null==(l=document.getElementById(M))||l.focus()}if(B(7,()=>{var e;r.current.selectedItemId=null==(e=Z())?void 0:e.id,L.emit()}),n||B(5,H),(null==(a=i.current)?void 0:a.value)!==void 0){null==(u=(o=i.current).onValueChange)||u.call(o,null!=t?t:"");return}}L.emit()}},emit:()=>{o.current.forEach(e=>e())}}),[]),U=c.useMemo(()=>({value:(e,t,n)=>{var l;t!==(null==(l=a.current.get(e))?void 0:l.value)&&(a.current.set(e,{value:t,keywords:n}),r.current.filtered.items.set(e,V(t,n)),B(2,()=>{T(),L.emit()}))},item:(e,t)=>(n.current.add(e),t&&(l.current.has(t)?l.current.get(t).add(e):l.current.set(t,new Set([e]))),B(3,()=>{W(),T(),r.current.value||z(),L.emit()}),()=>{a.current.delete(e),n.current.delete(e),r.current.filtered.items.delete(e);let t=Z();B(4,()=>{W(),(null==t?void 0:t.getAttribute("id"))===e&&z(),L.emit()})}),group:e=>(l.current.has(e)||l.current.set(e,new Set),()=>{a.current.delete(e),l.current.delete(e)}),filter:()=>i.current.shouldFilter,label:u||e["aria-label"],getDisablePointerSelection:()=>i.current.disablePointerSelection,listId:M,inputId:O,labelId:j,listInnerRef:_}),[]);function V(e,t){var n,l;let a=null!=(l=null==(n=i.current)?void 0:n.filter)?l:y;return e?a(e,r.current.search,t):0}function T(){if(!r.current.search||!1===i.current.shouldFilter)return;let e=r.current.filtered.items,t=[];r.current.filtered.groups.forEach(r=>{let n=l.current.get(r),a=0;n.forEach(t=>{a=Math.max(e.get(t),a)}),t.push([r,a])});let n=_.current;$().sort((t,r)=>{var n,l;let a=t.getAttribute("id"),o=r.getAttribute("id");return(null!=(n=e.get(o))?n:0)-(null!=(l=e.get(a))?l:0)}).forEach(e=>{let t=e.closest(m);t?t.appendChild(e.parentElement===t?e:e.closest("".concat(m," > *"))):n.appendChild(e.parentElement===n?e:e.closest("".concat(m," > *")))}),t.sort((e,t)=>t[1]-e[1]).forEach(e=>{var t;let r=null==(t=_.current)?void 0:t.querySelector("".concat(p,"[").concat(b,'="').concat(encodeURIComponent(e[0]),'"]'));null==r||r.parentElement.appendChild(r)})}function z(){let e=$().find(e=>"true"!==e.getAttribute("aria-disabled")),t=null==e?void 0:e.getAttribute(b);L.setState("value",t||void 0)}function W(){var e,t,o,u;if(!r.current.search||!1===i.current.shouldFilter){r.current.filtered.count=n.current.size;return}r.current.filtered.groups=new Set;let c=0;for(let l of n.current){let n=V(null!=(t=null==(e=a.current.get(l))?void 0:e.value)?t:"",null!=(u=null==(o=a.current.get(l))?void 0:o.keywords)?u:[]);r.current.filtered.items.set(l,n),n>0&&c++}for(let[e,t]of l.current)for(let n of t)if(r.current.filtered.items.get(n)>0){r.current.filtered.groups.add(e);break}r.current.filtered.count=c}function H(){var e,t,r;let n=Z();n&&((null==(e=n.parentElement)?void 0:e.firstChild)===n&&(null==(r=null==(t=n.closest(p))?void 0:t.querySelector('[cmdk-group-heading=""]'))||r.scrollIntoView({block:"nearest"})),n.scrollIntoView({block:"nearest"}))}function Z(){var e;return null==(e=_.current)?void 0:e.querySelector("".concat(v,'[aria-selected="true"]'))}function $(){var e;return Array.from((null==(e=_.current)?void 0:e.querySelectorAll(h))||[])}function J(e){let t=$()[e];t&&L.setState("value",t.getAttribute(b))}function X(e){var t;let r=Z(),n=$(),l=n.findIndex(e=>e===r),a=n[l+e];null!=(t=i.current)&&t.loop&&(a=l+e0?function(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return r;r=r.nextElementSibling}}(r,p):function(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return r;r=r.previousElementSibling}}(r,p))?void 0:r.querySelector(h);n?L.setState("value",n.getAttribute(b)):X(e)}let Y=()=>J($().length-1),ee=e=>{e.preventDefault(),e.metaKey?Y():e.altKey?Q(1):X(1)},et=e=>{e.preventDefault(),e.metaKey?J(0):e.altKey?Q(-1):X(-1)};return c.createElement(s.sG.div,{ref:t,tabIndex:-1,...D,"cmdk-root":"",onKeyDown:e=>{var t;null==(t=D.onKeyDown)||t.call(D,e);let r=e.nativeEvent.isComposing||229===e.keyCode;if(!(e.defaultPrevented||r))switch(e.key){case"n":case"j":S&&e.ctrlKey&&ee(e);break;case"ArrowDown":ee(e);break;case"p":case"k":S&&e.ctrlKey&&et(e);break;case"ArrowUp":et(e);break;case"Home":e.preventDefault(),J(0);break;case"End":e.preventDefault(),Y();break;case"Enter":{e.preventDefault();let t=Z();if(t){let e=new Event(g);t.dispatchEvent(e)}}}}},c.createElement("label",{"cmdk-label":"",htmlFor:U.inputId,id:U.labelId,style:q},u),K(e,e=>c.createElement(k.Provider,{value:L},c.createElement(E.Provider,{value:U},e))))}),R=c.forwardRef((e,t)=>{var r,n;let l=(0,d.B)(),a=c.useRef(null),o=c.useContext(A),i=w(),u=F(e),p=null!=(n=null==(r=u.current)?void 0:r.forceMount)?n:null==o?void 0:o.forceMount;N(()=>{if(!p)return i.item(l,null==o?void 0:o.id)},[p]);let m=B(l,a,[e.value,e.children,a],e.keywords),v=C(),h=_(e=>e.value&&e.value===m.current),b=_(e=>!!p||!1===i.filter()||!e.search||e.filtered.items.get(l)>0);function y(){var e,t;E(),null==(t=(e=u.current).onSelect)||t.call(e,m.current)}function E(){v.setState("value",m.current,!0)}if(c.useEffect(()=>{let t=a.current;if(!(!t||e.disabled))return t.addEventListener(g,y),()=>t.removeEventListener(g,y)},[b,e.onSelect,e.disabled]),!b)return null;let{disabled:k,value:x,onSelect:R,forceMount:I,keywords:S,...D}=e;return c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...D,id:l,"cmdk-item":"",role:"option","aria-disabled":!!k,"aria-selected":!!h,"data-disabled":!!k,"data-selected":!!h,onPointerMove:k||i.getDisablePointerSelection()?void 0:E,onClick:k?void 0:y},e.children)}),I=c.forwardRef((e,t)=>{let{heading:r,children:n,forceMount:l,...a}=e,o=(0,d.B)(),i=c.useRef(null),u=c.useRef(null),p=(0,d.B)(),m=w(),v=_(e=>!!l||!1===m.filter()||!e.search||e.filtered.groups.has(o));N(()=>m.group(o),[]),B(o,i,[e.value,e.heading,u]);let h=c.useMemo(()=>({id:o,forceMount:l}),[l]);return c.createElement(s.sG.div,{ref:(0,f.t)(i,t),...a,"cmdk-group":"",role:"presentation",hidden:!v||void 0},r&&c.createElement("div",{ref:u,"cmdk-group-heading":"","aria-hidden":!0,id:p},r),K(e,e=>c.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?p:void 0},c.createElement(A.Provider,{value:h},e))))}),S=c.forwardRef((e,t)=>{let{alwaysRender:r,...n}=e,l=c.useRef(null),a=_(e=>!e.search);return r||a?c.createElement(s.sG.div,{ref:(0,f.t)(l,t),...n,"cmdk-separator":"",role:"separator"}):null}),D=c.forwardRef((e,t)=>{let{onValueChange:r,...n}=e,l=null!=e.value,a=C(),o=_(e=>e.search),i=_(e=>e.selectedItemId),u=w();return c.useEffect(()=>{null!=e.value&&a.setState("search",e.value)},[e.value]),c.createElement(s.sG.input,{ref:t,...n,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":u.listId,"aria-labelledby":u.labelId,"aria-activedescendant":i,id:u.inputId,type:"text",value:l?e.value:o,onChange:e=>{l||a.setState("search",e.target.value),null==r||r(e.target.value)}})}),M=c.forwardRef((e,t)=>{let{children:r,label:n="Suggestions",...l}=e,a=c.useRef(null),o=c.useRef(null),i=_(e=>e.selectedItemId),u=w();return c.useEffect(()=>{if(o.current&&a.current){let e=o.current,t=a.current,r,n=new ResizeObserver(()=>{r=requestAnimationFrame(()=>{let r=e.offsetHeight;t.style.setProperty("--cmdk-list-height",r.toFixed(1)+"px")})});return n.observe(e),()=>{cancelAnimationFrame(r),n.unobserve(e)}}},[]),c.createElement(s.sG.div,{ref:(0,f.t)(a,t),...l,"cmdk-list":"",role:"listbox",tabIndex:-1,"aria-activedescendant":i,"aria-label":n,id:u.listId},K(e,e=>c.createElement("div",{ref:(0,f.t)(o,u.listInnerRef),"cmdk-list-sizer":""},e)))}),j=c.forwardRef((e,t)=>{let{open:r,onOpenChange:n,overlayClassName:l,contentClassName:a,container:o,...i}=e;return c.createElement(u.bL,{open:r,onOpenChange:n},c.createElement(u.ZL,{container:o},c.createElement(u.hJ,{"cmdk-overlay":"",className:l}),c.createElement(u.UC,{"aria-label":e.label,"cmdk-dialog":"",className:a},c.createElement(x,{ref:t,...i}))))}),O=Object.assign(x,{List:M,Item:R,Input:D,Group:I,Separator:S,Dialog:j,Empty:c.forwardRef((e,t)=>_(e=>0===e.filtered.count)?c.createElement(s.sG.div,{ref:t,...e,"cmdk-empty":"",role:"presentation"}):null),Loading:c.forwardRef((e,t)=>{let{progress:r,children:n,label:l="Loading...",...a}=e;return c.createElement(s.sG.div,{ref:t,...a,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":l},K(e,e=>c.createElement("div",{"aria-hidden":!0},e)))})});function F(e){let t=c.useRef(e);return N(()=>{t.current=e}),t}var N="undefined"==typeof window?c.useEffect:c.useLayoutEffect;function P(e){let t=c.useRef();return void 0===t.current&&(t.current=e()),t}function _(e){let t=C(),r=()=>e(t.snapshot());return c.useSyncExternalStore(t.subscribe,r,r)}function B(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],l=c.useRef(),a=w();return N(()=>{var o;let i=(()=>{var e;for(let t of r){if("string"==typeof t)return t.trim();if("object"==typeof t&&"current"in t)return t.current?null==(e=t.current.textContent)?void 0:e.trim():l.current}})(),u=n.map(e=>e.trim());a.value(e,i,u),null==(o=t.current)||o.setAttribute(b,i),l.current=i}),l}var G=()=>{let[e,t]=c.useState(),r=P(()=>new Map);return N(()=>{r.current.forEach(e=>e()),r.current=new Map},[e]),(e,n)=>{r.current.set(e,n),t({})}};function K(e,t){let r,{asChild:n,children:l}=e;return n&&c.isValidElement(l)?c.cloneElement("function"==typeof(r=l.type)?r(l.props):"render"in r?r.render(l.props):l,{ref:l.ref},t(l.props.children)):t(l)}var q={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"}},48785:(e,t,r)=>{r.d(t,{A:()=>u});var n=r(91712),l=r(86928),a=r(55184),o=r(61887);let i=o.I?e=>{e()}:n.startTransition,u=(0,l.Ht)(a.Ay,()=>(e,t,r={})=>{let{mutate:a}=(0,l.iX)(),u=(0,n.useRef)(e),c=(0,n.useRef)(t),s=(0,n.useRef)(r),d=(0,n.useRef)(0),[f,p,m]=(e=>{let[,t]=(0,n.useState)({}),r=(0,n.useRef)(!1),l=(0,n.useRef)(e),a=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),i=(0,n.useCallback)(e=>{let n=!1,o=l.current;for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&o[t]!==e[t]&&(o[t]=e[t],a.current[t]&&(n=!0));n&&!r.current&&t({})},[]);return(0,o.u)(()=>(r.current=!1,()=>{r.current=!0})),[l,a.current,i]})({data:o.U,error:o.U,isMutating:!1}),v=f.current,h=(0,n.useCallback)(async(e,t)=>{let[r,n]=(0,o.s)(u.current);if(!c.current)throw Error("Can’t trigger the mutation: missing fetcher.");if(!r)throw Error("Can’t trigger the mutation: missing key.");let l=(0,o.m)((0,o.m)({populateCache:!1,throwOnError:!0},s.current),t),f=(0,o.o)();d.current=f,m({isMutating:!0});try{let t=await a(r,c.current(n,{arg:e}),(0,o.m)(l,{throwOnError:!0}));return d.currentm({data:t,isMutating:!1,error:void 0})),null==l.onSuccess||l.onSuccess.call(l,t,r,l)),t}catch(e){if(d.currentm({error:e,isMutating:!1})),null==l.onError||l.onError.call(l,e,r,l),l.throwOnError))throw e}},[]),g=(0,n.useCallback)(()=>{d.current=(0,o.o)(),m({data:o.U,error:o.U,isMutating:!1})},[]);return(0,o.u)(()=>{u.current=e,c.current=t,s.current=r}),{trigger:h,reset:g,get data(){return p.data=!0,v.data},get error(){return p.error=!0,v.error},get isMutating(){return p.isMutating=!0,v.isMutating}}})},69284:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},87725:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},93103:(e,t,r)=>{r.d(t,{A:()=>n});let n=(0,r(52014).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])}}]);