PageSourceSearch

https://antistatique.net/_next/static/chunks/pages/agence-web/[slug]-1e838bc55d4162de.js

js antistatique.net collected 2026-09-24 18:21:12 UTC 10,336 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8100],{2044:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/agence-web/[slug]",function(){return i(56218)}])},26792:(e,t,i)=>{"use strict";i.d(t,{A:()=>n.A});var n=i(75797)},33706:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(14232);let s=(e,t)=>{let i=(0,n.useRef)(null);(0,n.useEffect)(()=>{i.current=e}),(0,n.useEffect)(()=>{let e=setInterval(()=>{i.current()},t);return()=>clearInterval(e)},[t])}},34025:(e,t,i)=>{"use strict";i.d(t,{A:()=>n.A});var n=i(68673)},56218:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSG:()=>u,default:()=>x});var n=i(37876);i(14232);var s=i(21131),a=i(42116),l=i(38538),c=i(38394),r=i(79206),o=i(26792),d=i(83666),m=i(88386),f=i(13042),h=i(34846),u=!0;let x=e=>{let{slug:t}=e,{width:i}=(0,m.A)(),{t:u}=(0,h.Bd)(),x={lausanne:[{city:"Lausanne",image:"/img/contact/contact-lausanne.jpg",showAnimation:!0,xPos:300,yPos:150},{address:"Rue de Gen\xe8ve 90b",zipCode:"1004 Lausanne",tel:"+41 21 623 63 03",iframe:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2745.1226783360535!2d6.6124677!3d46.5254742!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x478c31d6877c945b%3A0x8299278681e17a15!2sAntistatique!5e0!3m2!1sen!2sch!4v1695726899926!5m2!1sen!2sch",iframeTitle:u("contact.map_title",{office:"Lausanne"}),showAnimation:!1}],geneve:[{city:"Gen\xe8ve",image:"/img/contact/contact-geneve.jpg",showAnimation:!0,xPos:300,yPos:150},{address:"Rue de Neuch\xe2tel 8",zipCode:"1201 Gen\xe8ve",tel:"+41 22 552 03 06",iframe:"https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d1230.593582264043!2d6.14519357855613!3d46.21057871230657!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x478c65fe13ecc8cb%3A0xcef7ac28ca4ede26!2sAntistatique!5e0!3m2!1sen!2sch!4v1695726937125!5m2!1sen!2sch",iframeTitle:u("contact.map_title",{office:"Gen\xe8ve"}),showAnimation:!1}],fribourg:[{city:"Fribourg",image:"/img/contact/contact-fribourg.jpg",showAnimation:!0,xPos:300,yPos:150},{address:"Route de la Fonderie 2",zipCode:"1700 Fribourg",tel:"+41 26 552 03 06",iframe:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d14319.08643254516!2d7.139783048647289!3d46.79625115890535!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x478e68d7b3daa679%3A0x16542fb937c5c44!2sRte%20de%20la%20Fonderie%202%2C%201700%20Fribourg!5e0!3m2!1sen!2sch!4v1781625718060!5m2!1sen!2sch",iframeTitle:u("contact.map_title",{office:"Fribourg"}),showAnimation:!1}]};return(0,n.jsxs)(c.A,{children:[(0,n.jsx)(d.A,{title:u("contact.".concat(t,".title")),description:u("contact.offices.opening_hours")}),(0,n.jsxs)(a.A,{className:"mb-10 md:mb-28",children:[t&&(0,n.jsx)(o.A,{className:"mb-10! md:items-center md:text-center",children:u("contact.".concat(t,".title")).split("<br />").map((e,t)=>(0,n.jsx)("span",{children:(0,f.Ay)(e)},e+t))}),(0,n.jsx)("div",{className:"flex md:justify-center",children:(0,n.jsxs)(s.A,{className:"group",size:i&&i>768?"lg":"md",as:"a",colorScheme:"outline",href:"mailto:[email protected]",children:[(0,n.jsx)("span",{children:u("contact.cta")}),(0,n.jsx)("div",{className:"overflow-hidden",children:(0,n.jsx)(l.A,{name:"arrowRight",className:"relative w-4 h-4 ease-out group-hover:animate-slide-right top-px"})})]})})]}),(0,n.jsxs)(a.A,{className:"mb-20 md:mb-40",children:[(0,n.jsx)("h2",{className:"sr-only",children:u("contact.offices.title")}),(0,n.jsx)("p",{className:"mb-4 text-p-lg md:mb-5 ",children:(0,f.Ay)(u("contact.offices.opening_hours"))}),(0,n.jsx)("div",{className:"flex flex-col space-y-10 md:flex-row md:space-x-7 md:space-y-0",children:x[t]&&x[t].map((e,t)=>(0,n.jsx)(r.A,{officeInformation:e,xInitialPosition:e.xPos,yInitialPosition:e.yPos},"office_".concat(t)))})]})]})}},68673:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});var n=i(37876),s=i(14232),a=i(69241),l=i(54587),c=i.n(l);let r=e=>{let{src:t,alt:i,width:l,height:r,layout:o="responsive",priority:d,sizes:m,loadingSkeleton:f=!0,className:h,hoverScale:u,...x}=e,[p,g]=(0,s.useState)(!1);return(0,n.jsx)("div",{className:(0,a.A)("overflow-hidden rounded-lg",f&&"bg-neutral-100",!p&&"animate-pulse nojs-noanimation","fill"===o&&"h-full",h),children:(0,n.jsx)("div",{className:(0,a.A)("transition-opacity duration-700 nojs-visible",!p&&"opacity-0",p&&"opacity-100","fill"===o&&"h-full"),children:(0,n.jsx)(c(),{src:t,alt:i||"",width:l,height:r,fill:"fill"===o,priority:d,style:{objectFit:"cover"},sizes:m,onLoad:()=>g(!0),className:(0,a.A)(u&&"hover-scale","rounded-lg"),...x})})})}},75797:(e,t,i)=>{"use strict";i.d(t,{A:()=>c});var n=i(37876),s=i(14232),a=i(69241),l=i(18216);let c=e=>{let{children:t,as:i=l.P.h1,className:c,...r}=e,o={hidden:{opacity:0,top:"0.5em"},visible:{opacity:1,top:"0%",transition:{duration:.8,ease:[.02,.81,.59,.98]}}};return(0,n.jsx)(i,{className:(0,a.A)("md:flex md:flex-col text-h-4xl mb-16 md:mb-24 [&_img]:inline [&_img]:h-10 [&_img]:w-10 md:[&_img]:w-20 md:[&_img]:h-20 md:[&_img]:-mt-4",c),initial:"hidden",animate:"visible",variants:{visible:{transition:{staggerChildren:.1}}},...r,children:s.Children.map(t,e=>s.isValidElement(e)?(0,n.jsx)(l.P.span,{variants:o,className:"relative nojs-visible",children:s.cloneElement(e)}):e)})}},77328:(e,t,i)=>{e.exports=i(89836)},79206:(e,t,i)=>{"use strict";i.d(t,{A:()=>h});var n=i(37876),s=i(14232),a=i(34025),l=i(37087),c=i(33706),r=i(48230),o=i.n(r),d=i(71565
1),m=i(34846);let f=e=>{let{officeInformation:t,xInitialPosition:i,yInitialPosition:r}=e,{t:o}=(0,m.Bd)(),f=["#FFCC48","#B8EAFF","#FFD3E3"],[h,u]=(0,s.useState)(0),[x,p]=(0,s.useState)("#FFCC48"),[g,v]=(0,s.useState)(!1),j=(0,s.useRef)(null),w=(0,s.useRef)(null),[y,A]=(0,s.useState)({x:null!=i?i:1,xInverted:!1,y:null!=r?r:1,yInverted:!1});return(0,c.A)(()=>{if(!(0,d.A)(null==w?void 0:w.current)&&!(0,d.A)(null==j?void 0:j.current)){let e=w.current,t=j.current,i=y.x+e.clientWidth>=t.clientWidth,n=y.x<=0,s=y.y+e.clientHeight>=t.clientHeight,a=y.y<=0,l=i||(n&&y.xInverted,!1)||!n&&y.xInverted,c=s||(a&&y.yInverted,!1)||!a&&y.yInverted,r={x:y.x+(l?-1:1),xInverted:l,y:y.y+(c?-1:1),yInverted:c};if(A(r),e.style.left="".concat(r.x,"px"),e.style.top="".concat(r.y,"px"),i||n||s||a){let e=h;for(;e===h;)e=Math.floor(Math.random()*f.length);u(e),p(f[e])}}},8.333333333333334),(0,s.useEffect)(()=>{let e=new Date,t=e.getHours();!function(e,t){let i=(0,l.a)(e,void 0).getDay();return 0===i||6===i}(e)&&t>=9&&t<=18?v(!0):v(!1)},[]),(0,n.jsxs)("div",{className:"relative",ref:j,children:[!(0,d.A)(t.image)&&(0,n.jsx)(a.A,{className:"aspect-w-3 aspect-h-2",src:t.image,alt:"",layout:"fill",sizes:"(min-width: 1700px) 754px, (min-width: 780px) 45.56vw, calc(100vw - 24px)"}),!(0,d.A)(t.iframe)&&(0,n.jsx)("div",{className:"relative aspect-w-3 aspect-h-2 after:absolute after:inset-0 after:bg-neutral-100 after:rounded-lg after:animate-pulse after:-z-10",children:(0,n.jsx)("iframe",{title:t.iframeTitle,src:t.iframe,className:"absolute inset-0 border-none rounded-lg",allowFullScreen:!1,loading:"lazy"})}),t.showAnimation&&g&&(0,n.jsxs)("svg",{viewBox:"0 0 88 88",width:88,height:88,fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute z-10 block origin-center animate-spin",ref:w,children:[(0,n.jsx)("circle",{cx:"44.0003",cy:"43.993",r:"44",transform:"rotate(117.092 44.0003 43.993)",fill:x}),(0,n.jsx)("text",{className:"font-semibold uppercase text-p-sm",x:"50%",y:"50%",fill:"#000032",dominantBaseline:"middle",textAnchor:"middle",children:o("contact.open")})]})]})},h=e=>{let{officeInformation:t,xInitialPosition:i,yInitialPosition:s}=e;return(0,n.jsxs)("div",{className:"overflow-hidden md:w-1/2",children:[(0,n.jsx)("div",{children:t.url?(0,n.jsxs)(o(),{href:t.url,children:[(0,n.jsx)(f,{officeInformation:t,xInitialPosition:i,yInitialPosition:s}),(0,n.jsx)("span",{className:"sr-only",children:t.city})]}):(0,n.jsx)(f,{officeInformation:t,xInitialPosition:i,yInitialPosition:s})}),(0,n.jsxs)("div",{className:"flex flex-col w-full mt-4 lg:flex-row",children:[t.city&&(0,n.jsxs)("h3",{className:"text-h-2xl md:w-1/2",children:[!(0,d.A)(t.url)&&(0,n.jsx)(o(),{href:t.url,className:"group",children:t.city}),(0,d.A)(t.url)&&t.city]}),t.address&&(0,n.jsxs)("div",{className:"w-full mt-3 lg:w-1/2 md:mt-0",children:[(0,n.jsx)("p",{children:t.address}),(0,n.jsx)("p",{children:t.zipCode}),(0,n.jsx)("p",{children:(0,n.jsx)("a",{className:"underline transition-all underline-offset-4 decoration-1 hover:opacity-60",href:"tel:".concat(t.tel),children:t.tel})})]})]})]})}},83666:(e,t,i)=>{"use strict";i.d(t,{A:()=>d});var n=i(37876);i(14232);var s=i(46460),a=i(77328),l=i.n(a),c=i(89099),r=i(71565),o=i(34846);let d=e=>{var t,i;let{title:a,imageUrl:d,description:m,robots:f,translations:h}=e,{locales:u,asPath:x,locale:p,defaultLocale:g}=(0,c.useRouter)(),{t:v}=(0,o.Bd)();return(0,n.jsxs)(l(),{children:[(0,n.jsx)("link",{rel:"canonical",href:"https://".concat(s.U9).concat(p!==g?"/".concat(p):"").concat(x)}),(0,n.jsx)("link",{rel:"alternate",href:"https://".concat(s.U9).concat(p!==g?"/".concat(p):"").concat(x),hrefLang:p}),!(0,r.A)(u)&&(null==h||null==(t=h[0])?void 0:t.slug)&&(null==(i=u.filter(e=>e!==p))?void 0:i.map(e=>{var t;return(0,n.jsx)("link",{rel:"alternate",href:"https://".concat(s.U9).concat(e!==g?"/".concat(e):"").concat(x.replace(/[^/]+$/,null==h||null==(t=h[0])?void 0:t.slug)),hrefLang:e},"canonical-".concat(e))})),!(0,r.A)(a)&&(0,n.jsx)("title",{children:a}),(0,r.A)(a)&&(0,n.jsx)("title",{children:v("seo.default_title")}),!(0,r.A)(m)&&(0,n.jsx)("meta",{name:"description",content:m}),!(0,r.A)(f)&&(0,n.jsx)("meta",{name:"robots",content:f}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:url",content:"https://".concat(s.U9).concat(p!==g?"/".concat(p):"").concat(x)}),!(0,r.A)(m)&&(0,n.jsx)("meta",{property:"og:description",content:m}),!(0,r.A)(d)&&(0,n.jsx)("meta",{property:"og:image",content:d}),(0,n.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png"}),(0,n.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-32x32.png",sizes:"32x32"}),(0,n.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon-16x16.png",sizes:"16x16"}),(0,n.jsx)("link",{rel:"manifest",href:"/manifest.json"}),(0,n.jsx)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#ff0098"}),(0,n.jsx)("link",{type:"text/plain",rel:"author",href:"/humans.txt"})]})}}},e=>{var t=t=>e(e.s=t);e.O(0,[2657,1384,4587,8394,636,6593,8792],()=>t(2044)),_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.