1import{u as ke,r as m,j as t,L as Ie,B as Y,g as de,X as Re,s as y,x as Me}from"./index-CEISlULX.js";import{s as Te}from"./perfTrace-CDMfaol-.js";import{I as Pe}from"./input-CaLoYHgx.js";import{t as Ae,A as Ee,a as $e,b as Be}from"./avatar-eNBfDWHd.js";import{B as Le}from"./BottomNav-BGJgt-bz.js";import{S as ce}from"./StashIcon-JEYRozzv.js";import{C as ze}from"./ConfirmDeleteDialog-DmP6G5fs.js";import{C as Ue}from"./CreateGuideDialog-_LocQT2t.js";import{u as De}from"./useSharedGuides-B3-2Cqry.js";import{g as Ge,s as pe}from"./stashHubCache-gYYiO9Wl.js";import{P as ue}from"./plus-CMUH1C5J.js";import{S as qe}from"./search-Ctpt4-cV.js";import{T as Fe}from"./telescope-6m63hefb.js";import{M as xe}from"./map-pin-DzyMqwtX.js";import{S as ge}from"./shopping-bag-u8-RJDu1.js";import{I as be}from"./image-UOq2Pr3V.js";import{P as ve}from"./palette-A7zxrGyD.js";import{L as he}from"./loader-circle-C0qiwHXp.js";import"./imageTransform-D9pM4sAU.js";import"./useQuery-Bjb0j6kj.js";import"./compass-DU-94JJU.js";import"./gem-CQpK3PY6.js";import"./heart-handshake-BdNSckxu.js";import"./alert-dialog-0IVFOTPn.js";import"./index-CKv5A6hs.js";import"./index-yCNHGKsJ.js";import"./useHomeRegion-BAQ18bpq.js";import"./normalizeMediaLevel2-BFbM6i_V.js";import"./mediaSearchFallback-CILtSNvj.js";import"./supabaseDirect-DK9s24Tr.js";import"./safeVaultInsert-DUrA829o.js";import"./invokeWithTimeout-CMrZrqzM.js";import"./sheet-BE3YXnQD.js";import"./textarea-DmWS1sXw.js";import"./label-CtUT-Ahl.js";import"./checkbox-CEKeZsY9.js";import"./index-CzOLp-Ui.js";import"./check-BFjtj0TV.js";import"./scroll-area-CiD1SC6W.js";import"./index-C6i_x82y.js";import"./index-BdQq_4o_.js";import"./lock-DHrReJOO.js";import"./user-check-B_6ZaR46.js";import"./users-BDheGP7O.js";import"./useDefaultShareVisibility-CJnViBYM.js";import"./friendlyError-UL1BAfr1.js";import"./dialog-DL4GLjds.js";import"./badge-CmNrSZhw.js";import"./stashWidgets-BUzXcvw_.js";import"./arrow-left-Dt5WA4Nk.js";import"./sparkles-BpeD-uNo.js";import"./film-kc4h8MJx.js";import"./layers-D4Zk86Ck.js";import"./chef-hat-CwRyf-_j.js";import"./book-open-CJtqdthI.js";import"./arrow-up-BblLnKwc.js";import"./thumbs-up-CruyU46y.js";import"./trash-2-DSAvAWKG.js";import"./clock-CsInmizx.js";import"./trending-up-Wq_xQ3a7.js";import"./zoom-out-jt_1THDy.js";import"./layout-grid-C-WsiPBY.js";import"./list-DJBNQVyl.js";import"./link-BLtkoFqS.js";import"./calendar-BfvDU277.js";import"./lightbulb-BB3_VrXi.js";import"./message-circle-D7UkCYZL.js";import"./star-ESAhzt-i.js";import"./SaveToVaultSheet-DtzUmyqk.js";import"./StashMediaSearch-Dx9cAkWh.js";import"./triggerPlacePlaceholder-CN-rDzJR.js";import"./isL1Taxonomy-CfvEgPBW.js";import"./EmptyState-CiahvOv6.js";import"./pen-line-D3QIzx2D.js";import"./buildProductSearchUrl-BCkapsmk.js";import"./useProductGenderPreference-Da1tks30.js";import"./productGenderGuard-DsVQbY7X.js";import"./openExternalLink-BHiP0FW6.js";import"./index-BG3B1jfb.js";import"./saveProductToCorpus-Be0UnuMh.js";import"./resolveProductTaxonomy-Ce13_JRk.js";import"./inferProductTaxonomyFromTitle-Ca0PTqqI.js";import"./detectBookAndSaveAsMedia-Cw0SbQQW.js";import"./normalizeBookCoverUrl-CSpwtQu4.js";import"./FullscreenGallery-D9Iq2aK4.js";import"./chevron-left-CwPhAN8D.js";import"./chevron-right-BR3dueKL.js";import"./external-link-DoOQ4sOr.js";import"./sessionRefresh-CFHnNAVn.js";import"./switch-EWfemxkv.js";import"./VaultItemDialog-D7-iyLuV.js";import"./appleMaps-B8Ncjd3q.js";import"./youtube-B-NPx3E6.js";import"./music-2-ga3ZXLz6.js";import"./wishlistRatingSync-CXzYZQgG.js";import"./addItemToWishlist-DdpdDisR.js";import"./parseFraction-C_gZgrJb.js";import"./sparkle-CpWw7Pff.js";import"./gift-DCKDU-AH.js";import"./pdfToText-BChaoK4d.js";import"./sanitizePrice-DR5ZJc2g.js";import"./songArtworkLookup-CQbMnUX5.js";import"./dropdown-menu-Cuuz4TQG.js";import"./index-B0RLvCOv.js";import"./circle-ChqNdpqJ.js";import"./select-DUuRVu25.js";import"./chevron-down-CVkqx0vb.js";import"./chevron-up-DZivf4pR.js";import"./search-input-D58RRfAr.js";import"./useSendToFavorites-MPNKXe3v.js";import"./message-square-BMoi7LMp.js";import"./user-DpvtsXRI.js";import"./send-C5489gX8.js";import"./tv-C88hoGGy.js";import"./scrubAITextCorruption-DeMgGqDF.js";import"./ratingUtils-DG8oVE9k.js";import"./useCamera-BM2GS31r.js";import"./index-IYA0blDJ.js";import"./useTrailerUrl-DhxUTgBZ.js";
1import"./openYouTubeTrailer-DCc5mN3s.js";import"./openYouTubeChannel-CbnpO7Cf.js";import"./moderateContent-BDHrihnJ.js";import"./isUserUploadedTastePhoto-BN6myZWc.js";import"./ratingsCache-Dsu4g_xe.js";import"./isPlaceholderImage-DUTkz-6J.js";import"./zoom-in-CPgIt-kO.js";import"./CreatorCreditPill-DzcKT0kI.js";import"./usePlaceAttribution-BvjrYtfu.js";import"./humanizeTitle-2ZcthfUi.js";import"./cleanSongTitle-BWCBRKKh.js";import"./BrandIcons-C3jZg5F7.js";import"./AppleMapsLogo-Rh3MdkJL.js";import"./camera-CR32InGn.js";import"./file-text-CamhJ3w8.js";import"./globe-C9iVOL1m.js";import"./gamepad-2-Dj5IAcM9.js";import"./pencil-DZdaQ7Ww.js";import"./heart-BdtuOGcS.js";import"./eye-OdF1rFDD.js";import"./mic-CA9kkvLV.js";import"./save-CI9MkljJ.js";import"./image-plus-uQ0IJYfW.js";import"./megaphone-DlJHIds_.js";import"./CreateCreationDialog-Bb9uxCo6.js";import"./imageUpload-BIv5lkJD.js";import"./circle-check-BMYdMzAm.js";import"./scissors-DRod-a_U.js";import"./pen-tool-DS2ilMZt.js";import"./wallpaper-CeJbgLzY.js";import"./wrench-Dk5C-6Dh.js";import"./shirt-Cr7saDpI.js";import"./video-DcZVB1n-.js";import"./house-DyEJdHUq.js";import"./tree-pine-CVC2rmdh.js";import"./utensils-crossed-BO4e05Nu.js";import"./cake-BCyyd8ED.js";import"./flame-JRnXPgHe.js";import"./wine-Cbzkns94.js";import"./wand-sparkles-BEO6-Ma6.js";import"./upload-C39KYR9i.js";import"./minus-DiBQwzSu.js";import"./list-ordered-BzOeGYTg.js";import"./scan-barcode-CvSB7jiw.js";import"./resolveBookCoverClient-erhY9SZd.js";import"./link-2-BkhClLri.js";import"./refresh-cw-uC6mqHyu.js";import"./swrStore-Ulpoep9c.js";const T={place:{label:"Places",icon:xe,color:"text-emerald-600 dark:text-emerald-400",gradient:"from-emerald-500/20 to-emerald-500/5"},media:{label:"Media",icon:be,color:"text-blue-600 dark:text-blue-400",gradient:"from-blue-500/20 to-blue-500/5"},product:{label:"Products",icon:ge,color:"text-amber-600 dark:text-amber-400",gradient:"from-amber-500/20 to-amber-500/5"},creations:{label:"Creations",icon:ve,color:"text-purple-600 dark:text-purple-400",gradient:"from-purple-500/20 to-purple-500/5"}},fe=({name:_,domain:x,itemCount:P,coverUrl:A,subtitle:u,onClick:h,senderAvatar:g,senderName:b})=>{const C=T[x||"place"]||T.place,i=C.icon,E=Me.useRef(null);return t.jsxs("button",{ref:E,className:"flex flex-col rounded-xl border border-border bg-card shadow-sm hover:shadow-md transition-all cursor-pointer overflow-hidden text-left w-full active:scale-[0.97] transition-transform duration-150",onClick:()=>{var S;const $=(S=E.current)==null?void 0:S.getBoundingClientRect();$&&h($)},children:[t.jsxs("div",{className:"relative w-full aspect-[4/3]",children:[A?t.jsxs(t.Fragment,{children:[t.jsx("img",{src:A,alt:"",className:"w-full h-full object-cover"}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/50 via-transparent to-transparent"})]}):t.jsx("div",{className:`w-full h-full bg-gradient-to-br ${C.gradient} flex items-center justify-center`,children:t.jsx(i,{className:`h-8 w-8 ${C.color} opacity-60`,strokeWidth:1.4})}),x&&T[x]&&t.jsx("div",{className:"absolute bottom-2 left-2 flex items-center justify-center bg-background/80 backdrop-blur-sm rounded-full h-6 w-6",children:t.jsx(i,{className:"h-3 w-3 text-muted-foreground"})}),g&&t.jsxs(Ee,{className:"absolute top-2 left-2 h-6 w-6 border-2 border-background shadow-sm",children:[t.jsx($e,{src:g,alt:b}),t.jsx(Be,{className:"text-[10px]",children:(b==null?void 0:b[0])||"?"})]})]}),t.jsxs("div",{className:"p-2.5",children:[t.jsx("p",{className:"font-medium text-sm truncate text-foreground",children:_}),t.jsx("p",{className:"text-[11px] text-muted-foreground mt-0.5",children:u||`${P} item${P!==1?"s":""}`})]})]})},Zo=()=>{var Q;const _=ke(),[x,P]=m.useState(null),[A,u]=m.useState(!0),[h,g]=m.useState([]),[b,C]=m.useState(""),[i,E]=m.useState("all"),[$,S]=m.useState(!0),[_e,L]=m.useState(!1),[z,U]=m.useState(null),[je,V]=m.useState(!1),[l,K]=m.useState(null),j=De(x);m.useEffect(()=>{let e=!1;return(async()=>{const a=Te("Stash Hub","/stashes");try{const{data:{session:d}}=await y.auth.getSession();if(!(d!=null&&d.user)){u(!1),a.end();return}const v=d.user;P(v.id);const w=await Ge(v.id);!e&&w&&w.length>0?(g(w),u(!1)):u(!0);const{data:p}=await y.from("user_guides").select("id, name, created_at, extra").eq("user_id",v.id).order("created_at",{ascending:!1});if(!p||p.length===0){g([]),u(!1),a.end({queryCount:1});return}
1const Z=p.map(r=>r.id),N=50,ee=[];for(let r=0;r<Z.length;r+=N)ee.push(Promise.resolve(y.from("user_guide_items").select("guide_id").in("guide_id",Z.slice(r,r+N))));const ye=(await Promise.all(ee)).flatMap(r=>r.data||[]),q={};ye.forEach(r=>{q[r.guide_id]=(q[r.guide_id]||0)+1});const F=r=>r?r==="creation"?"creations":r:null,O=p.map(r=>{var s,f;const n=F((s=r.extra)==null?void 0:s.domain);return{id:r.id,name:r.name,domain:n,domain_count:n?1:0,item_count:q[r.id]||0,cover_url:((f=r.extra)==null?void 0:f.cover_url)||null,created_at:r.created_at}});if(e)return;g(O),u(!1),pe(v.id,O),a.end({queryCount:2});const te=O.filter(r=>r.item_count>0);if(te.length===0)return;const re=te.map(r=>r.id),oe=(await Promise.all(Array.from({length:Math.ceil(re.length/N)},(r,n)=>y.from("user_guide_items").select("guide_id, taste_id").in("guide_id",re.slice(n*N,n*N+N))))).flatMap(({data:r})=>r||[]);if(oe.length===0||e)return;const k={};oe.forEach(r=>{r.taste_id&&(k[r.guide_id]||(k[r.guide_id]=[]),k[r.guide_id].push(r.taste_id))});const H=[...new Set(Object.values(k).flat())];if(H.length===0)return;const ie={},ae=100,se=[];for(let r=0;r<H.length;r+=ae)se.push(H.slice(r,r+ae));if((await Promise.all(se.map(r=>y.from("user_vault_taste_search").select("vault_taste_id, domain").in("vault_taste_id",r)))).forEach(({data:r,error:n})=>{n&&console.warn("[StashHub] domain lookup chunk failed:",n.message),(r||[]).forEach(s=>{s.vault_taste_id&&s.domain&&(ie[s.vault_taste_id]=s.domain)})}),e)return;const Ce={},B=[];if(g(r=>{const n=r.map(s=>{var ne,le;const f=k[s.id];if(!f||f.length===0)return s;const I=new Set;f.forEach(W=>{const me=F(ie[W]);me&&I.add(me)});const R=I.size;if(R===0)return s;const M=R===1?[...I][0]:null;Ce[s.id]={domain:M,domain_count:R};const Se=F((le=(ne=p.find(W=>W.id===s.id))==null?void 0:ne.extra)==null?void 0:le.domain);return R===1&&M&&Se!==M&&B.push({id:s.id,domain:M}),{...s,domain:M,domain_count:R}});return pe(v.id,n),n}),B.length>0){const r=p.filter(n=>B.some(s=>s.id===n.id));await Promise.all(r.map(n=>{const s=B.find(I=>I.id===n.id).domain,f={...n.extra||{},domain:s};return y.from("user_guides").update({extra:f}).eq("id",n.id)})).catch(()=>{})}}catch(d){console.error("Error loading stash hub:",d),a.end()}finally{u(!1)}})(),()=>{e=!0}},[]);const c=b.trim().toLowerCase(),D=m.useMemo(()=>{let e=h;if(c&&(e=e.filter(o=>o.name.toLowerCase().includes(c))),i!=="all")if(i==="topic")e=e.filter(o=>o.domain_count>=2||o.domain===null&&o.item_count>0);else{const o=[i];i==="creations"&&o.push("creation"),e=e.filter(a=>a.domain!=null&&o.includes(a.domain))}return e},[h,c,i]),G=m.useMemo(()=>{let e=j.sharedWithMe;if(c&&(e=e.filter(o=>o.guide_name.toLowerCase().includes(c)||o.owner_name.toLowerCase().includes(c))),i!=="all")if(i==="topic")e=e.filter(o=>o.guide_domain==="topic");else{const o=[i];i==="creations"&&o.push("creation"),i==="creation"&&o.push("creations"),e=e.filter(a=>a.guide_domain!=null&&o.includes(a.guide_domain))}return e},[j.sharedWithMe,c,i]),we=m.useMemo(()=>{const e={all:h.length,topic:0,place:0,product:0,media:0,creations:0};return h.forEach(o=>{if((o.domain_count>=2||o.domain===null&&o.item_count>0)&&e.topic++,o.domain){const a=o.domain==="creation"?"creations":o.domain;e[a]!==void 0&&e[a]++}}),e},[h]),Ne=(e,o)=>{_(`/vault?guide=${e}&guideName=${encodeURIComponent(o)}&returnTo=${encodeURIComponent("/profile")}`)},X=(e,o,a,d,v)=>{const w=`/vault?guide=${e}&guideName=${encodeURIComponent(o)}&returnTo=${encodeURIComponent("/profile")}`;K({rect:a,coverUrl:d,name:o,domain:v,targetUrl:w,phase:"start"}),requestAnimationFrame(()=>{requestAnimationFrame(()=>{K(p=>p&&{...p,phase:"expand"})})}),window.setTimeout(()=>_(w),320)},J=[{value:"all",label:"All"},{value:"topic",label:"Topic"},{value:"place",label:"Places",icon:xe},{value:"product",label:"Products",icon:ge},{value:"media",label:"Media",icon:be},{value:"creations",label:"Creations",icon:ve}];return t.jsxs("div",{className:"h-screen bg-background flex flex-col overflow-hidden",children:[t.jsxs("header",{className:"pt-[env(safe-area-inset-top)] px-4 py-1.5 flex justify-between items-center gap-4 flex-shrink-0 backdrop-blur-sm",style:{background:"var(--gradient-header)"},children:[t.jsx("div",{className:"flex items-center gap-2 flex-shrink-0",children:t.jsx("button",{onClick:()=>_("/explore?tab=discover"),className:"flex items-center justify-center flex-shrink-0",children:t.jsx("img",{src:Ie,alt:"Home",className:"h-10 w-10 object-contain rounded-xl"})})}),t.jsx(Y,{size:"icon",className:"rounded-full h-10 w-10 text-white border-0 shadow-[0_0_10px_1px_hsla(222,47%,11%,0.25),0_0_20px_4px_hsla(24,70%,55%,0.15)] hover:shadow-[0_0_14px_2px_hsla(222,47%,11%,0.3),0_0_24px_6px_hsla(24,70%,55%,0.22)] hover:scale-105 active:scale-95 transition-all duration-200",style:{background:"linear-gradient(145deg, hsl(222 47% 14%), hsl(222 40% 22%), hsl(24 65% 50%))"},onClick:()=>L(!0),children:t.jsx(ue,{className:"h-5 w-5"})})]}),t.jsxs("div",{className:"flex-shrink-0 px-4 pt-3 pb-2 flex items-center gap-2",children:[t.jsxs("div",{className:"relative flex-1",children:[t.jsx(qe,{className:"absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground"}),t.jsx(Pe,{placeholder:"Search my saved stashesâ¦",value:b,onChange:e=>C(e.target.value),className:"pl-9 h-9 text-sm rounded-xl"})]}),t.jsxs(Y,{variant:"outline",size:"sm",className:"h-9 rounded-xl px-3 text-xs font-semibold whitespace-nowrap bg-primary/5 border-primary/20 text-primary hover:bg-primary/10",onClick:()=>_("/vault-guides?domain=all"),children:[t.jsx(Fe,{className:"h-3.5 w-3.5 mr-1.5"}),"Browse"]})]}),t.jsx("div",{className:"flex-shrink-0 px-4 pb-2 flex gap-2 overflow-x-auto scrollbar-hide",children:J.map(e=>{const o=we[e.value]??0;return t.jsxs("button",{onClick:()=>E(e.value),className:de("flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-medium whitespace-nowrap transition-all border",i===e.value?"bg-primary text-primary-foreground border-primary":"bg-muted/50 text-muted-foreground border-transparent hover:bg-muted"),children:[e.icon&&t.jsx(e.icon,{className:"h-3 w-3"}),e.label,e.value!=="all"&&o>0&&t.jsx("span",{className:de("text-[10px] min-w-[16px] h-4 flex items-center justify-center rounded-full px-1",i===e.value?"bg-primary-foreground
1/20":"bg-muted-foreground/15"),children:o})]},e.value)})}),t.jsx("div",{className:"flex-1 overflow-y-auto px-4 pb-20",onScroll:e=>{const o=e.currentTarget,a=o.scrollTop,d=a-o.__lastY||0;d>8&&a>50?S(!1):d<-8&&S(!0),o.__lastY=a},children:A?t.jsx("div",{className:"flex items-center justify-center py-20",children:t.jsx(he,{className:"h-5 w-5 animate-spin text-muted-foreground"})}):t.jsxs(t.Fragment,{children:[t.jsxs("section",{className:"mb-4",children:[t.jsxs("h2",{className:"text-base font-semibold text-foreground mb-3",children:["My Stashes",h.length>0&&t.jsxs("span",{className:"text-muted-foreground font-normal ml-1.5",children:["(",D.length,")"]})]}),D.length===0?t.jsxs("div",{className:"flex flex-col items-center py-10 text-center",children:[t.jsx("div",{className:"rounded-full bg-primary/10 p-4 mb-3",children:t.jsx(ce,{className:"h-8 w-8 text-primary/60"})}),t.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:c?"No matching stashes.":i==="topic"?"No Topic stashes found.":i!=="all"?`No ${((Q=J.find(e=>e.value===i))==null?void 0:Q.label)||i} stashes found.`:"You haven't created any stashes yet."}),!c&&t.jsxs(Y,{size:"sm",className:"rounded-full",onClick:()=>L(!0),children:[t.jsx(ue,{className:"h-3.5 w-3.5 mr-1.5"}),"Create your first stash"]})]}):t.jsx("div",{className:"grid grid-cols-2 gap-3",children:D.map(e=>t.jsx(fe,{name:e.name,domain:e.domain,itemCount:e.item_count,coverUrl:e.cover_url,onClick:o=>X(e.id,e.name,o,e.cover_url,e.domain)},e.id))})]}),t.jsx("div",{className:"border-t border-border mb-4"}),t.jsxs("section",{children:[t.jsxs("h2",{className:"text-base font-semibold text-foreground mb-3",children:["Shared with Me",j.sharedWithMe.length>0&&t.jsxs("span",{className:"text-muted-foreground font-normal ml-1.5",children:["(",G.length,")"]})]}),j.loading?t.jsx("div",{className:"flex items-center justify-center py-8",children:t.jsx(he,{className:"h-4 w-4 animate-spin text-muted-foreground"})}):G.length===0?t.jsxs("div",{className:"flex flex-col items-center py-10 text-center",children:[t.jsx("div",{className:"rounded-full bg-muted p-4 mb-3",children:t.jsx(ce,{className:"h-8 w-8 text-muted-foreground/40"})}),t.jsx("p",{className:"text-sm text-muted-foreground",children:c?"No matching shared stashes.":"No stashes shared with you yet."})]}):t.jsx("div",{className:"grid grid-cols-2 gap-3",children:G.map(e=>t.jsxs("div",{className:"relative",children:[t.jsx(fe,{name:e.guide_name,domain:e.guide_domain,itemCount:0,coverUrl:e.cover_url,subtitle:`from ${e.owner_name}${e.is_new?" · New":""}`,senderAvatar:Ae(e.owner_avatar_url),senderName:e.owner_name,onClick:o=>{j.markAsViewed(e.id),X(e.guide_id,e.guide_name,o,e.cover_url,e.guide_domain)}}),t.jsx("button",{className:"absolute top-2 right-2 p-1 rounded-full bg-background/80 backdrop-blur-sm hover:bg-destructive/10 text-muted-foreground hover:text-destructive transition-colors z-10",onClick:o=>{o.stopPropagation(),U(e.id)},title:"Remove shared stash",children:t.jsx(Re,{className:"h-3.5 w-3.5"})})]},e.id))})]})]})}),l&&t.jsxs("div",{className:"fixed inset-0 z-[100] pointer-events-none",children:[t.jsx("div",{className:"absolute inset-0 bg-background transition-opacity duration-[280ms] ease-out",style:{opacity:l.phase==="expand"?1:0}}),t.jsxs("div",{className:"absolute overflow-hidden shadow-2xl will-change-transform",style:{top:l.phase==="expand"?0:l.rect.top,left:l.phase==="expand"?0:l.rect.left,width:l.phase==="expand"?"100vw":l.rect.width,height:l.phase==="expand"?"100vh":l.rect.height,borderRadius:l.phase==="expand"?0:12,transition:"top 320ms cubic-bezier(0.22, 1, 0.36, 1), left 320ms cubic-bezier(0.22, 1, 0.36, 1), width 320ms cubic-bezier(0.22, 1, 0.36, 1), height 320ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 320ms ease-out"},children:[l.coverUrl?t.jsx("img",{src:l.coverUrl,alt:"",className:"w-full h-full object-cover"}):t.jsx("div",{className:`w-full h-full bg-gradient-to-br ${(T[l.domain||"place"]||T.place).gradient}`}),t.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/40 via-transparent to-transparent"})]})]}),t.jsx(Le,{activeTab:"stashes",visible:$}),t.jsx(ze,{open:!!z,onOpenChange:e=>{e||U(null)},onConfirm:async()=>{z&&(V(!0),await j.removeShare(z),V(!1),U(null))},title:"Remove shared stash?",description:"This stash will no longer appear in your Shared with Me list. You can re-add it on Explore if it is public or shared with you as a friend.",actionLabel:"Remove",isDeleting:je}),x&&t.jsx(Ue,{open:_e,onOpenChange:L,userId:x,onGuideCreated:Ne})]})};export{Zo as default};
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.