@assaabloy/amarr-wc-multi-content 5.0.3 → 5.0.5
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.
- package/multiContent.js +1 -1
- package/package.json +2 -2
- package/LICENSE.md +0 -21
- package/README.md +0 -19
package/multiContent.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){function n(n){for(var a,o,l=n[0],d=n[1],c=n[2],p=0,m=[];p<l.length;p++)o=l[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(t[a]=d[a]);for(s&&s(n);m.length;)m.shift()();return i.push.apply(i,c||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],a=!0,l=1;l<e.length;l++){var d=e[l];0!==r[d]&&(a=!1)}a&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var a={},r={59:0},i=[];function o(n){if(a[n])return a[n].exports;var e=a[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=t,o.c=a,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var a in t)o.d(e,a,function(n){return t[n]}.bind(null,a));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/";var l=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],d=l.push.bind(l);l.push=n,l=l.slice();for(var c=0;c<l.length;c++)n(l[c]);var s=d;i.push([530,0]),e()}({0:function(t,n){t.exports=React},1:function(t,n,e){"use strict";e.d(n,"a",(function(){return a})),e.d(n,"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)"),largeDesktopMax2:"(max-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)")}},10:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(0),r=e.n(a),i=e(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(t){return t.padding?"0 var(--grid-margin);":0}),(function(t){t.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(t){var n=t.className,e=t.children,a=t.maxWidth,o=void 0===a?1520:a,l=t.padding,d=void 0===l||l;return r.a.createElement(i,{className:n,maxWidth:o,padding:d},e)}},2:function(t,n,e){"use strict";e.d(n,"g",(function(){return r})),e.d(n,"W",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"E",(function(){return l})),e.d(n,"H",(function(){return d})),e.d(n,"v",(function(){return c})),e.d(n,"C",(function(){return s})),e.d(n,"o",(function(){return p})),e.d(n,"r",(function(){return m})),e.d(n,"J",(function(){return u})),e.d(n,"I",(function(){return g})),e.d(n,"R",(function(){return h})),e.d(n,"F",(function(){return b})),e.d(n,"u",(function(){return x})),e.d(n,"h",(function(){return f})),e.d(n,"t",(function(){return w})),e.d(n,"y",(function(){return v})),e.d(n,"w",(function(){return A})),e.d(n,"D",(function(){return U})),e.d(n,"s",(function(){return y})),e.d(n,"S",(function(){return k})),e.d(n,"q",(function(){return M})),e.d(n,"K",(function(){return D})),e.d(n,"G",(function(){return O})),e.d(n,"T",(function(){return N})),e.d(n,"m",(function(){return C})),e.d(n,"j",(function(){return S})),e.d(n,"n",(function(){return z})),e.d(n,"k",(function(){return W})),e.d(n,"l",(function(){return I})),e.d(n,"z",(function(){return j})),e.d(n,"M",(function(){return H})),e.d(n,"x",(function(){return T})),e.d(n,"U",(function(){return L})),e.d(n,"V",(function(){return _})),e.d(n,"b",(function(){return Z})),e.d(n,"P",(function(){return $})),e.d(n,"A",(function(){return R})),e.d(n,"a",(function(){return J})),e.d(n,"d",(function(){return F})),e.d(n,"f",(function(){return B})),e.d(n,"e",(function(){return G})),e.d(n,"Y",(function(){return V})),e.d(n,"c",(function(){return q})),e.d(n,"X",(function(){return K})),e.d(n,"L",(function(){return Y})),e.d(n,"N",(function(){return Q})),e.d(n,"O",(function(){return X})),e.d(n,"p",(function(){return tt})),e.d(n,"Q",(function(){return nt})),e.d(n,"B",(function(){return et}));var a=e(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},i=function(t){return btoa(unescape(encodeURIComponent(t)))},o=function(t){return t.toUpperCase()},l=function(t){return t.replaceAll(" ","-").toLowerCase()},d=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),g=new a.a(!1),h=new a.a(!1),b=new a.a(!1),x=new a.a(!1),f=new a.a(!1),w=new a.a(""),v=new a.a(!0),A=new a.a(!0),U=new a.a(!0),y=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a({}),P=new a.a(!1),E=0,O=new a.a(!1),N=new a.a(""),C=new a.a(""),S=new a.a(""),z=new a.a(""),W=new a.a(""),I=new a.a(""),j=new a.a(""),H=new a.a(""),T=new a.a(!1),L=new a.a(!1),_=new a.a(!1),Z=(new a.a(!1),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()},J=function(t){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(t)},F=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},B=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},G=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},V=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},q=function(t){return/^[0-9]*$/.test(t)},K=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},Y=function(t){if(t&&""!==t&&-1===t.indexOf("(")&&-1===t.indexOf(") ")&&-1===t.indexOf("-")){return"("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,t.length)}return t},Q=function(t){return t&&(t=t.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},X=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},tt=function(t){var n={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:t.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:t.selectedHeight,glass:t.selectedGlass,collection:t.selectedCollection,print:!0,baseUrl:"",gplacement:t.selectedWindowPlacement,width:t.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return t.selectedColor&&(n.color=t.selectedColor),t.colorHex&&(n.colorHex=t.colorHex),t.colorZone&&(n.colorZone=t.colorZone),t.selectedConstruction&&(n.model=t.selectedConstruction),t.selectedWindowDesign&&(n.top=t.selectedWindowDesign),t.glazepattern&&(n.glazepattern=t.glazepattern),t.selectedHardware&&(n.hardware=t.selectedHardware),n},nt=function(t,n,e){var a="",r=t.split(n);return r.forEach((function(t,n){"undefined"!==t&&t&&(a+=t,n!==r.length-1&&(a+=e))})),a};function et(t,n){var e=n||"html",a=t;return e||(e="html"),"html"==e&&(a=function(t){var n,e,a,o,l,s=t,p="";n=r(s,"<!--","-->",d,"W3HTMLCOMMENTPOS"),s=n.rest;for(;s.indexOf("<")>-1;)o="",e=s.indexOf("<"),"<STYLE"==s.substr(e,9).toUpperCase()&&(o="css"),"<SCRIPT"==s.substr(e,10).toUpperCase()&&(o="javascript"),-1==(a=s.indexOf(">",e))&&(a=s.length),p+=s.substring(0,e),p+=i(s.substring(e,a+4)),s=s.substr(a+4),"css"==o&&(a=s.indexOf("</style>"))>-1&&(p+=c(s.substring(0,a)),s=s.substr(a)),"javascript"==o&&(a=s.indexOf("</script>"))>-1&&(p+=u(s.substring(0,a)),s=s.substr(a));for(s=p+s,l=0;l<n.arr.length;l++)s=s.replace("W3HTMLCOMMENTPOS",n.arr[l]);return s}(a)),"css"==e&&(a=c(a)),"js"==e&&(a=u(a)),a;function r(t,n,e,a,r){for(var i,o,l="",d=[];t.search(n)>-1;)i=t.search(n),-1==(o=t.indexOf(e,i))&&(o=t.length),r?(d.push(a(t.substring(i,o+e.length))),t=t.substring(0,i)+r+t.substr(o+e.length)):(l+=t.substring(0,i),l+=a(t.substring(i,o+e.length)),t=t.substr(o+e.length));return{rest:l+t,arr:d}}function i(t){for(var n,e,a,r=t,i="";r.search(/(\s|<br>)/)>-1;)n=r.search(/(\s|<br>)/),-1==(e=r.indexOf(">"))&&(e=r.length),i+=r.substring(0,n),i+=o(r.substring(n,e)),r=r.substr(e);return">"==(a="<span style=color:grey><</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(t){for(var n,e,a,r,i,o=t,d="";o.indexOf("=")>-1;)e=-1,n=o.indexOf("="),a=o.indexOf("'",n),r=o.indexOf('"',n),(i=o.indexOf(" ",n+2))>-1&&(i<a||-1==a)&&(i<r||-1==r)?e=o.indexOf(" ",n):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?e=o.indexOf('"',o.indexOf('"',n)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(e=o.indexOf("'",o.indexOf("'",n)+1)),(!e||-1==e||e<n)&&(e=o.length),d+=o.substring(0,n),d+=l(o.substring(n,e+1)),o=o.substr(e+1);return"<span style=color:green>"+d+o+"</span>"}function l(t){return"<span style=color:#1c8a9c>"+t+"</span>"}function d(t){return"<span style=color:green>"+t+"</span>"}function c(t){var n,e,a,i,o,l,c,p=t,m="";for(p=(a=r(p,/\/\*/,"*/",d,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(n=p.search("{"),o=p.substr(n+1),c=1,l=0,i=0;i<o.length&&("{"==o.substr(i,1)&&(c++,l++),"}"==o.substr(i,1)&&c--,0!=c);i++);for(0!=c&&(l=0),e=n,i=0;i<=l;i++)e=p.indexOf("}",e+1);-1==e&&(e=p.length),m+=p.substring(0,n+1),m+=s(p.substring(n+1,e)),p=p.substr(e)}for(p=(p=(p=m+p).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)p=p.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+p+"</span>"}function s(t){var n,e,a,r,i=t,o="";if(i.indexOf("{")>-1)return c(i);for(;i.search(":")>-1;){for(r=!0,a=n=i.search(":");1==r;)r=!1,e=i.indexOf(";",a)," "==i.substring(e-5,e+1)&&(r=!0,a=e+1);-1==e&&(e=i.length),o+=i.substring(0,n),o+=p(i.substring(n,e+1)),i=i.substr(e+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function p(t){var n,e=t,a="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)n=e.search(/!important/i),a+=e.substring(0,n),a+=m(e.substring(n,n+10)),e=e.substr(n+10);var r=a+e;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function m(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function u(t){var n,e,a,r,i,o,l,c,s,p,m=t,u="",y=[],k="";for(n=0;n<m.length;n++)"\\"==(e=m.substr(n,1))&&(y.push(m.substr(n,2)),e="W3JSESCAPE",n++),k+=e;for(m=k,1;a=A(m,"'","'",g),r=A(m,'"','"',g),i=A(m,/\/\*/,"*/",d),o=A(m,/\/\//,"<br>",d),c=U(m,b),l=v("js",m,h),p=f(m,x),-1!=Math.max(c[0],a[0],r[0],i[0],o[0],l[0],p[0])&&-1!=(s=w(c,a,r,i,o,l,p))[0];)s[0]>-1&&(u+=m.substring(0,s[0]),u+=s[2](m.substring(s[0],s[1])),m=m.substr(s[1]));for(m=u+m,n=0;n<y.length;n++)m=m.replace("W3JSESCAPE",y[n]);return"<span style=color:black>"+m+"</span>"}function g(t){return"<span style=color:brown>"+t+"</span>"}function h(t){return"<span style=color:mediumblue>"+t+"</span>"}function b(t){return"<span style=color:red>"+t+"</span>"}function x(t){return"<span style=color:black>"+t+"</span>"}function f(t,n){var e,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=t.indexOf("."))>-1)for(e=t.substr(i+1),r=0;r<e.length;r++){var l=e[r];for(a=0;a<o.length;a++)if(l.indexOf(o[a])>-1)return[i+1,r+i+1,n]}return[-1,-1,n]}function w(t,n,e,a,r,i,o){var l,d=[];for(l=0;l<arguments.length;l++)arguments[l][0]>-1&&(0==d.length||arguments[l][0]<d[0])&&(d=arguments[l]);return 0==d.length&&(d=arguments[l]),d}function v(t,n,e){var a,r,i,o,l=-1,d=-1;for("js"==t&&(o=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<o.length;a++)(r=n.indexOf(o[a]))>-1&&(i=/\W/g,n.substr(r+o[a].length,1).match(i)&&n.substr(r-1,1).match(i)&&r>-1&&(-1==l||r<l)&&(d=(l=r)+o[a].length));return[l,d,e]}function A(t,n,e,a){var r,i;return r=t.search(n),-1==(i=t.indexOf(e,r+e.length))&&(i=t.length),[r,i+e.length,a]}function U(t,n){var e,a,r,i,o,l=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],d=0;for(e=0;e<t.length;e++)for(a=0;a<l.length;a++)if((r=t.substr(e,l[a].length))==l[a]){if("-"==r&&("e"==t.substr(e-1,1)||"E"==t.substr(e-1,1)))continue;if(d<(i=e)&&(o=t.substring(d,i),!isNaN(o)))return[d,i,n];d=e+=l[a].length,e-=1;break}return[-1,-1,n]}}},26:function(t,n){t.exports=ReactDOM},439:function(t,n,e){"use strict";e.r(n);var a=e(20),r=e(97);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-multi-content",useShadow:!1},plugins:[]})},7:function(t,n,e){"use strict";e.d(n,"a",(function(){return m}));var a=e(30),r=e(0),i=e.n(r),o=e(5),l=e(1),d=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;}"],l.b.smallDesktop2Min),s=e(25),p=e(24),m=function(t){var n=t.label,e=void 0===n?"label":n,r=t.classStyle,o=void 0===r?"default":r,l=t.link,m=void 0!==l&&l,u=t.disabled,g=void 0!==u&&u,h=t.datatoggle,b=void 0===h?"":h,x=t.datatarget,f=void 0===x?"":x,w=t.linkHref,v=t.target,A=void 0===v?"_self":v,U=t.downloadLink,y=void 0!==U&&U,k=t.inverse,M=void 0!==k&&k,D=t.icon,P=void 0===D?"":D,E=t.iconAlt,O=void 0===E?"":E,N=t.dataItemName,C=void 0===N?"":N,S=t.id,z=void 0===S?"":S,W=t.type,I=void 0===W?"button":W,j=t.showDisabledMessage,H=void 0===j?"":j,T=t.ariaLabel,L=void 0===T?"":T,_=Object(a.a)(t,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel"]);return i.a.createElement(d,null,i.a.createElement("div",{className:"".concat(g&&H&&"disabled-button-parent")},m?i.a.createElement("a",{href:w,download:y,target:A,"data-item-name":C,id:z,"aria-label":L},i.a.createElement(c,Object.assign({role:"none",disabled:g,classStyle:"".concat(o)},_,{type:I,className:M?"btn-inverse btn btn-success":"btn btn-success"}),""!=P?i.a.createElement("div",{"data-toggle":b,"data-target":f},i.a.createElement("img",{loading:"lazy",className:"button-icon",src:P,alt:O}),i.a.createElement("span",null,e)):i.a.createElement("span",null,e))):i.a.createElement(c,Object.assign({disabled:g,classStyle:o,className:M?"btn-inverse btn btn-success":"btn btn-success",id:z,"data-item-name":C,type:I},_),i.a.createElement("span",null,e)),g&&H&&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"},H))},i.a.createElement("div",{className:"disabled-button-overlay"}))))}},8:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(5),r=e(0),i=e.n(r),o=function(t){var n=t.setter,e=n.componentThemes,r=n.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var t=r.match(/\d+/g).map(Number),n=Object.keys(e).find((function(n){return!(!Array.isArray(t)||1!==t.length)&&(n.includes(t[0])&&e[n])}));return n?e["".concat(n)]:e.theme1}},t.children)}},9:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(21),l=Object(a.createContext)({});n.a=function(t){var n=!1;try{var e;n=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(d){console.log(d)}var a=n?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(l.Provider,{value:{rtl:n}},t.children))}},97:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(2),o=e(7),l=e(12),d=e.n(l),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=e(11),p=e(5),m=e(1);function u(){var t=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 t},t}var g=p.default.div.withConfig({displayName:"styles__Content",componentId:"ii1tl2-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.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=e(8),b=e(9),x=e(10),f={header:{text:""},textColor:"",headingStyle:"",bgColor:"",body:{text:""},primaryImage:{url:"",altText:""},secondaryImages:void 0,ctaItems:[{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}]},w=function(t){var n,e=d()({},f,Object(i.g)(t.content));return r.a.createElement(h.a,{setter:{componentThemes:c,selectedTheme:t.theme}},r.a.createElement(b.a,null,r.a.createElement(x.a,{padding:!1},r.a.createElement(g,{isReversed:!1},r.a.createElement("section",{id:"multi-content",className:"".concat("grey"===e.bgColor&&"grey-bg-multicontent"," ").concat("white"===e.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"},e.header&&"h1"===e.headingStyle&&r.a.createElement("h1",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h2"===e.headingStyle&&r.a.createElement("h2",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h3"===e.headingStyle&&r.a.createElement("h3",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h4"===e.headingStyle&&r.a.createElement("h4",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h5"===e.headingStyle&&r.a.createElement("h5",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h6"===e.headingStyle&&r.a.createElement("h6",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"capitalize"===e.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),r.a.createElement("p",{className:"body-text1",dangerouslySetInnerHTML:{__html:e.body.text}}),r.a.createElement("div",{className:"button-wrapper"},(null===e||void 0===e?void 0:e.ctaItems)&&(null===e||void 0===e||null===(n=e.ctaItems)||void 0===n?void 0:n.map((function(t,n){return r.a.createElement("div",{className:"".concat(t.label.length>25&&"button-auto-height"," cta-item"),key:n},("inverse"===t.color||"normal"===t.color)&&t.visible&&t.label&&t.linkAction&&r.a.createElement(o.a,{label:Object(i.i)(t.label),link:!0,linkHref:t.url,target:t.linkAction,inverse:"inverse"===t.color}),"tertiary"===t.color&&t.visible&&t.isInternal&&t.label&&t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,"aria-label":t.label},t.label),"tertiary"===t.color&&t.visible&&!t.isInternal&&t.label&&"_self"===t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,"aria-label":t.label},t.label),"tertiary"===t.color&&t.visible&&!t.isInternal&&t.label&&"_blank"===t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,rel:"noopener","aria-label":t.label},t.label))}))))),r.a.createElement("div",{className:"col-lg-4 pr-0 right-block"},r.a.createElement("div",{className:"".concat(!(e.secondaryImages&&e.secondaryImages.length>0)&&"primary-image")},r.a.createElement("img",{loading:"lazy",src:e.primaryImage.url,alt:e.primaryImage.altText})),e.secondaryImages&&e.secondaryImages.length>0&&r.a.createElement("div",{className:"image-container"},e.secondaryImages.map((function(t,n){return r.a.createElement("img",{loading:"lazy",src:t.url,alt:t.altText,key:n,className:"image-style"})})))))))))))};w.defaultProps={content:"",theme:""};n.a=w}});
|
|
1
|
+
!function(t){function n(n){for(var a,o,l=n[0],c=n[1],d=n[2],p=0,u=[];p<l.length;p++)o=l[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);for(s&&s(n);u.length;)u.shift()();return i.push.apply(i,d||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],a=!0,l=1;l<e.length;l++){var c=e[l];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var a={},r={71:0},i=[];function o(n){if(a[n])return a[n].exports;var e=a[n]={i:n,l:!1,exports:{}};return t[n].call(e.exports,e,e.exports,o),e.l=!0,e.exports}o.m=t,o.c=a,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var a in t)o.d(e,a,function(n){return t[n]}.bind(null,a));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/";var l=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=l.push.bind(l);l.push=n,l=l.slice();for(var d=0;d<l.length;d++)n(l[d]);var s=c;i.push([633,0]),e()}({0:function(t,n){t.exports=React},1:function(t,n,e){"use strict";e.d(n,"g",(function(){return r})),e.d(n,"fb",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"L",(function(){return l})),e.d(n,"O",(function(){return c})),e.d(n,"w",(function(){return d})),e.d(n,"J",(function(){return s})),e.d(n,"p",(function(){return p})),e.d(n,"s",(function(){return u})),e.d(n,"Q",(function(){return m})),e.d(n,"P",(function(){return g})),e.d(n,"ab",(function(){return h})),e.d(n,"M",(function(){return b})),e.d(n,"v",(function(){return f})),e.d(n,"h",(function(){return x})),e.d(n,"u",(function(){return w})),e.d(n,"z",(function(){return v})),e.d(n,"x",(function(){return A})),e.d(n,"K",(function(){return U})),e.d(n,"t",(function(){return y})),e.d(n,"bb",(function(){return M})),e.d(n,"r",(function(){return k})),e.d(n,"R",(function(){return D})),e.d(n,"N",(function(){return O})),e.d(n,"cb",(function(){return N})),e.d(n,"n",(function(){return S})),e.d(n,"k",(function(){return C})),e.d(n,"o",(function(){return z})),e.d(n,"l",(function(){return I})),e.d(n,"m",(function(){return W})),e.d(n,"C",(function(){return L})),e.d(n,"V",(function(){return j})),e.d(n,"y",(function(){return H})),e.d(n,"db",(function(){return T})),e.d(n,"eb",(function(){return _})),e.d(n,"b",(function(){return Z})),e.d(n,"Y",(function(){return $})),e.d(n,"E",(function(){return J})),e.d(n,"a",(function(){return R})),e.d(n,"gb",(function(){return F})),e.d(n,"d",(function(){return V})),e.d(n,"f",(function(){return B})),e.d(n,"e",(function(){return G})),e.d(n,"jb",(function(){return Y})),e.d(n,"c",(function(){return q})),e.d(n,"hb",(function(){return K})),e.d(n,"ib",(function(){return Q})),e.d(n,"S",(function(){return X})),e.d(n,"T",(function(){return tt})),e.d(n,"U",(function(){return nt})),e.d(n,"W",(function(){return et})),e.d(n,"X",(function(){return at})),e.d(n,"q",(function(){return rt})),e.d(n,"Z",(function(){return it})),e.d(n,"I",(function(){return ot})),e.d(n,"j",(function(){return lt})),e.d(n,"D",(function(){return ct})),e.d(n,"G",(function(){return dt})),e.d(n,"H",(function(){return st})),e.d(n,"F",(function(){return pt})),e.d(n,"A",(function(){return mt})),e.d(n,"B",(function(){return gt}));var a=e(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},i=function(t){return btoa(unescape(encodeURIComponent(t)))},o=function(t){return t.toUpperCase()},l=function(t){return t.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),d=new a.a(!1),s=new a.a(!1),p=new a.a(!1),u=new a.a(""),m=new a.a(!1),g=new a.a(!1),h=new a.a(!1),b=new a.a(!1),f=new a.a(!1),x=new a.a(!1),w=new a.a(""),v=new a.a(!0),A=new a.a(!0),U=new a.a(!0),y=new a.a(!0),M=new a.a(!0),k=new a.a(!0),D=new a.a({}),P=new a.a(!1),E=0,O=new a.a(!1),N=new a.a(""),S=new a.a(""),C=new a.a(""),z=new a.a(""),I=new a.a(""),W=new a.a(""),L=new a.a(""),j=new a.a(""),H=new a.a(!1),T=new a.a(!1),_=new a.a(!1),Z=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),function(){setTimeout((function(){E++,P.next(!0)}),0)}),$=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},J=function(){return P.asObservable()},R=function(t){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(t)},F=function(t){var n=0;return!!/(?=.{8,})/.test(t)&&(/([a-z])/.test(t)&&n++,/([A-Z])/.test(t)&&n++,/(\d)/.test(t)&&n++,/([!@#$%^&*])/.test(t)&&n++,!(n<3))},V=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},B=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},G=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},Y=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},q=function(t){return/^[0-9]*$/.test(t)},K=function(t){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(t)},Q=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},X=function(t){if(t&&""!==t&&-1===t.indexOf("(")&&-1===t.indexOf(") ")&&-1===t.indexOf("-")){return"("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,t.length)}return t},tt=function(t){var n=(""+t).replace(/\D/g,"");if(n.length>10){var e=(n=n.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(e)return"("+e[1]+") "+e[2]+"-"+e[3]}var a="";return n.split("").forEach((function(t,n){a+=0==n?"("+t:2==n?t+") ":5==n?t+"-":t})),a},nt=function(t){var n=t.target.value;return 1==n.length?"("+n:5==n.length?n.slice(0,n.length-1)+") "+n[n.length-1]:10==n.length&&"-"!==n[n.length-1]?n.slice(0,n.length-1)+"-"+n[n.length-1]:10==n.length&&"-"===n[n.length-1]?n.substring(0,n.length-1):6==n.length?n.substring(0,n.length-2):n},et=function(t){return t&&(t=t.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},at=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},rt=function(t){var n={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:t.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:t.selectedHeight,glass:t.selectedGlass,collection:t.selectedCollection,print:!0,baseUrl:"",gplacement:t.selectedWindowPlacement,width:t.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return t.selectedColor&&(n.color=t.selectedColor),t.colorHex&&(n.colorHex=t.colorHex),t.colorZone&&(n.colorZone=t.colorZone),t.selectedConstruction&&(n.model=t.selectedConstruction),t.selectedWindowDesign&&(n.top=t.selectedWindowDesign),t.glazepattern&&(n.glazepattern=t.glazepattern),t.selectedHardware&&(n.hardware=t.selectedHardware),n},it=function(t,n,e){var a="",r=t.split(n);return r.forEach((function(t,n){"undefined"!==t&&t&&(a+=t,n!==r.length-1&&(a+=e))})),a};function ot(t,n){var e=n||"html",a=t;return e||(e="html"),"html"==e&&(a=function(t){var n,e,a,o,l,s=t,p="";n=r(s,"<!--","-->",c,"W3HTMLCOMMENTPOS"),s=n.rest;for(;s.indexOf("<")>-1;)o="",e=s.indexOf("<"),"<STYLE"==s.substr(e,9).toUpperCase()&&(o="css"),"<SCRIPT"==s.substr(e,10).toUpperCase()&&(o="javascript"),-1==(a=s.indexOf(">",e))&&(a=s.length),p+=s.substring(0,e),p+=i(s.substring(e,a+4)),s=s.substr(a+4),"css"==o&&(a=s.indexOf("</style>"))>-1&&(p+=d(s.substring(0,a)),s=s.substr(a)),"javascript"==o&&(a=s.indexOf("</script>"))>-1&&(p+=m(s.substring(0,a)),s=s.substr(a));for(s=p+s,l=0;l<n.arr.length;l++)s=s.replace("W3HTMLCOMMENTPOS",n.arr[l]);return s}(a)),"css"==e&&(a=d(a)),"js"==e&&(a=m(a)),a;function r(t,n,e,a,r){for(var i,o,l="",c=[];t.search(n)>-1;)i=t.search(n),-1==(o=t.indexOf(e,i))&&(o=t.length),r?(c.push(a(t.substring(i,o+e.length))),t=t.substring(0,i)+r+t.substr(o+e.length)):(l+=t.substring(0,i),l+=a(t.substring(i,o+e.length)),t=t.substr(o+e.length));return{rest:l+t,arr:c}}function i(t){for(var n,e,a,r=t,i="";r.search(/(\s|<br>)/)>-1;)n=r.search(/(\s|<br>)/),-1==(e=r.indexOf(">"))&&(e=r.length),i+=r.substring(0,n),i+=o(r.substring(n,e)),r=r.substr(e);return">"==(a="<span style=color:grey><</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(t){for(var n,e,a,r,i,o=t,c="";o.indexOf("=")>-1;)e=-1,n=o.indexOf("="),a=o.indexOf("'",n),r=o.indexOf('"',n),(i=o.indexOf(" ",n+2))>-1&&(i<a||-1==a)&&(i<r||-1==r)?e=o.indexOf(" ",n):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?e=o.indexOf('"',o.indexOf('"',n)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(e=o.indexOf("'",o.indexOf("'",n)+1)),(!e||-1==e||e<n)&&(e=o.length),c+=o.substring(0,n),c+=l(o.substring(n,e+1)),o=o.substr(e+1);return"<span style=color:green>"+c+o+"</span>"}function l(t){return"<span style=color:#1c8a9c>"+t+"</span>"}function c(t){return"<span style=color:green>"+t+"</span>"}function d(t){var n,e,a,i,o,l,d,p=t,u="";for(p=(a=r(p,/\/\*/,"*/",c,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(n=p.search("{"),o=p.substr(n+1),d=1,l=0,i=0;i<o.length&&("{"==o.substr(i,1)&&(d++,l++),"}"==o.substr(i,1)&&d--,0!=d);i++);for(0!=d&&(l=0),e=n,i=0;i<=l;i++)e=p.indexOf("}",e+1);-1==e&&(e=p.length),u+=p.substring(0,n+1),u+=s(p.substring(n+1,e)),p=p.substr(e)}for(p=(p=(p=u+p).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)p=p.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+p+"</span>"}function s(t){var n,e,a,r,i=t,o="";if(i.indexOf("{")>-1)return d(i);for(;i.search(":")>-1;){for(r=!0,a=n=i.search(":");1==r;)r=!1,e=i.indexOf(";",a)," "==i.substring(e-5,e+1)&&(r=!0,a=e+1);-1==e&&(e=i.length),o+=i.substring(0,n),o+=p(i.substring(n,e+1)),i=i.substr(e+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function p(t){var n,e=t,a="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)n=e.search(/!important/i),a+=e.substring(0,n),a+=u(e.substring(n,n+10)),e=e.substr(n+10);var r=a+e;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function u(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function m(t){var n,e,a,r,i,o,l,d,s,p,u=t,m="",y=[],M="";for(n=0;n<u.length;n++)"\\"==(e=u.substr(n,1))&&(y.push(u.substr(n,2)),e="W3JSESCAPE",n++),M+=e;for(u=M,1;a=A(u,"'","'",g),r=A(u,'"','"',g),i=A(u,/\/\*/,"*/",c),o=A(u,/\/\//,"<br>",c),d=U(u,b),l=v("js",u,h),p=x(u,f),-1!=Math.max(d[0],a[0],r[0],i[0],o[0],l[0],p[0])&&-1!=(s=w(d,a,r,i,o,l,p))[0];)s[0]>-1&&(m+=u.substring(0,s[0]),m+=s[2](u.substring(s[0],s[1])),u=u.substr(s[1]));for(u=m+u,n=0;n<y.length;n++)u=u.replace("W3JSESCAPE",y[n]);return"<span style=color:black>"+u+"</span>"}function g(t){return"<span style=color:brown>"+t+"</span>"}function h(t){return"<span style=color:mediumblue>"+t+"</span>"}function b(t){return"<span style=color:red>"+t+"</span>"}function f(t){return"<span style=color:black>"+t+"</span>"}function x(t,n){var e,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=t.indexOf("."))>-1)for(e=t.substr(i+1),r=0;r<e.length;r++){var l=e[r];for(a=0;a<o.length;a++)if(l.indexOf(o[a])>-1)return[i+1,r+i+1,n]}return[-1,-1,n]}function w(t,n,e,a,r,i,o){var l,c=[];for(l=0;l<arguments.length;l++)arguments[l][0]>-1&&(0==c.length||arguments[l][0]<c[0])&&(c=arguments[l]);return 0==c.length&&(c=arguments[l]),c}function v(t,n,e){var a,r,i,o,l=-1,c=-1;for("js"==t&&(o=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<o.length;a++)(r=n.indexOf(o[a]))>-1&&(i=/\W/g,n.substr(r+o[a].length,1).match(i)&&n.substr(r-1,1).match(i)&&r>-1&&(-1==l||r<l)&&(c=(l=r)+o[a].length));return[l,c,e]}function A(t,n,e,a){var r,i;return r=t.search(n),-1==(i=t.indexOf(e,r+e.length))&&(i=t.length),[r,i+e.length,a]}function U(t,n){var e,a,r,i,o,l=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],c=0;for(e=0;e<t.length;e++)for(a=0;a<l.length;a++)if((r=t.substr(e,l[a].length))==l[a]){if("-"==r&&("e"==t.substr(e-1,1)||"E"==t.substr(e-1,1)))continue;if(c<(i=e)&&(o=t.substring(c,i),!isNaN(o)))return[c,i,n];c=e+=l[a].length,e-=1;break}return[-1,-1,n]}}var lt=function(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""},ct=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},dt=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},st=function(t){if("string"===typeof t){var n=t;return n=(n=n.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return t},pt=function(t){return Math.floor(Math.random()*t)+1},ut=["January","February","March","April","May","June","July","August","September","October","November","December"],mt=function(t){var n=new Date(t);if("Invalid Date"==n.toString())return t;var e=n.getFullYear(),a=n.getMonth(),r=(n.getDate()+"").padStart(2,"0");return"".concat(ut[a].slice(0,3)," ").concat(r,", ").concat(e)},gt=function(t){return t.length>0?t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):t}},10:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(0),r=e.n(a),i=e(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(t){return t.padding?"0 var(--grid-margin);":0}),(function(t){t.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(t){var n=t.className,e=t.children,a=t.maxWidth,o=void 0===a?1520:a,l=t.padding,c=void 0===l||l;return r.a.createElement(i,{className:n,maxWidth:o,padding:c},e)};n.b=o},111:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(1),o=e(6),l=e(13),c=e.n(l),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=e(11),p=e(5),u=e(2);function m(){var t=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 m=function(){return t},t}var g=p.default.div.withConfig({displayName:"styles__Content",componentId:"ii1tl2-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(p.css)(m(),u.b.tabletPortraitMax,u.b.largeDesktopMin,u.b.tabletPortraitAndUp2,u.b.mediumDesktopAndUp3Max,u.b.smallMobileAndUp,u.b.tabletPortraitAndUp2Max2,u.b.tabletPortraitMax,u.b.tabletPortraitMax,u.b.tabletPortraitMax,u.b.tabletLandscapeAndUp,u.b.mediumDesktopAndUp3Max,u.b.smallDesktopAndUp2Max,u.b.tabletPortraitMax,u.a.tabletPortraitAndUp-1,u.b.tabletPortraitMax,u.b.mobileMax,u.b.largeMobileAndUp2Max2,u.b.smallMobileAndUpMax2,u.b.largeDesktopMin,u.b.mediumDesktopAndUp3Max,u.b.smallDesktopAndUp2Max,u.b.tabletPortraitMax,u.b.tabletPortraitAndUpMax3)})),h=e(8),b=e(9),f=e(10),x={header:{text:""},textColor:"",headingStyle:"",bgColor:"",body:{text:""},primaryImage:{url:"",altText:""},secondaryImages:void 0,ctaItems:[{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}]},w=function(t){var n,e=c()({},x,Object(i.g)(t.content));return r.a.createElement(h.a,{setter:{componentThemes:d,selectedTheme:t.theme}},r.a.createElement(b.a,null,r.a.createElement(f.a,{padding:!1},r.a.createElement(g,{isReversed:!1},r.a.createElement("section",{id:"multi-content",className:"".concat("grey"===e.bgColor&&"grey-bg-multicontent"," ").concat("white"===e.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"},e.header&&"h1"===e.headingStyle&&r.a.createElement("h1",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h2"===e.headingStyle&&r.a.createElement("h2",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h3"===e.headingStyle&&r.a.createElement("h3",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h4"===e.headingStyle&&r.a.createElement("h4",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h5"===e.headingStyle&&r.a.createElement("h5",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"h6"===e.headingStyle&&r.a.createElement("h6",{className:"heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),e.header&&"capitalize"===e.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase heading-text-style ".concat("green"===e.textColor&&"amarrHighlight")},e.header.text),r.a.createElement("p",{className:"body-text1",dangerouslySetInnerHTML:{__html:e.body.text}}),r.a.createElement("div",{className:"button-wrapper"},(null===e||void 0===e?void 0:e.ctaItems)&&(null===e||void 0===e||null===(n=e.ctaItems)||void 0===n?void 0:n.map((function(t,n){return r.a.createElement("div",{className:"".concat(t.label.length>25&&"button-auto-height"," cta-item"),key:n},("inverse"===t.color||"normal"===t.color)&&t.visible&&t.label&&t.linkAction&&r.a.createElement(o.a,{label:Object(i.i)(t.label),link:!0,linkHref:t.url,target:t.linkAction,inverse:"inverse"===t.color}),"tertiary"===t.color&&t.visible&&t.isInternal&&t.label&&t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,"aria-label":t.label},t.label),"tertiary"===t.color&&t.visible&&!t.isInternal&&t.label&&"_self"===t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,"aria-label":t.label},t.label),"tertiary"===t.color&&t.visible&&!t.isInternal&&t.label&&"_blank"===t.linkAction&&r.a.createElement("a",{className:"body-text1 amarrHighlight text-style-tertiary",href:t.url,target:t.linkAction,rel:"noopener","aria-label":t.label},t.label))}))))),r.a.createElement("div",{className:"col-lg-4 pr-0 right-block"},r.a.createElement("div",{className:"".concat(!(e.secondaryImages&&e.secondaryImages.length>0)&&"primary-image")},r.a.createElement("img",{loading:"lazy",src:e.primaryImage.url,alt:e.primaryImage.altText})),e.secondaryImages&&e.secondaryImages.length>0&&r.a.createElement("div",{className:"image-container"},e.secondaryImages.map((function(t,n){return r.a.createElement("img",{loading:"lazy",src:t.url,alt:t.altText,key:n,className:"image-style"})})))))))))))};w.defaultProps={content:"",theme:""};n.a=w},2:function(t,n,e){"use strict";e.d(n,"a",(function(){return a})),e.d(n,"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,extraLarge:2560},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)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-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)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"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)"),mediumDesktopAndUp2Max:"(max-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)"),largeDesktopMax2:"(max-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)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},32:function(t,n){t.exports=ReactDOM},516:function(t,n,e){"use strict";e.r(n);var a=e(22),r=e(111);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-multi-content",useShadow:!1},plugins:[]})},6:function(t,n,e){"use strict";e.d(n,"a",(function(){return u}));var a=e(31),r=e(0),i=e.n(r),o=e(5),l=e(2),c=o.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),d=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;}"],l.b.smallDesktop2Min),s=e(30),p=e(29),u=function(t){var n=t.label,e=void 0===n?"label":n,r=t.classStyle,o=void 0===r?"default":r,l=t.link,u=void 0!==l&&l,m=t.disabled,g=void 0!==m&&m,h=t.datatoggle,b=void 0===h?"":h,f=t.datatarget,x=void 0===f?"":f,w=t.linkHref,v=t.target,A=void 0===v?"_self":v,U=t.downloadLink,y=void 0!==U&&U,M=t.inverse,k=void 0!==M&&M,D=t.icon,P=void 0===D?"":D,E=t.iconAlt,O=void 0===E?"":E,N=t.dataItemName,S=void 0===N?"":N,C=t.id,z=void 0===C?"":C,I=t.type,W=void 0===I?"button":I,L=t.showDisabledMessage,j=void 0===L?"":L,H=t.ariaLabel,T=void 0===H?"":H,_=Object(a.a)(t,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel"]);return i.a.createElement(c,null,i.a.createElement("div",{className:"".concat(g&&j&&"disabled-button-parent")},u?i.a.createElement("a",{href:w,download:y,target:A,"data-item-name":S,id:z,"aria-label":T},i.a.createElement(d,Object.assign({role:"none",disabled:g,classStyle:"".concat(o)},_,{type:W,className:k?"btn-inverse btn btn-success":"btn btn-success"}),""!=P?i.a.createElement("div",{"data-toggle":b,"data-target":x},i.a.createElement("img",{loading:"lazy",className:"button-icon",src:P,alt:O}),i.a.createElement("span",null,e)):i.a.createElement("span",null,e))):i.a.createElement(d,Object.assign({disabled:g,classStyle:o,className:k?"btn-inverse btn btn-success":"btn btn-success",id:z,"data-item-name":S,type:W,"data-toggle":b,"data-target":x},_),i.a.createElement("span",null,e)),g&&j&&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"},j))},i.a.createElement("div",{className:"disabled-button-overlay"}))))}},8:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var a=e(5),r=e(0),i=e.n(r),o=function(t){var n=t.setter,e=n.componentThemes,r=n.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var t=r.match(/\d+/g).map(Number),n=Object.keys(e).find((function(n){return!(!Array.isArray(t)||1!==t.length)&&(n.includes(t[0])&&e[n])}));return n?e["".concat(n)]:e.theme1}},t.children)};n.b=o},9:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(23),l=Object(a.createContext)({});n.a=function(t){var n=!1;try{var e;n=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(c){console.log(c)}var a=n?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(l.Provider,{value:{rtl:n}},t.children))}}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-multi-content",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.5",
|
|
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": "
|
|
14
|
+
"gitHead": "df19edbe2dcbb909196a47080a5833bdc0a361e6"
|
|
15
15
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020-present ASSA ABLOY global web contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
<sup>Global web - web components</sup>
|
|
3
|
-
|
|
4
|
-
# Multi Content
|
|
5
|
-
|
|
6
|
-
**Custom HTML element**
|
|
7
|
-
```html
|
|
8
|
-
<multi-content foo="" bar="" baz=""></multi-content>
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
**Properties**
|
|
12
|
-
| Name | Type | Description |
|
|
13
|
-
| ------------- | --------- | ----------------------------- |
|
|
14
|
-
| foo | Object | |
|
|
15
|
-
| bar | String | Allowed values, required etc. |
|
|
16
|
-
| baz | Array | |
|
|
17
|
-
|
|
18
|
-
**Dependencies**
|
|
19
|
-
@assaabloy/wc-vendor
|