PageSourceSearch

https://www.fila.com.br/_next/static/chunks/576.641eb52d6a40e52e.js

js fila.com.br collected 2026-10-01 12:14:58 UTC 12,657 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[576],{62981:(o,e,r)=>{r.d(e,{a:()=>l});var n=r(7620);function l(o){var{slidesCount:e,autoplayMs:r=6e3}=o,[l,a]=(0,n.useState)(0),[t,s]=(0,n.useState)(!1),i=function(){var[o,e]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(window.matchMedia){var o,r=window.matchMedia("(prefers-reduced-motion: reduce)");e(r.matches);var n=o=>e(o.matches);return null==(o=r.addEventListener)||o.call(r,"change",n),()=>{var o;return null==(o=r.removeEventListener)?void 0:o.call(r,"change",n)}}},[]),o}(),c=(0,n.useRef)(null),d=(0,n.useCallback)(o=>{e<=0||a((o%e+e)%e)},[e]),u=(0,n.useCallback)(()=>{a(o=>(o+1)%e)},[e]),f=(0,n.useCallback)(()=>{a(o=>(o-1+e)%e)},[e]);return(0,n.useEffect)(()=>{if(!t&&!i&&!(e<=1)&&r&&!(r<=0)){var o=setInterval(u,r);return()=>clearInterval(o)}},[t,i,e,r,u]),{activeIndex:l,isPaused:t,next:u,prev:f,goTo:d,setPaused:s,containerProps:{tabIndex:0,onMouseEnter:()=>s(!0),onMouseLeave:()=>s(!1),onFocus:()=>s(!0),onBlur:()=>s(!1),onKeyDown:o=>{switch(o.key){case"ArrowRight":o.preventDefault(),u();break;case"ArrowLeft":o.preventDefault(),f();break;case"Home":o.preventDefault(),d(0);break;case"End":o.preventDefault(),d(e-1)}},onPointerDown:o=>{c.current=o.clientX},onPointerUp:o=>{var e=c.current;if(c.current=null,null!=e){var r=o.clientX-e;60>Math.abs(r)||(r<0?u():f())}}}}}},90576:(o,e,r)=>{r.r(e),r.d(e,{LoadingFallback:()=>_,default:()=>N});var n=r(42546),l=r(49),a=r(54568),t=r(80728),s=r(7620),i=r(86272),c=r(78827),d=r(47638),u=(o,e)=>window.matchMedia("(min-width: 1024px)").matches&&null!=e?e:o;function f(o){var{promotionName:e,mobilePromotionId:r,desktopPromotionId:t}=o,i=(0,c._)(o,["promotionName","mobilePromotionId","desktopPromotionId"]),[f,v]=(0,s.useState)(()=>u(r,t));return(0,s.useEffect)(()=>{var o=window.matchMedia("(min-width: 1024px)"),e=()=>v(u(r,t));return e(),o.addEventListener("change",e),()=>o.removeEventListener("change",e)},[r,t]),(0,a.jsx)(d.PromotionTracker,(0,l._)((0,n._)({},i),{promotion:{promotion_name:e,promotion_id:f}}))}var v=r(62981),h=r(40570);function p(o){var{label:e,standard:r,showIcon:n,hover:l,height:t,paddingX:s}=o;return(0,a.jsx)("span",{className:(0,h.E)("rounded-full flex items-center justify-center w-max group/cta group/icon border border-[transparent] transition-all",!(null==r?void 0:r.backGround)&&"bg-primary",!(null==l?void 0:l.backGround)&&"hover:bg-secondary",(null==l?void 0:l.backGround)&&"hover:bg-(--bg-hover)!",(null==l?void 0:l.borderColor)&&"hover:border-(--bc-hover)!"),style:{height:t||"44px",paddingLeft:s||"16px",paddingRight:s||"16px",backgroundColor:(null==r?void 0:r.backGround)?null==r?void 0:r.backGround:"transparent",borderColor:(null==r?void 0:r.borderColor)?null==r?void 0:r.borderColor:"transparent","--bg-hover":null==l?void 0:l.backGround,"--bc-hover":null==l?void 0:l.borderColor},children:(0,a.jsxs)("p",{className:(0,h.E)("flex items-center font-noto text-xs sm:text-sm transition-all duration-300",!(null==r?void 0:r.color)&&"text-white",!(null==l?void 0:l.color)&&"group-hover/cta:text-primary",(null==l?void 0:l.color)&&"group-hover/cta:text-(--color-hover)!"),style:{color:null==r?void 0:r.color,"--color-hover":null==l?void 0:l.color},children:[e,n&&(0,a.jsx)("svg",{className:"ml-2 icon-cta transition-transform group-hover/icon:rotate-45",width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M10.0208 3.41421L1.41421 12.0208L0 10.6066L8.60659 2H1.02082V0H12.0208V11H10.0208V3.41421Z",fill:"currentColor"})})]})})}function m(o){var{title:e,subTitle:r}=o;return(0,a.jsxs)("div",{className:"flex flex-col tracking-[0] leading-[normal] [&_span]:tracking-[0] [&_span]:leading-[normal] gap-4 lg:gap-0",children:[e&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:e}}),r&&(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})]})}var g="mx-auto px-[20px] lg:px-[5.416%] max-w-[calc(1712px_+_(5.416%_*_2))]",b={images:[{desktop:{src:"https://assets.decocms.com/fila-store/c9d78cc5-38c1-4495-87ba-dadebc2a518f/c992b24e-8771-4dd4-9989-251f41c9bab5.webp",ctas:[{label:"COMPRAR AGORA",standard:{backGround:"#ffffff",color:"#19191A"},hover:{backGround:"#19191A",color:"#ffffff"}}]},mobile:{src:"https://assets.decocms.com/fila-store/fe308b00-ecfa-4208-b697-2d66b34ed084/a4e84f1a-906f-44ff-b4b8-57d69192bdbe.webp",ctas:[{label:"COMPRAR AGORA",standard:{backGround:"#ffffff",color:"#19191A"},hover:{backGround:"#19191A",color:"#ffffff"}}]},alt:"Racer",link:"#"}],preload:!0,show:{action:!0},autoplay:{interval:5,activate:!1}};function x(o){var{image:e,lcp:r}=o,{alt:n,mobile:l,desktop:t}=e,s=r?"eager":"lazy",i=r?"high":"auto";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{className:"w-full h-auto lg:hidden",src:l.src,width:(null==l?void 0:l.width)||375,height:(null==l?void 0:l.height)||467,loading:s,fetchPriority:i,alt:n}),(0,a.jsx)("img",{className:"w-full h-auto hidden lg:block",src:t.src,width:(null==t?void 0:t.width)||1440,height:(null==t?void 0:t.height)||560,loading:s,fetchPriority:i,alt:n})]})}function w(o){var{data:e,link:r,variant:t}=o,{texts:s,ctas:i}=e;if(!(null==s?void 0:s.length)&&!(null==i?void 0:i.length))return null;var c="desktop"===t;return(0,a.jsxs)("div",{className:c?"hidden lg:block":"lg:hidden",children:[(null==s?void 0:s.length)?(0,a.jsx)("div",{className:(0,h.E)(g,"absolute inset-x-0 flex flex-col gap-3 z-10",c?"bottom-[
110%]":"bottom-[21%]"),children:s.map((o,e)=>(0,a.jsx)(m,(0,n._)({},o),e))}):null,(null==i?void 0:i.length)?(0,a.jsx)("div",{className:(0,h.E)(g,"absolute inset-x-0 flex flex-col gap-3 z-10",c?"bottom-[10%] items-end":"bottom-[9%]"),children:i.map((o,e)=>(0,a.jsx)(p,(0,l._)((0,n._)({},o),{link:(null==o?void 0:o.link)||r}),e))}):null]})}function k(o){var{image:e,lcp:r,id:n,showAction:l}=o,{alt:s,mobile:i,desktop:c,link:d}=e;return(0,a.jsx)(f,{as:"div",className:"w-full",promotionName:s,mobilePromotionId:i.src,desktopPromotionId:c.src,children:(0,a.jsxs)(t.default,{id:n,href:d||"#","aria-label":s,className:"relative overflow-y-hidden w-full block",children:[(0,a.jsx)(x,{image:e,lcp:r}),l?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(w,{data:i,link:d,variant:"mobile"}),(0,a.jsx)(w,{data:c,link:d,variant:"desktop"})]}):null]})})}function j(o){var e,r,l,t,{config:c,onPrev:d,onNext:u}=o,f=(null==c?void 0:c.styles)||{},v=(null==c?void 0:c.hoverStyles)||{},p=(0,n._)({},f,null==c||null==(e=c.prev)?void 0:e.styles),m=(0,n._)({},v,null==c||null==(r=c.prev)?void 0:r.hoverStyles),b=(0,n._)({},f,null==c||null==(l=c.next)?void 0:l.styles),x=(0,n._)({},v,null==c||null==(t=c.next)?void 0:t.hoverStyles),w=p.color||"#ffffff",k=p.borderColor||"#ffffff",j=p.backgroundColor||"transparent",y=!1!==p.shadow,C=m.hoverColor||"#000000",N=m.hoverBackgroundColor||"#ffffff",_=m.hoverBorderColor,E=b.color||"#ffffff",A=b.borderColor||"#ffffff",M=b.backgroundColor||"transparent",I=!1!==b.shadow,G=x.hoverColor||"#000000",L=x.hoverBackgroundColor||"#ffffff",P=x.hoverBorderColor,S=(0,s.useId)().replace(/[^a-zA-Z0-9]/g,"");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n            .arrow-prev-".concat(S," {\n              color: ").concat(w,";\n              border-color: ").concat(k,";\n              background-color: ").concat(j,";\n              box-shadow: ").concat(y?"0 4px 10px rgba(0,0,0,0.2)":"none",";\n            }\n            .arrow-prev-").concat(S,":hover {\n              color: ").concat(C,";\n              background-color: ").concat(N,";\n              ").concat(_?"border-color: ".concat(_,";"):"","\n            }\n            .arrow-prev-").concat(S," svg { color: ").concat(w,"; }\n            .arrow-prev-").concat(S,":hover svg { color: ").concat(C,"; }\n\n            .arrow-next-").concat(S," {\n              color: ").concat(E,";\n              border-color: ").concat(A,";\n              background-color: ").concat(M,";\n              box-shadow: ").concat(I?"0 4px 10px rgba(0,0,0,0.2)":"none",";\n            }\n            .arrow-next-").concat(S,":hover {\n              color: ").concat(G,";\n              background-color: ").concat(L,";\n              ").concat(P?"border-color: ".concat(P,";"):"","\n            }\n            .arrow-next-").concat(S," svg { color: ").concat(E,"; }\n            .arrow-next-").concat(S,":hover svg { color: ").concat(G,"; }\n          ")}}),(0,a.jsxs)("div",{className:(0,h.E)(g,"absolute inset-x-0 top-1/2 -translate-y-1/2 z-20 hidden md:flex items-center justify-between pointer-events-none"),children:[(0,a.jsx)("button",{type:"button","aria-label":"Previous item",onClick:d,className:"pointer-events-auto arrow-prev-".concat(S," group w-12 h-12 flex items-center justify-center rounded-full border border-2 rotate-180 transition"),children:(0,a.jsx)(i.A,{size:16,id:"carousel-arrow"})}),(0,a.jsx)("button",{type:"button","aria-label":"Next item",onClick:u,className:"pointer-events-auto arrow-next-".concat(S," group w-12 h-12 flex items-center justify-center rounded-full border border-2 transition"),children:(0,a.jsx)(i.A,{size:16,id:"carousel-arrow"})})]})]})}function y(o){var{count:e,activeIndex:r,onGoTo:n,bg:l,shadow:t,autoplayMs:s,className:i}=o,c="transparent"===l;return(0,a.jsx)("ul",{className:(0,h.E)("rounded-full flex gap-2 items-center",c?"":"px-8 py-4",!c&&t?"shadow-md backdrop-blur-sm":"",i),style:{backgroundColor:c?"transparent":l},children:Array.from({length:e}).map((o,e)=>{var l=e===r;return(0,a.jsx)("li",{children:(0,a.jsx)("button",{type:"button",onClick:()=>n(e),"aria-label":"go to slider item ".concat(e),className:"focus:outline-none group flex items-center",children:(0,a.jsx)("span",{className:(0,h.E)("cursor-pointer relative rounded-full overflow-hidden transition-all duration-300 block",l?"w-[26px] h-[8px] bg-[#e5e5e5]":"w-[8px] h-[8px] bg-gray-300"),children:l?(0,a.jsx)("span",{className:"absolute inset-0",style:{background:s?"linear-gradient(to right, #000000 var(--fila-dot-progress), transparent var(--fila-dot-progress))":"#e5e5e5",animation:s?"filaCarouselDotFill ".concat(s,"ms linear forwards"):"none"}},r):null})})},e)})})}function C(o){var e,r,n,l,{count:t,activeIndex:s,onGoTo:i,config:c,autoplayMs:d}=o,u=(null==c||null==(e=c.desktop)?void 0:e.backgroundColor)||"#ffffff",f=(null==c||null==(r=c.mobile)?void 0:r.backgroundColor)||"#ffffff",v=(null==c||null==(n=c.desktop)?void 0:n.shadow)!==!1,p=(null==c||null==(l=c.mobile)?void 0:l.shadow)!==!1;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("style",{dangerouslySetInnerHTML:{__html:"\n            @property --fila-dot-progress {\n              syntax: '<percentage>';\n              inherits: false;\n              initial-value: 0%;\n            }\n            @keyframes filaCarouselDotFill {\n              from { --fila-dot-progress: 0%; }\n              to   { --fila-dot-progress: 100%; }\n            }\n          "}}),(0,a.jsxs)("div",{className:(0,h.E)(g,"absolute inset-x-0 bottom-5 lg:bottom-8 z-10 flex items-center"),children:[(0,a.jsx)(y,{count:t,activeIndex:s,onGoTo:i,bg:f,shadow:p,autoplayMs:d,className:"lg:hidden"}),(0,a.jsx)(y,{count:t,activeIndex:s,onGoTo:i,bg:u,shadow:v,autoplayMs:d,className:"hidden lg:flex"})]})]})}let N=function(o){var e,r,t,i=(0,s.useId)().replace(/[^a-zA-Z0-9]/g,""),{images:c,preload:d,autoplay:u}=(0,n._)({},b,o),f=null!=c?c:[],p=null==(e=o.fullWidth)||e,m=(null==u?void 0:u.activate)&&(null==u?void 0:u.interval)?1e3*u.interval:0,{activeIndex:g,next:x,prev:w,goTo:y,containerProps:N}=(0,v.a)({slidesCount:f.length,autoplayMs:m});return(0,a.jsxs)("div",(0,l._)((0,n._)({id:i,role:"region","aria-roledescription":"carousel",className:"relative mb-[50px] lg:mb-20"},N),{children:[(0,a.jsx)("div",{className:"relative w-full grid",children:f.map((e,r)=>{var n=r===g;return(0,a.jsx)("div",{role:"group",className:(0,h.E)("[grid-area:1/1] w-full flex justify-center transition-opacity duration-500 ease-in-out motion-reduce:transition-none",n?"opacity-100 z-1":"opacity-0 pointer-events-none"),"aria-roledescription":"slide","aria-hidden":!n||void 0,children:(0,a.jsx)("div",{className:(0,h.E)("w-full",!p&&"px-5 lg:px-[50px]"),children:(0,a.jsx)(k,{showAction:o.show.action,image:e,lcp:0===r&&d,id:"".concat(i,"::").concat(r)})})},r)})}),(null==(r=o.show.arrows)?void 0:r.show)&&f.length>1?(0,a.jsx)(j,{config:o.show.arrows,onPrev:w,onNext:x}):null,(null==(t=o.show.dots)?void 0:t.show)&&f.length>1?(0,a.jsx)(C,{count:f.length,activeIndex:g,onGoTo:y,config:o.show.dots,autoplayMs:m}):null]}))};function _(){return(0,a.jsx)("div",{className:"relative lg:min-h-min min-h-[535px] mb-[50px] lg:mb-20",children:(0,a.jsx)("div",{className:"animate-pulse bg-gray-300 w-full h-full"})})}}}]);

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.