'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),styles=require("./common/styles.js"),system=require("@gem-sdk/system"),classes=require("./common/classes.js"),React=require("react");const ProductBundleDiscountChildrenItem=e=>{let{index:s,isSelected:t,setSelected:l,setting:r,styles:i,childItem:n,bundleItem:a}=e,c=system.createStyle(styles.getItemWrapStyles(i,t)),m=system.createClass(classes.getLayoutClasses(r)),o=system.createStyle(styles.getIconStyles(r)),u=system.createStyle(styles.getSvgActiveStyles(i)),d=system.createStyle(styles.getSvgStyles(i)),y=system.createClass(classes.getIconSectionClasses),x=system.createClass(classes.getItemClasses),j=system.createClass(styles.getFlexChildren);return jsxRuntime.jsx("div",{"aria-hidden":!0,onClick:()=>l?.(s),className:x,style:c,children:jsxRuntime.jsxs("div",{className:m,children:[r?.enableIcon&&jsxRuntime.jsx("div",{className:y,style:o,children:system.If(t,jsxRuntime.jsx("svg",{style:u,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"493334324348453213",children:jsxRuntime.jsx("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"})}),jsxRuntime.jsx("svg",{style:d,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",fill:"currentColor","data-id":"508817616304734568",children:jsxRuntime.jsx("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"})}))}),jsxRuntime.jsx("div",{className:j,children:React.isValidElement(n)&&jsxRuntime.jsx(n.type,{...n.props,"bundle-item":a})})]})})};exports.default=ProductBundleDiscountChildrenItem;
