System.register(["./index-c820db66.system.js","./index-dc84aac6.system.js","./index-2d937df8.system.js","./index-9ceb7f8c.system.js","./_commonjsHelpers-c8881874.system.js","./index-b0fe4e4c.system.js"],(function(i){"use strict";var e,t,s,n,m,a;return{setters:[function(i){e=i.r;t=i.j;s=i.h;n=i.g},function(i){m=i.I},function(i){a=i.d},function(){},function(){},function(){}],execute:function(){var l={"@":"à","Remove item":"Ta bort artikel"};function o(i){return a.create({sv:l},i)}var r=".sc-ig-display-item-h{display:block}[hidden].sc-ig-display-item-h{display:none}.sc-ig-display-item-h>section.sc-ig-display-item{margin-left:.3em;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.sc-ig-display-item-h>section.sc-ig-display-item>span.sc-ig-display-item{margin-bottom:0.8em;padding-left:1.5em;white-space:nowrap;overflow:hidden;text-overflow:visible}.sc-ig-display-item-h>section.sc-ig-display-item>span.medium.sc-ig-display-item{-ms-flex-positive:2;flex-grow:2}.sc-ig-display-item-h>section.sc-ig-display-item>span.small.sc-ig-display-item{-ms-flex-positive:1;flex-grow:1}.sc-ig-display-item-h>section.sc-ig-display-item>span.big.sc-ig-display-item{-ms-flex-positive:3;flex-grow:3}.left.sc-ig-display-item{border-left:1px solid rgb(var(--smoothly-medium-color))}.sc-ig-display-item-h>section.sc-ig-display-item>smoothly-trigger.sc-ig-display-item{margin-right:0px;margin-left:8px;margin-top:-3px;float:right}";var c=i("ig_display_item",function(){function i(i){e(this,i);this.itemDeleted=t(this,"itemDeleted",7);this.item={};this.removable=true}i.prototype.componentWillLoad=function(){this.t=o(this.element)};i.prototype.delete=function(i){if(i.detail.name=="item"){i.stopPropagation();this.itemDeleted.emit({index:this.index})}};i.prototype.render=function(){var i=this.t;return[this.item?s("section",null,s("span",{class:"small"},this.item.quantity?this.item.quantity:this.item.unit?1:""," ",this.item.unit),s("span",{class:"big"},this.item.name),s("span",{class:"medium"},i("@")," ",m.amount(this.item)/(this.item.quantity?this.item.quantity:1)," ",this.currency),s("span",{class:"medium"},m.amount(this.item)," ",this.currency),this.removable?s("smoothly-trigger",{fill:"clear",name:"item"},s("smoothly-icon",{size:"small",toolTip:i("Remove item"),name:"trash"})):""):""]};Object.defineProperty(i.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return i}());c.style=r}}}));