PageSourceSearch

https://www.renault.by/scripts/menu-provider-fo/HeaderDesktopDacia-HeaderDesktopRenault-commons.js

js renault.by collected 2026-10-06 03:52:49 UTC 7,508 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmenu_provider_web_compontent=self.webpackChunkmenu_provider_web_compontent||[]).push([[96],{1662:(e,t,n)=>{n.d(t,{A:()=>h});var r=n(5556),i=n.n(r),o=n(6540),a=n(5617),s=n(644),l=n(4075),d=n(1863);const p=(0,s.A)(l.A,{shouldForwardProp:e=>!["opened","directLink"].includes(e),target:"eyqfg0d1"})((e=>{let{theme:{themeName:t,palette:n,breakpoints:r,spacing:i,secondaryFont:o},opened:a,directLink:s}=e;return{position:"relative",padding:i(2),width:"100%",color:"Renault One"===t?n.common.linkWhite:"#000000",fontFamily:"Dacia One"===t&&o,fontSize:"Renault One"===t?"16px":"14px",fontWeight:700,textAlign:"left",textTransform:"Renault One"===t?"none":"uppercase",...a&&{backgroundColor:"Renault One"===t?"#000000":"#f2f2f2",paddingLeft:36,lineHeight:"Dacia One"===t&&1.15},..."Dacia One"===t&&{[r.up("sm")]:{fontSize:"14px",color:"#000000"}},svg:{transform:"rtl"===document.dir?"translateY(-50%) rotate(180deg)":"translateY(-50%)"},[r.up("md")]:{fontSize:"12px",height:"100%",display:"flex",alignItems:"center",padding:"Renault One"===t?i(0,1):"3px",...a&&{backgroundColor:"Renault One"===t?n.primary.contrastText:"transparent",paddingLeft:i(1),color:"Renault One"===t?"rgba(255, 255, 255, .8)":"unset"}},[r.up("lg")]:{fontSize:"Renault One"===t?"14px":"0.838rem",padding:`0 ${i(1)}`,marginTop:"Dacia One"===t&&"4px"},"&:hover, &:focus":{[r.up("md")]:{color:"Renault One"===t?"rgba(255, 255, 255, .8)":"#000000",fontWeight:"Dacia One"===t&&700}},..."Dacia One"===t&&{"& span":{[r.up("md")]:{padding:i(s?2:1),textAlign:"center"}}}}}),""),c=(0,s.A)(d.A,{shouldForwardProp:e=>"opened"!==e,target:"eyqfg0d0"})((e=>{let{theme:t,opened:n}=e;return{position:"absolute",top:"50%",transform:n?"translateY(-50%) rotate(-180deg) !important":"translateY(-50%)",right:t.spacing(1),width:13,fill:"Renault One"===t.themeName&&t.palette.common.linkWhite,left:n&&8,[t.breakpoints.up("md")]:{display:"none"}}}),"");var m=n(4848);class u extends o.Component{static displayName="DirectLink";static propTypes=(()=>({id:i().oneOfType([i().string,i().number]),link:i().shape(a.So).isRequired,opened:i().bool,iconId:i().string,onClick:i().func}))();static defaultProps={iconId:"",opened:!1,onClick(){}};handleClick=()=>{const{onClick:e,id:t}=this.props;e(t)};render(){const{link:e,iconId:t,opened:n,className:r}=this.props,{entryType:i,newTab:o,url:a,text:s}=e,l="directLink"===i?"a":"button",d=o?"_blank":"_self",u="directLink"===i?void 0:this.handleClick;return(0,m.jsxs)(p,{opened:n,directLink:"directLink"===i,component:l,href:a,target:d,underline:"none",variant:"body1",onClick:u,className:r,"aria-expanded":n,children:[(0,m.jsx)("span",{children:s}),t&&(0,m.jsx)(c,{opened:n,id:t,size:13,viewBox:"0 0 185.343 185.343"})]})}}const h=u},4648:(e,t,n)=>{n.d(t,{Ay:()=>s});var r=n(228),i=n.n(r),o=n(5556),a=n.n(o);a().shape({addListener:a().func.isRequired,on:a().func.isRequired,removeListener:a().func.isRequired,off:a().func.isRequired,emit:a().func.isRequired,removeAllListeners:a().func.isRequired});const s=new class{_EVENTS={};_EE=(()=>new(i()))();addListener=(()=>{var e=this;return function(){return e.on(...arguments)}})();on=(e,t,n)=>(e&&"string"==typeof e?"function"==typeof t?this._EE.on(e,t,{messageService:this,context:n}):console.error(new TypeError(`Expected callback to be a function, received ${typeof t} instead..`)):console.error(new TypeError(`Expected eventName "${e}" to be an not empty string.`)),this);removeListener=(()=>{var e=this;return function(){return e.off(...arguments)}})();off=(e,t,n)=>(e&&"string"==typeof e?"function"==typeof t?this._EE.removeListener(e,t,{messageService:this,context:n}):console.error(new TypeError(`Expected callback to be a function, received ${typeof t} instead..`)):console.error(new TypeError(`Expected eventName "${e}" to be an not empty string.`)),this);emit=(e,t)=>(console.info(`Event "${e}" triggered.\n`,t),e&&"string"==typeof e?this._EE.emit(e,t):console.error(new TypeError(`Expected eventName "${e}" to be an not empty string.`)),this);removeAllListeners=e=>(this._EE.removeAllListeners(e),this)}},7584:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(5556),i=n.n(r),o=n(6540),a=n(644);const s=(0,a.A)("picture",{target:"e10zytrv1"})((e=>{let{theme:t}=e;return{display:"inline-block",width:"100%",height:"auto",overflow:"hidden",margin:0,[t.breakpoints.down("xl")]:{marginBottom:t.spacing(5.5)}}}),""),l=(0,a.A)("img",{target:"e10zytrv0"})((e=>{let{theme:t,loaded:n}=e;return{height:"auto",filter:n?"blur(0px)":"blur(15px)",transition:"transform .35s ease-in-out",maxHeight:166,"&:hover":{transform:"scale(1.07)"},[t.breakpoints.down("sm")]:{maxHeight:120},[t.breakpoints.down("xl")]:{width:248}}}),"");var d=n(4848);class p extends o.Component{static displayName="HeaderImage";static propTypes=(()=>
1({classes:i().object,image:i().shape({title:i().string,src:i().shape({small:i().string,medium:i().string,large:i().string,smallx2:i().string,mediumx2:i().string,largex2:i().string,fpo:i().string})})}))();static defaultProps={};state={loaded:!1};handleImageLoad=()=>{this.setState({loaded:!0})};createSrcSetPath=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return{srcSet:t?[e,t+" 2x"].join(", "):e,type:"image/jpeg",media:n}};render=()=>{const{image:e,image:{src:t,src:{small:n,smallx2:r,medium:i,mediumx2:o,large:a,largex2:p}}}=this.props,{loaded:c}=this.state;if(!e||!t)return console.warning("Missing image src!"),null;const m=[this.createSrcSetPath(a,p,"(min-width: 1025px)"),this.createSrcSetPath(i,o,"(min-width: 641px)"),this.createSrcSetPath(n,r)];return(0,d.jsxs)(s,{children:[m.map(((e,t)=>{let{srcSet:n,media:r,type:i}=e;return(0,d.jsx)("source",{media:r,srcSet:n,type:i},t)})),(0,d.jsx)(l,{loaded:c,onLoad:this.handleImageLoad,src:e.src.fpo||e.src.small||e.src.medium||e.src.large,alt:e.title||"picture"})]})}}const c=p},7787:(e,t,n)=>{n.d(t,{A:()=>g});var r=n(5556),i=n.n(r),o=n(6540),a=n(5617),s=n(644),l=n(4075);const d=(0,s.A)("div",{shouldForwardProp:e=>"expanded"!==e,target:"e8irxtl3"})((e=>{let{theme:t,expanded:n}=e;return{display:n?"block":"none",overflowY:"auto",backgroundColor:n&&t.palette.common.white,[t.breakpoints.up("md")]:{position:"absolute",top:"calc(100% + 3px)",left:-24,width:280,borderTop:`1px solid ${t.palette.common.linkSeparator}`,boxShadow:t.shadows[4]}}}),""),p=(0,s.A)("ul",{target:"e8irxtl2"})((e=>{let{theme:t}=e;return{display:"flex",flexDirection:"column",padding:"16px 32px 32px !important",width:"100%",[t.breakpoints.up("sm")]:{padding:"16px 32px 32px !important"}}}),""),c=(0,s.A)("li",{target:"e8irxtl1"})((e=>{let{theme:t}=e;return{"&:not(:last-of-type)":{marginBottom:t.spacing(4),[t.breakpoints.up("sm")]:{marginBottom:t.spacing(1)}}}}),""),m=(0,s.A)(l.A,{target:"e8irxtl0"})((e=>{let{theme:t,isRenault:n}=e;return{color:n?t.palette.common.listItemLink:"#122aff",[t.breakpoints.up("sm")]:{fontSize:14},"&:hover":{color:n?t.palette.common.listItemLink:t.palette.common.black,fontFamily:t.primaryFont,fontWeight:n&&700}}}),"");var u=n(4848);class h extends o.Component{static displayName="Dropdown";static propTypes=(()=>({classes:i().object.isRequired,dropdown:i().arrayOf(i().shape(a.tz)).isRequired,expanded:i().bool}))();static defaultProps={expanded:!1};render(){const{dropdown:e,expanded:t}=this.props;return(0,u.jsx)(d,{expanded:t,children:(0,u.jsx)(p,{children:e.map(((e,t)=>{let{url:n,newTab:r,text:i}=e;return(0,u.jsx)(c,{children:(0,u.jsx)(m,{href:n,target:r?"_blank":"_self",underline:"none",variant:"body1",children:i})},t)}))})})}}const g=h}}]);

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.