Socket
Socket
Sign inDemoInstall

@niharika_test/amarr-wc-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
191
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@niharika_test/amarr-wc-sitemap - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

4

package.json
{
"name": "@niharika_test/amarr-wc-sitemap",
"version": "1.0.13",
"version": "1.0.14",
"description": "Web component - Sitemap",

@@ -14,3 +14,3 @@ "type": "module",

"license": "MIT",
"gitHead": "905f1024f3328acca16d6cf25f38658afcef75c8"
"gitHead": "b9891747b89898a6221129fcb9d81b10681776ad"
}

@@ -1,1 +0,1 @@

!function(t){function n(n){for(var a,o,d=n[0],c=n[1],p=n[2],m=0,u=[];m<d.length;m++)o=d[m],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(l&&l(n);u.length;)u.shift()();return i.push.apply(i,p||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],a=!0,d=1;d<e.length;d++){var c=e[d];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var a={},r={85: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 d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=n,d=d.slice();for(var p=0;p<d.length;p++)n(d[p]);var l=c;i.push([949,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,"X",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"F",(function(){return d})),e.d(n,"I",(function(){return c})),e.d(n,"v",(function(){return p})),e.d(n,"D",(function(){return l})),e.d(n,"o",(function(){return m})),e.d(n,"r",(function(){return u})),e.d(n,"K",(function(){return s})),e.d(n,"J",(function(){return x})),e.d(n,"S",(function(){return f})),e.d(n,"G",(function(){return h})),e.d(n,"u",(function(){return A})),e.d(n,"h",(function(){return w})),e.d(n,"t",(function(){return U})),e.d(n,"y",(function(){return b})),e.d(n,"w",(function(){return g})),e.d(n,"E",(function(){return k})),e.d(n,"s",(function(){return M})),e.d(n,"T",(function(){return D})),e.d(n,"q",(function(){return v})),e.d(n,"L",(function(){return P})),e.d(n,"H",(function(){return O})),e.d(n,"U",(function(){return W})),e.d(n,"m",(function(){return N})),e.d(n,"j",(function(){return z})),e.d(n,"n",(function(){return C})),e.d(n,"k",(function(){return j})),e.d(n,"l",(function(){return Z})),e.d(n,"A",(function(){return _})),e.d(n,"N",(function(){return $})),e.d(n,"x",(function(){return L})),e.d(n,"V",(function(){return S})),e.d(n,"W",(function(){return T})),e.d(n,"b",(function(){return I})),e.d(n,"Q",(function(){return H})),e.d(n,"C",(function(){return R})),e.d(n,"a",(function(){return F})),e.d(n,"Y",(function(){return J})),e.d(n,"d",(function(){return G})),e.d(n,"f",(function(){return q})),e.d(n,"e",(function(){return V})),e.d(n,"ab",(function(){return B})),e.d(n,"c",(function(){return K})),e.d(n,"Z",(function(){return Q})),e.d(n,"M",(function(){return X})),e.d(n,"O",(function(){return Y})),e.d(n,"P",(function(){return tt})),e.d(n,"p",(function(){return nt})),e.d(n,"R",(function(){return et})),e.d(n,"z",(function(){return at})),e.d(n,"B",(function(){return rt}));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()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),p=new a.a(!1),l=new a.a(!1),m=new a.a(!1),u=new a.a(""),s=new a.a(!1),x=new a.a(!1),f=new a.a(!1),h=new a.a(!1),A=new a.a(!1),w=new a.a(!1),U=new a.a(""),b=new a.a(!0),g=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a(!0),v=new a.a(!0),P=new a.a({}),y=new a.a(!1),E=0,O=new a.a(!1),W=new a.a(""),N=new a.a(""),z=new a.a(""),C=new a.a(""),j=new a.a(""),Z=new a.a(""),_=new a.a(""),$=new a.a(""),L=new a.a(!1),S=new a.a(!1),T=new a.a(!1),I=(new a.a(!1),function(){setTimeout((function(){E++,y.next(!0)}),0)}),H=function(){setTimeout((function(){E>0&&E--,0==E&&y.next(!1)}),0)},R=function(){return y.asObservable()},F=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)},J=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))},G=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},q=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},V=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},B=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},K=function(t){return/^[0-9]*$/.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},Y=function(t){return t&&(t=t.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},tt=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},nt=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},et=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},at=function(t){if(t.length>0)return t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,"")},rt=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()}},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,d=t.padding,c=void 0===d||d;return r.a.createElement(i,{className:n,maxWidth:o,padding:c},e)};n.b=o},161:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(1),o=e(13),d=e.n(o),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),l=e(5),m=e(2);function u(){var t=Object(p.a)(["\n .sitemap {\n h4 {\n margin-bottom: 12px;\n }\n \n a {\n color: var(--accent);\n margin-bottom: 10px;\n display: block;\n cursor: pointer;\n }\n \n .social-media {\n margin-bottom: 10px;\n margin-top: 6px;\n \n img {\n height: 30px;\n margin-right: 8px;\n }\n }\n }\n \n @media "," {\n .sitemap {\n .social-media {\n img {\n height: 42px;\n }\n }\n }\n }\n \n @media "," {\n .sitemap {\n h4 {\n margin-bottom: 8px;\n }\n \n a, .social-media {\n margin-bottom: 6px;\n }\n }\n }\n "]);return u=function(){return t},t}var s=l.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1ofaafu-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(l.css)(u(),m.b.largeDesktopMin,m.b.mediumDesktopAndUp3Max)})),x=e(8),f=e(9),h=e(10),A={siteMapData:[]},w=function(t){var n=d()({},A,Object(i.g)(t.content)),e=function(t){var n=t.parent;return r.a.createElement("div",{className:"mt-3"},r.a.createElement("h5",null,n.section.text),n.links&&n.links.length>0&&n.links.map((function(t,n){return r.a.createElement("a",{href:t.url,target:t.linkAction,key:n,className:"amarr-h6"},t.label)})),n.socialMediaItems&&n.socialMediaItems.length>0&&r.a.createElement("div",{className:"d-flex social-media"},n.socialMediaItems.map((function(t,n){return r.a.createElement("a",{href:t.link,target:t.linkAction,key:n},r.a.createElement("img",{loading:"lazy",src:t.image.url}))}))))};return r.a.createElement(x.a,{setter:{componentThemes:c,selectedTheme:t.theme}},r.a.createElement(f.a,null,r.a.createElement(h.a,null,r.a.createElement(s,{isReversed:!1},r.a.createElement("div",{className:"container sitemap pb-5 mb-2"},r.a.createElement("div",{className:"row"},n.siteMapData&&n.siteMapData.length>0&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n<=3&&r.a.createElement(e,{key:n,parent:t})}))),r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n>3&&n<=8&&r.a.createElement(e,{key:n,parent:t})}))),r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n>8&&r.a.createElement(e,{key:n,parent:t})}))))))))))};w.defaultProps={theme:"",content:""};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},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)")}},30:function(t,n){t.exports=ReactDOM},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},841:function(t,n,e){"use strict";e.r(n);var a=e(20),r=e(161);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-sitemap",useShadow:!1},plugins:[]})},9:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(19),d=e.n(o),c=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(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}},t.children))}}});
!function(t){function n(n){for(var a,o,d=n[0],c=n[1],p=n[2],u=0,m=[];u<d.length;u++)o=d[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&m.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(t[a]=c[a]);for(l&&l(n);m.length;)m.shift()();return i.push.apply(i,p||[]),e()}function e(){for(var t,n=0;n<i.length;n++){for(var e=i[n],a=!0,d=1;d<e.length;d++){var c=e[d];0!==r[c]&&(a=!1)}a&&(i.splice(n--,1),t=o(o.s=e[0]))}return t}var a={},r={85: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 d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=n,d=d.slice();for(var p=0;p<d.length;p++)n(d[p]);var l=c;i.push([949,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,"Y",(function(){return i})),e.d(n,"i",(function(){return o})),e.d(n,"G",(function(){return d})),e.d(n,"J",(function(){return c})),e.d(n,"v",(function(){return p})),e.d(n,"E",(function(){return l})),e.d(n,"o",(function(){return u})),e.d(n,"r",(function(){return m})),e.d(n,"L",(function(){return s})),e.d(n,"K",(function(){return x})),e.d(n,"T",(function(){return f})),e.d(n,"H",(function(){return h})),e.d(n,"u",(function(){return A})),e.d(n,"h",(function(){return w})),e.d(n,"t",(function(){return U})),e.d(n,"y",(function(){return b})),e.d(n,"w",(function(){return g})),e.d(n,"F",(function(){return k})),e.d(n,"s",(function(){return M})),e.d(n,"U",(function(){return D})),e.d(n,"q",(function(){return v})),e.d(n,"M",(function(){return P})),e.d(n,"I",(function(){return O})),e.d(n,"V",(function(){return W})),e.d(n,"m",(function(){return N})),e.d(n,"j",(function(){return z})),e.d(n,"n",(function(){return C})),e.d(n,"k",(function(){return j})),e.d(n,"l",(function(){return Z})),e.d(n,"A",(function(){return _})),e.d(n,"O",(function(){return $})),e.d(n,"x",(function(){return L})),e.d(n,"W",(function(){return S})),e.d(n,"X",(function(){return T})),e.d(n,"b",(function(){return I})),e.d(n,"R",(function(){return H})),e.d(n,"C",(function(){return R})),e.d(n,"a",(function(){return F})),e.d(n,"Z",(function(){return J})),e.d(n,"d",(function(){return G})),e.d(n,"f",(function(){return q})),e.d(n,"e",(function(){return V})),e.d(n,"bb",(function(){return B})),e.d(n,"c",(function(){return K})),e.d(n,"ab",(function(){return Q})),e.d(n,"N",(function(){return X})),e.d(n,"P",(function(){return Y})),e.d(n,"Q",(function(){return tt})),e.d(n,"p",(function(){return nt})),e.d(n,"S",(function(){return et})),e.d(n,"z",(function(){return at})),e.d(n,"B",(function(){return rt})),e.d(n,"D",(function(){return it}));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()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),p=new a.a(!1),l=new a.a(!1),u=new a.a(!1),m=new a.a(""),s=new a.a(!1),x=new a.a(!1),f=new a.a(!1),h=new a.a(!1),A=new a.a(!1),w=new a.a(!1),U=new a.a(""),b=new a.a(!0),g=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a(!0),v=new a.a(!0),P=new a.a({}),y=new a.a(!1),E=0,O=new a.a(!1),W=new a.a(""),N=new a.a(""),z=new a.a(""),C=new a.a(""),j=new a.a(""),Z=new a.a(""),_=new a.a(""),$=new a.a(""),L=new a.a(!1),S=new a.a(!1),T=new a.a(!1),I=(new a.a(!1),function(){setTimeout((function(){E++,y.next(!0)}),0)}),H=function(){setTimeout((function(){E>0&&E--,0==E&&y.next(!1)}),0)},R=function(){return y.asObservable()},F=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)},J=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))},G=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},q=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},V=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},B=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},K=function(t){return/^[0-9]*$/.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},Y=function(t){return t&&(t=t.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},tt=function(t,n){return t=t?Number(t):0,(0===(n=n?Number(n):0)||"0"===n?0:(t-n)/n*100).toFixed(2)},nt=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},et=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},at=function(t){if(t.length>0)return t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,"")},rt=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},it=function(t){return"string"===typeof t?t.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,d=t.padding,c=void 0===d||d;return r.a.createElement(i,{className:n,maxWidth:o,padding:c},e)};n.b=o},161:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(1),o=e(13),d=e.n(o),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),l=e(5),u=e(2);function m(){var t=Object(p.a)(["\n .sitemap {\n h4 {\n margin-bottom: 12px;\n }\n \n a {\n color: var(--accent);\n margin-bottom: 10px;\n display: block;\n cursor: pointer;\n }\n \n .social-media {\n margin-bottom: 10px;\n margin-top: 6px;\n \n img {\n height: 30px;\n margin-right: 8px;\n }\n }\n }\n \n @media "," {\n .sitemap {\n .social-media {\n img {\n height: 42px;\n }\n }\n }\n }\n \n @media "," {\n .sitemap {\n h4 {\n margin-bottom: 8px;\n }\n \n a, .social-media {\n margin-bottom: 6px;\n }\n }\n }\n "]);return m=function(){return t},t}var s=l.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1ofaafu-0"})(["",""],(function(t){var n;(null===(n=t.gradients)||void 0===n?void 0:n.visible)?t.theme.gradient:t.theme;return Object(l.css)(m(),u.b.largeDesktopMin,u.b.mediumDesktopAndUp3Max)})),x=e(8),f=e(9),h=e(10),A={siteMapData:[]},w=function(t){var n=d()({},A,Object(i.g)(t.content)),e=function(t){var n=t.parent;return r.a.createElement("div",{className:"mt-3"},r.a.createElement("h5",null,n.section.text),n.links&&n.links.length>0&&n.links.map((function(t,n){return r.a.createElement("a",{href:t.url,target:t.linkAction,key:n,className:"amarr-h6"},t.label)})),n.socialMediaItems&&n.socialMediaItems.length>0&&r.a.createElement("div",{className:"d-flex social-media"},n.socialMediaItems.map((function(t,n){return r.a.createElement("a",{href:t.link,target:t.linkAction,key:n},r.a.createElement("img",{loading:"lazy",src:t.image.url}))}))))};return r.a.createElement(x.a,{setter:{componentThemes:c,selectedTheme:t.theme}},r.a.createElement(f.a,null,r.a.createElement(h.a,null,r.a.createElement(s,{isReversed:!1},r.a.createElement("div",{className:"container sitemap pb-5 mb-2"},r.a.createElement("div",{className:"row"},n.siteMapData&&n.siteMapData.length>0&&r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n<=3&&r.a.createElement(e,{key:n,parent:t})}))),r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n>3&&n<=8&&r.a.createElement(e,{key:n,parent:t})}))),r.a.createElement("div",{className:"col-md-4 amarr-h6"},n.siteMapData.map((function(t,n){return n>8&&r.a.createElement(e,{key:n,parent:t})}))))))))))};w.defaultProps={theme:"",content:""};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},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)")}},30:function(t,n){t.exports=ReactDOM},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},841:function(t,n,e){"use strict";e.r(n);var a=e(20),r=e(161);n.default=a.a.create({component:r.a,configuration:{tagname:"amarr-sitemap",useShadow:!1},plugins:[]})},9:function(t,n,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(19),d=e.n(o),c=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(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}},t.children))}}});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc