PageSourceSearch

https://healthequitytracker.org/assets/lib-TqE5FH20.js

js healthequitytracker.org collected 2026-10-03 21:10:58 UTC 16,709 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d94edf96-098c-43f0-b7f6-c1bcbea4da93`,e._sentryDebugIdIdentifier=`sentry-dbid-d94edf96-098c-43f0-b7f6-c1bcbea4da93`)}catch{}})();import{r as e}from"./rolldown-runtime-ydZ5IrsR.js";import{t}from"./react-DivRRJDg.js";import{A as n,C as r,D as i,E as a,M as o,N as s,O as c,S as l,T as u,_ as d,b as f,c as p,d as m,f as h,g,h as _,j as v,k as y,l as b,m as x,n as S,o as C,r as w,t as T,u as E,v as D,w as O,x as k,y as A}from"./hooks-DeQAzZ3Y.js";import{t as j}from"./preload-helper-DbWLVUxj.js";var M=e(t(),1);M.memo(N);function N({routes:e,manifest:t,future:n,state:r,isStatic:i,onError:a}){return h(e,void 0,{manifest:t,state:r,isStatic:i,onError:a,future:n})}function P({to:e,replace:t,state:r,relative:i}){n(S(),`<Navigate> may be used only in the context of a <Router> component.`);let{static:s}=M.useContext(d);o(!s,`<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.`);let{matches:c}=M.useContext(D),{pathname:l}=w(),u=C(),f=a(e,k(c),l,i===`path`),p=JSON.stringify(f);return M.useEffect(()=>{u(JSON.parse(p),{replace:t,state:r,relative:i})},[u,p,i,t,r]),null}function F(e){return p(e.context)}function I(e){n(!1,`A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.`)}function L({basename:e=`/`,children:t=null,location:r,navigationType:a=`POP`,navigator:s,static:c=!1,useTransitions:l}){n(!S(),`You cannot render a <Router> inside another <Router>. You should never have more than one in your app.`);let u=e.replace(/^\/*/,`/`),f=M.useMemo(()=>({basename:u,navigator:s,static:c,useTransitions:l,future:{}}),[u,s,c,l]);typeof r==`string`&&(r=v(r));let{pathname:p=`/`,search:m=``,hash:h=``,state:_=null,key:y=`default`,mask:b}=r,x=M.useMemo(()=>{let e=i(p,u);return e==null?null:{location:{pathname:e,search:m,hash:h,state:_,key:y,mask:b},navigationType:a}},[u,p,m,h,_,y,a,b]);return o(x!=null,`<Router basename="${u}"> is not able to match the URL "${p}${m}${h}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:M.createElement(d.Provider,{value:f},M.createElement(g.Provider,{children:t,value:x}))}function ee({children:e,location:t}){return m(R(e),t)}M.Component;function R(e,t=[]){let r=[];return M.Children.forEach(e,(e,i)=>{if(!M.isValidElement(e))return;let a=[...t,i];if(e.type===M.Fragment){r.push.apply(r,R(e.props.children,a));return}n(e.type===I,`[${typeof e.type==`string`?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);let o=e.props;n(!o.index||!o.children,`An index route cannot have child routes.`);let s={id:o.id||a.join(`-`),caseSensitive:o.caseSensitive,element:o.element,Component:o.Component,index:o.index,path:o.path,middleware:o.middleware,loader:o.loader,action:o.action,hydrateFallbackElement:o.hydrateFallbackElement,HydrateFallback:o.HydrateFallback,errorElement:o.errorElement,ErrorBoundary:o.ErrorBoundary,shouldRevalidate:o.shouldRevalidate,handle:o.handle,lazy:o.lazy};o.children&&(s.children=R(o.children,a)),r.push(s)}),r}var z=`application/x-www-form-urlencoded`;function B(e){return typeof HTMLElement<`u`&&e instanceof HTMLElement}function te(e){return B(e)&&e.tagName.toLowerCase()===`button`}function ne(e){return B(e)&&e.tagName.toLowerCase()===`form`}function re(e){return B(e)&&e.tagName.toLowerCase()===`input`}function ie(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ae(e,t){return e.button===0&&(!t||t===`_self`)&&!ie(e)}var V=null;function oe(){if(V===null)try{new FormData(document.createElement(`form`),0),V=!1}catch{V=!0}return V}var H=new Set([`application/x-www-form-urlencoded`,`multipart/form-data`,`text/plain`]);function U(e){return e!=null&&!H.has(e)?(o(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${z}"`),null):e}function se(e,t){let n,r,a,o,s;if(ne(e)){let s=e.getAttribute(`action`);r=s?i(s,t):null,n=e.getAttribute(`method`)||`get`,a=U(e.getAttribute(`enctype`))||z,o=new FormData(e)}else if(te(e)||re(e)&&(e.type===`submit`||e.type===`image`)){let s=e.form;if(s==null)throw Error(`Cannot submit a <button> or <input type="submit"> without a <form>`);let c=e.getAttribute(`formaction`)||s.getAttribute(`action`);if(r=c?i(c,t):null,n=e.getAttribute(`formmethod`)||s.getAttribute(`method`)||`get`,a=U(e.getAttribute(`formenctype`))||U(s.getAttribute(`enctype`))||z,o=new FormData(s,e),!oe()){let{name:t,type:n,value:r}=e;if(n===`image`){let e=t?`${t}.`:``;o.append(`${e}x`,`0`),o.append(`${e}y`,`0`)}else t&&o.append(t,r)}}else if(B(e))throw Error(`Cannot submit element that is not <form>, <button>, or <input type="submit|image">`);else n=`get`,r=null,a=z,s=e;return o&&a===`text/plain`&&(s=o,o=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:o,body:s}}function W(e,t){if(e===!1||e==null)throw Error(t)}function G(e,t){let n=typeof e==`string`?new URL(e,typeof window>
1`u`?`server://singlefetch/`:window.location.origin):e;return n.pathname=n.pathname.endsWith(`/`)?`${n.pathname}_.${t}`:`${n.pathname}.${t}`,n}async function K(e,t){if(e.id in t)return t[e.id];try{let n=await j(()=>import(e.module),[]);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function ce(e){return e!=null&&typeof e.page==`string`}function le(e){return e==null?!1:e.href==null?e.rel===`preload`&&typeof e.imageSrcSet==`string`&&typeof e.imageSizes==`string`:typeof e.rel==`string`&&typeof e.href==`string`}async function ue(e,t,n){return me((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await K(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(le).filter(e=>e.rel===`stylesheet`||e.rel===`preload`).map(e=>e.rel===`stylesheet`?{...e,rel:`prefetch`,as:`style`}:{...e,rel:`prefetch`}))}function q(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith(`*`)&&n[t].params[`*`]!==e.params[`*`];return a===`assets`?t.filter((e,t)=>o(e,t)||s(e,t)):a===`data`?t.filter((t,a)=>{let c=r.routes[t.route.id];if(!c||!c.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if(typeof r==`boolean`)return r}return!0}):[]}function de(e,t,{includeHydrateFallback:n}={}){return fe(e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1))}function fe(e){return[...new Set(e)]}function pe(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function me(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&!ce(i)&&i.as===`script`&&i.href&&r.has(i.href))return e;let a=JSON.stringify(pe(i));return n.has(a)||(n.add(a),e.push({key:a,link:i})),e},[])}function he(){let e=M.useContext(x);return W(e,`You must render this element inside a <DataRouterContext.Provider> element`),e}function ge(){let e=M.useContext(_);return W(e,`You must render this element inside a <DataRouterStateContext.Provider> element`),e}var J=M.createContext(void 0);J.displayName=`FrameworkContext`;function Y(){let e=M.useContext(J);return W(e,`You must render this element inside a <HydratedRouter> element`),e}function X(e,t){let n=M.useContext(J),[r,i]=M.useState(!1),[a,o]=M.useState(!1),{onFocus:s,onBlur:c,onMouseEnter:l,onMouseLeave:u,onTouchStart:d}=t,f=M.useRef(null);M.useEffect(()=>{if(e===`render`&&o(!0),e===`viewport`){let e=new IntersectionObserver(e=>{e.forEach(e=>{o(e.isIntersecting)})},{threshold:.5});return f.current&&e.observe(f.current),()=>{e.disconnect()}}},[e]),M.useEffect(()=>{if(r){let e=setTimeout(()=>{o(!0)},100);return()=>{clearTimeout(e)}}},[r]);let p=()=>{i(!0)},m=()=>{i(!1),o(!1)};return n?e===`intent`?[a,f,{onFocus:Z(s,p),onBlur:Z(c,m),onMouseEnter:Z(l,p),onMouseLeave:Z(u,m),onTouchStart:Z(d,p)}]:[a,f,{}]:[!1,f,{}]}function Z(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function _e({page:e,...t}){let n=f(),{nonce:r}=Y(),{router:i}=he(),a=M.useMemo(()=>O(i.routes,e,i.basename),[i.routes,e,i.basename]);return a?(t.nonce==null&&r&&(t={...t,nonce:r}),n?M.createElement(ye,{page:e,matches:a,...t}):M.createElement(be,{page:e,matches:a,...t})):null}function ve(e){let{manifest:t,routeModules:n}=Y(),[r,i]=M.useState([]);return M.useEffect(()=>{let r=!1;return ue(e,t,n).then(e=>{r||i(e)}),()=>{r=!0}},[e,t,n]),r}function ye({page:e,matches:t,...n}){let r=w(),i=M.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let n=G(e,`rsc`),i=!1,a=[];for(let e of t)typeof e.route.shouldRevalidate==`function`?i=!0:a.push(e.route.id);return i&&a.length>0&&n.searchParams.set(`_routes`,a.join(`,`)),[n.pathname+n.search]},[e,r,t]);return M.createElement(M.Fragment,null,i.map(e=>M.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})))}function be({page:e,matches:t,...n}){let r=w(),{manifest:i,routeModules:a}=Y(),{loaderData:o,matches:s}=ge(),c=M.useMemo(()=>q(e,t,s,i,r,`data`),[e,t,s,i,r]),l=M.useMemo(()=>q(e,t,s,i,r,`assets`),[e,t,s,i,r]),u=M.useMemo(()=>
1{if(e===r.pathname+r.search+r.hash)return[];let n=new Set,s=!1;if(t.forEach(e=>{let t=i.routes[e.route.id];!t||!t.hasLoader||(!c.some(t=>t.route.id===e.route.id)&&e.route.id in o&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?s=!0:n.add(e.route.id))}),n.size===0)return[];let l=G(e,`data`);return s&&n.size>0&&l.searchParams.set(`_routes`,t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(`,`)),[l.pathname+l.search]},[o,r,i,c,t,e,a]),d=M.useMemo(()=>de(l,i),[l,i]),f=ve(l);return M.createElement(M.Fragment,null,u.map(e=>M.createElement(`link`,{key:e,rel:`prefetch`,as:`fetch`,href:e,...n})),d.map(e=>M.createElement(`link`,{key:e,rel:`modulepreload`,href:e,...n})),f.map(({key:e,link:t})=>M.createElement(`link`,{key:e,nonce:n.nonce,...t,crossOrigin:t.crossOrigin??n.crossOrigin})))}function xe(...e){return t=>{e.forEach(e=>{typeof e==`function`?e(t):e!=null&&(e.current=t)})}}var Se=typeof window<`u`&&window.document!==void 0&&window.document.createElement!==void 0;try{Se&&(window.__reactRouterVersion=`8.3.0`)}catch{}function Ce({basename:e,children:t,useTransitions:n,window:r}){let i=M.useRef(null);i.current??=c({window:r,v5Compat:!0});let a=i.current,[o,s]=M.useState({action:a.action,location:a.location}),l=M.useCallback(e=>{n===!1?s(e):M.startTransition(()=>s(e))},[n]);return M.useLayoutEffect(()=>a.listen(l),[a,l]),M.createElement(L,{basename:e,children:t,location:o.location,navigationType:o.action,navigator:a,useTransitions:n})}var Q=M.forwardRef(function({onClick:e,discover:t=`render`,prefetch:n=`none`,relative:r,reloadDocument:i,replace:o,mask:c,state:f,target:p,to:m,preventScrollReset:h,viewTransition:g,defaultShouldRevalidate:_,...v},y){let{basename:b,navigator:x,useTransitions:S}=M.useContext(d),C=typeof m==`string`&&s.test(m),E=u(m,b);m=E.to;let D=T(m,{relative:r}),O=w(),k=null;if(c){let e=a(c,[],O.mask?O.mask.pathname:`/`,!0);b!==`/`&&(e.pathname=e.pathname===`/`?b:l([b,e.pathname])),k=x.createHref(e)}let[A,j,N]=X(n,v),P=De(m,{replace:o,mask:c,state:f,target:p,preventScrollReset:h,relative:r,viewTransition:g,defaultShouldRevalidate:_,useTransitions:S});function F(t){e&&e(t),t.defaultPrevented||P(t)}let I=!(E.isExternal||i),L=M.createElement(`a`,{...v,...N,href:(I?k:void 0)||E.absoluteURL||D,onClick:I?F:e,ref:xe(y,j),target:p,"data-discover":!C&&t===`render`?`true`:void 0});return A&&!C?M.createElement(M.Fragment,null,L,M.createElement(_e,{page:D})):L});Q.displayName=`Link`;var we=M.forwardRef(function({"aria-current":e=`page`,caseSensitive:t=!1,className:n=``,end:r=!1,style:a,to:o,viewTransition:s,children:c,...l},u){let f=b(o,{relative:l.relative}),p=w(),m=M.useContext(_),{navigator:h,basename:g}=M.useContext(d),v=m!=null&&Me(f)&&s===!0,y=h.encodeLocation?h.encodeLocation(f).pathname:f.pathname,x=p.pathname,S=m&&m.navigation&&m.navigation.location?m.navigation.location.pathname:null;t||(x=x.toLowerCase(),S=S?S.toLowerCase():null,y=y.toLowerCase()),S&&g&&(S=i(S,g)||S);let C=y!==`/`&&y.endsWith(`/`)?y.length-1:y.length,T=x===y||!r&&x.startsWith(y)&&x.charAt(C)===`/`,E=S!=null&&(S===y||!r&&S.startsWith(y)&&S.charAt(C)===`/`),D={isActive:T,isPending:E,isTransitioning:v},O=T?e:void 0,k;k=typeof n==`function`?n(D):[n,T?`active`:null,E?`pending`:null,v?`transitioning`:null].filter(Boolean).join(` `);let A=typeof a==`function`?a(D):a;return M.createElement(Q,{...l,"aria-current":O,className:k,ref:u,style:A,to:o,viewTransition:s},typeof c==`function`?c(D):c)});we.displayName=`NavLink`;var Te=M.forwardRef(({discover:e=`render`,fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:a,method:o=`get`,action:c,onSubmit:l,relative:u,preventScrollReset:f,viewTransition:p,defaultShouldRevalidate:m,...h},g)=>{let{useTransitions:_}=M.useContext(d),v=Ae(),y=je(c,{relative:u}),b=o.toLowerCase()===`get`?`get`:`post`,x=typeof c==`string`&&s.test(c);return M.createElement(`form`,{ref:g,method:b,action:y,onSubmit:r?l:e=>{if(l&&l(e),e.defaultPrevented)return;e.preventDefault();let r=e.nativeEvent.submitter,s=r?.getAttribute(`formmethod`)||o,c=()=>v(r||e.currentTarget,{fetcherKey:t,method:s,navigate:n,replace:i,state:a,relative:u,preventScrollReset:f,viewTransition:p,defaultShouldRevalidate:m});_&&n!==!1?M.startTransition(()=>c()):c()},...h,"data-discover":!x&&e===`render`?`true`:void 0})});Te.displayName=`Form`;function Ee(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function $(e){let t=M.useContext(x);return n(t,Ee(e)),t}function De(e,{target:t,replace:n,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c,useTransitions:l}={}){let u=C(),d=w(),f=b(e,{relative:o});return M.useCallback(p=>{if(ae(p,t)){p.preventDefault();let t=n===void 0?y(d)===y(f):n,m=()=>u(e,{replace:t,mask:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,defaultShouldRevalidate:c});l?M.startTransition(()=>m()):m()}},[d,u,f,n,r,i,t,e,a,o,s,c,l])}var Oe=0,ke=()=>`__${String(++Oe)}__`;function Ae(){let{router:e}
1=$(`useSubmit`),{basename:t}=M.useContext(d),n=E(),r=e.fetch,i=e.navigate;return M.useCallback(async(e,a={})=>{let{action:o,method:s,encType:c,formData:l,body:u}=se(e,t);a.navigate===!1?await r(a.fetcherKey||ke(),n,a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,flushSync:a.flushSync}):await i(a.action||o,{defaultShouldRevalidate:a.defaultShouldRevalidate,preventScrollReset:a.preventScrollReset,formData:l,body:u,formMethod:a.method||s,formEncType:a.encType||c,replace:a.replace,state:a.state,fromRouteId:n,flushSync:a.flushSync,viewTransition:a.viewTransition})},[r,i,t,n])}function je(e,{relative:t}={}){let{basename:r}=M.useContext(d),i=M.useContext(D);n(i,`useFormAction must be used inside a RouteContext`);let[a]=i.matches.slice(-1),o={...b(e||`.`,{relative:t})},s=w();if(e==null){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll(`index`);if(t.some(e=>e===``)){e.delete(`index`),t.filter(e=>e).forEach(t=>e.append(`index`,t));let n=e.toString();o.search=n?`?${n}`:``}}return(!e||e===`.`)&&a.route.index&&(o.search=o.search?o.search.replace(/^\?/,`?index&`):`?index`),r!==`/`&&(o.pathname=o.pathname===`/`?r:l([r,o.pathname])),y(o)}function Me(e,{relative:t}={}){let a=M.useContext(A);n(a!=null,"`useViewTransitionState` must be used within `react-router/dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=$(`useViewTransitionState`),s=b(e,{relative:t});if(!a.isTransitioning)return!1;let c=i(a.currentLocation.pathname,o)||a.currentLocation.pathname,l=i(a.nextLocation.pathname,o)||a.nextLocation.pathname;return r(s.pathname,l)!=null||r(s.pathname,c)!=null}export{I as a,F as i,Q as n,ee as o,P as r,Ce as t};
2//# sourceMappingURL=lib-TqE5FH20.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.