1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3185],{99200:function(e,t,r){Promise.resolve().then(r.t.bind(r,47960,23)),Promise.resolve().then(r.bind(r,49294)),Promise.resolve().then(r.bind(r,75945)),Promise.resolve().then(r.bind(r,82464)),Promise.resolve().then(r.bind(r,44280))},49294:function(e,t,r){"use strict";r.d(t,{AppProviders:function(){return i}});var s=r(57437),a=r(79179),n=r(28630);function i(e){let{children:t}=e;return(0,s.jsx)(n.f,{children:(0,s.jsx)(a.H,{children:t})})}},75945:function(e,t,r){"use strict";r.d(t,{ConditionalMain:function(){return l}});var s=r(57437),a=r(99376),n=r(94508),i=r(98552);function l(e){var t;let{children:r}=e,l=null!==(t=(0,a.usePathname)())&&void 0!==t?t:"",o="/s"===l||l.startsWith("/s/"),c=(0,i.w)(l),d="/"===l||""===l;return(0,s.jsx)("main",{className:(0,n.cn)("filxo-content mx-auto w-full flex-1",o&&"max-w-none px-0 py-0",c&&"max-w-md px-6 py-12 sm:py-16",!o&&!c&&!d&&"max-w-6xl px-4 py-10 sm:px-6 lg:px-8",d&&"w-full"),children:r})}},82464:function(e,t,r){"use strict";r.d(t,{ConditionalSiteFooter:function(){return d}});var s=r(57437),a=r(99376),n=r(27648),i=r(25430),l=r(26401);function o(){let e=(0,l.K)(),t=new Date().getFullYear();return(0,s.jsx)("footer",{className:"border-t border-border-primary bg-bg-primary",children:(0,s.jsxs)("div",{className:"mx-auto max-w-6xl px-4 py-8 sm:px-6 sm:py-12 lg:px-8",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center justify-between gap-6 sm:gap-8 md:flex-row",children:[(0,s.jsx)("div",{className:"flex shrink-0",children:(0,s.jsx)(n.default,{href:e,className:"flex items-center hover:opacity-80",children:(0,s.jsx)(i.Ey,{href:!1,width:i.Kx,height:i.bU})})}),(0,s.jsxs)("nav",{className:"flex flex-wrap justify-center gap-x-6 gap-y-2 sm:gap-x-8",children:[(0,s.jsx)(n.default,{href:"/signup",className:"text-sm font-medium text-primary hover:text-primary-hover",children:"Get Started / Try Free"}),(0,s.jsx)("a",{href:"https://filxo.com",className:"text-sm text-text-secondary hover:text-text-primary",children:"filxo.com"}),(0,s.jsx)(n.default,{href:"/contact",className:"text-sm text-text-secondary hover:text-text-primary",children:"Contact"}),(0,s.jsx)(n.default,{href:"/#faqs",className:"text-sm text-text-secondary hover:text-text-primary",children:"FAQs"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4",children:[(0,s.jsx)("a",{href:"https://www.reddit.com/user/getfilxo/",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-text-primary","aria-label":"Reddit",children:(0,s.jsx)("svg",{className:"h-5 w-5 sm:h-6 sm:w-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"})})}),(0,s.jsx)("a",{href:"https://www.linkedin.com/company/filxo/",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-text-primary","aria-label":"LinkedIn",children:(0,s.jsx)("svg",{className:"h-5 w-5 sm:h-6 sm:w-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})})}),(0,s.jsx)("a",{href:"https://x.com/getfilxo",target:"_blank",rel:"noopener noreferrer",className:"text-text-muted hover:text-text-primary","aria-label":"X",children:(0,s.jsx)("svg",{className:"h-5 w-5 sm:h-6 sm:w-6",fill:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"})})})]})]}),(0,s.jsxs)("div",{className:"mt-6 flex flex-col items-center justify-between gap-4 border-t border-border-primary pt-6 sm:mt-8 sm:flex-row sm:pt-8",children:[(0,s.jsxs)("div",{className:"text-center text-sm text-text-muted sm:text-left",children:[(0,s.jsxs)("p",{children:["\xa9 ",t," filxo. All rights reserved."]}),(0,s.jsxs)("p",{className:"mt-2 text-xs",children:["A filxo product \xb7"," ",(0,s.jsx)("a",{href:"https://filxo.com",className:"text-text-secondary underline-offset-2 transition hover:text-text-primary hover:underline",children:"filxo.com"})]})]}),(0,s.jsxs)("div",{className:"flex flex-wrap justify-center gap-x-6 gap-y-2",children:[(0,s.jsx)(n.default,{href:"/privacy",className:"text-sm text-text-muted hover:text-text-primary",children:"Privacy Policy"}),(0,s.jsx)(n.default,{href:"/terms",className:"text-sm text-text-muted hover:text-text-primary",children:"Terms of Service"}),(0,s.jsx)(n.default,{href:"/acceptable-use",className:"text-sm text-text-muted hover:text-text-primary",children:"Acceptable Use / DMCA"}),(0,s.jsx)(n.default,{href:"/security",className:"text-sm text-text-muted hover:text-text-primary",children:"Security"}),(0,s.jsx)(n.default,{href:"/cookies",className:"text-sm text-text-muted hover:text-text-primary",children:"Cookie Policy"})]})]})]})})}var c=r(98552);function d(){var e;let t=null!==(e=(0,a.usePathname)())&&void 0!==e?e:"";return"/dashboard"===t||t.startsWith("/dashboard/")||"/admin"===t||t.startsWith("/admin/")||"/s"===t||t.startsWith("/s/")||(0,c.w)(t)?null:(0,s.jsx)(o,{})}},44280:function(e,t,r){"use strict";r.d(t,{ConditionalSiteHeader:function(){return C}});var s=r(57437),a=r(99376),n=r(27648),i=r(2265);let l=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 4.5v15m7.5-7.5h-15"}))}),o=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}),c=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.
1074.04.147.083.22.127.325.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 0 1 1.37.49l1.296 2.247a1.125 1.125 0 0 1-.26 1.431l-1.003.827c-.293.241-.438.613-.43.992a7.723 7.723 0 0 1 0 .255c-.008.378.137.75.43.991l1.004.827c.424.35.534.955.26 1.43l-1.298 2.247a1.125 1.125 0 0 1-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.47 6.47 0 0 1-.22.128c-.331.183-.581.495-.644.869l-.213 1.281c-.09.543-.56.94-1.11.94h-2.594c-.55 0-1.019-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 0 1-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 0 1-1.369-.49l-1.297-2.247a1.125 1.125 0 0 1 .26-1.431l1.004-.827c.292-.24.437-.613.43-.991a6.932 6.932 0 0 1 0-.255c.007-.38-.138-.751-.43-.992l-1.004-.827a1.125 1.125 0 0 1-.26-1.43l1.297-2.247a1.125 1.125 0 0 1 1.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.086.22-.128.332-.183.582-.495.644-.869l.214-1.28Z"}),i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z"}))}),d=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9"}))}),m=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18 18 6M6 6l12 12"}))}),x=i.forwardRef(function(e,t){let{title:r,titleId:s,...a}=e;return i.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":s},a),r?i.createElement("title",{id:s},r):null,i.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"}))});var h=r(25430),u=r(79205);let f=(0,u.Z)("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),p=(0,u.Z)("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);var v=r(28630),g=r(94508);function b(e){let{className:t}=e,{resolved:r,toggle:a}=(0,v.F)(),[n,l]=(0,i.useState)(!1);return((0,i.useEffect)(()=>
1{l(!0)},[]),n)?(0,s.jsx)("button",{type:"button",onClick:()=>a(),className:(0,g.cn)("inline-flex size-8 shrink-0 items-center justify-center rounded-md text-text-muted outline-none opacity-85 ring-offset-2 transition-[color,opacity,background-color] duration-150 ease-filxo","hover:bg-border/35 hover:text-text-secondary hover:opacity-100 dark:hover:bg-bg-tertiary/80","focus-visible:ring-2 focus-visible:ring-[var(--focus-ring-color)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--bg)]",t),"aria-label":"dark"===r?"Switch to light mode":"Switch to dark mode",children:"dark"===r?(0,s.jsx)(f,{size:16,"aria-hidden":!0,strokeWidth:1.5}):(0,s.jsx)(p,{size:16,"aria-hidden":!0,strokeWidth:1.5})}):(0,s.jsx)("div",{className:"size-8 shrink-0","aria-hidden":!0})}var y=r(99033),j=r(26401);function w(e){let{sectionId:t,children:r,pathname:a,className:n,onAfterNavigate:i}=e;return(0,s.jsx)("a",{href:"/#".concat(t),className:n,onClick:e=>{if("/"===a){var r;e.preventDefault(),null===(r=document.getElementById(t))||void 0===r||r.scrollIntoView({behavior:"smooth",block:"start"})}null==i||i()},children:r})}function k(e){var t,r;return null!==(r=null===(t=e.email[0])||void 0===t?void 0:t.toUpperCase())&&void 0!==r?r:"?"}function N(){var e;let t=(0,j.K)(),r=(0,a.useRouter)(),u=null!==(e=(0,a.usePathname)())&&void 0!==e?e:"",f="/"===u||""===u,p="text-sm font-medium text-text-secondary transition-colors hover:text-text-primary",v="text-sm font-medium text-text-secondary transition-colors hover:text-text-primary",g=u.startsWith("/dashboard/playground"),N="block rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",{user:C,loading:E,logout:A,refresh:P}=(0,y.a)(),[S,I]=(0,i.useState)(!1),[L,M]=(0,i.useState)(!1);(0,i.useEffect)(()=>{P()},[u,P]),(0,i.useEffect)(()=>{function e(e){let t=e.target;L&&!t.closest(".profile-dropdown-container")&&M(!1)}if(L)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[L]);let F=async()=>{try{await A(),M(!1),r.push("/")}catch(e){console.error("Logout failed:",e)}},z=(0,s.jsx)(n.default,{href:t,className:"flex items-center hover:opacity-80",children:(0,s.jsx)(h.Ey,{href:!1,width:h.Kx,height:h.bU})});return E?(0,s.jsx)("nav",{className:"border-b border-border bg-surface/90 backdrop-blur-xl",children:(0,s.jsx)("div",{className:"mx-auto max-w-6xl px-5 sm:px-8 lg:px-10",children:(0,s.jsx)("div",{className:"flex h-[60px] items-center justify-between",children:z})})}):(0,s.jsxs)("nav",{className:"sticky top-0 z-50 border-b border-border bg-surface/90 backdrop-blur-xl",children:[(0,s.jsx)("div",{className:"mx-auto max-w-6xl px-5 sm:px-8 lg:px-10",children:(0,s.jsxs)("div",{className:"flex h-[60px] items-center justify-between",children:[z,C?(0,s.jsxs)(s.Fragment,{children:[f?(0,s.jsxs)("div",{className:"hidden min-w-0 flex-1 items-center justify-center gap-x-3 md:flex lg:gap-x-4",children:[(0,s.jsx)(w,{sectionId:"how-it-works",pathname:u,className:p,children:"How it works"}),(0,s.jsx)(w,{sectionId:"examples",pathname:u,className:p,children:"Examples"}),(0,s.jsx)(w,{sectionId:"features",pathname:u,className:p,children:"Features"}),(0,s.jsx)(w,{sectionId:"faqs",pathname:u,className:p,children:"FAQs"}),(0,s.jsx)(w,{sectionId:"early-access",pathname:u,className:p,children:"Early access"})]}):null,(0,s.jsxs)("div",{className:"hidden shrink-0 items-center gap-4 md:flex lg:gap-5",children:["/dashboard"!==u&&(0,s.jsx)(n.default,{href:"/dashboard",className:v,children:"Dashboard"}),g?null:(0,s.jsx)(n.default,{href:"/dashboard/playground",className:v,children:"Playground"}),(0,s.jsxs)("div",{className:"-mr-0.5 flex items-center gap-2 md:gap-3",children:[(0,s.jsx)(b,{}),(0,s.jsxs)(n.default,{href:"/dashboard/links/new",className:"inline-flex h-9 items-center gap-1.5 rounded-lg bg-primary px-3.5 text-sm font-semibold text-white shadow-sm transition-[background-color,box-shadow] hover:bg-primary-hover active:scale-[0.985]",children:[(0,s.jsx)(l,{className:"h-4 w-4"}),"New link"]}),(0,s.jsxs)("div",{className:"relative profile-dropdown-container",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>M(!L),className:"flex items-center gap-2 rounded-lg p-1 transition-colors hover:bg-bg-secondary","aria-label":"Profile menu",children:[(0,s.jsx)("div",{className:"flex h-9 w-9 items-center justify-center rounded-lg bg-primary text-sm font-semibold text-white transition-colors hover:bg-primary-hover",children:k(C)}),(0,s.jsx)(o,{className:"h-4 w-4 text-text-secondary transition-transform ".concat(L?"rotate-180":"")})]}),L&&(0,s.jsxs)("div",{className:"absolute right-0 top-full z-50 mt-2 w-56 overflow-hidden rounded-xl border border-border bg-surface py-1 shadow-card-lg",children:[(0,s.jsx)("div",{className:"border-b border-border px-4 py-3",children:(0,s.jsx)("div",{className:"truncate text-xs font-medium text-text-muted",children:C.email})}),(0,s.jsxs)(n.default,{href:"/dashboard/settings",className:"flex items-center gap-3 px-4 py-2.5 text-sm text-text-secondary transition-colors hover:bg-surface-inset hover:text-text-primary",onClick:()=>M(!1),children:[(0,s.jsx)(c,{className:"h-4 w-4 shrink-0"}
1),"Settings"]}),(0,s.jsx)(n.default,{href:"/contact",className:"flex items-center gap-3 px-4 py-2.5 text-sm text-text-secondary transition-colors hover:bg-surface-inset hover:text-text-primary",onClick:()=>M(!1),children:"Help & Support"}),(0,s.jsx)("div",{className:"my-1 border-t border-border"}),(0,s.jsxs)("button",{type:"button",onClick:()=>void F(),className:"flex w-full items-center gap-3 px-4 py-2.5 text-sm text-text-secondary transition-colors hover:bg-surface-inset hover:text-red-600",children:[(0,s.jsx)(d,{className:"h-4 w-4"}),"Sign Out"]})]})]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-1.5 md:hidden",children:[(0,s.jsx)(b,{}),(0,s.jsxs)("button",{type:"button",className:"rounded-md p-2 text-text-secondary transition-colors hover:bg-bg-tertiary hover:text-text-primary",onClick:()=>I(!S),children:[(0,s.jsx)("span",{className:"sr-only",children:"Open menu"}),S?(0,s.jsx)(m,{className:"h-6 w-6","aria-hidden":"true"}):(0,s.jsx)(x,{className:"h-6 w-6","aria-hidden":"true"})]})]})]}):(0,s.jsxs)(s.Fragment,{children:[f?(0,s.jsxs)("div",{className:"hidden min-w-0 flex-1 items-center justify-center gap-x-3 md:flex lg:gap-x-4",children:[(0,s.jsx)(w,{sectionId:"how-it-works",pathname:u,className:p,children:"How it works"}),(0,s.jsx)(w,{sectionId:"examples",pathname:u,className:p,children:"Examples"}),(0,s.jsx)(w,{sectionId:"features",pathname:u,className:p,children:"Features"}),(0,s.jsx)(w,{sectionId:"faqs",pathname:u,className:p,children:"FAQs"}),(0,s.jsx)(w,{sectionId:"early-access",pathname:u,className:p,children:"Early access"})]}):null,(0,s.jsxs)("div",{className:"hidden shrink-0 items-center gap-4 md:flex lg:gap-5",children:[(0,s.jsx)(n.default,{href:"/contact",className:"text-sm font-medium text-text-secondary transition-colors hover:text-text-primary",children:"Contact Us"}),(0,s.jsx)(b,{}),(0,s.jsx)(n.default,{href:"/login",className:"inline-flex h-9 items-center rounded-lg border border-border-strong px-4 text-sm font-semibold text-text-primary transition-colors hover:bg-surface-inset",children:"Sign in"}),(0,s.jsx)(n.default,{href:"/signup",className:"inline-flex h-9 items-center rounded-lg bg-primary px-4 text-sm font-semibold text-white shadow-sm transition-[background-color,box-shadow] hover:bg-primary-hover",children:"Get started free"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2 md:hidden",children:[(0,s.jsx)(b,{}),(0,s.jsxs)("button",{type:"button",className:"rounded-md p-2 text-text-secondary transition-colors hover:bg-bg-tertiary hover:text-text-primary",onClick:()=>I(!S),children:[(0,s.jsx)("span",{className:"sr-only",children:"Open menu"}),S?(0,s.jsx)(m,{className:"h-6 w-6","aria-hidden":"true"}):(0,s.jsx)(x,{className:"h-6 w-6","aria-hidden":"true"})]})]})]})]})}),S&&(0,s.jsx)("div",{className:"border-t border-border-primary md:hidden",children:(0,s.jsx)("div",{className:"space-y-1 px-4 pb-3 pt-2",children:C?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mb-2 flex items-center gap-3 border-b border-border-primary px-3 py-2",children:[(0,s.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-lg bg-primary text-sm font-semibold text-white",children:k(C)}),(0,s.jsx)("div",{className:"min-w-0 flex-1",children:(0,s.jsx)("div",{className:"truncate text-xs text-text-secondary",children:C.email})})]}),f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w,{sectionId:"how-it-works",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"How it works"}),(0,s.jsx)(w,{sectionId:"examples",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Examples"}),(0,s.jsx)(w,{sectionId:"features",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Features"}),(0,s.jsx)(w,{sectionId:"faqs",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"FAQs"}),(0,s.jsx)(w,{sectionId:"early-access",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Early access"})]}):null,"/dashboard"!==u?(0,s.jsx)(n.default,{href:"/dashboard",className:"block rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",onClick:()=>I(!1),children:"Dashboard"}):null,g?null:(0,s.jsx)(n.default,{href:"/dashboard/playground",className:"block rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",onClick:()=>I(!1),children:"Playground"}),(0,s.jsx)("div",{className:"mt-4 space-y-2 px-3",children:(0,s.jsxs)(n.default,{href:"/dashboard/links/new",className:"inline-flex w-full items-center justify-center gap-1.5 rounded-lg bg-primary px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-primary-hover",onClick:()=>I(!1),children:[(0,s.jsx)(l,{className:"h-4 w-4"}),"New link"]})}),(0,s.jsxs)(n.default,{href:"/dashboard/settings",className:"flex items-center gap-2 rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",onClick:()=>I(!1),children:[(0,s.jsx)(c,{className:"h-5 w-5 shrink-0 opacity-70","aria-hidden":!0}),"Settings"]}),(0,s.jsx)(n.default,{href:"/contact",className:"block rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",onClick:()=>I(!1),children:"Help & Support"}),(0,s.jsx)("div",{className:"mt-4 space-y-2 px-3",children:(0,s.jsxs)("button",{type:"button",onClick:async()=>{I(!1),await F()},className:"inline-flex w-full items-center justify-center gap-1.5 rounded-lg border border-red-200 px-4 py-2 text-sm font-medium text-red-600 hover:bg-red-50 dark:border-red-900/50 dark:hover:bg-red-950/40",children:[(0,s.jsx)(d,{className:"h-4 w-4"}),"Sign Out"]})})]}):(0,s.jsxs)(s.Fragment,{children:[f?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(w,{sectionId:"how-it-works",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"How it works"}),(0,s.jsx)(w,{sectionId:"examples",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Examples"}),(0,s.jsx)(w,{sectionId:"features",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Features"}),(0,s.jsx)(w,{sectionId:"faqs",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"FAQs"}),(0,s.jsx)(w,{sectionId:"early-access",pathname:u,className:N,onAfterNavigate:()=>I(!1),children:"Early access"})]}):null,(0,s.jsx)(n.default,{href:"/contact",className:"block rounded-md px-3 py-2 text-base font-medium text-text-secondary hover:bg-bg-secondary hover:text-text-primary",onClick:()=>I(!1),children:"Contact Us"}),(0,s.jsxs)("div",{className:"mt-4 space-y-2 px-3",children:[(0,s.jsx)(n.default,{href:"/login",className:"block w-full rounded-md border border-border-primary px-4 py-2 text-center text-sm font-medium text-text-primary hover:bg-bg-secondary",onClick:()=>I(!1),children:"Sign In"}),(0,s.jsx)(n.default,{href:"/signup",className:"block w-full rounded-md bg-primary px-4 py-2 text-center text-sm font-medium text-white hover:bg-primary-hover",onClick:()=>I(!1),children:"Get Started Free"})]})]})})})]})}function C(){var e;let t=null!==(e=(0,a.usePathname)())&&void 0!==e?e:"";return"/admin"===t||t.startsWith("/admin/")||"/s"===t||t.startsWith("/s/")?null:(0,s.jsx)(N,{})}},25430:function(e,t,r){"use strict";r.d(t,{Ey:function(){return c},Kx:function(){return l},bU:function(){return o}});
1var s=r(57437),a=r(33145),n=r(27648),i=r(94508);let l=120,o=38;function c(e){let{href:t="/",className:r,width:c=l,height:d=o}=e,m=(0,s.jsx)(a.default,{src:"/logo.png",alt:"filxo",width:c,height:d,unoptimized:!0,style:{width:c,height:d,maxWidth:c,maxHeight:d},className:(0,i.cn)("filxo-logo block shrink-0 object-contain object-left","brightness-[0.88] contrast-125 dark:brightness-100 dark:contrast-100"),priority:!0});return!1===t?(0,s.jsx)("span",{className:(0,i.cn)("flex shrink-0 items-center leading-none",r),children:m}):(0,s.jsx)(n.default,{href:t,className:(0,i.cn)("flex shrink-0 items-center leading-none hover:opacity-90",r),children:m})}},28630:function(e,t,r){"use strict";r.d(t,{F:function(){return d},f:function(){return c}});var s=r(57437),a=r(2265);let n="filxo-links-theme",i=(0,a.createContext)(null);function l(e){return"light"===e||"dark"===e?e:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function o(e){document.documentElement.classList.toggle("dark",e)}function c(e){let{children:t}=e,[r,c]=(0,a.useState)("system"),[d,m]=(0,a.useState)("light");(0,a.useEffect)(()=>{let e=function(){let e=localStorage.getItem(n);return"light"===e||"dark"===e?e:"system"}(),t=l(e);c(e),m(t),o("dark"===t)},[]),(0,a.useEffect)(()=>{if("system"!==r)return;let e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>{let e=l("system");m(e),o("dark"===e)};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[r]);let x=(0,a.useCallback)(()=>{let e="dark"===d?"light":"dark";c(e),m(e);try{localStorage.setItem(n,e)}catch(e){}o("dark"===e)},[d]);return(0,s.jsx)(i.Provider,{value:{preference:r,resolved:d,toggle:x},children:t})}function d(){let e=(0,a.useContext)(i);if(!e)throw Error("useTheme must be used within ThemeProvider");return e}},99033:function(e,t,r){"use strict";r.d(t,{a:function(){return s.a}});var s=r(79179)},79179:function(e,t,r){"use strict";r.d(t,{H:function(){return l},a:function(){return o}});var s=r(57437),a=r(2265),n=r(29116);let i=(0,a.createContext)(null);function l(e){let{children:t}=e,r=(0,a.useRef)(null),[l,o]=(0,a.useState)(void 0),[c,d]=(0,a.useState)(null);(0,a.useEffect)(()=>{(0,n.H2)({getAccessToken:()=>r.current,setAccessToken:e=>{r.current=e}})},[]);let m=(0,a.useCallback)(async()=>{d(null);try{await (0,n.jb)().catch(()=>{});let e=await (0,n.jo)();o(e)}catch(e){d(e instanceof Error?e.message:"Failed to load session"),r.current=null,o(null)}},[]);(0,a.useEffect)(()=>{m()},[m]);let x=(0,a.useCallback)(async(e,t)=>{d(null);let s=await (0,n.x4)(e,t);r.current=s.access_token,o(s.user)},[]),h=(0,a.useCallback)(async(e,t)=>{d(null);let s=await (0,n.IU)(e,t);r.current=s.access_token,o(s.user)},[]),u=(0,a.useCallback)(async()=>{await (0,n.kS)(),r.current=null,o(null)},[]),f=(0,a.useCallback)(async()=>{await m()},[m]),p=(0,a.useCallback)(()=>r.current,[]),v=(0,a.useMemo)(()=>({user:l,isLoading:void 0===l,loading:void 0===l,error:c,login:x,signup:h,logout:u,refresh:f,getAccessToken:p}),[l,c,x,h,u,f,p]);return(0,s.jsx)(i.Provider,{value:v,children:t})}function o(){let e=(0,a.useContext)(i);if(!e)throw Error("useAuth must be used within AuthProvider");return e}},26401:function(e,t,r){"use strict";r.d(t,{K:function(){return a}});var s=r(40257);function a(){var e;let t=null===(e=s.env.NEXT_PUBLIC_LINKS_APP_URL)||void 0===e?void 0:e.trim();return t?t.replace(/\/$/,""):"https://app.filxo.com"}},98552:function(e,t,r){"use strict";function s(e){return"/login"===e||"/signup"===e||"/forgot-password"===e||"/reset-password"===e||"/verify-email"===e}r.d(t,{w:function(){return s}})},94508:function(e,t,r){"use strict";r.d(t,{cn:function(){return a}});var s=r(61994);function a(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.W)(t)}},79205:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var s=r(2265);let a=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),n=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()};var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,s.forwardRef)((e,t)=>{let{color:r="currentColor",size:a=24,strokeWidth:l=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:m,...x}=e;return(0,s.createElement)("svg",{ref:t,...i,width:a,height:a,stroke:r,strokeWidth:o?24*Number(l)/Number(a):l,className:n("lucide",c),...x},[...m.map(e=>{let[t,r]=e;return(0,s.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let r=(0,s.forwardRef)((r,i)=>{let{className:o,...c}=r;return(0,s.createElement)(l,{ref:i,iconNode:t,className:n("lucide-".concat(a(e)),o),...c})});return r.displayName="".concat(e),r}},99376:function(e,t,r){"use strict";var s=r(35475);r.o(s,"useParams")&&r.d(t,{useParams:function(){return s.useParams}}),r.o(s,"usePathname")&&r.d(t,{usePathname:function(){return s.usePathname}}),r.o(s,"useRouter")&&r.d(t,{useRouter:function(){return s.useRouter}}),r.o(s,"useSearchParams")&&r.d(t,{useSearchParams:function(){return s.useSearchParams}})},47960:function(){}},function(e){e.O(0,[3587,2972,7042,9116,2971,2117,1744],function(){return e(e.s=99200)}),_N_E=e.O()}]);
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.