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}}var s=l(o);e.mountWidget({selector:"[data-widget=choose-fa-component]",widgetName:"choose-fa",load:()=>Promise.resolve().then(function(){return L})});const c=(e,t,n,r,o=!1)=>{const i=e&&e,l=t&&t;return a.h(i||"h2",{className:o?"heading-4 text-xl leading-snug md:mt-6 md:text-2xl":"container px-0 wide-container heading-2 text-4xl md:text-5xl pb-2","data-testid":r?`${r}-heading-${n}`:`${t}-heading`,id:r?`${r}-heading-${n}`:`${t}-heading`},l)};var d=Object.getOwnPropertySymbols,u=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable;var m=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;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).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]))u.call(n,i)&&(a[i]=n[i]);if(d){r=d(n);for(var l=0;l<r.length;l++)f.call(n,r[l])&&(a[r[l]]=n[r[l]])}}return a},p=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||h,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 d=l.substring(s+1,l.length).trim();'"'===d[0]&&(d=d.slice(1,-1)),n[c]=v(d,o)}}}return n},g=function(e,t,n){var r=n||{},a=r.encode||b;if("function"!=typeof a)throw new TypeError("option encode is invalid");if(!w.test(e))throw new TypeError("argument name is invalid");var o=a(t);if(o&&!w.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(!w.test(r.domain))throw new TypeError("option domain is invalid");i+="; Domain="+r.domain}if(r.path){if(!w.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},h=decodeURIComponent,b=encodeURIComponent,w=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/;function v(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 y=function(){function e(e,t){var n=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies=function(e,t){return"string"==typeof e?p(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=p(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=m({},this.cookies,((r={})[e]=t,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=g(e,t,n)),this._emitChange({name:e,value:t,options:n})},e.prototype.remove=function(e,t){var n=t=m({},t,{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=m({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=g(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}();const k=(e="",t="")=>{const n={event:"rightRailClick",rightRailClickInfo:{clickText:e,pageURL:window.location.href,clickURL:_(t)}};var r;r=n,window.dataLayer&&window.dataLayer.push(r)},_=e=>/^(https?:)?\/\//i.test(e)||/^www\./i.test(e)?e:`${window.location.origin}${e}`;async function S(e,t){if("undefined"==typeof process||!process?.env)return"";const n=process.env,r=n.STORYBOOK_LOCATION_SEARCH_ENDPOINT,a=n.STORYBOOK_VIRTUAL_EARTH_KEY,o=await fetch(`${r}/${e},${t}?`+new URLSearchParams({key:a,includeEntityTypes:"address",output:"json"})),{resourceSets:i}=await o.json();try{const{addressOfLocation:e}=i[0].resources[0],{postalCode:t,locality:n,adminDivision:r}=e[0];return`${n}, ${r} ${t}`}catch{return""}}"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;const C=t.lazy(()=>Promise.resolve().then(function(){return ne})),j=t.lazy(()=>Promise.resolve().then(function(){return gn}));async function E(e="",t,n){e=e.trim();const r=await fetch(`${t}&`+new URLSearchParams({query:e})),{landingpage:a,results:o}=await r.json(),i=[],l=(e,t)=>i.indexOf(e)?(i.push(e),e):`${e}, ${t}`;return o.slice(0,10).map(({type:e,fapage:t,address:n,title:r,...o},i)=>({...o,description:n,id:`${e}_${btoa(String.fromCharCode(...(new TextEncoder).encode(r)))}_${i}`,type:e,url:"location"===e?a:t,value:"location"===e?r:l(r,n)}))}var L=Object.freeze({__proto__:null,default:e=>{const{heading_level:a,heading:o,subtext:i,tiles:l,background_color:s,page_type:d,sub_heading:u,show_subheading:f="1"}=e,m=new y,[p,g]=n.useState(null),h=["/us-en/search/financial-advisor/results","/ca-en/search/financial-advisor/results","/ca-fr/recherche/conseiller-en-investissement/resultats","/us-en/search/find-a-financial-advisor","/ca-en/search/find-a-financial-advisor","/ca-fr/recherche/recherche-de-conseiller-en-investissement"],b="1"===f&&u;n.useEffect(()=>{try{let e=m.get("faSearchLookup");const t=window.location.pathname;if(h.includes(t)){let t="";if(e)t=e;else if(document.referrer){const e=window.location.hostname;new URL(document.referrer).hostname!==e&&(t="organic_search_fa_redirect")}else t="fa_main_component_direct_search";"null"===t&&(t=null),dataLayer.push({event:"faSearchPageLoad",faSearchInfo:{faSearchLookup:t||"fa_main_component_direct_search"}})}}catch(e){}},[]);const w=window.location.pathname.includes("/ca-en")||window.location.pathname.includes("/ca-fr");return l&&l.filter(e=>"match-quiz"===e.tiles_type),r.jsx("div",{className:"choose-fa personalization-Hero-Banner",id:"personalization-FA-Search-FW",children:r.jsx("div",{className:"webinar_pages"==d?`${s} py-6 sm:pt-4 md:pb-8 md:pt-0 lg:pt-16`:`${s} py-6 sm:pt-4 md:pb-8 md:pt-10`,children:r.jsxs("div",{className:"container wide-container","data-testid":"choose-fa",id:"choose-fa-wrapper",children:[c(a,o),b?r.jsx("div",{className:"sub-heading text-lg leading-snug r
1ich-text [&_p]:leading-[1.25]",dangerouslySetInnerHTML:{__html:u},"data-testid":"fa-sub_heading"}):null,r.jsx("div",{className:"gap-6 flex flex-wrap justify-between mt-6 lg:mt-8",children:l.map((e,n)=>"match-quiz"==e.tiles_type?r.jsx(t.Suspense,{fallback:null,children:r.jsx(C,{...e,index:n,isCanadaLocale:w})}):e.tiles_type&&e.tiles_type.includes("search")?r.jsx(t.Suspense,{fallback:null,children:r.jsx(j,{...e,index:n,fetchLocationDescriptionChooseFA:S,fetchAdvisorSearchSuggestionsChooseFA:E,isCanadaLocale:w,setRerender:g,rerender:p})}):void 0)}),r.jsx("div",{className:"mt-4 md:mt-8 lg:px-20 text-center rich-text leading-snug fa-search-disclaimer",dangerouslySetInnerHTML:{__html:i}})]})})})}});function T(e){return"function"!=typeof matchMedia?null:matchMedia(e)}function O(e){return e?{media:e.media,matches:e.matches}:null}function I(e){var t=s.default.useState(function(){return O(T(e))}),n=t[1],r=s.default.useCallback(function(e){return n(O(e))},[n]);return s.default.useEffect(function(){var t=T(e);return r(t),t.addListener(r),function(){return t.removeListener(r)}},[r,e]),t[0]}var R={useMedia:I,useMediaPredicate:function(e){var t=I(e);return t&&t.matches||!1}},$={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},A=/\s+/g,D=/%[\dA-F]{2}/g,N=/"/g;function P(e){switch(e){case"%20":return" ";case"%3D":return"=";case"%3A":return":";case"%2F":return"/";default:return e.toLowerCase()}}function M(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(D,P)}((n=e,t=n.trim().replace(A," "),Object.keys($).forEach(function(e){$[e].test(t)&&(t=t.replace($[e],e))}),t).replace(N,"'"))}M.toSrcset=function(e){return M(e).replace(/ /g,"%20")};var F=M;"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function U(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function B(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 z(e){var t={exports:{}};return e(t,t.exports),t.exports}const H=B(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||[],V=e=>`url("${e}")`,q={caretDown:F('\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:F('\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:F('\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:F('\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 ')},G=720,K=1214;function W(e,t=16,n="rem"){return`${e/t}${n}`}const J={content:["src/**/*.{jsx,js}",".storybook/**/*.{jsx,js}"],safelist:H,theme:{screens:{sm:W(335),md:W(G),lg:W(K)},container:e=>({center:!0,screens:{md:W((G+K)/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:V(q.caretDown),caretUpIcon:V(q.caretUp),checkIcon:V(q.check),dotIcon:V(q.dot),minusIcon:V(q.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 Y(){const e=J.theme;return{sm:R.useMediaPredicate(`(max-width: ${e.screens.sm})`),md:R.useMediaPredicate(`(min-width: ${e.screens.md})`),lg:R.useMediaPredicate(`(min-width: ${e.screens.lg})`)}}function Z(){}function Q(){}Q.resetWarningCache=Z;var X=z(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:Q,resetWarningCache:Z};return n.PropTypes=n,n}()});function ee({className:e="",altText:t,description:n="",subDescription:a="",fallbackClassName:o="",layout:i="row",smallSizeImage:l=!1,iconSizeImage:s=!1,hideDescSmallImage:c=!1}){const d=""!==(t??""),u="column"===i,{md:f,lg:m}=Y(),p=u?`flex flex-col items-center justify-start ${l||s?"gap-[0.063rem]":"gap-[0.5rem]"} mx-auto my-auto ${s?"":"p-3"}`:"flex flex-row items-center justify-start gap-[1.5rem] mx-auto",g=s?'<?xml version="1.0" encoding="UTF-8"?>\n<svg id="Layer_1" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 18.63 19.16">\n \x3c!-- Generator: Adobe Illustrator 30.6.0, SVG Export Plug-In . SVG Version: 2.1.4 Build 109) --\x3e\n <defs>\n <style>\n .st0 {\n fill: none;\n stroke: #000;\n stroke-linecap: round;\n stroke-linejoin: round;\n stroke-width: .5px;\n }\n </style>\n </defs>\n <path class="st0" d="M15.25,4.75V1.22c0-.54-.43-.97-.97-.97H1.22C.68.25.25.68.25,1.22v13.06c0,.54.43.97.97.97h3.53"/>\n <path class="st0" d="M4.72,15.06l8.75,3.77c.49.21,1.06-.01,1.27-.51l3.65-8.45"/>\n <path class="st0" d="M18.24,9.81l-1.74-.05-1.87,2.71-2.63-.43-2.8,1.6-2.76-.13-1.66,1.4"/>\n <path class="st0" d="M15.08,4.75l-1.67.67-.67,3.33-2.67.67-2,2.67-2.67,1-1,2"/>\n <path class="st0" d="M2.92,12.25l2.31-3.08c.17-.23.44-.38.73-.4.29-.02.57.09.78.29l.68.68,2.2-2.93c.19-.25.49-.4.8-.4s.61.15.8.4l1.2,1.6"/>\n <path class="st0" d="M3.67,6.25c.69,0,1.25-.56,1.25-1.25s-.56-1.25-1.25-1.25-1.25.56-1.25,1.25.56,1.25,1.25,1.25Z"/>\n <path class="st0" d="M14.75,12.75l.83,1.33"/>\n</svg>':l?'<svg width="38" height="39" viewBox="0 0 38 39" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M31 10V2.9375C31 1.86745 30.1326 1 29.0625 1H2.9375C1.86745 1 1 1.86745 1 2.9375V29.0625C1 30.1326 1.86745 31 2.9375 31H10" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M9.93651 30.622L27.4306 38.1678C28.4131 38.5916 29.5532 38.1387 29.977 37.1561L37.267 20.2551" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M36.9706 20.1275L33.4939 20.0345L29.75 25.4531L24.4942 24.5929L18.8898 27.8024
1L13.3782 27.535L10.0644 30.3258" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.6667 10.0001L27.3333 11.3333L26.0001 18L20.6667 19.3334L16.6667 24.6667L11.3334 26.6667L9.33333 30.6667" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M6.33331 24.9999L10.9493 18.8453C11.2971 18.3812 11.8292 18.091 12.4076 18.0498C12.9861 18.0086 13.5539 18.2205 13.964 18.6306L15.3333 19.9999L19.7333 14.1333C20.111 13.6296 20.7038 13.3333 21.3333 13.3333C21.9628 13.3333 22.5556 13.6296 22.9333 14.1333L25.3333 17.3333" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.83331 13C9.21402 13 10.3333 11.8807 10.3333 10.5C10.3333 9.11929 9.21402 8 7.83331 8C6.4526 8 5.33331 9.11929 5.33331 10.5C5.33331 11.8807 6.4526 13 7.83331 13Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.0001 25.9999L31.6547 28.6666" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n':u&&!(f||m)?'<svg width="38" height="39" viewBox="0 0 38 39" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M31 10V2.9375C31 1.86745 30.1326 1 29.0625 1H2.9375C1.86745 1 1 1.86745 1 2.9375V29.0625C1 30.1326 1.86745 31 2.9375 31H10" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M9.93651 30.622L27.4306 38.1678C28.4131 38.5916 29.5532 38.1387 29.977 37.1561L37.267 20.2551" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M36.9706 20.1273L33.4939 20.0343L29.75 25.4529L24.4942 24.5927L18.8898 27.8021L13.3782 27.5348L10.0644 30.3255" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.6667 10.0001L27.3333 11.3333L26.0001 18L20.6667 19.3334L16.6667 24.6667L11.3334 26.6667L9.33333 30.6667" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M6.33331 24.9999L10.9493 18.8453C11.2971 18.3812 11.8292 18.091 12.4076 18.0498C12.9861 18.0086 13.5539 18.2205 13.964 18.6306L15.3333 19.9999L19.7333 14.1333C20.111 13.6296 20.7038 13.3333 21.3333 13.3333C21.9628 13.3333 22.5556 13.6296 22.9333 14.1333L25.3333 17.3333" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M7.83331 13C9.21402 13 10.3333 11.8807 10.3333 10.5C10.3333 9.11929 9.21402 8 7.83331 8C6.4526 8 5.33331 9.11929 5.33331 10.5C5.33331 11.8807 6.4526 13 7.83331 13Z" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M30.0001 25.9999L31.6547 28.6666" stroke="black" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n':'<svg width="76" height="78" viewBox="0 0 76 78" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M62 20V5.875C62 3.7349 60.2651 2 58.125 2H5.875C3.7349 2 2 3.7349 2 5.875V58.125C2 60.2651 3.7349 62 5.875 62H20" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M19.873 61.244L54.8612 76.3356C56.8263 77.1832 59.1064 76.2773 59.954 74.3122L74.5341 40.5101" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M73.9411 40.2546L66.9877 40.0686L59.5 50.9058L48.9884 49.1854L37.7796 55.6042L26.7564 55.0696L20.1288 60.651" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M61.3335 20.0001L54.6667 22.6667L52.0002 35.9999L41.3335 38.6668L33.3335 49.3335L22.6667 53.3334L18.6667 61.3333" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M12.6666 50L21.8986 37.6907C22.5942 36.7626 23.6584 36.1821 24.8153 36.0998C25.9722 36.0174 27.1079 36.4412 27.928 37.2614L30.6666 40L39.4666 28.2667C40.222 27.2595 41.4076 26.6667 42.6666 26.6667C43.9257 26.6667 45.1112 27.2595 45.8666 28.2667L50.6666 34.6667" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path fill-rule="evenodd" clip-rule="evenodd" d="M15.6666 26C18.428 26 20.6666 23.7614 20.6666 21C20.6666 18.2386 18.428 16 15.6666 16C12.9052 16 10.6666 18.2386 10.6666 21C10.6666 23.7614 12.9052 26 15.6666 26Z" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n<path d="M60.0002 51.9998L63.3093 57.3333" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>\n</svg>\n',h=l?"w-full text-[0.5rem] font-[700] tracking-[0rem] text-[#000000]":u?"w-full text-[0.75rem] font-[700] tracking-[0rem] text-[#000000] "+(s?"leading-snug":""):"w-full text-[1rem] leading-[1.3rem] font-[700] tracking-[0rem] text-[#000000]",b=l?"text-[0.5rem] font-[400] tracking-[0rem] text-[#000000] text-left":u?"text-[0.75rem] font-[400] tracking-[0rem] text-[#000000] text-left":"text-[0.75rem] leading-[125%] font-[400] tracking-[0rem] text-[#000000] text-left mt-2";return r.jsx("div",{className:`\n ${e}\n ${o}\n bg-[#E6E7E8]\n flex items-center justify-center\n overflow-hidden\n ${s?"rounded-full":""}\n `,children:r.jsxs("div",{className:p,children:[r.jsx("div",{className:u?"flex items-center justify-center shrink-0":"w-[4rem] h-[4rem] flex items-center justify-center shrink-0",children:r.jsx("i",{className:u?"block text-transparent "+(s?"w-5 h-5":""):"w-[4rem] h-[4rem] block text-transparent",dangerouslySetInnerHTML:{__html:g}})}),r.jsxs("div",{className:u?"flex flex-col justify-center min-w-0 items-start text-left":"flex flex-col justify-center min-w-0 "+(d?"items-start text-left":"items-center text-center"),children:[d&&r.jsx("span",{className:h,children:t}),!(s||c)&&r.jsxs("div",{className:b,children:[r.jsx("p",{children:n}),r.jsx("p",{children:a})]})]})]})})}function te({src:e,alt:t="",fallbackMessage:a="",fallbackSubDescription:o="",className:i="",fallbackClassName:l="",onError:s,layout:c,smallSizeImage:d,iconSizeImage:u,hideDescSmallImage:f,...m}){const[p,g]=n.useState(e),[h,b]=n.useState(!1),w="undefined"!=typeof window&&window.location.pathname.includes("/ca-fr"),v=a||(w?"L'image n'a pas pu se charger.":"Image failed to load."),x=o||(w?"Veuillez essayer de recharger la page.":"Please try re-loading the page.");n.useEffect(()=>{g(e),b(!1)},[e]);return h?r.jsx(ee,{altText:t,description:v,subDescription:x,className:i,fallbackClassName:l,layout:c,smallSizeImage:d,iconSizeImage:u,hideDescSmallImage:f}):r.jsx("img",{src:p,alt:t||"",onError:t=>{h||(b(!0),"undefined"!=typeof window&&window.console&&window.console.error("[ImageFallback] Image load failed",{attemptedSrc:e,error:t?.nativeEvent?.message||"Unknown error"}),"function"==typeof s&&s(t))},className:i,...m})}te.propTypes={src:X.string.isRequired,alt:X.string,fallbackMessage:X.string,fallbackSubDescription:X.string,onError:X.func};var ne=Object.freeze({__proto__:null,default:({infographic_icon:e,infographic_alt:t,heading_level:n,heading:a,tiles_type:o,subtext:i,cta_url:l,cta_title:s,cta_target:d,cta_color:u,cta_aria_label:f,index:m,isCanadaLocale:p,dataCompName:g})=>{const{md:h}=Y();return r.jsxs("div",{className:"p-6 border-gray-300 border-2 bg-white text-left text-gray-500 flex flex-col justify-between "+(p?"flex-1":"tile-width"),"data-comp-name":g,children:[r.jsxs("div",{children:[h&&r.jsx(te,{className:"block w-16 h-16 object-cover",src:e,alt:t,"data-testid":`${o}-icon-${m}`,loading:"lazy",layout:"column",smallSizeImage:!0,iconSizeImage:!0}),c(n,a,!0,m,o),r.jsx("div",{className:"mt-3 text-lg","data-testid":`${o}-description-${m}`,dangerouslySetInnerHTML:{__html:i}})]}),r.jsx("a",{className:"take_quiz_cta btn mt-4 md:mt-16 w-full bottom-0 md:self-end px-0.5 leading-tight "+("warning"==u?"btn-warning":"btn-primary"),href:l,"aria-label":f,"data-gtm-category":"get started","data-gtm-action":"click","data-gtm-label":"take the quiz: CTA_1: default","data-tesid":`${o}-cta-${m}`,target:d,children:s})]})}});const re=a.createContext({});function ae(){return n.useContext(re)}a.createContext("en-US");var oe=z(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)}),ie=U(oe),le=function(e,t,n){function r(){l.current&&clearTimeout(l.current),l.current=void 0}function a(){l.current=void 0}void 0===t&&(t=100),void 0===n&&(n=0);var i=(e=>{var t=o.useRef(e);return o.useEffect(()=>{t.current=e}),t})(e),l=o.useRef(),s=[t,n,i];return o.useEffect(()=>r,s),o.useCallback(function(){var e=arguments,{current:r}=l;if(void 0===r&&n)return l.current=setTimeout(a,t),i.current.apply(null,e);r&&clearTimeout(r),l.current=setTimeout(()=>{l.current=void 0,i.current.apply(null,e)},t)},s)};const se=a.createContext({errorCode:0,hasError:!1,latitude:null,locationName:"",longitude:null,requestLocation(){}});function ce(){return n.useContext(se)}function de({children:e=null,getLocationName:t=async()=>""}){const[a,o]=n.useState(null),[i,l]=n.useState(null),s=n.useCallback(async()=>{try{const e=await function(e={enableHighAccuracy:!1,timeout:1e4,maximumAge:2e4}){return new Promise((t,n)=>{navigator.geolocation.getCurrentPosition(t,n,e)})}();return{error:!1,name:await t(e.coords.latitude,e.coords.longitude),latitude:e.coords.latitude,longitude:e.coords.longitude,setPosition:l}}catch(e){return o(e),{error:!0,exception:e}}},[t,l,o]),c={errorCode:a?.code??null,hasError:Boolean(a),latitude:i?.latitude??null,locationName:i?.name,longitude:i?.longitude??null,requestLocation:s};return r.jsx(se.Provider,{value:c,children:e})}function ue(){const{errorCode:e}=ce(),{geolocationPermissionDenied:t,geolocationPositionUnavailable:n,geolocationTimeout:r}=ae();return{1:t,2:n,3:r}[e]??null}var fe=({className:e,src:t,dataTestId:n="icon"})=>r.jsx("i",{"aria-hidden":"true",className:e,dangerouslySetInnerHTML:{__html:t},"data-testid":n});function me({active:e=!0,class:t="",...n}){const a=ae(),o=oe.classdFn("location-tracker ","px-3",e&&"active",t);return r.jsx("button",{"aria-label":a.locationButton,class:o,"data-testid":"location-tracker-icon",type:"button",...n,children:r.jsx(fe,{className:"pointer-events-none",src:'<svg width="16" height="17" xmlns="http://www.w3.org/2000/svg">
1\n <path d="M0 8.957L16.002 1l-8.02 16.046v-8.09z" fill-rule="nonzero" stroke="#3B3D3F" fill="none"/>\n</svg>\n'})})}function pe(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}!function(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");a.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))}}(".location-tracker.active svg path,.location-tracker:hover svg path{fill:#0076a0;stroke:#0076a0}");var ge=pe()?o.useLayoutEffect:o.useEffect;function he(e,t){return o.createContext(t)}function be(e){return!(!e||"[object Function]"!={}.toString.call(e))}function we(){}function ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function xe(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ve(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function ye(e,t){if(null!=e)if(be(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}function ke(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.useCallback(function(e){for(var n,r=xe(t);!(n=r()).done;){ye(n.value,e)}},t)}function _e(e,t){return function(n){if(e&&e(n),!n.defaultPrevented)return t(n)}}function Se(){return Se=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},Se.apply(this,arguments)}function Ce(e,t){void 0===t&&(t={});return he(0,Se({descendants:[],registerDescendant:we,unregisterDescendant:we},t))}function je(e,t,n){var r,a,i,l=(r=o.useState(Object.create(null))[1],o.useCallback(function(){r(Object.create(null))},[])),s=o.useContext(t),c=s.registerDescendant,d=s.unregisterDescendant,u=s.descendants,f=null!=n?n:u.findIndex(function(t){return t.element===e.element}),m=(a=u,i=o.useRef(null),o.useEffect(function(){i.current=a},[a]),i.current),p=u.some(function(e,t){var n;return e.element!==(null==m||null==(n=m[t])?void 0:n.element)});return ge(function(){return e.element||l(),c(Se({},e,{index:f})),function(){return d(e.element)}},[l,f,c,p,d].concat(Object.values(e))),f}function Ee(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,[Se({},r,{element:t,index:n})]);else if(0===e.length)a=[].concat(e,[Se({},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=Se({},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 Se({},e,{index:t})})})},[]),l=o.useCallback(function(e){e&&a(function(t){return t.filter(function(t){return e!==t.element})})},[]);return o.createElement(t.Provider,{value:o.useMemo(function(){return{descendants:r,registerDescendant:i,unregisterDescendant:l}},[r,i,l])},n)}var Le=z(function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var a=t[r]={exports:{},id:r,loaded:!1};return e[r].call(a.exports,a,a.exports,n),a.loaded=!0,a.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)}
1,function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,o=e.caseSensitive,i=void 0!==o&&o,l=e.findChunks,s=void 0===l?r:l,c=e.sanitize,d=e.searchWords,u=e.textToHighlight;return a({chunksToHighlight:n({chunks:s({autoEscape:t,caseSensitive:i,sanitize:c,searchWords:d,textToHighlight:u})}),totalLength:u?u.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t=t.sort(function(e,t){return e.start-t.start}).reduce(function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e},[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,a=void 0===r?o:r,i=e.searchWords,l=e.textToHighlight;return l=a(l),i.filter(function(e){return e}).reduce(function(e,r){r=a(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var o=new RegExp(r,n?"g":"gi"),i=void 0;i=o.exec(l);){var s=i.index,c=o.lastIndex;c>s&&e.push({highlight:!1,start:s,end:c}),i.index===o.lastIndex&&o.lastIndex++}return e},[])};t.findChunks=r;var a=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],a=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)a(0,n,!1);else{var o=0;t.forEach(function(e){a(o,e.start,!1),a(e.start,e.end,!0),o=e.end}),a(o,n,!1)}return r};function o(e){return e}}])}),Te=!1,Oe=0,Ie=function(){return++Oe};function Re(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var $e=Re()?o.useLayoutEffect:o.useEffect;var Ae,De=function(e){var t,n=e.children,r=e.type,a=void 0===r?"reach-portal":r,l=o.useRef(null),s=o.useRef(null),c=(t=o.useState(Object.create(null))[1],o.useCallback(function(){t(Object.create(null))},[]));return $e(function(){if(l.current){var e=l.current.ownerDocument;return s.current=null==e?void 0:e.createElement(a),e.body.appendChild(s.current),c(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}},[a,c]),s.current?i.createPortal(n,s.current):o.createElement("span",{ref:l})},Ne=["bottom","height","left","right","top","width"],Pe=new Map,Me=function e(){var t=[];Pe.forEach(function(e,n){var r,a,o=n.getBoundingClientRect();r=o,a=e.rect,void 0===r&&(r={}),void 0===a&&(a={}),Ne.some(function(e){return r[e]!==a[e]})&&(e.rect=o,t.push(e))}),t.forEach(function(e){e.callbacks.forEach(function(t){return t(e.rect)})}),Ae=window.requestAnimationFrame(e)};function Fe(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Ue=Fe()?o.useLayoutEffect:o.useEffect;function Be(e,t,n){var r,a,i;"boolean"==typeof t?r=t:(r=null==(i=null==t?void 0:t.observe)||i,a=null==t?void 0:t.onChange);(function(e){return!(!e||"[object Function]"!={}.toString.call(e))})(n)&&(a=n);var l=o.useState(e.current),s=l[0],c=l[1],d=o.useRef(!1),u=o.useRef(!1),f=o.useState(null),m=f[0],p=f[1],g=o.useRef(a),h=o.useCallback(function(e){g.current&&g.current(e)},[]);return Ue(function(){g.current=a,e.current!==s&&c(e.current)}),Ue(function(){s&&!d.current&&(d.current=!0,p(s.getBoundingClientRect()))},[s]),Ue(function(){var t,n,a,o=s;return u.current||(u.current=!0,o=e.current),o?(n=o,a=function(e){h(e),p(e)},t={observe:function(){var e=0===Pe.size;Pe.has(n)?Pe.get(n).callbacks.push(a):Pe.set(n,{rect:void 0,hasRectChanged:!1,callbacks:[a]}),e&&Me()},unobserve:function(){var e=Pe.get(n);if(e){var t=e.callbacks.indexOf(a);t>=0&&e.callbacks.splice(t,1),e.callbacks.length||Pe.delete(n),Pe.size||cancelAnimationFrame(Ae)}}},r&&t.observe(),i):i;function i(){t&&t.unobserve()}},[r,s,e,h]),m}function ze(e){return"undefined"!=typeof window&&window.document&&window.document.createElement?e?e.ownerDocument:document:null}function He(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ve(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return He(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?He(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=e[Symbol.iterator]()).next.bind(n)}function qe(e,t){if(null!=e)if(function(e){return!(!e||"[object Function]"!={}.toString.call(e))}(e))e(t);else try{e.current=t}catch(n){throw new Error('Cannot assign value "'+t+'" to ref "'+e+'"')}}var Ge=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],Ke=Ge.join(","),We="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function Je(e,t){t=t||{};var n,r,a,o=[],i=[],l=e.querySelectorAll(Ke);for(t.includeContainer&&We.call(e,Ke)&&(l=Array.prototype.slice.apply(l)).unshift(e),n=0;n<l.length;n++)Ye(r=l[n])&&(0===(a=Xe(r))?o.push(r):i.push({documentOrder:n,tabIndex:a,node:r}));
1return i.sort(et).map(function(e){return e.node}).concat(o)}function Ye(e){return!(!Ze(e)||function(e){return function(e){return tt(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)||Xe(e)<0)}function Ze(e){return!(e.disabled||function(e){return tt(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}Je.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==We.call(e,Ke)&&Ye(e)},Je.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==We.call(e,Qe)&&Ze(e)};var Qe=Ge.concat("iframe").join(",");function Xe(e){var t=parseInt(e.getAttribute("tabindex"),10);return isNaN(t)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:t}function et(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex}function tt(e){return"INPUT"===e.tagName}var nt=Je;function rt(){return rt=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},rt.apply(this,arguments)}var at=o.forwardRef(function(e,t){return o.createElement(De,null,o.createElement(ot,rt({ref:t},e)))}),ot=o.forwardRef(function(e,t){var n=e.as,r=void 0===n?"div":n,a=e.targetRef,i=e.position,l=void 0===i?mt:i,s=e.unstable_observableRefs,c=void 0===s?[]:s,d=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,["as","targetRef","position","unstable_observableRefs"]),u=o.useRef(null),f=Be(u,{observe:!d.hidden}),m=Be(a,{observe:!d.hidden}),p=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return o.useCallback(function(e){for(var n,r=Ve(t);!(n=r()).done;)qe(n.value,e)},t)}(u,t);return function(e,t){var n=ze(e.current);function r(e){"Tab"===e.key&&t.current&&0===nt(t.current).length||("Tab"===e.key&&e.shiftKey?d(e)?u(e):f(e)?m(e):g(e)&&b():"Tab"===e.key&&(i()?l(e):s()?c(e):p(e)&&b()))}function a(){var r=nt(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&&e.current===n.activeElement}function l(e){var n=t.current&&nt(t.current);n&&n[0]&&(e.preventDefault(),n[0].focus())}function s(){if(!!t.current&&t.current.contains(n.activeElement||null)){var e=t.current&&nt(t.current);return Boolean(e&&e[e.length-1]===n.activeElement)}return!1}function c(e){var t=a();t&&(e.preventDefault(),t.focus())}function d(e){if(e.shiftKey){var t=a();return e.target===t}}function u(e){var n=t.current&&nt(t.current),r=n&&n[n.length-1];r&&(e.preventDefault(),r.focus())}function f(e){var n=t.current&&nt(t.current);return!!n&&(0!==n.length&&e.target===n[0])}function m(t){var n;t.preventDefault(),null==(n=e.current)||n.focus()}function p(e){var r=t.current?nt(n).filter(function(e){return!t.current.contains(e)}):null;return!!r&&e.target===r[r.length-1]}function g(e){return e.target===nt(n)[0]}o.useEffect(function(){return n.addEventListener("keydown",r),function(){n.removeEventListener("keydown",r)}},[]);var h=[];function b(){var e=t.current&&nt(t.current);e&&(e.forEach(function(e){h.push([e,e.tabIndex]),e.tabIndex=-1}),n.addEventListener("focusin",w))}function w(){n.removeEventListener("focusin",w),h.forEach(function(e){var t=e[0],n=e[1];t.tabIndex=n})}}(a,u),o.createElement(r,rt({"data-reach-popover":"",ref:p},d,{style:rt({position:"absolute"},it.apply(void 0,[l,m,f].concat(c)),d.style)}))});function it(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 lt(e,t,n){return{top:n?e.top-t.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}var st,ct,dt,ut,ft,mt=function(e,t){if(!e||!t)return{};var n=gt(e,t),r=n.directionRight,a=n.directionUp;return rt({left:r?e.right-t.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},lt(e,t,a))},pt=function(e,t){if(!e||!t)return{};var n=gt(e,t).directionUp;return rt({width:e.width,left:e.left},lt(e,t,n))};function gt(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 ht(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 bt(){return bt=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},bt.apply(this,arguments)}var wt="IDLE",vt="SUGGESTING",xt="NAVIGATING",yt="INTERACTING",kt="CLEAR",_t="CHANGE",St="INITIAL_CHANGE",Ct="NAVIGATE",jt="SELECT_WITH_KEYBOARD",Et="SELECT_WITH_CLICK",Lt="ESCAPE",Tt="BLUR",Ot="INT
1ERACT",It="FOCUS",Rt="OPEN_WITH_BUTTON",$t="CLOSE_WITH_BUTTON",At={initial:wt,states:(ft={},ft[wt]={on:(st={},st[Tt]=wt,st[kt]=wt,st[_t]=vt,st[St]=wt,st[It]=vt,st[Ct]=xt,st[Rt]=vt,st)},ft[vt]={on:(ct={},ct[_t]=vt,ct[It]=vt,ct[Ct]=xt,ct[kt]=wt,ct[Lt]=wt,ct[Tt]=wt,ct[Et]=wt,ct[Ot]=yt,ct[$t]=wt,ct)},ft[xt]={on:(dt={},dt[_t]=vt,dt[It]=vt,dt[kt]=wt,dt[Tt]=wt,dt[Lt]=wt,dt[Ct]=xt,dt[Et]=wt,dt[jt]=wt,dt[$t]=wt,dt[Ot]=yt,dt)},ft[yt]={on:(ut={},ut[kt]=wt,ut[_t]=vt,ut[It]=vt,ut[Tt]=wt,ut[Lt]=wt,ut[Ct]=xt,ut[$t]=wt,ut[Et]=wt,ut)},ft)},Dt=function(e,t){var n=bt({},e,{lastEventType:t.type});switch(t.type){case _t:case St:return bt({},n,{navigationValue:null,value:t.value});case Ct:case Rt:return bt({},n,{navigationValue:Pt(n,t)});case kt:return bt({},n,{value:"",navigationValue:null});case Tt:case Lt:return bt({},n,{navigationValue:null});case Et:return bt({},n,{value:t.value,navigationValue:null});case jt:return bt({},n,{value:e.navigationValue,navigationValue:null});case $t:return bt({},n,{navigationValue:null});case Ot:return n;case It:return bt({},n,{navigationValue:Pt(n,t)});default:return n}};function Nt(e){return[vt,xt,yt].includes(e)}function Pt(e,t){return t.value?t.value:t.persistSelection?e.value:null}var Mt=Ce(),Ft=he(0,{}),Ut=he(0,{}),Bt=o.forwardRef(function(e,t){var n,r=e.onSelect,a=e.openOnFocus,i=void 0!==a&&a,l=e.children,s=e.as,c=void 0===s?"div":s,d=e["aria-label"],u=e["aria-labelledby"],f=ht(e,["onSelect","openOnFocus","children","as","aria-label","aria-labelledby"]),m=o.useState([]),p=m[0],g=m[1],h=o.useRef(),b=o.useRef(),w=o.useRef(),v=o.useRef(),x=o.useRef(),y=function(e,t,n){var r=o.useState(e.initial),a=r[0],i=r[1],l=o.useReducer(t,n),s=l[0],c=l[1],d=function(t,n){void 0===n&&(n={});var r=e.states[a],o=r&&r.on[t];if(o)return c(bt({type:t,state:a,nextState:a},n)),void i(o)};return[a,s,d]}(At,Dt,{value:"",navigationValue:null}),k=y[0],_=y[1],S=y[2];!function(e,t){ge(function(){e!==Ct&&e!==Lt&&e!==Et&&e!==Rt||t.current.focus()},[t,e])}(_.lastEventType,h);var C=function(e){var t=e||(Te?Ie():null),n=o.useState(t),r=n[0],a=n[1];return ge(function(){null===r&&a(Ie())},[]),o.useEffect(function(){!1===Te&&(Te=!0)},[]),null!=r?String(r):void 0}(f.id),j=C?function(){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("--")}("listbox",C):"listbox",E={ariaLabel:d,ariaLabelledby:u,autocompletePropRef:v,buttonRef:w,comboboxId:C,data:_,inputRef:h,isExpanded:Nt(k),listboxId:j,onSelect:r||we,openOnFocus:i,persistSelectionRef:x,popoverRef:b,state:k,transition:S};return o.createElement(Ee,{context:Mt,items:p,set:g},o.createElement(Ft.Provider,{value:E},o.createElement(c,bt({},f,{"data-reach-combobox":"","data-state":Yt(k),ref:t}),be(l)?l({id:C,isExpanded:Nt(k),navigationValue:null!=(n=_.navigationValue)?n:null,state:k}):l)))}),zt=o.forwardRef(function(e,t){var n,r,a,i=e.as,l=void 0===i?"input":i,s=e.selectOnClick,c=void 0!==s&&s,d=e.autocomplete,u=void 0===d||d,f=e.onClick,m=e.onChange,p=e.onKeyDown,g=e.onBlur,h=e.onFocus,b=e.value,w=ht(e,["as","selectOnClick","autocomplete","onClick","onChange","onKeyDown","onBlur","onFocus","value"]),v=o.useRef(b).current,x=o.useRef(!1);n=function(){x.current=!0},r=[b],a=o.useRef(!1),o.useEffect(function(){a.current?n():a.current=!0},r);var y=o.useContext(Ft),k=y.data,_=k.navigationValue,S=k.value,C=k.lastEventType,j=y.inputRef,E=y.state,L=y.transition,T=y.listboxId,O=y.autocompletePropRef,I=y.openOnFocus,R=y.isExpanded,$=y.ariaLabel,A=y.ariaLabelledby,D=y.persistSelectionRef,N=ke(j,t),P=o.useRef(!1),M=Kt(),F=Wt(),U=null!=b;ge(function(){O.current=u},[u,O]);var B=o.useCallback(function(e){""===e.trim()?L(kt):e!==v||x.current?L(_t,{value:e}):L(St,{value:e})},[v,L]);o.useEffect(function(){!U||b===S||""===b.trim()&&""===(S||"").trim()||B(b)},[b,B,U,S]);var z=!u||E!==xt&&E!==yt?b||S:_||b||S;return o.createElement(l,bt({"aria-activedescendant":_?String(Jt(_)):void 0,"aria-autocomplete":"both","aria-controls":T,"aria-expanded":R,"aria-haspopup":"listbox","aria-label":$,"aria-labelledby":$?void 0:A,role:"combobox"},w,{"data-reach-combobox-input":"","data-state":Yt(E),ref:N,onBlur:_e(g,F),onChange:_e(m,function(e){var t=e.target.value;U||B(t)}),onClick:_e(f,function(){P.current&&(P.current=!1,j.current.select())}),onFocus:_e(h,function(){c&&(P.current=!0),I&&C!==Et&&L(It,{persistSelection:D.current})}),onKeyDown:_e(p,M),value:z||""}))}),Ht=o.forwardRef(function(e,t){var n=e.as,r=void 0===n?"div":n,a=e.children,i=e.portal,l=void 0===i||i,s=e.onKeyDown,c=e.onBlur,d=e.position,u=void 0===d?pt:d,f=ht(e,["as","children","portal","onKeyDown","onBlur","position"]),m=o.useContext(Ft),p=m.popoverRef,g=m.inputRef,h=m.isExpanded,b=m.state,w=ke(p,t),v=Kt(),x=Wt(),y={"data-reach-combobox-popover":"","data-state":Yt(b),onKeyDown:_e(s,v),onBlur:_e(c,x),hidden:!h,tabIndex:-1,
1children:a};return l?o.createElement(at,bt({as:r},f,{ref:w,position:u,targetRef:g},y)):o.createElement(r,bt({ref:w},f,y))}),Vt=o.forwardRef(function(e,t){var n=e.persistSelection,r=void 0!==n&&n,a=e.as,i=void 0===a?"ul":a,l=ht(e,["persistSelection","as"]),s=o.useContext(Ft),c=s.persistSelectionRef,d=s.listboxId;return r&&(c.current=!0),o.createElement(i,bt({role:"listbox"},l,{ref:t,"data-reach-combobox-list":"",id:d}))}),qt=o.forwardRef(function(e,t){var n=e.as,r=void 0===n?"li":n,a=e.children,i=e.value,l=e.onClick,s=ht(e,["as","children","value","onClick"]),c=o.useContext(Ft),d=c.onSelect,u=c.data.navigationValue,f=c.transition,m=o.useRef(null),p=ke(t,m),g=je({element:m.current,value:i},Mt),h=u===i;return o.createElement(Ut.Provider,{value:{value:i,index:g}},o.createElement(r,bt({"aria-selected":h,role:"option"},s,{"data-reach-combobox-option":"",ref:p,id:String(Jt(i)),"data-highlighted":h?"":void 0,tabIndex:-1,onClick:_e(l,function(){d&&d(i),f(Et,{value:i})})}),a?be(a)?a({value:i,index:g}):a:o.createElement(Gt,null)))});function Gt(){var e=o.useContext(Ut).value,t=o.useContext(Ft).data.value,
1n=o.useMemo(function(){return Le.findAll({searchWords:(n=t||"",String(n).replace(/([.*+?=^!:${}()|[\]/\\])/g,"\\$1")).split(/\s+/),textToHighlight:e});var n},[t,e]);return o.createElement(o.Fragment,null,n.length?n.map(function(t,n){var r=e.slice(t.start,t.end);return o.createElement("span",{key:n,"data-reach-combobox-option-text":"","data-user-value":!!t.highlight||void 0,"data-suggested-value":!t.highlight||void 0},r)}):e)}function Kt(){var e,t=o.useContext(Ft),n=t.data.navigationValue,r=t.onSelect,a=t.state,i=t.transition,l=t.autocompletePropRef,s=t.persistSelectionRef,c=(e=Mt,o.useContext(e).descendants);return function(e){var t=c.findIndex(function(e){return e.value===n});function o(){return c[0]}function d(){return c[c.length-1]}switch(e.key){case"ArrowDown":if(e.preventDefault(),!c||!c.length)return;if(a===wt)i(Ct,{persistSelection:s.current});else{var u=t===c.length-1?l.current?null:o():c[(t+1)%c.length];i(Ct,{value:u?u.value:null})}break;case"ArrowUp":if(e.preventDefault(),!c||0===c.length)return;if(a===wt)i(Ct);else{var f=0===t?l.current?null:d():-1===t?d():c[(t-1+c.length)%c.length];i(Ct,{value:f?f.value:null})}break;case"Home":case"PageUp":if(e.preventDefault(),!c||0===c.length)return;a===wt?i(Ct):i(Ct,{value:o().value});break;case"End":case"PageDown":if(e.preventDefault(),!c||0===c.length)return;a===wt?i(Ct):i(Ct,{value:d().value});break;case"Escape":a!==wt&&i(Lt);break;case"Enter":a===xt&&null!==n&&(e.preventDefault(),r&&r(n),i(jt))}}}function Wt(){var e,t,n,r=o.useContext(Ft),a=r.state,i=r.transition,l=r.popoverRef,s=r.inputRef,c=r.buttonRef,d=(e=function(){return new Set},t=o.useRef(!1),n=o.useRef(),t.current||(t.current=!0,n.current=e()),n);return o.useEffect(function(){return function(){d.current.forEach(function(e){return cancelAnimationFrame(e)})}},[d]),function(){var e,t=(e=l.current,pe()?e?e.ownerDocument:document:null);if(t){var n=requestAnimationFrame(function(){t.activeElement!==s.current&&t.activeElement!==c.current&&l.current&&(l.current.contains(t.activeElement)?a!==yt&&i(Ot):i(Tt))});d.current.add(n)}}}function Jt(e){var t=0;if(0===e.length)return t;for(var n=0;n<e.length;n++){t=(t<<5)-t+e.charCodeAt(n),t&=t}return t}function Yt(e){return e.toLowerCase()}function Zt({class:e="",inputRef:t={},...n}){return r.jsx(zt,{ref:t,class:ie`form-input w-full truncate ${e}`,selectOnClick:!0,...n})}function Qt({class:e="",...t}){return r.jsx(Ht,{class:ie` 2 absolute 3 w-full 4 top-full 5 mt-1 6 z-10 7 ${e}`,portal:!1,...t})}function Xt({class:e="",...t}){return r.jsx(Vt,{class:ie` 8 bg-white 9 border 10 p-2 11 shadow-lg 12 rounded 13 divide-y 14 ${e}`,...t})}function en({class:e="",...t}){return r.jsx(qt,{class:ie`p-2 leading-snug ${e}`,...t})}function tn({class:e="",...t}){return r.jsx(Bt,{class:ie`relative ${e}`,...t})}const nn=a.createContext({errorCode:0,hasError:!1,inputRef:{},input:"",results:[],selection:"",setErrorCode(){},setInput(){},setSelection(){}}),rn=1,an=2;function on(){return n.useContext(nn)}function ln({action:e="",autoSubmit:t=!0,getResults:a=async()=>[],minQueryLength:i=2,queryDebounce:l=500,initialValue:s="",target:c="",gtmLabel:d,endpoint:u,searchType:f=2,chooseFA:m=!1,setRerender:p=()=>{},rerender:g,variation:h="",...b}){const w=n.useRef(),v=n.useRef(),{hasError:x,locationName:_}=ce(),[S,C]=n.useState(s),[j,E]=((e,t,n)=>{var r=o.useState(e);return[r[0],le(r[1],t,n)]})("",l),[L,T]=n.useState([]),[O,I]=n.useState(""),[R,$]=n.useState(0),A=L.find(e=>e.value===O),[D,N]=n.useState(A?.url??e),P=Boolean(R),M=n.useRef(!1),F={errorCode:R,setErrorCode:$,hasError:P,input:S,inputRef:v,results:L,selection:O,setInput:C,setSelection:I,setUserHasTyped:()=>{M.current=!0}},U=new y,{submitButton:B}=ae(),z=document.getElementById("search-application"),H="updateSearchQuery",V=new URLSearchParams(window.location.search).get("searchtype");n.useEffect(()=>{V&&V!=f&&C("")},[V]),n.useEffect(()=>{f!=V&&P&&$(0)},[g]);return n.useEffect(()=>{T([])},[g]),n.useEffect(()=>{1===R&&v.current&&requestAnimationFrame(()=>{v.current.focus()})},[R]),n.useEffect(()=>{$(0),S&&(I(""),E(S.trim()),U.set("viewtype","list",{path:"/"})),S&&S.length<2&&T([])},[S,j]),n.useEffect(()=>{_&&C(_)},[_]),n.useEffect(()=>{x&&$(2)},[x]),n.useEffect(()=>{O&&C("")},[O]),n.useEffect(()=>{if(!O||!t)return;const e=L?.find(e=>e.value==O);if(!e)return;C(e.value);const n="new-right-rail-form"===h,r=e.url.includes("/us-en/financial-a
14dvisor")||e.url.includes("/ca-en/financial-advisor")||e.url.includes("/ca-fr/conseiller-investissement");if(m)if(r){if(n){const t=`${window.location.origin}${e.url}`;k(B,t)}c?window.open(`${e.url}`,c):window.location.replace(`${e.url}`)}else{if(n){const t=`${window.location.origin}${D}?fasearch=${e.value}&searchtype=${f}`;k(B,t)}if(z){const t=new CustomEvent(H,{detail:{query:e.value,searchtype:f,isInterim:!1}});document.dispatchEvent(t),p(Math.random())}else{const t=`${D}?fasearch=${e.value}&searchtype=${f}&interim=false`;c?window.open(t,c):window.location.replace(t)}}else if(z){const t=new CustomEvent(H,{detail:{query:e.value,searchtype:f}});document.dispatchEvent(t),p(Math.random())}else N(`${e.url}?fasearch=${e.value}&interim=false`),c?window.open(`${e.url}?fasearch=${e.value}&searchtype=${f}&interim=false`,c):window.location.replace(`${e.url}?fasearch=${e.value}&searchtype=${f}&interim=false`)},[t,O]),n.useEffect(()=>{if(!M.current)return;j.length>=i&&a(j,u,f).then(e=>{T(e)}).catch(e=>{T([])})},[j,a,i]),r.jsx(nn.Provider,{value:F,children:r.jsx("form",{action:D,autocapitalize:"off",autocomplete:"off",autocorrect:"off",novalidate:!0,onSubmit:t=>{t.preventDefault();if(!((S&&S.length||0)>=i))return void $(1);window.sessionStorage&&window.sessionStorage.removeItem("isPrefillSearch");const n="new-right-rail-form"===h?"right-rail-fa-search":"compact_fa_search"===h?"fa_search_small_component":"fa_search_main_component";if(U.set("faSearchComponent",n,{path:"/"}),!z){if("new-right-rail-form"===h){const e=`${window.location.origin}${D}?fasearch=${j}&searchtype=${f}`;k(B,e)}const t=w.current.querySelector("input[name=searchtype]");return t&&(t.value=f),window._uxa=window._uxa||[],window._uxa.push(["setCustomVariable",3,"Find a FA","Results",3]),N(e),U.remove("faProfileLookup",{path:"/"}),void w.current.submit()}const r=S.trim(),a=new CustomEvent(H,{detail:{query:r||j,searchtype:f}});window.sessionStorage&&window.sessionStorage.removeItem("isPrefillSearch"),document.dispatchEvent(a),p(Math.random())},ref:w,target:c,...b})})}function sn({class:e="",id:t="advisor-search-input",name:a="fasearch",showGeoLocation:o=!0,inputLabel:i,ariaDescription:l="faheading",chooseFA:s,variation:c,searchType:d,...u}){const{hasError:f,input:m,results:p,selection:g,errorCode:h,setInput:b,inputRef:w,setSelection:v,setErrorCode:x,setUserHasTyped:k}=on(),{locationName:_,requestLocation:S,hasError:C}=ce(),{inputPlaceholder:j,instructions:E}=ae(),[L,T]=n.useState("");return n.useEffect(()=>{try{if(window.sessionStorage&&window.sessionStorage.geoLocationEnabled){S().then(({...e})=>{const{error:t,name:n,latitude:r,longitude:a,setPosition:o}=e;o({latitude:window.sessionStorage.lat,longitude:window.sessionStorage.long,name:window.sessionStorage.name})})}}catch(e){}},[]),n.useEffect(()=>{T("");const e=p.length;if(!e)return;const t=p[0]?.type,n=e>1;if(window.location.href.includes("/ca-fr")){if("fa"===t)return void T(n?`${e} résultats de noms sont disponibles, appuyez sur les flèches vers le haut et vers le bas pour y accéder.`:"1 résultat de nom est disponible, appuyez sur les flèches vers le haut et vers le bas pour y accéder.");if("location"===t)return void T(n?`${e} résultats dâemplacements sont disponibles, appuyez sur les flèches vers le haut et vers le bas pour y accéder.`:"1 résultat dâemplacement est disponible, appuyez sur les flèches vers le haut et vers le bas pour y accéder")}else{T(`${e} ${"fa"===t?"name":"location"} ${n?"results are":"result is"} available, use arrow up and down keys to access ${n?"them":"it"}`)}},[p]),r.jsxs(tn,{class:oe.classd` ${e}`,onSelect:e=>{const t=new y,n="new-right-rail-form"===c?"right-rail-fa-search":"compact_fa_search"===c?"fa_search_small_component":"fa_search_main_component";try{t.set("faProfileLookup","Pre-fill Search",{path:"/"}),t.set("faSearchComponent",n,{path:"/"})}catch(e){}window.sessionStorage&&window.sessionStorage.setItem("isPrefillSearch",!0),v(e);const r=2==d?"prefill:location":"prefill:name",a=t.get("faSearchLookup");window.dataLayer&&dataLayer.push({event:"faSearchResultPrefill",faSearchInfo:{faSearchText:w.current.value,faSearchPrefill:e,faSearchType:r,faSearchComponent:n,faSearchLookup:a,searchType:"Default"}})},children:[r.jsx(Zt,{class:oe.classd`h-full ${f&&"border-red-500 bg-red-50"}`,id:t,name:a,onChange:e=>{b(e.target.value),k()},placeholder:j,value:g||m,initialValue:m,inputRef:w,"aria-describedby":f?2===d?"location-error":"name-error":`instructions-${t}`,...u}),r.jsx(me,{class:`absolute inset-y-0 right-0 h-12 ${!o&&"hidden"}`,active:Boolean(_),"aria-describedby":2===h?"location-error":l,onClick:e=>{f&&x(2);S().then(({...e})=>{const{error:t,name:n,latitude:r,longitude:a}=e;if(!t)try{window.sessionStorage&&(window.sessionStorage.geoLocationEnabled?(window.sessionStorage.removeItem("geoLocationEnabled"),window.sessionStorage.removeItem("lat"),window.sessionStorage.removeItem("long"),window.sessionStorage.removeItem("name"),window.location.reload()):(window.sessionStorage.geoLocationEnabled=!0,window.sessionStorage.lat=r,window.sessionStorage.long=a,window.sessionStorage.name=n,window.location.reload()))}catch(e){}})}}),f?r.jsx(mn,{searchType:d,class:"text-left inset-x-0"}):null,p.length>0?r.jsxs("div",{children:[r.jsx("div",{class:"sr-only","aria-live":"polite","aria-atomic":"true",children:L}),r.jsx(Qt,{children:r.jsx(Xt,{children:p.map((e,t)=>r.jsx(un,{description:e.description,index:t,type:e.type,highlighting:e.highlighting,value:e.value,variation:c,chooseFA
14:s,searchType:d}))})})]}):null,r.jsx("span",{class:"hidden",id:`instructions-${t}`,children:E})]})}function cn({class:e="",submitLabel:t="",gtmCategory:n="fa search",gtmLabel:a="search",variation:o="",errorClasses:i="mt-6 md:mt-10 lg:mt-6",...l}){const{submitButton:s}=ae();return on(),ae(),r.jsx("button",{class:oe.classd`btn ${"new-right-rail-form"===o?"":"w-full"} px-10 md:px-2 lg:px-10 mt-2 ${e}`,"data-gtm-action":"click","data-gtm-category":n,"data-gtm-label":a,type:"submit",...l,children:t||s})}function dn({class:e="",...t}){const{hasError:n}=on(),{inputLabel:a}=ae();return r.jsx("label",{class:oe.classdFn(n&&"text-red-500 font-medium",e),...t,children:a})}function un({description:e="",type:t="",value:n="",index:a=0,highlighting:o="",variation:i,chooseFA:l,searchType:s}){return"fa"===t?r.jsxs(en,{value:n,"data-testid":`suggestion${a}`,class:"border-gray-900 py-3 px-4 hover:underline text-left flex w-full","data-gtm-category":l||"fa_search_with_dropdown"==i?"get started":null,"data-gtm-label":l||"fa_search_with_dropdown"==i?s&&2==s?"search:location":"search:name":null,"data-gtm-action":l||"fa_search_with_dropdown"==i?"click":null,children:[r.jsxs("div",{class:"inline-block mr-2 float-left",children:[r.jsx(fe,{src:'<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 14.6 16.9" style="enable-background:new 0 0 14.6 16.9" xml:space="preserve"><circle cx="7.4" cy="4.2" r="4.2" style="fill-rule:evenodd;clip-rule:evenodd"/><path d="M7.3 9.6c-4 0-7.3 3.3-7.3 7.3h14.6c0-4.1-3.2-7.3-7.3-7.3z"/></svg>'}),r.jsx("span",{class:"sr-only",children:"financial advisor"})]}),r.jsxs("div",{class:"inline-block overflow-hidden",children:[r.jsx("span",{class:"block",dangerouslySetInnerHTML:{__html:o},"data-testid":"suggestion"}),r.jsx("span",{class:"block text-xs truncate",children:e})]})]}):r.jsxs(en,{value:n,"data-testid":`suggestion${a}`,class:"border-gray-900 py-3 px-4 hover:underline text-left","data-gtm-category":l||"fa_search_with_dropdown"==i?"get started":null,"data-gtm-label":l||"fa_search_with_dropdown"==i?s&&2==s?"search:location":"search:name":null,"data-gtm-action":l||"fa_search_with_dropdown"==i?"click":null,children:[r.jsxs("div",{class:"inline-block mr-2 h-5 float-left",children:[r.jsx("i",{class:"mr-2","aria-hidden":"true",dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 15 22.4" style="enable-background:new 0 0 15 22.4" xml:space="preserve"><path d="M7.5.3C3.5.3.2 3.8.2 8c0 4.1 6.6 13.5 6.8 13.9.1 0 .2.1.2.1.1 0 .2.1.3.1s.2 0 .3-.1c.1 0 .1-.1.2-.2.3-.4 6.8-9.8 6.8-13.9 0-4.2-3.3-7.6-7.3-7.6zM4.1 8c.2-4.5 6.7-4.5 6.8 0-.2 4.5-6.6 4.5-6.8 0z"/></svg>'}}),r.jsx("span",{class:"sr-only",children:"location"})]}),r.jsx("div",{class:"overflow-hidden",children:r.jsx("span",{class:"block",dangerouslySetInnerHTML:{__html:o},"data-testid":"suggestion"})})]})}function fn(){const{errorCode:e}=on(),{inputHint:t}=ae();return{[rn]:t,[an]:r.jsx(ue,{})}[e]??null}function mn({searchType:e,class:t=""}){const a=n.useRef(),{errorCode:o}=on();return n.useEffect(()=>{a.current.focus()},[]),r.jsx("p",{class:oe.classdFn("text-red-500 text-xs focus:outline-none",t),ref:a,tabindex:"-1",id:o?2===e?"location-error":"name-error":null,children:r.jsx(fn,{})})}function pn({searchActionURL:e="",fetchAdvisorSearchSuggestions:t=()=>{},gtmCategory:n,datalayer_results_cookie:a,gtmLabel:o,dataTestIdBtn:i="search-btn-fa-tertiary",ariaDescription:l="faheading-rr-right",dataTestIdInput:s="fa-tertiary",searchType:c,...d}){new y;const{chooseFA:u,cta_title:f,cta_color:m,cta_target:p,initialValue:g,cta_button_classes:h="",search_input_classes:b="",form_container_
14classes:w="",variation:v}=d,x=2==c?"financial advisor search by location":"financial advisor search by name",k=2==c?"advisor-search-input-by-location":"advisor-search-input-by-name",_=2==c?"advisor-search-input-by-location":"advisor-search-input-by-name";return r.jsxs(ln,{role:"search","aria-label":x,id:`advisor-search-form-${c}`,action:e,"data-testid":"fa-tertiary-form",datalayer_results_cookie:a,getResults:t,endpoint:d.endpoint,target:p,gtmLabel:o,chooseFA:u,searchType:c,initialValue:g,variation:v,...d,children:[r.jsx(dn,{for:k,class:"text-sm md:text-base leading-normal","data-testid":u&&`${d.tiles_type}-label-${d.index}`}),r.jsxs("div",{class:`${!u&&"md:flex"} md:-mx-2 lg:block lg:-mx-0 ${w}`,children:[r.jsx(sn,{class:`md:flex-1 md:mx-2 lg:flex-none lg:mx-0 tertiary-form ${u&&"md:-mr-2"} ${b}`,"data-testid":s,id:_,name:"fasearch",showGeoLocation:!u,ariaDescription:l,chooseFA:u,searchType:c,variation:v}),r.jsx("input",{hidden:!0,type:"text",name:"searchtype",value:c}),r.jsx(cn,{class:`${"new-right-rail-form"==v?"":"md:mx-2"} lg:mx-0 lg:w-full ${u?"mt-2 "+("primary"===m?"btn-primary":"btn-warning"):"btn-primary mt-6 md:mt-0 lg:mt-6 md:w-auto"} ${h}`,"data-testid":i,"aria-describedby":l,submitLabel:f,gtmCategory:n,gtmLabel:o,variation:v})]})]})}var gn=Object.freeze({__proto__:null,default:e=>{const{infographic_icon:t,infographic_alt:n,heading_level:a,heading:o,tiles_type:i,subtext:l,index:s,eyebrow_text:d,endpoint:u,cta_url:f,fetchLocationDescriptionChooseFA:m,fetchAdvisorSearchSuggestionsChooseFA:p,error_text:g,isCanadaLocale:h,dataCompName:b}=e,{md:w}=Y(),v={geolocationPermissionDenied:"Permission denied",geolocationPositionUnavailable:"Positional Unavailable",geolocationTimeout:"It took too long to get your location",inputHint:g,inputLabel:d,inputPlaceholder:"",locationButton:"Search by my location",submitButton:"Search Results",instructions:"selecting an option from the suggested list will execute a search on that option."},x="search-by-name"===i?1:2,y=new URLSearchParams(window.location.search),k=y.get("searchtype")==x&&y.get("fasearch")||"";return r.jsxs("div",{className:"p-6 border-gray-300 bg-white border-2 text-left text-gray-500 flex flex-col justify-between "+(h?"flex-1":"tile-width"),"data-comp-name":b,children:[r.jsxs("div",{children:[w&&r.jsx(te,{className:"block w-16 h-16 object-cover",src:t,alt:n,loading:"lazy","data-testid":`${i}-icon-${s}`,layout:"column",smallSizeImage:!0,iconSizeImage:!0}),c(a,o,!0,s,i),r.jsx("div",{className:"mt-3 text-lg rich-text","data-testid":`${i}-description-${s}`,dangerouslySetInnerHTML:{__html:l}})]}),r.jsx("div",{class:"mt-4",children:r.jsx(re.Provider,{value:v,children:r.jsx(de,{getLocationName:m,children:r.jsx(pn,{chooseFA:!0,searchActionURL:f,fetchAdvisorSearchSuggestions:p,gtmCategory:"get started",gtmLabel:"search-by-name"===i?"search:name":"search:location",searchType:x,datalayer_results_cookie:"fa_search_main_component",dataTestIdBtn:`${i}-cta-${s}`,ariaDescription:`${i}-heading-${s}`,dataTestIdInput:`${i}-input-${s}`,initialValue:k,...e})})})})]})}})}(globalThis.EJRuntime,globalThis.EJRuntime.compat,globalThis.EJRuntime.hooks,globalThis.EJRuntime.jsxRuntime,globalThis.EJRuntime.preact,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.