(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,230508,e=>{"use strict";var l=e.i(843476),t=e.i(657688),d=e.i(379398),s=e.i(740262);e.s(["StoryBubble",0,({stories:e,isPost:i,width:r="w-16",height:o="h-16",storyIndex:a})=>{let{dispatch:c}=(0,d.useStories)();return(0,l.jsxs)("button",{className:`flex items-center ${!i&&"flex-col cursor-pointer"}`,onClick:i?()=>null:()=>{c({type:s.Types.ToggleModal,payload:{storyIndex:a}})},children:[(0,l.jsx)("div",{className:`${r} ${o} gradient rounded-full p-[2px] mb-1 ${i&&"mr-2"} ${!i&&"md:w-32 md:h-32 h-24 w-24"}`,children:(0,l.jsx)("div",{className:"w-full h-full bg-white dark:bg-darkBg rounded-full overflow-hidden relative",children:(0,l.jsx)(t.default,{src:e?.[0]?.logo_img||"",alt:e?.[0].product_title||"",fill:!0,className:"w-full h-full rounded-full"})})}),(0,l.jsx)("h3",{className:`text-sm font-bold text-center ${!i&&"whitespace-nowrap text-ellipsis overflow-hidden w-16 text-xs"} md:w-20 md:text-md ${i&&"md:text-lg"}`,children:e?.[0].title})]})}])},443115,e=>{e.n(e.i(230508))}]);