1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7817],{16485:(n,t,e)=>{e.d(t,{A:()=>o});let o=(0,e(55129).A)("calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},57817:(n,t,e)=>{e.r(t),e.d(t,{default:()=>c});var o=e(95155);e(12115);var a=e(16485),r=e(18720);let c=n=>{let{dateTime:t,onClose:e}=n;return(0,o.jsx)("div",{className:"w-full rounded-2xl border p-5 sm:p-6 transition-all duration-300",style:{borderColor:"var(--rule)",background:"color-mix(in srgb, var(--teal) 6%, white)",boxShadow:"0 20px 40px -22px rgba(20,49,81,0.15)"},children:(0,o.jsxs)("div",{className:"space-y-4 sm:space-y-5",children:[(0,o.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,o.jsx)("div",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold text-white shadow-2xs",style:{background:"linear-gradient(135deg, var(--navy), var(--teal))"},children:"â"}),(0,o.jsx)("h3",{className:"font-display text-lg sm:text-xl font-semibold tracking-tight",style:{color:"var(--navy)"},children:"Demo Request Confirmed!"})]}),(0,o.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground font-normal",children:"Thank you for scheduling a demo with us. You'll receive a confirmation email with the Zoom link shortly at your registered email address."}),(0,o.jsxs)("div",{className:"p-4 rounded-xl border bg-white shadow-3xs",style:{borderColor:"color-mix(in srgb, var(--teal) 15%, var(--rule))"},children:[(0,o.jsx)("span",{className:"block font-mono text-[11px] uppercase tracking-wider text-muted-foreground mb-1 font-semibold",children:"Your appointment:"}),(0,o.jsx)("p",{className:"text-sm leading-relaxed text-muted-foreground font-normal sm:text-base",style:{color:"var(--navy)"},children:t})]}),(0,o.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-center gap-3 pt-1",children:[(0,o.jsxs)("button",{type:"button",onClick:()=>{try{let[n,e]=t.split(" at ");if(!e)throw Error("Invalid dateTime format");let o=n.replace(/(\d+)(st|nd|rd|th)/,"$1"),a=new Date(o),c=a.getFullYear(),l=String(a.getMonth()+1).padStart(2,"0"),i=String(a.getDate()).padStart(2,"0"),s="".concat(c).concat(l).concat(i),d=e.trim().split(" ")[0]+" "+e.trim().split(" ")[1],h=new Date("1970-01-01T".concat(function(n){let[t,e]=n.split(" "),[o,a]=t.split(":");return"PM"===e&&"12"!==o&&(o=String(parseInt(o,10)+12)),"AM"===e&&"12"===o&&(o="00"),"".concat(o,":").concat(a)}(d))),p=h.toTimeString().split(" ")[0].replace(/:/g,"").substring(0,6),m=new Date(h.getTime()+36e5).toTimeString().split(" ")[0].replace(/:/g,"").substring(0,6),g={text:"S10.AI Product Demo",description:"Join us for an interactive demo of S10.AI's Bravo & Crush solutions. We'll show you how our AI-powered tools can transform your clinical workflow.",location:"Online - Zoom",startDate:s,startTime:p,endDate:s,endTime:m},u="".concat(g.startDate,"T").concat(g.startTime,"/").concat(g.endDate,"T").concat(g.endTime),x="https://calendar.google.com/calendar/render?action=TEMPLATE&text=".concat(encodeURIComponent(g.text),"&details=").concat(encodeURIComponent(g.description),"&location=").concat(encodeURIComponent(g.location),"&dates=").concat(encodeURIComponent(u)),b="https://outlook.live.com/calendar/0/deeplink/compose?subject=".concat(encodeURIComponent(g.text),"&body=").concat(encodeURIComponent(g.description),"&location=").concat(encodeURIComponent(g.location),"&startdt=").concat(g.startDate,"T").concat(g.startTime,"&enddt=").concat(g.endDate,"T").concat(g.endTime,"&path=/calendar/action/compose&rru=addevent"),w="https://calendar.yahoo.com/?v=60&title=".concat(encodeURIComponent(g.text),"&desc=").concat(encodeURIComponent(g.description),"&in_loc=").concat(encodeURIComponent(g.location),"&st=").concat(g.startDate,"T").concat(g.startTime,"&et=").concat(g.endDate,"T").concat(g.endTime),f=window.open("","Add to Calendar","width=400,height=500,menubar=no,toolbar=no");f&&f.document.write('\n <html>\n // <head>\n // <title>Add to Calendar</title>\n // <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">\n // <style>\n // body { \n // font-family: \'Inter\', sans-serif; \n // background-color: #ffffff;\n // display: flex;\n // justify-content: center;\n // align-items: center;\n // height: 100vh;\n // margin: 0;\n // }\n // .calendar-container {\n // background-color: white;\n // border-radius: 12px;\n // box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n // padding: 24px;\n // max-width: 350px;\n // width: 100%;\n // }\n // .calendar-btn {\n // display: flex;\n // align-items: center;\n // justify-content: center;\n // width: 100%;\n // padding: 12px;\n // margin: 10px 0;\n // border-radius: 8px;\n // font-weight: 600;\n // transition: all 0.3s ease;\n // }\n // .calendar-btn:hover {\n // opacity: 0.9;\n // }\n // .google-btn {\n // background-color: #4285F4;\n // color: white;\n // }\n // .outlook-btn {\n // background-color: #0078D4;\n // color: white;\n // }\n // .yahoo-btn {\n // background-color: #6001D2;\n // color: white;\n // }\n // .btn-icon {\n // margin-right: 10px;\n // }\n // .close-btn {\n // background-color: #387E89;\n // color: white;\n // border-radius: 8px;\n // padding: 10px 20px;\n // margin-top: 15px;\n // cursor: pointer;\n // transition: background-color 0.3s ease;\n // }\n // .close-btn:hover {\n // background-color: #2c6269;\n // }\n // </style>\n // </head>\n\n <head>\n <title>Add to Calendar</title>\n\n \x3c!-- Defer Tailwind CSS --\x3e\n <link rel="preload" as="style" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" onload="this.onload=null;this.rel=\'stylesheet\'">\n <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css"></noscript>\n\n \x3c!-- Inline critical styles --\x3e\n <style>\n body {\n font-family: \'Inter\', sans-serif;\n background-color: #ffffff;\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n margin: 0;\n }\n .calendar-container {\n background-color: white;\n border-radius: 12px;\n box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n padding: 24px;\n max-width: 350px;\n width: 100%;\n }\n .calendar-btn {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%;\n padding: 12px;\n margin: 10px 0;\n border-radius: 8px;\n font-weight: 600;\n transition: all 0.3s ease;\n }\n .calendar-btn:hover { opacity: 0.9; }\n .google-btn { background-color: #4285F4; color: white; }\n .outlook-btn { background-color: #0078D4; color: white; }\n .yahoo-btn { background-color: #6001D2; color: white; }\n .btn-icon { margin-right: 10px; }\n .close-btn {\n background-color: #387E89;\n color: white;\n border-radius: 8px;\n padding: 10px 20px;\n margin-top: 15px;\n cursor: pointer;\n transition: background-color 0.3s ease;\n }\n .close-btn:hover { background-color: #2c6269; }\n </style>\n</head>\n\n <body>\n <div class="calendar-container">\n <h2 class="text-2xl font-bold text-center text-gray-800 mb
1-6">Add to Calendar</h2>\n <p class="text-center text-gray-600 mb-4">Choose your preferred calendar service</p>\n \n <a href="'.concat(x,'" target="_blank" class="calendar-btn google-btn">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white" class="btn-icon">\n <path d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.733s3.773-8.733 8.6-8.733c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.698 0 .835 4.845.835 10.92s4.863 10.92 11.645 10.92c3.577 0 6.247-1.175 8.335-3.408 2.16-2.16 2.84-5.213 2.84-7.647 0-.76-.053-1.467-.173-2.053H12.48z"/>\n </svg>\n Google Calendar\n </a>\n \n <a href="').concat(b,'" target="_blank" class="calendar-btn outlook-btn">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white" class="btn-icon">\n <path d="M7.88 12.04V6.261l7.207 3.777-7.207 2.002zm11.264-4.857h-2.473l-1.59-2.978A1.778 1.778 0 0 0 13.465 3H8.687a1.549 1.549 0 0 0-1.622 1.472v14.329c0 .812.666 1.472 1.622 1.472h9.626c.956 0 1.622-.66 1.622-1.472V8.44c0-.64-.361-1.224-.861-1.493z"/>\n </svg>\n Outlook Calendar\n </a>\n \n <a href="').concat(w,'" target="_blank" class="calendar-btn yahoo-btn">\n <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white" class="btn-icon">\n <path d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10S2 17.514 2 12 6.486 2 12 2zm0-2C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm3.707 16.707c-.378.378-1.021.378-1.414 0l-2.293-2.293c-.286-.286-.781-.286-1.062 0L9.646 15h-.293c-.533 0-1-.467-1-1v-1c0-.533.467-1 1-1h.293l1.293 1.293c.286.286.781.286 1.062 0l2.293-2.293c.378-.378 1.021-.378 1.414 0l.293.293c.378.378.378 1.021 0 1.414l-2.293 2.293c-.378.378-.378 1.021 0 1.414l.293.293c.378.378.378 1.021 0 1.414z"/>\n </svg>\n Yahoo Calendar\n </a>\n \n <div class="text-center">\n <button onclick="window.close()" class="close-btn">Close</button>\n </div>\n </div>\n </body>\n </html>\n ')),r.oR.success("Choose your calendar service to add the event")}catch(n){console.error("Error adding to calendar:",n),r.oR.error("Failed to open calendar options. Please try again.")}},className:"group flex h-11 items-center justify-center gap-2 rounded-full border-0 px-5 text-xs font-mono uppercase tracking-wider text-white shadow-sm transition-all duration-300 transform hover:-translate-y-0.5 active:translate-y-0 hover:opacity-95 w-full sm:w-auto",style:{background:"linear-gradient(135deg, var(--navy), var(--teal))"},children:[(0,o.jsx)(a.A,{className:"h-4 w-4 opacity-90 transition-transform group-hover:scale-105"}),"Add to Calendar"]}),(0,o.jsx)("button",{type:"button",onClick:()=>window.location.reload(),className:"flex h-11 items-center justify-center gap-2 rounded-full border bg-white px-5 text-xs font-mono uppercase tracking-wider text-gray-700 transition-all duration-300 transform hover:-translate-y-0.5 hover:bg-gray-50/50 active:translate-y-0 w-full sm:w-auto",style:{borderColor:"var(--rule)"},children:"Schedule Another Demo"})]})]})})}}}]);
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.