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AC7B,OAAO,IAAIG,EAASF,EAAUC,EAChC","sources":["../../../node_modules/@esri/calcite-components-react/node_modules/@stencil/core/internal/client|lazy|/^/.//.*/.entry/.js.*$/|include: //.entry/.js$/|exclude: //.system/.entry/.js$/|groupOptions: {}|namespace object","../../../node_modules/@esri/calcite-components-react/node_modules/@esri/calcite-components/dist/components/calcite-radio-button-group.js","../../../node_modules/@esri/calcite-components-react/node_modules/@esri/calcite-components/dist/components/loadable.js","../../../node_modules/@esri/calcite-components-react/node_modules/@esri/calcite-components/dist/components/observers.js"],"sourcesContent":["function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(() => {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = () => ([]);\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = 31164;\nmodule.exports = webpackEmptyAsyncContext;","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.\n * v1.11.0\n */\nimport { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client/index.js';\nimport { c as createObserver } from './observers.js';\nimport { a as setUpLoadableComponent, s as setComponentLoaded, c as componentFocusable } from './loadable.js';\n\nconst radioButtonGroupCss = \":host{display:flex;max-inline-size:100vw}:host([layout=horizontal]){flex-direction:row;flex-wrap:wrap}:host([layout=horizontal][scale=s]){gap:1rem}:host([layout=horizontal][scale=m]){gap:1.25rem}:host([layout=horizontal][scale=l]){gap:1.5rem}:host([layout=vertical]){flex-direction:column}:host([hidden]){display:none}[hidden]{display:none}\";\n\nconst RadioButtonGroup = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {\n  constructor() {\n    super();\n    this.__registerHost();\n    this.__attachShadow();\n    this.calciteRadioButtonGroupChange = createEvent(this, \"calciteRadioButtonGroupChange\", 6);\n    this.mutationObserver = createObserver(\"mutation\", () => this.passPropsToRadioButtons());\n    //--------------------------------------------------------------------------\n    //\n    //  Private Methods\n    //\n    //--------------------------------------------------------------------------\n    this.passPropsToRadioButtons = () => {\n      this.radioButtons = Array.from(this.el.querySelectorAll(\"calcite-radio-button\"));\n      this.selectedItem =\n        Array.from(this.radioButtons).find((radioButton) => radioButton.checked) || null;\n      if (this.radioButtons.length > 0) {\n        this.radioButtons.forEach((radioButton) => {\n          radioButton.disabled = this.disabled || radioButton.disabled;\n          radioButton.hidden = this.hidden;\n          radioButton.name = this.name;\n          radioButton.required = this.required;\n          radioButton.scale = this.scale;\n        });\n      }\n    };\n    this.disabled = false;\n    this.hidden = false;\n    this.layout = \"horizontal\";\n    this.name = undefined;\n    this.required = false;\n    this.selectedItem = null;\n    this.scale = \"m\";\n    this.radioButtons = [];\n  }\n  onDisabledChange() {\n    this.passPropsToRadioButtons();\n  }\n  onHiddenChange() {\n    this.passPropsToRadioButtons();\n  }\n  onLayoutChange() {\n    this.passPropsToRadioButtons();\n  }\n  onScaleChange() {\n    this.passPropsToRadioButtons();\n  }\n  //--------------------------------------------------------------------------\n  //\n  //  Lifecycle\n  //\n  //--------------------------------------------------------------------------\n  connectedCallback() {\n    this.passPropsToRadioButtons();\n    this.mutationObserver?.observe(this.el, { childList: true, subtree: true });\n  }\n  componentWillLoad() {\n    setUpLoadableComponent(this);\n  }\n  componentDidLoad() {\n    setComponentLoaded(this);\n  }\n  disconnectedCallback() {\n    this.mutationObserver?.disconnect();\n  }\n  getFocusableRadioButton() {\n    return this.radioButtons.find((radiobutton) => !radiobutton.disabled) ?? null;\n  }\n  //--------------------------------------------------------------------------\n  //\n  //  Public Method\n  //\n  //--------------------------------------------------------------------------\n  /** Sets focus on the fist focusable `calcite-radio-button` element in the component. */\n  async setFocus() {\n    await componentFocusable(this);\n    if (this.selectedItem && !this.selectedItem.disabled) {\n      return this.selectedItem.setFocus();\n    }\n    if (this.radioButtons.length > 0) {\n      return this.getFocusableRadioButton()?.setFocus();\n    }\n  }\n  //--------------------------------------------------------------------------\n  //\n  //  Event Listeners\n  //\n  //--------------------------------------------------------------------------\n  radioButtonChangeHandler(event) {\n    this.selectedItem = event.target;\n    this.calciteRadioButtonGroupChange.emit();\n  }\n  // --------------------------------------------------------------------------\n  //\n  //  Render Methods\n  //\n  // --------------------------------------------------------------------------\n  render() {\n    return (h(Host, { role: \"radiogroup\" }, h(\"slot\", null)));\n  }\n  get el() { return this; }\n  static get watchers() { return {\n    \"disabled\": [\"onDisabledChange\"],\n    \"hidden\": [\"onHiddenChange\"],\n    \"layout\": [\"onLayoutChange\"],\n    \"scale\": [\"onScaleChange\"]\n  }; }\n  static get style() { return radioButtonGroupCss; }\n}, [1, \"calcite-radio-button-group\", {\n    \"disabled\": [516],\n    \"hidden\": [516],\n    \"layout\": [513],\n    \"name\": [513],\n    \"required\": [516],\n    \"selectedItem\": [1040],\n    \"scale\": [513],\n    \"radioButtons\": [32],\n    \"setFocus\": [64]\n  }, [[0, \"calciteRadioButtonChange\", \"radioButtonChangeHandler\"]]]);\nfunction defineCustomElement$1() {\n  if (typeof customElements === \"undefined\") {\n    return;\n  }\n  const components = [\"calcite-radio-button-group\"];\n  components.forEach(tagName => { switch (tagName) {\n    case \"calcite-radio-button-group\":\n      if (!customElements.get(tagName)) {\n        customElements.define(tagName, RadioButtonGroup);\n      }\n      break;\n  } });\n}\ndefineCustomElement$1();\n\nconst CalciteRadioButtonGroup = RadioButtonGroup;\nconst defineCustomElement = defineCustomElement$1;\n\nexport { CalciteRadioButtonGroup, defineCustomElement };\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.\n * v1.11.0\n */\nimport { Build, forceUpdate } from '@stencil/core/internal/client/index.js';\n\nconst resolveMap = new WeakMap();\nconst promiseMap = new WeakMap();\n/**\n * This helper util sets up the component for the ability to know when the component has been loaded.\n *\n * This should be used in the `componentWillLoad` lifecycle hook.\n *\n * ```\n * componentWillLoad(): void {\n *   setUpLoadableComponent(this);\n * }\n * ```\n *\n * @param component\n */\nfunction setUpLoadableComponent(component) {\n  promiseMap.set(component, new Promise((resolve) => resolveMap.set(component, resolve)));\n}\n/**\n * This helper util lets the loadable component know that it is now loaded.\n *\n * This should be used in the `componentDidLoad` lifecycle hook.\n *\n * ```\n * componentDidLoad(): void {\n *   setComponentLoaded(this);\n * }\n * ```\n *\n * @param component\n */\nfunction setComponentLoaded(component) {\n  resolveMap.get(component)();\n}\n/**\n * This helper util can be used to ensure a component has been loaded (The \"componentDidLoad\" Stencil lifecycle method has been called).\n *\n * Requires requires `LoadableComponent` to be implemented.\n *\n * A component developer can await this method before proceeding with any logic that requires a component to be loaded first.\n *\n * ```\n * async myMethod(): Promise<void> {\n *   await componentLoaded(this);\n * }\n * ```\n *\n * @param component\n * @returns Promise<void>\n */\nfunction componentLoaded(component) {\n  return promiseMap.get(component);\n}\n/**\n * This helper util can be used to ensuring the component is loaded and rendered by the browser (The \"componentDidLoad\" Stencil lifecycle method has been called and any internal elements are focusable).\n *\n * Requires requires `LoadableComponent` to be implemented.\n *\n * A component developer can await this method before proceeding with any logic that requires a component to be loaded first and then an internal element be focused.\n *\n * ```\n * async setFocus(): Promise<void> {\n *   await componentFocusable(this);\n *   this.internalElement?.focus();\n * }\n * ```\n *\n * @param component\n * @returns Promise<void>\n */\nasync function componentFocusable(component) {\n  await componentLoaded(component);\n  if (!Build.isBrowser) {\n    return;\n  }\n  forceUpdate(component);\n  return new Promise((resolve) => requestAnimationFrame(() => resolve()));\n}\n\nexport { setUpLoadableComponent as a, componentLoaded as b, componentFocusable as c, setComponentLoaded as s };\n","/*!\n * All material copyright ESRI, All Rights Reserved, unless otherwise specified.\n * See https://github.com/Esri/calcite-design-system/blob/main/LICENSE.md for details.\n * v1.11.0\n */\nimport { Build } from '@stencil/core/internal/client/index.js';\n\n/**\n * This utility ensures observers are created only for browser contexts.\n *\n * @param type - the type of observer to create\n * @param callback - the observer callback\n * @param options - the observer options\n */\nfunction createObserver(type, callback, options) {\n  if (!Build.isBrowser) {\n    return undefined;\n  }\n  const Observer = getObserver(type);\n  return new Observer(callback, options);\n}\nfunction getObserver(type) {\n  // based on https://github.com/whatwg/dom/issues/126#issuecomment-1049814948\n  class ExtendedMutationObserver extends window.MutationObserver {\n    constructor(callback) {\n      super(callback);\n      this.observedEntry = [];\n      this.callback = callback;\n    }\n    observe(target, options) {\n      this.observedEntry.push({ target, options });\n      return super.observe(target, options);\n    }\n    unobserve(target) {\n      const newObservedEntries = this.observedEntry.filter((observed) => observed.target !== target);\n      this.observedEntry = [];\n      this.callback(super.takeRecords(), this);\n      this.disconnect();\n      newObservedEntries.forEach((observed) => this.observe(observed.target, observed.options));\n    }\n  }\n  return (function () {\n    return (type === \"intersection\"\n      ? window.IntersectionObserver\n      : type === \"mutation\"\n        ? ExtendedMutationObserver\n        : window.ResizeObserver);\n  })();\n}\n\nexport { createObserver as c };\n"],"names":["webpackEmptyAsyncContext","req","Promise","resolve","then","e","Error","code","keys","id","module","exports","RadioButtonGroup","proxyCustomElement","HTMLElement","constructor","super","this","__registerHost","__attachShadow","calciteRadioButtonGroupChange","createEvent","mutationObserver","createObserver","passPropsToRadioButtons","radioButtons","Array","from","el","querySelectorAll","selectedItem","find","radioButton","checked","length","forEach","disabled","hidden","name","required","scale","layout","undefined","onDisabledChange","onHiddenChange","onLayoutChange","onScaleChange","connectedCallback","observe","childList","subtree","componentWillLoad","setUpLoadableComponent","componentDidLoad","setComponentLoaded","disconnectedCallback","disconnect","getFocusableRadioButton","radiobutton","setFocus","componentFocusable","radioButtonChangeHandler","event","target","emit","render","h","Host","role","watchers","style","defineCustomElement$1","customElements","tagName","get","define","CalciteRadioButtonGroup","defineCustomElement","resolveMap","WeakMap","promiseMap","component","set","componentLoaded","async","Build","isBrowser","forceUpdate","requestAnimationFrame","type","callback","options","Observer","ExtendedMutationObserver","window","MutationObserver","observedEntry","push","unobserve","newObservedEntries","filter","observed","takeRecords","IntersectionObserver","ResizeObserver","getObserver"],"sourceRoot":""}