"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var system=require("@gem-sdk/system"),Separator_liquid=require("./Separator.liquid.js"),BlankSpace_liquid=require("./BlankSpace.liquid.js"),core=require("@gem-sdk/core");const PriceLayout=({components:e,separator:r,showPrice:t,showSeparator:a})=>{let i=system.If(a,Separator_liquid.default({separator:r}),system.If(e.length>1,BlankSpace_liquid.default(),""));return core.template`
    ${i}
    ${t?e.map((r,t)=>core.template`
            ${r()}
            ${t<e.length-1?BlankSpace_liquid.default():""}
          `).join(""):""}
  `};exports.default=PriceLayout;
