PageSourceSearch

https://phyllis-chesler.com/_next/static/chunks/app/pages/contact-us/page-e6f95b5aa73ffb65.js

js phyllis-chesler.com collected 2026-10-02 10:05:57 UTC 5,985 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[106],{8403:function(e,t,l){Promise.resolve().then(l.bind(l,2810))},7918:function(e,t,l){"use strict";l.d(t,{default:function(){return o}});var a=l(7437),s=l(2265),r=l(7138),n=l(8472),i=l(3170),c=()=>{let[e,t]=(0,s.useState)([]);(0,s.useEffect)(()=>{l()},[]);let l=async()=>{try{let e=await n.Z.get("https://admin.phyllis-chesler.com/api/posts?limit=6&sort=-publicationDate&page=1&where[status][equals]=published");t(e.data.docs)}catch(e){console.error("Error fetching posts:",e)}};return(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"card-body-title",children:(0,a.jsxs)("div",{className:"d-flex mb-2",children:[(0,a.jsx)("span",{className:"text-gray-400 text-uppercase flex-grow-1",children:"Most recent Articles"}),(0,a.jsx)(r.default,{href:"/articles",className:"pl-1 text-uppercase text-nowrap",children:"View more"})]})}),(0,a.jsx)("ul",{className:"list-group list-group-flush list-group-flush-x",children:e.map(e=>{var t;return(0,a.jsxs)("li",{className:"list-group-item",children:[(0,a.jsx)("p",{className:"text-gray-800 lead fw-bold mb-1",children:e.title}),(0,a.jsx)(r.default,{href:(0,i.b$)(e),className:"text-uppercase text-nowrap",children:(null==e?void 0:null===(t=e.category)||void 0===t?void 0:t.slug)==="lectures-and-media"?"View or Listen Now":"Read Now"})]},e.id)})})]})};function o(){return(0,a.jsx)(c,{})}},3170:function(e,t,l){"use strict";function a(e){let t=null==e?void 0:e.category,l="object"==typeof t&&null!==t?t.id:t,a="object"==typeof t&&null!==t?t.slug:null,s="61b26879c1e21db759d75ed0"===String(l)||"lectures-and-media"===a;return"".concat(s?"/lectures-and-media":"/articles","/").concat(e.titleSlug)}l.d(t,{b$:function(){return a}}),(l(5566).env.NEXT_PUBLIC_SITE_URL||"https://phyllis-chesler.com").replace(/\/+$/,"")},2810:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return n}});var a=l(7437),s=l(2265),r=l(7918);function n(){let[e,t]=(0,s.useState)(""),[l,n]=(0,s.useState)(""),[i,c]=(0,s.useState)(""),[o,d]=(0,s.useState)(""),[u,m]=(0,s.useState)(""),[h,p]=(0,s.use
1State)(!1),[f,x]=(0,s.useState)(!1),[b,g]=(0,s.useState)(""),j=["[email protected]"].map(e=>e.toLowerCase()),y=()=>{t(""),n(""),c(""),d(""),m("")},N=async t=>{if(t&&"function"==typeof t.preventDefault&&t.preventDefault(),!f){if(g(""),j.includes(l.trim().toLowerCase())){p(!0),y();return}x(!0);try{let t=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({fullName:e.trim(),email:l.trim(),subject:i.trim(),message:o.trim(),website:u})}),a=null;try{a=await t.json()}catch(e){}if(!t.ok||!a||!0!==a.ok){let e=a&&"string"==typeof a.error?a.error:null;throw Error(e||"Request failed with status ".concat(t.status))}p(!0),y()}catch(e){console.error("Form submission error:",e),g("There was an error submitting your message. Please try again in a moment, or email [email protected] directly.")}finally{x(!1)}}};return(0,a.jsx)("div",{children:(0,a.jsx)("section",{className:"py-7",children:(0,a.jsx)("div",{className:"container",children:(0,a.jsxs)("div",{className:"row gy-7",children:[(0,a.jsx)("div",{className:"col-12 col-lg-8 col-xxl-9",children:(0,a.jsx)("div",{className:"article-content-area",children:h?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:(0,a.jsx)("b",{children:"Messaged Phyllis"})}),(0,a.jsx)("p",{children:"Message sent to Phyllis. Please wait 24-48 hours for response!"})]}):(0,a.jsxs)("form",{onSubmit:N,noValidate:!0,children:[(0,a.jsx)("h1",{children:(0,a.jsx)("b",{children:"Contact Phyllis"})}),b&&(0,a.jsx)("div",{className:"alert alert-danger",role:"alert",children:b}),(0,a.jsxs)("div",{"aria-hidden":"true",style:{position:"absolute",left:"-9999px",top:"auto",width:1,height:1,overflow:"hidden"},children:[(0,a.jsx)("label",{htmlFor:"contact-website",children:"Leave this field empty"}),(0,a.jsx)("input",{id:"contact-website",type:"text",tabIndex:-1,autoComplete:"off",value:u,onChange:e=>m(e.target.value)})]}),(0,a.jsxs)("div",{className:"form-append form-append-lg border",children:[(0,a.jsx)("label",{htmlFor:"contact-fullname",className:"sr-only",children:"Full Name"}),(0,a.jsx)("input",{id:"contact-fullname",className:"form-control form-control-lg border-white",type:"text",value:e,onChange:e=>t(e.target.value),placeholder:"Full Name","aria-label":"Full Name",required:!0,disabled:f,autoComplete:"name"})]}),(0,a.jsxs)("div",{className:"form-append form-append-lg border",children:[(0,a.jsx)("label",{htmlFor:"contact-email",className:"sr-only",children:"Email Address"}),(0,a.jsx)("input",{id:"contact-email",className:"form-control form-control-lg border-white",type:"email",value:l,onChange:e=>n(e.target.value),placeholder:"Email Address","aria-label":"Email Address",required:!0,disabled:f,autoComplete:"email"})]}),(0,a.jsxs)("div",{className:"form-append form-append-lg border",children:[(0,a.jsx)("label",{htmlFor:"contact-subject",className:"sr-only",children:"Subject"}),(0,a.jsx)("input",{id:"contact-subject",className:"form-control form-control-lg border-white",type:"text",value:i,onChange:e=>c(e.target.value),placeholder:"Subject","aria-label":"Subject",disabled:f})]}),(0,a.jsxs)("div",{className:"form-append form-append-lg border",children:[(0,a.jsx)("label",{htmlFor:"contact-message",className:"sr-only",children:"Message"}),(0,a.jsx)("textarea",{id:"contact-message",className:"form-control form-control-lg border-white",value:o,onChange:e=>d(e.target.value),placeholder:"Message","aria-label":"Message",required:!0,disabled:f})]}),(0,a.jsx)("button",{className:"btn btn-warning btn-lg btn-pill px-xl-8",type:"submit",disabled:f,children:f?"Sending…":"Send Message"})]})})}),(0,a.jsx)("div",{className:"col-12 col-lg-4 col-xxl-3",children:(0,a.jsx)("div",{className:"card",children:(0,a.jsx)("div",{className:"card-body",children:(0,a.jsx)(r.default,{})})})})]})})})})}}},function(e){e.O(0,[231,438,971,23,744],function(){return e(e.s=8403)}),_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.