1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5845],{64269:(e,t,s)=>{s.d(t,{cn:()=>i});var n=s(2821),a=s(75889);function i(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return(0,a.QP)((0,n.$)(t))}},75845:(e,t,s)=>{s.d(t,{c:()=>w,lN:()=>f,xp:()=>g});var n=s(95155),a=s(12115),i=s(12834),r=s(65229),l=s(39867),o=s(75426),c=s(56154),d=s(5917),x=s(52508),m=s(79451),h=s(54690),u=s(64269);function p(e){let{className:t,size:s=256,showInstructions:h=!0,autoShow:u=!1,onClose:p,forceShow:f=!1}=e,[w,b]=(0,a.useState)(""),[j,v]=(0,a.useState)(!1),[N,y]=(0,a.useState)(u),[k,A]=(0,a.useState)("desktop");(0,a.useEffect)(()=>{b(new URL("/mediqo?source=qr",window.location.origin).toString());let e=navigator.userAgent;/iPad/i.test(e)?A("tablet"):/iPhone|iPod|Android/i.test(e)?A("mobile"):A("desktop")},[]);let S=async()=>{try{await navigator.clipboard.writeText(w),v(!0),setTimeout(()=>v(!1),2e3)}catch(e){console.error("Failed to copy:",e)}},C=()=>{y(!1),null==p||p()},M=async()=>{if(navigator.share)try{await navigator.share({title:"Mediqo â KI Gesundheits-Companion",text:"Installiere Mediqo â Dein KI-gest\xfctzter Gesundheits-Companion",url:w})}catch(e){console.error("Share failed:",e)}else S()};if(!N&&!f)return null;let{canInstall:q,installPWA:P}=g(),z=async()=>{q?(await P(),C()):await M()};return(0,n.jsx)("div",{className:"fixed inset-0 z-50 flex items-start justify-center pt-16 pb-6 px-4 sm:px-6 bg-black/50 backdrop-blur-sm",onClick:e=>{e.target===e.currentTarget&&C()},children:(0,n.jsx)("div",{className:"bg-gradient-to-br from-slate-900/80 to-slate-800/80 border border-white/5 rounded-2xl shadow-2xl w-full max-w-3xl max-h-[80vh] overflow-y-auto",onClick:e=>e.stopPropagation(),children:(0,n.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-0",children:[(0,n.jsxs)("div",{className:"relative p-5 flex flex-col items-center justify-center bg-gradient-to-b from-white/5 to-white/2",children:[(0,n.jsx)("style",{children:"\n .net-group{transform-origin:50% 50%;}\n .net-node{fill:#fff;opacity:0.06;transform-box:fill-box;transform-origin:center;}\n .net-line{stroke:rgba(255,255,255,0.06);stroke-width:1;stroke-linecap:round}\n .net-group{animation:netFloat 18s ease-in-out infinite}\n .net-node{animation:nodePulse 6s ease-in-out infinite}\n @keyframes nodePulse{0%,100%{opacity:0.06;transform:translateY(0)}50%{opacity:0.18;transform:translateY(-4px)}}\n @keyframes netFloat{0%{transform:translateX(0)}50%{transform:translateX(6px)}100%{transform:translateX(0)}}\n @media (prefers-reduced-motion: reduce){.net-group,.net-node{animation:none!important}}\n "}),(0,n.jsx)("div",{className:"absolute inset-0 pointer-events-none opacity-30",children:(0,n.jsx)("svg",{className:"w-full h-full net-svg",viewBox:"0 0 300 200",preserveAspectRatio:"xMidYMid slice",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:(0,n.jsxs)("g",{className:"net-group",children:[(0,n.jsx)("line",{x1:"40",y1:"40",x2:"140",y2:"30",className:"net-line"}),(0,n.jsx)("line",{x1:"140",y1:"30",x2:"220",y2:"60",className:"net-line"}),(0,n.jsx)("line",{x1:"40",y1:"40",x2:"70",y2:"120",className:"net-line"}),(0,n.jsx)("line",{x1:"70",y1:"120",x2:"160",y2:"140",className:"net-line"}),(0,n.jsx)("line",{x1:"160",y1:"140",x2:"240",y2:"100",className:"net-line"}),(0,n.jsx)("circle",{cx:"40",cy:"40",r:"3",className:"net-node"}),(0,n.jsx)("circle",{cx:"140",cy:"30",r:"3.5",className:"net-node"}),(0,n.jsx)("circle",{cx:"220",cy:"60",r:"3",className:"net-node"}),(0,n.jsx)("circle",{cx:"70",cy:"120",r:"2.8",className:"net-node"}),(0,n.jsx)("circle",{cx:"160",cy:"140",r:"3.2",className:"net-node"}),(0,n.jsx)("circle",{cx:"240",cy:"100",r:"2.6",className:"net-node"})]})})}),(0,n.jsx)("div",{className:"p-3 bg-white/95 rounded-xl shadow-inner border border-white/10",children:w?(0,n.jsx)(i.h,{value:w,size:200,level:"H",includeMargin:!0}):(0,n.jsx)("div",{className:"w-[200px] h-[200px] bg-gray-100 rounded flex items-center justify-center",children:(0,n.jsx)("span",{className:"text-sm text-gray-500",children:"Lade..."})})}),(0,n.jsxs)("div",{className:"mt-3 text-center",children:[(0,n.jsx)("h4",{className:"text-sm font-semibold text-white",children:"Mediqo installieren"}),(0,n.jsxs)("p",{className:"text-xs text-white/70 mt-1 max-w-[220px]",children:["Scanne den QRâCode und installiere ",(0,n.jsx)("span",{className:"font-medium",children:"Mediqo"})," auf deinem Smartphone."]})]})]}),(0,n.jsxs)("div",{className:"p-5 bg-slate-900/80",children:[(0,n.jsxs)("div",{className:"flex items-start justify-between",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("h3",{className:"text-lg font-bold text-white",children:"Mediqo â K
1I GesundheitsâCompanion"}),(0,n.jsx)("p",{className:"text-sm text-white/70 mt-1",children:"Vitalwerte, KIâArzt, MedTech TV und Community â alles in einer App."})]}),(0,n.jsx)("button",{onClick:C,className:"p-1.5 rounded-md text-white/70 hover:text-white",children:(0,n.jsx)(r.A,{className:"w-5 h-5"})})]}),(0,n.jsxs)("div",{className:"mt-4 flex gap-3",children:[(0,n.jsxs)("button",{onClick:z,className:"flex-1 inline-flex items-center justify-center gap-2 px-4 py-2 rounded-lg bg-gradient-to-r from-cyan-500 to-blue-600 hover:from-cyan-600 hover:to-blue-700 text-white font-medium shadow-md shadow-cyan-500/20",children:[(0,n.jsx)(l.A,{className:"w-4 h-4"}),q?"Mediqo installieren":"Mediqo teilen"]}),(0,n.jsxs)("button",{onClick:S,className:"px-3 py-2 rounded-lg bg-slate-800 border border-white/5 text-white/80 hover:text-white",children:[(0,n.jsx)(o.A,{className:"w-4 h-4 mr-2 inline"}),j?"Kopiert":"Link kopieren"]})]}),(0,n.jsxs)("div",{className:"mt-5 grid grid-cols-1 gap-3",children:[(0,n.jsxs)("div",{className:"flex items-start gap-3",children:[(0,n.jsx)("div",{className:"p-2 bg-rose-600/10 rounded",children:(0,n.jsx)(c.A,{className:"w-5 h-5 text-rose-400"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h6",{className:"text-sm text-white font-medium",children:"KIâArzt & Symptom-Check"}),(0,n.jsx)("p",{className:"text-xs text-white/70",children:"KIâgest\xfctzte Gesundheitsanalyse direkt in der Mediqo App."})]})]}),(0,n.jsxs)("div",{className:"flex items-start gap-3",children:[(0,n.jsx)("div",{className:"p-2 bg-white/5 rounded",children:(0,n.jsx)(d.A,{className:"w-5 h-5 text-green-400"})}),(0,n.jsxs)("div",{children:[(0,n.jsx)("h6",{className:"text-sm text-white font-medium",children:"Sicher & DSGVOâkonform"}),(0,n.jsx)("p",{className:"text-xs text-white/70",children:"Ihre Daten werden verschl\xfcsselt auf europ\xe4ischen Servern gespeichert."})]})]})]}),(0,n.jsxs)("div",{className:"mt-5 border-t border-white/5 pt-4",children:[(0,n.jsx)("h6",{className:"text-xs text-white/80 font-semibold",children:"Kurzanleitung"}),(0,n.jsxs)("ul",{className:"mt-2 grid grid-cols-1 gap-2 text-xs text-white/70",children:[(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(x.A,{className:"w-4 h-4"}),' iOS: Kamera â QR scannen â Safari \xf6ffnet Mediqo â Teilen â âZum HomeâBildschirm"']}),(0,n.jsxs)("li",{className:"flex items-center gap-2",children:[(0,n.jsx)(m.A,{className:"w-4 h-4"}),' Android: Kamera â QR scannen â âMediqo installieren" im Banner antippen']})]})]}),(0,n.jsx)("div",{className:"mt-4 text-xs text-white/60",children:"Mediqo funktioniert wie eine native App â mit Offline-Zugriff und PushâBenachrichtigungen."})]})]})})})}function f(e){let{className:t,size:s}=e,[i,r]=(0,a.useState)(!1),l=s||40,o=window.innerWidth<768,c=o?Math.min(l,32):l;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{onClick:()=>r(!0),className:(0,u.cn)("group relative flex items-center justify-center rounded-xl border border-white/20 bg-gradient-to-br from-slate-800/90 to-slate-900/90 backdrop-blur-sm transition-all duration-300 shadow-lg hover:shadow-xl hover:shadow-cyan-500/20","hover:border-cyan-400/50 hover:scale-105","before:absolute before:inset-0 before:rounded-xl before:bg-gradient-to-br before:from-cyan-500/10 before:to-blue-500/10 before:opacity-0 before:transition-opacity before:duration-300 hover:before:opacity-100",t),style:{width:c,height:c},"aria-label":"PWA QR Code anzeigen",children:[(0,n.jsx)("div",{className:"absolute inset-0 rounded-xl bg-[linear-gradient(to_right,#ffffff0a_1px,transparent_1px),linear-gradient(to_bottom,#ffffff0a_1px,transparent_1px)] bg-[size:4px_4px] opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),(0,n.jsx)("div",{className:"absolute inset-0 rounded-xl bg-gradient-to-br from-cyan-500/0 to-blue-500/0 group-hover:from-cyan-500/20 group-hover:to-blue-500/20 transition-all duration-300"}),(0,n.jsxs)("div",{className:"relative z-10",children:[(0,n.jsx)(h.A,{className:"text-slate-300 group-hover:text-white transition-colors duration-300 ".concat(o?"w-3 h-3":"w-4 h-4")}
1),(0,n.jsx)("div",{className:"absolute inset-0 rounded-full bg-cyan-400/20 animate-ping opacity-0 group-hover:opacity-100"})]})]}),i&&(0,n.jsx)(p,{size:200,showInstructions:!0,onClose:()=>r(!1),forceShow:!0})]})}function g(){let[e,t]=(0,a.useState)(!1),[s,n]=(0,a.useState)(!1),[i,r]=(0,a.useState)(null);return(0,a.useEffect)(()=>{t(window.matchMedia("(display-mode: standalone)").matches||!0===window.navigator.standalone);let e=e=>{e.preventDefault(),r(e),n(!0)},s=()=>{t(!0),r(null),n(!1)};return window.addEventListener("beforeinstallprompt",e),window.addEventListener("appinstalled",s),()=>{window.removeEventListener("beforeinstallprompt",e),window.removeEventListener("appinstalled",s)}},[]),{isPWA:e,canInstall:s,installPWA:async()=>{if(i){i.prompt();let{outcome:e}=await i.userChoice;return r(null),n(!1),"accepted"===e}return!1}}}function w(){let{isPWA:e,canInstall:t}=g(),[s,i]=(0,a.useState)(!1);return e?(0,n.jsxs)("div",{className:"flex items-center gap-2 text-green-600 text-sm",children:[(0,n.jsx)("div",{className:"w-2 h-2 bg-green-600 rounded-full"}),"PWA installiert"]}):t?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("button",{onClick:()=>i(!0),className:"flex items-center gap-2 text-blue-600 text-sm hover:text-blue-700 transition-colors cursor-pointer","aria-label":"PWA \xfcber QR Code installieren",children:[(0,n.jsx)(l.A,{className:"w-4 h-4"}),"PWA verf\xfcgbar"]}),s&&(0,n.jsx)(p,{size:200,showInstructions:!0,onClose:()=>i(!1),forceShow:!0})]}):null}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.