/*! For license information please see 8b764b516bfb55a5352b378fabd6f29f.js.LICENSE.txt */
"use strict";(wx["webpackJsonp"]=wx["webpackJsonp"]||[]).push([["sub-common/8b764b516bfb55a5352b378fabd6f29f"],{"./src/components/SelectGroup/index.tsx":function(n,e,r){var o=r("./node_modules/react/cjs/react.production.min.js");var c=r("./node_modules/react/cjs/react-jsx-runtime.production.min.js");var t=function SelectGroup(n){var e=n.children;function handleChange(n,e){return function(r){e.props.onChange(r);n.forEach((function(n){var e;(e=n.ref)===null||e===void 0?void 0:e.current.closePopup()}))}}function handleCloseOverlay(n){return function(){n.forEach((function(n){var e;(e=n.ref)===null||e===void 0?void 0:e.current.closePopup()}))}}var r=function renderChildren(){return o.Children.map(e,(function(n){var r=n;return o.cloneElement(r,{onChange:handleChange(e,r),onCloseOverlay:handleCloseOverlay(e)})}))};return(0,c.jsx)(c.Fragment,{children:r()})};e["default"]=t}}]);