module.exports=[918622,(e,r,t)=>{r.exports=e.x("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js",()=>require("next/dist/compiled/next-server/app-page-turbo.runtime.prod.js"))},556704,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-async-storage.external.js",()=>require("next/dist/server/app-render/work-async-storage.external.js"))},832319,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/work-unit-async-storage.external.js",()=>require("next/dist/server/app-render/work-unit-async-storage.external.js"))},324725,(e,r,t)=>{r.exports=e.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},750227,(e,r,t)=>{r.exports=e.x("node:path",()=>require("node:path"))},857764,(e,r,t)=>{r.exports=e.x("node:url",()=>require("node:url"))},784941,(e,r,t)=>{r.exports=e.x("@prisma/client-2c3a283f134fdcb6/runtime/client",()=>require("@prisma/client-2c3a283f134fdcb6/runtime/client"))},723862,e=>e.a(async(r,t)=>{try{let r=await e.y("pg-587764f78a6c7a9c");e.n(r),t()}catch(e){t(e)}},!0),193695,(e,r,t)=>{r.exports=e.x("next/dist/shared/lib/no-fallback-error.external.js",()=>require("next/dist/shared/lib/no-fallback-error.external.js"))},750709,e=>{"use strict";let r=process.env.NEXT_PUBLIC_SITE_URL??"https://sangavetchem.com";function t(e){return e.replace(/<[^>]*>/g," ").replace(/\s+/g," ").trim()}e.s(["SITE_URL",0,r,"stripHtml",()=>t])},710685,e=>e.a(async(r,t)=>{try{var i=e.i(698043),o=r([i]);async function n(){return i.prisma.product.findMany({where:{isPublished:!0},include:{category:!0,sizes:{orderBy:{sortOrder:"asc"}},activeIngredients:{orderBy:{sortOrder:"asc"}},warnings:{orderBy:{sortOrder:"asc"}},dosageTableRows:{orderBy:{sortOrder:"asc"}}},orderBy:{sortOrder:"asc"}})}async function a(e){return i.prisma.product.findFirst({where:{slug:e,isPublished:!0},include:{category:!0,sizes:{orderBy:{sortOrder:"asc"}},activeIngredients:{orderBy:{sortOrder:"asc"}},warnings:{orderBy:{sortOrder:"asc"}},dosageTableRows:{orderBy:{sortOrder:"asc"}}}})}[i]=o.then?(await o)():o,e.s(["getPublishedProductBySlug",()=>a,"getPublishedProducts",()=>n]),t()}catch(e){t(e)}},!1),470943,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={getOrigin:function(){return s},resolveArray:function(){return n},resolveAsArrayOrUndefined:function(){return a}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});function n(e){return Array.isArray(e)?e:[e]}function a(e){if(null!=e)return n(e)}function s(e){let r;if("string"==typeof e)try{r=(e=new URL(e)).origin}catch{}return r}},973853,(e,r,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={resolveManifest:function(){return l},resolveRobots:function(){return a},resolveRouteData:function(){return d},resolveSitemap:function(){return s}};for(var o in i)Object.defineProperty(t,o,{enumerable:!0,get:i[o]});let n=e.r(470943);function a(e){let r="";for(let t of Array.isArray(e.rules)?e.rules:[e.rules]){for(let e of(0,n.resolveArray)(t.userAgent||["*"]))r+=`User-Agent: ${e}
`;if(t.allow)for(let e of(0,n.resolveArray)(t.allow))r+=`Allow: ${e}
`;if(t.disallow)for(let e of(0,n.resolveArray)(t.disallow))r+=`Disallow: ${e}
`;t.crawlDelay&&(r+=`Crawl-delay: ${t.crawlDelay}
`),r+="\n"}return e.host&&(r+=`Host: ${e.host}
`),e.sitemap&&(0,n.resolveArray)(e.sitemap).forEach(e=>{r+=`Sitemap: ${e}
`}),r}function s(e){let r=e.some(e=>Object.keys(e.alternates??{}).length>0),t=e.some(e=>{var r;return!!(null==(r=e.images)?void 0:r.length)}),i=e.some(e=>{var r;return!!(null==(r=e.videos)?void 0:r.length)}),o="";for(let l of(o+='<?xml version="1.0" encoding="UTF-8"?>\n',o+='<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"',t&&(o+=' xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"'),i&&(o+=' xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"'),r?o+=' xmlns:xhtml="http://www.w3.org/1999/xhtml">\n':o+=">\n",e)){var n,a,s;o+="<url>\n",o+=`<loc>${l.url}</loc>
`;let e=null==(n=l.alternates)?void 0:n.languages;if(e&&Object.keys(e).length)for(let r in e)o+=`<xhtml:link rel="alternate" hreflang="${r}" href="${e[r]}" />
`;if(null==(a=l.images)?void 0:a.length)for(let e of l.images)o+=`<image:image>
<image:loc>${e}</image:loc>
</image:image>
`;if(null==(s=l.videos)?void 0:s.length)for(let e of l.videos)o+=["<video:video>",`<video:title>${e.title}</video:title>`,`<video:thumbnail_loc>${e.thumbnail_loc}</video:thumbnail_loc>`,`<video:description>${e.description}</video:description>`,e.content_loc&&`<video:content_loc>${e.content_loc}</video:content_loc>`,e.player_loc&&`<video:player_loc>${e.player_loc}</video:player_loc>`,e.duration&&`<video:duration>${e.duration}</video:duration>`,e.view_count&&`<video:view_count>${e.view_count}</video:view_count>`,e.tag&&`<video:tag>${e.tag}</video:tag>`,e.rating&&`<video:rating>${e.rating}</video:rating>`,e.expiration_date&&`<video:expiration_date>${e.expiration_date}</video:expiration_date>`,e.publication_date&&`<video:publication_date>${e.publication_date}</video:publication_date>`,e.family_friendly&&`<video:family_friendly>${e.family_friendly}</video:family_friendly>`,e.requires_subscription&&`<video:requires_subscription>${e.requires_subscription}</video:requires_subscription>`,e.live&&`<video:live>${e.live}</video:live>`,e.restriction&&`<video:restriction relationship="${e.restriction.relationship}">${e.restriction.content}</video:restriction>`,e.platform&&`<video:platform relationship="${e.platform.relationship}">${e.platform.content}</video:platform>`,e.uploader&&`<video:uploader${e.uploader.info&&` info="${e.uploader.info}"`}>${e.uploader.content}</video:uploader>`,`</video:video>
`].filter(Boolean).join("\n");if(l.lastModified){let e=l.lastModified instanceof Date?l.lastModified.toISOString():l.lastModified;o+=`<lastmod>${e}</lastmod>
`}l.changeFrequency&&(o+=`<changefreq>${l.changeFrequency}</changefreq>
`),"number"==typeof l.priority&&(o+=`<priority>${l.priority}</priority>
`),o+="</url>\n"}return o+"</urlset>\n"}function l(e){return JSON.stringify(e)}function d(e,r){return"robots"===r?a(e):"sitemap"===r?s(e):"manifest"===r?l(e):""}},916005,e=>{e.v(r=>Promise.all(["server/chunks/[externals]_node:buffer_00e2e67a._.js"].map(r=>e.l(r))).then(()=>r(951615)))},918707,e=>{e.v(r=>Promise.all(["server/chunks/2e4a4_@prisma_client_runtime_query_compiler_fast_bg_postgresql_mjs_35c4194d._.js"].map(r=>e.l(r))).then(()=>r(407142)))},480599,e=>{e.v(r=>Promise.all(["server/chunks/9c9c5_client_runtime_query_compiler_fast_bg_postgresql_wasm-base64_mjs_9e69af0b._.js"].map(r=>e.l(r))).then(()=>r(417734)))}];

//# sourceMappingURL=%5Broot-of-the-server%5D__9ea5d44c._.js.map