{"version":3,"file":"Bolt100ThreeKitConfigurator-b60ebc5cb11753485953.js","sources":["webpack:///Bolt100ThreeKitConfigurator-b60ebc5cb11753485953.js"],"sourcesContent":["(this.nextGenJsonpFunction=this.nextGenJsonpFunction||[]).push([[83],{1276:function(e,t,r){\"use strict\";r.r(t);var n=r(0),a=r.n(n),o=r(16),l=r(2);const s=l.b`\n`,c={Wrapper:l.d.div.withConfig({displayName:\"Bolt100ThreeKitConfiguratorstyles__Wrapper\",componentId:\"sc-1jfhlgd-0\"})([\"padding:25px 0px;height:calc(100vh - \",\"px);@media (max-width:800px){height:auto;}img{max-width:unset;}\"],o.c.navHeight),GlobalStyles:s};var i=r(416);t.default=e=>{const t=a.a.useRef(null),r=a.a.useRef(null);return a.a.useEffect(()=>{(async()=>{t.current&&r.current&&e.productPageUrl&&(await Promise.all([Object(i.a)(\"https://tti-emea-bolt-prod.3kit.com/treble-app.js\",\"bolt-100-threekit-js\",\"script\"),Object(i.a)(\"https://tti-emea-bolt-prod.3kit.com/treble-app.css\",\"bolt-100-threekit-css\",\"css\")]),window.createThreekitApp&&window.createThreekitApp(t.current,{productPageUrl:e.productPageUrl,locale:e.languageCode,cultureCode:e.cultureCode,customisationDialogCloseDestination:e.customisationDialogCloseDestination,emailEndpoint:e.emailEndpoint}))})(),window.addEventListener(\"load\",()=>{if(!r.current)return;const e=Array.from(r.current.querySelectorAll(\"button\"));for(const t of e)t.addEventListener(\"click\",e=>e.preventDefault())})},[]),e.productPageUrl?a.a.createElement(a.a.Fragment,null,a.a.createElement(c.GlobalStyles,null),a.a.createElement(c.Wrapper,null,a.a.createElement(\"div\",{className:\"tk-treble-root\",ref:r},a.a.createElement(\"div\",{ref:t,className:\"tk-treble-app\",id:\"tk-treble-root\"}),a.a.createElement(\"div\",{className:\"tk-treble-form\",id:\"tk-treble-form\"})))):null}},16:function(e,t,r){\"use strict\";r.d(t,\"b\",(function(){return o})),r.d(t,\"e\",(function(){return l})),r.d(t,\"d\",(function(){return s})),r.d(t,\"a\",(function(){return c}));var n=r(3),a=r(2);function o(e=n.a.grey[90],t=n.a.grey[65]){return Object(a.c)([\"scrollbar-color:\",\" \",\";&::-webkit-scrollbar{width:11px;}&::-webkit-scrollbar-track{background:\",\";}&::-webkit-scrollbar-thumb{background-color:\",\";border-radius:6px;border:3px solid \",\";}\"],t,e,e,t,e)}t.c={navHeight:76,navHeightSmall:68,contentPadding:24,rootMarginValues:\"0px 0px -20% 0px\"};const l=e=>Object(a.c)([\".CSCZ .mainContent &,.HUHU .mainContent &,.PLPL .mainContent &,.RURU .mainContent &,.SKSK .mainContent &,.RORO .mainContent &,.BGBG .mainContent &,.HRHR .mainContent &,.mainContent &{\",\"}\"],e),s=e=>Object(a.c)([\".ds &{\",\"}\"],e),c=Object(a.c)([\"border:none;outline:none;padding:0px;background:none;border-radius:0px;\"])},3:function(e,t,r){\"use strict\";t.a={black:\"#000000\",nearlyBlack:\"#231f20\",white:\"#ffffff\",red:{base:\"#db011c\",baseRgb:\"219, 1, 28\",dark:\"#ab0116\",darkest:\"#840111\",gradient1:\"#970000\",gradient2:\"#510000\",light:\"#BF7982\"},green:{base:\"#00A600\",dark:\"#008F00\",light:\"#0CDE00\"},orange:{base:\"#F0803B\"},grey:{steel:\"#C6C6C6\",97:\"hsl(0, 0%, 97%);\",95:\"hsl(0, 0%, 95%);\",90:\"hsl(0, 0%, 90%);\",85:\"hsl(0, 0%, 85%);\",80:\"hsl(0, 0%, 80%);\",78:\"hsl(0, 0%, 78%);\",75:\"hsl(0, 0%, 75%);\",70:\"hsl(0, 0%, 70%);\",65:\"hsl(0, 0%, 65%);\",60:\"hsl(0, 0%, 60%);\",55:\"hsl(0, 0%, 55%);\",50:\"hsl(0, 0%, 50%);\",45:\"hsl(0, 0%, 45%);\",40:\"hsl(0, 0%, 40%);\",35:\"hsl(0, 0%, 35%);\",30:\"hsl(0, 0%, 30%);\",25:\"hsl(0, 0%, 25%);\",20:\"hsl(0, 0%, 20%);\",15:\"hsl(0, 0%, 15%);\",10:\"hsl(0, 0%, 10%);\",\"05\":\"hsl(0, 0%, 5%);\"}}},416:function(e,t,r){\"use strict\";r.d(t,\"a\",(function(){return n}));const n=(e,t,r)=>new Promise((n,a)=>{if(document.getElementById(t))return void n(\"Resource already loaded\");let o;switch(r){case\"script\":o=document.createElement(\"script\"),o.src=e,o.async=!0;break;case\"css\":o=document.createElement(\"link\"),o.href=e,o.rel=\"stylesheet\";break;default:return void a(new Error(\"Unsupported resource type\"))}o.id=t,o.onload=()=>n(r.toUpperCase()+\" loaded successfully\"),o.onerror=()=>a(new Error(r.toUpperCase()+\" failed to load\")),\"script\"===r?document.body.appendChild(o):\"css\"===r&&document.head.appendChild(o)})}}]);"],"mappings":"AAAA;AACA","sourceRoot":""}