1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{2734:function(e,a,l){Promise.resolve().then(l.bind(l,8604)),Promise.resolve().then(l.t.bind(l,5939,23)),Promise.resolve().then(l.t.bind(l,4080,23))},8604:function(e,a,l){"use strict";var s=l(7437),t=l(2265),n=l(7138),r=l(6920),i=l(5079),c=l(8472);a.default=()=>{let[e,a]=(0,t.useState)([]),[l,o]=(0,t.useState)(!1),[d,m]=(0,t.useState)(""),[h,x]=(0,t.useState)(""),[p,u]=(0,t.useState)(!0);(0,t.useEffect)(()=>{c.Z.get("https://admin.phyllis-chesler.com/api/tags?limit=40&sort=name").then(e=>{a(e.data.docs)})},[]);let v=()=>{d.trim()&&(window.location.href="/search?q=".concat(encodeURIComponent(d.trim())))};return(0,s.jsxs)("div",{children:[(0,s.jsx)("header",{className:"bg-gradient-primary pt-xl-7",children:(0,s.jsx)("div",{className:"bg-gradient-primary-dark",children:(0,s.jsxs)("div",{className:"row no-gutters",children:[(0,s.jsx)("div",{className:"col-12 order-2 order-xl-1",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"row",children:[(0,s.jsxs)("div",{className:"col-12 col-lg-4 text-center py-5",children:[(0,s.jsx)("h3",{className:"text-white fw-bold mb-4",children:"Welcome to my website"}),(0,s.jsx)("p",{className:"h5 text-white mb-4",children:"Where I've archived interviews and what I've written in the last quarter-century."}),(0,s.jsxs)("div",{className:"form-append form-append-lg",role:"search",children:[(0,s.jsx)("button",{className:"form-append-icon text-gray-800",onClick:v,"aria-label":"Search articles",type:"button",children:(0,s.jsx)(r.G,{icon:i.wn1})}),(0,s.jsx)("input",{className:"form-control form-control-lg border-white",type:"search",value:d,onChange:e=>m(e.target.value),onKeyPress:e=>"Enter"===e.key&&v(),placeholder:"Search Articles","aria-label":"Search articles"})]})]}),(0,s.jsx)("div",{className:"col-12 col-lg-4 text-center",children:(0,s.jsx)("img",{src:"https://cdn.blacktiecollab.com/phyllis-chesler.com/images/315.jpg",className:"h-100 w-100 of-cover",alt:"Portrait of Phyllis Chesler"})}),(0,s.jsxs)("div",{className:"col-12 col-lg-4 text-center py-5",children:[(0,s.jsx)("p",{className:"h5 text-white mb-4",children:"If my work finds favor in your eyes, please consider making a donation."}),(0,s.jsx)("div",{className:"mb-4"}),(0,s.jsx)("a",{href:"https://www.paypal.com/donate/?hosted_button_id=E5NMQQGVGLA6G",target:"_blank",rel:"noopener noreferrer",className:"btn btn-warning btn-lg btn-pill px-xl-8",children:"Donate"}),(0,s.jsx)("label",{htmlFor:"newsletter-email",className:"sr-only",children:"Email for newsletter"}),(0,s.jsx)("input",{id:"newsletter-email",className:"form-control form-control-lg border-white",type:"email",value:h,onChange:e=>x(e.target.value),style:{marginTop:"20px"},placeholder:"Sign up for newsletter! Enter your email.","aria-label":"Email address for newsletter signup"}),(0,s.jsx)("button",{className:"btn btn-success btn-sm",style:{marginTop:"10px"},onClick:()=>{c.Z.post("https://phyllis-chesler.com/mailchimp-phyllis/",{email:h}).then(e=>{alert("You have been signed up for the newsletter!")}).catch(e=>{console.log("err",e),alert("Error: ".concat(e.message))})},children:"Sign up!"})]})]})})}),(0,s.jsx)("div",{className:"col-12 order-1 order-xl-2",children:(0,s.jsx)("nav",{className:"navbar navbar-expand-xl navbar-custom bg-gradient-primary","aria-label":"Main navigation",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsx)(n.default,{href:"/",className:"navbar-brand",children:(0,s.jsxs)("span",{className:"logo",children:[(0,s.jsx)("span",{className:"logo-title",children:"PHYLLIS CHESLER"}),(0,s.jsx)("span",{className:"logo-subtitle",children:"ORGANIZATION"})]})}),(0,s.jsx)("button",{className:"navbar-toggler",type:"button",onClick:()=>u(!p),"aria-expanded":!p,"aria-label":"Toggle navigation menu",children:(0,s.jsx)(r.G,{icon:i.xiG,className:"text-white"})}),(0,s.jsx)("div",{className:"".concat(p?"collapse":""," navbar-collapse"),children:(0,s.jsxs)("ul",{className:"navbar-nav ml-auto",children:[(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/",className:"nav-link",children:"Home"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)("a",{onClick:()=>o(!l),className:"nav-link",role:"button",tabIndex:0,"aria-expanded":l,onKeyDown:e=>"Enter"===e.key&&o(!l),children:"Categories"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/lectures-and-media",className:"nav-link",children:"Media & Lectures"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/articles",className:"nav-link",children:"Articles"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/pages/books",className:"nav-link",children:"Books"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/pages/about-phyllis",className:"nav-link",children:"Bio"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/gallery",className:"nav-link",children:"Photos"})}),(0,s.jsx)("li",{className:"nav-item text-center",children:(0,s.jsx)(n.default,{href:"/pages/contact-us",className:"nav-link",children:"Contact"})})]})})]})})})]})})}),l&&(0,s.jsx)("nav",{className:"navigation","aria-label":"Article categories",children:e.map(e=>(0,s.jsx)(n.default,{href:"/category/".concat(e.slug),className:"nav-link",children:e.name},e.id))})]})}},5939:function(){}},function(e){e.O(0,[995,676,231,438,228,971,23,744],function(){return e(e.s=2734)}),_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.