PageSourceSearch

https://www.charitywater.org/vite/assets/SearchBar-CC2rSWfv.js

js charitywater.org collected 2026-09-24 06:54:57 UTC 2,285 bytes, 2 lines download raw bytes

1import{aB as e,aP as a}from"./store-DUosIV5A.js";import{a as n}from"./application-CegkUz9G.js";const i="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.16995%207.16996C3.16995%204.45272%205.3727%202.24996%208.08995%202.24996C10.8072%202.24996%2013.0099%204.45272%2013.0099%207.16996C13.0099%209.8872%2010.8072%2012.09%208.08995%2012.09C5.3727%2012.09%203.16995%209.8872%203.16995%207.16996ZM8.08995%200.149963C4.21291%200.149963%201.06995%203.29292%201.06995%207.16996C1.06995%2011.047%204.21291%2014.19%208.08995%2014.19C9.43276%2014.19%2010.6875%2013.8129%2011.7541%2013.159L16.1375%2017.5424C16.5476%2017.9524%2017.2124%2017.9524%2017.6225%2017.5424C18.0325%2017.1323%2018.0325%2016.4675%2017.6225%2016.0575L13.3659%2011.8009C14.4516%2010.565%2015.1099%208.94434%2015.1099%207.16996C15.1099%203.29292%2011.967%200.149963%208.08995%200.149963Z'%20fill='%231A1A1A'/%3e%3c/svg%3e",m=()=>{const[s,c]=n.useState(""),{isSubmitting:t}=e.campaignSearch,l=r=>{r.preventDefault(),e.campaignSearch.searchInput=s,e.campaignSearch.page=1,e.campaignSearch.parentCampaignId?e.campaignSearch.fetchChildCampaigns():e.campaignSearch.fetchCampaigns()};return a.jsxs("form",{className:"search-bar flex flex-col lg-flex-row lg-justify-center items-center self-stretch gap-4 lg-gap-0 pb-10",onSubmit:l,children:[a.jsx("div",{className:"search-form-query-container h-14 max-w-xs lg-max-w-md shrink-0 w-full flex items-center px-2 gap-2 rounded border border-solid border-cw-grey-900 bg-cw-white",children:a.jsxs("div",{className:"search-form-query-wrapper flex items-center gap-2",children:[a.jsx("img",{alt:"search icon",className:"search-icon shrink-0 w-5 h-5",src:i}),a.jsx("input",{className:"search-form-query body-m border-none",id:"searchQuery",label:"false",name:"search[query]",onChange:r=>c(r.target.value),placeholder:"Search for a campaign",type:"text",value:s})]})}),a.jsx("button",{className:"search-button button button--cw-yellow lg--ml-px h-14 max-w-xs text-cw-black border border-solid w-full",disabled:t,name:"commit",type:"submit",value:"search",children:"Search"})]})};export{m as default};
2//# sourceMappingURL=SearchBar-CC2rSWfv.js.map

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.