PageSourceSearch

https://smashburger.com/_next/static/chunks/pages/menu/[category]-e848da603122dbaf.js

js smashburger.com collected 2026-10-02 02:56:06 UTC 7,842 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9064],{9793:(e,t,n)=>{"use strict";n.d(t,{V:()=>s});var l=n(37876),a=n(62867);function s(e){var t,n,s,i,r,o;let{description:c,seo:d,title:u,...m}=e;return(0,l.jsx)(a.bV,{...m,title:(null==d?void 0:d.metaTitle)||u||"",description:(null==d?void 0:d.metaDescription)||c||"",openGraph:(null==d?void 0:d.metaImage)&&{images:[{url:d.metaImage.url,width:d.metaImage.width,height:d.metaImage.height,alt:d.metaImage.alternativeText||(null==d?void 0:d.metaTitle)||u||""}]},noindex:null==d||null==(t=d.metaRobots)?void 0:t.includes("noindex"),nofollow:null==d||null==(n=d.metaRobots)?void 0:n.includes("nofollow"),robotsProps:{nosnippet:null==d||null==(s=d.metaRobots)?void 0:s.includes("nosnippet"),notranslate:null==d||null==(i=d.metaRobots)?void 0:i.includes("notranslate"),noimageindex:null==d||null==(r=d.metaRobots)?void 0:r.includes("noimageindex"),noarchive:null==d||null==(o=d.metaRobots)?void 0:o.includes("noarchive")}})}},25053:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/menu/[category]",function(){return n(84849)}])},59275:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var l=n(37876),a=n(15039),s=n.n(a),i=n(26072);function r(e){let{className:t}=e;return(0,l.jsxs)("div",{className:s()(t,"flex min-h-screen items-center justify-center bg-crystal-blue text-gray-900"),children:[(0,l.jsx)("span",{className:"h3",children:"Loading"}),(0,l.jsx)(i.I,{icon:"spinner",className:"ml-3 h-7 w-7 animate-spin"})]})}},62565:(e,t,n)=>{"use strict";n.d(t,{B:()=>c});var l=n(37876),a=n(15039),s=n.n(a),i=n(48230),r=n.n(i),o=n(26072);function c(e){let{path:t}=e;return(0,l.jsx)("div",{className:"container hidden py-6 last:pb-6 md:block",children:(0,l.jsx)("nav",{className:"text-lg","aria-label":"Breadcrumbs",children:(0,l.jsxs)("ol",{className:"flex items-center space-x-4 uppercase",children:[(0,l.jsx)("li",{children:(0,l.jsxs)(r(),{href:"/",className:"block text-gray-500 transition-colors hover:text-gray-950 focus:text-gray-950",children:[(0,l.jsx)("span",{className:"sr-only",children:"Home"}),(0,l.jsx)(o.I,{icon:"home",className:"h-5 w-5"})]})}),t.map((e,n)=>(0,l.jsxs)("li",{className:"inline-flex items-center gap-4",children:[(0,l.jsx)(o.I,{icon:"chevron-right",className:"h-4 w-4 text-gray-500"}),(0,l.jsx)(r(),{href:e.url,className:s()("text-sm font-semibold transition-colors hover:underline",n===t.length-1?"text-gray-950":"text-gray-500 hover:text-gray-950 focus:text-gray-950"),"aria-current":n===t.length-1?"page":void 0,children:e.title})]},"breadcrumb-".concat(n)))]})})})}},74923:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var l=n(38248),a=n(14232),s=n(23993),i=n(34624);function r(e){let t=(0,i.ig)(),n=(0,a.useRef)(!1),r=(0,a.useRef)(e),o=!!(0,l.getCookie)(s._O);return(0,a.useEffect)(()=>{r.current=e},[e]),(0,a.useEffect)(()=>{if(!n.current){if(!o){r.current(),n.current=!0;return}t&&(r.current(),n.current=!0)}},[t,o]),n.current}},79064:(e,t,n)=>{"use strict";n.d(t,{J:()=>v});var l=n(37876),a=n(67914),s=n(48230),i=n.n(s),r=n(89099),o=n(14232),c=n(96969),d=n(26072),u=n(36793),m=n(47625),h=n(59275),x=n(23993),g=n(45880);function p(){let e=(0,r.useRouter)(),[t,n]=(0,o.useState)(!1),s=(0,a.I)({queryKey:x.OF,throwOnError:(e,t)=>((0,g.Ij)("get_navigation",e),!1)}),p=(0,a.I)({queryKey:x.lx,throwOnError:(e,t)=>((0,g.Ij)("get_social",e),!1)});return((0,o.useEffect)(()=>{let t=()=>{n(!1)};return e.events.on("routeChangeComplete",t),()=>{e.events.off("routeChangeComplete",t)}},[e.events]),(0,o.useEffect)(()=>{(0,g.Oz)("".concat(x.Az," - Web - ").concat(window.location.pathname),503,"The third-party resource is temporarily unavailable")},[]),s.isSuccess&&p.isSuccess)?(0,l.jsx)(u.P,{navigation:s.data,social:p.data,children:(0,l.jsxs)("div",{className:"bg-white py-14 text-black md:py-20",children:[(0,l.jsxs)("div",{className:"container space-y-3 text-center",children:[(0,l.jsx)(d.I,{icon:"alert",className:"inline text-white",style:{width:"4.5rem",height:"4.5rem"}}),(0,l.jsx)("h2",{style:{fontSize:"2.5rem"},children:"Oops, something went wrong"}),(0,l.jsx)("p",{children:"Please refresh the page or try again later."})]}),(0,l.jsx)("div",{className:"container my-8 text-center",children:(0,l.jsx)(c.$,{loading:t,onClick:()=>{n(!0),(0,g.uG)(window.location.pathname),e.push(window.location.pathname)}
1,children:"Refresh now"})}),(0,l.jsxs)("p",{className:"text-center",children:["Looking for a location near you?"," ",(0,l.jsx)(m.N,{as:i(),variant:"basic",href:"/locations",children:"Find a Smashburger near you."})]})]})}):(0,l.jsx)(h.x,{})}let v=e=>t=>t.hasError?(0,l.jsx)(p,{}):(0,l.jsx)(e,{...t})},84849:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>R,default:()=>C});var l=n(37876),a=n(15039),s=n.n(a),i=n(48230),r=n.n(i),o=n(89099),c=n(62565),d=n(24282),u=n(97198),m=n(36793),h=n(36887),x=n(30308),g=n(31555),p=n(18055),v=n(3155),f=n(2829),b=n(9793),y=n(20491),j=n(14745),w=n(64863),N=n(74923),I=n(45880),_=n(79064),R=!0;let C=(0,_.J)(function(e){let{category:t,navigation:n,pages:a,preview:i,social:_,previewVersion:R}=e,[C,k]=(0,j.L)(null!=a?a:[],null!=R?R:void 0),{data:E}=(0,y.v)(),{data:P}=(0,w.b)(),S=(0,o.useRouter)();return(0,N.d)(()=>{(0,I.az)(t)}),(0,l.jsxs)(m.P,{navigation:n,social:_,preview:!!i,current:C,setCurrent:k,versions:null!=a?a:[],children:[(0,l.jsx)(b.V,{title:(null==C?void 0:C.title)||(null==t?void 0:t.Name)||"",seo:(null==C?void 0:C.seo)||null,canonical:"https://smashburger.com/menu/".concat(null==t?void 0:t.Slug)}),(0,l.jsx)(c.B,{path:[{title:"Menu",url:"/menu"},{title:(null==t?void 0:t.Name)||"",url:"/menu/".concat(null==t?void 0:t.Slug)}]}),(0,l.jsxs)("div",{className:"container py-8 md:py-20",children:[(0,l.jsx)(f.l,{className:"mb-5 md:hidden",value:t.Id,options:((null==P?void 0:P.Categories)||[]).map(e=>({value:e.Id,label:e.Name})),onChange:e=>{var t;let n=null==P||null==(t=P.Categories)?void 0:t.find(t=>t.Id===e);S.push("/menu/".concat(null==n?void 0:n.Slug))}}),(0,l.jsx)("h1",{className:"mb-5 text-center font-bold text-brand-500 display-lg md:mb-10 md:display-2xl",children:null==t?void 0:t.Name}),!!t&&(0,l.jsx)("ul",{className:s()("grid gap-x-5 gap-y-4 md:gap-y-8 lg:grid-cols-3",(null==C?void 0:C.oneProductPerRowMobile)?"grid-cols-1 sm:grid-cols-2":"grid-cols-2"),children:t.Products.map(e=>{var n,a,i,o;let c=e.UnavailableHandoffModes.includes(E)||e.Available;return(0,l.jsxs)("li",{className:"flex flex-col","data-testid":"page-category:category-item",children:[(0,l.jsxs)(r(),{href:"/menu/".concat(t.Slug,"/").concat(e.Slug),onClick:()=>{(0,I.Vd)(t,e)},className:s()("group/product sb_menu_cta block",!c&&"pointer-events-none"),children:[(0,l.jsx)(u._,{src:null==(n=e.Image)?void 0:n.Url,alt:(null==(a=e.Image)?void 0:a.Description)||e.Name,"aria-hidden":"true",width:null==(i=e.Image)?void 0:i.Width,height:null==(o=e.Image)?void 0:o.Height,sizes:"(min-width: 1220px) 380px, (min-width: 1024px) 315px, (min-width: 768px) 354px, (min-width: 640px) 290px, ".concat((null==C?void 0:C.oneProductPerRowMobile)?"calc(100vw - 40px)":"calc(50vw - 30px)"),className:s()("mb-[15px] aspect-image w-full overflow-hidden object-cover group-hover/product:opacity-80",!c&&"opacity-50")}),(0,l.jsx)("div",{className:s()("py-[15px] text-center text-lg font-bold underline decoration-2 md:text-xl","group-hover/product:text-gray-700 group-hover/product:underline group-focus/product:underline",c?"text-gray-950":"text-gray-300"),children:e.Name})]}
1),!c&&(0,l.jsx)("div",{className:"mt-4 self-center rounded bg-gray-50 py-2 px-4 text-lg text-gray-600",children:"Unavailable"})]},"product-".concat(e.Id))})})]}),(0,l.jsx)(d.Q,{sections:(null==C?void 0:C.sections)||[],components:{"sections.accordions":h.R,"sections.banner":x.i,"sections.breadcrumbs":c.B,"sections.columns":g.r,"sections.media-with-text":p.Z,"sections.text":v.x}})]})})}},e=>{e.O(0,[2477,5341,8531,7499,636,6593,8792],()=>e(e.s=25053)),_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.