var __assign=this&&this.__assign||function(){__assign=Object.assign||function(r){for(var a,s=1,t=arguments.length;s<t;s++){a=arguments[s];for(var o in a)if(Object.prototype.hasOwnProperty.call(a,o))r[o]=a[o]}return r};return __assign.apply(this,arguments)};System.register(["./p-641f968d.system.js","./p-30c1ef36.system.js","./p-1a673057.system.js","./p-8a6494c7.system.js"],(function(r){"use strict";var a,s,t,o;return{setters:[function(r){a=r.h},function(r){s=r.j},function(r){t=r.c},function(r){o=r.g}],execute:function(){r("N",e);function e(r){var e=r.states,n=r.data,i=r.padding,c=i===void 0?"x-small":i;var l=r.backgroundColor||"var(--sqm-portal-background)";var u=r.backgroundHoverColor||"var(--sqm-primary-button-background-hover)";var v=r.backgroundFocusedColor||"var(--sqm-primary-button-background)";var d=r.textFocusedColor||"var(--sqm-primary-button-color)";var p={ItemContainer:__assign(__assign({display:"flex","background-color":""+(e.active?v:l),borderRadius:r.borderRadius?r.borderRadius+"px":"var(--sqm-border-radius-normal)",padding:"var(--sl-spacing-"+c+")","text-decoration":"none",color:e.active?d:r.textColor||"var(--sqm-text)","align-items":"center"},o({direction:"row",size:"var(--sl-font-size-small)"})),{"&:hover":{cursor:"pointer",background:e.active?v:u,color:e.active?d:r.textHoverColor||"var(--sqm-primary-button-color-hover)"}}),Label:{margin:"0"},Icon:{"flex-shrink":"0"}};var m=t(p);var g=m.toString();return a("a",{part:"sqm-link",href:n.path,onClick:function(r){r.preventDefault();s.push(n.path)},class:m.classes.ItemContainer},a("style",{type:"text/css"},g),a("sl-icon",{class:m.classes.Icon,name:n.icon}),a("p",{class:m.classes.Label,part:"sqm-label"},n.label))}}}}));