var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(e){return e.raw=e};$jscomp.createTemplateTagFirstArgWithRaw=function(e,k){e.raw=k;return e};$jscomp.arrayIteratorImpl=function(e){var k=0;return function(){return k<e.length?{done:!1,value:e[k++]}:{done:!0}}};$jscomp.arrayIterator=function(e){return{next:$jscomp.arrayIteratorImpl(e)}};$jscomp.makeIterator=function(e){var k="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return k?k.call(e):$jscomp.arrayIterator(e)};
$jscomp.arrayFromIterator=function(e){for(var k,w=[];!(k=e.next()).done;)w.push(k.value);return w};$jscomp.arrayFromIterable=function(e){return e instanceof Array?e:$jscomp.arrayFromIterator($jscomp.makeIterator(e))};
(function(){function e(b){function l(){for(var a="",d=0;d<r.length;d+=1)c[r[d]]&&(a+=r[d]+"\x3d"+c[r[d]]+"\x26");a+="sa\x3d"+c.sa;c.rim&&(a+=","+c.rim);c.type&&(d=$jscomp.makeIterator(c.type.split(/\//)),d.next(),d=d.next().value,a+="\x26RESP\x3d"+d);c.background&&(a+="\x26BKGND\x3d"+c.background);c.ctrlsa&&(a+="\x26sa\x3d"+c.ctrlsa);c.additional&&(a+="\x26"+c.additional);d=y+"?";var t="";var h=25;var n="COSY-EU-100-"+h+45;var f="";var m=0;a=a.toString();for(var A=/(^[a-zA-Z0-9_.]*)/;m<a.length;){var g=
A.exec(a.substr(m));null!==g&&1<g.length&&""!==g[1]?(f+=g[1],m+=g[1].length):(" "===a[m]?f+="+":(g=a.charCodeAt(m).toString(16),f+="%"+(2>g.length?"0":"")+g.toUpperCase()),m+=1)}m=f;for(f=0;f<m.length;f+=1)switch(m.charAt(f)){case "+":t+="%20";break;case "-":t+="%2D";break;case "_":t+="%5F";break;case ".":t+="%2E";break;case "*":t+="%2A";break;default:t+=m.charAt(f)}for(f=0;f<t.length;f+=1)n+="4Zak0rQzNsXdVEl3S1CTuf7yJ%tmLHwYqoi6Dh9pjMbG2ePUvBW8gIKx5OFcRnA".charAt((h+"4Zak0rQzNsXdVEl3S1CTuf7yJ%tmLHwYqoi6Dh9pjMbG2ePUvBW8gIKx5OFcRnA".indexOf(t.charAt(f)))%
63),h+=45;h=encodeURI(n);return d+h}function v(a){for(var d=0;d<p.length;d+=1)a.hasAttribute(p[d])&&(c[p[d]]=a.getAttribute(p[d])),a.hasAttribute("data-cosy-"+p[d])&&(c[p[d]]=a.getAttribute("data-cosy-"+p[d]))}function q(){if(b.element.hasAttribute("data-lazy")&&b.element.hasAttribute("type")&&"image/webp"===b.element.getAttribute("type")){var a=b.element.cloneNode(!0);a.type="image/png";b.element.parentNode.insertBefore(a,b.element.nextElementSibling);e({element:a})}b.element.removeAttribute("data-cmp-is");
b.element.hasAttribute("data-cosy-url")?(y=b.element.getAttribute("data-cosy-url"),b.element.removeAttribute("data-cosy-url")):y="https://prod.cosy.bmw.cloud/bmwweb/cosySec";v(b.element);(a=b.element.closest('[data-cmp-cosy-context\x3d"cosy"]'))&&v(a);if(b.element.hasAttribute("data-cosy-src-selector")){a="."+b.element.getAttribute("data-cosy-src-selector");a=b.element.closest(a);var d="data-"+b.element.getAttribute("data-cosy-src-attribute-name");a.setAttribute(d,l())}else a=b.element.hasAttribute("data-lazy")?
"data-srcset":"srcset",b.element.setAttribute(a,l())}var c=Object.assign({},B),y="";b&&b.element&&q()}function k(){for(var b=document.querySelectorAll(w.self),l=0;l<b.length;l+=1)e({element:b[l]});b=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;l=document.querySelector("body");(new b(function(v){v.forEach(function(q){q=[].slice.call(q.addedNodes);0<q.length&&q.forEach(function(c){c.querySelectorAll&&[].slice.call(c.querySelectorAll(w.self)).forEach(function(){e({element:this.element})})})})})).observe(l,
{subtree:!0,childList:!0,characterData:!0})}var w={self:'[data-cmp-is\x3d"source"]'},r="width height client brand vehicle angle pov paint plate proddate fabric quality w x y cut h".split(" "),p=[].concat($jscomp.arrayFromIterable(r),"type background rim ctrlsa sa additional".split(" ")),z={},B=(z.background="TRANSPARENT",z.pov="WALKAROUND",z);"loading"!==document.readyState?k():document.addEventListener("DOMContentLoaded",k)})();
(function(){function e(b){function l(a){for(var d=a.hasAttribute("data-lazy")?"data-src":"src",t=a.setAttribute,h="",n=0;n<r.length;n+=1)c[r[n]]&&(h+=r[n]+"\x3d"+c[r[n]]+"\x26");h+="sa\x3d"+c.sa;c.rim&&(h+=","+c.rim);c.type&&(n=$jscomp.makeIterator(c.type.split(/\//)),n.next(),n=n.next().value,h+="\x26RESP\x3d"+n);c.background&&(h+="\x26BKGND\x3d"+c.background);c.ctrlsa&&(h+="\x26sa\x3d"+c.ctrlsa);c.additional&&(h+="\x26"+c.additional);n=y+"?";var f="";var m=25;var A="COSY-EU-100-"+m+45;var g="";
var u=0;h=h.toString();for(var C=/(^[a-zA-Z0-9_.]*)/;u<h.length;){var x=C.exec(h.substr(u));null!==x&&1<x.length&&""!==x[1]?(g+=x[1],u+=x[1].length):(" "===h[u]?g+="+":(x=h.charCodeAt(u).toString(16),g+="%"+(2>x.length?"0":"")+x.toUpperCase()),u+=1)}u=g;for(g=0;g<u.length;g+=1)switch(u.charAt(g)){case "+":f+="%20";break;case "-":f+="%2D";break;case "_":f+="%5F";break;case ".":f+="%2E";break;case "*":f+="%2A";break;default:f+=u.charAt(g)}for(g=0;g<f.length;g+=1)A+="4Zak0rQzNsXdVEl3S1CTuf7yJ%tmLHwYqoi6Dh9pjMbG2ePUvBW8gIKx5OFcRnA".charAt((m+
"4Zak0rQzNsXdVEl3S1CTuf7yJ%tmLHwYqoi6Dh9pjMbG2ePUvBW8gIKx5OFcRnA".indexOf(f.charAt(g)))%63),m+=45;m=encodeURI(A);t.call(a,d,n+m)}function v(a){for(var d=0;d<p.length;d+=1)a.hasAttribute(p[d])&&(c[p[d]]=a.getAttribute(p[d])),a.hasAttribute("data-cosy-"+p[d])&&(c[p[d]]=a.getAttribute("data-cosy-"+p[d]))}function q(a){(a=a.closest('[data-cmp-cosy-context\x3d"cosy"]'))&&v(a)}var c=Object.assign({},B),y="";b&&b.element&&(b.element.removeAttribute("data-cmp-is"),b.element.hasAttribute("data-cosy-url")?
(y=b.element.getAttribute("data-cosy-url"),b.element.removeAttribute("data-cosy-url")):y="https://prod.cosy.bmw.cloud/bmwweb/cosySec",v(b.element),q(b.element),l(b.element))}function k(){for(var b=document.querySelectorAll(w.self),l=0;l<b.length;l+=1)e({element:b[l]});b=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;l=document.querySelector("body");(new b(function(v){v.forEach(function(q){q=[].slice.call(q.addedNodes);0<q.length&&q.forEach(function(c){c.querySelectorAll&&
[].slice.call(c.querySelectorAll(w.self)).forEach(function(){e({element:this.element})})})})})).observe(l,{subtree:!0,childList:!0,characterData:!0})}var w={self:'[data-cmp-is\x3d"cosyimage"]'},r="width height client brand vehicle angle pov paint plate proddate fabric quality w x y cut h".split(" "),p=[].concat($jscomp.arrayFromIterable(r),"type background rim ctrlsa sa additional".split(" ")),z={},B=(z.background="TRANSPARENT",z.pov="WALKAROUND",z);"loading"!==document.readyState?k():document.addEventListener("DOMContentLoaded",
k)})();