PageSourceSearch

https://www.diggersfactory.com/_next/static/chunks/pages/project/templates/recommandations-703e234547e97d59.js

js diggersfactory.com collected 2026-09-24 18:41:54 UTC 6,036 bytes, 1 lines download raw bytes

1try{!function(){var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="23560a33-aa2c-414f-a9cc-6affb07d4d96",e._sentryDebugIdIdentifier="sentry-dbid-23560a33-aa2c-414f-a9cc-6affb07d4d96")}()}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6250],{4064:(e,s,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/project/templates/recommandations",function(){return t(59764)}])},23234:(e,s,t)=>{"use strict";t.d(s,{A:()=>p,N:()=>d});var a=t(66162),i=t(53187),n=t.n(i),r=t(44922),l=t(25312),c=t(48725),o=t(25947);let d=e=>{let[s,t]=(0,r.useState)(!1),[i,d]=(0,r.useState)(0),[p,m]=(0,r.useState)(null),x=(0,r.useRef)(),{items:h}=e,y=(0,r.useRef)(),_=(0,l.Pd)(y);(0,r.useEffect)(()=>{_&&t(!0)},[_]);let v=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],s=i,t=x.current.querySelectorAll("div.item-wrapper").length,a=x.current.parentElement.offsetWidth,n=x.current.querySelector("div.item-wrapper").offsetWidth,r=window.innerWidth<800?1:3;e?s--:s++;let l=s*r;l<0&&(l=(s=Math.ceil((t-1)/r))*r),e||p!==t-1?1+p>t&&(l=t-1):(l=0,s=0),l>a&&(l=a),d(s),m(l);let c=l*n;c+a>t*n&&(c=t*n-a),x.current.style.transform="translate(".concat(-c,"px)")};return(0,a.jsxs)("div",{ref:y,className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" covers",children:[s&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{onClick:()=>v(!0),className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" nav left",children:(0,a.jsx)("div",{className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]]),children:(0,a.jsx)(o.A,{type:"icon-chevron-left"})})}),(0,a.jsx)("div",{onClick:()=>v(!1),className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" nav right",children:(0,a.jsx)("div",{className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]]),children:(0,a.jsx)(o.A,{type:"icon-chevron-right"})})}),(0,a.jsx)("div",{className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" items-wrapper",children:(0,a.jsx)("div",{ref:x,className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" items",children:h.map(s=>{var t;return(0,a.jsx)("div",{className:n().dynamic([["2afe39bca7b76a37",[e.shop?"300px":"350px"]]])+" item-wrapper",children:(0,a.jsx)(c.Ay,{item:s,shop:e.shop,template:null==(t=e.shop)?void 0:t.reference_template,color:e.shop?void 0:"var(--primary)",size:"small"})},s.id)})})})]}),(0,a.jsx)(n(),{id:"2afe39bca7b76a37",dynamic:[e.shop?"300px":"350px"],children:"div.covers.__jsx-style-dynamic-selector{padding:0 0px;position:relative;text-align:left}div.items-wrapper.__jsx-style-dynamic-selector{white-space:nowrap;width:90%;overflow:hidden;display:flex;margin:0 50px}div.items-wrapper.__jsx-style-dynamic-selector::-webkit-scrollbar{display:none}div.items.__jsx-style-dynamic-selector{white-space:nowrap;transition:transform.5s ease-in-out,-webkit-transform.5s ease-in-out}div.item-wrapper.__jsx-style-dynamic-selector{display:inline-block;width:".concat(e.shop?"300px":"350px",";padding-right:20px}.nav.__jsx-style-dynamic-selector{color:#fff;font-size:25px;display:inline-block;height:49px;line-height:1em;position:absolute;cursor:pointer;z-index:1}.nav.__jsx-style-dynamic-selector div.__jsx-style-dynamic-selector{padding:12px;color:#00000080;display:inline-block;transition:.2s ease}.nav.left.__jsx-style-dynamic-selector{margin:auto;top:0;left:0;bottom:0}.nav.right.__jsx-style-dynamic-selector{margin:auto;top:0;bottom:0;right:0}div.covers.__jsx-style-dynamic-selector .nav.right.__jsx-style-dynamic-selector:hover div.__jsx-style-dynamic-selector{transform:translatex(10px)}div.covers.__jsx-style-dynamic-selector .nav.left.__jsx-style-dynamic-selector:hover div.__jsx-style-dynamic-selector{transform:translatex(-10px)}@media screen and (max-width:800px){.covers.__jsx-style-dynamic-selector{margin:0 -20px}.nav.__jsx-style-dynamic-selector div.__jsx-style-dynamic-selector{padding:5px}div.covers.__jsx-style-dynamic-selector .nav.__jsx-style-dynamic-selector:hover div.__jsx-style-dynamic-selector{transform:none!important}div.items-wrapper.__jsx-style-dynamic-selector{margin:0 35px 0 25px;overflow:auto}div.item-wrapper.__jsx-style-dynamic-selector{width:300px}}@media screen and (max-width:600px){div.__jsx-style-dynamic-selector .reference{margin:10px 10px 20px 10px}}@media screen and (max-width:400px){div.item-wrapper.__jsx-style-dynamic-selector{width:300px}}")})]})},p=d},59764:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>c});var a=t(66162),i=t(18480),n=t(23234),r=t(1562),l=t(25312);let c=e=>{var s,t,c;let{store:o,project:d,recommandations:p}=e,{t:m}=(0,l.Bd)();return(!d.hide.includes("suggestions")||(null==(s=o.app.shop)?void 0:s.show_reco))&&(!o.app.shop||(null==(t=o.app.shop)?void 0:t.show_reco))&&0!==p.length?(0,a.jsx)(a.Fragment,{children:(!o.app.shop&&!d.hide.includes("suggestions")||(null==(c=o.app.shop)?void 0:c.show_reco))&&p.length>0&&(0,a.jsx)("section",{className:"style1 recommandations",children:(0,a.jsxs)("div",{className:"container",children:[(0,a.jsx)("div",{className:"text-center",children:(0,a.jsx)(r.A,{title:m("our_diggers_also_bought")})}),(0,a.jsx)(n.A,{items:p,shop:o.app.shop||{font_color:d.color}}),(0,a.jsx)("div",{className:"text-center mt-6",children:(0,a.jsx)(i.A,{to:"/vinyl-shop",iconRight:"icon-arrow-right",children:m("more")})})]})})}):null}},61415:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(47824).A)("play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]])},84218:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});let a=(0,t(47824).A)("shopping-bag",[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7
1a2 2 0 0 0-1.6.8z",key:"o988cm"}]])}},e=>{e.O(0,[8725,636,6593,8792],()=>e(e.s=4064)),_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.