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CAGhC,CAAAjI,EAAoDhF,QAAnD,CAAET,UAAAA,CAAS,CAAE2I,YAAAA,EAAc,UAAU,CAAE,GAAG5H,EAAO,CAAA0E,QAClD,GAAAyG,EAAApM,GAAA,EAACgO,EAAAA,EAAuC,EACtCrN,IAAKA,EACLkI,YAAaA,EACb3I,UAAW0F,CAAAA,EAAAA,EAAAA,EAAAA,EACT,gDACAiD,aAAAA,GACE,qDACFA,eAAAA,GACE,uDACF3I,GAED,GAAGe,CAAK,UAET,GAAAmL,EAAApM,GAAA,EAACgO,EAAAA,EAAmC,EAAC9N,UAAU,8CAGnD0I,CAAAA,EAAUmF,WAAW,CAAGC,EAAAA,EAAuC,CAACD,WAAW","sources":["webpack://_N_E/?d20f","webpack://_N_E/./components/home/Banner.tsx","webpack://_N_E/./components/home/DesignPartners.tsx","webpack://_N_E/./components/home/Features.tsx","webpack://_N_E/./components/home/Hero.tsx","webpack://_N_E/./components/ui/skeleton.tsx","webpack://_N_E/./components/ProductSkeleton.tsx","webpack://_N_E/./components/ui/card-hover-effect.tsx","webpack://_N_E/./components/home/NewArrivals.tsx","webpack://_N_E/./components/ui/wobble-card.tsx","webpack://_N_E/./components/home/ShopByCategory.tsx","webpack://_N_E/./app/page.tsx","webpack://_N_E/./components/layout/header/search.tsx","webpack://_N_E/./components/ui/popover.tsx","webpack://_N_E/./components/ui/scroll-area.tsx"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2805891505/src/alien-wardrobe/app/page.tsx\");\n","\"use client\"\n\nimport \"slick-carousel/slick/slick.css\"\nimport \"slick-carousel/slick/slick-theme.css\"\n\nimport { useWindowSize } from \"react-use\"\nimport { useRef, useState } from \"react\"\nimport Image from \"next/image\"\nimport { LuChevronLeft, LuChevronRight } from \"react-icons/lu\"\nimport Slider from \"react-slick\"\n\n\nimport { Button } from \"../ui/button\"\n\nconst Banner = () => {\n const [slideIndex, setSlideIndex] = useState(0)\n const sliderRef = useRef(null)\n const { width } = useWindowSize()\n\n const getVideoLink = (val: string): string => {\n const link = `${process.env.NEXT_PUBLIC_AWS_CLOUDFRONT_URL}${val}`\n return link;\n }\n\n function CustomPrevArrow(props: any) {\n const { className, style, onClick } = props\n return (\n
\n \n \n \n
\n )\n }\n\n function CustomNextArrow(props: any) {\n const { className, style, onClick } = props\n return (\n
\n \n \n \n
\n )\n }\n\n return (\n
\n }\n nextArrow={}\n beforeChange={(curr, next) => setSlideIndex(next)}\n dotsClass=\"slick-dots slick-thumb\"\n dots\n customPaging={(i) => (\n sliderRef?.current?.slickGoTo(i)}\n />\n )}\n >\n 768 ? getVideoLink(\"home_page/slider-web.jpeg\") : getVideoLink(\"home_page/slider-mobile.jpeg\")}\n alt={`Slide`}\n className=\"w-full h-full\"\n />\n {/*
\n \n Eco-conscious practices from production to packaging.\n \n
*/}\n \n \n \n \n
\n )\n}\n\nexport default Banner\n","\"use client\"\n\nimport { useEffect, useState, } from \"react\"\nimport Image from \"next/image\"\nimport { useRouter } from \"next/navigation\"\nimport axios from \"axios\"\nimport { event } from \"nextjs-google-analytics\"\nimport Marquee from \"react-fast-marquee\"\nimport { toast } from \"sonner\"\nimport { useWindowSize } from \"react-use\"\n\nimport { Card, CardContent } from \"@/components/ui/card\"\n\n// const DesignPartners: React.FC = () => {\nconst DesignPartners = () => {\n const [designPartners, setDesignPartners] = useState([])\n const router = useRouter()\n const { width } = useWindowSize()\n const fetchAllDesignPartners = async () => {\n try {\n const response = await axios.get(\"/api/designer\")\n setDesignPartners(response.data.data)\n } catch (error: any) {\n console.error(\"Error while fetching designers :: \", error)\n toast.error(error.data.error)\n }\n }\n\n useEffect(() => {\n fetchAllDesignPartners()\n }, [])\n\n return (\n
\n
\n

\n \n Design Partners\n \n

\n
\n
\n {/* */}\n {width > 768 ? \n
\n {designPartners?.map((designPartner: any, index: any) => (\n 2 ? \"ml-60\" : \"\"}`}\n onClick={(e) => {\n event(\"goto_designer_partner\", {\n category: \"designer_partner_instagram\",\n label: designPartner.instagram,\n })\n\n router.push(`/designer/${designPartner.instagram}`) //changed from designer id to designer instagram\n }}\n >\n \n
\n \n

\n \n {designPartner.name}{\" \"}\n \n
\n \n @{designPartner.instagram}\n \n

\n
\n
\n \n ))}\n
:\n \n \n {designPartners?.map((designPartner: any, index: any) => (\n 2 ? \"ml-60\" : \"\"}`}\n onClick={(e) => {\n event(\"goto_designer_partner\", {\n category: \"designer_partner_instagram\",\n label: designPartner.instagram,\n })\n \n router.push(`/designer/${designPartner.instagram}`) //changed from designer id to designer instagram\n }}\n >\n \n
\n \n

\n \n {designPartner.name}{\" \"}\n \n
\n \n @{designPartner.instagram}\n \n

\n
\n
\n \n ))}\n }\n {/* */}\n
\n
\n )\n}\n\nexport default DesignPartners\n","import Image from \"next/image\"\n\nconst Features = () => {\n return (\n
\n
\n \n\n

\n Plant Based Fabrics\n

\n
\n
\n \n

\n Toxic & Plastic Free\n

\n
\n
\n \n

Zero Waste

\n
\n
\n \n

Transparency

\n
\n
\n )\n}\n\nexport default Features\n","import { useRef, useState } from \"react\"\nimport { Hurricane, Poppins } from \"next/font/google\"\nimport Image from \"next/image\"\nimport Link from \"next/link\"\nimport { event } from \"nextjs-google-analytics\"\nimport { useWindowSize } from \"react-use\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport { S3Constants } from \"../../constants/s3.constants\"\nimport Search from \"../layout/header/search\"\n\n\nconst hurricane = Hurricane({\n subsets: [\"latin\"],\n weight: \"400\",\n display: \"swap\",\n style: \"normal\",\n})\n\nconst poppins = Poppins({\n subsets: [\"latin\"],\n weight: \"400\",\n display: \"swap\",\n style: \"normal\",\n})\n\nconst Hero: React.FC = () => {\n const [isMuted, setIsMuted] = useState(true)\n const videoRef = useRef(null)\n\n const { width } = useWindowSize()\n\n const onClickShopNow = () => {\n event(\"button_click\", {\n category: \"navigation_home_screen_banner\",\n label: \"Shop Now\",\n })\n }\n\n const toggleMute = () => {\n setIsMuted(!videoRef.current?.muted)\n if (videoRef.current) {\n videoRef.current.muted = !videoRef.current.muted\n }\n }\n\n // const getVideoLink = () => {\n // const link = `${process.env.NEXT_PUBLIC_AWS_CLOUDFRONT_URL}${width > 768 ? S3Constants.HERO_WEBSITE_VIDEO_PATH : S3Constants.HERO_MOBILE_VIDEO_PATH}`\n // return link\n // }\n\n const getVideoLink = (val: string): string => {\n const link = `${process.env.NEXT_PUBLIC_AWS_CLOUDFRONT_URL}${val}`\n return link;\n }\n \n return (\n
\n \n {/* \n \n {isMuted ? (\n \n 🔇\n \n ) : (\n \n 🔊\n \n )}\n */}\n {/* Uncomment and adjust as needed */}\n
\n 768 ? getVideoLink(\"home_page/landing-web.jpeg\") : getVideoLink(\"home_page/landing-mobile.jpeg\")}\n alt=\"Random image\"\n loading=\"lazy\"\n />\n {/*
\n \n SUSTAINABLE\n \n \n fashion\n \n
*/}\n
\n {/* Uncomment and adjust as needed */}\n {/*
\n \n Shop Now\n \n
*/}\n
\n )\n}\n\nexport default Hero\n","import { cn } from \"@/lib/utils\"\n\nfunction Skeleton({\n className,\n ...props\n}: React.HTMLAttributes) {\n return (\n \n )\n}\n\nexport { Skeleton }\n","import { Skeleton } from \"@/components/ui/skeleton\"\n\nconst ProductSkeleton = () => {\n return (\n
\n {[...Array(6)].map((_, idx) => (\n \n \n
\n \n \n
\n
\n ))}\n \n )\n}\n\nexport default ProductSkeleton\n","import { useState } from \"react\"\nimport Link from \"next/link\"\nimport { AnimatePresence, motion } from \"framer-motion\"\n\nimport { cn } from \"@/lib/utils\"\n\nimport ProductCard from \"../product/ProductCard\"\n\nexport const HoverEffect = ({\n items,\n className,\n callback\n}: {\n items: {\n id: number\n name: string\n price: number\n category: { name: string }\n }[]\n className?: string,\n callback?: (filter: string) => void,\n value?: string\n\n}) => {\n let [hoveredIndex, setHoveredIndex] = useState(null)\n\n return (\n
\n {items.map((item, idx) => (\n setHoveredIndex(idx)}\n onMouseLeave={() => setHoveredIndex(null)}\n >\n \n {hoveredIndex === idx && (\n \n )}\n \n \n
\n ))}\n \n )\n}\n","\"use client\"\n\nimport { useEffect, useState } from \"react\"\nimport Link from \"next/link\"\nimport axios from \"axios\"\nimport { event } from \"nextjs-google-analytics\"\n\nimport ProductSkeleton from \"../ProductSkeleton\"\nimport { Button } from \"../ui/button\"\nimport { HoverEffect } from \"../ui/card-hover-effect\"\nimport { ScrollArea, ScrollBar } from \"../ui/scroll-area\"\n\ntype TabType = {\n Name: string\n Value: string\n Filter: string\n}\n\nconst Tabs = [\n {\n Name: \"All\",\n Value: \"all\",\n Filter: \"\",\n },\n {\n Name: \"Men\",\n Value: \"MEN\",\n Filter: \"fit=MEN\",\n },\n {\n Name: \"Women\",\n Value: \"WOMEN\",\n Filter: \"fit=WOMEN\",\n },\n {\n Name: \"Limited Edition\",\n Value: \"LIMITEDEDITION\",\n Filter: \"isLimitedEdition=true\",\n },\n]\n\nconst NewArrivals = () => {\n const [selectedTab, setSelectedTab] = useState(Tabs[0])\n const [loading, setLoading] = useState(true)\n const pageSize = 1\n const [products, setProducts] = useState([])\n\n const handleTabSelection = (tabValue: string) => {\n const tabDetails: TabType | undefined = Tabs.find(\n (t) => t.Value === tabValue\n )\n\n if (tabDetails) {\n setSelectedTab(tabDetails)\n fetchData(tabDetails?.Filter)\n }\n }\n\n // Fetch products based on selected categories\n const fetchData = async (filter?: string) => {\n setLoading(true)\n let url = `/api/product?page=${pageSize}&limit=6&sort=newest`\n if (filter) {\n url += `&${filter}`\n }\n\n const response = await axios.get(url)\n if (!response) {\n console.error(response)\n return\n }\n setProducts(response?.data?.data)\n setLoading(false)\n }\n\n const getQueryParam = () =>\n selectedTab.Filter ? `?${selectedTab.Filter}` : selectedTab.Filter\n\n useEffect(() => {\n fetchData()\n }, [])\n\n const onClickViewMore = () => {\n event(\"button_click\", {\n category: \"navigation_home_screen_new_arrivals\",\n label: \"View More\",\n })\n }\n\n return (\n
\n
\n

\n New Arrivals\n

\n

\n Beyond all the trends, sustainable style empowers you and cares for\n the Earth. Explore our Ethical and Sustainable collection at Alien\n Wardrobe.\n

\n
\n \n
\n {Tabs.map((tab, index) => (\n handleTabSelection(tab.Value)}\n >\n
\n {tab.Name}\n \n {tab.Name}\n \n \n {tab.Name}\n \n
\n \n ))}\n \n
\n
\n\n
\n {loading ? (\n \n ) : products.length > 0 ? (\n \n ) : (\n

No products found

\n )}\n
\n\n
\n \n View All\n \n
\n
\n )\n}\n\nexport default NewArrivals\n","\"use client\"\n\nimport React, { useState } from \"react\"\nimport { motion } from \"framer-motion\"\n\nimport { cn } from \"@/lib/utils\"\n\nexport const WobbleCard = ({\n children,\n containerClassName,\n className,\n onClick,\n}: {\n children: React.ReactNode\n containerClassName?: string\n className?: string\n onClick: () => void\n}) => {\n const [mousePosition, setMousePosition] = useState({ x: 0, y: 0 })\n const [isHovering, setIsHovering] = useState(false)\n\n const handleMouseMove = (event: React.MouseEvent) => {\n const { clientX, clientY } = event\n const rect = event.currentTarget.getBoundingClientRect()\n const x = (clientX - (rect.left + rect.width / 2)) / 20\n const y = (clientY - (rect.top + rect.height / 2)) / 20\n setMousePosition({ x, y })\n }\n return (\n setIsHovering(true)}\n onMouseLeave={() => {\n setIsHovering(false)\n setMousePosition({ x: 0, y: 0 })\n }}\n style={{\n transform: isHovering\n ? `translate3d(${mousePosition.x}px, ${mousePosition.y}px, 0) scale3d(1, 1, 1)`\n : \"translate3d(0px, 0px, 0) scale3d(1, 1, 1)\",\n transition: \"transform 0.1s ease-out\",\n }}\n className={cn(\n \"mx-auto w-full bg-indigo-800 relative rounded-2xl overflow-hidden\",\n containerClassName\n )}\n onClick={onClick}\n >\n \n \n {/* */}\n {children}\n \n \n \n )\n}\n\nconst Noise = () => {\n return (\n \n )\n}\n","\"use client\"\n\nimport React from \"react\"\nimport Image from \"next/image\"\nimport { useRouter } from \"next/navigation\"\nimport { useWindowSize } from \"react-use\"\nimport { WobbleCard } from \"../ui/wobble-card\"\n\nexport default function ShopByCategory() {\n const router = useRouter()\n\n const redirections = {\n \"limited-edition\": \"/products?isLimitedEdition=true\",\n men: \"/products?fit=MEN\",\n women: \"/products?fit=WOMEN\",\n \"designer-collection\": \"/products?isDesignerCollection=true\",\n }\n\n const { width } = useWindowSize()\n const redirect = (redirectTo: string) => router.push(redirectTo)\n\n return (\n
\n
\n

\n Shop by{\" \"}\n \n Category\n \n

\n
\n\n
\n
\n
\n redirect(redirections[\"limited-edition\"])}\n >\n \"linear\n
\n
\n
Supima
\n
\n \n
\n
\n redirect(redirections[\"designer-collection\"])}\n >\n 768 ?\"/assets/images/lim_ed_web.jpg\" : \"/assets/images/lim_ed_mob.jpg\"}\n alt=\"linear demo image\"\n className=\"object-cover rounded-2xl w-full h-full\"\n fill\n />\n
\n
\n
768 ? { marginTop: '90px' } : {}} >\n Limited Edition\n
\n
\n \n
\n
\n\n
\n redirect(redirections[\"men\"])}\n >\n \n
\n
\n
Men
\n
\n \n redirect(redirections[\"women\"])}\n >\n \n
\n
\n
Women
\n
\n \n
\n
\n
\n )\n}\n","\"use client\"\n\nimport \"react-phone-number-input/style.css\"\n\nimport { GoogleAnalytics } from \"nextjs-google-analytics\"\n\nimport RightBanner from \"@/components/ui/RightBanner\"\nimport CallToAction from \"@/components/CallToAction\"\nimport Banner from \"@/components/home/Banner\"\nimport DesignPartners from \"@/components/home/DesignPartners\"\nimport Features from \"@/components/home/Features\"\nimport Hero from \"@/components/home/Hero\"\nimport NewArrivals from \"@/components/home/NewArrivals\"\nimport ShopByCategory from \"@/components/home/ShopByCategory\"\nimport ShopByFabric from \"@/components/home/ShopByFabric\"\n\nexport default function Home() {\n return (\n <>\n
\n {/* */}\n \n \n \n \n \n {/* */}\n \n \n \n
\n \n )\n}\n","\"use client\"\n\nimport { useState } from \"react\"\nimport { useRouter } from \"next/navigation\"\nimport { PiMagnifyingGlassLight } from \"react-icons/pi\"\n\nimport { cn } from \"@/lib/utils\"\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"@/components/ui/popover\"\n\ninterface Product {\n id: string\n name: string\n image: string\n price: string\n quantityAvailable: number\n}\n\nconst Search = ({ className }: { className: string }) => {\n const [searchTerm, setSearchTerm] = useState(\"\")\n const [searchResults, setSearchResults] = useState(null)\n const [isLoading, setIsLoading] = useState(false)\n const [isPopoverOpen, setIsPopoverOpen] = useState(false)\n const router = useRouter()\n\n const fetchSearch = async () => {\n if (searchTerm.trim() === \"\") {\n setIsPopoverOpen(false)\n return\n }\n setIsPopoverOpen(true)\n setIsLoading(true)\n try {\n const response = await fetch(`api/product?search=${searchTerm}`)\n const resp = await response.json()\n if (resp.data.length > 0) {\n setSearchResults(resp.data)\n } else {\n setSearchResults([])\n }\n } catch (error) {\n console.error(\"Failed to fetch search results:\", error)\n setIsPopoverOpen(false)\n } finally {\n setIsLoading(false)\n }\n }\n\n return (\n <>\n \n
\n \n Search\n \n \n {\n e.preventDefault()\n setSearchTerm(\"\")\n }}\n >\n
\n
\n \n
\n {\n setSearchTerm(e.target.value)\n }}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") {\n fetchSearch()\n }\n }}\n />\n
\n \n\n \n {isLoading ? (\n
Loading...
\n ) : searchResults && searchResults.length === 0 ? (\n
No results found
\n ) : (\n
\n
    \n {searchResults?.map((product) => (\n {\n router.push(`/products/${product.id}`)\n setIsPopoverOpen(false) // close popover when clicked\n }}\n >\n
    \n \n
    \n

    \n {product.name}\n

    \n

    \n ${product.price}\n

    \n
    \n
    \n \n ))}\n
\n
\n )}\n
\n
\n
\n \n \n )\n}\n\nexport default Search\n","\"use client\"\n\nimport * as React from \"react\"\nimport * as PopoverPrimitive from \"@radix-ui/react-popover\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Popover = PopoverPrimitive.Root\n\nconst PopoverTrigger = PopoverPrimitive.Trigger\n\nconst PopoverAnchor = PopoverPrimitive.Anchor\n\nconst PopoverContent = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, align = \"center\", sideOffset = 4, ...props }, ref) => (\n \n \n \n))\nPopoverContent.displayName = PopoverPrimitive.Content.displayName\n\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor }\n","\"use client\"\n\nimport * as React from \"react\"\nimport * as ScrollAreaPrimitive from \"@radix-ui/react-scroll-area\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst ScrollArea = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, children, ...props }, ref) => (\n \n \n {children}\n \n \n \n \n))\nScrollArea.displayName = ScrollAreaPrimitive.Root.displayName\n\nconst ScrollBar = React.forwardRef<\n React.ElementRef,\n React.ComponentPropsWithoutRef\n>(({ className, orientation = \"vertical\", ...props }, ref) => (\n \n \n \n))\nScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName\n\nexport { ScrollArea, ScrollBar }\n"],"names":["Promise","resolve","then","__webpack_require__","bind","home_Banner","val","slideIndex","setSlideIndex","useState","sliderRef","useRef","width","useWindowSize","jsx_runtime","jsx","section","className","jsxs","Slider","lazyLoad","infinite","slidesToShow","cssEase","slidesToScroll","fade","ref","draggable","pauseOnHover","swipeToSlide","arrows","prevArrow","props","style","onClick","div","Button","variant","size","LuChevronLeft","color","CustomPrevArrow","nextArrow","LuChevronRight","CustomNextArrow","beforeChange","curr","next","dotsClass","dots","customPaging","span","concat","i","current","slickGoTo","img","src","process","alt","Image","height","home_DesignPartners","designPartners","setDesignPartners","router","useRouter","fetchAllDesignPartners","response","axios","get","data","error","console","toast","useEffect","h2","paddingLeft","map","designPartner","index","Card","event","category","label","instagram","push","CardContent","image","p","name","br","Marquee","speed","gradient","gradientWidth","gradientColor","home_Features","padding","backgroundColor","home_Hero","isMuted","setIsMuted","Search","loading","Skeleton","param","cn","components_ProductSkeleton","Array","_","idx","HoverEffect","items","callback","hoveredIndex","setHoveredIndex","item","onMouseEnter","onMouseLeave","AnimatePresence","motion","layoutId","initial","opacity","animate","transition","duration","exit","delay","ProductCard","refresh","product","id","Tabs","Name","Value","Filter","home_NewArrivals","selectedTab","setSelectedTab","setLoading","products","setProducts","handleTabSelection","tabDetails","find","t","tabValue","fetchData","filter","url","ScrollArea","tab","type","ScrollBar","orientation","ProductSkeleton","length","Link","href","WobbleCard","children","containerClassName","mousePosition","setMousePosition","x","y","isHovering","setIsHovering","onMouseMove","clientX","clientY","rect","currentTarget","getBoundingClientRect","left","top","transform","boxShadow","ShopByCategory","redirect","redirectTo","fill","h6","marginTop","Home","Fragment","main","Hero","Features","NewArrivals","Banner","DesignPartners","CallToAction","GoogleAnalytics","__webpack_exports__","Z","searchTerm","setSearchTerm","searchResults","setSearchResults","isLoading","setIsLoading","isPopoverOpen","setIsPopoverOpen","fetchSearch","trim","fetch","resp","json","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","htmlFor","Popover","open","onOpenChange","PopoverTrigger","e","preventDefault","PiMagnifyingGlassLight","input","placeholder","required","value","onChange","target","onKeyDown","key","PopoverContent","ul","li","productImages","h3","price","PopoverPrimitive","React","align","sideOffset","displayName","ScrollAreaPrimitive"],"sourceRoot":""}