PageSourceSearch

https://40scafe.com.au/_next/static/chunks/pages/index-56ab439c3a474de3.js

js 40scafe.com.au collected 2026-10-08 21:23:05 UTC 4,293 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{8826:function(r,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(9703)}])},8203:function(r,e,t){"use strict";t.d(e,{Z:function(){return g}});var a=t(4065),n=t(6538),s=t(4913),o=t(4029),i=t(264),c=t(5165),u=t(5158),d=t.n(u),l=t(9231),p=t(6274),h=function(r){var e=r.hasMultipleStores,t=r.storeKey,a=r.hostProps;return!1===a.isPreview?e?"//".concat(a.domain.id,"/stores/").concat(t.storeId):"//".concat(a.domain.id):"".concat(a.previewWebsiteUrl,"/restaurants/").concat(t.restaurantId,"/stores/").concat(t.storeId)},m=function(r){(0,n.Z)(t,r);var e=(0,o.Z)(t);function t(){var r;return(0,a.Z)(this,t),(r=e.apply(this,arguments)).getBackgroundImage=function(){var e=r.props.restaurantWebsiteProps.backgroundImage;return e||{id:"default-store-selector-background-image",path:c.N33.images.defaults.StoreSelectorBackgroundImage()}},r.renderImage=function(){var e=r.props.restaurantWebsiteProps,t=e.serverConfig,a=t.imgixUrl,n=t.imageCdnUrl;return(0,i.jsx)(p.d,{imageCdnUrl:n,imgixUrl:a,image:r.getBackgroundImage(),aspectRatio:c.oM5.vertical,cdnDirectoryPath:(0,c.kTZ)({path:r.getBackgroundImage().path,restaurantId:e.restaurant.id})})},r.renderOverlay=function(){var e=r.props.restaurantWebsiteProps,t=e.serverConfig,a=t.imgixUrl,n=t.imageCdnUrl;return(0,i.jsx)("div",{className:"overlay",children:(0,i.jsx)(p.d,{imageCdnUrl:n,imgixUrl:a,image:e.restaurant.logo,aspectRatio:c.oM5.square,cdnDirectoryPath:(0,c.kTZ)({path:e.restaurant.logo.path,restaurantId:e.restaurant.id})})})},r.renderRestaurantStoreLocator=function(){var e=r.props.restaurantWebsiteProps,t=e.serverConfig,a=t.imgixUrl,n=t.imageCdnUrl,s=e.restaurant,o=r.getStoresFromStoreSelectorStoreIds(e.storeSelectorStoreIds,e.stores);return(0,i.jsxs)("div",{className:"restaurant-store-locator",children:[(0,i.jsxs)("div",{className:"info",children:[(0,i.jsx)(p.d,{imageCdnUrl:n,imgixUrl:a,image:s.logo,aspectRatio:c.oM5.square,cdnDirectoryPath:(0,c.kTZ)({path:s.logo.path,restaurantId:e.restaurant.id})}),(0,i.jsx)("h2",{children:s.name}),(0,i.jsx)("p",{children:"SELECT A LOCATION"})]}),(0,i.jsx)("ul",{className:"stores",children:o.map((function(e){return e?r.renderStore({store:e}):null}))})]})},r.getStoresFromStoreSelectorStoreIds=function(r,e){if(!r||!r.length)return e;var t=r.reduce((function(r,t){var a=e.find((function(r){return r.id===t}));return a&&(r=(0,s.Z)(r).concat([a])),r}),[]);return t.length?t:e},r.renderStore=function(e){var t=e.store,a=r.props.restaurantWebsiteProps,n=a.hostProps,s=a.restaurant,o=h({hasMultipleStores:!0,storeKey:{restaurantId:s.id,storeId:t.id},hostProps:n});return(0,i.jsx)("li",{className:"store",children:(0,i.jsxs)("a",{className:"store-link",href:o,children:[(0,i.jsx)("p",{className:"name",children:t.name}),(0,i.jsx)("address",{children:"".concat(t.address.line1,", ").concat(t.address.suburb," ").concat(t.address.postcode)})]})},t.id)},r}return t.prototype.render=function(){var r=this.props.restaurantWebsiteProps,e=r.restaurant,t=r.serverConfig,a=r.facebookDomainVerification,n=r.customCssVersionPath;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(d(),{children:[(0,i.jsx)("title",{children:e.name}),(0,i.jsx)("link",{rel:"icon",type:"image/png",href:(0,c.EMf)({path:e.logo.path,imageCdnUrl:t.imageCdnUrl,queryParams:{width:32,aspectRatio:c.oM5.square,format:c.xSO.Png}})}),(0,i.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),a&&(0,i.jsx)("meta",{name:"facebook-domain-verification",content:a})]}),(0,i.jsxs)("div",{className:"restaurant-website-page",children:[this.renderImage(),this.renderOverlay(),this.renderRestaurantStoreLocator()]}),n&&(0,i.jsx)("link",{rel:"stylesheet",href:n})]})},t}(l.Component),g=m},9703:function(r,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return c},default:function(){return u}});var a=t(264),n=t(6227),s=t(5260),o=t(701),i=t(8203),c=!0;function u(r){switch(r.type){case s.q.restaurant:return(0,a.jsx)(i.Z,{restaurantWebsiteProps:r});case s.q.store:return(0,a.jsx)(n.E,{storeWebsiteProps:r});case s.q.error:return(0,a.jsx)(o.Z,{errorWebsiteProps:r});default:throw new Error("Unhandled type.")}}}},function(r){r.O(0,[452,816,306,847,388,981,227,774,888,179],(function(){return e=8826,r(r.s=e);var e}));var e=r.O();_N_E=e}]);

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.