PageSourceSearch

https://mindtrip.ai/_next/static/chunks/pages/flights/booking/[id]-16c745898a3d8fbd.js

js mindtrip.ai collected 2026-09-24 17:11:47 UTC 35,799 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53,8312],{3453:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/flights/booking/[id]",function(){return n(33515)}])},23650:(e,t,n)=>{"use strict";n.d(t,{OI:()=>o,TD:()=>s,fh:()=>a,kT:()=>i});var r=n(60269);let a="Includes relevant alternatives from this search.";function i(e){return e.some(e=>{let t=e.agent_config;return"flight_price_alert"===e.agent_type&&null!==t&&"source_unshown"in t&&!0===t.source_unshown})}function s(e){let t=new Map,n=[];for(let r of e){let e=r.source_intent_key;if(!e){n.push(r);continue}let a=t.get(e);a?a.push(r):t.set(e,[r])}let a=[];for(let[e,i]of t){let t=i.find(e=>e.watched_search),s=i.filter(e=>!e.watched_search),o=i.find(e=>e.source_group_kind)?.source_group_kind,l="search"===o||void 0===o&&e.startsWith("flight_search_group:");if(!t&&1===s.length&&"flight_price_alert"===s[0].agent_type&&!l){n.push(s[0]);continue}a.push({sourceIntentKey:e,sourceGroupKind:o,label:function(e){let t=function(e){let t=[...new Set(e.flatMap(e=>{let{agent_type:t,agent_config:n}=e;if("flight_price_alert"!==t)return[];let a=(0,r.oO)(n.journeys);return a?[a]:[]}))];return 1!==t.length?null:`${t[0]} flight search`}(e);return t||(e.find(e=>e.source_label)?.source_label??e[0]?.name??"Watched search")}(i),query:i.find(e=>e.source_query)?.source_query,alerts:s,watchedSearch:t,active:i.some(e=>"active"===e.status),deals:s.filter(e=>e.last_run?.deal)})}let i=new Map(a.map(e=>[e.sourceIntentKey,e])),s=new Set(n.map(e=>e.id)),o=new Set,l=[];for(let t of e){let e=t.source_intent_key,n=e?i.get(e):void 0;e&&n?o.has(e)||(l.push({type:"group",group:n}),o.add(e)):s.has(t.id)&&l.push({type:"agent",agent:t})}return{groups:a,ungrouped:n,items:l}}function o(e){return e.alerts.length}},41244:(e,t,n)=>{"use strict";n.d(t,{T:()=>b});var r=n(37876),a=n(14232),i=n(7010),s=n(46157),o=n(56118),l=n(74302),c=n(66811),d=n(98008),u=n(96974),f=n(32516),m=n(25834),h=n(56765),p=n(23650),g=n(85983),x=n(20658),y=n(2692);let v="flight-price-alert-save";function b(e){let{quoteRef:t,scope:n="flight",prominent:b=!1,includesRelevantAlternatives:_=!1,activePriceAlert:w,priceAlertMatchesResolved:j=!1}=e,k=(0,f.jL)(),N=(0,c.r)(),[A,M]=(0,a.useState)(!1),[T,z]=(0,a.useState)(),{data:W}=(0,u.mA)(j||void 0!==w?o.hT:{quoteRef:t}),[R,{isLoading:O}]=(0,u.M2)(),[S,{isLoading:C}]=(0,u.EY)(),[L,{isLoading:E}]=(0,u.ZV)(),$=void 0!==T&&T.source===w?T.value:void 0!==w?w:"flight"===n?W?.active_price_alert:W?.active_search_price_alert,D=!!$,I=O||C||E,H="flight"===n,F=()=>{k(d.l.util.invalidateTags(["FlightSearchSummary"]))},Z=async()=>{if($&&!I)try{let e=$.source_intent_key,t=!H&&e;t?await L({sourceIntentKey:e}).unwrap():await S({id:$.id}).unwrap(),(0,u.K7)(k,n=>{for(let r=n.length-1;r>=0;r-=1){let a=n[r];(a.id===$.id||t&&a.source_intent_key===e)&&n.splice(r,1)}}),z({source:w,value:null}),F(),m.J.add({type:"success",description:"Alert deleted."})}catch(e){console.error("Failed to delete flight price alert:",e),m.J.add({type:"error",description:"We couldn’t delete this price alert. Try again."})}},K=async()=>{if(!I){if($)return void M(!0);try{let e=await R({quoteRef:t,watchThisFlightOnly:H}).unwrap(),n=(0,p.kT)(e);(0,u.K7)(k,t=>{for(let n of e)t.some(e=>e.id===n.id)||t.push(n)});let r=e[0],a=r.agent_config;z({source:w,value:{id:r.id,status:r.status,config_revision:a&&"config_revision"in a?a.config_revision:void 0,source_intent_key:r.source_intent_key}}),F();let o=function(e){if(!(e.isReady&&"/settings"===e.pathname&&(0,h.KT)(e.query.section)===s.j7))return{children:"View alerts",onClick:()=>{m.J.close(v),e.push(`/settings?section=${s.j7}`)}}}(N);m.J.add({id:v,type:"success",description:H?"We’ll watch this flight and let you know if the price drops.":_||n?"We’ll watch this search and relevant alternatives, and let you know 
1when prices drop.":"We’ll watch this search and let you know when prices drop.",...o?{actionProps:o,timeout:i.LJ}:{}})}catch(e){console.error("Failed to create flight price alert:",e),m.J.add({type:"error",description:H?"We couldn’t start watching this fare. Run a new search and try again.":"We couldn’t start watching this search. Run a new search and try again."})}}};return(0,r.jsxs)(r.Fragment,{children:[H?(0,r.jsx)(y.K,{icon:{name:"bell",className:(0,l.cn)("size-[1.3em] stroke-[1.3]",D&&"fill-current")},variant:"none",size:"sm",label:D?"Watching price":"Set price alert",tooltip:{side:"top",sideOffset:0},loading:I,onClick:()=>void K(),className:"transition-transform will-change-transform hover:scale-110"}):(0,r.jsx)(x.$,{variant:"outline",size:b?"md":"sm",iconBefore:{name:"bell",className:D?"fill-current":void 0},"aria-pressed":D,loading:I,onClick:()=>void K(),className:b?"shrink-0":void 0,children:D?"Watching search":"Watch search"}),D&&(0,r.jsx)(g.Lt,{open:A,onOpenChange:M,children:(0,r.jsxs)(g.EO,{children:[(0,r.jsx)(g.bO,{render:(0,r.jsx)(y.K,{variant:"ghost",size:"sm",icon:{name:"cross"},label:"Close",className:"absolute top-2 right-2"})}),(0,r.jsx)(g.wd,{className:"px-8",children:(0,r.jsx)(g.r7,{children:"Price alert is active"})}),(0,r.jsx)(g.$v,{className:"text-center text-pretty",children:H?"We’ll check this flight daily and let you know if the price drops.":_?"We’ll check this search and relevant alternatives daily and let you know 
1when prices drop.":"We’ll check this search daily and let you know when prices drop."}),(0,r.jsxs)(g.ck,{children:[(0,r.jsx)(g.Zr,{onClick:()=>{N.push(`/settings?section=${s.j7}`)},children:"View price alerts"}),(0,r.jsx)(g.Rx,{onClick:()=>void Z(),children:H?"Delete alert":"Delete search alert"})]})]})})]})}},49320:(e,t,n)=>{"use strict";n.d(t,{Fq:()=>S,TR:()=>L,bq:()=>O,eb:()=>E,gC:()=>C,l6:()=>z,mi:()=>$,s3:()=>W,yv:()=>R});var r=n(37876),a=n(27964),i=n(13898),s=n(37946),o=n(49878),l=n(5756),c=n(57354),d=n(47e3),u=n(60226),f=n(38360),m=n(50460),h=n(34817),p=n(11587),g=n(13877),x=n(3298),y=n(61307),v=n(81122),b=n(48036),_=n(47137),w=n(74302),j=n(31522),k=n(82532),N=n(40535),A=n(50436),M=n(83310);let T=(0,_.F)("peer relative flex w-full min-w-[4.25em] items-center justify-between gap-1.5 rounded-full border border-input bg-background text-foreground transition-colors hover:border-gray-8 focus:border-current focus:outline-hidden disabled:cursor-not-allowed disabled:opacity-50 data-placeholder:text-muted",{variants:{size:M.Yt,loading:{true:"pointer-events-none"}},defaultVariants:{size:"md"}}),z=i.H;function W(e){let t,n,i,o,l=(0,a.c)(8);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(i=(0,w.cn)("scroll-my-1 p-1",t),l[3]=t,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(o=(0,r.jsx)(s.s,{"data-slot":"select-group",className:i,...n}),l[5]=n,l[6]=i,l[7]=o):o=l[7],o}function R(e){let t,n,i,s,l=(0,a.c)(8);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(i=(0,w.cn)("truncate text-left",t),l[3]=t,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(s=(0,r.jsx)(o.y,{"data-slot":"select-value",className:i,...n}),l[5]=n,l[6]=i,l[7]=s):s=l[7],s}function O(e){let t,n,i,s,o,d,u,f,m,h,p,g,x=(0,a.c)(27);if(x[0]!==e?({className:n,size:d,children:t,loading:i,render:o,...s}=e,x[0]=e,x[1]=t,x[2]=n,x[3]=i,x[4]=s,x[5]=o,x[6]=d):(t=x[1],n=x[2],i=x[3],s=x[4],o=x[5],d=x[6]),o){let e;return x[7]!==s||x[8]!==o?(e=(0,r.jsx)(l.b,{"data-slot":"select-trigger",render:o,...s}),x[7]=s,x[8]=o,x[9]=e):e=x[9],e}x[10]!==n||x[11]!==i||x[12]!==d?(u=(0,w.cn)(T({size:d,loading:i}),n),x[10]=n,x[11]=i,x[12]=d,x[13]=u):u=x[13];let y=i&&"invisible";return x[14]!==y?(f=(0,w.cn)("contents",y),x[14]=y,x[15]=f):f=x[15],x[16]===Symbol.for("react.memo_cache_sentinel")?(m=(0,r.jsx)(c.w,{render:(0,r.jsx)(k.A,{className:"-mr-0.5 stroke-2 text-[.875em]"})}),x[16]=m):m=x[16],x[17]!==t||x[18]!==f?(h=(0,r.jsxs)("span",{className:f,children:[t,m]}),x[17]=t,x[18]=f,x[19]=h):h=x[19],x[20]!==i?(p=i&&(0,r.jsx)("span",{className:"absolute top-1/2 left-1/2 -translate-1/2",children:(0,r.jsx)(A.R,{size:".325em"})}),x[20]=i,x[21]=p):p=x[21],x[22]!==s||x[23]!==u||x[24]!==h||x[25]!==p?(g=(0,r.jsxs)(l.b,{"data-slot":"select-trigger",className:u,...s,children:[h,p]}),x[22]=s,x[23]=u,x[24]=h,x[25]=p,x[26]=g):g=x[26],g}function S(e){let t,n,i,s,o,l,c,d,u,f=(0,a.c)(17);return f[0]!==e?({ref:s,className:n,children:t,size:o,...i}=e,f[0]=e,f[1]=t,f[2]=n,f[3]=i,f[4]=s,f[5]=o):(t=f[1],n=f[2],i=f[3],s=f[4],o=f[5]),f[6]!==n||f[7]!==o?(l=(0,w.cn)("cursor-pointer select-none",T({size:o}),n),f[6]=n,f[7]=o,f[8]=l):l=f[8],f[9]!==t?(c=(0,r.jsx)("span",{className:"truncate",children:t}),f[9]=t,f[10]=c):c=f[10],f[11]===Symbol.for("react.memo_cache_sentinel")?(d=(0,r.jsx)(k.A,{className:"-mr-0.5 stroke-2 text-[.875em]"}),f[11]=d):d=f[11],f[12]!==i||f[13]!==s||f[14]!==l||f[15]!==c?(u=(0,r.jsxs)("div",{ref:s,className:l,...i,children:[c,d]}),f[12]=i,f[13]=s,f[14]=l,f[15]=c,f[16]=u):u=f[16],u}function C(e){let t,n,i,s,o,l,c,h,p,g,x,y,v,b,_=(0,a.c)(27);_[0]!==e?({className:n,children:t,side:s,sideOffset:o,align:l,alignOffset:c,alignItemWithTrigger:h,...i}=e,_[0]=e,_[1]=t,_[2]=n,_[3]=i,_[4]=s,_[5]=o,_[6]=l,_[7]=c,_[8]=h):(t=_[1],n=_[2],i=_[3],s=_[4],o=_[5],l=_[6],c=_[7],h=_[8]);let j=void 0===s?"bottom":s,k=void 0===o?4:o,N=void 0===l?"center":l,A=void 0===c?0:c,M=void 0===h||h;return _[9]!==n?(p=(0,w.cn)("relative isolate z-overlay max-h-(--available-height) min-w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-xl bg-surface-2 px-2 py-2.5 leading-tight text-foreground shadow-ring-xl duration-100 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
1de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n),_[9]=n,_[10]=p):p=_[10],_[11]===Symbol.for("react.memo_cache_sentinel")?(g=(0,r.jsx)(D,{}),_[11]=g):g=_[11],_[12]!==t?(x=(0,r.jsx)(d.B,{children:t}),_[12]=t,_[13]=x):x=_[13],_[14]===Symbol.for("react.memo_cache_sentinel")?(y=(0,r.jsx)(I,{}),_[14]=y):y=_[14],_[15]!==M||_[16]!==i||_[17]!==p||_[18]!==x?(v=(0,r.jsxs)(u.t,{"data-slot":"select-content","data-align-trigger":M,className:p,...i,children:[g,x,y]}),_[15]=M,_[16]=i,_[17]=p,_[18]=x,_[19]=v):v=_[19],_[20]!==N||_[21]!==M||_[22]!==A||_[23]!==j||_[24]!==k||_[25]!==v?(b=(0,r.jsx)(f.V,{children:(0,r.jsx)(m.l,{side:j,sideOffset:k,align:N,alignOffset:A,alignItemWithTrigger:M,className:"isolate z-overlay",children:v})}),_[20]=N,_[21]=M,_[22]=A,_[23]=j,_[24]=k,_[25]=v,_[26]=b):b=_[26],b}function L(e){let t,n,i,s,o=(0,a.c)(8);return o[0]!==e?({className:t,...n}=e,o[0]=e,o[1]=t,o[2]=n):(t=o[1],n=o[2]),o[3]!==t?(i=(0,w.cn)("py-1.5 pr-2 pl-8 text-xs font-semibold",t),o[3]=t,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(s=(0,r.jsx)(h.M,{"data-slot":"select-label",className:i,...n}),o[5]=n,o[6]=i,o[7]=s):s=o[7],s}function E(e){let t,n,i,s,o,l,c,d,u,f=(0,a.c)(18);f[0]!==e?({className:n,children:t,description:i,...s}=e,f[0]=e,f[1]=t,f[2]=n,f[3]=i,f[4]=s):(t=f[1],n=f[2],i=f[3],s=f[4]);let m=i?"flex-col items-start":"items-center";return f[5]!==n||f[6]!==m?(o=(0,w.cn)("relative flex min-h-8 cursor-default rounded-lg py-[.442em] pr-2 pl-8 outline-hidden select-none focus:bg-foreground
1/5 data-disabled:pointer-events-none data-disabled:opacity-50",m,n),f[5]=n,f[6]=m,f[7]=o):o=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsx)("span",{className:"absolute top-[.55em] left-2 flex size-3.5 items-center justify-center",children:(0,r.jsx)(p.h,{children:(0,r.jsx)(j.A,{size:13,strokeWidth:3})})}),f[8]=l):l=f[8],f[9]!==t?(c=(0,r.jsx)(g.h,{children:t}),f[9]=t,f[10]=c):c=f[10],f[11]!==i?(d=i&&(0,r.jsx)("span",{className:"text-xs text-muted",children:i}),f[11]=i,f[12]=d):d=f[12],f[13]!==s||f[14]!==o||f[15]!==c||f[16]!==d?(u=(0,r.jsxs)(x.e,{"data-slot":"select-item",className:o,...s,children:[l,c,d]}),f[13]=s,f[14]=o,f[15]=c,f[16]=d,f[17]=u):u=f[17],u}function $(e){let t,n,i,s,o=(0,a.c)(8);return o[0]!==e?({className:t,...n}=e,o[0]=e,o[1]=t,o[2]=n):(t=o[1],n=o[2]),o[3]!==t?(i=(0,w.cn)("pointer-events-none my-1.5 h-px bg-separator first:hidden last:hidden [&+&]:hidden",t),o[3]=t,o[4]=i):i=o[4],o[5]!==n||o[6]!==i?(s=(0,r.jsx)(y.m,{"data-slot":"select-separator",className:i,...n}),o[5]=n,o[6]=i,o[7]=s):s=o[7],s}function D(e){let t,n,i,s,o,l=(0,a.c)(9);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(i=(0,w.cn)("top-0 z-10 flex w-full cursor-default items-center justify-center bg-background py-1",t),l[3]=t,l[4]=i):i=l[4],l[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsx)(N.A,{className:"size-4"}),l[5]=s):s=l[5],l[6]!==n||l[7]!==i?(o=(0,r.jsx)(v.w,{"data-slot":"select-scroll-up-button",className:i,...n,children:s}),l[6]=n,l[7]=i,l[8]=o):o=l[8],o}function I(e){let t,n,i,s,o,l=(0,a.c)(9);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(i=(0,w.cn)("bottom-0 z-10 flex w-full cursor-default items-center justify-center bg-background py-1",t),l[3]=t,l[4]=i):i=l[4],l[5]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsx)(k.A,{className:"size-4"}),l[5]=s):s=l[5],l[6]!==n||l[7]!==i?(o=(0,r.jsx)(b.d,{"data-slot":"select-scroll-down-button",className:i,...n,children:s}),l[6]=n,l[7]=i,l[8]=o):o=l[8],o}S.displayName="SelectTriggerDisplayOnly"},50753:(e,t,n)=>{"use strict";n.d(t,{O:()=>l,p:()=>o});var r=n(70929);let a=["address","article","aside","footer","header","h1","h2","h3","h4","h5","h6","hgroup","main","nav","section","blockquote","dd","div","dl","dt","figcaption","figure","hr","li","menu","ol","p","pre","ul","a","abbr","b","bdi","bdo","br","cite","code","data","dfn","em","i","kbd","mark","q","rb","rp","rt","rtc","ruby","s","samp","small","span","strong","sub","sup","time","u","var","wbr","caption","col","colgroup","table","tbody","td","tfoot","th","thead","tr"],i=/^(?:(?:(?:f|ht)tps?|mailto|tel):|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i,s=/^(?:https?:|[^a-z]|[a-z+.-]+(?:[^a-z+.:-]|$))/i;function o(e){return r.Ay.sanitize(e,{ALLOWED_TAGS:a,ALLOWED_ATTR:["href","name","target","src","srcset","alt","title","width","height","loading"],ALLOWED_URI_REGEXP:i,ALLOW_DATA_ATTR:!1,ALLOW_ARIA_ATTR:!1})}function l(e){return r.Ay.sanitize(e,{ALLOWED_TAGS:[...a,"img"],ALLOWED_ATTR:["src","alt","href"],ALLOWED_URI_REGEXP:s,ALLOW_DATA_ATTR:!1,ALLOW_ARIA_ATTR:!1})}},57388:(e,t,n)=>{"use strict";n.d(t,{Ke:()=>f,Nt:()=>d,R6:()=>u});var r=n(37876),a=n(27964),i=n(49429),s=n(8418),o=n(75188),l=n(74302),c=n(44546);let d=i.N;function u(e){let t,n,i,o,d,u,f,m,h,p=(0,a.c)(23);if(p[0]!==e?({ref:o,render:d,className:n,withArrow:u,children:t,...i}=e,p[0]=e,p[1]=t,p[2]=n,p[3]=i,p[4]=o,p[5]=d,p[6]=u):(t=p[1],n=p[2],i=p[3],o=p[4],d=p[5],u=p[6]),d){let e;return p[7]!==t||p[8]!==i||p[9]!==o||p[10]!==d?(e=(0,r.jsx)(s.R,{ref:o,render:d,...i,children:t}),p[7]=t,p[8]=i,p[9]=o,p[10]=d,p[11]=e):e=p[11],e}let g=u&&"flex w-full gap-2.5";return p[12]!==n||p[13]!==g?(f=(0,l.cn)(g,n),p[12]=n,p[13]=g,p[14]=f):f=p[14],p[15]!==u?(m=u&&(0,r.jsx)(c.A,{className:"self-center text-[1.5em] transition-transform in-data-panel-open:rotate-90"}),p[15]=u,p[16]=m):m=p[16],p[17]!==t||p[18]!==i||p[19]!==o||p[20]!==f||p[21]!==m?(h=(0,r.jsxs)(s.R,{ref:o,className:f,...i,children:[m,t]}),p[17]=t,p[18]=i,p[19]=o,p[20]=f,p[21]=m,p[22]=h):h=p[22],h}function f(e){let t,n,i,s,c,d=(0,a.c)(10);return d[0]!==e?({ref:i,className:t,...n}=e,d[0]=e,d[1]=t,d[2]=n,d[3]=i):(t=d[1],n=d[2],i=d[3]),d[4]!==t?(s=(0,l.cn)("h-(--collapsible-panel-height) overflow-hidden transition-[height,opacity] duration-200 ease-out data-ending-style:h-0 data-ending-style:opacity-0 data-starting-style:h-0 data-starting-style:opacity-0",t),d[4]=t,d[5]=s):s=d[5],d[6]!==n||d[7]!==i||d[8]!==s?(c=(0,r.jsx)(o.j,{ref:i,className:s,...n}),d[6]=n,d[7]=i,d[8]=s,d[9]=c):c=d[9],c}u.displayName="CollapsibleTrigger",f.displayName="CollapsibleContent"},59078:(e,t,n)=>{"use strict";function r(e){return{year:e.getFullYear(),month:1+e.getMonth(),day:e.getDate()}}function a(e){return e&&new Date(e.year,e.month-1,e.day)}function i(e){return{from:e.from&&a(e.from),to:e.to&&a(e.to)}}function s(e){return t=>e(t&&r(t))}n.d(t,{DB:()=>r,QH:()=>a,WR:()=>s,X3:()=>i})},60269:(e,t,n)=>{"use strict";n.d(t,{CB:()=>p,Nc:()=>m,O2:()=>g,bk:()=>f,oO:()=>h,sH:()=>u});var r=n(37876),a=n(27964),i=n(25702),s=n.n(i),o=n(77934),l=n(78432),c=n(34265),d=n(97088);function u(e){if("flight_price_alert"!==e.agent_type)return null;let t=e.agent_config;return 0===(t.flight_numbers??[]).length?null:f(t.slices??[])}function f(e){return 0===e.length?null:{airlines:s()(e.flatMap(e=>
1e.airlines),"iata"),slices:e}}function m(e){return s()(e.flatMap(e=>e.airlines),"iata").map(e=>{let t=(0,l.v1)(e.name);return t&&t.toUpperCase()!==e.iata.toUpperCase()?t:""}).filter(Boolean).join(", ")}function h(e){let t=e[0],n=e[1];if(2===e.length&&t?.origin===n?.destination&&t?.destination===n?.origin){var r,a;return`${r=t.origin,t.origin_city||r} to ${a=t.destination,t.destination_city||a}`}return e.map(e=>{var t,n;return`${t=e.origin,e.origin_city||t} to ${n=e.destination,e.destination_city||n}`}).join(" \xb7 ")}function p(e,t){let n=m(e),r=h(t);return n&&r?`${n} – ${r}`:n||r}function g(e){let t,n,i=(0,a.c)(4),{slices:s}=e;return i[0]!==s?(t=s.map(x),i[0]=s,i[1]=t):t=i[1],i[2]!==t?(n=(0,r.jsx)("div",{className:"mt-0.5 space-y-0.5 text-xs",children:t}),i[2]=t,i[3]=n):n=i[3],n}function x(e){return(0,r.jsx)(y,{slice:e},`${e.origin}-${e.destination}-${e.departs_at}`)}function y(e){let t,n,i,s,u,f,m,h,p,g,x,y,v,b,_,w=(0,a.c)(37),{slice:j}=e,k=c.h.useFormatHourMinute(),N=c.h.useFormatFlightDuration();if(w[0]!==k||w[1]!==j.arrival_time_zone||w[2]!==j.arrives_at||w[3]!==j.departs_at||w[4]!==j.departure_time_zone){let e=(0,o.qi)(j.departs_at),r=(0,o.qi)(j.arrives_at);n=k(e,j.departure_time_zone),t=k(r,j.arrival_time_zone),i=(0,o.SU)((0,o.mk)(e,j.departure_time_zone),(0,o.mk)(r,j.arrival_time_zone)),w[0]=k,w[1]=j.arrival_time_zone,w[2]=j.arrives_at,w[3]=j.departs_at,w[4]=j.departure_time_zone,w[5]=t,w[6]=n,w[7]=i}else t=w[5],n=w[6],i=w[7];let A=i;w[8]!==j.stops?(s="number"==typeof j.stops?(0,l.yS)(j.stops):null,w[8]=j.stops,w[9]=s):s=w[9];let M=s,T=j.duration_minutes>0;return w[10]!==j.origin?(u=(0,r.jsx)("span",{children:j.origin}),w[10]=j.origin,w[11]=u):u=w[11],w[12]===Symbol.for("react.memo_cache_sentinel")?(f=(0,r.jsx)(d.A,{className:"mx-0.5 inline-block shrink-0"}),w[12]=f):f=w[12],w[13]!==j.destination?(m=(0,r.jsx)("span",{children:j.destination}),w[13]=j.destination,w[14]=m):m=w[14],w[15]!==u||w[16]!==m?(h=(0,r.jsxs)("span",{className:"no-translate inline-flex items-center",children:[u,f,m]}),w[15]=u,w[16]=m,w[17]=h):h=w[17],w[18]===Symbol.for("react.memo_cache_sentinel")?(p=(0,r.jsx)("span",{className:"mx-1",children:"\xb7"}),w[18]=p):p=w[18],w[19]===Symbol.for("react.memo_cache_sentinel")?(g=(0,r.jsx)("span",{children:" – "}),w[19]=g):g=w[19],w[20]!==A?(x=A>0&&(0,r.jsxs)("sup",{children:["+",A]}),w[20]=A,w[21]=x):x=w[21],w[22]!==t||w[23]!==n||w[24]!==x?(y=(0,r.jsxs)("span",{className:"no-translate",children:[n,g,t,x]}),w[22]=t,w[23]=n,w[24]=x,w[25]=y):y=w[25],w[26]!==N||w[27]!==T||w[28]!==j.duration_minutes?(v=T&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"mx-1",children:"\xb7"}),(0,r.jsx)("span",{className:"no-translate whitespace-nowrap",children:N(j.duration_minutes)})]}),w[26]=N,w[27]=T,w[28]=j.duration_minutes,w[29]=v):v=w[29],w[30]!==M?(b=M&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"mx-1",children:"\xb7"}),(0,r.jsx)("span",{className:"whitespace-nowrap",children:M})]}),w[30]=M,w[31]=b):b=w[31],w[32]!==y||w[33]!==v||w[34]!==b||w[35]!==h?(_=(0,r.jsxs)("div",{children:[h,p,y,v,b]}),w[32]=y,w[33]=v,w[34]=b,w[35]=h,w[36]=_):_=w[36],_}},64280:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(14232),a=n(18021),i=n(82934),s=n(63335);function o(e={}){let{highlightItemOnHover:t,highlightedIndex:n,onHighlightedIndexChange:l}=(0,i.G)(),{ref:c,index:d}=(0,s.q)(e),u=n===d,f=r.useRef(null),m=(0,a.a)(c,f);return{compositeProps:{tabIndex:u?0:-1,onFocus(){l(d)},onMouseMove(){let e=f.current;if(!t||!e)return;let n=e.hasAttribute("disabled")||"true"===e.ariaDisabled;u||n||e.focus()}},compositeRef:m,index:d}}},72602:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(37876),a=n(27964),i=n(74302);function s(e){let t,n,s,o,l,c,d=(0,a.c)(11);d[0]!==e?({size:s,className:t,...n}=e,d[0]=e,d[1]=t,d[2]=n,d[3]=s):(t=d[1],n=d[2],s=d[3]);let u=void 0===s?26:s;return d[4]!==t||d[5]!==u?(o="relative"===u?{className:(0,i.cn)("h-[1em]",t)}:{height:u,className:t},d[4]=t,d[5]=u,d[6]=o):o=d[6],d[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,r.jsx)("path",{d:"M123.52 33.802c6.68-10.02 20.72-9.058 25.419.623.396-.566.736-1.02 1.132-1.529 5.435-7.642 17.719-8.548 23.947-1.755 2.773 3.057 4.132 6.85 4.189 10.926.226 9.568.113 19.191.17 28.759 0 1.358-.567 1.925-1.925 1.925a212.371 212.371 0 0 0-8.492 0c-1.642.056-2.208-.623-2.208-2.265.057-7.303.057-14.662 0-21.965 0-1.812-.226-3.68-.679-5.435-.793-3.114-2.887-4.642-6.001-4.812-3.283-.17-5.944 1.19-6.963 4.076a18.399 18.399 0 0 0-1.019 6.058c-.113 7.246-.057 14.492-.057 21.795 0 2.264-.17 2.434-2.491 2.434h-7.586c-2.377 0-2.547-.17-2.547-2.604 0-7.076.057-14.153-.057-21.229 0-1.925-.17-3.906-.679-5.774-.793-3-2.831-4.586-5.831-4.756-3.227-.226-5.944 1.132-7.076 3.963-.567 1.415-.963 3.057-.963 4.586-.113 7.699-.056 15.398-.056 23.097 0 2.604-.17 2.774-2.774 2.774h-6.624c-3.283 0-3.283 0-3.283-3.227V45.634c0-5.152.056-10.36 0-15.512 0-1.755.622-2.547 2.434-2.434 2.661.113 5.321.056 7.925 0 1.359 0 1.982.566 2.039 1.868-.114 1.245 0 2.491.056 4.246ZM299.522 32.391V9.746c0-2.377.226-2.604 2.547-2.66 2.661 0 5.322.056 7.926 0 1.528-.057 2.264.453 2.264 2.15-.056 20.438-.056 40.874 0 61.311 0 1.472-.509 2.264-2.038 2.208a177.112 177.112 0 0 0-7.755 0c-1.359 0-1.982-.566-1.982-1.925v-3.736c-.396 0-.566-.057-.622 0-6.794 9.737-24.4 9.17-31.929-2.944-6.454-10.36-4.359-25.532 4.585-33.005 7.416-6.17 20.493-6.17 26.324 1.02.17.113.284.113.68.226Zm-11.209 29.834c6.737.057 11.379-4.812 11.492-11.832.057-7.133-4.586-12.114-11.322-12.171-6.794 0-11.662 4.868-11.719 11.832-.113 7.19 4.642 12.115 11.549 12.171ZM428.147 67.887v19.7c0 2.491-.114 2.605-2.548 2.605-2.661 0-5.321-.057-7.926 0-1.754.056-2.321-.68-2.321-2.378.057-4.982 0-9.964 0-14.946V30.636c0-2.83.17-2.944 3.001-3 2.264 0 4.529.056 6.793 0 1.472-.057 2.095.623 2.095 2.038v3.397c1.075-.85 2.208-1.699 3.283-2.605 6.284-5.208 16.927-5.095 23.947.227 11.605 8.888 11.888 29.268.623 38.609-7.416 6.114-20.154 6.34-26.438-1.189 0-.057-.17-.057-.509-.226Zm22.871-17.72c0-7.02-4.812-12.001-11.662-11.945-6.85.057-11.436 4.925-11.323 12.172.057 7.133 4.643 11.831 11.436 11.831s11.549-4.925 11.549-12.058ZM225.816 33.86c3.849-5.377 8.944-7.698 15.228-7.075 8.152.792 13.643 6.566 14.379 15.001.283 3.397.283 6.794.283 10.19.057 6.115 0 12.229.057 18.343 0 1.755-.566 2.547-2.434 2.49-2.718-.113-5.435-.056-8.152 0-1.642.057-2.208-.679-2.208-2.264.056-7.133 0-14.266 0-21.399 0-1.132.056-2.264-.113-3.397-.736-4.982-3.793-7.586-8.605-7.416-4.812.17-8.152 3.34-8.266 8.322-.169 7.416-.056 14.889-.113 22.305 0 3.793 0 3.793-3.68 3.793-2.321 0-4.642-.057-7.019 0-1.472.056-2.038-.623-2.038-2.038V29.84c0-1.528.622-2.15 2.151-2.15 2.717.056 5.435.056 8.152 0 1.472-.057 2.038.622 2.095 2.037.056 1.359.226 2.718.283 4.133ZM326.582 37.542c-1.924 0-3.509-.056-5.038 0-1.415.057-2.095-.509-2.038-1.98.057-1.982.057-3.907 0-5.888-.057-1.472.679-2.038 2.095-1.982 
11.585.057 3.17 0 5.038 0v-8.718c0-3.17 0-3.17 3.114-3.17 2.377 0 4.812.056 7.189 0 1.812-.057 2.491.566 2.435 2.377-.114 3.057 0 6.171 0 9.511 2.151 0 4.132.057 6.114 0 1.698-.056 2.491.566 2.377 2.321a84.296 84.296 0 0 0 0 5.322c.057 1.755-.679 2.377-2.377 2.264-1.925-.113-3.906 0-5.944 0-.057.623-.17 1.076-.17 1.585 0 6.284-.057 12.625 0 18.908 0 3.567 1.302 4.756 4.868 4.7.34 0 .623-.057.963-.057 2.377-.114 2.66.17 2.717 2.434 0 1.528-.057 3.057 0 4.529.057 1.528-.566 2.434-1.981 2.83-4.756 1.246-9.511 1.302-13.927-1.189-3.68-2.094-5.208-5.604-5.265-9.68-.113-7.246-.056-14.493-.056-21.739-.114-.792-.114-1.472-.114-2.378ZM368.592 34.37c.962-1.642 1.529-2.831 2.264-3.907 2.208-3.17 6.114-4.529 9.851-3.566 1.698.453 2.717 1.358 2.661 3.34-.114 2.264-.057 4.529 0 6.793 0 1.416-.623 1.868-1.982 1.698-1.528-.226-3.17-.509-4.699-.282-4.812.566-7.869 4.076-7.925 9.227-.113 7.416-.057 14.889-.057 22.305 0 2.604-.17 2.774-2.83 2.774h-7.19c-2.491 0-2.717-.226-2.717-2.66V44.728c0-4.868.056-9.68 0-14.549 0-1.755.566-2.547 2.434-2.49 2.491.113 5.038.113 7.586 0 1.868-.114 2.491.735 2.491 2.434-.17 1.245 0 2.49.113 4.246ZM202.153 50.222v20.04c0 2.265-.169 2.434-2.49 2.434-2.718 0-5.435-.056-8.152 0-1.416.057-2.095-.566-2.095-1.98V29.671c0-1.472.623-2.038 2.095-2.038 2.773.056 5.547.113 8.321 0 1.869-.057 2.378.736 2.378 2.49-.057 6.738-.057 13.418-.057 20.098ZM404.369 50.221v20.04c0 2.322-.17 2.492-2.491 2.492-2.717 0-5.435-.057-8.152 0-1.415.056-2.095-.51-2.095-1.982V29.728c0-1.416.623-2.038 2.038-2.038 2.831.056 5.661.056 8.492 0 1.642-.057 2.208.68 2.208 2.264-.057 6.737 0 13.53 0 20.267ZM474.171 73.885c-4.246 0-7.473-3.34-7.416-7.642.056-4.246 3.397-7.586 7.586-7.53 4.132.057 7.529 3.51 7.529 7.7-.057 4.076-3.51 7.472-7.699 7.472ZM195.923 5.727c3.906 0 6.963 3.057 6.906 6.963 0 4.02-3.114 7.076-7.076 7.02-3.963-.057-6.963-3.17-6.907-7.19.057-3.85 3.114-6.85 7.077-6.793ZM398.026 5.726c3.907 0 6.964 3 7.02 6.906.057 4.02-3.057 7.133-6.963 7.133-3.963 0-7.02-3.113-7.02-7.076 0-3.963 3.001-6.963 6.963-6.963ZM66.814 22.017c5.65-1.05 8.92-4.359 9.848-9.929.585 5.368 4.681 9.243 9.767 9.888-5.59 1.03-8.88 4.319-9.808 9.95-.282-2.564-1.291-4.824-3.107-6.68-1.857-1.857-4.097-2.906-6.7-3.23ZM2.538 51.34c24.454-4.542 38.602-18.865 42.62-42.97 2.532 23.232 20.261 40 42.27 42.795C63.236 55.619 49 69.855 44.983 94.221c-1.223-11.091-5.59-20.873-13.45-28.908-8.035-8.035-17.729-12.576-28.995-13.973ZM0 14.937c7.534-1.4 11.893-5.812 13.13-13.238.78 7.157 6.243 12.323 13.023 13.184-7.453 1.372-11.839 5.758-13.076 13.265-.377-3.417-1.723-6.43-4.144-8.906C6.458 16.766 3.47 15.367 0 14.937Z"}),d[7]=l):l=d[7],d[8]!==n||d[9]!==o?(c=(0,r.jsx)("svg",{viewBox:"0 0 482 95",fill:"currentColor",...o,...n,children:l}),d[8]=n,d[9]=o,d[10]=c):c=d[10],c}},76052:(e,t,n)=>{"use strict";n.d(t,{Xi:()=>p,av:()=>g,dO:()=>h,j7:()=>f,tU:()=>u});var r=n(37876),a=n(27964),i=n(63036),s=n(40824),o=n(37918),l=n(38675),c=n(74302),d=n(28104);let u=i.p;function f(e){let t,n,i,o,l,d=(0,a.c)(10);return d[0]!==e?({ref:i,className:t,...n}=e,d[0]=e,d[1]=t,d[2]=n,d[3]=i):(t=d[1],n=d[2],i=d[3]),d[4]!==t?(o=(0,c.cn)("flex gap-2 border-b text-base font-medium sm:gap-2.5",t),d[4]=t,d[5]=o):o=d[5],d[6]!==n||d[7]!==i||d[8]!==o?(l=(0,r.jsx)(s.j,{ref:i,className:o,...n}),d[6]=n,d[7]=i,d[8]=o,d[9]=l):l=d[9],l}f.displayName=s.j.displayName;let m="-mb-px border-b-2 border-transparent px-2 py-1.5 text-muted not-disabled:hover:text-foreground";function h(e){let t,n,i,s,o,l,u,f=(0,a.c)(14);f[0]!==e?({ref:n,className:t,rel:i,target:o,...s}=e,f[0]=e,f[1]=t,f[2]=n,f[3]=i,f[4]=s,f[5]=o):(t=f[1],n=f[2],i=f[3],s=f[4],o=f[5]);let h=i??("_blank"===o?"noopener noreferrer":void 0);return f[6]!==t?(l=(0,c.cn)(m,"aria-[current=page]:border-current aria-[current=page]:text-foreground",t),f[6]=t,f[7]=l):l=f[7],f[8]!==n||f[9]!==s||f[10]!==h||f[11]!==l||f[12]!==o?(u=(0,r.jsx)(d.N,{ref:n,target:o,...s,rel:h,className:l}),f[8]=n,f[9]=s,f[10]=h,f[11]=l,f[12]=o,f[13]=u):u=f[13],u}function p(e){let t,n,i,s,l,d,u=(0,a.c)(13);u[0]!==e?({ref:s,className:t,disabled:n,...i}=e,u[0]=e,u[1]=t,u[2]=n,u[3]=i,u[4]=s):(t=u[1],n=u[2],i=u[3],s=u[4]);let f=n&&"cursor-not-allowed opacity-50";return u[5]!==t||u[6]!==f?(l=(0,c.cn)(m,"data-active:border-current data-active:text-foreground",f,t),u[5]=t,u[6]=f,u[7]=l):l=u[7],u[8]!==n||u[9]!==i||u[10]!==s||u[11]!==l?(d=(0,r.jsx)(o.M,{ref:s,disabled:n,className:l,...i}),u[8]=n,u[9]=i,u[10]=s,u[11]=l,u[12]=d):d=u[12],d}h.displayName="TabsLink",p.displayName=o.M.displayName;let g=l.R},77866:(e,t,n)=>{"use strict";n.d(t,{Q:()=>_,l:()=>j});var r=n(37876),a=n(27964),i=n(14232),s=n(81901),o=n(65798),l=n(38894),c=n(4791),d=n(74302),u=n(59078),f=n(77934),m=n(34265),h=n(78977),p=n(58561),g=n(41231),x=n(20658);let y="size-12 flex items-center justify-center rounded-full border border-transparent enabled:hover:bg-foreground
1/5 disabled:text-gray-8 aria-disabled:text-gray-8 aria-disabled:hover:bg-transparent aria-disabled:cursor-default";function v(e,t){return(t.year-e.year)*12+(t.month-e.month)+1}function b(e,t){return e.year===t.year&&e.month===t.month}function _(e){let t,n,i,s,o=(0,a.c)(10),{className:l}=e,c=m.h.useFormatWeekdayAbbrev(),p=m.h.useWeekStartsOn();if(o[0]!==c||o[1]!==p){let e={year:2024,month:1,day:7};t=Array.from({length:7},(t,n)=>{let r=(0,u.QH)((0,f.fi)(e,(p+n)%7));return(0,h.vA)(r,"expected valid weekday date"),c(r)}),o[0]=c,o[1]=p,o[2]=t}else t=o[2];let g=t;return o[3]!==l?(n=(0,d.cn)("no-translate mx-auto grid w-84 shrink-0 grid-cols-7 text-center text-xs font-semibold text-muted",l),o[3]=l,o[4]=n):n=o[4],o[5]!==g?(i=g.map(w),o[5]=g,o[6]=i):i=o[6],o[7]!==n||o[8]!==i?(s=(0,r.jsx)("div",{className:n,children:i}),o[7]=n,o[8]=i,o[9]=s):s=o[9],s}function w(e,t){return(0,r.jsx)("div",{children:e},t)}function j(e){let{dayRange:t,defaultStartDay:n,retDayRangeCallback:a,min:_,max:w,numberOfMonths:j,mode:k="range",duration:N,firstClickHint:A,useRootWidth:M,hasMinHeight:T=!0,onScrollableMonthsChange:z,monthWindowOpen:W,disabledWeekdays:R}=e,O=m.h.useFormatWeekdayAbbrev(),S=m.h.useWeekStartsOn();(0,h.vA)(!N||N>=0,"duration can't be negative"),(0,h.vA)("range"===k||null==N,"duration is only valid for range mode"),(0,h.vA)("range"===k||null==A,"firstClickHint is only valid for range mode");let[C,L]=(0,i.useState)(A||"from"),E=_&&(0,u.QH)(_),$=w&&(0,u.QH)(w),D=(0,i.useRef)(null),I=(0,s.x)(D,718),H=(0,o.U)("(min-width:752px)"),F=M?I:H,Z=!F&&void 0===j,K=(0,f.wH)(_||(0,f.O4)()),U=w?(0,f.wH)(w):(0,f.wH)((0,f.PS)(K,119)),q=(0,i.useRef)(0),B=(0,i.useRef)(!1);W&&!B.current&&(q.current+=1),B.current=!!W;let V=[void 0!==W?q.current:0,_?`${_.year}-${_.month}`:"none",w?`${w.year}-${w.month}`:"none",Z].join("|"),Q=(0,f.wH)(n||K),P=(0,i.useRef)({sessionKey:V,month:Q});P.current.sessionKey!==V&&(P.current={sessionKey:V,month:Q});let X=P.current.month,G=(0,f.Tw)(X,K)?X:K,J=Math.max(1,v(G,U)),Y=Math.max(1,Math.min(J,24*Math.ceil(Math.max(1,v(G,(0,f.wH)(X)))/24))),ee=(0,u.QH)(G)??E,[et,en]=(0,i.useState)({sessionKey:V,count:Y}),er=et.sessionKey===V?Math.min(et.count,J):Y,ea=j??(F?2:Z?Math.max(1,er):1);(0,i.useEffect)(()=>{z?.(Z)},[z,Z]),(0,i.useLayoutEffect)(()=>{if(!Z)return;let e=D.current;if(!e)return;let t=function(e){let t=e?.parentElement??null;for(;t;){let{overflowY:e}=getComputedStyle(t);if("auto"===e||"scroll"===e)return t;t=t.parentElement}return null}(e);if(!t)return;let n=0,r=()=>{!function(e,t,n,r){let a;if(b(n,r))return t.scrollTop=0,!0;let i=e.querySelector('[data-scroll-anchor="true"]');return!!i&&(a=i.getBoundingClientRect().top-t.getBoundingClientRect().top+t.scrollTop,t.scrollTop=Math.max(0,a-32),!0)}(e,t,X,G)&&(n=requestAnimationFrame(r))};return r(),()=>cancelAnimationFrame(n)},[V,Z]);let ei=(0,u.QH)(X)||(0,u.QH)(_||(0,f.O4)())||E;return(0,r.jsxs)("div",{ref:D,className:(0,d.cn)("text-center",T&&!Z&&"min-h-96"),children:[(0,r.jsx)(l.h,{..."single"===k?{mode:"single",selected:(0,u.QH)(t.from),required:!0}:{mode:"range",selected:(0,u.X3)(t)},onSelect:()=>{},onDayClick:(0,u.WR)(e=>{let n,r;e?"single"===k?n=r=e:N?r=(n=e)?(0,f.fi)(n,N):void 0:t.from?t.to?"to"===C?(0,f.Tw)(e,t.from)?(n=e,r=void 0,L("to")):(n=t.from,r=e,L("from")):((0,f.Tw)(e,t.from)||(0,f.Tw)(t.to,e)?(n=e,r=void 0):(n=e,r=t.to),L("to")):(0,f.Tw)(e,t.from)?(n=e,r=void 0,L("to")):(n=t.from,r=e,L("from")):(n=e,r=void 0,L("to")):n=r=void 0,r&&(0,h.vA)(n,"expected from day to exist"),r&&n&&(0,h.vA)(!(0,f.Tw)(r,n),"to can't be before from"),a({from:n,to:r})}),...Z?{month:(0,u.QH)(G)}:{defaultMonth:ei},startMonth:ee,endMonth:$,weekStartsOn:S,disabled:(0,p.oE)([E&&{before:E},$&&{after:$},R?.length?{dayOfWeek:R}:void 0]),numberOfMonths:ea,hideNavigation:Z,hideWeekdays:Z,classNames:{[c.UI.Months]:(0,d.cn)(Z?"relative mx-auto flex w-84 flex-col gap-6":"relative mx-auto flex w-fit gap-12"),[c.UI.MonthCaption]:(0,d.cn)(Z?"pb-1.5 text-left":"h-12"),[c.UI.CaptionLabel]:(0,d.cn)(Z?"text-base font-semibold":"inline-flex h-12 items-center font-semibold"),[c.UI.Nav]:"pointer-events-none absolute inset-x-0 flex justify-between",[c.UI.PreviousMonthButton]:`${y} pointer-events-auto`,[c.UI.NextMonthButton]:`${y} pointer-events-auto -scale-x-100`,[c.UI.MonthGrid]:(0,d.cn)(Z?"mx-auto w-fit":"w-full"),[c.UI.Weekday]:"text-muted size-12 text-center text-xs font-semibold",[c.UI.Day]:"group relative size-12 rounded-full p-0",[c.UI.DayButton]:`${y} hover:enabled:group-[.range-middle]:border-foreground`,[c.pL.outside]:"bg-transparent!",..."single"===k||!t.to||t.from&&t.to&&(0,f.lp)(t.from,t.to)?{[c.wc.selected]:"*:bg-foreground! *:text-background!"}:{[c.wc.range_start]:"rounded-l-full bg-gray-3 rounded-r-none *:bg-foreground! *:text-background!",[c.wc.range_middle]:"range-middle rounded-none bg-gray-3",[c.wc.range_end]:"rounded-r-full rounded-l-none bg-gray-3 *:bg-foreground! *:text-background!"}},formatters:{formatWeekdayName:O},components:{Chevron:()=>(0,r.jsx)(g.A,{strokeWidth:2.5,className:"-translate-x-px text-lg"}),Weekday:e=>(0,r.jsx)("th",{...e,className:(0,d.cn)(e.className,"no-translate")}),...Z?{MonthCaption(e){let{calendarMonth:t,children:n,...a}=e,i=b((0,f.wH)((0,u.DB)(t.date)),X);return(0,r.jsx)("div",{...a,"data-scroll-anchor":i?"true":void 0,children:n})}}:{}}},V),Z&&er<J&&(0,r.jsx)(x.$,{variant:"subtle",size:"md",block:!0,className:"mt-5",onClick:()=>en(e=>({sessionKey:V,count:(e.sessionKey===V?e.count:Y)+24})),children:"Show more dates"})]})}},80416:(e,t,n)=>{"use strict";n.d(t,{K:()=>s,g:()=>o});var r=n(37876),a=n(27964),i=n(74302);function s(e){let t,n,s,o,l=(0,a.c)(8);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(s=(0,i.cn)("text-destructive [&_a]:font-medium [&_a]:underline",t),l[3]=t,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(o=(0,r.jsx)("p",{role:"alert",className:s,...n}),l[5]=n,l[6]=s,l[7]=o):o=l[7],o}function o(e){let t,n,s,o,l=(0,a.c)(8);return l[0]!==e?({className:t,...n}=e,l[0]=e,l[1]=t,l[2]=n):(t=l[1],n=l[2]),l[3]!==t?(s=(0,i.cn)("font-medium underline",t),l[3]=t,l[4]=s):s=l[4],l[5]!==n||l[6]!==s?(o=(0,r.jsx)("button",{type:"button",className:s,...n}),l[5]=n,l[6]=s,l[7]=o):o=l[7],o}},81901:(e,t,n)=>{"use strict";n.d(t,{x:()=>o});var r=n(14232),a=n(4917),i=n.n(a),s=n(8153);function o(e,t){let[n,a]=(0,r.useState)(void 0);return(0,s.E)(()=>{let n=e.current;if(!n)return;let r=n.getBoundingClientRect().width;r>0&&a(r>=t);let s=new ResizeObserver(i()(e=>{for(let n of e)a(n.contentRect.width>=t)}));return s.observe(n),()=>{s.disconnect()}},[e.current,t]),n}}
1,98312:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(37876),a=n(14232);function i(e){let{ref:t,as:n="span",onClick:i,onPerform:s,children:o,preventDefault:l=!0,...c}=e,d=(0,a.useRef)(!1),u=(0,a.useRef)(!0);(0,a.useEffect)(()=>(u.current=!0,()=>{u.current=!1}),[]);let f=(0,a.useCallback)(async e=>{if(!d.current){if(s){d.current=!0;try{await s(e)}finally{u.current&&(d.current=!1)}}i?.(e)}},[i,s]),m=(0,a.useCallback)(async e=>{if((i||s)&&("Enter"===e.key||" "===e.key)&&(l&&e.preventDefault(),!d.current)){if(s){d.current=!0;try{await s(e)}finally{u.current&&(d.current=!1)}}i?.(e)}},[i,s,l]),h=i||s;return(0,r.jsx)(n,{ref:e=>{"function"==typeof t?t(e):t&&(t.current=e)},...h&&{tabIndex:0,role:"button",onClick:f,onKeyDown:m},...c,children:o})}i.displayName="AriaButton"}},e=>{e.O(0,[770,8901,929,7142,8894,8913,9980,7424,9001,3515,6593,636,8792],()=>e(e.s=3453)),_N_E=e.O()}]);
2//# sourceMappingURL=[id]-16c745898a3d8fbd.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.