import{r as e,h as a,H as i,F as n}from"./p-e81f56ed.js";const t=":host{display:block}.container{display:flex;padding:var(--klevu-spacing-03) var(--klevu-spacing-05)}a{display:flex;text-decoration:none;padding:var(--klevu-spacing-03) var(--klevu-spacing-05)}.condensed{padding:0 var(--klevu-spacing-04)}.noXPadding{padding-left:0;padding-right:0}.text{display:flex;flex-direction:column}.icon{font-size:20px;margin-right:var(--klevu-spacing-03)}.image{max-width:48px;margin-right:var(--klevu-spacing-03);border-radius:var(--klevu-border-radius-xxl)}";var s=undefined&&undefined.__classPrivateFieldGet||function(e,a,i,n){if(i==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof a==="function"?e!==a||!n:!a.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return i==="m"?n:i==="a"?n.call(e):n?n.value:a.get(e)};var r,o;const d=class{constructor(a){e(this,a);r.add(this);this.icon=undefined;this.image=undefined;this.url=undefined;this.condensed=false;this.noXPadding=false}render(){return a(i,null,Boolean(this.url)?a("a",{class:{condensed:this.condensed,noXPadding:this.noXPadding},href:this.url},s(this,r,"m",o).call(this)):a("div",{class:{container:true,condensed:this.condensed,noXPadding:this.noXPadding}},s(this,r,"m",o).call(this)))}};r=new WeakSet,o=function e(){return a(n,null,this.icon&&a("span",{class:"icon",part:"material-icon"},this.icon),this.image&&a("img",{class:"image",src:this.image}),a("div",{class:"text"},a("klevu-typography",{variant:"body-s"},a("slot",{name:"primary"})),a("klevu-typography",{variant:"body-s",style:{"--klevu-typography-color":"var(--klevu-color-neutral-7)"}},a("slot",{name:"secondary"}))),a("slot",{name:"button"}))};d.style=t;export{d as klevu_list};
//# sourceMappingURL=p-076c5617.entry.js.map