PageSourceSearch

https://www.antoniospizzafl.com/_next/static/chunks/pages/user/settings-e9c75ef85d6b6cb0.js

js antoniospizzafl.com collected 2026-10-02 01:23:44 UTC 3,325 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[168],{78688:function(e,n,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/settings",function(){return a(58309)}])},20743:function(e,n,a){"use strict";a.d(n,{T:function(){return d}});var r=a(85893),t=a(67294),s=a(94184),l=a.n(s),i=a(79127);let d=e=>{var n,a;let{brand:s}=(0,t.useContext)(i.I),d=null!==(a=null!==(n=e.url)&&void 0!==n?n:s.background)&&void 0!==a?a:"/images/default-brand-background.png";return(0,r.jsxs)("div",{className:l()("text-white flex flex-col text-3xl z-10 relative w-full",e.className),style:{...e.style,backgroundImage:"url(".concat(d,")"),backgroundSize:"cover",zIndex:1,backgroundPosition:"center"},children:[(0,r.jsx)("div",{className:"absolute top-0 left-0 bg-black bg-opacity-60 z-20 w-full h-full",style:{zIndex:-1}}),(0,r.jsx)("div",{className:"relative z-30 flex justify-center items-center flex-grow",children:e.children})]})}},92312:function(e,n,a){"use strict";a.d(n,{L:function(){return l},a:function(){return s}});var r=a(85893),t=a(50948);function s(){return!(0,t.isServer)()&&/iphone|ipad|ipod/i.test(navigator.userAgent)}a(67294);let l=e=>{let{brand:n}=e;
1return!n.android_app_url||(0,t.isUsingAppWebview)()||s()?null:(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(t.Img,{href:{href:n.android_app_url,target:"_blank"},alt:"android app",size:{h:70,w:150},src:"/images/google-play-badge.png"})})}},58309:function(e,n,a){"use strict";a.r(n),a.d(n,{__N_SSP:function(){return c}});var r=a(85893),t=a(50948),s=a(67294),l=a(82849),i=a(20743),d=a(79127),o=a(92312),c=!0;n.default=e=>{let{brand:n}=e,{user:a}=(0,s.useContext)(d.I),[c,u]=(0,s.useState)(void 0),{setAlert:h}=(0,s.useContext)(t.JourneyAppContext);(0,s.useEffect)(()=>{void 0===c&&a&&u({name:a.name})},[c,a]);let p=async()=>{await (0,t.enhancedFetch)("/api/user/update-self",{method:"PUT",body:c}),h("Successfully updated!")},x=async()=>{await (0,t.enhancedFetch)("/api/user/clear-personal-data",{method:"POST",body:{brand_hash_id:n.hash_id}}),h("Successfully cleared personal data!")};return(0,o.a)()&&(0,t.isUsingAppWebview)(),(0,r.jsxs)(l.n,{brand:n,title:"Rewards",description:"See your rewards and how much you've earned.",className:"full-screen",children:[(0,r.jsx)(i.T,{className:"h-40",children:(0,r.jsx)("h2",{className:"text-3xl z-20 font-bold",children:"Settings"})}),(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center p-4 space-y-2",children:[(0,r.jsxs)(t.Card,{className:"max-w-[500px] p-5",children:[(0,r.jsx)("div",{className:"text-xl border-b-2 border-primary",children:"Customer Info"}),(0,r.jsxs)(t.Form,{value:c,onChange:u,children:[(0,r.jsx)(t.TextInput,{name:"name"}),(0,r.jsx)(t.Button,{onClick:p,children:"Update"})]})]}),(0,r.jsxs)(t.Card,{className:"max-w-[500px] p-5",children:[(0,r.jsx)("div",{className:"text-xl border-b-2 border-primary",children:"Privacy"}),(0,r.jsx)("div",{children:"We will scrub all your orders past the last 30 days and remove any personally identifying information from them, this means your name, email, and phone number. Please note this will prevent the restaurant from finding your order and will remove any rewards points you've gained."}),(0,r.jsx)(t.Button,{onClick:x,children:"Clear personal data"})]})]})]})}}},function(e){e.O(0,[849,888,774,179],function(){return e(e.s=78688)}),_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.