import{cm as N,r as n,cf as F,cg as D,cu as k,d6 as Z,ch as C,cn as G,ci as E,co as S,cs as T,ct as U,d7 as q,cx as J,d8 as W,cz as v,cB as X,j as t,m as P,a5 as ee,a3 as te,I as se,ag as re,C as ae,D as ne,u as w,d as M,a2 as R,d9 as le,da as oe,db as ce,dc as ie}from"./index-gATdONBG.js";import{T as de}from"./use-resolve-button-type-DGKa0DPW.js";var _;let ue=(_=N.startTransition)!=null?_:function(e){e()};var me=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(me||{}),pe=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(pe||{});let be={0:e=>({...e,disclosureState:E(e.disclosureState,{0:1,1:0})}),1:e=>e.disclosureState===1?e:{...e,disclosureState:1},4(e){return e.linkedPanel===!0?e:{...e,linkedPanel:!0}},5(e){return e.linkedPanel===!1?e:{...e,linkedPanel:!1}},2(e,s){return e.buttonId===s.buttonId?e:{...e,buttonId:s.buttonId}},3(e,s){return e.panelId===s.panelId?e:{...e,panelId:s.panelId}}},L=n.createContext(null);L.displayName="DisclosureContext";function B(e){let s=n.useContext(L);if(s===null){let r=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,B),r}return s}let A=n.createContext(null);A.displayName="DisclosureAPIContext";function H(e){let s=n.useContext(A);if(s===null){let r=new Error(`<${e} /> is missing a parent <Disclosure /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,H),r}return s}let O=n.createContext(null);O.displayName="DisclosurePanelContext";function fe(){return n.useContext(O)}function xe(e,s){return E(s.type,be,e,s)}let ge=n.Fragment;function he(e,s){let{defaultOpen:r=!1,...c}=e,d=n.useRef(null),a=k(s,Z(u=>{d.current=u},e.as===void 0||e.as===n.Fragment)),l=n.useRef(null),f=n.useRef(null),i=n.useReducer(xe,{disclosureState:r?0:1,linkedPanel:!1,buttonRef:f,panelRef:l,buttonId:null,panelId:null}),[{disclosureState:b,buttonId:m},g]=i,p=C(u=>{g({type:1});let j=W(d);if(!j||!m)return;let o=u?u instanceof HTMLElement?u:u.current instanceof HTMLElement?u.current:j.getElementById(m):j.getElementById(m);o==null||o.focus()}),h=n.useMemo(()=>({close:p}),[p]),x=n.useMemo(()=>({open:b===0,close:p}),[b,p]),I={ref:a};return N.createElement(L.Provider,{value:i},N.createElement(A.Provider,{value:h},N.createElement(G,{value:E(b,{0:S.Open,1:S.Closed})},T({ourProps:I,theirProps:c,slot:x,defaultTag:ge,name:"Disclosure"}))))}let je="button";function ye(e,s){let r=U(),{id:c=`headlessui-disclosure-button-${r}`,...d}=e,[a,l]=B("Disclosure.Button"),f=fe(),i=f===null?!1:f===a.panelId,b=n.useRef(null),m=k(b,s,i?null:a.buttonRef),g=q();n.useEffect(()=>{if(!i)return l({type:2,buttonId:c}),()=>{l({type:2,buttonId:null})}},[c,l,i]);let p=C(o=>{var y;if(i){if(a.disclosureState===1)return;switch(o.key){case v.Space:case v.Enter:o.preventDefault(),o.stopPropagation(),l({type:0}),(y=a.buttonRef.current)==null||y.focus();break}}else switch(o.key){case v.Space:case v.Enter:o.preventDefault(),o.stopPropagation(),l({type:0});break}}),h=C(o=>{switch(o.key){case v.Space:o.preventDefault();break}}),x=C(o=>{var y;X(o.currentTarget)||e.disabled||(i?(l({type:0}),(y=a.buttonRef.current)==null||y.focus()):l({type:0}))}),I=n.useMemo(()=>({open:a.disclosureState===0}),[a]),u=de(e,b),j=i?{ref:m,type:u,onKeyDown:p,onClick:x}:{ref:m,id:c,type:u,"aria-expanded":a.disclosureState===0,"aria-controls":a.linkedPanel?a.panelId:void 0,onKeyDown:p,onKeyUp:h,onClick:x};return T({mergeRefs:g,ourProps:j,theirProps:d,slot:I,defaultTag:je,name:"Disclosure.Button"})}let ve="div",Ne=F.RenderStrategy|F.Static;function Pe(e,s){let r=U(),{id:c=`headlessui-disclosure-panel-${r}`,...d}=e,[a,l]=B("Disclosure.Panel"),{close:f}=H("Disclosure.Panel"),i=q(),b=k(s,a.panelRef,x=>{ue(()=>l({type:x?4:5}))});n.useEffect(()=>(l({type:3,panelId:c}),()=>{l({type:3,panelId:null})}),[c,l]);let m=J(),g=m!==null?(m&S.Open)===S.Open:a.disclosureState===0,p=n.useMemo(()=>({open:a.disclosureState===0,close:f}),[a,f]),h={ref:b,id:c};return N.createElement(O.Provider,{value:a.panelId},T({mergeRefs:i,ourProps:h,theirProps:d,slot:p,defaultTag:ve,features:Ne,visible:g,name:"Disclosure.Panel"}))}let Ce=D(he),Se=D(ye),we=D(Pe),$=Object.assign(Ce,{Button:Se,Panel:we});const Ie=({summary:e,children:s,buttonClassNames:r="",summaryClassNames:c="",panelClassNames:d=""})=>t.jsxs($,{children:[t.jsx($.Button,{"aria-label":"show-hide-panel-button",className:P("flex w-full justify-between",r),children:({open:a})=>t.jsxs(t.Fragment,{children:[t.jsx("span",{className:c,children:e}),t.jsx(ee,{className:P("shrink-0 transition-all",a&&"rotate-180")})]})}),t.jsx($.Panel,{className:d,children:s})]}),K=Ie,$e={primary:"border-0 border-none p-0 font-semibold text-green text-xs","primary-button":"rounded-lg font-bold p-4 bg-gradient-to-b from-green to-north-texas-green text-white focus:hover:bg-gradient-to-b focus:hover:from-vivid-malachite focus:hover:to-north-texas-green active:bg-gradient-to-b active:from-north-texas-green active:to-green disabled:bg-gradient-to-b disabled:from-tea-green disabled:to-tea-green ","secondary-button":"rounded-lg border p-4 border-green bg-white text-green hover:bg-honeydew focus:bg-honeydew active:bg-tea-green disabled:bg-opacity-30",icon:"rounded-lg border rounded-none border-0"},De=({children:e,variant:s="primary",className:r="",isLoading:c,loaderClassnames:d,target:a="_self",...l})=>t.jsxs(te,{target:a,...l,className:P("flex items-center justify-center gap-x-2",$e[s],r),children:[c&&s!=="icon"&&t.jsx("span",{className:P("h-5 w-5 animate-spin rounded-full border-2 border-white border-l-transparent",d)}),e]}),Q=De,ke=({className:e})=>t.jsx("div",{className:P("flex justify-center border-0 border-platinum  md:justify-start md:border-none",e),children:t.jsx(se,{})}),z=()=>{const{siteMap:{about:e}}=M(R),{t:s}=w("globals");return t.jsx("div",{className:"flex flex-col gap-y-2",children:e.map(r=>t.jsx(Q,{to:r.path,className:"block border-b border-b-platinum p-4 text-sm font-normal text-may-green last-of-type:border-b-0 md:border-0 md:p-0","aria-label":`Link to ${r.label}`,children:s(r.label)},r.id))})},V=()=>{const{siteMap:{quickLinks:e}}=M(R),{t:s}=w("globals");return t.jsx("div",{className:"flex flex-col gap-y-2",children:e.map(r=>t.jsx(Q,{to:r.path,className:"block border-b border-b-platinum p-4 text-sm font-normal text-may-green last-of-type:border-b-0 md:border-0 md:p-0","aria-label":`Link to ${r.label}`,children:s(r.label)},r.id))})},Y=()=>{const{siteMap:{socialMedia:e}}=M(R);return t.jsxs(t.Fragment,{children:[t.jsx("a",{target:"_blank",href:e==null?void 0:e.facebook.path,"aria-label":e==null?void 0:e.facebook.id,rel:"noreferrer",children:t.jsx(le,{})}),t.jsx("a",{target:"_blank",href:e==null?void 0:e.twitter.path,"aria-label":e==null?void 0:e.twitter.id,rel:"noreferrer",children:t.jsx(oe,{})}),t.jsx("a",{target:"_blank",href:e==null?void 0:e.instagram.path,"aria-label":e==null?void 0:e.instagram.id,rel:"noreferrer",children:t.jsx(ce,{})}),t.jsx("a",{target:"_blank",href:e==null?void 0:e.youtube.path,"aria-label":e==null?void 0:e.youtube.id,rel:"noreferrer",children:t.jsx(ie,{})})]})},Ee=()=>{const{t:e}=w("components/site-map");return t.jsxs("div",{children:[t.jsxs("div",{className:"mb-6 border-b border-platinum",children:[t.jsx(K,{summary:e("about"),buttonClassNames:"rounded-none border-x-0 border-b-0 border-t border-platinum p-4",summaryClassNames:"text-sm font-semibold text-may-green",panelClassNames:"pl-4",children:t.jsx(z,{})}),t.jsx(K,{summary:e("quickLinks"),buttonClassNames:"rounded-none border-x-0 border-b-0 border-t border-platinum p-4",summaryClassNames:"text-sm font-semibold text-may-green",panelClassNames:"pl-4",children:t.jsx(V,{})})]}),t.jsxs("div",{className:"text-center",children:[t.jsx("p",{className:"mb-4 text-base font-semibold text-dark-charcoal",children:e("connect")}),t.jsx("div",{className:"flex justify-center gap-4",children:t.jsx(Y,{})})]})]})},Te=()=>{const{t:e}=w("components/site-map");return t.jsxs("div",{className:"flex w-full justify-between",children:[t.jsxs("div",{className:"w-1/4",children:[t.jsx("p",{className:"mb-4 font-semibold uppercase text-may-green",children:e("about")}),t.jsx(z,{})]}),t.jsxs("div",{className:"w-1/4",children:[t.jsx("p",{className:"mb-4 font-semibold uppercase text-may-green",children:e("quickLinks")}),t.jsx(V,{})]}),t.jsxs("div",{className:"w-1/2",children:[t.jsx("p",{className:"mb-4 text-base font-semibold text-dark-charcoal",children:e("connect")}),t.jsx("div",{className:"flex gap-1 md:gap-3",children:t.jsx(Y,{})})]})]})},Me=()=>{const e=re("md");return t.jsx(t.Fragment,{children:t.jsx("section",{id:"sitemap",className:"bg-white pb-8 md:pb-14",children:t.jsxs(ae,{sm:"full",children:[e&&t.jsx(ne,{}),t.jsxs("div",{className:"flex flex-col-reverse gap-y-8 md:flex-col",children:[t.jsx(ke,{className:"py-0 md:pt-10"}),e?t.jsx(Te,{}):t.jsx(Ee,{})]})]})})})},Be=Me;export{Q as A,Be as S,$ as a,K as b};