PageSourceSearch

https://atelierfinance.co.uk/_next/static/chunks/app/%5B...slug%5D/layout-f564530dbddff9e6.js

js atelierfinance.co.uk collected 2026-10-10 00:25:15 UTC 4,832 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55,611],{8803:function(e,n,s){Promise.resolve().then(s.bind(s,1158)),Promise.resolve().then(s.bind(s,2496)),Promise.resolve().then(s.bind(s,2254))},1158:function(e,n,s){"use strict";s.d(n,{default:function(){return c}});var t=s(7437),l=s(8667);s(5422);var a=s(3786),i=s(8496);function r(){return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.default,{src:"/assets/scripts/gtag.js"}),(0,t.jsx)(a.GoogleTagManager,{gtmId:"GTM-KMWTTGR"}),"production"===i.Z.PRODUCTION&&(0,t.jsx)(l.default,{src:"/assets/scripts/init-consent.js"})]})}function c(e){let{children:n}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r,{}),(0,t.jsx)(t.Fragment,{children:n}),(0,t.jsx)(l.default,{src:"/assets/scripts/user-agent-init.js"})]})}},2496:function(e,n,s){"use strict";var t=s(7437),l=s(7648),a=s(2265),i=s(9275);n.default=e=>{let{data:n}=e,s=new i.Z;try{let[e,i]=(0,a.useState)(!1),r=e=>{let n=document.querySelector('.primary-nav__sub-nav[data-id="'+e+'"]');n&&n.classList.toggle("active");let s=document.querySelector('.sub-nav-toggle[data-id="'+e+'"]');s&&s.classList.toggle("active")};return(0,t.jsx)("div",{className:"container-fluid bottom-half",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row d-flex justify-content-between align-items-center",children:[(0,t.jsx)("div",{className:"col-sm-3 col-md-2 col-auto",children:(0,t.jsx)(l.default,{href:"/",children:(0,t.jsx)("img",{width:"76",height:"76",className:"nav-logo",src:"/assets/nav/Atelier_Solid_RGB.svg",alt:"Atelier logo"})})}),(0,t.jsx)("div",{className:"ms-auto col-auto d-flex d-lg-none col-lg-4 justify-content-end",children:(0,t.jsx)("div",{className:"menu-icon","data-mobile-nav-active":e,onClick:()=>{i(!e)},children:(0,t.jsx)("span",{className:"navicon"})})}),(0,t.jsx)("div",{className:"ms-auto col-auto d-lg-flex col-lg-10 justify-content-end primary-nav-wrapper","data-mobile-nav-active":e,children:(0,t.jsx)("nav",{className:"primary-nav",role:"navigation",children:(0,t.jsx)("ul",{className:"primay-nav__list",children:n&&n.map((e,n)=>{var l,a,i;let c=e.content.properties,o=s.extractValue(c.primaryLink);return(0,t.jsxs)("li",{className:(null==c?void 0:null===(l=c.links)||void 0===l?void 0:l.length)>0?"has-children":"",children:[o&&(0,t.jsxs)("a",{href:o.route.path,children:[" ",o.title]}),(0,t.jsx)("span",{className:(null==c?void 0:null===(a=c.links)||void 0===a?void 0:a.length)>0?"sub-nav-toggle":"","data-id":n,onClick:()=>{r(n)}}),(0,t.jsx)("div",{className:"primary-nav__sub-nav","data-id":n,children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsxs)("div",{className:"col-auto col-lg-5",children:[(0,t.jsx)("h2",{className:"primary-nav__sub-nav-title",children:c.header}),(0,t.jsx)("p",{className:"primary-nav__sub-nav-copy",children:c.copy})]}),(0,t.jsxs)("div",{className:"col-auto col-lg-4 offset-lg-3",children:[(0,t.jsx)("p",{children:o&&(0,t.jsx)("a",{href:o.route.path,className:"primary-nav__sub-nav-parent-link",children:o.title})}),(0,t.jsx)("ul",{className:"primary-nav__sub-nav-list",children:(null==c?void 0:c.links)&&(null==c?void 0:null===(i=c.links)||void 0===i?void 0:i.map((e,n)=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:e.route.path,children:e.title})},n)))})]})]})})}),(0,t.jsx)("div",{className:"primary-nav__sub-nav-backdrop"})]},n)})})})})]})})})}catch(e){return console.error(e),(0,t.jsx)(t.Fragment,{})}}},2254:function(e,n,s){"use strict";s.d(n,{default:function(){return c}});var t,l,a=s(7437),i=s(2265);(t=l||(l={})).up="up",t.down="down";let r=()=>{let[e,n]=(0,i.useState)("up");return(0,i.useEffect)(()=>{let e=window.scrollY,s=n=>Math.abs(n-e)>100,t=n=>n>e&&!(e>0&&0===n)&&!(n>0&&0===e),l=()=>{let l=window.scrollY;s(l)&&(n(t(l)?"down":"up"),e=l>0?l:0)},a=()=>window.requestAnimationFrame(l);return window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)},[]),e};function c(e){try{let n=r();return(0,a.jsx)("nav",{className:"sticky-top","data-scroll-direction":n,children:e.children})}catch(e){return console.error(e),(0,a.jsx)(a.Fragment,{})}}},8496:function(e,n){"use strict";n.Z={PRODUCTION:"production",DEVELOPMENT:"development"}},7648:function(e,n,s){"use strict";s.d(n,{default:function(){return l.a}});var t=s(2972),l=s.n(t)}
1,9275:function(e,n,s){"use strict";s.d(n,{Z:function(){return t}});class t{extractValue(e){return e?Array.isArray(e)?0==e.length?null:e[0]:e:null}getPageTitle(e){var n,s,t;return(null==e?void 0:e.name)?(null===(n=e.properties)||void 0===n?void 0:n.title)&&"string"==typeof(null===(s=e.properties)||void 0===s?void 0:s.title)?null==e?void 0:null===(t=e.properties)||void 0===t?void 0:t.title:e.name:null}}},5422:function(){}},function(e){e.O(0,[629,972,3,450,971,117,744],function(){return e(e.s=8803)}),_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.