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AJ,IAAA,GACAC,SAAAI,IAAA,CAAAC,WAAA,MAAAN,IAAA,EACA,KAAAA,IAAA,MACA,CACAL,SAAAJ,CAAA,CAAAC,EAAA,YAAAC,EAlCA,GAkCA,EACA,SAAAO,IAAA,QACA,IAAAA,EAAAC,SAAAC,aAAA,OACAF,CAAAA,EAAAO,WAAA,CAAAhB,EACAC,cAAAA,EAAA,KAAAgB,YAAA,CAAAC,WAAA,CAAAT,GACA,KAAAU,SAAA,CAAAD,WAAA,CAAAT,GACA,KAAAT,GAAAoB,WAAA,KACAX,EAAAY,MAAA,EACA,EAASnB,EACT,CACAI,MAAAL,CAAA,EACA,KAAAQ,IAAA,GACAR,GAAAA,cAAAA,GAAA,MAAAgB,YAAA,CAAAK,SAAA,KACArB,GAAAA,WAAAA,GAAA,MAAAkB,SAAA,CAAAG,SAAA,KACA,CACAC,aAAA,CACA,KAAAd,IAAA,CAAAC,SAAAC,aAAA,QACA,KAAAF,IAAA,CAAAe,OAAA,CAAAC,aAAA,QAEAC,OAAAC,MAAA,MAAAlB,IAAA,CAAAmB,KAAA,EACAC,OAAA,EACAC,KAAA,gBACAC,SAAA,aACAC,OAAA,MACAC,OAAA,OACAC,SAAA,SACAC,QAAA,EACAC,SAAA,WACAC,MAAA,MACAC,WAAA,QACA,GACA,KAAArB,YAAA,MAAAV,SAAA,cACA,KAAAE,IAAA,CAAAS,WAAA,MAAAD,YAAA,EACA,KAAAE,SAAA,MAAAZ,SAAA,WACA,KAAAE,IAAA,CAAAS,WAAA,MAAAC,SAAA,EACAT,SAAAI,IAAA,CAAAyB,OAAA,MAAA9B,IAAA,CACA,CACA","sources":["webpack://_N_E/?5b9b","webpack://_N_E/./src/app/provider/programs/page.tsx","webpack://_N_E/./node_modules/.pnpm/@react-aria+focus@3.17.1_react@18.3.1/node_modules/@react-aria/focus/dist/useHasTabbableChild.mjs","webpack://_N_E/./node_modules/.pnpm/@react-aria+live-announcer@3.3.4/node_modules/@react-aria/live-announcer/dist/LiveAnnouncer.mjs"],"sourcesContent":["import(/* webpackMode: \"eager\" */ \"/codebuild/output/src2150190915/src/right2hope/src/app/provider/programs/page.tsx\");\n","'use client';\nimport { Container } from '@/layers/presentation/components/common/Container';\nimport PageHero from '@/layers/presentation/components/common/PageHero';\nimport ProgramSearchFilters from '@/layers/presentation/components/programs/ProgramSearchFilters';\nimport ProgramsList from '@/layers/presentation/components/programs/ProgramsList';\nimport SubscriptionPrompt from '@/layers/presentation/components/ui/SubscriptionPrompt';\nimport { useLogger } from '@/layers/presentation/hooks/useLogger';\nimport { useProgramSearch } from '@/layers/presentation/hooks/useProgramSearch';\nimport { useTranslation } from '@/layers/presentation/i18n/client';\nimport { UserType } from '@/types/modelEnums';\n\nconst LOG_MODULE = '[Pages / Provider / Programs]';\n\nexport default function ProviderPrograms() {\n const { t } = useTranslation();\n const { selectedOptions, query, handleParamChange, handleQueryChange, handleSaveSearch } =\n useProgramSearch();\n\n const log = useLogger({\n module: LOG_MODULE,\n props: {\n selectedOptions,\n query,\n },\n });\n\n const breadcrumbs = [\n { label: 'Home', href: '/' },\n { label: 'Providers', href: '/about/providers' },\n { label: 'Dashboard', href: '/provider' },\n { label: 'Search Programs', href: '/provider/programs' },\n ];\n\n return (\n <>\n \n \n \n \n \n \n \n );\n}\n","import {getFocusableTreeWalker as $9bf71ea28793e738$export$2d6ec8fc375ceafa} from \"./FocusScope.mjs\";\nimport {useState as $hGAaG$useState} from \"react\";\nimport {useLayoutEffect as $hGAaG$useLayoutEffect} from \"@react-aria/utils\";\n\n/*\n * Copyright 2022 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ \n\n\nfunction $83013635b024ae3d$export$eac1895992b9f3d6(ref, options) {\n let isDisabled = options === null || options === void 0 ? void 0 : options.isDisabled;\n let [hasTabbableChild, setHasTabbableChild] = (0, $hGAaG$useState)(false);\n (0, $hGAaG$useLayoutEffect)(()=>{\n if ((ref === null || ref === void 0 ? void 0 : ref.current) && !isDisabled) {\n let update = ()=>{\n if (ref.current) {\n let walker = (0, $9bf71ea28793e738$export$2d6ec8fc375ceafa)(ref.current, {\n tabbable: true\n });\n setHasTabbableChild(!!walker.nextNode());\n }\n };\n update();\n // Update when new elements are inserted, or the tabIndex/disabled attribute updates.\n let observer = new MutationObserver(update);\n observer.observe(ref.current, {\n subtree: true,\n childList: true,\n attributes: true,\n attributeFilter: [\n 'tabIndex',\n 'disabled'\n ]\n });\n return ()=>{\n // Disconnect mutation observer when a React update occurs on the top-level component\n // so we update synchronously after re-rendering. Otherwise React will emit act warnings\n // in tests since mutation observers fire asynchronously. The mutation observer is necessary\n // so we also update if a child component re-renders and adds/removes something tabbable.\n observer.disconnect();\n };\n }\n });\n return isDisabled ? false : hasTabbableChild;\n}\n\n\nexport {$83013635b024ae3d$export$eac1895992b9f3d6 as useHasTabbableChild};\n//# sourceMappingURL=useHasTabbableChild.module.js.map\n","/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */ /* Inspired by https://github.com/AlmeroSteyn/react-aria-live */ const $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY = 7000;\nlet $319e236875307eab$var$liveAnnouncer = null;\nfunction $319e236875307eab$export$a9b970dcc4ae71a9(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!$319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer = new $319e236875307eab$var$LiveAnnouncer();\n $319e236875307eab$var$liveAnnouncer.announce(message, assertiveness, timeout);\n}\nfunction $319e236875307eab$export$d10ae4f68404609a(assertiveness) {\n if ($319e236875307eab$var$liveAnnouncer) $319e236875307eab$var$liveAnnouncer.clear(assertiveness);\n}\nfunction $319e236875307eab$export$d8686216b8b81b2f() {\n if ($319e236875307eab$var$liveAnnouncer) {\n $319e236875307eab$var$liveAnnouncer.destroy();\n $319e236875307eab$var$liveAnnouncer = null;\n }\n}\n// LiveAnnouncer is implemented using vanilla DOM, not React. That's because as of React 18\n// ReactDOM.render is deprecated, and the replacement, ReactDOM.createRoot is moved into a\n// subpath import `react-dom/client`. That makes it hard for us to support multiple React versions.\n// As a global API, we can't use portals without introducing a breaking API change. LiveAnnouncer\n// is simple enough to implement without React, so that's what we do here.\n// See this discussion for more details: https://github.com/reactwg/react-18/discussions/125#discussioncomment-2382638\nclass $319e236875307eab$var$LiveAnnouncer {\n createLog(ariaLive) {\n let node = document.createElement('div');\n node.setAttribute('role', 'log');\n node.setAttribute('aria-live', ariaLive);\n node.setAttribute('aria-relevant', 'additions');\n return node;\n }\n destroy() {\n if (!this.node) return;\n document.body.removeChild(this.node);\n this.node = null;\n }\n announce(message, assertiveness = 'assertive', timeout = $319e236875307eab$var$LIVEREGION_TIMEOUT_DELAY) {\n if (!this.node) return;\n let node = document.createElement('div');\n node.textContent = message;\n if (assertiveness === 'assertive') this.assertiveLog.appendChild(node);\n else this.politeLog.appendChild(node);\n if (message !== '') setTimeout(()=>{\n node.remove();\n }, timeout);\n }\n clear(assertiveness) {\n if (!this.node) return;\n if (!assertiveness || assertiveness === 'assertive') this.assertiveLog.innerHTML = '';\n if (!assertiveness || assertiveness === 'polite') this.politeLog.innerHTML = '';\n }\n constructor(){\n this.node = document.createElement('div');\n this.node.dataset.liveAnnouncer = 'true';\n // copied from VisuallyHidden\n Object.assign(this.node.style, {\n border: 0,\n clip: 'rect(0 0 0 0)',\n clipPath: 'inset(50%)',\n height: '1px',\n margin: '-1px',\n overflow: 'hidden',\n padding: 0,\n position: 'absolute',\n width: '1px',\n whiteSpace: 'nowrap'\n });\n this.assertiveLog = this.createLog('assertive');\n this.node.appendChild(this.assertiveLog);\n this.politeLog = this.createLog('polite');\n this.node.appendChild(this.politeLog);\n document.body.prepend(this.node);\n }\n}\n\n\nexport {$319e236875307eab$export$a9b970dcc4ae71a9 as announce, $319e236875307eab$export$d10ae4f68404609a as clearAnnouncer, $319e236875307eab$export$d8686216b8b81b2f as destroyAnnouncer};\n//# sourceMappingURL=LiveAnnouncer.module.js.map\n"],"names":["Promise","resolve","then","__webpack_require__","bind","ProviderPrograms","t","useTranslation","selectedOptions","query","handleParamChange","handleQueryChange","handleSaveSearch","useProgramSearch","useLogger","module","props","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Fragment","jsx","PageHero","title","breadcrumbs","label","href","background","titleColor","backgroundImage","Container","ProgramSearchFilters","filters","patientParams","onParamChange","onQueryChange","ProgramsList","type","UserType","PROVIDER","onSaveSearch","SubscriptionPrompt","prompt","text","button","modal","params","userType","$83013635b024ae3d$export$eac1895992b9f3d6","ref","options","isDisabled","hasTabbableChild","setHasTabbableChild","react__WEBPACK_IMPORTED_MODULE_0__","useState","_react_aria_utils__WEBPACK_IMPORTED_MODULE_1__","b","current","update","walker","_FocusScope_mjs__WEBPACK_IMPORTED_MODULE_2__","QL","tabbable","nextNode","observer","MutationObserver","observe","subtree","childList","attributes","attributeFilter","disconnect","$319e236875307eab$var$liveAnnouncer","$319e236875307eab$export$a9b970dcc4ae71a9","message","assertiveness","timeout","$319e236875307eab$var$LiveAnnouncer","announce","$319e236875307eab$export$d10ae4f68404609a","clear","createLog","ariaLive","node","document","createElement","setAttribute","destroy","body","removeChild","textContent","assertiveLog","appendChild","politeLog","setTimeout","remove","innerHTML","constructor","dataset","liveAnnouncer","Object","assign","style","border","clip","clipPath","height","margin","overflow","padding","position","width","whiteSpace","prepend"],"sourceRoot":""}