@assaabloy/amarr-wc-slider-carousel 5.0.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-slider-carousel",
3
- "version": "5.0.2",
3
+ "version": "5.0.5",
4
4
  "description": "Web component - Slider Carousel",
5
5
  "type": "module",
6
6
  "main": "sliderCarousel.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "9ccc02bd1b2f0af735bd5b5f4cffc36ebf6a1e1e"
14
+ "gitHead": "df19edbe2dcbb909196a47080a5833bdc0a361e6"
15
15
  }
package/sliderCarousel.js CHANGED
@@ -1 +1 @@
1
- !function(e){function n(n){for(var a,o,d=n[0],c=n[1],l=n[2],s=0,u=[];s<d.length;s++)o=d[s],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)&&(e[a]=c[a]);for(p&&p(n);u.length;)u.shift()();return i.push.apply(i,l||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],a=!0,d=1;d<t.length;d++){var c=t[d];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),e=o(o.s=t[0]))}return e}var a={},r={73:0},i=[];function o(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,o),t.l=!0,t.exports}o.m=e,o.c=a,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},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,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)o.d(t,a,function(n){return e[n]}.bind(null,a));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=n,d=d.slice();for(var l=0;l<d.length;l++)n(d[l]);var p=c;i.push([866,0]),t()}({0:function(e,n){e.exports=React},1:function(e,n,t){"use strict";t.d(n,"a",(function(){return a})),t.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(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var a=t(0),r=t.n(a),i=t(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 n=e.className,t=e.children,a=e.maxWidth,o=void 0===a?1520:a,d=e.padding,c=void 0===d||d;return r.a.createElement(i,{className:n,maxWidth:o,padding:c},t)}},2:function(e,n,t){"use strict";t.d(n,"g",(function(){return r})),t.d(n,"V",(function(){return i})),t.d(n,"i",(function(){return o})),t.d(n,"D",(function(){return d})),t.d(n,"G",(function(){return c})),t.d(n,"v",(function(){return l})),t.d(n,"B",(function(){return p})),t.d(n,"o",(function(){return s})),t.d(n,"r",(function(){return u})),t.d(n,"I",(function(){return m})),t.d(n,"H",(function(){return x})),t.d(n,"Q",(function(){return h})),t.d(n,"E",(function(){return f})),t.d(n,"u",(function(){return b})),t.d(n,"h",(function(){return g})),t.d(n,"t",(function(){return w})),t.d(n,"y",(function(){return A})),t.d(n,"w",(function(){return U})),t.d(n,"C",(function(){return k})),t.d(n,"s",(function(){return M})),t.d(n,"R",(function(){return v})),t.d(n,"q",(function(){return D})),t.d(n,"J",(function(){return y})),t.d(n,"F",(function(){return z})),t.d(n,"S",(function(){return S})),t.d(n,"m",(function(){return N})),t.d(n,"j",(function(){return O})),t.d(n,"n",(function(){return W})),t.d(n,"k",(function(){return j})),t.d(n,"l",(function(){return T})),t.d(n,"z",(function(){return _})),t.d(n,"L",(function(){return C})),t.d(n,"x",(function(){return L})),t.d(n,"T",(function(){return I})),t.d(n,"U",(function(){return Z})),t.d(n,"b",(function(){return $})),t.d(n,"O",(function(){return H})),t.d(n,"A",(function(){return R})),t.d(n,"a",(function(){return F})),t.d(n,"d",(function(){return J})),t.d(n,"f",(function(){return G})),t.d(n,"e",(function(){return q})),t.d(n,"X",(function(){return V})),t.d(n,"c",(function(){return B})),t.d(n,"W",(function(){return K})),t.d(n,"K",(function(){return Q})),t.d(n,"M",(function(){return X})),t.d(n,"N",(function(){return Y})),t.d(n,"p",(function(){return ee})),t.d(n,"P",(function(){return ne}));var a=t(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()},c=new a.a(!1),l=new a.a(!1),p=new a.a(!1),s=new a.a(!1),u=new a.a(""),m=new a.a(!1),x=new a.a(!1),h=new a.a(!1),f=new a.a(!1),b=new a.a(!1),g=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),v=new a.a(!0),D=new a.a(!0),y=new a.a({}),P=new a.a(!1),E=0,z=new a.a(!1),S=new a.a(""),N=new a.a(""),O=new a.a(""),W=new a.a(""),j=new a.a(""),T=new a.a(""),_=new a.a(""),C=new a.a(""),L=new a.a(!1),I=new a.a(!1),Z=new a.a(!1),$=(new a.a(!1),new a.a(!1),function(){setTimeout((function(){E++,P.next(!0)}),0)}),H=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-. ]*$/)},G=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},q=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)},B=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,n){return e=e?Number(e):0,(0===(n=n?Number(n):0)||"0"===n?0:(e-n)/n*100).toFixed(2)},ee=function(e){var n={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&&(n.color=e.selectedColor),e.colorHex&&(n.colorHex=e.colorHex),e.colorZone&&(n.colorZone=e.colorZone),e.selectedConstruction&&(n.model=e.selectedConstruction),e.selectedWindowDesign&&(n.top=e.selectedWindowDesign),e.glazepattern&&(n.glazepattern=e.glazepattern),e.selectedHardware&&(n.hardware=e.selectedHardware),n},ne=function(e,n,t){var a="",r=e.split(n);return r.forEach((function(e,n){"undefined"!==e&&e&&(a+=e,n!==r.length-1&&(a+=t))})),a}},26:function(e,n){e.exports=ReactDOM},28:function(e,n,t){"use strict";t.d(n,"a",(function(){return l}));var a=t(23),r=t(0),i=t.n(r),o=t(5),d=t(1),c=o.default.div.withConfig({displayName:"styles__View",componentId:"zfm3w6-0"})([".divider{width:100%;height:6px;@media screen and ","{height:8px;}@media screen and ","{height:10px;}}"],d.b.mediumDesktopMin,d.b.largeDesktopMin),l=function(e){return Object(a.a)(e),i.a.createElement(c,null,i.a.createElement("div",{className:"divider"},"\xa0"))}},774:function(e,n,t){"use strict";t.r(n);var a=t(21),r=t(95);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-slider-carousel",useShadow:!1},plugins:[]})},8:function(e,n,t){"use strict";t.d(n,"a",(function(){return o}));var a=t(5),r=t(0),i=t.n(r),o=function(e){var n=e.setter,t=n.componentThemes,r=n.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return t.theme1;var e=r.match(/\d+/g).map(Number),n=Object.keys(t).find((function(n){return!(!Array.isArray(e)||1!==e.length)&&(n.includes(e[0])&&t[n])}));return n?t["".concat(n)]:t.theme1}},e.children)}},9:function(e,n,t){"use strict";var a=t(0),r=t.n(a),i=t(5),o=t(20),d=t.n(o),c=Object(a.createContext)({});n.a=function(e){var n=!1;try{var t;n=(null===(t=document)||void 0===t?void 0:t.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(o){console.log(o)}var a=n?[d.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:n}},e.children))}},95:function(e,n,t){"use strict";var a=t(0),r=t.n(a),i=t(12),o=t.n(i),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},c=t(11),l=t(5),p=t(1);function s(){var e=Object(c.a)(["\n .slider-parent {\n background: var(--grey);\n margin: 0 auto;\n display: flex;\n align-items: center;\n position: relative;\n }\n \n .text-style {\n text-align: var(--text-center);\n margin-top: 1rem;\n @media screen and "," {\n & h2{\n // font-size: 18px;\n & + div{\n // font-size: 16px;\n // line-height: 22px;\n // text-align: left;\n }\n }\n }\n }\n \n .amarrHighlight {\n color: var(--accent);\n }\n \n .before-header-container {\n justify-content: center;\n font-weight: var(--font-weight-semi-bold);\n text-transform: capitalize;\n padding: 1rem 0 0.5rem 0;\n background-color: var(--grey);\n width: 100%;\n gap: 34%;\n @media screen and "," {\n font-size: var(--font-size-m5);\n }\n @media screen and "," {\n font-size: var(--font-size-l3);\n }\n @media screen and "," {\n font-size: var(--font-size-m6);\n }\n @media screen and ",' {\n justify-content: space-around;\n gap: 0;\n }\n }\n \n #slider-carousel-meta-data {\n background: var(--grey);\n }\n .parent-container {\n background: var(--grey);\n }\n \n button.slick-prev{\n left: -90px;\n }\n button.slick-next{\n right: -90px;\n }\n \n button.slick-prev {\n background: url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-left-carousel.svg) no-repeat left top;\n width: 72px;\n height: 72px;\n background-size: contain;\n &:before {\n content: "";\n }\n }\n button.slick-next {\n background: url(/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/arrow-right-carousel.svg) no-repeat left top;\n width: 72px;\n height: 72px;\n background-size: contain;\n &:before {\n content: "";\n }\n }\n .simple-carousel--single .slick-prev {\n @media '," {\n left: -20px;\n }\n }\n .simple-carousel--single .slick-next {\n @media "," {\n right: -20px;\n }\n }\n \n @media screen and "," {\n \n .simple-carousel{\n button.slick-prev,\n button.slick-next{\n width: 28px;\n height: 28px;\n }\n }\n }\n @media screen and "," {\n .simple-carousel.slick-slider{\n max-width: calc(100% - 124px);\n }\n button.slick-prev,\n button.slick-next{\n width: 42px;\n height: 42px;\n }\n button.slick-prev{\n left: -60px;\n }\n button.slick-next{\n right: -60px;\n }\n }\n @media screen and "," {\n button.slick-prev,\n button.slick-next{\n width: 60px;\n height: 60px;\n }\n button.slick-prev{\n left: -75px;\n }\n button.slick-next{\n right: -75px;\n }\n .simple-carousel.slick-slider{\n max-width: calc(100% - 180px);\n }\n }\n @media screen and "," {\n button.slick-prev,\n button.slick-next{\n width: 72px;\n height: 72px;\n }\n button.slick-prev{\n left: -90px;\n }\n button.slick-next{\n right: -90px;\n }\n .simple-carousel.slick-slider{\n max-width: calc(100% - 204px);\n }\n }\n "]);return s=function(){return e},e}var u=l.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1og7ps8-0"})(["",""],(function(e){var n;(null===(n=e.gradients)||void 0===n?void 0:n.visible)?e.theme.gradient:e.theme;return Object(l.css)(s(),p.b.tabletPortraitMax,p.b.mediumDesktopAndUp5Max,p.b.mediumDesktopAndUp5,p.b.tabletPortraitAndUp2Max2,p.b.largeMobileAndUp2Max,p.b.mobileMax,p.b.mobileMax,p.b.mobileMax,p.b.tabletPortraitAndUp,p.b.mediumDesktopMin,p.b.largeDesktopMin)})),m=t(8),x=t(9),h=t(10),f=t(2),b=t(28),g={beforeLabel:"",afterLabel:"",header:{text:""},headingStyle:"",body:{text:""},prevIcon:{url:"",altText:""},nextIcon:{url:"",altText:""},images:[{beforeImage:{url:"",altText:""},afterImage:{url:"",altText:""}}]},w=function(e){var n=o()({},g,Object(f.g)(e.content));return r.a.createElement(m.a,{setter:{componentThemes:d,selectedTheme:e.theme}},r.a.createElement(x.a,null,r.a.createElement(h.a,{padding:!1},r.a.createElement(u,{isReversed:!1},r.a.createElement("div",{className:"container inner-container parent-container"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col"},r.a.createElement("div",{className:"d-flex align-items-center before-header-container"},r.a.createElement("h3",null,n.beforeLabel),r.a.createElement("h3",null,n.afterLabel)),r.a.createElement("div",{className:""},r.a.createElement("div",{className:"simple-carousel simple-carousel--single js-single-carousel before-after-carousel"},n.images&&n.images.map((function(e,n){return r.a.createElement("div",{key:n,className:"before-after"},r.a.createElement("img",{loading:"lazy",src:e.beforeImage.url,alt:e.beforeImage.altText}),r.a.createElement("img",{loading:"lazy",src:e.afterImage.url,alt:e.afterImage.altText}))})))))),r.a.createElement("div",{className:"row",id:"slider-carousel-meta-data"},r.a.createElement("div",{className:"col"},r.a.createElement("div",{className:"text-style body-text2 mb-2 mb-md-3 mb-xl-4"},n.headingStyle&&"h1"==n.headingStyle&&r.a.createElement("h1",null,n.header.text),n.headingStyle&&"h2"==n.headingStyle&&r.a.createElement("h2",null,n.header.text),n.headingStyle&&"h3"==n.headingStyle&&r.a.createElement("h3",null,n.header.text),n.headingStyle&&"h4"==n.headingStyle&&r.a.createElement("h4",null,n.header.text),n.headingStyle&&"h5"==n.headingStyle&&r.a.createElement("h5",null,n.header.text),n.headingStyle&&"h6"==n.headingStyle&&r.a.createElement("h6",null,n.header.text),n.headingStyle&&"capitalize"==n.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase body-text2"},n.header.text),r.a.createElement("div",{className:"body-text2",dangerouslySetInnerHTML:{__html:n.body.text}}))))),r.a.createElement(b.a,null)))))};w.defaultProps={theme:"",content:""};n.a=w}});
1
+ !function(t){function n(n){for(var r,o,c=n[0],l=n[1],d=n[2],p=0,u=[];p<c.length;p++)o=c[p],Object.prototype.hasOwnProperty.call(a,o)&&a[o]&&u.push(a[o][0]),a[o]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(t[r]=l[r]);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],r=!0,c=1;c<e.length;c++){var l=e[c];0!==a[l]&&(r=!1)}r&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var r={},a={95:0},i=[];function o(n){if(r[n])return r[n].exports;var e=r[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=r,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 r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));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 c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=c.push.bind(c);c.push=n,c=c.slice();for(var d=0;d<c.length;d++)n(c[d]);var s=l;i.push([656,0]),e()}({0:function(t,n){t.exports=React},1:function(t,n,e){"use strict";e.d(n,"g",(function(){return a})),e.d(n,"fb",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"L",(function(){return c})),e.d(n,"O",(function(){return l})),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 h})),e.d(n,"ab",(function(){return f})),e.d(n,"M",(function(){return x})),e.d(n,"v",(function(){return g})),e.d(n,"h",(function(){return b})),e.d(n,"u",(function(){return w})),e.d(n,"z",(function(){return A})),e.d(n,"x",(function(){return U})),e.d(n,"K",(function(){return k})),e.d(n,"t",(function(){return v})),e.d(n,"bb",(function(){return M})),e.d(n,"r",(function(){return y})),e.d(n,"R",(function(){return D})),e.d(n,"N",(function(){return E})),e.d(n,"cb",(function(){return S})),e.d(n,"n",(function(){return N})),e.d(n,"k",(function(){return z})),e.d(n,"o",(function(){return C})),e.d(n,"l",(function(){return W})),e.d(n,"m",(function(){return j})),e.d(n,"C",(function(){return T})),e.d(n,"V",(function(){return L})),e.d(n,"y",(function(){return _})),e.d(n,"db",(function(){return I})),e.d(n,"eb",(function(){return Z})),e.d(n,"b",(function(){return $})),e.d(n,"Y",(function(){return H})),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 G})),e.d(n,"e",(function(){return Y})),e.d(n,"jb",(function(){return q})),e.d(n,"c",(function(){return B})),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 rt})),e.d(n,"q",(function(){return at})),e.d(n,"Z",(function(){return it})),e.d(n,"I",(function(){return ot})),e.d(n,"j",(function(){return ct})),e.d(n,"D",(function(){return lt})),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 ht}));var r=e(4),a=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},i=function(t){return btoa(unescape(encodeURIComponent(t)))},o=function(t){return t.toUpperCase()},c=function(t){return t.replaceAll(" ","-").toLowerCase()},l=new r.a(!1),d=new r.a(!1),s=new r.a(!1),p=new r.a(!1),u=new r.a(""),m=new r.a(!1),h=new r.a(!1),f=new r.a(!1),x=new r.a(!1),g=new r.a(!1),b=new r.a(!1),w=new r.a(""),A=new r.a(!0),U=new r.a(!0),k=new r.a(!0),v=new r.a(!0),M=new r.a(!0),y=new r.a(!0),D=new r.a({}),O=new r.a(!1),P=0,E=new r.a(!1),S=new r.a(""),N=new r.a(""),z=new r.a(""),C=new r.a(""),W=new r.a(""),j=new r.a(""),T=new r.a(""),L=new r.a(""),_=new r.a(!1),I=new r.a(!1),Z=new r.a(!1),$=(new r.a(!1),new r.a(!1),new r.a({flag:!1}),function(){setTimeout((function(){P++,O.next(!0)}),0)}),H=function(){setTimeout((function(){P>0&&P--,0==P&&O.next(!1)}),0)},J=function(){return O.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-. ]*$/)},G=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},Y=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},q=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},B=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 r="";return n.split("").forEach((function(t,n){r+=0==n?"("+t:2==n?t+") ":5==n?t+"-":t})),r},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},rt=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},at=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 r="",a=t.split(n);return a.forEach((function(t,n){"undefined"!==t&&t&&(r+=t,n!==a.length-1&&(r+=e))})),r};function ot(t,n){var e=n||"html",r=t;return e||(e="html"),"html"==e&&(r=function(t){var n,e,r,o,c,s=t,p="";n=a(s,"&lt;!--","--&gt;",l,"W3HTMLCOMMENTPOS"),s=n.rest;for(;s.indexOf("&lt;")>-1;)o="",e=s.indexOf("&lt;"),"&LT;STYLE"==s.substr(e,9).toUpperCase()&&(o="css"),"&LT;SCRIPT"==s.substr(e,10).toUpperCase()&&(o="javascript"),-1==(r=s.indexOf("&gt;",e))&&(r=s.length),p+=s.substring(0,e),p+=i(s.substring(e,r+4)),s=s.substr(r+4),"css"==o&&(r=s.indexOf("&lt;/style&gt;"))>-1&&(p+=d(s.substring(0,r)),s=s.substr(r)),"javascript"==o&&(r=s.indexOf("&lt;/script&gt;"))>-1&&(p+=m(s.substring(0,r)),s=s.substr(r));for(s=p+s,c=0;c<n.arr.length;c++)s=s.replace("W3HTMLCOMMENTPOS",n.arr[c]);return s}(r)),"css"==e&&(r=d(r)),"js"==e&&(r=m(r)),r;function a(t,n,e,r,a){for(var i,o,c="",l=[];t.search(n)>-1;)i=t.search(n),-1==(o=t.indexOf(e,i))&&(o=t.length),a?(l.push(r(t.substring(i,o+e.length))),t=t.substring(0,i)+a+t.substr(o+e.length)):(c+=t.substring(0,i),c+=r(t.substring(i,o+e.length)),t=t.substr(o+e.length));return{rest:c+t,arr:l}}function i(t){for(var n,e,r,a=t,i="";a.search(/(\s|<br>)/)>-1;)n=a.search(/(\s|<br>)/),-1==(e=a.indexOf("&gt;"))&&(e=a.length),i+=a.substring(0,n),i+=o(a.substring(n,e)),a=a.substr(e);return"&gt;"==(r="<span style=color:grey>&lt;</span>"+(r=i+a).substring(4)).substr(r.length-4,4)&&(r=r.substring(0,r.length-4)+"<span style=color:grey>&gt;</span>"),"<span style=color:#a10d5f>"+r+"</span>"}function o(t){for(var n,e,r,a,i,o=t,l="";o.indexOf("=")>-1;)e=-1,n=o.indexOf("="),r=o.indexOf("'",n),a=o.indexOf('"',n),(i=o.indexOf(" ",n+2))>-1&&(i<r||-1==r)&&(i<a||-1==a)?e=o.indexOf(" ",n):a>-1&&(a<r||-1==r)&&(a<i||-1==i)?e=o.indexOf('"',o.indexOf('"',n)+1):r>-1&&(r<a||-1==a)&&(r<i||-1==i)&&(e=o.indexOf("'",o.indexOf("'",n)+1)),(!e||-1==e||e<n)&&(e=o.length),l+=o.substring(0,n),l+=c(o.substring(n,e+1)),o=o.substr(e+1);return"<span style=color:green>"+l+o+"</span>"}function c(t){return"<span style=color:#1c8a9c>"+t+"</span>"}function l(t){return"<span style=color:green>"+t+"</span>"}function d(t){var n,e,r,i,o,c,d,p=t,u="";for(p=(r=a(p,/\/\*/,"*/",l,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(n=p.search("{"),o=p.substr(n+1),d=1,c=0,i=0;i<o.length&&("{"==o.substr(i,1)&&(d++,c++),"}"==o.substr(i,1)&&d--,0!=d);i++);for(0!=d&&(c=0),e=n,i=0;i<=c;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<r.arr.length;i++)p=p.replace("W3CSSCOMMENTPOS",r.arr[i]);return"<span style=color:green>"+p+"</span>"}function s(t){var n,e,r,a,i=t,o="";if(i.indexOf("{")>-1)return d(i);for(;i.search(":")>-1;){for(a=!0,r=n=i.search(":");1==a;)a=!1,e=i.indexOf(";",r),"&nbsp;"==i.substring(e-5,e+1)&&(a=!0,r=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,r="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)n=e.search(/!important/i),r+=e.substring(0,n),r+=u(e.substring(n,n+10)),e=e.substr(n+10);var a=r+e;return";"==a.substr(a.length-1,1)&&"&nbsp;"!=a.substr(a.length-6,6)&&"&lt;"!=a.substr(a.length-4,4)&&"&gt;"!=a.substr(a.length-4,4)&&"&amp;"!=a.substr(a.length-5,5)&&(a=a.substring(0,a.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+a+"</span>"}function u(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function m(t){var n,e,r,a,i,o,c,d,s,p,u=t,m="",v=[],M="";for(n=0;n<u.length;n++)"\\"==(e=u.substr(n,1))&&(v.push(u.substr(n,2)),e="W3JSESCAPE",n++),M+=e;for(u=M,1;r=U(u,"'","'",h),a=U(u,'"','"',h),i=U(u,/\/\*/,"*/",l),o=U(u,/\/\//,"<br>",l),d=k(u,x),c=A("js",u,f),p=b(u,g),-1!=Math.max(d[0],r[0],a[0],i[0],o[0],c[0],p[0])&&-1!=(s=w(d,r,a,i,o,c,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<v.length;n++)u=u.replace("W3JSESCAPE",v[n]);return"<span style=color:black>"+u+"</span>"}function h(t){return"<span style=color:brown>"+t+"</span>"}function f(t){return"<span style=color:mediumblue>"+t+"</span>"}function x(t){return"<span style=color:red>"+t+"</span>"}function g(t){return"<span style=color:black>"+t+"</span>"}function b(t,n){var e,r,a,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=t.indexOf("."))>-1)for(e=t.substr(i+1),a=0;a<e.length;a++){var c=e[a];for(r=0;r<o.length;r++)if(c.indexOf(o[r])>-1)return[i+1,a+i+1,n]}return[-1,-1,n]}function w(t,n,e,r,a,i,o){var c,l=[];for(c=0;c<arguments.length;c++)arguments[c][0]>-1&&(0==l.length||arguments[c][0]<l[0])&&(l=arguments[c]);return 0==l.length&&(l=arguments[c]),l}function A(t,n,e){var r,a,i,o,c=-1,l=-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"]),r=0;r<o.length;r++)(a=n.indexOf(o[r]))>-1&&(i=/\W/g,n.substr(a+o[r].length,1).match(i)&&n.substr(a-1,1).match(i)&&a>-1&&(-1==c||a<c)&&(l=(c=a)+o[r].length));return[c,l,e]}function U(t,n,e,r){var a,i;return a=t.search(n),-1==(i=t.indexOf(e,a+e.length))&&(i=t.length),[a,i+e.length,r]}function k(t,n){var e,r,a,i,o,c=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],l=0;for(e=0;e<t.length;e++)for(r=0;r<c.length;r++)if((a=t.substr(e,c[r].length))==c[r]){if("-"==a&&("e"==t.substr(e-1,1)||"E"==t.substr(e-1,1)))continue;if(l<(i=e)&&(o=t.substring(l,i),!isNaN(o)))return[l,i,n];l=e+=c[r].length,e-=1;break}return[-1,-1,n]}}var ct=function(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""},lt=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(),r=n.getMonth(),a=(n.getDate()+"").padStart(2,"0");return"".concat(ut[r].slice(0,3)," ").concat(a,", ").concat(e)},ht=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 r=e(0),a=e.n(r),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,r=t.maxWidth,o=void 0===r?1520:r,c=t.padding,l=void 0===c||c;return a.a.createElement(i,{className:n,maxWidth:o,padding:l},e)};n.b=o},108:function(t,n,e){"use strict";var r=e(0),a=e.n(r),i=e(13),o=e.n(i),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},l=e(11),d=e(5),s=e(2),p=e(1);function u(){var t=Object(l.a)(["\n .slider-parent {\n background: var(--grey);\n margin: 0 auto;\n display: flex;\n align-items: center;\n position: relative;\n }\n \n .text-style {\n text-align: var(--text-center);\n margin-top: 1rem;\n @media screen and "," {\n & h2{\n // font-size: 18px;\n & + div{\n // font-size: 16px;\n // line-height: 22px;\n // text-align: left;\n }\n }\n }\n }\n \n .amarrHighlight {\n color: var(--accent);\n }\n \n .before-header-container {\n justify-content: center;\n font-weight: var(--font-weight-semi-bold);\n text-transform: capitalize;\n padding: 1rem 0 0.5rem 0;\n background-color: var(--grey);\n width: 100%;\n gap: 34%;\n @media screen and "," {\n font-size: var(--font-size-m5);\n }\n @media screen and "," {\n font-size: var(--font-size-l3);\n }\n @media screen and "," {\n font-size: var(--font-size-m6);\n }\n @media screen and "," {\n justify-content: space-around;\n gap: 0;\n }\n }\n \n #slider-carousel-meta-data {\n background: var(--grey);\n }\n .parent-container {\n background: var(--grey);\n }\n \n button.slick-prev{\n left: -90px;\n }\n button.slick-next{\n right: -90px;\n }\n \n button.slick-prev {\n background: ",' no-repeat left top;\n width: 72px;\n height: 72px;\n background-size: contain;\n &:before {\n content: "";\n }\n }\n button.slick-next {\n background: ',' no-repeat left top;\n width: 72px;\n height: 72px;\n background-size: contain;\n &:before {\n content: "";\n }\n }\n .simple-carousel--single .slick-prev {\n @media '," {\n left: -20px;\n }\n }\n .simple-carousel--single .slick-next {\n @media "," {\n right: -20px;\n }\n }\n \n @media screen and "," {\n \n .simple-carousel{\n button.slick-prev,\n button.slick-next{\n width: 28px;\n height: 28px;\n }\n }\n }\n @media screen and "," {\n .simple-carousel.slick-slider{\n max-width: calc(100% - 124px);\n }\n button.slick-prev,\n button.slick-next{\n width: 42px;\n height: 42px;\n }\n button.slick-prev{\n left: -60px;\n }\n button.slick-next{\n right: -60px;\n }\n }\n @media screen and "," {\n button.slick-prev,\n button.slick-next{\n width: 60px;\n height: 60px;\n }\n button.slick-prev{\n left: -75px;\n }\n button.slick-next{\n right: -75px;\n }\n .simple-carousel.slick-slider{\n max-width: calc(100% - 180px);\n }\n }\n @media screen and "," {\n button.slick-prev,\n button.slick-next{\n width: 72px;\n height: 72px;\n }\n button.slick-prev{\n left: -90px;\n }\n button.slick-next{\n right: -90px;\n }\n .simple-carousel.slick-slider{\n max-width: calc(100% - 204px);\n }\n }\n "]);return u=function(){return t},t}var m=d.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1og7ps8-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(d.css)(u(),s.b.tabletPortraitMax,s.b.mediumDesktopAndUp5Max,s.b.mediumDesktopAndUp5,s.b.tabletPortraitAndUp2Max2,s.b.largeMobileAndUp2Max,(function(){return"url("+Object(p.D)().concat("arrow-left-carousel.svg")+")"}),(function(){return"url("+Object(p.D)().concat("arrow-right-carousel.svg")+")"}),s.b.mobileMax,s.b.mobileMax,s.b.mobileMax,s.b.tabletPortraitAndUp,s.b.mediumDesktopMin,s.b.largeDesktopMin)})),h=e(8),f=e(9),x=e(10),g=e(35),b={beforeLabel:"",afterLabel:"",header:{text:""},headingStyle:"",body:{text:""},prevIcon:{url:"",altText:""},nextIcon:{url:"",altText:""},images:[{beforeImage:{url:"",altText:""},afterImage:{url:"",altText:""}}]},w=function(t){var n=o()({},b,Object(p.g)(t.content));return a.a.createElement(h.a,{setter:{componentThemes:c,selectedTheme:t.theme}},a.a.createElement(f.a,null,a.a.createElement(x.a,{padding:!1},a.a.createElement(m,{isReversed:!1},a.a.createElement("div",{className:"container inner-container parent-container"},a.a.createElement("div",{className:"row"},a.a.createElement("div",{className:"col"},a.a.createElement("div",{className:"d-flex align-items-center before-header-container"},a.a.createElement("h3",null,n.beforeLabel),a.a.createElement("h3",null,n.afterLabel)),a.a.createElement("div",{className:""},a.a.createElement("div",{className:"simple-carousel simple-carousel--single js-single-carousel before-after-carousel"},n.images&&n.images.map((function(t,n){return a.a.createElement("div",{key:n,className:"before-after"},a.a.createElement("img",{loading:"lazy",src:t.beforeImage.url,alt:t.beforeImage.altText}),a.a.createElement("img",{loading:"lazy",src:t.afterImage.url,alt:t.afterImage.altText}))})))))),a.a.createElement("div",{className:"row",id:"slider-carousel-meta-data"},a.a.createElement("div",{className:"col"},a.a.createElement("div",{className:"text-style body-text2 mb-2 mb-md-3 mb-xl-4"},n.headingStyle&&"h1"==n.headingStyle&&a.a.createElement("h1",null,n.header.text),n.headingStyle&&"h2"==n.headingStyle&&a.a.createElement("h2",null,n.header.text),n.headingStyle&&"h3"==n.headingStyle&&a.a.createElement("h3",null,n.header.text),n.headingStyle&&"h4"==n.headingStyle&&a.a.createElement("h4",null,n.header.text),n.headingStyle&&"h5"==n.headingStyle&&a.a.createElement("h5",null,n.header.text),n.headingStyle&&"h6"==n.headingStyle&&a.a.createElement("h6",null,n.header.text),n.headingStyle&&"capitalize"==n.headingStyle&&a.a.createElement("div",{className:"text-style-uppercase body-text2"},n.header.text),a.a.createElement("div",{className:"body-text2",dangerouslySetInnerHTML:{__html:n.body.text}}))))),a.a.createElement(g.a,null)))))};w.defaultProps={theme:"",content:""};n.a=w},2:function(t,n,e){"use strict";e.d(n,"a",(function(){return r})),e.d(n,"b",(function(){return a}));var r={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},a={mobileAndUpMin:"(min-width: ".concat(r.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(r.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(r.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(r.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(r.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(r.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(r.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(r.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(r.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(r.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(r.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(r.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(r.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(r.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(r.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(r.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(r.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(r.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(r.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(r.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(r.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(r.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(r.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(r.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(r.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(r.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(r.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(r.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(r.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(r.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(r.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(r.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(r.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(r.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(r.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(r.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(r.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(r.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(r.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(r.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(r.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(r.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(r.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(r.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(r.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(r.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(r.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(r.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(r.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(r.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(r.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(r.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(r.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(r.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(r.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(r.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(r.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(r.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(r.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(r.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(r.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(r.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(r.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(r.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(r.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(r.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(r.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(r.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(r.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(r.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(r.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(r.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(r.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(r.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(r.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(r.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(r.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(r.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(r.extraLarge,"px)")}},32:function(t,n){t.exports=ReactDOM},35:function(t,n,e){"use strict";e.d(n,"a",(function(){return d}));var r=e(28),a=e(0),i=e.n(a),o=e(5),c=e(2),l=o.default.div.withConfig({displayName:"styles__View",componentId:"zfm3w6-0"})([".divider{width:100%;height:6px;@media screen and ","{height:8px;}@media screen and ","{height:10px;}}"],c.b.mediumDesktopMin,c.b.largeDesktopMin),d=function(t){return Object(r.a)(t),i.a.createElement(l,null,i.a.createElement("div",{className:"divider"},"\xa0"))}},539:function(t,n,e){"use strict";e.r(n);var r=e(22),a=e(108);n.default=r.a.create({component:a.a,configuration:{tagname:"amarr-slider-carousel",useShadow:!1},plugins:[]})},8:function(t,n,e){"use strict";e.d(n,"a",(function(){return o}));var r=e(5),a=e(0),i=e.n(a),o=function(t){var n=t.setter,e=n.componentThemes,a=n.selectedTheme;return i.a.createElement(r.ThemeProvider,{theme:function(){if(!a)return e.theme1;var t=a.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 r=e(0),a=e.n(r),i=e(5),o=e(23),c=Object(r.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(l){console.log(l)}var r=n?[o.a]:[];return a.a.createElement(i.StyleSheetManager,{stylisPlugins:r},a.a.createElement(c.Provider,{value:{rtl:n}},t.children))}}});
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
- ![ASSA ABLOY](https://upload.wikimedia.org/wikipedia/commons/e/e8/Assa-Abloy-Logo.svg)
2
- <sup>Global web - web components</sup>
3
-
4
- # Slider Carousel
5
-
6
- **Custom HTML element**
7
- ```html
8
- <slider-carousel foo="" bar="" baz=""></slider-carousel>
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