1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[906],{5779:(e,t,r)=>{r.d(t,{N:()=>n});let n=(0,r(7722).UU)("https://qsaskytjggcqjruzgivz.supabase.co","sb_publishable_js179IXOU-BGDms1XkfLgA_-Tlg8Gu-",{auth:{flowType:"implicit"}})},5952:(e,t,r)=>{r.d(t,{h:()=>d});var n=r(4799),i=r(4023),o=r(8377),l=r(2862);let s=[{icon:(0,n.jsx)(o.ok6,{}),href:"https://www.facebook.com/amandahillrdh"},{icon:(0,n.jsx)(o.H1h,{}),href:"https://www.linkedin.com/in/amanda-hill-rdh-261167149"},{icon:(0,n.jsx)(o.ao$,{}),href:"https://www.instagram.com/amandahillrdh/"}],a=[{label:"Blog",href:"/blog"},{label:"About",href:"/#about"},{label:"Events",href:"/#events"},{label:"Speaker Packet",href:"/speaker-packet"},{label:"Resources",href:"/resources"},{label:"Connect",href:"/#contact"}];function d(){let[e,t]=(0,i.useState)(""),[r,o]=(0,i.useState)(!1),[d,c]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=window.location.pathname.replace(/\/$/,"")||"/";t(e.startsWith("/docs")?"/resources":e);let r=()=>o(window.innerWidth<960);return r(),window.addEventListener("resize",r),()=>window.removeEventListener("resize",r)},[]),(0,n.jsxs)("div",{style:{position:"relative",flexShrink:0,zIndex:50},children:[(0,n.jsxs)("div",{style:{position:"relative",height:120,overflow:"hidden",background:"#ffffff",borderBottom:"1px solid #e5e7eb"},children:[(0,n.jsx)("div",{style:{position:"absolute",inset:0,backgroundImage:"url('/assets/ahrdh/bg-image-16.jpg')",backgroundSize:"auto 200px",backgroundPosition:"left center",backgroundRepeat:"no-repeat",WebkitMaskImage:"linear-gradient(to right, black 267px, transparent 370px)",maskImage:"linear-gradient(to right, black 267px, transparent 370px)"}}),(0,n.jsxs)("div",{style:{position:"relative",zIndex:1,height:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 2rem"},children:[(0,n.jsxs)("div",{style:{position:"relative",flexShrink:0},children:[(0,n.jsx)("a",{href:"/",style:{position:"absolute",top:-2,left:0,fontFamily:"'Poppins', sans-serif",fontSize:"0.7rem",color:"#374151",textDecoration:"none",display:"flex",alignItems:"center",gap:"0.2rem",zIndex:2},children:"â Return Home"}),(0,n.jsx)("a",{href:"/",children:(0,n.jsx)("img",{src:"/assets/ahrdh/logo.png",alt:"Amanda Hill RDH",style:{height:100,width:"auto",display:"block"}})})]}),r?(0,n.jsx)("button",{onClick:()=>c(e=>!e),style:{background:"none",border:"none",cursor:"pointer",color:"#1f1f25",fontSize:"1.5rem",display:"flex",alignItems:"center",padding:"0.25rem"},"aria-label":"Menu",children:d?(0,n.jsx)(l.yGN,{}):(0,n.jsx)(l.ND1,{})}):(0,n.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1.75rem"},children:[a.map(t=>{let{label:r,href:i}=t,o=i.startsWith("/")&&!i.includes("#")&&e===i;return(0,n.jsx)("a",{href:i,style:{fontFamily:"'Poppins', sans-serif",fontSize:"0.85rem",fontWeight:o?700:500,color:o?"#DF2882":"#1f1f25",textDecoration:"none",whiteSpace:"nowrap",borderBottom:o?"2px solid #DF2882":"2px solid transparent",paddingBottom:"2px"},children:r},r)}),(0,n.jsx)("div",{style:{display:"flex",gap:"0.65rem",alignItems:"center",marginLeft:"0.5rem"},children:s.map((e,t)=>(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer",style:{color:"#9ca3af",fontSize:"0.95rem",display:"flex"},children:e.icon},t))})]})]})]}),(0,n.jsx)("style",{children:"\n @keyframes slideInRight {\n from { opacity: 0; transform: translateX(16px); }\n to { opacity: 1; transform: translateX(0); }\n }\n "}),r&&d&&(0,n.jsxs)("div",{style:{position:"absolute",top:120,right:0,width:"min(320px, 90vw)",background:"#ffffff",borderBottom:"1px solid #e5e7eb",borderLeft:"1px solid #e5e7eb",borderBottomLeftRadius:"12px",boxShadow:"0 8px 24px rgba(0,0,0,0.08)",zIndex:100,padding:"0.75rem 2rem 1rem",display:"flex",flexDirection:"column",animation:"slideInRight 0.18s ease"},children:[a.map(t=>{let{label:r,href:i}=t,o=i.startsWith("/")&&!i.includes("#")&&e===i;return(0,n.jsx)("a",{href:i,onClick:()=>c(!1),style:{fontFamily:"'Poppins', sans-serif",fontSize:"0.95rem",fontWeight:o?700:500,color:o?"#DF2882":"#1f1f25",textDecoration:"none",padding:"0.6rem 0",borderBottom:"1px solid #f3f4f6"},children:r},r)}),(0,n.jsx)("div",{style:{display:"flex",gap:"1rem",alignItems:"center",paddingTop:"0.75rem"},children:s.map((e,t)=>(0,n.jsx)("a",{href:e.href,target:"_blank",rel:"noreferrer",style:{color:"#9ca3af",fontSize:"1.1rem",display:"flex"},children:e.icon},t))})]})]})}},6633:(e,t,r)=>{r.d(t,{Jq:()=>p,Kf:()=>a,Pr:()=>s,QM:()=>f,Yq:()=>c,oP:()=>u,qK:()=>d,w0:()=>h});var n=r(4799),i=r(4023),o=r(2862),l=r(5779);function s(e){return e.startsWith("https://qsaskytjggcqjruzgivz.supabase.co/storage/")}function a(e,t){let r="/object/public/".concat(t,"/"),n=e.indexOf(r);return -1===n?e:e.slice(n+r.length)}let d=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return{padding:"0.4rem 0.85rem",borderRadius:"8px",border:"none",background:t?"#e5e7eb":e,color:t?"#9ca3af":"#fff",fontWeight:600,fontSize:"0.875rem",cursor:t?"not-allowed":"pointer",whiteSpace:"nowrap"}};function c(e){return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}async function f(e,t,r){let{error:n}=await l.N.storage.from(e).upload(t,r,{upsert:!0});if(n)return null;let{data:i}=l.N.storage.from(e).getPublicUrl(t);return i.publicUrl}async function p(e){var t;if(!s(e))return e;let r=a(e,"documents"),{data:n}=await l.N.storage.from("documents").createSignedUrl(r,3600);return null!=(t=null==n?void 0:n.signedUrl)?t:e}function u(e){let{open:t,colSpan:r,children:o}=e,[l,s]=(0,i.useState)(t),[a,d]=(0,i.useState)("in");return((0,i.useEffect)(()=>
1{if(t)s(!0),d("in");else if(l){d("out");let e=setTimeout(()=>s(!1),220);return()=>clearTimeout(e)}},[t]),l)?(0,n.jsx)("tr",{children:(0,n.jsx)("td",{colSpan:r,style:{padding:0},children:(0,n.jsx)("div",{style:{animation:"".concat("in"===a?"inlineEditIn":"inlineEditOut"," ").concat(220,"ms ease ").concat("out"===a?"forwards":"")},children:o})})}):null}function h(e){let{type:t,selectedId:r,assets:s,onSelect:a,onClose:u,onUploaded:h}=e,[m,x]=(0,i.useState)(!1),[g,b]=(0,i.useState)(null),[y,j]=(0,i.useState)(new Set),[v,k]=(0,i.useState)({}),[w,S]=(0,i.useState)(r),z=(0,i.useRef)(null),C="image"===t;async function I(e,t,r){if(r.stopPropagation(),!v[e]){let r=await p(t);k(t=>({...t,[e]:r}))}j(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})}async function R(e){x(!0),b(null);let t=await f(C?"thumbnails":"documents","presentations/".concat(e.name),e);if(!t){b("Upload failed."),x(!1);return}let r=e.name.replace(/\.[^.]+$/,""),{data:n,error:i}=await l.N.from(C?"images":"documents").insert({name:r,url:t}).select("id, name, url, created_at").single();if(x(!1),i||!n){var o;b(null!=(o=null==i?void 0:i.message)?o:"Insert failed.");return}h(n),S(n.id)}return(0,i.useEffect)(()=>{function e(e){"Escape"===e.key&&u()}return document.body.style.overflow="hidden",document.addEventListener("keydown",e),()=>{document.body.style.overflow="",document.removeEventListener("keydown",e)}},[u]),(0,n.jsx)("div",{style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.45)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",padding:"1rem"},onClick:u,children:(0,n.jsxs)("div",{style:{background:"#fff",borderRadius:"16px",width:"100%",maxWidth:"700px",maxHeight:"82vh",display:"flex",flexDirection:"column",overflow:"hidden",boxShadow:"0 20px 60px rgba(0,0,0,0.2)"},onClick:e=>e.stopPropagation(),children:[(0,n.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",padding:"1rem 1.25rem",borderBottom:"1px solid #e5e7eb",flexShrink:0},children:[(0,n.jsx)("h3",{style:{margin:0,fontSize:"1rem",fontWeight:600},children:C?"Choose Thumbnail":"Choose PDF"}),(0,n.jsx)("button",{onClick:u,style:{background:"none",border:"none",cursor:"pointer",fontSize:"1.2rem",color:"#6b7280",lineHeight:1,padding:"0.25rem"},children:"â"})]}),(0,n.jsx)("input",{ref:z,type:"file",accept:C?"image/jpeg,image/jpg,image/png,image/webp":"application/pdf",style:{display:"none"},onChange:e=>{var t;let r=null==(t=e.target.files)?void 0:t[0];r&&R(r),e.target.value=""}}),(0,n.jsx)("div",{style:{overflowY:"auto",padding:"1rem 1.25rem",flex:1},children:C?(0,n.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(auto-fill, minmax(160px, 1fr))",gap:"0.75rem"},children:[(0,n.jsxs)("div",{onClick:()=>{var e;return!m&&(null==(e=z.current)?void 0:e.click())},style:{border:"2px dashed #d1d5db",borderRadius:"10px",cursor:m?"default":"pointer",background:"#fafafa",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",gap:"0.35rem",padding:"1rem",minHeight:120},children:[(0,n.jsx)("span",{style:{fontSize:"1.5rem",lineHeight:1,color:"#9ca3af"},children:m?"â³":"â"}),(0,n.jsx)("span",{style:{fontSize:"0.75rem",color:"#6b7280",textAlign:"center"},children:m?"Uploadingâ¦":"Upload image"}),g&&(0,n.jsx)("span",{style:{fontSize:"0.7rem",color:"#dc2626",textAlign:"center"},children:g})]}),s.map(e=>{let t=e.id===w;return(0,n.jsxs)("div",{onClick:()=>S(e.id),style:{border:"2px solid ".concat(t?"#4338ca":"#e5e7eb"),borderRadius:"10px",overflow:"hidden",cursor:"pointer",background:t?"#eef2ff":"#fff",transition:"border-color 0.12s"},children:[(0,n.jsxs)("div",{style:{position:"relative"},children:[(0,n.jsx)("img",{src:e.url,alt:e.name,style:{width:"100%",aspectRatio:"3/2",objectFit:"cover",display:"block"}}),t&&(0,n.jsx)("div",{style:{position:"absolute",top:6,right:6,background:"#4338ca",color:"#fff",borderRadius:"50%",width:22,height:22,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.75rem",fontWeight:700},children:"â"})]}),(0,n.jsxs)("div",{style:{padding:"0.45rem 0.6rem"},children:[(0,n.jsx)("div",{style:{fontSize:"0.78rem",fontWeight:500,color:"#111827",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),(0,n.jsx)("div",{style:{fontSize:"0.7rem",color:"#9ca3af",marginTop:"0.1rem"},children:c(e.created_at)})]})]},e.id)})]}):(0,n.jsxs)("div",{style:{display:"flex",flexDirection:"column",gap:"0.4rem"},children:[(0,n.jsxs)("div",{onClick:()=>{var e;return!m&&(null==(e=z.current)?void 0:e.click())},style:{display:"flex",alignItems:"center",gap:"0.75rem",padding:"0.65rem 0.75rem",borderRadius:"10px",border:"2px dashed #d1d5db",background:"#fafafa",cursor:m?"default":"pointer"},children:[(0,n.jsx)("span",{style:{fontSize:"1.4rem",flexShrink:0,lineHeight:1,color:"#9ca3af"},children:m?"â³":"â"}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,n.jsx)("div",{style:{fontSize:"0.875rem",color:"#6b7280"},children:m?"Uploadingâ¦":"Upload PDF"}),g&&(0,n.jsx)("div",{style:{fontSize:"0.75rem",color:"#dc2626",marginTop:"0.1rem"},children:g})]})]}),s.map(e=>{var t;let r=e.id===w,i=y.has(e.id);return(0,n.jsxs)("div",{style:{borderRadius:"10px",overflow:"hidden",border:"2px s
1olid ".concat(r?"#4338ca":"#e5e7eb"),background:r?"#eef2ff":"#fff",transition:"border-color 0.12s"},children:[(0,n.jsxs)("div",{onClick:()=>S(e.id),style:{display:"flex",alignItems:"center",gap:"0.75rem",padding:"0.65rem 0.75rem",cursor:"pointer"},children:[(0,n.jsx)(o.QuH,{size:20,style:{flexShrink:0,color:"#6b7280"}}),(0,n.jsxs)("div",{style:{flex:1,minWidth:0},children:[(0,n.jsx)("div",{style:{fontSize:"0.875rem",fontWeight:500,color:"#111827",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.name}),(0,n.jsx)("div",{style:{fontSize:"0.75rem",color:"#9ca3af",marginTop:"0.1rem"},children:c(e.created_at)})]}),(0,n.jsx)("button",{onClick:t=>I(e.id,e.url,t),style:{background:"none",border:"1px solid #d1d5db",borderRadius:"6px",padding:"0.2rem 0.5rem",cursor:"pointer",fontSize:"0.75rem",color:"#6b7280",flexShrink:0},children:i?"â² Hide":"â¼ Preview"}),r&&(0,n.jsx)("span",{style:{background:"#4338ca",color:"#fff",borderRadius:"50%",width:20,height:20,display:"flex",alignItems:"center",justifyContent:"center",fontSize:"0.7rem",fontWeight:700,flexShrink:0},children:"â"})]}),i&&(0,n.jsx)("div",{style:{borderTop:"1px solid #e5e7eb"},onClick:e=>e.stopPropagation(),children:(0,n.jsx)("iframe",{src:null!=(t=v[e.id])?t:"",title:e.name,style:{width:"100%",height:380,display:"block",border:"none"}})})]},e.id)})]})}),(0,n.jsxs)("div",{style:{padding:"0.75rem 1.25rem",borderTop:"1px solid #e5e7eb",display:"flex",justifyContent:"flex-end",gap:"0.5rem",flexShrink:0},children:[(0,n.jsx)("button",{style:{...d("#6b7280"),background:"transparent",color:"#6b7280",border:"1px solid #d1d5db"},onClick:u,children:"Cancel"}),(0,n.jsx)("button",{style:d("#4338ca",!w),disabled:!w,onClick:()=>{let e=s.find(e=>e.id===w);e&&a(e)},children:"Confirm"})]})]})})}}}]);
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.