1!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="89a3c6f5-ce8f-4368-bbd3-1f79e8cc4691",t._sentryDebugIdIdentifier="sentry-dbid-89a3c6f5-ce8f-4368-bbd3-1f79e8cc4691")}catch(t){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[164],{20917:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/sitemap.xml",function(){return n(70704)}])},70704:function(t,e,n){"use strict";n.r(e);var a=n(63197),c=n(95893);let createSitemap=(t,e,n)=>{let c='\n xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"\n xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\n ',s={pages:{start:"<urlset ".concat(c,' xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">'),end:"</urlset>"},sitemaps:{start:"<sitemapindex ".concat(c,">"),end:"</sitemapindex>"}};return"months"===n?"\n ".concat(s.pages.start,"\n ").concat(t.map(t=>(t.uri=t.uri.replace("/wine-reviews",""),"\n <url>\n <loc>".concat(e).concat(t.uri,"/</loc>\n <lastmod>").concat(t.updatedAt,"</lastmod>\n <priority>").concat(a.default.priority,"</priority>\n </url>\n "))).join(""),"\n ").concat(s.pages.end,"\n "):"others"===n?"\n ".concat(s.pages.start,"\n <url>\n <loc>").concat(e,"/</loc>\n </url>\n ").concat(s.pages.end,"\n "):"\n ".concat(s.sitemaps.start,"\n <sitemap>\n <loc>").concat(e,"/sitemap.xml?type=others</loc>\n </sitemap>\n ").concat(t.map(t=>"".concat(t)).join(""),"\n ").concat(s.sitemaps.end,"\n ")};function Sitemap(){return null}Sitemap.getInitialProps=async t=>{var e,n,s;let{query:i,res:o,reduxStore:{dispatch:r}}=t,p=!1,l=null,d=(null===(e=o.req)||void 0===e?void 0:e.headers["x-forwarded-proto"])||((null===(s=o.req)||void 0===s?void 0:null===(n=s.socket)||void 0===n?void 0:n.encrypted)?"https":"http"),u="".concat(d,"://").concat(o.req.headers.host).concat(a.default.routePrefix),m=i.type||null;if(c.P6.isEmpty(i))l=await r.api.fetch({key:"sitemap"}).catch(t=>{}),l=await c.P6.getDates(null==l?void 0:l.start,null==l?void 0:l.end,u);else{let{mm:t,yyyy:e}=i;t&&e&&(l=await r.api.fetch({key:"sitemap",path:"?mm=".concat(t,"&yyyy=").concat(e)}).catch(t=>{}),p="months"),m&&(p=m)}o.setHeader("Content-Type","text/xml"),o.write(createSitemap(l,u,p)),o.end()},e.default=Sitemap}},function(t){t.O(0,[774,888,179],function(){return t(t.s=20917)}),_N_E=t.O()}]);
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.