{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/GeyBbonWE6IrNbHGip4T/4pXFqSqnebW6GOxF0eyg/ProductGroupIdParser.js"],
  "sourcesContent": ["import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useSendProductIds}from\"https://asset.29cm.co.kr/contents/framer/hooks/product/index.js\";/**\n * @framerSupportedLayoutWidth auto\n */export default function ProductGroupIdParser(props){const productGroupIds=parseProductGroupIds(Object.entries(props));useSendProductIds(productGroupIds);return /*#__PURE__*/_jsx(_Fragment,{});}const parseProductGroupIds=entires=>entires.reduce((collected,[key,value])=>{const matched=/group\\d+/.test(key);if(matched&&value){collected.push(value);}return collected;},[]).sort().join(\",\");addPropertyControls(ProductGroupIdParser,{group1:{type:ControlType.String,description:\"group1\"},group2:{type:ControlType.String,description:\"group1\"},group3:{type:ControlType.String,description:\"group1\"},group4:{type:ControlType.String,description:\"group1\"},group5:{type:ControlType.String,description:\"group1\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProductGroupIdParser\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProductGroupIdParser.map"],
  "mappings": "0GAEkB,SAARA,EAAsCC,EAAM,CAAC,IAAMC,EAAgBC,EAAqB,OAAO,QAAQF,CAAK,CAAC,EAAE,OAAAG,EAAkBF,CAAe,EAAsBG,EAAKC,EAAU,CAAC,CAAC,CAAE,CAAC,IAAMH,EAAqBI,GAASA,EAAQ,OAAO,CAACC,EAAU,CAACC,EAAIC,CAAK,KAAmB,WAAW,KAAKD,CAAG,GAAcC,GAAOF,EAAU,KAAKE,CAAK,EAAUF,GAAY,CAAC,CAAC,EAAE,KAAK,EAAE,KAAK,GAAG,EAAEG,EAAoBX,EAAqB,CAAC,OAAO,CAAC,KAAKY,EAAY,OAAO,YAAY,QAAQ,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,YAAY,QAAQ,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,YAAY,QAAQ,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,YAAY,QAAQ,EAAE,OAAO,CAAC,KAAKA,EAAY,OAAO,YAAY,QAAQ,CAAC,CAAC",
  "names": ["ProductGroupIdParser", "props", "productGroupIds", "parseProductGroupIds", "useSendProductIds", "p", "l", "entires", "collected", "key", "value", "addPropertyControls", "ControlType"]
}
