PageSourceSearch

https://www.renault.re/client/renault-title-with-icon-7d728d0b41d5b19a.js

js renault.re collected 2026-10-06 19:03:01 UTC 7,475 bytes, 1 lines download raw bytes

1"use strict";(self.rspackChunkOne=self.rspackChunkOne||[]).push([[15795],{7459(e,t,i){i.d(t,{X:()=>m});var n=i(91987),s=i(71763),r=i(20496),l=i(97500),a=i.n(l),o=i(16383),d=i(46773),c=i(20409),u=i(5839);let m=(0,r.Ng)(({app:e,page:t})=>({threshold:e.threshold??u.qN,isBrowserEngine:e.isBrowserEngine,isEditMode:t.data?.mode==="EDIT"}),null,null,{forwardRef:!0})(({autoPlay:e=!0,src:t,alt:i,video:r,isBrowserEngine:l,threshold:u,disableLazyLoaded:m=!1,isEditMode:v,sizes:p=["100vw","100vw","1280px"],onVideoEnded:h,onVideoProgress:f,onVideoStarted:g,endSrc:x})=>{let[y,b]=(0,s.useState)(!1),[_,C]=(0,s.useState)(!0),[j,w]=(0,s.useState)(!1),N=(0,s.useRef)(null),{ref:E,isVisible:k}=(0,c.A)({role:"animation",stayVisible:!1}),S=(0,d.A)(),V=(0,s.useCallback)(()=>{b(!0),h?.()},[h]);(0,s.useEffect)(()=>{let t=N.current;_&&t&&(k&&e?t?.play().catch(e=>{"NotAllowedError"===e.name&&C(!1)}):t?.pause())},[e,k,_,g,S]);let I=(0,s.useCallback)(()=>{let e=N.current;e?.duration&&Number.isFinite(e.duration)&&f?.(e.currentTime/e.duration)},[f]);(0,s.useEffect)(()=>{w(!1),b(!1)},[r?.mobile]);let{desktop:z,tablet:M,mobile:O}=r||{},A=O;"large"===u&&z?A=z:"medium"===u&&M&&(A=M);let R=(0,s.useMemo)(()=>d.l.includes(S.effectiveType),[S.effectiveType]),W=!A&&!x?.small||A,L=A&&l&&k&&!y&&_&&!R,T=x?.small&&(!A||j)&&!R,q=T?x:t;return t?(0,n.jsxs)("div",{className:a()("ImageWithVideo",{"is-editMode":v}),"aria-hidden":"true",ref:E,children:[(W||T)&&(0,n.jsx)("div",{className:"ImageWithVideo__picture",children:(0,n.jsx)(o._,{src:q||{},alt:i,width:"100%",height:"100%",disableLazyLoaded:m,sizes:p})}),L&&(0,n.jsx)("video",{ref:N,className:"ImageWithVideo__video",autoPlay:e,onEnded:V,loop:!x?.small,muted:!0,src:A,playsInline:!0,onPlaying:()=>{w(!0),g?.()},onTimeUpdate:f?I:void 0},A)]}):null})},19017(e,t,i){i.r(t);var n=i(91987),s=i(97500),r=i.n(s),l=i(50865),a=i(7459),o=i(93196);let d={center:"is-center",right:"is-right"},c={small:"is-small",medium:"is-medium",large:"is-large"};i.d(t,{},{default:({src:e,imageMedium:t,imageLarge:i,title:s="",titleSuffix:u="",bodyCopy:m="",alignment:v="center",displayMode:p="small",strapline:h="",overlay:f,editContext:g,className:x,notGenerateH:y=!1,videoMedium:b,videoLarge:_})=>{let C={large:i,medium:t,small:e},j={large:{desktop:_?.desktop,mobile:_?.mobile},medium:{desktop:b?.desktop,tablet:b?.tablet,mobile:b?.mobile},small:void 0},w=C[p]?.small;return(0,n.jsxs)("div",{className:r()("Component23v0",x,d[v],c[p],{"is-overlayed":f,"has-asset":w,"is-edit-mode":(0,o.Q)(g)}),children:[(0,n.jsxs)("div",{className:"Component23v0__wrapper",children:[w&&(0,n.jsx)("div",{className:"Component23v0__assetWrapper",children:(0,n.jsx)(a.X,{src:C[p],alt:s||"",video:j[p],sizes:"100vw",disableLazyLoaded:!y})}),(s||m||h)&&(0,n.jsxs)("div",{className:"Component23v0__content",children:[(h||s)&&(0,n.jsxs)(y?"div":"h1",{className:"Component23v0__heading",children:[h&&(0,n.jsx)("span",{className:"Component23v0__strapline",children:h}),s&&(0,n.jsxs)("span",{className:"Component23v0__title",children:[s," ",u&&(0,n.jsxs)("span",{className:"Component23v0__titleSuffix",children:[" ",u]})]})]}),m&&(0,n.jsx)("div",{className:"Component23v0__body",children:(0,n.jsx)(l.d,{content:m})})]})]}),(0,n.jsx)(o.Cq,{editContext:g})]})}})},49389(e,t,i){i.r(t);var n=i(91987),s=i(71763),r=i(97500),l=i.n(r),a=i(16383),o=i(93196),d=i(32739);i.d(t,{},{default:({title:e,titleSuffix:t,backgroundColorWhite:i,image:r,editContext:c,onlyCards:u,className:m,...v})=>(0,n.jsxs)("div",{className:l()("SliceHorizontalCards",m,{"has-background":i}),children:[!u&&(0,n.jsxs)(s.Fragment,{children:[r&&r.src&&(0,n.jsx)("div",{className:"SliceHorizontalCards__picture",children:(0,n.jsx)(a._,{src:r.src,alt:r.alt||"",height:"100%",width:"100%"})}),e?.trim()||t?.trim()?(0,n.jsxs)("div",{className:"SliceHorizontalCards__title",children:[e," ",t]}):null]}),(0,n.jsx)("div",{className:"SliceHorizontalCards__cardsWrapper",children:(0,d._n)(v,e=>({...e}))}),(0,n.jsx)(o.Cq,{editContext:c,displayEditionZone:!Object.keys(v).length})]})})},65778(e,t,i){i.r(t);var n=i(91987),s=i(93196),r=i(32739),l=i(19017),a=i(49389);let o={"one/components/edito/component23v0":l.default,"one/components/edito/componentD3v0":[a.default,{onlyCards:!0}]};i.d(t,{},{default:({editContext:e,...t})=>(0,n.jsxs)("div",{className:"TitleWithIcon",children:[(0,r.AZ)(t,o),(0,n.jsx)(s.Cq,{editContext:e})]})})},46773(e,t,i){var n=i(71763);let s=()=>navigator&&(navigator.connection||navigator.mozConnection||navigator.webkitConnection);i.d(t,{},{A:()=>
1{let[e,t]=(0,n.useState)(void 0);return(0,n.useEffect)(()=>{t(s())},[]),(0,n.useEffect)(()=>{if(!e)return()=>{};let i=()=>t(s());return e?.addEventListener?.("change",i,{passive:!0}),()=>{e?.removeEventListener?.("change",i)}},[e,t]),(0,n.useMemo)(()=>({effectiveType:e?.effectiveType??"unknown"}),[e?.effectiveType])},l:["2g","slow-2g","3g"]})},20409(e,t,i){var n=i(71763),s=i(24948),r=i(5839);i.d(t,{},{A:e=>{let t=(0,n.useMemo)(()=>(e=>{let t="u">typeof window&&r.LO.large&&window.innerWidth>=r.LO.large,{role:i,options:n={},stayVisible:s=!0}=e;return"lazyload"===i?n.rootMargin=`0px -10px ${t?"200px":"30px"} 0px`:"animation"===i?n.rootMargin=`0px -10px ${t?"-140px":"-100px"} 0px`:"technical"===i&&(n.rootMargin="0px -10px 0px 0px"),{...n,triggerOnce:s}})(e),[e]),{ref:i,inView:l=!1,entry:a}=(0,s.Wx)(t);return{ref:i,isVisible:l,entry:a}}})},24948(e,t,i){var n,s,r=i(71763),l=Object.defineProperty,a=new Map,o=new WeakMap,d=0;function c({threshold:e,delay:t,trackVisibility:i,rootMargin:s,scrollMargin:l,root:u,triggerOnce:m,skip:v,initialInView:p,fallbackInView:h,onChange:f}={}){var g;let[x,y]=r.useState(null),b=r.useRef(f),_=r.useRef(p),[C,j]=r.useState({inView:!!p,entry:void 0});b.current=f,r.useEffect(()=>{let r;if(void 0===_.current&&(_.current=p),!v&&x)return r=function(e,t,i={},s=n){if(void 0===window.IntersectionObserver&&void 0!==s){let n=e.getBoundingClientRect();return t(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}let{id:r,observer:l,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var i;return`${t}_${"root"===t?!(i=e.root)?"0":(o.has(i)||(d+=1,o.set(i,d.toString())),o.get(i)):e[t]}`}).toString(),i=a.get(t);if(!i){let n,s=new Map,r=new IntersectionObserver(t=>{t.forEach(t=>{var i;let r=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=r),[...null!=(i=s.get(t.target))?i:[]].forEach(e=>{e(r,t)})})},e);n=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:r,elements:s},a.set(t,i)}return i}(i),u=c.get(e)||[];return c.has(e)||c.set(e,u),u.push(t),l.observe(e),function(){u.splice(u.indexOf(t),1),0===u.length&&(c.delete(e),l.unobserve(e)),0===c.size&&(l.disconnect(),a.delete(r))}}(x,(e,t)=>{let i=_.current;_.current=e,(void 0!==i||e)&&(j({inView:e,entry:t}),b.current&&b.current(e,t),t.isIntersecting&&m&&r&&(r(),r=void 0))},{root:u,rootMargin:s,scrollMargin:l,threshold:e,trackVisibility:i,delay:t},h),()=>{r&&r()}},[Array.isArray(e)?e.toString():e,x,u,s,l,m,v,i,h,t]);let w=null==(g=C.entry)?void 0:g.target,N=r.useRef(void 0);x||!w||m||v||N.current===w||(N.current=w,j({inView:!!p,entry:void 0}),_.current=p);let E=[y,C.inView,C.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}r.Component,null!=(null!=(s=r.useInsertionEffect)?s:r.useLayoutEffect)||r.useEffect,i.d(t,{Wx:()=>c})}}]);

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.