PageSourceSearch

https://www.renault.sk/client/renault-page-title-96aac4c8db83fbdd.js

js renault.sk collected 2026-09-25 06:45:38 UTC 6,611 bytes, 1 lines download raw bytes

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