(function(){const M=document.createElement("link").relList;if(M&&M.supports&&M.supports("modulepreload"))return;for(const _ of document.querySelectorAll('link[rel="modulepreload"]'))Q(_);new MutationObserver(_=>{for(const U of _)if(U.type==="childList")for(const q of U.addedNodes)q.tagName==="LINK"&&q.rel==="modulepreload"&&Q(q)}).observe(document,{childList:!0,subtree:!0});function x(_){const U={};return _.integrity&&(U.integrity=_.integrity),_.referrerPolicy&&(U.referrerPolicy=_.referrerPolicy),_.crossOrigin==="use-credentials"?U.credentials="include":_.crossOrigin==="anonymous"?U.credentials="omit":U.credentials="same-origin",U}function Q(_){if(_.ep)return;_.ep=!0;const U=x(_);fetch(_.href,U)}})();function Bu(w){return w&&w.__esModule&&Object.prototype.hasOwnProperty.call(w,"default")?w.default:w}var Ss={exports:{}},va={},Cs={exports:{}},W={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Sc;function Mu(){if(Sc)return W;Sc=1;var w=Symbol.for("react.element"),M=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),Q=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),q=Symbol.for("react.context"),X=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),me=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),z=Symbol.iterator;function R(u){return u===null||typeof u!="object"?null:(u=z&&u[z]||u["@@iterator"],typeof u=="function"?u:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ae=Object.assign,H={};function F(u,g,O){this.props=u,this.context=g,this.refs=H,this.updater=O||$}F.prototype.isReactComponent={},F.prototype.setState=function(u,g){if(typeof u!="object"&&typeof u!="function"&&u!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,u,g,"setState")},F.prototype.forceUpdate=function(u){this.updater.enqueueForceUpdate(this,u,"forceUpdate")};function oe(){}oe.prototype=F.prototype;function ce(u,g,O){this.props=u,this.context=g,this.refs=H,this.updater=O||$}var Se=ce.prototype=new oe;Se.constructor=ce,ae(Se,F.prototype),Se.isPureReactComponent=!0;var ge=Array.isArray,nt=Object.prototype.hasOwnProperty,Ee={current:null},Le={key:!0,ref:!0,__self:!0,__source:!0};function Ye(u,g,O){var V,K={},G=null,te=null;if(g!=null)for(V in g.ref!==void 0&&(te=g.ref),g.key!==void 0&&(G=""+g.key),g)nt.call(g,V)&&!Le.hasOwnProperty(V)&&(K[V]=g[V]);var Z=arguments.length-2;if(Z===1)K.children=O;else if(1>>1,g=N[u];if(0<_(g,L))N[u]=L,N[C]=g,C=u;else break e}}function x(N){return N.length===0?null:N[0]}function Q(N){if(N.length===0)return null;var L=N[0],C=N.pop();if(C!==L){N[0]=C;e:for(var u=0,g=N.length,O=g>>>1;u_(K,C))G_(te,K)?(N[u]=te,N[G]=C,u=G):(N[u]=K,N[V]=C,u=V);else if(G_(te,C))N[u]=te,N[G]=C,u=G;else break e}}return L}function _(N,L){var C=N.sortIndex-L.sortIndex;return C!==0?C:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var U=performance;w.unstable_now=function(){return U.now()}}else{var q=Date,X=q.now();w.unstable_now=function(){return q.now()-X}}var T=[],me=[],ee=1,z=null,R=3,$=!1,ae=!1,H=!1,F=typeof setTimeout=="function"?setTimeout:null,oe=typeof clearTimeout=="function"?clearTimeout:null,ce=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Se(N){for(var L=x(me);L!==null;){if(L.callback===null)Q(me);else if(L.startTime<=N)Q(me),L.sortIndex=L.expirationTime,M(T,L);else break;L=x(me)}}function ge(N){if(H=!1,Se(N),!ae)if(x(T)!==null)ae=!0,Pe(nt);else{var L=x(me);L!==null&&pe(ge,L.startTime-N)}}function nt(N,L){ae=!1,H&&(H=!1,oe(Ye),Ye=-1),$=!0;var C=R;try{for(Se(L),z=x(T);z!==null&&(!(z.expirationTime>L)||N&&!Kt());){var u=z.callback;if(typeof u=="function"){z.callback=null,R=z.priorityLevel;var g=u(z.expirationTime<=L);L=w.unstable_now(),typeof g=="function"?z.callback=g:z===x(T)&&Q(T),Se(L)}else Q(T);z=x(T)}if(z!==null)var O=!0;else{var V=x(me);V!==null&&pe(ge,V.startTime-L),O=!1}return O}finally{z=null,R=C,$=!1}}var Ee=!1,Le=null,Ye=-1,Dt=5,vt=-1;function Kt(){return!(w.unstable_now()-vtN||125u?(N.sortIndex=C,M(me,N),x(T)===null&&N===x(me)&&(H?(oe(Ye),Ye=-1):H=!0,pe(ge,C-u))):(N.sortIndex=g,M(T,N),ae||$||(ae=!0,Pe(nt))),N},w.unstable_shouldYield=Kt,w.unstable_wrapCallback=function(N){var L=R;return function(){var C=R;R=L;try{return N.apply(this,arguments)}finally{R=C}}}}(Rs)),Rs}var Bc;function Pu(){return Bc||(Bc=1,Ds.exports=Lu()),Ds.exports}/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Mc;function Fu(){if(Mc)return He;Mc=1;var w=Bs(),M=Pu();function x(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),T=Object.prototype.hasOwnProperty,me=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ee={},z={};function R(e){return T.call(z,e)?!0:T.call(ee,e)?!1:me.test(e)?z[e]=!0:(ee[e]=!0,!1)}function $(e,t,n,a){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return a?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function ae(e,t,n,a){if(t===null||typeof t>"u"||$(e,t,n,a))return!0;if(a)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function H(e,t,n,a,o,r,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=a,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=r,this.removeEmptyString=s}var F={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){F[e]=new H(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];F[t]=new H(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){F[e]=new H(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){F[e]=new H(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){F[e]=new H(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){F[e]=new H(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){F[e]=new H(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){F[e]=new H(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){F[e]=new H(e,5,!1,e.toLowerCase(),null,!1,!1)});var oe=/[\-:]([a-z])/g;function ce(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(oe,ce);F[t]=new H(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(oe,ce);F[t]=new H(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(oe,ce);F[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){F[e]=new H(e,1,!1,e.toLowerCase(),null,!1,!1)}),F.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){F[e]=new H(e,1,!1,e.toLowerCase(),null,!0,!0)});function Se(e,t,n,a){var o=F.hasOwnProperty(t)?F[t]:null;(o!==null?o.type!==0:a||!(2i||o[s]!==r[i]){var c=` `+o[s].replace(" at new "," at ");return e.displayName&&c.includes("")&&(c=c.replace("",e.displayName)),c}while(1<=s&&0<=i);break}}}finally{O=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?g(e):""}function K(e){switch(e.tag){case 5:return g(e.type);case 16:return g("Lazy");case 13:return g("Suspense");case 19:return g("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1),e;case 11:return e=V(e.type.render,!1),e;case 1:return e=V(e.type,!0),e;default:return""}}function G(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Le:return"Fragment";case Ee:return"Portal";case Dt:return"Profiler";case Ye:return"StrictMode";case We:return"Suspense";case at:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Kt:return(e.displayName||"Context")+".Consumer";case vt:return(e._context.displayName||"Context")+".Provider";case ut:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case mt:return t=e.displayName||null,t!==null?t:G(e.type)||"Memo";case Pe:t=e._payload,e=e._init;try{return G(e(t))}catch{}}return null}function te(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return G(t);case 8:return t===Ye?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Z(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Ve(e){var t=le(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){a=""+s,r.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(s){a=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ya(e){e._valueTracker||(e._valueTracker=Ve(e))}function Ms(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=le(e)?e.checked?"true":"false":e.value),e=a,e!==n?(t.setValue(e),!0):!1}function Aa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Eo(e,t){var n=t.checked;return C({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Es(e,t){var n=t.defaultValue==null?"":t.defaultValue,a=t.checked!=null?t.checked:t.defaultChecked;n=Z(t.value!=null?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Is(e,t){t=t.checked,t!=null&&Se(e,"checked",t,!1)}function Io(e,t){Is(e,t);var n=Z(t.value),a=t.type;if(n!=null)a==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(a==="submit"||a==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_o(e,t.type,n):t.hasOwnProperty("defaultValue")&&_o(e,t.type,Z(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function _s(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!(a!=="submit"&&a!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function _o(e,t,n){(t!=="number"||Aa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var _n=Array.isArray;function ln(e,t,n,a){if(e=e.options,t){t={};for(var o=0;o"+t.valueOf().toString()+"",t=wa.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ln(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Pn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},_c=["Webkit","ms","Moz","O"];Object.keys(Pn).forEach(function(e){_c.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Pn[t]=Pn[e]})});function Ts(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Pn.hasOwnProperty(e)&&Pn[e]?(""+t).trim():t+"px"}function Os(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var a=n.indexOf("--")===0,o=Ts(n,t[n],a);n==="float"&&(n="cssFloat"),a?e.setProperty(n,o):e[n]=o}}var Lc=C({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Fo(e,t){if(t){if(Lc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(x(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(x(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(x(61))}if(t.style!=null&&typeof t.style!="object")throw Error(x(62))}}function zo(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Uo=null;function To(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Oo=null,cn=null,dn=null;function Hs(e){if(e=aa(e)){if(typeof Oo!="function")throw Error(x(280));var t=e.stateNode;t&&(t=$a(t),Oo(e.stateNode,e.type,t))}}function Ws(e){cn?dn?dn.push(e):dn=[e]:cn=e}function Vs(){if(cn){var e=cn,t=dn;if(dn=cn=null,Hs(e),t)for(e=0;e>>=0,e===0?32:31-(Qc(e)/bc|0)|0}var ja=64,Da=4194304;function Tn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ra(e,t){var n=e.pendingLanes;if(n===0)return 0;var a=0,o=e.suspendedLanes,r=e.pingedLanes,s=n&268435455;if(s!==0){var i=s&~o;i!==0?a=Tn(i):(r&=s,r!==0&&(a=Tn(r)))}else s=n&~o,s!==0?a=Tn(s):r!==0&&(a=Tn(r));if(a===0)return 0;if(t!==0&&t!==a&&(t&o)===0&&(o=a&-a,r=t&-t,o>=r||o===16&&(r&4194240)!==0))return t;if((a&4)!==0&&(a|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=a;0n;n++)t.push(e);return t}function On(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ot(t),e[t]=n}function Xc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var a=e.eventTimes;for(e=e.expirationTimes;0=Gn),gl=" ",vl=!1;function yl(e,t){switch(e){case"keyup":return Sd.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Al(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var pn=!1;function jd(e,t){switch(e){case"compositionend":return Al(t);case"keypress":return t.which!==32?null:(vl=!0,gl);case"textInput":return e=t.data,e===gl&&vl?null:e;default:return null}}function Dd(e,t){if(pn)return e==="compositionend"||!or&&yl(e,t)?(e=ul(),_a=Jo=It=null,pn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=a}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Dl(n)}}function Bl(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Bl(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ml(){for(var e=window,t=Aa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Aa(e.document)}return t}function lr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Fd(e){var t=Ml(),n=e.focusedElem,a=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Bl(n.ownerDocument.documentElement,n)){if(a!==null&&lr(n)){if(t=a.start,e=a.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,r=Math.min(a.start,o);a=a.end===void 0?r:Math.min(a.end,o),!e.extend&&r>a&&(o=a,a=r,r=o),o=Rl(n,r);var s=Rl(n,a);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),r>a?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,fn=null,ir=null,Jn=null,cr=!1;function El(e,t,n){var a=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cr||fn==null||fn!==Aa(a)||(a=fn,"selectionStart"in a&&lr(a)?a={start:a.selectionStart,end:a.selectionEnd}:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection(),a={anchorNode:a.anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset}),Jn&&Zn(Jn,a)||(Jn=a,a=Ha(ir,"onSelect"),0yn||(e.current=wr[yn],wr[yn]=null,yn--)}function ne(e,t){yn++,wr[yn]=e.current,e.current=t}var Ft={},De=Pt(Ft),Fe=Pt(!1),Xt=Ft;function An(e,t){var n=e.type.contextTypes;if(!n)return Ft;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var o={},r;for(r in n)o[r]=t[r];return a&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ze(e){return e=e.childContextTypes,e!=null}function Qa(){se(Fe),se(De)}function bl(e,t,n){if(De.current!==Ft)throw Error(x(168));ne(De,t),ne(Fe,n)}function Kl(e,t,n){var a=e.stateNode;if(t=t.childContextTypes,typeof a.getChildContext!="function")return n;a=a.getChildContext();for(var o in a)if(!(o in t))throw Error(x(108,te(e)||"Unknown",o));return C({},n,a)}function ba(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ft,Xt=De.current,ne(De,e),ne(Fe,Fe.current),!0}function Gl(e,t,n){var a=e.stateNode;if(!a)throw Error(x(169));n?(e=Kl(e,t,Xt),a.__reactInternalMemoizedMergedChildContext=e,se(Fe),se(De),ne(De,e)):se(Fe),ne(Fe,n)}var At=null,Ka=!1,Nr=!1;function Yl(e){At===null?At=[e]:At.push(e)}function Gd(e){Ka=!0,Yl(e)}function zt(){if(!Nr&&At!==null){Nr=!0;var e=0,t=J;try{var n=At;for(J=1;e>=s,o-=s,wt=1<<32-ot(t)+o|n<P?(ke=I,I=null):ke=I.sibling;var Y=h(m,I,p[P],A);if(Y===null){I===null&&(I=ke);break}e&&I&&Y.alternate===null&&t(m,I),d=r(Y,d,P),E===null?B=Y:E.sibling=Y,E=Y,I=ke}if(P===p.length)return n(m,I),ie&&Jt(m,P),B;if(I===null){for(;PP?(ke=I,I=null):ke=I.sibling;var bt=h(m,I,Y.value,A);if(bt===null){I===null&&(I=ke);break}e&&I&&bt.alternate===null&&t(m,I),d=r(bt,d,P),E===null?B=bt:E.sibling=bt,E=bt,I=ke}if(Y.done)return n(m,I),ie&&Jt(m,P),B;if(I===null){for(;!Y.done;P++,Y=p.next())Y=y(m,Y.value,A),Y!==null&&(d=r(Y,d,P),E===null?B=Y:E.sibling=Y,E=Y);return ie&&Jt(m,P),B}for(I=a(m,I);!Y.done;P++,Y=p.next())Y=k(I,m,P,Y.value,A),Y!==null&&(e&&Y.alternate!==null&&I.delete(Y.key===null?P:Y.key),d=r(Y,d,P),E===null?B=Y:E.sibling=Y,E=Y);return e&&I.forEach(function(Ru){return t(m,Ru)}),ie&&Jt(m,P),B}function he(m,d,p,A){if(typeof p=="object"&&p!==null&&p.type===Le&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case nt:e:{for(var B=p.key,E=d;E!==null;){if(E.key===B){if(B=p.type,B===Le){if(E.tag===7){n(m,E.sibling),d=o(E,p.props.children),d.return=m,m=d;break e}}else if(E.elementType===B||typeof B=="object"&&B!==null&&B.$$typeof===Pe&&ti(B)===E.type){n(m,E.sibling),d=o(E,p.props),d.ref=oa(m,E,p),d.return=m,m=d;break e}n(m,E);break}else t(m,E);E=E.sibling}p.type===Le?(d=sn(p.props.children,m.mode,A,p.key),d.return=m,m=d):(A=No(p.type,p.key,p.props,null,m.mode,A),A.ref=oa(m,d,p),A.return=m,m=A)}return s(m);case Ee:e:{for(E=p.key;d!==null;){if(d.key===E)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(m,d.sibling),d=o(d,p.children||[]),d.return=m,m=d;break e}else{n(m,d);break}else t(m,d);d=d.sibling}d=ys(p,m.mode,A),d.return=m,m=d}return s(m);case Pe:return E=p._init,he(m,d,E(p._payload),A)}if(_n(p))return j(m,d,p,A);if(L(p))return D(m,d,p,A);Za(m,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(m,d.sibling),d=o(d,p),d.return=m,m=d):(n(m,d),d=vs(p,m.mode,A),d.return=m,m=d),s(m)):n(m,d)}return he}var Sn=ni(!0),ai=ni(!1),Ja=Pt(null),qa=null,Cn=null,Rr=null;function Br(){Rr=Cn=qa=null}function Mr(e){var t=Ja.current;se(Ja),e._currentValue=t}function Er(e,t,n){for(;e!==null;){var a=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,a!==null&&(a.childLanes|=t)):a!==null&&(a.childLanes&t)!==t&&(a.childLanes|=t),e===n)break;e=e.return}}function jn(e,t){qa=e,Rr=Cn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(Ue=!0),e.firstContext=null)}function Je(e){var t=e._currentValue;if(Rr!==e)if(e={context:e,memoizedValue:t,next:null},Cn===null){if(qa===null)throw Error(x(308));Cn=e,qa.dependencies={lanes:0,firstContext:e}}else Cn=Cn.next=e;return t}var qt=null;function Ir(e){qt===null?qt=[e]:qt.push(e)}function oi(e,t,n,a){var o=t.interleaved;return o===null?(n.next=n,Ir(t)):(n.next=o.next,o.next=n),t.interleaved=n,kt(e,a)}function kt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ut=!1;function _r(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ri(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function St(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Tt(e,t,n){var a=e.updateQueue;if(a===null)return null;if(a=a.shared,(b&2)!==0){var o=a.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),a.pending=t,kt(e,n)}return o=a.interleaved,o===null?(t.next=t,Ir(a)):(t.next=o.next,o.next=t),a.interleaved=t,kt(e,n)}function eo(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ko(e,n)}}function si(e,t){var n=e.updateQueue,a=e.alternate;if(a!==null&&(a=a.updateQueue,n===a)){var o=null,r=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};r===null?o=r=s:r=r.next=s,n=n.next}while(n!==null);r===null?o=r=t:r=r.next=t}else o=r=t;n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:a.shared,effects:a.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function to(e,t,n,a){var o=e.updateQueue;Ut=!1;var r=o.firstBaseUpdate,s=o.lastBaseUpdate,i=o.shared.pending;if(i!==null){o.shared.pending=null;var c=i,f=c.next;c.next=null,s===null?r=f:s.next=f,s=c;var v=e.alternate;v!==null&&(v=v.updateQueue,i=v.lastBaseUpdate,i!==s&&(i===null?v.firstBaseUpdate=f:i.next=f,v.lastBaseUpdate=c))}if(r!==null){var y=o.baseState;s=0,v=f=c=null,i=r;do{var h=i.lane,k=i.eventTime;if((a&h)===h){v!==null&&(v=v.next={eventTime:k,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var j=e,D=i;switch(h=t,k=n,D.tag){case 1:if(j=D.payload,typeof j=="function"){y=j.call(k,y,h);break e}y=j;break e;case 3:j.flags=j.flags&-65537|128;case 0:if(j=D.payload,h=typeof j=="function"?j.call(k,y,h):j,h==null)break e;y=C({},y,h);break e;case 2:Ut=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[i]:h.push(i))}else k={eventTime:k,lane:h,tag:i.tag,payload:i.payload,callback:i.callback,next:null},v===null?(f=v=k,c=y):v=v.next=k,s|=h;if(i=i.next,i===null){if(i=o.shared.pending,i===null)break;h=i,i=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(v===null&&(c=y),o.baseState=c,o.firstBaseUpdate=f,o.lastBaseUpdate=v,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else r===null&&(o.shared.lanes=0);nn|=s,e.lanes=s,e.memoizedState=y}}function li(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var a=Ur.transition;Ur.transition={};try{e(!1),t()}finally{J=n,Ur.transition=a}}function ji(){return qe().memoizedState}function Jd(e,t,n){var a=Vt(e);if(n={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null},Di(e))Ri(t,n);else if(n=oi(e,t,n,a),n!==null){var o=_e();dt(n,e,a,o),Bi(n,t,a)}}function qd(e,t,n){var a=Vt(e),o={lane:a,action:n,hasEagerState:!1,eagerState:null,next:null};if(Di(e))Ri(t,o);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var s=t.lastRenderedState,i=r(s,n);if(o.hasEagerState=!0,o.eagerState=i,rt(i,s)){var c=t.interleaved;c===null?(o.next=o,Ir(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=oi(e,t,o,a),n!==null&&(o=_e(),dt(n,e,a,o),Bi(n,t,a))}}function Di(e){var t=e.alternate;return e===ue||t!==null&&t===ue}function Ri(e,t){ia=oo=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Bi(e,t,n){if((n&4194240)!==0){var a=t.lanes;a&=e.pendingLanes,n|=a,t.lanes=n,Ko(e,n)}}var lo={readContext:Je,useCallback:Re,useContext:Re,useEffect:Re,useImperativeHandle:Re,useInsertionEffect:Re,useLayoutEffect:Re,useMemo:Re,useReducer:Re,useRef:Re,useState:Re,useDebugValue:Re,useDeferredValue:Re,useTransition:Re,useMutableSource:Re,useSyncExternalStore:Re,useId:Re,unstable_isNewReconciler:!1},eu={readContext:Je,useCallback:function(e,t){return ht().memoizedState=[e,t===void 0?null:t],e},useContext:Je,useEffect:vi,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ro(4194308,4,wi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ro(4194308,4,e,t)},useInsertionEffect:function(e,t){return ro(4,2,e,t)},useMemo:function(e,t){var n=ht();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=ht();return t=n!==void 0?n(t):t,a.memoizedState=a.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},a.queue=e,e=e.dispatch=Jd.bind(null,ue,e),[a.memoizedState,e]},useRef:function(e){var t=ht();return e={current:e},t.memoizedState=e},useState:hi,useDebugValue:Qr,useDeferredValue:function(e){return ht().memoizedState=e},useTransition:function(){var e=hi(!1),t=e[0];return e=Zd.bind(null,e[1]),ht().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var a=ue,o=ht();if(ie){if(n===void 0)throw Error(x(407));n=n()}else{if(n=t(),Ne===null)throw Error(x(349));(tn&30)!==0||ui(a,t,n)}o.memoizedState=n;var r={value:n,getSnapshot:t};return o.queue=r,vi(pi.bind(null,a,r,e),[e]),a.flags|=2048,ua(9,mi.bind(null,a,r,n,t),void 0,null),n},useId:function(){var e=ht(),t=Ne.identifierPrefix;if(ie){var n=Nt,a=wt;n=(a&~(1<<32-ot(a)-1)).toString(32)+n,t=":"+t+"R"+n,n=ca++,0<\/script>",e=e.removeChild(e.firstChild)):typeof a.is=="string"?e=s.createElement(n,{is:a.is}):(e=s.createElement(n),n==="select"&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,n),e[ft]=t,e[na]=a,Yi(e,t,!1,!1),t.stateNode=e;e:{switch(s=zo(n,a),n){case"dialog":re("cancel",e),re("close",e),o=a;break;case"iframe":case"object":case"embed":re("load",e),o=a;break;case"video":case"audio":for(o=0;oEn&&(t.flags|=128,a=!0,ma(r,!1),t.lanes=4194304)}else{if(!a)if(e=no(s),e!==null){if(t.flags|=128,a=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ma(r,!0),r.tail===null&&r.tailMode==="hidden"&&!s.alternate&&!ie)return Be(t),null}else 2*xe()-r.renderingStartTime>En&&n!==1073741824&&(t.flags|=128,a=!0,ma(r,!1),t.lanes=4194304);r.isBackwards?(s.sibling=t.child,t.child=s):(n=r.last,n!==null?n.sibling=s:t.child=s,r.last=s)}return r.tail!==null?(t=r.tail,r.rendering=t,r.tail=t.sibling,r.renderingStartTime=xe(),t.sibling=null,n=de.current,ne(de,a?n&1|2:n&1),t):(Be(t),null);case 22:case 23:return xs(),a=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==a&&(t.flags|=8192),a&&(t.mode&1)!==0?(Ke&1073741824)!==0&&(Be(t),t.subtreeFlags&6&&(t.flags|=8192)):Be(t),null;case 24:return null;case 25:return null}throw Error(x(156,t.tag))}function iu(e,t){switch(Sr(t),t.tag){case 1:return ze(t.type)&&Qa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Dn(),se(Fe),se(De),zr(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Pr(t),null;case 13:if(se(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(x(340));kn()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(de),null;case 4:return Dn(),null;case 10:return Mr(t.type._context),null;case 22:case 23:return xs(),null;case 24:return null;default:return null}}var mo=!1,Me=!1,cu=typeof WeakSet=="function"?WeakSet:Set,S=null;function Bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(a){fe(e,t,a)}else n.current=null}function as(e,t,n){try{n()}catch(a){fe(e,t,a)}}var Ji=!1;function du(e,t){if(xr=Ea,e=Ml(),lr(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var a=n.getSelection&&n.getSelection();if(a&&a.rangeCount!==0){n=a.anchorNode;var o=a.anchorOffset,r=a.focusNode;a=a.focusOffset;try{n.nodeType,r.nodeType}catch{n=null;break e}var s=0,i=-1,c=-1,f=0,v=0,y=e,h=null;t:for(;;){for(var k;y!==n||o!==0&&y.nodeType!==3||(i=s+o),y!==r||a!==0&&y.nodeType!==3||(c=s+a),y.nodeType===3&&(s+=y.nodeValue.length),(k=y.firstChild)!==null;)h=y,y=k;for(;;){if(y===e)break t;if(h===n&&++f===o&&(i=s),h===r&&++v===a&&(c=s),(k=y.nextSibling)!==null)break;y=h,h=y.parentNode}y=k}n=i===-1||c===-1?null:{start:i,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(hr={focusedElem:e,selectionRange:n},Ea=!1,S=t;S!==null;)if(t=S,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,S=e;else for(;S!==null;){t=S;try{var j=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(j!==null){var D=j.memoizedProps,he=j.memoizedState,m=t.stateNode,d=m.getSnapshotBeforeUpdate(t.elementType===t.type?D:lt(t.type,D),he);m.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(x(163))}}catch(A){fe(t,t.return,A)}if(e=t.sibling,e!==null){e.return=t.return,S=e;break}S=t.return}return j=Ji,Ji=!1,j}function pa(e,t,n){var a=t.updateQueue;if(a=a!==null?a.lastEffect:null,a!==null){var o=a=a.next;do{if((o.tag&e)===e){var r=o.destroy;o.destroy=void 0,r!==void 0&&as(t,n,r)}o=o.next}while(o!==a)}}function po(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var a=n.create;n.destroy=a()}n=n.next}while(n!==t)}}function os(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function qi(e){var t=e.alternate;t!==null&&(e.alternate=null,qi(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ft],delete t[na],delete t[Ar],delete t[bd],delete t[Kd])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ec(e){return e.tag===5||e.tag===3||e.tag===4}function tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ec(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function rs(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Va));else if(a!==4&&(e=e.child,e!==null))for(rs(e,t,n),e=e.sibling;e!==null;)rs(e,t,n),e=e.sibling}function ss(e,t,n){var a=e.tag;if(a===5||a===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(a!==4&&(e=e.child,e!==null))for(ss(e,t,n),e=e.sibling;e!==null;)ss(e,t,n),e=e.sibling}var Ce=null,it=!1;function Ot(e,t,n){for(n=n.child;n!==null;)nc(e,t,n),n=n.sibling}function nc(e,t,n){if(pt&&typeof pt.onCommitFiberUnmount=="function")try{pt.onCommitFiberUnmount(Ca,n)}catch{}switch(n.tag){case 5:Me||Bn(n,t);case 6:var a=Ce,o=it;Ce=null,Ot(e,t,n),Ce=a,it=o,Ce!==null&&(it?(e=Ce,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Ce.removeChild(n.stateNode));break;case 18:Ce!==null&&(it?(e=Ce,n=n.stateNode,e.nodeType===8?yr(e.parentNode,n):e.nodeType===1&&yr(e,n),Qn(e)):yr(Ce,n.stateNode));break;case 4:a=Ce,o=it,Ce=n.stateNode.containerInfo,it=!0,Ot(e,t,n),Ce=a,it=o;break;case 0:case 11:case 14:case 15:if(!Me&&(a=n.updateQueue,a!==null&&(a=a.lastEffect,a!==null))){o=a=a.next;do{var r=o,s=r.destroy;r=r.tag,s!==void 0&&((r&2)!==0||(r&4)!==0)&&as(n,t,s),o=o.next}while(o!==a)}Ot(e,t,n);break;case 1:if(!Me&&(Bn(n,t),a=n.stateNode,typeof a.componentWillUnmount=="function"))try{a.props=n.memoizedProps,a.state=n.memoizedState,a.componentWillUnmount()}catch(i){fe(n,t,i)}Ot(e,t,n);break;case 21:Ot(e,t,n);break;case 22:n.mode&1?(Me=(a=Me)||n.memoizedState!==null,Ot(e,t,n),Me=a):Ot(e,t,n);break;default:Ot(e,t,n)}}function ac(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new cu),t.forEach(function(a){var o=yu.bind(null,e,a);n.has(a)||(n.add(a),a.then(o,o))})}}function ct(e,t){var n=t.deletions;if(n!==null)for(var a=0;ao&&(o=s),a&=~r}if(a=o,a=xe()-a,a=(120>a?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*mu(a/1960))-a,10e?16:e,Wt===null)var a=!1;else{if(e=Wt,Wt=null,vo=0,(b&6)!==0)throw Error(x(331));var o=b;for(b|=4,S=e.current;S!==null;){var r=S,s=r.child;if((S.flags&16)!==0){var i=r.deletions;if(i!==null){for(var c=0;cxe()-cs?on(e,0):is|=n),Oe(e,t)}function hc(e,t){t===0&&((e.mode&1)===0?t=1:(t=Da,Da<<=1,(Da&130023424)===0&&(Da=4194304)));var n=_e();e=kt(e,t),e!==null&&(On(e,t,n),Oe(e,n))}function vu(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hc(e,n)}function yu(e,t){var n=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(x(314))}a!==null&&a.delete(t),hc(e,n)}var gc;gc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Fe.current)Ue=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return Ue=!1,su(e,t,n);Ue=(e.flags&131072)!==0}else Ue=!1,ie&&(t.flags&1048576)!==0&&Xl(t,Ya,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;uo(e,t),e=t.pendingProps;var o=An(t,De.current);jn(t,n),o=Or(null,t,a,e,o,n);var r=Hr();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ze(a)?(r=!0,ba(t)):r=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,_r(t),o.updater=io,t.stateNode=o,o._reactInternals=t,Kr(t,a,e,n),t=Zr(null,t,a,!0,r,n)):(t.tag=0,ie&&r&&kr(t),Ie(null,t,o,n),t=t.child),t;case 16:a=t.elementType;e:{switch(uo(e,t),e=t.pendingProps,o=a._init,a=o(a._payload),t.type=a,o=t.tag=wu(a),e=lt(a,e),o){case 0:t=Xr(null,t,a,e,n);break e;case 1:t=Vi(null,t,a,e,n);break e;case 11:t=Ui(null,t,a,e,n);break e;case 14:t=Ti(null,t,a,lt(a.type,e),n);break e}throw Error(x(306,a,""))}return t;case 0:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:lt(a,o),Xr(e,t,a,o,n);case 1:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:lt(a,o),Vi(e,t,a,o,n);case 3:e:{if($i(t),e===null)throw Error(x(387));a=t.pendingProps,r=t.memoizedState,o=r.element,ri(e,t),to(t,a,null,n);var s=t.memoizedState;if(a=s.element,r.isDehydrated)if(r={element:a,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){o=Rn(Error(x(423)),t),t=Qi(e,t,a,n,o);break e}else if(a!==o){o=Rn(Error(x(424)),t),t=Qi(e,t,a,n,o);break e}else for(be=Lt(t.stateNode.containerInfo.firstChild),Qe=t,ie=!0,st=null,n=ai(t,null,a,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(kn(),a===o){t=Ct(e,t,n);break e}Ie(e,t,a,n)}t=t.child}return t;case 5:return ii(t),e===null&&jr(t),a=t.type,o=t.pendingProps,r=e!==null?e.memoizedProps:null,s=o.children,gr(a,o)?s=null:r!==null&&gr(a,r)&&(t.flags|=32),Wi(e,t),Ie(e,t,s,n),t.child;case 6:return e===null&&jr(t),null;case 13:return bi(e,t,n);case 4:return Lr(t,t.stateNode.containerInfo),a=t.pendingProps,e===null?t.child=Sn(t,null,a,n):Ie(e,t,a,n),t.child;case 11:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:lt(a,o),Ui(e,t,a,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(a=t.type._context,o=t.pendingProps,r=t.memoizedProps,s=o.value,ne(Ja,a._currentValue),a._currentValue=s,r!==null)if(rt(r.value,s)){if(r.children===o.children&&!Fe.current){t=Ct(e,t,n);break e}}else for(r=t.child,r!==null&&(r.return=t);r!==null;){var i=r.dependencies;if(i!==null){s=r.child;for(var c=i.firstContext;c!==null;){if(c.context===a){if(r.tag===1){c=St(-1,n&-n),c.tag=2;var f=r.updateQueue;if(f!==null){f=f.shared;var v=f.pending;v===null?c.next=c:(c.next=v.next,v.next=c),f.pending=c}}r.lanes|=n,c=r.alternate,c!==null&&(c.lanes|=n),Er(r.return,n,t),i.lanes|=n;break}c=c.next}}else if(r.tag===10)s=r.type===t.type?null:r.child;else if(r.tag===18){if(s=r.return,s===null)throw Error(x(341));s.lanes|=n,i=s.alternate,i!==null&&(i.lanes|=n),Er(s,n,t),s=r.sibling}else s=r.child;if(s!==null)s.return=r;else for(s=r;s!==null;){if(s===t){s=null;break}if(r=s.sibling,r!==null){r.return=s.return,s=r;break}s=s.return}r=s}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps.children,jn(t,n),o=Je(o),a=a(o),t.flags|=1,Ie(e,t,a,n),t.child;case 14:return a=t.type,o=lt(a,t.pendingProps),o=lt(a.type,o),Ti(e,t,a,o,n);case 15:return Oi(e,t,t.type,t.pendingProps,n);case 17:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:lt(a,o),uo(e,t),t.tag=1,ze(a)?(e=!0,ba(t)):e=!1,jn(t,n),Ei(t,a,o),Kr(t,a,o,n),Zr(null,t,a,!0,e,n);case 19:return Gi(e,t,n);case 22:return Hi(e,t,n)}throw Error(x(156,t.tag))};function vc(e,t){return Zs(e,t)}function Au(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function tt(e,t,n,a){return new Au(e,t,n,a)}function gs(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wu(e){if(typeof e=="function")return gs(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ut)return 11;if(e===mt)return 14}return 2}function Qt(e,t){var n=e.alternate;return n===null?(n=tt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function No(e,t,n,a,o,r){var s=2;if(a=e,typeof e=="function")gs(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Le:return sn(n.children,o,r,t);case Ye:s=8,o|=8;break;case Dt:return e=tt(12,n,t,o|2),e.elementType=Dt,e.lanes=r,e;case We:return e=tt(13,n,t,o),e.elementType=We,e.lanes=r,e;case at:return e=tt(19,n,t,o),e.elementType=at,e.lanes=r,e;case pe:return ko(n,o,r,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vt:s=10;break e;case Kt:s=9;break e;case ut:s=11;break e;case mt:s=14;break e;case Pe:s=16,a=null;break e}throw Error(x(130,e==null?e:typeof e,""))}return t=tt(s,n,t,o),t.elementType=e,t.type=a,t.lanes=r,t}function sn(e,t,n,a){return e=tt(7,e,a,t),e.lanes=n,e}function ko(e,t,n,a){return e=tt(22,e,a,t),e.elementType=pe,e.lanes=n,e.stateNode={isHidden:!1},e}function vs(e,t,n){return e=tt(6,e,null,t),e.lanes=n,e}function ys(e,t,n){return t=tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Nu(e,t,n,a,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=bo(0),this.expirationTimes=bo(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=bo(0),this.identifierPrefix=a,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function As(e,t,n,a,o,r,s,i,c){return e=new Nu(e,t,n,i,c),t===1?(t=1,r===!0&&(t|=8)):t=0,r=tt(3,null,null,t),e.current=r,r.stateNode=e,r.memoizedState={element:a,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_r(r),e}function ku(e,t,n){var a=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(w)}catch(M){console.error(M)}}return w(),js.exports=Fu(),js.exports}var Ic;function Uu(){if(Ic)return Mo;Ic=1;var w=zu();return Mo.createRoot=w.createRoot,Mo.hydrateRoot=w.hydrateRoot,Mo}var Tu=Uu();const Ou=w=>w instanceof Error?w.message+` `+w.stack:JSON.stringify(w,null,2);class Hu extends _u.Component{constructor(M){super(M),this.state={hasError:!1,error:null}}static getDerivedStateFromError(M){return{hasError:!0,error:M}}render(){return this.state.hasError?l.jsxs("div",{className:"p-4 border border-red-500 rounded","data-matrix-id":"src/components/ErrorBoundary.tsx:26:8","data-matrix-name":"div","data-component-path":"src/components/ErrorBoundary.tsx","data-component-line":"26","data-component-file":"ErrorBoundary.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22p-4%20border%20border-red-500%20rounded%22%7D",children:[l.jsx("h2",{className:"text-red-500","data-matrix-id":"src/components/ErrorBoundary.tsx:27:10","data-matrix-name":"h2","data-component-path":"src/components/ErrorBoundary.tsx","data-component-line":"27","data-component-file":"ErrorBoundary.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-red-500%22%7D",children:"Something went wrong."}),l.jsx("pre",{className:"mt-2 text-sm","data-matrix-id":"src/components/ErrorBoundary.tsx:28:10","data-matrix-name":"pre","data-component-path":"src/components/ErrorBoundary.tsx","data-component-line":"28","data-component-file":"ErrorBoundary.tsx","data-component-name":"pre","data-component-content":"%7B%22className%22%3A%22mt-2%20text-sm%22%7D",children:Ou(this.state.error)})]}):this.props.children}}function Wu({onFileUpload:w}){const[M,x]=Ge.useState(!1),[Q,_]=Ge.useState(null),U=Ge.useCallback(z=>{z.preventDefault(),x(!0)},[]),q=Ge.useCallback(z=>{z.preventDefault(),x(!1)},[]),X=Ge.useCallback(z=>{z.preventDefault(),x(!1);const $=Array.from(z.dataTransfer.files).find(ae=>ae.type==="application/pdf");$?_($):alert("Please upload a PDF file")},[]),T=Ge.useCallback(z=>{const R=z.target.files;if(R&&R.length>0){const $=R[0];$.type==="application/pdf"?_($):alert("Please upload a PDF file")}},[]),me=()=>{Q&&w(Q)},ee=z=>z<1024?z+" B":z<1024*1024?(z/1024).toFixed(1)+" KB":(z/(1024*1024)).toFixed(1)+" MB";return l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-8 max-w-2xl mx-auto","data-matrix-id":"src/components/FileUpload.tsx:65:4","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"65","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-8%20max-w-2xl%20mx-auto%22%7D",children:[l.jsx("h2",{className:"text-2xl font-bold text-gray-900 mb-2 text-center","data-matrix-id":"src/components/FileUpload.tsx:66:6","data-matrix-name":"h2","data-component-path":"src/components/FileUpload.tsx","data-component-line":"66","data-component-file":"FileUpload.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-2xl%20font-bold%20text-gray-900%20mb-2%20text-center%22%7D",children:"Upload Medical Report"}),l.jsx("p",{className:"text-gray-600 mb-6 text-center","data-matrix-id":"src/components/FileUpload.tsx:69:6","data-matrix-name":"p","data-component-path":"src/components/FileUpload.tsx","data-component-line":"69","data-component-file":"FileUpload.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-600%20mb-6%20text-center%22%7D",children:"Upload a PDF medical report for comprehensive AI analysis"}),l.jsx("div",{onDragOver:U,onDragLeave:q,onDrop:X,className:` border-2 border-dashed rounded-lg p-8 text-center transition-all ${M?"border-blue-500 bg-blue-50":"border-gray-300 hover:border-blue-400 hover:bg-gray-50"} `,"data-matrix-id":"src/components/FileUpload.tsx:73:6","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"73","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22onDragOver%22%3A%22%5BIdentifier%5D%22%2C%22onDragLeave%22%3A%22%5BIdentifier%5D%22%2C%22onDrop%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:l.jsxs("div",{className:"flex flex-col items-center","data-matrix-id":"src/components/FileUpload.tsx:85:8","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"85","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20flex-col%20items-center%22%7D",children:[l.jsx("svg",{className:`w-16 h-16 mb-4 ${M?"text-blue-500":"text-gray-400"}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:86:10","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"86","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12"})}),Q?l.jsxs("div",{className:"space-y-3","data-matrix-id":"src/components/FileUpload.tsx:101:12","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"101","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-3%22%7D",children:[l.jsx("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4","data-matrix-id":"src/components/FileUpload.tsx:102:14","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"102","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-blue-50%20border%20border-blue-200%20rounded-lg%20p-4%22%7D",children:l.jsxs("div",{className:"flex items-center gap-3","data-matrix-id":"src/components/FileUpload.tsx:103:16","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"103","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-3%22%7D",children:[l.jsx("svg",{className:"w-8 h-8 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:104:18","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"104","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-8%20h-8%20text-blue-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),l.jsxs("div",{className:"text-left flex-1","data-matrix-id":"src/components/FileUpload.tsx:107:18","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"107","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22text-left%20flex-1%22%7D",children:[l.jsx("p",{className:"font-medium text-gray-900","data-matrix-id":"src/components/FileUpload.tsx:108:20","data-matrix-name":"p","data-component-path":"src/components/FileUpload.tsx","data-component-line":"108","data-component-file":"FileUpload.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22font-medium%20text-gray-900%22%7D",children:Q.name}),l.jsx("p",{className:"text-sm text-gray-500","data-matrix-id":"src/components/FileUpload.tsx:109:20","data-matrix-name":"p","data-component-path":"src/components/FileUpload.tsx","data-component-line":"109","data-component-file":"FileUpload.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-500%22%7D",children:ee(Q.size)})]}),l.jsx("button",{onClick:()=>_(null),className:"text-gray-400 hover:text-red-500 transition-colors","data-matrix-id":"src/components/FileUpload.tsx:111:18","data-matrix-name":"button","data-component-path":"src/components/FileUpload.tsx","data-component-line":"111","data-component-file":"FileUpload.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22className%22%3A%22text-gray-400%20hover%3Atext-red-500%20transition-colors%22%7D",children:l.jsx("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:115:20","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"115","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),l.jsx("button",{onClick:me,className:"w-full px-6 py-3 bg-blue-600 text-white font-medium rounded-lg hover:bg-blue-700 transition-colors","data-matrix-id":"src/components/FileUpload.tsx:121:14","data-matrix-name":"button","data-component-path":"src/components/FileUpload.tsx","data-component-line":"121","data-component-file":"FileUpload.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22w-full%20px-6%20py-3%20bg-blue-600%20text-white%20font-medium%20rounded-lg%20hover%3Abg-blue-700%20transition-colors%22%7D",children:"Start Analysis"})]}):l.jsxs(l.Fragment,{children:[l.jsx("p",{className:"text-lg font-medium text-gray-700 mb-2","data-matrix-id":"src/components/FileUpload.tsx:130:14","data-matrix-name":"p","data-component-path":"src/components/FileUpload.tsx","data-component-line":"130","data-component-file":"FileUpload.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-lg%20font-medium%20text-gray-700%20mb-2%22%7D",children:"Drop your PDF file here"}),l.jsx("p",{className:"text-sm text-gray-500 mb-4","data-matrix-id":"src/components/FileUpload.tsx:133:14","data-matrix-name":"p","data-component-path":"src/components/FileUpload.tsx","data-component-line":"133","data-component-file":"FileUpload.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-500%20mb-4%22%7D",children:"or click to browse"}),l.jsxs("label",{className:"cursor-pointer","data-matrix-id":"src/components/FileUpload.tsx:136:14","data-matrix-name":"label","data-component-path":"src/components/FileUpload.tsx","data-component-line":"136","data-component-file":"FileUpload.tsx","data-component-name":"label","data-component-content":"%7B%22className%22%3A%22cursor-pointer%22%7D",children:[l.jsx("span",{className:"px-6 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors inline-block","data-matrix-id":"src/components/FileUpload.tsx:137:16","data-matrix-name":"span","data-component-path":"src/components/FileUpload.tsx","data-component-line":"137","data-component-file":"FileUpload.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22px-6%20py-2%20bg-blue-600%20text-white%20rounded-lg%20hover%3Abg-blue-700%20transition-colors%20inline-block%22%7D",children:"Select File"}),l.jsx("input",{type:"file",accept:".pdf",onChange:T,className:"hidden","data-matrix-id":"src/components/FileUpload.tsx:140:16","data-matrix-name":"input","data-component-path":"src/components/FileUpload.tsx","data-component-line":"140","data-component-file":"FileUpload.tsx","data-component-name":"input","data-component-content":"%7B%22type%22%3A%22file%22%2C%22accept%22%3A%22.pdf%22%2C%22onChange%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22hidden%22%7D"})]})]})]})}),l.jsxs("div",{className:"mt-6 grid grid-cols-2 gap-4 text-sm text-gray-600","data-matrix-id":"src/components/FileUpload.tsx:152:6","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"152","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-6%20grid%20grid-cols-2%20gap-4%20text-sm%20text-gray-600%22%7D",children:[l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/FileUpload.tsx:153:8","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"153","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:154:10","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"154","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%20flex-shrink-0%20mt-0.5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{"data-matrix-id":"src/components/FileUpload.tsx:157:10","data-matrix-name":"span","data-component-path":"src/components/FileUpload.tsx","data-component-line":"157","data-component-file":"FileUpload.tsx","data-component-name":"span",children:"Supports all medical report types"})]}),l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/FileUpload.tsx:159:8","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"159","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:160:10","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"160","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%20flex-shrink-0%20mt-0.5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{"data-matrix-id":"src/components/FileUpload.tsx:163:10","data-matrix-name":"span","data-component-path":"src/components/FileUpload.tsx","data-component-line":"163","data-component-file":"FileUpload.tsx","data-component-name":"span",children:"Encrypted & secure processing"})]}),l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/FileUpload.tsx:165:8","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"165","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:166:10","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"166","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%20flex-shrink-0%20mt-0.5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{"data-matrix-id":"src/components/FileUpload.tsx:169:10","data-matrix-name":"span","data-component-path":"src/components/FileUpload.tsx","data-component-line":"169","data-component-file":"FileUpload.tsx","data-component-name":"span",children:"Multi-modal AI analysis"})]}),l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/FileUpload.tsx:171:8","data-matrix-name":"div","data-component-path":"src/components/FileUpload.tsx","data-component-line":"171","data-component-file":"FileUpload.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/FileUpload.tsx:172:10","data-matrix-name":"svg","data-component-path":"src/components/FileUpload.tsx","data-component-line":"172","data-component-file":"FileUpload.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%20flex-shrink-0%20mt-0.5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{"data-matrix-id":"src/components/FileUpload.tsx:175:10","data-matrix-name":"span","data-component-path":"src/components/FileUpload.tsx","data-component-line":"175","data-component-file":"FileUpload.tsx","data-component-name":"span",children:"Real-time processing status"})]})]})]})}function Vu({status:w,progress:M,message:x}){const Q=[{name:"PDF Extraction",progress:.2},{name:"Classification",progress:.4},{name:"Model Routing",progress:.5},{name:"Specialized Analysis",progress:.8},{name:"Result Synthesis",progress:1}],_=Q.findIndex(U=>M{const X=M>=U.progress,T=q===_;return l.jsxs("div",{className:`flex items-center gap-3 p-3 rounded-lg transition-all ${T?"bg-blue-50 border border-blue-200":"bg-gray-50"}`,"data-matrix-id":"src/components/AnalysisStatus.tsx:59:12","data-matrix-name":"div","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"59","data-component-file":"AnalysisStatus.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:[l.jsx("div",{className:`w-8 h-8 rounded-full flex items-center justify-center flex-shrink-0 ${X?"bg-green-500":T?"bg-blue-500 animate-pulse":"bg-gray-300"}`,"data-matrix-id":"src/components/AnalysisStatus.tsx:65:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"65","data-component-file":"AnalysisStatus.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:X?l.jsx("svg",{className:"w-5 h-5 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisStatus.tsx:73:18","data-matrix-name":"svg","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"73","data-component-file":"AnalysisStatus.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-white%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}):T?l.jsx("svg",{className:"w-5 h-5 text-white animate-spin",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisStatus.tsx:77:18","data-matrix-name":"svg","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"77","data-component-file":"AnalysisStatus.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-white%20animate-spin%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})}):l.jsx("span",{className:"text-white text-xs","data-matrix-id":"src/components/AnalysisStatus.tsx:81:18","data-matrix-name":"span","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"81","data-component-file":"AnalysisStatus.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-white%20text-xs%22%7D",children:q+1})}),l.jsx("div",{className:"flex-1","data-matrix-id":"src/components/AnalysisStatus.tsx:84:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"84","data-component-file":"AnalysisStatus.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%22%7D",children:l.jsx("p",{className:`font-medium ${T?"text-blue-900":X?"text-green-900":"text-gray-600"}`,"data-matrix-id":"src/components/AnalysisStatus.tsx:85:16","data-matrix-name":"p","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"85","data-component-file":"AnalysisStatus.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:U.name})})]},U.name)})]}),l.jsx("div",{className:"mt-6 p-4 bg-blue-50 border border-blue-200 rounded-lg","data-matrix-id":"src/components/AnalysisStatus.tsx:96:6","data-matrix-name":"div","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"96","data-component-file":"AnalysisStatus.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-6%20p-4%20bg-blue-50%20border%20border-blue-200%20rounded-lg%22%7D",children:l.jsxs("p",{className:"text-sm text-blue-900 flex items-start gap-2","data-matrix-id":"src/components/AnalysisStatus.tsx:97:8","data-matrix-name":"p","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"97","data-component-file":"AnalysisStatus.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-blue-900%20flex%20items-start%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 flex-shrink-0 mt-0.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisStatus.tsx:98:10","data-matrix-name":"svg","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"98","data-component-file":"AnalysisStatus.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20flex-shrink-0%20mt-0.5%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsx("span",{"data-matrix-id":"src/components/AnalysisStatus.tsx:101:10","data-matrix-name":"span","data-component-path":"src/components/AnalysisStatus.tsx","data-component-line":"101","data-component-file":"AnalysisStatus.tsx","data-component-name":"span",children:"Your document is being analyzed by multiple specialized AI models across different medical domains. This process may take 30-60 seconds depending on document complexity."})]})})]})}function $u({result:w,onReset:M}){const{document_type:x,confidence:Q,analysis:_,summary:U,specialized_results:q}=w,X=_.aggregated_findings||_.domain_specific_findings||{},T=_.clinical_insights||[],me=_.recommendations||(_.clinical_recommendations?Object.entries(_.clinical_recommendations).flatMap(([R,$])=>Array.isArray($)?$.map(ae=>({category:R.replace(/_/g," ").toUpperCase(),recommendation:typeof ae=="string"?ae:JSON.stringify(ae),priority:"medium"})):[]):[])||[],ee=_.models_used||(q||[]).map(R=>({model:R.model_name||R.model_key||"Unknown Model",domain:R.domain||"general",confidence:R.confidence||0})),z=U||_.clinical_summary||"No summary available.";return l.jsxs("div",{className:"space-y-6 max-w-6xl mx-auto","data-matrix-id":"src/components/AnalysisResults.tsx:50:4","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"50","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-6%20max-w-6xl%20mx-auto%22%7D",children:[l.jsxs("div",{className:"bg-gradient-to-r from-blue-600 to-purple-600 rounded-xl shadow-lg p-8 text-white","data-matrix-id":"src/components/AnalysisResults.tsx:52:6","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"52","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-gradient-to-r%20from-blue-600%20to-purple-600%20rounded-xl%20shadow-lg%20p-8%20text-white%22%7D",children:[l.jsxs("div",{className:"flex items-start justify-between mb-4","data-matrix-id":"src/components/AnalysisResults.tsx:53:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"53","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20justify-between%20mb-4%22%7D",children:[l.jsxs("div",{"data-matrix-id":"src/components/AnalysisResults.tsx:54:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"54","data-component-file":"AnalysisResults.tsx","data-component-name":"div",children:[l.jsx("h2",{className:"text-3xl font-bold mb-2","data-matrix-id":"src/components/AnalysisResults.tsx:55:12","data-matrix-name":"h2","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"55","data-component-file":"AnalysisResults.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-3xl%20font-bold%20mb-2%22%7D",children:"Analysis Complete"}),l.jsx("p",{className:"text-blue-100","data-matrix-id":"src/components/AnalysisResults.tsx:56:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"56","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-100%22%7D",children:"Comprehensive medical document analysis"})]}),l.jsx("button",{onClick:M,className:"px-4 py-2 bg-white text-blue-600 rounded-lg hover:bg-blue-50 transition-colors font-medium","data-matrix-id":"src/components/AnalysisResults.tsx:58:10","data-matrix-name":"button","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"58","data-component-file":"AnalysisResults.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22px-4%20py-2%20bg-white%20text-blue-600%20rounded-lg%20hover%3Abg-blue-50%20transition-colors%20font-medium%22%7D",children:"New Analysis"})]}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-4 mt-6","data-matrix-id":"src/components/AnalysisResults.tsx:66:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"66","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-3%20gap-4%20mt-6%22%7D",children:[l.jsxs("div",{className:"bg-white/10 backdrop-blur rounded-lg p-4","data-matrix-id":"src/components/AnalysisResults.tsx:67:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"67","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%2F10%20backdrop-blur%20rounded-lg%20p-4%22%7D",children:[l.jsx("p",{className:"text-blue-100 text-sm mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:68:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"68","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-100%20text-sm%20mb-1%22%7D",children:"Document Type"}),l.jsx("p",{className:"text-xl font-semibold","data-matrix-id":"src/components/AnalysisResults.tsx:69:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"69","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xl%20font-semibold%22%7D",children:x.replace(/_/g," ").toUpperCase()})]}),l.jsxs("div",{className:"bg-white/10 backdrop-blur rounded-lg p-4","data-matrix-id":"src/components/AnalysisResults.tsx:71:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"71","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%2F10%20backdrop-blur%20rounded-lg%20p-4%22%7D",children:[l.jsx("p",{className:"text-blue-100 text-sm mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:72:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"72","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-100%20text-sm%20mb-1%22%7D",children:"Overall Confidence"}),l.jsxs("p",{className:"text-xl font-semibold","data-matrix-id":"src/components/AnalysisResults.tsx:73:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"73","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xl%20font-semibold%22%7D",children:[(Q*100).toFixed(0),"%"]})]}),l.jsxs("div",{className:"bg-white/10 backdrop-blur rounded-lg p-4","data-matrix-id":"src/components/AnalysisResults.tsx:75:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"75","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%2F10%20backdrop-blur%20rounded-lg%20p-4%22%7D",children:[l.jsx("p",{className:"text-blue-100 text-sm mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:76:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"76","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-100%20text-sm%20mb-1%22%7D",children:"Models Used"}),l.jsx("p",{className:"text-xl font-semibold","data-matrix-id":"src/components/AnalysisResults.tsx:77:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"77","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xl%20font-semibold%22%7D",children:ee.length})]})]})]}),l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6","data-matrix-id":"src/components/AnalysisResults.tsx:83:6","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"83","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-6%22%7D",children:[l.jsxs("h3",{className:"text-xl font-bold text-gray-900 mb-4 flex items-center gap-2","data-matrix-id":"src/components/AnalysisResults.tsx:84:8","data-matrix-name":"h3","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"84","data-component-file":"AnalysisResults.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%20mb-4%20flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-6 h-6 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:85:10","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"85","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-blue-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})}),"Executive Summary"]}),l.jsx("div",{className:"prose max-w-none","data-matrix-id":"src/components/AnalysisResults.tsx:90:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"90","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22prose%20max-w-none%22%7D",children:l.jsx("p",{className:"text-gray-700 whitespace-pre-line","data-matrix-id":"src/components/AnalysisResults.tsx:91:10","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"91","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-700%20whitespace-pre-line%22%7D",children:z})})]}),T.length>0&&l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6","data-matrix-id":"src/components/AnalysisResults.tsx:97:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"97","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-6%22%7D",children:[l.jsxs("h3",{className:"text-xl font-bold text-gray-900 mb-4 flex items-center gap-2","data-matrix-id":"src/components/AnalysisResults.tsx:98:10","data-matrix-name":"h3","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"98","data-component-file":"AnalysisResults.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%20mb-4%20flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-6 h-6 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:99:12","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"99","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-green-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"})}),"Clinical Insights"]}),l.jsx("div",{className:"space-y-3","data-matrix-id":"src/components/AnalysisResults.tsx:104:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"104","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-3%22%7D",children:T.map((R,$)=>l.jsx("div",{className:`p-4 rounded-lg border ${R.importance==="high"?"bg-blue-50 border-blue-200":"bg-gray-50 border-gray-200"}`,"data-matrix-id":"src/components/AnalysisResults.tsx:106:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"106","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:l.jsxs("div",{className:"flex items-start gap-3","data-matrix-id":"src/components/AnalysisResults.tsx:114:16","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"114","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-3%22%7D",children:[l.jsx("div",{className:`w-2 h-2 rounded-full mt-2 flex-shrink-0 ${R.importance==="high"?"bg-blue-500":"bg-gray-400"}`,"data-matrix-id":"src/components/AnalysisResults.tsx:115:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"115","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D"}),l.jsxs("div",{className:"flex-1","data-matrix-id":"src/components/AnalysisResults.tsx:118:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"118","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%22%7D",children:[l.jsx("p",{className:"font-semibold text-gray-900 mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:119:20","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"119","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-1%22%7D",children:R.category}),l.jsx("p",{className:"text-gray-700","data-matrix-id":"src/components/AnalysisResults.tsx:120:20","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"120","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-700%22%7D",children:R.insight})]})]})},$))})]}),Object.keys(X).length>0&&l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6","data-matrix-id":"src/components/AnalysisResults.tsx:131:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"131","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-6%22%7D",children:[l.jsxs("h3",{className:"text-xl font-bold text-gray-900 mb-4 flex items-center gap-2","data-matrix-id":"src/components/AnalysisResults.tsx:132:10","data-matrix-name":"h3","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"132","data-component-file":"AnalysisResults.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%20mb-4%20flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-6 h-6 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:133:12","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"133","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-purple-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10"})}),"Domain-Specific Findings"]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-4","data-matrix-id":"src/components/AnalysisResults.tsx:138:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"138","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-2%20gap-4%22%7D",children:Object.entries(X).map(([R,$])=>{var ae;return l.jsxs("div",{className:"border border-gray-200 rounded-lg p-4","data-matrix-id":"src/components/AnalysisResults.tsx:140:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"140","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22border%20border-gray-200%20rounded-lg%20p-4%22%7D",children:[l.jsx("h4",{className:"font-semibold text-gray-900 mb-2","data-matrix-id":"src/components/AnalysisResults.tsx:141:16","data-matrix-name":"h4","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"141","data-component-file":"AnalysisResults.tsx","data-component-name":"h4","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-2%22%7D",children:R.replace(/_/g," ").toUpperCase()}),l.jsxs("div",{className:"space-y-2","data-matrix-id":"src/components/AnalysisResults.tsx:144:16","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"144","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-2%22%7D",children:[l.jsxs("div",{className:"flex items-center justify-between text-sm","data-matrix-id":"src/components/AnalysisResults.tsx:145:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"145","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-between%20text-sm%22%7D",children:[l.jsx("span",{className:"text-gray-600","data-matrix-id":"src/components/AnalysisResults.tsx:146:20","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"146","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-gray-600%22%7D",children:"Models:"}),l.jsx("span",{className:"font-medium text-gray-900","data-matrix-id":"src/components/AnalysisResults.tsx:147:20","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"147","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22font-medium%20text-gray-900%22%7D",children:((ae=$.models)==null?void 0:ae.length)||(q||[]).filter(H=>H.domain===R).length})]}),l.jsxs("div",{className:"flex items-center justify-between text-sm","data-matrix-id":"src/components/AnalysisResults.tsx:149:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"149","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-between%20text-sm%22%7D",children:[l.jsx("span",{className:"text-gray-600","data-matrix-id":"src/components/AnalysisResults.tsx:150:20","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"150","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-gray-600%22%7D",children:"Evidence Quality:"}),l.jsx("span",{className:"font-medium text-gray-900","data-matrix-id":"src/components/AnalysisResults.tsx:151:20","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"151","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22font-medium%20text-gray-900%22%7D",children:$.evidence_quality||"unknown"})]}),$.clinical_interpretation&&Object.keys($.clinical_interpretation).length>0&&l.jsx("div",{className:"mt-2 pt-2 border-t border-gray-200","data-matrix-id":"src/components/AnalysisResults.tsx:156:20","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"156","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-2%20pt-2%20border-t%20border-gray-200%22%7D",children:l.jsx("p",{className:"text-sm text-gray-700 line-clamp-2","data-matrix-id":"src/components/AnalysisResults.tsx:157:22","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"157","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-700%20line-clamp-2%22%7D",children:String(Object.values($.clinical_interpretation)[0]||"Clinical interpretation available")})}),R==="laboratory"&&z&&l.jsx("div",{className:"mt-2 pt-2 border-t border-gray-200","data-matrix-id":"src/components/AnalysisResults.tsx:163:20","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"163","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-2%20pt-2%20border-t%20border-gray-200%22%7D",children:l.jsx("p",{className:"text-sm text-gray-700 line-clamp-2","data-matrix-id":"src/components/AnalysisResults.tsx:164:22","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"164","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-700%20line-clamp-2%22%7D",children:z})})]})]},R)})})]}),me.length>0&&l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6","data-matrix-id":"src/components/AnalysisResults.tsx:178:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"178","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-6%22%7D",children:[l.jsxs("h3",{className:"text-xl font-bold text-gray-900 mb-4 flex items-center gap-2","data-matrix-id":"src/components/AnalysisResults.tsx:179:10","data-matrix-name":"h3","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"179","data-component-file":"AnalysisResults.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%20mb-4%20flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-6 h-6 text-orange-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:180:12","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"180","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-orange-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),"Recommendations"]}),l.jsx("div",{className:"space-y-3","data-matrix-id":"src/components/AnalysisResults.tsx:185:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"185","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-3%22%7D",children:me.map((R,$)=>l.jsx("div",{className:`p-4 rounded-lg border ${R.priority==="high"?"bg-orange-50 border-orange-200":"bg-gray-50 border-gray-200"}`,"data-matrix-id":"src/components/AnalysisResults.tsx:187:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"187","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%7D",children:l.jsxs("div",{className:"flex items-start gap-3","data-matrix-id":"src/components/AnalysisResults.tsx:195:16","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"195","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-3%22%7D",children:[l.jsx("svg",{className:`w-5 h-5 flex-shrink-0 mt-0.5 ${R.priority==="high"?"text-orange-600":"text-gray-600"}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:196:18","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"196","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22%5BTemplateLiteral%5D%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsxs("div",{className:"flex-1","data-matrix-id":"src/components/AnalysisResults.tsx:206:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"206","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%22%7D",children:[l.jsx("p",{className:"font-semibold text-gray-900 mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:207:20","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"207","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-1%22%7D",children:R.category}),l.jsx("p",{className:"text-gray-700","data-matrix-id":"src/components/AnalysisResults.tsx:208:20","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"208","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-700%22%7D",children:R.recommendation})]}),R.priority==="high"&&l.jsx("span",{className:"px-2 py-1 text-xs font-medium bg-orange-600 text-white rounded","data-matrix-id":"src/components/AnalysisResults.tsx:211:20","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"211","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22px-2%20py-1%20text-xs%20font-medium%20bg-orange-600%20text-white%20rounded%22%7D",children:"HIGH"})]})},$))})]}),ee.length>0&&l.jsxs("div",{className:"bg-white rounded-xl shadow-lg p-6","data-matrix-id":"src/components/AnalysisResults.tsx:224:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"224","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-lg%20p-6%22%7D",children:[l.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-4","data-matrix-id":"src/components/AnalysisResults.tsx:225:10","data-matrix-name":"h3","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"225","data-component-file":"AnalysisResults.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%20mb-4%22%7D",children:"AI Models Used"}),l.jsx("div",{className:"grid md:grid-cols-3 gap-3","data-matrix-id":"src/components/AnalysisResults.tsx:226:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"226","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-3%20gap-3%22%7D",children:ee.map((R,$)=>l.jsxs("div",{className:"border border-gray-200 rounded-lg p-3","data-matrix-id":"src/components/AnalysisResults.tsx:228:14","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"228","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22border%20border-gray-200%20rounded-lg%20p-3%22%7D",children:[l.jsx("p",{className:"font-medium text-gray-900 text-sm mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:229:16","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"229","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22font-medium%20text-gray-900%20text-sm%20mb-1%22%7D",children:R.model}),l.jsx("p",{className:"text-xs text-gray-600 mb-2","data-matrix-id":"src/components/AnalysisResults.tsx:230:16","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"230","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20text-gray-600%20mb-2%22%7D",children:R.domain}),l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/components/AnalysisResults.tsx:231:16","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"231","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("div",{className:"flex-1 h-2 bg-gray-200 rounded-full overflow-hidden","data-matrix-id":"src/components/AnalysisResults.tsx:232:18","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"232","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex-1%20h-2%20bg-gray-200%20rounded-full%20overflow-hidden%22%7D",children:l.jsx("div",{className:"h-full bg-blue-500",style:{width:`${(R.confidence||0)*100}%`},"data-matrix-id":"src/components/AnalysisResults.tsx:233:20","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"233","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22h-full%20bg-blue-500%22%2C%22style%22%3A%7B%22width%22%3A%22%5BTemplateLiteral%5D%22%7D%7D"})}),l.jsxs("span",{className:"text-xs text-gray-600","data-matrix-id":"src/components/AnalysisResults.tsx:238:18","data-matrix-name":"span","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"238","data-component-file":"AnalysisResults.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-xs%20text-gray-600%22%7D",children:[((R.confidence||0)*100).toFixed(0),"%"]})]})]},$))})]}),l.jsx("div",{className:"bg-yellow-50 border border-yellow-200 rounded-lg p-4","data-matrix-id":"src/components/AnalysisResults.tsx:247:6","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"247","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-yellow-50%20border%20border-yellow-200%20rounded-lg%20p-4%22%7D",children:l.jsxs("div",{className:"flex items-start gap-3","data-matrix-id":"src/components/AnalysisResults.tsx:248:8","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"248","data-component-file":"AnalysisResults.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-3%22%7D",children:[l.jsx("svg",{className:"w-6 h-6 text-yellow-600 flex-shrink-0",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/AnalysisResults.tsx:249:10","data-matrix-name":"svg","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"249","data-component-file":"AnalysisResults.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-yellow-600%20flex-shrink-0%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z"})}),l.jsxs("div",{"data-matrix-id":"src/components/AnalysisResults.tsx:252:10","data-matrix-name":"div","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"252","data-component-file":"AnalysisResults.tsx","data-component-name":"div",children:[l.jsx("p",{className:"font-semibold text-yellow-900 mb-1","data-matrix-id":"src/components/AnalysisResults.tsx:253:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"253","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-yellow-900%20mb-1%22%7D",children:"Important Notice"}),l.jsx("p",{className:"text-sm text-yellow-800","data-matrix-id":"src/components/AnalysisResults.tsx:254:12","data-matrix-name":"p","data-component-path":"src/components/AnalysisResults.tsx","data-component-line":"254","data-component-file":"AnalysisResults.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-yellow-800%22%7D",children:"This analysis is generated by AI and provides assistant insights. All results must be reviewed and verified by qualified healthcare professionals before making any clinical decisions. This tool is not a substitute for professional medical judgment."})]})]})})]})}function Qu({onShowModelInfo:w,onReset:M,hasActiveAnalysis:x}){return l.jsx("header",{className:"bg-white shadow-sm border-b border-gray-200","data-matrix-id":"src/components/Header.tsx:14:4","data-matrix-name":"header","data-component-path":"src/components/Header.tsx","data-component-line":"14","data-component-file":"Header.tsx","data-component-name":"header","data-component-content":"%7B%22className%22%3A%22bg-white%20shadow-sm%20border-b%20border-gray-200%22%7D",children:l.jsxs("div",{className:"container mx-auto px-4 py-4 flex items-center justify-between","data-matrix-id":"src/components/Header.tsx:15:6","data-matrix-name":"div","data-component-path":"src/components/Header.tsx","data-component-line":"15","data-component-file":"Header.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22container%20mx-auto%20px-4%20py-4%20flex%20items-center%20justify-between%22%7D",children:[l.jsxs("div",{className:"flex items-center gap-3","data-matrix-id":"src/components/Header.tsx:16:8","data-matrix-name":"div","data-component-path":"src/components/Header.tsx","data-component-line":"16","data-component-file":"Header.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-3%22%7D",children:[l.jsx("div",{className:"w-10 h-10 bg-gradient-to-br from-blue-600 to-purple-600 rounded-lg flex items-center justify-center","data-matrix-id":"src/components/Header.tsx:17:10","data-matrix-name":"div","data-component-path":"src/components/Header.tsx","data-component-line":"17","data-component-file":"Header.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-10%20h-10%20bg-gradient-to-br%20from-blue-600%20to-purple-600%20rounded-lg%20flex%20items-center%20justify-center%22%7D",children:l.jsx("svg",{className:"w-6 h-6 text-white",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/Header.tsx:18:12","data-matrix-name":"svg","data-component-path":"src/components/Header.tsx","data-component-line":"18","data-component-file":"Header.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-white%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),l.jsxs("div",{"data-matrix-id":"src/components/Header.tsx:22:10","data-matrix-name":"div","data-component-path":"src/components/Header.tsx","data-component-line":"22","data-component-file":"Header.tsx","data-component-name":"div",children:[l.jsx("h1",{className:"text-xl font-bold text-gray-900","data-matrix-id":"src/components/Header.tsx:23:12","data-matrix-name":"h1","data-component-path":"src/components/Header.tsx","data-component-line":"23","data-component-file":"Header.tsx","data-component-name":"h1","data-component-content":"%7B%22className%22%3A%22text-xl%20font-bold%20text-gray-900%22%7D",children:"Medical AI Platform"}),l.jsx("p",{className:"text-xs text-gray-500","data-matrix-id":"src/components/Header.tsx:24:12","data-matrix-name":"p","data-component-path":"src/components/Header.tsx","data-component-line":"24","data-component-file":"Header.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20text-gray-500%22%7D",children:"Advanced Report Analysis"})]})]}),l.jsxs("div",{className:"flex items-center gap-3","data-matrix-id":"src/components/Header.tsx:28:8","data-matrix-name":"div","data-component-path":"src/components/Header.tsx","data-component-line":"28","data-component-file":"Header.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-3%22%7D",children:[l.jsxs("button",{onClick:w,className:"px-4 py-2 text-sm font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors","data-matrix-id":"src/components/Header.tsx:29:10","data-matrix-name":"button","data-component-path":"src/components/Header.tsx","data-component-line":"29","data-component-file":"Header.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22px-4%20py-2%20text-sm%20font-medium%20text-gray-700%20hover%3Atext-gray-900%20hover%3Abg-gray-100%20rounded-lg%20transition-colors%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 inline-block mr-1",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/Header.tsx:33:12","data-matrix-name":"svg","data-component-path":"src/components/Header.tsx","data-component-line":"33","data-component-file":"Header.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20inline-block%20mr-1%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),"Models Info"]}),x&&l.jsx("button",{onClick:M,className:"px-4 py-2 text-sm font-medium text-white bg-blue-600 hover:bg-blue-700 rounded-lg transition-colors","data-matrix-id":"src/components/Header.tsx:40:12","data-matrix-name":"button","data-component-path":"src/components/Header.tsx","data-component-line":"40","data-component-file":"Header.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22px-4%20py-2%20text-sm%20font-medium%20text-white%20bg-blue-600%20hover%3Abg-blue-700%20rounded-lg%20transition-colors%22%7D",children:"New Analysis"})]})]})})}function bu({onClose:w}){const M=[{name:"Clinical Notes & Documentation",description:"Comprehensive analysis of clinical documentation",models:["MedGemma 27B","Bio_ClinicalBERT","ClinicalBERT"],tasks:["Summarization","Entity Extraction","Coding"]},{name:"Medical Imaging & Radiology",description:"Visual analysis and report generation",models:["MedGemma 4B Multimodal","MONAI","MedSigLIP"],tasks:["VQA","Report Generation","Segmentation"]},{name:"Pathology",description:"Tissue analysis and slide classification",models:["Path Foundation","UNI2-h","CONCH"],tasks:["Slide Classification","Embedding Generation","ROI Analysis"]},{name:"Cardiology",description:"Cardiac imaging and ECG analysis",models:["HuBERT-ECG","ECG Classifiers"],tasks:["ECG Analysis","Event Prediction","Cardiac Imaging"]},{name:"Laboratory Results",description:"Lab value normalization and interpretation",models:["DrLlama","Lab-AI"],tasks:["Normalization","Explanation","Reference Ranges"]},{name:"Drug Interactions",description:"Medication safety and interaction detection",models:["CatBoost DDI","DrugGen"],tasks:["Interaction Classification","Safety Monitoring"]},{name:"Diagnosis & Triage",description:"Clinical decision support",models:["MedGemma 27B","BioClinicalBERT-Triage"],tasks:["Differential Diagnosis","Triage Classification"]},{name:"Medical Coding",description:"Automated coding extraction",models:["Rayyan Med Coding","ICD-10 Predictors"],tasks:["ICD-10 Extraction","CPT Coding","HCPCS Coding"]},{name:"Mental Health",description:"Screening and sentiment analysis",models:["MentalBERT"],tasks:["Screening","Sentiment Analysis"]}];return l.jsx("div",{className:"fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 p-4 overflow-y-auto","data-matrix-id":"src/components/ModelInfo.tsx:69:4","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"69","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22fixed%20inset-0%20bg-black%20bg-opacity-50%20flex%20items-center%20justify-center%20z-50%20p-4%20overflow-y-auto%22%7D",children:l.jsxs("div",{className:"bg-white rounded-xl shadow-2xl max-w-6xl w-full max-h-[90vh] overflow-y-auto","data-matrix-id":"src/components/ModelInfo.tsx:70:6","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"70","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-xl%20shadow-2xl%20max-w-6xl%20w-full%20max-h-%5B90vh%5D%20overflow-y-auto%22%7D",children:[l.jsx("div",{className:"sticky top-0 bg-gradient-to-r from-blue-600 to-purple-600 text-white p-6 rounded-t-xl","data-matrix-id":"src/components/ModelInfo.tsx:72:8","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"72","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22sticky%20top-0%20bg-gradient-to-r%20from-blue-600%20to-purple-600%20text-white%20p-6%20rounded-t-xl%22%7D",children:l.jsxs("div",{className:"flex items-center justify-between","data-matrix-id":"src/components/ModelInfo.tsx:73:10","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"73","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20justify-between%22%7D",children:[l.jsxs("div",{"data-matrix-id":"src/components/ModelInfo.tsx:74:12","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"74","data-component-file":"ModelInfo.tsx","data-component-name":"div",children:[l.jsx("h2",{className:"text-2xl font-bold mb-2","data-matrix-id":"src/components/ModelInfo.tsx:75:14","data-matrix-name":"h2","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"75","data-component-file":"ModelInfo.tsx","data-component-name":"h2","data-component-content":"%7B%22className%22%3A%22text-2xl%20font-bold%20mb-2%22%7D",children:"Specialized Medical AI Models"}),l.jsx("p",{className:"text-blue-100","data-matrix-id":"src/components/ModelInfo.tsx:76:14","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"76","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-100%22%7D",children:"50+ domain-specific models across 9 clinical areas"})]}),l.jsx("button",{onClick:w,className:"p-2 hover:bg-white/10 rounded-lg transition-colors","data-matrix-id":"src/components/ModelInfo.tsx:78:12","data-matrix-name":"button","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"78","data-component-file":"ModelInfo.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22p-2%20hover%3Abg-white%2F10%20rounded-lg%20transition-colors%22%7D",children:l.jsx("svg",{className:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/ModelInfo.tsx:82:14","data-matrix-name":"svg","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"82","data-component-file":"ModelInfo.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]})}),l.jsxs("div",{className:"p-6 space-y-6","data-matrix-id":"src/components/ModelInfo.tsx:90:8","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"90","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22p-6%20space-y-6%22%7D",children:[l.jsxs("div",{className:"bg-blue-50 border border-blue-200 rounded-lg p-4","data-matrix-id":"src/components/ModelInfo.tsx:92:10","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"92","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-blue-50%20border%20border-blue-200%20rounded-lg%20p-4%22%7D",children:[l.jsx("h3",{className:"font-semibold text-blue-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:93:12","data-matrix-name":"h3","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"93","data-component-file":"ModelInfo.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-blue-900%20mb-2%22%7D",children:"Layered AI Architecture"}),l.jsx("p",{className:"text-blue-800 text-sm mb-3","data-matrix-id":"src/components/ModelInfo.tsx:94:12","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"94","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-blue-800%20text-sm%20mb-3%22%7D",children:"Our platform uses a two-layer processing approach for comprehensive medical document analysis:"}),l.jsxs("div",{className:"space-y-2 text-sm","data-matrix-id":"src/components/ModelInfo.tsx:97:12","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"97","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-2%20text-sm%22%7D",children:[l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/ModelInfo.tsx:98:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"98","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("span",{className:"font-semibold text-blue-900 min-w-[80px]","data-matrix-id":"src/components/ModelInfo.tsx:99:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"99","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-blue-900%20min-w-%5B80px%5D%22%7D",children:"Layer 1:"}),l.jsx("span",{className:"text-blue-800","data-matrix-id":"src/components/ModelInfo.tsx:100:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"100","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-blue-800%22%7D",children:"PDF extraction, document classification, and intelligent routing"})]}),l.jsxs("div",{className:"flex items-start gap-2","data-matrix-id":"src/components/ModelInfo.tsx:102:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"102","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-start%20gap-2%22%7D",children:[l.jsx("span",{className:"font-semibold text-blue-900 min-w-[80px]","data-matrix-id":"src/components/ModelInfo.tsx:103:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"103","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-blue-900%20min-w-%5B80px%5D%22%7D",children:"Layer 2:"}),l.jsx("span",{className:"text-blue-800","data-matrix-id":"src/components/ModelInfo.tsx:104:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"104","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-blue-800%22%7D",children:"Specialized model analysis with concurrent processing and result synthesis"})]})]})]}),l.jsx("div",{className:"grid md:grid-cols-2 gap-4","data-matrix-id":"src/components/ModelInfo.tsx:110:10","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"110","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-2%20gap-4%22%7D",children:M.map((x,Q)=>l.jsxs("div",{className:"border border-gray-200 rounded-lg p-4 hover:shadow-md transition-shadow","data-matrix-id":"src/components/ModelInfo.tsx:112:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"112","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22border%20border-gray-200%20rounded-lg%20p-4%20hover%3Ashadow-md%20transition-shadow%22%7D",children:[l.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:113:16","data-matrix-name":"h3","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"113","data-component-file":"ModelInfo.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-lg%20font-bold%20text-gray-900%20mb-2%22%7D",children:x.name}),l.jsx("p",{className:"text-sm text-gray-600 mb-3","data-matrix-id":"src/components/ModelInfo.tsx:114:16","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"114","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-600%20mb-3%22%7D",children:x.description}),l.jsxs("div",{className:"space-y-3","data-matrix-id":"src/components/ModelInfo.tsx:116:16","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"116","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-3%22%7D",children:[l.jsxs("div",{"data-matrix-id":"src/components/ModelInfo.tsx:117:18","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"117","data-component-file":"ModelInfo.tsx","data-component-name":"div",children:[l.jsx("p",{className:"text-xs font-semibold text-gray-700 mb-1","data-matrix-id":"src/components/ModelInfo.tsx:118:20","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"118","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20font-semibold%20text-gray-700%20mb-1%22%7D",children:"Models:"}),l.jsx("div",{className:"flex flex-wrap gap-1","data-matrix-id":"src/components/ModelInfo.tsx:119:20","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"119","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20flex-wrap%20gap-1%22%7D",children:x.models.map((_,U)=>l.jsx("span",{className:"px-2 py-1 bg-blue-100 text-blue-800 text-xs rounded","data-matrix-id":"src/components/ModelInfo.tsx:121:24","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"121","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22px-2%20py-1%20bg-blue-100%20text-blue-800%20text-xs%20rounded%22%7D",children:_},U))})]}),l.jsxs("div",{"data-matrix-id":"src/components/ModelInfo.tsx:131:18","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"131","data-component-file":"ModelInfo.tsx","data-component-name":"div",children:[l.jsx("p",{className:"text-xs font-semibold text-gray-700 mb-1","data-matrix-id":"src/components/ModelInfo.tsx:132:20","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"132","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20font-semibold%20text-gray-700%20mb-1%22%7D",children:"Tasks:"}),l.jsx("div",{className:"flex flex-wrap gap-1","data-matrix-id":"src/components/ModelInfo.tsx:133:20","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"133","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20flex-wrap%20gap-1%22%7D",children:x.tasks.map((_,U)=>l.jsx("span",{className:"px-2 py-1 bg-gray-100 text-gray-700 text-xs rounded","data-matrix-id":"src/components/ModelInfo.tsx:135:24","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"135","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22px-2%20py-1%20bg-gray-100%20text-gray-700%20text-xs%20rounded%22%7D",children:_},U))})]})]})]},Q))}),l.jsxs("div",{className:"border-t border-gray-200 pt-6","data-matrix-id":"src/components/ModelInfo.tsx:150:10","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"150","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22border-t%20border-gray-200%20pt-6%22%7D",children:[l.jsx("h3",{className:"text-lg font-bold text-gray-900 mb-4","data-matrix-id":"src/components/ModelInfo.tsx:151:12","data-matrix-name":"h3","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"151","data-component-file":"ModelInfo.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-lg%20font-bold%20text-gray-900%20mb-4%22%7D",children:"Technical Implementation"}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-4","data-matrix-id":"src/components/ModelInfo.tsx:152:12","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"152","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-3%20gap-4%22%7D",children:[l.jsxs("div",{className:"bg-gray-50 rounded-lg p-4","data-matrix-id":"src/components/ModelInfo.tsx:153:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"153","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-gray-50%20rounded-lg%20p-4%22%7D",children:[l.jsx("h4",{className:"font-semibold text-gray-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:154:16","data-matrix-name":"h4","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"154","data-component-file":"ModelInfo.tsx","data-component-name":"h4","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-2%22%7D",children:"Concurrent Processing"}),l.jsx("p",{className:"text-sm text-gray-600","data-matrix-id":"src/components/ModelInfo.tsx:155:16","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"155","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-600%22%7D",children:"Multiple specialized models process documents simultaneously for faster analysis"})]}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-4","data-matrix-id":"src/components/ModelInfo.tsx:159:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"159","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-gray-50%20rounded-lg%20p-4%22%7D",children:[l.jsx("h4",{className:"font-semibold text-gray-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:160:16","data-matrix-name":"h4","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"160","data-component-file":"ModelInfo.tsx","data-component-name":"h4","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-2%22%7D",children:"Result Synthesis"}),l.jsx("p",{className:"text-sm text-gray-600","data-matrix-id":"src/components/ModelInfo.tsx:161:16","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"161","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-600%22%7D",children:"Advanced fusion strategies combine outputs from multiple models for comprehensive insights"})]}),l.jsxs("div",{className:"bg-gray-50 rounded-lg p-4","data-matrix-id":"src/components/ModelInfo.tsx:165:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"165","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-gray-50%20rounded-lg%20p-4%22%7D",children:[l.jsx("h4",{className:"font-semibold text-gray-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:166:16","data-matrix-name":"h4","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"166","data-component-file":"ModelInfo.tsx","data-component-name":"h4","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-gray-900%20mb-2%22%7D",children:"Confidence Calibration"}),l.jsx("p",{className:"text-sm text-gray-600","data-matrix-id":"src/components/ModelInfo.tsx:167:16","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"167","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-gray-600%22%7D",children:"Weighted confidence scoring ensures reliable and trustworthy results"})]})]})]}),l.jsxs("div",{className:"bg-green-50 border border-green-200 rounded-lg p-4","data-matrix-id":"src/components/ModelInfo.tsx:175:10","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"175","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-green-50%20border%20border-green-200%20rounded-lg%20p-4%22%7D",children:[l.jsx("h3",{className:"font-semibold text-green-900 mb-2","data-matrix-id":"src/components/ModelInfo.tsx:176:12","data-matrix-name":"h3","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"176","data-component-file":"ModelInfo.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22font-semibold%20text-green-900%20mb-2%22%7D",children:"Regulatory Compliance"}),l.jsx("p",{className:"text-sm text-green-800 mb-3","data-matrix-id":"src/components/ModelInfo.tsx:177:12","data-matrix-name":"p","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"177","data-component-file":"ModelInfo.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%20text-green-800%20mb-3%22%7D",children:"All models and processing pipelines are designed with healthcare regulatory requirements in mind:"}),l.jsxs("div",{className:"grid md:grid-cols-3 gap-3 text-sm","data-matrix-id":"src/components/ModelInfo.tsx:180:12","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"180","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-3%20gap-3%20text-sm%22%7D",children:[l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/components/ModelInfo.tsx:181:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"181","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/ModelInfo.tsx:182:16","data-matrix-name":"svg","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"182","data-component-file":"ModelInfo.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20text-green-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{className:"text-green-800","data-matrix-id":"src/components/ModelInfo.tsx:185:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"185","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-green-800%22%7D",children:"HIPAA Compliant"})]}),l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/components/ModelInfo.tsx:187:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"187","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/ModelInfo.tsx:188:16","data-matrix-name":"svg","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"188","data-component-file":"ModelInfo.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20text-green-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{className:"text-green-800","data-matrix-id":"src/components/ModelInfo.tsx:191:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"191","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-green-800%22%7D",children:"GDPR Aligned"})]}),l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/components/ModelInfo.tsx:193:14","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"193","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-4 h-4 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/components/ModelInfo.tsx:194:16","data-matrix-name":"svg","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"194","data-component-file":"ModelInfo.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-4%20h-4%20text-green-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})}),l.jsx("span",{className:"text-green-800","data-matrix-id":"src/components/ModelInfo.tsx:197:16","data-matrix-name":"span","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"197","data-component-file":"ModelInfo.tsx","data-component-name":"span","data-component-content":"%7B%22className%22%3A%22text-green-800%22%7D",children:"FDA Guidance"})]})]})]})]}),l.jsx("div",{className:"border-t border-gray-200 p-4 bg-gray-50 rounded-b-xl","data-matrix-id":"src/components/ModelInfo.tsx:204:8","data-matrix-name":"div","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"204","data-component-file":"ModelInfo.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22border-t%20border-gray-200%20p-4%20bg-gray-50%20rounded-b-xl%22%7D",children:l.jsx("button",{onClick:w,className:"w-full px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors font-medium","data-matrix-id":"src/components/ModelInfo.tsx:205:10","data-matrix-name":"button","data-component-path":"src/components/ModelInfo.tsx","data-component-line":"205","data-component-file":"ModelInfo.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22w-full%20px-4%20py-2%20bg-blue-600%20text-white%20rounded-lg%20hover%3Abg-blue-700%20transition-colors%20font-medium%22%7D",children:"Close"})})]})})}function Ku(){const[w,M]=Ge.useState({jobId:"",status:"idle",progress:0,message:""}),[x,Q]=Ge.useState(null),[_,U]=Ge.useState(!1),[q,X]=Ge.useState(0),T=30,me=()=>"",[ee]=Ge.useState(me()),z=async H=>{try{Q(null),X(0),M({jobId:"",status:"uploading",progress:0,message:"Uploading document..."});const F=new FormData;F.append("file",H);const oe=await fetch(`${ee}/analyze`,{method:"POST",body:F});if(!oe.ok){const ge=await oe.text();throw new Error(`Upload failed: ${oe.status} - ${ge}`)}const ce=await oe.json(),Se=ce.job_id;M({jobId:Se,status:"processing",progress:ce.progress||0,message:ce.message||"Analysis started..."}),R(Se)}catch(F){console.error("Upload error:",F),M({jobId:"",status:"failed",progress:0,message:F instanceof Error?F.message:"Upload failed"})}},R=async H=>{try{X(ce=>ce+1);const F=await fetch(`${ee}/status/${H}`);if(!F.ok){const ce=await F.text();throw new Error(`Status check failed: ${F.status} - ${ce}`)}const oe=await F.json();if(M({jobId:H,status:oe.status,progress:oe.progress||0,message:oe.message||"Processing..."}),oe.status==="completed"){const ce=await fetch(`${ee}/results/${H}`);if(!ce.ok){const ge=await ce.text();throw new Error(`Failed to fetch results: ${ce.status} - ${ge}`)}const Se=await ce.json();Q(Se),console.log("Results fetched successfully:",Se)}else if(oe.status==="processing")if(qR(H),2e3);else throw new Error("Analysis timed out after 60 seconds. Please try again.");else if(oe.status==="failed")throw new Error("Analysis failed. Please try again.")}catch(F){console.error("Status polling error:",F),M(oe=>({...oe,status:"failed",message:F instanceof Error?F.message:"Status check failed"}))}},$=async()=>{if(w.jobId)try{const H=await fetch(`${ee}/results/${w.jobId}`);if(H.ok){const F=await H.json();Q(F),M(oe=>({...oe,status:"completed"}))}}catch(H){console.error("Manual result check failed:",H)}},ae=()=>{M({jobId:"",status:"idle",progress:0,message:""}),Q(null),X(0)};return l.jsxs("div",{className:"min-h-screen bg-gradient-to-br from-blue-50 via-white to-blue-50","data-matrix-id":"src/App.tsx:192:4","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"192","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22min-h-screen%20bg-gradient-to-br%20from-blue-50%20via-white%20to-blue-50%22%7D",children:[l.jsx(Qu,{onShowModelInfo:()=>U(!0),onReset:ae,hasActiveAnalysis:w.status!=="idle","data-matrix-id":"src/App.tsx:193:6","data-matrix-name":"Header","data-component-path":"src/App.tsx","data-component-line":"193","data-component-file":"App.tsx","data-component-name":"Header","data-component-content":"%7B%22onShowModelInfo%22%3A%22%5BArrowFunctionExpression%5D%22%2C%22onReset%22%3A%22%5BIdentifier%5D%22%2C%22hasActiveAnalysis%22%3A%22%5BBinaryExpression%5D%22%7D"}),l.jsxs("main",{className:"container mx-auto px-4 py-8 max-w-7xl","data-matrix-id":"src/App.tsx:199:6","data-matrix-name":"main","data-component-path":"src/App.tsx","data-component-line":"199","data-component-file":"App.tsx","data-component-name":"main","data-component-content":"%7B%22className%22%3A%22container%20mx-auto%20px-4%20py-8%20max-w-7xl%22%7D",children:[l.jsxs("div",{className:"text-center mb-12","data-matrix-id":"src/App.tsx:201:8","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"201","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22text-center%20mb-12%22%7D",children:[l.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-gray-900 mb-4","data-matrix-id":"src/App.tsx:202:10","data-matrix-name":"h1","data-component-path":"src/App.tsx","data-component-line":"202","data-component-file":"App.tsx","data-component-name":"h1","data-component-content":"%7B%22className%22%3A%22text-4xl%20md%3Atext-5xl%20font-bold%20text-gray-900%20mb-4%22%7D",children:"Medical Report Analysis Platform"}),l.jsx("p",{className:"text-lg md:text-xl text-gray-600 max-w-3xl mx-auto","data-matrix-id":"src/App.tsx:205:10","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"205","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-lg%20md%3Atext-xl%20text-gray-600%20max-w-3xl%20mx-auto%22%7D",children:"Advanced AI-powered analysis using 50+ specialized medical models across 9 clinical domains"}),l.jsxs("div",{className:"mt-4 flex items-center justify-center gap-4 text-sm text-gray-500","data-matrix-id":"src/App.tsx:208:10","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"208","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mt-4%20flex%20items-center%20justify-center%20gap-4%20text-sm%20text-gray-500%22%7D",children:[l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/App.tsx:209:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"209","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:210:14","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"210","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsx("span",{"data-matrix-id":"src/App.tsx:213:14","data-matrix-name":"span","data-component-path":"src/App.tsx","data-component-line":"213","data-component-file":"App.tsx","data-component-name":"span",children:"HIPAA Compliant"})]}),l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/App.tsx:215:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"215","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:216:14","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"216","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsx("span",{"data-matrix-id":"src/App.tsx:219:14","data-matrix-name":"span","data-component-path":"src/App.tsx","data-component-line":"219","data-component-file":"App.tsx","data-component-name":"span",children:"GDPR Compliant"})]}),l.jsxs("div",{className:"flex items-center gap-2","data-matrix-id":"src/App.tsx:221:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"221","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22flex%20items-center%20gap-2%22%7D",children:[l.jsx("svg",{className:"w-5 h-5 text-green-500",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:222:14","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"222","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-5%20h-5%20text-green-500%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsx("span",{"data-matrix-id":"src/App.tsx:225:14","data-matrix-name":"span","data-component-path":"src/App.tsx","data-component-line":"225","data-component-file":"App.tsx","data-component-name":"span",children:"FDA Guidance Aligned"})]})]})]}),l.jsxs("div",{className:"space-y-8","data-matrix-id":"src/App.tsx:231:8","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"231","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22space-y-8%22%7D",children:[w.status==="idle"&&l.jsx(Wu,{onFileUpload:z,"data-matrix-id":"src/App.tsx:233:12","data-matrix-name":"FileUpload","data-component-path":"src/App.tsx","data-component-line":"233","data-component-file":"App.tsx","data-component-name":"FileUpload","data-component-content":"%7B%22onFileUpload%22%3A%22%5BIdentifier%5D%22%7D"}),(w.status==="uploading"||w.status==="processing")&&l.jsx(Vu,{status:w.status,progress:w.progress,message:w.message,"data-matrix-id":"src/App.tsx:237:12","data-matrix-name":"AnalysisStatus","data-component-path":"src/App.tsx","data-component-line":"237","data-component-file":"App.tsx","data-component-name":"AnalysisStatus","data-component-content":"%7B%22status%22%3A%22%5BMemberExpression%5D%22%2C%22progress%22%3A%22%5BMemberExpression%5D%22%2C%22message%22%3A%22%5BMemberExpression%5D%22%7D"}),w.status==="completed"&&x&&l.jsx($u,{result:x,onReset:ae,"data-matrix-id":"src/App.tsx:245:12","data-matrix-name":"AnalysisResults","data-component-path":"src/App.tsx","data-component-line":"245","data-component-file":"App.tsx","data-component-name":"AnalysisResults","data-component-content":"%7B%22result%22%3A%22%5BIdentifier%5D%22%2C%22onReset%22%3A%22%5BIdentifier%5D%22%7D"}),w.status==="failed"&&l.jsxs("div",{className:"bg-red-50 border border-red-200 rounded-lg p-6 text-center","data-matrix-id":"src/App.tsx:252:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"252","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-red-50%20border%20border-red-200%20rounded-lg%20p-6%20text-center%22%7D",children:[l.jsx("svg",{className:"w-12 h-12 text-red-500 mx-auto mb-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:253:14","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"253","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-12%20h-12%20text-red-500%20mx-auto%20mb-4%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})}),l.jsx("h3",{className:"text-xl font-semibold text-red-900 mb-2","data-matrix-id":"src/App.tsx:256:14","data-matrix-name":"h3","data-component-path":"src/App.tsx","data-component-line":"256","data-component-file":"App.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-xl%20font-semibold%20text-red-900%20mb-2%22%7D",children:"Analysis Failed"}),l.jsx("p",{className:"text-red-700 mb-4","data-matrix-id":"src/App.tsx:257:14","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"257","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-red-700%20mb-4%22%7D",children:w.message}),w.jobId&&l.jsx("div",{className:"mb-4","data-matrix-id":"src/App.tsx:261:16","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"261","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22mb-4%22%7D",children:l.jsx("button",{onClick:$,className:"px-4 py-2 bg-blue-600 text-white rounded-lg hover:bg-blue-700 transition-colors mr-4","data-matrix-id":"src/App.tsx:262:18","data-matrix-name":"button","data-component-path":"src/App.tsx","data-component-line":"262","data-component-file":"App.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22px-4%20py-2%20bg-blue-600%20text-white%20rounded-lg%20hover%3Abg-blue-700%20transition-colors%20mr-4%22%7D",children:"Check Results Manually"})}),l.jsx("button",{onClick:ae,className:"px-6 py-2 bg-red-600 text-white rounded-lg hover:bg-red-700 transition-colors","data-matrix-id":"src/App.tsx:271:14","data-matrix-name":"button","data-component-path":"src/App.tsx","data-component-line":"271","data-component-file":"App.tsx","data-component-name":"button","data-component-content":"%7B%22onClick%22%3A%22%5BIdentifier%5D%22%2C%22className%22%3A%22px-6%20py-2%20bg-red-600%20text-white%20rounded-lg%20hover%3Abg-red-700%20transition-colors%22%7D",children:"Try Again"})]})]}),w.status==="idle"&&l.jsxs("div",{className:"grid md:grid-cols-3 gap-6 mt-12","data-matrix-id":"src/App.tsx:283:10","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"283","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22grid%20md%3Agrid-cols-3%20gap-6%20mt-12%22%7D",children:[l.jsxs("div",{className:"bg-white rounded-lg shadow-md p-6","data-matrix-id":"src/App.tsx:284:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"284","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-lg%20shadow-md%20p-6%22%7D",children:[l.jsx("div",{className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4","data-matrix-id":"src/App.tsx:285:14","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"285","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-12%20h-12%20bg-blue-100%20rounded-lg%20flex%20items-center%20justify-center%20mb-4%22%7D",children:l.jsx("svg",{className:"w-6 h-6 text-blue-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:286:16","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"286","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-blue-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"})})}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2","data-matrix-id":"src/App.tsx:290:14","data-matrix-name":"h3","data-component-path":"src/App.tsx","data-component-line":"290","data-component-file":"App.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-lg%20font-semibold%20text-gray-900%20mb-2%22%7D",children:"Multi-Format Support"}),l.jsx("p",{className:"text-gray-600","data-matrix-id":"src/App.tsx:291:14","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"291","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-600%22%7D",children:"Process all types of medical reports: radiology, pathology, lab results, clinical notes, and more"})]}),l.jsxs("div",{className:"bg-white rounded-lg shadow-md p-6","data-matrix-id":"src/App.tsx:296:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"296","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-lg%20shadow-md%20p-6%22%7D",children:[l.jsx("div",{className:"w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4","data-matrix-id":"src/App.tsx:297:14","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"297","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-12%20h-12%20bg-green-100%20rounded-lg%20flex%20items-center%20justify-center%20mb-4%22%7D",children:l.jsx("svg",{className:"w-6 h-6 text-green-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:298:16","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"298","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-green-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"})})}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2","data-matrix-id":"src/App.tsx:302:14","data-matrix-name":"h3","data-component-path":"src/App.tsx","data-component-line":"302","data-component-file":"App.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-lg%20font-semibold%20text-gray-900%20mb-2%22%7D",children:"Specialized AI Models"}),l.jsx("p",{className:"text-gray-600","data-matrix-id":"src/App.tsx:303:14","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"303","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-600%22%7D",children:"Leverages 50+ domain-specific models including MedGemma, MONAI, and specialized clinical AI"})]}),l.jsxs("div",{className:"bg-white rounded-lg shadow-md p-6","data-matrix-id":"src/App.tsx:308:12","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"308","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22bg-white%20rounded-lg%20shadow-md%20p-6%22%7D",children:[l.jsx("div",{className:"w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4","data-matrix-id":"src/App.tsx:309:14","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"309","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22w-12%20h-12%20bg-purple-100%20rounded-lg%20flex%20items-center%20justify-center%20mb-4%22%7D",children:l.jsx("svg",{className:"w-6 h-6 text-purple-600",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24","data-matrix-id":"src/App.tsx:310:16","data-matrix-name":"svg","data-component-path":"src/App.tsx","data-component-line":"310","data-component-file":"App.tsx","data-component-name":"svg","data-component-content":"%7B%22className%22%3A%22w-6%20h-6%20text-purple-600%22%2C%22fill%22%3A%22none%22%2C%22stroke%22%3A%22currentColor%22%2C%22viewBox%22%3A%220%200%2024%2024%22%7D",children:l.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"})})}),l.jsx("h3",{className:"text-lg font-semibold text-gray-900 mb-2","data-matrix-id":"src/App.tsx:314:14","data-matrix-name":"h3","data-component-path":"src/App.tsx","data-component-line":"314","data-component-file":"App.tsx","data-component-name":"h3","data-component-content":"%7B%22className%22%3A%22text-lg%20font-semibold%20text-gray-900%20mb-2%22%7D",children:"Secure & Compliant"}),l.jsx("p",{className:"text-gray-600","data-matrix-id":"src/App.tsx:315:14","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"315","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-gray-600%22%7D",children:"Built with medical-grade security, HIPAA compliance, and regulatory alignment (FDA, GDPR)"})]})]})]}),_&&l.jsx(bu,{onClose:()=>U(!1),"data-matrix-id":"src/App.tsx:325:8","data-matrix-name":"ModelInfo","data-component-path":"src/App.tsx","data-component-line":"325","data-component-file":"App.tsx","data-component-name":"ModelInfo","data-component-content":"%7B%22onClose%22%3A%22%5BArrowFunctionExpression%5D%22%7D"}),l.jsx("footer",{className:"mt-16 py-8 border-t border-gray-200","data-matrix-id":"src/App.tsx:329:6","data-matrix-name":"footer","data-component-path":"src/App.tsx","data-component-line":"329","data-component-file":"App.tsx","data-component-name":"footer","data-component-content":"%7B%22className%22%3A%22mt-16%20py-8%20border-t%20border-gray-200%22%7D",children:l.jsxs("div",{className:"container mx-auto px-4 text-center text-gray-600","data-matrix-id":"src/App.tsx:330:8","data-matrix-name":"div","data-component-path":"src/App.tsx","data-component-line":"330","data-component-file":"App.tsx","data-component-name":"div","data-component-content":"%7B%22className%22%3A%22container%20mx-auto%20px-4%20text-center%20text-gray-600%22%7D",children:[l.jsx("p",{className:"text-sm","data-matrix-id":"src/App.tsx:331:10","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"331","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-sm%22%7D",children:"Medical Report Analysis Platform • AI-Powered Clinical Intelligence"}),l.jsx("p",{className:"text-xs mt-2 text-gray-500","data-matrix-id":"src/App.tsx:334:10","data-matrix-name":"p","data-component-path":"src/App.tsx","data-component-line":"334","data-component-file":"App.tsx","data-component-name":"p","data-component-content":"%7B%22className%22%3A%22text-xs%20mt-2%20text-gray-500%22%7D",children:"This platform provides AI-assisted analysis. All results should be reviewed by qualified healthcare professionals."})]})})]})}Tu.createRoot(document.getElementById("root")).render(l.jsx(Ge.StrictMode,{"data-matrix-id":"src/main.tsx:8:2","data-matrix-name":"StrictMode","data-component-path":"src/main.tsx","data-component-line":"8","data-component-file":"main.tsx","data-component-name":"StrictMode",children:l.jsx(Hu,{children:l.jsx(Ku,{"data-matrix-id":"src/main.tsx:10:6","data-matrix-name":"App","data-component-path":"src/main.tsx","data-component-line":"10","data-component-file":"main.tsx","data-component-name":"App"})})}));