"use strict";
(() => {
var exports = {};
exports.id = 354;
exports.ids = [354];
exports.modules = {

/***/ 4250:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {

__webpack_require__.r(__webpack_exports__);
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */   "default": () => (__WEBPACK_DEFAULT_EXPORT__),
/* harmony export */   "getServerSideProps": () => (/* binding */ getServerSideProps)
/* harmony export */ });
/* harmony import */ var _lib_generateRSSFeed__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(1386);

function PagesSitemap() {}
async function getServerSideProps({ res  }) {
    try {
        const xml = await (0,_lib_generateRSSFeed__WEBPACK_IMPORTED_MODULE_0__/* .generateSitemapPage */ .wb)();
        res.setHeader("Content-Type", "text/xml");
        res.setHeader("Cache-Control", "s-maxage=3600, stale-while-revalidate");
        res.write(xml);
        res.end();
        return {
            props: {}
        };
    } catch (error) {
        console.error("Pages sitemap error:", error);
        res.statusCode = 500;
        res.end("Error generating pages sitemap");
        return {
            props: {}
        };
    }
}
/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (PagesSitemap);


/***/ }),

/***/ 4582:
/***/ ((module) => {

module.exports = require("feed");

/***/ }),

/***/ 7147:
/***/ ((module) => {

module.exports = require("fs");

/***/ })

};
;

// load runtime
var __webpack_require__ = require("../../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [639,386], () => (__webpack_exec__(4250)));
module.exports = __webpack_exports__;

})();