1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3211],{12115:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__N_SSP:()=>d,default:()=>c});var r=n(37876),i=n(14232),o=n(10553),a=n(29202),s=n(50066),l=n(5377),d=!0;function c(e){let[t,n]=(0,i.useState)(""),[d,c]=(0,i.useState)(""),[m,g]=(0,i.useState)(""),[p,u]=(0,i.useState)(""),[h,y]=(0,i.useState)(!1);async function w(n){if(n.preventDefault(),u(""),d!==m)return void u("New password and confirm password do not match.");y(!0);try{let n=await fetch("/api/auth/passwordChange",{method:"PATCH",headers:{"Content-Type":"application/json"},body:JSON.stringify({user:e.user,orgId:e.organization.id,passwordCurrent:t,passwordNew:d})}),r=await n.json();n.ok?(0,o.signOut)():u(r.message||"An error occurred. Please try again.")}catch(e){u("An error occurred. Please try again.")}finally{y(!1)}}return(0,r.jsxs)(s.A,{title:"Change Password for ".concat(e.username),subtitle:"After changing your password you will be signed out.",children:[(0,r.jsx)(a.A,{orgInfo:e.organization}),(0,r.jsx)("div",{className:"max-w-lg mx-auto",children:(0,r.jsxs)("form",{onSubmit:w,className:"space-y-4",children:[(0,r.jsx)(l.yA,{id:"passwordCurrent",label:"Current Password",value:t,onChange:n,placeholder:"Enter your current password"}),(0,r.jsx)(l.yA,{id:"passwordNew",label:"New Password",value:d,onChange:c,placeholder:"Create a new password",showRequirements:!0}),(0,r.jsx)(l.yA,{id:"passwordConfirm",label:"Confirm New Password",value:m,onChange:g,placeholder:"Confirm your new password",matchValue:d}),p&&(0,r.jsx)("div",{className:"p-3 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-md text-sm text-red-600 dark:text-red-400",children:p}),(0,r.jsx)("div",{className:"pt-2",children:(0,r.jsx)("button",{type:"submit",disabled:h,className:"p-2 rounded-md border border-gray-700 dark:border-gray-500 bg-gray-100 dark:bg-gray-700 text-gray-900 dark:text-gray-100 hover:bg-gray-200 dark:hover:bg-gray-600 hover:cursor-pointer transition-colors duration-200 disabled:opacity-50 disabled:cursor-not-allowed",children:h?(0,r.jsx)(l.az,{text:"Changing..."}):"Change Password"})})]})})]})}},29202:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(37876),i=n(77328),o=n.n(i),a=n(62286),s=n(65364);function l(e){var t,n,i,l,d,c,m;let{orgInfo:g,title:p,description:u,canonical:h,imageUrl:y,imageAlt:w,twitterSite:x,twitterCreator:b,origin:f,children:v}=e,j=(null==g||null==(t=g.settings)?void 0:t.displayName)||"Institute for Legislative Analysis",A=p||j,_="1"===g.id,P=f||s.env.NEXT_PUBLIC_SITE_URL||window.location.origin,S=e=>{if(!e)return;if(/^https?:\/\//i.test(e)||!P)return e;let t=P.replace(/\/$/,""),n=e.replace(/^public\//,"").replace(/^\//,"");return"".concat(t,"/").concat(n)},I=u||(null==g||null==(n=g.settings)?void 0:n.description)||"Institute for Legislative Analysis";"10"!==g.id||u||(I="Americaâs First Policy Intelligence System Guided by Scripture â The Biblical Business Index (BBI) is a comprehensive faith-based policy platform that is transforming how Christian business leaders engage with policy by putting the Word of God at the center of decision-making. Itâs more than a tool â itâs a strategic compass aligned with Scripture. It equips Christian CEOs nationwide, with Biblically-Rooted Policy Analysis, Strategic Investment Roadmaps, Values-Aligned Lawmaker Identification and Amplified Advocacy for Faith and Freedom.");let N=A.split(" | "),k=new URLSearchParams({title:N[0]||A,subtitle:N[1]||j,org:String(null!=(m=null==g?void 0:g.id)?m:"")}),C="/api/og/page?".concat(k.toString()),L=S(("string"==typeof y?y:null==y?void 0:y.src)||C||(null==g||null==(i=g.settings)?void 0:i.ogImageUrl)||("1"===g.id?"https://www.limitedgov.org/wp-content/uploads/sites/44/2024/05/ILA-red-logo.png":"4"===g.id?"/ID_GOP_Ratings_Logo.png":"14"===g.id?"/National_GOP_logo_png.png":"10"===g.id?
1"/ChriEmplAlli/cea-logo-meta.jpg":(null==g||null==(l=g.settings)?void 0:l.logoUrl)
1||"https://www.limitedgov.org/wp-content/uploads/sites/44/2024/05/ILA-red-logo.png")),U=w||(null==g||null==(d=g.settings)?void 0:d.ogImageAlt)||"".concat(j," â Social Image"),O=h?S(h):void 0,E=O||P||void 0;return(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:A},"title"),(0,r.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"},"viewport"),(0,r.jsx)("meta",{name:"description",content:I},"description"),(0,r.jsx)("meta",{name:"robots",content:"index,follow"},"robots"),(0,r.jsx)("meta",{name:"publisher",content:"Institute for Legislative Analysis"},"publisher"),(0,r.jsx)("meta",{name:"author",content:j},"author"),O&&(0,r.jsx)("link",{rel:"canonical",href:O},"canonical"),(0,r.jsx)("meta",{property:"og:locale",content:"en_US"},"og:locale"),(0,r.jsx)("meta",{property:"og:type",content:"website"},"og:type"),(0,r.jsx)("meta",{property:"og:title",content:A},"og:title"),(0,r.jsx)("meta",{property:"og:description",content:I},"og:description"),(0,r.jsx)("meta",{property:"og:site_name",content:j},"og:site_name"),E&&(0,r.jsx)("meta",{property:"og:url",content:E},"og:url"),L&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{property:"og:image",content:L},"og:image"),(0,r.jsx)("meta",{property:"og:image:secure_url",content:L},"og:image:secure_url"),(0,r.jsx)("meta",{property:"og:image:width",content:"1200"},"og:image:width"),(0,r.jsx)("meta",{property:"og:image:height",content:"630"},"og:image:height"),(0,r.jsx)("meta",{property:"og:image:alt",content:U},"og:image:alt")]}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"},"tw:card"),(0,r.jsx)("meta",{name:"twitter:title",content:A},"tw:title"),(0,r.jsx)("meta",{name:"twitter:description",content:I},"tw:description"),x&&(0,r.jsx)("meta",{name:"twitter:site",content:x},"tw:site"),b&&(0,r.jsx)("meta",{name:"twitter:creator",content:b},"tw:creator"),L&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("meta",{name:"twitter:image",content:L},"tw:image"),(0,r.jsx)("meta",{name:"twitter:image:alt",content:U},"tw:image:alt")]}),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,a.U5)((0,a.Jk)({id:g.id,name:j,url:P||void 0,logoUrl:S(null==g||null==(c=g.settings)?void 0:c.logoUrl)},{isILA:_}))}},"ld-org"),(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,a.U5)((0,a.xS)({id:g.id,name:j,url:P||void 0,description:I},{isILA:_}))}},"ld-site"),v]})}},33429:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/passwordChange",function(){return n(12115)}])},50066:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(37876);function i(e){let{title:t,subtitle:n,children:i,className:o}=e;return(0,r.jsxs)("div",{className:"mx-auto mt-10 mb-16 w-full max-w-3xl px-4 sm:px-6 ".concat(o||""),children:[(0,r.jsx)("h1",{className:"text-2xl font-semibold text-center",children:t}),n?(0,r.jsx)("div",{className:"mt-2 text-center text-sm text-gray-600 dark:text-gray-400",children:n}):null,(0,r.jsx)("div",{className:"mt-6 rounded-xl border border-gray-200 bg-white p-4 shadow-sm dark:border-gray-800 dark:bg-gray-900",children:i})]})}n(14232)},62286:(e,t,n)=>{"use strict";n.d(t,{Jk:()=>g,PS:()=>a,U5:()=>b,Zt:()=>w,bR:()=>o,dA:()=>d,d_:()=>h,rL:()=>l,uF:()=>u,wY:()=>s,xS:()=>p,yQ:()=>y});let r={Rep:"U.S. Representative",Sen:"U.S. Senator",Del:"Delegate",Asm:"Assemblymember"},i={Rep:"Rep.",Sen:"Sen.",Del:"Del.",Asm:"Asm."};function o(e){return e?i[e]||e:""}function a(e,t,n){let i=e.role?r[e.role]||e.role:void 0,o=e.party?{"@type":"PoliticalParty",name:e.party}:void 0,a=[e.from,e.district?"District ".concat(e.district):null].filter(Boolean).join(", "),s=a?{"@type":"Place",name:a}:void 0;return{"@context":"https://schema.org","@type":"Person",name:e.name,...i?{jobTitle:i}:{},...o?{affiliation:o}:{},...s?{workLocation:s}:{},url:n,...e.imageUrl?{image:e.imageUrl}:{},...e.description?{description:e.description}:{},...e.knowsAbout&&e.knowsAbout.length?{knowsAbout:e.knowsAbout}:{},subjectOf:{"@type":"Rating",author:{"@type":"Organization",name:t.name,...t.url?{url:t.url}:{}}}}}function s(e){let{person:t,pageUrl:n,dateModified:r}=e,{"@context":i,...o}=t;return{"@context":"https://schema.org","@type":"ProfilePage",...n?{url:n}:{},...r?{dateModified:r}:{},mainEntity:o}}function l(e){return{"@context":"https://schema.org","@type":"Organization",name:e.name,...e.url?{url:e.url}:{},...e.logoUrl?{logo:e.logoUrl}:{},...e.description?{description:e.description}:{},...e.sameAs&&e.sameAs.length?{sameAs:e.sameAs}:{}}}function d(e){return{"@context":"https://schema.org","@type":"WebSite",name:e.name,...e.url?{url:e.url}:{},...e.description?{description:e.description}:{}}}let c={"@type":"Organization",name:"Institute for Legislative Analysis",url:"https://www.limitedgov.org",logo:"https://www.limitedgov.org/wp-content/uploads/sites/44/2024/05/ILA-red-logo.png"},m=["https://gopplatform.com","https://spanbergervotes.com","https://analysis.limitedgov.org"];function g(e,t){return t.isILA?l({...e,sameAs:m}):{"@context":"https://schema.org","@type":"Organization",name:e.name,...e.url?{url:e.url}:{},...e.logoUrl?{logo:e.logoUrl}:{},parentOrganization:c}}function p(e,t){let n=d(e);return t.isILA?n:{...n,publisher:c}}function u(e,t,n){return{"@context":"https://schema.org","@type":"NewsArticle",headline:e.headline,...e.description?{description:e.description}:{},...e.datePublished?{datePublished:e.datePublished}:{},...e.imageUrl?{image:e.imageUrl}:{},mainEntityOfPage:{"@type":"WebPage","@id":n},author:{"@type":e.authorName?"Person":"Organization",name:e.authorName||t.name},publisher:{"@type":"Organization",name:t.name,...t.logoUrl?{logo:{"@type":"ImageObject",url:t.logoUrl}}:{}}}}function h(e,t){let n=(null==t?void 0:t.itemType)||"Person";return{"@context":"https://schema.org","@type":"ItemList",...(null==t?void 0:t.name)?{name:t.name}:{},...(null==t?void 0:t.description)?{description:t.description}:{},numberOfItems:e.length,itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":n,name:e.name,url:e.url,...e.description?{description:e.description}:{},...e.image?{image:e.image}:{}}}))}}function y(e){return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>
1({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}}function w(e){return{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.name,item:e.url}))}}let x={"<":"\\u003c",">":"\\u003e","&":"\\u0026","\u2028":"\\u2028","\u2029":"\\u2029"};function b(e){var t;return(null!=(t=JSON.stringify(e))?t:"null").replace(/[<>&\u2028\u2029]/g,e=>x[e])}},77328:(e,t,n)=>{e.exports=n(29269)}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=33429)),_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.