@assaabloy/amarr-wc-multi-content 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/multiContent.js +1 -1
  2. package/package.json +2 -2
package/multiContent.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,o,d=t[0],l=t[1],c=t[2],p=0,m=[];p<d.length;p++)o=d[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(s&&s(t);m.length;)m.shift()();return i.push.apply(i,c||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,d=1;d<n.length;d++){var l=n[d];0!==r[l]&&(a=!1)}a&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},r={59:0},i=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=d.push.bind(d);d.push=t,d=d.slice();for(var c=0;c<d.length;c++)t(d[c]);var s=l;i.push([852,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)")}},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"U",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"D",(function(){return d})),n.d(t,"G",(function(){return l})),n.d(t,"v",(function(){return c})),n.d(t,"B",(function(){return s})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return m})),n.d(t,"I",(function(){return u})),n.d(t,"H",(function(){return x})),n.d(t,"P",(function(){return h})),n.d(t,"E",(function(){return g})),n.d(t,"u",(function(){return b})),n.d(t,"h",(function(){return f})),n.d(t,"t",(function(){return w})),n.d(t,"y",(function(){return A})),n.d(t,"w",(function(){return U})),n.d(t,"C",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"Q",(function(){return y})),n.d(t,"q",(function(){return M})),n.d(t,"J",(function(){return D})),n.d(t,"F",(function(){return N})),n.d(t,"R",(function(){return z})),n.d(t,"m",(function(){return C})),n.d(t,"j",(function(){return O})),n.d(t,"n",(function(){return I})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return H})),n.d(t,"z",(function(){return W})),n.d(t,"L",(function(){return _})),n.d(t,"x",(function(){return j})),n.d(t,"S",(function(){return L})),n.d(t,"T",(function(){return T})),n.d(t,"b",(function(){return Z})),n.d(t,"O",(function(){return $})),n.d(t,"A",(function(){return R})),n.d(t,"a",(function(){return F})),n.d(t,"d",(function(){return J})),n.d(t,"f",(function(){return B})),n.d(t,"e",(function(){return G})),n.d(t,"W",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"V",(function(){return K})),n.d(t,"K",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"N",(function(){return Y})),n.d(t,"p",(function(){return ee}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},l=new a.a(!1),c=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),h=new a.a(!1),g=new a.a(!1),b=new a.a(!1),f=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),v=new a.a(!0),k=new a.a(!0),y=new a.a(!0),M=new a.a(!0),D=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),z=new a.a(""),C=new a.a(""),O=new a.a(""),I=new a.a(""),S=new a.a(""),H=new a.a(""),W=new a.a(""),_=new a.a(""),j=new a.a(!1),L=new a.a(!1),T=new a.a(!1),Z=function(){setTimeout((function(){E++,P.next(!0)}),0)},$=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},R=function(){return P.asObservable()},F=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},J=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},B=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},G=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},V=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},K=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},Q=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},X=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},Y=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},ee=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t}},26:function(e,t){e.exports=ReactDOM},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(29),r=n(0),i=n.n(r),o=n(5),d=n(1),l=o.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),c=o.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(["font-size:var(--font-size-s1);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);font-stretch:var(--font-normal);font-style:var(--font-normal);line-height:1.5;letter-spacing:var(--font-normal);text-align:var(--text-center);color:var(--bg-main);padding:12px 19px 12px 20px;border-radius:var(--border-radius);background-color:var(--accent);box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:var(--accent-hover);color:var(--bg-main);}&:focus{transform:scale(1);box-shadow:none !important;background-color:var(--accent-focus);}&:active{background-color:var(--accent-active) !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:var(--text-color);background:var(--accent-inverse);&:hover{background:var(--accent-inverse-hover);}&:focus{background:var(--accent-inverse-focus);border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:var(--accent-inverse-active) !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media ","{font-size:var(--font-size-m1);}.button-icon{vertical-align:top;padding-right:8px;}"],d.b.smallDesktop2Min),s=n(25),p=n(24),m=function(e){var t=e.label,n=void 0===t?"label":t,r=e.classStyle,o=void 0===r?"default":r,d=e.link,m=void 0!==d&&d,u=e.disabled,x=void 0!==u&&u,h=e.datatoggle,g=void 0===h?"":h,b=e.datatarget,f=void 0===b?"":b,w=e.linkHref,A=e.target,U=void 0===A?"_self":A,v=e.downloadLink,k=void 0!==v&&v,y=e.inverse,M=void 0!==y&&y,D=e.icon,P=void 0===D?"":D,E=e.iconAlt,N=void 0===E?"":E,z=e.dataItemName,C=void 0===z?"":z,O=e.id,I=void 0===O?"":O,S=e.type,H=void 0===S?"button":S,W=e.showDisabledMessage,_=void 0===W?"":W,j=Object(a.a)(e,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage"]);return i.a.createElement(l,null,i.a.createElement("div",{className:"".concat(x&&_&&"disabled-button-parent")},m?i.a.createElement("a",{href:w,download:k,target:U,"data-item-name":C,id:I},i.a.createElement(c,Object.assign({disabled:x,classStyle:"".concat(o)},j,{type:H,className:M?"btn-inverse btn btn-success":"btn btn-success"}),""!=P?i.a.createElement("div",{"data-toggle":g,"data-target":f},i.a.createElement("img",{loading:"lazy",className:"button-icon",src:P,alt:N}),i.a.createElement("span",null,n)):i.a.createElement("span",null,n))):i.a.createElement(c,Object.assign({disabled:x,classStyle:o,className:M?"btn-inverse btn btn-success":"btn btn-success",id:I,"data-item-name":C,type:H},j),i.a.createElement("span",null,n)),x&&_&&i.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:i.a.createElement(p.a,{id:"button-tooltip"},i.a.createElement("div",{className:"p-1 amarr-h6"},_))},i.a.createElement("div",{className:"disabled-button-overlay"}))))}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(5),r=n(0),i=n.n(r),o=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var e=r.match(/\d+/g).map(Number),t=Object.keys(n).find((function(t){return!(!Array.isArray(e)||1!==e.length)&&(t.includes(e[0])&&n[t])}));return t?n["".concat(t)]:n.theme1}},e.children)}},760:function(e,t,n){"use strict";n.r(t);var a=n(21),r=n(97);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-multi-content",useShadow:!1},plugins:[]})},8:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=n(20),d=n.n(o),l=Object(a.createContext)({});t.a=function(e){var t=!1;try{var n;t=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(o){console.log(o)}var a=t?[d.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(l.Provider,{value:{rtl:t}},e.children))}},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n.n(a),i=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(e){return e.padding?"0 var(--grid-margin);":0}),(function(e){e.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(e){var t=e.className,n=e.children,a=e.maxWidth,o=void 0===a?1520:a,d=e.padding,l=void 0===d||d;return r.a.createElement(i,{className:t,maxWidth:o,padding:l},n)}},97:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(2),o=n(6),d=n(12),l=n.n(d),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=n(11),p=n(5),m=n(1);function u(){var e=Object(s.a)(["\n // MOBILE DEVICES\n \n .grey-bg-multicontent{\n background-color: var(--grey);\n }\n \n .white-bg-multicontent{\n background-color: var(--bg-main);\n }\n \n #multi-content {\n ul{\n margin-bottom: 1rem;\n }\n padding: 1.25rem 0.5rem;\n \n @media screen and ","{\n .row .col-lg-4 > div{\n margin-bottom: 20px;\n }\n .row .col-lg-4 > div:first-child{\n margin-bottom: 0px;\n }\n }\n \n p, ul{\n @media screen and "," {\n font-size: var(--font-size-l1);\n line-height: 36px;\n }\n \n @media screen and "," and "," {\n font-size: var(--font-size-m2);\n line-height: 28px;\n }\n \n @media screen and "," and "," {\n font-size: var(--font-size-m1);\n line-height: 22px;\n }\n }\n \n .button-wrapper {\n display: flex;\n flex-direction: column;\n // gap: 1.5rem;\n @media screen and ","{\n margin-bottom: 20px;\n }\n .cta-item:not(:last-child){\n margin-right: 1.5rem;\n @media screen and ","{\n margin-bottom: 1.5rem;\n }\n }\n }\n a.btn {\n background-color: var(--accent);\n color: var(--bg-main);\n }\n \n .heading-text-style{\n // font-weight: 600;\n // font-size: 48px;\n // @media screen and ","{\n // font-size: 18px;\n // }\n }\n \n .text-style-tertiary{\n font-weight: var(--font-weight-bold);\n // font-size: 1.4rem;\n text-decoration: none;\n }\n a:hover .text-style-tertiary{\n text-decoration: underline;\n }\n \n // Large devices (DESKTOP)\n @media only screen and "," {\n .button-wrapper {\n flex-direction: row;\n }\n \n .image-style:first-child{\n padding-right: 40px;\n @media screen and "," {\n padding-right: 24px;\n }\n @media screen and "," {\n padding-right: 18px;\n }\n }\n \n .image-container{\n padding: 30px 0;\n }\n }\n \n @media screen and ","{\n \n .image-container{\n padding: 30px 0;\n }\n .image-style:first-child{\n margin-right: 24px;\n }\n \n }\n @media screen and (min-width: ","px) and ","{\n .primary-image{\n img{\n max-height: 270px;\n }\n }\n }\n @media screen and ","{\n .image-container{\n padding: 22px 0;\n }\n }\n @media screen and ","{\n padding: 1.25rem 0;\n .container-fluid .row .col-lg-4{\n padding: 0;\n }\n .image-container{\n // padding-left: 20px;\n }\n p, ul{\n // font-size: 1rem;\n // font-size: 30px;\n }\n }\n \n @media screen and ","{\n .image-style:first-child{\n width: 130px;\n }\n }\n }\n \n #multi-content{\n & h2.heading-text-style.amarrHighlight{\n // font-size: 36px;\n // line-height: 54px;\n }\n &.grey-bg-multicontent h2.heading-text-style.amarrHighlight{\n // font-size: 36px;\n // line-height: 54px;\n & + p > ul{\n margin-left: 2rem;\n margin-bottom: 20px;\n }\n }\n }\n \n \n #multi-content {\n // max-width: 100%;\n /* padding: 2rem 0rem; */\n \n @media screen and "," {\n ul{\n margin-left: 1.6rem;\n }\n }\n @media screen and "," {\n ul{\n margin-left: 1.3rem;\n }\n }\n @media screen and "," {\n ul{\n margin-left: 1.2rem;\n }\n }\n @media screen and "," {\n max-width: calc(100%);\n ul{\n margin-left: 1rem;\n }\n .right-block {\n padding: 0;\n }\n }\n }\n \n \n @media screen and ","{\n #multi-content {\n padding: 1.4rem 0rem;\n // padding-bottom: 0 !important;\n .right-block {\n .container {\n margin-bottom: 0 !important;\n img {\n width: 100%;\n }\n }\n }\n }\n }\n "]);return u=function(){return e},e}var x=p.default.div.withConfig({displayName:"styles__Content",componentId:"ii1tl2-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(p.css)(u(),m.b.tabletPortraitMax,m.b.largeDesktopMin,m.b.tabletPortraitAndUp2,m.b.mediumDesktopAndUp3Max,m.b.smallMobileAndUp,m.b.tabletPortraitAndUp2Max2,m.b.tabletPortraitMax,m.b.tabletPortraitMax,m.b.tabletPortraitMax,m.b.tabletLandscapeAndUp,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.tabletPortraitMax,m.a.tabletPortraitAndUp-1,m.b.tabletPortraitMax,m.b.mobileMax,m.b.largeMobileAndUp2Max2,m.b.smallMobileAndUpMax2,m.b.largeDesktopMin,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.tabletPortraitMax,m.b.tabletPortraitAndUpMax3)})),h=n(7),g=n(8),b=n(9),f={header:{text:""},textColor:"",headingStyle:"",bgColor:"",body:{text:""},primaryImage:{url:"",altText:""},secondaryImages:[{url:"",altText:""}],ctaItems:[{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}]},w=function(e){var t,n=l()({},f,Object(i.g)(e.content));return r.a.createElement(h.a,{setter:{componentThemes:c,selectedTheme:e.theme}},r.a.createElement(g.a,null,r.a.createElement(b.a,{padding:!1},r.a.createElement(x,{isReversed:!1},r.a.createElement("section",{id:"multi-content",className:"".concat("grey"===n.bgColor&&"grey-bg-multicontent"," ").concat("white"===n.bgColor&&"white-bg-multicontent")},r.a.createElement("div",{className:"container inner-container"},r.a.createElement("div",{className:"row mx-0"},r.a.createElement("div",{className:"col-lg-8 pl-0 pr-0 pr-md-3"},n.header&&"h1"===n.headingStyle&&r.a.createElement("h1",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h2"===n.headingStyle&&r.a.createElement("h2",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h3"===n.headingStyle&&r.a.createElement("h3",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h4"===n.headingStyle&&r.a.createElement("h4",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h5"===n.headingStyle&&r.a.createElement("h5",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h6"===n.headingStyle&&r.a.createElement("h6",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"capitalize"===n.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),r.a.createElement("p",{className:"body-text1",dangerouslySetInnerHTML:{__html:n.body.text}}),r.a.createElement("div",{className:"button-wrapper"},(null===n||void 0===n?void 0:n.ctaItems)&&(null===n||void 0===n||null===(t=n.ctaItems)||void 0===t?void 0:t.map((function(e,t){return r.a.createElement("div",{className:"".concat(e.label.length>25&&"button-auto-height"," cta-item"),key:t},("inverse"===e.color||"normal"===e.color)&&e.visible&&e.label&&e.linkAction&&r.a.createElement(o.a,{label:Object(i.i)(e.label),link:!0,linkHref:e.url,target:e.linkAction,inverse:"inverse"===e.color}),"tertiary"===e.color&&e.visible&&e.isInternal&&e.label&&e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,"aria-label":e.label},e.label),"tertiary"===e.color&&e.visible&&!e.isInternal&&e.label&&"_self"===e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,"aria-label":e.label},e.label),"tertiary"===e.color&&e.visible&&!e.isInternal&&e.label&&"_blank"===e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,rel:"noopener","aria-label":e.label},e.label))}))))),r.a.createElement("div",{className:"col-lg-4 pr-0 right-block"},r.a.createElement("div",{className:"".concat(!(n.secondaryImages&&n.secondaryImages.length>0)&&"primary-image")},r.a.createElement("img",{loading:"lazy",src:n.primaryImage.url,alt:n.primaryImage.altText})),(n.secondaryImages&&n.secondaryImages.length)>0&&r.a.createElement("div",{className:"image-container"},n.secondaryImages.map((function(e,t){return r.a.createElement("img",{loading:"lazy",src:e.url,alt:e.altText,key:t,className:"image-style"})})))))))))))};w.defaultProps={content:"",theme:""};t.a=w}});
1
+ !function(e){function t(t){for(var a,o,d=t[0],l=t[1],c=t[2],p=0,m=[];p<d.length;p++)o=d[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(s&&s(t);m.length;)m.shift()();return i.push.apply(i,c||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,d=1;d<n.length;d++){var l=n[d];0!==r[l]&&(a=!1)}a&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},r={59:0},i=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=d.push.bind(d);d.push=t,d=d.slice();for(var c=0;c<d.length;c++)t(d[c]);var s=l;i.push([852,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)")}},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"U",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"D",(function(){return d})),n.d(t,"G",(function(){return l})),n.d(t,"v",(function(){return c})),n.d(t,"B",(function(){return s})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return m})),n.d(t,"I",(function(){return u})),n.d(t,"H",(function(){return x})),n.d(t,"P",(function(){return h})),n.d(t,"E",(function(){return g})),n.d(t,"u",(function(){return b})),n.d(t,"h",(function(){return f})),n.d(t,"t",(function(){return w})),n.d(t,"y",(function(){return A})),n.d(t,"w",(function(){return U})),n.d(t,"C",(function(){return v})),n.d(t,"s",(function(){return k})),n.d(t,"Q",(function(){return y})),n.d(t,"q",(function(){return M})),n.d(t,"J",(function(){return D})),n.d(t,"F",(function(){return N})),n.d(t,"R",(function(){return z})),n.d(t,"m",(function(){return C})),n.d(t,"j",(function(){return O})),n.d(t,"n",(function(){return I})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return H})),n.d(t,"z",(function(){return W})),n.d(t,"L",(function(){return _})),n.d(t,"x",(function(){return j})),n.d(t,"S",(function(){return L})),n.d(t,"T",(function(){return T})),n.d(t,"b",(function(){return Z})),n.d(t,"O",(function(){return $})),n.d(t,"A",(function(){return R})),n.d(t,"a",(function(){return F})),n.d(t,"d",(function(){return J})),n.d(t,"f",(function(){return B})),n.d(t,"e",(function(){return G})),n.d(t,"W",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"V",(function(){return K})),n.d(t,"K",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"N",(function(){return Y})),n.d(t,"p",(function(){return ee}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},l=new a.a(!1),c=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),h=new a.a(!1),g=new a.a(!1),b=new a.a(!1),f=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),v=new a.a(!0),k=new a.a(!0),y=new a.a(!0),M=new a.a(!0),D=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),z=new a.a(""),C=new a.a(""),O=new a.a(""),I=new a.a(""),S=new a.a(""),H=new a.a(""),W=new a.a(""),_=new a.a(""),j=new a.a(!1),L=new a.a(!1),T=new a.a(!1),Z=(new a.a(!1),function(){setTimeout((function(){E++,P.next(!0)}),0)}),$=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},R=function(){return P.asObservable()},F=function(e){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)},J=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},B=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},G=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},V=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},K=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},Q=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},X=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},Y=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},ee=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t}},26:function(e,t){e.exports=ReactDOM},6:function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var a=n(29),r=n(0),i=n.n(r),o=n(5),d=n(1),l=o.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),c=o.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(["font-size:var(--font-size-s1);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);font-stretch:var(--font-normal);font-style:var(--font-normal);line-height:1.5;letter-spacing:var(--font-normal);text-align:var(--text-center);color:var(--bg-main);padding:12px 19px 12px 20px;border-radius:var(--border-radius);background-color:var(--accent);box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:var(--accent-hover);color:var(--bg-main);}&:focus{transform:scale(1);box-shadow:none !important;background-color:var(--accent-focus);}&:active{background-color:var(--accent-active) !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:var(--text-color);background:var(--accent-inverse);&:hover{background:var(--accent-inverse-hover);}&:focus{background:var(--accent-inverse-focus);border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:var(--accent-inverse-active) !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media ","{font-size:var(--font-size-m1);}.button-icon{vertical-align:top;padding-right:8px;}"],d.b.smallDesktop2Min),s=n(25),p=n(24),m=function(e){var t=e.label,n=void 0===t?"label":t,r=e.classStyle,o=void 0===r?"default":r,d=e.link,m=void 0!==d&&d,u=e.disabled,x=void 0!==u&&u,h=e.datatoggle,g=void 0===h?"":h,b=e.datatarget,f=void 0===b?"":b,w=e.linkHref,A=e.target,U=void 0===A?"_self":A,v=e.downloadLink,k=void 0!==v&&v,y=e.inverse,M=void 0!==y&&y,D=e.icon,P=void 0===D?"":D,E=e.iconAlt,N=void 0===E?"":E,z=e.dataItemName,C=void 0===z?"":z,O=e.id,I=void 0===O?"":O,S=e.type,H=void 0===S?"button":S,W=e.showDisabledMessage,_=void 0===W?"":W,j=Object(a.a)(e,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage"]);return i.a.createElement(l,null,i.a.createElement("div",{className:"".concat(x&&_&&"disabled-button-parent")},m?i.a.createElement("a",{href:w,download:k,target:U,"data-item-name":C,id:I},i.a.createElement(c,Object.assign({disabled:x,classStyle:"".concat(o)},j,{type:H,className:M?"btn-inverse btn btn-success":"btn btn-success"}),""!=P?i.a.createElement("div",{"data-toggle":g,"data-target":f},i.a.createElement("img",{loading:"lazy",className:"button-icon",src:P,alt:N}),i.a.createElement("span",null,n)):i.a.createElement("span",null,n))):i.a.createElement(c,Object.assign({disabled:x,classStyle:o,className:M?"btn-inverse btn btn-success":"btn btn-success",id:I,"data-item-name":C,type:H},j),i.a.createElement("span",null,n)),x&&_&&i.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:i.a.createElement(p.a,{id:"button-tooltip"},i.a.createElement("div",{className:"p-1 amarr-h6"},_))},i.a.createElement("div",{className:"disabled-button-overlay"}))))}},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(5),r=n(0),i=n.n(r),o=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var e=r.match(/\d+/g).map(Number),t=Object.keys(n).find((function(t){return!(!Array.isArray(e)||1!==e.length)&&(t.includes(e[0])&&n[t])}));return t?n["".concat(t)]:n.theme1}},e.children)}},760:function(e,t,n){"use strict";n.r(t);var a=n(21),r=n(97);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-multi-content",useShadow:!1},plugins:[]})},8:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=n(20),d=n.n(o),l=Object(a.createContext)({});t.a=function(e){var t=!1;try{var n;t=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(o){console.log(o)}var a=t?[d.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(l.Provider,{value:{rtl:t}},e.children))}},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n.n(a),i=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(e){return e.padding?"0 var(--grid-margin);":0}),(function(e){e.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(e){var t=e.className,n=e.children,a=e.maxWidth,o=void 0===a?1520:a,d=e.padding,l=void 0===d||d;return r.a.createElement(i,{className:t,maxWidth:o,padding:l},n)}},97:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(2),o=n(6),d=n(12),l=n.n(d),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=n(11),p=n(5),m=n(1);function u(){var e=Object(s.a)(["\n // MOBILE DEVICES\n \n .grey-bg-multicontent{\n background-color: var(--grey);\n }\n \n .white-bg-multicontent{\n background-color: var(--bg-main);\n }\n \n #multi-content {\n ul{\n margin-bottom: 1rem;\n }\n padding: 1.25rem 0.5rem;\n \n @media screen and ","{\n .row .col-lg-4 > div{\n margin-bottom: 20px;\n }\n .row .col-lg-4 > div:first-child{\n margin-bottom: 0px;\n }\n }\n \n p, ul{\n @media screen and "," {\n font-size: var(--font-size-l1);\n line-height: 36px;\n }\n \n @media screen and "," and "," {\n font-size: var(--font-size-m2);\n line-height: 28px;\n }\n \n @media screen and "," and "," {\n font-size: var(--font-size-m1);\n line-height: 22px;\n }\n }\n \n .button-wrapper {\n display: flex;\n flex-direction: column;\n // gap: 1.5rem;\n @media screen and ","{\n margin-bottom: 20px;\n }\n .cta-item:not(:last-child){\n margin-right: 1.5rem;\n @media screen and ","{\n margin-bottom: 1.5rem;\n }\n }\n }\n a.btn {\n background-color: var(--accent);\n color: var(--bg-main);\n }\n \n .heading-text-style{\n // font-weight: 600;\n // font-size: 48px;\n // @media screen and ","{\n // font-size: 18px;\n // }\n }\n \n .text-style-tertiary{\n font-weight: var(--font-weight-bold);\n // font-size: 1.4rem;\n text-decoration: none;\n }\n a:hover .text-style-tertiary{\n text-decoration: underline;\n }\n \n // Large devices (DESKTOP)\n @media only screen and "," {\n .button-wrapper {\n flex-direction: row;\n }\n \n .image-style:first-child{\n padding-right: 40px;\n @media screen and "," {\n padding-right: 24px;\n }\n @media screen and "," {\n padding-right: 18px;\n }\n }\n \n .image-container{\n padding: 30px 0;\n }\n }\n \n @media screen and ","{\n \n .image-container{\n padding: 30px 0;\n }\n .image-style:first-child{\n margin-right: 24px;\n }\n \n }\n @media screen and (min-width: ","px) and ","{\n .primary-image{\n img{\n max-height: 270px;\n }\n }\n }\n @media screen and ","{\n .image-container{\n padding: 22px 0;\n }\n }\n @media screen and ","{\n padding: 1.25rem 0;\n .container-fluid .row .col-lg-4{\n padding: 0;\n }\n .image-container{\n // padding-left: 20px;\n }\n p, ul{\n // font-size: 1rem;\n // font-size: 30px;\n }\n }\n \n @media screen and ","{\n .image-style:first-child{\n width: 130px;\n }\n }\n }\n \n #multi-content{\n & h2.heading-text-style.amarrHighlight{\n // font-size: 36px;\n // line-height: 54px;\n }\n &.grey-bg-multicontent h2.heading-text-style.amarrHighlight{\n // font-size: 36px;\n // line-height: 54px;\n & + p > ul{\n margin-left: 2rem;\n margin-bottom: 20px;\n }\n }\n }\n \n \n #multi-content {\n // max-width: 100%;\n /* padding: 2rem 0rem; */\n \n @media screen and "," {\n ul{\n margin-left: 1.6rem;\n }\n }\n @media screen and "," {\n ul{\n margin-left: 1.3rem;\n }\n }\n @media screen and "," {\n ul{\n margin-left: 1.2rem;\n }\n }\n @media screen and "," {\n max-width: calc(100%);\n ul{\n margin-left: 1rem;\n }\n .right-block {\n padding: 0;\n }\n }\n }\n \n \n @media screen and ","{\n #multi-content {\n padding: 1.4rem 0rem;\n // padding-bottom: 0 !important;\n .right-block {\n .container {\n margin-bottom: 0 !important;\n img {\n width: 100%;\n }\n }\n }\n }\n }\n "]);return u=function(){return e},e}var x=p.default.div.withConfig({displayName:"styles__Content",componentId:"ii1tl2-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(p.css)(u(),m.b.tabletPortraitMax,m.b.largeDesktopMin,m.b.tabletPortraitAndUp2,m.b.mediumDesktopAndUp3Max,m.b.smallMobileAndUp,m.b.tabletPortraitAndUp2Max2,m.b.tabletPortraitMax,m.b.tabletPortraitMax,m.b.tabletPortraitMax,m.b.tabletLandscapeAndUp,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.tabletPortraitMax,m.a.tabletPortraitAndUp-1,m.b.tabletPortraitMax,m.b.mobileMax,m.b.largeMobileAndUp2Max2,m.b.smallMobileAndUpMax2,m.b.largeDesktopMin,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.tabletPortraitMax,m.b.tabletPortraitAndUpMax3)})),h=n(7),g=n(8),b=n(9),f={header:{text:""},textColor:"",headingStyle:"",bgColor:"",body:{text:""},primaryImage:{url:"",altText:""},secondaryImages:[{url:"",altText:""}],ctaItems:[{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}]},w=function(e){var t,n=l()({},f,Object(i.g)(e.content));return r.a.createElement(h.a,{setter:{componentThemes:c,selectedTheme:e.theme}},r.a.createElement(g.a,null,r.a.createElement(b.a,{padding:!1},r.a.createElement(x,{isReversed:!1},r.a.createElement("section",{id:"multi-content",className:"".concat("grey"===n.bgColor&&"grey-bg-multicontent"," ").concat("white"===n.bgColor&&"white-bg-multicontent")},r.a.createElement("div",{className:"container inner-container"},r.a.createElement("div",{className:"row mx-0"},r.a.createElement("div",{className:"col-lg-8 pl-0 pr-0 pr-md-3"},n.header&&"h1"===n.headingStyle&&r.a.createElement("h1",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h2"===n.headingStyle&&r.a.createElement("h2",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h3"===n.headingStyle&&r.a.createElement("h3",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h4"===n.headingStyle&&r.a.createElement("h4",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h5"===n.headingStyle&&r.a.createElement("h5",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"h6"===n.headingStyle&&r.a.createElement("h6",{className:"heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),n.header&&"capitalize"===n.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase heading-text-style ".concat("green"===n.textColor&&"amarrHighlight")},n.header.text),r.a.createElement("p",{className:"body-text1",dangerouslySetInnerHTML:{__html:n.body.text}}),r.a.createElement("div",{className:"button-wrapper"},(null===n||void 0===n?void 0:n.ctaItems)&&(null===n||void 0===n||null===(t=n.ctaItems)||void 0===t?void 0:t.map((function(e,t){return r.a.createElement("div",{className:"".concat(e.label.length>25&&"button-auto-height"," cta-item"),key:t},("inverse"===e.color||"normal"===e.color)&&e.visible&&e.label&&e.linkAction&&r.a.createElement(o.a,{label:Object(i.i)(e.label),link:!0,linkHref:e.url,target:e.linkAction,inverse:"inverse"===e.color}),"tertiary"===e.color&&e.visible&&e.isInternal&&e.label&&e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,"aria-label":e.label},e.label),"tertiary"===e.color&&e.visible&&!e.isInternal&&e.label&&"_self"===e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,"aria-label":e.label},e.label),"tertiary"===e.color&&e.visible&&!e.isInternal&&e.label&&"_blank"===e.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:e.url,target:e.linkAction,rel:"noopener","aria-label":e.label},e.label))}))))),r.a.createElement("div",{className:"col-lg-4 pr-0 right-block"},r.a.createElement("div",{className:"".concat(!(n.secondaryImages&&n.secondaryImages.length>0)&&"primary-image")},r.a.createElement("img",{loading:"lazy",src:n.primaryImage.url,alt:n.primaryImage.altText})),(n.secondaryImages&&n.secondaryImages.length)>0&&r.a.createElement("div",{className:"image-container"},n.secondaryImages.map((function(e,t){return r.a.createElement("img",{loading:"lazy",src:e.url,alt:e.altText,key:t,className:"image-style"})})))))))))))};w.defaultProps={content:"",theme:""};t.a=w}});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-multi-content",
3
- "version": "3.0.2",
3
+ "version": "3.0.3",
4
4
  "description": "Web component - Multi Content",
5
5
  "type": "module",
6
6
  "main": "multiContent.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "acc3c989de373312b025dcc717511f6932fc6076"
14
+ "gitHead": "d48358bbd19434f7c894ba5d11be622e8fd7566f"
15
15
  }