PageSourceSearch

https://citizenportal.ai/assets/FoundingMemberBanner-BuXZIPf-.js

js citizenportal.ai collected 2026-09-25 19:12:23 UTC 2,632 bytes, 1 lines download raw bytes

1import{j as e}from"./jsx-runtime-D_zvdyIk.js";import{r as c,L as i}from"./chunk-JZWAC4HX-4nbCDcia.js";import{trackFoundingMemberCtaClicked as a}from"./events-CTnVllfV.js";import{A as o}from"./arrow-right-BySkwWNr.js";import{X as l}from"./dialog-C_4Kn3pd.js";const x="cp-founding-banner-dismissed",u="cp-upgrade-banner-dismissed";function j({variant:t="full",onCtaClick:s}){const r=t==="upgrade"?u:x,[m,d]=c.useState(()=>{if(typeof window>"u")return!1;try{return localStorage.getItem(r)==="1"}catch{return!1}});if(m)return null;const n=()=>{try{localStorage.setItem(r,"1")}catch{}d(!0)};return t==="upgrade"?e.jsx("div",{className:"w-full bg-muted/60 border-b text-sm mb-4",children:e.jsxs("div",{className:"max-w-[950px] mx-auto flex items-center justify-between gap-3 px-4 py-2",children:[e.jsxs("p",{className:"text-muted-foreground leading-snug flex-1 text-center sm:text-left text-xs",children:[e.jsx("span",{className:"font-semibold text-foreground",children:"Upgrade to Founding Member"})," ","— $299 one-time payment. Lifetime access. No renewals ever."]}),e.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[e.jsxs(i,{to:"/founding-member",className:"inline-flex items-center gap-1 text-xs font-semibold text-primary hover:underline whitespace-nowrap",onClick:()=>{a({source:"banner",destination:"landing"}),s==null||s()},children:["Learn more",e.jsx(o,{className:"size-3"})]}),e.jsx("button",{type:"button",onClick:n,"aria-label":"Dismiss banner",className:"text-muted-foreground hover:text-foreground p-0.5 rounded transition-colors",children:e.jsx(l,{className:"size-3.5"})})]})]})}):e.jsx("div",{className:"w-full text-white text-sm mb-4",style:{background:"linear-gradient(135deg, #2a4c89, #78022d)"},children:e.jsxs("div",{className:"max-w-[950px] mx-auto flex items-center justify-between gap-3 px-4 py-2.5",children:[e.jsx("p",{className:"font-medium leading-snug flex-1 text-center sm:text-left",children:"Get Full Government Meeting Transcripts, Videos, & Alerts Forever!"}),e.jsxs("div",{className:"flex items-center gap-2 flex-shrink-0",children:[e.jsxs(i,{to:"/founding-member",className:"inline-flex items-center gap-1.5 bg-white text-[#2a4c89] font-semibold text-xs px-3 py-1.5 rounded-full hover:bg-white/90 transition-colors whitespace-nowrap",onClick:()=>{a({source:"banner",destination:"landing"}),s==null||s()},children:["Start today",e.jsx(o,{className:"size-3.5"})]}),e.jsx("button",{type:"button",onClick:n,"aria-label":"Dismiss banner",className:"text-white/70 hover:text-white p-0.5 rounded transition-colors",children:e.jsx(l,{className:"size-4"})})]})]})})}export{j as F};

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.