1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="086fcf90-47b2-4702-9406-54b0b6119cd7",e._sentryDebugIdIdentifier="sentry-dbid-086fcf90-47b2-4702-9406-54b0b6119cd7")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4888],{24888:(e,r,t)=>{t.r(r),t.d(r,{ShareModal:()=>h});var s=t(95155),a=t(18955),l=t(39179),n=t(36204),d=t(92033),o=t(32265),i=t(33173),c=t(63263),x=t(15239),b=t(89269),u=t(51834),m=t(26549);function h(e){let{isShareModalOpen:r,setIsShareModalOpen:t,browsingListId:h,setBrowsingListId:f,isLoadingCollections:p,isLoadingItems:g,browsingItems:v,myLists:w,shareItem:j,shareWishlist:k,browseList:N}=e,y=(0,a.c)("Common"),B=(0,a.c)("MessagesView");return(0,s.jsx)(u.lG,{open:r,onOpenChange:t,children:(0,s.jsx)(u.Cf,{className:"max-w-2xl overflow-visible border-none bg-transparent p-0 shadow-none",children:(0,s.jsxs)("div",{className:"relative flex min-h-[500px] flex-col rounded-[12px] border border-[#EBEBEB] bg-white p-8 shadow-[0_4px_20px_rgba(0,0,0,0.12)] duration-300 animate-in zoom-in-95 dark:border-neutral-800 dark:bg-neutral-900 md:p-12",children:[(0,s.jsxs)(u.c7,{className:"mb-8",children:[(0,s.jsx)("div",{className:"mb-4 flex justify-center",children:(0,s.jsx)("div",{className:"flex h-14 w-14 items-center justify-center rounded-[12px] border border-[#EBEBEB] bg-[#F9F9F9] text-blue-500 dark:border-neutral-700 dark:bg-neutral-800",children:(0,s.jsx)(l.A,{className:"h-7 w-7"})})}),(0,s.jsx)(u.L3,{className:"text-center text-base font-semibold normal-case leading-snug text-[#171717] dark:text-neutral-100 md:text-lg",children:B(h?"pickWish":"shareVault")})]}),(0,s.jsxs)("div",{className:"no-scrollbar flex-1 overflow-y-auto pr-2",children:[h&&(0,s.jsxs)("button",{type:"button",onClick:()=>f(null),className:"mb-6 flex items-center gap-2 text-xs font-medium text-[#8A8A80] dark:text-neutral-500 transition-colors hover:text-[#171717] dark:hover:text-neutral-100",children:[(0,s.jsx)(n.A,{className:"h-4 w-4"})," ",B("backToCollections")]}),p||g?(0,s.jsx)("div",{className:"flex justify-center py-20",children:(0,s.jsx)(d.A,{className:"h-10 w-10 animate-spin text-blue-500"})}):h?(0,s.jsx)("div",{className:"grid grid-cols-1 gap-3 md:grid-cols-2 md:gap-4",children:v.map(e=>(0,s.jsxs)("button",{type:"button",onClick:()=>
1j(e.id),className:"group flex items-center gap-4 rounded-[12px] border border-[#EBEBEB] bg-[#F9F9F9] p-4 text-left transition-colors hover:bg-[#F9F9F9]/80 dark:border-neutral-700 dark:bg-neutral-800/50 dark:hover:bg-neutral-800",children:[(0,s.jsx)("div",{className:"relative h-16 w-16 shrink-0 overflow-hidden rounded-[12px] border border-[#EBEBEB] dark:border-neutral-600",children:e.imageUrl?(0,s.jsx)(b.SafeProductImage,{src:e.imageUrl,alt:e.title,fill:!0,referrerPolicy:"no-referrer",sizes:"(max-width: 768px) 50vw, 25vw",className:"object-cover"}):(0,s.jsx)("div",{className:"h-full w-full bg-primary/10"})}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("span",{className:"mb-1 block truncate text-sm font-semibold normal-case text-[#171717] dark:text-neutral-100",children:e.title}),(0,s.jsxs)("span",{className:"text-xs font-medium text-blue-500",children:[e.price," ",e.currency]})]}),(0,s.jsx)(o.A,{className:"h-5 w-5 shrink-0 text-[#8A8A80] dark:text-neutral-500 transition-colors group-hover:text-blue-500"})]},e.id))}):(0,s.jsx)("div",{className:"grid grid-cols-1 gap-4 md:grid-cols-2",children:w.map(e=>(0,s.jsxs)("div",{className:"flex flex-col overflow-hidden rounded-[12px] border border-[#EBEBEB] bg-white shadow-[0_2px_12px_rgba(0,0,0,0.08)] transition-shadow duration-200 hover:shadow-[0_4px_20px_rgba(0,0,0,0.12)] dark:border-neutral-700 dark:bg-neutral-800/50",children:[(0,s.jsxs)("div",{className:"relative aspect-[21/9] overflow-hidden bg-neutral-100",children:[e.coverImageUrl?(0,s.jsx)(x.default,{src:e.coverImageUrl,alt:e.title,fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",className:"object-cover"}):(0,s.jsx)("div",{className:"h-full w-full",style:{background:(e=>{let r=(e||"Collection").split("").reduce((e,r)=>e+r.charCodeAt(0),0);return m.C[r%m.C.length]})(e.title)}}),(0,s.jsx)("div",{className:"absolute inset-0 bg-[#171717]/10"}),(0,s.jsx)("button",{type:"button",onClick:()=>k(e.id),className:"absolute right-2 top-2 rounded-full border border-[#EBEBEB] bg-white p-2 text-[#171717] shadow-sm transition-colors hover:bg-[#F9F9F9] dark:border-neutral-600 dar
1k:bg-neutral-900 dark:text-neutral-100",children:(0,s.jsx)(i.A,{className:"h-4 w-4"})})]}),(0,s.jsxs)("button",{type:"button",onClick:()=>N(e.id),className:"flex items-center justify-between p-4 text-left transition-colors hover:bg-[#F9F9F9] dark:hover:bg-neutral-800/80",children:[(0,s.jsx)("span",{className:"flex-1 truncate text-sm font-semibold normal-case text-[#171717] dark:text-neutral-100",children:e.title}),(0,s.jsx)(c.A,{className:"h-4 w-4 shrink-0 text-[#8A8A80] dark:text-neutral-500"})]})]},e.id))})]}),(0,s.jsx)("div",{className:"mt-8 flex justify-center",children:(0,s.jsx)("button",{type:"button",onClick:()=>t(!1),className:"rounded-full border border-[#EBEBEB] px-4 py-2 text-xs font-semibold text-[#6B6B6B] transition-colors hover:bg-[#F9F9F9] dark:border-neutral-700 dark:hover:bg-neutral-800",children:y("cancel")})})]})})})}}}]);
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.