PageSourceSearch

https://optifyonline.com/_next/static/chunks/0kq0hezjjn-1y.js?dpl=dpl_J3LszE6tKXrk3s7cWuYP7UHWo1yZ

js optifyonline.com collected 2026-10-07 14:57:23 UTC 7,113 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48216,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.s(["default",0,function({children:e,direction:s="up",stagger:l=!1,className:a="",threshold:i=.1}){let n=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=n.current;if(!e)return;let t=new IntersectionObserver(([r])=>{r.isIntersecting&&(e.classList.add("visible"),t.unobserve(e))},{threshold:i});return t.observe(e),()=>t.disconnect()},[i]),(0,t.jsx)("div",{ref:n,className:`${l?"reveal-stagger":"left"===s?"reveal-left":"right"===s?"reveal-right":"reveal"} ${a}`,children:e})}])},23176,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(3303),l=e.i(75679);let a="ddc28d59-b64f-46bd-a875-2c6dc00a35b7";e.s(["default",0,function({headline:e="How 3 Practices Increased Frame Sales by 22%",subhead:i="FREE GUIDE",description:n="Get the playbook: real numbers, real practices, and the digital storefront approach they used to sell more eyewear without extra overhead."}){let c=(0,r.useRef)(null);return(0,r.useEffect)(()=>{let e=0,t=setInterval(()=>{(window.hbspt&&c.current&&(window.hbspt.forms.create({region:"na1",portalId:"20412040",formId:a,target:"#hs-lead-magnet-form",onFormSubmitted:()=>(0,l.trackLeadMagnetDownload)(a)}),1)||e++>10)&&clearInterval(t)},500);return()=>clearInterval(t)},[]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.default,{src:"https://js.hsforms.net/forms/embed/v2.js",strategy:"lazyOnload"}),(0,t.jsx)("section",{className:"py-20",children:(0,t.jsx)("div",{className:"max-w-6xl mx-auto px-8",children:(0,t.jsxs)("div",{className:"grid md:grid-cols-2 rounded-2xl overflow-hidden shadow-lg",children:[(0,t.jsxs)("div",{className:"bg-primary-dark p-10 md:p-14 flex flex-col justify-center gap-5",children:[(0,t.jsx)("p",{className:"text-[11px] font-bold uppercase tracking-[0.18em] text-secondary",children:i}),(0,t.jsx)("h2",{className:"font-headline text-white leading-tight",style:{fontSize:"clamp(1.6rem, 3vw, 2.4rem)",fontWeight:900},children:e}),(0,t.jsx)("p",{className:"text-white/70 text-[15px] leading-relaxed",children:n})]}),(0,t.jsx)("div",{className:"bg-surface-dim p-10 md:p-14 flex flex-col justify-center",children:(0,t.jsx)("div",{id:"hs-lead-magnet-form",ref:c})})]})})})]})}])},38931,e=>{"use strict";var t=e.i(43476),r=e.i(71645),s=e.i(57688),l=e.i(22016),a=e.i(48216);function i(e){return e||"Practice Growth"}function n(e){return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"})}function c({post:e,className:r=""}){return e.imageUrl?(0,t.jsx)(s.default,{src:e.imageUrl,alt:e.imageAlt||e.title,width:600,height:375,className:`w-full h-full object-cover transition-transform duration-500 group-hover:scale-105 ${r}`}):(0,t.jsx)("div",{className:"w-full h-full bg-primary-dark/5 flex items-center justify-center",children:(0,t.jsxs)("svg",{width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",className:"text-primary/20",children:[(0,t.jsx)("rect",{x:"6",y:"10",width:"36",height:"28",rx:"4",stroke:"currentColor",strokeWidth:"2"}),(0,t.jsx)("circle",{cx:"18",cy:"22",r:"4",stroke:"currentColor",strokeWidth:"2"}),(0,t.jsx)("path",{d:"M6 34 l12-10 6 4 10-8 8 6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})}function d({post:e}){let r=i(e.category);return(0,t.jsxs)("article",{className:"group flex flex-col bg-surface rounded-card overflow-hidden shadow-card-subtle hover:shadow-card-secondary transition-shadow duration-300",children:[(0,t.jsx)(l.default,{href:`/blog/${e.slug}`,className:"block aspect-[16/10] w-full overflow-hidden",children:(0,t.jsx)(c,{post:e})}),(0,t.jsxs)("div",{className:"px-5 py-5 flex flex-col gap-2.5 flex-1",children:[r&&(0,t.jsx)("span",{className:"self-start text-[11px] font-bold px-2.5 py-1 rounded-full bg-secondary text-primary-dark uppercase tracking-wide",children:r}),(0,t.jsx)(l.default,{href:`/blog/${e.slug}`,className:"font-headline font-bold text-on-surface text-[15px] leading-snug group-hover:text-primary transition-colors",children:e.title}),(0,t.jsxs)("p",{className:"text-xs text-on-surface-variant mt-auto pt-1",children:[n(e.publishedAt)," · ",e.readTime]})]})]})}e.s(["default",0,function({posts:e}){var s;let[o,x]=(0,r.useState)("All"),[m,h]=(0,r.useState)(9),u=Array.from(new Set(e.map(e=>
1e.category).filter(Boolean).map(e=>i(e)))).sort(),f="All"===o?e:e.filter(e=>i(e.category)===o),p=f[0],g=f.slice(1,m+1),j=f.length>m+1;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 pt-2",children:["All",...u].map(e=>(0,t.jsx)("button",{onClick:()=>{x(e),h(9)},className:`text-xs font-semibold px-4 py-2 rounded-full tracking-wide transition-all ${o===e?"bg-primary text-on-primary":"bg-surface-dim text-on-surface-variant hover:bg-surface-warm"}`,children:e},e))}),p&&(0,t.jsx)("div",{className:"mt-8 md:mt-10",children:(0,t.jsx)(a.default,{children:(0,t.jsx)(l.default,{href:`/blog/${p.slug}`,className:"block group",children:(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-0 bg-primary-dark rounded-card overflow-hidden shadow-card-primary",children:[(0,t.jsx)("div",{className:"aspect-video md:aspect-auto relative overflow-hidden",children:(0,t.jsx)(c,{post:p})}),(0,t.jsxs)("div",{className:"p-8 md:p-10 lg:p-12 flex flex-col justify-center gap-4",children:[p.category&&(0,t.jsx)("span",{className:"self-start text-[11px] font-bold px-3 py-1 bg-secondary text-primary-dark rounded-full uppercase tracking-wide",children:i(p.category)}),(0,t.jsx)("h2",{className:"text-white font-headline font-black text-xl md:text-2xl lg:text-[1.75rem] leading-tight",children:p.title}),p.excerpt&&(0,t.jsx)("p",{className:"text-white/65 text-sm leading-relaxed line-clamp-3",children:p.excerpt}),(0,t.jsxs)("div",{className:"flex items-center gap-3 pt-2",children:[(0,t.jsx)("div",{className:"w-8 h-8 rounded-full bg-primary flex items-center justify-center shrink-0",children:(0,t.jsx)("span",{className:"text-white text-[10px] font-bold",children:(s=p.author)?s.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2):"OT"})}),(0,t.jsxs)("div",{children:[p.author&&(0,t.jsx)("p",{className:"text-white text-xs font-semibold",children:p.author}),(0,t.jsx)("p",{className:"text-white/45 text-[10px]",children:n(p.publishedAt)})]})]})]})]})})})}),g.length>0&&(0,t.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 mt-10",children:g.map(e=>(0,t.jsx)(d,{post:e},e._id))}),j&&(0,t.jsx)("div",{className:"flex justify-center mt-12",children:(0,t.jsx)("button",{onClick:()=>h(e=>e+9),className:"px-8 py-3 rounded-full bg-surface-dim text-on-surface text-sm font-semibold hover:bg-surface-warm transition-colors",children:"Load more articles"})}),0===f.length&&(0,t.jsxs)("div",{className:"text-center py-20 space-y-3",children:[(0,t.jsx)("p",{className:"text-on-surface font-semibold",children:"No articles in this category yet."}),(0,t.jsx)("button",{onClick:()=>x("All"),className:"text-primary text-sm font-semibold underline underline-offset-2",children:"View all articles"})]})]})}],38931)}]);

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.