PageSourceSearch

https://schnucks.com/_next/static/chunks/pages/products/[upcId]/[nameSlug]-bf2b59fb66a02aaa.js

js schnucks.com collected 2026-09-24 09:25:26 UTC 13,706 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7769],{36178:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/products/[upcId]/[nameSlug]",function(){return n(72922)}])},665:function(e,t,n){"use strict";n.d(t,{b:function(){return a},w:function(){return s}});var o=n(30120),i=n(31304),l=n.n(i);let a=e=>{let{state:t,city:n,id:o}=e,i=l()(n,{lower:!0,remove:/[*+~.()'"!:@]/g});return"".concat(t.toLowerCase(),"-").concat(i,"-").concat(o)},s=(e,t)=>{var n;let i=o.ou.now(),l=i.toFormat("cccc"),a=e.find(e=>e.day===l),s=null==t?void 0:t.find(e=>o.ou.fromMillis(e.date).toISODate()===i.toISODate()),d=((null==s?void 0:null===(n=s.hoursString)||void 0===n?void 0:n.match(/\(.*?\)/))||[])[0];if(!a||!a.openTime||!a.closeTime)return r(i,e,t,d);let u=(null==s?void 0:s.openTime)||a.openTime,m=(null==s?void 0:s.closeTime)||a.closeTime,p=o.ou.fromFormat(u,"Hm").set({day:i.day,month:i.month,year:i.year}),h=o.ou.fromFormat(m,"Hm").set({day:i.day,month:i.month,year:i.year});return i>=p&&i<h?{isOpen:!0,isClosingSoon:h.diff(i,"minutes").minutes<=60,hoursString:"Closes ".concat(c(h)),holidayLabel:d}:i<p?{isOpen:!1,isClosingSoon:!1,hoursString:"Opens ".concat(c(p)),holidayLabel:d}:r(i,e,t,d)},r=(e,t,n,i)=>{let l;for(let i=1;i<7;i++){let a=e.plus({days:i}),s=a.toFormat("cccc"),r=t.find(e=>e.day===s),c=null==n?void 0:n.find(e=>o.ou.fromMillis(e.date).toISODate()===a.toISODate());if(!(c&&null===c.closeTime&&null===c.openTime)&&r&&r.openTime){l=r;break}}if(null==l||!l.openTime)return{isOpen:!1,isClosingSoon:!1,hoursString:""};{let e=o.ou.fromFormat(l.openTime,"Hm");return{isOpen:!1,isClosingSoon:!1,hoursString:"Opens ".concat(c(e,l.day)),holidayLabel:i}}},c=(e,t)=>{let n=e.minute>0?"h:mma":"ha";return t?"".concat(t," at ").concat(e.toFormat(n)):e.toFormat(n)}},27113:function(e,t,n){"use strict";n.d(t,{Oo:function(){return s},hU:function(){return r},nG:function(){return a}});var o=n(16695),i=n.n(o),l=n(665);function a(e){var t;let{catalogItem:n}=e,o=n.adAmount?[{"@type":"UnitPriceSpecification",price:n.adAmount,priceCurrency:"USD",unitText:n.packageSizeUom},{"@type":"UnitPriceSpecification",priceType:"https://schema.org/StrikethroughPrice",price:n.regularAmount,priceCurrency:"USD",unitText:n.packageSizeUom}]:[{"@type":"UnitPriceSpecification",price:n.regularAmount,priceCurrency:"USD",unitText:n.packageSizeUom}];return{"@context":"https://schema.org","@type":"Product",name:n.name,image:n.mainImageUrl,description:n.description||"",sku:"".concat(n.upcId),keywords:(null===(t=n.keywords)||void 0===t?void 0:t.length)?n.keywords.join(", "):void 0,brand:{"@type":"Brand",name:n.brandName||""},offers:[{"@type":"Offer",url:"".concat(i()("HOSTED_URL"),"/products/").concat(n.upcId,"/").concat(n.nameSlug),sku:"".concat(n.upcId),availability:"InStock",priceSpecification:o}]}}function s(e){let{store:t}=e;return{"@context":"https://schema.org","@type":"GroceryStore",name:t.name,image:t.storeImageUrl,address:{"@type":"PostalAddress",streetAddress:[t.address],addressLocality:t.city,addressRegion:t.state,postalCode:t.zip,addressCountry:"US"},geo:{"@type":"GeoCoordinates",latitude:t.latitude,longitude:t.longitude},url:"".concat(i()("HOSTED_URL"),"/locations/").concat((0,l.b)(t)),telephone:t.phone,openingHoursSpecification:t.hoursByDay.map(e=>({"@type":"OpeningHoursSpecification",dayOfWeek:e.day,opens:e.openTime?"".concat(e.openTime.slice(0,2),":").concat(e.openTime.slice(2)):"00:00",closes:e.closeTime?"".concat(e.closeTime.slice(0,2),":").concat(e.closeTime.slice(2)):"00:00"}))}}function r(e){if(!e)return;let t=[];return null==e||e.forEach(e=>{var n,o,i,l,a,s,r,c,d,u,m,p,h,f,v,g,x,y,j,S;switch(e._type){case"corporationType":t.push({"@type":"Corporation",name:e.name,url:e.url,logo:{"@type":"ImageObject",url:e.logo},description:e.description,telephone:e.telephone,address:{"@type":"PostalAddress",streetAddress:null===(n=e.address)||void 0===n?void 0:n.streetAddress,addressLocality:null===(o=e.address)||void 0===o?void 0:o.addressLocality,addressRegion:null===(i=e.address)||void 0===i?void 0:i.addressRegion,postalCode:null===(l=e.address)||void 0===l?void 0:l.postalCode,addressCountry:null===(a=e.address)||void 0===a?void 0:a.addressCountry},contactPoint:{"@type":"ContactPoint",telephone:null===(s=e.contactPoint)||void 0===s?void 0:s.telephone,contactType:null===(r=e.contactPoint)||void 0===r?void 0:r.contactType,availableLanguage:null===(c=e.contactPoint)||void 0===c?void 0:c.availableLanguage,hoursAvailable:{"@type":"OpeningHoursSpecification",dayOfWeek:null===(u=e.contactPoint)||void 0===u?void 0:null===(d=u.hoursAvailable)||void 0===d?void 0:d.dayOfWeek,opens:null===(p=e.contactPoint)||void 0===p?void 0:null===(m=p.hoursAvailable)||void 0===m?void 0:m.opens,closes:null===(f=e.contactPoint)||void 0===f?void 0:null===(h=f.hoursAvailable)||void 0===h?void 0:h.closes}},sameAs:e.sameAs,memberOf:{"@type":"MemberProgram",name:null===(v=e.memberOf)||void 0===v?void 0:v.name,url:null===(g=e.memberOf)||void 0===g?void 0:g.url,description:null===(x=e.memberOf)||void 0===x?void 0:x.description,hasTiers:null===(j=e.memberOf)||void 0===j?void 0:null===(y=j.hasTiers)||void 0===y?void 0:y.map(e=>({"@type":"MemberProgramTier",name:e.name,url:e.url,hasTierBenefit:e.hasTierBenefit,hasTierRequirement:e.hasTierRequirement}))}});break;case"memberProgramType":t.push({"@type":"MemberProgram",name:e.name,url:e.url,description:e.description,hasTiers:null===(S=e.hasTiers)||void 0===S?void 0:S.map(e=>({"@type":"MemberProgramTier",name:e.name,url:e.url,hasTierBenefit:e.hasTierBenefit,hasTierRequirement:e.hasTierRequirement}))})}}),{"@context":"https://schema.org","@graph":t}}},72922:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return J},default:function(){return Y}});
1var o=n(85893),i=n(28256),l=n(71706),a=n(80054),s=n(83978),r=n(27113),c=n(34567),d=n(73083),u=n(8251),m=n(68092),p=n(24189),h=n(74114),f=n(2496),v=n(47810),g=n(542),x=n(5316),y=n(73502),j=n(18306),S=n(23562),b=n(17396),T=n(42496),I=n(24745),N=n(34261),C=n(25675),O=n.n(C),E=n(11163),P=n(67294),A=n(62241),L=n(31841),U=n(51531),k=n(14317),_=n(55854),w=n(32639),R=n(43704),F=n(72157),M=n(39910),D=n(88687);let B=e=>{let{orderItem:t,disclaimer:n}=e,{updateItem:i}=(0,d.A)(),{setData:l}=(0,S.L)();(0,P.useEffect)(()=>l({orderItem:t}),[t,l]);let a=()=>l({orderItem:t}),s=async e=>{if(!t)throw Error("orderItem is required");let[,n]=await (0,R.Y)(i(t,{replacementPreference:e,replacementUpcIds:[]}));n&&(0,w.m)(n.message)},r=(0,P.useMemo)(()=>t.replacementUpcIds[0],[t.replacementUpcIds]);return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(D.s,{replacementPreference:t.replacementPreference,replacementUpcId:r,onChangeOption:s,compactLayout:!0}),(0,o.jsx)(j.u,{id:u.f3.SEARCH,children:(0,o.jsx)(M.I,{productToReplaceName:null==t?void 0:t.name,onClose:a,showBackButton:!1})}),(0,o.jsx)(j.u,{id:u.f3.REPLACEMENT,children:(0,o.jsx)(F.i,{disclaimer:n,onClose:a})})]})};var H=n(63291);function q(e){var t,n,i,l,a,s;let{catalogItem:r,orderItem:c,disclaimer:d,fulfillmentType:C,coupons:w=[],onAddToCart:R=()=>{},loadingCoupons:F=!1,syndigoHtml:M=null}=e,D=(0,x.G)("lg"),{returnHref:q}=(0,y.K)(),z=(0,E.useRouter)(),[G,K]=(0,P.useState)(!1),[W,J]=(0,P.useState)(!1),[Y,V]=(0,P.useState)(!1);return(0,o.jsxs)("div",{className:"container mx-auto flex flex-col gap-2 px-8 md:grid md:grid-cols-8 md:items-start",children:[(0,o.jsxs)("div",{className:"contents md:col-span-5 md:flex md:flex-col",children:[(0,o.jsx)("div",{className:"order-1",children:(0,o.jsx)("div",{className:"mb-8 lg:mr-16",children:(0,o.jsx)(v.O,{imagesList:(null==r?void 0:null===(t=r.imageInfoList)||void 0===t?void 0:t.length)?r.imageInfoList:[{imageId:null!==(a=null==r?void 0:r.upcId)&&void 0!==a?a:1,imageUrl:null!==(s=null==r?void 0:r.mainImageUrl)&&void 0!==s?s:I.mY,description:"Main"}],sliderType:D?"DOTS":"IMAGE_LIST",sliderPosition:D?"BOTTOM":"LEFT"})})}),(0,o.jsxs)("section",{className:"order-3",children:[(!c||c&&"SELF"===C)&&(0,o.jsx)("div",{className:"flex flex-col",children:(null===(n=r.shelfTagList)||void 0===n?void 0:n.length)>0&&(0,o.jsxs)("div",{className:"flex flex-col gap-4 border-b border-light-grey pb-8",children:[(0,o.jsxs)("div",{className:"flex items-center justify-between",children:[(0,o.jsx)("h3",{className:"text-h4 font-bold",children:"Product Guide"}),(0,o.jsx)(m.z,{variant:"text",color:"navy",size:"fit",adornmentStart:(0,o.jsx)(p.J,{name:"Info",size:20}),onClick:()=>{J(!0)},children:"Learn More"})]}),(0,o.jsx)("div",{className:"flex flex-wrap gap-4",children:r.shelfTagList.map(e=>{var t;return(0,o.jsx)("div",{className:"flex flex-col items-center gap-1",children:(0,o.jsx)(O(),{src:D&&e.desktopImageUrl?e.desktopImageUrl:null!==(t=e.mobileImageUrl)&&void 0!==t?t:e.desktopImageUrl,alt:e.name,title:e.name,width:60,height:60,className:"size-[60px] object-contain"})},e.name)})}),(0,o.jsx)(S.F,{defaultEntry:u.f3.LEARN_MORE,open:W,onClear:()=>J(!1),children:(0,o.jsx)(j.u,{id:u.f3.LEARN_MORE,children:(0,o.jsx)(U.B,{headerStyle:"CLOSE"})})})]})}),(0,o.jsx)(k.H,{syndigoHtml:M,catalogItem:r,onToggle:(e,t)=>{"About the Brand"===e&&t&&V(!0)}}),(0,o.jsx)("div",{className:"mt-8 text-body-small",children:(0,o.jsx)(H.t,{value:d})})]})]}),(0,o.jsx)("section",{className:"order-2 h-full p-4 md:col-span-3 md:col-start-6 md:px-4 md:pt-0",children:(0,o.jsxs)("div",{className:"md:sticky md:top-48",children:[(0,o.jsx)(_.P,{className:"mx-auto mb-6 text-center md:mx-0",available:!!w.length,truncate:!1}),(0,o.jsx)(f.x,{catalogItem:r,size:"mdResponsive",wrap:!0}),(null==r?void 0:r.parWeight)&&("DELIVERY"===C||"PICKUP"===C)&&(0,o.jsxs)("p",{className:"mb-3 mt-2 text-body lg:text-body-medium",children:[(0,o.jsxs)("span",{className:"mr-4 whitespace-nowrap",children:[r.dealPriceString&&(0,o.jsxs)("span",{className:"mr-4",children:[r.dealPriceString," / lb"]}),(0,o.jsxs)("span",{className:null===r.dealPriceString?"":"line-through",children:[b.VF.format(r.regularAmount)," / lb"]}
1)]}),"Final Price By Weight**"]}),(0,o.jsx)("h1",{className:"my-2 text-body-medium lg:text-body-large",children:null==r?void 0:r.name}),null==r?void 0:null===(i=r.loyaltyRules)||void 0===i?void 0:i.map(e=>(0,o.jsx)(h._,{className:"text-h6",fill:"none",truncate:!1,decorationStart:(0,o.jsx)(p.J,{name:"SmallStar",className:"text-coupon"}),decorationEnd:(0,o.jsx)(p.J,{name:"SmallStar",className:"text-coupon"}),children:e.promoText},e.id)),(null==r?void 0:r.teammateDiscountEligible)&&(0,o.jsx)(g.e,{}),(0,o.jsx)("div",{className:"pt-4",children:(0,o.jsx)(A.B,{promotionCatalogItem:r,size:"lg"})}),(0,o.jsx)("div",{className:"pt-6",children:(0,o.jsx)(N.a,{catalogItem:r,onAddToCart:()=>{R()},enhancedContentOpened:Y})}),c&&"SELF"!==C&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"mt-8",children:(0,o.jsx)(L.s,{upcId:null==r?void 0:r.upcId,currentInstructions:null==c?void 0:c.note})}),(0,o.jsx)("div",{className:"mt-8",children:(0,o.jsx)(S.F,{defaultEntry:u.f3.SEARCH,open:G,defaultData:{orderItem:c},onClear:()=>{z.push(q,void 0,{shallow:!0}),K(!1)},children:(0,o.jsx)(B,{orderItem:c,disclaimer:d})})})]}),F?(0,o.jsx)(T.q,{className:"static mt-8"}):w[0]&&(0,o.jsx)(T.K,{className:"static mt-8",coupon:w[0],vertical:D}),(!!(null==r?void 0:r.allergenStatement)||!!(null==r?void 0:null===(l=r.productBenefits)||void 0===l?void 0:l.length))&&(0,o.jsxs)("div",{className:"mt-8 flex flex-col gap-4",children:[(null==r?void 0:r.productBenefits)&&r.productBenefits.length>0&&(0,o.jsxs)("div",{className:"border-gray-300 rounded-lg border p-4",children:[(0,o.jsx)("h4",{className:"mb-2 text-h6 font-bold",children:"Key Features"}),(0,o.jsx)("ul",{className:"list-inside list-disc text-body-small",children:r.productBenefits.map((e,t)=>(0,o.jsx)("li",{children:e},t))})]}),(null==r?void 0:r.allergenStatement)&&(0,o.jsxs)("div",{className:"rounded-lg p-4",children:[(0,o.jsx)("h4",{className:"mb-2 text-h6 font-bold",children:"Allergens"}),(0,o.jsx)("p",{className:"text-body-small",children:r.allergenStatement})]})]})]})})]})}var z=n(42018),G=n(1005),K=n(91307),W=n(39332),J=!0;function Y(e){var t;let{product:n,currentOrder:m,siteSettings:p,syndigoHtml:h}=e,f=(0,E.useRouter)(),{fulfillmentType:v,loadingFulfillmentData:g}=(0,G.s)(),x=(0,W.useRouter)(),{coupons:y,loadingCoupons:j,clipCoupons:S,refreshCoupons:b}=(0,c.b)({couponIds:null==n?void 0:n.couponIds}),[T,I]=(0,P.useState)(!1),{order:N,updateItem:C}=(0,d.A)(),{user:O}=(0,K.b)(),A=(0,P.useMemo)(()=>N?N.items.find(e=>e.upcId===n.upcId):null==m?void 0:m.items.find(e=>e.upcId===n.upcId),[N,m,n]),L=(0,P.useCallback)(()=>{x.refresh()},[x]);(0,P.useEffect)(()=>()=>{(0,u.EG)(!1)},[]),(0,P.useEffect)(()=>{g||(0,z.A0)(n,v)},[g,v,n]),(0,P.useEffect)(()=>{if(T||!(null==y?void 0:y.length)||!O)return;let e=y.filter(e=>!e.clippedDate);e.length&&S&&S(e.map(e=>{let{id:t}=e;return t})),I(!0)},[T,I,y,S,O]);let U=(0,P.useMemo)(()=>{let e=f.query.c1Name,t=f.query.c1Slug,n=f.query.c2Name,o=f.query.c2Slug,i=[s.K.HOME,s.K.SHOP];return e&&t&&i.push({href:"/shop/".concat(t),label:e}),n&&o&&t&&i.push({href:"/shop/".concat(t,"/").concat(o),label:n}),i.push({href:"#",label:a.F.PRODUCT_DETAILS_PAGE_TITLE}),i},[f.query]),k=(0,r.nG)({catalogItem:n});return(0,o.jsx)(l.e,{siteSettings:p,headChildren:(0,o.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(k)}}),breadcrumbs:U,onSaveFulfillmentType:L,pageMetaContent:(0,o.jsx)(i.p,{title:"".concat(n.name," | Schnucks"),metaImageUrl:n.mainImageUrl,description:null!==(t=n.description)&&void 0!==t?t:void 0}),children:(0,o.jsx)(q,{catalogItem:n,orderItem:A,updateItem:C,fulfillmentType:v,disclaimer:p.productDisclaimer,coupons:y,onAddToCart:b,loadingCoupons:j,syndigoHtml:h})})}}},function(e){e.O(0,[6758,1706,2888,9774,179],function(){return e(e.s=36178)}),_N_E=e.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.