1import{r as c,j as e,af as d,ag as l}from"./index-BcBk5ocr.js";import{E as u}from"./EditableTemplate-Ch8NDq9C.js";import{M as m}from"./mail-CB7w2iw-.js";import"./copy-7VABDo7H.js";function p(a,s){const t=a.agency_name||a.agency_type,r=new Date().toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return[{id:"records_request",name:"Records Request",subject:`Public Records Request â ${t}`,body:`Dear Records Officer, 2 3I am writing to request public records related to ${a.category.toLowerCase()} at ${t}. 4 5Specifically, I am seeking documents, communications, and financial records pertaining to: 6"${a.description.slice(0,300)}" 7 8I would appreciate receiving these records in electronic format. Please let me know if you need any additional information to process this request. 9 10Thank you for your time and cooperation. 11 12Sincerely, 13${s} 14${r}`},{id:"agency_inquiry",name:"Agency Inquiry",subject:`Inquiry Regarding ${a.category} â ${t}`,body:`Dear [Contact Name], 15 16I am conducting research into ${a.category.toLowerCase()} practices at ${t}. 17 18I would appreciate the opportunity to discuss the following: 19- Current policies and procedures related to ${a.category.toLowerCase()} 20- Any recent audits or reviews conducted 21- Budget allocations and expenditure reports 22 23Would you be available for a brief phone call or email exchange [this week / specify preferred date]? 24 25Thank you for your public service and transparency. 26 27Best regards, 28${s} 29${r}`},{id:"followup",name:"Follow-Up",subject:`Follow-Up: Records Request â ${t}`,body:`Dear [Contact Name], 30 31I am following up on my previous request for records regarding ${a.category.toLowerCase()} at ${t}, submitted on [date of original request]. 32 33As a reminder, I requested: 34"${a.description.slice(0,200)}" 35 36Under the California Public Records Act, agencies are required to respond within 10 days. I would appreciate an update on the status of my request. 37 38Thank you for your attention to this matter. 39 40Sincerely, 41${s} 42${r}`},{id:"source_outreach",name:"Source Outreach",subject:"Confidential: Government Accountability Research",body:`Dear [Name], 43 44I am researching ${a.category.toLowerCase()} at ${t} and believe you may have valuable insights based on your experience. 45 46Key points: 47⢠All conversations can be kept strictly confidential 48⢠I am not affiliated with any political party 49⢠My goal is transparency and efficient use of taxpayer funds 50⢠You can choose how and whether to be identified 51 52If you are willing to share your perspective, I can be reached at [your email] or by phone at [your phone number] at a time convenient for you. 53 54Thank you for considering this request. 55 56Respectfully, 57${s} 58${r}`}]}function x({tip:a,volunteerName:s}){var n;const t=p(a,s),[r,i]=c.useState(((n=t[0])==null?void 0:n.id)||null);return e.jsxs("div",{className:"space-y-3",children:[e.jsxs("p",{className:"text-xs text-muted-foreground",children:["Templates are pre-filled with tip details and today's date. Edit any ",e.jsx("span",{className:"rounded bg-amber-100 px-1 py-0.5 text-xs text-amber-700 dark:bg-amber-900/30 dark:text-amber-400",children:"highlighted field"})," directly, then copy."]}),t.map(o=>e.jsxs("div",{className:"rounded-xl border border-border bg-card overflow-hidden",children:[e.jsxs("button",{onClick:()=>i(r===o.id?null:o.id),className:"flex w-full items-center justify-between px-4 py-3 text-left hover:bg-secondary/50 transition-colors",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(m,{className:"h-4 w-4 text-accent"}),e.jsx("span",{className:"text-sm font-semibold",children:o.name})]}),r===o.id?e.jsx(d,{className:"h-4 w-4 text-muted-foreground"}):e.jsx(l,{className:"h-4 w-4 text-muted-foreground"})]}),r===o.id&&e.jsxs("div",{className:"border-t border-border px-4 py-3 space-y-3",children:[e.jsxs("div",{children:[e.jsx("span",{className:"text-[10px] font-semibold uppercase tracking-wider text-muted-foreground",children:"Subject"}),e.jsx("p",{className:"mt-0.5 text-sm font-medium",children:o.subject})]}),e.jsx(u,{initialText:o.body})]})]},o.id))]})}export{x as default};
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.