PageSourceSearch

https://smilestardental.com.au/_next/static/immutable/chunks/25-vcaf-s0v3q.js

js smilestardental.com.au collected 2026-10-08 02:21:15 UTC 43,463 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,30852,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(57688),a=e.i(46932),i=e.i(88653),s=e.i(48020),l=e=>{var{firstImage:l,secondImage:o,className:c,firstImageClassName:u,secondImageClassname:d,initialSliderPercentage:f=0,showHandlebar:h=!0,autoplay:m=!1,autoplayDuration:p=5e3}=e,[v,x]=(0,r.useState)(f),[g,b]=(0,r.useState)(!1),y=(0,r.useRef)(null),w=(0,r.useRef)(null),k=(0,r.useCallback)(()=>{m&&(w.current&&clearInterval(w.current),w.current=setInterval(()=>{x(e=>e>=100?0:e+2)},p/50))},[m,p]),j=(0,r.useCallback)(()=>{w.current&&(clearInterval(w.current),w.current=null)},[]);(0,r.useEffect)(()=>(m&&k(),()=>j()),[m,k,j]);var M=(0,r.useCallback)(()=>{b(!0),j()},[j]),E=(0,r.useCallback)(()=>{b(!1),k()},[k]),N=(0,r.useCallback)(e=>{if(y.current&&g){var t=y.current.getBoundingClientRect();x(Math.max(0,Math.min(100,(e-t.left)/t.width*100)))}},[g]),L=(0,r.useCallback)(()=>{M()},[M]),C=(0,r.useCallback)(()=>{E()},[E]),R=(0,r.useCallback)(e=>{N(e.clientX)},[N]);(0,r.useEffect)(()=>{if(g){var e=()=>E(),t=e=>N(e.clientX);return document.addEventListener("mouseup",e),document.addEventListener("mousemove",t),()=>{document.removeEventListener("mouseup",e),document.removeEventListener("mousemove",t)}}},[g,E,N]);var S=(0,r.useCallback)(()=>{j()},[j]);return(0,t.jsxs)("div",{ref:y,className:(0,s.cn)("relative w-full cursor-pointer overflow-hidden select-none",c),onMouseMove:R,onMouseDown:L,onMouseUp:C,onClick:S,children:[(0,t.jsx)(i.AnimatePresence,{children:(0,t.jsx)(a.motion.div,{className:"h-full w-px absolute top-0 m-auto z-30 bg-gradient-to-b from-transparent from-[5%] to-[95%] via-indigo-500 to-transparent",style:{left:"".concat(v,"%"),top:"0",zIndex:40},transition:{duration:0},children:h&&(0,t.jsx)("div",{className:"w-3 h-3 rounded-full bg-indigo-500 top-1/2 -translate-y-1/2 -translate-x-1/2 absolute z-30 border-2 border-white shadow-lg",children:(0,t.jsx)("div",{className:"w-full h-full rounded-full bg-indigo-500"})})})}),(0,t.jsx)("div",{className:"overflow-hidden absolute top-0 left-0 right-0 w-full h-full select-none",children:(0,t.jsx)(a.motion.div,{className:"absolute top-0 left-0 right-0 w-full h-full select-none",style:{clipPath:"polygon(0 0, ".concat(v,"% 0, ").concat(v,"% 100%, 0 100%)")},children:(0,t.jsx)(n.default,{alt:"Before treatment",src:l,fill:!0,sizes:"(max-width: 480px) 100vw, (max-width: 1024px) 90vw, 820px",quality:100,priority:!0,loading:"eager",draggable:!1,className:(0,s.cn)("rounded-xl absolute inset-0 z-20 h-full w-full object-cover object-center",u)})})}),(0,t.jsx)("div",{className:"overflow-hidden absolute top-0 left-0 right-0 w-full h-full",children:(0,t.jsx)(a.motion.div,{className:"absolute top-0 left-0 right-0 w-full h-full",style:{clipPath:"polygon(".concat(v,"% 0, 100% 0, 100% 100%, ").concat(v,"% 100%)")},children:(0,t.jsx)(n.default,{alt:"After treatment",src:o,fill:!0,sizes:"(max-width: 480px) 100vw, (max-width: 1024px) 90vw, 820px",quality:100,priority:!0,loading:"eager",draggable:!1,className:(0,s.cn)("absolute rounded-xl inset-0 z-20 h-full w-full object-cover object-center",d)})})})]})},o=(0,e.i(56420).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),c=e.i(38172);e.s(["BeforeAfterDisclaimer",0,function(){var[e,n]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{if(e){var t=e=>{"Escape"===e.key&&n(!1)},r=window.scrollY,{body:a,documentElement:i}=document,s={htmlOverflow:i.style.overflow,bodyOverflow:a.style.overflow,bodyPosition:a.style.position,bodyTop:a.style.top,bodyLeft:a.style.left,bodyRight:a.style.right,bodyWidth:a.style.width};return i.style.overflow="hidden",a.style.overflow="hidden",a.style.position="fixed",a.style.top="-".concat(r,"px"),a.style.left="0",a.style.right="0",a.style.width="100%",window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t),i.style.overflow=s.htmlOverflow,a.style.overflow=s.bodyOverflow,a.style.position=s.bodyPosition,a.style.top=s.bodyTop,a.style.left=s.bodyLeft,a.style.right=s.bodyRight,a.style.width=s.bodyWidth,window.scrollTo(0,r)}}},[e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex h-full min-h-0 flex-col rounded-xl border border-gold-400/25 bg-gold-600/15 p-4 shadow-md",children:[(0,t.jsx)("div",{className:"flex min-h-0 flex-1 flex-col items-center justify-center",children:(0,t.jsx)(l,{firstImage:"/images/braces-after.png",secondImage:"/images/braces-before.png",firstImageClassName:"object-cover object-center",secondImageClassname:"object-cover object-center",className:"mx-auto aspect-[451/166] w-full max-w-[451px]",showHandlebar:!0,autoplay:!0,autoplayDuration:5e3})}),(0,t.jsxs)("p",{className:"shrink-0 pt-3 text-center text-xs text-slate-600",children:["*Individual results vary."," ",(0,t.jsx)("button",{type:"button",onClick:()=>n(!0),className:"underline underline-offset-2 hover:text-slate-800 focus:outline-none focus-visible:ring-2 focus-visible:ring-yellow-500 rounded","aria-haspopup":"dialog","aria-expanded":e,"aria-controls":"before-after-disclaimer",children:"Read full disclaimer"})]})]}),(0,t.jsx)(i.AnimatePresence,{children:e&&(0,t.jsx)(a.motion.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-50 flex items-end justify-center bg-black/60 p-3 backdrop-blur-sm sm:items-center sm:p-4",onClick:()=>n(!1),"aria-hidden":!1,children:(0,t.jsxs)(a.motion.div,{role:"dialog","aria-modal":"true","aria-labelledby":"before-after-disclaimer-title",id:"before-after-disclaimer",initial:{opacity:0,y:24,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:24,scale:.98},transition:{duration:.25,ease:"easeOut"},className:"relative flex max-h-[calc(100dvh-1.5rem)] w-full max-w-lg flex-col rounded-2xl bg-white p-5 text-slate-700 shadow-2xl sm:max-h-[calc(100dvh-2rem)] sm:p-7",onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("button",{type:"button",onClick:()=>n(!1),"aria-label":"Close disclaimer",autoFocus:!0,className:"absolute right-3 top-3 inline-flex h-9 w-9 items-center justify-center rounded-full text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900 focus:outline-none focus-visible:ring-2 focus-visible:ring-yellow-500",children:(0,t.jsx)(o,{className:"h-5 w-5","aria-hidden":!0})}),(0,t.jsx)("h3",{id:"before-after-disclaimer-title",className:"shrink-0 pr-8 text-base font-semibold text-slate-900 sm:text-xl",children:"Before & after — important information"}),(0,t.jsxs)("div",{className:"-mr-2 mt-4 flex-1 space-y-3 overflow-y-auto overscroll-contain pr-2 text-sm leading-relaxed sm:text-[0.9375rem]",children:[(0,t.jsx)("p",{children:"The image shown is of an actual patient who has provided written consent for its use. The image has not been digitally enhanced or altered, and the before and after photos are taken with similar lighting, angle, framing and exposure."}),(0,t.jsxs)("ul",{className:"list-disc space-y-2 pl-5",children:[(0,t.jsxs)("li",{children:[(0,t.jsx)("span",{className:"font-medium text-slate-900",children:"Individual results vary."})," ","The outcome shown is specific to this patient and is not a guarantee or prediction of the result you may achieve."]}),(0,t.jsx)("li",{children:"All dental and orthodontic procedures, including braces and clear aligners, carry risks. Suitability, treatment options, duration, costs, side effects and potential complications should be discussed with a registered dental practitioner before proceeding."}),(0,t.jsx)("li",{children:"Before making any decisions, we encourage you to seek a second opinion from an appropriately qualified health practitioner."}),(0,t.jsx)("li",{children:"This information is general in nature and is not a substitute for personalised clinical advice based on your individual circumstances."})]}),(0,t.jsx)("p",{className:"text-xs text-slate-500",children:"Provided in accordance with the Australian Health Practitioner Regulation Agency (AHPRA) Guidelines for advertising a regulated health service and section 133 of the Health Practitioner Regulation National Law."})]}),(0,t.jsx)("div",{className:"mt-5 flex shrink-0 justify-end",children:(0,t.jsx)(c.ButtonGradient,{onClick:()=>n(!1),children:"Got it"})})]})},"disclaimer-modal")})]})}],30852)},8276,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=(0,e.i(56420).default)("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);e.s(["FaqList",0,function(e){var{items:a,id:i}=e,[s,l]=(0,r.useState)(0);return(0,t.jsx)("ul",{className:"space-y-3",children:a.map((e,r)=>{var a=s===r,o="".concat(i,"-panel-").concat(r),c="".concat(i,"-button-").concat(r);return(0,t.jsxs)("li",{className:"overflow-hidden rounded-xl bg-white shadow-sm ring-1 ring-black/5",children:[(0,t.jsx)("h3",{children:(0,t.jsxs)("button",{id:c,t
1ype:"button","aria-expanded":a,"aria-controls":o,onClick:()=>l(a?null:r),className:"flex w-full items-center justify-between gap-4 px-5 py-4 text-left text-base font-semibold transition-colors hover:bg-gray-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-gold-400 md:text-lg",children:[(0,t.jsx)("span",{children:e.question}),(0,t.jsx)(n,{className:"h-5 w-5 shrink-0 text-gold-500 transition-transform duration-300 ".concat(a?"rotate-180":"rotate-0"),"aria-hidden":!0})]})}),(0,t.jsx)("div",{id:o,role:"region","aria-labelledby":c,"aria-hidden":!a,className:"grid transition-[grid-template-rows] duration-300 ease-out",style:{gridTemplateRows:a?"1fr":"0fr"},children:(0,t.jsx)("div",{className:"overflow-hidden",children:(0,t.jsx)("div",{className:"px-5 pb-5 text-gray-700 leading-relaxed",children:e.answer})})})]},r)})})}],8276)},75811,e=>{"use strict";var t=e.i(43476),r=e.i(71645);function n(){return(n=Object.assign.bind()).apply(null,arguments)}function a(){return(a=Object.assign.bind()).apply(null,arguments)}function i(){return(i=Object.assign.bind()).apply(null,arguments)}function s(){return(s=Object.assign.bind()).apply(null,arguments)}var l=e.i(56153),o=e.i(22731),c=[{name:"Implants",tooltip:"Implants",icon:e=>r.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 145.68 113.1"},e),r.createElement("path",{d:"m84.81 83.25-3.35-9.64-6.63-7.01-4-.51-4.52 5.11-4.51 8.18v3.09l5.81 1.55z",style:{fill:"#f4867a"}}),r.createElement("path",{d:"M84.81 80.9v20.38c0 5.17-5.28 9.39-11.74 9.39s-11.74-4.22-11.74-9.39V80.82",style:{fill:"#f4867a",stroke:"#3c3c3b",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"m59.6 88.58 26.93-4.1M59.6 95.91l26.93-4.1M66.6 73.07l13.93-2.1M61.6 81.4l19.93-3.1M59.6 103.24l26.93-4.1",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3}}),r.createElement("path",{d:"M96.77 42.32c-7.62 2.3-15.84.44-23.68 1.17-8.59.8-16.91.94-25.44-.64-7.49-1.39-10.65 10.09-3.16 11.48.73.14 1.45.25 2.17.36A5.1 5.1 0 0 0 48.34 59c6.48 5.51 17.24 6.91 25.54 6.95a13.7 13.7 0 0 0 5.92-1c2-.88 2.61-2.45 4.19-3.62 3.22-2.38 9.37-3 13.21-3.88a5.21 5.21 0 0 0 4.16-4.24c5.4-3.21 2.23-12.95-4.59-10.89",style:{fill:"#fff"}}),r.createElement("path",{d:"M105.52 48.9c1.93-5.57 2.33-12.9 2.33-19.81 0-13.9-9-24.8-20.42-24.8-6.08 0-9.59 4.64-15.58 4.64s-9.5-4.64-15.58-4.64c-11.45 0-20.42 10.9-20.42 24.8 0 7 .69 14.22 2.67 19.81","data-name":"Filled Icons",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M38.52 48.9S44 64.32 44 73.61s3.61 18.58 9.29 20.13 10-27.84 20.27-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M105.52 48.9s-4.73 15.42-4.73 24.71-3.24 18.58-8.32 20.13-9.76-27.84-19-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M58.15 14.12c-7.57 0-13.5 7.21-13.5 16.4",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3}})),image:"/images/implants.jpg",href:"/services/dental-implants"},{name:"Orthodontics",tooltip:"Orthodontics",icon:e=>r.createElement("svg",a({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 145.68 113.1"},e),r.createElement("path",{d:"M97.77 59.32c-7.62 2.3-15.84.44-23.68 1.17-8.59.8-16.91.94-25.44-.64-7.49-1.39-10.65 10.09-3.16 11.48.73.14 1.45.25 2.17.36A5.1 5.1 0 0 0 49.34 76c6.48 5.51 17.24 6.91 25.54 7a13.7 13.7 0 0 0 5.92-1c2-.88 2.61-2.45 4.19-3.62 3.22-2.38 9.37-3 13.21-3.88a5.21 5.21 0 0 0 4.16-4.24c5.4-3.26 2.23-13-4.59-10.94",style:{fill:"#fff"}}),r.createElement("path",{d:"M106.52 65.9c1.93-5.57 2.33-12.9 2.33-19.81 0-13.9-9-24.8-20.42-24.8-6.08 0-9.59 4.64-15.58 4.64s-9.5-4.64-15.58-4.64c-11.45 0-20.42 10.9-20.42 24.8 0 7 .69 14.22 2.67 19.81","data-name":"Filled Icons",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M39.52 65.9S45 81.32 45 90.61s3.61 18.58 9.29 20.13 
110-27.84 20.27-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M106.52 65.9s-4.73 15.42-4.73 24.71-3.24 18.58-8.32 20.13-9.76-27.84-19-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("g",{style:{opacity:.5}},r.createElement("path",{d:"M105.26 61.37c-1.42-5.19-6.59-7.62-11.59-6.59a21.5 21.5 0 0 0-7.85 3.35 11 11 0 0 0-1.14 0c-5.8.22-11.33-2-17.14-2.06-2.3 0-4.58.7-6.86.59a58 58 0 0 1-8.1-1.55c-5-1-10.18 1.44-11.59 6.58-1.28 4.66 1.57 10.59 6.58 11.6l3.23.62a8.5 8.5 0 0 0 1.45 1.64l.92.79a10.68 10.68 0 0 0 8.57 2.57l1.65.35c1.76.39 3.5.82 5.22 1.36a8.87 8.87 0 0 0 6.08 2.18 11 11 0 0 0 1.52-.12 8.63 8.63 0 0 0 5.26-2.22h.35a36 36 0 0 0 4.74-.77A12.8 12.8 0 0 0 90.08 78L92 76.49c-.53.49-.54.57 0 .26 1.56-.94 2.84-2.19 4.29-3.25.79-.24 1.66-.38 2.43-.54 4.95-1.03 7.83-6.96 6.54-11.59",style:{fill:"none"}}),r.createElement("path",{d:"M106.52 65.9c1.93-5.57 2.33-12.9 2.33-19.81 0-13.9-9-24.8-20.42-24.8-6.08 0-9.59 4.64-15.58 4.64s-9.5-4.64-15.58-4.64c-11.45 0-20.42 10.9-20.42 24.8 0 7 .69 14.22 2.67 19.81","data-name":"Filled Icons",style:{fill:"none"}}),r.createElement("path",{d:"M39.52 65.9S45 81.32 45 90.61s3.61 18.58 9.29 20.13 10-27.84 20.27-27.84",style:{fill:"none"}}),r.createElement("path",{d:"M106.52 65.9s-4.73 15.42-4.73 24.71-3.24 18.58-8.32 20.13-9.76-27.84-19-27.84",style:{fill:"none"}})),r.createElement("path",{d:"M115.43 65.79S121 81.32 121 90.61s3.61 18.58 9.29 20.13",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M133.62 20.75c-11.44 0-20.41 10.89-20.41 24.79 0 7.13.21 14.72 2.31 20.36","data-name":"Filled Icons",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M29.4 65.79s-5.53 15.53-5.53 24.82-3.61 18.58-9.29 20.13",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M29.32 65.9c2.09-5.64 2.3-13.23 2.3-20.36 0-13.9-9-24.79-20.41-24.79","data-name":"Filled Icons",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M60 30.79c-5.68 0-10.44 4.05-12.46 10M11.79 46.27c34.49 7.52 88.94 6.79 123.36 0",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3}}),r.createElement("path",{d:"M59.61 45.35h27.11v12.29H59.61z",style:{fill:"#f4867a",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3},transform:"rotate(180 73.165 51.495)"})),image:"/images/braces.jpg",href:"/services/clear-aligners"},{name:"Aligners",tooltip:"Aligners",icon:e=>r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 145.68 113.1"},e),r.createElement("path",{d:"M72.84 62.18s12.64.28 15.89-6.69.55-26 11-27.56S117 31 117 31s1.39 14.56-3.82 27.34-12.36 18.11-13.06 18.58-3.73 4.9-10 6.41a80 80 0 0 1-17.28 2.17 80 80 0 0 1-17.29-2.17c-6.3-1.51-9.33-6-10-6.41s-7.84-5.81-13.05-18.58S28.64 31 28.64 31 35.5 26.34 46 27.93s7.7 20.58 11 27.56 15.84 6.69 15.84 6.69Z",style:{fill:"#fff",stroke:"#3c3c3b",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M72.84 62.18s12.64.28 15.89-6.69.55-26 11-27.56S117 31 117 31s1.39 14.56-3.82 27.34-12.36 18.11-13.06 18.58-3.73 4.9-10 6.41a80 80 0 0 1-17.28 2.17 80 80 0 0 1-17.29-2.17c-6.3-1.51-9.33-6-10-6.41s-7.84-5.81-13.05-18.58S28.64 31 28.64 31 35.5 26.34 46 27.93s7.7 20.58 11 27.56 15.84 6.69 15.84 6.69Z",style:{fill:"#fff",stroke:"#3c3c3b",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M99.73 27.93c-10.45 1.6-7.75 20.58-11 27.56s-15.89 6.69-15.89 6.69-12.65.28-15.84-6.69-.55-26-11-27.56S28.64 31 28.64 31s4.06 18 12.22 25.55 16 13.31 23.25 14.2c0 2.23 3.91 4 8.73 4s8.73-1.81 8.73-4c7.19-.89 15.09-6.65 23.25-14.2S117 31 117 31s-6.82-4.66-17.27-3.07Z",style:{fill:"#f4867a",stroke:"#3c3c3b",strokeMiterlimit:10,strokeWidth:0}}),r.createElement("path",{d:"M116.73 31.3S113 49 104.82 56.55s-16.06 13.31-23.25 14.2c0 2.23-3.91 4-8.73 4s-8.73-1.81-8.73-4c-7.2-.89-15.09-6.65-23.25-14.2S28.94 31.1 28.94 31.1",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3}}),r.createElement("path",{d:"M72.84 62.18s12.64.28 15.89-6.69.55-26 11-27.56S117 31 117 3
11s1.39 14.56-3.82 27.34-12.36 18.11-13.06 18.58-3.73 4.9-10 6.41a80 80 0 0 1-17.28 2.17 80 80 0 0 1-17.29-2.17c-6.3-1.51-9.33-6-10-6.41s-7.84-5.81-13.05-18.58S28.64 31 28.64 31 35.5 26.34 46 27.93s7.7 20.58 11 27.56 15.84 6.69 15.84 6.69Z",style:{fill:"none",stroke:"#3c3c3b",strokeMiterlimit:10,strokeWidth:4}})),image:"/images/aligners.jpg",href:"/services/clear-aligners"},{name:"Veneers",tooltip:"Veneers",icon:e=>r.createElement("svg",s({xmlns:"http://www.w3.org/2000/svg","data-name":"Layer 1",viewBox:"0 0 145.68 113.1"},e),r.createElement("path",{d:"M97.77 59.32c-7.62 2.3-15.84.44-23.68 1.17-8.59.8-16.91.94-25.44-.64-7.49-1.39-10.65 10.09-3.16 11.48.73.14 1.45.25 2.17.36A5.1 5.1 0 0 0 49.34 76c6.48 5.51 17.24 6.91 25.54 7a13.7 13.7 0 0 0 5.92-1c2-.88 2.61-2.45 4.19-3.62 3.22-2.38 9.37-3 13.21-3.88a5.21 5.21 0 0 0 4.16-4.24c5.4-3.26 2.23-13-4.59-10.94",style:{fill:"#fff"}}),r.createElement("path",{d:"M106.52 65.9c1.93-5.57 2.33-12.9 2.33-19.81 0-13.9-9-24.8-20.42-24.8-6.08 0-9.59 4.64-15.58 4.64s-9.5-4.64-15.58-4.64c-11.45 0-20.42 10.9-20.42 24.8 0 7 .69 14.22 2.67 19.81","data-name":"Filled Icons",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M39.52 65.9S45 81.32 45 90.61s3.61 18.58 9.29 20.13 10-27.84 20.27-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M106.52 65.9s-4.73 15.42-4.73 24.71-3.24 18.58-8.32 20.13-9.76-27.84-19-27.84",style:{fill:"#fff",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M114.41 50.3v-4.21C114.44 29 103 15.63 88.36 15.63A22.6 22.6 0 0 0 78 18.53c-2.21 1.07-3.65 1.73-5.25 1.73s-3-.66-5.26-1.73c-2.66-1.3-6-2.9-10.32-2.9C42.56 15.63 31.1 29 31.1 46.09v4.21a147.67 147.67 0 0 0 83.31 0",style:{fill:"#ffc9c5"}}),r.createElement("path",{d:"M59.38 30.79c-7.57 0-13.5 7.2-13.5 16.4M31.13 50.3v-1",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3}}),r.createElement("path",{d:"M31.21 43.18c1.22-15.67 12.19-27.55 26-27.55 4.35 0 7.66 1.6 10.32 2.9 2.22 1.07 3.66 1.73 5.26 1.73s3-.66 5.25-1.73a22.6 22.6 0 0 1 10.34-2.9c14.62 0 26.08 13.38 26.08 30.46v.16",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3,strokeDasharray:"2.03783917427063,6.1135172843933105"}}),r.createElement("path",{d:"M114.43 49.3v1",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:3}}),r.createElement("path",{d:"M106.52 65.9c1.93-5.57 2.33-12.9 2.33-19.81 0-13.9-9-24.8-20.42-24.8-6.08 0-9.59 4.64-15.58 4.64s-9.5-4.64-15.58-4.64c-11.45 0-20.42 10.9-20.42 24.8 0 7 .69 14.22 2.67 19.81","data-name":"Filled Icons",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:4}}),r.createElement("path",{d:"M39.52 65.9S45 81.32 45 90.61s3.61 18.58 9.29 20.13 10-27.84 20.27-27.84",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}}),r.createElement("path",{d:"M106.52 65.9s-4.73 15.42-4.73 24.71-3.24 18.58-8.32 20.13-9.76-27.84-19-27.84",style:{fill:"none",stroke:"#3c3c3b",strokeLinecap:"round",strokeMiterlimit:10,strokeWidth:4}})),image:"/images/veneers.jpg",href:"/services/crowns-bridges"}];e.s(["ServicesMarquee",0,function(){return(0,t.jsx)(o.InfiniteMovingCards,{leftFadeWidthPercent:1,rightFadeWidthPercent:1,mdLeftFadeWidthPercent:10,mdRightFadeWidthPercent:10,speed:"normal",className:"w-full",children:c.map(e=>(0,t.jsx)(l.ServiceCard,{service:e},e.href?"".concat(e.name,"-").concat(e.href):e.name))})}],75811)},35133,e=>{"use strict";var t=e.i(43476),r=e.i(48020);e.s(["Card",0,e=>{var{className:n,children:a}=e;return(0,t.jsx)("div",{className:(0,r.cn)("text-black hover:text-white rounded-xl h-full w-full p-4 overflow-hidden bg-primary border border-transparent group-hover:border-gold-100 relative z-20",n),children:(0,t.jsx)("div",{className:"relative z-50",children:(0,t.jsx)("div",{className:"p-4",children:a})})})},"CardTitle",0,e=>{var{className:n,children:a}=e;return(0,t.jsx)("h4",{className:(0,r.cn)("text-md text-center font-bold tracking-wide",n),children:a})}])},22731,e=>{"use strict";var t=e.i(20786),r=e.i(43476),n=e.i(48020),a=e.i(71645);e.s(["InfiniteMovingCards",0,e=>{var{direction:i="left",speed:s="normal",pauseOnHover:l=!0,className:o,children:c,leftFadeWidthPercent:u=10,rightFadeWidthPercent:d=10,mdLeftFadeWidthPercent:f,mdRightFadeWidthPercent:h}=e,m=a.default.useRef(null),p=a.default.useRef(null),v=a.default.useRef(null);(0,a.useEffect)(()=>{m.current&&p.current&&y(!0)},[]),(0,a.useLayoutEffect)(()=>{var e=window.matchMedia("(min-width: 768px)"),t=()=>g(e.matches);return t(),e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]);var[x,g]=(0,a.useState)(!1),[b,y]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1),[j,M]=(0,a.useState)(!1),[E,N]=(0,a.useState)(!1),L=a.default.useRef(0),C=a.default.useRef(0),R=a.default.useRef(0),S=a.default.useRef(null),[A,I]=(0,a.useState)(null),[W,P]=(0,a.useState)(3),z=a.default.useMemo(()=>a.default.Children.toArray(c).length,[c]),F=a.default.useRef(0),T=a.default.useRef(0),O=a.default.useRef(0),B=a.default.useRef(null),q=a.default.useRef(null),H=a.default.useRef(null),X=a.default.useRef(null),V=a.default.useRef(null),D=a.default.useRef(!1),U=a.default.useRef(!1),_=a.default.useRef(!1),G=e=>e instanceof Element&&!!e.closest("a,button,input,textarea,select,summary,[role='button'],[data-no-drag='true']");function Z(){B.current&&cancelAnimationFrame(B.current),B.current=null,q.current=null,M(!1),O.current=0}var Y=e=>!A||A<=0?e:(e%A+A)%A-A,K=a.default.useRef(!1),J=a.default.useRef(!1),Q=a.default.useRef(!1),$=a.default.useRef(!0),ee=a.default.useRef(null),et=a.default.useRef(s),er=a.default.useRef(i),en=e=>{L.current=e,v.current&&(v.current.style.transform="translate3d(".concat(e,"px, 0, 0)"))};(0,a.useEffect)(()=>{K.current=w},[w]),(0,a.useEffect)(()=>{J.current=j},[j]),(0,a.useEffect)(()=>{Q.current=E},[E]),(0,a.useEffect)(()=>{ee.current=A},[A]),(0,a.useEffect)(()=>{et.current=s},[s]),(0,a.useEffect)(()=>{er.current=i},[i]),(0,a.useEffect)(()=>
1{if(b){var e=null,t=null,r=n=>{if(!$.current){t=n,e=requestAnimationFrame(r);return}var a=ee.current;if(!a||a<=0){t=n,e=requestAnimationFrame(r);return}var i="fast"===et.current?2e4:"slow"===et.current?8e4:4e4,s="left"===er.current?-1:1;if(K.current||J.current||l&&Q.current)t=n;else{var o=null!=t?t:n,c=Math.max(1,n-o);en(Y(L.current+a/i*s*c)),t=n}e=requestAnimationFrame(r)};return e=requestAnimationFrame(r),()=>{e&&cancelAnimationFrame(e)}}},[b,l]),(0,a.useEffect)(()=>{var e=p.current;if(e&&null!=z&&0!==z){var t=()=>{var t=Array.from(e.children).slice(0,z);if(0!==t.length){var r=t[t.length-1],n=r.offsetLeft+r.offsetWidth,a=0;if(t.length>1){var i=t[0];a=Math.max(0,t[1].offsetLeft-(i.offsetLeft+i.offsetWidth))}var s=n+a;I(s);var l=m.current;l&&P(Math.min(Math.max(2,2+Math.ceil(l.getBoundingClientRect().width/s)),10))}};t();var r=new ResizeObserver(()=>t());return r.observe(e),m.current&&r.observe(m.current),window.addEventListener("resize",t),()=>{r.disconnect(),window.removeEventListener("resize",t)}}},[z]),(0,a.useEffect)(()=>{var e=m.current;if(e){var t=new IntersectionObserver(e=>{var t=e[0];$.current=!!(null==t?void 0:t.isIntersecting)},{root:null,threshold:.01});return t.observe(e),()=>t.disconnect()}},[]);var ea=(e,t)=>{var r,n=m.current;if(n&&(Z(),null!=t&&(null==(r=n.setPointerCapture)||r.call(n,t)),U.current=!0,_.current=!1,C.current=e,R.current=L.current,F.current=e,T.current=performance.now(),!D.current)){var a=e=>{var t=e.touches[0];t&&ei(t.clientX)},i=()=>{es(),X.current&&document.removeEventListener("touchmove",X.current),V.current&&document.removeEventListener("touchend",V.current),V.current&&document.removeEventListener("touchcancel",V.current),X.current=null,V.current=null,D.current=!1};X.current=a,V.current=i,document.addEventListener("touchmove",a,{passive:!0}),document.addEventListener("touchend",i),document.addEventListener("touchcancel",i),D.current=!0}},ei=e=>{if(U.current){var t=performance.now(),r=e-C.current;if(!_.current){if(2>Math.abs(r))return;_.current=!0,k(!0)}var n=e-F.current;O.current=("touch"===H.current?1.8*n:n)/Math.max(1,t-T.current),S.current&&cancelAnimationFrame(S.current),S.current=requestAnimationFrame(()=>{en(Y(R.current+r))}),F.current=e,T.current=t}},es=()=>
1{if(U.current){if(U.current=!1,!_.current)return void k(!1);_.current=!1,k(!1),Math.abs(O.current)>.01?(M(!0),q.current=null,B.current&&cancelAnimationFrame(B.current),B.current=requestAnimationFrame(el)):M(!1),D.current&&(X.current&&document.removeEventListener("touchmove",X.current),V.current&&document.removeEventListener("touchend",V.current),V.current&&document.removeEventListener("touchcancel",V.current),X.current=null,V.current=null,D.current=!1)}},el=e=>{if(j){var t,r=null!=(t=q.current)?t:e,n=Math.max(1,e-r);q.current=e;var a=Math.pow(.95,n/16.67);O.current*=a;var i="touch"===H.current?1.5:1,s=O.current*n*i,l=Y(L.current+s);if(L.current=l,v.current&&(v.current.style.transform="translate3d(".concat(l,"px, 0, 0)")),.02>Math.abs(O.current)){M(!1),B.current=null,q.current=null;return}B.current=requestAnimationFrame(el)}},eo=e=>{if("pointer"===H.current){if(e&&m.current){var t,r;null==(t=(r=m.current).releasePointerCapture)||t.call(r,e.pointerId)}es(),H.current=null}},ec=e=>"number"==typeof e.clientX?e.clientX:e.pageX,eu=()=>{es(),H.current=null},ed=()=>{N(!1),U.current||_.current?es():Z(),H.current=null};(0,a.useEffect)(()=>()=>{S.current&&cancelAnimationFrame(S.current),B.current&&cancelAnimationFrame(B.current)},[]);var ef=Math.min(50,Math.max(0,u)),eh=Math.min(50,Math.max(0,d)),em=void 0!==f?Math.min(50,Math.max(0,f)):Math.min(49,2*ef),ep=void 0!==h?Math.min(50,Math.max(0,h)):Math.min(49,2*eh),ev=x?em:ef,ex=x?ep:eh,eg=ev+ex<100?"linear-gradient(to right, transparent, white ".concat(ev,"%, white ").concat(100-ex,"%, transparent)"):void 0;return(0,r.jsx)("div",{ref:m,onPointerDown:e=>{G(e.target)||"touch"!==H.current&&(H.current="pointer",ea(e.clientX,e.pointerId))},onPointerMove:e=>{"pointer"===H.current&&ei(e.clientX)},onPointerUp:eo,onPointerCancel:eo,onPointerLeave:e=>{"touch"!==H.current&&ed()},onTouchStart:e=>{if(!G(e.target)){var t=e.touches[0];t&&(H.current="touch",ea(ec(t)),_.current=!0,k(!0))}},onTouchMove:e=>{var t=e.touches[0];t&&ei(ec(t))},onTouchEnd:eu,onTouchCancel:eu,onMouseEnter:()=>l&&N(!0),onMouseLeave:ed,className:(0,n.cn)("grid scroller relative z-20 overflow-hidden select-none ",o),style:(0,t._)({touchAction:"pan-y"},w||j||!eg?{}:{WebkitMaskImage:eg,maskImage:eg}),children:(0,r.jsx)("div",{ref:v,className:"will-change-transform",children:(0,r.jsx)("ul",{ref:p,className:(0,n.cn)("flex w-max min-w-full shrink-0 flex-nowrap gap-4",(w||j)&&"[animation-play-state:paused]"),children:(()=>{for(var e=a.default.Children.toArray(c),t=[],r=0;r<W;r++)for(var n=0;n<e.length;n++){var i,s=e[n];t.push(a.default.cloneElement(s,{key:"".concat(r,"-").concat(null!=(i=s.key)?i:n)}))}return t})()})})})}])},56153,e=>{"use strict";var t=e.i(43476),r=e.i(48020),n=e.i(88653),a=e.i(46932);e.i(7051);var i=a.motion,s=e.i(22016),l=e.i(71645),o=e.i(35133);e.s(["ServiceCard",0,function(e){var a,{service:c,className:u}=e,[d,f]=(0,l.useState)(!1),h=null!=(a=c.href)?a:c.name,m=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.AnimatePresence,{children:d&&(0,t.jsx)(i.span,{className:"pointer-events-none absolute inset-0 block h-full w-full rounded-xl bg-neutral-200 dark:bg-gold-400/[0.8]",layoutId:"service-card-hover-".concat(h),initial:{opacity:0}
1,animate:{opacity:1,transition:{duration:.15}},exit:{opacity:0,transition:{duration:.15,delay:.2}}})}),(0,t.jsxs)("div",{className:(0,r.cn)("group relative flex h-[300px] w-[300px] flex-col justify-center overflow-hidden rounded-xl","border border-transparent text-white transition-colors","group-hover:border-gold-100"),children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-cover bg-center grayscale transition-[filter,transform] duration-500 ease-out group-hover:scale-105 group-hover:grayscale-0",style:{backgroundImage:"url(".concat(c.image,")")},"aria-hidden":!0}),(0,t.jsx)("div",{className:"relative z-10 flex h-full flex-col items-center justify-end gap-3 p-6 text-center",children:(0,t.jsx)(o.CardTitle,{className:"border-b-2 border-transparent text-lg text-white drop-shadow-sm group-hover:border-white group-hover:text-3xl",children:c.name})})]})]});return c.href?(0,t.jsx)(s.default,{href:c.href,className:(0,r.cn)("relative block cursor-pointer rounded-[calc(0.75rem+0.25rem)] p-2 outline-none transition-opacity group focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-gold-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-slate-950",u),"aria-label":"".concat(c.name,". Learn more."),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),onFocus:()=>f(!0),onBlur:()=>f(!1),children:m}):(0,t.jsx)("div",{className:(0,r.cn)("relative block p-2",u),onMouseEnter:()=>f(!0),onMouseLeave:()=>f(!1),children:m})}],56153)},69654,e=>{"use strict";var t=e.i(43476),r=e.i(57688),n=e.i(22016),a=e.i(46932),i=(0,e.i(56420).default)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),s=e.i(86563);e.s(["ServiceDetailCard",0,function(e){var{service:l,index:o=0}=e,c=l.icon,u=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r.default,{src:l.image,alt:"","aria-hidden":!0,fill:!0,sizes:"(min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw",className:"pointer-events-none scale-105 object-cover grayscale transition-[filter,transform] duration-500 ease-out group-hover/card:scale-110 group-hover/card:grayscale-0"}),(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 bg-gradient-to-b from-black/30 via-transparent to-transparent","aria-hidden":!0}),(0,t.jsx)("div",{className:"pointer-events-none absolute bottom-0 z-10",children:(0,t.jsxs)("div",{className:"pointer-events-auto w-full rounded-xl border border-white/15 bg-black/25 px-4 pb-5 pt-5 shadow-lg backdrop-blur-lg backdrop-saturate-150 md:px-5 md:pb-6 md:pt-6",children:[(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)(c,{className:"mt-0.5 h-7 w-7 shrink-0 text-gold-400"}),(0,t.jsx)("h3",{className:"text-xl font-semibold leading-snug text-white",children:l.title})]}),(0,t.jsx)("div",{className:"max-h-0 overflow-y-auto overscroll-contain pr-1 transition-[max-height] duration-300 ease-out group-hover/card:max-h-[180px]",children:(0,t.jsxs)("div",{className:"translate-y-2 opacity-0 transition duration-300 ease-out group-hover/card:translate-y-0 group-hover/card:opacity-100",children:[(0,t.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-white/90 md:text-base",children:l.description}),(0,t.jsx)("ul",{className:"mt-4 space-y-2",children:l.features.map((e,r)=>(0,t.jsxs)("li",{className:"flex items-center text-sm text-white/95",children:[(0,t.jsx)(s.Star,{className:"mr-2 h-3.5 w-3.5 shrink-0 fill-gold-400 text-gold-400"}),e]},r))}),l.slug?(0,t.jsxs)("span",{className:"mt-4 inline-flex items-center text-sm font-semibold text-gold-300",children:["Read more",(0,t.jsx)(i,{className:"ml-1 h-4 w-4 transition-transform group-hover/card:translate-x-0.5","aria-hidden":!0})]}):null]})})]})})]});return(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.1*o},className:"group/card relative block min-h-[440px] overflow-hidden rounded-xl shadow-md transition-transform duration-300 hover:shadow-lg hover:-translate-y-1",children:[l.slug?(0,t.jsx)(n.default,{href:"/services/".concat(l.slug),className:"absolute inset-0 z-20 rounded-xl focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-gold-400","aria-label":"Read more about ".concat(l.title)}):null,u]})}],69654)},76990,e=>{"use strict";var t=e.i(43476),r=e.i(46932),n=e.i(86563),a=e.i(48020),i=e.i(35133);e.s(["TestimonialCard",0,function(e){var{testimonial:s,className:l,index:o=0}=e;return(0,t.jsx)(r.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},transition:{duration:.6,delay:.1*o},className:(0,a.cn)("rounded-xl border-l-4 border-yellow-600 group",l),children:(0,t.jsx)("div",{className:"relative w-full h-full",children:(0,t.jsxs)(i.Card,{className:(0,a.cn)("transition-[background] duration-300","group-hover:!bg-gradient-to-b group-hover:!from-beige-300 group-hover:!to-gold-400","group-hover:text-white","[&_h4]:group-hover:text-white [&_p]:group-hover:text-white/95 [&_span]:group-hover:text-white/70"),children:[(0,t.jsxs)("div",{className:"flex items-center mb-3 sm:mb-4",children:[(0,t.jsx)("img",{src:s.avatar,alt:s.name,className:"w-12 h-12 rounded-full mr-4"}),(0,t.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,t.jsx)("h4",{className:"font-semibold text-sm sm:text-base truncate",children:s.name}),(0,t.jsx)("div",{className:"flex text-yellow-400 text-sm mb-1",children:[...Array(s.rating)].map((e,r)=>(0,t.jsx)(n.Star,{className:"w-3.5 h-3.5 sm:w-4 sm:h-4 fill-current"},r))}),(0,t.jsx)("span",{className:"text-xs text-gray-500",children:s.timeAgo})]}),(0,t.jsxs)("svg",{className:"w-5 h-5 shrink-0 text-blue-500 transition-colors group-hover:text-gold-200",viewBox:"0 0 24 24",fill:"
1currentColor",children:[(0,t.jsx)("path",{d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),(0,t.jsx)("path",{d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),(0,t.jsx)("path",{d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"}),(0,t.jsx)("path",{d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"})]})]}),(0,t.jsxs)("p",{className:"text-sm sm:text-md leading-relaxed max-h-[15rem] sm:max-h-[12rem] overflow-y-auto overscroll-contain pr-2",children:['"',s.text,'"']})]})})})}])},70619,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(46932),a=e.i(88653),i=e.i(48020),s=e.i(57688);e.s(["default",0,e=>{var{slides:l,autoplay:o=!0,autoplayInterval:c=5e3,className:u,debug:d=!1,onXPositionChange:f}=e,[h,m]=(0,r.useState)(0),[p,v]=(0,r.useState)(!1),[x,g]=(0,r.useState)(0),b=(0,r.useRef)(null),y=(0,r.useCallback)(()=>{m(e=>(e+1)%l.length)},[l.length]);return(0,r.useEffect)(()=>{if(o&&!p){var e=setInterval(y,c);return()=>clearInterval(e)}},[o,c,p,y]),(0,r.useEffect)(()=>{var e=()=>{if(b.current){var e=b.current.getBoundingClientRect(),t=l[h].xOffset||0,r=Math.round(e.width/2+t);g(r),f&&f(r)}};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[h,l,f]),(0,t.jsx)("div",{ref:b,className:(0,i.cn)("relative w-full h-full rounded-xl",u),onMouseEnter:()=>v(!0),onMouseLeave:()=>v(!1),children:(0,t.jsx)(a.AnimatePresence,{initial:!1,mode:"wait",children:(0,t.jsx)(n.motion.div,{initial:{opacity:0,scale:1.1},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.9},transition:{duration:.7,ease:"easeInOut"},className:"relative w-full h-full",children:(0,t.jsxs)("div",{className:"relative w-full h-full overflow-hidden",children:[(0,t.jsx)(s.default,{priority:0===h,src:l[h].src,alt:l[h].title,width:1e3,height:1e3,sizes:"(max-width: 768px) 100vw, 50vw",className:"w-full h-full object-contain scale-130 transform-gpu ".concat(d?"border-2 border-red-500":"")}),d&&(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"absolute inset-0 flex items-center justify-center pointer-events-none z-50",children:(0,t.jsxs)("div",{className:"relative h-full",style:{transform:"translateX(".concat(l[h].xOffset,"px)")},children:[(0,t.jsx)("div",{className:"w-0.5 h-full bg-red-600 "}),(0,t.jsxs)("div",{className:"absolute top-[200px] left-2 text-center text-black text-lg font-bold bg-white px-2 py-1 rounded",children:["x: ",x,"px"]})]})})})]})},h)})})}])},92432,e=>{"use strict";var t=e.i(20786),r=e.i(43476),n=e.i(46932),a=e.i(48020);e.s(["Reveal",0,function(e){var{children:i,className:s,direction:l="up",distance:o=20,delay:c=0,duration:u=.6,once:d=!0,noInitial:f=!1,as:h="div"}=e,m=n.motion[h],p={duration:u,delay:c,ease:"easeOut"},v={opacity:1,x:0,y:0},x=(0,t._)({opacity:0},function(e,t){switch(e){case"up":return{y:t};case"down":return{y:-t};case"left":return{x:t};case"right":return{x:-t};default:return{}}}(l,o));return f?(0,r.jsx)(m,{className:(0,a.cn)(s),initial:!1,whileInView:v,viewport:{once:d,margin:"-80px"},transition:p,children:i}):(0,r.jsx)(m,{className:(0,a.cn)(s),initial:x,whileInView:v,viewport:{once:d,margin:"-80px"},transition:p,children:i})}])},88653,e=>{"use strict";var t=e.i(43476),r=e.i(71645),n=e.i(31178),a=e.i(47414),i=e.i(74008),s=e.i(20786),l=e.i(21476),o=e.i(72846),c=r,u=e.i(37806);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class f extends c.Component{getSnapshotBeforeUpdate(e){var t=this.props.childRef.current;if((0,o.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){var r=t.offsetParent,n=(0,o.isHTMLElement)(r)&&r.offsetWidth||0,a=(0,o.isHTMLElement)(r)&&r.offsetHeight||0,i=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(i.height),s.width=parseFloat(i.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=n-s.width-s.left,s.bottom=a-s.height-s.top,s.direction=i.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function h(e){var n,a,{children:i,isPresent:s,anchorX:l,anchorY:o,root:h,pop:m}=e,p=(0,c.useId)(),v=(0,c.useRef)(null),x=(0,c.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,c.useContext)(u.MotionConfigContext),b=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.useCallback(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return e=>{var r=!1,n=t.map(t=>{var n=d(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(var e=0;e<n.length;e++){var r=n[e];"function"==typeof r?r():d(t[e],null)}}}}(...t),t)}(v,!1!==m?null!=(n=null==(a=i.props)?void 0:a.ref)?n:null==i?void 0:i.ref:void 0);return(0,c.useInsertionEffect)(()=>{var{width:e,height:t,top:r,left:n,right:a,bottom:i,direction:c}=x.current;if(!s&&!1!==m&&v.current&&e&&t){var u="rtl"===c;v.current.dataset.motionPopId=p;var d=document.createElement("style");g&&(d.nonce=g);var f=null!=h?h:document.head;return f.appendChild(d),d.sheet&&d.sheet.insertRule('\n          [data-motion-pop-id="'.concat(p,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===l?u?"right: ".concat(a):"left: ".concat(n):u?"left: ".concat(n):"right: ".concat(a),"px !important;\n            ").concat("bottom"===o?"bottom: ".concat(i):"top: ".concat(r),"px !important;\n          }\n        ")),()=>{var e;null==(e=v.current)||e.removeAttribute("data-motion-pop-id"),f.contains(d)&&f.removeChild(d)}}},[s]),(0,t.jsx)(f,{isPresent:s,childRef:v,sizeRef:x,pop:m,children:!1===m?i:c.cloneElement(i,{ref:b})})}var m=e=>{var{children:n,initial:o,isPresent:c,onExitComplete:u,custom:d,presenceAffectsLayout:f,mode:m,anchorX:v,anchorY:x,root:g}
1=e,b=(0,a.useConstant)(p),y=(0,r.useId)(),w=(0,r.useRef)(c),k=(0,r.useRef)(u);(0,i.useIsomorphicLayoutEffect)(()=>{w.current=c,k.current=u});var j=!0,M=(0,r.useMemo)(()=>(j=!1,{id:y,initial:o,isPresent:c,custom:d,onExitComplete:e=>{for(var t of(b.set(e,!0),b.values()))if(!t)return;u&&u()},register:e=>(b.set(e,!1),()=>{var t;b.delete(e),w.current||b.size||null==(t=k.current)||t.call(k)})}),[c,b,u]);return f&&j&&(M=(0,s._)({},M)),(0,r.useMemo)(()=>{b.forEach((e,t)=>b.set(t,!1))},[c]),r.useEffect(()=>{c||b.size||!u||u()},[c]),n=(0,t.jsx)(h,{pop:"popLayout"===m,isPresent:c,anchorX:v,anchorY:x,root:g,children:n}),(0,t.jsx)(l.PresenceContext.Provider,{value:M,children:n})};function p(){return new Map}var v=e.i(64978),x=e=>e.key||"";function g(e){var t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,e=>{var{children:s,custom:l,initial:o=!0,onExitComplete:c,presenceAffectsLayout:u=!0,mode:d="sync",propagate:f=!1,anchorX:h="left",anchorY:p="top",root:b}=e,[y,w]=(0,v.usePresence)(f),k=(0,r.useMemo)(()=>g(s),[s]),j=f&&!y?[]:k.map(x),M=(0,r.useRef)(!0),E=(0,r.useRef)(k),N=(0,a.useConstant)(()=>new Map),L=(0,r.useRef)(new Set),[C,R]=(0,r.useState)(k),[S,A]=(0,r.useState)(k);(0,i.useIsomorphicLayoutEffect)(()=>{!f||y||S.length||null==w||w()},[y,f,S.length,w]),(0,i.useIsomorphicLayoutEffect)(()=>{M.current=!1,E.current=k;for(var e=0;e<S.length;e++){var t=x(S[e]);j.includes(t)?(N.delete(t),L.current.delete(t)):!0!==N.get(t)&&N.set(t,!1)}},[S,j.length,j.join("-")]);var I=[];if(k!==C){for(var W=[...k],P=0;P<S.length;P++){var z=S[P],F=x(z);j.includes(F)||(W.splice(P,0,z),I.push(z))}return"wait"===d&&I.length&&(W=I),A(g(W)),R(k),null}var{forceRender:T}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:S.map(e=>{var r=x(e),n=(!f||!!y)&&(k===S||j.includes(r));return(0,t.jsx)(m,{isPresent:n,initial:(!M.current||!!o)&&void 0,custom:l,presenceAffectsLayout:u,mode:d,root:b,onExitComplete:n?void 0:()=>{if(!L.current.has(r)&&N.has(r)){L.current.add(r),N.set(r,!0);var e=!0;N.forEach(t=>{t||(e=!1)}),e&&(null==T||T(),A(E.current),f&&(null==w||w()),c&&c())}},anchorX:h,anchorY:p,children:e},r)})})}],88653)},86563,e=>{"use strict";var t=(0,e.i(56420).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],86563)}]);

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.