1!function(e,t,n,r,a,o,i){"use strict";function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}function s(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var c=l(o),u=s(o);e.mountWidget({selector:"[data-widget=global_header]",widgetName:"global-header",load:()=>Promise.resolve().then(function(){return xl})}),e.mountWidget({selector:"[data-widget=reading_progress]",widgetName:"reading-progress",load:()=>Promise.resolve().then(function(){return Tl})}),e.mountWidget({selector:"[data-widget=site_notifications]",widgetName:"site-notifications",load:()=>Promise.resolve().then(function(){return Nl})}),e.mountWidget({selector:"[data-widget=skip-nav]",widgetName:"skip-nav",load:()=>Promise.resolve().then(function(){return Dl})}),e.mountWidget({selector:"[data-widget=skip-section]",widgetName:"skip-section",load:()=>Promise.resolve().then(function(){return Il})});var d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable;var p=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(e){a[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,r,a=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),o=1;o<arguments.length;o++){for(var i in n=Object(arguments[o]))f.call(n,i)&&(a[i]=n[i]);if(d){r=d(n);for(var l=0;l<r.length;l++)m.call(n,r[l])&&(a[r[l]]=n[r[l]])}}return a},g=function(e,t){if("string"!=typeof e)throw new TypeError("argument str must be a string");for(var n={},r=t||{},a=e.split(";"),o=r.decode||v,i=0;i<a.length;i++){var l=a[i],s=l.indexOf("=");if(!(s<0)){var c=l.substring(0,s).trim();if(null==n[c]){var u=l.substring(s+1,l.length).trim();'"'===u[0]&&(u=u.slice(1,-1)),n[c]=w(u,o)}}}return n},h=function(e,t,n){var r=n||{},a=r.encode||b;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!y.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!y.test(o))throw new TypeError("argument val is invalid");var i=e+"="+o;if(null!=r.maxAge){var l=r.maxAge-0;if(isNaN(l)||!isFinite(l))throw new TypeError("option maxAge is invalid");i+="; Max-Age="+Math.floor(l)}if(r.domain){if(!y.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!y.test(r.path))throw new TypeError("option path is invalid");i+="; Path="+r.path}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invali
1d");i+="; Expires="+r.expires.toUTCString()}r.httpOnly&&(i+="; HttpOnly");r.secure&&(i+="; Secure");if(r.sameSite){switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return i},v=decodeURIComponent,b=encodeURIComponent,y=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function w(e,t){try{return t(e)}catch(t){return e}}function x(e,t){void 0===t&&(t={});var n=function(e){if(e&&"j"===e[0]&&":"===e[1])return e.substr(2);return e}(e);if(function(e,t){return void 0===t&&(t=!e||"{"!==e[0]&&"["!==e[0]&&'"'!==e[0]),!t}(n,t.doNotParse))try{return JSON.parse(n)}catch(e){}return e}var E=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?g(e,t):"object"==typeof e&&null!==e?e:{}}(e,t),new Promise(function(){n.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=g(document.cookie,e))},e.prototype._emitChange=function(e){for(var t=0;t<this.changeListeners.length;++t)this.changeListeners[t](e)},e.prototype.get=function(e,t,n){return void 0===t&&(t={}),this._updateBrowserValues(n),x(this.cookies[e],t)},e.prototype.getAll=function(e,t){void 0===e&&(e={}),this._updateBrowserValues(t);var n={};for(var r in this.cookies)n[r]=x(this.cookies[r],e);return n},e.prototype.set=function(e,t,n){var r;"object"==typeof t&&(t=JSON.stringify(t)),this.cookies=p({},this.cookies,((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=h(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=p({},t,{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=p({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=h(e,"",n)),this._emitChange({name:e,value:void 0,options:t})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var t=this.changeListeners.indexOf(e);t>=0&&this.changeListeners.splice(t,1)},e}();class S extends t.Component{state={hasError:!1};componentDidCatch(e){this.setState({hasError:!0}),this.props.onError(e)}render(e,t){return t.hasError?e.fallback:e.children}}S.defaultProps={children:null,fallback:null,onError(){}};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function k(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function _(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}function T(e){var t={exports:{}};return e(t,t.exports),t.exports}var C=T(function(e,t){!function(e){function t(e){try{return e.call(null).toString()}catch(e){return""}}function n(e){var r="",a={}.hasOwnProperty;if("string"==typeof e)return e;if(null==e||"boolean"==typeof e||"number"==typeof e&&isNaN(e))return"";if("function"==typeof e)return t(e);if("object"==typeof e){if(Array.isArray(e)){for(var o=0;o<e.length;o++)r+=" "+n.call(null,e[o]);return r}if(e instanceof Map){for(let[t,n]of e)n&&(r+=" "+t);return r}if("function"==typeof e[Symbol.iterator]){for(let t of e)r+=" "+n.call(null,t);return r}for(var i in e)a.call(e,i)&&e[i]&&(r+=" "+i);return r}return e.toString()}function r(e){for(var t="",n=!0,r="",a=0;a<e.length;a++)" "===(r=e.charAt(a))||"\t"===r||"\n"===r||"\r"===r||"\v"===r?n||(n=!0):(t&&n&&(t+=" "),t+=r,n=!1);return t}function a(e,...t){for(var a="",o=0;o<e.length;o++)a+=e[o],a+=n.call(null,t[o]);return r.call(null,a)}function o(e,...t){for(var n=new Set,r="",o=!1,i=a(e,...t).split(" "),l=0;l<i.length;l++)n.has(i[l])||(o&&(r+=" "),r+=i[l],n.add(i[l]),o=!0);return r}function i(...e){for(var t="",a=0;a<e.length;a++)t+=n.call(null,e[a])+" ";return r.call(null,t)}function l(...e){for(var t="",n=!1,r=new Set,a=i(...e).split(" "),o=0;o<a.length;o++)r.has(a[o])||(n&&(t+=" "),t+=a[o],r.add(a[o]),n=!0);return t}e.classDedupe=o,e.classDedupeFn=l,e.classd=a,e.classdFn=i,e.default=a,Object.defineProperty(e,"__esMo
1dule",{value:!0})}(t)}),A=k(C);function j(e){return"function"!=typeof matchMedia?null:matchMedia(e)}function N(e){return e?{media:e.media,matches:e.matches}:null}function L(e){var t=c.default.useState(function(){return N(j(e))}),n=t[1],r=c.default.useCallback(function(e){return n(N(e))},[n]);return c.default.useEffect(function(){var t=j(e);return r(t),t.addListener(r),function(){return t.removeListener(r)}},[r,e]),t[0]}var O={useMedia:L,useMediaPredicate:function(e){var t=L(e);return t&&t.matches||!1}};const D="primary",R=({name:e,url_str:t,open_nav_header_text:n,field_open_nav_subtext:r,child:a=[],rel:o,target:i,classExternalLink:l,active:s,id:c,feature_content:u,enable_ab_test:d,is_expanded:f})=>({href:t,text:e,heading:n,body:r,items:a.map(R),rel:o,target:i,classExternalLink:l,active:s,id:c,feature_content:u,enable_ab_test:d,is_expanded:f}),I=(e,t)=>e?.map(e=>t?{key:Object.keys(e)[0]+"_unified",name:Object.values(e)[0]}:{key:Object.keys(e)[0],name:Object.values(e)[0]}),M=e=>{window.dataLayer&&window.dataLayer.push(e)},P=e=>{e?document.body.classList.add("overflow-hidden"):document.body.classList.remove("overflow-hidden")};function U(){return"ontouchstart"in window||navigator.maxTouchPoints}const $=()=>navigator.userAgent.toLowerCase().includes("firefox");function F(){return window.location.pathname.split("/")[1]}function B(){const e=F(),t="undefined"!=typeof window?window.drupal_config_vars:void 0;let n=!1;if(t)switch(e){case"us-en":n=!t.disable_eid_feature_usen;break;case"ca-en":n=!t.disable_eid_feature_caen;break;case"ca-fr":n=!t.disable_eid_feature_cafr}return n}"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;var q={aqua:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,azure:/#f0ffff(ff)?(?!\w)/gi,beige:/#f5f5dc(ff)?(?!\w)/gi,bisque:/#ffe4c4(ff)?(?!\w)/gi,black:/#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,blue:/#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,brown:/#a52a2a(ff)?(?!\w)/gi,coral:/#ff7f50(ff)?(?!\w)/gi,cornsilk:/#fff8dc(ff)?(?!\w)/gi,crimson:/#dc143c(ff)?(?!\w)/gi,cyan:/#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,darkblue:/#00008b(ff)?(?!\w)/gi,darkcyan:/#008b8b(ff)?(?!\w)/gi,darkgrey:/#a9a9a9(ff)?(?!\w)/gi,darkred:/#8b0000(ff)?(?!\w)/gi,deeppink:/#ff1493(ff)?(?!\w)/gi,dimgrey:/#696969(ff)?(?!\w)/gi,gold:/#ffd700(ff)?(?!\w)/gi,green:/#008000(ff)?(?!\w)/gi,grey:/#808080(ff)?(?!\w)/gi,honeydew:/#f0fff0(ff)?(?!\w)/gi,hotpink:/#ff69b4(ff)?(?!\w)/gi,indigo:/#4b0082(ff)?(?!\w)/gi,ivory:/#fffff0(ff)?(?!\w)/gi,khaki:/#f0e68c(ff)?(?!\w)/gi,lavender:/#e6e6fa(ff)?(?!\w)/gi,lime:/#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,linen:/#faf0e6(ff)?(?!\w)/gi,maroon:/#800000(ff)?(?!\w)/gi,moccasin:/#ffe4b5(ff)?(?!\w)/gi,navy:/#000080(ff)?(?!\w)/gi,oldlace:/#fdf5e6(ff)?(?!\w)/gi,olive:/#808000(ff)?(?!\w)/gi,orange:/#ffa500(ff)?(?!\w)/gi,orchid:/#da70d6(ff)?(?!\w)/gi,peru:/#cd853f(ff)?(?!\w)/gi,pink:/#ffc0cb(ff)?(?!\w)/gi,plum:/#dda0dd(ff)?(?!\w)/gi,purple:/#800080(ff)?(?!\w)/gi,red:/#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,salmon:/#fa8072(ff)?(?!\w)/gi,seagreen:/#2e8b57(ff)?(?!\w)/gi,seashell:/#fff5ee(ff)?(?!\w)/gi,sienna:/#a0522d(ff)?(?!\w)/gi,silver:/#c0c0c0(ff)?(?!\w)/gi,skyblue:/#87ceeb(ff)?(?!\w)/gi,snow:/#fffafa(ff)?(?!\w)/gi,tan:/#d2b48c(ff)?(?!\w)/gi,teal:/#008080(ff)?(?!\w)/gi,thistle:/#d8bfd8(ff)?(?!\w)/gi,tomato:/#ff6347(ff)?(?!\w)/gi,violet:/#ee82ee(ff)?(?!\w)/gi,wheat:/#f5deb3(ff)?(?!\w)/gi,white:/#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi},H=/\s+/g,z=/%[\dA-F]{2}/g,K=/"/g;function V(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function W(e){if("string"!=typeof e)throw new TypeError("Expected a string, but received "+typeof e);var t,n;return 65279===e.charCodeAt(0)&&(e=e.slice(1)),"data:image/svg+xml,"+function(e){return encodeURIComponent(e).replace(z,V)}((n=e,t=n.trim().replace(H," "),Object.keys(q).forEach(function(e){q[e].test(t)&&(t=t.replace(q[e],e))}),t).replace(K,"'"))}W.toSrcset=function(e){return W(e).replace(/ /g,"%20")};var G=W;const Y=_(Object.freeze({__proto__:null,default:["absolute","absolutely","bg-black","bg-blue-200","bg-blue-500","bg-gradient-primary","bg-gray-100","bg-gray-150","bg-gray-200","bg-gray-500","bg-green-100","bg-orange-200","bg-orange-300","bg-teal-300","bg-upcoming-webinar","bg-white","bg-yellow-100","bg-yellow-300","bg-yellow-500","block","block-","block-lift-content","block-menu","block-search-narrow","block-search-wide","block-search-wide-button","block-search-wide-wrapper","block-search-wide__button","block-search-wide__button-close","block-search-wide__container","block-search-wide__grid","block-search-wide__wrapper","block/active/limit","block/navigation/mode","block/new/limit","block</em>","block__content","block__title","block_content","block_content:4c7d58a3-a45d-412d-9068-259c57e40541","block_content:86ed355c-2ce2-4835-8e6e-baeb8227d724","block_content:924ab293-8f5f-45a1-9c7f-2423ae61a241","block_content:9aadf4a1-ded6-4017-a10d-a5e043396edf","block_content:9b4dcd67-99f3-48d0-93c9-2c46648b29de","block_content:banner_block:4c7d58a3-a45d-412d-9068-259c57e40541","block_content:banner_block:9aadf4a1-ded6-4017-a10d-a5e043396edf","block_content:d7c9d8ba-663f-41b4-8756-86bc55c44653","block_content:disclaimer_block:9b4dcd67-99f3-48d0-93c9-2c46648b29de","block_content:fb5e8434-3617-4a1d-a252-8273e95ec30e","block_content:footer_promo_block:924ab293-8f5f-45a1-9c7f-2423ae61a241","block_content:simple_block:86ed355c-2ce2-4835-8e6e-baeb8227d724","block_content_type","block_display","block_field","block_form_alter","blockcontent","blocked","blocking","blocks","border","border-0","border-1","border-2","border-4","border-b","border-b-2","border-b-4","border-black","border-blue-300","border-blue-500","border-cool-gray-400","border-gray-200","border-gray-300","border-gray-400","border-gray-500","border-green-500","border-l","border-l-4","border-l-8","border-none","border-orange-300","border-r","border-solid","border-t","border-t-2","border-transparent","border-white","border-yellow-500","border:0","bottom-0","bottom-5","bottom-6","bottom-start","break-word","break-words","col-","col-end-11","col-end-12","col-end-13","col-end-5","col-span-1","col-span-12","col-span-2","col-span-3","col-span-4","col-start-1","content-archival-block-pdf","content-collapsed","content-header","content-related","content-type","cursor-pointer","divide-y","fill-current","fixed","fixed-sized","fixed_block_content","fixed_block_content_test","fixed_value:fixed_value","flex","flex-1","flex-2","flex-auto","flex-col","flex-grow","flex-none","flex-row","flex-wrap","flexbox","flexitime","flexitimes","flextime","focus-within:ring-2","focus-within:ring-offset-gray-500","focus:bg-yellow-100","focus:border-current","focus:outline-blue-solid","focus:outline-none","focus:outline-offset-4","focus:outline-offset-[-2px]","focus:shadow-lg","font-bold","font-ej-serif-display","font-medium","font-normal","font-regular","gap-1","gap-3","gap-4","gap-5","gap-6","gap-8","gap-x-4","gap-y-10","gap-y-8","grid","grid-cols-1","grid-cols-12","grid-cols-3","grid-cols-4","grid-flow-col","grid-flow-row","grid-flow-row-dense","grid-full","grid-rows-3","group-hover:text-current","grow","h-0","h-10","h-11","h-11/12","h-12","h-16","h-2","h-20","h-24","h-28","h-3","h-32","h-4","h-40","h-44","h-48","h-5","h-52","h-56","h-6","h-72","h-8","h-80","h-96","h-[29rem]","h-[8.9375rem]","h-[calc(100dvh-4rem)]","h-auto","h-fit","h-full","h-screen","hidden","hidden>","hidden_class","hidden_entity_id","hidden_event_city","hidden_event_c
1ountry","hidden_event_state","hidden_event_title","hidden_event_url","hidden_eventaddress","hidden_eventday","hidden_eventdetails","hidden_eventendtime","hidden_eventmonth","hidden_eventstarttime","hidden_eventyear","hidden_fa_city","hidden_fa_country","hidden_fa_firstname","hidden_fa_id","hidden_fa_name","hidden_fa_phone","hidden_fa_postal_code","hidden_fa_state","hidden_langcode","hidden_rsvpdisclaimer","hover:bg-yellow-300","hover:bg-yellow-500","hover:border-current","hover:border-gray-400","hover:border-yellow-500","hover:opacity-50","hover:text-black","hover:text-gray-400","hover:text-gray-500","inline","inline-block","inline-block;","inline-flex","inline_entity_form","inset-0","items-baseline","items-center","items-start","items-stretch","justify-around","justify-between","justify-center","justify-end","justify-start","leading-6","leading-7","leading-9","leading-[1.5rem]","leading-none","leading-normal","leading-snug","leading-tight","left-0","left-1/2","left-2","left-7","left-margin","left-section","left-section-min-height","left-section-padding","lg:absolute","lg:bg-white/95","lg:block","lg:border-2","lg:border-b-0","lg:border-b-2","lg:border-gray-200","lg:border-t-0","lg:col-end-11","lg:col-end-13","lg:col-end-8","lg:col-span-10","lg:col-span-3","lg:col-span-4","lg:col-span-8","lg:col-span-9","lg:col-start-6","lg:col-start-7","lg:col-start-9","lg:flex","lg:flex-col","lg:flex-no-wrap","lg:flex-row","lg:font-medium","lg:gap-0","lg:gap-15","lg:gap-4","lg:gap-5","lg:gap-6","lg:gap-[1.6rem]","lg:gap-x-4","lg:grid","lg:grid-cols-1","lg:grid-cols-2","lg:grid-cols-3","lg:grid-cols-9","lg:grid-rows-1","lg:h-13","lg:h-44","lg:h-56","lg:h-64","lg:h-72","lg:h-[27.5rem]","lg:h-[30.7rem]","lg:h-[30rem]","lg:h-[calc(100dvh-5rem)]","lg:h-[calc(100dvh-7rem)]","lg:h-full","lg:hidden","lg:inline-block","lg:items-start","lg:justify-between","lg:justify-center","lg:leading-6","lg:leading-normal","lg:left-0","lg:left-8","lg:left-[-2px]","lg:m-0","lg:max-h-[calc(100dvh-12rem)]","lg:max-h-[calc(100dvh-16rem)]","lg:max-w-2xl","lg:max-w-sm","lg:mb-0","lg:mb-10","lg:mb-16","lg:mb-18","lg:mb-2","lg:mb-20","lg:mb-24","lg:mb-30","lg:mb-5","lg:mb-6","lg:mb-7","lg:min-h-[13.75rem]","lg:ml-0","lg:ml-10","lg:ml-5","lg:ml-6","lg:mr-0","lg:mr-1","lg:mr-12","lg:mr-7","lg:mr-auto","lg:mt-0","lg:mt-10","lg:mt-12","lg:mt-14","lg:mt-16","lg:mt-20","lg:mt-28","lg:mt-3","lg:mt-4","lg:mt-5","lg:mt-7","lg:mt-8","lg:mt-9","lg:mt-auto","lg:mx-20","lg:mx-24","lg:mx-6","lg:my-6","lg:object-cover","lg:order-1","lg:order-2","lg:overflow-y-auto","lg:overflow-y-hidden","lg:p-11","lg:p-12","lg:p-16","lg:p-4","lg:p-5","lg:p-9","lg:pb-0","lg:pb-12","lg:pb-16","lg:pb-20","lg:pb-4","lg:pb-6","lg:pb-[4.3rem]","lg:pb-[6.25rem]","lg:pb-[7.2rem]","lg:pl-0","lg:pl-10","lg:pl-12","lg:pl-16","lg:pl-20","lg:pl-24","lg:pl-40","lg:pl-[5rem]","lg:pl-[8.8rem]","lg:pr-14","lg:pr-16","lg:pr-24","lg:pr-3","lg:pr-32","lg:pr-4","lg:pr-48","lg:pr-6","lg:pr-8","lg:pr-[10rem]","lg:pr-[5rem]","lg:pt-0","lg:pt-10","lg:pt-12","lg:pt-4","lg:pt-8","lg:pt-9","lg:pt-[4.2rem]","lg:px-0","lg:px-10","lg:px-12","lg:px-14","lg:px-16","lg:px-20","lg:px-24","lg:px-28","lg:px-32","lg:px-4","lg:px-48","lg:px-5","lg:px-52","lg:px-56","lg:px-6","lg:px-64","lg:px-8","lg:px-9","lg:px-[14.6875rem]","lg:py-0","lg:py-10","lg:py-11","lg:py-14","lg:py-20","lg:py-28","lg:py-3","lg:py-6","lg:py-7","lg:relative","lg:right-0","lg:right-2","lg:right-28","lg:-mt-16","lg:-mt-48","lg:rounded","lg:row-start-1","lg:space-x-10","lg:space-x-6","lg:space-y-0","lg:space-y-10","lg:space-y-16","lg:space-y-20","lg:space-y-7","lg:space-y-8","lg:sticky","lg:text-3xl","lg:text-48","lg:text-4xl","lg:text-5xl","lg:text-base","lg:text-center","lg:text-left","lg:text-lg","lg:text-md","lg:text-right","lg:text-xl","lg:top-20","lg:top-28","lg:top-[10px]","lg:w-1/2","lg:w-1/3","lg:w-1/4","lg:w-10/12","lg:w-12","lg:w-13","lg:w-3/4","lg:w-3/5","lg:w-48","lg:w-52","lg:w-56","lg:w-6/12","lg:w-64","lg:w-68","lg:w-7/12","lg:w-72","lg:w-80","lg:w-96","lg:w-[22.1875rem]","lg:w-[31%]","lg:w-[37.1rem]","lg:w-[37rem]","lg:w-[43.7rem]","lg:w-[43.8rem]","lg:w-[595px]","lg:w-auto","lg:w-full","list-disc","list-group","list-group__description","list-group__link","list-style-type:square","m-0","m-1","m-auto","max-age","max-h-[calc(100dvh-4rem)]","max-height:200px","max-w-2xl","max-w-4xl","max-w-full","max-w-sm","mb-0","mb-1","mb-10","mb-11","mb-12","mb-14","mb-16","mb-2","mb-20","mb-3","mb-4","mb-5","mb-6","mb-8","mb-9","!-mb-11","md:absolute","md:block","md:border-b","md:border-b-0","md:border-b-2","md:border-gray-400","md:border-l-2","md:border-none","md:border-r-2","md:border-t-0","md:bottom-10","md:col-end-13","md:col-end-7","md:col-end-8","md:col-end-9","md:col-gap-6","md:col-span-2","md:col-span-3","md:col-span-8","md:col-start-1","md:col-start-2","md:col-start-3","md:divide-x","md:flex","md:flex-col","md:flex-row","md:flex-wrap","md:font-bold","md:font-medium","md:gap-0","md:gap-4","md:gap-6","md:gap-7","md:gap-x-20","md:gap-y-6","md:grid","md:grid-cols-2","md:grid-cols-8","md:grid-flow-col","md:h-16","md:h-32","md:h-36","md:h-44","md:h-48","md:h-
152","md:h-56","md:h-60","md:h-64","md:h-80","md:h-[15.5rem]","md:h-[19rem]","md:h-[27.5rem]","md:h-auto","md:hidden","md:inline","md:inline-block","md:inline-flex","md:items-center","md:items-start","md:justify-between","md:justify-center","md:justify-start","md:leading-21","md:leading-normal","md:leading-snug","md:leading-tight","md:left-2","md:max-w-xl","md:mb-0","md:mb-10","md:mb-12","md:mb-14","md:mb-15","md:mb-2","md:mb-20","md:mb-3","md:mb-5","md:mb-8","md:min-w-56","md:min-w-72","md:min-w-80","md:ml-0","md:ml-10","md:ml-11","md:ml-2","md:ml-36","md:ml-4","md:ml-6","md:ml-7","md:ml-8","md:mr-0","md:mr-10","md:mr-20","md:mr-5","md:mr-6","md:mr-7","md:mt-0","md:mt-10","md:mt-12","md:mt-13","md:mt-14","md:mt-15","md:mt-2","md:mt-3","md:mt-4","md:mt-5","md:mt-6","md:mt-7","md:mt-8","md:mt-9","md:mt-auto","md:mx-0","md:mx-6","md:mx-auto","md:my-0","md:my-4","md:my-8","md:order-2","md:order-none","md:overflow-hidden","md:p-0","md:p-6","md:p-8","md:pb-0","md:pb-10","md:pb-11","md:pb-12","md:pb-16","md:pb-3","md:pb-4","md:pb-5","md:pb-6","md:pb-7","md:pb-8","md:pb-[3.125rem]","md:pl-0","md:pl-1","md:pl-14","md:pl-16","md:pl-2","md:pl-4","md:pl-5","md:pl-6","md:pl-7","md:pr-0","md:pr-1","md:pr-10","md:pr-16","md:pr-20","md:pr-24","md:pr-3","md:pr-4","md:pr-5","md:pr-8","md:pt-0","md:pt-1","md:pt-10","md:pt-2","md:pt-4","md:pt-5","md:pt-6","md:pt-8","md:px-0","md:px-10","md:px-12","md:px-14","md:px-16","md:px-2","md:px-20","md:px-24","md:px-28","md:px-3","md:px-32","md:px-4","md:px-5","md:px-6","md:px-7","md:px-8","md:px-[5.5rem]","md:py-1","md:py-10","md:py-12","md:py-16","md:py-4","md:py-5","md:py-6","md:py-7","md:py-8","md:py-9","md:relative","md:self-end","md:space-x-10","md:space-x-12","md:space-y-0","md:space-y-10","md:space-y-12","md:space-y-16","md:space-y-4","md:text-2xl","md:text-3xl","md:text-[1.25rem]","md:text-base","md:text-center","md:text-left","md:text-lg","md:text-xl","md:top-1","md:top-14","md:top-8","md:w-1/2","md:w-1/3","md:w-11/12","md:w-14","md:w-16","md:w-2/3","md:w-32","md:w-4/6","md:w-40","md:w-44","md:w-48","md:w-56","md:w-80","md:w-[10.5rem]","md:w-[30%]","md:w-[558px]","md:w-auto","md:w-max-content","md:whitespace-nowrap","min-h-40","min-h-64","min-h-7","min-h-[6rem]","min-h-screen","min-height:100px;","ml-0","ml-1","ml-2","ml-20","ml-3","ml-4","ml-5","ml-6","ml-auto","mr-1","mr-10","mr-2","mr-3","mr-4","mr-5","mt-0","mt-1","mt-10","mt-11","mt-12","!mt-12","mt-14","mt-16","mt-2","mt-3","mt-4","mt-40","mt-5","mt-6","mt-7","mt-8","mt-9","mt-auto","mx-2","mx-5","mx-auto","my-0","my-10","my-3","my-4","my-6","my-8","my-auto","object-center","object-cover","object-top","opacity-0","opacity-75","order","order-1","order-first","ordered","outline","outline-dark-solid","outline-white-solid","outlines","overflow-auto","overflow-hidden","overflow-visible","overflow-x-auto","overflow-y-auto","overflow:hidden","p-0","p-1","p-10","p-2","p-3","p-4","p-5","p-6","p-8","p-9","pb-0","pb-1","pb-10","pb-12","pb-14","pb-16","pb-2","pb-2/4","pb-24","pb-3","pb-4","pb-40","pb-5","pb-6","pb-7","pb-8","pb-[2.5rem]","pb-[56.25%]","pl-0","pl-10","pl-2","pl-3","pl-5","pl-6","pl-7","pl-9","placeholder-gray-500","pointer-events-none","pr-0","pr-1","pr-10","pr-3","pr-4","pr-5","pr-6","pt-0","pt-1","pt-10","pt-12","pt-2","pt-3","pt-4","pt-5","pt-6","pt-7","pt-8","pt-pt","px-0","px-1","px-10","px-11","px-12","px-13","px-14","px-2","px-3","px-4","px-5","px-6","px-7","px-8","py-0","py-1","py-10","py-12","py-14","py-15","py-2","py-3","py-4","py-5","py-6","py-8","relative","right-0","right-5","right-6","right-rail","right-rail-find-fa","right-rail-page-personalization-block","right-rail-wrapper","right-section","right-section-padding","rounded","rounded-full","rounded-lg","rounded-md","rounded-t","row-","row-gap-6","row-span-2","row-span-3","row-start-1","row-start-2","scroll-mt-[16px]","self-center","self-contained","self-end","self-hosted","self-stretch","shadow","shadow-inner","shadow-lg","shadow-xl","shrink-0","sm:break-words","sm:flex","sm:h-36","sm:h-[26.75rem]","sm:hidden","sm:mt-10","sm:pl-5","sm:px-0","sm:w-28","sm:w-full","sm:whitespace-normal","space-x-4","space-x-5","space-y-10","
1space-y-12","space-y-16","space-y-2","space-y-20","space-y-5","space-y-7","space-y-8","sr-only","static","static:scope","static:scope:child","static:scope:child:child","static_map","static_map_type","static_scope","static_scope:child","static_scope:child:child","static_scope:role","static_scope:role:child","statics","sticky","sticky-header-toggle","sticky-header-toggle__icon","stickyNav","table","table-","table-container","table-filter-text-source","table-language-group","table_classes","tablefield","tablefield_required","tables","tableselect","tablesort","tablesort--","tablet","tabletImage","tabletUrl","text-17","text-20","text-2xl","text-3xl","text-4xl","text-5xl","text-align-center","text-align-justify","text-align-left","text-align-right","text-align:center","text-base","text-black","text-blue-400","text-blue-500","text-center","text-content","text-format-wrapper","text-gray-100","text-gray-200","text-gray-400","text-gray-450","text-gray-500","text-green-300","text-green-500","text-left","text-lg","text-md","text-orange-300","text-red-500","text-right","text-sm","text-transparent","text-white","text-xl","text-xs","text-xxs","top-0","top-1","top-14","top-16","top-2","top-24","top-28","top-4","top-bar","top-bar__content","top-level","top-start","tracking-wide","truncate","truncate-3-lines","w-1/2","w-10","w-11","w-11/12","w-12","w-16","w-20","w-28","w-3","w-32","w-36","w-4","w-40","w-48","w-5","w-6","w-60","w-64","w-8","w-[7.6875rem]","w-full","whitespace","whitespace-normal","whitespace-nowrap","-mt-40","md:-mt-36","-mt-3","md:mx-5"]})).default||[],Q=e=>`url("${e}")`,J={caretDown:G('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#929492">\n <path d="M11.93 15.75h.02c.2.01.42-.06.58-.22l5.86-5.86a.75.75 0 10-1.06-1.06l-5.4 5.4-5.4-5.4a.75.75 0 10-1.06 1.06l5.86 5.86c.16.16.38.24.6.22z"/>\n </svg>\n '),caretUp:G('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">\n <path d="M11.93 8.25h.02a.75.75 0 01.58.22l5.86 5.86a.75.75 0 11-1.06 1.06l-5.4-5.4-5.4 5.4a.75.75 0 01-1.06-1.06l5.86-5.86a.75.75 0 01.6-.22z"/>\n </svg>\n '),check:G('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">\n <path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/>\n </svg>\n '),dot:G('\n <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">\n <circle cx="8" cy="8" r="3"/>\n </svg>\n ')},X=720,Z=1214;function ee(e,t=16,n="rem"){return`${e/t}${n}`}const te={content:["src/**/*.{jsx,js}",".storybook/**/*.{jsx,js}"],safelist:Y,theme:{screens:{sm:ee(335),md:ee(X),lg:ee(Z)},container:e=>({center:!0,screens:{md:ee((X+Z)/2),lg:e("screens.lg")},padding:{DEFAULT:e("spacing.5"),md:e("spacing.6")}}),colors:{bisque:"#ffe4c4",transparent:"transparent",current:"currentColor",black:"black",white:"white","shade-50":"rgba(0,0,0,0.5)","tint-50":"rgba(255,255,255,0.5)",gray:{100:"#f5f5f5",150:"#f1f3f4",200:"#e6e7e8",300:"#cdcccb",350:"#929492",400:"#767576",450:"#5e5e5e",475:"#434345",500:"#3b3d3f"},red:{50:"#fdf4f5",100:"#fae3e5",500:"#c91d31"},orange:{100:"#feeee4",200:"#fabdad",300:"#f58b75",500:"#f16649"},yellow:{100:"#fef8db",200:"#feefad",300:"#fde57f",400:"#fcdb60",500:"#fad141","light-50":"#FFFAEC"},green:{100:"#f2f9f6",300:"#90e46c",500:"#008048"},blue:{50:"#F8FBFC",100:"#C6E7F3",200:"#D1E5F0",300:"#8BBDD9",400:"#007CA9",500:"#0076A0"},highlightedBlue:{400:"#269aff"}},url:{caretDownIcon:Q(J.caretDown),caretUpIcon:Q(J.caretUp),checkIcon:Q(J.check),dotIcon:Q(J.dot),minusIcon:Q(J.minus)},fontFamily:{sans:["EJ Sans Text Var","ui-sans-serif","system-ui","sans-serif"],"saa-c":["Saa Series C D","ui-sans-serif","system-ui","sans-serif"],"saa-d":["Saa Series D D","ui-sans-serif","system-ui","sans-serif"],"saa-e":["Saa Series E D","ui-sans-serif","system-ui","sans-serif"],"ej-sans-display":["EJ Sans Display Var","Arial"],"ej-serif-display":["EJ Serif Display Var","Georgia"],"ej-serif-text":["EJ Serif Text Var","Georgia"],"ej-serif-display-hairline":["EJ Serif Display Hairline","Georgia"]},fontSize:{xxs:"0.75rem",13:"0.813rem",xs:"0.875rem",sm:"0.9375rem",base:"1rem",17:"1.063rem",lg:"1.125rem",20:"1.25rem",xl:"1.375rem","2xl":"1.5rem",28:"1.75rem",32:"2rem","3xl":"2.25rem",40:"2.5rem","4xl":"2.75rem",46:"2.875rem",48:"3rem",52:"3.25rem","5xl":"3.5rem","6xl":"3.5rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem",30:"1.875rem"},fontWeight:{light:"300",regular:"400",medium:"500",semibold:"600",bold:"700"},letterSpacing:{tighter:"-0.025em",tight:"-0.0125rem",normal:"0",wide:"1px",wider:"0.025em"},lineHeight:{none:"1",tight:"1.125",snug:"1.25",normal:"1.5",double:"2",21:"1.313"},ringColor:e=>({DEFAULT:e("colors.blue.500"),transparent:"transparent",darkGreen:"#1C5B41"}),ringOffsetWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",3:"3px"},ringOpacity:{DEFAULT:"1"},ringWidth:{DEFAULT:"2px",0:"0px",1:"1px",2:"2px"},spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",13:"3.25rem",14:"3.5rem",15:"3.75rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem","36
1/4":"9.875rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem","56/3":"14.75rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",22:"1.438rem",26:"26rem","3/13":"0.813rem"},extend:{backgroundImage:{"gradient-primary":"linear-gradient(to bottom right, #0076A0, #044E67)"},height:{152:"38rem",156:"39rem",270:"16.875rem",95:"23.25rem",426:"26.625rem",62:"3.875rem",242:"15.125rem",53:"3.313rem"},lineClamp:{7:"7",8:"8",10:"10",12:"12"},zIndex:{"-2":"-2","-1":"-1",1:"1",110:"110",1e3:"1000",1e4:"10000"},maxHeight:{"screen-1/2":"50vh","screen-3/4":"75vh","screen-2x":"200vh"},padding:{full:"100%"},inset:{"-1":"-0.12rem","-2":"-0.25rem","-3":"-0.5rem","-4":"-1rem","-9":"-1.12rem","-12":"-3rem"},width:{67:"16.75rem",68:"272px","69/100":"69%",130:"130%",285:"17.813rem",162:"10.125rem",337:"21.063rem",340:"21.25rem",355:"22.188rem","92/100":"92%"},rotate:{190:"190deg"}}},corePlugins:{backgroundAttachment:!1,backgroundClip:!1,backgroundOpacity:!1,borderOpacity:!1,divideStyle:!1,gradientColorStops:!1,rotate:!1,scale:!1,skew:!1,textOpacity:!1,transform:!1,transformOrigin:!1,transitionDelay:!1,transitionDuration:!1,transitionProperty:!1,transitionTimingFunction:!1}};function ne(){const e=te.theme;return{sm:O.useMediaPredicate(`(max-width: ${e.screens.sm})`),md:O.useMediaPredicate(`(min-width: ${e.screens.md})`),lg:O.useMediaPredicate(`(min-width: ${e.screens.lg})`)}}const re="DOWN",ae=({initialDirection:e=null,thresholdPixels:t=10}={})=>{const[r,a]=n.useState(e);return n.useEffect(()=>{const e=t||0;let n=window.pageYOffset,r=!1;const o=()=>{const t=window.pageYOffset;Math.abs(t-n)<e||(a(t>n?re:"UP"),n=t>0?t:0),r=!1},i=()=>{r||(window.requestAnimationFrame(o),r=!0)};return window.addEventListener("scroll",((e,t)=>{let n;return function(...r){n&&clearTimeout(n),n=setTimeout(()=>{n=null,e(...r)},t)}})(i,10)),()=>window.removeEventListener("scroll",i)},[e,t]),r},oe=t.createContext({});function ie(e=e=>e){const{state:t}=n.useContext(oe);return e(t)}function le(){const{dispatch:e}=n.useContext(oe);return e}function se({initialState:e={},reducer:t=e=>e,...a}){const[o,i]=n.useReducer(t,e);return r.jsx(oe.Provider,{value:{state:o,dispatch:i},...a})}const ce=a.createContext({isOpen:!1,toggle(){}});function ue({class:e="",searchActive:t=!1,mobile_menu_alignment:a="",...o}){const{isOpen:i,toggle:l}=n.useContext(ce),[s,c]=n.useState("Main Menu"),u=n.useMemo(()=>"undefined"!=typeof window&&window.location.pathname.includes("/ca-fr"),[]);return n.useEffect(()=>{u&&c("menu principal")},[u]),!t&&r.jsxs("button",{class:`menu-toggle flex items-center h-6 ${e}`,type:"button",onClick:l,"data-gtm-category":"site nav","data-gtm-action":"eyebrow","data-gtm-label":"hamburger","data-testid":"hamburger","aria-expanded":i,"aria-label":s,...o,children:[r.jsxs("div",{id:"hamburger",class:"w-6 h-5 mt-1 "+(i?"open":""),children:[r.jsx("span",{class:"bg-gray-500"}),r.jsx("span",{class:"bg-gray-500"}),r.jsx("span",{class:"bg-gray-500"})]}),r.jsx("span",{class:"sr-only",children:s})]})}function de({alt:e="",class:t="",src:n="",href:a="",toggle:o={},type:i="",searchActive:l=!1,mobile_menu_alignment:s="",...c}){return ne(),r.jsx("div",{id:"branding",class:A`inline-flex h-16 lg:h-12 ${t}`,...c,children:"tc"==i?r.jsx("div",{id:"tc-logo",className:"flex shrink-0 items-center px-0 lg:relative lg:bg-white lg:pl-0 lg:pr-6 lg:-top-9 lg:mr-1",children:r.jsx(fe,{src:n,href:a,alt:e,imgClass:"w-[8.25rem] h-16 lg:-mt-2"})}):r.jsx(fe,{src:n,href:a,alt:e,class:"flex shrink-0 items-center px-4 first-access"})})}const fe=({href:e="",alt:t="",src:a="",class:o="",hidden:i="sm:hidden md:block lg:block p-6",imgClass:l="w-24 lg:w-32"})=>(n.useContext(ce),r.jsx("a",{class:A`${o}`,"data-gtm-category":"site nav","data-gtm-action":"header:level 1","data-gtm-label":"logo",href:e,children:r.jsx("img",{alt:t,class:`block ${l}`,src:a})}));var me=({className:e,src:t,dataTestId:n="icon"})=>r.jsx("i",{"aria-hidden":"true",className:e,dangerouslySetInnerHTML:{__html:t},"data-testid":n});function pe({toggleSearch:e=()=>{},placeholder:t="",sitesearchlabel:a="",ariaExpanded:o=!1}){const i=o?"":"border-transparent",l=n.useRef(!1),{lg:s}=ne(),c=document.getElementById("tc-logo"),u=n.useRef(null);n.useEffect(()=>{if(l.current){const e=u?.current;e&&e.focus()}s&&(!0===o?c?.classList?.add("hidden"):c?.classList?.remove("hidden"))},[o]),n.useEffect(()=>{l.current=!0});return r.jsxs("button",{id:"search-toggle",ref:u,"data-gtm-category":"site nav","data-gtm-action":"eyebrow","data-gtm-label":"search","data-testid":"search-2","aria-label":a,className:`w-11 h-11 md:h-10 md:w-10 shrink-0 rounded-full lg:mx-5 md:flex items-center justify-center flex z-40 ${i}`,onClick:t=>{(e=>{e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation()})(t),e()},"aria-haspopup":"true",children:[r.jsx(me,{className:"block w-5 h-5 pointer-events-none",src:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M9.99 1.567a8.422 8.422 0 016.462 13.824l5.443 5.444a.75.75 0 11-1.06 1.06l-5.444-5.443A8.422 8.422 0 119.99 1.567zm0 1.5a6.922 6.922 0 104.884 11.828l.01-.012a6.897 6.897 0 002.028-4.894A6.922 6.922 0 009.99 3.067z"/>\n</svg>'}),r.jsx("span",{class:"sr-only",children:t})]})}function ge(e,t,n){function r(){l.current=0,c()}void 0===t&&(t=30),void 0===n&&(n=0);var a=(e=>{var t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t})(e),i=1e3/t,l=o.useRef(0),s=o.useRef(),c=()=>s.current&&clearTimeout(s.current),u=[t,n,a];return o.useEffect(()=>r,u),o.useCallback(function(){var e=arguments,t=ve(),r=()=>{l.current=t,c(),a.current.apply(null,e)},o=l.current;if(n&&0===o)return r();if(t-o>i){if(o>0)return r();l.current=t}c(),s.current=setTimeout(()=>{r(),l.current=0},i)},u)}var he="undefined"!=typeof performance?performance:Date,ve=()=>he.now();const be="CLEAR_SEARCH_SUGGESTIONS",ye="SET_SEARCH_QUERY",we="SET_SEARCH_SUGGESTIONS",xe={searchQuery:"",searchSuggestions:[]};function Ee(e,t){const{type:n,payload:r}=t;switch(n){case be:return{...e,searchSuggestions:xe.searchSuggestions};case we:return{...e,searchSuggestions:r};case ye:{const t=String(r).trim();return{...e,searchQuery:t}}default:return e}}function Se({children:e=null,...t}){return r.jsx(se,{initialState:{...xe,...t},reducer:Ee,children:e})}const ke=e=>{const t=window.location.href;M({event:"buttonClick",buttonClickInfo:{clickText:e||"",pageURL:t}})};function _e({class:e,searchInputId:t="sitesearch",submitLabel:a="",inputLabel:o="",cancelLabel:i="",placeholder:l="",resultUrl:s="",showFrequentSearches:c=!1,searchActive:u=!1,siteSearchErrorMessage:d,openFrequentList:f=()=>{},closeFrequentList:m=()=>{},setSearchActive:p=()=>{},onCancel:g=()=>{},...h}){const{md:v,lg:b}=ne(),y=ge(le(),1,!0),w=n.useRef(null),x=n.useRef(null),[E,S]=n.useState(!1);return r.jsxs("form",{role:"search",name:"search-form","aria-label":"Edward Jones",class:A`relative ${e}`,ref:w,...h,action:s,tabindex:"-1",onSubmit:e=>{e.preventDefault();const t=x.current.value.trim();M({event:"siteSearchButtonClick",siteSearchInfo:{siteSearchText:t,searchType:"siteSearch"}}),""===t?(S(!0),x.current.focus()):w.current.submit()},children:[r.jsx("label",{for:t,className:"sr-only text-xs relative block h-5 "+(E?"text-red-500 font-bold":""),"data-testid":"input-label",children:o||" "}),r.jsx("input",{type:"text",id:t,name:"query",className:`form-input h-11 ${u&&!v?"w-5/6":"w-full"} ${E?"border-red-500 bg-red-50 focus:outline-none":""}`,placeholder:l,autoComplete:"off",onFocus:e=>{p(!0),e.target.value<1&&f()},onInput:e=>{e.target.value.length>0?(m(),S(!1)):f(),y({type:ye,payload:e.target.value})},"data-testid":"search-text",ref:x,"aria-describedby":E?"seach-error":"","aria-required":"true"}),u&&!v&&r.jsxs("button",{type:"button",className:"float-right relative top-2 button-tracking",onClick:()=>{m(),S(!1),p(!1),y({type:we,payload:[]}),w.current.reset(),g(),ke(i)},"data-testid":"cancel-search-button",children:[i,r.jsx("span",{className:"sr-only",children:a})]}),E?r.jsx("span",{id:"seach-error",class:"text-red-500 text-sm inline-block","data-testid":"search-error-message",dangerouslySetInnerHTML:{__html:d}}):null,r.jsx("button",{type:"submit",className:"btn btn-primary mt-5 md:mt-5 md:top-0 w-full md:w-auto md:absolute -right-32 h-11","data-gtm-category":"site search","data-gtm-action":"click","data-gtm-label":"search","data-testid":"search-button-active",children:a})]})}var Te=({src:e,addClass:t,altText:n="",load:a="lazy",role:o,...i})=>r.jsx("img",{class:t,src:e,alt:n,...!1!==a?{loading:a}:{},...o?{role:o}:{},...i});function Ce({children:e=null,selector:t=""}){const r=n.useRef();return function(e,t=""){n.useLayoutEffect(()=>{const n=document.querySelector(t);if(!n)return;const r=n.cloneNode(n);e.current.innerHTML="",e.current.appendChild(r)},[t,e])}(r,t),a.cloneElement(e,{ref:r})}function Ae({label:e="Country",countryLogo:t,countryLogoAltText:a,templateId:o,labelBtn:i="Choose locale",isNavOpen:l=!1,disableTabbing:s=!1,disabled:c=!1,...u}){const[d,f]=n.useState(!1),m=n.useRef();function p(){const e=window.location.href;window.dataLayer&&(dataLayer.push({event:"buttonClick",buttonClickInfo:{clickText:"choose a country",pageURL:e}}),dataLayer.push({event:"siteNavClick",siteNavClickInfo:{clickText:"choose a country",pageURL:e,clickURL:"eyebrow",level:"header:eyebrow"}}))}!function(e,t){n.useEffect(()=>{const n=n=>{e.current&&!e.current.contains(n.target)&&t(n)};return document.addEventListener("mousedown",n),document.addEventListener("touchstart",n),()=>{document.removeEventListener("mousedown",n),document.removeEventListener("touchstart",n)}},[e,t])}(m,()=>f(!1)),n.useEffect(()=>{const e=e=>{"Escape"===e.key&&(e.preventDefault(),f(!1))};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[]),n.useEffect(()=>{const e=e=>{document.querySelectorAll(".language-switcher").forEach(t=>{t.querySelectorAll(".language-switcher-language-url li a").forEach(t=>{t.tabIndex=e?-1:0,t.setAttribute("aria-hidden",e.toString())})})};s&&!l?e(!0):l&&e(!1)},[l,s]);const g=e=>{f(!d),e.stopPropagation()};return r.jsxs("div",{class:"flex md:flex-row items-baseline lg:flex-nowrap text-xs leading-snug "+(c?"opacity-50":""),"data-gtm-category":"site nav","data-gtm-action":"eyebrow","data-gtm-label":"choose a country","data-testid":"country",onClick:e=>{c&&e.stopPropagation()},children:[r.jsxs("label",{class:(t?"mr-4":"mr-3")+" lg:mb-0",children:[e,":"]}
1),r.jsx("div",{children:t&&r.jsx(Te,{src:t,altText:a,addClass:"mr-2 rounded-2xl relative top-space-2 border-gray-300"})}),r.jsxs("div",{class:"relative whitespace-nowrap flex items-center "+(c?"pointer-events-none":""),ref:m,onClick:g,"data-testid":"toggle-btn",children:[r.jsx("div",{class:A`language-switcher`,onClick:p,id:"language-dropdown",children:r.jsx(Ce,{selector:o,children:r.jsx("div",{})})}),r.jsx("div",{class:A`language-switcher ${d?"is-active":"hidden"}`,id:"language-dropdown",children:r.jsx(Ce,{selector:o,children:r.jsx("div",{})})}),r.jsx("button",{class:"ml-2 focus:outline-none focus:ring last-access ","aria-label":i,"aria-haspopup":"true","aria-expanded":d,"data-testid":"language-selector",onClick:e=>{p(),g(e),ke("language-selector")},tabIndex:s&&!l?-1:0,children:r.jsx(me,{className:"block w-5 h-5 pointer-events-none",src:d?'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M11.93 8.25h.02a.75.75 0 01.58.22l5.86 5.86a.75.75 0 11-1.06 1.06l-5.4-5.4-5.4 5.4a.75.75 0 01-1.06-1.06l5.86-5.86a.75.75 0 01.6-.22z"/>\n</svg>':'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M11.93 15.75h.02c.2.01.42-.06.58-.22l5.86-5.86a.75.75 0 10-1.06-1.06l-5.4 5.4-5.4-5.4a.75.75 0 10-1.06 1.06l5.86 5.86c.16.16.38.24.6.22z"/>\n</svg>'})})]})]})}const je=100,Ne="mcpHeaderButtons",Le=()=>!!localStorage.getItem(Ne),Oe=e=>{let t={};const n=localStorage.getItem(Ne);return n&&(t=JSON.parse(n)),t[e]??{}};function De({children:e=null,class:t="",href:a,target:o="_blank",isValidEID:i,...l}){const[s,c]=n.useState(e),[u,d]=n.useState(a),[f,m]=n.useState(o);return n.useEffect(()=>{let e=0;const t=setInterval(()=>{if(Le()){clearInterval(t);const{text:e,url:n,openInNewTab:r}=Oe("secureLoginCTA");e&&c(e),n&&d(n),void 0!==r&&m(r?"_blank":"_self")}2e3===e&&clearInterval(t),e+=je},je)},[]),r.jsx("a",{class:A`js-subdomain-link items-center whitespace-nowrap btn ${i?"btn-primary":"btn-secondary"} px-3.5 cursor-pointer ${t}`,tabindex:"0","data-gtm-category":"site nav","data-gtm-action":"eyebrow","data-gtm-label":"login","data-testid":"login-2",href:u,target:f,id:"personalization-header-secure-login-btn",...l,children:r.jsx("span",{class:"leading-snug lg:w-auto lg:leading-none",children:s})})}var Re='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M6.05 20.84a.75.75 0 001.06 1.06l8.94-8.93a1.37 1.37 0 000-1.94L7.1 2.1a.75.75 0 00-1.06 1.06L14.9 12l-8.85 8.85z"/>\n</svg>';function Ie({hide:e,heading:a,body:o,image:i,cta_style:l,link:s,parentTabText:c}){const u=n.useRef(null),d="button"===l?"btn btn-warning":"block text-lg text-blue-500",f=a?"mt-2":"-mt-1";return n.useEffect(()=>{navigator.userAgent.toLowerCase().indexOf("iphone")>-1?(u.current.parentNode.classList.remove("pb-36"),u.current.parentNode.classList.add("pb-24")):u.current.parentNode.classList.add("pb-5")},[]),r.jsx("li",{className:"mega-nav-featured-content "+(e?"hidden":""),ref:u,children:r.jsxs("div",{class:"bg-gray-100 p-5 pb-11 mt-2 mb-3 -mx-5",children:[i&&r.jsx("img",{alt:"",src:i,class:"w-full mb-4",loading:"lazy"}),a&&r.jsx("p",{class:"text-xl font-bold leading-snug",children:a}),o&&r.jsx("div",{class:`text-lg leading-normal rich-text ${f}`,dangerouslySetInnerHTML:{__html:o}}),s&&s.label&&r.jsxs("a",{"data-gtm-category":"site nav","data-gtm-action":"featured-content","data-gtm-label":s.label,"data-nav-level":`Feautured Content Section : ${c}`,id:"featured-content-cta","data-testid":"featured-content-cta",class:`w-full mt-6 font-regular ${d}`,href:s.url||"#",target:s.target,children:[r.jsx("span",{class:"mx-auto leading-normal",children:s.label}),"_blank"===s.target?r.jsxs(t.Fragment,{children:[r.jsx(me,{src:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M11.38 5.62a.75.75 0 110 1.5h-7.5a.5.5 0 00-.5.5v12.5a.5.5 0 00.5.5h12.5a.5.5 0 00.5-.5v-7.5a.75.75 0 011.5 0v7.5a2 2 0 01-2 2H3.88a2 2 0 01-2-2V7.62a2 2 0 012-2zm10-3.75a.77.77 0 01.42.13.75.75 0 01.1.1l-.07-.08a.75.75 0 01.3.6v-.07 5.7a.75.75 0 11-1.5 0V4.43L9.4 15.65a.75.75 0 01-.98.08l-.08-.08a.75.75 0 010-1.06L19.57 3.37h-3.82a.75.75 0 01-.74-.64l-.01-.1a.75.75 0 01.75-.76z"/>\n</svg>',className:"inline-block align-text-top ml-1"}),r.jsx("span",{className:"sr-only",children:"opens in a new window"})]}):"button"!==l?r.jsx(me,{src:Re,className:"inline-block align-middle [scale:0.6]"}):null]})]})})}function Me({class:e="",href:t="",rel:n="",target:a="_self",text:o="",active:i,classExternalLink:l,id:s,...c}){return r.jsxs("a",{class:A`${["mega-menu-link",`inline lg:block ${"link-with-new-window"===l?"":"justify-between"} focus:border-blue-300 `,"group",e]} ${"true"===i?"active":""}`,"aria-current":"true"===i?"true":null,href:t,"data-component-name":t.includes("search/financial-a
1dvisor/results")?"Navigation_l2_fa_redirect":"",rel:n,target:a,"data-gtm-category":"site nav","data-gtm-action":"header:level 2","data-gtm-label":o,id:`anchor-link-${s}`,...c,children:[r.jsxs("span",{class:"relative block "+("link-with-new-window"!=l||"true"===i?"pr-4":""),children:[o,r.jsx(me,{className:"hidden absolute top-1 right-0 lg:group-hover:text-current h-4 w-4 text-blue-500",src:Re})]}),"link-with-new-window"===l&&r.jsx("span",{class:"sr-only",children:" opens in a new window"})]})}const Pe=({items:e=[],class:t="",indicatorDepth:n=1,idx:a,featuredContent:o={},...i})=>{const{md:l,lg:s}=ne(),c=!(l||s),u=$();return r.jsxs("div",{className:"flex flex-col md:flex-row md:gap-5","data-testid":"mega-menu-wrapper",children:[r.jsx("ul",{class:A`mega-menu-container w-full md:w-1/2 lg:w-1/4 fisrt-l2-item ${t}`,...i,children:e.map(({items:e=[],...t},o)=>0===o&&r.jsxs("li",{class:`pb-3 lg:pb-4 mb-5 lg:mb-0 md:inline-block md:w-full ${u?"lg:grid":"lg:block"} lg:w-auto ${3===a&&o>0?"menu-l2-items":""}`,children:[r.jsx(Me,{class:"heading-5 font-medium border-gray-300 leading-normal l2-items",...t,"data-testid":`l2link${o+1}`}),r.jsx(qe,{items:e,indicatorDepth:n})]},o))}),r.jsxs("ul",{class:A`mega-menu-container w-full md:w-1/2 lg:w-3/4 rest-l2-items simplified-mega-nav-margin ${t}`,...i,children:[e.map(({items:e=[],...t},o)=>o>0&&r.jsxs("li",{class:`pb-3 lg:pb-4 mb-5 lg:mb-0 md:inline-block md:w-full ${u?"lg:grid":"lg:block"} lg:w-auto ${3===a&&o>0?"menu-l2-items":""}`,children:[r.jsx(Me,{class:"heading-5 font-medium border-gray-300 leading-normal l2-items",...t,"data-testid":`l2link${o+1}`}),r.jsx(qe,{items:e,indicatorDepth:n})]},o)),c&&o&&Be(o)]})]})},Ue=({items:e=[],class:t="",indicatorDepth:n=1,idx:a,featuredContent:o={},...i})=>{const{md:l,lg:s}=ne(),c=!(l||s),u=$(),d=e.filter(e=>e.items&&e.items.length>0),f=e.filter(e=>e.items&&0===e.items.length);return r.jsxs("div",{className:"flex flex-col md:flex-row md:gap-5","data-testid":"mega-menu-wrapper",children:[r.jsx("ul",{class:A`mega-menu-container first-list ${t}`,...i,children:d.map(({items:e=[],...t},o)=>r.jsxs("li",{class:`pb-3 lg:pb-4 mb-5 lg:mb-0 md:inline-block md:w-full ${u?"lg:grid":"lg:block"} lg:w-auto ${3===a&&o>0?"menu-l2-items":""}`,children:[r.jsx(Me,{class:"heading-5 font-medium border-gray-300 leading-normal l2-items",...t,"data-testid":`l2link${o+1}`}),r.jsx(qe,{items:e,indicatorDepth:n})]},o))}),r.jsxs("ul",{class:A`mega-menu-container simplified-mega-nav-margin second-list ${t}`,...i,children:[f.map(({items:e=[],...t},o)=>r.jsxs("li",{class:`pb-3 lg:pb-4 mb-5 lg:mb-0 md:inline-block md:w-full ${u?"lg:grid":"lg:block"} lg:w-auto ${3===a&&o>0?"menu-l2-items":""}`,children:[r.jsx(Me,{class:"heading-5 font-medium border-gray-300 leading-normal l2-items",...t,"data-testid":`l2link${o+1}`}),r.jsx(qe,{items:e,indicatorDepth:n})]},o)),c&&o&&Be(o)]})]})},$e=({items:e=[],class:n="",indicatorDepth:a=1,idx:o,featuredContent:i={},...l})=>{const{md:s,lg:c}=ne(),u=!(s||c),d=$();return r.jsxs("ul",{class:A`mega-menu-container ${n}`,"data-testid":"mega-menu-wrapper",...l,children:[e.map(({items:e=[],...n},i)=>r.jsx(t.Fragment,{children:r.jsxs("li",{class:`pb-3 lg:pb-4 mb-5 lg:mb-0 md:inline-block md:w-full ${d?"lg:grid":"lg:block"} lg:w-auto ${3===o&&i>0?"menu-l2-items":""}`,children:[r.jsx(Me,{class:"heading-5 text-lg font-medium border-gray-300 leading-normal l2-items",...n,"data-testid":`l2link${i+1}`}),r.jsx(qe,{items:e,indicatorDepth:a})]},i)})),u&&i&&Be(i)]})};function Fe({idx:e,...t}){const{md:n,lg:a}=ne();switch($(),e){case 2:return a?r.jsx(Ue,{...t}):r.jsx($e,{...t});case 3:return r.jsx(Pe,{...t});default:return r.jsx($e,{...t})}}function Be({enable_ab_test:e,parentTabText:t,...n}){return n&&"[]"!==JSON.stringify(n)&&0!==Object.keys(n).length?r.jsx(Ie,{hide:e,parentTabText:t,...n}):null}function qe({items:e=[],indicatorDepth:t=0}){return r.jsx("ul",{children:e.map((e,n)=>r.jsx("li",{class:"pt-5 lg:pt-0",children:r.jsx(Me,{icon:t>1&&r.jsx(me,{className:"hidden md:block lg:text-transparent lg:group-hover:text-current h-3 w-3",src:Re}),...e,class:`${e.classExternalLink} leading-snug l3-items`,"data-testid":`l3link${n+1}`})},n))})}function He({children:e=null,heading:t="",body:n="",index:a=0,isZoomText:o=!1}){const{md:i,lg:l}=ne(),s=!(i||l),c=100*Math.floor(window.devicePixelRatio),u=U()&&
1!s?o?"min-h-[90vh!important]":c>=200?"h-screen pb-[7rem!important]":"":"";return r.jsx("div",{class:`bg-white shadow-xl pt-1 pb-4 md:pb-2 lg:pt-13 lg:pb-6 ${i&&!l?"mega-menu-nav-panel":""} ${u}`,children:r.jsx("div",{class:`container relative ${i&&!l?"max-w-none overflow-y-hidden":""} ${o&&"mt-12"}`,children:e})})}function ze(e,t){if(e){const n=t?":open":":close",r=(e.dataset.parentComp?e.dataset.parentComp+":":"")+(e.innerText||e.getAttribute("aria-label")||"")+n;e.getAttribute("vwo-redirection")||M({event:"buttonClick",buttonClickInfo:{clickText:r,pageURL:window.location.href}})}}function Ke({class:e="",items:t=[],isZoomText:a,disableTabbing:o=!1,...i}){const[l,s]=n.useState(null),{isNavOpen:c}=i,{md:u,lg:d}=ne(),f=!(u||d);n.useEffect(()=>{s(!c&&null)},[c]);const m=e=>{const t=document.querySelectorAll("#tabletMegaMenu .nav-tabs-item");s(null),setTimeout(()=>{t[e].nextSibling.setAttribute("hidden",!0),t[e].focus()},700);const n=window.location.href;window.dataLayer&&(dataLayer.push({event:"linkClick",linkClickInfo:{clickText:"Back to main menu",pageURL:n}}),dataLayer.push({event:"siteNavClick",siteNavClickInfo:{clickText:"Back to main menu",pageURL:n,level:"header:eyebrow"}}))};return r.jsx("ul",{class:A`flex md:justify-evenly md:h-auto flex-col py-3 md:pt-6 pr-5 md:pr-7 pb-0 px-4 ${e}`,"data-testid":"tabbed-nav",...i,children:t?.map(({text:e,body:t,active:n,items:i=[],enable_ab_test:d,feature_content:p},g)=>r.jsxs("li",{class:"pb-3",children:[r.jsxs("button",{class:"skip-button-tracking nav-tabs-item w-full text-left py-2 mx-2 text-xl heading-4 font-medium leading-normal flex items-start justify-between border-transparent","data-gtm-category":"site nav","data-gtm-action":"header:level 1","data-gtm-label":e,"data-testid":`l1link${g+1}`,"aria-expanded":l===g,onClick:e=>{((e,t)=>{ze(e.currentTarget,l!==t)})(e,g),((e,t)=>{const n=document.querySelector(`#tabletSubmenu-${t}`);n&&n.removeAttribute("hidden"),setTimeout(()=>{s(e=>e===t?null:t),document.querySelector(`#tabletSubmenu-${t} #back-to-main-${t} a`).focus()},0)})(0,g)},tabIndex:o&&!c?-1:0,children:[r.jsx("span",{children:e}),r.jsx(me,{className:"border-2 w-5 h-5 border-transparent mt-1 rounded float-right",src:Re})]}),r.jsxs("div",{id:`tabletSubmenu-${g}`,tabindex:"-1",hidden:!0,class:`tabletSubmenu ${l!==g?"":"open"} fixed w-full z-50 h-screen md:h-auto md:shadow-xl overflow-y-scroll pt-14 md:pt-0 -ml-1 bg-white`,style:{to
1p:`${64+Ve()}px`},children:[r.jsx("div",{id:`back-to-main-${g}`,class:"w-full bg-white fixed left:0 h-5 pl-0 pt-6 pb-12 z-50",style:!a&&{top:`${Ve()}px`},children:r.jsx("div",{class:"container "+(u?"max-w-none":""),children:r.jsx("div",{class:"bg-white text-xs",children:r.jsxs("a",{href:"javascript:void(0)",class:"flex",onClick:()=>m(g),onKeyDown:e=>((e,t)=>{32===e.keyCode&&(e.preventDefault(),m(t))})(e,g),children:[r.jsx(me,{className:`block w-7 border-2 border-transparent -mt-1 -ml-3 ${a&&"flex items-center"}`,src:'<?xml version="1.0" encoding="UTF-8"?>\n<svg width="20px" height="20px" viewBox="-7 -7 46 46" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <g stroke="none">\n <g transform="translate(-845.000000, -1575.000000)">\n <g transform="translate(845.000000, 1575.000000)">\n \x3c!-- <rect fill="#000000" opacity="0.4" x="0" y="0" width="44" height="44"></rect> --\x3e\n <g transform="translate(22.000000, 21.500000) scale(-1, 1) translate(-22.000000, -21.500000) translate(15.000000, 9.000000)" fill-rule="nonzero" stroke="#979797">\n <path d="M13.414114,11.1212929 L3.11347356,0.553274704 C2.77175691,0.19917567 2.30659771,0 1.82134376,0 C1.33608981,0 0.870930604,0.19917567 0.529213956,0.553274704 C-0.176404652,1.28281858 -0.176404652,2.46105926 0.529213956,3.19060314 L9.53772455,12.5428316 L0.529213956,21.8015379 C-0.176404652,22.5310817 -0.176404652,23.7093224 0.529213956,24.4388663 C0.869665475,24.7958514 1.33498265,24.9979249 1.82134376,25 C2.30770487,24.9979249 2.77302204,24.7958514 3.11347356,24.4388663 L13.414114,13.8708481 C13.787578,13.5167436 14,13.0182969 14,12.4960705 C14,11.9738441 13.787578,11.4753974 13.414114,11.1212929 Z" ></path>\n </g>\n </g>\n </g>\n </g>\n</svg>'}),r.jsx("span",{children:"Back to main menu"})]})})})}),r.jsx(He,{heading:e,body:t,index:g,isZoomText:a,children:r.jsx(Fe,{items:i,featuredContent:{enable_ab_test:d,parentTabText:e,...p},class:`mt-4 ${f?navigator.userAgent.toLowerCase().indexOf("android")>-1?"pb-28":"pb-36":""} md:pb-2`,idx:g})})]})]}))})}const Ve=()=>function(e){if(!e)return 0;const[t]=e.getClientRects();return Math.round(t.top+t.height)}(document.getElementById("global-header-wrapper"));var We='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <defs/>\n <path d="M2.095 2.094a.75.75 0 011.06 0L12 10.938l8.845-8.844a.75.75 0 01.976-.073l.084.073a.75.75 0 010 1.06L13.061 12l8.844 8.845a.75.75 0 01.073.976l-.073.084a.75.75 0 01-1.06 0L12 13.06l-8.845 8.844a.75.75 0 01-.976.073l-.084-.073a.75.75 0 010-1.06l8.844-8.845-8.844-8.845a.75.75 0 01-.073-.976l.073-.084z"/>\n</svg>';function Ge({items:e=[],closeSearch:t=()=>{},showDialog:a=!1,setNavStatus:o=()=>{},...i}){const[l,s]=n.useState(null),[c,u]=n.useState(!1),d=n.useRef(),{lg:f}=ne(),m=e.map(()=>n.useRef(null));f&&document.addEventListener("keydown",function(e){"Escape"===e.key&&(s(null),p())});const p=()=>{s(null)},g=e=>{d.current.contains(e.target)||(s(null),p(),u(!1))},h=e=>{if(9===e.keyCode){if(d.current.contains(e.target))return;s(null),p(),u(!1)}};return n.useEffect(()=>{const e=null!==l,t=function(e){let t=0;return e.forEach(e=>{const n=e.getBoundingClientRect();n.top>=0&&n.bottom<=window.innerHeight?t+=n.height:n.top<window.innerHeight&&n.bottom>=0&&(t+=Math.min(n.bottom,window.innerHeight)-Math.max(n.top,0))}),t}(document.querySelectorAll(".notification.block-block-content"));if(o(e),f)if(t>0){const e=document.querySelector("#global-header-wrapper"),n=document.documentElement.clientHeight-(e?e.clientHeight:0)-t;m&&m.forEach(e=>{e.current.style.maxHeight=n+"px",e.current.style.overflow="auto",e.current.classList.add("shadow-xl")})}else m&&m.forEach(e=>{e.current.style.maxHeight="none"})},[l]),n.useEffect(()=>(document.addEventListener("mousedown",g),document.addEventListener("keyup",h),()=>{document.removeEventListener("mousedown",g),document.removeEventListener("keyup",h)}),[]),n.useEffect(()=>{a&&s(null)},[a]),r.jsx("div",{"data-testid":"dropdown-nav",children:r.jsx("ul",{class:"flex gap-4 mr-1",ref:d,children:e?.map(({text:e,body:n,active:a,items:o=[],href:i},d)=>r.jsxs("li",{children:[r.jsx("button",{class:"skip-button-tracking nav-tabs-item h-12 text-xs leading-tight text-black hover:text-blue-500",type:"button",onClick:e=>{((e,t)=>
1{ze(e.currentTarget,l!==t)})(e,d),(e=>{t(),s(t=>t===e?null:e),u(!0)})(d)},onFocus:()=>p(),onMouseEnter:()=>(e=>{const n=document.querySelectorAll(".nav-tabs-item");t(),p(),c&&s(e),n.forEach((t,n)=>{e!==n&&t.blur()})})(d),onMouseLeave:()=>(e=>{t(),p(),c&&s(e)})(d),"aria-expanded":l===d,"data-gtm-category":"site nav","data-gtm-action":"header:level 1","data-testid":`l1link${d+1}`,"data-gtm-label":e,children:e}),r.jsx("div",{class:"absolute left-0 right-0 z-40 focus:outline-none",hidden:l!==d,ref:m[d],children:r.jsxs(He,{heading:e,body:n,index:d,children:[r.jsxs("button",{class:"right-0 absolute top-0 -mt-6",onClick:()=>(()=>{s(null),u(!1);const e=window.location.href;window.dataLayer&&(dataLayer.push({event:"buttonClick",buttonClickInfo:{clickText:"Cross",pageURL:e}}),dataLayer.push({event:"siteNavClick",siteNavClickInfo:{clickText:"Cross",pageURL:e,level:"header:eyebrow"}}))})(),children:[r.jsx(me,{className:"w-5 h-5 inline-block mr-1",src:We}),r.jsxs("span",{class:"sr-only",children:["close ",e]})]}),r.jsx(Fe,{class:"text-sm",items:o,indicatorDepth:2,idx:d})]})})]},d))})})}function Ye(){}function Qe(){}Qe.resetWarningCache=Ye;var Je=T(function(e){e.exports=function(){function e(e,t,n,r,a,o){if("SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"!==o){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Qe,resetWarningCache:Ye};return n.PropTypes=n,n}()}),Xe=et()?c.default.useLayoutEffect:c.default.useEffect,Ze=ct;function et(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function tt(e,t){var n=o.createContext(t);return n.displayName=e,n}function nt(e){return c.default.forwardRef(e)}function rt(e,t){return c.default.memo(e,t)}function at(e){return e&&e.ownerDocument?e.ownerDocument:et()?document:null}function ot(e){return!(!e||"[object Function]"!={}.toString.call(e))}function it(e){return 3===e.which||2===e.button}function lt(e){return"string"==typeof e}function st(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(function(e){return null!=e}).join("--")}function ct(){}function ut(e){var t=c.default.useRef();return t.current||(t.current={v:e()}),t.current.v}function dt(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.useMemo(function(){return t.every(function(e){return null==e})?null:function(e){t.forEach(function(t){!function(e,t){if(null!=e)if(ot(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}(t,e)})}},[].concat(t))}function ft(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function mt(){return mt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mt.apply(this,arguments)}function pt(e,t){void 0===t&&(t={});return tt(e,mt({descendants:[],registerDescendant:ct,unregisterDescendant:ct},t))}function gt(e,t,n){var r,a,i=o.useState()[1],l=o.useContext(t),s=l.registerDescendant,c=l.unregisterDescendant,u=l.descendants,d=null!=n?n:u.findIndex(function(t){return t.element===e.element}),f=(r=u,a=o.useRef(null),o.useEffect(function(){a.current=r},[r]),a.current),m=u.some(function(e,t){var n;return e.element!==(null==f||null===(n=f[t])||void 0===n?void 0:n.element)});return Xe(function(){return e.element||i({}),s(mt({},e,{index:d})),function(){return c(e.element)}},[s,c,d,m].concat(Object.values(e))),d}function ht(e){var t=e.context,n=e.children,r=e.items,a=e.set,i=o.useCallback(function(e){var t=e.element,n=e.index,r=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["element","index"]);t&&a(function(e){var a;if(null!=n)a=[].concat(e,[mt({},r,{element:t,index:n})]);else if(0===e.length)a=[].concat(e,[mt({},r,{element:t,index:0})]);else if(e.find(function(e){return e.element===t}))a=e;else{var o=e.findIndex(function(e){return!(!e.element||!t)&&Boolean(e.element.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_PRECEDING)}),i=mt({},r,{element:t,index:o});a=-1===o?[].concat(e,[i]):[].concat(e.slice(0,o),[i],e.slice(o))}return a.map(function(e,t){return mt({},e,{index:t})})})},[]),l=o.useCallback(function(e){e&&a(function(t){return t.filter(function(t){return e!==t.element})})},[]);return c.default.createElement(t.Provider,{value:o.useMemo(function(){return{descendants:r,registerDesce
1ndant:i,unregisterDescendant:l}},[r,i,l])},n)}var vt,bt,yt=!1,wt=0,xt=function(){return++wt};!function(e){e.Auto="auto",e.Manual="manual"}(vt||(vt={})),function(e){e.Horizontal="horizontal",e.Vertical="vertical"}(bt||(bt={})),Je.string.isRequired,Je.string,Je.string,Je.string,Je.func;const{entries:Et,setPrototypeOf:St,isFrozen:kt,getPrototypeOf:_t,getOwnPropertyDescriptor:Tt}=Object;let{freeze:Ct,seal:At,create:jt}=Object,{apply:Nt,construct:Lt}="undefined"!=typeof Reflect&&Reflect;Ct||(Ct=function(e){return e}),At||(At=function(e){return e}),Nt||(Nt=function(e,t,n){return e.apply(t,n)}),Lt||(Lt=function(e,t){return new e(...t)});const Ot=Kt(Array.prototype.forEach),Dt=Kt(Array.prototype.pop),Rt=Kt(Array.prototype.push),It=Kt(String.prototype.toLowerCase),Mt=Kt(String.prototype.toString),Pt=Kt(String.prototype.match),Ut=Kt(String.prototype.replace),$t=Kt(String.prototype.indexOf),Ft=Kt(String.prototype.trim),Bt=Kt(Object.prototype.hasOwnProperty),qt=Kt(RegExp.prototype.test),Ht=(zt=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Lt(zt,t)});var zt;function Kt(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return Nt(e,t,r)}}function Vt(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:It;St&&St(e,null);let r=t.length;for(;r--;){let a=t[r];if("string"==typeof a){const e=n(a);e!==a&&(kt(t)||(t[r]=e),a=e)}e[a]=!0}return e}function Wt(e){for(let t=0;t<e.length;t++){Bt(e,t)||(e[t]=null)}return e}function Gt(e){const t=jt(null);for(const[n,r]of Et(e)){Bt(e,n)&&(Array.isArray(r)?t[n]=Wt(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=Gt(r):t[n]=r)}return t}function Yt(e,t){for(;null!==e;){const n=Tt(e,t);if(n){if(n.get)return Kt(n.get);if("function"==typeof n.value)return Kt(n.value)}e=_t(e)}return function(){return null}}const Qt=Ct(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Jt=Ct(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Xt=Ct(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Zt=Ct(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),en=Ct(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),tn=Ct(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),nn=Ct(["#text"]),rn=Ct(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),an=Ct(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),on=Ct(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),ln=Ct(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=At(/\{\{[\w\W]*|[\w\W]*\}\}/gm),cn=At(/<%[\w\W]*|[\w\W]*%>/gm),un=At(/\${[\w\W]*}/gm),dn=At(/^data-[\-\w.\u00B7-\uFFFF]/),fn=At(/^aria-[\-\w]+$/),mn=At(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),pn=At(/^(?:\w+script|data):/i),gn=At(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),hn=At(/^html$/i),vn=At(/^[a-z][.\w]*(-[.\w]+)+$/i);var bn=Object.freeze({__proto__:null,MUSTACHE_EXPR:sn,ERB_EXPR:cn,TMPLIT_EXPR:un,DATA_ATTR:dn,ARIA_ATTR:fn,IS_ALLOWED_URI:mn,IS_SCRIPT_OR_DATA:pn,ATTR_WHITESPACE:gn,DOCTYPE_NAME:hn,CUSTOM_ELEMENT:vn});const yn=1,wn=3,xn=7,En=8,Sn=9,kn=function(){return"undefined"==typeof window?null:window};var _n=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:kn();const n=t=>e(t);if(n.version="3.1.5",n.removed=[],!t||!t.document||t.document.nodeType!==Sn)return n.isSupported=!1,n;let{document:r}=t;const a=r,o=a.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:s,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:m,trustedTypes:p}=t,g=c.prototype,h=Yt(g,"cloneNode"),v=Yt(g,"nextSibling"),b=Yt(g,"childNodes"),y=Yt(g,"parentNode");if("function"==typeof l){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,x="";const{implementation:E,createNodeIterator:S,createDocumentFragment:k,getElementsByTagName:_}=r,{importNode:T}=a;let C={};n.isSupported="function"==typeof Et&&"function"==typeof y&&E&&void 0!==E.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:j,TMPLIT_EXPR:N,DATA_ATTR:L,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:D,ATTR_WHITESPACE:R,CUSTOM_ELEMENT:I}=bn;let{IS_ALLOWED_URI:M}=bn,P=null;const U=Vt({},[...Qt,...Jt,...Xt,...en,...nn]);let $=null;const F=Vt({},[...rn,...an,...on,...ln]);
vendor: 11,247 bytes, line 1
1let B=Object.seal(jt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,H=null,z=!0,K=!0,V=!1,W=!0,G=!1,Y=!0,Q=!1,J=!1,X=!1,Z=!1,ee=!1,te=!1,ne=!0,re=!1,ae=!0,oe=!1,ie={},le=null;const se=Vt({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ce=null;const ue=Vt({},["audio","video","img","source","image","track"]);let de=null;const fe=Vt({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let he=ge,ve=!1,be=null;const ye=Vt({},[me,pe,ge],Mt);let we=null;const xe=["application/xhtml+xml","text/html"];let Ee=null,Se=null;const ke=r.createElement("form"),_e=function(e){return e instanceof RegExp||e instanceof Function},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Se||Se!==e){if(e&&"object"==typeof e||(e={}),e=Gt(e),we=-1===xe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ee="application/xhtml+xml"===we?Mt:It,P=Bt(e,"ALLOWED_TAGS")?Vt({},e.ALLOWED_TAGS,Ee):U,$=Bt(e,"ALLOWED_ATTR")?Vt({},e.ALLOWED_ATTR,Ee):F,be=Bt(e,"ALLOWED_NAMESPACES")?Vt({},e.ALLOWED_NAMESPACES,Mt):ye,de=Bt(e,"ADD_URI_SAFE_ATTR")?Vt(Gt(fe),e.ADD_URI_SAFE_ATTR,Ee):fe,ce=Bt(e,"ADD_DATA_URI_TAGS")?Vt(Gt(ue),e.ADD_DATA_URI_TAGS,Ee):ue,le=Bt(e,"FORBID_CONTENTS")?Vt({},e.FORBID_CONTENTS,Ee):se,q=Bt(e,"FORBID_TAGS")?Vt({},e.FORBID_TAGS,Ee):{},H=Bt(e,"FORBID_ATTR")?Vt({},e.FORBID_ATTR,Ee):{},ie=!!Bt(e,"USE_PROFILES")&&e.USE_PROFILES,z=!1!==e.ALLOW_ARIA_ATTR,K=!1!==e.ALLOW_DATA_ATTR,V=e.ALLOW_UNKNOWN_PROTOCOLS||!1,W=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,G=e.SAFE_FOR_TEMPLATES||!1,Y=!1!==e.SAFE_FOR_XML,Q=e.WHOLE_DOCUMENT||!1,Z=e.RETURN_DOM||!1,ee=e.RETURN_DOM_FRAGMENT||!1,te=e.RETURN_TRUSTED_TYPE||!1,X=e.FORCE_BODY||!1,ne=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,oe=e.IN_PLACE||!1,M=e.ALLOWED_URI_REGEXP||mn,he=e.NAMESPACE||ge,B=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&_e(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(B.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&_e(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(B.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(B.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),G&&(K=!1),ee&&(Z=!0),ie&&(P=Vt({},nn),$=[],!0===ie.html&&(Vt(P,Qt),Vt($,rn)),!0===ie.svg&&(Vt(P,Jt),Vt($,an),Vt($,ln)),!0===ie.svgFilters&&(Vt(P,Xt),Vt($,an),Vt($,ln)),!0===ie.mathMl&&(Vt(P,en),Vt($,on),Vt($,ln))),e.ADD_TAGS&&(P===U&&(P=Gt(P)),Vt(P,e.ADD_TAGS,Ee)),e.ADD_ATTR&&($===F&&($=Gt($)),Vt($,e.ADD_ATTR,Ee)),e.ADD_URI_SAFE_ATTR&&Vt(de,e.ADD_URI_SAFE_ATTR,Ee),e.FORBID_CONTENTS&&(le===se&&(le=Gt(le)),Vt(le,e.FORBID_CONTENTS,Ee)),ae&&(P["#text"]=!0),Q&&Vt(P,["html","head","body"]),P.table&&(Vt(P,["tbody"]),delete q.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Ht('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Ht('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,x=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(p,o)),null!==w&&"string"==typeof x&&(x=w.createHTML(""));Ct&&Ct(e),Se=e}},Ce=Vt({},["mi","mo","mn","ms","mtext"]),Ae=Vt({},["foreignobject","annotation-xml"]),je=Vt({},["title","style","font","a","script"]),Ne=Vt({},[...Jt,...Xt,...Zt]),Le=Vt({},[...en,...tn]),Oe=function(e){Rt(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},De=function(e,t){try{Rt(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Rt(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!$[e])if(Z||ee)try{Oe(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Re=function(e){let t=null,n=null;if(X)e="<remove></remove>"+e;else{const t=Pt(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===we&&he===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=w?w.createHTML(e):e;if(he===ge)try{t=(new m).parseFromString(a,we)}catch(e){}if(!t||!t.documentElement){t=E.createDocument(he,"template",null);try{t.documentElement.innerHTML=ve?x:a}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(r.createTextNode(n),o.childNodes[0]||null),he===ge?_.call(t,Q?"html":"body")[0]:Q?t.documentElement:o},Ie=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Me=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Pe=function(e){return"function"==typeof s&&e instanceof s},Ue=function(e,t,r){C[e]&&Ot(C[e],e=>{e.call(n,t,r,Se)})},$e=function(e){let t=null;if(Ue("beforeSanitizeElements",e,null),Me(e))return Oe(e),!0;const r=Ee(e.nodeName);if(Ue("uponSanitizeElement",e,{tagName:r,allowedTags:P}),e.hasChildNodes()&&!Pe(e.firstElementChild)&&qt(/<[/\w]/g,e.innerHTML)&&qt(/<[/\w]/g,e.textContent))return Oe(e),!0;if(e.nodeType===xn)return Oe(e),!0;if(Y&&e.nodeType===En&&qt(/<[/\w]/g,e.data))return Oe(e),!0;if(!P[r]||q[r]){if(!q[r]&&Be(r)){if(B.tagNameCheck instanceof RegExp&&qt(B.tagNameCheck,r))return!1;if(B.tagNameCheck instanceof Function&&B.tagNameCheck(r))return!1}if(ae&&!le[r]){const t=y(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let r=n.length-1;r>=0;--r){const a=h(n[r],!0);a.__removalCount=(e.__removalCount||0)+1,t.insertBefore(a,v(e))}}}return Oe(e),!0}return e instanceof c&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:he,tagName:"template"});const n=It(e.tagName),r=It(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===pe?t.namespaceURI===ge?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||Ce[r]):Boolean(Ne[n]):e.namespaceURI===me?t.namespaceURI===ge?"math"===n:t.namespaceURI===pe?"math"===n&&Ae[r]:Boolean(Le[n]):e.namespaceURI===ge?!(t.namespaceURI===pe&&!Ae[r])&&!(t.namespaceURI===me&&!Ce[r])&&!Le[n]&&(je[n]||!Ne[n]):!("application/xhtml+xml"!==we||!be[e.namespaceURI]))}(e)?(Oe(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!qt(/<\/no(script|embed|frames)/i,e.innerHTML)?(G&&e.nodeType===wn&&(t=e.textContent,Ot([A,j,N],e=>{t=Ut(t,e," ")}),e.textContent!==t&&(Rt(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue("afterSanitizeElements",e,null),!1):(Oe(e),!0)},Fe=function(e,t,n){if(ne&&("id"===t||"name"===t)&&(n in r||n in ke))return!1;if(K&&!H[t]&&qt(L,t));else if(z&&qt(O,t));else if(!$[t]||H[t]){if(!(Be(e)&&(B.tagNameCheck instanceof RegExp&&qt(B.tagNameCheck,e)||B.tagNameCheck instanceof Function&&B.tagNameCheck(e))&&(B.attributeNameCheck instanceof RegExp&&qt(B.attributeNameCheck,t)||B.attributeNameCheck instanceof Function&&B.attributeNameCheck(t))||"is"===t&&B.allowCustomizedBuiltInElements&&(B.tagNameCheck instanceof RegExp&&qt(B.tagNameCheck,n)||B.tagNameCheck instanceof Function&&B.tagNameCheck(n))))return!1}else if(de[t]);else if(qt(M,Ut(n,R,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==$t(n,"data:")||!ce[e]){if(V&&!qt(D,Ut(n,R,"")));else if(n)return!1}else;return!0},Be=function(e){return"annotation-xml"!==e&&Pt(e,I)},qe=function(e){Ue("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$};let a=t.length;for(;a--;){const o=t[a],{name:i,namespaceURI:l,value:s}=o,c=Ee(i);let u="value"===i?s:Ft(s);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,Ue("uponSanitizeAttribute",e,r),u=r.attrValue,r.forceKeepAttr)continue;if(De(i,e),!r.keepAttr)continue;if(!W&&qt(/\/>/i,u)){De(i,e);continue}if(Y&&qt(/((--!?|])>)|<\/(style|title)/i,u)){De(i,e);continue}G&&Ot([A,j,N],e=>{u=Ut(u,e," ")});const d=Ee(e.nodeName);if(Fe(d,c,u)){if(!re||"id"!==c&&"name"!==c||(De(i,e),u="user-content-"+u),w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(l);else switch(p.getAttributeType(d,c)){case"TrustedHTML":u=w.createHTML(u);break;case"TrustedScriptURL":u=w.createScriptURL(u)}try{l?e.setAttributeNS(l,i,u):e.setAttribute(i,u),Me(e)?Oe(e):Dt(n.removed)}catch(e){}}}Ue("afterSanitizeAttributes",e,null)},He=function e(t){let n=null;const r=Ie(t);for(Ue("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Ue("uponSanitizeShadowNode",n,null),$e(n)||(n.content instanceof i&&e(n.content),qe(n));Ue("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,o=null,l=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Pe(e)){if("function"!=typeof e.toString)throw Ht("toString is not a function");if("string"!=typeof(e=e.toString()))throw Ht("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Te(t),n.removed=[],"string"==typeof e&&(oe=!1),oe){if(e.nodeName){const t=Ee(e.nodeName);if(!P[t]||q[t])throw Ht("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)r=Re("\x3c!----\x3e"),o=r.ownerDocument.importNode(e,!0),o.nodeType===yn&&"BODY"===o.nodeName||"HTML"===o.nodeName?r=o:r.appendChild(o);else{if(!Z&&!G&&!Q&&-1===e.indexOf("<"))return w&&te?w.createHTML(e):e;if(r=Re(e),!r)return Z?null:te?x:""}r&&X&&Oe(r.firstChild);const u=Ie(oe?e:r);for(;l=u.nextNode();)$e(l)||(l.content instanceof i&&He(l.content),qe(l));if(oe)return e;if(Z){if(ee)for(c=k.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return($.shadowroot||$.shadowrootmode)&&(c=T.call(a,c,!0)),c}let d=Q?r.outerHTML:r.innerHTML;return Q&&P["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&qt(hn,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),G&&Ot([A,j,N],e=>{d=Ut(d,e," ")}),w&&te?w.createHTML(d):d},n.setConfig=function(){Te(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Se=null,J=!1},n.isValidAttribute=function(e,t,n){Se||Te({});const r=Ee(e),a=Ee(t);return Fe(r,a,n)},n.addHook=function(e,t){"function"==typeof t&&(C[e]=C[e]||[],Rt(C[e],t))},n.removeHook=function(e){if(C[e])return Dt(C[e])},n.removeHooks=function(e){C[e]&&(C[e]=[])},n.removeAllHooks=function(){C={}}
1,n}();Je.string,Je.string,Je.string,Je.string,Je.string,Je.string,Je.string,Je.bool;const Tn=(e,t,n,r)=>{const a=document.querySelectorAll(".wrapper-l2");let o=null;for(let e=a.length-1;e>=0;e--){const t=a[e],n=t.querySelector("button");if("true"===n?.getAttribute("aria-expanded")){o=t;break}}const i=o?.querySelector("button"),l=o?.contains(document.activeElement),s=t?.querySelectorAll(n),c=s[0],u=s[s.length-1],d=document.activeElement;if("Tab"===e.key)if(e.shiftKey||d!==u)e.shiftKey&&d===c&&r(-1);else if(l){const e=document.getElementById("submenu");e?.contains(u)&&(r(-1),requestAnimationFrame(()=>{i?.focus(),function(e,t="smooth",n="nearest",r="nearest"){e?.scrollIntoView({behavior:t,block:n,inline:r})}(i,"smooth","center","nearest")}))}else r(-1)},Cn=(e="",t,n)=>{const r=/^(https?:)?\/\//i.test(a=t)||/^www\./i.test(a)?a:`${window.location.origin}${a}`;var a;const o={event:"siteNavClick",siteNavClickInfo:{clickText:e||"",pageURL:window.location.href,clickURL:r||n||"",level:n||""}};M(o)},An=({topmargin:e=!1,props:t})=>r.jsx("ul",{className:`flex flex-col gap-3 w-full ${e&&"mt-2"}`,children:Object.values(t).map((e,t)=>r.jsx("li",{children:r.jsx("a",{className:"relative text-normal leading-snug px-2 pb-0.5 focus:outline-blue-solid border-b-2 border-transparent w-full block text-gray-400 interactive-elements-l3",href:e.href,onClick:()=>{Cn(e.text,e.href,"header:level 3")},children:e.text})},t))}),jn=({items:e,showSubMenu:a,setShowSubMenu:o,activeNavigation:i})=>{const l=n.useRef(null),s=n.useRef(null);n.useEffect(()=>{const e=document.querySelectorAll(".left-sub-menu"),t=Array.from(e),n=t?.find(e=>"submenu"===e.id),r=n?.parentElement,a=n?.clientWidth,o=n?.clientHeight,i=r?.offsetTop;return a&&s?.current&&(s?.current?.classList.add("active"),n?.classList.add("active"),s.current.style.width=`${a}px`,s.current.style.height=`${o}px`,s.current.style.right=`-${a-2}px`,s.current.style.top=`${i+18}px`),()=>{s?.current?.classList?.remove("active"),n?.classList.remove("active")}},[a]);const c=e=>{o(a===e?-1:e),Cn("","","header:level 2")};return r.jsxs(t.Fragment,{children:[r.jsx("ul",{className:"flex flex-col gap-1 w-max relative",children:Object.values(e).map((e,t,n)=>r.jsxs("li",{className:`relative border-b-2 border-transparent ${t===n.length-1&&"wrapper-l2"}`,children:[r.jsxs("div",{className:"flex group items-stretch relative "+(e.is_expanded?"flex-col":"flex-row"),children:[r.jsx("a",{className:"text-lg leading-normal font-medium h-full focus:outline-blue-solid border-b-2 border-transparent w-full block interactive-elements-l2 "+(e.is_expanded?"px-2 py-0.5":"group-hover:border-gray-hover py-1.5 pl-2 pr-3 "),href:e.href,onClick:()=>{Cn(e.text,e.href,"header:level 2")},children:e.text}),!e.is_expanded&&e.items.length>0&&r.jsx("button",{className:`border-b-2 border-transparent interactive-elements-l2 group-hover:border-gray-hover ${a===t&&"navigation-active-l2-buttons"}`,onClick:()=>c(t),onMouseEnter:()=>(e=>{a!==e&&-1!==a&&c(e)})(t),"aria-label":e.text,"aria-expanded":a===t,ref:a===t?l:null,children:r.jsx(me,{src:'<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M16.0334 25.8932C15.9451 25.9879 15.897 26.1133 15.8993 26.2428C15.9016 26.3724 15.9541 26.496 16.0457 26.5876C16.1373 26.6792 16.2609 26.7317 16.3904 26.7339C16.52 26.7362 16.6453 26.6881 16.7401 26.5998L22.7001 20.6465C22.7852 20.5616 22.8527 20.4609 22.8987 20.3499C22.9448 20.2389 22.9685 20.12 22.9685 19.9998C22.9685 19.8797 22.9448 19.7607 22.8987 19.6498C22.8527 19.5388 22.7852 19.438 22.7001 19.3532L16.7334 13.3998C16.6387 13.3115 16.5133 13.2634 16.3838 13.2657C16.2542 13.268 16.1306 13.3205 16.039 13.4121C15.9474 13.5037 15.8949 13.6273 15.8927 13.7568C15.8904 13.8863 15.9385 14.0117 16.0268 14.1065L21.9334 19.9998L16.0334 25.8998V25.8932Z" fill=""/>\n</svg>\n'})}),e.is_expanded&&r.jsx(An,{topmargin:!0,props:e.items})]}),r.jsx("div",{className:"absolute mt-4 p-3 z-10 w-full w-max -top-4 left-sub-menu",id:a===t&&i?"submenu":"",children:r.jsx(An,{props:e.items})})]},t))}),r.jsx("div",{ref:s,className:"navigation-shadow submenu-background-animation"})]})};var Nn=e=>{const[a,o]=n.useState(-1),[i,l]=n.useState(-1),s=n.useRef(null),c=n.useRef(null),u=n.useRef(null),d=n.useRef([]),f=(e,t)=>{a===e?(o(-1),l(-1)):(o(e),l(-1))},m=()=>{-1!==a&&d.current[a]&&d.current[a].focus(),o(-1),l(-1)};return n.useEffect(()=>{const e=e=>{s.current&&!s.current.contains(e.target)&&m()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[]),n.useEffect(()=>{const e=document.getElementById("submenu"),t=t=>{if("Escape"===t.key)if(t.preventDefault(),-1!==i){const t=e.parentElement.querySelector("button");l(-1),t?.focus()}else m();(e=>{-1!==a&&Tn(e,c?.current,".interactive-elements-l2",o)})(t),(t=>{-1!==i&&Tn(t,e,".interactive-elements-l3",l)})(t)};return-1!==a&&document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",t)}},[a,i]),n.useEffect(()=>{const e=d?.current[a],t=e?.parentElement,n=t?.querySelector(".navigation-box-animation"),r=n?.clientWidth,o=n?.clientHeight,i=n?.offsetLeft;return r&&u?.current&&(u?.current?.classList.add("active"),u.current.style.width=`${r}px`,u.current.style.height=`${o}px`,u.current.style.left=`${i}px`),()=>{u?.current?.classList?.remove("active")}},[a]),r.jsxs(t.Fragment,{children:[r.jsx("ul",{className:"flex gap-4 h-full items-center mr-1",ref:s,children:Object.values(e).map((e,t)=>r.jsxs("li",{className:`${a===t&&"animate"}`,children:[r.jsx("button",{className:`skip-button-tracking text-xs leading-tight border-b-2 border-transparent text-black h-12 ${a===t&&"navigation-active-l1-items"}`,ref:e=>d.current[t]=e,onClick:n=>{((e,t)=>
1{ze(e.currentTarget,a!==t)})(n,t),f(t,e.heading)},onMouseEnter:()=>(e=>{a!==e&&-1!==a&&f(e)})(t),"aria-expanded":a===t,"data-gtm-category":"site nav","data-gtm-action":"header:level 1","data-gtm-label":e.heading,"data-testid":`l1link${t+1}`,type:"button",children:e.heading}),r.jsx("div",{ref:a===t?c:null,className:"absolute mt-1 px-3 pt-4 pb-5 z-10 navigation-box-animation",children:r.jsx(jn,{items:e.items,showSubMenu:i,setShowSubMenu:l,activeNavigation:a===t})})]},t))}),r.jsx("div",{ref:u,className:"navigation-shadow menu-background-animation"})]})};function Ln({children:e=null,class:t="",testId:a="",isValidEID:o,href:i,target:l,...s}){const[c,u]=n.useState(e),[d,f]=n.useState(i),[m,p]=n.useState(l);return n.useEffect(()=>{let e=0;const t=setInterval(()=>{if(Le()){clearInterval(t);const{text:e,url:n,openInNewTab:r}=Oe("findFACTA");e&&u(e),n&&f(n),void 0!==r&&p(r?"_blank":"_self")}2e3===e&&clearInterval(t),e+=je},je)},[]),r.jsx("a",{class:A`btn find-fa-nav-btn ${o?"btn-secondary":"btn-primary"} lg:mr-0 px-5 lg:px-[0.875rem] md:leading-snug lg:leading-none ${t}`,tabindex:"0","data-gtm-category":"site nav","data-gtm-action":"header:level 1","data-gtm-label":"fa locator","data-testid":a,"data-component-name":"Navigation_l1_fa_redirect",id:"personalization-header-find-fa-btn",href:d,target:m,...s,children:c})}function On({frequentSearches:e=[],frequentSearchLabel:a="",frequentSearchSRLabel:o="",submitLabel:i="",backToSearchLabel:l="",...s}){const c=ie(e=>e?.searchSuggestions),[u,d]=n.useState("");n.useEffect(()=>{d(o)},[c]);return r.jsxs(t.Fragment,{children:[r.jsx("div",{"aria-live":"polite","aria-atomic":"true",class:"sr-only",children:u}),r.jsx("p",{tabindex:"0",className:"text-gray-400 text-md px-3 mt-5 mb-2 uppercase",children:a}),r.jsx("ul",{className:"px-3 md:max-w-md lg:max-w-lg",children:e.map(({title:e,href:t,target:n})=>r.jsx("li",{className:"py-3 border-b hover:border-b-2 font-bold hover:border-yellow-500",children:r.jsxs("a",{href:t,className:"block relative hover:text-black",target:n,onClick:()=>(e=>{M({event:"siteSearchFreqSearch",siteSearchInfo:{siteSearchFreqSearched:e,searchType:"siteSearch"}})})(e),children:[r.jsx("span",{class:"sr-only",children:i})," ",e,r.jsx(me,{className:"block w-4 h-4 absolute right-2 top-2 fill-current text-black",src:Re})]})}))}),r.jsx("a",{class:"px-4 text-xs text-white my-4 block focus:text-gray-400 skip-link",href:"#sitesearch",onClick:()=>{document.getElementById("sitesearch").focus()},children:l})]})}var Dn=function(e){var t=e.children,n=e.type,r=void 0===n?"reach-portal":n,a=o.useRef(null),l=o.useRef(null),s=o.useState()[1];return Xe(function(){if(a.current){var e=a.current.ownerDocument;return l.current=null==e?void 0:e.createElement(r),e.body.appendChild(l.current),s({}),function(){l.current&&l.current.ownerDocument&&l.current.ownerDocument.body.removeChild(l.current)}}},[r]),l.current?i.createPortal(t,l.current):c.default.createElement("span",{ref:a})};function Rn(){return Rn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rn.apply(null,arguments)}var In="data-focus-lock",Mn="data-focus-lock-disabled";function Pn(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Un="undefined"!=typeof window?u.useLayoutEffect:u.useEffect,$n=new WeakMap;function Fn(e,t){var n,r,a,i=(n=t||null,r=function(t){return e.forEach(function(e){return Pn(e,t)})},(a=o.useState(function(){return{value:n,callback:r,facade:{get current(){return a.value},set current(e){var t=a.value;t!==e&&(a.value=e,a.callback(e,t))}}}})[0]).callback=r,a.facade);return Un(function(){var t=$n.get(i);if(t){var n=new Set(t),r=new Set(e),a=i.current;n.forEach(function(e){r.has(e)||Pn(e,null)}),r.forEach(function(e){n.has(e)||Pn(e,a)})}$n.set(i,e)},[e]),i}var Bn={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},qn=function(){return qn=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},qn.apply(this,arguments)};function Hn(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function zn(e){return e}function Kn(e,t){void 0===t&&(t=zn);var n=[],r=!1;return{read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(e){var a=t(e,r);return n.push(a),function(){n=n.filter(function(e){return e!==a})}},assignSyncMedium:function(e){for(r=!0;n.length;){var t=n;n=[],t.forEach(e)}n={push:function(t){return e(t)},filter:function(){return n}}},assignMedium:function(e){r=!0;var t=[];if(n.length){var a=n;n=[],a.forEach(e),t=n}var o=function(){var n=t;
1t=[],n.forEach(e)},i=function(){return Promise.resolve().then(o)};i(),n={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),n}}}}}function Vn(e,t){return void 0===t&&(t=zn),Kn(e,t)}function Wn(e){void 0===e&&(e={});var t=Kn(null);return t.options=qn({async:!0,ssr:!1},e),t}"function"==typeof SuppressedError&&SuppressedError;var Gn=function(e){var t=e.sideCar,n=Hn(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return u.createElement(r,qn({},n))};Gn.isSideCarExport=!0;var Yn=Vn({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),Qn=Vn(),Jn=Vn(),Xn=Wn({async:!0,ssr:"undefined"!=typeof document}),Zn=o.createContext(void 0),er=[],tr=o.forwardRef(function(e,t){var n,r=o.useState(),a=r[0],i=r[1],l=o.useRef(),s=o.useRef(!1),u=o.useRef(null),d=o.useState({})[1],f=e.children,m=e.disabled,p=void 0!==m&&m,g=e.noFocusGuards,h=void 0!==g&&g,v=e.persistentFocus,b=void 0!==v&&v,y=e.crossFrame,w=void 0===y||y,x=e.autoFocus,E=void 0===x||x;e.allowTextSelection;var S=e.group,k=e.className,_=e.whiteList,T=e.hasPositiveIndices,C=e.shards,A=void 0===C?er:C,j=e.as,N=void 0===j?"div":j,L=e.lockProps,O=void 0===L?{}:L,D=e.sideCar,R=e.returnFocus,I=void 0!==R&&R,M=e.focusOptions,P=e.onActivation,U=e.onDeactivation,$=o.useState({})[0],F=o.useCallback(function(e){var t=e.captureFocusRestore;if(!u.current){var n,r=null==(n=document)?void 0:n.activeElement;u.current=r,r!==document.body&&(u.current=t(r))}l.current&&P&&P(l.current),s.current=!0,d()},[P]),B=o.useCallback(function(){s.current=!1,U&&U(l.current),d()},[U]),q=o.useCallback(function(e){var t=u.current;if(t){var n=("function"==typeof t?t():t)||document.body,r="function"==typeof I?I(n):I;if(r){var a="object"==typeof r?r:void 0;u.current=null,e?Promise.resolve().then(function(){return n.focus(a)}):n.focus(a)}}},[I]),H=o.useCallback(function(e){s.current&&Yn.useMedium(e)},[]),z=Qn.useMedium,K=o.useCallback(function(e){l.current!==e&&(l.current=e,i(e))},[]),V=Rn(((n={})[Mn]=p&&"disabled",n[In]=S,n),O),W=!0!==h,G=W&&"tail"!==h,Y=Fn([t,K]),Q=o.useMemo(function(){return{observed:l,shards:A,enabled:!p,get active(){return s.current}}},[p,s,A,l]);return c.default.createElement(o.Fragment,null,W&&[c.default.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:p?-1:0,style:Bn}),T?c.default.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:p?-1:1,style:Bn}):null],!p&&c.default.createElement(D,{id:$,sideCar:Xn,observed:a,disabled:p,persistentFocus:b,crossFrame:w,autoFocus:E,whiteList:_,shards:A,onActivation:F,onDeactivation:B,returnFocus:q,focusOptions:M,noFocusGuards:h}),c.default.createElement(N,Rn({ref:Y},V,{className:k,onBlur:z,onFocus:H}),c.default.createElement(Zn.Provider,{value:Q},f)),G&&c.default.createElement("div",{"data-focus-guard":!0,tabIndex:p?-1:0,style:Bn}))});function nr(e,t){return nr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},nr(e,t)}function rr(e){return rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},rr(e)}function ar(e){var t=function(e,t){if("object"!=rr(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=rr(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==rr(t)?t:t+""}tr.propTypes={};var or=function(e){for(var t=Array(e.length),n=0;n<e.length;++n)t[n]=e[n];return t},ir=function(e){return Array.isArray(e)?e:[e]},lr=function(e){return Array.isArray(e)?e[0]:e},sr=function(e){return e.parentNode&&e.parentNode.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.parentNode.host:e.parentNode},cr=function(e){return e===document||e&&e.nodeType===Node.DOCUMENT_NODE},ur=function(e,t){return!e||cr(e)||!function(e){if(e.nodeType!==Node.ELEMENT_NODE)return!1;var t=window.getComputedStyle(e,null);return!(!t||!t.getPropertyValue||"none"!==t.getPropertyValue("display")&&"hidden"
1!==t.getPropertyValue("visibility"))}(e)&&!function(e){return e.hasAttribute("inert")}(e)&&t(sr(e))},dr=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=ur(t,dr.bind(void 0,e));return e.set(t,r),r},fr=function(e,t){var n=e.get(t);if(void 0!==n)return n;var r=function(e,t){return!(e&&!cr(e))||!!hr(e)&&t(sr(e))}(t,fr.bind(void 0,e));return e.set(t,r),r},mr=function(e){return e.dataset},pr=function(e){return"INPUT"===e.tagName},gr=function(e){return pr(e)&&"radio"===e.type},hr=function(e){var t=e.getAttribute("data-no-autofocus");return![!0,"true",""].includes(t)},vr=function(e){var t;return Boolean(e&&(null===(t=mr(e))||void 0===t?void 0:t.focusGuard))},br=function(e){return!vr(e)},yr=function(e){return Boolean(e)},wr=function(e,t){var n=Math.max(0,e.tabIndex),r=Math.max(0,t.tabIndex),a=n-r,o=e.index-t.index;if(a){if(!n)return 1;if(!r)return-1}return a||o},xr=function(e,t,n){return or(e).map(function(e,t){var r=function(e){return e.tabIndex<0&&!e.hasAttribute("tabindex")?0:e.tabIndex}(e);return{node:e,index:t,tabIndex:n&&-1===r?(e.dataset||{}).focusGuard?0:-1:r}}).filter(function(e){return!t||e.tabIndex>=0}).sort(wr)},Er=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"].join(","),Sr="".concat(Er,", [data-focus-guard]"),kr=function(e,t){return or((e.shadowRoot||e).children).reduce(function(e,n){return e.concat(n.matches(t?Sr:Er)?[n]:[],kr(n))},[])},_r=function(e,t){return e.reduce(function(e,n){var r,a=kr(n,t),o=(r=[]).concat.apply(r,a.map(function(e){return function(e,t){var n;return e instanceof HTMLIFrameElement&&(null===(n=e.contentDocument)||void 0===n?void 0:n.body)?_r([e.contentDocument.body],t):[e]}(e,t)}));return e.concat(o,n.parentNode?or(n.parentNode.querySelectorAll(Er)).filter(function(e){return e===n}):[])},[])},Tr=function(e,t){return or(e).filter(function(e){return dr(t,e)}).filter(function(e){return function(e){return!((pr(e)||function(e){return"BUTTON"===e.tagName}(e))&&("hidden"===e.type||e.disabled))}(e)})},Cr=function(e,t){return void 0===t&&(t=new Map),or(e).filter(function(e){return fr(t,e)})},Ar=function(e,t,n){return xr(Tr(_r(e,n),t),!0,n)},jr=function(e,t){return xr(Tr(_r(e),t),!1)},Nr=function(e,t){return Tr((n=e.querySelectorAll("[".concat("data-autofocus-inside","]")),or(n).map(function(e){return _r([e])}).reduce(function(e,t){return e.concat(t)},[])),t);var n},Lr=function(e,t){return e.shadowRoot?Lr(e.shadowRoot,t):!(void 0===Object.getPrototypeOf(e).contains||!Object.getPrototypeOf(e).contains.call(e,t))||or(e.children).some(function(e){var n;if(e instanceof HTMLIFrameElement){var r=null===(n=e.contentDocument)||void 0===n?void 0:n.body;return!!r&&Lr(r,t)}return Lr(e,t)})},Or=function(e){return e.parentNode?Or(e.parentNode):e}
1,Dr=function(e){return ir(e).filter(Boolean).reduce(function(e,t){var n=t.getAttribute(In);return e.push.apply(e,n?function(e){for(var t=new Set,n=e.length,r=0;r<n;r+=1)for(var a=r+1;a<n;a+=1){var o=e[r].compareDocumentPosition(e[a]);(o&Node.DOCUMENT_POSITION_CONTAINED_BY)>0&&t.add(a),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(e,n){return!t.has(n)})}(or(Or(t).querySelectorAll("[".concat(In,'="').concat(n,'"]:not([').concat(Mn,'="disabled"])')))):[t]),e},[])},Rr=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?Rr(t.shadowRoot):t instanceof HTMLIFrameElement&&function(e){try{return e()}catch(e){return}}(function(){return t.contentWindow.document})?Rr(t.contentWindow.document):t}},Ir=function(e,t){return void 0===t&&(t=Rr(lr(e).ownerDocument)),!(!t||t.dataset&&t.dataset.focusGuard)&&Dr(e).some(function(e){return Lr(e,t)||function(e,t){return Boolean(or(e.querySelectorAll("iframe")).some(function(e){return function(e,t){return e===t}(e,t)}))}(e,t)})},Mr=function(e,t){return gr(e)&&e.name?function(e,t){return t.filter(gr).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e}(e,t):e},Pr=function(e){return e[0]&&e.length>1?Mr(e[0],e):e[0]},Ur=function(e,t){return e.indexOf(Mr(t,e))},$r="NEW_FOCUS",Fr=function(e,t,n,r,a){var o=e.length,i=e[0],l=e[o-1],s=vr(r);if(!(r&&e.indexOf(r)>=0)){var c=void 0!==r?n.indexOf(r):-1,u=a?n.indexOf(a):c,d=a?e.indexOf(a):-1;if(-1===c)return-1!==d?d:$r;if(-1===d)return $r;var f,m,p=c-u,g=n.indexOf(i),h=n.indexOf(l),v=(f=n,m=new Set,f.forEach(function(e){return m.add(Mr(e,f))}),f.filter(function(e){return m.has(e)})),b=void 0!==r?v.indexOf(r):-1,y=a?v.indexOf(a):b,w=v.filter(function(e){return e.tabIndex>=0}),x=void 0!==r?w.indexOf(r):-1,E=a?w.indexOf(a):x,S=x>=0&&E>=0?E-x:y-b;if(!p&&d>=0)return d;if(0===t.length)return d;var k=Ur(e,t[0]),_=Ur(e,t[t.length-1]);return c<=g&&s&&Math.abs(p)>1?_:c>=h&&s&&Math.abs(p)>1?k:p&&Math.abs(S)>1?d:c<=g?_:c>h?k:p?Math.abs(p)>1?d:(o+d+p)%o:void 0}},Br=function(e,t,n){var r,a=e.map(function(e){return e.node}),o=Cr(a.filter((r=n,function(e){var t,n=null===(t=mr(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||r.indexOf(e)>=0})));return o&&o.length?Pr(o):Pr(Cr(t))},qr=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&qr(e.parentNode.host||e.parentNode,t),t},Hr=function(e,t){for(var n=qr(e),r=qr(t),a=0;a<n.length;a+=1){var o=n[a];if(r.indexOf(o)>=0)return o}return!1},zr=function(e,t,n){var r=ir(e),a=ir(t),o=r[0],i=!1;
1return a.filter(Boolean).forEach(function(e){i=Hr(i||e,e)||i,n.filter(Boolean).forEach(function(e){var t=Hr(o,e);t&&(i=!i||Lr(t,i)?t:Hr(t,i))})}),i},Kr=function(e,t){return e.reduce(function(e,n){return e.concat(Nr(n,t))},[])},Vr=function(e,t){var n=Rr(ir(e).length>0?document:lr(e).ownerDocument),r=Dr(e).filter(br),a=zr(n||e,e,r),o=new Map,i=jr(r,o),l=i.filter(function(e){var t=e.node;return br(t)});if(l[0]){var s,c,u,d=jr([a],o).map(function(e){return e.node}),f=(s=d,c=l,u=new Map,c.forEach(function(e){return u.set(e.node,e)}),s.map(function(e){return u.get(e)}).filter(yr)),m=f.map(function(e){return e.node}),p=f.filter(function(e){return e.tabIndex>=0}).map(function(e){return e.node}),g=Fr(m,p,d,n,t);if(g===$r){var h=Br(i,p,Kr(r,o))||Br(i,m,Kr(r,o));return h?{node:h}:void 0}return void 0===g?g:f[g]}},Wr=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Gr=0,Yr=!1,Qr=function(e,t,n){void 0===n&&(n={});var r=Vr(e,t);if(!Yr&&r){if(Gr>2)return Yr=!0,void setTimeout(function(){Yr=!1},1);Gr++,Wr(r.node,n.focusOptions),Gr--}};function Jr(e){if(!e)return null;if("undefined"==typeof WeakRef)return function(){return e||null};var t=e?new WeakRef(e):null;return function(){return(null==t?void 0:t.deref())||null}}var Xr=function(e){var t=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:Jr(n),parent:Jr(n.parentElement),left:Jr(n.previousElementSibling),right:Jr(n.nextElementSibling)}),n=n.parentElement;return{element:Jr(e),stack:t,ownerDocument:e.ownerDocument}}(e);return function(){return function(e){var t,n,r,a,o;if(e)for(var i=e.stack,l=e.ownerDocument,s=new Map,c=0,u=i;c<u.length;c++){var d=u[c],f=null===(t=d.parent)||void 0===t?void 0:t.call(d);if(f&&l.contains(f)){for(var m=null===(n=d.left)||void 0===n?void 0:n.call(d),p=d.current(),g=f.contains(p)?p:void 0,h=null===(r=d.right)||void 0===r?void 0:r.call(d),v=Ar([f],s),b=null!==(o=null!==(a=null!=g?g:null==m?void 0:m.nextElementSibling)&&void 0!==a?a:h)&&void 0!==o?o:m;b;){for(var y=0,w=v;y<w.length;y++){var x=w[y];if(null==b?void 0:b.contains(x.node))return x.node}b=b.nextElementSibling}if(v.length)return v[0].node}}}(t)}},Zr=function(e,t,n){void 0===t&&(t={});var r=function(e){return Object.assign({scope:document.body,cycle:!0,onlyTabbable:!0},e)}(t),a=function(e,t,n){if(!e||!t)return{};var r=ir(t);if(r.every(function(t){return!Lr(t,e)}))return{};var a=n?Ar(r,new Map):jr(r,new Map),o=a.findIndex(function(t){return t.node===e});return-1!==o?{prev:a[o-1],next:a[o+1],first:a[0],last:a[a.length-1]}:void 0}(e,r.scope,r.onlyTabbable);if(a){var o=n(a,r.cycle);o&&Wr(o.node,r.focusOptions)}},ea=function(e,t,n){var r,a,o,i,l=(a=e,o=null===(r=t.onlyTabbable)||void 0===r||r,{first:(i=o?Ar(ir(a),new Map):jr(ir(a),new Map))[0],last:i[i.length-1]})[n];l&&Wr(l.node,t.focusOptions)};function ta(e){setTimeout(e,1)}var na=function(e){return e&&"current"in e?e.current:e},ra=function(){return document&&document.activeElement===document.body},aa=function(){return ra()||function(e){void 0===e&&(e=document);var t=Rr(e);return!!t&&or(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return Lr(e,t)})}()},oa=null,ia=null,la=function(){return null},sa=null,ca=!1,ua=!1,da=function(){return!0};function fa(e,t,n,r){var a=null,o=e;do{var i=r[o];if(i.guard)i.node.dataset.focusAutoGuard&&(a=i);else{if(!i.lockItem)break;if(o!==e)return;a=null}}while((o+=n)!==t);a&&(a.node.tabIndex=0)}var ma=function e(t,n,r){return n&&(n.host===t&&(!n.activeElement||r.contains(n.activeElement))||n.parentNode&&e(t,n.parentNode,r))},pa=function(e){return jr(e,new Map)},ga=function(){var e,t,n=!1;if(oa){var r=oa,a=r.observed,o=r.persistentFocus,i=r.autoFocus,l=r.shards,s=r.crossFrame,c=r.focusOptions,u=r.noFocusGuards,d=a||sa&&sa.portaledElement;if(ra()&&ia&&ia!==document.body&&(!document.body.contains(ia)||!pa([(t=ia).parentNode]).some(function(e){return e.node===t}))){var f=la();f&&f.focus()}var m=document&&document.activeElement;if(d){var p=[d].concat(l.map(na).filter(Boolean));if(m&&!function(e){return(oa.whiteList||da)(e)}(m)||(o||function(){if(!(s?Boolean(ca):"meanwhile"===ca)||!u||!ia||ua)return!1;
1var e=pa(p),t=e.findIndex(function(e){return e.node===ia});return 0===t||t===e.length-1}()||!aa()||!ia&&i)&&(d&&!(Ir(p)||m&&function(e,t){return t.some(function(t){return ma(e,t,t)})}(m,p)||(e=m,sa&&sa.portaledElement===e))&&(document&&!ia&&m&&!i?(m.blur&&m.blur(),document.body.focus()):(n=Qr(p,ia,{focusOptions:c}),sa={})),(ia=document&&document.activeElement)!==document.body&&(la=Xr(ia)),ca=!1),document&&m!==document.activeElement&&document.querySelector("[data-focus-auto-guard]")){var g=document&&document.activeElement,h=function(e){var t=Dr(e).filter(br),n=zr(e,e,t),r=xr(_r([n],!0),!0,!0),a=_r(t,!1);return r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:a.indexOf(t)>=0,guard:vr(t)}})}(p),v=h.map(function(e){return e.node}).indexOf(g);v>-1&&(h.filter(function(e){var t=e.guard,n=e.node;return t&&n.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),fa(v,h.length,1,h),fa(v,-1,-1,h))}}}return n},ha=function(e){ga()&&e&&(e.stopPropagation(),e.preventDefault())},va=function(){return ta(ga)},ba=function(){ua=!0},ya=function(){ua=!1,ca="just",ta(function(){ca="meanwhile"})};var wa={moveFocusInside:Qr,focusInside:Ir,focusNextElement:function(e,t){void 0===t&&(t={}),Zr(e,t,function(e,t){var n=e.next,r=e.first;return n||t&&r})},focusPrevElement:function(e,t){void 0===t&&(t={}),Zr(e,t,function(e,t){var n=e.prev,r=e.last;return n||t&&r})},focusFirstElement:function(e,t){void 0===t&&(t={}),ea(e,t,"first")},focusLastElement:function(e,t){void 0===t&&(t={}),ea(e,t,"last")},captureFocusRestore:Xr};Yn.assignSyncMedium(function(e){var t=e.target,n=e.currentTarget;n.contains(t)||(sa={observerNode:n,portaledElement:t})}),Qn.assignMedium(va),Jn.assignMedium(function(e){return e(wa)});var xa=function(e,t){return function(n){var r,a=[];function i(){r=e(a.map(function(e){return e.props})),t(r)}var l=function(e){function t(){return e.apply(this,arguments)||this}!function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,nr(e,t)}(t,e),t.peek=function(){return r};var o=t.prototype;return o.componentDidMount=function(){a.push(this),i()},o.componentDidUpdate=function(){i()},o.componentWillUnmount=function(){var e=a.indexOf(this);a.splice(e,1),i()},o.render=function(){return c.default.createElement(n,this.props)},t}(o.PureComponent);return function(e,t,n){(t=ar(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}(l,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(n)+")"),l}}(function(e){return e.filter(function(e){return!e.disabled})},function(e){var t=e.slice(-1)[0];t&&!oa&&(document.addEventListener("focusin",ha),document.addEventListener("focusout",va),window.addEventListener("focus",ba),window.addEventListener("blur",ya));var n=oa,r=n&&t&&t.id===n.id;oa=t,n&&!r&&(n.onDeactivation(),e.filter(function(e){return e.id===n.id}).length||n.returnFocus(!t)),t?(ia=null,r&&n.observed===t.observed||t.onActivation(wa),ga(),ta(ga)):(document.removeEventListener("focusin",ha),document.removeEventListener("focusout",va),window.removeEventListener("focus",ba),window.removeEventListener("blur",ya),ia=null)})(function(){return null}),Ea=o.forwardRef(function(e,t){return c.default.createElement(tr,Rn({sideCar:xa,ref:t},e))}),Sa=tr.propTypes||{};Sa.sideCar,function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}}(Sa,["sideCar"]),Ea.propTypes={};var ka="right-scroll-bar-position",_a="width-before-scroll-bar",Ta=Wn(),Ca=function(){},Aa=u.forwardRef(function(e,t){var n=u.useRef(null),r=u.useState({onScrollCapture:Ca,onWheelCapture:Ca,onTouchMoveCapture:Ca}),a=r[0],o=r[1],i=e.forwardProps,l=e.children,s=e.className,c=e.removeScrollBar,d=e.enabled,f=e.shards,m=e.sideCar,p=e.noRelative,g=e.noIsolation,h=e.inert,v=e.allowPinchZoom,b=e.as,y=void 0===b?"div":b,w=e.gapMode,x=Hn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=m,S=Fn([n,t]),k=qn(qn({},x),a);return u.createElement(u.Fragment,null,d&&u.createElement(E,{sideCar:Ta,removeScrollBar:c,shards:f,noRelative:p,noIsolation:g,inert:h,setCallbacks:o,allowPinchZoom:!!v,lockRef:n,gapMode:w}),i?u.cloneElement(u.Children.only(l),qn(qn({},k),{ref:S})):u.createElement(y,qn({}
vendor: 4,876 bytes, line 1
1,k,{className:s,ref:S}),l))});Aa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},Aa.classNames={fullWidth:_a,zeroRight:ka};function ja(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=function(){if("undefined"!=typeof __webpack_nonce__)return __webpack_nonce__}();return t&&e.setAttribute("nonce",t),e}var Na=function(){var e=0,t=null;return{add:function(n){var r,a;0==e&&(t=ja())&&(a=n,(r=t).styleSheet?r.styleSheet.cssText=a:r.appendChild(document.createTextNode(a)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},La=function(){var e,t=(e=Na(),function(t,n){u.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])});return function(e){var n=e.styles,r=e.dynamic;return t(n,r),null}},Oa={left:0,top:0,right:0,gap:0},Da=function(e){return parseInt(e||"",10)||0},Ra=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Oa;var t=function(e){var t=window.getComputedStyle(document.body),n=t["padding"===e?"paddingLeft":"marginLeft"],r=t["padding"===e?"paddingTop":"marginTop"],a=t["padding"===e?"paddingRight":"marginRight"];return[Da(n),Da(r),Da(a)]}(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ia=La(),Ma="data-scroll-locked",Pa=function(e,t,n,r){var a=e.left,o=e.top,i=e.right,l=e.gap;return void 0===n&&(n="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(r,";\n padding-right: ").concat(l,"px ").concat(r,";\n }\n body[").concat(Ma,"] {\n overflow: hidden ").concat(r,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(r,";"),"margin"===n&&"\n padding-left: ".concat(a,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(l,"px ").concat(r,";\n "),"padding"===n&&"padding-right: ".concat(l,"px ").concat(r,";")].filter(Boolean).join(""),"\n }\n \n .").concat(ka," {\n right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(_a," {\n margin-right: ").concat(l,"px ").concat(r,";\n }\n \n .").concat(ka," .").concat(ka," {\n right: 0 ").concat(r,";\n }\n \n .").concat(_a," .").concat(_a," {\n margin-right: 0 ").concat(r,";\n }\n \n body[").concat(Ma,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(l,"px;\n }\n")},Ua=function(){var e=parseInt(document.body.getAttribute(Ma)||"0",10);return isFinite(e)?e:0},$a=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,a=void 0===r?"margin":r;u.useEffect(function(){return document.body.setAttribute(Ma,(Ua()+1).toString()),function(){var e=Ua()-1;e<=0?document.body.removeAttribute(Ma):document.body.setAttribute(Ma,e.toString())}},[]);var o=u.useMemo(function(){return Ra(a)},[a]);return u.createElement(Ia,{styles:Pa(o,!t,a,n?"":"!important")})},Fa=!1;if("undefined"!=typeof window)try{var Ba=Object.defineProperty({},"passive",{get:function(){return Fa=!0,!0}});window.addEventListener("test",Ba,Ba),window.removeEventListener("test",Ba,Ba)}catch(e){Fa=!1}var qa=!!Fa&&{passive:!1},Ha=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return"hidden"!==n[t]&&!(n.overflowY===n.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===n[t])},za=function(e,t){var n=t.ownerDocument,r=t;do{if("undefined"!=typeof ShadowRoot&&r instanceof ShadowRoot&&(r=r.host),Ka(e,r)){var a=Va(e,r);if(a[1]>a[2])return!0}r=r.parentNode}while(r&&r!==n.body);return!1},Ka=function(e,t){return"v"===e?function(e){return Ha(e,"overflowY")}(t):function(e){return Ha(e,"overflowX")}(t)},Va=function(e,t){return"v"===e?[(n=t).scrollTop,n.scrollHeight,n.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var n},Wa=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ga=function(e){return[e.deltaX,e.deltaY]},Ya=function(e){return e&&"current"in e?e.current:e},Qa=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},Ja=0,Xa=[];function Za(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var eo,to=(eo=function(e){var t=u.useRef([]),n=u.useRef([0,0]),r=u.useRef(),a=u.useState(Ja++)[0],o=u.useState(La)[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=function(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}
1([e.lockRef.current],(e.shards||[]).map(Ya),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!i.current.allowPinchZoom;var a,o=Wa(e),l=n.current,s="deltaX"in e?e.deltaX:l[0]-o[0],c="deltaY"in e?e.deltaY:l[1]-o[1],u=e.target,d=Math.abs(s)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var f=window.getSelection(),m=f&&f.anchorNode;if(m&&(m===u||m.contains(u)))return!1;var p=za(d,u);if(!p)return!0;if(p?a=d:(a="v"===d?"h":"v",p=za(d,u)),!p)return!1;if(!r.current&&"changedTouches"in e&&(s||c)&&(r.current=a),!a)return!0;var g=r.current||a;return function(e,t,n,r,a){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),i=o*r,l=n.target,s=t.contains(l),c=!1,u=i>0,d=0,f=0;do{if(!l)break;var m=Va(e,l),p=m[0],g=m[1]-m[2]-o*p;(p||g)&&Ka(e,l)&&(d+=g,f+=p);var h=l.parentNode;l=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(u&&(a&&Math.abs(d)<1||!a&&i>d)||!u&&(a&&Math.abs(f)<1||!a&&-i>f))&&(c=!0),c}(g,t,e,"h"===g?s:c,!0)},[]),s=u.useCallback(function(e){var n=e;if(Xa.length&&Xa[Xa.length-1]===o){var r="deltaY"in n?Ga(n):Wa(n),a=t.current.filter(function(e){return e.name===n.type&&(e.target===n.target||n.target===e.shadowParent)&&(t=e.delta,a=r,t[0]===a[0]&&t[1]===a[1]);var t,a})[0];if(a&&a.should)n.cancelable&&n.preventDefault();else if(!a){var s=(i.current.shards||[]).map(Ya).filter(Boolean).filter(function(e){return e.contains(n.target)});(s.length>0?l(n,s[0]):!i.current.noIsolation)&&n.cancelable&&n.preventDefault()}}},[]),c=u.useCallback(function(e,n,r,a){var o={name:e,delta:n,target:r,should:a,shadowParent:Za(r)};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=u.useCallback(function(e){n.current=Wa(e),r.current=void 0},[]),f=u.useCallback(function(t){c(t.type,Ga(t),t.target,l(t,e.lockRef.current))},[]),m=u.useCallback(function(t){c(t.type,Wa(t),t.target,l(t,e.lockRef.current))},[]);u.useEffect(function(){return Xa.push(o),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",s,qa),document.addEventListener("touchmove",s,qa),document.addEventListener("touchstart",d,qa),function(){Xa=Xa.filter(function(e){return e!==o}),document.removeEventListener("wheel",s,qa),document.removeEventListener("touchmove",s,qa),document.removeEventListener("touchstart",d,qa)}},[]);var p=e.removeScrollBar,g=e.inert;return u.createElement(u.Fragment,null,g?u.createElement(o,{styles:Qa(a)}):null,p?u.createElement($a,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},Ta.useMedium(eo),Gn),no=u.forwardRef(function(e,t){return u.createElement(Aa,qn({},e,{ref:t,sideCar:to}))});function ro(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}no.classNames=Aa.classNames,Je.bool,Je.bool,Je.bool,Je.func;var ao=o.forwardRef(function(e,t){var n=e.isOpen,r=void 0===n||n,a=ro(e,["isOpen"]);return o.useEffect(function(){return Ze()},[]),o.useEffect(function(){r?window.__REACH_DISABLE_TOOLTIPS=!0:window.requestAnimationFrame(function(){window.__REACH_DISABLE_TOOLTIPS=!1})},[r]),r?c.default.createElement(Dn,{"data-reach-dialog-wrapper":""},c.default.createElement(oo,Object.assign({ref:t},a))):null}),oo=o.forwardRef(function(e,t){var n=e.allowPinchZoom,r=e.dangerouslyBypassFocusLock,a=void 0!==r&&r,i=e.dangerouslyBypassScrollLock,l=void 0!==i&&i,s=e.initialFocusRef,u=e.onClick,d=e.onDismiss,f=void 0===d?ct:d,m=e.onKeyDown,p=e.onMouseDown,g=e.unstable_lockFocusAcrossFrames,h=void 0===g||g,v=ro(e,["allowPinchZoom","dangerouslyBypassFocusLock","dangerouslyBypassScrollLock","initialFocusRef","onClick","onDismiss","onKeyDown","onMouseDown","unstable_lockFocusAcrossFrames"]),b=o.useRef(null),y=o.useRef(null),w=dt(y,t),x=o.useCallback(function(){s&&s.current&&s.current.focus()},[s]);return o.useEffect(function(){return y.current?function(e){var t=[],n=[],r=at(e)||document;if(!e)return ct;return Array.prototype.forEach.call(r.querySelectorAll("body > *"),function(r){var a,o;if(r!==(null===(a=e.parentNode)||void 0===a||null===(o=a.parentNode)||void 0===o?void 0:o.parentNode)){var i=r.getAttribute("aria-hidden");null!==i&&"false"!==i||(t.push(i),n.push(r),r.setAttribute("aria-hidden","true"))}}
1),function(){n.forEach(function(e,n){var r=t[n];null===r?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r)})}}(y.current):void 0},[]),c.default.createElement(Ea,{autoFocus:!0,returnFocus:!0,onActivation:x,disabled:a,crossFrame:h},c.default.createElement(no,{allowPinchZoom:n,enabled:!l},c.default.createElement("div",Object.assign({},v,{ref:w,"data-reach-dialog-overlay":"",onClick:ft(u,function(e){b.current===e.target&&(e.stopPropagation(),f(e))}),onKeyDown:ft(m,function(e){"Escape"===e.key&&(e.stopPropagation(),f(e))}),onMouseDown:ft(p,function(e){b.current=e.target})}))))}),io=o.forwardRef(function(e,t){var n=e.onClick;e.onKeyDown;var r=ro(e,["onClick","onKeyDown"]);return c.default.createElement("div",Object.assign({"aria-modal":"true",role:"dialog",tabIndex:-1},r,{ref:t,"data-reach-dialog-content":"",onClick:ft(n,function(e){e.stopPropagation()})}))});function lo({showDialog:e=!1,close:t=()=>{},children:a=null,headerRef:o=null,class:i="",megaNavStickyParams:l,isZoomText:s=!1,isUnifiedSearch:c=!1}){const[u,d]=n.useState(0);n.useLayoutEffect(()=>{if(o&&e){const[e]=o.current.getClientRects(),t=window.scrollY||window.pageYOffset,n=Math.round(e.top+e.height+t);d(Math.round(n))}},[e]),n.useEffect(()=>(e&&document.body.addEventListener("click",e=>{t()}),P(e),()=>{e&&document.body.removeEventListener("click",e=>{t()})}),[e]);return r.jsx(ao,{class:`absolute bg-white shadow-xl bottom-auto ${i}`,isOpen:e,style:{top:s?`${64+u}px`:`${u}px`,zIndex:120},onDismiss:e=>{"Escape"!==e.key&&t()},onKeyDown:e=>{"UL"!==e.target?.nodeName&&"Escape"===e.key&&t()},dangerouslyBypassScrollLock:!0,children:r.jsx("div",{className:(c?"md:w-auto lg:max-w-xl flex":"max-w-xl")+" mx-auto relative",children:r.jsx(io,{id:"search-dialog",onClick:()=>!1,className:"mt-0 lg:px-0","aria-modal":!0,role:"dialog","aria-labelledby":"search-toggle",children:a})})})}function so({children:e=null,class:t="",...n}){return r.jsxs("a",{target:"_blank",class:A`text-sm flex items-center whitespace-nowrap ${t}`,"data-testid":"internal-link",...n,children:[e,r.jsx(me,{className:"ml-1 w-3 h-3 shrink-0",src:Re})]})}function co({items:e=[],...t}){return r.jsx("div",{class:"relative",children:e.map(({text:e,body:t,items:n=[]},a)=>r.jsx(He,{heading:e,body:t,cssClass:"pb-8 pt-8",children:r.jsx(Fe,{items:n,indicatorDepth:2})},e+a))})}function uo(e){const t=ie(e=>e?.searchSuggestions),[a,o]=n.useState("");return n.useEffect(()=>{const e=setTimeout(()=>{o(fo(t))},3e3);return()=>clearTimeout(e)},[t]),r.jsxs("div",{children:[r.jsx("div",{"aria-live":"polite","aria-atomic":"true",class:"sr-only",children:a}),r.jsx("ul",{class:"bg-white md:px-4 py-4 md:max-w-md lg:max-w-lg",...e,"data-testid":"suggested-searches",children:t?.map(({href:e,html:t},n)=>r.jsx("li",{children:r.jsxs("a",{className:"suggestion-link relative block py-3 border-b border-gray-300 hover:border-yellow-500",href:e,"aria-label":`search ${t.replace(/<[^>]+>/g,"")}`,children:[r.jsx("span",{dangerouslySetInnerHTML:{__html:t}}),r.jsx(me,{className:"block w-4 h-4 absolute right-2 top-4 fill-current text-white",src:Re})]})},n))})]})}const fo=e=>{let t="";return e.length>0&&(t=`${e.length} Suggested search term${e.length>1?"s":""} presented. Continue to press tab to read list.`),t},mo="SET_SEARCH_QUERY",po="SET_SEARCH_SUGGESTIONS",go="SET_CONTENT_TYPE",ho="SET_SORTING",vo="SET_UNIFIED_SEARCH_RESULT",bo="SET_ALL_TAB_RESULT_COUNT",yo="SET_FA_TAB_RESULT_COUNT",wo="SET_LOCATION_TAB_RESULT_COUNT",xo="IS_RECURSIVE_CALL",Eo="SET_FORCED_TAB_CHANGE",So="SET_SUGGESTION_SEARCH",ko={searchQuery:"",searchSuggestions:[],selectedContentType:"all",unifiedSearchResult:{all:{},financial_advisor:{},location:{}},sortBy:"",sortOptions:[],allTabResultCount:0,distance:null,selectedTab:"all",isRecursiveCall:!1,isSuggestionSearch:!1};function _o(e,t){const{type:n,payload:r}=t;switch(n){case"CLEAR_SEARCH_SUGGESTIONS":return{...e,searchSuggestions:ko.searchSuggestions};case go:return{...e,selectedContentType:r};case po:return{...e,searchSuggestions:r};case mo:{const t=String(r).trim();return{...e,searchQuery:t}}case ho:return{...e,sortBy:r};case"SET_SORT_OPTIONS":return{...e,sortOptions:r};case vo:return{...e,unifiedSearchResult:r,allTabResultCount:r?.all?.resultCount};case bo:return{...e,allTabResultCount:r};case yo:return{...e,faTabResultCount:r};case wo:return{...e,locationTabResultCount:r};case"SET_SELECTED_TAB":return{...e,selectedTab:r};case xo:{const t=r;return{...e,isRecursiveCall:t}}case Eo:return{...e,isForcedTabChange:r};case So:return{...e,isSuggestionSearch:r};default:return e}}function To({children:e=null,...t}){return"true"===window.sessionStorage.getItem("isPrefillFromSearchModal")&&(ko.isSuggestionSearch=!0,window.sessionStorage.setItem("isPrefillFromSearchModal","false")),r.jsx(se,{initialState:{...ko,distance:t?.other?.props?.defaultRadius,distanceUnit:t?.other?.props?.distanceUnit,...t},reducer:_o,children:e})}var Co,Ao=function(e){var t=e.children,n=e.type,r=void 0===n?"reach-portal":n,a=o.useRef(null),l=o.useRef(null),s=o.useState()[1];return Xe(function(){if(a.current){var e=a.current.ownerDocument;return l.current=null==e?void 0:e.createElement(r),e.body.appendChild(l.current),s({}),function(){l.current&&l.current.ownerDocument&&l.current.ownerDocument.body.removeChild(l.current)}}},[r]),l.current?i.createPortal(t,l.current):c.default.createElement("span",{ref:a})},jo=["bottom","height","left","right","top","width"],No=new Map,Lo=function e(){var t=[];
1No.forEach(function(e,n){var r=n.getBoundingClientRect();(function(e,t){return void 0===e&&(e={}),void 0===t&&(t={}),jo.some(function(n){return e[n]!==t[n]})})(r,e.rect)&&(e.rect=r,t.push(e))}),t.forEach(function(e){e.callbacks.forEach(function(t){return t(e.rect)})}),Co=window.requestAnimationFrame(e)};function Oo(e,t,n){void 0===t&&(t=!0);var r=o.useState(e.current),a=r[0],i=r[1],l=o.useRef(!1),s=o.useRef(!1),c=o.useState(null),u=c[0],d=c[1],f=o.useRef();return Xe(function(){f.current=n,e.current!==a&&i(e.current)}),Xe(function(){a&&!l.current&&(l.current=!0,d(a.getBoundingClientRect()))},[a]),Xe(function(){var n,r,o,i=a;return s.current||(s.current=!0,i=e.current),i?(r=i,o=function(e){f.current&&f.current(e),d(e)},n={observe:function(){var e=0===No.size;No.has(r)?No.get(r).callbacks.push(o):No.set(r,{rect:void 0,hasRectChanged:!1,callbacks:[o]}),e&&Lo()},unobserve:function(){var e=No.get(r);if(e){var t=e.callbacks.indexOf(o);t>=0&&e.callbacks.splice(t,1),e.callbacks.length||No.delete(r),No.size||cancelAnimationFrame(Co)}}},t&&n.observe(),l):l;function l(){n&&n.unobserve()}},[t,a]),u}var Do=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],Ro=Do.join(","),Io="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function Mo(e,t){t=t||{};var n,r,a,o=[],i=[],l=e.querySelectorAll(Ro);for(t.includeContainer&&Io.call(e,Ro)&&(l=Array.prototype.slice.apply(l)).unshift(e),n=0;n<l.length;n++)Po(r=l[n])&&(0===(a=Fo(r))?o.push(r):i.push({documentOrder:n,tabIndex:a,node:r}));var s=i.sort(Bo).map(function(e){return e.node}).concat(o);return s}function Po(e){return!(!Uo(e)||function(e){return function(e){return qo(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t=e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'),n=function(e){for(var t=0;t<e.length;t++)if(e[t].checked)return e[t]}(t);return!n||n===e}(e)}(e)||Fo(e)<0)}function Uo(e){return!(e.disabled||function(e){return qo(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}Mo.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==Io.call(e,Ro)&&Po(e)},Mo.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==Io.call(e,$o)&&Uo(e)};var $o=Do.concat("iframe").join(",");function Fo(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function Bo(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function qo(e){return"INPUT"===e.tagName}var Ho=Mo;function zo(){return zo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},zo.apply(this,arguments)}var Ko=o.forwardRef(function(e,t){return c.default.createElement(Ao,null,c.default.createElement(Vo,Object.assign({ref:t},e)))}),Vo=o.forwardRef(function(e,t){var n=e.targetRef,r=e.position,a=void 0===r?Qo:r,i=e.unstable_observableRefs,l=void 0===i?[]:i,s=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,["targetRef","position","unstable_observableRefs"]),u=o.useRef(null),d=Oo(u),f=Oo(n),m=dt(u,t);return function(e,t){var n=at(e.current);function r(e){"Tab"===e.key&&t.current&&0===Ho(t.current).length||("Tab"===e.key&&e.shiftKey?u(e)?d(e):f(e)?m(e):g(e)&&v():"Tab"===e.key&&(i()?l(e):s()?c(e):p(e)&&v()))}function a(){var r=n&&Ho(n),a=r&&e.current?r.indexOf(e.current):-1,o=r&&r[a+1];return(!t.current||!t.current.contains(o||null))&&o}function i(){return!(!e.current||!n)&&e.current===n.activeElement}function l(e){var n=t.current&&Ho(t.current);n&&n[0]&&(e.preventDefault(),n[0].focus())}function s(){if(!(!t.current||!n)&&t.current.contains(n.activeElement||null)){var e=t.current&&Ho(t.current);return Boolean(e&&n&&e[e.length-1]===n.activeElement)}return!1}function c(e){var t=a();t&&(e.preventDefault(),t.focus())}function u(e){if(e.shiftKey){var t=a();return e.target===t}}function d(e){var n=t.current&&Ho(t.current),r=n&&n[n.length-1];r&&(e.preventDefault(),r.focus())}function f(e){var n=t.current&&Ho(t.current);return!!n&&(0!==n.length&&e.target===n[0])}function m(t){var n;t.preventDefault(),null===(n=e.current)||void 0===n||n.focus()}function p(e){var r=n&&t.current?Ho(n).filter(function(e){return!t.current.contains(e)}):null;return!!r&&e.target===r[r.length-1]}function g(e){return!!n&&e.target===Ho(n)[0]}o.useEffect(function(){if(n)return n.addEventListener("keydown",r),function(){n.removeEventListener("keydown",r)}},[]);var h=[];function v(){var e=t.current&&Ho(t.current);e&&(e.forEach(function(e){h.push([e,e.tabIndex]),e.tabIndex=-1}),n&&n.addEventListener("focusin",b))}function b(){n&&n.removeEventListener("focusin",b),h.forEach(function(e){var t=e[0],n=e[1];t.tabIndex=n})}}(n,u),c.default.createElement("div",Object.assign({"data-reach-popover":"",ref:m},s,{style:zo({position:"absolute"},Wo.apply(void 0,[a,f,d].concat(l)),s.style)}))});function Wo(e,t,n){for(var r=arguments.length,a=new Array(r>3?r-3:0),o=3;o<r;o++)a[o-3]=arguments[o];return n?e.apply(void 0,[t,n].concat(a.map(function(e){return e.current}))):{visibility:"hidden"}}function Go(e,t){return{top:Xo(e,t).directionUp?e.top-t.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}var Yo,Qo=function(e,t){return e&&t?zo({left:Xo(e,t).directionRight?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},Go(e,t)):{}},Jo=function(e,t){return e&&t?zo({width:e.width,left:e.left},Go(e,t)):{}};function Xo(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var a={top:e.top-t.height<0,right:window.innerWidth<e.left+t.width-n,bottom:window.innerHeight<e.bottom+t.height-r,left:e.left+e.width-t.width<0};return{directionRight:a.right&&!a.left,directionLeft:a.left&&!a.right,directionUp:a.bottom&&!a.top,directionDown:a.top&&!a.bottom}}!function(e){e[e.NotStarted=0]="NotStarted",e[e.Running=1]="Running",e[e.Stopped=2]="Stopped"}(Yo||(Yo={}));var Zo={type:"xstate.init"};function ei(e){return void 0===e?[]:[].concat(e)}function ti(e){return{type:"xstate.assign",assignment:e}}function ni(e,t){return"string"==typeof(e="string"==typeof e&&t&&t[e]?t[e]:e)?{type:e}:"function"==typeof e?{type:e.name,exec:e}:e}function ri(e){return function(t){return e===t}}function ai(e){return"string"==typeof e?{type:e}:e}function oi(e,t){return{value:e,context:t,actions:[],changed:!1,matches:ri(e)}}var ii=function(e,t){return e.actions.forEach(function(n){var r=n.exec;return r&&r(e.context,t)})};function li(){return li=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},li.apply(this,arguments)}var si,ci,ui;function di(e,t,n){var r=o.useRef(e),a=ut(function(){return function(e){var t=e.initialState,n=Yo.NotStarted,r=new Set,a={_machine:e,send:function(a){n===Yo.Running&&(t=e.transition(t,a),ii(t,ai(a)),r.forEach(function(e){return e(t)}))},subscribe:function(e){return r.add(e),e(t),{unsubscribe:function(){return r.delete(e)}}},start:function(){return n=Yo.Running,ii(t,Zo),a},stop:function(){return n=Yo.Stopped,r.clear(),a},get state(){return t},get status(){return n}};return a}(r.current).start()}),i=o.useRef(null),l=o.useState(function(){return function(e){var t;return e.subscribe(function(e){t=e}).unsubscribe(),t}(a)}),s=l[0],c=l[1],u=o.useCallback(function(e){var n=lt(e)?{type:e}:e,r=function(e){return Object.entries(e).reduce(function(e,t){var n=t[0],r=t[1];return e[n]=r.current,e},{})}(t);a.send(li({},n,{lastEventType:i.current,refs:r})),i.current=n.type},[n]);return o.useEffect(function(){return a.subscribe(function(e){e.changed&&c(e)}),function(){a.stop()}},[a]),o.useEffect(function(){},[n,s]),[o.useMemo(function(){return li({},s,{matches:function(e){return e===s.value}})}
1,[s.changed,s.context,s.value]),u,a]}function fi(e,t){return ut(function(){return function(e,t){void 0===t&&(t={});var n={config:e,_options:t,initialState:{value:e.initial,actions:ei(e.states[e.initial].entry).map(function(e){return ni(e,t.actions)}),context:e.context,matches:ri(e.initial)},transition:function(t,r){var a,o,i="string"==typeof t?{value:t,context:e.context}:t,l=i.value,s=i.context,c=ai(r),u=e.states[l];if(u.on){var d=ei(u.on[c.type]),f=function(t){if(void 0===t)return{value:oi(l,s)};var r="string"==typeof t?{target:t}:t,a=r.target,o=void 0===a?l:a,i=r.actions,d=void 0===i?[]:i,f=r.cond,m=s;if((void 0===f?function(){return!0}:f)(s,c)){var p=e.states[o],g=!1,h=[].concat(u.exit,d,p.entry).filter(function(e){return e}).map(function(e){return ni(e,n._options.actions)}).filter(function(e){if("xstate.assign"===e.type){g=!0;var t=Object.assign({},m);return"function"==typeof e.assignment?t=e.assignment(m,c):Object.keys(e.assignment).forEach(function(n){t[n]="function"==typeof e.assignment[n]?e.assignment[n](m,c):e.assignment[n]}),m=t,!1}return!0});return{value:{value:o,context:m,actions:h,changed:o!==l||h.length>0||g,matches:ri(o)}}}};try{for(var m=function(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}(d),p=m.next();!p.done;p=m.next()){var g=f(p.value);if("object"==typeof g)return g.value}}catch(e){a={error:e}}finally{try{p&&!p.done&&(o=m.return)&&o.call(m)}finally{if(a)throw a.error}}}return oi(l,s)}};return n}(e,t)})}function mi(){return mi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mi.apply(this,arguments)}function pi(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}!function(e){e.Idle="IDLE",e.Open="OPEN",e.Navigating="NAVIGATING",e.Dragging="DRAGGING",e.Interacting="INTERACTING"}(ci||(ci={})),function(e){e.ButtonMouseDown="BUTTON_MOUSE_DOWN",e.ButtonMouseUp="BUTTON_MOUSE_UP",e.Blur="BLUR",e.ClearNavSelection="CLEAR_NAV_SELECTION",e.ClearTypeahead="CLEAR_TYPEAHEAD",e.GetDerivedData="GET_DERIVED_DATA",e.KeyDownEscape="KEY_DOWN_ESCAPE",e.KeyDownEnter="KEY_DOWN_ENTER",e.KeyDownSpace="KEY_DOWN_SPACE",e.KeyDownNavigate="KEY_DOWN_NAVIGATE",e.KeyDownSearch="KEY_DOWN_SEARCH",e.KeyDownTab="KEY_DOWN_TAB",e.KeyDownShiftTab="KEY_DOWN_SHIFT_TAB",e.OptionTouchStart="OPTION_TOUCH_START",e.OptionMouseMove="OPTION_MOUSE_MOVE",e.OptionMouseEnter="OPTION_MOUSE_ENTER",e.OutsideMouseDown="OUTSIDE_MOUSE_DOWN",e.OutsideMouseUp="OUTSIDE_MOUSE_UP",e.ValueChange="VALUE_CHANGE",e.OptionMouseDown="OPTION_MOUSE_DOWN",e.OptionMouseUp="OPTION_MOUSE_UP",e.PopoverPointerDown="POPOVER_POINTER_DOWN",e.PopoverPointerUp="POPOVER_POINTER_UP",e.UpdateAfterTypeahead="UPDATE_AFTER_TYPEAHEAD"}(ui||(ui={}));var gi=ti({navigationValue:null}),hi=ti({typeaheadQuery:null}),vi=ti({value:function(e,t){return t.value}}),bi=ti({navigationValue:function(e,t){return t.value}}),yi=ti({navigationValue:function(e){var t,n=function(e,t){return e?t.find(function(t){return t.value===e}):void 0}(e.value,e.options);return n&&!n.disabled?e.value:(null===(t=e.options.find(function(e){return!e.disabled}))||void 0===t?void 0:t.value)||null}});function wi(e,t){if(t.type===ui.Blur){var n=t.refs,r=n.list,a=n.popover,o=t.relatedTarget,i=a&&at(a)||document;return!(i.activeElement===r||!a||a.contains(o||i.activeElement))}return!1}function xi(e,t){if(t.type===ui.OutsideMouseDown||t.type===ui.OutsideMouseUp){var n=t.refs,r=n.button,a=n.popover,o=t.relatedTarget;return!(o===r||!r||r.contains(o)||!a||a.contains(o))}return!1}function Ei(e,t){return!!e.options.find(function(t){return t.value===e.navigationValue})}function Si(e,t){var n=t.refs,r=n.popover,a=n.list,o=t.relatedTarget;return!(r&&o&&r.contains(o)&&o!==a)&&Ei(e)}function ki(e,t){requestAnimationFrame(function(){t.refs.list&&t.refs.list.focus()})}function _i(e,t){t.refs.button&&t.refs.button.focus()}function Ti(e,t){return!t.disabled}function Ci(e,t){return t.type!==ui.OptionTouchStart||!t||!t.disabled}function Ai(e,t){return(!t||!t.disabled)&&null!=e.navigationValue}function ji(e,t){t.callback&&t.callback(t.value)}function Ni(e,t){if(t.type===ui.KeyDownEnter){var n=t.refs.hiddenInput;if(n&&n.form){var r=n.form.querySelector("button,[type='submit']");r&&r.click()}}}var Li=ti({typeaheadQuery:function(e,t){return(e.typeaheadQuery||"")+t.query}}),Oi=ti({value:function(e,t){if(t.type===ui.UpdateAfterTypeahead&&t.query){var n=Ii(e.options,t.query);if(n&&!n.disabled)return t.callback&&t.callback(n.value),n.value}return e.value}}),Di=ti({navigationValue:function(e,t){if(t.type===ui.UpdateAfterTypeahead&&t.query){var n=Ii(e.options,t.query);if(n&&!n.disabled)return n.value}return e.navigationValue}}),Ri=((si={})[ui.GetDerivedData]={actions:ti(function(e,t){return mi({},e,t.data)})},si[ui.ValueChange]={actions:[vi,ji]},si);function Ii(e,t){return void 0===t&&(t=""),t&&e.find(function(e){return!e.disabled&&e.label&&e.label.toLowerCase().startsWith(t.toLowerCase())})||null}var Mi=pt("ListboxDescendantContext"),Pi=tt("ListboxContext",{}),Ui=o.forwardRef(function(e,t){var n=e["aria-labelledby"],r=e["aria-label"],a=e.children,i=e.defaultValue,l=e.disabled,s=void 0!==l&&l,u=e.form,d=e.name,f=e.onChange,m=e.required,p=e.value;e._componentName;var g=pi(e,["aria-labelledby","aria-label","children","defaultValue","disabled","form","name","onChange","required","value","_componentName"]),h=o.useRef(null!=p),v=o.useState([]),b=v[0],y=v[1],w=function(e){var t=o.useRef(e);return o.useEffect(function(){t.current=e}),o.useCallback(function(){return t.current&&t.current.apply(t,arguments)},[])}(f),x=o.useRef(null),E=o.useRef(null),S=o.useRef(null),k=o.useRef(null),_=o.useRef(null),T=o.useRef(null),C=o.useRef(null),A=fi(function(e){var t,n,r,a,o,i,l=e.value;return{id:"listbox",initial:ci.Idle,context:{value:l,options:[],navigationValue:null,typeaheadQuery:null},states:(i={},i[ci.Idle]={on:mi({},Ri,(t={},t[ui.ButtonMouseDown]={target:ci.Open,actions:[yi],cond:Ti},t[ui.KeyDownSpace]={target:ci.Navigating,actions:[yi,ki],cond:Ti},t[ui.KeyDownSearch]={target:ci.Idle,actions:Li,cond:Ti},t[ui.UpdateAfterTypeahead]={target:ci.Idle,actions:[Oi],cond:Ti},t[ui.ClearTypeahead]={target:ci.Idle,actions:hi},t[ui.KeyDownNavigate]={target:ci.Navigating,actions:[yi,hi,ki],cond:Ti},t[ui.KeyDownEnter]={actions:[Ni],cond:Ti},t))},i[ci.Interacting]={entry:[gi],on:mi({},Ri,(n={},n[ui.ClearNavSelection]={actions:[gi,ki]},n[ui.KeyDownEnter]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},n[ui.KeyDownSpace]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},n[ui.ButtonMouseDown]={target:ci.Idle,actions:[_i]},n[ui.KeyDownEscape]={target:ci.Idle,actions:[_i]},n[ui.OptionMouseDown]={target:ci.Dragging},n[ui.OutsideMouseDown]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Dragging,actions:hi,cond:Ei}],n[ui.OutsideMouseUp]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei},{target:ci.Interacting,actions:hi}],n[ui.KeyDownEnter]=ci.Interacting,n[ui.Blur]=[{target:ci.Idle,cond:wi,actions:hi},{target:ci.Navigating,cond:Si},{target:ci.Interacting,actions:hi}],n[ui.OptionTouchStart]={target:ci.Navigating,actions:[bi,hi],cond:Ci},n[ui.OptionMouseEnter]={target:ci.Navigating,actions:[bi,hi],cond:Ci},n[ui.KeyDownNavigate]={target:ci.Navigating,actions:[bi,hi,ki]}
1,n))},i[ci.Open]={on:mi({},Ri,(r={},r[ui.ClearNavSelection]={actions:[gi]},r[ui.KeyDownEnter]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},r[ui.KeyDownSpace]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},r[ui.ButtonMouseDown]={target:ci.Idle,actions:[_i]},r[ui.KeyDownEscape]={target:ci.Idle,actions:[_i]},r[ui.OptionMouseDown]={target:ci.Dragging},r[ui.OutsideMouseDown]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Dragging,cond:Ei},{target:ci.Interacting,actions:hi}],r[ui.OutsideMouseUp]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei},{target:ci.Interacting,actions:hi}],r[ui.Blur]=[{target:ci.Idle,cond:wi,actions:hi},{target:ci.Navigating,cond:Si},{target:ci.Interacting,actions:hi}],r[ui.ButtonMouseUp]={target:ci.Navigating,actions:[yi,ki]},r[ui.OptionTouchStart]={target:ci.Navigating,actions:[bi,hi],cond:Ci},r[ui.KeyDownNavigate]={target:ci.Navigating,actions:[bi,hi,ki]},r[ui.KeyDownSearch]={target:ci.Navigating,actions:Li},r[ui.UpdateAfterTypeahead]={actions:[Di]},r[ui.ClearTypeahead]={actions:hi},r[ui.OptionMouseMove]=[{target:ci.Dragging,actions:[bi],cond:Ci},{target:ci.Dragging}],r))},i[ci.Dragging]={on:mi({},Ri,(a={},a[ui.ClearNavSelection]={actions:[gi]},a[ui.KeyDownEnter]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},a[ui.KeyDownSpace]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},a[ui.ButtonMouseDown]={target:ci.Idle,actions:[_i]},a[ui.KeyDownEscape]={target:ci.Idle,actions:[_i]},a[ui.OptionMouseDown]={target:ci.Dragging},a[ui.OutsideMouseDown]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei},{target:ci.Interacting,actions:hi}],a[ui.OutsideMouseUp]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei,actions:ki},{target:ci.Interacting,actions:[hi,ki]}],a[ui.Blur]=[{target:ci.Idle,cond:wi,actions:hi},{target:ci.Navigating,cond:Si},{target:ci.Interacting,actions:hi}],a[ui.ButtonMouseUp]={target:ci.Navigating,actions:[yi,ki]},a[ui.OptionTouchStart]={target:ci.Navigating,actions:[bi,hi],cond:Ci},a[ui.OptionMouseEnter]={target:ci.Dragging,actions:[bi,hi],cond:Ci},a[ui.KeyDownNavigate]={target:ci.Navigating,actions:[bi,hi,ki]},a[ui.KeyDownSearch]={target:ci.Navigating,actions:Li},a[ui.UpdateAfterTypeahead]={actions:[Di]},a[ui.ClearTypeahead]={actions:hi},a[ui.OptionMouseMove]=[{target:ci.Navigating,actions:[bi],cond:Ci},{target:ci.Navigating}],a[ui.OptionMouseUp]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},a))},i[ci.Navigating]={on:mi({},Ri,(o={},o[ui.ClearNavSelection]={actions:[gi,ki]},o[ui.KeyDownEnter]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},o[ui.KeyDownSpace]={target:ci.Idle,actions:[vi,hi,_i,ji],cond:Ai},o[ui.ButtonMouseDown]={target:ci.Idle,actions:[_i]},o[ui.KeyDownEscape]={target:ci.Idle,actions:[_i]},o[ui.OptionMouseDown]={target:ci.Dragging},o[ui.OutsideMouseDown]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei},{target:ci.Interacting,actions:hi}],o[ui.OutsideMouseUp]=[{target:ci.Idle,cond:xi,actions:hi},{target:ci.Navigating,cond:Ei},{target:ci.Interacting,actions:hi}],o[ui.Blur]=[{target:ci.Idle,cond:wi,actions:hi},{target:ci.Navigating,cond:Si},{target:ci.Interacting,actions:hi}],o[ui.ButtonMouseUp]={target:ci.Navigating,actions:[yi,ki]},o[ui.OptionTouchStart]={target:ci.Navigating,actions:[bi,hi],cond:Ci},o[ui.OptionMouseEnter]={target:ci.Navigating,actions:[bi,hi],cond:Ci},o[ui.KeyDownNavigate]={target:ci.Navigating,actions:[bi,hi,ki]},o[ui.KeyDownSearch]={target:ci.Navigating,actions:Li},o[ui.UpdateAfterTypeahead]={actions:[Di]},o[ui.ClearTypeahead]={actions:hi},o[ui.OptionMouseMove]=[{target:ci.Navigating,actions:[bi],cond:Ci},{target:ci.Navigating}],o))},i)}}({value:(h.current?p:i)||null})),j=di(A,{button:x,hiddenInput:E,highlightedOption:S,input:k,list:_,popover:T,selectedOption:C},false),N=j[0],L=j[1],O=function(e){var t=e||(yt?xt():null),n=o.useState(t),r=n[0],a=n[1];return Xe(function(){null===r&&a(xt())},[]),o.useEffect(function(){!1===yt&&(yt=!0)},[]),null!=r?String(r):void 0}(g.id),D=g.id||st("listbox-input",O),R=dt(k,t),I=o.useMemo(function(){var e=b.find(function(e){return e.value===N.context.value});return e?e.label:null},[b,N.context.value]),M=function(e){return[ci.Navigating,ci.Open,ci.Dragging,ci.Interacting].includes(e)}(N.value),P=o.useMemo(function(){return{ariaLabel:r,ariaLabelledBy:n,disabled:s,isExpanded:M,listboxId:D,listboxValueLabel:I,onValueChange:w,buttonRef:x,listRef:_,popoverRef:T,selectedOptionRef:C,highlightedOptionRef:S,send:L,state:N.value,stateData:N.context}},[r,n,N.value,N.context,s,D,M,w,L,I]),U=o.useRef(!1);if(!h.current&&null==i&&!U.current&&b.length){U.current=!0;var $=b.find(function(e){return!e.disabled});$&&$.value&&L({type:ui.ValueChange,value:$.value})}return function(e,t,n){var r=o.useRef(null!=e).current;r&&e!==t&&n()}(p,N.context.value,function(){L({type:ui.ValueChange,value:p})}),Xe(function(){L({type:ui.GetDerivedData,data:{options:b}})},[b,L]),o.useEffect(function(){function e(e){var t=e.target,n=e.relatedTarget;Yi(t,T.current)||L({type:ui.OutsideMouseDown,relatedTarget:n||t})}return M&&window.addEventListener("mousedown",e),function(){window.removeEventListener("mousedown",e)}},[L,M]),o.useEffect(function(){function e(e){var t=e.target,n=e.relatedTarget;Yi(t,T.current)||L({type:ui.OutsideMouseUp,relatedTarget:n||t})}return M&&window.addEventListener("mouseup",e),function(){window.removeEventListener("mouseup",e)}},[L,M]),c.default.createElement(ht,{context:Mi,items:b,set:y},c.default.createElement(Pi.Provider,{value:P},c.default.createElement("div",Object.assign({},g,{ref:R,"data-reach-listbox-input":"","data-state":M?"expanded":"closed","data-value":N.context.value,id:D}),ot(a)?a({id:D,isExpanded:M,value:N.context.value,selectedOptionRef:C,highlightedOptionRef:S,valueLabel:I,expanded:M}
1):a),(u||d||m)&&c.default.createElement("input",{ref:E,"data-reach-listbox-hidden-input":"",disabled:s,form:u,name:d,readOnly:!0,required:m,tabIndex:-1,type:"hidden",value:N.context.value||""})))}),$i=nt(function(e,t){var n=e["aria-label"],r=e.arrow,a=void 0!==r&&r,i=e.as,l=void 0===i?"span":i,s=e.children,u=e.onKeyDown,d=e.onMouseDown,f=e.onMouseUp,m=pi(e,["aria-label","arrow","as","children","onKeyDown","onMouseDown","onMouseUp"]),p=o.useContext(Pi),g=p.ariaLabelledBy,h=p.buttonRef,v=p.disabled,b=p.isExpanded,y=p.listboxId,w=p.stateData,x=p.send,E=p.listboxValueLabel,S=w.value,k=dt(h,t),_=Wi();var T=st("button",y),C=o.useMemo(function(){return s?ot(s)?s({isExpanded:b,label:E,value:S,expanded:b}):s:E},[s,E,b,S]);return c.default.createElement(l,Object.assign({"aria-disabled":v||void 0,"aria-expanded":b||void 0,"aria-haspopup":"listbox","aria-labelledby":n?void 0:[g,T].filter(Boolean).join(" "),"aria-label":n,role:"button",tabIndex:v?-1:0},m,{ref:k,"data-reach-listbox-button":"",id:T,onKeyDown:ft(u,_),onMouseDown:ft(d,function(e){it(e.nativeEvent)||(e.preventDefault(),e.stopPropagation(),x({type:ui.ButtonMouseDown,disabled:v}))}),onMouseUp:ft(f,function(e){it(e.nativeEvent)||(e.preventDefault(),e.stopPropagation(),x({type:ui.ButtonMouseUp}))})}),C,a&&c.default.createElement(qi,null,"boolean"==typeof a?null:a))}),Fi=rt($i),Bi=o.forwardRef(function(e,t){var n=e.children,r=pi(e,["children"]),a=o.useContext(Pi).isExpanded;return c.default.createElement("span",Object.assign({"aria-hidden":!0},r,{ref:t,"data-reach-listbox-arrow":"","data-expanded":a?"":void 0}),ot(n)?n({isExpanded:a,expanded:a}):n||"â¼")}),qi=o.memo(Bi),Hi=o.forwardRef(function(e,t){var n=e.position,r=void 0===n?Jo:n,a=e.onBlur,i=e.onKeyDown,l=e.portal,s=void 0===l||l,u=e.unstable_observableRefs,d=pi(e,["position","onBlur","onKeyDown","portal","unstable_observableRefs"]),f=o.useContext(Pi),m=f.buttonRef,p=f.popoverRef,g=f.send,h=f.isExpanded,v=dt(p,t),b=Wi(),y=mi({hidden:!h,tabIndex:-1},d,{ref:v,"data-reach-listbox-popover":"",onBlur:ft(a,function(e){var t=e.nativeEvent;requestAnimationFrame(function(){g({type:ui.Blur,relatedTarget:t.relatedTarget||t.target})})}),onKeyDown:ft(i,b)});return s?c.default.createElement(Ko,Object.assign({},y,{targetRef:m,position:r,unstable_observableRefs:u})):c.default.createElement("div",Object.assign({},y))}),zi=o.memo(Hi),Ki=nt(function(e,t){var n=e.as,r=void 0===n?"ul":n,a=pi(e,["as"]),i=o.useContext(Pi),l=i.ariaLabel,s=i.ariaLabelledBy,u=i.isExpanded,d=i.listboxId,f=i.listRef,m=i.stateData,p=m.value,g=m.navigationValue,h=dt(t,f);return c.default.createElement(r,Object.assign({"aria-activedescendant":Gi(u?g:p),"aria-labelledby":l?void 0:s,"aria-label":l,role:"listbox",tabIndex:-1},a,{ref:h,"data-reach-listbox-list":"",id:st("listbox",d)}))}),Vi=nt(function(e,t){var n=e.as,r=void 0===n?"li":n,a=e.children,i=e.disabled,l=e.onMouseDown,s=e.onMouseEnter,u=e.onMouseLeave,d=e.onMouseMove,f=e.onMouseUp,m=e.onTouchStart,p=e.value,g=e.label,h=pi(e,["as","children","disabled","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseUp","onTouchStart","value","label"]),v=o.useContext(Pi),b=v.highlightedOptionRef,y=v.isExpanded,w=v.onValueChange,x=v.selectedOptionRef,E=v.send,S=v.state,k=v.stateData,_=k.value,T=k.navigationValue,C=o.useState(g),A=C[0],j=C[1],N=g||A||"",L=o.useRef(null);gt({element:L.current,value:p,label:N,disabled:!!i},Mi);var O=o.useCallback(function(e){!g&&e&&j(function(t){return e.textContent&&t!==e.textContent?e.textContent:t||""})},[g]),D=!!T&&T===p,R=_===p,I=dt(O,t,L,R?x:null,D?b:null);return c.default.createElement(r,Object.assign({"aria-selected":(y?D:R)||void 0,"aria-disabled":i||void 0,role:"option"},h,{ref:I,id:Gi(p),"data-reach-listbox-option":"","data-current":R?"":void 0,"data-label":N,"data-value":p,onMouseDown:ft(l,function(e){it(e.nativeEvent)||(e.preventDefault(),E({type:ui.OptionMouseDown}))}),onMouseEnter:ft(s,function(){E({type:ui.OptionMouseEnter,value:p,disabled:!!i})}),onMouseLeave:ft(u,function(){E({type:ui.ClearNavSelection})}),onMouseMove:ft(d,function(){S!==ci.Open&&T===p||E({type:ui.OptionMouseMove,value:p,disabled:!!i})}),onMouseUp:ft(f,function(e){it(e.nativeEvent)||E({type:ui.OptionMouseUp,value:p,callback:w,disabled:!!i})}),onTouchStart:ft(m,function(){E({type:ui.OptionTouchStart,value:p,disabled:!!i})})}),a)});function Wi(){var e,t=o.useContext(Pi),n=t.disabled,r=t.onValueChange,a=t.stateData,i=a.navigationValue,l=a.typeaheadQuery,s=t.send,c=(e=Mi,o.useContext(e).descendants);o.useEffect(function(){l&&s({type:ui.UpdateAfterTypeahead,query:l,callback:r});var e=window.setTimeout(function(){null!=l&&s({type:ui.ClearTypeahead})},1e3);return function(){window.clearTimeout(e)}},[r,s,l]);var u=c.findIndex(function(e){return e.value===i}),d=ft(function(e){var t=e.key,a=lt(t)&&1===t.length,o=c.find(function(e){return e.value===i});switch(t){case"Enter":return void s({type:ui.KeyDownEnter,value:i,callback:r,disabled:!(!(null==o?void 0:o.disabled)&&!n)});case" ":return e.preventDefault(),void s({type:ui.KeyDownSpace,value:i,callback:r,disabled:!(!(null==o?void 0:o.disabled)&&!n)});case"Escape":return void s({type:ui.KeyDownEscape});case"Tab":var l=e.shiftKey?ui.KeyDownShiftTab:ui.KeyDownTab;return void s({type:l});default:return void(a&&s({type:ui.KeyDownSearch,query:t,disabled:n}))}},function(e,t){var n=o.useContext(e).descendants,r=t.callback,a=t.currentIndex,i=t.filter,l=t.key,s=void 0===l?"index":l,c=t.orientation,u=void 0===c?"vertical":c,d=t.rotate,f=void 0===d||d,m=t.rtl,p=void 0!==m&&m,g
1=null!=a?a:-1;return function(e){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(e.key)){var t=i?n.filter(i):n;if(i&&(g=t.findIndex(function(e){return e.index===a})),t.length)switch(e.key){case"ArrowDown":if("vertical"===u||"both"===u){e.preventDefault();var o=y();r("option"===s?o:o[s])}break;case"ArrowUp":if("vertical"===u||"both"===u){e.preventDefault();var l=w();r("option"===s?l:l[s])}break;case"ArrowLeft":if("horizontal"===u||"both"===u){e.preventDefault();var c=(p?y:w)();r("option"===s?c:c[s])}break;case"ArrowRight":if("horizontal"===u||"both"===u){e.preventDefault();var d=(p?w:y)();r("option"===s?d:d[s])}break;case"PageUp":e.preventDefault();var m=(e.ctrlKey?w:x)();r("option"===s?m:m[s]);break;case"Home":e.preventDefault();var h=x();r("option"===s?h:h[s]);break;case"PageDown":e.preventDefault();var v=(e.ctrlKey?y:E)();r("option"===s?v:v[s]);break;case"End":e.preventDefault();var b=E();r("option"===s?b:b[s])}}function y(){return g===t.length-1?f?x():t[g]:t[(g+1)%t.length]}function w(){return 0===g?f?E():t[g]:t[(g-1+t.length)%t.length]}function x(){return t[0]}function E(){return t[t.length-1]}}}(Mi,{currentIndex:u,orientation:"vertical",key:"index",rotate:!0,filter:function(e){return!e.disabled},callback:function(e){s({type:ui.KeyDownNavigate,value:c[e].value,disabled:n})}}));return d}function Gi(e){var t=o.useContext(Pi).listboxId;return e?st("option-"+e,t):void 0}function Yi(e,t){return!(e!==t&&!(null==t?void 0:t.contains(e)))}const Qi=a.forwardRef(({class:e="",suppressAriaLabelledby:t=!1,...a},o)=>{const i=n.useRef(null);return n.useLayoutEffect(()=>{t&&i.current&&i.current.removeAttribute("aria-labelledby")}),r.jsx(Fi,{as:"button",class:A`form-select text-left w-full cursor-pointer ${e}`,ref:e=>{i.current=e,"function"==typeof o?o(e):o&&(o.current=e)},...a})}),Ji=a.forwardRef(({class:e="",...t},n)=>r.jsx(zi,{class:A`bg-white mt-1 shadow-lg border border-gray-100 overflow-hidden z-50 ${e}`,ref:n,...t}));function Xi({class:e="",...t}){return r.jsx(Ki,{class:A`focus:outline-none ${e}`,...t})}function Zi({class:e="",...t}){return r.jsx(Vi,{class:A`px-3 py-2 hover:bg-gray-100 cursor-pointer ${e}`,...t})}function el(e){return r.jsx(Ui,{...e})}Object.values({LIST:"list",MAP:"map"});function tl({inputName:e,options:a,optionValue:o,onchange:i,optionType:l,multiple:s=!1,buttonClasses:c,dropdownItemClass:u,dropdownOptionsClass:d,isPortal:f=!0,dataContentType:m,disabledOptionValue:p=null,twiceCalls:g=!1,btnRef:h=[],ariaLabelledBy:v="",buttonText:b,children:y,...w}){const[x,E]=n.useState(!1),S=ie(e=>e?.sortingOptions),k=S?.flatMap(e=>e.focusArea||[]),_=g?h:n.useRef(null);n.useEffect(()=>{const e=e=>{"UL"===e.target.tagName&&"Tab"===e.key&&e.shiftKey?_.current&&(_.current.focus(),e.preventDefault()):"Tab"===e.key&&_.current&&_.current.focus()};return x?document.addEventListener("keydown",e):document.removeEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)}},[x]);const T=e=>{const t=e.target.innerText,n=window.location.href;window.dataLayer&&dataLayer.push({event:"buttonClick",buttonClickInfo:{clickText:t||"",pageURL:n}})},C=()=>{const e=document.querySelector('[data-content-type="topics"]');e?.setAttribute("hidden",!0)},j=e=>{const t=new URLSearchParams(window.location.search),n=(t.get("focusArea")?t.get("focusArea").split(","):[]).map(e=>k.find(t=>t.id===e)?.label).filter(Boolean).join(", ");(({distance:e="",focusAreas:t=""})=>{window.dataLayer&&window.dataLayer.push({event:"faSearchFilter",faSearchFilterInfo:{filterByDistance:e,focusArea:t}})})({distance:e,focusAreas:n})};return r.jsx(el,{className:"w-full lg:w-72",value:String(o),onChange:i,...w,children:({isExpanded:e})=>(e!==x&&E(e),r.jsxs(t.Fragment,{children:[r.jsx(Qi,{type:"button","data-testid":"filterdropdown",onClick:T,ref:_,class:`${e?"expanded":"collapsed"} ${c}`,onFocus:C,...v&&{"aria-labelledby":v},children:void 0!==b?r.jsx("span",{dangerouslySetInnerHTML:{__html:_n.sanitize(b)}}):y}),r.jsx(Ji,{class:u,portal:f,"data-content-type":m,children:r.jsx(Xi,{...s?{"aria-multiselectable":"true"}:{},children:a.map(({key:e,name:t,disabled:n=!1})=>{const a=e==o;return r.jsx(Zi,{class:`group ${d} ${p===e&&"text-gray-450 bg-gray-100"}`,value:String(e),label:t,"data-testid":`option${e}`,disabled:n||p===e,"data-gtm-category":w["data-gtm-category"],"data-gtm-action":w["data-gtm-action"],"data-gtm-label":1===Number(e)?w["data-gtm-label-name"]:w["data-gtm-label-location"],onClick:e=>{e.stopPropagation()},children:r.jsxs("a",{class:"skip-generic-link-tracking flex items-center text-sm",href:"#",id:`anchor-link-distance-${e}`,tabIndex:"-1",onClick:n=>{var r;(r=n).preventDefault(),r.stopPropagation(),j(e),((e,t)=>{const n=t&&String(t).includes("https"),r=window.location.href;M({event:"linkClick",linkClickInfo:{clickText:e||" ",clickURL:n?t:`${window.location.origin}${t}`||" ",pageURL:r}})})(t,window.location.href)},children:[l?r.jsx("span",{class:A`${["w-5 h-5 mr-2","checkbox"===l&&"form-checkbox","radio"===l&&"form-radio",a&&"checked"]}`}):null,r.jsxs("span",{class:A`group-hover:underline ${a&&"underline"}`,children:[t,a&&r.jsx("span",{class:"sr-only",children:" selected"})]})]})})})})})]}))})}function nl({termLabel:e="",query:t=""}){const a=le(),{selectedContentType:o,selectedTab:i,noResultSrOnlyText:l,all_tab_sr_text:s="",financial_advisor_sr_text:c="",location_sr_text:u="",isForcedTabChange:d=!1}=ie(),[f,m]=n.useState(!1),p=[{selectedContType:"all",srOnlyText:s},{selectedContType:"financial_advisor",srOnlyText:c},{selectedContType:"location",srOnlyText:u}],g=p.find(e=>e.selectedContType===o).srOnlyText,h=p.find(e=>
1e.selectedContType===i).srOnlyText,v=l?.replace("${contentType}",g)?.replace("${tabType}",h);return n.useEffect(()=>{m(d);const e=setTimeout(()=>{a({type:Eo,payload:!1})},2e3);return()=>clearTimeout(e)},[d]),r.jsx("div",{className:"search-term pt-6 pb-3 md:pt-10 lg:pt-12 md:pb-8 lg:border-b",children:r.jsxs("h1",{role:"heading",tabindex:"-1",id:"unified-search-results-heading",className:"heading-5 md:heading-3 block leading-normal",children:[r.jsxs("span",{className:"heading-5 md:heading-3 block md:inline-block leading-normal",children:[e,":"]}),r.jsxs("span",{className:"text-30 font-bold md:heading-3 relative -top-2 md:top-0",children:[" "," â",t,"â"]}),r.jsx("span",{className:"sr-only",role:"status",children:f&&v})]})})}const rl=e=>{const t=encodeURI(e);let n=decodeURI(t);return n=n.replace(/\+/g," OR "),n=n.replace(/\&/g," AND "),n=n.replace(/\-/g," NOT "),n},al=e=>new URLSearchParams(window.location.search).get(e),ol=e=>{if(!e?.length)return null;return e.reduce((e,t)=>(t?.data?.filter(t=>(e++,t)),e),0)},il=(e,t,n)=>{if(!e&&window.location.hostname.includes(".ac.")&&alert("BLANK SEARCH STRING \nwill be pushed in DL.\n undefined"),e){let r="";r="location"===n?"Location":"all"===n?"All":"Financial Advisor",M({event:"siteSearchSubmit",siteSearchInfo:{siteSearchText:e,siteSearchResultNo:t,searchType:"Unified",contentType:r,searchQuery:window.location.search.substring(1)}})}},ll=()=>{const e=document.querySelector("#unified-search-results-heading");e&&e.focus()};async function sl(e="",t,n,r,a,o,i,l,s,c,u=!1,d){let f=`${window.location.origin}${t}?q=${rl(e)}&sortBy=relevance`,m=`${window.location.origin}${n}?q=${encodeURIComponent(e)}&searchtype=${r}`;"http://localhost:9000"===window.origin&&(f=`https://web-dev.ac.edwardjones.com${t}?q=${rl(e)}&ejapihash=f2c33108ddf904f5d24deaaa843d9aa1&sortBy=relevance`,m=`https://web-dev.ac.edwardjones.com${n}?q=${encodeURIComponent(e)}&searchtype=${r}&ejapihash=f2c33108ddf904f5d24deaaa843d9aa1`);const p=async e=>{try{const t=await fetch(e);if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return await t.json()}catch(e){return{error:e.message}}},g=async(t,r)=>{const o=window.location.search.includes("interim=false");let u=`${window.location.origin}${n}?q=${encodeURIComponent(e)}&distance=${t}&distance_unit=${i}&page=1${o?"&interim=false":""}&searchtype=${a}`;"http://localhost:9000"===window.origin&&(u=`https://web-dev.ac.edwardjones.com${n}?q=${encodeURIComponent(e)}&distance=${t}&distance_unit=${i}&page=1&searchtype=${a}${o?"&interim=false":""}&ejapihash=f2c33108ddf904f5d24deaaa843d9aa1`);const d=await p(u).then(e=>e);if(0===d.resultCount&&"undefined"!==l&&"undefined"!==s){let e=parseInt(t)+parseInt(s);return e>l?{results:[]}:await g(e,!0)}return r&&c({type:xo,payload:d.distance_radius}),d},[h,v,b]=await Promise.allSettled([p(f),g(o),u?{viewtype:"redirect",fadata:d}:p(m)]);return{all:"fulfilled"===h.status?h.value:{error:h.reason},financial_advisor:"fulfilled"===b.status?b.value:{error:b.reason},location:"fulfilled"===v.status?v.value:{error:v.reason}}}function cl({contentType:e,focusedIndex:t,onSelect:a=()=>{},onClose:o=()=>{}}){const i=ie(e=>e?.searchSuggestions),[l,s]=n.useState(""),c=n.useRef(null);return n.useEffect(()=>{const e=e=>{c.current&&!c.current.contains(e.target)&&o()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[o]),n.useEffect(()=>{const e=setTimeout(()=>{s(ul(i))},3e3);return()=>clearTimeout(e)},[i]),r.jsxs("div",{ref:c,children:[r.jsx("div",{"aria-live":"polite","aria-atomic":"true",class:"sr-only",children:l}),r.jsx("ul",{class:"bg-white p-2 md:max-w-md lg:max-w-lg","data-testid":"suggested-searches",children:i?.map(({faData:n,html:i,text:l},s)=>r.jsx("li",{children:r.jsxs("a",{className:"flex suggestion-link relative px-4 py-3 border-b border-gray-200 hover:bg-gray-100 cursor-pointer "+(t===s?"bg-gray-100":""),"aria-label":`search ${i.replace(/<[^>]+>/g,"")}`,onClick:t=>{t.preventDefault(),a("financial_advisor"===e?n:l),o()},children:["location"===e&&r.jsx(me,{className:"relative top-1",src:'<svg width="12" height="16" viewB
1ox="0 0 12 16" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n<rect width="11.25" height="16" fill="url(#pattern0_506_5452)"/>\n<defs>\n<pattern id="pattern0_506_5452" patternContentUnits="objectBoundingBox" width="1" height="1">\n<use xlink:href="#image0_506_5452" transform="scale(0.03125 0.0208333)"/>\n</pattern>\n<image id="image0_506_5452" width="32" height="48" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAwCAYAAABwrHhvAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAIKADAAQAAAABAAAAMAAAAADMZvVxAAADAUlEQVRYCb2Yy6tNURzHzyVyPa+kiIESQ88iE+WaeYxlhpggU8qjTEWJUsIfgAxNbxmh7sBzwuSGbi6SPHJxPT7fY6/b8rPPWb/9Or/6nrXXWr/f9/vba62919qnr+W3ubhuB4NgNVgGBoDsAxgBD8AQuA0+gVpsJSzXwBfw2wn5XgUrQGnrJ/Is+AG8wtbvO7FnwAxQyJT5Y2AJy9bvwrXYm8FaHN/UKB6SfgnnqlQSuvMmxOMkFnVKQvOkVRycmyqH0dD6+s+04JoStbynrboetSqr3Qqk6npH/DMVes5TQaF/DN/jYA2YlUEL9wRQX/BLlZfwbZvecN6XzA185/wNy/1V302QElf/ZzAbtHYDT4DE+xSQMPl4k9glrisglYCGttudiyc2jarncb48BUdtLCm7gEORzeUj/hdTpPS3td9ykRoBT5JWTwszxauRbX1zOLYXi5wLmKYslcC4pmDCQepZfJbGEzOhBEZtZE59eU5bqskTM6oEHqaY6N/h8LEuO21DTr2tfYiO1FwVfQznwelZ3AeV1FLwC6SS0MvFM6/yueXgk+YS0Lb7/KYSUL+S0Eumk+nOPeLiuheTHKPiSUA+esOdBOuAHk9B16eAZ9iDzlH8J03nNR0gQ2fTpbb+yeEPWWh4mxYO/NeDaFxu6WECm2Ph+LrOo3i4W1s+RbDj07S/B6OwL75jez2NhhFgs66r/gLu6aCrHaG3LkHLc7irctap7wNtUDa4av01nP2ZxmShzcjaOA3nbWMN9XNwfPXyaBQ0X1XvOsS/gmumVzz4abUGgqrlnkBapJyK8xNQVfwRHOIqZTpUVE1gWynlKGioQhJ3Ip7SlxuI1OGh6EgoZlNpVRPoPWTESebueIbXXdXne5Hzgnwr/UOWl5k+teI77HbdxIusNZ8EdBzrJqy+MTAAGrEDsKYS2NuIckaqvUOn2U5JDNOXt79k4fUU66H5CWwSattYj0SaRf8D2wT0R0fPbAFK70BI4j3XC3umngltpXwOnoHBrK1w8QdpeQ9AsNKJ7wAAAABJRU5ErkJggg=="/>\n</defs>\n</svg>\n'}),"financial_advisor"===e&&r.jsx(me,{className:"relative top-1",src:'<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 17 17" fill="none">\n <g clip-path="url(#clip0_503_4985)">\n <path d="M8.60083 8.4497C10.9342 8.4497 12.8257 6.55817 12.8257 4.22485C12.8257 1.89153 10.9342 0 8.60083 0C6.26751 0 4.37598 1.89153 4.37598 4.22485C4.37598 6.55817 6.26751 8.4497 8.60083 8.4497Z" fill="black"/>\n <path d="M8.49993 9.6568C4.47627 9.6568 1.15674 12.9763 1.15674 17H15.8431C15.8431 12.8757 12.6242 9.6568 8.49993 9.6568Z" fill="black"/>\n </g>\n <defs>\n <clipPath id="clip0_503_4985">\n <rect width="17" height="17" fill="white"/>\n </clipPath>\n </defs>\n</svg>'}),r.jsx("span",{className:"ml-2",dangerouslySetInnerHTML:{__html:i}}),r.jsx(me,{className:"block w-4 h-4 absolute right-2 top-4 fill-current text-white",src:Re})]})},s))})]})}const ul=e=>{let t="";return e.length>0&&(t=`${e.length} Suggested search term${e.length>1?"s":""} presented. Continue to press tab to read list.`),t};function dl({class:e,searchInputId:t="sitesearch",showFrequentSearches:a=!1,searchActive:o=!1,openFrequentList:i=()=>{},closeFrequentList:l=()=>{},setSearchActive:s=()=>{},onCancel:c=()=>{},isModal:u,handlerLoading:d=()=>{},isHeader:f,...m}){const p=new E,g=le(),h=n.useRef(null),v=n.useRef(null),[b,y]=n.useState(""),[w,x]=n.useState(!1),[S,k]=n.useState(-1),[_,T]=n.useState(""),[C,j]=n.useState(!1),N=n.useRef(!0),{selectedContentType:L,contentTypeLabel:O,resultUrl:D,cancelLabel:R,submitLabel:P,inputLabel:U,placeholder:$,termLabel:F,searchQuery:B,endpointSuggestion:q,endpointLocation:H,endpointFA:z,searchSuggestions:K,contentTypeLabelOptions:V,allResultEndPoint:W,otherResultEndPoint:G,searchtypeFA:Y,searchtypeLocation:Q,unifiedSearchResult:J,siteSearchErrorMessage:X,defaultRadius:Z,distanceUnit:ee,maxRadius:te,interval:re}=ie(e=>({selectedContentType:e?.selectedContentType,contentTypeLabel:e?.contentTypeLabel,resultUrl:e?.resultUrl,cancelLabel:e?.cancelLabel,submitLabel:e?.submitLabel,inputLabel:e?.inputLabel,placeholder:e?.placeholder,termLabel:e?.termLabel,searchQuery:e?.searchQuery,endpointSuggestion:e?.endpointSuggestion,endpointLocation:e?.endpointLocation,endpointFA:e?.endpointFA,searchSuggestions:e?.searchSuggestions,contentTypeLabelOptions:e?.contentTypeLabelOptions,allResultEndPoint:e?.all?.endpoint,otherResultEndPoint:e?.other?.props?.endpoint,searchtypeFA:e?.other?.props?.searchtypeFA,searchtypeLocation:e?.other?.props?.searchtypeLocation,unifiedSearchResult:e?.unifiedSearchResult,siteSearchErrorMessage:e?.siteSearchErrorMessage,defaultRadius:e?.other?.props?.defaultRadius,distanceUnit:e?.other?.props?.distanceUnit,maxRadius:e?.other?.props?.maxSearchRadius,interval:e?.other?.props?.intervalRadius}));let ae=al("query"),oe=al("contentType");const{md:se}=ne(),ce=(e,t)=>{let n=0;return"all"===t?n=e?.all?.resultCount:"financial_advisor"===t?"interim"===e?.financial_advisor?.viewtype?n=ol(e?.financial_advisor?.results?.fa):"redirect"===e?.financial_advisor?.viewtype&&(n=1):"interim"===e?.location?.viewtype?n=ol(e?.location?.results?.location):"faview"===e?.location?.viewtype&&(n=1),n},ue=e=>{const t="financial_advisor"===L?e?.faName:e;"all"!==L&&(u&&(window.sessionStorage.setItem("isPrefillFromSearchModal","true"),p.set("faSearchLookup","unified_search_modal",{path:"/"})),M({event:"faSearchResultPrefill",faSearchInfo:{faSearchText:b,faSearchPrefill:t,faSearchType:"financial_advisor"===L?"prefill:name":"prefill:location",faSearchLookup:p.get("faSearchLookup"),faSearchComponent:p.get("faSearchComponent"),searchType:"Unified"}}));const n="financial_advisor"===L?"":"&interim=false";if(u)window.location.href=`${D}?query=${encodeURIComponent(t)}&contentType=${L}${n}`;else{d(!0),g({type:mo,payload:t});const r=`${D}?query=${encodeURIComponent(t)}&contentType=${L}${n}`;window.history.pushState({path:r},"",r),"financial_advisor"===L?sl(t,W,G,Y,Q,Z,ee,te,re,g,!0,e).then(e=>{const n=ce(e,L),r=ce(e,"all");il(t,n,L),g({type:vo,payload:e}),g({type:bo,payload:r}),d(!1)}):sl(t,W,G,Y,Q,Z,ee,te,re,g).then(e=>{const n=ce(e,L),r=ce(e,"all");il(t,n,L),g({type:vo,payload:e}),g({type:bo,payload:r}),d(!1)}),ll(),y(t),N.current=!0,g({type:ho,payload:"relevance"}),g("all"!==L?{type:So,payload:!0}:{type:So,payload:!1});const a=new CustomEvent("unifiedSearchQuery",{detail:{query:t,searchtype:Q,selectedContentType:L}});document.dispatchEvent(a)}p.set("viewtype","list",{path:"/"})},de=()=>{g({type:po,payload:[]})},fe=n.useRef();n.useEffect(()=>{if(N.current)N.current=!1;else if(!C){const e=b?.trim();if(e.length>1){(async function(e="",t){const n=t.includes("?")?`${t}&query=${e}
1`:`${t}?query=${e}`;let r=`${window.location.origin}${n}`;"http://localhost:9000"===window.origin&&(r=`https://web-dev.ac.edwardjones.com${n}&ejapihash=f2c33108ddf904f5d24deaaa843d9aa1`);let a=await fetch(r).then(e=>e.json());const{results:o}=a;return o.map(({title:e,highlighting:t,fadata:n})=>({text:e,html:t,faData:n||{}}))})(e,"all"===L?q:"financial_advisor"===L?z:H).then(e=>{g({type:po,payload:e})})}else g({type:po,payload:[]})}},[b]),n.useEffect(()=>{if(!u){const e=al("fasearch"),t=al("searchtype");if(p.set("faSearchComponent","unified_search_form",{path:"/"}),e&&!ae&&(ae=ae||e),t&&!oe&&(oe=2==t?"location":"financial_advisor"),oe){g({type:go,payload:oe});const e=new CustomEvent("unifiedSearchQuery",{detail:{query:ae,searchtype:oe,selectedContentType:oe}});setTimeout(()=>{document.dispatchEvent(e)},100)}ae&&(d(!0),g({type:mo,payload:ae}),y(ae),N.current=!0,sl(ae,W,G,Y,Q,Z,ee,te,re,g).then(e=>{const t=ce(e,"all"),n=ce(e,"financial_advisor"),r=ce(e,"location"),a=ce(e,oe);0===t&&0===n&&0===r?il(ae,0,oe):oe&&a&&il(ae,a,oe),g({type:vo,payload:e}),d(!1)}))}},[]),n.useEffect(()=>{document.querySelector(".list-box-popover-unified-search").parentNode.removeAttribute("aria-hidden")},[]);return r.jsxs(r.Fragment,{children:[!u&&r.jsx(nl,{termLabel:F,query:B}),r.jsxs("form",{role:"search",name:"search-form","aria-label":"Edward Jones",class:A`flex flex-col md:flex-row md:items-end lg:pt-4 mb-6 md:mb-8 lg:mb-12 ${e}`,ref:h,...m,action:D,tabindex:"-1",onSubmit:e=>{e.preventDefault();const t=v?.current?.value?.trim()?.length>1?v.current.value?.trim():"";if(""===t)x(!0),v.current.focus();else{if(g({type:mo,payload:t}),u)p.set("faSearchLookup","unified_search_modal",{path:"/"}),window.location.href=`${D}?query=${encodeURIComponent(t)}&contentType=${L}`;else{const e=`${D}?query=${encodeURIComponent(t)}&contentType=${L}`;window.history.pushState({path:e},"",e),g({type:ho,payload:"relevance"}),g({type:So,payload:!1}),d(!0),sl(t,W,G,Y,Q,Z,ee,te,re,g).then(e=>{ce(e,L);const n=ce(e,"all"),r=ce(e,"financial_advisor"),a=ce(e,"location");g({type:bo,payload:n}),g({type:vo,payload:e}),g({type:yo,payload:r}),g({type:wo,payload:a});const o=ce(e,L);0===n&&0===r&&0===a?il(t,0,L):L&&o&&il(t,o,L),d(!1)}),ll()}const e=new CustomEvent("unifiedSearchQuery",{detail:{query:t,searchtype:Q,selectedContentType:L}});document.dispatchEvent(e),p.set("viewtype","list",{path:"/"})}clearTimeout(fe.current),fe.current=setTimeout(()=>{de()},500)},"data-testid":"unified-search-form",children:[r.jsxs("div",{className:"md:mr-5 md:mb-0 "+(w?"mb-10":"mb-5"),children:[o&&!se&&r.jsx("div",{className:"flex flex-col items-end mb-3",children:r.jsxs("button",{type:"button",className:"relative top-2 button-tracking text-lg",onClick:()=>{l(),x(!1),s(!1),g({type:po,payload:[]}),h.current.reset(),c()},"data-testid":"cancel-search-button",children:[r.jsx("span",{"aria-hidden":"true",children:R}),r.jsxs("span",{className:"sr-only",children:[R," ",P]})]})}),r.jsx("div",{id:"search-label",className:"md:w-67 text-black mb-1.5 text-sm leading-21",children:$}),r.jsxs("div",{className:"md:w-67 text-sm md:flex md:flex-col-reverse relative",children:[r.jsx("label",{for:t,className:"sr-only text-xs relative block md:w-67 "+(w?"text-red-500 font-bold":""),"data-testid":"input-label",children:U||" "}),r.jsx("input",{type:"text",id:t,name:"query",className:"form-input h-12 md:w-67 w-full leading-21 md:text-base md:leading-normal "+(w?"border-red-500 bg-red-50 focus:outline-none":""),autoComplete:"off",onFocus:e=>{s(!0),e.target.value<1&&i()},onInput:e=>{e.target.value.length>0?(y(e.target.value),l(),x(!1),k(-1),j(!1),T(e.target.value)):(i(),y(""))},...b?.trim().length>1&&K?.length>0&&{onKeyDown:e=>{if(13===e.keyCode&&S>-1){e.preventDefault();let t="financial_advisor"===L?"faData":"text",n=K[S][t];ue(n),de()}if(40===e.keyCode)if(j(!0),S===K.length-1)y(_),k(-1);else{const e=S+1;y(K[e]?.text),k(e)}else if(38===e.keyCode)if(j(!0),0===S)y(_),k(K.length);else{const e=-1===S?K?.length-1:S-1;y(K[e]?.text),k(e)}}},"data-testid":"search-text","aria-required":"true",ref:v,"aria-describedby":w?"seach-error":"",value:b}),b?.trim()?.length>1&&K?.length>0?r.jsx("div",{className:"absolute top-12 w-full suggestion-list-container",children:r.jsx(cl,{contentType:L,onSelect:ue,onClose:de,focusedIndex:S})}):null,w?r.jsx("span",{id:"seach-error",class:"text-red-500 text-sm absolute top-12 w-full left-0","data-testid":"search-error-message",dangerouslySetInnerHTML:{__html:X}}):null]})]}),r.jsxs("div",{class:"md:w-60 md:mr-5 lg:mr-6","data-testid":"filter-content-type",children:[r.jsx("div",{id:"content-type-label",className:"md:w-60 text-black mb-1 text-sm leading-21",children:O}
1),r.jsx(tl,{"aria-labelledby":"content-type-label",options:I(V,f),optionValue:f?L+"_unified":L,onChange:e=>{const t=e.replace("_unified","");g({type:go,payload:t}),g({type:po,payload:[]})},className:"w-full h-12",buttonClasses:"truncate text-sm h-12",dropdownItemClass:"list-box-popover-unified-search",dropdownOptionsClass:"px-4 py-3 list-box-options-unified-search",isPortal:!1})]}),r.jsx("button",{type:"submit",className:"btn btn-primary md:mt-0 w-full md:w-auto lg:min-w-[7.5rem] h-12 mt-6 leading-tight","data-gtm-category":"site search","data-gtm-action":"click","data-gtm-label":"search","data-testid":"search-button-active",children:P})]})]})}const fl=({class:e="",children:t=null,countryLabel:a="",countryLogo:o,countryLogoAltText:i,actions:l=[],search:s={},search_unified:c={},searchActive:u=!1,setSearchActive:d=()=>{},onCancel:f=()=>{},isUnifiedSearch:m,...p})=>{const g=ie(e=>e?.searchSuggestions),[h,v]=n.useState(!0),b=()=>v(!0),y=()=>v(!1);return r.jsxs("div",{class:A`container bg-white py-16 flex flex-col pt-3 ${e} global-mobile-search-container`,...p,children:[m?r.jsx(To,{...c,children:r.jsx(dl,{searchActive:u,setSearchActive:d,closeFrequentList:y,openFrequentList:b,onCancel:f,isModal:!0,isHeader:!0})}):r.jsx(_e,{searchActive:u,setSearchActive:d,closeFrequentList:y,openFrequentList:b,onCancel:f,...s}),h&&u&&!m&&r.jsx(On,{...s}),g?.length>0&&u&&!m?r.jsx(uo,{...s}):null]})},ml="unified";function pl(e){return r.jsx(S,{children:r.jsx(Ae,{...e})})}const gl=()=>{const e=document.querySelector(".menu-toggle"),t=document.querySelector(".first-access"),n=document.querySelector(".last-access");document.addEventListener("keydown",e=>{("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault()))}),e.focus()};function hl(e){const[t,a]=n.useState(!1),{md:o,lg:i}=ne(),l=!o&&!i;return!i&&document.addEventListener("keydown",function(e){"Escape"===e.key&&a(!1)}),r.jsx(ce.Provider,{value:{isOpen:t,toggle:()=>{a(!t),l&&function(){const e=document.querySelectorAll(".notification.block-block-content");e&&e.forEach(e=>{e.classList.toggle("hidden")})}()}},...e})}function vl({children:e=null}){return r.jsx(Se,{children:r.jsx(hl,{children:e})})}function bl({class:e="",children:t=null,countryLabel:a="",countryLogo:o,countryLogoAltText:i,mobile_menu_alignment:l="right",actions:s=[],search:c={},searchActive:u=!1,setSearchActive:d=()=>{},variation:f="2",isValidEID:m,SuppressFaCtaLabel:p,faProfileUrl:g,isNavOpen:h,...v}){const{md:b,lg:y}=ne();return ie(e=>e?.searchSuggestions),n.useState(b||y),r.jsxs("div",{class:A`container bg-white flex flex-col relative border-t ${e} ${u?"pt-4":""} py-3 md:py-16 min-h-screen`,...v,children:[s.map(({name:e,url_str:t})=>r.jsx(Ln,{isValidEID:m,class:"mt-3 mb-2",href:m?g:t,testId:"fa-3",tabIndex:b||h?0:-1,children:m?p:e})),r.jsx("div",{class:"md:mt-7",children:t}),r.jsx("div",{class:"mt-15 sm:hidden",children:r.jsx(pl,{label:a,countryLogo:o,templateId:".language-dropdown"})})]})}function yl({navTree:e=[],branding:t={},menuToggle:a={},search:o={},search_unified:i={},countryLabel:l="",countryLogo:s,countryLogoAltText:c,mobile_menu_alignment:u="",actionsTree:d=[],loginTree:f=[],internalLinks:m={},backToyourAccount:p={},variation:g="2",pageTitle:h="",userDetails:v,SuppressFaStatus:b,SuppressFaCtaLabel:y,fetchingUserDetails:w,megaNavStickyParams:x,navigationStyle:S}){const k=new E,{md:_,lg:T}=ne(),C=ie(e=>e?.searchSuggestions),j=le(),{isOpen:N,toggle:L}=n.useContext(ce),O=!_&&!T,D=ae(),I=n.useRef(null),[M,$]=n.useState(!1),[F,B]=n.useState(!1),q=e.map(R),H=document.querySelectorAll('[data-widget="site_notifications"]'),z=document.getElementById("global-header-wrapper");n.useEffect(()=>{"32px"!=window.getComputedStyle(I?.current).fontSize||U()||$(!0)},[I,M]);const K=n.useRef(),V=S&&"relative",[W,G]=n.useState(!1),[Y,Q]=n.useState(!1),J=window.location.pathname?.split("/")?.[1],X=J?.replaceAll("/"),Z=Boolean(v?.faEntityNo&&v?.faViewProfile&&String(v.faViewProfile).includes(X)&&"true"===b),ee=v?.faViewProfile||"",te=()=>G(!1),[oe,se]=n.useState(!0),fe=()=>se(!0),ge=()=>se(!1),he=()=>{G(!W);const e=window.location.href;window.dataLayer&&(dataLayer.push({event:"buttonClick",buttonClickInfo:{clickText:"Site Search",pageURL:e}}),dataLayer.push({event:"siteNavClick",siteNavClickInfo:{clickText:"Site Search",pageURL:e,clickURL:"eyebrow",level:"header:eyebrow"}}))},ve=()=>{Q(!Y);const e=window.location.href;if(dataLayer.push({event:"siteNavClick",siteNavClickInfo:{clickText:"Site Search",pageURL:e,clickURL:"eyebrow",level:"header:eyebrow"}}),!Y){const e='button, [href], input, select, textarea, [tabindex]:not
1([tabindex="-1"])',t=document.querySelector("#mobileSearchContainer"),n=t.querySelectorAll(e)[0],r=t.querySelectorAll(e),a=r[r.length-1];document.addEventListener("keydown",e=>{("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?document.activeElement===n&&(a.focus(),e.preventDefault()):document.activeElement===a&&(n.focus(),e.preventDefault()))}),requestAnimationFrame(()=>{t.querySelectorAll(e)[1]?.focus()})}},[ye,we]=n.useState(!1),xe=new URLSearchParams(window.location.search),Ee=()=>{const e=document.querySelector(".js-movetop");x?.meganav_sticky_status&&e&&O&&x?.meganav_sticky_status&&x?.meganav_sticky_mobile&&e.classList.add("hidden")},Se=()=>!!x.meganav_sticky_status&&(T&&x.meganav_sticky_desktop||O&&x.meganav_sticky_mobile||!T&&_&&x.meganav_sticky_tablet),Te=()=>{let e=45;const n=document.getElementById("tc-logo"),r=document.getElementById("online-access-nav");H?.forEach(t=>{e+=t?.clientHeight}),window.scrollY<e?(z?.classList?.remove("sticky-header"),K?.current?.classList?.remove("fixed"),K?.current?.classList?.remove("-top-48"),"tc"===t.type&&(n.style.top="revert-layer"),r&&z&&(z.style.zIndex="")):window.scrollY>=e&&Se()&&(z?.classList?.add("sticky-header"),K?.current?.classList?.add("fixed"),K?.current?.classList?.add("-top-48"),"tc"===t.type&&(n.style.position="relative",n.style.top="0px"),r&&z&&(z.style.zIndex="1001"))};n.useEffect(()=>{D&&!N&&!T&&z&&x?.meganav_sticky_status&&(x?.meganav_sticky_tablet||x?.meganav_sticky_mobile)&&(O?x?.meganav_sticky_mobile&&D===re?z.classList.add("-top-48"):z.classList.remove("-top-48"):x?.meganav_sticky_tablet&&D===re?z.classList.add("-top-48"):z.classList.remove("-top-48"))},[D]),n.useEffect(()=>{document.querySelectorAll("#page-main, .global-footer, #find-fa-cta, body>img, .breadCrumbContainer, #skip-nav").forEach(e=>{e.classList.toggle("sm:hidden",Y||N),e.classList.toggle("md:block",Y||N),e.setAttribute("aria-hidden",Y||N)});document.getElementById("hamburger").classList.contains("open")?document.body.classList.add("overflow-hidden"):document.body.classList.remove("overflow-hidden")},[Y,N]),document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".mega-menu-container > li > a.active"),t=document.querySelectorAll(".mega-menu-container > li > a.active + ul > li > a"),n=Array.from(t).some(e=>e.classList.contains("active"));e&&n&&e.classList.remove("active")}),window.addEventListener("SEARCH_VARIANT_CHANGE",()=>{const e=z&&z.dataset.searchVariant;B(e===ml)}),n.useEffect(()=>{document.querySelectorAll("#rightSection, #branding").forEach(e=>{e.classList.toggle("sm:hidden",Y),e.classList.toggle("md:block",Y),e.setAttribute("aria-hidden",Y)}),document.querySelectorAll("#navigationContainer").forEach(e=>{e.classList.toggle("sm:hidden",Y&&N),e.classList.toggle("md:block",Y&&N),e.setAttribute("aria-hidden",Y&&N)})},[Y]),n.useEffect(()=>{!_&&u&&document.querySelectorAll("#rightSection").forEach(e=>{e.classList.toggle("pl-0",Y||N)})},[Y,N]),n.useEffect(()=>{!W&&_&&C?.length&&j({type:be})},[W,C]),n.useEffect(()=>{N&&!T&&gl(),P(!(!N||!_||T))},[N]),n.useEffect(()=>{Y&&!T&&gl()},[Y]),n.useEffect(()=>{if(z){const e=z.dataset.searchVariant;B(e===ml),window.addEventListener("scroll",((e,t)=>{let n=!1;return function(...r){n||(e(...r),n=!0,setTimeout(()=>n=!1,t))}})(Ee,50)),T?window.addEventListener("scroll",Te,{passive:!0}):Se()&&z?.classList?.add("sticky-header-mob-tablet")}return()=>{T&&window.removeEventListener("scroll",()=>Te)}},[]);const Ce=e=>{const t=document.querySelector("#tabletMegaMenu"),n=document.querySelector("#hamburger");t===e.target||t&&t.contains(e.target)||n===e.target||n&&n.parentNode.contains(e.target)||N&&L()};return n.useEffect(()=>{if(!O)return document.addEventListener("mousedown",Ce),document.addEventListener("click",Ce),document.addEventListener("touchstart",Ce),()=>{document.removeEventListener("mousedown",Ce),document.removeEventListener("click",Ce),document.removeEventListener("touchstart",Ce)}}),n.useEffect(()=>{if(_&&!T)if(W){const e=window.scrollY;document.body.dataset.scrollY=e,document.body.style.top=`-${e}px`,document.body.classList.add("overflow-hidden","fixed")}else{const e=parseInt(document.body.dataset.scrollY||"0");document.body.style.top="",document.body.classList.remove("overflow-hidden","fixed"),delete document.body.dataset.scrollY,window.scrollTo({top:e,behavior:"instant"})}},[W]),r.jsxs(r.Fragment,{children:[r.jsx("header",{class:"container flex flex-col border-b lg:border-0 relative lg:static [max-width:1214px]",id:`${h}-header-sq`,ref:_&&!T&&K,"data-testid":"header-wrapper",children:r.jsxs("nav",{"aria-label":"primary",children:[T&&r.jsx("div",{class:"border-b border-gray-200 flex items-center justify-end order-first py-1",ref:K,children:r.jsxs("div",{className:"flex items-center space-x-2",children:[k.get("PERSISTENT_EJW")&&r.jsx(so,{href:m.onlineAccessLink,children:m.onlineAccessText}),r.jsx(pl,{label:l,countryLogo:s,countryLogoAltText:c,templateId:".language-dropdown",disabled:W}),r.jsx(pe,{placeholder:o.placeholder,sitesearchlabel:o.sitesearchlabel,toggleSearch:he,ariaExpanded:W,variation:g})]})}),r.jsxs("div",{className:`flex items-center justify-between space-x-4 h-16 lg:h-12 lg:mt-3 ${t.type} -${oe}
1`,children:[r.jsx(de,{class:"-ml-6 lg:m-0 shrink-0 "+("tc"==t.type?"bg-yellow-500 lg:bg-transparent":"bg-yellow-500"),src:t.imgSrc,href:t.href,toggle:a,alt:t.imgAlt,type:t.type,searchActive:ye,mobile_menu_alignment:u}),r.jsxs("div",{id:"rightSection",class:"md:flex lg:h-full",children:[r.jsxs("div",{className:`lg:flex-1 ${V} main-links-wrapper ${_&&!T&&"mr-4"} ${T&&"mr-3"} ${t.type}`,children:[_&&!T&&r.jsxs("div",{class:"flex items-center justify-evenly space-x-2",children:[r.jsx(pe,{placeholder:o.placeholder,sitesearchlabel:o.sitesearchlabel,toggleSearch:he,ariaExpanded:W,variation:g}),Z?r.jsx("span",{children:d.map(({name:e,url_str:t})=>r.jsx(Ln,{isValidEID:Z,href:ee,testId:"fa-1",children:y}))}):r.jsx("span",{children:void 0===k.get("LOG_DATA")?f.map(({name:e,url_str:t})=>r.jsx(De,{href:t,variation:g,children:e})):r.jsx(De,{href:p.url_str,variation:g,children:p.name})})]}),T&&(S?r.jsx(Nn,{...q}):r.jsx(Ge,{class:"w-full",tabindex:"0",d:!0,items:q,closeSearch:te,showDialog:W,setNavStatus:e=>{P(!(O||!e||!x?.meganav_sticky_status))}}))]}),r.jsx("div",{id:"personalization-Header-Buttons",children:r.jsx("div",{class:"flex items-center space-x-2 md:space-x-3 shrink-0 "+(Z?"lg:flex-row-reverse":""),children:_?r.jsxs(r.Fragment,{children:[r.jsxs(lo,{close:te,showDialog:W,headerRef:K,megaNavStickyParams:x,isZoomText:M,isUnifiedSearch:F,class:""+(T?"h-3/4":_&&!T?"h-[50vh]":"h-full"),children:[F?r.jsx(To,{...i,children:r.jsxs("div",{className:"flex w-full items-center",children:[r.jsx(dl,{isModal:!0,openFrequentList:fe,class:"mt-7 md:mt-8",closeFrequentList:ge,isHeader:!0}),r.jsxs("button",{className:"close-button md:ml-6 lg:ml-7 mt-4 md:mt-6 h-6 button-tracking",onClick:()=>{te(),ke(o.cancelSearchLabel)},children:[r.jsx(me,{className:"block w-6 h-6",src:We}),r.jsx("span",{className:"sr-only",children:o.cancelSearchLabel})]})]})}):r.jsxs(r.Fragment,{children:[r.jsx(_e,{openFrequentList:fe,class:"mb-auto md:max-w-md lg:max-w-lg",closeFrequentList:ge,...o}),r.jsxs("button",{className:"close-button absolute top-15 md:-right-16 lg:-right-28 button-tracking",onClick:()=>{te(),ke(o.cancelSearchLabel)},children:[r.jsx(me,{className:"block w-6 h-6",src:We}),r.jsx("span",{className:"sr-only",children:o.cancelSearchLabel})]})]}),oe&&!F?r.jsx(On,{...o}):null,C?.length>0&&!oe&&!F?r.jsx(uo,{...o}):null]}),T&&(void 0===k.get("LOG_DATA")?f.map(({name:e,url_str:t})=>!ye&&r.jsx(De,{href:t,variation:g,isValidEID:Z,children:e})):!ye&&r.jsx(De,{href:p.url_str,variation:g,isValidEID:Z,children:p.name})),Z&&_&&!T?r.jsx("span",{children:void 0===k.get("LOG_DATA")?f.map(({name:e,url_str:t})=>r.jsx(De,{isValidEID:Z,href:t,variation:g,children:e})):r.jsx(De,{href:p.url_str,variation:g,isValidEID:Z,children:p.name})}):r.jsx("span",{class:"mr-8",children:d.map(({name:e,url_str:t})=>r.jsx(Ln,{isValidEID:Z,class:Z?"lg:ml-0 lg:mr-2.5":"",href:Z?v&&v.faViewProfile:t,testId:"fa-1",children:Z?y:e}))}),_&&r.jsx(ue,{class:"lg:hidden md:pr-0 z-50",searchActive:ye,...L,"aria-expanded":N,"aria-label":N?"Close menu":"Open menu"})]}):r.jsxs(r.Fragment,{children:[r.jsx(pe,{placeholder:o.placeholder,sitesearchlabel:o.sitesearchlabel,toggleSearch:ve,ariaExpanded:Y,variation:g}),void 0===k.get("LOG_DATA")?f.map(({name:e,url_str:t})=>!ye&&r.jsx(De,{class:"z-40",href:t,variation:g,isValidEID:Z,children:e})):!ye&&r.jsx(De,{class:"z-40",href:p.url_str,variation:g,isValidEID:Z,children:p.name}),!_&&r.jsx(ue,{class:"flex items-center lg:hidden pl-3 z-50",searchActive:ye})]})})})]})]}),N&&!_&&r.jsxs("div",{id:"mobileMegaMenu",class:(N?"open":"")+" fixed top-16 left-0 right-0 w-full h-[calc(100vh-4rem)] overflow-y-auto","aria-hidden":!N,children:[r.jsx("div",{id:"mobileOverlay",class:`overlayMenu ${N?"o
1pen":""} z-auto bg-white w-full h-screen fixed left-0`}),r.jsx(bl,{id:"navigationContainer",class:A`${["z-20 overflow-y-scroll","top-0"]}`,search:o,countryLabel:l,actions:d,searchActive:ye,setSearchActive:we,variation:g,mobile_menu_alignment:u,isValidEID:Z,SuppressFaCtaLabel:y,faProfileUrl:ee,isNavOpen:N,children:r.jsxs("div",{id:"tabletMegaMenu",class:(N?"open":"")+" absolute w-full shadow-lg bg-white -mx-6 h-screen md:h-min","aria-hidden":!N,children:[r.jsx(Ke,{class:"md:border-t px-2",items:q,disableTabbing:!_,isNavOpen:N}),r.jsx("div",{class:"pl-6 pb-8 mt-2",children:r.jsx(pl,{disableTabbing:!_,isNavOpen:N,label:l,countryLogo:s,countryLogoAltText:c,templateId:".language-dropdown"})})]})})]}),!_&&r.jsx("div",{hidden:!Y,children:r.jsx(fl,{id:"mobileSearchContainer",class:A`${["absolute top-0 left-0 right-0 h-screen z-50",!Y&&"hidden"]}`,search:o,search_unified:i,countryLabel:l,actions:d,searchActive:!0,setSearchActive:we,onCancel:ve,isUnifiedSearch:F,"aria-hidden":!Y,role:"dialog","aria-modal":"true","aria-labelledby":"search-toggle"})}),_&&!T&&r.jsxs("div",{id:"tabletMegaMenu",class:`${N?"open":""} absolute w-full shadow-lg bg-white left-0 ${!U()&&"overflow-y-scroll"}`,children:[r.jsx(Ke,{class:"border-t px-2",items:q,disableTabbing:!T,isNavOpen:N,isZoomText:M}),r.jsx("div",{class:"pl-6 pb-8 mt-2",children:r.jsx(pl,{label:l,countryLogo:s,countryLogoAltText:c,templateId:".language-dropdown",disableTabbing:!T,isNavOpen:N})})]})]})}),_&&!T&&k.get("PERSISTENT_EJW")&&r.jsx("div",{className:"py-2 px-4 text-right flex justify-end",children:r.jsx(so,{href:m.onlineAccessLink,children:m.onlineAccessText})}),"pdf"==xe.get("viewtype")&&"homepage"==xe.get("pagetype")&&r.jsx(co,{items:q}),r.jsx("span",{ref:I,className:"hidden",id:"zoom-text-only",children:"Zoom text only test content"})]})}function wl({navTree:e=[],actionsTree:t=[],loginTree:a=[],countryLabel:o="",branding:i={},suggestionstart:l=0,suggestionEnabled:s=!1,endpointSuggestion:c="",endpointGetFaDetail:u,SuppressFaStatus:d,SuppressFaCtaLabel:f,navigation_style:m,version:p="",...g}){const[h,v]=n.useState({}),{searchQuery:b}=ie(),y=le(),w="undefined"!=typeof window?window.drupal_config_vars:void 0,x={meganav_sticky_desktop:w?.meganav_sticky_desktop,meganav_sticky_mobile:w?.meganav_sticky_mobile,meganav_sticky_status:w?.meganav_sticky_status,meganav_sticky_tablet:w?.meganav_sticky_tablet},S="ab_test"===m?"hidden":"";return n.useEffect(()=>{s&&(b.length>parseInt(l)-1?async function(e="",t=""){const n=await fetch(`${e}?query=${t}`).then(e=>e.json()),{results:r}=n;return r.map(({title:e,highlighting:t,url:n})=>({text:e,html:t,href:n}))}(c,b).then(e=>{y({type:we,payload:e})}):y({type:we,payload:[]}))},[b]),n.useEffect(()=>{if(B()){const e=window.location.search,t=new URLSearchParams(e);const n=(new E).get("facard")||t.get("EID");n&&n.length>0&&async function(e=""){try{const t=await fetch(`${e}`);return await t.json()}catch(e){return{}}}(`${u}${n}`).then(e=>{v(e),(e=>{const t=F();if(e&&e.faEntityNo&&e.faViewProfile&&String(e.faViewProfile).includes(t)&&"true"===d){const e=document.querySelector("footer .SuppressFa");e&&e.classList.remove("hidden")}})(e)})}},[]),r.jsxs("div",{id:"header-version-two",children:["dropdown"!==m&&r.jsx("div",{id:"meganav-config",children:r.jsx(yl,{branding:i,countryLabel:o,navTree:e||[],actionsTree:t||[],loginTree:a||[],userDetails:h,SuppressFaStatus:B()?d:"false",SuppressFaCtaLabel:f,megaNavStickyParams:x,...g})}),"mega_nav"!==m&&r.jsx("div",{className:S,id:"condensed-header",children:r.jsx(yl,{branding:i,countryLabel:o,navTree:e||[],actionsTree:t||[],loginTree:a||[],userDetails:h,SuppressFaStatus:B()?d:"false",SuppressFaCtaLabel:f,megaNavStickyParams:x,navigationStyle:!0,...g})})]})}var xl=Object.freeze({__proto__:null,default:e=>{const[a,o]=n.useState(0);return n.useEffect(()=>{const e=()=>{o(e=>e+1)};return window.addEventListener("stickyNavABTest",e),()=>{window.removeEventListener("stickyNavABTest",e)}},[]),r.jsx(S,{children:r.jsx(vl,{children:t.createElement(wl,{...e,key:a})})})}}),El=({variant:e=D,children:t,dataTestId:n="button",className:a="",...o})=>{const i=`btn-${e}`;return r.jsx("button",{className:`btn ${i} ${a}`,"data-testid":n,...o,children:t})};function Sl(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");
1a.type="text/css","top"===n&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}Sl(".reading-time{align-items:center;display:flex;gap:.5rem;padding:.125rem}.reading-time .read-time-text{font-size:.875rem}");const kl=({readTime:e,readTimeText:t="Min Read",icon:n='<svg xmlns="http://www.w3.org/2000/svg" width="21" height="21" viewBox="0 0 21 21" fill="none">\n<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7045 0.204544C16.3905 0.204544 21 4.81397 21 10.5C21 16.186 16.3905 20.7955 10.7045 20.7955C5.01848 20.7955 0.409058 16.186 0.409058 10.5C0.409058 4.81397 5.01848 0.204544 10.7045 0.204544ZM10.7045 1.70454C5.84691 1.70454 1.90906 5.64239 1.90906 10.5C1.90906 15.3576 5.84691 19.2955 10.7045 19.2955C15.5621 19.2955 19.5 15.3576 19.5 10.5C19.5 5.64239 15.5621 1.70454 10.7045 1.70454ZM10.7045 6.34091C11.1187 6.34091 11.4545 6.67669 11.4545 7.09091L11.4541 10.1895L15.4958 14.2315C15.762 14.4978 15.7862 14.9145 15.5683 15.2081L15.4957 15.2922C15.2028 15.5851 14.7279 15.585 14.435 15.2921L10.1741 11.0303L10.1108 10.9583C10.1091 10.9561 10.1074 10.9539 10.1057 10.9516C10.0983 10.9419 10.0914 10.9324 10.0848 10.9227C10.0728 10.9051 10.0611 10.8862 10.0502 10.8668C10.0424 10.853 10.0355 10.8398 10.029 10.8264C10.0213 10.8104 10.0139 10.7936 10.0071 10.7764C10.0003 10.7592 9.99403 10.7415 9.98847 10.7236C9.98423 10.7102 9.98037 10.6965 9.9769 10.6826C9.97228 10.6638 9.96836 10.6451 9.96516 10.6263C9.95814 10.5853 9.95451 10.5431 9.95451 10.5L9.95838 10.5763C9.95678 10.5606 9.95568 10.5449 9.95507 10.5291L9.95451 10.5V7.09091C9.95451 6.67669 10.2903 6.34091 10.7045 6.34091Z" fill="#444444"/>\n</svg>',textColor:a="text-gray-500",className:o="",dataTestId:i="reading-time"})=>null==e?null:r.jsxs("div",{className:`reading-time ${o}`,"data-testid":i,children:[n&&r.jsx(me,{src:n,className:"w-5 h-5 block",alt:"Reading time",dataTestId:"reading-time-icon"}),r.jsx("p",{className:`read-time-text ${a}`,"data-testId":"reading-time-text",children:`${e} ${t}`})]});Sl(".reading-progress-container{position:absolute;width:100%}.reading-progress-bar{left:0;overflow:hidden;position:fixed;right:0;top:0;width:100%;z-index:1000}.reading-progress-fill{height:100%;transition:width .3s ease-out;will-change:width}.reading-progress-header{align-items:center;display:flex;flex-direction:row;gap:1rem;justify-content:space-between;padding:0 4px;position:relative;top:4.25rem}.reading-progress-time{align-items:center;display:flex;gap:.5rem}.continue-reading-cta{align-items:center;border-left-width:4px;border-radius:.5rem;display:flex;justify-content:space-between}.continue-reading-button{border-radius:.375rem;font-size:.875rem;font-weight:600;padding:.5rem;transition:all .2s ease-in-out}@media (min-width:768px){.reading-progress-header{gap:1.5rem;padding:4px 24px;top:3.75rem}.continue-reading-button{font-size:1rem}}@media (min-width:1024px){.reading-progress-header{align-items:start;flex-direction:column;padding:1.5rem 0;position:absolute;top:6rem}.continue-reading-cta{border-left-width:0;border-right-width:4px;padding:1rem}.continue-reading-button{padding:.75rem}}@media (prefers-reduced-motion:reduce){.reading-progress-fill{transition:none}}@media print{.continue-reading-cta,.reading-progress-bar{display:none}}");const _l=({articleContentRef:e,continueReadingCTA:t={text:"Continue Where You Left Off",ariaLabel:"Continue reading from your last saved position"},progressBarConfig:a={ariaLabel:"Article reading progress",backgroundColor:"#e5e7eb",fillColor:"#10b981",height:"4px"},localStorageKey:o="article-reading-progress",onProgressChange:i,className:l="",dataTestId:s="reading-progress"})=>{if(!("true"===new URLSearchParams(window.location.search).get("enable-reading-progress")))return null;const[c,u]=n.useState(0),[d,f]=n.useState(0),[m,p]=n.useState(null),[g,h]=n.useState(!1),[v,b]=n.useState(null),y=n.useRef(null),w=n.useRef(!1);n.useEffect(()=>{const e=document.getElementById("sneakParent");if(e)try{const t=(e=>{const t=e.trim().split(/\s+/).length;return Math.ceil(t/225)})(e.innerText||e.textContent||"");b(t)}catch(e){}},[]),n.useEffect(()=>{if(o)try{const e=window.location.pathname,t=`${o}-${e}`,n=localStorage.getItem(t);if(n){const{progress:e,timestamp:t}=JSON.parse(n);e<100&&e>0&&(p({progress:e,timestamp:t}),h(!0))}}catch(e){}},[o]);const x=n.useCallback(()=>{const e=document.getElementById("sneakParent");
1if(!e)return 0;const t=e.getBoundingClientRect().top+window.pageYOffset,n=e.offsetHeight,r=window.innerHeight,a=window.pageYOffset,o=Math.max(0,a),i=n-r+t;return Math.min(100,Math.max(0,o/i*100))},[]);n.useEffect(()=>{if(!document.getElementById("sneakParent"))return;const e=()=>{const e=x();u(e),f(t=>{const n=Math.max(t,e);if(o&&n!==t)try{const e=window.location.pathname,t=`${o}-${e}`,r={progress:n,timestamp:(new Date).toISOString()};localStorage.setItem(t,JSON.stringify(r)),n>=100&&h(!1)}catch(e){}return n}),i&&i(e)};let t=!1;const n=()=>{t||(window.requestAnimationFrame(()=>{e(),t=!1}),t=!0)};return window.addEventListener("scroll",n,{passive:!0}),e(),()=>{window.removeEventListener("scroll",n)}},[o,x,i]);const E=n.useCallback(()=>{const e=document.getElementById("sneakParent");if(!e||!m)return;const t=e.offsetHeight,n=e.getBoundingClientRect().top+window.pageYOffset,r=(t-window.innerHeight+n)*m.progress/100;window.scrollTo({top:Math.max(0,r),behavior:"smooth"}),h(!1),w.current=!0},[m]);n.useEffect(()=>{const e=window.history?.scrollRestoration;return window.history&&"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual"),window.scrollTo(0,0),()=>{window.history&&e&&(window.history.scrollRestoration=e)}},[]);const S=`${d}%`;return r.jsxs("div",{className:`reading-progress-container ${l}`,"data-testid":s,children:[r.jsx("div",{ref:y,className:"reading-progress-bar",role:"progressbar","aria-label":a?.ariaLabel||"Article reading progress","aria-valuenow":Math.round(d),"aria-valuemin":"0","aria-valuemax":"100","aria-live":"polite","aria-atomic":"true",style:{backgroundColor:a.backgroundColor,height:a.height},"data-testid":"progress-bar",children:r.jsx("div",{className:"reading-progress-fill",style:{width:S,backgroundColor:a.fillColor},"data-testid":"progress-fill"})}),r.jsxs("div",{className:"reading-progress-header","data-testid":"progress-header",children:[v&&kl?r.jsx(kl,{readTime:v,className:"reading-progress-time",dataTestId:"estimated-read-time"}):null,g&&m&&El?r.jsx("div",{className:"continue-reading-cta bg-gray-100 border-green-500","data-testid":"continue-cta",children:r.jsx(El,{onClick:E,"aria-label":t.ariaLabel,className:"continue-reading-button hover:-translate-y-0.5 hover:shadow-lg focus:outline-2 focus:outline-green-500 focus:outline-offset-2",dataTestId:"continue-reading-button",children:t.text})}):null]})]})};_l.propTypes={continueReadingCTA:Je.shape({text:Je.string,ariaLabel:Je.string}),progressBarConfig:Je.shape({ariaLabel:Je.string,backgroundColor:Je.string,fillColor:Je.string,height:Je.string}),localStorageKey:Je.string,onProgressChange:Je.func,className:Je.string,dataTestId:Je.string};var Tl=Object.freeze({__proto__:null,default:_l});function Cl({children:e=null,...t}){return r.jsxs("button",{...t,children:[e&&r.jsx("span",{class:"sr-only",children:e}),r.jsx(me,{src:We})]})}function Al({children:e=null,closeLabel:t="Close",onClosed:a=()=>null,...o}){const{class:i,...l}=o,{isClosed:s,setClosed:c}=function(e=()=>null){const[t,r]=n.useState(1),a=2===t;return n.useEffect(()=>{a&&e()},[a]),{isClosed:a,setClosed:()=>r(2)}}(a);return r.jsx("section",{class:A` 2 ${s&&"hidden"} 3 ${i} 4 `,hidden:s,...l,children:s?null:r.jsx("div",{class:"responsive-grid container py-6 notification",children:r.jsxs("div",{class:"flex items-start col-span-4 md:col-span-8 lg:col-start-3",children:[r.jsx("div",{class:"flex-1 space-y-2",children:e}),r.jsx(Cl,{class:"shrink-0 w-6 h-6 hover:text-gray-400",onClick:c,"aria-describedby":"global-notification",children:t})]})})})}const jl=new E;var Nl=Object.freeze({__proto__:null,default:({label:e,body:t,link:a,type:o,...i})=>{const[l,s]=n.useState(!0);return n.useEffect(()=>{const e=jl.get(o);s(Boolean(e)),document.querySelectorAll(".notification").forEach(e=>
4{if(!1!==l){const e=document.querySelector(`[data-prop-type="${o}"]`);e&&e.classList.remove("hidden")}})},[l]),l?null:r.jsx(S,{children:r.jsxs(Al,{class:"container","aria-labelledby":e?"global-notification":void 0,onClosed:()=>{jl.set(o,!1,{path:"/"});const e=document.querySelector('[aria-labelledby="global-notification"]');(e?.classList.contains("hidden")||e?.hasAttribute("hidden"))&&s(!0)},children:[e&&r.jsx("div",{class:"heading-4",id:"global-notification",children:e}),r.jsx("div",{class:"rich-text",dangerouslySetInnerHTML:{__html:t}}),a&&r.jsxs("div",{children:[r.jsx("i",{class:"text-black-500 mt-2 text-lg font-bold hover:underline inline-block",dangerouslySetInnerHTML:{__html:a}}),r.jsx("svg",{class:"fill-current w-3 h-3 mx-1 inline-block",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512",children:r.jsx("path",{d:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"})})]})]})})}});const Ll=a.lazy(()=>Promise.resolve().then(function(){return Ml}).then(e=>e.SkipNavLink)),Ol=a.lazy(()=>Promise.resolve().then(function(){return Ml}).then(e=>e.SkipNavLinkContainer));var Dl=Object.freeze({__proto__:null,default:function({label:e="",...t}){return r.jsx(a.Suspense,{fallback:null,children:r.jsx(Ol,{children:r.jsx(Ll,{...t,children:e})})})}});const Rl=a.lazy(()=>Promise.resolve().then(function(){return Ml}).then(e=>e.SkipNavLink));var Il=Object.freeze({__proto__:null,default:function({label:e="",...t}){return r.jsx(a.Suspense,{fallback:null,children:r.jsx(Rl,{...t,children:e})})}});var Ml=Object.freeze({__proto__:null,SkipNavLink:function(e){return r.jsx("a",{class:"skip-nav-link",...e})},SkipNavLinkContainer:function({class:e="",...t}){return r.jsx("div",{class:A`skip-nav-link-container ${e}`,...t})},SkipNavContent:function(e){return r.jsx("div",{...e})}})}(globalThis.EJRuntime,globalThis.EJRuntime.preact,globalThis.EJRuntime.hooks,globalThis.EJRuntime.jsxRuntime,globalThis.EJRuntime.compat,globalThis.EJRuntime.compat,globalThis.EJRuntime.compat);
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.