PageSourceSearch

https://www.deere.no/resource/themes/deere-core/js/3878-2387372-1.js

js deere.no collected 2026-10-07 23:18:24 UTC 10,576 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunk_deere_deere_core_theme=globalThis.webpackChunk_deere_deere_core_theme||[]).push([[3878],{1709:(e,o,t)=>{t.d(o,{K:()=>n});var n={EVENLY:"50_50",TWO_THIRDS:"33_67",ONE_THIRD:"67_33"}},12312:(e,o,t)=>{t.d(o,{L:()=>l});var n=t(40468),i=t(56182),r=t(4976);function l(e){var o=e,{color:t}=o,l=(0,n.YG)(o,["color"]);return(0,r.Y)(i.A,{sx:{color:t,"fuel-icon, fuel-icon::part(fuel-icon)":{display:"block"}},children:(0,r.Y)("fuel-icon",(0,n.IA)({},l))})}},23049:(e,o,t)=>{t.d(o,{F:()=>l});var n=t(24849),i=t(22155);function r(){const e=window.OnetrustActiveGroups;if(e){return e.split(",").indexOf(n.x.MARKETING_COOKIE)>=0}return!1}function l(){const[e,o]=(0,i.useState)(r()),t=(0,i.useCallback)(()=>{o(r())},[]);return(0,i.useEffect)(()=>(window.addEventListener("OneTrustGroupsUpdated",t),()=>{window.removeEventListener("OneTrustGroupsUpdated",t)}),[t]),e}},33878:(e,o,t)=>{t.d(o,{U:()=>D});var n=t(86060),i=t(1709),r=t(79963),l=t(91237),a=t(65388),d=t(30574),s=t(980),c=t(56961),u=t(16223),p=t(86828),g=t(2986),m=t(44068),v=t(83735),h=t(40468),x=t(78719),f=t(56182),b=t(83045),A=t(17961),C=t(18806),T=t(4976),k={Picture:g.V,Video:r.p,Svg:n.B},I=new Map([[i.K.EVENLY,{textGrid:6,mediaGrid:6}],[i.K.TWO_THIRDS,{textGrid:8,mediaGrid:4}],[i.K.ONE_THIRD,{textGrid:4,mediaGrid:8}]]),y=(0,C.Ay)(c.z)(({theme:e})=>{var o,t;return{backgroundColor:null==(o=null==e?void 0:e.componentTheme)?void 0:o.backgroundColor,color:null==(t=null==e?void 0:e.componentTheme)?void 0:t.color,height:"100%",display:"flex",justifyContent:"center",[e.breakpoints.down("lg")]:{".DetailText__Text":{flex:"1 0 auto"}}}}),Y=40,R={marginTop:`${Y}px`,marginBottom:`-${Y}px`},S={marginRight:`-${Y}px`},w={marginLeft:`-${Y}px`};function O({media:e,textComponent:o,mediaComponent:t,contentAsMediaFallback:n,disableResponsiveSpacing:r,className:a,cmPreviewMetadata:c}){var g,C,O,D,H,E,L,_,P,$,G,F,J;const M=(0,A.A)(),B=(0,b.A)(M.breakpoints.up("lg")),{textRatio:N}=t.teaserMediaLayout,{textDirection:K}=t.teaserMediaPosition,V=(0,d.D)({componentType:s.tF,componentTitle:null==(g=o.headline)?void 0:g.text}),z=(0,u.n)(),U=B?M.fuelSpacing.lg:M.fuelSpacing.md,W=I.get(null!=N?N:i.K.EVENLY),j=B&&(null==(C=t.staggeredOptions)?void 0:C.staggeredCheck),X=null==(O=null==t?void 0:t.staggeredOptions)?void 0:O.staggeredImageDirection,q="Picture"===(null==e?void 0:e.name)&&(null==(H=null==(D=e.props.images)?void 0:D.breakpoints)?void 0:H.length)>0,Q=n&&!q;return(0,T.Y)(m.a,{cmPreviewMetadata:c,children:(0,T.FD)(x.A,{className:a,container:!0,direction:"left"===t.teaserMediaPosition.textDirection?"row-reverse":"row",sx:(0,h.ko)((0,h.IA)({},j?{marginBottom:`${Y}px`,"[data-component-spacer-margin-bottom=true] &":{marginBottom:`calc(${U} + ${Y}px)`}}:{backgroundColor:null==(E=null==M?void 0:M.componentTheme)?void 0:E.backgroundColor,alignItems:"center",borderRadius:null==(L=null==M?void 0:M.fuelRadius)?void 0:L.medium,overflow:"hidden",height:"100%"}),{[M.breakpoints.down("lg")]:{display:"flex",flexDirection:"column"}}),children:[!Q&&(0,T.Y)(x.A,{size:{lg:null==W?void 0:W.mediaGrid,xs:12},children:(null==e?void 0:e.props)?(0,T.Y)(f.A,{sx:(0,h.IA)((0,h.IA)({position:"relative"},"Svg"===e.name&&z),j?(0,h.IA)((0,h.IA)((0,h.IA)({},"Svg"===e.name&&{height:"100%",backgroundColor:null==(_=null==M?void 0:M.componentTheme)?void 0:_.backgroundColor,borderRadius:null==(P=null==M?void 0:M.fuelRadius)?void 0:P.medium}),"bottom"===X&&R),"left"===K?w:S):{"picture img, .Video--Upload, .Video--YouTube":{borderRadius:0}}),children:(0,T.Y)(p.f,{availableComponents:k,components:[e]},e.id)}):(0,T.Y)(l.S,{aspectRatio:16/9,imageText:null==($=o.labels)?void 0:$.noImageText})}),(0,T.Y)(x.A,{size:Q?{xs:12}:{lg:null==W?void 0:W.textGrid,xs:12},sx:{[M.breakpoints.down("lg")]:{flex:"1 0 auto"}},children:(0,T.Y)(v.z.Provider,{value:V,children:(0,T.Y)(y,(0,h.k
1o)((0,h.IA)({},o),{headline:(0,h.ko)((0,h.IA)({},o.headline),{variant:null!=(F=null==(G=o.headline)?void 0:G.variant)?F:"h3"}),align:"left",disableResponsiveSpacing:r,sx:(0,h.IA)({},j&&(0,h.IA)((0,h.IA)({borderRadius:null==(J=null==M?void 0:M.fuelRadius)?void 0:J.medium},"top"===X&&R),"left"===K?(0,h.ko)((0,h.IA)({},S),{"> *":{pr:2*Y+"px"}}):(0,h.ko)((0,h.IA)({},w),{"> *":{pl:2*Y+"px"}})))}))})})]})})}function D(e){var o=e,{backgroundColor:t="WHITE"}=o,n=(0,h.YG)(o,["backgroundColor"]);return(0,T.Y)(a.u,{name:t,children:(0,T.Y)(O,(0,h.IA)({},n))})}},57879:(e,o,t)=>{t.d(o,{O:()=>s});var n=t(85118),i=t(40468),r=t(22155),l=t(18806),a=t(4976),d=(0,l.Ay)("div",{shouldForwardProp:e=>"aspectRatio"!==e})(({aspectRatio:e,theme:o})=>(0,i.IA)({video:(0,i.IA)({width:"100%"},e&&{position:"absolute",left:"0",top:"0"})},e&&{position:"relative",paddingBottom:e.ratioY/e.ratioX*100+"%",height:"0",overflow:"hidden",borderRadius:o.fuelRadius.medium}));function s({controls:e,autoPlay:o=!1,loop:t=!1,mute:i=!1,videoURL:l,posterComponent:s,textSettings:c,teaserOverlaySettings:u,labels:p,aspectRatio:g}){const[m,v]=(0,r.useState)(!1),h=(0,r.useRef)(null);return(0,a.FD)(d,{aspectRatio:g,className:"Video--Upload",children:[(0,a.Y)("video",{ref:h,controls:e,autoPlay:o,loop:t,muted:i,playsInline:!0,children:(0,a.Y)("source",{src:l})}),!o&&g&&(0,a.Y)(n.r,{playButtonClickHandler:()=>{var e;v(!0),null==(e=null==h?void 0:h.current)||e.play()},textSettings:c,teaserOverlaySettings:u,posterComponent:s,labels:p,fadeOut:m})]})}},65326:(e,o,t)=>{t.d(o,{H:()=>l});var n=t(56182),i=t(4976),r={"gradient-left-right":"90deg","gradient-right-left":"270deg","gradient-top-bottom":"180deg","gradient-bottom-top":"0deg"};function l({opacity:e="80%",span:o="75%",direction:t,children:l}){const a=t?`linear-gradient(${r[t]}, rgba(0, 0, 0, ${e}) 0%, rgba(255, 255, 255, 0) ${o})`:`rgba(0, 0, 0, ${e})`;return(0,i.Y)(n.A,{sx:{position:"relative",width:"100%",height:"100%","&:after":{content:'""',position:"absolute",left:"0",top:"0",width:"100%",height:"100%",background:a}},children:l})}},65388:(e,o,t)=>{t.d(o,{u:()=>d});var n=t(40468),i=t(98399),r=t(17961),l=t(59610),a=t(4976);function d({name:e,children:o}){const t=(0,r.A)(),d=t.fuel6Tokens,s=d.JddcColorTextPrimary,c=d.JddcColorTextTheme,u=d.JddcColorTextThemeHovered,p={WHITE:{name:"WHITE",color:s,backgroundColor:d.JddcColorBackgroundPrimary,linkColor:c,linkColorOnHover:u},LIGHT:{name:"LIGHT",color:s,backgroundColor:d.JddcColorBackgroundSecondary,linkColor:c,linkColorOnHover:u},DARK:{name:"DARK",color:d.JddcColorTextInverse,backgroundColor:"#333333",linkColor:d.JddcColorTextInverse,linkColorOnHover:d.JddcColorTextInverse},THEME_ACCENT:{name:"THEME_ACCENT",color:d.JddcColorTextInverse,backgroundColor:d.JddcColorActionBackgroundTheme,linkColor:d.JddcColorTextInverse,linkColorOnHover:d.JddcColorTextInverse}};return(0,a.Y)(l.A,{theme:()=>(0,i.A)((0,n.ko)((0,n.IA)({},t),{componentTheme:p[e]})),children:o})}},79963:(e,o,t)=>{t.d(o,{p:()=>b});var n=t(57879),i=t(34675),r=t(23049),l=t(65326),a=t(80847),d=t(12312),s=t(2986),c=t(40468),u=t(22155),p=t(18806),g=t(17961),m=t(4976),v=(e,o)=>o?v(o,e%o):e;function h({consentTextSettings:e,cookieSettingsLabel:o,children:t}){var n;const i=(0,g.A)();return(0,r.F)()?(0,m.Y)(m.FK,{children:t}):(0,m.Y)(a.$,{errorStateIcon:(0,m.Y)(d.L,{name:"error_outlined",size:"xl",color:i.fuel6Tokens.JddcColorIconWarning}),errorButtons:[{text:o,onClick:()=>window.OneTrust.ToggleInfoDisplay()}],errorHeadline:{text:null==(n=e.subHeadline)?void 0:n.text},errorText:e.detailTextPlain})}var x=(0,p.Ay)("div")({height:"100%",display:"flex",alignItems:"center"}),f=(0,p.Ay)("img")({width:"100%"});function b({controls:e,autoPlay:o=!1,loop:t=!1,mute:r=!1,poster:a,videoID:d,videoURL:p,labels:g,textSettings:b,teaserOverlaySettings:A,gradientSettings:C={opacity:"40%"},consentTextSettings:T,aspectRatio:k}){var I,y,Y,R;const[S,w]=(0,u.useState)(!1);let O;const D=null==(y=null==(I=null==a?void 0:a.breakpoints[0])?void 0:I.urls[0])?void 0:y.width,H=null==(R=null==(Y=null==a?void 0:a.breakpoints[0])?void 0:Y.urls[0])?void 0:R.height,E=D&&H&&p?function(e,o){const t=v(e,o);return{ratioX:e/t,ratioY:o/t}}(+D,+H):k;
1if(a)O=(0,m.Y)(s.V,{images:a});else if(d){const e=`https://img.youtube.com/vi/${d}/${S?"hqdefault":"maxresdefault"}.jpg`;O=(0,m.Y)(x,{children:(0,m.Y)(f,{src:e,alt:"",onLoad:e=>{S||120!==e.currentTarget.naturalWidth||w(!0)}})})}return O=(0,m.Y)(l.H,(0,c.ko)((0,c.IA)({},C),{children:O})),(0,m.FD)(m.FK,{children:[d&&(0,m.Y)(h,{consentTextSettings:T,cookieSettingsLabel:g.cookieSettingsLabel,children:(0,m.Y)(i.H,{videoID:d,mute:r,loop:t,controls:e,autoPlay:o,posterComponent:O,labels:g,textSettings:b,teaserOverlaySettings:A})}),p&&(0,m.Y)(n.O,{videoURL:p,mute:r,loop:t,controls:e,autoPlay:o,labels:g,posterComponent:O,textSettings:b,teaserOverlaySettings:A,aspectRatio:E})]})}},86060:(e,o,t)=>{t.d(o,{B:()=>u});var n=t(44068),i=t(17961),r=t(18806),l=t(56182),a=t(60655),d=t(4976),s=(0,r.Ay)(l.A)({display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",overflow:"hidden","& > *":{position:"relative"},"& svg":{width:"100%"}}),c=(0,r.Ay)(l.A)({position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",justifyContent:"center",alignItems:"center"});function u({svgData:e="",svgOutlineData:o="",fillStatePercentage:t=0,fillStateColor:r,title:u,description:p,cmPreviewMetadata:g}){var m;const v=(0,i.A)();return(0,d.Y)(n.a,{cmPreviewMetadata:g,children:(0,d.FD)(s,{role:u?"img":void 0,"aria-label":u,"aria-description":p,children:[e&&o&&(0,d.FD)("div",{children:[(0,d.Y)(l.A,{sx:{display:"flex",svg:{fill:`${r}`}},children:(0,a.Ay)(o)}),(0,d.Y)(c,{sx:{backgroundColor:null==(m=null==v?void 0:v.componentTheme)?void 0:m.backgroundColor,transform:`translateY(-${t.toString()}%)`}}),(0,d.Y)(c,{children:(0,a.Ay)(e)})]}),e&&!o&&(0,d.Y)(l.A,{children:(0,a.Ay)(e)})]})})}},91237:(e,o,t)=>{t.d(o,{S:()=>u});var n=t(56182),i=t(18806),r=t(9473),l=t(35167),a=t(65723);const d=(0,l.A)((0,a.jsx)("path",{d:"m21.9 21.9-8.49-8.49-9.82-9.82L2.1 2.1.69 3.51 3 5.83V19c0 1.1.9 2 2 2h13.17l2.31 2.31zM5 18l3.5-4.5 2.5 3.01L12.17 15l3 3zm16 .17L5.83 3H19c1.1 0 2 .9 2 2z"}),"ImageNotSupported");var s=t(4976),c=(0,i.Ay)(n.A,{shouldForwardProp:e=>"imgAspectRatio"!==e})(({theme:e,imgAspectRatio:o=4/3})=>({border:`1px solid ${e.fuel6Tokens.JddcColorBorderSubtle}`,borderRadius:e.fuelRadius.medium,display:"flex",justifyContent:"center",textAlign:"center",flexDirection:"column",alignItems:"center",maxWidth:"100%",aspectRatio:`auto ${o}`}));function u({imageText:e,aspectRatio:o,variant:t="h5"}){return(0,s.FD)(c,{gap:1,imgAspectRatio:o,children:[(0,s.Y)(d,{sx:{width:"50px",height:"50px"}}),(0,s.Y)(r.A,{variant:t,children:e})]})}}}]);

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.