"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),system=require("@gem-sdk/system"),styles=require("./common/styles.js"),classes=require("./common/classes.js");const ProductBundleDiscountChildrenItemLiquid=e=>{let{isSelected:s,setting:t,styles:l,bundleItem:r,rawChildrenItem:o}=e,c=system.createStyle(styles.getItemWrapStyles(l,s)),a=system.createClass(classes.getLayoutClasses(t)),i=system.createStyle(styles.getIconStyles(t)),n=system.createStyle(styles.getSvgActiveStyles(l)),d=system.createStyle(styles.getSvgStyles(l)),y=system.createClass(classes.getIconSectionClasses),m=system.createClass(classes.getItemClasses),u=system.createClass(styles.getFlexChildren);return core.template`
  <gp-product-bundle-discount-item ${r} aria-hidden class="${m}" style="${c}">
  <div class="${a}">
    ${system.If(t?.enableIcon,core.template`
    <div class="${y}" style="${i}">
      ${system.If(s,core.template`<svg style="${n}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor">
          <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round"
            d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm64-88a64,64,0,1,1-64-64A64.07,64.07,0,0,1,192,128Z"></path>
        </svg>`,core.template`<svg style="${d}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" fill="currentColor">
          <path fill="currentColor" strokeLinecap="round" strokeLinejoin="round"
            d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Z">
          </path>
      </svg>`)}

    </div>
    `)}
    <div class="${u}">
      ${core.RenderChildren({...o})}
    </div>
  </div>
</gp-product-bundle-discount-item>
  `};exports.default=ProductBundleDiscountChildrenItemLiquid;
