PageSourceSearch

https://soundryhealth.com/assets/stateAttributesMapping-CSxCs_dV.js

js soundryhealth.com collected 2026-10-07 06:47:28 UTC 6,358 bytes, 1 lines download raw bytes

1import{t as T,r as u,h as C}from"./main-Culg7Cil.js";import{u as E,E as O}from"./useRenderElement-B6BBoDQC.js";const b=T[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],_=b&&b!==u.useLayoutEffect?b:t=>t();function L(t){const e=E($).current;return e.next=t,_(e.effect),e.trampoline}function $(){const t={next:void 0,callback:B,trampoline:(...e)=>t.callback?.(...e),effect:()=>{t.callback=t.next}};return t}function B(){}const H=()=>{},g=typeof document<"u"?u.useLayoutEffect:H,K={...T};let k=0;function W(t,e="mui"){const[n,r]=u.useState(t),s=t||n;return u.useEffect(()=>{n==null&&(k+=1,r(`${e}-${k}`))},[n,e]),s}const I=K.useId;function Y(t,e){if(I!==void 0){const n=I();return t??(e?`${e}-${n}`:n)}return W(t,e)}function lt(t){return Y(t,"base-ui")}function p(){return typeof window<"u"}function y(t){return D(t)?(t.nodeName||"").toLowerCase():"#document"}function f(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function G(t){var e;return(e=(D(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function D(t){return p()?t instanceof Node||t instanceof f(t).Node:!1}function v(t){return p()?t instanceof Element||t instanceof f(t).Element:!1}function M(t){return p()?t instanceof HTMLElement||t instanceof f(t).HTMLElement:!1}function A(t){return!p()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof f(t).ShadowRoot}function P(t){const{overflow:e,overflowX:n,overflowY:r,display:s}=q(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&s!=="inline"&&s!=="contents"}function ft(t){return/^(table|td|th)$/.test(y(t))}function V(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const U=/transform|translate|scale|rotate|perspective|filter/,j=/paint|layout|strict|content/,l=t=>!!t&&t!=="none";let w;function J(t){const e=v(t)?q(t):t;return l(e.transform)||l(e.translate)||l(e.scale)||l(e.rotate)||l(e.perspective)||!X()&&(l(e.backdropFilter)||l(e.filter))||U.test(e.willChange||"")||j.test(e.contain||"")}function dt(t){let e=S(t);for(;M(e)&&!R(e);){if(J(e))return e;if(V(e))return null;e=S(e)}return null}function X(){return w==null&&(w=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),w}function R(t){return/^(html|body|#document)$/.test(y(t))}function q(t){return f(t).getComputedStyle(t)}function ht(t){return v(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function S(t){if(y(t)==="html")return t;const e=t.assignedSlot||t.parentNode||A(t)&&t.host||G(t);return A(e)?e.host:e}function x(t){const e=S(t);return R(e)?t.ownerDocument?t.ownerDocument.body:t.body:M(e)&&P(e)?e:x(e)}function N(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const s=x(t),o=s===((r=t.ownerDocument)==null?void 0:r.body),c=f(s);if(o){const i=z(c);return e.concat(c,c.visualViewport||[],P(s)?s:[],i&&n?N(i):[])}else return e.concat(s,N(s,[],n))}function z(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}const mt="none",gt="trigger-press",pt="trigger-hover",bt="trigger-focus",wt="outside-press",St="escape-key",Et="disabled",yt="imperative-action";function Ct(t,e,n,r){let s=!1,o=!1;const c=O;return{reason:t,event:e??new Event("base-ui"),cancel(){s=!0},allowPropagation(){o=!0},get isCanceled(){return s},get isPropagationAllowed(){return o},trigger:n,...c}}function Q(t){const e=E(Z,t).current;return e.next=t,g(e.effect),e}function Z(t){const e={current:t,next:t,effect:()=>{e.current=e.next}};return e}const tt=[];function et(t){u.useEffect(t,tt)}const h=null;class nt{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;const n=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let s=0;s<n.length;s+=1)n[s]?.(e)};request(e){const n=this.nextId;return this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1,!this.isScheduled&&(requestAnimationFrame(this.tick),this.isScheduled=!0),n}cancel(e){const n=e-this.startId;n<0||n>=this.callbacks.length||(this.callbacks[n]=null,this.callbacksCount-=1)}}const m=new nt;class a{static create(){return new a}static request(e){return m.request(e)}static cancel(e){return m.cancel(e)}currentId=h;request(e){this.cancel(),this.currentId=m.request(()=>{this.currentId=h,e()})}cancel=()=>{this.currentId!==h&&(m.cancel(this.currentId),this.currentId=h)};disposeEffect=()=>this.cancel}function st(){const t=E(a.create).current;return et(t.disposeEffect),t}function rt(t){return t==null?t:"current"in t?t.current:t}function ot(t,e=!1,n=!0){const r=st();return L((s,o=null)=>{r.cancel();const c=rt(t);c!=null&&(typeof c.getAnimations!="function"||globalThis.BASE_UI_ANIMATIONS_DISABLED?s():r.request(()=>{function i(){c&&Promise.all(c.getAnimations().map(d=>d.finished)).then(()=>{o!=null&&o.aborted||C.flushSync(s)}).catch(()=>
1{if(n){if(o!=null&&o.aborted)return;C.flushSync(s)}else c.getAnimations().length>0&&c.getAnimations().some(d=>d.pending||d.playState!=="finished")&&i()})}e?r.request(i):i()}))})}function kt(t){const{enabled:e=!0,open:n,ref:r,onComplete:s}=t,o=Q(n),c=L(s),i=ot(r,n);u.useEffect(()=>{e&&i(()=>{n===o.current&&c()})},[e,n,c,i,o])}function It(t,e=!1,n=!1){const[r,s]=u.useState(t&&e?"idle":void 0),[o,c]=u.useState(t);return t&&!o&&(c(!0),s("starting")),!t&&o&&r!=="ending"&&!n&&s("ending"),!t&&!o&&r==="ending"&&s(void 0),g(()=>{if(!t&&o&&r!=="ending"&&n){const i=a.request(()=>{s("ending")});return()=>{a.cancel(i)}}},[t,o,r,n]),g(()=>{if(!t||e)return;const i=a.request(()=>{s(void 0)});return()=>{a.cancel(i)}},[e,t]),g(()=>{if(!t||!e)return;t&&o&&r!=="idle"&&s("starting");const i=a.request(()=>{s("idle")});return()=>{a.cancel(i)}},[e,t,o,s,r]),u.useMemo(()=>({mounted:o,setMounted:c,transitionStatus:r}),[o,r])}let F=(function(t){return t.startingStyle="data-starting-style",t.endingStyle="data-ending-style",t})({});const ct={[F.startingStyle]:""},it={[F.endingStyle]:""},At={transitionStatus(t){return t==="starting"?ct:t==="ending"?it:null}};export{St as A,wt as B,It as C,kt as D,bt as E,pt as F,Q as G,yt as H,Et as I,lt as J,ot as K,st as L,At as M,F as T,M as a,g as b,Ct as c,Y as d,D as e,L as f,f as g,N as h,A as i,v as j,G as k,z as l,q as m,mt as n,X as o,V as p,S as q,R as r,ft as s,J as t,et as u,dt as v,y as w,P as x,ht as y,gt as z};

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.