PageSourceSearch

https://www.affinsy.com/_next/static/chunks/8445-9a63d0e29e21217f.js?dpl=dpl_Dg59aLwFBN4PSp69wMegjsMTcCrd

js affinsy.com collected 2026-09-25 22:50:59 UTC 16,336 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8445],{25659:(e,t,r)=>{r.d(t,{Button:()=>l});var a=r(95155),n=r(12115),s=r(83371),o=r(81583),i=r(36750);let l=n.forwardRef(function({variant:e="brand-primary",size:t="medium",children:r,icon:n=null,iconRight:l=null,loading:d=!1,className:c,type:x="button",...b},u){return(0,a.jsxs)("button",{className:s._("group/3b777358 flex h-8 cursor-pointer items-center justify-center gap-2 rounded-md border border-[#0F5C5A] bg-[#0F5C5A] px-3 transition-colors duration-100 hover:bg-[#0A4847] hover:border-[#0A4847] active:bg-[#073838] active:border-[#073838] disabled:cursor-default disabled:bg-neutral-200 disabled:border-neutral-200 hover:disabled:cursor-default hover:disabled:bg-neutral-200 active:disabled:cursor-default active:disabled:bg-neutral-200",{"h-6 w-auto flex-row flex-nowrap gap-1 px-2 py-0":"small"===t,"h-10 w-auto px-4 py-0":"large"===t,"bg-transparent hover:bg-[#ffffff29] active:bg-[#ffffff3d]":"inverse"===e,"bg-transparent hover:bg-error-50 active:bg-error-100":"destructive-tertiary"===e,"bg-error-50 hover:bg-error-100 active:bg-error-50":"destructive-secondary"===e,"bg-error-600 hover:bg-error-500 active:bg-error-600":"destructive-primary"===e,"bg-transparent hover:bg-neutral-100 active:bg-neutral-200":"neutral-tertiary"===e,"border border-solid border-neutral-300 bg-default-background hover:bg-neutral-50 active:bg-neutral-100":"neutral-secondary"===e,"bg-neutral-100 hover:bg-neutral-200 active:bg-neutral-100":"neutral-primary"===e,"bg-transparent hover:bg-brand-50 active:bg-brand-100":"brand-tertiary"===e,"bg-brand-50 hover:bg-brand-100 active:bg-brand-50":"brand-secondary"===e},c),ref:u,type:x,...b,children:[n?(0,a.jsx)(o.h,{className:s._("text-body font-body text-white group-disabled/3b777358:text-neutral-400",{hidden:d,"text-body font-body":"small"===t,"text-heading-3 font-heading-3":"large"===t,"text-white":"inverse"===e,"text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-neutral-700":"neutral-tertiary"===e||"neutral-secondary"===e||"neutral-primary"===e,"text-brand-700":"brand-tertiary"===e||"brand-secondary"===e}),children:n}):null,(0,a.jsx)("div",{className:s._("hidden h-4 w-4 flex-none items-center justify-center gap-2",{flex:d,"h-3 w-3 flex-none":"small"===t}),children:(0,a.jsx)(i.Loader,{className:s._("text-caption font-caption text-white group-disabled/3b777358:text-neutral-400",{"inline-block font-['Inter'] text-[12px] font-[400] leading-[20px] tracking-normal":d,"text-caption font-caption":"small"===t,"text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-neutral-700":"neutral-tertiary"===e||"neutral-secondary"===e||"neutral-primary"===e,"text-brand-700":"brand-tertiary"===e||"brand-secondary"===e})})}),r?(0,a.jsx)("span",{className:s._("whitespace-nowrap text-body-bold font-body-bold text-white group-disabled/3b777358:text-neutral-400",{hidden:d,"text-caption-bold font-caption-bold":"small"===t,"text-body-bold font-body-bold":"large"===t,"text-white":"inverse"===e,"text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-neutral-700":"neutral-tertiary"===e||"neutral-secondary"===e||"neutral-primary"===e,"text-brand-700":"brand-tertiary"===e||"brand-secondary"===e}),children:r}):null,l?(0,a.jsx)(o.h,{className:s._("text-body font-body text-white group-disabled/3b777358:text-neutral-400",{"text-body font-body":"small"===t,"text-heading-3 font-heading-3":"large"===t,"text-white":"inverse"===e,"text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-neutral-700":"neutral-tertiary"===e||"neutral-secondary"===e||"neutral-primary"===e,"text-brand-700":"brand-tertiary"===e||"brand-secondary"===e}),children:l}):null]})})},64681:(e,t,r)=>{r.d(t,{$_:()=>l,F1:()=>a,HA:()=>i,iP:()=>s,r0:()=>o,uH:()=>n,w4:()=>d});let a="https://www.affinsy.com/public/reports/0fda61c0-40af-4e31-861f-17ffe081c111",n={bgWarm:"#F1EFE7",bgBase:"#FFFFFF",bgTint:"#FBFAF6",ink:"#161614",body:"#2F2F2C",muted:"#5C5C55",faint:"#8A8A82",hairline:"#DDDCD3",border:"#C7C5BC",accent:"#0F5C5A",accentDeep:"#073838",accentHover:"#0A4847",accentTint:"#E6F1F0",action:"#0F5C5A",actionHover:"#0A4847",warn:"#A03A2B",warnTint:"#F4E2DD"},s="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace";function o(){return"text-[11px] font-medium uppercase tracking-[0.18em] text-[#5C5C55]"}function i(){return"text-[36px] sm:text-[44px] lg:text-[52px] font-semibold leading-[1.06] tracking-[-0.024em] text-[#161614]"}function l(e="default"){return`${"compact"===e?"text-[34px] sm:text-[44px] lg:text-[56px]":"wide"===e?"text-[40px] sm:text-[52px] lg:text-[44px] xl:text-[52px]":"text-[48px] sm:text-[64px] lg:text-[80px]"} font-light leading-[1.04] tracking-[-0.028em] text-[#161614]`}function d(){return"text-[28px] sm:text-[32px] font-semibold leading-[1.12] tracking-[-0.02em] text-[#161614]"}},77500:(e,t,r)=>{r.d(t,{K:()=>d});var a=r(95155),n=r(12115),s=r(83371),o=r(81583),i=r(36750),l=r(78606);let d=n.forwardRef(function({variant:e="neutral-tertiary",size:t="medium",icon:r=(0,a.jsx)(l.A,{}),loading:n=!1,className:d,type:c="button",...x},b){return(0,a.jsxs)("button",{className:s._("group/af9405b1 flex h-8 w-8 cursor-pointer items-center justify-center gap-2 rounded-md border-none bg-transparent hover:bg-neutral-100 active:bg-neutral-50 disabled:cursor-default disabled:bg-neutral-100 hover:disabled:cursor-default hover:disabled:bg-neutral-100 active:disabled:cursor-default active:disabled:bg-neutral-100",{"h-6 w-6":"small"===t,"h-10 w-10":"large"===t,"hover:bg-[#ffffff29] active:bg-[#ffffff3d]":"inverse"===e,"hover:bg-error-50 active:bg-error-100":"destructive-tertiary"===e,"bg-error-50 hover:bg-error-100 active:bg-error-50":"destructive-secondary"===e,"bg-error-600 hover:bg-error-500 active:bg-error-600":"destructive-primary"===e,"border border-solid border-neutral-border bg-white hover:bg-neutral-100 active:bg-white":"neutral-secondary"===e,"bg-neutral-100 hover:bg-neutral-200 active:bg-neutral-100":"neutral-primary"===e,"hover:bg-brand-50 active:bg-brand-100":"brand-tertiary"===e,"bg-brand-50 hover:bg-brand-100 active:bg-brand-50":"brand-secondary"===e,"bg-brand-600 hover:bg-brand-500 active:bg-brand-600":"brand-primary"===e},d),ref:b,type:c,...x,children:[r?(0,a.jsx)(o.h,{className:s._("text-heading-3 font-heading-3 text-neutral-700 group-disabled/af9405b1:text-neutral-400",{hidden:n,"text-body font-body":"small"===t,"text-heading-3 font-heading-3":"large"===t,"text-white group-hover/af9405b1:text-white":"inverse"===e,"text-error-700 group-hover/af9405b1:text-error-700 group-active/af9405b1:text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-white group-hover/af9405b1:text-white group-active/af9405b1:text-white":"destructive-primary"===e||"brand-primary"===e,"text-neutral-700":"neutral-secondary"===e,"text-neutral-700 group-hover/af9405b1:text-neutral-700 group-active/af9405b1:text-neutral-700":"neutral-primary"===e,"text-brand-700 group-hover/af9405b1:text-brand-700 group-active/af9405b1:text-brand-700":"brand-tertiary"===e||"brand-secondary"===e}),children:r}):null,(0,a.jsx)(i.Loader,{className:s._("hidden text-caption font-caption text-neutral-700 group-disabled/af9405b1:text-neutral-400",{"inline-block":n,"text-caption font-caption":"small"===t,"text-white":"inverse"===e||"destructive-primary"===e||"brand-primary"===e,"text-error-700":"destructive-tertiary"===e||"destructive-secondary"===e,"text-neutral-700":"neutral-primary"===e,"text-brand-700":"brand-tertiary"===e||"brand-secondary"===e})})]})})},78445:(e,t,r)=>{r.d(t,{default:()=>C});var a=r(95155),n=r(12115),s=r(5772),o=r(98500),i=r.n(o),l=r(73321),d=r(5434),c=r(47650),x=r
1(77500),b=r(25659),u=r(51909),p=r(57366),h=r(23844),g=r(80308),f=r(62334),m=r(5646),y=r(64982),v=r(88368),j=r(65600),w=r(64681);function k({handleNavigationOrScroll:e}){let t=(0,l.useRouter)(),[r,s]=(0,n.useState)(!1);(0,n.useEffect)(()=>(r?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[r]);let o=e=>{s(!1),setTimeout(e,100)};return(0,a.jsxs)("div",{className:"lg:hidden ml-auto",children:[(0,a.jsx)(x.K,{icon:(0,a.jsx)(u.A,{}),variant:"neutral-tertiary","aria-label":"Open navigation menu",onClick:()=>s(!0)}),r&&(0,c.createPortal)((0,a.jsxs)("div",{className:"fixed inset-0 z-[100] flex flex-col bg-white",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between px-4 py-2.5 border-b border-neutral-100",children:[(0,a.jsxs)(i(),{href:"/",className:"flex items-center gap-2.5",onClick:()=>s(!1),children:[(0,a.jsx)("img",{src:"/logo.png",alt:"Affinsy",className:"h-7 w-7"}),(0,a.jsx)("span",{className:"text-[15px] text-default-font font-fraunces font-semibold tracking-tight",children:"Affinsy"})]}),(0,a.jsx)(x.K,{icon:(0,a.jsx)(p.A,{}),variant:"neutral-tertiary","aria-label":"Close menu",onClick:()=>s(!1)})]}),(0,a.jsx)("div",{className:"flex-1 overflow-y-auto px-4 py-6",children:(0,a.jsxs)("nav",{className:"space-y-1",children:[(0,a.jsx)(N,{icon:(0,a.jsx)(h.A,{}),label:"Product",onClick:()=>o(()=>e("#report"))}),(0,a.jsx)(N,{icon:(0,a.jsx)(g.A,{}),label:"Pricing",onClick:()=>o(()=>e("#pricing"))}),(0,a.jsx)(N,{icon:(0,a.jsx)(d.A,{}),label:"Blog",onClick:()=>o(()=>t.push("/blog"))}),(0,a.jsx)(N,{icon:(0,a.jsx)(f.A,{}),label:"Partners",onClick:()=>o(()=>t.push("/partners"))}),(0,a.jsx)("div",{className:"pt-4 pb-2",children:(0,a.jsx)("p",{className:"text-[11px] font-semibold text-gray-400 uppercase tracking-wide px-3",children:"Resources"})}),(0,a.jsx)(N,{icon:(0,a.jsx)(h.A,{}),label:"Demo Report",onClick:()=>o(()=>t.push("/demo"))}),(0,a.jsx)(N,{icon:(0,a.jsx)(m.A,{}),label:"E-Commerce Glossary",onClick:()=>o(()=>t.push("/glossary"))}),(0,a.jsx)(N,{icon:(0,a.jsx)(y.A,{}),label:"FAQ",onClick:()=>o(()=>e("#faq"))})]})}),(0,a.jsxs)("div",{className:"px-4 py-5 border-t border-neutral-100 space-y-3",children:[(0,a.jsx)(b.Button,{variant:"brand-primary",className:"w-full justify-center h-12 text-base",iconRight:(0,a.jsx)(v.A,{}),onClick:()=>o(()=>t.push("/dashboard")),children:"Start 7-day free trial"}),(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)("button",{onClick:()=>o(()=>t.push("/auth/signin")),className:"flex-1 py-3 text-sm font-medium text-gray-600 hover:text-gray-900 transition-colors text-center",children:"Sign In"}),(0,a.jsx)("div",{className:"h-4 w-px bg-neutral-200"}),(0,a.jsxs)("a",{href:w.F1,target:"_blank",rel:"noopener noreferrer",className:"flex-1 flex items-center justify-center gap-1.5 py-3 text-sm font-medium text-gray-600 hover:text-gray-900 transition-colors",onClick:()=>s(!1),children:[(0,a.jsx)(j.A,{className:"h-4 w-4"}),"Live Demo"]})]})]})]}),document.body)]})}function N({icon:e,label:t,onClick:r}){return(0,a.jsxs)("button",{onClick:r,className:"flex items-center gap-3 w-full px-3 py-3.5 text-base font-medium text-gray-700 hover:text-gray-900 hover:bg-gray-50 rounded-xl transition-colors",children:[(0,a.jsx)("span",{className:"text-gray-400",children:e}),t]})}let C=({variant:e="default",announcement:t=!1,bfcmDeadline:r=null})=>{let o,c=(0,l.useRouter)(),x=(0,l.usePathname)(),[b,u]=(0,n.useState)(!1);(0,n.useEffect)(()=>{let e=()=>u(e=>e?window.scrollY>32:window.scrollY>48);return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let p=e=>{let t=document.querySelector(e);t?t.scrollIntoView({behavior:"smooth",block:"start"}):c.push(`/${e}`)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{"aria-hidden":!0,className:"sticky top-0 z-[51] h-[6px] w-full",style:{background:w.uH.accent}}),t&&((o="/for-agencies"===x)||null===r?(0,a.jsx)(i(),{href:o?"/":"/for-agencies",className:"block w-full px-4 sm:px-6",style:{background:w.uH.accent},children:(0,a.jsxs)("div",{className:"mx-auto flex h-[42px] max-w-7xl items-center justify-center gap-2.5 pb-[6px] text-[13px] font-medium",style:{color:"rgba(248,247,243,0.92)"},children:[(0,a.jsxs)("span",{className:"truncate",children:[o?"Running your own store?":"Running an agency?",(0,a.jsx)("span",{className:"hidden sm:inline",children:o?" The same analyses, one store, self-serve.":" The same analyses across your whole client book."})]}),(0,a.jsxs)("span",{className:"whitespace-nowrap font-semibold text-white",style:{borderBottom:"1px solid rgba(248,247,243,0.45)"},children:[o?"See the Merchant plan":"See the Agency plan"," →"]})]})}):(0,a.jsx)(i(),{href:"/#analysis",className:"block w-full px-4 sm:px-6",style:{background:w.uH.accent},children:(0,a.jsxs)("div",{className:"mx-auto flex h-[42px] max-w-7xl items-center justify-center gap-2.5 pb-[6px] text-[13px] font-medium",style:{color:"rgba(248,247,243,0.92)"},children:[(0,a.jsxs)("span",{className:"truncate",children:["Founder-led analyses, ready for Black Friday.",(0,a.jsxs)("span",{className:"hidden sm:inline",children:[" ","Book by ",r," and the findings, the audiences, and your 30 days land before the sale."]})]}),(0,a.jsx)("span",{className:"whitespace-nowrap font-semibold text-white",style:{borderBottom:"1px solid rgba(248,247,243,0.45)"},children:"Book yours →"})]})})),(0,a.jsx)("nav",{className:"sticky top-[6px] z-50 w-full px-4 sm:px-6",style:{background:b?"rgba(251,250,246,0.86)":"rgba(251,250,246,0.92)",backdropFilter:b?"blur(12px)":void 0,WebkitBackdropFilter:b?"blur(12px)":void 0,borderBottom:"1px solid rgba(22, 22, 20, 0.09)",boxShadow:b?"0 10px 24px -18px rgba(7,56,56,0.5)":"none",transition:"box-shadow .2s ease, background .2s ease"},children:(0,a.jsxs)("div",{className:`flex items-center justify-between max-w-7xl mx-auto transition-all duration-200 ${b?"h-[52px]":"h-[64px]"}`,children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-5",children:[(0,a.jsxs)(i(),{href:"/",className:"flex items-center gap-2.5 shrink-0",children:[(0,a.jsx)(s.default,{className:`flex-none object-cover transition-all duration-200 ${b?"h-[22px] w-[22px]":"h-7 w-7"}`,src:"/logo.png",alt:"Affinsy Logo",width:28,height:28}),(0,a.jsxs)("span",{className:"inline-flex items-center text-[15px] text-default-font font-fraunces font-semibold tracking-tight",children:["Affinsy","blog"===e&&(0,a.jsx)(d.A,{className:"ml-1.5 w-3.5 h-3.5 shrink-0",style:{color:w.uH.accent}})]})]}
1),(0,a.jsx)("span",{"aria-hidden":!0,className:`hidden lg:block w-px transition-all duration-200 ${b?"h-[18px]":"h-[22px]"}`,style:{background:w.uH.hairline}}),(0,a.jsxs)("div",{className:"hidden lg:flex items-center gap-6",children:[(0,a.jsx)("button",{onClick:()=>p("#report"),className:"border-b-2 border-transparent py-1.5 text-[14px] font-medium text-[#5C5C55] transition-colors hover:border-[rgba(22,22,20,0.25)] hover:text-[#161614]",children:"How it works"}),(0,a.jsx)("button",{onClick:()=>p("#pricing"),className:"border-b-2 border-transparent py-1.5 text-[14px] font-medium text-[#5C5C55] transition-colors hover:border-[rgba(22,22,20,0.25)] hover:text-[#161614]",children:"Pricing"}),(0,a.jsx)(i(),{href:"/docs",className:"border-b-2 border-transparent py-1.5 text-[14px] font-medium text-[#5C5C55] transition-colors hover:border-[rgba(22,22,20,0.25)] hover:text-[#161614]",children:"Docs"}),(0,a.jsx)(i(),{href:"/partners",className:"border-b-2 border-transparent py-1.5 text-[14px] font-medium text-[#5C5C55] transition-colors hover:border-[rgba(22,22,20,0.25)] hover:text-[#161614]",children:"Partners"})]})]}),(0,a.jsxs)("div",{className:"hidden lg:flex items-center justify-end gap-4 shrink-0",children:[(0,a.jsx)("button",{onClick:()=>c.push("/dashboard"),className:"text-[14px] font-medium text-[#5C5C55] transition-colors hover:text-[#161614]",children:"Sign in"}),(0,a.jsx)(i(),{href:"/dashboard",prefetch:!1,className:`inline-flex items-center text-[13px] font-medium transition-all duration-200 ${b?"h-9 rounded-[9px] px-4":"h-10 rounded-[10px] px-[18px]"}`,style:{background:w.uH.action,color:"#FFFFFF",border:`1px solid ${w.uH.action}`},onMouseEnter:e=>{e.currentTarget.style.background=w.uH.actionHover},onMouseLeave:e=>{e.currentTarget.style.background=w.uH.action},children:"Start free trial"})]}),(0,a.jsx)(k,{handleNavigationOrScroll:p})]})})]})}},83371:(e,t,r)=>{r.d(t,{_:()=>a});let a=r(46695).Q(["text-caption","text-caption-bold","text-body","text-body-bold","text-heading-3","text-heading-2","text-heading-1","text-monospace-body"])}}]);

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.