import{j as l,fg as i,e as v}from"./index-CNnTZTc7.js";const r=[{value:"AL",label:"AL-Alabama"},{value:"AK",label:"AK-Alaska"},{value:"AS",label:"AS-American Samoa"},{value:"AZ",label:"AZ-Arizona"},{value:"AR",label:"AR-Arkansas"},{value:"CA",label:"CA-California"},{value:"CO",label:"CO-Colorado"},{value:"CT",label:"CT-Connecticut"},{value:"DE",label:"DE-Delaware"},{value:"DC",label:"DC-District Of Columbia"},{value:"FL",label:"FL-Florida"},{value:"GA",label:"GA-Georgia"},{value:"GU",label:"GU-Guam"},{value:"HI",label:"HI-Hawaii"},{value:"ID",label:"ID-Idaho"},{value:"IL",label:"IL-Illinois"},{value:"IN",label:"IN-Indiana"},{value:"IA",label:"IA-Iowa"},{value:"KS",label:"KS-Kansas"},{value:"KY",label:"KY-Kentucky"},{value:"LA",label:"LA-Louisiana"},{value:"ME",label:"ME-Maine"},{value:"MH",label:"MH-Marshall Islands"},{value:"MD",label:"MD-Maryland"},{value:"MA",label:"MA-Massachusetts"},{value:"MI",label:"MI-Michigan"},{value:"MN",label:"MN-Minnesota"},{value:"MS",label:"MS-Mississippi"},{value:"MO",label:"MO-Missouri"},{value:"MT",label:"MT-Montana"},{value:"NE",label:"NE-Nebraska"},{value:"NV",label:"NV-Nevada"},{value:"NH",label:"NH-New Hampshire"},{value:"NJ",label:"NJ-New Jersey"},{value:"NM",label:"NM-New Mexico"},{value:"NY",label:"NY-New York"},{value:"NC",label:"NC-North Carolina"},{value:"ND",label:"ND-North Dakota"},{value:"MP",label:"NP-Northern Mariana Islands"},{value:"OH",label:"OH-Ohio"},{value:"OK",label:"OK-Oklahoma"},{value:"OR",label:"OR-Oregon"},{value:"PW",label:"Palau"},{value:"PA",label:"PA-Pennsylvania"},{value:"PR",label:"PR-Puerto Rico"},{value:"RI",label:"RI-Rhode Island"},{value:"SC",label:"SC-South Carolina"},{value:"SD",label:"SD-South Dakota"},{value:"TN",label:"TN-Tennessee"},{value:"TX",label:"TX-Texas"},{value:"VI",label:"VI-US Virgin Islands"},{value:"UT",label:"UT-Utah"},{value:"VT",label:"VT-Vermont"},{value:"VA",label:"VA-Virginia"},{value:"WA",label:"WA-Washington"},{value:"WV",label:"WV-West Virginia"},{value:"WI",label:"WI-Wisconsin"},{value:"WY",label:"WY-Wyoming"}],o="_labelClassName_68rre_88",N="_errorText_68rre_92",n={labelClassName:o,errorText:N},A=a=>{var e,u;const b=t=>{const s=t.target.value;a.setState(s)};return l.jsxs(l.Fragment,{children:[l.jsx(i,{displayValue:a.state,list:a.stateList||r,id:a.id||"state",label:`${a.label||"State"}`,labelClassName:n.labelClassName,onChange:b,...a}),((e=a==null?void 0:a.error)==null?void 0:e.type)==="required"&&l.jsx(v,{text:(u=a==null?void 0:a.error)==null?void 0:u.message,className:`${a==null?void 0:a.body2ClassName} ${n.errorText}`})]})},M="_container_d6qbb_88",c={container:M},I=a=>l.jsx("div",{className:`${c.container} ${a.className}`,children:l.jsx(A,{...a})});export{I as S,r as a}; //# sourceMappingURL=index-CQGJggZj.js.map