{"version":3,"file":"static/chunks/pages/index-ccc0c0b44aa58a88.js","mappings":"qFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,IACA,WACA,OAAeC,EAAQ,MACvB,EACA,2NCOAC,EAAAA,OAAOA,CAACC,IAAI,CAACC,EAAAA,CAAaA,CAACC,MAAM,WAkClB,SAASC,KACtBC,CAAqD,EAErD,IAAMC,EAAWD,EAAME,WAAW,CAACC,IAAI,CACvC,MACE,GAAAC,EAAAC,IAAA,EAAAD,EAAAE,QAAA,YACE,GAAAF,EAAAG,GAAA,EAACC,EAAAA,CAAGA,CAAAA,CAACC,MAAOR,EAASQ,KAAK,CAAEC,YAAaT,EAASS,WAAW,CAAEC,MAAM,KACrE,GAAAP,EAAAC,IAAA,EAACO,MAAAA,CAAIC,UAAWC,IAAAA,eAAAA,WACd,GAAAV,EAAAG,GAAA,EAACQ,EAAAA,gBAAgBA,CAAAA,CACfC,QAAShB,EAAMiB,QAAQ,CAAC,aAAa,CACrCC,MAAM,aACNC,QAAS,CAAEC,OAAQ,EAAK,EACxBC,WAAYA,EAAAA,EAAUA,GAExB,GAAAjB,EAAAG,GAAA,EAACQ,EAAAA,gBAAgBA,CAAAA,CACfG,MAAO,OACPF,QAAShB,EAAME,WAAW,CAC1BmB,WAAYA,EAAAA,EAAUA,QAKhC,qBCpEAC,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/","webpack://_N_E/./src/pages/index.tsx","webpack://_N_E/./src/styles/components/homepage/homepage.module.scss","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/\",\n function () {\n return require(\"private-next-pages/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/\"])\n });\n }\n ","import { getCollectionsByHandles } from \"@services/shopify/collections\";\nimport { BuilderComponent, builder } from \"@builder.io/react\";\nimport { getBuilderStaticProps, renderLink } from \"@services/builderIO\";\nimport type { InferGetStaticPropsType, GetStaticProps } from \"next\";\n\nimport styles from \"@styles/components/homepage/homepage.module.scss\";\nimport \"@src/builder-registry\";\nimport PopularSubscriptions from \"@src/cms_components/popular-subscriptions\";\nimport builderConfig from \"@config/builder\";\n/// MOVE To BUILDER\nimport HomepageData from \"@src/mock-data/homepage.json\";\nimport SEO from \"@lib/seo\";\n\nbuilder.init(builderConfig.apiKey);\n\ntype pageData = {\n popularSubsCollection: Array;\n};\n\nconst getPopularSubs = async (context: any) => {\n let popularSubsCollection = []; // PRESET for if fetch fails page can contiue to load\n\n popularSubsCollection = await getCollectionsByHandles({\n handles: [\"litter-boxes\", \"basic-bundle\", \"perfect-bundle\", \"super-bundle\"],\n });\n\n const data: pageData = {\n popularSubsCollection,\n };\n\n return data;\n};\n\nexport const getStaticProps: GetStaticProps = async (context) => {\n const content = await getBuilderStaticProps(\"page\", context, \"/\", [\n \"large-hero\",\n ]);\n\n // const collection = await getPopularSubs(context);\n return {\n revalidate: 30,\n props: {\n ...content.props,\n },\n };\n};\n\nexport default function Home(\n props: InferGetStaticPropsType\n) {\n const pageData = props.builderPage.data;\n return (\n <>\n \n
\n \n \n
\n \n );\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"primary\":\"homepage_primary__UFk3i\",\"secondary\":\"homepage_secondary__8HzCS\",\"grey\":\"homepage_grey__wziSj\",\"error\":\"homepage_error__SueJF\",\"gold\":\"homepage_gold__L_9e_\",\"bg-lt-green\":\"homepage_bg-lt-green__sGILG\",\"bg-lt-purple\":\"homepage_bg-lt-purple__J80_2\",\"highlight\":\"homepage_highlight__OmP44\",\"heroWrapper\":\"homepage_heroWrapper__rpJh5\",\"title\":\"homepage_title__9qxal\",\"article\":\"homepage_article__gLxXM\",\"titleH3\":\"homepage_titleH3__M9LWu\",\"section\":\"homepage_section__iB9cH\",\"spacer\":\"homepage_spacer__n_W4u\",\"howItWorks\":\"homepage_howItWorks__gsjyP\",\"testimonialWrapper\":\"homepage_testimonialWrapper__0rngg\"};"],"names":["window","__NEXT_P","push","__webpack_require__","builder","init","builderConfig","apiKey","Home","props","pageData","builderPage","data","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Fragment","jsx","SEO","title","description","image","div","className","styles","BuilderComponent","content","sections","model","options","enrich","renderLink","module","exports"],"sourceRoot":""}