PageSourceSearch

https://flecha-web.onrender.com/_next/static/chunks/pages/index-cdae8287cea152cf.js

js flecha-web.onrender.com collected 2026-10-03 11:40:28 UTC 9,373 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{9041:function(e,t,r){"use strict";var s,i=r(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 148 133"},e),s||(s=i.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"M147.596 59.396s-17.007-.933-31.927-13.427c-7.212-6.04-11.253-11.711-14.893-18.916C94.4 14.43 94.259.534 94.259.534L79.009.69s.226 22.274 15.665 40.727c11.485 13.726 35.135 21.643 35.135 21.643L.596 60.156l.15 14.666 129.126-5.529s-23.484 8.397-34.687 22.353C80.123 110.41 80.35 132.683 80.35 132.683l15.25-.155s-.141-13.896 5.977-26.646c3.493-7.278 7.418-13.03 14.506-19.215 14.662-12.794 31.647-14.072 31.647-14.072l-.134-13.2Z",clipRule:"evenodd"})))}},9765:function(e,t,r){"use strict";var s,i=r(7294);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e}).apply(this,arguments)}t.Z=function(e){return i.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 132 132"},e),s||(s=i.createElement("path",{fill:"currentColor",d:"m132 59.4-54.409 1.799 39.745-37.201-9.334-9.334-37.2 39.718L72.6 0H59.4l1.78 54.389-37.182-39.725-9.334 9.334 39.718 37.2L0 59.4v13.2l54.363-1.78-39.7 37.182 9.335 9.334L61.18 77.611 59.4 132h13.2l-1.798-54.382 37.2 39.718 9.334-9.334L77.611 70.82 132 72.6V59.4Z"})))}},5728:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(4874)}])},8546:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var s=r(5893),i=r(6010),n=r(4498),a=r(383);let l=e=>{let{children:t,className:r=""}=e;return(0,s.jsx)("div",{className:(0,i.Z)("heroTitle",r),children:(0,s.jsx)(a.Z,{justified:!0,firstLineDisabled:!0,children:(0,s.jsx)(n.Z,{tag:"h1",className:"heroTitle-text",children:t})})})};var c=l},4695:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var s=r(5893),i=r(7294),n=r(6010),a=r(5258),l=r(4730),c=r(9765),u=r(9041);let o=e=>{let{front:t,back:r,className:o=""}=e,d=(0,i.useRef)(null),m=(0,i.useRef)(null);return(0,i.useEffect)(()=>{setTimeout(()=>{let e=m.current,t=d.current;if(!e||!t)return;let r=e.offsetWidth,s=e.offsetHeight,i=10*Math.PI/180;t.style.setProperty("--height","".concat(Math.abs(r*Math.sin(i))+Math.abs(s*Math.cos(i)),"px")),a.ScrollTrigger.refresh()},100)},[]),(0,s.jsxs)("div",{ref:d,className:(0,n.Z)("mixedMarquee",o),style:{"--rotation":"".concat(10,"deg")},children:[(0,s.jsx)(l.Z,{ref:m,className:"mixedMarquee-back",direction:"left",speed:200,children:r.map((e,t)=>{let{word:r,id:i}=e;return(0,s.jsxs)("div",{className:"mixedMarquee-element",children:[(0,s.jsx)("span",{className:"mixedMarquee-word",children:r}),t%2==0?(0,s.jsx)(u.Z,{className:"mixedMarquee-icon"}):(0,s.jsx)(c.Z,{className:"mixedMarquee-icon is-rotating"})]},"marquee-back-".concat(i))})}),(0,s.jsx)(l.Z,{className:"mixedMarquee-front",direction:"right",speed:200,children:t.map((e,t)=>{let{word:r,id:i}=e;return(0,s.jsxs)("div",{className:"mixedMarquee-element",children:[(0,s.jsx)("span",{className:"mixedMarquee-word",children:r}),t%2==0?(0,s.jsx)(c.Z,{className:"mixedMarquee-icon is-rotating"}):(0,s.jsx)(u.Z,{className:"mixedMarquee-icon"})]},"marquee-front-".concat(i))})})]})};var d=o},9169:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var s=r(5893),i=r(7294),n=r(722),a=r(5697),l=r.n(a),c=r(6608);let u=(0,i.forwardRef)((e,t)=>{let{video:r,alternativeText:i,...n}=e;if(!r)return;let a=(0,c.Z)(r.attributes.url),l=r.attributes.mime;return(0,s.jsxs)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,width:"100%","aria-label":i,ref:t,...n,children:[(0,s.jsx)("source",{src:a,type:l}),"Your browser does not support the video tag."]})});u.displayName="ResponsiveVideo",u.propTypes={video:l().shape({attributes:l().shape({formats:l().shape({large:l().shape({url:l().string,mime:l().string}),medium:l().shape({url:l().string,mime:l().string}),small:l().shape({url:l().string,mime:l().string}),thumbnail:l().shape({url:l().string,mime:l().string})}),url:l().string.isRequired,height:l().number,width:l().number}).isRequired})};let o=(0,i.forwardRef)((e,t)=>{let{media:r,...a}=e,l=(0,i.useMemo)(()=>null==r?void 0:r.file.data.attributes.mime.includes("image"),[r.file.data.attributes.mime]),c=(0,i.useMemo)(()=>null==r?void 0:r.file.data.attributes.mime.includes("video"),[r.file.data.attributes.mime]);return l||c?(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)(n.Z,{image:r.file.data,alternativeText:r.alternativeText,ref:t,...a}),c&&(0,s.jsx)(u,{video:r.file.data,alternativeText:r.alternativeText,ref:t,...a})]}):null});o.displayName="ResponsiveMedia";var d=o},7657:function(e,t,r){"use strict";var s=r(7294),i=r(5972);let n=e=>{let{setShowFullFooter:t}=(0,i.L)();(0,s.useEffect)(()=>(t(e.isFullFooter),()=>t(!0)),[e.isFullFooter,t])};t.Z=n},4874:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return M},default:function(){return q}});var s=r(5893),i=r(7657),n=r(3524),a=r(7294),l=r(7446),c=r(5972),u=r(9169),o=r(7512),d=r(383),m=r(4567);let f={mobile:[1.1,1.2],tablet:[1.05,1.1]}
1,h=e=>{let{projects:t}=e,{footer:r,smoother:i,showFullFooter:h}=(0,c.L)(),{isMobile:x}=(0,n.Z)(),v=(0,a.useRef)([]),p=(0,a.useRef)([]),j=(0,a.useMemo)(()=>x?f.mobile:f.tablet,[x]);return(0,a.useEffect)(()=>{i.current&&v.current&&(i.current.effects(v.current),i.current.effects(p.current))},[i,x]),(0,s.jsx)("section",{className:"relatedProjects",children:(t||[]).map((e,t)=>{let{project:r}=e;return(0,s.jsxs)("article",{ref:e=>v.current[t]=e,"data-speed":j[t%j.length],className:"relatedProjects-project",children:[(0,s.jsx)(m.Z,{className:"relatedProjects-imageWrapper",contentClassName:"relatedProjects-image",animationStart:"-100% bottom",children:(0,s.jsx)(u.Z,{"data-speed":"auto",media:r.data.attributes.thumbnail,ref:e=>p.current[t]=e})}),(0,s.jsx)(d.Z,{animationStart:"top bottom",children:(0,s.jsx)(o.Z,{className:"relatedProjects-link",href:l.zv.linkTo({slug:r.data.attributes.slug}),children:t%2==0?r.data.attributes.lead:r.data.attributes.title})})]},"related-project-".concat(t))})})};var x=r(4498),v=r(4695),p=r(6010),j=r(1040),g=r.n(j);r(5258);let b=e=>{let{reel:t}=e,r=(0,a.useRef)(null),i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let e=i.current,t=r.current;if(!e||!t)return;let s=g().context(()=>{g().fromTo(e,{scale:.4},{scale:1,scrollTrigger:{trigger:e,start:"top bottom",end:"center center",scrub:!0}}),g().to(t,{scrollTrigger:{trigger:t,start:"center center",end:"+=300",pin:!0,scrub:!0}})});return()=>s.revert()},[]),(0,s.jsx)("section",{className:"reel",children:(0,s.jsxs)("div",{ref:r,children:[(0,s.jsx)("div",{ref:i,children:(0,s.jsx)(u.Z,{className:(0,p.Z)("reel-video",{"has-link":t.link}),media:{file:t.video}})}),t.link?(0,s.jsx)(d.Z,{animationStart:"top bottom",children:(0,s.jsx)("div",{className:"reel-titleWrapper",children:(0,s.jsx)(o.Z,{className:"reel-title",href:t.link.url,children:t.link.title})})}):null]})})};var N=r(8546);let Z=e=>{let{content:t}=e,{isDesktop:r}=(0,n.Z)();return(0,s.jsxs)("div",{className:"homeView",children:[(0,s.jsx)(N.Z,{children:t.title}),(0,s.jsx)(b,{reel:t.reel}),(0,s.jsx)(h,{projects:t.relatedProjects}),(0,s.jsx)(d.Z,{className:"homeView-claimContainer",children:(0,s.jsx)(x.Z,{className:"homeView-claim",children:t.claim})}),t.mixedMarquee&&(0,s.jsx)(v.Z,{front:t.mixedMarquee.front,back:t.mixedMarquee.back})]})},w=e=>{let{pageContent:t}=e;return(0,i.Z)(null==t?void 0:t.pageSettings),(0,s.jsx)(Z,{content:t})};var M=!0,q=w},4730:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var s=r(5893),i=r(7294),n=r(6010);let a=i.forwardRef((e,t)=>{let{className:r="",direction:a="left",speed:l=50,children:c}=e,[u,o]=(0,i.useState)(0),[d,m]=(0,i.useState)(0),[f,h]=(0,i.useState)(1),[x,v]=(0,i.useState)(!1),p=(0,i.useRef)(null),j=t||p,g=(0,i.useRef)(null),b=(0,i.useCallback)(()=>{let e=g.current,t=j.current;if(!e||!t)return;let{width:r}=t.getBoundingClientRect(),{width:s}=e.getBoundingClientRect();h(s<r?Math.ceil(r/s):1),o(r),m(s)},[j]);(0,i.useEffect)(()=>{if(!x)return;b();let e=g.current,t=j.current;if(!e||!t)return;let r=new ResizeObserver(()=>b());return r.observe(t),r.observe(e),()=>{r&&r.disconnect()}},[b,j,x]),(0,i.useEffect)(()=>{b()},[b,c]),(0,i.useEffect)(()=>{v(!0)},[]);let N=(0,i.useMemo)(()=>d*f/l,[d,f,l]),Z=(0,i.useMemo)(()=>({"--direction":"left"===a?"normal":"reverse","--duration":"".concat(N,"s")}),[a,N]),w=e=>[...Array(Number.isFinite(e)&&e>=0?e:0)].map((e,t)=>(0,s.jsx)(i.Fragment,{children:i.Children.map(c,e=>(0,s.jsx)("div",{className:"marquee-child",children:e}))},t));return x?(0,s.jsxs)("div",{ref:j,className:(0,n.Z)("marquee",r),children:[(0,s.jsxs)("div",{className:"marquee-content",style:Z,children:[(0,s.jsx)("div",{className:"marquee-initialChildContainer",ref:g,children:i.Children.map(c,e=>(0,s.jsx)("div",{className:"child",children:e}))}),w(f-1)]}),(0,s.jsx)("div",{className:"marquee-content",style:Z,children:w(f)})]}):null});a.displayName="Marquee";var l=a}},function(e){e.O(0,[774,888,179],function(){return e(e.s=5728)}),_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.