PageSourceSearch

https://app.telemined.ai/_next/static/chunks/e4c92e27e0a15676.js

js telemined.ai collected 2026-10-05 14:45:24 UTC 20,007 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,57076,e=>{"use strict";e.s(["zodResolver",()=>c],57076);var t=e.i(41648);let r=(e,r,n)=>{if(e&&"reportValidity"in e){let i=(0,t.get)(n,r);e.setCustomValidity(i&&i.message||""),e.reportValidity()}},n=(e,t)=>{for(let n in t.fields){let i=t.fields[n];i&&i.ref&&"reportValidity"in i.ref?r(i.ref,n,e):i&&i.refs&&i.refs.forEach(t=>r(t,n,e))}},i=(e,r)=>{r.shouldUseNativeValidation&&n(e,r);let i={};for(let n in e){let s=(0,t.get)(r.fields,n),l=Object.assign(e[n]||{},{ref:s&&s.ref});if(o(r.names||Object.keys(e),n)){let e=Object.assign({},(0,t.get)(i,n));(0,t.set)(e,"root",l),(0,t.set)(i,n,e)}else(0,t.set)(i,n,l)}return i},o=(e,t)=>{let r=s(t);return e.some(e=>s(e).match("^".concat(r,"\\.\\d+")))};function s(e){return e.replace(/\]|\[/g,"")}var l=e.i(81852),u=e.i(17447);function a(e,t){try{var r=e()}catch(e){return t(e)}return r&&r.then?r.then(void 0,t):r}function c(e,r,o){if(void 0===o&&(o={}),"_def"in e&&"object"==typeof e._def&&"typeName"in e._def)return function(s,l,u){try{return Promise.resolve(a(function(){return Promise.resolve(e["sync"===o.mode?"parse":"parseAsync"](s,r)).then(function(e){return u.shouldUseNativeValidation&&n({},u),{errors:{},values:o.raw?Object.assign({},s):e}})},function(e){if(Array.isArray(null==e?void 0:e.issues))return{values:{},errors:i(function(e,r){for(var n={};e.length;){var i=e[0],o=i.code,s=i.message,l=i.path.join(".");if(!n[l])if("unionErrors"in i){var u=i.unionErrors[0].errors[0];n[l]={message:u.message,type:u.code}}else n[l]={message:s,type:o};if("unionErrors"in i&&i.unionErrors.forEach(function(t){return t.errors.forEach(function(t){return e.push(t)})}),r){var a=n[l].types,c=a&&a[i.code];n[l]=(0,t.appendErrors)(l,r,n,o,c?[].concat(c,i.message):i.message)}e.shift()}return n}(e.errors,!u.shouldUseNativeValidation&&"all"===u.criteriaMode),u)};throw e}))}catch(e){return Promise.reject(e)}};if("_zod"in e&&"object"==typeof e._zod)return function(s,c,f){try{return Promise.resolve(a(function(){return Promise.resolve(("sync"===o.mode?u.parse:u.parseAsync)(e,s,r)).then(function(e){return f.shouldUseNativeValidation&&n({},f),{errors:{},values:o.raw?Object.assign({},s):e}})},function(e){if(e instanceof l.$ZodError)return{values:{},errors:i(function(e,r){for(var n={};e.length;){var i=e[0],o=i.code,s=i.message,l=i.path.join(".");if(!n[l])if("invalid_union"===i.code&&i.errors.length>0){var u=i.errors[0][0];n[l]={message:u.message,type:u.code}}else n[l]={message:s,type:o};if("invalid_union"===i.code&&i.errors.forEach(function(t){return t.forEach(function(t){return e.push(t)})}),r){var a=n[l].types,c=a&&a[i.code];n[l]=(0,t.appendErrors)(l,r,n,o,c?[].concat(c,i.message):i.message)}e.shift()}return n}(e.issues,!f.shouldUseNativeValidation&&"all"===f.criteriaMode),f)};throw e}))}catch(e){return Promise.reject(e)}};throw Error("Invalid input: not a Zod schema")}},70450,e=>{"use strict";e.s(["Item",()=>O,"Root",()=>M,"createRovingFocusGroupScope",()=>w]);var t=e.i(5765),r=e.i(91967),n=e.i(1082),i=e.i(2183),o=e.i(12028),s=e.i(24186),l=e.i(94254),u=e.i(49592),a=e.i(19433),c=e.i(52426),f=e.i(68410),d="rovingFocusGroup.onEntryFocus",p={bubbles:!1,cancelable:!0},h="RovingFocusGroup",[v,m,g]=(0,n.createCollection)(h),[y,w]=(0,o.createContextScope)(h,[g]),[b,x]=y(h),E=t.forwardRef((e,t)=>(0,f.jsx)(v.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(v.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(R,{...e,ref:t})})}));E.displayName=h;var R=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:o,orientation:s,loop:v=!1,dir:g,currentTabStopId:y,defaultCurrentTabStopId:w,onCurrentTabStopIdChange:x,onEntryFocus:E,preventScrollOnEntryFocus:R=!1,...A}=e,N=t.useRef(null),C=(0,i.useComposedRefs)(n,N),M=(0,c.useDirection)(g),[O,T]=(0,a.useControllableState)({prop:y,defaultProp:null!=w?w:null,onChange:x,caller:h}),[I,j]=t.useState(!1),P=(0,u.useCallbackRef)(E),k=m(o),D=t.useRef(!1),[_,F]=t.useState(0);return t.useEffect(()=>{let e=N.current;if(e)return e.addEventListener(d,P),()=>e.removeEventListener(d,P)},[P]),(0,f.jsx)(b,{scope:o,orientation:s,dir:M,loop:v,currentTabStopId:O,onItemFocus:t.useCallback(e=>T(e),[T]),onItemShiftTab:t.useCallback(()=>j(!0),[]),onFocusableItemAdd:t.useCallback(()=>F(e=>e+1),[]),onFocusableItemRemove:t.useCallback(()=>F(e=>e-1),[]),children:(0,f.jsx)(l.Primitive.div,{tabIndex:I||0===_?-1:0,"data-orientation":s,...A,ref:C,style:{outline:"none",...e.style},onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,()=>{D.current=!0}),onFocus:(0,r.composeEventHandlers)(e.onFocus,e=>{let t=!D.current;if(e.target===e.currentTarget&&t&&!I){let t=new CustomEvent(d,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>
1e.focusable);S([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),R)}}D.current=!1}),onBlur:(0,r.composeEventHandlers)(e.onBlur,()=>j(!1))})})}),A="RovingFocusGroupItem",N=t.forwardRef((e,n)=>{let{__scopeRovingFocusGroup:i,focusable:o=!0,active:u=!1,tabStopId:a,children:c,...d}=e,p=(0,s.useId)(),h=a||p,g=x(A,i),y=g.currentTabStopId===h,w=m(i),{onFocusableItemAdd:b,onFocusableItemRemove:E,currentTabStopId:R}=g;return t.useEffect(()=>{if(o)return b(),()=>E()},[o,b,E]),(0,f.jsx)(v.ItemSlot,{scope:i,id:h,focusable:o,active:u,children:(0,f.jsx)(l.Primitive.span,{tabIndex:y?0:-1,"data-orientation":g.orientation,...d,ref:n,onMouseDown:(0,r.composeEventHandlers)(e.onMouseDown,e=>{o?g.onItemFocus(h):e.preventDefault()}),onFocus:(0,r.composeEventHandlers)(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:(0,r.composeEventHandlers)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey)return void g.onItemShiftTab();if(e.target!==e.currentTarget)return;let t=function(e,t,r){var n;let i=(n=e.key,"rtl"!==r?n:"ArrowLeft"===n?"ArrowRight":"ArrowRight"===n?"ArrowLeft":n);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(i))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(i)))return C[i]}(e,g.orientation,g.dir);if(void 0!==t){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let r=w().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)r.reverse();else if("prev"===t||"next"===t){"prev"===t&&r.reverse();let n=r.indexOf(e.currentTarget);r=g.loop?function(e,t){return e.map((r,n)=>e[(t+n)%e.length])}(r,n+1):r.slice(n+1)}setTimeout(()=>S(r))}}),children:"function"==typeof c?c({isCurrentTabStop:y,hasTabStop:null!=R}):c})})});N.displayName=A;var C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function S(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=document.activeElement;for(let n of e)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}var M=E,O=N},1082,52426,e=>{"use strict";function t(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function r(e,r){var n=t(e,r,"get");return n.get?n.get.call(e):n.value}function n(e,r,n){var i=t(e,r,"set");if(i.set)i.set.call(e,n);else{if(!i.writable)throw TypeError("attempted to set read only private field");i.value=n}return n}e.s(["createCollection",()=>c],1082);var i,o=e.i(5765),s=e.i(12028),l=e.i(2183),u=e.i(81808),a=e.i(68410);function c(e){let t=e+"CollectionProvider",[r,n]=(0,s.createContextScope)(t),[i,c]=r(t,{collectionRef:{current:null},itemMap:new Map}),f=e=>{let{scope:t,children:r}=e,n=o.default.useRef(null),s=o.default.useRef(new Map).current;return(0,a.jsx)(i,{scope:t,itemMap:s,collectionRef:n,children:r})};f.displayName=t;let d=e+"CollectionSlot",p=(0,u.createSlot)(d),h=o.default.forwardRef((e,t)=>{let{scope:r,children:n}=e,i=c(d,r),o=(0,l.useComposedRefs)(t,i.collectionRef);return(0,a.jsx)(p,{ref:o,children:n})});h.displayName=d;let v=e+"CollectionItemSlot",m="data-radix-collection-item",g=(0,u.createSlot)(v),y=o.default.forwardRef((e,t)=>{let{scope:r,children:n,...i}=e,s=o.default.useRef(null),u=(0,l.useComposedRefs)(t,s),f=c(v,r);return o.default.useEffect(()=>(f.itemMap.set(s,{ref:s,...i}),()=>void f.itemMap.delete(s))),(0,a.jsx)(g,{...{[m]:""},ref:u,children:n})});return y.displayName=v,[{Provider:f,Slot:h,ItemSlot:y},function(t){let r=c(e+"CollectionConsumer",t);return o.default.useCallback(()=>{let e=r.collectionRef.current;if(!e)return[];let t=Array.from(e.querySelectorAll("[".concat(m,"]")));return Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current))},[r.collectionRef,r.itemMap])},n]}var f=new WeakMap;function d(e,t){if("at"in Array.prototype)return Array.prototype.at.call(e,t);let r=function(e,t){let r=e.length,n=p(t),i=n>=0?n:r+n;return i<0||i>=r?-1:i}(e,t);return -1===r?void 0:e[r]}function p(e){return e!=e||0===e?0:Math.trunc(e)}i=new WeakMap,(class e extends Map{set(e,t){return f.get(this)&&(this.has(e)?r(this,i)[r(this,i).indexOf(e)]=e:r(this,i).push(e)),super.set(e,t),this}insert(e,t,n){let o,s=this.has(t),l=r(this,i).length,u=p(e),a=u>=0?u:l+u,c=a<0||a>=l?-1:a;if(c===this.size||s&&c===this.size-1||-1===c)return this.set(t,n),this;let f=this.size+ +!s;u<0&&a++;let d=[...r(this,i)],h=!1;for(let e=a;
1e<f;e++)if(a===e){let r=d[e];d[e]===t&&(r=d[e+1]),s&&this.delete(t),o=this.get(r),this.set(t,n)}else{h||d[e-1]!==t||(h=!0);let r=d[h?e:e-1],n=o;o=this.get(r),this.delete(r),this.set(r,n)}return this}with(t,r,n){let i=new e(this);return i.insert(t,r,n),i}before(e){let t=r(this,i).indexOf(e)-1;if(!(t<0))return this.entryAt(t)}setBefore(e,t,n){let o=r(this,i).indexOf(e);return -1===o?this:this.insert(o,t,n)}after(e){let t=r(this,i).indexOf(e);if(-1!==(t=-1===t||t===this.size-1?-1:t+1))return this.entryAt(t)}setAfter(e,t,n){let o=r(this,i).indexOf(e);return -1===o?this:this.insert(o+1,t,n)}first(){return this.entryAt(0)}last(){return this.entryAt(-1)}clear(){return n(this,i,[]),super.clear()}delete(e){let t=super.delete(e);return t&&r(this,i).splice(r(this,i).indexOf(e),1),t}deleteAt(e){let t=this.keyAt(e);return void 0!==t&&this.delete(t)}at(e){let t=d(r(this,i),e);if(void 0!==t)return this.get(t)}entryAt(e){let t=d(r(this,i),e);if(void 0!==t)return[t,this.get(t)]}indexOf(e){return r(this,i).indexOf(e)}keyAt(e){return d(r(this,i),e)}from(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.at(n)}keyFrom(e,t){let r=this.indexOf(e);if(-1===r)return;let n=r+t;return n<0&&(n=0),n>=this.size&&(n=this.size-1),this.keyAt(n)}find(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return n;r++}}findIndex(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return r;r++}return -1}filter(t,r){let n=[],i=0;for(let e of this)Reflect.apply(t,r,[e,i,this])&&n.push(e),i++;return new e(n)}map(t,r){let n=[],i=0;for(let e of this)n.push([e[0],Reflect.apply(t,r,[e,i,this])]),i++;return new e(n)}reduce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=0,s=null!=i?i:this.at(0);for(let e of this)s=0===o&&1===t.length?e:Reflect.apply(n,this,[s,e,o,this]),o++;return s}reduceRight(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let[n,i]=t,o=null!=i?i:this.at(-1);for(let e=this.size-1;e>=0;e--){let r=this.at(e);o=e===this.size-1&&1===t.length?r:Reflect.apply(n,this,[o,r,e,this])}return o}toSorted(t){return new e([...this.entries()].sort(t))}toReversed(){let t=new e;for(let e=this.size-1;e>=0;e--){let r=this.keyAt(e),n=this.get(r);t.set(r,n)}return t}toSpliced(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=[...this.entries()];return i.splice(...r),new e(i)}slice(t,r){let n=new e,i=this.size-1;if(void 0===t)return n;t<0&&(t+=this.size),void 0!==r&&r>0&&(i=r-1);for(let e=t;e<=i;e++){let t=this.keyAt(e),r=this.get(t);n.set(t,r)}return n}every(e,t){let r=0;for(let n of this){if(!Reflect.apply(e,t,[n,r,this]))return!1;r++}return!0}some(e,t){let r=0;for(let n of this){if(Reflect.apply(e,t,[n,r,this]))return!0;r++}return!1}constructor(e){super(e),function(e,t,r){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object");t.set(e,r)}(this,i,{writable:!0,value:void 0}),n(this,i,[...super.keys()]),f.set(this,!0)}}),e.s(["useDirection",()=>v],52426);var h=o.createContext(void 0);function v(e){let t=o.useContext(h);return e||t||"ltr"}},23750,e=>{"use strict";e.s(["Input",()=>n]);var t=e.i(68410),r=e.i(47163);function n(e){let{className:n,type:i,...o}=e;return(0,t.jsx)("input",{type:i,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",n),...o})}},20893,e=>{"use strict";e.s(["Label",()=>i,"Root",()=>o]);var t=e.i(5765),r=e.i(94254),n=e.i(68410),i=t.forwardRef((e,t)=>
1(0,n.jsx)(r.Primitive.label,{...e,ref:t,onMouseDown:t=>{var r;t.target.closest("button, input, select, textarea")||(null==(r=e.onMouseDown)||r.call(e,t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));i.displayName="Label";var o=i},10708,e=>{"use strict";e.s(["Label",()=>i]);var t=e.i(68410),r=e.i(20893),n=e.i(47163);function i(e){let{className:i,...o}=e;return(0,t.jsx)(r.Root,{"data-slot":"label",className:(0,n.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",i),...o})}},5213,e=>{"use strict";e.s(["default",()=>t]);let t=(0,e.i(86981).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},91967,e=>{"use strict";function t(e,t){let{checkForDefaultPrevented:r=!0}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(n){if(null==e||e(n),!1===r||!n.defaultPrevented)return null==t?void 0:t(n)}}e.s(["composeEventHandlers",()=>t]),"undefined"!=typeof window&&window.document&&window.document.createElement},12028,e=>{"use strict";e.s(["createContext",()=>n,"createContextScope",()=>i]);var t=e.i(5765),r=e.i(68410);function n(e,n){let i=t.createContext(n),o=e=>{let{children:n,...o}=e,s=t.useMemo(()=>o,Object.values(o));return(0,r.jsx)(i.Provider,{value:s,children:n})};return o.displayName=e+"Provider",[o,function(r){let o=t.useContext(i);if(o)return o;if(void 0!==n)return n;throw Error("`".concat(r,"` must be used within `").concat(e,"`"))}]}function i(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=[],o=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=(null==n?void 0:n[e])||r;return t.useMemo(()=>({["__scope".concat(e)]:{...n,[e]:i}}),[n,i])}};return o.scopeName=e,[function(n,o){let s=t.createContext(o),l=i.length;i=[...i,o];let u=n=>{var i;let{scope:o,children:u,...a}=n,c=(null==o||null==(i=o[e])?void 0:i[l])||s,f=t.useMemo(()=>a,Object.values(a));return(0,r.jsx)(c.Provider,{value:f,children:u})};return u.displayName=n+"Provider",[u,function(r,i){var u;let a=(null==i||null==(u=i[e])?void 0:u[l])||s,c=t.useContext(a);if(c)return c;if(void 0!==o)return o;throw Error("`".concat(r,"` must be used within `").concat(n,"`"))}]},function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let i=r[0];if(1===r.length)return i;let o=()=>{let e=r.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(r){let n=e.reduce((e,t)=>{let{useScope:n,scopeName:i}=t,o=n(r)["__scope".concat(i)];return{...e,...o}},{});return t.useMemo(()=>({["__scope".concat(i.scopeName)]:n}),[n])}};return o.scopeName=i.scopeName,o}(o,...n)]}},14272,e=>{"use strict";e.s(["useLayoutEffect",()=>n]);var t,r=e.i(5765),n=(null==(t=globalThis)?void 0:t.document)?r.useLayoutEffect:()=>{}},24186,e=>{"use strict";e.s(["useId",()=>o]);var t=e.i(5765),r=e.i(14272),n=t[" useId ".trim().toString()]||(()=>void 0),i=0;function o(e){let[o,s]=t.useState(n());return(0,r.useLayoutEffect)(()=>{e||s(e=>null!=e?e:String(i++))},[e]),e||(o?"radix-".concat(o):"")}},49592,e=>{"use strict";e.s(["useCallbackRef",()=>r]);var t=e.i(5765);function r(e){let r=t.useRef(e);return t.useEffect(()=>{r.current=e}),t.useMemo(()=>function(){for(var e,t=arguments.length,n=Array(t),i=0;i<t;i++)n[i]=arguments[i];return null==(e=r.current)?void 0:e.call(r,...n)},[])}},19433,e=>{"use strict";e.s(["useControllableState",()=>i],19433);var t=e.i(5765),r=e.i(14272);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function i(e){let{prop:r,defaultProp:i,onChange:o=()=>{},caller:s}=e,[l,u,a]=function(e){let{defaultProp:r,onChange:i}=e,[o,s]=t.useState(r),l=t.useRef(o),u=t.useRef(i);return n(()=>{u.current=i},[i]),t.useEffect(()=>{if(l.current!==o){var e;null==(e=u.current)||e.call(u,o),l.current=o}},[o,l]),[o,s,u]}({defaultProp:i,onChange:o}),c=void 0!==r,f=c?r:l;{let e=t.useRef(void 0!==r);t.useEffect(()=>{let t=e.current;if(t!==c){let e=c?"controlled":"uncontrolled";console.warn("".concat(s," is changing from ").concat(t?"controlled":"uncontrolled"," to ").concat(e,". Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component."))}e.current=c},[c,s])}return[f,t.useCallback(e=>{if(c){let n="function"==typeof e?e(r):e;if(n!==r){var t;null==(t=a.current)||t.call(a,n)}}else u(e)},[c,r,u,a])]}Symbol("RADIX:SYNC_STATE")},38925,e=>{"use strict";e.s(["Presence",()=>i]);var t=e.i(5765),r=e.i(2183),n=e.i(14272),i=e=>{let{present:i,children:s}=e,l=function(e){var r,i;let[s,l]=t.useState(),u=t.useRef(null),a=t.useRef(e),c=t.useRef("none"),[f,d]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>
1{let r=i[e][t];return null!=r?r:e},r));return t.useEffect(()=>{let e=o(u.current);c.current="mounted"===f?e:"none"},[f]),(0,n.useLayoutEffect)(()=>{let t=u.current,r=a.current;if(r!==e){let n=c.current,i=o(t);e?d("MOUNT"):"none"===i||(null==t?void 0:t.display)==="none"?d("UNMOUNT"):r&&n!==i?d("ANIMATION_OUT"):d("UNMOUNT"),a.current=e}},[e,d]),(0,n.useLayoutEffect)(()=>{if(s){var e;let t,r=null!=(e=s.ownerDocument.defaultView)?e:window,n=e=>{let n=o(u.current).includes(CSS.escape(e.animationName));if(e.target===s&&n&&(d("ANIMATION_END"),!a.current)){let e=s.style.animationFillMode;s.style.animationFillMode="forwards",t=r.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=e)})}},i=e=>{e.target===s&&(c.current=o(u.current))};return s.addEventListener("animationstart",i),s.addEventListener("animationcancel",n),s.addEventListener("animationend",n),()=>{r.clearTimeout(t),s.removeEventListener("animationstart",i),s.removeEventListener("animationcancel",n),s.removeEventListener("animationend",n)}}d("ANIMATION_END")},[s,d]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{u.current=e?getComputedStyle(e):null,l(e)},[])}}(i),u="function"==typeof s?s({present:l.isPresent}):t.Children.only(s),a=(0,r.useComposedRefs)(l.ref,function(e){var t,r;let n=null==(t=Object.getOwnPropertyDescriptor(e.props,"ref"))?void 0:t.get,i=n&&"isReactWarning"in n&&n.isReactWarning;return i?e.ref:(i=(n=null==(r=Object.getOwnPropertyDescriptor(e,"ref"))?void 0:r.get)&&"isReactWarning"in n&&n.isReactWarning)?e.props.ref:e.props.ref||e.ref}(u));return"function"==typeof s||l.isPresent?t.cloneElement(u,{ref:a}):null};function o(e){return(null==e?void 0:e.animationName)||"none"}i.displayName="Presence"}]);

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.