PageSourceSearch

https://www.oleomac.it/_next/static/chunks/pages/cart-44f582c4116097b8.js

js oleomac.it collected 2026-10-09 00:22:02 UTC 3,472 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="6382f47c-7e3e-4bef-b747-4934bb2bf3dc",e._sentryDebugIdIdentifier="sentry-dbid-6382f47c-7e3e-4bef-b747-4934bb2bf3dc")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6442],{677:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSG:()=>b,default:()=>cart});var r=a(37876),i=a(14232),s=a(26155),n=a(23652),o=a(79366),l=a.n(o),c=a(77315),_=a(65472),d=a(71359),p=a(81915),m=a(89099),u=a(499),y=a(31381),h=a(93310),g=a(65364);const CartTemplate_CartTemplate=e=>{const{pagina:t={},cartContent:a}=e,{cart:o,loading:b}=(0,i.useContext)(c.MI),f=g.env.STORYBOOK?(0,_.tF)(1):o,C=(0,s.mz)(),x=(0,m.useRouter)(),{utente:T}=(0,y.A)(),j=T?.privato&&!T.cf?.trim();(0,i.useEffect)(()=>{b||f===c.xK||(0,u.Jw)(f)},[f]);const v=f?.hasOmaggio?{title:C("cart_has_omaggio_title"),description:C("cart_has_omaggio_description"),status:"success"}:"payment_error"===x.query.status?{title:C("cart_error_during_payment"),description:C("cart_error_during_payment_description"),status:"error"}:j?{title:C("Codice fiscale mancante"),description:`${C("Inserisci il tuo codice fiscale per procedere con l'ordine, puoi farlo dalla tua area riservata")}`,status:"error"}:null;return(0,r.jsx)(n.YW,{pagina:t,className:`${l().root}`,children:(0,r.jsxs)("main",{children:[(0,r.jsx)(n.P5,{pagina:t}),f.items?.length?(0,r.jsx)(d.Ro,{children:(0,r.jsxs)("div",{className:l().layout,children:[(0,r.jsxs)("div",{className:l().main,children:[(0,r.jsx)(h.A,{eligibleTotal:f.totaleProdottiSpedizioneGratuita,threshold:f.promozioneSpedizioneGratuita?.limiteSpesa,completed:f.spedizioneGratuita,className:l().shippingBanner}),v&&(0,r.jsx)(d.Gb,{...v}),(0,r.jsx)(n.Wo,{title:C("Carrello"),status:"open",className:l().cartBlock,hideHeadMobile:!0,children:(0,r.jsx)("div",{className:l().list,children:f.items.map(e=>(0,r.jsx)(p.ut,{rigaCarrello:e},e.pk))})}),(0,r.jsx)(p.hu,{contentTypeId:t.model,objectId:t.pk,pkey:"cartContent",serverSideContent:a})]}),(0,r.jsx)("aside",{className:l().sidebar,children:(0,r.jsx)(n.Vx,{dati:f,variant:"cart"})})]})}):(0,r.jsxs)("div",{className:l().emptyLayout,children:[(0,r.jsx)(d.Ro,{children:(0,r.jsxs)("div",{className:l().emptyContent,children:[(0,r.jsx)("h2",{className:l().emptyTitle,children:C("Il tuo carrello è vuoto")}),(0,r.jsx)("div",{className:l().emptyDescription,dangerouslySetInnerHTML:{__html:C("empty_cart_description")}})]})})," "]})]})})};var b=!0;const cart=({pagina:e,cartContent:t})=>(0,r.jsx)(CartTemplate_CartTemplate,{pagina:e,cartContent:t})},40559:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/cart",function(){return a(677)}])},79366:e=>{e.exports={layout:"CartTemplate_layout__W1HKP",main:"CartTemplate_main__izLQ_",shippingBanner:"CartTemplate_shippingBanner__gjJqY",sidebar:"CartTemplate_sidebar__Wo_7J",list:"CartTemplate_list__YBgMW",cartBlock:"CartTemplate_cartBlock___WL4h",banner:"CartTemplate_banner__2PrSJ",emptyLayout:"CartTemplate_emptyLayout__d3iQR",emptyContent:"CartTemplate_emptyContent__BsC_W",emptyTitle:"CartTemplate_emptyTitle___357A",emptyDescription:"CartTemplate_emptyDescription__BPlVz",correlati:"CartTemplate_correlati__fiMJZ",rotation:"CartTemplate_rotation__ar7oR"}}},e=>{e.O(0,[6593,636,8792],()=>{return t=40559,e(e.s=t);var t});var t=e.O();_N_E=t}]);

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.